@intent-hq/web 2.375.1 → 2.376.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 (324) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{Dn-hGN0g.js → -Hb5Lymn.js} +1 -1
  3. package/web/app/immutable/chunks/{C9EedYBu.js → -SrZYziV.js} +1 -1
  4. package/web/app/immutable/chunks/{DKUOdUyV.js → 0rEEjvhW.js} +1 -1
  5. package/web/app/immutable/chunks/{DVcCnfZH.js → 0vLUv3ld.js} +1 -1
  6. package/web/app/immutable/chunks/1KDVFF23.js +1 -0
  7. package/web/app/immutable/chunks/{ChGLvrw4.js → 1_Sb4Kkv.js} +4 -4
  8. package/web/app/immutable/chunks/{Xgzrv-dN.js → 1wMLd-77.js} +1 -1
  9. package/web/app/immutable/chunks/{BX9IoE2d.js → 26zQgwyJ.js} +1 -1
  10. package/web/app/immutable/chunks/{DSiF4FpM.js → 2WaF6vs_.js} +1 -1
  11. package/web/app/immutable/chunks/{Bd6SODL5.js → 471Fgn_p.js} +1 -1
  12. package/web/app/immutable/chunks/{BE5ZU7pI.js → 5II1c2xL.js} +1 -1
  13. package/web/app/immutable/chunks/{DqujvsHK.js → 5IrgxRfr.js} +1 -1
  14. package/web/app/immutable/chunks/{DNozBV3M.js → 6529TVsv.js} +1 -1
  15. package/web/app/immutable/chunks/{Cpr2SOSC.js → 6FXzbKIf.js} +1 -1
  16. package/web/app/immutable/chunks/{DgiJ63hc.js → 7FS8g33K.js} +3 -3
  17. package/web/app/immutable/chunks/{CberoJl6.js → 7IpY0EgW.js} +1 -1
  18. package/web/app/immutable/chunks/{DY61j2wq.js → 7n3mxV6t.js} +1 -1
  19. package/web/app/immutable/chunks/{B_jbAa0I.js → 8PIbpdJu.js} +1 -1
  20. package/web/app/immutable/chunks/{B4SJ0wZk.js → 8VOCP3Xx.js} +1 -1
  21. package/web/app/immutable/chunks/{t4bVJhrn.js → 9Fwj-RCt.js} +4 -4
  22. package/web/app/immutable/chunks/{Jcrj5YZi.js → 9IHp8VDb.js} +1 -1
  23. package/web/app/immutable/chunks/{hK5d1dQ0.js → Aa4mTk2-.js} +1 -1
  24. package/web/app/immutable/chunks/{DV_Q2hiQ.js → B-lpv6Gv.js} +2 -2
  25. package/web/app/immutable/chunks/{DoQnqQZn.js → B4ot6F6B.js} +1 -1
  26. package/web/app/immutable/chunks/{B4n9OEnJ.js → B4wiFjXK.js} +1 -1
  27. package/web/app/immutable/chunks/B61tWwOC.js +1 -0
  28. package/web/app/immutable/chunks/{CM4xaytB.js → B6Zf-ZTX.js} +1 -1
  29. package/web/app/immutable/chunks/{DODG7FHv.js → B7o1DJo9.js} +1 -1
  30. package/web/app/immutable/chunks/{D3HVFnZe.js → B8tcC_lC.js} +1 -1
  31. package/web/app/immutable/chunks/{67uMgcnU.js → B9F4r5fH.js} +1 -1
  32. package/web/app/immutable/chunks/{BepABSAk.js → B9nat7hx.js} +1 -1
  33. package/web/app/immutable/chunks/{CtX28OJm.js → BA7mfVzm.js} +1 -1
  34. package/web/app/immutable/chunks/{CXjIzVpl.js → BGMy2Ryn.js} +1 -1
  35. package/web/app/immutable/chunks/{Dqtmunn7.js → BH4muXHE.js} +5 -5
  36. package/web/app/immutable/chunks/{Ds6Uj2aI.js → BIGkxv6Q.js} +1 -1
  37. package/web/app/immutable/chunks/{BWtq4mC4.js → BIwMjRQQ.js} +1 -1
  38. package/web/app/immutable/chunks/{CzEqpD5b.js → BLNcc2k4.js} +1 -1
  39. package/web/app/immutable/chunks/{CkRR8JwL.js → BLSHNn4a.js} +1 -1
  40. package/web/app/immutable/chunks/{jG67l4Uo.js → BLYYB2Pl.js} +2 -2
  41. package/web/app/immutable/chunks/{BbzFLKZE.js → BMScw2DS.js} +1 -1
  42. package/web/app/immutable/chunks/{gsUgKMwT.js → BMfUzLG6.js} +1 -1
  43. package/web/app/immutable/chunks/{B6CxzJhM.js → BOLzaoLg.js} +1 -1
  44. package/web/app/immutable/chunks/{mM-wy2h5.js → BP7XtCsE.js} +1 -1
  45. package/web/app/immutable/chunks/{NgEAPl8f.js → BPo1GPk4.js} +2 -2
  46. package/web/app/immutable/chunks/{BKPOvbtV.js → BPx3dFHu.js} +1 -1
  47. package/web/app/immutable/chunks/{DD_c8x6U.js → BQ5vM4FB.js} +2 -2
  48. package/web/app/immutable/chunks/{DJuFWuFo.js → BVunuTwn.js} +1 -1
  49. package/web/app/immutable/chunks/{DaUQbJQJ.js → BWBQA0E0.js} +1 -1
  50. package/web/app/immutable/chunks/{E0KBz4I2.js → BXB-ioXM.js} +1 -1
  51. package/web/app/immutable/chunks/{MBA6k0j3.js → BYBN65Dm.js} +1 -1
  52. package/web/app/immutable/chunks/{Dv3EtVHJ.js → BYeDxl_R.js} +1 -1
  53. package/web/app/immutable/chunks/{CiD4x8Gl.js → BZytk_HL.js} +1 -1
  54. package/web/app/immutable/chunks/{B5CW3gDe.js → Ba4cYgvZ.js} +3 -3
  55. package/web/app/immutable/chunks/{D806p2LW.js → BaEFcPEE.js} +3 -3
  56. package/web/app/immutable/chunks/{-18XT1CI.js → BblwdMxR.js} +1 -1
  57. package/web/app/immutable/chunks/{DIylOQL5.js → BcEldzTj.js} +1 -1
  58. package/web/app/immutable/chunks/{CRl6sOjh.js → Bco7_wmI.js} +1 -1
  59. package/web/app/immutable/chunks/{DppdhMsn.js → Bcx8Sxo7.js} +1 -1
  60. package/web/app/immutable/chunks/{PZRS5x7m.js → Bek4Es60.js} +1 -1
  61. package/web/app/immutable/chunks/{CUXVMwZ6.js → BgttkbLb.js} +1 -1
  62. package/web/app/immutable/chunks/{kFANwwYX.js → BgxLwwHQ.js} +1 -1
  63. package/web/app/immutable/chunks/{5mmUTVhd.js → BjYingUt.js} +1 -1
  64. package/web/app/immutable/chunks/{Cn8hCY5y.js → BkLeC-gf.js} +2 -2
  65. package/web/app/immutable/chunks/{ClkC2csJ.js → BlXvVwTG.js} +1 -1
  66. package/web/app/immutable/chunks/{DK-vph3Z.js → Blp2y8Zh.js} +1 -1
  67. package/web/app/immutable/chunks/{Bk5eDkyv.js → BmNAS5xc.js} +1 -1
  68. package/web/app/immutable/chunks/{CZJDTQJi.js → Bo5PTszQ.js} +1 -1
  69. package/web/app/immutable/chunks/{BZSs3eKh.js → BoEPe-FL.js} +1 -1
  70. package/web/app/immutable/chunks/{DZ8q1fkg.js → BoT5B49_.js} +1 -1
  71. package/web/app/immutable/chunks/{CSbK1_CV.js → BpT_ybtH.js} +2 -2
  72. package/web/app/immutable/chunks/{eGxC9Zfx.js → Br9RT7xb.js} +1 -1
  73. package/web/app/immutable/chunks/{CF0098kp.js → BrRuqfTp.js} +1 -1
  74. package/web/app/immutable/chunks/{DZmV2kHY.js → Bs1drFy2.js} +1 -1
  75. package/web/app/immutable/chunks/{DgOwYCT0.js → BtT-JO5g.js} +1 -1
  76. package/web/app/immutable/chunks/{DRPKvmfX.js → BtgBrLqZ.js} +1 -1
  77. package/web/app/immutable/chunks/{Dgn5Otg4.js → Bu4YAtNq.js} +1 -1
  78. package/web/app/immutable/chunks/{C0JDt0nm.js → Bu8LYT1B.js} +2 -2
  79. package/web/app/immutable/chunks/{BCKmKE5y.js → BuFlry2f.js} +1 -1
  80. package/web/app/immutable/chunks/{DvOdp8Jx.js → Bv5YjDej.js} +1 -1
  81. package/web/app/immutable/chunks/{Db_i0IkD.js → BvKzoZLa.js} +1 -1
  82. package/web/app/immutable/chunks/{CMFbZICM.js → BvhuCBEE.js} +2 -2
  83. package/web/app/immutable/chunks/{ChoM6f6w.js → BvjVhe2e.js} +1 -1
  84. package/web/app/immutable/chunks/{Bu7GfLOK.js → BvvCJG4x.js} +1 -1
  85. package/web/app/immutable/chunks/{LAC4SG96.js → Bwl-WDiM.js} +1 -1
  86. package/web/app/immutable/chunks/{tnfQ532f.js → BxlVsP3O.js} +1 -1
  87. package/web/app/immutable/chunks/{BSroN1Rt.js → ByJyX5qZ.js} +1 -1
  88. package/web/app/immutable/chunks/{K7F-rH-C.js → C09ifoAC.js} +4 -4
  89. package/web/app/immutable/chunks/{Q5HWwxnx.js → C0kzahSL.js} +1 -1
  90. package/web/app/immutable/chunks/{vXh-PQQZ.js → C0nXBDlv.js} +1 -1
  91. package/web/app/immutable/chunks/{DuPkRrZF.js → C2VSMRVU.js} +1 -1
  92. package/web/app/immutable/chunks/{B9-EoZ1p.js → C3FNiYoh.js} +1 -1
  93. package/web/app/immutable/chunks/{DINI7WNX.js → C3iIVLbv.js} +1 -1
  94. package/web/app/immutable/chunks/{LDe4IsYZ.js → C4MiITEz.js} +1 -1
  95. package/web/app/immutable/chunks/{TodMLsNs.js → C54d-qnB.js} +1 -1
  96. package/web/app/immutable/chunks/{D_Y9WK2x.js → C71BdIUW.js} +1 -1
  97. package/web/app/immutable/chunks/{iwQqOlmN.js → C7Ibt0hX.js} +1 -1
  98. package/web/app/immutable/chunks/{fXti0RCR.js → C7hm9bSX.js} +1 -1
  99. package/web/app/immutable/chunks/{CiJWG6bO.js → C82gBCX8.js} +1 -1
  100. package/web/app/immutable/chunks/{BmC0p6X8.js → CALsJq65.js} +1 -1
  101. package/web/app/immutable/chunks/{C-nutp9J.js → CB9DABC0.js} +1 -1
  102. package/web/app/immutable/chunks/{CnMgdwKG.js → CBLFNmYJ.js} +1 -1
  103. package/web/app/immutable/chunks/{DaysnCXK.js → CBmGf0Ke.js} +1 -1
  104. package/web/app/immutable/chunks/{gcpLbmeh.js → CCEqDzPP.js} +1 -1
  105. package/web/app/immutable/chunks/{C5l6D9GX.js → CClsvy7n.js} +1 -1
  106. package/web/app/immutable/chunks/{CpYW1yE7.js → CDeldaOF.js} +2 -2
  107. package/web/app/immutable/chunks/{CFqcGY4P.js → CEgHOs22.js} +1 -1
  108. package/web/app/immutable/chunks/{GlvfRTgI.js → CEqmtghP.js} +1 -1
  109. package/web/app/immutable/chunks/{RLFGU-s6.js → CFLXlno6.js} +1 -1
  110. package/web/app/immutable/chunks/{kuwy0JZA.js → CHHUtp07.js} +1 -1
  111. package/web/app/immutable/chunks/{BmEIQ8E-.js → CHzHsjlJ.js} +1 -1
  112. package/web/app/immutable/chunks/{Zw1KxEm0.js → CIzlkLuu.js} +1 -1
  113. package/web/app/immutable/chunks/{D5HhSqbc.js → CJJ2D2db.js} +1 -1
  114. package/web/app/immutable/chunks/{DGlNRMU1.js → CJh_F--P.js} +2 -2
  115. package/web/app/immutable/chunks/{CyaIe0jD.js → CJpjySL_.js} +1 -1
  116. package/web/app/immutable/chunks/{Cy9qAjIU.js → CL6yJ0UM.js} +1 -1
  117. package/web/app/immutable/chunks/{qPYbzgcC.js → CMgAi196.js} +1 -1
  118. package/web/app/immutable/chunks/{LGfIT3MS.js → CN0Csvus.js} +3 -3
  119. package/web/app/immutable/chunks/{Ctusnxiu.js → CN9rXc7J.js} +1 -1
  120. package/web/app/immutable/chunks/{Ilt_8E2i.js → COhzmnEo.js} +1 -1
  121. package/web/app/immutable/chunks/{D1HPSWvP.js → CPCza4LC.js} +1 -1
  122. package/web/app/immutable/chunks/{IVk1JAtP.js → CPEu2Vil.js} +1 -1
  123. package/web/app/immutable/chunks/{DSiZ9qTg.js → CQQvsDes.js} +1 -1
  124. package/web/app/immutable/chunks/{Cq76BY90.js → CQww8mRz.js} +1 -1
  125. package/web/app/immutable/chunks/{MyWfy8xc.js → CRWeEeIp.js} +1 -1
  126. package/web/app/immutable/chunks/{uE6SDSU_.js → CSepGuJ-.js} +1 -1
  127. package/web/app/immutable/chunks/{Byjmi-8z.js → CSp6HTdW.js} +2 -2
  128. package/web/app/immutable/chunks/CT6GHk2v.js +1 -0
  129. package/web/app/immutable/chunks/{BxVNHcGR.js → CTDEoCzv.js} +1 -1
  130. package/web/app/immutable/chunks/{oJ_ZL_ms.js → CToFQRbb.js} +1 -1
  131. package/web/app/immutable/chunks/{alEgYZuT.js → CUUAtNdA.js} +1 -1
  132. package/web/app/immutable/chunks/{C58p8xFm.js → CWFWI1JB.js} +1 -1
  133. package/web/app/immutable/chunks/{CFhbo3o1.js → CX9_bRjk.js} +1 -1
  134. package/web/app/immutable/chunks/{D1JjMDax.js → CYCawVEx.js} +1 -1
  135. package/web/app/immutable/chunks/{DzVqblgy.js → C_BHeuK7.js} +1 -1
  136. package/web/app/immutable/chunks/{DuDStABj.js → Ca9qLvAG.js} +1 -1
  137. package/web/app/immutable/chunks/{6JKrky9_.js → CbnYiL9b.js} +1 -1
  138. package/web/app/immutable/chunks/{CBl7oWeN.js → Cbu0O7F_.js} +1 -1
  139. package/web/app/immutable/chunks/{CHUCX9T6.js → CdgNuFkc.js} +1 -1
  140. package/web/app/immutable/chunks/{DZCvTRBp.js → CdpTO1ew.js} +1 -1
  141. package/web/app/immutable/chunks/{pZsrsFnW.js → CeWlRIsm.js} +1 -1
  142. package/web/app/immutable/chunks/{CHLHWub0.js → CfCk_l9B.js} +1 -1
  143. package/web/app/immutable/chunks/{DgH7yAy-.js → Cfy5Crpr.js} +1 -1
  144. package/web/app/immutable/chunks/{DoIr8Q2r.js → Ch-pFfsN.js} +1 -1
  145. package/web/app/immutable/chunks/{SMT1sep4.js → CjCvg4fu.js} +1 -1
  146. package/web/app/immutable/chunks/{DgaiTQpw.js → CjK2zm52.js} +1 -1
  147. package/web/app/immutable/chunks/{qkmjEtXH.js → CkmjUBxn.js} +3 -3
  148. package/web/app/immutable/chunks/{BJuNVIII.js → CkrblKaH.js} +1 -1
  149. package/web/app/immutable/chunks/{gSg6l32T.js → CmdE1AJL.js} +1 -1
  150. package/web/app/immutable/chunks/{C44hzh9R.js → CntPxeXh.js} +1 -1
  151. package/web/app/immutable/chunks/{1KCpY35B.js → Co4Bm5eY.js} +1 -1
  152. package/web/app/immutable/chunks/{C_GpcLP2.js → CqlSBroo.js} +1 -1
  153. package/web/app/immutable/chunks/{B4mmdCiF.js → CqsFOLCu.js} +1 -1
  154. package/web/app/immutable/chunks/{xS3xfMki.js → Csv5_672.js} +1 -1
  155. package/web/app/immutable/chunks/{C-7W2F0B.js → CtawaW2N.js} +1 -1
  156. package/web/app/immutable/chunks/{D6GBnYDv.js → CtguhKZB.js} +1 -1
  157. package/web/app/immutable/chunks/{C-JwFHXS.js → CuAAvi1f.js} +1 -1
  158. package/web/app/immutable/chunks/{DHqMqA41.js → CvZrEuUX.js} +1 -1
  159. package/web/app/immutable/chunks/{BlyKuyB7.js → CwQIGTQ1.js} +1 -1
  160. package/web/app/immutable/chunks/{C7Uh4cHO.js → CxfmOiQr.js} +1 -1
  161. package/web/app/immutable/chunks/{DyiA0AJU.js → D-7b6BAb.js} +1 -1
  162. package/web/app/immutable/chunks/{B3fU6XQp.js → D-rGNJzU.js} +1 -1
  163. package/web/app/immutable/chunks/{P3O1Bi5N.js → D1FftGj7.js} +1 -1
  164. package/web/app/immutable/chunks/{YfYAjqUM.js → D283eGmG.js} +1 -1
  165. package/web/app/immutable/chunks/{l4TJFOXC.js → D3GrssRa.js} +1 -1
  166. package/web/app/immutable/chunks/{DJ2vnC9G.js → D4EwlENg.js} +1 -1
  167. package/web/app/immutable/chunks/{BDXSQt10.js → D4XPYll-.js} +2 -2
  168. package/web/app/immutable/chunks/{BDsVnMYl.js → D7VeTrYO.js} +1 -1
  169. package/web/app/immutable/chunks/{BkLJnbD1.js → D7vAVIvz.js} +1 -1
  170. package/web/app/immutable/chunks/{D85P44Dj.js → D8B7qxXm.js} +1 -1
  171. package/web/app/immutable/chunks/{B_3JIPw3.js → DBI3WymG.js} +1 -1
  172. package/web/app/immutable/chunks/{LNZr9DCJ.js → DHSWOw-U.js} +1 -1
  173. package/web/app/immutable/chunks/{C6GJZLOP.js → DHbv9I-C.js} +1 -1
  174. package/web/app/immutable/chunks/{D_otNUZh.js → DJk5np0g.js} +1 -1
  175. package/web/app/immutable/chunks/{D-ls8znw.js → DKIi_opT.js} +1 -1
  176. package/web/app/immutable/chunks/{DUXVcIKV.js → DLMaiw5B.js} +1 -1
  177. package/web/app/immutable/chunks/{5uDsFopc.js → DM4cCUDd.js} +1 -1
  178. package/web/app/immutable/chunks/{DXwcjaPR.js → DM81x_EL.js} +2 -2
  179. package/web/app/immutable/chunks/{H3ekn9Mt.js → DMdq0QC2.js} +1 -1
  180. package/web/app/immutable/chunks/{kFRDyP-N.js → DPF9_zKV.js} +1 -1
  181. package/web/app/immutable/chunks/{C6jYe9up.js → DPLDRqMC.js} +1 -1
  182. package/web/app/immutable/chunks/{BO3WriTy.js → DPbnmxjX.js} +1 -1
  183. package/web/app/immutable/chunks/{CBtQnhwT.js → DPztwkUP.js} +1 -1
  184. package/web/app/immutable/chunks/{BYC0ucSR.js → DQlLBrpj.js} +1 -1
  185. package/web/app/immutable/chunks/{mdoDOmuU.js → DQmW4_9G.js} +1 -1
  186. package/web/app/immutable/chunks/{DzfHkSZF.js → DS5B84mn.js} +1 -1
  187. package/web/app/immutable/chunks/{P-zm4ktU.js → DSvyONiq.js} +1 -1
  188. package/web/app/immutable/chunks/{jaSHlZjt.js → DT8FaJbg.js} +1 -1
  189. package/web/app/immutable/chunks/{CGG7txTQ.js → DTpQzThG.js} +1 -1
  190. package/web/app/immutable/chunks/{BTKPx9nP.js → DTzE7g9m.js} +3 -3
  191. package/web/app/immutable/chunks/{BIo9gpGl.js → DUT4xhYi.js} +1 -1
  192. package/web/app/immutable/chunks/{D6YX_GFv.js → DVok8lSR.js} +1 -1
  193. package/web/app/immutable/chunks/{Bl8fHOk-.js → DXQ7EI2S.js} +1 -1
  194. package/web/app/immutable/chunks/{CdvXSvOC.js → DX_ZPiRZ.js} +1 -1
  195. package/web/app/immutable/chunks/{DgIh2Fs6.js → DXf8KXiZ.js} +1 -1
  196. package/web/app/immutable/chunks/{COUB9dHY.js → DYGC3eZn.js} +1 -1
  197. package/web/app/immutable/chunks/{BrFnR1vI.js → DZbKPa1t.js} +1 -1
  198. package/web/app/immutable/chunks/{U6kzE96u.js → D_fLfdMn.js} +1 -1
  199. package/web/app/immutable/chunks/{PCtwJJ25.js → D_xvUCUD.js} +1 -1
  200. package/web/app/immutable/chunks/{DoA3JmdK.js → DbSttgXv.js} +1 -1
  201. package/web/app/immutable/chunks/{3rxHCGTW.js → DcZr-m_l.js} +1 -1
  202. package/web/app/immutable/chunks/{a-OtAcF_.js → Dec_LXa-.js} +3 -3
  203. package/web/app/immutable/chunks/{CqJcYBUx.js → DfXFG9So.js} +1 -1
  204. package/web/app/immutable/chunks/{B7ydANq7.js → Dfq_rEeO.js} +1 -1
  205. package/web/app/immutable/chunks/{BowQ7sBM.js → DgV330Oe.js} +1 -1
  206. package/web/app/immutable/chunks/{grQh-L5q.js → DgaQFJ1C.js} +2 -2
  207. package/web/app/immutable/chunks/{CYWgGrsf.js → Dh_eorhd.js} +1 -1
  208. package/web/app/immutable/chunks/{ChJ4msi3.js → Dhj-Oo-y.js} +1 -1
  209. package/web/app/immutable/chunks/{CBHXSekd.js → DiEy7mCR.js} +1 -1
  210. package/web/app/immutable/chunks/{F-NRzkEu.js → DiLFzwi3.js} +1 -1
  211. package/web/app/immutable/chunks/{Bb_mQye1.js → Div7CQPf.js} +1 -1
  212. package/web/app/immutable/chunks/{DK3AlKip.js → DjBxG6q0.js} +3 -3
  213. package/web/app/immutable/chunks/{D6hUzfgH.js → DjLLAN4K.js} +1 -1
  214. package/web/app/immutable/chunks/{o1gxvTJU.js → DjpjFygj.js} +1 -1
  215. package/web/app/immutable/chunks/{BifXEk-G.js → Dk0afiu6.js} +1 -1
  216. package/web/app/immutable/chunks/{BOsHJKjO.js → DkY0xIi7.js} +2 -2
  217. package/web/app/immutable/chunks/{CpV-ehZ5.js → DkYquFOp.js} +1 -1
  218. package/web/app/immutable/chunks/{DZBnfhEV.js → Dmy603At.js} +1 -1
  219. package/web/app/immutable/chunks/{DmQm2Dw6.js → DnUdAfCR.js} +1 -1
  220. package/web/app/immutable/chunks/{CFUDIGea.js → DopSRBlm.js} +1 -1
  221. package/web/app/immutable/chunks/{CQxAYjD7.js → DpMsJtM0.js} +1 -1
  222. package/web/app/immutable/chunks/{kZanyiqf.js → DpSAF6fh.js} +1 -1
  223. package/web/app/immutable/chunks/{XyC5Phh7.js → DpgIqMGp.js} +1 -1
  224. package/web/app/immutable/chunks/{aToNeEMa.js → DqPe5uyz.js} +1 -1
  225. package/web/app/immutable/chunks/{D_o67XD6.js → DtO0wAdA.js} +2 -2
  226. package/web/app/immutable/chunks/{Di9CSB6H.js → DtYDlbcb.js} +1 -1
  227. package/web/app/immutable/chunks/{Bw0E8D92.js → Dv6PZjTW.js} +1 -1
  228. package/web/app/immutable/chunks/{yqs-hTyP.js → DvwOszqf.js} +1 -1
  229. package/web/app/immutable/chunks/{Cin575hV.js → Dwb4ijU4.js} +1 -1
  230. package/web/app/immutable/chunks/{m8gDbIPC.js → DwhE2_yv.js} +2 -2
  231. package/web/app/immutable/chunks/{C1m4pSe1.js → DxrRvklK.js} +1 -1
  232. package/web/app/immutable/chunks/{D9JbOH_S.js → Dy7nbUgl.js} +1 -1
  233. package/web/app/immutable/chunks/{iykV4pvb.js → DyFc4NAd.js} +1 -1
  234. package/web/app/immutable/chunks/{DTutiDCZ.js → DzTe1W0Z.js} +1 -1
  235. package/web/app/immutable/chunks/{CFtfWLBC.js → Dzl5aoA8.js} +1 -1
  236. package/web/app/immutable/chunks/{CCEQVSjx.js → G4lPpFfF.js} +1 -1
  237. package/web/app/immutable/chunks/{BL39LNxU.js → IdqO6uHC.js} +1 -1
  238. package/web/app/immutable/chunks/{B5bnHhgO.js → J9vGyyn3.js} +1 -1
  239. package/web/app/immutable/chunks/{DbCeN0Lt.js → KImhPY_I.js} +1 -1
  240. package/web/app/immutable/chunks/{YbP7yBkb.js → LFlj1pUW.js} +1 -1
  241. package/web/app/immutable/chunks/{dqvdjjXR.js → LqBZITyo.js} +3 -3
  242. package/web/app/immutable/chunks/{4r36FIB7.js → MujvTDgv.js} +1 -1
  243. package/web/app/immutable/chunks/{QjNLPDal.js → Mw2Z7eLx.js} +1 -1
  244. package/web/app/immutable/chunks/{DyT0mOdr.js → NUgfgzzR.js} +4 -4
  245. package/web/app/immutable/chunks/{DfdqseMI.js → NzPgPyYa.js} +1 -1
  246. package/web/app/immutable/chunks/{CJZ6Gu1k.js → Ow3KARwj.js} +1 -1
  247. package/web/app/immutable/chunks/{DtBx3nLm.js → PD1TeEVF.js} +1 -1
  248. package/web/app/immutable/chunks/{ChbTF48b.js → PqstdoKv.js} +1 -1
  249. package/web/app/immutable/chunks/{BK0rB8kZ.js → Pqx84Da9.js} +1 -1
  250. package/web/app/immutable/chunks/{8TUe2kcz.js → PtMxuYy8.js} +1 -1
  251. package/web/app/immutable/chunks/Q-Hp56ht.js +6 -0
  252. package/web/app/immutable/chunks/{BjWOzuMm.js → QSHJFaU7.js} +4 -4
  253. package/web/app/immutable/chunks/{zrdFYBgX.js → Qzhec1TY.js} +1 -1
  254. package/web/app/immutable/chunks/{Cr9glZDh.js → Ro7n3ECj.js} +1 -1
  255. package/web/app/immutable/chunks/{BReER1n3.js → THm8CnE2.js} +1 -1
  256. package/web/app/immutable/chunks/{S7_elIn6.js → TSQNyjhg.js} +1 -1
  257. package/web/app/immutable/chunks/{C-zY3GF-.js → UHs-xfbd.js} +1 -1
  258. package/web/app/immutable/chunks/{D0Ayz4Dm.js → Ug7t_gUQ.js} +1 -1
  259. package/web/app/immutable/chunks/{DQiheiDa.js → Wg-KBN6b.js} +48 -48
  260. package/web/app/immutable/chunks/{BsknvdQb.js → XmeiGQiO.js} +1 -1
  261. package/web/app/immutable/chunks/{COIbDYtT.js → Y4Eu_VSz.js} +3 -3
  262. package/web/app/immutable/chunks/{BQg4hK6W.js → Zg9SWWIQ.js} +1 -1
  263. package/web/app/immutable/chunks/{Cwvt_P5T.js → a0CN3en2.js} +1 -1
  264. package/web/app/immutable/chunks/{njprJ3WZ.js → aqQCGQpk.js} +1 -1
  265. package/web/app/immutable/chunks/bzfuMuVY.js +1 -0
  266. package/web/app/immutable/chunks/{BHni5QqW.js → cP-p0FYL.js} +1 -1
  267. package/web/app/immutable/chunks/{DMqmqAT4.js → dIyiVmNx.js} +1 -1
  268. package/web/app/immutable/chunks/{DVNEvaXi.js → fFnyP4ej.js} +1 -1
  269. package/web/app/immutable/chunks/{eZSKfAFO.js → gY6D1J3N.js} +1 -1
  270. package/web/app/immutable/chunks/{CyyqjEBc.js → hCk1hXVJ.js} +1 -1
  271. package/web/app/immutable/chunks/{DcNvIFJV.js → i0zaZVKI.js} +1 -1
  272. package/web/app/immutable/chunks/{CBRC7st2.js → i_Orzl3O.js} +2 -2
  273. package/web/app/immutable/chunks/{BevEoYEw.js → j9buSIht.js} +1 -1
  274. package/web/app/immutable/chunks/{BLYFfqzj.js → jUAybD8G.js} +1 -1
  275. package/web/app/immutable/chunks/{zjXa9LeK.js → jsYE2rXv.js} +1 -1
  276. package/web/app/immutable/chunks/{fXwGuYzr.js → kPyUfani.js} +1 -1
  277. package/web/app/immutable/chunks/{B0O5mhBM.js → mnnjJoDI.js} +1 -1
  278. package/web/app/immutable/chunks/{DQAJLaJ3.js → nHwpsxWy.js} +1 -1
  279. package/web/app/immutable/chunks/{y-lOZYhA.js → p0fS0rJD.js} +1 -1
  280. package/web/app/immutable/chunks/{BY16_RoT.js → q9cUG1dc.js} +1 -1
  281. package/web/app/immutable/chunks/{CYYyuCBb.js → qu0QpfUw.js} +1 -1
  282. package/web/app/immutable/chunks/{CQ6jYKtE.js → reP1x2hx.js} +1 -1
  283. package/web/app/immutable/chunks/{mF8ZdCMN.js → thdnIk1K.js} +1 -1
  284. package/web/app/immutable/chunks/tw85acZN.js +177 -0
  285. package/web/app/immutable/chunks/{BBiqqybB.js → wfSdTH77.js} +1 -1
  286. package/web/app/immutable/chunks/{Dtveg46I.js → wqzy1XTy.js} +1 -1
  287. package/web/app/immutable/chunks/{DCTwUEO7.js → xJBWkpxc.js} +1 -1
  288. package/web/app/immutable/chunks/{1Wzdy1K8.js → z1Wv0MVw.js} +6 -6
  289. package/web/app/immutable/chunks/{DinWeICM.js → zK-Wn6qa.js} +1 -1
  290. package/web/app/immutable/chunks/{C7TJE1vk.js → zaxjdjiF.js} +1 -1
  291. package/web/app/immutable/chunks/{DkkEizQf.js → zzl2tBQf.js} +1 -1
  292. package/web/app/immutable/entry/{app.B-3yrq60.js → app.CVv4zmJ_.js} +3 -3
  293. package/web/app/immutable/entry/start.CiYvv3YQ.js +1 -0
  294. package/web/app/immutable/nodes/{0.Dr7z-ndg.js → 0.Cb_UZQTB.js} +1 -1
  295. package/web/app/immutable/nodes/{1.DszvgcVt.js → 1.B0kBQ96l.js} +1 -1
  296. package/web/app/immutable/nodes/{10.mpjVYgcT.js → 10.CGIePvim.js} +5 -5
  297. package/web/app/immutable/nodes/{11.d9OIWvmS.js → 11.DcWpM7Yi.js} +1 -1
  298. package/web/app/immutable/nodes/{12.hNKUSgvY.js → 12.S6PrlAwz.js} +1 -1
  299. package/web/app/immutable/nodes/{13.NTcuwB8X.js → 13.Bs_o-uwb.js} +1 -1
  300. package/web/app/immutable/nodes/{14.C4hEzDzc.js → 14.CIZDoMeA.js} +3 -3
  301. package/web/app/immutable/nodes/{15.BGv16BME.js → 15.DDtIC3Hq.js} +1 -1
  302. package/web/app/immutable/nodes/{16.BLKEYdtz.js → 16.BgJmXimX.js} +1 -1
  303. package/web/app/immutable/nodes/{17.Cw1VnAlL.js → 17.BWRlIYI7.js} +1 -1
  304. package/web/app/immutable/nodes/{18.BC2tc74_.js → 18.BV2orlA1.js} +1 -1
  305. package/web/app/immutable/nodes/{19.BLf_cCOa.js → 19.B1-CCqHR.js} +2 -2
  306. package/web/app/immutable/nodes/{2.DT49t-u_.js → 2.CAFqSYBH.js} +4 -4
  307. package/web/app/immutable/nodes/{20.CAN0HPlm.js → 20.DLg8hCzP.js} +1 -1
  308. package/web/app/immutable/nodes/{3.CHLlivF3.js → 3.CNcHr_kX.js} +1 -1
  309. package/web/app/immutable/nodes/{4.D2tKSs2v.js → 4.BzoidTar.js} +1 -1
  310. package/web/app/immutable/nodes/{5.B9Lx7aa1.js → 5.vAApKfTG.js} +1 -1
  311. package/web/app/immutable/nodes/{6.BXEdmXk5.js → 6.D2VrWob4.js} +1 -1
  312. package/web/app/immutable/nodes/{7.Cg1blkaN.js → 7.cIi2v_en.js} +1 -1
  313. package/web/app/immutable/nodes/{8.B5g4h2T5.js → 8.DVH30a1F.js} +1 -1
  314. package/web/app/immutable/nodes/{9.CQeYWw6-.js → 9.AUZxhWIX.js} +4 -4
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +49 -49
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/B6sO6A0G.js +0 -1
  319. package/web/app/immutable/chunks/BSev9KPj.js +0 -1
  320. package/web/app/immutable/chunks/Bv8Gaorn.js +0 -1
  321. package/web/app/immutable/chunks/CAEqRKhy.js +0 -1
  322. package/web/app/immutable/chunks/Dr4PDf9D.js +0 -6
  323. package/web/app/immutable/chunks/EZ4dI6hS.js +0 -177
  324. package/web/app/immutable/entry/start.DZZRsHd3.js +0 -1
