@intent-hq/web 2.388.0 → 2.389.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 (275) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/0AIorxUa.js +411 -0
  3. package/web/app/immutable/chunks/{DOXxx9SZ.js → 2mfr9mCI.js} +1 -1
  4. package/web/app/immutable/chunks/{CAvh8i5c.js → 2sf1Yn-s.js} +1 -1
  5. package/web/app/immutable/chunks/{DypPlx7r.js → 4VEtxogG.js} +1 -1
  6. package/web/app/immutable/chunks/5J_xNo3h.js +2 -0
  7. package/web/app/immutable/chunks/{Dk9NNzZE.js → 85NDZF0c.js} +7 -7
  8. package/web/app/immutable/chunks/{s59tMRX6.js → 86aXQThN.js} +1 -1
  9. package/web/app/immutable/chunks/{Az9cm1af.js → 958SNXkw.js} +1 -1
  10. package/web/app/immutable/chunks/{cOfTiXUW.js → 96V4v2iI.js} +1 -1
  11. package/web/app/immutable/chunks/{dSWRjbXG.js → 97-360Ms.js} +1 -1
  12. package/web/app/immutable/chunks/{D8vs9kOP.js → B-I8ZlVM.js} +1 -1
  13. package/web/app/immutable/chunks/{CJ6d7atw.js → B-r8Ld9c.js} +1 -1
  14. package/web/app/immutable/chunks/{BCG_mh8x.js → B4JMAhvp.js} +3 -3
  15. package/web/app/immutable/chunks/{DjpNk5RK.js → B5N8LmEF.js} +1 -1
  16. package/web/app/immutable/chunks/{Bzh81gre.js → B6CGcXmK.js} +1 -1
  17. package/web/app/immutable/chunks/{1EMxL5fo.js → B6dUCFoz.js} +1 -1
  18. package/web/app/immutable/chunks/{CgkqJVb4.js → B91tdOJm.js} +1 -1
  19. package/web/app/immutable/chunks/{BlDw7Cnz.js → B9vHutcJ.js} +5 -5
  20. package/web/app/immutable/chunks/{BqymqbDk.js → BE4rQlti.js} +1 -1
  21. package/web/app/immutable/chunks/{CZkav0tO.js → BF_gPEg7.js} +2 -2
  22. package/web/app/immutable/chunks/{Bggsay0U.js → BGniv2IE.js} +1 -1
  23. package/web/app/immutable/chunks/{4o_ZQ4nq.js → BGrimfDs.js} +1 -1
  24. package/web/app/immutable/chunks/{D81tH0Kz.js → BHy9cRzo.js} +1 -1
  25. package/web/app/immutable/chunks/{D9tGn9lI.js → BIFBPuAO.js} +1 -1
  26. package/web/app/immutable/chunks/BIVpRSxo.js +2 -0
  27. package/web/app/immutable/chunks/{BG4hSkx5.js → BId1zNus.js} +1 -1
  28. package/web/app/immutable/chunks/{BHMZ-wPE.js → BNJ3edFz.js} +1 -1
  29. package/web/app/immutable/chunks/{BMOvHKEB.js → BNSbhHFY.js} +1 -1
  30. package/web/app/immutable/chunks/{BexVHAqu.js → BOVEEbKv.js} +1 -1
  31. package/web/app/immutable/chunks/{B9dzo0Kz.js → BPQFiQQc.js} +2 -2
  32. package/web/app/immutable/chunks/{BZljJ1HD.js → BQGIKN0g.js} +53 -53
  33. package/web/app/immutable/chunks/{D7wcXEUr.js → BR02ohTI.js} +1 -1
  34. package/web/app/immutable/chunks/{CRTEJPHA.js → BR1TNOav.js} +1 -1
  35. package/web/app/immutable/chunks/BT5v4htV.js +1 -0
  36. package/web/app/immutable/chunks/{Psr77Z1X.js → BVXrO_xP.js} +1 -1
  37. package/web/app/immutable/chunks/{BLv7f62Z.js → BWFaOHKx.js} +1 -1
  38. package/web/app/immutable/chunks/{yOonr4tS.js → BWfc0sSK.js} +1 -1
  39. package/web/app/immutable/chunks/{DU_cYENL.js → Ba3e0br1.js} +5 -5
  40. package/web/app/immutable/chunks/{C9UZoxqu.js → Bauem7Ke.js} +1 -1
  41. package/web/app/immutable/chunks/{Dz9x1eR4.js → BbYWP3Ow.js} +1 -1
  42. package/web/app/immutable/chunks/BbhtQrkZ.js +6 -0
  43. package/web/app/immutable/chunks/{o2-I6h0N.js → BdNfyyl1.js} +1 -1
  44. package/web/app/immutable/chunks/{big6nIIy.js → BdQ54KL0.js} +1 -1
  45. package/web/app/immutable/chunks/{nxvUsKcZ.js → Be-9sO50.js} +1 -1
  46. package/web/app/immutable/chunks/{alqbgjrN.js → Beb33qQi.js} +1 -1
  47. package/web/app/immutable/chunks/{UJ0k3Qud.js → BhCMc9G0.js} +1 -1
  48. package/web/app/immutable/chunks/BhVbCtBE.js +1 -0
  49. package/web/app/immutable/chunks/{DJCr4XPV.js → BiYZcl7D.js} +1 -1
  50. package/web/app/immutable/chunks/{CFArS1mZ.js → BkYN9M7z.js} +2 -2
  51. package/web/app/immutable/chunks/{BMyJogTr.js → BksTLNI4.js} +1 -1
  52. package/web/app/immutable/chunks/{CgpdwzlC.js → BlTdGk3A.js} +1 -1
  53. package/web/app/immutable/chunks/{DMxa_WW_.js → Bm_geQt1.js} +2 -2
  54. package/web/app/immutable/chunks/Bmlx0yvl.js +2 -0
  55. package/web/app/immutable/chunks/{DPhsGkGk.js → BniyCzQ9.js} +1 -1
  56. package/web/app/immutable/chunks/{Ca8LQU_k.js → BoCCPZlL.js} +1 -1
  57. package/web/app/immutable/chunks/{BUCW0wKH.js → BpMXdC4H.js} +1 -1
  58. package/web/app/immutable/chunks/{CZ6MUIg2.js → Bq2Q6gce.js} +1 -1
  59. package/web/app/immutable/chunks/{k9WXffYo.js → BrMDTgLg.js} +1 -1
  60. package/web/app/immutable/chunks/{CSeQ6fVV.js → BsY6roFy.js} +1 -1
  61. package/web/app/immutable/chunks/{Ci82uJM3.js → BtmHyUSg.js} +1 -1
  62. package/web/app/immutable/chunks/{Cah19Qux.js → Bviyt-Xy.js} +1 -1
  63. package/web/app/immutable/chunks/{DVqkJDVT.js → BwCICkMn.js} +8 -8
  64. package/web/app/immutable/chunks/{BQDKsQdE.js → BwVhyX7o.js} +1 -1
  65. package/web/app/immutable/chunks/ByZRLPfm.js +13 -0
  66. package/web/app/immutable/chunks/{CcNxrHIL.js → ByyFoG6W.js} +1 -1
  67. package/web/app/immutable/chunks/{DYu0VnZ5.js → BzWT_wQw.js} +1 -1
  68. package/web/app/immutable/chunks/{B49CUktc.js → C-HR_nje.js} +1 -1
  69. package/web/app/immutable/chunks/{B3K7_JP4.js → C2UL5Ler.js} +13 -13
  70. package/web/app/immutable/chunks/{bMZUbxIs.js → C3dytrTL.js} +1 -1
  71. package/web/app/immutable/chunks/{xQhx6K61.js → C3vs7E1W.js} +1 -1
  72. package/web/app/immutable/chunks/{C0AUQZ53.js → C4JKtRY1.js} +1 -1
  73. package/web/app/immutable/chunks/{Cj3bM-Zt.js → C4UYdkwZ.js} +1 -1
  74. package/web/app/immutable/chunks/{CBq8Km8c.js → C4sNRwZN.js} +1 -1
  75. package/web/app/immutable/chunks/{j5i4TEa8.js → C6RhewOE.js} +1 -1
  76. package/web/app/immutable/chunks/{DxMjS0Pm.js → C8A41C8K.js} +1 -1
  77. package/web/app/immutable/chunks/{DkXzy_Gt.js → C9szebIt.js} +1 -1
  78. package/web/app/immutable/chunks/{C_nSNvQ3.js → CB2iSm6U.js} +2 -2
  79. package/web/app/immutable/chunks/{B2KfKpOG.js → CDwhmkPo.js} +1 -1
  80. package/web/app/immutable/chunks/{Q6zM48G9.js → CFjHgtjF.js} +4 -4
  81. package/web/app/immutable/chunks/{UxV1HNfb.js → CIuThArl.js} +28 -28
  82. package/web/app/immutable/chunks/{BkPn8_Se.js → CJ9ZGIU3.js} +22 -22
  83. package/web/app/immutable/chunks/CM3NPzxs.js +1 -0
  84. package/web/app/immutable/chunks/{B6blQkaw.js → CRPk37P7.js} +1 -1
  85. package/web/app/immutable/chunks/CRSiOiSR.js +1 -0
  86. package/web/app/immutable/chunks/{DUbMVsk9.js → CS9nZ0mb.js} +1 -1
  87. package/web/app/immutable/chunks/{D9zIaPA4.js → CUE71p7a.js} +1 -1
  88. package/web/app/immutable/chunks/{DipTZipA.js → CVWwz1Ss.js} +1 -1
  89. package/web/app/immutable/chunks/{BCO6MiJi.js → CWsj4Hb7.js} +1 -1
  90. package/web/app/immutable/chunks/{XTW5roGp.js → CXfRSojK.js} +1 -1
  91. package/web/app/immutable/chunks/{Cq_g40U8.js → CYxt6gzD.js} +1 -1
  92. package/web/app/immutable/chunks/{BbUT7tLT.js → CdfbvT19.js} +1 -1
  93. package/web/app/immutable/chunks/{FkijJXdh.js → CeWx_dfN.js} +1 -1
  94. package/web/app/immutable/chunks/{loi-djHu.js → CeZGOup4.js} +1 -1
  95. package/web/app/immutable/chunks/{DsBP9KJQ.js → CfYmMj5F.js} +1 -1
  96. package/web/app/immutable/chunks/{CPOCLD3T.js → CgGsxeG7.js} +1 -1
  97. package/web/app/immutable/chunks/{ts9pKvJh.js → CgzHyieN.js} +1 -1
  98. package/web/app/immutable/chunks/{D_ht3M25.js → CheN8m7G.js} +1 -1
  99. package/web/app/immutable/chunks/{7-8cUxTO.js → Chj-azz7.js} +1 -1
  100. package/web/app/immutable/chunks/{DugE9z8T.js → Ci0dPfzv.js} +1 -1
  101. package/web/app/immutable/chunks/{D3lPsVN4.js → CiRuCsUo.js} +1 -1
  102. package/web/app/immutable/chunks/{lVUEwTET.js → CjPEI4fg.js} +1 -1
  103. package/web/app/immutable/chunks/{DUfqsoW8.js → CkTunFkP.js} +1 -1
  104. package/web/app/immutable/chunks/CmBouCgt.js +2 -0
  105. package/web/app/immutable/chunks/{WULeRaWs.js → Cmw8ZiCg.js} +1 -1
  106. package/web/app/immutable/chunks/{DJz92Kg0.js → Cn4A9AjR.js} +1 -1
  107. package/web/app/immutable/chunks/CndXvgyH.js +12 -0
  108. package/web/app/immutable/chunks/{C-9CUgEH.js → Cp1B7D7t.js} +2 -2
  109. package/web/app/immutable/chunks/{C4K5_BxH.js → Cp5royN1.js} +1 -1
  110. package/web/app/immutable/chunks/{Dz_XrTI6.js → CqqkIXTJ.js} +1 -1
  111. package/web/app/immutable/chunks/CrK7N1sc.js +1 -0
  112. package/web/app/immutable/chunks/{Bl0JLobe.js → CrpG0ldr.js} +1 -1
  113. package/web/app/immutable/chunks/{CONcCUKk.js → Crz8kvLc.js} +1 -1
  114. package/web/app/immutable/chunks/{DTxjOiRH.js → Ctp-YfoS.js} +3 -3
  115. package/web/app/immutable/chunks/{B0fKMUbz.js → CwEjDuJ3.js} +1 -1
  116. package/web/app/immutable/chunks/Cy--ZUaj.js +2 -0
  117. package/web/app/immutable/chunks/{BohdTsJs.js → CzFnnQhI.js} +1 -1
  118. package/web/app/immutable/chunks/{CWwM8FRm.js → CzJm3Kxa.js} +1 -1
  119. package/web/app/immutable/chunks/{pI1-Ias6.js → D-q3diCz.js} +7 -7
  120. package/web/app/immutable/chunks/{BfBRsDbv.js → D17rwSNZ.js} +1 -1
  121. package/web/app/immutable/chunks/{rarafMnz.js → D2McplNW.js} +1 -1
  122. package/web/app/immutable/chunks/{ekoFDkzg.js → D2YDfFKv.js} +1 -1
  123. package/web/app/immutable/chunks/{DnOdQmdW.js → D36a16oA.js} +2 -2
  124. package/web/app/immutable/chunks/{CvpYq92u.js → D3shmp0V.js} +1 -1
  125. package/web/app/immutable/chunks/{CLO80vIO.js → D3vsaFn3.js} +1 -1
  126. package/web/app/immutable/chunks/{fvo80nOp.js → D4d1iyeR.js} +1 -1
  127. package/web/app/immutable/chunks/{DqYxTMZw.js → D4ytz2EC.js} +1 -1
  128. package/web/app/immutable/chunks/{FUsdAFUM.js → D5dii3q-.js} +1 -1
  129. package/web/app/immutable/chunks/D63urNNT.js +1 -0
  130. package/web/app/immutable/chunks/{Du8gfHWh.js → D7QZQ0zf.js} +1 -1
  131. package/web/app/immutable/chunks/{CIlqNohY.js → D7b2VLAz.js} +1 -1
  132. package/web/app/immutable/chunks/{DthwyZkm.js → D8EdnE4r.js} +1 -1
  133. package/web/app/immutable/chunks/{D_jbKDL6.js → DBwApbzS.js} +1 -1
  134. package/web/app/immutable/chunks/{JNgcLoIR.js → DCFeaWgZ.js} +1 -1
  135. package/web/app/immutable/chunks/{BR5drfgy.js → DCLLUF6K.js} +1 -1
  136. package/web/app/immutable/chunks/{DwYVNqD8.js → DCs992HX.js} +1 -1
  137. package/web/app/immutable/chunks/DDVnHnMH.js +5 -0
  138. package/web/app/immutable/chunks/DFh0CfhB.js +1 -0
  139. package/web/app/immutable/chunks/{2KaAZLR-.js → DHz7ym-I.js} +1 -1
  140. package/web/app/immutable/chunks/{pXRM_ktM.js → DIPIWs2Q.js} +4 -4
  141. package/web/app/immutable/chunks/{Do_lk8OO.js → DJ9ILql1.js} +1 -1
  142. package/web/app/immutable/chunks/{BuPCiCZt.js → DM3Yrkkb.js} +1 -1
  143. package/web/app/immutable/chunks/{DnEc5FO1.js → DMrzeQEi.js} +1 -1
  144. package/web/app/immutable/chunks/{0PlO4O3i.js → DN-c0DDt.js} +1 -1
  145. package/web/app/immutable/chunks/{DPA7Wx7i.js → DOmB999d.js} +1 -1
  146. package/web/app/immutable/chunks/{C6aNGAOC.js → DQw0Iiac.js} +2 -2
  147. package/web/app/immutable/chunks/{B0Uv1AyY.js → DRND1Lha.js} +1 -1
  148. package/web/app/immutable/chunks/{CThyVptW.js → DRbQVjcG.js} +1 -1
  149. package/web/app/immutable/chunks/{BL19ZvCq.js → DUJ7Uicl.js} +5 -5
  150. package/web/app/immutable/chunks/DVsXJTH5.js +1 -0
  151. package/web/app/immutable/chunks/{Cr0pYxvG.js → DZKOpbCv.js} +1 -1
  152. package/web/app/immutable/chunks/{Dkwq1aon.js → DZOkhMcO.js} +1 -1
  153. package/web/app/immutable/chunks/{BYTf4lKv.js → DZz-0U7K.js} +1 -1
  154. package/web/app/immutable/chunks/{D66KCqXw.js → Da5bNPjQ.js} +1 -1
  155. package/web/app/immutable/chunks/{DX9jQ0PS.js → DaWmj23r.js} +1 -1
  156. package/web/app/immutable/chunks/{DmyX6ZHD.js → Dd-LQrG1.js} +1 -1
  157. package/web/app/immutable/chunks/{KlB4Fhnb.js → DdNhEgdc.js} +1 -1
  158. package/web/app/immutable/chunks/{CZU3aMzM.js → DfheqyY9.js} +1 -1
  159. package/web/app/immutable/chunks/{DH-IPuJJ.js → Dfp6ssYD.js} +1 -1
  160. package/web/app/immutable/chunks/{CFwpAHza.js → Di3tMG_J.js} +1 -1
  161. package/web/app/immutable/chunks/{gMSGQkcm.js → Dl8k4QUp.js} +1 -1
  162. package/web/app/immutable/chunks/{Cl88aId_.js → Dp7Hm0g0.js} +1 -1
  163. package/web/app/immutable/chunks/{BwGrKGev.js → DpCic98X.js} +1 -1
  164. package/web/app/immutable/chunks/{CahSXEZY.js → DqRvDwkX.js} +1 -1
  165. package/web/app/immutable/chunks/{KHaGo8p4.js → Dqi2LMpO.js} +2 -2
  166. package/web/app/immutable/chunks/{BgGvUY8M.js → DrF6vLLb.js} +1 -1
  167. package/web/app/immutable/chunks/{Cm3tXeMM.js → Dsyh_lG5.js} +1 -1
  168. package/web/app/immutable/chunks/{DjVRdKmG.js → DtXgUHCj.js} +1 -1
  169. package/web/app/immutable/chunks/{COujhQNX.js → DtluaQEg.js} +4 -4
  170. package/web/app/immutable/chunks/{BtXBr5gW.js → DuaPhBil.js} +1 -1
  171. package/web/app/immutable/chunks/{g0WwLJKD.js → DxyD9o0t.js} +1 -1
  172. package/web/app/immutable/chunks/{DbRN_fBN.js → GnUYJfg_.js} +1 -1
  173. package/web/app/immutable/chunks/HYdiaHV7.js +3 -0
  174. package/web/app/immutable/chunks/{wKnHEtxm.js → Jg5r77fy.js} +1 -1
  175. package/web/app/immutable/chunks/{yvk0NmWm.js → JrdZaYjT.js} +1 -1
  176. package/web/app/immutable/chunks/{ChgSqVu2.js → KZwZoyIt.js} +1 -1
  177. package/web/app/immutable/chunks/{CgXlgTpj.js → KnkAG0HD.js} +1 -1
  178. package/web/app/immutable/chunks/KvHDUk_b.js +2 -0
  179. package/web/app/immutable/chunks/{Csg_svg6.js → Ll0WtNFW.js} +1 -1
  180. package/web/app/immutable/chunks/{AuPnYXvq.js → Nthsb-68.js} +1 -1
  181. package/web/app/immutable/chunks/{B-DC5RDK.js → R-UFG3MB.js} +1 -1
  182. package/web/app/immutable/chunks/{Dre9I3wQ.js → R69_F6ow.js} +1 -1
  183. package/web/app/immutable/chunks/{B5XUeaKM.js → T6fchQhT.js} +2 -2
  184. package/web/app/immutable/chunks/{B5M97fab.js → T7iqVsMb.js} +1 -1
  185. package/web/app/immutable/chunks/{BhvXSFFd.js → TB9r2XJy.js} +2 -2
  186. package/web/app/immutable/chunks/{CS2-6GJW.js → TBtn8giw.js} +1 -1
  187. package/web/app/immutable/chunks/{DnebYpJB.js → X0RLj3lE.js} +1 -1
  188. package/web/app/immutable/chunks/Z2wqUYyr.js +2 -0
  189. package/web/app/immutable/chunks/{CdcEumin.js → Z4vtXCdu.js} +1 -1
  190. package/web/app/immutable/chunks/_UjuBCOJ.js +1 -0
  191. package/web/app/immutable/chunks/{klTuOngC.js → aZdb_rCN.js} +1 -1
  192. package/web/app/immutable/chunks/{D3tfczF3.js → dEPZ-XrU.js} +1 -1
  193. package/web/app/immutable/chunks/{CTDDNWu2.js → etz9IKpr.js} +1 -1
  194. package/web/app/immutable/chunks/{Bfu4Gbpb.js → fCCFSMRf.js} +3 -3
  195. package/web/app/immutable/chunks/{HA0DfJ2t.js → g-pOypvE.js} +1 -1
  196. package/web/app/immutable/chunks/{B4p5jAE9.js → gsePksRf.js} +1 -1
  197. package/web/app/immutable/chunks/{BM_biE0y.js → hgE6oWwa.js} +1 -1
  198. package/web/app/immutable/chunks/{sKA-ObYb.js → hkJYqn41.js} +1 -1
  199. package/web/app/immutable/chunks/{D5b9qBIq.js → i5FUlYpy.js} +1 -1
  200. package/web/app/immutable/chunks/{BfhtD4DE.js → iIsyEXfi.js} +1 -1
  201. package/web/app/immutable/chunks/k1pjOtcg.js +2 -0
  202. package/web/app/immutable/chunks/mq9vi3Up.js +4 -0
  203. package/web/app/immutable/chunks/{CSIMWELR.js → nfiajAfR.js} +1 -1
  204. package/web/app/immutable/chunks/{DREHsvwt.js → nxtepGjE.js} +1 -1
  205. package/web/app/immutable/chunks/{Db1LGTgG.js → oBc79yRV.js} +1 -1
  206. package/web/app/immutable/chunks/{CSKrS9aV.js → oEGQGYxq.js} +1 -1
  207. package/web/app/immutable/chunks/{CuL2i1ch.js → pfX_M-aK.js} +1 -1
  208. package/web/app/immutable/chunks/{DIdR5gOD.js → qWMP3EPi.js} +1 -1
  209. package/web/app/immutable/chunks/{Bm0gGnEs.js → qhd9g-fv.js} +1 -1
  210. package/web/app/immutable/chunks/{CPR6kk_T.js → qtHim0jP.js} +1 -1
  211. package/web/app/immutable/chunks/{B3Jjdo5U.js → s6Wn05Cg.js} +2 -2
  212. package/web/app/immutable/chunks/{CJubsryt.js → sQSEv8Vy.js} +5 -5
  213. package/web/app/immutable/chunks/{CihSsq_c.js → tCg_s90g.js} +1 -1
  214. package/web/app/immutable/chunks/{D3CypRQj.js → ublLekYt.js} +1 -1
  215. package/web/app/immutable/chunks/{BOROOVR9.js → uftNwUIw.js} +1 -1
  216. package/web/app/immutable/chunks/{BVaTfwe9.js → uvhZkGDU.js} +2 -2
  217. package/web/app/immutable/chunks/{DDeZr78m.js → vJJhwCPu.js} +1 -1
  218. package/web/app/immutable/chunks/{DkdNV_U4.js → vj8NdGWd.js} +1 -1
  219. package/web/app/immutable/chunks/{BmVm-Xb9.js → vpQRVk8F.js} +1 -1
  220. package/web/app/immutable/chunks/{Ojuc-F9K.js → wX0L7qir.js} +3 -3
  221. package/web/app/immutable/chunks/{B1B2tR2P.js → x0vz7jUI.js} +1 -1
  222. package/web/app/immutable/chunks/{D5a_4V3Z.js → xXDRZ4UR.js} +1 -1
  223. package/web/app/immutable/chunks/{GMS9kh4f.js → zA4TFq_E.js} +2 -2
  224. package/web/app/immutable/entry/app.Beuvfwpq.js +4 -0
  225. package/web/app/immutable/entry/start.dSf-uLxv.js +1 -0
  226. package/web/app/immutable/nodes/{0.CZkIfk8Y.js → 0.cL5zt7Bt.js} +1 -1
  227. package/web/app/immutable/nodes/{1.DsBryxJC.js → 1.Dj9s42wq.js} +1 -1
  228. package/web/app/immutable/nodes/{10.BouqyFdq.js → 10.CQpwV39P.js} +18 -18
  229. package/web/app/immutable/nodes/{11.DVteTP5Z.js → 11.ryjds32c.js} +4 -4
  230. package/web/app/immutable/nodes/{13.ptNmqZph.js → 13.jK1i4wo4.js} +1 -1
  231. package/web/app/immutable/nodes/{14.C60Y_MCU.js → 14.DdHtnE9x.js} +1 -1
  232. package/web/app/immutable/nodes/{15.vdYCFIAo.js → 15.ffzaVnT8.js} +1 -1
  233. package/web/app/immutable/nodes/{16.BHeY8GWk.js → 16.DFPLVaTv.js} +1 -1
  234. package/web/app/immutable/nodes/{17.De1hIcCz.js → 17.Dylz7DBe.js} +1 -1
  235. package/web/app/immutable/nodes/{18.CSiSULsM.js → 18.CxblUMg0.js} +1 -1
  236. package/web/app/immutable/nodes/{19.BzhIGKWf.js → 19.COuvk-IK.js} +2 -2
  237. package/web/app/immutable/nodes/{2.DrLLJODs.js → 2.CyeHTGza.js} +11 -11
  238. package/web/app/immutable/nodes/{20.C1njt326.js → 20.CXw8Twm7.js} +1 -1
  239. package/web/app/immutable/nodes/{3.CwnUfLZi.js → 3.Cli5S3q6.js} +1 -1
  240. package/web/app/immutable/nodes/{4.BKuWUXgs.js → 4.DnwVlUKb.js} +1 -1
  241. package/web/app/immutable/nodes/5.BBLKg00X.js +1 -0
  242. package/web/app/immutable/nodes/{6.B0Ra98Z1.js → 6.D_zrx8Je.js} +2 -2
  243. package/web/app/immutable/nodes/{7.fJBI0akH.js → 7.CbiG1FxN.js} +1 -1
  244. package/web/app/immutable/nodes/{8.CGqCPOoO.js → 8.BqucsZP2.js} +1 -1
  245. package/web/app/immutable/nodes/{9.D1ubXHAz.js → 9.YctElBWI.js} +4 -4
  246. package/web/app/version.json +1 -1
  247. package/web/index.html +12 -12
  248. package/web/app/immutable/chunks/66ia1joD.js +0 -5
  249. package/web/app/immutable/chunks/8HAvvSzV.js +0 -411
  250. package/web/app/immutable/chunks/AprTGyyw.js +0 -2
  251. package/web/app/immutable/chunks/B7eueH-o.js +0 -12
  252. package/web/app/immutable/chunks/BTlwEESv.js +0 -2
  253. package/web/app/immutable/chunks/BYLBGCLl.js +0 -1
  254. package/web/app/immutable/chunks/BZCMFrfO.js +0 -1
  255. package/web/app/immutable/chunks/BhyNZfPE.js +0 -2
  256. package/web/app/immutable/chunks/BnRr64jv.js +0 -1
  257. package/web/app/immutable/chunks/CCfiEL_H.js +0 -3
  258. package/web/app/immutable/chunks/CEFRvkrn.js +0 -2
  259. package/web/app/immutable/chunks/CFPxKCYR.js +0 -1
  260. package/web/app/immutable/chunks/CJDEvb-Q.js +0 -2
  261. package/web/app/immutable/chunks/CKQfIyvh.js +0 -1
  262. package/web/app/immutable/chunks/CLwSZ8qQ.js +0 -1
  263. package/web/app/immutable/chunks/CaF73o7d.js +0 -13
  264. package/web/app/immutable/chunks/CeQeE8PY.js +0 -1
  265. package/web/app/immutable/chunks/Cgj3WZRk.js +0 -1
  266. package/web/app/immutable/chunks/Csw_wMoM.js +0 -2
  267. package/web/app/immutable/chunks/CxkFheMN.js +0 -1
  268. package/web/app/immutable/chunks/DmkTrs6I.js +0 -2
  269. package/web/app/immutable/chunks/DypB-Dwi.js +0 -1
  270. package/web/app/immutable/chunks/lNtFAHH9.js +0 -4
  271. package/web/app/immutable/chunks/nRNuB5kp.js +0 -2
  272. package/web/app/immutable/chunks/oOxvDsoj.js +0 -6
  273. package/web/app/immutable/entry/app.BszOT5UA.js +0 -4
  274. package/web/app/immutable/entry/start.BtnupdoQ.js +0 -1
  275. package/web/app/immutable/nodes/5.DBOSwfI-.js +0 -1
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/2sf1Yn-s.js","/app/immutable/chunks/CLAmm_T1.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B9vHutcJ.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BBFoj-dS.js","/app/immutable/chunks/BwNrQXlF.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/BF_gPEg7.js","/app/immutable/chunks/C2UL5Ler.js","/app/immutable/chunks/_UjuBCOJ.js","/app/immutable/chunks/DPttSllj.js","/app/immutable/chunks/BwH4Bvte.js","/app/immutable/chunks/BFgvMDua.js","/app/immutable/chunks/CcJmuwXr.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/B1CKzIA2.js","/app/immutable/chunks/TB9r2XJy.js","/app/immutable/chunks/UTM5G-w-.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BGrimfDs.js","/app/immutable/chunks/Cu5e4npY.js","/app/immutable/chunks/DQw0Iiac.js","/app/immutable/chunks/aZdb_rCN.js","/app/immutable/chunks/BPQFiQQc.js","/app/immutable/chunks/KnkAG0HD.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/Cy--ZUaj.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/96V4v2iI.js","/app/immutable/chunks/nxtepGjE.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CIbfGsF-.js","/app/immutable/chunks/BbYWP3Ow.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CfNIzRu8.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/4VEtxogG.js","/app/immutable/chunks/mfOfLDEg.js","/app/immutable/chunks/CjPEI4fg.js","/app/immutable/chunks/Dd-LQrG1.js","/app/immutable/chunks/D2YDfFKv.js","/app/immutable/chunks/DaWmj23r.js","/app/immutable/chunks/C4jSaPCg.js","/app/immutable/chunks/DtXgUHCj.js","/app/immutable/chunks/hkJYqn41.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/CgrVbtN0.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/CEE0831H.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/BpMXdC4H.js","/app/immutable/chunks/DtzJzV-4.js","/app/immutable/chunks/BtmHyUSg.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js"])))=>i.map(i=>d[i]);
2
+ import{t as Da,bo as i,bw as Ra,bp as Rr,b as Wa,br as Un,bs as Y,bq as dn,bm as d,_ as co}from"./CLAmm_T1.js";import{bs as Aa,a5 as le,aD as e,bA as V,W as f,bn as Ma,aA as s,c9 as c,aB as D,ay as x,bl as Xt,bS as b,b_ as me,bO as dt,ca as mt,a7 as je,cd as Cn,be as Ga,b$ as sn,ai as Wr,bV as K,br as Sa,bj as Ar,aw as Qe,a as fo,aj as Ia,bH as o,bf as Ca,c0 as Tn,am as ir,ax as sr,aC as Mr,aG as go,c5 as kn,cb as Er,bk as po}from"./3SdAC2_C.js";import{i as I}from"./BFgvMDua.js";import{f as ga,ae as $n}from"./nxtepGjE.js";import{w as Ta,F as ho}from"./TB9r2XJy.js";import{b as vo,e as fa,f as Zt,s as Fe,c as Oa,g as Sn}from"./CcJmuwXr.js";import{C as mo,F as za,aV as dr,d3 as bo,bg as Zn,au as _o,a_ as yo,aZ as gn,bo as wo,a8 as Ln,bb as ur,d1 as To,aY as Po,a0 as ko,a2 as xo,cI as Io,c6 as Co,cn as cr,cK as fr,bv as gr}from"./DPttSllj.js";import{g as Xa,e as hn}from"./B1CKzIA2.js";import{t as ra}from"./BwNrQXlF.js";import{b as zn}from"./Dn334wJv.js";import{B as pr,a as So}from"./D672CX3Y.js";import{k as On}from"./CIbfGsF-.js";import{c as xe}from"./BwH4Bvte.js";import{o as hr,t as Fn}from"./DAsc1V4f.js";import{I as vr}from"./DaWmj23r.js";import"./C4jSaPCg.js";import{K as zo,f as pn,G as ja,e as mr,h as qa,l as Do,d as Ro,M as Wo}from"./Dd-LQrG1.js";import{i as rn}from"./CL3a4Hm1.js";import{w as br}from"./Bqd7fdCF.js";import{m as ve}from"./96V4v2iI.js";import{c as Ao}from"./ChTqQfQN.js";import"./BbYWP3Ow.js";import{JH as Ce,rV as Mo,s4 as _r,Jw as yr,mO as Kn,Ki as Eo,tl as Bo,JM as $o,v1 as Lo,vq as Oo,KJ as Fo,v8 as Ho,tI as No,HZ as Hn,He as Uo,GI as Zo,BH as wr}from"./B9vHutcJ.js";import{D as Ko}from"./CjPEI4fg.js";import{o as jo,S as qo}from"./mq9vi3Up.js";import{selectIsDragging as Br}from"./aZdb_rCN.js";import{o as Tr}from"./C3dytrTL.js";import{Y as Pr,ah as Go,w as Vo}from"./Bm_geQt1.js";import{b as Xo}from"./D4WPlvMg.js";import{i as Yo}from"./DKwAaLwd.js";import{A as Jo,b as Qo}from"./BhCMc9G0.js";import{bZ as el,v as tl,bL as al,bR as nl,ck as rl,ci as ol,cf as kr,cg as xr}from"./BQGIKN0g.js";import{aO as ll,aJ as il,cB as sl,a_ as $r,dI as dl}from"./C2UL5Ler.js";import{l as ul}from"./Dqi2LMpO.js";import{B as cl}from"./GnUYJfg_.js";import{l as fl}from"./Cu5e4npY.js";import{u as gl}from"./BGrimfDs.js";import{t as Ir}from"./DRND1Lha.js";import{t as on}from"./H2jLkRRS.js";import{bK as pl}from"./BF_gPEg7.js";import{e as zt}from"./CYxt6gzD.js";import{R as xn,g as jn}from"./Lai6pqjy.js";import{M as Nn}from"./B6dUCFoz.js";import{i as hl,M as vl,P as Cr,g as ml,u as bl,b as _l,a as yl}from"./DJ9ILql1.js";import{E as wl}from"./BpMXdC4H.js";import"./DtzJzV-4.js";import{A as Tl,j as Pl}from"./BPQFiQQc.js";import{f as kl}from"./CgGsxeG7.js";import{c as xl}from"./DWGXN6Nr.js";import{a as Il,c as Cl}from"./dEPZ-XrU.js";import{s as Sl}from"./DgAgTFcK.js";import{k as Sr,n as zl,h as Dl}from"./CfNIzRu8.js";var Rl=new Set(["$$slots","$$events","$$legacy","expanded","class"]),Wl=D("<span><!></span>");function Lr(m,r){if(new.target)return Da({component:Lr,...m});Aa(r,!0);let B=i(r,"expanded",7),k=i(r,"class",7),z=Rr(r,Rl);var y={get expanded(){return B()},set expanded(R){B(R),s()},get class(){return k()},set class(R){k(R),s()},$set:Ra,$on:(R,w)=>Wa(r,R,w)},C=Wl();vo(C,R=>({...z,"data-disclosure-icon":!0,"aria-hidden":"true",class:R}),[()=>fa("inline-flex size-3 shrink-0 items-center justify-center text-muted-foreground",k())]);var We=le(C);{let R=c(()=>B()?"":"-rotate-90");mo(We,{size:10,weight:"regular",mirrored:!1,style:"width: 0.625rem; height: 0.625rem;","aria-hidden":"true",focusable:"false","data-owns-stroke":!0,"data-disclosure-glyph":!0,get class(){return`transition-transform duration-spring-moderate ease-spring-moderate motion-reduce:transition-none ${e(R)??""}`}})}return V(C),f(m,C),Ma(y)}var Al=new Set(["$$slots","$$events","$$legacy","title","label","meta","expanded","onclick"]),Ml=D('<span class="min-w-4 shrink-0 text-center type-caption font-normal leading-none tabular-nums text-muted-foreground"> </span>'),El=D('<span class="min-w-0 flex-1 truncate text-left"> </span> <!> <!>',1);function Bl(m,r){if(new.target)return Da({component:Bl,...m});Aa(r,!0);let B=i(r,"title",7),k=i(r,"label",7),z=i(r,"meta",7),y=i(r,"expanded",7),C=i(r,"onclick",7),We=Rr(r,Al);var R={get title(){return B()},set title(w){B(w),s()},get label(){return k()},set label(w){k(w),s()},get meta(){return z()},set meta(w){z(w),s()},get expanded(){return y()},set expanded(w){y(w),s()},get onclick(){return C()},set onclick(w){C(w),s()},$set:Ra,$on:(w,ee)=>Wa(r,w,ee)};return ga(m,Un(()=>We,{variant:"ghost",size:"compact",class:"h-8 w-full justify-start gap-2 px-2 type-caption font-normal text-muted-foreground hover:text-foreground",get"aria-expanded"(){return y()},get"aria-label"(){return k()},get onclick(){return C()},"data-sidebar-group-header":!0,children:(w,ee)=>{var S=El(),F=x(S),be=Xt(F,!0),ge=b(F,2);{var qe=j=>{var W=Ml(),ie=Xt(W,!0);me(()=>dt(ie,z())),f(j,W)};I(ge,j=>{z()&&j(qe)})}var Be=b(ge,2);Lr(Be,{get expanded(){return y()}}),me(()=>dt(be,B())),f(w,S)},$$slots:{default:!0}})),Ma(R)}const qn="application/x-panel-tab",Or="data-pane-drag-image",ln=.2,Pn=.03,$l=40;function Rs(m,r,B=!0){if(!B||m.width<=0||r.length===0)return[];const k=r.map(ee=>({left:ee.left,right:ee.left+ee.width})),z=k[0],y=k.at(-1);if(!z||!y)return[];const C=[z.left,...k.slice(1).map((ee,S)=>(k[S].right+ee.left)/2),y.right].map(ee=>Math.max(m.left,Math.min(m.left+m.width,ee))),We=C.slice(1).reduce((ee,S,F)=>Math.min(ee,S-C[F]),1/0),R=Math.min($l,m.width,Number.isFinite(We)?Math.max(1,We/2):m.width),w=Math.max(0,m.width-R);return C.map((ee,S)=>({index:S,left:Math.max(0,Math.min(w,ee-m.left-R/2)),width:R}))}function Ll(m,r,B){const k=m-r.left;return B.find(z=>k>=z.left&&k<=z.left+z.width)??null}function Ol(m,r){if(m===0)return{kind:"edge",position:"before"};if(m===r.length)return{kind:"edge",position:"after"};const B=r[m];return B?{kind:"panel",targetPanelId:B,zone:"left"}:null}function Ws(m,r,B,k){const z=Ll(m,r,B);return z?Ol(z.index,k):null}function Fl(m,r,B=!0,k=null){if(!B)return"center";const z=Math.max(0,Math.min(1,r.width>0?(m-r.left)/r.width:.5));return k==="left"&&z<=ln+Pn?"left":k==="right"&&z>=1-ln-Pn?"right":k==="center"&&z>=ln-Pn&&z<=1-ln+Pn?"center":z<ln?"left":z>1-ln?"right":"center"}let Xn=null;function Hl(m){Xn=m}function Fr(){Xn=null,!(typeof document>"u")&&document.querySelectorAll(`[${Or}]`).forEach(m=>{m.remove()})}function Va(){return Xn}function Nl(m){const r=document.createElement("div");return r.setAttribute(Or,""),r.textContent=m,Object.assign(r.style,{position:"fixed",left:"-10000px",top:"-10000px",width:"220px",height:"32px",padding:"0 12px",display:"flex",alignItems:"center",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",border:"1px solid var(--border)",borderRadius:"8px",background:"var(--card)",color:"var(--card-foreground)",boxShadow:"var(--elevation-raised)",font:"500 12px/1 system-ui, sans-serif",pointerEvents:"none"}),document.body.append(r),r}function In(m,r){if(new.target)return Da({component:In,...m});Aa(r,!0);const B=()=>Y(w,"$session$",C),k=()=>Y(F,"$hasCapturedQuestion$",C),z=()=>Y(S,"$permissionCount$",C),y=()=>Y(ee,"$provider$",C),[C,We]=dn();let R=i(r,"agentId",7);const w=ll(R()),ee=il(R()),S=el(R()),F=ul(R()),be=c(()=>B()?.metadata?.specialist??B()?.agentMetadata?.specialist??null),ge=c(()=>k()||tl(Ce.state,R(),B()?.messages??[])),qe=c(()=>Qo(B(),{isActive:!0,hasPermissionRequest:z()>0,hasQuestion:e(ge)}));var Be={get agentId(){return R()},set agentId(W){R(W),s()},$set:Ra,$on:(W,ie)=>Wa(r,W,ie)};Jo(m,{get agentId(){return R()},variant:"emphasized",get state(){return e(qe)},get specialist(){return e(be)},get provider(){return y()}});var j=Ma(Be);return We(),j}function Gn(m,r){if(new.target)return Da({component:Gn,...m});Aa(r,!0);const B=()=>Y(S,"$multiplayer$",z),k=()=>Y(ee,"$unread$",z),[z,y]=dn();let C=i(r,"workspaceId",7),We=i(r,"conversationId",7);const R=Cn(""),w=Cn("default");mt(()=>R.set(C())),mt(()=>w.set(We()));const ee=al(R,w),S=gl();var F={get workspaceId(){return C()},set workspaceId(j){C(j),s()},get conversationId(){return We()},set conversationId(j){We(j),s()},$set:Ra,$on:(j,W)=>Wa(r,j,W)},be=je(),ge=x(be);{var qe=j=>{cl(j,{size:"compact",variant:"solid",color:"blue","data-discussion-unread-badge":!0,children:(W,ie)=>{Ga();var Le=sn();me(bt=>dt(Le,bt),[()=>d.workspace_discussion_jumpNew_label({count:fl(k().count)})]),f(W,Le)},$$slots:{default:!0}})};I(ge,j=>{B()&&k().count>0&&j(qe)})}f(m,be);var Be=Ma(F);return y(),Be}var Ul=D('<span data-resource-icon-tile="" aria-hidden="true"><span class="resource-icon-glyph svelte-slhtuz" data-resource-icon-glyph=""><!></span></span>');function Vn(m,r){if(new.target)return Da({component:Vn,...m});Aa(r,!0);let B=i(r,"kind",7),k=i(r,"variant",7,"standard"),z=i(r,"class",7,"");var y={get kind(){return B()},set kind(w){B(w),s()},get variant(){return k()},set variant(w="standard"){k(w),s()},get class(){return z()},set class(w=""){z(w),s()},$set:Ra,$on:(w,ee)=>Wa(r,w,ee)},C=Ul(),We=le(C),R=le(We);return za(R,{get icon(){return xn[B()]}}),V(We),V(C),me(()=>{Zt(C,1,`resource-icon-tile ${z()??""}`,"svelte-slhtuz"),Fe(C,"data-resource-kind",B()),Fe(C,"data-resource-icon-variant",k())}),f(m,C),Ma(y)}function Zl(m,r,B){if(m.type==="browser")return m.browserUrl?{kind:"browser",url:m.browserUrl}:{kind:"unavailable",reason:"missing-resource"};if(!B)return{kind:"unavailable",reason:"remote"};const k=m.workspaceId||r;if(!k)return{kind:"unavailable",reason:"missing-resource"};if(m.type==="file")return m.filePath?{kind:"path",filePath:m.filePath,workspaceId:k,isDirectory:!1}:{kind:"unavailable",reason:"missing-resource"};if(m.type==="diff"){const z=m.diffPath||m.filePath;return z?{kind:"path",filePath:z,workspaceId:k,isDirectory:!1,isDiff:!0}:{kind:"unavailable",reason:"missing-resource"}}return m.type==="note"||m.type==="agent"?{kind:"path",filePath:".",workspaceId:k,isDirectory:!0,isWorkspaceRoot:!0,workspaceFolderPath:"__WORKSPACE_ROOT__"}:{kind:"path",filePath:".",workspaceId:k,isDirectory:!0,isWorkspaceRoot:!0,workspaceFolderPath:"__WORKSPACE_ROOT__"}}var zr=D("<!> <!> <!>",1),wa=D("<!> <!>",1),Dr=D("<!> <!> <!> <!> <!>",1),Kl=Mr('<svg viewBox="0 0 16 16" fill="none" class="size-4!" aria-hidden="true"><g transform="rotate(-90 8 8)" stroke="currentColor" stroke-width="1.33"><path d="M3 8H12" stroke-linecap="square"></path><path d="M8.518 3 12.634 7.116C13.122 7.604 13.122 8.396 12.634 8.884L8.518 13" stroke-linejoin="round"></path></g></svg>'),jl=D('<!> <div class="panel-move-pad svelte-11borfu"></div>',1),ql=D('<!> <div data-panel-actions-section="open-in"><!></div>',1),Gl=Mr('<svg viewBox="0 0 16 16" fill="none" class="size-4!" aria-hidden="true"><path d="M3.5 3.5 6.5 6.5C7.328 7.328 7.328 8.672 6.5 9.5L3.5 12.5M12.5 12.5 9.5 9.5C8.672 8.672 8.672 7.328 9.5 6.5L12.5 3.5" stroke="currentColor" stroke-width="1.33"></path></svg>'),Vl=D('<span class="panel-header-leading-surface flex shrink-0 items-center justify-center svelte-11borfu" data-panel-header-leading-surface=""><!></span>'),Xl=D('<!> <span class="panel-selector-title min-w-0 flex-1 truncate text-left" data-panel-header-title=""> </span>',1),Yl=D('<span class="absolute right-0.5 top-0.5 size-1.5 rounded-full bg-primary" aria-hidden="true"></span>'),Jl=D('<!> <svg viewBox="0 0 8 14" fill="none" class="h-3.5! w-2! shrink-0 text-muted-foreground" aria-hidden="true"><path d="M6.532 4 4.332 1.067C3.932.533 3.132.533 2.732 1.067L.532 4M.532 10 2.732 12.933C3.132 13.467 3.932 13.467 4.332 12.933L6.532 10" stroke="currentColor" stroke-width="1.33" stroke-linejoin="round"></path></svg> <!>',1),Ql=D('<span class="panel-selector-row-avatar flex shrink-0 items-center justify-center svelte-11borfu"><!></span>'),ei=D('<span class="size-1.5 shrink-0 rounded-full bg-primary" aria-hidden="true"></span>'),ti=D('<span class="flex size-(--menu-icon-size) shrink-0 items-center justify-center" aria-hidden="true" data-pane-stack-current-check=""><!></span>'),ai=D('<span class="min-w-0 flex-1 truncate"> </span> <!> <!> <!>',1),ni=D('<div class="overflow-y-auto overscroll-contain" data-pane-stack-list=""></div>'),ri=D('<div class="panel-selector-button absolute inset-0 flex min-w-0 items-center bg-sidebar dark:bg-muted" data-panel-title-editor=""><!> <!> <span class="w-2 shrink-0" aria-hidden="true"></span></div>'),oi=D('<span data-panel-header-identity=""><!> <!></span>'),li=D('<div class="absolute left-0 top-1 bottom-1 w-0.5 bg-primary rounded-full z-10"></div>'),ii=D('<span class="tab-title font-medium truncate max-w-24"> </span>'),si=D('<span class="text-ui font-medium text-muted-foreground bg-muted px-1 py-0.5 rounded"> </span>'),di=D('<span class="unsaved-dot w-1.5 h-1.5 rounded-full bg-primary"></span>'),ui=D('<div class="absolute right-0 top-1 bottom-1 w-0.5 bg-primary rounded-full z-10"></div>'),ci=D('<div role="tab" tabindex="0"><!> <div><!> <!> <!> <!> <!> <!></div> <!></div>'),fi=D('<div class="flex items-center h-full px-1"><div class="w-0.5 h-5 bg-primary rounded-full"></div></div>'),gi=D('<span class="panel-header-leading-surface pointer-events-none flex shrink-0 items-center justify-center svelte-11borfu"><!></span>'),pi=D('<div draggable="true" data-panel-tabless-header="" data-panel-content-header="" role="group" data-pane-stack=""><!> <div class="min-w-0 flex-1" aria-hidden="true"></div> <!> <div class="flex shrink-0 items-center gap-0.5" data-panel-header-actions=""><!> <!></div></div>'),hi=D('<div data-panel-tabless-header="" data-empty-panel-header=""><div class="min-w-0 flex-1" aria-hidden="true"></div> <div class="flex shrink-0 items-center gap-0.5" data-panel-header-actions=""><!> <!></div></div>'),vi=D('<div class="panel-tab-wrapper flex flex-col svelte-11borfu"><div data-panel-tab-bar=""><div class="absolute inset-x-0 bottom-0 z-0"></div> <div class="relative flex-1 flex items-center z-10 min-w-0 overflow-x-auto scrollbar-none"><!> <!></div> <div class="shrink-0 h-full flex items-center"><div class="panel-actions flex items-center gap-0.5 px-1 z-20" data-panel-header-actions=""><!> <!></div></div></div> <!></div> <!>',1);function Hr(m,r){if(new.target)return Da({component:Hr,...m});Aa(r,!0);const B=()=>Y(wt,"$copyBrowserUrlShortcut$",be),k=()=>Y(Tt,"$closePaneShortcut$",be),z=()=>Y(pa,"$createColumnRightShortcut$",be),y=()=>Y(oa,"$movePaneLeftShortcut$",be),C=()=>Y(la,"$movePaneRightShortcut$",be),We=()=>Y(Jt,"$pagesMode$",be),R=()=>Y(A,"$workspaceAgents$",be),w=()=>Y(T,"$isWorkspaceHostLocal$",be),ee=()=>Y(Yt,"$tabWindowShortcut$",be),S=()=>Y(Bt,"$zoomPanelShortcut$",be),F=()=>Y(Ft,"$isDragging",be),[be,ge]=dn(),qe=(t,n=Ca)=>{{const h=(ae,$)=>{let q=()=>($?.()).props;{let O=c(()=>d.ui_breadcrumb_more_label());ga(ae,Un(q,{variant:"ghost-light",size:"icon-sm",wrapContent:!1,get"aria-label"(){return e(O)},class:"panel-header-action-button","data-testid":"panel-actions-trigger",children:(ke,Ye)=>{zo(ke,{class:"size-4!"})},$$slots:{default:!0}}))}},N=(ae,$)=>{let q=()=>($?.()).close;const O=Te=>{var Ze=je(),Ke=x(Ze);{var ht=oe=>{var Me=je(),U=x(Me);{let se=c(()=>d.workspace_notes_rename_label());xe(U,()=>Nn,(fe,$e)=>{$e(fe,{get icon(){return Co},iconWeight:"regular",get label(){return e(se)},onclick:async()=>{const E=e(P);q()(),await Tn(),await Jn(E)}})})}f(oe,Me)},Je=c(()=>e(P)&&An(e(P))&&Xe());I(Ke,oe=>{e(Je)&&oe(ht)})}f(Te,Ze)};var ke=Dr(),Ye=x(ke);{var ne=Te=>{var Ze=zr(),Ke=x(Ze);xe(Ke,()=>ja,(U,se)=>{se(U,{"data-panel-actions-section":"conversation",children:(fe,$e)=>{var E=zr(),J=x(E);xe(J,()=>pn,(Q,Z)=>{Z(Q,{alignIconColumn:!1,children:(he,vt)=>{Ga();var Ct=sn();me(Ee=>dt(Ct,Ee),[()=>d.dock_conversation_transcript_label()]),f(he,Ct)},$$slots:{default:!0}})});var u=b(J,2);O(u);var v=b(u,2);ra(v,()=>p().conversation,()=>e(jt)[n()]),f(fe,E)},$$slots:{default:!0}})});var ht=b(Ke,2);{var Je=U=>{var se=wa(),fe=x(se);xe(fe,()=>qa,(E,J)=>{J(E,{})});var $e=b(fe,2);xe($e,()=>ja,(E,J)=>{J(E,{"data-panel-actions-section":"settings",children:(u,v)=>{var Q=wa(),Z=x(Q);xe(Z,()=>pn,(vt,Ct)=>{Ct(vt,{alignIconColumn:!1,children:(Ee,St)=>{Ga();var Vt=sn();me(Ka=>dt(Vt,Ka),[()=>d.settings_page_title()]),f(Ee,Vt)},$$slots:{default:!0}})});var he=b(Z,2);ra(he,()=>p().display),f(u,Q)},$$slots:{default:!0}})}),f(U,se)};I(ht,U=>{p().display&&U(Je)})}var oe=b(ht,2);{var Me=U=>{var se=wa(),fe=x(se);xe(fe,()=>qa,(E,J)=>{J(E,{})});var $e=b(fe,2);xe($e,()=>ja,(E,J)=>{J(E,{"data-panel-actions-section":"agent",children:(u,v)=>{var Q=wa(),Z=x(Q);xe(Z,()=>pn,(vt,Ct)=>{Ct(vt,{alignIconColumn:!1,children:(Ee,St)=>{Ga();var Vt=sn();me(Ka=>dt(Vt,Ka),[()=>d.layout_tabTypes_agent_title()]),f(Ee,Vt)},$$slots:{default:!0}})});var he=b(Z,2);ra(he,()=>p().lifecycle),f(u,Q)},$$slots:{default:!0}})}),f(U,se)};I(oe,U=>{p().lifecycle&&U(Me)})}f(Te,Ze)},G=Te=>{var Ze=wa(),Ke=x(Ze);{var ht=U=>{var se=wa(),fe=x(se);xe(fe,()=>ja,(E,J)=>{J(E,{"data-panel-actions-section":"display",children:(u,v)=>{var Q=je(),Z=x(Q);ra(Z,()=>p().display),f(u,Q)},$$slots:{default:!0}})});var $e=b(fe,2);xe($e,()=>qa,(E,J)=>{J(E,{})}),f(U,se)};I(Ke,U=>{p()?.display&&U(ht)})}var Je=b(Ke,2);{var oe=U=>{var se=wa(),fe=x(se);xe(fe,()=>ja,(u,v)=>{v(u,{"data-panel-actions-section":"actions",children:(Q,Z)=>{var he=Dr(),vt=x(he);xe(vt,()=>pn,(Ka,En)=>{En(Ka,{alignIconColumn:!1,children:(Bn,Wi)=>{Ga();var lr=sn();me(uo=>dt(lr,uo),[()=>d.layout_panelTabBar_actionsSection_label()]),f(Bn,lr)},$$slots:{default:!0}})});var Ct=b(vt,2);O(Ct);var Ee=b(Ct,2);ra(Ee,()=>p()?.primary??Ca);var St=b(Ee,2);ra(St,()=>p()?.actions??Ca);var Vt=b(St,2);ra(Vt,()=>p()?.destructive??Ca),f(Q,he)},$$slots:{default:!0}})});var $e=b(fe,2);{var E=u=>{var v=je(),Q=x(v);xe(Q,()=>qa,(Z,he)=>{he(Z,{})}),f(u,v)},J=c(()=>e(Wt).some(u=>u.enabled));I($e,u=>{e(J)&&u(E)})}f(U,se)},Me=c(()=>e(P)&&An(e(P))&&Xe()||p()?.primary||p()?.actions||p()?.destructive);I(Je,U=>{e(Me)&&U(oe)})}f(Te,Ze)};I(Ye,Te=>{p()?.conversation?Te(ne):Te(G,-1)})}var Nt=b(Ye,2);{var Ut=Te=>{var Ze=wa(),Ke=x(Ze);{var ht=oe=>{var Me=je(),U=x(Me);xe(U,()=>qa,(se,fe)=>{fe(se,{})}),f(oe,Me)};I(Ke,oe=>{p()?.conversation&&oe(ht)})}var Je=b(Ke,2);xe(Je,()=>ja,(oe,Me)=>{Me(oe,{"data-panel-actions-section":"move",children:(U,se)=>{var fe=jl(),$e=x(fe);xe($e,()=>pn,(J,u)=>{u(J,{alignIconColumn:!1,children:(v,Q)=>{Ga();var Z=sn();me(he=>dt(Z,he),[()=>d.layout_panelTabBar_movePanel_label()]),f(v,Z)},$$slots:{default:!0}})});var E=b($e,2);Xa(E,21,()=>e(Wt),J=>J.direction,(J,u)=>{var v=je(),Q=x(v);{let Z=c(()=>!e(u).enabled);xe(Q,()=>mr,(he,vt)=>{vt(he,{get class(){return`panel-move-direction panel-move-${e(u).direction??""}`},get"aria-label"(){return e(u).label},get disabled(){return e(Z)},onSelect:()=>{Ea[n()]=e(u).move,q()()},children:(Ct,Ee)=>{var St=Kl();f(Ct,St)},$$slots:{default:!0}})})}f(J,v)}),V(E),f(U,fe)},$$slots:{default:!0}})}),f(Te,Ze)},It=c(()=>e(Wt).some(Te=>Te.enabled));I(Nt,Te=>{e(It)&&Te(Ut)})}var ua=b(Nt,2);{var Za=Te=>{var Ze=je(),Ke=x(Ze);{var ht=Je=>{const oe=c(()=>Zl(e(P),te(),w()));var Me=ql(),U=x(Me);xe(U,()=>qa,(u,v)=>{v(u,{})});var se=b(U,2),fe=le(se);{var $e=u=>{var v=je(),Q=x(v);{let Z=c(()=>d.layout_panelTabBar_openInBrowser_label());xe(Q,()=>Nn,(he,vt)=>{vt(he,{get icon(){return Ln},get label(){return e(Z)},iconWeight:"regular",onclick:()=>{_n(e(P)),q()()}})})}f(u,v)},E=u=>{var v=je(),Q=x(v);So(Q,()=>co(()=>import("./2sf1Yn-s.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,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]),import.meta.url),null,(Z,he)=>{const vt=c(()=>e(he).default);var Ct=je(),Ee=x(Ct);{let St=c(()=>e(oe).isDiff??!1),Vt=c(()=>e(oe).isWorkspaceRoot??!1),Ka=c(()=>e(oe).workspaceFolderPath??"");xe(Ee,()=>e(vt),(En,Bn)=>{Bn(En,{get filePath(){return e(oe).filePath},get workspaceId(){return e(oe).workspaceId},get isDirectory(){return e(oe).isDirectory},get isDiff(){return e(St)},get isWorkspaceRoot(){return e(Vt)},get workspaceFolderPath(){return e(Ka)},showDeleteOption:!1,showArchiveOption:!1,showPathCopy:!1,showFileNameCopy:!1,layout:"submenu",iconWeight:"regular",get onClose(){return q()}})})}f(Z,Ct)}),f(u,v)},J=u=>{var v=je(),Q=x(v);{let Z=c(()=>d.ui_fileActions_noRepoPath_tooltip());xe(Q,()=>Nn,(he,vt)=>{vt(he,{get icon(){return Ln},get label(){return e(Z)},iconWeight:"regular",disabled:!0})})}f(u,v)};I(fe,u=>{e(oe).kind==="browser"?u($e):e(oe).kind==="path"?u(E,1):u(J,-1)})}V(se),f(Je,Me)};I(Ke,Je=>{e(P)&&Je(ht)})}f(Te,Ze)},_a=c(()=>w()&&yt&&e(P)?.type!=="browser"||e(P)&&!sa&&X(e(P)));I(ua,Te=>{e(_a)&&Te(Za)})}var ca=b(ua,2);{var Re=Te=>{var Ze=wa(),Ke=x(Ze);xe(Ke,()=>qa,(Je,oe)=>{oe(Je,{})});var ht=b(Ke,2);xe(ht,()=>ja,(Je,oe)=>{oe(Je,{"data-panel-actions-section":"additional",children:(Me,U)=>{var se=je(),fe=x(se);ra(fe,()=>p().additional,()=>e(jt)[n()]),f(Me,se)},$$slots:{default:!0}})}),f(Te,Ze)};I(ca,Te=>{p()?.additional&&Te(Re)})}var ya=b(ca,2);ra(ya,()=>p()?.footer??Ca),f(ae,ke)};let we=c(()=>fa("panel-header-menu panel-actions-menu-content",p()?.conversation&&"panel-conversation-menu"));Ko(t,{onOpenChangeComplete:async ae=>{if(ae)return;const $=Ea[n()];Ea[n()]=null,$&&(await Tn(),$())},align:"end",side:"bottom",get contentClass(){return e(we)},subContentClass:"panel-header-menu panel-header-submenu",get open(){return e(jt)[n()]},set open(ae){e(jt)[n()]=ae},trigger:h,content:N,$$slots:{trigger:!0,content:!0}})}},Be=(t,n)=>{let h=ir(()=>sr(n?.(),null));var N=je(),we=x(N);{var ae=$=>{const q=c(()=>e(h)?.type==="browser"&&e(h).ownerAgentId),O=c(()=>e(h)?e(q)?d.layout_panelTabBar_hideOwnedTab_ariaLabel():d.layout_panelTabBar_closePane_ariaLabel():d.layout_panelTabBar_closePanel_label()),ke=c(()=>e(h)&&!e(q)?d.layout_panelTabBar_actionWithShortcut_tooltip({label:e(O),shortcut:e(Kt)}):e(O));$n($,{get content(){return e(ke)},side:"bottom",delayDuration:300,children:(Ye,ne)=>{{let G=c(()=>e(h)?.id);ga(Ye,{variant:"ghost-light",size:"icon-sm",wrapContent:!1,onclick:()=>e(h)?ut()?.(e(h).id):ct()?.(),get"aria-label"(){return e(O)},class:"panel-header-action-button","data-testid":"panel-close-button",get"data-pane-close"(){return e(G)},children:(Nt,Ut)=>{var It=Gl();f(Nt,It)},$$slots:{default:!0}})}},$$slots:{default:!0}})};I(we,$=>{(e(h)&&ut()||!e(h)&&ct())&&$(ae)})}f(t,N)},j=(t,n=Ca,h)=>{let N=ir(()=>sr(h?.(),!1));const we=c(()=>jn(n().type));var ae=je(),$=x(ae);{var q=ne=>{{let G=c(()=>e(N)?14:16);za(ne,{get icon(){return dr},get size(){return e(G)},class:"shrink-0 text-muted-foreground","data-panel-agent-chat-glyph":!0})}},O=ne=>{{let G=c(()=>e(N)?"standard":"emphasized");Vn(ne,{get kind(){return e(we)},get variant(){return e(G)}})}},ke=ne=>{{let G=c(()=>e(N)?14:16);pr(ne,{get faviconUrl(){return n().faviconUrl},get size(){return e(G)}})}},Ye=ne=>{{let G=c(()=>Yn(n().type)),Nt=c(()=>e(N)?14:16);za(ne,{get icon(){return e(G)},get size(){return e(Nt)},class:"shrink-0 text-muted-foreground"})}};I($,ne=>{n().type==="agent"?ne(q):e(we)?ne(O,1):n().type==="browser"?ne(ke,2):ne(Ye,-1)})}f(t,ae)},W=(t,n=Ca)=>{var h=Vl(),N=le(h);{var we=$=>{var q=je(),O=x(q);On(O,()=>n().agentId,ke=>{In(ke,{get agentId(){return n().agentId}})}),f($,q)},ae=$=>{j($,n)};I(N,$=>{n().type==="agent"&&n().agentId?$(we):$(ae,-1)})}V(h),f(t,h)},ie=t=>{var n=oi();let h;var N=le(n);xe(N,()=>Wo,($,q)=>{q($,{get open(){return e(pt)},set open(O){o(pt,O,!0)},children:(O,ke)=>{var Ye=wa(),ne=x(Ye);{const Nt=(Ut,It)=>{let ua=()=>(It?.()).props;const Za=c(()=>e(P)?d.layout_panelTabBar_paneSelectorNamed_ariaLabel({title:L(e(P)),count:re().length}):d.layout_panelTabBar_paneSelector_ariaLabel({count:re().length})),_a=c(()=>e(P)?Gt(e(P)):null),ca=c(()=>e(P)?.type==="diff"?e(P).data?.change?.commitHash:void 0);{let Re=c(()=>[e(P)?L(e(P)):e(Za),e(_a),e(ca)].filter(Boolean).join(" · ")),ya=c(()=>e(pt)||!!e(P)&&!e(_a)&&!e(ca)&&!e(Le));$n(Ut,{class:"block w-full min-w-0",get content(){return e(Re)},side:"bottom",delayDuration:300,get disabled(){return e(ya)},children:(Te,Ze)=>{{let Ke=c(()=>e(Ba)>0||e(P)&&e(aa).has(e(P).id)?"":void 0);ga(Te,Un(ua,{variant:"plain",size:"lg",class:"panel-selector-button w-full min-w-0 max-w-full justify-start bg-sidebar dark:bg-muted",wrapContent:!1,get"aria-label"(){return e(Za)},"data-testid":"pane-stack-selector-trigger","data-pane-stack-selector-trigger":!0,get"data-attention"(){return e(Ke)},children:(ht,Je)=>{var oe=Jl(),Me=x(oe);{var U=E=>{var J=Xl(),u=x(J);W(u,()=>e(P));var v=b(u,2),Q=Xt(v,!0);hn(v,(Z,he)=>hr?.(Z,he),()=>Z=>o(Le,Z,!0)),me(Z=>dt(Q,Z),[()=>L(e(P))]),f(E,J)};I(Me,E=>{e(P)&&E(U)})}var se=b(Me,4);{var fe=E=>{var J=Yl();f(E,J)},$e=c(()=>e(Ba)>0||e(P)&&e(aa).has(e(P).id));I(se,E=>{e($e)&&E(fe)})}f(ht,oe)},$$slots:{default:!0}}))}},$$slots:{default:!0}})}};xe(ne,()=>Do,(Ut,It)=>{It(Ut,{child:Nt,$$slots:{child:!0}})})}var G=b(ne,2);{let Nt=c(()=>d.layout_panelTabBar_paneMenu_ariaLabel());xe(G,()=>Ro,(Ut,It)=>{It(Ut,{align:"start",side:"bottom",collisionPadding:8,class:"panel-header-menu panel-selector-menu bg-background",maxHeight:"var(--bits-dropdown-menu-content-available-height, calc(100dvh - 1rem))",get"aria-label"(){return e(Nt)},"data-pane-stack-menu":!0,children:(ua,Za)=>{var _a=ni();Xa(_a,21,()=>re().toReversed(),ca=>ca.id,(ca,Re)=>{const ya=c(()=>e(Re).id===Ge());var Te=je(),Ze=x(Te);{const Ke=Me=>{var U=Ql(),se=le(U);{var fe=E=>{var J=je(),u=x(J);On(u,()=>e(Re).agentId,v=>{In(v,{get agentId(){return e(Re).agentId}})}),f(E,J)},$e=E=>{j(E,()=>e(Re),()=>!0)};I(se,E=>{e(Re).type==="agent"&&e(Re).agentId?E(fe):E($e,-1)})}V(U),me(()=>Fe(U,"data-pane-stack-item-identity",e(Re).type)),f(Me,U)};let ht=c(()=>e(ya)?"page":void 0),Je=c(()=>e(aa).has(e(Re).id)?d.layout_panelTabBar_paneMenuAttention_ariaLabel({title:L(e(Re))}):e(Re).type==="discussion"?void 0:L(e(Re))),oe=c(()=>e(aa).has(e(Re).id)?"":void 0);xe(Ze,()=>mr,(Me,U)=>{U(Me,{class:"panel-selector-row",get"aria-current"(){return e(ht)},get"aria-label"(){return e(Je)},onclick:()=>Pe(e(Re).id),get"data-pane-stack-item"(){return e(Re).id},get"data-attention"(){return e(oe)},leading:Ke,children:(se,fe)=>{var $e=ai(),E=x($e),J=Xt(E,!0),u=b(E,2);{var v=Ee=>{{let St=c(()=>e(Re).workspaceId??te()),Vt=c(()=>typeof e(Re).data?.conversationId=="string"?e(Re).data.conversationId:"default");Gn(Ee,{get workspaceId(){return e(St)},get conversationId(){return e(Vt)}})}};I(u,Ee=>{e(Re).type==="discussion"&&!e(ya)&&Ee(v)})}var Q=b(u,2);{var Z=Ee=>{var St=ei();f(Ee,St)},he=c(()=>e(aa).has(e(Re).id));I(Q,Ee=>{e(he)&&Ee(Z)})}var vt=b(Q,2);{var Ct=Ee=>{var St=ti(),Vt=le(St);za(Vt,{get icon(){return _o},class:"size-(--menu-icon-size) text-muted-foreground"}),V(St),f(Ee,St)};I(vt,Ee=>{e(ya)&&Ee(Ct)})}me(Ee=>dt(J,Ee),[()=>L(e(Re))]),f(se,$e)},$$slots:{leading:!0,default:!0}})})}f(ca,Te)}),V(_a),f(ua,_a)},$$slots:{default:!0}})})}f(O,Ye)},$$slots:{default:!0}})});var we=b(N,2);{var ae=$=>{var q=ri(),O=le(q);W(O,()=>e(P));var ke=b(O,2);{let Ye=c(()=>d.ui_editableName_rename_tooltip());vr(ke,{variant:"inline",noFocusStyle:!0,class:"panel-selector-title min-w-0 flex-1",get"aria-label"(){return e(Ye)},onblur:wn,onkeydown:async ne=>{if(ne.key!=="Enter"&&ne.key!=="Escape")return;ne.preventDefault(),ne.stopPropagation();const G=ne.currentTarget.closest("[data-panel-tabless-header]");ne.key==="Enter"?wn():Qn(),await Tn(),G?.querySelector("[data-pane-stack-selector-trigger]")?.focus()},get ref(){return e(da)},set ref(ne){o(da,ne,!0)},get value(){return e(_)},set value(ne){o(_,ne,!0)}})}Ga(2),V(q),f($,q)};I(we,$=>{e(P)&&e(qt)===e(P).id&&!Ve()&&$(ae)})}V(n),me(()=>h=Zt(n,1,"pane-stack-selector relative z-10 min-w-0 shrink self-center svelte-11borfu",null,h,{editing:!!e(P)&&e(qt)===e(P).id})),f(t,n)};let Le=K(!1),bt=K(Sa({}));const _t=typeof navigator<"u"&&navigator.platform?.startsWith("Win"),Et=typeof navigator<"u"&&(navigator.userAgentData?.platform==="macOS"||/Mac|iPhone|iPad|iPod/.test(navigator.userAgent)),et=_t?d.layout_panelTabBar_fileManagerExplorer_label():Et?d.layout_panelTabBar_fileManagerFinder_label():d.layout_panelTabBar_fileManagerGeneric_label(),Se=Ao("PanelTabBar"),yt=br("externalEditors"),de=br("systemFileManager"),wt=zt("panel.copy-browser-url"),Tt=zt("navigation.close-tab"),Bt=zt("panel.maximize"),Yt=zt("panel.tab-window"),Jt=Xo,pa=zt("panel.create-column-right"),oa=zt("panel.move-pane-previous-column"),la=zt("panel.move-pane-next-column"),ia=c(()=>Ta(B())),Kt=c(()=>Ta(k())),xt=c(()=>Ta(z())),Qt=c(()=>Ta(y())),He=c(()=>Ta(C())),tt='button, a, input, textarea, select, [role="button"], [role="tab"], [contenteditable="true"]';let re=i(r,"tabs",23,()=>[]),Ge=i(r,"activeTabId",7,null),Ne=i(r,"attentionTabIds",23,()=>[]),$t=i(r,"panelId",7),te=i(r,"workspaceId",7),ot=i(r,"layoutId",7),at=i(r,"isFocused",7,!1),Lt=i(r,"isRightmostPanel",7,!1),p=i(r,"contentActions",7,null),Ve=i(r,"showTabStrip",7,!1),ha=i(r,"onTabClick",7),ut=i(r,"onTabClose",7),ue=i(r,"onTabReorder",7),ea=i(r,"onTabMoveToPanel",7),Dt=i(r,"onPaneDragFinish",7),ta=i(r,"onMovePaneUp",7),Ae=i(r,"onMovePaneDown",7),Ie=i(r,"onMovePaneLeft",7),Pt=i(r,"onMovePaneRight",7),ze=i(r,"onCloseOtherTabs",7),Oe=i(r,"onCloseTabsToRight",7),Ue=i(r,"onCloseAllTabs",7),pe=i(r,"onCloseAllOthersEverywhere",7),ct=i(r,"onClosePanel",7),ft=i(r,"onZoomToggle",7),lt=i(r,"isZoomed",7,!1),Xe=i(r,"onTabRename",7),Ot=i(r,"onSplitHorizontal",7);const sa=Mo();function X(t){const n=Ce.state?.browserClients?.ownClientId??null;return t.type==="browser"&&t.hostClientId!==void 0&&t.hostClientId!==n}const De=c(()=>We()==="main"&&Go()&&!Yo(ot())),_e=$t(),Ft=Br();let gt=K(null);const va=c(()=>re().find(t=>t.id===e(gt)?.tabId));let pt=K(!1),jt=K(Sa({tabBar:!1,compact:!1}));const Ea={tabBar:null,compact:null};mt(()=>{Ge(),e(jt).tabBar=!1,e(jt).compact=!1});let qt=K(null),da=K(null),_=K("");const l=Cn(te());mt(()=>{l.set(te())});const T=sl(l),A=$r(l);function ye(t,n){t.ownerAgentId&&Ce.dispatch(Lo(te(),{agentId:t.ownerAgentId,sourcePanelId:_e,openInAdjacentPanel:ho({event:n})}))}function L(t){if(t.type==="note"&&t.noteId){if(_r(t.noteId))return d.chat_shared_spec_label();const n=Pr.select(Ce.state,t.workspaceId??te(),t.noteId);if(n)return n.title||d.layout_panelLayout_untitled_fallback()}if(t.type==="agent"&&t.agentId){const n=R().find(h=>h.id===t.agentId);if(n?.name)return n.name}return t.type==="browser"?t.title||d.layout_panelLayout_browser_fallback():t.title}function ce(t){if(t.type!=="agent"||!t.agentId)return!1;const n=R().find(h=>h.id===t.agentId);return!!(n?.isBackground||n?.metadata?.isBackground)}function Gt(t){const n=t.filePath??t.diffPath;if(!n)return null;const h=dl.select(Ce.state,te()),N=h?.worktreePath||h?.repositoryPath||"";if(N){const we=$o(n,N);if(we!==n)return we}return n}function Rt(t){ha()?.(t)}function kt(t){return t.type==="browser"&&!!t.ownerAgentId}const aa=c(()=>new Set(Ne())),Ba=c(()=>re().filter(t=>t.id!==Ge()&&e(aa).has(t.id)).length),Wt=c(()=>[{direction:"up",label:d.layout_panelTabBar_movePanelUp_label(),enabled:!!ta(),move:()=>ta()?.()},{direction:"right",label:d.layout_panelTabBar_movePanelRight_label(),enabled:!!Pt(),move:()=>Pt()?.()},{direction:"down",label:d.layout_panelTabBar_movePanelDown_label(),enabled:!!Ae(),move:()=>Ae()?.()},{direction:"left",label:d.layout_panelTabBar_movePanelLeft_label(),enabled:!!Ie(),move:()=>Ie()?.()}]);function Pe(t){Rt(t),o(pt,!1)}function nt(t,n){t.stopPropagation(),ut()?.(n)}function At(t,n){const h=jo(t);h&&(e(jt).tabBar=!1,e(jt).compact=!1,o(gt,{tabId:n,...h},!0))}function ma(t){const n=t.target;n instanceof Element&&n.closest(tt)||(t.preventDefault(),o(gt,null),e(jt).compact=!0)}function rt(){o(gt,null)}const ba=c(()=>{const t=e(va);if(!t)return[];const n=[];Xr(t)&&n.push({id:"locate",label:d.layout_panelTabBar_revealInSidebar_label(),icon:yo,onClick:()=>Jr(t)});const h=t.type==="file"||t.type==="diff"?{relative:Fa,absolute:Ya,filename:$a,reveal:La}:t.type==="agent"?{relative:vn,absolute:Ja,filename:Qa,reveal:Dn}:t.type==="note"?{relative:mn,absolute:en,filename:bn,reveal:Pa}:null;return h?(n.push({id:"copy-relative-path",label:d.layout_panelTabBar_copyRelativePath_label(),icon:gn,onClick:()=>void h.relative(t)},{id:"copy-absolute-path",label:d.layout_panelTabBar_copyAbsolutePath_label(),icon:gn,onClick:()=>void h.absolute(t)},{id:"copy-filename",label:d.layout_panelTabBar_copyFilename_label(),icon:gn,onClick:()=>void h.filename(t)}),w()&&de&&n.push({id:"reveal-file",label:d.layout_panelTabBar_revealIn_label({fileManager:et}),icon:wo,onClick:()=>void h.reveal(t)})):t.type==="browser"&&t.browserUrl?(n.push({id:"copy-url",label:d.layout_panelTabBar_copyUrl_label(),icon:gn,shortcut:e(ia),onClick:()=>void Rn(t)}),sa?e(De)&&n.push({id:"full-screen",label:d.browser_overflow_fullScreen_label(),icon:ur,onClick:()=>Ce.dispatch(Tr(ot()??te(),te(),t.id))}):n.push({id:"open-browser",label:d.layout_panelTabBar_openInBrowser_label(),icon:Ln,onClick:()=>void _n(t)})):t.type==="terminal"&&n.push({id:"copy-terminal-name",label:d.layout_panelTabBar_copyTerminalName_label(),icon:gn,onClick:()=>void yn(t)}),e(De)&&n.push({type:"separator"},{id:"open-in-own-window",label:d.tabWindow_openInOwnWindow_label(),icon:To,shortcut:Ta(ee()),onClick:()=>Ce.dispatch(Tr(ot()??te(),te(),t.id))}),n.push({type:"separator"},{id:"zoom-panel",label:lt()?d.layout_panelTabBar_unzoomPanel_label():d.layout_panelTabBar_zoomPanel_label(),icon:lt()?Po:ur,shortcut:Ta(S()),disabled:!ft(),onClick:()=>ft()?.()},{id:"move-panel-left",label:d.layout_panelTabBar_movePanelLeft_label(),icon:ko,shortcut:e(Qt),disabled:!Ie(),onClick:()=>Ie()?.()},{id:"move-panel-right",label:d.layout_panelTabBar_movePanelRight_label(),icon:xo,shortcut:e(He),disabled:!Pt(),onClick:()=>Pt()?.()},{id:"split-panel",label:d.layout_panelTabBar_splitRight_label(),icon:Io,shortcut:e(xt),disabled:!Ot(),onClick:()=>Ot()?.()},{type:"separator"},{id:"close-tab",label:d.layout_panelTabBar_close_label(),shortcut:e(Kt),disabled:!ut()||t.closable===!1,onClick:()=>ut()?.(t.id)},{id:"close-other-tabs",label:d.layout_panelTabBar_closeOtherTabs_label(),disabled:!ze(),onClick:()=>ze()?.(t.id)},{id:"close-tabs-right",label:d.layout_panelTabBar_closeTabsToRight_label(),disabled:!Oe(),onClick:()=>Oe()?.(t.id)},{id:"close-panel",label:d.layout_panelTabBar_closePanel_label(),disabled:!ct(),onClick:()=>ct()?.()},{id:"close-all-others",label:d.layout_panelTabBar_closeAllOthers_label(),disabled:!pe(),onClick:()=>pe()?.(t.id)}),n});function na(t){return t.filePath??t.diffPath??null}async function Fa(t){const n=Gt(t);if(n)try{await navigator.clipboard.writeText(on(n)),ve.success(d.layout_panelTabBar_pathCopied_label())}catch{ve.error(d.layout_panelTabBar_copyPathFailed_error())}}async function Ya(t){const n=na(t);if(n)try{await navigator.clipboard.writeText(on(n)),ve.success(d.layout_panelTabBar_absolutePathCopied_label())}catch{ve.error(d.layout_panelTabBar_copyPathFailed_error())}}async function $a(t){const n=t.filePath??t.diffPath;if(!n)return;const h=n.split(/[/\\]/).pop()||n;try{await navigator.clipboard.writeText(h),ve.success(d.layout_panelTabBar_filenameCopied_label())}catch{ve.error(d.layout_panelTabBar_copyFilenameFailed_error())}}async function La(t){const n=na(t);if(n)try{await rn("shell:showItemInFolder",{path:n})}catch{ve.error(d.layout_panelTabBar_revealFailed_error({fileManager:et}))}}async function un(t){if(!t.agentId)return null;const n=t.workspaceId||te();if(!n)return null;try{const h=await rn("workspace:get-root",{workspaceId:n});return h?`${h}/.workspace/agents/${t.agentId}.json`:null}catch{return null}}async function vn(t){const n=`.workspace/agents/${t.agentId}.json`;try{await navigator.clipboard.writeText(on(n)),ve.success(d.layout_panelTabBar_pathCopied_label())}catch{ve.error(d.layout_panelTabBar_copyPathFailed_error())}}async function Ja(t){const n=await un(t);if(!n){ve.error(d.layout_panelTabBar_agentPathUnresolved_error());return}try{await navigator.clipboard.writeText(on(n)),ve.success(d.layout_panelTabBar_absolutePathCopied_label())}catch{ve.error(d.layout_panelTabBar_copyPathFailed_error())}}async function Qa(t){const n=`${t.agentId}.json`;try{await navigator.clipboard.writeText(n),ve.success(d.layout_panelTabBar_filenameCopied_label())}catch{ve.error(d.layout_panelTabBar_copyFilenameFailed_error())}}async function Dn(t){const n=await un(t);if(!n){ve.error(d.layout_panelTabBar_agentPathUnresolved_error());return}try{await rn("shell:showItemInFolder",{path:n})}catch{ve.error(d.layout_panelTabBar_revealFailed_error({fileManager:et}))}}async function Ha(t){if(!t.noteId)return null;const n=t.workspaceId||te();if(!n)return null;try{const h=await rn("workspace:get-root",{workspaceId:n});return h?`${h}/.workspace/notes/${t.noteId}.md`:null}catch{return null}}async function mn(t){const n=`.workspace/notes/${t.noteId}.md`;try{await navigator.clipboard.writeText(on(n)),ve.success(d.layout_panelTabBar_pathCopied_label())}catch{ve.error(d.layout_panelTabBar_copyPathFailed_error())}}async function en(t){const n=await Ha(t);if(!n){ve.error(d.layout_panelTabBar_notePathUnresolved_error());return}try{await navigator.clipboard.writeText(on(n)),ve.success(d.layout_panelTabBar_absolutePathCopied_label())}catch{ve.error(d.layout_panelTabBar_copyPathFailed_error())}}async function bn(t){const n=`${t.noteId}.md`;try{await navigator.clipboard.writeText(n),ve.success(d.layout_panelTabBar_filenameCopied_label())}catch{ve.error(d.layout_panelTabBar_copyFilenameFailed_error())}}async function Pa(t){const n=await Ha(t);if(!n){ve.error(d.layout_panelTabBar_notePathUnresolved_error());return}try{await rn("shell:showItemInFolder",{path:n})}catch{ve.error(d.layout_panelTabBar_revealFailed_error({fileManager:et}))}}async function Rn(t){if(t.browserUrl)try{await pl(t.browserUrl),ve.success(d.layout_panelTabBar_urlCopied_label())}catch(n){Se.error("Failed to copy browser tab URL",n,{url:t.browserUrl}),ve.error(d.layout_panelTabBar_copyUrlFailed_error())}}async function _n(t){if(t.browserUrl)try{await rn("shell:openExternal",{url:t.browserUrl})}catch{ve.error(d.layout_panelTabBar_openInBrowserFailed_error())}}async function yn(t){const n=L(t);try{await navigator.clipboard.writeText(n),ve.success(d.layout_panelTabBar_copied_label())}catch{ve.error(d.layout_panelTabBar_copyFailed_error())}}const tn=qn;let Mt=K(null),it=K(null),st=K(null),a=K(!1),g=K(null),H=K(null);function M(t){if(!e(g))return;const n=t.deltaY||t.deltaX;n!==0&&(t.preventDefault(),e(g).scrollLeft+=n)}mt(()=>{if(e(g))return e(g).addEventListener("wheel",M,{passive:!1}),()=>{e(g)?.removeEventListener("wheel",M)}});function Ht(){if(!Ve()||!e(g)||!Ge())return;const t=e(g).querySelector(`[data-tab-id="${Ge()}"]`);t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}mt(()=>{Ge()&&e(g)&&requestAnimationFrame(()=>{Ht()})});function ka(t,n){if(!t.dataTransfer)return;o(Mt,n,!0),t.dataTransfer.effectAllowed="move",t.dataTransfer.setData(tn,JSON.stringify({tabId:n,panelId:_e})),Ce.dispatch(yr());const h=t.target;requestAnimationFrame(()=>{h.style.opacity="0.5"})}function xa(t){const n=t.target;n.style.opacity="",o(Mt,null),o(it,null),o(st,null),o(a,!1),Ce.dispatch(Kn())}function cn(t){if(!t.dataTransfer)return;if(t.target.closest('button, input, [contenteditable="true"]')){t.preventDefault();return}if(!e(P)){t.preventDefault();return}const h={tabId:e(P).id,panelId:_e};Hl(h),t.dataTransfer.effectAllowed="move",t.dataTransfer.setData(qn,JSON.stringify(h));const N=Nl(e(P).title??"");t.dataTransfer.setDragImage(N,16,16),requestAnimationFrame(()=>N.remove()),Ce.dispatch(yr())}function Na(){const t=Dt();t?t():(Fr(),Ce.dispatch(Kn()))}function fn(){Va()?.panelId===_e&&Na()}function Wn(t){t.key!=="Escape"||Va()?.panelId!==_e||Na()}Ar(()=>{Va()?.panelId===_e&&Na()});function an(t){return t.dataTransfer?.types.includes(tn)??!1}function Ur(t,n,h){if(!an(t)||e(Mt)===n)return;t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move");const N=h.getBoundingClientRect(),we=N.left+N.width/2,ae=t.clientX>=we,$=re().findIndex(q=>q.id===n);ae&&$<re().length-1?(o(it,re()[$+1].id,!0),o(st,"before")):(o(it,n,!0),o(st,ae?"after":"before",!0))}function Zr(){o(it,null),o(st,null)}function Kr(t,n){if(!an(t))return;t.preventDefault(),t.stopPropagation();const h=e(st),N=e(it),we=t.dataTransfer?.getData(tn);if(!we){o(Mt,null),o(it,null),o(st,null),o(a,!1);return}try{const{tabId:ae,panelId:$}=JSON.parse(we);if(ae===n){o(Mt,null),o(it,null),o(st,null),o(a,!1);return}const q=N||n;let O=re().findIndex(ke=>ke.id===q);if(O===-1){o(Mt,null),o(it,null),o(st,null),o(a,!1);return}if(h==="after"&&(O=O+1),$===_e){const ke=re().findIndex(ne=>ne.id===ae);if(ke===-1){o(Mt,null),o(it,null),o(st,null),o(a,!1);return}let Ye=O;ke<Ye&&(Ye=Ye-1),ue()?.(ke,Ye)}else ea()?.(ae,$,O)}catch{}o(Mt,null),o(it,null),o(st,null),o(a,!1)}function jr(t){an(t)&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move"),o(a,!0))}function qr(t){const n=t.relatedTarget;e(g)?.contains(n)||(o(a,!1),o(it,null),o(st,null))}function Gr(t){if(!an(t))return;t.preventDefault(),t.stopPropagation();const n=e(it),h=e(st),N=t.dataTransfer?.getData(tn);if(!N){o(Mt,null),o(it,null),o(st,null),o(a,!1);return}try{const{tabId:we,panelId:ae}=JSON.parse(N);let $;if(n){const q=re().findIndex(O=>O.id===n);q!==-1&&($=h==="after"?q+1:q)}if(ae===_e){const q=re().findIndex(ke=>ke.id===we);if(q===-1){o(Mt,null),o(it,null),o(st,null),o(a,!1);return}let O=$??re().length-1;q<O&&(O=O-1),q!==O&&ue()?.(q,O)}else ea()?.(we,ae,$)}catch{}o(Mt,null),o(it,null),o(st,null),o(a,!1)}function Yn(t){return Ir.getIcon(t)??Zn}const P=c(()=>re().find(t=>t.id===Ge())||re()[0]||null);function An(t){return t.type==="note"&&t.noteId&&_r(t.noteId)||t.type==="note"&&t.noteId&&Pr.select(Ce.state,t.workspaceId??te(),t.noteId)?.contentTruncated?!1:t.type==="note"||t.type==="agent"||t.type==="file"}async function Jn(t){!An(t)||!Xe()||(o(qt,t.id,!0),o(_,L(t),!0),await Tn(),e(da)&&(e(da).focus(),e(da).select()))}function wn(){if(!e(qt))return;const t=re().find(n=>n.id===e(qt));if(t){const n=e(_).trim(),h=L(t);n&&n!==h&&Xe()?.(t,n)}o(qt,null)}function Qn(){o(qt,null),o(_,"")}function Vr(t,n){t.preventDefault(),t.stopPropagation(),Jn(n)}function er(t){const n=t.target;!(n instanceof Element)||n.closest(tt)||Va()!==null||(t.preventDefault(),t.stopPropagation(),Ce.dispatch(Eo(ot()??te(),_e)))}function Xr(t){return["note","file","agent","terminal"].includes(t.type)}function Yr(t){return Ir.getSidebarTabId(t)}function Jr(t){const n=Yr(t.type);n&&Ce.dispatch(Bo(te(),{sidebarTabId:n,type:t.type,noteId:t.noteId,filePath:t.filePath,agentId:t.agentId,terminalId:t.terminalId,scriptId:t.scriptId}))}var Qr={get tabs(){return re()},set tabs(t=[]){re(t),s()},get activeTabId(){return Ge()},set activeTabId(t=null){Ge(t),s()},get attentionTabIds(){return Ne()},set attentionTabIds(t=[]){Ne(t),s()},get panelId(){return $t()},set panelId(t){$t(t),s()},get workspaceId(){return te()},set workspaceId(t){te(t),s()},get layoutId(){return ot()},set layoutId(t){ot(t),s()},get isFocused(){return at()},set isFocused(t=!1){at(t),s()},get isRightmostPanel(){return Lt()},set isRightmostPanel(t=!1){Lt(t),s()},get contentActions(){return p()},set contentActions(t=null){p(t),s()},get showTabStrip(){return Ve()},set showTabStrip(t=!1){Ve(t),s()},get onTabClick(){return ha()},set onTabClick(t){ha(t),s()},get onTabClose(){return ut()},set onTabClose(t){ut(t),s()},get onTabReorder(){return ue()},set onTabReorder(t){ue(t),s()},get onTabMoveToPanel(){return ea()},set onTabMoveToPanel(t){ea(t),s()},get onPaneDragFinish(){return Dt()},set onPaneDragFinish(t){Dt(t),s()},get onMovePaneUp(){return ta()},set onMovePaneUp(t){ta(t),s()},get onMovePaneDown(){return Ae()},set onMovePaneDown(t){Ae(t),s()},get onMovePaneLeft(){return Ie()},set onMovePaneLeft(t){Ie(t),s()},get onMovePaneRight(){return Pt()},set onMovePaneRight(t){Pt(t),s()},get onCloseOtherTabs(){return ze()},set onCloseOtherTabs(t){ze(t),s()},get onCloseTabsToRight(){return Oe()},set onCloseTabsToRight(t){Oe(t),s()},get onCloseAllTabs(){return Ue()},set onCloseAllTabs(t){Ue(t),s()},get onCloseAllOthersEverywhere(){return pe()},set onCloseAllOthersEverywhere(t){pe(t),s()},get onClosePanel(){return ct()},set onClosePanel(t){ct(t),s()},get onZoomToggle(){return ft()},set onZoomToggle(t){ft(t),s()},get isZoomed(){return lt()},set isZoomed(t=!1){lt(t),s()},get onTabRename(){return Xe()},set onTabRename(t){Xe(t),s()},get onSplitHorizontal(){return Ot()},set onSplitHorizontal(t){Ot(t),s()},$set:Ra,$on:(t,n)=>Wa(r,t,n)},tr=vi();Qe("keydown",fo,Wn);var Mn=x(tr),nn=le(Mn),Ua=b(le(nn),2),ar=le(Ua);Xa(ar,19,re,t=>t.id,(t,n,h)=>{const N=c(()=>e(n).id===Ge()),we=c(()=>e(h)<9?`⌘${e(h)+1}`:null),ae=c(()=>e(it)===e(n).id),$=c(()=>L(e(n))),q=c(()=>jn(e(n).type));{let O=c(()=>e(we)&&at()?`${e($)} (${e(we)})`:e($)),ke=c(()=>!(e(we)&&at())&&!e(bt)[e(n).id]);$n(t,{get content(){return e(O)},get disabled(){return e(ke)},side:"bottom",delayDuration:500,children:(Ye,ne)=>{var G=ci(),Nt=le(G);{var Ut=u=>{var v=li();f(u,v)};I(Nt,u=>{e(ae)&&e(st)==="before"&&u(Ut)})}var It=b(Nt,2),ua=le(It);{var Za=u=>{za(u,{get icon(){return dr},size:16,class:"shrink-0 text-muted-foreground","data-panel-agent-chat-glyph":!0})},_a=u=>{Vn(u,{get kind(){return e(q)}})},ca=u=>{pr(u,{get faviconUrl(){return e(n).faviconUrl},size:16,fallbackClass:"tab-icon opacity-50"})},Re=u=>{{let v=c(()=>Yn(e(n).type));za(u,{get icon(){return e(v)},size:16,class:"tab-icon shrink-0 opacity-50"})}};I(ua,u=>{e(n).type==="agent"?u(Za):e(q)?u(_a,1):e(n).type==="browser"?u(ca,2):u(Re,-1)})}var ya=b(ua,2);{var Te=u=>{vr(u,{variant:"inline",noFocusStyle:!0,style:"field-sizing: content;",class:"tab-title w-auto min-w-[1ch] max-w-24 font-medium",onkeydown:v=>{v.key==="Enter"?(v.preventDefault(),wn()):v.key==="Escape"&&(v.preventDefault(),Qn())},onblur:wn,onclick:v=>v.stopPropagation(),ondblclick:v=>v.stopPropagation(),get ref(){return e(da)},set ref(v){o(da,v,!0)},get value(){return e(_)},set value(v){o(_,v,!0)}})},Ze=u=>{var v=ii(),Q=Xt(v,!0);hn(v,(Z,he)=>hr?.(Z,he),()=>Z=>e(bt)[e(n).id]=Z),me(()=>dt(Q,e($))),f(u,v)};I(ya,u=>{e(qt)===e(n).id?u(Te):u(Ze,-1)})}var Ke=b(ya,2);{var ht=u=>{{let v=c(()=>e(n).workspaceId??te()),Q=c(()=>typeof e(n).data?.conversationId=="string"?e(n).data.conversationId:"default");Gn(u,{get workspaceId(){return e(v)},get conversationId(){return e(Q)}})}};I(Ke,u=>{e(n).type==="discussion"&&!e(N)&&u(ht)})}var Je=b(Ke,2);{var oe=u=>{var v=si(),Q=Xt(v,!0);me(Z=>dt(Q,Z),[()=>d.layout_panelTabBar_bgBadge_label()]),f(u,v)},Me=c(()=>ce(e(n)));I(Je,u=>{e(Me)&&u(oe)})}var U=b(Je,2);{var se=u=>{var v=di();f(u,v)};I(U,u=>{e(n).hasUnsavedChanges&&u(se)})}var fe=b(U,2);{var $e=u=>{{let v=c(()=>fa("tab-close ml-1 transition-opacity cursor-pointer",e(N)?"opacity-60 hover:opacity-100 focus-visible:opacity-100":"opacity-0 group-hover:opacity-60 group-focus-within:opacity-60")),Q=c(()=>kt(e(n))?d.layout_panelTabBar_hideOwnedTab_tooltip():void 0),Z=c(()=>kt(e(n))?d.layout_panelTabBar_hideOwnedTab_ariaLabel():d.layout_panelTabBar_closeTab_ariaLabel());ga(u,{variant:"ghost-light",size:"icon-compact",iconOnly:!0,get class(){return e(v)},onclick:he=>nt(he,e(n).id),get title(){return e(Q)},get"aria-label"(){return e(Z)},children:(he,vt)=>{za(he,{get icon(){return bo},size:"xs"})},$$slots:{default:!0}})}};I(fe,u=>{e(n).closable&&u($e)})}V(It);var E=b(It,2);{var J=u=>{var v=ui();f(u,v)};I(E,u=>{e(ae)&&e(st)==="after"&&e(h)===re().length-1&&u(J)})}V(G),me((u,v)=>{Fe(G,"data-tab-id",e(n).id),Zt(G,1,u,"svelte-11borfu"),Fe(G,"draggable",e(qt)!==e(n).id),Fe(G,"aria-selected",e(N)),Zt(It,1,v,"svelte-11borfu")},[()=>Oa(fa("panel-tab group cursor-pointer relative",e(N)?"text-foreground after:absolute after:inset-x-2 after:bottom-0 after:h-0.5 after:rounded-full after:bg-ring":"text-muted-foreground hover:text-foreground",e(Mt)===e(n).id&&"opacity-50")),()=>Oa(fa("flex items-center gap-1.5 pl-2.5 pr-2 py-1 h-9 text-ui whitespace-nowrap"))]),Ia("click",G,()=>Rt(e(n).id)),Ia("mousedown",G,()=>Rt(e(n).id)),Ia("dblclick",G,u=>Vr(u,e(n))),Ia("keydown",G,u=>{u.key==="Enter"?Rt(e(n).id):At(u,e(n).id)}),Ia("contextmenu",G,u=>At(u,e(n).id)),Qe("auxclick",G,u=>{u.button===1&&e(n).closable!==!1&&(u.preventDefault(),u.stopPropagation(),ut()?.(e(n).id))}),Qe("dragstart",G,u=>ka(u,e(n).id)),Qe("dragend",G,xa),Qe("dragover",G,u=>Ur(u,e(n).id,u.currentTarget)),Qe("dragleave",G,Zr),Qe("drop",G,u=>Kr(u,e(n).id)),f(Ye,G)},$$slots:{default:!0}})}});var eo=b(ar,2);{var to=t=>{var n=fi();f(t,n)};I(eo,t=>{(e(Mt)||F())&&e(a)&&!e(it)&&t(to)})}V(Ua),zn(Ua,t=>o(g,t),()=>e(g));var nr=b(Ua,2),rr=le(nr),or=le(rr);qe(or,()=>"tabBar");var ao=b(or,2);Be(ao,()=>e(P)),V(rr),V(nr),V(nn),zn(nn,t=>o(H,t),()=>e(H));var no=b(nn,2);{var ro=t=>{var n=pi(),h=le(n);ie(h);var N=b(h,4);{var we=O=>{const ke=c(()=>Vo(e(P).ownerAgentId,R(),e(P).ownerAgentName));{let Ye=c(()=>d.browser_embedded_ownerChip_ariaLabel({name:e(ke)})),ne=c(()=>d.browser_tabNotice_agentControl_label({name:e(ke)}));ga(O,{variant:"ghost-light",size:"icon-sm",wrapContent:!1,class:"panel-header-action-button",get"aria-label"(){return e(Ye)},get tooltip(){return e(ne)},tooltipSide:"bottom",tooltipDelayDuration:300,onclick:G=>e(P)&&ye(e(P),G),get"data-browser-tab-agent-control"(){return e(P).ownerAgentId},children:(G,Nt)=>{var Ut=gi(),It=le(Ut);On(It,()=>e(P).ownerAgentId,ua=>{In(ua,{get agentId(){return e(P).ownerAgentId}})}),V(Ut),f(G,Ut)},$$slots:{default:!0}})}};I(N,O=>{e(P).type==="browser"&&e(P).ownerAgentId&&O(we)})}var ae=b(N,2),$=le(ae);qe($,()=>"compact");var q=b($,2);Be(q,()=>e(P)),V(ae),V(n),me((O,ke)=>{Zt(n,1,O,"svelte-11borfu"),Fe(n,"data-column-focused",at()?"":void 0),Fe(n,"aria-label",ke),Fe(n,"data-pane-stack-size",re().length)},[()=>Oa(fa("panel-header group/header relative flex h-[var(--panel-header-height)] cursor-grab items-center bg-background pr-2.5 active:cursor-grabbing",e(P).type==="agent"&&"panel-agent-header",at()&&"focused")),()=>d.layout_panelTabBar_paneStack_ariaLabel({count:re().length})]),Ia("contextmenu",n,ma),Ia("dblclick",n,er),Qe("dragstart",n,cn),Qe("dragend",n,fn),f(t,n)},oo=t=>{var n=hi();Sn(n,"",{},{height:"var(--panel-header-height)"});var h=b(le(n),2),N=le(h);qe(N,()=>"compact");var we=b(N,2);Be(we),V(h),V(n),me(ae=>{Zt(n,1,ae,"svelte-11borfu"),Fe(n,"data-column-focused",at()?"":void 0)},[()=>Oa(fa("panel-header group/header relative flex items-center pr-2.5",at()&&"focused"))]),f(t,n)};I(no,t=>{e(P)?t(ro):t(oo,-1)})}V(Mn);var lo=b(Mn,2);{var io=t=>{qo(t,{get x(){return e(gt).x},get y(){return e(gt).y},get returnFocus(){return e(gt).returnFocus},get items(){return e(ba)},onClickOutside:rt})};I(lo,t=>{e(gt)&&e(va)&&t(io)})}me(t=>Zt(nn,1,t,"svelte-11borfu"),[()=>Oa(fa("panel-tab-bar group/tabbar relative flex items-center h-[var(--panel-header-height)] bg-background",!Ve()&&"hidden"))]),Ia("dblclick",nn,er),Qe("dragover",Ua,jr),Qe("dragleave",Ua,qr),Qe("drop",Ua,Gr),f(m,tr);var so=Ma(Qr);return ge(),so}Wr(["dblclick","click","mousedown","keydown","contextmenu"]);var mi=D('<span class="relative flex min-w-0 items-center gap-x-2"><span class="flex shrink-0 items-center" aria-hidden="true"><!></span> <span class="min-w-0 truncate font-medium"> </span></span> <kbd class="shortcut-key relative shrink-0 justify-self-end whitespace-nowrap text-right text-muted-foreground svelte-1j5ruko"> </kbd>',1),bi=D('<span class="relative flex min-w-0 items-center gap-x-2"><span class="flex shrink-0 items-center opacity-70" aria-hidden="true"><!></span> <span class="relative min-w-0 truncate"> </span></span>'),_i=D('<span class="relative min-w-0 truncate"> </span>'),yi=D('<kbd class="shortcut-key relative shrink-0 justify-self-end whitespace-nowrap text-right text-muted-foreground svelte-1j5ruko"> </kbd>'),wi=D("<!> <!>",1),Ti=D('<div class="recent-list mt-5 flex flex-col gap-0.5"></div>'),Pi=D('<span class="relative min-w-0 truncate"> </span> <kbd class="shortcut-key relative shrink-0 justify-self-end whitespace-nowrap text-right text-muted-foreground svelte-1j5ruko"> </kbd>',1),ki=D('<section class="empty-state-content type-caption min-w-0 w-full max-w-xs"><div class="creation-list flex flex-col gap-0.5"></div> <!> <div class="shortcut-list mt-5 flex flex-col gap-0.5"></div></section>');function Nr(m,r){if(new.target)return Da({component:Nr,...m});Aa(r,!0);const B=()=>Y(yt,"$recentlyClosed$",ge),k=()=>Y(de,"$workspaceAgents$",ge),z=()=>Y(wt,"$workspaceTerminals$",ge),y=()=>Y(ia,"$newAgentShortcut$",ge),C=()=>Y(Kt,"$newNoteShortcut$",ge),We=()=>Y(xt,"$newTerminalShortcut$",ge),R=()=>Y(Qt,"$newBrowserShortcut$",ge),w=()=>Y(Ge,"$reopenTabShortcut$",ge),ee=()=>Y(tt,"$newPanelShortcut$",ge),S=()=>Y(re,"$commandPaletteShortcut$",ge),F=()=>Y(Ne,"$toggleSidebarShortcut$",ge),be=()=>Y($t,"$keyboardShortcutsShortcut$",ge),[ge,qe]=dn();let Be=i(r,"workspaceId",7),j=i(r,"panelId",7),W=i(r,"onCreateAgent",7),ie=i(r,"onCreateAgentWithSpecialist",7),Le=i(r,"onCreateNote",7),bt=i(r,"onCreateTerminal",7),_t=i(r,"onOpenBrowser",7);const Et=go("panelLayoutManager"),et=c(()=>Et?.()),Se=Cn(Be());mt(()=>{Se.set(Be())});const yt=Tl(Se),de=$r(Se),wt=kl(Se),Tt=c(()=>{const p=B()??[];if(p.length===0)return[];const Ve=new Set((k()??[]).map(ue=>String(ue.id))),ha=new Set((z()??[]).map(ue=>ue.id));return p.filter(ue=>ue.tab.type==="agent"?ue.tab.agentId?Ve.has(ue.tab.agentId):!0:ue.tab.type==="terminal"&&ue.tab.terminalId?ha.has(ue.tab.terminalId):!0).slice(0,5)});function Bt(p){return p.type==="browser"?p.title||d.layout_panelLayout_browser_fallback():p.title}function Yt(p){const Ve=jn(p);if(Ve)return xn[Ve];switch(p){case"agent":return cr;case"note":return xn.note;case"terminal":return fr;case"browser":return gr;case"file":case"diff":return Zn;default:return Zn}}function Jt(){e(et)?.reopenLastClosed()}function pa(p){e(et)?.reopenClosedTab(p,j())}function oa(){if(W()){W()(j());return}ie()?.(null,j())}function la(){const p=Pl.select(Ce.state,Be());p&&e(et)?.splitPanel(p,"horizontal")}const ia=zt("workspace.new-agent"),Kt=zt("workspace.new-note"),xt=zt("workspace.new-terminal"),Qt=zt("workspace.new-browser"),He=c(()=>[...W()||ie()?[{id:"agent",label:d.layout_panelEmptyState_agent_label(),icon:cr,key:y(),action:oa}]:[],{id:"note",label:d.layout_panelEmptyState_note_label(),icon:xn.note,key:C(),action:()=>Le()?.(j())},...bt()?[{id:"terminal",label:d.layout_panelEmptyState_terminal_label(),icon:fr,key:We(),action:()=>bt()?.(j())}]:[],..._t()?[{id:"browser",label:d.layout_panelEmptyState_browser_label(),icon:gr,key:R(),action:()=>_t()?.(j())}]:[]]),tt=zt("navigation.new-tab"),re=zt("global.command-palette-alt"),Ge=zt("navigation.reopen-tab"),Ne=zt("panel.toggle-sidebar"),$t=zt("global.keyboard-shortcuts"),te=c(()=>[{id:"reopen-latest",label:d.layout_panelEmptyState_reopenLastClosed_label(),shortcut:w(),icon:void 0,onSelect:Jt,title:d.layout_panelEmptyState_reopenLastClosed_label(),isUtility:!0},...e(Tt).map(p=>{const Ve=Bt(p.tab);return{id:`${p.tab.id}-${p.closedAt}`,label:Ve,shortcut:void 0,icon:Yt(p.tab.type),onSelect:()=>pa(p.tab.id),title:d.layout_panelEmptyState_reopen_tooltip({title:Ve}),isUtility:!1}})]),ot=c(()=>[{key:ee(),label:d.layout_panelEmptyState_newPanel_label(),action:la},{key:S(),label:d.layout_panelEmptyState_commandPalette_label(),action:()=>Ce.dispatch(Oo())},{key:w(),label:d.layout_panelEmptyState_reopenClosed_label(),action:Jt},{key:F(),label:d.layout_panelEmptyState_toggleSidebar_label(),action:()=>Ce.dispatch(Fo())},{key:be(),label:d.layout_panelEmptyState_allShortcuts_label(),action:()=>Ce.dispatch(Ho("global"))}]);var at={get workspaceId(){return Be()},set workspaceId(p){Be(p),s()},get panelId(){return j()},set panelId(p){j(p),s()},get onCreateAgent(){return W()},set onCreateAgent(p){W(p),s()},get onCreateAgentWithSpecialist(){return ie()},set onCreateAgentWithSpecialist(p){ie(p),s()},get onCreateNote(){return Le()},set onCreateNote(p){Le(p),s()},get onCreateTerminal(){return bt()},set onCreateTerminal(p){bt(p),s()},get onOpenBrowser(){return _t()},set onOpenBrowser(p){_t(p),s()},$set:Ra,$on:(p,Ve)=>Wa(r,p,Ve)};{let p=c(()=>d.layout_panelEmptyState_createInEmptyPanel_ariaLabel());wl(m,{class:"empty-state h-full overflow-y-auto bg-sidebar px-6 py-8 text-foreground text-left",contentClass:"w-full max-w-xs",get"aria-label"(){return e(p)},"data-panel-empty-state":!0,children:(Ve,ha)=>{var ut=ki(),ue=le(ut);Xa(ue,21,()=>e(He),Ae=>Ae.id,(Ae,Ie)=>{{let Pt=c(()=>d.layout_panelEmptyState_newItem_tooltip({label:e(Ie).label}));ga(Ae,{wrapContent:!1,variant:"ghost",size:"sm",class:"creation-action empty-state-row grid min-h-7 min-w-0 w-full max-w-full cursor-pointer grid-cols-[minmax(0,1fr)_auto] items-center gap-x-2 px-2 py-1 text-left font-medium text-foreground transition-colors duration-spring-fast ease-spring-fast hover:text-muted-foreground focus-visible:outline focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring motion-reduce:transition-none",get onclick(){return e(Ie).action},get"aria-label"(){return e(Pt)},children:(ze,Oe)=>{var Ue=mi(),pe=x(Ue),ct=le(pe),ft=le(ct);za(ft,{get icon(){return e(Ie).icon},class:"size-[1em]"}),V(ct);var lt=b(ct,2),Xe=Xt(lt,!0);hn(lt,(X,De)=>Fn?.(X,De),()=>d.layout_panelEmptyState_newItem_tooltip({label:e(Ie).label})),V(pe);var Ot=b(pe,2),sa=Xt(Ot,!0);me((X,De)=>{dt(Xe,X),dt(sa,De)},[()=>d.layout_panelEmptyState_newItem_tooltip({label:e(Ie).label}),()=>Ta(e(Ie).key)]),f(ze,Ue)},$$slots:{default:!0}})}}),V(ue);var ea=b(ue,2);{var Dt=Ae=>{var Ie=Ti();Xa(Ie,21,()=>e(te),Pt=>Pt.id,(Pt,ze)=>{{let Oe=c(()=>e(ze).isUtility?"reopen-hint":"recent-item"),Ue=c(()=>e(ze).isUtility?void 0:e(ze).title);ga(Pt,{wrapContent:!1,variant:"ghost",size:"sm",get class(){return`${e(Oe)??""} empty-state-row grid min-h-7 min-w-0 w-full max-w-full cursor-pointer grid-cols-[minmax(0,1fr)_auto] items-center gap-x-2 px-2 py-1 text-left font-normal text-muted-foreground transition-colors duration-spring-fast ease-spring-fast hover:text-foreground focus-visible:outline focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring motion-reduce:transition-none`},get onclick(){return e(ze).onSelect},get title(){return e(Ue)},children:(pe,ct)=>{var ft=wi(),lt=x(ft);{var Xe=De=>{var _e=bi(),Ft=le(_e),gt=le(Ft);za(gt,{get icon(){return e(ze).icon},class:"size-[1em]"}),V(Ft);var va=b(Ft,2),pt=Xt(va,!0);V(_e),me(()=>dt(pt,e(ze).label)),f(De,_e)},Ot=De=>{var _e=_i(),Ft=Xt(_e,!0);hn(_e,(gt,va)=>Fn?.(gt,va),()=>e(ze).label),me(()=>dt(Ft,e(ze).label)),f(De,_e)};I(lt,De=>{e(ze).icon?De(Xe):De(Ot,-1)})}var sa=b(lt,2);{var X=De=>{var _e=yi(),Ft=Xt(_e,!0);me(gt=>dt(Ft,gt),[()=>Ta(e(ze).shortcut)]),f(De,_e)};I(sa,De=>{e(ze).shortcut&&De(X)})}f(pe,ft)},$$slots:{default:!0}})}}),V(Ie),f(Ae,Ie)};I(ea,Ae=>{e(Tt).length>0&&Ae(Dt)})}var ta=b(ea,2);Xa(ta,21,()=>e(ot),Ae=>Ae.label,(Ae,Ie)=>{ga(Ae,{wrapContent:!1,variant:"ghost",size:"sm",class:"shortcut-item empty-state-row grid min-h-7 min-w-0 w-full max-w-full cursor-pointer grid-cols-[minmax(0,1fr)_auto] items-center gap-x-2 px-2 py-1 text-left font-normal text-muted-foreground transition-colors duration-spring-fast ease-spring-fast hover:text-foreground focus-visible:outline focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring motion-reduce:transition-none",get onclick(){return e(Ie).action},get"aria-label"(){return e(Ie).label},children:(Pt,ze)=>{var Oe=Pi(),Ue=x(Oe),pe=Xt(Ue,!0);hn(Ue,(lt,Xe)=>Fn?.(lt,Xe),()=>e(Ie).label);var ct=b(Ue,2),ft=Xt(ct,!0);me(lt=>{dt(pe,e(Ie).label),dt(ft,lt)},[()=>Ta(e(Ie).key)]),f(Pt,Oe)},$$slots:{default:!0}})}),V(ta),V(ut),me(Ae=>Fe(ut,"aria-label",Ae),[()=>d.layout_panelEmptyState_createInEmptyPanel_ariaLabel()]),f(Ve,ut)},$$slots:{default:!0}})}var Lt=Ma(at);return qe(),Lt}var xi=D("<div><!></div>"),Ii=D('<div data-panel-drop-destination="" aria-hidden="true"></div>'),Ci=D('<div role="region"><div data-panel-header=""><!></div> <div><!></div> <!></div>');function Si(m,r){if(new.target)return Da({component:Si,...m});Aa(r,!0);const B=()=>Y(ct,"$isDragging",k),[k,z]=dn();let y=i(r,"panel",7),C=i(r,"isFocused",7,!1),We=i(r,"showFocusBorder",7,!1),R=i(r,"workspaceId",7),w=i(r,"layoutId",7),ee=i(r,"active",7,!0),S=i(r,"availableCanvasWidth",7),F=i(r,"isRightmostPanel",7,!1),be=i(r,"canCreateColumn",7,!0),ge=i(r,"contained",7,!1),qe=i(r,"onFocus",7),Be=i(r,"onTabClick",7),j=i(r,"onTabClose",7),W=i(r,"onTabReorder",7),ie=i(r,"onCloseOtherTabs",7),Le=i(r,"onCloseTabsToRight",7),bt=i(r,"onCloseAllTabs",7),_t=i(r,"onCloseAllOthersEverywhere",7),Et=i(r,"onClosePanel",7),et=i(r,"onZoomToggle",7),Se=i(r,"isZoomed",7,!1),yt=i(r,"onTabDrop",7),de=i(r,"onTabMoveToPanel",7),wt=i(r,"onPaneDropPreview",7),Tt=i(r,"onPaneDragFinish",7),Bt=i(r,"onMovePaneUp",7),Yt=i(r,"onMovePaneDown",7),Jt=i(r,"onMovePaneLeft",7),pa=i(r,"onMovePaneRight",7),oa=i(r,"onMoveLeft",7),la=i(r,"onMoveRight",7),ia=i(r,"onTabRename",7),Kt=i(r,"onCreateAgent",7),xt=i(r,"onCreateAgentWithSpecialist",7),Qt=i(r,"onCreateNote",7),He=i(r,"onCreateTerminal",7),tt=i(r,"onOpenBrowser",7),re=i(r,"emptyState",7),Ge=i(r,"onSplitHorizontal",7);const Ne=y().id,{actions:$t}=xl(),{handler:te}=Il(),ot=Cl({onDragChange:l=>te.current?.onDragChange(l),onDrop:l=>te.current?.onDrop(l)});let at=null;mt(()=>{te.current!==at&&(at=te.current,ot.reset())});function Lt(l){te.current&&ot.handleDragEnter(l)}function p(l){te.current&&ot.handleDragLeave(l)}function Ve(l){te.current&&ot.handleDragOver(l)}function ha(l){te.current&&ot.handleDrop(l)}Sl(Ne);let ut=c(()=>y()?.tabs?.find(l=>l.id===y().activeTabId)??null),ue=K(null);const ea={ttlMs:Cr,maxInactiveTabs:vl};let Dt=K(Sa(kn(()=>hl(ee(),y().tabs,y().activeTabId,Date.now(),ea))));function ta(l=y().tabs,T=y().activeTabId,A=Date.now()){const{currentCache:ye,nextCache:L}=kn(()=>{const ce=e(Dt);return{currentCache:ce,nextCache:bl(ce,l,T,A,ea)}});_l(ye,L)||o(Dt,L,!0)}let Ae;mt(()=>{if(ee())ta(y().tabs,y().activeTabId),Ae=y().activeTabId;else if(Ae){const l=Ae;kn(()=>{e(Dt).has(l)&&o(Dt,new Map(e(Dt)).set(l,Date.now()),!0)}),Ae=null}}),Er(()=>{const l=y().activeTabId,T=ee();if(typeof document>"u"||!e(ue))return;const A=document.activeElement;if(!(A instanceof HTMLElement)||!e(ue).contains(A))return;const ye=A.closest(".tab-content-wrapper");ye&&(!T||ye.dataset.tabId!==l)&&A.blur()}),mt(()=>{const l=ee()?y().activeTabId:null,T=ml(e(Dt),l,Date.now(),Cr,y().tabs);if(T===null)return;const A=setTimeout(()=>ta(y().tabs,l),T);return()=>clearTimeout(A)});let Ie=c(()=>y().tabs.filter(l=>e(Dt).has(l.id))),Pt=K(!1);const ze=qn;let Oe=K(!1),Ue=K(!1),pe=K(null);const ct=Br();mt(()=>{B()||(o(Oe,!1),o(Ue,!1),o(pe,null))});let ft=!1;function lt(){ft||C()||qe()?.()}function Xe(){y().pristine&&Ce.dispatch(No(w(),Ne))}function Ot(l){return l instanceof Element&&l.closest("[data-panel-empty-state]")!==null}function sa(l){Ot(l.target)||Xe(),ft=!0,queueMicrotask(()=>ft=!1),!C()&&qe()?.()}function X(l){Ot(l.target)||Xe()}function De(l){return e(ue)?Fl(l.clientX,e(ue).getBoundingClientRect(),be(),e(pe)):"center"}function _e(l){const T=Va();return!T||l==="center"&&T.panelId===Ne||l!=="center"&&T.panelId===Ne&&y().tabs.length===1?null:{kind:"panel",targetPanelId:Ne,zone:l}}function Ft(l){if(!l.dataTransfer?.types.includes(ze))return;l.preventDefault();const T=De(l);o(Oe,Va()!==null),o(Ue,!e(Oe)),o(pe,T,!0),e(Oe)&&wt()?.(_e(T)),l.dataTransfer&&(l.dataTransfer.dropEffect="move")}function gt(l){const T=l.relatedTarget;if(!(T&&e(ue)?.contains(T))){if(e(ue)){const A=e(ue).getBoundingClientRect();if(l.clientX>=A.left&&l.clientX<=A.right&&l.clientY>=A.top&&l.clientY<=A.bottom)return}e(Oe)&&wt()?.(null),o(Oe,!1),o(Ue,!1),o(pe,null)}}function va(){o(Oe,!1),o(pe,null),wt()?.(null);const l=Tt();l?l():(Fr(),Ce.dispatch(Kn()))}function pt(l){l.preventDefault(),l.stopPropagation();const T=Va();if(T){const ye=e(pe)??De(l),L=_e(ye);if(va(),!L)return;Xe(),L.zone==="center"?de()?.(T.tabId,T.panelId):yt()?.(T.tabId,T.panelId,L.zone);return}Xe();const A=e(pe)??De(l);o(pe,null),o(Ue,!1);try{const ye=l.dataTransfer?.getData(ze);if(!ye)return;const{tabId:L,panelId:ce}=JSON.parse(ye);if(A==="center")ce!==Ne&&de()?.(L,ce);else{if(ce===Ne&&y().tabs.length===1)return;yt()?.(L,ce,A)}}catch{o(pe,null)}}var jt={get panel(){return y()},set panel(l){y(l),s()},get isFocused(){return C()},set isFocused(l=!1){C(l),s()},get showFocusBorder(){return We()},set showFocusBorder(l=!1){We(l),s()},get workspaceId(){return R()},set workspaceId(l){R(l),s()},get layoutId(){return w()},set layoutId(l){w(l),s()},get active(){return ee()},set active(l=!0){ee(l),s()},get availableCanvasWidth(){return S()},set availableCanvasWidth(l){S(l),s()},get isRightmostPanel(){return F()},set isRightmostPanel(l=!1){F(l),s()},get canCreateColumn(){return be()},set canCreateColumn(l=!0){be(l),s()},get contained(){return ge()},set contained(l=!1){ge(l),s()},get onFocus(){return qe()},set onFocus(l){qe(l),s()},get onTabClick(){return Be()},set onTabClick(l){Be(l),s()},get onTabClose(){return j()},set onTabClose(l){j(l),s()},get onTabReorder(){return W()},set onTabReorder(l){W(l),s()},get onCloseOtherTabs(){return ie()},set onCloseOtherTabs(l){ie(l),s()},get onCloseTabsToRight(){return Le()},set onCloseTabsToRight(l){Le(l),s()},get onCloseAllTabs(){return bt()},set onCloseAllTabs(l){bt(l),s()},get onCloseAllOthersEverywhere(){return _t()},set onCloseAllOthersEverywhere(l){_t(l),s()},get onClosePanel(){return Et()},set onClosePanel(l){Et(l),s()},get onZoomToggle(){return et()},set onZoomToggle(l){et(l),s()},get isZoomed(){return Se()},set isZoomed(l=!1){Se(l),s()},get onTabDrop(){return yt()},set onTabDrop(l){yt(l),s()},get onTabMoveToPanel(){return de()},set onTabMoveToPanel(l){de(l),s()},get onPaneDropPreview(){return wt()},set onPaneDropPreview(l){wt(l),s()},get onPaneDragFinish(){return Tt()},set onPaneDragFinish(l){Tt(l),s()},get onMovePaneUp(){return Bt()},set onMovePaneUp(l){Bt(l),s()},get onMovePaneDown(){return Yt()},set onMovePaneDown(l){Yt(l),s()},get onMovePaneLeft(){return Jt()},set onMovePaneLeft(l){Jt(l),s()},get onMovePaneRight(){return pa()},set onMovePaneRight(l){pa(l),s()},get onMoveLeft(){return oa()},set onMoveLeft(l){oa(l),s()},get onMoveRight(){return la()},set onMoveRight(l){la(l),s()},get onTabRename(){return ia()},set onTabRename(l){ia(l),s()},get onCreateAgent(){return Kt()},set onCreateAgent(l){Kt(l),s()},get onCreateAgentWithSpecialist(){return xt()},set onCreateAgentWithSpecialist(l){xt(l),s()},get onCreateNote(){return Qt()},set onCreateNote(l){Qt(l),s()},get onCreateTerminal(){return He()},set onCreateTerminal(l){He(l),s()},get onOpenBrowser(){return tt()},set onOpenBrowser(l){tt(l),s()},get emptyState(){return re()},set emptyState(l){re(l),s()},get onSplitHorizontal(){return Ge()},set onSplitHorizontal(l){Ge(l),s()},$set:Ra,$on:(l,T)=>Wa(r,l,T)},Ea=je(),qt=x(Ea);{var da=l=>{var T=Ci();let A;var ye=le(T);Sn(ye,e(Pt)?"animation: slideDownTabBar 350ms cubic-bezier(0.33, 1, 0.68, 1) 300ms forwards; opacity: 0; transform: translateY(-100%);":"");var L=le(ye);{let Pe=c(()=>y()?.tabs),nt=c(()=>y()?.activeTabId),At=c(()=>y()?.attentionTabIds);Hr(L,{get tabs(){return e(Pe)},get activeTabId(){return e(nt)},get attentionTabIds(){return e(At)},get panelId(){return Ne},get workspaceId(){return R()},get layoutId(){return w()},get availableCanvasWidth(){return S()},get isRightmostPanel(){return F()},get isFocused(){return C()},get contentActions(){return $t.current},get onTabClick(){return Be()},get onTabClose(){return j()},get onTabReorder(){return W()},get onTabMoveToPanel(){return de()},get onPaneDragFinish(){return Tt()},get onMovePaneUp(){return Bt()},get onMovePaneDown(){return Yt()},get onMovePaneLeft(){return Jt()},get onMovePaneRight(){return pa()},get onMoveLeft(){return oa()},get onMoveRight(){return la()},get onCloseOtherTabs(){return ie()},get onCloseTabsToRight(){return Le()},get onCloseAllTabs(){return bt()},get onCloseAllOthersEverywhere(){return _t()},get onClosePanel(){return Et()},get onZoomToggle(){return et()},get isZoomed(){return Se()},get onTabRename(){return ia()},get onCreateAgent(){return Kt()},get onCreateAgentWithSpecialist(){return xt()},get onCreateNote(){return Qt()},get onCreateTerminal(){return He()},get onOpenBrowser(){return tt()},get onSplitHorizontal(){return Ge()}})}V(ye);var ce=b(ye,2),Gt=le(ce);{var Rt=Pe=>{var nt=je(),At=x(nt);Xa(At,17,()=>e(Ie),ma=>ma.id,(ma,rt)=>{const ba=c(()=>ee()&&e(rt).id===y().activeTabId);var na=xi();let Fa;var Ya=le(na);{let $a=c(()=>e(rt).workspaceId??R()),La=c(()=>C()&&e(ba));yl(Ya,{get tab(){return e(rt)},get workspaceId(){return e($a)},get layoutId(){return w()},get isActive(){return e(ba)},get isPanelFocused(){return e(La)},onFocus:()=>qe()?.()})}V(na),me(()=>{Fa=Zt(na,1,"tab-content-wrapper h-full w-full svelte-iuokxa",null,Fa,{hidden:!e(ba)&&e(rt).type!=="browser","browser-background":!e(ba)&&e(rt).type==="browser"}),Fe(na,"data-tab-id",e(rt).id),Fe(na,"aria-hidden",!e(ba)),na.inert=!e(ba)}),f(ma,na)}),f(Pe,nt)},kt=Pe=>{var nt=je(),At=x(nt);ra(At,re),f(Pe,nt)},aa=Pe=>{Nr(Pe,{get workspaceId(){return R()},get panelId(){return Ne},get onCreateAgent(){return Kt()},get onCreateAgentWithSpecialist(){return xt()},get onCreateNote(){return Qt()},get onCreateTerminal(){return He()},get onOpenBrowser(){return tt()}})};I(Gt,Pe=>{y().tabs.length>0&&e(ut)?Pe(Rt):re()?Pe(kt,1):Pe(aa,-1)})}V(ce);var Ba=b(ce,2);{var Wt=Pe=>{var nt=Ii();me(At=>{Zt(nt,1,At,"svelte-iuokxa"),Fe(nt,"data-panel-legacy-tab-drop-zone",e(pe))},[()=>Oa(fa("legacy-tab-drop-destination",e(pe)))]),f(Pe,nt)};I(Ba,Pe=>{e(Ue)&&e(pe)&&Pe(Wt)})}V(T),zn(T,Pe=>o(ue,Pe),()=>e(ue)),me((Pe,nt,At)=>{A=Zt(T,1,Pe,"svelte-iuokxa",A,{"bg-sidebar":y().tabs.length===0,"bg-background":y().tabs.length>0,contained:ge()}),Fe(T,"data-panel-id",Ne),Fe(T,"data-layout-id",w()),Fe(T,"data-focused",C()),Fe(T,"data-focus-border-visible",C()&&We()),Fe(T,"data-empty-panel-shell",y().tabs.length===0?"true":void 0),Fe(T,"data-zoomed",Se()),Fe(T,"data-pristine",y().pristine===!0),Fe(T,"data-empty-panel-surface",y().pristine===!0&&y().tabs.length===0?"true":void 0),Fe(T,"aria-label",nt),Zt(ce,1,At,"svelte-iuokxa")},[()=>Oa(fa("panel group/panel relative flex flex-col h-full overflow-hidden rounded-(--panel-shell-radius) text-foreground")),()=>d.layout_panel_ariaLabel(),()=>Oa(fa("panel-content flex-1 overflow-hidden",B()&&"pointer-events-none"))]),Ia("focusin",T,lt),Qe("pointerdown",T,sa,!0),Qe("keydown",T,X,!0),Qe("dragover",T,Ft),Qe("dragleave",T,gt),Qe("drop",T,pt),Qe("dragenter",ye,Lt),Qe("dragleave",ye,p),Qe("dragover",ye,Ve),Qe("drop",ye,ha),f(l,T)};I(qt,l=>{y()&&l(da)})}f(m,Ea);var _=Ma(jt);return z(),_}Wr(["focusin"]);var zi=D("<div><div><!></div> <!></div>"),Di=D("<div><!> <!></div>");function Ri(m,r){if(new.target)return Da({component:Ri,...m});Aa(r,!0);const B=()=>Y(ha,"$sidebarWidth",w),k=()=>Y(ue,"$storedPanelSize",w),z=()=>Y(ut,"$sidebarExpandedWidth",w),y=()=>Y(ea,"$storedExpandedPanelSize",w),C=()=>Y(Ve,"$sidebarIsCollapsed",w),We=()=>Y(Dt,"$storedPanelSizeHydrated",w),R=()=>Y(ta,"$storedExpandedPanelSizeHydrated",w),[w,ee]=dn();let S=i(r,"orientation",7,"horizontal"),F=i(r,"storageKey",7,null),be=i(r,"className",7,""),ge=i(r,"handleClassName",7,""),qe=i(r,"showHandleIndicator",7,!1),Be=i(r,"resizable",7,!0),j=i(r,"active",7,!0),W=i(r,"minWidth",7,280),ie=i(r,"maxWidth",7,800),Le=i(r,"defaultWidth",7,320),bt=i(r,"resetWidth",7,void 0),_t=i(r,"restoreStoredWidth",7,!0),Et=i(r,"defaultExpandedWidth",7,600),et=i(r,"side",7,"right"),Se=i(r,"expandedStorageKey",7,null),yt=i(r,"collapseThreshold",7,null),de=i(r,"isExpanded",7,!1),wt=i(r,"minHeight",7,200),Tt=i(r,"maxHeight",7,800),Bt=i(r,"defaultHeight",7,400),Yt=i(r,"edge",7,"top"),Jt=i(r,"animateOnMount",7,!1),pa=i(r,"animationDuration",23,()=>Sr.slow.settleMs),oa=i(r,"disableWidthTransition",7,!1),la=i(r,"onWidthChange",7),ia=i(r,"onResizeStart",7),Kt=i(r,"onResize",7),xt=i(r,"onResizeEnd",7),Qt=i(r,"onResizeCancel",7),He=i(r,"resizeScrollContainer",7,null),tt=i(r,"doSkipResize",7,!1),re=i(r,"growWithDefaultWidth",7,!1),Ge=i(r,"resizeWithDefaultWidth",7,!1),Ne=i(r,"syncWithDefaultWidth",7,!1),$t=i(r,"lockRenderedWidthDuringResize",7,!1),te=i(r,"transientWidthDelta",7,0),ot=i(r,"percentageWeight",7,0),at=i(r,"usePercentage",7,void 0),Lt=i(r,"initiallyCollapsed",7,!1),p=i(r,"children",7);const Ve=nl(),ha=rl(),ut=ol(),ue=kr(F()??""),ea=kr(Se()??""),Dt=xr(F()??""),ta=xr(Se()??""),Ae=F()==="workspace-left-panel-width"||F()?.startsWith("workspace-left-panel-width:")===!0,Ie=Se()==="workspace-left-panel-expanded-width"||Se()?.startsWith("workspace-left-panel-expanded-width:")===!0,ze=Ae||Ie,Oe=F()==="workspace-left-panel-width",Ue=Se()==="workspace-left-panel-expanded-width";let pe=K(void 0),ct=K(void 0),ft=Le(),lt=Ge()||Ne();const Xe=c(()=>at()!==void 0?at()?1:0:Math.max(0,Math.min(1,ot())));function Ot(){return typeof window<"u"?window.innerWidth:1200}function sa(){return typeof window<"u"?window.innerHeight:800}function X(a,g){const H=g?Ot():sa();return a/H*100}function De(a,g){const H=g?Ot():sa();return a/100*H}function _e(a,g){const M=jt()>0?De(a,g):a,Ht=g?W():wt(),ka=g?ie():Tt();return M>=Ht&&M<=ka?M:null}function Ft(a){if(a&&Oe)return B();const g=k();return g===void 0?null:_e(g,a)}function gt(){if(Ue)return z();const a=y();return a===void 0?null:_e(a,!0)}function va(a,g){return e(Xe)>0?X(a,g):a}function pt(a,g,H){a&&(a==="workspace-left-panel-width"?Ce.dispatch(Hn(g)):a==="workspace-left-panel-expanded-width"?Ce.dispatch(Uo(g)):Ce.dispatch(Zo(a,va(g,H))))}function jt(){return at()!==void 0?at()?1:0:Math.max(0,Math.min(1,ot()))}function Ea(){const a=_t()?Ft(!0):null;return a!==null?a:Le()}function qt(){const a=gt();return a!==null?a:Et()}function da(){const a=Ft(!1);return a!==null?a:Bt()}let _=K(Sa(Lt()?0:S()==="horizontal"?Ea():Le())),l=K(null),T=K(Sa(tt())),A=K(Sa(S()==="horizontal"?qt():Et())),ye=K(Sa(Lt())),L=K(Sa(S()==="vertical"?da():Bt())),ce=K(0),Gt=K(0),Rt=K(0),kt=K(!1),aa=K(0),Ba=K(0),Wt=K(0),Pe=K(0),nt=K(0),At=0,ma=0,rt=null;const ba=24,na=8;function Fa(){const a=e(Xe);if(a!==0){if(S()==="horizontal"){if(e(ce)>0){const g=De(e(ce),!0),M=e(_)*(1-a)+g*a;o(_,Math.max(W(),Math.min(ie(),M)),!0),F()==="workspace-left-panel-width"&&Ce.dispatch(Hn(e(_)))}if(e(Gt)>0){const g=De(e(Gt),!0),H=e(A)*(1-a)+g*a;o(A,Math.max(W(),Math.min(ie(),H)),!0)}}else if(e(Rt)>0){const g=De(e(Rt),!1),H=e(L)*(1-a)+g*a;o(L,Math.max(wt(),Math.min(Tt(),H)),!0)}}}function Ya(a){a?(e(_)>0&&o($a,e(_),!0),o(_,0)):o(_,e($a)>0?e($a):Le(),!0),o(ce,X(e(_),!0),!0)}let $a=K(Sa(Le())),La=K(void 0);mt(()=>{if(!_t()||Lt()||de()||S()!=="horizontal")return;const a=Oe?B():k();if(a===void 0||a===e(pe))return;const g=Oe?a:_e(a,!0);g!==null&&(ze&&C()?(o($a,g,!0),o(_,0)):o(_,g,!0),o(ce,X(e(_),!0),!0),o(pe,a,!0))}),mt(()=>{if(S()!=="horizontal")return;const a=Ue?z():y();if(a===void 0||a===e(ct))return;const g=Ue?a:_e(a,!0);g!==null&&(o(A,g,!0),o(Gt,X(e(A),!0),!0),o(ct,a,!0))}),mt(()=>{if(S()!=="vertical")return;const a=k();if(a===void 0||a===e(pe))return;const g=_e(a,!1);g!==null&&(o(L,g,!0),o(Rt,X(e(L),!1),!0),o(pe,a,!0))}),mt(()=>{const a=Le(),g=ft,H=Ge()||Ne(),M=lt;if(ft=a,lt=H,!(_t()&&H&&!M)){if(H&&!Lt()&&!de()&&S()==="horizontal"&&a!==g){const Ht=Ne()?a:e(_)+a-g;o(_,Math.max(W(),Math.min(ie(),Ht)),!0),o(ce,X(e(_),!0),!0),pt(F(),e(_),!0);return}!re()||Lt()||de()||S()!=="horizontal"||a<=g||e(_)>=a||(o(_,Math.max(W(),Math.min(ie(),a)),!0),o(ce,X(e(_),!0),!0),pt(F(),e(_),!0))}}),mt(()=>{if(!j()||!ze||S()!=="horizontal")return;const a=C();if(e(La)===void 0){o(La,a,!0);return}a!==e(La)&&(o(La,a,!0),Ya(a))}),po(()=>{_t()&&F()&&!Oe&&!We()&&Ce.dispatch(wr(F())),Se()&&!Ue&&!R()&&Ce.dispatch(wr(Se())),S()==="horizontal"&&yt()&&e(_)<yt()&&(o(ye,!0),o(_,W())),o(ce,X(e(_),!0),!0),o(Gt,X(e(A),!0),!0),o(Rt,X(e(L),!1),!0),ze&&C()&&Ya(!0)}),mt(()=>{if(j())return e(Xe)>0&&window.addEventListener("resize",Fa),()=>{window.removeEventListener("resize",Fa)}});function un(a){const g=He()?He().scrollLeft-At:0,H=et()==="left"?a-e(aa)+g:e(aa)-a-g;let M=e(Wt)+H;M=Math.max(W(),Math.min(ie(),M)),de()&&!$t()?(o(A,M,!0),o(Gt,X(M,!0),!0)):$t()||(yt()!==null?M<yt()?(o(ye,!0),o(_,W()),o(ce,X(W(),!0),!0)):(o(ye,!1),o(_,M,!0),o(ce,X(M,!0),!0)):(o(_,M,!0),o(ce,X(M,!0),!0)),F()==="workspace-left-panel-width"&&Ce.dispatch(Hn(e(_))));const Ht=$t()?M:de()?e(A):e(_);Kt()?.(e(nt),Ht),o(nt,Ht,!0)}function vn(){if(rt!==null||!He()||et()!=="left")return;const a=He().getBoundingClientRect(),g=de()?e(A):e(_);ma<a.right-ba||g>=ie()||(rt=requestAnimationFrame(()=>{if(rt=null,!e(kt)||!He())return;const H=Math.max(0,He().scrollWidth-He().clientWidth),M=Math.min(H,He().scrollLeft+na);M!==He().scrollLeft&&(He().scrollLeft=M,un(ma),vn())}))}function Ja(a){if(e(kt))if(S()==="horizontal")ma=a.clientX,un(a.clientX),vn();else{const g=Yt()==="top"?e(Ba)-a.clientY:a.clientY-e(Ba);let H=e(Pe)+g;H=Math.max(wt(),Math.min(Tt(),H)),o(L,H,!0),o(Rt,X(H,!1),!0)}}function Qa(){if(!e(kt))return;o(kt,!1),rt!==null&&cancelAnimationFrame(rt),rt=null;const a=S()==="horizontal"?$t()?e(nt):de()?e(A):e(_):e(L);xt()?.(S()==="horizontal"?e(Wt):e(Pe),a),document.body.classList.remove("panel-resizing"),document.body.style.cursor="",document.body.style.userSelect="",S()==="horizontal"?de()&&Se()?pt(Se(),e(A),!0):!de()&&F()&&pt(F(),e(_),!0):F()&&pt(F(),e(L),!1),document.removeEventListener("mousemove",Ja),document.removeEventListener("mouseup",Qa),document.removeEventListener("keydown",Ha)}function Dn(){e(kt)&&(o(kt,!1),rt!==null&&cancelAnimationFrame(rt),rt=null,S()==="horizontal"?de()?(o(A,e(Wt),!0),o(Gt,X(e(Wt),!0),!0)):(o(_,e(Wt),!0),o(ce,X(e(Wt),!0),!0)):(o(L,e(Pe),!0),o(Rt,X(e(Pe),!1),!0)),document.body.classList.remove("panel-resizing"),document.body.style.cursor="",document.body.style.userSelect="",document.removeEventListener("mousemove",Ja),document.removeEventListener("mouseup",Qa),document.removeEventListener("keydown",Ha),Qt()?.())}function Ha(a){a.key==="Escape"&&(a.preventDefault(),Dn())}function mn(a){j()&&(o(kt,!0),ia()?.(),document.body.classList.add("panel-resizing"),S()==="horizontal"?(o(aa,a.clientX,!0),ma=a.clientX,At=He()?.scrollLeft??0,o(Wt,Math.max(W(),Math.min(ie(),de()?e(A):e(_))),!0),o(nt,e(Wt),!0),document.body.style.cursor=et()==="left"?"col-resize":"ew-resize"):(o(Ba,a.clientY,!0),o(Pe,e(L),!0),document.body.style.cursor="ns-resize"),document.body.style.userSelect="none",document.addEventListener("mousemove",Ja),document.addEventListener("mouseup",Qa),document.addEventListener("keydown",Ha))}function en(){if(S()==="horizontal")if(de()){const a=e(A);o(A,Et()),o(Gt,X(Et(),!0),!0),Se()&&pt(Se(),e(A),!0),xt()?.(a,e(A))}else{const a=e(_),g=bt()??Le();o(_,Math.max(W(),Math.min(ie(),g)),!0),o(ye,!1),o(ce,X(e(_),!0),!0),F()&&pt(F(),e(_),!0),xt()?.(a,e(_))}else{const a=e(L);o(L,Bt()),o(Rt,X(Bt(),!1),!0),F()&&pt(F(),e(L),!1),xt()?.(a,e(L))}}function bn(a){const g=a.shiftKey?20:10;if(S()==="horizontal")if(a.key==="ArrowLeft"||a.key==="ArrowRight"){a.preventDefault();const H=a.key==="ArrowLeft"?-g:g;let M=Math.min(ie(),de()?e(A):e(_))+H;M=Math.max(W(),Math.min(ie(),M)),de()?(o(A,M,!0),o(Gt,X(M,!0),!0)):yt()!==null?M<yt()?(o(ye,!0),o(_,W()),o(ce,X(W(),!0),!0)):(o(ye,!1),o(_,M,!0),o(ce,X(M,!0),!0)):(o(_,M,!0),o(ce,X(M,!0),!0));const Ht=de()?e(A):e(_);pt(de()?Se():F(),Ht,!0)}else a.key==="Enter"&&en();else if(a.key==="ArrowUp"||a.key==="ArrowDown"){a.preventDefault();const H=a.key==="ArrowUp"?-g:g;let M=e(L)+H;M=Math.max(wt(),Math.min(Tt(),M)),o(L,M,!0),o(Rt,X(M,!1),!0)}else a.key==="Enter"&&en()}Ar(()=>{document.removeEventListener("mousemove",Ja),document.removeEventListener("mouseup",Qa),document.removeEventListener("keydown",Ha),document.body.classList.remove("panel-resizing"),document.body.style.cursor="",document.body.style.userSelect="",rt!==null&&cancelAnimationFrame(rt),e(kt)&&xt()?.(S()==="horizontal"?e(Wt):e(Pe),S()==="horizontal"?de()?e(A):e(_):e(L))});let Pa=c(()=>!de()&&e(_)===0?0:Math.max(W(),Math.min(ie(),(de()?e(A):e(_))+te()))),Rn=c(()=>e(L));Er(()=>{const a=tt();if(e(T)&&!a){const g=e(l)?.getBoundingClientRect().width??0;g>0&&(o(_,Math.max(W(),Math.min(ie(),g)),!0),o(ce,X(e(_),!0),!0))}o(T,a,!0)}),mt(()=>{const a=e(Pa);j()&&kn(()=>la()?.(a))});var _n={get orientation(){return S()},set orientation(a="horizontal"){S(a),s()},get storageKey(){return F()},set storageKey(a=null){F(a),s()},get className(){return be()},set className(a=""){be(a),s()},get handleClassName(){return ge()},set handleClassName(a=""){ge(a),s()},get showHandleIndicator(){return qe()},set showHandleIndicator(a=!1){qe(a),s()},get resizable(){return Be()},set resizable(a=!0){Be(a),s()},get active(){return j()},set active(a=!0){j(a),s()},get minWidth(){return W()},set minWidth(a=280){W(a),s()},get maxWidth(){return ie()},set maxWidth(a=800){ie(a),s()},get defaultWidth(){return Le()},set defaultWidth(a=320){Le(a),s()},get resetWidth(){return bt()},set resetWidth(a=void 0){bt(a),s()},get restoreStoredWidth(){return _t()},set restoreStoredWidth(a=!0){_t(a),s()},get defaultExpandedWidth(){return Et()},set defaultExpandedWidth(a=600){Et(a),s()},get side(){return et()},set side(a="right"){et(a),s()},get expandedStorageKey(){return Se()},set expandedStorageKey(a=null){Se(a),s()},get collapseThreshold(){return yt()},set collapseThreshold(a=null){yt(a),s()},get isExpanded(){return de()},set isExpanded(a=!1){de(a),s()},get minHeight(){return wt()},set minHeight(a=200){wt(a),s()},get maxHeight(){return Tt()},set maxHeight(a=800){Tt(a),s()},get defaultHeight(){return Bt()},set defaultHeight(a=400){Bt(a),s()},get edge(){return Yt()},set edge(a="top"){Yt(a),s()},get animateOnMount(){return Jt()},set animateOnMount(a=!1){Jt(a),s()},get animationDuration(){return pa()},set animationDuration(a=Sr.slow.settleMs){pa(a),s()},get disableWidthTransition(){return oa()},set disableWidthTransition(a=!1){oa(a),s()},get onWidthChange(){return la()},set onWidthChange(a){la(a),s()},get onResizeStart(){return ia()},set onResizeStart(a){ia(a),s()},get onResize(){return Kt()},set onResize(a){Kt(a),s()},get onResizeEnd(){return xt()},set onResizeEnd(a){xt(a),s()},get onResizeCancel(){return Qt()},set onResizeCancel(a){Qt(a),s()},get resizeScrollContainer(){return He()},set resizeScrollContainer(a=null){He(a),s()},get doSkipResize(){return tt()},set doSkipResize(a=!1){tt(a),s()},get growWithDefaultWidth(){return re()},set growWithDefaultWidth(a=!1){re(a),s()},get resizeWithDefaultWidth(){return Ge()},set resizeWithDefaultWidth(a=!1){Ge(a),s()},get syncWithDefaultWidth(){return Ne()},set syncWithDefaultWidth(a=!1){Ne(a),s()},get lockRenderedWidthDuringResize(){return $t()},set lockRenderedWidthDuringResize(a=!1){$t(a),s()},get transientWidthDelta(){return te()},set transientWidthDelta(a=0){te(a),s()},get percentageWeight(){return ot()},set percentageWeight(a=0){ot(a),s()},get usePercentage(){return at()},set usePercentage(a=void 0){at(a),s()},get initiallyCollapsed(){return Lt()},set initiallyCollapsed(a=!1){Lt(a),s()},get children(){return p()},set children(a){p(a),s()},$set:Ra,$on:(a,g)=>Wa(r,a,g)},yn=je(),tn=x(yn);{var Mt=a=>{var g=zi(),H=le(g),M=le(H);ra(M,()=>p()??Ca,()=>({isCollapsed:e(ye)})),V(H);var Ht=b(H,2);{var ka=xa=>{{let cn=c(()=>et()==="left"?"-right-2":"-left-2"),Na=c(ge),fn=c(()=>qe()?"short":void 0),Wn=c(()=>d.layout_resizable_resizePanel_ariaLabel()),an=c(()=>d.layout_resizable_dragToResize_tooltip());ga(xa,{variant:"ghost",type:"button",get class(){return`absolute top-0 ${e(cn)??""} app-resize-handle resizable-panel-handle h-full w-4 z-30 ${e(Na)??""}`},"data-resize-axis":"x",get"data-resize-indicator"(){return e(fn)},get"data-resizing"(){return e(kt)},onmousedown:mn,ondblclick:en,onkeydown:bn,tabindex:0,get"aria-label"(){return e(Wn)},get tooltip(){return e(an)}})}};I(Ht,xa=>{Be()&&!tt()&&xa(ka)})}V(g),zn(g,xa=>o(l,xa),()=>e(l)),me(()=>{Zt(g,1,`relative shrink-0 ${e(kt)||oa()?"":"transition-[width,min-width,max-width] mx-auto duration-spring-slow ease-spring-slow motion-reduce:transition-none"} ${!tt()&&e(Pa)===0?"overflow-hidden":""} ${be()??""}`),Sn(g,tt()?"width: 100%;":`width: ${e(Pa)}px; min-width: ${e(Pa)===0?0:W()}px; max-width: ${ie()}px;`),Zt(H,1,`h-full min-h-0 transition-opacity duration-spring-slow ease-spring-slow motion-reduce:transition-none ${!tt()&&e(Pa)===0?"opacity-0":"opacity-100"}`)}),zl(3,g,()=>Dl,()=>({axis:"x",distance:Jt()?et()==="right"?e(Pa):-e(Pa):0,tier:"slow"})),f(a,g)},it=a=>{var g=Di(),H=le(g);{var M=ka=>{{let xa=c(()=>Yt()==="top"?"absolute -top-2":"absolute -bottom-2"),cn=c(ge),Na=c(()=>d.layout_resizable_resizePanelHeight_ariaLabel()),fn=c(()=>d.layout_resizable_dragToResizeHeight_tooltip());ga(ka,{variant:"ghost",type:"button",get class(){return`${e(xa)??""} app-resize-handle resizable-panel-handle left-0 right-0 h-4 z-30 ${e(cn)??""}`},"data-resize-axis":"y",get"data-resizing"(){return e(kt)},onmousedown:mn,ondblclick:en,onkeydown:bn,tabindex:0,get"aria-label"(){return e(Na)},get tooltip(){return e(fn)}})}};I(H,ka=>{Be()&&!tt()&&ka(M)})}var Ht=b(H,2);ra(Ht,()=>p()??Ca),V(g),me(()=>{Zt(g,1,`relative flex flex-col ${e(kt)?"":"transition-[height] duration-spring-moderate ease-spring-moderate motion-reduce:transition-none"} ${be()??""}`),Sn(g,tt()?"":`height: ${e(Rn)}px; min-height: ${wt()}px; max-height: ${Tt()}px;`)}),f(a,g)};I(tn,a=>{S()==="horizontal"?a(Mt):a(it,-1)})}f(m,yn);var st=Ma(_n);return ee(),st}export{Lr as D,Si as P,Ri as R,Bl as S,Gn as a,Vn as b,Fr as c,Fl as d,Ws as e,Rs as f,Va as g};
@@ -1 +1 @@
1
- import{bv as f}from"./3SdAC2_C.js";import{W as o}from"./DONrLvvt.js";import{bm as u}from"./CLAmm_T1.js";import{m as b}from"./cOfTiXUW.js";import"./CcJmuwXr.js";import"./BwNrQXlF.js";import"./BhvXSFFd.js";import"./ChTqQfQN.js";import"./Dz9x1eR4.js";import"./BlDw7Cnz.js";function l(){return globalThis.electronAPI??null}function i(r){const e=r?.enabled;return typeof e=="boolean"?e:null}const k=f(!1,r=>{const e=l();if(!e)return;let t=!0,s=!1;const c=e.on(o.DOCK_LAB_CHANGED,a=>{if(!t)return;const n=i(a);n!==null&&(s=!0,r(n))});return e.invoke(o.GET_DOCK_LAB,{}).then(a=>{const n=i(a);t&&!s&&n!==null&&r(n)}).catch(()=>{}),()=>{t=!1,e.offById(o.DOCK_LAB_CHANGED,c)}});async function d(r){const e=l();if(!e)return!1;try{const t=await e.invoke(o.SET_DOCK_LAB,{enabled:r});if(i(t)===r)return!0}catch{}return b.error(u.settings_gitWorkspace_saveError()),!1}async function y(r){await d(r)}export{k as d,d as r,y as s};
1
+ import{bv as f}from"./3SdAC2_C.js";import{W as o}from"./DONrLvvt.js";import{bm as u}from"./CLAmm_T1.js";import{m as b}from"./96V4v2iI.js";import"./CcJmuwXr.js";import"./BwNrQXlF.js";import"./TB9r2XJy.js";import"./ChTqQfQN.js";import"./BbYWP3Ow.js";import"./B9vHutcJ.js";function l(){return globalThis.electronAPI??null}function i(r){const e=r?.enabled;return typeof e=="boolean"?e:null}const k=f(!1,r=>{const e=l();if(!e)return;let t=!0,s=!1;const c=e.on(o.DOCK_LAB_CHANGED,a=>{if(!t)return;const n=i(a);n!==null&&(s=!0,r(n))});return e.invoke(o.GET_DOCK_LAB,{}).then(a=>{const n=i(a);t&&!s&&n!==null&&r(n)}).catch(()=>{}),()=>{t=!1,e.offById(o.DOCK_LAB_CHANGED,c)}});async function d(r){const e=l();if(!e)return!1;try{const t=await e.invoke(o.SET_DOCK_LAB,{enabled:r});if(i(t)===r)return!0}catch{}return b.error(u.settings_gitWorkspace_saveError()),!1}async function y(r){await d(r)}export{k as d,d as r,y as s};
@@ -1,4 +1,4 @@
1
- import{g as ie}from"./Cr0pYxvG.js";import{s as re}from"./CLO80vIO.js";import{b as p,ay as b,X as $,a1 as ae,aP as ne,bh as oe,V as le,a_ as ce,U as he,aZ as de,b0 as ue,Y as fe,T as pe,z as j,r as Se,aW as vt,am as ge,aU as ye,ab as me,aG as Te}from"./COujhQNX.js";import{c as Ee}from"./CThyVptW.js";import{aR as _e}from"./BZljJ1HD.js";var At=(function(){var t=p(function(V,o,f,n){for(f=f||{},n=V.length;n--;f[V[n]]=o);return f},"o"),e=[1,2],s=[1,3],a=[1,4],r=[2,4],c=[1,9],h=[1,11],u=[1,16],l=[1,17],m=[1,18],y=[1,19],_=[1,33],L=[1,20],N=[1,21],D=[1,22],S=[1,23],w=[1,24],C=[1,26],F=[1,27],I=[1,28],P=[1,29],v=[1,30],z=[1,31],at=[1,32],nt=[1,35],ot=[1,36],lt=[1,37],ct=[1,38],K=[1,34],g=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ht=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],It=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],mt={trace:p(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(function(o,f,n,T,E,i,B){var d=i.length-1;switch(E){case 3:return T.setRootDoc(i[d]),i[d];case 4:this.$=[];break;case 5:i[d]!="nl"&&(i[d-1].push(i[d]),this.$=i[d-1]);break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:const Q=i[d-1];Q.description=T.trimColon(i[d]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:const Tt=T.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:Tt};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var G=i[d],X=i[d-2].trim();if(i[d].match(":")){var ut=i[d].split(":");G=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:G,type:"default",description:X};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[d-3],url:i[d-2],tooltip:i[d-1]};break;case 33:this.$={stmt:"click",id:i[d-3],url:i[d-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 36:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 37:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:s,6:a},{1:[3]},{3:5,4:e,5:s,6:a},{3:6,4:e,5:s,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,7]),t(g,[2,8]),t(g,[2,9]),t(g,[2,10]),t(g,[2,11]),t(g,[2,12],{14:[1,40],15:[1,41]}),t(g,[2,16]),{18:[1,42]},t(g,[2,18],{20:[1,43]}),{23:[1,44]},t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(g,[2,28]),{34:[1,49]},{36:[1,50]},t(g,[2,31]),{13:51,24:_,57:K},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(ht,[2,44],{58:[1,56]}),t(ht,[2,45],{58:[1,57]}),t(g,[2,38]),t(g,[2,39]),t(g,[2,40]),t(g,[2,41]),t(g,[2,6]),t(g,[2,13]),{13:58,24:_,57:K},t(g,[2,17]),t(It,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(g,[2,29]),t(g,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(g,[2,14],{14:[1,71]}),{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,72],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(g,[2,34]),t(g,[2,35]),t(g,[2,36]),t(g,[2,37]),t(ht,[2,46]),t(ht,[2,47]),t(g,[2,15]),t(g,[2,19]),t(It,r,{7:78}),t(g,[2,26]),t(g,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,81],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,32]),t(g,[2,33]),t(g,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(function(o,f){if(f.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=f,n}},"parseError"),parse:p(function(o){var f=this,n=[0],T=[],E=[null],i=[],B=this.table,d="",G=0,X=0,ut=2,Q=1,Tt=i.slice.call(arguments,1),k=Object.create(this.lexer),W={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(W.yy[Et]=this.yy[Et]);k.setInput(o,W.yy),W.yy.lexer=k,W.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var _t=k.yylloc;i.push(_t);var ee=k.options&&k.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(R){n.length=n.length-2*R,E.length=E.length-R,i.length=i.length-R}p(se,"popStack");function Rt(){var R;return R=T.pop()||k.lex()||Q,typeof R!="number"&&(R instanceof Array&&(T=R,R=T.pop()),R=f.symbols_[R]||R),R}p(Rt,"lex");for(var x,U,O,bt,J={},ft,Y,Nt,pt;;){if(U=n[n.length-1],this.defaultActions[U]?O=this.defaultActions[U]:((x===null||typeof x>"u")&&(x=Rt()),O=B[U]&&B[U][x]),typeof O>"u"||!O.length||!O[0]){var kt="";pt=[];for(ft in B[U])this.terminals_[ft]&&ft>ut&&pt.push("'"+this.terminals_[ft]+"'");k.showPosition?kt="Parse error on line "+(G+1)+`:
1
+ import{g as ie}from"./DZKOpbCv.js";import{s as re}from"./D3vsaFn3.js";import{b as p,ay as b,X as $,a1 as ae,aP as ne,bh as oe,V as le,a_ as ce,U as he,aZ as de,b0 as ue,Y as fe,T as pe,z as j,r as Se,aW as vt,am as ge,aU as ye,ab as me,aG as Te}from"./DtluaQEg.js";import{c as Ee}from"./DRbQVjcG.js";import{aR as _e}from"./BQGIKN0g.js";var At=(function(){var t=p(function(V,o,f,n){for(f=f||{},n=V.length;n--;f[V[n]]=o);return f},"o"),e=[1,2],s=[1,3],a=[1,4],r=[2,4],c=[1,9],h=[1,11],u=[1,16],l=[1,17],m=[1,18],y=[1,19],_=[1,33],L=[1,20],N=[1,21],D=[1,22],S=[1,23],w=[1,24],C=[1,26],F=[1,27],I=[1,28],P=[1,29],v=[1,30],z=[1,31],at=[1,32],nt=[1,35],ot=[1,36],lt=[1,37],ct=[1,38],K=[1,34],g=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ht=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],It=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],mt={trace:p(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(function(o,f,n,T,E,i,B){var d=i.length-1;switch(E){case 3:return T.setRootDoc(i[d]),i[d];case 4:this.$=[];break;case 5:i[d]!="nl"&&(i[d-1].push(i[d]),this.$=i[d-1]);break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:const Q=i[d-1];Q.description=T.trimColon(i[d]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:const Tt=T.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:Tt};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var G=i[d],X=i[d-2].trim();if(i[d].match(":")){var ut=i[d].split(":");G=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:G,type:"default",description:X};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[d-3],url:i[d-2],tooltip:i[d-1]};break;case 33:this.$={stmt:"click",id:i[d-3],url:i[d-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 36:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 37:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:s,6:a},{1:[3]},{3:5,4:e,5:s,6:a},{3:6,4:e,5:s,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,7]),t(g,[2,8]),t(g,[2,9]),t(g,[2,10]),t(g,[2,11]),t(g,[2,12],{14:[1,40],15:[1,41]}),t(g,[2,16]),{18:[1,42]},t(g,[2,18],{20:[1,43]}),{23:[1,44]},t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(g,[2,28]),{34:[1,49]},{36:[1,50]},t(g,[2,31]),{13:51,24:_,57:K},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(ht,[2,44],{58:[1,56]}),t(ht,[2,45],{58:[1,57]}),t(g,[2,38]),t(g,[2,39]),t(g,[2,40]),t(g,[2,41]),t(g,[2,6]),t(g,[2,13]),{13:58,24:_,57:K},t(g,[2,17]),t(It,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(g,[2,29]),t(g,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(g,[2,14],{14:[1,71]}),{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,72],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(g,[2,34]),t(g,[2,35]),t(g,[2,36]),t(g,[2,37]),t(ht,[2,46]),t(ht,[2,47]),t(g,[2,15]),t(g,[2,19]),t(It,r,{7:78}),t(g,[2,26]),t(g,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,81],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,32]),t(g,[2,33]),t(g,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(function(o,f){if(f.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=f,n}},"parseError"),parse:p(function(o){var f=this,n=[0],T=[],E=[null],i=[],B=this.table,d="",G=0,X=0,ut=2,Q=1,Tt=i.slice.call(arguments,1),k=Object.create(this.lexer),W={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(W.yy[Et]=this.yy[Et]);k.setInput(o,W.yy),W.yy.lexer=k,W.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var _t=k.yylloc;i.push(_t);var ee=k.options&&k.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(R){n.length=n.length-2*R,E.length=E.length-R,i.length=i.length-R}p(se,"popStack");function Rt(){var R;return R=T.pop()||k.lex()||Q,typeof R!="number"&&(R instanceof Array&&(T=R,R=T.pop()),R=f.symbols_[R]||R),R}p(Rt,"lex");for(var x,U,O,bt,J={},ft,Y,Nt,pt;;){if(U=n[n.length-1],this.defaultActions[U]?O=this.defaultActions[U]:((x===null||typeof x>"u")&&(x=Rt()),O=B[U]&&B[U][x]),typeof O>"u"||!O.length||!O[0]){var kt="";pt=[];for(ft in B[U])this.terminals_[ft]&&ft>ut&&pt.push("'"+this.terminals_[ft]+"'");k.showPosition?kt="Parse error on line "+(G+1)+`:
2
2
  `+k.showPosition()+`
3
3
  Expecting `+pt.join(", ")+", got '"+(this.terminals_[x]||x)+"'":kt="Parse error on line "+(G+1)+": Unexpected "+(x==Q?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(kt,{text:k.match,token:this.terminals_[x]||x,line:k.yylineno,loc:_t,expected:pt})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+x);switch(O[0]){case 1:n.push(x),E.push(k.yytext),i.push(k.yylloc),n.push(O[1]),x=null,X=k.yyleng,d=k.yytext,G=k.yylineno,_t=k.yylloc;break;case 2:if(Y=this.productions_[O[1]][1],J.$=E[E.length-Y],J._$={first_line:i[i.length-(Y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(Y||1)].first_column,last_column:i[i.length-1].last_column},ee&&(J._$.range=[i[i.length-(Y||1)].range[0],i[i.length-1].range[1]]),bt=this.performAction.apply(J,[d,X,G,W.yy,O[1],E,i].concat(Tt)),typeof bt<"u")return bt;Y&&(n=n.slice(0,-1*Y*2),E=E.slice(0,-1*Y),i=i.slice(0,-1*Y)),n.push(this.productions_[O[1]][0]),E.push(J.$),i.push(J._$),Nt=B[n[n.length-2]][n[n.length-1]],n.push(Nt);break;case 3:return!0}}return!0},"parse")},te=(function(){var V={EOF:1,parseError:p(function(f,n){if(this.yy.parser)this.yy.parser.parseError(f,n);else throw new Error(f)},"parseError"),setInput:p(function(o,f){return this.yy=f||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:p(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var f=o.match(/(?:\r\n?|\n).*/g);return f?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:p(function(o){var f=o.length,n=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var T=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===T.length?this.yylloc.first_column:0)+T[T.length-n.length].length-n[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:p(function(){return this._more=!0,this},"more"),reject:p(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:p(function(o){this.unput(this.match.slice(o))},"less"),pastInput:p(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:p(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:p(function(){var o=this.pastInput(),f=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{t as X,bo as s,bw as Y,bp as Z,b as $}from"./CLAmm_T1.js";import{bs as tt,a5 as l,bS as C,bf as F,bA as v,b_ as A,W as m,bn as et,aA as n,aB as p,be as at,b$ as st,bO as nt,aD as it,c9 as rt}from"./3SdAC2_C.js";import{i as f}from"./BFgvMDua.js";import{t as S}from"./BwNrQXlF.js";import{b as ot,e as L,c as O,f as j}from"./CcJmuwXr.js";import{f as ct}from"./DREHsvwt.js";import"./BhvXSFFd.js";import"./DtzJzV-4.js";const dt="px-4",wt="mx-2 px-2";var lt=new Set(["$$slots","$$events","$$legacy","title","description","icon","actions","actionLabel","onAction","children","density","emphasis","severity","inset","class","contentClass"]),vt=p('<div data-slot="empty-state-icon"><!></div>'),mt=p('<div data-slot="empty-state-title"><!></div>'),ut=p('<div data-slot="empty-state-description"><!></div>'),ft=p("<div><!> <!></div>"),pt=p('<div data-slot="empty-state-actions" class="flex justify-center gap-2"><!> <!></div>'),_t=p("<section><div><!> <!> <!> <!></div></section>");function yt(G,e){if(new.target)return X({component:yt,...G});tt(e,!0);let c=s(e,"title",7),_=s(e,"description",7),w=s(e,"icon",7),E=s(e,"actions",7),y=s(e,"actionLabel",7),g=s(e,"onAction",7),k=s(e,"children",7),r=s(e,"density",7,"default"),x=s(e,"emphasis",7,"routine"),T=s(e,"severity",7,"routine"),N=s(e,"inset",7,!1),B=s(e,"class",7),P=s(e,"contentClass",7),H=Z(e,lt);var J={get title(){return c()},set title(t){c(t),n()},get description(){return _()},set description(t){_(t),n()},get icon(){return w()},set icon(t){w(t),n()},get actions(){return E()},set actions(t){E(t),n()},get actionLabel(){return y()},set actionLabel(t){y(t),n()},get onAction(){return g()},set onAction(t){g(t),n()},get children(){return k()},set children(t){k(t),n()},get density(){return r()},set density(t="default"){r(t),n()},get emphasis(){return x()},set emphasis(t="routine"){x(t),n()},get severity(){return T()},set severity(t="routine"){T(t),n()},get inset(){return N()},set inset(t=!1){N(t),n()},get class(){return B()},set class(t){B(t),n()},get contentClass(){return P()},set contentClass(t){P(t),n()},$set:Y,$on:(t,a)=>$(e,t,a)},R=_t();ot(R,t=>({"data-slot":"empty-state","data-density":r(),"data-emphasis":x(),"data-severity":T(),"data-inset":N()?"card":void 0,class:t,...H}),[()=>L("flex items-center justify-center text-center",r()==="compact"?"min-h-28 py-6":"min-h-48 py-10",N()?dt:r()==="compact"?"px-4":"px-6",B())]);var W=l(R),I=l(W);{var K=t=>{var a=vt(),d=l(a);S(d,w),v(a),A(b=>j(a,1,b),[()=>O(L("mx-auto flex w-fit",T()==="danger"?"text-danger":"text-muted-foreground"))]),m(t,a)};f(I,t=>{w()&&t(K)})}var U=C(I,2);{var M=t=>{var a=ft(),d=l(a);{var b=o=>{var i=mt(),D=l(i);S(D,c),v(i),A(u=>j(i,1,u),[()=>O(L(x()==="prominent"?"type-title font-semibold text-foreground":r()==="compact"?"type-caption font-normal":"type-body font-normal",x()==="routine"&&"text-muted-foreground"))]),m(o,i)};f(d,o=>{c()&&o(b)})}var z=C(d,2);{var h=o=>{var i=ut(),D=l(i);S(D,_),v(i),A(u=>j(i,1,u),[()=>O(L(c()&&"mt-1",c()||r()==="compact"?"type-caption":"type-body","text-muted-foreground"))]),m(o,i)};f(z,o=>{_()&&o(h)})}v(a),m(t,a)};f(U,t=>{(c()||_())&&t(M)})}var q=C(U,2);{var Q=t=>{var a=pt(),d=l(a);S(d,()=>E()??F);var b=C(d,2);{var z=h=>{{let o=rt(()=>r()==="compact"?"compact":"default");ct(h,{variant:"ghost",get size(){return it(o)},get onclick(){return g()},children:(i,D)=>{at();var u=st();A(()=>nt(u,y())),m(i,u)},$$slots:{default:!0}})}};f(b,h=>{y()&&g()&&h(z)})}v(a),m(t,a)};f(q,t=>{(E()||y()&&g())&&t(Q)})}var V=C(q,2);return S(V,()=>k()??F),v(W),v(R),A(t=>j(W,1,t),[()=>O(L("flex w-full max-w-md flex-col",r()==="compact"?"gap-3":"gap-4",P()))]),m(G,R),et(J)}export{dt as C,yt as E,wt as a};
1
+ import{t as X,bo as s,bw as Y,bp as Z,b as $}from"./CLAmm_T1.js";import{bs as tt,a5 as l,bS as C,bf as F,bA as v,b_ as A,W as m,bn as et,aA as n,aB as p,be as at,b$ as st,bO as nt,aD as it,c9 as rt}from"./3SdAC2_C.js";import{i as f}from"./BFgvMDua.js";import{t as S}from"./BwNrQXlF.js";import{b as ot,e as L,c as O,f as j}from"./CcJmuwXr.js";import{f as ct}from"./nxtepGjE.js";import"./TB9r2XJy.js";import"./DtzJzV-4.js";const dt="px-4",wt="mx-2 px-2";var lt=new Set(["$$slots","$$events","$$legacy","title","description","icon","actions","actionLabel","onAction","children","density","emphasis","severity","inset","class","contentClass"]),vt=p('<div data-slot="empty-state-icon"><!></div>'),mt=p('<div data-slot="empty-state-title"><!></div>'),ut=p('<div data-slot="empty-state-description"><!></div>'),ft=p("<div><!> <!></div>"),pt=p('<div data-slot="empty-state-actions" class="flex justify-center gap-2"><!> <!></div>'),_t=p("<section><div><!> <!> <!> <!></div></section>");function yt(G,e){if(new.target)return X({component:yt,...G});tt(e,!0);let c=s(e,"title",7),_=s(e,"description",7),w=s(e,"icon",7),E=s(e,"actions",7),y=s(e,"actionLabel",7),g=s(e,"onAction",7),k=s(e,"children",7),r=s(e,"density",7,"default"),x=s(e,"emphasis",7,"routine"),T=s(e,"severity",7,"routine"),N=s(e,"inset",7,!1),B=s(e,"class",7),P=s(e,"contentClass",7),H=Z(e,lt);var J={get title(){return c()},set title(t){c(t),n()},get description(){return _()},set description(t){_(t),n()},get icon(){return w()},set icon(t){w(t),n()},get actions(){return E()},set actions(t){E(t),n()},get actionLabel(){return y()},set actionLabel(t){y(t),n()},get onAction(){return g()},set onAction(t){g(t),n()},get children(){return k()},set children(t){k(t),n()},get density(){return r()},set density(t="default"){r(t),n()},get emphasis(){return x()},set emphasis(t="routine"){x(t),n()},get severity(){return T()},set severity(t="routine"){T(t),n()},get inset(){return N()},set inset(t=!1){N(t),n()},get class(){return B()},set class(t){B(t),n()},get contentClass(){return P()},set contentClass(t){P(t),n()},$set:Y,$on:(t,a)=>$(e,t,a)},R=_t();ot(R,t=>({"data-slot":"empty-state","data-density":r(),"data-emphasis":x(),"data-severity":T(),"data-inset":N()?"card":void 0,class:t,...H}),[()=>L("flex items-center justify-center text-center",r()==="compact"?"min-h-28 py-6":"min-h-48 py-10",N()?dt:r()==="compact"?"px-4":"px-6",B())]);var W=l(R),I=l(W);{var K=t=>{var a=vt(),d=l(a);S(d,w),v(a),A(b=>j(a,1,b),[()=>O(L("mx-auto flex w-fit",T()==="danger"?"text-danger":"text-muted-foreground"))]),m(t,a)};f(I,t=>{w()&&t(K)})}var U=C(I,2);{var M=t=>{var a=ft(),d=l(a);{var b=o=>{var i=mt(),D=l(i);S(D,c),v(i),A(u=>j(i,1,u),[()=>O(L(x()==="prominent"?"type-title font-semibold text-foreground":r()==="compact"?"type-caption font-normal":"type-body font-normal",x()==="routine"&&"text-muted-foreground"))]),m(o,i)};f(d,o=>{c()&&o(b)})}var z=C(d,2);{var h=o=>{var i=ut(),D=l(i);S(D,_),v(i),A(u=>j(i,1,u),[()=>O(L(c()&&"mt-1",c()||r()==="compact"?"type-caption":"type-body","text-muted-foreground"))]),m(o,i)};f(z,o=>{_()&&o(h)})}v(a),m(t,a)};f(U,t=>{(c()||_())&&t(M)})}var q=C(U,2);{var Q=t=>{var a=pt(),d=l(a);S(d,()=>E()??F);var b=C(d,2);{var z=h=>{{let o=rt(()=>r()==="compact"?"compact":"default");ct(h,{variant:"ghost",get size(){return it(o)},get onclick(){return g()},children:(i,D)=>{at();var u=st();A(()=>nt(u,y())),m(i,u)},$$slots:{default:!0}})}};f(b,h=>{y()&&g()&&h(z)})}v(a),m(t,a)};f(q,t=>{(E()||y()&&g())&&t(Q)})}var V=C(q,2);return S(V,()=>k()??F),v(W),v(R),A(t=>j(W,1,t),[()=>O(L("flex w-full max-w-md flex-col",r()==="compact"?"gap-3":"gap-4",P()))]),m(G,R),et(J)}export{dt as C,yt as E,wt as a};
@@ -1 +1 @@
1
- import{t as J,bo as g,bw as Q,b as T,bm as D}from"./CLAmm_T1.js";import{bs as U,b_ as V,W as m,bn as X,aA as b,aC as ae,a7 as B,ay as F,aD as t,a5 as Z,bS as $,bH as h,bA as E,be as ie,b$ as se,bO as G,c9 as f,aB as H,bV as j,bl as ee,bk as oe}from"./3SdAC2_C.js";import{s as le,f as ue,c as ce}from"./CcJmuwXr.js";import{i as P}from"./BFgvMDua.js";import{k as fe}from"./CIbfGsF-.js";import{g as me,i as de}from"./B1CKzIA2.js";import{I as pe}from"./DX9jQ0PS.js";import"./C4jSaPCg.js";import{L as ge}from"./DjpNk5RK.js";import"./CEE0831H.js";import{D as be}from"./fvo80nOp.js";import{b as te}from"./DipTZipA.js";import{P as ve,K as O}from"./B-DC5RDK.js";var _e=ae('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function Ce(p,i){if(new.target)return J({component:Ce,...p});U(i,!0);let s=g(i,"width",7,24),e=g(i,"class",7,"");var a={get width(){return s()},set width(o=24){s(o),b()},get class(){return e()},set class(o=""){e(o),b()},$set:Q,$on:(o,u)=>T(i,o,u)},l=_e();return V(()=>{le(l,"width",s()),ue(l,0,ce(e()))}),m(p,l),X(a)}var he=H('<span class="min-w-0 shrink truncate text-subtle"> </span>'),we=H('<li class="flex min-w-0 items-baseline justify-between gap-3"><span class="min-w-0 truncate"> </span> <!></li>'),Le=H('<ul class="grid gap-1.5"></ul>'),ye=H('<div class="grid gap-2"><!> <!></div>');function re(p,i){if(new.target)return J({component:re,...p});U(i,!0);const s=r=>{var c=B(),x=F(c);{var A=_=>{var R=Le();me(R,21,()=>e().options.items??[],de,(q,w)=>{var M=we(),I=Z(M),C=ee(I,!0),S=$(I,2);{var L=y=>{var Y=he(),ne=ee(Y,!0);V(()=>G(ne,t(w).detail)),m(y,Y)};P(S,y=>{t(w).detail&&y(L)})}E(M),V(()=>G(C,t(w).label)),m(q,M)}),E(R),m(_,R)};P(x,_=>{e().kind==="confirm"&&_(A)})}m(r,c)};let e=g(i,"request",7),a=g(i,"value",15,""),l=g(i,"busy",7,!1),o=g(i,"static",7,!1),u=g(i,"onAccept",7),v=g(i,"onCancel",7),k=j(null);var K={get request(){return e()},set request(r){e(r),b()},get value(){return a()},set value(r=""){a(r),b()},get busy(){return l()},set busy(r=!1){l(r),b()},get static(){return o()},set static(r=!1){o(r),b()},get onAccept(){return u()},set onAccept(r){u(r),b()},get onCancel(){return v()},set onCancel(r){v(r),b()},$set:Q,$on:(r,c)=>T(i,r,c)},n=B(),d=F(n);{var N=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_bulkActionConfirm_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_bulkActionConfirm_cancel_label()),A=f(()=>e().options.destructive??!1),_=f(()=>e().options.items?.length?s:void 0);be(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return t(c)},get cancelLabel(){return t(x)},get destructive(){return t(A)},get details(){return t(_)},get busy(){return l()},onConfirm:()=>u()(a()),get onCancel(){return v()}})}},W=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_input_cancel_label()),A=f(()=>!e().options.field.required||a().trim().length>0);te(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},get cancelLabel(){return t(x)},get canSubmit(){return t(A)},get busy(){return l()},get initialFocus(){return t(k)},onSubmit:()=>u()(a()),get onCancel(){return v()},children:(_,R)=>{var q=ye(),w=Z(q);{var M=C=>{ge(C,{for:"confirm-prompt-field",children:(S,L)=>{ie();var y=se();V(()=>G(y,e().options.field.label)),m(S,y)},$$slots:{default:!0}})};P(w,C=>{e().options.field.label&&C(M)})}var I=$(w,2);{let C=f(()=>e().options.field.type??"text"),S=f(()=>e().options.field.label?void 0:e().options.title);pe(I,{id:"confirm-prompt-field",get type(){return t(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return t(S)},get ref(){return t(k)},set ref(L){h(k,L,!0)},get value(){return a()},set value(L){a(L)}})}E(q),m(_,q)},$$slots:{default:!0}})}},z=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label());te(r,{open:!0,get static(){return o()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return l()},onSubmit:()=>u()(a()),onCancel:()=>u()(a())})}};P(d,r=>{e()?.kind==="confirm"?r(N):e()?.kind==="prompt"?r(W,1):e()?.kind==="alert"&&r(z,2)})}return m(p,n),X(K)}function ke(p,i){if(new.target)return J({component:ke,...p});U(i,!0);let s=j(null),e=j(""),a=j(!1);oe(()=>ve(n=>{h(s,n,!0),h(e,n?.kind==="prompt"?n.options.field.initialValue??"":"",!0),h(a,!1)}));function l(){!t(s)||t(a)||O(t(s).id,t(s).kind==="confirm"?!1:null)}async function o(){if(!t(s)||t(a))return;const n=t(s);h(a,!0);try{n.kind==="confirm"?(await n.options.onConfirm?.(),O(n.id,!0)):n.kind==="prompt"?(await n.options.onConfirm?.(t(e).trim()),O(n.id,t(e).trim())):O(n.id,void 0)}catch(d){throw console.error("Confirm action failed:",d),h(a,!1),d}}var u={$set:Q,$on:(n,d)=>T(i,n,d)},v=B(),k=F(v);{var K=n=>{var d=B(),N=F(d);fe(N,()=>t(s).id,W=>{re(W,{get request(){return t(s)},get busy(){return t(a)},onAccept:o,onCancel:l,get value(){return t(e)},set value(z){h(e,z,!0)}})}),m(n,d)};P(k,n=>{t(s)&&n(K)})}return m(p,v),X(u)}export{ke as C,Ce as L};
1
+ import{t as J,bo as g,bw as Q,b as T,bm as D}from"./CLAmm_T1.js";import{bs as U,b_ as V,W as m,bn as X,aA as b,aC as ae,a7 as B,ay as F,aD as t,a5 as Z,bS as $,bH as h,bA as E,be as ie,b$ as se,bO as G,c9 as f,aB as H,bV as j,bl as ee,bk as oe}from"./3SdAC2_C.js";import{s as le,f as ue,c as ce}from"./CcJmuwXr.js";import{i as P}from"./BFgvMDua.js";import{k as fe}from"./CIbfGsF-.js";import{g as me,i as de}from"./B1CKzIA2.js";import{I as pe}from"./DaWmj23r.js";import"./C4jSaPCg.js";import{L as ge}from"./B5N8LmEF.js";import"./CEE0831H.js";import{D as be}from"./D4d1iyeR.js";import{b as te}from"./CVWwz1Ss.js";import{P as ve,K as O}from"./R-UFG3MB.js";var _e=ae('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function Ce(p,i){if(new.target)return J({component:Ce,...p});U(i,!0);let s=g(i,"width",7,24),e=g(i,"class",7,"");var a={get width(){return s()},set width(o=24){s(o),b()},get class(){return e()},set class(o=""){e(o),b()},$set:Q,$on:(o,u)=>T(i,o,u)},l=_e();return V(()=>{le(l,"width",s()),ue(l,0,ce(e()))}),m(p,l),X(a)}var he=H('<span class="min-w-0 shrink truncate text-subtle"> </span>'),we=H('<li class="flex min-w-0 items-baseline justify-between gap-3"><span class="min-w-0 truncate"> </span> <!></li>'),Le=H('<ul class="grid gap-1.5"></ul>'),ye=H('<div class="grid gap-2"><!> <!></div>');function re(p,i){if(new.target)return J({component:re,...p});U(i,!0);const s=r=>{var c=B(),x=F(c);{var A=_=>{var R=Le();me(R,21,()=>e().options.items??[],de,(q,w)=>{var M=we(),I=Z(M),C=ee(I,!0),S=$(I,2);{var L=y=>{var Y=he(),ne=ee(Y,!0);V(()=>G(ne,t(w).detail)),m(y,Y)};P(S,y=>{t(w).detail&&y(L)})}E(M),V(()=>G(C,t(w).label)),m(q,M)}),E(R),m(_,R)};P(x,_=>{e().kind==="confirm"&&_(A)})}m(r,c)};let e=g(i,"request",7),a=g(i,"value",15,""),l=g(i,"busy",7,!1),o=g(i,"static",7,!1),u=g(i,"onAccept",7),v=g(i,"onCancel",7),k=j(null);var K={get request(){return e()},set request(r){e(r),b()},get value(){return a()},set value(r=""){a(r),b()},get busy(){return l()},set busy(r=!1){l(r),b()},get static(){return o()},set static(r=!1){o(r),b()},get onAccept(){return u()},set onAccept(r){u(r),b()},get onCancel(){return v()},set onCancel(r){v(r),b()},$set:Q,$on:(r,c)=>T(i,r,c)},n=B(),d=F(n);{var N=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_bulkActionConfirm_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_bulkActionConfirm_cancel_label()),A=f(()=>e().options.destructive??!1),_=f(()=>e().options.items?.length?s:void 0);be(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return t(c)},get cancelLabel(){return t(x)},get destructive(){return t(A)},get details(){return t(_)},get busy(){return l()},onConfirm:()=>u()(a()),get onCancel(){return v()}})}},W=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label()),x=f(()=>e().options.cancelLabel??D.modals_input_cancel_label()),A=f(()=>!e().options.field.required||a().trim().length>0);te(r,{open:!0,get static(){return o()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},get cancelLabel(){return t(x)},get canSubmit(){return t(A)},get busy(){return l()},get initialFocus(){return t(k)},onSubmit:()=>u()(a()),get onCancel(){return v()},children:(_,R)=>{var q=ye(),w=Z(q);{var M=C=>{ge(C,{for:"confirm-prompt-field",children:(S,L)=>{ie();var y=se();V(()=>G(y,e().options.field.label)),m(S,y)},$$slots:{default:!0}})};P(w,C=>{e().options.field.label&&C(M)})}var I=$(w,2);{let C=f(()=>e().options.field.type??"text"),S=f(()=>e().options.field.label?void 0:e().options.title);pe(I,{id:"confirm-prompt-field",get type(){return t(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return t(S)},get ref(){return t(k)},set ref(L){h(k,L,!0)},get value(){return a()},set value(L){a(L)}})}E(q),m(_,q)},$$slots:{default:!0}})}},z=r=>{{let c=f(()=>e().options.confirmLabel??D.modals_input_confirm_label());te(r,{open:!0,get static(){return o()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return t(c)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return l()},onSubmit:()=>u()(a()),onCancel:()=>u()(a())})}};P(d,r=>{e()?.kind==="confirm"?r(N):e()?.kind==="prompt"?r(W,1):e()?.kind==="alert"&&r(z,2)})}return m(p,n),X(K)}function ke(p,i){if(new.target)return J({component:ke,...p});U(i,!0);let s=j(null),e=j(""),a=j(!1);oe(()=>ve(n=>{h(s,n,!0),h(e,n?.kind==="prompt"?n.options.field.initialValue??"":"",!0),h(a,!1)}));function l(){!t(s)||t(a)||O(t(s).id,t(s).kind==="confirm"?!1:null)}async function o(){if(!t(s)||t(a))return;const n=t(s);h(a,!0);try{n.kind==="confirm"?(await n.options.onConfirm?.(),O(n.id,!0)):n.kind==="prompt"?(await n.options.onConfirm?.(t(e).trim()),O(n.id,t(e).trim())):O(n.id,void 0)}catch(d){throw console.error("Confirm action failed:",d),h(a,!1),d}}var u={$set:Q,$on:(n,d)=>T(i,n,d)},v=B(),k=F(v);{var K=n=>{var d=B(),N=F(d);fe(N,()=>t(s).id,W=>{re(W,{get request(){return t(s)},get busy(){return t(a)},onAccept:o,onCancel:l,get value(){return t(e)},set value(z){h(e,z,!0)}})}),m(n,d)};P(k,n=>{t(s)&&n(K)})}return m(p,v),X(u)}export{ke as C,Ce as L};
@@ -1 +1 @@
1
- import{aG as r}from"./3SdAC2_C.js";import{br as e}from"./BlDw7Cnz.js";const n=Symbol("workspace-route-context");function s(t){return t&&t!=="new"?e(t):null}function u(t,o){return t?.startsWith("/workspace/")?s(o):null}function p(){try{return r(n)}catch{return}}export{n as W,s as a,p as g,u as w};
1
+ import{aG as r}from"./3SdAC2_C.js";import{br as e}from"./B9vHutcJ.js";const n=Symbol("workspace-route-context");function s(t){return t&&t!=="new"?e(t):null}function u(t,o){return t?.startsWith("/workspace/")?s(o):null}function p(){try{return r(n)}catch{return}}export{n as W,s as a,p as g,u as w};
@@ -1 +1 @@
1
- import{br as U}from"./3SdAC2_C.js";import{c as W}from"./ChTqQfQN.js";import{a as G,i as H}from"./Bu13V5mO.js";import{u as g,i as P,j as m,w as _}from"./B9dzo0Kz.js";import{JG as c}from"./BlDw7Cnz.js";import{B as Q,H as Z,v as V,O as K,J as X}from"./Bqd7fdCF.js";const f=W("PanelKeyboardShortcuts"),Y=2e3;function ae(d,p,D=()=>null,I={}){const v=I.isMac??(typeof navigator<"u"&&navigator.platform.toUpperCase().includes("MAC")),s=U({leaderActive:!1,leaderTimeout:null,isZoomed:!1,zoomedPanelId:null,showPanelNumbers:!1});function w(){s.leaderTimeout&&clearTimeout(s.leaderTimeout),s.leaderActive=!0,s.leaderTimeout=setTimeout(()=>{s.leaderActive=!1,s.showPanelNumbers=!1,f.debug("Leader key timed out")},Y),f.debug("Leader key activated")}function h(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.showPanelNumbers=!1}function C(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.isZoomed=!1,s.zoomedPanelId=null,s.showPanelNumbers=!1}function z(e){const n=d();switch(f.debug("Executing leader action",{action:e}),e){case"navigate-left":case"navigate-right":case"navigate-up":case"navigate-down":E(n,e.replace("navigate-",""));break;case"navigate-next":p?p("next"):k(n,"next");break;case"navigate-prev":p?p("prev"):k(n,"prev");break;case"split-right":{const t=m.select(c.state,n.workspaceId),a=g.select(c.state,n.workspaceId);t&&a.length<4&&n.splitPanel(t,"horizontal");break}case"zoom-toggle":N(n);break;case"zoom-reset":x();break;case"close-panel":{const t=m.select(c.state,n.workspaceId);t&&n.closePanel(t);break}case"resize-left":case"resize-right":case"resize-up":case"resize-down":f.debug("Resize action not yet implemented",{action:e});break;case"resize-equal":O(n);break;case"swap-prev":case"swap-next":f.debug("Swap action not yet implemented",{action:e});break;case"show-panel-numbers":s.showPanelNumbers=!0;return;case"move-tab-to-next-panel":{const t=P.select(c.state,n.workspaceId);if(t?.activeTabId){const a=n.getOtherPanelId();a&&n.moveTabToPanel(t.activeTabId,t.id,a)}break}case"cycle-layout-presets":n.cyclePresets();break}h()}function E(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=m.select(a,t);if(!u){e.focusPanel(r[0]);return}const l=r.indexOf(u);let i;n==="left"||n==="up"?i=l>0?l-1:r.length-1:i=l<r.length-1?l+1:0,e.focusPanel(r[i])}function k(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=m.select(a,t),l=u?r.indexOf(u):-1;let i;n==="next"?i=l<r.length-1?l+1:0:i=l>0?l-1:r.length-1,e.focusPanel(r[i])}function N(e){s.isZoomed=!s.isZoomed,s.isZoomed?s.zoomedPanelId=m.select(c.state,e.workspaceId):s.zoomedPanelId=null,f.debug("Zoom toggled",{isZoomed:s.isZoomed})}function x(){s.isZoomed=!1,s.zoomedPanelId=null,f.debug("Zoom reset")}function q(e,n){const t=s.zoomedPanelId;t===null&&!s.isZoomed||t!==null&&t===e&&n.includes(t)||x()}function O(e){const n=_.select(c.state,e.workspaceId);if(!n)return;function t(a){if(a.type==="split"){const r=100/a.children.length;a.sizes=a.children.map(()=>r),a.children.forEach(t)}}t(n.root),f.debug("Equalized all panel sizes")}function T(e,n){const t=g.select(c.state,e.workspaceId);n>=0&&n<t.length&&e.focusPanel(t[n])}function j(e,n){const t=P.select(c.state,e.workspaceId);return!t||t.tabs.length<2?!1:(n==="next"?e.selectNextTab(t.id):e.selectPreviousTab(t.id),!0)}function F(e,n){if(I.onFocusAdjacentColumn)return I.onFocusAdjacentColumn(n);const t=g.select(c.state,e.workspaceId),a=m.select(c.state,e.workspaceId),u=(a?t.indexOf(a):-1)+(n==="next"?1:-1),l=t[u];return l?(e.focusPanel(l),!0):!1}function B(e,n){const t=P.select(c.state,e.workspaceId);return t?e.moveActivePaneToColumn(t.id,n):!1}function L(e){const n=g.select(c.state,e.workspaceId),t=m.select(c.state,e.workspaceId);return!t||n.length>=4?!1:(e.splitPanel(t,"horizontal"),!0)}function R(e){const n=v?e.metaKey&&!e.ctrlKey:e.ctrlKey&&!e.metaKey,t=c.state.userPreferences?.shortcutOverrides??{},a=o=>K(o,t),r=o=>Z(e,a(o),v),u=o=>r(o)&&!Q(o,e,a,v),l=u("panel.focus-previous-column")?"prev":u("panel.focus-next-column")?"next":null,i=r("panel.previous-pane")?"prev":r("panel.next-pane")?"next":null;if(l){const o=F(d(),l);return o&&e.preventDefault(),o}if(i){const o=j(d(),i);return o&&e.preventDefault(),o}if(r("panel.create-column-right")){const o=L(d());return o&&(e.preventDefault(),e.stopPropagation()),o}const y=e.target instanceof Element?e.target:null;if(G(y)||H(y))return!1;const A=d(),S=r("panel.move-pane-previous-column")?"prev":r("panel.move-pane-next-column")?"next":null;if(S){const o=B(A,S);return o&&e.preventDefault(),o}if(n&&e.key===";"&&!e.shiftKey&&!e.altKey)return e.preventDefault(),w(),!0;if(s.leaderActive){if(e.preventDefault(),s.showPanelNumbers&&e.key>="1"&&e.key<="9")return T(A,parseInt(e.key)-1),h(),!0;const o=J(e);return o?(z(o),!0):(h(),!0)}return!1}function J(e){const n=i=>K(i,c.state.userPreferences?.shortcutOverrides??{}),t=i=>X(e,n(i),v),a=t("leader.navigate-panels");if(a>=0)return["navigate-left","navigate-down","navigate-up","navigate-right"][a];const r=t("leader.resize-panels");if(r>=0)return["resize-left","resize-down","resize-up","resize-right"][r];const u=t("leader.next-previous-panel");if(u>=0)return u===0?"navigate-next":"navigate-prev";if(t("leader.split-right")>=0)return"split-right";if(t("leader.toggle-zoom")>=0)return"zoom-toggle";if(t("leader.close-panel")>=0)return"close-panel";if(t("leader.equalize-sizes")>=0)return"resize-equal";const l=V(n("leader.jump-to-panel"));return l&&Z(e,l,v)?"show-panel-numbers":t("leader.cycle-layout")>=0?"cycle-layout-presets":null}return{get availableCanvasWidth(){return D()},get leaderActive(){return s.leaderActive},get isZoomed(){return s.isZoomed},get zoomedPanelId(){return s.zoomedPanelId},get showPanelNumbers(){return s.showPanelNumbers},handleKeyDown:R,activateLeader:w,deactivateLeader:h,executeAction:z,focusPanelByIndex:T,syncZoom:q,cleanup:C}}const b=new Map;function re(d,p){b.set(d,p)}function oe(d){b.delete(d)}function le(d){return b.get(d)}export{ae as c,le as g,re as r,oe as u};
1
+ import{br as J}from"./3SdAC2_C.js";import{c as U}from"./ChTqQfQN.js";import{a as W,i as _}from"./Bu13V5mO.js";import{u as g,i as P,j as m,w as G}from"./BPQFiQQc.js";import{JH as c}from"./B9vHutcJ.js";import{B as Q,H as Z,v as V,O as K,J as X}from"./Bqd7fdCF.js";const f=U("PanelKeyboardShortcuts"),Y=2e3;function ae(d,p,D=()=>null,I={}){const v=I.isMac??(typeof navigator<"u"&&navigator.platform.toUpperCase().includes("MAC")),s=J({leaderActive:!1,leaderTimeout:null,isZoomed:!1,zoomedPanelId:null,showPanelNumbers:!1});function w(){s.leaderTimeout&&clearTimeout(s.leaderTimeout),s.leaderActive=!0,s.leaderTimeout=setTimeout(()=>{s.leaderActive=!1,s.showPanelNumbers=!1,f.debug("Leader key timed out")},Y),f.debug("Leader key activated")}function h(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.showPanelNumbers=!1}function C(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.isZoomed=!1,s.zoomedPanelId=null,s.showPanelNumbers=!1}function z(e){const n=d();switch(f.debug("Executing leader action",{action:e}),e){case"navigate-left":case"navigate-right":case"navigate-up":case"navigate-down":E(n,e.replace("navigate-",""));break;case"navigate-next":p?p("next"):k(n,"next");break;case"navigate-prev":p?p("prev"):k(n,"prev");break;case"split-right":{const t=m.select(c.state,n.workspaceId),a=g.select(c.state,n.workspaceId);t&&a.length<4&&n.splitPanel(t,"horizontal");break}case"zoom-toggle":N(n);break;case"zoom-reset":x();break;case"close-panel":{const t=m.select(c.state,n.workspaceId);t&&n.closePanel(t);break}case"resize-left":case"resize-right":case"resize-up":case"resize-down":f.debug("Resize action not yet implemented",{action:e});break;case"resize-equal":O(n);break;case"swap-prev":case"swap-next":f.debug("Swap action not yet implemented",{action:e});break;case"show-panel-numbers":s.showPanelNumbers=!0;return;case"move-tab-to-next-panel":{const t=P.select(c.state,n.workspaceId);if(t?.activeTabId){const a=n.getOtherPanelId();a&&n.moveTabToPanel(t.activeTabId,t.id,a)}break}case"cycle-layout-presets":n.cyclePresets();break}h()}function E(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=m.select(a,t);if(!u){e.focusPanel(r[0]);return}const l=r.indexOf(u);let i;n==="left"||n==="up"?i=l>0?l-1:r.length-1:i=l<r.length-1?l+1:0,e.focusPanel(r[i])}function k(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=m.select(a,t),l=u?r.indexOf(u):-1;let i;n==="next"?i=l<r.length-1?l+1:0:i=l>0?l-1:r.length-1,e.focusPanel(r[i])}function N(e){s.isZoomed=!s.isZoomed,s.isZoomed?s.zoomedPanelId=m.select(c.state,e.workspaceId):s.zoomedPanelId=null,f.debug("Zoom toggled",{isZoomed:s.isZoomed})}function x(){s.isZoomed=!1,s.zoomedPanelId=null,f.debug("Zoom reset")}function q(e,n){const t=s.zoomedPanelId;t===null&&!s.isZoomed||t!==null&&t===e&&n.includes(t)||x()}function O(e){const n=G.select(c.state,e.workspaceId);if(!n)return;function t(a){if(a.type==="split"){const r=100/a.children.length;a.sizes=a.children.map(()=>r),a.children.forEach(t)}}t(n.root),f.debug("Equalized all panel sizes")}function T(e,n){const t=g.select(c.state,e.workspaceId);n>=0&&n<t.length&&e.focusPanel(t[n])}function j(e,n){const t=P.select(c.state,e.workspaceId);return!t||t.tabs.length<2?!1:(n==="next"?e.selectNextTab(t.id):e.selectPreviousTab(t.id),!0)}function F(e,n){if(I.onFocusAdjacentColumn)return I.onFocusAdjacentColumn(n);const t=g.select(c.state,e.workspaceId),a=m.select(c.state,e.workspaceId),u=(a?t.indexOf(a):-1)+(n==="next"?1:-1),l=t[u];return l?(e.focusPanel(l),!0):!1}function B(e,n){const t=P.select(c.state,e.workspaceId);return t?e.moveActivePaneToColumn(t.id,n):!1}function L(e){const n=g.select(c.state,e.workspaceId),t=m.select(c.state,e.workspaceId);return!t||n.length>=4?!1:(e.splitPanel(t,"horizontal"),!0)}function R(e){const n=v?e.metaKey&&!e.ctrlKey:e.ctrlKey&&!e.metaKey,t=c.state.userPreferences?.shortcutOverrides??{},a=o=>K(o,t),r=o=>Z(e,a(o),v),u=o=>r(o)&&!Q(o,e,a,v),l=u("panel.focus-previous-column")?"prev":u("panel.focus-next-column")?"next":null,i=r("panel.previous-pane")?"prev":r("panel.next-pane")?"next":null;if(l){const o=F(d(),l);return o&&e.preventDefault(),o}if(i){const o=j(d(),i);return o&&e.preventDefault(),o}if(r("panel.create-column-right")){const o=L(d());return o&&(e.preventDefault(),e.stopPropagation()),o}const y=e.target instanceof Element?e.target:null;if(W(y)||_(y))return!1;const A=d(),S=r("panel.move-pane-previous-column")?"prev":r("panel.move-pane-next-column")?"next":null;if(S){const o=B(A,S);return o&&e.preventDefault(),o}if(n&&e.key===";"&&!e.shiftKey&&!e.altKey)return e.preventDefault(),w(),!0;if(s.leaderActive){if(e.preventDefault(),s.showPanelNumbers&&e.key>="1"&&e.key<="9")return T(A,parseInt(e.key)-1),h(),!0;const o=H(e);return o?(z(o),!0):(h(),!0)}return!1}function H(e){const n=i=>K(i,c.state.userPreferences?.shortcutOverrides??{}),t=i=>X(e,n(i),v),a=t("leader.navigate-panels");if(a>=0)return["navigate-left","navigate-down","navigate-up","navigate-right"][a];const r=t("leader.resize-panels");if(r>=0)return["resize-left","resize-down","resize-up","resize-right"][r];const u=t("leader.next-previous-panel");if(u>=0)return u===0?"navigate-next":"navigate-prev";if(t("leader.split-right")>=0)return"split-right";if(t("leader.toggle-zoom")>=0)return"zoom-toggle";if(t("leader.close-panel")>=0)return"close-panel";if(t("leader.equalize-sizes")>=0)return"resize-equal";const l=V(n("leader.jump-to-panel"));return l&&Z(e,l,v)?"show-panel-numbers":t("leader.cycle-layout")>=0?"cycle-layout-presets":null}return{get availableCanvasWidth(){return D()},get leaderActive(){return s.leaderActive},get isZoomed(){return s.isZoomed},get zoomedPanelId(){return s.zoomedPanelId},get showPanelNumbers(){return s.showPanelNumbers},handleKeyDown:R,activateLeader:w,deactivateLeader:h,executeAction:z,focusPanelByIndex:T,syncZoom:q,cleanup:C}}const b=new Map;function re(d,p){b.set(d,p)}function oe(d){b.delete(d)}function le(d){return b.get(d)}export{ae as c,le as g,re as r,oe as u};
@@ -1 +1 @@
1
- import{t as N,bo as y,bw as R,b as W,bp as ie}from"./CLAmm_T1.js";import{bs as q,a7 as $,ay as ee,W as P,bn as B,aA as I,bf as oe,bV as L,br as de,ca as z,aD as t,bk as le,bH as f,c0 as J,a5 as F,bA as T,b_ as te,aB as H,c9 as S,bl as ce}from"./3SdAC2_C.js";import{t as ue}from"./BwNrQXlF.js";import{z as ve,av as Q}from"./DREHsvwt.js";import{i as D}from"./BFgvMDua.js";import{s as ne,b as X,e as C,c as fe,f as me}from"./CcJmuwXr.js";import{b as ge}from"./Dn334wJv.js";import{g as he,b as pe}from"./DX9jQ0PS.js";import{P as be}from"./sKA-ObYb.js";import{F as xe,bZ as _e,ay as Ee,au as ye}from"./DPttSllj.js";function Ie(g,s){if(new.target)return N({component:Ie,...g});q(s,!0);let a=y(s,"id",7),l=y(s,"children",7),c=y(s,"virtualEl",7),r=y(s,"ref",7),b=y(s,"tooltip",7,!1);ve.create({id:Q(()=>a()),virtualEl:Q(()=>c()),ref:r()},b());var w={get id(){return a()},set id(o){a(o),I()},get children(){return l()},set children(o){l(o),I()},get virtualEl(){return c()},set virtualEl(o){c(o),I()},get ref(){return r()},set ref(o){r(o),I()},get tooltip(){return b()},set tooltip(o=!1){b(o),I()},$set:R,$on:(o,i)=>W(s,o,i)},x=$(),A=ee(x);return ue(A,()=>l()??oe),P(g,x),B(w)}var we=H('<span data-slot="menu-list-highlight" class="contents svelte-da0knc" aria-hidden="true"><!></span>');function Ae(g,s){if(new.target)return N({component:Ae,...g});q(s,!0);let a=y(s,"activeIndex",7),l=y(s,"onactiveindexchange",7),c=L(null),r=L(null),b=L(de([])),w=L(null),x=L(!1),A=L(!1),o;const i='[data-menu-item], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="option"]';z(()=>{t(r)&&a()===void 0&&t(x)&&t(r).activeIndex!==t(w)&&t(r).setActiveIndex(t(w))}),z(()=>{!t(r)||a()===void 0||t(r).pointerPosition||t(r).setActiveIndex(a())}),z(()=>{if(!t(r)?.pointerPosition){o=void 0;return}t(r).activeIndex!==o&&(o=t(r).activeIndex,l()?.(t(r).activeIndex))}),le(()=>{const e=t(c)?.parentElement;if(!e)return;e.dataset.listOverlay="",e.classList.add("relative","isolate");const u=he(e,{axis:"xy"});f(r,u);let h=[];const ae=n=>n instanceof Element&&(n.matches(i)||n.querySelector(i)),re=n=>n.hasAttribute("data-disabled")||n.getAttribute("aria-disabled")==="true",se=n=>n.dataset.selectionAppearance!=="indicator"&&(n.hasAttribute("data-selected")||n.getAttribute("data-state")==="checked"||n.getAttribute("aria-selected")==="true"||n.getAttribute("aria-checked")==="true"),V=()=>{const n=Array.from(e.querySelectorAll(i)).filter(d=>d.closest("[data-list-overlay]")===e&&!re(d));n.length!==h.length||n.some((d,p)=>d!==h[p])?(h.forEach((d,p)=>u.registerItem(p,null)),h=n,h.forEach((d,p)=>u.registerItem(p,d))):u.measure();const v=h.flatMap((d,p)=>se(d)?[p]:[]);if((v.length!==t(b).length||v.some((d,p)=>d!==t(b)[p]))&&f(b,v,!0),a()===void 0){const d=h.findIndex(p=>p.hasAttribute("data-highlighted")||p===document.activeElement);d>=0&&u.setActiveIndex(d)}},K=new MutationObserver(n=>{n.some(v=>v.type==="attributes"||[...v.addedNodes,...v.removedNodes].some(ae))&&V()});K.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-highlighted","data-selected","data-state","data-disabled","aria-selected","aria-checked","aria-disabled","data-selection-appearance"]});const M=()=>{const n=h.indexOf(document.activeElement);f(w,n>=0?n:null,!0)},G=()=>{f(A,!1),f(x,!0),M(),J().then(()=>{t(x)&&M()})},U=()=>{f(x,!1)},Y=()=>{f(A,!1),f(x,!0),M()},Z=n=>{const v=n.target instanceof Element?n.target.closest(i):null,d=h.indexOf(v);n.button!==0||d<0||(f(x,!1),f(A,!0),u.setActiveIndex(d))},O=()=>{f(A,!1)},j=n=>{const v=h.indexOf(n.target);f(w,v>=0?v:null,!0),v>=0&&u.setActiveIndex(v)};return e.addEventListener("keydown",G,!0),e.addEventListener("pointermove",U,!0),e.addEventListener("pointerleave",Y),e.addEventListener("pointerdown",Z),window.addEventListener("pointerup",O),window.addEventListener("pointercancel",O),e.addEventListener("focusin",j),J().then(V),()=>{K.disconnect(),e.removeEventListener("keydown",G,!0),e.removeEventListener("pointermove",U,!0),e.removeEventListener("pointerleave",Y),e.removeEventListener("pointerdown",Z),window.removeEventListener("pointerup",O),window.removeEventListener("pointercancel",O),e.removeEventListener("focusin",j),u.destroy(),f(r,null),delete e.dataset.listOverlay}});var m={get activeIndex(){return a()},set activeIndex(e){a(e),I()},get onactiveindexchange(){return l()},set onactiveindexchange(e){l(e),I()},$set:R,$on:(e,u)=>W(s,e,u)},E=we(),k=F(E);{var _=e=>{{let u=S(()=>t(A)?t(b).includes(t(r).activeIndex??-1)?"bg-hover menu-selection-pressed":"bg-active":"bg-hover");be(e,{get store(){return t(r)},get selectedIndexes(){return t(b)},get hoverClass(){return t(u)}})}};D(k,e=>{t(r)&&e(_)})}return T(E),ge(E,e=>f(c,e),()=>t(c)),te(()=>ne(E,"data-active-index",t(r)?.activeIndex??void 0)),P(g,E),B(m)}const Le=8;function Be(g,s,a=24){if(!g)return!0;const l=g.getBoundingClientRect(),c=s+a+Le;return l.left>=c||g.ownerDocument.documentElement.clientWidth-l.right>=c}var ke=new Set(["$$slots","$$events","$$legacy","state","class","data-slot"]),Pe=H('<span><span class="relative block h-3.5 w-6 rounded-full bg-muted-foreground/25 transition-colors duration-spring-fast ease-spring-fast data-[state=checked]:bg-foreground/80 motion-reduce:transition-none"><span></span></span></span>'),Oe=H("<span><!></span>");function Se(g,s){if(new.target)return N({component:Se,...g});q(s,!0);let a=y(s,"state",7),l=y(s,"class",7),c=y(s,"data-slot",7),r=ie(s,ke);var b={get state(){return a()},set state(i){a(i),I()},get class(){return l()},set class(i){l(i),I()},get"data-slot"(){return c()},set"data-slot"(i){c(i),I()},$set:R,$on:(i,m)=>W(s,i,m)},w=$(),x=ee(w);{var A=i=>{var m=Pe();X(m,_=>({...r,"data-slot":c()??"menu-switch",class:_,"aria-hidden":"true"}),[()=>C("ml-auto flex h-lh shrink-0 items-center",l())]);var E=F(m),k=ce(E);T(m),te(_=>{ne(E,"data-state",a()==="on"?"checked":"unchecked"),me(k,1,_)},[()=>fe(C("absolute top-0.5 left-0.5 size-2.5 rounded-full bg-popover transition-transform duration-spring-fast ease-spring-fast motion-reduce:transition-none",a()==="on"&&"translate-x-2.5"))]),P(i,m)},o=i=>{var m=Oe();X(m,_=>({...r,"data-slot":c()??(a()==="submenu"?"menu-sub-chevron":"menu-item-indicator"),class:_,"aria-hidden":"true"}),[()=>C(pe,a()==="submenu"?"text-muted-foreground":"text-primary-ink",l())]);var E=F(m);{var k=_=>{{let e=S(()=>a()==="mixed"?_e:a()==="submenu"?Ee:ye),u=S(()=>a()==="submenu"?"calc(var(--space-2) + var(--space-1) / 2)":"var(--menu-icon-size)"),h=S(()=>a()==="submenu"?"size-2.5 rtl:rotate-180":"size-(--menu-icon-size)");xe(_,{get icon(){return t(e)},get size(){return t(u)},get class(){return t(h)}})}};D(E,_=>{a()!=="empty"&&_(k)})}T(m),P(i,m)};D(x,i=>{a()==="on"||a()==="off"?i(A):i(o,-1)})}return P(g,w),B(b)}export{Ie as F,Se as M,Le as O,Ae as a,Be as c};
1
+ import{t as N,bo as y,bw as R,b as W,bp as ie}from"./CLAmm_T1.js";import{bs as q,a7 as $,ay as ee,W as P,bn as B,aA as I,bf as oe,bV as L,br as de,ca as z,aD as t,bk as le,bH as f,c0 as J,a5 as F,bA as T,b_ as te,aB as H,c9 as S,bl as ce}from"./3SdAC2_C.js";import{t as ue}from"./BwNrQXlF.js";import{z as ve,av as Q}from"./nxtepGjE.js";import{i as D}from"./BFgvMDua.js";import{s as ne,b as X,e as C,c as fe,f as me}from"./CcJmuwXr.js";import{b as ge}from"./Dn334wJv.js";import{g as he,b as pe}from"./DaWmj23r.js";import{P as be}from"./hkJYqn41.js";import{F as xe,bZ as _e,ay as Ee,au as ye}from"./DPttSllj.js";function Ie(g,s){if(new.target)return N({component:Ie,...g});q(s,!0);let a=y(s,"id",7),l=y(s,"children",7),c=y(s,"virtualEl",7),r=y(s,"ref",7),b=y(s,"tooltip",7,!1);ve.create({id:Q(()=>a()),virtualEl:Q(()=>c()),ref:r()},b());var w={get id(){return a()},set id(o){a(o),I()},get children(){return l()},set children(o){l(o),I()},get virtualEl(){return c()},set virtualEl(o){c(o),I()},get ref(){return r()},set ref(o){r(o),I()},get tooltip(){return b()},set tooltip(o=!1){b(o),I()},$set:R,$on:(o,i)=>W(s,o,i)},x=$(),A=ee(x);return ue(A,()=>l()??oe),P(g,x),B(w)}var we=H('<span data-slot="menu-list-highlight" class="contents svelte-da0knc" aria-hidden="true"><!></span>');function Ae(g,s){if(new.target)return N({component:Ae,...g});q(s,!0);let a=y(s,"activeIndex",7),l=y(s,"onactiveindexchange",7),c=L(null),r=L(null),b=L(de([])),w=L(null),x=L(!1),A=L(!1),o;const i='[data-menu-item], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="option"]';z(()=>{t(r)&&a()===void 0&&t(x)&&t(r).activeIndex!==t(w)&&t(r).setActiveIndex(t(w))}),z(()=>{!t(r)||a()===void 0||t(r).pointerPosition||t(r).setActiveIndex(a())}),z(()=>{if(!t(r)?.pointerPosition){o=void 0;return}t(r).activeIndex!==o&&(o=t(r).activeIndex,l()?.(t(r).activeIndex))}),le(()=>{const e=t(c)?.parentElement;if(!e)return;e.dataset.listOverlay="",e.classList.add("relative","isolate");const u=he(e,{axis:"xy"});f(r,u);let h=[];const ae=n=>n instanceof Element&&(n.matches(i)||n.querySelector(i)),re=n=>n.hasAttribute("data-disabled")||n.getAttribute("aria-disabled")==="true",se=n=>n.dataset.selectionAppearance!=="indicator"&&(n.hasAttribute("data-selected")||n.getAttribute("data-state")==="checked"||n.getAttribute("aria-selected")==="true"||n.getAttribute("aria-checked")==="true"),V=()=>{const n=Array.from(e.querySelectorAll(i)).filter(d=>d.closest("[data-list-overlay]")===e&&!re(d));n.length!==h.length||n.some((d,p)=>d!==h[p])?(h.forEach((d,p)=>u.registerItem(p,null)),h=n,h.forEach((d,p)=>u.registerItem(p,d))):u.measure();const v=h.flatMap((d,p)=>se(d)?[p]:[]);if((v.length!==t(b).length||v.some((d,p)=>d!==t(b)[p]))&&f(b,v,!0),a()===void 0){const d=h.findIndex(p=>p.hasAttribute("data-highlighted")||p===document.activeElement);d>=0&&u.setActiveIndex(d)}},K=new MutationObserver(n=>{n.some(v=>v.type==="attributes"||[...v.addedNodes,...v.removedNodes].some(ae))&&V()});K.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-highlighted","data-selected","data-state","data-disabled","aria-selected","aria-checked","aria-disabled","data-selection-appearance"]});const M=()=>{const n=h.indexOf(document.activeElement);f(w,n>=0?n:null,!0)},G=()=>{f(A,!1),f(x,!0),M(),J().then(()=>{t(x)&&M()})},U=()=>{f(x,!1)},Y=()=>{f(A,!1),f(x,!0),M()},Z=n=>{const v=n.target instanceof Element?n.target.closest(i):null,d=h.indexOf(v);n.button!==0||d<0||(f(x,!1),f(A,!0),u.setActiveIndex(d))},O=()=>{f(A,!1)},j=n=>{const v=h.indexOf(n.target);f(w,v>=0?v:null,!0),v>=0&&u.setActiveIndex(v)};return e.addEventListener("keydown",G,!0),e.addEventListener("pointermove",U,!0),e.addEventListener("pointerleave",Y),e.addEventListener("pointerdown",Z),window.addEventListener("pointerup",O),window.addEventListener("pointercancel",O),e.addEventListener("focusin",j),J().then(V),()=>{K.disconnect(),e.removeEventListener("keydown",G,!0),e.removeEventListener("pointermove",U,!0),e.removeEventListener("pointerleave",Y),e.removeEventListener("pointerdown",Z),window.removeEventListener("pointerup",O),window.removeEventListener("pointercancel",O),e.removeEventListener("focusin",j),u.destroy(),f(r,null),delete e.dataset.listOverlay}});var m={get activeIndex(){return a()},set activeIndex(e){a(e),I()},get onactiveindexchange(){return l()},set onactiveindexchange(e){l(e),I()},$set:R,$on:(e,u)=>W(s,e,u)},E=we(),k=F(E);{var _=e=>{{let u=S(()=>t(A)?t(b).includes(t(r).activeIndex??-1)?"bg-hover menu-selection-pressed":"bg-active":"bg-hover");be(e,{get store(){return t(r)},get selectedIndexes(){return t(b)},get hoverClass(){return t(u)}})}};D(k,e=>{t(r)&&e(_)})}return T(E),ge(E,e=>f(c,e),()=>t(c)),te(()=>ne(E,"data-active-index",t(r)?.activeIndex??void 0)),P(g,E),B(m)}const Le=8;function Be(g,s,a=24){if(!g)return!0;const l=g.getBoundingClientRect(),c=s+a+Le;return l.left>=c||g.ownerDocument.documentElement.clientWidth-l.right>=c}var ke=new Set(["$$slots","$$events","$$legacy","state","class","data-slot"]),Pe=H('<span><span class="relative block h-3.5 w-6 rounded-full bg-muted-foreground/25 transition-colors duration-spring-fast ease-spring-fast data-[state=checked]:bg-foreground/80 motion-reduce:transition-none"><span></span></span></span>'),Oe=H("<span><!></span>");function Se(g,s){if(new.target)return N({component:Se,...g});q(s,!0);let a=y(s,"state",7),l=y(s,"class",7),c=y(s,"data-slot",7),r=ie(s,ke);var b={get state(){return a()},set state(i){a(i),I()},get class(){return l()},set class(i){l(i),I()},get"data-slot"(){return c()},set"data-slot"(i){c(i),I()},$set:R,$on:(i,m)=>W(s,i,m)},w=$(),x=ee(w);{var A=i=>{var m=Pe();X(m,_=>({...r,"data-slot":c()??"menu-switch",class:_,"aria-hidden":"true"}),[()=>C("ml-auto flex h-lh shrink-0 items-center",l())]);var E=F(m),k=ce(E);T(m),te(_=>{ne(E,"data-state",a()==="on"?"checked":"unchecked"),me(k,1,_)},[()=>fe(C("absolute top-0.5 left-0.5 size-2.5 rounded-full bg-popover transition-transform duration-spring-fast ease-spring-fast motion-reduce:transition-none",a()==="on"&&"translate-x-2.5"))]),P(i,m)},o=i=>{var m=Oe();X(m,_=>({...r,"data-slot":c()??(a()==="submenu"?"menu-sub-chevron":"menu-item-indicator"),class:_,"aria-hidden":"true"}),[()=>C(pe,a()==="submenu"?"text-muted-foreground":"text-primary-ink",l())]);var E=F(m);{var k=_=>{{let e=S(()=>a()==="mixed"?_e:a()==="submenu"?Ee:ye),u=S(()=>a()==="submenu"?"calc(var(--space-2) + var(--space-1) / 2)":"var(--menu-icon-size)"),h=S(()=>a()==="submenu"?"size-2.5 rtl:rotate-180":"size-(--menu-icon-size)");xe(_,{get icon(){return t(e)},get size(){return t(u)},get class(){return t(h)}})}};D(E,_=>{a()!=="empty"&&_(k)})}T(m),P(i,m)};D(x,i=>{a()==="on"||a()==="off"?i(A):i(o,-1)})}return P(g,w),B(b)}export{Ie as F,Se as M,Le as O,Ae as a,Be as c};
@@ -1 +1 @@
1
- import{a6 as h,K8 as w,rQ as S}from"./BlDw7Cnz.js";import{cd as E}from"./3SdAC2_C.js";const f="intent://pair";function T(t){const e=t.trim().toLowerCase();if(!e.startsWith(f))return!1;const n=e.charAt(f.length);return n===""||n==="?"||n==="/"||n==="#"}function F(t){const e=t.trim();if(!T(e))return null;let n;try{n=new URL(e.replace(/^intent:\/\//i,"http://"))}catch{return null}const a=n.searchParams,c=(a.get("host")??"").split(",").map(d=>d.trim()).filter(d=>d.length>0),s=a.get("port")?.trim()??"",i=/^\d+$/.test(s)?Number(s):NaN,o=Number.isInteger(i)&&i>0&&i<=65535?i:null,u=(a.get("fp")??a.get("certFingerprint"))?.trim()||null,l=a.get("token")?.trim()||null,m=a.get("tc")?.trim()||null,k=a.get("mode")?.trim().toLowerCase()==="node"?"node":null;return{hosts:c,port:o,fingerprint:u,token:l,tcAddress:m,modeHint:k}}function H(t){return t.trim().replace(/([?&]token=)[^&#]*/gi,"$1••••")}const _=["agent:started","agent:completed","agent:failed","agent:idle","agent:status-changed","task:created","task:status-changed","workspace:displayStatus-changed","workspace:attention-changed","pr:linked","pr:updated","pr:unlinked","git:commit","git:pull"],L="agent:delegated";function r(t){return typeof t=="string"&&t.length>0?t:void 0}function N(t,e){if(t==="agent:failed")return"err";if(t==="agent:status-changed"){const n=r(e.status)??"";return n==="error"||n==="failed"?"err":n==="completed"?"ok":w(n)==="running"?"info":"idle"}if(t==="agent:idle")return"idle";if(t==="agent:completed")return"ok";if(t==="task:created")return"info";if(t==="task:status-changed")return r(e.newStatus)==="complete"?"ok":"info";if(t==="workspace:displayStatus-changed"){const n=r(e.displayStatus);return n==="pr_merged"||n==="complete"?"ok":n==="pr_ready"||n==="pr_queued"||n==="pr_open"?"accent":n==="needs_attention"?"warn":n==="idle"||n==="not_started"?"idle":"info"}return t==="workspace:attention-changed"?S(r(e.attention)??"")?"warn":"info":t.startsWith("pr:")?"accent":"info"}function I(t,e){switch(t){case"agent:started":case"agent:completed":case"agent:idle":return"";case"agent:failed":return r(e.error)??"";case"agent:status-changed":return"";case"task:created":return r(e.noteTitle)??r(e.noteId)??"";case"task:status-changed":return[r(e.noteTitle)??r(e.noteId),r(e.newStatus)].filter(Boolean).join(" → ");case"workspace:displayStatus-changed":return"";case"workspace:attention-changed":return r(e.attention)??"";case"pr:linked":case"pr:updated":return[typeof e.prNumber=="number"?`#${e.prNumber}`:void 0,r(e.prStatus)].filter(Boolean).join(" ");case"pr:unlinked":return"";case"git:commit":return r(e.message)??r(e.commit)??"";case"git:pull":return r(e.branch)??"";default:return""}}const b=new Set(["idle","inactive"]);function A(t,e){if(t!=="agent:status-changed")return!1;const n=(r(e.status)??"").toLowerCase();return b.has(n)}function y(t,e){return t==="workspace:attention-changed"&&r(e.attention)===h}function P(t){const e=typeof t.type=="string"?t.type:"";if(!_.includes(e))return null;const n=r(t.id),a=r(t.timestamp),c=r(t.workspaceId);if(!n||!a||!c)return null;const s=t.data&&typeof t.data=="object"?t.data:{};if(A(e,s)||y(e,s))return null;const i={id:n,ts:a,colorClass:N(e,s),source:c,kind:e,text:I(e,s)};if(e.startsWith("agent:")){const o=r(s.agentId),u=r(s.agentName);if(o&&(i.agentId=o),u&&(i.agentName=u),e==="agent:status-changed"){const l=r(s.status);l&&(i.agentStatus=l)}}if(e==="workspace:displayStatus-changed"){const o=r(s.displayStatus);o&&(i.displayStatus=o)}return i}const g=new Set;function C(t){return g.add(t),()=>g.delete(t)}function R(t){for(const e of g)e(t)}const p=E(null),x={subscribe:p.subscribe};function B(t){p.set(t)}export{L as H,_ as a,H as b,R as e,T as i,P as m,C as o,F as p,B as s,x as t};
1
+ import{a6 as h,K9 as w,rR as S}from"./B9vHutcJ.js";import{cd as E}from"./3SdAC2_C.js";const f="intent://pair";function T(t){const e=t.trim().toLowerCase();if(!e.startsWith(f))return!1;const n=e.charAt(f.length);return n===""||n==="?"||n==="/"||n==="#"}function F(t){const e=t.trim();if(!T(e))return null;let n;try{n=new URL(e.replace(/^intent:\/\//i,"http://"))}catch{return null}const a=n.searchParams,c=(a.get("host")??"").split(",").map(d=>d.trim()).filter(d=>d.length>0),s=a.get("port")?.trim()??"",i=/^\d+$/.test(s)?Number(s):NaN,o=Number.isInteger(i)&&i>0&&i<=65535?i:null,u=(a.get("fp")??a.get("certFingerprint"))?.trim()||null,l=a.get("token")?.trim()||null,m=a.get("tc")?.trim()||null,k=a.get("mode")?.trim().toLowerCase()==="node"?"node":null;return{hosts:c,port:o,fingerprint:u,token:l,tcAddress:m,modeHint:k}}function H(t){return t.trim().replace(/([?&]token=)[^&#]*/gi,"$1••••")}const _=["agent:started","agent:completed","agent:failed","agent:idle","agent:status-changed","task:created","task:status-changed","workspace:displayStatus-changed","workspace:attention-changed","pr:linked","pr:updated","pr:unlinked","git:commit","git:pull"],L="agent:delegated";function r(t){return typeof t=="string"&&t.length>0?t:void 0}function N(t,e){if(t==="agent:failed")return"err";if(t==="agent:status-changed"){const n=r(e.status)??"";return n==="error"||n==="failed"?"err":n==="completed"?"ok":w(n)==="running"?"info":"idle"}if(t==="agent:idle")return"idle";if(t==="agent:completed")return"ok";if(t==="task:created")return"info";if(t==="task:status-changed")return r(e.newStatus)==="complete"?"ok":"info";if(t==="workspace:displayStatus-changed"){const n=r(e.displayStatus);return n==="pr_merged"||n==="complete"?"ok":n==="pr_ready"||n==="pr_queued"||n==="pr_open"?"accent":n==="needs_attention"?"warn":n==="idle"||n==="not_started"?"idle":"info"}return t==="workspace:attention-changed"?S(r(e.attention)??"")?"warn":"info":t.startsWith("pr:")?"accent":"info"}function I(t,e){switch(t){case"agent:started":case"agent:completed":case"agent:idle":return"";case"agent:failed":return r(e.error)??"";case"agent:status-changed":return"";case"task:created":return r(e.noteTitle)??r(e.noteId)??"";case"task:status-changed":return[r(e.noteTitle)??r(e.noteId),r(e.newStatus)].filter(Boolean).join(" → ");case"workspace:displayStatus-changed":return"";case"workspace:attention-changed":return r(e.attention)??"";case"pr:linked":case"pr:updated":return[typeof e.prNumber=="number"?`#${e.prNumber}`:void 0,r(e.prStatus)].filter(Boolean).join(" ");case"pr:unlinked":return"";case"git:commit":return r(e.message)??r(e.commit)??"";case"git:pull":return r(e.branch)??"";default:return""}}const b=new Set(["idle","inactive"]);function A(t,e){if(t!=="agent:status-changed")return!1;const n=(r(e.status)??"").toLowerCase();return b.has(n)}function y(t,e){return t==="workspace:attention-changed"&&r(e.attention)===h}function P(t){const e=typeof t.type=="string"?t.type:"";if(!_.includes(e))return null;const n=r(t.id),a=r(t.timestamp),c=r(t.workspaceId);if(!n||!a||!c)return null;const s=t.data&&typeof t.data=="object"?t.data:{};if(A(e,s)||y(e,s))return null;const i={id:n,ts:a,colorClass:N(e,s),source:c,kind:e,text:I(e,s)};if(e.startsWith("agent:")){const o=r(s.agentId),u=r(s.agentName);if(o&&(i.agentId=o),u&&(i.agentName=u),e==="agent:status-changed"){const l=r(s.status);l&&(i.agentStatus=l)}}if(e==="workspace:displayStatus-changed"){const o=r(s.displayStatus);o&&(i.displayStatus=o)}return i}const g=new Set;function R(t){return g.add(t),()=>g.delete(t)}function C(t){for(const e of g)e(t)}const p=E(null),x={subscribe:p.subscribe};function B(t){p.set(t)}export{L as H,_ as a,H as b,C as e,T as i,P as m,R as o,F as p,B as s,x as t};