@surething/cockpit 1.0.175

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 (1095) hide show
  1. package/.next-prod/BUILD_ID +1 -0
  2. package/.next-prod/app-path-routes-manifest.json +99 -0
  3. package/.next-prod/build-manifest.json +20 -0
  4. package/.next-prod/diagnostics/build-diagnostics.json +6 -0
  5. package/.next-prod/diagnostics/framework.json +1 -0
  6. package/.next-prod/export-marker.json +6 -0
  7. package/.next-prod/images-manifest.json +67 -0
  8. package/.next-prod/next-minimal-server.js.nft.json +1 -0
  9. package/.next-prod/next-server.js.nft.json +1 -0
  10. package/.next-prod/package.json +1 -0
  11. package/.next-prod/prerender-manifest.json +119 -0
  12. package/.next-prod/react-loadable-manifest.json +4241 -0
  13. package/.next-prod/required-server-files.js +326 -0
  14. package/.next-prod/required-server-files.json +326 -0
  15. package/.next-prod/routes-manifest.json +641 -0
  16. package/.next-prod/server/app/_global-error/page.js +3 -0
  17. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -0
  18. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -0
  19. package/.next-prod/server/app/_global-error.html +2 -0
  20. package/.next-prod/server/app/_global-error.meta +16 -0
  21. package/.next-prod/server/app/_global-error.rsc +12 -0
  22. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +12 -0
  23. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +5 -0
  24. package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +4 -0
  25. package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +5 -0
  26. package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +4 -0
  27. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  28. package/.next-prod/server/app/_not-found/page.js +2 -0
  29. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -0
  30. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -0
  31. package/.next-prod/server/app/_not-found.html +18 -0
  32. package/.next-prod/server/app/_not-found.meta +16 -0
  33. package/.next-prod/server/app/_not-found.rsc +18 -0
  34. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +18 -0
  35. package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +6 -0
  36. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +6 -0
  37. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
  38. package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +4 -0
  39. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +5 -0
  40. package/.next-prod/server/app/api/bash/route.js +1 -0
  41. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -0
  42. package/.next-prod/server/app/api/bash/route_client-reference-manifest.js +1 -0
  43. package/.next-prod/server/app/api/chat/route.js +5 -0
  44. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -0
  45. package/.next-prod/server/app/api/chat/route_client-reference-manifest.js +1 -0
  46. package/.next-prod/server/app/api/claude-stats/route.js +1 -0
  47. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -0
  48. package/.next-prod/server/app/api/claude-stats/route_client-reference-manifest.js +1 -0
  49. package/.next-prod/server/app/api/commands/route.js +1 -0
  50. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -0
  51. package/.next-prod/server/app/api/commands/route_client-reference-manifest.js +1 -0
  52. package/.next-prod/server/app/api/comments/route.js +1 -0
  53. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -0
  54. package/.next-prod/server/app/api/comments/route_client-reference-manifest.js +1 -0
  55. package/.next-prod/server/app/api/db/columns/route.js +15 -0
  56. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -0
  57. package/.next-prod/server/app/api/db/columns/route_client-reference-manifest.js +1 -0
  58. package/.next-prod/server/app/api/db/connect/route.js +1 -0
  59. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -0
  60. package/.next-prod/server/app/api/db/connect/route_client-reference-manifest.js +1 -0
  61. package/.next-prod/server/app/api/db/disconnect/route.js +1 -0
  62. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -0
  63. package/.next-prod/server/app/api/db/disconnect/route_client-reference-manifest.js +1 -0
  64. package/.next-prod/server/app/api/db/export/route.js +1 -0
  65. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -0
  66. package/.next-prod/server/app/api/db/export/route_client-reference-manifest.js +1 -0
  67. package/.next-prod/server/app/api/db/query/route.js +1 -0
  68. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -0
  69. package/.next-prod/server/app/api/db/query/route_client-reference-manifest.js +1 -0
  70. package/.next-prod/server/app/api/db/schemas/route.js +8 -0
  71. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -0
  72. package/.next-prod/server/app/api/db/schemas/route_client-reference-manifest.js +1 -0
  73. package/.next-prod/server/app/api/extension/version/route.js +1 -0
  74. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -0
  75. package/.next-prod/server/app/api/extension/version/route_client-reference-manifest.js +1 -0
  76. package/.next-prod/server/app/api/file/route.js +1 -0
  77. package/.next-prod/server/app/api/file/route.js.nft.json +1 -0
  78. package/.next-prod/server/app/api/file/route_client-reference-manifest.js +1 -0
  79. package/.next-prod/server/app/api/files/blame/route.js +1 -0
  80. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -0
  81. package/.next-prod/server/app/api/files/blame/route_client-reference-manifest.js +1 -0
  82. package/.next-prod/server/app/api/files/clipboard/route.js +1 -0
  83. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -0
  84. package/.next-prod/server/app/api/files/clipboard/route_client-reference-manifest.js +1 -0
  85. package/.next-prod/server/app/api/files/copy/route.js +1 -0
  86. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -0
  87. package/.next-prod/server/app/api/files/copy/route_client-reference-manifest.js +1 -0
  88. package/.next-prod/server/app/api/files/delete/route.js +1 -0
  89. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -0
  90. package/.next-prod/server/app/api/files/delete/route_client-reference-manifest.js +1 -0
  91. package/.next-prod/server/app/api/files/expanded/route.js +1 -0
  92. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -0
  93. package/.next-prod/server/app/api/files/expanded/route_client-reference-manifest.js +1 -0
  94. package/.next-prod/server/app/api/files/index/route.js +1 -0
  95. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -0
  96. package/.next-prod/server/app/api/files/index/route_client-reference-manifest.js +1 -0
  97. package/.next-prod/server/app/api/files/init/route.js +1 -0
  98. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -0
  99. package/.next-prod/server/app/api/files/init/route_client-reference-manifest.js +1 -0
  100. package/.next-prod/server/app/api/files/paste/route.js +1 -0
  101. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -0
  102. package/.next-prod/server/app/api/files/paste/route_client-reference-manifest.js +1 -0
  103. package/.next-prod/server/app/api/files/read/route.js +1 -0
  104. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -0
  105. package/.next-prod/server/app/api/files/read/route_client-reference-manifest.js +1 -0
  106. package/.next-prod/server/app/api/files/readdir/route.js +1 -0
  107. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -0
  108. package/.next-prod/server/app/api/files/readdir/route_client-reference-manifest.js +1 -0
  109. package/.next-prod/server/app/api/files/recent/route.js +1 -0
  110. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -0
  111. package/.next-prod/server/app/api/files/recent/route_client-reference-manifest.js +1 -0
  112. package/.next-prod/server/app/api/files/save/route.js +1 -0
  113. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -0
  114. package/.next-prod/server/app/api/files/save/route_client-reference-manifest.js +1 -0
  115. package/.next-prod/server/app/api/files/search/route.js +1 -0
  116. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -0
  117. package/.next-prod/server/app/api/files/search/route_client-reference-manifest.js +1 -0
  118. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -0
  119. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -0
  120. package/.next-prod/server/app/api/git/branch-diff/route_client-reference-manifest.js +1 -0
  121. package/.next-prod/server/app/api/git/branches/route.js +1 -0
  122. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -0
  123. package/.next-prod/server/app/api/git/branches/route_client-reference-manifest.js +1 -0
  124. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -0
  125. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -0
  126. package/.next-prod/server/app/api/git/commit-diff/route_client-reference-manifest.js +1 -0
  127. package/.next-prod/server/app/api/git/commits/route.js +1 -0
  128. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -0
  129. package/.next-prod/server/app/api/git/commits/route_client-reference-manifest.js +1 -0
  130. package/.next-prod/server/app/api/git/diff/route.js +1 -0
  131. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -0
  132. package/.next-prod/server/app/api/git/diff/route_client-reference-manifest.js +1 -0
  133. package/.next-prod/server/app/api/git/discard/route.js +1 -0
  134. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -0
  135. package/.next-prod/server/app/api/git/discard/route_client-reference-manifest.js +1 -0
  136. package/.next-prod/server/app/api/git/stage/route.js +1 -0
  137. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -0
  138. package/.next-prod/server/app/api/git/stage/route_client-reference-manifest.js +1 -0
  139. package/.next-prod/server/app/api/git/status/route.js +1 -0
  140. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -0
  141. package/.next-prod/server/app/api/git/status/route_client-reference-manifest.js +1 -0
  142. package/.next-prod/server/app/api/git/unstage/route.js +1 -0
  143. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -0
  144. package/.next-prod/server/app/api/git/unstage/route_client-reference-manifest.js +1 -0
  145. package/.next-prod/server/app/api/git/worktree/route.js +1 -0
  146. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -0
  147. package/.next-prod/server/app/api/git/worktree/route_client-reference-manifest.js +1 -0
  148. package/.next-prod/server/app/api/global-state/route.js +1 -0
  149. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -0
  150. package/.next-prod/server/app/api/global-state/route_client-reference-manifest.js +1 -0
  151. package/.next-prod/server/app/api/jupyter/load/route.js +1 -0
  152. package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -0
  153. package/.next-prod/server/app/api/jupyter/load/route_client-reference-manifest.js +1 -0
  154. package/.next-prod/server/app/api/jupyter/save/route.js +1 -0
  155. package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -0
  156. package/.next-prod/server/app/api/jupyter/save/route_client-reference-manifest.js +1 -0
  157. package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -0
  158. package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -0
  159. package/.next-prod/server/app/api/jupyter/shutdown/route_client-reference-manifest.js +1 -0
  160. package/.next-prod/server/app/api/lsp/definition/route.js +1 -0
  161. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -0
  162. package/.next-prod/server/app/api/lsp/definition/route_client-reference-manifest.js +1 -0
  163. package/.next-prod/server/app/api/lsp/hover/route.js +1 -0
  164. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -0
  165. package/.next-prod/server/app/api/lsp/hover/route_client-reference-manifest.js +1 -0
  166. package/.next-prod/server/app/api/lsp/references/route.js +1 -0
  167. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -0
  168. package/.next-prod/server/app/api/lsp/references/route_client-reference-manifest.js +1 -0
  169. package/.next-prod/server/app/api/lsp/status/route.js +1 -0
  170. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -0
  171. package/.next-prod/server/app/api/lsp/status/route_client-reference-manifest.js +1 -0
  172. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -0
  173. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -0
  174. package/.next-prod/server/app/api/lsp/warmup/route_client-reference-manifest.js +1 -0
  175. package/.next-prod/server/app/api/mysql/columns/route.js +9 -0
  176. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -0
  177. package/.next-prod/server/app/api/mysql/columns/route_client-reference-manifest.js +1 -0
  178. package/.next-prod/server/app/api/mysql/connect/route.js +1 -0
  179. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -0
  180. package/.next-prod/server/app/api/mysql/connect/route_client-reference-manifest.js +1 -0
  181. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -0
  182. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -0
  183. package/.next-prod/server/app/api/mysql/disconnect/route_client-reference-manifest.js +1 -0
  184. package/.next-prod/server/app/api/mysql/export/route.js +1 -0
  185. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -0
  186. package/.next-prod/server/app/api/mysql/export/route_client-reference-manifest.js +1 -0
  187. package/.next-prod/server/app/api/mysql/query/route.js +1 -0
  188. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -0
  189. package/.next-prod/server/app/api/mysql/query/route_client-reference-manifest.js +1 -0
  190. package/.next-prod/server/app/api/mysql/schemas/route.js +6 -0
  191. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -0
  192. package/.next-prod/server/app/api/mysql/schemas/route_client-reference-manifest.js +1 -0
  193. package/.next-prod/server/app/api/note/route.js +1 -0
  194. package/.next-prod/server/app/api/note/route.js.nft.json +1 -0
  195. package/.next-prod/server/app/api/note/route_client-reference-manifest.js +1 -0
  196. package/.next-prod/server/app/api/open-cursor/route.js +1 -0
  197. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -0
  198. package/.next-prod/server/app/api/open-cursor/route_client-reference-manifest.js +1 -0
  199. package/.next-prod/server/app/api/open-vscode/route.js +1 -0
  200. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -0
  201. package/.next-prod/server/app/api/open-vscode/route_client-reference-manifest.js +1 -0
  202. package/.next-prod/server/app/api/pick-folder/route.js +1 -0
  203. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -0
  204. package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +1 -0
  205. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -0
  206. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -0
  207. package/.next-prod/server/app/api/pinned-sessions/route_client-reference-manifest.js +1 -0
  208. package/.next-prod/server/app/api/project-settings/route.js +1 -0
  209. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -0
  210. package/.next-prod/server/app/api/project-settings/route_client-reference-manifest.js +1 -0
  211. package/.next-prod/server/app/api/project-state/route.js +1 -0
  212. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -0
  213. package/.next-prod/server/app/api/project-state/route_client-reference-manifest.js +1 -0
  214. package/.next-prod/server/app/api/projects/route.js +1 -0
  215. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -0
  216. package/.next-prod/server/app/api/projects/route_client-reference-manifest.js +1 -0
  217. package/.next-prod/server/app/api/redis/command/route.js +1 -0
  218. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -0
  219. package/.next-prod/server/app/api/redis/command/route_client-reference-manifest.js +1 -0
  220. package/.next-prod/server/app/api/redis/connect/route.js +1 -0
  221. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -0
  222. package/.next-prod/server/app/api/redis/connect/route_client-reference-manifest.js +1 -0
  223. package/.next-prod/server/app/api/redis/delete/route.js +1 -0
  224. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -0
  225. package/.next-prod/server/app/api/redis/delete/route_client-reference-manifest.js +1 -0
  226. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -0
  227. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -0
  228. package/.next-prod/server/app/api/redis/disconnect/route_client-reference-manifest.js +1 -0
  229. package/.next-prod/server/app/api/redis/get/route.js +1 -0
  230. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -0
  231. package/.next-prod/server/app/api/redis/get/route_client-reference-manifest.js +1 -0
  232. package/.next-prod/server/app/api/redis/keys/route.js +1 -0
  233. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -0
  234. package/.next-prod/server/app/api/redis/keys/route_client-reference-manifest.js +1 -0
  235. package/.next-prod/server/app/api/redis/set/route.js +1 -0
  236. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -0
  237. package/.next-prod/server/app/api/redis/set/route_client-reference-manifest.js +1 -0
  238. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -0
  239. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -0
  240. package/.next-prod/server/app/api/review/[id]/comments/route_client-reference-manifest.js +1 -0
  241. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -0
  242. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -0
  243. package/.next-prod/server/app/api/review/[id]/replies/route_client-reference-manifest.js +1 -0
  244. package/.next-prod/server/app/api/review/[id]/route.js +1 -0
  245. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -0
  246. package/.next-prod/server/app/api/review/[id]/route_client-reference-manifest.js +1 -0
  247. package/.next-prod/server/app/api/review/identify/route.js +1 -0
  248. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -0
  249. package/.next-prod/server/app/api/review/identify/route_client-reference-manifest.js +1 -0
  250. package/.next-prod/server/app/api/review/order/route.js +1 -0
  251. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -0
  252. package/.next-prod/server/app/api/review/order/route_client-reference-manifest.js +1 -0
  253. package/.next-prod/server/app/api/review/route.js +1 -0
  254. package/.next-prod/server/app/api/review/route.js.nft.json +1 -0
  255. package/.next-prod/server/app/api/review/route_client-reference-manifest.js +1 -0
  256. package/.next-prod/server/app/api/review/share-info/route.js +1 -0
  257. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -0
  258. package/.next-prod/server/app/api/review/share-info/route_client-reference-manifest.js +1 -0
  259. package/.next-prod/server/app/api/review/users/route.js +1 -0
  260. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -0
  261. package/.next-prod/server/app/api/review/users/route_client-reference-manifest.js +1 -0
  262. package/.next-prod/server/app/api/scheduled-tasks/route.js +1 -0
  263. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -0
  264. package/.next-prod/server/app/api/scheduled-tasks/route_client-reference-manifest.js +1 -0
  265. package/.next-prod/server/app/api/services/config/route.js +1 -0
  266. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -0
  267. package/.next-prod/server/app/api/services/config/route_client-reference-manifest.js +1 -0
  268. package/.next-prod/server/app/api/services/scripts/route.js +1 -0
  269. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -0
  270. package/.next-prod/server/app/api/services/scripts/route_client-reference-manifest.js +1 -0
  271. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -0
  272. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -0
  273. package/.next-prod/server/app/api/session/[sessionId]/fork/route_client-reference-manifest.js +1 -0
  274. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -0
  275. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -0
  276. package/.next-prod/server/app/api/session/[sessionId]/history/route_client-reference-manifest.js +1 -0
  277. package/.next-prod/server/app/api/session-by-path/route.js +1 -0
  278. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -0
  279. package/.next-prod/server/app/api/session-by-path/route_client-reference-manifest.js +1 -0
  280. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -0
  281. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -0
  282. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route_client-reference-manifest.js +1 -0
  283. package/.next-prod/server/app/api/sessions/projects/route.js +1 -0
  284. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -0
  285. package/.next-prod/server/app/api/sessions/projects/route_client-reference-manifest.js +1 -0
  286. package/.next-prod/server/app/api/sessions/route.js +1 -0
  287. package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -0
  288. package/.next-prod/server/app/api/sessions/route_client-reference-manifest.js +1 -0
  289. package/.next-prod/server/app/api/settings/route.js +1 -0
  290. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -0
  291. package/.next-prod/server/app/api/settings/route_client-reference-manifest.js +1 -0
  292. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -0
  293. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -0
  294. package/.next-prod/server/app/api/terminal/aliases/route_client-reference-manifest.js +1 -0
  295. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -0
  296. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -0
  297. package/.next-prod/server/app/api/terminal/autocomplete/route_client-reference-manifest.js +1 -0
  298. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -0
  299. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -0
  300. package/.next-prod/server/app/api/terminal/bubble-order/route_client-reference-manifest.js +1 -0
  301. package/.next-prod/server/app/api/terminal/env/route.js +1 -0
  302. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -0
  303. package/.next-prod/server/app/api/terminal/env/route_client-reference-manifest.js +1 -0
  304. package/.next-prod/server/app/api/terminal/history/route.js +1 -0
  305. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -0
  306. package/.next-prod/server/app/api/terminal/history/route_client-reference-manifest.js +1 -0
  307. package/.next-prod/server/app/api/version/route.js +1 -0
  308. package/.next-prod/server/app/api/version/route.js.nft.json +1 -0
  309. package/.next-prod/server/app/api/version/route_client-reference-manifest.js +1 -0
  310. package/.next-prod/server/app/favicon.ico/route.js +1 -0
  311. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -0
  312. package/.next-prod/server/app/favicon.ico.body +0 -0
  313. package/.next-prod/server/app/favicon.ico.meta +1 -0
  314. package/.next-prod/server/app/manifest.webmanifest/route.js +16 -0
  315. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -0
  316. package/.next-prod/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -0
  317. package/.next-prod/server/app/manifest.webmanifest.body +1 -0
  318. package/.next-prod/server/app/manifest.webmanifest.meta +1 -0
  319. package/.next-prod/server/app/page.js +97 -0
  320. package/.next-prod/server/app/page.js.nft.json +1 -0
  321. package/.next-prod/server/app/page_client-reference-manifest.js +1 -0
  322. package/.next-prod/server/app/project/page.js +29 -0
  323. package/.next-prod/server/app/project/page.js.nft.json +1 -0
  324. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -0
  325. package/.next-prod/server/app/review/[id]/page.js +2 -0
  326. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -0
  327. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -0
  328. package/.next-prod/server/app-paths-manifest.json +99 -0
  329. package/.next-prod/server/chunks/1639.js +1 -0
  330. package/.next-prod/server/chunks/1667.js +1 -0
  331. package/.next-prod/server/chunks/1813.js +1 -0
  332. package/.next-prod/server/chunks/1912.js +1 -0
  333. package/.next-prod/server/chunks/2325.js +82 -0
  334. package/.next-prod/server/chunks/2376.js +36 -0
  335. package/.next-prod/server/chunks/2816.js +1 -0
  336. package/.next-prod/server/chunks/2840.js +62 -0
  337. package/.next-prod/server/chunks/3434.js +1 -0
  338. package/.next-prod/server/chunks/3441.js +24 -0
  339. package/.next-prod/server/chunks/3503.js +29 -0
  340. package/.next-prod/server/chunks/3863.js +1 -0
  341. package/.next-prod/server/chunks/3932.js +56 -0
  342. package/.next-prod/server/chunks/4042.js +1 -0
  343. package/.next-prod/server/chunks/4073.js +1 -0
  344. package/.next-prod/server/chunks/4097.js +136 -0
  345. package/.next-prod/server/chunks/4098.js +1 -0
  346. package/.next-prod/server/chunks/4268.js +4 -0
  347. package/.next-prod/server/chunks/4272.js +5 -0
  348. package/.next-prod/server/chunks/4309.js +141 -0
  349. package/.next-prod/server/chunks/4345.js +1 -0
  350. package/.next-prod/server/chunks/4367.js +1 -0
  351. package/.next-prod/server/chunks/4388.js +24 -0
  352. package/.next-prod/server/chunks/4442.js +1 -0
  353. package/.next-prod/server/chunks/4490.js +26 -0
  354. package/.next-prod/server/chunks/4741.js +22 -0
  355. package/.next-prod/server/chunks/4793.js +1 -0
  356. package/.next-prod/server/chunks/5152.js +1 -0
  357. package/.next-prod/server/chunks/5460.js +201 -0
  358. package/.next-prod/server/chunks/5481.js +1 -0
  359. package/.next-prod/server/chunks/5536.js +148 -0
  360. package/.next-prod/server/chunks/5733.js +5 -0
  361. package/.next-prod/server/chunks/582.js +1 -0
  362. package/.next-prod/server/chunks/5958.js +1 -0
  363. package/.next-prod/server/chunks/6062.js +1 -0
  364. package/.next-prod/server/chunks/6117.js +13 -0
  365. package/.next-prod/server/chunks/6142.js +287 -0
  366. package/.next-prod/server/chunks/6346.js +1 -0
  367. package/.next-prod/server/chunks/6443.js +1 -0
  368. package/.next-prod/server/chunks/6804.js +43 -0
  369. package/.next-prod/server/chunks/7265.js +93 -0
  370. package/.next-prod/server/chunks/7284.js +1 -0
  371. package/.next-prod/server/chunks/7307.js +1 -0
  372. package/.next-prod/server/chunks/7483.js +1 -0
  373. package/.next-prod/server/chunks/7484.js +64 -0
  374. package/.next-prod/server/chunks/7514.js +31 -0
  375. package/.next-prod/server/chunks/7800.js +166 -0
  376. package/.next-prod/server/chunks/8068.js +63 -0
  377. package/.next-prod/server/chunks/8351.js +23 -0
  378. package/.next-prod/server/chunks/8491.js +5 -0
  379. package/.next-prod/server/chunks/8585.js +198 -0
  380. package/.next-prod/server/chunks/887.js +215 -0
  381. package/.next-prod/server/chunks/911.js +1 -0
  382. package/.next-prod/server/chunks/9116.js +65 -0
  383. package/.next-prod/server/chunks/925.js +68 -0
  384. package/.next-prod/server/chunks/9298.js +139 -0
  385. package/.next-prod/server/chunks/9401.js +1 -0
  386. package/.next-prod/server/chunks/9408.js +1 -0
  387. package/.next-prod/server/functions-config-manifest.json +24 -0
  388. package/.next-prod/server/interception-route-rewrite-manifest.js +1 -0
  389. package/.next-prod/server/middleware-build-manifest.js +1 -0
  390. package/.next-prod/server/middleware-manifest.json +6 -0
  391. package/.next-prod/server/middleware-react-loadable-manifest.js +1 -0
  392. package/.next-prod/server/next-font-manifest.js +1 -0
  393. package/.next-prod/server/next-font-manifest.json +1 -0
  394. package/.next-prod/server/pages/404.html +18 -0
  395. package/.next-prod/server/pages/500.html +2 -0
  396. package/.next-prod/server/pages-manifest.json +4 -0
  397. package/.next-prod/server/server-reference-manifest.js +1 -0
  398. package/.next-prod/server/server-reference-manifest.json +1 -0
  399. package/.next-prod/server/webpack-runtime.js +1 -0
  400. package/.next-prod/static/DV3WCL3Yj_UIBxTQ3r93N/_buildManifest.js +1 -0
  401. package/.next-prod/static/DV3WCL3Yj_UIBxTQ3r93N/_ssgManifest.js +1 -0
  402. package/.next-prod/static/chunks/10.6cf001c181ce1098.js +1 -0
  403. package/.next-prod/static/chunks/1078.02294b2934d5bf21.js +1 -0
  404. package/.next-prod/static/chunks/1142.17e45d200709420d.js +1 -0
  405. package/.next-prod/static/chunks/1161.06b33878b495da50.js +1 -0
  406. package/.next-prod/static/chunks/1184.e80a999422621ed9.js +1 -0
  407. package/.next-prod/static/chunks/1188.1d4ce94ddc297119.js +1 -0
  408. package/.next-prod/static/chunks/1198.2a5c215f01a8b74d.js +1 -0
  409. package/.next-prod/static/chunks/1215.88ed89521e915107.js +1 -0
  410. package/.next-prod/static/chunks/1219.e27b0bd10b029e40.js +1 -0
  411. package/.next-prod/static/chunks/123.d6fe9c2353baf42b.js +1 -0
  412. package/.next-prod/static/chunks/1247.64e212daa5bb3925.js +1 -0
  413. package/.next-prod/static/chunks/1248.36af3903f037c1f5.js +1 -0
  414. package/.next-prod/static/chunks/1274.ce6906b1fe2e04b8.js +1 -0
  415. package/.next-prod/static/chunks/1280.1651bb5167170457.js +1 -0
  416. package/.next-prod/static/chunks/1310.c38c5fbf05820fcd.js +166 -0
  417. package/.next-prod/static/chunks/1335.716cc5924662708e.js +1 -0
  418. package/.next-prod/static/chunks/1365.d7391145ca7f8791.js +1 -0
  419. package/.next-prod/static/chunks/1379.03e1e0f31bdaa2cc.js +1 -0
  420. package/.next-prod/static/chunks/1409.9f81cd6d2cab4b67.js +1 -0
  421. package/.next-prod/static/chunks/1413.117c5958c59cc695.js +1 -0
  422. package/.next-prod/static/chunks/142.e09e154342f02da4.js +4 -0
  423. package/.next-prod/static/chunks/1453.3c24c777a3deca2d.js +1 -0
  424. package/.next-prod/static/chunks/1456.a1f849b334fff0da.js +1 -0
  425. package/.next-prod/static/chunks/1501.549af2c91a889a08.js +1 -0
  426. package/.next-prod/static/chunks/1534.918a25b2e3daab22.js +1 -0
  427. package/.next-prod/static/chunks/1556.96abc9ff91b0c383.js +1 -0
  428. package/.next-prod/static/chunks/1583.03a06dbdde85ac56.js +1 -0
  429. package/.next-prod/static/chunks/1590.05549e036336164c.js +65 -0
  430. package/.next-prod/static/chunks/1593-7902218f5b10761f.js +1 -0
  431. package/.next-prod/static/chunks/1595.ee61519fde230f60.js +1 -0
  432. package/.next-prod/static/chunks/1656.a9efc78185a5a85f.js +1 -0
  433. package/.next-prod/static/chunks/1664.6d5b5e3112b66906.js +1 -0
  434. package/.next-prod/static/chunks/1898.e07b2b1c5e789b06.js +1 -0
  435. package/.next-prod/static/chunks/1932.b0aea9b52cabe5e8.js +1 -0
  436. package/.next-prod/static/chunks/194.dace825a3ddbbbff.js +1 -0
  437. package/.next-prod/static/chunks/1948.bf7e0d9ede202530.js +29 -0
  438. package/.next-prod/static/chunks/1977.a06c8e8d2198f765.js +1 -0
  439. package/.next-prod/static/chunks/1987.226da043eabc8911.js +5 -0
  440. package/.next-prod/static/chunks/1991.d869abe5092c9011.js +1 -0
  441. package/.next-prod/static/chunks/1cd6e1d3.8121a74b2042bff3.js +1 -0
  442. package/.next-prod/static/chunks/2013.598558c40e51e107.js +1 -0
  443. package/.next-prod/static/chunks/2020.46a0112747939389.js +1 -0
  444. package/.next-prod/static/chunks/2031.3877441c49bff5cd.js +1 -0
  445. package/.next-prod/static/chunks/2041.00f4fa0ab26c6ba5.js +1 -0
  446. package/.next-prod/static/chunks/2062.4a0ab3400fea0e34.js +1 -0
  447. package/.next-prod/static/chunks/2072-37a80cb92f1ee2d4.js +4 -0
  448. package/.next-prod/static/chunks/2107.c627112b02b9e1c8.js +1 -0
  449. package/.next-prod/static/chunks/2130.441ae0f68863efeb.js +1 -0
  450. package/.next-prod/static/chunks/214.f6bba63dfa159e01.js +1 -0
  451. package/.next-prod/static/chunks/2160.e38d781fd5c4cde0.js +1 -0
  452. package/.next-prod/static/chunks/2179.1bf5fe315e6e132c.js +1 -0
  453. package/.next-prod/static/chunks/2215.9d2d6fbe90ffcc80.js +1 -0
  454. package/.next-prod/static/chunks/2235.b4453110c06e2b09.js +1 -0
  455. package/.next-prod/static/chunks/2349.ca15d465c4260b4b.js +1 -0
  456. package/.next-prod/static/chunks/2374.7560cc5c4b8ed6b0.js +1 -0
  457. package/.next-prod/static/chunks/2403.3dda71b6482dce3b.js +1 -0
  458. package/.next-prod/static/chunks/2485.3188870375e9fbee.js +1 -0
  459. package/.next-prod/static/chunks/2489.fcc70bd67329a70e.js +1 -0
  460. package/.next-prod/static/chunks/2501.4e65b56602faa956.js +1 -0
  461. package/.next-prod/static/chunks/2503.bb9d3528c3c7ccae.js +1 -0
  462. package/.next-prod/static/chunks/252.a9e22657cbf67b42.js +1 -0
  463. package/.next-prod/static/chunks/254.8b4308512ac955b5.js +24 -0
  464. package/.next-prod/static/chunks/2614.8349e4b407470a30.js +1 -0
  465. package/.next-prod/static/chunks/2710.fe0656d4ebae4d30.js +1 -0
  466. package/.next-prod/static/chunks/2728.5fed9ac13dfcd1d1.js +1 -0
  467. package/.next-prod/static/chunks/2729.826909b4d5229ba6.js +68 -0
  468. package/.next-prod/static/chunks/2735.5a3e65a580bd5af9.js +1 -0
  469. package/.next-prod/static/chunks/2747.1d85d388314f2904.js +1 -0
  470. package/.next-prod/static/chunks/2765.2c6d9772af50feed.js +1 -0
  471. package/.next-prod/static/chunks/2783.e8bbf2c794ef9750.js +1 -0
  472. package/.next-prod/static/chunks/2812.dcd8179a6b1d76c9.js +1 -0
  473. package/.next-prod/static/chunks/2821.fa74c6e87f6e759a.js +1 -0
  474. package/.next-prod/static/chunks/2839.a832cb0d77a9d298.js +1 -0
  475. package/.next-prod/static/chunks/2895.0339e755e79ee794.js +1 -0
  476. package/.next-prod/static/chunks/2921.26016c4c7eb031e8.js +1 -0
  477. package/.next-prod/static/chunks/2954.7d8daeae6410d4a4.js +1 -0
  478. package/.next-prod/static/chunks/2964.1a0e15f7327680a2.js +1 -0
  479. package/.next-prod/static/chunks/2ff9d716.93c18c265de76cfb.js +136 -0
  480. package/.next-prod/static/chunks/305-fced91c3443b6178.js +1 -0
  481. package/.next-prod/static/chunks/3072.b6da96c10080c967.js +1 -0
  482. package/.next-prod/static/chunks/3074.911584369786c26c.js +1 -0
  483. package/.next-prod/static/chunks/3077.bf82c0c332cc9fec.js +1 -0
  484. package/.next-prod/static/chunks/3082.159e4ab8f0572597.js +1 -0
  485. package/.next-prod/static/chunks/3095.8cd478c42cee505a.js +1 -0
  486. package/.next-prod/static/chunks/3111.1cf85db2faeb20cc.js +1 -0
  487. package/.next-prod/static/chunks/3126.c89ab7ce8e10978e.js +1 -0
  488. package/.next-prod/static/chunks/3175.538ce7aec634bddb.js +1 -0
  489. package/.next-prod/static/chunks/3186.3665756f8aae3eb7.js +1 -0
  490. package/.next-prod/static/chunks/3194.5a331fb5e3dc34e9.js +1 -0
  491. package/.next-prod/static/chunks/3229.5e91f7d0b135266b.js +1 -0
  492. package/.next-prod/static/chunks/327.8ecab0b86d52b597.js +1 -0
  493. package/.next-prod/static/chunks/3274.858f7f9216c8b074.js +1 -0
  494. package/.next-prod/static/chunks/3286.196c508356bb0b66.js +1 -0
  495. package/.next-prod/static/chunks/3288.f210cd6796271d4f.js +1 -0
  496. package/.next-prod/static/chunks/3290.b5ba2646ad49c9fd.js +1 -0
  497. package/.next-prod/static/chunks/3304.16305e84f4ff6598.js +1 -0
  498. package/.next-prod/static/chunks/3313.471138e5504646a9.js +1 -0
  499. package/.next-prod/static/chunks/3324.85e21e3313d0901c.js +1 -0
  500. package/.next-prod/static/chunks/3392.460f5a753531f501.js +1 -0
  501. package/.next-prod/static/chunks/34.ce581867cf95e24b.js +1 -0
  502. package/.next-prod/static/chunks/3419.78b520dab7e2f96d.js +1 -0
  503. package/.next-prod/static/chunks/3437.0ad1ecc8c5b8a679.js +1 -0
  504. package/.next-prod/static/chunks/3476.246c30b47bded3b7.js +1 -0
  505. package/.next-prod/static/chunks/3483.fc2a0b1185dbaa5d.js +1 -0
  506. package/.next-prod/static/chunks/3492.ca55498822ad7796.js +1 -0
  507. package/.next-prod/static/chunks/3530-6d8abfd0e950d439.js +14 -0
  508. package/.next-prod/static/chunks/36.b4a553bf2106f6d3.js +1 -0
  509. package/.next-prod/static/chunks/3613.9a37e282a0b018d7.js +1 -0
  510. package/.next-prod/static/chunks/3682.d8c0079db560c625.js +1 -0
  511. package/.next-prod/static/chunks/3695-f14fb3e48483755c.js +18 -0
  512. package/.next-prod/static/chunks/376.9e742ff6919b2b54.js +1 -0
  513. package/.next-prod/static/chunks/3782.8de9ba0149339c0c.js +1 -0
  514. package/.next-prod/static/chunks/3787.78ebe68a043f50ce.js +1 -0
  515. package/.next-prod/static/chunks/3794-337d1ca25ad99a89.js +2 -0
  516. package/.next-prod/static/chunks/3860.be5b243bf7d6618c.js +1 -0
  517. package/.next-prod/static/chunks/3873.72a9a21509f713f7.js +1 -0
  518. package/.next-prod/static/chunks/392.3cad93691f1b7360.js +1 -0
  519. package/.next-prod/static/chunks/3942.00e2e29e2d62b039.js +1 -0
  520. package/.next-prod/static/chunks/3979.cea8623f6e9f83ea.js +1 -0
  521. package/.next-prod/static/chunks/400.59979e0d3ae126e4.js +1 -0
  522. package/.next-prod/static/chunks/4053.90d71fcbe4ffd852.js +1 -0
  523. package/.next-prod/static/chunks/4080.08a21dae9e93c547.js +1 -0
  524. package/.next-prod/static/chunks/4163.c6ebefdd9aa5c358.js +1 -0
  525. package/.next-prod/static/chunks/4174.9e84de8f8816fe01.js +1 -0
  526. package/.next-prod/static/chunks/4223.c10556cd92fc8018.js +1 -0
  527. package/.next-prod/static/chunks/4240-38a224bd376cc8a0.js +1 -0
  528. package/.next-prod/static/chunks/4242.3a66c58375424a5b.js +1 -0
  529. package/.next-prod/static/chunks/425.9a3434a28926566a.js +1 -0
  530. package/.next-prod/static/chunks/4275.8f2e531757c2a813.js +1 -0
  531. package/.next-prod/static/chunks/4295.6c0f4838b0c9c69d.js +1 -0
  532. package/.next-prod/static/chunks/4309.a887a10e84c44f9e.js +1 -0
  533. package/.next-prod/static/chunks/4350.b9d80827e8eee01a.js +1 -0
  534. package/.next-prod/static/chunks/4357.05060a5a3fea9ff1.js +1 -0
  535. package/.next-prod/static/chunks/4358.f15dd467571f7594.js +1 -0
  536. package/.next-prod/static/chunks/4367.2610339aa03a9fb3.js +1 -0
  537. package/.next-prod/static/chunks/4370.ac13b62c811f7ede.js +1 -0
  538. package/.next-prod/static/chunks/4402d2ac.d0d1b1777a45e0b2.js +1 -0
  539. package/.next-prod/static/chunks/4474.053807fa34066566.js +1 -0
  540. package/.next-prod/static/chunks/4539.559c223da16b0282.js +1 -0
  541. package/.next-prod/static/chunks/4540.03df20c499bca840.js +1 -0
  542. package/.next-prod/static/chunks/4553.a16dba8d6d03226c.js +1 -0
  543. package/.next-prod/static/chunks/4567.d405b50b917bd2c2.js +1 -0
  544. package/.next-prod/static/chunks/4583.2a5df6eb3a6ea30b.js +1 -0
  545. package/.next-prod/static/chunks/4593.676ac488744e1af5.js +1 -0
  546. package/.next-prod/static/chunks/4608.1ff246d6b4c771f8.js +1 -0
  547. package/.next-prod/static/chunks/4634.0332a56fdb8e26c0.js +1 -0
  548. package/.next-prod/static/chunks/4650.61aec912b756287b.js +1 -0
  549. package/.next-prod/static/chunks/4659.b8e05ba7cbf46556.js +1 -0
  550. package/.next-prod/static/chunks/4678.867dfae26694be02.js +1 -0
  551. package/.next-prod/static/chunks/4699.8603b2742a761084.js +1 -0
  552. package/.next-prod/static/chunks/4823.907850963b2bcb70.js +1 -0
  553. package/.next-prod/static/chunks/4829.402ec60139d36417.js +1 -0
  554. package/.next-prod/static/chunks/4892.1674cc00200143ba.js +1 -0
  555. package/.next-prod/static/chunks/4900.b723a916eafdf743.js +1 -0
  556. package/.next-prod/static/chunks/4903.004f583a12223dac.js +1 -0
  557. package/.next-prod/static/chunks/4963.0f6678151a159143.js +1 -0
  558. package/.next-prod/static/chunks/4969.1cb10af9489ea295.js +1 -0
  559. package/.next-prod/static/chunks/4976.8870319ffbd1c31f.js +1 -0
  560. package/.next-prod/static/chunks/4bd1b696-e5d7c65570c947b7.js +1 -0
  561. package/.next-prod/static/chunks/4ca0cff5.07efe2bc8f09d72e.js +1 -0
  562. package/.next-prod/static/chunks/5005.cf839e066f3d3efe.js +1 -0
  563. package/.next-prod/static/chunks/5019.2906d96e77b98f68.js +198 -0
  564. package/.next-prod/static/chunks/5025.b597364f0cf8b85a.js +1 -0
  565. package/.next-prod/static/chunks/5061.025d30c3123eeaf6.js +1 -0
  566. package/.next-prod/static/chunks/5136.ac897c2a56ee392f.js +1 -0
  567. package/.next-prod/static/chunks/5139.83dc2c84aeea716b.js +63 -0
  568. package/.next-prod/static/chunks/5183.2e5c895a2be76262.js +1 -0
  569. package/.next-prod/static/chunks/5199.5faac6a2cc104a4c.js +36 -0
  570. package/.next-prod/static/chunks/5269.25d99df0164521ad.js +23 -0
  571. package/.next-prod/static/chunks/5318.d48b9096df0171df.js +1 -0
  572. package/.next-prod/static/chunks/5320.191be461ff110fb3.js +1 -0
  573. package/.next-prod/static/chunks/5325.aad15a16a5d57787.js +1 -0
  574. package/.next-prod/static/chunks/5331.4d5d42e5253dbee2.js +1 -0
  575. package/.next-prod/static/chunks/5338.76f7773c317f3142.js +1 -0
  576. package/.next-prod/static/chunks/5347.3192e0021174aaa8.js +1 -0
  577. package/.next-prod/static/chunks/5364.2e5ba480c24d7854.js +148 -0
  578. package/.next-prod/static/chunks/5375.ebc026e6140b52f1.js +1 -0
  579. package/.next-prod/static/chunks/5394.9d260f733e336357.js +287 -0
  580. package/.next-prod/static/chunks/53c1bd3f.2911e2bac119d910.js +1 -0
  581. package/.next-prod/static/chunks/541.cfa15b606745131a.js +1 -0
  582. package/.next-prod/static/chunks/5424.4d62f7ee887cd8b9.js +1 -0
  583. package/.next-prod/static/chunks/5482.0907421e6bf5eeec.js +1 -0
  584. package/.next-prod/static/chunks/5491.5cc285c4b84dac30.js +1 -0
  585. package/.next-prod/static/chunks/5493-9f80ad2c7c9cf840.js +1 -0
  586. package/.next-prod/static/chunks/5498.fa0a196807d6cd2f.js +1 -0
  587. package/.next-prod/static/chunks/54a60aa6-f60235f3d6b54466.js +79 -0
  588. package/.next-prod/static/chunks/5518.6c3dc9afe81a566b.js +1 -0
  589. package/.next-prod/static/chunks/5520.eab85d7487e77510.js +1 -0
  590. package/.next-prod/static/chunks/5553.75df19e3cc1246d6.js +1 -0
  591. package/.next-prod/static/chunks/5575.3d90c643343a1329.js +1 -0
  592. package/.next-prod/static/chunks/5645.9002948124d25d41.js +1 -0
  593. package/.next-prod/static/chunks/5670.2a1b27a6fdb7aa6b.js +1 -0
  594. package/.next-prod/static/chunks/5690.d30877807cf5c7eb.js +1 -0
  595. package/.next-prod/static/chunks/570e4624.a82467c542429379.js +1 -0
  596. package/.next-prod/static/chunks/5712.574fca2d5f06483a.js +1 -0
  597. package/.next-prod/static/chunks/5728.8ef773d61765855e.js +1 -0
  598. package/.next-prod/static/chunks/5750.aa57d25b74640d23.js +1 -0
  599. package/.next-prod/static/chunks/5755.00015c284ed6fb39.js +1 -0
  600. package/.next-prod/static/chunks/5788.e5d5040b65e5edf3.js +1 -0
  601. package/.next-prod/static/chunks/579.33fc87fb95163c6a.js +1 -0
  602. package/.next-prod/static/chunks/583.5061a2f9e7b7e97d.js +1 -0
  603. package/.next-prod/static/chunks/5920.9db223329ee9e11a.js +1 -0
  604. package/.next-prod/static/chunks/5922.0d75c174139a59a4.js +1 -0
  605. package/.next-prod/static/chunks/5937.0827b5b3eb831ff0.js +1 -0
  606. package/.next-prod/static/chunks/5968.63d5869783fad06f.js +1 -0
  607. package/.next-prod/static/chunks/5997.226c07d9e6c496e0.js +1 -0
  608. package/.next-prod/static/chunks/6026.4027a04696ef04db.js +1 -0
  609. package/.next-prod/static/chunks/6046.00d36aea7fd5b147.js +1 -0
  610. package/.next-prod/static/chunks/6089.2dd351186ec85cc3.js +1 -0
  611. package/.next-prod/static/chunks/6099.43e6595fcf24fc33.js +1 -0
  612. package/.next-prod/static/chunks/6110.5ce3f75fced27aaf.js +1 -0
  613. package/.next-prod/static/chunks/6144.f967a8228bcdf663.js +1 -0
  614. package/.next-prod/static/chunks/6155.e6cf0ef7c818caa9.js +1 -0
  615. package/.next-prod/static/chunks/6166.ecd82a9dcb484b97.js +1 -0
  616. package/.next-prod/static/chunks/624.2dd909fbfce98c5e.js +1 -0
  617. package/.next-prod/static/chunks/6290.e14cf4fc52dd4539.js +1 -0
  618. package/.next-prod/static/chunks/6293.5914fa73a9f7e777.js +1 -0
  619. package/.next-prod/static/chunks/6311.5b9c1f74df9a8f67.js +1 -0
  620. package/.next-prod/static/chunks/6331.758f2f66b92cada9.js +1 -0
  621. package/.next-prod/static/chunks/6339.bc9301cc22898be0.js +1 -0
  622. package/.next-prod/static/chunks/6360.ff0a9063773daeeb.js +1 -0
  623. package/.next-prod/static/chunks/6383.ca3e074feb80c69c.js +1 -0
  624. package/.next-prod/static/chunks/640.5bf1e25d0bddf875.js +1 -0
  625. package/.next-prod/static/chunks/6402.a0070d7688ed986b.js +1 -0
  626. package/.next-prod/static/chunks/6412.089ee787a294d10b.js +1 -0
  627. package/.next-prod/static/chunks/6455.12b78a2660d609eb.js +1 -0
  628. package/.next-prod/static/chunks/6460.8ce93fe47320f6c5.js +1 -0
  629. package/.next-prod/static/chunks/6563.5d618b608750f4dc.js +1 -0
  630. package/.next-prod/static/chunks/6572.ca2463823b9b01a0.js +1 -0
  631. package/.next-prod/static/chunks/6580.75d53830b434451f.js +1 -0
  632. package/.next-prod/static/chunks/6588.0fbca957af7d9e6a.js +1 -0
  633. package/.next-prod/static/chunks/6647.584c5d5cd8dfdb5a.js +1 -0
  634. package/.next-prod/static/chunks/6686.796c782c33ab8ca9.js +1 -0
  635. package/.next-prod/static/chunks/6701.bff0efb979f71a17.js +1 -0
  636. package/.next-prod/static/chunks/6704.f280f0ad0f5d8644.js +1 -0
  637. package/.next-prod/static/chunks/6729.0f91dcaaaffa2ed4.js +1 -0
  638. package/.next-prod/static/chunks/6741.06fdaf122961074e.js +1 -0
  639. package/.next-prod/static/chunks/6846.91283f709c40802c.js +1 -0
  640. package/.next-prod/static/chunks/6859.bacad166ee995fe0.js +1 -0
  641. package/.next-prod/static/chunks/6871.38519003bd87ac1c.js +62 -0
  642. package/.next-prod/static/chunks/6887.6c81234d73740fb9.js +1 -0
  643. package/.next-prod/static/chunks/6927.aa3914b5fb0d14d4.js +1 -0
  644. package/.next-prod/static/chunks/6931.3c90e9fe0f7f1e66.js +1 -0
  645. package/.next-prod/static/chunks/6938.0ccf683bd8aa8410.js +1 -0
  646. package/.next-prod/static/chunks/6948.2719ed8731963209.js +1 -0
  647. package/.next-prod/static/chunks/6959.5a803faf27f88e9f.js +1 -0
  648. package/.next-prod/static/chunks/6962.3bbd080592d4efa0.js +64 -0
  649. package/.next-prod/static/chunks/698.e0dda03fd303b96b.js +1 -0
  650. package/.next-prod/static/chunks/700.65a02f6a597083dc.js +9 -0
  651. package/.next-prod/static/chunks/7021.b71240b1d5f6fbe4.js +1 -0
  652. package/.next-prod/static/chunks/7040.b8e05ba7cbf46556.js +1 -0
  653. package/.next-prod/static/chunks/7041.174bf29bd837f06d.js +1 -0
  654. package/.next-prod/static/chunks/7082.fc816f91214026d7.js +1 -0
  655. package/.next-prod/static/chunks/7084.921c9737b83f55eb.js +1 -0
  656. package/.next-prod/static/chunks/7085.b16e7c0e24741232.js +215 -0
  657. package/.next-prod/static/chunks/70e0d97a-6903b8594c742784.js +1 -0
  658. package/.next-prod/static/chunks/7113.86e40b60c804b8c5.js +1 -0
  659. package/.next-prod/static/chunks/7130.8d24694735826c22.js +1 -0
  660. package/.next-prod/static/chunks/7142.dbd2cf8141eece5e.js +1 -0
  661. package/.next-prod/static/chunks/7152.c7b7f1f5e9622f21.js +1 -0
  662. package/.next-prod/static/chunks/7182.b747e3ef1524157a.js +1 -0
  663. package/.next-prod/static/chunks/7227.a6b2f01487bb3d9d.js +1 -0
  664. package/.next-prod/static/chunks/7258.6cbe24c3bcb63d1d.js +1 -0
  665. package/.next-prod/static/chunks/7425.8b47c8e398a12dd8.js +1 -0
  666. package/.next-prod/static/chunks/7443.124211e5abc05d3f.js +93 -0
  667. package/.next-prod/static/chunks/7455.71d54397710b923c.js +1 -0
  668. package/.next-prod/static/chunks/7465.867e8ff655666413.js +1 -0
  669. package/.next-prod/static/chunks/7479.433d3878625aba75.js +24 -0
  670. package/.next-prod/static/chunks/7524.9528295a19a5837a.js +1 -0
  671. package/.next-prod/static/chunks/7525.f433aaf1fe40c90a.js +1 -0
  672. package/.next-prod/static/chunks/7547.54b68d37b50c2f21.js +43 -0
  673. package/.next-prod/static/chunks/7557.bdc743175125b3d8.js +1 -0
  674. package/.next-prod/static/chunks/7610.b1439345dbcf285d.js +1 -0
  675. package/.next-prod/static/chunks/7625.ab66bd50d2fb61a4.js +1 -0
  676. package/.next-prod/static/chunks/7635.166d83de1d29e758.js +1 -0
  677. package/.next-prod/static/chunks/7636.bf91320a9ff695af.js +1 -0
  678. package/.next-prod/static/chunks/7650.18f74243e9325242.js +1 -0
  679. package/.next-prod/static/chunks/7785.1402a4110c300764.js +1 -0
  680. package/.next-prod/static/chunks/7799.f90cda9aba4e0e77.js +1 -0
  681. package/.next-prod/static/chunks/7819.3c56f48c0dc5ad5d.js +1 -0
  682. package/.next-prod/static/chunks/7844.2bb29faa262f313e.js +1 -0
  683. package/.next-prod/static/chunks/7846.c9705c044ab8f87a.js +1 -0
  684. package/.next-prod/static/chunks/7874.8db6929b94cdf697.js +1 -0
  685. package/.next-prod/static/chunks/7884.79af1a2f4511cea5.js +1 -0
  686. package/.next-prod/static/chunks/7889.af3e581842f34c28.js +1 -0
  687. package/.next-prod/static/chunks/7921.c361f794cc208e06.js +1 -0
  688. package/.next-prod/static/chunks/794.06b1ae4fc9cc10a9.js +1 -0
  689. package/.next-prod/static/chunks/7977.80e4daa080a79c39.js +1 -0
  690. package/.next-prod/static/chunks/799ebd4e.ccb85c56e9216a38.js +1 -0
  691. package/.next-prod/static/chunks/7d29de82.30ff86a90cbfd921.js +1 -0
  692. package/.next-prod/static/chunks/8113.907baefc7227cfb8.js +1 -0
  693. package/.next-prod/static/chunks/8132.74491162f08af899.js +1 -0
  694. package/.next-prod/static/chunks/816.ccc7dc455fcaf7c0.js +1 -0
  695. package/.next-prod/static/chunks/8192.5918d83ac6a0e2dc.js +1 -0
  696. package/.next-prod/static/chunks/8243.aa3ccfb41335eb1f.js +1 -0
  697. package/.next-prod/static/chunks/8257.dd8f651f1a43fee2.js +1 -0
  698. package/.next-prod/static/chunks/8288.8ff86c6a3bee6b7c.js +1 -0
  699. package/.next-prod/static/chunks/830.e49b226c07876df4.js +1 -0
  700. package/.next-prod/static/chunks/8317.9c6f22e0c8cd07a8.js +141 -0
  701. package/.next-prod/static/chunks/8318.a70d7a81445f8cf9.js +1 -0
  702. package/.next-prod/static/chunks/840.a9c535f8868cc4bd.js +1 -0
  703. package/.next-prod/static/chunks/8406.955ccfbb4b70b8c3.js +1 -0
  704. package/.next-prod/static/chunks/8430.b1f802dcffa41626.js +1 -0
  705. package/.next-prod/static/chunks/8432.bd66ac287c569996.js +1 -0
  706. package/.next-prod/static/chunks/8457.b61d96d8d30215fc.js +1 -0
  707. package/.next-prod/static/chunks/8496.046efd6301dd804f.js +1 -0
  708. package/.next-prod/static/chunks/8545.be0c9eea6aae5971.js +1 -0
  709. package/.next-prod/static/chunks/8555.ab3ee6358f1d64da.js +1 -0
  710. package/.next-prod/static/chunks/862.7cd3197e1ba5fd00.js +1 -0
  711. package/.next-prod/static/chunks/8656.2ceb4e5ff5df2fca.js +1 -0
  712. package/.next-prod/static/chunks/8670.90ede75068758e82.js +1 -0
  713. package/.next-prod/static/chunks/8704.a1003918da6654da.js +1 -0
  714. package/.next-prod/static/chunks/8773.614f1f4f0f845c5e.js +1 -0
  715. package/.next-prod/static/chunks/8776.6fb12270eca03fd3.js +149 -0
  716. package/.next-prod/static/chunks/8848.b0a10ee0b0a2b91b.js +1 -0
  717. package/.next-prod/static/chunks/8863.4a09596cf95e996a.js +82 -0
  718. package/.next-prod/static/chunks/893.c469257bbbbca4f5.js +1 -0
  719. package/.next-prod/static/chunks/8947.31d3d834d8281fd9.js +1 -0
  720. package/.next-prod/static/chunks/9005.473ce947d16e7f65.js +1 -0
  721. package/.next-prod/static/chunks/9006.11537833945ec4b8.js +1 -0
  722. package/.next-prod/static/chunks/9015.c4e40321a6503a1b.js +1 -0
  723. package/.next-prod/static/chunks/90542734.58d84d15ab7a8c98.js +1 -0
  724. package/.next-prod/static/chunks/9114-abef8471519b7dee.js +1 -0
  725. package/.next-prod/static/chunks/9136.191be42a2fee842c.js +1 -0
  726. package/.next-prod/static/chunks/9178.48a90097ee3f0b0c.js +1 -0
  727. package/.next-prod/static/chunks/9186.3af6fcd13ab752fa.js +1 -0
  728. package/.next-prod/static/chunks/9189.3e9d29bf275ec462.js +1 -0
  729. package/.next-prod/static/chunks/9220.0206dd0432eca784.js +1 -0
  730. package/.next-prod/static/chunks/9224.401f9320ee58570b.js +1 -0
  731. package/.next-prod/static/chunks/9233.124321d2f404e01c.js +1 -0
  732. package/.next-prod/static/chunks/9240.d38ddbe94e0bf128.js +1 -0
  733. package/.next-prod/static/chunks/9261.303cbbe69262a995.js +1 -0
  734. package/.next-prod/static/chunks/9267.fbfd65ea31e7448c.js +1 -0
  735. package/.next-prod/static/chunks/9294.a20485f3282321b3.js +1 -0
  736. package/.next-prod/static/chunks/92e53eb0.097194be4a0e7d55.js +1 -0
  737. package/.next-prod/static/chunks/9302.726b065f2df0323a.js +1 -0
  738. package/.next-prod/static/chunks/9318.ba24787a52cefe4c.js +56 -0
  739. package/.next-prod/static/chunks/9373.6206c440af44002a.js +1 -0
  740. package/.next-prod/static/chunks/9377.f9db706e76f04afe.js +1 -0
  741. package/.next-prod/static/chunks/9382.bc0e11ecc88dd62c.js +1 -0
  742. package/.next-prod/static/chunks/9421.a5c1dbcfbfdd8f52.js +1 -0
  743. package/.next-prod/static/chunks/9448.2668b3cd408e86de.js +1 -0
  744. package/.next-prod/static/chunks/9466.3dacf5969d47ba2c.js +1 -0
  745. package/.next-prod/static/chunks/9521.e1240eb862eb32dc.js +1 -0
  746. package/.next-prod/static/chunks/9547.7729788fff21926f.js +1 -0
  747. package/.next-prod/static/chunks/9565.8de0671f99d12abe.js +1 -0
  748. package/.next-prod/static/chunks/9569.2f36b2b1c2f838d7.js +1 -0
  749. package/.next-prod/static/chunks/9615.3b62c13af671f714.js +1 -0
  750. package/.next-prod/static/chunks/9648.8235b6fea7087b3a.js +1 -0
  751. package/.next-prod/static/chunks/966.57e4cd93c2368d34.js +1 -0
  752. package/.next-prod/static/chunks/9666.a515fa6d89a71f1c.js +1 -0
  753. package/.next-prod/static/chunks/968.29d4ba7ee8bd5ccb.js +1 -0
  754. package/.next-prod/static/chunks/9680.d5ceac8967e0b6a8.js +1 -0
  755. package/.next-prod/static/chunks/9690.7773c72f0eff6dec.js +1 -0
  756. package/.next-prod/static/chunks/9841.422321143547591a.js +1 -0
  757. package/.next-prod/static/chunks/9842.3b71b65b30d8ef2a.js +1 -0
  758. package/.next-prod/static/chunks/9996.18b7bca2f0ab222e.js +1 -0
  759. package/.next-prod/static/chunks/aaea2bcf-6b3391c26b869501.js +1 -0
  760. package/.next-prod/static/chunks/af7f6608.85a7e1eb0d4130b0.js +53 -0
  761. package/.next-prod/static/chunks/app/_global-error/page-f2ae9d2d29d5fe08.js +1 -0
  762. package/.next-prod/static/chunks/app/_not-found/page-511b5b7e4ffc7ac9.js +1 -0
  763. package/.next-prod/static/chunks/app/api/bash/route-f2ae9d2d29d5fe08.js +1 -0
  764. package/.next-prod/static/chunks/app/api/chat/route-f2ae9d2d29d5fe08.js +1 -0
  765. package/.next-prod/static/chunks/app/api/claude-stats/route-f2ae9d2d29d5fe08.js +1 -0
  766. package/.next-prod/static/chunks/app/api/commands/route-f2ae9d2d29d5fe08.js +1 -0
  767. package/.next-prod/static/chunks/app/api/comments/route-f2ae9d2d29d5fe08.js +1 -0
  768. package/.next-prod/static/chunks/app/api/db/columns/route-f2ae9d2d29d5fe08.js +1 -0
  769. package/.next-prod/static/chunks/app/api/db/connect/route-f2ae9d2d29d5fe08.js +1 -0
  770. package/.next-prod/static/chunks/app/api/db/disconnect/route-f2ae9d2d29d5fe08.js +1 -0
  771. package/.next-prod/static/chunks/app/api/db/export/route-f2ae9d2d29d5fe08.js +1 -0
  772. package/.next-prod/static/chunks/app/api/db/query/route-f2ae9d2d29d5fe08.js +1 -0
  773. package/.next-prod/static/chunks/app/api/db/schemas/route-f2ae9d2d29d5fe08.js +1 -0
  774. package/.next-prod/static/chunks/app/api/extension/version/route-f2ae9d2d29d5fe08.js +1 -0
  775. package/.next-prod/static/chunks/app/api/file/route-f2ae9d2d29d5fe08.js +1 -0
  776. package/.next-prod/static/chunks/app/api/files/blame/route-f2ae9d2d29d5fe08.js +1 -0
  777. package/.next-prod/static/chunks/app/api/files/clipboard/route-f2ae9d2d29d5fe08.js +1 -0
  778. package/.next-prod/static/chunks/app/api/files/copy/route-f2ae9d2d29d5fe08.js +1 -0
  779. package/.next-prod/static/chunks/app/api/files/delete/route-f2ae9d2d29d5fe08.js +1 -0
  780. package/.next-prod/static/chunks/app/api/files/expanded/route-f2ae9d2d29d5fe08.js +1 -0
  781. package/.next-prod/static/chunks/app/api/files/index/route-f2ae9d2d29d5fe08.js +1 -0
  782. package/.next-prod/static/chunks/app/api/files/init/route-f2ae9d2d29d5fe08.js +1 -0
  783. package/.next-prod/static/chunks/app/api/files/paste/route-f2ae9d2d29d5fe08.js +1 -0
  784. package/.next-prod/static/chunks/app/api/files/read/route-f2ae9d2d29d5fe08.js +1 -0
  785. package/.next-prod/static/chunks/app/api/files/readdir/route-f2ae9d2d29d5fe08.js +1 -0
  786. package/.next-prod/static/chunks/app/api/files/recent/route-f2ae9d2d29d5fe08.js +1 -0
  787. package/.next-prod/static/chunks/app/api/files/save/route-f2ae9d2d29d5fe08.js +1 -0
  788. package/.next-prod/static/chunks/app/api/files/search/route-f2ae9d2d29d5fe08.js +1 -0
  789. package/.next-prod/static/chunks/app/api/git/branch-diff/route-f2ae9d2d29d5fe08.js +1 -0
  790. package/.next-prod/static/chunks/app/api/git/branches/route-f2ae9d2d29d5fe08.js +1 -0
  791. package/.next-prod/static/chunks/app/api/git/commit-diff/route-f2ae9d2d29d5fe08.js +1 -0
  792. package/.next-prod/static/chunks/app/api/git/commits/route-f2ae9d2d29d5fe08.js +1 -0
  793. package/.next-prod/static/chunks/app/api/git/diff/route-f2ae9d2d29d5fe08.js +1 -0
  794. package/.next-prod/static/chunks/app/api/git/discard/route-f2ae9d2d29d5fe08.js +1 -0
  795. package/.next-prod/static/chunks/app/api/git/stage/route-f2ae9d2d29d5fe08.js +1 -0
  796. package/.next-prod/static/chunks/app/api/git/status/route-f2ae9d2d29d5fe08.js +1 -0
  797. package/.next-prod/static/chunks/app/api/git/unstage/route-f2ae9d2d29d5fe08.js +1 -0
  798. package/.next-prod/static/chunks/app/api/git/worktree/route-f2ae9d2d29d5fe08.js +1 -0
  799. package/.next-prod/static/chunks/app/api/global-state/route-f2ae9d2d29d5fe08.js +1 -0
  800. package/.next-prod/static/chunks/app/api/jupyter/load/route-f2ae9d2d29d5fe08.js +1 -0
  801. package/.next-prod/static/chunks/app/api/jupyter/save/route-f2ae9d2d29d5fe08.js +1 -0
  802. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-f2ae9d2d29d5fe08.js +1 -0
  803. package/.next-prod/static/chunks/app/api/lsp/definition/route-f2ae9d2d29d5fe08.js +1 -0
  804. package/.next-prod/static/chunks/app/api/lsp/hover/route-f2ae9d2d29d5fe08.js +1 -0
  805. package/.next-prod/static/chunks/app/api/lsp/references/route-f2ae9d2d29d5fe08.js +1 -0
  806. package/.next-prod/static/chunks/app/api/lsp/status/route-f2ae9d2d29d5fe08.js +1 -0
  807. package/.next-prod/static/chunks/app/api/lsp/warmup/route-f2ae9d2d29d5fe08.js +1 -0
  808. package/.next-prod/static/chunks/app/api/mysql/columns/route-f2ae9d2d29d5fe08.js +1 -0
  809. package/.next-prod/static/chunks/app/api/mysql/connect/route-f2ae9d2d29d5fe08.js +1 -0
  810. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-f2ae9d2d29d5fe08.js +1 -0
  811. package/.next-prod/static/chunks/app/api/mysql/export/route-f2ae9d2d29d5fe08.js +1 -0
  812. package/.next-prod/static/chunks/app/api/mysql/query/route-f2ae9d2d29d5fe08.js +1 -0
  813. package/.next-prod/static/chunks/app/api/mysql/schemas/route-f2ae9d2d29d5fe08.js +1 -0
  814. package/.next-prod/static/chunks/app/api/note/route-f2ae9d2d29d5fe08.js +1 -0
  815. package/.next-prod/static/chunks/app/api/open-cursor/route-f2ae9d2d29d5fe08.js +1 -0
  816. package/.next-prod/static/chunks/app/api/open-vscode/route-f2ae9d2d29d5fe08.js +1 -0
  817. package/.next-prod/static/chunks/app/api/pick-folder/route-f2ae9d2d29d5fe08.js +1 -0
  818. package/.next-prod/static/chunks/app/api/pinned-sessions/route-f2ae9d2d29d5fe08.js +1 -0
  819. package/.next-prod/static/chunks/app/api/project-settings/route-f2ae9d2d29d5fe08.js +1 -0
  820. package/.next-prod/static/chunks/app/api/project-state/route-f2ae9d2d29d5fe08.js +1 -0
  821. package/.next-prod/static/chunks/app/api/projects/route-f2ae9d2d29d5fe08.js +1 -0
  822. package/.next-prod/static/chunks/app/api/redis/command/route-f2ae9d2d29d5fe08.js +1 -0
  823. package/.next-prod/static/chunks/app/api/redis/connect/route-f2ae9d2d29d5fe08.js +1 -0
  824. package/.next-prod/static/chunks/app/api/redis/delete/route-f2ae9d2d29d5fe08.js +1 -0
  825. package/.next-prod/static/chunks/app/api/redis/disconnect/route-f2ae9d2d29d5fe08.js +1 -0
  826. package/.next-prod/static/chunks/app/api/redis/get/route-f2ae9d2d29d5fe08.js +1 -0
  827. package/.next-prod/static/chunks/app/api/redis/keys/route-f2ae9d2d29d5fe08.js +1 -0
  828. package/.next-prod/static/chunks/app/api/redis/set/route-f2ae9d2d29d5fe08.js +1 -0
  829. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-f2ae9d2d29d5fe08.js +1 -0
  830. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-f2ae9d2d29d5fe08.js +1 -0
  831. package/.next-prod/static/chunks/app/api/review/[id]/route-f2ae9d2d29d5fe08.js +1 -0
  832. package/.next-prod/static/chunks/app/api/review/identify/route-f2ae9d2d29d5fe08.js +1 -0
  833. package/.next-prod/static/chunks/app/api/review/order/route-f2ae9d2d29d5fe08.js +1 -0
  834. package/.next-prod/static/chunks/app/api/review/route-f2ae9d2d29d5fe08.js +1 -0
  835. package/.next-prod/static/chunks/app/api/review/share-info/route-f2ae9d2d29d5fe08.js +1 -0
  836. package/.next-prod/static/chunks/app/api/review/users/route-f2ae9d2d29d5fe08.js +1 -0
  837. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-f2ae9d2d29d5fe08.js +1 -0
  838. package/.next-prod/static/chunks/app/api/services/config/route-f2ae9d2d29d5fe08.js +1 -0
  839. package/.next-prod/static/chunks/app/api/services/scripts/route-f2ae9d2d29d5fe08.js +1 -0
  840. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-f2ae9d2d29d5fe08.js +1 -0
  841. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-f2ae9d2d29d5fe08.js +1 -0
  842. package/.next-prod/static/chunks/app/api/session-by-path/route-f2ae9d2d29d5fe08.js +1 -0
  843. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-f2ae9d2d29d5fe08.js +1 -0
  844. package/.next-prod/static/chunks/app/api/sessions/projects/route-f2ae9d2d29d5fe08.js +1 -0
  845. package/.next-prod/static/chunks/app/api/sessions/route-f2ae9d2d29d5fe08.js +1 -0
  846. package/.next-prod/static/chunks/app/api/settings/route-f2ae9d2d29d5fe08.js +1 -0
  847. package/.next-prod/static/chunks/app/api/terminal/aliases/route-f2ae9d2d29d5fe08.js +1 -0
  848. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-f2ae9d2d29d5fe08.js +1 -0
  849. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-f2ae9d2d29d5fe08.js +1 -0
  850. package/.next-prod/static/chunks/app/api/terminal/env/route-f2ae9d2d29d5fe08.js +1 -0
  851. package/.next-prod/static/chunks/app/api/terminal/history/route-f2ae9d2d29d5fe08.js +1 -0
  852. package/.next-prod/static/chunks/app/api/version/route-f2ae9d2d29d5fe08.js +1 -0
  853. package/.next-prod/static/chunks/app/global-error-3c48d7d42c672863.js +1 -0
  854. package/.next-prod/static/chunks/app/layout-44210aade5d56585.js +1 -0
  855. package/.next-prod/static/chunks/app/manifest.webmanifest/route-f2ae9d2d29d5fe08.js +1 -0
  856. package/.next-prod/static/chunks/app/page-cc2bf3ca4c337090.js +1 -0
  857. package/.next-prod/static/chunks/app/project/page-fb1ff1d5d382977d.js +25 -0
  858. package/.next-prod/static/chunks/app/review/[id]/page-64f18d8d2476753c.js +1 -0
  859. package/.next-prod/static/chunks/ce16f5a9.5c7821b201f35593.js +1 -0
  860. package/.next-prod/static/chunks/cee15710.869cef5f741d40c2.js +1 -0
  861. package/.next-prod/static/chunks/cfdf2ac7.4506d3f72b310564.js +1 -0
  862. package/.next-prod/static/chunks/d1c28714.f52cffdd449a2d14.js +1 -0
  863. package/.next-prod/static/chunks/d3ac728e-d1ae8819b8f0be6a.js +1 -0
  864. package/.next-prod/static/chunks/e868780c.a081703edc1bc551.js +18 -0
  865. package/.next-prod/static/chunks/framework-81b2e59ffe13bb24.js +1 -0
  866. package/.next-prod/static/chunks/main-ac50dc1e450895a2.js +5 -0
  867. package/.next-prod/static/chunks/main-app-b76c0df33a946918.js +1 -0
  868. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-f2ae9d2d29d5fe08.js +1 -0
  869. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-f2ae9d2d29d5fe08.js +1 -0
  870. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-f2ae9d2d29d5fe08.js +1 -0
  871. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-f2ae9d2d29d5fe08.js +1 -0
  872. package/.next-prod/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  873. package/.next-prod/static/chunks/webpack-67d02a2a41508d41.js +1 -0
  874. package/.next-prod/static/css/2163ab5e45fedc6a.css +1 -0
  875. package/.next-prod/static/css/dd86f60184ab34a9.css +3 -0
  876. package/.next-prod/static/media/0086f8992871c45b-s.woff2 +0 -0
  877. package/.next-prod/static/media/03b436aa846269de-s.woff2 +0 -0
  878. package/.next-prod/static/media/08aedeceaf1dcd57-s.woff2 +0 -0
  879. package/.next-prod/static/media/0aa834ed78bf6d07-s.woff2 +0 -0
  880. package/.next-prod/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
  881. package/.next-prod/static/media/21350d82a1f187e9-s.woff2 +0 -0
  882. package/.next-prod/static/media/36008747766f78c6-s.woff2 +0 -0
  883. package/.next-prod/static/media/5c0c2bcbaa4149ca-s.p.woff2 +0 -0
  884. package/.next-prod/static/media/67957d42bae0796d-s.woff2 +0 -0
  885. package/.next-prod/static/media/6d38f9d4e0f4772b-s.woff2 +0 -0
  886. package/.next-prod/static/media/886030b0b59bc5a7-s.woff2 +0 -0
  887. package/.next-prod/static/media/8e9860b6e62d6359-s.woff2 +0 -0
  888. package/.next-prod/static/media/939c4f875ee75fbb-s.woff2 +0 -0
  889. package/.next-prod/static/media/KaTeX_AMS-Regular.1608a09b.woff +0 -0
  890. package/.next-prod/static/media/KaTeX_AMS-Regular.4aafdb68.ttf +0 -0
  891. package/.next-prod/static/media/KaTeX_AMS-Regular.a79f1c31.woff2 +0 -0
  892. package/.next-prod/static/media/KaTeX_Caligraphic-Bold.b6770918.woff +0 -0
  893. package/.next-prod/static/media/KaTeX_Caligraphic-Bold.cce5b8ec.ttf +0 -0
  894. package/.next-prod/static/media/KaTeX_Caligraphic-Bold.ec17d132.woff2 +0 -0
  895. package/.next-prod/static/media/KaTeX_Caligraphic-Regular.07ef19e7.ttf +0 -0
  896. package/.next-prod/static/media/KaTeX_Caligraphic-Regular.55fac258.woff2 +0 -0
  897. package/.next-prod/static/media/KaTeX_Caligraphic-Regular.dad44a7f.woff +0 -0
  898. package/.next-prod/static/media/KaTeX_Fraktur-Bold.9f256b85.woff +0 -0
  899. package/.next-prod/static/media/KaTeX_Fraktur-Bold.b18f59e1.ttf +0 -0
  900. package/.next-prod/static/media/KaTeX_Fraktur-Bold.d42a5579.woff2 +0 -0
  901. package/.next-prod/static/media/KaTeX_Fraktur-Regular.7c187121.woff +0 -0
  902. package/.next-prod/static/media/KaTeX_Fraktur-Regular.d3c882a6.woff2 +0 -0
  903. package/.next-prod/static/media/KaTeX_Fraktur-Regular.ed38e79f.ttf +0 -0
  904. package/.next-prod/static/media/KaTeX_Main-Bold.b74a1a8b.ttf +0 -0
  905. package/.next-prod/static/media/KaTeX_Main-Bold.c3fb5ac2.woff2 +0 -0
  906. package/.next-prod/static/media/KaTeX_Main-Bold.d181c465.woff +0 -0
  907. package/.next-prod/static/media/KaTeX_Main-BoldItalic.6f2bb1df.woff2 +0 -0
  908. package/.next-prod/static/media/KaTeX_Main-BoldItalic.70d8b0a5.ttf +0 -0
  909. package/.next-prod/static/media/KaTeX_Main-BoldItalic.e3f82f9d.woff +0 -0
  910. package/.next-prod/static/media/KaTeX_Main-Italic.47373d1e.ttf +0 -0
  911. package/.next-prod/static/media/KaTeX_Main-Italic.8916142b.woff2 +0 -0
  912. package/.next-prod/static/media/KaTeX_Main-Italic.9024d815.woff +0 -0
  913. package/.next-prod/static/media/KaTeX_Main-Regular.0462f03b.woff2 +0 -0
  914. package/.next-prod/static/media/KaTeX_Main-Regular.7f51fe03.woff +0 -0
  915. package/.next-prod/static/media/KaTeX_Main-Regular.b7f8fe9b.ttf +0 -0
  916. package/.next-prod/static/media/KaTeX_Math-BoldItalic.572d331f.woff2 +0 -0
  917. package/.next-prod/static/media/KaTeX_Math-BoldItalic.a879cf83.ttf +0 -0
  918. package/.next-prod/static/media/KaTeX_Math-BoldItalic.f1035d8d.woff +0 -0
  919. package/.next-prod/static/media/KaTeX_Math-Italic.5295ba48.woff +0 -0
  920. package/.next-prod/static/media/KaTeX_Math-Italic.939bc644.ttf +0 -0
  921. package/.next-prod/static/media/KaTeX_Math-Italic.f28c23ac.woff2 +0 -0
  922. package/.next-prod/static/media/KaTeX_SansSerif-Bold.8c5b5494.woff2 +0 -0
  923. package/.next-prod/static/media/KaTeX_SansSerif-Bold.94e1e8dc.ttf +0 -0
  924. package/.next-prod/static/media/KaTeX_SansSerif-Bold.bf59d231.woff +0 -0
  925. package/.next-prod/static/media/KaTeX_SansSerif-Italic.3b1e59b3.woff2 +0 -0
  926. package/.next-prod/static/media/KaTeX_SansSerif-Italic.7c9bc82b.woff +0 -0
  927. package/.next-prod/static/media/KaTeX_SansSerif-Italic.b4c20c84.ttf +0 -0
  928. package/.next-prod/static/media/KaTeX_SansSerif-Regular.74048478.woff +0 -0
  929. package/.next-prod/static/media/KaTeX_SansSerif-Regular.ba21ed5f.woff2 +0 -0
  930. package/.next-prod/static/media/KaTeX_SansSerif-Regular.d4d7ba48.ttf +0 -0
  931. package/.next-prod/static/media/KaTeX_Script-Regular.03e9641d.woff2 +0 -0
  932. package/.next-prod/static/media/KaTeX_Script-Regular.07505710.woff +0 -0
  933. package/.next-prod/static/media/KaTeX_Script-Regular.fe9cbbe1.ttf +0 -0
  934. package/.next-prod/static/media/KaTeX_Size1-Regular.e1e279cb.woff +0 -0
  935. package/.next-prod/static/media/KaTeX_Size1-Regular.eae34984.woff2 +0 -0
  936. package/.next-prod/static/media/KaTeX_Size1-Regular.fabc004a.ttf +0 -0
  937. package/.next-prod/static/media/KaTeX_Size2-Regular.57727022.woff +0 -0
  938. package/.next-prod/static/media/KaTeX_Size2-Regular.5916a24f.woff2 +0 -0
  939. package/.next-prod/static/media/KaTeX_Size2-Regular.d6b476ec.ttf +0 -0
  940. package/.next-prod/static/media/KaTeX_Size3-Regular.9acaf01c.woff +0 -0
  941. package/.next-prod/static/media/KaTeX_Size3-Regular.a144ef58.ttf +0 -0
  942. package/.next-prod/static/media/KaTeX_Size3-Regular.b4230e7e.woff2 +0 -0
  943. package/.next-prod/static/media/KaTeX_Size4-Regular.10d95fd3.woff2 +0 -0
  944. package/.next-prod/static/media/KaTeX_Size4-Regular.7a996c9d.woff +0 -0
  945. package/.next-prod/static/media/KaTeX_Size4-Regular.fbccdabe.ttf +0 -0
  946. package/.next-prod/static/media/KaTeX_Typewriter-Regular.6258592b.woff +0 -0
  947. package/.next-prod/static/media/KaTeX_Typewriter-Regular.a8709e36.woff2 +0 -0
  948. package/.next-prod/static/media/KaTeX_Typewriter-Regular.d97aaf4a.ttf +0 -0
  949. package/.next-prod/static/media/ab00a911ac2adf48-s.woff2 +0 -0
  950. package/.next-prod/static/media/ba9851c3c22cd980-s.woff2 +0 -0
  951. package/.next-prod/static/media/bb3ef058b751a6ad-s.p.woff2 +0 -0
  952. package/.next-prod/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
  953. package/.next-prod/static/media/df0a9ae256c0569c-s.woff2 +0 -0
  954. package/.next-prod/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
  955. package/.next-prod/static/media/f911b923c6adde36-s.woff2 +0 -0
  956. package/.next-prod/trace +12 -0
  957. package/.next-prod/trace-build +1 -0
  958. package/.next-prod/types/app/api/bash/route.ts +350 -0
  959. package/.next-prod/types/app/api/chat/route.ts +350 -0
  960. package/.next-prod/types/app/api/claude-stats/route.ts +350 -0
  961. package/.next-prod/types/app/api/commands/route.ts +350 -0
  962. package/.next-prod/types/app/api/comments/route.ts +350 -0
  963. package/.next-prod/types/app/api/db/columns/route.ts +350 -0
  964. package/.next-prod/types/app/api/db/connect/route.ts +350 -0
  965. package/.next-prod/types/app/api/db/disconnect/route.ts +350 -0
  966. package/.next-prod/types/app/api/db/export/route.ts +350 -0
  967. package/.next-prod/types/app/api/db/query/route.ts +350 -0
  968. package/.next-prod/types/app/api/db/schemas/route.ts +350 -0
  969. package/.next-prod/types/app/api/extension/version/route.ts +350 -0
  970. package/.next-prod/types/app/api/file/route.ts +350 -0
  971. package/.next-prod/types/app/api/files/blame/route.ts +350 -0
  972. package/.next-prod/types/app/api/files/clipboard/route.ts +350 -0
  973. package/.next-prod/types/app/api/files/copy/route.ts +350 -0
  974. package/.next-prod/types/app/api/files/delete/route.ts +350 -0
  975. package/.next-prod/types/app/api/files/expanded/route.ts +350 -0
  976. package/.next-prod/types/app/api/files/index/route.ts +350 -0
  977. package/.next-prod/types/app/api/files/init/route.ts +350 -0
  978. package/.next-prod/types/app/api/files/paste/route.ts +350 -0
  979. package/.next-prod/types/app/api/files/read/route.ts +350 -0
  980. package/.next-prod/types/app/api/files/readdir/route.ts +350 -0
  981. package/.next-prod/types/app/api/files/recent/route.ts +350 -0
  982. package/.next-prod/types/app/api/files/save/route.ts +350 -0
  983. package/.next-prod/types/app/api/files/search/route.ts +350 -0
  984. package/.next-prod/types/app/api/git/branch-diff/route.ts +350 -0
  985. package/.next-prod/types/app/api/git/branches/route.ts +350 -0
  986. package/.next-prod/types/app/api/git/commit-diff/route.ts +350 -0
  987. package/.next-prod/types/app/api/git/commits/route.ts +350 -0
  988. package/.next-prod/types/app/api/git/diff/route.ts +350 -0
  989. package/.next-prod/types/app/api/git/discard/route.ts +350 -0
  990. package/.next-prod/types/app/api/git/stage/route.ts +350 -0
  991. package/.next-prod/types/app/api/git/status/route.ts +350 -0
  992. package/.next-prod/types/app/api/git/unstage/route.ts +350 -0
  993. package/.next-prod/types/app/api/git/worktree/route.ts +350 -0
  994. package/.next-prod/types/app/api/global-state/route.ts +350 -0
  995. package/.next-prod/types/app/api/jupyter/load/route.ts +350 -0
  996. package/.next-prod/types/app/api/jupyter/save/route.ts +350 -0
  997. package/.next-prod/types/app/api/jupyter/shutdown/route.ts +350 -0
  998. package/.next-prod/types/app/api/lsp/definition/route.ts +350 -0
  999. package/.next-prod/types/app/api/lsp/hover/route.ts +350 -0
  1000. package/.next-prod/types/app/api/lsp/references/route.ts +350 -0
  1001. package/.next-prod/types/app/api/lsp/status/route.ts +350 -0
  1002. package/.next-prod/types/app/api/lsp/warmup/route.ts +350 -0
  1003. package/.next-prod/types/app/api/mysql/columns/route.ts +350 -0
  1004. package/.next-prod/types/app/api/mysql/connect/route.ts +350 -0
  1005. package/.next-prod/types/app/api/mysql/disconnect/route.ts +350 -0
  1006. package/.next-prod/types/app/api/mysql/export/route.ts +350 -0
  1007. package/.next-prod/types/app/api/mysql/query/route.ts +350 -0
  1008. package/.next-prod/types/app/api/mysql/schemas/route.ts +350 -0
  1009. package/.next-prod/types/app/api/note/route.ts +350 -0
  1010. package/.next-prod/types/app/api/open-cursor/route.ts +350 -0
  1011. package/.next-prod/types/app/api/open-vscode/route.ts +350 -0
  1012. package/.next-prod/types/app/api/pick-folder/route.ts +350 -0
  1013. package/.next-prod/types/app/api/pinned-sessions/route.ts +350 -0
  1014. package/.next-prod/types/app/api/project-settings/route.ts +350 -0
  1015. package/.next-prod/types/app/api/project-state/route.ts +350 -0
  1016. package/.next-prod/types/app/api/projects/route.ts +350 -0
  1017. package/.next-prod/types/app/api/redis/command/route.ts +350 -0
  1018. package/.next-prod/types/app/api/redis/connect/route.ts +350 -0
  1019. package/.next-prod/types/app/api/redis/delete/route.ts +350 -0
  1020. package/.next-prod/types/app/api/redis/disconnect/route.ts +350 -0
  1021. package/.next-prod/types/app/api/redis/get/route.ts +350 -0
  1022. package/.next-prod/types/app/api/redis/keys/route.ts +350 -0
  1023. package/.next-prod/types/app/api/redis/set/route.ts +350 -0
  1024. package/.next-prod/types/app/api/review/[id]/comments/route.ts +350 -0
  1025. package/.next-prod/types/app/api/review/[id]/replies/route.ts +350 -0
  1026. package/.next-prod/types/app/api/review/[id]/route.ts +350 -0
  1027. package/.next-prod/types/app/api/review/identify/route.ts +350 -0
  1028. package/.next-prod/types/app/api/review/order/route.ts +350 -0
  1029. package/.next-prod/types/app/api/review/route.ts +350 -0
  1030. package/.next-prod/types/app/api/review/share-info/route.ts +350 -0
  1031. package/.next-prod/types/app/api/review/users/route.ts +350 -0
  1032. package/.next-prod/types/app/api/scheduled-tasks/route.ts +350 -0
  1033. package/.next-prod/types/app/api/services/config/route.ts +350 -0
  1034. package/.next-prod/types/app/api/services/scripts/route.ts +350 -0
  1035. package/.next-prod/types/app/api/session/[sessionId]/fork/route.ts +350 -0
  1036. package/.next-prod/types/app/api/session/[sessionId]/history/route.ts +350 -0
  1037. package/.next-prod/types/app/api/session-by-path/route.ts +350 -0
  1038. package/.next-prod/types/app/api/sessions/projects/[encodedPath]/route.ts +350 -0
  1039. package/.next-prod/types/app/api/sessions/projects/route.ts +350 -0
  1040. package/.next-prod/types/app/api/sessions/route.ts +350 -0
  1041. package/.next-prod/types/app/api/settings/route.ts +350 -0
  1042. package/.next-prod/types/app/api/terminal/aliases/route.ts +350 -0
  1043. package/.next-prod/types/app/api/terminal/autocomplete/route.ts +350 -0
  1044. package/.next-prod/types/app/api/terminal/bubble-order/route.ts +350 -0
  1045. package/.next-prod/types/app/api/terminal/env/route.ts +350 -0
  1046. package/.next-prod/types/app/api/terminal/history/route.ts +350 -0
  1047. package/.next-prod/types/app/api/version/route.ts +350 -0
  1048. package/.next-prod/types/app/page.ts +86 -0
  1049. package/.next-prod/types/app/project/page.ts +86 -0
  1050. package/.next-prod/types/app/review/[id]/page.ts +86 -0
  1051. package/.next-prod/types/package.json +1 -0
  1052. package/.next-prod/types/routes.d.ts +164 -0
  1053. package/.next-prod/types/validator.ts +898 -0
  1054. package/LICENSE +21 -0
  1055. package/README.md +94 -0
  1056. package/README.zh.md +100 -0
  1057. package/bin/cock-browser.mjs +435 -0
  1058. package/bin/cock-dev.mjs +6 -0
  1059. package/bin/cock-terminal.mjs +215 -0
  1060. package/bin/cock.mjs +99 -0
  1061. package/bin/postinstall.mjs +29 -0
  1062. package/chrome-extension/automation.js +684 -0
  1063. package/chrome-extension/background.js +364 -0
  1064. package/chrome-extension/content.js +224 -0
  1065. package/chrome-extension/disguise.js +14 -0
  1066. package/chrome-extension/icons/icon128.png +0 -0
  1067. package/chrome-extension/icons/icon16.png +0 -0
  1068. package/chrome-extension/icons/icon48.png +0 -0
  1069. package/chrome-extension/manifest.json +42 -0
  1070. package/chrome-extension/network-capture.js +197 -0
  1071. package/chrome-extension/rules.json +56 -0
  1072. package/dist/JupyterKernelManager-475VNVA5.mjs +248 -0
  1073. package/dist/chunk-OER3N6H7.mjs +250 -0
  1074. package/dist/scheduledTasks.mjs +418 -0
  1075. package/dist/wsServer.mjs +1441 -0
  1076. package/next.config.ts +18 -0
  1077. package/package.json +122 -0
  1078. package/public/favicon.ico +0 -0
  1079. package/public/icons/dev/icon-128x128.png +0 -0
  1080. package/public/icons/dev/icon-144x144.png +0 -0
  1081. package/public/icons/dev/icon-152x152.png +0 -0
  1082. package/public/icons/dev/icon-192x192.png +0 -0
  1083. package/public/icons/dev/icon-384x384.png +0 -0
  1084. package/public/icons/dev/icon-512x512.png +0 -0
  1085. package/public/icons/dev/icon-72x72.png +0 -0
  1086. package/public/icons/dev/icon-96x96.png +0 -0
  1087. package/public/icons/icon-128x128.png +0 -0
  1088. package/public/icons/icon-144x144.png +0 -0
  1089. package/public/icons/icon-152x152.png +0 -0
  1090. package/public/icons/icon-192x192.png +0 -0
  1091. package/public/icons/icon-384x384.png +0 -0
  1092. package/public/icons/icon-512x512.png +0 -0
  1093. package/public/icons/icon-72x72.png +0 -0
  1094. package/public/icons/icon-96x96.png +0 -0
  1095. package/server.mjs +135 -0
