@intent-hq/web 2.390.1 → 2.391.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{caKZ9Z4U.js → -CpNnXIW.js} +1 -1
  3. package/web/app/immutable/chunks/{DRDYIFn4.js → 0R5VEpaM.js} +4 -4
  4. package/web/app/immutable/chunks/{Cp5royN1.js → 1-MeqddK.js} +1 -1
  5. package/web/app/immutable/chunks/{BYpep93f.js → 23FyIn6O.js} +1 -1
  6. package/web/app/immutable/chunks/{xfg66reS.js → 5az3n8fR.js} +1 -1
  7. package/web/app/immutable/chunks/{DCLLUF6K.js → 6JlgfFWd.js} +1 -1
  8. package/web/app/immutable/chunks/{BOmWUtDJ.js → 7-WRRruG.js} +1 -1
  9. package/web/app/immutable/chunks/{Cfr2GX8P.js → 9GL-RXJZ.js} +1 -1
  10. package/web/app/immutable/chunks/{DxyD9o0t.js → 9eqoPT_C.js} +1 -1
  11. package/web/app/immutable/chunks/{DvNAieWn.js → 9qqz3Jr0.js} +1 -1
  12. package/web/app/immutable/chunks/{D672CX3Y.js → Ao0jjYj2.js} +1 -1
  13. package/web/app/immutable/chunks/{_UjuBCOJ.js → B1lpukIv.js} +1 -1
  14. package/web/app/immutable/chunks/{CcJmuwXr.js → B26ZHg3s.js} +1 -1
  15. package/web/app/immutable/chunks/{CrpG0ldr.js → B28HQLvX.js} +1 -1
  16. package/web/app/immutable/chunks/{BIFBPuAO.js → B2Ny2uiy.js} +1 -1
  17. package/web/app/immutable/chunks/{DC_9qNLq.js → B2Q_FC4n.js} +3 -3
  18. package/web/app/immutable/chunks/{DfheqyY9.js → B2awO10u.js} +1 -1
  19. package/web/app/immutable/chunks/{C4jSaPCg.js → B3T1oiJl.js} +1 -1
  20. package/web/app/immutable/chunks/{BtmHyUSg.js → B4Yz29Q3.js} +1 -1
  21. package/web/app/immutable/chunks/{BxmKCIlL.js → B5-Plsom.js} +1 -1
  22. package/web/app/immutable/chunks/{CZfxrP3m.js → B6m0Dypi.js} +1 -1
  23. package/web/app/immutable/chunks/{BEP4JwDJ.js → B7hGbqIM.js} +1 -1
  24. package/web/app/immutable/chunks/{DxKtLuP2.js → B7hWIBzm.js} +1 -1
  25. package/web/app/immutable/chunks/{9YT9B_ti.js → B7pblHOt.js} +1 -1
  26. package/web/app/immutable/chunks/B9Nn4kQr.js +3 -0
  27. package/web/app/immutable/chunks/{CXP7dPfG.js → BAMJ8Hnj.js} +1 -1
  28. package/web/app/immutable/chunks/{DrA_ZV1y.js → BB2vaoZ2.js} +3 -3
  29. package/web/app/immutable/chunks/{BhiYNovM.js → BBcnUEuQ.js} +1 -1
  30. package/web/app/immutable/chunks/{CkmDctRH.js → BCLYeYwk.js} +1 -1
  31. package/web/app/immutable/chunks/{CLJCnlVH.js → BDeGl6ee.js} +1 -1
  32. package/web/app/immutable/chunks/{BPcIfv-A.js → BFHmbbvG.js} +2 -2
  33. package/web/app/immutable/chunks/{BbYWP3Ow.js → BFfRQORP.js} +1 -1
  34. package/web/app/immutable/chunks/{BrMDTgLg.js → BGeImWEk.js} +1 -1
  35. package/web/app/immutable/chunks/{BksTLNI4.js → BHgSQJqT.js} +1 -1
  36. package/web/app/immutable/chunks/{BJEoqPJ5.js → BJCm9MUD.js} +1 -1
  37. package/web/app/immutable/chunks/{BBPVt-9A.js → BKKCpqXK.js} +2 -2
  38. package/web/app/immutable/chunks/{CHW1UVsO.js → BLfqsc2a.js} +1 -1
  39. package/web/app/immutable/chunks/{Dc4V5sMu.js → BLtLj2yz.js} +1 -1
  40. package/web/app/immutable/chunks/{958SNXkw.js → BM2ubpAw.js} +1 -1
  41. package/web/app/immutable/chunks/{D36C5UHH.js → BM39k1x6.js} +1 -1
  42. package/web/app/immutable/chunks/{CjPEI4fg.js → BMTanQ2Z.js} +1 -1
  43. package/web/app/immutable/chunks/{BtNlG0Qg.js → BNYZa6GV.js} +1 -1
  44. package/web/app/immutable/chunks/{Cn4A9AjR.js → BOPrepKH.js} +1 -1
  45. package/web/app/immutable/chunks/{BB9aoG-e.js → BOVldAsb.js} +1 -1
  46. package/web/app/immutable/chunks/{BNs9wOFa.js → BQCtWEZ2.js} +1 -1
  47. package/web/app/immutable/chunks/{Dp8b1GoU.js → BRScUzfU.js} +1 -1
  48. package/web/app/immutable/chunks/{CgrVbtN0.js → BS9WBIBb.js} +1 -1
  49. package/web/app/immutable/chunks/{DuaPhBil.js → BSKVcPN7.js} +1 -1
  50. package/web/app/immutable/chunks/{s6kPQOkv.js → BSZu3BUb.js} +1 -1
  51. package/web/app/immutable/chunks/{D7b2VLAz.js → BT5iyspK.js} +1 -1
  52. package/web/app/immutable/chunks/{CJsEZbta.js → BT8mEFV6.js} +1 -1
  53. package/web/app/immutable/chunks/{DBAONTYG.js → BTXzEcFX.js} +2 -2
  54. package/web/app/immutable/chunks/{DZzwt3PA.js → BTvJ4T_4.js} +1 -1
  55. package/web/app/immutable/chunks/{aZdb_rCN.js → BU3y3Xes.js} +1 -1
  56. package/web/app/immutable/chunks/{BYpFXq6h.js → BU9me3Pg.js} +1 -1
  57. package/web/app/immutable/chunks/{DCs992HX.js → BUSErGiB.js} +1 -1
  58. package/web/app/immutable/chunks/{B557jpav.js → BVUW22uN.js} +1 -1
  59. package/web/app/immutable/chunks/{CXz-0Ag_.js → BVwQph9_.js} +1 -1
  60. package/web/app/immutable/chunks/{p1zR6qAw.js → BWQPB65O.js} +1 -1
  61. package/web/app/immutable/chunks/{DzDSM2LC.js → BXwdb0J5.js} +3 -3
  62. package/web/app/immutable/chunks/{BwH4Bvte.js → BZ27qIg1.js} +1 -1
  63. package/web/app/immutable/chunks/{C4iFTj8I.js → BZCcX8wj.js} +2 -2
  64. package/web/app/immutable/chunks/{CDwhmkPo.js → B_JGVEqN.js} +1 -1
  65. package/web/app/immutable/chunks/BaXq2aUL.js +411 -0
  66. package/web/app/immutable/chunks/{BNCKMxAC.js → Bb-kpHQF.js} +1 -1
  67. package/web/app/immutable/chunks/{BObTlShq.js → BcdTbj6d.js} +1 -1
  68. package/web/app/immutable/chunks/{k55njABd.js → BczcQRsN.js} +1 -1
  69. package/web/app/immutable/chunks/{B5N8LmEF.js → BdhKX9ZN.js} +1 -1
  70. package/web/app/immutable/chunks/Bheykcr9.js +1 -0
  71. package/web/app/immutable/chunks/{uvhZkGDU.js → Bhq56Jsu.js} +1 -1
  72. package/web/app/immutable/chunks/{Bviyt-Xy.js → Bhyo7hBL.js} +1 -1
  73. package/web/app/immutable/chunks/{DdNhEgdc.js → BjGqF2I6.js} +1 -1
  74. package/web/app/immutable/chunks/{BPQFiQQc.js → BkcCJyDK.js} +1 -1
  75. package/web/app/immutable/chunks/{Bq2Q6gce.js → BlzuDW6O.js} +1 -1
  76. package/web/app/immutable/chunks/{BqMJVUEP.js → BmaG8vdR.js} +1 -1
  77. package/web/app/immutable/chunks/{UTM5G-w-.js → BpezAJRw.js} +1 -1
  78. package/web/app/immutable/chunks/{Dcy1uNRG.js → Bpi8OSTE.js} +1 -1
  79. package/web/app/immutable/chunks/{goTVlBLf.js → BrL12o40.js} +1 -1
  80. package/web/app/immutable/chunks/{D8xPzBy1.js → BuyrOC4V.js} +1 -1
  81. package/web/app/immutable/chunks/{CfNIzRu8.js → Bx1P9uW7.js} +1 -1
  82. package/web/app/immutable/chunks/{BhCMc9G0.js → By2YlE-l.js} +1 -1
  83. package/web/app/immutable/chunks/{BB3L0Ahp.js → ByP-EusE.js} +1 -1
  84. package/web/app/immutable/chunks/{CSjV3uYy.js → Byobtdo1.js} +1 -1
  85. package/web/app/immutable/chunks/{CEE0831H.js → Bz80vYvX.js} +1 -1
  86. package/web/app/immutable/chunks/{pfX_M-aK.js → C-nTKxY9.js} +1 -1
  87. package/web/app/immutable/chunks/{CwxM4cLW.js → C00PRSTi.js} +1 -1
  88. package/web/app/immutable/chunks/{CiCk9_hF.js → C1MYTxgW.js} +1 -1
  89. package/web/app/immutable/chunks/{CVWwz1Ss.js → C22cBcHz.js} +1 -1
  90. package/web/app/immutable/chunks/{CpIiMADc.js → C2tSFTTb.js} +1 -1
  91. package/web/app/immutable/chunks/{D9CNxngf.js → C3JJkOFb.js} +1 -1
  92. package/web/app/immutable/chunks/{96V4v2iI.js → C3jMXj_V.js} +1 -1
  93. package/web/app/immutable/chunks/{DRND1Lha.js → C4l6men1.js} +1 -1
  94. package/web/app/immutable/chunks/{9mJbO8Tf.js → C5fxud9g.js} +1 -1
  95. package/web/app/immutable/chunks/{llldKyz-.js → C5tJUrGJ.js} +1 -1
  96. package/web/app/immutable/chunks/C8E14ldW.js +1 -0
  97. package/web/app/immutable/chunks/{mfOfLDEg.js → C9N7yhqm.js} +1 -1
  98. package/web/app/immutable/chunks/{CEpPVlB6.js → C9wxB2bb.js} +2 -2
  99. package/web/app/immutable/chunks/{CgwVRyOb.js → CA-b7pAY.js} +2 -2
  100. package/web/app/immutable/chunks/{BId1zNus.js → CAGrRNbp.js} +1 -1
  101. package/web/app/immutable/chunks/{BOVEEbKv.js → CAUJiTuz.js} +1 -1
  102. package/web/app/immutable/chunks/{CyBTM61A.js → CAUle5iU.js} +1 -1
  103. package/web/app/immutable/chunks/{BEQVnLdV.js → CCzPC_cB.js} +1 -1
  104. package/web/app/immutable/chunks/{BR1TNOav.js → CDUYzZ2W.js} +1 -1
  105. package/web/app/immutable/chunks/CDVPwJHE.js +1 -0
  106. package/web/app/immutable/chunks/{CiRuCsUo.js → CDh2mZdS.js} +1 -1
  107. package/web/app/immutable/chunks/{DpCic98X.js → CEA7jD1C.js} +1 -1
  108. package/web/app/immutable/chunks/{Dp7Hm0g0.js → CEyWnfg4.js} +1 -1
  109. package/web/app/immutable/chunks/{BwNrQXlF.js → CGmYraIa.js} +1 -1
  110. package/web/app/immutable/chunks/{yofTuS8P.js → CH6Im5iM.js} +1 -1
  111. package/web/app/immutable/chunks/{BBFoj-dS.js → CHIxjTWu.js} +1 -1
  112. package/web/app/immutable/chunks/{BQh5T3Ji.js → CHUYHKuh.js} +1 -1
  113. package/web/app/immutable/chunks/{DuiDS_zT.js → CIxnaBAb.js} +2 -2
  114. package/web/app/immutable/chunks/{UuRFnpzE.js → CK543FRe.js} +1 -1
  115. package/web/app/immutable/chunks/{D2YgP7DB.js → CKTB5KRw.js} +1 -1
  116. package/web/app/immutable/chunks/{M9xgh-VN.js → CLMwPQBQ.js} +1 -1
  117. package/web/app/immutable/chunks/{TyAuxp07.js → CLvqghA8.js} +1 -1
  118. package/web/app/immutable/chunks/{D9y3xvsP.js → COo5pTrI.js} +1 -1
  119. package/web/app/immutable/chunks/{DPttSllj.js → COofQgO0.js} +1 -1
  120. package/web/app/immutable/chunks/{Bub6uL1r.js → CPnqf2bo.js} +1 -1
  121. package/web/app/immutable/chunks/{Bcb_9iMJ.js → CR5XXYcE.js} +1 -1
  122. package/web/app/immutable/chunks/{Lai6pqjy.js → CREbzS7Z.js} +1 -1
  123. package/web/app/immutable/chunks/{DtXgUHCj.js → CRXlvdEs.js} +1 -1
  124. package/web/app/immutable/chunks/{TB9r2XJy.js → CT8vPg_p.js} +2 -2
  125. package/web/app/immutable/chunks/{hkJYqn41.js → CTgYTdXw.js} +1 -1
  126. package/web/app/immutable/chunks/{o0-ObNWE.js → CU15H7o_.js} +1 -1
  127. package/web/app/immutable/chunks/{C3dytrTL.js → CUZpLDKB.js} +1 -1
  128. package/web/app/immutable/chunks/{2q3SGbtI.js → CUgl7USU.js} +1 -1
  129. package/web/app/immutable/chunks/{DMrzeQEi.js → CV17KbhT.js} +1 -1
  130. package/web/app/immutable/chunks/{BbhtQrkZ.js → CVtLV3_x.js} +1 -1
  131. package/web/app/immutable/chunks/{etz9IKpr.js → CWXVdpgZ.js} +1 -1
  132. package/web/app/immutable/chunks/{BZYS48ON.js → CaX8Mme7.js} +1 -1
  133. package/web/app/immutable/chunks/{BNJ3edFz.js → CbB6SI0i.js} +1 -1
  134. package/web/app/immutable/chunks/{B1bJpz3G.js → Cd-qmx8U.js} +1 -1
  135. package/web/app/immutable/chunks/{zGyI6qOq.js → CdTSfppl.js} +1 -1
  136. package/web/app/immutable/chunks/{B6U9KgKY.js → CedswVQA.js} +1 -1
  137. package/web/app/immutable/chunks/{B6dUCFoz.js → CeoBhFo7.js} +1 -1
  138. package/web/app/immutable/chunks/{BJ_X8eP6.js → CfDqTHT1.js} +1 -1
  139. package/web/app/immutable/chunks/{CwEjDuJ3.js → Cgz4dZpP.js} +1 -1
  140. package/web/app/immutable/chunks/{BGniv2IE.js → ChYLETZB.js} +1 -1
  141. package/web/app/immutable/chunks/{vj8NdGWd.js → Chbrtg19.js} +1 -1
  142. package/web/app/immutable/chunks/{D54MIPdF.js → Ci6PI5sn.js} +1 -1
  143. package/web/app/immutable/chunks/{TBtn8giw.js → CiHhUIjb.js} +1 -1
  144. package/web/app/immutable/chunks/{B9vHutcJ.js → CiKoEJ2m.js} +1 -1
  145. package/web/app/immutable/chunks/{D8rVwrWL.js → CiRkFhK8.js} +1 -1
  146. package/web/app/immutable/chunks/{D4ytz2EC.js → CjpWOZGa.js} +1 -1
  147. package/web/app/immutable/chunks/{CfQcMKZg.js → CktgkomQ.js} +1 -1
  148. package/web/app/immutable/chunks/{D99jSct3.js → ClaP_sir.js} +1 -1
  149. package/web/app/immutable/chunks/{KZwZoyIt.js → Cn-Afla1.js} +1 -1
  150. package/web/app/immutable/chunks/{C3L0F6Xc.js → Cn4-Fvkn.js} +1 -1
  151. package/web/app/immutable/chunks/{z3SZgGAK.js → CnDgS0vt.js} +1 -1
  152. package/web/app/immutable/chunks/{B1CKzIA2.js → CnFZbWXv.js} +1 -1
  153. package/web/app/immutable/chunks/{GgbLp4i9.js → Cnkux63v.js} +1 -1
  154. package/web/app/immutable/chunks/{DrgHk1UN.js → CoSEZL3s.js} +1 -1
  155. package/web/app/immutable/chunks/{BB6LoQke.js → Cp-4w4r1.js} +1 -1
  156. package/web/app/immutable/chunks/{hk_M7mFx.js → CpwS8V1F.js} +1 -1
  157. package/web/app/immutable/chunks/{FXkLEPTk.js → Cq8_4net.js} +1 -1
  158. package/web/app/immutable/chunks/{C9_ZEBkB.js → Cr5mKkdD.js} +1 -1
  159. package/web/app/immutable/chunks/{VTkMkEPR.js → Cr9C4VDu.js} +1 -1
  160. package/web/app/immutable/chunks/{D7QZQ0zf.js → Crey45Oa.js} +1 -1
  161. package/web/app/immutable/chunks/{DJ9ILql1.js → Csqi0oV3.js} +1 -1
  162. package/web/app/immutable/chunks/CtfEuoOH.js +1 -0
  163. package/web/app/immutable/chunks/{ClxyT-Se.js → CwCvyVGi.js} +1 -1
  164. package/web/app/immutable/chunks/{iOLvSy8g.js → CwOdvmTo.js} +3 -3
  165. package/web/app/immutable/chunks/{BIU3Z0JX.js → CwqJ7uz4.js} +1 -1
  166. package/web/app/immutable/chunks/{Ctp-YfoS.js → CwqyVbqi.js} +3 -3
  167. package/web/app/immutable/chunks/{B_vpadVO.js → Cxc8q3rR.js} +1 -1
  168. package/web/app/immutable/chunks/{vpQRVk8F.js → Cxmepjfl.js} +1 -1
  169. package/web/app/immutable/chunks/{CzJm3Kxa.js → CyinuwPx.js} +1 -1
  170. package/web/app/immutable/chunks/{C4fj9uDh.js → CyvzL5p8.js} +3 -3
  171. package/web/app/immutable/chunks/{X0RLj3lE.js → CzxEKNiF.js} +1 -1
  172. package/web/app/immutable/chunks/{GnUYJfg_.js → D3JNbQ4D.js} +1 -1
  173. package/web/app/immutable/chunks/{TsuJPtsq.js → D3pRyooW.js} +1 -1
  174. package/web/app/immutable/chunks/{Dfp6ssYD.js → D3tqOSzT.js} +1 -1
  175. package/web/app/immutable/chunks/{Ch_2itxw.js → D49mWFig.js} +1 -1
  176. package/web/app/immutable/chunks/{CMdo0m6e.js → D59tCG3q.js} +2 -2
  177. package/web/app/immutable/chunks/{D8EcsS7V.js → D5Jk5CWk.js} +2 -2
  178. package/web/app/immutable/chunks/{BNu1GhJn.js → D5al-p9o.js} +1 -1
  179. package/web/app/immutable/chunks/{BzWT_wQw.js → D5tDAzIo.js} +1 -1
  180. package/web/app/immutable/chunks/{Jg5r77fy.js → D7QFmXLb.js} +1 -1
  181. package/web/app/immutable/chunks/{nxtepGjE.js → D9R5fzn8.js} +1 -1
  182. package/web/app/immutable/chunks/{pTmKTjdu.js → D9T_0Eev.js} +3 -3
  183. package/web/app/immutable/chunks/{DhSY0ZEq.js → DBYe3Dcp.js} +2 -2
  184. package/web/app/immutable/chunks/{Cio-rWcY.js → DDvFH8QS.js} +1 -1
  185. package/web/app/immutable/chunks/{BRaBCoIn.js → DE8II0cx.js} +1 -1
  186. package/web/app/immutable/chunks/{BVXKWrt4.js → DEr2A_-h.js} +2 -2
  187. package/web/app/immutable/chunks/{BT9lzXEu.js → DF15jnSX.js} +1 -1
  188. package/web/app/immutable/chunks/{CXEn_RGs.js → DF54qNJU.js} +1 -1
  189. package/web/app/immutable/chunks/{CIbfGsF-.js → DFKhOU69.js} +1 -1
  190. package/web/app/immutable/chunks/{BpMXdC4H.js → DG3-me8H.js} +1 -1
  191. package/web/app/immutable/chunks/{nIshZjK_.js → DGU9U1O6.js} +1 -1
  192. package/web/app/immutable/chunks/{Ll0WtNFW.js → DHkcvVzr.js} +1 -1
  193. package/web/app/immutable/chunks/{da_tvSiq.js → DHvVAxAW.js} +1 -1
  194. package/web/app/immutable/chunks/{tCg_s90g.js → DIIj7EWA.js} +1 -1
  195. package/web/app/immutable/chunks/{BI0SpAnv.js → DISm8kek.js} +1 -1
  196. package/web/app/immutable/chunks/{DZOkhMcO.js → DJSvqrCI.js} +1 -1
  197. package/web/app/immutable/chunks/{D0qNo7Oy.js → DJcR4XQR.js} +1 -1
  198. package/web/app/immutable/chunks/{BYHw69-J.js → DJqiMUht.js} +1 -1
  199. package/web/app/immutable/chunks/{i5FUlYpy.js → DLqZuVvj.js} +1 -1
  200. package/web/app/immutable/chunks/{KqqODIKw.js → DLt9OoMP.js} +1 -1
  201. package/web/app/immutable/chunks/{Cu5e4npY.js → DMEIbJII.js} +1 -1
  202. package/web/app/immutable/chunks/{BgXuXJpo.js → DMudvlKI.js} +4 -4
  203. package/web/app/immutable/chunks/{D1BvOU2l.js → DOhHP999.js} +1 -1
  204. package/web/app/immutable/chunks/{BniyCzQ9.js → DPk2fLxi.js} +1 -1
  205. package/web/app/immutable/chunks/{Dj-KLToz.js → DQNtbVVY.js} +3 -3
  206. package/web/app/immutable/chunks/{BnV9CBUH.js → DQpGArF7.js} +1 -1
  207. package/web/app/immutable/chunks/{OyqO3fO-.js → DR_b4dt8.js} +1 -1
  208. package/web/app/immutable/chunks/{R-UFG3MB.js → DRuLniWc.js} +1 -1
  209. package/web/app/immutable/chunks/{z5FcOXD5.js → DSZbBNDD.js} +1 -1
  210. package/web/app/immutable/chunks/{DFFA_QTd.js → DSs6r6NG.js} +1 -1
  211. package/web/app/immutable/chunks/{DtzJzV-4.js → DUTvR2si.js} +1 -1
  212. package/web/app/immutable/chunks/{D2YDfFKv.js → DW8fwVBf.js} +1 -1
  213. package/web/app/immutable/chunks/{CpTvA0xC.js → DWBUvNGh.js} +1 -1
  214. package/web/app/immutable/chunks/{MakwazGY.js → DWRtOXBU.js} +1 -1
  215. package/web/app/immutable/chunks/{u4iPyMwH.js → DXCHCOFX.js} +1 -1
  216. package/web/app/immutable/chunks/{Bq7odTLd.js → DXXFBdjF.js} +1 -1
  217. package/web/app/immutable/chunks/{Cn9MHQyc.js → D__sU8Ug.js} +1 -1
  218. package/web/app/immutable/chunks/{CvLVVi8w.js → DcPZfWKB.js} +1 -1
  219. package/web/app/immutable/chunks/{WoMkq5ac.js → DcU8bi_n.js} +2 -2
  220. package/web/app/immutable/chunks/{DaWmj23r.js → DcraaizU.js} +1 -1
  221. package/web/app/immutable/chunks/{C6RhewOE.js → Dd_KPYBw.js} +1 -1
  222. package/web/app/immutable/chunks/{BAAIhuts.js → DeFlL2nh.js} +1 -1
  223. package/web/app/immutable/chunks/{CWsj4Hb7.js → Dgo57zmq.js} +1 -1
  224. package/web/app/immutable/chunks/{C8tk9ZQ3.js → Dh-DCh2Y.js} +1 -1
  225. package/web/app/immutable/chunks/{CvorDgLi.js → Dh1j4V0b.js} +1 -1
  226. package/web/app/immutable/chunks/{29xygHrF.js → DhTLwmro.js} +1 -1
  227. package/web/app/immutable/chunks/{CkkpCaXs.js → Di3gErxh.js} +1 -1
  228. package/web/app/immutable/chunks/{WdSh5fl1.js → DidHgSQp.js} +2 -2
  229. package/web/app/immutable/chunks/{DogIXhAJ.js → Dk7Kxi97.js} +1 -1
  230. package/web/app/immutable/chunks/{BESb5QC3.js → Dl1AOLZu.js} +1 -1
  231. package/web/app/immutable/chunks/{CZr8f1ch.js → DlljGo_I.js} +1 -1
  232. package/web/app/immutable/chunks/{BOwgyiCF.js → DmQ5G_6J.js} +1 -1
  233. package/web/app/immutable/chunks/{7pl09QeT.js → DnzDw_9l.js} +1 -1
  234. package/web/app/immutable/chunks/{ByyFoG6W.js → DoB-G8kB.js} +1 -1
  235. package/web/app/immutable/chunks/{Dqi2LMpO.js → DoJ49Zrl.js} +1 -1
  236. package/web/app/immutable/chunks/{CFs3R4lt.js → DqtLBCnq.js} +1 -1
  237. package/web/app/immutable/chunks/{DpIgdPs7.js → Dr6-g-BO.js} +1 -1
  238. package/web/app/immutable/chunks/{Crz8kvLc.js → Drn9m8Tp.js} +1 -1
  239. package/web/app/immutable/chunks/{BWmW9W02.js → Dt_7lHy8.js} +1 -1
  240. package/web/app/immutable/chunks/{kjO__HeE.js → DuZtgB5V.js} +1 -1
  241. package/web/app/immutable/chunks/{xvadpoNC.js → DupTZXsI.js} +1 -1
  242. package/web/app/immutable/chunks/{Tt-VDGAY.js → DvUsJK3H.js} +1 -1
  243. package/web/app/immutable/chunks/{CbTbQhqy.js → DxmPtFKv.js} +1 -1
  244. package/web/app/immutable/chunks/{BFgvMDua.js → DynUeYUu.js} +1 -1
  245. package/web/app/immutable/chunks/{BjE6fvlI.js → DyreqWqr.js} +1 -1
  246. package/web/app/immutable/chunks/{vIaOEmEw.js → Em5CdgqH.js} +4 -4
  247. package/web/app/immutable/chunks/{DQ75EkSY.js → FM3MDwzB.js} +1 -1
  248. package/web/app/immutable/chunks/{B8lliwzm.js → GwtGeFMJ.js} +1 -1
  249. package/web/app/immutable/chunks/{DWH71rGR.js → HiIoMspb.js} +1 -1
  250. package/web/app/immutable/chunks/{Drl447ub.js → IxxdIKNN.js} +1 -1
  251. package/web/app/immutable/chunks/{DX2vfFPI.js → JiW1DfLK.js} +1 -1
  252. package/web/app/immutable/chunks/{DQw0Iiac.js → JvFe2B29.js} +1 -1
  253. package/web/app/immutable/chunks/{DmrchYzR.js → K0WiFC8Y.js} +1 -1
  254. package/web/app/immutable/chunks/{C3EKiijc.js → KWtYfwVq.js} +1 -1
  255. package/web/app/immutable/chunks/{CYxt6gzD.js → KaOLys0u.js} +1 -1
  256. package/web/app/immutable/chunks/{1rpeT4f8.js → OsJD3pkm.js} +1 -1
  257. package/web/app/immutable/chunks/{CfYmMj5F.js → P7zPRuFC.js} +1 -1
  258. package/web/app/immutable/chunks/{CqKjG3GQ.js → Q1bO23Hj.js} +1 -1
  259. package/web/app/immutable/chunks/{BRc67QBD.js → QeZhJHLb.js} +1 -1
  260. package/web/app/immutable/chunks/{BGrimfDs.js → QzxpbvSo.js} +1 -1
  261. package/web/app/immutable/chunks/{qhd9g-fv.js → RV6uszBL.js} +1 -1
  262. package/web/app/immutable/chunks/{LXflBOtX.js → S3jMTv3a.js} +1 -1
  263. package/web/app/immutable/chunks/{Bh9phZlQ.js → SdVpHK7d.js} +1 -1
  264. package/web/app/immutable/chunks/{l0vFyEGM.js → T9rMC0YB.js} +1 -1
  265. package/web/app/immutable/chunks/{D4d1iyeR.js → TPru2I57.js} +1 -1
  266. package/web/app/immutable/chunks/{Rzyk45bZ.js → WYNXUtt9.js} +1 -1
  267. package/web/app/immutable/chunks/{Chj-azz7.js → Xgzr3BTD.js} +1 -1
  268. package/web/app/immutable/chunks/{1B7vLvp_.js → YQwkPi_0.js} +1 -1
  269. package/web/app/immutable/chunks/{Cm0Qloca.js → ZX798KkU.js} +1 -1
  270. package/web/app/immutable/chunks/{Dd-LQrG1.js → aWBSU8IQ.js} +1 -1
  271. package/web/app/immutable/chunks/{CgGsxeG7.js → axwUS21u.js} +1 -1
  272. package/web/app/immutable/chunks/{F__rjLBg.js → bJK6npyT.js} +1 -1
  273. package/web/app/immutable/chunks/{iXPhOXJa.js → fCtMtGYt.js} +1 -1
  274. package/web/app/immutable/chunks/{C-HR_nje.js → g5QqP-QE.js} +1 -1
  275. package/web/app/immutable/chunks/{BTaBiqZj.js → gQ8VFuWN.js} +2 -2
  276. package/web/app/immutable/chunks/{C2UL5Ler.js → iQDlfKDR.js} +1 -1
  277. package/web/app/immutable/chunks/jlu1ZSD8.js +1 -0
  278. package/web/app/immutable/chunks/{CnN8HXjd.js → jyQWudgn.js} +1 -1
  279. package/web/app/immutable/chunks/{BWfc0sSK.js → k48f0Jn8.js} +1 -1
  280. package/web/app/immutable/chunks/{BiYZcl7D.js → kkKMJ9w9.js} +1 -1
  281. package/web/app/immutable/chunks/{BHy9cRzo.js → l7sDKa65.js} +1 -1
  282. package/web/app/immutable/chunks/{D7AN7xLp.js → mFWmuyR-.js} +1 -1
  283. package/web/app/immutable/chunks/{CdGOAvU7.js → n0_jgWL7.js} +1 -1
  284. package/web/app/immutable/chunks/{IXIWcEcs.js → pXrAh3i2.js} +1 -1
  285. package/web/app/immutable/chunks/{DWF5uerC.js → qWgJ-CUF.js} +2 -2
  286. package/web/app/immutable/chunks/{BsY6roFy.js → rwibDzZr.js} +1 -1
  287. package/web/app/immutable/chunks/{BtmBRuf6.js → sFief-xo.js} +1 -1
  288. package/web/app/immutable/chunks/{D6txwX4Y.js → uyQciu7h.js} +4 -4
  289. package/web/app/immutable/chunks/{Bw9XtMey.js → z0xDttNV.js} +3 -3
  290. package/web/app/immutable/chunks/{CZ9ViN3z.js → z4O7yNZ6.js} +1 -1
  291. package/web/app/immutable/chunks/zXLHCuiE.js +1 -0
  292. package/web/app/immutable/entry/{app.qraxYAYk.js → app.B0HiWR5T.js} +3 -3
  293. package/web/app/immutable/entry/start.BFcXwo9Y.js +1 -0
  294. package/web/app/immutable/nodes/{0.DJcM2RkQ.js → 0.5oa9JC3V.js} +1 -1
  295. package/web/app/immutable/nodes/{1.Jq1-N2Pd.js → 1.dLY473QL.js} +1 -1
  296. package/web/app/immutable/nodes/{10.C_zzc0gt.js → 10.Dg3iEVmH.js} +6 -6
  297. package/web/app/immutable/nodes/{11.6gj6bfPq.js → 11.PFTrUEsb.js} +1 -1
  298. package/web/app/immutable/nodes/{12.Dwdqbt9T.js → 12.DUMat2GN.js} +1 -1
  299. package/web/app/immutable/nodes/{13.jK1i4wo4.js → 13.BEiznOPk.js} +1 -1
  300. package/web/app/immutable/nodes/{14.DdHtnE9x.js → 14.DFolVj6c.js} +3 -3
  301. package/web/app/immutable/nodes/{15.DzaMQCp_.js → 15.CGEsAjgd.js} +1 -1
  302. package/web/app/immutable/nodes/{16.DFPLVaTv.js → 16.cptOJ-f9.js} +1 -1
  303. package/web/app/immutable/nodes/{17.Dylz7DBe.js → 17.BVn1LtfR.js} +1 -1
  304. package/web/app/immutable/nodes/{18.CxblUMg0.js → 18.BLC8YWHJ.js} +1 -1
  305. package/web/app/immutable/nodes/{19.cFDk8lfW.js → 19.CqJycQsd.js} +2 -2
  306. package/web/app/immutable/nodes/{2.ByMlaGl6.js → 2.BaR1WF3o.js} +4 -4
  307. package/web/app/immutable/nodes/{20.CXw8Twm7.js → 20.g9As4rvG.js} +1 -1
  308. package/web/app/immutable/nodes/{3.9JGSdcGo.js → 3.DwF_25Xt.js} +1 -1
  309. package/web/app/immutable/nodes/{4.CBjeaWO7.js → 4.ttOSy2Tq.js} +1 -1
  310. package/web/app/immutable/nodes/{5.rzCmecJm.js → 5.BVpoghsD.js} +1 -1
  311. package/web/app/immutable/nodes/{6.ltNDZwKc.js → 6.D6pOrTxH.js} +1 -1
  312. package/web/app/immutable/nodes/{7.KOkYCHHg.js → 7.BO56ByN2.js} +1 -1
  313. package/web/app/immutable/nodes/{8.DAi8MaAi.js → 8.CPtVgnSI.js} +1 -1
  314. package/web/app/immutable/nodes/{9.BzVFDUkR.js → 9.cl9L6J-I.js} +5 -5
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +45 -45
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/C8rJ090F.js +0 -1
  319. package/web/app/immutable/chunks/CL3wj1V-.js +0 -1
  320. package/web/app/immutable/chunks/CLAmm_T1.js +0 -1
  321. package/web/app/immutable/chunks/CRSiOiSR.js +0 -1
  322. package/web/app/immutable/chunks/DFh0CfhB.js +0 -1
  323. package/web/app/immutable/chunks/DmapvbAr.js +0 -3
  324. package/web/app/immutable/chunks/KnkAG0HD.js +0 -1
  325. package/web/app/immutable/chunks/fAzcgPHK.js +0 -411
  326. package/web/app/immutable/entry/start.BWAelo_H.js +0 -1
