@intent-hq/web 2.369.1 → 2.370.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/intent-web.mjs +113 -2
- package/package.json +1 -1
- package/web/app/immutable/chunks/{jRFO7UbE.js → 1BRHaRmm.js} +5 -5
- package/web/app/immutable/chunks/{CV10cSI4.js → 1q0xL14K.js} +1 -1
- package/web/app/immutable/chunks/{N5wpZAwp.js → 2CvTs4Gl.js} +1 -1
- package/web/app/immutable/chunks/{Wv5_ui4s.js → 2IbSEmAW.js} +1 -1
- package/web/app/immutable/chunks/{nIQsF0QH.js → 2kcdsiKR.js} +1 -1
- package/web/app/immutable/chunks/{A9EcmNK3.js → 3bNhkT-J.js} +1 -1
- package/web/app/immutable/chunks/{CQw_RyF_.js → 5kePy1TE.js} +1 -1
- package/web/app/immutable/chunks/{s1m3ujOc.js → 711s5WU0.js} +1 -1
- package/web/app/immutable/chunks/{C5X1QcI7.js → 7aKXh--T.js} +4 -4
- package/web/app/immutable/chunks/{B6jI9-V_.js → 7i9XTDuo.js} +1 -1
- package/web/app/immutable/chunks/{CLZkKjaI.js → AsFm-iq9.js} +1 -1
- package/web/app/immutable/chunks/{DtnAdLQg.js → B1tKRs9e.js} +1 -1
- package/web/app/immutable/chunks/{PxI10rWs.js → B2_coen2.js} +1 -1
- package/web/app/immutable/chunks/{BHfEypjS.js → B3hSlB6y.js} +1 -1
- package/web/app/immutable/chunks/{CxF8L5mw.js → B3s08q4i.js} +1 -1
- package/web/app/immutable/chunks/{CZ_Dk1nz.js → B4rTQlY3.js} +1 -1
- package/web/app/immutable/chunks/{CRwqTV0i.js → B5LyNSS1.js} +7 -7
- package/web/app/immutable/chunks/{DyBkeTEM.js → B7CIdOn0.js} +1 -1
- package/web/app/immutable/chunks/{DMl4Z5o_.js → BBWuirRW.js} +1 -1
- package/web/app/immutable/chunks/{BNp3_sz0.js → BBvc0xcX.js} +1 -1
- package/web/app/immutable/chunks/{DvdPJ4VE.js → BE3ifD-D.js} +1 -1
- package/web/app/immutable/chunks/{oOuL5l8A.js → BHCTYYXY.js} +1 -1
- package/web/app/immutable/chunks/{DdKIjYo_.js → BHe6JG_C.js} +2 -2
- package/web/app/immutable/chunks/{ZYL8cEBi.js → BIDxyGuw.js} +1 -1
- package/web/app/immutable/chunks/{CtxaFpQJ.js → BIH1E0JD.js} +1 -1
- package/web/app/immutable/chunks/{C1McR-sz.js → BIY9btQv.js} +1 -1
- package/web/app/immutable/chunks/{CGOlqeU_.js → BIv0yV05.js} +1 -1
- package/web/app/immutable/chunks/{A2MGRlHV.js → BJDeJSt-.js} +2 -2
- package/web/app/immutable/chunks/{OcJyMtNk.js → BKq-hmnE.js} +1 -1
- package/web/app/immutable/chunks/{B2FXFK8l.js → BKzqt9uo.js} +1 -1
- package/web/app/immutable/chunks/{CWybLnJv.js → BL5h9RCy.js} +1 -1
- package/web/app/immutable/chunks/{JKboQXkL.js → BLb6jd9K.js} +1 -1
- package/web/app/immutable/chunks/{CJb9CQqu.js → BNv5miK-.js} +1 -1
- package/web/app/immutable/chunks/{BUtBz-tz.js → BOHkf2gI.js} +1 -1
- package/web/app/immutable/chunks/{eln8hjjQ.js → BOROIf_S.js} +1 -1
- package/web/app/immutable/chunks/{D1cY0pVs.js → BR75pcGU.js} +1 -1
- package/web/app/immutable/chunks/{DmhHEMPi.js → BROVvkEL.js} +1 -1
- package/web/app/immutable/chunks/{Dd_WBgru.js → BR_GHabc.js} +1 -1
- package/web/app/immutable/chunks/{ByDB1X4D.js → BSwUOmEO.js} +1 -1
- package/web/app/immutable/chunks/{eLOMf9Vt.js → BTBYrxZV.js} +1 -1
- package/web/app/immutable/chunks/{Dxjy2MWO.js → BU9a7SkD.js} +1 -1
- package/web/app/immutable/chunks/{C6T3ggVX.js → BVDDJIsV.js} +1 -1
- package/web/app/immutable/chunks/{BsjFeGOg.js → BWn2FCdq.js} +1 -1
- package/web/app/immutable/chunks/{DWjKA8Pm.js → BZWU4mlm.js} +2 -2
- package/web/app/immutable/chunks/Ba5gf06c.js +1 -0
- package/web/app/immutable/chunks/{BgDYQZ_0.js → BaGw_bDr.js} +1 -1
- package/web/app/immutable/chunks/{DR7bEdZk.js → Baepgj8b.js} +1 -1
- package/web/app/immutable/chunks/{Da2tbXc-.js → BalxhI2Q.js} +1 -1
- package/web/app/immutable/chunks/{Danvn_nL.js → Bb3w2fM6.js} +1 -1
- package/web/app/immutable/chunks/{s3nd6_cp.js → BeVAskuR.js} +1 -1
- package/web/app/immutable/chunks/{BKuhcLZN.js → Beg3arHH.js} +1 -1
- package/web/app/immutable/chunks/{C8APJtmo.js → BgnxwWhQ.js} +1 -1
- package/web/app/immutable/chunks/{3kQ-PiCp.js → BhA_kLCx.js} +1 -1
- package/web/app/immutable/chunks/{KykWEhyB.js → Bj-9TYLg.js} +1 -1
- package/web/app/immutable/chunks/{BE2y8JEQ.js → BlQvrYPa.js} +1 -1
- package/web/app/immutable/chunks/{BsKhFZ0Q.js → BldeOF88.js} +1 -1
- package/web/app/immutable/chunks/{Cdw_CIdg.js → BnA9v3pc.js} +1 -1
- package/web/app/immutable/chunks/{CUH5IR0E.js → Bo89tkt2.js} +1 -1
- package/web/app/immutable/chunks/{LKW_Bid7.js → BoQ8Q7zJ.js} +1 -1
- package/web/app/immutable/chunks/{BR9s3igW.js → BpyEBWKW.js} +1 -1
- package/web/app/immutable/chunks/{C6MAELkY.js → BqOLTDDX.js} +1 -1
- package/web/app/immutable/chunks/Bqd7fdCF.js +1 -0
- package/web/app/immutable/chunks/{C1VlgusM.js → BtrJwCgg.js} +1 -1
- package/web/app/immutable/chunks/{TaTYmBM5.js → Bu13V5mO.js} +1 -1
- package/web/app/immutable/chunks/{sG8VksRm.js → Bvf6gH6c.js} +1 -1
- package/web/app/immutable/chunks/{C9r0mVfa.js → BxQi83db.js} +1 -1
- package/web/app/immutable/chunks/{Dz5OBP4z.js → C-5vE6yh.js} +9 -9
- package/web/app/immutable/chunks/{DcvxsgOZ.js → C0jW3ncX.js} +1 -1
- package/web/app/immutable/chunks/{C5rcw_c7.js → C1YR8Gnj.js} +1 -1
- package/web/app/immutable/chunks/{6i_wfV3v.js → C289w7fG.js} +1 -1
- package/web/app/immutable/chunks/{RifCGV3x.js → C29Jqwzt.js} +1 -1
- package/web/app/immutable/chunks/{CqesqBNM.js → C2UYU20O.js} +1 -1
- package/web/app/immutable/chunks/{XJqoy2ap.js → C2wWLl1x.js} +1 -1
- package/web/app/immutable/chunks/{3_UV1UgL.js → C6P_twJN.js} +1 -1
- package/web/app/immutable/chunks/{B9XvejAu.js → C6ROKFdp.js} +1 -1
- package/web/app/immutable/chunks/{TrRXD94r.js → C96BAoIR.js} +1 -1
- package/web/app/immutable/chunks/{ByCxDC-R.js → C9AWL-_E.js} +1 -1
- package/web/app/immutable/chunks/{Bs9TCQJX.js → CAV1CzzW.js} +1 -1
- package/web/app/immutable/chunks/{C7kFrL62.js → CC-xReBN.js} +1 -1
- package/web/app/immutable/chunks/{xqJuIupR.js → CC4-q0Fm.js} +1 -1
- package/web/app/immutable/chunks/{BsE4jMhr.js → CDsbSWM0.js} +1 -1
- package/web/app/immutable/chunks/{fK0I75t-.js → CENbvXsw.js} +1 -1
- package/web/app/immutable/chunks/{BlIreYOW.js → CFcZXBVA.js} +6 -6
- package/web/app/immutable/chunks/{DKyvRWc2.js → CFq9q-gu.js} +1 -1
- package/web/app/immutable/chunks/{D_MzuSit.js → CGLbiObk.js} +1 -1
- package/web/app/immutable/chunks/{Zldsekdv.js → CI4_aI7e.js} +5 -5
- package/web/app/immutable/chunks/{ByN-IDvR.js → CIvyT4T_.js} +1 -1
- package/web/app/immutable/chunks/{CMqhKAKf.js → CKf0K7iH.js} +1 -1
- package/web/app/immutable/chunks/{CNn7flY0.js → CKfVT02n.js} +2 -2
- package/web/app/immutable/chunks/{DCOxMTSf.js → CL3a4Hm1.js} +1 -1
- package/web/app/immutable/chunks/{CBZ4KqrB.js → CNkmihEX.js} +2 -2
- package/web/app/immutable/chunks/{DllP5msd.js → CO9mOa2z.js} +1 -1
- package/web/app/immutable/chunks/CQIdhUGs.js +1 -0
- package/web/app/immutable/chunks/{7mowE2Gg.js → CQWMr-uu.js} +2 -2
- package/web/app/immutable/chunks/{C1ZHQc4S.js → CT012uiB.js} +1 -1
- package/web/app/immutable/chunks/{BigChyTJ.js → CTKKTfh5.js} +2 -2
- package/web/app/immutable/chunks/{Z73Hn0_g.js → CVXKL6ab.js} +1 -1
- package/web/app/immutable/chunks/{Ct_Zx4ru.js → CVpnQG0j.js} +1 -1
- package/web/app/immutable/chunks/{msw9XRLE.js → C_V6o9Il.js} +1 -1
- package/web/app/immutable/chunks/{BZ5fAc9N.js → Ca6eVlSm.js} +2 -2
- package/web/app/immutable/chunks/{FavPgSsK.js → CdYt8dgZ.js} +1 -1
- package/web/app/immutable/chunks/{DEMmGTfr.js → Ce83awb2.js} +2 -2
- package/web/app/immutable/chunks/{DdH7Q5ij.js → CkoG9STP.js} +1 -1
- package/web/app/immutable/chunks/{Bo900RGs.js → CkrbZXJF.js} +1 -1
- package/web/app/immutable/chunks/{D7slXRL_.js → CllirvEK.js} +1 -1
- package/web/app/immutable/chunks/{D1E6y9eQ.js → Cmj0JylI.js} +2 -2
- package/web/app/immutable/chunks/{DWsHBNeU.js → CnS7dtdu.js} +1 -1
- package/web/app/immutable/chunks/{V6SVTu37.js → Cnfa9ycD.js} +1 -1
- package/web/app/immutable/chunks/{Csxq8_TN.js → CoDlIYWp.js} +1 -1
- package/web/app/immutable/chunks/{93RUSyHg.js → CplGG62F.js} +1 -1
- package/web/app/immutable/chunks/{8bw9vP4h.js → Cum1dYpM.js} +1 -1
- package/web/app/immutable/chunks/{BUHAwVs7.js → CvqKGiPA.js} +1 -1
- package/web/app/immutable/chunks/{DCJDf3gb.js → CxJ0MhK_.js} +3 -3
- package/web/app/immutable/chunks/{SX1khnGy.js → Cz-HgbT1.js} +1 -1
- package/web/app/immutable/chunks/{x-XvE_CJ.js → CzMPk75T.js} +1 -1
- package/web/app/immutable/chunks/{iTSQ9YOi.js → Czc9XxQH.js} +1 -1
- package/web/app/immutable/chunks/{D321NUNJ.js → Czz4CkiM.js} +1 -1
- package/web/app/immutable/chunks/{fRGswTf6.js → D1_IbOsX.js} +1 -1
- package/web/app/immutable/chunks/{0NGflniG.js → D2CiBsJQ.js} +1 -1
- package/web/app/immutable/chunks/{Cdhrdfve.js → D2jpdqLS.js} +1 -1
- package/web/app/immutable/chunks/{XPs8BW44.js → D3VYu5tL.js} +1 -1
- package/web/app/immutable/chunks/{Bd_VEON_.js → D4hsFsw4.js} +1 -1
- package/web/app/immutable/chunks/{BuLzqNKd.js → D5CXAAzn.js} +1 -1
- package/web/app/immutable/chunks/{6GNWsakm.js → D5xUDbUx.js} +1 -1
- package/web/app/immutable/chunks/{ge7HDe-3.js → D6vwIrtC.js} +1 -1
- package/web/app/immutable/chunks/{DuPd2TLf.js → D8Nxo4aC.js} +1 -1
- package/web/app/immutable/chunks/{CFvGekuw.js → DAfOI1BG.js} +1 -1
- package/web/app/immutable/chunks/{BnRltR11.js → DExi1WR7.js} +1 -1
- package/web/app/immutable/chunks/{WHfdsTrE.js → DFrynV0u.js} +1 -1
- package/web/app/immutable/chunks/{CxXkuVq5.js → DG-AKB01.js} +1 -1
- package/web/app/immutable/chunks/{aHO4L7kg.js → DGQoqGp4.js} +1 -1
- package/web/app/immutable/chunks/{BLlLxRVW.js → DIhsiUIT.js} +1 -1
- package/web/app/immutable/chunks/{C7Ed4dxf.js → DM71GnMx.js} +3 -3
- package/web/app/immutable/chunks/{dP7u_sPF.js → DMH0w6el.js} +1 -1
- package/web/app/immutable/chunks/{Boh_rcCH.js → DMzReQ-5.js} +1 -1
- package/web/app/immutable/chunks/{BUrTAEns.js → DOIzLCtE.js} +1 -1
- package/web/app/immutable/chunks/{D-2bQKif.js → DONrLvvt.js} +1 -1
- package/web/app/immutable/chunks/{CtFSFfLz.js → DOwDDYVN.js} +1 -1
- package/web/app/immutable/chunks/{ClSUFCtq.js → DPvT-ATr.js} +1 -1
- package/web/app/immutable/chunks/{DUItrdZb.js → DQLMO9xD.js} +2 -2
- package/web/app/immutable/chunks/{DVy6H5Ng.js → DQZlstPH.js} +1 -1
- package/web/app/immutable/chunks/DRRKH4VP.js +1 -0
- package/web/app/immutable/chunks/{CoNmDxYv.js → DRWqzfiQ.js} +1 -1
- package/web/app/immutable/chunks/{DxejgjNm.js → DSCqJfZ-.js} +1 -1
- package/web/app/immutable/chunks/{DvYo8gAP.js → DSjbk-ao.js} +1 -1
- package/web/app/immutable/chunks/{DsI0RDZ2.js → DUO0KBjx.js} +1 -1
- package/web/app/immutable/chunks/{4GHsM2YX.js → DUfE7lx2.js} +1 -1
- package/web/app/immutable/chunks/{BCSEMQfF.js → DUl-h1p3.js} +1 -1
- package/web/app/immutable/chunks/{BQGSaBlM.js → DVu7tZ67.js} +1 -1
- package/web/app/immutable/chunks/{BDbtK9be.js → DWC3_76J.js} +1 -1
- package/web/app/immutable/chunks/{Bp0nVWtT.js → DWDPOFkL.js} +1 -1
- package/web/app/immutable/chunks/{BLzqYDED.js → DXtdMDwl.js} +1 -1
- package/web/app/immutable/chunks/{B-F2f_Hq.js → DYzJKeX7.js} +1 -1
- package/web/app/immutable/chunks/{Cc2FSrQK.js → D_pS9hme.js} +1 -1
- package/web/app/immutable/chunks/{Cs_DX3BC.js → DaqXt9wp.js} +1 -1
- package/web/app/immutable/chunks/{u8OBGcNi.js → Dax7ITFa.js} +2 -2
- package/web/app/immutable/chunks/{DpFiDNG-.js → DbIuIgjV.js} +1 -1
- package/web/app/immutable/chunks/{CJHs_ufb.js → DbN2kVX-.js} +1 -1
- package/web/app/immutable/chunks/{DK2Pie4F.js → Dbrv6RE-.js} +2 -2
- package/web/app/immutable/chunks/{D0Z6csIX.js → DcsxLfDg.js} +1 -1
- package/web/app/immutable/chunks/{Dz2wxoQy.js → DfJwQVW8.js} +1 -1
- package/web/app/immutable/chunks/{DSqj6mlv.js → DfT1buZq.js} +2 -2
- package/web/app/immutable/chunks/{wJewnowK.js → Dg9ZuAkk.js} +6 -6
- package/web/app/immutable/chunks/{ie53yFct.js → DhWcN4bx.js} +2 -2
- package/web/app/immutable/chunks/{Cu91VTQn.js → DiD2Cn17.js} +1 -1
- package/web/app/immutable/chunks/{DvPSMnYw.js → Dk-rIzdO.js} +1 -1
- package/web/app/immutable/chunks/{Cu3YXFZW.js → DkL69EQl.js} +1 -1
- package/web/app/immutable/chunks/{CgXGPBF5.js → DkkmguuG.js} +1 -1
- package/web/app/immutable/chunks/{DgFinDjM.js → DmC2lRsL.js} +2 -2
- package/web/app/immutable/chunks/{CzmcyLb_.js → DnsVLkb8.js} +2 -2
- package/web/app/immutable/chunks/{DQUvqa9o.js → Dnz4szur.js} +1 -1
- package/web/app/immutable/chunks/{DqgCp5ae.js → Do5lDWBq.js} +1 -1
- package/web/app/immutable/chunks/{C_A_Ikb5.js → Dp08eKy3.js} +1 -1
- package/web/app/immutable/chunks/{BuveYyQe.js → Dq9sK6wY.js} +1 -1
- package/web/app/immutable/chunks/{D9NDL9ta.js → DqMtaSxK.js} +1 -1
- package/web/app/immutable/chunks/{CKkGJ_p-.js → DqZnld6x.js} +3 -3
- package/web/app/immutable/chunks/{CXaVTV1g.js → DqaHaAl1.js} +4 -4
- package/web/app/immutable/chunks/{BPCO02B5.js → Dr6C4F1X.js} +1 -1
- package/web/app/immutable/chunks/{BgLPrJ77.js → DrMbcJpA.js} +1 -1
- package/web/app/immutable/chunks/{Bl3mtXZn.js → Ds4DhRwW.js} +7 -7
- package/web/app/immutable/chunks/{dSvJdwG_.js → DsGwNgOu.js} +3 -3
- package/web/app/immutable/chunks/{BEqf00Je.js → DteD0Nal.js} +3 -3
- package/web/app/immutable/chunks/DwEChUMY.js +1 -0
- package/web/app/immutable/chunks/{CB0sfbT7.js → ENlRNbf0.js} +1 -1
- package/web/app/immutable/chunks/{BUNNt_Jr.js → FhXVX7Hi.js} +1 -1
- package/web/app/immutable/chunks/{BxbMMWzz.js → JMqHRN1q.js} +1 -1
- package/web/app/immutable/chunks/{6CAGpBb_.js → JZ27Qh_j.js} +1 -1
- package/web/app/immutable/chunks/{BR5vKj6f.js → JvjGgKob.js} +1 -1
- package/web/app/immutable/chunks/{9wk-Hes5.js → Jx0QEit0.js} +1 -1
- package/web/app/immutable/chunks/{Cnwc7RZW.js → K2mnFSgK.js} +1 -1
- package/web/app/immutable/chunks/{nRmTo2Eh.js → KEjNxHSN.js} +1 -1
- package/web/app/immutable/chunks/{ocWSyOIA.js → KSJAkSbC.js} +2 -2
- package/web/app/immutable/chunks/KvL2D8eF.js +1 -0
- package/web/app/immutable/chunks/L-jTlD15.js +4 -0
- package/web/app/immutable/chunks/{C2jA6pM8.js → NgjMs0r6.js} +1 -1
- package/web/app/immutable/chunks/{B_QtiZYt.js → OK80LzXp.js} +1 -1
- package/web/app/immutable/chunks/{CPatK7EU.js → OltbXq5G.js} +1 -1
- package/web/app/immutable/chunks/{DAjaV_xN.js → PtFvwTVZ.js} +3 -3
- package/web/app/immutable/chunks/Q1s61YDh.js +410 -0
- package/web/app/immutable/chunks/{BEjEPSxp.js → QFEvVzf2.js} +1 -1
- package/web/app/immutable/chunks/{BXkyhXuK.js → SLPWQR3F.js} +1 -1
- package/web/app/immutable/chunks/{zhSFUcJz.js → SxNO1NUM.js} +1 -1
- package/web/app/immutable/chunks/{sJt4gu2x.js → Tygff_sj.js} +1 -1
- package/web/app/immutable/chunks/UO171Id4.js +1 -0
- package/web/app/immutable/chunks/{s97D1nrA.js → VcOG8L0Z.js} +1 -1
- package/web/app/immutable/chunks/{Bo-8pH0P.js → W2c1MO7q.js} +1 -1
- package/web/app/immutable/chunks/{BbQfjn7f.js → XagMlRFc.js} +2 -2
- package/web/app/immutable/chunks/{BpwdP8dq.js → Z-hUD4Ap.js} +1 -1
- package/web/app/immutable/chunks/{BOCp5eAe.js → aitTA173.js} +4 -4
- package/web/app/immutable/chunks/{B1sp_kEH.js → bLKIt_n4.js} +1 -1
- package/web/app/immutable/chunks/{QpGjdleN.js → eNRNxfO0.js} +3 -3
- package/web/app/immutable/chunks/{5NOp7PNZ.js → eRIG79tn.js} +1 -1
- package/web/app/immutable/chunks/{Ck5xuk0H.js → e_K38tqB.js} +1 -1
- package/web/app/immutable/chunks/{B9I2hDG-.js → gTjyNX6h.js} +1 -1
- package/web/app/immutable/chunks/{hHeBjODU.js → hSiYrZoo.js} +1 -1
- package/web/app/immutable/chunks/{DumeSIrz.js → hqZSbKVs.js} +1 -1
- package/web/app/immutable/chunks/{BDP3Y6aK.js → nrAGmqbi.js} +2 -2
- package/web/app/immutable/chunks/{DfSzfqox.js → nxYQz1Bp.js} +1 -1
- package/web/app/immutable/chunks/{D547g0l5.js → pehcYFWW.js} +2 -2
- package/web/app/immutable/chunks/{CF1Tu_8c.js → rIUowGAi.js} +3 -3
- package/web/app/immutable/chunks/{M18r7swD.js → rei1qYSi.js} +1 -1
- package/web/app/immutable/chunks/{iBqqkWL_.js → wEnqV1Ol.js} +1 -1
- package/web/app/immutable/chunks/{BrAu7eNn.js → wK4T9_HO.js} +1 -1
- package/web/app/immutable/chunks/weHhj1in.js +1 -0
- package/web/app/immutable/chunks/{Cl71oYkB.js → xCaPmms8.js} +1 -1
- package/web/app/immutable/chunks/{CASKMy_V.js → yGw_3prC.js} +1 -1
- package/web/app/immutable/chunks/{fXS7JPx0.js → yScsjjST.js} +1 -1
- package/web/app/immutable/entry/{app.OFNFrEIR.js → app.De5C2NS7.js} +2 -2
- package/web/app/immutable/entry/start.BbOZiO5_.js +1 -0
- package/web/app/immutable/nodes/{0.BPB4y4Pk.js → 0.D8lcICdy.js} +1 -1
- package/web/app/immutable/nodes/{1.CBbBqNOx.js → 1.Bcr9Ac6T.js} +1 -1
- package/web/app/immutable/nodes/{10.B-rk3kEM.js → 10.CdYxZNRv.js} +17 -17
- package/web/app/immutable/nodes/{11.P0HocOtE.js → 11.DTALKQkg.js} +4 -4
- package/web/app/immutable/nodes/{13.DYH2a5Wx.js → 13.DTamgdFN.js} +1 -1
- package/web/app/immutable/nodes/{14.B6MrEg8x.js → 14.CzznX4mY.js} +1 -1
- package/web/app/immutable/nodes/{15.DhLBijej.js → 15.BuZ5Ykpn.js} +1 -1
- package/web/app/immutable/nodes/{16.CKbY5VRM.js → 16.D1WCmH9D.js} +1 -1
- package/web/app/immutable/nodes/{17.DPSU7Eqq.js → 17.DXnAkOJb.js} +1 -1
- package/web/app/immutable/nodes/{18.BlD6ustd.js → 18.BBYG39nr.js} +1 -1
- package/web/app/immutable/nodes/{19.bgAqepNt.js → 19.Bwna1DuW.js} +2 -2
- package/web/app/immutable/nodes/{2.DU7oYEtS.js → 2.BCkphmFm.js} +11 -11
- package/web/app/immutable/nodes/{20.Cj4TGw20.js → 20.DyC7cckU.js} +1 -1
- package/web/app/immutable/nodes/{3.B4hrIG7P.js → 3.CJlWKIE-.js} +1 -1
- package/web/app/immutable/nodes/{4.J3HSWI_f.js → 4.CDSfo4Q5.js} +1 -1
- package/web/app/immutable/nodes/{5.CS5w-vHI.js → 5.B6hsM1cw.js} +1 -1
- package/web/app/immutable/nodes/{6.Bf53uJQ1.js → 6.DCm27sfe.js} +2 -2
- package/web/app/immutable/nodes/{7.q-WiNda-.js → 7.Dd2x1_y1.js} +1 -1
- package/web/app/immutable/nodes/{8.eHanxjw-.js → 8.C0jzmTGW.js} +1 -1
- package/web/app/immutable/nodes/{9.BMShc48l.js → 9.Bj88iDsv.js} +11 -11
- package/web/app/version.json +1 -1
- package/web/index.html +15 -15
- package/web/app/immutable/chunks/B9EhZrTN.js +0 -1
- package/web/app/immutable/chunks/BBMzDN3i.js +0 -1
- package/web/app/immutable/chunks/BxTyo7yU.js +0 -1
- package/web/app/immutable/chunks/ClHV2gp3.js +0 -1
- package/web/app/immutable/chunks/CqJQ3ikU.js +0 -1
- package/web/app/immutable/chunks/DH6z3AzB.js +0 -4
- package/web/app/immutable/chunks/DW3gkA_F.js +0 -1
- package/web/app/immutable/chunks/DodshHwq.js +0 -1
- package/web/app/immutable/chunks/Dxs2medA.js +0 -1
- package/web/app/immutable/chunks/fd1DS8nx.js +0 -410
- package/web/app/immutable/entry/start.CHpPu02l.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aG as a,bI as l}from"./CJxGDkBm.js";import{
|
|
1
|
+
import{aG as a,bI as l}from"./CJxGDkBm.js";import{J5 as t}from"./CI4_aI7e.js";const s=Symbol("static-overlay");function n(e){l(s,e)}function b(){return a(s)??(()=>!1)}const r=["border-rose-500/30 bg-rose-500/15 text-rose-700 dark:text-rose-300","border-amber-500/30 bg-amber-500/15 text-amber-700 dark:text-amber-300","border-yellow-500/30 bg-yellow-500/15 text-yellow-700 dark:text-yellow-300","border-emerald-500/30 bg-emerald-500/15 text-emerald-700 dark:text-emerald-300","border-sky-500/30 bg-sky-500/15 text-sky-700 dark:text-sky-300","border-violet-500/30 bg-violet-500/15 text-violet-700 dark:text-violet-300"],o=["hover:bg-rose-500/25","hover:bg-amber-500/25","hover:bg-yellow-500/25","hover:bg-emerald-500/25","hover:bg-sky-500/25","hover:bg-violet-500/25"];function h(e){return r[e%r.length]}function d(e){return o[e%o.length]}const u=t.createSelector(e=>e.theme.preference),v=t.createSelector(e=>e.theme.name==="dark"),S=t.createSelector(e=>e.theme.hasCustomTheme),i=t.createSelector(e=>e.theme.customThemeName),g=t.createSelector(e=>e.theme.activePresetId),x=t.createSelector(e=>e.theme.error);export{i as a,S as b,v as c,x as d,u as e,h as f,d as g,n as p,g as s,b as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as s}from"./
|
|
1
|
+
import{d as s}from"./DaqXt9wp.js";import{a as t}from"./BdWqymET.js";import{cR as i}from"./C2wWLl1x.js";import{J5 as a}from"./CI4_aI7e.js";import{setLinkActionMenuLinkedWorkspaces as n}from"./B3bYRRle.js";const c=new t("LinkActionMenuLinkedWorkspaces");async function u(r,e){if(i.select(a.state)?.capabilities.prWorkspaceLookup===1)try{const o=await s.workspaces.findByPullRequest(e);n(r,o)}catch(o){c.debug("PR workspace lookup failed",{url:e,error:o})}}export{u as loadLinkActionMenuLinkedWorkspaces};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as g,bo as n,br as v,bw as b,bp as h,b as x}from"./51_h0jm2.js";import{bs as w,a7 as S,ay as y,aD as _,W as k,bn as z,aA as i,c9 as C}from"./CJxGDkBm.js";import{c as A}from"./DGmOjLYi.js";import{e as I,p as M}from"./CpPNoOk-.js";import{S as P}from"./
|
|
1
|
+
import{t as g,bo as n,br as v,bw as b,bp as h,b as x}from"./51_h0jm2.js";import{bs as w,a7 as S,ay as y,aD as _,W as k,bn as z,aA as i,c9 as C}from"./CJxGDkBm.js";import{c as A}from"./DGmOjLYi.js";import{e as I,p as M}from"./CpPNoOk-.js";import{S as P}from"./Jx0QEit0.js";var W=new Set(["$$slots","$$events","$$legacy","ref","class","data-slot"]);function D(l,t){if(new.target)return g({component:D,...l});w(t,!0);let a=n(t,"ref",15,null),r=n(t,"class",7),s=n(t,"data-slot",7,"separator"),c=h(t,W);var m={get ref(){return a()},set ref(e=null){a(e),i()},get class(){return r()},set class(e){r(e),i()},get"data-slot"(){return s()},set"data-slot"(e="separator"){s(e),i()},$set:b,$on:(e,o)=>x(t,e,o)},p=S(),d=y(p);{let e=C(()=>I("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",r()));A(d,()=>P,(o,u)=>{u(o,v({get"data-slot"(){return s()},get class(){return _(e)}},()=>c,{get ref(){return a()},set ref(f){a(f)}}))})}return k(l,p),z(m)}const F=[{id:"separator-state-matrix",title:"Separator states",states:["horizontal","vertical","decorative","semantic","compact","zoom-200","light","dark"],themes:["light","dark","high-contrast"],viewport:"both"}];M({id:"separator",source:"src/lib/components/ui/separator/separator.svelte",publicImport:"$lib/components/ui/separator",legacyImports:["$lib/components/ui/separator/index.js"],exports:["Root","Separator","separatorMetadata"],category:"primitive",owner:"design-system",callers:["src/features/discussions/components/DiscussionMentionPicker.svelte","src/features/home/HomeAssistantThreads.svelte","src/features/workspace-sharing/components/WorkspaceSharingSetup.svelte","src/lib/component-catalog/renderers/ContentFieldCatalogPreview.svelte","src/lib/components/file-explorer/file-explorer-layout.svelte","src/lib/components/ui/sidebar/sidebar-separator.svelte","src/lib/components/workspace/WorkspaceAgentsList.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/separator/separator.test.ts",removalGate:"Retain while exported and orientation, semantic, and fixture tests pass.",dynamicImports:[],fixtures:F});export{D as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as l,bo as i,bw as m,b as u}from"./51_h0jm2.js";import{bs as f,bI as _,c5 as b,a7 as g,ay as h,W as v,bn as z,aA as o}from"./CJxGDkBm.js";import{s as y}from"./DxvSggY5.js";import{a5 as C}from"./
|
|
1
|
+
import{t as l,bo as i,bw as m,b as u}from"./51_h0jm2.js";import{bs as f,bI as _,c5 as b,a7 as g,ay as h,W as v,bn as z,aA as o}from"./CJxGDkBm.js";import{s as y}from"./DxvSggY5.js";import{a5 as C}from"./BnA9v3pc.js";function S(s,t){if(new.target)return l({component:S,...s});f(t,!0);let a=i(t,"size",7,"default"),r=i(t,"children",7);_(C,b(()=>a()));var p={get size(){return a()},set size(e="default"){a(e),o()},get children(){return r()},set children(e){r(e),o()},$set:m,$on:(e,d)=>u(t,e,d)},n=g(),c=h(n);return y(c,r),v(s,n),z(p)}export{S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bm as n,t as L,bo as i,bw as x,b as B}from"./51_h0jm2.js";import{bs as Q,a5 as U,bS as D,bA as K,b_ as N,aD as f,W as I,bn as P,c9 as A,aA as u,aB as q}from"./CJxGDkBm.js";import{i as E}from"./PXCFrn2V.js";import{f as V,s as _,g as H}from"./CpPNoOk-.js";import{d as
|
|
1
|
+
import{bm as n,t as L,bo as i,bw as x,b as B}from"./51_h0jm2.js";import{bs as Q,a5 as U,bS as D,bA as K,b_ as N,aD as f,W as I,bn as P,c9 as A,aA as u,aB as q}from"./CJxGDkBm.js";import{i as E}from"./PXCFrn2V.js";import{f as V,s as _,g as H}from"./CpPNoOk-.js";import{d as z,A as j,a as J}from"./FmBB5PWm.js";import{aL as M}from"./CAV1CzzW.js";import{nz as T,e as m}from"./CI4_aI7e.js";import{e4 as G,O as X,N as Y}from"./C2wWLl1x.js";function Z(e){switch(e){case"running":return n.layout_activeCard_running_header();case"responding":return n.agentOverview_hierarchyGraph_statusResponding_label();case"unread":return n.layout_activeCard_unread_header();case"completed":return n.agentOverview_hierarchyGraph_statusCompleted_label();case"failed":return n.agentOverview_hierarchyGraph_statusFailed_label();case"question":return n.chat_questionWizard_title();case"waiting":return n.agentOverview_hierarchyGraph_statusWaiting_label();case"needs-permission":return n.events_activity_agentAskedPermission_label();case"attention-discussion":return n.chat_agentCard_attentionDiscussion_label();case"attention-blocker":return n.chat_agentCard_attentionBlocker_label();case"idle":return n.agentOverview_hierarchyGraph_statusIdle_label()}}var $=q('<span class="agent-avatar-unread-dot svelte-v6mebl" data-avatar-unread-dot=""></span>'),ee=q('<span role="img" data-agent-avatar-with-state="" data-agent-avatar-surface=""><!> <!></span>');function te(e,a){if(new.target)return L({component:te,...e});Q(a,!0);let d=i(a,"agentId",7),l=i(a,"specialist",7,null),o=i(a,"icon",7,null),v=i(a,"provider",7,void 0),c=i(a,"variant",7,z),g=i(a,"size",7,void 0),r=i(a,"state",7,"idle"),h=i(a,"class",7,"");const w=A(()=>Z(r())),y=A(()=>g()??J[c()].surface),p=A(()=>g()===void 0);var O={get agentId(){return d()},set agentId(t){d(t),u()},get specialist(){return l()},set specialist(t=null){l(t),u()},get icon(){return o()},set icon(t=null){o(t),u()},get provider(){return v()},set provider(t=void 0){v(t),u()},get variant(){return c()},set variant(t=z){c(t),u()},get size(){return g()},set size(t=void 0){g(t),u()},get state(){return r()},set state(t="idle"){r(t),u()},get class(){return h()},set class(t=""){h(t),u()},$set:x,$on:(t,b)=>B(a,t,b)},s=ee();let C;var k=U(s);j(k,{get agentId(){return d()},get specialist(){return l()},get icon(){return o()},get provider(){return v()},get variant(){return c()},get size(){return g()}});var W=D(k,2);{var F=t=>{var b=$();I(t,b)};E(W,t=>{r()==="unread"&&t(F)})}return K(s),N(()=>{V(s,1,`agent-avatar-with-state agent-avatar-with-state--${r()??""} ${h()??""}`,"svelte-v6mebl"),_(s,"aria-label",f(w)),_(s,"title",f(w)),_(s,"data-avatar-state",r()),_(s,"data-avatar-variant",f(p)?c():void 0),C=H(s,"",C,{width:f(p)?void 0:`${f(y)}px`,height:f(p)?void 0:`${f(y)}px`})}),I(e,s),P(O)}function S(e){return X(e)}function ae(e){return Y(e)}function R(e,a={}){const{hasUnread:d=!1,isActive:l=!1,isCompleted:o=!1,isFailed:v=!1,hasQuestion:c=!1,hasPermissionRequest:g=!1,attentionKind:r=null}=a;return o&&!S(e)?"completed":v||e.status===m.Error||e.status==="failed"?"failed":c?"question":g?"needs-permission":r==="discussion"?"attention-discussion":r==="blocker"?"attention-blocker":ae(e)?"waiting":S(e)?"running":d&&!l?"unread":"idle"}function ce(e,a={}){if(!e)return R({},a);const d=T(e),l=e.status===m.Completed||String(e.status).toLowerCase()==="completed",o=e.status===m.Error||e.status===m.Deleted||String(e.status).toLowerCase()==="failed";return R(G(e),{...a,hasQuestion:M(e)||a.hasQuestion===!0,hasUnread:a.hasUnread??e.hasUnread,isCompleted:a.isCompleted??l,isFailed:a.isFailed??o,attentionKind:a.attentionKind??d?.kind??null})}function ge(e){return e?S(G(e)):!1}export{te as A,R as a,ce as b,Z as g,ge as i};
|
|
@@ -1 +1 @@
|
|
|
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"./
|
|
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"./rIUowGAi.js";import{c as de}from"./BaGw_bDr.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{ao as s}from"./CJxGDkBm.js";import{d as r}from"./
|
|
1
|
+
import{ao as s}from"./CJxGDkBm.js";import{d as r}from"./Dg9ZuAkk.js";const t=()=>{const e=r;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},c={subscribe(e){return(s?o("page"):t().page).subscribe(e)}};function o(e){try{return t()[e]}catch{throw new Error(`Cannot subscribe to '${e}' store on the server outside of a Svelte component, as it is bound to the current request via component context. This prevents state from leaking between users.For more information, see https://svelte.dev/docs/kit/state-management#avoid-shared-state-on-the-server`)}}export{c as p};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Cl=Object.defineProperty;var Ml=(r,t,a)=>t in r?Cl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var ma=(r,t,a)=>Ml(r,typeof t!="symbol"?t+"":t,a);import{t as St,bo as g,bw as Tt,b as Ct,bm as u,bq as Ha,bs as cr,br as Al,bp as mn}from"./51_h0jm2.js";import{ai as Ja,bs as Mt,ca as ar,aD as e,bH as H,ay as ve,bS as C,a7 as kt,W as d,a5 as W,bA as O,bn as At,c9 as n,bV as _e,aA as m,b_ as $,aj as Mr,aB as x,be as vr,b$ as Wr,bO as Y,bf as rr,c0 as ba,bl as le,bj as Wa,c6 as Pl,bo as On,br as Xr,am as $a,ax as Oa,bk as Jn,aw as gn,bz as es,cb as ds,c5 as Dn,aC as Sr,cd as uo,bv as Rl}from"./CJxGDkBm.js";import{i as D}from"./PXCFrn2V.js";import{g as Ar,e as ua,p as cs,i as Za,I as El,h as Zs,X as ii,o as Nl}from"./Bjy4ygfJ.js";import{n as Ut,l as En,c as Qa,g as rn,s as hs,k as ts,S as Ll}from"./BxwkoIbZ.js";import{s as ee,f as Fe,g as pn,c as xt,e as tr,b as vn,p as $l,S as Ol,C as ql}from"./CpPNoOk-.js";import{b as sa}from"./NtFyWdpR.js";import{f as st,ae as Qs,a_ as Dl}from"./Cdw_CIdg.js";import{J as Bl,O as Fl,Q as _s}from"./CF1Tu_8c.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import"./CN-6Tr26.js";import{k as li,s as Ra}from"./DxvSggY5.js";import{F as Ot,a4 as $s,bg as ya,cK as us,au as di,aZ as ci,aK as Wl,c9 as zl,a6 as rs,aN as Hl,cN as Ul,cM as jl,a3 as fs,aC as as,aw as Xs,I as fo,aj as Vl,bu as Kl,aS as Gl,aX as Zl,bJ as Ql,ao as Xl,cC as Yl,aP as go,c0 as ys,aI as Bn,cW as Jl,cb as ed,bn as td,b as rd,cp as ad,ag as nd,ba as bs,cr as _n,cF as sd}from"./DSQT151l.js";import{C as ui,A as od,o as id}from"./M18r7swD.js";import{b as ws,V as mo}from"./CjswKKTa.js";import{A as fi,I as ld,R as dd,q as cd}from"./DH6z3AzB.js";import{bZ as gi,j as Hn,a6 as Os,am as ns,F as ud,av as Un,aP as fd,aS as po}from"./D9NDL9ta.js";import{t as an,o as gd}from"./DAsc1V4f.js";import{ce as jn,aN as Nn,c$ as mi,d1 as za,c3 as gs,q as md,cU as pi,c_ as ms,cZ as vi,cX as hi,n as Pa,al as pd,am as vd,aI as hd,z as _d,V as yd,a3 as vo,D as _i,e0 as bd,aE as wd,ak as xd,r as kd,C as xs,ag as Id,U as yn,d$ as Sd,ab as Td,k as ho,u as Cd,Z as Md,v as Ad,i as Pd,g as ks,f as _o,a0 as Rd,$ as Ed,a9 as Nd,x as yi,y as bi,l as wi,j as Ld,s as $d,a as Od,d2 as qd,ae as Dd,L as Bd,F as Fd,a2 as yo}from"./XJqoy2ap.js";import{J4 as yt,oO as Wd,tz as Vn,nD as bo,vs as xi,vu as ki,rM as zd,yq as ss,uL as Ii,ny as Si,bl as Kn,yr as Hd,qm as Ud,t3 as jd,vl as Ti,nx as Vd,mD as Kd,i as Gd,yU as Zd,yR as Qd,yT as Xd}from"./Zldsekdv.js";import{a3 as Yd,y as Is,a1 as Jd,O as Ss,W as ec,$ as tc,k as rc,p as bn,P as cn,q as ac,G as nc,v as sc,t as oc,M as Ts,K as ic,z as lc,L as dc,_ as Sn,U as Fn,N as wo,n as xo,E as cc,c as Cs,F as ko,B as uc,w as Io,J as Tn,Q as fc,H as gc,j as mc,R as pc,T as vc,A as hc,g as _c,b as yc,D as bc,f as wc,e as xc,a as kc,C as Ic,i as Sc,d as qs,V as Ci,a4 as Tc,u as Cc,l as Mc}from"./C5X1QcI7.js";import{i as Ac,e as Pc}from"./LKW_Bid7.js";import{g as Ms}from"./B5aYN90J.js";import{M as wn,C as Cn}from"./C7Ed4dxf.js";import{C as So}from"./Ck5xuk0H.js";import"./DdH7Q5ij.js";import{P as Rc}from"./BDP3Y6aK.js";import"./C2jA6pM8.js";import{c as Mi}from"./ChTqQfQN.js";import{S as Ec}from"./8bw9vP4h.js";import{D as To,M as Nc}from"./BOCp5eAe.js";import{b as Lc,s as Ya,c as os}from"./x-XvE_CJ.js";import{O as Gn,y as As,E as Ps,B as Rs,N as $c,m as Oc,l as qc,k as Dc,d as Ln,C as Co,f as Bc,e as Fc,g as Wc}from"./QpGjdleN.js";import{a as Ai,s as Mo}from"./BsieX9dN.js";import{f as zc}from"./BdWqymET.js";import{c as na}from"./BxTyo7yU.js";import{a as Hc,k as Pi,h as Ys,q as Ri,l as Ir}from"./DqFWZ_g1.js";import{P as Uc}from"./DmhHEMPi.js";import{r as Es,q as Ns,B as Ao,i as jc}from"./ie53yFct.js";import{R as Ei,C as ps,m as Vc,h as Kc,g as Gc,i as Po,P as Zc}from"./SX1khnGy.js";import"./JKboQXkL.js";import{c as Qc,s as Xc}from"./BEqf00Je.js";import{h as An}from"./D547g0l5.js";import{b as Yc,a as Ni}from"./C6T3ggVX.js";import{P as Li}from"./DUctnn_k.js";import{B as Jc}from"./93RUSyHg.js";import{o as $i,r as eu,e as tu}from"./C7kFrL62.js";import{o as Oi}from"./CBZ4KqrB.js";import{A as Zn,b as qi}from"./D1cY0pVs.js";import{g as Js}from"./D0Z6csIX.js";import{a as ru,M as au}from"./BQDGTBxC.js";import{t as Nr}from"./D2MmXC4A.js";import{c as xn}from"./DGmOjLYi.js";import{A as nu}from"./CtFSFfLz.js";import{f as su,d as ou}from"./4GHsM2YX.js";import{a8 as iu,N as lu,Y as du,K as Ro,X as cu,v as uu}from"./jRFO7UbE.js";import{a as fu}from"./CC7to1B5.js";import{k as gu}from"./C9UsZ4re.js";import{S as mu}from"./eln8hjjQ.js";import{u as pu,a as vu,c as Eo,S as hu}from"./DJfJ5NWH.js";import{T as Ds}from"./CFvGekuw.js";import"./DCv0ZqUq.js";import{g as _u}from"./BgDYQZ_0.js";import{a as yu}from"./C3-0e__R.js";import{b as bu}from"./C5rcw_c7.js";import{b as No}from"./DfTSMq0b.js";import{ah as Fa,n as wu}from"./Bs9TCQJX.js";import{x as xu}from"./Cs_DX3BC.js";import{c as ku}from"./wJewnowK.js";import{r as Lo}from"./u8OBGcNi.js";function Iu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:a,scriptId:s,runId:o,monitorId:l,workspaceId:c,reason:f}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof l!="string"||!l||typeof c!="string"||!c||f!=="finished"&&f!=="ttl-expired"&&f!=="output-match"&&f!=="line-count")return null;const y=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:l,workspaceId:c,reason:f,...f==="output-match"&&typeof y?.matchedLine=="string"?{matchedLine:y.matchedLine}:{}}}function Su(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Tu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,l=iu(r)&&r.author?.principalId!==null&&o===t;return{edit:l,remove:l||t===a||s,sendNow:(l||s)&&!Di(r)}}function kn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Di(r){return Su(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function $o(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),l=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!l&&!o&&!Di(r)}const F_="pl-3.5! pr-2!";var Cu=x('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),Oo=x('<span class="attachment-status svelte-d8pwpf"> </span>'),Mu=x('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Au=x("<!><span> </span>",1),Pu=x('<img alt="" draggable="false"/>'),Ru=x('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),Eu=x('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),Nu=x('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Lu=x('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),$u=x("<!> <!> <!>",1),Ou=x('<img draggable="false" class="svelte-d8pwpf"/>'),qu=x('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),Du=x('<div class="media-viewer svelte-d8pwpf"><!></div>'),Bu=x("<!> <!>",1);function Fu(r,t){if(new.target)return St({component:Fu,...r});Mt(t,!0);const a=(P,ye=rr,ce=rr)=>{var T=Cu(),ge=W(T);st(ge,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return l()},get"aria-label"(){return ce()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return ce()},onclick:()=>L(ye()),children:(Me,$e)=>{ws(Me,{glyph:"x"})},$$slots:{default:!0}}),O(T),d(P,T)};let s=g(t,"items",7),o=g(t,"labels",7),l=g(t,"disabled",7,!1),c=g(t,"onMarkUp",7),f=g(t,"onEdit",7),y=g(t,"onRemove",7),v=g(t,"onRetry",7),I=g(t,"onCopy",7),N=g(t,"onMenu",7);const q=P=>P.owner==="attachment"?2:{image:0,clip:1,file:2}[P.kind],X=n(()=>[...s()].sort((P,ye)=>q(P)-q(ye)));let k=_e(null),E=_e(!1),se=_e(null),G=null;const R=n(()=>s().find(P=>P.id===e(se)));ar(()=>{(!e(R)||e(R).kind==="image"&&!U(e(R)))&&H(E,!1)});function U(P){return P.kind==="image"&&P.status!=="placing"&&P.status!=="failed"&&P.url.trim().length>0}function B(P){return P.kind==="image"?o().image(P.markCount):P.kind==="clip"?P.summary?`${o().clip(P.duration)} ${P.summary}`:o().clip(P.duration):P.name}function ne(P,ye){if(!(l()||P.kind==="file"||P.kind==="image"&&!U(P)||P.kind==="clip"&&(!P.url||P.recording))){if((P.kind==="clip"||P.kind==="image")&&f()){f()(P.id);return}G=ye,H(se,P.id,!0),H(E,!0)}}async function L(P){l()||(e(se)===P&&H(E,!1),y()(P),await ba(),(!document.activeElement||document.activeElement===document.body)&&e(k)?.querySelector("button:not(:disabled)")?.focus())}function F(P){const ye=s().find(ce=>ce.id===P);l()||!ye||!U(ye)||(H(E,!1),f()?f()(P):c()(P))}function te(P,ye){P.key!=="Delete"||l()||(P.preventDefault(),P.stopPropagation(),L(ye))}function S(P){return P.status==="placing"||P.status==="failed"?!1:P.kind==="image"?!!P.file||U(P):P.kind==="clip"&&!P.recording&&!!P.url}function J(P,ye){const ce=Bl()?P.metaKey:P.ctrlKey,T=P.key.toLowerCase();if(ce&&!P.shiftKey&&!P.altKey&&(T==="c"||T==="x")){if(!I()||!S(ye)||(P.preventDefault(),P.stopPropagation(),T==="x"&&l()))return;I()(ye.id,T==="x");return}te(P,ye.id)}function oe(P,ye){!N()||!S(ye)||(P.preventDefault(),N()(ye.id))}var ke={get items(){return s()},set items(P){s(P),m()},get labels(){return o()},set labels(P){o(P),m()},get disabled(){return l()},set disabled(P=!1){l(P),m()},get onMarkUp(){return c()},set onMarkUp(P){c(P),m()},get onEdit(){return f()},set onEdit(P){f(P),m()},get onRemove(){return y()},set onRemove(P){y(P),m()},get onRetry(){return v()},set onRetry(P){v(P),m()},get onCopy(){return I()},set onCopy(P){I(P),m()},get onMenu(){return N()},set onMenu(P){N(P),m()},$set:Tt,$on:(P,ye)=>Ct(t,P,ye)},ue=Bu(),Ce=ve(ue);{var De=P=>{var ye=Lu();Ar(ye,21,()=>e(X),ce=>ce.id,(ce,T)=>{var ge=kt(),Me=ve(ge);{var $e=Ie=>{var M=Mu(),Z=W(M);{let V=n(()=>l()||e(T).status==="placing");fi(Z,{get id(){return e(T).id},get name(){return e(T).file.name},get type(){return e(T).file.imageMimeType},get imageData(){return e(T).file.imageData},get imageMimeType(){return e(T).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(V)},get placementStatus(){return e(T).status},get placementError(){return e(T).error}})}var re=C(Z,2);{var ie=V=>{var Re=Oo(),We=le(Re,!0);$(()=>{ee(Re,"data-failed",e(T).status==="failed"||void 0),ee(Re,"role",e(T).status==="failed"?"alert":"status"),ee(Re,"title",e(T).error),Y(We,e(T).status==="failed"?e(T).error??o().attachmentFailed:o().attachmentPending)}),d(V,Re)};D(re,V=>{e(T).status&&V(ie)})}var b=C(re,2),be=W(b);{var Ne=V=>{st(V,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(T).id),children:(Re,We)=>{Ot(Re,{get icon(){return $s},size:16})},$$slots:{default:!0}})};D(be,V=>{e(T).status==="failed"&&v()&&V(Ne)})}var A=C(be,2);{let V=n(()=>u.chat_attachmentPreview_remove_ariaLabel({name:e(T).file.name}));a(A,()=>e(T).id,()=>e(V))}O(b),O(M),$(()=>ee(M,"data-attachment-id",e(T).id)),Mr("keydown",M,V=>J(V,e(T))),Mr("contextmenu",M,V=>oe(V,e(T))),Ut(1,M,()=>En,()=>({tier:"fast",y:3,scale:.98})),Ut(2,M,()=>Qa,()=>({tier:"fast"})),d(Ie,M)},Pe=Ie=>{const M=n(()=>e(T).kind==="image"&&!U(e(T))&&e(T).status!=="failed");var Z=Nu(),re=W(Z);{var ie=me=>{st(me,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(T).name},get disabled(){return l()},onkeydown:Oe=>te(Oe,e(T).id),children:(Oe,Se)=>{var Be=Au(),ae=ve(Be);Ot(ae,{get icon(){return ya},size:20});var Ge=C(ae),dt=le(Ge,!0);$(()=>Y(dt,e(T).name)),d(Oe,Be)},$$slots:{default:!0}})},b=me=>{{let Oe=n(()=>B(e(T))),Se=n(()=>l()||e(T).kind==="clip"&&(e(T).recording||!e(T).url));st(me,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e(Oe)},get disabled(){return e(Se)},onkeydown:Be=>J(Be,e(T)),onclick:Be=>{Be.currentTarget instanceof HTMLElement&&ne(e(T),Be.currentTarget)},children:(Be,ae)=>{var Ge=kt(),dt=ve(Ge);{var sr=Le=>{var lt=Pu();$(()=>ee(lt,"src",e(T).url)),d(Le,lt)},Gt=Le=>{var lt=Eu(),qt=C(W(lt)),Je=le(qt,!0),qe=C(qt);{var bt=j=>{var h=Ru(),he=le(h,!0);$(()=>Y(he,e(T).summary)),d(j,h)};D(qe,j=>{e(T).summary&&j(bt)})}O(lt),$(()=>Y(Je,e(T).duration)),d(Le,lt)};D(dt,Le=>{e(T).kind==="image"?Le(sr):Le(Gt,-1)})}d(Be,Ge)},$$slots:{default:!0}})}},be=n(()=>e(T).kind!=="image"||U(e(T)));D(re,me=>{e(T).kind==="file"?me(ie):e(be)&&me(b,1)})}var Ne=C(re,2);{var A=me=>{var Oe=Oo(),Se=le(Oe,!0);$(()=>{ee(Oe,"data-failed",e(T).status==="failed"||void 0),ee(Oe,"role",e(T).status==="failed"?"alert":"status"),ee(Oe,"title",e(T).error),Y(Se,e(T).status==="failed"?e(T).error??o().attachmentFailed:o().attachmentPending)}),d(me,Oe)};D(Ne,me=>{(e(T).status||e(M))&&me(A)})}var V=C(Ne,2),Re=W(V);{var We=me=>{st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(T).id),children:(Oe,Se)=>{Ot(Oe,{get icon(){return $s},size:16})},$$slots:{default:!0}})},et=me=>{{let Oe=n(()=>f()?o().edit:o().markUp),Se=n(()=>f()?o().edit:o().markUp);st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Se)},onclick:()=>F(e(T).id),children:(Be,ae)=>{ws(Be,{glyph:"pencil"})},$$slots:{default:!0}})}},Ke=n(()=>U(e(T))),Bt=me=>{{let Oe=n(()=>f()?o().edit:o().play),Se=n(()=>f()?o().edit:o().play);st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Se)},onclick:Be=>{Be.currentTarget instanceof HTMLElement&&ne(e(T),Be.currentTarget)},children:(Be,ae)=>{{let Ge=n(()=>f()?"pencil":"play");ws(Be,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};D(Re,me=>{e(T).status==="failed"&&v()?me(We):e(Ke)?me(et,1):e(T).kind==="clip"&&!e(T).recording&&e(T).url&&me(Bt,2)})}var we=C(Re,2);a(we,()=>e(T).id,()=>o().remove),O(V),O(Z),$(()=>{ee(Z,"data-kind",e(T).kind),ee(Z,"data-attachment-id",e(T).id),ee(Z,"aria-busy",e(M)||void 0)}),Mr("contextmenu",Z,me=>oe(me,e(T))),Ut(1,Z,()=>En,()=>({tier:"fast",y:3,scale:.98})),Ut(2,Z,()=>Qa,()=>({tier:"fast"})),d(Ie,Z)};D(Me,Ie=>{e(T).kind==="image"&&e(T).file?Ie($e):Ie(Pe,-1)})}d(ce,ge)}),O(ye),sa(ye,ce=>H(k,ce),()=>e(k)),$(()=>ee(ye,"aria-label",o().attachments)),d(P,ye)};D(Ce,P=>{e(X).length&&P(De)})}var at=C(Ce,2);{const P=ce=>{var T=kt(),ge=ve(T);{var Me=$e=>{var Pe=$u(),Ie=ve(Pe);{var M=b=>{st(b,{variant:"primary",get disabled(){return l()},onclick:()=>e(R)&&F(e(R).id),children:(be,Ne)=>{vr();var A=Wr();$(()=>Y(A,o().markUp)),d(be,A)},$$slots:{default:!0}})},Z=n(()=>U(e(R)));D(Ie,b=>{e(Z)&&b(M)})}var re=C(Ie,2);st(re,{variant:"secondary",get disabled(){return l()},onclick:()=>e(R)&&L(e(R).id),children:(b,be)=>{vr();var Ne=Wr();$(()=>Y(Ne,o().remove)),d(b,Ne)},$$slots:{default:!0}});var ie=C(re,2);st(ie,{variant:"ghost-light",onclick:()=>{H(E,!1)},children:(b,be)=>{vr();var Ne=Wr();$(()=>Y(Ne,o().done)),d(b,Ne)},$$slots:{default:!0}}),d($e,Pe)};D(ge,$e=>{e(R)&&e(R).kind!=="file"&&$e(Me)})}d(ce,T)};let ye=n(()=>e(R)?B(e(R)):o().attachments);ui(at,{get title(){return e(ye)},size:"wide",showCloseButton:!1,onCloseAutoFocus:ce=>{ce.preventDefault(),G?.isConnected?G.focus():e(k)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(E)},set open(ce){H(E,ce,!0)},footer:P,children:(ce,T)=>{var ge=kt(),Me=ve(ge);{var $e=Pe=>{var Ie=Du(),M=W(Ie);{var Z=b=>{var be=Ou();$(Ne=>{ee(be,"src",e(R).url),ee(be,"alt",Ne)},[()=>B(e(R))]),d(b,be)},re=n(()=>e(R).kind==="image"&&U(e(R))),ie=b=>{var be=qu();$(Ne=>{ee(be,"src",e(R).url),ee(be,"aria-label",Ne)},[()=>B(e(R))]),d(b,be)};D(M,b=>{e(re)?b(Z):e(R).kind==="clip"&&e(R).url&&b(ie,1)})}O(Ie),d(Pe,Ie)};D(Me,Pe=>{e(R)&&e(R).kind!=="file"&&Pe($e)})}d(ce,ge)},$$slots:{footer:!0,default:!0}})}return d(r,ue),At(ke)}Ja(["keydown","contextmenu"]);var Wu=x("<!> ",1),zu=x('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Bi(r,t){if(new.target)return St({component:Bi,...r});Mt(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),l=g(t,"onUseScript",7),c=_e(!1);function f(){navigator.clipboard.writeText(o()),H(c,!0),setTimeout(()=>{H(c,!1)},2e3)}function y(){l()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(S){a(S),m()},get description(){return s()},set description(S){s(S),m()},get content(){return o()},set content(S){o(S),m()},get onUseScript(){return l()},set onUseScript(S){l(S),m()},$set:Tt,$on:(S,J)=>Ct(t,S,J)},I=zu(),N=W(I),q=W(N),X=W(q),k=W(X);Ot(k,{get icon(){return us},size:"sm"}),O(X);var E=C(X,2),se=le(E,!0);O(q);var G=C(q,2),R=W(G);st(R,{variant:"ghost-light",size:"sm",onclick:f,class:"h-7 px-2",children:(S,J)=>{var oe=Wu(),ke=ve(oe);{let Ce=n(()=>e(c)?di:ci);Ot(ke,{get icon(){return e(Ce)},class:"mr-1"})}var ue=C(ke);$(Ce=>Y(ue,` ${Ce??""}`),[()=>e(c)?u.chat_shared_copied_label():u.chat_shared_copy_label()]),d(S,oe)},$$slots:{default:!0}});var U=C(R,2);{var B=S=>{st(S,{variant:"ghost-light",size:"sm",onclick:y,class:"h-7 px-2",children:(J,oe)=>{vr();var ke=Wr();$(ue=>Y(ke,ue),[()=>u.chat_setupScriptCard_useScript_label()]),d(J,ke)},$$slots:{default:!0}})};D(U,S=>{l()&&S(B)})}O(G),O(N);var ne=C(N,2),L=le(ne,!0),F=C(ne,2),te=le(F,!0);return O(I),$(()=>{Y(se,a()),Y(L,s()),Y(te,o())}),d(r,I),At(v)}const kr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class Hu{constructor(){ma(this,"buffer","");ma(this,"currentToolName",null);ma(this,"currentToolId",null);ma(this,"lastToolId",null);ma(this,"currentToolParams",[]);ma(this,"currentToolResultContent",[]);ma(this,"inToolResult",!1);ma(this,"inCodeBlock",!1);ma(this,"codeBlockLanguage","");ma(this,"codeBlockContent","");ma(this,"characterBuffer","");ma(this,"inCharacterMode",!1);ma(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const f=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),y=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
1
|
+
var Cl=Object.defineProperty;var Ml=(r,t,a)=>t in r?Cl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var ma=(r,t,a)=>Ml(r,typeof t!="symbol"?t+"":t,a);import{t as St,bo as g,bw as Tt,b as Ct,bm as u,bq as Ha,bs as cr,br as Al,bp as mn}from"./51_h0jm2.js";import{ai as Ja,bs as Mt,ca as ar,aD as e,bH as H,ay as ve,bS as C,a7 as kt,W as d,a5 as W,bA as O,bn as At,c9 as n,bV as _e,aA as m,b_ as $,aj as Mr,aB as x,be as vr,b$ as Wr,bO as Y,bf as rr,c0 as ba,bl as le,bj as Wa,c6 as Pl,bo as On,br as Xr,am as $a,ax as Oa,bk as Jn,aw as gn,bz as es,cb as ds,c5 as Dn,aC as Sr,cd as uo,bv as Rl}from"./CJxGDkBm.js";import{i as D}from"./PXCFrn2V.js";import{g as Ar,e as ua,p as cs,i as Za,I as El,h as Zs,X as ii,o as Nl}from"./Bjy4ygfJ.js";import{n as Ut,l as En,c as Qa,g as rn,s as hs,k as ts,S as Ll}from"./BxwkoIbZ.js";import{s as ee,f as Fe,g as pn,c as xt,e as tr,b as vn,p as $l,S as Ol,C as ql}from"./CpPNoOk-.js";import{b as sa}from"./NtFyWdpR.js";import{f as st,ae as Qs,a_ as Dl}from"./BnA9v3pc.js";import{J as Bl,O as Fl,Q as _s}from"./rIUowGAi.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import"./CN-6Tr26.js";import{k as li,s as Ra}from"./DxvSggY5.js";import{F as Ot,a4 as $s,bg as ya,cK as us,au as di,aZ as ci,aK as Wl,c9 as zl,a6 as rs,aN as Hl,cN as Ul,cM as jl,a3 as fs,aC as as,aw as Xs,I as fo,aj as Vl,bu as Kl,aS as Gl,aX as Zl,bJ as Ql,ao as Xl,cC as Yl,aP as go,c0 as ys,aI as Bn,cW as Jl,cb as ed,bn as td,b as rd,cp as ad,ag as nd,ba as bs,cr as _n,cF as sd}from"./DSQT151l.js";import{C as ui,A as od,o as id}from"./rei1qYSi.js";import{b as ws,V as mo}from"./CjswKKTa.js";import{A as fi,I as ld,R as dd,q as cd}from"./L-jTlD15.js";import{bZ as gi,j as Hn,a6 as Os,am as ns,F as ud,av as Un,aP as fd,aS as po}from"./DqMtaSxK.js";import{t as an,o as gd}from"./DAsc1V4f.js";import{ce as jn,aN as Nn,c$ as mi,d1 as za,c3 as gs,q as md,cU as pi,c_ as ms,cZ as vi,cX as hi,n as Pa,al as pd,am as vd,aI as hd,z as _d,V as yd,a3 as vo,D as _i,e0 as bd,aE as wd,ak as xd,r as kd,C as xs,ag as Id,U as yn,d$ as Sd,ab as Td,k as ho,u as Cd,Z as Md,v as Ad,i as Pd,g as ks,f as _o,a0 as Rd,$ as Ed,a9 as Nd,x as yi,y as bi,l as wi,j as Ld,s as $d,a as Od,d2 as qd,ae as Dd,L as Bd,F as Fd,a2 as yo}from"./C2wWLl1x.js";import{J5 as yt,oP as Wd,tA as Vn,nE as bo,vt as xi,vv as ki,rN as zd,yr as ss,uM as Ii,nz as Si,bl as Kn,ys as Hd,qn as Ud,t4 as jd,vm as Ti,ny as Vd,mD as Kd,i as Gd,yV as Zd,yS as Qd,yU as Xd}from"./CI4_aI7e.js";import{a3 as Yd,y as Is,a1 as Jd,O as Ss,W as ec,$ as tc,k as rc,p as bn,P as cn,q as ac,G as nc,v as sc,t as oc,M as Ts,K as ic,z as lc,L as dc,_ as Sn,U as Fn,N as wo,n as xo,E as cc,c as Cs,F as ko,B as uc,w as Io,J as Tn,Q as fc,H as gc,j as mc,R as pc,T as vc,A as hc,g as _c,b as yc,D as bc,f as wc,e as xc,a as kc,C as Ic,i as Sc,d as qs,V as Ci,a4 as Tc,u as Cc,l as Mc}from"./7aKXh--T.js";import{i as Ac,e as Pc}from"./BoQ8Q7zJ.js";import{g as Ms}from"./B5aYN90J.js";import{M as wn,C as Cn}from"./DM71GnMx.js";import{C as So}from"./e_K38tqB.js";import"./CkoG9STP.js";import{P as Rc}from"./nrAGmqbi.js";import"./NgjMs0r6.js";import{c as Mi}from"./ChTqQfQN.js";import{S as Ec}from"./Cum1dYpM.js";import{D as To,M as Nc}from"./aitTA173.js";import{b as Lc,s as Ya,c as os}from"./CzMPk75T.js";import{O as Gn,y as As,E as Ps,B as Rs,N as $c,m as Oc,l as qc,k as Dc,d as Ln,C as Co,f as Bc,e as Fc,g as Wc}from"./eNRNxfO0.js";import{a as Ai,s as Mo}from"./BsieX9dN.js";import{f as zc}from"./BdWqymET.js";import{c as na}from"./CQIdhUGs.js";import{a as Hc,k as Pi,h as Ys,q as Ri,l as Ir}from"./DqFWZ_g1.js";import{P as Uc}from"./BROVvkEL.js";import{r as Es,q as Ns,B as Ao,i as jc}from"./DhWcN4bx.js";import{R as Ei,C as ps,m as Vc,h as Kc,g as Gc,i as Po,P as Zc}from"./Cz-HgbT1.js";import"./BLb6jd9K.js";import{c as Qc,s as Xc}from"./DteD0Nal.js";import{h as An}from"./pehcYFWW.js";import{b as Yc,a as Ni}from"./BVDDJIsV.js";import{P as Li}from"./DUctnn_k.js";import{B as Jc}from"./CplGG62F.js";import{o as $i,r as eu,e as tu}from"./CC-xReBN.js";import{o as Oi}from"./CNkmihEX.js";import{A as Zn,b as qi}from"./BR75pcGU.js";import{g as Js}from"./DcsxLfDg.js";import{a as ru,M as au}from"./BQDGTBxC.js";import{t as Nr}from"./D2MmXC4A.js";import{c as xn}from"./DGmOjLYi.js";import{A as nu}from"./DOwDDYVN.js";import{f as su,d as ou}from"./DUfE7lx2.js";import{a8 as iu,N as lu,Y as du,K as Ro,X as cu,v as uu}from"./1BRHaRmm.js";import{a as fu}from"./CC7to1B5.js";import{k as gu}from"./C9UsZ4re.js";import{S as mu}from"./BOROIf_S.js";import{u as pu,a as vu,c as Eo,S as hu}from"./DJfJ5NWH.js";import{T as Ds}from"./DAfOI1BG.js";import"./DCv0ZqUq.js";import{g as _u}from"./BaGw_bDr.js";import{a as yu}from"./C3-0e__R.js";import{b as bu}from"./C1YR8Gnj.js";import{b as No}from"./DfTSMq0b.js";import{ah as Fa,n as wu}from"./CAV1CzzW.js";import{x as xu}from"./DaqXt9wp.js";import{c as ku}from"./Dg9ZuAkk.js";import{r as Lo}from"./Dax7ITFa.js";function Iu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:a,scriptId:s,runId:o,monitorId:l,workspaceId:c,reason:f}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof l!="string"||!l||typeof c!="string"||!c||f!=="finished"&&f!=="ttl-expired"&&f!=="output-match"&&f!=="line-count")return null;const y=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:l,workspaceId:c,reason:f,...f==="output-match"&&typeof y?.matchedLine=="string"?{matchedLine:y.matchedLine}:{}}}function Su(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Tu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,l=iu(r)&&r.author?.principalId!==null&&o===t;return{edit:l,remove:l||t===a||s,sendNow:(l||s)&&!Di(r)}}function kn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Di(r){return Su(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function $o(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),l=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!l&&!o&&!Di(r)}const F_="pl-3.5! pr-2!";var Cu=x('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),Oo=x('<span class="attachment-status svelte-d8pwpf"> </span>'),Mu=x('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Au=x("<!><span> </span>",1),Pu=x('<img alt="" draggable="false"/>'),Ru=x('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),Eu=x('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),Nu=x('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),Lu=x('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),$u=x("<!> <!> <!>",1),Ou=x('<img draggable="false" class="svelte-d8pwpf"/>'),qu=x('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),Du=x('<div class="media-viewer svelte-d8pwpf"><!></div>'),Bu=x("<!> <!>",1);function Fu(r,t){if(new.target)return St({component:Fu,...r});Mt(t,!0);const a=(P,ye=rr,ce=rr)=>{var T=Cu(),ge=W(T);st(ge,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return l()},get"aria-label"(){return ce()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return ce()},onclick:()=>L(ye()),children:(Me,$e)=>{ws(Me,{glyph:"x"})},$$slots:{default:!0}}),O(T),d(P,T)};let s=g(t,"items",7),o=g(t,"labels",7),l=g(t,"disabled",7,!1),c=g(t,"onMarkUp",7),f=g(t,"onEdit",7),y=g(t,"onRemove",7),v=g(t,"onRetry",7),I=g(t,"onCopy",7),N=g(t,"onMenu",7);const q=P=>P.owner==="attachment"?2:{image:0,clip:1,file:2}[P.kind],X=n(()=>[...s()].sort((P,ye)=>q(P)-q(ye)));let k=_e(null),E=_e(!1),se=_e(null),G=null;const R=n(()=>s().find(P=>P.id===e(se)));ar(()=>{(!e(R)||e(R).kind==="image"&&!U(e(R)))&&H(E,!1)});function U(P){return P.kind==="image"&&P.status!=="placing"&&P.status!=="failed"&&P.url.trim().length>0}function B(P){return P.kind==="image"?o().image(P.markCount):P.kind==="clip"?P.summary?`${o().clip(P.duration)} ${P.summary}`:o().clip(P.duration):P.name}function ne(P,ye){if(!(l()||P.kind==="file"||P.kind==="image"&&!U(P)||P.kind==="clip"&&(!P.url||P.recording))){if((P.kind==="clip"||P.kind==="image")&&f()){f()(P.id);return}G=ye,H(se,P.id,!0),H(E,!0)}}async function L(P){l()||(e(se)===P&&H(E,!1),y()(P),await ba(),(!document.activeElement||document.activeElement===document.body)&&e(k)?.querySelector("button:not(:disabled)")?.focus())}function F(P){const ye=s().find(ce=>ce.id===P);l()||!ye||!U(ye)||(H(E,!1),f()?f()(P):c()(P))}function te(P,ye){P.key!=="Delete"||l()||(P.preventDefault(),P.stopPropagation(),L(ye))}function S(P){return P.status==="placing"||P.status==="failed"?!1:P.kind==="image"?!!P.file||U(P):P.kind==="clip"&&!P.recording&&!!P.url}function J(P,ye){const ce=Bl()?P.metaKey:P.ctrlKey,T=P.key.toLowerCase();if(ce&&!P.shiftKey&&!P.altKey&&(T==="c"||T==="x")){if(!I()||!S(ye)||(P.preventDefault(),P.stopPropagation(),T==="x"&&l()))return;I()(ye.id,T==="x");return}te(P,ye.id)}function oe(P,ye){!N()||!S(ye)||(P.preventDefault(),N()(ye.id))}var ke={get items(){return s()},set items(P){s(P),m()},get labels(){return o()},set labels(P){o(P),m()},get disabled(){return l()},set disabled(P=!1){l(P),m()},get onMarkUp(){return c()},set onMarkUp(P){c(P),m()},get onEdit(){return f()},set onEdit(P){f(P),m()},get onRemove(){return y()},set onRemove(P){y(P),m()},get onRetry(){return v()},set onRetry(P){v(P),m()},get onCopy(){return I()},set onCopy(P){I(P),m()},get onMenu(){return N()},set onMenu(P){N(P),m()},$set:Tt,$on:(P,ye)=>Ct(t,P,ye)},ue=Bu(),Ce=ve(ue);{var De=P=>{var ye=Lu();Ar(ye,21,()=>e(X),ce=>ce.id,(ce,T)=>{var ge=kt(),Me=ve(ge);{var $e=Ie=>{var M=Mu(),Z=W(M);{let V=n(()=>l()||e(T).status==="placing");fi(Z,{get id(){return e(T).id},get name(){return e(T).file.name},get type(){return e(T).file.imageMimeType},get imageData(){return e(T).file.imageData},get imageMimeType(){return e(T).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(V)},get placementStatus(){return e(T).status},get placementError(){return e(T).error}})}var re=C(Z,2);{var ie=V=>{var Re=Oo(),We=le(Re,!0);$(()=>{ee(Re,"data-failed",e(T).status==="failed"||void 0),ee(Re,"role",e(T).status==="failed"?"alert":"status"),ee(Re,"title",e(T).error),Y(We,e(T).status==="failed"?e(T).error??o().attachmentFailed:o().attachmentPending)}),d(V,Re)};D(re,V=>{e(T).status&&V(ie)})}var b=C(re,2),be=W(b);{var Ne=V=>{st(V,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(T).id),children:(Re,We)=>{Ot(Re,{get icon(){return $s},size:16})},$$slots:{default:!0}})};D(be,V=>{e(T).status==="failed"&&v()&&V(Ne)})}var A=C(be,2);{let V=n(()=>u.chat_attachmentPreview_remove_ariaLabel({name:e(T).file.name}));a(A,()=>e(T).id,()=>e(V))}O(b),O(M),$(()=>ee(M,"data-attachment-id",e(T).id)),Mr("keydown",M,V=>J(V,e(T))),Mr("contextmenu",M,V=>oe(V,e(T))),Ut(1,M,()=>En,()=>({tier:"fast",y:3,scale:.98})),Ut(2,M,()=>Qa,()=>({tier:"fast"})),d(Ie,M)},Pe=Ie=>{const M=n(()=>e(T).kind==="image"&&!U(e(T))&&e(T).status!=="failed");var Z=Nu(),re=W(Z);{var ie=me=>{st(me,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(T).name},get disabled(){return l()},onkeydown:Oe=>te(Oe,e(T).id),children:(Oe,Se)=>{var Be=Au(),ae=ve(Be);Ot(ae,{get icon(){return ya},size:20});var Ge=C(ae),dt=le(Ge,!0);$(()=>Y(dt,e(T).name)),d(Oe,Be)},$$slots:{default:!0}})},b=me=>{{let Oe=n(()=>B(e(T))),Se=n(()=>l()||e(T).kind==="clip"&&(e(T).recording||!e(T).url));st(me,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e(Oe)},get disabled(){return e(Se)},onkeydown:Be=>J(Be,e(T)),onclick:Be=>{Be.currentTarget instanceof HTMLElement&&ne(e(T),Be.currentTarget)},children:(Be,ae)=>{var Ge=kt(),dt=ve(Ge);{var sr=Le=>{var lt=Pu();$(()=>ee(lt,"src",e(T).url)),d(Le,lt)},Gt=Le=>{var lt=Eu(),qt=C(W(lt)),Je=le(qt,!0),qe=C(qt);{var bt=j=>{var h=Ru(),he=le(h,!0);$(()=>Y(he,e(T).summary)),d(j,h)};D(qe,j=>{e(T).summary&&j(bt)})}O(lt),$(()=>Y(Je,e(T).duration)),d(Le,lt)};D(dt,Le=>{e(T).kind==="image"?Le(sr):Le(Gt,-1)})}d(Be,Ge)},$$slots:{default:!0}})}},be=n(()=>e(T).kind!=="image"||U(e(T)));D(re,me=>{e(T).kind==="file"?me(ie):e(be)&&me(b,1)})}var Ne=C(re,2);{var A=me=>{var Oe=Oo(),Se=le(Oe,!0);$(()=>{ee(Oe,"data-failed",e(T).status==="failed"||void 0),ee(Oe,"role",e(T).status==="failed"?"alert":"status"),ee(Oe,"title",e(T).error),Y(Se,e(T).status==="failed"?e(T).error??o().attachmentFailed:o().attachmentPending)}),d(me,Oe)};D(Ne,me=>{(e(T).status||e(M))&&me(A)})}var V=C(Ne,2),Re=W(V);{var We=me=>{st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(T).id),children:(Oe,Se)=>{Ot(Oe,{get icon(){return $s},size:16})},$$slots:{default:!0}})},et=me=>{{let Oe=n(()=>f()?o().edit:o().markUp),Se=n(()=>f()?o().edit:o().markUp);st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Se)},onclick:()=>F(e(T).id),children:(Be,ae)=>{ws(Be,{glyph:"pencil"})},$$slots:{default:!0}})}},Ke=n(()=>U(e(T))),Bt=me=>{{let Oe=n(()=>f()?o().edit:o().play),Se=n(()=>f()?o().edit:o().play);st(me,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return l()},get"aria-label"(){return e(Oe)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Se)},onclick:Be=>{Be.currentTarget instanceof HTMLElement&&ne(e(T),Be.currentTarget)},children:(Be,ae)=>{{let Ge=n(()=>f()?"pencil":"play");ws(Be,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};D(Re,me=>{e(T).status==="failed"&&v()?me(We):e(Ke)?me(et,1):e(T).kind==="clip"&&!e(T).recording&&e(T).url&&me(Bt,2)})}var we=C(Re,2);a(we,()=>e(T).id,()=>o().remove),O(V),O(Z),$(()=>{ee(Z,"data-kind",e(T).kind),ee(Z,"data-attachment-id",e(T).id),ee(Z,"aria-busy",e(M)||void 0)}),Mr("contextmenu",Z,me=>oe(me,e(T))),Ut(1,Z,()=>En,()=>({tier:"fast",y:3,scale:.98})),Ut(2,Z,()=>Qa,()=>({tier:"fast"})),d(Ie,Z)};D(Me,Ie=>{e(T).kind==="image"&&e(T).file?Ie($e):Ie(Pe,-1)})}d(ce,ge)}),O(ye),sa(ye,ce=>H(k,ce),()=>e(k)),$(()=>ee(ye,"aria-label",o().attachments)),d(P,ye)};D(Ce,P=>{e(X).length&&P(De)})}var at=C(Ce,2);{const P=ce=>{var T=kt(),ge=ve(T);{var Me=$e=>{var Pe=$u(),Ie=ve(Pe);{var M=b=>{st(b,{variant:"primary",get disabled(){return l()},onclick:()=>e(R)&&F(e(R).id),children:(be,Ne)=>{vr();var A=Wr();$(()=>Y(A,o().markUp)),d(be,A)},$$slots:{default:!0}})},Z=n(()=>U(e(R)));D(Ie,b=>{e(Z)&&b(M)})}var re=C(Ie,2);st(re,{variant:"secondary",get disabled(){return l()},onclick:()=>e(R)&&L(e(R).id),children:(b,be)=>{vr();var Ne=Wr();$(()=>Y(Ne,o().remove)),d(b,Ne)},$$slots:{default:!0}});var ie=C(re,2);st(ie,{variant:"ghost-light",onclick:()=>{H(E,!1)},children:(b,be)=>{vr();var Ne=Wr();$(()=>Y(Ne,o().done)),d(b,Ne)},$$slots:{default:!0}}),d($e,Pe)};D(ge,$e=>{e(R)&&e(R).kind!=="file"&&$e(Me)})}d(ce,T)};let ye=n(()=>e(R)?B(e(R)):o().attachments);ui(at,{get title(){return e(ye)},size:"wide",showCloseButton:!1,onCloseAutoFocus:ce=>{ce.preventDefault(),G?.isConnected?G.focus():e(k)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(E)},set open(ce){H(E,ce,!0)},footer:P,children:(ce,T)=>{var ge=kt(),Me=ve(ge);{var $e=Pe=>{var Ie=Du(),M=W(Ie);{var Z=b=>{var be=Ou();$(Ne=>{ee(be,"src",e(R).url),ee(be,"alt",Ne)},[()=>B(e(R))]),d(b,be)},re=n(()=>e(R).kind==="image"&&U(e(R))),ie=b=>{var be=qu();$(Ne=>{ee(be,"src",e(R).url),ee(be,"aria-label",Ne)},[()=>B(e(R))]),d(b,be)};D(M,b=>{e(re)?b(Z):e(R).kind==="clip"&&e(R).url&&b(ie,1)})}O(Ie),d(Pe,Ie)};D(Me,Pe=>{e(R)&&e(R).kind!=="file"&&Pe($e)})}d(ce,ge)},$$slots:{footer:!0,default:!0}})}return d(r,ue),At(ke)}Ja(["keydown","contextmenu"]);var Wu=x("<!> ",1),zu=x('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Bi(r,t){if(new.target)return St({component:Bi,...r});Mt(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),l=g(t,"onUseScript",7),c=_e(!1);function f(){navigator.clipboard.writeText(o()),H(c,!0),setTimeout(()=>{H(c,!1)},2e3)}function y(){l()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(S){a(S),m()},get description(){return s()},set description(S){s(S),m()},get content(){return o()},set content(S){o(S),m()},get onUseScript(){return l()},set onUseScript(S){l(S),m()},$set:Tt,$on:(S,J)=>Ct(t,S,J)},I=zu(),N=W(I),q=W(N),X=W(q),k=W(X);Ot(k,{get icon(){return us},size:"sm"}),O(X);var E=C(X,2),se=le(E,!0);O(q);var G=C(q,2),R=W(G);st(R,{variant:"ghost-light",size:"sm",onclick:f,class:"h-7 px-2",children:(S,J)=>{var oe=Wu(),ke=ve(oe);{let Ce=n(()=>e(c)?di:ci);Ot(ke,{get icon(){return e(Ce)},class:"mr-1"})}var ue=C(ke);$(Ce=>Y(ue,` ${Ce??""}`),[()=>e(c)?u.chat_shared_copied_label():u.chat_shared_copy_label()]),d(S,oe)},$$slots:{default:!0}});var U=C(R,2);{var B=S=>{st(S,{variant:"ghost-light",size:"sm",onclick:y,class:"h-7 px-2",children:(J,oe)=>{vr();var ke=Wr();$(ue=>Y(ke,ue),[()=>u.chat_setupScriptCard_useScript_label()]),d(J,ke)},$$slots:{default:!0}})};D(U,S=>{l()&&S(B)})}O(G),O(N);var ne=C(N,2),L=le(ne,!0),F=C(ne,2),te=le(F,!0);return O(I),$(()=>{Y(se,a()),Y(L,s()),Y(te,o())}),d(r,I),At(v)}const kr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class Hu{constructor(){ma(this,"buffer","");ma(this,"currentToolName",null);ma(this,"currentToolId",null);ma(this,"lastToolId",null);ma(this,"currentToolParams",[]);ma(this,"currentToolResultContent",[]);ma(this,"inToolResult",!1);ma(this,"inCodeBlock",!1);ma(this,"codeBlockLanguage","");ma(this,"codeBlockContent","");ma(this,"characterBuffer","");ma(this,"inCharacterMode",!1);ma(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const f=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),y=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
|
|
2
2
|
`);o.push({type:"tool_result",content:y,metadata:{toolId:this.currentToolId,isError:f}}),this.lastToolId=this.currentToolId,this.currentToolId=null,this.inToolResult=!1,this.currentToolResultContent=[]}const l=t.indexOf("🤖"),c=t.substring(l+2);if(this.inCharacterMode=!0,this.characterBuffer="",c&&c.trim()&&c!==`
|
|
3
3
|
`){const f=c.replace(/^\n/,"");f&&(this.characterBuffer=f)}return o}if(this.inCharacterMode){if(t.trim()===""&&this.characterBuffer==="")return[];if(t.includes(`
|
|
4
4
|
`)&&this.characterBuffer.length>0){const o=t.substring(0,t.indexOf(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aB as v,b as y}from"./
|
|
1
|
+
import{aB as v,b as y}from"./aitTA173.js";var w=5,O=1e-5,X=2,Y=.6,R=1e-6;function N(t){const e=[];for(let s=0;s<t.length-1;s++)e.push({a:t[s],b:t[s+1]});return e}y(N,"buildSegmentList");function T(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=a.x-s.x,d=a.y-s.y,u=r*d-o*i;if(u===0)return null;const n=s.x-t.x,c=s.y-t.y,p=(n*d-c*i)/u,f=(n*o-c*r)/u;return p<=R||p>=1-R||f<=R||f>=1-R?null:{point:{x:t.x+p*r,y:t.y+p*o},tA:p,tB:f}}y(T,"segmentIntersection");function P(t){return Math.abs(t.b.x-t.a.x)>=Math.abs(t.b.y-t.a.y)}y(P,"isHorizontalSeg");function B(t,e,s){if(t.curve!=="rounded")return!1;const a=t.points,r=a[e],o=a[e+1];if(!r||!o)return!1;const i=Math.hypot(o.x-r.x,o.y-r.y),d=s*i,u=e>0?L(a[e-1],r,o,w):null;if(u&&d<u.cutLen)return!0;const n=e+2<a.length?L(r,o,a[e+2],w):null;return n!==null&&i-d<n.cutLen}y(B,"crossingSitsInRoundedCorner");function C(t){const e=[];for(let s=0;s<t.length;s++){const a=t[s],r=N(a.points);for(let o=s+1;o<t.length;o++){const i=t[o],d=N(i.points);for(const[u,n]of r.entries())for(const[c,p]of d.entries()){const f=T(n.a,n.b,p.a,p.b);if(!f||B(a,u,f.tA)||B(i,c,f.tB))continue;const g=P(n),S=P(p);(g!==S?g:!1)?e.push({jumpEdgeId:a.id,otherEdgeId:i.id,segIndex:u,t:f.tA,point:f.point}):e.push({jumpEdgeId:i.id,otherEdgeId:a.id,segIndex:c,t:f.tB,point:f.point})}}}return e}y(C,"findEdgeIntersections");function M(t){const e=Math.round(t*1e3)/1e3;return Number.isInteger(e)?`${e}`:`${e}`}y(M,"fmt");function A(t){return`${M(t.x)},${M(t.y)}`}y(A,"pointToString");function D(t){const e=t.b.x-t.a.x,s=t.b.y-t.a.y;return Math.abs(e)>=Math.abs(s)?e>=0?1:0:s>=0?1:0}y(D,"getArcSweepFlag");function _(t,e){if(t.length<2)return t.map(o=>({...o}));const s=t.map(o=>({...o})),a=e.arrowTypeStart&&v[e.arrowTypeStart];if(a){const o=t[0],i=t[1],d=Math.atan2(i.y-o.y,i.x-o.x);s[0].x=o.x+a*Math.cos(d),s[0].y=o.y+a*Math.sin(d)}const r=e.arrowTypeEnd&&v[e.arrowTypeEnd];if(r){const o=t.length,i=t[o-2],d=t[o-1],u=Math.atan2(d.y-i.y,d.x-i.x);s[o-1].x=d.x-r*Math.cos(u),s[o-1].y=d.y-r*Math.sin(u)}return s}y(_,"applyMarkerOffsets");function k(t,e,s,a,r){const o=t.point.x,i=t.point.y,d={x:o-e*t.r,y:i-s*t.r},u={x:o+e*t.r,y:i+s*t.r},n=[`L${A(d)}`];return r==="arc"?n.push(`A${M(t.r)},${M(t.r)} 0 0 ${a} ${A(u)}`):n.push(`M${A(u)}`),n}y(k,"emitJump");function L(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=s.x-e.x,d=s.y-e.y,u=Math.hypot(r,o),n=Math.hypot(i,d);if(u<O||n<O)return null;const c=r/u,p=o/u,f=i/n,g=d/n,S=c*f+p*g,b=Math.max(-1,Math.min(1,S)),m=Math.acos(b);if(m<O||Math.abs(Math.PI-m)<O)return null;const h=Math.min(a/Math.sin(m/2),u/2,n/2);return{startX:e.x-c*h,startY:e.y-p*h,endX:e.x+f*h,endY:e.y+g*h,ctrlX:e.x,ctrlY:e.y,cutLen:h}}y(L,"computeRoundedCorner");function H(t,e,s){const a=t.points;if(a.length<2)return"";const r=_(a,t),o=t.curve==="rounded",i=N(r),d=new Map;for(const n of e){const c=i[n.segIndex];if(!c)continue;const p=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),f=d.get(n.segIndex)??[];f.push({t:n.t,point:n.point,d:n.t*p,r:s.jumpRadius}),d.set(n.segIndex,f)}const u=[`M${A(r[0])}`];for(let n=0;n<i.length;n++){const c=i[n],p=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),f=p===0?0:(c.b.x-c.a.x)/p,g=p===0?0:(c.b.y-c.a.y)/p,S=D(c);let b=0;if(o&&n>0){const l=L(r[n-1],r[n],r[n+1]??r[n],w);l&&(b=l.cutLen)}let m=p,h=null;o&&n<i.length-1&&(h=L(r[n],r[n+1],r[n+2]??r[n+1],w),h&&(m=p-h.cutLen));const $=s.jumpRadius*Y,x=[...d.get(n)??[]].sort((l,E)=>l.t-E.t).filter(l=>{const E=Math.min(l.d-b,m-l.d)-X;return l.r=Math.min(l.r,E),l.r>=$});for(let l=0;l<x.length-1;l++){const E=x[l+1].d-x[l].d;if(x[l].r+x[l+1].r>E){const I=E/2;x[l].r=Math.min(x[l].r,I),x[l+1].r=Math.min(x[l+1].r,I)}}for(const l of x)l.r<$||u.push(...k(l,f,g,S,s.jumpStyle));o&&h?(u.push(`L${M(h.startX)},${M(h.startY)}`),u.push(`Q${M(h.ctrlX)},${M(h.ctrlY)} ${M(h.endX)},${M(h.endY)}`)):u.push(`L${A(c.b)}`)}return u.join(" ")}y(H,"rewriteEdgePath");function J(t){return/^[\d\s+,.LMelm-]*$/.test(t)}y(J,"isStraightPath");function U(t){return t?t==="linear"||t==="rounded"||t==="step"||t==="stepBefore"||t==="stepAfter":!0}y(U,"curveSupportsLineHops");function j(t){if(!t)return null;try{const e=typeof atob=="function"?atob(t):Buffer.from(t,"base64").toString(),s=JSON.parse(e);if(!Array.isArray(s))return null;const a=[];for(const r of s)r&&typeof r.x=="number"&&typeof r.y=="number"&&a.push({x:r.x,y:r.y});return a.length>=2?a:null}catch{return null}}y(j,"decodeDataPoints");function F(t,e,s){if(!s.enabled)return;const a=t.node();if(!a)return;const r=new Map;for(const n of e)r.set(n.id,n);const o=new Map;for(const n of a.querySelectorAll("path[data-id]")){const c=n.getAttribute("data-id");c!==null&&!o.has(c)&&o.set(c,n)}const i=[];for(const n of e){const c=o.get(n.id);if(!c)continue;const f=j(c.getAttribute("data-points"))??n.points;i.push({...n,points:f})}const d=C(i);if(d.length===0)return;const u=new Map;for(const n of d){const c=u.get(n.jumpEdgeId)??[];c.push(n),u.set(n.jumpEdgeId,c)}for(const n of i){const c=u.get(n.id);if(!c||c.length===0)continue;const f=r.get(n.id)?.curve;if(f!==void 0&&!U(f))continue;const g=o.get(n.id);if(!g)continue;if(f===void 0){const x=g.getAttribute("d")??"";if(!J(x))continue}const S=g.getAttribute("style")??"",b=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(S),m=b?Number.parseFloat(b[1]):null,h=b?Number.parseFloat(b[2]):null,$=H(n,c,s);if(g.setAttribute("d",$),m!==null&&h!==null&&typeof g.getTotalLength=="function"){const x=g.getTotalLength(),l=Math.max(0,x-m-h),E=`0 ${m} ${l} ${h}`,I=S.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${E};`).replace(/;\s*;+/g,";");g.setAttribute("style",I)}}}y(F,"applyLineJumpsToSvg");export{F as a};
|