oolong-engine 0.0.2 → 0.0.4

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 (2177) hide show
  1. package/dist/AppStage.d.ts +1 -0
  2. package/dist/AppStage.d.ts.map +1 -0
  3. package/dist/_basePickBy-Lezj_ebM.js +151 -0
  4. package/dist/_baseUniq-CwpENewx.js +614 -0
  5. package/dist/ability/baseprops-worker/BasePropsWorker.d.ts +31 -0
  6. package/dist/ability/baseprops-worker/BasePropsWorker.d.ts.map +1 -0
  7. package/dist/ability/checkbox/CheckboxWorker.d.ts +3 -1
  8. package/dist/ability/checkbox/CheckboxWorker.d.ts.map +1 -0
  9. package/dist/ability/checkbox/ConvertCheckBoxWorker.d.ts +15 -0
  10. package/dist/ability/checkbox/ConvertCheckBoxWorker.d.ts.map +1 -0
  11. package/dist/ability/copyPaste/copy/CopyWorker.d.ts +9 -0
  12. package/dist/ability/copyPaste/copy/CopyWorker.d.ts.map +1 -0
  13. package/dist/ability/copyPaste/duplicate/DuplicateWorker.d.ts +5 -2
  14. package/dist/ability/copyPaste/duplicate/DuplicateWorker.d.ts.map +1 -0
  15. package/dist/ability/copyPaste/paste/AbsPasteWorker.d.ts +2 -1
  16. package/dist/ability/copyPaste/paste/AbsPasteWorker.d.ts.map +1 -0
  17. package/dist/ability/copyPaste/paste/CrossPasteWorker.d.ts +1 -0
  18. package/dist/ability/copyPaste/paste/CrossPasteWorker.d.ts.map +1 -0
  19. package/dist/ability/copyPaste/paste/PasteWorker.d.ts +1 -0
  20. package/dist/ability/copyPaste/paste/PasteWorker.d.ts.map +1 -0
  21. package/dist/ability/copyPaste/paste/propsHandler/AbsPropsHandler.d.ts +1 -0
  22. package/dist/ability/copyPaste/paste/propsHandler/AbsPropsHandler.d.ts.map +1 -0
  23. package/dist/ability/copyPaste/paste/propsHandler/BasePropsHandler.d.ts +1 -0
  24. package/dist/ability/copyPaste/paste/propsHandler/BasePropsHandler.d.ts.map +1 -0
  25. package/dist/ability/copyPaste/paste/propsHandler/ConnectPropsHandler.d.ts +1 -0
  26. package/dist/ability/copyPaste/paste/propsHandler/ConnectPropsHandler.d.ts.map +1 -0
  27. package/dist/ability/copyPaste/paste/propsHandler/DocPropsHandler.d.ts +7 -0
  28. package/dist/ability/copyPaste/paste/propsHandler/DocPropsHandler.d.ts.map +1 -0
  29. package/dist/ability/copyPaste/paste/propsHandler/ImgPropsHandler.d.ts +1 -0
  30. package/dist/ability/copyPaste/paste/propsHandler/ImgPropsHandler.d.ts.map +1 -0
  31. package/dist/ability/copyPaste/paste/propsHandler/LinePropsHandler.d.ts +1 -0
  32. package/dist/ability/copyPaste/paste/propsHandler/LinePropsHandler.d.ts.map +1 -0
  33. package/dist/ability/copyPaste/paste/propsHandler/SlidePropsHandler.d.ts +7 -0
  34. package/dist/ability/copyPaste/paste/propsHandler/SlidePropsHandler.d.ts.map +1 -0
  35. package/dist/ability/copyPaste/paste/propsHandler/SvgPropsHandler.d.ts +1 -0
  36. package/dist/ability/copyPaste/paste/propsHandler/SvgPropsHandler.d.ts.map +1 -0
  37. package/dist/ability/create/CreateWorker.d.ts +1 -0
  38. package/dist/ability/create/CreateWorker.d.ts.map +1 -0
  39. package/dist/ability/create/handler/AbsCreateHandler.d.ts +1 -0
  40. package/dist/ability/create/handler/AbsCreateHandler.d.ts.map +1 -0
  41. package/dist/ability/create/handler/ChartSectionCreateHandler.d.ts +8 -0
  42. package/dist/ability/create/handler/ChartSectionCreateHandler.d.ts.map +1 -0
  43. package/dist/ability/create/handler/CheckboxCreateHandler.d.ts +1 -0
  44. package/dist/ability/create/handler/CheckboxCreateHandler.d.ts.map +1 -0
  45. package/dist/ability/create/handler/CheckboxTextCreateHandler.d.ts +1 -0
  46. package/dist/ability/create/handler/CheckboxTextCreateHandler.d.ts.map +1 -0
  47. package/dist/ability/create/handler/DocCreateHandler.d.ts +8 -0
  48. package/dist/ability/create/handler/DocCreateHandler.d.ts.map +1 -0
  49. package/dist/ability/create/handler/EditableCreateHandler.d.ts +12 -0
  50. package/dist/ability/create/handler/EditableCreateHandler.d.ts.map +1 -0
  51. package/dist/ability/create/handler/LineCreateHandler.d.ts +1 -0
  52. package/dist/ability/create/handler/LineCreateHandler.d.ts.map +1 -0
  53. package/dist/ability/create/handler/MathFormulaCreateHandler.d.ts +8 -0
  54. package/dist/ability/create/handler/MathFormulaCreateHandler.d.ts.map +1 -0
  55. package/dist/ability/create/handler/MermaidSectionCreateHandler.d.ts +8 -0
  56. package/dist/ability/create/handler/MermaidSectionCreateHandler.d.ts.map +1 -0
  57. package/dist/ability/create/handler/MindmapNodeCreateHandler.d.ts +12 -0
  58. package/dist/ability/create/handler/MindmapNodeCreateHandler.d.ts.map +1 -0
  59. package/dist/ability/create/handler/PieCreateHandler.d.ts +8 -0
  60. package/dist/ability/create/handler/PieCreateHandler.d.ts.map +1 -0
  61. package/dist/ability/create/handler/SectionCreateHandler.d.ts +1 -0
  62. package/dist/ability/create/handler/SectionCreateHandler.d.ts.map +1 -0
  63. package/dist/ability/create/handler/ShapeCreateHandler.d.ts +1 -0
  64. package/dist/ability/create/handler/ShapeCreateHandler.d.ts.map +1 -0
  65. package/dist/ability/create/handler/SlideCreateHandler.d.ts +1 -0
  66. package/dist/ability/create/handler/SlideCreateHandler.d.ts.map +1 -0
  67. package/dist/ability/crop/CropWorker.d.ts +2 -1
  68. package/dist/ability/crop/CropWorker.d.ts.map +1 -0
  69. package/dist/ability/delete/DeleteWorker.d.ts +28 -2
  70. package/dist/ability/delete/DeleteWorker.d.ts.map +1 -0
  71. package/dist/ability/doc/DocContainerChildrenSortPosWorker.d.ts +9 -0
  72. package/dist/ability/doc/DocContainerChildrenSortPosWorker.d.ts.map +1 -0
  73. package/dist/ability/doc/DocContainerConstants.d.ts +8 -0
  74. package/dist/ability/doc/DocContainerConstants.d.ts.map +1 -0
  75. package/dist/ability/doc/DocContainerCreator.d.ts +24 -0
  76. package/dist/ability/doc/DocContainerCreator.d.ts.map +1 -0
  77. package/dist/ability/drawer/FallbackDrawer.d.ts +1 -0
  78. package/dist/ability/drawer/FallbackDrawer.d.ts.map +1 -0
  79. package/dist/ability/export/ImageExportDiagnostics.d.ts +32 -0
  80. package/dist/ability/export/ImageExportDiagnostics.d.ts.map +1 -0
  81. package/dist/ability/export/pdf/PdfExportWorker.d.ts +40 -0
  82. package/dist/ability/export/pdf/PdfExportWorker.d.ts.map +1 -0
  83. package/dist/ability/export/pdf/PdfFontLoader.d.ts +2 -0
  84. package/dist/ability/export/pdf/PdfFontLoader.d.ts.map +1 -0
  85. package/dist/ability/focus/ClearFocusWorker.d.ts +6 -0
  86. package/dist/ability/focus/ClearFocusWorker.d.ts.map +1 -0
  87. package/dist/ability/focus/ExitTextEditWorker.d.ts +19 -0
  88. package/dist/ability/focus/ExitTextEditWorker.d.ts.map +1 -0
  89. package/dist/ability/formula/FormulaLatexGuard.d.ts +20 -0
  90. package/dist/ability/formula/FormulaLatexGuard.d.ts.map +1 -0
  91. package/dist/ability/formula/LatexToSvg.d.ts +55 -0
  92. package/dist/ability/formula/LatexToSvg.d.ts.map +1 -0
  93. package/dist/ability/formula/index.d.ts +3 -0
  94. package/dist/ability/formula/index.d.ts.map +1 -0
  95. package/dist/ability/group/GroupNavigationWorker.d.ts +31 -0
  96. package/dist/ability/group/GroupNavigationWorker.d.ts.map +1 -0
  97. package/dist/ability/group/GroupWorker.d.ts +11 -2
  98. package/dist/ability/group/GroupWorker.d.ts.map +1 -0
  99. package/dist/ability/group/RelatedGroupBaseWorker.d.ts +1 -0
  100. package/dist/ability/group/RelatedGroupBaseWorker.d.ts.map +1 -0
  101. package/dist/ability/group/RelatedGroupLineWorker.d.ts +17 -0
  102. package/dist/ability/group/RelatedGroupLineWorker.d.ts.map +1 -0
  103. package/dist/ability/image/ImageWorker.d.ts +3 -1
  104. package/dist/ability/image/ImageWorker.d.ts.map +1 -0
  105. package/dist/ability/index.d.ts +6 -0
  106. package/dist/ability/index.d.ts.map +1 -0
  107. package/dist/ability/line/BatchLineTextWorker.d.ts +2 -1
  108. package/dist/ability/line/BatchLineTextWorker.d.ts.map +1 -0
  109. package/dist/ability/line/CollectRelatedLineWorker.d.ts +9 -0
  110. package/dist/ability/line/CollectRelatedLineWorker.d.ts.map +1 -0
  111. package/dist/ability/line/LayoutConst.d.ts +2 -0
  112. package/dist/ability/line/LayoutConst.d.ts.map +1 -0
  113. package/dist/ability/line/LayoutUtils.d.ts +1 -0
  114. package/dist/ability/line/LayoutUtils.d.ts.map +1 -0
  115. package/dist/ability/line/LayoutWorker.d.ts +3 -1
  116. package/dist/ability/line/LayoutWorker.d.ts.map +1 -0
  117. package/dist/ability/line/LineTextWorker.d.ts +4 -1
  118. package/dist/ability/line/LineTextWorker.d.ts.map +1 -0
  119. package/dist/ability/line/handler/AbsLineLayoutHandler.d.ts +3 -1
  120. package/dist/ability/line/handler/AbsLineLayoutHandler.d.ts.map +1 -0
  121. package/dist/ability/line/handler/BrokenLineLayoutHandler.d.ts +11 -0
  122. package/dist/ability/line/handler/BrokenLineLayoutHandler.d.ts.map +1 -0
  123. package/dist/ability/line/handler/CurveLayoutHandler.d.ts +3 -1
  124. package/dist/ability/line/handler/CurveLayoutHandler.d.ts.map +1 -0
  125. package/dist/ability/line/handler/SimpleLineLayoutHandler.d.ts +2 -1
  126. package/dist/ability/line/handler/SimpleLineLayoutHandler.d.ts.map +1 -0
  127. package/dist/ability/line/handler/polyline/PolyLineLayoutHandler.d.ts +86 -1
  128. package/dist/ability/line/handler/polyline/PolyLineLayoutHandler.d.ts.map +1 -0
  129. package/dist/ability/line/handler/polyline/handler/AbsLayoutHandler.d.ts +1 -0
  130. package/dist/ability/line/handler/polyline/handler/AbsLayoutHandler.d.ts.map +1 -0
  131. package/dist/ability/line/handler/polyline/handler/BottomLayoutHandler.d.ts +1 -0
  132. package/dist/ability/line/handler/polyline/handler/BottomLayoutHandler.d.ts.map +1 -0
  133. package/dist/ability/line/handler/polyline/handler/FreePointLayoutHandler.d.ts +1 -0
  134. package/dist/ability/line/handler/polyline/handler/FreePointLayoutHandler.d.ts.map +1 -0
  135. package/dist/ability/line/handler/polyline/handler/LeftLayoutHandler.d.ts +1 -0
  136. package/dist/ability/line/handler/polyline/handler/LeftLayoutHandler.d.ts.map +1 -0
  137. package/dist/ability/line/handler/polyline/handler/RightLayoutHandler.d.ts +1 -0
  138. package/dist/ability/line/handler/polyline/handler/RightLayoutHandler.d.ts.map +1 -0
  139. package/dist/ability/line/handler/polyline/handler/TopLayoutHandler.d.ts +1 -0
  140. package/dist/ability/line/handler/polyline/handler/TopLayoutHandler.d.ts.map +1 -0
  141. package/dist/ability/mindmap/MindmapCreator.d.ts +34 -0
  142. package/dist/ability/mindmap/MindmapCreator.d.ts.map +1 -0
  143. package/dist/ability/mindmap/index.d.ts +2 -0
  144. package/dist/ability/mindmap/index.d.ts.map +1 -0
  145. package/dist/ability/move/GroupMoveWorker.d.ts +16 -0
  146. package/dist/ability/move/GroupMoveWorker.d.ts.map +1 -0
  147. package/dist/ability/move/LineMoveWorker.d.ts +11 -0
  148. package/dist/ability/move/LineMoveWorker.d.ts.map +1 -0
  149. package/dist/ability/move/OolongMoveWorker.d.ts +13 -0
  150. package/dist/ability/move/OolongMoveWorker.d.ts.map +1 -0
  151. package/dist/ability/move/SimpleMoveWorker.d.ts +7 -0
  152. package/dist/ability/move/SimpleMoveWorker.d.ts.map +1 -0
  153. package/dist/ability/moveLayer/MoveLayerWorker.d.ts +6 -4
  154. package/dist/ability/moveLayer/MoveLayerWorker.d.ts.map +1 -0
  155. package/dist/ability/quickCreate/QuickCreateWorker.d.ts +7 -2
  156. package/dist/ability/quickCreate/QuickCreateWorker.d.ts.map +1 -0
  157. package/dist/ability/resize/WindowResizeWorker.d.ts +1 -0
  158. package/dist/ability/resize/WindowResizeWorker.d.ts.map +1 -0
  159. package/dist/ability/section/SectionWorker.d.ts +22 -0
  160. package/dist/ability/section/SectionWorker.d.ts.map +1 -0
  161. package/dist/ability/section/index.d.ts +2 -0
  162. package/dist/ability/section/index.d.ts.map +1 -0
  163. package/dist/ability/slide/SlideCoverInfo.d.ts +1 -0
  164. package/dist/ability/slide/SlideCoverInfo.d.ts.map +1 -0
  165. package/dist/ability/slide/SlidePlayWorker.d.ts +1 -0
  166. package/dist/ability/slide/SlidePlayWorker.d.ts.map +1 -0
  167. package/dist/ability/svg/CreateSvgWorker.d.ts +4 -0
  168. package/dist/ability/svg/CreateSvgWorker.d.ts.map +1 -0
  169. package/dist/ability/svg/GenSvgBitmapWorker.d.ts +3 -2
  170. package/dist/ability/svg/GenSvgBitmapWorker.d.ts.map +1 -0
  171. package/dist/ability/text/CacheOfflineCanvas.d.ts +1 -0
  172. package/dist/ability/text/CacheOfflineCanvas.d.ts.map +1 -0
  173. package/dist/ability/text/TextUtils.d.ts +8 -0
  174. package/dist/ability/text/TextUtils.d.ts.map +1 -0
  175. package/dist/ability/textInput/ParagraphStyleRemapHelper.d.ts +14 -0
  176. package/dist/ability/textInput/ParagraphStyleRemapHelper.d.ts.map +1 -0
  177. package/dist/ability/textInput/TextDeleteInputWorker.d.ts +2 -0
  178. package/dist/ability/textInput/TextDeleteInputWorker.d.ts.map +1 -0
  179. package/dist/ability/textInput/TextInputWorker.d.ts +2 -0
  180. package/dist/ability/textInput/TextInputWorker.d.ts.map +1 -0
  181. package/dist/ability/textInput/TextLineBreakWorker.d.ts +2 -0
  182. package/dist/ability/textInput/TextLineBreakWorker.d.ts.map +1 -0
  183. package/dist/ability/textInput/TextParagraphStyleWorker.d.ts +9 -1
  184. package/dist/ability/textInput/TextParagraphStyleWorker.d.ts.map +1 -0
  185. package/dist/ability/textInput/textFont/AbsTextFontWorker.d.ts +29 -0
  186. package/dist/ability/textInput/textFont/AbsTextFontWorker.d.ts.map +1 -0
  187. package/dist/ability/textInput/textFont/TextFontBgColorWorker.d.ts +1 -0
  188. package/dist/ability/textInput/textFont/TextFontBgColorWorker.d.ts.map +1 -0
  189. package/dist/ability/textInput/textFont/TextFontBoldWorker.d.ts +1 -0
  190. package/dist/ability/textInput/textFont/TextFontBoldWorker.d.ts.map +1 -0
  191. package/dist/ability/textInput/textFont/TextFontColorBgNoFillWorker.d.ts +7 -0
  192. package/dist/ability/textInput/textFont/TextFontColorBgNoFillWorker.d.ts.map +1 -0
  193. package/dist/ability/textInput/textFont/TextFontColorNoFillWorker.d.ts +7 -0
  194. package/dist/ability/textInput/textFont/TextFontColorNoFillWorker.d.ts.map +1 -0
  195. package/dist/ability/textInput/textFont/TextFontColorWorker.d.ts +1 -0
  196. package/dist/ability/textInput/textFont/TextFontColorWorker.d.ts.map +1 -0
  197. package/dist/ability/textInput/textFont/TextFontItalicWorker.d.ts +1 -0
  198. package/dist/ability/textInput/textFont/TextFontItalicWorker.d.ts.map +1 -0
  199. package/dist/ability/textInput/textFont/TextFontSizeWorker.d.ts +13 -0
  200. package/dist/ability/textInput/textFont/TextFontSizeWorker.d.ts.map +1 -0
  201. package/dist/ability/textInput/textFont/TextFontStrikethroughWorker.d.ts +1 -0
  202. package/dist/ability/textInput/textFont/TextFontStrikethroughWorker.d.ts.map +1 -0
  203. package/dist/ability/textInput/textFont/TextFontStyleWorker.d.ts +13 -0
  204. package/dist/ability/textInput/textFont/TextFontStyleWorker.d.ts.map +1 -0
  205. package/dist/ability/textInput/textFont/TextUnderLineWorker.d.ts +1 -0
  206. package/dist/ability/textInput/textFont/TextUnderLineWorker.d.ts.map +1 -0
  207. package/dist/ability/textInput/textParagraphPrefix/TextNormalWorker.d.ts +5 -1
  208. package/dist/ability/textInput/textParagraphPrefix/TextNormalWorker.d.ts.map +1 -0
  209. package/dist/ability/textInput/textParagraphPrefix/TextOrderWorker.d.ts +13 -1
  210. package/dist/ability/textInput/textParagraphPrefix/TextOrderWorker.d.ts.map +1 -0
  211. package/dist/ability/textInput/textParagraphPrefix/TextParaPrefixWorker.d.ts +3 -1
  212. package/dist/ability/textInput/textParagraphPrefix/TextParaPrefixWorker.d.ts.map +1 -0
  213. package/dist/ability/textInput/textParagraphPrefix/TextQuoteWorker.d.ts +5 -1
  214. package/dist/ability/textInput/textParagraphPrefix/TextQuoteWorker.d.ts.map +1 -0
  215. package/dist/ability/textInput/textParagraphPrefix/TextUnOrderWorker.d.ts +5 -1
  216. package/dist/ability/textInput/textParagraphPrefix/TextUnOrderWorker.d.ts.map +1 -0
  217. package/dist/action/ActionConfig.d.ts +1 -0
  218. package/dist/action/ActionConfig.d.ts.map +1 -0
  219. package/dist/action/ActionManager.d.ts +3 -1
  220. package/dist/action/ActionManager.d.ts.map +1 -0
  221. package/dist/action/base/ActionType.d.ts +1 -0
  222. package/dist/action/base/ActionType.d.ts.map +1 -0
  223. package/dist/action/cache/ActionCache.d.ts +1 -0
  224. package/dist/action/cache/ActionCache.d.ts.map +1 -0
  225. package/dist/action/executor/AbsActionExecutor.d.ts +1 -0
  226. package/dist/action/executor/AbsActionExecutor.d.ts.map +1 -0
  227. package/dist/action/executor/ExecutorContext.d.ts +3 -0
  228. package/dist/action/executor/ExecutorContext.d.ts.map +1 -0
  229. package/dist/action/executor/ExecutorManager.d.ts +1 -0
  230. package/dist/action/executor/ExecutorManager.d.ts.map +1 -0
  231. package/dist/action/executor/afterInterceptor/line/RememberLineStyleInterceptor.d.ts +9 -0
  232. package/dist/action/executor/afterInterceptor/line/RememberLineStyleInterceptor.d.ts.map +1 -0
  233. package/dist/action/executor/afterInterceptor/slide/AfterSlideCoverUpdateInterceptor.d.ts +16 -0
  234. package/dist/action/executor/afterInterceptor/slide/AfterSlideCoverUpdateInterceptor.d.ts.map +1 -0
  235. package/dist/action/executor/afterInterceptor/text/RememberTextStyleInterceptor.d.ts +10 -0
  236. package/dist/action/executor/afterInterceptor/text/RememberTextStyleInterceptor.d.ts.map +1 -0
  237. package/dist/action/executor/beforeInterceptor/AbsInterceptor.d.ts +1 -0
  238. package/dist/action/executor/beforeInterceptor/AbsInterceptor.d.ts.map +1 -0
  239. package/dist/action/executor/beforeInterceptor/slide/SlideCoverInsertInterceptor.d.ts +1 -0
  240. package/dist/action/executor/beforeInterceptor/slide/SlideCoverInsertInterceptor.d.ts.map +1 -0
  241. package/dist/action/executor/beforeInterceptor/slide/SlideCoverUpdateInterceptor.d.ts +4 -4
  242. package/dist/action/executor/beforeInterceptor/slide/SlideCoverUpdateInterceptor.d.ts.map +1 -0
  243. package/dist/action/executor/common/EndExecutor.d.ts +1 -0
  244. package/dist/action/executor/common/EndExecutor.d.ts.map +1 -0
  245. package/dist/action/executor/common/StartExecutor.d.ts +1 -0
  246. package/dist/action/executor/common/StartExecutor.d.ts.map +1 -0
  247. package/dist/action/executor/node/SelectNodeExecutor.d.ts +2 -1
  248. package/dist/action/executor/node/SelectNodeExecutor.d.ts.map +1 -0
  249. package/dist/action/executor/node/TextFocusExecutor.d.ts +1 -0
  250. package/dist/action/executor/node/TextFocusExecutor.d.ts.map +1 -0
  251. package/dist/action/executor/node/add/AddExecutor.d.ts +16 -0
  252. package/dist/action/executor/node/add/AddExecutor.d.ts.map +1 -0
  253. package/dist/action/executor/node/add/handler/MindMapPropsHandler.d.ts +7 -0
  254. package/dist/action/executor/node/add/handler/MindMapPropsHandler.d.ts.map +1 -0
  255. package/dist/action/executor/node/remove/RemoveExecutor.d.ts +3 -0
  256. package/dist/action/executor/node/remove/RemoveExecutor.d.ts.map +1 -0
  257. package/dist/action/executor/node/update/UpdateExecutor.d.ts +6 -0
  258. package/dist/action/executor/node/update/UpdateExecutor.d.ts.map +1 -0
  259. package/dist/action/executor/node/update/handler/AbsPropsHandler.d.ts +1 -0
  260. package/dist/action/executor/node/update/handler/AbsPropsHandler.d.ts.map +1 -0
  261. package/dist/action/executor/node/update/handler/BasePropsHandler.d.ts +7 -0
  262. package/dist/action/executor/node/update/handler/BasePropsHandler.d.ts.map +1 -0
  263. package/dist/action/executor/node/update/handler/ConnectPropsHandler.d.ts +1 -0
  264. package/dist/action/executor/node/update/handler/ConnectPropsHandler.d.ts.map +1 -0
  265. package/dist/action/executor/node/update/handler/FormulaPropsHandler.d.ts +12 -0
  266. package/dist/action/executor/node/update/handler/FormulaPropsHandler.d.ts.map +1 -0
  267. package/dist/action/executor/node/update/handler/ImagePropsHandler.d.ts +1 -0
  268. package/dist/action/executor/node/update/handler/ImagePropsHandler.d.ts.map +1 -0
  269. package/dist/action/executor/node/update/handler/SvgPropsHandler.d.ts +1 -0
  270. package/dist/action/executor/node/update/handler/SvgPropsHandler.d.ts.map +1 -0
  271. package/dist/action/index.d.ts +3 -2
  272. package/dist/action/index.d.ts.map +1 -0
  273. package/dist/action/log/AbsActionLog.d.ts +1 -0
  274. package/dist/action/log/AbsActionLog.d.ts.map +1 -0
  275. package/dist/action/log/ActionLogGroup.d.ts +1 -0
  276. package/dist/action/log/ActionLogGroup.d.ts.map +1 -0
  277. package/dist/action/log/ActionMeta.d.ts +1 -0
  278. package/dist/action/log/ActionMeta.d.ts.map +1 -0
  279. package/dist/action/log/ActionOp.d.ts +1 -0
  280. package/dist/action/log/ActionOp.d.ts.map +1 -0
  281. package/dist/action/log/IActionLog.d.ts +1 -0
  282. package/dist/action/log/IActionLog.d.ts.map +1 -0
  283. package/dist/action/log/common/EndLog.d.ts +1 -0
  284. package/dist/action/log/common/EndLog.d.ts.map +1 -0
  285. package/dist/action/log/common/StartLog.d.ts +1 -0
  286. package/dist/action/log/common/StartLog.d.ts.map +1 -0
  287. package/dist/action/log/data/AddNodeData.d.ts +1 -0
  288. package/dist/action/log/data/AddNodeData.d.ts.map +1 -0
  289. package/dist/action/log/data/RemoveNodeData.d.ts +1 -0
  290. package/dist/action/log/data/RemoveNodeData.d.ts.map +1 -0
  291. package/dist/action/log/data/TextFocusData.d.ts +1 -0
  292. package/dist/action/log/data/TextFocusData.d.ts.map +1 -0
  293. package/dist/action/log/data/UpdateNodeData.d.ts +1 -0
  294. package/dist/action/log/data/UpdateNodeData.d.ts.map +1 -0
  295. package/dist/action/log/data/select/SelectNodeData.d.ts +18 -0
  296. package/dist/action/log/data/select/SelectNodeData.d.ts.map +1 -0
  297. package/dist/action/log/node/AddNodeLog.d.ts +1 -0
  298. package/dist/action/log/node/AddNodeLog.d.ts.map +1 -0
  299. package/dist/action/log/node/RemoveNodeLog.d.ts +1 -0
  300. package/dist/action/log/node/RemoveNodeLog.d.ts.map +1 -0
  301. package/dist/action/log/node/SelectNodeLog.d.ts +4 -1
  302. package/dist/action/log/node/SelectNodeLog.d.ts.map +1 -0
  303. package/dist/action/log/node/TextFocusLog.d.ts +1 -0
  304. package/dist/action/log/node/TextFocusLog.d.ts.map +1 -0
  305. package/dist/action/log/node/UpdateNodeLog.d.ts +1 -0
  306. package/dist/action/log/node/UpdateNodeLog.d.ts.map +1 -0
  307. package/dist/action/msgPack/NodeMsgPkg.d.ts +1 -0
  308. package/dist/action/msgPack/NodeMsgPkg.d.ts.map +1 -0
  309. package/dist/action/render/IFocusInfo.d.ts +6 -0
  310. package/dist/action/render/IFocusInfo.d.ts.map +1 -0
  311. package/dist/action/render/RenderConst.d.ts +1 -0
  312. package/dist/action/render/RenderConst.d.ts.map +1 -0
  313. package/dist/action/render/RenderManager.d.ts +29 -7
  314. package/dist/action/render/RenderManager.d.ts.map +1 -0
  315. package/dist/action/render/drawMode/AbsDrawMode.d.ts +7 -0
  316. package/dist/action/render/drawMode/AbsDrawMode.d.ts.map +1 -0
  317. package/dist/action/render/drawMode/DocEditDrawMode.d.ts +8 -0
  318. package/dist/action/render/drawMode/DocEditDrawMode.d.ts.map +1 -0
  319. package/dist/action/render/drawMode/NormalDrawMode.d.ts +8 -0
  320. package/dist/action/render/drawMode/NormalDrawMode.d.ts.map +1 -0
  321. package/dist/action/render/drawMode/SlideEditDrawMode.d.ts +8 -0
  322. package/dist/action/render/drawMode/SlideEditDrawMode.d.ts.map +1 -0
  323. package/dist/action/render/drawMode/SlidePlayingDrawMode.d.ts +8 -0
  324. package/dist/action/render/drawMode/SlidePlayingDrawMode.d.ts.map +1 -0
  325. package/dist/action/render/export/ExportWorker.d.ts +1 -0
  326. package/dist/action/render/export/ExportWorker.d.ts.map +1 -0
  327. package/dist/action/render/zoom/ZoomWorker.d.ts +6 -1
  328. package/dist/action/render/zoom/ZoomWorker.d.ts.map +1 -0
  329. package/dist/action/undo/UndoRedoManager.d.ts +1 -0
  330. package/dist/action/undo/UndoRedoManager.d.ts.map +1 -0
  331. package/dist/app/AbsNetworkPlugin.d.ts +1 -0
  332. package/dist/app/AbsNetworkPlugin.d.ts.map +1 -0
  333. package/dist/app/AppEventContext.d.ts +9 -1
  334. package/dist/app/AppEventContext.d.ts.map +1 -0
  335. package/dist/app/IPlugin.d.ts +1 -0
  336. package/dist/app/IPlugin.d.ts.map +1 -0
  337. package/dist/app/OolongApp.d.ts +34 -0
  338. package/dist/app/OolongApp.d.ts.map +1 -0
  339. package/dist/app/ai-api/OolongAIAPI.d.ts +1 -0
  340. package/dist/app/ai-api/OolongAIAPI.d.ts.map +1 -0
  341. package/dist/app/ai-api/module/AINodeAPI.d.ts +528 -13
  342. package/dist/app/ai-api/module/AINodeAPI.d.ts.map +1 -0
  343. package/dist/app/ai-api/module/AIViewportAPI.d.ts +21 -0
  344. package/dist/app/ai-api/module/AIViewportAPI.d.ts.map +1 -0
  345. package/dist/app/ai-api/module/SelectAPI.d.ts +16 -0
  346. package/dist/app/ai-api/module/SelectAPI.d.ts.map +1 -0
  347. package/dist/app/ai-api/types/NodeDetailInfo.d.ts +46 -0
  348. package/dist/app/ai-api/types/NodeDetailInfo.d.ts.map +1 -0
  349. package/dist/app/api/OolongAPI.d.ts +35 -0
  350. package/dist/app/api/OolongAPI.d.ts.map +1 -0
  351. package/dist/app/api/module/CopyPasteAPI.d.ts +27 -1
  352. package/dist/app/api/module/CopyPasteAPI.d.ts.map +1 -0
  353. package/dist/app/api/module/CreateAPI.d.ts +44 -4
  354. package/dist/app/api/module/CreateAPI.d.ts.map +1 -0
  355. package/dist/app/api/module/CropAPI.d.ts +2 -1
  356. package/dist/app/api/module/CropAPI.d.ts.map +1 -0
  357. package/dist/app/api/module/ImageAPI.d.ts +1 -0
  358. package/dist/app/api/module/ImageAPI.d.ts.map +1 -0
  359. package/dist/app/api/module/SwitchAPI.d.ts +17 -0
  360. package/dist/app/api/module/SwitchAPI.d.ts.map +1 -0
  361. package/dist/app/api/module/align/AlignAPI.d.ts +12 -10
  362. package/dist/app/api/module/align/AlignAPI.d.ts.map +1 -0
  363. package/dist/app/api/module/doc/DocAPI.d.ts +9 -0
  364. package/dist/app/api/module/doc/DocAPI.d.ts.map +1 -0
  365. package/dist/app/api/module/export/ExportAPI.d.ts +7 -0
  366. package/dist/app/api/module/export/ExportAPI.d.ts.map +1 -0
  367. package/dist/app/api/module/layout/LayoutAPI.d.ts +47 -0
  368. package/dist/app/api/module/layout/LayoutAPI.d.ts.map +1 -0
  369. package/dist/app/api/module/propChange/PropChangeAPI.d.ts +7 -0
  370. package/dist/app/api/module/propChange/PropChangeAPI.d.ts.map +1 -0
  371. package/dist/app/api/module/propChange/fontsize/AbsFontSizeChangeHandler.d.ts +1 -0
  372. package/dist/app/api/module/propChange/fontsize/AbsFontSizeChangeHandler.d.ts.map +1 -0
  373. package/dist/app/api/module/propChange/fontsize/CheckboxTextFontSizeChangeHandler.d.ts +1 -0
  374. package/dist/app/api/module/propChange/fontsize/CheckboxTextFontSizeChangeHandler.d.ts.map +1 -0
  375. package/dist/app/api/module/propChange/fontsize/NormalFontSizeChangeHandler.d.ts +1 -0
  376. package/dist/app/api/module/propChange/fontsize/NormalFontSizeChangeHandler.d.ts.map +1 -0
  377. package/dist/app/api/module/slide/SlideAPI.d.ts +1 -0
  378. package/dist/app/api/module/slide/SlideAPI.d.ts.map +1 -0
  379. package/dist/app/api/module/syntax/SyntaxAPI.d.ts +23 -0
  380. package/dist/app/api/module/syntax/SyntaxAPI.d.ts.map +1 -0
  381. package/dist/app/api/module/text/TextAPI.d.ts +44 -0
  382. package/dist/app/api/module/text/TextAPI.d.ts.map +1 -0
  383. package/dist/app/docModeManager/DocModeManager.d.ts +1 -0
  384. package/dist/app/docModeManager/DocModeManager.d.ts.map +1 -0
  385. package/dist/app/docModeManager/DocModeSwitchContext.d.ts +3 -0
  386. package/dist/app/docModeManager/DocModeSwitchContext.d.ts.map +1 -0
  387. package/dist/app/docModeManager/switchHandler/AbsSwitchHandler.d.ts +3 -2
  388. package/dist/app/docModeManager/switchHandler/AbsSwitchHandler.d.ts.map +1 -0
  389. package/dist/app/docModeManager/switchHandler/board/BoardToDocEditHandler.d.ts +7 -0
  390. package/dist/app/docModeManager/switchHandler/board/BoardToDocEditHandler.d.ts.map +1 -0
  391. package/dist/app/docModeManager/switchHandler/board/BoardToSlideEditHandler.d.ts +3 -2
  392. package/dist/app/docModeManager/switchHandler/board/BoardToSlideEditHandler.d.ts.map +1 -0
  393. package/dist/app/docModeManager/switchHandler/board/BoardToSlidePlayHandler.d.ts +3 -2
  394. package/dist/app/docModeManager/switchHandler/board/BoardToSlidePlayHandler.d.ts.map +1 -0
  395. package/dist/app/docModeManager/switchHandler/docEdit/DocEditToBoardHandler.d.ts +7 -0
  396. package/dist/app/docModeManager/switchHandler/docEdit/DocEditToBoardHandler.d.ts.map +1 -0
  397. package/dist/app/docModeManager/switchHandler/slide-edit/SlideEditToBoardHandler.d.ts +3 -2
  398. package/dist/app/docModeManager/switchHandler/slide-edit/SlideEditToBoardHandler.d.ts.map +1 -0
  399. package/dist/app/docModeManager/switchHandler/slide-edit/SlideEditToSlidePlayHandler.d.ts +1 -0
  400. package/dist/app/docModeManager/switchHandler/slide-edit/SlideEditToSlidePlayHandler.d.ts.map +1 -0
  401. package/dist/app/docModeManager/switchHandler/slide-play/SlidePlayToBoardHandler.d.ts +3 -2
  402. package/dist/app/docModeManager/switchHandler/slide-play/SlidePlayToBoardHandler.d.ts.map +1 -0
  403. package/dist/app/docModeManager/switchHandler/slide-play/SlidePlayToSlideEditHandler.d.ts +3 -0
  404. package/dist/app/docModeManager/switchHandler/slide-play/SlidePlayToSlideEditHandler.d.ts.map +1 -0
  405. package/dist/app/docState/DocMode.d.ts +3 -1
  406. package/dist/app/docState/DocMode.d.ts.map +1 -0
  407. package/dist/app/docState/DocModeStatus.d.ts +9 -0
  408. package/dist/app/docState/DocModeStatus.d.ts.map +1 -0
  409. package/dist/app/docState/DocState.d.ts +21 -0
  410. package/dist/app/docState/DocState.d.ts.map +1 -0
  411. package/dist/app/docState/GridType.d.ts +6 -0
  412. package/dist/app/docState/GridType.d.ts.map +1 -0
  413. package/dist/app/docState/Permission.d.ts +1 -0
  414. package/dist/app/docState/Permission.d.ts.map +1 -0
  415. package/dist/app/docState/SlideStatus.d.ts +2 -1
  416. package/dist/app/docState/SlideStatus.d.ts.map +1 -0
  417. package/dist/app/index.d.ts +2 -0
  418. package/dist/app/index.d.ts.map +1 -0
  419. package/dist/application/AbsNodeManager.d.ts +1 -0
  420. package/dist/application/AbsNodeManager.d.ts.map +1 -0
  421. package/dist/application/CanvasRender.d.ts +6 -3
  422. package/dist/application/CanvasRender.d.ts.map +1 -0
  423. package/dist/application/GMLRender.d.ts +11 -1
  424. package/dist/application/GMLRender.d.ts.map +1 -0
  425. package/dist/application/IApplication.d.ts +1 -0
  426. package/dist/application/IApplication.d.ts.map +1 -0
  427. package/dist/application/index.d.ts +1 -0
  428. package/dist/application/index.d.ts.map +1 -0
  429. package/dist/application/nodeManager/ConnectInfo.d.ts +1 -0
  430. package/dist/application/nodeManager/ConnectInfo.d.ts.map +1 -0
  431. package/dist/application/nodeManager/NodeManager.d.ts +2 -0
  432. package/dist/application/nodeManager/NodeManager.d.ts.map +1 -0
  433. package/dist/arc-Dvb9RuGN.js +84 -0
  434. package/dist/architecture-PBZL5I3N-BsjgXHEx.js +6 -0
  435. package/dist/architectureDiagram-2XIMDMQ5-D7Is69IP.js +4681 -0
  436. package/dist/asyncRender/AsyncRenderNodeManager.d.ts +4 -0
  437. package/dist/asyncRender/AsyncRenderNodeManager.d.ts.map +1 -0
  438. package/dist/asyncRender/ImgTextureTask.d.ts +1 -0
  439. package/dist/asyncRender/ImgTextureTask.d.ts.map +1 -0
  440. package/dist/asyncRender/SvgTextureTask.d.ts +1 -0
  441. package/dist/asyncRender/SvgTextureTask.d.ts.map +1 -0
  442. package/dist/asyncRender/TextureTaskType.d.ts +1 -0
  443. package/dist/asyncRender/TextureTaskType.d.ts.map +1 -0
  444. package/dist/auxiliary/AuxGraphicFactory.d.ts +1 -0
  445. package/dist/auxiliary/AuxGraphicFactory.d.ts.map +1 -0
  446. package/dist/auxiliary/AuxUtils.d.ts +1 -0
  447. package/dist/auxiliary/AuxUtils.d.ts.map +1 -0
  448. package/dist/auxiliary/AuxiliaryManager.d.ts +2 -0
  449. package/dist/auxiliary/AuxiliaryManager.d.ts.map +1 -0
  450. package/dist/auxiliary/AuxiliaryStyleConst.d.ts +5 -0
  451. package/dist/auxiliary/AuxiliaryStyleConst.d.ts.map +1 -0
  452. package/dist/auxiliary/CollaborationManager.d.ts +1 -0
  453. package/dist/auxiliary/CollaborationManager.d.ts.map +1 -0
  454. package/dist/auxiliary/graphics/AbsAuxGraphic.d.ts +1 -0
  455. package/dist/auxiliary/graphics/AbsAuxGraphic.d.ts.map +1 -0
  456. package/dist/auxiliary/graphics/AuxiliaryType.d.ts +38 -16
  457. package/dist/auxiliary/graphics/AuxiliaryType.d.ts.map +1 -0
  458. package/dist/auxiliary/graphics/align/AlignLine.d.ts +1 -0
  459. package/dist/auxiliary/graphics/align/AlignLine.d.ts.map +1 -0
  460. package/dist/auxiliary/graphics/align/AlignStretchLine.d.ts +1 -0
  461. package/dist/auxiliary/graphics/align/AlignStretchLine.d.ts.map +1 -0
  462. package/dist/auxiliary/graphics/create/CreateRectBound.d.ts +1 -0
  463. package/dist/auxiliary/graphics/create/CreateRectBound.d.ts.map +1 -0
  464. package/dist/auxiliary/graphics/crop/CropBounds.d.ts +1 -0
  465. package/dist/auxiliary/graphics/crop/CropBounds.d.ts.map +1 -0
  466. package/dist/auxiliary/graphics/crop/CropOriginImg.d.ts +1 -0
  467. package/dist/auxiliary/graphics/crop/CropOriginImg.d.ts.map +1 -0
  468. package/dist/auxiliary/graphics/group/SelectGroup.d.ts +1 -0
  469. package/dist/auxiliary/graphics/group/SelectGroup.d.ts.map +1 -0
  470. package/dist/auxiliary/graphics/hover/DocContainerTextHoverBound.d.ts +16 -0
  471. package/dist/auxiliary/graphics/hover/DocContainerTextHoverBound.d.ts.map +1 -0
  472. package/dist/auxiliary/graphics/hover/HoverAnchorPoint.d.ts +1 -0
  473. package/dist/auxiliary/graphics/hover/HoverAnchorPoint.d.ts.map +1 -0
  474. package/dist/auxiliary/graphics/hover/HoverBound.d.ts +1 -0
  475. package/dist/auxiliary/graphics/hover/HoverBound.d.ts.map +1 -0
  476. package/dist/auxiliary/graphics/hover/HoverBrokenPoint.d.ts +10 -0
  477. package/dist/auxiliary/graphics/hover/HoverBrokenPoint.d.ts.map +1 -0
  478. package/dist/auxiliary/graphics/hover/HoverConnectAnchor.d.ts +1 -0
  479. package/dist/auxiliary/graphics/hover/HoverConnectAnchor.d.ts.map +1 -0
  480. package/dist/auxiliary/graphics/hover/HoverConnectAnchorPoint.d.ts +1 -0
  481. package/dist/auxiliary/graphics/hover/HoverConnectAnchorPoint.d.ts.map +1 -0
  482. package/dist/auxiliary/graphics/hover/HoverConnectPoint.d.ts +1 -0
  483. package/dist/auxiliary/graphics/hover/HoverConnectPoint.d.ts.map +1 -0
  484. package/dist/auxiliary/graphics/hover/HoverContainer.d.ts +1 -0
  485. package/dist/auxiliary/graphics/hover/HoverContainer.d.ts.map +1 -0
  486. package/dist/auxiliary/graphics/hover/HoverEditControlPoint.d.ts +10 -0
  487. package/dist/auxiliary/graphics/hover/HoverEditControlPoint.d.ts.map +1 -0
  488. package/dist/auxiliary/graphics/hover/HoverFocusCopy.d.ts +1 -0
  489. package/dist/auxiliary/graphics/hover/HoverFocusCopy.d.ts.map +1 -0
  490. package/dist/auxiliary/graphics/hover/HoverInsertHorizonSlide.d.ts +1 -0
  491. package/dist/auxiliary/graphics/hover/HoverInsertHorizonSlide.d.ts.map +1 -0
  492. package/dist/auxiliary/graphics/hover/HoverInsertSlide.d.ts +1 -0
  493. package/dist/auxiliary/graphics/hover/HoverInsertSlide.d.ts.map +1 -0
  494. package/dist/auxiliary/graphics/hover/HoverLine.d.ts +1 -0
  495. package/dist/auxiliary/graphics/hover/HoverLine.d.ts.map +1 -0
  496. package/dist/auxiliary/graphics/hover/HoverMindmapConnectAnchor.d.ts +18 -0
  497. package/dist/auxiliary/graphics/hover/HoverMindmapConnectAnchor.d.ts.map +1 -0
  498. package/dist/auxiliary/graphics/hover/HoverSizer.d.ts +1 -0
  499. package/dist/auxiliary/graphics/hover/HoverSizer.d.ts.map +1 -0
  500. package/dist/auxiliary/graphics/hover/HoverSlideGapInsertPoint.d.ts +1 -0
  501. package/dist/auxiliary/graphics/hover/HoverSlideGapInsertPoint.d.ts.map +1 -0
  502. package/dist/auxiliary/graphics/hover/HoverSlidePlaceHolder.d.ts +1 -0
  503. package/dist/auxiliary/graphics/hover/HoverSlidePlaceHolder.d.ts.map +1 -0
  504. package/dist/auxiliary/graphics/hover/HoverTextPrefix.d.ts +15 -0
  505. package/dist/auxiliary/graphics/hover/HoverTextPrefix.d.ts.map +1 -0
  506. package/dist/auxiliary/graphics/hover/SelectTextPrefix.d.ts +15 -0
  507. package/dist/auxiliary/graphics/hover/SelectTextPrefix.d.ts.map +1 -0
  508. package/dist/auxiliary/graphics/preview/PreviewGraphics.d.ts +1 -0
  509. package/dist/auxiliary/graphics/preview/PreviewGraphics.d.ts.map +1 -0
  510. package/dist/auxiliary/graphics/select/DocContainerTextSelectBound.d.ts +16 -0
  511. package/dist/auxiliary/graphics/select/DocContainerTextSelectBound.d.ts.map +1 -0
  512. package/dist/auxiliary/graphics/select/ExpandShapeButton.d.ts +1 -0
  513. package/dist/auxiliary/graphics/select/ExpandShapeButton.d.ts.map +1 -0
  514. package/dist/auxiliary/graphics/select/HighlightRects.d.ts +3 -2
  515. package/dist/auxiliary/graphics/select/HighlightRects.d.ts.map +1 -0
  516. package/dist/auxiliary/graphics/select/MultiSelectBound.d.ts +1 -0
  517. package/dist/auxiliary/graphics/select/MultiSelectBound.d.ts.map +1 -0
  518. package/dist/auxiliary/graphics/select/SelectBrokenPoint.d.ts +10 -0
  519. package/dist/auxiliary/graphics/select/SelectBrokenPoint.d.ts.map +1 -0
  520. package/dist/auxiliary/graphics/select/SelectConnectAnchor.d.ts +1 -0
  521. package/dist/auxiliary/graphics/select/SelectConnectAnchor.d.ts.map +1 -0
  522. package/dist/auxiliary/graphics/select/SelectCurveControlPoint.d.ts +1 -0
  523. package/dist/auxiliary/graphics/select/SelectCurveControlPoint.d.ts.map +1 -0
  524. package/dist/auxiliary/graphics/select/SelectCurveEnd.d.ts +1 -0
  525. package/dist/auxiliary/graphics/select/SelectCurveEnd.d.ts.map +1 -0
  526. package/dist/auxiliary/graphics/select/SelectEditControlPoint.d.ts +10 -0
  527. package/dist/auxiliary/graphics/select/SelectEditControlPoint.d.ts.map +1 -0
  528. package/dist/auxiliary/graphics/select/SelectEditPoint.d.ts +10 -0
  529. package/dist/auxiliary/graphics/select/SelectEditPoint.d.ts.map +1 -0
  530. package/dist/auxiliary/graphics/select/SelectEditableNodePoint.d.ts +10 -0
  531. package/dist/auxiliary/graphics/select/SelectEditableNodePoint.d.ts.map +1 -0
  532. package/dist/auxiliary/graphics/select/SelectLine.d.ts +3 -1
  533. package/dist/auxiliary/graphics/select/SelectLine.d.ts.map +1 -0
  534. package/dist/auxiliary/graphics/select/SelectLineEnd.d.ts +1 -0
  535. package/dist/auxiliary/graphics/select/SelectLineEnd.d.ts.map +1 -0
  536. package/dist/auxiliary/graphics/select/SelectLineTextRect.d.ts +1 -0
  537. package/dist/auxiliary/graphics/select/SelectLineTextRect.d.ts.map +1 -0
  538. package/dist/auxiliary/graphics/select/SelectMindmapConnectAnchor.d.ts +18 -0
  539. package/dist/auxiliary/graphics/select/SelectMindmapConnectAnchor.d.ts.map +1 -0
  540. package/dist/auxiliary/graphics/select/SelectParentGroupBound.d.ts +1 -0
  541. package/dist/auxiliary/graphics/select/SelectParentGroupBound.d.ts.map +1 -0
  542. package/dist/auxiliary/graphics/select/SelectPolyLineControlPoint.d.ts +7 -0
  543. package/dist/auxiliary/graphics/select/SelectPolyLineControlPoint.d.ts.map +1 -0
  544. package/dist/auxiliary/graphics/select/SelectSlideGapInsertPoint.d.ts +1 -0
  545. package/dist/auxiliary/graphics/select/SelectSlideGapInsertPoint.d.ts.map +1 -0
  546. package/dist/auxiliary/graphics/select/SingleSelectBound.d.ts +1 -0
  547. package/dist/auxiliary/graphics/select/SingleSelectBound.d.ts.map +1 -0
  548. package/dist/auxiliary/graphics/select/StretchRect.d.ts +1 -0
  549. package/dist/auxiliary/graphics/select/StretchRect.d.ts.map +1 -0
  550. package/dist/auxiliary/graphics/text/PlaceHolder.d.ts +4 -0
  551. package/dist/auxiliary/graphics/text/PlaceHolder.d.ts.map +1 -0
  552. package/dist/auxiliary/graphics/text/TextSelection.d.ts +1 -0
  553. package/dist/auxiliary/graphics/text/TextSelection.d.ts.map +1 -0
  554. package/dist/auxiliary/index.d.ts +2 -0
  555. package/dist/auxiliary/index.d.ts.map +1 -0
  556. package/dist/blockDiagram-WCTKOSBZ-GUzvfW6U.js +2298 -0
  557. package/dist/c4Diagram-IC4MRINW-DhYrnE8z.js +1582 -0
  558. package/dist/channel-CT6FpYEZ.js +5 -0
  559. package/dist/chunk-4BX2VUAB-zaPS7TSb.js +9 -0
  560. package/dist/chunk-55IACEB6-BrK3ifIg.js +9 -0
  561. package/dist/chunk-FMBD7UC4-BVjhMdw1.js +19 -0
  562. package/dist/chunk-JSJVCQXG-9zNTOA62.js +69 -0
  563. package/dist/chunk-KX2RTZJC-D0YZPq7w.js +20 -0
  564. package/dist/chunk-NQ4KR5QH-D0H5LJ70.js +1384 -0
  565. package/dist/chunk-QZHKN3VN-DiSQK9Ey.js +15 -0
  566. package/dist/chunk-WL4C6EOR-DvQXGWh1.js +1431 -0
  567. package/dist/classDiagram-VBA2DB6C-BvpG0U9j.js +17 -0
  568. package/dist/classDiagram-v2-RAHNMMFH-BvpG0U9j.js +17 -0
  569. package/dist/clone-D4gz6IgV.js +8 -0
  570. package/dist/common/IRectNode.d.ts +1 -0
  571. package/dist/common/IRectNode.d.ts.map +1 -0
  572. package/dist/common/LinkNode.d.ts +1 -0
  573. package/dist/common/LinkNode.d.ts.map +1 -0
  574. package/dist/common/OSType.d.ts +1 -0
  575. package/dist/common/OSType.d.ts.map +1 -0
  576. package/dist/common/Point.d.ts +1 -0
  577. package/dist/common/Point.d.ts.map +1 -0
  578. package/dist/common/Rect.d.ts +1 -0
  579. package/dist/common/Rect.d.ts.map +1 -0
  580. package/dist/common/RectNode.d.ts +1 -0
  581. package/dist/common/RectNode.d.ts.map +1 -0
  582. package/dist/common/detect/AbsDetector.d.ts +1 -0
  583. package/dist/common/detect/AbsDetector.d.ts.map +1 -0
  584. package/dist/common/detect/DetectorEnum.d.ts +23 -16
  585. package/dist/common/detect/DetectorEnum.d.ts.map +1 -0
  586. package/dist/common/index.d.ts +1 -0
  587. package/dist/common/index.d.ts.map +1 -0
  588. package/dist/common/interact/IConfig.d.ts +3 -0
  589. package/dist/common/interact/IConfig.d.ts.map +1 -0
  590. package/dist/common/interact/InteractiveEvent.d.ts +1 -0
  591. package/dist/common/interact/InteractiveEvent.d.ts.map +1 -0
  592. package/dist/common/interact/StretchType.d.ts +1 -0
  593. package/dist/common/interact/StretchType.d.ts.map +1 -0
  594. package/dist/common/paste/PasteData.d.ts +1 -0
  595. package/dist/common/paste/PasteData.d.ts.map +1 -0
  596. package/dist/component/canvas/CanvasConfig.d.ts +1 -0
  597. package/dist/component/canvas/CanvasConfig.d.ts.map +1 -0
  598. package/dist/component/canvas/CanvasContainer.d.ts +2 -1
  599. package/dist/component/canvas/CanvasContainer.d.ts.map +1 -0
  600. package/dist/component/canvas/dhp/DHPCanvas.d.ts +2 -1
  601. package/dist/component/canvas/dhp/DHPCanvas.d.ts.map +1 -0
  602. package/dist/component/canvasInput/CanvasInput.d.ts +2 -1
  603. package/dist/component/canvasInput/CanvasInput.d.ts.map +1 -0
  604. package/dist/component/index.d.ts +1 -0
  605. package/dist/component/index.d.ts.map +1 -0
  606. package/dist/config/ShapeCategoryType.d.ts +1 -0
  607. package/dist/config/ShapeCategoryType.d.ts.map +1 -0
  608. package/dist/config/defaultBorderConfig.d.ts +1 -0
  609. package/dist/config/defaultBorderConfig.d.ts.map +1 -0
  610. package/dist/config/defaultColorConfig.d.ts +1 -0
  611. package/dist/config/defaultColorConfig.d.ts.map +1 -0
  612. package/dist/config/defaultSectionConfig.d.ts +1 -0
  613. package/dist/config/defaultSectionConfig.d.ts.map +1 -0
  614. package/dist/config/shapeCategory.d.ts +1 -0
  615. package/dist/config/shapeCategory.d.ts.map +1 -0
  616. package/dist/cose-bilkent-S5V4N54A-DAuQiwAY.js +2607 -0
  617. package/dist/crop/CropManager.d.ts +1 -0
  618. package/dist/crop/CropManager.d.ts.map +1 -0
  619. package/dist/cursor/CursorManager.d.ts +1 -0
  620. package/dist/cursor/CursorManager.d.ts.map +1 -0
  621. package/dist/cursor/CursorStyle.d.ts +1 -0
  622. package/dist/cursor/CursorStyle.d.ts.map +1 -0
  623. package/dist/cytoscape.esm-ZmItrg9y.js +18731 -0
  624. package/dist/dagre-KLK3FWXG-B1LnQ4Nh.js +447 -0
  625. package/dist/defaultLocale-BgPVtth8.js +171 -0
  626. package/dist/diagram-E7M64L7V-DYD7i37U.js +535 -0
  627. package/dist/diagram-IFDJBPK2-BLpeLjoP.js +221 -0
  628. package/dist/diagram-P4PSJMXO-DdGmWn7A.js +143 -0
  629. package/dist/doc/DocManager.d.ts +6 -0
  630. package/dist/doc/DocManager.d.ts.map +1 -0
  631. package/dist/engine.js +348 -28314
  632. package/dist/engine.umd.cjs +3327 -22
  633. package/dist/erDiagram-INFDFZHY-BGJ4Sx6M.js +864 -0
  634. package/dist/file/DocSettingDO.d.ts +1 -0
  635. package/dist/file/DocSettingDO.d.ts.map +1 -0
  636. package/dist/file/SerializeManager.d.ts +1 -0
  637. package/dist/file/SerializeManager.d.ts.map +1 -0
  638. package/dist/flowDiagram-PKNHOUZH-CfIgi5h-.js +1648 -0
  639. package/dist/ganttDiagram-A5KZAMGK-C2mK-u4N.js +2689 -0
  640. package/dist/gitGraph-HDMCJU4V-UybiZcds.js +6 -0
  641. package/dist/gitGraphDiagram-K3NZZRJ6-CsaLOmfL.js +710 -0
  642. package/dist/graph-DiZQNfv4.js +604 -0
  643. package/dist/graphics/ConnectorPoint.d.ts +1 -0
  644. package/dist/graphics/ConnectorPoint.d.ts.map +1 -0
  645. package/dist/graphics/ControlPoint.d.ts +1 -0
  646. package/dist/graphics/ControlPoint.d.ts.map +1 -0
  647. package/dist/graphics/GraphicConst.d.ts +1 -0
  648. package/dist/graphics/GraphicConst.d.ts.map +1 -0
  649. package/dist/graphics/IDrawer.d.ts +9 -0
  650. package/dist/graphics/IDrawer.d.ts.map +1 -0
  651. package/dist/graphics/OolongDocContainer.d.ts +17 -0
  652. package/dist/graphics/OolongDocContainer.d.ts.map +1 -0
  653. package/dist/graphics/OolongGroup.d.ts +1 -0
  654. package/dist/graphics/OolongGroup.d.ts.map +1 -0
  655. package/dist/graphics/OolongImgNode.d.ts +1 -0
  656. package/dist/graphics/OolongImgNode.d.ts.map +1 -0
  657. package/dist/graphics/OolongNode.d.ts +10 -4
  658. package/dist/graphics/OolongNode.d.ts.map +1 -0
  659. package/dist/graphics/OolongSVGNode.d.ts +2 -0
  660. package/dist/graphics/OolongSVGNode.d.ts.map +1 -0
  661. package/dist/graphics/OolongSVGUtils.d.ts +1 -0
  662. package/dist/graphics/OolongSVGUtils.d.ts.map +1 -0
  663. package/dist/graphics/OolongSection.d.ts +11 -1
  664. package/dist/graphics/OolongSection.d.ts.map +1 -0
  665. package/dist/graphics/OolongSlideContainer.d.ts +5 -0
  666. package/dist/graphics/OolongSlideContainer.d.ts.map +1 -0
  667. package/dist/graphics/base/LineShapeType.d.ts +3 -1
  668. package/dist/graphics/base/LineShapeType.d.ts.map +1 -0
  669. package/dist/graphics/base/NodeConnectEndType.d.ts +1 -0
  670. package/dist/graphics/base/NodeConnectEndType.d.ts.map +1 -0
  671. package/dist/graphics/base/SectionType.d.ts +1 -0
  672. package/dist/graphics/base/SectionType.d.ts.map +1 -0
  673. package/dist/graphics/base/ShapeType.d.ts +1 -0
  674. package/dist/graphics/base/ShapeType.d.ts.map +1 -0
  675. package/dist/graphics/chartSection/ChartSection.d.ts +8 -0
  676. package/dist/graphics/chartSection/ChartSection.d.ts.map +1 -0
  677. package/dist/graphics/drawer/AbsDrawer.d.ts +15 -0
  678. package/dist/graphics/drawer/AbsDrawer.d.ts.map +1 -0
  679. package/dist/graphics/drawer/BasePolyLineDrawer.d.ts +1 -0
  680. package/dist/graphics/drawer/BasePolyLineDrawer.d.ts.map +1 -0
  681. package/dist/graphics/drawer/CloudDrawer.d.ts +2 -0
  682. package/dist/graphics/drawer/CloudDrawer.d.ts.map +1 -0
  683. package/dist/graphics/drawer/CrossDrawer.d.ts +2 -4
  684. package/dist/graphics/drawer/CrossDrawer.d.ts.map +1 -0
  685. package/dist/graphics/drawer/EllipseDrawer.d.ts +2 -0
  686. package/dist/graphics/drawer/EllipseDrawer.d.ts.map +1 -0
  687. package/dist/graphics/drawer/HexagonDrawer.d.ts +2 -4
  688. package/dist/graphics/drawer/HexagonDrawer.d.ts.map +1 -0
  689. package/dist/graphics/drawer/LingxingDrawer.d.ts +3 -4
  690. package/dist/graphics/drawer/LingxingDrawer.d.ts.map +1 -0
  691. package/dist/graphics/drawer/OctagonDrawer.d.ts +2 -4
  692. package/dist/graphics/drawer/OctagonDrawer.d.ts.map +1 -0
  693. package/dist/graphics/drawer/ParallelogramDrawer.d.ts +2 -4
  694. package/dist/graphics/drawer/ParallelogramDrawer.d.ts.map +1 -0
  695. package/dist/graphics/drawer/PentagonDrawer.d.ts +2 -4
  696. package/dist/graphics/drawer/PentagonDrawer.d.ts.map +1 -0
  697. package/dist/graphics/drawer/PureTextDrawer.d.ts +2 -0
  698. package/dist/graphics/drawer/PureTextDrawer.d.ts.map +1 -0
  699. package/dist/graphics/drawer/RectDrawer.d.ts +2 -0
  700. package/dist/graphics/drawer/RectDrawer.d.ts.map +1 -0
  701. package/dist/graphics/drawer/RoundRectDrawer.d.ts +2 -0
  702. package/dist/graphics/drawer/RoundRectDrawer.d.ts.map +1 -0
  703. package/dist/graphics/drawer/StarDrawer.d.ts +2 -4
  704. package/dist/graphics/drawer/StarDrawer.d.ts.map +1 -0
  705. package/dist/graphics/drawer/TrapezoidDrawer.d.ts +2 -4
  706. package/dist/graphics/drawer/TrapezoidDrawer.d.ts.map +1 -0
  707. package/dist/graphics/drawer/Triangle2Drawer.d.ts +1 -0
  708. package/dist/graphics/drawer/Triangle2Drawer.d.ts.map +1 -0
  709. package/dist/graphics/drawer/TriangleDrawer.d.ts +2 -4
  710. package/dist/graphics/drawer/TriangleDrawer.d.ts.map +1 -0
  711. package/dist/graphics/drawer/chart/EditableDrawer.d.ts +24 -0
  712. package/dist/graphics/drawer/chart/EditableDrawer.d.ts.map +1 -0
  713. package/dist/graphics/drawer/chart/PieDrawer.d.ts +22 -0
  714. package/dist/graphics/drawer/chart/PieDrawer.d.ts.map +1 -0
  715. package/dist/graphics/drawer/chart/RingDrawer.d.ts +26 -0
  716. package/dist/graphics/drawer/chart/RingDrawer.d.ts.map +1 -0
  717. package/dist/graphics/drawer/line/BrokenLineDrawer.d.ts +11 -0
  718. package/dist/graphics/drawer/line/BrokenLineDrawer.d.ts.map +1 -0
  719. package/dist/graphics/drawer/line/CurveDrawer.d.ts +2 -0
  720. package/dist/graphics/drawer/line/CurveDrawer.d.ts.map +1 -0
  721. package/dist/graphics/drawer/line/PolyLineDrawer.d.ts +2 -1
  722. package/dist/graphics/drawer/line/PolyLineDrawer.d.ts.map +1 -0
  723. package/dist/graphics/drawer/line/RoundPolyLineDrawer.d.ts +2 -13
  724. package/dist/graphics/drawer/line/RoundPolyLineDrawer.d.ts.map +1 -0
  725. package/dist/graphics/drawer/line/SimpleLineDrawer.d.ts +2 -0
  726. package/dist/graphics/drawer/line/SimpleLineDrawer.d.ts.map +1 -0
  727. package/dist/graphics/editable/EditStatus.d.ts +4 -0
  728. package/dist/graphics/editable/EditStatus.d.ts.map +1 -0
  729. package/dist/graphics/editable/OolongEditableNode.d.ts +43 -0
  730. package/dist/graphics/editable/OolongEditableNode.d.ts.map +1 -0
  731. package/dist/graphics/editable/OolongEditableUntils.d.ts +9 -0
  732. package/dist/graphics/editable/OolongEditableUntils.d.ts.map +1 -0
  733. package/dist/graphics/editable/OolongPieNode.d.ts +43 -0
  734. package/dist/graphics/editable/OolongPieNode.d.ts.map +1 -0
  735. package/dist/graphics/img/AbsImgNode.d.ts +22 -0
  736. package/dist/graphics/img/AbsImgNode.d.ts.map +1 -0
  737. package/dist/graphics/index.d.ts +8 -0
  738. package/dist/graphics/index.d.ts.map +1 -0
  739. package/dist/graphics/line/LineIntersectionUtils.d.ts +2 -1
  740. package/dist/graphics/line/LineIntersectionUtils.d.ts.map +1 -0
  741. package/dist/graphics/line/LineStatus.d.ts +4 -0
  742. package/dist/graphics/line/LineStatus.d.ts.map +1 -0
  743. package/dist/graphics/line/OolongLine.d.ts +36 -4
  744. package/dist/graphics/line/OolongLine.d.ts.map +1 -0
  745. package/dist/graphics/line/arrow/AbsArrowDrawer.d.ts +28 -1
  746. package/dist/graphics/line/arrow/AbsArrowDrawer.d.ts.map +1 -0
  747. package/dist/graphics/line/arrow/ArrowConst.d.ts +1 -2
  748. package/dist/graphics/line/arrow/ArrowConst.d.ts.map +1 -0
  749. package/dist/graphics/line/arrow/CircleArrowDrawer.d.ts +5 -1
  750. package/dist/graphics/line/arrow/CircleArrowDrawer.d.ts.map +1 -0
  751. package/dist/graphics/line/arrow/DiamondArrowDrawer.d.ts +5 -1
  752. package/dist/graphics/line/arrow/DiamondArrowDrawer.d.ts.map +1 -0
  753. package/dist/graphics/line/arrow/EmptyCircleArrowDrawer.d.ts +5 -1
  754. package/dist/graphics/line/arrow/EmptyCircleArrowDrawer.d.ts.map +1 -0
  755. package/dist/graphics/line/arrow/EmptyDiamondArrowDrawer.d.ts +5 -1
  756. package/dist/graphics/line/arrow/EmptyDiamondArrowDrawer.d.ts.map +1 -0
  757. package/dist/graphics/line/arrow/EmptyTriangleArrowDrawer.d.ts +5 -1
  758. package/dist/graphics/line/arrow/EmptyTriangleArrowDrawer.d.ts.map +1 -0
  759. package/dist/graphics/line/arrow/SimpleArrowDrawer.d.ts +5 -1
  760. package/dist/graphics/line/arrow/SimpleArrowDrawer.d.ts.map +1 -0
  761. package/dist/graphics/line/arrow/TriangleArrowDrawer.d.ts +5 -1
  762. package/dist/graphics/line/arrow/TriangleArrowDrawer.d.ts.map +1 -0
  763. package/dist/graphics/mathFormula/MathFormula.d.ts +21 -0
  764. package/dist/graphics/mathFormula/MathFormula.d.ts.map +1 -0
  765. package/dist/graphics/mermaid/MermaidSection.d.ts +13 -0
  766. package/dist/graphics/mermaid/MermaidSection.d.ts.map +1 -0
  767. package/dist/graphics/mindmap/ILayoutBoxInfo.d.ts +7 -0
  768. package/dist/graphics/mindmap/ILayoutBoxInfo.d.ts.map +1 -0
  769. package/dist/graphics/mindmap/OolongMindmapNode.d.ts +101 -0
  770. package/dist/graphics/mindmap/OolongMindmapNode.d.ts.map +1 -0
  771. package/dist/graphics/mindmap/layout/AbsBoxWorker.d.ts +8 -0
  772. package/dist/graphics/mindmap/layout/AbsBoxWorker.d.ts.map +1 -0
  773. package/dist/graphics/mindmap/layout/BottomBoxWorker.d.ts +12 -0
  774. package/dist/graphics/mindmap/layout/BottomBoxWorker.d.ts.map +1 -0
  775. package/dist/graphics/mindmap/layout/LeftBoxWorker.d.ts +12 -0
  776. package/dist/graphics/mindmap/layout/LeftBoxWorker.d.ts.map +1 -0
  777. package/dist/graphics/mindmap/layout/LeftRightBoxWorker.d.ts +13 -0
  778. package/dist/graphics/mindmap/layout/LeftRightBoxWorker.d.ts.map +1 -0
  779. package/dist/graphics/mindmap/layout/RightBoxWorer.d.ts +9 -0
  780. package/dist/graphics/mindmap/layout/RightBoxWorer.d.ts.map +1 -0
  781. package/dist/graphics/mindmap/layout/TopBottomBoxWorker.d.ts +13 -0
  782. package/dist/graphics/mindmap/layout/TopBottomBoxWorker.d.ts.map +1 -0
  783. package/dist/graphics/mindmap/layout/TopBoxWorker.d.ts +12 -0
  784. package/dist/graphics/mindmap/layout/TopBoxWorker.d.ts.map +1 -0
  785. package/dist/graphics/mindmap/layout/layout-const.d.ts +20 -0
  786. package/dist/graphics/mindmap/layout/layout-const.d.ts.map +1 -0
  787. package/dist/graphics/mindmap/render/renderLine.d.ts +8 -0
  788. package/dist/graphics/mindmap/render/renderLine.d.ts.map +1 -0
  789. package/dist/graphics/node/GraphicNode.d.ts +31 -7
  790. package/dist/graphics/node/GraphicNode.d.ts.map +1 -0
  791. package/dist/graphics/node/GraphicTextNode.d.ts +29 -0
  792. package/dist/graphics/node/GraphicTextNode.d.ts.map +1 -0
  793. package/dist/graphics/node/NodeFactory.d.ts +2 -2
  794. package/dist/graphics/node/NodeFactory.d.ts.map +1 -0
  795. package/dist/graphics/node/RootNode.d.ts +1 -0
  796. package/dist/graphics/node/RootNode.d.ts.map +1 -0
  797. package/dist/graphics/paint/OolongPaint.d.ts +31 -0
  798. package/dist/graphics/paint/OolongPaint.d.ts.map +1 -0
  799. package/dist/graphics/paint/PaintDrawer.d.ts +17 -0
  800. package/dist/graphics/paint/PaintDrawer.d.ts.map +1 -0
  801. package/dist/graphics/props/AbsProps.d.ts +1 -0
  802. package/dist/graphics/props/AbsProps.d.ts.map +1 -0
  803. package/dist/graphics/props/ArrowProps.d.ts +1 -0
  804. package/dist/graphics/props/ArrowProps.d.ts.map +1 -0
  805. package/dist/graphics/props/BaseProps.d.ts +1 -0
  806. package/dist/graphics/props/BaseProps.d.ts.map +1 -0
  807. package/dist/graphics/props/BorderProps.d.ts +2 -0
  808. package/dist/graphics/props/BorderProps.d.ts.map +1 -0
  809. package/dist/graphics/props/ColorProps.d.ts +2 -0
  810. package/dist/graphics/props/ColorProps.d.ts.map +1 -0
  811. package/dist/graphics/props/ConnectProps.d.ts +1 -0
  812. package/dist/graphics/props/ConnectProps.d.ts.map +1 -0
  813. package/dist/graphics/props/CropProps.d.ts +1 -0
  814. package/dist/graphics/props/CropProps.d.ts.map +1 -0
  815. package/dist/graphics/props/DocProps.d.ts +12 -0
  816. package/dist/graphics/props/DocProps.d.ts.map +1 -0
  817. package/dist/graphics/props/EditableProps.d.ts +15 -0
  818. package/dist/graphics/props/EditableProps.d.ts.map +1 -0
  819. package/dist/graphics/props/FormulaProps.d.ts +15 -0
  820. package/dist/graphics/props/FormulaProps.d.ts.map +1 -0
  821. package/dist/graphics/props/ImageProps.d.ts +1 -0
  822. package/dist/graphics/props/ImageProps.d.ts.map +1 -0
  823. package/dist/graphics/props/LineProps.d.ts +1 -0
  824. package/dist/graphics/props/LineProps.d.ts.map +1 -0
  825. package/dist/graphics/props/LineTextRectProps.d.ts +1 -0
  826. package/dist/graphics/props/LineTextRectProps.d.ts.map +1 -0
  827. package/dist/graphics/props/MermaidProps.d.ts +12 -0
  828. package/dist/graphics/props/MermaidProps.d.ts.map +1 -0
  829. package/dist/graphics/props/MindMapProps.d.ts +37 -0
  830. package/dist/graphics/props/MindMapProps.d.ts.map +1 -0
  831. package/dist/graphics/props/PaintProps.d.ts +12 -0
  832. package/dist/graphics/props/PaintProps.d.ts.map +1 -0
  833. package/dist/graphics/props/PieRingProps.d.ts +13 -0
  834. package/dist/graphics/props/PieRingProps.d.ts.map +1 -0
  835. package/dist/graphics/props/PropType.d.ts +10 -1
  836. package/dist/graphics/props/PropType.d.ts.map +1 -0
  837. package/dist/graphics/props/ShapeProps.d.ts +1 -0
  838. package/dist/graphics/props/ShapeProps.d.ts.map +1 -0
  839. package/dist/graphics/props/SlideProps.d.ts +1 -0
  840. package/dist/graphics/props/SlideProps.d.ts.map +1 -0
  841. package/dist/graphics/props/SvgProps.d.ts +1 -0
  842. package/dist/graphics/props/SvgProps.d.ts.map +1 -0
  843. package/dist/graphics/props/TextParagraphProps.d.ts +1 -0
  844. package/dist/graphics/props/TextParagraphProps.d.ts.map +1 -0
  845. package/dist/graphics/props/TextParagraphQuoteProps.d.ts +1 -0
  846. package/dist/graphics/props/TextParagraphQuoteProps.d.ts.map +1 -0
  847. package/dist/graphics/props/TextProps.d.ts +14 -0
  848. package/dist/graphics/props/TextProps.d.ts.map +1 -0
  849. package/dist/graphics/props/chart/ChartProps.d.ts +25 -0
  850. package/dist/graphics/props/chart/ChartProps.d.ts.map +1 -0
  851. package/dist/graphics/props/widget/CheckSizeProps.d.ts +1 -0
  852. package/dist/graphics/props/widget/CheckSizeProps.d.ts.map +1 -0
  853. package/dist/graphics/props/widget/CheckStatusProps.d.ts +1 -0
  854. package/dist/graphics/props/widget/CheckStatusProps.d.ts.map +1 -0
  855. package/dist/graphics/utils/GraphicUtils.d.ts +62 -7
  856. package/dist/graphics/utils/GraphicUtils.d.ts.map +1 -0
  857. package/dist/graphics/utils/GroupUtils.d.ts +10 -0
  858. package/dist/graphics/utils/GroupUtils.d.ts.map +1 -0
  859. package/dist/graphics/utils/ImageUtils.d.ts +1 -0
  860. package/dist/graphics/utils/ImageUtils.d.ts.map +1 -0
  861. package/dist/graphics/utils/PieRingUtils.d.ts +6 -0
  862. package/dist/graphics/utils/PieRingUtils.d.ts.map +1 -0
  863. package/dist/graphics/utils/SvgUtils.d.ts +39 -0
  864. package/dist/graphics/utils/SvgUtils.d.ts.map +1 -0
  865. package/dist/graphics/widget/OolongWidget.d.ts +1 -0
  866. package/dist/graphics/widget/OolongWidget.d.ts.map +1 -0
  867. package/dist/graphics/widget/checkbox/OolongCheckbox.d.ts +3 -0
  868. package/dist/graphics/widget/checkbox/OolongCheckbox.d.ts.map +1 -0
  869. package/dist/graphics/widget/checkbox/OolongCheckboxText.d.ts +4 -0
  870. package/dist/graphics/widget/checkbox/OolongCheckboxText.d.ts.map +1 -0
  871. package/dist/html2canvas.esm-d2sM-0Wm.js +4870 -0
  872. package/dist/idl/DocumentInfo.d.ts +1 -0
  873. package/dist/idl/DocumentInfo.d.ts.map +1 -0
  874. package/dist/idl/MindmapLayoutType.d.ts +23 -0
  875. package/dist/idl/MindmapLayoutType.d.ts.map +1 -0
  876. package/dist/idl/MindmapLineStyleType.d.ts +5 -0
  877. package/dist/idl/MindmapLineStyleType.d.ts.map +1 -0
  878. package/dist/idl/NodeInfo.d.ts +1 -0
  879. package/dist/idl/NodeInfo.d.ts.map +1 -0
  880. package/dist/idl/NodeType.d.ts +27 -0
  881. package/dist/idl/NodeType.d.ts.map +1 -0
  882. package/dist/idl/RoundPolyLineTypes.d.ts +13 -0
  883. package/dist/idl/RoundPolyLineTypes.d.ts.map +1 -0
  884. package/dist/idl/capInfo/IArrowProps.d.ts +1 -0
  885. package/dist/idl/capInfo/IArrowProps.d.ts.map +1 -0
  886. package/dist/idl/capInfo/IBaseProps.d.ts +1 -0
  887. package/dist/idl/capInfo/IBaseProps.d.ts.map +1 -0
  888. package/dist/idl/capInfo/IBorderProps.d.ts +2 -0
  889. package/dist/idl/capInfo/IBorderProps.d.ts.map +1 -0
  890. package/dist/idl/capInfo/ICapInfo.d.ts +17 -0
  891. package/dist/idl/capInfo/ICapInfo.d.ts.map +1 -0
  892. package/dist/idl/capInfo/ICheckSizeProps.d.ts +1 -0
  893. package/dist/idl/capInfo/ICheckSizeProps.d.ts.map +1 -0
  894. package/dist/idl/capInfo/ICheckStatusProps.d.ts +1 -0
  895. package/dist/idl/capInfo/ICheckStatusProps.d.ts.map +1 -0
  896. package/dist/idl/capInfo/IColorProps.d.ts +2 -0
  897. package/dist/idl/capInfo/IColorProps.d.ts.map +1 -0
  898. package/dist/idl/capInfo/IConnectProps.d.ts +1 -0
  899. package/dist/idl/capInfo/IConnectProps.d.ts.map +1 -0
  900. package/dist/idl/capInfo/ICropProps.d.ts +1 -0
  901. package/dist/idl/capInfo/ICropProps.d.ts.map +1 -0
  902. package/dist/idl/capInfo/IDocProps.d.ts +4 -0
  903. package/dist/idl/capInfo/IDocProps.d.ts.map +1 -0
  904. package/dist/idl/capInfo/IEditableProps.d.ts +5 -0
  905. package/dist/idl/capInfo/IEditableProps.d.ts.map +1 -0
  906. package/dist/idl/capInfo/IFormulaProps.d.ts +8 -0
  907. package/dist/idl/capInfo/IFormulaProps.d.ts.map +1 -0
  908. package/dist/idl/capInfo/IImageProps.d.ts +1 -0
  909. package/dist/idl/capInfo/IImageProps.d.ts.map +1 -0
  910. package/dist/idl/capInfo/ILineProps.d.ts +1 -0
  911. package/dist/idl/capInfo/ILineProps.d.ts.map +1 -0
  912. package/dist/idl/capInfo/ILineTextRectProps.d.ts +1 -0
  913. package/dist/idl/capInfo/ILineTextRectProps.d.ts.map +1 -0
  914. package/dist/idl/capInfo/IMermaidProps.d.ts +4 -0
  915. package/dist/idl/capInfo/IMermaidProps.d.ts.map +1 -0
  916. package/dist/idl/capInfo/IMindMapProps.d.ts +10 -0
  917. package/dist/idl/capInfo/IMindMapProps.d.ts.map +1 -0
  918. package/dist/idl/capInfo/IPaintProps.d.ts +5 -0
  919. package/dist/idl/capInfo/IPaintProps.d.ts.map +1 -0
  920. package/dist/idl/capInfo/IPieRingProps.d.ts +6 -0
  921. package/dist/idl/capInfo/IPieRingProps.d.ts.map +1 -0
  922. package/dist/idl/capInfo/IShapeProps.d.ts +1 -0
  923. package/dist/idl/capInfo/IShapeProps.d.ts.map +1 -0
  924. package/dist/idl/capInfo/ISlideProps.d.ts +1 -0
  925. package/dist/idl/capInfo/ISlideProps.d.ts.map +1 -0
  926. package/dist/idl/capInfo/ISlideRow.d.ts +1 -0
  927. package/dist/idl/capInfo/ISlideRow.d.ts.map +1 -0
  928. package/dist/idl/capInfo/ISvgProps.d.ts +1 -0
  929. package/dist/idl/capInfo/ISvgProps.d.ts.map +1 -0
  930. package/dist/idl/capInfo/ITextParagraphProps.d.ts +4 -0
  931. package/dist/idl/capInfo/ITextParagraphProps.d.ts.map +1 -0
  932. package/dist/idl/capInfo/ITextParagraphQuoteProps.d.ts +1 -0
  933. package/dist/idl/capInfo/ITextParagraphQuoteProps.d.ts.map +1 -0
  934. package/dist/idl/capInfo/ITextProps.d.ts +3 -0
  935. package/dist/idl/capInfo/ITextProps.d.ts.map +1 -0
  936. package/dist/idl/capInfo/LineDashType.d.ts +1 -0
  937. package/dist/idl/capInfo/LineDashType.d.ts.map +1 -0
  938. package/dist/idl/capInfo/TransitionEnum.d.ts +1 -0
  939. package/dist/idl/capInfo/TransitionEnum.d.ts.map +1 -0
  940. package/dist/idl/capInfo/chart/BarInfo.d.ts +23 -0
  941. package/dist/idl/capInfo/chart/BarInfo.d.ts.map +1 -0
  942. package/dist/idl/capInfo/chart/ChartColorConfig.d.ts +4 -0
  943. package/dist/idl/capInfo/chart/ChartColorConfig.d.ts.map +1 -0
  944. package/dist/idl/capInfo/chart/ChartStyleType.d.ts +22 -0
  945. package/dist/idl/capInfo/chart/ChartStyleType.d.ts.map +1 -0
  946. package/dist/idl/capInfo/chart/IChartProps.d.ts +15 -0
  947. package/dist/idl/capInfo/chart/IChartProps.d.ts.map +1 -0
  948. package/dist/idl/capInfo/chart/LineInfo.d.ts +35 -0
  949. package/dist/idl/capInfo/chart/LineInfo.d.ts.map +1 -0
  950. package/dist/idl/capInfo/chart/PieInfo.d.ts +12 -0
  951. package/dist/idl/capInfo/chart/PieInfo.d.ts.map +1 -0
  952. package/dist/idl/capInfo/chart/ScatterInfo.d.ts +38 -0
  953. package/dist/idl/capInfo/chart/ScatterInfo.d.ts.map +1 -0
  954. package/dist/idl/common/IPoint.d.ts +1 -0
  955. package/dist/idl/common/IPoint.d.ts.map +1 -0
  956. package/dist/idl/common/IRectPoint.d.ts +14 -0
  957. package/dist/idl/common/IRectPoint.d.ts.map +1 -0
  958. package/dist/idl/common/LineArrowType.d.ts +1 -0
  959. package/dist/idl/common/LineArrowType.d.ts.map +1 -0
  960. package/dist/idl/common/RotateType.d.ts +1 -0
  961. package/dist/idl/common/RotateType.d.ts.map +1 -0
  962. package/dist/idl/common/TextAlignType.d.ts +1 -0
  963. package/dist/idl/common/TextAlignType.d.ts.map +1 -0
  964. package/dist/idl/common/TextSizeMode.d.ts +1 -0
  965. package/dist/idl/common/TextSizeMode.d.ts.map +1 -0
  966. package/dist/idl/index.d.ts +10 -0
  967. package/dist/idl/index.d.ts.map +1 -0
  968. package/dist/idl/ws/MsgPkg.d.ts +1 -0
  969. package/dist/idl/ws/MsgPkg.d.ts.map +1 -0
  970. package/dist/index-BRgAJnwv.js +57071 -0
  971. package/dist/index-BhhXoa2I.js +1367 -0
  972. package/dist/index-DS0_JYaM.js +486 -0
  973. package/dist/index.css +1 -1
  974. package/dist/index.d.ts +4 -0
  975. package/dist/index.d.ts.map +1 -0
  976. package/dist/index.es-2qd1RRW-.js +5631 -0
  977. package/dist/info-3K5VOQVL-78flST2I.js +6 -0
  978. package/dist/infoDiagram-LFFYTUFH-C7KoISIK.js +24 -0
  979. package/dist/init-DjUOC4st.js +16 -0
  980. package/dist/input/EditTextInfo.d.ts +1 -0
  981. package/dist/input/EditTextInfo.d.ts.map +1 -0
  982. package/dist/input/InputManager.d.ts +2 -0
  983. package/dist/input/InputManager.d.ts.map +1 -0
  984. package/dist/input/RenderInput.d.ts +3 -1
  985. package/dist/input/RenderInput.d.ts.map +1 -0
  986. package/dist/input/index.d.ts +1 -0
  987. package/dist/input/index.d.ts.map +1 -0
  988. package/dist/input/selection/TextSelectionInfo.d.ts +1 -0
  989. package/dist/input/selection/TextSelectionInfo.d.ts.map +1 -0
  990. package/dist/input/selection/TextSelectionManager.d.ts +1 -0
  991. package/dist/input/selection/TextSelectionManager.d.ts.map +1 -0
  992. package/dist/ishikawaDiagram-PHBUUO56-0xSCsnmA.js +621 -0
  993. package/dist/journeyDiagram-4ABVD52K-B8QS_tUN.js +837 -0
  994. package/dist/kanban-definition-K7BYSVSG-CISgdl5Z.js +722 -0
  995. package/dist/katex-DGJsrnvb.js +11622 -0
  996. package/dist/linear-Dzjs91Hs.js +259 -0
  997. package/dist/math/AffineMatrix.d.ts +1 -0
  998. package/dist/math/AffineMatrix.d.ts.map +1 -0
  999. package/dist/math/QuadBezierCurve.d.ts +1 -0
  1000. package/dist/math/QuadBezierCurve.d.ts.map +1 -0
  1001. package/dist/math/index.d.ts +1 -0
  1002. package/dist/math/index.d.ts.map +1 -0
  1003. package/dist/memory/EngineMemoryManager.d.ts +53 -0
  1004. package/dist/memory/EngineMemoryManager.d.ts.map +1 -0
  1005. package/dist/memory/index.d.ts +4 -0
  1006. package/dist/memory/index.d.ts.map +1 -0
  1007. package/dist/memory/line/index.d.ts +2 -0
  1008. package/dist/memory/line/index.d.ts.map +1 -0
  1009. package/dist/memory/line/lineStyleMemory.d.ts +26 -0
  1010. package/dist/memory/line/lineStyleMemory.d.ts.map +1 -0
  1011. package/dist/memory/text/index.d.ts +2 -0
  1012. package/dist/memory/text/index.d.ts.map +1 -0
  1013. package/dist/memory/text/textStyleMemory.d.ts +8 -0
  1014. package/dist/memory/text/textStyleMemory.d.ts.map +1 -0
  1015. package/dist/merge-iQ3lovbX.js +617 -0
  1016. package/dist/mermaid-parser.core-Z-sfRN-r.js +17838 -0
  1017. package/dist/mermaid.core-CLtuKi0e.js +12272 -0
  1018. package/dist/mindmap/MindmapManager.d.ts +12 -0
  1019. package/dist/mindmap/MindmapManager.d.ts.map +1 -0
  1020. package/dist/mindmap-definition-YRQLILUH-qZi1auIt.js +787 -0
  1021. package/dist/ordinal-DfAQgscy.js +61 -0
  1022. package/dist/packet-RMMSAZCW-CWMgbydz.js +6 -0
  1023. package/dist/parse-engine/AbsParseEngine.d.ts +7 -0
  1024. package/dist/parse-engine/AbsParseEngine.d.ts.map +1 -0
  1025. package/dist/parse-engine/SyntaxEngineManager.d.ts +10 -0
  1026. package/dist/parse-engine/SyntaxEngineManager.d.ts.map +1 -0
  1027. package/dist/parse-engine/SyntaxParseResult.d.ts +5 -0
  1028. package/dist/parse-engine/SyntaxParseResult.d.ts.map +1 -0
  1029. package/dist/parse-engine/bar-chart/BarParseEngine.d.ts +16 -0
  1030. package/dist/parse-engine/bar-chart/BarParseEngine.d.ts.map +1 -0
  1031. package/dist/parse-engine/line-chart/LineParseEngine.d.ts +12 -0
  1032. package/dist/parse-engine/line-chart/LineParseEngine.d.ts.map +1 -0
  1033. package/dist/parse-engine/mermaid/AbsMermaidParser.d.ts +7 -0
  1034. package/dist/parse-engine/mermaid/AbsMermaidParser.d.ts.map +1 -0
  1035. package/dist/parse-engine/mermaid/MermaidParseEngine.d.ts +18 -0
  1036. package/dist/parse-engine/mermaid/MermaidParseEngine.d.ts.map +1 -0
  1037. package/dist/parse-engine/mermaid/flow-chart/MermaidFlowChartParser.d.ts +16 -0
  1038. package/dist/parse-engine/mermaid/flow-chart/MermaidFlowChartParser.d.ts.map +1 -0
  1039. package/dist/parse-engine/mermaid/flow-chart/entity/FlowChartInfo.d.ts +20 -0
  1040. package/dist/parse-engine/mermaid/flow-chart/entity/FlowChartInfo.d.ts.map +1 -0
  1041. package/dist/parse-engine/mermaid/layout-engine/DAGLayoutEngine.d.ts +31 -0
  1042. package/dist/parse-engine/mermaid/layout-engine/DAGLayoutEngine.d.ts.map +1 -0
  1043. package/dist/parse-engine/mermaid/layout-engine/DAGLayoutInfo.d.ts +19 -0
  1044. package/dist/parse-engine/mermaid/layout-engine/DAGLayoutInfo.d.ts.map +1 -0
  1045. package/dist/parse-engine/mermaid/pie/MermaidPieParser.d.ts +11 -0
  1046. package/dist/parse-engine/mermaid/pie/MermaidPieParser.d.ts.map +1 -0
  1047. package/dist/parse-engine/pie/PieParseEngine.d.ts +36 -0
  1048. package/dist/parse-engine/pie/PieParseEngine.d.ts.map +1 -0
  1049. package/dist/parse-engine/scatter-chart/ScatterParseEngine.d.ts +13 -0
  1050. package/dist/parse-engine/scatter-chart/ScatterParseEngine.d.ts.map +1 -0
  1051. package/dist/parse-engine/util/ParserUtils.d.ts +41 -0
  1052. package/dist/parse-engine/util/ParserUtils.d.ts.map +1 -0
  1053. package/dist/pie-UPGHQEXC-DpBgTDK3.js +6 -0
  1054. package/dist/pieDiagram-SKSYHLDU-C6NZe1Xj.js +162 -0
  1055. package/dist/plugin-copy-paste/CopyPastePlugin.d.ts +1 -0
  1056. package/dist/plugin-copy-paste/CopyPastePlugin.d.ts.map +1 -0
  1057. package/dist/plugin-copy-paste/copy-paste/CopyPasteManager.d.ts +5 -1
  1058. package/dist/plugin-copy-paste/copy-paste/CopyPasteManager.d.ts.map +1 -0
  1059. package/dist/plugin-copy-paste/copy-paste/copy/CopyNodeHandler.d.ts +1 -0
  1060. package/dist/plugin-copy-paste/copy-paste/copy/CopyNodeHandler.d.ts.map +1 -0
  1061. package/dist/plugin-copy-paste/copy-paste/copy/CopyTextHandler.d.ts +7 -0
  1062. package/dist/plugin-copy-paste/copy-paste/copy/CopyTextHandler.d.ts.map +1 -0
  1063. package/dist/plugin-copy-paste/copy-paste/copy/ICopyHandler.d.ts +1 -0
  1064. package/dist/plugin-copy-paste/copy-paste/copy/ICopyHandler.d.ts.map +1 -0
  1065. package/dist/plugin-copy-paste/copy-paste/cut/CutNodeHandler.d.ts +8 -0
  1066. package/dist/plugin-copy-paste/copy-paste/cut/CutNodeHandler.d.ts.map +1 -0
  1067. package/dist/plugin-copy-paste/copy-paste/cut/CutTextHandler.d.ts +8 -0
  1068. package/dist/plugin-copy-paste/copy-paste/cut/CutTextHandler.d.ts.map +1 -0
  1069. package/dist/plugin-copy-paste/copy-paste/cut/ICutHandler.d.ts +6 -0
  1070. package/dist/plugin-copy-paste/copy-paste/cut/ICutHandler.d.ts.map +1 -0
  1071. package/dist/plugin-copy-paste/copy-paste/paste/IPasteHandler.d.ts +1 -0
  1072. package/dist/plugin-copy-paste/copy-paste/paste/IPasteHandler.d.ts.map +1 -0
  1073. package/dist/plugin-copy-paste/copy-paste/paste/img/ImgPasteHandler.d.ts +28 -0
  1074. package/dist/plugin-copy-paste/copy-paste/paste/img/ImgPasteHandler.d.ts.map +1 -0
  1075. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/IOolongDataHandler.d.ts +1 -0
  1076. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/IOolongDataHandler.d.ts.map +1 -0
  1077. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/OolongDataPasteHandler.d.ts +1 -0
  1078. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/OolongDataPasteHandler.d.ts.map +1 -0
  1079. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/PasteNodeHandler.d.ts +1 -0
  1080. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/PasteNodeHandler.d.ts.map +1 -0
  1081. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/posHandler/AbsPastePosHandler.d.ts +5 -1
  1082. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/posHandler/AbsPastePosHandler.d.ts.map +1 -0
  1083. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/posHandler/EmptyPlacePosHandler.d.ts +5 -1
  1084. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/posHandler/EmptyPlacePosHandler.d.ts.map +1 -0
  1085. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/posHandler/NormalPastePosHandler.d.ts +5 -1
  1086. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/posHandler/NormalPastePosHandler.d.ts.map +1 -0
  1087. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/posHandler/PosPasteType.d.ts +1 -0
  1088. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/posHandler/PosPasteType.d.ts.map +1 -0
  1089. package/dist/plugin-copy-paste/copy-paste/paste/plainText/RichTextSelectionPasteHandler.d.ts +58 -0
  1090. package/dist/plugin-copy-paste/copy-paste/paste/plainText/RichTextSelectionPasteHandler.d.ts.map +1 -0
  1091. package/dist/plugin-copy-paste/copy-paste/paste/svg/OolongSvgPasteHandler.d.ts +9 -1
  1092. package/dist/plugin-copy-paste/copy-paste/paste/svg/OolongSvgPasteHandler.d.ts.map +1 -0
  1093. package/dist/plugin-copy-paste/copy-paste/utils/CopyPasteUtils.d.ts +1 -0
  1094. package/dist/plugin-copy-paste/copy-paste/utils/CopyPasteUtils.d.ts.map +1 -0
  1095. package/dist/plugin-copy-paste/copy-paste/utils/TextSelectionClipboard.d.ts +25 -0
  1096. package/dist/plugin-copy-paste/copy-paste/utils/TextSelectionClipboard.d.ts.map +1 -0
  1097. package/dist/plugin-copy-paste/index.d.ts +4 -0
  1098. package/dist/plugin-copy-paste/index.d.ts.map +1 -0
  1099. package/dist/plugin-gesture/GestureEventPlugin.d.ts +31 -0
  1100. package/dist/plugin-gesture/GestureEventPlugin.d.ts.map +1 -0
  1101. package/dist/plugin-gesture/index.d.ts +2 -0
  1102. package/dist/plugin-gesture/index.d.ts.map +1 -0
  1103. package/dist/plugin-hotkey/KeyEventPlugin.d.ts +1 -0
  1104. package/dist/plugin-hotkey/KeyEventPlugin.d.ts.map +1 -0
  1105. package/dist/plugin-hotkey/hotkey/HotKey.d.ts +1 -0
  1106. package/dist/plugin-hotkey/hotkey/HotKey.d.ts.map +1 -0
  1107. package/dist/plugin-hotkey/hotkey/HotKeyManager.d.ts +2 -0
  1108. package/dist/plugin-hotkey/hotkey/HotKeyManager.d.ts.map +1 -0
  1109. package/dist/plugin-hotkey/hotkey/common/AltKey.d.ts +9 -0
  1110. package/dist/plugin-hotkey/hotkey/common/AltKey.d.ts.map +1 -0
  1111. package/dist/plugin-hotkey/hotkey/common/CmdKey.d.ts +9 -0
  1112. package/dist/plugin-hotkey/hotkey/common/CmdKey.d.ts.map +1 -0
  1113. package/dist/plugin-hotkey/hotkey/common/ControlKey.d.ts +9 -0
  1114. package/dist/plugin-hotkey/hotkey/common/ControlKey.d.ts.map +1 -0
  1115. package/dist/plugin-hotkey/hotkey/common/RedoKey.d.ts +1 -0
  1116. package/dist/plugin-hotkey/hotkey/common/RedoKey.d.ts.map +1 -0
  1117. package/dist/plugin-hotkey/hotkey/common/ShiftKey.d.ts +1 -0
  1118. package/dist/plugin-hotkey/hotkey/common/ShiftKey.d.ts.map +1 -0
  1119. package/dist/plugin-hotkey/hotkey/common/UndoKey.d.ts +3 -0
  1120. package/dist/plugin-hotkey/hotkey/common/UndoKey.d.ts.map +1 -0
  1121. package/dist/plugin-hotkey/hotkey/config/HotKeyConfig.d.ts +1 -0
  1122. package/dist/plugin-hotkey/hotkey/config/HotKeyConfig.d.ts.map +1 -0
  1123. package/dist/plugin-hotkey/hotkey/config/KeyCodeConfig.d.ts +8 -0
  1124. package/dist/plugin-hotkey/hotkey/config/KeyCodeConfig.d.ts.map +1 -0
  1125. package/dist/plugin-hotkey/hotkey/config/NormalConfig.d.ts +1 -0
  1126. package/dist/plugin-hotkey/hotkey/config/NormalConfig.d.ts.map +1 -0
  1127. package/dist/plugin-hotkey/hotkey/config/ReadOnlyConfig.d.ts +3 -0
  1128. package/dist/plugin-hotkey/hotkey/config/ReadOnlyConfig.d.ts.map +1 -0
  1129. package/dist/plugin-hotkey/hotkey/config/TextConfig.d.ts +1 -0
  1130. package/dist/plugin-hotkey/hotkey/config/TextConfig.d.ts.map +1 -0
  1131. package/dist/plugin-hotkey/hotkey/normal/AKey.d.ts +1 -0
  1132. package/dist/plugin-hotkey/hotkey/normal/AKey.d.ts.map +1 -0
  1133. package/dist/plugin-hotkey/hotkey/normal/BackspaceKey.d.ts +1 -0
  1134. package/dist/plugin-hotkey/hotkey/normal/BackspaceKey.d.ts.map +1 -0
  1135. package/dist/plugin-hotkey/hotkey/normal/CKey.d.ts +1 -0
  1136. package/dist/plugin-hotkey/hotkey/normal/CKey.d.ts.map +1 -0
  1137. package/dist/plugin-hotkey/hotkey/normal/CopyKey.d.ts +1 -0
  1138. package/dist/plugin-hotkey/hotkey/normal/CopyKey.d.ts.map +1 -0
  1139. package/dist/plugin-hotkey/hotkey/normal/CropKey.d.ts +1 -0
  1140. package/dist/plugin-hotkey/hotkey/normal/CropKey.d.ts.map +1 -0
  1141. package/dist/plugin-hotkey/hotkey/normal/CutKey.d.ts +9 -0
  1142. package/dist/plugin-hotkey/hotkey/normal/CutKey.d.ts.map +1 -0
  1143. package/dist/plugin-hotkey/hotkey/normal/DKey.d.ts +3 -4
  1144. package/dist/plugin-hotkey/hotkey/normal/DKey.d.ts.map +1 -0
  1145. package/dist/plugin-hotkey/hotkey/normal/DeleteKey.d.ts +2 -1
  1146. package/dist/plugin-hotkey/hotkey/normal/DeleteKey.d.ts.map +1 -0
  1147. package/dist/plugin-hotkey/hotkey/normal/DuplicateKey.d.ts +10 -0
  1148. package/dist/plugin-hotkey/hotkey/normal/DuplicateKey.d.ts.map +1 -0
  1149. package/dist/plugin-hotkey/hotkey/normal/EnterHotKey.d.ts +4 -1
  1150. package/dist/plugin-hotkey/hotkey/normal/EnterHotKey.d.ts.map +1 -0
  1151. package/dist/plugin-hotkey/hotkey/normal/EscKey.d.ts +5 -0
  1152. package/dist/plugin-hotkey/hotkey/normal/EscKey.d.ts.map +1 -0
  1153. package/dist/plugin-hotkey/hotkey/normal/FKey.d.ts +1 -0
  1154. package/dist/plugin-hotkey/hotkey/normal/FKey.d.ts.map +1 -0
  1155. package/dist/plugin-hotkey/hotkey/normal/HKey.d.ts +1 -0
  1156. package/dist/plugin-hotkey/hotkey/normal/HKey.d.ts.map +1 -0
  1157. package/dist/plugin-hotkey/hotkey/normal/LKey.d.ts +1 -0
  1158. package/dist/plugin-hotkey/hotkey/normal/LKey.d.ts.map +1 -0
  1159. package/dist/plugin-hotkey/hotkey/normal/OKey.d.ts +8 -0
  1160. package/dist/plugin-hotkey/hotkey/normal/OKey.d.ts.map +1 -0
  1161. package/dist/plugin-hotkey/hotkey/normal/PasteKey.d.ts +1 -0
  1162. package/dist/plugin-hotkey/hotkey/normal/PasteKey.d.ts.map +1 -0
  1163. package/dist/plugin-hotkey/hotkey/normal/RKey.d.ts +1 -0
  1164. package/dist/plugin-hotkey/hotkey/normal/RKey.d.ts.map +1 -0
  1165. package/dist/plugin-hotkey/hotkey/normal/SKey.d.ts +1 -0
  1166. package/dist/plugin-hotkey/hotkey/normal/SKey.d.ts.map +1 -0
  1167. package/dist/plugin-hotkey/hotkey/normal/SelectAllKey.d.ts +1 -0
  1168. package/dist/plugin-hotkey/hotkey/normal/SelectAllKey.d.ts.map +1 -0
  1169. package/dist/plugin-hotkey/hotkey/normal/ShiftEnterHotKey.d.ts +10 -0
  1170. package/dist/plugin-hotkey/hotkey/normal/ShiftEnterHotKey.d.ts.map +1 -0
  1171. package/dist/plugin-hotkey/hotkey/normal/SpaceKey.d.ts +1 -0
  1172. package/dist/plugin-hotkey/hotkey/normal/SpaceKey.d.ts.map +1 -0
  1173. package/dist/plugin-hotkey/hotkey/normal/TKey.d.ts +1 -0
  1174. package/dist/plugin-hotkey/hotkey/normal/TKey.d.ts.map +1 -0
  1175. package/dist/plugin-hotkey/hotkey/normal/group/GKey.d.ts +1 -0
  1176. package/dist/plugin-hotkey/hotkey/normal/group/GKey.d.ts.map +1 -0
  1177. package/dist/plugin-hotkey/hotkey/normal/group/UnGroupKey.d.ts +1 -0
  1178. package/dist/plugin-hotkey/hotkey/normal/group/UnGroupKey.d.ts.map +1 -0
  1179. package/dist/plugin-hotkey/hotkey/normal/move/ArrowDownKey.d.ts +3 -0
  1180. package/dist/plugin-hotkey/hotkey/normal/move/ArrowDownKey.d.ts.map +1 -0
  1181. package/dist/plugin-hotkey/hotkey/normal/move/ArrowLeftKey.d.ts +3 -0
  1182. package/dist/plugin-hotkey/hotkey/normal/move/ArrowLeftKey.d.ts.map +1 -0
  1183. package/dist/plugin-hotkey/hotkey/normal/move/ArrowMoveWorker.d.ts +12 -8
  1184. package/dist/plugin-hotkey/hotkey/normal/move/ArrowMoveWorker.d.ts.map +1 -0
  1185. package/dist/plugin-hotkey/hotkey/normal/move/ArrowRightKey.d.ts +3 -0
  1186. package/dist/plugin-hotkey/hotkey/normal/move/ArrowRightKey.d.ts.map +1 -0
  1187. package/dist/plugin-hotkey/hotkey/normal/move/ArrowUpKey.d.ts +3 -0
  1188. package/dist/plugin-hotkey/hotkey/normal/move/ArrowUpKey.d.ts.map +1 -0
  1189. package/dist/plugin-hotkey/hotkey/normal/move/DocContainerArrowWorker.d.ts +20 -0
  1190. package/dist/plugin-hotkey/hotkey/normal/move/DocContainerArrowWorker.d.ts.map +1 -0
  1191. package/dist/plugin-hotkey/hotkey/normal/moveLayer/BracketLeft.d.ts +1 -0
  1192. package/dist/plugin-hotkey/hotkey/normal/moveLayer/BracketLeft.d.ts.map +1 -0
  1193. package/dist/plugin-hotkey/hotkey/normal/moveLayer/BracketRight.d.ts +1 -0
  1194. package/dist/plugin-hotkey/hotkey/normal/moveLayer/BracketRight.d.ts.map +1 -0
  1195. package/dist/plugin-hotkey/hotkey/normal/moveLayer/MoveToBack.d.ts +1 -0
  1196. package/dist/plugin-hotkey/hotkey/normal/moveLayer/MoveToBack.d.ts.map +1 -0
  1197. package/dist/plugin-hotkey/hotkey/normal/moveLayer/MoveToTop.d.ts +1 -0
  1198. package/dist/plugin-hotkey/hotkey/normal/moveLayer/MoveToTop.d.ts.map +1 -0
  1199. package/dist/plugin-hotkey/hotkey/normal/zoom/ZoomTo100Key.d.ts +1 -0
  1200. package/dist/plugin-hotkey/hotkey/normal/zoom/ZoomTo100Key.d.ts.map +1 -0
  1201. package/dist/plugin-hotkey/hotkey/normal/zoom/ZoomToFitKey.d.ts +1 -0
  1202. package/dist/plugin-hotkey/hotkey/normal/zoom/ZoomToFitKey.d.ts.map +1 -0
  1203. package/dist/plugin-hotkey/hotkey/normal/zoom/ZoomToSelectKey.d.ts +1 -0
  1204. package/dist/plugin-hotkey/hotkey/normal/zoom/ZoomToSelectKey.d.ts.map +1 -0
  1205. package/dist/plugin-hotkey/hotkey/text/AbsArrowKey.d.ts +34 -0
  1206. package/dist/plugin-hotkey/hotkey/text/AbsArrowKey.d.ts.map +1 -0
  1207. package/dist/plugin-hotkey/hotkey/text/ArrowDownKey.d.ts +2 -0
  1208. package/dist/plugin-hotkey/hotkey/text/ArrowDownKey.d.ts.map +1 -0
  1209. package/dist/plugin-hotkey/hotkey/text/ArrowLeftKey.d.ts +2 -0
  1210. package/dist/plugin-hotkey/hotkey/text/ArrowLeftKey.d.ts.map +1 -0
  1211. package/dist/plugin-hotkey/hotkey/text/ArrowRightKey.d.ts +2 -0
  1212. package/dist/plugin-hotkey/hotkey/text/ArrowRightKey.d.ts.map +1 -0
  1213. package/dist/plugin-hotkey/hotkey/text/ArrowUpKey.d.ts +2 -0
  1214. package/dist/plugin-hotkey/hotkey/text/ArrowUpKey.d.ts.map +1 -0
  1215. package/dist/plugin-hotkey/hotkey/text/EscKey.d.ts +3 -0
  1216. package/dist/plugin-hotkey/hotkey/text/EscKey.d.ts.map +1 -0
  1217. package/dist/plugin-hotkey/hotkey/text/SelectAllKey.d.ts +1 -0
  1218. package/dist/plugin-hotkey/hotkey/text/SelectAllKey.d.ts.map +1 -0
  1219. package/dist/plugin-hotkey/hotkey/text/TabKey.d.ts +1 -0
  1220. package/dist/plugin-hotkey/hotkey/text/TabKey.d.ts.map +1 -0
  1221. package/dist/plugin-hotkey/hotkey/text/deleteKey/DeleteHandler.d.ts +18 -0
  1222. package/dist/plugin-hotkey/hotkey/text/deleteKey/DeleteHandler.d.ts.map +1 -0
  1223. package/dist/plugin-hotkey/hotkey/text/deleteKey/DocContainerDeleteHandler.d.ts +33 -0
  1224. package/dist/plugin-hotkey/hotkey/text/deleteKey/DocContainerDeleteHandler.d.ts.map +1 -0
  1225. package/dist/plugin-hotkey/hotkey/text/deleteKey/NormalDeleteHandler.d.ts +15 -0
  1226. package/dist/plugin-hotkey/hotkey/text/deleteKey/NormalDeleteHandler.d.ts.map +1 -0
  1227. package/dist/plugin-hotkey/hotkey/text/deleteKey/TextDeleteKey.d.ts +14 -0
  1228. package/dist/plugin-hotkey/hotkey/text/deleteKey/TextDeleteKey.d.ts.map +1 -0
  1229. package/dist/plugin-hotkey/hotkey/text/deleteKey/index.d.ts +5 -0
  1230. package/dist/plugin-hotkey/hotkey/text/deleteKey/index.d.ts.map +1 -0
  1231. package/dist/plugin-hotkey/hotkey/text/enterKey/DocContainerEnterHandler.d.ts +17 -0
  1232. package/dist/plugin-hotkey/hotkey/text/enterKey/DocContainerEnterHandler.d.ts.map +1 -0
  1233. package/dist/plugin-hotkey/hotkey/text/enterKey/DocContainerEnterStep.d.ts +49 -0
  1234. package/dist/plugin-hotkey/hotkey/text/enterKey/DocContainerEnterStep.d.ts.map +1 -0
  1235. package/dist/plugin-hotkey/hotkey/text/enterKey/DocContainerTextSplitter.d.ts +20 -0
  1236. package/dist/plugin-hotkey/hotkey/text/enterKey/DocContainerTextSplitter.d.ts.map +1 -0
  1237. package/dist/plugin-hotkey/hotkey/text/enterKey/EnterHandler.d.ts +16 -0
  1238. package/dist/plugin-hotkey/hotkey/text/enterKey/EnterHandler.d.ts.map +1 -0
  1239. package/dist/plugin-hotkey/hotkey/text/enterKey/EnterHotKey.d.ts +14 -0
  1240. package/dist/plugin-hotkey/hotkey/text/enterKey/EnterHotKey.d.ts.map +1 -0
  1241. package/dist/plugin-hotkey/hotkey/text/enterKey/ListLevelDecreaseHelper.d.ts +36 -0
  1242. package/dist/plugin-hotkey/hotkey/text/enterKey/ListLevelDecreaseHelper.d.ts.map +1 -0
  1243. package/dist/plugin-hotkey/hotkey/text/enterKey/NormalEnterHandler.d.ts +17 -0
  1244. package/dist/plugin-hotkey/hotkey/text/enterKey/NormalEnterHandler.d.ts.map +1 -0
  1245. package/dist/plugin-hotkey/hotkey/text/enterKey/index.d.ts +8 -0
  1246. package/dist/plugin-hotkey/hotkey/text/enterKey/index.d.ts.map +1 -0
  1247. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/AdjustSiblingsStep.d.ts +10 -0
  1248. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/AdjustSiblingsStep.d.ts.map +1 -0
  1249. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/CreateNewNodeStep.d.ts +16 -0
  1250. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/CreateNewNodeStep.d.ts.map +1 -0
  1251. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/ExpandContainerStep.d.ts +9 -0
  1252. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/ExpandContainerStep.d.ts.map +1 -0
  1253. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/FocusNewNodeStep.d.ts +8 -0
  1254. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/FocusNewNodeStep.d.ts.map +1 -0
  1255. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/UpdateChildrenStep.d.ts +8 -0
  1256. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/UpdateChildrenStep.d.ts.map +1 -0
  1257. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/UpdateCurrentNodeStep.d.ts +9 -0
  1258. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/UpdateCurrentNodeStep.d.ts.map +1 -0
  1259. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/index.d.ts +7 -0
  1260. package/dist/plugin-hotkey/hotkey/text/enterKey/steps/index.d.ts.map +1 -0
  1261. package/dist/plugin-hotkey/index.d.ts +5 -2
  1262. package/dist/plugin-hotkey/index.d.ts.map +1 -0
  1263. package/dist/plugin-input/InputEventPlugin.d.ts +1 -0
  1264. package/dist/plugin-input/InputEventPlugin.d.ts.map +1 -0
  1265. package/dist/plugin-input/common/ICompositionRecord.d.ts +1 -0
  1266. package/dist/plugin-input/common/ICompositionRecord.d.ts.map +1 -0
  1267. package/dist/plugin-input/handler/AbsInputHandler.d.ts +6 -0
  1268. package/dist/plugin-input/handler/AbsInputHandler.d.ts.map +1 -0
  1269. package/dist/plugin-input/handler/InputCompositionEndHandler.d.ts +1 -0
  1270. package/dist/plugin-input/handler/InputCompositionEndHandler.d.ts.map +1 -0
  1271. package/dist/plugin-input/handler/InputCompositionHandler.d.ts +1 -0
  1272. package/dist/plugin-input/handler/InputCompositionHandler.d.ts.map +1 -0
  1273. package/dist/plugin-input/handler/InputNormalHandler.d.ts +1 -0
  1274. package/dist/plugin-input/handler/InputNormalHandler.d.ts.map +1 -0
  1275. package/dist/plugin-input/index.d.ts +1 -0
  1276. package/dist/plugin-input/index.d.ts.map +1 -0
  1277. package/dist/plugin-network/EmptyNetworkPlugin.d.ts +1 -0
  1278. package/dist/plugin-network/EmptyNetworkPlugin.d.ts.map +1 -0
  1279. package/dist/plugin-network/index.d.ts +1 -0
  1280. package/dist/plugin-network/index.d.ts.map +1 -0
  1281. package/dist/plugin-pointer/PointerEventPlugin.d.ts +9 -0
  1282. package/dist/plugin-pointer/PointerEventPlugin.d.ts.map +1 -0
  1283. package/dist/plugin-pointer/index.d.ts +4 -0
  1284. package/dist/plugin-pointer/index.d.ts.map +1 -0
  1285. package/dist/plugin-pointer/interact/InteractiveManager.d.ts +1 -0
  1286. package/dist/plugin-pointer/interact/InteractiveManager.d.ts.map +1 -0
  1287. package/dist/plugin-pointer/interact/InteractiveUtils.d.ts +1 -0
  1288. package/dist/plugin-pointer/interact/InteractiveUtils.d.ts.map +1 -0
  1289. package/dist/plugin-pointer/interact/align/AlignConst.d.ts +1 -0
  1290. package/dist/plugin-pointer/interact/align/AlignConst.d.ts.map +1 -0
  1291. package/dist/plugin-pointer/interact/align/AlignResult.d.ts +1 -0
  1292. package/dist/plugin-pointer/interact/align/AlignResult.d.ts.map +1 -0
  1293. package/dist/plugin-pointer/interact/align/AlignWorker.d.ts +1 -0
  1294. package/dist/plugin-pointer/interact/align/AlignWorker.d.ts.map +1 -0
  1295. package/dist/plugin-pointer/interact/align/common/AbsAlignCommonHandler.d.ts +1 -0
  1296. package/dist/plugin-pointer/interact/align/common/AbsAlignCommonHandler.d.ts.map +1 -0
  1297. package/dist/plugin-pointer/interact/align/common/AlignHorizonHandler.d.ts +1 -0
  1298. package/dist/plugin-pointer/interact/align/common/AlignHorizonHandler.d.ts.map +1 -0
  1299. package/dist/plugin-pointer/interact/align/common/AlignVerticalHandler.d.ts +1 -0
  1300. package/dist/plugin-pointer/interact/align/common/AlignVerticalHandler.d.ts.map +1 -0
  1301. package/dist/plugin-pointer/interact/align/lineEnd/AlignLineEndWorker.d.ts +1 -0
  1302. package/dist/plugin-pointer/interact/align/lineEnd/AlignLineEndWorker.d.ts.map +1 -0
  1303. package/dist/plugin-pointer/interact/align/move/AlignMoveWorker.d.ts +1 -0
  1304. package/dist/plugin-pointer/interact/align/move/AlignMoveWorker.d.ts.map +1 -0
  1305. package/dist/plugin-pointer/interact/align/move/handler/AbsAlignHandler.d.ts +1 -0
  1306. package/dist/plugin-pointer/interact/align/move/handler/AbsAlignHandler.d.ts.map +1 -0
  1307. package/dist/plugin-pointer/interact/align/move/handler/AlignBottomHandler.d.ts +1 -0
  1308. package/dist/plugin-pointer/interact/align/move/handler/AlignBottomHandler.d.ts.map +1 -0
  1309. package/dist/plugin-pointer/interact/align/move/handler/AlignHorizonMidHandler.d.ts +1 -0
  1310. package/dist/plugin-pointer/interact/align/move/handler/AlignHorizonMidHandler.d.ts.map +1 -0
  1311. package/dist/plugin-pointer/interact/align/move/handler/AlignLeftHandler.d.ts +1 -0
  1312. package/dist/plugin-pointer/interact/align/move/handler/AlignLeftHandler.d.ts.map +1 -0
  1313. package/dist/plugin-pointer/interact/align/move/handler/AlignRightHandler.d.ts +1 -0
  1314. package/dist/plugin-pointer/interact/align/move/handler/AlignRightHandler.d.ts.map +1 -0
  1315. package/dist/plugin-pointer/interact/align/move/handler/AlignTopHandler.d.ts +1 -0
  1316. package/dist/plugin-pointer/interact/align/move/handler/AlignTopHandler.d.ts.map +1 -0
  1317. package/dist/plugin-pointer/interact/align/move/handler/AlignVerticalMidHandler.d.ts +1 -0
  1318. package/dist/plugin-pointer/interact/align/move/handler/AlignVerticalMidHandler.d.ts.map +1 -0
  1319. package/dist/plugin-pointer/interact/align/stretch/AlignStretchWorker.d.ts +1 -0
  1320. package/dist/plugin-pointer/interact/align/stretch/AlignStretchWorker.d.ts.map +1 -0
  1321. package/dist/plugin-pointer/interact/align/stretch/handler/AbsAlignSideHandler.d.ts +1 -0
  1322. package/dist/plugin-pointer/interact/align/stretch/handler/AbsAlignSideHandler.d.ts.map +1 -0
  1323. package/dist/plugin-pointer/interact/align/stretch/handler/AlignHeightSideHandler.d.ts +1 -0
  1324. package/dist/plugin-pointer/interact/align/stretch/handler/AlignHeightSideHandler.d.ts.map +1 -0
  1325. package/dist/plugin-pointer/interact/align/stretch/handler/AlignWidthSideHandler.d.ts +1 -0
  1326. package/dist/plugin-pointer/interact/align/stretch/handler/AlignWidthSideHandler.d.ts.map +1 -0
  1327. package/dist/plugin-pointer/interact/basic/ClickHandler.d.ts +1 -0
  1328. package/dist/plugin-pointer/interact/basic/ClickHandler.d.ts.map +1 -0
  1329. package/dist/plugin-pointer/interact/basic/ClickMode.d.ts +1 -0
  1330. package/dist/plugin-pointer/interact/basic/ClickMode.d.ts.map +1 -0
  1331. package/dist/plugin-pointer/interact/basic/ClickProcessor.d.ts +1 -0
  1332. package/dist/plugin-pointer/interact/basic/ClickProcessor.d.ts.map +1 -0
  1333. package/dist/plugin-pointer/interact/basic/ClickTimer.d.ts +16 -0
  1334. package/dist/plugin-pointer/interact/basic/ClickTimer.d.ts.map +1 -0
  1335. package/dist/plugin-pointer/interact/basic/DbClickMode.d.ts +2 -1
  1336. package/dist/plugin-pointer/interact/basic/DbClickMode.d.ts.map +1 -0
  1337. package/dist/plugin-pointer/interact/basic/DownAndMoveStreamMode.d.ts +1 -0
  1338. package/dist/plugin-pointer/interact/basic/DownAndMoveStreamMode.d.ts.map +1 -0
  1339. package/dist/plugin-pointer/interact/basic/IProcessor.d.ts +1 -0
  1340. package/dist/plugin-pointer/interact/basic/IProcessor.d.ts.map +1 -0
  1341. package/dist/plugin-pointer/interact/basic/MainMode.d.ts +1 -0
  1342. package/dist/plugin-pointer/interact/basic/MainMode.d.ts.map +1 -0
  1343. package/dist/plugin-pointer/interact/basic/StreamMode.d.ts +1 -0
  1344. package/dist/plugin-pointer/interact/basic/StreamMode.d.ts.map +1 -0
  1345. package/dist/plugin-pointer/interact/basic/StreamProcessor.d.ts +1 -0
  1346. package/dist/plugin-pointer/interact/basic/StreamProcessor.d.ts.map +1 -0
  1347. package/dist/plugin-pointer/interact/basic/SubMode.d.ts +2 -0
  1348. package/dist/plugin-pointer/interact/basic/SubMode.d.ts.map +1 -0
  1349. package/dist/plugin-pointer/interact/basic/TripleClickMode.d.ts +14 -0
  1350. package/dist/plugin-pointer/interact/basic/TripleClickMode.d.ts.map +1 -0
  1351. package/dist/plugin-pointer/interact/basic/constants.d.ts +1 -0
  1352. package/dist/plugin-pointer/interact/basic/constants.d.ts.map +1 -0
  1353. package/dist/plugin-pointer/interact/basic/cursor/AbsCursorProcessor.d.ts +1 -0
  1354. package/dist/plugin-pointer/interact/basic/cursor/AbsCursorProcessor.d.ts.map +1 -0
  1355. package/dist/plugin-pointer/interact/basic/cursor/handler/AbsCursorHandler.d.ts +1 -0
  1356. package/dist/plugin-pointer/interact/basic/cursor/handler/AbsCursorHandler.d.ts.map +1 -0
  1357. package/dist/plugin-pointer/interact/basic/cursor/handler/ToolCursorHandler.d.ts +1 -0
  1358. package/dist/plugin-pointer/interact/basic/cursor/handler/ToolCursorHandler.d.ts.map +1 -0
  1359. package/dist/plugin-pointer/interact/config/AbsInteractConfig.d.ts +1 -0
  1360. package/dist/plugin-pointer/interact/config/AbsInteractConfig.d.ts.map +1 -0
  1361. package/dist/plugin-pointer/interact/config/InteractConfig.d.ts +1 -0
  1362. package/dist/plugin-pointer/interact/config/InteractConfig.d.ts.map +1 -0
  1363. package/dist/plugin-pointer/interact/crop/CropCursorProcessor.d.ts +1 -0
  1364. package/dist/plugin-pointer/interact/crop/CropCursorProcessor.d.ts.map +1 -0
  1365. package/dist/plugin-pointer/interact/crop/CropMode.d.ts +1 -0
  1366. package/dist/plugin-pointer/interact/crop/CropMode.d.ts.map +1 -0
  1367. package/dist/plugin-pointer/interact/crop/CropNormalMode.d.ts +1 -0
  1368. package/dist/plugin-pointer/interact/crop/CropNormalMode.d.ts.map +1 -0
  1369. package/dist/plugin-pointer/interact/crop/cropClick/CancelCropHandler.d.ts +1 -0
  1370. package/dist/plugin-pointer/interact/crop/cropClick/CancelCropHandler.d.ts.map +1 -0
  1371. package/dist/plugin-pointer/interact/crop/cropClick/CropClickMode.d.ts +1 -0
  1372. package/dist/plugin-pointer/interact/crop/cropClick/CropClickMode.d.ts.map +1 -0
  1373. package/dist/plugin-pointer/interact/crop/cropClick/CropClickProcessor.d.ts +1 -0
  1374. package/dist/plugin-pointer/interact/crop/cropClick/CropClickProcessor.d.ts.map +1 -0
  1375. package/dist/plugin-pointer/interact/crop/cropStretch/CropStretchProcessorV2.d.ts +5 -0
  1376. package/dist/plugin-pointer/interact/crop/cropStretch/CropStretchProcessorV2.d.ts.map +1 -0
  1377. package/dist/plugin-pointer/interact/crop/cropStretch/CropStretchStreamMode.d.ts +2 -0
  1378. package/dist/plugin-pointer/interact/crop/cropStretch/CropStretchStreamMode.d.ts.map +1 -0
  1379. package/dist/plugin-pointer/interact/crop/dragCrop/DragCropMode.d.ts +1 -0
  1380. package/dist/plugin-pointer/interact/crop/dragCrop/DragCropMode.d.ts.map +1 -0
  1381. package/dist/plugin-pointer/interact/crop/dragCrop/DragCropProcessor.d.ts +5 -0
  1382. package/dist/plugin-pointer/interact/crop/dragCrop/DragCropProcessor.d.ts.map +1 -0
  1383. package/dist/plugin-pointer/interact/crop/originImgStretch/OriginImgProcessor.d.ts +2 -0
  1384. package/dist/plugin-pointer/interact/crop/originImgStretch/OriginImgProcessor.d.ts.map +1 -0
  1385. package/dist/plugin-pointer/interact/crop/originImgStretch/OriginImgStretchHandler.d.ts +1 -0
  1386. package/dist/plugin-pointer/interact/crop/originImgStretch/OriginImgStretchHandler.d.ts.map +1 -0
  1387. package/dist/plugin-pointer/interact/crop/originImgStretch/OriginImgStretchMode.d.ts +1 -0
  1388. package/dist/plugin-pointer/interact/crop/originImgStretch/OriginImgStretchMode.d.ts.map +1 -0
  1389. package/dist/plugin-pointer/interact/crop/processor/OriginImgStretchCursorHandler.d.ts +1 -0
  1390. package/dist/plugin-pointer/interact/crop/processor/OriginImgStretchCursorHandler.d.ts.map +1 -0
  1391. package/dist/plugin-pointer/interact/default/DefaultMode.d.ts +1 -0
  1392. package/dist/plugin-pointer/interact/default/DefaultMode.d.ts.map +1 -0
  1393. package/dist/plugin-pointer/interact/default/brokenEndPoint/BrokenEndPointMode.d.ts +8 -0
  1394. package/dist/plugin-pointer/interact/default/brokenEndPoint/BrokenEndPointMode.d.ts.map +1 -0
  1395. package/dist/plugin-pointer/interact/default/brokenEndPoint/BrokenEndProcessor.d.ts +19 -0
  1396. package/dist/plugin-pointer/interact/default/brokenEndPoint/BrokenEndProcessor.d.ts.map +1 -0
  1397. package/dist/plugin-pointer/interact/default/brokenlineControlPoint/BrokenLineControlPointMode.d.ts +8 -0
  1398. package/dist/plugin-pointer/interact/default/brokenlineControlPoint/BrokenLineControlPointMode.d.ts.map +1 -0
  1399. package/dist/plugin-pointer/interact/default/brokenlineControlPoint/BrokenLineControlPointProcessor.d.ts +17 -0
  1400. package/dist/plugin-pointer/interact/default/brokenlineControlPoint/BrokenLineControlPointProcessor.d.ts.map +1 -0
  1401. package/dist/plugin-pointer/interact/default/click/AnchorClickMode.d.ts +1 -0
  1402. package/dist/plugin-pointer/interact/default/click/AnchorClickMode.d.ts.map +1 -0
  1403. package/dist/plugin-pointer/interact/default/click/AnchorClickProcessor.d.ts +1 -0
  1404. package/dist/plugin-pointer/interact/default/click/AnchorClickProcessor.d.ts.map +1 -0
  1405. package/dist/plugin-pointer/interact/default/click/DefaultClickMode.d.ts +1 -0
  1406. package/dist/plugin-pointer/interact/default/click/DefaultClickMode.d.ts.map +1 -0
  1407. package/dist/plugin-pointer/interact/default/click/DefaultClickProcessor.d.ts +1 -0
  1408. package/dist/plugin-pointer/interact/default/click/DefaultClickProcessor.d.ts.map +1 -0
  1409. package/dist/plugin-pointer/interact/default/click/handler/AbsFocusNodeHandler.d.ts +3 -2
  1410. package/dist/plugin-pointer/interact/default/click/handler/AbsFocusNodeHandler.d.ts.map +1 -0
  1411. package/dist/plugin-pointer/interact/default/click/handler/AbsNodeClickHandler.d.ts +8 -0
  1412. package/dist/plugin-pointer/interact/default/click/handler/AbsNodeClickHandler.d.ts.map +1 -0
  1413. package/dist/plugin-pointer/interact/default/click/handler/AnchorQuickCreateHandler.d.ts +8 -6
  1414. package/dist/plugin-pointer/interact/default/click/handler/AnchorQuickCreateHandler.d.ts.map +1 -0
  1415. package/dist/plugin-pointer/interact/default/click/handler/ClearFocusNodeHandler.d.ts +3 -0
  1416. package/dist/plugin-pointer/interact/default/click/handler/ClearFocusNodeHandler.d.ts.map +1 -0
  1417. package/dist/plugin-pointer/interact/default/click/handler/ClickCreateTextHandler.d.ts +1 -0
  1418. package/dist/plugin-pointer/interact/default/click/handler/ClickCreateTextHandler.d.ts.map +1 -0
  1419. package/dist/plugin-pointer/interact/default/click/handler/ClickDocContainerTextHandler.d.ts +20 -0
  1420. package/dist/plugin-pointer/interact/default/click/handler/ClickDocContainerTextHandler.d.ts.map +1 -0
  1421. package/dist/plugin-pointer/interact/default/click/handler/ClickExpandShapeHandler.d.ts +3 -0
  1422. package/dist/plugin-pointer/interact/default/click/handler/ClickExpandShapeHandler.d.ts.map +1 -0
  1423. package/dist/plugin-pointer/interact/default/click/handler/ClickImageHandler.d.ts +1 -0
  1424. package/dist/plugin-pointer/interact/default/click/handler/ClickImageHandler.d.ts.map +1 -0
  1425. package/dist/plugin-pointer/interact/default/click/handler/ClickInsertEmptySlideHandler.d.ts +1 -0
  1426. package/dist/plugin-pointer/interact/default/click/handler/ClickInsertEmptySlideHandler.d.ts.map +1 -0
  1427. package/dist/plugin-pointer/interact/default/click/handler/ClickInsertSlideHandler.d.ts +1 -0
  1428. package/dist/plugin-pointer/interact/default/click/handler/ClickInsertSlideHandler.d.ts.map +1 -0
  1429. package/dist/plugin-pointer/interact/default/click/handler/ClickMindmapAnchorHandler.d.ts +19 -0
  1430. package/dist/plugin-pointer/interact/default/click/handler/ClickMindmapAnchorHandler.d.ts.map +1 -0
  1431. package/dist/plugin-pointer/interact/default/click/handler/ClickTextHandler.d.ts +3 -5
  1432. package/dist/plugin-pointer/interact/default/click/handler/ClickTextHandler.d.ts.map +1 -0
  1433. package/dist/plugin-pointer/interact/default/click/handler/ClickTextPrefixHandler.d.ts +15 -0
  1434. package/dist/plugin-pointer/interact/default/click/handler/ClickTextPrefixHandler.d.ts.map +1 -0
  1435. package/dist/plugin-pointer/interact/default/click/handler/CmdDownNodeHandler.d.ts +10 -0
  1436. package/dist/plugin-pointer/interact/default/click/handler/CmdDownNodeHandler.d.ts.map +1 -0
  1437. package/dist/plugin-pointer/interact/default/click/handler/CmdUpClickHandler.d.ts +9 -0
  1438. package/dist/plugin-pointer/interact/default/click/handler/CmdUpClickHandler.d.ts.map +1 -0
  1439. package/dist/plugin-pointer/interact/default/click/handler/FocusNodeHandler.d.ts +4 -0
  1440. package/dist/plugin-pointer/interact/default/click/handler/FocusNodeHandler.d.ts.map +1 -0
  1441. package/dist/plugin-pointer/interact/default/click/handler/ShiftClickTextHandler.d.ts +18 -0
  1442. package/dist/plugin-pointer/interact/default/click/handler/ShiftClickTextHandler.d.ts.map +1 -0
  1443. package/dist/plugin-pointer/interact/default/click/handler/ShiftDownNodeHandler.d.ts +3 -2
  1444. package/dist/plugin-pointer/interact/default/click/handler/ShiftDownNodeHandler.d.ts.map +1 -0
  1445. package/dist/plugin-pointer/interact/default/click/handler/ShiftUpClickHandler.d.ts +1 -0
  1446. package/dist/plugin-pointer/interact/default/click/handler/ShiftUpClickHandler.d.ts.map +1 -0
  1447. package/dist/plugin-pointer/interact/default/click/handler/UpFocusEditLineHandler.d.ts +10 -0
  1448. package/dist/plugin-pointer/interact/default/click/handler/UpFocusEditLineHandler.d.ts.map +1 -0
  1449. package/dist/plugin-pointer/interact/default/click/handler/UpFocusNodeHandler.d.ts +4 -0
  1450. package/dist/plugin-pointer/interact/default/click/handler/UpFocusNodeHandler.d.ts.map +1 -0
  1451. package/dist/plugin-pointer/interact/default/click/handler/broken-point/ClickBrokenPointHandler.d.ts +8 -0
  1452. package/dist/plugin-pointer/interact/default/click/handler/broken-point/ClickBrokenPointHandler.d.ts.map +1 -0
  1453. package/dist/plugin-pointer/interact/default/click/handler/curve-point/ClickCurvePointHandler.d.ts +8 -0
  1454. package/dist/plugin-pointer/interact/default/click/handler/curve-point/ClickCurvePointHandler.d.ts.map +1 -0
  1455. package/dist/plugin-pointer/interact/default/click/handler/editable/EditablePointHandler.d.ts +8 -0
  1456. package/dist/plugin-pointer/interact/default/click/handler/editable/EditablePointHandler.d.ts.map +1 -0
  1457. package/dist/plugin-pointer/interact/default/click/handler/widget/CheckboxHandler.d.ts +2 -1
  1458. package/dist/plugin-pointer/interact/default/click/handler/widget/CheckboxHandler.d.ts.map +1 -0
  1459. package/dist/plugin-pointer/interact/default/connectAnchor/ConnectAnchorMode.d.ts +1 -0
  1460. package/dist/plugin-pointer/interact/default/connectAnchor/ConnectAnchorMode.d.ts.map +1 -0
  1461. package/dist/plugin-pointer/interact/default/connectAnchor/ConnectAnchorProcessor.d.ts +5 -2
  1462. package/dist/plugin-pointer/interact/default/connectAnchor/ConnectAnchorProcessor.d.ts.map +1 -0
  1463. package/dist/plugin-pointer/interact/default/create/CreateColorConfig.d.ts +1 -0
  1464. package/dist/plugin-pointer/interact/default/create/CreateColorConfig.d.ts.map +1 -0
  1465. package/dist/plugin-pointer/interact/default/create/CreateCursorProcessor.d.ts +1 -0
  1466. package/dist/plugin-pointer/interact/default/create/CreateCursorProcessor.d.ts.map +1 -0
  1467. package/dist/plugin-pointer/interact/default/create/CreateLineMainMode.d.ts +1 -0
  1468. package/dist/plugin-pointer/interact/default/create/CreateLineMainMode.d.ts.map +1 -0
  1469. package/dist/plugin-pointer/interact/default/create/CreateMainMode.d.ts +1 -0
  1470. package/dist/plugin-pointer/interact/default/create/CreateMainMode.d.ts.map +1 -0
  1471. package/dist/plugin-pointer/interact/default/create/CreateRectMode.d.ts +2 -1
  1472. package/dist/plugin-pointer/interact/default/create/CreateRectMode.d.ts.map +1 -0
  1473. package/dist/plugin-pointer/interact/default/create/CreateTextMode.d.ts +2 -1
  1474. package/dist/plugin-pointer/interact/default/create/CreateTextMode.d.ts.map +1 -0
  1475. package/dist/plugin-pointer/interact/default/create/RectCreateDragProcessor.d.ts +1 -0
  1476. package/dist/plugin-pointer/interact/default/create/RectCreateDragProcessor.d.ts.map +1 -0
  1477. package/dist/plugin-pointer/interact/default/create/TextCreateDragProcessor.d.ts +3 -1
  1478. package/dist/plugin-pointer/interact/default/create/TextCreateDragProcessor.d.ts.map +1 -0
  1479. package/dist/plugin-pointer/interact/default/create/base/AbsCreateDragProcessor.d.ts +3 -2
  1480. package/dist/plugin-pointer/interact/default/create/base/AbsCreateDragProcessor.d.ts.map +1 -0
  1481. package/dist/plugin-pointer/interact/default/create/click/create/CreateClickMode.d.ts +1 -0
  1482. package/dist/plugin-pointer/interact/default/create/click/create/CreateClickMode.d.ts.map +1 -0
  1483. package/dist/plugin-pointer/interact/default/create/click/create/CreateClickProcessor.d.ts +1 -0
  1484. package/dist/plugin-pointer/interact/default/create/click/create/CreateClickProcessor.d.ts.map +1 -0
  1485. package/dist/plugin-pointer/interact/default/create/click/create/TextToolClickTextHandler.d.ts +1 -0
  1486. package/dist/plugin-pointer/interact/default/create/click/create/TextToolClickTextHandler.d.ts.map +1 -0
  1487. package/dist/plugin-pointer/interact/default/create/click/createLine/CreateLineClickMode.d.ts +1 -0
  1488. package/dist/plugin-pointer/interact/default/create/click/createLine/CreateLineClickMode.d.ts.map +1 -0
  1489. package/dist/plugin-pointer/interact/default/create/click/createLine/CreateLineClickProcessor.d.ts +1 -0
  1490. package/dist/plugin-pointer/interact/default/create/click/createLine/CreateLineClickProcessor.d.ts.map +1 -0
  1491. package/dist/plugin-pointer/interact/default/create/click/createLine/CreateLineDbClickMode.d.ts +5 -0
  1492. package/dist/plugin-pointer/interact/default/create/click/createLine/CreateLineDbClickMode.d.ts.map +1 -0
  1493. package/dist/plugin-pointer/interact/default/create/click/createLine/CreateLineDbClickProcessor.d.ts +5 -0
  1494. package/dist/plugin-pointer/interact/default/create/click/createLine/CreateLineDbClickProcessor.d.ts.map +1 -0
  1495. package/dist/plugin-pointer/interact/default/create/click/handler/ClickCreateEndLineHandler.d.ts +103 -0
  1496. package/dist/plugin-pointer/interact/default/create/click/handler/ClickCreateEndLineHandler.d.ts.map +1 -0
  1497. package/dist/plugin-pointer/interact/default/create/click/handler/ClickInsertBrokenPointLineHandler.d.ts +76 -0
  1498. package/dist/plugin-pointer/interact/default/create/click/handler/ClickInsertBrokenPointLineHandler.d.ts.map +1 -0
  1499. package/dist/plugin-pointer/interact/default/create/click/handler/DbFinishBrokenLineHandler.d.ts +98 -0
  1500. package/dist/plugin-pointer/interact/default/create/click/handler/DbFinishBrokenLineHandler.d.ts.map +1 -0
  1501. package/dist/plugin-pointer/interact/default/create/click/handler/UpClickCreateLineHandler.d.ts +100 -1
  1502. package/dist/plugin-pointer/interact/default/create/click/handler/UpClickCreateLineHandler.d.ts.map +1 -0
  1503. package/dist/plugin-pointer/interact/default/create/line/CreateLineMode.d.ts +2 -1
  1504. package/dist/plugin-pointer/interact/default/create/line/CreateLineMode.d.ts.map +1 -0
  1505. package/dist/plugin-pointer/interact/default/create/line/LineCreateDragProcessor.d.ts +1 -0
  1506. package/dist/plugin-pointer/interact/default/create/line/LineCreateDragProcessor.d.ts.map +1 -0
  1507. package/dist/plugin-pointer/interact/default/create/line/handler/AbsLineCreateHandler.d.ts +167 -0
  1508. package/dist/plugin-pointer/interact/default/create/line/handler/AbsLineCreateHandler.d.ts.map +1 -0
  1509. package/dist/plugin-pointer/interact/default/create/line/handler/BrokenLineCreateHandler.d.ts +7 -0
  1510. package/dist/plugin-pointer/interact/default/create/line/handler/BrokenLineCreateHandler.d.ts.map +1 -0
  1511. package/dist/plugin-pointer/interact/default/create/line/handler/CurveCreateHandler.d.ts +1 -0
  1512. package/dist/plugin-pointer/interact/default/create/line/handler/CurveCreateHandler.d.ts.map +1 -0
  1513. package/dist/plugin-pointer/interact/default/create/line/handler/LineCreateHandler.d.ts +1 -0
  1514. package/dist/plugin-pointer/interact/default/create/line/handler/LineCreateHandler.d.ts.map +1 -0
  1515. package/dist/plugin-pointer/interact/default/create/line/handler/PolyLineCreateHandler.d.ts +1 -0
  1516. package/dist/plugin-pointer/interact/default/create/line/handler/PolyLineCreateHandler.d.ts.map +1 -0
  1517. package/dist/plugin-pointer/interact/default/create/normal/CreateNormalMode.d.ts +1 -0
  1518. package/dist/plugin-pointer/interact/default/create/normal/CreateNormalMode.d.ts.map +1 -0
  1519. package/dist/plugin-pointer/interact/default/create/normal/grab/CreateUpProcessor.d.ts +1 -0
  1520. package/dist/plugin-pointer/interact/default/create/normal/grab/CreateUpProcessor.d.ts.map +1 -0
  1521. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/AbsCreateUpHandler.d.ts +8 -3
  1522. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/AbsCreateUpHandler.d.ts.map +1 -0
  1523. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpChartSectionHandler.d.ts +13 -0
  1524. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpChartSectionHandler.d.ts.map +1 -0
  1525. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpCheckboxHandler.d.ts +1 -0
  1526. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpCheckboxHandler.d.ts.map +1 -0
  1527. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpCheckboxTextHandler.d.ts +1 -0
  1528. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpCheckboxTextHandler.d.ts.map +1 -0
  1529. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpDocHandler.d.ts +16 -0
  1530. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpDocHandler.d.ts.map +1 -0
  1531. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpEditableHandler.d.ts +12 -0
  1532. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpEditableHandler.d.ts.map +1 -0
  1533. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpLineHandler.d.ts +1 -0
  1534. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpLineHandler.d.ts.map +1 -0
  1535. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpMathFormulaHandler.d.ts +12 -0
  1536. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpMathFormulaHandler.d.ts.map +1 -0
  1537. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpMermaidSectionHandler.d.ts +12 -0
  1538. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpMermaidSectionHandler.d.ts.map +1 -0
  1539. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpMindmapHandler.d.ts +20 -0
  1540. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpMindmapHandler.d.ts.map +1 -0
  1541. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpPieHandler.d.ts +12 -0
  1542. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpPieHandler.d.ts.map +1 -0
  1543. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpResourceHandler.d.ts +2 -0
  1544. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpResourceHandler.d.ts.map +1 -0
  1545. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpSectionHandler.d.ts +1 -0
  1546. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpSectionHandler.d.ts.map +1 -0
  1547. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpShapeHandler.d.ts +1 -0
  1548. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpShapeHandler.d.ts.map +1 -0
  1549. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpSlideHandler.d.ts +1 -0
  1550. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpSlideHandler.d.ts.map +1 -0
  1551. package/dist/plugin-pointer/interact/default/create/normal/hover/CreateHoverContainerProcessor.d.ts +8 -0
  1552. package/dist/plugin-pointer/interact/default/create/normal/hover/CreateHoverContainerProcessor.d.ts.map +1 -0
  1553. package/dist/plugin-pointer/interact/default/create/normal/hover/CreateHoverNodeProcessor.d.ts +1 -0
  1554. package/dist/plugin-pointer/interact/default/create/normal/hover/CreateHoverNodeProcessor.d.ts.map +1 -0
  1555. package/dist/plugin-pointer/interact/default/create/normal/hover/CreateHoverProcessor.d.ts +1 -0
  1556. package/dist/plugin-pointer/interact/default/create/normal/hover/CreateHoverProcessor.d.ts.map +1 -0
  1557. package/dist/plugin-pointer/interact/default/create/normal/hover/CreateLineMoveProcessor.d.ts +1 -0
  1558. package/dist/plugin-pointer/interact/default/create/normal/hover/CreateLineMoveProcessor.d.ts.map +1 -0
  1559. package/dist/plugin-pointer/interact/default/create/normal/hover/HoverNodeAnchorProcessor.d.ts +1 -0
  1560. package/dist/plugin-pointer/interact/default/create/normal/hover/HoverNodeAnchorProcessor.d.ts.map +1 -0
  1561. package/dist/plugin-pointer/interact/default/create/normal/preview/NormalPreviewProcessor.d.ts +1 -0
  1562. package/dist/plugin-pointer/interact/default/create/normal/preview/NormalPreviewProcessor.d.ts.map +1 -0
  1563. package/dist/plugin-pointer/interact/default/create/paint/CreatePaintMode.d.ts +8 -0
  1564. package/dist/plugin-pointer/interact/default/create/paint/CreatePaintMode.d.ts.map +1 -0
  1565. package/dist/plugin-pointer/interact/default/create/paint/CreatePaintProcessor.d.ts +17 -0
  1566. package/dist/plugin-pointer/interact/default/create/paint/CreatePaintProcessor.d.ts.map +1 -0
  1567. package/dist/plugin-pointer/interact/default/create/section/CreateSectionMode.d.ts +2 -1
  1568. package/dist/plugin-pointer/interact/default/create/section/CreateSectionMode.d.ts.map +1 -0
  1569. package/dist/plugin-pointer/interact/default/create/section/SectionCreateDragProcessor.d.ts +1 -0
  1570. package/dist/plugin-pointer/interact/default/create/section/SectionCreateDragProcessor.d.ts.map +1 -0
  1571. package/dist/plugin-pointer/interact/default/curveControlPoint/BezierCurve.d.ts +3 -0
  1572. package/dist/plugin-pointer/interact/default/curveControlPoint/BezierCurve.d.ts.map +1 -0
  1573. package/dist/plugin-pointer/interact/default/curveControlPoint/BezierWorker.d.ts +123 -4
  1574. package/dist/plugin-pointer/interact/default/curveControlPoint/BezierWorker.d.ts.map +1 -0
  1575. package/dist/plugin-pointer/interact/default/curveControlPoint/CurveControlPointMode.d.ts +1 -0
  1576. package/dist/plugin-pointer/interact/default/curveControlPoint/CurveControlPointMode.d.ts.map +1 -0
  1577. package/dist/plugin-pointer/interact/default/curveControlPoint/CurveControlPointProcessor.d.ts +3 -0
  1578. package/dist/plugin-pointer/interact/default/curveControlPoint/CurveControlPointProcessor.d.ts.map +1 -0
  1579. package/dist/plugin-pointer/interact/default/curveControlPoint/utils.d.ts +1 -0
  1580. package/dist/plugin-pointer/interact/default/curveControlPoint/utils.d.ts.map +1 -0
  1581. package/dist/plugin-pointer/interact/default/curveEndPoint/CurveEndPointMode.d.ts +1 -0
  1582. package/dist/plugin-pointer/interact/default/curveEndPoint/CurveEndPointMode.d.ts.map +1 -0
  1583. package/dist/plugin-pointer/interact/default/curveEndPoint/CurveEndProcessor.d.ts +3 -0
  1584. package/dist/plugin-pointer/interact/default/curveEndPoint/CurveEndProcessor.d.ts.map +1 -0
  1585. package/dist/plugin-pointer/interact/default/dbClick/DbClickProcessor.d.ts +1 -0
  1586. package/dist/plugin-pointer/interact/default/dbClick/DbClickProcessor.d.ts.map +1 -0
  1587. package/dist/plugin-pointer/interact/default/dbClick/DefaultDbClickMode.d.ts +1 -0
  1588. package/dist/plugin-pointer/interact/default/dbClick/DefaultDbClickMode.d.ts.map +1 -0
  1589. package/dist/plugin-pointer/interact/default/dbClick/handler/DBClickTextHandler.d.ts +4 -2
  1590. package/dist/plugin-pointer/interact/default/dbClick/handler/DBClickTextHandler.d.ts.map +1 -0
  1591. package/dist/plugin-pointer/interact/default/dbClick/handler/DbCheckboxHandler.d.ts +2 -1
  1592. package/dist/plugin-pointer/interact/default/dbClick/handler/DbCheckboxHandler.d.ts.map +1 -0
  1593. package/dist/plugin-pointer/interact/default/dbClick/handler/DbClickBrokenPointHandler.d.ts +10 -0
  1594. package/dist/plugin-pointer/interact/default/dbClick/handler/DbClickBrokenPointHandler.d.ts.map +1 -0
  1595. package/dist/plugin-pointer/interact/default/dbClick/handler/DbClickCurvePointHandler.d.ts +10 -0
  1596. package/dist/plugin-pointer/interact/default/dbClick/handler/DbClickCurvePointHandler.d.ts.map +1 -0
  1597. package/dist/plugin-pointer/interact/default/dbClick/handler/FocusInGroupHandler.d.ts +3 -0
  1598. package/dist/plugin-pointer/interact/default/dbClick/handler/FocusInGroupHandler.d.ts.map +1 -0
  1599. package/dist/plugin-pointer/interact/default/drag/DragMode.d.ts +1 -0
  1600. package/dist/plugin-pointer/interact/default/drag/DragMode.d.ts.map +1 -0
  1601. package/dist/plugin-pointer/interact/default/drag/DragProcessor.d.ts +108 -0
  1602. package/dist/plugin-pointer/interact/default/drag/DragProcessor.d.ts.map +1 -0
  1603. package/dist/plugin-pointer/interact/default/drag/handler/AbsMoveHandler.d.ts +1 -0
  1604. package/dist/plugin-pointer/interact/default/drag/handler/AbsMoveHandler.d.ts.map +1 -0
  1605. package/dist/plugin-pointer/interact/default/drag/handler/GroupNodeMoveHandler.d.ts +1 -0
  1606. package/dist/plugin-pointer/interact/default/drag/handler/GroupNodeMoveHandler.d.ts.map +1 -0
  1607. package/dist/plugin-pointer/interact/default/drag/handler/HandlerCtx.d.ts +1 -0
  1608. package/dist/plugin-pointer/interact/default/drag/handler/HandlerCtx.d.ts.map +1 -0
  1609. package/dist/plugin-pointer/interact/default/drag/handler/LineMoveHandler.d.ts +1 -0
  1610. package/dist/plugin-pointer/interact/default/drag/handler/LineMoveHandler.d.ts.map +1 -0
  1611. package/dist/plugin-pointer/interact/default/drag/handler/NormalNodeMoveHandler.d.ts +1 -0
  1612. package/dist/plugin-pointer/interact/default/drag/handler/NormalNodeMoveHandler.d.ts.map +1 -0
  1613. package/dist/plugin-pointer/interact/default/dragLineText/DragLineTextMode.d.ts +2 -0
  1614. package/dist/plugin-pointer/interact/default/dragLineText/DragLineTextMode.d.ts.map +1 -0
  1615. package/dist/plugin-pointer/interact/default/dragLineText/DragLineTextProcessor.d.ts +1 -0
  1616. package/dist/plugin-pointer/interact/default/dragLineText/DragLineTextProcessor.d.ts.map +1 -0
  1617. package/dist/plugin-pointer/interact/default/dragLineText/handler/AbsLineIntersectHandler.d.ts +1 -0
  1618. package/dist/plugin-pointer/interact/default/dragLineText/handler/AbsLineIntersectHandler.d.ts.map +1 -0
  1619. package/dist/plugin-pointer/interact/default/dragLineText/handler/BrokenLineIntersectHandler.d.ts +17 -0
  1620. package/dist/plugin-pointer/interact/default/dragLineText/handler/BrokenLineIntersectHandler.d.ts.map +1 -0
  1621. package/dist/plugin-pointer/interact/default/dragLineText/handler/CurveLineIntersectHandler.d.ts +2 -0
  1622. package/dist/plugin-pointer/interact/default/dragLineText/handler/CurveLineIntersectHandler.d.ts.map +1 -0
  1623. package/dist/plugin-pointer/interact/default/dragLineText/handler/LineShapeIntersectResult.d.ts +1 -0
  1624. package/dist/plugin-pointer/interact/default/dragLineText/handler/LineShapeIntersectResult.d.ts.map +1 -0
  1625. package/dist/plugin-pointer/interact/default/dragLineText/handler/PolyLineIntersectHandler.d.ts +1 -0
  1626. package/dist/plugin-pointer/interact/default/dragLineText/handler/PolyLineIntersectHandler.d.ts.map +1 -0
  1627. package/dist/plugin-pointer/interact/default/dragLineText/handler/SimpleLineIntersectHandler.d.ts +1 -0
  1628. package/dist/plugin-pointer/interact/default/dragLineText/handler/SimpleLineIntersectHandler.d.ts.map +1 -0
  1629. package/dist/plugin-pointer/interact/default/dragSelectText/DragSelectTextMode.d.ts +2 -0
  1630. package/dist/plugin-pointer/interact/default/dragSelectText/DragSelectTextMode.d.ts.map +1 -0
  1631. package/dist/plugin-pointer/interact/default/dragSelectText/DragSelectTextProcessor.d.ts +1 -0
  1632. package/dist/plugin-pointer/interact/default/dragSelectText/DragSelectTextProcessor.d.ts.map +1 -0
  1633. package/dist/plugin-pointer/interact/default/dragSlide/DragSlideMode.d.ts +1 -0
  1634. package/dist/plugin-pointer/interact/default/dragSlide/DragSlideMode.d.ts.map +1 -0
  1635. package/dist/plugin-pointer/interact/default/dragSlide/DragSlideProcessor.d.ts +5 -0
  1636. package/dist/plugin-pointer/interact/default/dragSlide/DragSlideProcessor.d.ts.map +1 -0
  1637. package/dist/plugin-pointer/interact/default/editControl/EditControlPointMode.d.ts +8 -0
  1638. package/dist/plugin-pointer/interact/default/editControl/EditControlPointMode.d.ts.map +1 -0
  1639. package/dist/plugin-pointer/interact/default/editControl/EditControlPointProcessor.d.ts +19 -0
  1640. package/dist/plugin-pointer/interact/default/editControl/EditControlPointProcessor.d.ts.map +1 -0
  1641. package/dist/plugin-pointer/interact/default/editPoint/EditPointMode.d.ts +8 -0
  1642. package/dist/plugin-pointer/interact/default/editPoint/EditPointMode.d.ts.map +1 -0
  1643. package/dist/plugin-pointer/interact/default/editPoint/EditPointProcessor.d.ts +19 -0
  1644. package/dist/plugin-pointer/interact/default/editPoint/EditPointProcessor.d.ts.map +1 -0
  1645. package/dist/plugin-pointer/interact/default/group/GroupMode.d.ts +2 -0
  1646. package/dist/plugin-pointer/interact/default/group/GroupMode.d.ts.map +1 -0
  1647. package/dist/plugin-pointer/interact/default/group/GroupProcessor.d.ts +3 -0
  1648. package/dist/plugin-pointer/interact/default/group/GroupProcessor.d.ts.map +1 -0
  1649. package/dist/plugin-pointer/interact/default/group/handler/AbsGroupHandler.d.ts +1 -0
  1650. package/dist/plugin-pointer/interact/default/group/handler/AbsGroupHandler.d.ts.map +1 -0
  1651. package/dist/plugin-pointer/interact/default/group/handler/CmdGroupHandler.d.ts +1 -0
  1652. package/dist/plugin-pointer/interact/default/group/handler/CmdGroupHandler.d.ts.map +1 -0
  1653. package/dist/plugin-pointer/interact/default/group/handler/NormalGroupHandler.d.ts +4 -0
  1654. package/dist/plugin-pointer/interact/default/group/handler/NormalGroupHandler.d.ts.map +1 -0
  1655. package/dist/plugin-pointer/interact/default/lineControlPoint/LineControlPointMode.d.ts +1 -0
  1656. package/dist/plugin-pointer/interact/default/lineControlPoint/LineControlPointMode.d.ts.map +1 -0
  1657. package/dist/plugin-pointer/interact/default/lineControlPoint/LineControlPointProcessor.d.ts +147 -0
  1658. package/dist/plugin-pointer/interact/default/lineControlPoint/LineControlPointProcessor.d.ts.map +1 -0
  1659. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/AbsControlPointHandler.d.ts +2 -0
  1660. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/AbsControlPointHandler.d.ts.map +1 -0
  1661. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/EndPolyControlPointHandler.d.ts +1 -0
  1662. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/EndPolyControlPointHandler.d.ts.map +1 -0
  1663. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/MidControlPointHandler.d.ts +1 -0
  1664. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/MidControlPointHandler.d.ts.map +1 -0
  1665. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/StartPolyControlPointHandler.d.ts +1 -0
  1666. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/StartPolyControlPointHandler.d.ts.map +1 -0
  1667. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/StraightLineControlPointHandler.d.ts +2 -0
  1668. package/dist/plugin-pointer/interact/default/lineControlPoint/handler/StraightLineControlPointHandler.d.ts.map +1 -0
  1669. package/dist/plugin-pointer/interact/default/lineEnd/DragLineEndMode.d.ts +1 -0
  1670. package/dist/plugin-pointer/interact/default/lineEnd/DragLineEndMode.d.ts.map +1 -0
  1671. package/dist/plugin-pointer/interact/default/lineEnd/DragLineEndProcessor.d.ts +1 -0
  1672. package/dist/plugin-pointer/interact/default/lineEnd/DragLineEndProcessor.d.ts.map +1 -0
  1673. package/dist/plugin-pointer/interact/default/lineEnd/handler/AbsDragLineEndHandler.d.ts +1 -0
  1674. package/dist/plugin-pointer/interact/default/lineEnd/handler/AbsDragLineEndHandler.d.ts.map +1 -0
  1675. package/dist/plugin-pointer/interact/default/lineEnd/handler/DragBrokenLineEndHandler.d.ts +14 -0
  1676. package/dist/plugin-pointer/interact/default/lineEnd/handler/DragBrokenLineEndHandler.d.ts.map +1 -0
  1677. package/dist/plugin-pointer/interact/default/lineEnd/handler/DragCurveLineEndHandler.d.ts +1 -0
  1678. package/dist/plugin-pointer/interact/default/lineEnd/handler/DragCurveLineEndHandler.d.ts.map +1 -0
  1679. package/dist/plugin-pointer/interact/default/lineEnd/handler/DragPolyLineEndHandler.d.ts +2 -0
  1680. package/dist/plugin-pointer/interact/default/lineEnd/handler/DragPolyLineEndHandler.d.ts.map +1 -0
  1681. package/dist/plugin-pointer/interact/default/lineEnd/handler/DragSimpleLineEndHandler.d.ts +1 -0
  1682. package/dist/plugin-pointer/interact/default/lineEnd/handler/DragSimpleLineEndHandler.d.ts.map +1 -0
  1683. package/dist/plugin-pointer/interact/default/normal/NormalMode.d.ts +1 -0
  1684. package/dist/plugin-pointer/interact/default/normal/NormalMode.d.ts.map +1 -0
  1685. package/dist/plugin-pointer/interact/default/normal/cursor/CursorProcessor.d.ts +1 -0
  1686. package/dist/plugin-pointer/interact/default/normal/cursor/CursorProcessor.d.ts.map +1 -0
  1687. package/dist/plugin-pointer/interact/default/normal/cursor/handler/BrokenEndPointCursorHandler.d.ts +8 -0
  1688. package/dist/plugin-pointer/interact/default/normal/cursor/handler/BrokenEndPointCursorHandler.d.ts.map +1 -0
  1689. package/dist/plugin-pointer/interact/default/normal/cursor/handler/BrokenLineControlPointCursorHandler.d.ts +10 -0
  1690. package/dist/plugin-pointer/interact/default/normal/cursor/handler/BrokenLineControlPointCursorHandler.d.ts.map +1 -0
  1691. package/dist/plugin-pointer/interact/default/normal/cursor/handler/CurveControlPointCursorHandler.d.ts +1 -0
  1692. package/dist/plugin-pointer/interact/default/normal/cursor/handler/CurveControlPointCursorHandler.d.ts.map +1 -0
  1693. package/dist/plugin-pointer/interact/default/normal/cursor/handler/CurveEndPointCursorHandler.d.ts +1 -0
  1694. package/dist/plugin-pointer/interact/default/normal/cursor/handler/CurveEndPointCursorHandler.d.ts.map +1 -0
  1695. package/dist/plugin-pointer/interact/default/normal/cursor/handler/EditControlPointCursorHandler.d.ts +8 -0
  1696. package/dist/plugin-pointer/interact/default/normal/cursor/handler/EditControlPointCursorHandler.d.ts.map +1 -0
  1697. package/dist/plugin-pointer/interact/default/normal/cursor/handler/EditPointCursorHandler.d.ts +8 -0
  1698. package/dist/plugin-pointer/interact/default/normal/cursor/handler/EditPointCursorHandler.d.ts.map +1 -0
  1699. package/dist/plugin-pointer/interact/default/normal/cursor/handler/EditTextCursorHandler.d.ts +1 -0
  1700. package/dist/plugin-pointer/interact/default/normal/cursor/handler/EditTextCursorHandler.d.ts.map +1 -0
  1701. package/dist/plugin-pointer/interact/default/normal/cursor/handler/ExpandCursorHandler.d.ts +1 -0
  1702. package/dist/plugin-pointer/interact/default/normal/cursor/handler/ExpandCursorHandler.d.ts.map +1 -0
  1703. package/dist/plugin-pointer/interact/default/normal/cursor/handler/HoverNodeCursorHandler.d.ts +1 -0
  1704. package/dist/plugin-pointer/interact/default/normal/cursor/handler/HoverNodeCursorHandler.d.ts.map +1 -0
  1705. package/dist/plugin-pointer/interact/default/normal/cursor/handler/HoverSlideCursorHandler.d.ts +1 -0
  1706. package/dist/plugin-pointer/interact/default/normal/cursor/handler/HoverSlideCursorHandler.d.ts.map +1 -0
  1707. package/dist/plugin-pointer/interact/default/normal/cursor/handler/ImgCursorHandler.d.ts +1 -0
  1708. package/dist/plugin-pointer/interact/default/normal/cursor/handler/ImgCursorHandler.d.ts.map +1 -0
  1709. package/dist/plugin-pointer/interact/default/normal/cursor/handler/LineEndCursorHandler.d.ts +1 -0
  1710. package/dist/plugin-pointer/interact/default/normal/cursor/handler/LineEndCursorHandler.d.ts.map +1 -0
  1711. package/dist/plugin-pointer/interact/default/normal/cursor/handler/LineTextCursorHandler.d.ts +1 -0
  1712. package/dist/plugin-pointer/interact/default/normal/cursor/handler/LineTextCursorHandler.d.ts.map +1 -0
  1713. package/dist/plugin-pointer/interact/default/normal/cursor/handler/NormalCursorHandler.d.ts +1 -0
  1714. package/dist/plugin-pointer/interact/default/normal/cursor/handler/NormalCursorHandler.d.ts.map +1 -0
  1715. package/dist/plugin-pointer/interact/default/normal/cursor/handler/PieRingCursorHandler.d.ts +8 -0
  1716. package/dist/plugin-pointer/interact/default/normal/cursor/handler/PieRingCursorHandler.d.ts.map +1 -0
  1717. package/dist/plugin-pointer/interact/default/normal/cursor/handler/PolyLineControlPointCursorHandler.d.ts +1 -0
  1718. package/dist/plugin-pointer/interact/default/normal/cursor/handler/PolyLineControlPointCursorHandler.d.ts.map +1 -0
  1719. package/dist/plugin-pointer/interact/default/normal/cursor/handler/RotateCursorHandler.d.ts +1 -0
  1720. package/dist/plugin-pointer/interact/default/normal/cursor/handler/RotateCursorHandler.d.ts.map +1 -0
  1721. package/dist/plugin-pointer/interact/default/normal/cursor/handler/SlideGapInsertHandler.d.ts +1 -0
  1722. package/dist/plugin-pointer/interact/default/normal/cursor/handler/SlideGapInsertHandler.d.ts.map +1 -0
  1723. package/dist/plugin-pointer/interact/default/normal/cursor/handler/StretchCursorHandler.d.ts +1 -0
  1724. package/dist/plugin-pointer/interact/default/normal/cursor/handler/StretchCursorHandler.d.ts.map +1 -0
  1725. package/dist/plugin-pointer/interact/default/normal/hover/HoverProcessor.d.ts +9 -0
  1726. package/dist/plugin-pointer/interact/default/normal/hover/HoverProcessor.d.ts.map +1 -0
  1727. package/dist/plugin-pointer/interact/default/normal/hover/handler/AbsHoverHandler.d.ts +1 -0
  1728. package/dist/plugin-pointer/interact/default/normal/hover/handler/AbsHoverHandler.d.ts.map +1 -0
  1729. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverBrokenPointHandler.d.ts +6 -0
  1730. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverBrokenPointHandler.d.ts.map +1 -0
  1731. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverCurvePointHandler.d.ts +6 -0
  1732. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverCurvePointHandler.d.ts.map +1 -0
  1733. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverDocContainerTextHandler.d.ts +12 -0
  1734. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverDocContainerTextHandler.d.ts.map +1 -0
  1735. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverEditControlPointHandler.d.ts +6 -0
  1736. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverEditControlPointHandler.d.ts.map +1 -0
  1737. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverGroupHandler.d.ts +1 -0
  1738. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverGroupHandler.d.ts.map +1 -0
  1739. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverLineHandler.d.ts +1 -0
  1740. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverLineHandler.d.ts.map +1 -0
  1741. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverNodeHandler.d.ts +1 -0
  1742. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverNodeHandler.d.ts.map +1 -0
  1743. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverPrefixHandler.d.ts +13 -0
  1744. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverPrefixHandler.d.ts.map +1 -0
  1745. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverSectionHandler.d.ts +1 -0
  1746. package/dist/plugin-pointer/interact/default/normal/hover/handler/HoverSectionHandler.d.ts.map +1 -0
  1747. package/dist/plugin-pointer/interact/default/pieRing/PieRingMode.d.ts +8 -0
  1748. package/dist/plugin-pointer/interact/default/pieRing/PieRingMode.d.ts.map +1 -0
  1749. package/dist/plugin-pointer/interact/default/pieRing/PieRingProcessor.d.ts +12 -0
  1750. package/dist/plugin-pointer/interact/default/pieRing/PieRingProcessor.d.ts.map +1 -0
  1751. package/dist/plugin-pointer/interact/default/rightClick/FocusAndContextMenuHandler.d.ts +1 -0
  1752. package/dist/plugin-pointer/interact/default/rightClick/FocusAndContextMenuHandler.d.ts.map +1 -0
  1753. package/dist/plugin-pointer/interact/default/rightClick/RightClickMode.d.ts +1 -0
  1754. package/dist/plugin-pointer/interact/default/rightClick/RightClickMode.d.ts.map +1 -0
  1755. package/dist/plugin-pointer/interact/default/rightClick/RightClickProcessor.d.ts +1 -0
  1756. package/dist/plugin-pointer/interact/default/rightClick/RightClickProcessor.d.ts.map +1 -0
  1757. package/dist/plugin-pointer/interact/default/rotate/RotateMode.d.ts +2 -0
  1758. package/dist/plugin-pointer/interact/default/rotate/RotateMode.d.ts.map +1 -0
  1759. package/dist/plugin-pointer/interact/default/rotate/RotateProcessor.d.ts +1 -0
  1760. package/dist/plugin-pointer/interact/default/rotate/RotateProcessor.d.ts.map +1 -0
  1761. package/dist/plugin-pointer/interact/default/rotate/handler/AbsRotateHandler.d.ts +1 -0
  1762. package/dist/plugin-pointer/interact/default/rotate/handler/AbsRotateHandler.d.ts.map +1 -0
  1763. package/dist/plugin-pointer/interact/default/rotate/handler/RotateEditableHandler.d.ts +10 -0
  1764. package/dist/plugin-pointer/interact/default/rotate/handler/RotateEditableHandler.d.ts.map +1 -0
  1765. package/dist/plugin-pointer/interact/default/rotate/handler/RotateLineHandler.d.ts +1 -0
  1766. package/dist/plugin-pointer/interact/default/rotate/handler/RotateLineHandler.d.ts.map +1 -0
  1767. package/dist/plugin-pointer/interact/default/rotate/handler/RotateNodeHandler.d.ts +1 -0
  1768. package/dist/plugin-pointer/interact/default/rotate/handler/RotateNodeHandler.d.ts.map +1 -0
  1769. package/dist/plugin-pointer/interact/default/rotate/handler/RotatePolyLineHandler.d.ts +1 -0
  1770. package/dist/plugin-pointer/interact/default/rotate/handler/RotatePolyLineHandler.d.ts.map +1 -0
  1771. package/dist/plugin-pointer/interact/default/stretch/AbsStretchProcessor.d.ts +17 -3
  1772. package/dist/plugin-pointer/interact/default/stretch/AbsStretchProcessor.d.ts.map +1 -0
  1773. package/dist/plugin-pointer/interact/default/stretch/SingleStretchMode.d.ts +4 -2
  1774. package/dist/plugin-pointer/interact/default/stretch/SingleStretchMode.d.ts.map +1 -0
  1775. package/dist/plugin-pointer/interact/default/stretch/SingleStretchProcessorV2.d.ts +12 -2
  1776. package/dist/plugin-pointer/interact/default/stretch/SingleStretchProcessorV2.d.ts.map +1 -0
  1777. package/dist/plugin-pointer/interact/default/stretch/StretchMode.d.ts +4 -2
  1778. package/dist/plugin-pointer/interact/default/stretch/StretchMode.d.ts.map +1 -0
  1779. package/dist/plugin-pointer/interact/default/stretch/StretchProcessorV2.d.ts +7 -1
  1780. package/dist/plugin-pointer/interact/default/stretch/StretchProcessorV2.d.ts.map +1 -0
  1781. package/dist/plugin-pointer/interact/default/stretch/handler/AbsStretchHandler.d.ts +1 -0
  1782. package/dist/plugin-pointer/interact/default/stretch/handler/AbsStretchHandler.d.ts.map +1 -0
  1783. package/dist/plugin-pointer/interact/default/stretch/handler/CheckboxTextStretchHandler.d.ts +1 -0
  1784. package/dist/plugin-pointer/interact/default/stretch/handler/CheckboxTextStretchHandler.d.ts.map +1 -0
  1785. package/dist/plugin-pointer/interact/default/stretch/handler/EditableNodeStretchHandler.d.ts +11 -0
  1786. package/dist/plugin-pointer/interact/default/stretch/handler/EditableNodeStretchHandler.d.ts.map +1 -0
  1787. package/dist/plugin-pointer/interact/default/stretch/handler/PieStretchHandler.d.ts +10 -0
  1788. package/dist/plugin-pointer/interact/default/stretch/handler/PieStretchHandler.d.ts.map +1 -0
  1789. package/dist/plugin-pointer/interact/default/stretch/handler/SingleStretchSectionHandler.d.ts +2 -0
  1790. package/dist/plugin-pointer/interact/default/stretch/handler/SingleStretchSectionHandler.d.ts.map +1 -0
  1791. package/dist/plugin-pointer/interact/default/stretch/handler/StretchCropNodeHandler.d.ts +1 -0
  1792. package/dist/plugin-pointer/interact/default/stretch/handler/StretchCropNodeHandler.d.ts.map +1 -0
  1793. package/dist/plugin-pointer/interact/default/stretch/handler/StretchLineHandler.d.ts +9 -2
  1794. package/dist/plugin-pointer/interact/default/stretch/handler/StretchLineHandler.d.ts.map +1 -0
  1795. package/dist/plugin-pointer/interact/default/stretch/handler/StretchNodeHandler.d.ts +1 -0
  1796. package/dist/plugin-pointer/interact/default/stretch/handler/StretchNodeHandler.d.ts.map +1 -0
  1797. package/dist/plugin-pointer/interact/default/stretch/handler/StretchSlideContainerHandler.d.ts +1 -0
  1798. package/dist/plugin-pointer/interact/default/stretch/handler/StretchSlideContainerHandler.d.ts.map +1 -0
  1799. package/dist/plugin-pointer/interact/default/stretch/handler/TextStretchHandler.d.ts +1 -0
  1800. package/dist/plugin-pointer/interact/default/stretch/handler/TextStretchHandler.d.ts.map +1 -0
  1801. package/dist/plugin-pointer/interact/default/tripleClick/DefaultTripleClickMode.d.ts +5 -0
  1802. package/dist/plugin-pointer/interact/default/tripleClick/DefaultTripleClickMode.d.ts.map +1 -0
  1803. package/dist/plugin-pointer/interact/default/tripleClick/TripleClickProcessor.d.ts +5 -0
  1804. package/dist/plugin-pointer/interact/default/tripleClick/TripleClickProcessor.d.ts.map +1 -0
  1805. package/dist/plugin-pointer/interact/default/tripleClick/handler/TripleClickTextHandler.d.ts +15 -0
  1806. package/dist/plugin-pointer/interact/default/tripleClick/handler/TripleClickTextHandler.d.ts.map +1 -0
  1807. package/dist/plugin-pointer/interact/detector/CropOriginImgDetector.d.ts +1 -0
  1808. package/dist/plugin-pointer/interact/detector/CropOriginImgDetector.d.ts.map +1 -0
  1809. package/dist/plugin-pointer/interact/detector/DetectorResult.d.ts +19 -0
  1810. package/dist/plugin-pointer/interact/detector/DetectorResult.d.ts.map +1 -0
  1811. package/dist/plugin-pointer/interact/detector/ExpandDetector.d.ts +1 -0
  1812. package/dist/plugin-pointer/interact/detector/ExpandDetector.d.ts.map +1 -0
  1813. package/dist/plugin-pointer/interact/detector/LineEndPointDetector.d.ts +1 -0
  1814. package/dist/plugin-pointer/interact/detector/LineEndPointDetector.d.ts.map +1 -0
  1815. package/dist/plugin-pointer/interact/detector/PolyLineControlPointDetector.d.ts +5 -0
  1816. package/dist/plugin-pointer/interact/detector/PolyLineControlPointDetector.d.ts.map +1 -0
  1817. package/dist/plugin-pointer/interact/detector/RotateDetector.d.ts +2 -0
  1818. package/dist/plugin-pointer/interact/detector/RotateDetector.d.ts.map +1 -0
  1819. package/dist/plugin-pointer/interact/detector/connect/HoverConnectAnchorDetector.d.ts +1 -0
  1820. package/dist/plugin-pointer/interact/detector/connect/HoverConnectAnchorDetector.d.ts.map +1 -0
  1821. package/dist/plugin-pointer/interact/detector/connect/HoverMindmapConnectAnchorDetector.d.ts +21 -0
  1822. package/dist/plugin-pointer/interact/detector/connect/HoverMindmapConnectAnchorDetector.d.ts.map +1 -0
  1823. package/dist/plugin-pointer/interact/detector/connect/HoverNodeAnchorDetector.d.ts +1 -0
  1824. package/dist/plugin-pointer/interact/detector/connect/HoverNodeAnchorDetector.d.ts.map +1 -0
  1825. package/dist/plugin-pointer/interact/detector/connect/NodeEdgeDetector.d.ts +1 -0
  1826. package/dist/plugin-pointer/interact/detector/connect/NodeEdgeDetector.d.ts.map +1 -0
  1827. package/dist/plugin-pointer/interact/detector/doc/DocParaDetector.d.ts +15 -0
  1828. package/dist/plugin-pointer/interact/detector/doc/DocParaDetector.d.ts.map +1 -0
  1829. package/dist/plugin-pointer/interact/detector/dragText/DragLineTextDetector.d.ts +1 -0
  1830. package/dist/plugin-pointer/interact/detector/dragText/DragLineTextDetector.d.ts.map +1 -0
  1831. package/dist/plugin-pointer/interact/detector/editable/EditControlPointDetector.d.ts +14 -0
  1832. package/dist/plugin-pointer/interact/detector/editable/EditControlPointDetector.d.ts.map +1 -0
  1833. package/dist/plugin-pointer/interact/detector/editable/EditablePointDetector.d.ts +13 -0
  1834. package/dist/plugin-pointer/interact/detector/editable/EditablePointDetector.d.ts.map +1 -0
  1835. package/dist/plugin-pointer/interact/detector/hover/BufferHoverNodeDetector.d.ts +1 -0
  1836. package/dist/plugin-pointer/interact/detector/hover/BufferHoverNodeDetector.d.ts.map +1 -0
  1837. package/dist/plugin-pointer/interact/detector/hover/HoverContainerDetector.d.ts +1 -0
  1838. package/dist/plugin-pointer/interact/detector/hover/HoverContainerDetector.d.ts.map +1 -0
  1839. package/dist/plugin-pointer/interact/detector/hover/HoverContainerForPasteDetector.d.ts +16 -0
  1840. package/dist/plugin-pointer/interact/detector/hover/HoverContainerForPasteDetector.d.ts.map +1 -0
  1841. package/dist/plugin-pointer/interact/detector/hover/HoverNodeDetector.d.ts +1 -0
  1842. package/dist/plugin-pointer/interact/detector/hover/HoverNodeDetector.d.ts.map +1 -0
  1843. package/dist/plugin-pointer/interact/detector/hover/TextPrefixDetector.d.ts +23 -0
  1844. package/dist/plugin-pointer/interact/detector/hover/TextPrefixDetector.d.ts.map +1 -0
  1845. package/dist/plugin-pointer/interact/detector/img/ImgDetector.d.ts +1 -0
  1846. package/dist/plugin-pointer/interact/detector/img/ImgDetector.d.ts.map +1 -0
  1847. package/dist/plugin-pointer/interact/detector/line/BrokenLineControlPointDetector.d.ts +14 -0
  1848. package/dist/plugin-pointer/interact/detector/line/BrokenLineControlPointDetector.d.ts.map +1 -0
  1849. package/dist/plugin-pointer/interact/detector/line/BrokenLineEndPointDetector.d.ts +13 -0
  1850. package/dist/plugin-pointer/interact/detector/line/BrokenLineEndPointDetector.d.ts.map +1 -0
  1851. package/dist/plugin-pointer/interact/detector/line/CurveControlPointDetector.d.ts +1 -0
  1852. package/dist/plugin-pointer/interact/detector/line/CurveControlPointDetector.d.ts.map +1 -0
  1853. package/dist/plugin-pointer/interact/detector/line/CurveEndPointDetector.d.ts +3 -0
  1854. package/dist/plugin-pointer/interact/detector/line/CurveEndPointDetector.d.ts.map +1 -0
  1855. package/dist/plugin-pointer/interact/detector/node/BufferNodeDetector.d.ts +1 -0
  1856. package/dist/plugin-pointer/interact/detector/node/BufferNodeDetector.d.ts.map +1 -0
  1857. package/dist/plugin-pointer/interact/detector/node/NodeDetector.d.ts +1 -0
  1858. package/dist/plugin-pointer/interact/detector/node/NodeDetector.d.ts.map +1 -0
  1859. package/dist/plugin-pointer/interact/detector/pie-ring/PieRingDetector.d.ts +20 -0
  1860. package/dist/plugin-pointer/interact/detector/pie-ring/PieRingDetector.d.ts.map +1 -0
  1861. package/dist/plugin-pointer/interact/detector/slide/EmptySlideContainerAddDetector.d.ts +1 -0
  1862. package/dist/plugin-pointer/interact/detector/slide/EmptySlideContainerAddDetector.d.ts.map +1 -0
  1863. package/dist/plugin-pointer/interact/detector/slide/SlideGapDetector.d.ts +1 -0
  1864. package/dist/plugin-pointer/interact/detector/slide/SlideGapDetector.d.ts.map +1 -0
  1865. package/dist/plugin-pointer/interact/detector/stretch/StretchDetector.d.ts +4 -0
  1866. package/dist/plugin-pointer/interact/detector/stretch/StretchDetector.d.ts.map +1 -0
  1867. package/dist/plugin-pointer/interact/dragCanvas/DragCanvasCursorProcessor.d.ts +1 -0
  1868. package/dist/plugin-pointer/interact/dragCanvas/DragCanvasCursorProcessor.d.ts.map +1 -0
  1869. package/dist/plugin-pointer/interact/dragCanvas/DragCanvasMainMode.d.ts +1 -0
  1870. package/dist/plugin-pointer/interact/dragCanvas/DragCanvasMainMode.d.ts.map +1 -0
  1871. package/dist/plugin-pointer/interact/dragCanvas/DragCanvasProcessor.d.ts +1 -0
  1872. package/dist/plugin-pointer/interact/dragCanvas/DragCanvasProcessor.d.ts.map +1 -0
  1873. package/dist/plugin-pointer/interact/dragCanvas/submode/ContextDragCanvasMode.d.ts +1 -0
  1874. package/dist/plugin-pointer/interact/dragCanvas/submode/ContextDragCanvasMode.d.ts.map +1 -0
  1875. package/dist/plugin-pointer/interact/dragCanvas/submode/DragCanvasMode.d.ts +1 -0
  1876. package/dist/plugin-pointer/interact/dragCanvas/submode/DragCanvasMode.d.ts.map +1 -0
  1877. package/dist/plugin-pointer/interact/dragCanvas/submode/DragCanvasNormalMode.d.ts +1 -0
  1878. package/dist/plugin-pointer/interact/dragCanvas/submode/DragCanvasNormalMode.d.ts.map +1 -0
  1879. package/dist/plugin-pointer/interact/playSlide/PlayNormalMode.d.ts +1 -0
  1880. package/dist/plugin-pointer/interact/playSlide/PlayNormalMode.d.ts.map +1 -0
  1881. package/dist/plugin-pointer/interact/playSlide/PlaySlideMode.d.ts +1 -0
  1882. package/dist/plugin-pointer/interact/playSlide/PlaySlideMode.d.ts.map +1 -0
  1883. package/dist/plugin-pointer/interact/utils/RectUtils.d.ts +1 -0
  1884. package/dist/plugin-pointer/interact/utils/RectUtils.d.ts.map +1 -0
  1885. package/dist/plugin-pointer/interact/viewOnly/ViewOnlyMode.d.ts +1 -0
  1886. package/dist/plugin-pointer/interact/viewOnly/ViewOnlyMode.d.ts.map +1 -0
  1887. package/dist/plugin-pointer/interact/viewOnly/click/ViewOnlyClickMode.d.ts +1 -0
  1888. package/dist/plugin-pointer/interact/viewOnly/click/ViewOnlyClickMode.d.ts.map +1 -0
  1889. package/dist/plugin-pointer/interact/viewOnly/click/ViewOnlyClickProcessor.d.ts +1 -0
  1890. package/dist/plugin-pointer/interact/viewOnly/click/ViewOnlyClickProcessor.d.ts.map +1 -0
  1891. package/dist/plugin-pointer/interact/viewOnly/click/ViewOnlyDbClickMode.d.ts +1 -0
  1892. package/dist/plugin-pointer/interact/viewOnly/click/ViewOnlyDbClickMode.d.ts.map +1 -0
  1893. package/dist/plugin-pointer/interact/viewOnly/click/ViewOnlyDbClickProcessor.d.ts +1 -0
  1894. package/dist/plugin-pointer/interact/viewOnly/click/ViewOnlyDbClickProcessor.d.ts.map +1 -0
  1895. package/dist/plugin-pointer/interact/viewOnly/normal/ViewOnlyCursorProcessor.d.ts +1 -0
  1896. package/dist/plugin-pointer/interact/viewOnly/normal/ViewOnlyCursorProcessor.d.ts.map +1 -0
  1897. package/dist/plugin-pointer/interact/viewOnly/normal/ViewOnlyHoverProcessor.d.ts +1 -0
  1898. package/dist/plugin-pointer/interact/viewOnly/normal/ViewOnlyHoverProcessor.d.ts.map +1 -0
  1899. package/dist/plugin-pointer/interact/viewOnly/normal/ViewOnlyNormalMode.d.ts +1 -0
  1900. package/dist/plugin-pointer/interact/viewOnly/normal/ViewOnlyNormalMode.d.ts.map +1 -0
  1901. package/dist/plugin-pointer/mobile/TouchScrollZoomWorker.d.ts +1 -0
  1902. package/dist/plugin-pointer/mobile/TouchScrollZoomWorker.d.ts.map +1 -0
  1903. package/dist/plugin-resize/WindowResizePlugin.d.ts +2 -0
  1904. package/dist/plugin-resize/WindowResizePlugin.d.ts.map +1 -0
  1905. package/dist/plugin-resize/index.d.ts +1 -0
  1906. package/dist/plugin-resize/index.d.ts.map +1 -0
  1907. package/dist/plugin-wheel/WheelEventPlugin.d.ts +31 -2
  1908. package/dist/plugin-wheel/WheelEventPlugin.d.ts.map +1 -0
  1909. package/dist/plugin-wheel/handler/AbsWheelHandler.d.ts +53 -0
  1910. package/dist/plugin-wheel/handler/AbsWheelHandler.d.ts.map +1 -0
  1911. package/dist/plugin-wheel/handler/MacMouseWheelHandler.d.ts +10 -0
  1912. package/dist/plugin-wheel/handler/MacMouseWheelHandler.d.ts.map +1 -0
  1913. package/dist/plugin-wheel/handler/MacTrackpadWheelHandler.d.ts +10 -0
  1914. package/dist/plugin-wheel/handler/MacTrackpadWheelHandler.d.ts.map +1 -0
  1915. package/dist/plugin-wheel/handler/WheelRedrawHandler.d.ts +17 -0
  1916. package/dist/plugin-wheel/handler/WheelRedrawHandler.d.ts.map +1 -0
  1917. package/dist/plugin-wheel/handler/WindowsMouseWheelHandler.d.ts +10 -0
  1918. package/dist/plugin-wheel/handler/WindowsMouseWheelHandler.d.ts.map +1 -0
  1919. package/dist/plugin-wheel/handler/WindowsTrackpadWheelHandler.d.ts +10 -0
  1920. package/dist/plugin-wheel/handler/WindowsTrackpadWheelHandler.d.ts.map +1 -0
  1921. package/dist/plugin-wheel/index.d.ts +11 -1
  1922. package/dist/plugin-wheel/index.d.ts.map +1 -0
  1923. package/dist/preview/IPreviewConnectInfo.d.ts +1 -0
  1924. package/dist/preview/IPreviewConnectInfo.d.ts.map +1 -0
  1925. package/dist/preview/PreviewManager.d.ts +2 -1
  1926. package/dist/preview/PreviewManager.d.ts.map +1 -0
  1927. package/dist/preview/PreviewQuickCreateManager.d.ts +99 -5
  1928. package/dist/preview/PreviewQuickCreateManager.d.ts.map +1 -0
  1929. package/dist/preview/PreviewResourceManager.d.ts +1 -0
  1930. package/dist/preview/PreviewResourceManager.d.ts.map +1 -0
  1931. package/dist/preview/previewCreate/PreviewCreateManager.d.ts +8 -1
  1932. package/dist/preview/previewCreate/PreviewCreateManager.d.ts.map +1 -0
  1933. package/dist/preview/previewCreate/handler/AbsPreviewHandler.d.ts +3 -2
  1934. package/dist/preview/previewCreate/handler/AbsPreviewHandler.d.ts.map +1 -0
  1935. package/dist/preview/previewCreate/handler/PreviewChartSectionHandler.d.ts +12 -0
  1936. package/dist/preview/previewCreate/handler/PreviewChartSectionHandler.d.ts.map +1 -0
  1937. package/dist/preview/previewCreate/handler/PreviewCheckboxHandler.d.ts +1 -0
  1938. package/dist/preview/previewCreate/handler/PreviewCheckboxHandler.d.ts.map +1 -0
  1939. package/dist/preview/previewCreate/handler/PreviewCheckboxTextHandler.d.ts +1 -0
  1940. package/dist/preview/previewCreate/handler/PreviewCheckboxTextHandler.d.ts.map +1 -0
  1941. package/dist/preview/previewCreate/handler/PreviewDocHandler.d.ts +8 -0
  1942. package/dist/preview/previewCreate/handler/PreviewDocHandler.d.ts.map +1 -0
  1943. package/dist/preview/previewCreate/handler/PreviewEditableHandler.d.ts +9 -0
  1944. package/dist/preview/previewCreate/handler/PreviewEditableHandler.d.ts.map +1 -0
  1945. package/dist/preview/previewCreate/handler/PreviewMathFormulaHandler.d.ts +9 -0
  1946. package/dist/preview/previewCreate/handler/PreviewMathFormulaHandler.d.ts.map +1 -0
  1947. package/dist/preview/previewCreate/handler/PreviewMermaidSectionHandler.d.ts +8 -0
  1948. package/dist/preview/previewCreate/handler/PreviewMermaidSectionHandler.d.ts.map +1 -0
  1949. package/dist/preview/previewCreate/handler/PreviewMindmapHandler.d.ts +18 -0
  1950. package/dist/preview/previewCreate/handler/PreviewMindmapHandler.d.ts.map +1 -0
  1951. package/dist/preview/previewCreate/handler/PreviewPieHandler.d.ts +9 -0
  1952. package/dist/preview/previewCreate/handler/PreviewPieHandler.d.ts.map +1 -0
  1953. package/dist/preview/previewCreate/handler/PreviewResourceHandler.d.ts +1 -0
  1954. package/dist/preview/previewCreate/handler/PreviewResourceHandler.d.ts.map +1 -0
  1955. package/dist/preview/previewCreate/handler/PreviewSectionHandler.d.ts +1 -0
  1956. package/dist/preview/previewCreate/handler/PreviewSectionHandler.d.ts.map +1 -0
  1957. package/dist/preview/previewCreate/handler/PreviewShapeHandler.d.ts +1 -0
  1958. package/dist/preview/previewCreate/handler/PreviewShapeHandler.d.ts.map +1 -0
  1959. package/dist/preview/previewCreate/handler/PreviewSlideHandler.d.ts +1 -0
  1960. package/dist/preview/previewCreate/handler/PreviewSlideHandler.d.ts.map +1 -0
  1961. package/dist/preview/previewCreate/handler/previewLine/PreviewLineHandler.d.ts +2 -1
  1962. package/dist/preview/previewCreate/handler/previewLine/PreviewLineHandler.d.ts.map +1 -0
  1963. package/dist/preview/previewCreate/handler/previewLine/helper/AbsLineHelper.d.ts +3 -1
  1964. package/dist/preview/previewCreate/handler/previewLine/helper/AbsLineHelper.d.ts.map +1 -0
  1965. package/dist/preview/previewCreate/handler/previewLine/helper/CurveLineHelper.d.ts +1 -0
  1966. package/dist/preview/previewCreate/handler/previewLine/helper/CurveLineHelper.d.ts.map +1 -0
  1967. package/dist/preview/previewCreate/handler/previewLine/helper/PolyLineHelper.d.ts +1 -0
  1968. package/dist/preview/previewCreate/handler/previewLine/helper/PolyLineHelper.d.ts.map +1 -0
  1969. package/dist/preview/previewCreate/handler/previewLine/helper/RoundPolyLineHelper.d.ts +1 -0
  1970. package/dist/preview/previewCreate/handler/previewLine/helper/RoundPolyLineHelper.d.ts.map +1 -0
  1971. package/dist/preview/previewCreate/handler/previewLine/helper/SimpleLineHelper.d.ts +3 -1
  1972. package/dist/preview/previewCreate/handler/previewLine/helper/SimpleLineHelper.d.ts.map +1 -0
  1973. package/dist/purify.es-BpFm6ZGf.js +553 -0
  1974. package/dist/quadrantDiagram-337W2JSQ-Cf-2ozrv.js +1025 -0
  1975. package/dist/radar-KQ55EAFF-Cu5Ei-Fy.js +6 -0
  1976. package/dist/renderText/RenderPlaceHolder.d.ts +5 -0
  1977. package/dist/renderText/RenderPlaceHolder.d.ts.map +1 -0
  1978. package/dist/renderText/RenderText.d.ts +10 -0
  1979. package/dist/renderText/RenderText.d.ts.map +1 -0
  1980. package/dist/renderText/TextBlock.d.ts +8 -0
  1981. package/dist/renderText/TextBlock.d.ts.map +1 -0
  1982. package/dist/renderText/TextCharacter.d.ts +4 -1
  1983. package/dist/renderText/TextCharacter.d.ts.map +1 -0
  1984. package/dist/renderText/TextConstants.d.ts +1 -0
  1985. package/dist/renderText/TextConstants.d.ts.map +1 -0
  1986. package/dist/renderText/TextLine.d.ts +2 -0
  1987. package/dist/renderText/TextLine.d.ts.map +1 -0
  1988. package/dist/renderText/TextParagraph.d.ts +2 -0
  1989. package/dist/renderText/TextParagraph.d.ts.map +1 -0
  1990. package/dist/renderText/TextWord.d.ts +1 -0
  1991. package/dist/renderText/TextWord.d.ts.map +1 -0
  1992. package/dist/renderText/TypesettingCtx.d.ts +1 -0
  1993. package/dist/renderText/TypesettingCtx.d.ts.map +1 -0
  1994. package/dist/renderText/cursor/TextCursorMoveWorker.d.ts +1 -0
  1995. package/dist/renderText/cursor/TextCursorMoveWorker.d.ts.map +1 -0
  1996. package/dist/renderText/editInfo/EditTextWorker.d.ts +3 -2
  1997. package/dist/renderText/editInfo/EditTextWorker.d.ts.map +1 -0
  1998. package/dist/renderText/editInfo/TextCursorPosition.d.ts +1 -0
  1999. package/dist/renderText/editInfo/TextCursorPosition.d.ts.map +1 -0
  2000. package/dist/renderText/editInfo/baseprops/MindmapModifyWorker.d.ts +11 -0
  2001. package/dist/renderText/editInfo/baseprops/MindmapModifyWorker.d.ts.map +1 -0
  2002. package/dist/renderText/editInfo/baseprops/OolongLineModifyWorker.d.ts +2 -0
  2003. package/dist/renderText/editInfo/baseprops/OolongLineModifyWorker.d.ts.map +1 -0
  2004. package/dist/renderText/editInfo/baseprops/OolongNodeModifyWorker.d.ts +1 -0
  2005. package/dist/renderText/editInfo/baseprops/OolongNodeModifyWorker.d.ts.map +1 -0
  2006. package/dist/renderText/index.d.ts +2 -0
  2007. package/dist/renderText/index.d.ts.map +1 -0
  2008. package/dist/renderText/linebreak/CharacterLineBreakWorker.d.ts +1 -0
  2009. package/dist/renderText/linebreak/CharacterLineBreakWorker.d.ts.map +1 -0
  2010. package/dist/renderText/measure/MeasureWorker.d.ts +1 -0
  2011. package/dist/renderText/measure/MeasureWorker.d.ts.map +1 -0
  2012. package/dist/renderText/measure/TextBlockMeasureWorker.d.ts +1 -0
  2013. package/dist/renderText/measure/TextBlockMeasureWorker.d.ts.map +1 -0
  2014. package/dist/renderText/paraStyle/IParagraphStyleProp.d.ts +2 -0
  2015. package/dist/renderText/paraStyle/IParagraphStyleProp.d.ts.map +1 -0
  2016. package/dist/renderText/paraStyle/ITextQuoteInfo.d.ts +1 -0
  2017. package/dist/renderText/paraStyle/ITextQuoteInfo.d.ts.map +1 -0
  2018. package/dist/renderText/paraStyle/PrefixDrawer.d.ts +3 -1
  2019. package/dist/renderText/paraStyle/PrefixDrawer.d.ts.map +1 -0
  2020. package/dist/renderText/paraStyle/TextQuoteLineWorker.d.ts +5 -0
  2021. package/dist/renderText/paraStyle/TextQuoteLineWorker.d.ts.map +1 -0
  2022. package/dist/renderText/richText/ITextBlock.d.ts +5 -0
  2023. package/dist/renderText/richText/ITextBlock.d.ts.map +1 -0
  2024. package/dist/renderText/richText/RichTextHelper.d.ts +1 -0
  2025. package/dist/renderText/richText/RichTextHelper.d.ts.map +1 -0
  2026. package/dist/renderText/richText/RichTextParagraph.d.ts +1 -0
  2027. package/dist/renderText/richText/RichTextParagraph.d.ts.map +1 -0
  2028. package/dist/renderText/richText/RichTextWord.d.ts +1 -0
  2029. package/dist/renderText/richText/RichTextWord.d.ts.map +1 -0
  2030. package/dist/renderText/selection/TextSelectionDeleteWorker.d.ts +2 -0
  2031. package/dist/renderText/selection/TextSelectionDeleteWorker.d.ts.map +1 -0
  2032. package/dist/renderText/selection/TextSelectionWorker.d.ts +1 -0
  2033. package/dist/renderText/selection/TextSelectionWorker.d.ts.map +1 -0
  2034. package/dist/renderText/selection/handler/AbsTextSelectionHandler.d.ts +1 -0
  2035. package/dist/renderText/selection/handler/AbsTextSelectionHandler.d.ts.map +1 -0
  2036. package/dist/renderText/selection/handler/DiffParaHandler.d.ts +1 -0
  2037. package/dist/renderText/selection/handler/DiffParaHandler.d.ts.map +1 -0
  2038. package/dist/renderText/selection/handler/SameParaDiffLineHandler.d.ts +1 -0
  2039. package/dist/renderText/selection/handler/SameParaDiffLineHandler.d.ts.map +1 -0
  2040. package/dist/renderText/selection/handler/SameParaSameLineHandler.d.ts +1 -0
  2041. package/dist/renderText/selection/handler/SameParaSameLineHandler.d.ts.map +1 -0
  2042. package/dist/renderText/split/GraphemeSplit.d.ts +1 -0
  2043. package/dist/renderText/split/GraphemeSplit.d.ts.map +1 -0
  2044. package/dist/renderText/split/IntlSplit.d.ts +1 -0
  2045. package/dist/renderText/split/IntlSplit.d.ts.map +1 -0
  2046. package/dist/renderText/split/LinebreakSplit.d.ts +1 -0
  2047. package/dist/renderText/split/LinebreakSplit.d.ts.map +1 -0
  2048. package/dist/requirementDiagram-Z7DCOOCP-CuOF47GX.js +862 -0
  2049. package/dist/resource-manager/AbsResourceInstance.d.ts +5 -1
  2050. package/dist/resource-manager/AbsResourceInstance.d.ts.map +1 -0
  2051. package/dist/resource-manager/IResourceInfo.d.ts +1 -0
  2052. package/dist/resource-manager/IResourceInfo.d.ts.map +1 -0
  2053. package/dist/resource-manager/NormalResourceInstance.d.ts +2 -1
  2054. package/dist/resource-manager/NormalResourceInstance.d.ts.map +1 -0
  2055. package/dist/resource-manager/ResourceEnumType.d.ts +1 -0
  2056. package/dist/resource-manager/ResourceEnumType.d.ts.map +1 -0
  2057. package/dist/resource-manager/ResourceManager.d.ts +8 -4
  2058. package/dist/resource-manager/ResourceManager.d.ts.map +1 -0
  2059. package/dist/resource-manager/index.d.ts +1 -0
  2060. package/dist/resource-manager/index.d.ts.map +1 -0
  2061. package/dist/resource-manager/resourceTypes.d.ts +1 -0
  2062. package/dist/resource-manager/resourceTypes.d.ts.map +1 -0
  2063. package/dist/sankeyDiagram-WA2Y5GQK-DO1mUPyq.js +811 -0
  2064. package/dist/select/OptionHelper.d.ts +1 -0
  2065. package/dist/select/OptionHelper.d.ts.map +1 -0
  2066. package/dist/select/SelectManager.d.ts +2 -0
  2067. package/dist/select/SelectManager.d.ts.map +1 -0
  2068. package/dist/select/index.d.ts +1 -0
  2069. package/dist/select/index.d.ts.map +1 -0
  2070. package/dist/select/status/AbsStatusHandler.d.ts +1 -0
  2071. package/dist/select/status/AbsStatusHandler.d.ts.map +1 -0
  2072. package/dist/select/status/SelectStatusContext.d.ts +1 -0
  2073. package/dist/select/status/SelectStatusContext.d.ts.map +1 -0
  2074. package/dist/select/status/editText/DragSelectionStreamStatusHandler.d.ts +15 -0
  2075. package/dist/select/status/editText/DragSelectionStreamStatusHandler.d.ts.map +1 -0
  2076. package/dist/select/status/editText/EditEmptyTextStatusHandler.d.ts +11 -0
  2077. package/dist/select/status/editText/EditEmptyTextStatusHandler.d.ts.map +1 -0
  2078. package/dist/select/status/editText/EditTextInSelectionStatusHandler.d.ts +11 -0
  2079. package/dist/select/status/editText/EditTextInSelectionStatusHandler.d.ts.map +1 -0
  2080. package/dist/select/status/multi/MultiSelectHandler.d.ts +1 -0
  2081. package/dist/select/status/multi/MultiSelectHandler.d.ts.map +1 -0
  2082. package/dist/select/status/readOnly/ReadOnlyMultiStatusHandler.d.ts +1 -0
  2083. package/dist/select/status/readOnly/ReadOnlyMultiStatusHandler.d.ts.map +1 -0
  2084. package/dist/select/status/readOnly/ReadOnlySingleStatusHandler.d.ts +1 -0
  2085. package/dist/select/status/readOnly/ReadOnlySingleStatusHandler.d.ts.map +1 -0
  2086. package/dist/select/status/single/CropStatusHandler.d.ts +1 -0
  2087. package/dist/select/status/single/CropStatusHandler.d.ts.map +1 -0
  2088. package/dist/select/status/single/LineTextSelectionHelper.d.ts +4 -0
  2089. package/dist/select/status/single/LineTextSelectionHelper.d.ts.map +1 -0
  2090. package/dist/select/status/single/SingleBrokenLineStatusHandler.d.ts +8 -0
  2091. package/dist/select/status/single/SingleBrokenLineStatusHandler.d.ts.map +1 -0
  2092. package/dist/select/status/single/SingleContainerStatusHandler.d.ts +13 -0
  2093. package/dist/select/status/single/SingleContainerStatusHandler.d.ts.map +1 -0
  2094. package/dist/select/status/single/SingleCurveStatusHandler.d.ts +1 -0
  2095. package/dist/select/status/single/SingleCurveStatusHandler.d.ts.map +1 -0
  2096. package/dist/select/status/single/SingleDocContainerTextStatusHandler.d.ts +12 -0
  2097. package/dist/select/status/single/SingleDocContainerTextStatusHandler.d.ts.map +1 -0
  2098. package/dist/select/status/single/SingleEditLineTextStatusHandler.d.ts +7 -0
  2099. package/dist/select/status/single/SingleEditLineTextStatusHandler.d.ts.map +1 -0
  2100. package/dist/select/status/single/SingleEditableStatusHandler.d.ts +9 -0
  2101. package/dist/select/status/single/SingleEditableStatusHandler.d.ts.map +1 -0
  2102. package/dist/select/status/single/SingleGroupStatusHandler.d.ts +1 -0
  2103. package/dist/select/status/single/SingleGroupStatusHandler.d.ts.map +1 -0
  2104. package/dist/select/status/single/SingleLineStatusHandler.d.ts +1 -0
  2105. package/dist/select/status/single/SingleLineStatusHandler.d.ts.map +1 -0
  2106. package/dist/select/status/single/SingleMindmapNodeStatusHandler.d.ts +12 -0
  2107. package/dist/select/status/single/SingleMindmapNodeStatusHandler.d.ts.map +1 -0
  2108. package/dist/select/status/single/SinglePieRingStatusHandler.d.ts +9 -0
  2109. package/dist/select/status/single/SinglePieRingStatusHandler.d.ts.map +1 -0
  2110. package/dist/select/status/single/SinglePolyLineStatusHandler.d.ts +1 -0
  2111. package/dist/select/status/single/SinglePolyLineStatusHandler.d.ts.map +1 -0
  2112. package/dist/select/status/single/SingleSlideContainerStatusHandler.d.ts +1 -0
  2113. package/dist/select/status/single/SingleSlideContainerStatusHandler.d.ts.map +1 -0
  2114. package/dist/select/status/single/SingleSlideEditStatusHandler.d.ts +1 -0
  2115. package/dist/select/status/single/SingleSlideEditStatusHandler.d.ts.map +1 -0
  2116. package/dist/select/status/single/SingleSlideStatusHandler.d.ts +1 -0
  2117. package/dist/select/status/single/SingleSlideStatusHandler.d.ts.map +1 -0
  2118. package/dist/select/status/single/SingleStatusHandler.d.ts +3 -1
  2119. package/dist/select/status/single/SingleStatusHandler.d.ts.map +1 -0
  2120. package/dist/select/status/stream/CropStreamingStatusHandler.d.ts +9 -0
  2121. package/dist/select/status/stream/CropStreamingStatusHandler.d.ts.map +1 -0
  2122. package/dist/select/status/stream/DragLineTextStreamingStatusHandler.d.ts +9 -0
  2123. package/dist/select/status/stream/DragLineTextStreamingStatusHandler.d.ts.map +1 -0
  2124. package/dist/select/status/stream/GroupStreamingStatusHandler.d.ts +9 -0
  2125. package/dist/select/status/stream/GroupStreamingStatusHandler.d.ts.map +1 -0
  2126. package/dist/select/status/stream/RotateStreamingStatusHandler.d.ts +9 -0
  2127. package/dist/select/status/stream/RotateStreamingStatusHandler.d.ts.map +1 -0
  2128. package/dist/select/status/stream/SingleStretchStreamingStatusHandler.d.ts +9 -0
  2129. package/dist/select/status/stream/SingleStretchStreamingStatusHandler.d.ts.map +1 -0
  2130. package/dist/select/status/stream/StreamingStatusHandler.d.ts +9 -0
  2131. package/dist/select/status/stream/StreamingStatusHandler.d.ts.map +1 -0
  2132. package/dist/sequenceDiagram-2WXFIKYE-DHpeSu5J.js +2824 -0
  2133. package/dist/slide/SlideCoverManager.d.ts +3 -0
  2134. package/dist/slide/SlideCoverManager.d.ts.map +1 -0
  2135. package/dist/slide/SlideManager.d.ts +3 -1
  2136. package/dist/slide/SlideManager.d.ts.map +1 -0
  2137. package/dist/slot/ISlotInfo.d.ts +1 -0
  2138. package/dist/slot/ISlotInfo.d.ts.map +1 -0
  2139. package/dist/slot/SlotKeyType.d.ts +7 -1
  2140. package/dist/slot/SlotKeyType.d.ts.map +1 -0
  2141. package/dist/slot/SlotManager.d.ts +4 -0
  2142. package/dist/slot/SlotManager.d.ts.map +1 -0
  2143. package/dist/slot/index.d.ts +1 -0
  2144. package/dist/slot/index.d.ts.map +1 -0
  2145. package/dist/slot/info/ContextMenuInfo.d.ts +1 -0
  2146. package/dist/slot/info/ContextMenuInfo.d.ts.map +1 -0
  2147. package/dist/slot/info/ImageInfo.d.ts +1 -0
  2148. package/dist/slot/info/ImageInfo.d.ts.map +1 -0
  2149. package/dist/slot/info/QuickCreateInfo.d.ts +1 -0
  2150. package/dist/slot/info/QuickCreateInfo.d.ts.map +1 -0
  2151. package/dist/stateDiagram-RAJIS63D-DVzCgrpp.js +264 -0
  2152. package/dist/stateDiagram-v2-FVOUBMTO-D_lBnjpu.js +17 -0
  2153. package/dist/timeline-definition-YZTLITO2-BIpxM9AM.js +802 -0
  2154. package/dist/tool/ToolEnum.d.ts +9 -1
  2155. package/dist/tool/ToolEnum.d.ts.map +1 -0
  2156. package/dist/tool/ToolManager.d.ts +7 -3
  2157. package/dist/tool/ToolManager.d.ts.map +1 -0
  2158. package/dist/tool/WidgetEnum.d.ts +1 -0
  2159. package/dist/tool/WidgetEnum.d.ts.map +1 -0
  2160. package/dist/tool/index.d.ts +1 -0
  2161. package/dist/tool/index.d.ts.map +1 -0
  2162. package/dist/transform-QfIdy88w.js +1834 -0
  2163. package/dist/treemap-KZPCXAKY-YWs5tyJW.js +6 -0
  2164. package/dist/utils/CommonUtils.d.ts +1 -0
  2165. package/dist/utils/CommonUtils.d.ts.map +1 -0
  2166. package/dist/utils/IdGenerator.d.ts +2 -0
  2167. package/dist/utils/IdGenerator.d.ts.map +1 -0
  2168. package/dist/utils/MobileUtils.d.ts +1 -0
  2169. package/dist/utils/MobileUtils.d.ts.map +1 -0
  2170. package/dist/vennDiagram-LZ73GAT5-Bl0gRBuS.js +1565 -0
  2171. package/dist/xychartDiagram-JWTSCODW-BiNHE4Cc.js +1341 -0
  2172. package/package.json +10 -5
  2173. package/dist/action/executor/node/AddExecutor.d.ts +0 -13
  2174. package/dist/action/log/data/SelectNodeData.d.ts +0 -3
  2175. package/dist/plugin-hotkey/hotkey/text/EnterHotKey.d.ts +0 -14
  2176. package/dist/plugin-hotkey/hotkey/text/TextDeleteKey.d.ts +0 -11
  2177. package/dist/plugin-wheel/WheelUtils.d.ts +0 -12
@@ -0,0 +1,4681 @@
1
+ import { _ as dt, G as ke, S as Ze, l as Re, b as qe, a as Qe, o as Je, p as Ke, g as je, s as _e, x as tr, C as er, D as rr, E as ir, c as ye, af as Ee, aA as ve, h as ar, v as nr, aB as or, aC as sr } from "./mermaid.core-CLtuKi0e.js";
2
+ import { p as hr } from "./chunk-4BX2VUAB-zaPS7TSb.js";
3
+ import { p as lr } from "./mermaid-parser.core-Z-sfRN-r.js";
4
+ import { c as Se } from "./cytoscape.esm-ZmItrg9y.js";
5
+ import { c as me, g as fr } from "./index-BRgAJnwv.js";
6
+ import { s as cr } from "./transform-QfIdy88w.js";
7
+ var Fe = { exports: {} }, ue = { exports: {} }, de = { exports: {} }, Me;
8
+ function gr() {
9
+ return Me || (Me = 1, function(I, O) {
10
+ (function(P, N) {
11
+ I.exports = N();
12
+ })(me, function() {
13
+ return (
14
+ /******/
15
+ function(A) {
16
+ var P = {};
17
+ function N(u) {
18
+ if (P[u])
19
+ return P[u].exports;
20
+ var h = P[u] = {
21
+ /******/
22
+ i: u,
23
+ /******/
24
+ l: !1,
25
+ /******/
26
+ exports: {}
27
+ /******/
28
+ };
29
+ return A[u].call(h.exports, h, h.exports, N), h.l = !0, h.exports;
30
+ }
31
+ return N.m = A, N.c = P, N.i = function(u) {
32
+ return u;
33
+ }, N.d = function(u, h, a) {
34
+ N.o(u, h) || Object.defineProperty(u, h, {
35
+ /******/
36
+ configurable: !1,
37
+ /******/
38
+ enumerable: !0,
39
+ /******/
40
+ get: a
41
+ /******/
42
+ });
43
+ }, N.n = function(u) {
44
+ var h = u && u.__esModule ? (
45
+ /******/
46
+ function() {
47
+ return u.default;
48
+ }
49
+ ) : (
50
+ /******/
51
+ function() {
52
+ return u;
53
+ }
54
+ );
55
+ return N.d(h, "a", h), h;
56
+ }, N.o = function(u, h) {
57
+ return Object.prototype.hasOwnProperty.call(u, h);
58
+ }, N.p = "", N(N.s = 28);
59
+ }([
60
+ /* 0 */
61
+ /***/
62
+ function(A, P, N) {
63
+ function u() {
64
+ }
65
+ u.QUALITY = 1, u.DEFAULT_CREATE_BENDS_AS_NEEDED = !1, u.DEFAULT_INCREMENTAL = !1, u.DEFAULT_ANIMATION_ON_LAYOUT = !0, u.DEFAULT_ANIMATION_DURING_LAYOUT = !1, u.DEFAULT_ANIMATION_PERIOD = 50, u.DEFAULT_UNIFORM_LEAF_NODE_SIZES = !1, u.DEFAULT_GRAPH_MARGIN = 15, u.NODE_DIMENSIONS_INCLUDE_LABELS = !1, u.SIMPLE_NODE_SIZE = 40, u.SIMPLE_NODE_HALF_SIZE = u.SIMPLE_NODE_SIZE / 2, u.EMPTY_COMPOUND_NODE_SIZE = 40, u.MIN_EDGE_LENGTH = 1, u.WORLD_BOUNDARY = 1e6, u.INITIAL_WORLD_BOUNDARY = u.WORLD_BOUNDARY / 1e3, u.WORLD_CENTER_X = 1200, u.WORLD_CENTER_Y = 900, A.exports = u;
66
+ },
67
+ /* 1 */
68
+ /***/
69
+ function(A, P, N) {
70
+ var u = N(2), h = N(8), a = N(9);
71
+ function r(f, i, g) {
72
+ u.call(this, g), this.isOverlapingSourceAndTarget = !1, this.vGraphObject = g, this.bendpoints = [], this.source = f, this.target = i;
73
+ }
74
+ r.prototype = Object.create(u.prototype);
75
+ for (var e in u)
76
+ r[e] = u[e];
77
+ r.prototype.getSource = function() {
78
+ return this.source;
79
+ }, r.prototype.getTarget = function() {
80
+ return this.target;
81
+ }, r.prototype.isInterGraph = function() {
82
+ return this.isInterGraph;
83
+ }, r.prototype.getLength = function() {
84
+ return this.length;
85
+ }, r.prototype.isOverlapingSourceAndTarget = function() {
86
+ return this.isOverlapingSourceAndTarget;
87
+ }, r.prototype.getBendpoints = function() {
88
+ return this.bendpoints;
89
+ }, r.prototype.getLca = function() {
90
+ return this.lca;
91
+ }, r.prototype.getSourceInLca = function() {
92
+ return this.sourceInLca;
93
+ }, r.prototype.getTargetInLca = function() {
94
+ return this.targetInLca;
95
+ }, r.prototype.getOtherEnd = function(f) {
96
+ if (this.source === f)
97
+ return this.target;
98
+ if (this.target === f)
99
+ return this.source;
100
+ throw "Node is not incident with this edge";
101
+ }, r.prototype.getOtherEndInGraph = function(f, i) {
102
+ for (var g = this.getOtherEnd(f), t = i.getGraphManager().getRoot(); ; ) {
103
+ if (g.getOwner() == i)
104
+ return g;
105
+ if (g.getOwner() == t)
106
+ break;
107
+ g = g.getOwner().getParent();
108
+ }
109
+ return null;
110
+ }, r.prototype.updateLength = function() {
111
+ var f = new Array(4);
112
+ this.isOverlapingSourceAndTarget = h.getIntersection(this.target.getRect(), this.source.getRect(), f), this.isOverlapingSourceAndTarget || (this.lengthX = f[0] - f[2], this.lengthY = f[1] - f[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));
113
+ }, r.prototype.updateLengthSimple = function() {
114
+ 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);
115
+ }, A.exports = r;
116
+ },
117
+ /* 2 */
118
+ /***/
119
+ function(A, P, N) {
120
+ function u(h) {
121
+ this.vGraphObject = h;
122
+ }
123
+ A.exports = u;
124
+ },
125
+ /* 3 */
126
+ /***/
127
+ function(A, P, N) {
128
+ var u = N(2), h = N(10), a = N(13), r = N(0), e = N(16), f = N(5);
129
+ function i(t, o, s, c) {
130
+ s == null && c == null && (c = o), u.call(this, c), t.graphManager != null && (t = t.graphManager), this.estimatedSize = h.MIN_VALUE, this.inclusionTreeDepth = h.MAX_VALUE, this.vGraphObject = c, this.edges = [], this.graphManager = t, s != null && o != null ? this.rect = new a(o.x, o.y, s.width, s.height) : this.rect = new a();
131
+ }
132
+ i.prototype = Object.create(u.prototype);
133
+ for (var g in u)
134
+ i[g] = u[g];
135
+ i.prototype.getEdges = function() {
136
+ return this.edges;
137
+ }, i.prototype.getChild = function() {
138
+ return this.child;
139
+ }, i.prototype.getOwner = function() {
140
+ return this.owner;
141
+ }, i.prototype.getWidth = function() {
142
+ return this.rect.width;
143
+ }, i.prototype.setWidth = function(t) {
144
+ this.rect.width = t;
145
+ }, i.prototype.getHeight = function() {
146
+ return this.rect.height;
147
+ }, i.prototype.setHeight = function(t) {
148
+ this.rect.height = t;
149
+ }, i.prototype.getCenterX = function() {
150
+ return this.rect.x + this.rect.width / 2;
151
+ }, i.prototype.getCenterY = function() {
152
+ return this.rect.y + this.rect.height / 2;
153
+ }, i.prototype.getCenter = function() {
154
+ return new f(this.rect.x + this.rect.width / 2, this.rect.y + this.rect.height / 2);
155
+ }, i.prototype.getLocation = function() {
156
+ return new f(this.rect.x, this.rect.y);
157
+ }, i.prototype.getRect = function() {
158
+ return this.rect;
159
+ }, i.prototype.getDiagonal = function() {
160
+ return Math.sqrt(this.rect.width * this.rect.width + this.rect.height * this.rect.height);
161
+ }, i.prototype.getHalfTheDiagonal = function() {
162
+ return Math.sqrt(this.rect.height * this.rect.height + this.rect.width * this.rect.width) / 2;
163
+ }, i.prototype.setRect = function(t, o) {
164
+ this.rect.x = t.x, this.rect.y = t.y, this.rect.width = o.width, this.rect.height = o.height;
165
+ }, i.prototype.setCenter = function(t, o) {
166
+ this.rect.x = t - this.rect.width / 2, this.rect.y = o - this.rect.height / 2;
167
+ }, i.prototype.setLocation = function(t, o) {
168
+ this.rect.x = t, this.rect.y = o;
169
+ }, i.prototype.moveBy = function(t, o) {
170
+ this.rect.x += t, this.rect.y += o;
171
+ }, i.prototype.getEdgeListToNode = function(t) {
172
+ var o = [], s = this;
173
+ return s.edges.forEach(function(c) {
174
+ if (c.target == t) {
175
+ if (c.source != s) throw "Incorrect edge source!";
176
+ o.push(c);
177
+ }
178
+ }), o;
179
+ }, i.prototype.getEdgesBetween = function(t) {
180
+ var o = [], s = this;
181
+ return s.edges.forEach(function(c) {
182
+ if (!(c.source == s || c.target == s)) throw "Incorrect edge source and/or target";
183
+ (c.target == t || c.source == t) && o.push(c);
184
+ }), o;
185
+ }, i.prototype.getNeighborsList = function() {
186
+ var t = /* @__PURE__ */ new Set(), o = this;
187
+ return o.edges.forEach(function(s) {
188
+ if (s.source == o)
189
+ t.add(s.target);
190
+ else {
191
+ if (s.target != o)
192
+ throw "Incorrect incidency!";
193
+ t.add(s.source);
194
+ }
195
+ }), t;
196
+ }, i.prototype.withChildren = function() {
197
+ var t = /* @__PURE__ */ new Set(), o, s;
198
+ if (t.add(this), this.child != null)
199
+ for (var c = this.child.getNodes(), l = 0; l < c.length; l++)
200
+ o = c[l], s = o.withChildren(), s.forEach(function(T) {
201
+ t.add(T);
202
+ });
203
+ return t;
204
+ }, i.prototype.getNoOfChildren = function() {
205
+ var t = 0, o;
206
+ if (this.child == null)
207
+ t = 1;
208
+ else
209
+ for (var s = this.child.getNodes(), c = 0; c < s.length; c++)
210
+ o = s[c], t += o.getNoOfChildren();
211
+ return t == 0 && (t = 1), t;
212
+ }, i.prototype.getEstimatedSize = function() {
213
+ if (this.estimatedSize == h.MIN_VALUE)
214
+ throw "assert failed";
215
+ return this.estimatedSize;
216
+ }, i.prototype.calcEstimatedSize = function() {
217
+ 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);
218
+ }, i.prototype.scatter = function() {
219
+ var t, o, s = -r.INITIAL_WORLD_BOUNDARY, c = r.INITIAL_WORLD_BOUNDARY;
220
+ t = r.WORLD_CENTER_X + e.nextDouble() * (c - s) + s;
221
+ var l = -r.INITIAL_WORLD_BOUNDARY, T = r.INITIAL_WORLD_BOUNDARY;
222
+ o = r.WORLD_CENTER_Y + e.nextDouble() * (T - l) + l, this.rect.x = t, this.rect.y = o;
223
+ }, i.prototype.updateBounds = function() {
224
+ if (this.getChild() == null)
225
+ throw "assert failed";
226
+ if (this.getChild().getNodes().length != 0) {
227
+ var t = this.getChild();
228
+ if (t.updateBounds(!0), this.rect.x = t.getLeft(), this.rect.y = t.getTop(), this.setWidth(t.getRight() - t.getLeft()), this.setHeight(t.getBottom() - t.getTop()), r.NODE_DIMENSIONS_INCLUDE_LABELS) {
229
+ var o = t.getRight() - t.getLeft(), s = t.getBottom() - t.getTop();
230
+ this.labelWidth && (this.labelPosHorizontal == "left" ? (this.rect.x -= this.labelWidth, this.setWidth(o + this.labelWidth)) : this.labelPosHorizontal == "center" && this.labelWidth > o ? (this.rect.x -= (this.labelWidth - o) / 2, this.setWidth(this.labelWidth)) : this.labelPosHorizontal == "right" && this.setWidth(o + this.labelWidth)), this.labelHeight && (this.labelPosVertical == "top" ? (this.rect.y -= this.labelHeight, this.setHeight(s + this.labelHeight)) : this.labelPosVertical == "center" && this.labelHeight > s ? (this.rect.y -= (this.labelHeight - s) / 2, this.setHeight(this.labelHeight)) : this.labelPosVertical == "bottom" && this.setHeight(s + this.labelHeight));
231
+ }
232
+ }
233
+ }, i.prototype.getInclusionTreeDepth = function() {
234
+ if (this.inclusionTreeDepth == h.MAX_VALUE)
235
+ throw "assert failed";
236
+ return this.inclusionTreeDepth;
237
+ }, i.prototype.transform = function(t) {
238
+ var o = this.rect.x;
239
+ o > r.WORLD_BOUNDARY ? o = r.WORLD_BOUNDARY : o < -r.WORLD_BOUNDARY && (o = -r.WORLD_BOUNDARY);
240
+ var s = this.rect.y;
241
+ s > r.WORLD_BOUNDARY ? s = r.WORLD_BOUNDARY : s < -r.WORLD_BOUNDARY && (s = -r.WORLD_BOUNDARY);
242
+ var c = new f(o, s), l = t.inverseTransformPoint(c);
243
+ this.setLocation(l.x, l.y);
244
+ }, i.prototype.getLeft = function() {
245
+ return this.rect.x;
246
+ }, i.prototype.getRight = function() {
247
+ return this.rect.x + this.rect.width;
248
+ }, i.prototype.getTop = function() {
249
+ return this.rect.y;
250
+ }, i.prototype.getBottom = function() {
251
+ return this.rect.y + this.rect.height;
252
+ }, i.prototype.getParent = function() {
253
+ return this.owner == null ? null : this.owner.getParent();
254
+ }, A.exports = i;
255
+ },
256
+ /* 4 */
257
+ /***/
258
+ function(A, P, N) {
259
+ var u = N(0);
260
+ function h() {
261
+ }
262
+ for (var a in u)
263
+ h[a] = u[a];
264
+ h.MAX_ITERATIONS = 2500, h.DEFAULT_EDGE_LENGTH = 50, h.DEFAULT_SPRING_STRENGTH = 0.45, h.DEFAULT_REPULSION_STRENGTH = 4500, h.DEFAULT_GRAVITY_STRENGTH = 0.4, h.DEFAULT_COMPOUND_GRAVITY_STRENGTH = 1, h.DEFAULT_GRAVITY_RANGE_FACTOR = 3.8, h.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = 1.5, h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION = !0, h.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION = !0, h.DEFAULT_COOLING_FACTOR_INCREMENTAL = 0.3, h.COOLING_ADAPTATION_FACTOR = 0.33, h.ADAPTATION_LOWER_NODE_LIMIT = 1e3, h.ADAPTATION_UPPER_NODE_LIMIT = 5e3, h.MAX_NODE_DISPLACEMENT_INCREMENTAL = 100, h.MAX_NODE_DISPLACEMENT = h.MAX_NODE_DISPLACEMENT_INCREMENTAL * 3, h.MIN_REPULSION_DIST = h.DEFAULT_EDGE_LENGTH / 10, h.CONVERGENCE_CHECK_PERIOD = 100, h.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = 0.1, h.MIN_EDGE_LENGTH = 1, h.GRID_CALCULATION_CHECK_PERIOD = 10, A.exports = h;
265
+ },
266
+ /* 5 */
267
+ /***/
268
+ function(A, P, N) {
269
+ function u(h, a) {
270
+ h == null && a == null ? (this.x = 0, this.y = 0) : (this.x = h, this.y = a);
271
+ }
272
+ u.prototype.getX = function() {
273
+ return this.x;
274
+ }, u.prototype.getY = function() {
275
+ return this.y;
276
+ }, u.prototype.setX = function(h) {
277
+ this.x = h;
278
+ }, u.prototype.setY = function(h) {
279
+ this.y = h;
280
+ }, u.prototype.getDifference = function(h) {
281
+ return new DimensionD(this.x - h.x, this.y - h.y);
282
+ }, u.prototype.getCopy = function() {
283
+ return new u(this.x, this.y);
284
+ }, u.prototype.translate = function(h) {
285
+ return this.x += h.width, this.y += h.height, this;
286
+ }, A.exports = u;
287
+ },
288
+ /* 6 */
289
+ /***/
290
+ function(A, P, N) {
291
+ var u = N(2), h = N(10), a = N(0), r = N(7), e = N(3), f = N(1), i = N(13), g = N(12), t = N(11);
292
+ function o(c, l, T) {
293
+ u.call(this, T), this.estimatedSize = h.MIN_VALUE, this.margin = a.DEFAULT_GRAPH_MARGIN, this.edges = [], this.nodes = [], this.isConnected = !1, this.parent = c, l != null && l instanceof r ? this.graphManager = l : l != null && l instanceof Layout && (this.graphManager = l.graphManager);
294
+ }
295
+ o.prototype = Object.create(u.prototype);
296
+ for (var s in u)
297
+ o[s] = u[s];
298
+ o.prototype.getNodes = function() {
299
+ return this.nodes;
300
+ }, o.prototype.getEdges = function() {
301
+ return this.edges;
302
+ }, o.prototype.getGraphManager = function() {
303
+ return this.graphManager;
304
+ }, o.prototype.getParent = function() {
305
+ return this.parent;
306
+ }, o.prototype.getLeft = function() {
307
+ return this.left;
308
+ }, o.prototype.getRight = function() {
309
+ return this.right;
310
+ }, o.prototype.getTop = function() {
311
+ return this.top;
312
+ }, o.prototype.getBottom = function() {
313
+ return this.bottom;
314
+ }, o.prototype.isConnected = function() {
315
+ return this.isConnected;
316
+ }, o.prototype.add = function(c, l, T) {
317
+ if (l == null && T == null) {
318
+ var d = c;
319
+ if (this.graphManager == null)
320
+ throw "Graph has no graph mgr!";
321
+ if (this.getNodes().indexOf(d) > -1)
322
+ throw "Node already in graph!";
323
+ return d.owner = this, this.getNodes().push(d), d;
324
+ } else {
325
+ var v = c;
326
+ if (!(this.getNodes().indexOf(l) > -1 && this.getNodes().indexOf(T) > -1))
327
+ throw "Source or target not in graph!";
328
+ if (!(l.owner == T.owner && l.owner == this))
329
+ throw "Both owners must be this graph!";
330
+ return l.owner != T.owner ? null : (v.source = l, v.target = T, v.isInterGraph = !1, this.getEdges().push(v), l.edges.push(v), T != l && T.edges.push(v), v);
331
+ }
332
+ }, o.prototype.remove = function(c) {
333
+ var l = c;
334
+ if (c instanceof e) {
335
+ if (l == null)
336
+ throw "Node is null!";
337
+ if (!(l.owner != null && l.owner == this))
338
+ throw "Owner graph is invalid!";
339
+ if (this.graphManager == null)
340
+ throw "Owner graph manager is invalid!";
341
+ for (var T = l.edges.slice(), d, v = T.length, L = 0; L < v; L++)
342
+ d = T[L], d.isInterGraph ? this.graphManager.remove(d) : d.source.owner.remove(d);
343
+ var S = this.nodes.indexOf(l);
344
+ if (S == -1)
345
+ throw "Node not in owner node list!";
346
+ this.nodes.splice(S, 1);
347
+ } else if (c instanceof f) {
348
+ var d = c;
349
+ if (d == null)
350
+ throw "Edge is null!";
351
+ if (!(d.source != null && d.target != null))
352
+ throw "Source and/or target is null!";
353
+ if (!(d.source.owner != null && d.target.owner != null && d.source.owner == this && d.target.owner == this))
354
+ throw "Source and/or target owner is invalid!";
355
+ var C = d.source.edges.indexOf(d), G = d.target.edges.indexOf(d);
356
+ if (!(C > -1 && G > -1))
357
+ throw "Source and/or target doesn't know this edge!";
358
+ d.source.edges.splice(C, 1), d.target != d.source && d.target.edges.splice(G, 1);
359
+ var S = d.source.owner.getEdges().indexOf(d);
360
+ if (S == -1)
361
+ throw "Not in owner's edge list!";
362
+ d.source.owner.getEdges().splice(S, 1);
363
+ }
364
+ }, o.prototype.updateLeftTop = function() {
365
+ for (var c = h.MAX_VALUE, l = h.MAX_VALUE, T, d, v, L = this.getNodes(), S = L.length, C = 0; C < S; C++) {
366
+ var G = L[C];
367
+ T = G.getTop(), d = G.getLeft(), c > T && (c = T), l > d && (l = d);
368
+ }
369
+ return c == h.MAX_VALUE ? null : (L[0].getParent().paddingLeft != null ? v = L[0].getParent().paddingLeft : v = this.margin, this.left = l - v, this.top = c - v, new g(this.left, this.top));
370
+ }, o.prototype.updateBounds = function(c) {
371
+ for (var l = h.MAX_VALUE, T = -h.MAX_VALUE, d = h.MAX_VALUE, v = -h.MAX_VALUE, L, S, C, G, K, X = this.nodes, Q = X.length, D = 0; D < Q; D++) {
372
+ var rt = X[D];
373
+ c && rt.child != null && rt.updateBounds(), L = rt.getLeft(), S = rt.getRight(), C = rt.getTop(), G = rt.getBottom(), l > L && (l = L), T < S && (T = S), d > C && (d = C), v < G && (v = G);
374
+ }
375
+ var n = new i(l, d, T - l, v - d);
376
+ l == h.MAX_VALUE && (this.left = this.parent.getLeft(), this.right = this.parent.getRight(), this.top = this.parent.getTop(), this.bottom = this.parent.getBottom()), X[0].getParent().paddingLeft != null ? K = X[0].getParent().paddingLeft : K = this.margin, this.left = n.x - K, this.right = n.x + n.width + K, this.top = n.y - K, this.bottom = n.y + n.height + K;
377
+ }, o.calculateBounds = function(c) {
378
+ for (var l = h.MAX_VALUE, T = -h.MAX_VALUE, d = h.MAX_VALUE, v = -h.MAX_VALUE, L, S, C, G, K = c.length, X = 0; X < K; X++) {
379
+ var Q = c[X];
380
+ L = Q.getLeft(), S = Q.getRight(), C = Q.getTop(), G = Q.getBottom(), l > L && (l = L), T < S && (T = S), d > C && (d = C), v < G && (v = G);
381
+ }
382
+ var D = new i(l, d, T - l, v - d);
383
+ return D;
384
+ }, o.prototype.getInclusionTreeDepth = function() {
385
+ return this == this.graphManager.getRoot() ? 1 : this.parent.getInclusionTreeDepth();
386
+ }, o.prototype.getEstimatedSize = function() {
387
+ if (this.estimatedSize == h.MIN_VALUE)
388
+ throw "assert failed";
389
+ return this.estimatedSize;
390
+ }, o.prototype.calcEstimatedSize = function() {
391
+ for (var c = 0, l = this.nodes, T = l.length, d = 0; d < T; d++) {
392
+ var v = l[d];
393
+ c += v.calcEstimatedSize();
394
+ }
395
+ return c == 0 ? this.estimatedSize = a.EMPTY_COMPOUND_NODE_SIZE : this.estimatedSize = c / Math.sqrt(this.nodes.length), this.estimatedSize;
396
+ }, o.prototype.updateConnected = function() {
397
+ var c = this;
398
+ if (this.nodes.length == 0) {
399
+ this.isConnected = !0;
400
+ return;
401
+ }
402
+ var l = new t(), T = /* @__PURE__ */ new Set(), d = this.nodes[0], v, L, S = d.withChildren();
403
+ for (S.forEach(function(D) {
404
+ l.push(D), T.add(D);
405
+ }); l.length !== 0; ) {
406
+ d = l.shift(), v = d.getEdges();
407
+ for (var C = v.length, G = 0; G < C; G++) {
408
+ var K = v[G];
409
+ if (L = K.getOtherEndInGraph(d, this), L != null && !T.has(L)) {
410
+ var X = L.withChildren();
411
+ X.forEach(function(D) {
412
+ l.push(D), T.add(D);
413
+ });
414
+ }
415
+ }
416
+ }
417
+ if (this.isConnected = !1, T.size >= this.nodes.length) {
418
+ var Q = 0;
419
+ T.forEach(function(D) {
420
+ D.owner == c && Q++;
421
+ }), Q == this.nodes.length && (this.isConnected = !0);
422
+ }
423
+ }, A.exports = o;
424
+ },
425
+ /* 7 */
426
+ /***/
427
+ function(A, P, N) {
428
+ var u, h = N(1);
429
+ function a(r) {
430
+ u = N(6), this.layout = r, this.graphs = [], this.edges = [];
431
+ }
432
+ a.prototype.addRoot = function() {
433
+ var r = this.layout.newGraph(), e = this.layout.newNode(null), f = this.add(r, e);
434
+ return this.setRootGraph(f), this.rootGraph;
435
+ }, a.prototype.add = function(r, e, f, i, g) {
436
+ if (f == null && i == null && g == null) {
437
+ if (r == null)
438
+ throw "Graph is null!";
439
+ if (e == null)
440
+ throw "Parent node is null!";
441
+ if (this.graphs.indexOf(r) > -1)
442
+ throw "Graph already in this graph mgr!";
443
+ if (this.graphs.push(r), r.parent != null)
444
+ throw "Already has a parent!";
445
+ if (e.child != null)
446
+ throw "Already has a child!";
447
+ return r.parent = e, e.child = r, r;
448
+ } else {
449
+ g = f, i = e, f = r;
450
+ var t = i.getOwner(), o = g.getOwner();
451
+ if (!(t != null && t.getGraphManager() == this))
452
+ throw "Source not in this graph mgr!";
453
+ if (!(o != null && o.getGraphManager() == this))
454
+ throw "Target not in this graph mgr!";
455
+ if (t == o)
456
+ return f.isInterGraph = !1, t.add(f, i, g);
457
+ if (f.isInterGraph = !0, f.source = i, f.target = g, this.edges.indexOf(f) > -1)
458
+ throw "Edge already in inter-graph edge list!";
459
+ if (this.edges.push(f), !(f.source != null && f.target != null))
460
+ throw "Edge source and/or target is null!";
461
+ if (!(f.source.edges.indexOf(f) == -1 && f.target.edges.indexOf(f) == -1))
462
+ throw "Edge already in source and/or target incidency list!";
463
+ return f.source.edges.push(f), f.target.edges.push(f), f;
464
+ }
465
+ }, a.prototype.remove = function(r) {
466
+ if (r instanceof u) {
467
+ var e = r;
468
+ if (e.getGraphManager() != this)
469
+ throw "Graph not in this graph mgr";
470
+ if (!(e == this.rootGraph || e.parent != null && e.parent.graphManager == this))
471
+ throw "Invalid parent node!";
472
+ var f = [];
473
+ f = f.concat(e.getEdges());
474
+ for (var i, g = f.length, t = 0; t < g; t++)
475
+ i = f[t], e.remove(i);
476
+ var o = [];
477
+ o = o.concat(e.getNodes());
478
+ var s;
479
+ g = o.length;
480
+ for (var t = 0; t < g; t++)
481
+ s = o[t], e.remove(s);
482
+ e == this.rootGraph && this.setRootGraph(null);
483
+ var c = this.graphs.indexOf(e);
484
+ this.graphs.splice(c, 1), e.parent = null;
485
+ } else if (r instanceof h) {
486
+ if (i = r, i == null)
487
+ throw "Edge is null!";
488
+ if (!i.isInterGraph)
489
+ throw "Not an inter-graph edge!";
490
+ if (!(i.source != null && i.target != null))
491
+ throw "Source and/or target is null!";
492
+ if (!(i.source.edges.indexOf(i) != -1 && i.target.edges.indexOf(i) != -1))
493
+ throw "Source and/or target doesn't know this edge!";
494
+ var c = i.source.edges.indexOf(i);
495
+ if (i.source.edges.splice(c, 1), c = i.target.edges.indexOf(i), i.target.edges.splice(c, 1), !(i.source.owner != null && i.source.owner.getGraphManager() != null))
496
+ throw "Edge owner graph or owner graph manager is null!";
497
+ if (i.source.owner.getGraphManager().edges.indexOf(i) == -1)
498
+ throw "Not in owner graph manager's edge list!";
499
+ var c = i.source.owner.getGraphManager().edges.indexOf(i);
500
+ i.source.owner.getGraphManager().edges.splice(c, 1);
501
+ }
502
+ }, a.prototype.updateBounds = function() {
503
+ this.rootGraph.updateBounds(!0);
504
+ }, a.prototype.getGraphs = function() {
505
+ return this.graphs;
506
+ }, a.prototype.getAllNodes = function() {
507
+ if (this.allNodes == null) {
508
+ for (var r = [], e = this.getGraphs(), f = e.length, i = 0; i < f; i++)
509
+ r = r.concat(e[i].getNodes());
510
+ this.allNodes = r;
511
+ }
512
+ return this.allNodes;
513
+ }, a.prototype.resetAllNodes = function() {
514
+ this.allNodes = null;
515
+ }, a.prototype.resetAllEdges = function() {
516
+ this.allEdges = null;
517
+ }, a.prototype.resetAllNodesToApplyGravitation = function() {
518
+ this.allNodesToApplyGravitation = null;
519
+ }, a.prototype.getAllEdges = function() {
520
+ if (this.allEdges == null) {
521
+ var r = [], e = this.getGraphs();
522
+ e.length;
523
+ for (var f = 0; f < e.length; f++)
524
+ r = r.concat(e[f].getEdges());
525
+ r = r.concat(this.edges), this.allEdges = r;
526
+ }
527
+ return this.allEdges;
528
+ }, a.prototype.getAllNodesToApplyGravitation = function() {
529
+ return this.allNodesToApplyGravitation;
530
+ }, a.prototype.setAllNodesToApplyGravitation = function(r) {
531
+ if (this.allNodesToApplyGravitation != null)
532
+ throw "assert failed";
533
+ this.allNodesToApplyGravitation = r;
534
+ }, a.prototype.getRoot = function() {
535
+ return this.rootGraph;
536
+ }, a.prototype.setRootGraph = function(r) {
537
+ if (r.getGraphManager() != this)
538
+ throw "Root not in this graph mgr!";
539
+ this.rootGraph = r, r.parent == null && (r.parent = this.layout.newNode("Root node"));
540
+ }, a.prototype.getLayout = function() {
541
+ return this.layout;
542
+ }, a.prototype.isOneAncestorOfOther = function(r, e) {
543
+ if (!(r != null && e != null))
544
+ throw "assert failed";
545
+ if (r == e)
546
+ return !0;
547
+ var f = r.getOwner(), i;
548
+ do {
549
+ if (i = f.getParent(), i == null)
550
+ break;
551
+ if (i == e)
552
+ return !0;
553
+ if (f = i.getOwner(), f == null)
554
+ break;
555
+ } while (!0);
556
+ f = e.getOwner();
557
+ do {
558
+ if (i = f.getParent(), i == null)
559
+ break;
560
+ if (i == r)
561
+ return !0;
562
+ if (f = i.getOwner(), f == null)
563
+ break;
564
+ } while (!0);
565
+ return !1;
566
+ }, a.prototype.calcLowestCommonAncestors = function() {
567
+ for (var r, e, f, i, g, t = this.getAllEdges(), o = t.length, s = 0; s < o; s++) {
568
+ if (r = t[s], e = r.source, f = r.target, r.lca = null, r.sourceInLca = e, r.targetInLca = f, e == f) {
569
+ r.lca = e.getOwner();
570
+ continue;
571
+ }
572
+ for (i = e.getOwner(); r.lca == null; ) {
573
+ for (r.targetInLca = f, g = f.getOwner(); r.lca == null; ) {
574
+ if (g == i) {
575
+ r.lca = g;
576
+ break;
577
+ }
578
+ if (g == this.rootGraph)
579
+ break;
580
+ if (r.lca != null)
581
+ throw "assert failed";
582
+ r.targetInLca = g.getParent(), g = r.targetInLca.getOwner();
583
+ }
584
+ if (i == this.rootGraph)
585
+ break;
586
+ r.lca == null && (r.sourceInLca = i.getParent(), i = r.sourceInLca.getOwner());
587
+ }
588
+ if (r.lca == null)
589
+ throw "assert failed";
590
+ }
591
+ }, a.prototype.calcLowestCommonAncestor = function(r, e) {
592
+ if (r == e)
593
+ return r.getOwner();
594
+ var f = r.getOwner();
595
+ do {
596
+ if (f == null)
597
+ break;
598
+ var i = e.getOwner();
599
+ do {
600
+ if (i == null)
601
+ break;
602
+ if (i == f)
603
+ return i;
604
+ i = i.getParent().getOwner();
605
+ } while (!0);
606
+ f = f.getParent().getOwner();
607
+ } while (!0);
608
+ return f;
609
+ }, a.prototype.calcInclusionTreeDepths = function(r, e) {
610
+ r == null && e == null && (r = this.rootGraph, e = 1);
611
+ for (var f, i = r.getNodes(), g = i.length, t = 0; t < g; t++)
612
+ f = i[t], f.inclusionTreeDepth = e, f.child != null && this.calcInclusionTreeDepths(f.child, e + 1);
613
+ }, a.prototype.includesInvalidEdge = function() {
614
+ for (var r, e = [], f = this.edges.length, i = 0; i < f; i++)
615
+ r = this.edges[i], this.isOneAncestorOfOther(r.source, r.target) && e.push(r);
616
+ for (var i = 0; i < e.length; i++)
617
+ this.remove(e[i]);
618
+ return !1;
619
+ }, A.exports = a;
620
+ },
621
+ /* 8 */
622
+ /***/
623
+ function(A, P, N) {
624
+ var u = N(12);
625
+ function h() {
626
+ }
627
+ h.calcSeparationAmount = function(a, r, e, f) {
628
+ if (!a.intersects(r))
629
+ throw "assert failed";
630
+ var i = new Array(2);
631
+ this.decideDirectionsForOverlappingNodes(a, r, i), e[0] = Math.min(a.getRight(), r.getRight()) - Math.max(a.x, r.x), e[1] = Math.min(a.getBottom(), r.getBottom()) - Math.max(a.y, r.y), a.getX() <= r.getX() && a.getRight() >= r.getRight() ? e[0] += Math.min(r.getX() - a.getX(), a.getRight() - r.getRight()) : r.getX() <= a.getX() && r.getRight() >= a.getRight() && (e[0] += Math.min(a.getX() - r.getX(), r.getRight() - a.getRight())), a.getY() <= r.getY() && a.getBottom() >= r.getBottom() ? e[1] += Math.min(r.getY() - a.getY(), a.getBottom() - r.getBottom()) : r.getY() <= a.getY() && r.getBottom() >= a.getBottom() && (e[1] += Math.min(a.getY() - r.getY(), r.getBottom() - a.getBottom()));
632
+ var g = Math.abs((r.getCenterY() - a.getCenterY()) / (r.getCenterX() - a.getCenterX()));
633
+ r.getCenterY() === a.getCenterY() && r.getCenterX() === a.getCenterX() && (g = 1);
634
+ var t = g * e[0], o = e[1] / g;
635
+ e[0] < o ? o = e[0] : t = e[1], e[0] = -1 * i[0] * (o / 2 + f), e[1] = -1 * i[1] * (t / 2 + f);
636
+ }, h.decideDirectionsForOverlappingNodes = function(a, r, e) {
637
+ a.getCenterX() < r.getCenterX() ? e[0] = -1 : e[0] = 1, a.getCenterY() < r.getCenterY() ? e[1] = -1 : e[1] = 1;
638
+ }, h.getIntersection2 = function(a, r, e) {
639
+ var f = a.getCenterX(), i = a.getCenterY(), g = r.getCenterX(), t = r.getCenterY();
640
+ if (a.intersects(r))
641
+ return e[0] = f, e[1] = i, e[2] = g, e[3] = t, !0;
642
+ var o = a.getX(), s = a.getY(), c = a.getRight(), l = a.getX(), T = a.getBottom(), d = a.getRight(), v = a.getWidthHalf(), L = a.getHeightHalf(), S = r.getX(), C = r.getY(), G = r.getRight(), K = r.getX(), X = r.getBottom(), Q = r.getRight(), D = r.getWidthHalf(), rt = r.getHeightHalf(), n = !1, m = !1;
643
+ if (f === g) {
644
+ if (i > t)
645
+ return e[0] = f, e[1] = s, e[2] = g, e[3] = X, !1;
646
+ if (i < t)
647
+ return e[0] = f, e[1] = T, e[2] = g, e[3] = C, !1;
648
+ } else if (i === t) {
649
+ if (f > g)
650
+ return e[0] = o, e[1] = i, e[2] = G, e[3] = t, !1;
651
+ if (f < g)
652
+ return e[0] = c, e[1] = i, e[2] = S, e[3] = t, !1;
653
+ } else {
654
+ var p = a.height / a.width, E = r.height / r.width, y = (t - i) / (g - f), R = void 0, w = void 0, F = void 0, W = void 0, x = void 0, Z = void 0;
655
+ if (-p === y ? f > g ? (e[0] = l, e[1] = T, n = !0) : (e[0] = c, e[1] = s, n = !0) : p === y && (f > g ? (e[0] = o, e[1] = s, n = !0) : (e[0] = d, e[1] = T, n = !0)), -E === y ? g > f ? (e[2] = K, e[3] = X, m = !0) : (e[2] = G, e[3] = C, m = !0) : E === y && (g > f ? (e[2] = S, e[3] = C, m = !0) : (e[2] = Q, e[3] = X, m = !0)), n && m)
656
+ return !1;
657
+ if (f > g ? i > t ? (R = this.getCardinalDirection(p, y, 4), w = this.getCardinalDirection(E, y, 2)) : (R = this.getCardinalDirection(-p, y, 3), w = this.getCardinalDirection(-E, y, 1)) : i > t ? (R = this.getCardinalDirection(-p, y, 1), w = this.getCardinalDirection(-E, y, 3)) : (R = this.getCardinalDirection(p, y, 2), w = this.getCardinalDirection(E, y, 4)), !n)
658
+ switch (R) {
659
+ case 1:
660
+ W = s, F = f + -L / y, e[0] = F, e[1] = W;
661
+ break;
662
+ case 2:
663
+ F = d, W = i + v * y, e[0] = F, e[1] = W;
664
+ break;
665
+ case 3:
666
+ W = T, F = f + L / y, e[0] = F, e[1] = W;
667
+ break;
668
+ case 4:
669
+ F = l, W = i + -v * y, e[0] = F, e[1] = W;
670
+ break;
671
+ }
672
+ if (!m)
673
+ switch (w) {
674
+ case 1:
675
+ Z = C, x = g + -rt / y, e[2] = x, e[3] = Z;
676
+ break;
677
+ case 2:
678
+ x = Q, Z = t + D * y, e[2] = x, e[3] = Z;
679
+ break;
680
+ case 3:
681
+ Z = X, x = g + rt / y, e[2] = x, e[3] = Z;
682
+ break;
683
+ case 4:
684
+ x = K, Z = t + -D * y, e[2] = x, e[3] = Z;
685
+ break;
686
+ }
687
+ }
688
+ return !1;
689
+ }, h.getCardinalDirection = function(a, r, e) {
690
+ return a > r ? e : 1 + e % 4;
691
+ }, h.getIntersection = function(a, r, e, f) {
692
+ if (f == null)
693
+ return this.getIntersection2(a, r, e);
694
+ var i = a.x, g = a.y, t = r.x, o = r.y, s = e.x, c = e.y, l = f.x, T = f.y, d = void 0, v = void 0, L = void 0, S = void 0, C = void 0, G = void 0, K = void 0, X = void 0, Q = void 0;
695
+ return L = o - g, C = i - t, K = t * g - i * o, S = T - c, G = s - l, X = l * c - s * T, Q = L * G - S * C, Q === 0 ? null : (d = (C * X - G * K) / Q, v = (S * K - L * X) / Q, new u(d, v));
696
+ }, h.angleOfVector = function(a, r, e, f) {
697
+ var i = void 0;
698
+ return a !== e ? (i = Math.atan((f - r) / (e - a)), e < a ? i += Math.PI : f < r && (i += this.TWO_PI)) : f < r ? i = this.ONE_AND_HALF_PI : i = this.HALF_PI, i;
699
+ }, h.doIntersect = function(a, r, e, f) {
700
+ var i = a.x, g = a.y, t = r.x, o = r.y, s = e.x, c = e.y, l = f.x, T = f.y, d = (t - i) * (T - c) - (l - s) * (o - g);
701
+ if (d === 0)
702
+ return !1;
703
+ var v = ((T - c) * (l - i) + (s - l) * (T - g)) / d, L = ((g - o) * (l - i) + (t - i) * (T - g)) / d;
704
+ return 0 < v && v < 1 && 0 < L && L < 1;
705
+ }, h.findCircleLineIntersections = function(a, r, e, f, i, g, t) {
706
+ var o = (e - a) * (e - a) + (f - r) * (f - r), s = 2 * ((a - i) * (e - a) + (r - g) * (f - r)), c = (a - i) * (a - i) + (r - g) * (r - g) - t * t, l = s * s - 4 * o * c;
707
+ if (l >= 0) {
708
+ var T = (-s + Math.sqrt(s * s - 4 * o * c)) / (2 * o), d = (-s - Math.sqrt(s * s - 4 * o * c)) / (2 * o), v = null;
709
+ return T >= 0 && T <= 1 ? [T] : d >= 0 && d <= 1 ? [d] : v;
710
+ } else return null;
711
+ }, h.HALF_PI = 0.5 * Math.PI, h.ONE_AND_HALF_PI = 1.5 * Math.PI, h.TWO_PI = 2 * Math.PI, h.THREE_PI = 3 * Math.PI, A.exports = h;
712
+ },
713
+ /* 9 */
714
+ /***/
715
+ function(A, P, N) {
716
+ function u() {
717
+ }
718
+ u.sign = function(h) {
719
+ return h > 0 ? 1 : h < 0 ? -1 : 0;
720
+ }, u.floor = function(h) {
721
+ return h < 0 ? Math.ceil(h) : Math.floor(h);
722
+ }, u.ceil = function(h) {
723
+ return h < 0 ? Math.floor(h) : Math.ceil(h);
724
+ }, A.exports = u;
725
+ },
726
+ /* 10 */
727
+ /***/
728
+ function(A, P, N) {
729
+ function u() {
730
+ }
731
+ u.MAX_VALUE = 2147483647, u.MIN_VALUE = -2147483648, A.exports = u;
732
+ },
733
+ /* 11 */
734
+ /***/
735
+ function(A, P, N) {
736
+ var u = /* @__PURE__ */ function() {
737
+ function i(g, t) {
738
+ for (var o = 0; o < t.length; o++) {
739
+ var s = t[o];
740
+ s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(g, s.key, s);
741
+ }
742
+ }
743
+ return function(g, t, o) {
744
+ return t && i(g.prototype, t), o && i(g, o), g;
745
+ };
746
+ }();
747
+ function h(i, g) {
748
+ if (!(i instanceof g))
749
+ throw new TypeError("Cannot call a class as a function");
750
+ }
751
+ var a = function(g) {
752
+ return { value: g, next: null, prev: null };
753
+ }, r = function(g, t, o, s) {
754
+ return g !== null ? g.next = t : s.head = t, o !== null ? o.prev = t : s.tail = t, t.prev = g, t.next = o, s.length++, t;
755
+ }, e = function(g, t) {
756
+ var o = g.prev, s = g.next;
757
+ return o !== null ? o.next = s : t.head = s, s !== null ? s.prev = o : t.tail = o, g.prev = g.next = null, t.length--, g;
758
+ }, f = function() {
759
+ function i(g) {
760
+ var t = this;
761
+ h(this, i), this.length = 0, this.head = null, this.tail = null, g != null && g.forEach(function(o) {
762
+ return t.push(o);
763
+ });
764
+ }
765
+ return u(i, [{
766
+ key: "size",
767
+ value: function() {
768
+ return this.length;
769
+ }
770
+ }, {
771
+ key: "insertBefore",
772
+ value: function(t, o) {
773
+ return r(o.prev, a(t), o, this);
774
+ }
775
+ }, {
776
+ key: "insertAfter",
777
+ value: function(t, o) {
778
+ return r(o, a(t), o.next, this);
779
+ }
780
+ }, {
781
+ key: "insertNodeBefore",
782
+ value: function(t, o) {
783
+ return r(o.prev, t, o, this);
784
+ }
785
+ }, {
786
+ key: "insertNodeAfter",
787
+ value: function(t, o) {
788
+ return r(o, t, o.next, this);
789
+ }
790
+ }, {
791
+ key: "push",
792
+ value: function(t) {
793
+ return r(this.tail, a(t), null, this);
794
+ }
795
+ }, {
796
+ key: "unshift",
797
+ value: function(t) {
798
+ return r(null, a(t), this.head, this);
799
+ }
800
+ }, {
801
+ key: "remove",
802
+ value: function(t) {
803
+ return e(t, this);
804
+ }
805
+ }, {
806
+ key: "pop",
807
+ value: function() {
808
+ return e(this.tail, this).value;
809
+ }
810
+ }, {
811
+ key: "popNode",
812
+ value: function() {
813
+ return e(this.tail, this);
814
+ }
815
+ }, {
816
+ key: "shift",
817
+ value: function() {
818
+ return e(this.head, this).value;
819
+ }
820
+ }, {
821
+ key: "shiftNode",
822
+ value: function() {
823
+ return e(this.head, this);
824
+ }
825
+ }, {
826
+ key: "get_object_at",
827
+ value: function(t) {
828
+ if (t <= this.length()) {
829
+ for (var o = 1, s = this.head; o < t; )
830
+ s = s.next, o++;
831
+ return s.value;
832
+ }
833
+ }
834
+ }, {
835
+ key: "set_object_at",
836
+ value: function(t, o) {
837
+ if (t <= this.length()) {
838
+ for (var s = 1, c = this.head; s < t; )
839
+ c = c.next, s++;
840
+ c.value = o;
841
+ }
842
+ }
843
+ }]), i;
844
+ }();
845
+ A.exports = f;
846
+ },
847
+ /* 12 */
848
+ /***/
849
+ function(A, P, N) {
850
+ function u(h, a, r) {
851
+ this.x = null, this.y = null, h == null && a == null && r == null ? (this.x = 0, this.y = 0) : typeof h == "number" && typeof a == "number" && r == null ? (this.x = h, this.y = a) : h.constructor.name == "Point" && a == null && r == null && (r = h, this.x = r.x, this.y = r.y);
852
+ }
853
+ u.prototype.getX = function() {
854
+ return this.x;
855
+ }, u.prototype.getY = function() {
856
+ return this.y;
857
+ }, u.prototype.getLocation = function() {
858
+ return new u(this.x, this.y);
859
+ }, u.prototype.setLocation = function(h, a, r) {
860
+ h.constructor.name == "Point" && a == null && r == null ? (r = h, this.setLocation(r.x, r.y)) : typeof h == "number" && typeof a == "number" && r == null && (parseInt(h) == h && parseInt(a) == a ? this.move(h, a) : (this.x = Math.floor(h + 0.5), this.y = Math.floor(a + 0.5)));
861
+ }, u.prototype.move = function(h, a) {
862
+ this.x = h, this.y = a;
863
+ }, u.prototype.translate = function(h, a) {
864
+ this.x += h, this.y += a;
865
+ }, u.prototype.equals = function(h) {
866
+ if (h.constructor.name == "Point") {
867
+ var a = h;
868
+ return this.x == a.x && this.y == a.y;
869
+ }
870
+ return this == h;
871
+ }, u.prototype.toString = function() {
872
+ return new u().constructor.name + "[x=" + this.x + ",y=" + this.y + "]";
873
+ }, A.exports = u;
874
+ },
875
+ /* 13 */
876
+ /***/
877
+ function(A, P, N) {
878
+ function u(h, a, r, e) {
879
+ this.x = 0, this.y = 0, this.width = 0, this.height = 0, h != null && a != null && r != null && e != null && (this.x = h, this.y = a, this.width = r, this.height = e);
880
+ }
881
+ u.prototype.getX = function() {
882
+ return this.x;
883
+ }, u.prototype.setX = function(h) {
884
+ this.x = h;
885
+ }, u.prototype.getY = function() {
886
+ return this.y;
887
+ }, u.prototype.setY = function(h) {
888
+ this.y = h;
889
+ }, u.prototype.getWidth = function() {
890
+ return this.width;
891
+ }, u.prototype.setWidth = function(h) {
892
+ this.width = h;
893
+ }, u.prototype.getHeight = function() {
894
+ return this.height;
895
+ }, u.prototype.setHeight = function(h) {
896
+ this.height = h;
897
+ }, u.prototype.getRight = function() {
898
+ return this.x + this.width;
899
+ }, u.prototype.getBottom = function() {
900
+ return this.y + this.height;
901
+ }, u.prototype.intersects = function(h) {
902
+ return !(this.getRight() < h.x || this.getBottom() < h.y || h.getRight() < this.x || h.getBottom() < this.y);
903
+ }, u.prototype.getCenterX = function() {
904
+ return this.x + this.width / 2;
905
+ }, u.prototype.getMinX = function() {
906
+ return this.getX();
907
+ }, u.prototype.getMaxX = function() {
908
+ return this.getX() + this.width;
909
+ }, u.prototype.getCenterY = function() {
910
+ return this.y + this.height / 2;
911
+ }, u.prototype.getMinY = function() {
912
+ return this.getY();
913
+ }, u.prototype.getMaxY = function() {
914
+ return this.getY() + this.height;
915
+ }, u.prototype.getWidthHalf = function() {
916
+ return this.width / 2;
917
+ }, u.prototype.getHeightHalf = function() {
918
+ return this.height / 2;
919
+ }, A.exports = u;
920
+ },
921
+ /* 14 */
922
+ /***/
923
+ function(A, P, N) {
924
+ var u = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
925
+ return typeof a;
926
+ } : function(a) {
927
+ return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
928
+ };
929
+ function h() {
930
+ }
931
+ h.lastID = 0, h.createID = function(a) {
932
+ return h.isPrimitive(a) ? a : (a.uniqueID != null || (a.uniqueID = h.getString(), h.lastID++), a.uniqueID);
933
+ }, h.getString = function(a) {
934
+ return a == null && (a = h.lastID), "Object#" + a;
935
+ }, h.isPrimitive = function(a) {
936
+ var r = typeof a > "u" ? "undefined" : u(a);
937
+ return a == null || r != "object" && r != "function";
938
+ }, A.exports = h;
939
+ },
940
+ /* 15 */
941
+ /***/
942
+ function(A, P, N) {
943
+ function u(s) {
944
+ if (Array.isArray(s)) {
945
+ for (var c = 0, l = Array(s.length); c < s.length; c++)
946
+ l[c] = s[c];
947
+ return l;
948
+ } else
949
+ return Array.from(s);
950
+ }
951
+ var h = N(0), a = N(7), r = N(3), e = N(1), f = N(6), i = N(5), g = N(17), t = N(29);
952
+ function o(s) {
953
+ t.call(this), this.layoutQuality = h.QUALITY, this.createBendsAsNeeded = h.DEFAULT_CREATE_BENDS_AS_NEEDED, this.incremental = h.DEFAULT_INCREMENTAL, this.animationOnLayout = h.DEFAULT_ANIMATION_ON_LAYOUT, this.animationDuringLayout = h.DEFAULT_ANIMATION_DURING_LAYOUT, this.animationPeriod = h.DEFAULT_ANIMATION_PERIOD, this.uniformLeafNodeSizes = h.DEFAULT_UNIFORM_LEAF_NODE_SIZES, this.edgeToDummyNodes = /* @__PURE__ */ new Map(), this.graphManager = new a(this), this.isLayoutFinished = !1, this.isSubLayout = !1, this.isRemoteUse = !1, s != null && (this.isRemoteUse = s);
954
+ }
955
+ o.RANDOM_SEED = 1, o.prototype = Object.create(t.prototype), o.prototype.getGraphManager = function() {
956
+ return this.graphManager;
957
+ }, o.prototype.getAllNodes = function() {
958
+ return this.graphManager.getAllNodes();
959
+ }, o.prototype.getAllEdges = function() {
960
+ return this.graphManager.getAllEdges();
961
+ }, o.prototype.getAllNodesToApplyGravitation = function() {
962
+ return this.graphManager.getAllNodesToApplyGravitation();
963
+ }, o.prototype.newGraphManager = function() {
964
+ var s = new a(this);
965
+ return this.graphManager = s, s;
966
+ }, o.prototype.newGraph = function(s) {
967
+ return new f(null, this.graphManager, s);
968
+ }, o.prototype.newNode = function(s) {
969
+ return new r(this.graphManager, s);
970
+ }, o.prototype.newEdge = function(s) {
971
+ return new e(null, null, s);
972
+ }, o.prototype.checkLayoutSuccess = function() {
973
+ return this.graphManager.getRoot() == null || this.graphManager.getRoot().getNodes().length == 0 || this.graphManager.includesInvalidEdge();
974
+ }, o.prototype.runLayout = function() {
975
+ this.isLayoutFinished = !1, this.tilingPreLayout && this.tilingPreLayout(), this.initParameters();
976
+ var s;
977
+ return this.checkLayoutSuccess() ? s = !1 : s = this.layout(), h.ANIMATE === "during" ? !1 : (s && (this.isSubLayout || this.doPostLayout()), this.tilingPostLayout && this.tilingPostLayout(), this.isLayoutFinished = !0, s);
978
+ }, o.prototype.doPostLayout = function() {
979
+ this.incremental || this.transform(), this.update();
980
+ }, o.prototype.update2 = function() {
981
+ if (this.createBendsAsNeeded && (this.createBendpointsFromDummyNodes(), this.graphManager.resetAllEdges()), !this.isRemoteUse) {
982
+ for (var s = this.graphManager.getAllEdges(), c = 0; c < s.length; c++)
983
+ s[c];
984
+ for (var l = this.graphManager.getRoot().getNodes(), c = 0; c < l.length; c++)
985
+ l[c];
986
+ this.update(this.graphManager.getRoot());
987
+ }
988
+ }, o.prototype.update = function(s) {
989
+ if (s == null)
990
+ this.update2();
991
+ else if (s instanceof r) {
992
+ var c = s;
993
+ if (c.getChild() != null)
994
+ for (var l = c.getChild().getNodes(), T = 0; T < l.length; T++)
995
+ update(l[T]);
996
+ if (c.vGraphObject != null) {
997
+ var d = c.vGraphObject;
998
+ d.update(c);
999
+ }
1000
+ } else if (s instanceof e) {
1001
+ var v = s;
1002
+ if (v.vGraphObject != null) {
1003
+ var L = v.vGraphObject;
1004
+ L.update(v);
1005
+ }
1006
+ } else if (s instanceof f) {
1007
+ var S = s;
1008
+ if (S.vGraphObject != null) {
1009
+ var C = S.vGraphObject;
1010
+ C.update(S);
1011
+ }
1012
+ }
1013
+ }, o.prototype.initParameters = function() {
1014
+ this.isSubLayout || (this.layoutQuality = h.QUALITY, this.animationDuringLayout = h.DEFAULT_ANIMATION_DURING_LAYOUT, this.animationPeriod = h.DEFAULT_ANIMATION_PERIOD, this.animationOnLayout = h.DEFAULT_ANIMATION_ON_LAYOUT, this.incremental = h.DEFAULT_INCREMENTAL, this.createBendsAsNeeded = h.DEFAULT_CREATE_BENDS_AS_NEEDED, this.uniformLeafNodeSizes = h.DEFAULT_UNIFORM_LEAF_NODE_SIZES), this.animationDuringLayout && (this.animationOnLayout = !1);
1015
+ }, o.prototype.transform = function(s) {
1016
+ if (s == null)
1017
+ this.transform(new i(0, 0));
1018
+ else {
1019
+ var c = new g(), l = this.graphManager.getRoot().updateLeftTop();
1020
+ if (l != null) {
1021
+ c.setWorldOrgX(s.x), c.setWorldOrgY(s.y), c.setDeviceOrgX(l.x), c.setDeviceOrgY(l.y);
1022
+ for (var T = this.getAllNodes(), d, v = 0; v < T.length; v++)
1023
+ d = T[v], d.transform(c);
1024
+ }
1025
+ }
1026
+ }, o.prototype.positionNodesRandomly = function(s) {
1027
+ if (s == null)
1028
+ this.positionNodesRandomly(this.getGraphManager().getRoot()), this.getGraphManager().getRoot().updateBounds(!0);
1029
+ else
1030
+ for (var c, l, T = s.getNodes(), d = 0; d < T.length; d++)
1031
+ c = T[d], l = c.getChild(), l == null || l.getNodes().length == 0 ? c.scatter() : (this.positionNodesRandomly(l), c.updateBounds());
1032
+ }, o.prototype.getFlatForest = function() {
1033
+ for (var s = [], c = !0, l = this.graphManager.getRoot().getNodes(), T = !0, d = 0; d < l.length; d++)
1034
+ l[d].getChild() != null && (T = !1);
1035
+ if (!T)
1036
+ return s;
1037
+ var v = /* @__PURE__ */ new Set(), L = [], S = /* @__PURE__ */ new Map(), C = [];
1038
+ for (C = C.concat(l); C.length > 0 && c; ) {
1039
+ for (L.push(C[0]); L.length > 0 && c; ) {
1040
+ var G = L[0];
1041
+ L.splice(0, 1), v.add(G);
1042
+ for (var K = G.getEdges(), d = 0; d < K.length; d++) {
1043
+ var X = K[d].getOtherEnd(G);
1044
+ if (S.get(G) != X)
1045
+ if (!v.has(X))
1046
+ L.push(X), S.set(X, G);
1047
+ else {
1048
+ c = !1;
1049
+ break;
1050
+ }
1051
+ }
1052
+ }
1053
+ if (!c)
1054
+ s = [];
1055
+ else {
1056
+ var Q = [].concat(u(v));
1057
+ s.push(Q);
1058
+ for (var d = 0; d < Q.length; d++) {
1059
+ var D = Q[d], rt = C.indexOf(D);
1060
+ rt > -1 && C.splice(rt, 1);
1061
+ }
1062
+ v = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Map();
1063
+ }
1064
+ }
1065
+ return s;
1066
+ }, o.prototype.createDummyNodesForBendpoints = function(s) {
1067
+ for (var c = [], l = s.source, T = this.graphManager.calcLowestCommonAncestor(s.source, s.target), d = 0; d < s.bendpoints.length; d++) {
1068
+ var v = this.newNode(null);
1069
+ v.setRect(new Point(0, 0), new Dimension(1, 1)), T.add(v);
1070
+ var L = this.newEdge(null);
1071
+ this.graphManager.add(L, l, v), c.add(v), l = v;
1072
+ }
1073
+ var L = this.newEdge(null);
1074
+ return this.graphManager.add(L, l, s.target), this.edgeToDummyNodes.set(s, c), s.isInterGraph() ? this.graphManager.remove(s) : T.remove(s), c;
1075
+ }, o.prototype.createBendpointsFromDummyNodes = function() {
1076
+ var s = [];
1077
+ s = s.concat(this.graphManager.getAllEdges()), s = [].concat(u(this.edgeToDummyNodes.keys())).concat(s);
1078
+ for (var c = 0; c < s.length; c++) {
1079
+ var l = s[c];
1080
+ if (l.bendpoints.length > 0) {
1081
+ for (var T = this.edgeToDummyNodes.get(l), d = 0; d < T.length; d++) {
1082
+ var v = T[d], L = new i(v.getCenterX(), v.getCenterY()), S = l.bendpoints.get(d);
1083
+ S.x = L.x, S.y = L.y, v.getOwner().remove(v);
1084
+ }
1085
+ this.graphManager.add(l, l.source, l.target);
1086
+ }
1087
+ }
1088
+ }, o.transform = function(s, c, l, T) {
1089
+ if (l != null && T != null) {
1090
+ var d = c;
1091
+ if (s <= 50) {
1092
+ var v = c / l;
1093
+ d -= (c - v) / 50 * (50 - s);
1094
+ } else {
1095
+ var L = c * T;
1096
+ d += (L - c) / 50 * (s - 50);
1097
+ }
1098
+ return d;
1099
+ } else {
1100
+ var S, C;
1101
+ return s <= 50 ? (S = 9 * c / 500, C = c / 10) : (S = 9 * c / 50, C = -8 * c), S * s + C;
1102
+ }
1103
+ }, o.findCenterOfTree = function(s) {
1104
+ var c = [];
1105
+ c = c.concat(s);
1106
+ var l = [], T = /* @__PURE__ */ new Map(), d = !1, v = null;
1107
+ (c.length == 1 || c.length == 2) && (d = !0, v = c[0]);
1108
+ for (var L = 0; L < c.length; L++) {
1109
+ var S = c[L], C = S.getNeighborsList().size;
1110
+ T.set(S, S.getNeighborsList().size), C == 1 && l.push(S);
1111
+ }
1112
+ var G = [];
1113
+ for (G = G.concat(l); !d; ) {
1114
+ var K = [];
1115
+ K = K.concat(G), G = [];
1116
+ for (var L = 0; L < c.length; L++) {
1117
+ var S = c[L], X = c.indexOf(S);
1118
+ X >= 0 && c.splice(X, 1);
1119
+ var Q = S.getNeighborsList();
1120
+ Q.forEach(function(n) {
1121
+ if (l.indexOf(n) < 0) {
1122
+ var m = T.get(n), p = m - 1;
1123
+ p == 1 && G.push(n), T.set(n, p);
1124
+ }
1125
+ });
1126
+ }
1127
+ l = l.concat(G), (c.length == 1 || c.length == 2) && (d = !0, v = c[0]);
1128
+ }
1129
+ return v;
1130
+ }, o.prototype.setGraphManager = function(s) {
1131
+ this.graphManager = s;
1132
+ }, A.exports = o;
1133
+ },
1134
+ /* 16 */
1135
+ /***/
1136
+ function(A, P, N) {
1137
+ function u() {
1138
+ }
1139
+ u.seed = 1, u.x = 0, u.nextDouble = function() {
1140
+ return u.x = Math.sin(u.seed++) * 1e4, u.x - Math.floor(u.x);
1141
+ }, A.exports = u;
1142
+ },
1143
+ /* 17 */
1144
+ /***/
1145
+ function(A, P, N) {
1146
+ var u = N(5);
1147
+ function h(a, r) {
1148
+ this.lworldOrgX = 0, this.lworldOrgY = 0, this.ldeviceOrgX = 0, this.ldeviceOrgY = 0, this.lworldExtX = 1, this.lworldExtY = 1, this.ldeviceExtX = 1, this.ldeviceExtY = 1;
1149
+ }
1150
+ h.prototype.getWorldOrgX = function() {
1151
+ return this.lworldOrgX;
1152
+ }, h.prototype.setWorldOrgX = function(a) {
1153
+ this.lworldOrgX = a;
1154
+ }, h.prototype.getWorldOrgY = function() {
1155
+ return this.lworldOrgY;
1156
+ }, h.prototype.setWorldOrgY = function(a) {
1157
+ this.lworldOrgY = a;
1158
+ }, h.prototype.getWorldExtX = function() {
1159
+ return this.lworldExtX;
1160
+ }, h.prototype.setWorldExtX = function(a) {
1161
+ this.lworldExtX = a;
1162
+ }, h.prototype.getWorldExtY = function() {
1163
+ return this.lworldExtY;
1164
+ }, h.prototype.setWorldExtY = function(a) {
1165
+ this.lworldExtY = a;
1166
+ }, h.prototype.getDeviceOrgX = function() {
1167
+ return this.ldeviceOrgX;
1168
+ }, h.prototype.setDeviceOrgX = function(a) {
1169
+ this.ldeviceOrgX = a;
1170
+ }, h.prototype.getDeviceOrgY = function() {
1171
+ return this.ldeviceOrgY;
1172
+ }, h.prototype.setDeviceOrgY = function(a) {
1173
+ this.ldeviceOrgY = a;
1174
+ }, h.prototype.getDeviceExtX = function() {
1175
+ return this.ldeviceExtX;
1176
+ }, h.prototype.setDeviceExtX = function(a) {
1177
+ this.ldeviceExtX = a;
1178
+ }, h.prototype.getDeviceExtY = function() {
1179
+ return this.ldeviceExtY;
1180
+ }, h.prototype.setDeviceExtY = function(a) {
1181
+ this.ldeviceExtY = a;
1182
+ }, h.prototype.transformX = function(a) {
1183
+ var r = 0, e = this.lworldExtX;
1184
+ return e != 0 && (r = this.ldeviceOrgX + (a - this.lworldOrgX) * this.ldeviceExtX / e), r;
1185
+ }, h.prototype.transformY = function(a) {
1186
+ var r = 0, e = this.lworldExtY;
1187
+ return e != 0 && (r = this.ldeviceOrgY + (a - this.lworldOrgY) * this.ldeviceExtY / e), r;
1188
+ }, h.prototype.inverseTransformX = function(a) {
1189
+ var r = 0, e = this.ldeviceExtX;
1190
+ return e != 0 && (r = this.lworldOrgX + (a - this.ldeviceOrgX) * this.lworldExtX / e), r;
1191
+ }, h.prototype.inverseTransformY = function(a) {
1192
+ var r = 0, e = this.ldeviceExtY;
1193
+ return e != 0 && (r = this.lworldOrgY + (a - this.ldeviceOrgY) * this.lworldExtY / e), r;
1194
+ }, h.prototype.inverseTransformPoint = function(a) {
1195
+ var r = new u(this.inverseTransformX(a.x), this.inverseTransformY(a.y));
1196
+ return r;
1197
+ }, A.exports = h;
1198
+ },
1199
+ /* 18 */
1200
+ /***/
1201
+ function(A, P, N) {
1202
+ function u(t) {
1203
+ if (Array.isArray(t)) {
1204
+ for (var o = 0, s = Array(t.length); o < t.length; o++)
1205
+ s[o] = t[o];
1206
+ return s;
1207
+ } else
1208
+ return Array.from(t);
1209
+ }
1210
+ var h = N(15), a = N(4), r = N(0), e = N(8), f = N(9);
1211
+ function i() {
1212
+ h.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;
1213
+ }
1214
+ i.prototype = Object.create(h.prototype);
1215
+ for (var g in h)
1216
+ i[g] = h[g];
1217
+ i.prototype.initParameters = function() {
1218
+ h.prototype.initParameters.call(this, arguments), this.totalIterations = 0, this.notAnimatedIterations = 0, this.useFRGridVariant = a.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION, this.grid = [];
1219
+ }, i.prototype.calcIdealEdgeLengths = function() {
1220
+ for (var t, o, s, c, l, T, d, v = this.getGraphManager().getAllEdges(), L = 0; L < v.length; L++)
1221
+ t = v[L], o = t.idealLength, t.isInterGraph && (c = t.getSource(), l = t.getTarget(), T = t.getSourceInLca().getEstimatedSize(), d = t.getTargetInLca().getEstimatedSize(), this.useSmartIdealEdgeLengthCalculation && (t.idealLength += T + d - 2 * r.SIMPLE_NODE_SIZE), s = t.getLca().getInclusionTreeDepth(), t.idealLength += o * a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR * (c.getInclusionTreeDepth() + l.getInclusionTreeDepth() - 2 * s));
1222
+ }, i.prototype.initSpringEmbedder = function() {
1223
+ var t = this.getAllNodes().length;
1224
+ this.incremental ? (t > a.ADAPTATION_LOWER_NODE_LIMIT && (this.coolingFactor = Math.max(this.coolingFactor * a.COOLING_ADAPTATION_FACTOR, this.coolingFactor - (t - 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) : (t > a.ADAPTATION_LOWER_NODE_LIMIT ? this.coolingFactor = Math.max(a.COOLING_ADAPTATION_FACTOR, 1 - (t - 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();
1225
+ }, i.prototype.calcSpringForces = function() {
1226
+ for (var t = this.getAllEdges(), o, s = 0; s < t.length; s++)
1227
+ o = t[s], this.calcSpringForce(o, o.idealLength);
1228
+ }, i.prototype.calcRepulsionForces = function() {
1229
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, s, c, l, T, d = this.getAllNodes(), v;
1230
+ if (this.useFRGridVariant)
1231
+ for (this.totalIterations % a.GRID_CALCULATION_CHECK_PERIOD == 1 && t && this.updateGrid(), v = /* @__PURE__ */ new Set(), s = 0; s < d.length; s++)
1232
+ l = d[s], this.calculateRepulsionForceOfANode(l, v, t, o), v.add(l);
1233
+ else
1234
+ for (s = 0; s < d.length; s++)
1235
+ for (l = d[s], c = s + 1; c < d.length; c++)
1236
+ T = d[c], l.getOwner() == T.getOwner() && this.calcRepulsionForce(l, T);
1237
+ }, i.prototype.calcGravitationalForces = function() {
1238
+ for (var t, o = this.getAllNodesToApplyGravitation(), s = 0; s < o.length; s++)
1239
+ t = o[s], this.calcGravitationalForce(t);
1240
+ }, i.prototype.moveNodes = function() {
1241
+ for (var t = this.getAllNodes(), o, s = 0; s < t.length; s++)
1242
+ o = t[s], o.move();
1243
+ }, i.prototype.calcSpringForce = function(t, o) {
1244
+ var s = t.getSource(), c = t.getTarget(), l, T, d, v;
1245
+ if (this.uniformLeafNodeSizes && s.getChild() == null && c.getChild() == null)
1246
+ t.updateLengthSimple();
1247
+ else if (t.updateLength(), t.isOverlapingSourceAndTarget)
1248
+ return;
1249
+ l = t.getLength(), l != 0 && (T = t.edgeElasticity * (l - o), d = T * (t.lengthX / l), v = T * (t.lengthY / l), s.springForceX += d, s.springForceY += v, c.springForceX -= d, c.springForceY -= v);
1250
+ }, i.prototype.calcRepulsionForce = function(t, o) {
1251
+ var s = t.getRect(), c = o.getRect(), l = new Array(2), T = new Array(4), d, v, L, S, C, G, K;
1252
+ if (s.intersects(c)) {
1253
+ e.calcSeparationAmount(s, c, l, a.DEFAULT_EDGE_LENGTH / 2), G = 2 * l[0], K = 2 * l[1];
1254
+ var X = t.noOfChildren * o.noOfChildren / (t.noOfChildren + o.noOfChildren);
1255
+ t.repulsionForceX -= X * G, t.repulsionForceY -= X * K, o.repulsionForceX += X * G, o.repulsionForceY += X * K;
1256
+ } else
1257
+ this.uniformLeafNodeSizes && t.getChild() == null && o.getChild() == null ? (d = c.getCenterX() - s.getCenterX(), v = c.getCenterY() - s.getCenterY()) : (e.getIntersection(s, c, T), d = T[2] - T[0], v = T[3] - T[1]), Math.abs(d) < a.MIN_REPULSION_DIST && (d = f.sign(d) * a.MIN_REPULSION_DIST), Math.abs(v) < a.MIN_REPULSION_DIST && (v = f.sign(v) * a.MIN_REPULSION_DIST), L = d * d + v * v, S = Math.sqrt(L), C = (t.nodeRepulsion / 2 + o.nodeRepulsion / 2) * t.noOfChildren * o.noOfChildren / L, G = C * d / S, K = C * v / S, t.repulsionForceX -= G, t.repulsionForceY -= K, o.repulsionForceX += G, o.repulsionForceY += K;
1258
+ }, i.prototype.calcGravitationalForce = function(t) {
1259
+ var o, s, c, l, T, d, v, L;
1260
+ o = t.getOwner(), s = (o.getRight() + o.getLeft()) / 2, c = (o.getTop() + o.getBottom()) / 2, l = t.getCenterX() - s, T = t.getCenterY() - c, d = Math.abs(l) + t.getWidth() / 2, v = Math.abs(T) + t.getHeight() / 2, t.getOwner() == this.graphManager.getRoot() ? (L = o.getEstimatedSize() * this.gravityRangeFactor, (d > L || v > L) && (t.gravitationForceX = -this.gravityConstant * l, t.gravitationForceY = -this.gravityConstant * T)) : (L = o.getEstimatedSize() * this.compoundGravityRangeFactor, (d > L || v > L) && (t.gravitationForceX = -this.gravityConstant * l * this.compoundGravityConstant, t.gravitationForceY = -this.gravityConstant * T * this.compoundGravityConstant));
1261
+ }, i.prototype.isConverged = function() {
1262
+ var t, o = !1;
1263
+ return this.totalIterations > this.maxIterations / 3 && (o = Math.abs(this.totalDisplacement - this.oldTotalDisplacement) < 2), t = this.totalDisplacement < this.totalDisplacementThreshold, this.oldTotalDisplacement = this.totalDisplacement, t || o;
1264
+ }, i.prototype.animate = function() {
1265
+ this.animationDuringLayout && !this.isSubLayout && (this.notAnimatedIterations == this.animationPeriod ? (this.update(), this.notAnimatedIterations = 0) : this.notAnimatedIterations++);
1266
+ }, i.prototype.calcNoOfChildrenForAllNodes = function() {
1267
+ for (var t, o = this.graphManager.getAllNodes(), s = 0; s < o.length; s++)
1268
+ t = o[s], t.noOfChildren = t.getNoOfChildren();
1269
+ }, i.prototype.calcGrid = function(t) {
1270
+ var o = 0, s = 0;
1271
+ o = parseInt(Math.ceil((t.getRight() - t.getLeft()) / this.repulsionRange)), s = parseInt(Math.ceil((t.getBottom() - t.getTop()) / this.repulsionRange));
1272
+ for (var c = new Array(o), l = 0; l < o; l++)
1273
+ c[l] = new Array(s);
1274
+ for (var l = 0; l < o; l++)
1275
+ for (var T = 0; T < s; T++)
1276
+ c[l][T] = new Array();
1277
+ return c;
1278
+ }, i.prototype.addNodeToGrid = function(t, o, s) {
1279
+ var c = 0, l = 0, T = 0, d = 0;
1280
+ c = parseInt(Math.floor((t.getRect().x - o) / this.repulsionRange)), l = parseInt(Math.floor((t.getRect().width + t.getRect().x - o) / this.repulsionRange)), T = parseInt(Math.floor((t.getRect().y - s) / this.repulsionRange)), d = parseInt(Math.floor((t.getRect().height + t.getRect().y - s) / this.repulsionRange));
1281
+ for (var v = c; v <= l; v++)
1282
+ for (var L = T; L <= d; L++)
1283
+ this.grid[v][L].push(t), t.setGridCoordinates(c, l, T, d);
1284
+ }, i.prototype.updateGrid = function() {
1285
+ var t, o, s = this.getAllNodes();
1286
+ for (this.grid = this.calcGrid(this.graphManager.getRoot()), t = 0; t < s.length; t++)
1287
+ o = s[t], this.addNodeToGrid(o, this.graphManager.getRoot().getLeft(), this.graphManager.getRoot().getTop());
1288
+ }, i.prototype.calculateRepulsionForceOfANode = function(t, o, s, c) {
1289
+ if (this.totalIterations % a.GRID_CALCULATION_CHECK_PERIOD == 1 && s || c) {
1290
+ var l = /* @__PURE__ */ new Set();
1291
+ t.surrounding = new Array();
1292
+ for (var T, d = this.grid, v = t.startX - 1; v < t.finishX + 2; v++)
1293
+ for (var L = t.startY - 1; L < t.finishY + 2; L++)
1294
+ if (!(v < 0 || L < 0 || v >= d.length || L >= d[0].length)) {
1295
+ for (var S = 0; S < d[v][L].length; S++)
1296
+ if (T = d[v][L][S], !(t.getOwner() != T.getOwner() || t == T) && !o.has(T) && !l.has(T)) {
1297
+ var C = Math.abs(t.getCenterX() - T.getCenterX()) - (t.getWidth() / 2 + T.getWidth() / 2), G = Math.abs(t.getCenterY() - T.getCenterY()) - (t.getHeight() / 2 + T.getHeight() / 2);
1298
+ C <= this.repulsionRange && G <= this.repulsionRange && l.add(T);
1299
+ }
1300
+ }
1301
+ t.surrounding = [].concat(u(l));
1302
+ }
1303
+ for (v = 0; v < t.surrounding.length; v++)
1304
+ this.calcRepulsionForce(t, t.surrounding[v]);
1305
+ }, i.prototype.calcRepulsionRange = function() {
1306
+ return 0;
1307
+ }, A.exports = i;
1308
+ },
1309
+ /* 19 */
1310
+ /***/
1311
+ function(A, P, N) {
1312
+ var u = N(1), h = N(4);
1313
+ function a(e, f, i) {
1314
+ u.call(this, e, f, i), this.idealLength = h.DEFAULT_EDGE_LENGTH, this.edgeElasticity = h.DEFAULT_SPRING_STRENGTH;
1315
+ }
1316
+ a.prototype = Object.create(u.prototype);
1317
+ for (var r in u)
1318
+ a[r] = u[r];
1319
+ A.exports = a;
1320
+ },
1321
+ /* 20 */
1322
+ /***/
1323
+ function(A, P, N) {
1324
+ var u = N(3), h = N(4);
1325
+ function a(e, f, i, g) {
1326
+ u.call(this, e, f, i, g), this.nodeRepulsion = h.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 = [];
1327
+ }
1328
+ a.prototype = Object.create(u.prototype);
1329
+ for (var r in u)
1330
+ a[r] = u[r];
1331
+ a.prototype.setGridCoordinates = function(e, f, i, g) {
1332
+ this.startX = e, this.finishX = f, this.startY = i, this.finishY = g;
1333
+ }, A.exports = a;
1334
+ },
1335
+ /* 21 */
1336
+ /***/
1337
+ function(A, P, N) {
1338
+ function u(h, a) {
1339
+ this.width = 0, this.height = 0, h !== null && a !== null && (this.height = a, this.width = h);
1340
+ }
1341
+ u.prototype.getWidth = function() {
1342
+ return this.width;
1343
+ }, u.prototype.setWidth = function(h) {
1344
+ this.width = h;
1345
+ }, u.prototype.getHeight = function() {
1346
+ return this.height;
1347
+ }, u.prototype.setHeight = function(h) {
1348
+ this.height = h;
1349
+ }, A.exports = u;
1350
+ },
1351
+ /* 22 */
1352
+ /***/
1353
+ function(A, P, N) {
1354
+ var u = N(14);
1355
+ function h() {
1356
+ this.map = {}, this.keys = [];
1357
+ }
1358
+ h.prototype.put = function(a, r) {
1359
+ var e = u.createID(a);
1360
+ this.contains(e) || (this.map[e] = r, this.keys.push(a));
1361
+ }, h.prototype.contains = function(a) {
1362
+ return u.createID(a), this.map[a] != null;
1363
+ }, h.prototype.get = function(a) {
1364
+ var r = u.createID(a);
1365
+ return this.map[r];
1366
+ }, h.prototype.keySet = function() {
1367
+ return this.keys;
1368
+ }, A.exports = h;
1369
+ },
1370
+ /* 23 */
1371
+ /***/
1372
+ function(A, P, N) {
1373
+ var u = N(14);
1374
+ function h() {
1375
+ this.set = {};
1376
+ }
1377
+ h.prototype.add = function(a) {
1378
+ var r = u.createID(a);
1379
+ this.contains(r) || (this.set[r] = a);
1380
+ }, h.prototype.remove = function(a) {
1381
+ delete this.set[u.createID(a)];
1382
+ }, h.prototype.clear = function() {
1383
+ this.set = {};
1384
+ }, h.prototype.contains = function(a) {
1385
+ return this.set[u.createID(a)] == a;
1386
+ }, h.prototype.isEmpty = function() {
1387
+ return this.size() === 0;
1388
+ }, h.prototype.size = function() {
1389
+ return Object.keys(this.set).length;
1390
+ }, h.prototype.addAllTo = function(a) {
1391
+ for (var r = Object.keys(this.set), e = r.length, f = 0; f < e; f++)
1392
+ a.push(this.set[r[f]]);
1393
+ }, h.prototype.size = function() {
1394
+ return Object.keys(this.set).length;
1395
+ }, h.prototype.addAll = function(a) {
1396
+ for (var r = a.length, e = 0; e < r; e++) {
1397
+ var f = a[e];
1398
+ this.add(f);
1399
+ }
1400
+ }, A.exports = h;
1401
+ },
1402
+ /* 24 */
1403
+ /***/
1404
+ function(A, P, N) {
1405
+ function u() {
1406
+ }
1407
+ u.multMat = function(h, a) {
1408
+ for (var r = [], e = 0; e < h.length; e++) {
1409
+ r[e] = [];
1410
+ for (var f = 0; f < a[0].length; f++) {
1411
+ r[e][f] = 0;
1412
+ for (var i = 0; i < h[0].length; i++)
1413
+ r[e][f] += h[e][i] * a[i][f];
1414
+ }
1415
+ }
1416
+ return r;
1417
+ }, u.transpose = function(h) {
1418
+ for (var a = [], r = 0; r < h[0].length; r++) {
1419
+ a[r] = [];
1420
+ for (var e = 0; e < h.length; e++)
1421
+ a[r][e] = h[e][r];
1422
+ }
1423
+ return a;
1424
+ }, u.multCons = function(h, a) {
1425
+ for (var r = [], e = 0; e < h.length; e++)
1426
+ r[e] = h[e] * a;
1427
+ return r;
1428
+ }, u.minusOp = function(h, a) {
1429
+ for (var r = [], e = 0; e < h.length; e++)
1430
+ r[e] = h[e] - a[e];
1431
+ return r;
1432
+ }, u.dotProduct = function(h, a) {
1433
+ for (var r = 0, e = 0; e < h.length; e++)
1434
+ r += h[e] * a[e];
1435
+ return r;
1436
+ }, u.mag = function(h) {
1437
+ return Math.sqrt(this.dotProduct(h, h));
1438
+ }, u.normalize = function(h) {
1439
+ for (var a = [], r = this.mag(h), e = 0; e < h.length; e++)
1440
+ a[e] = h[e] / r;
1441
+ return a;
1442
+ }, u.multGamma = function(h) {
1443
+ for (var a = [], r = 0, e = 0; e < h.length; e++)
1444
+ r += h[e];
1445
+ r *= -1 / h.length;
1446
+ for (var f = 0; f < h.length; f++)
1447
+ a[f] = r + h[f];
1448
+ return a;
1449
+ }, u.multL = function(h, a, r) {
1450
+ for (var e = [], f = [], i = [], g = 0; g < a[0].length; g++) {
1451
+ for (var t = 0, o = 0; o < a.length; o++)
1452
+ t += -0.5 * a[o][g] * h[o];
1453
+ f[g] = t;
1454
+ }
1455
+ for (var s = 0; s < r.length; s++) {
1456
+ for (var c = 0, l = 0; l < r.length; l++)
1457
+ c += r[s][l] * f[l];
1458
+ i[s] = c;
1459
+ }
1460
+ for (var T = 0; T < a.length; T++) {
1461
+ for (var d = 0, v = 0; v < a[0].length; v++)
1462
+ d += a[T][v] * i[v];
1463
+ e[T] = d;
1464
+ }
1465
+ return e;
1466
+ }, A.exports = u;
1467
+ },
1468
+ /* 25 */
1469
+ /***/
1470
+ function(A, P, N) {
1471
+ var u = /* @__PURE__ */ function() {
1472
+ function e(f, i) {
1473
+ for (var g = 0; g < i.length; g++) {
1474
+ var t = i[g];
1475
+ t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(f, t.key, t);
1476
+ }
1477
+ }
1478
+ return function(f, i, g) {
1479
+ return i && e(f.prototype, i), g && e(f, g), f;
1480
+ };
1481
+ }();
1482
+ function h(e, f) {
1483
+ if (!(e instanceof f))
1484
+ throw new TypeError("Cannot call a class as a function");
1485
+ }
1486
+ var a = N(11), r = function() {
1487
+ function e(f, i) {
1488
+ h(this, e), (i !== null || i !== void 0) && (this.compareFunction = this._defaultCompareFunction);
1489
+ var g = void 0;
1490
+ f instanceof a ? g = f.size() : g = f.length, this._quicksort(f, 0, g - 1);
1491
+ }
1492
+ return u(e, [{
1493
+ key: "_quicksort",
1494
+ value: function(i, g, t) {
1495
+ if (g < t) {
1496
+ var o = this._partition(i, g, t);
1497
+ this._quicksort(i, g, o), this._quicksort(i, o + 1, t);
1498
+ }
1499
+ }
1500
+ }, {
1501
+ key: "_partition",
1502
+ value: function(i, g, t) {
1503
+ for (var o = this._get(i, g), s = g, c = t; ; ) {
1504
+ for (; this.compareFunction(o, this._get(i, c)); )
1505
+ c--;
1506
+ for (; this.compareFunction(this._get(i, s), o); )
1507
+ s++;
1508
+ if (s < c)
1509
+ this._swap(i, s, c), s++, c--;
1510
+ else return c;
1511
+ }
1512
+ }
1513
+ }, {
1514
+ key: "_get",
1515
+ value: function(i, g) {
1516
+ return i instanceof a ? i.get_object_at(g) : i[g];
1517
+ }
1518
+ }, {
1519
+ key: "_set",
1520
+ value: function(i, g, t) {
1521
+ i instanceof a ? i.set_object_at(g, t) : i[g] = t;
1522
+ }
1523
+ }, {
1524
+ key: "_swap",
1525
+ value: function(i, g, t) {
1526
+ var o = this._get(i, g);
1527
+ this._set(i, g, this._get(i, t)), this._set(i, t, o);
1528
+ }
1529
+ }, {
1530
+ key: "_defaultCompareFunction",
1531
+ value: function(i, g) {
1532
+ return g > i;
1533
+ }
1534
+ }]), e;
1535
+ }();
1536
+ A.exports = r;
1537
+ },
1538
+ /* 26 */
1539
+ /***/
1540
+ function(A, P, N) {
1541
+ function u() {
1542
+ }
1543
+ u.svd = function(h) {
1544
+ this.U = null, this.V = null, this.s = null, this.m = 0, this.n = 0, this.m = h.length, this.n = h[0].length;
1545
+ var a = Math.min(this.m, this.n);
1546
+ this.s = function(Tt) {
1547
+ for (var Ct = []; Tt-- > 0; )
1548
+ Ct.push(0);
1549
+ return Ct;
1550
+ }(Math.min(this.m + 1, this.n)), this.U = function(Tt) {
1551
+ var Ct = function $t(bt) {
1552
+ if (bt.length == 0)
1553
+ return 0;
1554
+ for (var zt = [], St = 0; St < bt[0]; St++)
1555
+ zt.push($t(bt.slice(1)));
1556
+ return zt;
1557
+ };
1558
+ return Ct(Tt);
1559
+ }([this.m, a]), this.V = function(Tt) {
1560
+ var Ct = function $t(bt) {
1561
+ if (bt.length == 0)
1562
+ return 0;
1563
+ for (var zt = [], St = 0; St < bt[0]; St++)
1564
+ zt.push($t(bt.slice(1)));
1565
+ return zt;
1566
+ };
1567
+ return Ct(Tt);
1568
+ }([this.n, this.n]);
1569
+ for (var r = function(Tt) {
1570
+ for (var Ct = []; Tt-- > 0; )
1571
+ Ct.push(0);
1572
+ return Ct;
1573
+ }(this.n), e = function(Tt) {
1574
+ for (var Ct = []; Tt-- > 0; )
1575
+ Ct.push(0);
1576
+ return Ct;
1577
+ }(this.m), f = !0, i = Math.min(this.m - 1, this.n), g = Math.max(0, Math.min(this.n - 2, this.m)), t = 0; t < Math.max(i, g); t++) {
1578
+ if (t < i) {
1579
+ this.s[t] = 0;
1580
+ for (var o = t; o < this.m; o++)
1581
+ this.s[t] = u.hypot(this.s[t], h[o][t]);
1582
+ if (this.s[t] !== 0) {
1583
+ h[t][t] < 0 && (this.s[t] = -this.s[t]);
1584
+ for (var s = t; s < this.m; s++)
1585
+ h[s][t] /= this.s[t];
1586
+ h[t][t] += 1;
1587
+ }
1588
+ this.s[t] = -this.s[t];
1589
+ }
1590
+ for (var c = t + 1; c < this.n; c++) {
1591
+ if (/* @__PURE__ */ function(Tt, Ct) {
1592
+ return Tt && Ct;
1593
+ }(t < i, this.s[t] !== 0)) {
1594
+ for (var l = 0, T = t; T < this.m; T++)
1595
+ l += h[T][t] * h[T][c];
1596
+ l = -l / h[t][t];
1597
+ for (var d = t; d < this.m; d++)
1598
+ h[d][c] += l * h[d][t];
1599
+ }
1600
+ r[c] = h[t][c];
1601
+ }
1602
+ if (/* @__PURE__ */ function(Tt, Ct) {
1603
+ return Ct;
1604
+ }(f, t < i))
1605
+ for (var v = t; v < this.m; v++)
1606
+ this.U[v][t] = h[v][t];
1607
+ if (t < g) {
1608
+ r[t] = 0;
1609
+ for (var L = t + 1; L < this.n; L++)
1610
+ r[t] = u.hypot(r[t], r[L]);
1611
+ if (r[t] !== 0) {
1612
+ r[t + 1] < 0 && (r[t] = -r[t]);
1613
+ for (var S = t + 1; S < this.n; S++)
1614
+ r[S] /= r[t];
1615
+ r[t + 1] += 1;
1616
+ }
1617
+ if (r[t] = -r[t], /* @__PURE__ */ function(Tt, Ct) {
1618
+ return Tt && Ct;
1619
+ }(t + 1 < this.m, r[t] !== 0)) {
1620
+ for (var C = t + 1; C < this.m; C++)
1621
+ e[C] = 0;
1622
+ for (var G = t + 1; G < this.n; G++)
1623
+ for (var K = t + 1; K < this.m; K++)
1624
+ e[K] += r[G] * h[K][G];
1625
+ for (var X = t + 1; X < this.n; X++)
1626
+ for (var Q = -r[X] / r[t + 1], D = t + 1; D < this.m; D++)
1627
+ h[D][X] += Q * e[D];
1628
+ }
1629
+ for (var rt = t + 1; rt < this.n; rt++)
1630
+ this.V[rt][t] = r[rt];
1631
+ }
1632
+ }
1633
+ var n = Math.min(this.n, this.m + 1);
1634
+ i < this.n && (this.s[i] = h[i][i]), this.m < n && (this.s[n - 1] = 0), g + 1 < n && (r[g] = h[g][n - 1]), r[n - 1] = 0;
1635
+ {
1636
+ for (var m = i; m < a; m++) {
1637
+ for (var p = 0; p < this.m; p++)
1638
+ this.U[p][m] = 0;
1639
+ this.U[m][m] = 1;
1640
+ }
1641
+ for (var E = i - 1; E >= 0; E--)
1642
+ if (this.s[E] !== 0) {
1643
+ for (var y = E + 1; y < a; y++) {
1644
+ for (var R = 0, w = E; w < this.m; w++)
1645
+ R += this.U[w][E] * this.U[w][y];
1646
+ R = -R / this.U[E][E];
1647
+ for (var F = E; F < this.m; F++)
1648
+ this.U[F][y] += R * this.U[F][E];
1649
+ }
1650
+ for (var W = E; W < this.m; W++)
1651
+ this.U[W][E] = -this.U[W][E];
1652
+ this.U[E][E] = 1 + this.U[E][E];
1653
+ for (var x = 0; x < E - 1; x++)
1654
+ this.U[x][E] = 0;
1655
+ } else {
1656
+ for (var Z = 0; Z < this.m; Z++)
1657
+ this.U[Z][E] = 0;
1658
+ this.U[E][E] = 1;
1659
+ }
1660
+ }
1661
+ for (var V = this.n - 1; V >= 0; V--) {
1662
+ if (/* @__PURE__ */ function(Tt, Ct) {
1663
+ return Tt && Ct;
1664
+ }(V < g, r[V] !== 0))
1665
+ for (var Y = V + 1; Y < a; Y++) {
1666
+ for (var et = 0, z = V + 1; z < this.n; z++)
1667
+ et += this.V[z][V] * this.V[z][Y];
1668
+ et = -et / this.V[V + 1][V];
1669
+ for (var M = V + 1; M < this.n; M++)
1670
+ this.V[M][Y] += et * this.V[M][V];
1671
+ }
1672
+ for (var H = 0; H < this.n; H++)
1673
+ this.V[H][V] = 0;
1674
+ this.V[V][V] = 1;
1675
+ }
1676
+ for (var $ = n - 1, _ = Math.pow(2, -52), ht = Math.pow(2, -966); n > 0; ) {
1677
+ var q = void 0, It = void 0;
1678
+ for (q = n - 2; q >= -1 && q !== -1; q--)
1679
+ if (Math.abs(r[q]) <= ht + _ * (Math.abs(this.s[q]) + Math.abs(this.s[q + 1]))) {
1680
+ r[q] = 0;
1681
+ break;
1682
+ }
1683
+ if (q === n - 2)
1684
+ It = 4;
1685
+ else {
1686
+ var Nt = void 0;
1687
+ for (Nt = n - 1; Nt >= q && Nt !== q; Nt--) {
1688
+ var vt = (Nt !== n ? Math.abs(r[Nt]) : 0) + (Nt !== q + 1 ? Math.abs(r[Nt - 1]) : 0);
1689
+ if (Math.abs(this.s[Nt]) <= ht + _ * vt) {
1690
+ this.s[Nt] = 0;
1691
+ break;
1692
+ }
1693
+ }
1694
+ Nt === q ? It = 3 : Nt === n - 1 ? It = 1 : (It = 2, q = Nt);
1695
+ }
1696
+ switch (q++, It) {
1697
+ case 1:
1698
+ {
1699
+ var it = r[n - 2];
1700
+ r[n - 2] = 0;
1701
+ for (var gt = n - 2; gt >= q; gt--) {
1702
+ var mt = u.hypot(this.s[gt], it), At = this.s[gt] / mt, Ot = it / mt;
1703
+ this.s[gt] = mt, gt !== q && (it = -Ot * r[gt - 1], r[gt - 1] = At * r[gt - 1]);
1704
+ for (var Et = 0; Et < this.n; Et++)
1705
+ mt = At * this.V[Et][gt] + Ot * this.V[Et][n - 1], this.V[Et][n - 1] = -Ot * this.V[Et][gt] + At * this.V[Et][n - 1], this.V[Et][gt] = mt;
1706
+ }
1707
+ }
1708
+ break;
1709
+ case 2:
1710
+ {
1711
+ var Dt = r[q - 1];
1712
+ r[q - 1] = 0;
1713
+ for (var Rt = q; Rt < n; Rt++) {
1714
+ var Ht = u.hypot(this.s[Rt], Dt), Ut = this.s[Rt] / Ht, Pt = Dt / Ht;
1715
+ this.s[Rt] = Ht, Dt = -Pt * r[Rt], r[Rt] = Ut * r[Rt];
1716
+ for (var Ft = 0; Ft < this.m; Ft++)
1717
+ Ht = Ut * this.U[Ft][Rt] + Pt * this.U[Ft][q - 1], this.U[Ft][q - 1] = -Pt * this.U[Ft][Rt] + Ut * this.U[Ft][q - 1], this.U[Ft][Rt] = Ht;
1718
+ }
1719
+ }
1720
+ break;
1721
+ case 3:
1722
+ {
1723
+ var Yt = Math.max(Math.max(Math.max(Math.max(Math.abs(this.s[n - 1]), Math.abs(this.s[n - 2])), Math.abs(r[n - 2])), Math.abs(this.s[q])), Math.abs(r[q])), Vt = this.s[n - 1] / Yt, b = this.s[n - 2] / Yt, U = r[n - 2] / Yt, B = this.s[q] / Yt, J = r[q] / Yt, k = ((b + Vt) * (b - Vt) + U * U) / 2, at = Vt * U * (Vt * U), ct = 0;
1724
+ /* @__PURE__ */ (function(Tt, Ct) {
1725
+ return Tt || Ct;
1726
+ })(k !== 0, at !== 0) && (ct = Math.sqrt(k * k + at), k < 0 && (ct = -ct), ct = at / (k + ct));
1727
+ for (var nt = (B + Vt) * (B - Vt) + ct, tt = B * J, j = q; j < n - 1; j++) {
1728
+ var ut = u.hypot(nt, tt), wt = nt / ut, pt = tt / ut;
1729
+ j !== q && (r[j - 1] = ut), nt = wt * this.s[j] + pt * r[j], r[j] = wt * r[j] - pt * this.s[j], tt = pt * this.s[j + 1], this.s[j + 1] = wt * this.s[j + 1];
1730
+ for (var xt = 0; xt < this.n; xt++)
1731
+ ut = wt * this.V[xt][j] + pt * this.V[xt][j + 1], this.V[xt][j + 1] = -pt * this.V[xt][j] + wt * this.V[xt][j + 1], this.V[xt][j] = ut;
1732
+ if (ut = u.hypot(nt, tt), wt = nt / ut, pt = tt / ut, this.s[j] = ut, nt = wt * r[j] + pt * this.s[j + 1], this.s[j + 1] = -pt * r[j] + wt * this.s[j + 1], tt = pt * r[j + 1], r[j + 1] = wt * r[j + 1], j < this.m - 1)
1733
+ for (var lt = 0; lt < this.m; lt++)
1734
+ ut = wt * this.U[lt][j] + pt * this.U[lt][j + 1], this.U[lt][j + 1] = -pt * this.U[lt][j] + wt * this.U[lt][j + 1], this.U[lt][j] = ut;
1735
+ }
1736
+ r[n - 2] = nt;
1737
+ }
1738
+ break;
1739
+ case 4:
1740
+ {
1741
+ if (this.s[q] <= 0) {
1742
+ this.s[q] = this.s[q] < 0 ? -this.s[q] : 0;
1743
+ for (var ot = 0; ot <= $; ot++)
1744
+ this.V[ot][q] = -this.V[ot][q];
1745
+ }
1746
+ for (; q < $ && !(this.s[q] >= this.s[q + 1]); ) {
1747
+ var Lt = this.s[q];
1748
+ if (this.s[q] = this.s[q + 1], this.s[q + 1] = Lt, q < this.n - 1)
1749
+ for (var ft = 0; ft < this.n; ft++)
1750
+ Lt = this.V[ft][q + 1], this.V[ft][q + 1] = this.V[ft][q], this.V[ft][q] = Lt;
1751
+ if (q < this.m - 1)
1752
+ for (var st = 0; st < this.m; st++)
1753
+ Lt = this.U[st][q + 1], this.U[st][q + 1] = this.U[st][q], this.U[st][q] = Lt;
1754
+ q++;
1755
+ }
1756
+ n--;
1757
+ }
1758
+ break;
1759
+ }
1760
+ }
1761
+ var Xt = { U: this.U, V: this.V, S: this.s };
1762
+ return Xt;
1763
+ }, u.hypot = function(h, a) {
1764
+ var r = void 0;
1765
+ return Math.abs(h) > Math.abs(a) ? (r = a / h, r = Math.abs(h) * Math.sqrt(1 + r * r)) : a != 0 ? (r = h / a, r = Math.abs(a) * Math.sqrt(1 + r * r)) : r = 0, r;
1766
+ }, A.exports = u;
1767
+ },
1768
+ /* 27 */
1769
+ /***/
1770
+ function(A, P, N) {
1771
+ var u = /* @__PURE__ */ function() {
1772
+ function r(e, f) {
1773
+ for (var i = 0; i < f.length; i++) {
1774
+ var g = f[i];
1775
+ g.enumerable = g.enumerable || !1, g.configurable = !0, "value" in g && (g.writable = !0), Object.defineProperty(e, g.key, g);
1776
+ }
1777
+ }
1778
+ return function(e, f, i) {
1779
+ return f && r(e.prototype, f), i && r(e, i), e;
1780
+ };
1781
+ }();
1782
+ function h(r, e) {
1783
+ if (!(r instanceof e))
1784
+ throw new TypeError("Cannot call a class as a function");
1785
+ }
1786
+ var a = function() {
1787
+ function r(e, f) {
1788
+ var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, g = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : -1, t = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : -1;
1789
+ h(this, r), this.sequence1 = e, this.sequence2 = f, this.match_score = i, this.mismatch_penalty = g, this.gap_penalty = t, this.iMax = e.length + 1, this.jMax = f.length + 1, this.grid = new Array(this.iMax);
1790
+ for (var o = 0; o < this.iMax; o++) {
1791
+ this.grid[o] = new Array(this.jMax);
1792
+ for (var s = 0; s < this.jMax; s++)
1793
+ this.grid[o][s] = 0;
1794
+ }
1795
+ this.tracebackGrid = new Array(this.iMax);
1796
+ for (var c = 0; c < this.iMax; c++) {
1797
+ this.tracebackGrid[c] = new Array(this.jMax);
1798
+ for (var l = 0; l < this.jMax; l++)
1799
+ this.tracebackGrid[c][l] = [null, null, null];
1800
+ }
1801
+ this.alignments = [], this.score = -1, this.computeGrids();
1802
+ }
1803
+ return u(r, [{
1804
+ key: "getScore",
1805
+ value: function() {
1806
+ return this.score;
1807
+ }
1808
+ }, {
1809
+ key: "getAlignments",
1810
+ value: function() {
1811
+ return this.alignments;
1812
+ }
1813
+ // Main dynamic programming procedure
1814
+ }, {
1815
+ key: "computeGrids",
1816
+ value: function() {
1817
+ for (var f = 1; f < this.jMax; f++)
1818
+ this.grid[0][f] = this.grid[0][f - 1] + this.gap_penalty, this.tracebackGrid[0][f] = [!1, !1, !0];
1819
+ for (var i = 1; i < this.iMax; i++)
1820
+ this.grid[i][0] = this.grid[i - 1][0] + this.gap_penalty, this.tracebackGrid[i][0] = [!1, !0, !1];
1821
+ for (var g = 1; g < this.iMax; g++)
1822
+ for (var t = 1; t < this.jMax; t++) {
1823
+ var o = void 0;
1824
+ this.sequence1[g - 1] === this.sequence2[t - 1] ? o = this.grid[g - 1][t - 1] + this.match_score : o = this.grid[g - 1][t - 1] + this.mismatch_penalty;
1825
+ var s = this.grid[g - 1][t] + this.gap_penalty, c = this.grid[g][t - 1] + this.gap_penalty, l = [o, s, c], T = this.arrayAllMaxIndexes(l);
1826
+ this.grid[g][t] = l[T[0]], this.tracebackGrid[g][t] = [T.includes(0), T.includes(1), T.includes(2)];
1827
+ }
1828
+ this.score = this.grid[this.iMax - 1][this.jMax - 1];
1829
+ }
1830
+ // Gets all possible valid sequence combinations
1831
+ }, {
1832
+ key: "alignmentTraceback",
1833
+ value: function() {
1834
+ var f = [];
1835
+ for (f.push({
1836
+ pos: [this.sequence1.length, this.sequence2.length],
1837
+ seq1: "",
1838
+ seq2: ""
1839
+ }); f[0]; ) {
1840
+ var i = f[0], g = this.tracebackGrid[i.pos[0]][i.pos[1]];
1841
+ g[0] && f.push({
1842
+ pos: [i.pos[0] - 1, i.pos[1] - 1],
1843
+ seq1: this.sequence1[i.pos[0] - 1] + i.seq1,
1844
+ seq2: this.sequence2[i.pos[1] - 1] + i.seq2
1845
+ }), g[1] && f.push({
1846
+ pos: [i.pos[0] - 1, i.pos[1]],
1847
+ seq1: this.sequence1[i.pos[0] - 1] + i.seq1,
1848
+ seq2: "-" + i.seq2
1849
+ }), g[2] && f.push({
1850
+ pos: [i.pos[0], i.pos[1] - 1],
1851
+ seq1: "-" + i.seq1,
1852
+ seq2: this.sequence2[i.pos[1] - 1] + i.seq2
1853
+ }), i.pos[0] === 0 && i.pos[1] === 0 && this.alignments.push({
1854
+ sequence1: i.seq1,
1855
+ sequence2: i.seq2
1856
+ }), f.shift();
1857
+ }
1858
+ return this.alignments;
1859
+ }
1860
+ // Helper Functions
1861
+ }, {
1862
+ key: "getAllIndexes",
1863
+ value: function(f, i) {
1864
+ for (var g = [], t = -1; (t = f.indexOf(i, t + 1)) !== -1; )
1865
+ g.push(t);
1866
+ return g;
1867
+ }
1868
+ }, {
1869
+ key: "arrayAllMaxIndexes",
1870
+ value: function(f) {
1871
+ return this.getAllIndexes(f, Math.max.apply(null, f));
1872
+ }
1873
+ }]), r;
1874
+ }();
1875
+ A.exports = a;
1876
+ },
1877
+ /* 28 */
1878
+ /***/
1879
+ function(A, P, N) {
1880
+ var u = function() {
1881
+ };
1882
+ u.FDLayout = N(18), u.FDLayoutConstants = N(4), u.FDLayoutEdge = N(19), u.FDLayoutNode = N(20), u.DimensionD = N(21), u.HashMap = N(22), u.HashSet = N(23), u.IGeometry = N(8), u.IMath = N(9), u.Integer = N(10), u.Point = N(12), u.PointD = N(5), u.RandomSeed = N(16), u.RectangleD = N(13), u.Transform = N(17), u.UniqueIDGeneretor = N(14), u.Quicksort = N(25), u.LinkedList = N(11), u.LGraphObject = N(2), u.LGraph = N(6), u.LEdge = N(1), u.LGraphManager = N(7), u.LNode = N(3), u.Layout = N(15), u.LayoutConstants = N(0), u.NeedlemanWunsch = N(27), u.Matrix = N(24), u.SVD = N(26), A.exports = u;
1883
+ },
1884
+ /* 29 */
1885
+ /***/
1886
+ function(A, P, N) {
1887
+ function u() {
1888
+ this.listeners = [];
1889
+ }
1890
+ var h = u.prototype;
1891
+ h.addListener = function(a, r) {
1892
+ this.listeners.push({
1893
+ event: a,
1894
+ callback: r
1895
+ });
1896
+ }, h.removeListener = function(a, r) {
1897
+ for (var e = this.listeners.length; e >= 0; e--) {
1898
+ var f = this.listeners[e];
1899
+ f.event === a && f.callback === r && this.listeners.splice(e, 1);
1900
+ }
1901
+ }, h.emit = function(a, r) {
1902
+ for (var e = 0; e < this.listeners.length; e++) {
1903
+ var f = this.listeners[e];
1904
+ a === f.event && f.callback(r);
1905
+ }
1906
+ }, A.exports = u;
1907
+ }
1908
+ /******/
1909
+ ])
1910
+ );
1911
+ });
1912
+ }(de)), de.exports;
1913
+ }
1914
+ var Oe;
1915
+ function ur() {
1916
+ return Oe || (Oe = 1, function(I, O) {
1917
+ (function(P, N) {
1918
+ I.exports = N(gr());
1919
+ })(me, function(A) {
1920
+ return (
1921
+ /******/
1922
+ (() => {
1923
+ var P = {
1924
+ /***/
1925
+ 45: (
1926
+ /***/
1927
+ (a, r, e) => {
1928
+ var f = {};
1929
+ f.layoutBase = e(551), f.CoSEConstants = e(806), f.CoSEEdge = e(767), f.CoSEGraph = e(880), f.CoSEGraphManager = e(578), f.CoSELayout = e(765), f.CoSENode = e(991), f.ConstraintHandler = e(902), a.exports = f;
1930
+ }
1931
+ ),
1932
+ /***/
1933
+ 806: (
1934
+ /***/
1935
+ (a, r, e) => {
1936
+ var f = e(551).FDLayoutConstants;
1937
+ function i() {
1938
+ }
1939
+ for (var g in f)
1940
+ i[g] = f[g];
1941
+ i.DEFAULT_USE_MULTI_LEVEL_SCALING = !1, i.DEFAULT_RADIAL_SEPARATION = f.DEFAULT_EDGE_LENGTH, i.DEFAULT_COMPONENT_SEPERATION = 60, i.TILE = !0, i.TILING_PADDING_VERTICAL = 10, i.TILING_PADDING_HORIZONTAL = 10, i.TRANSFORM_ON_CONSTRAINT_HANDLING = !0, i.ENFORCE_CONSTRAINTS = !0, i.APPLY_LAYOUT = !0, i.RELAX_MOVEMENT_ON_CONSTRAINTS = !0, i.TREE_REDUCTION_ON_INCREMENTAL = !0, i.PURE_INCREMENTAL = i.DEFAULT_INCREMENTAL, a.exports = i;
1942
+ }
1943
+ ),
1944
+ /***/
1945
+ 767: (
1946
+ /***/
1947
+ (a, r, e) => {
1948
+ var f = e(551).FDLayoutEdge;
1949
+ function i(t, o, s) {
1950
+ f.call(this, t, o, s);
1951
+ }
1952
+ i.prototype = Object.create(f.prototype);
1953
+ for (var g in f)
1954
+ i[g] = f[g];
1955
+ a.exports = i;
1956
+ }
1957
+ ),
1958
+ /***/
1959
+ 880: (
1960
+ /***/
1961
+ (a, r, e) => {
1962
+ var f = e(551).LGraph;
1963
+ function i(t, o, s) {
1964
+ f.call(this, t, o, s);
1965
+ }
1966
+ i.prototype = Object.create(f.prototype);
1967
+ for (var g in f)
1968
+ i[g] = f[g];
1969
+ a.exports = i;
1970
+ }
1971
+ ),
1972
+ /***/
1973
+ 578: (
1974
+ /***/
1975
+ (a, r, e) => {
1976
+ var f = e(551).LGraphManager;
1977
+ function i(t) {
1978
+ f.call(this, t);
1979
+ }
1980
+ i.prototype = Object.create(f.prototype);
1981
+ for (var g in f)
1982
+ i[g] = f[g];
1983
+ a.exports = i;
1984
+ }
1985
+ ),
1986
+ /***/
1987
+ 765: (
1988
+ /***/
1989
+ (a, r, e) => {
1990
+ var f = e(551).FDLayout, i = e(578), g = e(880), t = e(991), o = e(767), s = e(806), c = e(902), l = e(551).FDLayoutConstants, T = e(551).LayoutConstants, d = e(551).Point, v = e(551).PointD, L = e(551).DimensionD, S = e(551).Layout, C = e(551).Integer, G = e(551).IGeometry, K = e(551).LGraph, X = e(551).Transform, Q = e(551).LinkedList;
1991
+ function D() {
1992
+ f.call(this), this.toBeTiled = {}, this.constraints = {};
1993
+ }
1994
+ D.prototype = Object.create(f.prototype);
1995
+ for (var rt in f)
1996
+ D[rt] = f[rt];
1997
+ D.prototype.newGraphManager = function() {
1998
+ var n = new i(this);
1999
+ return this.graphManager = n, n;
2000
+ }, D.prototype.newGraph = function(n) {
2001
+ return new g(null, this.graphManager, n);
2002
+ }, D.prototype.newNode = function(n) {
2003
+ return new t(this.graphManager, n);
2004
+ }, D.prototype.newEdge = function(n) {
2005
+ return new o(null, null, n);
2006
+ }, D.prototype.initParameters = function() {
2007
+ f.prototype.initParameters.call(this, arguments), this.isSubLayout || (s.DEFAULT_EDGE_LENGTH < 10 ? this.idealEdgeLength = 10 : this.idealEdgeLength = s.DEFAULT_EDGE_LENGTH, this.useSmartIdealEdgeLengthCalculation = s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION, this.gravityConstant = l.DEFAULT_GRAVITY_STRENGTH, this.compoundGravityConstant = l.DEFAULT_COMPOUND_GRAVITY_STRENGTH, this.gravityRangeFactor = l.DEFAULT_GRAVITY_RANGE_FACTOR, this.compoundGravityRangeFactor = l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR, this.prunedNodesAll = [], this.growTreeIterations = 0, this.afterGrowthIterations = 0, this.isTreeGrowing = !1, this.isGrowthFinished = !1);
2008
+ }, D.prototype.initSpringEmbedder = function() {
2009
+ f.prototype.initSpringEmbedder.call(this), this.coolingCycle = 0, this.maxCoolingCycle = this.maxIterations / l.CONVERGENCE_CHECK_PERIOD, this.finalTemperature = 0.04, this.coolingAdjuster = 1;
2010
+ }, D.prototype.layout = function() {
2011
+ var n = T.DEFAULT_CREATE_BENDS_AS_NEEDED;
2012
+ return n && (this.createBendpoints(), this.graphManager.resetAllEdges()), this.level = 0, this.classicLayout();
2013
+ }, D.prototype.classicLayout = function() {
2014
+ if (this.nodesWithGravity = this.calculateNodesToApplyGravitationTo(), this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity), this.calcNoOfChildrenForAllNodes(), this.graphManager.calcLowestCommonAncestors(), this.graphManager.calcInclusionTreeDepths(), this.graphManager.getRoot().calcEstimatedSize(), this.calcIdealEdgeLengths(), this.incremental) {
2015
+ if (s.TREE_REDUCTION_ON_INCREMENTAL) {
2016
+ this.reduceTrees(), this.graphManager.resetAllNodesToApplyGravitation();
2017
+ var m = new Set(this.getAllNodes()), p = this.nodesWithGravity.filter(function(R) {
2018
+ return m.has(R);
2019
+ });
2020
+ this.graphManager.setAllNodesToApplyGravitation(p);
2021
+ }
2022
+ } else {
2023
+ var n = this.getFlatForest();
2024
+ if (n.length > 0)
2025
+ this.positionNodesRadially(n);
2026
+ else {
2027
+ this.reduceTrees(), this.graphManager.resetAllNodesToApplyGravitation();
2028
+ var m = new Set(this.getAllNodes()), p = this.nodesWithGravity.filter(function(E) {
2029
+ return m.has(E);
2030
+ });
2031
+ this.graphManager.setAllNodesToApplyGravitation(p), this.positionNodesRandomly();
2032
+ }
2033
+ }
2034
+ return Object.keys(this.constraints).length > 0 && (c.handleConstraints(this), this.initConstraintVariables()), this.initSpringEmbedder(), s.APPLY_LAYOUT && this.runSpringEmbedder(), !0;
2035
+ }, D.prototype.tick = function() {
2036
+ if (this.totalIterations++, this.totalIterations === this.maxIterations && !this.isTreeGrowing && !this.isGrowthFinished)
2037
+ if (this.prunedNodesAll.length > 0)
2038
+ this.isTreeGrowing = !0;
2039
+ else
2040
+ return !0;
2041
+ if (this.totalIterations % l.CONVERGENCE_CHECK_PERIOD == 0 && !this.isTreeGrowing && !this.isGrowthFinished) {
2042
+ if (this.isConverged())
2043
+ if (this.prunedNodesAll.length > 0)
2044
+ this.isTreeGrowing = !0;
2045
+ else
2046
+ return !0;
2047
+ this.coolingCycle++, this.layoutQuality == 0 ? this.coolingAdjuster = this.coolingCycle : this.layoutQuality == 1 && (this.coolingAdjuster = this.coolingCycle / 3), this.coolingFactor = Math.max(this.initialCoolingFactor - Math.pow(this.coolingCycle, Math.log(100 * (this.initialCoolingFactor - this.finalTemperature)) / Math.log(this.maxCoolingCycle)) / 100 * this.coolingAdjuster, this.finalTemperature), this.animationPeriod = Math.ceil(this.initialAnimationPeriod * Math.sqrt(this.coolingFactor));
2048
+ }
2049
+ if (this.isTreeGrowing) {
2050
+ if (this.growTreeIterations % 10 == 0)
2051
+ if (this.prunedNodesAll.length > 0) {
2052
+ this.graphManager.updateBounds(), this.updateGrid(), this.growTree(this.prunedNodesAll), this.graphManager.resetAllNodesToApplyGravitation();
2053
+ var n = new Set(this.getAllNodes()), m = this.nodesWithGravity.filter(function(y) {
2054
+ return n.has(y);
2055
+ });
2056
+ this.graphManager.setAllNodesToApplyGravitation(m), this.graphManager.updateBounds(), this.updateGrid(), s.PURE_INCREMENTAL ? this.coolingFactor = l.DEFAULT_COOLING_FACTOR_INCREMENTAL / 2 : this.coolingFactor = l.DEFAULT_COOLING_FACTOR_INCREMENTAL;
2057
+ } else
2058
+ this.isTreeGrowing = !1, this.isGrowthFinished = !0;
2059
+ this.growTreeIterations++;
2060
+ }
2061
+ if (this.isGrowthFinished) {
2062
+ if (this.isConverged())
2063
+ return !0;
2064
+ this.afterGrowthIterations % 10 == 0 && (this.graphManager.updateBounds(), this.updateGrid()), s.PURE_INCREMENTAL ? this.coolingFactor = l.DEFAULT_COOLING_FACTOR_INCREMENTAL / 2 * ((100 - this.afterGrowthIterations) / 100) : this.coolingFactor = l.DEFAULT_COOLING_FACTOR_INCREMENTAL * ((100 - this.afterGrowthIterations) / 100), this.afterGrowthIterations++;
2065
+ }
2066
+ var p = !this.isTreeGrowing && !this.isGrowthFinished, E = this.growTreeIterations % 10 == 1 && this.isTreeGrowing || this.afterGrowthIterations % 10 == 1 && this.isGrowthFinished;
2067
+ return this.totalDisplacement = 0, this.graphManager.updateBounds(), this.calcSpringForces(), this.calcRepulsionForces(p, E), this.calcGravitationalForces(), this.moveNodes(), this.animate(), !1;
2068
+ }, D.prototype.getPositionsData = function() {
2069
+ for (var n = this.graphManager.getAllNodes(), m = {}, p = 0; p < n.length; p++) {
2070
+ var E = n[p].rect, y = n[p].id;
2071
+ m[y] = {
2072
+ id: y,
2073
+ x: E.getCenterX(),
2074
+ y: E.getCenterY(),
2075
+ w: E.width,
2076
+ h: E.height
2077
+ };
2078
+ }
2079
+ return m;
2080
+ }, D.prototype.runSpringEmbedder = function() {
2081
+ this.initialAnimationPeriod = 25, this.animationPeriod = this.initialAnimationPeriod;
2082
+ var n = !1;
2083
+ if (l.ANIMATE === "during")
2084
+ this.emit("layoutstarted");
2085
+ else {
2086
+ for (; !n; )
2087
+ n = this.tick();
2088
+ this.graphManager.updateBounds();
2089
+ }
2090
+ }, D.prototype.moveNodes = function() {
2091
+ for (var n = this.getAllNodes(), m, p = 0; p < n.length; p++)
2092
+ m = n[p], m.calculateDisplacement();
2093
+ Object.keys(this.constraints).length > 0 && this.updateDisplacements();
2094
+ for (var p = 0; p < n.length; p++)
2095
+ m = n[p], m.move();
2096
+ }, D.prototype.initConstraintVariables = function() {
2097
+ var n = this;
2098
+ this.idToNodeMap = /* @__PURE__ */ new Map(), this.fixedNodeSet = /* @__PURE__ */ new Set();
2099
+ for (var m = this.graphManager.getAllNodes(), p = 0; p < m.length; p++) {
2100
+ var E = m[p];
2101
+ this.idToNodeMap.set(E.id, E);
2102
+ }
2103
+ var y = function M(H) {
2104
+ for (var $ = H.getChild().getNodes(), _, ht = 0, q = 0; q < $.length; q++)
2105
+ _ = $[q], _.getChild() == null ? n.fixedNodeSet.has(_.id) && (ht += 100) : ht += M(_);
2106
+ return ht;
2107
+ };
2108
+ if (this.constraints.fixedNodeConstraint) {
2109
+ this.constraints.fixedNodeConstraint.forEach(function($) {
2110
+ n.fixedNodeSet.add($.nodeId);
2111
+ });
2112
+ for (var m = this.graphManager.getAllNodes(), E, p = 0; p < m.length; p++)
2113
+ if (E = m[p], E.getChild() != null) {
2114
+ var R = y(E);
2115
+ R > 0 && (E.fixedNodeWeight = R);
2116
+ }
2117
+ }
2118
+ if (this.constraints.relativePlacementConstraint) {
2119
+ var w = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map();
2120
+ if (this.dummyToNodeForVerticalAlignment = /* @__PURE__ */ new Map(), this.dummyToNodeForHorizontalAlignment = /* @__PURE__ */ new Map(), this.fixedNodesOnHorizontal = /* @__PURE__ */ new Set(), this.fixedNodesOnVertical = /* @__PURE__ */ new Set(), this.fixedNodeSet.forEach(function(M) {
2121
+ n.fixedNodesOnHorizontal.add(M), n.fixedNodesOnVertical.add(M);
2122
+ }), this.constraints.alignmentConstraint) {
2123
+ if (this.constraints.alignmentConstraint.vertical)
2124
+ for (var W = this.constraints.alignmentConstraint.vertical, p = 0; p < W.length; p++)
2125
+ this.dummyToNodeForVerticalAlignment.set("dummy" + p, []), W[p].forEach(function(H) {
2126
+ w.set(H, "dummy" + p), n.dummyToNodeForVerticalAlignment.get("dummy" + p).push(H), n.fixedNodeSet.has(H) && n.fixedNodesOnHorizontal.add("dummy" + p);
2127
+ });
2128
+ if (this.constraints.alignmentConstraint.horizontal)
2129
+ for (var x = this.constraints.alignmentConstraint.horizontal, p = 0; p < x.length; p++)
2130
+ this.dummyToNodeForHorizontalAlignment.set("dummy" + p, []), x[p].forEach(function(H) {
2131
+ F.set(H, "dummy" + p), n.dummyToNodeForHorizontalAlignment.get("dummy" + p).push(H), n.fixedNodeSet.has(H) && n.fixedNodesOnVertical.add("dummy" + p);
2132
+ });
2133
+ }
2134
+ if (s.RELAX_MOVEMENT_ON_CONSTRAINTS)
2135
+ this.shuffle = function(M) {
2136
+ var H, $, _;
2137
+ for (_ = M.length - 1; _ >= 2 * M.length / 3; _--)
2138
+ H = Math.floor(Math.random() * (_ + 1)), $ = M[_], M[_] = M[H], M[H] = $;
2139
+ return M;
2140
+ }, this.nodesInRelativeHorizontal = [], this.nodesInRelativeVertical = [], this.nodeToRelativeConstraintMapHorizontal = /* @__PURE__ */ new Map(), this.nodeToRelativeConstraintMapVertical = /* @__PURE__ */ new Map(), this.nodeToTempPositionMapHorizontal = /* @__PURE__ */ new Map(), this.nodeToTempPositionMapVertical = /* @__PURE__ */ new Map(), this.constraints.relativePlacementConstraint.forEach(function(M) {
2141
+ if (M.left) {
2142
+ var H = w.has(M.left) ? w.get(M.left) : M.left, $ = w.has(M.right) ? w.get(M.right) : M.right;
2143
+ n.nodesInRelativeHorizontal.includes(H) || (n.nodesInRelativeHorizontal.push(H), n.nodeToRelativeConstraintMapHorizontal.set(H, []), n.dummyToNodeForVerticalAlignment.has(H) ? n.nodeToTempPositionMapHorizontal.set(H, n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(H)[0]).getCenterX()) : n.nodeToTempPositionMapHorizontal.set(H, n.idToNodeMap.get(H).getCenterX())), n.nodesInRelativeHorizontal.includes($) || (n.nodesInRelativeHorizontal.push($), n.nodeToRelativeConstraintMapHorizontal.set($, []), n.dummyToNodeForVerticalAlignment.has($) ? n.nodeToTempPositionMapHorizontal.set($, n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get($)[0]).getCenterX()) : n.nodeToTempPositionMapHorizontal.set($, n.idToNodeMap.get($).getCenterX())), n.nodeToRelativeConstraintMapHorizontal.get(H).push({ right: $, gap: M.gap }), n.nodeToRelativeConstraintMapHorizontal.get($).push({ left: H, gap: M.gap });
2144
+ } else {
2145
+ var _ = F.has(M.top) ? F.get(M.top) : M.top, ht = F.has(M.bottom) ? F.get(M.bottom) : M.bottom;
2146
+ n.nodesInRelativeVertical.includes(_) || (n.nodesInRelativeVertical.push(_), n.nodeToRelativeConstraintMapVertical.set(_, []), n.dummyToNodeForHorizontalAlignment.has(_) ? n.nodeToTempPositionMapVertical.set(_, n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()) : n.nodeToTempPositionMapVertical.set(_, n.idToNodeMap.get(_).getCenterY())), n.nodesInRelativeVertical.includes(ht) || (n.nodesInRelativeVertical.push(ht), n.nodeToRelativeConstraintMapVertical.set(ht, []), n.dummyToNodeForHorizontalAlignment.has(ht) ? n.nodeToTempPositionMapVertical.set(ht, n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(ht)[0]).getCenterY()) : n.nodeToTempPositionMapVertical.set(ht, n.idToNodeMap.get(ht).getCenterY())), n.nodeToRelativeConstraintMapVertical.get(_).push({ bottom: ht, gap: M.gap }), n.nodeToRelativeConstraintMapVertical.get(ht).push({ top: _, gap: M.gap });
2147
+ }
2148
+ });
2149
+ else {
2150
+ var Z = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map();
2151
+ this.constraints.relativePlacementConstraint.forEach(function(M) {
2152
+ if (M.left) {
2153
+ var H = w.has(M.left) ? w.get(M.left) : M.left, $ = w.has(M.right) ? w.get(M.right) : M.right;
2154
+ Z.has(H) ? Z.get(H).push($) : Z.set(H, [$]), Z.has($) ? Z.get($).push(H) : Z.set($, [H]);
2155
+ } else {
2156
+ var _ = F.has(M.top) ? F.get(M.top) : M.top, ht = F.has(M.bottom) ? F.get(M.bottom) : M.bottom;
2157
+ V.has(_) ? V.get(_).push(ht) : V.set(_, [ht]), V.has(ht) ? V.get(ht).push(_) : V.set(ht, [_]);
2158
+ }
2159
+ });
2160
+ var Y = function(H, $) {
2161
+ var _ = [], ht = [], q = new Q(), It = /* @__PURE__ */ new Set(), Nt = 0;
2162
+ return H.forEach(function(vt, it) {
2163
+ if (!It.has(it)) {
2164
+ _[Nt] = [], ht[Nt] = !1;
2165
+ var gt = it;
2166
+ for (q.push(gt), It.add(gt), _[Nt].push(gt); q.length != 0; ) {
2167
+ gt = q.shift(), $.has(gt) && (ht[Nt] = !0);
2168
+ var mt = H.get(gt);
2169
+ mt.forEach(function(At) {
2170
+ It.has(At) || (q.push(At), It.add(At), _[Nt].push(At));
2171
+ });
2172
+ }
2173
+ Nt++;
2174
+ }
2175
+ }), { components: _, isFixed: ht };
2176
+ }, et = Y(Z, n.fixedNodesOnHorizontal);
2177
+ this.componentsOnHorizontal = et.components, this.fixedComponentsOnHorizontal = et.isFixed;
2178
+ var z = Y(V, n.fixedNodesOnVertical);
2179
+ this.componentsOnVertical = z.components, this.fixedComponentsOnVertical = z.isFixed;
2180
+ }
2181
+ }
2182
+ }, D.prototype.updateDisplacements = function() {
2183
+ var n = this;
2184
+ if (this.constraints.fixedNodeConstraint && this.constraints.fixedNodeConstraint.forEach(function(z) {
2185
+ var M = n.idToNodeMap.get(z.nodeId);
2186
+ M.displacementX = 0, M.displacementY = 0;
2187
+ }), this.constraints.alignmentConstraint) {
2188
+ if (this.constraints.alignmentConstraint.vertical)
2189
+ for (var m = this.constraints.alignmentConstraint.vertical, p = 0; p < m.length; p++) {
2190
+ for (var E = 0, y = 0; y < m[p].length; y++) {
2191
+ if (this.fixedNodeSet.has(m[p][y])) {
2192
+ E = 0;
2193
+ break;
2194
+ }
2195
+ E += this.idToNodeMap.get(m[p][y]).displacementX;
2196
+ }
2197
+ for (var R = E / m[p].length, y = 0; y < m[p].length; y++)
2198
+ this.idToNodeMap.get(m[p][y]).displacementX = R;
2199
+ }
2200
+ if (this.constraints.alignmentConstraint.horizontal)
2201
+ for (var w = this.constraints.alignmentConstraint.horizontal, p = 0; p < w.length; p++) {
2202
+ for (var F = 0, y = 0; y < w[p].length; y++) {
2203
+ if (this.fixedNodeSet.has(w[p][y])) {
2204
+ F = 0;
2205
+ break;
2206
+ }
2207
+ F += this.idToNodeMap.get(w[p][y]).displacementY;
2208
+ }
2209
+ for (var W = F / w[p].length, y = 0; y < w[p].length; y++)
2210
+ this.idToNodeMap.get(w[p][y]).displacementY = W;
2211
+ }
2212
+ }
2213
+ if (this.constraints.relativePlacementConstraint)
2214
+ if (s.RELAX_MOVEMENT_ON_CONSTRAINTS)
2215
+ this.totalIterations % 10 == 0 && (this.shuffle(this.nodesInRelativeHorizontal), this.shuffle(this.nodesInRelativeVertical)), this.nodesInRelativeHorizontal.forEach(function(z) {
2216
+ if (!n.fixedNodesOnHorizontal.has(z)) {
2217
+ var M = 0;
2218
+ n.dummyToNodeForVerticalAlignment.has(z) ? M = n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(z)[0]).displacementX : M = n.idToNodeMap.get(z).displacementX, n.nodeToRelativeConstraintMapHorizontal.get(z).forEach(function(H) {
2219
+ if (H.right) {
2220
+ var $ = n.nodeToTempPositionMapHorizontal.get(H.right) - n.nodeToTempPositionMapHorizontal.get(z) - M;
2221
+ $ < H.gap && (M -= H.gap - $);
2222
+ } else {
2223
+ var $ = n.nodeToTempPositionMapHorizontal.get(z) - n.nodeToTempPositionMapHorizontal.get(H.left) + M;
2224
+ $ < H.gap && (M += H.gap - $);
2225
+ }
2226
+ }), n.nodeToTempPositionMapHorizontal.set(z, n.nodeToTempPositionMapHorizontal.get(z) + M), n.dummyToNodeForVerticalAlignment.has(z) ? n.dummyToNodeForVerticalAlignment.get(z).forEach(function(H) {
2227
+ n.idToNodeMap.get(H).displacementX = M;
2228
+ }) : n.idToNodeMap.get(z).displacementX = M;
2229
+ }
2230
+ }), this.nodesInRelativeVertical.forEach(function(z) {
2231
+ if (!n.fixedNodesOnHorizontal.has(z)) {
2232
+ var M = 0;
2233
+ n.dummyToNodeForHorizontalAlignment.has(z) ? M = n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(z)[0]).displacementY : M = n.idToNodeMap.get(z).displacementY, n.nodeToRelativeConstraintMapVertical.get(z).forEach(function(H) {
2234
+ if (H.bottom) {
2235
+ var $ = n.nodeToTempPositionMapVertical.get(H.bottom) - n.nodeToTempPositionMapVertical.get(z) - M;
2236
+ $ < H.gap && (M -= H.gap - $);
2237
+ } else {
2238
+ var $ = n.nodeToTempPositionMapVertical.get(z) - n.nodeToTempPositionMapVertical.get(H.top) + M;
2239
+ $ < H.gap && (M += H.gap - $);
2240
+ }
2241
+ }), n.nodeToTempPositionMapVertical.set(z, n.nodeToTempPositionMapVertical.get(z) + M), n.dummyToNodeForHorizontalAlignment.has(z) ? n.dummyToNodeForHorizontalAlignment.get(z).forEach(function(H) {
2242
+ n.idToNodeMap.get(H).displacementY = M;
2243
+ }) : n.idToNodeMap.get(z).displacementY = M;
2244
+ }
2245
+ });
2246
+ else {
2247
+ for (var p = 0; p < this.componentsOnHorizontal.length; p++) {
2248
+ var x = this.componentsOnHorizontal[p];
2249
+ if (this.fixedComponentsOnHorizontal[p])
2250
+ for (var y = 0; y < x.length; y++)
2251
+ this.dummyToNodeForVerticalAlignment.has(x[y]) ? this.dummyToNodeForVerticalAlignment.get(x[y]).forEach(function(H) {
2252
+ n.idToNodeMap.get(H).displacementX = 0;
2253
+ }) : this.idToNodeMap.get(x[y]).displacementX = 0;
2254
+ else {
2255
+ for (var Z = 0, V = 0, y = 0; y < x.length; y++)
2256
+ if (this.dummyToNodeForVerticalAlignment.has(x[y])) {
2257
+ var Y = this.dummyToNodeForVerticalAlignment.get(x[y]);
2258
+ Z += Y.length * this.idToNodeMap.get(Y[0]).displacementX, V += Y.length;
2259
+ } else
2260
+ Z += this.idToNodeMap.get(x[y]).displacementX, V++;
2261
+ for (var et = Z / V, y = 0; y < x.length; y++)
2262
+ this.dummyToNodeForVerticalAlignment.has(x[y]) ? this.dummyToNodeForVerticalAlignment.get(x[y]).forEach(function(H) {
2263
+ n.idToNodeMap.get(H).displacementX = et;
2264
+ }) : this.idToNodeMap.get(x[y]).displacementX = et;
2265
+ }
2266
+ }
2267
+ for (var p = 0; p < this.componentsOnVertical.length; p++) {
2268
+ var x = this.componentsOnVertical[p];
2269
+ if (this.fixedComponentsOnVertical[p])
2270
+ for (var y = 0; y < x.length; y++)
2271
+ this.dummyToNodeForHorizontalAlignment.has(x[y]) ? this.dummyToNodeForHorizontalAlignment.get(x[y]).forEach(function($) {
2272
+ n.idToNodeMap.get($).displacementY = 0;
2273
+ }) : this.idToNodeMap.get(x[y]).displacementY = 0;
2274
+ else {
2275
+ for (var Z = 0, V = 0, y = 0; y < x.length; y++)
2276
+ if (this.dummyToNodeForHorizontalAlignment.has(x[y])) {
2277
+ var Y = this.dummyToNodeForHorizontalAlignment.get(x[y]);
2278
+ Z += Y.length * this.idToNodeMap.get(Y[0]).displacementY, V += Y.length;
2279
+ } else
2280
+ Z += this.idToNodeMap.get(x[y]).displacementY, V++;
2281
+ for (var et = Z / V, y = 0; y < x.length; y++)
2282
+ this.dummyToNodeForHorizontalAlignment.has(x[y]) ? this.dummyToNodeForHorizontalAlignment.get(x[y]).forEach(function(q) {
2283
+ n.idToNodeMap.get(q).displacementY = et;
2284
+ }) : this.idToNodeMap.get(x[y]).displacementY = et;
2285
+ }
2286
+ }
2287
+ }
2288
+ }, D.prototype.calculateNodesToApplyGravitationTo = function() {
2289
+ var n = [], m, p = this.graphManager.getGraphs(), E = p.length, y;
2290
+ for (y = 0; y < E; y++)
2291
+ m = p[y], m.updateConnected(), m.isConnected || (n = n.concat(m.getNodes()));
2292
+ return n;
2293
+ }, D.prototype.createBendpoints = function() {
2294
+ var n = [];
2295
+ n = n.concat(this.graphManager.getAllEdges());
2296
+ var m = /* @__PURE__ */ new Set(), p;
2297
+ for (p = 0; p < n.length; p++) {
2298
+ var E = n[p];
2299
+ if (!m.has(E)) {
2300
+ var y = E.getSource(), R = E.getTarget();
2301
+ if (y == R)
2302
+ E.getBendpoints().push(new v()), E.getBendpoints().push(new v()), this.createDummyNodesForBendpoints(E), m.add(E);
2303
+ else {
2304
+ var w = [];
2305
+ if (w = w.concat(y.getEdgeListToNode(R)), w = w.concat(R.getEdgeListToNode(y)), !m.has(w[0])) {
2306
+ if (w.length > 1) {
2307
+ var F;
2308
+ for (F = 0; F < w.length; F++) {
2309
+ var W = w[F];
2310
+ W.getBendpoints().push(new v()), this.createDummyNodesForBendpoints(W);
2311
+ }
2312
+ }
2313
+ w.forEach(function(x) {
2314
+ m.add(x);
2315
+ });
2316
+ }
2317
+ }
2318
+ }
2319
+ if (m.size == n.length)
2320
+ break;
2321
+ }
2322
+ }, D.prototype.positionNodesRadially = function(n) {
2323
+ for (var m = new d(0, 0), p = Math.ceil(Math.sqrt(n.length)), E = 0, y = 0, R = 0, w = new v(0, 0), F = 0; F < n.length; F++) {
2324
+ F % p == 0 && (R = 0, y = E, F != 0 && (y += s.DEFAULT_COMPONENT_SEPERATION), E = 0);
2325
+ var W = n[F], x = S.findCenterOfTree(W);
2326
+ m.x = R, m.y = y, w = D.radialLayout(W, x, m), w.y > E && (E = Math.floor(w.y)), R = Math.floor(w.x + s.DEFAULT_COMPONENT_SEPERATION);
2327
+ }
2328
+ this.transform(new v(T.WORLD_CENTER_X - w.x / 2, T.WORLD_CENTER_Y - w.y / 2));
2329
+ }, D.radialLayout = function(n, m, p) {
2330
+ var E = Math.max(this.maxDiagonalInTree(n), s.DEFAULT_RADIAL_SEPARATION);
2331
+ D.branchRadialLayout(m, null, 0, 359, 0, E);
2332
+ var y = K.calculateBounds(n), R = new X();
2333
+ R.setDeviceOrgX(y.getMinX()), R.setDeviceOrgY(y.getMinY()), R.setWorldOrgX(p.x), R.setWorldOrgY(p.y);
2334
+ for (var w = 0; w < n.length; w++) {
2335
+ var F = n[w];
2336
+ F.transform(R);
2337
+ }
2338
+ var W = new v(y.getMaxX(), y.getMaxY());
2339
+ return R.inverseTransformPoint(W);
2340
+ }, D.branchRadialLayout = function(n, m, p, E, y, R) {
2341
+ var w = (E - p + 1) / 2;
2342
+ w < 0 && (w += 180);
2343
+ var F = (w + p) % 360, W = F * G.TWO_PI / 360, x = y * Math.cos(W), Z = y * Math.sin(W);
2344
+ n.setCenter(x, Z);
2345
+ var V = [];
2346
+ V = V.concat(n.getEdges());
2347
+ var Y = V.length;
2348
+ m != null && Y--;
2349
+ for (var et = 0, z = V.length, M, H = n.getEdgesBetween(m); H.length > 1; ) {
2350
+ var $ = H[0];
2351
+ H.splice(0, 1);
2352
+ var _ = V.indexOf($);
2353
+ _ >= 0 && V.splice(_, 1), z--, Y--;
2354
+ }
2355
+ m != null ? M = (V.indexOf(H[0]) + 1) % z : M = 0;
2356
+ for (var ht = Math.abs(E - p) / Y, q = M; et != Y; q = ++q % z) {
2357
+ var It = V[q].getOtherEnd(n);
2358
+ if (It != m) {
2359
+ var Nt = (p + et * ht) % 360, vt = (Nt + ht) % 360;
2360
+ D.branchRadialLayout(It, n, Nt, vt, y + R, R), et++;
2361
+ }
2362
+ }
2363
+ }, D.maxDiagonalInTree = function(n) {
2364
+ for (var m = C.MIN_VALUE, p = 0; p < n.length; p++) {
2365
+ var E = n[p], y = E.getDiagonal();
2366
+ y > m && (m = y);
2367
+ }
2368
+ return m;
2369
+ }, D.prototype.calcRepulsionRange = function() {
2370
+ return 2 * (this.level + 1) * this.idealEdgeLength;
2371
+ }, D.prototype.groupZeroDegreeMembers = function() {
2372
+ var n = this, m = {};
2373
+ this.memberGroups = {}, this.idToDummyNode = {};
2374
+ for (var p = [], E = this.graphManager.getAllNodes(), y = 0; y < E.length; y++) {
2375
+ var R = E[y], w = R.getParent();
2376
+ this.getNodeDegreeWithChildren(R) === 0 && (w.id == null || !this.getToBeTiled(w)) && p.push(R);
2377
+ }
2378
+ for (var y = 0; y < p.length; y++) {
2379
+ var R = p[y], F = R.getParent().id;
2380
+ typeof m[F] > "u" && (m[F] = []), m[F] = m[F].concat(R);
2381
+ }
2382
+ Object.keys(m).forEach(function(W) {
2383
+ if (m[W].length > 1) {
2384
+ var x = "DummyCompound_" + W;
2385
+ n.memberGroups[x] = m[W];
2386
+ var Z = m[W][0].getParent(), V = new t(n.graphManager);
2387
+ V.id = x, V.paddingLeft = Z.paddingLeft || 0, V.paddingRight = Z.paddingRight || 0, V.paddingBottom = Z.paddingBottom || 0, V.paddingTop = Z.paddingTop || 0, n.idToDummyNode[x] = V;
2388
+ var Y = n.getGraphManager().add(n.newGraph(), V), et = Z.getChild();
2389
+ et.add(V);
2390
+ for (var z = 0; z < m[W].length; z++) {
2391
+ var M = m[W][z];
2392
+ et.remove(M), Y.add(M);
2393
+ }
2394
+ }
2395
+ });
2396
+ }, D.prototype.clearCompounds = function() {
2397
+ var n = {}, m = {};
2398
+ this.performDFSOnCompounds();
2399
+ for (var p = 0; p < this.compoundOrder.length; p++)
2400
+ m[this.compoundOrder[p].id] = this.compoundOrder[p], n[this.compoundOrder[p].id] = [].concat(this.compoundOrder[p].getChild().getNodes()), this.graphManager.remove(this.compoundOrder[p].getChild()), this.compoundOrder[p].child = null;
2401
+ this.graphManager.resetAllNodes(), this.tileCompoundMembers(n, m);
2402
+ }, D.prototype.clearZeroDegreeMembers = function() {
2403
+ var n = this, m = this.tiledZeroDegreePack = [];
2404
+ Object.keys(this.memberGroups).forEach(function(p) {
2405
+ var E = n.idToDummyNode[p];
2406
+ if (m[p] = n.tileNodes(n.memberGroups[p], E.paddingLeft + E.paddingRight), E.rect.width = m[p].width, E.rect.height = m[p].height, E.setCenter(m[p].centerX, m[p].centerY), E.labelMarginLeft = 0, E.labelMarginTop = 0, s.NODE_DIMENSIONS_INCLUDE_LABELS) {
2407
+ var y = E.rect.width, R = E.rect.height;
2408
+ E.labelWidth && (E.labelPosHorizontal == "left" ? (E.rect.x -= E.labelWidth, E.setWidth(y + E.labelWidth), E.labelMarginLeft = E.labelWidth) : E.labelPosHorizontal == "center" && E.labelWidth > y ? (E.rect.x -= (E.labelWidth - y) / 2, E.setWidth(E.labelWidth), E.labelMarginLeft = (E.labelWidth - y) / 2) : E.labelPosHorizontal == "right" && E.setWidth(y + E.labelWidth)), E.labelHeight && (E.labelPosVertical == "top" ? (E.rect.y -= E.labelHeight, E.setHeight(R + E.labelHeight), E.labelMarginTop = E.labelHeight) : E.labelPosVertical == "center" && E.labelHeight > R ? (E.rect.y -= (E.labelHeight - R) / 2, E.setHeight(E.labelHeight), E.labelMarginTop = (E.labelHeight - R) / 2) : E.labelPosVertical == "bottom" && E.setHeight(R + E.labelHeight));
2409
+ }
2410
+ });
2411
+ }, D.prototype.repopulateCompounds = function() {
2412
+ for (var n = this.compoundOrder.length - 1; n >= 0; n--) {
2413
+ var m = this.compoundOrder[n], p = m.id, E = m.paddingLeft, y = m.paddingTop, R = m.labelMarginLeft, w = m.labelMarginTop;
2414
+ this.adjustLocations(this.tiledMemberPack[p], m.rect.x, m.rect.y, E, y, R, w);
2415
+ }
2416
+ }, D.prototype.repopulateZeroDegreeMembers = function() {
2417
+ var n = this, m = this.tiledZeroDegreePack;
2418
+ Object.keys(m).forEach(function(p) {
2419
+ var E = n.idToDummyNode[p], y = E.paddingLeft, R = E.paddingTop, w = E.labelMarginLeft, F = E.labelMarginTop;
2420
+ n.adjustLocations(m[p], E.rect.x, E.rect.y, y, R, w, F);
2421
+ });
2422
+ }, D.prototype.getToBeTiled = function(n) {
2423
+ var m = n.id;
2424
+ if (this.toBeTiled[m] != null)
2425
+ return this.toBeTiled[m];
2426
+ var p = n.getChild();
2427
+ if (p == null)
2428
+ return this.toBeTiled[m] = !1, !1;
2429
+ for (var E = p.getNodes(), y = 0; y < E.length; y++) {
2430
+ var R = E[y];
2431
+ if (this.getNodeDegree(R) > 0)
2432
+ return this.toBeTiled[m] = !1, !1;
2433
+ if (R.getChild() == null) {
2434
+ this.toBeTiled[R.id] = !1;
2435
+ continue;
2436
+ }
2437
+ if (!this.getToBeTiled(R))
2438
+ return this.toBeTiled[m] = !1, !1;
2439
+ }
2440
+ return this.toBeTiled[m] = !0, !0;
2441
+ }, D.prototype.getNodeDegree = function(n) {
2442
+ n.id;
2443
+ for (var m = n.getEdges(), p = 0, E = 0; E < m.length; E++) {
2444
+ var y = m[E];
2445
+ y.getSource().id !== y.getTarget().id && (p = p + 1);
2446
+ }
2447
+ return p;
2448
+ }, D.prototype.getNodeDegreeWithChildren = function(n) {
2449
+ var m = this.getNodeDegree(n);
2450
+ if (n.getChild() == null)
2451
+ return m;
2452
+ for (var p = n.getChild().getNodes(), E = 0; E < p.length; E++) {
2453
+ var y = p[E];
2454
+ m += this.getNodeDegreeWithChildren(y);
2455
+ }
2456
+ return m;
2457
+ }, D.prototype.performDFSOnCompounds = function() {
2458
+ this.compoundOrder = [], this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes());
2459
+ }, D.prototype.fillCompexOrderByDFS = function(n) {
2460
+ for (var m = 0; m < n.length; m++) {
2461
+ var p = n[m];
2462
+ p.getChild() != null && this.fillCompexOrderByDFS(p.getChild().getNodes()), this.getToBeTiled(p) && this.compoundOrder.push(p);
2463
+ }
2464
+ }, D.prototype.adjustLocations = function(n, m, p, E, y, R, w) {
2465
+ m += E + R, p += y + w;
2466
+ for (var F = m, W = 0; W < n.rows.length; W++) {
2467
+ var x = n.rows[W];
2468
+ m = F;
2469
+ for (var Z = 0, V = 0; V < x.length; V++) {
2470
+ var Y = x[V];
2471
+ Y.rect.x = m, Y.rect.y = p, m += Y.rect.width + n.horizontalPadding, Y.rect.height > Z && (Z = Y.rect.height);
2472
+ }
2473
+ p += Z + n.verticalPadding;
2474
+ }
2475
+ }, D.prototype.tileCompoundMembers = function(n, m) {
2476
+ var p = this;
2477
+ this.tiledMemberPack = [], Object.keys(n).forEach(function(E) {
2478
+ var y = m[E];
2479
+ if (p.tiledMemberPack[E] = p.tileNodes(n[E], y.paddingLeft + y.paddingRight), y.rect.width = p.tiledMemberPack[E].width, y.rect.height = p.tiledMemberPack[E].height, y.setCenter(p.tiledMemberPack[E].centerX, p.tiledMemberPack[E].centerY), y.labelMarginLeft = 0, y.labelMarginTop = 0, s.NODE_DIMENSIONS_INCLUDE_LABELS) {
2480
+ var R = y.rect.width, w = y.rect.height;
2481
+ y.labelWidth && (y.labelPosHorizontal == "left" ? (y.rect.x -= y.labelWidth, y.setWidth(R + y.labelWidth), y.labelMarginLeft = y.labelWidth) : y.labelPosHorizontal == "center" && y.labelWidth > R ? (y.rect.x -= (y.labelWidth - R) / 2, y.setWidth(y.labelWidth), y.labelMarginLeft = (y.labelWidth - R) / 2) : y.labelPosHorizontal == "right" && y.setWidth(R + y.labelWidth)), y.labelHeight && (y.labelPosVertical == "top" ? (y.rect.y -= y.labelHeight, y.setHeight(w + y.labelHeight), y.labelMarginTop = y.labelHeight) : y.labelPosVertical == "center" && y.labelHeight > w ? (y.rect.y -= (y.labelHeight - w) / 2, y.setHeight(y.labelHeight), y.labelMarginTop = (y.labelHeight - w) / 2) : y.labelPosVertical == "bottom" && y.setHeight(w + y.labelHeight));
2482
+ }
2483
+ });
2484
+ }, D.prototype.tileNodes = function(n, m) {
2485
+ var p = this.tileNodesByFavoringDim(n, m, !0), E = this.tileNodesByFavoringDim(n, m, !1), y = this.getOrgRatio(p), R = this.getOrgRatio(E), w;
2486
+ return R < y ? w = E : w = p, w;
2487
+ }, D.prototype.getOrgRatio = function(n) {
2488
+ var m = n.width, p = n.height, E = m / p;
2489
+ return E < 1 && (E = 1 / E), E;
2490
+ }, D.prototype.calcIdealRowWidth = function(n, m) {
2491
+ var p = s.TILING_PADDING_VERTICAL, E = s.TILING_PADDING_HORIZONTAL, y = n.length, R = 0, w = 0, F = 0;
2492
+ n.forEach(function(z) {
2493
+ R += z.getWidth(), w += z.getHeight(), z.getWidth() > F && (F = z.getWidth());
2494
+ });
2495
+ var W = R / y, x = w / y, Z = Math.pow(p - E, 2) + 4 * (W + E) * (x + p) * y, V = (E - p + Math.sqrt(Z)) / (2 * (W + E)), Y;
2496
+ m ? (Y = Math.ceil(V), Y == V && Y++) : Y = Math.floor(V);
2497
+ var et = Y * (W + E) - E;
2498
+ return F > et && (et = F), et += E * 2, et;
2499
+ }, D.prototype.tileNodesByFavoringDim = function(n, m, p) {
2500
+ var E = s.TILING_PADDING_VERTICAL, y = s.TILING_PADDING_HORIZONTAL, R = s.TILING_COMPARE_BY, w = {
2501
+ rows: [],
2502
+ rowWidth: [],
2503
+ rowHeight: [],
2504
+ width: 0,
2505
+ height: m,
2506
+ // assume minHeight equals to minWidth
2507
+ verticalPadding: E,
2508
+ horizontalPadding: y,
2509
+ centerX: 0,
2510
+ centerY: 0
2511
+ };
2512
+ R && (w.idealRowWidth = this.calcIdealRowWidth(n, p));
2513
+ var F = function(M) {
2514
+ return M.rect.width * M.rect.height;
2515
+ }, W = function(M, H) {
2516
+ return F(H) - F(M);
2517
+ };
2518
+ n.sort(function(z, M) {
2519
+ var H = W;
2520
+ return w.idealRowWidth ? (H = R, H(z.id, M.id)) : H(z, M);
2521
+ });
2522
+ for (var x = 0, Z = 0, V = 0; V < n.length; V++) {
2523
+ var Y = n[V];
2524
+ x += Y.getCenterX(), Z += Y.getCenterY();
2525
+ }
2526
+ w.centerX = x / n.length, w.centerY = Z / n.length;
2527
+ for (var V = 0; V < n.length; V++) {
2528
+ var Y = n[V];
2529
+ if (w.rows.length == 0)
2530
+ this.insertNodeToRow(w, Y, 0, m);
2531
+ else if (this.canAddHorizontal(w, Y.rect.width, Y.rect.height)) {
2532
+ var et = w.rows.length - 1;
2533
+ w.idealRowWidth || (et = this.getShortestRowIndex(w)), this.insertNodeToRow(w, Y, et, m);
2534
+ } else
2535
+ this.insertNodeToRow(w, Y, w.rows.length, m);
2536
+ this.shiftToLastRow(w);
2537
+ }
2538
+ return w;
2539
+ }, D.prototype.insertNodeToRow = function(n, m, p, E) {
2540
+ var y = E;
2541
+ if (p == n.rows.length) {
2542
+ var R = [];
2543
+ n.rows.push(R), n.rowWidth.push(y), n.rowHeight.push(0);
2544
+ }
2545
+ var w = n.rowWidth[p] + m.rect.width;
2546
+ n.rows[p].length > 0 && (w += n.horizontalPadding), n.rowWidth[p] = w, n.width < w && (n.width = w);
2547
+ var F = m.rect.height;
2548
+ p > 0 && (F += n.verticalPadding);
2549
+ var W = 0;
2550
+ F > n.rowHeight[p] && (W = n.rowHeight[p], n.rowHeight[p] = F, W = n.rowHeight[p] - W), n.height += W, n.rows[p].push(m);
2551
+ }, D.prototype.getShortestRowIndex = function(n) {
2552
+ for (var m = -1, p = Number.MAX_VALUE, E = 0; E < n.rows.length; E++)
2553
+ n.rowWidth[E] < p && (m = E, p = n.rowWidth[E]);
2554
+ return m;
2555
+ }, D.prototype.getLongestRowIndex = function(n) {
2556
+ for (var m = -1, p = Number.MIN_VALUE, E = 0; E < n.rows.length; E++)
2557
+ n.rowWidth[E] > p && (m = E, p = n.rowWidth[E]);
2558
+ return m;
2559
+ }, D.prototype.canAddHorizontal = function(n, m, p) {
2560
+ if (n.idealRowWidth) {
2561
+ var E = n.rows.length - 1, y = n.rowWidth[E];
2562
+ return y + m + n.horizontalPadding <= n.idealRowWidth;
2563
+ }
2564
+ var R = this.getShortestRowIndex(n);
2565
+ if (R < 0)
2566
+ return !0;
2567
+ var w = n.rowWidth[R];
2568
+ if (w + n.horizontalPadding + m <= n.width) return !0;
2569
+ var F = 0;
2570
+ n.rowHeight[R] < p && R > 0 && (F = p + n.verticalPadding - n.rowHeight[R]);
2571
+ var W;
2572
+ n.width - w >= m + n.horizontalPadding ? W = (n.height + F) / (w + m + n.horizontalPadding) : W = (n.height + F) / n.width, F = p + n.verticalPadding;
2573
+ var x;
2574
+ return n.width < m ? x = (n.height + F) / m : x = (n.height + F) / n.width, x < 1 && (x = 1 / x), W < 1 && (W = 1 / W), W < x;
2575
+ }, D.prototype.shiftToLastRow = function(n) {
2576
+ var m = this.getLongestRowIndex(n), p = n.rowWidth.length - 1, E = n.rows[m], y = E[E.length - 1], R = y.width + n.horizontalPadding;
2577
+ if (n.width - n.rowWidth[p] > R && m != p) {
2578
+ E.splice(-1, 1), n.rows[p].push(y), n.rowWidth[m] = n.rowWidth[m] - R, n.rowWidth[p] = n.rowWidth[p] + R, n.width = n.rowWidth[instance.getLongestRowIndex(n)];
2579
+ for (var w = Number.MIN_VALUE, F = 0; F < E.length; F++)
2580
+ E[F].height > w && (w = E[F].height);
2581
+ m > 0 && (w += n.verticalPadding);
2582
+ var W = n.rowHeight[m] + n.rowHeight[p];
2583
+ n.rowHeight[m] = w, n.rowHeight[p] < y.height + n.verticalPadding && (n.rowHeight[p] = y.height + n.verticalPadding);
2584
+ var x = n.rowHeight[m] + n.rowHeight[p];
2585
+ n.height += x - W, this.shiftToLastRow(n);
2586
+ }
2587
+ }, D.prototype.tilingPreLayout = function() {
2588
+ s.TILE && (this.groupZeroDegreeMembers(), this.clearCompounds(), this.clearZeroDegreeMembers());
2589
+ }, D.prototype.tilingPostLayout = function() {
2590
+ s.TILE && (this.repopulateZeroDegreeMembers(), this.repopulateCompounds());
2591
+ }, D.prototype.reduceTrees = function() {
2592
+ for (var n = [], m = !0, p; m; ) {
2593
+ var E = this.graphManager.getAllNodes(), y = [];
2594
+ m = !1;
2595
+ for (var R = 0; R < E.length; R++)
2596
+ if (p = E[R], p.getEdges().length == 1 && !p.getEdges()[0].isInterGraph && p.getChild() == null) {
2597
+ if (s.PURE_INCREMENTAL) {
2598
+ var w = p.getEdges()[0].getOtherEnd(p), F = new L(p.getCenterX() - w.getCenterX(), p.getCenterY() - w.getCenterY());
2599
+ y.push([p, p.getEdges()[0], p.getOwner(), F]);
2600
+ } else
2601
+ y.push([p, p.getEdges()[0], p.getOwner()]);
2602
+ m = !0;
2603
+ }
2604
+ if (m == !0) {
2605
+ for (var W = [], x = 0; x < y.length; x++)
2606
+ y[x][0].getEdges().length == 1 && (W.push(y[x]), y[x][0].getOwner().remove(y[x][0]));
2607
+ n.push(W), this.graphManager.resetAllNodes(), this.graphManager.resetAllEdges();
2608
+ }
2609
+ }
2610
+ this.prunedNodesAll = n;
2611
+ }, D.prototype.growTree = function(n) {
2612
+ for (var m = n.length, p = n[m - 1], E, y = 0; y < p.length; y++)
2613
+ E = p[y], this.findPlaceforPrunedNode(E), E[2].add(E[0]), E[2].add(E[1], E[1].source, E[1].target);
2614
+ n.splice(n.length - 1, 1), this.graphManager.resetAllNodes(), this.graphManager.resetAllEdges();
2615
+ }, D.prototype.findPlaceforPrunedNode = function(n) {
2616
+ var m, p, E = n[0];
2617
+ if (E == n[1].source ? p = n[1].target : p = n[1].source, s.PURE_INCREMENTAL)
2618
+ E.setCenter(p.getCenterX() + n[3].getWidth(), p.getCenterY() + n[3].getHeight());
2619
+ else {
2620
+ var y = p.startX, R = p.finishX, w = p.startY, F = p.finishY, W = 0, x = 0, Z = 0, V = 0, Y = [W, Z, x, V];
2621
+ if (w > 0)
2622
+ for (var et = y; et <= R; et++)
2623
+ Y[0] += this.grid[et][w - 1].length + this.grid[et][w].length - 1;
2624
+ if (R < this.grid.length - 1)
2625
+ for (var et = w; et <= F; et++)
2626
+ Y[1] += this.grid[R + 1][et].length + this.grid[R][et].length - 1;
2627
+ if (F < this.grid[0].length - 1)
2628
+ for (var et = y; et <= R; et++)
2629
+ Y[2] += this.grid[et][F + 1].length + this.grid[et][F].length - 1;
2630
+ if (y > 0)
2631
+ for (var et = w; et <= F; et++)
2632
+ Y[3] += this.grid[y - 1][et].length + this.grid[y][et].length - 1;
2633
+ for (var z = C.MAX_VALUE, M, H, $ = 0; $ < Y.length; $++)
2634
+ Y[$] < z ? (z = Y[$], M = 1, H = $) : Y[$] == z && M++;
2635
+ if (M == 3 && z == 0)
2636
+ Y[0] == 0 && Y[1] == 0 && Y[2] == 0 ? m = 1 : Y[0] == 0 && Y[1] == 0 && Y[3] == 0 ? m = 0 : Y[0] == 0 && Y[2] == 0 && Y[3] == 0 ? m = 3 : Y[1] == 0 && Y[2] == 0 && Y[3] == 0 && (m = 2);
2637
+ else if (M == 2 && z == 0) {
2638
+ var _ = Math.floor(Math.random() * 2);
2639
+ Y[0] == 0 && Y[1] == 0 ? _ == 0 ? m = 0 : m = 1 : Y[0] == 0 && Y[2] == 0 ? _ == 0 ? m = 0 : m = 2 : Y[0] == 0 && Y[3] == 0 ? _ == 0 ? m = 0 : m = 3 : Y[1] == 0 && Y[2] == 0 ? _ == 0 ? m = 1 : m = 2 : Y[1] == 0 && Y[3] == 0 ? _ == 0 ? m = 1 : m = 3 : _ == 0 ? m = 2 : m = 3;
2640
+ } else if (M == 4 && z == 0) {
2641
+ var _ = Math.floor(Math.random() * 4);
2642
+ m = _;
2643
+ } else
2644
+ m = H;
2645
+ m == 0 ? E.setCenter(p.getCenterX(), p.getCenterY() - p.getHeight() / 2 - l.DEFAULT_EDGE_LENGTH - E.getHeight() / 2) : m == 1 ? E.setCenter(p.getCenterX() + p.getWidth() / 2 + l.DEFAULT_EDGE_LENGTH + E.getWidth() / 2, p.getCenterY()) : m == 2 ? E.setCenter(p.getCenterX(), p.getCenterY() + p.getHeight() / 2 + l.DEFAULT_EDGE_LENGTH + E.getHeight() / 2) : E.setCenter(p.getCenterX() - p.getWidth() / 2 - l.DEFAULT_EDGE_LENGTH - E.getWidth() / 2, p.getCenterY());
2646
+ }
2647
+ }, a.exports = D;
2648
+ }
2649
+ ),
2650
+ /***/
2651
+ 991: (
2652
+ /***/
2653
+ (a, r, e) => {
2654
+ var f = e(551).FDLayoutNode, i = e(551).IMath;
2655
+ function g(o, s, c, l) {
2656
+ f.call(this, o, s, c, l);
2657
+ }
2658
+ g.prototype = Object.create(f.prototype);
2659
+ for (var t in f)
2660
+ g[t] = f[t];
2661
+ g.prototype.calculateDisplacement = function() {
2662
+ var o = this.graphManager.getLayout();
2663
+ this.getChild() != null && this.fixedNodeWeight ? (this.displacementX += o.coolingFactor * (this.springForceX + this.repulsionForceX + this.gravitationForceX) / this.fixedNodeWeight, this.displacementY += o.coolingFactor * (this.springForceY + this.repulsionForceY + this.gravitationForceY) / this.fixedNodeWeight) : (this.displacementX += o.coolingFactor * (this.springForceX + this.repulsionForceX + this.gravitationForceX) / this.noOfChildren, this.displacementY += o.coolingFactor * (this.springForceY + this.repulsionForceY + this.gravitationForceY) / this.noOfChildren), Math.abs(this.displacementX) > o.coolingFactor * o.maxNodeDisplacement && (this.displacementX = o.coolingFactor * o.maxNodeDisplacement * i.sign(this.displacementX)), Math.abs(this.displacementY) > o.coolingFactor * o.maxNodeDisplacement && (this.displacementY = o.coolingFactor * o.maxNodeDisplacement * i.sign(this.displacementY)), this.child && this.child.getNodes().length > 0 && this.propogateDisplacementToChildren(this.displacementX, this.displacementY);
2664
+ }, g.prototype.propogateDisplacementToChildren = function(o, s) {
2665
+ for (var c = this.getChild().getNodes(), l, T = 0; T < c.length; T++)
2666
+ l = c[T], l.getChild() == null ? (l.displacementX += o, l.displacementY += s) : l.propogateDisplacementToChildren(o, s);
2667
+ }, g.prototype.move = function() {
2668
+ var o = this.graphManager.getLayout();
2669
+ (this.child == null || this.child.getNodes().length == 0) && (this.moveBy(this.displacementX, this.displacementY), o.totalDisplacement += Math.abs(this.displacementX) + Math.abs(this.displacementY)), this.springForceX = 0, this.springForceY = 0, this.repulsionForceX = 0, this.repulsionForceY = 0, this.gravitationForceX = 0, this.gravitationForceY = 0, this.displacementX = 0, this.displacementY = 0;
2670
+ }, g.prototype.setPred1 = function(o) {
2671
+ this.pred1 = o;
2672
+ }, g.prototype.getPred1 = function() {
2673
+ return pred1;
2674
+ }, g.prototype.getPred2 = function() {
2675
+ return pred2;
2676
+ }, g.prototype.setNext = function(o) {
2677
+ this.next = o;
2678
+ }, g.prototype.getNext = function() {
2679
+ return next;
2680
+ }, g.prototype.setProcessed = function(o) {
2681
+ this.processed = o;
2682
+ }, g.prototype.isProcessed = function() {
2683
+ return processed;
2684
+ }, a.exports = g;
2685
+ }
2686
+ ),
2687
+ /***/
2688
+ 902: (
2689
+ /***/
2690
+ (a, r, e) => {
2691
+ function f(c) {
2692
+ if (Array.isArray(c)) {
2693
+ for (var l = 0, T = Array(c.length); l < c.length; l++)
2694
+ T[l] = c[l];
2695
+ return T;
2696
+ } else
2697
+ return Array.from(c);
2698
+ }
2699
+ var i = e(806), g = e(551).LinkedList, t = e(551).Matrix, o = e(551).SVD;
2700
+ function s() {
2701
+ }
2702
+ s.handleConstraints = function(c) {
2703
+ var l = {};
2704
+ l.fixedNodeConstraint = c.constraints.fixedNodeConstraint, l.alignmentConstraint = c.constraints.alignmentConstraint, l.relativePlacementConstraint = c.constraints.relativePlacementConstraint;
2705
+ for (var T = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), v = [], L = [], S = c.getAllNodes(), C = 0, G = 0; G < S.length; G++) {
2706
+ var K = S[G];
2707
+ K.getChild() == null && (d.set(K.id, C++), v.push(K.getCenterX()), L.push(K.getCenterY()), T.set(K.id, K));
2708
+ }
2709
+ l.relativePlacementConstraint && l.relativePlacementConstraint.forEach(function(b) {
2710
+ !b.gap && b.gap != 0 && (b.left ? b.gap = i.DEFAULT_EDGE_LENGTH + T.get(b.left).getWidth() / 2 + T.get(b.right).getWidth() / 2 : b.gap = i.DEFAULT_EDGE_LENGTH + T.get(b.top).getHeight() / 2 + T.get(b.bottom).getHeight() / 2);
2711
+ });
2712
+ var X = function(U, B) {
2713
+ return { x: U.x - B.x, y: U.y - B.y };
2714
+ }, Q = function(U) {
2715
+ var B = 0, J = 0;
2716
+ return U.forEach(function(k) {
2717
+ B += v[d.get(k)], J += L[d.get(k)];
2718
+ }), { x: B / U.size, y: J / U.size };
2719
+ }, D = function(U, B, J, k, at) {
2720
+ function ct(lt, ot) {
2721
+ var Lt = new Set(lt), ft = !0, st = !1, Xt = void 0;
2722
+ try {
2723
+ for (var Tt = ot[Symbol.iterator](), Ct; !(ft = (Ct = Tt.next()).done); ft = !0) {
2724
+ var $t = Ct.value;
2725
+ Lt.add($t);
2726
+ }
2727
+ } catch (bt) {
2728
+ st = !0, Xt = bt;
2729
+ } finally {
2730
+ try {
2731
+ !ft && Tt.return && Tt.return();
2732
+ } finally {
2733
+ if (st)
2734
+ throw Xt;
2735
+ }
2736
+ }
2737
+ return Lt;
2738
+ }
2739
+ var nt = /* @__PURE__ */ new Map();
2740
+ U.forEach(function(lt, ot) {
2741
+ nt.set(ot, 0);
2742
+ }), U.forEach(function(lt, ot) {
2743
+ lt.forEach(function(Lt) {
2744
+ nt.set(Lt.id, nt.get(Lt.id) + 1);
2745
+ });
2746
+ });
2747
+ var tt = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), ut = new g();
2748
+ nt.forEach(function(lt, ot) {
2749
+ lt == 0 ? (ut.push(ot), J || (B == "horizontal" ? tt.set(ot, d.has(ot) ? v[d.get(ot)] : k.get(ot)) : tt.set(ot, d.has(ot) ? L[d.get(ot)] : k.get(ot)))) : tt.set(ot, Number.NEGATIVE_INFINITY), J && j.set(ot, /* @__PURE__ */ new Set([ot]));
2750
+ }), J && at.forEach(function(lt) {
2751
+ var ot = [];
2752
+ if (lt.forEach(function(st) {
2753
+ J.has(st) && ot.push(st);
2754
+ }), ot.length > 0) {
2755
+ var Lt = 0;
2756
+ ot.forEach(function(st) {
2757
+ B == "horizontal" ? (tt.set(st, d.has(st) ? v[d.get(st)] : k.get(st)), Lt += tt.get(st)) : (tt.set(st, d.has(st) ? L[d.get(st)] : k.get(st)), Lt += tt.get(st));
2758
+ }), Lt = Lt / ot.length, lt.forEach(function(st) {
2759
+ J.has(st) || tt.set(st, Lt);
2760
+ });
2761
+ } else {
2762
+ var ft = 0;
2763
+ lt.forEach(function(st) {
2764
+ B == "horizontal" ? ft += d.has(st) ? v[d.get(st)] : k.get(st) : ft += d.has(st) ? L[d.get(st)] : k.get(st);
2765
+ }), ft = ft / lt.length, lt.forEach(function(st) {
2766
+ tt.set(st, ft);
2767
+ });
2768
+ }
2769
+ });
2770
+ for (var wt = function() {
2771
+ var ot = ut.shift(), Lt = U.get(ot);
2772
+ Lt.forEach(function(ft) {
2773
+ if (tt.get(ft.id) < tt.get(ot) + ft.gap)
2774
+ if (J && J.has(ft.id)) {
2775
+ var st = void 0;
2776
+ if (B == "horizontal" ? st = d.has(ft.id) ? v[d.get(ft.id)] : k.get(ft.id) : st = d.has(ft.id) ? L[d.get(ft.id)] : k.get(ft.id), tt.set(ft.id, st), st < tt.get(ot) + ft.gap) {
2777
+ var Xt = tt.get(ot) + ft.gap - st;
2778
+ j.get(ot).forEach(function(Tt) {
2779
+ tt.set(Tt, tt.get(Tt) - Xt);
2780
+ });
2781
+ }
2782
+ } else
2783
+ tt.set(ft.id, tt.get(ot) + ft.gap);
2784
+ nt.set(ft.id, nt.get(ft.id) - 1), nt.get(ft.id) == 0 && ut.push(ft.id), J && j.set(ft.id, ct(j.get(ot), j.get(ft.id)));
2785
+ });
2786
+ }; ut.length != 0; )
2787
+ wt();
2788
+ if (J) {
2789
+ var pt = /* @__PURE__ */ new Set();
2790
+ U.forEach(function(lt, ot) {
2791
+ lt.length == 0 && pt.add(ot);
2792
+ });
2793
+ var xt = [];
2794
+ j.forEach(function(lt, ot) {
2795
+ if (pt.has(ot)) {
2796
+ var Lt = !1, ft = !0, st = !1, Xt = void 0;
2797
+ try {
2798
+ for (var Tt = lt[Symbol.iterator](), Ct; !(ft = (Ct = Tt.next()).done); ft = !0) {
2799
+ var $t = Ct.value;
2800
+ J.has($t) && (Lt = !0);
2801
+ }
2802
+ } catch (St) {
2803
+ st = !0, Xt = St;
2804
+ } finally {
2805
+ try {
2806
+ !ft && Tt.return && Tt.return();
2807
+ } finally {
2808
+ if (st)
2809
+ throw Xt;
2810
+ }
2811
+ }
2812
+ if (!Lt) {
2813
+ var bt = !1, zt = void 0;
2814
+ xt.forEach(function(St, kt) {
2815
+ St.has([].concat(f(lt))[0]) && (bt = !0, zt = kt);
2816
+ }), bt ? lt.forEach(function(St) {
2817
+ xt[zt].add(St);
2818
+ }) : xt.push(new Set(lt));
2819
+ }
2820
+ }
2821
+ }), xt.forEach(function(lt, ot) {
2822
+ var Lt = Number.POSITIVE_INFINITY, ft = Number.POSITIVE_INFINITY, st = Number.NEGATIVE_INFINITY, Xt = Number.NEGATIVE_INFINITY, Tt = !0, Ct = !1, $t = void 0;
2823
+ try {
2824
+ for (var bt = lt[Symbol.iterator](), zt; !(Tt = (zt = bt.next()).done); Tt = !0) {
2825
+ var St = zt.value, kt = void 0;
2826
+ B == "horizontal" ? kt = d.has(St) ? v[d.get(St)] : k.get(St) : kt = d.has(St) ? L[d.get(St)] : k.get(St);
2827
+ var Kt = tt.get(St);
2828
+ kt < Lt && (Lt = kt), kt > st && (st = kt), Kt < ft && (ft = Kt), Kt > Xt && (Xt = Kt);
2829
+ }
2830
+ } catch (ee) {
2831
+ Ct = !0, $t = ee;
2832
+ } finally {
2833
+ try {
2834
+ !Tt && bt.return && bt.return();
2835
+ } finally {
2836
+ if (Ct)
2837
+ throw $t;
2838
+ }
2839
+ }
2840
+ var he = (Lt + st) / 2 - (ft + Xt) / 2, Qt = !0, jt = !1, _t = void 0;
2841
+ try {
2842
+ for (var Jt = lt[Symbol.iterator](), oe; !(Qt = (oe = Jt.next()).done); Qt = !0) {
2843
+ var te = oe.value;
2844
+ tt.set(te, tt.get(te) + he);
2845
+ }
2846
+ } catch (ee) {
2847
+ jt = !0, _t = ee;
2848
+ } finally {
2849
+ try {
2850
+ !Qt && Jt.return && Jt.return();
2851
+ } finally {
2852
+ if (jt)
2853
+ throw _t;
2854
+ }
2855
+ }
2856
+ });
2857
+ }
2858
+ return tt;
2859
+ }, rt = function(U) {
2860
+ var B = 0, J = 0, k = 0, at = 0;
2861
+ if (U.forEach(function(j) {
2862
+ j.left ? v[d.get(j.left)] - v[d.get(j.right)] >= 0 ? B++ : J++ : L[d.get(j.top)] - L[d.get(j.bottom)] >= 0 ? k++ : at++;
2863
+ }), B > J && k > at)
2864
+ for (var ct = 0; ct < d.size; ct++)
2865
+ v[ct] = -1 * v[ct], L[ct] = -1 * L[ct];
2866
+ else if (B > J)
2867
+ for (var nt = 0; nt < d.size; nt++)
2868
+ v[nt] = -1 * v[nt];
2869
+ else if (k > at)
2870
+ for (var tt = 0; tt < d.size; tt++)
2871
+ L[tt] = -1 * L[tt];
2872
+ }, n = function(U) {
2873
+ var B = [], J = new g(), k = /* @__PURE__ */ new Set(), at = 0;
2874
+ return U.forEach(function(ct, nt) {
2875
+ if (!k.has(nt)) {
2876
+ B[at] = [];
2877
+ var tt = nt;
2878
+ for (J.push(tt), k.add(tt), B[at].push(tt); J.length != 0; ) {
2879
+ tt = J.shift();
2880
+ var j = U.get(tt);
2881
+ j.forEach(function(ut) {
2882
+ k.has(ut.id) || (J.push(ut.id), k.add(ut.id), B[at].push(ut.id));
2883
+ });
2884
+ }
2885
+ at++;
2886
+ }
2887
+ }), B;
2888
+ }, m = function(U) {
2889
+ var B = /* @__PURE__ */ new Map();
2890
+ return U.forEach(function(J, k) {
2891
+ B.set(k, []);
2892
+ }), U.forEach(function(J, k) {
2893
+ J.forEach(function(at) {
2894
+ B.get(k).push(at), B.get(at.id).push({ id: k, gap: at.gap, direction: at.direction });
2895
+ });
2896
+ }), B;
2897
+ }, p = function(U) {
2898
+ var B = /* @__PURE__ */ new Map();
2899
+ return U.forEach(function(J, k) {
2900
+ B.set(k, []);
2901
+ }), U.forEach(function(J, k) {
2902
+ J.forEach(function(at) {
2903
+ B.get(at.id).push({ id: k, gap: at.gap, direction: at.direction });
2904
+ });
2905
+ }), B;
2906
+ }, E = [], y = [], R = !1, w = !1, F = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Map(), x = /* @__PURE__ */ new Map(), Z = [];
2907
+ if (l.fixedNodeConstraint && l.fixedNodeConstraint.forEach(function(b) {
2908
+ F.add(b.nodeId);
2909
+ }), l.relativePlacementConstraint && (l.relativePlacementConstraint.forEach(function(b) {
2910
+ b.left ? (W.has(b.left) ? W.get(b.left).push({ id: b.right, gap: b.gap, direction: "horizontal" }) : W.set(b.left, [{ id: b.right, gap: b.gap, direction: "horizontal" }]), W.has(b.right) || W.set(b.right, [])) : (W.has(b.top) ? W.get(b.top).push({ id: b.bottom, gap: b.gap, direction: "vertical" }) : W.set(b.top, [{ id: b.bottom, gap: b.gap, direction: "vertical" }]), W.has(b.bottom) || W.set(b.bottom, []));
2911
+ }), x = m(W), Z = n(x)), i.TRANSFORM_ON_CONSTRAINT_HANDLING) {
2912
+ if (l.fixedNodeConstraint && l.fixedNodeConstraint.length > 1)
2913
+ l.fixedNodeConstraint.forEach(function(b, U) {
2914
+ E[U] = [b.position.x, b.position.y], y[U] = [v[d.get(b.nodeId)], L[d.get(b.nodeId)]];
2915
+ }), R = !0;
2916
+ else if (l.alignmentConstraint)
2917
+ (function() {
2918
+ var b = 0;
2919
+ if (l.alignmentConstraint.vertical) {
2920
+ for (var U = l.alignmentConstraint.vertical, B = function(tt) {
2921
+ var j = /* @__PURE__ */ new Set();
2922
+ U[tt].forEach(function(pt) {
2923
+ j.add(pt);
2924
+ });
2925
+ var ut = new Set([].concat(f(j)).filter(function(pt) {
2926
+ return F.has(pt);
2927
+ })), wt = void 0;
2928
+ ut.size > 0 ? wt = v[d.get(ut.values().next().value)] : wt = Q(j).x, U[tt].forEach(function(pt) {
2929
+ E[b] = [wt, L[d.get(pt)]], y[b] = [v[d.get(pt)], L[d.get(pt)]], b++;
2930
+ });
2931
+ }, J = 0; J < U.length; J++)
2932
+ B(J);
2933
+ R = !0;
2934
+ }
2935
+ if (l.alignmentConstraint.horizontal) {
2936
+ for (var k = l.alignmentConstraint.horizontal, at = function(tt) {
2937
+ var j = /* @__PURE__ */ new Set();
2938
+ k[tt].forEach(function(pt) {
2939
+ j.add(pt);
2940
+ });
2941
+ var ut = new Set([].concat(f(j)).filter(function(pt) {
2942
+ return F.has(pt);
2943
+ })), wt = void 0;
2944
+ ut.size > 0 ? wt = v[d.get(ut.values().next().value)] : wt = Q(j).y, k[tt].forEach(function(pt) {
2945
+ E[b] = [v[d.get(pt)], wt], y[b] = [v[d.get(pt)], L[d.get(pt)]], b++;
2946
+ });
2947
+ }, ct = 0; ct < k.length; ct++)
2948
+ at(ct);
2949
+ R = !0;
2950
+ }
2951
+ l.relativePlacementConstraint && (w = !0);
2952
+ })();
2953
+ else if (l.relativePlacementConstraint) {
2954
+ for (var V = 0, Y = 0, et = 0; et < Z.length; et++)
2955
+ Z[et].length > V && (V = Z[et].length, Y = et);
2956
+ if (V < x.size / 2)
2957
+ rt(l.relativePlacementConstraint), R = !1, w = !1;
2958
+ else {
2959
+ var z = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), H = [];
2960
+ Z[Y].forEach(function(b) {
2961
+ W.get(b).forEach(function(U) {
2962
+ U.direction == "horizontal" ? (z.has(b) ? z.get(b).push(U) : z.set(b, [U]), z.has(U.id) || z.set(U.id, []), H.push({ left: b, right: U.id })) : (M.has(b) ? M.get(b).push(U) : M.set(b, [U]), M.has(U.id) || M.set(U.id, []), H.push({ top: b, bottom: U.id }));
2963
+ });
2964
+ }), rt(H), w = !1;
2965
+ var $ = D(z, "horizontal"), _ = D(M, "vertical");
2966
+ Z[Y].forEach(function(b, U) {
2967
+ y[U] = [v[d.get(b)], L[d.get(b)]], E[U] = [], $.has(b) ? E[U][0] = $.get(b) : E[U][0] = v[d.get(b)], _.has(b) ? E[U][1] = _.get(b) : E[U][1] = L[d.get(b)];
2968
+ }), R = !0;
2969
+ }
2970
+ }
2971
+ if (R) {
2972
+ for (var ht = void 0, q = t.transpose(E), It = t.transpose(y), Nt = 0; Nt < q.length; Nt++)
2973
+ q[Nt] = t.multGamma(q[Nt]), It[Nt] = t.multGamma(It[Nt]);
2974
+ var vt = t.multMat(q, t.transpose(It)), it = o.svd(vt);
2975
+ ht = t.multMat(it.V, t.transpose(it.U));
2976
+ for (var gt = 0; gt < d.size; gt++) {
2977
+ var mt = [v[gt], L[gt]], At = [ht[0][0], ht[1][0]], Ot = [ht[0][1], ht[1][1]];
2978
+ v[gt] = t.dotProduct(mt, At), L[gt] = t.dotProduct(mt, Ot);
2979
+ }
2980
+ w && rt(l.relativePlacementConstraint);
2981
+ }
2982
+ }
2983
+ if (i.ENFORCE_CONSTRAINTS) {
2984
+ if (l.fixedNodeConstraint && l.fixedNodeConstraint.length > 0) {
2985
+ var Et = { x: 0, y: 0 };
2986
+ l.fixedNodeConstraint.forEach(function(b, U) {
2987
+ var B = { x: v[d.get(b.nodeId)], y: L[d.get(b.nodeId)] }, J = b.position, k = X(J, B);
2988
+ Et.x += k.x, Et.y += k.y;
2989
+ }), Et.x /= l.fixedNodeConstraint.length, Et.y /= l.fixedNodeConstraint.length, v.forEach(function(b, U) {
2990
+ v[U] += Et.x;
2991
+ }), L.forEach(function(b, U) {
2992
+ L[U] += Et.y;
2993
+ }), l.fixedNodeConstraint.forEach(function(b) {
2994
+ v[d.get(b.nodeId)] = b.position.x, L[d.get(b.nodeId)] = b.position.y;
2995
+ });
2996
+ }
2997
+ if (l.alignmentConstraint) {
2998
+ if (l.alignmentConstraint.vertical)
2999
+ for (var Dt = l.alignmentConstraint.vertical, Rt = function(U) {
3000
+ var B = /* @__PURE__ */ new Set();
3001
+ Dt[U].forEach(function(at) {
3002
+ B.add(at);
3003
+ });
3004
+ var J = new Set([].concat(f(B)).filter(function(at) {
3005
+ return F.has(at);
3006
+ })), k = void 0;
3007
+ J.size > 0 ? k = v[d.get(J.values().next().value)] : k = Q(B).x, B.forEach(function(at) {
3008
+ F.has(at) || (v[d.get(at)] = k);
3009
+ });
3010
+ }, Ht = 0; Ht < Dt.length; Ht++)
3011
+ Rt(Ht);
3012
+ if (l.alignmentConstraint.horizontal)
3013
+ for (var Ut = l.alignmentConstraint.horizontal, Pt = function(U) {
3014
+ var B = /* @__PURE__ */ new Set();
3015
+ Ut[U].forEach(function(at) {
3016
+ B.add(at);
3017
+ });
3018
+ var J = new Set([].concat(f(B)).filter(function(at) {
3019
+ return F.has(at);
3020
+ })), k = void 0;
3021
+ J.size > 0 ? k = L[d.get(J.values().next().value)] : k = Q(B).y, B.forEach(function(at) {
3022
+ F.has(at) || (L[d.get(at)] = k);
3023
+ });
3024
+ }, Ft = 0; Ft < Ut.length; Ft++)
3025
+ Pt(Ft);
3026
+ }
3027
+ l.relativePlacementConstraint && function() {
3028
+ var b = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), at = /* @__PURE__ */ new Map(), ct = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Set();
3029
+ if (F.forEach(function(Gt) {
3030
+ ct.add(Gt), nt.add(Gt);
3031
+ }), l.alignmentConstraint) {
3032
+ if (l.alignmentConstraint.vertical)
3033
+ for (var tt = l.alignmentConstraint.vertical, j = function(yt) {
3034
+ B.set("dummy" + yt, []), tt[yt].forEach(function(Mt) {
3035
+ b.set(Mt, "dummy" + yt), B.get("dummy" + yt).push(Mt), F.has(Mt) && ct.add("dummy" + yt);
3036
+ }), k.set("dummy" + yt, v[d.get(tt[yt][0])]);
3037
+ }, ut = 0; ut < tt.length; ut++)
3038
+ j(ut);
3039
+ if (l.alignmentConstraint.horizontal)
3040
+ for (var wt = l.alignmentConstraint.horizontal, pt = function(yt) {
3041
+ J.set("dummy" + yt, []), wt[yt].forEach(function(Mt) {
3042
+ U.set(Mt, "dummy" + yt), J.get("dummy" + yt).push(Mt), F.has(Mt) && nt.add("dummy" + yt);
3043
+ }), at.set("dummy" + yt, L[d.get(wt[yt][0])]);
3044
+ }, xt = 0; xt < wt.length; xt++)
3045
+ pt(xt);
3046
+ }
3047
+ var lt = /* @__PURE__ */ new Map(), ot = /* @__PURE__ */ new Map(), Lt = function(yt) {
3048
+ W.get(yt).forEach(function(Mt) {
3049
+ var Zt = void 0, Bt = void 0;
3050
+ Mt.direction == "horizontal" ? (Zt = b.get(yt) ? b.get(yt) : yt, b.get(Mt.id) ? Bt = { id: b.get(Mt.id), gap: Mt.gap, direction: Mt.direction } : Bt = Mt, lt.has(Zt) ? lt.get(Zt).push(Bt) : lt.set(Zt, [Bt]), lt.has(Bt.id) || lt.set(Bt.id, [])) : (Zt = U.get(yt) ? U.get(yt) : yt, U.get(Mt.id) ? Bt = { id: U.get(Mt.id), gap: Mt.gap, direction: Mt.direction } : Bt = Mt, ot.has(Zt) ? ot.get(Zt).push(Bt) : ot.set(Zt, [Bt]), ot.has(Bt.id) || ot.set(Bt.id, []));
3051
+ });
3052
+ }, ft = !0, st = !1, Xt = void 0;
3053
+ try {
3054
+ for (var Tt = W.keys()[Symbol.iterator](), Ct; !(ft = (Ct = Tt.next()).done); ft = !0) {
3055
+ var $t = Ct.value;
3056
+ Lt($t);
3057
+ }
3058
+ } catch (Gt) {
3059
+ st = !0, Xt = Gt;
3060
+ } finally {
3061
+ try {
3062
+ !ft && Tt.return && Tt.return();
3063
+ } finally {
3064
+ if (st)
3065
+ throw Xt;
3066
+ }
3067
+ }
3068
+ var bt = m(lt), zt = m(ot), St = n(bt), kt = n(zt), Kt = p(lt), he = p(ot), Qt = [], jt = [];
3069
+ St.forEach(function(Gt, yt) {
3070
+ Qt[yt] = [], Gt.forEach(function(Mt) {
3071
+ Kt.get(Mt).length == 0 && Qt[yt].push(Mt);
3072
+ });
3073
+ }), kt.forEach(function(Gt, yt) {
3074
+ jt[yt] = [], Gt.forEach(function(Mt) {
3075
+ he.get(Mt).length == 0 && jt[yt].push(Mt);
3076
+ });
3077
+ });
3078
+ var _t = D(lt, "horizontal", ct, k, Qt), Jt = D(ot, "vertical", nt, at, jt), oe = function(yt) {
3079
+ B.get(yt) ? B.get(yt).forEach(function(Mt) {
3080
+ v[d.get(Mt)] = _t.get(yt);
3081
+ }) : v[d.get(yt)] = _t.get(yt);
3082
+ }, te = !0, ee = !1, Ne = void 0;
3083
+ try {
3084
+ for (var le = _t.keys()[Symbol.iterator](), Le; !(te = (Le = le.next()).done); te = !0) {
3085
+ var fe = Le.value;
3086
+ oe(fe);
3087
+ }
3088
+ } catch (Gt) {
3089
+ ee = !0, Ne = Gt;
3090
+ } finally {
3091
+ try {
3092
+ !te && le.return && le.return();
3093
+ } finally {
3094
+ if (ee)
3095
+ throw Ne;
3096
+ }
3097
+ }
3098
+ var Be = function(yt) {
3099
+ J.get(yt) ? J.get(yt).forEach(function(Mt) {
3100
+ L[d.get(Mt)] = Jt.get(yt);
3101
+ }) : L[d.get(yt)] = Jt.get(yt);
3102
+ }, ce = !0, Ce = !1, Ae = void 0;
3103
+ try {
3104
+ for (var ge = Jt.keys()[Symbol.iterator](), we; !(ce = (we = ge.next()).done); ce = !0) {
3105
+ var fe = we.value;
3106
+ Be(fe);
3107
+ }
3108
+ } catch (Gt) {
3109
+ Ce = !0, Ae = Gt;
3110
+ } finally {
3111
+ try {
3112
+ !ce && ge.return && ge.return();
3113
+ } finally {
3114
+ if (Ce)
3115
+ throw Ae;
3116
+ }
3117
+ }
3118
+ }();
3119
+ }
3120
+ for (var Yt = 0; Yt < S.length; Yt++) {
3121
+ var Vt = S[Yt];
3122
+ Vt.getChild() == null && Vt.setCenter(v[d.get(Vt.id)], L[d.get(Vt.id)]);
3123
+ }
3124
+ }, a.exports = s;
3125
+ }
3126
+ ),
3127
+ /***/
3128
+ 551: (
3129
+ /***/
3130
+ (a) => {
3131
+ a.exports = A;
3132
+ }
3133
+ )
3134
+ /******/
3135
+ }, N = {};
3136
+ function u(a) {
3137
+ var r = N[a];
3138
+ if (r !== void 0)
3139
+ return r.exports;
3140
+ var e = N[a] = {
3141
+ /******/
3142
+ // no module.id needed
3143
+ /******/
3144
+ // no module.loaded needed
3145
+ /******/
3146
+ exports: {}
3147
+ /******/
3148
+ };
3149
+ return P[a](e, e.exports, u), e.exports;
3150
+ }
3151
+ var h = u(45);
3152
+ return h;
3153
+ })()
3154
+ );
3155
+ });
3156
+ }(ue)), ue.exports;
3157
+ }
3158
+ (function(I, O) {
3159
+ (function(P, N) {
3160
+ I.exports = N(ur());
3161
+ })(me, function(A) {
3162
+ return (
3163
+ /******/
3164
+ (() => {
3165
+ var P = {
3166
+ /***/
3167
+ 658: (
3168
+ /***/
3169
+ (a) => {
3170
+ a.exports = Object.assign != null ? Object.assign.bind(Object) : function(r) {
3171
+ for (var e = arguments.length, f = Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3172
+ f[i - 1] = arguments[i];
3173
+ return f.forEach(function(g) {
3174
+ Object.keys(g).forEach(function(t) {
3175
+ return r[t] = g[t];
3176
+ });
3177
+ }), r;
3178
+ };
3179
+ }
3180
+ ),
3181
+ /***/
3182
+ 548: (
3183
+ /***/
3184
+ (a, r, e) => {
3185
+ var f = /* @__PURE__ */ function() {
3186
+ function t(o, s) {
3187
+ var c = [], l = !0, T = !1, d = void 0;
3188
+ try {
3189
+ for (var v = o[Symbol.iterator](), L; !(l = (L = v.next()).done) && (c.push(L.value), !(s && c.length === s)); l = !0)
3190
+ ;
3191
+ } catch (S) {
3192
+ T = !0, d = S;
3193
+ } finally {
3194
+ try {
3195
+ !l && v.return && v.return();
3196
+ } finally {
3197
+ if (T) throw d;
3198
+ }
3199
+ }
3200
+ return c;
3201
+ }
3202
+ return function(o, s) {
3203
+ if (Array.isArray(o))
3204
+ return o;
3205
+ if (Symbol.iterator in Object(o))
3206
+ return t(o, s);
3207
+ throw new TypeError("Invalid attempt to destructure non-iterable instance");
3208
+ };
3209
+ }(), i = e(140).layoutBase.LinkedList, g = {};
3210
+ g.getTopMostNodes = function(t) {
3211
+ for (var o = {}, s = 0; s < t.length; s++)
3212
+ o[t[s].id()] = !0;
3213
+ var c = t.filter(function(l, T) {
3214
+ typeof l == "number" && (l = T);
3215
+ for (var d = l.parent()[0]; d != null; ) {
3216
+ if (o[d.id()])
3217
+ return !1;
3218
+ d = d.parent()[0];
3219
+ }
3220
+ return !0;
3221
+ });
3222
+ return c;
3223
+ }, g.connectComponents = function(t, o, s, c) {
3224
+ var l = new i(), T = /* @__PURE__ */ new Set(), d = [], v = void 0, L = void 0, S = void 0, C = !1, G = 1, K = [], X = [], Q = function() {
3225
+ var rt = t.collection();
3226
+ X.push(rt);
3227
+ var n = s[0], m = t.collection();
3228
+ m.merge(n).merge(n.descendants().intersection(o)), d.push(n), m.forEach(function(y) {
3229
+ l.push(y), T.add(y), rt.merge(y);
3230
+ });
3231
+ for (var p = function() {
3232
+ n = l.shift();
3233
+ var R = t.collection();
3234
+ n.neighborhood().nodes().forEach(function(x) {
3235
+ o.intersection(n.edgesWith(x)).length > 0 && R.merge(x);
3236
+ });
3237
+ for (var w = 0; w < R.length; w++) {
3238
+ var F = R[w];
3239
+ if (v = s.intersection(F.union(F.ancestors())), v != null && !T.has(v[0])) {
3240
+ var W = v.union(v.descendants());
3241
+ W.forEach(function(x) {
3242
+ l.push(x), T.add(x), rt.merge(x), s.has(x) && d.push(x);
3243
+ });
3244
+ }
3245
+ }
3246
+ }; l.length != 0; )
3247
+ p();
3248
+ if (rt.forEach(function(y) {
3249
+ o.intersection(y.connectedEdges()).forEach(function(R) {
3250
+ rt.has(R.source()) && rt.has(R.target()) && rt.merge(R);
3251
+ });
3252
+ }), d.length == s.length && (C = !0), !C || C && G > 1) {
3253
+ L = d[0], S = L.connectedEdges().length, d.forEach(function(y) {
3254
+ y.connectedEdges().length < S && (S = y.connectedEdges().length, L = y);
3255
+ }), K.push(L.id());
3256
+ var E = t.collection();
3257
+ E.merge(d[0]), d.forEach(function(y) {
3258
+ E.merge(y);
3259
+ }), d = [], s = s.difference(E), G++;
3260
+ }
3261
+ };
3262
+ do
3263
+ Q();
3264
+ while (!C);
3265
+ return c && K.length > 0 && c.set("dummy" + (c.size + 1), K), X;
3266
+ }, g.relocateComponent = function(t, o, s) {
3267
+ if (!s.fixedNodeConstraint) {
3268
+ var c = Number.POSITIVE_INFINITY, l = Number.NEGATIVE_INFINITY, T = Number.POSITIVE_INFINITY, d = Number.NEGATIVE_INFINITY;
3269
+ if (s.quality == "draft") {
3270
+ var v = !0, L = !1, S = void 0;
3271
+ try {
3272
+ for (var C = o.nodeIndexes[Symbol.iterator](), G; !(v = (G = C.next()).done); v = !0) {
3273
+ var K = G.value, X = f(K, 2), Q = X[0], D = X[1], rt = s.cy.getElementById(Q);
3274
+ if (rt) {
3275
+ var n = rt.boundingBox(), m = o.xCoords[D] - n.w / 2, p = o.xCoords[D] + n.w / 2, E = o.yCoords[D] - n.h / 2, y = o.yCoords[D] + n.h / 2;
3276
+ m < c && (c = m), p > l && (l = p), E < T && (T = E), y > d && (d = y);
3277
+ }
3278
+ }
3279
+ } catch (x) {
3280
+ L = !0, S = x;
3281
+ } finally {
3282
+ try {
3283
+ !v && C.return && C.return();
3284
+ } finally {
3285
+ if (L)
3286
+ throw S;
3287
+ }
3288
+ }
3289
+ var R = t.x - (l + c) / 2, w = t.y - (d + T) / 2;
3290
+ o.xCoords = o.xCoords.map(function(x) {
3291
+ return x + R;
3292
+ }), o.yCoords = o.yCoords.map(function(x) {
3293
+ return x + w;
3294
+ });
3295
+ } else {
3296
+ Object.keys(o).forEach(function(x) {
3297
+ var Z = o[x], V = Z.getRect().x, Y = Z.getRect().x + Z.getRect().width, et = Z.getRect().y, z = Z.getRect().y + Z.getRect().height;
3298
+ V < c && (c = V), Y > l && (l = Y), et < T && (T = et), z > d && (d = z);
3299
+ });
3300
+ var F = t.x - (l + c) / 2, W = t.y - (d + T) / 2;
3301
+ Object.keys(o).forEach(function(x) {
3302
+ var Z = o[x];
3303
+ Z.setCenter(Z.getCenterX() + F, Z.getCenterY() + W);
3304
+ });
3305
+ }
3306
+ }
3307
+ }, g.calcBoundingBox = function(t, o, s, c) {
3308
+ for (var l = Number.MAX_SAFE_INTEGER, T = Number.MIN_SAFE_INTEGER, d = Number.MAX_SAFE_INTEGER, v = Number.MIN_SAFE_INTEGER, L = void 0, S = void 0, C = void 0, G = void 0, K = t.descendants().not(":parent"), X = K.length, Q = 0; Q < X; Q++) {
3309
+ var D = K[Q];
3310
+ L = o[c.get(D.id())] - D.width() / 2, S = o[c.get(D.id())] + D.width() / 2, C = s[c.get(D.id())] - D.height() / 2, G = s[c.get(D.id())] + D.height() / 2, l > L && (l = L), T < S && (T = S), d > C && (d = C), v < G && (v = G);
3311
+ }
3312
+ var rt = {};
3313
+ return rt.topLeftX = l, rt.topLeftY = d, rt.width = T - l, rt.height = v - d, rt;
3314
+ }, g.calcParentsWithoutChildren = function(t, o) {
3315
+ var s = t.collection();
3316
+ return o.nodes(":parent").forEach(function(c) {
3317
+ var l = !1;
3318
+ c.children().forEach(function(T) {
3319
+ T.css("display") != "none" && (l = !0);
3320
+ }), l || s.merge(c);
3321
+ }), s;
3322
+ }, a.exports = g;
3323
+ }
3324
+ ),
3325
+ /***/
3326
+ 816: (
3327
+ /***/
3328
+ (a, r, e) => {
3329
+ var f = e(548), i = e(140).CoSELayout, g = e(140).CoSENode, t = e(140).layoutBase.PointD, o = e(140).layoutBase.DimensionD, s = e(140).layoutBase.LayoutConstants, c = e(140).layoutBase.FDLayoutConstants, l = e(140).CoSEConstants, T = function(v, L) {
3330
+ var S = v.cy, C = v.eles, G = C.nodes(), K = C.edges(), X = void 0, Q = void 0, D = void 0, rt = {};
3331
+ v.randomize && (X = L.nodeIndexes, Q = L.xCoords, D = L.yCoords);
3332
+ var n = function(x) {
3333
+ return typeof x == "function";
3334
+ }, m = function(x, Z) {
3335
+ return n(x) ? x(Z) : x;
3336
+ }, p = f.calcParentsWithoutChildren(S, C), E = function W(x, Z, V, Y) {
3337
+ for (var et = Z.length, z = 0; z < et; z++) {
3338
+ var M = Z[z], H = null;
3339
+ M.intersection(p).length == 0 && (H = M.children());
3340
+ var $ = void 0, _ = M.layoutDimensions({
3341
+ nodeDimensionsIncludeLabels: Y.nodeDimensionsIncludeLabels
3342
+ });
3343
+ if (M.outerWidth() != null && M.outerHeight() != null)
3344
+ if (Y.randomize)
3345
+ if (!M.isParent())
3346
+ $ = x.add(new g(V.graphManager, new t(Q[X.get(M.id())] - _.w / 2, D[X.get(M.id())] - _.h / 2), new o(parseFloat(_.w), parseFloat(_.h))));
3347
+ else {
3348
+ var ht = f.calcBoundingBox(M, Q, D, X);
3349
+ M.intersection(p).length == 0 ? $ = x.add(new g(V.graphManager, new t(ht.topLeftX, ht.topLeftY), new o(ht.width, ht.height))) : $ = x.add(new g(V.graphManager, new t(ht.topLeftX, ht.topLeftY), new o(parseFloat(_.w), parseFloat(_.h))));
3350
+ }
3351
+ else
3352
+ $ = x.add(new g(V.graphManager, new t(M.position("x") - _.w / 2, M.position("y") - _.h / 2), new o(parseFloat(_.w), parseFloat(_.h))));
3353
+ else
3354
+ $ = x.add(new g(this.graphManager));
3355
+ if ($.id = M.data("id"), $.nodeRepulsion = m(Y.nodeRepulsion, M), $.paddingLeft = parseInt(M.css("padding")), $.paddingTop = parseInt(M.css("padding")), $.paddingRight = parseInt(M.css("padding")), $.paddingBottom = parseInt(M.css("padding")), Y.nodeDimensionsIncludeLabels && ($.labelWidth = M.boundingBox({ includeLabels: !0, includeNodes: !1, includeOverlays: !1 }).w, $.labelHeight = M.boundingBox({ includeLabels: !0, includeNodes: !1, includeOverlays: !1 }).h, $.labelPosVertical = M.css("text-valign"), $.labelPosHorizontal = M.css("text-halign")), rt[M.data("id")] = $, isNaN($.rect.x) && ($.rect.x = 0), isNaN($.rect.y) && ($.rect.y = 0), H != null && H.length > 0) {
3356
+ var q = void 0;
3357
+ q = V.getGraphManager().add(V.newGraph(), $), W(q, H, V, Y);
3358
+ }
3359
+ }
3360
+ }, y = function(x, Z, V) {
3361
+ for (var Y = 0, et = 0, z = 0; z < V.length; z++) {
3362
+ var M = V[z], H = rt[M.data("source")], $ = rt[M.data("target")];
3363
+ if (H && $ && H !== $ && H.getEdgesBetween($).length == 0) {
3364
+ var _ = Z.add(x.newEdge(), H, $);
3365
+ _.id = M.id(), _.idealLength = m(v.idealEdgeLength, M), _.edgeElasticity = m(v.edgeElasticity, M), Y += _.idealLength, et++;
3366
+ }
3367
+ }
3368
+ v.idealEdgeLength != null && (et > 0 ? l.DEFAULT_EDGE_LENGTH = c.DEFAULT_EDGE_LENGTH = Y / et : n(v.idealEdgeLength) ? l.DEFAULT_EDGE_LENGTH = c.DEFAULT_EDGE_LENGTH = 50 : l.DEFAULT_EDGE_LENGTH = c.DEFAULT_EDGE_LENGTH = v.idealEdgeLength, l.MIN_REPULSION_DIST = c.MIN_REPULSION_DIST = c.DEFAULT_EDGE_LENGTH / 10, l.DEFAULT_RADIAL_SEPARATION = c.DEFAULT_EDGE_LENGTH);
3369
+ }, R = function(x, Z) {
3370
+ Z.fixedNodeConstraint && (x.constraints.fixedNodeConstraint = Z.fixedNodeConstraint), Z.alignmentConstraint && (x.constraints.alignmentConstraint = Z.alignmentConstraint), Z.relativePlacementConstraint && (x.constraints.relativePlacementConstraint = Z.relativePlacementConstraint);
3371
+ };
3372
+ v.nestingFactor != null && (l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR = v.nestingFactor), v.gravity != null && (l.DEFAULT_GRAVITY_STRENGTH = c.DEFAULT_GRAVITY_STRENGTH = v.gravity), v.numIter != null && (l.MAX_ITERATIONS = c.MAX_ITERATIONS = v.numIter), v.gravityRange != null && (l.DEFAULT_GRAVITY_RANGE_FACTOR = c.DEFAULT_GRAVITY_RANGE_FACTOR = v.gravityRange), v.gravityCompound != null && (l.DEFAULT_COMPOUND_GRAVITY_STRENGTH = c.DEFAULT_COMPOUND_GRAVITY_STRENGTH = v.gravityCompound), v.gravityRangeCompound != null && (l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR = v.gravityRangeCompound), v.initialEnergyOnIncremental != null && (l.DEFAULT_COOLING_FACTOR_INCREMENTAL = c.DEFAULT_COOLING_FACTOR_INCREMENTAL = v.initialEnergyOnIncremental), v.tilingCompareBy != null && (l.TILING_COMPARE_BY = v.tilingCompareBy), v.quality == "proof" ? s.QUALITY = 2 : s.QUALITY = 0, l.NODE_DIMENSIONS_INCLUDE_LABELS = c.NODE_DIMENSIONS_INCLUDE_LABELS = s.NODE_DIMENSIONS_INCLUDE_LABELS = v.nodeDimensionsIncludeLabels, l.DEFAULT_INCREMENTAL = c.DEFAULT_INCREMENTAL = s.DEFAULT_INCREMENTAL = !v.randomize, l.ANIMATE = c.ANIMATE = s.ANIMATE = v.animate, l.TILE = v.tile, l.TILING_PADDING_VERTICAL = typeof v.tilingPaddingVertical == "function" ? v.tilingPaddingVertical.call() : v.tilingPaddingVertical, l.TILING_PADDING_HORIZONTAL = typeof v.tilingPaddingHorizontal == "function" ? v.tilingPaddingHorizontal.call() : v.tilingPaddingHorizontal, l.DEFAULT_INCREMENTAL = c.DEFAULT_INCREMENTAL = s.DEFAULT_INCREMENTAL = !0, l.PURE_INCREMENTAL = !v.randomize, s.DEFAULT_UNIFORM_LEAF_NODE_SIZES = v.uniformNodeDimensions, v.step == "transformed" && (l.TRANSFORM_ON_CONSTRAINT_HANDLING = !0, l.ENFORCE_CONSTRAINTS = !1, l.APPLY_LAYOUT = !1), v.step == "enforced" && (l.TRANSFORM_ON_CONSTRAINT_HANDLING = !1, l.ENFORCE_CONSTRAINTS = !0, l.APPLY_LAYOUT = !1), v.step == "cose" && (l.TRANSFORM_ON_CONSTRAINT_HANDLING = !1, l.ENFORCE_CONSTRAINTS = !1, l.APPLY_LAYOUT = !0), v.step == "all" && (v.randomize ? l.TRANSFORM_ON_CONSTRAINT_HANDLING = !0 : l.TRANSFORM_ON_CONSTRAINT_HANDLING = !1, l.ENFORCE_CONSTRAINTS = !0, l.APPLY_LAYOUT = !0), v.fixedNodeConstraint || v.alignmentConstraint || v.relativePlacementConstraint ? l.TREE_REDUCTION_ON_INCREMENTAL = !1 : l.TREE_REDUCTION_ON_INCREMENTAL = !0;
3373
+ var w = new i(), F = w.newGraphManager();
3374
+ return E(F.addRoot(), f.getTopMostNodes(G), w, v), y(w, F, K), R(w, v), w.runLayout(), rt;
3375
+ };
3376
+ a.exports = { coseLayout: T };
3377
+ }
3378
+ ),
3379
+ /***/
3380
+ 212: (
3381
+ /***/
3382
+ (a, r, e) => {
3383
+ var f = /* @__PURE__ */ function() {
3384
+ function v(L, S) {
3385
+ for (var C = 0; C < S.length; C++) {
3386
+ var G = S[C];
3387
+ G.enumerable = G.enumerable || !1, G.configurable = !0, "value" in G && (G.writable = !0), Object.defineProperty(L, G.key, G);
3388
+ }
3389
+ }
3390
+ return function(L, S, C) {
3391
+ return S && v(L.prototype, S), C && v(L, C), L;
3392
+ };
3393
+ }();
3394
+ function i(v, L) {
3395
+ if (!(v instanceof L))
3396
+ throw new TypeError("Cannot call a class as a function");
3397
+ }
3398
+ var g = e(658), t = e(548), o = e(657), s = o.spectralLayout, c = e(816), l = c.coseLayout, T = Object.freeze({
3399
+ // 'draft', 'default' or 'proof'
3400
+ // - 'draft' only applies spectral layout
3401
+ // - 'default' improves the quality with subsequent CoSE layout (fast cooling rate)
3402
+ // - 'proof' improves the quality with subsequent CoSE layout (slow cooling rate)
3403
+ quality: "default",
3404
+ // Use random node positions at beginning of layout
3405
+ // if this is set to false, then quality option must be "proof"
3406
+ randomize: !0,
3407
+ // Whether or not to animate the layout
3408
+ animate: !0,
3409
+ // Duration of animation in ms, if enabled
3410
+ animationDuration: 1e3,
3411
+ // Easing of animation, if enabled
3412
+ animationEasing: void 0,
3413
+ // Fit the viewport to the repositioned nodes
3414
+ fit: !0,
3415
+ // Padding around layout
3416
+ padding: 30,
3417
+ // Whether to include labels in node dimensions. Valid in "proof" quality
3418
+ nodeDimensionsIncludeLabels: !1,
3419
+ // Whether or not simple nodes (non-compound nodes) are of uniform dimensions
3420
+ uniformNodeDimensions: !1,
3421
+ // Whether to pack disconnected components - valid only if randomize: true
3422
+ packComponents: !0,
3423
+ // Layout step - all, transformed, enforced, cose - for debug purpose only
3424
+ step: "all",
3425
+ /* spectral layout options */
3426
+ // False for random, true for greedy
3427
+ samplingType: !0,
3428
+ // Sample size to construct distance matrix
3429
+ sampleSize: 25,
3430
+ // Separation amount between nodes
3431
+ nodeSeparation: 75,
3432
+ // Power iteration tolerance
3433
+ piTol: 1e-7,
3434
+ /* CoSE layout options */
3435
+ // Node repulsion (non overlapping) multiplier
3436
+ nodeRepulsion: function(L) {
3437
+ return 4500;
3438
+ },
3439
+ // Ideal edge (non nested) length
3440
+ idealEdgeLength: function(L) {
3441
+ return 50;
3442
+ },
3443
+ // Divisor to compute edge forces
3444
+ edgeElasticity: function(L) {
3445
+ return 0.45;
3446
+ },
3447
+ // Nesting factor (multiplier) to compute ideal edge length for nested edges
3448
+ nestingFactor: 0.1,
3449
+ // Gravity force (constant)
3450
+ gravity: 0.25,
3451
+ // Maximum number of iterations to perform
3452
+ numIter: 2500,
3453
+ // For enabling tiling
3454
+ tile: !0,
3455
+ // The function that specifies the criteria for comparing nodes while sorting them during tiling operation.
3456
+ // Takes the node id as a parameter and the default tiling operation is perfomed when this option is not set.
3457
+ tilingCompareBy: void 0,
3458
+ // Represents the amount of the vertical space to put between the zero degree members during the tiling operation(can also be a function)
3459
+ tilingPaddingVertical: 10,
3460
+ // Represents the amount of the horizontal space to put between the zero degree members during the tiling operation(can also be a function)
3461
+ tilingPaddingHorizontal: 10,
3462
+ // Gravity range (constant) for compounds
3463
+ gravityRangeCompound: 1.5,
3464
+ // Gravity force (constant) for compounds
3465
+ gravityCompound: 1,
3466
+ // Gravity range (constant)
3467
+ gravityRange: 3.8,
3468
+ // Initial cooling factor for incremental layout
3469
+ initialEnergyOnIncremental: 0.3,
3470
+ /* constraint options */
3471
+ // Fix required nodes to predefined positions
3472
+ // [{nodeId: 'n1', position: {x: 100, y: 200}, {...}]
3473
+ fixedNodeConstraint: void 0,
3474
+ // Align required nodes in vertical/horizontal direction
3475
+ // {vertical: [['n1', 'n2')], ['n3', 'n4']], horizontal: ['n2', 'n4']}
3476
+ alignmentConstraint: void 0,
3477
+ // Place two nodes relatively in vertical/horizontal direction
3478
+ // [{top: 'n1', bottom: 'n2', gap: 100}, {left: 'n3', right: 'n4', gap: 75}]
3479
+ relativePlacementConstraint: void 0,
3480
+ /* layout event callbacks */
3481
+ ready: function() {
3482
+ },
3483
+ // on layoutready
3484
+ stop: function() {
3485
+ }
3486
+ // on layoutstop
3487
+ }), d = function() {
3488
+ function v(L) {
3489
+ i(this, v), this.options = g({}, T, L);
3490
+ }
3491
+ return f(v, [{
3492
+ key: "run",
3493
+ value: function() {
3494
+ var S = this, C = this.options, G = C.cy, K = C.eles, X = [], Q = [], D = void 0, rt = [];
3495
+ C.fixedNodeConstraint && (!Array.isArray(C.fixedNodeConstraint) || C.fixedNodeConstraint.length == 0) && (C.fixedNodeConstraint = void 0), C.alignmentConstraint && (C.alignmentConstraint.vertical && (!Array.isArray(C.alignmentConstraint.vertical) || C.alignmentConstraint.vertical.length == 0) && (C.alignmentConstraint.vertical = void 0), C.alignmentConstraint.horizontal && (!Array.isArray(C.alignmentConstraint.horizontal) || C.alignmentConstraint.horizontal.length == 0) && (C.alignmentConstraint.horizontal = void 0)), C.relativePlacementConstraint && (!Array.isArray(C.relativePlacementConstraint) || C.relativePlacementConstraint.length == 0) && (C.relativePlacementConstraint = void 0);
3496
+ var n = C.fixedNodeConstraint || C.alignmentConstraint || C.relativePlacementConstraint;
3497
+ n && (C.tile = !1, C.packComponents = !1);
3498
+ var m = void 0, p = !1;
3499
+ if (G.layoutUtilities && C.packComponents && (m = G.layoutUtilities("get"), m || (m = G.layoutUtilities()), p = !0), K.nodes().length > 0)
3500
+ if (p) {
3501
+ var R = t.getTopMostNodes(C.eles.nodes());
3502
+ if (D = t.connectComponents(G, C.eles, R), D.forEach(function(vt) {
3503
+ var it = vt.boundingBox();
3504
+ rt.push({ x: it.x1 + it.w / 2, y: it.y1 + it.h / 2 });
3505
+ }), C.randomize && D.forEach(function(vt) {
3506
+ C.eles = vt, X.push(s(C));
3507
+ }), C.quality == "default" || C.quality == "proof") {
3508
+ var w = G.collection();
3509
+ if (C.tile) {
3510
+ var F = /* @__PURE__ */ new Map(), W = [], x = [], Z = 0, V = { nodeIndexes: F, xCoords: W, yCoords: x }, Y = [];
3511
+ if (D.forEach(function(vt, it) {
3512
+ vt.edges().length == 0 && (vt.nodes().forEach(function(gt, mt) {
3513
+ w.merge(vt.nodes()[mt]), gt.isParent() || (V.nodeIndexes.set(vt.nodes()[mt].id(), Z++), V.xCoords.push(vt.nodes()[0].position().x), V.yCoords.push(vt.nodes()[0].position().y));
3514
+ }), Y.push(it));
3515
+ }), w.length > 1) {
3516
+ var et = w.boundingBox();
3517
+ rt.push({ x: et.x1 + et.w / 2, y: et.y1 + et.h / 2 }), D.push(w), X.push(V);
3518
+ for (var z = Y.length - 1; z >= 0; z--)
3519
+ D.splice(Y[z], 1), X.splice(Y[z], 1), rt.splice(Y[z], 1);
3520
+ }
3521
+ }
3522
+ D.forEach(function(vt, it) {
3523
+ C.eles = vt, Q.push(l(C, X[it])), t.relocateComponent(rt[it], Q[it], C);
3524
+ });
3525
+ } else
3526
+ D.forEach(function(vt, it) {
3527
+ t.relocateComponent(rt[it], X[it], C);
3528
+ });
3529
+ var M = /* @__PURE__ */ new Set();
3530
+ if (D.length > 1) {
3531
+ var H = [], $ = K.filter(function(vt) {
3532
+ return vt.css("display") == "none";
3533
+ });
3534
+ D.forEach(function(vt, it) {
3535
+ var gt = void 0;
3536
+ if (C.quality == "draft" && (gt = X[it].nodeIndexes), vt.nodes().not($).length > 0) {
3537
+ var mt = {};
3538
+ mt.edges = [], mt.nodes = [];
3539
+ var At = void 0;
3540
+ vt.nodes().not($).forEach(function(Ot) {
3541
+ if (C.quality == "draft")
3542
+ if (!Ot.isParent())
3543
+ At = gt.get(Ot.id()), mt.nodes.push({ x: X[it].xCoords[At] - Ot.boundingbox().w / 2, y: X[it].yCoords[At] - Ot.boundingbox().h / 2, width: Ot.boundingbox().w, height: Ot.boundingbox().h });
3544
+ else {
3545
+ var Et = t.calcBoundingBox(Ot, X[it].xCoords, X[it].yCoords, gt);
3546
+ mt.nodes.push({ x: Et.topLeftX, y: Et.topLeftY, width: Et.width, height: Et.height });
3547
+ }
3548
+ else
3549
+ Q[it][Ot.id()] && mt.nodes.push({ x: Q[it][Ot.id()].getLeft(), y: Q[it][Ot.id()].getTop(), width: Q[it][Ot.id()].getWidth(), height: Q[it][Ot.id()].getHeight() });
3550
+ }), vt.edges().forEach(function(Ot) {
3551
+ var Et = Ot.source(), Dt = Ot.target();
3552
+ if (Et.css("display") != "none" && Dt.css("display") != "none")
3553
+ if (C.quality == "draft") {
3554
+ var Rt = gt.get(Et.id()), Ht = gt.get(Dt.id()), Ut = [], Pt = [];
3555
+ if (Et.isParent()) {
3556
+ var Ft = t.calcBoundingBox(Et, X[it].xCoords, X[it].yCoords, gt);
3557
+ Ut.push(Ft.topLeftX + Ft.width / 2), Ut.push(Ft.topLeftY + Ft.height / 2);
3558
+ } else
3559
+ Ut.push(X[it].xCoords[Rt]), Ut.push(X[it].yCoords[Rt]);
3560
+ if (Dt.isParent()) {
3561
+ var Yt = t.calcBoundingBox(Dt, X[it].xCoords, X[it].yCoords, gt);
3562
+ Pt.push(Yt.topLeftX + Yt.width / 2), Pt.push(Yt.topLeftY + Yt.height / 2);
3563
+ } else
3564
+ Pt.push(X[it].xCoords[Ht]), Pt.push(X[it].yCoords[Ht]);
3565
+ mt.edges.push({ startX: Ut[0], startY: Ut[1], endX: Pt[0], endY: Pt[1] });
3566
+ } else
3567
+ Q[it][Et.id()] && Q[it][Dt.id()] && mt.edges.push({ startX: Q[it][Et.id()].getCenterX(), startY: Q[it][Et.id()].getCenterY(), endX: Q[it][Dt.id()].getCenterX(), endY: Q[it][Dt.id()].getCenterY() });
3568
+ }), mt.nodes.length > 0 && (H.push(mt), M.add(it));
3569
+ }
3570
+ });
3571
+ var _ = m.packComponents(H, C.randomize).shifts;
3572
+ if (C.quality == "draft")
3573
+ X.forEach(function(vt, it) {
3574
+ var gt = vt.xCoords.map(function(At) {
3575
+ return At + _[it].dx;
3576
+ }), mt = vt.yCoords.map(function(At) {
3577
+ return At + _[it].dy;
3578
+ });
3579
+ vt.xCoords = gt, vt.yCoords = mt;
3580
+ });
3581
+ else {
3582
+ var ht = 0;
3583
+ M.forEach(function(vt) {
3584
+ Object.keys(Q[vt]).forEach(function(it) {
3585
+ var gt = Q[vt][it];
3586
+ gt.setCenter(gt.getCenterX() + _[ht].dx, gt.getCenterY() + _[ht].dy);
3587
+ }), ht++;
3588
+ });
3589
+ }
3590
+ }
3591
+ } else {
3592
+ var E = C.eles.boundingBox();
3593
+ if (rt.push({ x: E.x1 + E.w / 2, y: E.y1 + E.h / 2 }), C.randomize) {
3594
+ var y = s(C);
3595
+ X.push(y);
3596
+ }
3597
+ C.quality == "default" || C.quality == "proof" ? (Q.push(l(C, X[0])), t.relocateComponent(rt[0], Q[0], C)) : t.relocateComponent(rt[0], X[0], C);
3598
+ }
3599
+ var q = function(it, gt) {
3600
+ if (C.quality == "default" || C.quality == "proof") {
3601
+ typeof it == "number" && (it = gt);
3602
+ var mt = void 0, At = void 0, Ot = it.data("id");
3603
+ return Q.forEach(function(Dt) {
3604
+ Ot in Dt && (mt = { x: Dt[Ot].getRect().getCenterX(), y: Dt[Ot].getRect().getCenterY() }, At = Dt[Ot]);
3605
+ }), C.nodeDimensionsIncludeLabels && (At.labelWidth && (At.labelPosHorizontal == "left" ? mt.x += At.labelWidth / 2 : At.labelPosHorizontal == "right" && (mt.x -= At.labelWidth / 2)), At.labelHeight && (At.labelPosVertical == "top" ? mt.y += At.labelHeight / 2 : At.labelPosVertical == "bottom" && (mt.y -= At.labelHeight / 2))), mt == null && (mt = { x: it.position("x"), y: it.position("y") }), {
3606
+ x: mt.x,
3607
+ y: mt.y
3608
+ };
3609
+ } else {
3610
+ var Et = void 0;
3611
+ return X.forEach(function(Dt) {
3612
+ var Rt = Dt.nodeIndexes.get(it.id());
3613
+ Rt != null && (Et = { x: Dt.xCoords[Rt], y: Dt.yCoords[Rt] });
3614
+ }), Et == null && (Et = { x: it.position("x"), y: it.position("y") }), {
3615
+ x: Et.x,
3616
+ y: Et.y
3617
+ };
3618
+ }
3619
+ };
3620
+ if (C.quality == "default" || C.quality == "proof" || C.randomize) {
3621
+ var It = t.calcParentsWithoutChildren(G, K), Nt = K.filter(function(vt) {
3622
+ return vt.css("display") == "none";
3623
+ });
3624
+ C.eles = K.not(Nt), K.nodes().not(":parent").not(Nt).layoutPositions(S, C, q), It.length > 0 && It.forEach(function(vt) {
3625
+ vt.position(q(vt));
3626
+ });
3627
+ } else
3628
+ console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.");
3629
+ }
3630
+ }]), v;
3631
+ }();
3632
+ a.exports = d;
3633
+ }
3634
+ ),
3635
+ /***/
3636
+ 657: (
3637
+ /***/
3638
+ (a, r, e) => {
3639
+ var f = e(548), i = e(140).layoutBase.Matrix, g = e(140).layoutBase.SVD, t = function(s) {
3640
+ var c = s.cy, l = s.eles, T = l.nodes(), d = l.nodes(":parent"), v = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), C = [], G = [], K = [], X = [], Q = [], D = [], rt = [], n = [], m = void 0, p = 1e8, E = 1e-9, y = s.piTol, R = s.samplingType, w = s.nodeSeparation, F = void 0, W = function() {
3641
+ for (var U = 0, B = 0, J = !1; B < F; ) {
3642
+ U = Math.floor(Math.random() * m), J = !1;
3643
+ for (var k = 0; k < B; k++)
3644
+ if (X[k] == U) {
3645
+ J = !0;
3646
+ break;
3647
+ }
3648
+ if (!J)
3649
+ X[B] = U, B++;
3650
+ else
3651
+ continue;
3652
+ }
3653
+ }, x = function(U, B, J) {
3654
+ for (var k = [], at = 0, ct = 0, nt = 0, tt = void 0, j = [], ut = 0, wt = 1, pt = 0; pt < m; pt++)
3655
+ j[pt] = p;
3656
+ for (k[ct] = U, j[U] = 0; ct >= at; ) {
3657
+ nt = k[at++];
3658
+ for (var xt = C[nt], lt = 0; lt < xt.length; lt++)
3659
+ tt = L.get(xt[lt]), j[tt] == p && (j[tt] = j[nt] + 1, k[++ct] = tt);
3660
+ D[nt][B] = j[nt] * w;
3661
+ }
3662
+ if (J) {
3663
+ for (var ot = 0; ot < m; ot++)
3664
+ D[ot][B] < Q[ot] && (Q[ot] = D[ot][B]);
3665
+ for (var Lt = 0; Lt < m; Lt++)
3666
+ Q[Lt] > ut && (ut = Q[Lt], wt = Lt);
3667
+ }
3668
+ return wt;
3669
+ }, Z = function(U) {
3670
+ var B = void 0;
3671
+ if (U) {
3672
+ B = Math.floor(Math.random() * m);
3673
+ for (var k = 0; k < m; k++)
3674
+ Q[k] = p;
3675
+ for (var at = 0; at < F; at++)
3676
+ X[at] = B, B = x(B, at, U);
3677
+ } else {
3678
+ W();
3679
+ for (var J = 0; J < F; J++)
3680
+ x(X[J], J, U);
3681
+ }
3682
+ for (var ct = 0; ct < m; ct++)
3683
+ for (var nt = 0; nt < F; nt++)
3684
+ D[ct][nt] *= D[ct][nt];
3685
+ for (var tt = 0; tt < F; tt++)
3686
+ rt[tt] = [];
3687
+ for (var j = 0; j < F; j++)
3688
+ for (var ut = 0; ut < F; ut++)
3689
+ rt[j][ut] = D[X[ut]][j];
3690
+ }, V = function() {
3691
+ for (var U = g.svd(rt), B = U.S, J = U.U, k = U.V, at = B[0] * B[0] * B[0], ct = [], nt = 0; nt < F; nt++) {
3692
+ ct[nt] = [];
3693
+ for (var tt = 0; tt < F; tt++)
3694
+ ct[nt][tt] = 0, nt == tt && (ct[nt][tt] = B[nt] / (B[nt] * B[nt] + at / (B[nt] * B[nt])));
3695
+ }
3696
+ n = i.multMat(i.multMat(k, ct), i.transpose(J));
3697
+ }, Y = function() {
3698
+ for (var U = void 0, B = void 0, J = [], k = [], at = [], ct = [], nt = 0; nt < m; nt++)
3699
+ J[nt] = Math.random(), k[nt] = Math.random();
3700
+ J = i.normalize(J), k = i.normalize(k);
3701
+ for (var tt = E, j = E, ut = void 0; ; ) {
3702
+ for (var wt = 0; wt < m; wt++)
3703
+ at[wt] = J[wt];
3704
+ if (J = i.multGamma(i.multL(i.multGamma(at), D, n)), U = i.dotProduct(at, J), J = i.normalize(J), tt = i.dotProduct(at, J), ut = Math.abs(tt / j), ut <= 1 + y && ut >= 1)
3705
+ break;
3706
+ j = tt;
3707
+ }
3708
+ for (var pt = 0; pt < m; pt++)
3709
+ at[pt] = J[pt];
3710
+ for (j = E; ; ) {
3711
+ for (var xt = 0; xt < m; xt++)
3712
+ ct[xt] = k[xt];
3713
+ if (ct = i.minusOp(ct, i.multCons(at, i.dotProduct(at, ct))), k = i.multGamma(i.multL(i.multGamma(ct), D, n)), B = i.dotProduct(ct, k), k = i.normalize(k), tt = i.dotProduct(ct, k), ut = Math.abs(tt / j), ut <= 1 + y && ut >= 1)
3714
+ break;
3715
+ j = tt;
3716
+ }
3717
+ for (var lt = 0; lt < m; lt++)
3718
+ ct[lt] = k[lt];
3719
+ G = i.multCons(at, Math.sqrt(Math.abs(U))), K = i.multCons(ct, Math.sqrt(Math.abs(B)));
3720
+ };
3721
+ f.connectComponents(c, l, f.getTopMostNodes(T), v), d.forEach(function(b) {
3722
+ f.connectComponents(c, l, f.getTopMostNodes(b.descendants().intersection(l)), v);
3723
+ });
3724
+ for (var et = 0, z = 0; z < T.length; z++)
3725
+ T[z].isParent() || L.set(T[z].id(), et++);
3726
+ var M = !0, H = !1, $ = void 0;
3727
+ try {
3728
+ for (var _ = v.keys()[Symbol.iterator](), ht; !(M = (ht = _.next()).done); M = !0) {
3729
+ var q = ht.value;
3730
+ L.set(q, et++);
3731
+ }
3732
+ } catch (b) {
3733
+ H = !0, $ = b;
3734
+ } finally {
3735
+ try {
3736
+ !M && _.return && _.return();
3737
+ } finally {
3738
+ if (H)
3739
+ throw $;
3740
+ }
3741
+ }
3742
+ for (var It = 0; It < L.size; It++)
3743
+ C[It] = [];
3744
+ d.forEach(function(b) {
3745
+ for (var U = b.children().intersection(l); U.nodes(":childless").length == 0; )
3746
+ U = U.nodes()[0].children().intersection(l);
3747
+ var B = 0, J = U.nodes(":childless")[0].connectedEdges().length;
3748
+ U.nodes(":childless").forEach(function(k, at) {
3749
+ k.connectedEdges().length < J && (J = k.connectedEdges().length, B = at);
3750
+ }), S.set(b.id(), U.nodes(":childless")[B].id());
3751
+ }), T.forEach(function(b) {
3752
+ var U = void 0;
3753
+ b.isParent() ? U = L.get(S.get(b.id())) : U = L.get(b.id()), b.neighborhood().nodes().forEach(function(B) {
3754
+ l.intersection(b.edgesWith(B)).length > 0 && (B.isParent() ? C[U].push(S.get(B.id())) : C[U].push(B.id()));
3755
+ });
3756
+ });
3757
+ var Nt = function(U) {
3758
+ var B = L.get(U), J = void 0;
3759
+ v.get(U).forEach(function(k) {
3760
+ c.getElementById(k).isParent() ? J = S.get(k) : J = k, C[B].push(J), C[L.get(J)].push(U);
3761
+ });
3762
+ }, vt = !0, it = !1, gt = void 0;
3763
+ try {
3764
+ for (var mt = v.keys()[Symbol.iterator](), At; !(vt = (At = mt.next()).done); vt = !0) {
3765
+ var Ot = At.value;
3766
+ Nt(Ot);
3767
+ }
3768
+ } catch (b) {
3769
+ it = !0, gt = b;
3770
+ } finally {
3771
+ try {
3772
+ !vt && mt.return && mt.return();
3773
+ } finally {
3774
+ if (it)
3775
+ throw gt;
3776
+ }
3777
+ }
3778
+ m = L.size;
3779
+ var Et = void 0;
3780
+ if (m > 2) {
3781
+ F = m < s.sampleSize ? m : s.sampleSize;
3782
+ for (var Dt = 0; Dt < m; Dt++)
3783
+ D[Dt] = [];
3784
+ for (var Rt = 0; Rt < F; Rt++)
3785
+ n[Rt] = [];
3786
+ return s.quality == "draft" || s.step == "all" ? (Z(R), V(), Y(), Et = { nodeIndexes: L, xCoords: G, yCoords: K }) : (L.forEach(function(b, U) {
3787
+ G.push(c.getElementById(U).position("x")), K.push(c.getElementById(U).position("y"));
3788
+ }), Et = { nodeIndexes: L, xCoords: G, yCoords: K }), Et;
3789
+ } else {
3790
+ var Ht = L.keys(), Ut = c.getElementById(Ht.next().value), Pt = Ut.position(), Ft = Ut.outerWidth();
3791
+ if (G.push(Pt.x), K.push(Pt.y), m == 2) {
3792
+ var Yt = c.getElementById(Ht.next().value), Vt = Yt.outerWidth();
3793
+ G.push(Pt.x + Ft / 2 + Vt / 2 + s.idealEdgeLength), K.push(Pt.y);
3794
+ }
3795
+ return Et = { nodeIndexes: L, xCoords: G, yCoords: K }, Et;
3796
+ }
3797
+ };
3798
+ a.exports = { spectralLayout: t };
3799
+ }
3800
+ ),
3801
+ /***/
3802
+ 579: (
3803
+ /***/
3804
+ (a, r, e) => {
3805
+ var f = e(212), i = function(t) {
3806
+ t && t("layout", "fcose", f);
3807
+ };
3808
+ typeof cytoscape < "u" && i(cytoscape), a.exports = i;
3809
+ }
3810
+ ),
3811
+ /***/
3812
+ 140: (
3813
+ /***/
3814
+ (a) => {
3815
+ a.exports = A;
3816
+ }
3817
+ )
3818
+ /******/
3819
+ }, N = {};
3820
+ function u(a) {
3821
+ var r = N[a];
3822
+ if (r !== void 0)
3823
+ return r.exports;
3824
+ var e = N[a] = {
3825
+ /******/
3826
+ // no module.id needed
3827
+ /******/
3828
+ // no module.loaded needed
3829
+ /******/
3830
+ exports: {}
3831
+ /******/
3832
+ };
3833
+ return P[a](e, e.exports, u), e.exports;
3834
+ }
3835
+ var h = u(579);
3836
+ return h;
3837
+ })()
3838
+ );
3839
+ });
3840
+ })(Fe);
3841
+ var dr = Fe.exports;
3842
+ const vr = /* @__PURE__ */ fr(dr);
3843
+ var De = {
3844
+ L: "left",
3845
+ R: "right",
3846
+ T: "top",
3847
+ B: "bottom"
3848
+ }, xe = {
3849
+ L: /* @__PURE__ */ dt((I) => `${I},${I / 2} 0,${I} 0,0`, "L"),
3850
+ R: /* @__PURE__ */ dt((I) => `0,${I / 2} ${I},0 ${I},${I}`, "R"),
3851
+ T: /* @__PURE__ */ dt((I) => `0,0 ${I},0 ${I / 2},${I}`, "T"),
3852
+ B: /* @__PURE__ */ dt((I) => `${I / 2},0 ${I},${I} 0,${I}`, "B")
3853
+ }, se = {
3854
+ L: /* @__PURE__ */ dt((I, O) => I - O + 2, "L"),
3855
+ R: /* @__PURE__ */ dt((I, O) => I - 2, "R"),
3856
+ T: /* @__PURE__ */ dt((I, O) => I - O + 2, "T"),
3857
+ B: /* @__PURE__ */ dt((I, O) => I - 2, "B")
3858
+ }, pr = /* @__PURE__ */ dt(function(I) {
3859
+ return Wt(I) ? I === "L" ? "R" : "L" : I === "T" ? "B" : "T";
3860
+ }, "getOppositeArchitectureDirection"), Ie = /* @__PURE__ */ dt(function(I) {
3861
+ const O = I;
3862
+ return O === "L" || O === "R" || O === "T" || O === "B";
3863
+ }, "isArchitectureDirection"), Wt = /* @__PURE__ */ dt(function(I) {
3864
+ const O = I;
3865
+ return O === "L" || O === "R";
3866
+ }, "isArchitectureDirectionX"), qt = /* @__PURE__ */ dt(function(I) {
3867
+ const O = I;
3868
+ return O === "T" || O === "B";
3869
+ }, "isArchitectureDirectionY"), Te = /* @__PURE__ */ dt(function(I, O) {
3870
+ const A = Wt(I) && qt(O), P = qt(I) && Wt(O);
3871
+ return A || P;
3872
+ }, "isArchitectureDirectionXY"), yr = /* @__PURE__ */ dt(function(I) {
3873
+ const O = I[0], A = I[1], P = Wt(O) && qt(A), N = qt(O) && Wt(A);
3874
+ return P || N;
3875
+ }, "isArchitecturePairXY"), Er = /* @__PURE__ */ dt(function(I) {
3876
+ return I !== "LL" && I !== "RR" && I !== "TT" && I !== "BB";
3877
+ }, "isValidArchitectureDirectionPair"), pe = /* @__PURE__ */ dt(function(I, O) {
3878
+ const A = `${I}${O}`;
3879
+ return Er(A) ? A : void 0;
3880
+ }, "getArchitectureDirectionPair"), mr = /* @__PURE__ */ dt(function([I, O], A) {
3881
+ const P = A[0], N = A[1];
3882
+ return Wt(P) ? qt(N) ? [I + (P === "L" ? -1 : 1), O + (N === "T" ? 1 : -1)] : [I + (P === "L" ? -1 : 1), O] : Wt(N) ? [I + (N === "L" ? 1 : -1), O + (P === "T" ? 1 : -1)] : [I, O + (P === "T" ? 1 : -1)];
3883
+ }, "shiftPositionByArchitectureDirectionPair"), Tr = /* @__PURE__ */ dt(function(I) {
3884
+ return I === "LT" || I === "TL" ? [1, 1] : I === "BL" || I === "LB" ? [1, -1] : I === "BR" || I === "RB" ? [-1, -1] : [-1, 1];
3885
+ }, "getArchitectureDirectionXYFactors"), Nr = /* @__PURE__ */ dt(function(I, O) {
3886
+ return Te(I, O) ? "bend" : Wt(I) ? "horizontal" : "vertical";
3887
+ }, "getArchitectureDirectionAlignment"), Lr = /* @__PURE__ */ dt(function(I) {
3888
+ return I.type === "service";
3889
+ }, "isArchitectureService"), Cr = /* @__PURE__ */ dt(function(I) {
3890
+ return I.type === "junction";
3891
+ }, "isArchitectureJunction"), be = /* @__PURE__ */ dt((I) => I.data(), "edgeData"), ie = /* @__PURE__ */ dt((I) => I.data(), "nodeData"), Ar = rr.architecture, ae, Pe = (ae = class {
3892
+ constructor() {
3893
+ this.nodes = {}, this.groups = {}, this.edges = [], this.registeredIds = {}, this.elements = {}, this.setAccTitle = qe, this.getAccTitle = Qe, this.setDiagramTitle = Je, this.getDiagramTitle = Ke, this.getAccDescription = je, this.setAccDescription = _e, this.clear();
3894
+ }
3895
+ clear() {
3896
+ this.nodes = {}, this.groups = {}, this.edges = [], this.registeredIds = {}, this.dataStructures = void 0, this.elements = {}, tr();
3897
+ }
3898
+ addService({
3899
+ id: O,
3900
+ icon: A,
3901
+ in: P,
3902
+ title: N,
3903
+ iconText: u
3904
+ }) {
3905
+ if (this.registeredIds[O] !== void 0)
3906
+ throw new Error(
3907
+ `The service id [${O}] is already in use by another ${this.registeredIds[O]}`
3908
+ );
3909
+ if (P !== void 0) {
3910
+ if (O === P)
3911
+ throw new Error(`The service [${O}] cannot be placed within itself`);
3912
+ if (this.registeredIds[P] === void 0)
3913
+ throw new Error(
3914
+ `The service [${O}]'s parent does not exist. Please make sure the parent is created before this service`
3915
+ );
3916
+ if (this.registeredIds[P] === "node")
3917
+ throw new Error(`The service [${O}]'s parent is not a group`);
3918
+ }
3919
+ this.registeredIds[O] = "node", this.nodes[O] = {
3920
+ id: O,
3921
+ type: "service",
3922
+ icon: A,
3923
+ iconText: u,
3924
+ title: N,
3925
+ edges: [],
3926
+ in: P
3927
+ };
3928
+ }
3929
+ getServices() {
3930
+ return Object.values(this.nodes).filter(Lr);
3931
+ }
3932
+ addJunction({ id: O, in: A }) {
3933
+ if (this.registeredIds[O] !== void 0)
3934
+ throw new Error(
3935
+ `The junction id [${O}] is already in use by another ${this.registeredIds[O]}`
3936
+ );
3937
+ if (A !== void 0) {
3938
+ if (O === A)
3939
+ throw new Error(`The junction [${O}] cannot be placed within itself`);
3940
+ if (this.registeredIds[A] === void 0)
3941
+ throw new Error(
3942
+ `The junction [${O}]'s parent does not exist. Please make sure the parent is created before this junction`
3943
+ );
3944
+ if (this.registeredIds[A] === "node")
3945
+ throw new Error(`The junction [${O}]'s parent is not a group`);
3946
+ }
3947
+ this.registeredIds[O] = "node", this.nodes[O] = {
3948
+ id: O,
3949
+ type: "junction",
3950
+ edges: [],
3951
+ in: A
3952
+ };
3953
+ }
3954
+ getJunctions() {
3955
+ return Object.values(this.nodes).filter(Cr);
3956
+ }
3957
+ getNodes() {
3958
+ return Object.values(this.nodes);
3959
+ }
3960
+ getNode(O) {
3961
+ return this.nodes[O] ?? null;
3962
+ }
3963
+ addGroup({ id: O, icon: A, in: P, title: N }) {
3964
+ var u, h, a;
3965
+ if (((u = this.registeredIds) == null ? void 0 : u[O]) !== void 0)
3966
+ throw new Error(
3967
+ `The group id [${O}] is already in use by another ${this.registeredIds[O]}`
3968
+ );
3969
+ if (P !== void 0) {
3970
+ if (O === P)
3971
+ throw new Error(`The group [${O}] cannot be placed within itself`);
3972
+ if (((h = this.registeredIds) == null ? void 0 : h[P]) === void 0)
3973
+ throw new Error(
3974
+ `The group [${O}]'s parent does not exist. Please make sure the parent is created before this group`
3975
+ );
3976
+ if (((a = this.registeredIds) == null ? void 0 : a[P]) === "node")
3977
+ throw new Error(`The group [${O}]'s parent is not a group`);
3978
+ }
3979
+ this.registeredIds[O] = "group", this.groups[O] = {
3980
+ id: O,
3981
+ icon: A,
3982
+ title: N,
3983
+ in: P
3984
+ };
3985
+ }
3986
+ getGroups() {
3987
+ return Object.values(this.groups);
3988
+ }
3989
+ addEdge({
3990
+ lhsId: O,
3991
+ rhsId: A,
3992
+ lhsDir: P,
3993
+ rhsDir: N,
3994
+ lhsInto: u,
3995
+ rhsInto: h,
3996
+ lhsGroup: a,
3997
+ rhsGroup: r,
3998
+ title: e
3999
+ }) {
4000
+ if (!Ie(P))
4001
+ throw new Error(
4002
+ `Invalid direction given for left hand side of edge ${O}--${A}. Expected (L,R,T,B) got ${String(P)}`
4003
+ );
4004
+ if (!Ie(N))
4005
+ throw new Error(
4006
+ `Invalid direction given for right hand side of edge ${O}--${A}. Expected (L,R,T,B) got ${String(N)}`
4007
+ );
4008
+ if (this.nodes[O] === void 0 && this.groups[O] === void 0)
4009
+ throw new Error(
4010
+ `The left-hand id [${O}] does not yet exist. Please create the service/group before declaring an edge to it.`
4011
+ );
4012
+ if (this.nodes[A] === void 0 && this.groups[A] === void 0)
4013
+ throw new Error(
4014
+ `The right-hand id [${A}] does not yet exist. Please create the service/group before declaring an edge to it.`
4015
+ );
4016
+ const f = this.nodes[O].in, i = this.nodes[A].in;
4017
+ if (a && f && i && f == i)
4018
+ throw new Error(
4019
+ `The left-hand id [${O}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
4020
+ );
4021
+ if (r && f && i && f == i)
4022
+ throw new Error(
4023
+ `The right-hand id [${A}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
4024
+ );
4025
+ const g = {
4026
+ lhsId: O,
4027
+ lhsDir: P,
4028
+ lhsInto: u,
4029
+ lhsGroup: a,
4030
+ rhsId: A,
4031
+ rhsDir: N,
4032
+ rhsInto: h,
4033
+ rhsGroup: r,
4034
+ title: e
4035
+ };
4036
+ this.edges.push(g), this.nodes[O] && this.nodes[A] && (this.nodes[O].edges.push(this.edges[this.edges.length - 1]), this.nodes[A].edges.push(this.edges[this.edges.length - 1]));
4037
+ }
4038
+ getEdges() {
4039
+ return this.edges;
4040
+ }
4041
+ /**
4042
+ * Returns the current diagram's adjacency list, spatial map, & group alignments.
4043
+ * If they have not been created, run the algorithms to generate them.
4044
+ * @returns
4045
+ */
4046
+ getDataStructures() {
4047
+ if (this.dataStructures === void 0) {
4048
+ const O = {}, A = Object.entries(this.nodes).reduce((r, [e, f]) => (r[e] = f.edges.reduce((i, g) => {
4049
+ var s, c;
4050
+ const t = (s = this.getNode(g.lhsId)) == null ? void 0 : s.in, o = (c = this.getNode(g.rhsId)) == null ? void 0 : c.in;
4051
+ if (t && o && t !== o) {
4052
+ const l = Nr(g.lhsDir, g.rhsDir);
4053
+ l !== "bend" && (O[t] ?? (O[t] = {}), O[t][o] = l, O[o] ?? (O[o] = {}), O[o][t] = l);
4054
+ }
4055
+ if (g.lhsId === e) {
4056
+ const l = pe(g.lhsDir, g.rhsDir);
4057
+ l && (i[l] = g.rhsId);
4058
+ } else {
4059
+ const l = pe(g.rhsDir, g.lhsDir);
4060
+ l && (i[l] = g.lhsId);
4061
+ }
4062
+ return i;
4063
+ }, {}), r), {}), P = Object.keys(A)[0], N = { [P]: 1 }, u = Object.keys(A).reduce(
4064
+ (r, e) => e === P ? r : { ...r, [e]: 1 },
4065
+ {}
4066
+ ), h = /* @__PURE__ */ dt((r) => {
4067
+ const e = { [r]: [0, 0] }, f = [r];
4068
+ for (; f.length > 0; ) {
4069
+ const i = f.shift();
4070
+ if (i) {
4071
+ N[i] = 1, delete u[i];
4072
+ const g = A[i], [t, o] = e[i];
4073
+ Object.entries(g).forEach(([s, c]) => {
4074
+ N[c] || (e[c] = mr(
4075
+ [t, o],
4076
+ s
4077
+ ), f.push(c));
4078
+ });
4079
+ }
4080
+ }
4081
+ return e;
4082
+ }, "BFS"), a = [h(P)];
4083
+ for (; Object.keys(u).length > 0; )
4084
+ a.push(h(Object.keys(u)[0]));
4085
+ this.dataStructures = {
4086
+ adjList: A,
4087
+ spatialMaps: a,
4088
+ groupAlignments: O
4089
+ };
4090
+ }
4091
+ return this.dataStructures;
4092
+ }
4093
+ setElementForId(O, A) {
4094
+ this.elements[O] = A;
4095
+ }
4096
+ getElementById(O) {
4097
+ return this.elements[O];
4098
+ }
4099
+ getConfig() {
4100
+ return er({
4101
+ ...Ar,
4102
+ ...ir().architecture
4103
+ });
4104
+ }
4105
+ getConfigField(O) {
4106
+ return this.getConfig()[O];
4107
+ }
4108
+ }, dt(ae, "ArchitectureDB"), ae), wr = /* @__PURE__ */ dt((I, O) => {
4109
+ hr(I, O), I.groups.map((A) => O.addGroup(A)), I.services.map((A) => O.addService({ ...A, type: "service" })), I.junctions.map((A) => O.addJunction({ ...A, type: "junction" })), I.edges.map((A) => O.addEdge(A));
4110
+ }, "populateDb"), Ge = {
4111
+ parser: {
4112
+ // @ts-expect-error - ArchitectureDB is not assignable to DiagramDB
4113
+ yy: void 0
4114
+ },
4115
+ parse: /* @__PURE__ */ dt(async (I) => {
4116
+ var P;
4117
+ const O = await lr("architecture", I);
4118
+ Re.debug(O);
4119
+ const A = (P = Ge.parser) == null ? void 0 : P.yy;
4120
+ if (!(A instanceof Pe))
4121
+ throw new Error(
4122
+ "parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues."
4123
+ );
4124
+ wr(O, A);
4125
+ }, "parse")
4126
+ }, Mr = /* @__PURE__ */ dt((I) => `
4127
+ .edge {
4128
+ stroke-width: ${I.archEdgeWidth};
4129
+ stroke: ${I.archEdgeColor};
4130
+ fill: none;
4131
+ }
4132
+
4133
+ .arrow {
4134
+ fill: ${I.archEdgeArrowColor};
4135
+ }
4136
+
4137
+ .node-bkg {
4138
+ fill: none;
4139
+ stroke: ${I.archGroupBorderColor};
4140
+ stroke-width: ${I.archGroupBorderWidth};
4141
+ stroke-dasharray: 8;
4142
+ }
4143
+ .node-icon-text {
4144
+ display: flex;
4145
+ align-items: center;
4146
+ }
4147
+
4148
+ .node-icon-text > div {
4149
+ color: #fff;
4150
+ margin: 1px;
4151
+ height: fit-content;
4152
+ text-align: center;
4153
+ overflow: hidden;
4154
+ display: -webkit-box;
4155
+ -webkit-box-orient: vertical;
4156
+ }
4157
+ `, "getStyles"), Or = Mr, re = /* @__PURE__ */ dt((I) => `<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${I}</g>`, "wrapIcon"), ne = {
4158
+ prefix: "mermaid-architecture",
4159
+ height: 80,
4160
+ width: 80,
4161
+ icons: {
4162
+ database: {
4163
+ body: re(
4164
+ '<path id="b" data-name="4" d="m20,57.86c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="c" data-name="3" d="m20,45.95c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path id="d" data-name="2" d="m20,34.05c0,3.94,8.95,7.14,20,7.14s20-3.2,20-7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse id="e" data-name="1" cx="40" cy="22.14" rx="20" ry="7.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="20" y1="57.86" x2="20" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="60" y1="57.86" x2="60" y2="22.14" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
4165
+ )
4166
+ },
4167
+ server: {
4168
+ body: re(
4169
+ '<rect x="17.5" y="17.5" width="45" height="45" rx="2" ry="2" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="32.5" x2="62.5" y2="32.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="47.5" x2="62.5" y2="47.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><g><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,25c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,40c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: #fff; stroke-width: 0px;"/><path d="m56.25,55c0,.27-.45.5-1,.5h-10.5c-.55,0-1-.23-1-.5s.45-.5,1-.5h10.5c.55,0,1,.23,1,.5Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="25" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="40" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g><g><circle cx="32.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="27.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/><circle cx="22.5" cy="55" r=".75" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10;"/></g>'
4170
+ )
4171
+ },
4172
+ disk: {
4173
+ body: re(
4174
+ '<rect x="20" y="15" width="40" height="50" rx="1" ry="1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="19.17" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="24" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="56" cy="60.83" rx=".8" ry=".83" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="14" ry="14.58" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><ellipse cx="40" cy="33.75" rx="4" ry="4.17" style="fill: #fff; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m37.51,42.52l-4.83,13.22c-.26.71-1.1,1.02-1.76.64l-4.18-2.42c-.66-.38-.81-1.26-.33-1.84l9.01-10.8c.88-1.05,2.56-.08,2.09,1.2Z" style="fill: #fff; stroke-width: 0px;"/>'
4175
+ )
4176
+ },
4177
+ internet: {
4178
+ body: re(
4179
+ '<circle cx="40" cy="40" r="22.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="40" y1="17.5" x2="40" y2="62.5" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="17.5" y1="40" x2="62.5" y2="40" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m39.99,17.51c-15.28,11.1-15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><path d="m40.01,17.51c15.28,11.1,15.28,33.88,0,44.98" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="30.1" x2="60.25" y2="30.1" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/><line x1="19.75" y1="49.9" x2="60.25" y2="49.9" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
4180
+ )
4181
+ },
4182
+ cloud: {
4183
+ body: re(
4184
+ '<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
4185
+ )
4186
+ },
4187
+ unknown: sr,
4188
+ blank: {
4189
+ body: re("")
4190
+ }
4191
+ }
4192
+ }, Dr = /* @__PURE__ */ dt(async function(I, O, A) {
4193
+ const P = A.getConfigField("padding"), N = A.getConfigField("iconSize"), u = N / 2, h = N / 6, a = h / 2;
4194
+ await Promise.all(
4195
+ O.edges().map(async (r) => {
4196
+ var K, X;
4197
+ const {
4198
+ source: e,
4199
+ sourceDir: f,
4200
+ sourceArrow: i,
4201
+ sourceGroup: g,
4202
+ target: t,
4203
+ targetDir: o,
4204
+ targetArrow: s,
4205
+ targetGroup: c,
4206
+ label: l
4207
+ } = be(r);
4208
+ let { x: T, y: d } = r[0].sourceEndpoint();
4209
+ const { x: v, y: L } = r[0].midpoint();
4210
+ let { x: S, y: C } = r[0].targetEndpoint();
4211
+ const G = P + 4;
4212
+ if (g && (Wt(f) ? T += f === "L" ? -G : G : d += f === "T" ? -G : G + 18), c && (Wt(o) ? S += o === "L" ? -G : G : C += o === "T" ? -G : G + 18), !g && ((K = A.getNode(e)) == null ? void 0 : K.type) === "junction" && (Wt(f) ? T += f === "L" ? u : -u : d += f === "T" ? u : -u), !c && ((X = A.getNode(t)) == null ? void 0 : X.type) === "junction" && (Wt(o) ? S += o === "L" ? u : -u : C += o === "T" ? u : -u), r[0]._private.rscratch) {
4213
+ const Q = I.insert("g");
4214
+ if (Q.insert("path").attr("d", `M ${T},${d} L ${v},${L} L${S},${C} `).attr("class", "edge").attr("id", nr(e, t, { prefix: "L" })), i) {
4215
+ const D = Wt(f) ? se[f](T, h) : T - a, rt = qt(f) ? se[f](d, h) : d - a;
4216
+ Q.insert("polygon").attr("points", xe[f](h)).attr("transform", `translate(${D},${rt})`).attr("class", "arrow");
4217
+ }
4218
+ if (s) {
4219
+ const D = Wt(o) ? se[o](S, h) : S - a, rt = qt(o) ? se[o](C, h) : C - a;
4220
+ Q.insert("polygon").attr("points", xe[o](h)).attr("transform", `translate(${D},${rt})`).attr("class", "arrow");
4221
+ }
4222
+ if (l) {
4223
+ const D = Te(f, o) ? "XY" : Wt(f) ? "X" : "Y";
4224
+ let rt = 0;
4225
+ D === "X" ? rt = Math.abs(T - S) : D === "Y" ? rt = Math.abs(d - C) / 1.5 : rt = Math.abs(T - S) / 2;
4226
+ const n = Q.append("g");
4227
+ if (await Ee(
4228
+ n,
4229
+ l,
4230
+ {
4231
+ useHtmlLabels: !1,
4232
+ width: rt,
4233
+ classes: "architecture-service-label"
4234
+ },
4235
+ ye()
4236
+ ), n.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), D === "X")
4237
+ n.attr("transform", "translate(" + v + ", " + L + ")");
4238
+ else if (D === "Y")
4239
+ n.attr("transform", "translate(" + v + ", " + L + ") rotate(-90)");
4240
+ else if (D === "XY") {
4241
+ const m = pe(f, o);
4242
+ if (m && yr(m)) {
4243
+ const p = n.node().getBoundingClientRect(), [E, y] = Tr(m);
4244
+ n.attr("dominant-baseline", "auto").attr("transform", `rotate(${-1 * E * y * 45})`);
4245
+ const R = n.node().getBoundingClientRect();
4246
+ n.attr(
4247
+ "transform",
4248
+ `
4249
+ translate(${v}, ${L - p.height / 2})
4250
+ translate(${E * R.width / 2}, ${y * R.height / 2})
4251
+ rotate(${-1 * E * y * 45}, 0, ${p.height / 2})
4252
+ `
4253
+ );
4254
+ }
4255
+ }
4256
+ }
4257
+ }
4258
+ })
4259
+ );
4260
+ }, "drawEdges"), xr = /* @__PURE__ */ dt(async function(I, O, A) {
4261
+ const N = A.getConfigField("padding") * 0.75, u = A.getConfigField("fontSize"), a = A.getConfigField("iconSize") / 2;
4262
+ await Promise.all(
4263
+ O.nodes().map(async (r) => {
4264
+ const e = ie(r);
4265
+ if (e.type === "group") {
4266
+ const { h: f, w: i, x1: g, y1: t } = r.boundingBox(), o = I.append("rect");
4267
+ o.attr("id", `group-${e.id}`).attr("x", g + a).attr("y", t + a).attr("width", i).attr("height", f).attr("class", "node-bkg");
4268
+ const s = I.append("g");
4269
+ let c = g, l = t;
4270
+ if (e.icon) {
4271
+ const T = s.append("g");
4272
+ T.html(
4273
+ `<g>${await ve(e.icon, { height: N, width: N, fallbackPrefix: ne.prefix })}</g>`
4274
+ ), T.attr(
4275
+ "transform",
4276
+ "translate(" + (c + a + 1) + ", " + (l + a + 1) + ")"
4277
+ ), c += N, l += u / 2 - 1 - 2;
4278
+ }
4279
+ if (e.label) {
4280
+ const T = s.append("g");
4281
+ await Ee(
4282
+ T,
4283
+ e.label,
4284
+ {
4285
+ useHtmlLabels: !1,
4286
+ width: i,
4287
+ classes: "architecture-service-label"
4288
+ },
4289
+ ye()
4290
+ ), T.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "start").attr("text-anchor", "start"), T.attr(
4291
+ "transform",
4292
+ "translate(" + (c + a + 4) + ", " + (l + a + 2) + ")"
4293
+ );
4294
+ }
4295
+ A.setElementForId(e.id, o);
4296
+ }
4297
+ })
4298
+ );
4299
+ }, "drawGroups"), Ir = /* @__PURE__ */ dt(async function(I, O, A) {
4300
+ const P = ye();
4301
+ for (const N of A) {
4302
+ const u = O.append("g"), h = I.getConfigField("iconSize");
4303
+ if (N.title) {
4304
+ const f = u.append("g");
4305
+ await Ee(
4306
+ f,
4307
+ N.title,
4308
+ {
4309
+ useHtmlLabels: !1,
4310
+ width: h * 1.5,
4311
+ classes: "architecture-service-label"
4312
+ },
4313
+ P
4314
+ ), f.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), f.attr("transform", "translate(" + h / 2 + ", " + h + ")");
4315
+ }
4316
+ const a = u.append("g");
4317
+ if (N.icon)
4318
+ a.html(
4319
+ `<g>${await ve(N.icon, { height: h, width: h, fallbackPrefix: ne.prefix })}</g>`
4320
+ );
4321
+ else if (N.iconText) {
4322
+ a.html(
4323
+ `<g>${await ve("blank", { height: h, width: h, fallbackPrefix: ne.prefix })}</g>`
4324
+ );
4325
+ const g = a.append("g").append("foreignObject").attr("width", h).attr("height", h).append("div").attr("class", "node-icon-text").attr("style", `height: ${h}px;`).append("div").html(ar(N.iconText, P)), t = parseInt(
4326
+ window.getComputedStyle(g.node(), null).getPropertyValue("font-size").replace(/\D/g, "")
4327
+ ) ?? 16;
4328
+ g.attr("style", `-webkit-line-clamp: ${Math.floor((h - 2) / t)};`);
4329
+ } else
4330
+ a.append("path").attr("class", "node-bkg").attr("id", "node-" + N.id).attr(
4331
+ "d",
4332
+ `M0,${h} V5 Q0,0 5,0 H${h - 5} Q${h},0 ${h},5 V${h} Z`
4333
+ );
4334
+ u.attr("id", `service-${N.id}`).attr("class", "architecture-service");
4335
+ const { width: r, height: e } = u.node().getBBox();
4336
+ N.width = r, N.height = e, I.setElementForId(N.id, u);
4337
+ }
4338
+ return 0;
4339
+ }, "drawServices"), Rr = /* @__PURE__ */ dt(function(I, O, A) {
4340
+ A.forEach((P) => {
4341
+ const N = O.append("g"), u = I.getConfigField("iconSize");
4342
+ N.append("g").append("rect").attr("id", "node-" + P.id).attr("fill-opacity", "0").attr("width", u).attr("height", u), N.attr("class", "architecture-junction");
4343
+ const { width: a, height: r } = N._groups[0][0].getBBox();
4344
+ N.width = a, N.height = r, I.setElementForId(P.id, N);
4345
+ });
4346
+ }, "drawJunctions");
4347
+ or([
4348
+ {
4349
+ name: ne.prefix,
4350
+ icons: ne
4351
+ }
4352
+ ]);
4353
+ Se.use(vr);
4354
+ function Ue(I, O, A) {
4355
+ I.forEach((P) => {
4356
+ O.add({
4357
+ group: "nodes",
4358
+ data: {
4359
+ type: "service",
4360
+ id: P.id,
4361
+ icon: P.icon,
4362
+ label: P.title,
4363
+ parent: P.in,
4364
+ width: A.getConfigField("iconSize"),
4365
+ height: A.getConfigField("iconSize")
4366
+ },
4367
+ classes: "node-service"
4368
+ });
4369
+ });
4370
+ }
4371
+ dt(Ue, "addServices");
4372
+ function Ye(I, O, A) {
4373
+ I.forEach((P) => {
4374
+ O.add({
4375
+ group: "nodes",
4376
+ data: {
4377
+ type: "junction",
4378
+ id: P.id,
4379
+ parent: P.in,
4380
+ width: A.getConfigField("iconSize"),
4381
+ height: A.getConfigField("iconSize")
4382
+ },
4383
+ classes: "node-junction"
4384
+ });
4385
+ });
4386
+ }
4387
+ dt(Ye, "addJunctions");
4388
+ function Xe(I, O) {
4389
+ O.nodes().map((A) => {
4390
+ const P = ie(A);
4391
+ if (P.type === "group")
4392
+ return;
4393
+ P.x = A.position().x, P.y = A.position().y, I.getElementById(P.id).attr("transform", "translate(" + (P.x || 0) + "," + (P.y || 0) + ")");
4394
+ });
4395
+ }
4396
+ dt(Xe, "positionNodes");
4397
+ function He(I, O) {
4398
+ I.forEach((A) => {
4399
+ O.add({
4400
+ group: "nodes",
4401
+ data: {
4402
+ type: "group",
4403
+ id: A.id,
4404
+ icon: A.icon,
4405
+ label: A.title,
4406
+ parent: A.in
4407
+ },
4408
+ classes: "node-group"
4409
+ });
4410
+ });
4411
+ }
4412
+ dt(He, "addGroups");
4413
+ function We(I, O) {
4414
+ I.forEach((A) => {
4415
+ const { lhsId: P, rhsId: N, lhsInto: u, lhsGroup: h, rhsInto: a, lhsDir: r, rhsDir: e, rhsGroup: f, title: i } = A, g = Te(A.lhsDir, A.rhsDir) ? "segments" : "straight", t = {
4416
+ id: `${P}-${N}`,
4417
+ label: i,
4418
+ source: P,
4419
+ sourceDir: r,
4420
+ sourceArrow: u,
4421
+ sourceGroup: h,
4422
+ sourceEndpoint: r === "L" ? "0 50%" : r === "R" ? "100% 50%" : r === "T" ? "50% 0" : "50% 100%",
4423
+ target: N,
4424
+ targetDir: e,
4425
+ targetArrow: a,
4426
+ targetGroup: f,
4427
+ targetEndpoint: e === "L" ? "0 50%" : e === "R" ? "100% 50%" : e === "T" ? "50% 0" : "50% 100%"
4428
+ };
4429
+ O.add({
4430
+ group: "edges",
4431
+ data: t,
4432
+ classes: g
4433
+ });
4434
+ });
4435
+ }
4436
+ dt(We, "addEdges");
4437
+ function Ve(I, O, A) {
4438
+ const P = /* @__PURE__ */ dt((a, r) => Object.entries(a).reduce(
4439
+ (e, [f, i]) => {
4440
+ var o;
4441
+ let g = 0;
4442
+ const t = Object.entries(i);
4443
+ if (t.length === 1)
4444
+ return e[f] = t[0][1], e;
4445
+ for (let s = 0; s < t.length - 1; s++)
4446
+ for (let c = s + 1; c < t.length; c++) {
4447
+ const [l, T] = t[s], [d, v] = t[c];
4448
+ if (((o = A[l]) == null ? void 0 : o[d]) === r)
4449
+ e[f] ?? (e[f] = []), e[f] = [...e[f], ...T, ...v];
4450
+ else if (l === "default" || d === "default")
4451
+ e[f] ?? (e[f] = []), e[f] = [...e[f], ...T, ...v];
4452
+ else {
4453
+ const S = `${f}-${g++}`;
4454
+ e[S] = T;
4455
+ const C = `${f}-${g++}`;
4456
+ e[C] = v;
4457
+ }
4458
+ }
4459
+ return e;
4460
+ },
4461
+ {}
4462
+ ), "flattenAlignments"), N = O.map((a) => {
4463
+ const r = {}, e = {};
4464
+ return Object.entries(a).forEach(([f, [i, g]]) => {
4465
+ var o, s, c;
4466
+ const t = ((o = I.getNode(f)) == null ? void 0 : o.in) ?? "default";
4467
+ r[g] ?? (r[g] = {}), (s = r[g])[t] ?? (s[t] = []), r[g][t].push(f), e[i] ?? (e[i] = {}), (c = e[i])[t] ?? (c[t] = []), e[i][t].push(f);
4468
+ }), {
4469
+ horiz: Object.values(P(r, "horizontal")).filter(
4470
+ (f) => f.length > 1
4471
+ ),
4472
+ vert: Object.values(P(e, "vertical")).filter(
4473
+ (f) => f.length > 1
4474
+ )
4475
+ };
4476
+ }), [u, h] = N.reduce(
4477
+ ([a, r], { horiz: e, vert: f }) => [
4478
+ [...a, ...e],
4479
+ [...r, ...f]
4480
+ ],
4481
+ [[], []]
4482
+ );
4483
+ return {
4484
+ horizontal: u,
4485
+ vertical: h
4486
+ };
4487
+ }
4488
+ dt(Ve, "getAlignments");
4489
+ function ze(I, O) {
4490
+ const A = [], P = /* @__PURE__ */ dt((u) => `${u[0]},${u[1]}`, "posToStr"), N = /* @__PURE__ */ dt((u) => u.split(",").map((h) => parseInt(h)), "strToPos");
4491
+ return I.forEach((u) => {
4492
+ const h = Object.fromEntries(
4493
+ Object.entries(u).map(([f, i]) => [P(i), f])
4494
+ ), a = [P([0, 0])], r = {}, e = {
4495
+ L: [-1, 0],
4496
+ R: [1, 0],
4497
+ T: [0, 1],
4498
+ B: [0, -1]
4499
+ };
4500
+ for (; a.length > 0; ) {
4501
+ const f = a.shift();
4502
+ if (f) {
4503
+ r[f] = 1;
4504
+ const i = h[f];
4505
+ if (i) {
4506
+ const g = N(f);
4507
+ Object.entries(e).forEach(([t, o]) => {
4508
+ const s = P([g[0] + o[0], g[1] + o[1]]), c = h[s];
4509
+ c && !r[s] && (a.push(s), A.push({
4510
+ [De[t]]: c,
4511
+ [De[pr(t)]]: i,
4512
+ gap: 1.5 * O.getConfigField("iconSize")
4513
+ }));
4514
+ });
4515
+ }
4516
+ }
4517
+ }
4518
+ }), A;
4519
+ }
4520
+ dt(ze, "getRelativeConstraints");
4521
+ function $e(I, O, A, P, N, { spatialMaps: u, groupAlignments: h }) {
4522
+ return new Promise((a) => {
4523
+ const r = cr("body").append("div").attr("id", "cy").attr("style", "display:none"), e = Se({
4524
+ container: document.getElementById("cy"),
4525
+ style: [
4526
+ {
4527
+ selector: "edge",
4528
+ style: {
4529
+ "curve-style": "straight",
4530
+ label: "data(label)",
4531
+ "source-endpoint": "data(sourceEndpoint)",
4532
+ "target-endpoint": "data(targetEndpoint)"
4533
+ }
4534
+ },
4535
+ {
4536
+ selector: "edge.segments",
4537
+ style: {
4538
+ "curve-style": "segments",
4539
+ "segment-weights": "0",
4540
+ "segment-distances": [0.5],
4541
+ // @ts-ignore Incorrect library types
4542
+ "edge-distances": "endpoints",
4543
+ "source-endpoint": "data(sourceEndpoint)",
4544
+ "target-endpoint": "data(targetEndpoint)"
4545
+ }
4546
+ },
4547
+ {
4548
+ selector: "node",
4549
+ style: {
4550
+ // @ts-ignore Incorrect library types
4551
+ "compound-sizing-wrt-labels": "include"
4552
+ }
4553
+ },
4554
+ {
4555
+ selector: "node[label]",
4556
+ style: {
4557
+ "text-valign": "bottom",
4558
+ "text-halign": "center",
4559
+ "font-size": `${N.getConfigField("fontSize")}px`
4560
+ }
4561
+ },
4562
+ {
4563
+ selector: ".node-service",
4564
+ style: {
4565
+ label: "data(label)",
4566
+ width: "data(width)",
4567
+ height: "data(height)"
4568
+ }
4569
+ },
4570
+ {
4571
+ selector: ".node-junction",
4572
+ style: {
4573
+ width: "data(width)",
4574
+ height: "data(height)"
4575
+ }
4576
+ },
4577
+ {
4578
+ selector: ".node-group",
4579
+ style: {
4580
+ // @ts-ignore Incorrect library types
4581
+ padding: `${N.getConfigField("padding")}px`
4582
+ }
4583
+ }
4584
+ ],
4585
+ layout: {
4586
+ name: "grid",
4587
+ boundingBox: {
4588
+ x1: 0,
4589
+ x2: 100,
4590
+ y1: 0,
4591
+ y2: 100
4592
+ }
4593
+ }
4594
+ });
4595
+ r.remove(), He(A, e), Ue(I, e, N), Ye(O, e, N), We(P, e);
4596
+ const f = Ve(N, u, h), i = ze(u, N), g = e.layout({
4597
+ name: "fcose",
4598
+ quality: "proof",
4599
+ styleEnabled: !1,
4600
+ animate: !1,
4601
+ nodeDimensionsIncludeLabels: !1,
4602
+ // Adjust the edge parameters if it passes through the border of a group
4603
+ // Hacky fix for: https://github.com/iVis-at-Bilkent/cytoscape.js-fcose/issues/67
4604
+ idealEdgeLength(t) {
4605
+ const [o, s] = t.connectedNodes(), { parent: c } = ie(o), { parent: l } = ie(s);
4606
+ return c === l ? 1.5 * N.getConfigField("iconSize") : 0.5 * N.getConfigField("iconSize");
4607
+ },
4608
+ edgeElasticity(t) {
4609
+ const [o, s] = t.connectedNodes(), { parent: c } = ie(o), { parent: l } = ie(s);
4610
+ return c === l ? 0.45 : 1e-3;
4611
+ },
4612
+ alignmentConstraint: f,
4613
+ relativePlacementConstraint: i
4614
+ });
4615
+ g.one("layoutstop", () => {
4616
+ var o;
4617
+ function t(s, c, l, T) {
4618
+ let d, v;
4619
+ const { x: L, y: S } = s, { x: C, y: G } = c;
4620
+ v = (T - S + (L - l) * (S - G) / (L - C)) / Math.sqrt(1 + Math.pow((S - G) / (L - C), 2)), d = Math.sqrt(Math.pow(T - S, 2) + Math.pow(l - L, 2) - Math.pow(v, 2));
4621
+ const K = Math.sqrt(Math.pow(C - L, 2) + Math.pow(G - S, 2));
4622
+ d = d / K;
4623
+ let X = (C - L) * (T - S) - (G - S) * (l - L);
4624
+ switch (!0) {
4625
+ case X >= 0:
4626
+ X = 1;
4627
+ break;
4628
+ case X < 0:
4629
+ X = -1;
4630
+ break;
4631
+ }
4632
+ let Q = (C - L) * (l - L) + (G - S) * (T - S);
4633
+ switch (!0) {
4634
+ case Q >= 0:
4635
+ Q = 1;
4636
+ break;
4637
+ case Q < 0:
4638
+ Q = -1;
4639
+ break;
4640
+ }
4641
+ return v = Math.abs(v) * X, d = d * Q, {
4642
+ distances: v,
4643
+ weights: d
4644
+ };
4645
+ }
4646
+ dt(t, "getSegmentWeights"), e.startBatch();
4647
+ for (const s of Object.values(e.edges()))
4648
+ if ((o = s.data) != null && o.call(s)) {
4649
+ const { x: c, y: l } = s.source().position(), { x: T, y: d } = s.target().position();
4650
+ if (c !== T && l !== d) {
4651
+ const v = s.sourceEndpoint(), L = s.targetEndpoint(), { sourceDir: S } = be(s), [C, G] = qt(S) ? [v.x, L.y] : [L.x, v.y], { weights: K, distances: X } = t(v, L, C, G);
4652
+ s.style("segment-distances", X), s.style("segment-weights", K);
4653
+ }
4654
+ }
4655
+ e.endBatch(), g.run();
4656
+ }), g.run(), e.ready((t) => {
4657
+ Re.info("Ready", t), a(e);
4658
+ });
4659
+ });
4660
+ }
4661
+ dt($e, "layoutArchitecture");
4662
+ var Sr = /* @__PURE__ */ dt(async (I, O, A, P) => {
4663
+ const N = P.db, u = N.getServices(), h = N.getJunctions(), a = N.getGroups(), r = N.getEdges(), e = N.getDataStructures(), f = ke(O), i = f.append("g");
4664
+ i.attr("class", "architecture-edges");
4665
+ const g = f.append("g");
4666
+ g.attr("class", "architecture-services");
4667
+ const t = f.append("g");
4668
+ t.attr("class", "architecture-groups"), await Ir(N, g, u), Rr(N, g, h);
4669
+ const o = await $e(u, h, a, r, N, e);
4670
+ await Dr(i, o, N), await xr(t, o, N), Xe(N, o), Ze(void 0, f, N.getConfigField("padding"), N.getConfigField("useMaxWidth"));
4671
+ }, "draw"), Fr = { draw: Sr }, Hr = {
4672
+ parser: Ge,
4673
+ get db() {
4674
+ return new Pe();
4675
+ },
4676
+ renderer: Fr,
4677
+ styles: Or
4678
+ };
4679
+ export {
4680
+ Hr as diagram
4681
+ };