@@ -0,0 +1 @@
1
+ import{bm as r}from"./CtfEuoOH.js";import{JH as s,n_ as p,Cc as N,yJ as f,q$ as T,nZ as F,s2 as m,hu as U,LU as B,o as H,mZ as V,hq as k,F as W}from"./CiKoEJ2m.js";import{w as Y}from"./QzxpbvSo.js";import{cx as z,cf as $,cS as G,co as h,cc as M,cJ as R,d0 as C,c$ as K,dI as I,cZ as Z,c_ as J,d2 as X}from"./iQDlfKDR.js";const Q={auggie:"auggie",claudeCode:"claude-code",codex:"codex",mock:"mock",opencode:"opencode",pi:"pi",cortex:"cortex",droid:"droid",grok:"grok",unsloth:"unsloth",antigravity:"antigravity",cursor:"cursor",dsh:"dsh"},ee=new Map(Object.entries(Q).map(([e,t])=>[t,e]));function te(e,t){const o=ee.get(t);return o===void 0?void 0:e?.providers[o]}function De(e,t){const o=te(e,t);return o?.available===!0&&O(t,o.authenticated)}const je=new Set(["claude-code"]);function O(e,t){return t!==!1}const y=new WeakMap,qe=s.createSelector((e,t)=>e.agentAvailability.providerStatusMap[t]?.viaNpx===!0),w=s.createSelector(e=>{if(!z.select(e))return e.agentAvailability.providerStatusMap;const t=e.providerCatalog?.providers;if(!t)return{};let o=y.get(t);return o||(o=Object.fromEntries(p(t).map(n=>[n.id,{available:!0}])),y.set(t,o)),o}),Ne=s.createSelector(e=>e.agentAvailability.providerLoadingMap),Te=s.createSelector(e=>e.agentAvailability.providerCheckEpochMap),re=s.createSelector(e=>e.agentAvailability.hasCheckedOnce),Fe=s.createSelector(e=>Object.values(e.agentAvailability.providerLoadingMap).some(t=>t)),Ue=s.createSelector(e=>e.agentAvailability.npxStatus),Be=s.createSelector(e=>e.agentAvailability.hiddenProviders),He=s.createSelector(e=>e.agentAvailability.discoveryError),Ve=s.createSelector(e=>e.agentAvailability.discoveryRevision),We=s.createSelector(e=>e.agentAvailability.refreshModelsPending),Ye=s.createSelector(e=>e.agentAvailability.refreshModelsRevision),ze=s.createSelector(e=>e.sidebarNav?.onboardingActive&&e.userPreferences.providerSetupHydratedBackendId===e.connections.windowBackendId&&!e.userPreferences.hasCompletedProviderSetup&&$.select(e)==="owner"?G.select(e):null),$e=s.createSelector((e,t)=>p(e.providerSettings.requests).filter(o=>o.sessionId===t)),Ge=s.createSelector((e,t)=>e.providerSettings.sessions.includes(t)),Ke=s.createSelector((e,t)=>e.providerSettings.writeRevisions?.[t]??0),Ze=s.createSelector(e=>e.providerSettings.paths),Je=s.createSelector(e=>e.providerSettings.pathsRevision),g=s.createSelector(e=>h.select(e)?M.select(e)?.defaultProviderId??"":e.model.defaultProviderId);s.createSelector((e,t)=>g.select(e)===t);const oe=s.createSelector(e=>h.select(e)?Object.fromEntries((M.select(e)?.enabledProviderIds??[]).map(t=>[t,!0])):e.providerSettings.enabledProviders),A=s.createSelector((e,t)=>{if(h.select(e))return M.select(e)?.enabledProviderIds?.includes(t)===!0;const o=e.providerSettings.nonDisableableProviderIds??[];return N(e.providerSettings.enabledProviders,t,{canBeDisabled:!o.includes(t)})}),L=s.createSelector(e=>{if(h.select(e))return M.select(e)?.enabledProviderIds??[];const t=e.providerSettings.enabledProviders,o=e.providerCatalog?p(e.providerCatalog.providers):[],n=new Set(o.filter(c=>A.select(e,c.id)).map(c=>c.id)),i=g.select(e),a=f(i);a&&t[a]!==!1&&n.add(a);for(const[c,l]of Object.entries(t))l&&n.add(c);return[...n]});function ne(e,t){const o=C.select(e,t);return h.select(e)?o?.visible!==!0:!!(o?.requiresEnvVar||o?.requiresFeatureCode)}const S=s.createSelector(e=>{const t=w.select(e);return L.select(e).filter(o=>!ne(e,o)&&t[o]?.available===!0)}),Xe=s.createSelector((e,t)=>{const o=w.select(e),n=R.select(e,t);return S.select(e).filter(i=>R.select(e,i)!==n&&A.select(e,i)&&O(i,o[i]?.authenticated))}),Qe=s.createSelector(e=>re.select(e)?S.select(e):L.select(e)),et=s.createSelector(e=>{const t=f(g.select(e));return S.select(e).includes(t)}),tt=s.createSelector(e=>e.providerSettings.fastMode),rt=s.createSelector(e=>{const t=e.providerSettings.fastMode,o={...t?.confirmed};for(const[n,i]of Object.entries(t?.pending??{}))o[n]=i.enabled;return o}),ot=s.createSelector(e=>Object.values(u(e).defaults).some(t=>t.remoteLaunch!==void 0)),nt=s.createSelector(e=>e.providerSettings.fastMode?.supported?["claude-code","codex"].filter(t=>C.select(e,t)?.supportsFastMode===!0):[]),u=e=>e.providerSettings?.profiles??T,st=s.createSelector(e=>K.select(e).filter(t=>t.supportsProfiles===!0).map(t=>t.id)),at=s.createSelector((e,t)=>p(u(e).items).filter(o=>o.baseProviderId===t)),it=s.createSelector(e=>[...new Set(p(u(e).items).map(t=>t.baseProviderId))]),ct=s.createSelector(e=>u(e).defaults),lt=s.createSelector((e,t)=>u(e).defaults[t]),dt=s.createSelector((e,t)=>F(u(e).items,t)),ut=s.createSelector(e=>u(e).revision),_t=s.createSelector(e=>u(e).loadStatus),pt=s.createSelector(e=>u(e).status),ft=s.createSelector(e=>u(e).activation),ht=s.createSelector(e=>Object.fromEntries(p(u(e).mutations).map(t=>[t.id,t]))),se={},vt=s.createSelector(e=>u(e).identity??se),ae={},mt=s.createSelector(e=>u(e).setups??ae),Mt=s.createSelector(e=>(e.providerSettings?.sessions.length??0)>0);function E(e){const t=e.trim();if(!t.startsWith("tc"))return!1;const o=t.slice(2);if(o.length<50||o.length%4===1||!/^[A-Za-z0-9_-]+$/.test(o))return!1;const n=atob(o.slice(0,4).replace(/-/g,"+").replace(/_/g,"/")).charCodeAt(0);return n>=161&&n<=187||n===191}function bt(e){if(!e||typeof e!="object")return null;const t=e;for(const o of[t.collaborationName,t.prettyHostname,t.hostname])if(typeof o=="string"&&v(o))return v(o);return null}function gt(e){return[...v(e)].length<=100&&!/\p{Cc}/u.test(e)}function v(e){return e.replace(/^\p{White_Space}+|\p{White_Space}+$/gu,"")}function ie(e){const t=e.label.trim(),o=e.host&&e.port!=null?`${e.host}:${e.port}`:"";return(t&&t!==o?t:"")||e.hostname?.trim()||t||o}function ce(e){return r.layout_daemonStatus_localConnection_label()}function St(e,t){return e.isLocal?ce():ie(e)}function le(e){const t=v(e.hostname??"");return t||(E(e.label)?r.connection_unknownHost_label():e.label)}function Pt(e){const t=e.label.trim();return!t||E(t)?null:t!==le(e)?t:null}function kt(e){return e.catalogProfiles.some(t=>typeof t.remoteCompatible=="boolean")||e.defaultRemoteIncompatibility||e.defaultRemoteLaunch||e.profileDefaults.some(t=>typeof t.remoteCompatible=="boolean")?"supported":e.catalogProfiles.length>0?"unsupported":e.profilesLoadStatus==="idle"?"unknown":"unsupported"}function Rt(e,t,o){if(m(e)){const n=t.find(i=>i.providerRef===e);return n?.remoteCompatible!==!1?null:n.remoteIncompatibility??{reason:"unknown",keys:[]}}return null}const de=1440*60*1e3;function x(e,t){if(!e?.capabilities)return"missing";const o=e.observedAt?Date.parse(e.observedAt):Number.NaN;return Number.isFinite(o)&&t-o>de?"stale":"fresh"}function yt(e,t,o){if(!e||x(e,o)!=="fresh")return;const n=f(t),i=e.capabilities?.providers.find(a=>a.id===n);return i&&i.models.length>0?i.models:void 0}function Ct(e,t,o){const n=f(t),i=new Set;for(const a of e){if(a.state==="revoked"||x(a,o)!=="fresh")continue;const c=a.capabilities?.providers.find(l=>l.id===n);if(!(!c||!_e(c)))for(const l of c.models)i.add(l)}return[...i]}const ue=new Set(["cli-missing","prerequisite-missing"]);function _e(e){return e.visible!==!1&&!ue.has(e.status)}const pe=new Set(["signed-out","auth-failed"]);function fe(e){return pe.has(e)}function he(e,t){if(m(t))return!1;const o=f(t),n=e?.capabilities?.providers.find(i=>i.id===o);return!!n&&fe(n.status)}function D(e,t){return(t.defaultRemoteLaunch?t.defaultRemoteLaunch[e]==="send":!t.defaultRemoteIncompatibility?.[e])&&t.defaultHasOverrides?.[e]!==!1}function ve(e,t,o){return o.defaultRemoteLaunch?.[t]==="refused"?!1:!e.cloud&&!he(e,t)}function It(e){const{machine:t,providerRef:o}=e;return m(o)||ve(t,o,e)||D(o,e)?null:e.catalogProfiles.find(n=>n.baseProviderId===o&&n.remoteCompatible===!0)??null}const me="https://e2b.dev/dashboard",Me="https://app.northflank.com",be="https://www.agent37.com/dashboard/cloud",ge="https://vercel.com/dashboard";function Ot(e="e2b"){return e==="vercel"?ge:e==="northflank"?Me:e==="agent37"?be:me}function Se(e){switch(e){case"northflank":return{keyRejected:r.cloudMachines_northflank_state_tokenRejected_label(),unreachable:r.cloudMachines_northflank_state_unreachable_label(),ownerOnly:r.cloudMachines_northflank_error_ownerOnly(),saved:r.cloudMachines_northflank_saved_toast(),listTitle:r.cloudMachines_northflank_services_title(),dashboardOpen:r.cloudMachines_northflank_dashboardOpen_label(),deleteTitle:r.cloudMachines_northflank_delete_confirmTitle,deleteDescription:r.cloudMachines_northflank_delete_confirm_description(),creating:r.cloudMachines_northflank_start_creating(),startFailed:r.cloudMachines_northflank_startFailure_title(),startUnknown:r.cloudMachines_northflank_startFailure_unknown_cause()};case"agent37":return{keyRejected:r.cloudMachines_state_keyRejected_label(),unreachable:r.cloudMachines_agent37_state_unreachable_label(),ownerOnly:r.cloudMachines_agent37_error_ownerOnly(),saved:r.cloudMachines_agent37_saved_toast(),listTitle:r.cloudMachines_agent37_instances_title(),dashboardOpen:r.cloudMachines_agent37_dashboardOpen_label(),deleteTitle:r.cloudMachines_agent37_delete_confirmTitle,deleteDescription:r.cloudMachines_agent37_delete_confirm_description(),creating:r.cloudMachines_agent37_start_creating(),startFailed:r.cloudMachines_agent37_startFailure_title(),startUnknown:r.cloudMachines_agent37_startFailure_unknown_cause()};case"vercel":return{keyRejected:r.cloudMachines_vercel_state_tokenRejected_label(),unreachable:r.cloudMachines_vercel_state_unreachable_label(),ownerOnly:r.cloudMachines_vercel_error_ownerOnly(),saved:r.cloudMachines_vercel_saved_toast(),listTitle:r.cloudMachines_vercel_sandboxes_title(),dashboardOpen:r.cloudMachines_vercel_dashboardOpen_label(),deleteTitle:r.cloudMachines_delete_confirmTitle,deleteDescription:r.cloudMachines_vercel_delete_confirm_description(),creating:r.cloudMachines_vercel_start_creating(),startFailed:r.cloudMachines_vercel_startFailure_title(),startUnknown:r.cloudMachines_vercel_startFailure_unknown_cause()};default:return{keyRejected:r.cloudMachines_state_keyRejected_label(),unreachable:r.cloudMachines_state_unreachable_label(),ownerOnly:r.cloudMachines_error_ownerOnly(),saved:r.cloudMachines_saved_toast(),listTitle:r.cloudMachines_sandboxes_title(),dashboardOpen:r.cloudMachines_dashboardOpen_label(),deleteTitle:r.cloudMachines_delete_confirmTitle,deleteDescription:r.cloudMachines_delete_confirm_description(),creating:r.cloudMachines_start_creating(),startFailed:r.cloudMachines_startFailure_title(),startUnknown:r.cloudMachines_startFailure_unknown_cause()}}}function wt(e){return e==="vm"?r.cloudMachines_agent37_form_type_vm():r.cloudMachines_agent37_form_type_default()}function At(e){return e==="eu"?r.cloudMachines_agent37_region_eu():e==="ap-south"?r.cloudMachines_agent37_region_apSouth():r.cloudMachines_agent37_region_us()}const Pe=/^E2B\s*·\s*/u;function Lt(e,t){const o=t?`${t} · `:null;return(o&&e.name.startsWith(o)?e.name.slice(o.length):e.name.replace(Pe,"")).trim()||e.name}function Et(e){const t=U(e);return t?r.cloudMachines_size_label({vcpu:String(t.vcpu),memory:String(t.memoryGiB)}):e}function xt(e,t,o){const n=e.cloud;if(!n)return 0;const i=n.state==="running"&&t>0?Math.max(0,(o-t)/1e3):0;return Math.floor(n.runningSeconds+i)}function Dt(e){const t=Math.floor(e/60);if(t<1)return r.cloudMachines_uptime_underMinute();if(t<60)return r.cloudMachines_uptime_minutes({minutes:String(t)});const o=Math.floor(t/60),n=t%60;return n===0?r.cloudMachines_uptime_hours({hours:String(o)}):r.cloudMachines_uptime_hoursMinutes({hours:String(o),minutes:String(n)})}const ke=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2});function jt(e){const t=V(e,3600);return t===null?null:r.cloudMachines_size_hourly({amount:ke.format(t)})}function j(e){try{return new URL(e).host||e}catch{return e}}function qt(e){const t=e.find(o=>o.cloud?.state==="running")?.cloud?.relayUrl;return t?r.cloudMachines_relay_host({host:j(t)}):null}function Nt(e){const t=a=>e.filter(c=>c.cloud?.state===a).length,o=t("running"),n=t("paused"),i=[o>0?r.cloudMachines_sandboxes_running_count({count:String(o)}):null,n>0?r.cloudMachines_sandboxes_paused_count({count:String(n)}):null].filter(a=>a!==null);return i.length>0?i.join(" · "):null}function Tt(e,t){const o=new Map;for(const a of e){const c=a.cloud?.workspaceId,l=c?t(c):null,_=c&&l?c:"";let d=o.get(_);d||(d={key:_,name:l??r.cloudMachines_sandboxes_otherWorkspace(),sandboxes:[]},o.set(_,d)),d.sandboxes.push(a)}const n=a=>+(a.cloud?.state==="paused"),i=a=>Number(a.sandboxes.every(c=>n(c)));for(const a of o.values())a.sandboxes.sort((c,l)=>n(c)-n(l)||(l.cloud?.startedAt??"").localeCompare(c.cloud?.startedAt??"")||c.id.localeCompare(l.id));return[...o.values()].sort((a,c)=>i(a)-i(c)||+(a.key==="")-+(c.key==="")||a.name.localeCompare(c.name,void 0,{sensitivity:"base"})||a.key.localeCompare(c.key))}function Re(e){switch(e.code){case"cloud-profile-required":return{title:r.cloudMachines_northflank_error_profileRequired_title(),description:r.cloudMachines_northflank_error_profileRequired_description()};case"cloud-quota":return{title:r.cloudMachines_northflank_error_quota_title(),description:e.limit==="plan"?r.cloudMachines_northflank_error_quotaPlan_description():e.limit==="rate"?r.cloudMachines_northflank_error_quotaRate_description():r.cloudMachines_northflank_error_quotaConcurrency_description()};case"cloud-machine-unavailable":{const t=o=>({title:r.cloudMachines_northflank_error_unavailable_title(),description:o});switch(e.reason){case"not-configured":return t(r.cloudMachines_northflank_error_notConfigured_description());case"key-rejected":return{title:r.cloudMachines_northflank_error_tokenRejected_title(),description:r.cloudMachines_northflank_error_tokenRejected_description()};case"project-missing":return t(r.cloudMachines_northflank_error_projectMissing_description());case"permission-denied":return{title:r.cloudMachines_northflank_error_permissionDenied_title(),description:r.cloudMachines_northflank_error_permissionDenied_description()};case"template-missing":return t(r.cloudMachines_northflank_error_imageMissing_description());case"sandbox-lost":return{title:r.cloudMachines_northflank_error_serviceLost_title(),description:r.cloudMachines_northflank_error_serviceLost_description()};case"bootstrap-failed":return t(r.cloudMachines_northflank_error_bootstrapFailed_description());default:return t(r.cloudMachines_northflank_error_apiError_description())}}}}function ye(e){switch(e.code){case"cloud-profile-required":return{title:r.cloudMachines_agent37_error_profileRequired_title(),description:r.cloudMachines_agent37_error_profileRequired_description()};case"cloud-quota":return{title:r.cloudMachines_agent37_error_quota_title(),description:e.limit==="plan"?r.cloudMachines_agent37_error_quotaPlan_description():e.limit==="rate"?r.cloudMachines_agent37_error_quotaRate_description():r.cloudMachines_agent37_error_quotaConcurrency_description()};case"cloud-machine-unavailable":{const t=o=>({title:r.cloudMachines_agent37_error_unavailable_title(),description:o});switch(e.reason){case"not-configured":return t(r.cloudMachines_agent37_error_notConfigured_description());case"key-rejected":return{title:r.cloudMachines_agent37_error_keyRejected_title(),description:r.cloudMachines_agent37_error_keyRejected_description()};case"permission-denied":return{title:r.cloudMachines_agent37_error_permissionDenied_title(),description:r.cloudMachines_agent37_error_permissionDenied_description()};case"no-capacity":return{title:r.cloudMachines_agent37_error_noCapacity_title(),description:r.cloudMachines_agent37_error_noCapacity_description()};case"template-missing":return t(r.cloudMachines_agent37_error_templateMissing_description());case"sandbox-lost":return{title:r.cloudMachines_agent37_error_instanceLost_title(),description:r.cloudMachines_agent37_error_instanceLost_description()};case"bootstrap-failed":return t(r.cloudMachines_agent37_error_bootstrapFailed_description());default:return t(r.cloudMachines_agent37_error_apiError_description())}}}}function Ce(e){switch(e.code){case"cloud-profile-required":return{title:r.cloudMachines_vercel_error_profileRequired_title(),description:r.cloudMachines_vercel_error_profileRequired_description()};case"cloud-quota":return{title:r.cloudMachines_vercel_error_quota_title(),description:e.limit==="plan"?r.cloudMachines_vercel_error_quotaPlan_description():e.limit==="rate"?r.cloudMachines_vercel_error_quotaRate_description():r.cloudMachines_vercel_error_quotaConcurrency_description()};case"cloud-machine-unavailable":{const t=o=>({title:r.cloudMachines_vercel_error_unavailable_title(),description:o});switch(e.reason){case"not-configured":return t(r.cloudMachines_vercel_error_notConfigured_description());case"key-rejected":return{title:r.cloudMachines_vercel_error_keyRejected_title(),description:r.cloudMachines_vercel_error_keyRejected_description()};case"project-missing":return t(r.cloudMachines_vercel_error_projectMissing_description());case"permission-denied":return{title:r.cloudMachines_vercel_error_permissionDenied_title(),description:r.cloudMachines_vercel_error_permissionDenied_description()};case"template-missing":return t(r.cloudMachines_vercel_error_imageMissing_description());case"sandbox-lost":return{title:r.cloudMachines_vercel_error_sandboxLost_title(),description:r.cloudMachines_vercel_error_sandboxLost_description()};case"bootstrap-failed":return t(r.cloudMachines_vercel_error_bootstrapFailed_description());default:return t(r.cloudMachines_vercel_error_apiError_description())}}}}function Ft(e,t){if(e.code==="cloud-machine-unavailable"&&e.reason==="relay-unreachable")return{title:r.cloudMachines_error_relayUnreachable_title(),description:e.relayUrl?r.cloudMachines_error_relayUnreachable_description({host:j(e.relayUrl)}):r.cloudMachines_error_relayUnreachable_noHost_description()};const o=e.provider??t;if(o==="northflank")return Re(e);if(o==="agent37")return ye(e);if(o==="vercel")return Ce(e);switch(e.code){case"cloud-profile-required":return{title:r.cloudMachines_error_profileRequired_title(),description:r.cloudMachines_error_profileRequired_description()};case"cloud-quota":return{title:r.cloudMachines_error_quota_title(),description:e.limit==="plan"?r.cloudMachines_error_quotaPlan_description():e.limit==="rate"?r.cloudMachines_error_quotaRate_description():r.cloudMachines_error_quotaConcurrency_description()};case"cloud-machine-unavailable":switch(e.reason){case"not-configured":return{title:r.cloudMachines_error_unavailable_title(),description:r.cloudMachines_error_notConfigured_description()};case"key-rejected":return{title:r.cloudMachines_error_keyRejected_title(),description:r.cloudMachines_error_keyRejected_description()};case"template-missing":return{title:r.cloudMachines_error_unavailable_title(),description:r.cloudMachines_error_templateMissing_description()};case"sandbox-lost":return{title:r.cloudMachines_error_sandboxLost_title(),description:r.cloudMachines_error_sandboxLost_description()};case"bootstrap-failed":return{title:r.cloudMachines_error_unavailable_title(),description:r.cloudMachines_error_bootstrapFailed_description()};default:return{title:r.cloudMachines_error_unavailable_title(),description:r.cloudMachines_error_apiError_description()}}}}function Ut(e,t,o){const n=e.trim();if(!n)return r.cloudMachines_form_name_required();if(B(n)>H||/[\u0000-\u001f\u007f]/u.test(n))return r.cloudMachines_form_name_invalid();const i=n.toLowerCase();return t.some(a=>a.id!==o&&a.name.trim().toLowerCase()===i)?r.cloudMachines_form_name_taken():null}const Ie=s.createSelector(e=>Y.select(e)&&e.remoteMachines?.supported===!0&&e.cloudMachines?.supported===!0),Bt=s.createSelector(e=>{const t=e.cloudMachines?.providerKinds??["e2b"];return e.cloudMachines?.entries===!0?t:t.filter(o=>o==="e2b")}),Ht=s.createSelector(e=>e.cloudMachines?.diskSettings??{}),Vt=s.createSelector(e=>e.cloudMachines?.entries===!0);function q(e){return Object.values(e.cloudMachines?.providers??{}).sort((t,o)=>t.configuredAt.localeCompare(o.configuredAt)||t.name.localeCompare(o.name))}const Wt=s.createSelector(q),Yt=s.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).sort((t,o)=>(t.cloud?.startedAt??"").localeCompare(o.cloud?.startedAt??""))),zt=s.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).filter(t=>t.cloud?.state==="paused").length);function Oe(e,t){const o=t.cloud;return!o?.agentId||!o.workspaceId||!I.select(e,o.workspaceId)?null:{workspaceId:o.workspaceId,agentId:o.agentId}}const $t=s.createSelector((e,t)=>{const o={},n={};for(const i of t){const a=i.cloud?.workspaceId;if(a&&!(a in o)){const c=I.select(e,a);o[a]=c?.title||c?.name||null}n[i.id]=Oe(e,i)}return{workspaceNames:o,agentLinks:n}}),Gt=s.createSelector(e=>e.cloudMachines?.readAt??{}),Kt=s.createSelector(e=>e.cloudMachines?.pending??{}),Zt=s.createSelector(e=>e.cloudMachines?.failures??{}),Jt=s.createSelector(e=>e.cloudMachines?.validated??null);function Xt(e){if(!Ie.select(e))return null;const t=q(e);if(t.length===0)return null;const o=e.cloudMachines?.entries===!0;return t.map(n=>({cloudMachineId:n.id,label:n.provider==="e2b"?o&&(t.length>1||n.name.trim().toLowerCase()!=="e2b")?r.cloudMachines_startOn_entry_label({name:n.name}):r.cloudMachines_startOn_label():n.name.trim().toLowerCase()===k(n.provider).toLowerCase()?k(n.provider):n.provider==="northflank"?r.cloudMachines_startOn_northflank_label({name:n.name}):n.provider==="agent37"?r.cloudMachines_startOn_agent37_label({name:n.name}):r.cloudMachines_startOn_vercel_label({name:n.name}),unavailableReason:n.state==="key-rejected"?Se(n.provider).keyRejected:null,needsProfile:!we(e,n)}))}function we(e,t){const o=oe.select(e),n=e.providerSettings?.profiles?.defaults??{},i={defaultRemoteLaunch:J.select(e),defaultRemoteIncompatibility:Z.select(e)},a=d=>o[d]!==!1&&(t.agentProviders.length===0||t.agentProviders.includes(d)),c=new Set([...t.agentProviders,...Object.keys(i.defaultRemoteLaunch??{})]);for(const d of c)if(a(d)&&(n[d]?.env.length??0)>0&&D(d,i))return!0;const l=e.providerSettings?.profiles?.items,_=l?p(l):[];return X.select(e).some(d=>{if(d.remoteCompatible!==!0||!a(d.baseProviderId))return!1;const P=_.find(b=>b.providerRef===d.providerRef);return!P||P.env.some(b=>b.kind==="set")})}function Qt(e,t,o=e.cloudMachines?.providers[W]??null){if(!t)return null;const n=o,i=f(t);if(n&&n.agentProviders.length>0&&!n.agentProviders.includes(i))return r.cloudMachines_startOn_providerMissing();const a=e.providerSettings?.profiles;if(m(t)){const l=a?p(a.items).find(_=>_.providerRef===t):void 0;return l?l.remoteCompatible===!1?r.cloudMachines_startOn_needsProfile():l.env.some(_=>_.kind==="set")?null:r.cloudMachines_startOn_needsProfile():null}const c=a?.defaults?.[i];return c?c.remoteCompatible===!1?r.cloudMachines_startOn_needsProfile():c.env.some(l=>l.kind==="set")?null:r.cloudMachines_startOn_needsProfile():a?.loadStatus==="success"?r.cloudMachines_startOn_needsProfile():null}export{re as $,E as A,xt as B,x as C,yt as D,v as E,Ct as F,It as G,Rt as H,kt as I,Lt as J,g as K,S as L,it as M,je as N,Ht as O,Q as P,Wt as Q,Vt as R,Zt as S,Ie as T,Kt as U,Bt as V,Gt as W,Yt as X,Jt as Y,oe as Z,nt as _,At as a,et as a0,Fe as a1,A as a2,Qe as a3,Ue as a4,ze as a5,zt as a6,st as a7,Te as a8,lt as a9,Xe as aA,ot as aB,$t as aC,Xt as aD,gt as aE,ct as aa,He as ab,Ve as ac,tt as ad,rt as ae,Be as af,Ne as ag,We as ah,Ye as ai,Ze as aj,Je as ak,dt as al,ft as am,vt as an,ht as ao,mt as ap,pt as aq,at as ar,_t as as,ut as at,qe as au,Mt as av,Ge as aw,$e as ax,w as ay,Ke as az,wt as b,Ot as c,Ut as d,qt as e,Ft as f,Qt as g,Se as h,Nt as i,Et as j,bt as k,ve as l,D as m,ie as n,Pt as o,le as p,ce as q,St as r,Dt as s,te as t,Tt as u,jt as v,_e as w,O as x,De as y,he as z};
@@ -1,4 +1,4 @@
1
- import{t as d,bo as r,bw as n,b as h}from"./CLAmm_T1.js";import{bs as x,b_ as u,W as C,bn as g,aA as p,aC as y}from"./3SdAC2_C.js";import{s as i,f as G,c as M}from"./CcJmuwXr.js";var U=y(`<svg id="Ebene_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 466.73 533.32"><defs><style>.st0 {
1
+ import{t as d,bo as r,bw as n,b as h}from"./CtfEuoOH.js";import{bs as x,b_ as u,W as C,bn as g,aA as p,aC as y}from"./3SdAC2_C.js";import{s as i,f as G,c as M}from"./B26ZHg3s.js";var U=y(`<svg id="Ebene_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 466.73 533.32"><defs><style>.st0 {
2
2
  fill: #72716d;
3
3
  }
4
4
 
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/KZwZoyIt.js","/app/immutable/chunks/96V4v2iI.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CLAmm_T1.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/BFgvMDua.js","/app/immutable/chunks/CcJmuwXr.js","/app/immutable/chunks/BwNrQXlF.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/nxtepGjE.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/B1CKzIA2.js","/app/immutable/chunks/TB9r2XJy.js","/app/immutable/chunks/UTM5G-w-.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BwH4Bvte.js","/app/immutable/chunks/CIbfGsF-.js","/app/immutable/chunks/Cu5e4npY.js","/app/immutable/chunks/BbYWP3Ow.js","/app/immutable/chunks/B9vHutcJ.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BBFoj-dS.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/DPttSllj.js","/app/immutable/chunks/CfNIzRu8.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/xfg66reS.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BbhtQrkZ.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/_UjuBCOJ.js","/app/immutable/chunks/C2UL5Ler.js","/app/immutable/chunks/BGrimfDs.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/DWF5uerC.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/DrgHk1UN.js"])))=>i.map(i=>d[i]);
2
- import{bm as b,_ as x}from"./CLAmm_T1.js";import{m as f,JH as a,dp as P,I2 as S,zr as N,Gd as R,vV as q,r9 as W,vt as H,LM as U}from"./B9vHutcJ.js";import{f as I}from"./BbhtQrkZ.js";import{E as V}from"./TB9r2XJy.js";import{parseIntentLink as j}from"./WdSh5fl1.js";import{m as y}from"./96V4v2iI.js";import"./3SdAC2_C.js";import"./CcJmuwXr.js";import"./BwNrQXlF.js";import"./ChTqQfQN.js";import"./BbYWP3Ow.js";import{x as B,k as C,w as L}from"./BPQFiQQc.js";import{dI as D}from"./C2UL5Ler.js";import{q as M,p as z,j as $}from"./uvhZkGDU.js";const p="assistant-content",G=a.createSelector(t=>{const r=M.select(t),s=z.select(t),e=$.select(t).find(i=>i.agentId===s)??r.find(i=>i.isActive)??r.find(i=>i.messageCount>0)??r[0];return P(e?.agentId??null)}),O=new Map;function J(t,r=!1){const s=O.get(t)??{explicit:0,background:0},e={explicit:s.explicit+(r?0:1),background:s.background+(r?1:0)};return O.set(t,e),r?e:{explicit:e.explicit}}function k(t,r){const s=O.get(t);return s!==void 0&&r.explicit===s.explicit&&(r.background===void 0||r.background===s.background)}async function K(t){a.dispatch(q(t)),L.select(a.state,t).restoreStatus==="pending"&&await new Promise(r=>{const s=L.withStore(a)(t).subscribe(e=>{e.restoreStatus!=="pending"&&(r(),queueMicrotask(()=>s()))})})}function _(t,r,s){const e=L.select(a.state,s);if(!e.panels[p]||Object.keys(e.panels).some(i=>i!==p)){const i=e.panels[p],d=Object.values(e.panels).flatMap(n=>n.tabs.filter(o=>o.type!=="agent"||o.workspaceId!==f)),c=d.some(n=>n.id===i?.activeTabId)?i?.activeTabId??null:d.at(-1)?.id??null;a.dispatch(W(s,{root:{type:"panel",panelId:p},panels:{[p]:{id:p,tabs:d,activeTabId:c}},focusedPanelId:e.focusedPanelId===p?p:null,hiddenTabs:C.select(a.state,s)}))}a.dispatch(H(s,t,p,void 0,!0,void 0,!1,r.background||r.preserveFocus,void 0,r.background))}async function de(t,r={}){try{return await Q(t,r)}catch(s){return y.error(b.ui_linkHandler_notFound_title(),{description:s instanceof Error?s.message:String(s)}),!0}}async function Q(t,r){const s=/^intent:\/\/local\/([^/?#]+)\/agent\/([^/?#]+)$/.exec(t),e=t.startsWith("intent://")?j(t):null,i=e?.valid&&e.type==="workspace"?[t,e.resourceId]:/^\/workspace\/([^/?#]+)\/?$/.exec(t),d=/^https?:\/\//.test(t)&&!V(t);if(!i&&!s&&!d&&!(e?.valid&&["file","message","note","task"].includes(e.type))||i&&[f,"new"].includes(i[1]))return!1;const c=M.select(a.state),n=r.agentId?P(r.agentId):r.background?c.length===1?P(c[0].agentId):null:r.layoutId??G.select(a.state);if(!n)return!0;const o=J(n,r.background);if(await K(n),!k(n,o))return!0;if(i){const u=i[1],g=await I.workspaces.get(u);return k(n,o)?g?(a.dispatch(S(g)),_({type:"workspace",title:g.title,workspaceId:u,closable:!0},r,n),!0):(y.error(b.workspace_loader_notFound_title()),!0):!0}if(s)return T(s[1],s[2],r,n,o);if(d){const{resolveBrowserLinkForOpen:u}=await x(async()=>{const{resolveBrowserLinkForOpen:v}=await import("./KZwZoyIt.js").then(w=>w.b);return{resolveBrowserLinkForOpen:v}},__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]),import.meta.url),g=await u(t);return k(n,o)&&_({type:"browser",title:new URL(t).hostname,browserUrl:g.url,browserRequestedUrl:g.requestedUrl,workspaceId:f,closable:!0},r,n),!0}if(!e?.valid)return!1;const h=e.workspaceId??f;if(e.type==="file"){const u=await I.workspaces.get(h);return k(n,o)?u?(a.dispatch(S(u)),_({type:"file",title:e.resourceId.split("/").at(-1)??e.resourceId,filePath:e.resourceId,workspaceId:h,closable:!0,data:{line:e.line,filePathIsLiteral:!0}},r,n),!0):(y.error(b.workspace_loader_notFound_title()),!0):!0}if(e.type==="message"&&e.agentId)return T(h,e.agentId,r,n,o,e.resourceId);if(e.type!=="note"&&e.type!=="task")return!1;const l=e.workspaceId??f,[m,A]=await Promise.all([a.dispatch(N(l,e.resourceId)),Promise.resolve(D.select(a.state,l)??I.workspaces.get(l)).catch(()=>null)]);if(!k(n,o))return!0;if(!m||String(m.workspaceId)!==l)return y.error(b.ui_linkHandler_notFound_title(),{description:b.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:l})}),!0;A&&String(A.id)===l&&a.dispatch(S(A));const E=Object.entries(B.select(a.state)).some(([u,g])=>{const v=w=>w.type==="note"&&w.noteId===String(m.id)&&(w.workspaceId??u)===l;return Object.values(g.panels).some(w=>w.tabs.some(v))||C.select(a.state,u).some(v)}),F=a.state.transientUi.byWorkspaceId[l]?.noteViewModeByNoteId[String(m.id)];return!E&&(!r.background||F===void 0)&&a.dispatch(R(l,String(m.id),"editor")),_({type:"note",title:m.title,noteId:String(m.id),workspaceId:l,closable:!0},r,n),!0}async function T(t,r,s,e,i,d){const c=await I.agents.get(r,t===f?void 0:t);t===f&&c&&(t=String(c.workspaceId));const n=t===f?null:await I.workspaces.get(t);if(!k(e,i))return!0;if(!n&&t!==f||!c||String(c.workspaceId)!==t)return y.error(b.ui_linkHandler_notFound_title()),!0;if(n&&a.dispatch(S(n)),a.dispatch(U(c)),_({type:"agent",title:c.name??r,agentId:r,workspaceId:t,closable:!0},s,e),d&&!s.background){const{openMessage:o}=await x(async()=>{const{openMessage:h}=await import("./xfg66reS.js");return{openMessage:h}},__vite__mapDeps([32,33,34,35,4,5,21,22,23,24,3,8,25,15,2,13,14,7,9,16,36,37,38,39,27,17,6,12,40,19,41,42,43,44]),import.meta.url);o({workspaceId:t,agentId:r,messageId:d,contentAlreadyOpen:!0})}return!0}export{p as ASSISTANT_CONTENT_PANEL_ID,G as selectAssistantPanelLayoutId,de as showAssistantContent};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/Cn-Afla1.js","/app/immutable/chunks/C3jMXj_V.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CtfEuoOH.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/DynUeYUu.js","/app/immutable/chunks/B26ZHg3s.js","/app/immutable/chunks/CGmYraIa.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/D9R5fzn8.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CnFZbWXv.js","/app/immutable/chunks/CT8vPg_p.js","/app/immutable/chunks/BpezAJRw.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BZ27qIg1.js","/app/immutable/chunks/DFKhOU69.js","/app/immutable/chunks/DMEIbJII.js","/app/immutable/chunks/BFfRQORP.js","/app/immutable/chunks/CiKoEJ2m.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/CHIxjTWu.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/COofQgO0.js","/app/immutable/chunks/Bx1P9uW7.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/5az3n8fR.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/CVtLV3_x.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/B1lpukIv.js","/app/immutable/chunks/iQDlfKDR.js","/app/immutable/chunks/QzxpbvSo.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/qWgJ-CUF.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/CoSEZL3s.js"])))=>i.map(i=>d[i]);
2
+ import{bm as b,_ as x}from"./CtfEuoOH.js";import{m as f,JH as a,dp as P,I2 as S,zr as N,Gd as R,vV as q,r9 as W,vt as H,LM as U}from"./CiKoEJ2m.js";import{f as I}from"./CVtLV3_x.js";import{E as V}from"./CT8vPg_p.js";import{parseIntentLink as j}from"./DidHgSQp.js";import{m as y}from"./C3jMXj_V.js";import"./3SdAC2_C.js";import"./B26ZHg3s.js";import"./CGmYraIa.js";import"./ChTqQfQN.js";import"./BFfRQORP.js";import{x as B,k as C,w as L}from"./BkcCJyDK.js";import{dI as D}from"./iQDlfKDR.js";import{q as M,p as z,j as $}from"./Bhq56Jsu.js";const p="assistant-content",G=a.createSelector(t=>{const r=M.select(t),s=z.select(t),e=$.select(t).find(i=>i.agentId===s)??r.find(i=>i.isActive)??r.find(i=>i.messageCount>0)??r[0];return P(e?.agentId??null)}),O=new Map;function J(t,r=!1){const s=O.get(t)??{explicit:0,background:0},e={explicit:s.explicit+(r?0:1),background:s.background+(r?1:0)};return O.set(t,e),r?e:{explicit:e.explicit}}function k(t,r){const s=O.get(t);return s!==void 0&&r.explicit===s.explicit&&(r.background===void 0||r.background===s.background)}async function K(t){a.dispatch(q(t)),L.select(a.state,t).restoreStatus==="pending"&&await new Promise(r=>{const s=L.withStore(a)(t).subscribe(e=>{e.restoreStatus!=="pending"&&(r(),queueMicrotask(()=>s()))})})}function _(t,r,s){const e=L.select(a.state,s);if(!e.panels[p]||Object.keys(e.panels).some(i=>i!==p)){const i=e.panels[p],d=Object.values(e.panels).flatMap(n=>n.tabs.filter(o=>o.type!=="agent"||o.workspaceId!==f)),c=d.some(n=>n.id===i?.activeTabId)?i?.activeTabId??null:d.at(-1)?.id??null;a.dispatch(W(s,{root:{type:"panel",panelId:p},panels:{[p]:{id:p,tabs:d,activeTabId:c}},focusedPanelId:e.focusedPanelId===p?p:null,hiddenTabs:C.select(a.state,s)}))}a.dispatch(H(s,t,p,void 0,!0,void 0,!1,r.background||r.preserveFocus,void 0,r.background))}async function de(t,r={}){try{return await Q(t,r)}catch(s){return y.error(b.ui_linkHandler_notFound_title(),{description:s instanceof Error?s.message:String(s)}),!0}}async function Q(t,r){const s=/^intent:\/\/local\/([^/?#]+)\/agent\/([^/?#]+)$/.exec(t),e=t.startsWith("intent://")?j(t):null,i=e?.valid&&e.type==="workspace"?[t,e.resourceId]:/^\/workspace\/([^/?#]+)\/?$/.exec(t),d=/^https?:\/\//.test(t)&&!V(t);if(!i&&!s&&!d&&!(e?.valid&&["file","message","note","task"].includes(e.type))||i&&[f,"new"].includes(i[1]))return!1;const c=M.select(a.state),n=r.agentId?P(r.agentId):r.background?c.length===1?P(c[0].agentId):null:r.layoutId??G.select(a.state);if(!n)return!0;const o=J(n,r.background);if(await K(n),!k(n,o))return!0;if(i){const u=i[1],g=await I.workspaces.get(u);return k(n,o)?g?(a.dispatch(S(g)),_({type:"workspace",title:g.title,workspaceId:u,closable:!0},r,n),!0):(y.error(b.workspace_loader_notFound_title()),!0):!0}if(s)return T(s[1],s[2],r,n,o);if(d){const{resolveBrowserLinkForOpen:u}=await x(async()=>{const{resolveBrowserLinkForOpen:v}=await import("./Cn-Afla1.js").then(w=>w.b);return{resolveBrowserLinkForOpen:v}},__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]),import.meta.url),g=await u(t);return k(n,o)&&_({type:"browser",title:new URL(t).hostname,browserUrl:g.url,browserRequestedUrl:g.requestedUrl,workspaceId:f,closable:!0},r,n),!0}if(!e?.valid)return!1;const h=e.workspaceId??f;if(e.type==="file"){const u=await I.workspaces.get(h);return k(n,o)?u?(a.dispatch(S(u)),_({type:"file",title:e.resourceId.split("/").at(-1)??e.resourceId,filePath:e.resourceId,workspaceId:h,closable:!0,data:{line:e.line,filePathIsLiteral:!0}},r,n),!0):(y.error(b.workspace_loader_notFound_title()),!0):!0}if(e.type==="message"&&e.agentId)return T(h,e.agentId,r,n,o,e.resourceId);if(e.type!=="note"&&e.type!=="task")return!1;const l=e.workspaceId??f,[m,A]=await Promise.all([a.dispatch(N(l,e.resourceId)),Promise.resolve(D.select(a.state,l)??I.workspaces.get(l)).catch(()=>null)]);if(!k(n,o))return!0;if(!m||String(m.workspaceId)!==l)return y.error(b.ui_linkHandler_notFound_title(),{description:b.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:l})}),!0;A&&String(A.id)===l&&a.dispatch(S(A));const E=Object.entries(B.select(a.state)).some(([u,g])=>{const v=w=>w.type==="note"&&w.noteId===String(m.id)&&(w.workspaceId??u)===l;return Object.values(g.panels).some(w=>w.tabs.some(v))||C.select(a.state,u).some(v)}),F=a.state.transientUi.byWorkspaceId[l]?.noteViewModeByNoteId[String(m.id)];return!E&&(!r.background||F===void 0)&&a.dispatch(R(l,String(m.id),"editor")),_({type:"note",title:m.title,noteId:String(m.id),workspaceId:l,closable:!0},r,n),!0}async function T(t,r,s,e,i,d){const c=await I.agents.get(r,t===f?void 0:t);t===f&&c&&(t=String(c.workspaceId));const n=t===f?null:await I.workspaces.get(t);if(!k(e,i))return!0;if(!n&&t!==f||!c||String(c.workspaceId)!==t)return y.error(b.ui_linkHandler_notFound_title()),!0;if(n&&a.dispatch(S(n)),a.dispatch(U(c)),_({type:"agent",title:c.name??r,agentId:r,workspaceId:t,closable:!0},s,e),d&&!s.background){const{openMessage:o}=await x(async()=>{const{openMessage:h}=await import("./5az3n8fR.js");return{openMessage:h}},__vite__mapDeps([32,33,34,35,4,5,21,22,23,24,3,8,25,15,2,13,14,7,9,16,36,37,38,39,27,17,6,12,40,19,41,42,43,44]),import.meta.url);o({workspaceId:t,agentId:r,messageId:d,contentAlreadyOpen:!0})}return!0}export{p as ASSISTANT_CONTENT_PANEL_ID,G as selectAssistantPanelLayoutId,de as showAssistantContent};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CEpPVlB6.js","/app/immutable/chunks/CLAmm_T1.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/B9vHutcJ.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BBFoj-dS.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/BwNrQXlF.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BbhtQrkZ.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/TB9r2XJy.js","/app/immutable/chunks/UTM5G-w-.js","/app/immutable/chunks/CcJmuwXr.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/_UjuBCOJ.js","/app/immutable/chunks/WdSh5fl1.js","/app/immutable/chunks/96V4v2iI.js","/app/immutable/chunks/BFgvMDua.js","/app/immutable/chunks/nxtepGjE.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/B1CKzIA2.js","/app/immutable/chunks/BwH4Bvte.js","/app/immutable/chunks/CIbfGsF-.js","/app/immutable/chunks/Cu5e4npY.js","/app/immutable/chunks/BbYWP3Ow.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/DPttSllj.js","/app/immutable/chunks/CfNIzRu8.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/C2UL5Ler.js","/app/immutable/chunks/BGrimfDs.js","/app/immutable/chunks/aZdb_rCN.js","/app/immutable/chunks/BPQFiQQc.js","/app/immutable/chunks/uvhZkGDU.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"./CLAmm_T1.js";import{JH as pe}from"./B9vHutcJ.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 z}from"./3SdAC2_C.js";import{i as L}from"./BFgvMDua.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./CcJmuwXr.js";import{m as ve}from"./Cu5e4npY.js";import{e as he}from"./B1CKzIA2.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./DPttSllj.js";import{M as ke}from"./BNCKMxAC.js";import{b as be}from"./C2UL5Ler.js";import{aO as xe}from"./DBAONTYG.js";import{n as O,e as $,s as J}from"./CfNIzRu8.js";import{f as Se}from"./nxtepGjE.js";import"./TB9r2XJy.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("./CEpPVlB6.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]),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(H=>K(N,H),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var H=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(H)})}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 He(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 Oe(r){const t=await He(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 ze=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 Oe(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=ze(),N=q(m);{var H=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(H):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=z('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=z('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),Ue=z('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),qe=z('<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=z('<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=z('<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=z('<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)},H=s=>{var l=Ze();O(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=Ue();S(()=>M(l,"stroke",n(y).stroke)),O(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=qe();O(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);O(3,b,()=>$,()=>({tier:"slow"})),O(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);O(3,b,()=>J,()=>({tier:"slow"})),O(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(H,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,He as a,ut as o,Oe as r};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/C9wxB2bb.js","/app/immutable/chunks/CtfEuoOH.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/CiKoEJ2m.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/CHIxjTWu.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CGmYraIa.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CVtLV3_x.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CT8vPg_p.js","/app/immutable/chunks/BpezAJRw.js","/app/immutable/chunks/B26ZHg3s.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/B1lpukIv.js","/app/immutable/chunks/DidHgSQp.js","/app/immutable/chunks/C3jMXj_V.js","/app/immutable/chunks/DynUeYUu.js","/app/immutable/chunks/D9R5fzn8.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CnFZbWXv.js","/app/immutable/chunks/BZ27qIg1.js","/app/immutable/chunks/DFKhOU69.js","/app/immutable/chunks/DMEIbJII.js","/app/immutable/chunks/BFfRQORP.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/COofQgO0.js","/app/immutable/chunks/Bx1P9uW7.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/iQDlfKDR.js","/app/immutable/chunks/QzxpbvSo.js","/app/immutable/chunks/BU3y3Xes.js","/app/immutable/chunks/BkcCJyDK.js","/app/immutable/chunks/Bhq56Jsu.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"./CtfEuoOH.js";import{JH as pe}from"./CiKoEJ2m.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 z}from"./3SdAC2_C.js";import{i as L}from"./DynUeYUu.js";import{c as ge,e as me,f as te,g as ce,s as M}from"./B26ZHg3s.js";import{m as ve}from"./DMEIbJII.js";import{e as he}from"./CnFZbWXv.js";import{t as Ce}from"./DAsc1V4f.js";import{F as we}from"./COofQgO0.js";import{M as ke}from"./Bb-kpHQF.js";import{b as be}from"./iQDlfKDR.js";import{aO as xe}from"./BTXzEcFX.js";import{n as O,e as $,s as J}from"./Bx1P9uW7.js";import{f as Se}from"./D9R5fzn8.js";import"./CT8vPg_p.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("./C9wxB2bb.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]),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(H=>K(N,H),[()=>k.shared_lineChangeStats_calculating_label()]),f(_,m)},V=_=>{var m=Me(),N=X(m);{var H=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(H)})}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 He(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 Oe(r){const t=await He(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 ze=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 Oe(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=ze(),N=q(m);{var H=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(H):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=z('<circle cx="12" cy="12" r="10" stroke-width="2" fill="none"></circle>'),Ze=z('<path d="M7 12.5L10.5 16L17 9" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>'),Ue=z('<path d="M5 19L19 5" stroke-width="2.5" stroke-linecap="round"></path>'),qe=z('<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=z('<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=z('<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=z('<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)},H=s=>{var l=Ze();O(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},Z=s=>{var l=Ue();S(()=>M(l,"stroke",n(y).stroke)),O(3,l,()=>$,()=>({tier:"slow"})),f(s,l)},j=s=>{var l=qe();O(3,l,()=>J,()=>({tier:"slow"})),f(s,l)},x=s=>{var l=Ge(),b=X(l),I=T(b);O(3,b,()=>$,()=>({tier:"slow"})),O(3,I,()=>J,()=>({tier:"slow"})),f(s,l)},Q=s=>{var l=We(),b=X(l),I=T(b);O(3,b,()=>J,()=>({tier:"slow"})),O(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(H,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,He as a,ut as o,Oe as r};
@@ -1,2 +1,2 @@
1
- import{t as se,bo as a,bw as ie,b as ae}from"./CLAmm_T1.js";import{bs as le,bV as oe,br as ge,ca as ue,bH as q,a5 as p,bA as m,bS as V,aD as C,b_ as P,W as w,bn as ce,c9 as W,aA as l,bl as he,bO as de,aB as I}from"./3SdAC2_C.js";import{i as me}from"./BFgvMDua.js";import{g as Y,i as fe}from"./B1CKzIA2.js";import{h as ve}from"./BKD7o1lQ.js";import{f as v,g as be}from"./CcJmuwXr.js";import{H as R}from"./CcNhqKh5.js";import{C as _e}from"./96V4v2iI.js";function A(r){const t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return r.replace(/[&<>"']/g,n=>t[n])}const pe=300,Ce=2e6,xe=1e5,u=new Map;let X=0;function Q(r,t){return`${t}\0${r}`}function Z(r,t){const n=Q(r,t),s=u.get(n);return s===void 0?null:(u.delete(n),u.set(n,s),s)}function F(r){const t=u.get(r);t!==void 0&&(X-=r.length+t.length,u.delete(r))}function He(r,t){F(r);const n=r.length+t.length;if(!(n>xe)){for(;u.size>=pe||u.size>0&&X+n>Ce;){const s=u.keys().next().value;if(s===void 0)break;F(s)}u.set(r,t),X+=n}}function ye(){return new Promise(r=>{typeof requestIdleCallback=="function"?requestIdleCallback(()=>r(),{timeout:200}):setTimeout(r,0)})}function Ne(r,t){try{return t&&R.getLanguage(t)?R.highlight(r,{language:t}).value:R.highlightAuto(r).value}catch{return A(r)}}const k=new Map;function Le(r,t,n){const s=Q(r,t),f=u.get(s);if(f!==void 0)return Promise.resolve(f);const c=k.get(s);if(c)return c.staleChecks.push(n??(()=>!1)),c.promise;const g={staleChecks:[n??(()=>!1)],promise:Promise.resolve("")};return g.promise=ye().then(()=>{if(k.get(s)===g&&k.delete(s),g.staleChecks.every(x=>x()))return A(r);const b=Ne(r,t);return He(s,b),b}),k.set(s,g),g.promise}var we=I("<div> </div>"),ke=I('<div class="line-numbers-gutter select-none text-right flex-shrink-0 py-3 pl-3 pr-2 svelte-1irg7m4"></div>'),Ae=I("<div></div>"),Ie=I('<div><div class="absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity z-10"><!></div> <div class="flex"><!> <div><pre><code></code></pre></div></div></div>');function Se(r,t){if(new.target)return se({component:Se,...r});le(t,!0);const n=a(t,"code",7,""),s=a(t,"language",7,"plaintext"),f=a(t,"showLineNumbers",7,!1),c=a(t,"startLineNumber",7,1),g=a(t,"highlightLines",23,()=>[]),b=a(t,"fileName",7,""),x=a(t,"filename",7,""),H=a(t,"maxHeight",7,void 0),S=a(t,"noBorder",7,!1),y=a(t,"noMargin",7,!1),M=a(t,"doScroll",7,!0),B=a(t,"className",7,"");let N=oe(ge(Z(n(),s())??A(n())));ue(()=>{const e=n(),i=s(),h=Z(e,i);if(h!==null){q(N,h,!0);return}q(N,A(e),!0);let o=!1;return Le(e,i,()=>o).then(d=>{o||q(N,d,!0)}),()=>{o=!0}});const j=W(()=>C(N).split(`
1
+ import{t as se,bo as a,bw as ie,b as ae}from"./CtfEuoOH.js";import{bs as le,bV as oe,br as ge,ca as ue,bH as q,a5 as p,bA as m,bS as V,aD as C,b_ as P,W as w,bn as ce,c9 as W,aA as l,bl as he,bO as de,aB as I}from"./3SdAC2_C.js";import{i as me}from"./DynUeYUu.js";import{g as Y,i as fe}from"./CnFZbWXv.js";import{h as ve}from"./BKD7o1lQ.js";import{f as v,g as be}from"./B26ZHg3s.js";import{H as R}from"./CcNhqKh5.js";import{C as _e}from"./C3jMXj_V.js";function A(r){const t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return r.replace(/[&<>"']/g,n=>t[n])}const pe=300,Ce=2e6,xe=1e5,u=new Map;let X=0;function Q(r,t){return`${t}\0${r}`}function Z(r,t){const n=Q(r,t),s=u.get(n);return s===void 0?null:(u.delete(n),u.set(n,s),s)}function F(r){const t=u.get(r);t!==void 0&&(X-=r.length+t.length,u.delete(r))}function He(r,t){F(r);const n=r.length+t.length;if(!(n>xe)){for(;u.size>=pe||u.size>0&&X+n>Ce;){const s=u.keys().next().value;if(s===void 0)break;F(s)}u.set(r,t),X+=n}}function ye(){return new Promise(r=>{typeof requestIdleCallback=="function"?requestIdleCallback(()=>r(),{timeout:200}):setTimeout(r,0)})}function Ne(r,t){try{return t&&R.getLanguage(t)?R.highlight(r,{language:t}).value:R.highlightAuto(r).value}catch{return A(r)}}const k=new Map;function Le(r,t,n){const s=Q(r,t),f=u.get(s);if(f!==void 0)return Promise.resolve(f);const c=k.get(s);if(c)return c.staleChecks.push(n??(()=>!1)),c.promise;const g={staleChecks:[n??(()=>!1)],promise:Promise.resolve("")};return g.promise=ye().then(()=>{if(k.get(s)===g&&k.delete(s),g.staleChecks.every(x=>x()))return A(r);const b=Ne(r,t);return He(s,b),b}),k.set(s,g),g.promise}var we=I("<div> </div>"),ke=I('<div class="line-numbers-gutter select-none text-right flex-shrink-0 py-3 pl-3 pr-2 svelte-1irg7m4"></div>'),Ae=I("<div></div>"),Ie=I('<div><div class="absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity z-10"><!></div> <div class="flex"><!> <div><pre><code></code></pre></div></div></div>');function Se(r,t){if(new.target)return se({component:Se,...r});le(t,!0);const n=a(t,"code",7,""),s=a(t,"language",7,"plaintext"),f=a(t,"showLineNumbers",7,!1),c=a(t,"startLineNumber",7,1),g=a(t,"highlightLines",23,()=>[]),b=a(t,"fileName",7,""),x=a(t,"filename",7,""),H=a(t,"maxHeight",7,void 0),S=a(t,"noBorder",7,!1),y=a(t,"noMargin",7,!1),M=a(t,"doScroll",7,!0),B=a(t,"className",7,"");let N=oe(ge(Z(n(),s())??A(n())));ue(()=>{const e=n(),i=s(),h=Z(e,i);if(h!==null){q(N,h,!0);return}q(N,A(e),!0);let o=!1;return Le(e,i,()=>o).then(d=>{o||q(N,d,!0)}),()=>{o=!0}});const j=W(()=>C(N).split(`
2
2
  `)),U=W(()=>Array.from({length:C(j).length},(e,i)=>c()+i));var $={get code(){return n()},set code(e=""){n(e),l()},get language(){return s()},set language(e="plaintext"){s(e),l()},get showLineNumbers(){return f()},set showLineNumbers(e=!1){f(e),l()},get startLineNumber(){return c()},set startLineNumber(e=1){c(e),l()},get highlightLines(){return g()},set highlightLines(e=[]){g(e),l()},get fileName(){return b()},set fileName(e=""){b(e),l()},get filename(){return x()},set filename(e=""){x(e),l()},get maxHeight(){return H()},set maxHeight(e=void 0){H(e),l()},get noBorder(){return S()},set noBorder(e=!1){S(e),l()},get noMargin(){return y()},set noMargin(e=!1){y(e),l()},get doScroll(){return M()},set doScroll(e=!0){M(e),l()},get className(){return B()},set className(e=""){B(e),l()},$set:ie,$on:(e,i)=>ae(t,e,i)},_=Ie();let D;var G=p(_),ee=p(G);_e(ee,{get text(){return n()},size:"xs",class:"bg-background/80 hover:bg-hover text-muted-foreground hover:text-foreground backdrop-blur-sm"}),m(G);var J=V(G,2),K=p(J);{var te=e=>{var i=ke();Y(i,20,()=>C(U),h=>h,(h,o)=>{var d=we();let L;var re=he(d,!0);P(ne=>{L=v(d,1,"line-number svelte-1irg7m4",null,L,{highlighted:ne}),de(re,o)},[()=>g().includes(o)]),w(h,d)}),m(i),w(e,i)};me(K,e=>{f()&&e(te)})}var E=V(K,2),T=p(E);let O;var z=p(T);return Y(z,21,()=>C(j),fe,(e,i,h)=>{var o=Ae();let d;ve(o,()=>C(i)||" ",!0),m(o),P(L=>d=v(o,1,"code-line svelte-1irg7m4",null,d,{highlighted:L}),[()=>g().includes(c()+h)]),w(e,o)}),m(z),m(T),m(E),m(J),m(_),P(()=>{D=v(_,1,`code-block-container group rounded-md overflow-hidden relative ${B()??""}`,"svelte-1irg7m4",D,{"mt-3":!y(),"mb-5":!y(),"no-border":S()}),be(_,H()?`max-height: ${H()}px; overflow-y: auto;`:""),v(E,1,`flex-1 ${M()?"overflow-x-auto":""}`),O=v(T,1,"code-pre py-3 pr-3 bg-background! svelte-1irg7m4",null,O,{"pl-3":!f()}),v(z,1,`hljs language-${s()??""}`,"svelte-1irg7m4")}),w(r,_),ce($)}export{Se as C};
@@ -1 +1 @@
1
- import{t as be,bo as a,bm as u,bw as pe,b as me}from"./CLAmm_T1.js";import{bs as xe,a7 as w,ay as c,W as o,bn as Ee,aA as n,bS as E,aD as O,bH as Se,a5 as Te,bA as Pe,c9 as ie,aB as de,bV as ke,be as S,b$ as T,b_ as P,bO as k}from"./3SdAC2_C.js";import{i as m}from"./BFgvMDua.js";import{c as v}from"./BwH4Bvte.js";import{b as Ce}from"./CcJmuwXr.js";import{F as De,cA as Fe,be as We,ab as Le,a9 as Oe,a5 as Me,aU as ze,ce as Ae}from"./DPttSllj.js";import{f as Ve}from"./nxtepGjE.js";import"./TB9r2XJy.js";import{l as ye,d as Ie,M as Ue,c as C}from"./Dd-LQrG1.js";import"./hkJYqn41.js";var Be=de("<!> <!> <!> <!> <!> <!>",1),He=de("<span><!></span>"),Ne=de("<!> <!>",1);function je(ge,r){if(new.target)return be({component:je,...ge});xe(r,!0);const fe=e=>{var h=Be(),M=c(h);{var se=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return We},get checked(){return X()},closeOnSelect:!1,get onCheckedChange(){return Y()},children:(f,L)=>{S();var l=T();P(()=>k(l,R())),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(M,t=>{Q()&&t(se)})}var z=E(M,2);{var D=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Le},get checked(){return $()},closeOnSelect:!1,get onCheckedChange(){return ee()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_allFilesExpanded_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(z,t=>{Z()&&t(D)})}var le=E(z,2);{var A=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Oe},get checked(){return y()},closeOnSelect:!1,get onCheckedChange(){return I()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_foldUnchanged_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(le,t=>{V()&&t(A)})}var F=E(le,2);{var oe=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Me},get checked(){return B()},closeOnSelect:!1,get onCheckedChange(){return H()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_wrapLines_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(F,t=>{U()&&t(oe)})}var x=E(F,2);{var b=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return ze},get checked(){return j()},closeOnSelect:!1,get onCheckedChange(){return q()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_splitView_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(x,t=>{N()&&t(b)})}var p=E(x,2);{var W=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Ae},get checked(){return J()},closeOnSelect:!1,get onCheckedChange(){return K()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_diffIndicators_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(p,t=>{G()&&t(W)})}o(e,h)};let V=a(r,"showFold",7,!0),y=a(r,"foldEnabled",7,!1),I=a(r,"onToggleFold",7),U=a(r,"showWrap",7,!0),B=a(r,"wrapEnabled",7,!1),H=a(r,"onToggleWrap",7),N=a(r,"showSplit",7,!0),j=a(r,"splitEnabled",7,!1),q=a(r,"onToggleSplit",7),G=a(r,"showDiff",7,!1),J=a(r,"diffEnabled",7,!1),K=a(r,"onToggleDiff",7),Q=a(r,"showPreview",7,!1),R=a(r,"previewLabel",23,()=>u.ui_viewSettings_markdownPreview_label()),X=a(r,"previewEnabled",7,!1),Y=a(r,"onTogglePreview",7),Z=a(r,"showExpand",7,!1),$=a(r,"expanded",7,!1),ee=a(r,"onToggleExpand",7),te=a(r,"class",7,""),re=a(r,"size",7,"xs"),ae=a(r,"embedded",7,!1),ne=ke(!1);const ce={xs:"icon-xs",sm:"icon-sm",md:"icon"};var _e={get showFold(){return V()},set showFold(e=!0){V(e),n()},get foldEnabled(){return y()},set foldEnabled(e=!1){y(e),n()},get onToggleFold(){return I()},set onToggleFold(e){I(e),n()},get showWrap(){return U()},set showWrap(e=!0){U(e),n()},get wrapEnabled(){return B()},set wrapEnabled(e=!1){B(e),n()},get onToggleWrap(){return H()},set onToggleWrap(e){H(e),n()},get showSplit(){return N()},set showSplit(e=!0){N(e),n()},get splitEnabled(){return j()},set splitEnabled(e=!1){j(e),n()},get onToggleSplit(){return q()},set onToggleSplit(e){q(e),n()},get showDiff(){return G()},set showDiff(e=!1){G(e),n()},get diffEnabled(){return J()},set diffEnabled(e=!1){J(e),n()},get onToggleDiff(){return K()},set onToggleDiff(e){K(e),n()},get showPreview(){return Q()},set showPreview(e=!1){Q(e),n()},get previewLabel(){return R()},set previewLabel(e=u.ui_viewSettings_markdownPreview_label()){R(e),n()},get previewEnabled(){return X()},set previewEnabled(e=!1){X(e),n()},get onTogglePreview(){return Y()},set onTogglePreview(e){Y(e),n()},get showExpand(){return Z()},set showExpand(e=!1){Z(e),n()},get expanded(){return $()},set expanded(e=!1){$(e),n()},get onToggleExpand(){return ee()},set onToggleExpand(e){ee(e),n()},get class(){return te()},set class(e=""){te(e),n()},get size(){return re()},set size(e="xs"){re(e),n()},get embedded(){return ae()},set embedded(e=!1){ae(e),n()},$set:pe,$on:(e,h)=>me(r,e,h)},ue=w(),ve=c(ue);{var we=e=>{fe(e)},he=e=>{var h=w(),M=c(h);v(M,()=>Ue,(se,z)=>{z(se,{get open(){return O(ne)},set open(D){Se(ne,D,!0)},children:(D,le)=>{var A=Ne(),F=c(A);{const x=(b,p)=>{let W=()=>(p?.()).props;var t=He();Ce(t,()=>({class:"contents",...W()}));var s=Te(t);{let i=ie(()=>u.ui_viewSettings_trigger_tooltip()),d=ie(()=>u.ui_viewSettings_trigger_tooltip());Ve(s,{variant:"ghost-light",get size(){return ce[re()]},get tooltip(){return O(i)},tooltipSide:"bottom",get"aria-label"(){return O(d)},get"aria-expanded"(){return O(ne)},get class(){return te()},"data-testid":"view-settings-trigger",children:(g,f)=>{De(g,{get icon(){return Fe},size:"xs"})},$$slots:{default:!0}})}Pe(t),o(b,t)};v(F,()=>ye,(b,p)=>{p(b,{child:x,$$slots:{child:!0}})})}var oe=E(F,2);{let x=ie(()=>u.ui_dropdownMenu_ariaLabel());v(oe,()=>Ie,(b,p)=>{p(b,{align:"end",class:"w-56 p-3!",get"aria-label"(){return O(x)},children:(W,t)=>{fe(W)},$$slots:{default:!0}})})}o(D,A)},$$slots:{default:!0}})}),o(e,h)};m(ve,e=>{ae()?e(we):e(he,-1)})}return o(ge,ue),Ee(_e)}export{je as V};
1
+ import{t as be,bo as a,bm as u,bw as pe,b as me}from"./CtfEuoOH.js";import{bs as xe,a7 as w,ay as c,W as o,bn as Ee,aA as n,bS as E,aD as O,bH as Se,a5 as Te,bA as Pe,c9 as ie,aB as de,bV as ke,be as S,b$ as T,b_ as P,bO as k}from"./3SdAC2_C.js";import{i as m}from"./DynUeYUu.js";import{c as v}from"./BZ27qIg1.js";import{b as Ce}from"./B26ZHg3s.js";import{F as De,cA as Fe,be as We,ab as Le,a9 as Oe,a5 as Me,aU as ze,ce as Ae}from"./COofQgO0.js";import{f as Ve}from"./D9R5fzn8.js";import"./CT8vPg_p.js";import{l as ye,d as Ie,M as Ue,c as C}from"./aWBSU8IQ.js";import"./CTgYTdXw.js";var Be=de("<!> <!> <!> <!> <!> <!>",1),He=de("<span><!></span>"),Ne=de("<!> <!>",1);function je(ge,r){if(new.target)return be({component:je,...ge});xe(r,!0);const fe=e=>{var h=Be(),M=c(h);{var se=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return We},get checked(){return X()},closeOnSelect:!1,get onCheckedChange(){return Y()},children:(f,L)=>{S();var l=T();P(()=>k(l,R())),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(M,t=>{Q()&&t(se)})}var z=E(M,2);{var D=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Le},get checked(){return $()},closeOnSelect:!1,get onCheckedChange(){return ee()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_allFilesExpanded_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(z,t=>{Z()&&t(D)})}var le=E(z,2);{var A=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Oe},get checked(){return y()},closeOnSelect:!1,get onCheckedChange(){return I()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_foldUnchanged_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(le,t=>{V()&&t(A)})}var F=E(le,2);{var oe=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Me},get checked(){return B()},closeOnSelect:!1,get onCheckedChange(){return H()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_wrapLines_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(F,t=>{U()&&t(oe)})}var x=E(F,2);{var b=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return ze},get checked(){return j()},closeOnSelect:!1,get onCheckedChange(){return q()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_splitView_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(x,t=>{N()&&t(b)})}var p=E(x,2);{var W=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Ae},get checked(){return J()},closeOnSelect:!1,get onCheckedChange(){return K()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_diffIndicators_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(p,t=>{G()&&t(W)})}o(e,h)};let V=a(r,"showFold",7,!0),y=a(r,"foldEnabled",7,!1),I=a(r,"onToggleFold",7),U=a(r,"showWrap",7,!0),B=a(r,"wrapEnabled",7,!1),H=a(r,"onToggleWrap",7),N=a(r,"showSplit",7,!0),j=a(r,"splitEnabled",7,!1),q=a(r,"onToggleSplit",7),G=a(r,"showDiff",7,!1),J=a(r,"diffEnabled",7,!1),K=a(r,"onToggleDiff",7),Q=a(r,"showPreview",7,!1),R=a(r,"previewLabel",23,()=>u.ui_viewSettings_markdownPreview_label()),X=a(r,"previewEnabled",7,!1),Y=a(r,"onTogglePreview",7),Z=a(r,"showExpand",7,!1),$=a(r,"expanded",7,!1),ee=a(r,"onToggleExpand",7),te=a(r,"class",7,""),re=a(r,"size",7,"xs"),ae=a(r,"embedded",7,!1),ne=ke(!1);const ce={xs:"icon-xs",sm:"icon-sm",md:"icon"};var _e={get showFold(){return V()},set showFold(e=!0){V(e),n()},get foldEnabled(){return y()},set foldEnabled(e=!1){y(e),n()},get onToggleFold(){return I()},set onToggleFold(e){I(e),n()},get showWrap(){return U()},set showWrap(e=!0){U(e),n()},get wrapEnabled(){return B()},set wrapEnabled(e=!1){B(e),n()},get onToggleWrap(){return H()},set onToggleWrap(e){H(e),n()},get showSplit(){return N()},set showSplit(e=!0){N(e),n()},get splitEnabled(){return j()},set splitEnabled(e=!1){j(e),n()},get onToggleSplit(){return q()},set onToggleSplit(e){q(e),n()},get showDiff(){return G()},set showDiff(e=!1){G(e),n()},get diffEnabled(){return J()},set diffEnabled(e=!1){J(e),n()},get onToggleDiff(){return K()},set onToggleDiff(e){K(e),n()},get showPreview(){return Q()},set showPreview(e=!1){Q(e),n()},get previewLabel(){return R()},set previewLabel(e=u.ui_viewSettings_markdownPreview_label()){R(e),n()},get previewEnabled(){return X()},set previewEnabled(e=!1){X(e),n()},get onTogglePreview(){return Y()},set onTogglePreview(e){Y(e),n()},get showExpand(){return Z()},set showExpand(e=!1){Z(e),n()},get expanded(){return $()},set expanded(e=!1){$(e),n()},get onToggleExpand(){return ee()},set onToggleExpand(e){ee(e),n()},get class(){return te()},set class(e=""){te(e),n()},get size(){return re()},set size(e="xs"){re(e),n()},get embedded(){return ae()},set embedded(e=!1){ae(e),n()},$set:pe,$on:(e,h)=>me(r,e,h)},ue=w(),ve=c(ue);{var we=e=>{fe(e)},he=e=>{var h=w(),M=c(h);v(M,()=>Ue,(se,z)=>{z(se,{get open(){return O(ne)},set open(D){Se(ne,D,!0)},children:(D,le)=>{var A=Ne(),F=c(A);{const x=(b,p)=>{let W=()=>(p?.()).props;var t=He();Ce(t,()=>({class:"contents",...W()}));var s=Te(t);{let i=ie(()=>u.ui_viewSettings_trigger_tooltip()),d=ie(()=>u.ui_viewSettings_trigger_tooltip());Ve(s,{variant:"ghost-light",get size(){return ce[re()]},get tooltip(){return O(i)},tooltipSide:"bottom",get"aria-label"(){return O(d)},get"aria-expanded"(){return O(ne)},get class(){return te()},"data-testid":"view-settings-trigger",children:(g,f)=>{De(g,{get icon(){return Fe},size:"xs"})},$$slots:{default:!0}})}Pe(t),o(b,t)};v(F,()=>ye,(b,p)=>{p(b,{child:x,$$slots:{child:!0}})})}var oe=E(F,2);{let x=ie(()=>u.ui_dropdownMenu_ariaLabel());v(oe,()=>Ie,(b,p)=>{p(b,{align:"end",class:"w-56 p-3!",get"aria-label"(){return O(x)},children:(W,t)=>{fe(W)},$$slots:{default:!0}})})}o(D,A)},$$slots:{default:!0}})}),o(e,h)};m(ve,e=>{ae()?e(we):e(he,-1)})}return o(ge,ue),Ee(_e)}export{je as V};
@@ -1 +1 @@
1
- import{g as l,r as m,d as n}from"./FXkLEPTk.js";import{p}from"./BJ_X8eP6.js";import{b as t,ay as o}from"./BgXuXJpo.js";import{M as u,a as f}from"./nIshZjK_.js";var c=f().RailroadEbnf.parser.LangiumParser,s=t(e=>{const r=e.alternatives.map(E);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformChoice"),E=t(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),i=t(e=>{switch(e.$type){case"EbnfTerminal":return{type:"terminal",value:e.value};case"EbnfNonTerminal":return{type:"nonterminal",name:e.name};case"EbnfSpecial":return{type:"special",text:e.text};case"EbnfGroup":return s(e.element);case"EbnfOptional":return{type:"optional",element:s(e.element)};case"EbnfRepetition":return{type:"repetition",element:s(e.element),min:0,max:1/0};default:throw new Error(`Unsupported EBNF primary node: ${e.$type}`)}},"transformPrimary"),b=t((e,r)=>{switch(r.$type){case"EbnfOptionalPostfix":return{type:"optional",element:e};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:e,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:e,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[e,{type:"terminal",value:"-"},i(r.except)]};default:throw new Error(`Unsupported EBNF postfix node: ${r.$type}`)}},"transformPostfix"),y=t(e=>e.postfixes.reduce((r,a)=>b(r,a),i(e.base)),"transformTerm"),d=t(e=>({name:e.name,definition:s(e.definition)}),"transformRule"),v=t(e=>{p(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(d(r)))},"populateDb"),g={parse:t(e=>{n.clear(),o.debug("[EBNF Parser] Starting Langium parse");const r=c.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const a=r.value;o.debug("[EBNF Parser] Parsed rules:",a.rules.length),v(a),o.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:n}},N={parser:g,db:n,renderer:m,styles:l};export{N as diagram};
1
+ import{g as l,r as m,d as n}from"./Cq8_4net.js";import{p}from"./CfDqTHT1.js";import{b as t,ay as o}from"./DMudvlKI.js";import{M as u,a as f}from"./DGU9U1O6.js";var c=f().RailroadEbnf.parser.LangiumParser,s=t(e=>{const r=e.alternatives.map(E);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformChoice"),E=t(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),i=t(e=>{switch(e.$type){case"EbnfTerminal":return{type:"terminal",value:e.value};case"EbnfNonTerminal":return{type:"nonterminal",name:e.name};case"EbnfSpecial":return{type:"special",text:e.text};case"EbnfGroup":return s(e.element);case"EbnfOptional":return{type:"optional",element:s(e.element)};case"EbnfRepetition":return{type:"repetition",element:s(e.element),min:0,max:1/0};default:throw new Error(`Unsupported EBNF primary node: ${e.$type}`)}},"transformPrimary"),b=t((e,r)=>{switch(r.$type){case"EbnfOptionalPostfix":return{type:"optional",element:e};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:e,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:e,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[e,{type:"terminal",value:"-"},i(r.except)]};default:throw new Error(`Unsupported EBNF postfix node: ${r.$type}`)}},"transformPostfix"),y=t(e=>e.postfixes.reduce((r,a)=>b(r,a),i(e.base)),"transformTerm"),d=t(e=>({name:e.name,definition:s(e.definition)}),"transformRule"),v=t(e=>{p(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(d(r)))},"populateDb"),g={parse:t(e=>{n.clear(),o.debug("[EBNF Parser] Starting Langium parse");const r=c.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const a=r.value;o.debug("[EBNF Parser] Parsed rules:",a.rules.length),v(a),o.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:n}},N={parser:g,db:n,renderer:m,styles:l};export{N as diagram};