@intent-hq/web 2.346.0 → 2.346.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 (272) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{Brqq8vhd.js → -IUVo3ff.js} +4 -4
  3. package/web/app/immutable/chunks/{BVURea8L.js → -_IhnrUG.js} +1 -1
  4. package/web/app/immutable/chunks/{BDDEv5gU.js → -oWCrnEw.js} +1 -1
  5. package/web/app/immutable/chunks/{DknPpgEW.js → 0h3tB2X7.js} +1 -1
  6. package/web/app/immutable/chunks/{CJ_dtcmM.js → 1kPFR2jr.js} +1 -1
  7. package/web/app/immutable/chunks/{DcZKw8cP.js → 2_W5MGlF.js} +1 -1
  8. package/web/app/immutable/chunks/{CtDj7gZD.js → 35EIyCm3.js} +1 -1
  9. package/web/app/immutable/chunks/{9XVQ1GVX.js → 3OP-tats.js} +1 -1
  10. package/web/app/immutable/chunks/{CAdgzoaK.js → 3hAJcdO4.js} +1 -1
  11. package/web/app/immutable/chunks/{BY3nRRgO.js → 4I5A3DRt.js} +3 -3
  12. package/web/app/immutable/chunks/{ouMKS3MA.js → 5ICkS6dd.js} +1 -1
  13. package/web/app/immutable/chunks/{D31IcU1_.js → 5m7mNQI1.js} +1 -1
  14. package/web/app/immutable/chunks/{BOxkenyY.js → 8-yHkkqV.js} +1 -1
  15. package/web/app/immutable/chunks/{ahX1JzRb.js → 9PMcLe0B.js} +1 -1
  16. package/web/app/immutable/chunks/{CzcD2H5U.js → AfO8pDU9.js} +1 -1
  17. package/web/app/immutable/chunks/{z_Tdw9N5.js → B-hjApiN.js} +1 -1
  18. package/web/app/immutable/chunks/{ACNn9MHT.js → B-izwTdw.js} +2 -2
  19. package/web/app/immutable/chunks/{iKgBWWl-.js → B2Qef3kJ.js} +2 -2
  20. package/web/app/immutable/chunks/{B0mNIdOb.js → B2i6P1Yj.js} +1 -1
  21. package/web/app/immutable/chunks/{CcaAQlGA.js → B6_GAXLX.js} +1 -1
  22. package/web/app/immutable/chunks/{CQyjMIYw.js → B9wI8Jqn.js} +1 -1
  23. package/web/app/immutable/chunks/{DdVIXVso.js → BA-Wd8x9.js} +1 -1
  24. package/web/app/immutable/chunks/{asQ_ruFQ.js → BB4FgpiZ.js} +1 -1
  25. package/web/app/immutable/chunks/{ftma9Ybn.js → BBhsbqLJ.js} +1 -1
  26. package/web/app/immutable/chunks/{BDzYiKUH.js → BCjermhu.js} +1 -1
  27. package/web/app/immutable/chunks/{D-i7C44m.js → BD_lDepV.js} +2 -2
  28. package/web/app/immutable/chunks/{3as4gwP9.js → BDgfFtcK.js} +1 -1
  29. package/web/app/immutable/chunks/{Big_dnEI.js → BEA1dP-Y.js} +1 -1
  30. package/web/app/immutable/chunks/{CXpFRnSj.js → BEF8aCkH.js} +1 -1
  31. package/web/app/immutable/chunks/{Dj8J0eqI.js → BFVZAW0_.js} +1 -1
  32. package/web/app/immutable/chunks/{DFs6FJS8.js → BG2eX09y.js} +1 -1
  33. package/web/app/immutable/chunks/{BaYzTmbw.js → BGqL3gJO.js} +1 -1
  34. package/web/app/immutable/chunks/{B7dTLx8u.js → BGsa1Rn-.js} +1 -1
  35. package/web/app/immutable/chunks/{Ba1C4iSG.js → BHmRsJkZ.js} +1 -1
  36. package/web/app/immutable/chunks/{DhHSeQsG.js → BI0I5q5w.js} +3 -3
  37. package/web/app/immutable/chunks/{CvHwMug-.js → BIB7YFjF.js} +2 -2
  38. package/web/app/immutable/chunks/{OPvMR-5p.js → BIWW5pDn.js} +1 -1
  39. package/web/app/immutable/chunks/{BBlTlRXR.js → BKJdB-rj.js} +1 -1
  40. package/web/app/immutable/chunks/BKW86yq_.js +1 -0
  41. package/web/app/immutable/chunks/{CrjpdU4V.js → BLXPhKCH.js} +1 -1
  42. package/web/app/immutable/chunks/{-Wo302Zr.js → BMCRnGzk.js} +1 -1
  43. package/web/app/immutable/chunks/{BO8NImWp.js → BMlW8PWp.js} +1 -1
  44. package/web/app/immutable/chunks/{BKw5KoGy.js → BMxLlxet.js} +1 -1
  45. package/web/app/immutable/chunks/{DKTqwHrN.js → BO3bzcut.js} +1 -1
  46. package/web/app/immutable/chunks/BPZ_JA05.js +2 -0
  47. package/web/app/immutable/chunks/{B4gIvcP2.js → BW1uSKLL.js} +1 -1
  48. package/web/app/immutable/chunks/{DPUWJyjX.js → BYpXsiCq.js} +1 -1
  49. package/web/app/immutable/chunks/{Dto-4yb7.js → BZHceihR.js} +1 -1
  50. package/web/app/immutable/chunks/{Clhk_Z-l.js → BZklR_B6.js} +1 -1
  51. package/web/app/immutable/chunks/{BDPqCRJm.js → BZpL3F2r.js} +1 -1
  52. package/web/app/immutable/chunks/BZvAKLUn.js +1 -0
  53. package/web/app/immutable/chunks/{3h5ZjEwa.js → B_ALvSh2.js} +1 -1
  54. package/web/app/immutable/chunks/{BaYeKXL3.js → B_uWHofm.js} +1 -1
  55. package/web/app/immutable/chunks/{i2sZiDEq.js → BaDPh7vq.js} +1 -1
  56. package/web/app/immutable/chunks/{C3NeTp2u.js → BcLSwxTf.js} +1 -1
  57. package/web/app/immutable/chunks/{DOB2ATTF.js → BfaGwOq5.js} +1 -1
  58. package/web/app/immutable/chunks/{CiKocWhX.js → BfaHQDJW.js} +1 -1
  59. package/web/app/immutable/chunks/{DOKxXiSI.js → Bfi661u9.js} +4 -4
  60. package/web/app/immutable/chunks/{bKyElw3h.js → BjCpOU4b.js} +1 -1
  61. package/web/app/immutable/chunks/BjFh2SH5.js +1 -0
  62. package/web/app/immutable/chunks/{Dx3sZmi8.js → Bkff-hvs.js} +1 -1
  63. package/web/app/immutable/chunks/{DE8QOEZV.js → BkzhB_Po.js} +1 -1
  64. package/web/app/immutable/chunks/{Dkr_RXdV.js → BlznqeMI.js} +1 -1
  65. package/web/app/immutable/chunks/{D7dPbXji.js → BmLxQNOC.js} +1 -1
  66. package/web/app/immutable/chunks/{C3VPe7p1.js → BmooL5Pj.js} +1 -1
  67. package/web/app/immutable/chunks/{GzTl4Sb0.js → BnSdmDXX.js} +1 -1
  68. package/web/app/immutable/chunks/{cATI0wnI.js → BnsQkZ2z.js} +1 -1
  69. package/web/app/immutable/chunks/{DHGSAfCZ.js → BotBkFiN.js} +1 -1
  70. package/web/app/immutable/chunks/{B5HeJKYE.js → BppmVmxY.js} +1 -1
  71. package/web/app/immutable/chunks/{C-OtpXcF.js → BqOOOgy5.js} +1 -1
  72. package/web/app/immutable/chunks/{DzejiLWr.js → BqRBAXUd.js} +3 -3
  73. package/web/app/immutable/chunks/{WbTmlouE.js → Bs3_4AtC.js} +1 -1
  74. package/web/app/immutable/chunks/{C_EpV6jU.js → Bs7Hg6Iw.js} +1 -1
  75. package/web/app/immutable/chunks/{DZ3SUe8R.js → BtiDRzyn.js} +1 -1
  76. package/web/app/immutable/chunks/{A8_BT67P.js → BtwtItRa.js} +1 -1
  77. package/web/app/immutable/chunks/{Bgi2L8Br.js → BvpnWd-y.js} +1 -1
  78. package/web/app/immutable/chunks/{C33Dw59E.js → Bw9Opv8X.js} +1 -1
  79. package/web/app/immutable/chunks/{BLaIjbEF.js → BwPpu-bL.js} +1 -1
  80. package/web/app/immutable/chunks/{CzdMU9Bu.js → By74nslt.js} +2 -2
  81. package/web/app/immutable/chunks/{BWTugGQ8.js → BycUBg6h.js} +1 -1
  82. package/web/app/immutable/chunks/{YYacqJ9a.js → BzrasdW9.js} +1 -1
  83. package/web/app/immutable/chunks/{B4XZNQ4a.js → C-6Vv_Md.js} +1 -1
  84. package/web/app/immutable/chunks/{CVa6MqnK.js → C0deMyYN.js} +1 -1
  85. package/web/app/immutable/chunks/{DZyAzxxC.js → C1N6iAP2.js} +1 -1
  86. package/web/app/immutable/chunks/{DXnd4CJZ.js → C1c28WNI.js} +1 -1
  87. package/web/app/immutable/chunks/{Cb0zVN4i.js → C1s02RDB.js} +1 -1
  88. package/web/app/immutable/chunks/{Y4VeEPHl.js → C3LkuwxU.js} +1 -1
  89. package/web/app/immutable/chunks/{z-RLr2Z1.js → C4EqZepj.js} +1 -1
  90. package/web/app/immutable/chunks/{jlJQSpH6.js → C4LCiNWC.js} +1 -1
  91. package/web/app/immutable/chunks/{D492HRYt.js → C4s4Sq6j.js} +1 -1
  92. package/web/app/immutable/chunks/{DeCAcSD9.js → C4t0jJ4k.js} +1 -1
  93. package/web/app/immutable/chunks/{BfbZn9QX.js → C4xNNtUj.js} +1 -1
  94. package/web/app/immutable/chunks/{BK64B_Ic.js → C7CRtBIe.js} +1 -1
  95. package/web/app/immutable/chunks/{BTNEDHav.js → C7fHSR36.js} +1 -1
  96. package/web/app/immutable/chunks/{BMKkyPLo.js → C9u4tXUT.js} +1 -1
  97. package/web/app/immutable/chunks/{CgLoJgPR.js → CFFiNWgw.js} +1 -1
  98. package/web/app/immutable/chunks/{5Ixgq0WC.js → CFpSvOJx.js} +1 -1
  99. package/web/app/immutable/chunks/{B3D9gAmi.js → CGhe-vKv.js} +1 -1
  100. package/web/app/immutable/chunks/{CbZEAbX5.js → CIhlsnLM.js} +1 -1
  101. package/web/app/immutable/chunks/{DgHZa_R5.js → CJl18r_J.js} +1 -1
  102. package/web/app/immutable/chunks/{eNHX5lds.js → CK5SmfAe.js} +1 -1
  103. package/web/app/immutable/chunks/{D1CYDv8t.js → CKfg4UqD.js} +1 -1
  104. package/web/app/immutable/chunks/{Do80Vc58.js → CLqD3xZb.js} +1 -1
  105. package/web/app/immutable/chunks/{71L4lHBq.js → CMG5CVfP.js} +1 -1
  106. package/web/app/immutable/chunks/{DtAyUyC0.js → CMcMoJJq.js} +1 -1
  107. package/web/app/immutable/chunks/{C3oF1SK5.js → CNHQ2hz2.js} +1 -1
  108. package/web/app/immutable/chunks/{B1HPKTBI.js → CNOSe0wO.js} +1 -1
  109. package/web/app/immutable/chunks/{C4HHXGmJ.js → CNwVL4wn.js} +1 -1
  110. package/web/app/immutable/chunks/{s0TWEExr.js → COhzdkuA.js} +1 -1
  111. package/web/app/immutable/chunks/{DukmxKgk.js → CP2XzLLk.js} +1 -1
  112. package/web/app/immutable/chunks/{zGl9gaL0.js → CPE7SIVP.js} +1 -1
  113. package/web/app/immutable/chunks/{Chpqmkx4.js → CPo4UsMt.js} +1 -1
  114. package/web/app/immutable/chunks/{B83M2_sj.js → CS0II5i-.js} +1 -1
  115. package/web/app/immutable/chunks/{CQbtnalz.js → CS4C4Dqz.js} +1 -1
  116. package/web/app/immutable/chunks/{7eL9Pgig.js → CSelYXXo.js} +1 -1
  117. package/web/app/immutable/chunks/{IRbjhecv.js → CTMYdigD.js} +1 -1
  118. package/web/app/immutable/chunks/{DGmRhalF.js → CUEYQ1xR.js} +1 -1
  119. package/web/app/immutable/chunks/{T9tywf_e.js → CXZBvyNr.js} +1 -1
  120. package/web/app/immutable/chunks/{BnkmaA34.js → CXgI2Ln7.js} +1 -1
  121. package/web/app/immutable/chunks/{Zl17pAXX.js → CZ2Oen6-.js} +1 -1
  122. package/web/app/immutable/chunks/{Cq8oeEXe.js → Cd-mRODX.js} +1 -1
  123. package/web/app/immutable/chunks/{etVaBLxV.js → Cdb_pBT1.js} +1 -1
  124. package/web/app/immutable/chunks/{BeJ5WWx4.js → ChOLlFah.js} +22 -22
  125. package/web/app/immutable/chunks/{DryyHkNv.js → CiLrRXKC.js} +1 -1
  126. package/web/app/immutable/chunks/{CQB76zlc.js → CjS1Cmfi.js} +1 -1
  127. package/web/app/immutable/chunks/{ByLCbaqp.js → CjsTzCaF.js} +1 -1
  128. package/web/app/immutable/chunks/{BQbcEQz0.js → CjxgW2LG.js} +1 -1
  129. package/web/app/immutable/chunks/{CHfmHJ17.js → Cjyjhytt.js} +1 -1
  130. package/web/app/immutable/chunks/{Ckp5dOHW.js → Ck2hwsBm.js} +1 -1
  131. package/web/app/immutable/chunks/{B55-cQLT.js → CpB9-pxF.js} +1 -1
  132. package/web/app/immutable/chunks/{DMjNjha0.js → CqvGUHnF.js} +1 -1
  133. package/web/app/immutable/chunks/{Dkva_evl.js → CsvSUZwX.js} +2 -2
  134. package/web/app/immutable/chunks/{DOCWMdWU.js → CuD9DL4y.js} +1 -1
  135. package/web/app/immutable/chunks/{DwA_Z_f6.js → Cueu30DH.js} +1 -1
  136. package/web/app/immutable/chunks/{3DAIKGff.js → Cv_fAsRR.js} +1 -1
  137. package/web/app/immutable/chunks/{BmEcZoA2.js → CxSx5kbz.js} +1 -1
  138. package/web/app/immutable/chunks/{U6cHmbYS.js → CxlqEDL_.js} +3 -3
  139. package/web/app/immutable/chunks/{DzKYjnRy.js → CyhyGZAH.js} +2 -2
  140. package/web/app/immutable/chunks/{B0WVH3Hg.js → CzGRX-SL.js} +1 -1
  141. package/web/app/immutable/chunks/{DcwC09tE.js → CzGw49VI.js} +1 -1
  142. package/web/app/immutable/chunks/{CNT1n9YR.js → D0wwPGAk.js} +1 -1
  143. package/web/app/immutable/chunks/D1jZIoRI.js +1 -0
  144. package/web/app/immutable/chunks/D3e1E0pH.js +13 -0
  145. package/web/app/immutable/chunks/{CFs6uWH2.js → D6G3HdC8.js} +1 -1
  146. package/web/app/immutable/chunks/{C1osWUn_.js → D9TgvNHy.js} +1 -1
  147. package/web/app/immutable/chunks/{Cx31i8ng.js → D9WJ9yaW.js} +1 -1
  148. package/web/app/immutable/chunks/DD34O6fm.js +408 -0
  149. package/web/app/immutable/chunks/{Bxnf75xq.js → DGs9CA_z.js} +1 -1
  150. package/web/app/immutable/chunks/{B1U_DCBw.js → DKnPivVx.js} +1 -1
  151. package/web/app/immutable/chunks/{dBZS3-kp.js → DL98Mvfc.js} +1 -1
  152. package/web/app/immutable/chunks/{C8XrM-qb.js → DMtABnLi.js} +1 -1
  153. package/web/app/immutable/chunks/{CiIELmgj.js → DNMpoEvN.js} +1 -1
  154. package/web/app/immutable/chunks/{txy0Txom.js → DNQiloiF.js} +1 -1
  155. package/web/app/immutable/chunks/{BM7oCSp5.js → DN_Lq29a.js} +1 -1
  156. package/web/app/immutable/chunks/{CDbQwqu1.js → DQ3kuV3H.js} +1 -1
  157. package/web/app/immutable/chunks/{CmoBwSCp.js → DR-bu7f0.js} +1 -1
  158. package/web/app/immutable/chunks/{DzGNgfrZ.js → DRG7DUhO.js} +1 -1
  159. package/web/app/immutable/chunks/{CjbCpI18.js → DSHtWXiq.js} +1 -1
  160. package/web/app/immutable/chunks/{BLl22NdQ.js → DSU9ZcQ0.js} +1 -1
  161. package/web/app/immutable/chunks/{BlEwAz4v.js → DTTdoBjw.js} +1 -1
  162. package/web/app/immutable/chunks/{DRZKWEq3.js → DUyBdSjv.js} +1 -1
  163. package/web/app/immutable/chunks/{CXVUfxHv.js → DZZviYVT.js} +2 -2
  164. package/web/app/immutable/chunks/{Dr45ln4z.js → DaOs4JNK.js} +1 -1
  165. package/web/app/immutable/chunks/{DNjgs7AU.js → Db5vVNPd.js} +1 -1
  166. package/web/app/immutable/chunks/{DccrGg38.js → DciVixd2.js} +3 -3
  167. package/web/app/immutable/chunks/{Bgw3O9rE.js → DctMspbi.js} +1 -1
  168. package/web/app/immutable/chunks/{CswFIiBb.js → DetpMFuT.js} +1 -1
  169. package/web/app/immutable/chunks/{Cq2aackv.js → DghbEZ16.js} +1 -1
  170. package/web/app/immutable/chunks/{BOyF7pe9.js → DhUnCLhA.js} +1 -1
  171. package/web/app/immutable/chunks/{DYnCJwSs.js → DhWGSJOr.js} +1 -1
  172. package/web/app/immutable/chunks/{D7NdkRF-.js → DlrkMELS.js} +4 -4
  173. package/web/app/immutable/chunks/{CAUaU8Wh.js → DmY0GWNY.js} +1 -1
  174. package/web/app/immutable/chunks/DnBFSw4A.js +4 -0
  175. package/web/app/immutable/chunks/{DH-29Rs_.js → Dnk26fqb.js} +3 -3
  176. package/web/app/immutable/chunks/{BW9EApvt.js → Do1gmE20.js} +1 -1
  177. package/web/app/immutable/chunks/{BQ5F0iVp.js → DqmvYlsZ.js} +1 -1
  178. package/web/app/immutable/chunks/{SVZRr24P.js → Dsq9SKtm.js} +1 -1
  179. package/web/app/immutable/chunks/{DKKFIb2l.js → DuA0wXTo.js} +1 -1
  180. package/web/app/immutable/chunks/{BDZoh7yg.js → DuMO6x6m.js} +1 -1
  181. package/web/app/immutable/chunks/{DByMRbHr.js → Dx1uQEhV.js} +1 -1
  182. package/web/app/immutable/chunks/{D-TVq_rK.js → DxdbljsN.js} +1 -1
  183. package/web/app/immutable/chunks/{DHROL4K5.js → DxkncNQp.js} +1 -1
  184. package/web/app/immutable/chunks/{B79pUPc3.js → DxlsP5Pu.js} +4 -4
  185. package/web/app/immutable/chunks/{D0I9E6A0.js → DzEm_gMB.js} +1 -1
  186. package/web/app/immutable/chunks/{DTSEdINd.js → Dzr2-f8u.js} +2 -2
  187. package/web/app/immutable/chunks/{CrHk5l6X.js → E9kqzP8d.js} +1 -1
  188. package/web/app/immutable/chunks/{BJZ04Dji.js → ENl_7pWb.js} +1 -1
  189. package/web/app/immutable/chunks/{W7sv3DY6.js → HAVpWhg1.js} +1 -1
  190. package/web/app/immutable/chunks/{fzs92dqr.js → HXO2zRQJ.js} +1 -1
  191. package/web/app/immutable/chunks/{BqBqZaGQ.js → JbkOWTOg.js} +1 -1
  192. package/web/app/immutable/chunks/{DfjJilaB.js → KErKc4MM.js} +2 -2
  193. package/web/app/immutable/chunks/{DUQV_xq3.js → Mrn_4qcP.js} +1 -1
  194. package/web/app/immutable/chunks/{BcbQZUsh.js → NhKlePe6.js} +1 -1
  195. package/web/app/immutable/chunks/{ChNPgGKQ.js → NqdaVAll.js} +1 -1
  196. package/web/app/immutable/chunks/{DDySjsub.js → O3Ve923N.js} +1 -1
  197. package/web/app/immutable/chunks/O7PQPM4V.js +1 -0
  198. package/web/app/immutable/chunks/{BrIsEZwT.js → P1zH2HLT.js} +1 -1
  199. package/web/app/immutable/chunks/{BDtb6AfX.js → P2s61dnl.js} +1 -1
  200. package/web/app/immutable/chunks/{B-7vt8Nv.js → QcdWHB0v.js} +1 -1
  201. package/web/app/immutable/chunks/{V9qci_dz.js → RKjwEkJS.js} +1 -1
  202. package/web/app/immutable/chunks/{1_fC7X8z.js → R_Ru9hwD.js} +1 -1
  203. package/web/app/immutable/chunks/{DMYKSC8W.js → SnydeSOZ.js} +2 -2
  204. package/web/app/immutable/chunks/{BK2lpqz4.js → SrhdBdnO.js} +1 -1
  205. package/web/app/immutable/chunks/{BjURBDIt.js → T1DVgc50.js} +1 -1
  206. package/web/app/immutable/chunks/{C1CDOGnh.js → T9_nVC7k.js} +1 -1
  207. package/web/app/immutable/chunks/{CSg3z6A2.js → UKn44y3B.js} +1 -1
  208. package/web/app/immutable/chunks/{DW9MEQey.js → UxXMSC13.js} +1 -1
  209. package/web/app/immutable/chunks/{D9jvlcNy.js → VVSQHNmC.js} +1 -1
  210. package/web/app/immutable/chunks/{d-Ep-sfP.js → V_ABjOKq.js} +1 -1
  211. package/web/app/immutable/chunks/{BZYeogxf.js → W4Nuovgc.js} +1 -1
  212. package/web/app/immutable/chunks/{CCm1BgPl.js → YuOz6Rmc.js} +1 -1
  213. package/web/app/immutable/chunks/{B0-4rCYZ.js → Znww69M9.js} +1 -1
  214. package/web/app/immutable/chunks/{BcgSXbtK.js → _5Vv4dkf.js} +1 -1
  215. package/web/app/immutable/chunks/{BgKhYgm8.js → _RxuD-W2.js} +1 -1
  216. package/web/app/immutable/chunks/{CguBowm8.js → a48W8e3q.js} +1 -1
  217. package/web/app/immutable/chunks/{BYDvuR-h.js → bYaMqcEY.js} +1 -1
  218. package/web/app/immutable/chunks/{euZ22sAu.js → cX33-fuj.js} +1 -1
  219. package/web/app/immutable/chunks/{CSQXURhP.js → dT5WNNGq.js} +1 -1
  220. package/web/app/immutable/chunks/{D_SZXZdx.js → eqxSNkBq.js} +1 -1
  221. package/web/app/immutable/chunks/{BqyYlCY3.js → fPgojm2p.js} +1 -1
  222. package/web/app/immutable/chunks/{wTgWcOy1.js → hCF4Zu9x.js} +1 -1
  223. package/web/app/immutable/chunks/{CvGEpOsC.js → j3POoRwI.js} +1 -1
  224. package/web/app/immutable/chunks/{G_wYaln-.js → jqkXCyuX.js} +1 -1
  225. package/web/app/immutable/chunks/{CGcQAX9W.js → k6cZvV27.js} +1 -1
  226. package/web/app/immutable/chunks/{CP8WYBBE.js → m296fjds.js} +1 -1
  227. package/web/app/immutable/chunks/{BWAGtvpD.js → qvZYvB9N.js} +1 -1
  228. package/web/app/immutable/chunks/{-UJlOg-6.js → rBb3s3xl.js} +1 -1
  229. package/web/app/immutable/chunks/{ClMg3ew2.js → rISNYNCE.js} +1 -1
  230. package/web/app/immutable/chunks/{CA6TS0WC.js → sCaWuYEb.js} +1 -1
  231. package/web/app/immutable/chunks/{4sUGQp1u.js → tcnXcM0S.js} +1 -1
  232. package/web/app/immutable/chunks/{DjdPlKc4.js → tn7Dp-vi.js} +1 -1
  233. package/web/app/immutable/chunks/{BpYNQf9o.js → uIpdZ1Gn.js} +1 -1
  234. package/web/app/immutable/chunks/{BDPAYMJ1.js → uc8QMJUx.js} +1 -1
  235. package/web/app/immutable/chunks/{BWZmCaEW.js → yw7dEI88.js} +1 -1
  236. package/web/app/immutable/chunks/{D3toWTag.js → zEbP96sv.js} +4 -4
  237. package/web/app/immutable/chunks/{0qEvU7Aj.js → zqCR6Knb.js} +1 -1
  238. package/web/app/immutable/entry/{app.BXnRxWvG.js → app.Dg3CVjdE.js} +3 -3
  239. package/web/app/immutable/entry/start.51bhhgUY.js +1 -0
  240. package/web/app/immutable/nodes/{0.CFk1FXLg.js → 0.mr7Lr8Nh.js} +1 -1
  241. package/web/app/immutable/nodes/{1.Bd67D1tA.js → 1.rfzchHhR.js} +1 -1
  242. package/web/app/immutable/nodes/{10.CTZ0L3wZ.js → 10.D4xVtSvV.js} +1 -1
  243. package/web/app/immutable/nodes/{11.CH_h0WbH.js → 11.Bl5UwrS9.js} +1 -1
  244. package/web/app/immutable/nodes/{12.DhihsAtw.js → 12.CUp8k2-A.js} +1 -1
  245. package/web/app/immutable/nodes/{13.B727xJXs.js → 13.Ch9aZ9Uv.js} +3 -3
  246. package/web/app/immutable/nodes/{14.CgITgBOZ.js → 14.Bjuagqn-.js} +1 -1
  247. package/web/app/immutable/nodes/{15.CCzIPJGf.js → 15.Cto8qDz0.js} +1 -1
  248. package/web/app/immutable/nodes/{16.CbtJfPHZ.js → 16.SivUu1Ma.js} +1 -1
  249. package/web/app/immutable/nodes/{17.CelzCwXF.js → 17.Chj8J0QC.js} +1 -1
  250. package/web/app/immutable/nodes/{18.fqvApY-g.js → 18.D_tnQyvk.js} +2 -2
  251. package/web/app/immutable/nodes/{2.t-1b60vK.js → 2.WfgNcNo2.js} +4 -4
  252. package/web/app/immutable/nodes/{3.4L0YPvZL.js → 3.D4wTMvE8.js} +1 -1
  253. package/web/app/immutable/nodes/{4.BLQgcpcU.js → 4.ZitfbCkz.js} +1 -1
  254. package/web/app/immutable/nodes/{5.Bp_OiOTI.js → 5.BFEJ_NR_.js} +1 -1
  255. package/web/app/immutable/nodes/{6.CcuwCBp4.js → 6.Bkj3ggYn.js} +1 -1
  256. package/web/app/immutable/nodes/{7.B-TRUT7o.js → 7.Cz8EbGz5.js} +1 -1
  257. package/web/app/immutable/nodes/{8.CaG5gby5.js → 8.gF00dlat.js} +6 -6
  258. package/web/app/immutable/nodes/9.COG4Nc0F.js +39 -0
  259. package/web/app/version.json +1 -1
  260. package/web/generated/paraglide.js +49 -49
  261. package/web/index.html +18 -18
  262. package/web/app/immutable/chunks/2V4-p70U.js +0 -408
  263. package/web/app/immutable/chunks/BAGVOK-j.js +0 -4
  264. package/web/app/immutable/chunks/Bbkml6DP.js +0 -1
  265. package/web/app/immutable/chunks/D9jYN6_J.js +0 -1
  266. package/web/app/immutable/chunks/DF1uIj8u.js +0 -1
  267. package/web/app/immutable/chunks/DOPeTAKk.js +0 -13
  268. package/web/app/immutable/chunks/DgwMMJRI.js +0 -2
  269. package/web/app/immutable/chunks/TL85KYB9.js +0 -1
  270. package/web/app/immutable/chunks/ciTxbtqU.js +0 -1
  271. package/web/app/immutable/entry/start.BX3EKd8C.js +0 -1
  272. package/web/app/immutable/nodes/9.DosMxTmg.js +0 -39
