@intent-hq/web 2.300.0 → 2.301.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 (247) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{D24Lh2xV.js → -1vWYJiy.js} +1 -1
  3. package/web/app/immutable/chunks/{3MzspyfQ.js → 0_FDVEla.js} +1 -1
  4. package/web/app/immutable/chunks/{CVbstW5g.js → 42GHkgj6.js} +1 -1
  5. package/web/app/immutable/chunks/{L35vxo_x.js → 4I8WRxn6.js} +1 -1
  6. package/web/app/immutable/chunks/{uuGBA4cr.js → 4byfznQh.js} +1 -1
  7. package/web/app/immutable/chunks/{Bhrt6-Mt.js → 6Ql_vn7X.js} +1 -1
  8. package/web/app/immutable/chunks/{CoKvDYIY.js → 6hOEL6g0.js} +1 -1
  9. package/web/app/immutable/chunks/{DqZp-_1t.js → 7O3nfCeH.js} +1 -1
  10. package/web/app/immutable/chunks/{zZaNF0gw.js → 8EDHNAa0.js} +1 -1
  11. package/web/app/immutable/chunks/{CfjGsJrO.js → 8Q_Was_5.js} +1 -1
  12. package/web/app/immutable/chunks/{Ba2NpplL.js → 9k5bnL8-.js} +2 -2
  13. package/web/app/immutable/chunks/{Cz9zjNu0.js → B-JIdXlm.js} +1 -1
  14. package/web/app/immutable/chunks/{B9P5rUiO.js → B-OGKYEx.js} +2 -2
  15. package/web/app/immutable/chunks/{g4ZkGYVX.js → B220ai_K.js} +1 -1
  16. package/web/app/immutable/chunks/{ChhEI5-A.js → B2jj_YAX.js} +1 -1
  17. package/web/app/immutable/chunks/{BF2JOf_h.js → B4Ys_Zqk.js} +1 -1
  18. package/web/app/immutable/chunks/{BLML8tyL.js → B52XysAQ.js} +1 -1
  19. package/web/app/immutable/chunks/{Cr3qamxz.js → B6wnyXxa.js} +1 -1
  20. package/web/app/immutable/chunks/{s81wpUv4.js → B7VWEjxq.js} +1 -1
  21. package/web/app/immutable/chunks/{CWh86ZYE.js → B7zUuO00.js} +1 -1
  22. package/web/app/immutable/chunks/{BJbo_kKO.js → B8S_XDvA.js} +1 -1
  23. package/web/app/immutable/chunks/{DMlNL7XW.js → B9G1J12P.js} +6 -6
  24. package/web/app/immutable/chunks/{BxepIPme.js → BAXlZEur.js} +1 -1
  25. package/web/app/immutable/chunks/{ZfjlDNse.js → BAbzdNi8.js} +1 -1
  26. package/web/app/immutable/chunks/{Ba3Gl_Rx.js → BBNnH_sw.js} +2 -2
  27. package/web/app/immutable/chunks/{BOBlxuhv.js → BDHBtQ3l.js} +1 -1
  28. package/web/app/immutable/chunks/{DJrVxxbZ.js → BEgosT1d.js} +1 -1
  29. package/web/app/immutable/chunks/{BW4Lb1gb.js → BEj-d9Cx.js} +1 -1
  30. package/web/app/immutable/chunks/{CXuptX8T.js → BF75AbUh.js} +1 -1
  31. package/web/app/immutable/chunks/{DLk_QjTP.js → BGv3Ttev.js} +1 -1
  32. package/web/app/immutable/chunks/{ClQcbOPg.js → BH5cuIQi.js} +1 -1
  33. package/web/app/immutable/chunks/BJn7bayT.js +1 -0
  34. package/web/app/immutable/chunks/{CdqaycPl.js → BL-4c5eP.js} +1 -1
  35. package/web/app/immutable/chunks/BLn5rsUE.js +5 -0
  36. package/web/app/immutable/chunks/{C1ANrPzv.js → BNPFPBlO.js} +1 -1
  37. package/web/app/immutable/chunks/{Dps6NMO7.js → BNrl_yXC.js} +1 -1
  38. package/web/app/immutable/chunks/{B87LX9tB.js → BPzYYRAs.js} +4 -4
  39. package/web/app/immutable/chunks/{CSSOAZoU.js → BQY3g8uE.js} +6 -6
  40. package/web/app/immutable/chunks/{0nqxMME2.js → BR-wS1W8.js} +1 -1
  41. package/web/app/immutable/chunks/{BEp708sp.js → BRMj8a4h.js} +1 -1
  42. package/web/app/immutable/chunks/{BbB0oN_T.js → BRwNKwD7.js} +1 -1
  43. package/web/app/immutable/chunks/{DW4Kmsyn.js → BU8fu6L_.js} +1 -1
  44. package/web/app/immutable/chunks/{CiJPyUxP.js → BVJeg9VF.js} +3 -3
  45. package/web/app/immutable/chunks/{GIJe6jEe.js → BWjmxT5D.js} +1 -1
  46. package/web/app/immutable/chunks/{GLxqtUdl.js → BWljXDfF.js} +1 -1
  47. package/web/app/immutable/chunks/{D2MsQ7CI.js → BXDl97pl.js} +1 -1
  48. package/web/app/immutable/chunks/{C9oKpMS_.js → BXU_OYLJ.js} +1 -1
  49. package/web/app/immutable/chunks/{C_A8Orac.js → BYk_qw69.js} +1 -1
  50. package/web/app/immutable/chunks/{Bx4lXaHY.js → BYxkGGC-.js} +1 -1
  51. package/web/app/immutable/chunks/{BM96cMym.js → B_iqW4nZ.js} +1 -1
  52. package/web/app/immutable/chunks/{VSh28uJa.js → BbJJ4Uie.js} +1 -1
  53. package/web/app/immutable/chunks/{BsbUKqyQ.js → BcmjbiBm.js} +2 -2
  54. package/web/app/immutable/chunks/{fBLUmxyl.js → BcpdiGRR.js} +1 -1
  55. package/web/app/immutable/chunks/{COWTRkIf.js → Bd69ye4n.js} +1 -1
  56. package/web/app/immutable/chunks/{gM93sUNx.js → Bd9XSgIb.js} +1 -1
  57. package/web/app/immutable/chunks/{DBdZimKy.js → BeAhMSSb.js} +1 -1
  58. package/web/app/immutable/chunks/{Bmtrue3d.js → BeLl-r8h.js} +1 -1
  59. package/web/app/immutable/chunks/{3cdteGtc.js → BeRTGLrw.js} +1 -1
  60. package/web/app/immutable/chunks/{ZJF5u8sT.js → BggwWRGf.js} +1 -1
  61. package/web/app/immutable/chunks/{BGarQU0H.js → BhkBe7Jc.js} +1 -1
  62. package/web/app/immutable/chunks/{B4bjCAKW.js → BlFUy1M_.js} +1 -1
  63. package/web/app/immutable/chunks/{CWRCHISo.js → Bloa0suE.js} +1 -1
  64. package/web/app/immutable/chunks/{DW-SCc7t.js → BoaSTXep.js} +1 -1
  65. package/web/app/immutable/chunks/{DJKO9mMv.js → BrAaVsFz.js} +1 -1
  66. package/web/app/immutable/chunks/{C4GUFULr.js → BspPTfLp.js} +1 -1
  67. package/web/app/immutable/chunks/{9ZGNcJrk.js → BvUM18CV.js} +1 -1
  68. package/web/app/immutable/chunks/{BO3uDFyf.js → BwEpZ6hl.js} +3 -3
  69. package/web/app/immutable/chunks/{JMt_KPti.js → BwlxTP6m.js} +1 -1
  70. package/web/app/immutable/chunks/{Jwfh1VUw.js → Bzu3FrPq.js} +1 -1
  71. package/web/app/immutable/chunks/{BN1F2G9L.js → C-VIKqni.js} +1 -1
  72. package/web/app/immutable/chunks/{efd11D73.js → C4-u_VtZ.js} +1 -1
  73. package/web/app/immutable/chunks/C5MJ7BeC.js +227 -0
  74. package/web/app/immutable/chunks/{BaasjTfD.js → C9PGJX9n.js} +1 -1
  75. package/web/app/immutable/chunks/{DfYbWhJy.js → C9jifMvI.js} +1 -1
  76. package/web/app/immutable/chunks/{Cyt32IzK.js → C9k7mgs4.js} +4 -4
  77. package/web/app/immutable/chunks/{CjZ3vck_.js → CBDImldB.js} +1 -1
  78. package/web/app/immutable/chunks/{s1gAk8mT.js → CBYPZH-W.js} +1 -1
  79. package/web/app/immutable/chunks/{Dw3FugoV.js → CC4WmnL6.js} +2 -2
  80. package/web/app/immutable/chunks/{Dp45taKt.js → CEFx_w_J.js} +1 -1
  81. package/web/app/immutable/chunks/{QXxjhZE8.js → CG9-31He.js} +1 -1
  82. package/web/app/immutable/chunks/{DMNf8Xuf.js → CHeQtCyR.js} +1 -1
  83. package/web/app/immutable/chunks/{CDcsX4P8.js → CItSvrO_.js} +1 -1
  84. package/web/app/immutable/chunks/{B6R8-b5U.js → CJzvjWBQ.js} +1 -1
  85. package/web/app/immutable/chunks/{ejHd6Wjx.js → CM8AwG-k.js} +3 -3
  86. package/web/app/immutable/chunks/{CEniOKQx.js → CMBaQAuw.js} +1 -1
  87. package/web/app/immutable/chunks/{BB2kR3UP.js → CNGkxhSe.js} +1 -1
  88. package/web/app/immutable/chunks/{BMvMJI9S.js → COMfKjnL.js} +1 -1
  89. package/web/app/immutable/chunks/{DdWrNe4g.js → CQMDPYtj.js} +1 -1
  90. package/web/app/immutable/chunks/{BCyYdDY9.js → CS5VoVeF.js} +1 -1
  91. package/web/app/immutable/chunks/{neAtdZ03.js → CSdV5_bj.js} +1 -1
  92. package/web/app/immutable/chunks/{BhVtbuhY.js → CTmT5I7Z.js} +1 -1
  93. package/web/app/immutable/chunks/{C6wHGKVx.js → CUMro1vx.js} +1 -1
  94. package/web/app/immutable/chunks/{BM44mGhh.js → CUMzsmcb.js} +1 -1
  95. package/web/app/immutable/chunks/{qpzd1Snw.js → CVC-R1OI.js} +1 -1
  96. package/web/app/immutable/chunks/{CfXQV99h.js → CXdTWTzB.js} +1 -1
  97. package/web/app/immutable/chunks/{EaXPzvmD.js → CXkYtIUm.js} +1 -1
  98. package/web/app/immutable/chunks/{Dh3Ryezx.js → CXqGB8i2.js} +1 -1
  99. package/web/app/immutable/chunks/{Cxw8qNpn.js → CXtOOnh0.js} +1 -1
  100. package/web/app/immutable/chunks/{DuBklFcM.js → CZE4HQ01.js} +1 -1
  101. package/web/app/immutable/chunks/{dAdxFhG6.js → CbF4ODHW.js} +1 -1
  102. package/web/app/immutable/chunks/{CNvdiqGE.js → Ce-KYi-n.js} +1 -1
  103. package/web/app/immutable/chunks/{DEqIZOTX.js → Ce8PMxuE.js} +1 -1
  104. package/web/app/immutable/chunks/{BHOlTerP.js → CeX5z_vs.js} +1 -1
  105. package/web/app/immutable/chunks/{DYFbONVh.js → CenrrJuj.js} +2 -2
  106. package/web/app/immutable/chunks/{B0WURFIt.js → Cf891EVZ.js} +1 -1
  107. package/web/app/immutable/chunks/{CQeSP20x.js → CiBStNAr.js} +3 -3
  108. package/web/app/immutable/chunks/{k1UqmefG.js → Ciihhv86.js} +1 -1
  109. package/web/app/immutable/chunks/{CdlxRh10.js → Citu-dNT.js} +1 -1
  110. package/web/app/immutable/chunks/{eUunsB8W.js → CixlkwsU.js} +1 -1
  111. package/web/app/immutable/chunks/{CcjAwET4.js → CjhAOkhP.js} +1 -1
  112. package/web/app/immutable/chunks/{D5eSz8Yy.js → ClJKqwKB.js} +1 -1
  113. package/web/app/immutable/chunks/{DBQ6-GLb.js → ClOUpVZZ.js} +3 -3
  114. package/web/app/immutable/chunks/{pb4lGxfr.js → CnWtv34Y.js} +7 -7
  115. package/web/app/immutable/chunks/{CQzSGmOk.js → CoJOpuAN.js} +1 -1
  116. package/web/app/immutable/chunks/{C_DS9aXk.js → Cr5KYQBW.js} +1 -1
  117. package/web/app/immutable/chunks/{BPYkHxEz.js → CtcF6bbr.js} +2 -2
  118. package/web/app/immutable/chunks/{ByZjDy8O.js → Cu4QpKDr.js} +1 -1
  119. package/web/app/immutable/chunks/{DZtggwE6.js → Cu8J93FR.js} +3 -3
  120. package/web/app/immutable/chunks/{CBlh2RgL.js → CunMRDJl.js} +1 -1
  121. package/web/app/immutable/chunks/{DEKRv2SA.js → CvgQ9EkY.js} +1 -1
  122. package/web/app/immutable/chunks/{VBUrUMy_.js → Cw1gOOP4.js} +1 -1
  123. package/web/app/immutable/chunks/{CUFD0_NB.js → CzVv3uRF.js} +1 -1
  124. package/web/app/immutable/chunks/{DBavb7qJ.js → CzeYC5kK.js} +1 -1
  125. package/web/app/immutable/chunks/{CqbBHiiS.js → D1IlJCd0.js} +1 -1
  126. package/web/app/immutable/chunks/{N6q6QTTx.js → D54_bMKf.js} +1 -1
  127. package/web/app/immutable/chunks/{BIXM_U1Z.js → D5_2GYC0.js} +1 -1
  128. package/web/app/immutable/chunks/{DfRs59bc.js → DAjW_Z-R.js} +1 -1
  129. package/web/app/immutable/chunks/{C5BrZ9Uc.js → DBGO1w9a.js} +1 -1
  130. package/web/app/immutable/chunks/{DkpprR-E.js → DBdfwYFa.js} +1 -1
  131. package/web/app/immutable/chunks/{KVl6LsXf.js → DCv8NaxM.js} +1 -1
  132. package/web/app/immutable/chunks/{8M4qD2wt.js → DE5Vt-mk.js} +1 -1
  133. package/web/app/immutable/chunks/{DRPtDW2A.js → DELLe_1a.js} +1 -1
  134. package/web/app/immutable/chunks/{Cfeu2Jlr.js → DGW6wXEq.js} +1 -1
  135. package/web/app/immutable/chunks/{BLBkfdhM.js → DIceyoUA.js} +1 -1
  136. package/web/app/immutable/chunks/{BNg9ANty.js → DJ00LNUR.js} +1 -1
  137. package/web/app/immutable/chunks/DJ_9F2bm.js +1 -0
  138. package/web/app/immutable/chunks/{BCKk6VLR.js → DKolS8Ht.js} +1 -1
  139. package/web/app/immutable/chunks/{CNsCQ6no.js → DMaQDnJk.js} +1 -1
  140. package/web/app/immutable/chunks/{CZugVkfN.js → DMnHL_j_.js} +1 -1
  141. package/web/app/immutable/chunks/{8tKgHmPk.js → DNKZQCox.js} +1 -1
  142. package/web/app/immutable/chunks/{DVpL0nyD.js → DNyxd11M.js} +1 -1
  143. package/web/app/immutable/chunks/{BNkOj7Iq.js → DU4GH855.js} +1 -1
  144. package/web/app/immutable/chunks/{BwlSugdR.js → DVnNWj1L.js} +1 -1
  145. package/web/app/immutable/chunks/{V4P2F4m3.js → DWUInPKR.js} +1 -1
  146. package/web/app/immutable/chunks/{B8b1g0xo.js → DYywvoax.js} +1 -1
  147. package/web/app/immutable/chunks/{bzpGnhNm.js → DZCBh97_.js} +1 -1
  148. package/web/app/immutable/chunks/{B4cRl4XZ.js → DZKVhZfO.js} +1 -1
  149. package/web/app/immutable/chunks/{DNzn6PzZ.js → DZwXyTtM.js} +1 -1
  150. package/web/app/immutable/chunks/{fzsNMINk.js → D_Ou_6lS.js} +1 -1
  151. package/web/app/immutable/chunks/{CebKpXnw.js → DaqPl4Tz.js} +1 -1
  152. package/web/app/immutable/chunks/{CyAayV8v.js → Dax20l9D.js} +2 -2
  153. package/web/app/immutable/chunks/{B5hMYT01.js → Dcbdz0Jw.js} +1 -1
  154. package/web/app/immutable/chunks/{pViJ0C09.js → DdV_6_CH.js} +1 -1
  155. package/web/app/immutable/chunks/{DNu-EOlZ.js → DeBsmEqU.js} +1 -1
  156. package/web/app/immutable/chunks/{DGnZRFrD.js → DeI8FMuz.js} +1 -1
  157. package/web/app/immutable/chunks/{Bxl01mZe.js → DediWp9-.js} +1 -1
  158. package/web/app/immutable/chunks/{BJTOTozZ.js → Denyu19x.js} +1 -1
  159. package/web/app/immutable/chunks/{BmZ0oFC-.js → DgBCXQ71.js} +1 -1
  160. package/web/app/immutable/chunks/{E8EFUfsc.js → DhGPSsBf.js} +1 -1
  161. package/web/app/immutable/chunks/{Bu2F6uGB.js → Dj_FVUHS.js} +1 -1
  162. package/web/app/immutable/chunks/{BPC4bZ2e.js → DkibMP99.js} +1 -1
  163. package/web/app/immutable/chunks/{Bcwj2Z7c.js → Dl3AQcJn.js} +1 -1
  164. package/web/app/immutable/chunks/{BkjJpsAb.js → DmJbtm9p.js} +2 -2
  165. package/web/app/immutable/chunks/{gybWrTHf.js → DmUU4JxK.js} +1 -1
  166. package/web/app/immutable/chunks/{DpwvNWlF.js → Dma9ms7u.js} +1 -1
  167. package/web/app/immutable/chunks/{Bkg2jzs8.js → Dmf4WObG.js} +1 -1
  168. package/web/app/immutable/chunks/{58UGOK_x.js → DnCf3QiL.js} +1 -1
  169. package/web/app/immutable/chunks/{EOrMcKth.js → DoOAeI0m.js} +1 -1
  170. package/web/app/immutable/chunks/{AFSjjw3j.js → Do_TqlrK.js} +1 -1
  171. package/web/app/immutable/chunks/{CIWCsQ8M.js → DrHxWi1S.js} +1 -1
  172. package/web/app/immutable/chunks/{BYPBR4fh.js → DrNVHvhK.js} +1 -1
  173. package/web/app/immutable/chunks/{BghIZW1D.js → Drgj5uDM.js} +41 -41
  174. package/web/app/immutable/chunks/{CnpqP3W5.js → DsHbB0Gk.js} +1 -1
  175. package/web/app/immutable/chunks/{DlgeVS0W.js → DsrgAjSN.js} +1 -1
  176. package/web/app/immutable/chunks/{CIQ2KSkd.js → DtagNJGy.js} +1 -1
  177. package/web/app/immutable/chunks/{hjPR6Rnc.js → DuInbvT4.js} +1 -1
  178. package/web/app/immutable/chunks/{DLf4jaE4.js → DvqgRsDd.js} +1 -1
  179. package/web/app/immutable/chunks/{DFcDTHE7.js → DvrTNX0e.js} +1 -1
  180. package/web/app/immutable/chunks/{DBntrybU.js → DyVKK3zU.js} +1 -1
  181. package/web/app/immutable/chunks/{B2Q9zOdQ.js → Dzu7FPMr.js} +1 -1
  182. package/web/app/immutable/chunks/{1jD1K4t9.js → EzIyeu9q.js} +1 -1
  183. package/web/app/immutable/chunks/{BuBWlA2n.js → IISaQsK0.js} +1 -1
  184. package/web/app/immutable/chunks/IJYL54f1.js +1 -0
  185. package/web/app/immutable/chunks/{D7rRJFzn.js → Jf6CJclx.js} +1 -1
  186. package/web/app/immutable/chunks/{BpOsjl4B.js → KG68UpwU.js} +1 -1
  187. package/web/app/immutable/chunks/{DzxV-zrJ.js → M8sdbvOT.js} +1 -1
  188. package/web/app/immutable/chunks/{Cv92lPPx.js → Mjh5v3L0.js} +1 -1
  189. package/web/app/immutable/chunks/{C3u5H0Sx.js → NDnZ2f46.js} +1 -1
  190. package/web/app/immutable/chunks/{_wdKNOb8.js → NPItrD9R.js} +1 -1
  191. package/web/app/immutable/chunks/{CKQ8NUgf.js → Pq3i4zFA.js} +1 -1
  192. package/web/app/immutable/chunks/{DwO2fxa6.js → Q-IbWJI_.js} +1 -1
  193. package/web/app/immutable/chunks/{D3C_wxG-.js → SNezQIpP.js} +1 -1
  194. package/web/app/immutable/chunks/{Posh1PTV.js → T1WqHZLZ.js} +1 -1
  195. package/web/app/immutable/chunks/{Bb1UDU6X.js → T995SloE.js} +1 -1
  196. package/web/app/immutable/chunks/{BcK8h34a.js → UMA3RT0s.js} +1 -1
  197. package/web/app/immutable/chunks/{D_0pJDZv.js → UakvtOgc.js} +1 -1
  198. package/web/app/immutable/chunks/{CVj7bpe9.js → Vx0IIPew.js} +1 -1
  199. package/web/app/immutable/chunks/{CaAuKVV3.js → bDcdMMyl.js} +1 -1
  200. package/web/app/immutable/chunks/{DDXtES5I.js → eEZIbdzf.js} +1 -1
  201. package/web/app/immutable/chunks/{C0fkUg5D.js → ggRICgWE.js} +1 -1
  202. package/web/app/immutable/chunks/{CCZ7kcPP.js → hOR9B4V4.js} +1 -1
  203. package/web/app/immutable/chunks/{CsBt-DEV.js → i9DVPIlR.js} +1 -1
  204. package/web/app/immutable/chunks/{CahmCdEz.js → k6s8dGrA.js} +1 -1
  205. package/web/app/immutable/chunks/{B-g-NIPK.js → knnjLtf9.js} +1 -1
  206. package/web/app/immutable/chunks/{DHZp-IFS.js → mNkJFQiA.js} +1 -1
  207. package/web/app/immutable/chunks/{D8sxBEHk.js → mkPaye9m.js} +1 -1
  208. package/web/app/immutable/chunks/{DgdBkeOv.js → nz1YTpIq.js} +1 -1
  209. package/web/app/immutable/chunks/{CuGpCjd7.js → oqxFFnht.js} +1 -1
  210. package/web/app/immutable/chunks/{kbiSNU8S.js → p8msS16l.js} +1 -1
  211. package/web/app/immutable/chunks/{Cqdkb92f.js → qwx0AE4b.js} +1 -1
  212. package/web/app/immutable/chunks/{lgAZgfoh.js → tkZmaR4M.js} +4 -4
  213. package/web/app/immutable/chunks/{CilxFmmt.js → tzy2FJ3p.js} +1 -1
  214. package/web/app/immutable/chunks/{7L5DlLPB.js → vt-D6r-U.js} +1 -1
  215. package/web/app/immutable/chunks/{Irb_xhXc.js → w0VuoJIl.js} +1 -1
  216. package/web/app/immutable/chunks/{BlvFC0m2.js → w7xvX9oI.js} +1 -1
  217. package/web/app/immutable/chunks/{BhglH0qV.js → y8su61xq.js} +2 -2
  218. package/web/app/immutable/chunks/{DzZaDWGS.js → yQ0Z1VHW.js} +1 -1
  219. package/web/app/immutable/chunks/{QaGc_6xV.js → ymVYL-2H.js} +3 -3
  220. package/web/app/immutable/chunks/{uV-IGUNy.js → zl8SSmZq.js} +1 -1
  221. package/web/app/immutable/entry/{app.Chckz9N7.js → app.BgfLNpAH.js} +2 -2
  222. package/web/app/immutable/entry/start.DFg06W-g.js +1 -0
  223. package/web/app/immutable/nodes/{0.DV4OxTlt.js → 0.B3w9utn7.js} +1 -1
  224. package/web/app/immutable/nodes/{1.Ck6qIYNd.js → 1.DaxXfawW.js} +1 -1
  225. package/web/app/immutable/nodes/{10.BJGM7dzF.js → 10.Ut2WO8-5.js} +1 -1
  226. package/web/app/immutable/nodes/{12.C6vEm_M7.js → 12.CEAVKYuu.js} +1 -1
  227. package/web/app/immutable/nodes/{13.DPA662Yd.js → 13.CJ1HRZcd.js} +1 -1
  228. package/web/app/immutable/nodes/{14.vxfsp_3g.js → 14.BS_itk_o.js} +1 -1
  229. package/web/app/immutable/nodes/{15.Byubc7Em.js → 15.CZGq0vsg.js} +1 -1
  230. package/web/app/immutable/nodes/{16.CrYjJL43.js → 16.DXjz2v3H.js} +2 -2
  231. package/web/app/immutable/nodes/{2.F1jEoAFf.js → 2.CYzMuwKR.js} +4 -4
  232. package/web/app/immutable/nodes/{3.CTi33PwH.js → 3.63ZtoTSA.js} +1 -1
  233. package/web/app/immutable/nodes/{4.CEVSI3tX.js → 4.DDS6oK5o.js} +1 -1
  234. package/web/app/immutable/nodes/{5.Cwr-dRRa.js → 5.DsTfq2mA.js} +1 -1
  235. package/web/app/immutable/nodes/6.BH8FJ3Wf.js +1 -0
  236. package/web/app/immutable/nodes/{7.BTCmHFrX.js → 7.DW27zT40.js} +1 -1
  237. package/web/app/immutable/nodes/{8.Ccr1GUq8.js → 8.B4CNA7De.js} +4 -4
  238. package/web/app/immutable/nodes/{9.DtRI4gIT.js → 9.Nt9iZ731.js} +4 -4
  239. package/web/app/version.json +1 -1
  240. package/web/index.html +9 -9
  241. package/web/app/immutable/chunks/BCAXQH9B.js +0 -227
  242. package/web/app/immutable/chunks/BxSRgl_K.js +0 -1
  243. package/web/app/immutable/chunks/CE7Mossj.js +0 -1
  244. package/web/app/immutable/chunks/CJj6zr8B.js +0 -5
  245. package/web/app/immutable/chunks/W-gkWrYK.js +0 -1
  246. package/web/app/immutable/entry/start.BEWBWLRT.js +0 -1
  247. package/web/app/immutable/nodes/6.CirgPdsp.js +0 -1
