@marimo-team/islands 0.24.3-dev9 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/dist/{ConnectedDataExplorerComponent-C9OF_75w.js → ConnectedDataExplorerComponent-KVhjDMSe.js} +1066 -1066
  2. package/dist/ErrorBoundary-DnNkbB_U.js +200 -0
  3. package/dist/{ImageComparisonComponent-2a9TMMm2.js → ImageComparisonComponent-Dlm5aWnH.js} +4 -4
  4. package/dist/{Plot-C-9MQeGP.js → Plot-CTyjbQDT.js} +21032 -20666
  5. package/dist/_baseMerge-BiGRwuqv.js +165 -0
  6. package/dist/{abnfDiagram-N423BO3Z-CQKwzX8t.js → abnfDiagram-VCTEODGH-CpN0FRda.js} +17 -18
  7. package/dist/{any-language-editor-DmQ7dyCx.js → any-language-editor-CycIVIeP.js} +17 -17
  8. package/dist/arc-7ra3iNdN.js +81 -0
  9. package/dist/architecture-7GRP2DOG-BWLylgiA.js +3 -0
  10. package/dist/{architectureDiagram-T3A2C74G-CncrDpfa.js → architectureDiagram-5GKGNRK7-DDyj5SRB.js} +25 -25
  11. package/dist/assets/__vite-browser-external-C9iR87Zl.js +1 -0
  12. package/dist/assets/worker-D7hWi02M.js +109 -0
  13. package/dist/blockDiagram-I7D4REHJ-BbXEXJRu.js +1922 -0
  14. package/dist/{button-CKBkqR9J.js → button-DdXAm8iz.js} +5 -5
  15. package/dist/{c4Diagram-5PPSVZJV-DarUk3Yq.js → c4Diagram-7LVT6UL2-DcLsbQmR.js} +696 -668
  16. package/dist/{capabilities-CMBBJTcc.js → capabilities-B3ce_GNu.js} +1 -1
  17. package/dist/{html-to-image-BtFMe_Nq.js → cells-DYIkSxs6.js} +6757 -10137
  18. package/dist/{channel-CyiYUzJv.js → channel-B5XnTarr.js} +1 -1
  19. package/dist/chat-ui-BXj3uYjy.js +5786 -0
  20. package/dist/{check-CHig47QV.js → check-B7cIK6gb.js} +1 -1
  21. package/dist/{chunk-2Q5K7J3B-BMuJl2jB.js → chunk-2Q5K7J3B-BMkUkeuy.js} +2 -2
  22. package/dist/chunk-4HAMMTFA-D2qv8E0X.js +4188 -0
  23. package/dist/{chunk-5VM5RSS4-Bcq0ftdy.js → chunk-5VM5RSS4-DKsmPCL6.js} +2 -2
  24. package/dist/{chunk-NSK5VX7P-CDTMcJB0.js → chunk-75Z2AOVW-5_HsvXwr.js} +23 -23
  25. package/dist/{chunk-I66GZJ75-BqyTCAPf.js → chunk-DU6HZSFF-BUgAHvnM.js} +21 -4
  26. package/dist/{chunk-2GRJ4B5K-DgO8Qudq.js → chunk-F27PBJKO-DHmYWZXr.js} +4 -4
  27. package/dist/{chunk-KEIR6QF5-C4KX3XYh.js → chunk-FOHPRMQF-BpYR8RqP.js} +4 -4
  28. package/dist/{chunk-WRU74C26-BpWsbiDK.js → chunk-GMAD6QVW-Czynz8aA.js} +486 -258
  29. package/dist/chunk-GVQU2GXP-yQEdulRS.js +37 -0
  30. package/dist/{chunk-5RXB4S5H-tLNUVDdO.js → chunk-IMKFNOWR-BfwTebD0.js} +11 -11
  31. package/dist/{chunk-JWPE2WC7-BJwjGUnF.js → chunk-JWPE2WC7-DJvv1t8U.js} +2 -2
  32. package/dist/chunk-L3NEJ4N5-DwRWnDDK.js +245 -0
  33. package/dist/{chunk-7Z6QIM7H-Dc18hFxH.js → chunk-OSK3NFVY-BBKU_Ign.js} +222 -144
  34. package/dist/{chunk-W5SLKNZC-DLnvpEtV.js → chunk-P2QGCYS3-C0iGU29N.js} +20 -20
  35. package/dist/{chunk-KBJHAD2P-BuqWqkcW.js → chunk-POPQ4Y6H-BCbS3Ozc.js} +4 -4
  36. package/dist/{chunk-4I5QYGJK-DpytHuZQ.js → chunk-PWAF6VOD-CTFCL0jI.js} +4 -4
  37. package/dist/{chunk-JQJVKLGR-CgqCwe8E.js → chunk-SHT3W25Y-BspJEJ5H.js} +109 -63
  38. package/dist/{chunk-6Q2QTUOP-DmTcEBMn.js → chunk-SVP7TREG-DX3rFNTe.js} +5 -5
  39. package/dist/{chunk-GF5L2VYU-B0wgCQgS.js → chunk-TICWLB2K-fVF7Uujg.js} +13 -13
  40. package/dist/{chunk-XXDRQBXY-D73H4IN0.js → chunk-XXDRQBXY-Dnl5VBqG.js} +3 -3
  41. package/dist/{chunk-Y2CYZVJY-DoegUj_e.js → chunk-Y2CYZVJY-DKKS1VyV.js} +1 -1
  42. package/dist/{chunk-5FQGJX7Z-B85XCPv6.js → chunk-YOKDWASO-DrWbKnxA.js} +6925 -5460
  43. package/dist/classDiagram-ZZMXUADV-Fe-V14Sc.js +30 -0
  44. package/dist/classDiagram-v2-VYDZK3BY-xTDg7lOs.js +30 -0
  45. package/dist/code-visibility-DElzk_hh.js +138 -0
  46. package/dist/{common-Cv-4hMa0.js → common-B4-ih9IA.js} +8838 -12645
  47. package/dist/{compiler-runtime-CAH9RLw2.js → compiler-runtime-Cj8ZWiNS.js} +2 -2
  48. package/dist/copy-icon-CLdENY__.js +190 -0
  49. package/dist/{cose-bilkent-JH36ORCC-FUWHkXFX.js → cose-bilkent-JH36ORCC-_LyRKVqm.js} +2 -2
  50. package/dist/cubic-OaEBhQPK.js +1404 -0
  51. package/dist/cynefin-OW5HDTMX-obq-i80l.js +3 -0
  52. package/dist/{cynefinDiagram-MW4NZA55-BXSFK93J.js → cynefinDiagram-5FMLGOSQ-CFQrqzSX.js} +10 -10
  53. package/dist/{dagre-CGyalH38.js → dagre-BGSfXNEb.js} +678 -537
  54. package/dist/dagre-GXQ25YYZ-xHNAUTyG.js +425 -0
  55. package/dist/{data-grid-overlay-editor-DZM4BAaI.js → data-grid-overlay-editor-CRH6JQPE.js} +8 -9
  56. package/dist/{data-grid-types-BnZwWG8z.js → data-grid-types-BucVmDDp.js} +1 -1
  57. package/dist/{defaultLocale-DKaU_opG.js → defaultLocale-JI_lnoCe.js} +1 -1
  58. package/dist/{diagram-7IWD3JNH-BjfzDNvj.js → diagram-S7CK7UJ4-Bt1rPbAx.js} +40 -39
  59. package/dist/{diagram-UB23O5K3-DDg-7wLA.js → diagram-UQ7AKVKN-D1sq5FoZ.js} +10 -10
  60. package/dist/{diagram-B4RE2ZJO-CKccR9eE.js → diagram-VSXAHHWV-BKpmG23x.js} +10 -10
  61. package/dist/{diagram-Q27KOJAE-Zhz01ss7.js → diagram-VX7I27RA-BMwGFVD6.js} +21 -21
  62. package/dist/{diagram-LBJQPF4R-CJ-bOruh.js → diagram-Z3DM3KII--KLDR9Pl.js} +10 -10
  63. package/dist/dialog-CgNq6y9-.js +94 -0
  64. package/dist/{dist-dAqZAPcF.js → dist-1HDa70oE.js} +3 -3
  65. package/dist/{dist-Re9sOPOx.js → dist-9x1ZRe-e.js} +2 -2
  66. package/dist/{dist-DEeLqRlU.js → dist-B1vYLK28.js} +1 -1
  67. package/dist/{dist-C5Bn52W4.js → dist-B8D7McG3.js} +3 -3
  68. package/dist/{dist-_XvgytiS.js → dist-BHCHt1NI.js} +1 -1
  69. package/dist/{dist-CRjAdnqF.js → dist-BRxfaJgs.js} +3 -3
  70. package/dist/{dist-Byj2bV8o.js → dist-BVGtK7Ht.js} +1 -1
  71. package/dist/{dist-BIN5LKyE.js → dist-BaHjhkpZ.js} +2 -2
  72. package/dist/{dist-DVFbIwc5.js → dist-BtKIs9N-.js} +1 -1
  73. package/dist/{dist-BrQGcfQ9.js → dist-C2KzV-vf.js} +2 -2
  74. package/dist/{dist-DJFiGP2k.js → dist-C2wDlYdD.js} +2 -2
  75. package/dist/{dist-BVRM2y1P.js → dist-C8xMLVYi.js} +2 -2
  76. package/dist/dist-CMh_W4y4.js +538 -0
  77. package/dist/{extends-BPB6_lTK.js → dist-CO1AwwG_.js} +516 -561
  78. package/dist/{dist-BzN60Z2s.js → dist-CPGxfVGX.js} +1 -1
  79. package/dist/{dist-C7v-9nUK.js → dist-Cm3iAFMD.js} +3 -3
  80. package/dist/{dist-CGAxEiaM.js → dist-Cs2FijYk.js} +2 -2
  81. package/dist/{dist-hXd65f0_.js → dist-D1PpnuZB.js} +1 -1
  82. package/dist/{dist-VdvbxG72.js → dist-DHOTQar0.js} +1 -1
  83. package/dist/{dist-DcgzXCfy.js → dist-DPcEtqmG.js} +2 -2
  84. package/dist/{dist-D4Z_qdP4.js → dist-Df0wKI0F.js} +1 -1
  85. package/dist/{dist-qhLI-SHd.js → dist-DszxuxS1.js} +2 -2
  86. package/dist/{dist-BEmkrGoQ.js → dist-Kxgjxakw.js} +1 -1
  87. package/dist/{dist-BbSMhhD2.js → dist-KzZ7WELx.js} +2 -2
  88. package/dist/{dist-jWUab2d1.js → dist-lA1Cttkb.js} +1 -1
  89. package/dist/dropdown-menu-CZgjYSAh.js +4502 -0
  90. package/dist/{ebnfDiagram-BXEA7PRR-Dm75pCAS.js → ebnfDiagram-PWID7BFC-WnG4cvSQ.js} +17 -18
  91. package/dist/{erDiagram-JOGREHBK-rVDG3VSQ.js → erDiagram-RLTQ6QDP-DhzKiYHc.js} +1037 -798
  92. package/dist/error-banner-B94dcDmP.js +391 -0
  93. package/dist/error-entries-C0NsUqXl.js +56 -0
  94. package/dist/{esm-CR1nhb1c.js → esm-BElI3qKH.js} +22 -22
  95. package/dist/{esm-C1d0g6Bv.js → esm-G4Fhsgng.js} +51 -37
  96. package/dist/{esm-CesmlDrs.js → esm-h8f7-1CJ.js} +423 -423
  97. package/dist/eventmodeling-NTZA5JFV-D7nP7Uyu.js +3 -0
  98. package/dist/feedback-button-cQcMqpEP.js +380 -0
  99. package/dist/flowDiagram-HODETNUW-6dMdB8pR.js +16 -0
  100. package/dist/{formats-CslNOKy0.js → formats-BR5iGb4s.js} +8 -8
  101. package/dist/{ganttDiagram-PKOTCBZU-9D-LXF6P.js → ganttDiagram-EL5Y4UJY-DbzEBLbl.js} +15 -15
  102. package/dist/gitGraph-4MIJSDKK-Dy9uQXGh.js +3 -0
  103. package/dist/{gitGraphDiagram-DS77QQ5N-BfpsXTLf.js → gitGraphDiagram-WWUBYQGX-BMf0iKi1.js} +10 -10
  104. package/dist/{glide-data-editor-sPZ8fUFn.js → glide-data-editor-DYOxfSzI.js} +2143 -1910
  105. package/dist/{glide-utils-NShAPPtn.js → glide-utils-B3rUT5PI.js} +15 -15
  106. package/dist/globals-BOoLHa7X.js +19 -0
  107. package/dist/highlighted-body-KPVGNVTW-Ad3MKZ18.js +38 -0
  108. package/dist/html-to-image-CeYYvQNb.js +3272 -0
  109. package/dist/info-A6RAGUB7-DKoayiHY.js +3 -0
  110. package/dist/{infoDiagram-6WML65LV-DqCTXHVy.js → infoDiagram-27XIBGKW-BagtCX_5.js} +7 -7
  111. package/dist/{ishikawaDiagram-WSZJBQD7-BCUYmZ1v.js → ishikawaDiagram-5VMMS53U-DByDehYy.js} +8 -8
  112. package/dist/{journeyDiagram-NVQOT4AX-BXB6M4zN.js → journeyDiagram-3NMN7TZE-D2LcKDUO.js} +8 -8
  113. package/dist/{jsx-runtime-CpoKNRgu.js → jsx-runtime-DgDPJV9S.js} +1 -1
  114. package/dist/{kanban-definition-27J2QSJJ-CGRhrDUX.js → kanban-definition-UXKFOSKX-BxwkbBI_.js} +29 -29
  115. package/dist/katex-DFBiSucW.js +21840 -0
  116. package/dist/{label-lwzzBHUW.js → label-BJ49YTvk.js} +6 -6
  117. package/dist/{linear-D5r_1YqD.js → linear-Cnaq3Tfb.js} +4 -4
  118. package/dist/{loader-VZ__bv4g.js → loader-D2W4oM-3.js} +15 -15
  119. package/dist/main.js +8113 -13475
  120. package/dist/mermaid-DPNuhemn.js +3084 -0
  121. package/dist/mermaid-HWGCJPDP-DYCzSILp.js +2 -0
  122. package/dist/mermaid-parser.core-DxuSfYwJ.js +638 -0
  123. package/dist/{mhchem-BjwrxcV-.js → mhchem-DWCF06w9.js} +1 -1
  124. package/dist/{micromark-factory-space-DruVGzeG.js → micromark-factory-space-DGxAzmw8.js} +2 -2
  125. package/dist/{mindmap-definition-FAOFIHXS-C9gRhzZq.js → mindmap-definition-YA3MSWOX-Cgvojw3y.js} +17 -17
  126. package/dist/{node-sql-parser-DesT1xNw.js → node-sql-parser-BiZOJ-FS.js} +0 -3
  127. package/dist/{number-overlay-editor-De2CabLL.js → number-overlay-editor-DZp5bEmI.js} +5 -5
  128. package/dist/objectWithoutPropertiesLoose-BRDcTsfB.js +23 -0
  129. package/dist/packet-AYTQ26CC-Yw7ajchJ.js +3 -0
  130. package/dist/{pegDiagram-VL7TDLO6-Df9IUjMD.js → pegDiagram-XKGWAZYB-DahHhYyN.js} +19 -20
  131. package/dist/{pick-SnHlmIBN.js → pick-CJeoxYOS.js} +1 -1
  132. package/dist/pie-WAS4IAKB-BKdKOAkL.js +3 -0
  133. package/dist/{pieDiagram-7S7Q4E2Y-BmRzQ8ZP.js → pieDiagram-E7YTZNPT-CCtX0oCK.js} +29 -31
  134. package/dist/{process-output-CPy0YKUe.js → process-output-BCTjlyuH.js} +7 -6
  135. package/dist/purify.es-DgKyQviY.js +805 -0
  136. package/dist/{quadrantDiagram-CIZ2JOQS-wFBvWcxS.js → quadrantDiagram-AXDQQJYC-DftINo6g.js} +5 -5
  137. package/dist/radar-RG4KPBEZ-ScR_D_Ts.js +3 -0
  138. package/dist/railroad-74A4TZTK-DQvPSdo5.js +3 -0
  139. package/dist/railroad-abnf-HS5TGJTU-CsJQG2O8.js +3 -0
  140. package/dist/railroad-ebnf-LZEXJU2U-BgEobkSn.js +3 -0
  141. package/dist/railroad-peg-WCYAUIDC-DjLAjofI.js +3 -0
  142. package/dist/{railroadDiagram-AXF67PYL-DxbIatiN.js → railroadDiagram-O6MQD6OU-Du5NsPUb.js} +17 -18
  143. package/dist/{react-dom-C94wmq5w.js → react-dom-BUgJ-ab_.js} +3 -3
  144. package/dist/{react-DMWcHin-.js → react-ofJbxM4x.js} +2 -2
  145. package/dist/{react-vega-DSD5aT7_.js → react-vega-5AcMW8gG.js} +10012 -9369
  146. package/dist/{requirementDiagram-LRYGKXZP-X_x-Y713.js → requirementDiagram-BXWQKSXE-0pmmxL6_.js} +20 -19
  147. package/dist/{reveal-component-CVsYlb9J.js → reveal-component-C9h2Lubu.js} +1303 -1237
  148. package/dist/{sankeyDiagram-W5VNT64P-BYJALbbm.js → sankeyDiagram-P5KCCOFB-CDKR5TJH.js} +4 -4
  149. package/dist/{select-3qHpFKF9.js → select-C6plhmZr.js} +317 -562
  150. package/dist/{sequenceDiagram-SI44F4Z6-BiPBe3Sv.js → sequenceDiagram-WJ2MYXX4-DB-ChWwU.js} +11 -11
  151. package/dist/{sizeCapture-X5ZJPWSS-BKLDeh5H.js → sizeCapture-INFHLROL-Dx5SpkQF.js} +2 -2
  152. package/dist/{spec-CutWdqo3.js → spec-CAYwFeV6.js} +4 -4
  153. package/dist/{src-C31ngt98.js → src-CA_m4ONl.js} +298 -303
  154. package/dist/{stateDiagram-OKZ733FA-B7QyNBxH.js → stateDiagram-D77RDMKH-orN6AwMx.js} +19 -20
  155. package/dist/stateDiagram-v2-MP3YSRHH-o05_rJN8.js +30 -0
  156. package/dist/style.css +2 -2
  157. package/dist/{swimlanes-SLNWSIFB-B4f8VP3b.js → swimlanes-42K2YHIH-BkSDcqDT.js} +1501 -1591
  158. package/dist/swimlanesDiagram-VR7AAH4N-D_nFQfRc.js +30 -0
  159. package/dist/{swiper-component-C90YjhaV.js → swiper-component-IOUowglM.js} +39 -26
  160. package/dist/{time-aWGfjN8x.js → time-BieKwdYS.js} +42 -42
  161. package/dist/{timeline-definition-Z64GVDOM-Dacq_5lr.js → timeline-definition-24CTP7MA-BuqJUIRZ.js} +7 -7
  162. package/dist/{toDate-CpXBeDq0.js → toDate-WXg1yLcI.js} +7 -7
  163. package/dist/toast-DvY70eFX.js +1834 -0
  164. package/dist/tooltip-qB8NlSqV.js +1742 -0
  165. package/dist/treeView-Q6P3EWNA-DuRV97YF.js +3 -0
  166. package/dist/treemap-WGGIJYW6-AsLq-uwC.js +3 -0
  167. package/dist/use-restore-focus-D5D9xEjZ.js +5946 -0
  168. package/dist/{use-vega-container-remeasure-DUW4tRxq.js → use-vega-container-remeasure-4DwJbPWu.js} +2 -2
  169. package/dist/{useAsyncData-CH6-CgJF.js → useAsyncData-BD6AStMt.js} +3 -3
  170. package/dist/{useDateFormatter-Cp9Jdxls.js → useDateFormatter-BRTPsUK7.js} +8 -8
  171. package/dist/{useDeepCompareMemoize-JC87C_jO.js → useDeepCompareMemoize-D_HNdyvI.js} +2 -2
  172. package/dist/{useIframeCapabilities-De3C-9b4.js → useIframeCapabilities-CVtNkI3Y.js} +2 -2
  173. package/dist/{useLifecycle-B4RGlyf0.js → useLifecycle-DPgiiwwU.js} +6 -6
  174. package/dist/useNumberFormatter-BfDpa21j.js +251 -0
  175. package/dist/useTheme-DzXmYZ5V.js +904 -0
  176. package/dist/{vega-component-ovBXgp91.js → vega-component-D0QXopU8.js} +34 -34
  177. package/dist/{vega-embed-container-TJ5z5dZw.js → vega-embed-container-CbnTccZi.js} +6 -6
  178. package/dist/vega-loader.browser-D95WfUcj.js +1139 -0
  179. package/dist/{vennDiagram-T6HMQDX7-D-Rcq3Iu.js → vennDiagram-4TSXK5OY-CTUlJ2PK.js} +9 -9
  180. package/dist/wardley-WFR3VGLG-Na-tFhQJ.js +3 -0
  181. package/dist/{wardleyDiagram-T6FBY63Y-Z-Og7_Wd.js → wardleyDiagram-VM6X3IG4-3evLUb0M.js} +10 -10
  182. package/dist/{xychartDiagram-ELKLHX3M-BDJ2dITA.js → xychartDiagram-S5SC5T6Z-DL2E3K8-.js} +248 -139
  183. package/package.json +54 -57
  184. package/src/__mocks__/notebook.ts +1 -0
  185. package/src/__mocks__/requests.ts +7 -0
  186. package/src/__tests__/__snapshots__/CellStatus.test.tsx.snap +12 -12
  187. package/src/__tests__/fixtures/pair-preview.ts +19 -0
  188. package/src/__tests__/mount.test.ts +18 -0
  189. package/src/components/app-config/optional-features.tsx +6 -0
  190. package/src/components/chat/acp/__tests__/agent-panel-initialization.test.tsx +394 -0
  191. package/src/components/chat/acp/__tests__/agent-panel.test.tsx +272 -0
  192. package/src/components/chat/acp/__tests__/state.test.ts +2 -2
  193. package/src/components/chat/acp/agent-panel.tsx +115 -74
  194. package/src/components/chat/acp/state.ts +1 -1
  195. package/src/components/data-table/__tests__/filters.test.ts +21 -21
  196. package/src/components/data-table/charts/__tests__/spec.test.ts +5 -10
  197. package/src/components/data-table/column-explorer-panel/column-explorer.tsx +2 -6
  198. package/src/components/data-table/column-summary/chart-spec-model.tsx +1 -1
  199. package/src/components/data-table/columns.tsx +64 -67
  200. package/src/components/editor/RecoveryButton.tsx +1 -0
  201. package/src/components/editor/__tests__/dynamic-favicon.test.tsx +36 -2
  202. package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +115 -0
  203. package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +218 -0
  204. package/src/components/editor/actions/pair-with-agent-commands.ts +46 -9
  205. package/src/components/editor/actions/pair-with-agent-modal.tsx +49 -23
  206. package/src/components/editor/ai/add-cell-with-ai.tsx +1 -0
  207. package/src/components/editor/ai/ai-completion-editor.tsx +3 -1
  208. package/src/components/editor/alerts/__tests__/connection-notice.test.tsx +186 -0
  209. package/src/components/editor/alerts/__tests__/startup-progress.test.tsx +185 -0
  210. package/src/components/editor/alerts/connecting-alert.tsx +1 -66
  211. package/src/components/editor/alerts/connection-notice.tsx +186 -0
  212. package/src/components/editor/alerts/startup-output.tsx +173 -0
  213. package/src/components/editor/alerts/startup-progress.tsx +204 -0
  214. package/src/components/editor/app-container.tsx +9 -3
  215. package/src/components/editor/boundary/ErrorBoundary.tsx +38 -16
  216. package/src/components/editor/boundary/__tests__/ErrorBoundary.test.tsx +311 -0
  217. package/src/components/editor/cell/__tests__/toolbar.test.tsx +73 -0
  218. package/src/components/editor/cell/code/__tests__/rtc-editor-config.test.ts +50 -0
  219. package/src/components/editor/cell/code/cell-editor.tsx +41 -42
  220. package/src/components/editor/cell/toolbar.tsx +11 -0
  221. package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +94 -0
  222. package/src/components/editor/chrome/components/feedback-button.tsx +63 -42
  223. package/src/components/editor/chrome/panels/__tests__/packages-panel.test.tsx +164 -8
  224. package/src/components/editor/chrome/panels/__tests__/sandbox-details.test.tsx +358 -0
  225. package/src/components/editor/chrome/panels/__tests__/sandbox-recovery.test.tsx +168 -0
  226. package/src/components/editor/chrome/panels/packages-panel.tsx +113 -175
  227. package/src/components/editor/chrome/panels/sandbox-controller.tsx +106 -0
  228. package/src/components/editor/chrome/panels/sandbox-details-state.ts +38 -0
  229. package/src/components/editor/chrome/panels/sandbox-panel.tsx +230 -0
  230. package/src/components/editor/chrome/panels/sandbox-toggle.tsx +52 -0
  231. package/src/components/editor/chrome/wrapper/app-chrome.tsx +7 -0
  232. package/src/components/editor/chrome/wrapper/footer-items/backend-status.tsx +3 -1
  233. package/src/components/editor/code/__tests__/readonly-diff.test.tsx +65 -0
  234. package/src/components/editor/code/readonly-diff.tsx +1 -1
  235. package/src/components/editor/connections/database/__tests__/__snapshots__/as-code.test.ts.snap +98 -98
  236. package/src/components/editor/connections/database/__tests__/as-code.test.ts +11 -5
  237. package/src/components/editor/dynamic-favicon.tsx +17 -10
  238. package/src/components/editor/file-tree/__tests__/file-explorer-navigation.test.tsx +13 -11
  239. package/src/components/editor/file-tree/__tests__/tree-actions.test.tsx +54 -0
  240. package/src/components/editor/file-tree/tree-actions.tsx +11 -14
  241. package/src/components/editor/header/__tests__/status.test.tsx +8 -20
  242. package/src/components/editor/header/filename-input.tsx +2 -0
  243. package/src/components/editor/header/status.tsx +5 -3
  244. package/src/components/editor/navigation/clipboard.ts +1 -0
  245. package/src/components/editor/notebook-cell.tsx +4 -2
  246. package/src/components/editor/output/JsonOutput.tsx +182 -632
  247. package/src/components/editor/output/Outputs.css +49 -17
  248. package/src/components/editor/output/__tests__/JsonOutput-interactions.test.tsx +254 -0
  249. package/src/components/editor/output/__tests__/JsonOutput-mimetype.test.tsx +41 -46
  250. package/src/components/editor/output/__tests__/{json-output.test.ts → json-output-formatting.test.ts} +113 -75
  251. package/src/components/editor/output/__tests__/json-output-pagination.test.ts +252 -0
  252. package/src/components/editor/output/json-output/formatting.ts +167 -0
  253. package/src/components/editor/output/json-output/pagination.ts +155 -0
  254. package/src/components/editor/output/json-output/renderers.tsx +196 -0
  255. package/src/components/editor/output/json-output/themes.ts +52 -0
  256. package/src/components/editor/package-alert.tsx +112 -66
  257. package/src/components/editor/renderers/cell-array.tsx +1 -5
  258. package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +3 -7
  259. package/src/components/slides/slide-form.tsx +1 -0
  260. package/src/components/slides/slide-notes-editor.tsx +1 -0
  261. package/src/components/tracing/tracing-spec.ts +1 -1
  262. package/src/components/ui/__tests__/badge.test.ts +6 -4
  263. package/src/components/ui/use-toast.ts +8 -0
  264. package/src/core/MarimoApp.tsx +0 -2
  265. package/src/core/ai/context/providers/__tests__/error.test.ts +16 -22
  266. package/src/core/alerts/__tests__/environment.test.ts +183 -0
  267. package/src/core/alerts/__tests__/state.test.tsx +240 -0
  268. package/src/core/alerts/environment.ts +57 -0
  269. package/src/core/alerts/state.ts +155 -99
  270. package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +296 -259
  271. package/src/core/cells/__tests__/apply-transaction.test.ts +34 -0
  272. package/src/core/cells/__tests__/cell.test.ts +61 -0
  273. package/src/core/cells/__tests__/cells.test.ts +182 -37
  274. package/src/core/cells/__tests__/document-changes.test.ts +39 -1
  275. package/src/core/cells/__tests__/outputs.test.tsx +117 -0
  276. package/src/core/cells/__tests__/pending-delete-service.test.tsx +4 -3
  277. package/src/core/cells/__tests__/session.test.ts +7 -0
  278. package/src/core/cells/cell.ts +9 -1
  279. package/src/core/cells/cells.ts +13 -18
  280. package/src/core/cells/document-changes.ts +11 -1
  281. package/src/core/cells/outputs.ts +66 -9
  282. package/src/core/cells/pending-delete-service.ts +12 -16
  283. package/src/core/cells/session.ts +2 -0
  284. package/src/core/cells/types.ts +2 -0
  285. package/src/core/codemirror/find-replace/__tests__/navigate.test.ts +8 -16
  286. package/src/core/codemirror/language/__tests__/sql.test.ts +70 -2
  287. package/src/core/codemirror/language/embedded/__tests__/embedded-python.test.ts +4 -8
  288. package/src/core/codemirror/language/languages/sql/sql.ts +16 -1
  289. package/src/core/codemirror/rtc/extension.ts +5 -2
  290. package/src/core/config/pair.ts +19 -0
  291. package/src/core/datasets/__tests__/data-source.test.ts +2 -0
  292. package/src/core/datasets/data-source-connections.ts +15 -10
  293. package/src/core/edit-app.tsx +8 -5
  294. package/src/core/errors/state.ts +1 -2
  295. package/src/core/export/__tests__/hooks.test.ts +1 -6
  296. package/src/core/islands/bootstrap.ts +3 -1
  297. package/src/core/islands/bridge.ts +3 -0
  298. package/src/core/islands/worker-factory.ts +2 -12
  299. package/src/core/kernel/messages.ts +2 -2
  300. package/src/core/network/__tests__/requests-network.test.ts +4 -3
  301. package/src/core/network/connection-notice.ts +117 -0
  302. package/src/core/network/connection.ts +19 -0
  303. package/src/core/network/requests-lazy.ts +3 -0
  304. package/src/core/network/requests-network.ts +12 -0
  305. package/src/core/network/requests-static.ts +3 -0
  306. package/src/core/network/requests-toasting.tsx +3 -0
  307. package/src/core/network/resolve.ts +2 -1
  308. package/src/core/network/types.ts +7 -0
  309. package/src/core/network/useConnectionNotice.ts +53 -0
  310. package/src/core/packages/__tests__/usePackageAction.test.tsx +129 -0
  311. package/src/core/packages/__tests__/useSandboxController.test.tsx +246 -0
  312. package/src/core/packages/package-data.ts +35 -0
  313. package/src/core/packages/sandbox-state.ts +67 -0
  314. package/src/core/packages/toast-components.tsx +11 -0
  315. package/src/core/packages/useInstallPackage.ts +1 -1
  316. package/src/core/packages/usePackageAction.ts +51 -0
  317. package/src/core/packages/usePackageDependencies.ts +22 -0
  318. package/src/core/packages/useSandboxController.ts +208 -0
  319. package/src/core/run-app.tsx +2 -0
  320. package/src/core/static/__tests__/files.test.ts +12 -30
  321. package/src/core/wasm/__tests__/bootstrap.test.ts +63 -0
  322. package/src/core/wasm/__tests__/bridge.test.ts +13 -4
  323. package/src/core/wasm/__tests__/fs.test.ts +22 -0
  324. package/src/core/wasm/__tests__/runtime-config.test.ts +65 -0
  325. package/src/core/wasm/bridge.ts +35 -23
  326. package/src/core/wasm/rpc.ts +2 -0
  327. package/src/core/wasm/runtime-config.ts +31 -0
  328. package/src/core/wasm/worker/bootstrap.ts +21 -11
  329. package/src/core/wasm/worker/constants.ts +1 -0
  330. package/src/core/wasm/worker/fs.ts +4 -0
  331. package/src/core/wasm/worker/getController.ts +3 -1
  332. package/src/core/wasm/worker/save-worker.ts +10 -9
  333. package/src/core/wasm/worker/types.ts +6 -4
  334. package/src/core/wasm/worker/worker.ts +9 -9
  335. package/src/core/websocket/__tests__/useMarimoKernelConnection.hook.test.tsx +404 -3
  336. package/src/core/websocket/__tests__/useMarimoKernelConnection.test.ts +8 -6
  337. package/src/core/websocket/transports/transport.ts +1 -1
  338. package/src/core/websocket/transports/ws.ts +1 -1
  339. package/src/core/websocket/types.ts +11 -1
  340. package/src/core/websocket/useMarimoKernelConnection.tsx +63 -16
  341. package/src/hooks/useDebounce.ts +2 -0
  342. package/src/mount.tsx +3 -0
  343. package/src/plugins/core/BadPlugin.tsx +3 -14
  344. package/src/plugins/core/RenderHTML.tsx +22 -2
  345. package/src/plugins/core/__test__/RenderHTML.test.ts +187 -0
  346. package/src/plugins/core/registerReactComponent.tsx +0 -1
  347. package/src/plugins/impl/FileBrowserPlugin.tsx +10 -4
  348. package/src/plugins/impl/FormPlugin.tsx +2 -0
  349. package/src/plugins/impl/MatrixPlugin.tsx +2 -0
  350. package/src/plugins/impl/RangeSliderPlugin.tsx +2 -0
  351. package/src/plugins/impl/SliderPlugin.tsx +2 -0
  352. package/src/plugins/impl/__tests__/FileBrowserPlugin.test.tsx +50 -1
  353. package/src/plugins/impl/data-editor/__tests__/glide-data-editor.test.tsx +23 -18
  354. package/src/plugins/impl/data-frames/panel.tsx +1 -0
  355. package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +1 -1
  356. package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +15 -0
  357. package/src/plugins/impl/vega/__tests__/make-selectable.test.ts +42 -48
  358. package/src/plugins/layout/AccordionPlugin.tsx +7 -2
  359. package/src/plugins/layout/JsonOutputPlugin.tsx +7 -10
  360. package/src/plugins/layout/__test__/AccordionPlugin.test.tsx +66 -0
  361. package/src/stories/sandbox.stories.tsx +488 -0
  362. package/src/utils/__tests__/path.test.ts +6 -5
  363. package/src/utils/__tests__/worker.test.ts +81 -0
  364. package/src/utils/worker.ts +22 -0
  365. package/dist/ErrorBoundary-CR-ZQN_c.js +0 -125
  366. package/dist/_baseMerge-Dv8bBloN.js +0 -73
  367. package/dist/_initCloneObject---vediN2.js +0 -95
  368. package/dist/arc-DOVLrCPd.js +0 -82
  369. package/dist/architecture-TIHT7OUA-MiJpPpQW.js +0 -3
  370. package/dist/array-CApNbSU9.js +0 -6
  371. package/dist/assets/__vite-browser-external-BdKGjRZ4.js +0 -1
  372. package/dist/assets/worker-DlIBfp9S.js +0 -98
  373. package/dist/blockDiagram-VBNYF7ZC-Bc--I65C.js +0 -3158
  374. package/dist/chat-ui-BSwr409J.js +0 -8455
  375. package/dist/chunk-3NCLNEKW-BIp_lB_4.js +0 -14
  376. package/dist/chunk-5FCAYU7R-C_HO9A1J.js +0 -23
  377. package/dist/chunk-5HE753X5-Bixm_MV-.js +0 -38
  378. package/dist/chunk-5JV3BV7I-CH5J3iZY.js +0 -54
  379. package/dist/chunk-5TONJI2A-DG6gDiSS.js +0 -62
  380. package/dist/chunk-7BUUIJ7U-5afmIPeo.js +0 -82
  381. package/dist/chunk-BIQX33UG-7TMBUf89.js +0 -23
  382. package/dist/chunk-CQNSW5MT-Cnqqsxt-.js +0 -38
  383. package/dist/chunk-CYSBUYHQ-BAbymFHR.js +0 -23
  384. package/dist/chunk-EMLP6XTP-Bsz-QL77.js +0 -23
  385. package/dist/chunk-J7OUQ5F2-CM_meqZH.js +0 -57
  386. package/dist/chunk-JG7HCLWE-DUnCDgPk.js +0 -62
  387. package/dist/chunk-MOZMSUNE-BG6IHvzT.js +0 -35
  388. package/dist/chunk-OSBZ3O6U-CYwj_bvR.js +0 -23
  389. package/dist/chunk-QBLGF6JB-B4vJ4j8J.js +0 -23
  390. package/dist/chunk-QR6OTTB3-D4wH2ldi.js +0 -3738
  391. package/dist/chunk-R7FJI6CG-Blf8FcmZ.js +0 -64
  392. package/dist/chunk-RYQCIY6F-BWbIlBIH.js +0 -241
  393. package/dist/chunk-U6XO7XAA-COw445DS.js +0 -63
  394. package/dist/chunk-UBXNYLIW-BHigVU4H.js +0 -32
  395. package/dist/chunk-YOTPTUD7-Dn044Q_d.js +0 -30
  396. package/dist/chunk-ZIRB5QZD-BR4TMfOa.js +0 -1153
  397. package/dist/classDiagram-JCYQIIEL-DmXSLxe_.js +0 -30
  398. package/dist/classDiagram-v2-OCEON4UE-CooqVexA.js +0 -30
  399. package/dist/click-outside-container-D_URcm3D.js +0 -167
  400. package/dist/code-block-37QAKDTI-CQrzBOr-.js +0 -107
  401. package/dist/copy-CD7S58CY.js +0 -141
  402. package/dist/cynefin-VYW2F7L2-CeHAxOEX.js +0 -3
  403. package/dist/dagre-VZM6K2ZE-CJggWPTJ.js +0 -328
  404. package/dist/dist-3_o3T78I.js +0 -1360
  405. package/dist/dist-ABQjhuek.js +0 -64
  406. package/dist/dist-CO5R6VMi.js +0 -538
  407. package/dist/dropdown-menu-DhCfcscX.js +0 -5858
  408. package/dist/emotion-is-prop-valid.esm-M57VsT8j.js +0 -14
  409. package/dist/error-banner-CsXbEEjo.js +0 -611
  410. package/dist/eventmodeling-45OFAUF4-B_lWZ-Pd.js +0 -3
  411. package/dist/flowDiagram-UKHOOZJN-g1AmrZzM.js +0 -17
  412. package/dist/gitGraph-TEB2WS4Q-Dj-eXUph.js +0 -3
  413. package/dist/info-DKCQHKI2-Bhb-pe2e.js +0 -3
  414. package/dist/line-CuKjIQa1.js +0 -34
  415. package/dist/map-BJpOfPlL.js +0 -149
  416. package/dist/math-BXtKgYah.js +0 -10
  417. package/dist/mermaid-4DMBBIKO-Ddp9TgNp.js +0 -2
  418. package/dist/mermaid-Bi23Ibnw.js +0 -1173
  419. package/dist/mermaid-parser.core-Din9FvSi.js +0 -99
  420. package/dist/packet-7NZHBO7P-fbkIIyKE.js +0 -3
  421. package/dist/path-BNHuHZP8.js +0 -87
  422. package/dist/pie-RZYD4A2V-CLRIsxY1.js +0 -3
  423. package/dist/purify.es-CB-YO1Hn.js +0 -774
  424. package/dist/radar-I7S5WNFK-BGzCbgXu.js +0 -3
  425. package/dist/railroad-3IZDKUUU-CvQIIcuU.js +0 -3
  426. package/dist/railroad-abnf-AHOZXSZD-CMwtlNtu.js +0 -3
  427. package/dist/railroad-ebnf-EBAXGLYW-n1QUOAsh.js +0 -3
  428. package/dist/railroad-peg-LSFZ7HO6-PjnrpmCs.js +0 -3
  429. package/dist/schemas-DzK6U94N.js +0 -6057
  430. package/dist/stateDiagram-v2-UEYNNEHI-BTRUs8Il.js +0 -30
  431. package/dist/step-CKczO72Q.js +0 -670
  432. package/dist/swimlanesDiagram-ULZ7WXOC-NBmgBl9G.js +0 -31
  433. package/dist/timer-DpDyj9G0.js +0 -596
  434. package/dist/tooltip-Dt77sBeT.js +0 -390
  435. package/dist/treeView-QDETBFTQ-DU8LwHuf.js +0 -3
  436. package/dist/treemap-6X3UGDF4-DUk4-k_O.js +0 -3
  437. package/dist/useTheme-CVJ0UOf2.js +0 -841
  438. package/dist/vega-loader.browser-DEggZzni.js +0 -1083
  439. package/dist/wardley-OPB4EBWU-Db-AaGas.js +0 -3
  440. package/src/components/editor/output/EmotionCacheProvider.tsx +0 -32
