@intent-hq/web 2.368.0 → 2.369.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{LWpzAIb1.js → -QpfKAxD.js} +1 -1
- package/web/app/immutable/chunks/{CuGp4iiZ.js → -cLO88ax.js} +1 -1
- package/web/app/immutable/chunks/{Dv8qmtiG.js → 0NGflniG.js} +1 -1
- package/web/app/immutable/chunks/{D3-X6DuB.js → 0jRiL-di.js} +2 -2
- package/web/app/immutable/chunks/{DuH3Z8Tj.js → 3IxT-Mrl.js} +1 -1
- package/web/app/immutable/chunks/{WpDLfp8g.js → 3_UV1UgL.js} +1 -1
- package/web/app/immutable/chunks/{DV8MrQzP.js → 4pFiTcXi.js} +1 -1
- package/web/app/immutable/chunks/51_h0jm2.js +1 -0
- package/web/app/immutable/chunks/{D_4E2Vkl.js → 5E3JQYey.js} +1 -1
- package/web/app/immutable/chunks/{BqnLfjrK.js → 5NOp7PNZ.js} +1 -1
- package/web/app/immutable/chunks/{BM7pSBH1.js → 6GNWsakm.js} +1 -1
- package/web/app/immutable/chunks/{C-WGoO9q.js → 6i_wfV3v.js} +1 -1
- package/web/app/immutable/chunks/{DZs8iANO.js → 7Uk2VvOl.js} +1 -1
- package/web/app/immutable/chunks/{CX6lA3D1.js → 8TQkfju3.js} +1 -1
- package/web/app/immutable/chunks/{DSxt_T6i.js → 93RUSyHg.js} +1 -1
- package/web/app/immutable/chunks/{Dag-yjBl.js → 9wk-Hes5.js} +1 -1
- package/web/app/immutable/chunks/{H5EFGbef.js → AIQuxhpV.js} +1 -1
- package/web/app/immutable/chunks/{Ct-FgWRq.js → B0v5Qiob.js} +1 -1
- package/web/app/immutable/chunks/{qHf9sK0w.js → B2CG0f08.js} +1 -1
- package/web/app/immutable/chunks/{Cx_kU_DV.js → B3Zt92Gh.js} +1 -1
- package/web/app/immutable/chunks/{yKB3We_R.js → B3rtR-T9.js} +1 -1
- package/web/app/immutable/chunks/{CWlx9AQE.js → B5L5kFMu.js} +1 -1
- package/web/app/immutable/chunks/{ByCbrCKe.js → B5ht1e3g.js} +1 -1
- package/web/app/immutable/chunks/{DVE3gCYm.js → B6P0nIFd.js} +1 -1
- package/web/app/immutable/chunks/{BCr3FDPI.js → B9XvejAu.js} +1 -1
- package/web/app/immutable/chunks/{BRMZvcr_.js → BBRNc6Tk.js} +1 -1
- package/web/app/immutable/chunks/{BrzSX242.js → BCBNqT5t.js} +1 -1
- package/web/app/immutable/chunks/{BA1W84cz.js → BDbtK9be.js} +1 -1
- package/web/app/immutable/chunks/{B4XVQGzR.js → BE2y8JEQ.js} +1 -1
- package/web/app/immutable/chunks/{Dn9uXxwQ.js → BEjEPSxp.js} +1 -1
- package/web/app/immutable/chunks/{_Lq6xDqz.js → BEklUrxK.js} +1 -1
- package/web/app/immutable/chunks/{DdXuLwef.js → BGP1lrgu.js} +1 -1
- package/web/app/immutable/chunks/{DbTuLky4.js → BJPhI2lA.js} +1 -1
- package/web/app/immutable/chunks/{CVkfqdxF.js → BJTl-SyI.js} +1 -1
- package/web/app/immutable/chunks/{Bjdl3Bcn.js → BLzqYDED.js} +1 -1
- package/web/app/immutable/chunks/{3uTmxU9o.js → BQDGTBxC.js} +1 -1
- package/web/app/immutable/chunks/{C-Avcz-L.js → BQGSaBlM.js} +1 -1
- package/web/app/immutable/chunks/{BvM1EUuh.js → BR5vKj6f.js} +1 -1
- package/web/app/immutable/chunks/{ChB1u5oS.js → BR9s3igW.js} +1 -1
- package/web/app/immutable/chunks/{CL7J7j2D.js → BTIkMWVv.js} +1 -1
- package/web/app/immutable/chunks/{DwPVMoTd.js → BTYfh5fW.js} +1 -1
- package/web/app/immutable/chunks/{La7uvQeM.js → BUHAwVs7.js} +1 -1
- package/web/app/immutable/chunks/{OnFCkRZq.js → BUNNt_Jr.js} +1 -1
- package/web/app/immutable/chunks/{CYYIfm0c.js → BUtBz-tz.js} +1 -1
- package/web/app/immutable/chunks/BVUXyHGH.js +4 -0
- package/web/app/immutable/chunks/{DzoN41_6.js → BVVyDeyd.js} +1 -1
- package/web/app/immutable/chunks/{Dqg0f2LJ.js → BW6PhteS.js} +1 -1
- package/web/app/immutable/chunks/{C5lXC3sE.js → BW94gUhQ.js} +1 -1
- package/web/app/immutable/chunks/{-S-Y5qpw.js → BX9VoS92.js} +1 -1
- package/web/app/immutable/chunks/{DWo9ssuo.js → BXHaIh_f.js} +1 -1
- package/web/app/immutable/chunks/{BFg7EHUJ.js → BZpSGd8O.js} +1 -1
- package/web/app/immutable/chunks/{CdT83fDm.js → B_QtiZYt.js} +1 -1
- package/web/app/immutable/chunks/{C_xbtvYu.js → BbugAQ9t.js} +1 -1
- package/web/app/immutable/chunks/{DX7k4FhP.js → Bf02lG8Y.js} +1 -1
- package/web/app/immutable/chunks/{uz9wJ9h7.js → BgDYQZ_0.js} +1 -1
- package/web/app/immutable/chunks/{CgszRxao.js → BgJ-6yg0.js} +1 -1
- package/web/app/immutable/chunks/{BAZnizpv.js → BgLPrJ77.js} +1 -1
- package/web/app/immutable/chunks/{CJZrFy0z.js → BgVn7-pK.js} +1 -1
- package/web/app/immutable/chunks/{DdgRFvxI.js → Bi5_2qbB.js} +2 -2
- package/web/app/immutable/chunks/{BYQyF1EV.js → BipEZFvA.js} +1 -1
- package/web/app/immutable/chunks/{DEaLADF0.js → Bjy4ygfJ.js} +1 -1
- package/web/app/immutable/chunks/{C6baGIHW.js → BkrPhcBU.js} +1 -1
- package/web/app/immutable/chunks/{Bhf5PYkX.js → Bn5goMn4.js} +2 -2
- package/web/app/immutable/chunks/{CN68o0Xe.js → BnRltR11.js} +1 -1
- package/web/app/immutable/chunks/{4ZHcc7E6.js → BoAG71Ap.js} +1 -1
- package/web/app/immutable/chunks/{9uaxSDjR.js → BpKFGHfS.js} +1 -1
- package/web/app/immutable/chunks/{CVuIJUI6.js → Bq_CYpxm.js} +1 -1
- package/web/app/immutable/chunks/{BmBBmxeN.js → BqkCNgyL.js} +1 -1
- package/web/app/immutable/chunks/{qkupoeeB.js → Bs9TCQJX.js} +1 -1
- package/web/app/immutable/chunks/{Cg_iMZyA.js → BsE4jMhr.js} +1 -1
- package/web/app/immutable/chunks/{tKPL2CZA.js → BsKhFZ0Q.js} +1 -1
- package/web/app/immutable/chunks/{C7p6fkNW.js → BsjFeGOg.js} +1 -1
- package/web/app/immutable/chunks/{UdBW3xHf.js → BswUVSRu.js} +1 -1
- package/web/app/immutable/chunks/{sRuST45k.js → BuLzqNKd.js} +1 -1
- package/web/app/immutable/chunks/{DjtlNmSp.js → BuveYyQe.js} +1 -1
- package/web/app/immutable/chunks/{BIuwYO0J.js → BxOfEPjL.js} +1 -1
- package/web/app/immutable/chunks/BxTyo7yU.js +1 -0
- package/web/app/immutable/chunks/{Bpab3i1i.js → BxvIWx6J.js} +1 -1
- package/web/app/immutable/chunks/{CoC9Ux29.js → BxwkoIbZ.js} +1 -1
- package/web/app/immutable/chunks/{DehqEruM.js → ByCxDC-R.js} +1 -1
- package/web/app/immutable/chunks/{D3f6Bdno.js → ByfLGh4b.js} +1 -1
- package/web/app/immutable/chunks/{DVqASrmW.js → Bz9mgUtY.js} +1 -1
- package/web/app/immutable/chunks/{D3NQrju5.js → BzlXwMsq.js} +1 -1
- package/web/app/immutable/chunks/{CwpJKby0.js → C-dUgTvj.js} +1 -1
- package/web/app/immutable/chunks/{9L9c83oG.js → C0gEyGJV.js} +1 -1
- package/web/app/immutable/chunks/{CT1kjHng.js → C1FbWx7h.js} +1 -1
- package/web/app/immutable/chunks/{C-3HGS81.js → C1McR-sz.js} +1 -1
- package/web/app/immutable/chunks/{DH9Hqtuz.js → C2jA6pM8.js} +1 -1
- package/web/app/immutable/chunks/{DqvOMJZD.js → C3-0e__R.js} +1 -1
- package/web/app/immutable/chunks/{wlvXh-zp.js → C3CJZFT3.js} +1 -1
- package/web/app/immutable/chunks/{BFNcUqqi.js → C3SM2b7L.js} +2 -2
- package/web/app/immutable/chunks/{CrfRec8x.js → C3YB0zcV.js} +1 -1
- package/web/app/immutable/chunks/{BeSpo5mj.js → C5Tw8y-2.js} +1 -1
- package/web/app/immutable/chunks/{BS7XLnm3.js → C5rcw_c7.js} +1 -1
- package/web/app/immutable/chunks/{fu-5SwkC.js → C6vnD-WG.js} +1 -1
- package/web/app/immutable/chunks/{DzuDuJfn.js → C6yPb5D8.js} +1 -1
- package/web/app/immutable/chunks/{DtKQhjG0.js → C7H74phM.js} +1 -1
- package/web/app/immutable/chunks/{BpCl78z6.js → C7RXZVwZ.js} +3 -3
- package/web/app/immutable/chunks/{ag06q4LL.js → C9UsZ4re.js} +1 -1
- package/web/app/immutable/chunks/{C4IUEZO8.js → C9r0mVfa.js} +1 -1
- package/web/app/immutable/chunks/{BNXfTFgg.js → CASKMy_V.js} +1 -1
- package/web/app/immutable/chunks/{CddeEUaW.js → CC08YY4X.js} +2 -2
- package/web/app/immutable/chunks/{DMXV603W.js → CCYJSy4Y.js} +1 -1
- package/web/app/immutable/chunks/{ChcqjzlK.js → CDqnAH9U.js} +2 -2
- package/web/app/immutable/chunks/{BguHhtk8.js → CF1Tu_8c.js} +2 -2
- package/web/app/immutable/chunks/{DyTX_flC.js → CF2xUnmW.js} +1 -1
- package/web/app/immutable/chunks/{DTmuScj1.js → CFvGekuw.js} +1 -1
- package/web/app/immutable/chunks/{CgoEfH57.js → CFybzafc.js} +1 -1
- package/web/app/immutable/chunks/{CIg56hlz.js → CJCoBdox.js} +1 -1
- package/web/app/immutable/chunks/{B5xVgX0B.js → CJb9CQqu.js} +1 -1
- package/web/app/immutable/chunks/{DCaHyJVf.js → CJj_lU-4.js} +1 -1
- package/web/app/immutable/chunks/{mA-tbLJW.js → CLZkKjaI.js} +1 -1
- package/web/app/immutable/chunks/{Cl19iNDm.js → CLalkdxk.js} +1 -1
- package/web/app/immutable/chunks/{z7hpXipJ.js → CLg2G62j.js} +3 -3
- package/web/app/immutable/chunks/{Dbb9v9Pu.js → CMMep18j.js} +1 -1
- package/web/app/immutable/chunks/{ydU_XNBS.js → CMRXUPn9.js} +1 -1
- package/web/app/immutable/chunks/{Dkb27FfT.js → CMZHakZZ.js} +1 -1
- package/web/app/immutable/chunks/{BXFt_M3j.js → CMh2xRIF.js} +1 -1
- package/web/app/immutable/chunks/{a78XW9b7.js → CMqhKAKf.js} +1 -1
- package/web/app/immutable/chunks/{CB3yJRaj.js → CN-6Tr26.js} +1 -1
- package/web/app/immutable/chunks/{CIxVnrKO.js → CNAilJvj.js} +1 -1
- package/web/app/immutable/chunks/{XOY5jtOQ.js → COmDhl6S.js} +1 -1
- package/web/app/immutable/chunks/{BjNVk8U6.js → CQkTODWA.js} +1 -1
- package/web/app/immutable/chunks/{Q6h5kaDA.js → CQt5NIo9.js} +1 -1
- package/web/app/immutable/chunks/{DOgidnWF.js → CQw_RyF_.js} +1 -1
- package/web/app/immutable/chunks/{AnCzW8pd.js → CRJc1pCT.js} +1 -1
- package/web/app/immutable/chunks/{CJbKgJCP.js → CS3R6Yuh.js} +1 -1
- package/web/app/immutable/chunks/{C8EYdSF9.js → CSFyiYHp.js} +1 -1
- package/web/app/immutable/chunks/{CuaxAbnk.js → CV10cSI4.js} +1 -1
- package/web/app/immutable/chunks/{IOCQV0lc.js → CWc2lAUi.js} +1 -1
- package/web/app/immutable/chunks/{CD0f9RqX.js → CXXbDkir.js} +1 -1
- package/web/app/immutable/chunks/{DxC9rNFj.js → CYgFnKoL.js} +1 -1
- package/web/app/immutable/chunks/{BvvwHzHR.js → CZTVb5IB.js} +1 -1
- package/web/app/immutable/chunks/{DQKQnxx2.js → CZ_Dk1nz.js} +1 -1
- package/web/app/immutable/chunks/{Cdgpg8n7.js → C_qOm4aX.js} +49 -49
- package/web/app/immutable/chunks/{CLSuLceq.js → CatLGfTW.js} +1 -1
- package/web/app/immutable/chunks/{BSaMlrt7.js → Cc2FSrQK.js} +1 -1
- package/web/app/immutable/chunks/CcNIw4Px.js +1 -0
- package/web/app/immutable/chunks/{ClSKdYXV.js → Cdhrdfve.js} +1 -1
- package/web/app/immutable/chunks/{CszTaYPw.js → Cdw_CIdg.js} +1 -1
- package/web/app/immutable/chunks/{BfV-m33h.js → CeBDdapO.js} +1 -1
- package/web/app/immutable/chunks/{qN9kzcwL.js → CgXGPBF5.js} +1 -1
- package/web/app/immutable/chunks/{8xzOjoUV.js → CgeBiXYG.js} +1 -1
- package/web/app/immutable/chunks/{KJbU5Jwf.js → Ch30XVIS.js} +1 -1
- package/web/app/immutable/chunks/{DZtsu62T.js → CiyIhnuP.js} +3 -3
- package/web/app/immutable/chunks/{DDgv92vT.js → CjswKKTa.js} +1 -1
- package/web/app/immutable/chunks/{6gX3p-t6.js → Ck5xuk0H.js} +1 -1
- package/web/app/immutable/chunks/{CdO0EKIb.js → Ckp5O1pb.js} +1 -1
- package/web/app/immutable/chunks/{BG9eCPIt.js → Cl7NoY6M.js} +1 -1
- package/web/app/immutable/chunks/{DB4BdY3-.js → ClSUFCtq.js} +1 -1
- package/web/app/immutable/chunks/{DdswlFJs.js → Cmm2Uwq6.js} +1 -1
- package/web/app/immutable/chunks/{Bx5mj_-o.js → CnM1-KSC.js} +1 -1
- package/web/app/immutable/chunks/{LjCq2zYR.js → Cp81xhuN.js} +1 -1
- package/web/app/immutable/chunks/{C6Mf7wiS.js → CpL3Nqus.js} +1 -1
- package/web/app/immutable/chunks/{ysr2ZeEL.js → CpPNoOk-.js} +1 -1
- package/web/app/immutable/chunks/{CeVUwFpS.js → CqesqBNM.js} +1 -1
- package/web/app/immutable/chunks/{Bnfzeolk.js → Cs_DX3BC.js} +1 -1
- package/web/app/immutable/chunks/{DiyE6ez1.js → Cstrfm23.js} +4 -4
- package/web/app/immutable/chunks/{BG_ZjTnQ.js → Csxq8_TN.js} +1 -1
- package/web/app/immutable/chunks/{Bzw5kiqv.js → CtFSFfLz.js} +1 -1
- package/web/app/immutable/chunks/{cNJtArdZ.js → Ct_Zx4ru.js} +1 -1
- package/web/app/immutable/chunks/{BpmaKyHV.js → Cu0mADIg.js} +1 -1
- package/web/app/immutable/chunks/{fhbq8NBN.js → Cu91VTQn.js} +1 -1
- package/web/app/immutable/chunks/{BGhL-M7S.js → CuHlAB4d.js} +2 -2
- package/web/app/immutable/chunks/{DcyITQk4.js → CvC_PTf7.js} +1 -1
- package/web/app/immutable/chunks/{CHo30JVh.js → CxF8L5mw.js} +1 -1
- package/web/app/immutable/chunks/{XokPPDRt.js → CxVedbHg.js} +2 -2
- package/web/app/immutable/chunks/{aFmAoxnK.js → CxmJEenA.js} +1 -1
- package/web/app/immutable/chunks/{Da6oWcTC.js → D0Z6csIX.js} +1 -1
- package/web/app/immutable/chunks/{BBrZXpSP.js → D1FzC71c.js} +1 -1
- package/web/app/immutable/chunks/{CTrJXNY9.js → D1cY0pVs.js} +1 -1
- package/web/app/immutable/chunks/{C3o6TrCe.js → D1rvT9Od.js} +1 -1
- package/web/app/immutable/chunks/{BWCENrjZ.js → D3SYIfTl.js} +4 -4
- package/web/app/immutable/chunks/{BAua3HYa.js → D4q8ggLU.js} +2 -2
- package/web/app/immutable/chunks/{CPjshegW.js → D5sw7nR1.js} +1 -1
- package/web/app/immutable/chunks/{CAA5Pjlt.js → D8BdISor.js} +1 -1
- package/web/app/immutable/chunks/{UfQa_CM-.js → D9d8HfDB.js} +1 -1
- package/web/app/immutable/chunks/{BmZ-YX2h.js → DA4getmI.js} +1 -1
- package/web/app/immutable/chunks/{fh3WedHa.js → DCrqv4Go.js} +1 -1
- package/web/app/immutable/chunks/{CEODt5qB.js → DCv0ZqUq.js} +1 -1
- package/web/app/immutable/chunks/{my3EnaTa.js → DF0Pm5yp.js} +2 -2
- package/web/app/immutable/chunks/{B5t5yFV1.js → DGmOjLYi.js} +1 -1
- package/web/app/immutable/chunks/{BtNhR2qx.js → DKn1sQ32.js} +1 -1
- package/web/app/immutable/chunks/{CFUCukqN.js → DLEm9Cyg.js} +1 -1
- package/web/app/immutable/chunks/{uCE5nFj2.js → DMjF7NYG.js} +2 -2
- package/web/app/immutable/chunks/{BE8dgLGn.js → DNieQhK8.js} +3 -3
- package/web/app/immutable/chunks/{DPMWmOe5.js → DOi8NPXE.js} +1 -1
- package/web/app/immutable/chunks/{BU4XngZf.js → DPLuga0X.js} +3 -3
- package/web/app/immutable/chunks/{DwOsWxyQ.js → DPPtpHwn.js} +1 -1
- package/web/app/immutable/chunks/{DGt036ot.js → DQUvqa9o.js} +1 -1
- package/web/app/immutable/chunks/{Bo79geKp.js → DRLOB6Gw.js} +2 -2
- package/web/app/immutable/chunks/{prHJOEnU.js → DSQT151l.js} +1 -1
- package/web/app/immutable/chunks/{B3nJy--T.js → DUItrdZb.js} +1 -1
- package/web/app/immutable/chunks/{Bg5Fp4BA.js → DUctnn_k.js} +1 -1
- package/web/app/immutable/chunks/DVy6H5Ng.js +1 -0
- package/web/app/immutable/chunks/DW3gkA_F.js +1 -0
- package/web/app/immutable/chunks/{CDKjl22x.js → DWLnWMNZ.js} +1 -1
- package/web/app/immutable/chunks/{BWWmYtvo.js → DWjKA8Pm.js} +1 -1
- package/web/app/immutable/chunks/{nIerXkD8.js → DWsHBNeU.js} +1 -1
- package/web/app/immutable/chunks/{CW0tWbke.js → DYmzWBEk.js} +1 -1
- package/web/app/immutable/chunks/{Nbro-b-6.js → DZCGZjzG.js} +1 -1
- package/web/app/immutable/chunks/{DSBtJS15.js → DZTT1V6G.js} +1 -1
- package/web/app/immutable/chunks/{Cu63TBX_.js → D_MzuSit.js} +1 -1
- package/web/app/immutable/chunks/{CoxEQ1x9.js → DaXgwzm7.js} +1 -1
- package/web/app/immutable/chunks/{D-W7KYqw.js → Dbpb1w7S.js} +4 -4
- package/web/app/immutable/chunks/{Ce7ti2I7.js → DcmaumPg.js} +1 -1
- package/web/app/immutable/chunks/{CIasIl91.js → DcvxsgOZ.js} +1 -1
- package/web/app/immutable/chunks/{D5sOpT26.js → DdkBNH3W.js} +1 -1
- package/web/app/immutable/chunks/{v9gH-HNO.js → DdkDv5Sd.js} +1 -1
- package/web/app/immutable/chunks/{CXaxJbgG.js → DeVwq4Xj.js} +1 -1
- package/web/app/immutable/chunks/{DEJSVazL.js → Deg_SlHr.js} +2 -2
- package/web/app/immutable/chunks/{VvgtSbK2.js → DfSzfqox.js} +1 -1
- package/web/app/immutable/chunks/{DYOMUc5B.js → DlqetqWw.js} +1 -1
- package/web/app/immutable/chunks/{DOdlo-4T.js → DmhHEMPi.js} +1 -1
- package/web/app/immutable/chunks/{PRAJ9M9Y.js → DodshHwq.js} +1 -1
- package/web/app/immutable/chunks/{y_07dpNl.js → DpSi4PLY.js} +1 -1
- package/web/app/immutable/chunks/{Cg6uFDit.js → DqFWZ_g1.js} +1 -1
- package/web/app/immutable/chunks/{CB1L2aum.js → DqgCp5ae.js} +1 -1
- package/web/app/immutable/chunks/{Bu3w6q3q.js → DrBi0w5G.js} +4 -4
- package/web/app/immutable/chunks/{CSd0whCN.js → Druyrynh.js} +1 -1
- package/web/app/immutable/chunks/{Dyrz4mgu.js → DtnAdLQg.js} +1 -1
- package/web/app/immutable/chunks/{D2dQD04-.js → Dukt1CUc.js} +1 -1
- package/web/app/immutable/chunks/{9RBVjd2X.js → DumeSIrz.js} +1 -1
- package/web/app/immutable/chunks/{DfmIEc34.js → DupNtpYi.js} +1 -1
- package/web/app/immutable/chunks/{D9DtZ5bO.js → DxvSggY5.js} +1 -1
- package/web/app/immutable/chunks/{9XOJk36Z.js → DyBkeTEM.js} +1 -1
- package/web/app/immutable/chunks/{CIHmUaya.js → DyHCBf0T.js} +3 -3
- package/web/app/immutable/chunks/{D_84YASo.js → Dy_4BU07.js} +3 -3
- package/web/app/immutable/chunks/{DmLYqjCG.js → Dz5-AChV.js} +1 -1
- package/web/app/immutable/chunks/{CZmtskyb.js → DzFkUqsC.js} +1 -1
- package/web/app/immutable/chunks/{WbKTM-AY.js → DzMdBKPh.js} +1 -1
- package/web/app/immutable/chunks/{nR9NDXxc.js → E_jRuW-b.js} +2 -2
- package/web/app/immutable/chunks/{lnjs8g9M.js → FLNU8xuu.js} +1 -1
- package/web/app/immutable/chunks/{D635gi5P.js → FmBB5PWm.js} +1 -1
- package/web/app/immutable/chunks/{CbcqSAiT.js → Gr7b8MIr.js} +1 -1
- package/web/app/immutable/chunks/{DUk9Psab.js → JKboQXkL.js} +1 -1
- package/web/app/immutable/chunks/{BBuuu82x.js → KAO5AtPr.js} +1 -1
- package/web/app/immutable/chunks/{DFAg4YQw.js → KykWEhyB.js} +1 -1
- package/web/app/immutable/chunks/{Ch__d3EK.js → L3AlUw84.js} +1 -1
- package/web/app/immutable/chunks/{CFWjNNDI.js → LKW_Bid7.js} +1 -1
- package/web/app/immutable/chunks/{bMVl-_uo.js → M18r7swD.js} +1 -1
- package/web/app/immutable/chunks/{BJbXiNfd.js → P4OctF9m.js} +1 -1
- package/web/app/immutable/chunks/{Dr-hGtz9.js → PXCFrn2V.js} +1 -1
- package/web/app/immutable/chunks/{yyKL9m5q.js → Q8rtHwbz.js} +1 -1
- package/web/app/immutable/chunks/{DmaI9gJG.js → Qnx8Hmfg.js} +1 -1
- package/web/app/immutable/chunks/{OC9upl2Z.js → RsJMsDHX.js} +1 -1
- package/web/app/immutable/chunks/{2LHboW99.js → S5vPfW1A.js} +1 -1
- package/web/app/immutable/chunks/{PJHVK1jp.js → SX1khnGy.js} +1 -1
- package/web/app/immutable/chunks/{Bl1aiNRC.js → TrRXD94r.js} +1 -1
- package/web/app/immutable/chunks/{D6WnG3O5.js → U3137Ii1.js} +1 -1
- package/web/app/immutable/chunks/{DaX_ruGd.js → V6SVTu37.js} +1 -1
- package/web/app/immutable/chunks/{Dr2MCeHs.js → WABToc6b.js} +1 -1
- package/web/app/immutable/chunks/{DLpH_zOx.js → WHfdsTrE.js} +1 -1
- package/web/app/immutable/chunks/{DVXtNvCM.js → XJqoy2ap.js} +1 -1
- package/web/app/immutable/chunks/{CoKTpqDU.js → XPs8BW44.js} +1 -1
- package/web/app/immutable/chunks/{DIz708WA.js → Zldsekdv.js} +4 -4
- package/web/app/immutable/chunks/{DmPmT0eG.js → _UNYBFXm.js} +1 -1
- package/web/app/immutable/chunks/{BUc9vg7U.js → a34jwGLW.js} +1 -1
- package/web/app/immutable/chunks/{DCkjGG3P.js → aHO4L7kg.js} +1 -1
- package/web/app/immutable/chunks/{DjoTibfo.js → b-bXytVF.js} +1 -1
- package/web/app/immutable/chunks/{Bf_VKlmw.js → dP7u_sPF.js} +1 -1
- package/web/app/immutable/chunks/{BagTxwLt.js → dSvJdwG_.js} +3 -3
- package/web/app/immutable/chunks/{DTNUR8M2.js → dx9b_0TP.js} +2 -2
- package/web/app/immutable/chunks/{CPjCX26i.js → eln8hjjQ.js} +1 -1
- package/web/app/immutable/chunks/{CufGMblq.js → gcij4Gee.js} +1 -1
- package/web/app/immutable/chunks/{CFWrNsuZ.js → ge7HDe-3.js} +1 -1
- package/web/app/immutable/chunks/{ByhyupnT.js → hHeBjODU.js} +1 -1
- package/web/app/immutable/chunks/{M4mXlBrP.js → iI6LFAGI.js} +1 -1
- package/web/app/immutable/chunks/{PMgbVYrU.js → k3tEZZCe.js} +1 -1
- package/web/app/immutable/chunks/{BWlKpZE8.js → lVHjTAAb.js} +1 -1
- package/web/app/immutable/chunks/{Bm7IJJUE.js → nRmTo2Eh.js} +1 -1
- package/web/app/immutable/chunks/{rJd0G3JA.js → oOuL5l8A.js} +1 -1
- package/web/app/immutable/chunks/{BQEAmAsx.js → oSmiRYki.js} +1 -1
- package/web/app/immutable/chunks/{BWk-f4jj.js → oZkhvgMl.js} +1 -1
- package/web/app/immutable/chunks/{rvFYnBJj.js → p8jwzOYN.js} +1 -1
- package/web/app/immutable/chunks/{BGccgsYG.js → plFW1-kq.js} +1 -1
- package/web/app/immutable/chunks/{DrUo0N9I.js → s1m3ujOc.js} +1 -1
- package/web/app/immutable/chunks/{Dji1u83Z.js → sG8VksRm.js} +1 -1
- package/web/app/immutable/chunks/{3VXSKzWd.js → tVHyNPqL.js} +1 -1
- package/web/app/immutable/chunks/{BdvDDr3c.js → uWDJKH9B.js} +1 -1
- package/web/app/immutable/chunks/{DDhwf79f.js → v2EYTTpI.js} +3 -3
- package/web/app/immutable/chunks/{DSibel_X.js → ykNMRL6H.js} +1 -1
- package/web/app/immutable/chunks/{Ca9VfQ3Z.js → zhSFUcJz.js} +1 -1
- package/web/app/immutable/entry/{app.g9i4Hhee.js → app.AtsW0EhM.js} +3 -3
- package/web/app/immutable/entry/start.DHsRk6-P.js +1 -0
- package/web/app/immutable/nodes/{0.CDHHvjqw.js → 0.CegL6Bfc.js} +1 -1
- package/web/app/immutable/nodes/{1.D5xy2MCO.js → 1.B6-BTMS1.js} +1 -1
- package/web/app/immutable/nodes/{10.1IhdAEgn.js → 10.qlZM4NPl.js} +5 -5
- package/web/app/immutable/nodes/{11.BW_yfjel.js → 11.BR5ZtLjn.js} +1 -1
- package/web/app/immutable/nodes/{12.QDjrsyFI.js → 12.31R3OdO3.js} +1 -1
- package/web/app/immutable/nodes/{13.6cP3XOKB.js → 13.DYH2a5Wx.js} +1 -1
- package/web/app/immutable/nodes/{14.Bb8pZCFr.js → 14.B6MrEg8x.js} +3 -3
- package/web/app/immutable/nodes/{15.DTRK9Vyb.js → 15.Bitx8r2v.js} +1 -1
- package/web/app/immutable/nodes/{16.pYdajVyy.js → 16.CKbY5VRM.js} +1 -1
- package/web/app/immutable/nodes/{17.C6_qDHdP.js → 17.DPSU7Eqq.js} +1 -1
- package/web/app/immutable/nodes/{18.p2wClcpG.js → 18.BlD6ustd.js} +1 -1
- package/web/app/immutable/nodes/{19.DQGgWYsX.js → 19.BRj21xes.js} +2 -2
- package/web/app/immutable/nodes/{2.DLEjVhJq.js → 2.BBHXaN8p.js} +4 -4
- package/web/app/immutable/nodes/{20.Dzdd3lna.js → 20.Cj4TGw20.js} +1 -1
- package/web/app/immutable/nodes/{3.Do589hpw.js → 3.JJmMGjhS.js} +1 -1
- package/web/app/immutable/nodes/{4.BW-YS0Mv.js → 4.C3VD-4KP.js} +1 -1
- package/web/app/immutable/nodes/{5.0hjt7wvZ.js → 5.DIJ6nzqY.js} +1 -1
- package/web/app/immutable/nodes/{6.C6f4TtQ8.js → 6.DIzZZwt4.js} +1 -1
- package/web/app/immutable/nodes/{7.C1c9oJF2.js → 7.Xo0EbJUd.js} +1 -1
- package/web/app/immutable/nodes/{8.B6Vwx2Ni.js → 8.xZANL-qg.js} +1 -1
- package/web/app/immutable/nodes/9.BVBQgdJj.js +12 -0
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/3TUSwkgT.js +0 -1
- package/web/app/immutable/chunks/7f-RK74P.js +0 -4
- package/web/app/immutable/chunks/BN8kP7XZ.js +0 -1
- package/web/app/immutable/chunks/BZhnh0KQ.js +0 -1
- package/web/app/immutable/chunks/CPDeRaia.js +0 -1
- package/web/app/immutable/chunks/a1kG0lDg.js +0 -1
- package/web/app/immutable/entry/start.DJAvowHl.js +0 -1
- package/web/app/immutable/nodes/9.BhguuCYy.js +0 -12
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bm as b,_ as x}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BDbtK9be.js","/app/immutable/chunks/SX1khnGy.js","/app/immutable/chunks/CqJQ3ikU.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Cdw_CIdg.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/CF1Tu_8c.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/JKboQXkL.js","/app/immutable/chunks/Zldsekdv.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/BVVyDeyd.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/Cs_DX3BC.js","/app/immutable/chunks/DMl4Z5o_.js","/app/immutable/chunks/D-2bQKif.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/oOuL5l8A.js","/app/immutable/chunks/XJqoy2ap.js","/app/immutable/chunks/LKW_Bid7.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/Bi5_2qbB.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/CxmJEenA.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as b,_ as x}from"./51_h0jm2.js";import{i as f,J4 as a,di as P,Hs as S,y$ as N,FE as R,vD as q,qV as W,vb as H,L9 as U}from"./Zldsekdv.js";import{d as y}from"./Cs_DX3BC.js";import{E as V}from"./CF1Tu_8c.js";import{parseIntentLink as D}from"./CDqnAH9U.js";import{m as I}from"./SX1khnGy.js";import"./CJxGDkBm.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import"./ChTqQfQN.js";import"./JKboQXkL.js";import{x as j,k as E,w as L}from"./DUItrdZb.js";import{dE as B}from"./XJqoy2ap.js";import{p as C,o as $,h as z}from"./Cc2FSrQK.js";const p="assistant-content",J=a.createSelector(t=>{const r=C.select(t),s=$.select(t),e=z.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 K(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 m(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 G(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:E.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 I.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://")?D(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=C.select(a.state),n=r.agentId?P(r.agentId):r.background?c.length===1?P(c[0].agentId):null:r.layoutId??J.select(a.state);if(!n)return!0;const o=K(n,r.background);if(await G(n),!m(n,o))return!0;if(i){const u=i[1],g=await y.workspaces.get(u);return m(n,o)?g?(a.dispatch(S(g)),_({type:"workspace",title:g.title,workspaceId:u,closable:!0},r,n),!0):(I.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("./BDbtK9be.js").then(k=>k.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 m(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 y.workspaces.get(h);return m(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):(I.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,[w,A]=await Promise.all([a.dispatch(N(l,e.resourceId)),Promise.resolve(B.select(a.state,l)??y.workspaces.get(l)).catch(()=>null)]);if(!m(n,o))return!0;if(!w||String(w.workspaceId)!==l)return I.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 F=Object.entries(j.select(a.state)).some(([u,g])=>{const v=k=>k.type==="note"&&k.noteId===String(w.id)&&(k.workspaceId??u)===l;return Object.values(g.panels).some(k=>k.tabs.some(v))||E.select(a.state,u).some(v)}),M=a.state.transientUi.byWorkspaceId[l]?.noteViewModeByNoteId[String(w.id)];return!F&&(!r.background||M===void 0)&&a.dispatch(R(l,String(w.id),"editor")),_({type:"note",title:w.title,noteId:String(w.id),workspaceId:l,closable:!0},r,n),!0}async function T(t,r,s,e,i,d){const c=await y.agents.get(r,t===f?void 0:t);t===f&&c&&(t=String(c.workspaceId));const n=t===f?null:await y.workspaces.get(t);if(!m(e,i))return!0;if(!n&&t!==f||!c||String(c.workspaceId)!==t)return I.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("./BVVyDeyd.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,40,27,17,6,12,41,19,42,43,44,45]),import.meta.url);o({workspaceId:t,agentId:r,messageId:d,contentAlreadyOpen:!0})}return!0}export{p as ASSISTANT_CONTENT_PANEL_ID,J as selectAssistantPanelLayoutId,de as showAssistantContent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bm as l}from"./
|
|
1
|
+
import{bm as l}from"./51_h0jm2.js";import{J4 as a}from"./Zldsekdv.js";let N=1,f=null;const S=[],m=new Set;function T(){for(const e of m)e(f)}function U(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function y(e){S.push({...e,id:N++,returnFocus:U()}),f||(f=S.shift()??null,T())}function J(e){return new Promise(t=>y({kind:"confirm",options:e,resolve:t}))}function Z(e){return new Promise(t=>y({kind:"prompt",options:e,resolve:t}))}function j(e){return m.add(e),e(f),()=>m.delete(e)}function W(e,t){if(!f||f.id!==e)return;const n=f;f=S.shift()??null,n.resolve(t),n.returnFocus?.focus(),T()}const Q={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},ee=[{value:"assigned",get label(){return l.linearAuth_filter_assigned_label()},get description(){return l.linearAuth_filter_assigned_description()}},{value:"created",get label(){return l.linearAuth_filter_created_label()},get description(){return l.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return l.linearAuth_filter_subscribed_label()},get description(){return l.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return l.linearAuth_filter_team_label()},get description(){return l.linearAuth_filter_team_description()}},{value:"all",get label(){return l.linearAuth_filter_all_label()},get description(){return l.linearAuth_filter_all_description()}}],te=a.createSelector(e=>e.linearAuth.operation),ne=a.createSelector((e,t)=>e.linearAuth.operation?.consumerId===t?e.linearAuth.operation:null),re=a.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),se=a.createSelector(e=>e.linearAuth.isAuthenticated),oe=a.createSelector(e=>e.linearAuth.requiresDaemonAuth),ie=a.createSelector(e=>e.linearAuth.isAuthenticating),ae=a.createSelector(e=>e.linearAuth.error),ue=a.createSelector(e=>e.sentryAuth.operation),ce=a.createSelector((e,t)=>e.sentryAuth.operation?.consumerId===t?e.sentryAuth.operation:null),le=a.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),de=a.createSelector(e=>e.sentryAuth.isAuthenticated),fe=a.createSelector(e=>e.sentryAuth.organization),_e=a.createSelector(e=>e.sentryAuth.isConnecting),Ae=a.createSelector(e=>e.sentryAuth.error),Ee="npx not found — install Node.js (with npm) to use Claude Code",P="********",K={claude:"claude-code",codex:"codex"},v={claude:"CLAUDE_CONFIG_DIR",codex:"CODEX_HOME"},O={claude:{differentLogin:{set:["CLAUDE_CONFIG_DIR"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},apiKey:{set:["ANTHROPIC_API_KEY"],optionalSet:["ANTHROPIC_BASE_URL"],unset:["ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},token:{set:["CLAUDE_CODE_OAUTH_TOKEN"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN"]}},codex:{differentLogin:{set:["CODEX_HOME"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","CODEX_API_KEY","OPENAI_API_KEY"]},apiKey:{set:["CODEX_API_KEY"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","OPENAI_API_KEY"]},token:{set:["CODEX_ACCESS_TOKEN"],optionalSet:[],unset:["CODEX_API_KEY","OPENAI_API_KEY"]}}},D=["differentLogin","apiKey","token"];function g(e,t){return O[e][t]}const I="ANTHROPIC_BASE_URL";function R(e){return K[e]}function b(e){if(e==="claude-code")return"claude";if(e==="codex")return"codex"}function he(e){return e.supportsProfiles===!0&&e.id!==void 0&&b(e.id)!==void 0}function pe(e,t){return g(t,e).set[0]}function C(e){return v[e]}function H(e){return`~/intent/profiles/${e}`}const _=e=>e.toUpperCase();function Se(e,t){if(t.length===0)return"advanced";const n=new Set,s=new Set;for(const r of t){const o=_(r.key);if(n.has(o)||s.has(o))return"advanced";(r.kind==="set"?n:s).add(o)}for(const r of D)if(w(O[e][r],n,s))return r==="differentLogin"&&!F(e,t)?"advanced":r;return"advanced"}function w(e,t,n){const s=e.set.map(_),r=new Set([...s,...e.optionalSet.map(_)]);if(!s.every(i=>t.has(i))||![...t].every(i=>r.has(i)))return!1;const o=new Set(e.unset.map(_));return[...n].every(i=>o.has(i))}function F(e,t){const n=x(e,t);return n!==void 0&&n!==""&&n!==P}function x(e,t){const n=_(C(e)),s=t.find(r=>r.kind==="set"&&_(r.key)===n);return s?.kind==="set"?s.value:void 0}const $=32;function M(e){return e.normalize("NFKD").replace(/\p{M}/gu,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,$).replace(/-+$/g,"")||"profile"}const h="abcdefghijklmnopqrstuvwxyz0123456789",X=4;function k(){const e=new Uint32Array(1);return globalThis.crypto.getRandomValues(e),e[0]/2**32}function B(e=k){let t="";for(let n=0;n<X;n++){const s=Math.min(h.length-1,Math.floor(e()*h.length));t+=h[s]}return t}const G=64;function me(e,t,n,s=k){const r=new Set([...n].map(i=>i.toLowerCase())),o=M(t);for(let i=0;i<G;i++){const c=`${o}-${B(s)}`;if(!r.has(c))return`${H(e)}/${c}`}throw new Error(`No unused profile folder found for "${o}"`)}function q(e){return e.map(t=>({key:t,kind:"unset"}))}function E(e,t){const n=e?.trim()??"";if(!n)throw new Error(`Missing ${t}`);return n}function Ie(e,t,n){const s=g(t,e),r=[];if(e==="differentLogin")r.push({key:C(t),kind:"set",value:E(n.folder,"folder")});else if(e==="apiKey"){r.push({key:s.set[0],kind:"set",value:E(n.apiKey,"API key")});const o=n.baseUrl?.trim();o&&t==="claude"&&r.push({key:I,kind:"set",value:o})}else r.push({key:s.set[0],kind:"set",value:E(n.token,"token")});return{baseProviderId:R(t),name:n.name.trim(),backup:n.backup??!1,env:[...r,...q(s.unset)]}}function ge(e,t,n,s={}){const r=g(t,e),o=(u,d)=>n.find(A=>A.kind===d&&_(A.key)===_(u))?.key,i=(u,d)=>{const A=o(u,"set");if(d!==void 0)return{key:A??u,kind:"set",value:E(d,u)};if(!A)throw new Error(`Missing ${u}`);return{key:A,kind:"keep"}},c=[];if(e==="differentLogin")c.push(i(C(t),void 0));else if(e==="apiKey"){c.push(i(r.set[0],s.apiKey));const u=t==="claude"?o(I,"set"):void 0,d=t==="claude"?s.baseUrl:void 0;typeof d=="string"&&d.trim()?c.push({key:u??I,kind:"set",value:d.trim()}):d===void 0&&u&&c.push({key:u,kind:"keep"})}else c.push(i(r.set[0],s.token));for(const u of r.unset)c.push({key:o(u,"unset")??u,kind:"unset"});return c}const p="[A-Za-z0-9_-]+",L=new RegExp(`^${p}\\.${p}\\.${p}$`);function Ce(e){return L.test(e.trim())}const z={claude:{apiKey:/^sk-ant-api\d*-[A-Za-z0-9_-]{16,}$/,token:/^sk-ant-oat\d*-[A-Za-z0-9_-]{16,}$/},codex:{apiKey:/^sk-(?!ant-)[A-Za-z0-9_-]{20,}$/,token:L}};function Te(e,t,n,s={}){const r=n.trim();return e==="claude"&&t==="apiKey"&&s.customEndpoint?/^\S+$/.test(r):z[e][t].test(r)}function ye(e){return e==="claude"?"claude auth login":"codex login --device-auth"}export{ue as A,Ae as B,Ee as C,de as D,_e as E,le as F,fe as G,W as H,M as I,j as J,Q as L,P as M,ee as a,R as b,Ie as c,ge as d,J as e,Se as f,C as g,he as h,Ce as i,Te as j,H as k,ye as l,b as m,Z as n,pe as o,me as p,ne as q,B as r,x as s,te as t,ae as u,se as v,ie as w,re as x,oe as y,ce as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as ct,bo as ae,bw as dt,bp as jt,b as ut,bm as d,br as Mt,bq as xt,bs as Ae}from"./a1kG0lDg.js";import{bs as gt,a5 as qe,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 Q,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 kt,b_ as ve,bO as $e,c0 as Nt,bl as at,aw as Gt,cd as St,bz as wa,bj as Ia}from"./CJxGDkBm.js";import{i as Z}from"./Dr-hGtz9.js";import{k as Kt}from"./ag06q4LL.js";import{h as ka,I as Aa,g as At,e as xa}from"./DEaLADF0.js";import{c as x}from"./B5t5yFV1.js";import{b as Jt}from"./NtFyWdpR.js";import{a4 as ya,a5 as Ta,bc as Ca}from"./CDKjl22x.js";import Sa from"./CIxVnrKO.js";import{D as Pa}from"./DjoTibfo.js";import{C as Et}from"./C-WGoO9q.js";import{b as Qt,e as Xt,s as Yt,f as Ma}from"./ysr2ZeEL.js";import"./BrzSX242.js";import{T as ea}from"./nR9NDXxc.js";import{J4 as X,dM as Da,dN as La,gS as ta,j2 as Ha,C1 as Oa,gy as Ba,i$ as aa,i_ as Ra,DZ as Fa,DY as Na,E3 as Ea,DC as za,DF as Ua,ck as Va,ci as Za,co as Wa,c1 as qa,DE as ja,cl as Ga,Dl as Ka}from"./DIz708WA.js";import{g as Ja}from"./BrMXrCxP.js";import{a as Qa}from"./BpmaKyHV.js";import{u as zt}from"./Bhf5PYkX.js";import{ax as Xa,aN as Ya,dE as er,c1 as tr,cf as ar,aL as rr,bs as nr,p as or}from"./DVXtNvCM.js";import{a_ as sr,a$ as ir}from"./BdvDDr3c.js";import{a as lr}from"./DZs8iANO.js";import{c as cr}from"./ChTqQfQN.js";import{c as dr}from"./UdBW3xHf.js";import{C as ur}from"./7f-RK74P.js";import{o as gr}from"./DAsc1V4f.js";import{I as fr,c as pr}from"./uz9wJ9h7.js";import"./BtNhR2qx.js";import{s as ra}from"./D9DtZ5bO.js";import{a1 as mr,f as lt,ae as vr}from"./CszTaYPw.js";import"./BguHhtk8.js";import{D as _r,C as na,T as hr,F as br,H as $r,t as wr,R as Ir}from"./DV8MrQzP.js";import{aV as kr,d0 as oa,F as ht,d3 as $t,B as Ar,b1 as xr,br as yr,cA as Tr,aa as Cr,cB as Sr,a9 as Pr,cx as Mr,au as Dr,aZ as Lr,cZ as Hr,ag as Or,cl as Br,an as Rr,cS as Fr}from"./prHJOEnU.js";import{a as Pt,m as Nr}from"./DOdlo-4T.js";import{n as Er,k as Lt,j as Ht,i as Ot,e as Ut,h as Bt,c as mt,l as zr,d as Ur,M as Vr,g as Vt,R as Zr}from"./bMVl-_uo.js";import{B as Wr}from"./Ce7ti2I7.js";import{P as qr,T as jr}from"./Dn9uXxwQ.js";import{b as Gr,P as Kr,c as Jr,d as Qr}from"./DOgidnWF.js";import"./DdXuLwef.js";import{b as Xr}from"./BS7XLnm3.js";import{e as Yr}from"./VvgtSbK2.js";import"./CB3yJRaj.js";import{M as st}from"./CeVUwFpS.js";import{g as en}from"./qN9kzcwL.js";import{y as Zt,k as tn}from"./B3nJy--T.js";import{ay as an,$ as rn}from"./D-W7KYqw.js";import{l as wt,h as nn}from"./Cg6uFDit.js";import{t as on}from"./D2MmXC4A.js";import{a as sn,e as ln,d as cn,i as dn}from"./CFWjNNDI.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);Er(()=>!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)},k=gn();Qt(k,g=>({"data-slot":"menu-footer",class:g,...v}),[()=>Xt("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=qe(k);return ra(S,()=>w()??Dt),Be(k),r(f,k),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=ka();let p=ae(i,"children",7),v=jt(i,fn),T=n(()=>i.weight??w.weight??"regular"),k=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 q={get children(){return p()},set children(o){p(o),re()},$set:dt,$on:(o,I)=>ut(i,o,I)},R=$n();Qt(R,(o,I)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(S),height:e(S),fill:e(k),transform:e(g)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...o,...I}),[()=>M(w),()=>M(v)]);var Re=qe(R);{var ne=o=>{var I=Q(),O=m(I);ra(O,p),r(o,I)};Z(Re,o=>{p()&&o(ne)})}var c=$(Re,2);{var E=o=>{var I=pn();r(o,I)},Ce=o=>{var I=mn();Ye(),r(o,I)},ze=o=>{var I=vn();r(o,I)},Fe=o=>{var I=_n();r(o,I)},K=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(E):e(T)==="duotone"?o(Ce,1):e(T)==="fill"?o(ze,2):e(T)==="light"?o(Fe,3):e(T)==="regular"?o(K,4):e(T)==="thin"?o(de,5):o(u,-1)})}return Be(R),r(f,R),ft(q)}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>'),kn=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>'),An=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>'),Wt=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=qe(h);{let N=n(()=>d.chat_messageNavigator_search_ariaLabel()),P=n(()=>e(O).length>0?I:void 0),U=n(()=>d.chat_messageNavigator_search_placeholder());fr(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(U)},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 G=$(F,2),ee=qe(G);{var ye=N=>{var P=wn(),U=qe(P);Aa(U,{size:16});var B=$(U,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(G);var se=$(G,2);{var ie=N=>{var P=kn();At(P,23,()=>e(O),U=>U.id,(U,B,Ie)=>{{let D=n(()=>!e(Re)[e(B).id]),y=n(()=>q()?"":"h-(--control-height-large)");vr(U,{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(()=>Xt(Pt(),pr,"max-w-full cursor-pointer overflow-hidden text-muted-foreground focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/40",q()?"font-normal":"font-medium",!q()&&"h-(--control-height-large) min-h-(--control-height-large) max-h-(--control-height-large)",q()?"hover:bg-hover hover:text-foreground":"hover:bg-accent/60 hover:text-accent-foreground",e(Ie)===e(c)&&(q()?"bg-selected text-foreground":"bg-accent text-accent-foreground"))),Pe=n(()=>q()||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(E))&&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 Ue=In(),Je=at(Ue,!0);xa(Ue,(Qe,Ve)=>gr?.(Qe,Ve),()=>Qe=>e(Re)[e(B).id]=Qe),ve(()=>$e(Je,e(B).text)),r(Me,Ue)},$$slots:{default:!0}})}},$$slots:{default:!0}})}}),Be(P),ve(()=>Yt(P,"id",I)),Gt("scroll",P,tt),r(N,P)},W=N=>{var P=An(),U=at(P,!0);ve(B=>$e(U,B),[()=>d.chat_messageNavigator_empty_label()]),r(N,P)};Z(se,N=>{e(O).length>0?N(ie):M()||N(W,1)})}Be(h),r(t,h)};let v=ae(i,"messages",7),T=ae(i,"isAtBottom",7),k=ae(i,"onSelectMessage",7),S=ae(i,"onScrollToBottom",7),g=ae(i,"onOpen",7),M=ae(i,"isLoadingIndex",7,!1),q=ae(i,"embedded",7,!1),R=ce(!1),Re=ce(It({})),ne=ce(""),c=ce(0),E=ce(!0),Ce=null,ze=!1,Fe=ce(null),K=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(K)?.closest("[data-panel-id]");b(u,h?[h]:[],!0),b(ne,""),b(E,!0),b(c,Math.max(v().length-1,0),!0),g()?.()}function nt(t){b(ne,t.currentTarget.value,!0),b(E,!0),b(c,Math.max(e(O).length-1,0),!0)}function He(t){b(E,!1),b(c,t,!0),Ce=e(O)[t]?.id??null}function tt(){ze||b(E,!1)}je(()=>{if(!e(R))return;const t=e(O).length;if(t===0)return;if(e(E)){b(c,t-1),Ce=e(O)[t-1].id;return}const h=kt(()=>e(c)),F=Ce===null?-1:e(O).findIndex(G=>G.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&&(ze=!0,t.scrollIntoView?.({block:"nearest"}),requestAnimationFrame(()=>{ze=!1}))});function C(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),Ne(!e(R)))}function z(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(K)?.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 k()(t)}function j(t){if(q()&&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 k()},set onSelectMessage(t){k(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 q()},set embedded(t=!1){q(t),re()},$set:dt,$on:(t,h)=>ut(i,t,h)},a=Q(),s=m(a);{var A=t=>{var h=Q(),F=m(h);x(F,()=>Ot,(G,ee)=>{ee(G,{onOpenChange:Ne,get open(){return e(R)},set open(ye){b(R,ye,!0)},children:(ye,se)=>{var ie=Wt(),W=m(ie);x(W,()=>Lt,(P,U)=>{U(P,{get icon(){return kr},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=$(W,2);x(N,()=>Ht,(P,U)=>{U(P,{class:"w-[28rem] max-w-[calc(100vw-1rem)]",onOpenAutoFocus:z,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=qe(h);x(F,()=>Kr,(ee,ye)=>{ye(ee,{onOpenChange:Ne,get open(){return e(R)},set open(se){b(R,se,!0)},children:(se,ie)=>{var W=Wt(),N=m(W);{const U=(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,()=>qr,(B,Ie)=>{Ie(B,{get ref(){return e(K)},set ref(D){b(K,D,!0)},child:U,$$slots:{child:!0}})})}var P=$(N,2);x(P,()=>mr,(U,B)=>{B(U,{children:(Ie,D)=>{var y=Q(),_e=m(y);{let ge=n(()=>d.chat_messageNavigator_open_ariaLabel());x(_e,()=>Gr,(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:z,onCloseAutoFocus:Y,onFocusOutside:oe,get"data-chat-message-navigator-content"(){return w},get class(){return`${_r} 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,W)},$$slots:{default:!0}})});var G=$(F,2);Wr(G,{get disabled(){return T()},get onclick(){return S()}}),Be(h),r(t,h)};Z(s,t=>{q()?t(A):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 qt=(f,i=Dt)=>{var w=Sn(),p=qe(w);ht(p,{get icon(){return oa},class:"size-(--menu-icon-size) opacity-30"});var v=$(p,2);{var T=k=>{var S=Cn();ve(()=>Yt(S,"src",i().tab.faviconUrl)),Gt("error",S,g=>g.currentTarget.style.display="none"),wa(S),r(k,S)};Z(v,k=>{i().tab.faviconUrl&&k(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=()=>Ae(R,"$panels$",v),p=()=>Ae(Re,"$hiddenTabs$",v),[v,T]=xt();let k=ae(i,"workspaceId",7),S=ae(i,"agentId",7),g=ae(i,"entries",7),M=ae(i,"embedded",7,!1);const q=St(k());je(()=>q.set(k()));const R=Zt(q),Re=tn(q),ne=n(()=>Tn(w(),p(),S())),c=n(()=>g()??e(ne)),E=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 ze(a){if(b(K,!1),!g()){if(a.hidden){const s=Zt.select(X.state,k()),A=Object.values(s).find(_=>_.tabs.some(t=>t.type==="agent"&&t.agentId===S()));X.dispatch(Oa(k(),a.tab.id,A?.id??null))}else if(a.panelId){const s=en(k());s.setActiveTab(a.tab.id,a.panelId),o=!0,s.focusPanel(a.panelId)}}}const Fe=crypto.randomUUID();je(()=>{const a=k();if(!(!e(K)||g()))return X.dispatch(Da(a,Fe)),()=>X.dispatch(La(a,Fe))});let K=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 A=e(de)?.querySelectorAll('[data-testid="browser-tabs-menu-item"]');if(!A?.length)return;let _;if(a.key==="ArrowDown")_=(s+1)%A.length;else if(a.key==="ArrowUp")_=(s-1+A.length)%A.length;else if(a.key==="Home")_=0;else if(a.key==="End")_=A.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(),A[_].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=rn.select(X.state,a.hostClientId??"",k());X.dispatch(Ba(a.id,!s.connected))}function He(a){const s=an.select(X.state);if(a.kind==="tab"){const{tab:_,panelId:t}=a.entry;Ne(_,s)?X.dispatch(ta(k(),_.id,t,void 0,{destroy:!0})):nt(_);return}const A=e(c).filter(_=>_.hidden&&!Ne(_.tab,s)).map(_=>_.tab);A.length<e(Le)&&X.dispatch(Ha(k(),S(),s));for(const _ of A)nt(_)}async function tt(a){if(!g()){if(b(K,!1),Xa.select(X.state,S())){if(M()){const s=a.kind==="hidden";await Yr({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 z(){b(J,null)}var xe={get workspaceId(){return k()},set workspaceId(a){k(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=Q(),A=m(s);x(A,()=>Ot,(_,t)=>{t(_,{get open(){return e(K)},set open(h){b(K,h,!0)},children:(h,F)=>{var G=_t(),ee=m(G);x(ee,()=>Lt,(se,ie)=>{ie(se,{get icon(){return oa},"data-testid":"browser-tabs-trigger",children:(W,N)=>{Ye();var P=et();ve(()=>$e(P,e(E))),r(W,P)},$$slots:{default:!0}})});var ye=$(ee,2);x(ye,()=>Ht,(se,ie)=>{ie(se,{class:"w-64",alignIconColumn:!1,onCloseAutoFocus:I,children:(W,N)=>{var P=_t(),U=m(P);At(U,17,()=>e(c),D=>D.tab.id,(D,y)=>{const _e=n(()=>Ce(e(y)));var ge=Dn(),fe=qe(ge);{const Se=le=>{qt(le,()=>e(y))};let Pe=n(()=>e(y).hidden?"opacity-60":""),Me=n(()=>e(y).hidden||void 0);x(fe,()=>Ut,(le,Ue)=>{Ue(le,{get class(){return`min-w-0 flex-1 ${e(Pe)??""}`},get textValue(){return e(_e)},onclick:()=>ze(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,Qe)=>{var Ve=Pn(),ot=at(Ve,!0);ve(()=>$e(ot,e(_e))),r(Je,Ve)},$$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,()=>Ut,(le,Ue)=>{Ue(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,Qe)=>{var Ve=Mn(),ot=qe(Ve);ht(ot,{get icon(){return $t},class:"size-(--menu-icon-size)! shrink-0"}),Be(Ve),r(Je,Ve)},$$slots:{default:!0}})})}Be(ge),r(D,ge)});var B=$(U,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(W,P)},$$slots:{default:!0}})}),r(h,G)},$$slots:{default:!0}})}),r(a,s)},ue=a=>{var s=Q(),A=m(s);x(A,()=>Qr,(_,t)=>{t(_,{get open(){return e(K)},set open(h){b(K,h,!0)},children:(h,F)=>{var G=_t(),ee=m(G);{const se=(ie,W)=>{lt(ie,Mt(()=>(W?.()).props,{variant:"ghost-light",size:"icon-sm",get active(){return e(K)},get"aria-label"(){return e(E)},get tooltip(){return e(E)},get tooltipDisabled(){return e(K)},tooltipSide:"bottom",tooltipDelayDuration:300,"data-testid":"browser-tabs-trigger",get ref(){return e(u)},set ref(P){b(u,P,!0)},children:(P,U)=>{Ar(P,{get size(){return na.compact},weight:"regular","aria-hidden":"true",class:"size-4!"})},$$slots:{default:!0}}))};x(ee,()=>jr,(ie,W)=>{W(ie,{child:se,$$slots:{child:!0}})})}var ye=$(ee,2);x(ye,()=>Jr,(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(E)},onOpenAutoFocus:W=>{W.preventDefault(),e(de)?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus()},onCloseAutoFocus:I,children:(W,N)=>{var P=Rn(),U=m(P);At(U,23,()=>e(c),D=>D.tab.id,(D,y,_e)=>{const ge=n(()=>Ce(e(y)));var fe=Hn(),Oe=qe(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:Ue=>O(Ue,e(_e)),onclick:()=>ze(e(y)),children:(Ue,Je)=>{var Qe=Ln(),Ve=m(Qe),ot=qe(Ve);qt(ot,()=>e(y)),Be(Ve);var yt=$(Ve,2),bt=at(yt,!0);ve(()=>$e(bt,e(ge))),r(Ue,Qe)},$$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,Ue)=>{ht(le,{get icon(){return $t},class:"size-3"})},$$slots:{default:!0}})}Be(fe),r(D,fe)}),Be(U),Jt(U,D=>b(de,D),()=>e(de));var B=$(U,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(W,P)},$$slots:{default:!0}})}),r(h,G)},$$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()),A=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());Xr(j,{get open(){return e(a)},size:"sm",get title(){return e(s)},get description(){return e(A)},get closeLabel(){return e(_)},get cancelLabel(){return e(t)},get submitLabel(){return e(h)},submitVariant:"destructive",focusSubmit:!0,onSubmit:C,onCancel:z,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=()=>Ae(g,"$entry",p),[p,v]=xt();let T=ae(i,"workspaceId",7),k=ae(i,"agentId",7),S=ae(i,"separator",7,!0);const g=ea(kt(()=>T()),kt(()=>k()));je(()=>{X.dispatch(aa(T(),k()))});var M={get workspaceId(){return T()},set workspaceId(c){T(c),re()},get agentId(){return k()},set agentId(c){k(c),re()},get separator(){return S()},set separator(c=!0){S(c),re()},$set:dt,$on:(c,E)=>ut(i,c,E)},q=Q(),R=m(q);{var Re=c=>{var E=Fn(),Ce=m(E);{var ze=K=>{var de=Q(),u=m(de);x(u,()=>Bt,(o,I)=>{I(o,{})}),r(K,de)};Z(Ce,K=>{S()&&K(ze)})}var Fe=$(Ce,2);x(Fe,()=>mt,(K,de)=>{de(K,{indicator:"switch",get icon(){return xr},get checked(){return w().permission.allowed},onSelect:u=>{u.preventDefault();const o=w()?.permission;o&&!w()?.saving&&X.dispatch(Ra(T(),k(),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,E)};Z(R,c=>{w()?.permission&&c(Re)})}r(f,q);var ne=ft(M);return v(),ne}var Ct=H("<!> <!>",1),Nn=H("<!> <!> <!>",1),En=H('<span class="min-w-0 flex-1"> </span> <span> </span>',1),zn=H("<!> <!> <!> <!>",1),Un=H("<!> <!> <!> <!> <!>",1);function ua(f,i){if(new.target)return ct({component:ua,...f});gt(i,!0);const w=()=>Ae(de,"$agentSession",S),p=()=>Ae(Ce,"$fontStyle",S),v=()=>Ae(ze,"$chatContentWidth",S),T=()=>Ae(Fe,"$chatAuroraEnabled",S),k=()=>Ae(K,"$collapseToolRuns",S),[S,g]=xt(),M=C=>{var z=Q(),xe=m(z);x(xe,()=>Zr,(we,oe)=>{oe(we,{get value(){return p()},onValueChange:O,children:(Y,ue)=>{var j=Ct(),te=m(j);x(te,()=>Vt,(s,A)=>{A(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,()=>Vt,(s,A)=>{A(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,z)},q=C=>{var z=Nn(),xe=m(z);{let Y=n(()=>v()==="full");x(xe,()=>mt,(ue,j)=>{j(ue,{indicator:"switch",get icon(){return Cr},get checked(){return e(Y)},closeOnSelect:!1,onCheckedChange:te=>X.dispatch(Fa(te?"full":"800")),children:(te,a)=>{Ye();var s=et();ve(A=>$e(s,A),[()=>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 Sr},get checked(){return T()},closeOnSelect:!1,onCheckedChange:j=>X.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 Pr},get checked(){return k()},closeOnSelect:!1,onCheckedChange:j=>X.dispatch(Ea(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,z)},R=C=>{var z=Q(),xe=m(z);{var we=oe=>{var Y=Q(),ue=m(Y);x(ue,()=>mt,(j,te)=>{te(j,{indicator:"switch",get icon(){return Mr},get checked(){return e(u)},closeOnSelect:!1,onCheckedChange:a=>X.dispatch(Ua(c(),E(),a?"interactive":"allow")),children:(a,s)=>{Ye();var A=et();ve(_=>$e(A,_),[()=>d.ui_viewSettings_askBeforeTools_label()]),r(a,A)},$$slots:{default:!0}})}),r(oe,Y)};Z(xe,oe=>{e(u)!==void 0&&c()&&E()&&oe(we)})}r(C,z)},Re=C=>{var z=Q(),xe=m(z);{var we=oe=>{var Y=Q(),ue=m(Y);Kt(ue,()=>`${c()}:${E()}`,j=>{{let te=n(()=>!ne());da(j,{get workspaceId(){return c()},get agentId(){return E()},get separator(){return e(te)}})}}),r(oe,Y)};Z(xe,oe=>{c()&&E()&&oe(we)})}r(C,z)};let ne=ae(i,"embedded",7,!1),c=ae(i,"workspaceId",7),E=ae(i,"agentId",7);const Ce=sn(),ze=ln(),Fe=cn(),K=dn(),de=Ya(on(()=>E())),u=n(()=>{const C=w();if(!c()||!C||C.permissionPolicy===void 0)return;const z=C.effectivePermissionPolicy;return typeof z=="string"?z==="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"||X.dispatch(za(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 E()},set agentId(C){E(C),re()},$set:dt,$on:(C,z)=>ut(i,C,z)},J=Q(),Ne=m(J);{var nt=C=>{var z=zn(),xe=m(z);x(xe,()=>Ot,(ue,j)=>{j(ue,{children:(te,a)=>{var s=Ct(),A=m(s);x(A,()=>Lt,(t,h)=>{h(t,{get icon(){return yr},iconWeight:"regular",children:(F,G)=>{var ee=En(),ye=m(ee),se=at(ye,!0),ie=$(ye,2),W=at(ie,!0);ve(N=>{$e(se,N),Ma(ie,1,`type-caption ${Nr}`),$e(W,e(I))},[()=>d.ui_viewSettings_font_label()]),r(F,ee)},$$slots:{default:!0}})});var _=$(A,2);{let t=n(()=>d.ui_viewSettings_font_label());x(_,()=>Ht,(h,F)=>{F(h,{get"aria-label"(){return e(t)},children:(G,ee)=>{M(G)},$$slots:{default:!0}})})}r(te,s)},$$slots:{default:!0}})});var we=$(xe,2);q(we);var oe=$(we,2);R(oe);var Y=$(oe,2);Re(Y),r(C,z)},He=C=>{var z=Q(),xe=m(z);x(xe,()=>Vr,(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=(A,_)=>{let t=()=>(_?.()).props;{let h=n(()=>d.ui_viewSettings_trigger_tooltip()),F=n(()=>d.ui_viewSettings_trigger_tooltip());lt(A,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:(G,ee)=>{ht(G,{get icon(){return Tr},size:"xs"})},$$slots:{default:!0}}))}};x(te,()=>zr,(A,_)=>{_(A,{child:s,$$slots:{child:!0}})})}var a=$(te,2);{let s=n(()=>d.ui_viewSettings_trigger_tooltip());x(a,()=>Ur,(A,_)=>{_(A,{align:"end",class:"w-56",get"aria-label"(){return e(s)},children:(t,h)=>{var F=Un(),G=m(F);M(G);var ee=$(G,2);x(ee,()=>Bt,(W,N)=>{N(W,{})});var ye=$(ee,2);q(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,z)};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 Vn(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 k=`🔧 Tool: ${i}
|
|
1
|
+
import{t as ct,bo as ae,bw as dt,bp as jt,b as ut,bm as d,br as Mt,bq as xt,bs as Ae}from"./51_h0jm2.js";import{bs as gt,a5 as qe,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 Q,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 kt,b_ as ve,bO as $e,c0 as Nt,bl as at,aw as Gt,cd as St,bz as wa,bj as Ia}from"./CJxGDkBm.js";import{i as Z}from"./PXCFrn2V.js";import{k as Kt}from"./C9UsZ4re.js";import{h as ka,I as Aa,g as At,e as xa}from"./Bjy4ygfJ.js";import{c as x}from"./DGmOjLYi.js";import{b as Jt}from"./NtFyWdpR.js";import{a4 as ya,a5 as Ta,bc as Ca}from"./DWLnWMNZ.js";import Sa from"./CNAilJvj.js";import{D as Pa}from"./b-bXytVF.js";import{C as Et}from"./6i_wfV3v.js";import{b as Qt,e as Xt,s as Yt,f as Ma}from"./CpPNoOk-.js";import"./BCBNqT5t.js";import{U as ea}from"./E_jRuW-b.js";import{J4 as X,dM as Da,dN as La,gS as ta,j2 as Ha,C1 as Oa,gy as Ba,i$ as aa,i_ as Ra,DZ as Fa,DY as Na,E3 as Ea,DC as za,DF as Ua,ck as Va,ci as Za,co as Wa,c1 as qa,DE as ja,cl as Ga,Dl as Ka}from"./Zldsekdv.js";import{g as Ja}from"./BrMXrCxP.js";import{a as Qa}from"./Cu0mADIg.js";import{u as zt}from"./Bn5goMn4.js";import{ax as Xa,aN as Ya,dE as er,c1 as tr,cf as ar,aL as rr,bs as nr,p as or}from"./XJqoy2ap.js";import{a_ as sr,a$ as ir}from"./uWDJKH9B.js";import{a as lr}from"./7Uk2VvOl.js";import{c as cr}from"./ChTqQfQN.js";import{c as dr}from"./BswUVSRu.js";import{C as ur}from"./BVUXyHGH.js";import{o as gr}from"./DAsc1V4f.js";import{I as fr,c as pr}from"./BgDYQZ_0.js";import"./DKn1sQ32.js";import{s as ra}from"./DxvSggY5.js";import{a1 as mr,f as lt,ae as vr}from"./Cdw_CIdg.js";import"./CF1Tu_8c.js";import{D as _r,C as na,T as hr,F as br,H as $r,t as wr,R as Ir}from"./4pFiTcXi.js";import{aV as kr,d0 as oa,F as ht,d3 as $t,B as Ar,b1 as xr,br as yr,cA as Tr,aa as Cr,cB as Sr,a9 as Pr,cx as Mr,au as Dr,aZ as Lr,cZ as Hr,ag as Or,cl as Br,an as Rr,cS as Fr}from"./DSQT151l.js";import{a as Pt,m as Nr}from"./DmhHEMPi.js";import{n as Er,k as Lt,j as Ht,i as Ot,e as Ut,h as Bt,c as mt,l as zr,d as Ur,M as Vr,g as Vt,R as Zr}from"./M18r7swD.js";import{B as Wr}from"./DcmaumPg.js";import{P as qr,T as jr}from"./BEjEPSxp.js";import{b as Gr,P as Kr,c as Jr,d as Qr}from"./CQw_RyF_.js";import"./BGP1lrgu.js";import{b as Xr}from"./C5rcw_c7.js";import{e as Yr}from"./DfSzfqox.js";import"./CN-6Tr26.js";import{M as st}from"./CqesqBNM.js";import{g as en}from"./CgXGPBF5.js";import{y as Zt,k as tn}from"./DUItrdZb.js";import{ay as an,$ as rn}from"./Dbpb1w7S.js";import{l as wt,h as nn}from"./DqFWZ_g1.js";import{t as on}from"./D2MmXC4A.js";import{a as sn,e as ln,d as cn,i as dn}from"./LKW_Bid7.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);Er(()=>!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)},k=gn();Qt(k,g=>({"data-slot":"menu-footer",class:g,...v}),[()=>Xt("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=qe(k);return ra(S,()=>w()??Dt),Be(k),r(f,k),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=ka();let p=ae(i,"children",7),v=jt(i,fn),T=n(()=>i.weight??w.weight??"regular"),k=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 q={get children(){return p()},set children(o){p(o),re()},$set:dt,$on:(o,I)=>ut(i,o,I)},R=$n();Qt(R,(o,I)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(S),height:e(S),fill:e(k),transform:e(g)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...o,...I}),[()=>M(w),()=>M(v)]);var Re=qe(R);{var ne=o=>{var I=Q(),O=m(I);ra(O,p),r(o,I)};Z(Re,o=>{p()&&o(ne)})}var c=$(Re,2);{var E=o=>{var I=pn();r(o,I)},Ce=o=>{var I=mn();Ye(),r(o,I)},ze=o=>{var I=vn();r(o,I)},Fe=o=>{var I=_n();r(o,I)},K=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(E):e(T)==="duotone"?o(Ce,1):e(T)==="fill"?o(ze,2):e(T)==="light"?o(Fe,3):e(T)==="regular"?o(K,4):e(T)==="thin"?o(de,5):o(u,-1)})}return Be(R),r(f,R),ft(q)}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>'),kn=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>'),An=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>'),Wt=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=qe(h);{let N=n(()=>d.chat_messageNavigator_search_ariaLabel()),P=n(()=>e(O).length>0?I:void 0),U=n(()=>d.chat_messageNavigator_search_placeholder());fr(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(U)},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 G=$(F,2),ee=qe(G);{var ye=N=>{var P=wn(),U=qe(P);Aa(U,{size:16});var B=$(U,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(G);var se=$(G,2);{var ie=N=>{var P=kn();At(P,23,()=>e(O),U=>U.id,(U,B,Ie)=>{{let D=n(()=>!e(Re)[e(B).id]),y=n(()=>q()?"":"h-(--control-height-large)");vr(U,{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(()=>Xt(Pt(),pr,"max-w-full cursor-pointer overflow-hidden text-muted-foreground focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/40",q()?"font-normal":"font-medium",!q()&&"h-(--control-height-large) min-h-(--control-height-large) max-h-(--control-height-large)",q()?"hover:bg-hover hover:text-foreground":"hover:bg-accent/60 hover:text-accent-foreground",e(Ie)===e(c)&&(q()?"bg-selected text-foreground":"bg-accent text-accent-foreground"))),Pe=n(()=>q()||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(E))&&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 Ue=In(),Je=at(Ue,!0);xa(Ue,(Qe,Ve)=>gr?.(Qe,Ve),()=>Qe=>e(Re)[e(B).id]=Qe),ve(()=>$e(Je,e(B).text)),r(Me,Ue)},$$slots:{default:!0}})}},$$slots:{default:!0}})}}),Be(P),ve(()=>Yt(P,"id",I)),Gt("scroll",P,tt),r(N,P)},W=N=>{var P=An(),U=at(P,!0);ve(B=>$e(U,B),[()=>d.chat_messageNavigator_empty_label()]),r(N,P)};Z(se,N=>{e(O).length>0?N(ie):M()||N(W,1)})}Be(h),r(t,h)};let v=ae(i,"messages",7),T=ae(i,"isAtBottom",7),k=ae(i,"onSelectMessage",7),S=ae(i,"onScrollToBottom",7),g=ae(i,"onOpen",7),M=ae(i,"isLoadingIndex",7,!1),q=ae(i,"embedded",7,!1),R=ce(!1),Re=ce(It({})),ne=ce(""),c=ce(0),E=ce(!0),Ce=null,ze=!1,Fe=ce(null),K=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(K)?.closest("[data-panel-id]");b(u,h?[h]:[],!0),b(ne,""),b(E,!0),b(c,Math.max(v().length-1,0),!0),g()?.()}function nt(t){b(ne,t.currentTarget.value,!0),b(E,!0),b(c,Math.max(e(O).length-1,0),!0)}function He(t){b(E,!1),b(c,t,!0),Ce=e(O)[t]?.id??null}function tt(){ze||b(E,!1)}je(()=>{if(!e(R))return;const t=e(O).length;if(t===0)return;if(e(E)){b(c,t-1),Ce=e(O)[t-1].id;return}const h=kt(()=>e(c)),F=Ce===null?-1:e(O).findIndex(G=>G.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&&(ze=!0,t.scrollIntoView?.({block:"nearest"}),requestAnimationFrame(()=>{ze=!1}))});function C(t){t.key!=="Enter"&&t.key!==" "||(t.preventDefault(),Ne(!e(R)))}function z(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(K)?.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 k()(t)}function j(t){if(q()&&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 k()},set onSelectMessage(t){k(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 q()},set embedded(t=!1){q(t),re()},$set:dt,$on:(t,h)=>ut(i,t,h)},a=Q(),s=m(a);{var A=t=>{var h=Q(),F=m(h);x(F,()=>Ot,(G,ee)=>{ee(G,{onOpenChange:Ne,get open(){return e(R)},set open(ye){b(R,ye,!0)},children:(ye,se)=>{var ie=Wt(),W=m(ie);x(W,()=>Lt,(P,U)=>{U(P,{get icon(){return kr},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=$(W,2);x(N,()=>Ht,(P,U)=>{U(P,{class:"w-[28rem] max-w-[calc(100vw-1rem)]",onOpenAutoFocus:z,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=qe(h);x(F,()=>Kr,(ee,ye)=>{ye(ee,{onOpenChange:Ne,get open(){return e(R)},set open(se){b(R,se,!0)},children:(se,ie)=>{var W=Wt(),N=m(W);{const U=(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,()=>qr,(B,Ie)=>{Ie(B,{get ref(){return e(K)},set ref(D){b(K,D,!0)},child:U,$$slots:{child:!0}})})}var P=$(N,2);x(P,()=>mr,(U,B)=>{B(U,{children:(Ie,D)=>{var y=Q(),_e=m(y);{let ge=n(()=>d.chat_messageNavigator_open_ariaLabel());x(_e,()=>Gr,(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:z,onCloseAutoFocus:Y,onFocusOutside:oe,get"data-chat-message-navigator-content"(){return w},get class(){return`${_r} 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,W)},$$slots:{default:!0}})});var G=$(F,2);Wr(G,{get disabled(){return T()},get onclick(){return S()}}),Be(h),r(t,h)};Z(s,t=>{q()?t(A):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 qt=(f,i=Dt)=>{var w=Sn(),p=qe(w);ht(p,{get icon(){return oa},class:"size-(--menu-icon-size) opacity-30"});var v=$(p,2);{var T=k=>{var S=Cn();ve(()=>Yt(S,"src",i().tab.faviconUrl)),Gt("error",S,g=>g.currentTarget.style.display="none"),wa(S),r(k,S)};Z(v,k=>{i().tab.faviconUrl&&k(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=()=>Ae(R,"$panels$",v),p=()=>Ae(Re,"$hiddenTabs$",v),[v,T]=xt();let k=ae(i,"workspaceId",7),S=ae(i,"agentId",7),g=ae(i,"entries",7),M=ae(i,"embedded",7,!1);const q=St(k());je(()=>q.set(k()));const R=Zt(q),Re=tn(q),ne=n(()=>Tn(w(),p(),S())),c=n(()=>g()??e(ne)),E=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 ze(a){if(b(K,!1),!g()){if(a.hidden){const s=Zt.select(X.state,k()),A=Object.values(s).find(_=>_.tabs.some(t=>t.type==="agent"&&t.agentId===S()));X.dispatch(Oa(k(),a.tab.id,A?.id??null))}else if(a.panelId){const s=en(k());s.setActiveTab(a.tab.id,a.panelId),o=!0,s.focusPanel(a.panelId)}}}const Fe=crypto.randomUUID();je(()=>{const a=k();if(!(!e(K)||g()))return X.dispatch(Da(a,Fe)),()=>X.dispatch(La(a,Fe))});let K=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 A=e(de)?.querySelectorAll('[data-testid="browser-tabs-menu-item"]');if(!A?.length)return;let _;if(a.key==="ArrowDown")_=(s+1)%A.length;else if(a.key==="ArrowUp")_=(s-1+A.length)%A.length;else if(a.key==="Home")_=0;else if(a.key==="End")_=A.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(),A[_].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=rn.select(X.state,a.hostClientId??"",k());X.dispatch(Ba(a.id,!s.connected))}function He(a){const s=an.select(X.state);if(a.kind==="tab"){const{tab:_,panelId:t}=a.entry;Ne(_,s)?X.dispatch(ta(k(),_.id,t,void 0,{destroy:!0})):nt(_);return}const A=e(c).filter(_=>_.hidden&&!Ne(_.tab,s)).map(_=>_.tab);A.length<e(Le)&&X.dispatch(Ha(k(),S(),s));for(const _ of A)nt(_)}async function tt(a){if(!g()){if(b(K,!1),Xa.select(X.state,S())){if(M()){const s=a.kind==="hidden";await Yr({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 z(){b(J,null)}var xe={get workspaceId(){return k()},set workspaceId(a){k(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=Q(),A=m(s);x(A,()=>Ot,(_,t)=>{t(_,{get open(){return e(K)},set open(h){b(K,h,!0)},children:(h,F)=>{var G=_t(),ee=m(G);x(ee,()=>Lt,(se,ie)=>{ie(se,{get icon(){return oa},"data-testid":"browser-tabs-trigger",children:(W,N)=>{Ye();var P=et();ve(()=>$e(P,e(E))),r(W,P)},$$slots:{default:!0}})});var ye=$(ee,2);x(ye,()=>Ht,(se,ie)=>{ie(se,{class:"w-64",alignIconColumn:!1,onCloseAutoFocus:I,children:(W,N)=>{var P=_t(),U=m(P);At(U,17,()=>e(c),D=>D.tab.id,(D,y)=>{const _e=n(()=>Ce(e(y)));var ge=Dn(),fe=qe(ge);{const Se=le=>{qt(le,()=>e(y))};let Pe=n(()=>e(y).hidden?"opacity-60":""),Me=n(()=>e(y).hidden||void 0);x(fe,()=>Ut,(le,Ue)=>{Ue(le,{get class(){return`min-w-0 flex-1 ${e(Pe)??""}`},get textValue(){return e(_e)},onclick:()=>ze(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,Qe)=>{var Ve=Pn(),ot=at(Ve,!0);ve(()=>$e(ot,e(_e))),r(Je,Ve)},$$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,()=>Ut,(le,Ue)=>{Ue(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,Qe)=>{var Ve=Mn(),ot=qe(Ve);ht(ot,{get icon(){return $t},class:"size-(--menu-icon-size)! shrink-0"}),Be(Ve),r(Je,Ve)},$$slots:{default:!0}})})}Be(ge),r(D,ge)});var B=$(U,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(W,P)},$$slots:{default:!0}})}),r(h,G)},$$slots:{default:!0}})}),r(a,s)},ue=a=>{var s=Q(),A=m(s);x(A,()=>Qr,(_,t)=>{t(_,{get open(){return e(K)},set open(h){b(K,h,!0)},children:(h,F)=>{var G=_t(),ee=m(G);{const se=(ie,W)=>{lt(ie,Mt(()=>(W?.()).props,{variant:"ghost-light",size:"icon-sm",get active(){return e(K)},get"aria-label"(){return e(E)},get tooltip(){return e(E)},get tooltipDisabled(){return e(K)},tooltipSide:"bottom",tooltipDelayDuration:300,"data-testid":"browser-tabs-trigger",get ref(){return e(u)},set ref(P){b(u,P,!0)},children:(P,U)=>{Ar(P,{get size(){return na.compact},weight:"regular","aria-hidden":"true",class:"size-4!"})},$$slots:{default:!0}}))};x(ee,()=>jr,(ie,W)=>{W(ie,{child:se,$$slots:{child:!0}})})}var ye=$(ee,2);x(ye,()=>Jr,(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(E)},onOpenAutoFocus:W=>{W.preventDefault(),e(de)?.querySelector('[data-testid="browser-tabs-menu-item"]')?.focus()},onCloseAutoFocus:I,children:(W,N)=>{var P=Rn(),U=m(P);At(U,23,()=>e(c),D=>D.tab.id,(D,y,_e)=>{const ge=n(()=>Ce(e(y)));var fe=Hn(),Oe=qe(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:Ue=>O(Ue,e(_e)),onclick:()=>ze(e(y)),children:(Ue,Je)=>{var Qe=Ln(),Ve=m(Qe),ot=qe(Ve);qt(ot,()=>e(y)),Be(Ve);var yt=$(Ve,2),bt=at(yt,!0);ve(()=>$e(bt,e(ge))),r(Ue,Qe)},$$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,Ue)=>{ht(le,{get icon(){return $t},class:"size-3"})},$$slots:{default:!0}})}Be(fe),r(D,fe)}),Be(U),Jt(U,D=>b(de,D),()=>e(de));var B=$(U,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(W,P)},$$slots:{default:!0}})}),r(h,G)},$$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()),A=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());Xr(j,{get open(){return e(a)},size:"sm",get title(){return e(s)},get description(){return e(A)},get closeLabel(){return e(_)},get cancelLabel(){return e(t)},get submitLabel(){return e(h)},submitVariant:"destructive",focusSubmit:!0,onSubmit:C,onCancel:z,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=()=>Ae(g,"$entry",p),[p,v]=xt();let T=ae(i,"workspaceId",7),k=ae(i,"agentId",7),S=ae(i,"separator",7,!0);const g=ea(kt(()=>T()),kt(()=>k()));je(()=>{X.dispatch(aa(T(),k()))});var M={get workspaceId(){return T()},set workspaceId(c){T(c),re()},get agentId(){return k()},set agentId(c){k(c),re()},get separator(){return S()},set separator(c=!0){S(c),re()},$set:dt,$on:(c,E)=>ut(i,c,E)},q=Q(),R=m(q);{var Re=c=>{var E=Fn(),Ce=m(E);{var ze=K=>{var de=Q(),u=m(de);x(u,()=>Bt,(o,I)=>{I(o,{})}),r(K,de)};Z(Ce,K=>{S()&&K(ze)})}var Fe=$(Ce,2);x(Fe,()=>mt,(K,de)=>{de(K,{indicator:"switch",get icon(){return xr},get checked(){return w().permission.allowed},onSelect:u=>{u.preventDefault();const o=w()?.permission;o&&!w()?.saving&&X.dispatch(Ra(T(),k(),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,E)};Z(R,c=>{w()?.permission&&c(Re)})}r(f,q);var ne=ft(M);return v(),ne}var Ct=H("<!> <!>",1),Nn=H("<!> <!> <!>",1),En=H('<span class="min-w-0 flex-1"> </span> <span> </span>',1),zn=H("<!> <!> <!> <!>",1),Un=H("<!> <!> <!> <!> <!>",1);function ua(f,i){if(new.target)return ct({component:ua,...f});gt(i,!0);const w=()=>Ae(de,"$agentSession",S),p=()=>Ae(Ce,"$fontStyle",S),v=()=>Ae(ze,"$chatContentWidth",S),T=()=>Ae(Fe,"$chatAuroraEnabled",S),k=()=>Ae(K,"$collapseToolRuns",S),[S,g]=xt(),M=C=>{var z=Q(),xe=m(z);x(xe,()=>Zr,(we,oe)=>{oe(we,{get value(){return p()},onValueChange:O,children:(Y,ue)=>{var j=Ct(),te=m(j);x(te,()=>Vt,(s,A)=>{A(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,()=>Vt,(s,A)=>{A(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,z)},q=C=>{var z=Nn(),xe=m(z);{let Y=n(()=>v()==="full");x(xe,()=>mt,(ue,j)=>{j(ue,{indicator:"switch",get icon(){return Cr},get checked(){return e(Y)},closeOnSelect:!1,onCheckedChange:te=>X.dispatch(Fa(te?"full":"800")),children:(te,a)=>{Ye();var s=et();ve(A=>$e(s,A),[()=>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 Sr},get checked(){return T()},closeOnSelect:!1,onCheckedChange:j=>X.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 Pr},get checked(){return k()},closeOnSelect:!1,onCheckedChange:j=>X.dispatch(Ea(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,z)},R=C=>{var z=Q(),xe=m(z);{var we=oe=>{var Y=Q(),ue=m(Y);x(ue,()=>mt,(j,te)=>{te(j,{indicator:"switch",get icon(){return Mr},get checked(){return e(u)},closeOnSelect:!1,onCheckedChange:a=>X.dispatch(Ua(c(),E(),a?"interactive":"allow")),children:(a,s)=>{Ye();var A=et();ve(_=>$e(A,_),[()=>d.ui_viewSettings_askBeforeTools_label()]),r(a,A)},$$slots:{default:!0}})}),r(oe,Y)};Z(xe,oe=>{e(u)!==void 0&&c()&&E()&&oe(we)})}r(C,z)},Re=C=>{var z=Q(),xe=m(z);{var we=oe=>{var Y=Q(),ue=m(Y);Kt(ue,()=>`${c()}:${E()}`,j=>{{let te=n(()=>!ne());da(j,{get workspaceId(){return c()},get agentId(){return E()},get separator(){return e(te)}})}}),r(oe,Y)};Z(xe,oe=>{c()&&E()&&oe(we)})}r(C,z)};let ne=ae(i,"embedded",7,!1),c=ae(i,"workspaceId",7),E=ae(i,"agentId",7);const Ce=sn(),ze=ln(),Fe=cn(),K=dn(),de=Ya(on(()=>E())),u=n(()=>{const C=w();if(!c()||!C||C.permissionPolicy===void 0)return;const z=C.effectivePermissionPolicy;return typeof z=="string"?z==="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"||X.dispatch(za(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 E()},set agentId(C){E(C),re()},$set:dt,$on:(C,z)=>ut(i,C,z)},J=Q(),Ne=m(J);{var nt=C=>{var z=zn(),xe=m(z);x(xe,()=>Ot,(ue,j)=>{j(ue,{children:(te,a)=>{var s=Ct(),A=m(s);x(A,()=>Lt,(t,h)=>{h(t,{get icon(){return yr},iconWeight:"regular",children:(F,G)=>{var ee=En(),ye=m(ee),se=at(ye,!0),ie=$(ye,2),W=at(ie,!0);ve(N=>{$e(se,N),Ma(ie,1,`type-caption ${Nr}`),$e(W,e(I))},[()=>d.ui_viewSettings_font_label()]),r(F,ee)},$$slots:{default:!0}})});var _=$(A,2);{let t=n(()=>d.ui_viewSettings_font_label());x(_,()=>Ht,(h,F)=>{F(h,{get"aria-label"(){return e(t)},children:(G,ee)=>{M(G)},$$slots:{default:!0}})})}r(te,s)},$$slots:{default:!0}})});var we=$(xe,2);q(we);var oe=$(we,2);R(oe);var Y=$(oe,2);Re(Y),r(C,z)},He=C=>{var z=Q(),xe=m(z);x(xe,()=>Vr,(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=(A,_)=>{let t=()=>(_?.()).props;{let h=n(()=>d.ui_viewSettings_trigger_tooltip()),F=n(()=>d.ui_viewSettings_trigger_tooltip());lt(A,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:(G,ee)=>{ht(G,{get icon(){return Tr},size:"xs"})},$$slots:{default:!0}}))}};x(te,()=>zr,(A,_)=>{_(A,{child:s,$$slots:{child:!0}})})}var a=$(te,2);{let s=n(()=>d.ui_viewSettings_trigger_tooltip());x(a,()=>Ur,(A,_)=>{_(A,{align:"end",class:"w-56",get"aria-label"(){return e(s)},children:(t,h)=>{var F=Un(),G=m(F);M(G);var ee=$(G,2);x(ee,()=>Bt,(W,N)=>{N(W,{})});var ye=$(ee,2);q(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,z)};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 Vn(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 k=`🔧 Tool: ${i}
|
|
2
2
|
Input:
|
|
3
3
|
${p}`;return T?k+=`
|
|
4
4
|
❌ Error: ${typeof T=="string"?T:vt(T)}`:v!==void 0&&(k+=`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as H,bo as x,bw as U,b as W}from"./
|
|
1
|
+
import{t as H,bo as x,bw as U,b as W}from"./51_h0jm2.js";import{bV as j,br as q,bH as A,aD as y,bs as X,ca as z,a5 as J,b_ as C,W as N,bS as K,a7 as Q,ay as Z,bA as $,bn as ee,c9 as te,at as ae,aA as _,aB as M,bI as re,aG as se}from"./CJxGDkBm.js";import{k as oe}from"./C9UsZ4re.js";import{g as D,e as L,o as ne,p as ie}from"./Bjy4ygfJ.js";import{n as V,g as F,S}from"./BxwkoIbZ.js";import{c as T,e as O,f as P}from"./CpPNoOk-.js";import{_ as G}from"./CF1Tu_8c.js";import{c as de}from"./BgDYQZ_0.js";function ce(r,a){const i=[...a].filter(t=>Number.isInteger(t)&&t>=0&&r[t]!==void 0).sort((t,o)=>t-o),u=[];for(const t of i){const o=u.at(-1);!o||t>o.endIndex+1?u.push({startIndex:t,endIndex:t}):t>o.endIndex&&(o.endIndex=t)}return u.map(({startIndex:t,endIndex:o})=>{let c=Number.POSITIVE_INFINITY,d=Number.POSITIVE_INFINITY,g=Number.NEGATIVE_INFINITY,m=Number.NEGATIVE_INFINITY;for(let l=t;l<=o;l+=1){const n=r[l];n&&(c=Math.min(c,n.top),d=Math.min(d,n.left),g=Math.max(g,n.left+n.width),m=Math.max(m,n.top+n.height))}return{startIndex:t,endIndex:o,rect:{top:c,left:d,width:g-d,height:m-c}}})}function E(r,a){return Math.max(0,Math.min(r.endIndex,a.endIndex)-Math.max(r.startIndex,a.startIndex)+1)}function le(){let r=j(q([])),a=[],i=1;return{get groups(){return y(r)},update(u,t){const o=new Set,c=ce(u,t).map(d=>{const m=a.filter(l=>!o.has(l.id)&&E(l,d)>0).sort((l,n)=>E(n,d)-E(l,d)||l.id-n.id)[0]?.id??i++;return o.add(m),{id:m,...d}});a=c,A(r,c,!0)},reset(){a=[],A(r,[],!0),i=1}}}var ue=M('<div data-proximity-highlight="selected" style="border-radius: var(--radius-row)"></div>'),me=M('<div data-proximity-highlight="hover" style="border-radius: var(--radius-row)"></div>'),pe=M('<div aria-hidden="true"><!> <!></div>');function fe(r,a){if(new.target)return H({component:fe,...r});X(a,!0);let i=x(a,"store",7),u=x(a,"selectedIndexes",23,()=>[]),t=x(a,"selectedClass",7,"bg-selected"),o=x(a,"hoverClass",7,"bg-hover"),c=x(a,"class",7);const d=le(),g=te(()=>i().activeIndex===null?void 0:i().itemRects[i().activeIndex]);z(()=>{d.update(i().itemRects,u())});const m=(e,s)=>{const p=new S(s.rect.top,s.tier),f=new S(s.rect.left,s.tier),b=new S(s.rect.width,s.tier),v=new S(s.rect.height,s.tier),I=ae(()=>{z(()=>{e.style.transform=`translate3d(${f.current}px, ${p.current}px, 0)`,e.style.width=`${b.current}px`,e.style.height=`${v.current}px`})}),w=h=>{p.set(h.rect.top),f.set(h.rect.left),b.set(h.rect.width),v.set(h.rect.height)},B=ne(()=>ie()&&w(s));return{update(h){s=h,w(h)},destroy(){B(),I()}}};var l={get store(){return i()},set store(e){i(e),_()},get selectedIndexes(){return u()},set selectedIndexes(e=[]){u(e),_()},get selectedClass(){return t()},set selectedClass(e="bg-selected"){t(e),_()},get hoverClass(){return o()},set hoverClass(e="bg-hover"){o(e),_()},get class(){return c()},set class(e){c(e),_()},$set:U,$on:(e,s)=>W(a,e,s)},n=pe(),R=J(n);D(R,17,()=>d.groups,e=>e.id,(e,s)=>{var p=ue();L(p,(f,b)=>m?.(f,b),()=>({rect:y(s).rect,tier:"moderate"})),C(f=>P(p,1,f),[()=>T(O("absolute",t()))]),V(2,p,()=>F,()=>({tier:"moderate"})),N(e,p)});var k=K(R,2);return oe(k,()=>i().sessionId,e=>{var s=Q(),p=Z(s);D(p,17,()=>y(g)?[y(g)]:[],f=>0,(f,b)=>{var v=me();L(v,(I,w)=>m?.(I,w),()=>({rect:y(b),tier:"moderate"})),C(I=>P(v,1,I),[()=>T(O("absolute",o()))]),V(2,v,()=>F,()=>({tier:"fast"})),N(f,v)}),N(e,s)}),$(n),C(e=>P(n,1,e),[()=>T(O("pointer-events-none absolute inset-0",c()))]),N(r,n),ee(l)}const Se=G({base:`${de} menu-row group/menu-item relative z-10 flex w-full min-w-0 cursor-default select-none items-start gap-2.5 border-none bg-transparent px-2.5 py-1.5 transition-colors duration-spring-fast ease-spring-fast focus:text-foreground focus-visible:outline-none data-[menu-item]:font-medium data-[disabled]:pointer-events-none data-[disabled]:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 motion-reduce:transition-none`,variants:{inset:{true:"pl-8"}}}),Ce=G({base:"menu-overlay type-caption relative isolate z-(--layer-popover) overflow-hidden rounded-(--radius-medium) border border-border bg-popover shadow-(--elevation-overlay) [--menu-icon-size:calc(var(--space-3)+var(--space-1)/2)] [--radius-row:calc(var(--radius-small)-var(--space-1)/2)] focus-visible:border-input focus-visible:outline focus-visible:-outline-offset-1 data-[side=bottom]:origin-top data-[side=top]:origin-bottom data-[side=left]:origin-right data-[side=right]:origin-left data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:duration-spring-moderate data-[state=open]:ease-spring-moderate data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:duration-spring-moderate-exit data-[state=closed]:ease-spring-exit motion-reduce:animate-none motion-reduce:transition-none"}),Te="text-shortcut-foreground",Oe=-5,Pe={enter:{tier:"moderate",y:4,scale:.95},exit:{tier:"moderate"}},Y=Symbol("dialog-portal-target");function Ee(r){re(Y,r)}function Me(){const r=se(Y);return()=>r?.()??void 0}const ge=["[data-bits-floating-content-wrapper]",'[role="combobox"][aria-expanded="true"]','[aria-haspopup]:not([aria-haspopup="false"])[aria-expanded="true"]'].join(", ");function Re(r,a){return r?.querySelector(":scope > [data-bits-floating-content-wrapper]")?!0:a.target instanceof Element&&a.target.closest(ge)!==null}export{fe as P,Se as a,Ce as b,Pe as c,Oe as d,Re as e,Te as m,Ee as p,Me as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ca as p,c5 as i,aD as l,c9 as S,bs as W,a7 as R,ay as q,W as z,bn as I,aA as m}from"./CJxGDkBm.js";import{J4 as h,sN as K,bn as C}from"./
|
|
1
|
+
import{ca as p,c5 as i,aD as l,c9 as S,bs as W,a7 as R,ay as q,W as z,bn as I,aA as m}from"./CJxGDkBm.js";import{J4 as h,sN as K,bn as C}from"./Zldsekdv.js";import{t as x,bo as u,bw as M,bs as f,bq as A,b as D}from"./51_h0jm2.js";import{i as E}from"./PXCFrn2V.js";import{t as J}from"./D2MmXC4A.js";import{m as N}from"./BOXv-Vsz.js";import{aK as O}from"./Bs9TCQJX.js";import{c as j}from"./SX1khnGy.js";function V(t){const s=()=>h.dispatch(K({quiet:t.quiet}));p(()=>{t.key?.(),t.active()&&i(s)});const r=S(()=>t.workspaces().some(o=>o.status===C.Retired));let a=i(()=>l(r));p(()=>{const o=l(r);i(()=>{a&&!o&&t.active()&&s(),a=o})})}function B(t,s){if(new.target)return x({component:B,...t});W(s,!0);const r=()=>f($,"$connected$",o),a=()=>f(_,"$slot$",o),[o,k]=A();let c=u(s,"workspaceId",7),n=u(s,"size",7,"default");const $=N(),_=O(J(()=>c()));var b={get workspaceId(){return c()},set workspaceId(e){c(e),m()},get size(){return n()},set size(e="default"){n(e),m()},$set:M,$on:(e,y)=>D(s,e,y)},d=R(),g=q(d);{var v=e=>{j(e,{get slot(){return a()},get size(){return n()}})};E(g,e=>{r()&&a()!==null&&e(v)})}z(t,d);var w=I(b);return k(),w}export{B as W,V as r};
|