@intent-hq/web 2.349.1 → 2.350.1

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 (265) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{BM4kpWSY.js → 1WcgIxhR.js} +1 -1
  3. package/web/app/immutable/chunks/{BwYW1dkK.js → 286xXFLf.js} +1 -1
  4. package/web/app/immutable/chunks/{CcWSFJ-V.js → 2B0vRGaJ.js} +1 -1
  5. package/web/app/immutable/chunks/{Cnd7G5VB.js → 2GRAEVbl.js} +1 -1
  6. package/web/app/immutable/chunks/{BigHY9es.js → 2cru8yuU.js} +1 -1
  7. package/web/app/immutable/chunks/{BcDnMnye.js → 2rtvtln4.js} +1 -1
  8. package/web/app/immutable/chunks/{C20jcbNk.js → 2yJgo8xz.js} +1 -1
  9. package/web/app/immutable/chunks/{DMJ_kXWl.js → 32pNLDLJ.js} +1 -1
  10. package/web/app/immutable/chunks/{8j0kVkRN.js → 4M32Nrru.js} +4 -4
  11. package/web/app/immutable/chunks/{CVXiMOvb.js → 6oPcdkTg.js} +1 -1
  12. package/web/app/immutable/chunks/{B7l4atYS.js → 71jcCmFL.js} +1 -1
  13. package/web/app/immutable/chunks/{BvoDzKGD.js → 7fznLbVZ.js} +1 -1
  14. package/web/app/immutable/chunks/{DAPuPOz3.js → 7uJhY2Ro.js} +1 -1
  15. package/web/app/immutable/chunks/{BhIO_xHl.js → 9_2ZyZ9L.js} +1 -1
  16. package/web/app/immutable/chunks/{C-enyvpk.js → Ari-xzJB.js} +1 -1
  17. package/web/app/immutable/chunks/{Cn5kmzaj.js → B-DRVFcy.js} +1 -1
  18. package/web/app/immutable/chunks/{C7Wb4_Fy.js → B0tZqpMw.js} +1 -1
  19. package/web/app/immutable/chunks/{WvnHVkBo.js → B1uWzETW.js} +1 -1
  20. package/web/app/immutable/chunks/{DJiBCJAD.js → B25aSyPj.js} +1 -1
  21. package/web/app/immutable/chunks/{_639dNbm.js → B2r-op5b.js} +1 -1
  22. package/web/app/immutable/chunks/{By_us5QF.js → B3aPtdPQ.js} +1 -1
  23. package/web/app/immutable/chunks/{D3F3BWsi.js → B3groEj8.js} +1 -1
  24. package/web/app/immutable/chunks/{qHfU8eWI.js → B45FOkqf.js} +3 -3
  25. package/web/app/immutable/chunks/{Q_fdFY85.js → B4ny9Nap.js} +1 -1
  26. package/web/app/immutable/chunks/{BFU2DTxE.js → B79m0-as.js} +1 -1
  27. package/web/app/immutable/chunks/{B9hnPU_k.js → B8WU5ocP.js} +1 -1
  28. package/web/app/immutable/chunks/{6px6q2WX.js → B8kZnhwO.js} +1 -1
  29. package/web/app/immutable/chunks/{xKssrPyL.js → B99vgEcA.js} +1 -1
  30. package/web/app/immutable/chunks/{8XTh8Ptp.js → BASTKLI1.js} +4 -4
  31. package/web/app/immutable/chunks/{CQnuk5Vr.js → BBYhh_eX.js} +1 -1
  32. package/web/app/immutable/chunks/{BjFyT_W2.js → BC51na55.js} +1 -1
  33. package/web/app/immutable/chunks/{yNVrzlY4.js → BCFqTXC5.js} +1 -1
  34. package/web/app/immutable/chunks/{CDRTbTrl.js → BCahpYtg.js} +1 -1
  35. package/web/app/immutable/chunks/{CSHUdNXY.js → BCazrMx2.js} +1 -1
  36. package/web/app/immutable/chunks/{9YwuUfsE.js → BDh1WR6p.js} +1 -1
  37. package/web/app/immutable/chunks/{wrzNedDP.js → BE9VuWVi.js} +1 -1
  38. package/web/app/immutable/chunks/{CO9-9ia5.js → BEVux-ca.js} +1 -1
  39. package/web/app/immutable/chunks/{CM7GBUHK.js → BHpSEINq.js} +1 -1
  40. package/web/app/immutable/chunks/{C4SwxIDn.js → BJTb0iPR.js} +1 -1
  41. package/web/app/immutable/chunks/{BiNDusYZ.js → BJeKKdy7.js} +1 -1
  42. package/web/app/immutable/chunks/{BnrJBpBN.js → BJpI9lmh.js} +2 -2
  43. package/web/app/immutable/chunks/{B28teA2c.js → BK62I-uA.js} +1 -1
  44. package/web/app/immutable/chunks/{CFAFichO.js → BKf74O20.js} +1 -1
  45. package/web/app/immutable/chunks/{KTJ-30_b.js → BLiGayBi.js} +1 -1
  46. package/web/app/immutable/chunks/{CAKCzVLn.js → BMcc0dQQ.js} +1 -1
  47. package/web/app/immutable/chunks/{C9qO9uPq.js → BNuxEAQs.js} +1 -1
  48. package/web/app/immutable/chunks/{BNGt0CxC.js → BOMdRVXl.js} +1 -1
  49. package/web/app/immutable/chunks/{BpDC3EqX.js → BQAE7Cab.js} +1 -1
  50. package/web/app/immutable/chunks/{BJlw6wnz.js → BRWlAcla.js} +1 -1
  51. package/web/app/immutable/chunks/{BmagX6n5.js → BSSsvY4I.js} +1 -1
  52. package/web/app/immutable/chunks/{DSWXlbxm.js → BT9NukZQ.js} +1 -1
  53. package/web/app/immutable/chunks/{C0u2gry7.js → BV_qZ-Kq.js} +1 -1
  54. package/web/app/immutable/chunks/{B5H_NPK0.js → BVg1wXVp.js} +1 -1
  55. package/web/app/immutable/chunks/{Bre3E0ap.js → BXSSv3Oq.js} +1 -1
  56. package/web/app/immutable/chunks/{EMb2ha4n.js → BXpSvmYd.js} +1 -1
  57. package/web/app/immutable/chunks/{CJyP11U5.js → B_7vJcZK.js} +1 -1
  58. package/web/app/immutable/chunks/{BzWpnIKh.js → B_EJ_ROK.js} +3 -3
  59. package/web/app/immutable/chunks/{Cvk4vC60.js → B_Iojn2B.js} +1 -1
  60. package/web/app/immutable/chunks/{DEGO3t-C.js → BaMaQsqR.js} +1 -1
  61. package/web/app/immutable/chunks/{D7TRU2iP.js → BaXl9G_p.js} +1 -1
  62. package/web/app/immutable/chunks/{NSQu1UJa.js → BaneMq5E.js} +1 -1
  63. package/web/app/immutable/chunks/{63MZi8_J.js → Bb07ib28.js} +1 -1
  64. package/web/app/immutable/chunks/{snmn_u5-.js → BboZoGK5.js} +2 -2
  65. package/web/app/immutable/chunks/{CHdwonoT.js → BgCDi7PA.js} +1 -1
  66. package/web/app/immutable/chunks/{Bcs0F47q.js → BhO09u_O.js} +1 -1
  67. package/web/app/immutable/chunks/{Gz_dGLcm.js → BjYS0G-V.js} +1 -1
  68. package/web/app/immutable/chunks/{aQ1wweeY.js → BkMQXe7-.js} +1 -1
  69. package/web/app/immutable/chunks/{DkJKEJ06.js → BmMUMiCr.js} +1 -1
  70. package/web/app/immutable/chunks/{B9CbdVRS.js → BmxmL68T.js} +1 -1
  71. package/web/app/immutable/chunks/{TRV263rQ.js → Bp_k45o-.js} +1 -1
  72. package/web/app/immutable/chunks/{Bhi7nqvj.js → BpfVRpLO.js} +1 -1
  73. package/web/app/immutable/chunks/{749Ye7vh.js → BsAcT-SB.js} +1 -1
  74. package/web/app/immutable/chunks/{-QpofkRx.js → BtEQs3u_.js} +3 -3
  75. package/web/app/immutable/chunks/{MpnM4XaB.js → Bv8FuKnx.js} +1 -1
  76. package/web/app/immutable/chunks/{vxHAGoo-.js → BwgrW8yQ.js} +1 -1
  77. package/web/app/immutable/chunks/{BdArbG4I.js → BxE0TK4z.js} +1 -1
  78. package/web/app/immutable/chunks/{BRrfv23s.js → BxUPDfJ4.js} +2 -2
  79. package/web/app/immutable/chunks/{DanhIRZQ.js → BzSSQl6R.js} +1 -1
  80. package/web/app/immutable/chunks/{BNodOXul.js → C-8EePTi.js} +1 -1
  81. package/web/app/immutable/chunks/{CcBfSx3w.js → C-Tv9xzP.js} +1 -1
  82. package/web/app/immutable/chunks/{QQQ2Maz-.js → C1862fgG.js} +1 -1
  83. package/web/app/immutable/chunks/{DZNKweTG.js → C2olseF2.js} +1 -1
  84. package/web/app/immutable/chunks/{H0FtMLfI.js → C5_BSKQx.js} +1 -1
  85. package/web/app/immutable/chunks/{DJkyIBda.js → C6DrVy6-.js} +1 -1
  86. package/web/app/immutable/chunks/{CEvdwZkh.js → C7LjhbvI.js} +1 -1
  87. package/web/app/immutable/chunks/{ClLRB7WU.js → C7NptMs7.js} +1 -1
  88. package/web/app/immutable/chunks/{D4bOZmAv.js → C7uOzB-k.js} +1 -1
  89. package/web/app/immutable/chunks/{ycNH2fN8.js → C82N7Ttz.js} +1 -1
  90. package/web/app/immutable/chunks/{VlylMxmA.js → C9CjIm-I.js} +1 -1
  91. package/web/app/immutable/chunks/{BFllbeCZ.js → CBTiE17j.js} +1 -1
  92. package/web/app/immutable/chunks/{EuCKSXHB.js → CBVEFL-b.js} +1 -1
  93. package/web/app/immutable/chunks/{Bkf7F_Qx.js → CClSMHHc.js} +1 -1
  94. package/web/app/immutable/chunks/{CA0nf0gO.js → CEHfILB1.js} +1 -1
  95. package/web/app/immutable/chunks/{BJHGBcTU.js → CEI59WUF.js} +1 -1
  96. package/web/app/immutable/chunks/{JF_LDwpb.js → CEa8rngJ.js} +1 -1
  97. package/web/app/immutable/chunks/{DNy6UqlX.js → CFE62qf4.js} +1 -1
  98. package/web/app/immutable/chunks/{Bs3EnmGR.js → CFMV5ANe.js} +1 -1
  99. package/web/app/immutable/chunks/{CTBZsDJn.js → CH0shWeP.js} +1 -1
  100. package/web/app/immutable/chunks/{Cq0e_D5i.js → CIFYvyWz.js} +1 -1
  101. package/web/app/immutable/chunks/{CyhLcHZ_.js → CIwCBz4N.js} +1 -1
  102. package/web/app/immutable/chunks/{CgQUkF-P.js → CJeZnjZ2.js} +1 -1
  103. package/web/app/immutable/chunks/{B7lF313M.js → CK2a86W3.js} +1 -1
  104. package/web/app/immutable/chunks/{BPY5RY-8.js → CKR2Jwr3.js} +1 -1
  105. package/web/app/immutable/chunks/{C_p41hnk.js → CKe6gKEB.js} +1 -1
  106. package/web/app/immutable/chunks/{BdyAQuf8.js → CM0lKKPd.js} +1 -1
  107. package/web/app/immutable/chunks/{0Ys9jF9i.js → CMvvA2dm.js} +1 -1
  108. package/web/app/immutable/chunks/{DFl_UPDl.js → CNCNgnPl.js} +1 -1
  109. package/web/app/immutable/chunks/{BaV_HcgG.js → CPFtOnI7.js} +1 -1
  110. package/web/app/immutable/chunks/{DhNomEqt.js → CUEflbxf.js} +1 -1
  111. package/web/app/immutable/chunks/{BbjKLyar.js → CUiOtEey.js} +1 -1
  112. package/web/app/immutable/chunks/{0GoAT2dR.js → CV5WtbgW.js} +1 -1
  113. package/web/app/immutable/chunks/{ra3YYtwY.js → Ca33AaL6.js} +1 -1
  114. package/web/app/immutable/chunks/{onT82iSe.js → CaGPKvrg.js} +1 -1
  115. package/web/app/immutable/chunks/{DpNO08YA.js → CbVK4mzc.js} +1 -1
  116. package/web/app/immutable/chunks/{Drfn5RRL.js → CbVZZ75K.js} +1 -1
  117. package/web/app/immutable/chunks/{lbBEThX6.js → Cbr15rLJ.js} +1 -1
  118. package/web/app/immutable/chunks/{B8EGWXN0.js → CcIb5dHQ.js} +2 -2
  119. package/web/app/immutable/chunks/{DitwnI8q.js → Ccm9-f52.js} +2 -2
  120. package/web/app/immutable/chunks/{DXeTlQw4.js → CeeT1t7l.js} +1 -1
  121. package/web/app/immutable/chunks/{BTUvce_V.js → CfcmMMGe.js} +3 -3
  122. package/web/app/immutable/chunks/{Bc-78-e9.js → ChdL62OI.js} +2 -2
  123. package/web/app/immutable/chunks/{DHClt9az.js → ChmnWquS.js} +1 -1
  124. package/web/app/immutable/chunks/{BnwhVBNM.js → Ci4xycon.js} +1 -1
  125. package/web/app/immutable/chunks/{B7MNPtN6.js → Cifu9mi9.js} +1 -1
  126. package/web/app/immutable/chunks/{CaQqYus5.js → CjFrzDwu.js} +1 -1
  127. package/web/app/immutable/chunks/{D_rHnmLE.js → Cjw1QvKa.js} +1 -1
  128. package/web/app/immutable/chunks/{B1Q0_YBy.js → ClDVqtGb.js} +1 -1
  129. package/web/app/immutable/chunks/{Bu9v967D.js → CrGdgRLR.js} +1 -1
  130. package/web/app/immutable/chunks/{DMDmyjl-.js → CrlYwLEr.js} +1 -1
  131. package/web/app/immutable/chunks/{B9O5QYHa.js → Cs2fCAnT.js} +1 -1
  132. package/web/app/immutable/chunks/{BaJNSnZt.js → CsbrChhH.js} +1 -1
  133. package/web/app/immutable/chunks/{BzJ6PuN9.js → Csp7pCXT.js} +1 -1
  134. package/web/app/immutable/chunks/{BMbB6G4j.js → CtH7YJ1N.js} +1 -1
  135. package/web/app/immutable/chunks/{9JxbPwvl.js → CtUmTl5D.js} +1 -1
  136. package/web/app/immutable/chunks/{Cayy-ftZ.js → Ctvf1zqH.js} +1 -1
  137. package/web/app/immutable/chunks/{BKZq4PO0.js → Cvv8aJ4r.js} +1 -1
  138. package/web/app/immutable/chunks/{Du0V4O1Q.js → Cw94LfJC.js} +1 -1
  139. package/web/app/immutable/chunks/{CiLRDPyT.js → Cwzl8GTd.js} +1 -1
  140. package/web/app/immutable/chunks/{D9xzAHI_.js → CxF8YFum.js} +1 -1
  141. package/web/app/immutable/chunks/{DwvH6ihg.js → CxxiwOxz.js} +1 -1
  142. package/web/app/immutable/chunks/{D0yYfpFT.js → CyRJV2Ki.js} +1 -1
  143. package/web/app/immutable/chunks/{DBigkuTi.js → CzZDc-Ii.js} +1 -1
  144. package/web/app/immutable/chunks/{CyZzaZYX.js → D2JEXCBC.js} +1 -1
  145. package/web/app/immutable/chunks/{CX0FMql8.js → D2rxIP2b.js} +1 -1
  146. package/web/app/immutable/chunks/{Bw5h0b4B.js → D3HUOTfX.js} +1 -1
  147. package/web/app/immutable/chunks/{Dgv1nn7D.js → D3v_P2Uq.js} +1 -1
  148. package/web/app/immutable/chunks/{xmUlEbpq.js → D3wOVtz4.js} +1 -1
  149. package/web/app/immutable/chunks/{CrMBXfo1.js → D41iEHKy.js} +1 -1
  150. package/web/app/immutable/chunks/{CMEHU8hk.js → D4gEzra-.js} +1 -1
  151. package/web/app/immutable/chunks/{DFXV1wIW.js → D4xoTssJ.js} +3 -3
  152. package/web/app/immutable/chunks/{Dn-5sae7.js → D68W4EG9.js} +1 -1
  153. package/web/app/immutable/chunks/{VZSwqvuN.js → D6kv6T9Z.js} +1 -1
  154. package/web/app/immutable/chunks/{UG14BPPT.js → D7KOa2cM.js} +2 -2
  155. package/web/app/immutable/chunks/{CuK2Zw46.js → D7v0ZhmL.js} +1 -1
  156. package/web/app/immutable/chunks/{BgUSjvxc.js → D897Deqj.js} +1 -1
  157. package/web/app/immutable/chunks/{CtiseZKO.js → DBwXC8Tc.js} +1 -1
  158. package/web/app/immutable/chunks/{CRNEQjon.js → DDlZNhW-.js} +1 -1
  159. package/web/app/immutable/chunks/{CI2ZJeGm.js → DDmVz0zj.js} +1 -1
  160. package/web/app/immutable/chunks/{up0Zt_r2.js → DEu6gDAW.js} +3 -3
  161. package/web/app/immutable/chunks/{BqgkenX2.js → DFxm2U6S.js} +1 -1
  162. package/web/app/immutable/chunks/{DRXhVu5w.js → DG7MHKfi.js} +1 -1
  163. package/web/app/immutable/chunks/DGQ1ECsI.js +1 -0
  164. package/web/app/immutable/chunks/{utDAmz_H.js → DJBAuZjD.js} +1 -1
  165. package/web/app/immutable/chunks/{DGRH7rrK.js → DJnP7chT.js} +1 -1
  166. package/web/app/immutable/chunks/{K6Z_l6pq.js → DKPFCCGK.js} +1 -1
  167. package/web/app/immutable/chunks/{BpftDedA.js → DLbCIONA.js} +1 -1
  168. package/web/app/immutable/chunks/{BTHEWI_S.js → DM6SW5ie.js} +1 -1
  169. package/web/app/immutable/chunks/{vw8GizVl.js → DMF8Xnwn.js} +1 -1
  170. package/web/app/immutable/chunks/{B8O1d-ta.js → DMJnRVJf.js} +1 -1
  171. package/web/app/immutable/chunks/{D-IkFfCX.js → DNZhZg57.js} +1 -1
  172. package/web/app/immutable/chunks/{aMVpjO1H.js → DPiLMhQg.js} +1 -1
  173. package/web/app/immutable/chunks/{B0E92Ur8.js → DT77V-dl.js} +1 -1
  174. package/web/app/immutable/chunks/{CLd6HNgr.js → DVWomJ3M.js} +2 -2
  175. package/web/app/immutable/chunks/{CHJZj-fd.js → DVpbdNgF.js} +1 -1
  176. package/web/app/immutable/chunks/{CmG1GbmA.js → DW8-b4qF.js} +1 -1
  177. package/web/app/immutable/chunks/{PMKD3h28.js → DWqOehs6.js} +3 -3
  178. package/web/app/immutable/chunks/{BhFOH57c.js → DYdDm8qg.js} +1 -1
  179. package/web/app/immutable/chunks/{ClQp3PSY.js → DZ-cwX5R.js} +2 -2
  180. package/web/app/immutable/chunks/{CgDK6J9C.js → DZ9bPwU4.js} +1 -1
  181. package/web/app/immutable/chunks/DZgyzAfw.js +1 -0
  182. package/web/app/immutable/chunks/{BGAqL5Hu.js → DZlVkf9Y.js} +4 -4
  183. package/web/app/immutable/chunks/{QiHSe7pE.js → DhNmiaLk.js} +1 -1
  184. package/web/app/immutable/chunks/{D_idmae7.js → DlTJT3V9.js} +1 -1
  185. package/web/app/immutable/chunks/{CVc3afbh.js → DldD9pcf.js} +2 -2
  186. package/web/app/immutable/chunks/{QHBZjsP5.js → Dr7kBzFG.js} +1 -1
  187. package/web/app/immutable/chunks/{C3n2Uabc.js → DsLKXQ10.js} +1 -1
  188. package/web/app/immutable/chunks/{CN_zBCnB.js → Dt_3gVf3.js} +4 -4
  189. package/web/app/immutable/chunks/{BHu-B5kJ.js → DukC1Pxj.js} +1 -1
  190. package/web/app/immutable/chunks/{Dsa4n88U.js → Dw4yJGUy.js} +1 -1
  191. package/web/app/immutable/chunks/{D49N714C.js → Dw7Mfzwn.js} +1 -1
  192. package/web/app/immutable/chunks/{lFSDumAY.js → DwJJFAxY.js} +1 -1
  193. package/web/app/immutable/chunks/{JzdAu8wb.js → DxR7IJ2x.js} +1 -1
  194. package/web/app/immutable/chunks/{D9tXiVtR.js → DxrW2EIL.js} +1 -1
  195. package/web/app/immutable/chunks/{nBuK6q0d.js → DzPN4aFg.js} +1 -1
  196. package/web/app/immutable/chunks/{DSWBNeO8.js → EBvHmS3f.js} +1 -1
  197. package/web/app/immutable/chunks/H2SodBVA.js +1 -0
  198. package/web/app/immutable/chunks/{DUoxftgs.js → H_Nm449K.js} +1 -1
  199. package/web/app/immutable/chunks/Hc3ynozM.js +1 -0
  200. package/web/app/immutable/chunks/{5SqYTp29.js → LIrM5l7a.js} +1 -1
  201. package/web/app/immutable/chunks/{B3SGnWra.js → LeGktTWT.js} +1 -1
  202. package/web/app/immutable/chunks/{CMd41Hnh.js → RMrXit9I.js} +12 -12
  203. package/web/app/immutable/chunks/{DMhUzoUF.js → SW-tnZ5e.js} +1 -1
  204. package/web/app/immutable/chunks/{DT_ABoQZ.js → To-GU1hI.js} +1 -1
  205. package/web/app/immutable/chunks/{Cvl8hYkG.js → UiRD2HCB.js} +1 -1
  206. package/web/app/immutable/chunks/{BMQAui7e.js → UkpeErAx.js} +2 -2
  207. package/web/app/immutable/chunks/{D4r0rKFl.js → WydNOMQI.js} +1 -1
  208. package/web/app/immutable/chunks/{DvwGTmJ3.js → XM11aLg9.js} +1 -1
  209. package/web/app/immutable/chunks/{B3RsHzWp.js → Xn8V9ehY.js} +1 -1
  210. package/web/app/immutable/chunks/{DvvIOlOp.js → Y5hz4Ndf.js} +1 -1
  211. package/web/app/immutable/chunks/{B5G4SPkG.js → YeEGAsBO.js} +1 -1
  212. package/web/app/immutable/chunks/{5eZIrph_.js → _1y9QH1k.js} +1 -1
  213. package/web/app/immutable/chunks/{UJ1EpVxt.js → _s2xW34N.js} +1 -1
  214. package/web/app/immutable/chunks/{BHqqRyT8.js → cHlEaLvO.js} +1 -1
  215. package/web/app/immutable/chunks/{CUyvQglq.js → d34yYkdR.js} +1 -1
  216. package/web/app/immutable/chunks/{C17Klvq4.js → dt-eIcjK.js} +1 -1
  217. package/web/app/immutable/chunks/{jeQJPkPX.js → eIlGg2ZH.js} +1 -1
  218. package/web/app/immutable/chunks/{Cw3xVp_u.js → fE-kcmYj.js} +1 -1
  219. package/web/app/immutable/chunks/{DEsZrW9M.js → f_NG7JPv.js} +1 -1
  220. package/web/app/immutable/chunks/{DBHc62lF.js → fvaRaafM.js} +1 -1
  221. package/web/app/immutable/chunks/{CZ2C0Bw1.js → gq1gp-va.js} +1 -1
  222. package/web/app/immutable/chunks/{Cuu_7zcj.js → hHmUU40X.js} +2 -2
  223. package/web/app/immutable/chunks/{DR-BIfRu.js → iP2vS2hx.js} +1 -1
  224. package/web/app/immutable/chunks/{yIt8dECo.js → kWL2GjPN.js} +1 -1
  225. package/web/app/immutable/chunks/{MXYIc7_A.js → kXBIZrMa.js} +1 -1
  226. package/web/app/immutable/chunks/{Ctp2YBhQ.js → mxwa8yTT.js} +1 -1
  227. package/web/app/immutable/chunks/{-1WDZF8N.js → nwgFD7pR.js} +2 -2
  228. package/web/app/immutable/chunks/{DY7nIM_G.js → qT7g0XeC.js} +1 -1
  229. package/web/app/immutable/chunks/{NSYi6AlX.js → qVFwsb4j.js} +1 -1
  230. package/web/app/immutable/chunks/{D9BiEPlJ.js → rEoZFmiI.js} +1 -1
  231. package/web/app/immutable/chunks/{D4LrTene.js → rbrWRnHh.js} +1 -1
  232. package/web/app/immutable/chunks/{CCoYF4yh.js → vCsRAP9U.js} +1 -1
  233. package/web/app/immutable/chunks/{BdRSK1yL.js → vQ6gxb4d.js} +1 -1
  234. package/web/app/immutable/chunks/{Ce3Ams7F.js → xCXPOQKs.js} +1 -1
  235. package/web/app/immutable/chunks/{5oAr1srr.js → xEQudZps.js} +1 -1
  236. package/web/app/immutable/chunks/{6uyelIKx.js → zDp2t9TD.js} +1 -1
  237. package/web/app/immutable/entry/{app.DTfx5CuV.js → app.B3zmyQo-.js} +3 -3
  238. package/web/app/immutable/entry/start.DL1A5aV6.js +1 -0
  239. package/web/app/immutable/nodes/{0.3GL3qSES.js → 0.kC9p1Qyh.js} +1 -1
  240. package/web/app/immutable/nodes/{1.ez5gI658.js → 1.CbKQgLbJ.js} +1 -1
  241. package/web/app/immutable/nodes/{10.DIxSk9q8.js → 10.nkEgxR4t.js} +1 -1
  242. package/web/app/immutable/nodes/{11.D_8o4hy2.js → 11.BNBCl9Ko.js} +1 -1
  243. package/web/app/immutable/nodes/{12.CZZ5SuMc.js → 12.BriSlPZC.js} +1 -1
  244. package/web/app/immutable/nodes/{13.BCLve-7_.js → 13.QpfX0_5g.js} +3 -3
  245. package/web/app/immutable/nodes/{14.MpS-kf0C.js → 14.ZJqXSGiE.js} +1 -1
  246. package/web/app/immutable/nodes/{15.ClAlFdyg.js → 15.DdEMX_Kl.js} +1 -1
  247. package/web/app/immutable/nodes/{16.CuGK30BG.js → 16.rtMs5JTy.js} +1 -1
  248. package/web/app/immutable/nodes/{17.D7rHJr6p.js → 17.DDfq3IKN.js} +1 -1
  249. package/web/app/immutable/nodes/{18.DW5qKw-K.js → 18.Cds1TQEe.js} +2 -2
  250. package/web/app/immutable/nodes/{2.CLq8rIVr.js → 2.TMV-VJam.js} +4 -4
  251. package/web/app/immutable/nodes/{3.BSdLkeLH.js → 3.Dy6_DOyf.js} +1 -1
  252. package/web/app/immutable/nodes/{4.DQIk0T0w.js → 4.CSClZLtr.js} +1 -1
  253. package/web/app/immutable/nodes/{5.DITRknqM.js → 5.B2fm04nD.js} +1 -1
  254. package/web/app/immutable/nodes/{6.3WKk43x0.js → 6.wppAoRAf.js} +1 -1
  255. package/web/app/immutable/nodes/{7.BJ0R8KFY.js → 7.BJEQzlNN.js} +1 -1
  256. package/web/app/immutable/nodes/{8.DPgSAVJ2.js → 8.bO4mjRsC.js} +12 -12
  257. package/web/app/immutable/nodes/{9.zTjz59Kl.js → 9.Dz8XAzvL.js} +5 -5
  258. package/web/app/version.json +1 -1
  259. package/web/generated/paraglide.js +9 -9
  260. package/web/index.html +18 -18
  261. package/web/app/immutable/chunks/BKdLSL00.js +0 -1
  262. package/web/app/immutable/chunks/BnJDHHUb.js +0 -1
  263. package/web/app/immutable/chunks/CT36W95j.js +0 -1
  264. package/web/app/immutable/chunks/CTY09YkT.js +0 -1
  265. package/web/app/immutable/entry/start.DueW1FW9.js +0 -1