@@ -1 +1 @@
1
- import{Jr as r,b5 as n}from"./NgEAPl8f.js";import{r as a}from"./DZBnfhEV.js";import{bm as o}from"./Bv8Gaorn.js";const l=r.createSelector(e=>e.userPreferences.agentRulesEditor),S=r.createSelector(e=>{const t=l.select(e);return t.content.trim()!==t.originalContent.trim()}),d=r.createSelector(e=>e.userPreferences.agentFontStyle);r.createSelector(e=>{switch(e.userPreferences.agentFontStyle){case"sans":return"Sans-serif";case"monospace":return"Monospace";default:return"Sans-serif"}});const P=r.createSelector(e=>e.userPreferences.agentFontStyle==="monospace"),h=r.createSelector(e=>e.userPreferences.updateChannel),p=r.createSelector(e=>e.userPreferences.spellcheckEnabled),b=r.createSelector(e=>e.userPreferences.zoomFactor),m=r.createSelector(e=>e.userPreferences.showArchived),y=r.createSelector(e=>e.userPreferences.groupByRepo),g=r.createSelector(e=>e.userPreferences.hasCompletedProviderSetup),E=r.createSelector(e=>e.userPreferences?.showReasoningBlocks??!1),F=r.createSelector(e=>e.userPreferences?.chatAuroraEnabled??!0),k=r.createSelector(e=>e.userPreferences?.chatContentWidth??"full"),v=r.createSelector(e=>e.userPreferences?.collapseToolRuns??!0),A=r.createSelector(e=>e.userPreferences?.shellTransparencyEnabled??!0),C=r.createSelector(e=>e.userPreferences?.menuBarAutoHide??!1),R=r.createSelector(e=>e.userPreferences?.reduceMotionOnBattery??!1),L=r.createSelector(e=>e.userPreferences?.pauseAnimationsWhenUnfocused??!1),M=r.createSelector(e=>e.userPreferences?.labsSettingsVisible??!1),T=r.createSelector(e=>e.userPreferences?.labsMultiplayerEnabled??!0),w=r.createSelector(e=>e.userPreferences?.preferencesHydrated===!0),D=r.createSelector(e=>e.userPreferences?.nativeReviewEnabled===!0),B=r.createSelector(e=>e.userPreferences?.labsRemoteAgentsEnabled===!0),N=r.createSelector(e=>e.userPreferences?.labsPlainFolderWorkspacesEnabled===!0),O=r.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0),W=r.createSelector(e=>e.userPreferences?.labsSshMachineSetupEnabled===!0),H=r.createSelector(e=>1/e.userPreferences.zoomFactor),_=r.createSelector(e=>e.userPreferences.noteFontStyle);r.createSelector(e=>{switch(e.userPreferences.noteFontStyle){case"sans":return"Sans-serif";case"serif":return"Serif";case"monospace":return"Monospace";default:return"Sans-serif"}});const U=r.createSelector(e=>e.userPreferences.noteFontStyle==="monospace"),V=r.createSelector(e=>e.userPreferences.codeFontFamily),G=r.createSelector(e=>{const{codeFontFamily:t}=e.userPreferences;return t==="system-default"?n:`'${t}', monospace`});r.createSelector(e=>{const{codeFontFamily:t}=e.userPreferences;return t==="system-default"?o.settings_fonts_systemDefault_label():t});const I=r.createSelector(e=>{const{systemFonts:t}=e.userPreferences,c=[{value:"system-default",get label(){return o.settings_fonts_systemDefault_label()},fontFamily:n}];for(const s of t)c.push({value:s,label:s,fontFamily:`'${s}', monospace`});return c}),z=r.createSelector(e=>e.userPreferences.enabled),x=r.createSelector(e=>e.userPreferences.soundEnabled),J=r.createSelector(e=>e.userPreferences.soundOnlyWhenUnfocused),$=r.createSelector(e=>e.userPreferences.volume),j=r.createSelector(e=>({editId:e.userPreferences.pendingNotificationVolumeEditId,hydrationEpoch:e.userPreferences.notificationVolumeHydrationEpoch})),q=r.createSelector(e=>e.userPreferences.activityLogPresets),K=r.createSelector(e=>e.userPreferences.languagePreference),Q=r.createSelector(e=>e.userPreferences?.githubLinkDefaultAction??"show-choices"),Y=r.createSelector(e=>e.userPreferences.shortcutOverrides),Z=r.createSelector(e=>a(e.userPreferences.languagePreference)),X=r.createSelector(e=>e.userPreferences.dockShortcuts??null),ee=r.createSelector(e=>e.userPreferences.dockShortcutPending??!1),re=r.createSelector(e=>e.userPreferences.dockShortcutCaptureToken??null),te=r.createSelector(e=>e.userPreferences.dockShortcutError??null);export{K as A,C as B,D as C,_ as D,z as E,$ as F,j as G,L as H,R as I,Z as J,A as K,Y as L,m as M,E as N,x as O,J as P,p as Q,h as R,w as S,b as T,d as a,l as b,S as c,F as d,k as e,V as f,G as g,I as h,v as i,H as j,re as k,te as l,ee as m,X as n,Q as o,y as p,g as q,P as r,q as s,U as t,T as u,N as v,B as w,M as x,W as y,O as z};
1
+ import{Jr as r,b5 as n}from"./BPo1GPk4.js";import{r as a}from"./Dmy603At.js";import{bm as o}from"./1KDVFF23.js";const l=r.createSelector(e=>e.userPreferences.agentRulesEditor),S=r.createSelector(e=>{const t=l.select(e);return t.content.trim()!==t.originalContent.trim()}),d=r.createSelector(e=>e.userPreferences.agentFontStyle);r.createSelector(e=>{switch(e.userPreferences.agentFontStyle){case"sans":return"Sans-serif";case"monospace":return"Monospace";default:return"Sans-serif"}});const P=r.createSelector(e=>e.userPreferences.agentFontStyle==="monospace"),h=r.createSelector(e=>e.userPreferences.updateChannel),p=r.createSelector(e=>e.userPreferences.spellcheckEnabled),b=r.createSelector(e=>e.userPreferences.zoomFactor),m=r.createSelector(e=>e.userPreferences.showArchived),y=r.createSelector(e=>e.userPreferences.groupByRepo),g=r.createSelector(e=>e.userPreferences.hasCompletedProviderSetup),E=r.createSelector(e=>e.userPreferences?.showReasoningBlocks??!1),F=r.createSelector(e=>e.userPreferences?.chatAuroraEnabled??!0),k=r.createSelector(e=>e.userPreferences?.chatContentWidth??"full"),v=r.createSelector(e=>e.userPreferences?.collapseToolRuns??!0),A=r.createSelector(e=>e.userPreferences?.shellTransparencyEnabled??!0),C=r.createSelector(e=>e.userPreferences?.menuBarAutoHide??!1),R=r.createSelector(e=>e.userPreferences?.reduceMotionOnBattery??!1),L=r.createSelector(e=>e.userPreferences?.pauseAnimationsWhenUnfocused??!1),M=r.createSelector(e=>e.userPreferences?.labsSettingsVisible??!1),T=r.createSelector(e=>e.userPreferences?.labsMultiplayerEnabled??!0),w=r.createSelector(e=>e.userPreferences?.preferencesHydrated===!0),D=r.createSelector(e=>e.userPreferences?.nativeReviewEnabled===!0),B=r.createSelector(e=>e.userPreferences?.labsRemoteAgentsEnabled===!0),N=r.createSelector(e=>e.userPreferences?.labsPlainFolderWorkspacesEnabled===!0),O=r.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0),W=r.createSelector(e=>e.userPreferences?.labsSshMachineSetupEnabled===!0),H=r.createSelector(e=>1/e.userPreferences.zoomFactor),_=r.createSelector(e=>e.userPreferences.noteFontStyle);r.createSelector(e=>{switch(e.userPreferences.noteFontStyle){case"sans":return"Sans-serif";case"serif":return"Serif";case"monospace":return"Monospace";default:return"Sans-serif"}});const U=r.createSelector(e=>e.userPreferences.noteFontStyle==="monospace"),V=r.createSelector(e=>e.userPreferences.codeFontFamily),G=r.createSelector(e=>{const{codeFontFamily:t}=e.userPreferences;return t==="system-default"?n:`'${t}', monospace`});r.createSelector(e=>{const{codeFontFamily:t}=e.userPreferences;return t==="system-default"?o.settings_fonts_systemDefault_label():t});const I=r.createSelector(e=>{const{systemFonts:t}=e.userPreferences,c=[{value:"system-default",get label(){return o.settings_fonts_systemDefault_label()},fontFamily:n}];for(const s of t)c.push({value:s,label:s,fontFamily:`'${s}', monospace`});return c}),z=r.createSelector(e=>e.userPreferences.enabled),x=r.createSelector(e=>e.userPreferences.soundEnabled),J=r.createSelector(e=>e.userPreferences.soundOnlyWhenUnfocused),$=r.createSelector(e=>e.userPreferences.volume),j=r.createSelector(e=>({editId:e.userPreferences.pendingNotificationVolumeEditId,hydrationEpoch:e.userPreferences.notificationVolumeHydrationEpoch})),q=r.createSelector(e=>e.userPreferences.activityLogPresets),K=r.createSelector(e=>e.userPreferences.languagePreference),Q=r.createSelector(e=>e.userPreferences?.githubLinkDefaultAction??"show-choices"),Y=r.createSelector(e=>e.userPreferences.shortcutOverrides),Z=r.createSelector(e=>a(e.userPreferences.languagePreference)),X=r.createSelector(e=>e.userPreferences.dockShortcuts??null),ee=r.createSelector(e=>e.userPreferences.dockShortcutPending??!1),re=r.createSelector(e=>e.userPreferences.dockShortcutCaptureToken??null),te=r.createSelector(e=>e.userPreferences.dockShortcutError??null);export{K as A,C as B,D as C,_ as D,z as E,$ as F,j as G,L as H,R as I,Z as J,A as K,Y as L,m as M,E as N,x as O,J as P,p as Q,h as R,w as S,b as T,d as a,l as b,S as c,F as d,k as e,V as f,G as g,I as h,v as i,H as j,re as k,te as l,ee as m,X as n,Q as o,y as p,g as q,P as r,q as s,U as t,T as u,N as v,B as w,M as x,W as y,O as z};
@@ -1 +1 @@
1
- import{D as O,a as V,d as z}from"./CQcEqK4G.js";import{K as G,T as F,_ as J,d as X,f as Q,X as Y,Q as Z,a0 as q,n as P,e as tt,c as et,m as U,h as N,l as E}from"./8TUe2kcz.js";import{o as u,b as _,s as r,n as h,l as M,_ as x,c as B,u as nt}from"./CIyUrgF0.js";import{I as it}from"./Bqd7fdCF.js";const at="/app/immutable/assets/PatrickHand-Regular.CyLOmwMC.ttf";let D=null,R=null;const W=O.badgeFontFamily;function K(){return R??W}function L(){return D||(D=(async()=>{let t;try{const i=typeof document<"u"?document.fonts:globalThis.fonts;if(!i||typeof FontFace>"u")throw new Error("font-api-unavailable");const a=await Promise.race([new FontFace("Intent Annotation Hand",`url("${at}")`,{style:"normal",weight:"400",display:"block"}).load(),new Promise((l,o)=>{t=setTimeout(()=>o(new Error("font-load-timeout")),2e3)})]);i.add(a),R=O.fontFamily}catch{R=W}finally{clearTimeout(t)}})(),D)}let k=null;function ot(t){const i=G(t);if(t.kind!=="text"||t.style==="sticky"||(k||(k=typeof OffscreenCanvas<"u"?new OffscreenCanvas(1,1).getContext("2d"):typeof document<"u"?document.createElement("canvas").getContext("2d"):null),!k))return i;k.font=`${t.fontSize}px ${K()}`,k.textAlign="left",k.textBaseline="top",k.letterSpacing="0px",k.wordSpacing="0px";let a=1/0,l=1/0,o=-1/0,e=-1/0;const{lines:f,lineHeight:c}=F(t);for(const[s,p]of f.entries()){if(!p.trim())continue;const g=k.measureText(p),b=s*c,m=[-g.actualBoundingBoxLeft,b-g.actualBoundingBoxAscent,g.actualBoundingBoxRight,b+g.actualBoundingBoxDescent];if(!m.every(Number.isFinite))return i;a=Math.min(a,m[0]),l=Math.min(l,m[1]),o=Math.max(o,m[2]),e=Math.max(e,m[3])}if(!(o>a&&e>l))return i;const n=Math.max(1,t.fontSize/24);return{x:t.x+a-n,y:t.y+l-n,w:o-a+2*n,h:e-l+2*n}}const C=16e3;function rt(t,i){const l=t.length*2,o=new ArrayBuffer(44+l),e=new DataView(o),f=(n,s)=>{for(let p=0;p<s.length;p+=1)e.setUint8(n+p,s.charCodeAt(p))};f(0,"RIFF"),e.setUint32(4,36+l,!0),f(8,"WAVE"),f(12,"fmt "),e.setUint32(16,16,!0),e.setUint16(20,1,!0),e.setUint16(22,1,!0),e.setUint32(24,i,!0),e.setUint32(28,i*2,!0),e.setUint16(32,2,!0),e.setUint16(34,16,!0),f(36,"data"),e.setUint32(40,l,!0);let c=44;for(let n=0;n<t.length;n+=1){const s=Math.max(-1,Math.min(1,t[n]));e.setInt16(c,s<0?s*32768:s*32767,!0),c+=2}return o}function st(t){const i=new Float32Array(t.length);for(let a=0;a<t.numberOfChannels;a+=1){const l=t.getChannelData(a);for(let o=0;o<l.length;o+=1)i[o]+=l[o]/t.numberOfChannels}return i}async function gt(t){const i=new AudioContext;try{const a=await i.decodeAudioData(await t.arrayBuffer()),l=Math.max(1,Math.ceil(a.length*C/a.sampleRate)),o=new OfflineAudioContext(1,l,C),e=o.createBufferSource();e.buffer=a,e.connect(o.destination),e.start();const f=await o.startRendering();return rt(st(f),C)}finally{await i.close().catch(()=>{})}}function $(t){const i=new Uint8Array(t),a=32768;let l="";for(let o=0;o<i.length;o+=a)l+=String.fromCharCode(...i.subarray(o,o+a));return btoa(l)}const d={...O,get fontFamily(){return K()},blurRadius:X};function H(t,i,a=0,l){const o=t.crop??{x:0,y:0,w:i.width,h:i.height},e=Math.max(1,Math.max(i.width,i.height)/1440),f=Math.min(d.badgeRadius*e,o.w/2,o.h/2);return Y(t,i).filter(c=>i.kind==="screenshot"||a>=c.mark.atMs&&a<c.visibleUntilMs).flatMap(({n:c,mark:n})=>{const s=i.kind==="recording"?Z(n.geometry,q(i,n),a):n.geometry;if(!s)return[];const p=ot(s),g=z(p,o,e,f);return[...n.id===l&&s.kind==="text"?[]:[{kind:"geometry",geometry:s,unit:e}],...d.showNumbers?[{kind:"badge",...g,radius:f,label:String(c),unit:e}]:[]]})}function j(t,i){t.save(),t.letterSpacing="0px",t.wordSpacing="0px",t.strokeStyle=d.accent,t.fillStyle=d.accent,t.lineCap="round",t.lineJoin="round";for(const a of i){const l=a.unit??1,o=(c,n)=>{t.strokeStyle=d.halo,t.lineWidth=c+d.haloWidth*l,n?t.stroke(n):t.stroke(),t.strokeStyle=d.accent,t.lineWidth=c,n?t.stroke(n):t.stroke()};if(a.kind==="badge"){t.fillStyle=d.paper,t.beginPath(),t.arc(a.x,a.y,a.radius,0,Math.PI*2),t.fill(),t.strokeStyle=d.accent,t.lineWidth=d.badgeOutline*l,t.stroke(),t.fillStyle=d.ink,t.font=`600 ${a.radius*d.badgeTextScale}px ${d.badgeFontFamily}`,t.textAlign="center",t.textBaseline="middle",t.fillText(a.label,a.x,a.y);continue}const e=a.geometry;t.fillStyle=d.accent;const f=(e.kind==="path"?d.pen:d.stroke)*l;if(e.kind==="rect")t.beginPath(),t.rect(e.x,e.y,e.w,e.h),o(f);else if(e.kind==="text"){const c=F(e);t.fillStyle=d.accent,t.textAlign="left",t.textBaseline="top",t.font=`${e.fontSize}px ${d.fontFamily}`,c.lines.forEach((n,s)=>{const p=e.x+c.padding,g=e.y+c.padding+s*c.lineHeight;t.strokeStyle=d.halo,t.lineWidth=d.haloWidth*l;const b=e.style==="sticky"?c.width-2*c.padding:void 0;t.strokeText(n,p,g,b),t.fillText(n,p,g,b)})}else if(e.kind==="point")t.beginPath(),t.arc(e.x,e.y,Q,0,Math.PI*2),o(f);else if(e.kind==="path")o(f,new Path2D(V(e.points)));else{const c=[e.from,e.to];if(t.beginPath(),c.forEach((n,s)=>s?t.lineTo(n.x,n.y):t.moveTo(n.x,n.y)),e.kind==="arrow"){const n=Math.atan2(e.to.y-e.from.y,e.to.x-e.from.x),s=d.arrowHead*l;t.moveTo(e.to.x-s*Math.cos(n-d.arrowSpread),e.to.y-s*Math.sin(n-d.arrowSpread)),t.lineTo(e.to.x,e.to.y),t.lineTo(e.to.x-s*Math.cos(n+d.arrowSpread),e.to.y-s*Math.sin(n+d.arrowSpread))}o(f)}}t.restore()}function v(t,i){const a=new OffscreenCanvas(Math.max(1,Math.round(t)),Math.max(1,Math.round(i))),l=a.getContext("2d");if(!l)throw new Error("capture-render-unavailable");return{image:a,context:l}}async function pt(t,i,a){if(t.visuals!=="clean")throw new Error("legacy-baked-marks");await L();const{image:l,context:o}=v(t.width,t.height);return j(o,H(i,t,a)),$(await(await l.convertToBlob({type:"image/png"})).arrayBuffer())}async function yt(t,i,a,l){const o=J(i,t,null);if(t.kind!=="screenshot"||o.errors.length)throw new Error(o.errors[0]??"not-a-screenshot");if(t.visuals!=="clean")throw new Error("legacy-baked-marks");await L();const e=Uint8Array.from(atob(a.base64),c=>c.charCodeAt(0)),f=await createImageBitmap(new Blob([e],{type:a.mimeType}));try{if(f.width!==t.width||f.height!==t.height)throw new Error("stale-source-pixels");const c=v(t.width,t.height);if(c.context.drawImage(f,0,0),i.blurRegions.length||i.blurStrokes?.length){const g=v(t.width,t.height);g.context.fillStyle="#000000",g.context.fillRect(0,0,t.width,t.height);const b=`blur(${d.blurRadius}px)`;if(g.context.filter=b,g.context.filter!==b)throw new Error("capture-blur-unavailable");g.context.drawImage(f,0,0);const m=v(t.width,t.height);m.context.fillStyle="#ffffff",m.context.strokeStyle="#ffffff",m.context.lineCap="round",m.context.lineJoin="round";for(const y of i.blurRegions)m.context.fillRect(y.x,y.y,y.w,y.h);for(const y of i.blurStrokes??[]){const S=y.points.filter((I,A)=>A===0||I.x!==y.points[A-1].x||I.y!==y.points[A-1].y);if(m.context.beginPath(),S.length===1){const I=S[0];m.context.arc(I.x,I.y,y.radius,0,Math.PI*2),m.context.fill()}else{m.context.lineWidth=y.radius*2,m.context.moveTo(S[0].x,S[0].y);for(const I of S.slice(1))m.context.lineTo(I.x,I.y);m.context.stroke()}}const T=v(t.width,t.height);T.context.drawImage(g.image,0,0),T.context.globalCompositeOperation="destination-in",T.context.drawImage(m.image,0,0),c.context.drawImage(T.image,0,0)}const n=i.crop??{x:0,y:0,w:t.width,h:t.height},s=v(n.w,n.h);s.context.drawImage(c.image,n.x,n.y,n.w,n.h,0,0,s.image.width,s.image.height),s.context.scale(s.image.width/n.w,s.image.height/n.h),s.context.translate(-n.x,-n.y),j(s.context,H(i,t,0,l?.hiddenTextMarkId));const p=await s.image.convertToBlob({type:"image/png"});return{data:$(await p.arrayBuffer()),mimeType:"image/png",width:s.image.width,height:s.image.height}}finally{f.close()}}const kt=u({outputVersion:M(tt),jobId:r().uuid(),media:P,layers:_(u({atMs:h().finite().nonnegative(),endMs:h().finite().nonnegative(),png:r().min(1).max(48*1024*1024)}).strict()).max(1e4)}).strict(),wt=u({jobId:r().uuid(),media:P,locale:r().min(1).max(80).optional()}).strict(),lt=u({sourceId:r().min(1),sourceRevision:h().int().nonnegative(),durationMs:h().finite().positive().max(120001),intervalMs:M(50),peaks:_(h().finite().min(0).max(1)).max(2401)}).strict().refine(t=>t.peaks.length===Math.ceil(t.durationMs/t.intervalMs),"Incomplete waveform");u({jobId:r().uuid(),media:P}).strict();u({sourceId:r().min(1),sourceRevision:h().int().nonnegative(),trackCount:h().int().nonnegative().max(128),populatedTrackCount:h().int().nonnegative().max(128)}).strict().refine(t=>t.populatedTrackCount<=t.trackCount);const xt=it.DOCK_CAPTURE_EDITOR,w=r().min(1).max(200),ct=u({id:w,tool:x(et),atMs:h().finite().min(0).max(1440*60*1e3).nullable(),label:r().max(200).optional()}).strict();u({kind:x(["recording","screenshot"]),workspaceId:w,agentId:w,attachmentId:w,sourceRevision:r().min(1).max(512),attachmentPath:r().min(1).max(1024),title:r().max(200),durationMs:h().finite().min(0).max(1440*60*1e3).optional(),width:h().int().positive().max(32768).optional(),height:h().int().positive().max(32768).optional(),marks:_(ct).max(500),provenance:u({captureApi:r().max(100).optional(),hasMicAudio:B().optional(),visuals:x(["clean","baked-marks"])}).strict(),source:E.optional(),originalSource:E.optional(),saved:N.nullable().optional(),transcript:U.nullable().optional(),holdToken:r().uuid().optional()}).strict().refine(t=>!t.source||t.source.path===t.attachmentPath&&t.source.attachmentId===t.attachmentId&&t.source.kind===t.kind,"Source does not match the attachment").refine(t=>!t.saved||!!t.source&&t.saved.sourceId===t.source.id&&t.saved.sourceRevision===t.source.revision,"Edit does not match the source").refine(t=>!t.originalSource||t.source?.kind==="screenshot"&&t.originalSource.kind==="screenshot"&&t.originalSource.id!==t.source.id,"Original source does not precede this source");u({openId:r().uuid(),intent:M("attach").optional()}).strict();u({openId:r().uuid(),accept:B()}).strict();u({token:r().uuid(),hide:M(!0).optional()}).strict();u({openId:r().uuid(),requestId:r().uuid()}).strict();u({requestId:r().uuid(),result:x(["saved","stale-source","revision-conflict","failed"]),saved:N.optional()}).strict().refine(t=>t.result==="saved"==!!t.saved,"Saved edit missing");u({pair:u({workspaceId:r().min(1).max(200),agentId:r().min(1).max(200)}).strict(),sourceId:r().min(1).max(512),sourceRevision:h().int().nonnegative(),transcript:U}).strict();nt([u({requestId:r().uuid(),ok:M(!0),source:E}).strict(),u({requestId:r().uuid(),ok:M(!1),error:x(["cancelled","permission","failed"])}).strict()]);const dt=2e4;u({openId:r().uuid(),markId:r().min(1).max(512),generation:h().int().nonnegative(),phase:x(["start","stop"])}).strict();u({requestId:r().uuid(),generation:h().int().nonnegative(),text:r().max(dt),final:B(),error:x(["busy","unavailable","failed","permission"]).optional()}).strict().refine(t=>!t.error||t.final,"An error is final");u({pair:u({workspaceId:r().min(1).max(200),agentId:r().min(1).max(200)}).strict(),sourceId:r().min(1).max(512),sourceRevision:h().int().nonnegative(),waveform:lt}).strict();const bt=u({requestId:r().uuid(),openId:w,pair:u({workspaceId:w,agentId:w}).strict(),kind:x(["screenshot","recording"]),attachmentId:w,sourceId:w.optional(),sourceRevision:h().int().nonnegative().optional(),expectedEditRevision:h().int().nonnegative().optional()}).strict();u({requestId:r().uuid(),result:x(["deleted","stale-source","failed"])}).strict();const It=u({endedOpenId:r().uuid()}).strict();export{xt as D,d as a,dt as b,bt as c,It as d,kt as e,wt as f,$ as g,gt as h,ot as i,K as j,L as k,H as l,pt as m,j as p,yt as r};
1
+ import{D as O,a as V,d as z}from"./CQcEqK4G.js";import{K as G,T as F,_ as J,d as X,f as Q,X as Y,Q as Z,a0 as q,n as P,e as tt,c as et,m as U,h as N,l as E}from"./PtMxuYy8.js";import{o as u,b as _,s as r,n as h,l as M,_ as x,c as B,u as nt}from"./CIyUrgF0.js";import{I as it}from"./Bqd7fdCF.js";const at="/app/immutable/assets/PatrickHand-Regular.CyLOmwMC.ttf";let D=null,R=null;const W=O.badgeFontFamily;function K(){return R??W}function L(){return D||(D=(async()=>{let t;try{const i=typeof document<"u"?document.fonts:globalThis.fonts;if(!i||typeof FontFace>"u")throw new Error("font-api-unavailable");const a=await Promise.race([new FontFace("Intent Annotation Hand",`url("${at}")`,{style:"normal",weight:"400",display:"block"}).load(),new Promise((l,o)=>{t=setTimeout(()=>o(new Error("font-load-timeout")),2e3)})]);i.add(a),R=O.fontFamily}catch{R=W}finally{clearTimeout(t)}})(),D)}let k=null;function ot(t){const i=G(t);if(t.kind!=="text"||t.style==="sticky"||(k||(k=typeof OffscreenCanvas<"u"?new OffscreenCanvas(1,1).getContext("2d"):typeof document<"u"?document.createElement("canvas").getContext("2d"):null),!k))return i;k.font=`${t.fontSize}px ${K()}`,k.textAlign="left",k.textBaseline="top",k.letterSpacing="0px",k.wordSpacing="0px";let a=1/0,l=1/0,o=-1/0,e=-1/0;const{lines:f,lineHeight:c}=F(t);for(const[s,p]of f.entries()){if(!p.trim())continue;const g=k.measureText(p),b=s*c,m=[-g.actualBoundingBoxLeft,b-g.actualBoundingBoxAscent,g.actualBoundingBoxRight,b+g.actualBoundingBoxDescent];if(!m.every(Number.isFinite))return i;a=Math.min(a,m[0]),l=Math.min(l,m[1]),o=Math.max(o,m[2]),e=Math.max(e,m[3])}if(!(o>a&&e>l))return i;const n=Math.max(1,t.fontSize/24);return{x:t.x+a-n,y:t.y+l-n,w:o-a+2*n,h:e-l+2*n}}const C=16e3;function rt(t,i){const l=t.length*2,o=new ArrayBuffer(44+l),e=new DataView(o),f=(n,s)=>{for(let p=0;p<s.length;p+=1)e.setUint8(n+p,s.charCodeAt(p))};f(0,"RIFF"),e.setUint32(4,36+l,!0),f(8,"WAVE"),f(12,"fmt "),e.setUint32(16,16,!0),e.setUint16(20,1,!0),e.setUint16(22,1,!0),e.setUint32(24,i,!0),e.setUint32(28,i*2,!0),e.setUint16(32,2,!0),e.setUint16(34,16,!0),f(36,"data"),e.setUint32(40,l,!0);let c=44;for(let n=0;n<t.length;n+=1){const s=Math.max(-1,Math.min(1,t[n]));e.setInt16(c,s<0?s*32768:s*32767,!0),c+=2}return o}function st(t){const i=new Float32Array(t.length);for(let a=0;a<t.numberOfChannels;a+=1){const l=t.getChannelData(a);for(let o=0;o<l.length;o+=1)i[o]+=l[o]/t.numberOfChannels}return i}async function gt(t){const i=new AudioContext;try{const a=await i.decodeAudioData(await t.arrayBuffer()),l=Math.max(1,Math.ceil(a.length*C/a.sampleRate)),o=new OfflineAudioContext(1,l,C),e=o.createBufferSource();e.buffer=a,e.connect(o.destination),e.start();const f=await o.startRendering();return rt(st(f),C)}finally{await i.close().catch(()=>{})}}function $(t){const i=new Uint8Array(t),a=32768;let l="";for(let o=0;o<i.length;o+=a)l+=String.fromCharCode(...i.subarray(o,o+a));return btoa(l)}const d={...O,get fontFamily(){return K()},blurRadius:X};function H(t,i,a=0,l){const o=t.crop??{x:0,y:0,w:i.width,h:i.height},e=Math.max(1,Math.max(i.width,i.height)/1440),f=Math.min(d.badgeRadius*e,o.w/2,o.h/2);return Y(t,i).filter(c=>i.kind==="screenshot"||a>=c.mark.atMs&&a<c.visibleUntilMs).flatMap(({n:c,mark:n})=>{const s=i.kind==="recording"?Z(n.geometry,q(i,n),a):n.geometry;if(!s)return[];const p=ot(s),g=z(p,o,e,f);return[...n.id===l&&s.kind==="text"?[]:[{kind:"geometry",geometry:s,unit:e}],...d.showNumbers?[{kind:"badge",...g,radius:f,label:String(c),unit:e}]:[]]})}function j(t,i){t.save(),t.letterSpacing="0px",t.wordSpacing="0px",t.strokeStyle=d.accent,t.fillStyle=d.accent,t.lineCap="round",t.lineJoin="round";for(const a of i){const l=a.unit??1,o=(c,n)=>{t.strokeStyle=d.halo,t.lineWidth=c+d.haloWidth*l,n?t.stroke(n):t.stroke(),t.strokeStyle=d.accent,t.lineWidth=c,n?t.stroke(n):t.stroke()};if(a.kind==="badge"){t.fillStyle=d.paper,t.beginPath(),t.arc(a.x,a.y,a.radius,0,Math.PI*2),t.fill(),t.strokeStyle=d.accent,t.lineWidth=d.badgeOutline*l,t.stroke(),t.fillStyle=d.ink,t.font=`600 ${a.radius*d.badgeTextScale}px ${d.badgeFontFamily}`,t.textAlign="center",t.textBaseline="middle",t.fillText(a.label,a.x,a.y);continue}const e=a.geometry;t.fillStyle=d.accent;const f=(e.kind==="path"?d.pen:d.stroke)*l;if(e.kind==="rect")t.beginPath(),t.rect(e.x,e.y,e.w,e.h),o(f);else if(e.kind==="text"){const c=F(e);t.fillStyle=d.accent,t.textAlign="left",t.textBaseline="top",t.font=`${e.fontSize}px ${d.fontFamily}`,c.lines.forEach((n,s)=>{const p=e.x+c.padding,g=e.y+c.padding+s*c.lineHeight;t.strokeStyle=d.halo,t.lineWidth=d.haloWidth*l;const b=e.style==="sticky"?c.width-2*c.padding:void 0;t.strokeText(n,p,g,b),t.fillText(n,p,g,b)})}else if(e.kind==="point")t.beginPath(),t.arc(e.x,e.y,Q,0,Math.PI*2),o(f);else if(e.kind==="path")o(f,new Path2D(V(e.points)));else{const c=[e.from,e.to];if(t.beginPath(),c.forEach((n,s)=>s?t.lineTo(n.x,n.y):t.moveTo(n.x,n.y)),e.kind==="arrow"){const n=Math.atan2(e.to.y-e.from.y,e.to.x-e.from.x),s=d.arrowHead*l;t.moveTo(e.to.x-s*Math.cos(n-d.arrowSpread),e.to.y-s*Math.sin(n-d.arrowSpread)),t.lineTo(e.to.x,e.to.y),t.lineTo(e.to.x-s*Math.cos(n+d.arrowSpread),e.to.y-s*Math.sin(n+d.arrowSpread))}o(f)}}t.restore()}function v(t,i){const a=new OffscreenCanvas(Math.max(1,Math.round(t)),Math.max(1,Math.round(i))),l=a.getContext("2d");if(!l)throw new Error("capture-render-unavailable");return{image:a,context:l}}async function pt(t,i,a){if(t.visuals!=="clean")throw new Error("legacy-baked-marks");await L();const{image:l,context:o}=v(t.width,t.height);return j(o,H(i,t,a)),$(await(await l.convertToBlob({type:"image/png"})).arrayBuffer())}async function yt(t,i,a,l){const o=J(i,t,null);if(t.kind!=="screenshot"||o.errors.length)throw new Error(o.errors[0]??"not-a-screenshot");if(t.visuals!=="clean")throw new Error("legacy-baked-marks");await L();const e=Uint8Array.from(atob(a.base64),c=>c.charCodeAt(0)),f=await createImageBitmap(new Blob([e],{type:a.mimeType}));try{if(f.width!==t.width||f.height!==t.height)throw new Error("stale-source-pixels");const c=v(t.width,t.height);if(c.context.drawImage(f,0,0),i.blurRegions.length||i.blurStrokes?.length){const g=v(t.width,t.height);g.context.fillStyle="#000000",g.context.fillRect(0,0,t.width,t.height);const b=`blur(${d.blurRadius}px)`;if(g.context.filter=b,g.context.filter!==b)throw new Error("capture-blur-unavailable");g.context.drawImage(f,0,0);const m=v(t.width,t.height);m.context.fillStyle="#ffffff",m.context.strokeStyle="#ffffff",m.context.lineCap="round",m.context.lineJoin="round";for(const y of i.blurRegions)m.context.fillRect(y.x,y.y,y.w,y.h);for(const y of i.blurStrokes??[]){const S=y.points.filter((I,A)=>A===0||I.x!==y.points[A-1].x||I.y!==y.points[A-1].y);if(m.context.beginPath(),S.length===1){const I=S[0];m.context.arc(I.x,I.y,y.radius,0,Math.PI*2),m.context.fill()}else{m.context.lineWidth=y.radius*2,m.context.moveTo(S[0].x,S[0].y);for(const I of S.slice(1))m.context.lineTo(I.x,I.y);m.context.stroke()}}const T=v(t.width,t.height);T.context.drawImage(g.image,0,0),T.context.globalCompositeOperation="destination-in",T.context.drawImage(m.image,0,0),c.context.drawImage(T.image,0,0)}const n=i.crop??{x:0,y:0,w:t.width,h:t.height},s=v(n.w,n.h);s.context.drawImage(c.image,n.x,n.y,n.w,n.h,0,0,s.image.width,s.image.height),s.context.scale(s.image.width/n.w,s.image.height/n.h),s.context.translate(-n.x,-n.y),j(s.context,H(i,t,0,l?.hiddenTextMarkId));const p=await s.image.convertToBlob({type:"image/png"});return{data:$(await p.arrayBuffer()),mimeType:"image/png",width:s.image.width,height:s.image.height}}finally{f.close()}}const kt=u({outputVersion:M(tt),jobId:r().uuid(),media:P,layers:_(u({atMs:h().finite().nonnegative(),endMs:h().finite().nonnegative(),png:r().min(1).max(48*1024*1024)}).strict()).max(1e4)}).strict(),wt=u({jobId:r().uuid(),media:P,locale:r().min(1).max(80).optional()}).strict(),lt=u({sourceId:r().min(1),sourceRevision:h().int().nonnegative(),durationMs:h().finite().positive().max(120001),intervalMs:M(50),peaks:_(h().finite().min(0).max(1)).max(2401)}).strict().refine(t=>t.peaks.length===Math.ceil(t.durationMs/t.intervalMs),"Incomplete waveform");u({jobId:r().uuid(),media:P}).strict();u({sourceId:r().min(1),sourceRevision:h().int().nonnegative(),trackCount:h().int().nonnegative().max(128),populatedTrackCount:h().int().nonnegative().max(128)}).strict().refine(t=>t.populatedTrackCount<=t.trackCount);const xt=it.DOCK_CAPTURE_EDITOR,w=r().min(1).max(200),ct=u({id:w,tool:x(et),atMs:h().finite().min(0).max(1440*60*1e3).nullable(),label:r().max(200).optional()}).strict();u({kind:x(["recording","screenshot"]),workspaceId:w,agentId:w,attachmentId:w,sourceRevision:r().min(1).max(512),attachmentPath:r().min(1).max(1024),title:r().max(200),durationMs:h().finite().min(0).max(1440*60*1e3).optional(),width:h().int().positive().max(32768).optional(),height:h().int().positive().max(32768).optional(),marks:_(ct).max(500),provenance:u({captureApi:r().max(100).optional(),hasMicAudio:B().optional(),visuals:x(["clean","baked-marks"])}).strict(),source:E.optional(),originalSource:E.optional(),saved:N.nullable().optional(),transcript:U.nullable().optional(),holdToken:r().uuid().optional()}).strict().refine(t=>!t.source||t.source.path===t.attachmentPath&&t.source.attachmentId===t.attachmentId&&t.source.kind===t.kind,"Source does not match the attachment").refine(t=>!t.saved||!!t.source&&t.saved.sourceId===t.source.id&&t.saved.sourceRevision===t.source.revision,"Edit does not match the source").refine(t=>!t.originalSource||t.source?.kind==="screenshot"&&t.originalSource.kind==="screenshot"&&t.originalSource.id!==t.source.id,"Original source does not precede this source");u({openId:r().uuid(),intent:M("attach").optional()}).strict();u({openId:r().uuid(),accept:B()}).strict();u({token:r().uuid(),hide:M(!0).optional()}).strict();u({openId:r().uuid(),requestId:r().uuid()}).strict();u({requestId:r().uuid(),result:x(["saved","stale-source","revision-conflict","failed"]),saved:N.optional()}).strict().refine(t=>t.result==="saved"==!!t.saved,"Saved edit missing");u({pair:u({workspaceId:r().min(1).max(200),agentId:r().min(1).max(200)}).strict(),sourceId:r().min(1).max(512),sourceRevision:h().int().nonnegative(),transcript:U}).strict();nt([u({requestId:r().uuid(),ok:M(!0),source:E}).strict(),u({requestId:r().uuid(),ok:M(!1),error:x(["cancelled","permission","failed"])}).strict()]);const dt=2e4;u({openId:r().uuid(),markId:r().min(1).max(512),generation:h().int().nonnegative(),phase:x(["start","stop"])}).strict();u({requestId:r().uuid(),generation:h().int().nonnegative(),text:r().max(dt),final:B(),error:x(["busy","unavailable","failed","permission"]).optional()}).strict().refine(t=>!t.error||t.final,"An error is final");u({pair:u({workspaceId:r().min(1).max(200),agentId:r().min(1).max(200)}).strict(),sourceId:r().min(1).max(512),sourceRevision:h().int().nonnegative(),waveform:lt}).strict();const bt=u({requestId:r().uuid(),openId:w,pair:u({workspaceId:w,agentId:w}).strict(),kind:x(["screenshot","recording"]),attachmentId:w,sourceId:w.optional(),sourceRevision:h().int().nonnegative().optional(),expectedEditRevision:h().int().nonnegative().optional()}).strict();u({requestId:r().uuid(),result:x(["deleted","stale-source","failed"])}).strict();const It=u({endedOpenId:r().uuid()}).strict();export{xt as D,d as a,dt as b,bt as c,It as d,kt as e,wt as f,$ as g,gt as h,ot as i,K as j,L as k,H as l,pt as m,j as p,yt as r};
@@ -1 +1 @@
1
- import{t as q,bo as s,bw as G,bp as J,b as K}from"./Bv8Gaorn.js";import{bo as L,bs as Q,ca as U,aD as i,ay as V,bx as X,bS as Z,W as B,bn as $,c9 as n,aA as r,be as ee,b$ as te,b_ as ae,bO as se,aB as re}from"./3SdAC2_C.js";import{i as ie}from"./BQg4hK6W.js";import{b as ne,e as oe}from"./D85P44Dj.js";import{l as de,o as le,k as ue,t as ce,e as fe,a as ge}from"./DCTwUEO7.js";import{b as me}from"./Dn334wJv.js";import"./DoIr8Q2r.js";import{a_ as xe}from"./BO3WriTy.js";var he=new Set(["$$slots","$$events","$$legacy","ref","id","class","value","doesExpandToFit","autoResize","minHeight","maxHeight","noFocusStyle","variant","size","message","error","messageId","aria-describedby","aria-invalid"]),be=re("<textarea></textarea> <!>",1);function ve(E,t){const C=L();if(new.target)return q({component:ve,...E});Q(t,!0);const k=xe();let a=s(t,"ref",15),x=s(t,"id",7),h=s(t,"class",7),c=s(t,"value",15),b=s(t,"doesExpandToFit",7,!1),v=s(t,"autoResize",7,!1),f=s(t,"minHeight",7,80),o=s(t,"maxHeight",7,400),y=s(t,"noFocusStyle",7,!1),g=s(t,"variant",7,"default"),_=s(t,"size",7),z=s(t,"message",7),d=s(t,"error",7),m=s(t,"messageId",23,()=>`${C}-message`),p=s(t,"aria-describedby",7),H=s(t,"aria-invalid",7),M=J(t,he);const I=n(()=>_()??k),l=n(()=>v()||b()),F=n(()=>d()??z()),j=n(()=>[p(),i(F)?m():void 0].filter(Boolean).join(" ")||void 0),A=n(()=>d()?!0:H());function D(){a()?.focus()}function P(){a()?.blur()}function w(){if(!i(l)||!a())return;a(a().style.height="auto",!0);const e=Math.min(Math.max(a().scrollHeight,f()),o());a(a().style.height=`${e}px`,!0),a(a().style.overflowY=a().scrollHeight>o()?"auto":"hidden",!0)}U(()=>{i(l)&&a()&&c()!==void 0&&w()});var N={focus:D,blur:P,get ref(){return a()},set ref(e){a(e),r()},get id(){return x()},set id(e){x(e),r()},get class(){return h()},set class(e){h(e),r()},get value(){return c()},set value(e){c(e),r()},get doesExpandToFit(){return b()},set doesExpandToFit(e=!1){b(e),r()},get autoResize(){return v()},set autoResize(e=!1){v(e),r()},get minHeight(){return f()},set minHeight(e=80){f(e),r()},get maxHeight(){return o()},set maxHeight(e=400){o(e),r()},get noFocusStyle(){return y()},set noFocusStyle(e=!1){y(e),r()},get variant(){return g()},set variant(e="default"){g(e),r()},get size(){return _()},set size(e){_(e),r()},get message(){return z()},set message(e){z(e),r()},get error(){return d()},set error(e){d(e),r()},get messageId(){return m()},set messageId(e=`${C}-message`){m(e),r()},get"aria-describedby"(){return p()},set"aria-describedby"(e){p(e),r()},get"aria-invalid"(){return H()},set"aria-invalid"(e){H(e),r()},$set:G,$on:(e,S)=>K(t,e,S)},R=be(),u=V(R);X(u),ne(u,e=>({id:x(),"data-slot":"textarea","data-size":i(I),"data-variant":g()==="inline"?"inline":void 0,oninput:i(l)?w:void 0,"aria-describedby":i(j),"aria-invalid":i(A),class:e,style:i(l)?`min-height: ${f()}px; max-height: ${o()}px`:void 0,autocorrect:"off",autocapitalize:"off",spellcheck:"false",...M}),[()=>oe(g()==="inline"?le:["type-caption text-foreground placeholder:text-muted-foreground flex w-full rounded-(--radius-medium) border px-3",ue,ce,i(I)==="compact"?"py-1.5":"py-2",i(l)?"resize-none overflow-hidden":"min-h-20"],y()&&de,h())]),me(u,e=>a(e),()=>a());var O=Z(u,2);{var W=e=>{{let S=n(()=>d()?"error":"helper");ge(e,{get id(){return m()},get tone(){return i(S)},children:(Y,ye)=>{ee();var T=te();ae(()=>se(T,i(F))),B(Y,T)},$$slots:{default:!0}})}};ie(O,e=>{i(F)&&e(W)})}return fe(u,c),B(E,R),$(N)}export{ve as T};
1
+ import{t as q,bo as s,bw as G,bp as J,b as K}from"./1KDVFF23.js";import{bo as L,bs as Q,ca as U,aD as i,ay as V,bx as X,bS as Z,W as B,bn as $,c9 as n,aA as r,be as ee,b$ as te,b_ as ae,bO as se,aB as re}from"./3SdAC2_C.js";import{i as ie}from"./Zg9SWWIQ.js";import{b as ne,e as oe}from"./D8B7qxXm.js";import{l as de,o as le,k as ue,t as ce,e as fe,a as ge}from"./xJBWkpxc.js";import{b as me}from"./Dn334wJv.js";import"./Ch-pFfsN.js";import{a_ as xe}from"./DPbnmxjX.js";var he=new Set(["$$slots","$$events","$$legacy","ref","id","class","value","doesExpandToFit","autoResize","minHeight","maxHeight","noFocusStyle","variant","size","message","error","messageId","aria-describedby","aria-invalid"]),be=re("<textarea></textarea> <!>",1);function ve(E,t){const C=L();if(new.target)return q({component:ve,...E});Q(t,!0);const k=xe();let a=s(t,"ref",15),x=s(t,"id",7),h=s(t,"class",7),c=s(t,"value",15),b=s(t,"doesExpandToFit",7,!1),v=s(t,"autoResize",7,!1),f=s(t,"minHeight",7,80),o=s(t,"maxHeight",7,400),y=s(t,"noFocusStyle",7,!1),g=s(t,"variant",7,"default"),_=s(t,"size",7),z=s(t,"message",7),d=s(t,"error",7),m=s(t,"messageId",23,()=>`${C}-message`),p=s(t,"aria-describedby",7),H=s(t,"aria-invalid",7),M=J(t,he);const I=n(()=>_()??k),l=n(()=>v()||b()),F=n(()=>d()??z()),j=n(()=>[p(),i(F)?m():void 0].filter(Boolean).join(" ")||void 0),A=n(()=>d()?!0:H());function D(){a()?.focus()}function P(){a()?.blur()}function w(){if(!i(l)||!a())return;a(a().style.height="auto",!0);const e=Math.min(Math.max(a().scrollHeight,f()),o());a(a().style.height=`${e}px`,!0),a(a().style.overflowY=a().scrollHeight>o()?"auto":"hidden",!0)}U(()=>{i(l)&&a()&&c()!==void 0&&w()});var N={focus:D,blur:P,get ref(){return a()},set ref(e){a(e),r()},get id(){return x()},set id(e){x(e),r()},get class(){return h()},set class(e){h(e),r()},get value(){return c()},set value(e){c(e),r()},get doesExpandToFit(){return b()},set doesExpandToFit(e=!1){b(e),r()},get autoResize(){return v()},set autoResize(e=!1){v(e),r()},get minHeight(){return f()},set minHeight(e=80){f(e),r()},get maxHeight(){return o()},set maxHeight(e=400){o(e),r()},get noFocusStyle(){return y()},set noFocusStyle(e=!1){y(e),r()},get variant(){return g()},set variant(e="default"){g(e),r()},get size(){return _()},set size(e){_(e),r()},get message(){return z()},set message(e){z(e),r()},get error(){return d()},set error(e){d(e),r()},get messageId(){return m()},set messageId(e=`${C}-message`){m(e),r()},get"aria-describedby"(){return p()},set"aria-describedby"(e){p(e),r()},get"aria-invalid"(){return H()},set"aria-invalid"(e){H(e),r()},$set:G,$on:(e,S)=>K(t,e,S)},R=be(),u=V(R);X(u),ne(u,e=>({id:x(),"data-slot":"textarea","data-size":i(I),"data-variant":g()==="inline"?"inline":void 0,oninput:i(l)?w:void 0,"aria-describedby":i(j),"aria-invalid":i(A),class:e,style:i(l)?`min-height: ${f()}px; max-height: ${o()}px`:void 0,autocorrect:"off",autocapitalize:"off",spellcheck:"false",...M}),[()=>oe(g()==="inline"?le:["type-caption text-foreground placeholder:text-muted-foreground flex w-full rounded-(--radius-medium) border px-3",ue,ce,i(I)==="compact"?"py-1.5":"py-2",i(l)?"resize-none overflow-hidden":"min-h-20"],y()&&de,h())]),me(u,e=>a(e),()=>a());var O=Z(u,2);{var W=e=>{{let S=n(()=>d()?"error":"helper");ge(e,{get id(){return m()},get tone(){return i(S)},children:(Y,ye)=>{ee();var T=te();ae(()=>se(T,i(F))),B(Y,T)},$$slots:{default:!0}})}};ie(O,e=>{i(F)&&e(W)})}return fe(u,c),B(E,R),$(N)}export{ve as T};
@@ -1 +1 @@
1
- var p=Object.defineProperty;var h=(s,e,t)=>e in s?p(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var a=(s,e,t)=>h(s,typeof e!="symbol"?e+"":e,t);import{bm as c}from"./Bv8Gaorn.js";import{o2 as g,o0 as m,o1 as d}from"./NgEAPl8f.js";class l{constructor(){a(this,"types",new Map);a(this,"componentLoads",new Map)}register(e){this.types.has(e.type)&&console.warn(`Tab type "${e.type}" is already registered. Overwriting.`),this.types.set(e.type,e),this.componentLoads.delete(e.type)}loadComponent(e){const t=this.types.get(e);if(!t)return Promise.reject(new Error(`Unknown tab type: ${e}`));const o=this.componentLoads.get(e);if(o?.registration===t)return o.promise;const n={registration:t},i="component"in t&&t.component?Promise.resolve(t.component):Promise.resolve().then(()=>t.loadComponent()).then(r=>r.default);return n.promise=i.then(r=>(this.componentLoads.get(e)===n&&(n.component=r),r)).catch(r=>{throw this.componentLoads.get(e)===n&&this.componentLoads.delete(e),r}),this.componentLoads.set(e,n),n.promise}getLoadedComponent(e){const t=this.types.get(e);if(!t)return;if("component"in t)return t.component;const o=this.componentLoads.get(e);return o?.registration===t?o.component:void 0}resetComponentLoad(e){this.componentLoads.delete(e)}get(e){return this.types.get(e)}getAll(){return Array.from(this.types.values())}has(e){return this.types.has(e)}getIcon(e){return this.types.get(e)?.icon}getCategoryLabel(e){return this.types.get(e)?.categoryLabel??c.layout_tabTypes_panel_category()}getSidebarTabId(e){return this.types.get(e)?.sidebarTabId??null}isRenameable(e){return this.types.get(e)?.renameable??!1}getDefaultWidthTier(e){return this.types.get(e)?.defaultWidthTier??g(e)}getDefaultWidth(e,t=0){const o=this.types.get(e);return o?m(o.defaultWidthTier,t):d(e,t)}}const b=new l;export{b as t};
1
+ var p=Object.defineProperty;var h=(s,e,t)=>e in s?p(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var a=(s,e,t)=>h(s,typeof e!="symbol"?e+"":e,t);import{bm as c}from"./1KDVFF23.js";import{o2 as g,o0 as m,o1 as d}from"./BPo1GPk4.js";class l{constructor(){a(this,"types",new Map);a(this,"componentLoads",new Map)}register(e){this.types.has(e.type)&&console.warn(`Tab type "${e.type}" is already registered. Overwriting.`),this.types.set(e.type,e),this.componentLoads.delete(e.type)}loadComponent(e){const t=this.types.get(e);if(!t)return Promise.reject(new Error(`Unknown tab type: ${e}`));const o=this.componentLoads.get(e);if(o?.registration===t)return o.promise;const n={registration:t},i="component"in t&&t.component?Promise.resolve(t.component):Promise.resolve().then(()=>t.loadComponent()).then(r=>r.default);return n.promise=i.then(r=>(this.componentLoads.get(e)===n&&(n.component=r),r)).catch(r=>{throw this.componentLoads.get(e)===n&&this.componentLoads.delete(e),r}),this.componentLoads.set(e,n),n.promise}getLoadedComponent(e){const t=this.types.get(e);if(!t)return;if("component"in t)return t.component;const o=this.componentLoads.get(e);return o?.registration===t?o.component:void 0}resetComponentLoad(e){this.componentLoads.delete(e)}get(e){return this.types.get(e)}getAll(){return Array.from(this.types.values())}has(e){return this.types.has(e)}getIcon(e){return this.types.get(e)?.icon}getCategoryLabel(e){return this.types.get(e)?.categoryLabel??c.layout_tabTypes_panel_category()}getSidebarTabId(e){return this.types.get(e)?.sidebarTabId??null}isRenameable(e){return this.types.get(e)?.renameable??!1}getDefaultWidthTier(e){return this.types.get(e)?.defaultWidthTier??g(e)}getDefaultWidth(e,t=0){const o=this.types.get(e);return o?m(o.defaultWidthTier,t):d(e,t)}}const b=new l;export{b as t};
@@ -1,4 +1,4 @@
1
- import{g as gt}from"./Dtveg46I.js";import{d as mt,g as lt,f as xt,e as kt}from"./l4TJFOXC.js";import{U as _t,aZ as vt,V as bt,a_ as wt,Y as Tt,b0 as St,b as s,X as R,aW as H,B as $t,r as Mt,d as it}from"./ChGLvrw4.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,W;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var X="";W=[];for(N in v[A])this.terminals_[N]&&N>yt&&W.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
1
+ import{g as gt}from"./wqzy1XTy.js";import{d as mt,g as lt,f as xt,e as kt}from"./D3GrssRa.js";import{U as _t,aZ as vt,V as bt,a_ as wt,Y as Tt,b0 as St,b as s,X as R,aW as H,B as $t,r as Mt,d as it}from"./1_Sb4Kkv.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,W;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var X="";W=[];for(N in v[A])this.terminals_[N]&&N>yt&&W.push("'"+this.terminals_[N]+"'");_.showPosition?X="Parse error on line "+(C+1)+`:
2
2
  `+_.showPosition()+`
3
3
  Expecting `+W.join(", ")+", got '"+(this.terminals_[b]||b)+"'":X="Parse error on line "+(C+1)+": Unexpected "+(b==D?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(X,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:Y,expected:W})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(_.yytext),c.push(_.yylloc),l.push(T[1]),b=null,Q=_.yyleng,k=_.yytext,C=_.yylineno,Y=_.yylloc;break;case 2:if(M=this.productions_[T[1]][1],F.$=d[d.length-M],F._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},ft&&(F._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),q=this.performAction.apply(F,[k,Q,C,I.yy,T[1],d,c].concat(dt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(F.$),c.push(F._$),et=v[l[l.length-2]][l[l.length-1]],l.push(et);break;case 3:return!0}}return!0},"parse")},m=(function(){var h={EOF:1,parseError:s(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:s(function(r,n){return this.yy=n||this.yy||{},this._input=r,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:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var n=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var y=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),l.length-1&&(this.yylineno-=l.length-1);var d=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:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(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:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{p as e}from"./D85P44Dj.js";const o=[{id:"dialog-state-matrix",title:"Dialog states",states:["closed","open","entering","exiting","focused","disabled-close","destructive-flow","nested-content","long-content","scrolling","compact","zoom-200","outside-dismiss","escape-dismiss","focus-return","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0},{id:"dialog-open-state",title:"Dialog open state",states:["open-on-mount","focused","escape-dismiss","focus-return"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"dialog",source:"src/lib/components/ui/dialog/index.ts",publicImport:"$lib/components/ui/dialog",legacyImports:[],exports:["Close","Content","Description","Dialog","DialogClose","DialogContent","DialogDescription","DialogFooter","DialogHeader","DialogOverlay","DialogPortal","DialogTitle","DialogTrigger","Footer","Header","Overlay","Portal","Root","Title","Trigger","escapeBelongsToOpenPopup","useDialogPortalTarget"],usage:`<script lang="ts">
1
+ import{p as e}from"./D8B7qxXm.js";const o=[{id:"dialog-state-matrix",title:"Dialog states",states:["closed","open","entering","exiting","focused","disabled-close","destructive-flow","nested-content","long-content","scrolling","compact","zoom-200","outside-dismiss","escape-dismiss","focus-return","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0},{id:"dialog-open-state",title:"Dialog open state",states:["open-on-mount","focused","escape-dismiss","focus-return"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"dialog",source:"src/lib/components/ui/dialog/index.ts",publicImport:"$lib/components/ui/dialog",legacyImports:[],exports:["Close","Content","Description","Dialog","DialogClose","DialogContent","DialogDescription","DialogFooter","DialogHeader","DialogOverlay","DialogPortal","DialogTitle","DialogTrigger","Footer","Header","Overlay","Portal","Root","Title","Trigger","escapeBelongsToOpenPopup","useDialogPortalTarget"],usage:`<script lang="ts">
2
2
  import * as Dialog from '$lib/components/ui/dialog';
3
3
  <\/script>
4
4
 
@@ -1 +1 @@
1
- import{p as e}from"./D85P44Dj.js";const t=[{id:"textarea-state-matrix",title:"Textarea states",states:["default","rest","hover","focus","empty","placeholder","disabled","read-only","invalid","error","described","auto-expand","max-height-scroll","long-content","light","dark","zoom-200","keyboard-focus","compact","reduced-motion"],themes:["light","dark","high-contrast"],viewport:"both",reducedMotion:!0}];e({id:"textarea",source:"src/lib/components/ui/textarea/textarea.svelte",publicImport:"$lib/components/ui/textarea",legacyImports:["$lib/components/ui/textarea/textarea.svelte"],exports:["Textarea","textareaMetadata"],category:"primitive",owner:"007-B2",callers:["src/features/accept-changes/components/NativeReviewAttempt.svelte","src/features/accept-changes/components/NativeSidebarReview.svelte","src/features/conversation-goal/components/GoalEditorDialog.svelte","src/features/discussions/components/DiscussionThread.svelte","src/features/hud/components/dock-composer-media.preview.svelte","src/features/hud/media-editor/screenshot/ScreenshotCanvas.svelte","src/features/machine-rail/machine-rail.preview.svelte","src/lib/component-catalog/renderers/ContentFieldCatalogPreview.svelte","src/lib/component-catalog/renderers/FieldPreviewCell.svelte","src/lib/component-catalog/renderers/ModalCatalogPreview.svelte","src/lib/components/chat/QueuedMessageList.svelte","src/lib/components/chat/proposals/ProposalCard.svelte","src/lib/components/modals/ReplaceAgentModal.svelte","src/lib/components/patterns/settings/SettingsTextarea.svelte","src/lib/components/patterns/settings/settings-textarea.preview.svelte","src/lib/components/tiptap/CommentDialog.svelte","src/lib/components/tiptap/LaunchFromSelectionDialog.svelte","src/lib/components/tiptap/MermaidBlockNodeView.svelte","src/lib/components/ui/ask-user-questions/ask-user-questions.svelte","src/lib/components/ui/message-composer/message-composer.svelte","src/lib/components/ui/text-entry-focus.preview.svelte","src/lib/components/ui/tooltip/tooltip-audit.preview.svelte","src/lib/components/workspace/PullRequestCreator.svelte","src/lib/components/workspace/WorkspaceSidebarHeader.svelte","src/lib/components/workspace/sidebar-tabs.preview.svelte","src/lib/components/workspace/sidebar/CommitDrawer.svelte","src/lib/components/workspace/sidebar/MergePanel.svelte","src/lib/components/workspace/sidebar/PRSection.svelte","src/lib/components/workspace/sidebar/WorkspaceProgressCard.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/textarea/textarea.test.ts",removalGate:"Retain while exported and binding, resize, validation, and fixture tests pass.",dynamicImports:[],fixtures:t});
1
+ import{p as e}from"./D8B7qxXm.js";const t=[{id:"textarea-state-matrix",title:"Textarea states",states:["default","rest","hover","focus","empty","placeholder","disabled","read-only","invalid","error","described","auto-expand","max-height-scroll","long-content","light","dark","zoom-200","keyboard-focus","compact","reduced-motion"],themes:["light","dark","high-contrast"],viewport:"both",reducedMotion:!0}];e({id:"textarea",source:"src/lib/components/ui/textarea/textarea.svelte",publicImport:"$lib/components/ui/textarea",legacyImports:["$lib/components/ui/textarea/textarea.svelte"],exports:["Textarea","textareaMetadata"],category:"primitive",owner:"007-B2",callers:["src/features/accept-changes/components/NativeReviewAttempt.svelte","src/features/accept-changes/components/NativeSidebarReview.svelte","src/features/conversation-goal/components/GoalEditorDialog.svelte","src/features/discussions/components/DiscussionThread.svelte","src/features/hud/components/dock-composer-media.preview.svelte","src/features/hud/media-editor/screenshot/ScreenshotCanvas.svelte","src/features/machine-rail/machine-rail.preview.svelte","src/lib/component-catalog/renderers/ContentFieldCatalogPreview.svelte","src/lib/component-catalog/renderers/FieldPreviewCell.svelte","src/lib/component-catalog/renderers/ModalCatalogPreview.svelte","src/lib/components/chat/QueuedMessageList.svelte","src/lib/components/chat/proposals/ProposalCard.svelte","src/lib/components/modals/ReplaceAgentModal.svelte","src/lib/components/patterns/settings/SettingsTextarea.svelte","src/lib/components/patterns/settings/settings-textarea.preview.svelte","src/lib/components/tiptap/CommentDialog.svelte","src/lib/components/tiptap/LaunchFromSelectionDialog.svelte","src/lib/components/tiptap/MermaidBlockNodeView.svelte","src/lib/components/ui/ask-user-questions/ask-user-questions.svelte","src/lib/components/ui/message-composer/message-composer.svelte","src/lib/components/ui/text-entry-focus.preview.svelte","src/lib/components/ui/tooltip/tooltip-audit.preview.svelte","src/lib/components/workspace/PullRequestCreator.svelte","src/lib/components/workspace/WorkspaceSidebarHeader.svelte","src/lib/components/workspace/sidebar-tabs.preview.svelte","src/lib/components/workspace/sidebar/CommitDrawer.svelte","src/lib/components/workspace/sidebar/MergePanel.svelte","src/lib/components/workspace/sidebar/PRSection.svelte","src/lib/components/workspace/sidebar/WorkspaceProgressCard.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/textarea/textarea.test.ts",removalGate:"Retain while exported and binding, resize, validation, and fixture tests pass.",dynamicImports:[],fixtures:t});
@@ -1 +1 @@
1
- import{t as W,bo as l,bw as j,b as z,bm as k,bs as re,bq as ne}from"./Bv8Gaorn.js";import{bs as H,ca as O,aD as r,bH as a,a7 as ae,ay as se,W as J,bn as L,bV as d,aA as u,c9 as A,bk as ie,bj as oe,a5 as le,bS as ue,bA as ce,b_ as de,aB as fe}from"./3SdAC2_C.js";import{i as G}from"./BQg4hK6W.js";import{f as ge}from"./D85P44Dj.js";import{b as me}from"./Dn334wJv.js";import{l as T}from"./ChTqQfQN.js";import{a as B}from"./DK3AlKip.js";import{g as V}from"./iwQqOlmN.js";import{Jr as he}from"./NgEAPl8f.js";import{P as be}from"./BBiqqybB.js";function K(M,s){if(new.target)return W({component:K,...M});H(s,!0);let y=l(s,"isOpen",7),I=l(s,"hasMatches",7,!0),S=l(s,"currentMatchIndex",23,()=>-1),n=l(s,"totalMatches",7,0),g=l(s,"focusTrigger",7,0),f=l(s,"initialQuery",7,""),h=l(s,"onFindNext",7),p=l(s,"onFindPrevious",7),N=l(s,"onClose",7),o=d(""),i=d(null);const c=A(()=>r(o)?I()===!1?k.terminal_searchBar_noResults_label():n()>0?k.ui_panelFindBar_matchOf_label({current:S()+1,total:n()}):null:null);let b=d(void 0);O(()=>{if(!y()||r(b)===g())return;a(b,g());const t=f().trim();t&&(a(o,t,!0),h()(t))});var F={get isOpen(){return y()},set isOpen(t){y(t),u()},get hasMatches(){return I()},set hasMatches(t=!0){I(t),u()},get currentMatchIndex(){return S()},set currentMatchIndex(t=-1){S(t),u()},get totalMatches(){return n()},set totalMatches(t=0){n(t),u()},get focusTrigger(){return g()},set focusTrigger(t=0){g(t),u()},get initialQuery(){return f()},set initialQuery(t=""){f(t),u()},get onFindNext(){return h()},set onFindNext(t){h(t),u()},get onFindPrevious(){return p()},set onFindPrevious(t){p(t),u()},get onClose(){return N()},set onClose(t){N(t),u()},$set:j,$on:(t,C)=>z(s,t,C)},v=ae(),x=se(v);{var w=t=>{{let C=A(()=>k.terminal_searchBar_find_placeholder()),P=A(()=>k.terminal_searchBar_noResults_label());be(t,{get placeholder(){return r(C)},autofocus:!0,get focusTrigger(){return g()},get currentMatchIndex(){return S()},get totalMatches(){return n()},get resultText(){return r(c)},get emptyResultText(){return r(P)},resultFormat:"of",disableNavigationWhenNoMatches:!1,class:"top-0 right-0 z-10 rounded-none border-0 border-l border-b border-border bg-background/90 px-2 py-1",inputWrapperClass:"rounded-none",inputClass:"w-[140px] text-[0.8125rem]",onPrevious:()=>p()(r(o)),onNext:()=>h()(r(o)),get onClose(){return N()},get query(){return r(o)},set query(_){a(o,_,!0)},get inputRef(){return r(i)},set inputRef(_){a(i,_,!0)}})}};G(x,t=>{y()&&t(w)})}return J(M,v),L(F)}var ve=fe('<div><!> <div class="terminal-content native-scrollbars svelte-1fgrhx"></div></div>');function pe(M,s){if(new.target)return W({component:pe,...M});H(s,!0);const y=()=>re(N,"$codeFontFamilyCSS",I),[I,S]=ne();let n=l(s,"terminalId",7),g=l(s,"workspaceId",7),f=l(s,"visible",7,!0),h=l(s,"class",7,""),p=l(s,"onStatusChange",7);const N=V();let o,i=null,c=null,b=d(!1),F=d(!1),v=d(!1),x=d(!0),w=d(0),t=d(""),C=d(-1),P=d(0),_={isConnected:!1,isExecuting:!1};O(()=>{(_.isConnected!==r(b)||_.isExecuting!==r(F))&&(_={isConnected:r(b),isExecuting:r(F)},p()?.({isConnected:r(b),isExecuting:r(F)}))}),O(()=>{const e=f();if(i){if(e&&c&&!B.isAttachedTo(c,o)){Q(c);return}i.setVisible(e),e&&requestAnimationFrame(()=>i?.focus())}}),O(()=>{const e=y();i&&i.updateFontFamily(e)});function U(){r(v)?D():(a(t,i?.getSelection().replace(/\u00a0/g," ").replace(/[\t\r\n]+/g," ").trim()??"",!0),a(v,!0),a(w,r(w)+1))}async function Q(e){try{if(a(b,!1),!o){T.error("Terminal container not ready");return}if(!e){T.error("Invalid terminal ID: empty or null");return}e.startsWith("agent-")&&T.warn("Terminal ID appears to be an agent ID",{terminalId:e}),i=await B.getOrCreateTerminal(e,g(),o,{onReady:()=>{a(b,!0),f()&&requestAnimationFrame(()=>i?.focus())},onCommandStart:()=>{a(F,!0)},onCommandFinished:()=>{a(F,!1)},onSearchResultsChange:(m,q)=>{a(C,m,!0),a(P,q,!0),a(x,q>0)},onToggleSearch:U},!1),i.updateFontFamily(V.select(he.state)),i.setVisible(f())}catch(m){T.error("Failed to load terminal:",m)}}function X(e){if(i&&e){const m=i.findNext(e);a(x,m,!0)}}function Y(e){if(i&&e){const m=i.findPrevious(e);a(x,m,!0)}}function D(){a(v,!1),a(x,!0),a(C,-1),a(P,0),i?.clearSearch(),f()&&i?.focus()}ie(()=>{T.info("[Terminal] onMount",{terminalId:n(),hasContainer:!!o}),o&&n()&&c!==n()&&(c=n(),Q(n()))}),oe(()=>{T.info("[Terminal] onDestroy",{terminalId:n()}),n()&&B.detachTerminal(n(),o),c=null}),O(()=>{o&&n()&&c!==n()&&(c&&B.detachTerminal(c,o),c=n(),Q(n()))});var Z={get terminalId(){return n()},set terminalId(e){n(e),u()},get workspaceId(){return g()},set workspaceId(e){g(e),u()},get visible(){return f()},set visible(e=!0){f(e),u()},get class(){return h()},set class(e=""){h(e),u()},get onStatusChange(){return p()},set onStatusChange(e){p(e),u()},$set:j,$on:(e,m)=>z(s,e,m)},R=ve(),E=le(R);{var $=e=>{K(e,{get isOpen(){return r(v)},get hasMatches(){return r(x)},get currentMatchIndex(){return r(C)},get totalMatches(){return r(P)},get focusTrigger(){return r(w)},get initialQuery(){return r(t)},onFindNext:X,onFindPrevious:Y,onClose:D})};G(E,e=>{r(v)&&e($)})}var ee=ue(E,2);me(ee,e=>o=e,()=>o),ce(R),de(()=>ge(R,1,`terminal-container ${h()??""}`,"svelte-1fgrhx")),J(M,R);var te=L(Z);return S(),te}export{pe as T};
1
+ import{t as W,bo as l,bw as j,b as z,bm as k,bs as re,bq as ne}from"./1KDVFF23.js";import{bs as H,ca as O,aD as r,bH as a,a7 as ae,ay as se,W as J,bn as L,bV as d,aA as u,c9 as A,bk as ie,bj as oe,a5 as le,bS as ue,bA as ce,b_ as de,aB as fe}from"./3SdAC2_C.js";import{i as G}from"./Zg9SWWIQ.js";import{f as ge}from"./D8B7qxXm.js";import{b as me}from"./Dn334wJv.js";import{l as T}from"./ChTqQfQN.js";import{a as B}from"./DjBxG6q0.js";import{g as V}from"./C7Ibt0hX.js";import{Jr as he}from"./BPo1GPk4.js";import{P as be}from"./wfSdTH77.js";function K(M,s){if(new.target)return W({component:K,...M});H(s,!0);let y=l(s,"isOpen",7),I=l(s,"hasMatches",7,!0),S=l(s,"currentMatchIndex",23,()=>-1),n=l(s,"totalMatches",7,0),g=l(s,"focusTrigger",7,0),f=l(s,"initialQuery",7,""),h=l(s,"onFindNext",7),p=l(s,"onFindPrevious",7),N=l(s,"onClose",7),o=d(""),i=d(null);const c=A(()=>r(o)?I()===!1?k.terminal_searchBar_noResults_label():n()>0?k.ui_panelFindBar_matchOf_label({current:S()+1,total:n()}):null:null);let b=d(void 0);O(()=>{if(!y()||r(b)===g())return;a(b,g());const t=f().trim();t&&(a(o,t,!0),h()(t))});var F={get isOpen(){return y()},set isOpen(t){y(t),u()},get hasMatches(){return I()},set hasMatches(t=!0){I(t),u()},get currentMatchIndex(){return S()},set currentMatchIndex(t=-1){S(t),u()},get totalMatches(){return n()},set totalMatches(t=0){n(t),u()},get focusTrigger(){return g()},set focusTrigger(t=0){g(t),u()},get initialQuery(){return f()},set initialQuery(t=""){f(t),u()},get onFindNext(){return h()},set onFindNext(t){h(t),u()},get onFindPrevious(){return p()},set onFindPrevious(t){p(t),u()},get onClose(){return N()},set onClose(t){N(t),u()},$set:j,$on:(t,C)=>z(s,t,C)},v=ae(),x=se(v);{var w=t=>{{let C=A(()=>k.terminal_searchBar_find_placeholder()),P=A(()=>k.terminal_searchBar_noResults_label());be(t,{get placeholder(){return r(C)},autofocus:!0,get focusTrigger(){return g()},get currentMatchIndex(){return S()},get totalMatches(){return n()},get resultText(){return r(c)},get emptyResultText(){return r(P)},resultFormat:"of",disableNavigationWhenNoMatches:!1,class:"top-0 right-0 z-10 rounded-none border-0 border-l border-b border-border bg-background/90 px-2 py-1",inputWrapperClass:"rounded-none",inputClass:"w-[140px] text-[0.8125rem]",onPrevious:()=>p()(r(o)),onNext:()=>h()(r(o)),get onClose(){return N()},get query(){return r(o)},set query(_){a(o,_,!0)},get inputRef(){return r(i)},set inputRef(_){a(i,_,!0)}})}};G(x,t=>{y()&&t(w)})}return J(M,v),L(F)}var ve=fe('<div><!> <div class="terminal-content native-scrollbars svelte-1fgrhx"></div></div>');function pe(M,s){if(new.target)return W({component:pe,...M});H(s,!0);const y=()=>re(N,"$codeFontFamilyCSS",I),[I,S]=ne();let n=l(s,"terminalId",7),g=l(s,"workspaceId",7),f=l(s,"visible",7,!0),h=l(s,"class",7,""),p=l(s,"onStatusChange",7);const N=V();let o,i=null,c=null,b=d(!1),F=d(!1),v=d(!1),x=d(!0),w=d(0),t=d(""),C=d(-1),P=d(0),_={isConnected:!1,isExecuting:!1};O(()=>{(_.isConnected!==r(b)||_.isExecuting!==r(F))&&(_={isConnected:r(b),isExecuting:r(F)},p()?.({isConnected:r(b),isExecuting:r(F)}))}),O(()=>{const e=f();if(i){if(e&&c&&!B.isAttachedTo(c,o)){Q(c);return}i.setVisible(e),e&&requestAnimationFrame(()=>i?.focus())}}),O(()=>{const e=y();i&&i.updateFontFamily(e)});function U(){r(v)?D():(a(t,i?.getSelection().replace(/\u00a0/g," ").replace(/[\t\r\n]+/g," ").trim()??"",!0),a(v,!0),a(w,r(w)+1))}async function Q(e){try{if(a(b,!1),!o){T.error("Terminal container not ready");return}if(!e){T.error("Invalid terminal ID: empty or null");return}e.startsWith("agent-")&&T.warn("Terminal ID appears to be an agent ID",{terminalId:e}),i=await B.getOrCreateTerminal(e,g(),o,{onReady:()=>{a(b,!0),f()&&requestAnimationFrame(()=>i?.focus())},onCommandStart:()=>{a(F,!0)},onCommandFinished:()=>{a(F,!1)},onSearchResultsChange:(m,q)=>{a(C,m,!0),a(P,q,!0),a(x,q>0)},onToggleSearch:U},!1),i.updateFontFamily(V.select(he.state)),i.setVisible(f())}catch(m){T.error("Failed to load terminal:",m)}}function X(e){if(i&&e){const m=i.findNext(e);a(x,m,!0)}}function Y(e){if(i&&e){const m=i.findPrevious(e);a(x,m,!0)}}function D(){a(v,!1),a(x,!0),a(C,-1),a(P,0),i?.clearSearch(),f()&&i?.focus()}ie(()=>{T.info("[Terminal] onMount",{terminalId:n(),hasContainer:!!o}),o&&n()&&c!==n()&&(c=n(),Q(n()))}),oe(()=>{T.info("[Terminal] onDestroy",{terminalId:n()}),n()&&B.detachTerminal(n(),o),c=null}),O(()=>{o&&n()&&c!==n()&&(c&&B.detachTerminal(c,o),c=n(),Q(n()))});var Z={get terminalId(){return n()},set terminalId(e){n(e),u()},get workspaceId(){return g()},set workspaceId(e){g(e),u()},get visible(){return f()},set visible(e=!0){f(e),u()},get class(){return h()},set class(e=""){h(e),u()},get onStatusChange(){return p()},set onStatusChange(e){p(e),u()},$set:j,$on:(e,m)=>z(s,e,m)},R=ve(),E=le(R);{var $=e=>{K(e,{get isOpen(){return r(v)},get hasMatches(){return r(x)},get currentMatchIndex(){return r(C)},get totalMatches(){return r(P)},get focusTrigger(){return r(w)},get initialQuery(){return r(t)},onFindNext:X,onFindPrevious:Y,onClose:D})};G(E,e=>{r(v)&&e($)})}var ee=ue(E,2);me(ee,e=>o=e,()=>o),ce(R),de(()=>ge(R,1,`terminal-container ${h()??""}`,"svelte-1fgrhx")),J(M,R);var te=L(Z);return S(),te}export{pe as T};
@@ -1 +1 @@
1
- import{Jr as t,iC as o}from"./NgEAPl8f.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
1
+ import{Jr as t,iC as o}from"./BPo1GPk4.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/C0JDt0nm.js","/app/immutable/chunks/Bv8Gaorn.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/NgEAPl8f.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/8TUe2kcz.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DZBnfhEV.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/Dr4PDf9D.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CSbK1_CV.js","/app/immutable/chunks/B5bnHhgO.js","/app/immutable/chunks/D85P44Dj.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/mdoDOmuU.js","/app/immutable/chunks/D_o67XD6.js","/app/immutable/chunks/BkLJnbD1.js","/app/immutable/chunks/BQg4hK6W.js","/app/immutable/chunks/BO3WriTy.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/D1JjMDax.js","/app/immutable/chunks/kZanyiqf.js","/app/immutable/chunks/ChJ4msi3.js","/app/immutable/chunks/C44hzh9R.js","/app/immutable/chunks/BLYFfqzj.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CiD4x8Gl.js","/app/immutable/chunks/DgaiTQpw.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/CpV-ehZ5.js","/app/immutable/chunks/iwQqOlmN.js","/app/immutable/chunks/-18XT1CI.js","/app/immutable/chunks/BWtq4mC4.js","/app/immutable/chunks/CM4xaytB.js"])))=>i.map(i=>d[i]);
2
- import{_ as ue,t as re,bo as v,bw as ne,b as se,bm as k}from"./Bv8Gaorn.js";import{Jr as pe}from"./NgEAPl8f.js";import{bs as ie,a7 as le,ay as X,aD as n,W as f,bn as oe,c9 as A,aA as h,a5 as q,bA as G,b_ as S,aB as P,bl as U,bO as K,bS as T,ca as de,bH as fe,bV as _e,aC as O}from"./3SdAC2_C.js";import{i as L}from"./BQg4hK6W.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./D85P44Dj.js";import{m as ve}from"./C44hzh9R.js";import{e as he}from"./D1JjMDax.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./CiD4x8Gl.js";import{M as ke}from"./alEgYZuT.js";import{b as be}from"./CpV-ehZ5.js";import{aN as xe}from"./m8gDbIPC.js";import{n as H,e as $,s as J}from"./DgaiTQpw.js";import{f as Se}from"./BO3WriTy.js";import"./CSbK1_CV.js";function ut(r,t,c){if(r.metaKey||r.ctrlKey||!(r.currentTarget instanceof Element)||!r.currentTarget.closest("[data-assistant-panels]"))return!1;const e=pe.state.agentSessions.byAgentId[c]?.workspaceId??t,i=r.currentTarget.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId;return ue(async()=>{const{showAssistantContent:o}=await import("./C0JDt0nm.js");return{showAssistantContent:o}},__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]),import.meta.url).then(({showAssistantContent:o})=>o(`intent://local/${e}/agent/${c}`,{layoutId:i})),!0}var Te=P('<span class="text-subtle animate-pulse"> </span>'),ye=P('<span class="text-green-600 dark:text-green-400 flex items-center gap-0.5"><span class="opacity-70">+</span> <span> </span></span>'),Ee=P('<span class="text-red-600 dark:text-red-400 flex items-center gap-0.5"><span class="opacity-70">-</span> <span> </span></span>'),Ie=P('<span class="text-subtle"> </span>'),Me=P("<!> <!> <!>",1),Le=P("<div><!></div>");function Ae(r,t){if(new.target)return re({component:Ae,...r});ie(t,!0);let c=v(t,"additions",7,0),e=v(t,"deletions",7,0),i=v(t,"showZero",7,!1),o=v(t,"size",7,"sm"),g=v(t,"inline",7,!0),u=v(t,"loading",7,!1),d=v(t,"class",7,""),y=A(()=>i()||c()>0||e()>0||u()),R=A(()=>{switch(o()){case"xs":return"text-ui gap-1";case"sm":return"text-xs gap-1.5";case"md":return"text-sm gap-2";case"lg":return"text-base gap-2.5";default:return"text-xs gap-1.5"}});function B(a){return ve(a,{notation:"compact"})}var F={get additions(){return c()},set additions(a=0){c(a),h()},get deletions(){return e()},set deletions(a=0){e(a),h()},get showZero(){return i()},set showZero(a=!1){i(a),h()},get size(){return o()},set size(a="sm"){o(a),h()},get inline(){return g()},set inline(a=!0){g(a),h()},get loading(){return u()},set loading(a=!1){u(a),h()},get class(){return d()},set class(a=""){d(a),h()},$set:ne,$on:(a,w)=>se(t,a,w)},C=le(),D=X(C);{var p=a=>{var w=Le(),W=q(w);{var E=_=>{var m=Te(),N=U(m,!0);S(z=>K(N,z),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var z=s=>{var l=ye(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(c())]),f(s,l)};L(N,s=>{(c()>0||i())&&s(z)})}var Z=T(N,2);{var j=s=>{var l=Ee(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(e())]),f(s,l)};L(Z,s=>{(e()>0||i())&&s(j)})}var x=T(Z,2);{var Q=s=>{var l=Ie(),b=U(l,!0);S(I=>K(b,I),[()=>k.shared_lineChangeStats_noChanges_label()]),f(s,l)};L(x,s=>{!c()&&!e()&&!i()&&s(Q)})}f(_,m)};L(W,_=>{u()?_(E):_(V,-1)})}G(w),S(_=>te(w,1,_),[()=>ge(me("whitespace-nowrap",g()?"inline-flex":"flex","items-center font-mono",n(R),d()))]),f(a,w)};L(D,a=>{n(y)&&a(p)})}return f(r,C),oe(F)}const Ne=new Map([["STRONG","strong"],["B","strong"],["EM","em"],["I","em"],["CODE","code"]]),Pe=new Set(["AUDIO","BUTTON","CANVAS","DETAILS","EMBED","HR","IFRAME","IMG","INPUT","OBJECT","PICTURE","PRE","SELECT","SVG","TABLE","TEXTAREA","VIDEO"]),Re=new Set(["ARTICLE","BLOCKQUOTE","DD","DIV","DT","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","P","SECTION"]);function De(r){return typeof Intl.Segmenter=="function"?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(r),({segment:t})=>t):Array.from(r)}function ee(r,t,c,e){for(const i of De(t.replace(/\s+/gu," "))){const o=i===" ";if(!(o&&(!e.hasText||e.lastWasSpace))){if(e.visibleLength>=c){if(o)return;e.truncated||r.append(document.createTextNode("…")),e.truncated=!0;return}r.append(document.createTextNode(i)),e.visibleLength+=1,e.hasText=!0,e.lastWasSpace=o}}}function ae(r,t,c,e){if(e.truncated)return;if(r.nodeType===Node.TEXT_NODE){ee(t,r.textContent??"",c,e);return}if(!(r instanceof HTMLElement)||Pe.has(r.tagName))return;if(r.tagName==="BR"){ee(t," ",c,e);return}const i=Ne.get(r.tagName);if(i){const o=document.createElement(i);t.append(o);for(const g of r.childNodes)ae(g,o,c,e);o.textContent||o.remove();return}Re.has(r.tagName)&&e.hasText&&ee(t," ",c,e);for(const o of r.childNodes)ae(o,t,c,e)}async function ze(r,t=80){const c=await xe(r,{allowEmpty:!0,skipIfHTML:!1,preserveAnchors:!1,processPrimitives:!1,taskBlockRenderMode:"content"}),e=document.createElement("template");e.innerHTML=c;const i=document.createElement("span"),o={visibleLength:0,hasText:!1,lastWasSpace:!1,truncated:!1},g=Math.max(0,Math.floor(t));for(const u of e.content.childNodes)ae(u,i,g,o);return i.innerHTML.trim()}async function He(r){const t=await ze(r,Number.MAX_SAFE_INTEGER),c=document.createElement("span");return c.innerHTML=t,(c.textContent??"").replace(/<\/?[A-Za-z][^>]*>/gu,"").replace(/\s+/gu," ").trim()}var Oe=P('<span data-testid="agent-preview-tool-icon"><!></span>'),Be=P('<span><!> <span class="min-w-0 flex-1 truncate text-inherit opacity-[inherit]" data-testid="agent-preview-tool-text"> </span></span>');function Fe(r,t){if(new.target)return re({component:Fe,...r});ie(t,!0);const c=new Set(["figma","sentry","playwright","github","linear","slack","context7"]);let e=v(t,"toolUse",7),i=v(t,"animate",7,!1),o=v(t,"iconSize",7,12),g=v(t,"showIcon",7,!0),u=v(t,"class",7,"");const d=A(()=>be(e().name,e().input||{})),y=A(()=>[n(d).verb,n(d).subject,n(d).path].filter(Boolean).join(" ").trim()||n(d).verb||k.chat_previewToolLabel_tool_fallback());let R=_e("");de(()=>{const p=n(y);let a=!1;return He(p).then(w=>{a||fe(R,w,!0)}),()=>{a=!0}});var B={get toolUse(){return e()},set toolUse(p){e(p),h()},get animate(){return i()},set animate(p=!1){i(p),h()},get iconSize(){return o()},set iconSize(p=12){o(p),h()},get showIcon(){return g()},set showIcon(p=!0){g(p),h()},get class(){return u()},set class(p=""){u(p),h()},$set:ne,$on:(p,a)=>se(t,p,a)},F=le(),C=X(F);{var D=p=>{var a=Be(),w=q(a);{var W=_=>{var m=Oe(),N=q(m);{var z=x=>{ke(x,{get iconName(){return n(d).mcpSource},get label(){return n(d).mcpSource},get size(){return o()}})},Z=A(()=>n(d).mcpSource&&c.has(n(d).mcpSource)),j=x=>{we(x,{get icon(){return n(d).icon},class:"h-full! w-full! text-inherit opacity-[inherit]"})};L(N,x=>{n(Z)?x(z):x(j,-1)})}G(m),S(()=>{te(m,1,`agent-preview-tool-icon inline-flex shrink-0 items-center justify-center text-inherit opacity-[inherit] ${i()?"animate-pulse":""}`,"svelte-115ywqs"),ce(m,`width: ${o()??""}px; height: ${o()??""}px;`)}),f(_,m)};L(w,_=>{g()&&_(W)})}var E=T(w,2),V=U(E,!0);he(E,(_,m)=>Ce?.(_,m),()=>n(R)),G(a),S(()=>{te(a,1,`type-body inline-flex w-full min-w-0 items-center font-normal ${g()?"gap-1.5":""} ${u()??""}`,"svelte-115ywqs"),K(V,n(R))}),f(p,a)};L(C,p=>{n(d).hidden||p(D)})}return f(r,F),oe(B)}var Ve=O('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=O('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),Ue=O('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),qe=O('<path d="M13.1372 17.7135C13.1372 18.1682 12.9566 18.6042 12.6351 18.9257C12.3136 19.2472 11.8776 19.4278 11.4229 19.4278C10.9683 19.4278 10.5322 19.2472 10.2107 18.9257C9.88925 18.6042 9.70864 18.1682 9.70864 17.7135C9.70864 17.2589 9.88925 16.8228 10.2107 16.5014C10.5322 16.1799 10.9683 15.9993 11.4229 15.9993C11.8776 15.9993 12.3136 16.1799 12.6351 16.5014C12.9566 16.8228 13.1372 17.2589 13.1372 17.7135ZM10.2109 7.07297C10.3957 6.88872 10.6201 6.7491 10.8671 6.66473C11.114 6.58037 11.377 6.55349 11.6359 6.58615C11.8948 6.61881 12.1428 6.71015 12.361 6.8532C12.5793 6.99625 12.762 7.18724 12.8953 7.4116C13.0285 7.63597 13.1088 7.8878 13.1299 8.14789C13.1511 8.40799 13.1126 8.66948 13.0174 8.91244C12.9222 9.1554 12.7728 9.37342 12.5805 9.54988C12.3883 9.72634 12.1583 9.85659 11.9081 9.93068C11.1212 10.1604 10.1372 10.901 10.1372 12.1421V12.5707C10.1372 12.9117 10.2727 13.2387 10.5138 13.4798C10.7549 13.7209 11.0819 13.8564 11.4229 13.8564C11.7639 13.8564 12.0909 13.7209 12.3321 13.4798C12.5732 13.2387 12.7086 12.9117 12.7086 12.5707V12.3735C13.3281 12.1785 13.8952 11.8451 14.3669 11.3988C14.8387 10.9524 15.2029 10.4046 15.4319 9.79683C15.6609 9.18906 15.7487 8.53719 15.6888 7.89048C15.6289 7.24377 15.4228 6.61913 15.0861 6.06376C14.7494 5.50838 14.2908 5.03681 13.7451 4.68466C13.1994 4.33251 12.5808 4.10899 11.936 4.03101C11.2912 3.95302 10.6371 4.0226 10.0232 4.23449C9.40925 4.44638 8.8515 4.79503 8.39207 5.25411C8.26933 5.37277 8.17145 5.51469 8.10414 5.67158C8.03683 5.82848 8.00145 5.9972 8.00004 6.16792C7.99864 6.33864 8.03125 6.50792 8.09597 6.6659C8.16069 6.82388 8.25623 6.96739 8.37701 7.08805C8.49778 7.20871 8.64138 7.30411 8.79942 7.36868C8.95746 7.43326 9.12677 7.46571 9.29749 7.46414C9.4682 7.46258 9.6369 7.42703 9.79373 7.35958C9.95056 7.29212 10.0924 7.19411 10.2109 7.07125V7.07297Z" fill="white" class="origin-center"></path>'),Ge=O('<path d="M12 5.5V13.5" stroke="white" stroke-width="3" stroke-linecap="round"></path><circle cx="12" cy="17.5" r="1.6" fill="white" class="origin-center"></circle>',1),We=O('<path d="M11.6668 13.649C12.1044 13.649 12.5241 13.4751 12.8336 13.1656C13.1431 12.8562 13.3169 12.4365 13.3169 11.9988C13.3169 11.5611 13.1431 11.1414 12.8336 10.832C12.5241 10.5225 12.1044 10.3486 11.6668 10.3486C11.2291 10.3486 10.8094 10.5225 10.4999 10.832C10.1905 11.1414 10.0166 11.5611 10.0166 11.9988C10.0166 12.4365 10.1905 12.8562 10.4999 13.1656C10.8094 13.4751 11.2291 13.649 11.6668 13.649Z" fill="white" class="origin-center"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.38506 12.3064C4.31566 12.1046 4.31566 11.8855 4.38506 11.6837C4.90912 10.1693 5.89241 8.85596 7.198 7.92665C8.50359 6.99734 10.0665 6.4983 11.669 6.49902C13.2716 6.49975 14.834 7.00021 16.1388 7.9307C17.4435 8.8612 18.4256 10.1754 18.9483 11.6903C19.0177 11.8921 19.0177 12.1112 18.9483 12.313C18.4245 13.8278 17.4412 15.1416 16.1355 16.0712C14.8298 17.0008 13.2666 17.5 11.6638 17.4993C10.0609 17.4986 8.49824 16.9979 7.19336 16.0671C5.88848 15.1363 4.90641 13.8217 4.38396 12.3064H4.38506ZM14.9681 11.9984C14.9681 12.8737 14.6204 13.7131 14.0015 14.3321C13.3825 14.951 12.5431 15.2987 11.6678 15.2987C10.7925 15.2987 9.95304 14.951 9.33411 14.3321C8.71517 13.7131 8.36746 12.8737 8.36746 11.9984C8.36746 11.1231 8.71517 10.2836 9.33411 9.66468C9.95304 9.04575 10.7925 8.69803 11.6678 8.69803C12.5431 8.69803 13.3825 9.04575 14.0015 9.66468C14.6204 10.2836 14.9681 11.1231 14.9681 11.9984Z" fill="white" class="origin-center"></path>',1),je=O('<svg viewBox="0 0 24 24" fill="none"><defs><clipPath><rect x="48%" y="0" width="100%" height="100%"></rect></clipPath></defs><circle cx="50%" cy="50%" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none origin-center"></circle><circle cx="50%" cy="50%" r="45%" stroke-width="2.5" fill="none" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none"></circle><!></svg>');function Ke(r,t){if(new.target)return re({component:Ke,...r});ie(t,!0);const c=new Set(["not_started","waiting","discussion_needed","blocked","in_progress","review_required","complete","cancelled"]);let e=v(t,"status",7),i=v(t,"size",7,16),o=v(t,"onclick",7);const g=Math.random().toString(36).substring(2,9);let u=A(()=>e()==="todo"?"not_started":e()==="in-progress"?"in_progress":e()==="done"?"complete":typeof e()=="string"&&c.has(e())?e():"unknown");const d={not_started:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},waiting:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},discussion_needed:{stroke:"#f59e0b",fill:"#f59e0b",innerCircleRPercentage:100},blocked:{stroke:"#ef4444",fill:"#ef4444",innerCircleRPercentage:100},in_progress:{stroke:"#00BCFF",fill:"#00BCFF",innerCircleRPercentage:55},review_required:{stroke:"#3b82f6",fill:"#3b82f6",innerCircleRPercentage:100},complete:{stroke:"#22c55e",fill:"#00BD7D",innerCircleRPercentage:100},cancelled:{stroke:"#99999966",fill:"#99999966",innerCircleRPercentage:0},unknown:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0}};let y=A(()=>d[n(u)]||d.not_started);const R={not_started:k.tiptap_taskStatus_notStarted_label,waiting:k.tiptap_taskStatus_waiting_label,discussion_needed:k.tiptap_taskStatus_discussionNeeded_label,blocked:k.tiptap_taskStatus_blocked_label,in_progress:k.tiptap_taskStatus_inProgress_label,review_required:k.tiptap_taskStatus_reviewRequired_label,complete:k.tiptap_taskStatus_complete_label,cancelled:k.tiptap_taskStatus_cancelled_label,unknown:k.tiptap_taskStatus_unknown_label};let B=A(()=>(R[n(u)]??k.tiptap_taskStatus_unknown_label)());var F={get status(){return e()},set status(C){e(C),h()},get size(){return i()},set size(C=16){i(C),h()},get onclick(){return o()},set onclick(C){o(C),h()},$set:ne,$on:(C,D)=>se(t,C,D)};{let C=A(()=>k.tiptap_taskStatus_status_tooltip({status:n(B)}));Se(r,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"task-status-icon shrink-0 cursor-pointer bg-transparent border-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-primary-ink rounded-full",get style(){return`width: ${i()??""}px; height: ${i()??""}px;`},get onclick(){return o()},get title(){return n(C)},children:(D,p)=>{var a=je(),w=q(a),W=U(w),E=T(w),V=T(E),_=T(V);{var m=s=>{},N=s=>{var l=Ve();S(()=>M(l,"stroke",n(y).stroke)),f(s,l)},z=s=>{var l=Ze();H(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=Ue();S(()=>M(l,"stroke",n(y).stroke)),H(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=qe();H(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);H(3,b,()=>$,()=>({tier:"slow"})),H(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);H(3,b,()=>J,()=>({tier:"slow"})),H(3,I,()=>J,()=>({tier:"slow"})),f(s,l)};L(_,s=>{n(u)==="not_started"||n(u)==="waiting"?s(m):n(u)==="in_progress"?s(N,1):n(u)==="complete"?s(z,2):n(u)==="cancelled"?s(Z,3):n(u)==="discussion_needed"?s(j,4):n(u)==="blocked"?s(x,5):n(u)==="review_required"&&s(Q,6)})}G(a),S(()=>{M(a,"width",i()),M(a,"height",i()),ce(a,`width: ${i()??""}px; height: ${i()??""}px;`),M(W,"id",`half-clip-${g??""}`),M(E,"r",`${n(y).innerCircleRPercentage*.5}%`),M(E,"fill",n(y).fill),M(E,"clip-path",n(u)==="in_progress"?`url(#half-clip-${g})`:"none"),M(V,"stroke",n(y).stroke)}),f(D,a)},$$slots:{default:!0}})}return oe(F)}export{Fe as A,Ae as L,Ke as T,ze as a,ut as o,He as r};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/Bu8LYT1B.js","/app/immutable/chunks/1KDVFF23.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/BPo1GPk4.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/PtMxuYy8.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/Dmy603At.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/Q-Hp56ht.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BpT_ybtH.js","/app/immutable/chunks/J9vGyyn3.js","/app/immutable/chunks/D8B7qxXm.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/DQmW4_9G.js","/app/immutable/chunks/DtO0wAdA.js","/app/immutable/chunks/D7vAVIvz.js","/app/immutable/chunks/Zg9SWWIQ.js","/app/immutable/chunks/DPbnmxjX.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CYCawVEx.js","/app/immutable/chunks/DpSAF6fh.js","/app/immutable/chunks/Dhj-Oo-y.js","/app/immutable/chunks/CntPxeXh.js","/app/immutable/chunks/jUAybD8G.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/BZytk_HL.js","/app/immutable/chunks/CjK2zm52.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/DkYquFOp.js","/app/immutable/chunks/C7Ibt0hX.js","/app/immutable/chunks/BblwdMxR.js","/app/immutable/chunks/BIwMjRQQ.js","/app/immutable/chunks/B6Zf-ZTX.js"])))=>i.map(i=>d[i]);
2
+ import{_ as ue,t as re,bo as v,bw as ne,b as se,bm as k}from"./1KDVFF23.js";import{Jr as pe}from"./BPo1GPk4.js";import{bs as ie,a7 as le,ay as X,aD as n,W as f,bn as oe,c9 as A,aA as h,a5 as q,bA as G,b_ as S,aB as P,bl as U,bO as K,bS as T,ca as de,bH as fe,bV as _e,aC as H}from"./3SdAC2_C.js";import{i as L}from"./Zg9SWWIQ.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./D8B7qxXm.js";import{m as ve}from"./CntPxeXh.js";import{e as he}from"./CYCawVEx.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./BZytk_HL.js";import{M as ke}from"./CUUAtNdA.js";import{b as be}from"./DkYquFOp.js";import{aO as xe}from"./DwhE2_yv.js";import{n as z,e as $,s as J}from"./CjK2zm52.js";import{f as Se}from"./DPbnmxjX.js";import"./BpT_ybtH.js";function ut(r,t,c){if(r.metaKey||r.ctrlKey||!(r.currentTarget instanceof Element)||!r.currentTarget.closest("[data-assistant-panels]"))return!1;const e=pe.state.agentSessions.byAgentId[c]?.workspaceId??t,i=r.currentTarget.closest("[data-assistant-layout-id]")?.dataset.assistantLayoutId;return ue(async()=>{const{showAssistantContent:o}=await import("./Bu8LYT1B.js");return{showAssistantContent:o}},__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]),import.meta.url).then(({showAssistantContent:o})=>o(`intent://local/${e}/agent/${c}`,{layoutId:i})),!0}var Te=P('<span class="text-subtle animate-pulse"> </span>'),ye=P('<span class="text-green-600 dark:text-green-400 flex items-center gap-0.5"><span class="opacity-70">+</span> <span> </span></span>'),Ee=P('<span class="text-red-600 dark:text-red-400 flex items-center gap-0.5"><span class="opacity-70">-</span> <span> </span></span>'),Ie=P('<span class="text-subtle"> </span>'),Me=P("<!> <!> <!>",1),Le=P("<div><!></div>");function Ae(r,t){if(new.target)return re({component:Ae,...r});ie(t,!0);let c=v(t,"additions",7,0),e=v(t,"deletions",7,0),i=v(t,"showZero",7,!1),o=v(t,"size",7,"sm"),g=v(t,"inline",7,!0),u=v(t,"loading",7,!1),d=v(t,"class",7,""),y=A(()=>i()||c()>0||e()>0||u()),R=A(()=>{switch(o()){case"xs":return"text-ui gap-1";case"sm":return"text-xs gap-1.5";case"md":return"text-sm gap-2";case"lg":return"text-base gap-2.5";default:return"text-xs gap-1.5"}});function B(a){return ve(a,{notation:"compact"})}var F={get additions(){return c()},set additions(a=0){c(a),h()},get deletions(){return e()},set deletions(a=0){e(a),h()},get showZero(){return i()},set showZero(a=!1){i(a),h()},get size(){return o()},set size(a="sm"){o(a),h()},get inline(){return g()},set inline(a=!0){g(a),h()},get loading(){return u()},set loading(a=!1){u(a),h()},get class(){return d()},set class(a=""){d(a),h()},$set:ne,$on:(a,w)=>se(t,a,w)},C=le(),D=X(C);{var p=a=>{var w=Le(),W=q(w);{var E=_=>{var m=Te(),N=U(m,!0);S(O=>K(N,O),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var O=s=>{var l=ye(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(c())]),f(s,l)};L(N,s=>{(c()>0||i())&&s(O)})}var Z=T(N,2);{var j=s=>{var l=Ee(),b=T(q(l),2),I=U(b,!0);G(l),S(Y=>K(I,Y),[()=>B(e())]),f(s,l)};L(Z,s=>{(e()>0||i())&&s(j)})}var x=T(Z,2);{var Q=s=>{var l=Ie(),b=U(l,!0);S(I=>K(b,I),[()=>k.shared_lineChangeStats_noChanges_label()]),f(s,l)};L(x,s=>{!c()&&!e()&&!i()&&s(Q)})}f(_,m)};L(W,_=>{u()?_(E):_(V,-1)})}G(w),S(_=>te(w,1,_),[()=>ge(me("whitespace-nowrap",g()?"inline-flex":"flex","items-center font-mono",n(R),d()))]),f(a,w)};L(D,a=>{n(y)&&a(p)})}return f(r,C),oe(F)}const Ne=new Map([["STRONG","strong"],["B","strong"],["EM","em"],["I","em"],["CODE","code"]]),Pe=new Set(["AUDIO","BUTTON","CANVAS","DETAILS","EMBED","HR","IFRAME","IMG","INPUT","OBJECT","PICTURE","PRE","SELECT","SVG","TABLE","TEXTAREA","VIDEO"]),Re=new Set(["ARTICLE","BLOCKQUOTE","DD","DIV","DT","FOOTER","H1","H2","H3","H4","H5","H6","HEADER","LI","P","SECTION"]);function De(r){return typeof Intl.Segmenter=="function"?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(r),({segment:t})=>t):Array.from(r)}function ee(r,t,c,e){for(const i of De(t.replace(/\s+/gu," "))){const o=i===" ";if(!(o&&(!e.hasText||e.lastWasSpace))){if(e.visibleLength>=c){if(o)return;e.truncated||r.append(document.createTextNode("…")),e.truncated=!0;return}r.append(document.createTextNode(i)),e.visibleLength+=1,e.hasText=!0,e.lastWasSpace=o}}}function ae(r,t,c,e){if(e.truncated)return;if(r.nodeType===Node.TEXT_NODE){ee(t,r.textContent??"",c,e);return}if(!(r instanceof HTMLElement)||Pe.has(r.tagName))return;if(r.tagName==="BR"){ee(t," ",c,e);return}const i=Ne.get(r.tagName);if(i){const o=document.createElement(i);t.append(o);for(const g of r.childNodes)ae(g,o,c,e);o.textContent||o.remove();return}Re.has(r.tagName)&&e.hasText&&ee(t," ",c,e);for(const o of r.childNodes)ae(o,t,c,e)}async function Oe(r,t=80){const c=await xe(r,{allowEmpty:!0,skipIfHTML:!1,preserveAnchors:!1,processPrimitives:!1,taskBlockRenderMode:"content"}),e=document.createElement("template");e.innerHTML=c;const i=document.createElement("span"),o={visibleLength:0,hasText:!1,lastWasSpace:!1,truncated:!1},g=Math.max(0,Math.floor(t));for(const u of e.content.childNodes)ae(u,i,g,o);return i.innerHTML.trim()}async function ze(r){const t=await Oe(r,Number.MAX_SAFE_INTEGER),c=document.createElement("span");return c.innerHTML=t,(c.textContent??"").replace(/<\/?[A-Za-z][^>]*>/gu,"").replace(/\s+/gu," ").trim()}var He=P('<span data-testid="agent-preview-tool-icon"><!></span>'),Be=P('<span><!> <span class="min-w-0 flex-1 truncate text-inherit opacity-[inherit]" data-testid="agent-preview-tool-text"> </span></span>');function Fe(r,t){if(new.target)return re({component:Fe,...r});ie(t,!0);const c=new Set(["figma","sentry","playwright","github","linear","slack","context7"]);let e=v(t,"toolUse",7),i=v(t,"animate",7,!1),o=v(t,"iconSize",7,12),g=v(t,"showIcon",7,!0),u=v(t,"class",7,"");const d=A(()=>be(e().name,e().input||{})),y=A(()=>[n(d).verb,n(d).subject,n(d).path].filter(Boolean).join(" ").trim()||n(d).verb||k.chat_previewToolLabel_tool_fallback());let R=_e("");de(()=>{const p=n(y);let a=!1;return ze(p).then(w=>{a||fe(R,w,!0)}),()=>{a=!0}});var B={get toolUse(){return e()},set toolUse(p){e(p),h()},get animate(){return i()},set animate(p=!1){i(p),h()},get iconSize(){return o()},set iconSize(p=12){o(p),h()},get showIcon(){return g()},set showIcon(p=!0){g(p),h()},get class(){return u()},set class(p=""){u(p),h()},$set:ne,$on:(p,a)=>se(t,p,a)},F=le(),C=X(F);{var D=p=>{var a=Be(),w=q(a);{var W=_=>{var m=He(),N=q(m);{var O=x=>{ke(x,{get iconName(){return n(d).mcpSource},get label(){return n(d).mcpSource},get size(){return o()}})},Z=A(()=>n(d).mcpSource&&c.has(n(d).mcpSource)),j=x=>{we(x,{get icon(){return n(d).icon},class:"h-full! w-full! text-inherit opacity-[inherit]"})};L(N,x=>{n(Z)?x(O):x(j,-1)})}G(m),S(()=>{te(m,1,`agent-preview-tool-icon inline-flex shrink-0 items-center justify-center text-inherit opacity-[inherit] ${i()?"animate-pulse":""}`,"svelte-115ywqs"),ce(m,`width: ${o()??""}px; height: ${o()??""}px;`)}),f(_,m)};L(w,_=>{g()&&_(W)})}var E=T(w,2),V=U(E,!0);he(E,(_,m)=>Ce?.(_,m),()=>n(R)),G(a),S(()=>{te(a,1,`type-body inline-flex w-full min-w-0 items-center font-normal ${g()?"gap-1.5":""} ${u()??""}`,"svelte-115ywqs"),K(V,n(R))}),f(p,a)};L(C,p=>{n(d).hidden||p(D)})}return f(r,F),oe(B)}var Ve=H('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=H('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),Ue=H('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),qe=H('<path d="M13.1372 17.7135C13.1372 18.1682 12.9566 18.6042 12.6351 18.9257C12.3136 19.2472 11.8776 19.4278 11.4229 19.4278C10.9683 19.4278 10.5322 19.2472 10.2107 18.9257C9.88925 18.6042 9.70864 18.1682 9.70864 17.7135C9.70864 17.2589 9.88925 16.8228 10.2107 16.5014C10.5322 16.1799 10.9683 15.9993 11.4229 15.9993C11.8776 15.9993 12.3136 16.1799 12.6351 16.5014C12.9566 16.8228 13.1372 17.2589 13.1372 17.7135ZM10.2109 7.07297C10.3957 6.88872 10.6201 6.7491 10.8671 6.66473C11.114 6.58037 11.377 6.55349 11.6359 6.58615C11.8948 6.61881 12.1428 6.71015 12.361 6.8532C12.5793 6.99625 12.762 7.18724 12.8953 7.4116C13.0285 7.63597 13.1088 7.8878 13.1299 8.14789C13.1511 8.40799 13.1126 8.66948 13.0174 8.91244C12.9222 9.1554 12.7728 9.37342 12.5805 9.54988C12.3883 9.72634 12.1583 9.85659 11.9081 9.93068C11.1212 10.1604 10.1372 10.901 10.1372 12.1421V12.5707C10.1372 12.9117 10.2727 13.2387 10.5138 13.4798C10.7549 13.7209 11.0819 13.8564 11.4229 13.8564C11.7639 13.8564 12.0909 13.7209 12.3321 13.4798C12.5732 13.2387 12.7086 12.9117 12.7086 12.5707V12.3735C13.3281 12.1785 13.8952 11.8451 14.3669 11.3988C14.8387 10.9524 15.2029 10.4046 15.4319 9.79683C15.6609 9.18906 15.7487 8.53719 15.6888 7.89048C15.6289 7.24377 15.4228 6.61913 15.0861 6.06376C14.7494 5.50838 14.2908 5.03681 13.7451 4.68466C13.1994 4.33251 12.5808 4.10899 11.936 4.03101C11.2912 3.95302 10.6371 4.0226 10.0232 4.23449C9.40925 4.44638 8.8515 4.79503 8.39207 5.25411C8.26933 5.37277 8.17145 5.51469 8.10414 5.67158C8.03683 5.82848 8.00145 5.9972 8.00004 6.16792C7.99864 6.33864 8.03125 6.50792 8.09597 6.6659C8.16069 6.82388 8.25623 6.96739 8.37701 7.08805C8.49778 7.20871 8.64138 7.30411 8.79942 7.36868C8.95746 7.43326 9.12677 7.46571 9.29749 7.46414C9.4682 7.46258 9.6369 7.42703 9.79373 7.35958C9.95056 7.29212 10.0924 7.19411 10.2109 7.07125V7.07297Z" fill="white" class="origin-center"></path>'),Ge=H('<path d="M12 5.5V13.5" stroke="white" stroke-width="3" stroke-linecap="round"></path><circle cx="12" cy="17.5" r="1.6" fill="white" class="origin-center"></circle>',1),We=H('<path d="M11.6668 13.649C12.1044 13.649 12.5241 13.4751 12.8336 13.1656C13.1431 12.8562 13.3169 12.4365 13.3169 11.9988C13.3169 11.5611 13.1431 11.1414 12.8336 10.832C12.5241 10.5225 12.1044 10.3486 11.6668 10.3486C11.2291 10.3486 10.8094 10.5225 10.4999 10.832C10.1905 11.1414 10.0166 11.5611 10.0166 11.9988C10.0166 12.4365 10.1905 12.8562 10.4999 13.1656C10.8094 13.4751 11.2291 13.649 11.6668 13.649Z" fill="white" class="origin-center"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4.38506 12.3064C4.31566 12.1046 4.31566 11.8855 4.38506 11.6837C4.90912 10.1693 5.89241 8.85596 7.198 7.92665C8.50359 6.99734 10.0665 6.4983 11.669 6.49902C13.2716 6.49975 14.834 7.00021 16.1388 7.9307C17.4435 8.8612 18.4256 10.1754 18.9483 11.6903C19.0177 11.8921 19.0177 12.1112 18.9483 12.313C18.4245 13.8278 17.4412 15.1416 16.1355 16.0712C14.8298 17.0008 13.2666 17.5 11.6638 17.4993C10.0609 17.4986 8.49824 16.9979 7.19336 16.0671C5.88848 15.1363 4.90641 13.8217 4.38396 12.3064H4.38506ZM14.9681 11.9984C14.9681 12.8737 14.6204 13.7131 14.0015 14.3321C13.3825 14.951 12.5431 15.2987 11.6678 15.2987C10.7925 15.2987 9.95304 14.951 9.33411 14.3321C8.71517 13.7131 8.36746 12.8737 8.36746 11.9984C8.36746 11.1231 8.71517 10.2836 9.33411 9.66468C9.95304 9.04575 10.7925 8.69803 11.6678 8.69803C12.5431 8.69803 13.3825 9.04575 14.0015 9.66468C14.6204 10.2836 14.9681 11.1231 14.9681 11.9984Z" fill="white" class="origin-center"></path>',1),je=H('<svg viewBox="0 0 24 24" fill="none"><defs><clipPath><rect x="48%" y="0" width="100%" height="100%"></rect></clipPath></defs><circle cx="50%" cy="50%" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none origin-center"></circle><circle cx="50%" cy="50%" r="45%" stroke-width="2.5" fill="none" class="transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none"></circle><!></svg>');function Ke(r,t){if(new.target)return re({component:Ke,...r});ie(t,!0);const c=new Set(["not_started","waiting","discussion_needed","blocked","in_progress","review_required","complete","cancelled"]);let e=v(t,"status",7),i=v(t,"size",7,16),o=v(t,"onclick",7);const g=Math.random().toString(36).substring(2,9);let u=A(()=>e()==="todo"?"not_started":e()==="in-progress"?"in_progress":e()==="done"?"complete":typeof e()=="string"&&c.has(e())?e():"unknown");const d={not_started:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},waiting:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0},discussion_needed:{stroke:"#f59e0b",fill:"#f59e0b",innerCircleRPercentage:100},blocked:{stroke:"#ef4444",fill:"#ef4444",innerCircleRPercentage:100},in_progress:{stroke:"#00BCFF",fill:"#00BCFF",innerCircleRPercentage:55},review_required:{stroke:"#3b82f6",fill:"#3b82f6",innerCircleRPercentage:100},complete:{stroke:"#22c55e",fill:"#00BD7D",innerCircleRPercentage:100},cancelled:{stroke:"#99999966",fill:"#99999966",innerCircleRPercentage:0},unknown:{stroke:"#99999966",fill:"transparent",innerCircleRPercentage:0}};let y=A(()=>d[n(u)]||d.not_started);const R={not_started:k.tiptap_taskStatus_notStarted_label,waiting:k.tiptap_taskStatus_waiting_label,discussion_needed:k.tiptap_taskStatus_discussionNeeded_label,blocked:k.tiptap_taskStatus_blocked_label,in_progress:k.tiptap_taskStatus_inProgress_label,review_required:k.tiptap_taskStatus_reviewRequired_label,complete:k.tiptap_taskStatus_complete_label,cancelled:k.tiptap_taskStatus_cancelled_label,unknown:k.tiptap_taskStatus_unknown_label};let B=A(()=>(R[n(u)]??k.tiptap_taskStatus_unknown_label)());var F={get status(){return e()},set status(C){e(C),h()},get size(){return i()},set size(C=16){i(C),h()},get onclick(){return o()},set onclick(C){o(C),h()},$set:ne,$on:(C,D)=>se(t,C,D)};{let C=A(()=>k.tiptap_taskStatus_status_tooltip({status:n(B)}));Se(r,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"task-status-icon shrink-0 cursor-pointer bg-transparent border-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-primary-ink rounded-full",get style(){return`width: ${i()??""}px; height: ${i()??""}px;`},get onclick(){return o()},get title(){return n(C)},children:(D,p)=>{var a=je(),w=q(a),W=U(w),E=T(w),V=T(E),_=T(V);{var m=s=>{},N=s=>{var l=Ve();S(()=>M(l,"stroke",n(y).stroke)),f(s,l)},O=s=>{var l=Ze();z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=Ue();S(()=>M(l,"stroke",n(y).stroke)),z(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=qe();z(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);z(3,b,()=>$,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);z(3,b,()=>J,()=>({tier:"slow"})),z(3,I,()=>J,()=>({tier:"slow"})),f(s,l)};L(_,s=>{n(u)==="not_started"||n(u)==="waiting"?s(m):n(u)==="in_progress"?s(N,1):n(u)==="complete"?s(O,2):n(u)==="cancelled"?s(Z,3):n(u)==="discussion_needed"?s(j,4):n(u)==="blocked"?s(x,5):n(u)==="review_required"&&s(Q,6)})}G(a),S(()=>{M(a,"width",i()),M(a,"height",i()),ce(a,`width: ${i()??""}px; height: ${i()??""}px;`),M(W,"id",`half-clip-${g??""}`),M(E,"r",`${n(y).innerCircleRPercentage*.5}%`),M(E,"fill",n(y).fill),M(E,"clip-path",n(u)==="in_progress"?`url(#half-clip-${g})`:"none"),M(V,"stroke",n(y).stroke)}),f(D,a)},$$slots:{default:!0}})}return oe(F)}export{Fe as A,Ae as L,Ke as T,Oe as a,ut as o,ze as r};
@@ -1 +1 @@
1
- import{Jr as o,mg as L,nW as g,nz as C,Jw as W}from"./NgEAPl8f.js";import{w as z}from"./Dms_DO28.js";import{dH as H,dL as f}from"./CpV-ehZ5.js";const a=o.createSelector((t,e)=>t.fileExplorer.byWorkspaceId[e]??L),G=o.createSelector((t,e,s)=>{const n=g(t.fileExplorer.searches,s);return n?.workspaceId===e?n:void 0}),J=o.createSelector((t,e)=>{const s=a.select(t,e);return s.rootPath?g(s.nodes,s.rootPath)??null:null}),M=o.createSelector((t,e)=>a.select(t,e).nodes.map),R=o.createSelector((t,e)=>a.select(t,e).isLoading),q=o.createSelector((t,e)=>a.select(t,e).isInitialized),B=o.createSelector((t,e)=>a.select(t,e).error),K=o.createSelector((t,e)=>a.select(t,e).fileCount),O=o.createSelector((t,e)=>a.select(t,e).gitStatus),E=o.createSelector((t,e)=>{const s=H.select(t,e);return s?.worktreePath||s?.repositoryPath||s?.path||""}),V=o.createSelector((t,e)=>{const s=a.select(t,e);return{workspacePath:E.select(t,e),currentWorkspacePath:s.workspacePath,isLoading:s.isLoading,isInitialized:s.isInitialized}});o.createSelector((t,e)=>e?{wsId:e,workspacePath:E.select(t,e),workspaceEnvironmentConfig:f.select(t,e)}:{wsId:null,workspacePath:"",workspaceEnvironmentConfig:void 0});const A=o.createSelector((t,e,s)=>a.select(t,e).expandedPaths.includes(s)),Q=o.createSelector((t,e,s)=>a.select(t,e).loadingPaths.includes(s)),T=o.createSelector((t,e)=>{const s=a.select(t,e);return s.expandedPaths.some(n=>n!==s.workspacePath)}),U=o.createSelector((t,e)=>{const s=E.select(t,e);if(!s)return!1;const n=a.select(t,e),p=f.select(t,e);return n.workspacePath!==s?!0:n.isLoading?!1:n.isInitialized?p?.type==="remote"&&!n.isRemoteInitialized:!0}),F=new WeakMap,X=o.createSelector((t,e)=>{const s=a.select(t,e);if(!s.rootPath)return[];const n=g(s.nodes,s.rootPath);if(!n)return[];const p=new Set(s.expandedPaths),y=new Set(s.loadingPaths),I=C(s.nodes,n.children,p,y),{agentFileEdits:v,workspacePath:P,gitStatus:S}=s,x=new Set;for(const r of Object.keys(S)){const i=r.split("/");for(let l=1;l<i.length;l++)x.add(i.slice(0,l).join("/"))}return I.map(r=>{let i=r.node.path;if(P){const w=W(r.node.path,P);w!==r.node.path&&(i=w)}const l=r.node.type==="file",c=v[i],d=l?S[i]:void 0,h=!l&&x.has(i),k={isExpanded:r.isExpanded,isLoading:r.isLoading,agentEdits:c&&c.length>0?c:void 0,gitStatus:d,directoryHasChanges:h,displayPath:r.displayPath,compactedExpandedPathsKey:r.compactedExpandedPaths?.join("\0"),depth:r.depth},u=F.get(r.node);if(u&&z(u.inputs,k))return u.result;const m=c&&c.length>0||d!==void 0||h?{node:r.node,depth:r.depth,displayPath:r.displayPath,...r.compactedExpandedPaths?{compactedExpandedPaths:r.compactedExpandedPaths}:{},isExpanded:r.isExpanded,isLoading:r.isLoading,...c&&c.length>0?{agentEdits:c}:{},...d!==void 0?{gitStatus:d}:{},...h?{directoryHasChanges:!0}:{}}:r;return F.set(r.node,{inputs:k,result:m}),m})});export{B as a,K as b,O as c,V as d,q as e,R as f,M as g,J as h,G as i,a as j,X as k,T as l,A as m,Q as n,U as o,E as s};
1
+ import{Jr as o,mg as L,nW as g,nz as C,Jw as W}from"./BPo1GPk4.js";import{w as z}from"./Dms_DO28.js";import{dH as H,dL as f}from"./DkYquFOp.js";const a=o.createSelector((t,e)=>t.fileExplorer.byWorkspaceId[e]??L),G=o.createSelector((t,e,s)=>{const n=g(t.fileExplorer.searches,s);return n?.workspaceId===e?n:void 0}),J=o.createSelector((t,e)=>{const s=a.select(t,e);return s.rootPath?g(s.nodes,s.rootPath)??null:null}),M=o.createSelector((t,e)=>a.select(t,e).nodes.map),R=o.createSelector((t,e)=>a.select(t,e).isLoading),q=o.createSelector((t,e)=>a.select(t,e).isInitialized),B=o.createSelector((t,e)=>a.select(t,e).error),K=o.createSelector((t,e)=>a.select(t,e).fileCount),O=o.createSelector((t,e)=>a.select(t,e).gitStatus),E=o.createSelector((t,e)=>{const s=H.select(t,e);return s?.worktreePath||s?.repositoryPath||s?.path||""}),V=o.createSelector((t,e)=>{const s=a.select(t,e);return{workspacePath:E.select(t,e),currentWorkspacePath:s.workspacePath,isLoading:s.isLoading,isInitialized:s.isInitialized}});o.createSelector((t,e)=>e?{wsId:e,workspacePath:E.select(t,e),workspaceEnvironmentConfig:f.select(t,e)}:{wsId:null,workspacePath:"",workspaceEnvironmentConfig:void 0});const A=o.createSelector((t,e,s)=>a.select(t,e).expandedPaths.includes(s)),Q=o.createSelector((t,e,s)=>a.select(t,e).loadingPaths.includes(s)),T=o.createSelector((t,e)=>{const s=a.select(t,e);return s.expandedPaths.some(n=>n!==s.workspacePath)}),U=o.createSelector((t,e)=>{const s=E.select(t,e);if(!s)return!1;const n=a.select(t,e),p=f.select(t,e);return n.workspacePath!==s?!0:n.isLoading?!1:n.isInitialized?p?.type==="remote"&&!n.isRemoteInitialized:!0}),F=new WeakMap,X=o.createSelector((t,e)=>{const s=a.select(t,e);if(!s.rootPath)return[];const n=g(s.nodes,s.rootPath);if(!n)return[];const p=new Set(s.expandedPaths),y=new Set(s.loadingPaths),I=C(s.nodes,n.children,p,y),{agentFileEdits:v,workspacePath:P,gitStatus:S}=s,x=new Set;for(const r of Object.keys(S)){const i=r.split("/");for(let l=1;l<i.length;l++)x.add(i.slice(0,l).join("/"))}return I.map(r=>{let i=r.node.path;if(P){const w=W(r.node.path,P);w!==r.node.path&&(i=w)}const l=r.node.type==="file",c=v[i],d=l?S[i]:void 0,h=!l&&x.has(i),k={isExpanded:r.isExpanded,isLoading:r.isLoading,agentEdits:c&&c.length>0?c:void 0,gitStatus:d,directoryHasChanges:h,displayPath:r.displayPath,compactedExpandedPathsKey:r.compactedExpandedPaths?.join("\0"),depth:r.depth},u=F.get(r.node);if(u&&z(u.inputs,k))return u.result;const m=c&&c.length>0||d!==void 0||h?{node:r.node,depth:r.depth,displayPath:r.displayPath,...r.compactedExpandedPaths?{compactedExpandedPaths:r.compactedExpandedPaths}:{},isExpanded:r.isExpanded,isLoading:r.isLoading,...c&&c.length>0?{agentEdits:c}:{},...d!==void 0?{gitStatus:d}:{},...h?{directoryHasChanges:!0}:{}}:r;return F.set(r.node,{inputs:k,result:m}),m})});export{B as a,K as b,O as c,V as d,q as e,R as f,M as g,J as h,G as i,a as j,X as k,T as l,A as m,Q as n,U as o,E as s};
@@ -1 +1 @@
1
- import{bm as t}from"./Bv8Gaorn.js";function _(e){return e.hostRole?e.hostRole:e.owner?"owner":e.online===!1?"offline":e.online===!0?"member":null}function s(e){return e.displayName?.trim()||e.login?.trim()||t.presence_person_unknown_label()}function i(e){const n=e.identity;if(!n)return null;const r=e.login?.trim();return n.provider==="gitlab"?r?t.presence_person_gitlabHandle_label({login:`@${r}`,host:n.host}):t.workspace_share_pinProvider_gitlab_label({host:n.host}):r?t.presence_person_githubHandle_label({login:`@${r}`}):t.workspace_share_pinProvider_github_label()}function a(e){const n=i(e);if(!n)return s(e);const r=e.displayName?.trim(),o=e.login?.trim();return r&&r.replace(/^@/,"").toLowerCase()!==o?.toLowerCase()?t.presence_person_forge_label({name:r,handle:n}):n}function u(e){const n=a(e),r=e.self?t.presence_person_you_label({name:n}):n;if(!e.hostRole)return r;const o=e.hostRole==="owner"?t.presence_role_owner():e.hostRole==="member"?t.presence_role_member():t.presence_role_guest(),l=e.online?e.viewing?t.presence_status_viewing():t.presence_status_online():t.presence_status_offline();return t.presence_person_roleStatus({name:r,role:o,status:l})}function g(e){let n=0;for(let r=0;r<e.length;r++)n=n*31+e.charCodeAt(r)|0;return`hsl(${Math.abs(n)%360} 55% 45%)`}function f(e){if(e.length===0)return null;const[n,r]=e.map(s);return e.length===1?t.presence_typing_one({name:n}):e.length===2?t.presence_typing_two_label({first:n,second:r}):t.presence_typing_many({first:n,count:e.length-1})}export{u as a,s as b,a as c,_ as d,f as e,g as p};
1
+ import{bm as t}from"./1KDVFF23.js";function _(e){return e.hostRole?e.hostRole:e.owner?"owner":e.online===!1?"offline":e.online===!0?"member":null}function s(e){return e.displayName?.trim()||e.login?.trim()||t.presence_person_unknown_label()}function i(e){const n=e.identity;if(!n)return null;const r=e.login?.trim();return n.provider==="gitlab"?r?t.presence_person_gitlabHandle_label({login:`@${r}`,host:n.host}):t.workspace_share_pinProvider_gitlab_label({host:n.host}):r?t.presence_person_githubHandle_label({login:`@${r}`}):t.workspace_share_pinProvider_github_label()}function a(e){const n=i(e);if(!n)return s(e);const r=e.displayName?.trim(),o=e.login?.trim();return r&&r.replace(/^@/,"").toLowerCase()!==o?.toLowerCase()?t.presence_person_forge_label({name:r,handle:n}):n}function u(e){const n=a(e),r=e.self?t.presence_person_you_label({name:n}):n;if(!e.hostRole)return r;const o=e.hostRole==="owner"?t.presence_role_owner():e.hostRole==="member"?t.presence_role_member():t.presence_role_guest(),l=e.online?e.viewing?t.presence_status_viewing():t.presence_status_online():t.presence_status_offline();return t.presence_person_roleStatus({name:r,role:o,status:l})}function g(e){let n=0;for(let r=0;r<e.length;r++)n=n*31+e.charCodeAt(r)|0;return`hsl(${Math.abs(n)%360} 55% 45%)`}function f(e){if(e.length===0)return null;const[n,r]=e.map(s);return e.length===1?t.presence_typing_one({name:n}):e.length===2?t.presence_typing_two_label({first:n,second:r}):t.presence_typing_many({first:n,count:e.length-1})}export{u as a,s as b,a as c,_ as d,f as e,g as p};
@@ -1 +1 @@
1
- import{l as e}from"./LGfIT3MS.js";const t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:e.IndentAction.Indent}}]},o={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}};export{t as conf,o as language};
1
+ import{l as e}from"./CN0Csvus.js";const t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:e.IndentAction.Indent}}]},o={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}};export{t as conf,o as language};