@@ -1,166 +1,307 @@
1
- import { A as e, C as t, D as n, _ as r, d as i, h as a, j as o, k as s, n as c, y as l } from "./isArrayLikeObject-BZl-15ir.js";
2
- import { t as u } from "./isSymbol-kQcfYbNX.js";
3
- import { d, l as f, n as p, o as m, r as ee } from "./hasIn-o2Us0uVx.js";
4
- import { n as te, t as ne } from "./now-jM8-M7IR.js";
5
- import { i as re, n as ie } from "./isEmpty-BSZ1LaUo.js";
6
- import { c as ae, l as oe, o as se } from "./_initCloneObject---vediN2.js";
7
- import { _ as ce, a as h, d as le, g as ue, i as g, l as de, n as _, o as v, r as y, s as fe, t as b, u as x } from "./graphlib-BmY_CCV9.js";
8
- import { n as pe, r as S, t as me } from "./_baseMerge-Dv8bBloN.js";
9
- import { r as C, t as w } from "./pick-SnHlmIBN.js";
10
- import { n as he, r as ge, t as T } from "./map-BJpOfPlL.js";
1
+ import { A as e, C as t, D as n, M as r, O as i, _ as a, d as o, f as s, h as c, i as l, j as u, k as d, n as f, u as p, y as m } from "./isArrayLikeObject-BZl-15ir.js";
2
+ import { t as h } from "./isSymbol-kQcfYbNX.js";
3
+ import { d as g, i as ee, l as _, n as te, o as ne, r as re } from "./hasIn-o2Us0uVx.js";
4
+ import { n as ie, t as ae } from "./now-jM8-M7IR.js";
5
+ import { i as oe, n as v } from "./isEmpty-BSZ1LaUo.js";
6
+ import { a as se, c as y, d as b, f as ce, i as le, l as ue, m as de, n as fe, p as pe, r as me, s as he, t as ge, u as x } from "./_baseMerge-BiGRwuqv.js";
7
+ import { _ as _e, a as S, c as ve, d as ye, f as be, g as C, h as xe, i as w, l as Se, m as Ce, n as T, o as E, p as we, r as D, s as Te, t as O, u as k, v as Ee } from "./graphlib-BmY_CCV9.js";
8
+ import { r as A, t as j } from "./pick-CJeoxYOS.js";
11
9
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
12
- var _e = 1 / 0, ve = 17976931348623157e292;
13
- function E(e) {
14
- return e ? (e = te(e), e === _e || e === -_e ? (e < 0 ? -1 : 1) * ve : e === e ? e : 0) : e === 0 ? e : 0;
10
+ var De = 1 / 0, Oe = 17976931348623157e292;
11
+ function M(e) {
12
+ return e ? (e = ie(e), e === De || e === -De ? (e < 0 ? -1 : 1) * Oe : e === e ? e : 0) : e === 0 ? e : 0;
15
13
  }
16
14
  //#endregion
17
15
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js
18
- function ye(e) {
19
- var t = E(e), n = t % 1;
16
+ function ke(e) {
17
+ var t = M(e), n = t % 1;
20
18
  return t === t ? n ? t - n : t : 0;
21
19
  }
22
20
  //#endregion
23
21
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasUnicode.js
24
- var be = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
25
- function xe(e) {
26
- return be.test(e);
22
+ var Ae = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
23
+ function je(e) {
24
+ return Ae.test(e);
25
+ }
26
+ //#endregion
27
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
28
+ function Me(e, t) {
29
+ return e && b(t, C(t), e);
30
+ }
31
+ //#endregion
32
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
33
+ function Ne(e, t) {
34
+ return e && b(t, y(t), e);
35
+ }
36
+ //#endregion
37
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
38
+ function Pe(e, t) {
39
+ return b(e, Ce(e), t);
40
+ }
41
+ //#endregion
42
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
43
+ var Fe = Object.getOwnPropertySymbols ? function(e) {
44
+ for (var t = []; e;) ee(t, Ce(e)), e = he(e);
45
+ return t;
46
+ } : xe;
47
+ //#endregion
48
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
49
+ function Ie(e, t) {
50
+ return b(e, Fe(e), t);
51
+ }
52
+ //#endregion
53
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
54
+ function Le(e) {
55
+ return we(e, y, Fe);
56
+ }
57
+ //#endregion
58
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
59
+ var Re = Object.prototype.hasOwnProperty;
60
+ function ze(e) {
61
+ var t = e.length, n = new e.constructor(t);
62
+ return t && typeof e[0] == "string" && Re.call(e, "index") && (n.index = e.index, n.input = e.input), n;
63
+ }
64
+ //#endregion
65
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
66
+ function Be(e, t) {
67
+ var n = t ? le(e.buffer) : e.buffer;
68
+ return new e.constructor(n, e.byteOffset, e.byteLength);
69
+ }
70
+ //#endregion
71
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
72
+ var Ve = /\w*$/;
73
+ function He(e) {
74
+ var t = new e.constructor(e.source, Ve.exec(e));
75
+ return t.lastIndex = e.lastIndex, t;
76
+ }
77
+ //#endregion
78
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
79
+ var Ue = r ? r.prototype : void 0, We = Ue ? Ue.valueOf : void 0;
80
+ function Ge(e) {
81
+ return We ? Object(We.call(e)) : {};
82
+ }
83
+ //#endregion
84
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
85
+ var Ke = "[object Boolean]", qe = "[object Date]", Je = "[object Map]", Ye = "[object Number]", Xe = "[object RegExp]", Ze = "[object Set]", Qe = "[object String]", $e = "[object Symbol]", et = "[object ArrayBuffer]", tt = "[object DataView]", nt = "[object Float32Array]", rt = "[object Float64Array]", it = "[object Int8Array]", at = "[object Int16Array]", ot = "[object Int32Array]", st = "[object Uint8Array]", ct = "[object Uint8ClampedArray]", lt = "[object Uint16Array]", ut = "[object Uint32Array]";
86
+ function dt(e, t, n) {
87
+ var r = e.constructor;
88
+ switch (t) {
89
+ case et: return le(e);
90
+ case Ke:
91
+ case qe: return new r(+e);
92
+ case tt: return Be(e, n);
93
+ case nt:
94
+ case rt:
95
+ case it:
96
+ case at:
97
+ case ot:
98
+ case st:
99
+ case ct:
100
+ case lt:
101
+ case ut: return me(e, n);
102
+ case Je: return new r();
103
+ case Ye:
104
+ case Qe: return new r(e);
105
+ case Xe: return He(e);
106
+ case Ze: return new r();
107
+ case $e: return Ge(e);
108
+ }
109
+ }
110
+ //#endregion
111
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
112
+ var ft = "[object Map]";
113
+ function pt(t) {
114
+ return e(t) && v(t) == ft;
115
+ }
116
+ //#endregion
117
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
118
+ var mt = p && p.isMap, ht = mt ? o(mt) : pt, gt = "[object Set]";
119
+ function _t(t) {
120
+ return e(t) && v(t) == gt;
121
+ }
122
+ //#endregion
123
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
124
+ var vt = p && p.isSet, yt = vt ? o(vt) : _t, bt = 1, xt = 2, St = 4, Ct = "[object Arguments]", wt = "[object Array]", Tt = "[object Boolean]", Et = "[object Date]", Dt = "[object Error]", Ot = "[object Function]", kt = "[object GeneratorFunction]", At = "[object Map]", jt = "[object Number]", Mt = "[object Object]", Nt = "[object RegExp]", Pt = "[object Set]", Ft = "[object String]", It = "[object Symbol]", Lt = "[object WeakMap]", Rt = "[object ArrayBuffer]", zt = "[object DataView]", Bt = "[object Float32Array]", Vt = "[object Float64Array]", Ht = "[object Int8Array]", Ut = "[object Int16Array]", Wt = "[object Int32Array]", Gt = "[object Uint8Array]", Kt = "[object Uint8ClampedArray]", qt = "[object Uint16Array]", Jt = "[object Uint32Array]", N = {};
125
+ N[Ct] = N[wt] = N[Rt] = N[zt] = N[Tt] = N[Et] = N[Bt] = N[Vt] = N[Ht] = N[Ut] = N[Wt] = N[At] = N[jt] = N[Mt] = N[Nt] = N[Pt] = N[Ft] = N[It] = N[Gt] = N[Kt] = N[qt] = N[Jt] = !0, N[Dt] = N[Ot] = N[Lt] = !1;
126
+ function P(e, t, n, r, a, o) {
127
+ var c, u = t & bt, f = t & xt, p = t & St;
128
+ if (n && (c = a ? n(e, r, a, o) : n(e)), c !== void 0) return c;
129
+ if (!i(e)) return e;
130
+ var m = d(e);
131
+ if (m) {
132
+ if (c = ze(e), !u) return de(e, c);
133
+ } else {
134
+ var h = v(e), g = h == Ot || h == kt;
135
+ if (s(e)) return se(e, u);
136
+ if (h == Mt || h == Ct || g && !a) {
137
+ if (c = f || g ? {} : fe(e), !u) return f ? Ie(e, Ne(c, e)) : Pe(e, Me(c, e));
138
+ } else {
139
+ if (!N[h]) return a ? e : {};
140
+ c = dt(e, h, u);
141
+ }
142
+ }
143
+ o ||= new l();
144
+ var ee = o.get(e);
145
+ if (ee) return ee;
146
+ o.set(e, c), yt(e) ? e.forEach(function(r) {
147
+ c.add(P(r, t, n, r, e, o));
148
+ }) : ht(e) && e.forEach(function(r, i) {
149
+ c.set(i, P(r, t, n, i, e, o));
150
+ });
151
+ var _ = m ? void 0 : (p ? f ? Le : be : f ? y : C)(e);
152
+ return Ee(_ || e, function(r, i) {
153
+ _ && (i = r, r = e[i]), ce(c, i, P(r, t, n, i, e, o));
154
+ }), c;
27
155
  }
28
156
  //#endregion
29
157
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
30
- var Se = 1, Ce = 4;
31
- function we(e) {
32
- return ge(e, Se | Ce);
158
+ var Yt = 1, Xt = 4;
159
+ function Zt(e) {
160
+ return P(e, Yt | Xt);
33
161
  }
34
162
  //#endregion
35
163
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/defaults.js
36
- var Te = Object.prototype, Ee = Te.hasOwnProperty, De = r(function(e, t) {
164
+ var Qt = Object.prototype, $t = Qt.hasOwnProperty, en = a(function(e, t) {
37
165
  e = Object(e);
38
166
  var n = -1, r = t.length, i = r > 2 ? t[2] : void 0;
39
- for (i && S(t[0], t[1], i) && (r = 1); ++n < r;) for (var a = t[n], o = se(a), s = -1, c = o.length; ++s < c;) {
40
- var u = o[s], d = e[u];
41
- (d === void 0 || l(d, Te[u]) && !Ee.call(e, u)) && (e[u] = a[u]);
167
+ for (i && x(t[0], t[1], i) && (r = 1); ++n < r;) for (var a = t[n], o = y(a), s = -1, c = o.length; ++s < c;) {
168
+ var l = o[s], u = e[l];
169
+ (u === void 0 || m(u, Qt[l]) && !$t.call(e, l)) && (e[l] = a[l]);
42
170
  }
43
171
  return e;
44
172
  });
45
173
  //#endregion
46
174
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/last.js
47
- function D(e) {
175
+ function F(e) {
48
176
  var t = e == null ? 0 : e.length;
49
177
  return t ? e[t - 1] : void 0;
50
178
  }
51
179
  //#endregion
52
180
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js
53
- function Oe(e) {
181
+ function tn(e) {
54
182
  return function(t, n, r) {
55
183
  var i = Object(t);
56
- if (!a(t)) {
57
- var o = x(n, 3);
58
- t = ue(t), n = function(e) {
59
- return o(i[e], e, i);
184
+ if (!c(t)) {
185
+ var a = k(n, 3);
186
+ t = C(t), n = function(e) {
187
+ return a(i[e], e, i);
60
188
  };
61
189
  }
62
- var s = e(t, n, r);
63
- return s > -1 ? i[o ? t[s] : s] : void 0;
190
+ var o = e(t, n, r);
191
+ return o > -1 ? i[a ? t[o] : o] : void 0;
64
192
  };
65
193
  }
66
194
  //#endregion
67
195
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js
68
- var ke = Math.max;
69
- function Ae(e, t, n) {
196
+ var nn = Math.max;
197
+ function rn(e, t, n) {
70
198
  var r = e == null ? 0 : e.length;
71
199
  if (!r) return -1;
72
- var i = n == null ? 0 : ye(n);
73
- return i < 0 && (i = ke(r + i, 0)), ce(e, x(t, 3), i);
200
+ var i = n == null ? 0 : ke(n);
201
+ return i < 0 && (i = nn(r + i, 0)), _e(e, k(t, 3), i);
74
202
  }
75
203
  //#endregion
76
204
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/find.js
77
- var O = Oe(Ae);
205
+ var an = tn(rn);
206
+ //#endregion
207
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js
208
+ function on(e, t) {
209
+ var n = -1, r = c(e) ? Array(e.length) : [];
210
+ return ve(e, function(e, i, a) {
211
+ r[++n] = t(e, i, a);
212
+ }), r;
213
+ }
214
+ //#endregion
215
+ //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/map.js
216
+ function I(e, t) {
217
+ return (d(e) ? g : on)(e, k(t, 3));
218
+ }
78
219
  //#endregion
79
220
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/forIn.js
80
- function je(e, t) {
81
- return e == null ? e : c(e, fe(t), se);
221
+ function sn(e, t) {
222
+ return e == null ? e : f(e, Te(t), y);
82
223
  }
83
224
  //#endregion
84
225
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/forOwn.js
85
- function Me(e, t) {
86
- return e && de(e, fe(t));
226
+ function cn(e, t) {
227
+ return e && Se(e, Te(t));
87
228
  }
88
229
  //#endregion
89
230
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGt.js
90
- function Ne(e, t) {
231
+ function ln(e, t) {
91
232
  return e > t;
92
233
  }
93
234
  //#endregion
94
235
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHas.js
95
- var Pe = Object.prototype.hasOwnProperty;
96
- function Fe(e, t) {
97
- return e != null && Pe.call(e, t);
236
+ var un = Object.prototype.hasOwnProperty;
237
+ function dn(e, t) {
238
+ return e != null && un.call(e, t);
98
239
  }
99
240
  //#endregion
100
241
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/has.js
101
- function Ie(e, t) {
102
- return e != null && p(e, t, Fe);
242
+ function fn(e, t) {
243
+ return e != null && te(e, t, dn);
103
244
  }
104
245
  //#endregion
105
246
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isString.js
106
- var Le = "[object String]";
107
- function Re(t) {
108
- return typeof t == "string" || !s(t) && e(t) && o(t) == Le;
247
+ var pn = "[object String]";
248
+ function mn(t) {
249
+ return typeof t == "string" || !d(t) && e(t) && u(t) == pn;
109
250
  }
110
251
  //#endregion
111
252
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseLt.js
112
- function ze(e, t) {
253
+ function hn(e, t) {
113
254
  return e < t;
114
255
  }
115
256
  //#endregion
116
257
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/mapValues.js
117
- function k(e, t) {
258
+ function L(e, t) {
118
259
  var n = {};
119
- return t = x(t, 3), de(e, function(e, r, i) {
120
- oe(n, r, t(e, r, i));
260
+ return t = k(t, 3), Se(e, function(e, r, i) {
261
+ pe(n, r, t(e, r, i));
121
262
  }), n;
122
263
  }
123
264
  //#endregion
124
265
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseExtremum.js
125
- function A(e, t, n) {
266
+ function R(e, t, n) {
126
267
  for (var r = -1, i = e.length; ++r < i;) {
127
268
  var a = e[r], o = t(a);
128
- if (o != null && (s === void 0 ? o === o && !u(o) : n(o, s))) var s = o, c = a;
269
+ if (o != null && (s === void 0 ? o === o && !h(o) : n(o, s))) var s = o, c = a;
129
270
  }
130
271
  return c;
131
272
  }
132
273
  //#endregion
133
274
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/max.js
134
- function j(e) {
135
- return e && e.length ? A(e, n, Ne) : void 0;
275
+ function z(e) {
276
+ return e && e.length ? R(e, n, ln) : void 0;
136
277
  }
137
278
  //#endregion
138
279
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/merge.js
139
- var M = pe(function(e, t, n) {
140
- me(e, t, n);
280
+ var B = ue(function(e, t, n) {
281
+ ge(e, t, n);
141
282
  });
142
283
  //#endregion
143
284
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/min.js
144
- function N(e) {
145
- return e && e.length ? A(e, n, ze) : void 0;
285
+ function V(e) {
286
+ return e && e.length ? R(e, n, hn) : void 0;
146
287
  }
147
288
  //#endregion
148
289
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/minBy.js
149
- function P(e, t) {
150
- return e && e.length ? A(e, x(t, 2), ze) : void 0;
290
+ function H(e, t) {
291
+ return e && e.length ? R(e, k(t, 2), hn) : void 0;
151
292
  }
152
293
  //#endregion
153
294
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSortBy.js
154
- function Be(e, t) {
295
+ function gn(e, t) {
155
296
  var n = e.length;
156
297
  for (e.sort(t); n--;) e[n] = e[n].value;
157
298
  return e;
158
299
  }
159
300
  //#endregion
160
301
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_compareAscending.js
161
- function Ve(e, t) {
302
+ function _n(e, t) {
162
303
  if (e !== t) {
163
- var n = e !== void 0, r = e === null, i = e === e, a = u(e), o = t !== void 0, s = t === null, c = t === t, l = u(t);
304
+ var n = e !== void 0, r = e === null, i = e === e, a = h(e), o = t !== void 0, s = t === null, c = t === t, l = h(t);
164
305
  if (!s && !l && !a && e > t || a && o && c && !s && !l || r && o && c || !n && c || !i) return 1;
165
306
  if (!r && !a && !l && e < t || l && n && i && !r && !a || s && n && i || !o && i || !c) return -1;
166
307
  }
@@ -168,93 +309,93 @@ function Ve(e, t) {
168
309
  }
169
310
  //#endregion
170
311
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_compareMultiple.js
171
- function He(e, t, n) {
312
+ function vn(e, t, n) {
172
313
  for (var r = -1, i = e.criteria, a = t.criteria, o = i.length, s = n.length; ++r < o;) {
173
- var c = Ve(i[r], a[r]);
314
+ var c = _n(i[r], a[r]);
174
315
  if (c) return r >= s ? c : c * (n[r] == "desc" ? -1 : 1);
175
316
  }
176
317
  return e.index - t.index;
177
318
  }
178
319
  //#endregion
179
320
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseOrderBy.js
180
- function Ue(e, t, r) {
181
- t = t.length ? d(t, function(e) {
182
- return s(e) ? function(t) {
183
- return m(t, e.length === 1 ? e[0] : e);
321
+ function yn(e, t, r) {
322
+ t = t.length ? g(t, function(e) {
323
+ return d(e) ? function(t) {
324
+ return ne(t, e.length === 1 ? e[0] : e);
184
325
  } : e;
185
326
  }) : [n];
186
- var a = -1;
187
- return t = d(t, i(x)), Be(he(e, function(e, n, r) {
327
+ var i = -1;
328
+ return t = g(t, o(k)), gn(on(e, function(e, n, r) {
188
329
  return {
189
- criteria: d(t, function(t) {
330
+ criteria: g(t, function(t) {
190
331
  return t(e);
191
332
  }),
192
- index: ++a,
333
+ index: ++i,
193
334
  value: e
194
335
  };
195
336
  }), function(e, t) {
196
- return He(e, t, r);
337
+ return vn(e, t, r);
197
338
  });
198
339
  }
199
340
  //#endregion
200
341
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_asciiSize.js
201
- var We = le("length"), Ge = "\\ud800-\\udfff", Ke = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", qe = "\\ufe0e\\ufe0f", Je = "[" + Ge + "]", F = "[" + Ke + "]", I = "\\ud83c[\\udffb-\\udfff]", Ye = "(?:" + F + "|" + I + ")", Xe = "[^" + Ge + "]", Ze = "(?:\\ud83c[\\udde6-\\uddff]){2}", Qe = "[\\ud800-\\udbff][\\udc00-\\udfff]", $e = "\\u200d", et = Ye + "?", tt = "[" + qe + "]?", nt = "(?:" + $e + "(?:" + [
202
- Xe,
203
- Ze,
204
- Qe
205
- ].join("|") + ")" + tt + et + ")*", rt = tt + et + nt, it = "(?:" + [
206
- Xe + F + "?",
207
- F,
208
- Ze,
209
- Qe,
210
- Je
211
- ].join("|") + ")", at = RegExp(I + "(?=" + I + ")|" + it + rt, "g");
212
- function ot(e) {
213
- for (var t = at.lastIndex = 0; at.test(e);) ++t;
342
+ var bn = ye("length"), xn = "\\ud800-\\udfff", Sn = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", Cn = "\\ufe0e\\ufe0f", wn = "[" + xn + "]", U = "[" + Sn + "]", W = "\\ud83c[\\udffb-\\udfff]", Tn = "(?:" + U + "|" + W + ")", En = "[^" + xn + "]", Dn = "(?:\\ud83c[\\udde6-\\uddff]){2}", On = "[\\ud800-\\udbff][\\udc00-\\udfff]", kn = "\\u200d", An = Tn + "?", jn = "[" + Cn + "]?", Mn = "(?:" + kn + "(?:" + [
343
+ En,
344
+ Dn,
345
+ On
346
+ ].join("|") + ")" + jn + An + ")*", Nn = jn + An + Mn, Pn = "(?:" + [
347
+ En + U + "?",
348
+ U,
349
+ Dn,
350
+ On,
351
+ wn
352
+ ].join("|") + ")", Fn = RegExp(W + "(?=" + W + ")|" + Pn + Nn, "g");
353
+ function In(e) {
354
+ for (var t = Fn.lastIndex = 0; Fn.test(e);) ++t;
214
355
  return t;
215
356
  }
216
357
  //#endregion
217
358
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringSize.js
218
- function st(e) {
219
- return xe(e) ? ot(e) : We(e);
359
+ function Ln(e) {
360
+ return je(e) ? In(e) : bn(e);
220
361
  }
221
362
  //#endregion
222
363
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRange.js
223
- var ct = Math.ceil, lt = Math.max;
224
- function ut(e, t, n, r) {
225
- for (var i = -1, a = lt(ct((t - e) / (n || 1)), 0), o = Array(a); a--;) o[r ? a : ++i] = e, e += n;
364
+ var Rn = Math.ceil, zn = Math.max;
365
+ function Bn(e, t, n, r) {
366
+ for (var i = -1, a = zn(Rn((t - e) / (n || 1)), 0), o = Array(a); a--;) o[r ? a : ++i] = e, e += n;
226
367
  return o;
227
368
  }
228
369
  //#endregion
229
370
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createRange.js
230
- function dt(e) {
371
+ function Vn(e) {
231
372
  return function(t, n, r) {
232
- return r && typeof r != "number" && S(t, n, r) && (n = r = void 0), t = E(t), n === void 0 ? (n = t, t = 0) : n = E(n), r = r === void 0 ? t < n ? 1 : -1 : E(r), ut(t, n, r, e);
373
+ return r && typeof r != "number" && x(t, n, r) && (n = r = void 0), t = M(t), n === void 0 ? (n = t, t = 0) : n = M(n), r = r === void 0 ? t < n ? 1 : -1 : M(r), Bn(t, n, r, e);
233
374
  };
234
375
  }
235
376
  //#endregion
236
377
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/range.js
237
- var L = dt(), ft = "[object Map]", pt = "[object Set]";
238
- function mt(e) {
378
+ var G = Vn(), Hn = "[object Map]", Un = "[object Set]";
379
+ function Wn(e) {
239
380
  if (e == null) return 0;
240
- if (a(e)) return Re(e) ? st(e) : e.length;
241
- var t = ie(e);
242
- return t == ft || t == pt ? e.size : re(e).length;
381
+ if (c(e)) return mn(e) ? Ln(e) : e.length;
382
+ var t = v(e);
383
+ return t == Hn || t == Un ? e.size : oe(e).length;
243
384
  }
244
385
  //#endregion
245
386
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/sortBy.js
246
- var R = r(function(e, t) {
387
+ var K = a(function(e, t) {
247
388
  if (e == null) return [];
248
389
  var n = t.length;
249
- return n > 1 && S(e, t[0], t[1]) ? t = [] : n > 2 && S(t[0], t[1], t[2]) && (t = [t[0]]), Ue(e, ee(t, 1), []);
250
- }), ht = 0;
251
- function z(e) {
252
- var t = ++ht;
253
- return f(e) + t;
390
+ return n > 1 && x(e, t[0], t[1]) ? t = [] : n > 2 && x(t[0], t[1], t[2]) && (t = [t[0]]), yn(e, re(t, 1), []);
391
+ }), Gn = 0;
392
+ function q(e) {
393
+ var t = ++Gn;
394
+ return _(e) + t;
254
395
  }
255
396
  //#endregion
256
397
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseZipObject.js
257
- function gt(e, t, n) {
398
+ function Kn(e, t, n) {
258
399
  for (var r = -1, i = e.length, a = t.length, o = {}; ++r < i;) {
259
400
  var s = r < a ? t[r] : void 0;
260
401
  n(o, e[r], s);
@@ -263,104 +404,104 @@ function gt(e, t, n) {
263
404
  }
264
405
  //#endregion
265
406
  //#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/zipObject.js
266
- function _t(e, t) {
267
- return gt(e || [], t || [], ae);
407
+ function qn(e, t) {
408
+ return Kn(e || [], t || [], ce);
268
409
  }
269
410
  //#endregion
270
411
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/data/list.js
271
- var vt = class {
412
+ var Jn = class {
272
413
  constructor() {
273
414
  var e = {};
274
415
  e._next = e._prev = e, this._sentinel = e;
275
416
  }
276
417
  dequeue() {
277
418
  var e = this._sentinel, t = e._prev;
278
- if (t !== e) return yt(t), t;
419
+ if (t !== e) return Yn(t), t;
279
420
  }
280
421
  enqueue(e) {
281
422
  var t = this._sentinel;
282
- e._prev && e._next && yt(e), e._next = t._next, t._next._prev = e, t._next = e, e._prev = t;
423
+ e._prev && e._next && Yn(e), e._next = t._next, t._next._prev = e, t._next = e, e._prev = t;
283
424
  }
284
425
  toString() {
285
- for (var e = [], t = this._sentinel, n = t._prev; n !== t;) e.push(JSON.stringify(n, bt)), n = n._prev;
426
+ for (var e = [], t = this._sentinel, n = t._prev; n !== t;) e.push(JSON.stringify(n, Xn)), n = n._prev;
286
427
  return "[" + e.join(", ") + "]";
287
428
  }
288
429
  };
289
- function yt(e) {
430
+ function Yn(e) {
290
431
  e._prev._next = e._next, e._next._prev = e._prev, delete e._next, delete e._prev;
291
432
  }
292
- function bt(e, t) {
433
+ function Xn(e, t) {
293
434
  if (e !== "_next" && e !== "_prev") return t;
294
435
  }
295
436
  //#endregion
296
437
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/greedy-fas.js
297
- var xt = t(1);
298
- function St(e, t) {
438
+ var Zn = t(1);
439
+ function Qn(e, t) {
299
440
  if (e.nodeCount() <= 1) return [];
300
- var n = wt(e, t || xt), r = Ct(n.graph, n.buckets, n.zeroIdx);
301
- return C(T(r, function(t) {
441
+ var n = er(e, t || Zn), r = $n(n.graph, n.buckets, n.zeroIdx);
442
+ return A(I(r, function(t) {
302
443
  return e.outEdges(t.v, t.w);
303
444
  }));
304
445
  }
305
- function Ct(e, t, n) {
446
+ function $n(e, t, n) {
306
447
  for (var r = [], i = t[t.length - 1], a = t[0], o; e.nodeCount();) {
307
- for (; o = a.dequeue();) B(e, t, n, o);
308
- for (; o = i.dequeue();) B(e, t, n, o);
448
+ for (; o = a.dequeue();) J(e, t, n, o);
449
+ for (; o = i.dequeue();) J(e, t, n, o);
309
450
  if (e.nodeCount()) {
310
451
  for (var s = t.length - 2; s > 0; --s) if (o = t[s].dequeue(), o) {
311
- r = r.concat(B(e, t, n, o, !0));
452
+ r = r.concat(J(e, t, n, o, !0));
312
453
  break;
313
454
  }
314
455
  }
315
456
  }
316
457
  return r;
317
458
  }
318
- function B(e, t, n, r, i) {
459
+ function J(e, t, n, r, i) {
319
460
  var a = i ? [] : void 0;
320
- return v(e.inEdges(r.v), function(r) {
461
+ return E(e.inEdges(r.v), function(r) {
321
462
  var o = e.edge(r), s = e.node(r.v);
322
463
  i && a.push({
323
464
  v: r.v,
324
465
  w: r.w
325
- }), s.out -= o, V(t, n, s);
326
- }), v(e.outEdges(r.v), function(r) {
466
+ }), s.out -= o, tr(t, n, s);
467
+ }), E(e.outEdges(r.v), function(r) {
327
468
  var i = e.edge(r), a = r.w, o = e.node(a);
328
- o.in -= i, V(t, n, o);
469
+ o.in -= i, tr(t, n, o);
329
470
  }), e.removeNode(r.v), a;
330
471
  }
331
- function wt(e, t) {
332
- var n = new b(), r = 0, i = 0;
333
- v(e.nodes(), function(e) {
472
+ function er(e, t) {
473
+ var n = new O(), r = 0, i = 0;
474
+ E(e.nodes(), function(e) {
334
475
  n.setNode(e, {
335
476
  v: e,
336
477
  in: 0,
337
478
  out: 0
338
479
  });
339
- }), v(e.edges(), function(e) {
480
+ }), E(e.edges(), function(e) {
340
481
  var a = n.edge(e.v, e.w) || 0, o = t(e), s = a + o;
341
482
  n.setEdge(e.v, e.w, s), i = Math.max(i, n.node(e.v).out += o), r = Math.max(r, n.node(e.w).in += o);
342
483
  });
343
- var a = L(i + r + 3).map(function() {
344
- return new vt();
484
+ var a = G(i + r + 3).map(function() {
485
+ return new Jn();
345
486
  }), o = r + 1;
346
- return v(n.nodes(), function(e) {
347
- V(a, o, n.node(e));
487
+ return E(n.nodes(), function(e) {
488
+ tr(a, o, n.node(e));
348
489
  }), {
349
490
  graph: n,
350
491
  buckets: a,
351
492
  zeroIdx: o
352
493
  };
353
494
  }
354
- function V(e, t, n) {
495
+ function tr(e, t, n) {
355
496
  n.out ? n.in ? e[n.out - n.in + t].enqueue(n) : e[e.length - 1].enqueue(n) : e[0].enqueue(n);
356
497
  }
357
498
  //#endregion
358
499
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/acyclic.js
359
- function Tt(e) {
360
- var t = e.graph().acyclicer === "greedy" ? St(e, n(e)) : Et(e);
361
- v(t, function(t) {
500
+ function nr(e) {
501
+ var t = e.graph().acyclicer === "greedy" ? Qn(e, n(e)) : rr(e);
502
+ E(t, function(t) {
362
503
  var n = e.edge(t);
363
- e.removeEdge(t), n.forwardName = t.name, n.reversed = !0, e.setEdge(t.w, t.v, n, z("rev"));
504
+ e.removeEdge(t), n.forwardName = t.name, n.reversed = !0, e.setEdge(t.w, t.v, n, q("rev"));
364
505
  });
365
506
  function n(e) {
366
507
  return function(t) {
@@ -368,17 +509,17 @@ function Tt(e) {
368
509
  };
369
510
  }
370
511
  }
371
- function Et(e) {
512
+ function rr(e) {
372
513
  var t = [], n = {}, r = {};
373
514
  function i(a) {
374
- Object.prototype.hasOwnProperty.call(r, a) || (r[a] = !0, n[a] = !0, v(e.outEdges(a), function(e) {
515
+ Object.prototype.hasOwnProperty.call(r, a) || (r[a] = !0, n[a] = !0, E(e.outEdges(a), function(e) {
375
516
  Object.prototype.hasOwnProperty.call(n, e.w) ? t.push(e) : i(e.w);
376
517
  }), delete n[a]);
377
518
  }
378
- return v(e.nodes(), i), t;
519
+ return E(e.nodes(), i), t;
379
520
  }
380
- function Dt(e) {
381
- v(e.edges(), function(t) {
521
+ function ir(e) {
522
+ E(e.edges(), function(t) {
382
523
  var n = e.edge(t);
383
524
  if (n.reversed) {
384
525
  e.removeEdge(t);
@@ -389,18 +530,18 @@ function Dt(e) {
389
530
  }
390
531
  //#endregion
391
532
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/util.js
392
- function H(e, t, n, r) {
533
+ function Y(e, t, n, r) {
393
534
  var i;
394
535
  do
395
- i = z(r);
536
+ i = q(r);
396
537
  while (e.hasNode(i));
397
538
  return n.dummy = t, e.setNode(i, n), i;
398
539
  }
399
- function Ot(e) {
400
- var t = new b().setGraph(e.graph());
401
- return v(e.nodes(), function(n) {
540
+ function ar(e) {
541
+ var t = new O().setGraph(e.graph());
542
+ return E(e.nodes(), function(n) {
402
543
  t.setNode(n, e.node(n));
403
- }), v(e.edges(), function(n) {
544
+ }), E(e.edges(), function(n) {
404
545
  var r = t.edge(n.v, n.w) || {
405
546
  weight: 0,
406
547
  minlen: 1
@@ -411,15 +552,15 @@ function Ot(e) {
411
552
  });
412
553
  }), t;
413
554
  }
414
- function kt(e) {
415
- var t = new b({ multigraph: e.isMultigraph() }).setGraph(e.graph());
416
- return v(e.nodes(), function(n) {
555
+ function or(e) {
556
+ var t = new O({ multigraph: e.isMultigraph() }).setGraph(e.graph());
557
+ return E(e.nodes(), function(n) {
417
558
  e.children(n).length || t.setNode(n, e.node(n));
418
- }), v(e.edges(), function(n) {
559
+ }), E(e.edges(), function(n) {
419
560
  t.setEdge(n, e.edge(n));
420
561
  }), t;
421
562
  }
422
- function At(e, t) {
563
+ function sr(e, t) {
423
564
  var n = e.x, r = e.y, i = t.x - n, a = t.y - r, o = e.width / 2, s = e.height / 2;
424
565
  if (!i && !a) throw Error("Not possible to find intersection inside of the rectangle");
425
566
  var c, l;
@@ -428,145 +569,145 @@ function At(e, t) {
428
569
  y: r + l
429
570
  };
430
571
  }
431
- function U(e) {
432
- var t = T(L(Pt(e) + 1), function() {
572
+ function X(e) {
573
+ var t = I(G(dr(e) + 1), function() {
433
574
  return [];
434
575
  });
435
- return v(e.nodes(), function(n) {
576
+ return E(e.nodes(), function(n) {
436
577
  var r = e.node(n), i = r.rank;
437
- y(i) || (t[i][r.order] = n);
578
+ D(i) || (t[i][r.order] = n);
438
579
  }), t;
439
580
  }
440
- function jt(e) {
441
- var t = N(T(e.nodes(), function(t) {
581
+ function cr(e) {
582
+ var t = V(I(e.nodes(), function(t) {
442
583
  return e.node(t).rank;
443
584
  }));
444
- v(e.nodes(), function(n) {
585
+ E(e.nodes(), function(n) {
445
586
  var r = e.node(n);
446
- Ie(r, "rank") && (r.rank -= t);
587
+ fn(r, "rank") && (r.rank -= t);
447
588
  });
448
589
  }
449
- function Mt(e) {
450
- var t = N(T(e.nodes(), function(t) {
590
+ function lr(e) {
591
+ var t = V(I(e.nodes(), function(t) {
451
592
  return e.node(t).rank;
452
593
  })), n = [];
453
- v(e.nodes(), function(r) {
594
+ E(e.nodes(), function(r) {
454
595
  var i = e.node(r).rank - t;
455
596
  n[i] || (n[i] = []), n[i].push(r);
456
597
  });
457
598
  var r = 0, i = e.graph().nodeRankFactor;
458
- v(n, function(t, n) {
459
- y(t) && n % i !== 0 ? --r : r && v(t, function(t) {
599
+ E(n, function(t, n) {
600
+ D(t) && n % i !== 0 ? --r : r && E(t, function(t) {
460
601
  e.node(t).rank += r;
461
602
  });
462
603
  });
463
604
  }
464
- function Nt(e, t, n, r) {
605
+ function ur(e, t, n, r) {
465
606
  var i = {
466
607
  width: 0,
467
608
  height: 0
468
609
  };
469
- return arguments.length >= 4 && (i.rank = n, i.order = r), H(e, "border", i, t);
610
+ return arguments.length >= 4 && (i.rank = n, i.order = r), Y(e, "border", i, t);
470
611
  }
471
- function Pt(e) {
472
- return j(T(e.nodes(), function(t) {
612
+ function dr(e) {
613
+ return z(I(e.nodes(), function(t) {
473
614
  var n = e.node(t).rank;
474
- if (!y(n)) return n;
615
+ if (!D(n)) return n;
475
616
  }));
476
617
  }
477
- function Ft(e, t) {
618
+ function fr(e, t) {
478
619
  var n = {
479
620
  lhs: [],
480
621
  rhs: []
481
622
  };
482
- return v(e, function(e) {
623
+ return E(e, function(e) {
483
624
  t(e) ? n.lhs.push(e) : n.rhs.push(e);
484
625
  }), n;
485
626
  }
486
- function It(e, t) {
487
- var n = ne();
627
+ function pr(e, t) {
628
+ var n = ae();
488
629
  try {
489
630
  return t();
490
631
  } finally {
491
- console.log(e + " time: " + (ne() - n) + "ms");
632
+ console.log(e + " time: " + (ae() - n) + "ms");
492
633
  }
493
634
  }
494
- function Lt(e, t) {
635
+ function mr(e, t) {
495
636
  return t();
496
637
  }
497
638
  //#endregion
498
639
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/add-border-segments.js
499
- function Rt(e) {
640
+ function hr(e) {
500
641
  function t(n) {
501
642
  var r = e.children(n), i = e.node(n);
502
- if (r.length && v(r, t), Object.prototype.hasOwnProperty.call(i, "minRank")) {
643
+ if (r.length && E(r, t), Object.prototype.hasOwnProperty.call(i, "minRank")) {
503
644
  i.borderLeft = [], i.borderRight = [];
504
- for (var a = i.minRank, o = i.maxRank + 1; a < o; ++a) zt(e, "borderLeft", "_bl", n, i, a), zt(e, "borderRight", "_br", n, i, a);
645
+ for (var a = i.minRank, o = i.maxRank + 1; a < o; ++a) gr(e, "borderLeft", "_bl", n, i, a), gr(e, "borderRight", "_br", n, i, a);
505
646
  }
506
647
  }
507
- v(e.children(), t);
648
+ E(e.children(), t);
508
649
  }
509
- function zt(e, t, n, r, i, a) {
650
+ function gr(e, t, n, r, i, a) {
510
651
  var o = {
511
652
  width: 0,
512
653
  height: 0,
513
654
  rank: a,
514
655
  borderType: t
515
- }, s = i[t][a - 1], c = H(e, "border", o, n);
656
+ }, s = i[t][a - 1], c = Y(e, "border", o, n);
516
657
  i[t][a] = c, e.setParent(c, r), s && e.setEdge(s, c, { weight: 1 });
517
658
  }
518
659
  //#endregion
519
660
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/coordinate-system.js
520
- function Bt(e) {
661
+ function _r(e) {
521
662
  var t = e.graph().rankdir.toLowerCase();
522
- (t === "lr" || t === "rl") && Ht(e);
663
+ (t === "lr" || t === "rl") && yr(e);
523
664
  }
524
- function Vt(e) {
665
+ function vr(e) {
525
666
  var t = e.graph().rankdir.toLowerCase();
526
- (t === "bt" || t === "rl") && Wt(e), (t === "lr" || t === "rl") && (Gt(e), Ht(e));
667
+ (t === "bt" || t === "rl") && xr(e), (t === "lr" || t === "rl") && (Cr(e), yr(e));
527
668
  }
528
- function Ht(e) {
529
- v(e.nodes(), function(t) {
530
- Ut(e.node(t));
531
- }), v(e.edges(), function(t) {
532
- Ut(e.edge(t));
669
+ function yr(e) {
670
+ E(e.nodes(), function(t) {
671
+ br(e.node(t));
672
+ }), E(e.edges(), function(t) {
673
+ br(e.edge(t));
533
674
  });
534
675
  }
535
- function Ut(e) {
676
+ function br(e) {
536
677
  var t = e.width;
537
678
  e.width = e.height, e.height = t;
538
679
  }
539
- function Wt(e) {
540
- v(e.nodes(), function(t) {
541
- W(e.node(t));
542
- }), v(e.edges(), function(t) {
680
+ function xr(e) {
681
+ E(e.nodes(), function(t) {
682
+ Sr(e.node(t));
683
+ }), E(e.edges(), function(t) {
543
684
  var n = e.edge(t);
544
- v(n.points, W), Object.prototype.hasOwnProperty.call(n, "y") && W(n);
685
+ E(n.points, Sr), Object.prototype.hasOwnProperty.call(n, "y") && Sr(n);
545
686
  });
546
687
  }
547
- function W(e) {
688
+ function Sr(e) {
548
689
  e.y = -e.y;
549
690
  }
550
- function Gt(e) {
551
- v(e.nodes(), function(t) {
552
- G(e.node(t));
553
- }), v(e.edges(), function(t) {
691
+ function Cr(e) {
692
+ E(e.nodes(), function(t) {
693
+ wr(e.node(t));
694
+ }), E(e.edges(), function(t) {
554
695
  var n = e.edge(t);
555
- v(n.points, G), Object.prototype.hasOwnProperty.call(n, "x") && G(n);
696
+ E(n.points, wr), Object.prototype.hasOwnProperty.call(n, "x") && wr(n);
556
697
  });
557
698
  }
558
- function G(e) {
699
+ function wr(e) {
559
700
  var t = e.x;
560
701
  e.x = e.y, e.y = t;
561
702
  }
562
703
  //#endregion
563
704
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/normalize.js
564
- function Kt(e) {
565
- e.graph().dummyChains = [], v(e.edges(), function(t) {
566
- qt(e, t);
705
+ function Tr(e) {
706
+ e.graph().dummyChains = [], E(e.edges(), function(t) {
707
+ Er(e, t);
567
708
  });
568
709
  }
569
- function qt(e, t) {
710
+ function Er(e, t) {
570
711
  var n = t.v, r = e.node(n).rank, i = t.w, a = e.node(i).rank, o = t.name, s = e.edge(t), c = s.labelRank;
571
712
  if (a !== r + 1) {
572
713
  e.removeEdge(t);
@@ -577,12 +718,12 @@ function qt(e, t) {
577
718
  edgeLabel: s,
578
719
  edgeObj: t,
579
720
  rank: r
580
- }, u = H(e, "edge", l, "_d"), r === c && (l.width = s.width, l.height = s.height, l.dummy = "edge-label", l.labelpos = s.labelpos), e.setEdge(n, u, { weight: s.weight }, o), d === 0 && e.graph().dummyChains.push(u), n = u;
721
+ }, u = Y(e, "edge", l, "_d"), r === c && (l.width = s.width, l.height = s.height, l.dummy = "edge-label", l.labelpos = s.labelpos), e.setEdge(n, u, { weight: s.weight }, o), d === 0 && e.graph().dummyChains.push(u), n = u;
581
722
  e.setEdge(n, i, { weight: s.weight }, o);
582
723
  }
583
724
  }
584
- function Jt(e) {
585
- v(e.graph().dummyChains, function(t) {
725
+ function Dr(e) {
726
+ E(e.graph().dummyChains, function(t) {
586
727
  var n = e.node(t), r = n.edgeLabel, i;
587
728
  for (e.setEdge(n.edgeObj, r); n.dummy;) i = e.successors(t)[0], e.removeNode(t), r.points.push({
588
729
  x: n.x,
@@ -592,197 +733,197 @@ function Jt(e) {
592
733
  }
593
734
  //#endregion
594
735
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/rank/util.js
595
- function K(e) {
736
+ function Or(e) {
596
737
  var t = {};
597
738
  function n(r) {
598
739
  var i = e.node(r);
599
740
  if (Object.prototype.hasOwnProperty.call(t, r)) return i.rank;
600
741
  t[r] = !0;
601
- var a = N(T(e.outEdges(r), function(t) {
742
+ var a = V(I(e.outEdges(r), function(t) {
602
743
  return n(t.w) - e.edge(t).minlen;
603
744
  }));
604
745
  return (a === Infinity || a == null) && (a = 0), i.rank = a;
605
746
  }
606
- v(e.sources(), n);
747
+ E(e.sources(), n);
607
748
  }
608
- function q(e, t) {
749
+ function Z(e, t) {
609
750
  return e.node(t.w).rank - e.node(t.v).rank - e.edge(t).minlen;
610
751
  }
611
752
  //#endregion
612
753
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js
613
- function Yt(e) {
614
- var t = new b({ directed: !1 }), n = e.nodes()[0], r = e.nodeCount();
754
+ function kr(e) {
755
+ var t = new O({ directed: !1 }), n = e.nodes()[0], r = e.nodeCount();
615
756
  t.setNode(n, {});
616
- for (var i, a; Xt(t, e) < r;) i = Zt(t, e), a = t.hasNode(i.v) ? q(e, i) : -q(e, i), Qt(t, e, a);
757
+ for (var i, a; Ar(t, e) < r;) i = jr(t, e), a = t.hasNode(i.v) ? Z(e, i) : -Z(e, i), Mr(t, e, a);
617
758
  return t;
618
759
  }
619
- function Xt(e, t) {
760
+ function Ar(e, t) {
620
761
  function n(r) {
621
- v(t.nodeEdges(r), function(i) {
762
+ E(t.nodeEdges(r), function(i) {
622
763
  var a = i.v, o = r === a ? i.w : a;
623
- !e.hasNode(o) && !q(t, i) && (e.setNode(o, {}), e.setEdge(r, o, {}), n(o));
764
+ !e.hasNode(o) && !Z(t, i) && (e.setNode(o, {}), e.setEdge(r, o, {}), n(o));
624
765
  });
625
766
  }
626
- return v(e.nodes(), n), e.nodeCount();
767
+ return E(e.nodes(), n), e.nodeCount();
627
768
  }
628
- function Zt(e, t) {
629
- return P(t.edges(), function(n) {
630
- if (e.hasNode(n.v) !== e.hasNode(n.w)) return q(t, n);
769
+ function jr(e, t) {
770
+ return H(t.edges(), function(n) {
771
+ if (e.hasNode(n.v) !== e.hasNode(n.w)) return Z(t, n);
631
772
  });
632
773
  }
633
- function Qt(e, t, n) {
634
- v(e.nodes(), function(e) {
774
+ function Mr(e, t, n) {
775
+ E(e.nodes(), function(e) {
635
776
  t.node(e).rank += n;
636
777
  });
637
778
  }
638
779
  //#endregion
639
780
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js
640
- t(1), t(1), $t.CycleException = J;
641
- function $t(e) {
781
+ t(1), t(1), Nr.CycleException = Q;
782
+ function Nr(e) {
642
783
  var t = {}, n = {}, r = [];
643
784
  function i(a) {
644
- if (Object.prototype.hasOwnProperty.call(n, a)) throw new J();
645
- Object.prototype.hasOwnProperty.call(t, a) || (n[a] = !0, t[a] = !0, v(e.predecessors(a), i), delete n[a], r.push(a));
785
+ if (Object.prototype.hasOwnProperty.call(n, a)) throw new Q();
786
+ Object.prototype.hasOwnProperty.call(t, a) || (n[a] = !0, t[a] = !0, E(e.predecessors(a), i), delete n[a], r.push(a));
646
787
  }
647
- if (v(e.sinks(), i), mt(t) !== e.nodeCount()) throw new J();
788
+ if (E(e.sinks(), i), Wn(t) !== e.nodeCount()) throw new Q();
648
789
  return r;
649
790
  }
650
- function J() {}
651
- J.prototype = /* @__PURE__ */ Error();
791
+ function Q() {}
792
+ Q.prototype = /* @__PURE__ */ Error();
652
793
  //#endregion
653
794
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js
654
- function en(e, t, n) {
655
- s(t) || (t = [t]);
795
+ function Pr(e, t, n) {
796
+ d(t) || (t = [t]);
656
797
  var r = (e.isDirected() ? e.successors : e.neighbors).bind(e), i = [], a = {};
657
- return v(t, function(t) {
798
+ return E(t, function(t) {
658
799
  if (!e.hasNode(t)) throw Error("Graph does not have node: " + t);
659
- tn(e, t, n === "post", a, r, i);
800
+ Fr(e, t, n === "post", a, r, i);
660
801
  }), i;
661
802
  }
662
- function tn(e, t, n, r, i, a) {
663
- Object.prototype.hasOwnProperty.call(r, t) || (r[t] = !0, n || a.push(t), v(i(t), function(t) {
664
- tn(e, t, n, r, i, a);
803
+ function Fr(e, t, n, r, i, a) {
804
+ Object.prototype.hasOwnProperty.call(r, t) || (r[t] = !0, n || a.push(t), E(i(t), function(t) {
805
+ Fr(e, t, n, r, i, a);
665
806
  }), n && a.push(t));
666
807
  }
667
808
  //#endregion
668
809
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js
669
- function nn(e, t) {
670
- return en(e, t, "post");
810
+ function Ir(e, t) {
811
+ return Pr(e, t, "post");
671
812
  }
672
813
  //#endregion
673
814
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js
674
- function rn(e, t) {
675
- return en(e, t, "pre");
676
- }
677
- Y.initLowLimValues = Z, Y.initCutValues = X, Y.calcCutValue = on, Y.leaveEdge = cn, Y.enterEdge = ln, Y.exchangeEdges = un;
678
- function Y(e) {
679
- e = Ot(e), K(e);
680
- var t = Yt(e);
681
- Z(t), X(t, e);
682
- for (var n, r; n = cn(t);) r = ln(t, e, n), un(t, e, n, r);
683
- }
684
- function X(e, t) {
685
- var n = nn(e, e.nodes());
686
- n = n.slice(0, n.length - 1), v(n, function(n) {
687
- an(e, t, n);
815
+ function Lr(e, t) {
816
+ return Pr(e, t, "pre");
817
+ }
818
+ $.initLowLimValues = Vr, $.initCutValues = Rr, $.calcCutValue = Br, $.leaveEdge = Ur, $.enterEdge = Wr, $.exchangeEdges = Gr;
819
+ function $(e) {
820
+ e = ar(e), Or(e);
821
+ var t = kr(e);
822
+ Vr(t), Rr(t, e);
823
+ for (var n, r; n = Ur(t);) r = Wr(t, e, n), Gr(t, e, n, r);
824
+ }
825
+ function Rr(e, t) {
826
+ var n = Ir(e, e.nodes());
827
+ n = n.slice(0, n.length - 1), E(n, function(n) {
828
+ zr(e, t, n);
688
829
  });
689
830
  }
690
- function an(e, t, n) {
831
+ function zr(e, t, n) {
691
832
  var r = e.node(n).parent;
692
- e.edge(n, r).cutvalue = on(e, t, n);
833
+ e.edge(n, r).cutvalue = Br(e, t, n);
693
834
  }
694
- function on(e, t, n) {
835
+ function Br(e, t, n) {
695
836
  var r = e.node(n).parent, i = !0, a = t.edge(n, r), o = 0;
696
- return a ||= (i = !1, t.edge(r, n)), o = a.weight, v(t.nodeEdges(n), function(a) {
837
+ return a ||= (i = !1, t.edge(r, n)), o = a.weight, E(t.nodeEdges(n), function(a) {
697
838
  var s = a.v === n, c = s ? a.w : a.v;
698
839
  if (c !== r) {
699
840
  var l = s === i, u = t.edge(a).weight;
700
- if (o += l ? u : -u, fn(e, n, c)) {
841
+ if (o += l ? u : -u, qr(e, n, c)) {
701
842
  var d = e.edge(n, c).cutvalue;
702
843
  o += l ? -d : d;
703
844
  }
704
845
  }
705
846
  }), o;
706
847
  }
707
- function Z(e, t) {
708
- arguments.length < 2 && (t = e.nodes()[0]), sn(e, {}, 1, t);
848
+ function Vr(e, t) {
849
+ arguments.length < 2 && (t = e.nodes()[0]), Hr(e, {}, 1, t);
709
850
  }
710
- function sn(e, t, n, r, i) {
851
+ function Hr(e, t, n, r, i) {
711
852
  var a = n, o = e.node(r);
712
- return t[r] = !0, v(e.neighbors(r), function(i) {
713
- Object.prototype.hasOwnProperty.call(t, i) || (n = sn(e, t, n, i, r));
853
+ return t[r] = !0, E(e.neighbors(r), function(i) {
854
+ Object.prototype.hasOwnProperty.call(t, i) || (n = Hr(e, t, n, i, r));
714
855
  }), o.low = a, o.lim = n++, i ? o.parent = i : delete o.parent, n;
715
856
  }
716
- function cn(e) {
717
- return O(e.edges(), function(t) {
857
+ function Ur(e) {
858
+ return an(e.edges(), function(t) {
718
859
  return e.edge(t).cutvalue < 0;
719
860
  });
720
861
  }
721
- function ln(e, t, n) {
862
+ function Wr(e, t, n) {
722
863
  var r = n.v, i = n.w;
723
864
  t.hasEdge(r, i) || (r = n.w, i = n.v);
724
865
  var a = e.node(r), o = e.node(i), s = a, c = !1;
725
- return a.lim > o.lim && (s = o, c = !0), P(h(t.edges(), function(t) {
726
- return c === pn(e, e.node(t.v), s) && c !== pn(e, e.node(t.w), s);
866
+ return a.lim > o.lim && (s = o, c = !0), H(S(t.edges(), function(t) {
867
+ return c === Jr(e, e.node(t.v), s) && c !== Jr(e, e.node(t.w), s);
727
868
  }), function(e) {
728
- return q(t, e);
869
+ return Z(t, e);
729
870
  });
730
871
  }
731
- function un(e, t, n, r) {
872
+ function Gr(e, t, n, r) {
732
873
  var i = n.v, a = n.w;
733
- e.removeEdge(i, a), e.setEdge(r.v, r.w, {}), Z(e), X(e, t), dn(e, t);
874
+ e.removeEdge(i, a), e.setEdge(r.v, r.w, {}), Vr(e), Rr(e, t), Kr(e, t);
734
875
  }
735
- function dn(e, t) {
736
- var n = rn(e, O(e.nodes(), function(e) {
876
+ function Kr(e, t) {
877
+ var n = Lr(e, an(e.nodes(), function(e) {
737
878
  return !t.node(e).parent;
738
879
  }));
739
- n = n.slice(1), v(n, function(n) {
880
+ n = n.slice(1), E(n, function(n) {
740
881
  var r = e.node(n).parent, i = t.edge(n, r), a = !1;
741
882
  i || (i = t.edge(r, n), a = !0), t.node(n).rank = t.node(r).rank + (a ? i.minlen : -i.minlen);
742
883
  });
743
884
  }
744
- function fn(e, t, n) {
885
+ function qr(e, t, n) {
745
886
  return e.hasEdge(t, n);
746
887
  }
747
- function pn(e, t, n) {
888
+ function Jr(e, t, n) {
748
889
  return n.low <= t.lim && t.lim <= n.lim;
749
890
  }
750
891
  //#endregion
751
892
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/rank/index.js
752
- function mn(e) {
893
+ function Yr(e) {
753
894
  switch (e.graph().ranker) {
754
895
  case "network-simplex":
755
- _n(e);
896
+ Qr(e);
756
897
  break;
757
898
  case "tight-tree":
758
- gn(e);
899
+ Zr(e);
759
900
  break;
760
901
  case "longest-path":
761
- hn(e);
902
+ Xr(e);
762
903
  break;
763
- default: _n(e);
904
+ default: Qr(e);
764
905
  }
765
906
  }
766
- var hn = K;
767
- function gn(e) {
768
- K(e), Yt(e);
907
+ var Xr = Or;
908
+ function Zr(e) {
909
+ Or(e), kr(e);
769
910
  }
770
- function _n(e) {
771
- Y(e);
911
+ function Qr(e) {
912
+ $(e);
772
913
  }
773
914
  //#endregion
774
915
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/nesting-graph.js
775
- function vn(e) {
776
- var t = H(e, "root", {}, "_root"), n = bn(e), r = j(g(n)) - 1, i = 2 * r + 1;
777
- e.graph().nestingRoot = t, v(e.edges(), function(t) {
916
+ function $r(e) {
917
+ var t = Y(e, "root", {}, "_root"), n = ti(e), r = z(w(n)) - 1, i = 2 * r + 1;
918
+ e.graph().nestingRoot = t, E(e.edges(), function(t) {
778
919
  e.edge(t).minlen *= i;
779
920
  });
780
- var a = xn(e) + 1;
781
- v(e.children(), function(o) {
782
- yn(e, t, i, a, r, n, o);
921
+ var a = ni(e) + 1;
922
+ E(e.children(), function(o) {
923
+ ei(e, t, i, a, r, n, o);
783
924
  }), e.graph().nodeRankFactor = i;
784
925
  }
785
- function yn(e, t, n, r, i, a, o) {
926
+ function ei(e, t, n, r, i, a, o) {
786
927
  var s = e.children(o);
787
928
  if (!s.length) {
788
929
  o !== t && e.setEdge(t, o, {
@@ -791,9 +932,9 @@ function yn(e, t, n, r, i, a, o) {
791
932
  });
792
933
  return;
793
934
  }
794
- var c = Nt(e, "_bt"), l = Nt(e, "_bb"), u = e.node(o);
795
- e.setParent(c, o), u.borderTop = c, e.setParent(l, o), u.borderBottom = l, v(s, function(s) {
796
- yn(e, t, n, r, i, a, s);
935
+ var c = ur(e, "_bt"), l = ur(e, "_bb"), u = e.node(o);
936
+ e.setParent(c, o), u.borderTop = c, e.setParent(l, o), u.borderBottom = l, E(s, function(s) {
937
+ ei(e, t, n, r, i, a, s);
797
938
  var u = e.node(s), d = u.borderTop ? u.borderTop : s, f = u.borderBottom ? u.borderBottom : s, p = u.borderTop ? r : 2 * r, m = d === f ? i - a[o] + 1 : 1;
798
939
  e.setEdge(c, d, {
799
940
  weight: p,
@@ -809,34 +950,34 @@ function yn(e, t, n, r, i, a, o) {
809
950
  minlen: i + a[o]
810
951
  });
811
952
  }
812
- function bn(e) {
953
+ function ti(e) {
813
954
  var t = {};
814
955
  function n(r, i) {
815
956
  var a = e.children(r);
816
- a && a.length && v(a, function(e) {
957
+ a && a.length && E(a, function(e) {
817
958
  n(e, i + 1);
818
959
  }), t[r] = i;
819
960
  }
820
- return v(e.children(), function(e) {
961
+ return E(e.children(), function(e) {
821
962
  n(e, 1);
822
963
  }), t;
823
964
  }
824
- function xn(e) {
825
- return _(e.edges(), function(t, n) {
965
+ function ni(e) {
966
+ return T(e.edges(), function(t, n) {
826
967
  return t + e.edge(n).weight;
827
968
  }, 0);
828
969
  }
829
- function Sn(e) {
970
+ function ri(e) {
830
971
  var t = e.graph();
831
- e.removeNode(t.nestingRoot), delete t.nestingRoot, v(e.edges(), function(t) {
972
+ e.removeNode(t.nestingRoot), delete t.nestingRoot, E(e.edges(), function(t) {
832
973
  e.edge(t).nestingEdge && e.removeEdge(t);
833
974
  });
834
975
  }
835
976
  //#endregion
836
977
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js
837
- function Cn(e, t, n) {
978
+ function ii(e, t, n) {
838
979
  var r = {}, i;
839
- v(n, function(n) {
980
+ E(n, function(n) {
840
981
  for (var a = e.parent(n), o, s; a;) {
841
982
  if (o = e.parent(a), o ? (s = r[o], r[o] = a) : (s = i, i = a), s && s !== a) {
842
983
  t.setEdge(s, a);
@@ -848,14 +989,14 @@ function Cn(e, t, n) {
848
989
  }
849
990
  //#endregion
850
991
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js
851
- function wn(e, t, n) {
852
- var r = Tn(e), i = new b({ compound: !0 }).setGraph({ root: r }).setDefaultNodeLabel(function(t) {
992
+ function ai(e, t, n) {
993
+ var r = oi(e), i = new O({ compound: !0 }).setGraph({ root: r }).setDefaultNodeLabel(function(t) {
853
994
  return e.node(t);
854
995
  });
855
- return v(e.nodes(), function(a) {
996
+ return E(e.nodes(), function(a) {
856
997
  var o = e.node(a), s = e.parent(a);
857
- (o.rank === t || o.minRank <= t && t <= o.maxRank) && (i.setNode(a), i.setParent(a, s || r), v(e[n](a), function(t) {
858
- var n = t.v === a ? t.w : t.v, r = i.edge(n, a), o = y(r) ? 0 : r.weight;
998
+ (o.rank === t || o.minRank <= t && t <= o.maxRank) && (i.setNode(a), i.setParent(a, s || r), E(e[n](a), function(t) {
999
+ var n = t.v === a ? t.w : t.v, r = i.edge(n, a), o = D(r) ? 0 : r.weight;
859
1000
  i.setEdge(n, a, { weight: e.edge(t).weight + o });
860
1001
  }), Object.prototype.hasOwnProperty.call(o, "minRank") && i.setNode(a, {
861
1002
  borderLeft: o.borderLeft[t],
@@ -863,21 +1004,21 @@ function wn(e, t, n) {
863
1004
  }));
864
1005
  }), i;
865
1006
  }
866
- function Tn(e) {
867
- for (var t; e.hasNode(t = z("_root")););
1007
+ function oi(e) {
1008
+ for (var t; e.hasNode(t = q("_root")););
868
1009
  return t;
869
1010
  }
870
1011
  //#endregion
871
1012
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/cross-count.js
872
- function En(e, t) {
873
- for (var n = 0, r = 1; r < t.length; ++r) n += Dn(e, t[r - 1], t[r]);
1013
+ function si(e, t) {
1014
+ for (var n = 0, r = 1; r < t.length; ++r) n += ci(e, t[r - 1], t[r]);
874
1015
  return n;
875
1016
  }
876
- function Dn(e, t, n) {
877
- for (var r = _t(n, T(n, function(e, t) {
1017
+ function ci(e, t, n) {
1018
+ for (var r = qn(n, I(n, function(e, t) {
878
1019
  return t;
879
- })), i = C(T(t, function(t) {
880
- return R(T(e.outEdges(t), function(t) {
1020
+ })), i = A(I(t, function(t) {
1021
+ return K(I(e.outEdges(t), function(t) {
881
1022
  return {
882
1023
  pos: r[t.w],
883
1024
  weight: e.edge(t).weight
@@ -886,10 +1027,10 @@ function Dn(e, t, n) {
886
1027
  })), a = 1; a < n.length;) a <<= 1;
887
1028
  var o = 2 * a - 1;
888
1029
  --a;
889
- var s = T(Array(o), function() {
1030
+ var s = I(Array(o), function() {
890
1031
  return 0;
891
1032
  }), c = 0;
892
- return v(i.forEach(function(e) {
1033
+ return E(i.forEach(function(e) {
893
1034
  var t = e.pos + a;
894
1035
  s[t] += e.weight;
895
1036
  for (var n = 0; t > 0;) t % 2 && (n += s[t + 1]), t = t - 1 >> 1, s[t] += e.weight;
@@ -898,29 +1039,29 @@ function Dn(e, t, n) {
898
1039
  }
899
1040
  //#endregion
900
1041
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/init-order.js
901
- function On(e) {
902
- var t = {}, n = h(e.nodes(), function(t) {
1042
+ function li(e) {
1043
+ var t = {}, n = S(e.nodes(), function(t) {
903
1044
  return !e.children(t).length;
904
- }), r = j(T(n, function(t) {
1045
+ }), r = I(G(z(I(n, function(t) {
905
1046
  return e.node(t).rank;
906
- })), i = T(L(r + 1), function() {
1047
+ })) + 1), function() {
907
1048
  return [];
908
1049
  });
909
- function a(n) {
910
- Ie(t, n) || (t[n] = !0, i[e.node(n).rank].push(n), v(e.successors(n), a));
1050
+ function i(n) {
1051
+ fn(t, n) || (t[n] = !0, r[e.node(n).rank].push(n), E(e.successors(n), i));
911
1052
  }
912
- var o = R(n, function(t) {
1053
+ var a = K(n, function(t) {
913
1054
  return e.node(t).rank;
914
1055
  });
915
- return v(o, a), i;
1056
+ return E(a, i), r;
916
1057
  }
917
1058
  //#endregion
918
1059
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/barycenter.js
919
- function kn(e, t) {
920
- return T(t, function(t) {
1060
+ function ui(e, t) {
1061
+ return I(t, function(t) {
921
1062
  var n = e.inEdges(t);
922
1063
  if (n.length) {
923
- var r = _(n, function(t, n) {
1064
+ var r = T(n, function(t, n) {
924
1065
  var r = e.edge(n), i = e.node(n.v);
925
1066
  return {
926
1067
  sum: t.sum + r.weight * i.order,
@@ -941,9 +1082,9 @@ function kn(e, t) {
941
1082
  }
942
1083
  //#endregion
943
1084
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js
944
- function An(e, t) {
1085
+ function di(e, t) {
945
1086
  var n = {};
946
- return v(e, function(e, t) {
1087
+ return E(e, function(e, t) {
947
1088
  var r = n[e.v] = {
948
1089
  indegree: 0,
949
1090
  in: [],
@@ -951,19 +1092,19 @@ function An(e, t) {
951
1092
  vs: [e.v],
952
1093
  i: t
953
1094
  };
954
- y(e.barycenter) || (r.barycenter = e.barycenter, r.weight = e.weight);
955
- }), v(t.edges(), function(e) {
1095
+ D(e.barycenter) || (r.barycenter = e.barycenter, r.weight = e.weight);
1096
+ }), E(t.edges(), function(e) {
956
1097
  var t = n[e.v], r = n[e.w];
957
- !y(t) && !y(r) && (r.indegree++, t.out.push(n[e.w]));
958
- }), jn(h(n, function(e) {
1098
+ !D(t) && !D(r) && (r.indegree++, t.out.push(n[e.w]));
1099
+ }), fi(S(n, function(e) {
959
1100
  return !e.indegree;
960
1101
  }));
961
1102
  }
962
- function jn(e) {
1103
+ function fi(e) {
963
1104
  var t = [];
964
1105
  function n(e) {
965
1106
  return function(t) {
966
- t.merged || (y(t.barycenter) || y(e.barycenter) || t.barycenter >= e.barycenter) && Mn(e, t);
1107
+ t.merged || (D(t.barycenter) || D(e.barycenter) || t.barycenter >= e.barycenter) && pi(e, t);
967
1108
  };
968
1109
  }
969
1110
  function r(t) {
@@ -973,12 +1114,12 @@ function jn(e) {
973
1114
  }
974
1115
  for (; e.length;) {
975
1116
  var i = e.pop();
976
- t.push(i), v(i.in.reverse(), n(i)), v(i.out, r(i));
1117
+ t.push(i), E(i.in.reverse(), n(i)), E(i.out, r(i));
977
1118
  }
978
- return T(h(t, function(e) {
1119
+ return I(S(t, function(e) {
979
1120
  return !e.merged;
980
1121
  }), function(e) {
981
- return w(e, [
1122
+ return j(e, [
982
1123
  "vs",
983
1124
  "i",
984
1125
  "barycenter",
@@ -986,51 +1127,51 @@ function jn(e) {
986
1127
  ]);
987
1128
  });
988
1129
  }
989
- function Mn(e, t) {
1130
+ function pi(e, t) {
990
1131
  var n = 0, r = 0;
991
1132
  e.weight && (n += e.barycenter * e.weight, r += e.weight), t.weight && (n += t.barycenter * t.weight, r += t.weight), e.vs = t.vs.concat(e.vs), e.barycenter = n / r, e.weight = r, e.i = Math.min(t.i, e.i), t.merged = !0;
992
1133
  }
993
1134
  //#endregion
994
1135
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/sort.js
995
- function Nn(e, t) {
996
- var n = Ft(e, function(e) {
1136
+ function mi(e, t) {
1137
+ var n = fr(e, function(e) {
997
1138
  return Object.prototype.hasOwnProperty.call(e, "barycenter");
998
- }), r = n.lhs, i = R(n.rhs, function(e) {
1139
+ }), r = n.lhs, i = K(n.rhs, function(e) {
999
1140
  return -e.i;
1000
1141
  }), a = [], o = 0, s = 0, c = 0;
1001
- r.sort(Fn(!!t)), c = Pn(a, i, c), v(r, function(e) {
1002
- c += e.vs.length, a.push(e.vs), o += e.barycenter * e.weight, s += e.weight, c = Pn(a, i, c);
1142
+ r.sort(gi(!!t)), c = hi(a, i, c), E(r, function(e) {
1143
+ c += e.vs.length, a.push(e.vs), o += e.barycenter * e.weight, s += e.weight, c = hi(a, i, c);
1003
1144
  });
1004
- var l = { vs: C(a) };
1145
+ var l = { vs: A(a) };
1005
1146
  return s && (l.barycenter = o / s, l.weight = s), l;
1006
1147
  }
1007
- function Pn(e, t, n) {
1008
- for (var r; t.length && (r = D(t)).i <= n;) t.pop(), e.push(r.vs), n++;
1148
+ function hi(e, t, n) {
1149
+ for (var r; t.length && (r = F(t)).i <= n;) t.pop(), e.push(r.vs), n++;
1009
1150
  return n;
1010
1151
  }
1011
- function Fn(e) {
1152
+ function gi(e) {
1012
1153
  return function(t, n) {
1013
1154
  return t.barycenter < n.barycenter ? -1 : t.barycenter > n.barycenter ? 1 : e ? n.i - t.i : t.i - n.i;
1014
1155
  };
1015
1156
  }
1016
1157
  //#endregion
1017
1158
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js
1018
- function In(e, t, n, r) {
1159
+ function _i(e, t, n, r) {
1019
1160
  var i = e.children(t), a = e.node(t), o = a ? a.borderLeft : void 0, s = a ? a.borderRight : void 0, c = {};
1020
- o && (i = h(i, function(e) {
1161
+ o && (i = S(i, function(e) {
1021
1162
  return e !== o && e !== s;
1022
1163
  }));
1023
- var l = kn(e, i);
1024
- v(l, function(t) {
1164
+ var l = ui(e, i);
1165
+ E(l, function(t) {
1025
1166
  if (e.children(t.v).length) {
1026
- var i = In(e, t.v, n, r);
1027
- c[t.v] = i, Object.prototype.hasOwnProperty.call(i, "barycenter") && Rn(t, i);
1167
+ var i = _i(e, t.v, n, r);
1168
+ c[t.v] = i, Object.prototype.hasOwnProperty.call(i, "barycenter") && yi(t, i);
1028
1169
  }
1029
1170
  });
1030
- var u = An(l, n);
1031
- Ln(u, c);
1032
- var d = Nn(u, r);
1033
- if (o && (d.vs = C([
1171
+ var u = di(l, n);
1172
+ vi(u, c);
1173
+ var d = mi(u, r);
1174
+ if (o && (d.vs = A([
1034
1175
  o,
1035
1176
  d.vs,
1036
1177
  s
@@ -1040,55 +1181,55 @@ function In(e, t, n, r) {
1040
1181
  }
1041
1182
  return d;
1042
1183
  }
1043
- function Ln(e, t) {
1044
- v(e, function(e) {
1045
- e.vs = C(e.vs.map(function(e) {
1184
+ function vi(e, t) {
1185
+ E(e, function(e) {
1186
+ e.vs = A(e.vs.map(function(e) {
1046
1187
  return t[e] ? t[e].vs : e;
1047
1188
  }));
1048
1189
  });
1049
1190
  }
1050
- function Rn(e, t) {
1051
- y(e.barycenter) ? (e.barycenter = t.barycenter, e.weight = t.weight) : (e.barycenter = (e.barycenter * e.weight + t.barycenter * t.weight) / (e.weight + t.weight), e.weight += t.weight);
1191
+ function yi(e, t) {
1192
+ D(e.barycenter) ? (e.barycenter = t.barycenter, e.weight = t.weight) : (e.barycenter = (e.barycenter * e.weight + t.barycenter * t.weight) / (e.weight + t.weight), e.weight += t.weight);
1052
1193
  }
1053
1194
  //#endregion
1054
1195
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/index.js
1055
- function zn(e) {
1056
- var t = Pt(e), n = Bn(e, L(1, t + 1), "inEdges"), r = Bn(e, L(t - 1, -1, -1), "outEdges"), i = On(e);
1057
- Hn(e, i);
1196
+ function bi(e) {
1197
+ var t = dr(e), n = xi(e, G(1, t + 1), "inEdges"), r = xi(e, G(t - 1, -1, -1), "outEdges"), i = li(e);
1198
+ Ci(e, i);
1058
1199
  for (var a = Infinity, o, s = 0, c = 0; c < 4; ++s, ++c) {
1059
- Vn(s % 2 ? n : r, s % 4 >= 2), i = U(e);
1060
- var l = En(e, i);
1061
- l < a && (c = 0, o = we(i), a = l);
1200
+ Si(s % 2 ? n : r, s % 4 >= 2), i = X(e);
1201
+ var l = si(e, i);
1202
+ l < a && (c = 0, o = Zt(i), a = l);
1062
1203
  }
1063
- Hn(e, o);
1204
+ Ci(e, o);
1064
1205
  }
1065
- function Bn(e, t, n) {
1066
- return T(t, function(t) {
1067
- return wn(e, t, n);
1206
+ function xi(e, t, n) {
1207
+ return I(t, function(t) {
1208
+ return ai(e, t, n);
1068
1209
  });
1069
1210
  }
1070
- function Vn(e, t) {
1071
- var n = new b();
1072
- v(e, function(e) {
1073
- var r = e.graph().root, i = In(e, r, n, t);
1074
- v(i.vs, function(t, n) {
1211
+ function Si(e, t) {
1212
+ var n = new O();
1213
+ E(e, function(e) {
1214
+ var r = e.graph().root, i = _i(e, r, n, t);
1215
+ E(i.vs, function(t, n) {
1075
1216
  e.node(t).order = n;
1076
- }), Cn(e, n, i.vs);
1217
+ }), ii(e, n, i.vs);
1077
1218
  });
1078
1219
  }
1079
- function Hn(e, t) {
1080
- v(t, function(t) {
1081
- v(t, function(t, n) {
1220
+ function Ci(e, t) {
1221
+ E(t, function(t) {
1222
+ E(t, function(t, n) {
1082
1223
  e.node(t).order = n;
1083
1224
  });
1084
1225
  });
1085
1226
  }
1086
1227
  //#endregion
1087
1228
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js
1088
- function Un(e) {
1089
- var t = Gn(e);
1090
- v(e.graph().dummyChains, function(n) {
1091
- for (var r = e.node(n), i = r.edgeObj, a = Wn(e, t, i.v, i.w), o = a.path, s = a.lca, c = 0, l = o[c], u = !0; n !== i.w;) {
1229
+ function wi(e) {
1230
+ var t = Ei(e);
1231
+ E(e.graph().dummyChains, function(n) {
1232
+ for (var r = e.node(n), i = r.edgeObj, a = Ti(e, t, i.v, i.w), o = a.path, s = a.lca, c = 0, l = o[c], u = !0; n !== i.w;) {
1092
1233
  if (r = e.node(n), u) {
1093
1234
  for (; (l = o[c]) !== s && e.node(l).maxRank < r.rank;) c++;
1094
1235
  l === s && (u = !1);
@@ -1101,7 +1242,7 @@ function Un(e) {
1101
1242
  }
1102
1243
  });
1103
1244
  }
1104
- function Wn(e, t, n, r) {
1245
+ function Ti(e, t, n, r) {
1105
1246
  var i = [], a = [], o = Math.min(t[n].low, t[r].low), s = Math.max(t[n].lim, t[r].lim), c = n, l;
1106
1247
  do
1107
1248
  c = e.parent(c), i.push(c);
@@ -1112,49 +1253,49 @@ function Wn(e, t, n, r) {
1112
1253
  lca: l
1113
1254
  };
1114
1255
  }
1115
- function Gn(e) {
1256
+ function Ei(e) {
1116
1257
  var t = {}, n = 0;
1117
1258
  function r(i) {
1118
1259
  var a = n;
1119
- v(e.children(i), r), t[i] = {
1260
+ E(e.children(i), r), t[i] = {
1120
1261
  low: a,
1121
1262
  lim: n++
1122
1263
  };
1123
1264
  }
1124
- return v(e.children(), r), t;
1265
+ return E(e.children(), r), t;
1125
1266
  }
1126
1267
  //#endregion
1127
1268
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/position/bk.js
1128
- function Kn(e, t) {
1269
+ function Di(e, t) {
1129
1270
  var n = {};
1130
1271
  function r(t, r) {
1131
- var i = 0, a = 0, o = t.length, s = D(r);
1132
- return v(r, function(t, c) {
1133
- var l = Jn(e, t), u = l ? e.node(l).order : o;
1134
- (l || t === s) && (v(r.slice(a, c + 1), function(t) {
1135
- v(e.predecessors(t), function(r) {
1272
+ var i = 0, a = 0, o = t.length, s = F(r);
1273
+ return E(r, function(t, c) {
1274
+ var l = ki(e, t), u = l ? e.node(l).order : o;
1275
+ (l || t === s) && (E(r.slice(a, c + 1), function(t) {
1276
+ E(e.predecessors(t), function(r) {
1136
1277
  var a = e.node(r), o = a.order;
1137
- (o < i || u < o) && !(a.dummy && e.node(t).dummy) && Yn(n, r, t);
1278
+ (o < i || u < o) && !(a.dummy && e.node(t).dummy) && Ai(n, r, t);
1138
1279
  });
1139
1280
  }), a = c + 1, i = u);
1140
1281
  }), r;
1141
1282
  }
1142
- return _(t, r), n;
1283
+ return T(t, r), n;
1143
1284
  }
1144
- function qn(e, t) {
1285
+ function Oi(e, t) {
1145
1286
  var n = {};
1146
1287
  function r(t, r, i, a, o) {
1147
1288
  var s;
1148
- v(L(r, i), function(r) {
1149
- s = t[r], e.node(s).dummy && v(e.predecessors(s), function(t) {
1289
+ E(G(r, i), function(r) {
1290
+ s = t[r], e.node(s).dummy && E(e.predecessors(s), function(t) {
1150
1291
  var r = e.node(t);
1151
- r.dummy && (r.order < a || r.order > o) && Yn(n, t, s);
1292
+ r.dummy && (r.order < a || r.order > o) && Ai(n, t, s);
1152
1293
  });
1153
1294
  });
1154
1295
  }
1155
1296
  function i(t, n) {
1156
1297
  var i = -1, a, o = 0;
1157
- return v(n, function(s, c) {
1298
+ return E(n, function(s, c) {
1158
1299
  if (e.node(s).dummy === "border") {
1159
1300
  var l = e.predecessors(s);
1160
1301
  l.length && (a = e.node(l[0]).order, r(n, o, c, i, a), o = c, i = a);
@@ -1162,14 +1303,14 @@ function qn(e, t) {
1162
1303
  r(n, o, n.length, a, t.length);
1163
1304
  }), n;
1164
1305
  }
1165
- return _(t, i), n;
1306
+ return T(t, i), n;
1166
1307
  }
1167
- function Jn(e, t) {
1168
- if (e.node(t).dummy) return O(e.predecessors(t), function(t) {
1308
+ function ki(e, t) {
1309
+ if (e.node(t).dummy) return an(e.predecessors(t), function(t) {
1169
1310
  return e.node(t).dummy;
1170
1311
  });
1171
1312
  }
1172
- function Yn(e, t, n) {
1313
+ function Ai(e, t, n) {
1173
1314
  if (t > n) {
1174
1315
  var r = t;
1175
1316
  t = n, n = r;
@@ -1188,30 +1329,30 @@ function Yn(e, t, n) {
1188
1329
  writable: !0
1189
1330
  });
1190
1331
  }
1191
- function Xn(e, t, n) {
1332
+ function ji(e, t, n) {
1192
1333
  if (t > n) {
1193
1334
  var r = t;
1194
1335
  t = n, n = r;
1195
1336
  }
1196
1337
  return !!e[t] && Object.prototype.hasOwnProperty.call(e[t], n);
1197
1338
  }
1198
- function Zn(e, t, n, r) {
1339
+ function Mi(e, t, n, r) {
1199
1340
  var i = {}, a = {}, o = {};
1200
- return v(t, function(e) {
1201
- v(e, function(e, t) {
1341
+ return E(t, function(e) {
1342
+ E(e, function(e, t) {
1202
1343
  i[e] = e, a[e] = e, o[e] = t;
1203
1344
  });
1204
- }), v(t, function(e) {
1345
+ }), E(t, function(e) {
1205
1346
  var t = -1;
1206
- v(e, function(e) {
1347
+ E(e, function(e) {
1207
1348
  var s = r(e);
1208
1349
  if (s.length) {
1209
- s = R(s, function(e) {
1350
+ s = K(s, function(e) {
1210
1351
  return o[e];
1211
1352
  });
1212
1353
  for (var c = (s.length - 1) / 2, l = Math.floor(c), u = Math.ceil(c); l <= u; ++l) {
1213
1354
  var d = s[l];
1214
- a[e] === e && t < o[d] && !Xn(n, e, d) && (a[d] = e, a[e] = i[e] = i[d], t = o[d]);
1355
+ a[e] === e && t < o[d] && !ji(n, e, d) && (a[d] = e, a[e] = i[e] = i[d], t = o[d]);
1215
1356
  }
1216
1357
  }
1217
1358
  });
@@ -1220,8 +1361,8 @@ function Zn(e, t, n, r) {
1220
1361
  align: a
1221
1362
  };
1222
1363
  }
1223
- function Qn(e, t, n, r, i) {
1224
- var a = {}, o = $n(e, t, n, i), s = i ? "borderLeft" : "borderRight";
1364
+ function Ni(e, t, n, r, i) {
1365
+ var a = {}, o = Pi(e, t, n, i), s = i ? "borderLeft" : "borderRight";
1225
1366
  function c(e, t) {
1226
1367
  for (var n = o.nodes(), r = n.pop(), i = {}; r;) i[r] ? e(r) : (i[r] = !0, n.push(r), n = n.concat(t(r))), r = n.pop();
1227
1368
  }
@@ -1236,15 +1377,15 @@ function Qn(e, t, n, r, i) {
1236
1377
  }, Infinity), r = e.node(t);
1237
1378
  n !== Infinity && r.borderType !== s && (a[t] = Math.max(a[t], n));
1238
1379
  }
1239
- return c(l, o.predecessors.bind(o)), c(u, o.successors.bind(o)), v(r, function(e) {
1380
+ return c(l, o.predecessors.bind(o)), c(u, o.successors.bind(o)), E(r, function(e) {
1240
1381
  a[e] = a[n[e]];
1241
1382
  }), a;
1242
1383
  }
1243
- function $n(e, t, n, r) {
1244
- var i = new b(), a = e.graph(), o = ir(a.nodesep, a.edgesep, r);
1245
- return v(t, function(t) {
1384
+ function Pi(e, t, n, r) {
1385
+ var i = new O(), a = e.graph(), o = zi(a.nodesep, a.edgesep, r);
1386
+ return E(t, function(t) {
1246
1387
  var r;
1247
- v(t, function(t) {
1388
+ E(t, function(t) {
1248
1389
  var a = n[t];
1249
1390
  if (i.setNode(a), r) {
1250
1391
  var s = n[r], c = i.edge(s, a);
@@ -1254,51 +1395,51 @@ function $n(e, t, n, r) {
1254
1395
  });
1255
1396
  }), i;
1256
1397
  }
1257
- function er(e, t) {
1258
- return P(g(t), function(t) {
1398
+ function Fi(e, t) {
1399
+ return H(w(t), function(t) {
1259
1400
  var n = -Infinity, r = Infinity;
1260
- return je(t, function(t, i) {
1261
- var a = ar(e, i) / 2;
1401
+ return sn(t, function(t, i) {
1402
+ var a = Bi(e, i) / 2;
1262
1403
  n = Math.max(t + a, n), r = Math.min(t - a, r);
1263
1404
  }), n - r;
1264
1405
  });
1265
1406
  }
1266
- function tr(e, t) {
1267
- var n = g(t), r = N(n), i = j(n);
1268
- v(["u", "d"], function(n) {
1269
- v(["l", "r"], function(a) {
1407
+ function Ii(e, t) {
1408
+ var n = w(t), r = V(n), i = z(n);
1409
+ E(["u", "d"], function(n) {
1410
+ E(["l", "r"], function(a) {
1270
1411
  var o = n + a, s = e[o], c;
1271
1412
  if (s !== t) {
1272
- var l = g(s);
1273
- c = a === "l" ? r - N(l) : i - j(l), c && (e[o] = k(s, function(e) {
1413
+ var l = w(s);
1414
+ c = a === "l" ? r - V(l) : i - z(l), c && (e[o] = L(s, function(e) {
1274
1415
  return e + c;
1275
1416
  }));
1276
1417
  }
1277
1418
  });
1278
1419
  });
1279
1420
  }
1280
- function nr(e, t) {
1281
- return k(e.ul, function(n, r) {
1421
+ function Li(e, t) {
1422
+ return L(e.ul, function(n, r) {
1282
1423
  if (t) return e[t.toLowerCase()][r];
1283
- var i = R(T(e, r));
1424
+ var i = K(I(e, r));
1284
1425
  return (i[1] + i[2]) / 2;
1285
1426
  });
1286
1427
  }
1287
- function rr(e) {
1288
- var t = U(e), n = M(Kn(e, t), qn(e, t)), r = {}, i;
1289
- return v(["u", "d"], function(a) {
1290
- i = a === "u" ? t : g(t).reverse(), v(["l", "r"], function(t) {
1291
- t === "r" && (i = T(i, function(e) {
1292
- return g(e).reverse();
1428
+ function Ri(e) {
1429
+ var t = X(e), n = B(Di(e, t), Oi(e, t)), r = {}, i;
1430
+ return E(["u", "d"], function(a) {
1431
+ i = a === "u" ? t : w(t).reverse(), E(["l", "r"], function(t) {
1432
+ t === "r" && (i = I(i, function(e) {
1433
+ return w(e).reverse();
1293
1434
  }));
1294
- var o = (a === "u" ? e.predecessors : e.successors).bind(e), s = Zn(e, i, n, o), c = Qn(e, i, s.root, s.align, t === "r");
1295
- t === "r" && (c = k(c, function(e) {
1435
+ var o = (a === "u" ? e.predecessors : e.successors).bind(e), s = Mi(e, i, n, o), c = Ni(e, i, s.root, s.align, t === "r");
1436
+ t === "r" && (c = L(c, function(e) {
1296
1437
  return -e;
1297
1438
  })), r[a + t] = c;
1298
1439
  });
1299
- }), tr(r, er(e, r)), nr(r, e.graph().align);
1440
+ }), Ii(r, Fi(e, r)), Li(r, e.graph().align);
1300
1441
  }
1301
- function ir(e, t, n) {
1442
+ function zi(e, t, n) {
1302
1443
  return function(r, i, a) {
1303
1444
  var o = r.node(i), s = r.node(a), c = 0, l;
1304
1445
  if (c += o.width / 2, Object.prototype.hasOwnProperty.call(o, "labelpos")) switch (o.labelpos.toLowerCase()) {
@@ -1316,155 +1457,155 @@ function ir(e, t, n) {
1316
1457
  return l && (c += n ? l : -l), l = 0, c;
1317
1458
  };
1318
1459
  }
1319
- function ar(e, t) {
1460
+ function Bi(e, t) {
1320
1461
  return e.node(t).width;
1321
1462
  }
1322
1463
  //#endregion
1323
1464
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/position/index.js
1324
- function or(e) {
1325
- e = kt(e), sr(e), Me(rr(e), function(t, n) {
1465
+ function Vi(e) {
1466
+ e = or(e), Hi(e), cn(Ri(e), function(t, n) {
1326
1467
  e.node(n).x = t;
1327
1468
  });
1328
1469
  }
1329
- function sr(e) {
1330
- var t = U(e), n = e.graph().ranksep, r = 0;
1331
- v(t, function(t) {
1332
- var i = j(T(t, function(t) {
1470
+ function Hi(e) {
1471
+ var t = X(e), n = e.graph().ranksep, r = 0;
1472
+ E(t, function(t) {
1473
+ var i = z(I(t, function(t) {
1333
1474
  return e.node(t).height;
1334
1475
  }));
1335
- v(t, function(t) {
1476
+ E(t, function(t) {
1336
1477
  e.node(t).y = r + i / 2;
1337
1478
  }), r += i + n;
1338
1479
  });
1339
1480
  }
1340
1481
  //#endregion
1341
1482
  //#region ../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/layout.js
1342
- function cr(e, t) {
1343
- var n = t && t.debugTiming ? It : Lt;
1483
+ function Ui(e, t) {
1484
+ var n = t && t.debugTiming ? pr : mr;
1344
1485
  n("layout", () => {
1345
- var t = n(" buildLayoutGraph", () => yr(e));
1346
- n(" runLayout", () => lr(t, n)), n(" updateInputGraph", () => ur(e, t));
1486
+ var t = n(" buildLayoutGraph", () => ea(e));
1487
+ n(" runLayout", () => Wi(t, n)), n(" updateInputGraph", () => Gi(e, t));
1347
1488
  });
1348
1489
  }
1349
- function lr(e, t) {
1350
- t(" makeSpaceForEdgeLabels", () => br(e)), t(" removeSelfEdges", () => kr(e)), t(" acyclic", () => Tt(e)), t(" nestingGraph.run", () => vn(e)), t(" rank", () => mn(kt(e))), t(" injectEdgeLabelProxies", () => xr(e)), t(" removeEmptyRanks", () => Mt(e)), t(" nestingGraph.cleanup", () => Sn(e)), t(" normalizeRanks", () => jt(e)), t(" assignRankMinMax", () => Sr(e)), t(" removeEdgeLabelProxies", () => Cr(e)), t(" normalize.run", () => Kt(e)), t(" parentDummyChains", () => Un(e)), t(" addBorderSegments", () => Rt(e)), t(" order", () => zn(e)), t(" insertSelfEdges", () => Ar(e)), t(" adjustCoordinateSystem", () => Bt(e)), t(" position", () => or(e)), t(" positionSelfEdges", () => jr(e)), t(" removeBorderNodes", () => Or(e)), t(" normalize.undo", () => Jt(e)), t(" fixupEdgeLabelCoords", () => Er(e)), t(" undoCoordinateSystem", () => Vt(e)), t(" translateGraph", () => wr(e)), t(" assignNodeIntersects", () => Tr(e)), t(" reversePoints", () => Dr(e)), t(" acyclic.undo", () => Dt(e));
1490
+ function Wi(e, t) {
1491
+ t(" makeSpaceForEdgeLabels", () => ta(e)), t(" removeSelfEdges", () => ua(e)), t(" acyclic", () => nr(e)), t(" nestingGraph.run", () => $r(e)), t(" rank", () => Yr(or(e))), t(" injectEdgeLabelProxies", () => na(e)), t(" removeEmptyRanks", () => lr(e)), t(" nestingGraph.cleanup", () => ri(e)), t(" normalizeRanks", () => cr(e)), t(" assignRankMinMax", () => ra(e)), t(" removeEdgeLabelProxies", () => ia(e)), t(" normalize.run", () => Tr(e)), t(" parentDummyChains", () => wi(e)), t(" addBorderSegments", () => hr(e)), t(" order", () => bi(e)), t(" insertSelfEdges", () => da(e)), t(" adjustCoordinateSystem", () => _r(e)), t(" position", () => Vi(e)), t(" positionSelfEdges", () => fa(e)), t(" removeBorderNodes", () => la(e)), t(" normalize.undo", () => Dr(e)), t(" fixupEdgeLabelCoords", () => sa(e)), t(" undoCoordinateSystem", () => vr(e)), t(" translateGraph", () => aa(e)), t(" assignNodeIntersects", () => oa(e)), t(" reversePoints", () => ca(e)), t(" acyclic.undo", () => ir(e));
1351
1492
  }
1352
- function ur(e, t) {
1353
- v(e.nodes(), function(n) {
1493
+ function Gi(e, t) {
1494
+ E(e.nodes(), function(n) {
1354
1495
  var r = e.node(n), i = t.node(n);
1355
1496
  r && (r.x = i.x, r.y = i.y, t.children(n).length && (r.width = i.width, r.height = i.height));
1356
- }), v(e.edges(), function(n) {
1497
+ }), E(e.edges(), function(n) {
1357
1498
  var r = e.edge(n), i = t.edge(n);
1358
1499
  r.points = i.points, Object.prototype.hasOwnProperty.call(i, "x") && (r.x = i.x, r.y = i.y);
1359
1500
  }), e.graph().width = t.graph().width, e.graph().height = t.graph().height;
1360
1501
  }
1361
- var dr = [
1502
+ var Ki = [
1362
1503
  "nodesep",
1363
1504
  "edgesep",
1364
1505
  "ranksep",
1365
1506
  "marginx",
1366
1507
  "marginy"
1367
- ], fr = {
1508
+ ], qi = {
1368
1509
  ranksep: 50,
1369
1510
  edgesep: 20,
1370
1511
  nodesep: 50,
1371
1512
  rankdir: "tb"
1372
- }, pr = [
1513
+ }, Ji = [
1373
1514
  "acyclicer",
1374
1515
  "ranker",
1375
1516
  "rankdir",
1376
1517
  "align"
1377
- ], mr = ["width", "height"], hr = {
1518
+ ], Yi = ["width", "height"], Xi = {
1378
1519
  width: 0,
1379
1520
  height: 0
1380
- }, gr = [
1521
+ }, Zi = [
1381
1522
  "minlen",
1382
1523
  "weight",
1383
1524
  "width",
1384
1525
  "height",
1385
1526
  "labeloffset"
1386
- ], _r = {
1527
+ ], Qi = {
1387
1528
  minlen: 1,
1388
1529
  weight: 1,
1389
1530
  width: 0,
1390
1531
  height: 0,
1391
1532
  labeloffset: 10,
1392
1533
  labelpos: "r"
1393
- }, vr = ["labelpos"];
1394
- function yr(e) {
1395
- var t = new b({
1534
+ }, $i = ["labelpos"];
1535
+ function ea(e) {
1536
+ var t = new O({
1396
1537
  multigraph: !0,
1397
1538
  compound: !0
1398
- }), n = $(e.graph());
1399
- return t.setGraph(M({}, fr, Q(n, dr), w(n, pr))), v(e.nodes(), function(n) {
1400
- var r = $(e.node(n));
1401
- t.setNode(n, De(Q(r, mr), hr)), t.setParent(n, e.parent(n));
1402
- }), v(e.edges(), function(n) {
1403
- var r = $(e.edge(n));
1404
- t.setEdge(n, M({}, _r, Q(r, gr), w(r, vr)));
1539
+ }), n = ma(e.graph());
1540
+ return t.setGraph(B({}, qi, pa(n, Ki), j(n, Ji))), E(e.nodes(), function(n) {
1541
+ var r = ma(e.node(n));
1542
+ t.setNode(n, en(pa(r, Yi), Xi)), t.setParent(n, e.parent(n));
1543
+ }), E(e.edges(), function(n) {
1544
+ var r = ma(e.edge(n));
1545
+ t.setEdge(n, B({}, Qi, pa(r, Zi), j(r, $i)));
1405
1546
  }), t;
1406
1547
  }
1407
- function br(e) {
1548
+ function ta(e) {
1408
1549
  var t = e.graph();
1409
- t.ranksep /= 2, v(e.edges(), function(n) {
1550
+ t.ranksep /= 2, E(e.edges(), function(n) {
1410
1551
  var r = e.edge(n);
1411
1552
  r.minlen *= 2, r.labelpos.toLowerCase() !== "c" && (t.rankdir === "TB" || t.rankdir === "BT" ? r.width += r.labeloffset : r.height += r.labeloffset);
1412
1553
  });
1413
1554
  }
1414
- function xr(e) {
1415
- v(e.edges(), function(t) {
1555
+ function na(e) {
1556
+ E(e.edges(), function(t) {
1416
1557
  var n = e.edge(t);
1417
1558
  if (n.width && n.height) {
1418
1559
  var r = e.node(t.v);
1419
- H(e, "edge-proxy", {
1560
+ Y(e, "edge-proxy", {
1420
1561
  rank: (e.node(t.w).rank - r.rank) / 2 + r.rank,
1421
1562
  e: t
1422
1563
  }, "_ep");
1423
1564
  }
1424
1565
  });
1425
1566
  }
1426
- function Sr(e) {
1567
+ function ra(e) {
1427
1568
  var t = 0;
1428
- v(e.nodes(), function(n) {
1569
+ E(e.nodes(), function(n) {
1429
1570
  var r = e.node(n);
1430
- r.borderTop && (r.minRank = e.node(r.borderTop).rank, r.maxRank = e.node(r.borderBottom).rank, t = j(t, r.maxRank));
1571
+ r.borderTop && (r.minRank = e.node(r.borderTop).rank, r.maxRank = e.node(r.borderBottom).rank, t = z(t, r.maxRank));
1431
1572
  }), e.graph().maxRank = t;
1432
1573
  }
1433
- function Cr(e) {
1434
- v(e.nodes(), function(t) {
1574
+ function ia(e) {
1575
+ E(e.nodes(), function(t) {
1435
1576
  var n = e.node(t);
1436
1577
  n.dummy === "edge-proxy" && (e.edge(n.e).labelRank = n.rank, e.removeNode(t));
1437
1578
  });
1438
1579
  }
1439
- function wr(e) {
1580
+ function aa(e) {
1440
1581
  var t = Infinity, n = 0, r = Infinity, i = 0, a = e.graph(), o = a.marginx || 0, s = a.marginy || 0;
1441
1582
  function c(e) {
1442
1583
  var a = e.x, o = e.y, s = e.width, c = e.height;
1443
1584
  t = Math.min(t, a - s / 2), n = Math.max(n, a + s / 2), r = Math.min(r, o - c / 2), i = Math.max(i, o + c / 2);
1444
1585
  }
1445
- v(e.nodes(), function(t) {
1586
+ E(e.nodes(), function(t) {
1446
1587
  c(e.node(t));
1447
- }), v(e.edges(), function(t) {
1588
+ }), E(e.edges(), function(t) {
1448
1589
  var n = e.edge(t);
1449
1590
  Object.prototype.hasOwnProperty.call(n, "x") && c(n);
1450
- }), t -= o, r -= s, v(e.nodes(), function(n) {
1591
+ }), t -= o, r -= s, E(e.nodes(), function(n) {
1451
1592
  var i = e.node(n);
1452
1593
  i.x -= t, i.y -= r;
1453
- }), v(e.edges(), function(n) {
1594
+ }), E(e.edges(), function(n) {
1454
1595
  var i = e.edge(n);
1455
- v(i.points, function(e) {
1596
+ E(i.points, function(e) {
1456
1597
  e.x -= t, e.y -= r;
1457
1598
  }), Object.prototype.hasOwnProperty.call(i, "x") && (i.x -= t), Object.prototype.hasOwnProperty.call(i, "y") && (i.y -= r);
1458
1599
  }), a.width = n - t + o, a.height = i - r + s;
1459
1600
  }
1460
- function Tr(e) {
1461
- v(e.edges(), function(t) {
1601
+ function oa(e) {
1602
+ E(e.edges(), function(t) {
1462
1603
  var n = e.edge(t), r = e.node(t.v), i = e.node(t.w), a, o;
1463
- n.points ? (a = n.points[0], o = n.points[n.points.length - 1]) : (n.points = [], a = i, o = r), n.points.unshift(At(r, a)), n.points.push(At(i, o));
1604
+ n.points ? (a = n.points[0], o = n.points[n.points.length - 1]) : (n.points = [], a = i, o = r), n.points.unshift(sr(r, a)), n.points.push(sr(i, o));
1464
1605
  });
1465
1606
  }
1466
- function Er(e) {
1467
- v(e.edges(), function(t) {
1607
+ function sa(e) {
1608
+ E(e.edges(), function(t) {
1468
1609
  var n = e.edge(t);
1469
1610
  if (Object.prototype.hasOwnProperty.call(n, "x")) switch ((n.labelpos === "l" || n.labelpos === "r") && (n.width -= n.labeloffset), n.labelpos) {
1470
1611
  case "l":
@@ -1474,24 +1615,24 @@ function Er(e) {
1474
1615
  }
1475
1616
  });
1476
1617
  }
1477
- function Dr(e) {
1478
- v(e.edges(), function(t) {
1618
+ function ca(e) {
1619
+ E(e.edges(), function(t) {
1479
1620
  var n = e.edge(t);
1480
1621
  n.reversed && n.points.reverse();
1481
1622
  });
1482
1623
  }
1483
- function Or(e) {
1484
- v(e.nodes(), function(t) {
1624
+ function la(e) {
1625
+ E(e.nodes(), function(t) {
1485
1626
  if (e.children(t).length) {
1486
- var n = e.node(t), r = e.node(n.borderTop), i = e.node(n.borderBottom), a = e.node(D(n.borderLeft)), o = e.node(D(n.borderRight));
1627
+ var n = e.node(t), r = e.node(n.borderTop), i = e.node(n.borderBottom), a = e.node(F(n.borderLeft)), o = e.node(F(n.borderRight));
1487
1628
  n.width = Math.abs(o.x - a.x), n.height = Math.abs(i.y - r.y), n.x = a.x + n.width / 2, n.y = r.y + n.height / 2;
1488
1629
  }
1489
- }), v(e.nodes(), function(t) {
1630
+ }), E(e.nodes(), function(t) {
1490
1631
  e.node(t).dummy === "border" && e.removeNode(t);
1491
1632
  });
1492
1633
  }
1493
- function kr(e) {
1494
- v(e.edges(), function(t) {
1634
+ function ua(e) {
1635
+ E(e.edges(), function(t) {
1495
1636
  if (t.v === t.w) {
1496
1637
  var n = e.node(t.v);
1497
1638
  n.selfEdges ||= [], n.selfEdges.push({
@@ -1501,14 +1642,14 @@ function kr(e) {
1501
1642
  }
1502
1643
  });
1503
1644
  }
1504
- function Ar(e) {
1505
- var t = U(e);
1506
- v(t, function(t) {
1645
+ function da(e) {
1646
+ var t = X(e);
1647
+ E(t, function(t) {
1507
1648
  var n = 0;
1508
- v(t, function(t, r) {
1649
+ E(t, function(t, r) {
1509
1650
  var i = e.node(t);
1510
- i.order = r + n, v(i.selfEdges, function(t) {
1511
- H(e, "selfedge", {
1651
+ i.order = r + n, E(i.selfEdges, function(t) {
1652
+ Y(e, "selfedge", {
1512
1653
  width: t.label.width,
1513
1654
  height: t.label.height,
1514
1655
  rank: i.rank,
@@ -1520,8 +1661,8 @@ function Ar(e) {
1520
1661
  });
1521
1662
  });
1522
1663
  }
1523
- function jr(e) {
1524
- v(e.nodes(), function(t) {
1664
+ function fa(e) {
1665
+ E(e.nodes(), function(t) {
1525
1666
  var n = e.node(t);
1526
1667
  if (n.dummy === "selfedge") {
1527
1668
  var r = e.node(n.e.v), i = r.x + r.width / 2, a = r.y, o = n.x - i, s = r.height / 2;
@@ -1550,14 +1691,14 @@ function jr(e) {
1550
1691
  }
1551
1692
  });
1552
1693
  }
1553
- function Q(e, t) {
1554
- return k(w(e, t), Number);
1694
+ function pa(e, t) {
1695
+ return L(j(e, t), Number);
1555
1696
  }
1556
- function $(e) {
1697
+ function ma(e) {
1557
1698
  var t = {};
1558
- return v(e, function(e, n) {
1699
+ return E(e, function(e, n) {
1559
1700
  t[n.toLowerCase()] = e;
1560
1701
  }), t;
1561
1702
  }
1562
1703
  //#endregion
1563
- export { cr as t };
1704
+ export { Ui as t };