@@ -1,4 +1,4 @@
1
- import{t as ct,bq as ae,by as dt,br as jt,b as ut,bo as d,bt as Mt,bs as xt,bu as ke}from"./D9jYN6_J.js";import{bs as gt,a5 as We,bf as Dt,bA as Be,W as r,bn as ft,aA as re,aB as H,aD as e,bS as $,c9 as n,a7 as X,ay as m,be as Ye,b$ as et,aC as pt,bo as $a,bV as ce,br as It,ca as je,bH as b,c5 as At,b_ as ve,bO as $e,c0 as Nt,bl as at,aw as Kt,cd as St,bz as wa,bj as Ia}from"./DYhIMPy1.js";import{i as Z}from"./7eL9Pgig.js";import{k as Gt}from"./OPvMR-5p.js";import{h as Aa,I as ka,g as kt,e as xa}from"./Bgw3O9rE.js";import{c as x}from"./DZyAzxxC.js";import{b as Jt}from"./BaIAhI85.js";import{an as ya,ao as Ta,bK as Ca}from"./DF1uIj8u.js";import Sa from"./BOxkenyY.js";import{D as Pa}from"./CSQXURhP.js";import{C as zt}from"./C1osWUn_.js";import{b as Xt,e as Qt,s as Yt,f as Ma}from"./C_EpV6jU.js";import"./ftma9Ybn.js";import{a6 as ea}from"./DMYKSC8W.js";import{Iz as Q,dE as Da,dF as La,gK as ta,iW as Ha,Bs as Oa,gq as Ba,iT as aa,iS as Ra,Dq as Fa,Dp as Na,Dw as za,D1 as Ea,D4 as Va,cc as Ua,ca as Za,cg as qa,bV as Wa,D3 as ja,cd as Ka,CM as Ga}from"./BfbZn9QX.js";import{g as Ja}from"./DfN8_dcw.js";import{a as Xa}from"./CDbQwqu1.js";import{l as Qa,P as Ya,m as er,n as tr,V as Et}from"./BAGVOK-j.js";import{am as ar,aC as rr,dr as nr,bS as or,c4 as sr,aA as ir,bh as lr,i as cr}from"./asQ_ruFQ.js";import{aY as dr,aZ as ur}from"./ChNPgGKQ.js";import{a as gr}from"./Clhk_Z-l.js";import{c as fr}from"./ChTqQfQN.js";import{c as pr}from"./DByMRbHr.js";import{C as mr}from"./D7NdkRF-.js";import{o as vr}from"./Big_dnEI.js";import{I as _r,c as hr}from"./DHROL4K5.js";import"./B1U_DCBw.js";import{s as ra}from"./Cx31i8ng.js";import{a1 as br,f as lt,ae as $r}from"./0qEvU7Aj.js";import"./Dkva_evl.js";import{D as wr,C as na,T as Ir,F as Ar,H as kr,t as xr,R as yr}from"./BY3nRRgO.js";import{aR as Tr,cX as oa,F as ht,c_ as $t,B as Cr,aZ as Sr,bn as Pr,cv as Mr,a6 as Dr,cw as Lr,a5 as Hr,cs as Or,aq as Br,aV as Rr,cU as Fr,ac as Nr,cg as zr,aj as Er,cN as Vr}from"./CAUaU8Wh.js";import{a as Pt,m as Ur}from"./d-Ep-sfP.js";import{w as Zr,o as Lt,n as Ht,m as Ot,i as Vt,l as Bt,g as mt,p as qr,h as Wr,M as jr,k as Ut,R as Kr}from"./IRbjhecv.js";import{B as Gr}from"./BK64B_Ic.js";import{K as Jr,a3 as Xr,b7 as Qr}from"./B79pUPc3.js";import"./BOyF7pe9.js";import{b as Yr}from"./DKTqwHrN.js";import{c as en}from"./BDtb6AfX.js";import"./DtAyUyC0.js";import{M as st}from"./CrHk5l6X.js";import{g as tn}from"./D9jvlcNy.js";import{J as Zt,q as an}from"./C3NeTp2u.js";import{ax as rn,$ as nn}from"./DOPeTAKk.js";import{t as wt,p as on}from"./B4gIvcP2.js";import{a as sn,e as ln,d as cn,i as dn}from"./DRZKWEq3.js";var un=new Set(["$$slots","$$events","$$legacy","children","class"]),gn=H("<div><!></div>");function sa(f,i){if(new.target)return ct({component:sa,...f});gt(i,!0);let w=ae(i,"children",7),p=ae(i,"class",7),v=jt(i,un);Zr(()=>!1);var T={get children(){return w()},set children(g){w(g),re()},get class(){return p()},set class(g){p(g),re()},$set:dt,$on:(g,M)=>ut(i,g,M)},A=gn();Xt(A,g=>({"data-slot":"menu-footer",class:g,...v}),[()=>Qt("menu-footer type-caption relative z-10 -mx-1.5 -mb-1.5 mt-1.5 border-t border-border bg-muted/20 px-3.5 py-1.5 leading-(--text-caption-line-height) font-normal text-muted-foreground [&_[data-menu-item]]:hover:bg-hover [&_[data-menu-item]]:focus-visible:bg-hover",p())],void 0,void 0,"svelte-1od5b5i");var S=We(A);return ra(S,()=>w()??Dt),Be(A),r(f,A),ft(T)}var fn=new Set(["$$slots","$$events","$$legacy","children"]),pn=pt('<path d="M216,44H40A20,20,0,0,0,20,64V224A19.82,19.82,0,0,0,31.56,242.1a20.14,20.14,0,0,0,8.49,1.9,19.91,19.91,0,0,0,12.82-4.72l.12-.11L84.47,212H216a20,20,0,0,0,20-20V64A20,20,0,0,0,216,44Zm-4,144H80a11.93,11.93,0,0,0-7.84,2.92L44,215.23V68H212ZM84,108A12,12,0,0,1,96,96h64a12,12,0,1,1,0,24H96A12,12,0,0,1,84,108Zm0,40a12,12,0,0,1,12-12h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,148Z"></path>'),mn=pt('<path d="M224,64V192a8,8,0,0,1-8,8H80L45.15,230.11A8,8,0,0,1,32,224V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z" opacity="0.2"></path><path d="M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"></path>',1),vn=pt('<path d="M216,48H40A16,16,0,0,0,24,64V224a15.84,15.84,0,0,0,9.25,14.5A16.05,16.05,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM160,152H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'),_n=pt('<path d="M216,50H40A14,14,0,0,0,26,64V224a13.88,13.88,0,0,0,8.09,12.69A14.11,14.11,0,0,0,40,238a13.87,13.87,0,0,0,9-3.31l.06-.05L82.23,206H216a14,14,0,0,0,14-14V64A14,14,0,0,0,216,50Zm2,142a2,2,0,0,1-2,2H80a6,6,0,0,0-3.92,1.46L41.26,225.53A2,2,0,0,1,38,224V64a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Zm-52-80a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,112Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,144Z"></path>'),hn=pt('<path d="M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"></path>'),bn=pt('<path d="M216,52H40A12,12,0,0,0,28,64V224a11.89,11.89,0,0,0,6.93,10.88A12.17,12.17,0,0,0,40,236a11.89,11.89,0,0,0,7.69-2.83l0,0L81.49,204H216a12,12,0,0,0,12-12V64A12,12,0,0,0,216,52Zm4,140a4,4,0,0,1-4,4H80a4,4,0,0,0-2.62,1L42.56,227.06A4,4,0,0,1,36,224V64a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Zm-56-80a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,112Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,144Z"></path>'),$n=pt('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ia(f,i){if(new.target)return ct({component:ia,...f});gt(i,!0);const w=Aa();let p=ae(i,"children",7),v=jt(i,fn),T=n(()=>i.weight??w.weight??"regular"),A=n(()=>i.color??w.color??"currentColor"),S=n(()=>i.size??w.size??"1em"),g=n(()=>i.mirrored??w.mirrored??!1);function M(o){let{weight:I,color:O,size:Le,mirrored:J,...Ne}=o;return Ne}var W={get children(){return p()},set children(o){p(o),re()},$set:dt,$on:(o,I)=>ut(i,o,I)},R=$n();Xt(R,(o,I)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(S),height:e(S),fill:e(A),transform:e(g)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...o,...I}),[()=>M(w),()=>M(v)]);var Re=We(R);{var ne=o=>{var I=X(),O=m(I);ra(O,p),r(o,I)};Z(Re,o=>{p()&&o(ne)})}var c=$(Re,2);{var z=o=>{var I=pn();r(o,I)},Ce=o=>{var I=mn();Ye(),r(o,I)},Ee=o=>{var I=vn();r(o,I)},Fe=o=>{var I=_n();r(o,I)},G=o=>{var I=hn();r(o,I)},de=o=>{var I=bn();r(o,I)},u=o=>{var I=et();I.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),r(o,I)};Z(c,o=>{e(T)==="bold"?o(z):e(T)==="duotone"?o(Ce,1):e(T)==="fill"?o(Ee,2):e(T)==="light"?o(Fe,3):e(T)==="regular"?o(G,4):e(T)==="thin"?o(de,5):o(u,-1)})}return Be(R),r(f,R),ft(W)}var wn=H('<div class="type-caption flex items-center gap-[var(--space-2)] px-[var(--space-2)] py-[var(--space-1)] text-muted-foreground" data-testid="chat-message-navigator-loading"><!> <span> </span></div>'),In=H('<span class="block min-w-0 max-w-full flex-1 overflow-hidden whitespace-nowrap text-left text-ellipsis font-normal"> </span>'),An=H('<div role="listbox" class="mt-[var(--space-1)] min-h-0 min-w-0 flex-1 max-h-72 overflow-x-hidden overflow-y-auto overscroll-contain"></div>'),kn=H('<div class="type-caption px-2 py-6 text-left text-muted-foreground" data-testid="chat-message-navigator-empty"> </div>'),xn=H('<div class="flex min-h-0 min-w-0 max-h-full flex-1 flex-col overflow-hidden" data-testid="chat-message-navigator-panel"><!> <div role="status" aria-live="polite" class="shrink-0" data-testid="chat-message-navigator-loading-region"><!></div> <!></div>'),qt=H("<!> <!>",1),yn=H('<div class="flex shrink-0 items-center gap-0.5" data-testid="chat-header-navigation-controls"><!> <!></div>');function la(f,i){const w=$a();if(new.target)return ct({component:la,...f});gt(i,!0);const p=t=>{var h=xn(),F=We(h);{let N=n(()=>d.chat_messageNavigator_search_ariaLabel()),P=n(()=>e(O).length>0?I:void 0),V=n(()=>d.chat_messageNavigator_search_placeholder());_r(F,{get value(){return e(ne)},oninput:nt,onkeydown:j,role:"combobox",get"aria-label"(){return e(N)},get"aria-controls"(){return e(P)},"aria-expanded":"true","aria-autocomplete":"list",get"aria-activedescendant"(){return e(Le)},autocomplete:"off",get placeholder(){return e(V)},class:"type-caption h-(--control-height-medium) w-full min-w-0 shrink-0 rounded-(--radius-small) border border-border bg-card px-[var(--space-2)] text-foreground caret-foreground outline-none placeholder:text-muted-foreground","data-testid":"chat-message-navigator-search",get ref(){return e(Fe)},set ref(B){b(Fe,B,!0)}})}var K=$(F,2),ee=We(K);{var ye=N=>{var P=wn(),V=We(P);ka(V,{size:16});var B=$(V,2),Ie=at(B,!0);Be(P),ve(D=>$e(Ie,D),[()=>d.chat_messageNavigator_loading_label()]),r(N,P)};Z(ee,N=>{M()&&N(ye)})}Be(K);var se=$(K,2);{var ie=N=>{var P=An();kt(P,23,()=>e(O),V=>V.id,(V,B,Ie)=>{{let D=n(()=>!e(Re)[e(B).id]),y=n(()=>W()?"":"h-(--control-height-large)");$r(V,{get content(){return e(B).text},get disabled(){return e(D)},side:"left",align:"center",delayDuration:300,size:"sm",get class(){return`block w-full min-w-0 max-w-full ${e(y)??""}`},contentClass:"max-w-[min(28rem,calc(100vw-var(--space-4)))] break-words text-left",children:(_e,ge)=>{{let fe=n(()=>J(e(B).id)),Oe=n(()=>e(Ie)===e(c)),Se=n(()=>Qt(Pt(),hr,"max-w-full cursor-pointer overflow-hidden text-muted-foreground focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/40",W()?"font-normal":"font-medium",!W()&&"h-(--control-height-large) min-h-(--control-height-large) max-h-(--control-height-large)",W()?"hover:bg-hover hover:text-foreground":"hover:bg-accent/60 hover:text-accent-foreground",e(Ie)===e(c)&&(W()?"bg-selected text-foreground":"bg-accent text-accent-foreground"))),Pe=n(()=>W()||void 0);lt(_e,{type:"button",variant:"plain",labelClass:"overflow-hidden whitespace-nowrap text-left text-ellipsis",get id(){return e(fe)},role:"option",tabindex:-1,get"aria-selected"(){return e(Oe)},get class(){return e(Se)},onclick:()=>void ue(e(B).id),onkeydown:Me=>{(Me.key==="Enter"||Me.key===" ")&&(Me.preventDefault(),ue(e(B).id))},onpointermove:()=>{(e(c)!==e(Ie)||e(z))&&He(e(Ie))},"data-testid":"chat-message-navigator-result",get"data-navigation-message-id"(){return e(B).id},get"data-panel-menu-row"(){return e(Pe)},children:(Me,le)=>{var Ve=In(),Je=at(Ve,!0);xa(Ve,(Xe,Ue)=>vr?.(Xe,Ue),()=>Xe=>e(Re)[e(B).id]=Xe),ve(()=>$e(Je,e(B).text)),r(Me,Ve)},$$slots:{default:!0}})}},$$slots:{default:!0}})}}),Be(P),ve(()=>Yt(P,"id",I)),Kt("scroll",P,tt),r(N,P)},q=N=>{var P=kn(),V=at(P,!0);ve(B=>$e(V,B),[()=>d.chat_messageNavigator_empty_label()]),r(N,P)};Z(se,N=>{e(O).length>0?N(ie):M()||N(q,1)})}Be(h),r(t,h)};let v=ae(i,"messages",7),T=ae(i,"isAtBottom",7),A=ae(i,"onSelectMessage",7),S=ae(i,"onScrollToBottom",7),g=ae(i,"onOpen",7),M=ae(i,"isLoadingIndex",7,!1),W=ae(i,"embedded",7,!1),R=ce(!1),Re=ce(It({})),ne=ce(""),c=ce(0),z=ce(!0),Ce=null,Ee=!1,Fe=ce(null),G=ce(null),de=ce(null),u=ce(It([])),o=ce(!1);const I=`chat-message-navigator-listbox-${w}`,O=n(()=>{const t=e(ne).trim().toLocaleLowerCase();return t?v().filter(h=>h.text.toLocaleLowerCase().includes(t)):v()}),Le=n(()=>e(O)[e(c)]?J(e(O)[e(c)].id):void 0);function J(t){return`${I}-option-${encodeURIComponent(t)}`}function Ne(t){if(b(R,t,!0),!t)return;const h=e(G)?.closest("[data-panel-id]");b(u,h?[h]:[],!0),b(ne,""),b(z,!0),b(c,Math.max(v().length-1,0),!0),g()?.()}function nt(t){b(ne,t.currentTarget.value,!0),b(z,!0),b(c,Math.max(e(O).length-1,0),!0)}function He(t){b(z,!1),b(c,t,!0),Ce=e(O)[t]?.id??null}function tt(){Ee||b(z,!1)}je(()=>{if(!e(R))return;const t=e(O).length;if(t===0)return;if(e(z)){b(c,t-1),Ce=e(O)[t-1].id;return}const h=At(()=>e(c)),F=Ce===null?-1:e(O).findIndex(K=>K.id===Ce);F>=0?F!==h&&b(c,F,!0):h>=t?(b(c,t-1),Ce=e(O)[t-1].id):Ce=e(O)[h]?.id??null}),je(()=>{if(!e(R)||!e(de)||e(O).length===0)return;const t=e(Le)?document.getElementById(e(Le)):null;t&&(Ee=!0,t.scrollIntoView?.({block:"nearest"}),requestAnimationFrame(()=>{Ee=!1}))});function C(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),Ne(!e(R)))}function E(t){t.preventDefault(),e(Fe)?.focus()}async function xe(){await Nt(),e(R)&&e(Fe)?.focus()}function we(t){return e(de)?.contains(t)?!0:t instanceof Element?t.closest("[data-chat-message-navigator-content]")?.dataset.chatMessageNavigatorContent===w:!1}function oe(t){!e(R)||!(t.target instanceof Node)||e(G)?.contains(t.target)||we(t.target)||(b(o,!0),Ne(!1))}function Y(t){e(o)&&(t.preventDefault(),b(o,!1))}async function ue(t){b(R,!1),await Nt(),await A()(t)}function j(t){if(W()&&t.stopPropagation(),t.key==="Escape"){t.preventDefault(),b(R,!1);return}e(O).length!==0&&(t.key==="ArrowDown"?(t.preventDefault(),He((e(c)+1)%e(O).length)):t.key==="ArrowUp"?(t.preventDefault(),He((e(c)-1+e(O).length)%e(O).length)):t.key==="Home"?(t.preventDefault(),He(0)):t.key==="End"?(t.preventDefault(),He(e(O).length-1)):t.key==="Enter"&&(t.preventDefault(),ue(e(O)[e(c)].id)))}var te={get messages(){return v()},set messages(t){v(t),re()},get isAtBottom(){return T()},set isAtBottom(t){T(t),re()},get onSelectMessage(){return A()},set onSelectMessage(t){A(t),re()},get onScrollToBottom(){return S()},set onScrollToBottom(t){S(t),re()},get onOpen(){return g()},set onOpen(t){g(t),re()},get isLoadingIndex(){return M()},set isLoadingIndex(t=!1){M(t),re()},get embedded(){return W()},set embedded(t=!1){W(t),re()},$set:dt,$on:(t,h)=>ut(i,t,h)},a=X(),s=m(a);{var k=t=>{var h=X(),F=m(h);x(F,()=>Ot,(K,ee)=>{ee(K,{onOpenChange:Ne,get open(){return e(R)},set open(ye){b(R,ye,!0)},children:(ye,se)=>{var ie=qt(),q=m(ie);x(q,()=>Lt,(P,V)=>{V(P,{get icon(){return Tr},onSelect:xe,"data-testid":"chat-message-navigator-trigger",children:(B,Ie)=>{Ye();var D=et();ve(y=>$e(D,y),[()=>d.chat_messageNavigator_menu_label()]),r(B,D)},$$slots:{default:!0}})});var N=$(q,2);x(N,()=>Ht,(P,V)=>{V(P,{class:"w-[28rem] max-w-[calc(100vw-1rem)]",onOpenAutoFocus:E,get"data-chat-message-navigator-content"(){return w},get ref(){return e(de)},set ref(B){b(de,B,!0)},children:(B,Ie)=>{p(B)},$$slots:{default:!0}})}),r(ye,ie)},$$slots:{default:!0}})}),r(t,h)},_=t=>{var h=yn(),F=We(h);x(F,()=>Ya,(ee,ye)=>{ye(ee,{onOpenChange:Ne,get open(){return e(R)},set open(se){b(R,se,!0)},children:(se,ie)=>{var q=qt(),N=m(q);{const V=(B,Ie)=>{let D=()=>(Ie?.()).props;{let y=n(()=>d.chat_messageNavigator_open_ariaLabel()),_e=n(()=>d.chat_messageNavigator_open_ariaLabel());lt(B,Mt(D,{variant:"ghost-light",size:"icon-sm",get active(){return e(R)},get"aria-label"(){return e(y)},get tooltip(){return e(_e)},get tooltipDisabled(){return e(R)},tooltipSide:"bottom",tooltipDelayDuration:300,get"aria-expanded"(){return e(R)},onkeydown:C,"data-testid":"chat-message-navigator-trigger",children:(ge,fe)=>{ia(ge,{get size(){return na.compact},weight:"regular",mirrored:!1,"aria-hidden":"true",class:"size-4!","data-chat-message-navigator-chat-icon":!0})},$$slots:{default:!0}}))}};x(N,()=>Jr,(B,Ie)=>{Ie(B,{get ref(){return e(G)},set ref(D){b(G,D,!0)},child:V,$$slots:{child:!0}})})}var P=$(N,2);x(P,()=>br,(V,B)=>{B(V,{children:(Ie,D)=>{var y=X(),_e=m(y);{let ge=n(()=>d.chat_messageNavigator_open_ariaLabel());x(_e,()=>Qa,(fe,Oe)=>{Oe(fe,{role:"dialog",get"aria-label"(){return e(ge)},align:"end",side:"bottom",sideOffset:4,get collisionBoundary(){return e(u)},collisionPadding:8,trapFocus:!1,onOpenAutoFocus:E,onCloseAutoFocus:Y,onFocusOutside:oe,get"data-chat-message-navigator-content"(){return w},get class(){return`${wr} w-[28rem]`},get ref(){return e(de)},set ref(Se){b(de,Se,!0)},children:(Se,Pe)=>{p(Se)},$$slots:{default:!0}})})}r(Ie,y)},$$slots:{default:!0}})}),r(se,q)},$$slots:{default:!0}})});var K=$(F,2);Gr(K,{get disabled(){return T()},get onclick(){return S()}}),Be(h),r(t,h)};Z(s,t=>{W()?t(k):t(_,-1)})}return r(f,a),ft(te)}function Tn(f,i,w){return[...Object.values(f).flatMap(p=>p.tabs.filter(v=>v.type==="browser"&&v.ownerAgentId===w).map(v=>({tab:v,panelId:p.id,active:p.activeTabId===v.id,hidden:!1}))),...i.filter(p=>p.type==="browser"&&p.ownerAgentId===w).map(p=>({tab:p,active:!1,hidden:!0}))]}const Wt=(f,i=Dt)=>{var w=Sn(),p=We(w);ht(p,{get icon(){return oa},class:"size-(--menu-icon-size) opacity-30"});var v=$(p,2);{var T=A=>{var S=Cn();ve(()=>Yt(S,"src",i().tab.faviconUrl)),Kt("error",S,g=>g.currentTarget.style.display="none"),wa(S),r(A,S)};Z(v,A=>{i().tab.faviconUrl&&A(T)})}Be(w),r(f,w)};var Cn=H('<img alt="" class="absolute inset-0 size-full rounded-sm object-contain"/>'),Sn=H('<span class="relative inline-flex size-(--menu-icon-size) shrink-0 items-center justify-center" aria-hidden="true"><!> <!></span>'),Pn=H('<span class="min-w-0 flex-1 truncate"> </span>'),Mn=H('<span class="inline-flex size-(--menu-icon-size) items-center justify-center" aria-hidden="true"><!></span>'),Dn=H('<div class="flex min-w-0 items-center gap-1"><!> <!></div>'),_t=H("<!> <!>",1),Ln=H('<span class="first-line-icon w-(--menu-icon-size)" aria-hidden="true"><!></span> <span class="min-w-0 flex-1 truncate text-muted-foreground"> </span>',1),Hn=H('<li class="flex min-w-0 items-center gap-1"><!> <!></li>'),On=H("<!> ",1),Bn=H('<div class="my-1 border-t border-border"></div> <!>',1),Rn=H('<ul class="m-0 list-none p-0"></ul> <!>',1);function ca(f,i){if(new.target)return ct({component:ca,...f});gt(i,!0);const w=()=>ke(R,"$panels$",v),p=()=>ke(Re,"$hiddenTabs$",v),[v,T]=xt();let A=ae(i,"workspaceId",7),S=ae(i,"agentId",7),g=ae(i,"entries",7),M=ae(i,"embedded",7,!1);const W=St(A());je(()=>W.set(A()));const R=Zt(W),Re=an(W),ne=n(()=>Tn(w(),p(),S())),c=n(()=>g()??e(ne)),z=n(()=>e(c).length===1?d.chat_browserTabs_trigger_tooltip_one({count:wt(e(c).length)}):d.chat_browserTabs_trigger_tooltip_many({count:wt(e(c).length)}));function Ce(a){const s=a.tab.title.trim();if(s)return s;if(a.tab.browserUrl)try{return new URL(a.tab.browserUrl).host||a.tab.browserUrl}catch{return a.tab.browserUrl}return d.browser_embedded_noUrl_label()}function Ee(a){if(b(G,!1),!g()){if(a.hidden){const s=Zt.select(Q.state,A()),k=Object.values(s).find(_=>_.tabs.some(t=>t.type==="agent"&&t.agentId===S()));Q.dispatch(Oa(A(),a.tab.id,k?.id??null))}else if(a.panelId){const s=tn(A());s.setActiveTab(a.tab.id,a.panelId),o=!0,s.focusPanel(a.panelId)}}}const Fe=crypto.randomUUID();je(()=>{const a=A();if(!(!e(G)||g()))return Q.dispatch(Da(a,Fe)),()=>Q.dispatch(La(a,Fe))});let G=ce(!1),de=ce(null),u=ce(null),o=!1;function I(a){!o&&!e(J)||(a.preventDefault(),o=!1)}function O(a,s){const k=e(de)?.querySelectorAll('[data-testid="browser-tabs-menu-item"]');if(!k?.length)return;let _;if(a.key==="ArrowDown")_=(s+1)%k.length;else if(a.key==="ArrowUp")_=(s-1+k.length)%k.length;else if(a.key==="Home")_=0;else if(a.key==="End")_=k.length-1;else if(a.key==="ArrowRight"){a.preventDefault(),a.currentTarget.closest("li")?.querySelector('[data-testid="browser-tab-close"]')?.focus();return}else return;a.preventDefault(),k[_].focus()}const Le=n(()=>e(c).filter(a=>a.hidden).length);let J=ce(null);function Ne(a,s){return a.hostClientId===void 0||a.hostClientId===s}function nt(a){const s=nn.select(Q.state,a.hostClientId??"",A());Q.dispatch(Ba(a.id,!s.connected))}function He(a){const s=rn.select(Q.state);if(a.kind==="tab"){const{tab:_,panelId:t}=a.entry;Ne(_,s)?Q.dispatch(ta(A(),_.id,t,void 0,{destroy:!0})):nt(_);return}const k=e(c).filter(_=>_.hidden&&!Ne(_.tab,s)).map(_=>_.tab);k.length<e(Le)&&Q.dispatch(Ha(A(),S(),s));for(const _ of k)nt(_)}async function tt(a){if(!g()){if(b(G,!1),ar.select(Q.state,S())){if(M()){const s=a.kind==="hidden";await en({title:s?d.chat_browserTabs_closeHiddenDialog_title():d.chat_browserTabs_closeDialog_title(),description:s?d.chat_browserTabs_closeHiddenDialog_description():d.chat_browserTabs_closeDialog_description(),confirmLabel:s?d.chat_browserTabs_closeHiddenDialog_confirm_label():d.chat_browserTabs_closeDialog_confirm_label(),cancelLabel:d.chat_browserTabs_closeDialog_cancel_label(),destructive:!0})&&He(a)}else b(J,a,!0);return}He(a)}}function C(){const a=e(J);b(J,null),a&&He(a)}function E(){b(J,null)}var xe={get workspaceId(){return A()},set workspaceId(a){A(a),re()},get agentId(){return S()},set agentId(a){S(a),re()},get entries(){return g()},set entries(a){g(a),re()},get embedded(){return M()},set embedded(a=!1){M(a),re()},$set:dt,$on:(a,s)=>ut(i,a,s)},we=_t(),oe=m(we);{var Y=a=>{var s=X(),k=m(s);x(k,()=>Ot,(_,t)=>{t(_,{get open(){return e(G)},set open(h){b(G,h,!0)},children:(h,F)=>{var K=_t(),ee=m(K);x(ee,()=>Lt,(se,ie)=>{ie(se,{get icon(){return oa},"data-testid":"browser-tabs-trigger",children:(q,N)=>{Ye();var P=et();ve(()=>$e(P,e(z))),r(q,P)},$$slots:{default:!0}})});var ye=$(ee,2);x(ye,()=>Ht,(se,ie)=>{ie(se,{class:"w-64",alignIconColumn:!1,onCloseAutoFocus:I,children:(q,N)=>{var P=_t(),V=m(P);kt(V,17,()=>e(c),D=>D.tab.id,(D,y)=>{const _e=n(()=>Ce(e(y)));var ge=Dn(),fe=We(ge);{const Se=le=>{Wt(le,()=>e(y))};let Pe=n(()=>e(y).hidden?"opacity-60":""),Me=n(()=>e(y).hidden||void 0);x(fe,()=>Vt,(le,Ve)=>{Ve(le,{get class(){return`min-w-0 flex-1 ${e(Pe)??""}`},get textValue(){return e(_e)},onclick:()=>Ee(e(y)),"data-testid":"browser-tabs-menu-item",get"data-browser-tab-id"(){return e(y).tab.id},get"data-hidden"(){return e(Me)},leading:Se,children:(Je,Xe)=>{var Ue=Pn(),ot=at(Ue,!0);ve(()=>$e(ot,e(_e))),r(Je,Ue)},$$slots:{leading:!0,default:!0}})})}var Oe=$(fe,2);{let Se=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)})),Pe=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)})),Me=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)}));x(Oe,()=>Vt,(le,Ve)=>{Ve(le,{class:"size-7 shrink-0 items-center justify-center p-0",get textValue(){return e(Se)},get"aria-label"(){return e(Pe)},get title(){return e(Me)},onSelect:Je=>Je.preventDefault(),onclick:()=>tt({kind:"tab",entry:e(y)}),"data-testid":"browser-tab-close",get"data-browser-tab-id"(){return e(y).tab.id},children:(Je,Xe)=>{var Ue=Mn(),ot=We(Ue);ht(ot,{get icon(){return $t},class:"size-(--menu-icon-size)! shrink-0"}),Be(Ue),r(Je,Ue)},$$slots:{default:!0}})})}Be(ge),r(D,ge)});var B=$(V,2);{var Ie=D=>{var y=_t(),_e=m(y);x(_e,()=>Bt,(fe,Oe)=>{Oe(fe,{})});var ge=$(_e,2);{let fe=n(()=>d.chat_browserTabs_closeHidden_label({count:wt(e(Le))}));x(ge,()=>st,(Oe,Se)=>{Se(Oe,{get icon(){return $t},get label(){return e(fe)},onSelect:Pe=>Pe.preventDefault(),onclick:()=>tt({kind:"hidden"}),"data-testid":"browser-tabs-close-hidden"})})}r(D,y)};Z(B,D=>{e(Le)>0&&D(Ie)})}r(q,P)},$$slots:{default:!0}})}),r(h,K)},$$slots:{default:!0}})}),r(a,s)},ue=a=>{var s=X(),k=m(s);x(k,()=>tr,(_,t)=>{t(_,{get open(){return e(G)},set open(h){b(G,h,!0)},children:(h,F)=>{var K=_t(),ee=m(K);{const se=(ie,q)=>{lt(ie,Mt(()=>(q?.()).props,{variant:"ghost-light",size:"icon-sm",get active(){return e(G)},get"aria-label"(){return e(z)},get tooltip(){return e(z)},get tooltipDisabled(){return e(G)},tooltipSide:"bottom",tooltipDelayDuration:300,"data-testid":"browser-tabs-trigger",get ref(){return e(u)},set ref(P){b(u,P,!0)},children:(P,V)=>{Cr(P,{get size(){return na.compact},weight:"regular","aria-hidden":"true",class:"size-4!"})},$$slots:{default:!0}}))};x(ee,()=>Xr,(ie,q)=>{q(ie,{child:se,$$slots:{child:!0}})})}var ye=$(ee,2);x(ye,()=>er,(se,ie)=>{ie(se,{trapFocus:!1,align:"end",side:"bottom",sideOffset:4,class:"min-w-52 max-w-80 max-h-[min(var(--bits-popover-content-available-height,calc(100dvh-1rem)),calc(100dvh-1rem))] overflow-y-auto p-1",role:"dialog",get"aria-label"(){return e(z)},onOpenAutoFocus:q=>{q.preventDefault(),e(de)?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus()},onCloseAutoFocus:I,children:(q,N)=>{var P=Rn(),V=m(P);kt(V,23,()=>e(c),D=>D.tab.id,(D,y,_e)=>{const ge=n(()=>Ce(e(y)));var fe=Hn(),Oe=We(fe);{let Pe=n(Pt),Me=n(()=>e(y).hidden?"opacity-60":""),le=n(()=>e(y).hidden||void 0);lt(Oe,{variant:"plain",wrapContent:!1,get class(){return`${e(Pe)??""} h-auto min-w-0 flex-1 ${e(Me)??""}`},"data-testid":"browser-tabs-menu-item",get"data-browser-tab-id"(){return e(y).tab.id},get"data-hidden"(){return e(le)},onkeydown:Ve=>O(Ve,e(_e)),onclick:()=>Ee(e(y)),children:(Ve,Je)=>{var Xe=Ln(),Ue=m(Xe),ot=We(Ue);Wt(ot,()=>e(y)),Be(Ue);var yt=$(Ue,2),bt=at(yt,!0);ve(()=>$e(bt,e(ge))),r(Ve,Xe)},$$slots:{default:!0}})}var Se=$(Oe,2);{let Pe=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(ge)})),Me=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(ge)}));lt(Se,{variant:"plain",size:"icon-compact",type:"button",class:"size-6 shrink-0 focus-visible:ring-1","data-testid":"browser-tab-close",get"data-browser-tab-id"(){return e(y).tab.id},get"aria-label"(){return e(Pe)},get title(){return e(Me)},onkeydown:le=>{le.key!=="Escape"&&le.stopPropagation(),le.key==="ArrowLeft"&&(le.preventDefault(),le.currentTarget.closest("li")?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus())},onclick:le=>{le.preventDefault(),le.stopPropagation(),tt({kind:"tab",entry:e(y)})},children:(le,Ve)=>{ht(le,{get icon(){return $t},class:"size-3"})},$$slots:{default:!0}})}Be(fe),r(D,fe)}),Be(V),Jt(V,D=>b(de,D),()=>e(de));var B=$(V,2);{var Ie=D=>{var y=Bn(),_e=$(m(y),2);{let ge=n(Pt);lt(_e,{variant:"plain",get class(){return e(ge)},"data-testid":"browser-tabs-close-hidden",onclick:()=>tt({kind:"hidden"}),children:(fe,Oe)=>{var Se=On(),Pe=m(Se);ht(Pe,{get icon(){return $t},class:"size-3"});var Me=$(Pe);ve(le=>$e(Me,` ${le??""}`),[()=>d.chat_browserTabs_closeHidden_label({count:wt(e(Le))})]),r(fe,Se)},$$slots:{default:!0}})}r(D,y)};Z(B,D=>{e(Le)>0&&D(Ie)})}r(q,P)},$$slots:{default:!0}})}),r(h,K)},$$slots:{default:!0}})}),r(a,s)};Z(oe,a=>{e(c).length>0&&M()?a(Y):e(c).length>0&&a(ue,1)})}var j=$(oe,2);{let a=n(()=>e(J)!==null),s=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_title():d.chat_browserTabs_closeDialog_title()),k=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_description():d.chat_browserTabs_closeDialog_description()),_=n(()=>d.chat_browserTabs_closeDialog_close_ariaLabel()),t=n(()=>d.chat_browserTabs_closeDialog_cancel_label()),h=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_confirm_label():d.chat_browserTabs_closeDialog_confirm_label());Yr(j,{get open(){return e(a)},size:"sm",get title(){return e(s)},get description(){return e(k)},get closeLabel(){return e(_)},get cancelLabel(){return e(t)},get submitLabel(){return e(h)},submitVariant:"destructive",focusSubmit:!0,onSubmit:C,onCancel:E,onCloseAutoFocus:F=>{F.preventDefault(),e(u)?.focus()}})}r(f,we);var te=ft(xe);return T(),te}var Fn=H("<!> <!>",1);function da(f,i){if(new.target)return ct({component:da,...f});gt(i,!0);const w=()=>ke(g,"$entry",p),[p,v]=xt();let T=ae(i,"workspaceId",7),A=ae(i,"agentId",7),S=ae(i,"separator",7,!0);const g=ea(At(()=>T()),At(()=>A()));je(()=>{Q.dispatch(aa(T(),A()))});var M={get workspaceId(){return T()},set workspaceId(c){T(c),re()},get agentId(){return A()},set agentId(c){A(c),re()},get separator(){return S()},set separator(c=!0){S(c),re()},$set:dt,$on:(c,z)=>ut(i,c,z)},W=X(),R=m(W);{var Re=c=>{var z=Fn(),Ce=m(z);{var Ee=G=>{var de=X(),u=m(de);x(u,()=>Bt,(o,I)=>{I(o,{})}),r(G,de)};Z(Ce,G=>{S()&&G(Ee)})}var Fe=$(Ce,2);x(Fe,()=>mt,(G,de)=>{de(G,{indicator:"switch",get icon(){return Sr},get checked(){return w().permission.allowed},onSelect:u=>{u.preventDefault();const o=w()?.permission;o&&!w()?.saving&&Q.dispatch(Ra(T(),A(),o.computerId,!o.allowed))},children:(u,o)=>{Ye();var I=et();ve(O=>$e(I,O),[()=>d.settings_agentFeatures_desktopControl_label()]),r(u,I)},$$slots:{default:!0}})}),r(c,z)};Z(R,c=>{w()?.permission&&c(Re)})}r(f,W);var ne=ft(M);return v(),ne}var Ct=H("<!> <!>",1),Nn=H("<!> <!> <!>",1),zn=H('<span class="min-w-0 flex-1"> </span> <span> </span>',1),En=H("<!> <!> <!> <!>",1),Vn=H("<!> <!> <!> <!> <!>",1);function ua(f,i){if(new.target)return ct({component:ua,...f});gt(i,!0);const w=()=>ke(de,"$agentSession",S),p=()=>ke(Ce,"$fontStyle",S),v=()=>ke(Ee,"$chatContentWidth",S),T=()=>ke(Fe,"$chatAuroraEnabled",S),A=()=>ke(G,"$collapseToolRuns",S),[S,g]=xt(),M=C=>{var E=X(),xe=m(E);x(xe,()=>Kr,(we,oe)=>{oe(we,{get value(){return p()},onValueChange:O,children:(Y,ue)=>{var j=Ct(),te=m(j);x(te,()=>Ut,(s,k)=>{k(s,{value:"sans",closeOnSelect:!1,children:(_,t)=>{Ye();var h=et();ve(F=>$e(h,F),[()=>d.settings_fontStyle_sans()]),r(_,h)},$$slots:{default:!0}})});var a=$(te,2);x(a,()=>Ut,(s,k)=>{k(s,{value:"monospace",closeOnSelect:!1,children:(_,t)=>{Ye();var h=et();ve(F=>$e(h,F),[()=>d.settings_fontStyle_mono()]),r(_,h)},$$slots:{default:!0}})}),r(Y,j)},$$slots:{default:!0}})}),r(C,E)},W=C=>{var E=Nn(),xe=m(E);{let Y=n(()=>v()==="full");x(xe,()=>mt,(ue,j)=>{j(ue,{indicator:"switch",get icon(){return Dr},get checked(){return e(Y)},closeOnSelect:!1,onCheckedChange:te=>Q.dispatch(Fa(te?"full":"800")),children:(te,a)=>{Ye();var s=et();ve(k=>$e(s,k),[()=>d.settings_appearance_chatContentWidth_label()]),r(te,s)},$$slots:{default:!0}})})}var we=$(xe,2);x(we,()=>mt,(Y,ue)=>{ue(Y,{indicator:"switch",get icon(){return Lr},get checked(){return T()},closeOnSelect:!1,onCheckedChange:j=>Q.dispatch(Na(j)),children:(j,te)=>{Ye();var a=et();ve(s=>$e(a,s),[()=>d.settings_appearance_chatAurora_label()]),r(j,a)},$$slots:{default:!0}})});var oe=$(we,2);x(oe,()=>mt,(Y,ue)=>{ue(Y,{indicator:"switch",get icon(){return Hr},get checked(){return A()},closeOnSelect:!1,onCheckedChange:j=>Q.dispatch(za(j)),children:(j,te)=>{Ye();var a=et();ve(s=>$e(a,s),[()=>d.settings_appearance_collapseToolRuns_label()]),r(j,a)},$$slots:{default:!0}})}),r(C,E)},R=C=>{var E=X(),xe=m(E);{var we=oe=>{var Y=X(),ue=m(Y);x(ue,()=>mt,(j,te)=>{te(j,{indicator:"switch",get icon(){return Or},get checked(){return e(u)},closeOnSelect:!1,onCheckedChange:a=>Q.dispatch(Va(c(),z(),a?"interactive":"allow")),children:(a,s)=>{Ye();var k=et();ve(_=>$e(k,_),[()=>d.ui_viewSettings_askBeforeTools_label()]),r(a,k)},$$slots:{default:!0}})}),r(oe,Y)};Z(xe,oe=>{e(u)!==void 0&&c()&&z()&&oe(we)})}r(C,E)},Re=C=>{var E=X(),xe=m(E);{var we=oe=>{var Y=X(),ue=m(Y);Gt(ue,()=>`${c()}:${z()}`,j=>{{let te=n(()=>!ne());da(j,{get workspaceId(){return c()},get agentId(){return z()},get separator(){return e(te)}})}}),r(oe,Y)};Z(xe,oe=>{c()&&z()&&oe(we)})}r(C,E)};let ne=ae(i,"embedded",7,!1),c=ae(i,"workspaceId",7),z=ae(i,"agentId",7);const Ce=sn(),Ee=ln(),Fe=cn(),G=dn(),de=rr(Qr(()=>z())),u=n(()=>{const C=w();if(!c()||!C||C.permissionPolicy===void 0)return;const E=C.effectivePermissionPolicy;return typeof E=="string"?E==="interactive":void 0});let o=ce(!1);const I=n(()=>p()==="sans"?d.settings_fontStyle_sans():d.settings_fontStyle_mono());function O(C){C!=="sans"&&C!=="monospace"||Q.dispatch(Ea(C))}var Le={get embedded(){return ne()},set embedded(C=!1){ne(C),re()},get workspaceId(){return c()},set workspaceId(C){c(C),re()},get agentId(){return z()},set agentId(C){z(C),re()},$set:dt,$on:(C,E)=>ut(i,C,E)},J=X(),Ne=m(J);{var nt=C=>{var E=En(),xe=m(E);x(xe,()=>Ot,(ue,j)=>{j(ue,{children:(te,a)=>{var s=Ct(),k=m(s);x(k,()=>Lt,(t,h)=>{h(t,{get icon(){return Pr},iconWeight:"regular",children:(F,K)=>{var ee=zn(),ye=m(ee),se=at(ye,!0),ie=$(ye,2),q=at(ie,!0);ve(N=>{$e(se,N),Ma(ie,1,`type-caption ${Ur}`),$e(q,e(I))},[()=>d.ui_viewSettings_font_label()]),r(F,ee)},$$slots:{default:!0}})});var _=$(k,2);{let t=n(()=>d.ui_viewSettings_font_label());x(_,()=>Ht,(h,F)=>{F(h,{get"aria-label"(){return e(t)},children:(K,ee)=>{M(K)},$$slots:{default:!0}})})}r(te,s)},$$slots:{default:!0}})});var we=$(xe,2);W(we);var oe=$(we,2);R(oe);var Y=$(oe,2);Re(Y),r(C,E)},He=C=>{var E=X(),xe=m(E);x(xe,()=>jr,(we,oe)=>{oe(we,{get open(){return e(o)},set open(Y){b(o,Y,!0)},children:(Y,ue)=>{var j=Ct(),te=m(j);{const s=(k,_)=>{let t=()=>(_?.()).props;{let h=n(()=>d.ui_viewSettings_trigger_tooltip()),F=n(()=>d.ui_viewSettings_trigger_tooltip());lt(k,Mt(t,{variant:"ghost-light",size:"icon-xs",get tooltip(){return e(h)},tooltipSide:"bottom",get"aria-label"(){return e(F)},get"aria-expanded"(){return e(o)},"data-testid":"agent-view-settings-trigger",children:(K,ee)=>{ht(K,{get icon(){return Mr},size:"xs"})},$$slots:{default:!0}}))}};x(te,()=>qr,(k,_)=>{_(k,{child:s,$$slots:{child:!0}})})}var a=$(te,2);{let s=n(()=>d.ui_viewSettings_trigger_tooltip());x(a,()=>Wr,(k,_)=>{_(k,{align:"end",class:"w-56",get"aria-label"(){return e(s)},children:(t,h)=>{var F=Vn(),K=m(F);M(K);var ee=$(K,2);x(ee,()=>Bt,(q,N)=>{N(q,{})});var ye=$(ee,2);W(ye);var se=$(ye,2);R(se);var ie=$(se,2);Re(ie),r(t,F)},$$slots:{default:!0}})})}r(Y,j)},$$slots:{default:!0}})}),r(C,E)};Z(Ne,C=>{ne()?C(nt):C(He,-1)})}r(f,J);var tt=ft(Le);return g(),tt}function vt(f,i=2){if(f==null)return"";if(typeof f=="string")return f;try{return JSON.stringify(f,null,i)}catch{return String(f)}}function Un(f){const i=f.name||f.toolName||"unknown",w=f.arguments||f.input||f.parameters||{},p=vt(w),v=f.result,T=f.error;let A=`🔧 Tool: ${i}
1
+ import{t as ct,bq as ae,by as dt,br as jt,b as ut,bo as d,bt as Mt,bs as xt,bu as ke}from"./BKW86yq_.js";import{bs as gt,a5 as We,bf as Dt,bA as Be,W as r,bn as ft,aA as re,aB as H,aD as e,bS as $,c9 as n,a7 as X,ay as m,be as Ye,b$ as et,aC as pt,bo as $a,bV as ce,br as It,ca as je,bH as b,c5 as At,b_ as ve,bO as $e,c0 as Nt,bl as at,aw as Kt,cd as St,bz as wa,bj as Ia}from"./DYhIMPy1.js";import{i as Z}from"./CSelYXXo.js";import{k as Gt}from"./BIWW5pDn.js";import{h as Aa,I as ka,g as kt,e as xa}from"./DctMspbi.js";import{c as x}from"./C1N6iAP2.js";import{b as Jt}from"./BaIAhI85.js";import{aq as ya,ar as Ta,bO as Ca}from"./BjFh2SH5.js";import Sa from"./8-yHkkqV.js";import{D as Pa}from"./dT5WNNGq.js";import{C as zt}from"./D9TgvNHy.js";import{b as Xt,e as Qt,s as Yt,f as Ma}from"./Bs7Hg6Iw.js";import"./BBhsbqLJ.js";import{a6 as ea}from"./SnydeSOZ.js";import{Iz as Q,dE as Da,dF as La,gK as ta,iW as Ha,Bs as Oa,gq as Ba,iT as aa,iS as Ra,Dq as Fa,Dp as Na,Dw as za,D1 as Ea,D4 as Va,cc as Ua,ca as Za,cg as qa,bV as Wa,D3 as ja,cd as Ka,CM as Ga}from"./C4xNNtUj.js";import{g as Ja}from"./DfN8_dcw.js";import{a as Xa}from"./DQ3kuV3H.js";import{l as Qa,P as Ya,m as er,n as tr,V as Et}from"./DnBFSw4A.js";import{am as ar,aC as rr,dr as nr,bS as or,c4 as sr,aA as ir,bh as lr,i as cr}from"./BB4FgpiZ.js";import{aY as dr,aZ as ur}from"./NqdaVAll.js";import{a as gr}from"./BZklR_B6.js";import{c as fr}from"./ChTqQfQN.js";import{c as pr}from"./Dx1uQEhV.js";import{C as mr}from"./DlrkMELS.js";import{o as vr}from"./BEA1dP-Y.js";import{I as _r,c as hr}from"./DxkncNQp.js";import"./DKnPivVx.js";import{s as ra}from"./D9WJ9yaW.js";import{a1 as br,f as lt,ae as $r}from"./zqCR6Knb.js";import"./CsvSUZwX.js";import{D as wr,C as na,T as Ir,F as Ar,H as kr,t as xr,R as yr}from"./4I5A3DRt.js";import{aR as Tr,cX as oa,F as ht,c_ as $t,B as Cr,aZ as Sr,bn as Pr,cv as Mr,a6 as Dr,cw as Lr,a5 as Hr,cs as Or,aq as Br,aV as Rr,cU as Fr,ac as Nr,cg as zr,aj as Er,cN as Vr}from"./DmY0GWNY.js";import{a as Pt,m as Ur}from"./V_ABjOKq.js";import{w as Zr,o as Lt,n as Ht,m as Ot,i as Vt,l as Bt,g as mt,p as qr,h as Wr,M as jr,k as Ut,R as Kr}from"./CTMYdigD.js";import{B as Gr}from"./C7CRtBIe.js";import{K as Jr,a3 as Xr,b7 as Qr}from"./DxlsP5Pu.js";import"./DhUnCLhA.js";import{b as Yr}from"./BO3bzcut.js";import{c as en}from"./P2s61dnl.js";import"./CMcMoJJq.js";import{M as st}from"./E9kqzP8d.js";import{g as tn}from"./VVSQHNmC.js";import{J as Zt,q as an}from"./BcLSwxTf.js";import{ay as rn,$ as nn}from"./D3e1E0pH.js";import{t as wt,p as on}from"./BW1uSKLL.js";import{a as sn,e as ln,d as cn,i as dn}from"./DUyBdSjv.js";var un=new Set(["$$slots","$$events","$$legacy","children","class"]),gn=H("<div><!></div>");function sa(f,i){if(new.target)return ct({component:sa,...f});gt(i,!0);let w=ae(i,"children",7),p=ae(i,"class",7),v=jt(i,un);Zr(()=>!1);var T={get children(){return w()},set children(g){w(g),re()},get class(){return p()},set class(g){p(g),re()},$set:dt,$on:(g,M)=>ut(i,g,M)},A=gn();Xt(A,g=>({"data-slot":"menu-footer",class:g,...v}),[()=>Qt("menu-footer type-caption relative z-10 -mx-1.5 -mb-1.5 mt-1.5 border-t border-border bg-muted/20 px-3.5 py-1.5 leading-(--text-caption-line-height) font-normal text-muted-foreground [&_[data-menu-item]]:hover:bg-hover [&_[data-menu-item]]:focus-visible:bg-hover",p())],void 0,void 0,"svelte-1od5b5i");var S=We(A);return ra(S,()=>w()??Dt),Be(A),r(f,A),ft(T)}var fn=new Set(["$$slots","$$events","$$legacy","children"]),pn=pt('<path d="M216,44H40A20,20,0,0,0,20,64V224A19.82,19.82,0,0,0,31.56,242.1a20.14,20.14,0,0,0,8.49,1.9,19.91,19.91,0,0,0,12.82-4.72l.12-.11L84.47,212H216a20,20,0,0,0,20-20V64A20,20,0,0,0,216,44Zm-4,144H80a11.93,11.93,0,0,0-7.84,2.92L44,215.23V68H212ZM84,108A12,12,0,0,1,96,96h64a12,12,0,1,1,0,24H96A12,12,0,0,1,84,108Zm0,40a12,12,0,0,1,12-12h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,148Z"></path>'),mn=pt('<path d="M224,64V192a8,8,0,0,1-8,8H80L45.15,230.11A8,8,0,0,1,32,224V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z" opacity="0.2"></path><path d="M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"></path>',1),vn=pt('<path d="M216,48H40A16,16,0,0,0,24,64V224a15.84,15.84,0,0,0,9.25,14.5A16.05,16.05,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM160,152H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'),_n=pt('<path d="M216,50H40A14,14,0,0,0,26,64V224a13.88,13.88,0,0,0,8.09,12.69A14.11,14.11,0,0,0,40,238a13.87,13.87,0,0,0,9-3.31l.06-.05L82.23,206H216a14,14,0,0,0,14-14V64A14,14,0,0,0,216,50Zm2,142a2,2,0,0,1-2,2H80a6,6,0,0,0-3.92,1.46L41.26,225.53A2,2,0,0,1,38,224V64a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Zm-52-80a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,112Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,144Z"></path>'),hn=pt('<path d="M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"></path>'),bn=pt('<path d="M216,52H40A12,12,0,0,0,28,64V224a11.89,11.89,0,0,0,6.93,10.88A12.17,12.17,0,0,0,40,236a11.89,11.89,0,0,0,7.69-2.83l0,0L81.49,204H216a12,12,0,0,0,12-12V64A12,12,0,0,0,216,52Zm4,140a4,4,0,0,1-4,4H80a4,4,0,0,0-2.62,1L42.56,227.06A4,4,0,0,1,36,224V64a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Zm-56-80a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,112Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,144Z"></path>'),$n=pt('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ia(f,i){if(new.target)return ct({component:ia,...f});gt(i,!0);const w=Aa();let p=ae(i,"children",7),v=jt(i,fn),T=n(()=>i.weight??w.weight??"regular"),A=n(()=>i.color??w.color??"currentColor"),S=n(()=>i.size??w.size??"1em"),g=n(()=>i.mirrored??w.mirrored??!1);function M(o){let{weight:I,color:O,size:Le,mirrored:J,...Ne}=o;return Ne}var W={get children(){return p()},set children(o){p(o),re()},$set:dt,$on:(o,I)=>ut(i,o,I)},R=$n();Xt(R,(o,I)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(S),height:e(S),fill:e(A),transform:e(g)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...o,...I}),[()=>M(w),()=>M(v)]);var Re=We(R);{var ne=o=>{var I=X(),O=m(I);ra(O,p),r(o,I)};Z(Re,o=>{p()&&o(ne)})}var c=$(Re,2);{var z=o=>{var I=pn();r(o,I)},Ce=o=>{var I=mn();Ye(),r(o,I)},Ee=o=>{var I=vn();r(o,I)},Fe=o=>{var I=_n();r(o,I)},G=o=>{var I=hn();r(o,I)},de=o=>{var I=bn();r(o,I)},u=o=>{var I=et();I.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),r(o,I)};Z(c,o=>{e(T)==="bold"?o(z):e(T)==="duotone"?o(Ce,1):e(T)==="fill"?o(Ee,2):e(T)==="light"?o(Fe,3):e(T)==="regular"?o(G,4):e(T)==="thin"?o(de,5):o(u,-1)})}return Be(R),r(f,R),ft(W)}var wn=H('<div class="type-caption flex items-center gap-[var(--space-2)] px-[var(--space-2)] py-[var(--space-1)] text-muted-foreground" data-testid="chat-message-navigator-loading"><!> <span> </span></div>'),In=H('<span class="block min-w-0 max-w-full flex-1 overflow-hidden whitespace-nowrap text-left text-ellipsis font-normal"> </span>'),An=H('<div role="listbox" class="mt-[var(--space-1)] min-h-0 min-w-0 flex-1 max-h-72 overflow-x-hidden overflow-y-auto overscroll-contain"></div>'),kn=H('<div class="type-caption px-2 py-6 text-left text-muted-foreground" data-testid="chat-message-navigator-empty"> </div>'),xn=H('<div class="flex min-h-0 min-w-0 max-h-full flex-1 flex-col overflow-hidden" data-testid="chat-message-navigator-panel"><!> <div role="status" aria-live="polite" class="shrink-0" data-testid="chat-message-navigator-loading-region"><!></div> <!></div>'),qt=H("<!> <!>",1),yn=H('<div class="flex shrink-0 items-center gap-0.5" data-testid="chat-header-navigation-controls"><!> <!></div>');function la(f,i){const w=$a();if(new.target)return ct({component:la,...f});gt(i,!0);const p=t=>{var h=xn(),F=We(h);{let N=n(()=>d.chat_messageNavigator_search_ariaLabel()),P=n(()=>e(O).length>0?I:void 0),V=n(()=>d.chat_messageNavigator_search_placeholder());_r(F,{get value(){return e(ne)},oninput:nt,onkeydown:j,role:"combobox",get"aria-label"(){return e(N)},get"aria-controls"(){return e(P)},"aria-expanded":"true","aria-autocomplete":"list",get"aria-activedescendant"(){return e(Le)},autocomplete:"off",get placeholder(){return e(V)},class:"type-caption h-(--control-height-medium) w-full min-w-0 shrink-0 rounded-(--radius-small) border border-border bg-card px-[var(--space-2)] text-foreground caret-foreground outline-none placeholder:text-muted-foreground","data-testid":"chat-message-navigator-search",get ref(){return e(Fe)},set ref(B){b(Fe,B,!0)}})}var K=$(F,2),ee=We(K);{var ye=N=>{var P=wn(),V=We(P);ka(V,{size:16});var B=$(V,2),Ie=at(B,!0);Be(P),ve(D=>$e(Ie,D),[()=>d.chat_messageNavigator_loading_label()]),r(N,P)};Z(ee,N=>{M()&&N(ye)})}Be(K);var se=$(K,2);{var ie=N=>{var P=An();kt(P,23,()=>e(O),V=>V.id,(V,B,Ie)=>{{let D=n(()=>!e(Re)[e(B).id]),y=n(()=>W()?"":"h-(--control-height-large)");$r(V,{get content(){return e(B).text},get disabled(){return e(D)},side:"left",align:"center",delayDuration:300,size:"sm",get class(){return`block w-full min-w-0 max-w-full ${e(y)??""}`},contentClass:"max-w-[min(28rem,calc(100vw-var(--space-4)))] break-words text-left",children:(_e,ge)=>{{let fe=n(()=>J(e(B).id)),Oe=n(()=>e(Ie)===e(c)),Se=n(()=>Qt(Pt(),hr,"max-w-full cursor-pointer overflow-hidden text-muted-foreground focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/40",W()?"font-normal":"font-medium",!W()&&"h-(--control-height-large) min-h-(--control-height-large) max-h-(--control-height-large)",W()?"hover:bg-hover hover:text-foreground":"hover:bg-accent/60 hover:text-accent-foreground",e(Ie)===e(c)&&(W()?"bg-selected text-foreground":"bg-accent text-accent-foreground"))),Pe=n(()=>W()||void 0);lt(_e,{type:"button",variant:"plain",labelClass:"overflow-hidden whitespace-nowrap text-left text-ellipsis",get id(){return e(fe)},role:"option",tabindex:-1,get"aria-selected"(){return e(Oe)},get class(){return e(Se)},onclick:()=>void ue(e(B).id),onkeydown:Me=>{(Me.key==="Enter"||Me.key===" ")&&(Me.preventDefault(),ue(e(B).id))},onpointermove:()=>{(e(c)!==e(Ie)||e(z))&&He(e(Ie))},"data-testid":"chat-message-navigator-result",get"data-navigation-message-id"(){return e(B).id},get"data-panel-menu-row"(){return e(Pe)},children:(Me,le)=>{var Ve=In(),Je=at(Ve,!0);xa(Ve,(Xe,Ue)=>vr?.(Xe,Ue),()=>Xe=>e(Re)[e(B).id]=Xe),ve(()=>$e(Je,e(B).text)),r(Me,Ve)},$$slots:{default:!0}})}},$$slots:{default:!0}})}}),Be(P),ve(()=>Yt(P,"id",I)),Kt("scroll",P,tt),r(N,P)},q=N=>{var P=kn(),V=at(P,!0);ve(B=>$e(V,B),[()=>d.chat_messageNavigator_empty_label()]),r(N,P)};Z(se,N=>{e(O).length>0?N(ie):M()||N(q,1)})}Be(h),r(t,h)};let v=ae(i,"messages",7),T=ae(i,"isAtBottom",7),A=ae(i,"onSelectMessage",7),S=ae(i,"onScrollToBottom",7),g=ae(i,"onOpen",7),M=ae(i,"isLoadingIndex",7,!1),W=ae(i,"embedded",7,!1),R=ce(!1),Re=ce(It({})),ne=ce(""),c=ce(0),z=ce(!0),Ce=null,Ee=!1,Fe=ce(null),G=ce(null),de=ce(null),u=ce(It([])),o=ce(!1);const I=`chat-message-navigator-listbox-${w}`,O=n(()=>{const t=e(ne).trim().toLocaleLowerCase();return t?v().filter(h=>h.text.toLocaleLowerCase().includes(t)):v()}),Le=n(()=>e(O)[e(c)]?J(e(O)[e(c)].id):void 0);function J(t){return`${I}-option-${encodeURIComponent(t)}`}function Ne(t){if(b(R,t,!0),!t)return;const h=e(G)?.closest("[data-panel-id]");b(u,h?[h]:[],!0),b(ne,""),b(z,!0),b(c,Math.max(v().length-1,0),!0),g()?.()}function nt(t){b(ne,t.currentTarget.value,!0),b(z,!0),b(c,Math.max(e(O).length-1,0),!0)}function He(t){b(z,!1),b(c,t,!0),Ce=e(O)[t]?.id??null}function tt(){Ee||b(z,!1)}je(()=>{if(!e(R))return;const t=e(O).length;if(t===0)return;if(e(z)){b(c,t-1),Ce=e(O)[t-1].id;return}const h=At(()=>e(c)),F=Ce===null?-1:e(O).findIndex(K=>K.id===Ce);F>=0?F!==h&&b(c,F,!0):h>=t?(b(c,t-1),Ce=e(O)[t-1].id):Ce=e(O)[h]?.id??null}),je(()=>{if(!e(R)||!e(de)||e(O).length===0)return;const t=e(Le)?document.getElementById(e(Le)):null;t&&(Ee=!0,t.scrollIntoView?.({block:"nearest"}),requestAnimationFrame(()=>{Ee=!1}))});function C(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),Ne(!e(R)))}function E(t){t.preventDefault(),e(Fe)?.focus()}async function xe(){await Nt(),e(R)&&e(Fe)?.focus()}function we(t){return e(de)?.contains(t)?!0:t instanceof Element?t.closest("[data-chat-message-navigator-content]")?.dataset.chatMessageNavigatorContent===w:!1}function oe(t){!e(R)||!(t.target instanceof Node)||e(G)?.contains(t.target)||we(t.target)||(b(o,!0),Ne(!1))}function Y(t){e(o)&&(t.preventDefault(),b(o,!1))}async function ue(t){b(R,!1),await Nt(),await A()(t)}function j(t){if(W()&&t.stopPropagation(),t.key==="Escape"){t.preventDefault(),b(R,!1);return}e(O).length!==0&&(t.key==="ArrowDown"?(t.preventDefault(),He((e(c)+1)%e(O).length)):t.key==="ArrowUp"?(t.preventDefault(),He((e(c)-1+e(O).length)%e(O).length)):t.key==="Home"?(t.preventDefault(),He(0)):t.key==="End"?(t.preventDefault(),He(e(O).length-1)):t.key==="Enter"&&(t.preventDefault(),ue(e(O)[e(c)].id)))}var te={get messages(){return v()},set messages(t){v(t),re()},get isAtBottom(){return T()},set isAtBottom(t){T(t),re()},get onSelectMessage(){return A()},set onSelectMessage(t){A(t),re()},get onScrollToBottom(){return S()},set onScrollToBottom(t){S(t),re()},get onOpen(){return g()},set onOpen(t){g(t),re()},get isLoadingIndex(){return M()},set isLoadingIndex(t=!1){M(t),re()},get embedded(){return W()},set embedded(t=!1){W(t),re()},$set:dt,$on:(t,h)=>ut(i,t,h)},a=X(),s=m(a);{var k=t=>{var h=X(),F=m(h);x(F,()=>Ot,(K,ee)=>{ee(K,{onOpenChange:Ne,get open(){return e(R)},set open(ye){b(R,ye,!0)},children:(ye,se)=>{var ie=qt(),q=m(ie);x(q,()=>Lt,(P,V)=>{V(P,{get icon(){return Tr},onSelect:xe,"data-testid":"chat-message-navigator-trigger",children:(B,Ie)=>{Ye();var D=et();ve(y=>$e(D,y),[()=>d.chat_messageNavigator_menu_label()]),r(B,D)},$$slots:{default:!0}})});var N=$(q,2);x(N,()=>Ht,(P,V)=>{V(P,{class:"w-[28rem] max-w-[calc(100vw-1rem)]",onOpenAutoFocus:E,get"data-chat-message-navigator-content"(){return w},get ref(){return e(de)},set ref(B){b(de,B,!0)},children:(B,Ie)=>{p(B)},$$slots:{default:!0}})}),r(ye,ie)},$$slots:{default:!0}})}),r(t,h)},_=t=>{var h=yn(),F=We(h);x(F,()=>Ya,(ee,ye)=>{ye(ee,{onOpenChange:Ne,get open(){return e(R)},set open(se){b(R,se,!0)},children:(se,ie)=>{var q=qt(),N=m(q);{const V=(B,Ie)=>{let D=()=>(Ie?.()).props;{let y=n(()=>d.chat_messageNavigator_open_ariaLabel()),_e=n(()=>d.chat_messageNavigator_open_ariaLabel());lt(B,Mt(D,{variant:"ghost-light",size:"icon-sm",get active(){return e(R)},get"aria-label"(){return e(y)},get tooltip(){return e(_e)},get tooltipDisabled(){return e(R)},tooltipSide:"bottom",tooltipDelayDuration:300,get"aria-expanded"(){return e(R)},onkeydown:C,"data-testid":"chat-message-navigator-trigger",children:(ge,fe)=>{ia(ge,{get size(){return na.compact},weight:"regular",mirrored:!1,"aria-hidden":"true",class:"size-4!","data-chat-message-navigator-chat-icon":!0})},$$slots:{default:!0}}))}};x(N,()=>Jr,(B,Ie)=>{Ie(B,{get ref(){return e(G)},set ref(D){b(G,D,!0)},child:V,$$slots:{child:!0}})})}var P=$(N,2);x(P,()=>br,(V,B)=>{B(V,{children:(Ie,D)=>{var y=X(),_e=m(y);{let ge=n(()=>d.chat_messageNavigator_open_ariaLabel());x(_e,()=>Qa,(fe,Oe)=>{Oe(fe,{role:"dialog",get"aria-label"(){return e(ge)},align:"end",side:"bottom",sideOffset:4,get collisionBoundary(){return e(u)},collisionPadding:8,trapFocus:!1,onOpenAutoFocus:E,onCloseAutoFocus:Y,onFocusOutside:oe,get"data-chat-message-navigator-content"(){return w},get class(){return`${wr} w-[28rem]`},get ref(){return e(de)},set ref(Se){b(de,Se,!0)},children:(Se,Pe)=>{p(Se)},$$slots:{default:!0}})})}r(Ie,y)},$$slots:{default:!0}})}),r(se,q)},$$slots:{default:!0}})});var K=$(F,2);Gr(K,{get disabled(){return T()},get onclick(){return S()}}),Be(h),r(t,h)};Z(s,t=>{W()?t(k):t(_,-1)})}return r(f,a),ft(te)}function Tn(f,i,w){return[...Object.values(f).flatMap(p=>p.tabs.filter(v=>v.type==="browser"&&v.ownerAgentId===w).map(v=>({tab:v,panelId:p.id,active:p.activeTabId===v.id,hidden:!1}))),...i.filter(p=>p.type==="browser"&&p.ownerAgentId===w).map(p=>({tab:p,active:!1,hidden:!0}))]}const Wt=(f,i=Dt)=>{var w=Sn(),p=We(w);ht(p,{get icon(){return oa},class:"size-(--menu-icon-size) opacity-30"});var v=$(p,2);{var T=A=>{var S=Cn();ve(()=>Yt(S,"src",i().tab.faviconUrl)),Kt("error",S,g=>g.currentTarget.style.display="none"),wa(S),r(A,S)};Z(v,A=>{i().tab.faviconUrl&&A(T)})}Be(w),r(f,w)};var Cn=H('<img alt="" class="absolute inset-0 size-full rounded-sm object-contain"/>'),Sn=H('<span class="relative inline-flex size-(--menu-icon-size) shrink-0 items-center justify-center" aria-hidden="true"><!> <!></span>'),Pn=H('<span class="min-w-0 flex-1 truncate"> </span>'),Mn=H('<span class="inline-flex size-(--menu-icon-size) items-center justify-center" aria-hidden="true"><!></span>'),Dn=H('<div class="flex min-w-0 items-center gap-1"><!> <!></div>'),_t=H("<!> <!>",1),Ln=H('<span class="first-line-icon w-(--menu-icon-size)" aria-hidden="true"><!></span> <span class="min-w-0 flex-1 truncate text-muted-foreground"> </span>',1),Hn=H('<li class="flex min-w-0 items-center gap-1"><!> <!></li>'),On=H("<!> ",1),Bn=H('<div class="my-1 border-t border-border"></div> <!>',1),Rn=H('<ul class="m-0 list-none p-0"></ul> <!>',1);function ca(f,i){if(new.target)return ct({component:ca,...f});gt(i,!0);const w=()=>ke(R,"$panels$",v),p=()=>ke(Re,"$hiddenTabs$",v),[v,T]=xt();let A=ae(i,"workspaceId",7),S=ae(i,"agentId",7),g=ae(i,"entries",7),M=ae(i,"embedded",7,!1);const W=St(A());je(()=>W.set(A()));const R=Zt(W),Re=an(W),ne=n(()=>Tn(w(),p(),S())),c=n(()=>g()??e(ne)),z=n(()=>e(c).length===1?d.chat_browserTabs_trigger_tooltip_one({count:wt(e(c).length)}):d.chat_browserTabs_trigger_tooltip_many({count:wt(e(c).length)}));function Ce(a){const s=a.tab.title.trim();if(s)return s;if(a.tab.browserUrl)try{return new URL(a.tab.browserUrl).host||a.tab.browserUrl}catch{return a.tab.browserUrl}return d.browser_embedded_noUrl_label()}function Ee(a){if(b(G,!1),!g()){if(a.hidden){const s=Zt.select(Q.state,A()),k=Object.values(s).find(_=>_.tabs.some(t=>t.type==="agent"&&t.agentId===S()));Q.dispatch(Oa(A(),a.tab.id,k?.id??null))}else if(a.panelId){const s=tn(A());s.setActiveTab(a.tab.id,a.panelId),o=!0,s.focusPanel(a.panelId)}}}const Fe=crypto.randomUUID();je(()=>{const a=A();if(!(!e(G)||g()))return Q.dispatch(Da(a,Fe)),()=>Q.dispatch(La(a,Fe))});let G=ce(!1),de=ce(null),u=ce(null),o=!1;function I(a){!o&&!e(J)||(a.preventDefault(),o=!1)}function O(a,s){const k=e(de)?.querySelectorAll('[data-testid="browser-tabs-menu-item"]');if(!k?.length)return;let _;if(a.key==="ArrowDown")_=(s+1)%k.length;else if(a.key==="ArrowUp")_=(s-1+k.length)%k.length;else if(a.key==="Home")_=0;else if(a.key==="End")_=k.length-1;else if(a.key==="ArrowRight"){a.preventDefault(),a.currentTarget.closest("li")?.querySelector('[data-testid="browser-tab-close"]')?.focus();return}else return;a.preventDefault(),k[_].focus()}const Le=n(()=>e(c).filter(a=>a.hidden).length);let J=ce(null);function Ne(a,s){return a.hostClientId===void 0||a.hostClientId===s}function nt(a){const s=nn.select(Q.state,a.hostClientId??"",A());Q.dispatch(Ba(a.id,!s.connected))}function He(a){const s=rn.select(Q.state);if(a.kind==="tab"){const{tab:_,panelId:t}=a.entry;Ne(_,s)?Q.dispatch(ta(A(),_.id,t,void 0,{destroy:!0})):nt(_);return}const k=e(c).filter(_=>_.hidden&&!Ne(_.tab,s)).map(_=>_.tab);k.length<e(Le)&&Q.dispatch(Ha(A(),S(),s));for(const _ of k)nt(_)}async function tt(a){if(!g()){if(b(G,!1),ar.select(Q.state,S())){if(M()){const s=a.kind==="hidden";await en({title:s?d.chat_browserTabs_closeHiddenDialog_title():d.chat_browserTabs_closeDialog_title(),description:s?d.chat_browserTabs_closeHiddenDialog_description():d.chat_browserTabs_closeDialog_description(),confirmLabel:s?d.chat_browserTabs_closeHiddenDialog_confirm_label():d.chat_browserTabs_closeDialog_confirm_label(),cancelLabel:d.chat_browserTabs_closeDialog_cancel_label(),destructive:!0})&&He(a)}else b(J,a,!0);return}He(a)}}function C(){const a=e(J);b(J,null),a&&He(a)}function E(){b(J,null)}var xe={get workspaceId(){return A()},set workspaceId(a){A(a),re()},get agentId(){return S()},set agentId(a){S(a),re()},get entries(){return g()},set entries(a){g(a),re()},get embedded(){return M()},set embedded(a=!1){M(a),re()},$set:dt,$on:(a,s)=>ut(i,a,s)},we=_t(),oe=m(we);{var Y=a=>{var s=X(),k=m(s);x(k,()=>Ot,(_,t)=>{t(_,{get open(){return e(G)},set open(h){b(G,h,!0)},children:(h,F)=>{var K=_t(),ee=m(K);x(ee,()=>Lt,(se,ie)=>{ie(se,{get icon(){return oa},"data-testid":"browser-tabs-trigger",children:(q,N)=>{Ye();var P=et();ve(()=>$e(P,e(z))),r(q,P)},$$slots:{default:!0}})});var ye=$(ee,2);x(ye,()=>Ht,(se,ie)=>{ie(se,{class:"w-64",alignIconColumn:!1,onCloseAutoFocus:I,children:(q,N)=>{var P=_t(),V=m(P);kt(V,17,()=>e(c),D=>D.tab.id,(D,y)=>{const _e=n(()=>Ce(e(y)));var ge=Dn(),fe=We(ge);{const Se=le=>{Wt(le,()=>e(y))};let Pe=n(()=>e(y).hidden?"opacity-60":""),Me=n(()=>e(y).hidden||void 0);x(fe,()=>Vt,(le,Ve)=>{Ve(le,{get class(){return`min-w-0 flex-1 ${e(Pe)??""}`},get textValue(){return e(_e)},onclick:()=>Ee(e(y)),"data-testid":"browser-tabs-menu-item",get"data-browser-tab-id"(){return e(y).tab.id},get"data-hidden"(){return e(Me)},leading:Se,children:(Je,Xe)=>{var Ue=Pn(),ot=at(Ue,!0);ve(()=>$e(ot,e(_e))),r(Je,Ue)},$$slots:{leading:!0,default:!0}})})}var Oe=$(fe,2);{let Se=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)})),Pe=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)})),Me=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(_e)}));x(Oe,()=>Vt,(le,Ve)=>{Ve(le,{class:"size-7 shrink-0 items-center justify-center p-0",get textValue(){return e(Se)},get"aria-label"(){return e(Pe)},get title(){return e(Me)},onSelect:Je=>Je.preventDefault(),onclick:()=>tt({kind:"tab",entry:e(y)}),"data-testid":"browser-tab-close",get"data-browser-tab-id"(){return e(y).tab.id},children:(Je,Xe)=>{var Ue=Mn(),ot=We(Ue);ht(ot,{get icon(){return $t},class:"size-(--menu-icon-size)! shrink-0"}),Be(Ue),r(Je,Ue)},$$slots:{default:!0}})})}Be(ge),r(D,ge)});var B=$(V,2);{var Ie=D=>{var y=_t(),_e=m(y);x(_e,()=>Bt,(fe,Oe)=>{Oe(fe,{})});var ge=$(_e,2);{let fe=n(()=>d.chat_browserTabs_closeHidden_label({count:wt(e(Le))}));x(ge,()=>st,(Oe,Se)=>{Se(Oe,{get icon(){return $t},get label(){return e(fe)},onSelect:Pe=>Pe.preventDefault(),onclick:()=>tt({kind:"hidden"}),"data-testid":"browser-tabs-close-hidden"})})}r(D,y)};Z(B,D=>{e(Le)>0&&D(Ie)})}r(q,P)},$$slots:{default:!0}})}),r(h,K)},$$slots:{default:!0}})}),r(a,s)},ue=a=>{var s=X(),k=m(s);x(k,()=>tr,(_,t)=>{t(_,{get open(){return e(G)},set open(h){b(G,h,!0)},children:(h,F)=>{var K=_t(),ee=m(K);{const se=(ie,q)=>{lt(ie,Mt(()=>(q?.()).props,{variant:"ghost-light",size:"icon-sm",get active(){return e(G)},get"aria-label"(){return e(z)},get tooltip(){return e(z)},get tooltipDisabled(){return e(G)},tooltipSide:"bottom",tooltipDelayDuration:300,"data-testid":"browser-tabs-trigger",get ref(){return e(u)},set ref(P){b(u,P,!0)},children:(P,V)=>{Cr(P,{get size(){return na.compact},weight:"regular","aria-hidden":"true",class:"size-4!"})},$$slots:{default:!0}}))};x(ee,()=>Xr,(ie,q)=>{q(ie,{child:se,$$slots:{child:!0}})})}var ye=$(ee,2);x(ye,()=>er,(se,ie)=>{ie(se,{trapFocus:!1,align:"end",side:"bottom",sideOffset:4,class:"min-w-52 max-w-80 max-h-[min(var(--bits-popover-content-available-height,calc(100dvh-1rem)),calc(100dvh-1rem))] overflow-y-auto p-1",role:"dialog",get"aria-label"(){return e(z)},onOpenAutoFocus:q=>{q.preventDefault(),e(de)?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus()},onCloseAutoFocus:I,children:(q,N)=>{var P=Rn(),V=m(P);kt(V,23,()=>e(c),D=>D.tab.id,(D,y,_e)=>{const ge=n(()=>Ce(e(y)));var fe=Hn(),Oe=We(fe);{let Pe=n(Pt),Me=n(()=>e(y).hidden?"opacity-60":""),le=n(()=>e(y).hidden||void 0);lt(Oe,{variant:"plain",wrapContent:!1,get class(){return`${e(Pe)??""} h-auto min-w-0 flex-1 ${e(Me)??""}`},"data-testid":"browser-tabs-menu-item",get"data-browser-tab-id"(){return e(y).tab.id},get"data-hidden"(){return e(le)},onkeydown:Ve=>O(Ve,e(_e)),onclick:()=>Ee(e(y)),children:(Ve,Je)=>{var Xe=Ln(),Ue=m(Xe),ot=We(Ue);Wt(ot,()=>e(y)),Be(Ue);var yt=$(Ue,2),bt=at(yt,!0);ve(()=>$e(bt,e(ge))),r(Ve,Xe)},$$slots:{default:!0}})}var Se=$(Oe,2);{let Pe=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(ge)})),Me=n(()=>d.chat_browserTabs_closeTab_ariaLabel({title:e(ge)}));lt(Se,{variant:"plain",size:"icon-compact",type:"button",class:"size-6 shrink-0 focus-visible:ring-1","data-testid":"browser-tab-close",get"data-browser-tab-id"(){return e(y).tab.id},get"aria-label"(){return e(Pe)},get title(){return e(Me)},onkeydown:le=>{le.key!=="Escape"&&le.stopPropagation(),le.key==="ArrowLeft"&&(le.preventDefault(),le.currentTarget.closest("li")?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus())},onclick:le=>{le.preventDefault(),le.stopPropagation(),tt({kind:"tab",entry:e(y)})},children:(le,Ve)=>{ht(le,{get icon(){return $t},class:"size-3"})},$$slots:{default:!0}})}Be(fe),r(D,fe)}),Be(V),Jt(V,D=>b(de,D),()=>e(de));var B=$(V,2);{var Ie=D=>{var y=Bn(),_e=$(m(y),2);{let ge=n(Pt);lt(_e,{variant:"plain",get class(){return e(ge)},"data-testid":"browser-tabs-close-hidden",onclick:()=>tt({kind:"hidden"}),children:(fe,Oe)=>{var Se=On(),Pe=m(Se);ht(Pe,{get icon(){return $t},class:"size-3"});var Me=$(Pe);ve(le=>$e(Me,` ${le??""}`),[()=>d.chat_browserTabs_closeHidden_label({count:wt(e(Le))})]),r(fe,Se)},$$slots:{default:!0}})}r(D,y)};Z(B,D=>{e(Le)>0&&D(Ie)})}r(q,P)},$$slots:{default:!0}})}),r(h,K)},$$slots:{default:!0}})}),r(a,s)};Z(oe,a=>{e(c).length>0&&M()?a(Y):e(c).length>0&&a(ue,1)})}var j=$(oe,2);{let a=n(()=>e(J)!==null),s=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_title():d.chat_browserTabs_closeDialog_title()),k=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_description():d.chat_browserTabs_closeDialog_description()),_=n(()=>d.chat_browserTabs_closeDialog_close_ariaLabel()),t=n(()=>d.chat_browserTabs_closeDialog_cancel_label()),h=n(()=>e(J)?.kind==="hidden"?d.chat_browserTabs_closeHiddenDialog_confirm_label():d.chat_browserTabs_closeDialog_confirm_label());Yr(j,{get open(){return e(a)},size:"sm",get title(){return e(s)},get description(){return e(k)},get closeLabel(){return e(_)},get cancelLabel(){return e(t)},get submitLabel(){return e(h)},submitVariant:"destructive",focusSubmit:!0,onSubmit:C,onCancel:E,onCloseAutoFocus:F=>{F.preventDefault(),e(u)?.focus()}})}r(f,we);var te=ft(xe);return T(),te}var Fn=H("<!> <!>",1);function da(f,i){if(new.target)return ct({component:da,...f});gt(i,!0);const w=()=>ke(g,"$entry",p),[p,v]=xt();let T=ae(i,"workspaceId",7),A=ae(i,"agentId",7),S=ae(i,"separator",7,!0);const g=ea(At(()=>T()),At(()=>A()));je(()=>{Q.dispatch(aa(T(),A()))});var M={get workspaceId(){return T()},set workspaceId(c){T(c),re()},get agentId(){return A()},set agentId(c){A(c),re()},get separator(){return S()},set separator(c=!0){S(c),re()},$set:dt,$on:(c,z)=>ut(i,c,z)},W=X(),R=m(W);{var Re=c=>{var z=Fn(),Ce=m(z);{var Ee=G=>{var de=X(),u=m(de);x(u,()=>Bt,(o,I)=>{I(o,{})}),r(G,de)};Z(Ce,G=>{S()&&G(Ee)})}var Fe=$(Ce,2);x(Fe,()=>mt,(G,de)=>{de(G,{indicator:"switch",get icon(){return Sr},get checked(){return w().permission.allowed},onSelect:u=>{u.preventDefault();const o=w()?.permission;o&&!w()?.saving&&Q.dispatch(Ra(T(),A(),o.computerId,!o.allowed))},children:(u,o)=>{Ye();var I=et();ve(O=>$e(I,O),[()=>d.settings_agentFeatures_desktopControl_label()]),r(u,I)},$$slots:{default:!0}})}),r(c,z)};Z(R,c=>{w()?.permission&&c(Re)})}r(f,W);var ne=ft(M);return v(),ne}var Ct=H("<!> <!>",1),Nn=H("<!> <!> <!>",1),zn=H('<span class="min-w-0 flex-1"> </span> <span> </span>',1),En=H("<!> <!> <!> <!>",1),Vn=H("<!> <!> <!> <!> <!>",1);function ua(f,i){if(new.target)return ct({component:ua,...f});gt(i,!0);const w=()=>ke(de,"$agentSession",S),p=()=>ke(Ce,"$fontStyle",S),v=()=>ke(Ee,"$chatContentWidth",S),T=()=>ke(Fe,"$chatAuroraEnabled",S),A=()=>ke(G,"$collapseToolRuns",S),[S,g]=xt(),M=C=>{var E=X(),xe=m(E);x(xe,()=>Kr,(we,oe)=>{oe(we,{get value(){return p()},onValueChange:O,children:(Y,ue)=>{var j=Ct(),te=m(j);x(te,()=>Ut,(s,k)=>{k(s,{value:"sans",closeOnSelect:!1,children:(_,t)=>{Ye();var h=et();ve(F=>$e(h,F),[()=>d.settings_fontStyle_sans()]),r(_,h)},$$slots:{default:!0}})});var a=$(te,2);x(a,()=>Ut,(s,k)=>{k(s,{value:"monospace",closeOnSelect:!1,children:(_,t)=>{Ye();var h=et();ve(F=>$e(h,F),[()=>d.settings_fontStyle_mono()]),r(_,h)},$$slots:{default:!0}})}),r(Y,j)},$$slots:{default:!0}})}),r(C,E)},W=C=>{var E=Nn(),xe=m(E);{let Y=n(()=>v()==="full");x(xe,()=>mt,(ue,j)=>{j(ue,{indicator:"switch",get icon(){return Dr},get checked(){return e(Y)},closeOnSelect:!1,onCheckedChange:te=>Q.dispatch(Fa(te?"full":"800")),children:(te,a)=>{Ye();var s=et();ve(k=>$e(s,k),[()=>d.settings_appearance_chatContentWidth_label()]),r(te,s)},$$slots:{default:!0}})})}var we=$(xe,2);x(we,()=>mt,(Y,ue)=>{ue(Y,{indicator:"switch",get icon(){return Lr},get checked(){return T()},closeOnSelect:!1,onCheckedChange:j=>Q.dispatch(Na(j)),children:(j,te)=>{Ye();var a=et();ve(s=>$e(a,s),[()=>d.settings_appearance_chatAurora_label()]),r(j,a)},$$slots:{default:!0}})});var oe=$(we,2);x(oe,()=>mt,(Y,ue)=>{ue(Y,{indicator:"switch",get icon(){return Hr},get checked(){return A()},closeOnSelect:!1,onCheckedChange:j=>Q.dispatch(za(j)),children:(j,te)=>{Ye();var a=et();ve(s=>$e(a,s),[()=>d.settings_appearance_collapseToolRuns_label()]),r(j,a)},$$slots:{default:!0}})}),r(C,E)},R=C=>{var E=X(),xe=m(E);{var we=oe=>{var Y=X(),ue=m(Y);x(ue,()=>mt,(j,te)=>{te(j,{indicator:"switch",get icon(){return Or},get checked(){return e(u)},closeOnSelect:!1,onCheckedChange:a=>Q.dispatch(Va(c(),z(),a?"interactive":"allow")),children:(a,s)=>{Ye();var k=et();ve(_=>$e(k,_),[()=>d.ui_viewSettings_askBeforeTools_label()]),r(a,k)},$$slots:{default:!0}})}),r(oe,Y)};Z(xe,oe=>{e(u)!==void 0&&c()&&z()&&oe(we)})}r(C,E)},Re=C=>{var E=X(),xe=m(E);{var we=oe=>{var Y=X(),ue=m(Y);Gt(ue,()=>`${c()}:${z()}`,j=>{{let te=n(()=>!ne());da(j,{get workspaceId(){return c()},get agentId(){return z()},get separator(){return e(te)}})}}),r(oe,Y)};Z(xe,oe=>{c()&&z()&&oe(we)})}r(C,E)};let ne=ae(i,"embedded",7,!1),c=ae(i,"workspaceId",7),z=ae(i,"agentId",7);const Ce=sn(),Ee=ln(),Fe=cn(),G=dn(),de=rr(Qr(()=>z())),u=n(()=>{const C=w();if(!c()||!C||C.permissionPolicy===void 0)return;const E=C.effectivePermissionPolicy;return typeof E=="string"?E==="interactive":void 0});let o=ce(!1);const I=n(()=>p()==="sans"?d.settings_fontStyle_sans():d.settings_fontStyle_mono());function O(C){C!=="sans"&&C!=="monospace"||Q.dispatch(Ea(C))}var Le={get embedded(){return ne()},set embedded(C=!1){ne(C),re()},get workspaceId(){return c()},set workspaceId(C){c(C),re()},get agentId(){return z()},set agentId(C){z(C),re()},$set:dt,$on:(C,E)=>ut(i,C,E)},J=X(),Ne=m(J);{var nt=C=>{var E=En(),xe=m(E);x(xe,()=>Ot,(ue,j)=>{j(ue,{children:(te,a)=>{var s=Ct(),k=m(s);x(k,()=>Lt,(t,h)=>{h(t,{get icon(){return Pr},iconWeight:"regular",children:(F,K)=>{var ee=zn(),ye=m(ee),se=at(ye,!0),ie=$(ye,2),q=at(ie,!0);ve(N=>{$e(se,N),Ma(ie,1,`type-caption ${Ur}`),$e(q,e(I))},[()=>d.ui_viewSettings_font_label()]),r(F,ee)},$$slots:{default:!0}})});var _=$(k,2);{let t=n(()=>d.ui_viewSettings_font_label());x(_,()=>Ht,(h,F)=>{F(h,{get"aria-label"(){return e(t)},children:(K,ee)=>{M(K)},$$slots:{default:!0}})})}r(te,s)},$$slots:{default:!0}})});var we=$(xe,2);W(we);var oe=$(we,2);R(oe);var Y=$(oe,2);Re(Y),r(C,E)},He=C=>{var E=X(),xe=m(E);x(xe,()=>jr,(we,oe)=>{oe(we,{get open(){return e(o)},set open(Y){b(o,Y,!0)},children:(Y,ue)=>{var j=Ct(),te=m(j);{const s=(k,_)=>{let t=()=>(_?.()).props;{let h=n(()=>d.ui_viewSettings_trigger_tooltip()),F=n(()=>d.ui_viewSettings_trigger_tooltip());lt(k,Mt(t,{variant:"ghost-light",size:"icon-xs",get tooltip(){return e(h)},tooltipSide:"bottom",get"aria-label"(){return e(F)},get"aria-expanded"(){return e(o)},"data-testid":"agent-view-settings-trigger",children:(K,ee)=>{ht(K,{get icon(){return Mr},size:"xs"})},$$slots:{default:!0}}))}};x(te,()=>qr,(k,_)=>{_(k,{child:s,$$slots:{child:!0}})})}var a=$(te,2);{let s=n(()=>d.ui_viewSettings_trigger_tooltip());x(a,()=>Wr,(k,_)=>{_(k,{align:"end",class:"w-56",get"aria-label"(){return e(s)},children:(t,h)=>{var F=Vn(),K=m(F);M(K);var ee=$(K,2);x(ee,()=>Bt,(q,N)=>{N(q,{})});var ye=$(ee,2);W(ye);var se=$(ye,2);R(se);var ie=$(se,2);Re(ie),r(t,F)},$$slots:{default:!0}})})}r(Y,j)},$$slots:{default:!0}})}),r(C,E)};Z(Ne,C=>{ne()?C(nt):C(He,-1)})}r(f,J);var tt=ft(Le);return g(),tt}function vt(f,i=2){if(f==null)return"";if(typeof f=="string")return f;try{return JSON.stringify(f,null,i)}catch{return String(f)}}function Un(f){const i=f.name||f.toolName||"unknown",w=f.arguments||f.input||f.parameters||{},p=vt(w),v=f.result,T=f.error;let A=`🔧 Tool: ${i}
2
2
  Input:
3
3
  ${p}`;return T?A+=`
4
4
  ❌ Error: ${typeof T=="string"?T:vt(T)}`:v!==void 0&&(A+=`