@@ -1 +1 @@
1
- import{c as ot}from"./DJKO9mMv.js";import{a as V,ad as Z}from"./pb4lGxfr.js";import{c3 as at,h as ht,g as O,_ as j}from"./CSSOAZoU.js";var it=j({"../../node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.js"(w,X){O((function(m,v){typeof w=="object"&&typeof X=="object"?X.exports=v():typeof define=="function"&&define.amd?define([],v):typeof w=="object"?w.layoutBase=v():m.layoutBase=v()}),"webpackUniversalModuleDefinition")(w,function(){return(function(N){var m={};function v(n){if(m[n])return m[n].exports;var e=m[n]={i:n,l:!1,exports:{}};return N[n].call(e.exports,e,e.exports,v),e.l=!0,e.exports}return O(v,"__webpack_require__"),v.m=N,v.c=m,v.i=function(n){return n},v.d=function(n,e,t){v.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:t})},v.n=function(n){var e=n&&n.__esModule?O(function(){return n.default},"getDefault"):O(function(){return n},"getModuleExports");return v.d(e,"a",e),e},v.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},v.p="",v(v.s=26)})([(function(N,m,v){function n(){}O(n,"LayoutConstants"),n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,N.exports=n}),(function(N,m,v){var n=v(2),e=v(8),t=v(9);function r(g,o,d){n.call(this,d),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=d,this.bendpoints=[],this.source=g,this.target=o}O(r,"LEdge"),r.prototype=Object.create(n.prototype);for(var l in n)r[l]=n[l];r.prototype.getSource=function(){return this.source},r.prototype.getTarget=function(){return this.target},r.prototype.isInterGraph=function(){return this.isInterGraph},r.prototype.getLength=function(){return this.length},r.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},r.prototype.getBendpoints=function(){return this.bendpoints},r.prototype.getLca=function(){return this.lca},r.prototype.getSourceInLca=function(){return this.sourceInLca},r.prototype.getTargetInLca=function(){return this.targetInLca},r.prototype.getOtherEnd=function(g){if(this.source===g)return this.target;if(this.target===g)return this.source;throw"Node is not incident with this edge"},r.prototype.getOtherEndInGraph=function(g,o){for(var d=this.getOtherEnd(g),i=o.getGraphManager().getRoot();;){if(d.getOwner()==o)return d;if(d.getOwner()==i)break;d=d.getOwner().getParent()}return null},r.prototype.updateLength=function(){var g=new Array(4);this.isOverlapingSourceAndTarget=e.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=t.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=t.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},r.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=t.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=t.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},N.exports=r}),(function(N,m,v){function n(e){this.vGraphObject=e}O(n,"LGraphObject"),N.exports=n}),(function(N,m,v){var n=v(2),e=v(10),t=v(13),r=v(0),l=v(16),g=v(4);function o(i,a,h,p){h==null&&p==null&&(p=a),n.call(this,p),i.graphManager!=null&&(i=i.graphManager),this.estimatedSize=e.MIN_VALUE,this.inclusionTreeDepth=e.MAX_VALUE,this.vGraphObject=p,this.edges=[],this.graphManager=i,h!=null&&a!=null?this.rect=new t(a.x,a.y,h.width,h.height):this.rect=new t}O(o,"LNode"),o.prototype=Object.create(n.prototype);for(var d in n)o[d]=n[d];o.prototype.getEdges=function(){return this.edges},o.prototype.getChild=function(){return this.child},o.prototype.getOwner=function(){return this.owner},o.prototype.getWidth=function(){return this.rect.width},o.prototype.setWidth=function(i){this.rect.width=i},o.prototype.getHeight=function(){return this.rect.height},o.prototype.setHeight=function(i){this.rect.height=i},o.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},o.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},o.prototype.getCenter=function(){return new g(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},o.prototype.getLocation=function(){return new g(this.rect.x,this.rect.y)},o.prototype.getRect=function(){return this.rect},o.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},o.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},o.prototype.setRect=function(i,a){this.rect.x=i.x,this.rect.y=i.y,this.rect.width=a.width,this.rect.height=a.height},o.prototype.setCenter=function(i,a){this.rect.x=i-this.rect.width/2,this.rect.y=a-this.rect.height/2},o.prototype.setLocation=function(i,a){this.rect.x=i,this.rect.y=a},o.prototype.moveBy=function(i,a){this.rect.x+=i,this.rect.y+=a},o.prototype.getEdgeListToNode=function(i){var a=[],h=this;return h.edges.forEach(function(p){if(p.target==i){if(p.source!=h)throw"Incorrect edge source!";a.push(p)}}),a},o.prototype.getEdgesBetween=function(i){var a=[],h=this;return h.edges.forEach(function(p){if(!(p.source==h||p.target==h))throw"Incorrect edge source and/or target";(p.target==i||p.source==i)&&a.push(p)}),a},o.prototype.getNeighborsList=function(){var i=new Set,a=this;return a.edges.forEach(function(h){if(h.source==a)i.add(h.target);else{if(h.target!=a)throw"Incorrect incidency!";i.add(h.source)}}),i},o.prototype.withChildren=function(){var i=new Set,a,h;if(i.add(this),this.child!=null)for(var p=this.child.getNodes(),y=0;y<p.length;y++)a=p[y],h=a.withChildren(),h.forEach(function(D){i.add(D)});return i},o.prototype.getNoOfChildren=function(){var i=0,a;if(this.child==null)i=1;else for(var h=this.child.getNodes(),p=0;p<h.length;p++)a=h[p],i+=a.getNoOfChildren();return i==0&&(i=1),i},o.prototype.getEstimatedSize=function(){if(this.estimatedSize==e.MIN_VALUE)throw"assert failed";return this.estimatedSize},o.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},o.prototype.scatter=function(){var i,a,h=-r.INITIAL_WORLD_BOUNDARY,p=r.INITIAL_WORLD_BOUNDARY;i=r.WORLD_CENTER_X+l.nextDouble()*(p-h)+h;var y=-r.INITIAL_WORLD_BOUNDARY,D=r.INITIAL_WORLD_BOUNDARY;a=r.WORLD_CENTER_Y+l.nextDouble()*(D-y)+y,this.rect.x=i,this.rect.y=a},o.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var i=this.getChild();if(i.updateBounds(!0),this.rect.x=i.getLeft(),this.rect.y=i.getTop(),this.setWidth(i.getRight()-i.getLeft()),this.setHeight(i.getBottom()-i.getTop()),r.NODE_DIMENSIONS_INCLUDE_LABELS){var a=i.getRight()-i.getLeft(),h=i.getBottom()-i.getTop();this.labelWidth>a&&(this.rect.x-=(this.labelWidth-a)/2,this.setWidth(this.labelWidth)),this.labelHeight>h&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-h)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-h),this.setHeight(this.labelHeight))}}},o.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==e.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},o.prototype.transform=function(i){var a=this.rect.x;a>r.WORLD_BOUNDARY?a=r.WORLD_BOUNDARY:a<-r.WORLD_BOUNDARY&&(a=-r.WORLD_BOUNDARY);var h=this.rect.y;h>r.WORLD_BOUNDARY?h=r.WORLD_BOUNDARY:h<-r.WORLD_BOUNDARY&&(h=-r.WORLD_BOUNDARY);var p=new g(a,h),y=i.inverseTransformPoint(p);this.setLocation(y.x,y.y)},o.prototype.getLeft=function(){return this.rect.x},o.prototype.getRight=function(){return this.rect.x+this.rect.width},o.prototype.getTop=function(){return this.rect.y},o.prototype.getBottom=function(){return this.rect.y+this.rect.height},o.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},N.exports=o}),(function(N,m,v){function n(e,t){e==null&&t==null?(this.x=0,this.y=0):(this.x=e,this.y=t)}O(n,"PointD"),n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(e){this.x=e},n.prototype.setY=function(e){this.y=e},n.prototype.getDifference=function(e){return new DimensionD(this.x-e.x,this.y-e.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(e){return this.x+=e.width,this.y+=e.height,this},N.exports=n}),(function(N,m,v){var n=v(2),e=v(10),t=v(0),r=v(6),l=v(3),g=v(1),o=v(13),d=v(12),i=v(11);function a(p,y,D){n.call(this,D),this.estimatedSize=e.MIN_VALUE,this.margin=t.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=p,y!=null&&y instanceof r?this.graphManager=y:y!=null&&y instanceof Layout&&(this.graphManager=y.graphManager)}O(a,"LGraph"),a.prototype=Object.create(n.prototype);for(var h in n)a[h]=n[h];a.prototype.getNodes=function(){return this.nodes},a.prototype.getEdges=function(){return this.edges},a.prototype.getGraphManager=function(){return this.graphManager},a.prototype.getParent=function(){return this.parent},a.prototype.getLeft=function(){return this.left},a.prototype.getRight=function(){return this.right},a.prototype.getTop=function(){return this.top},a.prototype.getBottom=function(){return this.bottom},a.prototype.isConnected=function(){return this.isConnected},a.prototype.add=function(p,y,D){if(y==null&&D==null){var u=p;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var T=p;if(!(this.getNodes().indexOf(y)>-1&&this.getNodes().indexOf(D)>-1))throw"Source or target not in graph!";if(!(y.owner==D.owner&&y.owner==this))throw"Both owners must be this graph!";return y.owner!=D.owner?null:(T.source=y,T.target=D,T.isInterGraph=!1,this.getEdges().push(T),y.edges.push(T),D!=y&&D.edges.push(T),T)}},a.prototype.remove=function(p){var y=p;if(p instanceof l){if(y==null)throw"Node is null!";if(!(y.owner!=null&&y.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var D=y.edges.slice(),u,T=D.length,E=0;E<T;E++)u=D[E],u.isInterGraph?this.graphManager.remove(u):u.source.owner.remove(u);var I=this.nodes.indexOf(y);if(I==-1)throw"Node not in owner node list!";this.nodes.splice(I,1)}else if(p instanceof g){var u=p;if(u==null)throw"Edge is null!";if(!(u.source!=null&&u.target!=null))throw"Source and/or target is null!";if(!(u.source.owner!=null&&u.target.owner!=null&&u.source.owner==this&&u.target.owner==this))throw"Source and/or target owner is invalid!";var s=u.source.edges.indexOf(u),f=u.target.edges.indexOf(u);if(!(s>-1&&f>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(s,1),u.target!=u.source&&u.target.edges.splice(f,1);var I=u.source.owner.getEdges().indexOf(u);if(I==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(I,1)}},a.prototype.updateLeftTop=function(){for(var p=e.MAX_VALUE,y=e.MAX_VALUE,D,u,T,E=this.getNodes(),I=E.length,s=0;s<I;s++){var f=E[s];D=f.getTop(),u=f.getLeft(),p>D&&(p=D),y>u&&(y=u)}return p==e.MAX_VALUE?null:(E[0].getParent().paddingLeft!=null?T=E[0].getParent().paddingLeft:T=this.margin,this.left=y-T,this.top=p-T,new d(this.left,this.top))},a.prototype.updateBounds=function(p){for(var y=e.MAX_VALUE,D=-e.MAX_VALUE,u=e.MAX_VALUE,T=-e.MAX_VALUE,E,I,s,f,c,L=this.nodes,A=L.length,C=0;C<A;C++){var M=L[C];p&&M.child!=null&&M.updateBounds(),E=M.getLeft(),I=M.getRight(),s=M.getTop(),f=M.getBottom(),y>E&&(y=E),D<I&&(D=I),u>s&&(u=s),T<f&&(T=f)}var R=new o(y,u,D-y,T-u);y==e.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),L[0].getParent().paddingLeft!=null?c=L[0].getParent().paddingLeft:c=this.margin,this.left=R.x-c,this.right=R.x+R.width+c,this.top=R.y-c,this.bottom=R.y+R.height+c},a.calculateBounds=function(p){for(var y=e.MAX_VALUE,D=-e.MAX_VALUE,u=e.MAX_VALUE,T=-e.MAX_VALUE,E,I,s,f,c=p.length,L=0;L<c;L++){var A=p[L];E=A.getLeft(),I=A.getRight(),s=A.getTop(),f=A.getBottom(),y>E&&(y=E),D<I&&(D=I),u>s&&(u=s),T<f&&(T=f)}var C=new o(y,u,D-y,T-u);return C},a.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},a.prototype.getEstimatedSize=function(){if(this.estimatedSize==e.MIN_VALUE)throw"assert failed";return this.estimatedSize},a.prototype.calcEstimatedSize=function(){for(var p=0,y=this.nodes,D=y.length,u=0;u<D;u++){var T=y[u];p+=T.calcEstimatedSize()}return p==0?this.estimatedSize=t.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=p/Math.sqrt(this.nodes.length),this.estimatedSize},a.prototype.updateConnected=function(){var p=this;if(this.nodes.length==0){this.isConnected=!0;return}var y=new i,D=new Set,u=this.nodes[0],T,E,I=u.withChildren();for(I.forEach(function(C){y.push(C),D.add(C)});y.length!==0;){u=y.shift(),T=u.getEdges();for(var s=T.length,f=0;f<s;f++){var c=T[f];if(E=c.getOtherEndInGraph(u,this),E!=null&&!D.has(E)){var L=E.withChildren();L.forEach(function(C){y.push(C),D.add(C)})}}}if(this.isConnected=!1,D.size>=this.nodes.length){var A=0;D.forEach(function(C){C.owner==p&&A++}),A==this.nodes.length&&(this.isConnected=!0)}},N.exports=a}),(function(N,m,v){var n,e=v(1);function t(r){n=v(5),this.layout=r,this.graphs=[],this.edges=[]}O(t,"LGraphManager"),t.prototype.addRoot=function(){var r=this.layout.newGraph(),l=this.layout.newNode(null),g=this.add(r,l);return this.setRootGraph(g),this.rootGraph},t.prototype.add=function(r,l,g,o,d){if(g==null&&o==null&&d==null){if(r==null)throw"Graph is null!";if(l==null)throw"Parent node is null!";if(this.graphs.indexOf(r)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(r),r.parent!=null)throw"Already has a parent!";if(l.child!=null)throw"Already has a child!";return r.parent=l,l.child=r,r}else{d=g,o=l,g=r;var i=o.getOwner(),a=d.getOwner();if(!(i!=null&&i.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(a!=null&&a.getGraphManager()==this))throw"Target not in this graph mgr!";if(i==a)return g.isInterGraph=!1,i.add(g,o,d);if(g.isInterGraph=!0,g.source=o,g.target=d,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},t.prototype.remove=function(r){if(r instanceof n){var l=r;if(l.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(l==this.rootGraph||l.parent!=null&&l.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(l.getEdges());for(var o,d=g.length,i=0;i<d;i++)o=g[i],l.remove(o);var a=[];a=a.concat(l.getNodes());var h;d=a.length;for(var i=0;i<d;i++)h=a[i],l.remove(h);l==this.rootGraph&&this.setRootGraph(null);var p=this.graphs.indexOf(l);this.graphs.splice(p,1),l.parent=null}else if(r instanceof e){if(o=r,o==null)throw"Edge is null!";if(!o.isInterGraph)throw"Not an inter-graph edge!";if(!(o.source!=null&&o.target!=null))throw"Source and/or target is null!";if(!(o.source.edges.indexOf(o)!=-1&&o.target.edges.indexOf(o)!=-1))throw"Source and/or target doesn't know this edge!";var p=o.source.edges.indexOf(o);if(o.source.edges.splice(p,1),p=o.target.edges.indexOf(o),o.target.edges.splice(p,1),!(o.source.owner!=null&&o.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(o.source.owner.getGraphManager().edges.indexOf(o)==-1)throw"Not in owner graph manager's edge list!";var p=o.source.owner.getGraphManager().edges.indexOf(o);o.source.owner.getGraphManager().edges.splice(p,1)}},t.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},t.prototype.getGraphs=function(){return this.graphs},t.prototype.getAllNodes=function(){if(this.allNodes==null){for(var r=[],l=this.getGraphs(),g=l.length,o=0;o<g;o++)r=r.concat(l[o].getNodes());this.allNodes=r}return this.allNodes},t.prototype.resetAllNodes=function(){this.allNodes=null},t.prototype.resetAllEdges=function(){this.allEdges=null},t.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},t.prototype.getAllEdges=function(){if(this.allEdges==null){var r=[],l=this.getGraphs();l.length;for(var g=0;g<l.length;g++)r=r.concat(l[g].getEdges());r=r.concat(this.edges),this.allEdges=r}return this.allEdges},t.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},t.prototype.setAllNodesToApplyGravitation=function(r){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=r},t.prototype.getRoot=function(){return this.rootGraph},t.prototype.setRootGraph=function(r){if(r.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=r,r.parent==null&&(r.parent=this.layout.newNode("Root node"))},t.prototype.getLayout=function(){return this.layout},t.prototype.isOneAncestorOfOther=function(r,l){if(!(r!=null&&l!=null))throw"assert failed";if(r==l)return!0;var g=r.getOwner(),o;do{if(o=g.getParent(),o==null)break;if(o==l)return!0;if(g=o.getOwner(),g==null)break}while(!0);g=l.getOwner();do{if(o=g.getParent(),o==null)break;if(o==r)return!0;if(g=o.getOwner(),g==null)break}while(!0);return!1},t.prototype.calcLowestCommonAncestors=function(){for(var r,l,g,o,d,i=this.getAllEdges(),a=i.length,h=0;h<a;h++){if(r=i[h],l=r.source,g=r.target,r.lca=null,r.sourceInLca=l,r.targetInLca=g,l==g){r.lca=l.getOwner();continue}for(o=l.getOwner();r.lca==null;){for(r.targetInLca=g,d=g.getOwner();r.lca==null;){if(d==o){r.lca=d;break}if(d==this.rootGraph)break;if(r.lca!=null)throw"assert failed";r.targetInLca=d.getParent(),d=r.targetInLca.getOwner()}if(o==this.rootGraph)break;r.lca==null&&(r.sourceInLca=o.getParent(),o=r.sourceInLca.getOwner())}if(r.lca==null)throw"assert failed"}},t.prototype.calcLowestCommonAncestor=function(r,l){if(r==l)return r.getOwner();var g=r.getOwner();do{if(g==null)break;var o=l.getOwner();do{if(o==null)break;if(o==g)return o;o=o.getParent().getOwner()}while(!0);g=g.getParent().getOwner()}while(!0);return g},t.prototype.calcInclusionTreeDepths=function(r,l){r==null&&l==null&&(r=this.rootGraph,l=1);for(var g,o=r.getNodes(),d=o.length,i=0;i<d;i++)g=o[i],g.inclusionTreeDepth=l,g.child!=null&&this.calcInclusionTreeDepths(g.child,l+1)},t.prototype.includesInvalidEdge=function(){for(var r,l=this.edges.length,g=0;g<l;g++)if(r=this.edges[g],this.isOneAncestorOfOther(r.source,r.target))return!0;return!1},N.exports=t}),(function(N,m,v){var n=v(0);function e(){}O(e,"FDLayoutConstants");for(var t in n)e[t]=n[t];e.MAX_ITERATIONS=2500,e.DEFAULT_EDGE_LENGTH=50,e.DEFAULT_SPRING_STRENGTH=.45,e.DEFAULT_REPULSION_STRENGTH=4500,e.DEFAULT_GRAVITY_STRENGTH=.4,e.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,e.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,e.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,e.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,e.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,e.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,e.COOLING_ADAPTATION_FACTOR=.33,e.ADAPTATION_LOWER_NODE_LIMIT=1e3,e.ADAPTATION_UPPER_NODE_LIMIT=5e3,e.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,e.MAX_NODE_DISPLACEMENT=e.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,e.MIN_REPULSION_DIST=e.DEFAULT_EDGE_LENGTH/10,e.CONVERGENCE_CHECK_PERIOD=100,e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,e.MIN_EDGE_LENGTH=1,e.GRID_CALCULATION_CHECK_PERIOD=10,N.exports=e}),(function(N,m,v){var n=v(12);function e(){}O(e,"IGeometry"),e.calcSeparationAmount=function(t,r,l,g){if(!t.intersects(r))throw"assert failed";var o=new Array(2);this.decideDirectionsForOverlappingNodes(t,r,o),l[0]=Math.min(t.getRight(),r.getRight())-Math.max(t.x,r.x),l[1]=Math.min(t.getBottom(),r.getBottom())-Math.max(t.y,r.y),t.getX()<=r.getX()&&t.getRight()>=r.getRight()?l[0]+=Math.min(r.getX()-t.getX(),t.getRight()-r.getRight()):r.getX()<=t.getX()&&r.getRight()>=t.getRight()&&(l[0]+=Math.min(t.getX()-r.getX(),r.getRight()-t.getRight())),t.getY()<=r.getY()&&t.getBottom()>=r.getBottom()?l[1]+=Math.min(r.getY()-t.getY(),t.getBottom()-r.getBottom()):r.getY()<=t.getY()&&r.getBottom()>=t.getBottom()&&(l[1]+=Math.min(t.getY()-r.getY(),r.getBottom()-t.getBottom()));var d=Math.abs((r.getCenterY()-t.getCenterY())/(r.getCenterX()-t.getCenterX()));r.getCenterY()===t.getCenterY()&&r.getCenterX()===t.getCenterX()&&(d=1);var i=d*l[0],a=l[1]/d;l[0]<a?a=l[0]:i=l[1],l[0]=-1*o[0]*(a/2+g),l[1]=-1*o[1]*(i/2+g)},e.decideDirectionsForOverlappingNodes=function(t,r,l){t.getCenterX()<r.getCenterX()?l[0]=-1:l[0]=1,t.getCenterY()<r.getCenterY()?l[1]=-1:l[1]=1},e.getIntersection2=function(t,r,l){var g=t.getCenterX(),o=t.getCenterY(),d=r.getCenterX(),i=r.getCenterY();if(t.intersects(r))return l[0]=g,l[1]=o,l[2]=d,l[3]=i,!0;var a=t.getX(),h=t.getY(),p=t.getRight(),y=t.getX(),D=t.getBottom(),u=t.getRight(),T=t.getWidthHalf(),E=t.getHeightHalf(),I=r.getX(),s=r.getY(),f=r.getRight(),c=r.getX(),L=r.getBottom(),A=r.getRight(),C=r.getWidthHalf(),M=r.getHeightHalf(),R=!1,G=!1;if(g===d){if(o>i)return l[0]=g,l[1]=h,l[2]=d,l[3]=L,!1;if(o<i)return l[0]=g,l[1]=D,l[2]=d,l[3]=s,!1}else if(o===i){if(g>d)return l[0]=a,l[1]=o,l[2]=f,l[3]=i,!1;if(g<d)return l[0]=p,l[1]=o,l[2]=I,l[3]=i,!1}else{var _=t.height/t.width,Y=r.height/r.width,x=(i-o)/(d-g),F=void 0,S=void 0,P=void 0,U=void 0,b=void 0,H=void 0;if(-_===x?g>d?(l[0]=y,l[1]=D,R=!0):(l[0]=p,l[1]=h,R=!0):_===x&&(g>d?(l[0]=a,l[1]=h,R=!0):(l[0]=u,l[1]=D,R=!0)),-Y===x?d>g?(l[2]=c,l[3]=L,G=!0):(l[2]=f,l[3]=s,G=!0):Y===x&&(d>g?(l[2]=I,l[3]=s,G=!0):(l[2]=A,l[3]=L,G=!0)),R&&G)return!1;if(g>d?o>i?(F=this.getCardinalDirection(_,x,4),S=this.getCardinalDirection(Y,x,2)):(F=this.getCardinalDirection(-_,x,3),S=this.getCardinalDirection(-Y,x,1)):o>i?(F=this.getCardinalDirection(-_,x,1),S=this.getCardinalDirection(-Y,x,3)):(F=this.getCardinalDirection(_,x,2),S=this.getCardinalDirection(Y,x,4)),!R)switch(F){case 1:U=h,P=g+-E/x,l[0]=P,l[1]=U;break;case 2:P=u,U=o+T*x,l[0]=P,l[1]=U;break;case 3:U=D,P=g+E/x,l[0]=P,l[1]=U;break;case 4:P=y,U=o+-T*x,l[0]=P,l[1]=U;break}if(!G)switch(S){case 1:H=s,b=d+-M/x,l[2]=b,l[3]=H;break;case 2:b=A,H=i+C*x,l[2]=b,l[3]=H;break;case 3:H=L,b=d+M/x,l[2]=b,l[3]=H;break;case 4:b=c,H=i+-C*x,l[2]=b,l[3]=H;break}}return!1},e.getCardinalDirection=function(t,r,l){return t>r?l:1+l%4},e.getIntersection=function(t,r,l,g){if(g==null)return this.getIntersection2(t,r,l);var o=t.x,d=t.y,i=r.x,a=r.y,h=l.x,p=l.y,y=g.x,D=g.y,u=void 0,T=void 0,E=void 0,I=void 0,s=void 0,f=void 0,c=void 0,L=void 0,A=void 0;return E=a-d,s=o-i,c=i*d-o*a,I=D-p,f=h-y,L=y*p-h*D,A=E*f-I*s,A===0?null:(u=(s*L-f*c)/A,T=(I*c-E*L)/A,new n(u,T))},e.angleOfVector=function(t,r,l,g){var o=void 0;return t!==l?(o=Math.atan((g-r)/(l-t)),l<t?o+=Math.PI:g<r&&(o+=this.TWO_PI)):g<r?o=this.ONE_AND_HALF_PI:o=this.HALF_PI,o},e.doIntersect=function(t,r,l,g){var o=t.x,d=t.y,i=r.x,a=r.y,h=l.x,p=l.y,y=g.x,D=g.y,u=(i-o)*(D-p)-(y-h)*(a-d);if(u===0)return!1;var T=((D-p)*(y-o)+(h-y)*(D-d))/u,E=((d-a)*(y-o)+(i-o)*(D-d))/u;return 0<T&&T<1&&0<E&&E<1},e.HALF_PI=.5*Math.PI,e.ONE_AND_HALF_PI=1.5*Math.PI,e.TWO_PI=2*Math.PI,e.THREE_PI=3*Math.PI,N.exports=e}),(function(N,m,v){function n(){}O(n,"IMath"),n.sign=function(e){return e>0?1:e<0?-1:0},n.floor=function(e){return e<0?Math.ceil(e):Math.floor(e)},n.ceil=function(e){return e<0?Math.floor(e):Math.ceil(e)},N.exports=n}),(function(N,m,v){function n(){}O(n,"Integer"),n.MAX_VALUE=2147483647,n.MIN_VALUE=-2147483648,N.exports=n}),(function(N,m,v){var n=(function(){function o(d,i){for(var a=0;a<i.length;a++){var h=i[a];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(d,h.key,h)}}return O(o,"defineProperties"),function(d,i,a){return i&&o(d.prototype,i),a&&o(d,a),d}})();function e(o,d){if(!(o instanceof d))throw new TypeError("Cannot call a class as a function")}O(e,"_classCallCheck");var t=O(function(d){return{value:d,next:null,prev:null}},"nodeFrom"),r=O(function(d,i,a,h){return d!==null?d.next=i:h.head=i,a!==null?a.prev=i:h.tail=i,i.prev=d,i.next=a,h.length++,i},"add"),l=O(function(d,i){var a=d.prev,h=d.next;return a!==null?a.next=h:i.head=h,h!==null?h.prev=a:i.tail=a,d.prev=d.next=null,i.length--,d},"_remove"),g=(function(){function o(d){var i=this;e(this,o),this.length=0,this.head=null,this.tail=null,d?.forEach(function(a){return i.push(a)})}return O(o,"LinkedList"),n(o,[{key:"size",value:O(function(){return this.length},"size")},{key:"insertBefore",value:O(function(i,a){return r(a.prev,t(i),a,this)},"insertBefore")},{key:"insertAfter",value:O(function(i,a){return r(a,t(i),a.next,this)},"insertAfter")},{key:"insertNodeBefore",value:O(function(i,a){return r(a.prev,i,a,this)},"insertNodeBefore")},{key:"insertNodeAfter",value:O(function(i,a){return r(a,i,a.next,this)},"insertNodeAfter")},{key:"push",value:O(function(i){return r(this.tail,t(i),null,this)},"push")},{key:"unshift",value:O(function(i){return r(null,t(i),this.head,this)},"unshift")},{key:"remove",value:O(function(i){return l(i,this)},"remove")},{key:"pop",value:O(function(){return l(this.tail,this).value},"pop")},{key:"popNode",value:O(function(){return l(this.tail,this)},"popNode")},{key:"shift",value:O(function(){return l(this.head,this).value},"shift")},{key:"shiftNode",value:O(function(){return l(this.head,this)},"shiftNode")},{key:"get_object_at",value:O(function(i){if(i<=this.length()){for(var a=1,h=this.head;a<i;)h=h.next,a++;return h.value}},"get_object_at")},{key:"set_object_at",value:O(function(i,a){if(i<=this.length()){for(var h=1,p=this.head;h<i;)p=p.next,h++;p.value=a}},"set_object_at")}]),o})();N.exports=g}),(function(N,m,v){function n(e,t,r){this.x=null,this.y=null,e==null&&t==null&&r==null?(this.x=0,this.y=0):typeof e=="number"&&typeof t=="number"&&r==null?(this.x=e,this.y=t):e.constructor.name=="Point"&&t==null&&r==null&&(r=e,this.x=r.x,this.y=r.y)}O(n,"Point"),n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.getLocation=function(){return new n(this.x,this.y)},n.prototype.setLocation=function(e,t,r){e.constructor.name=="Point"&&t==null&&r==null?(r=e,this.setLocation(r.x,r.y)):typeof e=="number"&&typeof t=="number"&&r==null&&(parseInt(e)==e&&parseInt(t)==t?this.move(e,t):(this.x=Math.floor(e+.5),this.y=Math.floor(t+.5)))},n.prototype.move=function(e,t){this.x=e,this.y=t},n.prototype.translate=function(e,t){this.x+=e,this.y+=t},n.prototype.equals=function(e){if(e.constructor.name=="Point"){var t=e;return this.x==t.x&&this.y==t.y}return this==e},n.prototype.toString=function(){return new n().constructor.name+"[x="+this.x+",y="+this.y+"]"},N.exports=n}),(function(N,m,v){function n(e,t,r,l){this.x=0,this.y=0,this.width=0,this.height=0,e!=null&&t!=null&&r!=null&&l!=null&&(this.x=e,this.y=t,this.width=r,this.height=l)}O(n,"RectangleD"),n.prototype.getX=function(){return this.x},n.prototype.setX=function(e){this.x=e},n.prototype.getY=function(){return this.y},n.prototype.setY=function(e){this.y=e},n.prototype.getWidth=function(){return this.width},n.prototype.setWidth=function(e){this.width=e},n.prototype.getHeight=function(){return this.height},n.prototype.setHeight=function(e){this.height=e},n.prototype.getRight=function(){return this.x+this.width},n.prototype.getBottom=function(){return this.y+this.height},n.prototype.intersects=function(e){return!(this.getRight()<e.x||this.getBottom()<e.y||e.getRight()<this.x||e.getBottom()<this.y)},n.prototype.getCenterX=function(){return this.x+this.width/2},n.prototype.getMinX=function(){return this.getX()},n.prototype.getMaxX=function(){return this.getX()+this.width},n.prototype.getCenterY=function(){return this.y+this.height/2},n.prototype.getMinY=function(){return this.getY()},n.prototype.getMaxY=function(){return this.getY()+this.height},n.prototype.getWidthHalf=function(){return this.width/2},n.prototype.getHeightHalf=function(){return this.height/2},N.exports=n}),(function(N,m,v){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function e(){}O(e,"UniqueIDGeneretor"),e.lastID=0,e.createID=function(t){return e.isPrimitive(t)?t:(t.uniqueID!=null||(t.uniqueID=e.getString(),e.lastID++),t.uniqueID)},e.getString=function(t){return t==null&&(t=e.lastID),"Object#"+t},e.isPrimitive=function(t){var r=typeof t>"u"?"undefined":n(t);return t==null||r!="object"&&r!="function"},N.exports=e}),(function(N,m,v){function n(h){if(Array.isArray(h)){for(var p=0,y=Array(h.length);p<h.length;p++)y[p]=h[p];return y}else return Array.from(h)}O(n,"_toConsumableArray");var e=v(0),t=v(6),r=v(3),l=v(1),g=v(5),o=v(4),d=v(17),i=v(27);function a(h){i.call(this),this.layoutQuality=e.QUALITY,this.createBendsAsNeeded=e.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=e.DEFAULT_INCREMENTAL,this.animationOnLayout=e.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=e.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=e.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=e.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new t(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,h!=null&&(this.isRemoteUse=h)}O(a,"Layout"),a.RANDOM_SEED=1,a.prototype=Object.create(i.prototype),a.prototype.getGraphManager=function(){return this.graphManager},a.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},a.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},a.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},a.prototype.newGraphManager=function(){var h=new t(this);return this.graphManager=h,h},a.prototype.newGraph=function(h){return new g(null,this.graphManager,h)},a.prototype.newNode=function(h){return new r(this.graphManager,h)},a.prototype.newEdge=function(h){return new l(null,null,h)},a.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},a.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var h;return this.checkLayoutSuccess()?h=!1:h=this.layout(),e.ANIMATE==="during"?!1:(h&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,h)},a.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},a.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var h=this.graphManager.getAllEdges(),p=0;p<h.length;p++)h[p];for(var y=this.graphManager.getRoot().getNodes(),p=0;p<y.length;p++)y[p];this.update(this.graphManager.getRoot())}},a.prototype.update=function(h){if(h==null)this.update2();else if(h instanceof r){var p=h;if(p.getChild()!=null)for(var y=p.getChild().getNodes(),D=0;D<y.length;D++)update(y[D]);if(p.vGraphObject!=null){var u=p.vGraphObject;u.update(p)}}else if(h instanceof l){var T=h;if(T.vGraphObject!=null){var E=T.vGraphObject;E.update(T)}}else if(h instanceof g){var I=h;if(I.vGraphObject!=null){var s=I.vGraphObject;s.update(I)}}},a.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=e.QUALITY,this.animationDuringLayout=e.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=e.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=e.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=e.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=e.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=e.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},a.prototype.transform=function(h){if(h==null)this.transform(new o(0,0));else{var p=new d,y=this.graphManager.getRoot().updateLeftTop();if(y!=null){p.setWorldOrgX(h.x),p.setWorldOrgY(h.y),p.setDeviceOrgX(y.x),p.setDeviceOrgY(y.y);for(var D=this.getAllNodes(),u,T=0;T<D.length;T++)u=D[T],u.transform(p)}}},a.prototype.positionNodesRandomly=function(h){if(h==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var p,y,D=h.getNodes(),u=0;u<D.length;u++)p=D[u],y=p.getChild(),y==null||y.getNodes().length==0?p.scatter():(this.positionNodesRandomly(y),p.updateBounds())},a.prototype.getFlatForest=function(){for(var h=[],p=!0,y=this.graphManager.getRoot().getNodes(),D=!0,u=0;u<y.length;u++)y[u].getChild()!=null&&(D=!1);if(!D)return h;var T=new Set,E=[],I=new Map,s=[];for(s=s.concat(y);s.length>0&&p;){for(E.push(s[0]);E.length>0&&p;){var f=E[0];E.splice(0,1),T.add(f);for(var c=f.getEdges(),u=0;u<c.length;u++){var L=c[u].getOtherEnd(f);if(I.get(f)!=L)if(!T.has(L))E.push(L),I.set(L,f);else{p=!1;break}}}if(!p)h=[];else{var A=[].concat(n(T));h.push(A);for(var u=0;u<A.length;u++){var C=A[u],M=s.indexOf(C);M>-1&&s.splice(M,1)}T=new Set,I=new Map}}return h},a.prototype.createDummyNodesForBendpoints=function(h){for(var p=[],y=h.source,D=this.graphManager.calcLowestCommonAncestor(h.source,h.target),u=0;u<h.bendpoints.length;u++){var T=this.newNode(null);T.setRect(new Point(0,0),new Dimension(1,1)),D.add(T);var E=this.newEdge(null);this.graphManager.add(E,y,T),p.add(T),y=T}var E=this.newEdge(null);return this.graphManager.add(E,y,h.target),this.edgeToDummyNodes.set(h,p),h.isInterGraph()?this.graphManager.remove(h):D.remove(h),p},a.prototype.createBendpointsFromDummyNodes=function(){var h=[];h=h.concat(this.graphManager.getAllEdges()),h=[].concat(n(this.edgeToDummyNodes.keys())).concat(h);for(var p=0;p<h.length;p++){var y=h[p];if(y.bendpoints.length>0){for(var D=this.edgeToDummyNodes.get(y),u=0;u<D.length;u++){var T=D[u],E=new o(T.getCenterX(),T.getCenterY()),I=y.bendpoints.get(u);I.x=E.x,I.y=E.y,T.getOwner().remove(T)}this.graphManager.add(y,y.source,y.target)}}},a.transform=function(h,p,y,D){if(y!=null&&D!=null){var u=p;if(h<=50){var T=p/y;u-=(p-T)/50*(50-h)}else{var E=p*D;u+=(E-p)/50*(h-50)}return u}else{var I,s;return h<=50?(I=9*p/500,s=p/10):(I=9*p/50,s=-8*p),I*h+s}},a.findCenterOfTree=function(h){var p=[];p=p.concat(h);var y=[],D=new Map,u=!1,T=null;(p.length==1||p.length==2)&&(u=!0,T=p[0]);for(var E=0;E<p.length;E++){var I=p[E],s=I.getNeighborsList().size;D.set(I,I.getNeighborsList().size),s==1&&y.push(I)}var f=[];for(f=f.concat(y);!u;){var c=[];c=c.concat(f),f=[];for(var E=0;E<p.length;E++){var I=p[E],L=p.indexOf(I);L>=0&&p.splice(L,1);var A=I.getNeighborsList();A.forEach(function(R){if(y.indexOf(R)<0){var G=D.get(R),_=G-1;_==1&&f.push(R),D.set(R,_)}})}y=y.concat(f),(p.length==1||p.length==2)&&(u=!0,T=p[0])}return T},a.prototype.setGraphManager=function(h){this.graphManager=h},N.exports=a}),(function(N,m,v){function n(){}O(n,"RandomSeed"),n.seed=1,n.x=0,n.nextDouble=function(){return n.x=Math.sin(n.seed++)*1e4,n.x-Math.floor(n.x)},N.exports=n}),(function(N,m,v){var n=v(4);function e(t,r){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}O(e,"Transform"),e.prototype.getWorldOrgX=function(){return this.lworldOrgX},e.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},e.prototype.getWorldOrgY=function(){return this.lworldOrgY},e.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},e.prototype.getWorldExtX=function(){return this.lworldExtX},e.prototype.setWorldExtX=function(t){this.lworldExtX=t},e.prototype.getWorldExtY=function(){return this.lworldExtY},e.prototype.setWorldExtY=function(t){this.lworldExtY=t},e.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},e.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},e.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},e.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},e.prototype.getDeviceExtX=function(){return this.ldeviceExtX},e.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},e.prototype.getDeviceExtY=function(){return this.ldeviceExtY},e.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},e.prototype.transformX=function(t){var r=0,l=this.lworldExtX;return l!=0&&(r=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/l),r},e.prototype.transformY=function(t){var r=0,l=this.lworldExtY;return l!=0&&(r=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/l),r},e.prototype.inverseTransformX=function(t){var r=0,l=this.ldeviceExtX;return l!=0&&(r=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/l),r},e.prototype.inverseTransformY=function(t){var r=0,l=this.ldeviceExtY;return l!=0&&(r=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/l),r},e.prototype.inverseTransformPoint=function(t){var r=new n(this.inverseTransformX(t.x),this.inverseTransformY(t.y));return r},N.exports=e}),(function(N,m,v){function n(i){if(Array.isArray(i)){for(var a=0,h=Array(i.length);a<i.length;a++)h[a]=i[a];return h}else return Array.from(i)}O(n,"_toConsumableArray");var e=v(15),t=v(7),r=v(0),l=v(8),g=v(9);function o(){e.call(this),this.useSmartIdealEdgeLengthCalculation=t.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=t.DEFAULT_EDGE_LENGTH,this.springConstant=t.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=t.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=t.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=t.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=t.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=t.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*t.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=t.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=t.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=t.MAX_ITERATIONS}O(o,"FDLayout"),o.prototype=Object.create(e.prototype);for(var d in e)o[d]=e[d];o.prototype.initParameters=function(){e.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=t.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},o.prototype.calcIdealEdgeLengths=function(){for(var i,a,h,p,y,D,u=this.getGraphManager().getAllEdges(),T=0;T<u.length;T++)i=u[T],i.idealLength=this.idealEdgeLength,i.isInterGraph&&(h=i.getSource(),p=i.getTarget(),y=i.getSourceInLca().getEstimatedSize(),D=i.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(i.idealLength+=y+D-2*r.SIMPLE_NODE_SIZE),a=i.getLca().getInclusionTreeDepth(),i.idealLength+=t.DEFAULT_EDGE_LENGTH*t.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(h.getInclusionTreeDepth()+p.getInclusionTreeDepth()-2*a))},o.prototype.initSpringEmbedder=function(){var i=this.getAllNodes().length;this.incremental?(i>t.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*t.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(i-t.ADAPTATION_LOWER_NODE_LIMIT)/(t.ADAPTATION_UPPER_NODE_LIMIT-t.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-t.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=t.MAX_NODE_DISPLACEMENT_INCREMENTAL):(i>t.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(t.COOLING_ADAPTATION_FACTOR,1-(i-t.ADAPTATION_LOWER_NODE_LIMIT)/(t.ADAPTATION_UPPER_NODE_LIMIT-t.ADAPTATION_LOWER_NODE_LIMIT)*(1-t.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=t.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},o.prototype.calcSpringForces=function(){for(var i=this.getAllEdges(),a,h=0;h<i.length;h++)a=i[h],this.calcSpringForce(a,a.idealLength)},o.prototype.calcRepulsionForces=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h,p,y,D,u=this.getAllNodes(),T;if(this.useFRGridVariant)for(this.totalIterations%t.GRID_CALCULATION_CHECK_PERIOD==1&&i&&this.updateGrid(),T=new Set,h=0;h<u.length;h++)y=u[h],this.calculateRepulsionForceOfANode(y,T,i,a),T.add(y);else for(h=0;h<u.length;h++)for(y=u[h],p=h+1;p<u.length;p++)D=u[p],y.getOwner()==D.getOwner()&&this.calcRepulsionForce(y,D)},o.prototype.calcGravitationalForces=function(){for(var i,a=this.getAllNodesToApplyGravitation(),h=0;h<a.length;h++)i=a[h],this.calcGravitationalForce(i)},o.prototype.moveNodes=function(){for(var i=this.getAllNodes(),a,h=0;h<i.length;h++)a=i[h],a.move()},o.prototype.calcSpringForce=function(i,a){var h=i.getSource(),p=i.getTarget(),y,D,u,T;if(this.uniformLeafNodeSizes&&h.getChild()==null&&p.getChild()==null)i.updateLengthSimple();else if(i.updateLength(),i.isOverlapingSourceAndTarget)return;y=i.getLength(),y!=0&&(D=this.springConstant*(y-a),u=D*(i.lengthX/y),T=D*(i.lengthY/y),h.springForceX+=u,h.springForceY+=T,p.springForceX-=u,p.springForceY-=T)},o.prototype.calcRepulsionForce=function(i,a){var h=i.getRect(),p=a.getRect(),y=new Array(2),D=new Array(4),u,T,E,I,s,f,c;if(h.intersects(p)){l.calcSeparationAmount(h,p,y,t.DEFAULT_EDGE_LENGTH/2),f=2*y[0],c=2*y[1];var L=i.noOfChildren*a.noOfChildren/(i.noOfChildren+a.noOfChildren);i.repulsionForceX-=L*f,i.repulsionForceY-=L*c,a.repulsionForceX+=L*f,a.repulsionForceY+=L*c}else this.uniformLeafNodeSizes&&i.getChild()==null&&a.getChild()==null?(u=p.getCenterX()-h.getCenterX(),T=p.getCenterY()-h.getCenterY()):(l.getIntersection(h,p,D),u=D[2]-D[0],T=D[3]-D[1]),Math.abs(u)<t.MIN_REPULSION_DIST&&(u=g.sign(u)*t.MIN_REPULSION_DIST),Math.abs(T)<t.MIN_REPULSION_DIST&&(T=g.sign(T)*t.MIN_REPULSION_DIST),E=u*u+T*T,I=Math.sqrt(E),s=this.repulsionConstant*i.noOfChildren*a.noOfChildren/E,f=s*u/I,c=s*T/I,i.repulsionForceX-=f,i.repulsionForceY-=c,a.repulsionForceX+=f,a.repulsionForceY+=c},o.prototype.calcGravitationalForce=function(i){var a,h,p,y,D,u,T,E;a=i.getOwner(),h=(a.getRight()+a.getLeft())/2,p=(a.getTop()+a.getBottom())/2,y=i.getCenterX()-h,D=i.getCenterY()-p,u=Math.abs(y)+i.getWidth()/2,T=Math.abs(D)+i.getHeight()/2,i.getOwner()==this.graphManager.getRoot()?(E=a.getEstimatedSize()*this.gravityRangeFactor,(u>E||T>E)&&(i.gravitationForceX=-this.gravityConstant*y,i.gravitationForceY=-this.gravityConstant*D)):(E=a.getEstimatedSize()*this.compoundGravityRangeFactor,(u>E||T>E)&&(i.gravitationForceX=-this.gravityConstant*y*this.compoundGravityConstant,i.gravitationForceY=-this.gravityConstant*D*this.compoundGravityConstant))},o.prototype.isConverged=function(){var i,a=!1;return this.totalIterations>this.maxIterations/3&&(a=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),i=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,i||a},o.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},o.prototype.calcNoOfChildrenForAllNodes=function(){for(var i,a=this.graphManager.getAllNodes(),h=0;h<a.length;h++)i=a[h],i.noOfChildren=i.getNoOfChildren()},o.prototype.calcGrid=function(i){var a=0,h=0;a=parseInt(Math.ceil((i.getRight()-i.getLeft())/this.repulsionRange)),h=parseInt(Math.ceil((i.getBottom()-i.getTop())/this.repulsionRange));for(var p=new Array(a),y=0;y<a;y++)p[y]=new Array(h);for(var y=0;y<a;y++)for(var D=0;D<h;D++)p[y][D]=new Array;return p},o.prototype.addNodeToGrid=function(i,a,h){var p=0,y=0,D=0,u=0;p=parseInt(Math.floor((i.getRect().x-a)/this.repulsionRange)),y=parseInt(Math.floor((i.getRect().width+i.getRect().x-a)/this.repulsionRange)),D=parseInt(Math.floor((i.getRect().y-h)/this.repulsionRange)),u=parseInt(Math.floor((i.getRect().height+i.getRect().y-h)/this.repulsionRange));for(var T=p;T<=y;T++)for(var E=D;E<=u;E++)this.grid[T][E].push(i),i.setGridCoordinates(p,y,D,u)},o.prototype.updateGrid=function(){var i,a,h=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),i=0;i<h.length;i++)a=h[i],this.addNodeToGrid(a,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},o.prototype.calculateRepulsionForceOfANode=function(i,a,h,p){if(this.totalIterations%t.GRID_CALCULATION_CHECK_PERIOD==1&&h||p){var y=new Set;i.surrounding=new Array;for(var D,u=this.grid,T=i.startX-1;T<i.finishX+2;T++)for(var E=i.startY-1;E<i.finishY+2;E++)if(!(T<0||E<0||T>=u.length||E>=u[0].length)){for(var I=0;I<u[T][E].length;I++)if(D=u[T][E][I],!(i.getOwner()!=D.getOwner()||i==D)&&!a.has(D)&&!y.has(D)){var s=Math.abs(i.getCenterX()-D.getCenterX())-(i.getWidth()/2+D.getWidth()/2),f=Math.abs(i.getCenterY()-D.getCenterY())-(i.getHeight()/2+D.getHeight()/2);s<=this.repulsionRange&&f<=this.repulsionRange&&y.add(D)}}i.surrounding=[].concat(n(y))}for(T=0;T<i.surrounding.length;T++)this.calcRepulsionForce(i,i.surrounding[T])},o.prototype.calcRepulsionRange=function(){return 0},N.exports=o}),(function(N,m,v){var n=v(1),e=v(7);function t(l,g,o){n.call(this,l,g,o),this.idealLength=e.DEFAULT_EDGE_LENGTH}O(t,"FDLayoutEdge"),t.prototype=Object.create(n.prototype);for(var r in n)t[r]=n[r];N.exports=t}),(function(N,m,v){var n=v(3);function e(r,l,g,o){n.call(this,r,l,g,o),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}O(e,"FDLayoutNode"),e.prototype=Object.create(n.prototype);for(var t in n)e[t]=n[t];e.prototype.setGridCoordinates=function(r,l,g,o){this.startX=r,this.finishX=l,this.startY=g,this.finishY=o},N.exports=e}),(function(N,m,v){function n(e,t){this.width=0,this.height=0,e!==null&&t!==null&&(this.height=t,this.width=e)}O(n,"DimensionD"),n.prototype.getWidth=function(){return this.width},n.prototype.setWidth=function(e){this.width=e},n.prototype.getHeight=function(){return this.height},n.prototype.setHeight=function(e){this.height=e},N.exports=n}),(function(N,m,v){var n=v(14);function e(){this.map={},this.keys=[]}O(e,"HashMap"),e.prototype.put=function(t,r){var l=n.createID(t);this.contains(l)||(this.map[l]=r,this.keys.push(t))},e.prototype.contains=function(t){return n.createID(t),this.map[t]!=null},e.prototype.get=function(t){var r=n.createID(t);return this.map[r]},e.prototype.keySet=function(){return this.keys},N.exports=e}),(function(N,m,v){var n=v(14);function e(){this.set={}}O(e,"HashSet"),e.prototype.add=function(t){var r=n.createID(t);this.contains(r)||(this.set[r]=t)},e.prototype.remove=function(t){delete this.set[n.createID(t)]},e.prototype.clear=function(){this.set={}},e.prototype.contains=function(t){return this.set[n.createID(t)]==t},e.prototype.isEmpty=function(){return this.size()===0},e.prototype.size=function(){return Object.keys(this.set).length},e.prototype.addAllTo=function(t){for(var r=Object.keys(this.set),l=r.length,g=0;g<l;g++)t.push(this.set[r[g]])},e.prototype.size=function(){return Object.keys(this.set).length},e.prototype.addAll=function(t){for(var r=t.length,l=0;l<r;l++){var g=t[l];this.add(g)}},N.exports=e}),(function(N,m,v){var n=(function(){function l(g,o){for(var d=0;d<o.length;d++){var i=o[d];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(g,i.key,i)}}return O(l,"defineProperties"),function(g,o,d){return o&&l(g.prototype,o),d&&l(g,d),g}})();function e(l,g){if(!(l instanceof g))throw new TypeError("Cannot call a class as a function")}O(e,"_classCallCheck");var t=v(11),r=(function(){function l(g,o){e(this,l),(o!==null||o!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var d=void 0;g instanceof t?d=g.size():d=g.length,this._quicksort(g,0,d-1)}return O(l,"Quicksort"),n(l,[{key:"_quicksort",value:O(function(o,d,i){if(d<i){var a=this._partition(o,d,i);this._quicksort(o,d,a),this._quicksort(o,a+1,i)}},"_quicksort")},{key:"_partition",value:O(function(o,d,i){for(var a=this._get(o,d),h=d,p=i;;){for(;this.compareFunction(a,this._get(o,p));)p--;for(;this.compareFunction(this._get(o,h),a);)h++;if(h<p)this._swap(o,h,p),h++,p--;else return p}},"_partition")},{key:"_get",value:O(function(o,d){return o instanceof t?o.get_object_at(d):o[d]},"_get")},{key:"_set",value:O(function(o,d,i){o instanceof t?o.set_object_at(d,i):o[d]=i},"_set")},{key:"_swap",value:O(function(o,d,i){var a=this._get(o,d);this._set(o,d,this._get(o,i)),this._set(o,i,a)},"_swap")},{key:"_defaultCompareFunction",value:O(function(o,d){return d>o},"_defaultCompareFunction")}]),l})();N.exports=r}),(function(N,m,v){var n=(function(){function r(l,g){for(var o=0;o<g.length;o++){var d=g[o];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(l,d.key,d)}}return O(r,"defineProperties"),function(l,g,o){return g&&r(l.prototype,g),o&&r(l,o),l}})();function e(r,l){if(!(r instanceof l))throw new TypeError("Cannot call a class as a function")}O(e,"_classCallCheck");var t=(function(){function r(l,g){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;e(this,r),this.sequence1=l,this.sequence2=g,this.match_score=o,this.mismatch_penalty=d,this.gap_penalty=i,this.iMax=l.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var a=0;a<this.iMax;a++){this.grid[a]=new Array(this.jMax);for(var h=0;h<this.jMax;h++)this.grid[a][h]=0}this.tracebackGrid=new Array(this.iMax);for(var p=0;p<this.iMax;p++){this.tracebackGrid[p]=new Array(this.jMax);for(var y=0;y<this.jMax;y++)this.tracebackGrid[p][y]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return O(r,"NeedlemanWunsch"),n(r,[{key:"getScore",value:O(function(){return this.score},"getScore")},{key:"getAlignments",value:O(function(){return this.alignments},"getAlignments")},{key:"computeGrids",value:O(function(){for(var g=1;g<this.jMax;g++)this.grid[0][g]=this.grid[0][g-1]+this.gap_penalty,this.tracebackGrid[0][g]=[!1,!1,!0];for(var o=1;o<this.iMax;o++)this.grid[o][0]=this.grid[o-1][0]+this.gap_penalty,this.tracebackGrid[o][0]=[!1,!0,!1];for(var d=1;d<this.iMax;d++)for(var i=1;i<this.jMax;i++){var a=void 0;this.sequence1[d-1]===this.sequence2[i-1]?a=this.grid[d-1][i-1]+this.match_score:a=this.grid[d-1][i-1]+this.mismatch_penalty;var h=this.grid[d-1][i]+this.gap_penalty,p=this.grid[d][i-1]+this.gap_penalty,y=[a,h,p],D=this.arrayAllMaxIndexes(y);this.grid[d][i]=y[D[0]],this.tracebackGrid[d][i]=[D.includes(0),D.includes(1),D.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]},"computeGrids")},{key:"alignmentTraceback",value:O(function(){var g=[];for(g.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});g[0];){var o=g[0],d=this.tracebackGrid[o.pos[0]][o.pos[1]];d[0]&&g.push({pos:[o.pos[0]-1,o.pos[1]-1],seq1:this.sequence1[o.pos[0]-1]+o.seq1,seq2:this.sequence2[o.pos[1]-1]+o.seq2}),d[1]&&g.push({pos:[o.pos[0]-1,o.pos[1]],seq1:this.sequence1[o.pos[0]-1]+o.seq1,seq2:"-"+o.seq2}),d[2]&&g.push({pos:[o.pos[0],o.pos[1]-1],seq1:"-"+o.seq1,seq2:this.sequence2[o.pos[1]-1]+o.seq2}),o.pos[0]===0&&o.pos[1]===0&&this.alignments.push({sequence1:o.seq1,sequence2:o.seq2}),g.shift()}return this.alignments},"alignmentTraceback")},{key:"getAllIndexes",value:O(function(g,o){for(var d=[],i=-1;(i=g.indexOf(o,i+1))!==-1;)d.push(i);return d},"getAllIndexes")},{key:"arrayAllMaxIndexes",value:O(function(g){return this.getAllIndexes(g,Math.max.apply(null,g))},"arrayAllMaxIndexes")}]),r})();N.exports=t}),(function(N,m,v){var n=O(function(){},"layoutBase");n.FDLayout=v(18),n.FDLayoutConstants=v(7),n.FDLayoutEdge=v(19),n.FDLayoutNode=v(20),n.DimensionD=v(21),n.HashMap=v(22),n.HashSet=v(23),n.IGeometry=v(8),n.IMath=v(9),n.Integer=v(10),n.Point=v(12),n.PointD=v(4),n.RandomSeed=v(16),n.RectangleD=v(13),n.Transform=v(17),n.UniqueIDGeneretor=v(14),n.Quicksort=v(24),n.LinkedList=v(11),n.LGraphObject=v(2),n.LGraph=v(5),n.LEdge=v(1),n.LGraphManager=v(6),n.LNode=v(3),n.Layout=v(15),n.LayoutConstants=v(0),n.NeedlemanWunsch=v(25),N.exports=n}),(function(N,m,v){function n(){this.listeners=[]}O(n,"Emitter");var e=n.prototype;e.addListener=function(t,r){this.listeners.push({event:t,callback:r})},e.removeListener=function(t,r){for(var l=this.listeners.length;l>=0;l--){var g=this.listeners[l];g.event===t&&g.callback===r&&this.listeners.splice(l,1)}},e.emit=function(t,r){for(var l=0;l<this.listeners.length;l++){var g=this.listeners[l];t===g.event&&g.callback(r)}},N.exports=n})])})}}),nt=j({"../../node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.js"(w,X){O((function(m,v){typeof w=="object"&&typeof X=="object"?X.exports=v(it()):typeof define=="function"&&define.amd?define(["layout-base"],v):typeof w=="object"?w.coseBase=v(it()):m.coseBase=v(m.layoutBase)}),"webpackUniversalModuleDefinition")(w,function(N){return(function(m){var v={};function n(e){if(v[e])return v[e].exports;var t=v[e]={i:e,l:!1,exports:{}};return m[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}return O(n,"__webpack_require__"),n.m=m,n.c=v,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?O(function(){return e.default},"getDefault"):O(function(){return e},"getModuleExports");return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)})([(function(m,v){m.exports=N}),(function(m,v,n){var e=n(0).FDLayoutConstants;function t(){}O(t,"CoSEConstants");for(var r in e)t[r]=e[r];t.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,t.DEFAULT_RADIAL_SEPARATION=e.DEFAULT_EDGE_LENGTH,t.DEFAULT_COMPONENT_SEPERATION=60,t.TILE=!0,t.TILING_PADDING_VERTICAL=10,t.TILING_PADDING_HORIZONTAL=10,t.TREE_REDUCTION_ON_INCREMENTAL=!1,m.exports=t}),(function(m,v,n){var e=n(0).FDLayoutEdge;function t(l,g,o){e.call(this,l,g,o)}O(t,"CoSEEdge"),t.prototype=Object.create(e.prototype);for(var r in e)t[r]=e[r];m.exports=t}),(function(m,v,n){var e=n(0).LGraph;function t(l,g,o){e.call(this,l,g,o)}O(t,"CoSEGraph"),t.prototype=Object.create(e.prototype);for(var r in e)t[r]=e[r];m.exports=t}),(function(m,v,n){var e=n(0).LGraphManager;function t(l){e.call(this,l)}O(t,"CoSEGraphManager"),t.prototype=Object.create(e.prototype);for(var r in e)t[r]=e[r];m.exports=t}),(function(m,v,n){var e=n(0).FDLayoutNode,t=n(0).IMath;function r(g,o,d,i){e.call(this,g,o,d,i)}O(r,"CoSENode"),r.prototype=Object.create(e.prototype);for(var l in e)r[l]=e[l];r.prototype.move=function(){var g=this.graphManager.getLayout();this.displacementX=g.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=g.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*t.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*t.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},r.prototype.propogateDisplacementToChildren=function(g,o){for(var d=this.getChild().getNodes(),i,a=0;a<d.length;a++)i=d[a],i.getChild()==null?(i.moveBy(g,o),i.displacementX+=g,i.displacementY+=o):i.propogateDisplacementToChildren(g,o)},r.prototype.setPred1=function(g){this.pred1=g},r.prototype.getPred1=function(){return pred1},r.prototype.getPred2=function(){return pred2},r.prototype.setNext=function(g){this.next=g},r.prototype.getNext=function(){return next},r.prototype.setProcessed=function(g){this.processed=g},r.prototype.isProcessed=function(){return processed},m.exports=r}),(function(m,v,n){var e=n(0).FDLayout,t=n(4),r=n(3),l=n(5),g=n(2),o=n(1),d=n(0).FDLayoutConstants,i=n(0).LayoutConstants,a=n(0).Point,h=n(0).PointD,p=n(0).Layout,y=n(0).Integer,D=n(0).IGeometry,u=n(0).LGraph,T=n(0).Transform;function E(){e.call(this),this.toBeTiled={}}O(E,"CoSELayout"),E.prototype=Object.create(e.prototype);for(var I in e)E[I]=e[I];E.prototype.newGraphManager=function(){var s=new t(this);return this.graphManager=s,s},E.prototype.newGraph=function(s){return new r(null,this.graphManager,s)},E.prototype.newNode=function(s){return new l(this.graphManager,s)},E.prototype.newEdge=function(s){return new g(null,null,s)},E.prototype.initParameters=function(){e.prototype.initParameters.call(this,arguments),this.isSubLayout||(o.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=o.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=d.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=d.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=d.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=d.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=d.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/d.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=d.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},E.prototype.layout=function(){var s=i.DEFAULT_CREATE_BENDS_AS_NEEDED;return s&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},E.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(o.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var f=new Set(this.getAllNodes()),c=this.nodesWithGravity.filter(function(C){return f.has(C)});this.graphManager.setAllNodesToApplyGravitation(c)}}else{var s=this.getFlatForest();if(s.length>0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var f=new Set(this.getAllNodes()),c=this.nodesWithGravity.filter(function(L){return f.has(L)});this.graphManager.setAllNodesToApplyGravitation(c),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},E.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%d.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),f=this.nodesWithGravity.filter(function(A){return s.has(A)});this.graphManager.setAllNodesToApplyGravitation(f),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var c=!this.isTreeGrowing&&!this.isGrowthFinished,L=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(c,L),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},E.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),f={},c=0;c<s.length;c++){var L=s[c].rect,A=s[c].id;f[A]={id:A,x:L.getCenterX(),y:L.getCenterY(),w:L.width,h:L.height}}return f},E.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var s=!1;if(d.ANIMATE==="during")this.emit("layoutstarted");else{for(;!s;)s=this.tick();this.graphManager.updateBounds()}},E.prototype.calculateNodesToApplyGravitationTo=function(){var s=[],f,c=this.graphManager.getGraphs(),L=c.length,A;for(A=0;A<L;A++)f=c[A],f.updateConnected(),f.isConnected||(s=s.concat(f.getNodes()));return s},E.prototype.createBendpoints=function(){var s=[];s=s.concat(this.graphManager.getAllEdges());var f=new Set,c;for(c=0;c<s.length;c++){var L=s[c];if(!f.has(L)){var A=L.getSource(),C=L.getTarget();if(A==C)L.getBendpoints().push(new h),L.getBendpoints().push(new h),this.createDummyNodesForBendpoints(L),f.add(L);else{var M=[];if(M=M.concat(A.getEdgeListToNode(C)),M=M.concat(C.getEdgeListToNode(A)),!f.has(M[0])){if(M.length>1){var R;for(R=0;R<M.length;R++){var G=M[R];G.getBendpoints().push(new h),this.createDummyNodesForBendpoints(G)}}M.forEach(function(_){f.add(_)})}}}if(f.size==s.length)break}},E.prototype.positionNodesRadially=function(s){for(var f=new a(0,0),c=Math.ceil(Math.sqrt(s.length)),L=0,A=0,C=0,M=new h(0,0),R=0;R<s.length;R++){R%c==0&&(C=0,A=L,R!=0&&(A+=o.DEFAULT_COMPONENT_SEPERATION),L=0);var G=s[R],_=p.findCenterOfTree(G);f.x=C,f.y=A,M=E.radialLayout(G,_,f),M.y>L&&(L=Math.floor(M.y)),C=Math.floor(M.x+o.DEFAULT_COMPONENT_SEPERATION)}this.transform(new h(i.WORLD_CENTER_X-M.x/2,i.WORLD_CENTER_Y-M.y/2))},E.radialLayout=function(s,f,c){var L=Math.max(this.maxDiagonalInTree(s),o.DEFAULT_RADIAL_SEPARATION);E.branchRadialLayout(f,null,0,359,0,L);var A=u.calculateBounds(s),C=new T;C.setDeviceOrgX(A.getMinX()),C.setDeviceOrgY(A.getMinY()),C.setWorldOrgX(c.x),C.setWorldOrgY(c.y);for(var M=0;M<s.length;M++){var R=s[M];R.transform(C)}var G=new h(A.getMaxX(),A.getMaxY());return C.inverseTransformPoint(G)},E.branchRadialLayout=function(s,f,c,L,A,C){var M=(L-c+1)/2;M<0&&(M+=180);var R=(M+c)%360,G=R*D.TWO_PI/360,_=A*Math.cos(G),Y=A*Math.sin(G);s.setCenter(_,Y);var x=[];x=x.concat(s.getEdges());var F=x.length;f!=null&&F--;for(var S=0,P=x.length,U,b=s.getEdgesBetween(f);b.length>1;){var H=b[0];b.splice(0,1);var W=x.indexOf(H);W>=0&&x.splice(W,1),P--,F--}f!=null?U=(x.indexOf(b[0])+1)%P:U=0;for(var B=Math.abs(L-c)/F,k=U;S!=F;k=++k%P){var et=x[k].getOtherEnd(s);if(et!=f){var rt=(c+S*B)%360,st=(rt+B)%360;E.branchRadialLayout(et,s,rt,st,A+C,C),S++}}},E.maxDiagonalInTree=function(s){for(var f=y.MIN_VALUE,c=0;c<s.length;c++){var L=s[c],A=L.getDiagonal();A>f&&(f=A)}return f},E.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},E.prototype.groupZeroDegreeMembers=function(){var s=this,f={};this.memberGroups={},this.idToDummyNode={};for(var c=[],L=this.graphManager.getAllNodes(),A=0;A<L.length;A++){var C=L[A],M=C.getParent();this.getNodeDegreeWithChildren(C)===0&&(M.id==null||!this.getToBeTiled(M))&&c.push(C)}for(var A=0;A<c.length;A++){var C=c[A],R=C.getParent().id;typeof f[R]>"u"&&(f[R]=[]),f[R]=f[R].concat(C)}Object.keys(f).forEach(function(G){if(f[G].length>1){var _="DummyCompound_"+G;s.memberGroups[_]=f[G];var Y=f[G][0].getParent(),x=new l(s.graphManager);x.id=_,x.paddingLeft=Y.paddingLeft||0,x.paddingRight=Y.paddingRight||0,x.paddingBottom=Y.paddingBottom||0,x.paddingTop=Y.paddingTop||0,s.idToDummyNode[_]=x;var F=s.getGraphManager().add(s.newGraph(),x),S=Y.getChild();S.add(x);for(var P=0;P<f[G].length;P++){var U=f[G][P];S.remove(U),F.add(U)}}})},E.prototype.clearCompounds=function(){var s={},f={};this.performDFSOnCompounds();for(var c=0;c<this.compoundOrder.length;c++)f[this.compoundOrder[c].id]=this.compoundOrder[c],s[this.compoundOrder[c].id]=[].concat(this.compoundOrder[c].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[c].getChild()),this.compoundOrder[c].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(s,f)},E.prototype.clearZeroDegreeMembers=function(){var s=this,f=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(c){var L=s.idToDummyNode[c];f[c]=s.tileNodes(s.memberGroups[c],L.paddingLeft+L.paddingRight),L.rect.width=f[c].width,L.rect.height=f[c].height})},E.prototype.repopulateCompounds=function(){for(var s=this.compoundOrder.length-1;s>=0;s--){var f=this.compoundOrder[s],c=f.id,L=f.paddingLeft,A=f.paddingTop;this.adjustLocations(this.tiledMemberPack[c],f.rect.x,f.rect.y,L,A)}},E.prototype.repopulateZeroDegreeMembers=function(){var s=this,f=this.tiledZeroDegreePack;Object.keys(f).forEach(function(c){var L=s.idToDummyNode[c],A=L.paddingLeft,C=L.paddingTop;s.adjustLocations(f[c],L.rect.x,L.rect.y,A,C)})},E.prototype.getToBeTiled=function(s){var f=s.id;if(this.toBeTiled[f]!=null)return this.toBeTiled[f];var c=s.getChild();if(c==null)return this.toBeTiled[f]=!1,!1;for(var L=c.getNodes(),A=0;A<L.length;A++){var C=L[A];if(this.getNodeDegree(C)>0)return this.toBeTiled[f]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[f]=!1,!1}return this.toBeTiled[f]=!0,!0},E.prototype.getNodeDegree=function(s){s.id;for(var f=s.getEdges(),c=0,L=0;L<f.length;L++){var A=f[L];A.getSource().id!==A.getTarget().id&&(c=c+1)}return c},E.prototype.getNodeDegreeWithChildren=function(s){var f=this.getNodeDegree(s);if(s.getChild()==null)return f;for(var c=s.getChild().getNodes(),L=0;L<c.length;L++){var A=c[L];f+=this.getNodeDegreeWithChildren(A)}return f},E.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},E.prototype.fillCompexOrderByDFS=function(s){for(var f=0;f<s.length;f++){var c=s[f];c.getChild()!=null&&this.fillCompexOrderByDFS(c.getChild().getNodes()),this.getToBeTiled(c)&&this.compoundOrder.push(c)}},E.prototype.adjustLocations=function(s,f,c,L,A){f+=L,c+=A;for(var C=f,M=0;M<s.rows.length;M++){var R=s.rows[M];f=C;for(var G=0,_=0;_<R.length;_++){var Y=R[_];Y.rect.x=f,Y.rect.y=c,f+=Y.rect.width+s.horizontalPadding,Y.rect.height>G&&(G=Y.rect.height)}c+=G+s.verticalPadding}},E.prototype.tileCompoundMembers=function(s,f){var c=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(L){var A=f[L];c.tiledMemberPack[L]=c.tileNodes(s[L],A.paddingLeft+A.paddingRight),A.rect.width=c.tiledMemberPack[L].width,A.rect.height=c.tiledMemberPack[L].height})},E.prototype.tileNodes=function(s,f){var c=o.TILING_PADDING_VERTICAL,L=o.TILING_PADDING_HORIZONTAL,A={rows:[],rowWidth:[],rowHeight:[],width:0,height:f,verticalPadding:c,horizontalPadding:L};s.sort(function(R,G){return R.rect.width*R.rect.height>G.rect.width*G.rect.height?-1:R.rect.width*R.rect.height<G.rect.width*G.rect.height?1:0});for(var C=0;C<s.length;C++){var M=s[C];A.rows.length==0?this.insertNodeToRow(A,M,0,f):this.canAddHorizontal(A,M.rect.width,M.rect.height)?this.insertNodeToRow(A,M,this.getShortestRowIndex(A),f):this.insertNodeToRow(A,M,A.rows.length,f),this.shiftToLastRow(A)}return A},E.prototype.insertNodeToRow=function(s,f,c,L){var A=L;if(c==s.rows.length){var C=[];s.rows.push(C),s.rowWidth.push(A),s.rowHeight.push(0)}var M=s.rowWidth[c]+f.rect.width;s.rows[c].length>0&&(M+=s.horizontalPadding),s.rowWidth[c]=M,s.width<M&&(s.width=M);var R=f.rect.height;c>0&&(R+=s.verticalPadding);var G=0;R>s.rowHeight[c]&&(G=s.rowHeight[c],s.rowHeight[c]=R,G=s.rowHeight[c]-G),s.height+=G,s.rows[c].push(f)},E.prototype.getShortestRowIndex=function(s){for(var f=-1,c=Number.MAX_VALUE,L=0;L<s.rows.length;L++)s.rowWidth[L]<c&&(f=L,c=s.rowWidth[L]);return f},E.prototype.getLongestRowIndex=function(s){for(var f=-1,c=Number.MIN_VALUE,L=0;L<s.rows.length;L++)s.rowWidth[L]>c&&(f=L,c=s.rowWidth[L]);return f},E.prototype.canAddHorizontal=function(s,f,c){var L=this.getShortestRowIndex(s);if(L<0)return!0;var A=s.rowWidth[L];if(A+s.horizontalPadding+f<=s.width)return!0;var C=0;s.rowHeight[L]<c&&L>0&&(C=c+s.verticalPadding-s.rowHeight[L]);var M;s.width-A>=f+s.horizontalPadding?M=(s.height+C)/(A+f+s.horizontalPadding):M=(s.height+C)/s.width,C=c+s.verticalPadding;var R;return s.width<f?R=(s.height+C)/f:R=(s.height+C)/s.width,R<1&&(R=1/R),M<1&&(M=1/M),M<R},E.prototype.shiftToLastRow=function(s){var f=this.getLongestRowIndex(s),c=s.rowWidth.length-1,L=s.rows[f],A=L[L.length-1],C=A.width+s.horizontalPadding;if(s.width-s.rowWidth[c]>C&&f!=c){L.splice(-1,1),s.rows[c].push(A),s.rowWidth[f]=s.rowWidth[f]-C,s.rowWidth[c]=s.rowWidth[c]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var M=Number.MIN_VALUE,R=0;R<L.length;R++)L[R].height>M&&(M=L[R].height);f>0&&(M+=s.verticalPadding);var G=s.rowHeight[f]+s.rowHeight[c];s.rowHeight[f]=M,s.rowHeight[c]<A.height+s.verticalPadding&&(s.rowHeight[c]=A.height+s.verticalPadding);var _=s.rowHeight[f]+s.rowHeight[c];s.height+=_-G,this.shiftToLastRow(s)}},E.prototype.tilingPreLayout=function(){o.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},E.prototype.tilingPostLayout=function(){o.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},E.prototype.reduceTrees=function(){for(var s=[],f=!0,c;f;){var L=this.graphManager.getAllNodes(),A=[];f=!1;for(var C=0;C<L.length;C++)c=L[C],c.getEdges().length==1&&!c.getEdges()[0].isInterGraph&&c.getChild()==null&&(A.push([c,c.getEdges()[0],c.getOwner()]),f=!0);if(f==!0){for(var M=[],R=0;R<A.length;R++)A[R][0].getEdges().length==1&&(M.push(A[R]),A[R][0].getOwner().remove(A[R][0]));s.push(M),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=s},E.prototype.growTree=function(s){for(var f=s.length,c=s[f-1],L,A=0;A<c.length;A++)L=c[A],this.findPlaceforPrunedNode(L),L[2].add(L[0]),L[2].add(L[1],L[1].source,L[1].target);s.splice(s.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},E.prototype.findPlaceforPrunedNode=function(s){var f,c,L=s[0];L==s[1].source?c=s[1].target:c=s[1].source;var A=c.startX,C=c.finishX,M=c.startY,R=c.finishY,G=0,_=0,Y=0,x=0,F=[G,Y,_,x];if(M>0)for(var S=A;S<=C;S++)F[0]+=this.grid[S][M-1].length+this.grid[S][M].length-1;if(C<this.grid.length-1)for(var S=M;S<=R;S++)F[1]+=this.grid[C+1][S].length+this.grid[C][S].length-1;if(R<this.grid[0].length-1)for(var S=A;S<=C;S++)F[2]+=this.grid[S][R+1].length+this.grid[S][R].length-1;if(A>0)for(var S=M;S<=R;S++)F[3]+=this.grid[A-1][S].length+this.grid[A][S].length-1;for(var P=y.MAX_VALUE,U,b,H=0;H<F.length;H++)F[H]<P?(P=F[H],U=1,b=H):F[H]==P&&U++;if(U==3&&P==0)F[0]==0&&F[1]==0&&F[2]==0?f=1:F[0]==0&&F[1]==0&&F[3]==0?f=0:F[0]==0&&F[2]==0&&F[3]==0?f=3:F[1]==0&&F[2]==0&&F[3]==0&&(f=2);else if(U==2&&P==0){var W=Math.floor(Math.random()*2);F[0]==0&&F[1]==0?W==0?f=0:f=1:F[0]==0&&F[2]==0?W==0?f=0:f=2:F[0]==0&&F[3]==0?W==0?f=0:f=3:F[1]==0&&F[2]==0?W==0?f=1:f=2:F[1]==0&&F[3]==0?W==0?f=1:f=3:W==0?f=2:f=3}else if(U==4&&P==0){var W=Math.floor(Math.random()*4);f=W}else f=b;f==0?L.setCenter(c.getCenterX(),c.getCenterY()-c.getHeight()/2-d.DEFAULT_EDGE_LENGTH-L.getHeight()/2):f==1?L.setCenter(c.getCenterX()+c.getWidth()/2+d.DEFAULT_EDGE_LENGTH+L.getWidth()/2,c.getCenterY()):f==2?L.setCenter(c.getCenterX(),c.getCenterY()+c.getHeight()/2+d.DEFAULT_EDGE_LENGTH+L.getHeight()/2):L.setCenter(c.getCenterX()-c.getWidth()/2-d.DEFAULT_EDGE_LENGTH-L.getWidth()/2,c.getCenterY())},m.exports=E}),(function(m,v,n){var e={};e.layoutBase=n(0),e.CoSEConstants=n(1),e.CoSEEdge=n(2),e.CoSEGraph=n(3),e.CoSEGraphManager=n(4),e.CoSELayout=n(6),e.CoSENode=n(5),m.exports=e})])})}}),lt=j({"../../node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.34.0/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js"(w,X){O((function(m,v){typeof w=="object"&&typeof X=="object"?X.exports=v(nt()):typeof define=="function"&&define.amd?define(["cose-base"],v):typeof w=="object"?w.cytoscapeCoseBilkent=v(nt()):m.cytoscapeCoseBilkent=v(m.coseBase)}),"webpackUniversalModuleDefinition")(w,function(N){return(function(m){var v={};function n(e){if(v[e])return v[e].exports;var t=v[e]={i:e,l:!1,exports:{}};return m[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}return O(n,"__webpack_require__"),n.m=m,n.c=v,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?O(function(){return e.default},"getDefault"):O(function(){return e},"getModuleExports");return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)})([(function(m,v){m.exports=N}),(function(m,v,n){var e=n(0).layoutBase.LayoutConstants,t=n(0).layoutBase.FDLayoutConstants,r=n(0).CoSEConstants,l=n(0).CoSELayout,g=n(0).CoSENode,o=n(0).layoutBase.PointD,d=n(0).layoutBase.DimensionD,i={ready:O(function(){},"ready"),stop:O(function(){},"stop"),quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function a(D,u){var T={};for(var E in D)T[E]=D[E];for(var E in u)T[E]=u[E];return T}O(a,"extend");function h(D){this.options=a(i,D),p(this.options)}O(h,"_CoSELayout");var p=O(function(u){u.nodeRepulsion!=null&&(r.DEFAULT_REPULSION_STRENGTH=t.DEFAULT_REPULSION_STRENGTH=u.nodeRepulsion),u.idealEdgeLength!=null&&(r.DEFAULT_EDGE_LENGTH=t.DEFAULT_EDGE_LENGTH=u.idealEdgeLength),u.edgeElasticity!=null&&(r.DEFAULT_SPRING_STRENGTH=t.DEFAULT_SPRING_STRENGTH=u.edgeElasticity),u.nestingFactor!=null&&(r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=u.nestingFactor),u.gravity!=null&&(r.DEFAULT_GRAVITY_STRENGTH=t.DEFAULT_GRAVITY_STRENGTH=u.gravity),u.numIter!=null&&(r.MAX_ITERATIONS=t.MAX_ITERATIONS=u.numIter),u.gravityRange!=null&&(r.DEFAULT_GRAVITY_RANGE_FACTOR=t.DEFAULT_GRAVITY_RANGE_FACTOR=u.gravityRange),u.gravityCompound!=null&&(r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.DEFAULT_COMPOUND_GRAVITY_STRENGTH=u.gravityCompound),u.gravityRangeCompound!=null&&(r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=u.gravityRangeCompound),u.initialEnergyOnIncremental!=null&&(r.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.DEFAULT_COOLING_FACTOR_INCREMENTAL=u.initialEnergyOnIncremental),u.quality=="draft"?e.QUALITY=0:u.quality=="proof"?e.QUALITY=2:e.QUALITY=1,r.NODE_DIMENSIONS_INCLUDE_LABELS=t.NODE_DIMENSIONS_INCLUDE_LABELS=e.NODE_DIMENSIONS_INCLUDE_LABELS=u.nodeDimensionsIncludeLabels,r.DEFAULT_INCREMENTAL=t.DEFAULT_INCREMENTAL=e.DEFAULT_INCREMENTAL=!u.randomize,r.ANIMATE=t.ANIMATE=e.ANIMATE=u.animate,r.TILE=u.tile,r.TILING_PADDING_VERTICAL=typeof u.tilingPaddingVertical=="function"?u.tilingPaddingVertical.call():u.tilingPaddingVertical,r.TILING_PADDING_HORIZONTAL=typeof u.tilingPaddingHorizontal=="function"?u.tilingPaddingHorizontal.call():u.tilingPaddingHorizontal},"getUserOptions");h.prototype.run=function(){var D,u,T=this.options;this.idToLNode={};var E=this.layout=new l,I=this;I.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var s=E.newGraphManager();this.gm=s;var f=this.options.eles.nodes(),c=this.options.eles.edges();this.root=s.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(f),E);for(var L=0;L<c.length;L++){var A=c[L],C=this.idToLNode[A.data("source")],M=this.idToLNode[A.data("target")];if(C!==M&&C.getEdgesBetween(M).length==0){var R=s.add(E.newEdge(),C,M);R.id=A.id()}}var G=O(function(x,F){typeof x=="number"&&(x=F);var S=x.data("id"),P=I.idToLNode[S];return{x:P.getRect().getCenterX(),y:P.getRect().getCenterY()}},"getPositions"),_=O(function Y(){for(var x=O(function(){T.fit&&T.cy.fit(T.eles,T.padding),D||(D=!0,I.cy.one("layoutready",T.ready),I.cy.trigger({type:"layoutready",layout:I}))},"afterReposition"),F=I.options.refresh,S,P=0;P<F&&!S;P++)S=I.stopped||I.layout.tick();if(S){E.checkLayoutSuccess()&&!E.isSubLayout&&E.doPostLayout(),E.tilingPostLayout&&E.tilingPostLayout(),E.isLayoutFinished=!0,I.options.eles.nodes().positions(G),x(),I.cy.one("layoutstop",I.options.stop),I.cy.trigger({type:"layoutstop",layout:I}),u&&cancelAnimationFrame(u),D=!1;return}var U=I.layout.getPositionsData();T.eles.nodes().positions(function(b,H){if(typeof b=="number"&&(b=H),!b.isParent()){for(var W=b.id(),B=U[W],k=b;B==null&&(B=U[k.data("parent")]||U["DummyCompound_"+k.data("parent")],U[W]=B,k=k.parent()[0],k!=null););return B!=null?{x:B.x,y:B.y}:{x:b.position("x"),y:b.position("y")}}}),x(),u=requestAnimationFrame(Y)},"iterateAnimated");return E.addListener("layoutstarted",function(){I.options.animate==="during"&&(u=requestAnimationFrame(_))}),E.runLayout(),this.options.animate!=="during"&&(I.options.eles.nodes().not(":parent").layoutPositions(I,I.options,G),D=!1),this},h.prototype.getTopMostNodes=function(D){for(var u={},T=0;T<D.length;T++)u[D[T].id()]=!0;var E=D.filter(function(I,s){typeof I=="number"&&(I=s);for(var f=I.parent()[0];f!=null;){if(u[f.id()])return!1;f=f.parent()[0]}return!0});return E},h.prototype.processChildrenList=function(D,u,T){for(var E=u.length,I=0;I<E;I++){var s=u[I],f=s.children(),c,L=s.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(s.outerWidth()!=null&&s.outerHeight()!=null?c=D.add(new g(T.graphManager,new o(s.position("x")-L.w/2,s.position("y")-L.h/2),new d(parseFloat(L.w),parseFloat(L.h)))):c=D.add(new g(this.graphManager)),c.id=s.data("id"),c.paddingLeft=parseInt(s.css("padding")),c.paddingTop=parseInt(s.css("padding")),c.paddingRight=parseInt(s.css("padding")),c.paddingBottom=parseInt(s.css("padding")),this.options.nodeDimensionsIncludeLabels&&s.isParent()){var A=s.boundingBox({includeLabels:!0,includeNodes:!1}).w,C=s.boundingBox({includeLabels:!0,includeNodes:!1}).h,M=s.css("text-halign");c.labelWidth=A,c.labelHeight=C,c.labelPos=M}if(this.idToLNode[s.data("id")]=c,isNaN(c.rect.x)&&(c.rect.x=0),isNaN(c.rect.y)&&(c.rect.y=0),f!=null&&f.length>0){var R;R=T.getGraphManager().add(T.newGraph(),c),this.processChildrenList(R,f,T)}}},h.prototype.stop=function(){return this.stopped=!0,this};var y=O(function(u){u("layout","cose-bilkent",h)},"register");typeof cytoscape<"u"&&y(cytoscape),m.exports=y})])})}}),gt=ht(lt());ot.use(gt.default);function Q(w,X){w.forEach(N=>{const m={id:N.id,labelText:N.label,height:N.height,width:N.width,padding:N.padding??0};Object.keys(N).forEach(v=>{["id","label","height","width","padding","x","y"].includes(v)||(m[v]=N[v])}),X.add({group:"nodes",data:m,position:{x:N.x??0,y:N.y??0}})})}O(Q,"addNodes");V(Q,"addNodes");function $(w,X){w.forEach(N=>{const m={id:N.id,source:N.start,target:N.end};Object.keys(N).forEach(v=>{["id","start","end"].includes(v)||(m[v]=N[v])}),X.add({group:"edges",data:m})})}O($,"addEdges");V($,"addEdges");function K(w){return new Promise(X=>{const N=at("body").append("div").attr("id","cy").attr("style","display:none"),m=ot({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});N.remove(),Q(w.nodes,m),$(w.edges,m),m.nodes().forEach(function(n){n.layoutDimensions=()=>{const e=n.data();return{w:e.width,h:e.height}}});const v={name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1};m.layout(v).run(),m.ready(n=>{Z.info("Cytoscape ready",n),X(m)})})}O(K,"createCytoscapeInstance");V(K,"createCytoscapeInstance");function q(w){return w.nodes().map(X=>{const N=X.data(),m=X.position(),v={id:N.id,x:m.x,y:m.y};return Object.keys(N).forEach(n=>{n!=="id"&&(v[n]=N[n])}),v})}O(q,"extractPositionedNodes");V(q,"extractPositionedNodes");function J(w){return w.edges().map(X=>{const N=X.data(),m=X._private.rscratch,v={id:N.id,source:N.source,target:N.target,startX:m.startX,startY:m.startY,midX:m.midX,midY:m.midY,endX:m.endX,endY:m.endY};return Object.keys(N).forEach(n=>{["id","source","target"].includes(n)||(v[n]=N[n])}),v})}O(J,"extractPositionedEdges");V(J,"extractPositionedEdges");async function z(w,X){Z.debug("Starting cose-bilkent layout algorithm");try{tt(w);const N=await K(w),m=q(N),v=J(N);return Z.debug(`Layout completed: ${m.length} nodes, ${v.length} edges`),{nodes:m,edges:v}}catch(N){throw Z.error("Error in cose-bilkent layout algorithm:",N),N}}O(z,"executeCoseBilkentLayout");V(z,"executeCoseBilkentLayout");function tt(w){if(!w)throw new Error("Layout data is required");if(!w.config)throw new Error("Configuration is required in layout data");if(!w.rootNode)throw new Error("Root node is required");if(!w.nodes||!Array.isArray(w.nodes))throw new Error("No nodes found in layout data");if(!Array.isArray(w.edges))throw new Error("Edges array is required in layout data");return!0}O(tt,"validateLayoutData");V(tt,"validateLayoutData");var ut=V(async(w,X,{insertCluster:N,insertEdge:m,insertEdgeLabel:v,insertMarkers:n,insertNode:e,log:t,positionEdgeLabel:r},{algorithm:l})=>{const g={},o={},d=X.select("g");n(d,w.markers,w.type,w.diagramId);const i=d.insert("g").attr("class","subgraphs"),a=d.insert("g").attr("class","edgePaths"),h=d.insert("g").attr("class","edgeLabels"),p=d.insert("g").attr("class","nodes");t.debug("Inserting nodes into DOM for dimension calculation"),await Promise.all(w.nodes.map(async u=>{if(u.isGroup){const T={...u};o[u.id]=T,g[u.id]=T,await N(i,u)}else{const T={...u};g[u.id]=T;const E=await e(p,u,{config:w.config,dir:w.direction||"TB"}),I=E.node().getBBox();T.width=I.width,T.height=I.height,T.domId=E,t.debug(`Node ${u.id} dimensions: ${I.width}x${I.height}`)}})),t.debug("Running cose-bilkent layout algorithm");const y={...w,nodes:w.nodes.map(u=>{const T=g[u.id];return{...u,width:T.width,height:T.height}})},D=await z(y,w.config);t.debug("Positioning nodes based on layout results"),D.nodes.forEach(u=>{const T=g[u.id];T?.domId&&(T.domId.attr("transform",`translate(${u.x}, ${u.y})`),T.x=u.x,T.y=u.y,t.debug(`Positioned node ${T.id} at center (${u.x}, ${u.y})`))}),D.edges.forEach(u=>{const T=w.edges.find(E=>E.id===u.id);T&&(T.points=[{x:u.startX,y:u.startY},{x:u.midX,y:u.midY},{x:u.endX,y:u.endY}])}),t.debug("Inserting and positioning edges"),await Promise.all(w.edges.map(async u=>{await v(h,u);const T=g[u.start??""],E=g[u.end??""];if(T&&E){const I=D.edges.find(s=>s.id===u.id);if(I){t.debug("APA01 positionedEdge",I);const s={...u},f=m(a,s,o,w.type,T,E,w.diagramId);r(s,f)}else{const s={...u,points:[{x:T.x||0,y:T.y||0},{x:E.x||0,y:E.y||0}]},f=m(a,s,o,w.type,T,E,w.diagramId);r(s,f)}}})),t.debug("Cose-bilkent rendering completed")},"render"),dt=ut;export{dt as render};
1
+ import{c as ot}from"./BrAaVsFz.js";import{a as V,ad as Z}from"./CnWtv34Y.js";import{c3 as at,h as ht,g as O,_ as j}from"./BQY3g8uE.js";var it=j({"../../node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.js"(w,X){O((function(m,v){typeof w=="object"&&typeof X=="object"?X.exports=v():typeof define=="function"&&define.amd?define([],v):typeof w=="object"?w.layoutBase=v():m.layoutBase=v()}),"webpackUniversalModuleDefinition")(w,function(){return(function(N){var m={};function v(n){if(m[n])return m[n].exports;var e=m[n]={i:n,l:!1,exports:{}};return N[n].call(e.exports,e,e.exports,v),e.l=!0,e.exports}return O(v,"__webpack_require__"),v.m=N,v.c=m,v.i=function(n){return n},v.d=function(n,e,t){v.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:t})},v.n=function(n){var e=n&&n.__esModule?O(function(){return n.default},"getDefault"):O(function(){return n},"getModuleExports");return v.d(e,"a",e),e},v.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},v.p="",v(v.s=26)})([(function(N,m,v){function n(){}O(n,"LayoutConstants"),n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,N.exports=n}),(function(N,m,v){var n=v(2),e=v(8),t=v(9);function r(g,o,d){n.call(this,d),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=d,this.bendpoints=[],this.source=g,this.target=o}O(r,"LEdge"),r.prototype=Object.create(n.prototype);for(var l in n)r[l]=n[l];r.prototype.getSource=function(){return this.source},r.prototype.getTarget=function(){return this.target},r.prototype.isInterGraph=function(){return this.isInterGraph},r.prototype.getLength=function(){return this.length},r.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},r.prototype.getBendpoints=function(){return this.bendpoints},r.prototype.getLca=function(){return this.lca},r.prototype.getSourceInLca=function(){return this.sourceInLca},r.prototype.getTargetInLca=function(){return this.targetInLca},r.prototype.getOtherEnd=function(g){if(this.source===g)return this.target;if(this.target===g)return this.source;throw"Node is not incident with this edge"},r.prototype.getOtherEndInGraph=function(g,o){for(var d=this.getOtherEnd(g),i=o.getGraphManager().getRoot();;){if(d.getOwner()==o)return d;if(d.getOwner()==i)break;d=d.getOwner().getParent()}return null},r.prototype.updateLength=function(){var g=new Array(4);this.isOverlapingSourceAndTarget=e.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=t.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=t.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},r.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=t.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=t.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},N.exports=r}),(function(N,m,v){function n(e){this.vGraphObject=e}O(n,"LGraphObject"),N.exports=n}),(function(N,m,v){var n=v(2),e=v(10),t=v(13),r=v(0),l=v(16),g=v(4);function o(i,a,h,p){h==null&&p==null&&(p=a),n.call(this,p),i.graphManager!=null&&(i=i.graphManager),this.estimatedSize=e.MIN_VALUE,this.inclusionTreeDepth=e.MAX_VALUE,this.vGraphObject=p,this.edges=[],this.graphManager=i,h!=null&&a!=null?this.rect=new t(a.x,a.y,h.width,h.height):this.rect=new t}O(o,"LNode"),o.prototype=Object.create(n.prototype);for(var d in n)o[d]=n[d];o.prototype.getEdges=function(){return this.edges},o.prototype.getChild=function(){return this.child},o.prototype.getOwner=function(){return this.owner},o.prototype.getWidth=function(){return this.rect.width},o.prototype.setWidth=function(i){this.rect.width=i},o.prototype.getHeight=function(){return this.rect.height},o.prototype.setHeight=function(i){this.rect.height=i},o.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},o.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},o.prototype.getCenter=function(){return new g(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},o.prototype.getLocation=function(){return new g(this.rect.x,this.rect.y)},o.prototype.getRect=function(){return this.rect},o.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},o.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},o.prototype.setRect=function(i,a){this.rect.x=i.x,this.rect.y=i.y,this.rect.width=a.width,this.rect.height=a.height},o.prototype.setCenter=function(i,a){this.rect.x=i-this.rect.width/2,this.rect.y=a-this.rect.height/2},o.prototype.setLocation=function(i,a){this.rect.x=i,this.rect.y=a},o.prototype.moveBy=function(i,a){this.rect.x+=i,this.rect.y+=a},o.prototype.getEdgeListToNode=function(i){var a=[],h=this;return h.edges.forEach(function(p){if(p.target==i){if(p.source!=h)throw"Incorrect edge source!";a.push(p)}}),a},o.prototype.getEdgesBetween=function(i){var a=[],h=this;return h.edges.forEach(function(p){if(!(p.source==h||p.target==h))throw"Incorrect edge source and/or target";(p.target==i||p.source==i)&&a.push(p)}),a},o.prototype.getNeighborsList=function(){var i=new Set,a=this;return a.edges.forEach(function(h){if(h.source==a)i.add(h.target);else{if(h.target!=a)throw"Incorrect incidency!";i.add(h.source)}}),i},o.prototype.withChildren=function(){var i=new Set,a,h;if(i.add(this),this.child!=null)for(var p=this.child.getNodes(),y=0;y<p.length;y++)a=p[y],h=a.withChildren(),h.forEach(function(D){i.add(D)});return i},o.prototype.getNoOfChildren=function(){var i=0,a;if(this.child==null)i=1;else for(var h=this.child.getNodes(),p=0;p<h.length;p++)a=h[p],i+=a.getNoOfChildren();return i==0&&(i=1),i},o.prototype.getEstimatedSize=function(){if(this.estimatedSize==e.MIN_VALUE)throw"assert failed";return this.estimatedSize},o.prototype.calcEstimatedSize=function(){return this.child==null?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},o.prototype.scatter=function(){var i,a,h=-r.INITIAL_WORLD_BOUNDARY,p=r.INITIAL_WORLD_BOUNDARY;i=r.WORLD_CENTER_X+l.nextDouble()*(p-h)+h;var y=-r.INITIAL_WORLD_BOUNDARY,D=r.INITIAL_WORLD_BOUNDARY;a=r.WORLD_CENTER_Y+l.nextDouble()*(D-y)+y,this.rect.x=i,this.rect.y=a},o.prototype.updateBounds=function(){if(this.getChild()==null)throw"assert failed";if(this.getChild().getNodes().length!=0){var i=this.getChild();if(i.updateBounds(!0),this.rect.x=i.getLeft(),this.rect.y=i.getTop(),this.setWidth(i.getRight()-i.getLeft()),this.setHeight(i.getBottom()-i.getTop()),r.NODE_DIMENSIONS_INCLUDE_LABELS){var a=i.getRight()-i.getLeft(),h=i.getBottom()-i.getTop();this.labelWidth>a&&(this.rect.x-=(this.labelWidth-a)/2,this.setWidth(this.labelWidth)),this.labelHeight>h&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-h)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-h),this.setHeight(this.labelHeight))}}},o.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==e.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},o.prototype.transform=function(i){var a=this.rect.x;a>r.WORLD_BOUNDARY?a=r.WORLD_BOUNDARY:a<-r.WORLD_BOUNDARY&&(a=-r.WORLD_BOUNDARY);var h=this.rect.y;h>r.WORLD_BOUNDARY?h=r.WORLD_BOUNDARY:h<-r.WORLD_BOUNDARY&&(h=-r.WORLD_BOUNDARY);var p=new g(a,h),y=i.inverseTransformPoint(p);this.setLocation(y.x,y.y)},o.prototype.getLeft=function(){return this.rect.x},o.prototype.getRight=function(){return this.rect.x+this.rect.width},o.prototype.getTop=function(){return this.rect.y},o.prototype.getBottom=function(){return this.rect.y+this.rect.height},o.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},N.exports=o}),(function(N,m,v){function n(e,t){e==null&&t==null?(this.x=0,this.y=0):(this.x=e,this.y=t)}O(n,"PointD"),n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(e){this.x=e},n.prototype.setY=function(e){this.y=e},n.prototype.getDifference=function(e){return new DimensionD(this.x-e.x,this.y-e.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(e){return this.x+=e.width,this.y+=e.height,this},N.exports=n}),(function(N,m,v){var n=v(2),e=v(10),t=v(0),r=v(6),l=v(3),g=v(1),o=v(13),d=v(12),i=v(11);function a(p,y,D){n.call(this,D),this.estimatedSize=e.MIN_VALUE,this.margin=t.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=p,y!=null&&y instanceof r?this.graphManager=y:y!=null&&y instanceof Layout&&(this.graphManager=y.graphManager)}O(a,"LGraph"),a.prototype=Object.create(n.prototype);for(var h in n)a[h]=n[h];a.prototype.getNodes=function(){return this.nodes},a.prototype.getEdges=function(){return this.edges},a.prototype.getGraphManager=function(){return this.graphManager},a.prototype.getParent=function(){return this.parent},a.prototype.getLeft=function(){return this.left},a.prototype.getRight=function(){return this.right},a.prototype.getTop=function(){return this.top},a.prototype.getBottom=function(){return this.bottom},a.prototype.isConnected=function(){return this.isConnected},a.prototype.add=function(p,y,D){if(y==null&&D==null){var u=p;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var T=p;if(!(this.getNodes().indexOf(y)>-1&&this.getNodes().indexOf(D)>-1))throw"Source or target not in graph!";if(!(y.owner==D.owner&&y.owner==this))throw"Both owners must be this graph!";return y.owner!=D.owner?null:(T.source=y,T.target=D,T.isInterGraph=!1,this.getEdges().push(T),y.edges.push(T),D!=y&&D.edges.push(T),T)}},a.prototype.remove=function(p){var y=p;if(p instanceof l){if(y==null)throw"Node is null!";if(!(y.owner!=null&&y.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var D=y.edges.slice(),u,T=D.length,E=0;E<T;E++)u=D[E],u.isInterGraph?this.graphManager.remove(u):u.source.owner.remove(u);var I=this.nodes.indexOf(y);if(I==-1)throw"Node not in owner node list!";this.nodes.splice(I,1)}else if(p instanceof g){var u=p;if(u==null)throw"Edge is null!";if(!(u.source!=null&&u.target!=null))throw"Source and/or target is null!";if(!(u.source.owner!=null&&u.target.owner!=null&&u.source.owner==this&&u.target.owner==this))throw"Source and/or target owner is invalid!";var s=u.source.edges.indexOf(u),f=u.target.edges.indexOf(u);if(!(s>-1&&f>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(s,1),u.target!=u.source&&u.target.edges.splice(f,1);var I=u.source.owner.getEdges().indexOf(u);if(I==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(I,1)}},a.prototype.updateLeftTop=function(){for(var p=e.MAX_VALUE,y=e.MAX_VALUE,D,u,T,E=this.getNodes(),I=E.length,s=0;s<I;s++){var f=E[s];D=f.getTop(),u=f.getLeft(),p>D&&(p=D),y>u&&(y=u)}return p==e.MAX_VALUE?null:(E[0].getParent().paddingLeft!=null?T=E[0].getParent().paddingLeft:T=this.margin,this.left=y-T,this.top=p-T,new d(this.left,this.top))},a.prototype.updateBounds=function(p){for(var y=e.MAX_VALUE,D=-e.MAX_VALUE,u=e.MAX_VALUE,T=-e.MAX_VALUE,E,I,s,f,c,L=this.nodes,A=L.length,C=0;C<A;C++){var M=L[C];p&&M.child!=null&&M.updateBounds(),E=M.getLeft(),I=M.getRight(),s=M.getTop(),f=M.getBottom(),y>E&&(y=E),D<I&&(D=I),u>s&&(u=s),T<f&&(T=f)}var R=new o(y,u,D-y,T-u);y==e.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),L[0].getParent().paddingLeft!=null?c=L[0].getParent().paddingLeft:c=this.margin,this.left=R.x-c,this.right=R.x+R.width+c,this.top=R.y-c,this.bottom=R.y+R.height+c},a.calculateBounds=function(p){for(var y=e.MAX_VALUE,D=-e.MAX_VALUE,u=e.MAX_VALUE,T=-e.MAX_VALUE,E,I,s,f,c=p.length,L=0;L<c;L++){var A=p[L];E=A.getLeft(),I=A.getRight(),s=A.getTop(),f=A.getBottom(),y>E&&(y=E),D<I&&(D=I),u>s&&(u=s),T<f&&(T=f)}var C=new o(y,u,D-y,T-u);return C},a.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},a.prototype.getEstimatedSize=function(){if(this.estimatedSize==e.MIN_VALUE)throw"assert failed";return this.estimatedSize},a.prototype.calcEstimatedSize=function(){for(var p=0,y=this.nodes,D=y.length,u=0;u<D;u++){var T=y[u];p+=T.calcEstimatedSize()}return p==0?this.estimatedSize=t.EMPTY_COMPOUND_NODE_SIZE:this.estimatedSize=p/Math.sqrt(this.nodes.length),this.estimatedSize},a.prototype.updateConnected=function(){var p=this;if(this.nodes.length==0){this.isConnected=!0;return}var y=new i,D=new Set,u=this.nodes[0],T,E,I=u.withChildren();for(I.forEach(function(C){y.push(C),D.add(C)});y.length!==0;){u=y.shift(),T=u.getEdges();for(var s=T.length,f=0;f<s;f++){var c=T[f];if(E=c.getOtherEndInGraph(u,this),E!=null&&!D.has(E)){var L=E.withChildren();L.forEach(function(C){y.push(C),D.add(C)})}}}if(this.isConnected=!1,D.size>=this.nodes.length){var A=0;D.forEach(function(C){C.owner==p&&A++}),A==this.nodes.length&&(this.isConnected=!0)}},N.exports=a}),(function(N,m,v){var n,e=v(1);function t(r){n=v(5),this.layout=r,this.graphs=[],this.edges=[]}O(t,"LGraphManager"),t.prototype.addRoot=function(){var r=this.layout.newGraph(),l=this.layout.newNode(null),g=this.add(r,l);return this.setRootGraph(g),this.rootGraph},t.prototype.add=function(r,l,g,o,d){if(g==null&&o==null&&d==null){if(r==null)throw"Graph is null!";if(l==null)throw"Parent node is null!";if(this.graphs.indexOf(r)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(r),r.parent!=null)throw"Already has a parent!";if(l.child!=null)throw"Already has a child!";return r.parent=l,l.child=r,r}else{d=g,o=l,g=r;var i=o.getOwner(),a=d.getOwner();if(!(i!=null&&i.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(a!=null&&a.getGraphManager()==this))throw"Target not in this graph mgr!";if(i==a)return g.isInterGraph=!1,i.add(g,o,d);if(g.isInterGraph=!0,g.source=o,g.target=d,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},t.prototype.remove=function(r){if(r instanceof n){var l=r;if(l.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(l==this.rootGraph||l.parent!=null&&l.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(l.getEdges());for(var o,d=g.length,i=0;i<d;i++)o=g[i],l.remove(o);var a=[];a=a.concat(l.getNodes());var h;d=a.length;for(var i=0;i<d;i++)h=a[i],l.remove(h);l==this.rootGraph&&this.setRootGraph(null);var p=this.graphs.indexOf(l);this.graphs.splice(p,1),l.parent=null}else if(r instanceof e){if(o=r,o==null)throw"Edge is null!";if(!o.isInterGraph)throw"Not an inter-graph edge!";if(!(o.source!=null&&o.target!=null))throw"Source and/or target is null!";if(!(o.source.edges.indexOf(o)!=-1&&o.target.edges.indexOf(o)!=-1))throw"Source and/or target doesn't know this edge!";var p=o.source.edges.indexOf(o);if(o.source.edges.splice(p,1),p=o.target.edges.indexOf(o),o.target.edges.splice(p,1),!(o.source.owner!=null&&o.source.owner.getGraphManager()!=null))throw"Edge owner graph or owner graph manager is null!";if(o.source.owner.getGraphManager().edges.indexOf(o)==-1)throw"Not in owner graph manager's edge list!";var p=o.source.owner.getGraphManager().edges.indexOf(o);o.source.owner.getGraphManager().edges.splice(p,1)}},t.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},t.prototype.getGraphs=function(){return this.graphs},t.prototype.getAllNodes=function(){if(this.allNodes==null){for(var r=[],l=this.getGraphs(),g=l.length,o=0;o<g;o++)r=r.concat(l[o].getNodes());this.allNodes=r}return this.allNodes},t.prototype.resetAllNodes=function(){this.allNodes=null},t.prototype.resetAllEdges=function(){this.allEdges=null},t.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},t.prototype.getAllEdges=function(){if(this.allEdges==null){var r=[],l=this.getGraphs();l.length;for(var g=0;g<l.length;g++)r=r.concat(l[g].getEdges());r=r.concat(this.edges),this.allEdges=r}return this.allEdges},t.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},t.prototype.setAllNodesToApplyGravitation=function(r){if(this.allNodesToApplyGravitation!=null)throw"assert failed";this.allNodesToApplyGravitation=r},t.prototype.getRoot=function(){return this.rootGraph},t.prototype.setRootGraph=function(r){if(r.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=r,r.parent==null&&(r.parent=this.layout.newNode("Root node"))},t.prototype.getLayout=function(){return this.layout},t.prototype.isOneAncestorOfOther=function(r,l){if(!(r!=null&&l!=null))throw"assert failed";if(r==l)return!0;var g=r.getOwner(),o;do{if(o=g.getParent(),o==null)break;if(o==l)return!0;if(g=o.getOwner(),g==null)break}while(!0);g=l.getOwner();do{if(o=g.getParent(),o==null)break;if(o==r)return!0;if(g=o.getOwner(),g==null)break}while(!0);return!1},t.prototype.calcLowestCommonAncestors=function(){for(var r,l,g,o,d,i=this.getAllEdges(),a=i.length,h=0;h<a;h++){if(r=i[h],l=r.source,g=r.target,r.lca=null,r.sourceInLca=l,r.targetInLca=g,l==g){r.lca=l.getOwner();continue}for(o=l.getOwner();r.lca==null;){for(r.targetInLca=g,d=g.getOwner();r.lca==null;){if(d==o){r.lca=d;break}if(d==this.rootGraph)break;if(r.lca!=null)throw"assert failed";r.targetInLca=d.getParent(),d=r.targetInLca.getOwner()}if(o==this.rootGraph)break;r.lca==null&&(r.sourceInLca=o.getParent(),o=r.sourceInLca.getOwner())}if(r.lca==null)throw"assert failed"}},t.prototype.calcLowestCommonAncestor=function(r,l){if(r==l)return r.getOwner();var g=r.getOwner();do{if(g==null)break;var o=l.getOwner();do{if(o==null)break;if(o==g)return o;o=o.getParent().getOwner()}while(!0);g=g.getParent().getOwner()}while(!0);return g},t.prototype.calcInclusionTreeDepths=function(r,l){r==null&&l==null&&(r=this.rootGraph,l=1);for(var g,o=r.getNodes(),d=o.length,i=0;i<d;i++)g=o[i],g.inclusionTreeDepth=l,g.child!=null&&this.calcInclusionTreeDepths(g.child,l+1)},t.prototype.includesInvalidEdge=function(){for(var r,l=this.edges.length,g=0;g<l;g++)if(r=this.edges[g],this.isOneAncestorOfOther(r.source,r.target))return!0;return!1},N.exports=t}),(function(N,m,v){var n=v(0);function e(){}O(e,"FDLayoutConstants");for(var t in n)e[t]=n[t];e.MAX_ITERATIONS=2500,e.DEFAULT_EDGE_LENGTH=50,e.DEFAULT_SPRING_STRENGTH=.45,e.DEFAULT_REPULSION_STRENGTH=4500,e.DEFAULT_GRAVITY_STRENGTH=.4,e.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,e.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,e.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,e.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,e.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,e.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,e.COOLING_ADAPTATION_FACTOR=.33,e.ADAPTATION_LOWER_NODE_LIMIT=1e3,e.ADAPTATION_UPPER_NODE_LIMIT=5e3,e.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,e.MAX_NODE_DISPLACEMENT=e.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,e.MIN_REPULSION_DIST=e.DEFAULT_EDGE_LENGTH/10,e.CONVERGENCE_CHECK_PERIOD=100,e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,e.MIN_EDGE_LENGTH=1,e.GRID_CALCULATION_CHECK_PERIOD=10,N.exports=e}),(function(N,m,v){var n=v(12);function e(){}O(e,"IGeometry"),e.calcSeparationAmount=function(t,r,l,g){if(!t.intersects(r))throw"assert failed";var o=new Array(2);this.decideDirectionsForOverlappingNodes(t,r,o),l[0]=Math.min(t.getRight(),r.getRight())-Math.max(t.x,r.x),l[1]=Math.min(t.getBottom(),r.getBottom())-Math.max(t.y,r.y),t.getX()<=r.getX()&&t.getRight()>=r.getRight()?l[0]+=Math.min(r.getX()-t.getX(),t.getRight()-r.getRight()):r.getX()<=t.getX()&&r.getRight()>=t.getRight()&&(l[0]+=Math.min(t.getX()-r.getX(),r.getRight()-t.getRight())),t.getY()<=r.getY()&&t.getBottom()>=r.getBottom()?l[1]+=Math.min(r.getY()-t.getY(),t.getBottom()-r.getBottom()):r.getY()<=t.getY()&&r.getBottom()>=t.getBottom()&&(l[1]+=Math.min(t.getY()-r.getY(),r.getBottom()-t.getBottom()));var d=Math.abs((r.getCenterY()-t.getCenterY())/(r.getCenterX()-t.getCenterX()));r.getCenterY()===t.getCenterY()&&r.getCenterX()===t.getCenterX()&&(d=1);var i=d*l[0],a=l[1]/d;l[0]<a?a=l[0]:i=l[1],l[0]=-1*o[0]*(a/2+g),l[1]=-1*o[1]*(i/2+g)},e.decideDirectionsForOverlappingNodes=function(t,r,l){t.getCenterX()<r.getCenterX()?l[0]=-1:l[0]=1,t.getCenterY()<r.getCenterY()?l[1]=-1:l[1]=1},e.getIntersection2=function(t,r,l){var g=t.getCenterX(),o=t.getCenterY(),d=r.getCenterX(),i=r.getCenterY();if(t.intersects(r))return l[0]=g,l[1]=o,l[2]=d,l[3]=i,!0;var a=t.getX(),h=t.getY(),p=t.getRight(),y=t.getX(),D=t.getBottom(),u=t.getRight(),T=t.getWidthHalf(),E=t.getHeightHalf(),I=r.getX(),s=r.getY(),f=r.getRight(),c=r.getX(),L=r.getBottom(),A=r.getRight(),C=r.getWidthHalf(),M=r.getHeightHalf(),R=!1,G=!1;if(g===d){if(o>i)return l[0]=g,l[1]=h,l[2]=d,l[3]=L,!1;if(o<i)return l[0]=g,l[1]=D,l[2]=d,l[3]=s,!1}else if(o===i){if(g>d)return l[0]=a,l[1]=o,l[2]=f,l[3]=i,!1;if(g<d)return l[0]=p,l[1]=o,l[2]=I,l[3]=i,!1}else{var _=t.height/t.width,Y=r.height/r.width,x=(i-o)/(d-g),F=void 0,S=void 0,P=void 0,U=void 0,b=void 0,H=void 0;if(-_===x?g>d?(l[0]=y,l[1]=D,R=!0):(l[0]=p,l[1]=h,R=!0):_===x&&(g>d?(l[0]=a,l[1]=h,R=!0):(l[0]=u,l[1]=D,R=!0)),-Y===x?d>g?(l[2]=c,l[3]=L,G=!0):(l[2]=f,l[3]=s,G=!0):Y===x&&(d>g?(l[2]=I,l[3]=s,G=!0):(l[2]=A,l[3]=L,G=!0)),R&&G)return!1;if(g>d?o>i?(F=this.getCardinalDirection(_,x,4),S=this.getCardinalDirection(Y,x,2)):(F=this.getCardinalDirection(-_,x,3),S=this.getCardinalDirection(-Y,x,1)):o>i?(F=this.getCardinalDirection(-_,x,1),S=this.getCardinalDirection(-Y,x,3)):(F=this.getCardinalDirection(_,x,2),S=this.getCardinalDirection(Y,x,4)),!R)switch(F){case 1:U=h,P=g+-E/x,l[0]=P,l[1]=U;break;case 2:P=u,U=o+T*x,l[0]=P,l[1]=U;break;case 3:U=D,P=g+E/x,l[0]=P,l[1]=U;break;case 4:P=y,U=o+-T*x,l[0]=P,l[1]=U;break}if(!G)switch(S){case 1:H=s,b=d+-M/x,l[2]=b,l[3]=H;break;case 2:b=A,H=i+C*x,l[2]=b,l[3]=H;break;case 3:H=L,b=d+M/x,l[2]=b,l[3]=H;break;case 4:b=c,H=i+-C*x,l[2]=b,l[3]=H;break}}return!1},e.getCardinalDirection=function(t,r,l){return t>r?l:1+l%4},e.getIntersection=function(t,r,l,g){if(g==null)return this.getIntersection2(t,r,l);var o=t.x,d=t.y,i=r.x,a=r.y,h=l.x,p=l.y,y=g.x,D=g.y,u=void 0,T=void 0,E=void 0,I=void 0,s=void 0,f=void 0,c=void 0,L=void 0,A=void 0;return E=a-d,s=o-i,c=i*d-o*a,I=D-p,f=h-y,L=y*p-h*D,A=E*f-I*s,A===0?null:(u=(s*L-f*c)/A,T=(I*c-E*L)/A,new n(u,T))},e.angleOfVector=function(t,r,l,g){var o=void 0;return t!==l?(o=Math.atan((g-r)/(l-t)),l<t?o+=Math.PI:g<r&&(o+=this.TWO_PI)):g<r?o=this.ONE_AND_HALF_PI:o=this.HALF_PI,o},e.doIntersect=function(t,r,l,g){var o=t.x,d=t.y,i=r.x,a=r.y,h=l.x,p=l.y,y=g.x,D=g.y,u=(i-o)*(D-p)-(y-h)*(a-d);if(u===0)return!1;var T=((D-p)*(y-o)+(h-y)*(D-d))/u,E=((d-a)*(y-o)+(i-o)*(D-d))/u;return 0<T&&T<1&&0<E&&E<1},e.HALF_PI=.5*Math.PI,e.ONE_AND_HALF_PI=1.5*Math.PI,e.TWO_PI=2*Math.PI,e.THREE_PI=3*Math.PI,N.exports=e}),(function(N,m,v){function n(){}O(n,"IMath"),n.sign=function(e){return e>0?1:e<0?-1:0},n.floor=function(e){return e<0?Math.ceil(e):Math.floor(e)},n.ceil=function(e){return e<0?Math.floor(e):Math.ceil(e)},N.exports=n}),(function(N,m,v){function n(){}O(n,"Integer"),n.MAX_VALUE=2147483647,n.MIN_VALUE=-2147483648,N.exports=n}),(function(N,m,v){var n=(function(){function o(d,i){for(var a=0;a<i.length;a++){var h=i[a];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(d,h.key,h)}}return O(o,"defineProperties"),function(d,i,a){return i&&o(d.prototype,i),a&&o(d,a),d}})();function e(o,d){if(!(o instanceof d))throw new TypeError("Cannot call a class as a function")}O(e,"_classCallCheck");var t=O(function(d){return{value:d,next:null,prev:null}},"nodeFrom"),r=O(function(d,i,a,h){return d!==null?d.next=i:h.head=i,a!==null?a.prev=i:h.tail=i,i.prev=d,i.next=a,h.length++,i},"add"),l=O(function(d,i){var a=d.prev,h=d.next;return a!==null?a.next=h:i.head=h,h!==null?h.prev=a:i.tail=a,d.prev=d.next=null,i.length--,d},"_remove"),g=(function(){function o(d){var i=this;e(this,o),this.length=0,this.head=null,this.tail=null,d?.forEach(function(a){return i.push(a)})}return O(o,"LinkedList"),n(o,[{key:"size",value:O(function(){return this.length},"size")},{key:"insertBefore",value:O(function(i,a){return r(a.prev,t(i),a,this)},"insertBefore")},{key:"insertAfter",value:O(function(i,a){return r(a,t(i),a.next,this)},"insertAfter")},{key:"insertNodeBefore",value:O(function(i,a){return r(a.prev,i,a,this)},"insertNodeBefore")},{key:"insertNodeAfter",value:O(function(i,a){return r(a,i,a.next,this)},"insertNodeAfter")},{key:"push",value:O(function(i){return r(this.tail,t(i),null,this)},"push")},{key:"unshift",value:O(function(i){return r(null,t(i),this.head,this)},"unshift")},{key:"remove",value:O(function(i){return l(i,this)},"remove")},{key:"pop",value:O(function(){return l(this.tail,this).value},"pop")},{key:"popNode",value:O(function(){return l(this.tail,this)},"popNode")},{key:"shift",value:O(function(){return l(this.head,this).value},"shift")},{key:"shiftNode",value:O(function(){return l(this.head,this)},"shiftNode")},{key:"get_object_at",value:O(function(i){if(i<=this.length()){for(var a=1,h=this.head;a<i;)h=h.next,a++;return h.value}},"get_object_at")},{key:"set_object_at",value:O(function(i,a){if(i<=this.length()){for(var h=1,p=this.head;h<i;)p=p.next,h++;p.value=a}},"set_object_at")}]),o})();N.exports=g}),(function(N,m,v){function n(e,t,r){this.x=null,this.y=null,e==null&&t==null&&r==null?(this.x=0,this.y=0):typeof e=="number"&&typeof t=="number"&&r==null?(this.x=e,this.y=t):e.constructor.name=="Point"&&t==null&&r==null&&(r=e,this.x=r.x,this.y=r.y)}O(n,"Point"),n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.getLocation=function(){return new n(this.x,this.y)},n.prototype.setLocation=function(e,t,r){e.constructor.name=="Point"&&t==null&&r==null?(r=e,this.setLocation(r.x,r.y)):typeof e=="number"&&typeof t=="number"&&r==null&&(parseInt(e)==e&&parseInt(t)==t?this.move(e,t):(this.x=Math.floor(e+.5),this.y=Math.floor(t+.5)))},n.prototype.move=function(e,t){this.x=e,this.y=t},n.prototype.translate=function(e,t){this.x+=e,this.y+=t},n.prototype.equals=function(e){if(e.constructor.name=="Point"){var t=e;return this.x==t.x&&this.y==t.y}return this==e},n.prototype.toString=function(){return new n().constructor.name+"[x="+this.x+",y="+this.y+"]"},N.exports=n}),(function(N,m,v){function n(e,t,r,l){this.x=0,this.y=0,this.width=0,this.height=0,e!=null&&t!=null&&r!=null&&l!=null&&(this.x=e,this.y=t,this.width=r,this.height=l)}O(n,"RectangleD"),n.prototype.getX=function(){return this.x},n.prototype.setX=function(e){this.x=e},n.prototype.getY=function(){return this.y},n.prototype.setY=function(e){this.y=e},n.prototype.getWidth=function(){return this.width},n.prototype.setWidth=function(e){this.width=e},n.prototype.getHeight=function(){return this.height},n.prototype.setHeight=function(e){this.height=e},n.prototype.getRight=function(){return this.x+this.width},n.prototype.getBottom=function(){return this.y+this.height},n.prototype.intersects=function(e){return!(this.getRight()<e.x||this.getBottom()<e.y||e.getRight()<this.x||e.getBottom()<this.y)},n.prototype.getCenterX=function(){return this.x+this.width/2},n.prototype.getMinX=function(){return this.getX()},n.prototype.getMaxX=function(){return this.getX()+this.width},n.prototype.getCenterY=function(){return this.y+this.height/2},n.prototype.getMinY=function(){return this.getY()},n.prototype.getMaxY=function(){return this.getY()+this.height},n.prototype.getWidthHalf=function(){return this.width/2},n.prototype.getHeightHalf=function(){return this.height/2},N.exports=n}),(function(N,m,v){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function e(){}O(e,"UniqueIDGeneretor"),e.lastID=0,e.createID=function(t){return e.isPrimitive(t)?t:(t.uniqueID!=null||(t.uniqueID=e.getString(),e.lastID++),t.uniqueID)},e.getString=function(t){return t==null&&(t=e.lastID),"Object#"+t},e.isPrimitive=function(t){var r=typeof t>"u"?"undefined":n(t);return t==null||r!="object"&&r!="function"},N.exports=e}),(function(N,m,v){function n(h){if(Array.isArray(h)){for(var p=0,y=Array(h.length);p<h.length;p++)y[p]=h[p];return y}else return Array.from(h)}O(n,"_toConsumableArray");var e=v(0),t=v(6),r=v(3),l=v(1),g=v(5),o=v(4),d=v(17),i=v(27);function a(h){i.call(this),this.layoutQuality=e.QUALITY,this.createBendsAsNeeded=e.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=e.DEFAULT_INCREMENTAL,this.animationOnLayout=e.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=e.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=e.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=e.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new t(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,h!=null&&(this.isRemoteUse=h)}O(a,"Layout"),a.RANDOM_SEED=1,a.prototype=Object.create(i.prototype),a.prototype.getGraphManager=function(){return this.graphManager},a.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},a.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},a.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},a.prototype.newGraphManager=function(){var h=new t(this);return this.graphManager=h,h},a.prototype.newGraph=function(h){return new g(null,this.graphManager,h)},a.prototype.newNode=function(h){return new r(this.graphManager,h)},a.prototype.newEdge=function(h){return new l(null,null,h)},a.prototype.checkLayoutSuccess=function(){return this.graphManager.getRoot()==null||this.graphManager.getRoot().getNodes().length==0||this.graphManager.includesInvalidEdge()},a.prototype.runLayout=function(){this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters();var h;return this.checkLayoutSuccess()?h=!1:h=this.layout(),e.ANIMATE==="during"?!1:(h&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,h)},a.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},a.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var h=this.graphManager.getAllEdges(),p=0;p<h.length;p++)h[p];for(var y=this.graphManager.getRoot().getNodes(),p=0;p<y.length;p++)y[p];this.update(this.graphManager.getRoot())}},a.prototype.update=function(h){if(h==null)this.update2();else if(h instanceof r){var p=h;if(p.getChild()!=null)for(var y=p.getChild().getNodes(),D=0;D<y.length;D++)update(y[D]);if(p.vGraphObject!=null){var u=p.vGraphObject;u.update(p)}}else if(h instanceof l){var T=h;if(T.vGraphObject!=null){var E=T.vGraphObject;E.update(T)}}else if(h instanceof g){var I=h;if(I.vGraphObject!=null){var s=I.vGraphObject;s.update(I)}}},a.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=e.QUALITY,this.animationDuringLayout=e.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=e.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=e.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=e.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=e.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=e.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},a.prototype.transform=function(h){if(h==null)this.transform(new o(0,0));else{var p=new d,y=this.graphManager.getRoot().updateLeftTop();if(y!=null){p.setWorldOrgX(h.x),p.setWorldOrgY(h.y),p.setDeviceOrgX(y.x),p.setDeviceOrgY(y.y);for(var D=this.getAllNodes(),u,T=0;T<D.length;T++)u=D[T],u.transform(p)}}},a.prototype.positionNodesRandomly=function(h){if(h==null)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var p,y,D=h.getNodes(),u=0;u<D.length;u++)p=D[u],y=p.getChild(),y==null||y.getNodes().length==0?p.scatter():(this.positionNodesRandomly(y),p.updateBounds())},a.prototype.getFlatForest=function(){for(var h=[],p=!0,y=this.graphManager.getRoot().getNodes(),D=!0,u=0;u<y.length;u++)y[u].getChild()!=null&&(D=!1);if(!D)return h;var T=new Set,E=[],I=new Map,s=[];for(s=s.concat(y);s.length>0&&p;){for(E.push(s[0]);E.length>0&&p;){var f=E[0];E.splice(0,1),T.add(f);for(var c=f.getEdges(),u=0;u<c.length;u++){var L=c[u].getOtherEnd(f);if(I.get(f)!=L)if(!T.has(L))E.push(L),I.set(L,f);else{p=!1;break}}}if(!p)h=[];else{var A=[].concat(n(T));h.push(A);for(var u=0;u<A.length;u++){var C=A[u],M=s.indexOf(C);M>-1&&s.splice(M,1)}T=new Set,I=new Map}}return h},a.prototype.createDummyNodesForBendpoints=function(h){for(var p=[],y=h.source,D=this.graphManager.calcLowestCommonAncestor(h.source,h.target),u=0;u<h.bendpoints.length;u++){var T=this.newNode(null);T.setRect(new Point(0,0),new Dimension(1,1)),D.add(T);var E=this.newEdge(null);this.graphManager.add(E,y,T),p.add(T),y=T}var E=this.newEdge(null);return this.graphManager.add(E,y,h.target),this.edgeToDummyNodes.set(h,p),h.isInterGraph()?this.graphManager.remove(h):D.remove(h),p},a.prototype.createBendpointsFromDummyNodes=function(){var h=[];h=h.concat(this.graphManager.getAllEdges()),h=[].concat(n(this.edgeToDummyNodes.keys())).concat(h);for(var p=0;p<h.length;p++){var y=h[p];if(y.bendpoints.length>0){for(var D=this.edgeToDummyNodes.get(y),u=0;u<D.length;u++){var T=D[u],E=new o(T.getCenterX(),T.getCenterY()),I=y.bendpoints.get(u);I.x=E.x,I.y=E.y,T.getOwner().remove(T)}this.graphManager.add(y,y.source,y.target)}}},a.transform=function(h,p,y,D){if(y!=null&&D!=null){var u=p;if(h<=50){var T=p/y;u-=(p-T)/50*(50-h)}else{var E=p*D;u+=(E-p)/50*(h-50)}return u}else{var I,s;return h<=50?(I=9*p/500,s=p/10):(I=9*p/50,s=-8*p),I*h+s}},a.findCenterOfTree=function(h){var p=[];p=p.concat(h);var y=[],D=new Map,u=!1,T=null;(p.length==1||p.length==2)&&(u=!0,T=p[0]);for(var E=0;E<p.length;E++){var I=p[E],s=I.getNeighborsList().size;D.set(I,I.getNeighborsList().size),s==1&&y.push(I)}var f=[];for(f=f.concat(y);!u;){var c=[];c=c.concat(f),f=[];for(var E=0;E<p.length;E++){var I=p[E],L=p.indexOf(I);L>=0&&p.splice(L,1);var A=I.getNeighborsList();A.forEach(function(R){if(y.indexOf(R)<0){var G=D.get(R),_=G-1;_==1&&f.push(R),D.set(R,_)}})}y=y.concat(f),(p.length==1||p.length==2)&&(u=!0,T=p[0])}return T},a.prototype.setGraphManager=function(h){this.graphManager=h},N.exports=a}),(function(N,m,v){function n(){}O(n,"RandomSeed"),n.seed=1,n.x=0,n.nextDouble=function(){return n.x=Math.sin(n.seed++)*1e4,n.x-Math.floor(n.x)},N.exports=n}),(function(N,m,v){var n=v(4);function e(t,r){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}O(e,"Transform"),e.prototype.getWorldOrgX=function(){return this.lworldOrgX},e.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},e.prototype.getWorldOrgY=function(){return this.lworldOrgY},e.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},e.prototype.getWorldExtX=function(){return this.lworldExtX},e.prototype.setWorldExtX=function(t){this.lworldExtX=t},e.prototype.getWorldExtY=function(){return this.lworldExtY},e.prototype.setWorldExtY=function(t){this.lworldExtY=t},e.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},e.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},e.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},e.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},e.prototype.getDeviceExtX=function(){return this.ldeviceExtX},e.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},e.prototype.getDeviceExtY=function(){return this.ldeviceExtY},e.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},e.prototype.transformX=function(t){var r=0,l=this.lworldExtX;return l!=0&&(r=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/l),r},e.prototype.transformY=function(t){var r=0,l=this.lworldExtY;return l!=0&&(r=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/l),r},e.prototype.inverseTransformX=function(t){var r=0,l=this.ldeviceExtX;return l!=0&&(r=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/l),r},e.prototype.inverseTransformY=function(t){var r=0,l=this.ldeviceExtY;return l!=0&&(r=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/l),r},e.prototype.inverseTransformPoint=function(t){var r=new n(this.inverseTransformX(t.x),this.inverseTransformY(t.y));return r},N.exports=e}),(function(N,m,v){function n(i){if(Array.isArray(i)){for(var a=0,h=Array(i.length);a<i.length;a++)h[a]=i[a];return h}else return Array.from(i)}O(n,"_toConsumableArray");var e=v(15),t=v(7),r=v(0),l=v(8),g=v(9);function o(){e.call(this),this.useSmartIdealEdgeLengthCalculation=t.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=t.DEFAULT_EDGE_LENGTH,this.springConstant=t.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=t.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=t.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=t.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=t.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=t.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*t.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=t.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=t.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=t.MAX_ITERATIONS}O(o,"FDLayout"),o.prototype=Object.create(e.prototype);for(var d in e)o[d]=e[d];o.prototype.initParameters=function(){e.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=t.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},o.prototype.calcIdealEdgeLengths=function(){for(var i,a,h,p,y,D,u=this.getGraphManager().getAllEdges(),T=0;T<u.length;T++)i=u[T],i.idealLength=this.idealEdgeLength,i.isInterGraph&&(h=i.getSource(),p=i.getTarget(),y=i.getSourceInLca().getEstimatedSize(),D=i.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(i.idealLength+=y+D-2*r.SIMPLE_NODE_SIZE),a=i.getLca().getInclusionTreeDepth(),i.idealLength+=t.DEFAULT_EDGE_LENGTH*t.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(h.getInclusionTreeDepth()+p.getInclusionTreeDepth()-2*a))},o.prototype.initSpringEmbedder=function(){var i=this.getAllNodes().length;this.incremental?(i>t.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*t.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(i-t.ADAPTATION_LOWER_NODE_LIMIT)/(t.ADAPTATION_UPPER_NODE_LIMIT-t.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-t.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=t.MAX_NODE_DISPLACEMENT_INCREMENTAL):(i>t.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(t.COOLING_ADAPTATION_FACTOR,1-(i-t.ADAPTATION_LOWER_NODE_LIMIT)/(t.ADAPTATION_UPPER_NODE_LIMIT-t.ADAPTATION_LOWER_NODE_LIMIT)*(1-t.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=t.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},o.prototype.calcSpringForces=function(){for(var i=this.getAllEdges(),a,h=0;h<i.length;h++)a=i[h],this.calcSpringForce(a,a.idealLength)},o.prototype.calcRepulsionForces=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h,p,y,D,u=this.getAllNodes(),T;if(this.useFRGridVariant)for(this.totalIterations%t.GRID_CALCULATION_CHECK_PERIOD==1&&i&&this.updateGrid(),T=new Set,h=0;h<u.length;h++)y=u[h],this.calculateRepulsionForceOfANode(y,T,i,a),T.add(y);else for(h=0;h<u.length;h++)for(y=u[h],p=h+1;p<u.length;p++)D=u[p],y.getOwner()==D.getOwner()&&this.calcRepulsionForce(y,D)},o.prototype.calcGravitationalForces=function(){for(var i,a=this.getAllNodesToApplyGravitation(),h=0;h<a.length;h++)i=a[h],this.calcGravitationalForce(i)},o.prototype.moveNodes=function(){for(var i=this.getAllNodes(),a,h=0;h<i.length;h++)a=i[h],a.move()},o.prototype.calcSpringForce=function(i,a){var h=i.getSource(),p=i.getTarget(),y,D,u,T;if(this.uniformLeafNodeSizes&&h.getChild()==null&&p.getChild()==null)i.updateLengthSimple();else if(i.updateLength(),i.isOverlapingSourceAndTarget)return;y=i.getLength(),y!=0&&(D=this.springConstant*(y-a),u=D*(i.lengthX/y),T=D*(i.lengthY/y),h.springForceX+=u,h.springForceY+=T,p.springForceX-=u,p.springForceY-=T)},o.prototype.calcRepulsionForce=function(i,a){var h=i.getRect(),p=a.getRect(),y=new Array(2),D=new Array(4),u,T,E,I,s,f,c;if(h.intersects(p)){l.calcSeparationAmount(h,p,y,t.DEFAULT_EDGE_LENGTH/2),f=2*y[0],c=2*y[1];var L=i.noOfChildren*a.noOfChildren/(i.noOfChildren+a.noOfChildren);i.repulsionForceX-=L*f,i.repulsionForceY-=L*c,a.repulsionForceX+=L*f,a.repulsionForceY+=L*c}else this.uniformLeafNodeSizes&&i.getChild()==null&&a.getChild()==null?(u=p.getCenterX()-h.getCenterX(),T=p.getCenterY()-h.getCenterY()):(l.getIntersection(h,p,D),u=D[2]-D[0],T=D[3]-D[1]),Math.abs(u)<t.MIN_REPULSION_DIST&&(u=g.sign(u)*t.MIN_REPULSION_DIST),Math.abs(T)<t.MIN_REPULSION_DIST&&(T=g.sign(T)*t.MIN_REPULSION_DIST),E=u*u+T*T,I=Math.sqrt(E),s=this.repulsionConstant*i.noOfChildren*a.noOfChildren/E,f=s*u/I,c=s*T/I,i.repulsionForceX-=f,i.repulsionForceY-=c,a.repulsionForceX+=f,a.repulsionForceY+=c},o.prototype.calcGravitationalForce=function(i){var a,h,p,y,D,u,T,E;a=i.getOwner(),h=(a.getRight()+a.getLeft())/2,p=(a.getTop()+a.getBottom())/2,y=i.getCenterX()-h,D=i.getCenterY()-p,u=Math.abs(y)+i.getWidth()/2,T=Math.abs(D)+i.getHeight()/2,i.getOwner()==this.graphManager.getRoot()?(E=a.getEstimatedSize()*this.gravityRangeFactor,(u>E||T>E)&&(i.gravitationForceX=-this.gravityConstant*y,i.gravitationForceY=-this.gravityConstant*D)):(E=a.getEstimatedSize()*this.compoundGravityRangeFactor,(u>E||T>E)&&(i.gravitationForceX=-this.gravityConstant*y*this.compoundGravityConstant,i.gravitationForceY=-this.gravityConstant*D*this.compoundGravityConstant))},o.prototype.isConverged=function(){var i,a=!1;return this.totalIterations>this.maxIterations/3&&(a=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),i=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,i||a},o.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},o.prototype.calcNoOfChildrenForAllNodes=function(){for(var i,a=this.graphManager.getAllNodes(),h=0;h<a.length;h++)i=a[h],i.noOfChildren=i.getNoOfChildren()},o.prototype.calcGrid=function(i){var a=0,h=0;a=parseInt(Math.ceil((i.getRight()-i.getLeft())/this.repulsionRange)),h=parseInt(Math.ceil((i.getBottom()-i.getTop())/this.repulsionRange));for(var p=new Array(a),y=0;y<a;y++)p[y]=new Array(h);for(var y=0;y<a;y++)for(var D=0;D<h;D++)p[y][D]=new Array;return p},o.prototype.addNodeToGrid=function(i,a,h){var p=0,y=0,D=0,u=0;p=parseInt(Math.floor((i.getRect().x-a)/this.repulsionRange)),y=parseInt(Math.floor((i.getRect().width+i.getRect().x-a)/this.repulsionRange)),D=parseInt(Math.floor((i.getRect().y-h)/this.repulsionRange)),u=parseInt(Math.floor((i.getRect().height+i.getRect().y-h)/this.repulsionRange));for(var T=p;T<=y;T++)for(var E=D;E<=u;E++)this.grid[T][E].push(i),i.setGridCoordinates(p,y,D,u)},o.prototype.updateGrid=function(){var i,a,h=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),i=0;i<h.length;i++)a=h[i],this.addNodeToGrid(a,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},o.prototype.calculateRepulsionForceOfANode=function(i,a,h,p){if(this.totalIterations%t.GRID_CALCULATION_CHECK_PERIOD==1&&h||p){var y=new Set;i.surrounding=new Array;for(var D,u=this.grid,T=i.startX-1;T<i.finishX+2;T++)for(var E=i.startY-1;E<i.finishY+2;E++)if(!(T<0||E<0||T>=u.length||E>=u[0].length)){for(var I=0;I<u[T][E].length;I++)if(D=u[T][E][I],!(i.getOwner()!=D.getOwner()||i==D)&&!a.has(D)&&!y.has(D)){var s=Math.abs(i.getCenterX()-D.getCenterX())-(i.getWidth()/2+D.getWidth()/2),f=Math.abs(i.getCenterY()-D.getCenterY())-(i.getHeight()/2+D.getHeight()/2);s<=this.repulsionRange&&f<=this.repulsionRange&&y.add(D)}}i.surrounding=[].concat(n(y))}for(T=0;T<i.surrounding.length;T++)this.calcRepulsionForce(i,i.surrounding[T])},o.prototype.calcRepulsionRange=function(){return 0},N.exports=o}),(function(N,m,v){var n=v(1),e=v(7);function t(l,g,o){n.call(this,l,g,o),this.idealLength=e.DEFAULT_EDGE_LENGTH}O(t,"FDLayoutEdge"),t.prototype=Object.create(n.prototype);for(var r in n)t[r]=n[r];N.exports=t}),(function(N,m,v){var n=v(3);function e(r,l,g,o){n.call(this,r,l,g,o),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}O(e,"FDLayoutNode"),e.prototype=Object.create(n.prototype);for(var t in n)e[t]=n[t];e.prototype.setGridCoordinates=function(r,l,g,o){this.startX=r,this.finishX=l,this.startY=g,this.finishY=o},N.exports=e}),(function(N,m,v){function n(e,t){this.width=0,this.height=0,e!==null&&t!==null&&(this.height=t,this.width=e)}O(n,"DimensionD"),n.prototype.getWidth=function(){return this.width},n.prototype.setWidth=function(e){this.width=e},n.prototype.getHeight=function(){return this.height},n.prototype.setHeight=function(e){this.height=e},N.exports=n}),(function(N,m,v){var n=v(14);function e(){this.map={},this.keys=[]}O(e,"HashMap"),e.prototype.put=function(t,r){var l=n.createID(t);this.contains(l)||(this.map[l]=r,this.keys.push(t))},e.prototype.contains=function(t){return n.createID(t),this.map[t]!=null},e.prototype.get=function(t){var r=n.createID(t);return this.map[r]},e.prototype.keySet=function(){return this.keys},N.exports=e}),(function(N,m,v){var n=v(14);function e(){this.set={}}O(e,"HashSet"),e.prototype.add=function(t){var r=n.createID(t);this.contains(r)||(this.set[r]=t)},e.prototype.remove=function(t){delete this.set[n.createID(t)]},e.prototype.clear=function(){this.set={}},e.prototype.contains=function(t){return this.set[n.createID(t)]==t},e.prototype.isEmpty=function(){return this.size()===0},e.prototype.size=function(){return Object.keys(this.set).length},e.prototype.addAllTo=function(t){for(var r=Object.keys(this.set),l=r.length,g=0;g<l;g++)t.push(this.set[r[g]])},e.prototype.size=function(){return Object.keys(this.set).length},e.prototype.addAll=function(t){for(var r=t.length,l=0;l<r;l++){var g=t[l];this.add(g)}},N.exports=e}),(function(N,m,v){var n=(function(){function l(g,o){for(var d=0;d<o.length;d++){var i=o[d];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(g,i.key,i)}}return O(l,"defineProperties"),function(g,o,d){return o&&l(g.prototype,o),d&&l(g,d),g}})();function e(l,g){if(!(l instanceof g))throw new TypeError("Cannot call a class as a function")}O(e,"_classCallCheck");var t=v(11),r=(function(){function l(g,o){e(this,l),(o!==null||o!==void 0)&&(this.compareFunction=this._defaultCompareFunction);var d=void 0;g instanceof t?d=g.size():d=g.length,this._quicksort(g,0,d-1)}return O(l,"Quicksort"),n(l,[{key:"_quicksort",value:O(function(o,d,i){if(d<i){var a=this._partition(o,d,i);this._quicksort(o,d,a),this._quicksort(o,a+1,i)}},"_quicksort")},{key:"_partition",value:O(function(o,d,i){for(var a=this._get(o,d),h=d,p=i;;){for(;this.compareFunction(a,this._get(o,p));)p--;for(;this.compareFunction(this._get(o,h),a);)h++;if(h<p)this._swap(o,h,p),h++,p--;else return p}},"_partition")},{key:"_get",value:O(function(o,d){return o instanceof t?o.get_object_at(d):o[d]},"_get")},{key:"_set",value:O(function(o,d,i){o instanceof t?o.set_object_at(d,i):o[d]=i},"_set")},{key:"_swap",value:O(function(o,d,i){var a=this._get(o,d);this._set(o,d,this._get(o,i)),this._set(o,i,a)},"_swap")},{key:"_defaultCompareFunction",value:O(function(o,d){return d>o},"_defaultCompareFunction")}]),l})();N.exports=r}),(function(N,m,v){var n=(function(){function r(l,g){for(var o=0;o<g.length;o++){var d=g[o];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(l,d.key,d)}}return O(r,"defineProperties"),function(l,g,o){return g&&r(l.prototype,g),o&&r(l,o),l}})();function e(r,l){if(!(r instanceof l))throw new TypeError("Cannot call a class as a function")}O(e,"_classCallCheck");var t=(function(){function r(l,g){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;e(this,r),this.sequence1=l,this.sequence2=g,this.match_score=o,this.mismatch_penalty=d,this.gap_penalty=i,this.iMax=l.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var a=0;a<this.iMax;a++){this.grid[a]=new Array(this.jMax);for(var h=0;h<this.jMax;h++)this.grid[a][h]=0}this.tracebackGrid=new Array(this.iMax);for(var p=0;p<this.iMax;p++){this.tracebackGrid[p]=new Array(this.jMax);for(var y=0;y<this.jMax;y++)this.tracebackGrid[p][y]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return O(r,"NeedlemanWunsch"),n(r,[{key:"getScore",value:O(function(){return this.score},"getScore")},{key:"getAlignments",value:O(function(){return this.alignments},"getAlignments")},{key:"computeGrids",value:O(function(){for(var g=1;g<this.jMax;g++)this.grid[0][g]=this.grid[0][g-1]+this.gap_penalty,this.tracebackGrid[0][g]=[!1,!1,!0];for(var o=1;o<this.iMax;o++)this.grid[o][0]=this.grid[o-1][0]+this.gap_penalty,this.tracebackGrid[o][0]=[!1,!0,!1];for(var d=1;d<this.iMax;d++)for(var i=1;i<this.jMax;i++){var a=void 0;this.sequence1[d-1]===this.sequence2[i-1]?a=this.grid[d-1][i-1]+this.match_score:a=this.grid[d-1][i-1]+this.mismatch_penalty;var h=this.grid[d-1][i]+this.gap_penalty,p=this.grid[d][i-1]+this.gap_penalty,y=[a,h,p],D=this.arrayAllMaxIndexes(y);this.grid[d][i]=y[D[0]],this.tracebackGrid[d][i]=[D.includes(0),D.includes(1),D.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]},"computeGrids")},{key:"alignmentTraceback",value:O(function(){var g=[];for(g.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});g[0];){var o=g[0],d=this.tracebackGrid[o.pos[0]][o.pos[1]];d[0]&&g.push({pos:[o.pos[0]-1,o.pos[1]-1],seq1:this.sequence1[o.pos[0]-1]+o.seq1,seq2:this.sequence2[o.pos[1]-1]+o.seq2}),d[1]&&g.push({pos:[o.pos[0]-1,o.pos[1]],seq1:this.sequence1[o.pos[0]-1]+o.seq1,seq2:"-"+o.seq2}),d[2]&&g.push({pos:[o.pos[0],o.pos[1]-1],seq1:"-"+o.seq1,seq2:this.sequence2[o.pos[1]-1]+o.seq2}),o.pos[0]===0&&o.pos[1]===0&&this.alignments.push({sequence1:o.seq1,sequence2:o.seq2}),g.shift()}return this.alignments},"alignmentTraceback")},{key:"getAllIndexes",value:O(function(g,o){for(var d=[],i=-1;(i=g.indexOf(o,i+1))!==-1;)d.push(i);return d},"getAllIndexes")},{key:"arrayAllMaxIndexes",value:O(function(g){return this.getAllIndexes(g,Math.max.apply(null,g))},"arrayAllMaxIndexes")}]),r})();N.exports=t}),(function(N,m,v){var n=O(function(){},"layoutBase");n.FDLayout=v(18),n.FDLayoutConstants=v(7),n.FDLayoutEdge=v(19),n.FDLayoutNode=v(20),n.DimensionD=v(21),n.HashMap=v(22),n.HashSet=v(23),n.IGeometry=v(8),n.IMath=v(9),n.Integer=v(10),n.Point=v(12),n.PointD=v(4),n.RandomSeed=v(16),n.RectangleD=v(13),n.Transform=v(17),n.UniqueIDGeneretor=v(14),n.Quicksort=v(24),n.LinkedList=v(11),n.LGraphObject=v(2),n.LGraph=v(5),n.LEdge=v(1),n.LGraphManager=v(6),n.LNode=v(3),n.Layout=v(15),n.LayoutConstants=v(0),n.NeedlemanWunsch=v(25),N.exports=n}),(function(N,m,v){function n(){this.listeners=[]}O(n,"Emitter");var e=n.prototype;e.addListener=function(t,r){this.listeners.push({event:t,callback:r})},e.removeListener=function(t,r){for(var l=this.listeners.length;l>=0;l--){var g=this.listeners[l];g.event===t&&g.callback===r&&this.listeners.splice(l,1)}},e.emit=function(t,r){for(var l=0;l<this.listeners.length;l++){var g=this.listeners[l];t===g.event&&g.callback(r)}},N.exports=n})])})}}),nt=j({"../../node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.js"(w,X){O((function(m,v){typeof w=="object"&&typeof X=="object"?X.exports=v(it()):typeof define=="function"&&define.amd?define(["layout-base"],v):typeof w=="object"?w.coseBase=v(it()):m.coseBase=v(m.layoutBase)}),"webpackUniversalModuleDefinition")(w,function(N){return(function(m){var v={};function n(e){if(v[e])return v[e].exports;var t=v[e]={i:e,l:!1,exports:{}};return m[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}return O(n,"__webpack_require__"),n.m=m,n.c=v,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?O(function(){return e.default},"getDefault"):O(function(){return e},"getModuleExports");return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)})([(function(m,v){m.exports=N}),(function(m,v,n){var e=n(0).FDLayoutConstants;function t(){}O(t,"CoSEConstants");for(var r in e)t[r]=e[r];t.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,t.DEFAULT_RADIAL_SEPARATION=e.DEFAULT_EDGE_LENGTH,t.DEFAULT_COMPONENT_SEPERATION=60,t.TILE=!0,t.TILING_PADDING_VERTICAL=10,t.TILING_PADDING_HORIZONTAL=10,t.TREE_REDUCTION_ON_INCREMENTAL=!1,m.exports=t}),(function(m,v,n){var e=n(0).FDLayoutEdge;function t(l,g,o){e.call(this,l,g,o)}O(t,"CoSEEdge"),t.prototype=Object.create(e.prototype);for(var r in e)t[r]=e[r];m.exports=t}),(function(m,v,n){var e=n(0).LGraph;function t(l,g,o){e.call(this,l,g,o)}O(t,"CoSEGraph"),t.prototype=Object.create(e.prototype);for(var r in e)t[r]=e[r];m.exports=t}),(function(m,v,n){var e=n(0).LGraphManager;function t(l){e.call(this,l)}O(t,"CoSEGraphManager"),t.prototype=Object.create(e.prototype);for(var r in e)t[r]=e[r];m.exports=t}),(function(m,v,n){var e=n(0).FDLayoutNode,t=n(0).IMath;function r(g,o,d,i){e.call(this,g,o,d,i)}O(r,"CoSENode"),r.prototype=Object.create(e.prototype);for(var l in e)r[l]=e[l];r.prototype.move=function(){var g=this.graphManager.getLayout();this.displacementX=g.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=g.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*t.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*t.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},r.prototype.propogateDisplacementToChildren=function(g,o){for(var d=this.getChild().getNodes(),i,a=0;a<d.length;a++)i=d[a],i.getChild()==null?(i.moveBy(g,o),i.displacementX+=g,i.displacementY+=o):i.propogateDisplacementToChildren(g,o)},r.prototype.setPred1=function(g){this.pred1=g},r.prototype.getPred1=function(){return pred1},r.prototype.getPred2=function(){return pred2},r.prototype.setNext=function(g){this.next=g},r.prototype.getNext=function(){return next},r.prototype.setProcessed=function(g){this.processed=g},r.prototype.isProcessed=function(){return processed},m.exports=r}),(function(m,v,n){var e=n(0).FDLayout,t=n(4),r=n(3),l=n(5),g=n(2),o=n(1),d=n(0).FDLayoutConstants,i=n(0).LayoutConstants,a=n(0).Point,h=n(0).PointD,p=n(0).Layout,y=n(0).Integer,D=n(0).IGeometry,u=n(0).LGraph,T=n(0).Transform;function E(){e.call(this),this.toBeTiled={}}O(E,"CoSELayout"),E.prototype=Object.create(e.prototype);for(var I in e)E[I]=e[I];E.prototype.newGraphManager=function(){var s=new t(this);return this.graphManager=s,s},E.prototype.newGraph=function(s){return new r(null,this.graphManager,s)},E.prototype.newNode=function(s){return new l(this.graphManager,s)},E.prototype.newEdge=function(s){return new g(null,null,s)},E.prototype.initParameters=function(){e.prototype.initParameters.call(this,arguments),this.isSubLayout||(o.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=o.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=d.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=d.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=d.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=d.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=d.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=d.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/d.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=d.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},E.prototype.layout=function(){var s=i.DEFAULT_CREATE_BENDS_AS_NEEDED;return s&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},E.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(o.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var f=new Set(this.getAllNodes()),c=this.nodesWithGravity.filter(function(C){return f.has(C)});this.graphManager.setAllNodesToApplyGravitation(c)}}else{var s=this.getFlatForest();if(s.length>0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var f=new Set(this.getAllNodes()),c=this.nodesWithGravity.filter(function(L){return f.has(L)});this.graphManager.setAllNodesToApplyGravitation(c),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},E.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%d.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),f=this.nodesWithGravity.filter(function(A){return s.has(A)});this.graphManager.setAllNodesToApplyGravitation(f),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=d.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var c=!this.isTreeGrowing&&!this.isGrowthFinished,L=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(c,L),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},E.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),f={},c=0;c<s.length;c++){var L=s[c].rect,A=s[c].id;f[A]={id:A,x:L.getCenterX(),y:L.getCenterY(),w:L.width,h:L.height}}return f},E.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var s=!1;if(d.ANIMATE==="during")this.emit("layoutstarted");else{for(;!s;)s=this.tick();this.graphManager.updateBounds()}},E.prototype.calculateNodesToApplyGravitationTo=function(){var s=[],f,c=this.graphManager.getGraphs(),L=c.length,A;for(A=0;A<L;A++)f=c[A],f.updateConnected(),f.isConnected||(s=s.concat(f.getNodes()));return s},E.prototype.createBendpoints=function(){var s=[];s=s.concat(this.graphManager.getAllEdges());var f=new Set,c;for(c=0;c<s.length;c++){var L=s[c];if(!f.has(L)){var A=L.getSource(),C=L.getTarget();if(A==C)L.getBendpoints().push(new h),L.getBendpoints().push(new h),this.createDummyNodesForBendpoints(L),f.add(L);else{var M=[];if(M=M.concat(A.getEdgeListToNode(C)),M=M.concat(C.getEdgeListToNode(A)),!f.has(M[0])){if(M.length>1){var R;for(R=0;R<M.length;R++){var G=M[R];G.getBendpoints().push(new h),this.createDummyNodesForBendpoints(G)}}M.forEach(function(_){f.add(_)})}}}if(f.size==s.length)break}},E.prototype.positionNodesRadially=function(s){for(var f=new a(0,0),c=Math.ceil(Math.sqrt(s.length)),L=0,A=0,C=0,M=new h(0,0),R=0;R<s.length;R++){R%c==0&&(C=0,A=L,R!=0&&(A+=o.DEFAULT_COMPONENT_SEPERATION),L=0);var G=s[R],_=p.findCenterOfTree(G);f.x=C,f.y=A,M=E.radialLayout(G,_,f),M.y>L&&(L=Math.floor(M.y)),C=Math.floor(M.x+o.DEFAULT_COMPONENT_SEPERATION)}this.transform(new h(i.WORLD_CENTER_X-M.x/2,i.WORLD_CENTER_Y-M.y/2))},E.radialLayout=function(s,f,c){var L=Math.max(this.maxDiagonalInTree(s),o.DEFAULT_RADIAL_SEPARATION);E.branchRadialLayout(f,null,0,359,0,L);var A=u.calculateBounds(s),C=new T;C.setDeviceOrgX(A.getMinX()),C.setDeviceOrgY(A.getMinY()),C.setWorldOrgX(c.x),C.setWorldOrgY(c.y);for(var M=0;M<s.length;M++){var R=s[M];R.transform(C)}var G=new h(A.getMaxX(),A.getMaxY());return C.inverseTransformPoint(G)},E.branchRadialLayout=function(s,f,c,L,A,C){var M=(L-c+1)/2;M<0&&(M+=180);var R=(M+c)%360,G=R*D.TWO_PI/360,_=A*Math.cos(G),Y=A*Math.sin(G);s.setCenter(_,Y);var x=[];x=x.concat(s.getEdges());var F=x.length;f!=null&&F--;for(var S=0,P=x.length,U,b=s.getEdgesBetween(f);b.length>1;){var H=b[0];b.splice(0,1);var W=x.indexOf(H);W>=0&&x.splice(W,1),P--,F--}f!=null?U=(x.indexOf(b[0])+1)%P:U=0;for(var B=Math.abs(L-c)/F,k=U;S!=F;k=++k%P){var et=x[k].getOtherEnd(s);if(et!=f){var rt=(c+S*B)%360,st=(rt+B)%360;E.branchRadialLayout(et,s,rt,st,A+C,C),S++}}},E.maxDiagonalInTree=function(s){for(var f=y.MIN_VALUE,c=0;c<s.length;c++){var L=s[c],A=L.getDiagonal();A>f&&(f=A)}return f},E.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},E.prototype.groupZeroDegreeMembers=function(){var s=this,f={};this.memberGroups={},this.idToDummyNode={};for(var c=[],L=this.graphManager.getAllNodes(),A=0;A<L.length;A++){var C=L[A],M=C.getParent();this.getNodeDegreeWithChildren(C)===0&&(M.id==null||!this.getToBeTiled(M))&&c.push(C)}for(var A=0;A<c.length;A++){var C=c[A],R=C.getParent().id;typeof f[R]>"u"&&(f[R]=[]),f[R]=f[R].concat(C)}Object.keys(f).forEach(function(G){if(f[G].length>1){var _="DummyCompound_"+G;s.memberGroups[_]=f[G];var Y=f[G][0].getParent(),x=new l(s.graphManager);x.id=_,x.paddingLeft=Y.paddingLeft||0,x.paddingRight=Y.paddingRight||0,x.paddingBottom=Y.paddingBottom||0,x.paddingTop=Y.paddingTop||0,s.idToDummyNode[_]=x;var F=s.getGraphManager().add(s.newGraph(),x),S=Y.getChild();S.add(x);for(var P=0;P<f[G].length;P++){var U=f[G][P];S.remove(U),F.add(U)}}})},E.prototype.clearCompounds=function(){var s={},f={};this.performDFSOnCompounds();for(var c=0;c<this.compoundOrder.length;c++)f[this.compoundOrder[c].id]=this.compoundOrder[c],s[this.compoundOrder[c].id]=[].concat(this.compoundOrder[c].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[c].getChild()),this.compoundOrder[c].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(s,f)},E.prototype.clearZeroDegreeMembers=function(){var s=this,f=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach(function(c){var L=s.idToDummyNode[c];f[c]=s.tileNodes(s.memberGroups[c],L.paddingLeft+L.paddingRight),L.rect.width=f[c].width,L.rect.height=f[c].height})},E.prototype.repopulateCompounds=function(){for(var s=this.compoundOrder.length-1;s>=0;s--){var f=this.compoundOrder[s],c=f.id,L=f.paddingLeft,A=f.paddingTop;this.adjustLocations(this.tiledMemberPack[c],f.rect.x,f.rect.y,L,A)}},E.prototype.repopulateZeroDegreeMembers=function(){var s=this,f=this.tiledZeroDegreePack;Object.keys(f).forEach(function(c){var L=s.idToDummyNode[c],A=L.paddingLeft,C=L.paddingTop;s.adjustLocations(f[c],L.rect.x,L.rect.y,A,C)})},E.prototype.getToBeTiled=function(s){var f=s.id;if(this.toBeTiled[f]!=null)return this.toBeTiled[f];var c=s.getChild();if(c==null)return this.toBeTiled[f]=!1,!1;for(var L=c.getNodes(),A=0;A<L.length;A++){var C=L[A];if(this.getNodeDegree(C)>0)return this.toBeTiled[f]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[f]=!1,!1}return this.toBeTiled[f]=!0,!0},E.prototype.getNodeDegree=function(s){s.id;for(var f=s.getEdges(),c=0,L=0;L<f.length;L++){var A=f[L];A.getSource().id!==A.getTarget().id&&(c=c+1)}return c},E.prototype.getNodeDegreeWithChildren=function(s){var f=this.getNodeDegree(s);if(s.getChild()==null)return f;for(var c=s.getChild().getNodes(),L=0;L<c.length;L++){var A=c[L];f+=this.getNodeDegreeWithChildren(A)}return f},E.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},E.prototype.fillCompexOrderByDFS=function(s){for(var f=0;f<s.length;f++){var c=s[f];c.getChild()!=null&&this.fillCompexOrderByDFS(c.getChild().getNodes()),this.getToBeTiled(c)&&this.compoundOrder.push(c)}},E.prototype.adjustLocations=function(s,f,c,L,A){f+=L,c+=A;for(var C=f,M=0;M<s.rows.length;M++){var R=s.rows[M];f=C;for(var G=0,_=0;_<R.length;_++){var Y=R[_];Y.rect.x=f,Y.rect.y=c,f+=Y.rect.width+s.horizontalPadding,Y.rect.height>G&&(G=Y.rect.height)}c+=G+s.verticalPadding}},E.prototype.tileCompoundMembers=function(s,f){var c=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(L){var A=f[L];c.tiledMemberPack[L]=c.tileNodes(s[L],A.paddingLeft+A.paddingRight),A.rect.width=c.tiledMemberPack[L].width,A.rect.height=c.tiledMemberPack[L].height})},E.prototype.tileNodes=function(s,f){var c=o.TILING_PADDING_VERTICAL,L=o.TILING_PADDING_HORIZONTAL,A={rows:[],rowWidth:[],rowHeight:[],width:0,height:f,verticalPadding:c,horizontalPadding:L};s.sort(function(R,G){return R.rect.width*R.rect.height>G.rect.width*G.rect.height?-1:R.rect.width*R.rect.height<G.rect.width*G.rect.height?1:0});for(var C=0;C<s.length;C++){var M=s[C];A.rows.length==0?this.insertNodeToRow(A,M,0,f):this.canAddHorizontal(A,M.rect.width,M.rect.height)?this.insertNodeToRow(A,M,this.getShortestRowIndex(A),f):this.insertNodeToRow(A,M,A.rows.length,f),this.shiftToLastRow(A)}return A},E.prototype.insertNodeToRow=function(s,f,c,L){var A=L;if(c==s.rows.length){var C=[];s.rows.push(C),s.rowWidth.push(A),s.rowHeight.push(0)}var M=s.rowWidth[c]+f.rect.width;s.rows[c].length>0&&(M+=s.horizontalPadding),s.rowWidth[c]=M,s.width<M&&(s.width=M);var R=f.rect.height;c>0&&(R+=s.verticalPadding);var G=0;R>s.rowHeight[c]&&(G=s.rowHeight[c],s.rowHeight[c]=R,G=s.rowHeight[c]-G),s.height+=G,s.rows[c].push(f)},E.prototype.getShortestRowIndex=function(s){for(var f=-1,c=Number.MAX_VALUE,L=0;L<s.rows.length;L++)s.rowWidth[L]<c&&(f=L,c=s.rowWidth[L]);return f},E.prototype.getLongestRowIndex=function(s){for(var f=-1,c=Number.MIN_VALUE,L=0;L<s.rows.length;L++)s.rowWidth[L]>c&&(f=L,c=s.rowWidth[L]);return f},E.prototype.canAddHorizontal=function(s,f,c){var L=this.getShortestRowIndex(s);if(L<0)return!0;var A=s.rowWidth[L];if(A+s.horizontalPadding+f<=s.width)return!0;var C=0;s.rowHeight[L]<c&&L>0&&(C=c+s.verticalPadding-s.rowHeight[L]);var M;s.width-A>=f+s.horizontalPadding?M=(s.height+C)/(A+f+s.horizontalPadding):M=(s.height+C)/s.width,C=c+s.verticalPadding;var R;return s.width<f?R=(s.height+C)/f:R=(s.height+C)/s.width,R<1&&(R=1/R),M<1&&(M=1/M),M<R},E.prototype.shiftToLastRow=function(s){var f=this.getLongestRowIndex(s),c=s.rowWidth.length-1,L=s.rows[f],A=L[L.length-1],C=A.width+s.horizontalPadding;if(s.width-s.rowWidth[c]>C&&f!=c){L.splice(-1,1),s.rows[c].push(A),s.rowWidth[f]=s.rowWidth[f]-C,s.rowWidth[c]=s.rowWidth[c]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var M=Number.MIN_VALUE,R=0;R<L.length;R++)L[R].height>M&&(M=L[R].height);f>0&&(M+=s.verticalPadding);var G=s.rowHeight[f]+s.rowHeight[c];s.rowHeight[f]=M,s.rowHeight[c]<A.height+s.verticalPadding&&(s.rowHeight[c]=A.height+s.verticalPadding);var _=s.rowHeight[f]+s.rowHeight[c];s.height+=_-G,this.shiftToLastRow(s)}},E.prototype.tilingPreLayout=function(){o.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},E.prototype.tilingPostLayout=function(){o.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},E.prototype.reduceTrees=function(){for(var s=[],f=!0,c;f;){var L=this.graphManager.getAllNodes(),A=[];f=!1;for(var C=0;C<L.length;C++)c=L[C],c.getEdges().length==1&&!c.getEdges()[0].isInterGraph&&c.getChild()==null&&(A.push([c,c.getEdges()[0],c.getOwner()]),f=!0);if(f==!0){for(var M=[],R=0;R<A.length;R++)A[R][0].getEdges().length==1&&(M.push(A[R]),A[R][0].getOwner().remove(A[R][0]));s.push(M),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=s},E.prototype.growTree=function(s){for(var f=s.length,c=s[f-1],L,A=0;A<c.length;A++)L=c[A],this.findPlaceforPrunedNode(L),L[2].add(L[0]),L[2].add(L[1],L[1].source,L[1].target);s.splice(s.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},E.prototype.findPlaceforPrunedNode=function(s){var f,c,L=s[0];L==s[1].source?c=s[1].target:c=s[1].source;var A=c.startX,C=c.finishX,M=c.startY,R=c.finishY,G=0,_=0,Y=0,x=0,F=[G,Y,_,x];if(M>0)for(var S=A;S<=C;S++)F[0]+=this.grid[S][M-1].length+this.grid[S][M].length-1;if(C<this.grid.length-1)for(var S=M;S<=R;S++)F[1]+=this.grid[C+1][S].length+this.grid[C][S].length-1;if(R<this.grid[0].length-1)for(var S=A;S<=C;S++)F[2]+=this.grid[S][R+1].length+this.grid[S][R].length-1;if(A>0)for(var S=M;S<=R;S++)F[3]+=this.grid[A-1][S].length+this.grid[A][S].length-1;for(var P=y.MAX_VALUE,U,b,H=0;H<F.length;H++)F[H]<P?(P=F[H],U=1,b=H):F[H]==P&&U++;if(U==3&&P==0)F[0]==0&&F[1]==0&&F[2]==0?f=1:F[0]==0&&F[1]==0&&F[3]==0?f=0:F[0]==0&&F[2]==0&&F[3]==0?f=3:F[1]==0&&F[2]==0&&F[3]==0&&(f=2);else if(U==2&&P==0){var W=Math.floor(Math.random()*2);F[0]==0&&F[1]==0?W==0?f=0:f=1:F[0]==0&&F[2]==0?W==0?f=0:f=2:F[0]==0&&F[3]==0?W==0?f=0:f=3:F[1]==0&&F[2]==0?W==0?f=1:f=2:F[1]==0&&F[3]==0?W==0?f=1:f=3:W==0?f=2:f=3}else if(U==4&&P==0){var W=Math.floor(Math.random()*4);f=W}else f=b;f==0?L.setCenter(c.getCenterX(),c.getCenterY()-c.getHeight()/2-d.DEFAULT_EDGE_LENGTH-L.getHeight()/2):f==1?L.setCenter(c.getCenterX()+c.getWidth()/2+d.DEFAULT_EDGE_LENGTH+L.getWidth()/2,c.getCenterY()):f==2?L.setCenter(c.getCenterX(),c.getCenterY()+c.getHeight()/2+d.DEFAULT_EDGE_LENGTH+L.getHeight()/2):L.setCenter(c.getCenterX()-c.getWidth()/2-d.DEFAULT_EDGE_LENGTH-L.getWidth()/2,c.getCenterY())},m.exports=E}),(function(m,v,n){var e={};e.layoutBase=n(0),e.CoSEConstants=n(1),e.CoSEEdge=n(2),e.CoSEGraph=n(3),e.CoSEGraphManager=n(4),e.CoSELayout=n(6),e.CoSENode=n(5),m.exports=e})])})}}),lt=j({"../../node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.34.0/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js"(w,X){O((function(m,v){typeof w=="object"&&typeof X=="object"?X.exports=v(nt()):typeof define=="function"&&define.amd?define(["cose-base"],v):typeof w=="object"?w.cytoscapeCoseBilkent=v(nt()):m.cytoscapeCoseBilkent=v(m.coseBase)}),"webpackUniversalModuleDefinition")(w,function(N){return(function(m){var v={};function n(e){if(v[e])return v[e].exports;var t=v[e]={i:e,l:!1,exports:{}};return m[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}return O(n,"__webpack_require__"),n.m=m,n.c=v,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?O(function(){return e.default},"getDefault"):O(function(){return e},"getModuleExports");return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)})([(function(m,v){m.exports=N}),(function(m,v,n){var e=n(0).layoutBase.LayoutConstants,t=n(0).layoutBase.FDLayoutConstants,r=n(0).CoSEConstants,l=n(0).CoSELayout,g=n(0).CoSENode,o=n(0).layoutBase.PointD,d=n(0).layoutBase.DimensionD,i={ready:O(function(){},"ready"),stop:O(function(){},"stop"),quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function a(D,u){var T={};for(var E in D)T[E]=D[E];for(var E in u)T[E]=u[E];return T}O(a,"extend");function h(D){this.options=a(i,D),p(this.options)}O(h,"_CoSELayout");var p=O(function(u){u.nodeRepulsion!=null&&(r.DEFAULT_REPULSION_STRENGTH=t.DEFAULT_REPULSION_STRENGTH=u.nodeRepulsion),u.idealEdgeLength!=null&&(r.DEFAULT_EDGE_LENGTH=t.DEFAULT_EDGE_LENGTH=u.idealEdgeLength),u.edgeElasticity!=null&&(r.DEFAULT_SPRING_STRENGTH=t.DEFAULT_SPRING_STRENGTH=u.edgeElasticity),u.nestingFactor!=null&&(r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=u.nestingFactor),u.gravity!=null&&(r.DEFAULT_GRAVITY_STRENGTH=t.DEFAULT_GRAVITY_STRENGTH=u.gravity),u.numIter!=null&&(r.MAX_ITERATIONS=t.MAX_ITERATIONS=u.numIter),u.gravityRange!=null&&(r.DEFAULT_GRAVITY_RANGE_FACTOR=t.DEFAULT_GRAVITY_RANGE_FACTOR=u.gravityRange),u.gravityCompound!=null&&(r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.DEFAULT_COMPOUND_GRAVITY_STRENGTH=u.gravityCompound),u.gravityRangeCompound!=null&&(r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=u.gravityRangeCompound),u.initialEnergyOnIncremental!=null&&(r.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.DEFAULT_COOLING_FACTOR_INCREMENTAL=u.initialEnergyOnIncremental),u.quality=="draft"?e.QUALITY=0:u.quality=="proof"?e.QUALITY=2:e.QUALITY=1,r.NODE_DIMENSIONS_INCLUDE_LABELS=t.NODE_DIMENSIONS_INCLUDE_LABELS=e.NODE_DIMENSIONS_INCLUDE_LABELS=u.nodeDimensionsIncludeLabels,r.DEFAULT_INCREMENTAL=t.DEFAULT_INCREMENTAL=e.DEFAULT_INCREMENTAL=!u.randomize,r.ANIMATE=t.ANIMATE=e.ANIMATE=u.animate,r.TILE=u.tile,r.TILING_PADDING_VERTICAL=typeof u.tilingPaddingVertical=="function"?u.tilingPaddingVertical.call():u.tilingPaddingVertical,r.TILING_PADDING_HORIZONTAL=typeof u.tilingPaddingHorizontal=="function"?u.tilingPaddingHorizontal.call():u.tilingPaddingHorizontal},"getUserOptions");h.prototype.run=function(){var D,u,T=this.options;this.idToLNode={};var E=this.layout=new l,I=this;I.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var s=E.newGraphManager();this.gm=s;var f=this.options.eles.nodes(),c=this.options.eles.edges();this.root=s.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(f),E);for(var L=0;L<c.length;L++){var A=c[L],C=this.idToLNode[A.data("source")],M=this.idToLNode[A.data("target")];if(C!==M&&C.getEdgesBetween(M).length==0){var R=s.add(E.newEdge(),C,M);R.id=A.id()}}var G=O(function(x,F){typeof x=="number"&&(x=F);var S=x.data("id"),P=I.idToLNode[S];return{x:P.getRect().getCenterX(),y:P.getRect().getCenterY()}},"getPositions"),_=O(function Y(){for(var x=O(function(){T.fit&&T.cy.fit(T.eles,T.padding),D||(D=!0,I.cy.one("layoutready",T.ready),I.cy.trigger({type:"layoutready",layout:I}))},"afterReposition"),F=I.options.refresh,S,P=0;P<F&&!S;P++)S=I.stopped||I.layout.tick();if(S){E.checkLayoutSuccess()&&!E.isSubLayout&&E.doPostLayout(),E.tilingPostLayout&&E.tilingPostLayout(),E.isLayoutFinished=!0,I.options.eles.nodes().positions(G),x(),I.cy.one("layoutstop",I.options.stop),I.cy.trigger({type:"layoutstop",layout:I}),u&&cancelAnimationFrame(u),D=!1;return}var U=I.layout.getPositionsData();T.eles.nodes().positions(function(b,H){if(typeof b=="number"&&(b=H),!b.isParent()){for(var W=b.id(),B=U[W],k=b;B==null&&(B=U[k.data("parent")]||U["DummyCompound_"+k.data("parent")],U[W]=B,k=k.parent()[0],k!=null););return B!=null?{x:B.x,y:B.y}:{x:b.position("x"),y:b.position("y")}}}),x(),u=requestAnimationFrame(Y)},"iterateAnimated");return E.addListener("layoutstarted",function(){I.options.animate==="during"&&(u=requestAnimationFrame(_))}),E.runLayout(),this.options.animate!=="during"&&(I.options.eles.nodes().not(":parent").layoutPositions(I,I.options,G),D=!1),this},h.prototype.getTopMostNodes=function(D){for(var u={},T=0;T<D.length;T++)u[D[T].id()]=!0;var E=D.filter(function(I,s){typeof I=="number"&&(I=s);for(var f=I.parent()[0];f!=null;){if(u[f.id()])return!1;f=f.parent()[0]}return!0});return E},h.prototype.processChildrenList=function(D,u,T){for(var E=u.length,I=0;I<E;I++){var s=u[I],f=s.children(),c,L=s.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if(s.outerWidth()!=null&&s.outerHeight()!=null?c=D.add(new g(T.graphManager,new o(s.position("x")-L.w/2,s.position("y")-L.h/2),new d(parseFloat(L.w),parseFloat(L.h)))):c=D.add(new g(this.graphManager)),c.id=s.data("id"),c.paddingLeft=parseInt(s.css("padding")),c.paddingTop=parseInt(s.css("padding")),c.paddingRight=parseInt(s.css("padding")),c.paddingBottom=parseInt(s.css("padding")),this.options.nodeDimensionsIncludeLabels&&s.isParent()){var A=s.boundingBox({includeLabels:!0,includeNodes:!1}).w,C=s.boundingBox({includeLabels:!0,includeNodes:!1}).h,M=s.css("text-halign");c.labelWidth=A,c.labelHeight=C,c.labelPos=M}if(this.idToLNode[s.data("id")]=c,isNaN(c.rect.x)&&(c.rect.x=0),isNaN(c.rect.y)&&(c.rect.y=0),f!=null&&f.length>0){var R;R=T.getGraphManager().add(T.newGraph(),c),this.processChildrenList(R,f,T)}}},h.prototype.stop=function(){return this.stopped=!0,this};var y=O(function(u){u("layout","cose-bilkent",h)},"register");typeof cytoscape<"u"&&y(cytoscape),m.exports=y})])})}}),gt=ht(lt());ot.use(gt.default);function Q(w,X){w.forEach(N=>{const m={id:N.id,labelText:N.label,height:N.height,width:N.width,padding:N.padding??0};Object.keys(N).forEach(v=>{["id","label","height","width","padding","x","y"].includes(v)||(m[v]=N[v])}),X.add({group:"nodes",data:m,position:{x:N.x??0,y:N.y??0}})})}O(Q,"addNodes");V(Q,"addNodes");function $(w,X){w.forEach(N=>{const m={id:N.id,source:N.start,target:N.end};Object.keys(N).forEach(v=>{["id","start","end"].includes(v)||(m[v]=N[v])}),X.add({group:"edges",data:m})})}O($,"addEdges");V($,"addEdges");function K(w){return new Promise(X=>{const N=at("body").append("div").attr("id","cy").attr("style","display:none"),m=ot({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});N.remove(),Q(w.nodes,m),$(w.edges,m),m.nodes().forEach(function(n){n.layoutDimensions=()=>{const e=n.data();return{w:e.width,h:e.height}}});const v={name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1};m.layout(v).run(),m.ready(n=>{Z.info("Cytoscape ready",n),X(m)})})}O(K,"createCytoscapeInstance");V(K,"createCytoscapeInstance");function q(w){return w.nodes().map(X=>{const N=X.data(),m=X.position(),v={id:N.id,x:m.x,y:m.y};return Object.keys(N).forEach(n=>{n!=="id"&&(v[n]=N[n])}),v})}O(q,"extractPositionedNodes");V(q,"extractPositionedNodes");function J(w){return w.edges().map(X=>{const N=X.data(),m=X._private.rscratch,v={id:N.id,source:N.source,target:N.target,startX:m.startX,startY:m.startY,midX:m.midX,midY:m.midY,endX:m.endX,endY:m.endY};return Object.keys(N).forEach(n=>{["id","source","target"].includes(n)||(v[n]=N[n])}),v})}O(J,"extractPositionedEdges");V(J,"extractPositionedEdges");async function z(w,X){Z.debug("Starting cose-bilkent layout algorithm");try{tt(w);const N=await K(w),m=q(N),v=J(N);return Z.debug(`Layout completed: ${m.length} nodes, ${v.length} edges`),{nodes:m,edges:v}}catch(N){throw Z.error("Error in cose-bilkent layout algorithm:",N),N}}O(z,"executeCoseBilkentLayout");V(z,"executeCoseBilkentLayout");function tt(w){if(!w)throw new Error("Layout data is required");if(!w.config)throw new Error("Configuration is required in layout data");if(!w.rootNode)throw new Error("Root node is required");if(!w.nodes||!Array.isArray(w.nodes))throw new Error("No nodes found in layout data");if(!Array.isArray(w.edges))throw new Error("Edges array is required in layout data");return!0}O(tt,"validateLayoutData");V(tt,"validateLayoutData");var ut=V(async(w,X,{insertCluster:N,insertEdge:m,insertEdgeLabel:v,insertMarkers:n,insertNode:e,log:t,positionEdgeLabel:r},{algorithm:l})=>{const g={},o={},d=X.select("g");n(d,w.markers,w.type,w.diagramId);const i=d.insert("g").attr("class","subgraphs"),a=d.insert("g").attr("class","edgePaths"),h=d.insert("g").attr("class","edgeLabels"),p=d.insert("g").attr("class","nodes");t.debug("Inserting nodes into DOM for dimension calculation"),await Promise.all(w.nodes.map(async u=>{if(u.isGroup){const T={...u};o[u.id]=T,g[u.id]=T,await N(i,u)}else{const T={...u};g[u.id]=T;const E=await e(p,u,{config:w.config,dir:w.direction||"TB"}),I=E.node().getBBox();T.width=I.width,T.height=I.height,T.domId=E,t.debug(`Node ${u.id} dimensions: ${I.width}x${I.height}`)}})),t.debug("Running cose-bilkent layout algorithm");const y={...w,nodes:w.nodes.map(u=>{const T=g[u.id];return{...u,width:T.width,height:T.height}})},D=await z(y,w.config);t.debug("Positioning nodes based on layout results"),D.nodes.forEach(u=>{const T=g[u.id];T?.domId&&(T.domId.attr("transform",`translate(${u.x}, ${u.y})`),T.x=u.x,T.y=u.y,t.debug(`Positioned node ${T.id} at center (${u.x}, ${u.y})`))}),D.edges.forEach(u=>{const T=w.edges.find(E=>E.id===u.id);T&&(T.points=[{x:u.startX,y:u.startY},{x:u.midX,y:u.midY},{x:u.endX,y:u.endY}])}),t.debug("Inserting and positioning edges"),await Promise.all(w.edges.map(async u=>{await v(h,u);const T=g[u.start??""],E=g[u.end??""];if(T&&E){const I=D.edges.find(s=>s.id===u.id);if(I){t.debug("APA01 positionedEdge",I);const s={...u},f=m(a,s,o,w.type,T,E,w.diagramId);r(s,f)}else{const s={...u,points:[{x:T.x||0,y:T.y||0},{x:E.x||0,y:E.y||0}]},f=m(a,s,o,w.type,T,E,w.diagramId);r(s,f)}}})),t.debug("Cose-bilkent rendering completed")},"render"),dt=ut;export{dt as render};
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/w9_kL0TH.js","/app/immutable/chunks/DQT9c-_R.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/chunks/yZ5s7S5S.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/nodes/0.DV4OxTlt.js","/app/immutable/chunks/Cb1eroFO.js","/app/immutable/chunks/G0_EiVNo.js","/app/immutable/chunks/Ckl30_He.js","/app/immutable/chunks/WOicJa2k.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/Chp5dHOk.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/BQtZVUi4.js","/app/immutable/chunks/C3YfsJGu.js","/app/immutable/chunks/BhglH0qV.js","/app/immutable/assets/0.s5U1UHML.css","/app/immutable/nodes/1.Ck6qIYNd.js","/app/immutable/chunks/DMlNL7XW.js","/app/immutable/chunks/fzsNMINk.js","/app/immutable/chunks/ah7LAYm4.js","/app/immutable/chunks/CVjN4vxe.js","/app/immutable/chunks/D46WSk8U.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CyAayV8v.js","/app/immutable/chunks/D2g8BuR1.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.F1jEoAFf.js","/app/immutable/chunks/CcV_5cPd.js","/app/immutable/chunks/Dfbagr79.js","/app/immutable/chunks/D24Lh2xV.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CQzSGmOk.js","/app/immutable/chunks/eUunsB8W.js","/app/immutable/chunks/Dh3Ryezx.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/D8dE5NKO.js","/app/immutable/chunks/CilxFmmt.js","/app/immutable/chunks/CWKAugar.js","/app/immutable/chunks/Ck8ZjaJh.js","/app/immutable/chunks/BIqUw3gi.js","/app/immutable/assets/connection-label.UE5obH5A.css","/app/immutable/chunks/BghIZW1D.js","/app/immutable/chunks/DvUv7DbT.js","/app/immutable/chunks/DYFbONVh.js","/app/immutable/chunks/Irb_xhXc.js","/app/immutable/chunks/DBQ6-GLb.js","/app/immutable/chunks/Da6QaYq0.js","/app/immutable/chunks/CiJPyUxP.js","/app/immutable/chunks/BmZ0oFC-.js","/app/immutable/chunks/B9P5rUiO.js","/app/immutable/chunks/3cdteGtc.js","/app/immutable/chunks/D2AmAQEr.js","/app/immutable/chunks/CUrlpJj4.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/Cr5ZO5z9.js","/app/immutable/chunks/ejHd6Wjx.js","/app/immutable/chunks/CQeSP20x.js","/app/immutable/chunks/CqbBHiiS.js","/app/immutable/chunks/C6wHGKVx.js","/app/immutable/chunks/BOBlxuhv.js","/app/immutable/chunks/BkjJpsAb.js","/app/immutable/chunks/CM5eCs6m.js","/app/immutable/chunks/hEq6dFYU.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/CCI5yjyv.js","/app/immutable/chunks/CpW6JN4X.js","/app/immutable/chunks/BQ-3QmCa.js","/app/immutable/chunks/Bkg2jzs8.js","/app/immutable/chunks/CUA_VnXT.js","/app/immutable/chunks/0nqxMME2.js","/app/immutable/chunks/AFSjjw3j.js","/app/immutable/chunks/s1gAk8mT.js","/app/immutable/chunks/BpOsjl4B.js","/app/immutable/chunks/C1ANrPzv.js","/app/immutable/chunks/7L5DlLPB.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/Cu31g7xE.js","/app/immutable/chunks/Dmcj2dHt.js","/app/immutable/chunks/u8U7VVwB.js","/app/immutable/chunks/zniid-gQ.js","/app/immutable/chunks/Be2VCczk.js","/app/immutable/chunks/C4WAPshC.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/Dw3FugoV.js","/app/immutable/chunks/BPC4bZ2e.js","/app/immutable/chunks/Bx4lXaHY.js","/app/immutable/chunks/9ZGNcJrk.js","/app/immutable/chunks/CoKvDYIY.js","/app/immutable/assets/observe-overflow.CJJmE3_P.css","/app/immutable/chunks/FY5ry3XL.js","/app/immutable/chunks/kcPg9Fan.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/_wdKNOb8.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css","/app/immutable/chunks/BGarQU0H.js","/app/immutable/chunks/DzxV-zrJ.js","/app/immutable/chunks/CZugVkfN.js","/app/immutable/chunks/DGnZRFrD.js","/app/immutable/chunks/gM93sUNx.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/lgAZgfoh.js","/app/immutable/chunks/ClQcbOPg.js","/app/immutable/chunks/CxP2tIQc.js","/app/immutable/assets/AttachmentPreview.BCSCCZGm.css","/app/immutable/chunks/8M4qD2wt.js","/app/immutable/chunks/D_0pJDZv.js","/app/immutable/chunks/BO3uDFyf.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/BxepIPme.js","/app/immutable/chunks/DY0zw3Os.js","/app/immutable/chunks/Cyt32IzK.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/CvmpuSJ4.js","/app/immutable/assets/CompactWorkspaceInitializer.InGGWMfl.css","/app/immutable/chunks/DfYbWhJy.js","/app/immutable/chunks/DvE0BexL.js","/app/immutable/chunks/B87LX9tB.js","/app/immutable/assets/accessibility.Cjws-1uy.css","/app/immutable/chunks/BuBWlA2n.js","/app/immutable/chunks/DHZp-IFS.js","/app/immutable/chunks/CNsCQ6no.js","/app/immutable/chunks/C3hWtekV.js","/app/immutable/chunks/C8YkhSPO.js","/app/immutable/chunks/Czo8fm8j.js","/app/immutable/chunks/V4P2F4m3.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/assets/2.XOARAn4C.css","/app/immutable/nodes/3.CTi33PwH.js","/app/immutable/nodes/4.CEVSI3tX.js","/app/immutable/nodes/5.Cwr-dRRa.js","/app/immutable/chunks/Ba3Gl_Rx.js","/app/immutable/chunks/BB2kR3UP.js","/app/immutable/chunks/CoSk1zgY.js","/app/immutable/chunks/BlvFC0m2.js","/app/immutable/chunks/Cqdkb92f.js","/app/immutable/chunks/DuBklFcM.js","/app/immutable/chunks/Ba2NpplL.js","/app/immutable/chunks/BaasjTfD.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/DW4Kmsyn.js","/app/immutable/assets/AgentCard.4uIFUDRc.css","/app/immutable/chunks/hjPR6Rnc.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/assets/ResizablePanel.Dlk-yueV.css","/app/immutable/chunks/DIfev0Ed.js","/app/immutable/chunks/BJbo_kKO.js","/app/immutable/chunks/CJj6zr8B.js","/app/immutable/chunks/DZtggwE6.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/VBUrUMy_.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/CIQ2KSkd.js","/app/immutable/chunks/CoZ28bOB.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/CSSOAZoU.js","/app/immutable/assets/DiagramPresentation.fimBl1wP.css","/app/immutable/chunks/W-gkWrYK.js","/app/immutable/chunks/BPYkHxEz.js","/app/immutable/chunks/BsbUKqyQ.js","/app/immutable/chunks/Bdfj2LRi.js","/app/immutable/chunks/Bmtrue3d.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.CWdkjFsY.css","/app/immutable/chunks/DEqIZOTX.js","/app/immutable/chunks/8tKgHmPk.js","/app/immutable/chunks/CEniOKQx.js","/app/immutable/chunks/B0WURFIt.js","/app/immutable/assets/conversation-turns.Cw6qSz_q.css","/app/immutable/chunks/Bgp8IlBl.js","/app/immutable/chunks/Bcwj2Z7c.js","/app/immutable/chunks/BVjt7Tgy.js","/app/immutable/chunks/_MNRR5Dx.js","/app/immutable/assets/ChatPanel.CbI83JII.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/assets/5.DBgC2kSL.css","/app/immutable/nodes/6.CirgPdsp.js","/app/immutable/assets/6.D6ebrVTb.css","/app/immutable/nodes/7.BTCmHFrX.js","/app/immutable/nodes/8.Ccr1GUq8.js","/app/immutable/chunks/BM44mGhh.js","/app/immutable/chunks/Bsxt04FP.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/assets/8._uRcFklA.css","/app/immutable/assets/dock-tokens.CevytPYC.css","/app/immutable/nodes/9.DtRI4gIT.js","/app/immutable/chunks/COWTRkIf.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/3MzspyfQ.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/CjZ3vck_.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/zFGI_9p9.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/CbEQLVJd.js","/app/immutable/chunks/Dg2SDWJh.js","/app/immutable/chunks/CdlxRh10.js","/app/immutable/assets/9.7X-ygXtc.css","/app/immutable/nodes/10.BJGM7dzF.js","/app/immutable/assets/10.BO7QC36g.css","/app/immutable/nodes/11.B6QfTBgO.js","/app/immutable/nodes/12.C6vEm_M7.js","/app/immutable/assets/12.CF5xLHXq.css","/app/immutable/nodes/13.DPA662Yd.js","/app/immutable/chunks/BpLzCReR.js","/app/immutable/assets/13.BuZANxI8.css","/app/immutable/nodes/14.vxfsp_3g.js","/app/immutable/chunks/60WUut7l.js","/app/immutable/assets/14.BlmY1boZ.css","/app/immutable/nodes/15.Byubc7Em.js","/app/immutable/assets/15.COfTIH7u.css","/app/immutable/nodes/16.CrYjJL43.js","/app/immutable/assets/16.Cznk2DRv.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/w9_kL0TH.js","/app/immutable/chunks/DQT9c-_R.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/chunks/yZ5s7S5S.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/nodes/0.B3w9utn7.js","/app/immutable/chunks/Cb1eroFO.js","/app/immutable/chunks/G0_EiVNo.js","/app/immutable/chunks/Ckl30_He.js","/app/immutable/chunks/WOicJa2k.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/Chp5dHOk.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/BQtZVUi4.js","/app/immutable/chunks/C3YfsJGu.js","/app/immutable/chunks/y8su61xq.js","/app/immutable/assets/0.s5U1UHML.css","/app/immutable/nodes/1.DaxXfawW.js","/app/immutable/chunks/B9G1J12P.js","/app/immutable/chunks/D_Ou_6lS.js","/app/immutable/chunks/ah7LAYm4.js","/app/immutable/chunks/CVjN4vxe.js","/app/immutable/chunks/D46WSk8U.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Dax20l9D.js","/app/immutable/chunks/D2g8BuR1.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.CYzMuwKR.js","/app/immutable/chunks/CcV_5cPd.js","/app/immutable/chunks/Dfbagr79.js","/app/immutable/chunks/-1vWYJiy.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CoJOpuAN.js","/app/immutable/chunks/CixlkwsU.js","/app/immutable/chunks/CXqGB8i2.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/D8dE5NKO.js","/app/immutable/chunks/tzy2FJ3p.js","/app/immutable/chunks/CWKAugar.js","/app/immutable/chunks/Ck8ZjaJh.js","/app/immutable/chunks/BIqUw3gi.js","/app/immutable/assets/connection-label.UE5obH5A.css","/app/immutable/chunks/Drgj5uDM.js","/app/immutable/chunks/DvUv7DbT.js","/app/immutable/chunks/CenrrJuj.js","/app/immutable/chunks/w0VuoJIl.js","/app/immutable/chunks/ClOUpVZZ.js","/app/immutable/chunks/Da6QaYq0.js","/app/immutable/chunks/BVJeg9VF.js","/app/immutable/chunks/DgBCXQ71.js","/app/immutable/chunks/B-OGKYEx.js","/app/immutable/chunks/BeRTGLrw.js","/app/immutable/chunks/D2AmAQEr.js","/app/immutable/chunks/CUrlpJj4.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/Cr5ZO5z9.js","/app/immutable/chunks/CM8AwG-k.js","/app/immutable/chunks/CiBStNAr.js","/app/immutable/chunks/D1IlJCd0.js","/app/immutable/chunks/CUMro1vx.js","/app/immutable/chunks/BDHBtQ3l.js","/app/immutable/chunks/DmJbtm9p.js","/app/immutable/chunks/CM5eCs6m.js","/app/immutable/chunks/hEq6dFYU.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/CCI5yjyv.js","/app/immutable/chunks/CpW6JN4X.js","/app/immutable/chunks/BQ-3QmCa.js","/app/immutable/chunks/Dmf4WObG.js","/app/immutable/chunks/CUA_VnXT.js","/app/immutable/chunks/BR-wS1W8.js","/app/immutable/chunks/Do_TqlrK.js","/app/immutable/chunks/CBYPZH-W.js","/app/immutable/chunks/KG68UpwU.js","/app/immutable/chunks/BNPFPBlO.js","/app/immutable/chunks/vt-D6r-U.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/Cu31g7xE.js","/app/immutable/chunks/Dmcj2dHt.js","/app/immutable/chunks/u8U7VVwB.js","/app/immutable/chunks/zniid-gQ.js","/app/immutable/chunks/Be2VCczk.js","/app/immutable/chunks/C4WAPshC.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/CC4WmnL6.js","/app/immutable/chunks/DkibMP99.js","/app/immutable/chunks/BYxkGGC-.js","/app/immutable/chunks/BvUM18CV.js","/app/immutable/chunks/6hOEL6g0.js","/app/immutable/assets/observe-overflow.CJJmE3_P.css","/app/immutable/chunks/FY5ry3XL.js","/app/immutable/chunks/kcPg9Fan.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/NPItrD9R.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css","/app/immutable/chunks/BhkBe7Jc.js","/app/immutable/chunks/M8sdbvOT.js","/app/immutable/chunks/DMnHL_j_.js","/app/immutable/chunks/DeI8FMuz.js","/app/immutable/chunks/Bd9XSgIb.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/tkZmaR4M.js","/app/immutable/chunks/BH5cuIQi.js","/app/immutable/chunks/CxP2tIQc.js","/app/immutable/assets/AttachmentPreview.BCSCCZGm.css","/app/immutable/chunks/DE5Vt-mk.js","/app/immutable/chunks/UakvtOgc.js","/app/immutable/chunks/BwEpZ6hl.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/BAXlZEur.js","/app/immutable/chunks/DY0zw3Os.js","/app/immutable/chunks/C9k7mgs4.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/CvmpuSJ4.js","/app/immutable/assets/CompactWorkspaceInitializer.InGGWMfl.css","/app/immutable/chunks/C9jifMvI.js","/app/immutable/chunks/DvE0BexL.js","/app/immutable/chunks/BPzYYRAs.js","/app/immutable/assets/accessibility.Cjws-1uy.css","/app/immutable/chunks/IISaQsK0.js","/app/immutable/chunks/mNkJFQiA.js","/app/immutable/chunks/DMaQDnJk.js","/app/immutable/chunks/C3hWtekV.js","/app/immutable/chunks/C8YkhSPO.js","/app/immutable/chunks/Czo8fm8j.js","/app/immutable/chunks/DWUInPKR.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/assets/2.XOARAn4C.css","/app/immutable/nodes/3.63ZtoTSA.js","/app/immutable/nodes/4.DDS6oK5o.js","/app/immutable/nodes/5.DsTfq2mA.js","/app/immutable/chunks/BBNnH_sw.js","/app/immutable/chunks/CNGkxhSe.js","/app/immutable/chunks/CoSk1zgY.js","/app/immutable/chunks/w7xvX9oI.js","/app/immutable/chunks/qwx0AE4b.js","/app/immutable/chunks/CZE4HQ01.js","/app/immutable/chunks/9k5bnL8-.js","/app/immutable/chunks/C9PGJX9n.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/BU8fu6L_.js","/app/immutable/assets/AgentCard.4uIFUDRc.css","/app/immutable/chunks/DuInbvT4.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/assets/ResizablePanel.Dlk-yueV.css","/app/immutable/chunks/DIfev0Ed.js","/app/immutable/chunks/B8S_XDvA.js","/app/immutable/chunks/BLn5rsUE.js","/app/immutable/chunks/Cu8J93FR.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/Cw1gOOP4.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/DtagNJGy.js","/app/immutable/chunks/CoZ28bOB.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/BQY3g8uE.js","/app/immutable/assets/DiagramPresentation.fimBl1wP.css","/app/immutable/chunks/IJYL54f1.js","/app/immutable/chunks/CtcF6bbr.js","/app/immutable/chunks/BcmjbiBm.js","/app/immutable/chunks/Bdfj2LRi.js","/app/immutable/chunks/BeLl-r8h.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.CWdkjFsY.css","/app/immutable/chunks/Ce8PMxuE.js","/app/immutable/chunks/DNKZQCox.js","/app/immutable/chunks/CMBaQAuw.js","/app/immutable/chunks/Cf891EVZ.js","/app/immutable/assets/conversation-turns.Cw6qSz_q.css","/app/immutable/chunks/Bgp8IlBl.js","/app/immutable/chunks/Dl3AQcJn.js","/app/immutable/chunks/BVjt7Tgy.js","/app/immutable/chunks/_MNRR5Dx.js","/app/immutable/assets/ChatPanel.CbI83JII.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/assets/5.DBgC2kSL.css","/app/immutable/nodes/6.BH8FJ3Wf.js","/app/immutable/assets/6.D6ebrVTb.css","/app/immutable/nodes/7.DW27zT40.js","/app/immutable/nodes/8.B4CNA7De.js","/app/immutable/chunks/CUMzsmcb.js","/app/immutable/chunks/Bsxt04FP.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/assets/8._uRcFklA.css","/app/immutable/assets/dock-tokens.CevytPYC.css","/app/immutable/nodes/9.Nt9iZ731.js","/app/immutable/chunks/Bd69ye4n.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/0_FDVEla.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/CBDImldB.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/zFGI_9p9.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/CbEQLVJd.js","/app/immutable/chunks/Dg2SDWJh.js","/app/immutable/chunks/Citu-dNT.js","/app/immutable/assets/9.7X-ygXtc.css","/app/immutable/nodes/10.Ut2WO8-5.js","/app/immutable/assets/10.BO7QC36g.css","/app/immutable/nodes/11.B6QfTBgO.js","/app/immutable/nodes/12.CEAVKYuu.js","/app/immutable/assets/12.CF5xLHXq.css","/app/immutable/nodes/13.CJ1HRZcd.js","/app/immutable/chunks/BpLzCReR.js","/app/immutable/assets/13.BuZANxI8.css","/app/immutable/nodes/14.BS_itk_o.js","/app/immutable/chunks/60WUut7l.js","/app/immutable/assets/14.BlmY1boZ.css","/app/immutable/nodes/15.CZGq0vsg.js","/app/immutable/assets/15.COfTIH7u.css","/app/immutable/nodes/16.DXjz2v3H.js","/app/immutable/assets/16.Cznk2DRv.css"])))=>i.map(i=>d[i]);
2
2
  import{_ as a,bo as X,t as lt,bq as g,a_ as w,by as dt,b as pt,c as gt}from"../chunks/yZ5s7S5S.js";import{l as k}from"../chunks/BJzHxIyr.js";import{s as ft}from"../chunks/D-N7efrx.js";import{bs as Et,cb as vt,ca as bt,bk as Tt,aD as c,bH as F,c0 as ht,ay as b,bS as It,W as m,bn as At,bV as U,aA as f,a7 as I,c9 as L,a5 as Ot,bA as Rt,aB as Z,b$ as Pt,b_ as Dt,bO as yt}from"../chunks/B8o4lNgr.js";import{c as S}from"../chunks/CVjN4vxe.js";import{b as V}from"../chunks/D2g8BuR1.js";const Lt=async()=>{window.location.pathname.startsWith("/sandbox")||await a(()=>import("../chunks/w9_kL0TH.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},St=/^[a-zA-Z_$]{1,3}\.call is not a function$/;function Vt(t){return t instanceof Error&&t.name==="TypeError"&&St.test(t.message)&&typeof t.stack=="string"&&t.stack.includes("bits-ui")}const q=500,xt=8,wt=/[a-z][a-z0-9+.-]*:\/\/\S+/gi,kt=/[)\]}>'".,;:]+$/,Nt=/[^/]+\.[cm]?[jt]s(?::\d+){0,2}$/;function Ct(t){const e=kt.exec(t)?.[0]??"",o=t.slice(0,t.length-e.length),n=o.indexOf("://"),i=o.slice(0,n),s=o.slice(n+3).split("#")[0].split("?")[0],u=s.indexOf("/"),l=u===-1?s:s.slice(0,u),d=l.slice(l.lastIndexOf("@")+1),p=u===-1?"":s.slice(u);if(p===""||p==="/")return`${i}://${d}${e}`;const O=Nt.exec(p)?.[0];return`${i}://${d}/${O??"<redacted>"}${e}`}function x(t){const e=t.replace(wt,Ct);return e.length>q?`${e.slice(0,q)}…`:e}function jt(t){return typeof t!="string"||t.length===0?null:t.split(`
3
3
  `).slice(0,xt).map(x).join(`
4
- `)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let K=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return K?(A++,A>=Ft&&(k.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{k.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),k.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(K=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(k.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=Z('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=Z("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),bt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);Tt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=b(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=b(E);S(R,()=>c(_),(v,T)=>{V(T(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=b($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=b(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=b(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=b(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};w(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=b(E);S(R,()=>c(_),(v,T)=>{V(T(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};w(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var T=Pt();Dt(()=>yt(T,c(B))),m(v,T)};w(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};w(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.DV4OxTlt.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,2,14,15,16,17,18,19]),import.meta.url),()=>a(()=>import("../nodes/1.Ck6qIYNd.js"),__vite__mapDeps([20,4,5,21,22,23,24,7,25,3,26,27,28,8,1,2,29]),import.meta.url),()=>a(()=>import("../nodes/2.F1jEoAFf.js"),__vite__mapDeps([30,4,5,7,31,10,11,12,13,2,3,8,23,24,25,26,32,33,34,27,28,1,29,17,21,35,18,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,16,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,15,106,107,108,109,110,111,112,113,114,115,116,117,118,22,119,120,121,122,123,124,125,126,127,128,9,129,130,131]),import.meta.url),()=>a(()=>import("../nodes/3.CTi33PwH.js"),__vite__mapDeps([132,4,5,32,25,3,26,7,21,22,23,24,27,28,8,1,2,29,37,38,36,39,33,10,11,12,13,34,17,18,35]),import.meta.url),()=>a(()=>import("../nodes/4.CEVSI3tX.js"),__vite__mapDeps([133,4,5,7,9,8,3,46,10,11,12,13,2,33,23,24,25,26,34,27,28,1,29,17,32,47,38,48,43,49,50,51,18,41,42,44,45,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,35,39,70,71,72,73,74,75,76,77,40,78,37,21,36,16,79,80,81,82,83,84,85,86,87]),import.meta.url),()=>a(()=>import("../nodes/5.Cwr-dRRa.js"),__vite__mapDeps([134,4,5,57,135,27,7,25,3,26,28,24,8,1,2,29,23,31,10,11,12,13,32,92,90,66,56,67,68,93,91,89,41,42,43,33,34,17,44,45,94,95,96,51,47,38,55,58,88,76,97,50,18,37,21,36,39,35,98,105,49,48,15,106,107,108,54,62,80,136,71,137,138,139,140,141,142,143,73,144,120,145,146,117,147,148,64,121,61,63,122,114,70,149,150,151,126,152,153,154,155,81,156,157,158,159,160,161,162,163,164,22,165,166,167,168,60,169,170,101,171,129,130,172,173,174,175,176,177,113,75,109,69,178,179,124,119,180]),import.meta.url),()=>a(()=>import("../nodes/6.CirgPdsp.js"),__vite__mapDeps([181,4,5,25,3,26,28,33,2,10,11,12,13,7,8,23,24,34,27,1,29,17,32,38,22,21,48,43,47,152,153,55,44,56,57,58,105,49,50,51,18,41,42,45,91,92,90,66,67,68,93,89,94,95,96,76,88,97,37,36,39,35,98,15,106,107,108,61,62,63,140,136,139,141,142,143,73,144,120,145,154,126,155,81,156,157,158,159,160,121,122,161,162,163,164,64,114,70,165,166,167,168,170,77,40,182]),import.meta.url),()=>a(()=>import("../nodes/7.BTCmHFrX.js"),__vite__mapDeps([183,4,5,57,94,18,12,35,11,10,13,2,3,7,8,55,25,26,27,28,24,1,29,32,44,56,23,58,95,149]),import.meta.url),()=>a(()=>import("../nodes/8.Ccr1GUq8.js"),__vite__mapDeps([184,4,5,8,3,25,26,24,28,27,7,1,2,29,66,92,90,32,23,56,67,68,93,91,89,10,11,12,13,41,42,43,33,34,17,44,45,57,94,95,96,125,100,59,88,76,55,58,97,38,50,51,47,18,37,21,36,39,35,98,22,53,185,65,48,63,186,144,142,165,119,146,117,80,101,72,69,175,176,106,78,84,187,70,110,188,189]),import.meta.url),()=>a(()=>import("../nodes/9.DtRI4gIT.js"),__vite__mapDeps([190,4,5,135,27,7,25,3,26,28,24,8,1,2,29,23,31,10,11,12,13,32,92,90,66,56,67,68,93,91,89,41,42,43,33,34,17,44,45,57,94,95,96,51,47,38,55,58,88,76,97,50,18,37,21,36,39,35,98,105,49,48,15,106,107,108,54,62,80,136,71,137,138,139,140,141,142,143,73,144,120,145,146,117,147,148,22,115,116,52,53,111,83,84,85,86,87,112,75,118,174,40,126,123,64,72,191,128,192,193,186,74,194,103,185,101,78,195,196,79,197,198,199,171,200,201,109,176,124,202]),import.meta.url),()=>a(()=>import("../nodes/10.BJGM7dzF.js"),__vite__mapDeps([203,4,5,36,21,25,3,26,24,10,11,12,13,2,7,8,23,28,123,90,32,66,27,1,29,97,55,44,56,57,58,107,76,172,124,89,195,196,79,33,34,17,191,128,86,87,85,51,47,38,39,192,81,199,80,204]),import.meta.url),()=>a(()=>import("../nodes/11.B6QfTBgO.js"),__vite__mapDeps([205,4,5,57,94,23,24,7,25,3,26]),import.meta.url),()=>a(()=>import("../nodes/12.C6vEm_M7.js"),__vite__mapDeps([206,4,5,8,3,27,7,25,26,28,24,1,2,29,23,95,149,207]),import.meta.url),()=>a(()=>import("../nodes/13.DPA662Yd.js"),__vite__mapDeps([208,4,5,25,3,26,7,27,28,24,8,1,2,29,95,149,209,11,104,126,90,32,66,92,23,56,67,68,93,106,57,94,210]),import.meta.url),()=>a(()=>import("../nodes/14.vxfsp_3g.js"),__vite__mapDeps([211,4,5,41,10,11,12,13,2,3,7,8,42,43,33,23,24,25,26,34,27,28,1,29,17,32,44,45,95,149,46,47,38,48,49,50,51,18,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,35,39,70,71,72,73,74,75,76,77,40,78,37,21,36,16,79,80,81,82,83,84,85,86,87,160,88,89,90,91,92,93,94,96,97,98,105,15,106,107,108,121,122,161,99,110,169,152,153,140,136,139,141,142,143,144,120,145,154,126,155,156,157,158,159,162,163,164,22,114,165,166,167,168,170,101,171,129,130,172,173,209,212,213,189]),import.meta.url),()=>a(()=>import("../nodes/15.Byubc7Em.js"),__vite__mapDeps([214,4,5,25,3,26,7,27,28,24,8,1,2,29,95,149,32,13,126,212,51,47,38,215]),import.meta.url),()=>a(()=>import("../nodes/16.CrYjJL43.js"),__vite__mapDeps([216,4,5,51,8,3,47,38,23,24,7,25,26,27,28,1,2,29,10,11,12,13,32,120,62,33,34,17,41,42,43,44,45,114,70,82,91,92,90,66,56,67,68,93,89,57,94,95,96,100,59,78,37,21,36,39,18,35,217]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock":[14],"/hud":[16,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
4
+ `)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let K=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return K?(A++,A>=Ft&&(k.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{k.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),k.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(K=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(k.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=Z('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=Z("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),bt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);Tt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=b(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=b(E);S(R,()=>c(_),(v,T)=>{V(T(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=b($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=b(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=b(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=b(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};w(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=b(E);S(R,()=>c(_),(v,T)=>{V(T(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};w(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var T=Pt();Dt(()=>yt(T,c(B))),m(v,T)};w(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};w(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.B3w9utn7.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,2,14,15,16,17,18,19]),import.meta.url),()=>a(()=>import("../nodes/1.DaxXfawW.js"),__vite__mapDeps([20,4,5,21,22,23,24,7,25,3,26,27,28,8,1,2,29]),import.meta.url),()=>a(()=>import("../nodes/2.CYzMuwKR.js"),__vite__mapDeps([30,4,5,7,31,10,11,12,13,2,3,8,23,24,25,26,32,33,34,27,28,1,29,17,21,35,18,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,16,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,15,106,107,108,109,110,111,112,113,114,115,116,117,118,22,119,120,121,122,123,124,125,126,127,128,9,129,130,131]),import.meta.url),()=>a(()=>import("../nodes/3.63ZtoTSA.js"),__vite__mapDeps([132,4,5,32,25,3,26,7,21,22,23,24,27,28,8,1,2,29,37,38,36,39,33,10,11,12,13,34,17,18,35]),import.meta.url),()=>a(()=>import("../nodes/4.DDS6oK5o.js"),__vite__mapDeps([133,4,5,7,9,8,3,46,10,11,12,13,2,33,23,24,25,26,34,27,28,1,29,17,32,47,38,48,43,49,50,51,18,41,42,44,45,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,35,39,70,71,72,73,74,75,76,77,40,78,37,21,36,16,79,80,81,82,83,84,85,86,87]),import.meta.url),()=>a(()=>import("../nodes/5.DsTfq2mA.js"),__vite__mapDeps([134,4,5,57,135,27,7,25,3,26,28,24,8,1,2,29,23,31,10,11,12,13,32,92,90,66,56,67,68,93,91,89,41,42,43,33,34,17,44,45,94,95,96,51,47,38,55,58,88,76,97,50,18,37,21,36,39,35,98,105,49,48,15,106,107,108,54,62,80,136,71,137,138,139,140,141,142,143,73,144,120,145,146,117,147,148,64,121,61,63,122,114,70,149,150,151,126,152,153,154,155,81,156,157,158,159,160,161,162,163,164,22,165,166,167,168,60,169,170,101,171,129,130,172,173,174,175,176,177,113,75,109,69,178,179,124,119,180]),import.meta.url),()=>a(()=>import("../nodes/6.BH8FJ3Wf.js"),__vite__mapDeps([181,4,5,25,3,26,28,33,2,10,11,12,13,7,8,23,24,34,27,1,29,17,32,38,22,21,48,43,47,152,153,55,44,56,57,58,105,49,50,51,18,41,42,45,91,92,90,66,67,68,93,89,94,95,96,76,88,97,37,36,39,35,98,15,106,107,108,61,62,63,140,136,139,141,142,143,73,144,120,145,154,126,155,81,156,157,158,159,160,121,122,161,162,163,164,64,114,70,165,166,167,168,170,77,40,182]),import.meta.url),()=>a(()=>import("../nodes/7.DW27zT40.js"),__vite__mapDeps([183,4,5,57,94,18,12,35,11,10,13,2,3,7,8,55,25,26,27,28,24,1,29,32,44,56,23,58,95,149]),import.meta.url),()=>a(()=>import("../nodes/8.B4CNA7De.js"),__vite__mapDeps([184,4,5,8,3,25,26,24,28,27,7,1,2,29,66,92,90,32,23,56,67,68,93,91,89,10,11,12,13,41,42,43,33,34,17,44,45,57,94,95,96,125,100,59,88,76,55,58,97,38,50,51,47,18,37,21,36,39,35,98,22,53,185,65,48,63,186,144,142,165,119,146,117,80,101,72,69,175,176,106,78,84,187,70,110,188,189]),import.meta.url),()=>a(()=>import("../nodes/9.Nt9iZ731.js"),__vite__mapDeps([190,4,5,135,27,7,25,3,26,28,24,8,1,2,29,23,31,10,11,12,13,32,92,90,66,56,67,68,93,91,89,41,42,43,33,34,17,44,45,57,94,95,96,51,47,38,55,58,88,76,97,50,18,37,21,36,39,35,98,105,49,48,15,106,107,108,54,62,80,136,71,137,138,139,140,141,142,143,73,144,120,145,146,117,147,148,22,115,116,52,53,111,83,84,85,86,87,112,75,118,174,40,126,123,64,72,191,128,192,193,186,74,194,103,185,101,78,195,196,79,197,198,199,171,200,201,109,176,124,202]),import.meta.url),()=>a(()=>import("../nodes/10.Ut2WO8-5.js"),__vite__mapDeps([203,4,5,36,21,25,3,26,24,10,11,12,13,2,7,8,23,28,123,90,32,66,27,1,29,97,55,44,56,57,58,107,76,172,124,89,195,196,79,33,34,17,191,128,86,87,85,51,47,38,39,192,81,199,80,204]),import.meta.url),()=>a(()=>import("../nodes/11.B6QfTBgO.js"),__vite__mapDeps([205,4,5,57,94,23,24,7,25,3,26]),import.meta.url),()=>a(()=>import("../nodes/12.CEAVKYuu.js"),__vite__mapDeps([206,4,5,8,3,27,7,25,26,28,24,1,2,29,23,95,149,207]),import.meta.url),()=>a(()=>import("../nodes/13.CJ1HRZcd.js"),__vite__mapDeps([208,4,5,25,3,26,7,27,28,24,8,1,2,29,95,149,209,11,104,126,90,32,66,92,23,56,67,68,93,106,57,94,210]),import.meta.url),()=>a(()=>import("../nodes/14.BS_itk_o.js"),__vite__mapDeps([211,4,5,41,10,11,12,13,2,3,7,8,42,43,33,23,24,25,26,34,27,28,1,29,17,32,44,45,95,149,46,47,38,48,49,50,51,18,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,35,39,70,71,72,73,74,75,76,77,40,78,37,21,36,16,79,80,81,82,83,84,85,86,87,160,88,89,90,91,92,93,94,96,97,98,105,15,106,107,108,121,122,161,99,110,169,152,153,140,136,139,141,142,143,144,120,145,154,126,155,156,157,158,159,162,163,164,22,114,165,166,167,168,170,101,171,129,130,172,173,209,212,213,189]),import.meta.url),()=>a(()=>import("../nodes/15.CZGq0vsg.js"),__vite__mapDeps([214,4,5,25,3,26,7,27,28,24,8,1,2,29,95,149,32,13,126,212,51,47,38,215]),import.meta.url),()=>a(()=>import("../nodes/16.DXjz2v3H.js"),__vite__mapDeps([216,4,5,51,8,3,47,38,23,24,7,25,26,27,28,1,2,29,10,11,12,13,32,120,62,33,34,17,41,42,43,44,45,114,70,82,91,92,90,66,56,67,68,93,89,57,94,95,96,100,59,78,37,21,36,39,18,35,217]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock":[14],"/hud":[16,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,s as r}from"../chunks/B9G1J12P.js";export{o as load_css,r as start};
@@ -1 +1 @@
1
- import{t as L,bq as O,by as I,bu as Z,bs as ee,b as N,a_ as te,bt as ne,br as oe}from"../chunks/yZ5s7S5S.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as W,W as y,bn as T,aA as $}from"../chunks/B8o4lNgr.js";import{s as D}from"../chunks/Cb1eroFO.js";import{x as ie,I as C,D as ae}from"../chunks/G0_EiVNo.js";import{w as ce}from"../chunks/Ckl30_He.js";import{Hb as ue}from"../chunks/WOicJa2k.js";import{initAppStore as de}from"../chunks/Chp5dHOk.js";import{F as le,D as fe}from"../chunks/C3YfsJGu.js";import{i as me}from"../chunks/BhglH0qV.js";const pe=!1,we=!1,ve=!0,Me=Object.freeze(Object.defineProperty({__proto__:null,csr:ve,prerender:we,ssr:pe},Symbol.toStringTag,{value:"Module"}));function ge(e,t,r){const f=de(e);let p=t.startSagas(e),s=!1;const l=()=>{if(!s){s=!0;try{for(const m of p)m()}finally{f.dispose(),r?.rootStoreStop===l&&(r.rootStoreStop=void 0,r.rootStoreReplaceSagas=void 0)}}};return l}const V=3,j=4,be=100;let A=null;function S(e){const t=Date.now();A!==null&&A.direction===e&&t-A.at<be||(A={direction:e,at:t},e==="back"?history.back():history.forward())}function he(){return document.querySelector("webview:hover")!==null}function ye(e){e!=="back"&&e!=="forward"||he()||S(e)}function Y(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function U(e){Y(e)||(e.button===V?(e.preventDefault(),S("back")):e.button===j&&(e.preventDefault(),S("forward")))}function F(e){Y(e)||(e.button===V||e.button===j)&&e.preventDefault()}function Ae(e=window){return e.addEventListener("mouseup",U,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",U,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function Ee(e){const t=new Set,r="data-window-animation-paused",f=()=>e.hasAttribute("data-window-blurred");function p(i){const n=new Set;for(const o of i){if(!(o instanceof CSSAnimation)||o.playState!=="running"&&o.playState!=="paused"||o.effect?.getTiming().iterations!==1/0)continue;const d=o.effect?.target;d instanceof Element&&n.add(d)}for(const o of n)t.has(o)||(t.add(o),o.setAttribute(r,""))}function s(){for(const i of t)i.removeAttribute(r);t.clear()}function l(i){for(const n of i)!t.has(n)||e.contains(n)&&n.getAnimations({subtree:!0}).some(d=>d instanceof CSSAnimation&&d.effect?.target===n&&d.effect?.getTiming().iterations===1/0)||(t.delete(n),n.removeAttribute(r))}const m=new MutationObserver(i=>{if(!f())return;const n=new Set,o=new Set;for(const a of i){if(a.type==="childList")for(const c of a.addedNodes)c instanceof Element&&n.add(c);else if(a.target instanceof Element&&a.attributeName!==r&&a.attributeName!=="data-window-blurred")n.add(a.target);else continue;if(a.target instanceof Element)for(const c of t)(a.target.contains(c)||!e.contains(c))&&o.add(c)}l(o);const d=[];for(const a of n){if(!e.contains(a))continue;let c=a.parentElement;for(;c&&!n.has(c);)c=c.parentElement;c||d.push(...a.getAnimations({subtree:!0}))}p(d)});function v(){m.disconnect(),f()?(m.observe(e,{childList:!0,attributes:!0,subtree:!0}),p(e.getAnimations({subtree:!0}))):s()}function u(i){!f()||!(i.target instanceof Element)||(l([i.target]),p(i.target.getAnimations({subtree:!0})))}function w(i){!f()||!(i.target instanceof Element)||l([i.target])}const g=new MutationObserver(v);return g.observe(e,{attributes:!0,attributeFilter:["data-window-blurred"]}),e.addEventListener("animationstart",u,!0),e.addEventListener("animationcancel",w,!0),v(),{destroy(){g.disconnect(),m.disconnect(),e.removeEventListener("animationstart",u,!0),e.removeEventListener("animationcancel",w,!0),s()}}}function q(e,t){if(new.target)return L({component:q,...e});P(t,!0);const r=()=>Z(m,"$resolvedLocale$",f),[f,p]=ee();let s=O(t,"children",7);const l=ge(ue,{startSagas:()=>[]},void 0);re(l);const m=le(),v=fe();se(()=>{const n=!me()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},R=()=>c(!1),H=()=>c(!0),z=v.subscribe(_=>{d=_,a()}),M=window.electronAPI,k=ie();let E;a(),n&&(k?E=M?.on?.("window:focus",c):(window.addEventListener("blur",R),window.addEventListener("focus",H)));const J=Ee(document.documentElement),Q=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const X=Ae(window),B=window.electronAPI?.on?.(C.APP.HISTORY_NAVIGATE,ye);return()=>{z(),J.destroy(),E?M.offById("window:focus",E):n&&!k&&(window.removeEventListener("blur",R),window.removeEventListener("focus",H)),document.documentElement.removeAttribute("data-window-blurred"),Q(),X(),B&&window.electronAPI.offById(C.APP.HISTORY_NAVIGATE,B)}});var u={get children(){return s()},set children(n){s(n),$()},$set:I,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);D(d,()=>s()??W),y(n,o)}),y(e,w);var i=T(u);return p(),i}const x="/dev-console";function _e(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Se(e){return e===G||e.startsWith(`${G}/`)}function K(e,t){if(new.target)return L({component:K,...e});P(t,!0);let r=O(t,"children",7);const f=typeof window<"u"&&(_e(window.location.pathname)||Se(window.location.pathname));var p={get children(){return r()},set children(u){r(u),$()},$set:I,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);D(g,()=>r()??W),y(u,w)},v=u=>{q(u,{get children(){return r()}})};te(l,u=>{f?u(m):u(v,-1)})}return y(e,s),T(p)}var Le=new Set(["$$slots","$$events","$$legacy","children"]);function Oe(e,t){if(new.target)return L({component:Oe,...e});P(t,!0);let r=O(t,"children",7),f=oe(t,Le);var p={get children(){return r()},set children(s){r(s),$()},$set:I,$on:(s,l)=>N(t,s,l)};return K(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);D(v,()=>r()??W),y(s,m)},$$slots:{default:!0}})),T(p)}export{Oe as component,Me as universal};
1
+ import{t as L,bq as O,by as I,bu as Z,bs as ee,b as N,a_ as te,bt as ne,br as oe}from"../chunks/yZ5s7S5S.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as W,W as y,bn as T,aA as $}from"../chunks/B8o4lNgr.js";import{s as D}from"../chunks/Cb1eroFO.js";import{x as ie,I as C,D as ae}from"../chunks/G0_EiVNo.js";import{w as ce}from"../chunks/Ckl30_He.js";import{Hb as ue}from"../chunks/WOicJa2k.js";import{initAppStore as de}from"../chunks/Chp5dHOk.js";import{F as le,D as fe}from"../chunks/C3YfsJGu.js";import{i as me}from"../chunks/y8su61xq.js";const pe=!1,we=!1,ve=!0,Me=Object.freeze(Object.defineProperty({__proto__:null,csr:ve,prerender:we,ssr:pe},Symbol.toStringTag,{value:"Module"}));function ge(e,t,r){const f=de(e);let p=t.startSagas(e),s=!1;const l=()=>{if(!s){s=!0;try{for(const m of p)m()}finally{f.dispose(),r?.rootStoreStop===l&&(r.rootStoreStop=void 0,r.rootStoreReplaceSagas=void 0)}}};return l}const V=3,j=4,be=100;let A=null;function S(e){const t=Date.now();A!==null&&A.direction===e&&t-A.at<be||(A={direction:e,at:t},e==="back"?history.back():history.forward())}function he(){return document.querySelector("webview:hover")!==null}function ye(e){e!=="back"&&e!=="forward"||he()||S(e)}function Y(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function U(e){Y(e)||(e.button===V?(e.preventDefault(),S("back")):e.button===j&&(e.preventDefault(),S("forward")))}function F(e){Y(e)||(e.button===V||e.button===j)&&e.preventDefault()}function Ae(e=window){return e.addEventListener("mouseup",U,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",U,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function Ee(e){const t=new Set,r="data-window-animation-paused",f=()=>e.hasAttribute("data-window-blurred");function p(i){const n=new Set;for(const o of i){if(!(o instanceof CSSAnimation)||o.playState!=="running"&&o.playState!=="paused"||o.effect?.getTiming().iterations!==1/0)continue;const d=o.effect?.target;d instanceof Element&&n.add(d)}for(const o of n)t.has(o)||(t.add(o),o.setAttribute(r,""))}function s(){for(const i of t)i.removeAttribute(r);t.clear()}function l(i){for(const n of i)!t.has(n)||e.contains(n)&&n.getAnimations({subtree:!0}).some(d=>d instanceof CSSAnimation&&d.effect?.target===n&&d.effect?.getTiming().iterations===1/0)||(t.delete(n),n.removeAttribute(r))}const m=new MutationObserver(i=>{if(!f())return;const n=new Set,o=new Set;for(const a of i){if(a.type==="childList")for(const c of a.addedNodes)c instanceof Element&&n.add(c);else if(a.target instanceof Element&&a.attributeName!==r&&a.attributeName!=="data-window-blurred")n.add(a.target);else continue;if(a.target instanceof Element)for(const c of t)(a.target.contains(c)||!e.contains(c))&&o.add(c)}l(o);const d=[];for(const a of n){if(!e.contains(a))continue;let c=a.parentElement;for(;c&&!n.has(c);)c=c.parentElement;c||d.push(...a.getAnimations({subtree:!0}))}p(d)});function v(){m.disconnect(),f()?(m.observe(e,{childList:!0,attributes:!0,subtree:!0}),p(e.getAnimations({subtree:!0}))):s()}function u(i){!f()||!(i.target instanceof Element)||(l([i.target]),p(i.target.getAnimations({subtree:!0})))}function w(i){!f()||!(i.target instanceof Element)||l([i.target])}const g=new MutationObserver(v);return g.observe(e,{attributes:!0,attributeFilter:["data-window-blurred"]}),e.addEventListener("animationstart",u,!0),e.addEventListener("animationcancel",w,!0),v(),{destroy(){g.disconnect(),m.disconnect(),e.removeEventListener("animationstart",u,!0),e.removeEventListener("animationcancel",w,!0),s()}}}function q(e,t){if(new.target)return L({component:q,...e});P(t,!0);const r=()=>Z(m,"$resolvedLocale$",f),[f,p]=ee();let s=O(t,"children",7);const l=ge(ue,{startSagas:()=>[]},void 0);re(l);const m=le(),v=fe();se(()=>{const n=!me()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},R=()=>c(!1),H=()=>c(!0),z=v.subscribe(_=>{d=_,a()}),M=window.electronAPI,k=ie();let E;a(),n&&(k?E=M?.on?.("window:focus",c):(window.addEventListener("blur",R),window.addEventListener("focus",H)));const J=Ee(document.documentElement),Q=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const X=Ae(window),B=window.electronAPI?.on?.(C.APP.HISTORY_NAVIGATE,ye);return()=>{z(),J.destroy(),E?M.offById("window:focus",E):n&&!k&&(window.removeEventListener("blur",R),window.removeEventListener("focus",H)),document.documentElement.removeAttribute("data-window-blurred"),Q(),X(),B&&window.electronAPI.offById(C.APP.HISTORY_NAVIGATE,B)}});var u={get children(){return s()},set children(n){s(n),$()},$set:I,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);D(d,()=>s()??W),y(n,o)}),y(e,w);var i=T(u);return p(),i}const x="/dev-console";function _e(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Se(e){return e===G||e.startsWith(`${G}/`)}function K(e,t){if(new.target)return L({component:K,...e});P(t,!0);let r=O(t,"children",7);const f=typeof window<"u"&&(_e(window.location.pathname)||Se(window.location.pathname));var p={get children(){return r()},set children(u){r(u),$()},$set:I,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);D(g,()=>r()??W),y(u,w)},v=u=>{q(u,{get children(){return r()}})};te(l,u=>{f?u(m):u(v,-1)})}return y(e,s),T(p)}var Le=new Set(["$$slots","$$events","$$legacy","children"]);function Oe(e,t){if(new.target)return L({component:Oe,...e});P(t,!0);let r=O(t,"children",7),f=oe(t,Le);var p={get children(){return r()},set children(s){r(s),$()},$set:I,$on:(s,l)=>N(t,s,l)};return K(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);D(v,()=>r()??W),y(s,m)},$$slots:{default:!0}})),T(p)}export{Oe as component,Me as universal};