@@ -1 +1 @@
1
- import{t as Ye,bq as h,by as Ze,b as $e,bs as nt,bo as k,bu as Ve}from"./CT36W95j.js";import{bo as st,bs as et,a7 as U,ay as y,aD as e,bS as X,W as c,a5 as Pe,bA as De,bH as V,bl as _e,b_ as oe,bO as de,bn as tt,bf as je,bV as Ee,aA as v,c9 as w,aB as H,be as it,b$ as lt,bj as dt,cd as ct,ca as Le,bk as ut}from"./DYhIMPy1.js";import{i as G}from"./DJ8_lZZl.js";import{Iv as Ue,mT as pt,uA as ft}from"./BmagX6n5.js";import{bb as ht}from"./BzJ6PuN9.js";import{cn as vt}from"./DpNO08YA.js";import{c as gt}from"./ChTqQfQN.js";import{i as Xe,t as He}from"./H2jLkRRS.js";import{w as _t}from"./ggQuSgBM.js";import{d as mt}from"./B0Z-1lwJ.js";import{F as Re,as as bt,at as kt,cQ as Je,aV as qe,bc as wt,ak as yt,aj as At,cN as Ge}from"./D_rHnmLE.js";import{k as K,w as Ft}from"./B7lF313M.js";import{s as Ne,f as xe,c as Wt}from"./TRV263rQ.js";import{s as Ct}from"./DHClt9az.js";import{w as xt}from"./ClQp3PSY.js";import"./CJyP11U5.js";import{i as M}from"./Cn5kmzaj.js";import{g as It,e as Te}from"./Bw5h0b4B.js";import{c as Q}from"./CgQUkF-P.js";import{a as Pt,r as Dt}from"./63MZi8_J.js";import{f as Mt,aa as Et}from"./D9xzAHI_.js";import{M as Ot,t as Be}from"./C_p41hnk.js";import{l as Ke,o as St,n as Rt,R as Nt,m as Tt,k as Bt,g as zt,i as Vt}from"./Du0V4O1Q.js";import{m as ze}from"./BwYW1dkK.js";var jt=H('<img alt="" class="size-4"/>'),Lt=H('<span class="min-w-0 flex-1 text-left"><span class="block truncate"> </span> <span class="block text-muted-foreground" aria-hidden="true" data-menu-action-reason=""> </span></span>'),Ut=H("<span> </span>"),Xt=H('<span data-menu-action-detail=""> </span>'),Ht=H('<span aria-hidden="true"><!></span>'),Qe=H("<!> <!> <!>",1),Jt=H('<div class="my-1 h-px bg-border" role="separator"></div>'),Me=H("<!> <!>",1),qt=H('<!> <p data-menu-action-note=""> </p>',1),Gt=H('<span class="flex size-4 shrink-0 items-center justify-center" aria-hidden="true"><!></span> <!> <!>',1),Kt=H('<p data-menu-action-note=""> </p>'),Qt=H('<div class="pl-4"><!> <!></div>'),Yt=H('<span class="sr-only"> </span>');function me(be,d){const ke=st();if(new.target)return Ye({component:me,...be});et(d,!0);const Ie=(p,r=je)=>{var O=U(),S=y(O);{var j=W=>{const x=w(()=>Pt(r().editor));var L=U(),m=y(L);{var f=s=>{var i=jt();oe(()=>Ne(i,"src",`data:image/png;base64,${r().editor.iconBase64??""}`)),c(s,i)},o=s=>{var i=U(),b=y(i);Q(b,()=>e(x),(T,ae)=>{ae(T,{size:16})}),c(s,i)},N=s=>{{let i=w(()=>Dt(r().editor.category));Re(s,{get icon(){return e(i)},size:16})}};M(m,s=>{r().editor.iconBase64?s(f):e(x)?s(o,1):s(N,-1)})}c(W,L)},R=W=>{var x=U(),L=y(x);Ct(L,()=>r().iconSnippet),c(W,x)},q=W=>{{let x=w(()=>r().variant==="destructive"?"text-current":"text-muted-foreground");Re(W,{get icon(){return r().icon},get weight(){return J()},size:16,get class(){return e(x)}})}};M(S,W=>{r().editor?W(j):r().iconSnippet?W(R,1):r().icon&&W(q,2)})}c(p,O)},ne=(p,r=je)=>{var O=Qe(),S=y(O);{var j=m=>{var f=Lt(),o=Pe(f),N=_e(o,!0);Te(o,(b,T)=>Be?.(b,T),()=>r().label);var s=X(o,2),i=_e(s,!0);De(f),oe(()=>{de(N,r().label),de(i,r().disabledReason)}),c(m,f)},R=m=>{var f=Ut(),o=_e(f,!0);Te(f,(N,s)=>Be?.(N,s),()=>r().label),oe(()=>{xe(f,1,`min-w-0 truncate text-left ${r().detail?"flex-[1_0_auto]":"flex-1"}`),de(o,r().label)}),c(m,f)};M(S,m=>{r().disabledReason?m(j):m(R,-1)})}var q=X(S,2);{var W=m=>{var f=Xt(),o=_e(f,!0);Te(f,(N,s)=>Be?.(N,s),()=>r().detail),oe(()=>{xe(f,1,`ml-4 min-w-0 truncate ${(r().detailTone==="danger"?"text-danger":ze)??""}`),de(o,r().detail)}),c(m,f)};M(q,m=>{r().detail&&m(W)})}var x=X(q,2);{var L=m=>{var f=Ht(),o=Pe(f);Et(o,{children:(N,s)=>{it();var i=lt();oe(b=>de(i,b),[()=>xt(r().shortcut)]),c(N,i)},$$slots:{default:!0}}),De(f),oe(()=>xe(f,1,Wt(E()?"ml-4 flex h-lh shrink-0 items-center":"ml-4"))),c(m,f)};M(x,m=>{r().shortcut&&m(L)})}c(p,O)};let we=h(d,"actions",7),E=h(d,"menu",7),J=h(d,"iconWeight",7),u=h(d,"onClose",7),A=h(d,"selection",7),F=Ee(null);function Y(p){p.disabled||p.disabledReason!==void 0||(p.onClick(),u()?.())}var ce={get actions(){return we()},set actions(p){we(p),v()},get menu(){return E()},set menu(p){E(p),v()},get iconWeight(){return J()},set iconWeight(p){J(p),v()},get onClose(){return u()},set onClose(p){u(p),v()},get selection(){return A()},set selection(p){A(p),v()},$set:Ze,$on:(p,r)=>$e(d,p,r)},se=U(),ie=y(se);return It(ie,17,we,p=>p.id,(p,r)=>{const O=i=>{Ie(i,()=>e(r))},S=w(()=>!!(e(r).editor||e(r).iconSnippet||e(r).icon)),j=w(()=>e(r).disabled||e(r).disabledReason!==void 0),R=w(()=>e(r).disabledReason?`${ke}-${e(r).id}-reason`:void 0);var q=Qe(),W=y(q);{var x=i=>{var b=U(),T=y(b);{var ae=a=>{var n=U(),g=y(n);Q(g,()=>Ke,(C,P)=>{P(C,{})}),c(a,n)},ue=a=>{var n=Jt();c(a,n)};M(T,a=>{E()?a(ae):a(ue,-1)})}c(i,b)};M(W,i=>{e(r).dividerBefore&&i(x)})}var L=X(W,2);{var m=i=>{var b=U(),T=y(b);{var ae=g=>{var C=U(),P=y(C);Q(P,()=>Tt,(I,D)=>{D(I,{children:(B,Z)=>{var $=Me(),pe=y($);{let te=w(()=>e(S)?O:void 0);Q(pe,()=>St,(fe,he)=>{he(fe,{get leading(){return e(te)},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},get"data-action-id"(){return e(r).id},children:(ve,ye)=>{ne(ve,()=>e(r))},$$slots:{default:!0}})})}var ee=X(pe,2);{let te=w(()=>e(r).note?`${ke}-${e(r).id}-note`:void 0);Q(ee,()=>Rt,(fe,he)=>{he(fe,{class:"w-60",get"aria-describedby"(){return e(te)},children:(ve,ye)=>{var t=Me(),l=y(t);{var _=re=>{var Ae=Me(),Fe=y(Ae);{let Ce=w(()=>e(r).submenu.find(ge=>ge.checked)?.id??"");Q(Fe,()=>Nt,(ge,Se)=>{Se(ge,{get value(){return e(Ce)},get"aria-label"(){return e(r).label},children:(rt,$t)=>{{let at=w(()=>e(r).submenu.filter(ot=>ot.checked!==void 0));me(rt,{get actions(){return e(at)},selection:"single",get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}})}},$$slots:{default:!0}})})}var We=X(Fe,2);{let Ce=w(()=>e(r).submenu.filter(ge=>ge.checked===void 0));me(We,{get actions(){return e(Ce)},get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}})}c(re,Ae)},z=re=>{me(re,{get actions(){return e(r).submenu},get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}})};M(l,re=>{e(r).selection==="single"?re(_):re(z,-1)})}var le=X(l,2);{var Oe=re=>{var Ae=qt(),Fe=y(Ae);Q(Fe,()=>Ke,(ge,Se)=>{Se(ge,{})});var We=X(Fe,2),Ce=_e(We,!0);oe(()=>{Ne(We,"id",`${ke}-${e(r).id}-note`),xe(We,1,`type-caption px-2 py-1 ${ze}`),de(Ce,e(r).note)}),c(re,Ae)};M(le,re=>{e(r).note&&re(Oe)})}c(ve,t)},$$slots:{default:!0}})})}c(B,$)},$$slots:{default:!0}})}),c(g,C)},ue=g=>{var C=U(),P=y(C);{let I=w(()=>e(S)?O:void 0);Q(P,()=>Bt,(D,B)=>{B(D,{get leading(){return e(I)},get value(){return e(r).id},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},closeOnSelect:!0,onSelect:()=>Y(e(r)),get"data-action-id"(){return e(r).id},children:(Z,$)=>{ne(Z,()=>e(r))},$$slots:{default:!0}})})}c(g,C)},a=g=>{var C=U(),P=y(C);{let I=w(()=>e(S)?O:void 0);Q(P,()=>zt,(D,B)=>{B(D,{get leading(){return e(I)},get checked(){return e(r).checked},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},closeOnSelect:!0,onSelect:()=>Y(e(r)),get"data-action-id"(){return e(r).id},children:(Z,$)=>{ne(Z,()=>e(r))},$$slots:{default:!0}})})}c(g,C)},n=g=>{var C=U(),P=y(C);{let I=w(()=>e(S)?O:void 0),D=w(()=>e(r).variant==="destructive");Q(P,()=>Vt,(B,Z)=>{Z(B,{get leading(){return e(I)},get destructive(){return e(D)},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},onSelect:()=>Y(e(r)),get"data-action-id"(){return e(r).id},children:($,pe)=>{ne($,()=>e(r))},$$slots:{default:!0}})})}c(g,C)};M(T,g=>{e(r).submenu?g(ae):A()==="single"&&e(r).checked!==void 0?g(ue,1):e(r).checked!==void 0?g(a,2):g(n,-1)})}c(i,b)},f=i=>{me(i,{get actions(){return e(r).submenu},get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}})},o=i=>{var b=Me(),T=y(b);{let a=w(()=>e(r).variant==="destructive"?"text-danger hover:text-danger":""),n=w(()=>e(r).submenu?e(F)===e(r).id:void 0);Mt(T,{variant:"ghost",size:"sm",get class(){return`w-full justify-start gap-2 ${e(a)??""}`},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},get"aria-expanded"(){return e(n)},onclick:()=>e(r).submenu?V(F,e(F)===e(r).id?null:e(r).id,!0):Y(e(r)),children:(g,C)=>{var P=Gt(),I=y(P),D=Pe(I);Ie(D,()=>e(r)),De(I);var B=X(I,2);ne(B,()=>e(r));var Z=X(B,2);{var $=ee=>{{let te=w(()=>e(F)===e(r).id?bt:kt);Re(ee,{get icon(){return e(te)},size:12})}},pe=ee=>{var te=U(),fe=y(te);{let he=w(()=>e(r).checked?"checked":"empty");Q(fe,()=>Ot,(ve,ye)=>{ye(ve,{get state(){return e(he)}})})}c(ee,te)};M(Z,ee=>{e(r).submenu?ee($):e(r).checked!==void 0&&ee(pe,1)})}c(g,P)},$$slots:{default:!0}})}var ae=X(T,2);{var ue=a=>{var n=Qt(),g=Pe(n);me(g,{get actions(){return e(r).submenu},get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}});var C=X(g,2);{var P=I=>{var D=Kt(),B=_e(D,!0);oe(()=>{xe(D,1,`type-caption px-2 py-1 ${ze}`),de(B,e(r).note)}),c(I,D)};M(C,I=>{e(r).note&&I(P)})}De(n),c(a,n)};M(ae,a=>{e(r).submenu&&e(F)===e(r).id&&a(ue)})}c(i,b)};M(L,i=>{E()?i(m):e(r).id==="open-in"&&e(r).submenu?i(f,1):i(o,-1)})}var N=X(L,2);{var s=i=>{var b=Yt(),T=_e(b,!0);oe(()=>{Ne(b,"id",e(R)),de(T,e(r).disabledReason)}),c(i,b)};M(N,i=>{e(r).disabledReason&&i(s)})}c(p,q)}),c(be,se),tt(ce)}function Zt(be,d){if(new.target)return Ye({component:Zt,...be});et(d,!0);const ke=()=>Ve(T,"$installedEditors$",ne),Ie=()=>Ve(ue,"$isWorkspaceHostLocal$",ne),[ne,we]=nt();let E=h(d,"layout",7,"list"),J=h(d,"iconWeight",7),u=h(d,"filePath",7,""),A=h(d,"workspaceId",7,""),F=h(d,"isDirectory",7,!0),Y=h(d,"onDelete",7,void 0),ce=h(d,"onArchive",7,void 0),se=h(d,"onUnarchive",7,void 0),ie=h(d,"isArchived",7,!1),p=h(d,"onClose",7,void 0),r=h(d,"showDeleteOption",7,!0),O=h(d,"showArchiveOption",7,!1),S=h(d,"showPathCopy",7,!0),j=h(d,"showFileNameCopy",7,!1),R=h(d,"showFileActions",7,!0),q=h(d,"workspaceFolderPath",7,""),W=h(d,"isDiff",7,!1),x=h(d,"isWorkspaceRoot",7,!1),L=h(d,"additionalActions",23,()=>[]),m=h(d,"showDeleteFileOption",7,!1),f=h(d,"onFileDeleted",7,void 0);const o=gt("WorkspaceActionsMenu");let N=!1;dt(()=>{N=!0});function s(){N||p()?.()}const i=_t("externalEditors"),b=ct(A());Le(()=>{b.set(A())});const T=ht(b),ae=w(ke),ue=vt(b);let a=Ee(""),n=Ee(""),g=Ee(!1);ut(()=>{Ue.dispatch(pt())}),Le(()=>{u()&&A()?G("workspace:get",{id:A()}).then(t=>{if(t&&t.success&&t.data){const l=t.data,_=l.worktreePath||l.repositoryPath||l.path,z=q()==="__WORKSPACE_ROOT__"?_:q()||_;if(z){const le=z.replace(/\\/g,"/");x()?V(a,le,!0):Xe(u())?V(a,u().replace(/\\/g,"/"),!0):V(a,`${le}/${u()}`.replace(/\/+/g,"/"),!0),V(n,le,!0),o.info("[WorkspaceActionsMenu] Resolved file path:",{filePath:u(),workspacePath:z,resolvedPath:e(a)})}else V(a,u()),V(n,""),l.status!=="archived"&&l.status!=="deleted"&&o.warn("[WorkspaceActionsMenu] No workspace path found:",l)}else V(a,u()),V(n,""),t?.error&&!t.error.includes("not found")&&o.warn("[WorkspaceActionsMenu] Workspace not available:",t)}).catch(t=>{V(a,u()),V(n,""),t?.message?.includes("not found")||o.error("[WorkspaceActionsMenu] Failed to resolve path:",t)}):(V(a,u()),o.info("[WorkspaceActionsMenu] Using filePath directly:",{filePath:u(),workspaceId:A()}))});async function C(){if(!e(a)){o.warn("[WorkspaceActionsMenu] No resolved path for VSCode");return}try{if(W()&&!F()){o.info("[WorkspaceActionsMenu] Opening diff in VSCode:",{resolvedPath:e(a)}),await G("vscode:open-git-diff",{filePath:e(a),workspacePath:e(n)||void 0}),s();return}let t=e(a);if(e(n))!F()&&!x()?t={folder:e(n),file:e(a)}:t=e(n);else if(!F()){const l=e(a).includes("\\")?"\\":"/",_=e(a).split(l);_.length>1&&(t={folder:_.slice(0,-1).join(l),file:e(a)})}await G("vscode:open",t),s()}catch(t){o.error("Failed to open in VSCode:",t),K.error(t instanceof Error?t.message:k.ui_workspaceActions_openFailed_error({name:"VS Code"}))}}async function P(){if(!e(a)){o.warn("[WorkspaceActionsMenu] No resolved path for JetBrains");return}try{let t=e(a);e(n)&&!F()?t={folder:e(n),file:e(a)}:e(n)&&(t=e(n)),await G("jetbrains:open",t),s()}catch(t){o.error("Failed to open in JetBrains:",t),K.error(t instanceof Error?t.message:k.ui_workspaceActions_openFailed_error({name:"JetBrains"}))}}async function I(){if(!e(a)){o.warn("[WorkspaceActionsMenu] No resolved path for Xcode");return}try{if(A()&&e(n)){Ue.dispatch(ft(A(),e(n),F()?void 0:e(a))),s();return}let t=e(a);e(n)&&!F()?t={folder:e(n),file:e(a)}:e(n)&&(t={folder:e(n)}),await G("xcode:open",t),s()}catch(t){o.error("Failed to open in Xcode:",t),K.error(t instanceof Error?t.message:k.ui_workspaceActions_openFailed_error({name:"Xcode"}))}}async function D(t){if(o.info("[WorkspaceActionsMenu] openInEditor called",{editorId:t.id,appName:t.appName,handlerType:t.handlerType,resolvedPath:e(a),isDirectory:F()}),!e(a)){o.warn("[WorkspaceActionsMenu] openInEditor: No resolved path, aborting");return}const l=F()?e(a):e(a).substring(0,e(a).lastIndexOf("/"));o.info(`[WorkspaceActionsMenu] openInEditor: targetPath=${l}, handlerType=${t.handlerType}`);try{switch(t.handlerType){case"finder":o.info("[WorkspaceActionsMenu] openInEditor: Invoking shell:showItemInFolder"),await G("shell:showItemInFolder",{path:l});break;case"vscode":o.info("[WorkspaceActionsMenu] openInEditor: Delegating to openInVSCode"),await C();return;case"jetbrains":o.info("[WorkspaceActionsMenu] openInEditor: Delegating to openInJetBrains"),await P();return;case"xcode":o.info("[WorkspaceActionsMenu] openInEditor: Delegating to openInXcode"),await I();return;case"generic":default:{o.info(`[WorkspaceActionsMenu] openInEditor: Invoking external-editors:open for ${t.id}`);const _=await G("external-editors:open",{editorId:t.id,path:l});o.info("[WorkspaceActionsMenu] openInEditor: external-editors:open result",_);break}}s()}catch(_){o.error(`[WorkspaceActionsMenu] Failed to open in ${t.appName}:`,_),K.error(_ instanceof Error?_.message:k.ui_workspaceActions_openFailed_error({name:t.appName}))}}async function B(){if(!e(a)){o.warn("No resolved path for openWithOther");return}try{let t=e(a);F()&&e(n)&&(t=e(n));const l=await G("external-editors:open-with-other",{path:t});if(!l?.success){l?.error!=="No application selected"&&(o.error("Failed to open with other app:",l?.error),K.error(l?.error||k.ui_workspaceActions_openOtherFailed_error()));return}s()}catch(t){o.error("Failed to open with other app:",t),K.error(t instanceof Error?t.message:k.ui_workspaceActions_openOtherFailed_error())}}async function Z(){if(e(a))try{await navigator.clipboard.writeText(He(e(a))),s()}catch(t){o.error("Failed to copy path:",t)}}async function $(){if(u())try{let t=u().replace(/\\/g,"/");if(Xe(u())&&e(n)){const l=e(n).endsWith("/")?e(n):e(n)+"/";t.startsWith(l)&&(t=t.slice(l.length))}await navigator.clipboard.writeText(He(t)),s()}catch(t){o.error("Failed to copy workspace path:",t)}}async function pe(){if(u())try{const t=u().split(/[/\\]/).pop()||"";await navigator.clipboard.writeText(t),s()}catch(t){o.error("Failed to copy file name:",t)}}function ee(){Y()&&(Y()(),s())}async function te(){if(!(!A()||!e(a)||e(g))){V(g,!0);try{const t=u().split(/[/\\]/).pop()||"file",l=e(a);let _="";try{_=(await G("file:read",{path:l,workspaceId:A()}))?.data?.content??""}catch{}const z=await G("file:delete",{path:l,workspaceId:A()});if(z?.success){f()?.(),s();const le=K.warning(k.ui_workspaceActions_deletedFile_label({name:t}),Ft({duration:15e3,action:{label:k.ui_workspaceActions_undo_label(),onClick:async()=>{try{await G("file:write",{path:l,content:_,workspaceId:A()}),mt("file:changed",{workspaceId:A(),type:"create",filePath:l}),K.dismiss(le)}catch(Oe){o.error("[WorkspaceActionsMenu] Failed to restore file",Oe),K.error(k.ui_workspaceActions_restoreFileFailed_error())}}}}))}else K.error(k.ui_workspaceActions_deleteFileFailedDetail_error({error:z?.error||k.ui_workspaceActions_unknown_error()}))}catch(t){o.error("[WorkspaceActionsMenu] Error deleting file",t),K.error(k.ui_workspaceActions_deleteFileFailed_error())}finally{V(g,!1)}}}function fe(){ie()&&se()?(se()(),s()):!ie()&&ce()&&(ce()(),s())}const he=w(()=>{const t=[];R()&&(i&&Ie()&&t.push({id:"open-in",label:k.ui_openCombo_openInApp_tooltip(),icon:Je,onClick:()=>{},submenu:[...e(ae).map(_=>({id:`editor:${_.id}`,label:k.ui_workspaceActions_openIn_label({name:_.name}),editor:_,onClick:()=>{D(_)}})),{id:"choose-app",label:k.ui_workspaceActions_chooseApp_label(),icon:Je,onClick:()=>{B()}}]}),S()&&t.push({id:"copy-absolute-path",label:k.ui_workspaceActions_copyAbsolutePath_label(),icon:qe,disabled:!e(a),dividerBefore:t.length>0,onClick:()=>{Z()}}),S()&&!x()&&t.push({id:"copy-relative-path",label:k.ui_workspaceActions_copyRelativePath_label(),icon:qe,disabled:!u(),onClick:()=>{$()}}),j()&&!F()&&t.push({id:"copy-file-name",label:k.ui_workspaceActions_copyFileName_label(),icon:wt,disabled:!u(),onClick:()=>{pe()}}));const l=_=>_.map(z=>({...z,submenu:z.submenu?l(z.submenu):void 0,onClick:()=>{z.onClick(),s()}}));return t.push(...l(L())),O()&&(ce()||se())&&t.push({id:"archive-workspace",label:ie()?k.ui_workspaceActions_unarchiveSpace_label():k.ui_workspaceActions_archiveSpace_label(),icon:ie()?yt:At,dividerBefore:t.length>0,onClick:fe}),r()&&Y()&&t.push({id:"delete-workspace",label:k.ui_workspaceActions_deleteSpace_label(),icon:Ge,variant:"destructive",dividerBefore:t.length>0&&t.at(-1)?.id!=="archive-workspace",onClick:ee}),m()&&!F()&&t.push({id:"delete-file",label:k.ui_workspaceActions_deleteFile_label(),icon:Ge,variant:"destructive",disabled:e(g)||!e(a)||!A(),dividerBefore:t.length>0,onClick:()=>{te()}}),t});var ve={get layout(){return E()},set layout(t="list"){E(t),v()},get iconWeight(){return J()},set iconWeight(t){J(t),v()},get filePath(){return u()},set filePath(t=""){u(t),v()},get workspaceId(){return A()},set workspaceId(t=""){A(t),v()},get isDirectory(){return F()},set isDirectory(t=!0){F(t),v()},get onDelete(){return Y()},set onDelete(t=void 0){Y(t),v()},get onArchive(){return ce()},set onArchive(t=void 0){ce(t),v()},get onUnarchive(){return se()},set onUnarchive(t=void 0){se(t),v()},get isArchived(){return ie()},set isArchived(t=!1){ie(t),v()},get onClose(){return p()},set onClose(t=void 0){p(t),v()},get showDeleteOption(){return r()},set showDeleteOption(t=!0){r(t),v()},get showArchiveOption(){return O()},set showArchiveOption(t=!1){O(t),v()},get showPathCopy(){return S()},set showPathCopy(t=!0){S(t),v()},get showFileNameCopy(){return j()},set showFileNameCopy(t=!1){j(t),v()},get showFileActions(){return R()},set showFileActions(t=!0){R(t),v()},get workspaceFolderPath(){return q()},set workspaceFolderPath(t=""){q(t),v()},get isDiff(){return W()},set isDiff(t=!1){W(t),v()},get isWorkspaceRoot(){return x()},set isWorkspaceRoot(t=!1){x(t),v()},get additionalActions(){return L()},set additionalActions(t=[]){L(t),v()},get showDeleteFileOption(){return m()},set showDeleteFileOption(t=!1){m(t),v()},get onFileDeleted(){return f()},set onFileDeleted(t=void 0){f(t),v()},$set:Ze,$on:(t,l)=>$e(d,t,l)};{let t=w(()=>E()!=="list");me(be,{get actions(){return e(he)},get menu(){return e(t)},get iconWeight(){return J()}})}var ye=tt(ve);return we(),ye}export{Zt as default};
1
+ import{t as Ye,bq as h,by as Ze,b as $e,bs as nt,bo as k,bu as Ve}from"./DGQ1ECsI.js";import{bo as st,bs as et,a7 as U,ay as y,aD as e,bS as X,W as c,a5 as Pe,bA as De,bH as V,bl as _e,b_ as oe,bO as de,bn as tt,bf as je,bV as Ee,aA as v,c9 as w,aB as H,be as it,b$ as lt,bj as dt,cd as ct,ca as Le,bk as ut}from"./DYhIMPy1.js";import{i as G}from"./DJ8_lZZl.js";import{Iv as Ue,mT as pt,uA as ft}from"./BSSsvY4I.js";import{bb as ht}from"./Csp7pCXT.js";import{cn as vt}from"./CbVK4mzc.js";import{c as gt}from"./ChTqQfQN.js";import{i as Xe,t as He}from"./H2jLkRRS.js";import{w as _t}from"./ggQuSgBM.js";import{d as mt}from"./B0Z-1lwJ.js";import{F as Re,as as bt,at as kt,cQ as Je,aV as qe,bc as wt,ak as yt,aj as At,cN as Ge}from"./Cjw1QvKa.js";import{k as K,w as Ft}from"./CK2a86W3.js";import{s as Ne,f as xe,c as Wt}from"./Bp_k45o-.js";import{s as Ct}from"./ChmnWquS.js";import{w as xt}from"./DZ-cwX5R.js";import"./B_7vJcZK.js";import{i as M}from"./B-DRVFcy.js";import{g as It,e as Te}from"./D3HUOTfX.js";import{c as Q}from"./CJeZnjZ2.js";import{a as Pt,r as Dt}from"./Bb07ib28.js";import{f as Mt,aa as Et}from"./CxF8YFum.js";import{M as Ot,t as Be}from"./CKe6gKEB.js";import{l as Ke,o as St,n as Rt,R as Nt,m as Tt,k as Bt,g as zt,i as Vt}from"./Cw94LfJC.js";import{m as ze}from"./286xXFLf.js";var jt=H('<img alt="" class="size-4"/>'),Lt=H('<span class="min-w-0 flex-1 text-left"><span class="block truncate"> </span> <span class="block text-muted-foreground" aria-hidden="true" data-menu-action-reason=""> </span></span>'),Ut=H("<span> </span>"),Xt=H('<span data-menu-action-detail=""> </span>'),Ht=H('<span aria-hidden="true"><!></span>'),Qe=H("<!> <!> <!>",1),Jt=H('<div class="my-1 h-px bg-border" role="separator"></div>'),Me=H("<!> <!>",1),qt=H('<!> <p data-menu-action-note=""> </p>',1),Gt=H('<span class="flex size-4 shrink-0 items-center justify-center" aria-hidden="true"><!></span> <!> <!>',1),Kt=H('<p data-menu-action-note=""> </p>'),Qt=H('<div class="pl-4"><!> <!></div>'),Yt=H('<span class="sr-only"> </span>');function me(be,d){const ke=st();if(new.target)return Ye({component:me,...be});et(d,!0);const Ie=(p,r=je)=>{var O=U(),S=y(O);{var j=W=>{const x=w(()=>Pt(r().editor));var L=U(),m=y(L);{var f=s=>{var i=jt();oe(()=>Ne(i,"src",`data:image/png;base64,${r().editor.iconBase64??""}`)),c(s,i)},o=s=>{var i=U(),b=y(i);Q(b,()=>e(x),(T,ae)=>{ae(T,{size:16})}),c(s,i)},N=s=>{{let i=w(()=>Dt(r().editor.category));Re(s,{get icon(){return e(i)},size:16})}};M(m,s=>{r().editor.iconBase64?s(f):e(x)?s(o,1):s(N,-1)})}c(W,L)},R=W=>{var x=U(),L=y(x);Ct(L,()=>r().iconSnippet),c(W,x)},q=W=>{{let x=w(()=>r().variant==="destructive"?"text-current":"text-muted-foreground");Re(W,{get icon(){return r().icon},get weight(){return J()},size:16,get class(){return e(x)}})}};M(S,W=>{r().editor?W(j):r().iconSnippet?W(R,1):r().icon&&W(q,2)})}c(p,O)},ne=(p,r=je)=>{var O=Qe(),S=y(O);{var j=m=>{var f=Lt(),o=Pe(f),N=_e(o,!0);Te(o,(b,T)=>Be?.(b,T),()=>r().label);var s=X(o,2),i=_e(s,!0);De(f),oe(()=>{de(N,r().label),de(i,r().disabledReason)}),c(m,f)},R=m=>{var f=Ut(),o=_e(f,!0);Te(f,(N,s)=>Be?.(N,s),()=>r().label),oe(()=>{xe(f,1,`min-w-0 truncate text-left ${r().detail?"flex-[1_0_auto]":"flex-1"}`),de(o,r().label)}),c(m,f)};M(S,m=>{r().disabledReason?m(j):m(R,-1)})}var q=X(S,2);{var W=m=>{var f=Xt(),o=_e(f,!0);Te(f,(N,s)=>Be?.(N,s),()=>r().detail),oe(()=>{xe(f,1,`ml-4 min-w-0 truncate ${(r().detailTone==="danger"?"text-danger":ze)??""}`),de(o,r().detail)}),c(m,f)};M(q,m=>{r().detail&&m(W)})}var x=X(q,2);{var L=m=>{var f=Ht(),o=Pe(f);Et(o,{children:(N,s)=>{it();var i=lt();oe(b=>de(i,b),[()=>xt(r().shortcut)]),c(N,i)},$$slots:{default:!0}}),De(f),oe(()=>xe(f,1,Wt(E()?"ml-4 flex h-lh shrink-0 items-center":"ml-4"))),c(m,f)};M(x,m=>{r().shortcut&&m(L)})}c(p,O)};let we=h(d,"actions",7),E=h(d,"menu",7),J=h(d,"iconWeight",7),u=h(d,"onClose",7),A=h(d,"selection",7),F=Ee(null);function Y(p){p.disabled||p.disabledReason!==void 0||(p.onClick(),u()?.())}var ce={get actions(){return we()},set actions(p){we(p),v()},get menu(){return E()},set menu(p){E(p),v()},get iconWeight(){return J()},set iconWeight(p){J(p),v()},get onClose(){return u()},set onClose(p){u(p),v()},get selection(){return A()},set selection(p){A(p),v()},$set:Ze,$on:(p,r)=>$e(d,p,r)},se=U(),ie=y(se);return It(ie,17,we,p=>p.id,(p,r)=>{const O=i=>{Ie(i,()=>e(r))},S=w(()=>!!(e(r).editor||e(r).iconSnippet||e(r).icon)),j=w(()=>e(r).disabled||e(r).disabledReason!==void 0),R=w(()=>e(r).disabledReason?`${ke}-${e(r).id}-reason`:void 0);var q=Qe(),W=y(q);{var x=i=>{var b=U(),T=y(b);{var ae=a=>{var n=U(),g=y(n);Q(g,()=>Ke,(C,P)=>{P(C,{})}),c(a,n)},ue=a=>{var n=Jt();c(a,n)};M(T,a=>{E()?a(ae):a(ue,-1)})}c(i,b)};M(W,i=>{e(r).dividerBefore&&i(x)})}var L=X(W,2);{var m=i=>{var b=U(),T=y(b);{var ae=g=>{var C=U(),P=y(C);Q(P,()=>Tt,(I,D)=>{D(I,{children:(B,Z)=>{var $=Me(),pe=y($);{let te=w(()=>e(S)?O:void 0);Q(pe,()=>St,(fe,he)=>{he(fe,{get leading(){return e(te)},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},get"data-action-id"(){return e(r).id},children:(ve,ye)=>{ne(ve,()=>e(r))},$$slots:{default:!0}})})}var ee=X(pe,2);{let te=w(()=>e(r).note?`${ke}-${e(r).id}-note`:void 0);Q(ee,()=>Rt,(fe,he)=>{he(fe,{class:"w-60",get"aria-describedby"(){return e(te)},children:(ve,ye)=>{var t=Me(),l=y(t);{var _=re=>{var Ae=Me(),Fe=y(Ae);{let Ce=w(()=>e(r).submenu.find(ge=>ge.checked)?.id??"");Q(Fe,()=>Nt,(ge,Se)=>{Se(ge,{get value(){return e(Ce)},get"aria-label"(){return e(r).label},children:(rt,$t)=>{{let at=w(()=>e(r).submenu.filter(ot=>ot.checked!==void 0));me(rt,{get actions(){return e(at)},selection:"single",get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}})}},$$slots:{default:!0}})})}var We=X(Fe,2);{let Ce=w(()=>e(r).submenu.filter(ge=>ge.checked===void 0));me(We,{get actions(){return e(Ce)},get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}})}c(re,Ae)},z=re=>{me(re,{get actions(){return e(r).submenu},get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}})};M(l,re=>{e(r).selection==="single"?re(_):re(z,-1)})}var le=X(l,2);{var Oe=re=>{var Ae=qt(),Fe=y(Ae);Q(Fe,()=>Ke,(ge,Se)=>{Se(ge,{})});var We=X(Fe,2),Ce=_e(We,!0);oe(()=>{Ne(We,"id",`${ke}-${e(r).id}-note`),xe(We,1,`type-caption px-2 py-1 ${ze}`),de(Ce,e(r).note)}),c(re,Ae)};M(le,re=>{e(r).note&&re(Oe)})}c(ve,t)},$$slots:{default:!0}})})}c(B,$)},$$slots:{default:!0}})}),c(g,C)},ue=g=>{var C=U(),P=y(C);{let I=w(()=>e(S)?O:void 0);Q(P,()=>Bt,(D,B)=>{B(D,{get leading(){return e(I)},get value(){return e(r).id},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},closeOnSelect:!0,onSelect:()=>Y(e(r)),get"data-action-id"(){return e(r).id},children:(Z,$)=>{ne(Z,()=>e(r))},$$slots:{default:!0}})})}c(g,C)},a=g=>{var C=U(),P=y(C);{let I=w(()=>e(S)?O:void 0);Q(P,()=>zt,(D,B)=>{B(D,{get leading(){return e(I)},get checked(){return e(r).checked},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},closeOnSelect:!0,onSelect:()=>Y(e(r)),get"data-action-id"(){return e(r).id},children:(Z,$)=>{ne(Z,()=>e(r))},$$slots:{default:!0}})})}c(g,C)},n=g=>{var C=U(),P=y(C);{let I=w(()=>e(S)?O:void 0),D=w(()=>e(r).variant==="destructive");Q(P,()=>Vt,(B,Z)=>{Z(B,{get leading(){return e(I)},get destructive(){return e(D)},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},onSelect:()=>Y(e(r)),get"data-action-id"(){return e(r).id},children:($,pe)=>{ne($,()=>e(r))},$$slots:{default:!0}})})}c(g,C)};M(T,g=>{e(r).submenu?g(ae):A()==="single"&&e(r).checked!==void 0?g(ue,1):e(r).checked!==void 0?g(a,2):g(n,-1)})}c(i,b)},f=i=>{me(i,{get actions(){return e(r).submenu},get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}})},o=i=>{var b=Me(),T=y(b);{let a=w(()=>e(r).variant==="destructive"?"text-danger hover:text-danger":""),n=w(()=>e(r).submenu?e(F)===e(r).id:void 0);Mt(T,{variant:"ghost",size:"sm",get class(){return`w-full justify-start gap-2 ${e(a)??""}`},get disabled(){return e(j)},get"aria-describedby"(){return e(R)},get"aria-expanded"(){return e(n)},onclick:()=>e(r).submenu?V(F,e(F)===e(r).id?null:e(r).id,!0):Y(e(r)),children:(g,C)=>{var P=Gt(),I=y(P),D=Pe(I);Ie(D,()=>e(r)),De(I);var B=X(I,2);ne(B,()=>e(r));var Z=X(B,2);{var $=ee=>{{let te=w(()=>e(F)===e(r).id?bt:kt);Re(ee,{get icon(){return e(te)},size:12})}},pe=ee=>{var te=U(),fe=y(te);{let he=w(()=>e(r).checked?"checked":"empty");Q(fe,()=>Ot,(ve,ye)=>{ye(ve,{get state(){return e(he)}})})}c(ee,te)};M(Z,ee=>{e(r).submenu?ee($):e(r).checked!==void 0&&ee(pe,1)})}c(g,P)},$$slots:{default:!0}})}var ae=X(T,2);{var ue=a=>{var n=Qt(),g=Pe(n);me(g,{get actions(){return e(r).submenu},get menu(){return E()},get iconWeight(){return J()},get onClose(){return u()}});var C=X(g,2);{var P=I=>{var D=Kt(),B=_e(D,!0);oe(()=>{xe(D,1,`type-caption px-2 py-1 ${ze}`),de(B,e(r).note)}),c(I,D)};M(C,I=>{e(r).note&&I(P)})}De(n),c(a,n)};M(ae,a=>{e(r).submenu&&e(F)===e(r).id&&a(ue)})}c(i,b)};M(L,i=>{E()?i(m):e(r).id==="open-in"&&e(r).submenu?i(f,1):i(o,-1)})}var N=X(L,2);{var s=i=>{var b=Yt(),T=_e(b,!0);oe(()=>{Ne(b,"id",e(R)),de(T,e(r).disabledReason)}),c(i,b)};M(N,i=>{e(r).disabledReason&&i(s)})}c(p,q)}),c(be,se),tt(ce)}function Zt(be,d){if(new.target)return Ye({component:Zt,...be});et(d,!0);const ke=()=>Ve(T,"$installedEditors$",ne),Ie=()=>Ve(ue,"$isWorkspaceHostLocal$",ne),[ne,we]=nt();let E=h(d,"layout",7,"list"),J=h(d,"iconWeight",7),u=h(d,"filePath",7,""),A=h(d,"workspaceId",7,""),F=h(d,"isDirectory",7,!0),Y=h(d,"onDelete",7,void 0),ce=h(d,"onArchive",7,void 0),se=h(d,"onUnarchive",7,void 0),ie=h(d,"isArchived",7,!1),p=h(d,"onClose",7,void 0),r=h(d,"showDeleteOption",7,!0),O=h(d,"showArchiveOption",7,!1),S=h(d,"showPathCopy",7,!0),j=h(d,"showFileNameCopy",7,!1),R=h(d,"showFileActions",7,!0),q=h(d,"workspaceFolderPath",7,""),W=h(d,"isDiff",7,!1),x=h(d,"isWorkspaceRoot",7,!1),L=h(d,"additionalActions",23,()=>[]),m=h(d,"showDeleteFileOption",7,!1),f=h(d,"onFileDeleted",7,void 0);const o=gt("WorkspaceActionsMenu");let N=!1;dt(()=>{N=!0});function s(){N||p()?.()}const i=_t("externalEditors"),b=ct(A());Le(()=>{b.set(A())});const T=ht(b),ae=w(ke),ue=vt(b);let a=Ee(""),n=Ee(""),g=Ee(!1);ut(()=>{Ue.dispatch(pt())}),Le(()=>{u()&&A()?G("workspace:get",{id:A()}).then(t=>{if(t&&t.success&&t.data){const l=t.data,_=l.worktreePath||l.repositoryPath||l.path,z=q()==="__WORKSPACE_ROOT__"?_:q()||_;if(z){const le=z.replace(/\\/g,"/");x()?V(a,le,!0):Xe(u())?V(a,u().replace(/\\/g,"/"),!0):V(a,`${le}/${u()}`.replace(/\/+/g,"/"),!0),V(n,le,!0),o.info("[WorkspaceActionsMenu] Resolved file path:",{filePath:u(),workspacePath:z,resolvedPath:e(a)})}else V(a,u()),V(n,""),l.status!=="archived"&&l.status!=="deleted"&&o.warn("[WorkspaceActionsMenu] No workspace path found:",l)}else V(a,u()),V(n,""),t?.error&&!t.error.includes("not found")&&o.warn("[WorkspaceActionsMenu] Workspace not available:",t)}).catch(t=>{V(a,u()),V(n,""),t?.message?.includes("not found")||o.error("[WorkspaceActionsMenu] Failed to resolve path:",t)}):(V(a,u()),o.info("[WorkspaceActionsMenu] Using filePath directly:",{filePath:u(),workspaceId:A()}))});async function C(){if(!e(a)){o.warn("[WorkspaceActionsMenu] No resolved path for VSCode");return}try{if(W()&&!F()){o.info("[WorkspaceActionsMenu] Opening diff in VSCode:",{resolvedPath:e(a)}),await G("vscode:open-git-diff",{filePath:e(a),workspacePath:e(n)||void 0}),s();return}let t=e(a);if(e(n))!F()&&!x()?t={folder:e(n),file:e(a)}:t=e(n);else if(!F()){const l=e(a).includes("\\")?"\\":"/",_=e(a).split(l);_.length>1&&(t={folder:_.slice(0,-1).join(l),file:e(a)})}await G("vscode:open",t),s()}catch(t){o.error("Failed to open in VSCode:",t),K.error(t instanceof Error?t.message:k.ui_workspaceActions_openFailed_error({name:"VS Code"}))}}async function P(){if(!e(a)){o.warn("[WorkspaceActionsMenu] No resolved path for JetBrains");return}try{let t=e(a);e(n)&&!F()?t={folder:e(n),file:e(a)}:e(n)&&(t=e(n)),await G("jetbrains:open",t),s()}catch(t){o.error("Failed to open in JetBrains:",t),K.error(t instanceof Error?t.message:k.ui_workspaceActions_openFailed_error({name:"JetBrains"}))}}async function I(){if(!e(a)){o.warn("[WorkspaceActionsMenu] No resolved path for Xcode");return}try{if(A()&&e(n)){Ue.dispatch(ft(A(),e(n),F()?void 0:e(a))),s();return}let t=e(a);e(n)&&!F()?t={folder:e(n),file:e(a)}:e(n)&&(t={folder:e(n)}),await G("xcode:open",t),s()}catch(t){o.error("Failed to open in Xcode:",t),K.error(t instanceof Error?t.message:k.ui_workspaceActions_openFailed_error({name:"Xcode"}))}}async function D(t){if(o.info("[WorkspaceActionsMenu] openInEditor called",{editorId:t.id,appName:t.appName,handlerType:t.handlerType,resolvedPath:e(a),isDirectory:F()}),!e(a)){o.warn("[WorkspaceActionsMenu] openInEditor: No resolved path, aborting");return}const l=F()?e(a):e(a).substring(0,e(a).lastIndexOf("/"));o.info(`[WorkspaceActionsMenu] openInEditor: targetPath=${l}, handlerType=${t.handlerType}`);try{switch(t.handlerType){case"finder":o.info("[WorkspaceActionsMenu] openInEditor: Invoking shell:showItemInFolder"),await G("shell:showItemInFolder",{path:l});break;case"vscode":o.info("[WorkspaceActionsMenu] openInEditor: Delegating to openInVSCode"),await C();return;case"jetbrains":o.info("[WorkspaceActionsMenu] openInEditor: Delegating to openInJetBrains"),await P();return;case"xcode":o.info("[WorkspaceActionsMenu] openInEditor: Delegating to openInXcode"),await I();return;case"generic":default:{o.info(`[WorkspaceActionsMenu] openInEditor: Invoking external-editors:open for ${t.id}`);const _=await G("external-editors:open",{editorId:t.id,path:l});o.info("[WorkspaceActionsMenu] openInEditor: external-editors:open result",_);break}}s()}catch(_){o.error(`[WorkspaceActionsMenu] Failed to open in ${t.appName}:`,_),K.error(_ instanceof Error?_.message:k.ui_workspaceActions_openFailed_error({name:t.appName}))}}async function B(){if(!e(a)){o.warn("No resolved path for openWithOther");return}try{let t=e(a);F()&&e(n)&&(t=e(n));const l=await G("external-editors:open-with-other",{path:t});if(!l?.success){l?.error!=="No application selected"&&(o.error("Failed to open with other app:",l?.error),K.error(l?.error||k.ui_workspaceActions_openOtherFailed_error()));return}s()}catch(t){o.error("Failed to open with other app:",t),K.error(t instanceof Error?t.message:k.ui_workspaceActions_openOtherFailed_error())}}async function Z(){if(e(a))try{await navigator.clipboard.writeText(He(e(a))),s()}catch(t){o.error("Failed to copy path:",t)}}async function $(){if(u())try{let t=u().replace(/\\/g,"/");if(Xe(u())&&e(n)){const l=e(n).endsWith("/")?e(n):e(n)+"/";t.startsWith(l)&&(t=t.slice(l.length))}await navigator.clipboard.writeText(He(t)),s()}catch(t){o.error("Failed to copy workspace path:",t)}}async function pe(){if(u())try{const t=u().split(/[/\\]/).pop()||"";await navigator.clipboard.writeText(t),s()}catch(t){o.error("Failed to copy file name:",t)}}function ee(){Y()&&(Y()(),s())}async function te(){if(!(!A()||!e(a)||e(g))){V(g,!0);try{const t=u().split(/[/\\]/).pop()||"file",l=e(a);let _="";try{_=(await G("file:read",{path:l,workspaceId:A()}))?.data?.content??""}catch{}const z=await G("file:delete",{path:l,workspaceId:A()});if(z?.success){f()?.(),s();const le=K.warning(k.ui_workspaceActions_deletedFile_label({name:t}),Ft({duration:15e3,action:{label:k.ui_workspaceActions_undo_label(),onClick:async()=>{try{await G("file:write",{path:l,content:_,workspaceId:A()}),mt("file:changed",{workspaceId:A(),type:"create",filePath:l}),K.dismiss(le)}catch(Oe){o.error("[WorkspaceActionsMenu] Failed to restore file",Oe),K.error(k.ui_workspaceActions_restoreFileFailed_error())}}}}))}else K.error(k.ui_workspaceActions_deleteFileFailedDetail_error({error:z?.error||k.ui_workspaceActions_unknown_error()}))}catch(t){o.error("[WorkspaceActionsMenu] Error deleting file",t),K.error(k.ui_workspaceActions_deleteFileFailed_error())}finally{V(g,!1)}}}function fe(){ie()&&se()?(se()(),s()):!ie()&&ce()&&(ce()(),s())}const he=w(()=>{const t=[];R()&&(i&&Ie()&&t.push({id:"open-in",label:k.ui_openCombo_openInApp_tooltip(),icon:Je,onClick:()=>{},submenu:[...e(ae).map(_=>({id:`editor:${_.id}`,label:k.ui_workspaceActions_openIn_label({name:_.name}),editor:_,onClick:()=>{D(_)}})),{id:"choose-app",label:k.ui_workspaceActions_chooseApp_label(),icon:Je,onClick:()=>{B()}}]}),S()&&t.push({id:"copy-absolute-path",label:k.ui_workspaceActions_copyAbsolutePath_label(),icon:qe,disabled:!e(a),dividerBefore:t.length>0,onClick:()=>{Z()}}),S()&&!x()&&t.push({id:"copy-relative-path",label:k.ui_workspaceActions_copyRelativePath_label(),icon:qe,disabled:!u(),onClick:()=>{$()}}),j()&&!F()&&t.push({id:"copy-file-name",label:k.ui_workspaceActions_copyFileName_label(),icon:wt,disabled:!u(),onClick:()=>{pe()}}));const l=_=>_.map(z=>({...z,submenu:z.submenu?l(z.submenu):void 0,onClick:()=>{z.onClick(),s()}}));return t.push(...l(L())),O()&&(ce()||se())&&t.push({id:"archive-workspace",label:ie()?k.ui_workspaceActions_unarchiveSpace_label():k.ui_workspaceActions_archiveSpace_label(),icon:ie()?yt:At,dividerBefore:t.length>0,onClick:fe}),r()&&Y()&&t.push({id:"delete-workspace",label:k.ui_workspaceActions_deleteSpace_label(),icon:Ge,variant:"destructive",dividerBefore:t.length>0&&t.at(-1)?.id!=="archive-workspace",onClick:ee}),m()&&!F()&&t.push({id:"delete-file",label:k.ui_workspaceActions_deleteFile_label(),icon:Ge,variant:"destructive",disabled:e(g)||!e(a)||!A(),dividerBefore:t.length>0,onClick:()=>{te()}}),t});var ve={get layout(){return E()},set layout(t="list"){E(t),v()},get iconWeight(){return J()},set iconWeight(t){J(t),v()},get filePath(){return u()},set filePath(t=""){u(t),v()},get workspaceId(){return A()},set workspaceId(t=""){A(t),v()},get isDirectory(){return F()},set isDirectory(t=!0){F(t),v()},get onDelete(){return Y()},set onDelete(t=void 0){Y(t),v()},get onArchive(){return ce()},set onArchive(t=void 0){ce(t),v()},get onUnarchive(){return se()},set onUnarchive(t=void 0){se(t),v()},get isArchived(){return ie()},set isArchived(t=!1){ie(t),v()},get onClose(){return p()},set onClose(t=void 0){p(t),v()},get showDeleteOption(){return r()},set showDeleteOption(t=!0){r(t),v()},get showArchiveOption(){return O()},set showArchiveOption(t=!1){O(t),v()},get showPathCopy(){return S()},set showPathCopy(t=!0){S(t),v()},get showFileNameCopy(){return j()},set showFileNameCopy(t=!1){j(t),v()},get showFileActions(){return R()},set showFileActions(t=!0){R(t),v()},get workspaceFolderPath(){return q()},set workspaceFolderPath(t=""){q(t),v()},get isDiff(){return W()},set isDiff(t=!1){W(t),v()},get isWorkspaceRoot(){return x()},set isWorkspaceRoot(t=!1){x(t),v()},get additionalActions(){return L()},set additionalActions(t=[]){L(t),v()},get showDeleteFileOption(){return m()},set showDeleteFileOption(t=!1){m(t),v()},get onFileDeleted(){return f()},set onFileDeleted(t=void 0){f(t),v()},$set:Ze,$on:(t,l)=>$e(d,t,l)};{let t=w(()=>E()!=="list");me(be,{get actions(){return e(he)},get menu(){return e(t)},get iconWeight(){return J()}})}var ye=tt(ve);return we(),ye}export{Zt as default};
@@ -1 +1 @@
1
- import{a0 as h,IW as w,rc as S}from"./BmagX6n5.js";import{cd as E}from"./DYhIMPy1.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 I(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 N(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:I(e,s),source:c,kind:e,text:N(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{a0 as h,IW as w,rc as S}from"./BSSsvY4I.js";import{cd as E}from"./DYhIMPy1.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 I(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 N(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:I(e,s),source:c,kind:e,text:N(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 +1 @@
1
- import{aR as o,aP as l,a0 as v,l as y,bu as T,bT as b,bL as f,bM as i,r as m,aQ as p}from"./DYhIMPy1.js";import{B as R}from"./CT36W95j.js";function E(d,_,e){var s;o&&(s=p,l());var r=new R(d);v(()=>{var a=_()??null;if(o){var h=T(s),u=h===m,c=a!==null;if(u!==c){var t=b();f(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},y)}export{E as c};
1
+ import{aR as o,aP as l,a0 as v,l as y,bu as T,bT as b,bL as f,bM as i,r as m,aQ as p}from"./DYhIMPy1.js";import{B as R}from"./DGQ1ECsI.js";function E(d,_,e){var s;o&&(s=p,l());var r=new R(d);v(()=>{var a=_()??null;if(o){var h=T(s),u=h===m,c=a!==null;if(u!==c){var t=b();f(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},y)}export{E as c};