@@ -0,0 +1,36 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5199],{28904:function(t,e,i){var r;r=i(75142),t.exports=(()=>{"use strict";var t={658:t=>{t.exports=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];return i.forEach(function(e){Object.keys(e).forEach(function(i){return t[i]=e[i]})}),t}},548:(t,e,i)=>{var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],r=!0,n=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);r=!0);}catch(t){n=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(n)throw o}}return i}(t,e);throw TypeError("Invalid attempt to destructure non-iterable instance")},n=i(140).layoutBase.LinkedList,o={};o.getTopMostNodes=function(t){for(var e={},i=0;i<t.length;i++)e[t[i].id()]=!0;return t.filter(function(t,i){"number"==typeof t&&(t=i);for(var r=t.parent()[0];null!=r;){if(e[r.id()])return!1;r=r.parent()[0]}return!0})},o.connectComponents=function(t,e,i,r){var o=new n,a=new Set,s=[],h=void 0,l=void 0,d=void 0,g=!1,c=1,u=[],f=[];do!function(){var r=t.collection();f.push(r);var n=i[0],p=t.collection();for(p.merge(n).merge(n.descendants().intersection(e)),s.push(n),p.forEach(function(t){o.push(t),a.add(t),r.merge(t)});0!=o.length;)!function(){n=o.shift();var l=t.collection();n.neighborhood().nodes().forEach(function(t){e.intersection(n.edgesWith(t)).length>0&&l.merge(t)});for(var d=0;d<l.length;d++){var g=l[d];null==(h=i.intersection(g.union(g.ancestors())))||a.has(h[0])||h.union(h.descendants()).forEach(function(t){o.push(t),a.add(t),r.merge(t),i.has(t)&&s.push(t)})}}();if(r.forEach(function(t){e.intersection(t.connectedEdges()).forEach(function(t){r.has(t.source())&&r.has(t.target())&&r.merge(t)})}),s.length==i.length&&(g=!0),!g||g&&c>1){d=(l=s[0]).connectedEdges().length,s.forEach(function(t){t.connectedEdges().length<d&&(d=t.connectedEdges().length,l=t)}),u.push(l.id());var v=t.collection();v.merge(s[0]),s.forEach(function(t){v.merge(t)}),s=[],i=i.difference(v),c++}}();while(!g);return r&&u.length>0&&r.set("dummy"+(r.size+1),u),f},o.relocateComponent=function(t,e,i){if(!i.fixedNodeConstraint){var n=1/0,o=-1/0,a=1/0,s=-1/0;if("draft"==i.quality){var h=!0,l=!1,d=void 0;try{for(var g,c=e.nodeIndexes[Symbol.iterator]();!(h=(g=c.next()).done);h=!0){var u=g.value,f=r(u,2),p=f[0],v=f[1],y=i.cy.getElementById(p);if(y){var m=y.boundingBox(),E=e.xCoords[v]-m.w/2,T=e.xCoords[v]+m.w/2,N=e.yCoords[v]-m.h/2,A=e.yCoords[v]+m.h/2;E<n&&(n=E),T>o&&(o=T),N<a&&(a=N),A>s&&(s=A)}}}catch(t){l=!0,d=t}finally{try{!h&&c.return&&c.return()}finally{if(l)throw d}}var L=t.x-(o+n)/2,C=t.y-(s+a)/2;e.xCoords=e.xCoords.map(function(t){return t+L}),e.yCoords=e.yCoords.map(function(t){return t+C})}else{Object.keys(e).forEach(function(t){var i=e[t],r=i.getRect().x,h=i.getRect().x+i.getRect().width,l=i.getRect().y,d=i.getRect().y+i.getRect().height;r<n&&(n=r),h>o&&(o=h),l<a&&(a=l),d>s&&(s=d)});var w=t.x-(o+n)/2,_=t.y-(s+a)/2;Object.keys(e).forEach(function(t){var i=e[t];i.setCenter(i.getCenterX()+w,i.getCenterY()+_)})}}},o.calcBoundingBox=function(t,e,i,r){for(var n=Number.MAX_SAFE_INTEGER,o=Number.MIN_SAFE_INTEGER,a=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER,h=void 0,l=void 0,d=void 0,g=void 0,c=t.descendants().not(":parent"),u=c.length,f=0;f<u;f++){var p=c[f];h=e[r.get(p.id())]-p.width()/2,l=e[r.get(p.id())]+p.width()/2,d=i[r.get(p.id())]-p.height()/2,g=i[r.get(p.id())]+p.height()/2,n>h&&(n=h),o<l&&(o=l),a>d&&(a=d),s<g&&(s=g)}var v={};return v.topLeftX=n,v.topLeftY=a,v.width=o-n,v.height=s-a,v},o.calcParentsWithoutChildren=function(t,e){var i=t.collection();return e.nodes(":parent").forEach(function(t){var e=!1;t.children().forEach(function(t){"none"!=t.css("display")&&(e=!0)}),e||i.merge(t)}),i},t.exports=o},816:(t,e,i)=>{var r=i(548),n=i(140).CoSELayout,o=i(140).CoSENode,a=i(140).layoutBase.PointD,s=i(140).layoutBase.DimensionD,h=i(140).layoutBase.LayoutConstants,l=i(140).layoutBase.FDLayoutConstants,d=i(140).CoSEConstants;t.exports={coseLayout:function(t,e){var i=t.cy,g=t.eles,c=g.nodes(),u=g.edges(),f=void 0,p=void 0,v=void 0,y={};t.randomize&&(f=e.nodeIndexes,p=e.xCoords,v=e.yCoords);var m=function(t){return"function"==typeof t},E=function(t,e){return m(t)?t(e):t},T=r.calcParentsWithoutChildren(i,g);null!=t.nestingFactor&&(d.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(d.DEFAULT_GRAVITY_STRENGTH=l.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(d.MAX_ITERATIONS=l.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(d.DEFAULT_GRAVITY_RANGE_FACTOR=l.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(d.DEFAULT_COMPOUND_GRAVITY_STRENGTH=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(d.DEFAULT_COOLING_FACTOR_INCREMENTAL=l.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),null!=t.tilingCompareBy&&(d.TILING_COMPARE_BY=t.tilingCompareBy),"proof"==t.quality?h.QUALITY=2:h.QUALITY=0,d.NODE_DIMENSIONS_INCLUDE_LABELS=l.NODE_DIMENSIONS_INCLUDE_LABELS=h.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,d.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!t.randomize,d.ANIMATE=l.ANIMATE=h.ANIMATE=t.animate,d.TILE=t.tile,d.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,d.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal,d.DEFAULT_INCREMENTAL=l.DEFAULT_INCREMENTAL=h.DEFAULT_INCREMENTAL=!0,d.PURE_INCREMENTAL=!t.randomize,h.DEFAULT_UNIFORM_LEAF_NODE_SIZES=t.uniformNodeDimensions,"transformed"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,d.ENFORCE_CONSTRAINTS=!1,d.APPLY_LAYOUT=!1),"enforced"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!0,d.APPLY_LAYOUT=!1),"cose"==t.step&&(d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!1,d.APPLY_LAYOUT=!0),"all"==t.step&&(t.randomize?d.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:d.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,d.ENFORCE_CONSTRAINTS=!0,d.APPLY_LAYOUT=!0),t.fixedNodeConstraint||t.alignmentConstraint||t.relativePlacementConstraint?d.TREE_REDUCTION_ON_INCREMENTAL=!1:d.TREE_REDUCTION_ON_INCREMENTAL=!0;var N=new n,A=N.newGraphManager();return!function t(e,i,n,h){for(var l=i.length,d=0;d<l;d++){var g=i[d],c=null;0==g.intersection(T).length&&(c=g.children());var u=void 0,m=g.layoutDimensions({nodeDimensionsIncludeLabels:h.nodeDimensionsIncludeLabels});if(null!=g.outerWidth()&&null!=g.outerHeight())if(h.randomize)if(g.isParent()){var N=r.calcBoundingBox(g,p,v,f);u=0==g.intersection(T).length?e.add(new o(n.graphManager,new a(N.topLeftX,N.topLeftY),new s(N.width,N.height))):e.add(new o(n.graphManager,new a(N.topLeftX,N.topLeftY),new s(parseFloat(m.w),parseFloat(m.h))))}else u=e.add(new o(n.graphManager,new a(p[f.get(g.id())]-m.w/2,v[f.get(g.id())]-m.h/2),new s(parseFloat(m.w),parseFloat(m.h))));else u=e.add(new o(n.graphManager,new a(g.position("x")-m.w/2,g.position("y")-m.h/2),new s(parseFloat(m.w),parseFloat(m.h))));else u=e.add(new o(this.graphManager));(u.id=g.data("id"),u.nodeRepulsion=E(h.nodeRepulsion,g),u.paddingLeft=parseInt(g.css("padding")),u.paddingTop=parseInt(g.css("padding")),u.paddingRight=parseInt(g.css("padding")),u.paddingBottom=parseInt(g.css("padding")),h.nodeDimensionsIncludeLabels&&(u.labelWidth=g.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).w,u.labelHeight=g.boundingBox({includeLabels:!0,includeNodes:!1,includeOverlays:!1}).h,u.labelPosVertical=g.css("text-valign"),u.labelPosHorizontal=g.css("text-halign")),y[g.data("id")]=u,isNaN(u.rect.x)&&(u.rect.x=0),isNaN(u.rect.y)&&(u.rect.y=0),null!=c&&c.length>0)&&t(n.getGraphManager().add(n.newGraph(),u),c,n,h)}}(A.addRoot(),r.getTopMostNodes(c),N,t),!function(e,i,r){for(var n=0,o=0,a=0;a<r.length;a++){var s=r[a],h=y[s.data("source")],g=y[s.data("target")];if(h&&g&&h!==g&&0==h.getEdgesBetween(g).length){var c=i.add(e.newEdge(),h,g);c.id=s.id(),c.idealLength=E(t.idealEdgeLength,s),c.edgeElasticity=E(t.edgeElasticity,s),n+=c.idealLength,o++}}null!=t.idealEdgeLength&&(o>0?d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=n/o:m(t.idealEdgeLength)?d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=50:d.DEFAULT_EDGE_LENGTH=l.DEFAULT_EDGE_LENGTH=t.idealEdgeLength,d.MIN_REPULSION_DIST=l.MIN_REPULSION_DIST=l.DEFAULT_EDGE_LENGTH/10,d.DEFAULT_RADIAL_SEPARATION=l.DEFAULT_EDGE_LENGTH)}(N,A,u),t.fixedNodeConstraint&&(N.constraints.fixedNodeConstraint=t.fixedNodeConstraint),t.alignmentConstraint&&(N.constraints.alignmentConstraint=t.alignmentConstraint),t.relativePlacementConstraint&&(N.constraints.relativePlacementConstraint=t.relativePlacementConstraint),N.runLayout(),y}}},212:(t,e,i)=>{var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=i(658),o=i(548),a=i(657).spectralLayout,s=i(816).coseLayout,h=Object.freeze({quality:"default",randomize:!0,animate:!0,animationDuration:1e3,animationEasing:void 0,fit:!0,padding:30,nodeDimensionsIncludeLabels:!1,uniformNodeDimensions:!1,packComponents:!0,step:"all",samplingType:!0,sampleSize:25,nodeSeparation:75,piTol:1e-7,nodeRepulsion:function(t){return 4500},idealEdgeLength:function(t){return 50},edgeElasticity:function(t){return .45},nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,tilingCompareBy:void 0,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.3,fixedNodeConstraint:void 0,alignmentConstraint:void 0,relativePlacementConstraint:void 0,ready:function(){},stop:function(){}});t.exports=function(){function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.options=n({},h,e)}return r(t,[{key:"run",value:function(){var t=this.options,e=t.cy,i=t.eles,r=[],n=[],h=void 0,l=[];t.fixedNodeConstraint&&(!Array.isArray(t.fixedNodeConstraint)||0==t.fixedNodeConstraint.length)&&(t.fixedNodeConstraint=void 0),t.alignmentConstraint&&(t.alignmentConstraint.vertical&&(!Array.isArray(t.alignmentConstraint.vertical)||0==t.alignmentConstraint.vertical.length)&&(t.alignmentConstraint.vertical=void 0),t.alignmentConstraint.horizontal&&(!Array.isArray(t.alignmentConstraint.horizontal)||0==t.alignmentConstraint.horizontal.length)&&(t.alignmentConstraint.horizontal=void 0)),t.relativePlacementConstraint&&(!Array.isArray(t.relativePlacementConstraint)||0==t.relativePlacementConstraint.length)&&(t.relativePlacementConstraint=void 0),(t.fixedNodeConstraint||t.alignmentConstraint||t.relativePlacementConstraint)&&(t.tile=!1,t.packComponents=!1);var d=void 0,g=!1;if(e.layoutUtilities&&t.packComponents&&((d=e.layoutUtilities("get"))||(d=e.layoutUtilities()),g=!0),i.nodes().length>0)if(g){var c=o.getTopMostNodes(t.eles.nodes());if((h=o.connectComponents(e,t.eles,c)).forEach(function(t){var e=t.boundingBox();l.push({x:e.x1+e.w/2,y:e.y1+e.h/2})}),t.randomize&&h.forEach(function(e){t.eles=e,r.push(a(t))}),"default"==t.quality||"proof"==t.quality){var u=e.collection();if(t.tile){var f=new Map,p=0,v={nodeIndexes:f,xCoords:[],yCoords:[]},y=[];if(h.forEach(function(t,e){0==t.edges().length&&(t.nodes().forEach(function(e,i){u.merge(t.nodes()[i]),e.isParent()||(v.nodeIndexes.set(t.nodes()[i].id(),p++),v.xCoords.push(t.nodes()[0].position().x),v.yCoords.push(t.nodes()[0].position().y))}),y.push(e))}),u.length>1){var m=u.boundingBox();l.push({x:m.x1+m.w/2,y:m.y1+m.h/2}),h.push(u),r.push(v);for(var E=y.length-1;E>=0;E--)h.splice(y[E],1),r.splice(y[E],1),l.splice(y[E],1)}}h.forEach(function(e,i){t.eles=e,n.push(s(t,r[i])),o.relocateComponent(l[i],n[i],t)})}else h.forEach(function(e,i){o.relocateComponent(l[i],r[i],t)});var T=new Set;if(h.length>1){var N=[],A=i.filter(function(t){return"none"==t.css("display")});h.forEach(function(e,i){var a=void 0;if("draft"==t.quality&&(a=r[i].nodeIndexes),e.nodes().not(A).length>0){var s={};s.edges=[],s.nodes=[];var h=void 0;e.nodes().not(A).forEach(function(e){if("draft"==t.quality)if(e.isParent()){var l=o.calcBoundingBox(e,r[i].xCoords,r[i].yCoords,a);s.nodes.push({x:l.topLeftX,y:l.topLeftY,width:l.width,height:l.height})}else h=a.get(e.id()),s.nodes.push({x:r[i].xCoords[h]-e.boundingbox().w/2,y:r[i].yCoords[h]-e.boundingbox().h/2,width:e.boundingbox().w,height:e.boundingbox().h});else n[i][e.id()]&&s.nodes.push({x:n[i][e.id()].getLeft(),y:n[i][e.id()].getTop(),width:n[i][e.id()].getWidth(),height:n[i][e.id()].getHeight()})}),e.edges().forEach(function(e){var h=e.source(),l=e.target();if("none"!=h.css("display")&&"none"!=l.css("display"))if("draft"==t.quality){var d=a.get(h.id()),g=a.get(l.id()),c=[],u=[];if(h.isParent()){var f=o.calcBoundingBox(h,r[i].xCoords,r[i].yCoords,a);c.push(f.topLeftX+f.width/2),c.push(f.topLeftY+f.height/2)}else c.push(r[i].xCoords[d]),c.push(r[i].yCoords[d]);if(l.isParent()){var p=o.calcBoundingBox(l,r[i].xCoords,r[i].yCoords,a);u.push(p.topLeftX+p.width/2),u.push(p.topLeftY+p.height/2)}else u.push(r[i].xCoords[g]),u.push(r[i].yCoords[g]);s.edges.push({startX:c[0],startY:c[1],endX:u[0],endY:u[1]})}else n[i][h.id()]&&n[i][l.id()]&&s.edges.push({startX:n[i][h.id()].getCenterX(),startY:n[i][h.id()].getCenterY(),endX:n[i][l.id()].getCenterX(),endY:n[i][l.id()].getCenterY()})}),s.nodes.length>0&&(N.push(s),T.add(i))}});var L=d.packComponents(N,t.randomize).shifts;if("draft"==t.quality)r.forEach(function(t,e){var i=t.xCoords.map(function(t){return t+L[e].dx}),r=t.yCoords.map(function(t){return t+L[e].dy});t.xCoords=i,t.yCoords=r});else{var C=0;T.forEach(function(t){Object.keys(n[t]).forEach(function(e){var i=n[t][e];i.setCenter(i.getCenterX()+L[C].dx,i.getCenterY()+L[C].dy)}),C++})}}}else{var w=t.eles.boundingBox();if(l.push({x:w.x1+w.w/2,y:w.y1+w.h/2}),t.randomize){var _=a(t);r.push(_)}"default"==t.quality||"proof"==t.quality?(n.push(s(t,r[0])),o.relocateComponent(l[0],n[0],t)):o.relocateComponent(l[0],r[0],t)}var M=function(e,i){if("default"==t.quality||"proof"==t.quality){"number"==typeof e&&(e=i);var o=void 0,a=void 0,s=e.data("id");return n.forEach(function(t){s in t&&(o={x:t[s].getRect().getCenterX(),y:t[s].getRect().getCenterY()},a=t[s])}),t.nodeDimensionsIncludeLabels&&(a.labelWidth&&("left"==a.labelPosHorizontal?o.x+=a.labelWidth/2:"right"==a.labelPosHorizontal&&(o.x-=a.labelWidth/2)),a.labelHeight&&("top"==a.labelPosVertical?o.y+=a.labelHeight/2:"bottom"==a.labelPosVertical&&(o.y-=a.labelHeight/2))),void 0==o&&(o={x:e.position("x"),y:e.position("y")}),{x:o.x,y:o.y}}var h=void 0;return r.forEach(function(t){var i=t.nodeIndexes.get(e.id());void 0!=i&&(h={x:t.xCoords[i],y:t.yCoords[i]})}),void 0==h&&(h={x:e.position("x"),y:e.position("y")}),{x:h.x,y:h.y}};if("default"==t.quality||"proof"==t.quality||t.randomize){var x=o.calcParentsWithoutChildren(e,i),I=i.filter(function(t){return"none"==t.css("display")});t.eles=i.not(I),i.nodes().not(":parent").not(I).layoutPositions(this,t,M),x.length>0&&x.forEach(function(t){t.position(M(t))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),t}()},657:(t,e,i)=>{var r=i(548),n=i(140).layoutBase.Matrix,o=i(140).layoutBase.SVD;t.exports={spectralLayout:function(t){var e=t.cy,i=t.eles,a=i.nodes(),s=i.nodes(":parent"),h=new Map,l=new Map,d=new Map,g=[],c=[],u=[],f=[],p=[],v=[],y=[],m=[],E=void 0,T=t.piTol,N=t.samplingType,A=t.nodeSeparation,L=void 0,C=function(){for(var t=0,e=0,i=!1;e<L;){t=Math.floor(Math.random()*E),i=!1;for(var r=0;r<e;r++)if(f[r]==t){i=!0;break}!i&&(f[e]=t,e++)}},w=function(t,e,i){for(var r=[],n=0,o=0,a=0,s=void 0,h=[],d=0,c=1,u=0;u<E;u++)h[u]=1e8;for(r[o]=t,h[t]=0;o>=n;){for(var f=g[a=r[n++]],y=0;y<f.length;y++)1e8==h[s=l.get(f[y])]&&(h[s]=h[a]+1,r[++o]=s);v[a][e]=h[a]*A}if(i){for(var m=0;m<E;m++)v[m][e]<p[m]&&(p[m]=v[m][e]);for(var T=0;T<E;T++)p[T]>d&&(d=p[T],c=T)}return c};r.connectComponents(e,i,r.getTopMostNodes(a),h),s.forEach(function(t){r.connectComponents(e,i,r.getTopMostNodes(t.descendants().intersection(i)),h)});for(var _=0,M=0;M<a.length;M++)a[M].isParent()||l.set(a[M].id(),_++);var x=!0,I=!1,O=void 0;try{for(var D,R=h.keys()[Symbol.iterator]();!(x=(D=R.next()).done);x=!0){var b=D.value;l.set(b,_++)}}catch(t){I=!0,O=t}finally{try{!x&&R.return&&R.return()}finally{if(I)throw O}}for(var F=0;F<l.size;F++)g[F]=[];s.forEach(function(t){for(var e=t.children().intersection(i);0==e.nodes(":childless").length;)e=e.nodes()[0].children().intersection(i);var r=0,n=e.nodes(":childless")[0].connectedEdges().length;e.nodes(":childless").forEach(function(t,e){t.connectedEdges().length<n&&(n=t.connectedEdges().length,r=e)}),d.set(t.id(),e.nodes(":childless")[r].id())}),a.forEach(function(t){var e=void 0;e=t.isParent()?l.get(d.get(t.id())):l.get(t.id()),t.neighborhood().nodes().forEach(function(r){i.intersection(t.edgesWith(r)).length>0&&(r.isParent()?g[e].push(d.get(r.id())):g[e].push(r.id()))})});var G=function(t){var i=l.get(t),r=void 0;h.get(t).forEach(function(n){r=e.getElementById(n).isParent()?d.get(n):n,g[i].push(r),g[l.get(r)].push(t)})},S=!0,P=!1,U=void 0;try{for(var k,Y=h.keys()[Symbol.iterator]();!(S=(k=Y.next()).done);S=!0){var H=k.value;G(H)}}catch(t){P=!0,U=t}finally{try{!S&&Y.return&&Y.return()}finally{if(P)throw U}}E=l.size;if(E>2){L=E<t.sampleSize?E:t.sampleSize;for(var X=0;X<E;X++)v[X]=[];for(var z=0;z<L;z++)m[z]=[];return"draft"==t.quality||"all"==t.step?(!function(t){var e=void 0;if(t){e=Math.floor(Math.random()*E);for(var i=0;i<E;i++)p[i]=1e8;for(var r=0;r<L;r++)f[r]=e,e=w(e,r,t)}else{C();for(var n=0;n<L;n++)w(f[n],n,t,!1)}for(var o=0;o<E;o++)for(var a=0;a<L;a++)v[o][a]*=v[o][a];for(var s=0;s<L;s++)y[s]=[];for(var h=0;h<L;h++)for(var l=0;l<L;l++)y[h][l]=v[f[l]][h]}(N),!function(){for(var t=o.svd(y),e=t.S,i=t.U,r=t.V,a=e[0]*e[0]*e[0],s=[],h=0;h<L;h++){s[h]=[];for(var l=0;l<L;l++)s[h][l]=0,h==l&&(s[h][l]=e[h]/(e[h]*e[h]+a/(e[h]*e[h])))}m=n.multMat(n.multMat(r,s),n.transpose(i))}(),!function(){for(var t=void 0,e=void 0,i=[],r=[],o=[],a=[],s=0;s<E;s++)i[s]=Math.random(),r[s]=Math.random();i=n.normalize(i),r=n.normalize(r);for(var h=0,l=1e-9,d=1e-9,g=void 0;;){h++;for(var f=0;f<E;f++)o[f]=i[f];if(i=n.multGamma(n.multL(n.multGamma(o),v,m)),t=n.dotProduct(o,i),i=n.normalize(i),(g=Math.abs((l=n.dotProduct(o,i))/d))<=1+T&&g>=1)break;d=l}for(var p=0;p<E;p++)o[p]=i[p];for(h=0,d=1e-9;;){h++;for(var y=0;y<E;y++)a[y]=r[y];if(a=n.minusOp(a,n.multCons(o,n.dotProduct(o,a))),r=n.multGamma(n.multL(n.multGamma(a),v,m)),e=n.dotProduct(a,r),r=n.normalize(r),(g=Math.abs((l=n.dotProduct(a,r))/d))<=1+T&&g>=1)break;d=l}for(var N=0;N<E;N++)a[N]=r[N];c=n.multCons(o,Math.sqrt(Math.abs(t))),u=n.multCons(a,Math.sqrt(Math.abs(e)))}()):l.forEach(function(t,i){c.push(e.getElementById(i).position("x")),u.push(e.getElementById(i).position("y"))}),{nodeIndexes:l,xCoords:c,yCoords:u}}var B=l.keys(),V=e.getElementById(B.next().value),W=V.position(),j=V.outerWidth();if(c.push(W.x),u.push(W.y),2==E){var $=e.getElementById(B.next().value).outerWidth();c.push(W.x+j/2+$/2+t.idealEdgeLength),u.push(W.y)}return{nodeIndexes:l,xCoords:c,yCoords:u}}}},579:(t,e,i)=>{var r=i(212),n=function(t){t&&t("layout","fcose",r)};"u">typeof cytoscape&&n(cytoscape),t.exports=n},140:t=>{t.exports=r}},e={};return function i(r){var n=e[r];if(void 0!==n)return n.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,i),o.exports}(579)})()},36211:(t,e,i)=>{"use strict";function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}i.d(e,{S:()=>r}),(0,i(32165).K2)(r,"populateCommonDb")},42454:function(t){t.exports=function(){var t=[function(t,e,i){"use strict";function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(8),o=i(9);function a(t,e,i){r.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var s in a.prototype=Object.create(r.prototype),r)a[s]=r[s];a.prototype.getSource=function(){return this.source},a.prototype.getTarget=function(){return this.target},a.prototype.isInterGraph=function(){return this.isInterGraph},a.prototype.getLength=function(){return this.length},a.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},a.prototype.getBendpoints=function(){return this.bendpoints},a.prototype.getLca=function(){return this.lca},a.prototype.getSourceInLca=function(){return this.sourceInLca},a.prototype.getTargetInLca=function(){return this.targetInLca},a.prototype.getOtherEnd=function(t){if(this.source===t)return this.target;if(this.target===t)return this.source;throw"Node is not incident with this edge"},a.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),r=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==r)break;i=i.getOwner().getParent()}return null},a.prototype.updateLength=function(){var t=[,,,,];this.isOverlapingSourceAndTarget=n.getIntersection(this.target.getRect(),this.source.getRect(),t),this.isOverlapingSourceAndTarget||(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},a.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=a},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(13),a=i(0),s=i(16),h=i(5);function l(t,e,i,a){null==i&&null==a&&(a=e),r.call(this,a),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=n.MIN_VALUE,this.inclusionTreeDepth=n.MAX_VALUE,this.vGraphObject=a,this.edges=[],this.graphManager=t,null!=i&&null!=e?this.rect=new o(e.x,e.y,i.width,i.height):this.rect=new o}for(var d in l.prototype=Object.create(r.prototype),r)l[d]=r[d];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.prototype.setRect=function(t,e){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=e.width,this.rect.height=e.height},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(r.target==t){if(r.source!=i)throw"Incorrect edge source!";e.push(r)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(r){if(r.source!=i&&r.target!=i)throw"Incorrect edge source and/or target";(r.target==t||r.source==t)&&e.push(r)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),i=0;i<e.length;i++)e[i].withChildren().forEach(function(e){t.add(e)});return t},l.prototype.getNoOfChildren=function(){var t=0;if(null==this.child)t=1;else for(var e=this.child.getNodes(),i=0;i<e.length;i++)t+=e[i].getNoOfChildren();return 0==t&&(t=1),t},l.prototype.getEstimatedSize=function(){if(this.estimatedSize==n.MIN_VALUE)throw"assert failed";return this.estimatedSize},l.prototype.calcEstimatedSize=function(){return null==this.child?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)},l.prototype.scatter=function(){var t,e,i=-a.INITIAL_WORLD_BOUNDARY,r=a.INITIAL_WORLD_BOUNDARY;t=a.WORLD_CENTER_X+s.nextDouble()*(r-i)+i;var n=-a.INITIAL_WORLD_BOUNDARY,o=a.INITIAL_WORLD_BOUNDARY;e=a.WORLD_CENTER_Y+s.nextDouble()*(o-n)+n,this.rect.x=t,this.rect.y=e},l.prototype.updateBounds=function(){if(null==this.getChild())throw"assert failed";if(0!=this.getChild().getNodes().length){var t=this.getChild();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()),a.NODE_DIMENSIONS_INCLUDE_LABELS){var e=t.getRight()-t.getLeft(),i=t.getBottom()-t.getTop();this.labelWidth&&("left"==this.labelPosHorizontal?(this.rect.x-=this.labelWidth,this.setWidth(e+this.labelWidth)):"center"==this.labelPosHorizontal&&this.labelWidth>e?(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)):"right"==this.labelPosHorizontal&&this.setWidth(e+this.labelWidth)),this.labelHeight&&("top"==this.labelPosVertical?(this.rect.y-=this.labelHeight,this.setHeight(i+this.labelHeight)):"center"==this.labelPosVertical&&this.labelHeight>i?(this.rect.y-=(this.labelHeight-i)/2,this.setHeight(this.labelHeight)):"bottom"==this.labelPosVertical&&this.setHeight(i+this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==n.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>a.WORLD_BOUNDARY?e=a.WORLD_BOUNDARY:e<-a.WORLD_BOUNDARY&&(e=-a.WORLD_BOUNDARY);var i=this.rect.y;i>a.WORLD_BOUNDARY?i=a.WORLD_BOUNDARY:i<-a.WORLD_BOUNDARY&&(i=-a.WORLD_BOUNDARY);var r=new h(e,i),n=t.inverseTransformPoint(r);this.setLocation(n.x,n.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";var r=i(0);function n(){}for(var o in r)n[o]=r[o];n.MAX_ITERATIONS=2500,n.DEFAULT_EDGE_LENGTH=50,n.DEFAULT_SPRING_STRENGTH=.45,n.DEFAULT_REPULSION_STRENGTH=4500,n.DEFAULT_GRAVITY_STRENGTH=.4,n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,n.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,n.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,n.COOLING_ADAPTATION_FACTOR=.33,n.ADAPTATION_LOWER_NODE_LIMIT=1e3,n.ADAPTATION_UPPER_NODE_LIMIT=5e3,n.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,n.MAX_NODE_DISPLACEMENT=3*n.MAX_NODE_DISPLACEMENT_INCREMENTAL,n.MIN_REPULSION_DIST=n.DEFAULT_EDGE_LENGTH/10,n.CONVERGENCE_CHECK_PERIOD=100,n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,n.MIN_EDGE_LENGTH=1,n.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=n},function(t,e,i){"use strict";function r(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=r},function(t,e,i){"use strict";var r=i(2),n=i(10),o=i(0),a=i(7),s=i(3),h=i(1),l=i(13),d=i(12),g=i(11);function c(t,e,i){r.call(this,i),this.estimatedSize=n.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof a?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var u in c.prototype=Object.create(r.prototype),r)c[u]=r[u];c.prototype.getNodes=function(){return this.nodes},c.prototype.getEdges=function(){return this.edges},c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getParent=function(){return this.parent},c.prototype.getLeft=function(){return this.left},c.prototype.getRight=function(){return this.right},c.prototype.getTop=function(){return this.top},c.prototype.getBottom=function(){return this.bottom},c.prototype.isConnected=function(){return this.isConnected},c.prototype.add=function(t,e,i){if(null==e&&null==i){if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(t)>-1)throw"Node already in graph!";return t.owner=this,this.getNodes().push(t),t}if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(e.owner!=i.owner||e.owner!=this)throw"Both owners must be this graph!";return e.owner!=i.owner?null:(t.source=e,t.target=i,t.isInterGraph=!1,this.getEdges().push(t),e.edges.push(t),i!=e&&i.edges.push(t),t)},c.prototype.remove=function(t){if(t instanceof s){if(null==t)throw"Node is null!";if(null==t.owner||t.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var e,i=t.edges.slice(),r=i.length,n=0;n<r;n++)(e=i[n]).isInterGraph?this.graphManager.remove(e):e.source.owner.remove(e);var o=this.nodes.indexOf(t);if(-1==o)throw"Node not in owner node list!";this.nodes.splice(o,1)}else if(t instanceof h){var e=t;if(null==e)throw"Edge is null!";if(null==e.source||null==e.target)throw"Source and/or target is null!";if(null==e.source.owner||null==e.target.owner||e.source.owner!=this||e.target.owner!=this)throw"Source and/or target owner is invalid!";var a=e.source.edges.indexOf(e),l=e.target.edges.indexOf(e);if(!(a>-1&&l>-1))throw"Source and/or target doesn't know this edge!";e.source.edges.splice(a,1),e.target!=e.source&&e.target.edges.splice(l,1);var o=e.source.owner.getEdges().indexOf(e);if(-1==o)throw"Not in owner's edge list!";e.source.owner.getEdges().splice(o,1)}},c.prototype.updateLeftTop=function(){for(var t,e,i,r=n.MAX_VALUE,o=n.MAX_VALUE,a=this.getNodes(),s=a.length,h=0;h<s;h++){var l=a[h];t=l.getTop(),e=l.getLeft(),r>t&&(r=t),o>e&&(o=e)}return r==n.MAX_VALUE?null:(i=void 0!=a[0].getParent().paddingLeft?a[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=r-i,new d(this.left,this.top))},c.prototype.updateBounds=function(t){for(var e,i,r,o,a,s=n.MAX_VALUE,h=-n.MAX_VALUE,d=n.MAX_VALUE,g=-n.MAX_VALUE,c=this.nodes,u=c.length,f=0;f<u;f++){var p=c[f];t&&null!=p.child&&p.updateBounds(),e=p.getLeft(),i=p.getRight(),r=p.getTop(),o=p.getBottom(),s>e&&(s=e),h<i&&(h=i),d>r&&(d=r),g<o&&(g=o)}var v=new l(s,d,h-s,g-d);s==n.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),a=void 0!=c[0].getParent().paddingLeft?c[0].getParent().paddingLeft:this.margin,this.left=v.x-a,this.right=v.x+v.width+a,this.top=v.y-a,this.bottom=v.y+v.height+a},c.calculateBounds=function(t){for(var e,i,r,o,a=n.MAX_VALUE,s=-n.MAX_VALUE,h=n.MAX_VALUE,d=-n.MAX_VALUE,g=t.length,c=0;c<g;c++){var u=t[c];e=u.getLeft(),i=u.getRight(),r=u.getTop(),o=u.getBottom(),a>e&&(a=e),s<i&&(s=i),h>r&&(h=r),d<o&&(d=o)}return new l(a,h,s-a,d-h)},c.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},c.prototype.getEstimatedSize=function(){if(this.estimatedSize==n.MIN_VALUE)throw"assert failed";return this.estimatedSize},c.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,i=e.length,r=0;r<i;r++)t+=e[r].calcEstimatedSize();return 0==t?this.estimatedSize=o.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=t/Math.sqrt(this.nodes.length),this.estimatedSize},c.prototype.updateConnected=function(){var t,e,i=this;if(0==this.nodes.length){this.isConnected=!0;return}var r=new g,n=new Set,o=this.nodes[0];for(o.withChildren().forEach(function(t){r.push(t),n.add(t)});0!==r.length;)for(var a=(t=(o=r.shift()).getEdges()).length,s=0;s<a;s++)null==(e=t[s].getOtherEndInGraph(o,this))||n.has(e)||e.withChildren().forEach(function(t){r.push(t),n.add(t)});if(this.isConnected=!1,n.size>=this.nodes.length){var h=0;n.forEach(function(t){t.owner==i&&h++}),h==this.nodes.length&&(this.isConnected=!0)}},t.exports=c},function(t,e,i){"use strict";var r,n=i(1);function o(t){r=i(6),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,r,n){if(null==i&&null==r&&null==n){if(null==t)throw"Graph is null!";if(null==e)throw"Parent node is null!";if(this.graphs.indexOf(t)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(t),null!=t.parent)throw"Already has a parent!";if(null!=e.child)throw"Already has a child!";return t.parent=e,e.child=t,t}n=i,r=e,i=t;var o=r.getOwner(),a=n.getOwner();if(null==o||o.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==a||a.getGraphManager()!=this)throw"Target not in this graph mgr!";if(o==a)return i.isInterGraph=!1,o.add(i,r,n);if(i.isInterGraph=!0,i.source=r,i.target=n,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),null==i.source||null==i.target)throw"Edge source and/or target is null!";if(-1!=i.source.edges.indexOf(i)||-1!=i.target.edges.indexOf(i))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof r){if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(t!=this.rootGraph&&(null==t.parent||t.parent.graphManager!=this))throw"Invalid parent node!";for(var e,i,o=[],a=(o=o.concat(t.getEdges())).length,s=0;s<a;s++)e=o[s],t.remove(e);var h=[];a=(h=h.concat(t.getNodes())).length;for(var s=0;s<a;s++)i=h[s],t.remove(i);t==this.rootGraph&&this.setRootGraph(null);var l=this.graphs.indexOf(t);this.graphs.splice(l,1),t.parent=null}else if(t instanceof n){if(null==(e=t))throw"Edge is null!";if(!e.isInterGraph)throw"Not an inter-graph edge!";if(null==e.source||null==e.target)throw"Source and/or target is null!";if(-1==e.source.edges.indexOf(e)||-1==e.target.edges.indexOf(e))throw"Source and/or target doesn't know this edge!";var l=e.source.edges.indexOf(e);if(e.source.edges.splice(l,1),l=e.target.edges.indexOf(e),e.target.edges.splice(l,1),null==e.source.owner||null==e.source.owner.getGraphManager())throw"Edge owner graph or owner graph manager is null!";if(-1==e.source.owner.getGraphManager().edges.indexOf(e))throw"Not in owner graph manager's edge list!";var l=e.source.owner.getGraphManager().edges.indexOf(e);e.source.owner.getGraphManager().edges.splice(l,1)}},o.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},o.prototype.getGraphs=function(){return this.graphs},o.prototype.getAllNodes=function(){if(null==this.allNodes){for(var t=[],e=this.getGraphs(),i=e.length,r=0;r<i;r++)t=t.concat(e[r].getNodes());this.allNodes=t}return this.allNodes},o.prototype.resetAllNodes=function(){this.allNodes=null},o.prototype.resetAllEdges=function(){this.allEdges=null},o.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},o.prototype.getAllEdges=function(){if(null==this.allEdges){var t=[],e=this.getGraphs();e.length;for(var i=0;i<e.length;i++)t=t.concat(e[i].getEdges());t=t.concat(this.edges),this.allEdges=t}return this.allEdges},o.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},o.prototype.setAllNodesToApplyGravitation=function(t){if(null!=this.allNodesToApplyGravitation)throw"assert failed";this.allNodesToApplyGravitation=t},o.prototype.getRoot=function(){return this.rootGraph},o.prototype.setRootGraph=function(t){if(t.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=t,null==t.parent&&(t.parent=this.layout.newNode("Root node"))},o.prototype.getLayout=function(){return this.layout},o.prototype.isOneAncestorOfOther=function(t,e){if(null==t||null==e)throw"assert failed";if(t==e)return!0;for(var i,r=t.getOwner();null!=(i=r.getParent());){if(i==e)return!0;if(null==(r=i.getOwner()))break}for(r=e.getOwner();null!=(i=r.getParent());){if(i==t)return!0;if(null==(r=i.getOwner()))break}return!1},o.prototype.calcLowestCommonAncestors=function(){for(var t,e,i,r,n,o=this.getAllEdges(),a=o.length,s=0;s<a;s++){if(e=(t=o[s]).source,i=t.target,t.lca=null,t.sourceInLca=e,t.targetInLca=i,e==i){t.lca=e.getOwner();continue}for(r=e.getOwner();null==t.lca;){for(t.targetInLca=i,n=i.getOwner();null==t.lca;){if(n==r){t.lca=n;break}if(n==this.rootGraph)break;if(null!=t.lca)throw"assert failed";t.targetInLca=n.getParent(),n=t.targetInLca.getOwner()}if(r==this.rootGraph)break;null==t.lca&&(t.sourceInLca=r.getParent(),r=t.sourceInLca.getOwner())}if(null==t.lca)throw"assert failed"}},o.prototype.calcLowestCommonAncestor=function(t,e){if(t==e)return t.getOwner();for(var i=t.getOwner();null!=i;){for(var r=e.getOwner();null!=r;){if(r==i)return r;r=r.getParent().getOwner()}i=i.getParent().getOwner()}return i},o.prototype.calcInclusionTreeDepths=function(t,e){null==t&&null==e&&(t=this.rootGraph,e=1);for(var i,r=t.getNodes(),n=r.length,o=0;o<n;o++)(i=r[o]).inclusionTreeDepth=e,null!=i.child&&this.calcInclusionTreeDepths(i.child,e+1)},o.prototype.includesInvalidEdge=function(){for(var t,e=[],i=this.edges.length,r=0;r<i;r++)t=this.edges[r],this.isOneAncestorOfOther(t.source,t.target)&&e.push(t);for(var r=0;r<e.length;r++)this.remove(e[r]);return!1},t.exports=o},function(t,e,i){"use strict";var r=i(12);function n(){}n.calcSeparationAmount=function(t,e,i,r){if(!t.intersects(e))throw"assert failed";var n=[,,];this.decideDirectionsForOverlappingNodes(t,e,n),i[0]=Math.min(t.getRight(),e.getRight())-Math.max(t.x,e.x),i[1]=Math.min(t.getBottom(),e.getBottom())-Math.max(t.y,e.y),t.getX()<=e.getX()&&t.getRight()>=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var a=o*i[0],s=i[1]/o;i[0]<s?s=i[0]:a=i[1],i[0]=-1*n[0]*(s/2+r),i[1]=-1*n[1]*(a/2+r)},n.decideDirectionsForOverlappingNodes=function(t,e,i){t.getCenterX()<e.getCenterX()?i[0]=-1:i[0]=1,t.getCenterY()<e.getCenterY()?i[1]=-1:i[1]=1},n.getIntersection2=function(t,e,i){var r=t.getCenterX(),n=t.getCenterY(),o=e.getCenterX(),a=e.getCenterY();if(t.intersects(e))return i[0]=r,i[1]=n,i[2]=o,i[3]=a,!0;var s=t.getX(),h=t.getY(),l=t.getRight(),d=t.getX(),g=t.getBottom(),c=t.getRight(),u=t.getWidthHalf(),f=t.getHeightHalf(),p=e.getX(),v=e.getY(),y=e.getRight(),m=e.getX(),E=e.getBottom(),T=e.getRight(),N=e.getWidthHalf(),A=e.getHeightHalf(),L=!1,C=!1;if(r===o)n>a?(i[0]=r,i[1]=h,i[2]=o,i[3]=E):n<a&&(i[0]=r,i[1]=g,i[2]=o,i[3]=v);else if(n===a)r>o?(i[0]=s,i[1]=n,i[2]=y,i[3]=a):r<o&&(i[0]=l,i[1]=n,i[2]=p,i[3]=a);else{var w=t.height/t.width,_=e.height/e.width,M=(a-n)/(o-r),x=void 0,I=void 0,O=void 0,D=void 0,R=void 0,b=void 0;if(-w===M?(r>o?(i[0]=d,i[1]=g):(i[0]=l,i[1]=h),L=!0):w===M&&(r>o?(i[0]=s,i[1]=h):(i[0]=c,i[1]=g),L=!0),-_===M?(o>r?(i[2]=m,i[3]=E):(i[2]=y,i[3]=v),C=!0):_===M&&(o>r?(i[2]=p,i[3]=v):(i[2]=T,i[3]=E),C=!0),L&&C)return!1;if(r>o?n>a?(x=this.getCardinalDirection(w,M,4),I=this.getCardinalDirection(_,M,2)):(x=this.getCardinalDirection(-w,M,3),I=this.getCardinalDirection(-_,M,1)):n>a?(x=this.getCardinalDirection(-w,M,1),I=this.getCardinalDirection(-_,M,3)):(x=this.getCardinalDirection(w,M,2),I=this.getCardinalDirection(_,M,4)),!L)switch(x){case 1:D=h,O=r+-f/M,i[0]=O,i[1]=D;break;case 2:O=c,D=n+u*M,i[0]=O,i[1]=D;break;case 3:D=g,O=r+f/M,i[0]=O,i[1]=D;break;case 4:O=d,D=n+-u*M,i[0]=O,i[1]=D}if(!C)switch(I){case 1:b=v,R=o+-A/M,i[2]=R,i[3]=b;break;case 2:R=T,b=a+N*M,i[2]=R,i[3]=b;break;case 3:b=E,R=o+A/M,i[2]=R,i[3]=b;break;case 4:R=m,b=a+-N*M,i[2]=R,i[3]=b}}return!1},n.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},n.getIntersection=function(t,e,i,n){if(null==n)return this.getIntersection2(t,e,i);var o=t.x,a=t.y,s=e.x,h=e.y,l=i.x,d=i.y,g=n.x,c=n.y,u=void 0,f=void 0,p=void 0,v=void 0,y=void 0,m=void 0,E=void 0;return(u=h-a,p=o-s,y=s*a-o*h,f=c-d,v=l-g,m=g*d-l*c,0==(E=u*v-f*p))?null:new r((p*m-v*y)/E,(f*y-u*m)/E)},n.angleOfVector=function(t,e,i,r){var n=void 0;return t!==i?(n=Math.atan((r-e)/(i-t)),i<t?n+=Math.PI:r<e&&(n+=this.TWO_PI)):n=r<e?this.ONE_AND_HALF_PI:this.HALF_PI,n},n.doIntersect=function(t,e,i,r){var n=t.x,o=t.y,a=e.x,s=e.y,h=i.x,l=i.y,d=r.x,g=r.y,c=(a-n)*(g-l)-(d-h)*(s-o);if(0===c)return!1;var u=((g-l)*(d-n)+(h-d)*(g-o))/c,f=((o-s)*(d-n)+(a-n)*(g-o))/c;return 0<u&&u<1&&0<f&&f<1},n.findCircleLineIntersections=function(t,e,i,r,n,o,a){var s=(i-t)*(i-t)+(r-e)*(r-e),h=2*((t-n)*(i-t)+(e-o)*(r-e)),l=(t-n)*(t-n)+(e-o)*(e-o)-a*a;if(!(h*h-4*s*l>=0))return null;var d=(-h+Math.sqrt(h*h-4*s*l))/(2*s),g=(-h-Math.sqrt(h*h-4*s*l))/(2*s);return d>=0&&d<=1?[d]:g>=0&&g<=1?[g]:null},n.HALF_PI=.5*Math.PI,n.ONE_AND_HALF_PI=1.5*Math.PI,n.TWO_PI=2*Math.PI,n.THREE_PI=3*Math.PI,t.exports=n},function(t,e,i){"use strict";function r(){}r.sign=function(t){return t>0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=r},function(t,e,i){"use strict";function r(){}r.MAX_VALUE=0x7fffffff,r.MIN_VALUE=-0x80000000,t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=function(t){return{value:t,next:null,prev:null}},o=function(t,e,i,r){return null!==t?t.next=e:r.head=e,null!==i?i.prev=e:r.tail=e,e.prev=t,e.next=i,r.length++,e},a=function(t,e){var i=t.prev,r=t.next;return null!==i?i.next=r:e.head=r,null!==r?r.prev=i:e.tail=i,t.prev=t.next=null,e.length--,t};t.exports=function(){function t(e){var i=this;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.length=0,this.head=null,this.tail=null,null!=e&&e.forEach(function(t){return i.push(t)})}return r(t,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,e){return o(e.prev,n(t),e,this)}},{key:"insertAfter",value:function(t,e){return o(e,n(t),e.next,this)}},{key:"insertNodeBefore",value:function(t,e){return o(e.prev,t,e,this)}},{key:"insertNodeAfter",value:function(t,e){return o(e,t,e.next,this)}},{key:"push",value:function(t){return o(this.tail,n(t),null,this)}},{key:"unshift",value:function(t){return o(null,n(t),this.head,this)}},{key:"remove",value:function(t){return a(t,this)}},{key:"pop",value:function(){return a(this.tail,this).value}},{key:"popNode",value:function(){return a(this.tail,this)}},{key:"shift",value:function(){return a(this.head,this).value}},{key:"shiftNode",value:function(){return a(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var e=1,i=this.head;e<t;)i=i.next,e++;return i.value}}},{key:"set_object_at",value:function(t,e){if(t<=this.length()){for(var i=1,r=this.head;i<t;)r=r.next,i++;r.value=e}}}]),t}()},function(t,e,i){"use strict";function r(t,e,i){this.x=null,this.y=null,null==t&&null==e&&null==i?(this.x=0,this.y=0):"number"==typeof t&&"number"==typeof e&&null==i?(this.x=t,this.y=e):"Point"==t.constructor.name&&null==e&&null==i&&(i=t,this.x=i.x,this.y=i.y)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.getLocation=function(){return new r(this.x,this.y)},r.prototype.setLocation=function(t,e,i){"Point"==t.constructor.name&&null==e&&null==i?(i=t,this.setLocation(i.x,i.y)):"number"==typeof t&&"number"==typeof e&&null==i&&(parseInt(t)==t&&parseInt(e)==e?this.move(t,e):(this.x=Math.floor(t+.5),this.y=Math.floor(e+.5)))},r.prototype.move=function(t,e){this.x=t,this.y=e},r.prototype.translate=function(t,e){this.x+=t,this.y+=e},r.prototype.equals=function(t){return"Point"==t.constructor.name?this.x==t.x&&this.y==t.y:this==t},r.prototype.toString=function(){return new r().constructor.name+"[x="+this.x+",y="+this.y+"]"},t.exports=r},function(t,e,i){"use strict";function r(t,e,i,r){this.x=0,this.y=0,this.width=0,this.height=0,null!=t&&null!=e&&null!=i&&null!=r&&(this.x=t,this.y=e,this.width=i,this.height=r)}r.prototype.getX=function(){return this.x},r.prototype.setX=function(t){this.x=t},r.prototype.getY=function(){return this.y},r.prototype.setY=function(t){this.y=t},r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},r.prototype.getRight=function(){return this.x+this.width},r.prototype.getBottom=function(){return this.y+this.height},r.prototype.intersects=function(t){return!(this.getRight()<t.x||this.getBottom()<t.y||t.getRight()<this.x||t.getBottom()<this.y)},r.prototype.getCenterX=function(){return this.x+this.width/2},r.prototype.getMinX=function(){return this.getX()},r.prototype.getMaxX=function(){return this.getX()+this.width},r.prototype.getCenterY=function(){return this.y+this.height/2},r.prototype.getMinY=function(){return this.getY()},r.prototype.getMaxY=function(){return this.getY()+this.height},r.prototype.getWidthHalf=function(){return this.width/2},r.prototype.getHeightHalf=function(){return this.height/2},t.exports=r},function(t,e,i){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function n(){}n.lastID=0,n.createID=function(t){return n.isPrimitive(t)?t:(null!=t.uniqueID||(t.uniqueID=n.getString(),n.lastID++),t.uniqueID)},n.getString=function(t){return null==t&&(t=n.lastID),"Object#"+t},n.isPrimitive=function(t){var e=void 0===t?"undefined":r(t);return null==t||"object"!=e&&"function"!=e},t.exports=n},function(t,e,i){"use strict";function r(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}var n=i(0),o=i(7),a=i(3),s=i(1),h=i(6),l=i(5),d=i(17),g=i(29);function c(t){g.call(this),this.layoutQuality=n.QUALITY,this.createBendsAsNeeded=n.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=n.DEFAULT_INCREMENTAL,this.animationOnLayout=n.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=n.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=n.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=n.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new o(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=t&&(this.isRemoteUse=t)}c.RANDOM_SEED=1,c.prototype=Object.create(g.prototype),c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},c.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},c.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},c.prototype.newGraphManager=function(){var t=new o(this);return this.graphManager=t,t},c.prototype.newGraph=function(t){return new h(null,this.graphManager,t)},c.prototype.newNode=function(t){return new a(this.graphManager,t)},c.prototype.newEdge=function(t){return new s(null,null,t)},c.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},c.prototype.runLayout=function(){var t;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),t=!this.checkLayoutSuccess()&&this.layout(),"during"!==n.ANIMATE&&(t&&!this.isSubLayout&&this.doPostLayout(),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,t)},c.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},c.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var t=this.graphManager.getAllEdges(),e=0;e<t.length;e++)t[e];for(var i=this.graphManager.getRoot().getNodes(),e=0;e<i.length;e++)i[e];this.update(this.graphManager.getRoot())}},c.prototype.update=function(t){if(null==t)this.update2();else if(t instanceof a){if(null!=t.getChild())for(var e=t.getChild().getNodes(),i=0;i<e.length;i++)update(e[i]);null!=t.vGraphObject&&t.vGraphObject.update(t)}else t instanceof s?null!=t.vGraphObject&&t.vGraphObject.update(t):t instanceof h&&null!=t.vGraphObject&&t.vGraphObject.update(t)},c.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=n.QUALITY,this.animationDuringLayout=n.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=n.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=n.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=n.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=n.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=n.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},c.prototype.transform=function(t){if(void 0==t)this.transform(new l(0,0));else{var e=new d,i=this.graphManager.getRoot().updateLeftTop();if(null!=i){e.setWorldOrgX(t.x),e.setWorldOrgY(t.y),e.setDeviceOrgX(i.x),e.setDeviceOrgY(i.y);for(var r=this.getAllNodes(),n=0;n<r.length;n++)r[n].transform(e)}}},c.prototype.positionNodesRandomly=function(t){if(void 0==t)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var e,i,r=t.getNodes(),n=0;n<r.length;n++)null==(i=(e=r[n]).getChild())||0==i.getNodes().length?e.scatter():(this.positionNodesRandomly(i),e.updateBounds())},c.prototype.getFlatForest=function(){for(var t=[],e=!0,i=this.graphManager.getRoot().getNodes(),n=!0,o=0;o<i.length;o++)null!=i[o].getChild()&&(n=!1);if(!n)return t;var a=new Set,s=[],h=new Map,l=[];for(l=l.concat(i);l.length>0&&e;){for(s.push(l[0]);s.length>0&&e;){var d=s[0];s.splice(0,1),a.add(d);for(var g=d.getEdges(),o=0;o<g.length;o++){var c=g[o].getOtherEnd(d);if(h.get(d)!=c)if(a.has(c)){e=!1;break}else s.push(c),h.set(c,d)}}if(e){var u=[].concat(r(a));t.push(u);for(var o=0;o<u.length;o++){var f=u[o],p=l.indexOf(f);p>-1&&l.splice(p,1)}a=new Set,h=new Map}else t=[]}return t},c.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,r=this.graphManager.calcLowestCommonAncestor(t.source,t.target),n=0;n<t.bendpoints.length;n++){var o=this.newNode(null);o.setRect(new Point(0,0),new Dimension(1,1)),r.add(o);var a=this.newEdge(null);this.graphManager.add(a,i,o),e.add(o),i=o}var a=this.newEdge(null);return this.graphManager.add(a,i,t.target),this.edgeToDummyNodes.set(t,e),t.isInterGraph()?this.graphManager.remove(t):r.remove(t),e},c.prototype.createBendpointsFromDummyNodes=function(){var t=[];t=t.concat(this.graphManager.getAllEdges()),t=[].concat(r(this.edgeToDummyNodes.keys())).concat(t);for(var e=0;e<t.length;e++){var i=t[e];if(i.bendpoints.length>0){for(var n=this.edgeToDummyNodes.get(i),o=0;o<n.length;o++){var a=n[o],s=new l(a.getCenterX(),a.getCenterY()),h=i.bendpoints.get(o);h.x=s.x,h.y=s.y,a.getOwner().remove(a)}this.graphManager.add(i,i.source,i.target)}}},c.transform=function(t,e,i,r){if(void 0==i||void 0==r)return t<=50?(n=9*e/500,o=e/10):(n=9*e/50,o=-8*e),n*t+o;var n,o,a=e;return t<=50?a-=(e-e/i)/50*(50-t):a+=(e*r-e)/50*(t-50),a},c.findCenterOfTree=function(t){var e=[];e=e.concat(t);var i=[],r=new Map,n=!1,o=null;(1==e.length||2==e.length)&&(n=!0,o=e[0]);for(var a=0;a<e.length;a++){var s=e[a],h=s.getNeighborsList().size;r.set(s,s.getNeighborsList().size),1==h&&i.push(s)}var l=[];for(l=l.concat(i);!n;){var d=[];d=d.concat(l),l=[];for(var a=0;a<e.length;a++){var s=e[a],g=e.indexOf(s);g>=0&&e.splice(g,1),s.getNeighborsList().forEach(function(t){if(0>i.indexOf(t)){var e=r.get(t)-1;1==e&&l.push(t),r.set(t,e)}})}i=i.concat(l),(1==e.length||2==e.length)&&(n=!0,o=e[0])}return o},c.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=c},function(t,e,i){"use strict";function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},t.exports=r},function(t,e,i){"use strict";var r=i(5);function n(t,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}n.prototype.getWorldOrgX=function(){return this.lworldOrgX},n.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},n.prototype.getWorldOrgY=function(){return this.lworldOrgY},n.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},n.prototype.getWorldExtX=function(){return this.lworldExtX},n.prototype.setWorldExtX=function(t){this.lworldExtX=t},n.prototype.getWorldExtY=function(){return this.lworldExtY},n.prototype.setWorldExtY=function(t){this.lworldExtY=t},n.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},n.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},n.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},n.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},n.prototype.getDeviceExtX=function(){return this.ldeviceExtX},n.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},n.prototype.getDeviceExtY=function(){return this.ldeviceExtY},n.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},n.prototype.transformX=function(t){var e=0,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},n.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},n.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},n.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},n.prototype.inverseTransformPoint=function(t){return new r(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=n},function(t,e,i){"use strict";var r=i(15),n=i(4),o=i(0),a=i(8),s=i(9);function h(){r.call(this),this.useSmartIdealEdgeLengthCalculation=n.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=n.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=n.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=n.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=n.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=n.MAX_ITERATIONS}for(var l in h.prototype=Object.create(r.prototype),r)h[l]=r[l];h.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=n.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,r,a,s,h,l=this.getGraphManager().getAllEdges(),d=0;d<l.length;d++)e=(t=l[d]).idealLength,t.isInterGraph&&(r=t.getSource(),a=t.getTarget(),s=t.getSourceInLca().getEstimatedSize(),h=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=s+h-2*o.SIMPLE_NODE_SIZE),i=t.getLca().getInclusionTreeDepth(),t.idealLength+=e*n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(r.getInclusionTreeDepth()+a.getInclusionTreeDepth()-2*i))},h.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>n.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*n.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-n.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>n.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(n.COOLING_ADAPTATION_FACTOR,1-(t-n.ADAPTATION_LOWER_NODE_LIMIT)/(n.ADAPTATION_UPPER_NODE_LIMIT-n.ADAPTATION_LOWER_NODE_LIMIT)*(1-n.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=n.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.displacementThresholdPerNode=3*n.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i<e.length;i++)t=e[i],this.calcSpringForce(t,t.idealLength)},h.prototype.calcRepulsionForces=function(){var t,e,i,r,o,a=!(arguments.length>0)||void 0===arguments[0]||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&a&&this.updateGrid(),o=new Set,t=0;t<h.length;t++)i=h[t],this.calculateRepulsionForceOfANode(i,o,a,s),o.add(i);else for(t=0;t<h.length;t++)for(i=h[t],e=t+1;e<h.length;e++)r=h[e],i.getOwner()==r.getOwner()&&this.calcRepulsionForce(i,r)},h.prototype.calcGravitationalForces=function(){for(var t,e=this.getAllNodesToApplyGravitation(),i=0;i<e.length;i++)t=e[i],this.calcGravitationalForce(t)},h.prototype.moveNodes=function(){for(var t=this.getAllNodes(),e=0;e<t.length;e++)t[e].move()},h.prototype.calcSpringForce=function(t,e){var i,r,n,o,a=t.getSource(),s=t.getTarget();if(this.uniformLeafNodeSizes&&null==a.getChild()&&null==s.getChild())t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;0!=(i=t.getLength())&&(n=(r=t.edgeElasticity*(i-e))*(t.lengthX/i),o=r*(t.lengthY/i),a.springForceX+=n,a.springForceY+=o,s.springForceX-=n,s.springForceY-=o)},h.prototype.calcRepulsionForce=function(t,e){var i,r,o,h,l,d,g,c=t.getRect(),u=e.getRect(),f=[,,],p=[,,,,];if(c.intersects(u)){a.calcSeparationAmount(c,u,f,n.DEFAULT_EDGE_LENGTH/2),d=2*f[0],g=2*f[1];var v=t.noOfChildren*e.noOfChildren/(t.noOfChildren+e.noOfChildren);t.repulsionForceX-=v*d,t.repulsionForceY-=v*g,e.repulsionForceX+=v*d,e.repulsionForceY+=v*g}else this.uniformLeafNodeSizes&&null==t.getChild()&&null==e.getChild()?(i=u.getCenterX()-c.getCenterX(),r=u.getCenterY()-c.getCenterY()):(a.getIntersection(c,u,p),i=p[2]-p[0],r=p[3]-p[1]),Math.abs(i)<n.MIN_REPULSION_DIST&&(i=s.sign(i)*n.MIN_REPULSION_DIST),Math.abs(r)<n.MIN_REPULSION_DIST&&(r=s.sign(r)*n.MIN_REPULSION_DIST),h=Math.sqrt(o=i*i+r*r),d=(l=(t.nodeRepulsion/2+e.nodeRepulsion/2)*t.noOfChildren*e.noOfChildren/o)*i/h,g=l*r/h,t.repulsionForceX-=d,t.repulsionForceY-=g,e.repulsionForceX+=d,e.repulsionForceY+=g},h.prototype.calcGravitationalForce=function(t){var e,i,r,n,o,a,s,h;i=((e=t.getOwner()).getRight()+e.getLeft())/2,r=(e.getTop()+e.getBottom())/2,n=t.getCenterX()-i,o=t.getCenterY()-r,a=Math.abs(n)+t.getWidth()/2,s=Math.abs(o)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(a>(h=e.getEstimatedSize()*this.gravityRangeFactor)||s>h)&&(t.gravitationForceX=-this.gravityConstant*n,t.gravitationForceY=-this.gravityConstant*o):(a>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||s>h)&&(t.gravitationForceX=-this.gravityConstant*n*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=2>Math.abs(this.totalDisplacement-this.oldTotalDisplacement)),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||e},h.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},h.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,e=this.graphManager.getAllNodes(),i=0;i<e.length;i++)(t=e[i]).noOfChildren=t.getNoOfChildren()},h.prototype.calcGrid=function(t){var e=0,i=0;e=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),i=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var r=Array(e),n=0;n<e;n++)r[n]=Array(i);for(var n=0;n<e;n++)for(var o=0;o<i;o++)r[n][o]=[];return r},h.prototype.addNodeToGrid=function(t,e,i){var r=0,n=0,o=0,a=0;r=parseInt(Math.floor((t.getRect().x-e)/this.repulsionRange)),n=parseInt(Math.floor((t.getRect().width+t.getRect().x-e)/this.repulsionRange)),o=parseInt(Math.floor((t.getRect().y-i)/this.repulsionRange)),a=parseInt(Math.floor((t.getRect().height+t.getRect().y-i)/this.repulsionRange));for(var s=r;s<=n;s++)for(var h=o;h<=a;h++)this.grid[s][h].push(t),t.setGridCoordinates(r,n,o,a)},h.prototype.updateGrid=function(){var t,e,i=this.getAllNodes();for(t=0,this.grid=this.calcGrid(this.graphManager.getRoot());t<i.length;t++)e=i[t],this.addNodeToGrid(e,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},h.prototype.calculateRepulsionForceOfANode=function(t,e,i,r){if(this.totalIterations%n.GRID_CALCULATION_CHECK_PERIOD==1&&i||r){var o,a=new Set;t.surrounding=[];for(var s=this.grid,h=t.startX-1;h<t.finishX+2;h++)for(var l=t.startY-1;l<t.finishY+2;l++)if(!(h<0||l<0||h>=s.length||l>=s[0].length)){for(var d=0;d<s[h][l].length;d++)if(o=s[h][l][d],t.getOwner()==o.getOwner()&&t!=o&&!e.has(o)&&!a.has(o)){var g=Math.abs(t.getCenterX()-o.getCenterX())-(t.getWidth()/2+o.getWidth()/2),c=Math.abs(t.getCenterY()-o.getCenterY())-(t.getHeight()/2+o.getHeight()/2);g<=this.repulsionRange&&c<=this.repulsionRange&&a.add(o)}}t.surrounding=[].concat(function(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}(a))}for(h=0;h<t.surrounding.length;h++)this.calcRepulsionForce(t,t.surrounding[h])},h.prototype.calcRepulsionRange=function(){return 0},t.exports=h},function(t,e,i){"use strict";var r=i(1),n=i(4);function o(t,e,i){r.call(this,t,e,i),this.idealLength=n.DEFAULT_EDGE_LENGTH,this.edgeElasticity=n.DEFAULT_SPRING_STRENGTH}for(var a in o.prototype=Object.create(r.prototype),r)o[a]=r[a];t.exports=o},function(t,e,i){"use strict";var r=i(3),n=i(4);function o(t,e,i,o){r.call(this,t,e,i,o),this.nodeRepulsion=n.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=[]}for(var a in o.prototype=Object.create(r.prototype),r)o[a]=r[a];o.prototype.setGridCoordinates=function(t,e,i,r){this.startX=t,this.finishX=e,this.startY=i,this.finishY=r},t.exports=o},function(t,e,i){"use strict";function r(t,e){this.width=0,this.height=0,null!==t&&null!==e&&(this.height=e,this.width=t)}r.prototype.getWidth=function(){return this.width},r.prototype.setWidth=function(t){this.width=t},r.prototype.getHeight=function(){return this.height},r.prototype.setHeight=function(t){this.height=t},t.exports=r},function(t,e,i){"use strict";var r=i(14);function n(){this.map={},this.keys=[]}n.prototype.put=function(t,e){var i=r.createID(t);this.contains(i)||(this.map[i]=e,this.keys.push(t))},n.prototype.contains=function(t){return r.createID(t),null!=this.map[t]},n.prototype.get=function(t){var e=r.createID(t);return this.map[e]},n.prototype.keySet=function(){return this.keys},t.exports=n},function(t,e,i){"use strict";var r=i(14);function n(){this.set={}}n.prototype.add=function(t){var e=r.createID(t);this.contains(e)||(this.set[e]=t)},n.prototype.remove=function(t){delete this.set[r.createID(t)]},n.prototype.clear=function(){this.set={}},n.prototype.contains=function(t){return this.set[r.createID(t)]==t},n.prototype.isEmpty=function(){return 0===this.size()},n.prototype.size=function(){return Object.keys(this.set).length},n.prototype.addAllTo=function(t){for(var e=Object.keys(this.set),i=e.length,r=0;r<i;r++)t.push(this.set[e[r]])},n.prototype.size=function(){return Object.keys(this.set).length},n.prototype.addAll=function(t){for(var e=t.length,i=0;i<e;i++){var r=t[i];this.add(r)}},t.exports=n},function(t,e,i){"use strict";function r(){}r.multMat=function(t,e){for(var i=[],r=0;r<t.length;r++){i[r]=[];for(var n=0;n<e[0].length;n++){i[r][n]=0;for(var o=0;o<t[0].length;o++)i[r][n]+=t[r][o]*e[o][n]}}return i},r.transpose=function(t){for(var e=[],i=0;i<t[0].length;i++){e[i]=[];for(var r=0;r<t.length;r++)e[i][r]=t[r][i]}return e},r.multCons=function(t,e){for(var i=[],r=0;r<t.length;r++)i[r]=t[r]*e;return i},r.minusOp=function(t,e){for(var i=[],r=0;r<t.length;r++)i[r]=t[r]-e[r];return i},r.dotProduct=function(t,e){for(var i=0,r=0;r<t.length;r++)i+=t[r]*e[r];return i},r.mag=function(t){return Math.sqrt(this.dotProduct(t,t))},r.normalize=function(t){for(var e=[],i=this.mag(t),r=0;r<t.length;r++)e[r]=t[r]/i;return e},r.multGamma=function(t){for(var e=[],i=0,r=0;r<t.length;r++)i+=t[r];i*=-1/t.length;for(var n=0;n<t.length;n++)e[n]=i+t[n];return e},r.multL=function(t,e,i){for(var r=[],n=[],o=[],a=0;a<e[0].length;a++){for(var s=0,h=0;h<e.length;h++)s+=-.5*e[h][a]*t[h];n[a]=s}for(var l=0;l<i.length;l++){for(var d=0,g=0;g<i.length;g++)d+=i[l][g]*n[g];o[l]=d}for(var c=0;c<e.length;c++){for(var u=0,f=0;f<e[0].length;f++)u+=e[c][f]*o[f];r[c]=u}return r},t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=i(11);t.exports=function(){function t(e,i){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");(null!==i||void 0!==i)&&(this.compareFunction=this._defaultCompareFunction);var r=void 0;r=e instanceof n?e.size():e.length,this._quicksort(e,0,r-1)}return r(t,[{key:"_quicksort",value:function(t,e,i){if(e<i){var r=this._partition(t,e,i);this._quicksort(t,e,r),this._quicksort(t,r+1,i)}}},{key:"_partition",value:function(t,e,i){for(var r=this._get(t,e),n=e,o=i;;){for(;this.compareFunction(r,this._get(t,o));)o--;for(;this.compareFunction(this._get(t,n),r);)n++;if(!(n<o))return o;this._swap(t,n,o),n++,o--}}},{key:"_get",value:function(t,e){return t instanceof n?t.get_object_at(e):t[e]}},{key:"_set",value:function(t,e,i){t instanceof n?t.set_object_at(e,i):t[e]=i}},{key:"_swap",value:function(t,e,i){var r=this._get(t,e);this._set(t,e,this._get(t,i)),this._set(t,i,r)}},{key:"_defaultCompareFunction",value:function(t,e){return e>t}}]),t}()},function(t,e,i){"use strict";function r(){}r.svd=function(t){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=t.length,this.n=t[0].length;var e=Math.min(this.m,this.n);this.s=function(t){for(var e=[];t-- >0;)e.push(0);return e}(Math.min(this.m+1,this.n)),this.U=function t(e){if(0==e.length)return 0;for(var i=[],r=0;r<e[0];r++)i.push(t(e.slice(1)));return i}([this.m,e]),this.V=function t(e){if(0==e.length)return 0;for(var i=[],r=0;r<e[0];r++)i.push(t(e.slice(1)));return i}([this.n,this.n]);for(var i=function(t){for(var e=[];t-- >0;)e.push(0);return e}(this.n),n=function(t){for(var e=[];t-- >0;)e.push(0);return e}(this.m),o=Math.min(this.m-1,this.n),a=Math.max(0,Math.min(this.n-2,this.m)),s=0;s<Math.max(o,a);s++){if(s<o){this.s[s]=0;for(var h=s;h<this.m;h++)this.s[s]=r.hypot(this.s[s],t[h][s]);if(0!==this.s[s]){t[s][s]<0&&(this.s[s]=-this.s[s]);for(var l=s;l<this.m;l++)t[l][s]/=this.s[s];t[s][s]+=1}this.s[s]=-this.s[s]}for(var d=s+1;d<this.n;d++){if(p=s<o,v=0!==this.s[s],p&&v){for(var g=0,c=s;c<this.m;c++)g+=t[c][s]*t[c][d];g=-g/t[s][s];for(var u=s;u<this.m;u++)t[u][d]+=g*t[u][s]}i[d]=t[s][d]}if(y=s<o)for(var f=s;f<this.m;f++)this.U[f][s]=t[f][s];if(s<a){i[s]=0;for(var p,v,y,m,E,T=s+1;T<this.n;T++)i[s]=r.hypot(i[s],i[T]);if(0!==i[s]){i[s+1]<0&&(i[s]=-i[s]);for(var N=s+1;N<this.n;N++)i[N]/=i[s];i[s+1]+=1}if(i[s]=-i[s],m=s+1<this.m,E=0!==i[s],m&&E){for(var A=s+1;A<this.m;A++)n[A]=0;for(var L=s+1;L<this.n;L++)for(var C=s+1;C<this.m;C++)n[C]+=i[L]*t[C][L];for(var w=s+1;w<this.n;w++)for(var _=-i[w]/i[s+1],M=s+1;M<this.m;M++)t[M][w]+=_*n[M]}for(var x=s+1;x<this.n;x++)this.V[x][s]=i[x]}}var I=Math.min(this.n,this.m+1);o<this.n&&(this.s[o]=t[o][o]),this.m<I&&(this.s[I-1]=0),a+1<I&&(i[a]=t[a][I-1]),i[I-1]=0;for(var O=o;O<e;O++){for(var D=0;D<this.m;D++)this.U[D][O]=0;this.U[O][O]=1}for(var R=o-1;R>=0;R--)if(0!==this.s[R]){for(var b=R+1;b<e;b++){for(var F=0,G=R;G<this.m;G++)F+=this.U[G][R]*this.U[G][b];F=-F/this.U[R][R];for(var S=R;S<this.m;S++)this.U[S][b]+=F*this.U[S][R]}for(var P=R;P<this.m;P++)this.U[P][R]=-this.U[P][R];this.U[R][R]=1+this.U[R][R];for(var U=0;U<R-1;U++)this.U[U][R]=0}else{for(var k=0;k<this.m;k++)this.U[k][R]=0;this.U[R][R]=1}for(var Y=this.n-1;Y>=0;Y--){if(td=Y<a,tg=0!==i[Y],td&&tg)for(var H=Y+1;H<e;H++){for(var X=0,z=Y+1;z<this.n;z++)X+=this.V[z][Y]*this.V[z][H];X=-X/this.V[Y+1][Y];for(var B=Y+1;B<this.n;B++)this.V[B][H]+=X*this.V[B][Y]}for(var V=0;V<this.n;V++)this.V[V][Y]=0;this.V[Y][Y]=1}for(var W=I-1,j=0;I>0;){var $=void 0,q=void 0;for($=I-2;$>=-1&&-1!==$;$--)if(Math.abs(i[$])<=16033346880071782e-307+2220446049250313e-31*(Math.abs(this.s[$])+Math.abs(this.s[$+1]))){i[$]=0;break}if($===I-2)q=4;else{var K=void 0;for(K=I-1;K>=$&&K!==$;K--){var Z=(K!==I?Math.abs(i[K]):0)+(K!==$+1?Math.abs(i[K-1]):0);if(Math.abs(this.s[K])<=16033346880071782e-307+2220446049250313e-31*Z){this.s[K]=0;break}}K===$?q=3:K===I-1?q=1:(q=2,$=K)}switch($++,q){case 1:var Q=i[I-2];i[I-2]=0;for(var J=I-2;J>=$;J--){var tt=r.hypot(this.s[J],Q),te=this.s[J]/tt,ti=Q/tt;this.s[J]=tt,J!==$&&(Q=-ti*i[J-1],i[J-1]=te*i[J-1]);for(var tr=0;tr<this.n;tr++)tt=te*this.V[tr][J]+ti*this.V[tr][I-1],this.V[tr][I-1]=-ti*this.V[tr][J]+te*this.V[tr][I-1],this.V[tr][J]=tt}break;case 2:var tn=i[$-1];i[$-1]=0;for(var to=$;to<I;to++){var ta=r.hypot(this.s[to],tn),ts=this.s[to]/ta,th=tn/ta;this.s[to]=ta,tn=-th*i[to],i[to]=ts*i[to];for(var tl=0;tl<this.m;tl++)ta=ts*this.U[tl][to]+th*this.U[tl][$-1],this.U[tl][$-1]=-th*this.U[tl][to]+ts*this.U[tl][$-1],this.U[tl][to]=ta}break;case 3:var td,tg,tc,tu,tf=Math.max(Math.max(Math.max(Math.max(Math.abs(this.s[I-1]),Math.abs(this.s[I-2])),Math.abs(i[I-2])),Math.abs(this.s[$])),Math.abs(i[$])),tp=this.s[I-1]/tf,tv=this.s[I-2]/tf,ty=i[I-2]/tf,tm=this.s[$]/tf,tE=i[$]/tf,tT=((tv+tp)*(tv-tp)+ty*ty)/2,tN=tp*ty*(tp*ty),tA=0;tc=0!==tT,tu=0!==tN,(tc||tu)&&(tA=Math.sqrt(tT*tT+tN),tT<0&&(tA=-tA),tA=tN/(tT+tA));for(var tL=(tm+tp)*(tm-tp)+tA,tC=tm*tE,tw=$;tw<I-1;tw++){var t_=r.hypot(tL,tC),tM=tL/t_,tx=tC/t_;tw!==$&&(i[tw-1]=t_),tL=tM*this.s[tw]+tx*i[tw],i[tw]=tM*i[tw]-tx*this.s[tw],tC=tx*this.s[tw+1],this.s[tw+1]=tM*this.s[tw+1];for(var tI=0;tI<this.n;tI++)t_=tM*this.V[tI][tw]+tx*this.V[tI][tw+1],this.V[tI][tw+1]=-tx*this.V[tI][tw]+tM*this.V[tI][tw+1],this.V[tI][tw]=t_;if(t_=r.hypot(tL,tC),tM=tL/t_,tx=tC/t_,this.s[tw]=t_,tL=tM*i[tw]+tx*this.s[tw+1],this.s[tw+1]=-tx*i[tw]+tM*this.s[tw+1],tC=tx*i[tw+1],i[tw+1]=tM*i[tw+1],tw<this.m-1)for(var tO=0;tO<this.m;tO++)t_=tM*this.U[tO][tw]+tx*this.U[tO][tw+1],this.U[tO][tw+1]=-tx*this.U[tO][tw]+tM*this.U[tO][tw+1],this.U[tO][tw]=t_}i[I-2]=tL;break;case 4:if(this.s[$]<=0&&(this.s[$]=this.s[$]<0?-this.s[$]:0,1))for(var tD=0;tD<=W;tD++)this.V[tD][$]=-this.V[tD][$];for(;$<W&&!(this.s[$]>=this.s[$+1]);){var tR=this.s[$];if(this.s[$]=this.s[$+1],this.s[$+1]=tR,$<this.n-1)for(var tb=0;tb<this.n;tb++)tR=this.V[tb][$+1],this.V[tb][$+1]=this.V[tb][$],this.V[tb][$]=tR;if($<this.m-1)for(var tF=0;tF<this.m;tF++)tR=this.U[tF][$+1],this.U[tF][$+1]=this.U[tF][$],this.U[tF][$]=tR;$++}I--}}return{U:this.U,V:this.V,S:this.s}},r.hypot=function(t,e){var i=void 0;return Math.abs(t)>Math.abs(e)?(i=e/t,i=Math.abs(t)*Math.sqrt(1+i*i)):0!=e?(i=t/e,i=Math.abs(e)*Math.sqrt(1+i*i)):i=0,i},t.exports=r},function(t,e,i){"use strict";var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}();t.exports=function(){function t(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.sequence1=e,this.sequence2=i,this.match_score=r,this.mismatch_penalty=n,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=Array(this.iMax);for(var a=0;a<this.iMax;a++){this.grid[a]=Array(this.jMax);for(var s=0;s<this.jMax;s++)this.grid[a][s]=0}this.tracebackGrid=Array(this.iMax);for(var h=0;h<this.iMax;h++){this.tracebackGrid[h]=Array(this.jMax);for(var l=0;l<this.jMax;l++)this.tracebackGrid[h][l]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return r(t,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var t=1;t<this.jMax;t++)this.grid[0][t]=this.grid[0][t-1]+this.gap_penalty,this.tracebackGrid[0][t]=[!1,!1,!0];for(var e=1;e<this.iMax;e++)this.grid[e][0]=this.grid[e-1][0]+this.gap_penalty,this.tracebackGrid[e][0]=[!1,!0,!1];for(var i=1;i<this.iMax;i++)for(var r=1;r<this.jMax;r++){var n=[this.sequence1[i-1]===this.sequence2[r-1]?this.grid[i-1][r-1]+this.match_score:this.grid[i-1][r-1]+this.mismatch_penalty,this.grid[i-1][r]+this.gap_penalty,this.grid[i][r-1]+this.gap_penalty],o=this.arrayAllMaxIndexes(n);this.grid[i][r]=n[o[0]],this.tracebackGrid[i][r]=[o.includes(0),o.includes(1),o.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var t=[];for(t.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});t[0];){var e=t[0],i=this.tracebackGrid[e.pos[0]][e.pos[1]];i[0]&&t.push({pos:[e.pos[0]-1,e.pos[1]-1],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),i[1]&&t.push({pos:[e.pos[0]-1,e.pos[1]],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:"-"+e.seq2}),i[2]&&t.push({pos:[e.pos[0],e.pos[1]-1],seq1:"-"+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),0===e.pos[0]&&0===e.pos[1]&&this.alignments.push({sequence1:e.seq1,sequence2:e.seq2}),t.shift()}return this.alignments}},{key:"getAllIndexes",value:function(t,e){for(var i=[],r=-1;-1!==(r=t.indexOf(e,r+1));)i.push(r);return i}},{key:"arrayAllMaxIndexes",value:function(t){return this.getAllIndexes(t,Math.max.apply(null,t))}}]),t}()},function(t,e,i){"use strict";var r=function(){};r.FDLayout=i(18),r.FDLayoutConstants=i(4),r.FDLayoutEdge=i(19),r.FDLayoutNode=i(20),r.DimensionD=i(21),r.HashMap=i(22),r.HashSet=i(23),r.IGeometry=i(8),r.IMath=i(9),r.Integer=i(10),r.Point=i(12),r.PointD=i(5),r.RandomSeed=i(16),r.RectangleD=i(13),r.Transform=i(17),r.UniqueIDGeneretor=i(14),r.Quicksort=i(25),r.LinkedList=i(11),r.LGraphObject=i(2),r.LGraph=i(6),r.LEdge=i(1),r.LGraphManager=i(7),r.LNode=i(3),r.Layout=i(15),r.LayoutConstants=i(0),r.NeedlemanWunsch=i(27),r.Matrix=i(24),r.SVD=i(26),t.exports=r},function(t,e,i){"use strict";function r(){this.listeners=[]}var n=r.prototype;n.addListener=function(t,e){this.listeners.push({event:t,callback:e})},n.removeListener=function(t,e){for(var i=this.listeners.length;i>=0;i--){var r=this.listeners[i];r.event===t&&r.callback===e&&this.listeners.splice(i,1)}},n.emit=function(t,e){for(var i=0;i<this.listeners.length;i++){var r=this.listeners[i];t===r.event&&r.callback(e)}},t.exports=r}],e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28)}()},45199:(t,e,i)=>{"use strict";i.d(e,{diagram:()=>K});var r=i(56087),n=i(16163),o=i(36211),a=i(37916),s=i(78005),h=i(32165),l=i(88863),d=i(87),g=i(28904),c=i(33948),u={L:"left",R:"right",T:"top",B:"bottom"},f={L:(0,h.K2)(t=>`${t},${t/2} 0,${t} 0,0`,"L"),R:(0,h.K2)(t=>`0,${t/2} ${t},0 ${t},${t}`,"R"),T:(0,h.K2)(t=>`0,0 ${t},0 ${t/2},${t}`,"T"),B:(0,h.K2)(t=>`${t/2},0 ${t},${t} 0,${t}`,"B")},p={L:(0,h.K2)((t,e)=>t-e+2,"L"),R:(0,h.K2)((t,e)=>t-2,"R"),T:(0,h.K2)((t,e)=>t-e+2,"T"),B:(0,h.K2)((t,e)=>t-2,"B")},v=(0,h.K2)(function(t){return m(t)?"L"===t?"R":"L":"T"===t?"B":"T"},"getOppositeArchitectureDirection"),y=(0,h.K2)(function(t){return"L"===t||"R"===t||"T"===t||"B"===t},"isArchitectureDirection"),m=(0,h.K2)(function(t){return"L"===t||"R"===t},"isArchitectureDirectionX"),E=(0,h.K2)(function(t){return"T"===t||"B"===t},"isArchitectureDirectionY"),T=(0,h.K2)(function(t,e){let i=m(t)&&E(e),r=E(t)&&m(e);return i||r},"isArchitectureDirectionXY"),N=(0,h.K2)(function(t){let e=t[0],i=t[1],r=m(e)&&E(i),n=E(e)&&m(i);return r||n},"isArchitecturePairXY"),A=(0,h.K2)(function(t){return"LL"!==t&&"RR"!==t&&"TT"!==t&&"BB"!==t},"isValidArchitectureDirectionPair"),L=(0,h.K2)(function(t,e){let i=`${t}${e}`;return A(i)?i:void 0},"getArchitectureDirectionPair"),C=(0,h.K2)(function([t,e],i){let r=i[0],n=i[1];if(m(r))if(E(n))return[t+("L"===r?-1:1),e+("T"===n?1:-1)];else return[t+("L"===r?-1:1),e];return m(n)?[t+("L"===n?1:-1),e+("T"===r?1:-1)]:[t,e+("T"===r?1:-1)]},"shiftPositionByArchitectureDirectionPair"),w=(0,h.K2)(function(t){return"LT"===t||"TL"===t?[1,1]:"BL"===t||"LB"===t?[1,-1]:"BR"===t||"RB"===t?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),_=(0,h.K2)(function(t,e){return T(t,e)?"bend":m(t)?"horizontal":"vertical"},"getArchitectureDirectionAlignment"),M=(0,h.K2)(function(t){return"service"===t.type},"isArchitectureService"),x=(0,h.K2)(function(t){return"junction"===t.type},"isArchitectureJunction"),I=(0,h.K2)(t=>t.data(),"edgeData"),O=(0,h.K2)(t=>t.data(),"nodeData"),D=s.UI.architecture,R=class{constructor(){this.nodes={},this.groups={},this.edges=[],this.registeredIds={},this.elements={},this.setAccTitle=s.SV,this.getAccTitle=s.iN,this.setDiagramTitle=s.ke,this.getDiagramTitle=s.ab,this.getAccDescription=s.m7,this.setAccDescription=s.EI,this.clear()}static{(0,h.K2)(this,"ArchitectureDB")}clear(){this.nodes={},this.groups={},this.edges=[],this.registeredIds={},this.dataStructures=void 0,this.elements={},(0,s.IU)()}addService({id:t,icon:e,in:i,title:r,iconText:n}){if(void 0!==this.registeredIds[t])throw Error(`The service id [${t}] is already in use by another ${this.registeredIds[t]}`);if(void 0!==i){if(t===i)throw Error(`The service [${t}] cannot be placed within itself`);if(void 0===this.registeredIds[i])throw Error(`The service [${t}]'s parent does not exist. Please make sure the parent is created before this service`);if("node"===this.registeredIds[i])throw Error(`The service [${t}]'s parent is not a group`)}this.registeredIds[t]="node",this.nodes[t]={id:t,type:"service",icon:e,iconText:n,title:r,edges:[],in:i}}getServices(){return Object.values(this.nodes).filter(M)}addJunction({id:t,in:e}){if(void 0!==this.registeredIds[t])throw Error(`The junction id [${t}] is already in use by another ${this.registeredIds[t]}`);if(void 0!==e){if(t===e)throw Error(`The junction [${t}] cannot be placed within itself`);if(void 0===this.registeredIds[e])throw Error(`The junction [${t}]'s parent does not exist. Please make sure the parent is created before this junction`);if("node"===this.registeredIds[e])throw Error(`The junction [${t}]'s parent is not a group`)}this.registeredIds[t]="node",this.nodes[t]={id:t,type:"junction",edges:[],in:e}}getJunctions(){return Object.values(this.nodes).filter(x)}getNodes(){return Object.values(this.nodes)}getNode(t){return this.nodes[t]??null}addGroup({id:t,icon:e,in:i,title:r}){if(this.registeredIds?.[t]!==void 0)throw Error(`The group id [${t}] is already in use by another ${this.registeredIds[t]}`);if(void 0!==i){if(t===i)throw Error(`The group [${t}] cannot be placed within itself`);if(this.registeredIds?.[i]===void 0)throw Error(`The group [${t}]'s parent does not exist. Please make sure the parent is created before this group`);if(this.registeredIds?.[i]==="node")throw Error(`The group [${t}]'s parent is not a group`)}this.registeredIds[t]="group",this.groups[t]={id:t,icon:e,title:r,in:i}}getGroups(){return Object.values(this.groups)}addEdge({lhsId:t,rhsId:e,lhsDir:i,rhsDir:r,lhsInto:n,rhsInto:o,lhsGroup:a,rhsGroup:s,title:h}){if(!y(i))throw Error(`Invalid direction given for left hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${String(i)}`);if(!y(r))throw Error(`Invalid direction given for right hand side of edge ${t}--${e}. Expected (L,R,T,B) got ${String(r)}`);if(void 0===this.nodes[t]&&void 0===this.groups[t])throw Error(`The left-hand id [${t}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(void 0===this.nodes[e]&&void 0===this.groups[e])throw Error(`The right-hand id [${e}] does not yet exist. Please create the service/group before declaring an edge to it.`);let l=this.nodes[t].in,d=this.nodes[e].in;if(a&&l&&d&&l==d)throw Error(`The left-hand id [${t}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(s&&l&&d&&l==d)throw Error(`The right-hand id [${e}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);this.edges.push({lhsId:t,lhsDir:i,lhsInto:n,lhsGroup:a,rhsId:e,rhsDir:r,rhsInto:o,rhsGroup:s,title:h}),this.nodes[t]&&this.nodes[e]&&(this.nodes[t].edges.push(this.edges[this.edges.length-1]),this.nodes[e].edges.push(this.edges[this.edges.length-1]))}getEdges(){return this.edges}getDataStructures(){if(void 0===this.dataStructures){let t={},e=Object.entries(this.nodes).reduce((e,[i,r])=>(e[i]=r.edges.reduce((e,r)=>{let n=this.getNode(r.lhsId)?.in,o=this.getNode(r.rhsId)?.in;if(n&&o&&n!==o){let e=_(r.lhsDir,r.rhsDir);"bend"!==e&&(t[n]??={},t[n][o]=e,t[o]??={},t[o][n]=e)}if(r.lhsId===i){let t=L(r.lhsDir,r.rhsDir);t&&(e[t]=r.rhsId)}else{let t=L(r.rhsDir,r.lhsDir);t&&(e[t]=r.lhsId)}return e},{}),e),{}),i=Object.keys(e)[0],r={[i]:1},n=Object.keys(e).reduce((t,e)=>e===i?t:{...t,[e]:1},{}),o=(0,h.K2)(t=>{let i={[t]:[0,0]},o=[t];for(;o.length>0;){let t=o.shift();if(t){r[t]=1,delete n[t];let a=e[t],[s,h]=i[t];Object.entries(a).forEach(([t,e])=>{r[e]||(i[e]=C([s,h],t),o.push(e))})}}return i},"BFS"),a=[o(i)];for(;Object.keys(n).length>0;)a.push(o(Object.keys(n)[0]));this.dataStructures={adjList:e,spatialMaps:a,groupAlignments:t}}return this.dataStructures}setElementForId(t,e){this.elements[t]=e}getElementById(t){return this.elements[t]}getConfig(){return(0,a.$t)({...D,...(0,s.zj)().architecture})}getConfigField(t){return this.getConfig()[t]}},b=(0,h.K2)((t,e)=>{(0,o.S)(t,e),t.groups.map(t=>e.addGroup(t)),t.services.map(t=>e.addService({...t,type:"service"})),t.junctions.map(t=>e.addJunction({...t,type:"junction"})),t.edges.map(t=>e.addEdge(t))},"populateDb"),F={parser:{yy:void 0},parse:(0,h.K2)(async t=>{let e=await (0,l.qg)("architecture",t);h.Rm.debug(e);let i=F.parser?.yy;if(!(i instanceof R))throw Error("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.");b(e,i)},"parse")},G=(0,h.K2)(t=>`
2
+ .edge {
3
+ stroke-width: ${t.archEdgeWidth};
4
+ stroke: ${t.archEdgeColor};
5
+ fill: none;
6
+ }
7
+
8
+ .arrow {
9
+ fill: ${t.archEdgeArrowColor};
10
+ }
11
+
12
+ .node-bkg {
13
+ fill: none;
14
+ stroke: ${t.archGroupBorderColor};
15
+ stroke-width: ${t.archGroupBorderWidth};
16
+ stroke-dasharray: 8;
17
+ }
18
+ .node-icon-text {
19
+ display: flex;
20
+ align-items: center;
21
+ }
22
+
23
+ .node-icon-text > div {
24
+ color: #fff;
25
+ margin: 1px;
26
+ height: fit-content;
27
+ text-align: center;
28
+ overflow: hidden;
29
+ display: -webkit-box;
30
+ -webkit-box-orient: vertical;
31
+ }
32
+ `,"getStyles"),S=(0,h.K2)(t=>`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${t}</g>`,"wrapIcon"),P={prefix:"mermaid-architecture",height:80,width:80,icons:{database:{body:S('<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;"/>')},server:{body:S('<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>')},disk:{body:S('<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;"/>')},internet:{body:S('<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;"/>')},cloud:{body:S('<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;"/>')},unknown:n.Gc,blank:{body:S("")}}},U=(0,h.K2)(async function(t,e,i){let r=i.getConfigField("padding"),o=i.getConfigField("iconSize"),h=o/2,l=o/6,d=l/2;await Promise.all(e.edges().map(async e=>{let{source:o,sourceDir:g,sourceArrow:c,sourceGroup:u,target:v,targetDir:y,targetArrow:A,targetGroup:C,label:_}=I(e),{x:M,y:x}=e[0].sourceEndpoint(),{x:O,y:D}=e[0].midpoint(),{x:R,y:b}=e[0].targetEndpoint(),F=r+4;if(u&&(m(g)?M+="L"===g?-F:F:x+="T"===g?-F:F+18),C&&(m(y)?R+="L"===y?-F:F:b+="T"===y?-F:F+18),u||i.getNode(o)?.type!=="junction"||(m(g)?M+="L"===g?h:-h:x+="T"===g?h:-h),C||i.getNode(v)?.type!=="junction"||(m(y)?R+="L"===y?h:-h:b+="T"===y?h:-h),e[0]._private.rscratch){let e=t.insert("g");if(e.insert("path").attr("d",`M ${M},${x} L ${O},${D} L${R},${b} `).attr("class","edge").attr("id",(0,a.rY)(o,v,{prefix:"L"})),c){let t=m(g)?p[g](M,l):M-d,i=E(g)?p[g](x,l):x-d;e.insert("polygon").attr("points",f[g](l)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(A){let t=m(y)?p[y](R,l):R-d,i=E(y)?p[y](b,l):b-d;e.insert("polygon").attr("points",f[y](l)).attr("transform",`translate(${t},${i})`).attr("class","arrow")}if(_){let t=T(g,y)?"XY":m(g)?"X":"Y",i=0;i="X"===t?Math.abs(M-R):"Y"===t?Math.abs(x-b)/1.5:Math.abs(M-R)/2;let r=e.append("g");if(await (0,n.GZ)(r,_,{useHtmlLabels:!1,width:i,classes:"architecture-service-label"},(0,s.D7)()),r.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),"X"===t)r.attr("transform","translate("+O+", "+D+")");else if("Y"===t)r.attr("transform","translate("+O+", "+D+") rotate(-90)");else if("XY"===t){let t=L(g,y);if(t&&N(t)){let e=r.node().getBoundingClientRect(),[i,n]=w(t);r.attr("dominant-baseline","auto").attr("transform",`rotate(${-1*i*n*45})`);let o=r.node().getBoundingClientRect();r.attr("transform",`
33
+ translate(${O}, ${D-e.height/2})
34
+ translate(${i*o.width/2}, ${n*o.height/2})
35
+ rotate(${-1*i*n*45}, 0, ${e.height/2})
36
+ `)}}}}}))},"drawEdges"),k=(0,h.K2)(async function(t,e,i){let r=.75*i.getConfigField("padding"),o=i.getConfigField("fontSize"),a=i.getConfigField("iconSize")/2;await Promise.all(e.nodes().map(async e=>{let h=O(e);if("group"===h.type){let{h:l,w:d,x1:g,y1:c}=e.boundingBox(),u=t.append("rect");u.attr("id",`group-${h.id}`).attr("x",g+a).attr("y",c+a).attr("width",d).attr("height",l).attr("class","node-bkg");let f=t.append("g"),p=g,v=c;if(h.icon){let t=f.append("g");t.html(`<g>${await (0,n.WY)(h.icon,{height:r,width:r,fallbackPrefix:P.prefix})}</g>`),t.attr("transform","translate("+(p+a+1)+", "+(v+a+1)+")"),p+=r,v+=o/2-1-2}if(h.label){let t=f.append("g");await (0,n.GZ)(t,h.label,{useHtmlLabels:!1,width:d,classes:"architecture-service-label"},(0,s.D7)()),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","start").attr("text-anchor","start"),t.attr("transform","translate("+(p+a+4)+", "+(v+a+2)+")")}i.setElementForId(h.id,u)}}))},"drawGroups"),Y=(0,h.K2)(async function(t,e,i){let r=(0,s.D7)();for(let o of i){let i=e.append("g"),a=t.getConfigField("iconSize");if(o.title){let t=i.append("g");await (0,n.GZ)(t,o.title,{useHtmlLabels:!1,width:1.5*a,classes:"architecture-service-label"},r),t.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle"),t.attr("transform","translate("+a/2+", "+a+")")}let h=i.append("g");if(o.icon)h.html(`<g>${await (0,n.WY)(o.icon,{height:a,width:a,fallbackPrefix:P.prefix})}</g>`);else if(o.iconText){h.html(`<g>${await (0,n.WY)("blank",{height:a,width:a,fallbackPrefix:P.prefix})}</g>`);let t=h.append("g").append("foreignObject").attr("width",a).attr("height",a).append("div").attr("class","node-icon-text").attr("style",`height: ${a}px;`).append("div").html((0,s.jZ)(o.iconText,r)),e=parseInt(window.getComputedStyle(t.node(),null).getPropertyValue("font-size").replace(/\D/g,""))??16;t.attr("style",`-webkit-line-clamp: ${Math.floor((a-2)/e)};`)}else h.append("path").attr("class","node-bkg").attr("id","node-"+o.id).attr("d",`M0,${a} V5 Q0,0 5,0 H${a-5} Q${a},0 ${a},5 V${a} Z`);i.attr("id",`service-${o.id}`).attr("class","architecture-service");let{width:l,height:d}=i.node().getBBox();o.width=l,o.height=d,t.setElementForId(o.id,i)}return 0},"drawServices"),H=(0,h.K2)(function(t,e,i){i.forEach(i=>{let r=e.append("g"),n=t.getConfigField("iconSize");r.append("g").append("rect").attr("id","node-"+i.id).attr("fill-opacity","0").attr("width",n).attr("height",n),r.attr("class","architecture-junction");let{width:o,height:a}=r._groups[0][0].getBBox();r.width=o,r.height=a,t.setElementForId(i.id,r)})},"drawJunctions");function X(t,e,i){t.forEach(t=>{e.add({group:"nodes",data:{type:"service",id:t.id,icon:t.icon,label:t.title,parent:t.in,width:i.getConfigField("iconSize"),height:i.getConfigField("iconSize")},classes:"node-service"})})}function z(t,e,i){t.forEach(t=>{e.add({group:"nodes",data:{type:"junction",id:t.id,parent:t.in,width:i.getConfigField("iconSize"),height:i.getConfigField("iconSize")},classes:"node-junction"})})}function B(t,e){e.nodes().map(e=>{let i=O(e);"group"===i.type||(i.x=e.position().x,i.y=e.position().y,t.getElementById(i.id).attr("transform","translate("+(i.x||0)+","+(i.y||0)+")"))})}function V(t,e){t.forEach(t=>{e.add({group:"nodes",data:{type:"group",id:t.id,icon:t.icon,label:t.title,parent:t.in},classes:"node-group"})})}function W(t,e){t.forEach(t=>{let{lhsId:i,rhsId:r,lhsInto:n,lhsGroup:o,rhsInto:a,lhsDir:s,rhsDir:h,rhsGroup:l,title:d}=t,g=T(t.lhsDir,t.rhsDir)?"segments":"straight",c={id:`${i}-${r}`,label:d,source:i,sourceDir:s,sourceArrow:n,sourceGroup:o,sourceEndpoint:"L"===s?"0 50%":"R"===s?"100% 50%":"T"===s?"50% 0":"50% 100%",target:r,targetDir:h,targetArrow:a,targetGroup:l,targetEndpoint:"L"===h?"0 50%":"R"===h?"100% 50%":"T"===h?"50% 0":"50% 100%"};e.add({group:"edges",data:c,classes:g})})}function j(t,e,i){let r=(0,h.K2)((t,e)=>Object.entries(t).reduce((t,[r,n])=>{let o=0,a=Object.entries(n);if(1===a.length)return t[r]=a[0][1],t;for(let n=0;n<a.length-1;n++)for(let s=n+1;s<a.length;s++){let[h,l]=a[n],[d,g]=a[s];i[h]?.[d]===e||"default"===h||"default"===d?(t[r]??=[],t[r]=[...t[r],...l,...g]):(t[`${r}-${o++}`]=l,t[`${r}-${o++}`]=g)}return t},{}),"flattenAlignments"),[n,o]=e.map(e=>{let i={},n={};return Object.entries(e).forEach(([e,[r,o]])=>{let a=t.getNode(e)?.in??"default";i[o]??={},i[o][a]??=[],i[o][a].push(e),n[r]??={},n[r][a]??=[],n[r][a].push(e)}),{horiz:Object.values(r(i,"horizontal")).filter(t=>t.length>1),vert:Object.values(r(n,"vertical")).filter(t=>t.length>1)}}).reduce(([t,e],{horiz:i,vert:r})=>[[...t,...i],[...e,...r]],[[],[]]);return{horizontal:n,vertical:o}}function $(t,e){let i=[],r=(0,h.K2)(t=>`${t[0]},${t[1]}`,"posToStr"),n=(0,h.K2)(t=>t.split(",").map(t=>parseInt(t)),"strToPos");return t.forEach(t=>{let o=Object.fromEntries(Object.entries(t).map(([t,e])=>[r(e),t])),a=[r([0,0])],s={},h={L:[-1,0],R:[1,0],T:[0,1],B:[0,-1]};for(;a.length>0;){let t=a.shift();if(t){s[t]=1;let l=o[t];if(l){let d=n(t);Object.entries(h).forEach(([t,n])=>{let h=r([d[0]+n[0],d[1]+n[1]]),g=o[h];g&&!s[h]&&(a.push(h),i.push({[u[t]]:g,[u[v(t)]]:l,gap:1.5*e.getConfigField("iconSize")}))})}}}}),i}function q(t,e,i,r,n,{spatialMaps:o,groupAlignments:a}){return new Promise(s=>{let l=(0,c.Ltv)("body").append("div").attr("id","cy").attr("style","display:none"),g=(0,d.A)({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"straight",label:"data(label)","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"edge.segments",style:{"curve-style":"segments","segment-weights":"0","segment-distances":[.5],"edge-distances":"endpoints","source-endpoint":"data(sourceEndpoint)","target-endpoint":"data(targetEndpoint)"}},{selector:"node",style:{"compound-sizing-wrt-labels":"include"}},{selector:"node[label]",style:{"text-valign":"bottom","text-halign":"center","font-size":`${n.getConfigField("fontSize")}px`}},{selector:".node-service",style:{label:"data(label)",width:"data(width)",height:"data(height)"}},{selector:".node-junction",style:{width:"data(width)",height:"data(height)"}},{selector:".node-group",style:{padding:`${n.getConfigField("padding")}px`}}],layout:{name:"grid",boundingBox:{x1:0,x2:100,y1:0,y2:100}}});l.remove(),V(i,g),X(t,g,n),z(e,g,n),W(r,g);let u=j(n,o,a),f=$(o,n),p=g.layout({name:"fcose",quality:"proof",styleEnabled:!1,animate:!1,nodeDimensionsIncludeLabels:!1,idealEdgeLength(t){let[e,i]=t.connectedNodes(),{parent:r}=O(e),{parent:o}=O(i);return r===o?1.5*n.getConfigField("iconSize"):.5*n.getConfigField("iconSize")},edgeElasticity(t){let[e,i]=t.connectedNodes(),{parent:r}=O(e),{parent:n}=O(i);return r===n?.45:.001},alignmentConstraint:u,relativePlacementConstraint:f});p.one("layoutstop",()=>{function t(t,e,i,r){let n,o,{x:a,y:s}=t,{x:h,y:l}=e;o=(r-s+(a-i)*(s-l)/(a-h))/Math.sqrt(1+Math.pow((s-l)/(a-h),2)),n=Math.sqrt(Math.pow(r-s,2)+Math.pow(i-a,2)-Math.pow(o,2))/Math.sqrt(Math.pow(h-a,2)+Math.pow(l-s,2));let d=(h-a)*(r-s)-(l-s)*(i-a);switch(!0){case d>=0:d=1;break;case d<0:d=-1}let g=(h-a)*(i-a)+(l-s)*(r-s);switch(!0){case g>=0:g=1;break;case g<0:g=-1}return{distances:o=Math.abs(o)*d,weights:n*=g}}for(let e of((0,h.K2)(t,"getSegmentWeights"),g.startBatch(),Object.values(g.edges())))if(e.data?.()){let{x:i,y:r}=e.source().position(),{x:n,y:o}=e.target().position();if(i!==n&&r!==o){let i=e.sourceEndpoint(),r=e.targetEndpoint(),{sourceDir:n}=I(e),[o,a]=E(n)?[i.x,r.y]:[r.x,i.y],{weights:s,distances:h}=t(i,r,o,a);e.style("segment-distances",h),e.style("segment-weights",s)}}g.endBatch(),p.run()}),p.run(),g.ready(t=>{h.Rm.info("Ready",t),s(g)})})}(0,n.pC)([{name:P.prefix,icons:P}]),d.A.use(g),(0,h.K2)(X,"addServices"),(0,h.K2)(z,"addJunctions"),(0,h.K2)(B,"positionNodes"),(0,h.K2)(V,"addGroups"),(0,h.K2)(W,"addEdges"),(0,h.K2)(j,"getAlignments"),(0,h.K2)($,"getRelativeConstraints"),(0,h.K2)(q,"layoutArchitecture");var K={parser:F,get db(){return new R},renderer:{draw:(0,h.K2)(async(t,e,i,n)=>{let o=n.db,a=o.getServices(),h=o.getJunctions(),l=o.getGroups(),d=o.getEdges(),g=o.getDataStructures(),c=(0,r.D)(e),u=c.append("g");u.attr("class","architecture-edges");let f=c.append("g");f.attr("class","architecture-services");let p=c.append("g");p.attr("class","architecture-groups"),await Y(o,f,a),H(o,f,h);let v=await q(a,h,l,d,o,g);await U(u,v,o),await k(p,v,o),B(o,v),(0,s.ot)(void 0,c,o.getConfigField("padding"),o.getConfigField("useMaxWidth"))},"draw")},styles:G}},75142:function(t,e,i){var r;r=i(42454),t.exports=(()=>{"use strict";var t={45:(t,e,i)=>{var r={};r.layoutBase=i(551),r.CoSEConstants=i(806),r.CoSEEdge=i(767),r.CoSEGraph=i(880),r.CoSEGraphManager=i(578),r.CoSELayout=i(765),r.CoSENode=i(991),r.ConstraintHandler=i(902),t.exports=r},806:(t,e,i)=>{var r=i(551).FDLayoutConstants;function n(){}for(var o in r)n[o]=r[o];n.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,n.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,n.DEFAULT_COMPONENT_SEPERATION=60,n.TILE=!0,n.TILING_PADDING_VERTICAL=10,n.TILING_PADDING_HORIZONTAL=10,n.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,n.ENFORCE_CONSTRAINTS=!0,n.APPLY_LAYOUT=!0,n.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,n.TREE_REDUCTION_ON_INCREMENTAL=!0,n.PURE_INCREMENTAL=n.DEFAULT_INCREMENTAL,t.exports=n},767:(t,e,i)=>{var r=i(551).FDLayoutEdge;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},880:(t,e,i)=>{var r=i(551).LGraph;function n(t,e,i){r.call(this,t,e,i)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},578:(t,e,i)=>{var r=i(551).LGraphManager;function n(t){r.call(this,t)}for(var o in n.prototype=Object.create(r.prototype),r)n[o]=r[o];t.exports=n},765:(t,e,i)=>{var r=i(551).FDLayout,n=i(578),o=i(880),a=i(991),s=i(767),h=i(806),l=i(902),d=i(551).FDLayoutConstants,g=i(551).LayoutConstants,c=i(551).Point,u=i(551).PointD,f=i(551).DimensionD,p=i(551).Layout,v=i(551).Integer,y=i(551).IGeometry,m=i(551).LGraph,E=i(551).Transform,T=i(551).LinkedList;function N(){r.call(this),this.toBeTiled={},this.constraints={}}for(var A in N.prototype=Object.create(r.prototype),r)N[A]=r[A];N.prototype.newGraphManager=function(){var t=new n(this);return this.graphManager=t,t},N.prototype.newGraph=function(t){return new o(null,this.graphManager,t)},N.prototype.newNode=function(t){return new a(this.graphManager,t)},N.prototype.newEdge=function(t){return new s(null,null,t)},N.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.isSubLayout||(h.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=h.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=h.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=d.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=d.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=d.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},N.prototype.initSpringEmbedder=function(){r.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/d.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},N.prototype.layout=function(){return g.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},N.prototype.classicLayout=function(){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){if(h.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e)}}else{var i=this.getFlatForest();if(i.length>0)this.positionNodesRadially(i);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(l.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),h.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},N.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(!(this.prunedNodesAll.length>0))return!0;else this.isTreeGrowing=!0;if(this.totalIterations%d.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(!(this.prunedNodesAll.length>0))return!0;else this.isTreeGrowing=!0;this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(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))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e),this.graphManager.updateBounds(),this.updateGrid(),h.PURE_INCREMENTAL?this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),h.PURE_INCREMENTAL?this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},N.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i<t.length;i++){var r=t[i].rect,n=t[i].id;e[n]={id:n,x:r.getCenterX(),y:r.getCenterY(),w:r.width,h:r.height}}return e},N.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===d.ANIMATE)this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},N.prototype.moveNodes=function(){for(var t,e=this.getAllNodes(),i=0;i<e.length;i++)e[i].calculateDisplacement();Object.keys(this.constraints).length>0&&this.updateDisplacements();for(var i=0;i<e.length;i++)e[i].move()},N.prototype.initConstraintVariables=function(){var t=this;this.idToNodeMap=new Map,this.fixedNodeSet=new Set;for(var e=this.graphManager.getAllNodes(),i=0;i<e.length;i++){var r=e[i];this.idToNodeMap.set(r.id,r)}if(this.constraints.fixedNodeConstraint){this.constraints.fixedNodeConstraint.forEach(function(e){t.fixedNodeSet.add(e.nodeId)});for(var r,e=this.graphManager.getAllNodes(),i=0;i<e.length;i++)if(null!=(r=e[i]).getChild()){var n=function e(i){for(var r,n=i.getChild().getNodes(),o=0,a=0;a<n.length;a++)null==(r=n[a]).getChild()?t.fixedNodeSet.has(r.id)&&(o+=100):o+=e(r);return o}(r);n>0&&(r.fixedNodeWeight=n)}}if(this.constraints.relativePlacementConstraint){var o=new Map,a=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(e){t.fixedNodesOnHorizontal.add(e),t.fixedNodesOnVertical.add(e)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var s=this.constraints.alignmentConstraint.vertical,i=0;i<s.length;i++)this.dummyToNodeForVerticalAlignment.set("dummy"+i,[]),s[i].forEach(function(e){o.set(e,"dummy"+i),t.dummyToNodeForVerticalAlignment.get("dummy"+i).push(e),t.fixedNodeSet.has(e)&&t.fixedNodesOnHorizontal.add("dummy"+i)});if(this.constraints.alignmentConstraint.horizontal)for(var l=this.constraints.alignmentConstraint.horizontal,i=0;i<l.length;i++)this.dummyToNodeForHorizontalAlignment.set("dummy"+i,[]),l[i].forEach(function(e){a.set(e,"dummy"+i),t.dummyToNodeForHorizontalAlignment.get("dummy"+i).push(e),t.fixedNodeSet.has(e)&&t.fixedNodesOnVertical.add("dummy"+i)})}if(h.RELAX_MOVEMENT_ON_CONSTRAINTS)this.shuffle=function(t){var e,i,r;for(r=t.length-1;r>=2*t.length/3;r--)e=Math.floor(Math.random()*(r+1)),i=t[r],t[r]=t[e],t[e]=i;return t},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(e){if(e.left){var i=o.has(e.left)?o.get(e.left):e.left,r=o.has(e.right)?o.get(e.right):e.right;t.nodesInRelativeHorizontal.includes(i)||(t.nodesInRelativeHorizontal.push(i),t.nodeToRelativeConstraintMapHorizontal.set(i,[]),t.dummyToNodeForVerticalAlignment.has(i)?t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(i)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(i,t.idToNodeMap.get(i).getCenterX())),t.nodesInRelativeHorizontal.includes(r)||(t.nodesInRelativeHorizontal.push(r),t.nodeToRelativeConstraintMapHorizontal.set(r,[]),t.dummyToNodeForVerticalAlignment.has(r)?t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(r)[0]).getCenterX()):t.nodeToTempPositionMapHorizontal.set(r,t.idToNodeMap.get(r).getCenterX())),t.nodeToRelativeConstraintMapHorizontal.get(i).push({right:r,gap:e.gap}),t.nodeToRelativeConstraintMapHorizontal.get(r).push({left:i,gap:e.gap})}else{var n=a.has(e.top)?a.get(e.top):e.top,s=a.has(e.bottom)?a.get(e.bottom):e.bottom;t.nodesInRelativeVertical.includes(n)||(t.nodesInRelativeVertical.push(n),t.nodeToRelativeConstraintMapVertical.set(n,[]),t.dummyToNodeForHorizontalAlignment.has(n)?t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(n)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(n,t.idToNodeMap.get(n).getCenterY())),t.nodesInRelativeVertical.includes(s)||(t.nodesInRelativeVertical.push(s),t.nodeToRelativeConstraintMapVertical.set(s,[]),t.dummyToNodeForHorizontalAlignment.has(s)?t.nodeToTempPositionMapVertical.set(s,t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(s)[0]).getCenterY()):t.nodeToTempPositionMapVertical.set(s,t.idToNodeMap.get(s).getCenterY())),t.nodeToRelativeConstraintMapVertical.get(n).push({bottom:s,gap:e.gap}),t.nodeToRelativeConstraintMapVertical.get(s).push({top:n,gap:e.gap})}});else{var d=new Map,g=new Map;this.constraints.relativePlacementConstraint.forEach(function(t){if(t.left){var e=o.has(t.left)?o.get(t.left):t.left,i=o.has(t.right)?o.get(t.right):t.right;d.has(e)?d.get(e).push(i):d.set(e,[i]),d.has(i)?d.get(i).push(e):d.set(i,[e])}else{var r=a.has(t.top)?a.get(t.top):t.top,n=a.has(t.bottom)?a.get(t.bottom):t.bottom;g.has(r)?g.get(r).push(n):g.set(r,[n]),g.has(n)?g.get(n).push(r):g.set(n,[r])}});var c=function(t,e){var i=[],r=[],n=new T,o=new Set,a=0;return t.forEach(function(s,h){if(!o.has(h)){i[a]=[],r[a]=!1;var l=h;for(n.push(l),o.add(l),i[a].push(l);0!=n.length;)l=n.shift(),e.has(l)&&(r[a]=!0),t.get(l).forEach(function(t){o.has(t)||(n.push(t),o.add(t),i[a].push(t))});a++}}),{components:i,isFixed:r}},u=c(d,t.fixedNodesOnHorizontal);this.componentsOnHorizontal=u.components,this.fixedComponentsOnHorizontal=u.isFixed;var f=c(g,t.fixedNodesOnVertical);this.componentsOnVertical=f.components,this.fixedComponentsOnVertical=f.isFixed}}},N.prototype.updateDisplacements=function(){var t=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(e){var i=t.idToNodeMap.get(e.nodeId);i.displacementX=0,i.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var e=this.constraints.alignmentConstraint.vertical,i=0;i<e.length;i++){for(var r=0,n=0;n<e[i].length;n++){if(this.fixedNodeSet.has(e[i][n])){r=0;break}r+=this.idToNodeMap.get(e[i][n]).displacementX}for(var o=r/e[i].length,n=0;n<e[i].length;n++)this.idToNodeMap.get(e[i][n]).displacementX=o}if(this.constraints.alignmentConstraint.horizontal)for(var a=this.constraints.alignmentConstraint.horizontal,i=0;i<a.length;i++){for(var s=0,n=0;n<a[i].length;n++){if(this.fixedNodeSet.has(a[i][n])){s=0;break}s+=this.idToNodeMap.get(a[i][n]).displacementY}for(var l=s/a[i].length,n=0;n<a[i].length;n++)this.idToNodeMap.get(a[i][n]).displacementY=l}}if(this.constraints.relativePlacementConstraint)if(h.RELAX_MOVEMENT_ON_CONSTRAINTS)this.totalIterations%10==0&&(this.shuffle(this.nodesInRelativeHorizontal),this.shuffle(this.nodesInRelativeVertical)),this.nodesInRelativeHorizontal.forEach(function(e){if(!t.fixedNodesOnHorizontal.has(e)){var i=0;i=t.dummyToNodeForVerticalAlignment.has(e)?t.idToNodeMap.get(t.dummyToNodeForVerticalAlignment.get(e)[0]).displacementX:t.idToNodeMap.get(e).displacementX,t.nodeToRelativeConstraintMapHorizontal.get(e).forEach(function(r){if(r.right){var n=t.nodeToTempPositionMapHorizontal.get(r.right)-t.nodeToTempPositionMapHorizontal.get(e)-i;n<r.gap&&(i-=r.gap-n)}else{var n=t.nodeToTempPositionMapHorizontal.get(e)-t.nodeToTempPositionMapHorizontal.get(r.left)+i;n<r.gap&&(i+=r.gap-n)}}),t.nodeToTempPositionMapHorizontal.set(e,t.nodeToTempPositionMapHorizontal.get(e)+i),t.dummyToNodeForVerticalAlignment.has(e)?t.dummyToNodeForVerticalAlignment.get(e).forEach(function(e){t.idToNodeMap.get(e).displacementX=i}):t.idToNodeMap.get(e).displacementX=i}}),this.nodesInRelativeVertical.forEach(function(e){if(!t.fixedNodesOnHorizontal.has(e)){var i=0;i=t.dummyToNodeForHorizontalAlignment.has(e)?t.idToNodeMap.get(t.dummyToNodeForHorizontalAlignment.get(e)[0]).displacementY:t.idToNodeMap.get(e).displacementY,t.nodeToRelativeConstraintMapVertical.get(e).forEach(function(r){if(r.bottom){var n=t.nodeToTempPositionMapVertical.get(r.bottom)-t.nodeToTempPositionMapVertical.get(e)-i;n<r.gap&&(i-=r.gap-n)}else{var n=t.nodeToTempPositionMapVertical.get(e)-t.nodeToTempPositionMapVertical.get(r.top)+i;n<r.gap&&(i+=r.gap-n)}}),t.nodeToTempPositionMapVertical.set(e,t.nodeToTempPositionMapVertical.get(e)+i),t.dummyToNodeForHorizontalAlignment.has(e)?t.dummyToNodeForHorizontalAlignment.get(e).forEach(function(e){t.idToNodeMap.get(e).displacementY=i}):t.idToNodeMap.get(e).displacementY=i}});else{for(var i=0;i<this.componentsOnHorizontal.length;i++){var d=this.componentsOnHorizontal[i];if(this.fixedComponentsOnHorizontal[i])for(var n=0;n<d.length;n++)this.dummyToNodeForVerticalAlignment.has(d[n])?this.dummyToNodeForVerticalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementX=0}):this.idToNodeMap.get(d[n]).displacementX=0;else{for(var g=0,c=0,n=0;n<d.length;n++)if(this.dummyToNodeForVerticalAlignment.has(d[n])){var u=this.dummyToNodeForVerticalAlignment.get(d[n]);g+=u.length*this.idToNodeMap.get(u[0]).displacementX,c+=u.length}else g+=this.idToNodeMap.get(d[n]).displacementX,c++;for(var f=g/c,n=0;n<d.length;n++)this.dummyToNodeForVerticalAlignment.has(d[n])?this.dummyToNodeForVerticalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementX=f}):this.idToNodeMap.get(d[n]).displacementX=f}}for(var i=0;i<this.componentsOnVertical.length;i++){var d=this.componentsOnVertical[i];if(this.fixedComponentsOnVertical[i])for(var n=0;n<d.length;n++)this.dummyToNodeForHorizontalAlignment.has(d[n])?this.dummyToNodeForHorizontalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementY=0}):this.idToNodeMap.get(d[n]).displacementY=0;else{for(var g=0,c=0,n=0;n<d.length;n++)if(this.dummyToNodeForHorizontalAlignment.has(d[n])){var u=this.dummyToNodeForHorizontalAlignment.get(d[n]);g+=u.length*this.idToNodeMap.get(u[0]).displacementY,c+=u.length}else g+=this.idToNodeMap.get(d[n]).displacementY,c++;for(var f=g/c,n=0;n<d.length;n++)this.dummyToNodeForHorizontalAlignment.has(d[n])?this.dummyToNodeForHorizontalAlignment.get(d[n]).forEach(function(e){t.idToNodeMap.get(e).displacementY=f}):this.idToNodeMap.get(d[n]).displacementY=f}}}},N.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,i=[],r=this.graphManager.getGraphs(),n=r.length;for(e=0;e<n;e++)(t=r[e]).updateConnected(),t.isConnected||(i=i.concat(t.getNodes()));return i},N.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e=new Set;for(o=0;o<t.length;o++){var i=t[o];if(!e.has(i)){var r=i.getSource(),n=i.getTarget();if(r==n)i.getBendpoints().push(new u),i.getBendpoints().push(new u),this.createDummyNodesForBendpoints(i),e.add(i);else{var o,a,s=[];if(s=(s=s.concat(r.getEdgeListToNode(n))).concat(n.getEdgeListToNode(r)),!e.has(s[0])){if(s.length>1)for(a=0;a<s.length;a++){var h=s[a];h.getBendpoints().push(new u),this.createDummyNodesForBendpoints(h)}s.forEach(function(t){e.add(t)})}}}if(e.size==t.length)break}},N.prototype.positionNodesRadially=function(t){for(var e=new c(0,0),i=Math.ceil(Math.sqrt(t.length)),r=0,n=0,o=0,a=new u(0,0),s=0;s<t.length;s++){s%i==0&&(o=0,n=r,0!=s&&(n+=h.DEFAULT_COMPONENT_SEPERATION),r=0);var l=t[s],d=p.findCenterOfTree(l);e.x=o,e.y=n,(a=N.radialLayout(l,d,e)).y>r&&(r=Math.floor(a.y)),o=Math.floor(a.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(g.WORLD_CENTER_X-a.x/2,g.WORLD_CENTER_Y-a.y/2))},N.radialLayout=function(t,e,i){var r=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);N.branchRadialLayout(e,null,0,359,0,r);var n=m.calculateBounds(t),o=new E;o.setDeviceOrgX(n.getMinX()),o.setDeviceOrgY(n.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var a=0;a<t.length;a++)t[a].transform(o);var s=new u(n.getMaxX(),n.getMaxY());return o.inverseTransformPoint(s)},N.branchRadialLayout=function(t,e,i,r,n,o){var a,s=(r-i+1)/2;s<0&&(s+=180);var h=(s+i)%360*y.TWO_PI/360,l=n*Math.cos(h),d=n*Math.sin(h);t.setCenter(l,d);var g=[],c=(g=g.concat(t.getEdges())).length;null!=e&&c--;for(var u=0,f=g.length,p=t.getEdgesBetween(e);p.length>1;){var v=p[0];p.splice(0,1);var m=g.indexOf(v);m>=0&&g.splice(m,1),f--,c--}a=null!=e?(g.indexOf(p[0])+1)%f:0;for(var E=Math.abs(r-i)/c,T=a;u!=c;T=++T%f){var A=g[T].getOtherEnd(t);if(A!=e){var L=(i+u*E)%360,C=(L+E)%360;N.branchRadialLayout(A,t,L,C,n+o,o),u++}}},N.maxDiagonalInTree=function(t){for(var e=v.MIN_VALUE,i=0;i<t.length;i++){var r=t[i].getDiagonal();r>e&&(e=r)}return e},N.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},N.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],r=this.graphManager.getAllNodes(),n=0;n<r.length;n++){var o=r[n],s=o.getParent();0!==this.getNodeDegreeWithChildren(o)||void 0!=s.id&&this.getToBeTiled(s)||i.push(o)}for(var n=0;n<i.length;n++){var o=i[n],h=o.getParent().id;void 0===e[h]&&(e[h]=[]),e[h]=e[h].concat(o)}Object.keys(e).forEach(function(i){if(e[i].length>1){var r="DummyCompound_"+i;t.memberGroups[r]=e[i];var n=e[i][0].getParent(),o=new a(t.graphManager);o.id=r,o.paddingLeft=n.paddingLeft||0,o.paddingRight=n.paddingRight||0,o.paddingBottom=n.paddingBottom||0,o.paddingTop=n.paddingTop||0,t.idToDummyNode[r]=o;var s=t.getGraphManager().add(t.newGraph(),o),h=n.getChild();h.add(o);for(var l=0;l<e[i].length;l++){var d=e[i][l];h.remove(d),s.add(d)}}})},N.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var i=0;i<this.compoundOrder.length;i++)e[this.compoundOrder[i].id]=this.compoundOrder[i],t[this.compoundOrder[i].id]=[].concat(this.compoundOrder[i].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[i].getChild()),this.compoundOrder[i].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e)},N.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(i){var r=t.idToDummyNode[i];if(e[i]=t.tileNodes(t.memberGroups[i],r.paddingLeft+r.paddingRight),r.rect.width=e[i].width,r.rect.height=e[i].height,r.setCenter(e[i].centerX,e[i].centerY),r.labelMarginLeft=0,r.labelMarginTop=0,h.NODE_DIMENSIONS_INCLUDE_LABELS){var n=r.rect.width,o=r.rect.height;r.labelWidth&&("left"==r.labelPosHorizontal?(r.rect.x-=r.labelWidth,r.setWidth(n+r.labelWidth),r.labelMarginLeft=r.labelWidth):"center"==r.labelPosHorizontal&&r.labelWidth>n?(r.rect.x-=(r.labelWidth-n)/2,r.setWidth(r.labelWidth),r.labelMarginLeft=(r.labelWidth-n)/2):"right"==r.labelPosHorizontal&&r.setWidth(n+r.labelWidth)),r.labelHeight&&("top"==r.labelPosVertical?(r.rect.y-=r.labelHeight,r.setHeight(o+r.labelHeight),r.labelMarginTop=r.labelHeight):"center"==r.labelPosVertical&&r.labelHeight>o?(r.rect.y-=(r.labelHeight-o)/2,r.setHeight(r.labelHeight),r.labelMarginTop=(r.labelHeight-o)/2):"bottom"==r.labelPosVertical&&r.setHeight(o+r.labelHeight))}})},N.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],i=e.id,r=e.paddingLeft,n=e.paddingTop,o=e.labelMarginLeft,a=e.labelMarginTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,r,n,o,a)}},N.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var r=t.idToDummyNode[i],n=r.paddingLeft,o=r.paddingTop,a=r.labelMarginLeft,s=r.labelMarginTop;t.adjustLocations(e[i],r.rect.x,r.rect.y,n,o,a,s)})},N.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var r=i.getNodes(),n=0;n<r.length;n++){var o=r[n];if(this.getNodeDegree(o)>0)return this.toBeTiled[e]=!1,!1;if(null==o.getChild()){this.toBeTiled[o.id]=!1;continue}if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}return this.toBeTiled[e]=!0,!0},N.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,r=0;r<e.length;r++){var n=e[r];n.getSource().id!==n.getTarget().id&&(i+=1)}return i},N.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var i=t.getChild().getNodes(),r=0;r<i.length;r++){var n=i[r];e+=this.getNodeDegreeWithChildren(n)}return e},N.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},N.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var i=t[e];null!=i.getChild()&&this.fillCompexOrderByDFS(i.getChild().getNodes()),this.getToBeTiled(i)&&this.compoundOrder.push(i)}},N.prototype.adjustLocations=function(t,e,i,r,n,o,a){e+=r+o,i+=n+a;for(var s=e,h=0;h<t.rows.length;h++){var l=t.rows[h];e=s;for(var d=0,g=0;g<l.length;g++){var c=l[g];c.rect.x=e,c.rect.y=i,e+=c.rect.width+t.horizontalPadding,c.rect.height>d&&(d=c.rect.height)}i+=d+t.verticalPadding}},N.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(r){var n=e[r];if(i.tiledMemberPack[r]=i.tileNodes(t[r],n.paddingLeft+n.paddingRight),n.rect.width=i.tiledMemberPack[r].width,n.rect.height=i.tiledMemberPack[r].height,n.setCenter(i.tiledMemberPack[r].centerX,i.tiledMemberPack[r].centerY),n.labelMarginLeft=0,n.labelMarginTop=0,h.NODE_DIMENSIONS_INCLUDE_LABELS){var o=n.rect.width,a=n.rect.height;n.labelWidth&&("left"==n.labelPosHorizontal?(n.rect.x-=n.labelWidth,n.setWidth(o+n.labelWidth),n.labelMarginLeft=n.labelWidth):"center"==n.labelPosHorizontal&&n.labelWidth>o?(n.rect.x-=(n.labelWidth-o)/2,n.setWidth(n.labelWidth),n.labelMarginLeft=(n.labelWidth-o)/2):"right"==n.labelPosHorizontal&&n.setWidth(o+n.labelWidth)),n.labelHeight&&("top"==n.labelPosVertical?(n.rect.y-=n.labelHeight,n.setHeight(a+n.labelHeight),n.labelMarginTop=n.labelHeight):"center"==n.labelPosVertical&&n.labelHeight>a?(n.rect.y-=(n.labelHeight-a)/2,n.setHeight(n.labelHeight),n.labelMarginTop=(n.labelHeight-a)/2):"bottom"==n.labelPosVertical&&n.setHeight(a+n.labelHeight))}})},N.prototype.tileNodes=function(t,e){var i=this.tileNodesByFavoringDim(t,e,!0),r=this.tileNodesByFavoringDim(t,e,!1),n=this.getOrgRatio(i);return this.getOrgRatio(r)<n?r:i},N.prototype.getOrgRatio=function(t){var e=t.width/t.height;return e<1&&(e=1/e),e},N.prototype.calcIdealRowWidth=function(t,e){var i,r=h.TILING_PADDING_VERTICAL,n=h.TILING_PADDING_HORIZONTAL,o=t.length,a=0,s=0,l=0;t.forEach(function(t){a+=t.getWidth(),s+=t.getHeight(),t.getWidth()>l&&(l=t.getWidth())});var d=a/o,g=Math.pow(r-n,2)+4*(d+n)*(s/o+r)*o,c=(n-r+Math.sqrt(g))/(2*(d+n));e?(i=Math.ceil(c))==c&&i++:i=Math.floor(c);var u=i*(d+n)-n;return l>u&&(u=l),u+=2*n},N.prototype.tileNodesByFavoringDim=function(t,e,i){var r=h.TILING_PADDING_VERTICAL,n=h.TILING_PADDING_HORIZONTAL,o=h.TILING_COMPARE_BY,a={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:r,horizontalPadding:n,centerX:0,centerY:0};o&&(a.idealRowWidth=this.calcIdealRowWidth(t,i));var s=function(t){return t.rect.width*t.rect.height},l=function(t,e){return s(e)-s(t)};t.sort(function(t,e){var i=l;return a.idealRowWidth?(i=o)(t.id,e.id):i(t,e)});for(var d=0,g=0,c=0;c<t.length;c++){var u=t[c];d+=u.getCenterX(),g+=u.getCenterY()}a.centerX=d/t.length,a.centerY=g/t.length;for(var c=0;c<t.length;c++){var u=t[c];if(0==a.rows.length)this.insertNodeToRow(a,u,0,e);else if(this.canAddHorizontal(a,u.rect.width,u.rect.height)){var f=a.rows.length-1;a.idealRowWidth||(f=this.getShortestRowIndex(a)),this.insertNodeToRow(a,u,f,e)}else this.insertNodeToRow(a,u,a.rows.length,e);this.shiftToLastRow(a)}return a},N.prototype.insertNodeToRow=function(t,e,i,r){i==t.rows.length&&(t.rows.push([]),t.rowWidth.push(r),t.rowHeight.push(0));var n=t.rowWidth[i]+e.rect.width;t.rows[i].length>0&&(n+=t.horizontalPadding),t.rowWidth[i]=n,t.width<n&&(t.width=n);var o=e.rect.height;i>0&&(o+=t.verticalPadding);var a=0;o>t.rowHeight[i]&&(a=t.rowHeight[i],t.rowHeight[i]=o,a=t.rowHeight[i]-a),t.height+=a,t.rows[i].push(e)},N.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,r=0;r<t.rows.length;r++)t.rowWidth[r]<i&&(e=r,i=t.rowWidth[r]);return e},N.prototype.getLongestRowIndex=function(t){for(var e=-1,i=5e-324,r=0;r<t.rows.length;r++)t.rowWidth[r]>i&&(e=r,i=t.rowWidth[r]);return e},N.prototype.canAddHorizontal=function(t,e,i){if(t.idealRowWidth){var r,n,o=t.rows.length-1;return t.rowWidth[o]+e+t.horizontalPadding<=t.idealRowWidth}var a=this.getShortestRowIndex(t);if(a<0)return!0;var s=t.rowWidth[a];if(s+t.horizontalPadding+e<=t.width)return!0;var h=0;return t.rowHeight[a]<i&&a>0&&(h=i+t.verticalPadding-t.rowHeight[a]),r=t.width-s>=e+t.horizontalPadding?(t.height+h)/(s+e+t.horizontalPadding):(t.height+h)/t.width,h=i+t.verticalPadding,(n=t.width<e?(t.height+h)/e:(t.height+h)/t.width)<1&&(n=1/n),r<1&&(r=1/r),r<n},N.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),i=t.rowWidth.length-1,r=t.rows[e],n=r[r.length-1],o=n.width+t.horizontalPadding;if(t.width-t.rowWidth[i]>o&&e!=i){r.splice(-1,1),t.rows[i].push(n),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var a=5e-324,s=0;s<r.length;s++)r[s].height>a&&(a=r[s].height);e>0&&(a+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=a,t.rowHeight[i]<n.height+t.verticalPadding&&(t.rowHeight[i]=n.height+t.verticalPadding);var l=t.rowHeight[e]+t.rowHeight[i];t.height+=l-h,this.shiftToLastRow(t)}},N.prototype.tilingPreLayout=function(){h.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},N.prototype.tilingPostLayout=function(){h.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},N.prototype.reduceTrees=function(){for(var t,e=[],i=!0;i;){var r=this.graphManager.getAllNodes(),n=[];i=!1;for(var o=0;o<r.length;o++)if(1==(t=r[o]).getEdges().length&&!t.getEdges()[0].isInterGraph&&null==t.getChild()){if(h.PURE_INCREMENTAL){var a=t.getEdges()[0].getOtherEnd(t),s=new f(t.getCenterX()-a.getCenterX(),t.getCenterY()-a.getCenterY());n.push([t,t.getEdges()[0],t.getOwner(),s])}else n.push([t,t.getEdges()[0],t.getOwner()]);i=!0}if(!0==i){for(var l=[],d=0;d<n.length;d++)1==n[d][0].getEdges().length&&(l.push(n[d]),n[d][0].getOwner().remove(n[d][0]));e.push(l),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=e},N.prototype.growTree=function(t){for(var e,i=t.length,r=t[i-1],n=0;n<r.length;n++)e=r[n],this.findPlaceforPrunedNode(e),e[2].add(e[0]),e[2].add(e[1],e[1].source,e[1].target);t.splice(t.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},N.prototype.findPlaceforPrunedNode=function(t){var e=t[0];if(r=e==t[1].source?t[1].target:t[1].source,h.PURE_INCREMENTAL)e.setCenter(r.getCenterX()+t[3].getWidth(),r.getCenterY()+t[3].getHeight());else{var i,r,n,o,a=r.startX,s=r.finishX,l=r.startY,g=r.finishY,c=[0,0,0,0];if(l>0)for(var u=a;u<=s;u++)c[0]+=this.grid[u][l-1].length+this.grid[u][l].length-1;if(s<this.grid.length-1)for(var u=l;u<=g;u++)c[1]+=this.grid[s+1][u].length+this.grid[s][u].length-1;if(g<this.grid[0].length-1)for(var u=a;u<=s;u++)c[2]+=this.grid[u][g+1].length+this.grid[u][g].length-1;if(a>0)for(var u=l;u<=g;u++)c[3]+=this.grid[a-1][u].length+this.grid[a][u].length-1;for(var f=v.MAX_VALUE,p=0;p<c.length;p++)c[p]<f?(f=c[p],n=1,o=p):c[p]==f&&n++;if(3==n&&0==f)0==c[0]&&0==c[1]&&0==c[2]?i=1:0==c[0]&&0==c[1]&&0==c[3]?i=0:0==c[0]&&0==c[2]&&0==c[3]?i=3:0==c[1]&&0==c[2]&&0==c[3]&&(i=2);else if(2==n&&0==f){var y=Math.floor(2*Math.random());i=0==c[0]&&0==c[1]?+(0!=y):0==c[0]&&0==c[2]?2*(0!=y):0==c[0]&&0==c[3]?3*(0!=y):0==c[1]&&0==c[2]?0==y?1:2:0==c[1]&&0==c[3]?0==y?1:3:0==y?2:3}else if(4==n&&0==f){var y=Math.floor(4*Math.random());i=y}else i=o;0==i?e.setCenter(r.getCenterX(),r.getCenterY()-r.getHeight()/2-d.DEFAULT_EDGE_LENGTH-e.getHeight()/2):1==i?e.setCenter(r.getCenterX()+r.getWidth()/2+d.DEFAULT_EDGE_LENGTH+e.getWidth()/2,r.getCenterY()):2==i?e.setCenter(r.getCenterX(),r.getCenterY()+r.getHeight()/2+d.DEFAULT_EDGE_LENGTH+e.getHeight()/2):e.setCenter(r.getCenterX()-r.getWidth()/2-d.DEFAULT_EDGE_LENGTH-e.getWidth()/2,r.getCenterY())}},t.exports=N},991:(t,e,i)=>{var r=i(551).FDLayoutNode,n=i(551).IMath;function o(t,e,i,n){r.call(this,t,e,i,n)}for(var a in o.prototype=Object.create(r.prototype),r)o[a]=r[a];o.prototype.calculateDisplacement=function(){var t=this.graphManager.getLayout();null!=this.getChild()&&this.fixedNodeWeight?(this.displacementX+=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementX=t.coolingFactor*t.maxNodeDisplacement*n.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*n.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,r=this.getChild().getNodes(),n=0;n<r.length;n++)null==(i=r[n]).getChild()?(i.displacementX+=t,i.displacementY+=e):i.propogateDisplacementToChildren(t,e)},o.prototype.move=function(){var t=this.graphManager.getLayout();(null==this.child||0==this.child.getNodes().length)&&(this.moveBy(this.displacementX,this.displacementY),t.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},o.prototype.setPred1=function(t){this.pred1=t},o.prototype.getPred1=function(){return pred1},o.prototype.getPred2=function(){return pred2},o.prototype.setNext=function(t){this.next=t},o.prototype.getNext=function(){return next},o.prototype.setProcessed=function(t){this.processed=t},o.prototype.isProcessed=function(){return processed},t.exports=o},902:(t,e,i)=>{function r(t){if(!Array.isArray(t))return Array.from(t);for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}var n=i(806),o=i(551).LinkedList,a=i(551).Matrix,s=i(551).SVD;function h(){}h.handleConstraints=function(t){var e={};e.fixedNodeConstraint=t.constraints.fixedNodeConstraint,e.alignmentConstraint=t.constraints.alignmentConstraint,e.relativePlacementConstraint=t.constraints.relativePlacementConstraint;for(var i=new Map,h=new Map,l=[],d=[],g=t.getAllNodes(),c=0,u=0;u<g.length;u++){var f=g[u];null==f.getChild()&&(h.set(f.id,c++),l.push(f.getCenterX()),d.push(f.getCenterY()),i.set(f.id,f))}e.relativePlacementConstraint&&e.relativePlacementConstraint.forEach(function(t){t.gap||0==t.gap||(t.left?t.gap=n.DEFAULT_EDGE_LENGTH+i.get(t.left).getWidth()/2+i.get(t.right).getWidth()/2:t.gap=n.DEFAULT_EDGE_LENGTH+i.get(t.top).getHeight()/2+i.get(t.bottom).getHeight()/2)});var p=function(t){var e=0,i=0;return t.forEach(function(t){e+=l[h.get(t)],i+=d[h.get(t)]}),{x:e/t.size,y:i/t.size}},v=function(t,e,i,n,a){var s=new Map;t.forEach(function(t,e){s.set(e,0)}),t.forEach(function(t,e){t.forEach(function(t){s.set(t.id,s.get(t.id)+1)})});var g=new Map,c=new Map,u=new o;for(s.forEach(function(t,r){0==t?(u.push(r),i||("horizontal"==e?g.set(r,h.has(r)?l[h.get(r)]:n.get(r)):g.set(r,h.has(r)?d[h.get(r)]:n.get(r)))):g.set(r,-1/0),i&&c.set(r,new Set([r]))}),i&&a.forEach(function(t){var r=[];if(t.forEach(function(t){i.has(t)&&r.push(t)}),r.length>0){var o=0;r.forEach(function(t){"horizontal"==e?g.set(t,h.has(t)?l[h.get(t)]:n.get(t)):g.set(t,h.has(t)?d[h.get(t)]:n.get(t)),o+=g.get(t)}),o/=r.length,t.forEach(function(t){i.has(t)||g.set(t,o)})}else{var a=0;t.forEach(function(t){"horizontal"==e?a+=h.has(t)?l[h.get(t)]:n.get(t):a+=h.has(t)?d[h.get(t)]:n.get(t)}),a/=t.length,t.forEach(function(t){g.set(t,a)})}});0!=u.length;)!function(){var r=u.shift();t.get(r).forEach(function(t){if(g.get(t.id)<g.get(r)+t.gap)if(i&&i.has(t.id)){var o=void 0;if(o="horizontal"==e?h.has(t.id)?l[h.get(t.id)]:n.get(t.id):h.has(t.id)?d[h.get(t.id)]:n.get(t.id),g.set(t.id,o),o<g.get(r)+t.gap){var a=g.get(r)+t.gap-o;c.get(r).forEach(function(t){g.set(t,g.get(t)-a)})}}else g.set(t.id,g.get(r)+t.gap);s.set(t.id,s.get(t.id)-1),0==s.get(t.id)&&u.push(t.id),i&&c.set(t.id,function(t,e){var i=new Set(t),r=!0,n=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var h=a.value;i.add(h)}}catch(t){n=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(n)throw o}}return i}(c.get(r),c.get(t.id)))})}();if(i){var f=new Set;t.forEach(function(t,e){0==t.length&&f.add(e)});var p=[];c.forEach(function(t,e){if(f.has(e)){var n=!1,o=!0,a=!1,s=void 0;try{for(var h,l=t[Symbol.iterator]();!(o=(h=l.next()).done);o=!0){var d=h.value;i.has(d)&&(n=!0)}}catch(t){a=!0,s=t}finally{try{!o&&l.return&&l.return()}finally{if(a)throw s}}if(!n){var g=!1,c=void 0;p.forEach(function(e,i){e.has([].concat(r(t))[0])&&(g=!0,c=i)}),g?t.forEach(function(t){p[c].add(t)}):p.push(new Set(t))}}}),p.forEach(function(t,i){var r=1/0,o=1/0,a=-1/0,s=-1/0,c=!0,u=!1,f=void 0;try{for(var p,v=t[Symbol.iterator]();!(c=(p=v.next()).done);c=!0){var y=p.value,m=void 0;m="horizontal"==e?h.has(y)?l[h.get(y)]:n.get(y):h.has(y)?d[h.get(y)]:n.get(y);var E=g.get(y);m<r&&(r=m),m>a&&(a=m),E<o&&(o=E),E>s&&(s=E)}}catch(t){u=!0,f=t}finally{try{!c&&v.return&&v.return()}finally{if(u)throw f}}var T=(r+a)/2-(o+s)/2,N=!0,A=!1,L=void 0;try{for(var C,w=t[Symbol.iterator]();!(N=(C=w.next()).done);N=!0){var _=C.value;g.set(_,g.get(_)+T)}}catch(t){A=!0,L=t}finally{try{!N&&w.return&&w.return()}finally{if(A)throw L}}})}return g},y=function(t){var e=0,i=0,r=0,n=0;if(t.forEach(function(t){t.left?l[h.get(t.left)]-l[h.get(t.right)]>=0?e++:i++:d[h.get(t.top)]-d[h.get(t.bottom)]>=0?r++:n++}),e>i&&r>n)for(var o=0;o<h.size;o++)l[o]=-1*l[o],d[o]=-1*d[o];else if(e>i)for(var a=0;a<h.size;a++)l[a]=-1*l[a];else if(r>n)for(var s=0;s<h.size;s++)d[s]=-1*d[s]},m=function(t){var e=[],i=new o,r=new Set,n=0;return t.forEach(function(o,a){if(!r.has(a)){e[n]=[];var s=a;for(i.push(s),r.add(s),e[n].push(s);0!=i.length;)s=i.shift(),t.get(s).forEach(function(t){r.has(t.id)||(i.push(t.id),r.add(t.id),e[n].push(t.id))});n++}}),e},E=function(t){var e=new Map;return t.forEach(function(t,i){e.set(i,[])}),t.forEach(function(t,i){t.forEach(function(t){e.get(i).push(t),e.get(t.id).push({id:i,gap:t.gap,direction:t.direction})})}),e},T=function(t){var e=new Map;return t.forEach(function(t,i){e.set(i,[])}),t.forEach(function(t,i){t.forEach(function(t){e.get(t.id).push({id:i,gap:t.gap,direction:t.direction})})}),e},N=[],A=[],L=!1,C=!1,w=new Set,_=new Map,M=new Map,x=[];if(e.fixedNodeConstraint&&e.fixedNodeConstraint.forEach(function(t){w.add(t.nodeId)}),e.relativePlacementConstraint&&(e.relativePlacementConstraint.forEach(function(t){t.left?(_.has(t.left)?_.get(t.left).push({id:t.right,gap:t.gap,direction:"horizontal"}):_.set(t.left,[{id:t.right,gap:t.gap,direction:"horizontal"}]),_.has(t.right)||_.set(t.right,[])):(_.has(t.top)?_.get(t.top).push({id:t.bottom,gap:t.gap,direction:"vertical"}):_.set(t.top,[{id:t.bottom,gap:t.gap,direction:"vertical"}]),_.has(t.bottom)||_.set(t.bottom,[]))}),x=m(M=E(_))),n.TRANSFORM_ON_CONSTRAINT_HANDLING){if(e.fixedNodeConstraint&&e.fixedNodeConstraint.length>1)e.fixedNodeConstraint.forEach(function(t,e){N[e]=[t.position.x,t.position.y],A[e]=[l[h.get(t.nodeId)],d[h.get(t.nodeId)]]}),L=!0;else if(e.alignmentConstraint)!function(){var t=0;if(e.alignmentConstraint.vertical){for(var i=e.alignmentConstraint.vertical,n=0;n<i.length;n++)!function(e){var n=new Set;i[e].forEach(function(t){n.add(t)});var o=new Set([].concat(r(n)).filter(function(t){return w.has(t)})),a=void 0;a=o.size>0?l[h.get(o.values().next().value)]:p(n).x,i[e].forEach(function(e){N[t]=[a,d[h.get(e)]],A[t]=[l[h.get(e)],d[h.get(e)]],t++})}(n);L=!0}if(e.alignmentConstraint.horizontal){for(var o=e.alignmentConstraint.horizontal,a=0;a<o.length;a++)!function(e){var i=new Set;o[e].forEach(function(t){i.add(t)});var n=new Set([].concat(r(i)).filter(function(t){return w.has(t)})),a=void 0;a=n.size>0?l[h.get(n.values().next().value)]:p(i).y,o[e].forEach(function(e){N[t]=[l[h.get(e)],a],A[t]=[l[h.get(e)],d[h.get(e)]],t++})}(a);L=!0}e.relativePlacementConstraint&&(C=!0)}();else if(e.relativePlacementConstraint){for(var I=0,O=0,D=0;D<x.length;D++)x[D].length>I&&(I=x[D].length,O=D);if(I<M.size/2)y(e.relativePlacementConstraint),L=!1,C=!1;else{var R=new Map,b=new Map,F=[];x[O].forEach(function(t){_.get(t).forEach(function(e){"horizontal"==e.direction?(R.has(t)?R.get(t).push(e):R.set(t,[e]),R.has(e.id)||R.set(e.id,[]),F.push({left:t,right:e.id})):(b.has(t)?b.get(t).push(e):b.set(t,[e]),b.has(e.id)||b.set(e.id,[]),F.push({top:t,bottom:e.id}))})}),y(F),C=!1;var G=v(R,"horizontal"),S=v(b,"vertical");x[O].forEach(function(t,e){A[e]=[l[h.get(t)],d[h.get(t)]],N[e]=[],G.has(t)?N[e][0]=G.get(t):N[e][0]=l[h.get(t)],S.has(t)?N[e][1]=S.get(t):N[e][1]=d[h.get(t)]}),L=!0}}if(L){for(var P=void 0,U=a.transpose(N),k=a.transpose(A),Y=0;Y<U.length;Y++)U[Y]=a.multGamma(U[Y]),k[Y]=a.multGamma(k[Y]);var H=a.multMat(U,a.transpose(k)),X=s.svd(H);P=a.multMat(X.V,a.transpose(X.U));for(var z=0;z<h.size;z++){var B=[l[z],d[z]],V=[P[0][0],P[1][0]],W=[P[0][1],P[1][1]];l[z]=a.dotProduct(B,V),d[z]=a.dotProduct(B,W)}C&&y(e.relativePlacementConstraint)}}if(n.ENFORCE_CONSTRAINTS){if(e.fixedNodeConstraint&&e.fixedNodeConstraint.length>0){var j={x:0,y:0};e.fixedNodeConstraint.forEach(function(t,e){var i,r={x:l[h.get(t.nodeId)],y:d[h.get(t.nodeId)]},n=(i=t.position,{x:i.x-r.x,y:i.y-r.y});j.x+=n.x,j.y+=n.y}),j.x/=e.fixedNodeConstraint.length,j.y/=e.fixedNodeConstraint.length,l.forEach(function(t,e){l[e]+=j.x}),d.forEach(function(t,e){d[e]+=j.y}),e.fixedNodeConstraint.forEach(function(t){l[h.get(t.nodeId)]=t.position.x,d[h.get(t.nodeId)]=t.position.y})}if(e.alignmentConstraint){if(e.alignmentConstraint.vertical)for(var $=e.alignmentConstraint.vertical,q=0;q<$.length;q++)!function(t){var e=new Set;$[t].forEach(function(t){e.add(t)});var i=new Set([].concat(r(e)).filter(function(t){return w.has(t)})),n=void 0;n=i.size>0?l[h.get(i.values().next().value)]:p(e).x,e.forEach(function(t){w.has(t)||(l[h.get(t)]=n)})}(q);if(e.alignmentConstraint.horizontal)for(var K=e.alignmentConstraint.horizontal,Z=0;Z<K.length;Z++)!function(t){var e=new Set;K[t].forEach(function(t){e.add(t)});var i=new Set([].concat(r(e)).filter(function(t){return w.has(t)})),n=void 0;n=i.size>0?d[h.get(i.values().next().value)]:p(e).y,e.forEach(function(t){w.has(t)||(d[h.get(t)]=n)})}(Z)}e.relativePlacementConstraint&&function(){var t=new Map,i=new Map,r=new Map,n=new Map,o=new Map,a=new Map,s=new Set,g=new Set;if(w.forEach(function(t){s.add(t),g.add(t)}),e.alignmentConstraint){if(e.alignmentConstraint.vertical)for(var c=e.alignmentConstraint.vertical,u=function(e){r.set("dummy"+e,[]),c[e].forEach(function(i){t.set(i,"dummy"+e),r.get("dummy"+e).push(i),w.has(i)&&s.add("dummy"+e)}),o.set("dummy"+e,l[h.get(c[e][0])])},f=0;f<c.length;f++)u(f);if(e.alignmentConstraint.horizontal)for(var p=e.alignmentConstraint.horizontal,y=function(t){n.set("dummy"+t,[]),p[t].forEach(function(e){i.set(e,"dummy"+t),n.get("dummy"+t).push(e),w.has(e)&&g.add("dummy"+t)}),a.set("dummy"+t,d[h.get(p[t][0])])},N=0;N<p.length;N++)y(N)}var A=new Map,L=new Map,C=function(e){_.get(e).forEach(function(r){var n=void 0,o=void 0;"horizontal"==r.direction?(n=t.get(e)?t.get(e):e,o=t.get(r.id)?{id:t.get(r.id),gap:r.gap,direction:r.direction}:r,A.has(n)?A.get(n).push(o):A.set(n,[o]),A.has(o.id)||A.set(o.id,[])):(n=i.get(e)?i.get(e):e,o=i.get(r.id)?{id:i.get(r.id),gap:r.gap,direction:r.direction}:r,L.has(n)?L.get(n).push(o):L.set(n,[o]),L.has(o.id)||L.set(o.id,[]))})},M=!0,x=!1,I=void 0;try{for(var O,D=_.keys()[Symbol.iterator]();!(M=(O=D.next()).done);M=!0){var R=O.value;C(R)}}catch(t){x=!0,I=t}finally{try{!M&&D.return&&D.return()}finally{if(x)throw I}}var b=E(A),F=E(L),G=m(b),S=m(F),P=T(A),U=T(L),k=[],Y=[];G.forEach(function(t,e){k[e]=[],t.forEach(function(t){0==P.get(t).length&&k[e].push(t)})}),S.forEach(function(t,e){Y[e]=[],t.forEach(function(t){0==U.get(t).length&&Y[e].push(t)})});var H=v(A,"horizontal",s,o,k),X=v(L,"vertical",g,a,Y),z=function(t){r.get(t)?r.get(t).forEach(function(e){l[h.get(e)]=H.get(t)}):l[h.get(t)]=H.get(t)},B=!0,V=!1,W=void 0;try{for(var j,$=H.keys()[Symbol.iterator]();!(B=(j=$.next()).done);B=!0){var q=j.value;z(q)}}catch(t){V=!0,W=t}finally{try{!B&&$.return&&$.return()}finally{if(V)throw W}}var K=function(t){n.get(t)?n.get(t).forEach(function(e){d[h.get(e)]=X.get(t)}):d[h.get(t)]=X.get(t)},Z=!0,Q=!1,J=void 0;try{for(var tt,te=X.keys()[Symbol.iterator]();!(Z=(tt=te.next()).done);Z=!0){var q=tt.value;K(q)}}catch(t){Q=!0,J=t}finally{try{!Z&&te.return&&te.return()}finally{if(Q)throw J}}}()}for(var Q=0;Q<g.length;Q++){var J=g[Q];null==J.getChild()&&J.setCenter(l[h.get(J.id)],d[h.get(J.id)])}},t.exports=h},551:t=>{t.exports=r}},e={};return function i(r){var n=e[r];if(void 0!==n)return n.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,i),o.exports}(45)})()}}]);
@@ -0,0 +1,23 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5269],{25269:(t,e,n)=>{n.d(e,{diagram:()=>tg});var s,i=n(56087),r=n(37916),l=n(78005),a=n(32165),o=n(33948),h=n(6424),c=n(64907);let u=(t,e)=>(0,c.A)(t,"a",-e);var f=n(99507),d=n(68195);function y(t,e){let n=function(t){let e=[];for(let n=0;n<t.length;++n)for(let s=n+1;s<t.length;++s)for(let i of m(t[n],t[s]))i.parentIndex=[n,s],e.push(i);return e}(t),s=n.filter(e=>{var n;return n=e,t.every(t=>g(n,t)<t.radius+1e-10)}),i=0,r=0,l=[];if(s.length>1){let e=b(s);for(let t=0;t<s.length;++t){let n=s[t];n.angle=Math.atan2(n.x-e.x,n.y-e.y)}s.sort((t,e)=>e.angle-t.angle);let n=s[s.length-1];for(let e=0;e<s.length;++e){let a=s[e];r+=(n.x+a.x)*(a.y-n.y);let o={x:(a.x+n.x)/2,y:(a.y+n.y)/2},h=null;for(let e=0;e<a.parentIndex.length;++e)if(n.parentIndex.includes(a.parentIndex[e])){let s=t[a.parentIndex[e]],i=Math.atan2(a.x-s.x,a.y-s.y),r=Math.atan2(n.x-s.x,n.y-s.y),l=r-i;l<0&&(l+=2*Math.PI);let c=r-l/2,u=g(o,{x:s.x+s.radius*Math.sin(c),y:s.y+s.radius*Math.cos(c)});u>2*s.radius&&(u=2*s.radius),(null==h||h.width>u)&&(h={circle:s,width:u,p1:a,p2:n,large:u>s.radius,sweep:!0})}null!=h&&(l.push(h),i+=x(h.circle.radius,h.width),n=a)}}else{let e=t[0];for(let n=1;n<t.length;++n)t[n].radius<e.radius&&(e=t[n]);let n=!1;for(let s=0;s<t.length;++s)if(g(t[s],e)>Math.abs(e.radius-t[s].radius)){n=!0;break}n?i=r=0:(i=e.radius*e.radius*Math.PI,l.push({circle:e,p1:{x:e.x,y:e.y+e.radius},p2:{x:e.x-1e-10,y:e.y+e.radius},width:2*e.radius,large:!0,sweep:!0}))}return r/=2,e&&(e.area=i+r,e.arcArea=i,e.polygonArea=r,e.arcs=l,e.innerPoints=s,e.intersectionPoints=n),i+r}function x(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function g(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function p(t,e,n){return n>=t+e?0:n<=Math.abs(t-e)?Math.PI*Math.min(t,e)*Math.min(t,e):x(t,t-(n*n-e*e+t*t)/(2*n))+x(e,e-(n*n-t*t+e*e)/(2*n))}function m(t,e){let n=g(t,e),s=t.radius,i=e.radius;if(n>=s+i||n<=Math.abs(s-i))return[];let r=(s*s-i*i+n*n)/(2*n),l=Math.sqrt(s*s-r*r),a=t.x+r*(e.x-t.x)/n,o=t.y+r*(e.y-t.y)/n,h=-(e.y-t.y)*(l/n),c=-(e.x-t.x)*(l/n);return[{x:a+h,y:o-c},{x:a-h,y:o+c}]}function b(t){let e={x:0,y:0};for(let n of t)e.x+=n.x,e.y+=n.y;return e.x/=t.length,e.y/=t.length,e}function v(t){let e=Array(t);for(let n=0;n<t;++n)e[n]=0;return e}function M(t,e){return v(t).map(()=>v(e))}function I(t,e){let n=0;for(let s=0;s<t.length;++s)n+=t[s]*e[s];return n}function k(t){return Math.sqrt(I(t,t))}function _(t,e,n){for(let s=0;s<e.length;++s)t[s]=e[s]*n}function w(t,e,n,s,i){for(let r=0;r<t.length;++r)t[r]=e*n[r]+s*i[r]}function E(t,e,n){let s,i=(n=n||{}).maxIterations||200*e.length,r=n.nonZeroDelta||1.05,l=n.zeroDelta||.001,a=n.minErrorDelta||1e-6,o=n.minErrorDelta||1e-5,h=void 0!==n.rho?n.rho:1,c=void 0!==n.chi?n.chi:2,u=void 0!==n.psi?n.psi:-.5,f=void 0!==n.sigma?n.sigma:.5,d=e.length,y=Array(d+1);y[0]=e,y[0].fx=t(e),y[0].id=0;for(let n=0;n<d;++n){let s=e.slice();s[n]=s[n]?s[n]*r:l,y[n+1]=s,y[n+1].fx=t(s),y[n+1].id=n+1}function x(t){for(let e=0;e<t.length;e++)y[d][e]=t[e];y[d].fx=t.fx}let g=(t,e)=>t.fx-e.fx,p=e.slice(),m=e.slice(),b=e.slice(),v=e.slice();for(let e=0;e<i;++e){if(y.sort(g),n.history){let t=y.map(t=>{let e=t.slice();return e.fx=t.fx,e.id=t.id,e});t.sort((t,e)=>t.id-e.id),n.history.push({x:y[0].slice(),fx:y[0].fx,simplex:t})}s=0;for(let t=0;t<d;++t)s=Math.max(s,Math.abs(y[0][t]-y[1][t]));if(Math.abs(y[0].fx-y[d].fx)<a&&s<o)break;for(let t=0;t<d;++t){p[t]=0;for(let e=0;e<d;++e)p[t]+=y[e][t];p[t]/=d}let e=y[d];if(w(m,1+h,p,-h,e),m.fx=t(m),m.fx<y[0].fx)w(v,1+c,p,-c,e),v.fx=t(v),x(v.fx<m.fx?v:m);else if(m.fx>=y[d-1].fx){let n=!1;if(m.fx>e.fx?(w(b,1+u,p,-u,e),b.fx=t(b),b.fx<e.fx?x(b):n=!0):(w(b,1-u*h,p,u*h,e),b.fx=t(b),b.fx<m.fx?x(b):n=!0),n){if(f>=1)break;for(let e=1;e<y.length;++e)w(y[e],1-f,y[0],f,y[e]),y[e].fx=t(y[e])}}else x(m)}return y.sort(g),{fx:y[0].fx,x:y[0]}}function S(t,e={}){e.maxIterations=e.maxIterations||500;let n=e.initialLayout||z,s=e.lossFunction||A,i=function(t,e={}){let n=e.distinct,s=t.map(t=>Object.assign({},t));function i(t){return t.join(";")}if(n){let t=new Map;for(let e of s)for(let n=0;n<e.sets.length;n++){let s=String(e.sets[n]);t.set(s,e.size+(t.get(s)||0));for(let i=n+1;i<e.sets.length;i++){let n=String(e.sets[i]),r=`${s};${n}`,l=`${n};${s}`;t.set(r,e.size+(t.get(r)||0)),t.set(l,e.size+(t.get(l)||0))}}for(let e of s)e.sets.length<3&&(e.size=t.get(i(e.sets)))}let r=[],l=new Set;for(let t of s)if(1===t.sets.length)r.push(t.sets[0]);else if(2===t.sets.length){let e=t.sets[0],n=t.sets[1];l.add(i(t.sets)),l.add(i([n,e]))}r.sort((t,e)=>t===e?0:t<e?-1:1);for(let t=0;t<r.length;++t){let e=r[t];for(let n=t+1;n<r.length;++n){let t=r[n];l.has(i([e,t]))||s.push({sets:[e,t],size:0})}}return s}(t,e),r=n(i,e),l=Object.keys(r),a=[];for(let t of l)a.push(r[t].x),a.push(r[t].y);let o=E(t=>{let e={};for(let n=0;n<l.length;++n){let s=l[n];e[s]={x:t[2*n],y:t[2*n+1],radius:r[s].radius}}return s(e,i)},a,e).x;for(let t=0;t<l.length;++t){let e=l[t];r[e].x=o[2*t],r[e].y=o[2*t+1]}return r}function T(t,e,n){return Math.min(t,e)*Math.min(t,e)*Math.PI<=n+1e-10?Math.abs(t-e):function(t,e,n,s){let i=(s=s||{}).maxIterations||100,r=s.tolerance||1e-10,l=t(e),a=t(n),o=n-e;if(l*a>0)throw"Initial bisect points must have opposite signs";if(0===l)return e;if(0===a)return n;for(let n=0;n<i;++n){let n=e+(o/=2),s=t(n);if(s*l>=0&&(e=n),Math.abs(o)<r||0===s)return n}return e+o}(s=>p(t,e,s)-n,0,t+e)}function z(t,e={}){let n=function(t,e){let n=e&&e.lossFunction?e.lossFunction:A,s={},i={};for(let e of t)if(1===e.sets.length){let t=e.sets[0];s[t]={x:1e10,y:1e10,rowid:s.length,size:e.size,radius:Math.sqrt(e.size/Math.PI)},i[t]=[]}for(let e of t=t.filter(t=>2===t.sets.length)){let t=null!=e.weight?e.weight:1,n=e.sets[0],r=e.sets[1];e.size+1e-10>=Math.min(s[n].size,s[r].size)&&(t=0),i[n].push({set:r,size:e.size,weight:t}),i[r].push({set:n,size:e.size,weight:t})}let r=[];function l(t,e){return e.size-t.size}Object.keys(i).forEach(t=>{let e=0;for(let n=0;n<i[t].length;++n)e+=i[t][n].size*i[t][n].weight;r.push({set:t,size:e})}),r.sort(l);let a={};function o(t){return t.set in a}function h(t,e){s[e].x=t.x,s[e].y=t.y,a[e]=!0}h({x:0,y:0},r[0].set);for(let e=1;e<r.length;++e){let a=r[e].set,u=i[a].filter(o),f=s[a];if(u.sort(l),0===u.length)throw"ERROR: missing pairwise overlap information";let d=[];for(var c=0;c<u.length;++c){let t=s[u[c].set],e=T(f.radius,t.radius,u[c].size);d.push({x:t.x+e,y:t.y}),d.push({x:t.x-e,y:t.y}),d.push({y:t.y+e,x:t.x}),d.push({y:t.y-e,x:t.x});for(let n=c+1;n<u.length;++n){let i=s[u[n].set],r=T(f.radius,i.radius,u[n].size),l=m({x:t.x,y:t.y,radius:e},{x:i.x,y:i.y,radius:r});d.push(...l)}}let y=1e50,x=d[0];for(let e of d){s[a].x=e.x,s[a].y=e.y;let i=n(s,t);i<y&&(y=i,x=e)}h(x,a)}return s}(t,e),s=e.lossFunction||A;if(t.length>=8){let i=function(t,e={}){let n,s,i=e.restarts||10,r=[],l={};for(let e of t)1===e.sets.length&&(l[e.sets[0]]=r.length,r.push(e));let{distances:a,constraints:o}=(n=M(r.length,r.length),s=M(r.length,r.length),t.filter(t=>2===t.sets.length).forEach(t=>{let e=l[t.sets[0]],i=l[t.sets[1]],a=T(Math.sqrt(r[e].size/Math.PI),Math.sqrt(r[i].size/Math.PI),t.size);n[e][i]=n[i][e]=a;let o=0;t.size+1e-10>=Math.min(r[e].size,r[i].size)?o=1:t.size<=1e-10&&(o=-1),s[e][i]=s[i][e]=o}),{distances:n,constraints:s}),h=k(a.map(k))/a.length;a=a.map(t=>t.map(t=>t/h));let c=(t,e)=>(function(t,e,n,s){for(let t=0;t<e.length;++t)e[t]=0;let i=0;for(let r=0;r<n.length;++r){let l=t[2*r],a=t[2*r+1];for(let o=r+1;o<n.length;++o){let h=t[2*o],c=t[2*o+1],u=n[r][o],f=s[r][o],d=(h-l)*(h-l)+(c-a)*(c-a),y=Math.sqrt(d),x=d-u*u;f>0&&y<=u||f<0&&y>=u||(i+=2*x*x,e[2*r]+=4*x*(l-h),e[2*r+1]+=4*x*(a-c),e[2*o]+=4*x*(h-l),e[2*o+1]+=4*x*(c-a))}}return i})(t,e,a,o),u=null;for(let t=0;t<i;++t){let t=function(t,e,n){let s,i,r,l={x:e.slice(),fx:0,fxprime:e.slice()},a={x:e.slice(),fx:0,fxprime:e.slice()},o=e.slice(),h=1;r=(n=n||{}).maxIterations||20*e.length,l.fx=t(l.x,l.fxprime),_(s=l.fxprime.slice(),l.fxprime,-1);for(let e=0;e<r;++e){if(h=function(t,e,n,s,i,r,l){let a=n.fx,o=I(n.fxprime,e),h=a,c=a,u=o,f=0;function d(c,f,d){for(let y=0;y<16;++y)if(i=(c+f)/2,w(s.x,1,n.x,i,e),h=s.fx=t(s.x,s.fxprime),u=I(s.fxprime,e),h>a+r*i*o||h>=d)f=i;else{if(Math.abs(u)<=-l*o)return i;u*(f-c)>=0&&(f=c),c=i,d=h}return 0}i=i||1,r=r||1e-6,l=l||.1;for(let y=0;y<10;++y){if(w(s.x,1,n.x,i,e),h=s.fx=t(s.x,s.fxprime),u=I(s.fxprime,e),h>a+r*i*o||y&&h>=c)return d(f,i,c);if(Math.abs(u)<=-l*o)break;if(u>=0)return d(i,f,h);c=h,f=i,i*=2}return i}(t,s,l,a,h),n.history&&n.history.push({x:l.x.slice(),fx:l.fx,fxprime:l.fxprime.slice(),alpha:h}),h){w(o,1,a.fxprime,-1,l.fxprime);let t=I(l.fxprime,l.fxprime);w(s,Math.max(0,I(o,a.fxprime)/t),s,-1,a.fxprime),i=l,l=a,a=i}else _(s,l.fxprime,-1);if(1e-5>=k(l.fxprime))break}return n.history&&n.history.push({x:l.x.slice(),fx:l.fx,fxprime:l.fxprime.slice(),alpha:h}),l}(c,v(2*a.length).map(Math.random),e);(!u||t.fx<u.fx)&&(u=t)}let f=u.x,d={};for(let t=0;t<r.length;++t){let e=r[t];d[e.sets[0]]={x:f[2*t]*h,y:f[2*t+1]*h,radius:Math.sqrt(e.size/Math.PI)}}if(e.history)for(let t of e.history)_(t.x,h);return d}(t,e);s(i,t)+1e-8<s(n,t)&&(n=i)}return n}function A(t,e){let n=0;for(let s of e){let e;if(1!==s.sets.length){if(2===s.sets.length){let n=t[s.sets[0]],i=t[s.sets[1]];e=p(n.radius,i.radius,g(n,i))}else e=y(s.sets.map(e=>t[e]));n+=(null!=s.weight?s.weight:1)*(e-s.size)*(e-s.size)}}return n}function K(t,e){let n=0;for(let s of e){let e;if(1===s.sets.length)continue;if(2===s.sets.length){let n=t[s.sets[0]],i=t[s.sets[1]];e=p(n.radius,i.radius,g(n,i))}else e=y(s.sets.map(e=>t[e]));let i=null!=s.weight?s.weight:1,r=Math.log((e+1)/(s.size+1));n+=i*r*r}return n}function R(t){let e=e=>({max:t.reduce((t,n)=>Math.max(t,n[e]+n.radius),-1/0),min:t.reduce((t,n)=>Math.min(t,n[e]-n.radius),1/0)});return{xRange:e("x"),yRange:e("y")}}function $(t,e,n){null==e&&(e=Math.PI/2);let s=C(t).map(t=>Object.assign({},t)),i=function(t){function e(t){return t.parent!==t&&(t.parent=e(t.parent)),t.parent}t.forEach(t=>{t.parent=t});for(let i=0;i<t.length;++i)for(let r=i+1;r<t.length;++r){var n,s;let l=t[i].radius+t[r].radius;g(t[i],t[r])+1e-10<l&&(n=t[r],s=t[i],e(n).parent=e(s))}let i=new Map;for(let n=0;n<t.length;++n){let s=e(t[n]).parent.setid;i.has(s)||i.set(s,[]),i.get(s).push(t[n])}return t.forEach(t=>{delete t.parent}),Array.from(i.values())}(s);for(let t of i){!function(t,e,n){if(null==n?t.sort((t,e)=>e.radius-t.radius):t.sort(n),t.length>0){let e=t[0].x,n=t[0].y;for(let s of t)s.x-=e,s.y-=n}if(2===t.length&&g(t[0],t[1])<Math.abs(t[1].radius-t[0].radius)&&(t[1].x=t[0].x+t[0].radius-t[1].radius-1e-10,t[1].y=t[0].y),t.length>1){let n=Math.atan2(t[1].x,t[1].y)-e,s=Math.cos(n),i=Math.sin(n);for(let e of t){let t=e.x,n=e.y;e.x=s*t-i*n,e.y=i*t+s*n}}if(t.length>2){let n=Math.atan2(t[2].x,t[2].y)-e;for(;n<0;)n+=2*Math.PI;for(;n>2*Math.PI;)n-=2*Math.PI;if(n>Math.PI){let e=t[1].y/(1e-10+t[1].x);for(let n of t){var s=(n.x+e*n.y)/(1+e*e);n.x=2*s-n.x,n.y=2*s*e-n.y}}}}(t,e,n);let s=R(t);t.size=(s.xRange.max-s.xRange.min)*(s.yRange.max-s.yRange.min),t.bounds=s}i.sort((t,e)=>e.size-t.size);let r=(s=i[0]).bounds,l=(r.xRange.max-r.xRange.min)/50;function a(t,e,n){let i,a;if(!t)return;let o=t.bounds;if(e)i=r.xRange.max-o.xRange.min+l;else{i=r.xRange.max-o.xRange.max;let t=(o.xRange.max-o.xRange.min)/2-(r.xRange.max-r.xRange.min)/2;t<0&&(i+=t)}if(n)a=r.yRange.max-o.yRange.min+l;else{a=r.yRange.max-o.yRange.max;let t=(o.yRange.max-o.yRange.min)/2-(r.yRange.max-r.yRange.min)/2;t<0&&(a+=t)}for(let e of t)e.x+=i,e.y+=a,s.push(e)}let o=1;for(;o<i.length;)a(i[o],!0,!1),a(i[o+1],!1,!0),a(i[o+2],!0,!0),o+=3,r=R(s);return O(s)}function N(t,e,n,s,i){let r,l,a=C(t);e-=2*s,n-=2*s;let{xRange:o,yRange:h}=R(a);if(o.max===o.min||h.max===h.min)return console.log("not scaling solution: zero size detected"),t;if(i){let t=2*Math.sqrt(i/Math.PI);r=e/t,l=n/t}else r=e/(o.max-o.min),l=n/(h.max-h.min);let c=Math.min(l,r),u=(e-(o.max-o.min)*c)/2,f=(n-(h.max-h.min)*c)/2;return O(a.map(t=>({radius:c*t.radius,x:s+u+(t.x-o.min)*c,y:s+f+(t.y-h.min)*c,setid:t.setid})))}function O(t){let e={};for(let n of t)e[n.setid]=n;return e}function C(t){return Object.keys(t).map(e=>Object.assign(t[e],{setid:e}))}function D(t,e){return function(n){let s=this,i=t[n.sets[0]].radius||50,r=e(n)||"",l=r.split(/\s+/).reverse(),a=(r.length+l.length)/3,o=l.pop(),h=[o],c=0;s.textContent=null;let u=[];function f(t){let e=s.ownerDocument.createElementNS(s.namespaceURI,"tspan");return e.textContent=t,u.push(e),s.append(e),e}let d=f(o);for(;o=l.pop();){h.push(o);let t=h.join(" ");d.textContent=t,t.length>a&&d.getComputedTextLength()>i&&(h.pop(),d.textContent=h.join(" "),h=[o],d=f(o),c++)}let y=.35-1.1*c/2,x=s.getAttribute("x"),g=s.getAttribute("y");u.forEach((t,e)=>{t.setAttribute("x",x),t.setAttribute("y",g),t.setAttribute("dy",`${y+1.1*e}em`)})}}function F(t,e,n){let s=e[0].radius-g(e[0],t);for(let n=1;n<e.length;++n){let i=e[n].radius-g(e[n],t);i<=s&&(s=i)}for(let e=0;e<n.length;++e){let i=g(n[e],t)-n[e].radius;i<=s&&(s=i)}return s}function L(t,e,n){let s={},i=function(t){let e={},n=Object.keys(t);for(let t of n)e[t]=[];for(let s=0;s<n.length;s++){let i=n[s],r=t[i];for(let l=s+1;l<n.length;++l){let s=n[l],a=t[s],o=g(r,a);o+a.radius<=r.radius+1e-10?e[s].push(i):o+r.radius<=a.radius+1e-10&&e[i].push(s)}}return e}(t);for(let r=0;r<e.length;++r){let l=e[r].sets,a={},o={};for(let t=0;t<l.length;++t){a[l[t]]=!0;let e=i[l[t]];for(let t=0;t<e.length;++t)o[e[t]]=!0}let h=[],c=[];for(let e in t)e in a?h.push(t[e]):e in o||c.push(t[e]);let u=function t(e,n,s){let i=[];for(let t of e)i.push({x:t.x,y:t.y}),i.push({x:t.x+t.radius/2,y:t.y}),i.push({x:t.x-t.radius/2,y:t.y}),i.push({x:t.x,y:t.y+t.radius/2}),i.push({x:t.x,y:t.y-t.radius/2});let r=i[0],l=F(i[0],e,n);for(let t=1;t<i.length;++t){let s=F(i[t],e,n);s>=l&&(r=i[t],l=s)}let a=E(t=>-1*F({x:t[0],y:t[1]},e,n),[r.x,r.y],{maxIterations:500,minErrorDelta:1e-10}).x,o={x:s?0:a[0],y:a[1]},h=!0;for(let t of e)if(g(o,t)>t.radius){h=!1;break}for(let t of n)if(g(o,t)<t.radius){h=!1;break}if(h)return o;if(1==e.length)return{x:e[0].x,y:e[0].y};let c={};return(y(e,c),0===c.arcs.length)?{x:0,y:-1e3,disjoint:!0}:1==c.arcs.length?{x:c.arcs[0].circle.x,y:c.arcs[0].circle.y}:n.length?t(e,[]):b(c.arcs.map(t=>t.p1))}(h,c,n);s[l]=u,u.disjoint&&e[r].size>0&&console.log("WARNING: area "+l+" not represented on screen")}return s}function j(t){if(0===t.length)return[];let e={};return y(t,e),e.arcs}function P(t,e){if(0===t.length)return"M 0 0";let n=Math.pow(10,e||0),s=null!=e?t=>Math.round(t*n)/n:t=>t;if(1==t.length){var i,r,l;let e,n=t[0].circle;return i=s(n.x),r=s(n.y),l=s(n.radius),(e=[]).push("\nM",i,r),e.push("\nm",-l,0),e.push("\na",l,l,0,1,0,2*l,0),e.push("\na",l,l,0,1,0,-(2*l),0),e.join(" ")}let a=["\nM",s(t[0].p2.x),s(t[0].p2.y)];for(let e of t){let t=s(e.circle.radius);a.push("\nA",t,t,0,+!!e.large,+!!e.sweep,s(e.p1.x),s(e.p1.y))}return a.join(" ")}var U=n(94529),q=function(){var t=(0,a.K2)(function(t,e,n,s){for(n=n||{},s=t.length;s--;n[t[s]]=e);return n},"o"),e=[5,8],n=[7,8,11,12,17,19,22,24],s=[1,17],i=[1,18],r=[7,8,11,12,14,15,16,17,19,20,21,22,24,27],l=[1,31],o=[1,39],h=[7,8,11,12,17,19,22,24,27],c=[1,57],u=[1,56],f=[1,58],d=[1,59],y=[1,60],x=[7,8,11,12,16,17,19,20,22,24,27,31,32,33],g={trace:(0,a.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,optNewlines:4,VENN:5,document:6,EOF:7,NEWLINE:8,line:9,statement:10,TITLE:11,SET:12,identifier:13,BRACKET_LABEL:14,COLON:15,NUMERIC:16,UNION:17,identifierList:18,TEXT:19,IDENTIFIER:20,STRING:21,INDENT_TEXT:22,indentedTextTail:23,STYLE:24,stylesOpt:25,styleField:26,COMMA:27,styleValue:28,valueTokens:29,valueToken:30,HEXCOLOR:31,RGBCOLOR:32,RGBACOLOR:33,$accept:0,$end:1},terminals_:{2:"error",5:"VENN",7:"EOF",8:"NEWLINE",11:"TITLE",12:"SET",14:"BRACKET_LABEL",15:"COLON",16:"NUMERIC",17:"UNION",19:"TEXT",20:"IDENTIFIER",21:"STRING",22:"INDENT_TEXT",24:"STYLE",27:"COMMA",31:"HEXCOLOR",32:"RGBCOLOR",33:"RGBACOLOR"},productions_:[0,[3,4],[4,0],[4,2],[6,0],[6,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,5],[10,2],[10,3],[10,4],[10,5],[10,3],[10,3],[10,3],[10,4],[10,4],[10,2],[10,3],[23,1],[23,1],[23,1],[23,2],[23,2],[25,1],[25,3],[26,3],[28,1],[28,1],[29,1],[29,2],[30,1],[30,1],[30,1],[30,1],[30,1],[18,1],[18,3],[13,1],[13,1]],performAction:(0,a.K2)(function(t,e,n,s,i,r,l){var a=r.length-1;switch(i){case 1:return r[a-1];case 2:case 3:case 4:case 6:this.$=[];break;case 5:case 35:r[a-1].push(r[a]),this.$=r[a-1];break;case 7:case 22:case 32:case 36:case 37:case 38:case 39:case 40:case 43:case 44:this.$=r[a];break;case 8:s.setDiagramTitle(r[a].substr(6)),this.$=r[a].substr(6);break;case 9:s.addSubsetData([r[a]],void 0,void 0),s.setIndentMode&&s.setIndentMode(!0);break;case 10:s.addSubsetData([r[a-1]],r[a],void 0),s.setIndentMode&&s.setIndentMode(!0);break;case 11:s.addSubsetData([r[a-2]],void 0,parseFloat(r[a])),s.setIndentMode&&s.setIndentMode(!0);break;case 12:s.addSubsetData([r[a-3]],r[a-2],parseFloat(r[a])),s.setIndentMode&&s.setIndentMode(!0);break;case 13:if(r[a].length<2)throw Error("union requires multiple identifiers");s.validateUnionIdentifiers&&s.validateUnionIdentifiers(r[a]),s.addSubsetData(r[a],void 0,void 0),s.setIndentMode&&s.setIndentMode(!0);break;case 14:if(r[a-1].length<2)throw Error("union requires multiple identifiers");s.validateUnionIdentifiers&&s.validateUnionIdentifiers(r[a-1]),s.addSubsetData(r[a-1],r[a],void 0),s.setIndentMode&&s.setIndentMode(!0);break;case 15:if(r[a-2].length<2)throw Error("union requires multiple identifiers");s.validateUnionIdentifiers&&s.validateUnionIdentifiers(r[a-2]),s.addSubsetData(r[a-2],void 0,parseFloat(r[a])),s.setIndentMode&&s.setIndentMode(!0);break;case 16:if(r[a-3].length<2)throw Error("union requires multiple identifiers");s.validateUnionIdentifiers&&s.validateUnionIdentifiers(r[a-3]),s.addSubsetData(r[a-3],r[a-2],parseFloat(r[a])),s.setIndentMode&&s.setIndentMode(!0);break;case 17:case 18:case 19:s.addTextData(r[a-1],r[a],void 0);break;case 20:case 21:s.addTextData(r[a-2],r[a-1],r[a]);break;case 23:s.addStyleData(r[a-1],r[a]);break;case 24:case 25:case 26:var o=s.getCurrentSets();if(!o)throw Error("text requires set");s.addTextData(o,r[a],void 0);break;case 27:case 28:var o=s.getCurrentSets();if(!o)throw Error("text requires set");s.addTextData(o,r[a-1],r[a]);break;case 29:case 41:case 34:this.$=[r[a]];break;case 30:case 42:this.$=[...r[a-2],r[a]];break;case 31:this.$=[r[a-2],r[a]];break;case 33:this.$=r[a].join(" ")}},"anonymous"),table:[t(e,[2,2],{3:1,4:2}),{1:[3]},{5:[1,3],8:[1,4]},t(n,[2,4],{6:5}),t(e,[2,3]),{7:[1,6],8:[1,8],9:7,10:9,11:[1,10],12:[1,11],17:[1,12],19:[1,13],22:[1,14],24:[1,15]},{1:[2,1]},t(n,[2,5]),t(n,[2,6]),t(n,[2,7]),t(n,[2,8]),{13:16,20:s,21:i},{13:20,18:19,20:s,21:i},{13:20,18:21,20:s,21:i},{16:[1,25],20:[1,23],21:[1,24],23:22},{13:20,18:26,20:s,21:i},t(n,[2,9],{14:[1,27],15:[1,28]}),t(r,[2,43]),t(r,[2,44]),t(n,[2,13],{14:[1,29],15:[1,30],27:l}),t(r,[2,41]),{16:[1,34],20:[1,32],21:[1,33],27:l},t(n,[2,22]),t(n,[2,24],{14:[1,35]}),t(n,[2,25],{14:[1,36]}),t(n,[2,26]),{20:o,25:37,26:38,27:l},t(n,[2,10],{15:[1,40]}),{16:[1,41]},t(n,[2,14],{15:[1,42]}),{16:[1,43]},{13:44,20:s,21:i},t(n,[2,17],{14:[1,45]}),t(n,[2,18],{14:[1,46]}),t(n,[2,19]),t(n,[2,27]),t(n,[2,28]),t(n,[2,23],{27:[1,47]}),t(h,[2,29]),{15:[1,48]},{16:[1,49]},t(n,[2,11]),{16:[1,50]},t(n,[2,15]),t(r,[2,42]),t(n,[2,20]),t(n,[2,21]),{20:o,26:51},{16:c,20:u,21:[1,53],28:52,29:54,30:55,31:f,32:d,33:y},t(n,[2,12]),t(n,[2,16]),t(h,[2,30]),t(h,[2,31]),t(h,[2,32]),t(h,[2,33],{30:61,16:c,20:u,31:f,32:d,33:y}),t(x,[2,34]),t(x,[2,36]),t(x,[2,37]),t(x,[2,38]),t(x,[2,39]),t(x,[2,40]),t(x,[2,35])],defaultActions:{6:[2,1]},parseError:(0,a.K2)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,a.K2)(function(t){var e=this,n=[0],s=[],i=[null],r=[],l=this.table,o="",h=0,c=0,u=0,f=r.slice.call(arguments,1),d=Object.create(this.lexer),y={};for(var x in this.yy)Object.prototype.hasOwnProperty.call(this.yy,x)&&(y[x]=this.yy[x]);d.setInput(t,y),y.lexer=d,y.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;r.push(g);var p=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=s.pop()||d.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.parseError?this.parseError=y.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,a.K2)(function(t){n.length=n.length-2*t,i.length=i.length-t,r.length=r.length-t},"popStack"),(0,a.K2)(m,"lex");for(var b,v,M,I,k,_,w,E,S,T={};;){if(M=n[n.length-1],this.defaultActions[M]?I=this.defaultActions[M]:(null==b&&(b=m()),I=l[M]&&l[M][b]),void 0===I||!I.length||!I[0]){var z="";for(_ in S=[],l[M])this.terminals_[_]&&_>2&&S.push("'"+this.terminals_[_]+"'");z=d.showPosition?"Parse error on line "+(h+1)+":\n"+d.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(z,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:g,expected:S})}if(I[0]instanceof Array&&I.length>1)throw Error("Parse Error: multiple actions possible at state: "+M+", token: "+b);switch(I[0]){case 1:n.push(b),i.push(d.yytext),r.push(d.yylloc),n.push(I[1]),b=null,v?(b=v,v=null):(c=d.yyleng,o=d.yytext,h=d.yylineno,g=d.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[I[1]][1],T.$=i[i.length-w],T._$={first_line:r[r.length-(w||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(w||1)].first_column,last_column:r[r.length-1].last_column},p&&(T._$.range=[r[r.length-(w||1)].range[0],r[r.length-1].range[1]]),void 0!==(k=this.performAction.apply(T,[o,c,h,y,I[1],i,r].concat(f))))return k;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),r=r.slice(0,-1*w)),n.push(this.productions_[I[1]][0]),i.push(T.$),r.push(T._$),E=l[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0},"parse")};function p(){this.yy={}}return g.lexer={EOF:1,parseError:(0,a.K2)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.K2)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,a.K2)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,a.K2)(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,a.K2)(function(){return this._more=!0,this},"more"),reject:(0,a.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,a.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.K2)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.K2)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,a.K2)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.K2)(function(t,e){var n,s,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var r in i)this[r]=i[r];return!1},"test_match"),next:(0,a.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,s,i=this._currentRules(),r=0;r<i.length;r++)if((n=this._input.match(this.rules[i[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,a.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,a.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,a.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.K2)(function(t,e,n,s){switch(n){case 0:case 1:case 2:case 4:case 7:case 8:break;case 3:if(t.getIndentMode&&t.getIndentMode())return t.consumeIndentText=!0,this.begin("INITIAL"),22;break;case 5:t.setIndentMode&&t.setIndentMode(!1),this.begin("INITIAL"),this.unput(e.yytext);break;case 6:return this.begin("bol"),8;case 9:return 7;case 10:return 11;case 11:return 5;case 12:return 12;case 13:return 17;case 14:if(!t.consumeIndentText)return 19;t.consumeIndentText=!1;break;case 15:return 24;case 16:return e.yytext=e.yytext.slice(2,-2),14;case 17:return e.yytext=e.yytext.slice(1,-1).trim(),14;case 18:return 16;case 19:return 31;case 20:return 33;case 21:return 32;case 22:return 20;case 23:return 21;case 24:return 27;case 25:return 15}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[ \t]+(?=[\n\r]))/i,/^(?:[ \t]+(?=text\b))/i,/^(?:[ \t]+)/i,/^(?:[^ \t\n\r])/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[ \t]+)/i,/^(?:$)/i,/^(?:title\s[^#\n;]+)/i,/^(?:venn-beta\b)/i,/^(?:set\b)/i,/^(?:union\b)/i,/^(?:text\b)/i,/^(?:style\b)/i,/^(?:\["[^\"]*"\])/i,/^(?:\[[^\]\"]+\])/i,/^(?:[+-]?(\d+(\.\d+)?|\.\d+))/i,/^(?:#[0-9a-fA-F]{3,8})/i,/^(?:rgba\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:rgb\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:"[^\"]*")/i,/^(?:,)/i,/^(?::)/i],conditions:{bol:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0},INITIAL:{rules:[0,1,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0}}},(0,a.K2)(p,"Parser"),p.prototype=g,g.Parser=p,new p}();q.parser=q;var B=[],G=[],W=[],V=new Set,X=!1,Y=(0,a.K2)((t,e,n)=>{let i=tn(t).sort(),r=n??10/Math.pow(t.length,2);s=i,1===i.length&&V.add(i[0]),B.push({sets:i,size:r,label:e?H(e):void 0})},"addSubsetData"),Z=(0,a.K2)(()=>B,"getSubsetData"),H=(0,a.K2)(t=>{let e=t.trim();return e.length>=2&&e.startsWith('"')&&e.endsWith('"')?e.slice(1,-1):e},"normalizeText"),J=(0,a.K2)(t=>t?H(t):t,"normalizeStyleValue"),Q=(0,a.K2)((t,e,n)=>{let s=H(e);G.push({sets:tn(t).sort(),id:s,label:n?H(n):void 0})},"addTextData"),tt=(0,a.K2)((t,e)=>{let n=tn(t).sort(),s={};for(let[t,n]of e)s[t]=J(n)??n;W.push({targets:n,styles:s})},"addStyleData"),te=(0,a.K2)(()=>W,"getStyleData"),tn=(0,a.K2)(t=>t.map(t=>H(t)),"normalizeIdentifierList"),ts=(0,a.K2)(t=>{let e=tn(t).filter(t=>!V.has(t));if(e.length>0)throw Error(`unknown set identifier: ${e.join(", ")}`)},"validateUnionIdentifiers"),ti=(0,a.K2)(()=>G,"getTextData"),tr=(0,a.K2)(()=>s,"getCurrentSets"),tl=(0,a.K2)(()=>X,"getIndentMode"),ta=(0,a.K2)(t=>{X=t},"setIndentMode"),to=l.UI.venn;function th(){return(0,r.$t)(to,(0,l.zj)().venn)}(0,a.K2)(th,"getConfig");var tc={getConfig:th,clear:(0,a.K2)(()=>{(0,l.IU)(),B.length=0,G.length=0,W.length=0,V.clear(),s=void 0,X=!1},"customClear"),setAccTitle:l.SV,getAccTitle:l.iN,setDiagramTitle:l.ke,getDiagramTitle:l.ab,getAccDescription:l.m7,setAccDescription:l.EI,addSubsetData:Y,getSubsetData:Z,addTextData:Q,addStyleData:tt,validateUnionIdentifiers:ts,getTextData:ti,getStyleData:te,getCurrentSets:tr,getIndentMode:tl,setIndentMode:ta},tu=(0,a.K2)(t=>`
2
+ .venn-title {
3
+ font-size: 32px;
4
+ fill: ${t.vennTitleTextColor};
5
+ font-family: ${t.fontFamily};
6
+ }
7
+
8
+ .venn-circle text {
9
+ font-size: 48px;
10
+ font-family: ${t.fontFamily};
11
+ }
12
+
13
+ .venn-intersection text {
14
+ font-size: 48px;
15
+ fill: ${t.vennSetTextColor};
16
+ font-family: ${t.fontFamily};
17
+ }
18
+
19
+ .venn-text-node {
20
+ font-family: ${t.fontFamily};
21
+ color: ${t.vennSetTextColor};
22
+ }
23
+ `,"getStyles");function tf(t){let e=new Map;for(let n of t){let t=n.targets.join("|"),s=e.get(t);s?Object.assign(s,n.styles):e.set(t,{...n.styles})}return e}(0,a.K2)(tf,"buildStyleByKey");var td=(0,a.K2)((t,e,n,s)=>{let r=s.db,a=r.getConfig?.(),{themeVariables:c,look:y,handDrawnSeed:x}=(0,l.zj)(),g="handDrawn"===y,p=[c.venn1,c.venn2,c.venn3,c.venn4,c.venn5,c.venn6,c.venn7,c.venn8].filter(Boolean),m=r.getDiagramTitle?.(),b=r.getSubsetData(),v=r.getTextData(),M=tf(r.getStyleData()),I=a?.width??800,k=a?.height??450,_=I/1600,w=m?48*_:0,E=c.primaryTextColor??c.textColor,T=(0,i.D)(e);T.attr("viewBox",`0 0 ${I} ${k}`),m&&T.append("text").text(m).attr("class","venn-title").attr("font-size",`${32*_}px`).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("x","50%").attr("y",32*_).style("fill",c.vennTitleTextColor||c.titleColor);let z=(0,o.Ltv)(document.createElement("div")),R=(function(t={}){let e=!1,n=600,s=350,i=15,r=1e3,l=Math.PI/2,a=!0,o=null,h=!0,c=!0,u=null,f=null,d=!1,y=null,x=!!t&&!!t.symmetricalTextCentre&&t.symmetricalTextCentre,g={},p=t&&t.colourScheme?t.colourScheme:t&&t.colorScheme?t.colorScheme:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],m=0,b=function(t){if(t in g)return g[t];var e=g[t]=p[m];return(m+=1)>=p.length&&(m=0),e},v=S,M=A;function I(g){let p=g.datum(),m=new Set;p.forEach(t=>{0==t.size&&1==t.sets.length&&m.add(t.sets[0])});let I={},k={};if((p=p.filter(t=>!t.sets.some(t=>m.has(t)))).length>0){let t=v(p,{lossFunction:M,distinct:d});a&&(t=$(t,l,f)),k=L(I=N(t,n,s,i,o),p,x)}let _={};function w(t){return t.sets in _?_[t.sets]:1==t.sets.length?""+t.sets[0]:void 0}p.forEach(t=>{t.label&&(_[t.sets]=t.label)}),g.selectAll("svg").data([I]).enter().append("svg");let E=g.select("svg");e?E.attr("viewBox",`0 0 ${n} ${s}`):E.attr("width",n).attr("height",s);let S={},T=!1;function z(t){return e=>{var i,r;return i=t.sets.map(t=>{let i=S[t],r=I[t];return i||(i={x:n/2,y:s/2,radius:1}),r||(r={x:n/2,y:s/2,radius:1}),{x:i.x*(1-e)+r.x*e,y:i.y*(1-e)+r.y*e,radius:i.radius*(1-e)+r.radius*e}}),r=y,P(j(i),r)}}E.selectAll(".venn-area path").each(function(t){let e,n=this.getAttribute("d");1==t.sets.length&&n&&!d&&(T=!0,S[t.sets[0]]={x:Number.parseFloat((e=n.split(" "))[1]),y:Number.parseFloat(e[2]),radius:-Number.parseFloat(e[4])})});let A=E.selectAll(".venn-area").data(p,t=>t.sets),K=A.enter().append("g").attr("class",t=>`venn-area venn-${1==t.sets.length?"circle":"intersection"}${t.colour||t.color?" venn-coloured":""}`).attr("data-venn-sets",t=>t.sets.join("_")),R=K.append("path"),O=K.append("text").attr("class","label").text(t=>w(t)).attr("text-anchor","middle").attr("dy",".35em").attr("x",n/2).attr("y",s/2);function C(t){return"function"==typeof t.transition?t.transition("venn").duration(r):t}c&&(R.style("fill-opacity","0").filter(t=>1==t.sets.length).style("fill",t=>t.colour?t.colour:t.color?t.color:b(t.sets)).style("fill-opacity",".25"),O.style("fill",e=>e.colour||e.color?"#FFF":t.textFill?t.textFill:1==e.sets.length?b(e.sets):"#444"));let F=g;T&&"function"==typeof F.transition?(F=C(g)).selectAll("path").attrTween("d",z):F.selectAll("path").attr("d",t=>P(j(t.sets.map(t=>I[t])),void 0),y);let U=F.selectAll("text").filter(t=>t.sets in k).text(t=>w(t)).attr("x",t=>Math.floor(k[t.sets].x)).attr("y",t=>Math.floor(k[t.sets].y));h&&(T?"on"in U?U.on("end",D(I,w)):U.each("end",D(I,w)):U.each(D(I,w)));let q=C(A.exit()).remove();"function"==typeof A.transition&&q.selectAll("path").attrTween("d",z);let B=q.selectAll("text").attr("x",n/2).attr("y",s/2);return null!==u&&(O.style("font-size","0px"),U.style("font-size",u),B.style("font-size","0px")),{circles:I,textCentres:k,nodes:A,enter:K,update:F,exit:q}}return I.wrap=function(t){return arguments.length?(h=t,I):h},I.useViewBox=function(){return e=!0,I},I.width=function(t){return arguments.length?(n=t,I):n},I.height=function(t){return arguments.length?(s=t,I):s},I.padding=function(t){return arguments.length?(i=t,I):i},I.distinct=function(t){return arguments.length?(d=t,I):d},I.colours=function(t){return arguments.length?(b=t,I):b},I.colors=function(t){return arguments.length?(b=t,I):b},I.fontSize=function(t){return arguments.length?(u=t,I):u},I.round=function(t){return arguments.length?(y=t,I):y},I.duration=function(t){return arguments.length?(r=t,I):r},I.layoutFunction=function(t){return arguments.length?(v=t,I):v},I.normalize=function(t){return arguments.length?(a=t,I):a},I.scaleToFit=function(t){return arguments.length?(o=t,I):o},I.styled=function(t){return arguments.length?(c=t,I):c},I.orientation=function(t){return arguments.length?(l=t,I):l},I.orientationOrder=function(t){return arguments.length?(f=t,I):f},I.lossFunction=function(t){return arguments.length?(M="default"===t?A:"logRatio"===t?K:t,I):M},I})().width(I).height(k-w);z.datum(b).call(R);let O=g?U.A.svg(z.select("svg").node()):void 0,C=function(t,e={}){let{lossFunction:n,layoutFunction:s=S,normalize:i=!0,orientation:r=Math.PI/2,orientationOrder:l,width:a=600,height:o=350,padding:h=15,scaleToFit:c=!1,symmetricalTextCentre:u=!1,distinct:f,round:d=2}=e,y=s(t,{lossFunction:"default"!==n&&n?"logRatio"===n?K:n:A,distinct:f});i&&(y=$(y,r,l));let x=N(y,a,o,h,c),g=L(x,t,u),p=new Map(Object.keys(x).map(t=>[t,{set:t,x:x[t].x,y:x[t].y,radius:x[t].radius}])),m=t.map(t=>{let e=t.sets.map(t=>p.get(t)),n=j(e),s=P(n,d);return{circles:e,arcs:n,path:s,area:t,has:new Set(t.sets)}});return m.map(({circles:t,arcs:e,path:n,area:s})=>({data:s,text:g[s.sets],circles:t,arcs:e,path:n,distinctPath:n+function(t){let e="";for(let n of m)n.has.size>t.length&&t.every(t=>n.has.has(t))&&(e+=" "+n.path);return e}(s.sets)}))}(b,{width:I,height:k-w,padding:a?.padding??15}),F=new Map;for(let t of C){let e=ty([...t.data.sets].sort());F.set(e,t)}v.length>0&&tx(a,F,z,v,_,M);let q=(0,h.A)(c.background||"#f4f4f4");z.selectAll(".venn-circle").each(function(t,e){let n=(0,o.Ltv)(this),s=ty([...t.sets].sort()),i=M.get(s),r=i?.fill||p[e%p.length]||c.primaryColor;n.classed(`venn-set-${e%8}`,!0);let l=i?.["fill-opacity"]??.1,a=i?.stroke||r,h=i?.["stroke-width"]||`${5*_}`;if(g&&O){let t=F.get(s);if(t&&t.circles.length>0){let s=t.circles[0],i=O.circle(s.x,s.y,2*s.radius,{roughness:.7,seed:x,fill:u(r,.7),fillStyle:"hachure",fillWeight:2,hachureGap:8,hachureAngle:-41+60*e,stroke:a,strokeWidth:parseFloat(String(h))});n.select("path").remove(),n.node()?.insertBefore(i,n.select("text").node())}}else n.select("path").style("fill",r).style("fill-opacity",l).style("stroke",a).style("stroke-width",h).style("stroke-opacity",.95);let y=i?.color||(q?(0,f.A)(r,30):(0,d.A)(r,30));n.select("text").style("font-size",`${48*_}px`).style("fill",y)}),g&&O?z.selectAll(".venn-intersection").each(function(t){let e=(0,o.Ltv)(this),n=ty([...t.sets].sort()),s=M.get(n),i=s?.fill;if(i){let t=e.select("path"),n=t.attr("d");if(n){let e=O.path(n,{roughness:.7,seed:x,fill:u(i,.3),fillStyle:"cross-hatch",fillWeight:2,hachureGap:6,hachureAngle:60,stroke:"none"}),s=t.node();s?.parentNode?.insertBefore(e,s),t.remove()}}else e.select("path").style("fill-opacity",0);e.select("text").style("font-size",`${48*_}px`).style("fill",s?.color??c.vennSetTextColor??E)}):(z.selectAll(".venn-intersection text").style("font-size",`${48*_}px`).style("fill",t=>{let e=ty([...t.sets].sort());return M.get(e)?.color??c.vennSetTextColor??E}),z.selectAll(".venn-intersection path").style("fill-opacity",t=>{let e=ty([...t.sets].sort());return+!!M.get(e)?.fill}).style("fill",t=>{let e=ty([...t.sets].sort());return M.get(e)?.fill??"transparent"}));let B=T.append("g").attr("transform",`translate(0, ${w})`),G=z.select("svg").node();if(G&&"childNodes"in G)for(let t of[...G.childNodes])B.node()?.appendChild(t);(0,l.a$)(T,k,I,a?.useMaxWidth??!0)},"draw");function ty(t){return t.join("|")}function tx(t,e,n,s,i,r){let l=t?.useDebugLayout??!1,a=n.select("svg").append("g").attr("class","venn-text-nodes"),o=new Map;for(let t of s){let e=ty(t.sets),n=o.get(e);n?n.push(t):o.set(e,[t])}for(let[t,n]of o.entries()){let s=e.get(t);if(!s?.text)continue;let o=s.text.x,h=s.text.y,c=Math.min(...s.circles.map(t=>t.radius)),u=Math.min(...s.circles.map(t=>t.radius-Math.hypot(o-t.x,h-t.y))),f=Number.isFinite(u)?Math.max(0,u):0;0===f&&Number.isFinite(c)&&(f=.6*c);let d=a.append("g").attr("class","venn-text-area").attr("font-size",`${40*i}px`);l&&d.append("circle").attr("class","venn-text-debug-circle").attr("cx",o).attr("cy",h).attr("r",f).attr("fill","none").attr("stroke","purple").attr("stroke-width",1.5*i).attr("stroke-dasharray",`${6*i} ${4*i}`);let y=Math.max(80*i,2*f*.95),x=Math.max(60*i,2*f*.95),g=(s.data.label&&s.data.label.length>0?Math.min(32*i,.25*f):0)+(n.length<=2?30*i:0),p=o-y/2,m=h-x/2+g,b=Math.max(1,Math.ceil(Math.sqrt(n.length))),v=Math.max(1,Math.ceil(n.length/b)),M=y/b,I=x/v;for(let[t,e]of n.entries()){let n=t%b,s=Math.floor(t/b),a=p+M*(n+.5),o=m+I*(s+.5);l&&d.append("rect").attr("class","venn-text-debug-cell").attr("x",p+M*n).attr("y",m+I*s).attr("width",M).attr("height",I).attr("fill","none").attr("stroke","teal").attr("stroke-width",+i).attr("stroke-dasharray",`${4*i} ${3*i}`);let h=.9*M,c=.9*I,u=d.append("foreignObject").attr("class","venn-text-node-fo").attr("width",h).attr("height",c).attr("x",a-h/2).attr("y",o-c/2).attr("overflow","visible"),f=r.get(e.id)?.color,y=u.append("xhtml:span").attr("class","venn-text-node").style("display","flex").style("width","100%").style("height","100%").style("white-space","normal").style("align-items","center").style("justify-content","center").style("text-align","center").style("overflow-wrap","normal").style("word-break","normal").text(e.label??e.id);f&&y.style("color",f)}}}(0,a.K2)(ty,"stableSetsKey"),(0,a.K2)(tx,"renderTextNodes");var tg={parser:q,db:tc,renderer:{draw:td},styles:tu}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5318],{55318:(e,r,o)=>{o.r(r),o.d(r,{default:()=>t});let t=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212","descriptionForeground":"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#181818","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212","errorForeground":"#cb7676","focusBorder":"#00000000","foreground":"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"Vitesse Dark","name":"vitesse-dark","semanticHighlighting":true,"semanticTokenColors":{"class":"#6872ab","interface":"#5d99a9","namespace":"#db889a","property":"#b8a965","type":"#5d99a9"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#758575dd"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#666666"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#c99076"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#80a665"}},{"scope":"variable.parameter.function","settings":{"foreground":"#dbd7caee"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#4d9375"}},{"scope":"entity.name.function","settings":{"foreground":"#80a665"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#4d9375"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#cb7676"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#dbd7caee"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#c98a7d"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#c98a7d77"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#b8a96577"}},{"scope":"support","settings":{"foreground":"#b8a965"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#b8a965"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#bd976a"}},{"scope":["variable","identifier"],"settings":{"foreground":"#bd976a"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#5DA994"}},{"scope":"namespace","settings":{"foreground":"#db889a"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#cb7676"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#c98a7d"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#c4704f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#c98a7d"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#e6cc77"}},{"scope":["support.constant"],"settings":{"foreground":"#c99076"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#4C9A91"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#cb7676"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#4d9375"}},{"scope":"meta.module-reference","settings":{"foreground":"#4d9375"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#d4976c"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#4d9375"}},{"scope":"markup.quote","settings":{"foreground":"#5d99a9"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#dbd7caee"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#dbd7caee"}},{"scope":"markup.raw","settings":{"foreground":"#4d9375"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#c98a7d"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#dedcd590"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#6872ab"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#80a665"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"dark"}'))}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5320],{35320:(e,n,o)=>{o.r(n),o.d(n,{default:()=>t});let t=[Object.freeze(JSON.parse('{"displayName":"Nextflow","name":"nextflow","patterns":[{"include":"#nextflow"}],"repository":{"enum-def":{"begin":"^\\\\s*(enum)\\\\s+(\\\\w+)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.nextflow"},"2":{"name":"storage.type.groovy"}},"end":"}","patterns":[{"include":"source.nextflow-groovy#groovy"},{"include":"#enum-values"}]},"enum-values":{"patterns":[{"begin":"(?<=;|^)\\\\s*\\\\b([0-9A-Z_]+)(?=\\\\s*(?:[(,}]|$))","beginCaptures":{"1":{"name":"constant.enum.name.groovy"}},"end":",|(?=})|^(?!\\\\s*\\\\w+\\\\s*(?:,|$))","patterns":[{"begin":"\\\\(","end":"\\\\)","name":"meta.enum.value.groovy","patterns":[{"match":",","name":"punctuation.definition.seperator.parameter.groovy"},{"include":"#groovy-code"}]}]}]},"function-body":{"patterns":[{"match":"\\\\s"},{"begin":"(?=[<\\\\w][^(]*\\\\s+[$<\\\\w]+\\\\s*\\\\()","end":"(?=[$\\\\w]+\\\\s*\\\\()","name":"meta.method.return-type.java","patterns":[{"include":"source.nextflow-groovy#types"}]},{"begin":"([$\\\\w]+)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function.nextflow"}},"end":"\\\\)","name":"meta.definition.method.signature.java","patterns":[{"begin":"(?=[^)])","end":"(?=\\\\))","name":"meta.method.parameters.groovy","patterns":[{"begin":"(?=[^),])","end":"(?=[),])","name":"meta.method.parameter.groovy","patterns":[{"match":",","name":"punctuation.definition.separator.groovy"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.groovy"}},"end":"(?=[),])","name":"meta.parameter.default.groovy","patterns":[{"include":"source.nextflow-groovy#groovy-code"}]},{"include":"source.nextflow-groovy#parameters"}]}]}]},{"begin":"(?=<)","end":"(?=\\\\s)","name":"meta.method.paramerised-type.groovy","patterns":[{"begin":"<","end":">","name":"storage.type.parameters.groovy","patterns":[{"include":"source.nextflow-groovy#types"},{"match":",","name":"punctuation.definition.seperator.groovy"}]}]},{"begin":"\\\\{","end":"(?=})","name":"meta.method.body.java","patterns":[{"include":"source.nextflow-groovy#groovy-code"}]}]},"function-def":{"applyEndPatternLast":1,"begin":"(?<=;|^|\\\\{)(?=\\\\s*(?:def|(?:(?:boolean|byte|char|short|int|float|long|double)|@?(?:[A-Za-z]\\\\w*\\\\.)*[A-Z]+\\\\w*)[]\\\\[]*(?:<.*>)?n)\\\\s+([^=]+\\\\s+)?\\\\w+\\\\s*\\\\()","end":"}|(?=[^{])","name":"meta.definition.method.groovy","patterns":[{"include":"#function-body"}]},"include-decl":{"patterns":[{"match":"^\\\\b(include)\\\\b","name":"keyword.nextflow"},{"match":"\\\\b(from)\\\\b","name":"keyword.nextflow"}]},"nextflow":{"patterns":[{"include":"#record-def"},{"include":"#enum-def"},{"include":"#function-def"},{"include":"#process-def"},{"include":"#workflow-def"},{"include":"#params-def"},{"include":"#output-def"},{"include":"#include-decl"},{"include":"source.nextflow-groovy"}]},"output-def":{"begin":"^\\\\s*(output)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.nextflow"}},"end":"}","name":"output.nextflow","patterns":[{"include":"source.nextflow-groovy#groovy"}]},"params-def":{"begin":"^\\\\s*(params)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.nextflow"}},"end":"}","name":"params.nextflow","patterns":[{"include":"source.nextflow-groovy#groovy"}]},"process-body":{"patterns":[{"match":"(?:input|output|when|script|shell|exec):","name":"constant.block.nextflow"},{"match":"\\\\b(val|env|file|path|stdin|stdout|tuple)([(\\\\s])","name":"entity.name.function.nextflow"},{"include":"source.nextflow-groovy#groovy"}]},"process-def":{"begin":"^\\\\s*(process)\\\\s+(\\\\w+)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.nextflow"},"2":{"name":"entity.name.function.nextflow"}},"end":"}","name":"process.nextflow","patterns":[{"include":"#process-body"}]},"record-def":{"begin":"^\\\\s*(record)\\\\s+(\\\\w+)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.nextflow"},"2":{"name":"storage.type.groovy"}},"end":"}","name":"record.nextflow","patterns":[{"include":"source.nextflow-groovy#groovy"}]},"workflow-body":{"patterns":[{"match":"(?:take|main|emit|publish):","name":"constant.block.nextflow"},{"include":"source.nextflow-groovy#groovy"}]},"workflow-def":{"begin":"^\\\\s*(workflow)(?:\\\\s+(\\\\w+))?\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.nextflow"},"2":{"name":"entity.name.function.nextflow"}},"end":"}","name":"workflow.nextflow","patterns":[{"include":"#workflow-body"}]}},"scopeName":"source.nextflow","aliases":["nf"]}'))]}}]);