@intent-hq/web 2.289.0 → 2.290.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/package.json +1 -1
- package/web/app/immutable/chunks/{PZzdtHEH.js → -8bl9H3j.js} +1 -1
- package/web/app/immutable/chunks/{OJ1L_5qb.js → 1H7i14Jq.js} +1 -1
- package/web/app/immutable/chunks/{iaCxlE6C.js → 1NjHIsWL.js} +1 -1
- package/web/app/immutable/chunks/{BCvaSKdY.js → 1yYrVIcH.js} +1 -1
- package/web/app/immutable/chunks/{BMtE4svi.js → 2zyiBICC.js} +1 -1
- package/web/app/immutable/chunks/{CLqc4Ghh.js → 4cIwmSuD.js} +4 -4
- package/web/app/immutable/chunks/{DLOCpz5P.js → 7-JV_YuQ.js} +1 -1
- package/web/app/immutable/chunks/{CbsrOoqP.js → 86pQg5ba.js} +1 -1
- package/web/app/immutable/chunks/{h6LfsnBK.js → 8DpW-FUQ.js} +1 -1
- package/web/app/immutable/chunks/{Dtny-3OT.js → 8ZymRjAb.js} +1 -1
- package/web/app/immutable/chunks/{D3NFuU4L.js → B05yODFj.js} +1 -1
- package/web/app/immutable/chunks/{BSmsRx9G.js → B0Prdf3M.js} +1 -1
- package/web/app/immutable/chunks/{CVAEsdqc.js → B1uw4k3u.js} +1 -1
- package/web/app/immutable/chunks/{CM-42I4J.js → B4ARXgVr.js} +1 -1
- package/web/app/immutable/chunks/{DGPqSlym.js → B7NNbItI.js} +1 -1
- package/web/app/immutable/chunks/{gbA3Idh4.js → B7WsW6mB.js} +6 -6
- package/web/app/immutable/chunks/{CVwFZDMQ.js → BA5dsrgI.js} +1 -1
- package/web/app/immutable/chunks/{C3XlBsuD.js → BA6v9DYL.js} +1 -1
- package/web/app/immutable/chunks/{BFapXlF9.js → BB-rM-bv.js} +1 -1
- package/web/app/immutable/chunks/{CWwfm7Sc.js → BBBIudrX.js} +1 -1
- package/web/app/immutable/chunks/{BraZvQcb.js → BCqLW1sk.js} +1 -1
- package/web/app/immutable/chunks/{COYb5Q2j.js → BEOSERRe.js} +1 -1
- package/web/app/immutable/chunks/{CRPPupd6.js → BFY95MZy.js} +1 -1
- package/web/app/immutable/chunks/{BNAxChIn.js → BFxAoZrN.js} +3 -3
- package/web/app/immutable/chunks/{CkLmMloL.js → BIRD3ESe.js} +1 -1
- package/web/app/immutable/chunks/{bJKJaeMz.js → BJarmryO.js} +1 -1
- package/web/app/immutable/chunks/{3oF_cfgL.js → BJiYgQMg.js} +1 -1
- package/web/app/immutable/chunks/{CF6Nr1sW.js → BKANDKfj.js} +1 -1
- package/web/app/immutable/chunks/{DmLTqLLV.js → BLV57oiS.js} +1 -1
- package/web/app/immutable/chunks/{FBhib8LQ.js → BL_sVoge.js} +1 -1
- package/web/app/immutable/chunks/{CxWK8xnP.js → BLwubCUL.js} +1 -1
- package/web/app/immutable/chunks/{CBLL08sm.js → BME2e0zx.js} +1 -1
- package/web/app/immutable/chunks/{CF8O1pc4.js → BMI9BPVJ.js} +1 -1
- package/web/app/immutable/chunks/{l18fXbdG.js → BOrf8iaF.js} +2 -2
- package/web/app/immutable/chunks/{BlUnlsOK.js → BPomlxD-.js} +51 -51
- package/web/app/immutable/chunks/{CSSOys25.js → BQAjYSZn.js} +1 -1
- package/web/app/immutable/chunks/{Cgu6cLKT.js → BRqvd9LR.js} +1 -1
- package/web/app/immutable/chunks/{BgLK_ncR.js → BSg7eLHt.js} +1 -1
- package/web/app/immutable/chunks/{B5NmEYUa.js → BUfDnmlv.js} +1 -1
- package/web/app/immutable/chunks/{BulSFF-a.js → BVf1OKWM.js} +1 -1
- package/web/app/immutable/chunks/{DFm7ZzVD.js → BVkABTn_.js} +1 -1
- package/web/app/immutable/chunks/{a305huOc.js → BVxQ-eUq.js} +1 -1
- package/web/app/immutable/chunks/{CArnO8CD.js → BYCiS1o9.js} +3 -3
- package/web/app/immutable/chunks/{DXRlnb97.js → BZML3c09.js} +1 -1
- package/web/app/immutable/chunks/{DVs38eSu.js → BZrGNaMY.js} +4 -4
- package/web/app/immutable/chunks/{Hai9JAty.js → B_ZXH4Bf.js} +1 -1
- package/web/app/immutable/chunks/{Df7C6745.js → Ba-TS5vR.js} +1 -1
- package/web/app/immutable/chunks/{-Vbe26cE.js → BcidqQDh.js} +1 -1
- package/web/app/immutable/chunks/{DZ1zC9TP.js → BffyNBKQ.js} +1 -1
- package/web/app/immutable/chunks/{C2WwiwWs.js → Bfq2PcjA.js} +1 -1
- package/web/app/immutable/chunks/{BzLM7oPX.js → BgerNePf.js} +1 -1
- package/web/app/immutable/chunks/{Mw1KbVyQ.js → BiCS5wL3.js} +1 -1
- package/web/app/immutable/chunks/{DswUZY33.js → BiFqz5BS.js} +1 -1
- package/web/app/immutable/chunks/{CKeHkFGu.js → BjBW4i6w.js} +1 -1
- package/web/app/immutable/chunks/{13AmrEpa.js → BjJW_Stw.js} +1 -1
- package/web/app/immutable/chunks/{DFAvh56i.js → Bjha4wuc.js} +1 -1
- package/web/app/immutable/chunks/{CGkp_Cwy.js → BmUlDo2H.js} +1 -1
- package/web/app/immutable/chunks/{DTbYuW0t.js → BmiNxvpC.js} +1 -1
- package/web/app/immutable/chunks/{jS3iGRMB.js → Bmk9ow9D.js} +1 -1
- package/web/app/immutable/chunks/{DpDRAdy2.js → BmwLKx4A.js} +2 -2
- package/web/app/immutable/chunks/{BnSQjI9U.js → Bn3UQ-Cp.js} +1 -1
- package/web/app/immutable/chunks/{CaJKv7d6.js → Bo4f3vLH.js} +1 -1
- package/web/app/immutable/chunks/{BYk1ULDt.js → BoHfk-5t.js} +3 -3
- package/web/app/immutable/chunks/{CDT1G70y.js → BpOXeNkx.js} +1 -1
- package/web/app/immutable/chunks/{Cs8DWwEN.js → BpxCnE9X.js} +2 -2
- package/web/app/immutable/chunks/{2R1NzPTD.js → BqoQHFLV.js} +1 -1
- package/web/app/immutable/chunks/Bs9Hbccv.js +1 -0
- package/web/app/immutable/chunks/{BR8wCCqs.js → BsqGui1M.js} +1 -1
- package/web/app/immutable/chunks/{C6HNr-1J.js → BssOKdq0.js} +1 -1
- package/web/app/immutable/chunks/{DBAVKOs3.js → BtVjR42p.js} +1 -1
- package/web/app/immutable/chunks/{rJ19sxRo.js → BvtLLvEi.js} +1 -1
- package/web/app/immutable/chunks/{DmRzBB2M.js → BvypOCfp.js} +1 -1
- package/web/app/immutable/chunks/{BuNDx2oQ.js → BwDb1jNr.js} +1 -1
- package/web/app/immutable/chunks/{n0AniKod.js → BxE5JflA.js} +1 -1
- package/web/app/immutable/chunks/{DyyrFzIP.js → Byu82QgX.js} +1 -1
- package/web/app/immutable/chunks/{BlBEj3oF.js → C-BS-coA.js} +2 -2
- package/web/app/immutable/chunks/{D1yGasR4.js → C0fOehTZ.js} +1 -1
- package/web/app/immutable/chunks/{CHwD9QHP.js → C1H4_ssx.js} +1 -1
- package/web/app/immutable/chunks/{BpZ--9ga.js → C1vv_LrD.js} +1 -1
- package/web/app/immutable/chunks/{B-CmW-Rt.js → C4hboqwm.js} +1 -1
- package/web/app/immutable/chunks/{CylTfPZk.js → C5qvCE4M.js} +1 -1
- package/web/app/immutable/chunks/{C5paQyk5.js → C6rJFcL9.js} +1 -1
- package/web/app/immutable/chunks/{DxrXzX_M.js → C7KdCylX.js} +3 -3
- package/web/app/immutable/chunks/{B2-XfPcN.js → C7mmIZCH.js} +1 -1
- package/web/app/immutable/chunks/{Q09YKVwy.js → C94wEIre.js} +1 -1
- package/web/app/immutable/chunks/{DZC7segB.js → C9AcsTi0.js} +1 -1
- package/web/app/immutable/chunks/{CUpXgpcF.js → C9tAiYT0.js} +1 -1
- package/web/app/immutable/chunks/{CwzDLq3o.js → CAaAIfXJ.js} +1 -1
- package/web/app/immutable/chunks/{CvHIPf4O.js → CBeBcrFe.js} +1 -1
- package/web/app/immutable/chunks/{gdAnsrdj.js → CE7ZtQHh.js} +1 -1
- package/web/app/immutable/chunks/{DjyFgI1x.js → CEAZJuV2.js} +1 -1
- package/web/app/immutable/chunks/{C_drUQi2.js → CECSRFPp.js} +1 -1
- package/web/app/immutable/chunks/{CnypGHrl.js → CETsvapu.js} +1 -1
- package/web/app/immutable/chunks/{Co-DDbT2.js → CFHzcj7N.js} +1 -1
- package/web/app/immutable/chunks/{Db3BHa7z.js → CG-2eU4S.js} +1 -1
- package/web/app/immutable/chunks/{CN0OjCVu.js → CJcw2WA-.js} +1 -1
- package/web/app/immutable/chunks/{ClIwbXJq.js → CKuYPUu0.js} +1 -1
- package/web/app/immutable/chunks/{C0MRkgn4.js → CN15iJiw.js} +1 -1
- package/web/app/immutable/chunks/{Ev7NI-4B.js → CNWeExHy.js} +1 -1
- package/web/app/immutable/chunks/{rN1DOgEJ.js → CPezNx23.js} +1 -1
- package/web/app/immutable/chunks/{DFBRG5f3.js → CQk4XJFx.js} +1 -1
- package/web/app/immutable/chunks/{CvUXvU-2.js → CRmUlrc9.js} +1 -1
- package/web/app/immutable/chunks/{Diyq2-7-.js → CSJ0J5sC.js} +1 -1
- package/web/app/immutable/chunks/{BiN4BvQG.js → CT1GHsTn.js} +1 -1
- package/web/app/immutable/chunks/{JWXbB6B6.js → CT1fMnWm.js} +1 -1
- package/web/app/immutable/chunks/{DYrNCBqG.js → CU1drimT.js} +1 -1
- package/web/app/immutable/chunks/{DVFKqUgb.js → CU1rgNTy.js} +1 -1
- package/web/app/immutable/chunks/{BETowprU.js → CVQnuBUY.js} +1 -1
- package/web/app/immutable/chunks/{DsoGIaMF.js → CW92V9X1.js} +1 -1
- package/web/app/immutable/chunks/{DkiAPJ2W.js → CXwlKBiL.js} +1 -1
- package/web/app/immutable/chunks/{iNzcdJYX.js → CYEJX57C.js} +1 -1
- package/web/app/immutable/chunks/{B0vB3nPK.js → CYH5KIcO.js} +1 -1
- package/web/app/immutable/chunks/{y_-PH3Cn.js → CZiA6iY8.js} +1 -1
- package/web/app/immutable/chunks/{CjPlYTON.js → C_dZqjuM.js} +1 -1
- package/web/app/immutable/chunks/{D3Xty9Im.js → Car8OZH2.js} +1 -1
- package/web/app/immutable/chunks/{5bL3DJj7.js → CaxwpItd.js} +1 -1
- package/web/app/immutable/chunks/{rZp3PWdq.js → CbVYqaBE.js} +1 -1
- package/web/app/immutable/chunks/{CtGY50_e.js → Ccxm74iK.js} +1 -1
- package/web/app/immutable/chunks/CfV9aH5z.js +4 -0
- package/web/app/immutable/chunks/CgPr4hs2.js +1 -0
- package/web/app/immutable/chunks/{DktdylrS.js → Ch36jfts.js} +1 -1
- package/web/app/immutable/chunks/{T4V8F4hM.js → ChRkiYOJ.js} +1 -1
- package/web/app/immutable/chunks/{BdqSZQx_.js → CivlAwc7.js} +1 -1
- package/web/app/immutable/chunks/CiyXcVwM.js +1 -0
- package/web/app/immutable/chunks/{YvM9JcXX.js → CjUzEyu9.js} +1 -1
- package/web/app/immutable/chunks/{D2ImsQzb.js → CkmJMnjs.js} +1 -1
- package/web/app/immutable/chunks/{Da9J2JX1.js → ClHM0gRH.js} +1 -1
- package/web/app/immutable/chunks/{B5xbJc9W.js → Clm-X79i.js} +1 -1
- package/web/app/immutable/chunks/{D1LasNTA.js → Clusycua.js} +1 -1
- package/web/app/immutable/chunks/{CBolvbXG.js → Cm8yeV3M.js} +1 -1
- package/web/app/immutable/chunks/{CDbeyeCP.js → Cmd7Q9e2.js} +2 -2
- package/web/app/immutable/chunks/{C13MrFSw.js → CntEBInL.js} +1 -1
- package/web/app/immutable/chunks/{CfM0pCZF.js → Co_Aa6ij.js} +1 -1
- package/web/app/immutable/chunks/{NUHg8tud.js → CokCeQxx.js} +1 -1
- package/web/app/immutable/chunks/{rjfpoS8M.js → CpWIfz5C.js} +1 -1
- package/web/app/immutable/chunks/{D4kGqGBk.js → CpZlxc5c.js} +1 -1
- package/web/app/immutable/chunks/{O81B-H5P.js → Cq8w3ES-.js} +1 -1
- package/web/app/immutable/chunks/{CJT0k-x3.js → Cqsec-yx.js} +1 -1
- package/web/app/immutable/chunks/{DIiXUVIr.js → Cro1ceUg.js} +3 -3
- package/web/app/immutable/chunks/{3CggOKng.js → Cs1191LV.js} +1 -1
- package/web/app/immutable/chunks/{DaiMZHlt.js → CsHZlnUj.js} +1 -1
- package/web/app/immutable/chunks/{DpawEIzT.js → CskCO23D.js} +3 -3
- package/web/app/immutable/chunks/{CsvDcicf.js → CsstSIr0.js} +1 -1
- package/web/app/immutable/chunks/{CemNgvNI.js → Cv0HcHak.js} +1 -1
- package/web/app/immutable/chunks/{DmeSNHl2.js → CvNRUlp4.js} +1 -1
- package/web/app/immutable/chunks/{Cb7Fwhyl.js → CvXnZ-8G.js} +1 -1
- package/web/app/immutable/chunks/{Bs0OTveI.js → CvlQZpOV.js} +1 -1
- package/web/app/immutable/chunks/{u8zBWO7U.js → Cx9nrScM.js} +1 -1
- package/web/app/immutable/chunks/{0n1_sqb5.js → CzeJNa_N.js} +1 -1
- package/web/app/immutable/chunks/{C3U610Va.js → D-USmFEk.js} +1 -1
- package/web/app/immutable/chunks/{DqaJW-PO.js → D-Zd1oaK.js} +1 -1
- package/web/app/immutable/chunks/{e4k4F_fF.js → D-nuXMbz.js} +1 -1
- package/web/app/immutable/chunks/{DhizMGiT.js → D-y9m6ao.js} +1 -1
- package/web/app/immutable/chunks/{kmgcRpkz.js → D0SLupV7.js} +1 -1
- package/web/app/immutable/chunks/{1kMmRwXf.js → D226daYk.js} +1 -1
- package/web/app/immutable/chunks/{B25t-e4E.js → D32qvOGn.js} +1 -1
- package/web/app/immutable/chunks/{HqhytM4z.js → D3ROSEe0.js} +1 -1
- package/web/app/immutable/chunks/{BDZGpmAg.js → D4KaTH-V.js} +1 -1
- package/web/app/immutable/chunks/{CpyyZUC4.js → D56Oo2O2.js} +1 -1
- package/web/app/immutable/chunks/{YQRvuTGW.js → D5jBmJQo.js} +1 -1
- package/web/app/immutable/chunks/{KrEm5AbS.js → D6rPVTS4.js} +1 -1
- package/web/app/immutable/chunks/{BcXGciCG.js → D7Efqf9l.js} +1 -1
- package/web/app/immutable/chunks/{C7cZaxG3.js → D7RRnWwO.js} +1 -1
- package/web/app/immutable/chunks/{DBaQx-Pk.js → D8m7soiy.js} +1 -1
- package/web/app/immutable/chunks/{DBH00hnQ.js → D9ikaMyr.js} +1 -1
- package/web/app/immutable/chunks/{CamLX2Sb.js → DC4NL8YS.js} +1 -1
- package/web/app/immutable/chunks/{f34gPxAx.js → DCpi1ytG.js} +1 -1
- package/web/app/immutable/chunks/{CG_nXeYa.js → DD8c9eUJ.js} +1 -1
- package/web/app/immutable/chunks/{C7FfDPRZ.js → DFT4lZL_.js} +1 -1
- package/web/app/immutable/chunks/{Bb6J6sjQ.js → DG2MKLyJ.js} +1 -1
- package/web/app/immutable/chunks/{BTurlMFD.js → DG9YtBZO.js} +1 -1
- package/web/app/immutable/chunks/{Daq0t0IO.js → DHVVvfGv.js} +1 -1
- package/web/app/immutable/chunks/{3-iWM9xO.js → DJB1T3Sf.js} +1 -1
- package/web/app/immutable/chunks/{ClGi_L6l.js → DJk4n_RN.js} +1 -1
- package/web/app/immutable/chunks/{Bk3O9qYH.js → DJuSbP_R.js} +1 -1
- package/web/app/immutable/chunks/{BzBOPxuP.js → DK1Nq2tK.js} +1 -1
- package/web/app/immutable/chunks/{CBiBtnBM.js → DKDZTli0.js} +1 -1
- package/web/app/immutable/chunks/{C26KoPDI.js → DKs113YH.js} +1 -1
- package/web/app/immutable/chunks/{DfacsTaO.js → DNWjwuC6.js} +1 -1
- package/web/app/immutable/chunks/{hcRUxON5.js → DPRoG8qR.js} +1 -1
- package/web/app/immutable/chunks/{RKSEQ7So.js → DQXapDyu.js} +1 -1
- package/web/app/immutable/chunks/{COR1ZgMB.js → DQcbLXPp.js} +1 -1
- package/web/app/immutable/chunks/{CW9o0MGu.js → DR8eV9N8.js} +1 -1
- package/web/app/immutable/chunks/{iF8lSM38.js → DTTAQR6U.js} +1 -1
- package/web/app/immutable/chunks/{D1dtTkDE.js → DUEahgsi.js} +1 -1
- package/web/app/immutable/chunks/{CNySgneH.js → DV1BB3if.js} +1 -1
- package/web/app/immutable/chunks/{DerqLelD.js → DVGE4E_C.js} +1 -1
- package/web/app/immutable/chunks/{CK6izZOP.js → DVOiawfp.js} +2 -2
- package/web/app/immutable/chunks/{Bg4MuTWX.js → DVbZ5oZ8.js} +1 -1
- package/web/app/immutable/chunks/{Bqfueq_D.js → DWLJSPfW.js} +1 -1
- package/web/app/immutable/chunks/{BGCd17XA.js → DX09WtDr.js} +1 -1
- package/web/app/immutable/chunks/{Bg5ADDrW.js → DX8x4w_C.js} +1 -1
- package/web/app/immutable/chunks/{BZsM0M0Q.js → DXiP5t0I.js} +1 -1
- package/web/app/immutable/chunks/{BW5wGxdP.js → DY2nfza0.js} +1 -1
- package/web/app/immutable/chunks/{CEuCjemc.js → DZyz0CaB.js} +1 -1
- package/web/app/immutable/chunks/{YSaBP0Ch.js → DaJsXhcE.js} +1 -1
- package/web/app/immutable/chunks/{BAhFveyJ.js → Darv-bZj.js} +1 -1
- package/web/app/immutable/chunks/{Db1mweH6.js → DbD4A30t.js} +1 -1
- package/web/app/immutable/chunks/{iy9r6eBz.js → DeywGElR.js} +1 -1
- package/web/app/immutable/chunks/{Dbhxem_q.js → Df1mOKLZ.js} +1 -1
- package/web/app/immutable/chunks/{bHtn9InS.js → Df2ohObb.js} +1 -1
- package/web/app/immutable/chunks/{CIkVHIT3.js → Df8Itx2l.js} +1 -1
- package/web/app/immutable/chunks/{12UHR0Xn.js → DfKemw6I.js} +1 -1
- package/web/app/immutable/chunks/{1KqMO8DA.js → Dfw44tJF.js} +1 -1
- package/web/app/immutable/chunks/{DVuTL7Ze.js → DgO-InVL.js} +1 -1
- package/web/app/immutable/chunks/{zIOd8jG8.js → Dj0Fo3FR.js} +1 -1
- package/web/app/immutable/chunks/{D_OjFNQH.js → DknXCwG-.js} +1 -1
- package/web/app/immutable/chunks/{TjYngI-X.js → Dl6wwL68.js} +1 -1
- package/web/app/immutable/chunks/{D8u-TTw-.js → DlcwslMx.js} +1 -1
- package/web/app/immutable/chunks/{IjnClLwt.js → Dlfu53Jt.js} +1 -1
- package/web/app/immutable/chunks/{DZFxh2Hz.js → DlqxHCQ7.js} +1 -1
- package/web/app/immutable/chunks/{CS4ChtR_.js → DoSGU0je.js} +1 -1
- package/web/app/immutable/chunks/{D91osLQe.js → DpDR6yW3.js} +1 -1
- package/web/app/immutable/chunks/{V68rWC50.js → DqNPF1Kv.js} +1 -1
- package/web/app/immutable/chunks/{BppZZR6X.js → DsEt8_PJ.js} +1 -1
- package/web/app/immutable/chunks/{Dy2xsFvf.js → Dt4GGs4d.js} +1 -1
- package/web/app/immutable/chunks/{D8C52zH9.js → Dug6137y.js} +1 -1
- package/web/app/immutable/chunks/{Cd0IJoag.js → DxGgdCHB.js} +1 -1
- package/web/app/immutable/chunks/{B7y27fC-.js → Dynz04e1.js} +1 -1
- package/web/app/immutable/chunks/{DwxN7Wdi.js → DzbhMJUu.js} +1 -1
- package/web/app/immutable/chunks/{lM1_eh6C.js → FvORToMl.js} +1 -1
- package/web/app/immutable/chunks/{C2eeslGl.js → GIAV4N10.js} +1 -1
- package/web/app/immutable/chunks/{cv4xg7k0.js → HK2fZqOM.js} +1 -1
- package/web/app/immutable/chunks/{D6QA9x6A.js → IorbBySt.js} +1 -1
- package/web/app/immutable/chunks/{BiMGq9Z7.js → IuNsAsbW.js} +1 -1
- package/web/app/immutable/chunks/{wI7zMgx-.js → Kr-Hl0sp.js} +1 -1
- package/web/app/immutable/chunks/{DchjGXey.js → LZ5jXWXv.js} +1 -1
- package/web/app/immutable/chunks/{BejAw64w.js → LhLTjc8B.js} +6 -6
- package/web/app/immutable/chunks/{D1zpsxCF.js → LwsqbQ0C.js} +1 -1
- package/web/app/immutable/chunks/{BDldvohw.js → P80hEEPK.js} +1 -1
- package/web/app/immutable/chunks/{3FJRVBU-.js → PJ-tEAYj.js} +1 -1
- package/web/app/immutable/chunks/{P-01BLZ6.js → Ps9iRbKd.js} +3 -3
- package/web/app/immutable/chunks/{BelvDbq4.js → Q0BLEqss.js} +3 -3
- package/web/app/immutable/chunks/{B7g53bMx.js → Qe1_731c.js} +1 -1
- package/web/app/immutable/chunks/{CsgZCzi1.js → RiB0F36z.js} +3 -3
- package/web/app/immutable/chunks/RmgPTyFU.js +1 -0
- package/web/app/immutable/chunks/{CyLm5JOs.js → SEnfPRC9.js} +1 -1
- package/web/app/immutable/chunks/{C-jH8s9r.js → S_AAYsIr.js} +2 -2
- package/web/app/immutable/chunks/{CVYI64VR.js → SpDQ1yhe.js} +1 -1
- package/web/app/immutable/chunks/{glfri7wL.js → Wtp4gWgF.js} +1 -1
- package/web/app/immutable/chunks/{Drwt7aYJ.js → Xz2JgrtK.js} +1 -1
- package/web/app/immutable/chunks/{Cm72nCq-.js → ZBCGBGeT.js} +1 -1
- package/web/app/immutable/chunks/{C_lRd9OO.js → ZsIzkx4b.js} +1 -1
- package/web/app/immutable/chunks/{D6cxqzoz.js → _es_q85K.js} +1 -1
- package/web/app/immutable/chunks/{CI4bdaNh.js → _o85nBWH.js} +1 -1
- package/web/app/immutable/chunks/{D2zf67XA.js → bAWH0D1a.js} +7 -7
- package/web/app/immutable/chunks/{BNOUHNLe.js → cPzpQFEA.js} +1 -1
- package/web/app/immutable/chunks/{Bxucs2aA.js → dkojwLk2.js} +1 -1
- package/web/app/immutable/chunks/{DFhTl2LJ.js → dpToMVNV.js} +1 -1
- package/web/app/immutable/chunks/{CFmU7Xxn.js → fXrcgNtr.js} +1 -1
- package/web/app/immutable/chunks/{CUTHTUjs.js → fciB9y8B.js} +1 -1
- package/web/app/immutable/chunks/{Bz2j5nDH.js → iCHr0TgO.js} +1 -1
- package/web/app/immutable/chunks/iaaN5aeR.js +1 -0
- package/web/app/immutable/chunks/{B1rvRaDg.js → ihEwdinj.js} +1 -1
- package/web/app/immutable/chunks/{CfeU66Hz.js → jsY6ocH0.js} +1 -1
- package/web/app/immutable/chunks/{DShhv9Lh.js → kIb2FXed.js} +1 -1
- package/web/app/immutable/chunks/{p29Y4Sx3.js → kXKukUHU.js} +1 -1
- package/web/app/immutable/chunks/{DuMYTc8Y.js → kza5UJ4U.js} +1 -1
- package/web/app/immutable/chunks/{D30--6jq.js → mMBlGZk9.js} +1 -1
- package/web/app/immutable/chunks/{BupZf9R2.js → mR2QgOoI.js} +1 -1
- package/web/app/immutable/chunks/{D3sL2PPU.js → mp47640j.js} +1 -1
- package/web/app/immutable/chunks/{B3II5C5l.js → n-WVnUeH.js} +1 -1
- package/web/app/immutable/chunks/{DFQ2LZfw.js → nR6RXxA9.js} +1 -1
- package/web/app/immutable/chunks/{BzBHISyY.js → pBEY1Dg2.js} +1 -1
- package/web/app/immutable/chunks/{D6Y18pu-.js → pEUfw1x0.js} +1 -1
- package/web/app/immutable/chunks/{DYZQjWbl.js → prrfQq6f.js} +1 -1
- package/web/app/immutable/chunks/{DTjIXONR.js → puEh5oJr.js} +4 -4
- package/web/app/immutable/chunks/{DxRCuR64.js → q4FIdUSc.js} +1 -1
- package/web/app/immutable/chunks/{Cno21Zxg.js → q6-D_vn6.js} +1 -1
- package/web/app/immutable/chunks/{CaHA2ESe.js → qshqk_Zv.js} +1 -1
- package/web/app/immutable/chunks/{Dmq8N6LI.js → qvHk51jx.js} +2 -2
- package/web/app/immutable/chunks/{CdtTvwl3.js → r8ylcc1d.js} +1 -1
- package/web/app/immutable/chunks/{CAh6WYw0.js → rpeM9FmT.js} +1 -1
- package/web/app/immutable/chunks/{LzhxhM8_.js → u8Ybsqvl.js} +1 -1
- package/web/app/immutable/chunks/{DjXUNnle.js → uPJwsXgL.js} +1 -1
- package/web/app/immutable/chunks/{BtuvHYz8.js → v6SgbwXH.js} +1 -1
- package/web/app/immutable/chunks/{CWELhcXR.js → wSFhIxGo.js} +1 -1
- package/web/app/immutable/chunks/{CHLJ-3Q1.js → wk8l4Vfb.js} +1 -1
- package/web/app/immutable/chunks/{Z-nmDTPH.js → wz1UgZlY.js} +1 -1
- package/web/app/immutable/chunks/{CzoFKpHV.js → xF2i73WW.js} +1 -1
- package/web/app/immutable/chunks/{D-k0eOJ6.js → yW5sglFu.js} +1 -1
- package/web/app/immutable/chunks/{DzpyprB1.js → ydrF5SOC.js} +1 -1
- package/web/app/immutable/chunks/{DE17eju9.js → zgX_Rwbq.js} +1 -1
- package/web/app/immutable/chunks/{4WPqCRAv.js → zxmCuTa7.js} +1 -1
- package/web/app/immutable/entry/{app.Bf_OSyrf.js → app.DF_Qftdw.js} +3 -3
- package/web/app/immutable/entry/start.DzVa4jHd.js +1 -0
- package/web/app/immutable/nodes/{0.B5ZNWVMC.js → 0.KW34tjG8.js} +1 -1
- package/web/app/immutable/nodes/{1.SeMykOqr.js → 1.CHhQxwtD.js} +1 -1
- package/web/app/immutable/nodes/{10.BZ6kBK3P.js → 10.CGdaTN_a.js} +1 -1
- package/web/app/immutable/nodes/{11.DdNqWjT1.js → 11.K4X9py2s.js} +1 -1
- package/web/app/immutable/nodes/{12.sEYH_Pmu.js → 12.CV0D62ho.js} +1 -1
- package/web/app/immutable/nodes/{13.B0uhCaJY.js → 13.B-lV8z59.js} +3 -3
- package/web/app/immutable/nodes/{14.C3Ch8LVG.js → 14.BTTvfbc0.js} +1 -1
- package/web/app/immutable/nodes/{15.B6xmqReh.js → 15.CKURddgk.js} +1 -1
- package/web/app/immutable/nodes/{16.k3HHr2yy.js → 16.DD-jxx3d.js} +2 -2
- package/web/app/immutable/nodes/{2.CdR_R7AF.js → 2.CTO1JTL7.js} +4 -4
- package/web/app/immutable/nodes/{3.C81CEmtR.js → 3.BE75vqzp.js} +1 -1
- package/web/app/immutable/nodes/{4.F_Gi0JxR.js → 4.BUm0nN8e.js} +1 -1
- package/web/app/immutable/nodes/{5.CtBTp1Hg.js → 5.BRXD3vaZ.js} +1 -1
- package/web/app/immutable/nodes/{6.CYnJfc7G.js → 6.CWxGKv_E.js} +1 -1
- package/web/app/immutable/nodes/{7.CHPJsLkB.js → 7.DI6-BnKI.js} +1 -1
- package/web/app/immutable/nodes/8.5BsghwEn.js +14 -0
- package/web/app/immutable/nodes/{9.VslqwEvr.js → 9.-PRJswf6.js} +6 -6
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +48 -48
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/BCVnawos.js +0 -1
- package/web/app/immutable/chunks/BQS0XfBK.js +0 -1
- package/web/app/immutable/chunks/CjKcpWyx.js +0 -4
- package/web/app/immutable/chunks/D9I3JJnE.js +0 -1
- package/web/app/immutable/chunks/lvIYiyhL.js +0 -1
- package/web/app/immutable/chunks/sMg7Lxjd.js +0 -1
- package/web/app/immutable/entry/start.IOR_3Iyx.js +0 -1
- package/web/app/immutable/nodes/8.Dc-nd7pr.js +0 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bo as v,t as jt,bq as y,a_ as M,by as Wt,b as Ut,br as Sf,bu as Ot,bs as ia,bt as oi,b7 as Yi,ba as If,bl as Cf,bb as Ef,bm as Pf,a$ as Af,b9 as Tf,b8 as Rf,b2 as Lf,bf as Nf,bg as Mf,bk as Of,be as Df,bn as Bf,b0 as Ff,b4 as zf,bi as Hf,bh as jf,b6 as Wf,b5 as Uf,b3 as qf,bd as Vf,bc as Kf,bj as Gf,b1 as Jf,_ as Yf}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CfV9aH5z.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/chunks/CgPr4hs2.js","/app/immutable/chunks/D3ROSEe0.js","/app/immutable/chunks/FvORToMl.js","/app/immutable/chunks/CFHzcj7N.js","/app/immutable/chunks/CsstSIr0.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Ps9iRbKd.js","/app/immutable/chunks/D2g8BuR1.js","/app/immutable/chunks/Co_Aa6ij.js","/app/immutable/chunks/P80hEEPK.js","/app/immutable/chunks/DJuSbP_R.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BmUlDo2H.js","/app/immutable/chunks/q4FIdUSc.js","/app/immutable/chunks/BL_sVoge.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/C9tAiYT0.js","/app/immutable/chunks/C5qvCE4M.js","/app/immutable/chunks/B7NNbItI.js","/app/immutable/chunks/D2AmAQEr.js","/app/immutable/chunks/Bn3UQ-Cp.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/assets/observe-overflow.D4mrl2M9.css","/app/immutable/chunks/CE7ZtQHh.js","/app/immutable/chunks/wSFhIxGo.js","/app/immutable/chunks/D-Zd1oaK.js","/app/immutable/chunks/Df2ohObb.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/rpeM9FmT.js","/app/immutable/chunks/D32qvOGn.js","/app/immutable/assets/connection-label.UE5obH5A.css","/app/immutable/chunks/CUrlpJj4.js","/app/immutable/chunks/FY5ry3XL.js","/app/immutable/chunks/xF2i73WW.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/DY2nfza0.js","/app/immutable/chunks/Bo4f3vLH.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/LZ5jXWXv.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/Cro1ceUg.js","/app/immutable/chunks/CvXnZ-8G.js","/app/immutable/chunks/BKANDKfj.js","/app/immutable/chunks/S_AAYsIr.js","/app/immutable/chunks/C9AcsTi0.js","/app/immutable/chunks/B7WsW6mB.js","/app/immutable/chunks/SEnfPRC9.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/Car8OZH2.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bo as v,t as jt,bq as y,a_ as M,by as Wt,b as Ut,br as Sf,bu as Ot,bs as ia,bt as oi,b7 as Yi,ba as If,bl as Cf,bb as Ef,bm as Pf,a$ as Af,b9 as Tf,b8 as Rf,b2 as Lf,bf as Nf,bg as Mf,bk as Of,be as Df,bn as Bf,b0 as Ff,b4 as zf,bi as Hf,bh as jf,b6 as Wf,b5 as Uf,b3 as qf,bd as Vf,bc as Kf,bj as Gf,b1 as Jf,_ as Yf}from"./CgPr4hs2.js";import{bI as Xf,bj as vs,aG as Zf,bs as qt,aD as e,a5 as I,bS as m,bA as w,W as d,bn as Vt,c9 as u,aA as _,a7 as wt,ay as ze,be as ar,b$ as Dt,aC as ba,bl as R,b_ as k,bO as x,aB as S,bo as ms,ca as It,bH as N,bV as xe,br as qr,bk as hs,c0 as Jn,ai as Pa,cd as ss,aw as Cn,a as Qf,aj as Tr,c7 as $f,c6 as Xi,c5 as Nn,bf as Os,bz as zc}from"./B8o4lNgr.js";import{D as Ds,I as ep,x as tp}from"./P80hEEPK.js";import{c as rp,s as se,a as Mn,l as On,f as En,d as ur,k as mt,I as bs,h as Rt,i as Mr,o as np,j as ap,g as sp,n as op}from"./CsstSIr0.js";import{s as pn}from"./D3ROSEe0.js";import{c as Zr}from"./Co_Aa6ij.js";import{H as Oo,t as lr,n as ip,i as Zi,u as Qi}from"./CFHzcj7N.js";import{b as gr}from"./D2g8BuR1.js";import{h as Hc,bs as lp,cH as cp,dz as dp,dk as up,av as fp,cr as pp,a1 as gp,cN as vp,dj as os,aA as Js,c0 as mp,H as hp,c as bp,$ as $i,cT as yp,bQ as _p,L as xp,dg as wp,V as kp,dq as Sp,ae as Ip,f as Cp,t as Ep}from"./Df2ohObb.js";import{c as Pp}from"./D-62MVd3.js";import{n as $n,w as Ap,C as jc,M as Tp,R as Rp}from"./Bo4f3vLH.js";import{f as yt,ap as Wa,ai as Lp,am as Do,bb as Np}from"./Ps9iRbKd.js";import{ai as Mp,a7 as el,X as Op,at as Dp,aM as Bp,I as Fp,R as zp,an as Hp,ab as jp,Y as Wp,b as tl,q as Up,n as qp,aS as Vp,m as Kp,aU as Bo,A as rl,aa as Gp,aT as Jp,ak as Wc,L as Uc,a3 as Yp,a2 as nl,J as al}from"./4cIwmSuD.js";import{cU as Xp,F as Pt,be as Fo,bH as Zp,an as Qp,aO as $p,cE as eg,bi as ii,bx as tg,aE as qc,aJ as li,cT as Bs,aa as zo,ci as rg,c8 as ng,cd as ci,cz as Vc,bo as ag,e as sg,bX as sl,c4 as og,cg as ig,cP as Kc,bR as ol,b5 as mo,bb as ts,aD as lg,ay as Ho,at as Gc,b9 as Jc,by as cg,B as dg,br as ug,a6 as Yc,cc as fg,ak as Xc,cG as Zc,cC as il,ar as Qc,aI as ll,a1 as pg,cq as gg,cN as vg,bK as $c,bk as mg,c0 as cl,am as ed,ax as hg,a8 as bg,a7 as yg}from"./B7NNbItI.js";import{c as td}from"./ChTqQfQN.js";import{h as _g}from"./D32qvOGn.js";import{G9 as Lt,bG as xg,qy as dl,r7 as wg,GW as kg,G$ as Sg,g as rd,FX as Ig,mv as nd,mK as ad,mJ as sd,mo as Ys,oW as di,v$ as Cg,tk as As,sF as jo,tm as Eg,mc as od,Ge as Pg,rF as Ag,nx as id,pX as ui,kY as ul,a0 as fl,px as Tg,pt as Rg,py as Lg,pp as Ng,pv as Mg,ta as Og,yv as ld,yz as cd,mL as pl,b9 as Wo,EG as Dg,FT as Bg,mF as Fg,u7 as zg,u8 as Hg,u6 as gl,zr as Gn,ck as dd,c8 as jg,cZ as Wg,d4 as Ug,yF as qg}from"./BL_sVoge.js";import{k as ud,f as vl,O as ml,M as Vg,J as Kg,E as Gg,r as Jg,q as Yg,R as Xg,Q as fd,N as Uo,e as is,a2 as hl,i as Zg}from"./CfV9aH5z.js";import{bi as Qg,bp as $g,h as ev,t as tv,bs as rv,U as nv,W as av,Y as sv}from"./CE7ZtQHh.js";import{i as ov,h as iv,p as qo,bP as lv,E as cv,bO as dv,bL as uv,av as bl,bN as fv,bm as Vo,aF as pv,n as gv,b6 as vv,s as mv}from"./Cro1ceUg.js";import{c5 as hv,c7 as bv,c6 as yv,aW as _v,aU as xv,aV as wv,a0 as kv,ah as Ss,ag as Sv,au as yl,aC as Iv,af as Cv,B as Ev,i as Pv,C as Ts,cG as Av,aP as _l,cL as Tv,ac as Rv,a4 as Lv,r as Nv,p as Mv,az as Ov,cO as Dv,cx as Bv,cq as Fv,ch as zv,bH as Hv}from"./86pQg5ba.js";import{s as jv,j as Wv,i as Uv,I as qa,c as xl}from"./BmUlDo2H.js";import"./q4FIdUSc.js";import"./Bn3UQ-Cp.js";import{I as fi,P as qv,s as Vv,k as Kv,G as Gv,o as Jv,l as Yv,M as Xv,H as Zv,w as Ha,a as Qv,K as $v,n as em,R as tm}from"./C9tAiYT0.js";import{t as ls,m as rm,O as nm,M as am,S as ma}from"./C5qvCE4M.js";import{C as Ko}from"./BFY95MZy.js";import{aK as sm,aS as om,aI as im,aO as lm,a6 as Ka,aY as wl,aE as cm,aL as dm,aR as pi,aM as gi,V as ho,an as um,W as fm,aU as pm,aD as gm,aN as vm,aQ as mm,a$ as hm,aZ as bm,av as pd,p as ym,n as _m,aP as xm,Z as wm,z as km}from"./C7KdCylX.js";import{s as Go}from"./BCqLW1sk.js";import{M as Sm}from"./BmiNxvpC.js";import{u as vi,w as Im,v as Xs,G as Cm,A as kl,e as cs,d as ha,I as Sl,c as Em,f as Pm,g as Il,i as Am,b as Tm,o as gd,j as Rm,O as Lm,x as Nm,k as vd,S as Mm,N as Om,q as Cl,p as Dm,n as El,z as Bm,s as Fm}from"./CT1GHsTn.js";import{o as Pl,a as Al,T as bo,b as zm}from"./BmwLKx4A.js";import{ad as Hm,a4 as jm,J as Wm,E as Um,ag as qm}from"./BRqvd9LR.js";import{D as ds}from"./DX8x4w_C.js";import"./DlqxHCQ7.js";import{C as ea}from"./BjJW_Stw.js";import{M as Vm}from"./LhLTjc8B.js";import{g as mi}from"./FvORToMl.js";import{f as Tl}from"./C9AcsTi0.js";import{c as Rs}from"./Bs9Hbccv.js";import{handleIntentLink as Km}from"./Cmd7Q9e2.js";import{s as Gm,a as Jm,f as Ym,d as Xm,r as Zm,h as Qm,w as rs,g as $m,W as eh,H as th,c as rh,M as md}from"./BZrGNaMY.js";import{e as nh,q as ah}from"./wSFhIxGo.js";import{showAssistantContent as sh}from"./BpxCnE9X.js";import{o as Fs,c as oh,n as ih}from"./Car8OZH2.js";import{p as lh}from"./Dynz04e1.js";import{m as ch}from"./DY0zw3Os.js";import{h as Is}from"./DeywGElR.js";import{i as hd}from"./CvXnZ-8G.js";import{b as dh,f as uh,h as fh,j as ph}from"./D-Zd1oaK.js";import{T as yo}from"./Df1mOKLZ.js";import{i as gh,r as Rl}from"./Cm8yeV3M.js";import{a as vh}from"./LZ5jXWXv.js";import{a as mh}from"./BJzHxIyr.js";import{p as hh}from"./CW92V9X1.js";const bh="intent:inline-visual-draft";function oI(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),s=(a.match(/`+/g)??[]).reduce((l,c)=>Math.max(l,c.length),0),o="`".repeat(Math.max(3,s+1));return`${r}${r?`
|
|
3
3
|
|
|
4
4
|
`:""}${n}
|
|
5
5
|
|
|
@@ -257,7 +257,7 @@ ${r.content}`:a.content=r.content,a):r.old_text!==void 0&&r.new_text!==void 0?(a
|
|
|
257
257
|
`,A1=["background","foreground","card","card-foreground","primary","primary-ink","primary-foreground","secondary","secondary-foreground","muted","muted-foreground","border","input","ring","danger","danger-background","info","info-foreground","success","success-foreground","warning","warning-foreground","font-ui","font-code","text-body-size","text-body-line-height","text-body-weight","text-body-tracking","radius-small","radius-medium","radius-large","app-background","sidebar","sidebar-accent","agent-avatar-surface-active","agent-avatar-foreground","diagram-host-surface","diagram-canvas","diagram-label-surface","diagram-node-surface","diagram-node-hover-surface","diagram-node-outline","diagram-node-title","diagram-metadata","diagram-group-outline","diagram-connector","diagram-connector-hover","diagram-connector-muted","diagram-connector-inactive","diagram-connector-danger","diagram-connector-success","diagram-connector-warning","diagram-connector-active","diagram-accent","diagram-accent-foreground","diagram-node-radius","diagram-group-radius","diagram-connector-width","text-caption-size","text-caption-line-height","text-caption-weight","text-caption-tracking","text-body-strong-size","text-body-strong-line-height","text-body-strong-weight","text-body-strong-tracking","space-1","space-2","space-3","space-4","space-5","space-6","space-7","control-height-compact","control-height-small","control-height-medium","control-height-large","radius-full","spring-fast","spring-fast-exit","spring-fast-ease","spring-moderate","spring-moderate-exit","spring-moderate-ease","spring-slow","spring-slow-exit","spring-slow-ease","spring-exit-ease","motion-fast","motion-standard","motion-slow","ease-standard","ease-emphasized-out","motion-reduced"],Ro=96,_c=2e4,T1=480,wu=512,R1=["default-src 'none'","script-src 'unsafe-inline'","style-src 'unsafe-inline'","img-src data:","connect-src 'none'","font-src data:","media-src 'none'","object-src 'none'","frame-src 'none'","child-src 'none'","worker-src 'none'","manifest-src 'none'","base-uri 'none'","form-action 'none'"].join("; ");function L1(r,t,n,a,s,o){const l=new MessageChannel,c=MessagePort.prototype.postMessage.bind(l.port1);window.parent.postMessage({channel:r,type:"scroll-port"},"*",[l.port2]);const f=(C,B={})=>{window.parent.postMessage({channel:r,type:C,...B},"*")};let i=s?.state??null,p=null,g=!1;Object.defineProperty(window,"intentVisual",{configurable:!1,writable:!1,value:Object.freeze({get state(){return i},publish(C){try{if(!o(C))return!1;const B=JSON.parse(JSON.stringify(C));return i=B.state,p=B,g||(g=!0,requestAnimationFrame(()=>{g=!1,p&&f("snapshot",{snapshot:p}),p=null})),!0}catch{return!1}}})});let L=!1,b=-1,h=innerHeight,P=Number.NaN,A=0,H=0;const F=()=>{if(L=!1,!document.body)return;let C=Math.ceil(Math.max(document.body.scrollHeight,document.body.getBoundingClientRect().height));const B=innerHeight,G=C-B;if(B>h+1&&G>1&&Math.abs(G-P)<=1?A+=1:(B!==h||G<=1)&&(A=0),h=B,P=G,!H&&A>=3){H=Math.max(a,B);const Y="Page height follows the frame (vh units or height: 100%); frame height held.";console.warn(Y),f("layout",{message:Y})}H&&(C=Math.min(C,H)),C!==b&&(b=C,f("resize",{height:C}))},O=()=>{L||(L=!0,requestAnimationFrame(F))},D=C=>{if(!C||typeof C.dark!="boolean"||!C.variables)return;const B=document.documentElement;B.classList.toggle("dark",C.dark),B.style.colorScheme=C.dark?"dark":"light";const G=C.variables["--inline-html-root-font-size"];"--inline-html-root-font-size"in t.variables&&typeof G=="string"&&G.length<512&&B.style.setProperty("--inline-html-root-font-size",G);for(const Y of Object.keys(t.variables)){if(Y==="--inline-html-root-font-size")continue;const le=C.variables[Y];typeof le=="string"&&le.length<512&&B.style.setProperty(Y,le)}O()};window.addEventListener("message",C=>{C.source!==window.parent||!C.data||C.data.channel!==r||C.data.type==="theme"&&D(C.data.theme)});const j=C=>{if(C.defaultPrevented||!C.isTrusted||C.ctrlKey||C.metaKey||C.shiftKey||!C.deltaY||Math.abs(C.deltaX)>Math.abs(C.deltaY))return;const B=le=>{const Ee=getComputedStyle(le);if(le!==document.scrollingElement&&!/^(auto|scroll|overlay)$/.test(Ee.overflowY)||/^(hidden|clip)$/.test(Ee.overflowY))return!1;const de=le.scrollHeight-le.clientHeight;return de>1&&(C.deltaY<0?le.scrollTop>1:le.scrollTop<de-1)};if(C.composedPath().some(le=>le instanceof Element&&B(le))||document.scrollingElement&&B(document.scrollingElement))return;const G=C.deltaMode===WheelEvent.DOM_DELTA_LINE?parseFloat(getComputedStyle(document.body).lineHeight)||16:C.deltaMode===WheelEvent.DOM_DELTA_PAGE?innerHeight:1,Y=Math.max(-n,Math.min(n,C.deltaY*G));Number.isFinite(Y)&&(C.preventDefault(),c({deltaY:Y}))};window.addEventListener("wheel",()=>{window.removeEventListener("wheel",j),window.addEventListener("wheel",j,{passive:!1})},{capture:!0,passive:!1}),window.addEventListener("error",C=>{C.message&&f("error",{message:C.message.slice(0,300)})}),window.addEventListener("unhandledrejection",C=>{const B=C.reason;f("error",{message:String(B instanceof Error?B.message:B).slice(0,300)})}),window.addEventListener("click",C=>{const B=C.target instanceof Element?C.target.closest("a, area"):null;if(!B)return;(B.getAttribute("href")??B.getAttribute("xlink:href"))?.startsWith("#")||C.preventDefault()},!0),window.addEventListener("submit",C=>C.preventDefault(),!0),D(t),window.addEventListener("DOMContentLoaded",()=>{new ResizeObserver(O).observe(document.body),new MutationObserver(O).observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),window.addEventListener("resize",O),document.addEventListener("load",O,!0),document.fonts.ready.then(O),f("ready"),O()},{once:!0})}function N1(r,t,n,a,s){const o=document.createElement("iframe");o.setAttribute("sandbox","allow-scripts"),o.setAttribute("referrerpolicy","no-referrer"),o.title=n,o.style.cssText="display:block;width:100%;height:100%;border:0;";let l;const c=f=>{const i=f.data?.deltaY;typeof i=="number"&&Number.isFinite(i)&&i!==0&&Math.abs(i)<=a&&window.parent.postMessage({channel:r,type:"wheel",deltaY:i},"*")};window.addEventListener("message",f=>{const i=f.data;if(!(!i||typeof i!="object"||i.channel!==r)){if(f.source===window.parent&&i.type==="theme"){o.contentWindow?.postMessage({channel:r,type:"theme",theme:i.theme},"*");return}if(!(f.source!==o.contentWindow||f.origin!=="null")){if(i.type==="scroll-port"&&!l&&f.ports.length===1){l=f.ports[0],l.onmessage=c;return}i.type==="resize"&&typeof i.height=="number"&&Number.isFinite(i.height)&&i.height>=0?window.parent.postMessage({channel:r,type:"resize",height:i.height},"*"):i.type==="ready"?window.parent.postMessage({channel:r,type:"ready"},"*"):(i.type==="error"||i.type==="layout")&&typeof i.message=="string"?window.parent.postMessage({channel:r,type:i.type,message:i.message.slice(0,300)},"*"):i.type==="snapshot"&&s(i.snapshot)&&window.parent.postMessage({channel:r,type:"snapshot",snapshot:i.snapshot},"*")}}}),window.addEventListener("DOMContentLoaded",()=>{o.srcdoc=t,document.body.append(o)},{once:!0})}function M1(r,t,n,a,s,o,l,c){const f=document.implementation.createHTMLDocument(""),i=f.createElement("template");i.innerHTML=n,f.body.append(i.content);const p=Y=>{Y.querySelectorAll("meta, base, link, iframe, frame, frameset, object, embed").forEach(le=>le.remove()),Y.querySelectorAll("template").forEach(le=>p(le.content)),Y.querySelectorAll("a, area").forEach(le=>{for(const Ee of["href","xlink:href"])le.getAttribute(Ee)?.startsWith("#")||le.removeAttribute(Ee);le.removeAttribute("target"),le.removeAttribute("ping"),le.removeAttribute("download")})};p(f);const g=Y=>JSON.stringify(Y).replace(/</g,"\\u003c"),L=f.createElement("meta");L.httpEquiv="Content-Security-Policy",L.content=r.csp;const b=f.createElement("meta");b.setAttribute("charset","utf-8");const h=f.createElement("style"),P=/^data:[\w.+/-]+;base64,[A-Za-z0-9+/=]+$/.test(c)?`@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900;
|
|
258
258
|
font-display: swap; src: url('${c}') format('woff2'); }`:"";h.textContent=`${P}${r.styles}`;const A=f.createElement("script"),H=g([a,s,r.maxScrollDelta,r.lockHeight,t(l)?l:null]);A.textContent=`(${r.bridge})(...${H}, (${r.validate}));`,f.head.prepend(L,b,h,A);const F=`<!doctype html>${f.documentElement.outerHTML}`,O=document.implementation.createHTMLDocument(""),D=O.createElement("meta");D.httpEquiv="Content-Security-Policy",D.content=r.csp.replace("frame-src 'none'","frame-src about:");const j=O.createElement("meta");j.setAttribute("charset","utf-8");const C=O.createElement("style");C.textContent="html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }";const B=O.createElement("script"),G=g([a,F,o,r.maxScrollDelta]);return B.textContent=`(${r.shell})(...${G}, (${r.validate}));`,O.head.prepend(D,j,C,B),`<!doctype html>${O.documentElement.outerHTML}`}const O1=()=>({csp:R1,styles:P1,maxScrollDelta:wu,lockHeight:T1,bridge:L1.toString(),shell:N1.toString(),validate:ui.toString()});function D1(r,t,n,a,s=null,o=""){return M1(O1(),ui,r,t,n,a,s,o)}function xc(r){const t=getComputedStyle(r);return{dark:document.documentElement.classList.contains("dark"),variables:{...Object.fromEntries(A1.map(n=>[`--${n}`,t.getPropertyValue(`--${n}`).trim()])),"--inline-html-root-font-size":getComputedStyle(document.documentElement).fontSize}}}function B1(r,t,n,a,s=null){return D1(r,t,n,a,s,E1)}var F1=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground"> </p>'),z1=S('<div class="type-body flex items-center justify-between gap-3 px-4 py-2" role="status"><span class="text-danger"> </span> <!></div> <!>',1),H1=S('<p class="sr-only" role="status"> </p>'),j1=S('<p class="type-body m-0 px-4 py-3 text-muted-foreground" role="status"> </p>'),W1=S('<div class="type-body px-4 py-2 text-danger" role="status"><p class="m-0"> </p> <p class="type-code m-0 break-words"> </p></div>'),U1=S('<iframe sandbox="allow-scripts" referrerpolicy="no-referrer"></iframe>'),q1=S('<div class="space-y-4 p-4" aria-hidden="true"><div class="space-y-2"><!> <!></div> <!> <div class="flex items-center gap-4"><!> <!> <!></div></div>'),V1=S('<span class="type-caption ml-auto text-muted-foreground" role="status"> </span>'),K1=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground" role="status"> <!></p>'),G1=S('<th class="min-w-40 px-2 pb-3 align-top font-normal"><!> <div class="mt-1 flex gap-1"><!> <!></div></th>'),J1=S('<td class="max-w-56 px-2 py-2 align-top break-words tabular-nums"> </td>'),Y1=S('<tr><th class="max-w-48 py-2 pr-4 align-top font-normal break-words text-muted-foreground"> </th><!></tr>'),X1=S('<div class="overflow-x-auto px-4 pb-4" data-inline-visual-comparison=""><table class="type-body w-full border-separate border-spacing-0 text-left"><thead><tr><th class="min-w-28 pr-4 pb-3 font-normal text-muted-foreground"> </th><th class="min-w-32 px-2 pb-3 align-top font-medium"> </th><!></tr></thead><tbody></tbody></table></div>'),Z1=S('<div class="flex flex-wrap items-center gap-1 px-4 py-2" data-inline-visual-actions=""><!> <!> <!> <!> <!></div> <!> <!>',1),Q1=S('<div data-inline-html="" class="my-3 min-w-0 overflow-hidden rounded-lg bg-background text-foreground"><div class="flex min-w-0 items-center justify-end gap-1 p-1"><!> <!></div> <!> <!> <div class="relative min-w-0"><!> <!></div> <!></div>');function ku(r,t){if(new.target)return jt({component:ku,...r});qt(t,!0);const n=720;let a=y(t,"source",7),s=y(t,"isStreaming",7,!1),o=y(t,"isComplete",7,!0),l=y(t,"record",7),c=y(t,"storageStatus",7,"ready"),f=y(t,"onRecordChange",7),i=y(t,"onUseConfiguration",7),p=y(t,"onExport",7),g=y(t,"onRetry",7),L=y(t,"storageError",7),b=y(t,"exportStatus",7),h=y(t,"exportPath",7),P=y(t,"exportError",7),A,H=xe(void 0),F=xe(!1),O=xe(!1),D=xe(0),j=xe(""),C=xe(""),B=xe(!1),G=xe(""),Y=xe(qr(Ro)),le=xe(n),Ee=xe(""),de=xe(ul()),ne=xe(void 0),ge,Me=xe(void 0),K=xe(!1);const pe=u(()=>l()??e(de)),ce=u(()=>c()!=="loading"&&(c()!=="error"||!!e(pe).current)),Pe=u(()=>!s()&&o()&&!!a().trim()&&e(ce)),Le=u(()=>Math.min(_c,Math.max(Ro,e(Y)))),we=u(()=>s()||c()==="loading"?"loading":o()?a().trim()?e(G)?"error":e(B)?"ready":"loading":"empty":"incomplete"),Qe=u(()=>s()||c()==="loading"||e(Pe)&&!e(B)&&!e(G));function We(Q){const _e={...Q,current:e(ne)??Q.current};N(de,_e),f()?.(_e)}function $e(){const Q=e(ne);!Q||e(pe).scenarios.length>=fl||(We({...e(pe),scenarios:[...e(pe).scenarios,{id:crypto.randomUUID(),name:Of({number:Qi(e(pe).scenarios.length+1)}),snapshot:structuredClone(Q)}]}),N(K,!0))}function ee(Q,_e){const rt=_e.trim().slice(0,120);rt&&We({...e(pe),scenarios:e(pe).scenarios.map(tt=>tt.id===Q?{...tt,name:rt}:tt)})}function Z(Q){const _e=structuredClone(Q);N(ne,_e),N(Me,_e),We({...e(pe),current:_e}),N(D,e(D)+1)}function Ge(Q){return typeof Q=="number"?Qi(Q):typeof Q=="string"?Q:JSON.stringify(Q)}function J(){!e(H)?.contentWindow||!e(C)||e(H).contentWindow.postMessage({channel:e(C),type:"theme",theme:xc(A)},"*")}function V(Q){let _e=A.parentElement;for(;_e;){const rt=getComputedStyle(_e),tt=_e.scrollHeight-_e.clientHeight;if(/^(auto|scroll|overlay)$/.test(rt.overflowY)&&tt>1){if(Q<0?_e.scrollTop>0:_e.scrollTop<tt){_e.dispatchEvent(new WheelEvent("wheel",{deltaY:Q,bubbles:!0})),_e.scrollTop+=Q;return}if(/^(contain|none)$/.test(rt.overscrollBehaviorY))return}_e=_e.parentElement}window.scrollBy({top:Q,behavior:"instant"})}It(()=>{if(!e(F))return;const Q=a(),_e=e(Pe);e(D),Nn(()=>{ge!==Q&&(N(de,ul()),N(ne,void 0),N(K,!1),N(Me,void 0),ge=Q),N(B,!1),N(G,""),N(Ee,""),N(Y,Ro,!0),N(C,crypto.randomUUID(),!0),N(j,_e?B1(Q,e(C),xc(A),Yi(),e(Me)??e(ne)??e(pe).current):"",!0),N(Me,void 0)})}),hs(()=>{N(F,!0);const Q=gt=>{if(gt.source!==e(H)?.contentWindow||gt.origin!=="null")return;const He=gt.data;if(!(!He||typeof He!="object"||He.channel!==e(C)))if(He.type==="resize"&&typeof He.height=="number"&&Number.isFinite(He.height)&&He.height>=0)N(Y,Math.min(_c,Math.ceil(He.height)),!0);else if(He.type==="ready")N(B,!0),J();else if(He.type==="error"&&typeof He.message=="string")N(G,He.message.slice(0,300),!0);else if(He.type==="layout"&&typeof He.message=="string")N(Ee,He.message.slice(0,300),!0);else if(He.type==="snapshot"&&e(Pe)&&ui(He.snapshot)){const ht=He.snapshot;N(ne,ht),We({...e(pe),current:ht})}else He.type==="wheel"&&e(B)&&e(Pe)&&!e(O)&&!e(Qe)&&typeof He.deltaY=="number"&&Number.isFinite(He.deltaY)&&He.deltaY!==0&&Math.abs(He.deltaY)<=wu&&V(He.deltaY)},_e=()=>{N(le,Math.min(n,Math.max(160,Math.floor(window.innerHeight*.8))),!0)},rt=new MutationObserver(J);rt.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style","data-theme"]});const tt=window.matchMedia("(prefers-color-scheme: dark)");return tt.addEventListener("change",J),window.addEventListener("message",Q),window.addEventListener("resize",_e),_e(),()=>{rt.disconnect(),tt.removeEventListener("change",J),window.removeEventListener("message",Q),window.removeEventListener("resize",_e)}});var q={get source(){return a()},set source(Q){a(Q),_()},get isStreaming(){return s()},set isStreaming(Q=!1){s(Q),_()},get isComplete(){return o()},set isComplete(Q=!0){o(Q),_()},get record(){return l()},set record(Q){l(Q),_()},get storageStatus(){return c()},set storageStatus(Q="ready"){c(Q),_()},get onRecordChange(){return f()},set onRecordChange(Q){f(Q),_()},get onUseConfiguration(){return i()},set onUseConfiguration(Q){i(Q),_()},get onExport(){return p()},set onExport(Q){p(Q),_()},get onRetry(){return g()},set onRetry(Q){g(Q),_()},get storageError(){return L()},set storageError(Q){L(Q),_()},get exportStatus(){return b()},set exportStatus(Q){b(Q),_()},get exportPath(){return h()},set exportPath(Q){h(Q),_()},get exportError(){return P()},set exportError(Q){P(Q),_()},$set:Wt,$on:(Q,_e)=>Ut(t,Q,_e)},ue=Q1(),be=I(ue),$=I(be);yt($,{variant:"ghost",size:"sm",get active(){return e(O)},get"aria-pressed"(){return e(O)},onclick:()=>{N(O,!e(O))},children:(Q,_e)=>{ar();var rt=Dt();k(tt=>x(rt,tt),[()=>e(O)?If():Cf()]),d(Q,rt)},$$slots:{default:!0}});var fe=m($,2);{let Q=u(()=>!e(Pe));yt(fe,{variant:"ghost",size:"sm",get disabled(){return e(Q)},onclick:()=>{N(D,e(D)+1)},children:(_e,rt)=>{ar();var tt=Dt();k(gt=>x(tt,gt),[()=>Ef()]),d(_e,tt)},$$slots:{default:!0}})}w(be);var Ae=m(be,2);{var Fe=Q=>{var _e=z1(),rt=ze(_e),tt=I(rt),gt=R(tt,!0),He=m(tt,2);{var ht=pt=>{yt(pt,{variant:"ghost",size:"sm",get onclick(){return g()},children:(Ct,At)=>{ar();var Zt=Dt();k(_t=>x(Zt,_t),[()=>Df()]),d(Ct,Zt)},$$slots:{default:!0}})};M(He,pt=>{g()&&pt(ht)})}w(rt);var dt=m(rt,2);{var vt=pt=>{var Ct=F1(),At=R(Ct,!0);k(()=>x(At,L())),d(pt,Ct)};M(dt,pt=>{L()&&pt(vt)})}k(pt=>x(gt,pt),[()=>Pf()]),d(Q,_e)};M(Ae,Q=>{c()==="error"&&Q(Fe)})}var at=m(Ae,2);{var z=Q=>{var _e=H1(),rt=R(_e,!0);k(tt=>x(rt,tt),[()=>s()?Af():Tf()]),d(Q,_e)},ae=Q=>{var _e=j1(),rt=R(_e,!0);k(tt=>x(rt,tt),[()=>o()?Lf():Rf()]),d(Q,_e)},Te=Q=>{var _e=W1(),rt=I(_e),tt=R(rt,!0),gt=m(rt,2),He=R(gt,!0);w(_e),k(ht=>{x(tt,ht),x(He,e(G))},[()=>Nf()]),d(Q,_e)};M(at,Q=>{e(Qe)?Q(z):e(Pe)?e(G)&&Q(Te,2):Q(ae,1)})}var Ze=m(at,2),me=I(Ze);{var T=Q=>{var _e=U1();let rt,tt;gr(_e,gt=>N(H,gt),()=>e(H)),k(gt=>{se(_e,"title",gt),se(_e,"srcdoc",e(j)),rt=mt(_e,1,"block w-full border-0 svelte-1kkow1d",null,rt,{"preview-hidden":e(O)||e(Qe)}),se(_e,"aria-hidden",e(O)||e(Qe)),tt=On(_e,"",tt,{height:`${e(Le)}px`})},[()=>Yi()]),d(Q,_e)};M(me,Q=>{e(Pe)&&e(j)&&Q(T)})}var U=m(me,2);{var ye=Q=>{ea(Q,{get code(){return a()},language:"html",noBorder:!0,noMargin:!0,get maxHeight(){return e(le)}})},Ue=Q=>{var _e=q1(),rt=I(_e),tt=I(rt);Ha(tt,{class:"h-4 w-32 max-w-1/2"});var gt=m(tt,2);Ha(gt,{class:"h-3 w-2/3"}),w(rt);var He=m(rt,2);Ha(He,{class:"aspect-video max-h-60 w-full rounded-lg"});var ht=m(He,2),dt=I(ht);Ha(dt,{class:"h-3 w-16"});var vt=m(dt,2);Ha(vt,{class:"h-2 min-w-0 flex-1"});var pt=m(vt,2);Ha(pt,{class:"h-3 w-10"}),w(ht),w(_e),d(Q,_e)};M(U,Q=>{e(O)?Q(ye):e(Qe)&&Q(Ue,1)})}w(Ze);var Ie=m(Ze,2);{var qe=Q=>{var _e=Z1(),rt=ze(_e),tt=I(rt);{var gt=Et=>{{let Jt=u(()=>!e(B)||!!e(G));yt(Et,{size:"sm",get disabled(){return e(Jt)},onclick:()=>e(ne)&&i()(e(ne)),children:(Nt,ve)=>{ar();var te=Dt();k(je=>x(te,je),[()=>Bf()]),d(Nt,te)},$$slots:{default:!0}})}};M(tt,Et=>{i()&&Et(gt)})}var He=m(tt,2);{let Et=u(()=>!e(B)||!!e(G)||e(pe).scenarios.length>=fl);yt(He,{variant:"ghost",size:"sm",get disabled(){return e(Et)},onclick:$e,children:(Jt,Nt)=>{ar();var ve=Dt();k(te=>x(ve,te),[()=>Mf()]),d(Jt,ve)},$$slots:{default:!0}})}var ht=m(He,2);{var dt=Et=>{yt(Et,{variant:"ghost",size:"sm",get active(){return e(K)},get"aria-expanded"(){return e(K)},onclick:()=>N(K,!e(K)),children:(Jt,Nt)=>{ar();var ve=Dt();k(te=>x(ve,te),[()=>Ff()]),d(Jt,ve)},$$slots:{default:!0}})};M(ht,Et=>{e(pe).scenarios.length&&Et(dt)})}var vt=m(ht,2);{var pt=Et=>{{let Jt=u(()=>!e(B)||b()==="saving");yt(Et,{variant:"ghost",size:"sm",get disabled(){return e(Jt)},onclick:()=>p()({...e(pe),current:e(ne)??null}),children:(Nt,ve)=>{ar();var te=Dt();k(je=>x(te,je),[()=>zf()]),d(Nt,te)},$$slots:{default:!0}})}};M(vt,Et=>{p()&&Et(pt)})}var Ct=m(vt,2);{var At=Et=>{var Jt=V1(),Nt=R(Jt,!0);k(ve=>x(Nt,ve),[()=>c()==="saving"?Hf():c()==="ready"?jf():""]),d(Et,Jt)};M(Ct,Et=>{f()&&Et(At)})}w(rt);var Zt=m(rt,2);{var _t=Et=>{var Jt=K1(),Nt=I(Jt),ve=m(Nt);{var te=je=>{var nt=Dt();k(()=>x(nt,P())),d(je,nt)};M(ve,je=>{b()==="error"&&P()&&je(te)})}w(Jt),k(je=>x(Nt,`${je??""} `),[()=>b()==="saving"?Wf():b()==="saved"?Uf({path:h()??""}):qf()]),d(Et,Jt)};M(Zt,Et=>{b()&&Et(_t)})}var Ht=m(Zt,2);{var er=Et=>{var Jt=X1(),Nt=I(Jt),ve=I(Nt),te=I(ve),je=I(te),nt=R(je,!0),ct=m(je),Be=R(ct,!0),X=m(ct);Rt(X,17,()=>e(pe).scenarios,ie=>ie.id,(ie,ke)=>{var Ce=G1(),Oe=I(Ce);{let Se=u(()=>Gf());qa(Oe,{get value(){return e(ke).name},get"aria-label"(){return e(Se)},maxlength:120,onblur:Ye=>{Ye.currentTarget.value.trim()||(Ye.currentTarget.value=e(ke).name),ee(e(ke).id,Ye.currentTarget.value)},onkeydown:Ye=>{Ye.key==="Enter"&&Ye.currentTarget.blur(),Ye.key==="Escape"&&(Ye.currentTarget.value=e(ke).name,Ye.currentTarget.blur())}})}var De=m(Oe,2),Je=I(De);yt(Je,{variant:"ghost",size:"sm",onclick:()=>Z(e(ke).snapshot),children:(Se,Ye)=>{ar();var Ke=Dt();k(et=>x(Ke,et),[()=>Vf()]),d(Se,Ke)},$$slots:{default:!0}});var Ve=m(Je,2);yt(Ve,{variant:"ghost",size:"sm",onclick:()=>We({...e(pe),scenarios:e(pe).scenarios.filter(Se=>Se.id!==e(ke).id)}),children:(Se,Ye)=>{ar();var Ke=Dt();k(et=>x(Ke,et),[()=>Kf()]),d(Se,Ke)},$$slots:{default:!0}}),w(De),w(Ce),d(ie,Ce)}),w(te),w(ve);var oe=m(ve);Rt(oe,20,()=>["inputs","results"],Mr,(ie,ke)=>{const Ce=u(()=>ke),Oe=u(()=>Array.from(new Set([...Object.keys(e(ne)[e(Ce)]),...e(pe).scenarios.flatMap(Ve=>Object.keys(Ve.snapshot[e(Ce)]))])));var De=wt(),Je=ze(De);Rt(Je,16,()=>e(Oe),Ve=>Ve,(Ve,Se)=>{var Ye=Y1(),Ke=I(Ye),et=R(Ke,!0),ot=m(Ke);Rt(ot,17,()=>[e(ne),...e(pe).scenarios.map(it=>it.snapshot)],Mr,(it,ut)=>{var kt=J1(),bt=R(kt,!0);k(Tt=>x(bt,Tt),[()=>Object.hasOwn(e(ut)[e(Ce)],Se)?Ge(e(ut)[e(Ce)][Se]):"—"]),d(it,kt)}),w(Ye),k(()=>x(et,Se)),d(Ve,Ye)}),d(ie,De)}),w(oe),w(Nt),w(Jt),k(ie=>{x(nt,e(ne).title),x(Be,ie)},[()=>Jf()]),d(Et,Jt)};M(Ht,Et=>{e(K)&&e(pe).scenarios.length&&Et(er)})}d(Q,_e)};M(Ie,Q=>{e(ne)&&e(Pe)&&Q(qe)})}return w(ue),gr(ue,Q=>A=Q,()=>A),k(()=>{se(ue,"data-inline-html-status",e(we)),se(ue,"data-inline-html-layout",e(Ee)?"viewport-locked":void 0),se(ue,"aria-busy",e(Qe))}),d(r,ue),Vt(q)}var $1=S('<div class="w-full min-w-0"><!></div>');function e0(r,t){if(new.target)return jt({component:e0,...r});qt(t,!0);const n=()=>Ot(e(b),"$agent$",s),a=()=>Ot(e(H),"$entry$",s),[s,o]=ia();let l=y(t,"block",7),c=y(t,"role",7),f=y(t,"workspaceId",7),i=y(t,"agentId",7),p=y(t,"messageId",7),g=y(t,"contentBlockKey",7,""),L=xe(void 0);const b=u(()=>Js(i()??"")),h=u(()=>c()==="assistant"&&f()&&i()&&p()&&l().metadata?.fenceClosed&&!l().metadata?.isStreaming&&n()&&!id(n())?{workspaceId:f(),agentId:i(),messageId:p(),blockKey:JSON.stringify([g(),l().metadata?.fenceStart??0]),source:l().content}:void 0),P=u(()=>!!(f()&&i()&&p()&&l().metadata?.fenceClosed&&!n())),A=u(()=>e(h)?Mg(e(h)):""),H=u(()=>im(e(A)));It(()=>{e(h)&&Lt.dispatch(Tg(e(h)))});function F(Y){!f()||!i()||n()?.retiredAt||e(L)?.dispatchEvent(new CustomEvent(bh,{bubbles:!0,detail:{workspaceId:f(),agentId:i(),snapshot:Y}}))}var O={get block(){return l()},set block(Y){l(Y),_()},get role(){return c()},set role(Y){c(Y),_()},get workspaceId(){return f()},set workspaceId(Y){f(Y),_()},get agentId(){return i()},set agentId(Y){i(Y),_()},get messageId(){return p()},set messageId(Y){p(Y),_()},get contentBlockKey(){return g()},set contentBlockKey(Y=""){g(Y),_()},$set:Wt,$on:(Y,le)=>Ut(t,Y,le)},D=wt(),j=ze(D);{var C=Y=>{var le=$1(),Ee=I(le);{let de=u(()=>l().metadata?.isStreaming??!1),ne=u(()=>l().metadata?.fenceClosed??!1),ge=u(()=>a()?.record),Me=u(()=>e(h)?a()?.status??"loading":e(P)?"loading":"ready"),K=u(()=>a()?.error),pe=u(()=>e(h)?$e=>Lt.dispatch(Ng(e(A),$e)):void 0),ce=u(()=>f()&&i()&&n()&&!n().retiredAt?F:void 0),Pe=u(()=>e(h)?()=>Lt.dispatch(Lg(e(A))):void 0),Le=u(()=>e(h)?$e=>Lt.dispatch(Rg(e(A),crypto.randomUUID(),$e)):void 0),we=u(()=>a()?.export?.status),Qe=u(()=>a()?.export?.path),We=u(()=>a()?.export?.error);ku(Ee,{get source(){return l().content},get isStreaming(){return e(de)},get isComplete(){return e(ne)},get record(){return e(ge)},get storageStatus(){return e(Me)},get storageError(){return e(K)},get onRecordChange(){return e(pe)},get onUseConfiguration(){return e(ce)},get onRetry(){return e(Pe)},get onExport(){return e(Le)},get exportStatus(){return e(we)},get exportPath(){return e(Qe)},get exportError(){return e(We)}})}w(le),gr(le,de=>N(L,de),()=>e(L)),d(Y,le)},B=Y=>{ea(Y,{get code(){return l().content},language:"html"})};M(j,Y=>{c()==="assistant"?Y(C):Y(B,-1)})}d(r,D);var G=Vt(O);return o(),G}var t0=S('<div class="digest-card flex items-start gap-2.5 py-5 px-6 my-4 shadow-xs text-base leading-normal border border-border"> </div>');function r0(r,t){if(new.target)return jt({component:r0,...r});qt(t,!0);let n=y(t,"digest",7);var a={get digest(){return n()},set digest(l){n(l),_()},$set:Wt,$on:(l,c)=>Ut(t,l,c)},s=t0(),o=R(s,!0);return k(()=>x(o,n())),d(r,s),Vt(a)}var n0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-blue-500/15 text-blue-600 dark:text-blue-400"> </span>'),a0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-muted text-muted-foreground"> </span>'),s0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-primary/10 text-primary/80"> </span>'),o0=S('<div class="flex items-start gap-3 px-4 py-2.5"><div class="flex-1 min-w-0"><div class="flex items-center gap-2 flex-wrap"><span class="text-sm font-semibold text-foreground"> </span> <!> <!></div> <div class="mt-0.5 text-xs font-mono text-muted-foreground truncate"> </div></div></div>'),i0=S('<div class="detected-scripts-card my-3 rounded-lg border border-border bg-muted/30 overflow-hidden"><div class="flex items-center gap-2 px-4 py-2.5 border-b border-border bg-muted/40"><!> <span class="text-sm font-semibold text-foreground"> </span></div> <div class="divide-y divide-border"></div> <div class="px-4 py-2 border-t border-border bg-muted/20"><span class="text-xs text-muted-foreground"> </span></div></div>');function l0(r,t){if(new.target)return jt({component:l0,...r});qt(t,!0);let n=y(t,"scripts",7);var a={get scripts(){return n()},set scripts(b){n(b),_()},$set:Wt,$on:(b,h)=>Ut(t,b,h)},s=i0(),o=I(s),l=I(o);Pt(l,{get icon(){return Kc},size:"sm",class:"text-primary-ink/70"});var c=m(l,2),f=R(c,!0);w(o);var i=m(o,2);Rt(i,21,n,b=>b.name+b.command,(b,h)=>{var P=o0(),A=I(P),H=I(A),F=I(H),O=R(F,!0),D=m(F,2);{var j=Ee=>{var de=n0(),ne=R(de,!0);k(ge=>x(ne,ge),[()=>v.chat_detectedScripts_service_badge()]),d(Ee,de)},C=Ee=>{var de=a0(),ne=R(de,!0);k(ge=>x(ne,ge),[()=>v.chat_detectedScripts_command_badge()]),d(Ee,de)};M(D,Ee=>{e(h).mode==="service"?Ee(j):Ee(C,-1)})}var B=m(D,2);{var G=Ee=>{var de=s0(),ne=R(de,!0);k(()=>x(ne,e(h).category)),d(Ee,de)};M(B,Ee=>{e(h).category&&e(h).category!=="other"&&Ee(G)})}w(H);var Y=m(H,2),le=R(Y,!0);w(A),w(P),k(()=>{x(O,e(h).name),x(le,e(h).command)}),d(b,P)}),w(i);var p=m(i,2),g=I(p),L=R(g,!0);return w(p),w(s),k((b,h)=>{x(f,b),x(L,h)},[()=>v.chat_detectedScripts_title(),()=>n().length===1?v.chat_detectedScripts_count_one({count:lr(n().length)}):v.chat_detectedScripts_count_many({count:lr(n().length)})]),d(r,s),Vt(a)}function c0(r,t){if(new.target)return jt({component:c0,...r});qt(t,!0);let n=y(t,"diff",7),a=y(t,"filePath",7),s=y(t,"language",7),o=y(t,"onApply",7),l=y(t,"onReject",7);function c(){o()?.(),$n.success(v.chat_diffViewer_applied_toast())}function f(){l()?.(),$n.info(v.chat_diffViewer_rejected_toast())}const i=u(()=>{const g=[];return o()&&g.push({label:v.chat_diffViewer_apply_label(),variant:"success",onClick:c}),l()&&g.push({label:v.chat_diffViewer_reject_label(),variant:"danger",onClick:f}),g});var p={get diff(){return n()},set diff(g){n(g),_()},get filePath(){return a()},set filePath(g){a(g),_()},get language(){return s()},set language(g){s(g),_()},get onApply(){return o()},set onApply(g){o(g),_()},get onReject(){return l()},set onReject(g){l(g),_()},$set:Wt,$on:(g,L)=>Ut(t,g,L)};{let g=u(()=>a()||v.chat_diffViewer_suggestedChanges_fallback());ds(r,{get patch(){return n()},get fileName(){return e(g)},get language(){return s()},get actions(){return e(i)},collapsible:!0,initialCollapsed:!1,maxHeight:"500px"})}return Vt(p)}var d0=ba('<circle fill="none" style="transition: stroke-dasharray 0.3s ease-out"></circle>'),wc=ba("<circle></circle>"),u0=ba('<svg class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 fill-background" viewBox="0 0 8 6"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.69471 1.69471C7.87687 1.50611 7.97766 1.25351 7.97539 0.991311C7.97311 0.729114 7.86794 0.478302 7.68253 0.292894C7.49712 0.107485 7.24631 0.00231622 6.98411 3.78025e-05C6.72192 -0.00224062 6.46931 0.0985542 6.28071 0.280712L2.98771 3.57371L1.69471 2.28071C1.50611 2.09855 1.25351 1.99776 0.991311 2.00004C0.729114 2.00232 0.478302 2.10749 0.292894 2.29289C0.107485 2.4783 0.00231622 2.72911 3.78025e-05 2.99131C-0.00224062 3.25351 0.0985542 3.50611 0.280712 3.69471L2.28071 5.69471C2.46824 5.88218 2.72255 5.9875 2.98771 5.9875C3.25288 5.9875 3.50718 5.88218 3.69471 5.69471L7.69471 1.69471Z"></path></svg>'),f0=S('<div class="relative"><svg fill="none" xmlns="http://www.w3.org/2000/svg"><circle fill="none"></circle><!></svg> <!></div>');function Ms(r,t){if(new.target)return jt({component:Ms,...r});qt(t,!0);let n=y(t,"phase",7),a=y(t,"progress",7,0),s=y(t,"size",7,16),o=y(t,"class",7,""),l=u(()=>s()/2),c=u(()=>e(l)),f=u(()=>e(l)),i=u(()=>s()*.12),p=u(()=>e(l)-e(i)/2),g=u(()=>e(l)*.35),L=u(()=>2*Math.PI*e(g)),b=u(()=>Math.max(0,Math.min(1,a()))*e(L));const h={planning:"#99999999",building:"#54B1F3",reviewing:"#6D7FF5",shipped:"var(--color-foreground)"};let P=u(()=>h[n()]||"currentColor");var A={get phase(){return n()},set phase(de){n(de),_()},get progress(){return a()},set progress(de=0){a(de),_()},get size(){return s()},set size(de=16){s(de),_()},get class(){return o()},set class(de=""){o(de),_()},$set:Wt,$on:(de,ne)=>Ut(t,de,ne)},H=f0(),F=I(H),O=I(F),D=m(O);{var j=de=>{},C=de=>{var ne=d0();k(()=>{se(ne,"cx",e(c)),se(ne,"cy",e(f)),se(ne,"r",e(g)*.8),se(ne,"stroke",e(P)),se(ne,"stroke-width",e(g)*1.5),se(ne,"stroke-dasharray",`${e(b)??""} ${e(L)??""}`),se(ne,"stroke-dashoffset",e(L)*.25),se(ne,"transform",`rotate(-90 ${e(c)??""} ${e(f)??""})`)}),d(de,ne)},B=de=>{var ne=wc();k(()=>{se(ne,"cx",e(c)),se(ne,"cy",e(f)),se(ne,"r",e(p)*.6),se(ne,"fill",e(P))}),d(de,ne)},G=de=>{var ne=wc();k(()=>{se(ne,"cx",e(c)),se(ne,"cy",e(f)),se(ne,"r",e(p)),se(ne,"fill",e(P))}),d(de,ne)};M(D,de=>{n()==="planning"?de(j):n()==="building"?de(C,1):n()==="reviewing"?de(B,2):n()==="shipped"&&de(G,3)})}w(F);var Y=m(F,2);{var le=de=>{},Ee=de=>{var ne=u0();k(()=>se(ne,"width",s()*.5)),d(de,ne)};M(Y,de=>{n()==="reviewing"?de(le):n()==="shipped"&&de(Ee,1)})}return w(H),k(()=>{se(F,"width",s()),se(F,"height",s()),se(F,"viewBox",`0 0 ${s()??""} ${s()??""}`),mt(F,0,ur(o())),se(O,"cx",e(c)),se(O,"cy",e(f)),se(O,"r",e(p)),se(O,"stroke",e(P)),se(O,"stroke-width",e(i))}),d(r,H),Vt(A)}var kc=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full"></span> </span>'),p0=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full bg-border"></span> </span>'),Sc=S('<span class="text-ui text-subtle truncate"> </span>'),Ic=S('<div class="flex items-center gap-1 mt-0.5"><!> <!></div>'),Cc=S('<div class="flex items-start gap-2"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-xs leading-snug truncate"> </div> <!></div></div>'),g0=S('<div class="flex items-center gap-2"><div class="shrink-0"><!></div> <span class="text-ui text-subtle truncate line-through"> </span></div>'),v0=S('<span class="text-ui text-subtle pl-4"> </span>'),m0=S('<div class="flex flex-col gap-0.5 pt-1 border-t border-border"><!> <!></div>'),h0=S('<div class="text-ui text-subtle"> </div>'),b0=S("<!> <!> <!> <!>",1),y0=S('<div class="flex flex-col py-2 px-3 gap-2 max-h-80 overflow-y-auto"><div class="flex items-center justify-between gap-3"><span class="text-xs font-semibold text-foreground"> </span> <div class="flex items-center gap-3 text-ui text-subtle"><!> <!> <!></div></div> <!></div>'),_0=S('<div class="rounded-[0.5px]"></div>');function Su(r,t){if(new.target)return jt({component:Su,...r});qt(t,!0);let n=y(t,"stats",7),a=y(t,"tasks",23,()=>[]),s=y(t,"maxBars",7,20),o=y(t,"barWidth",7,"1px"),l=y(t,"barHeight",7,"16px"),c=y(t,"gap",7,"1px"),f=y(t,"class",7);const i={completed:"#22c55e",inProgress:"#4F7BF7",notStarted:"var(--border)"};let p=u(()=>{const{completed:D,inProgress:j,notStarted:C,total:B}=n();if(B===0)return[];const G=[...Array(D).fill("completed"),...Array(j).fill("inProgress"),...Array(Math.max(0,C)).fill("notStarted")];return G.length<=s()?G:G.slice(G.length-s())}),g=u(()=>a().filter(D=>D.status==="complete")),L=u(()=>a().filter(D=>D.status==="in_progress"||D.status==="review_required")),b=u(()=>a().filter(D=>D.status!=="complete"&&D.status!=="in_progress"&&D.status!=="review_required"&&D.status!=="cancelled")),h=u(()=>a().filter(D=>D.status==="cancelled")),P=u(()=>a().length>0);var A={get stats(){return n()},set stats(D){n(D),_()},get tasks(){return a()},set tasks(D=[]){a(D),_()},get maxBars(){return s()},set maxBars(D=20){s(D),_()},get barWidth(){return o()},set barWidth(D="1px"){o(D),_()},get barHeight(){return l()},set barHeight(D="16px"){l(D),_()},get gap(){return c()},set gap(D="1px"){c(D),_()},get class(){return f()},set class(D){f(D),_()},$set:Wt,$on:(D,j)=>Ut(t,D,j)},H=wt(),F=ze(H);{var O=D=>{Do(D,{side:"top",align:"start",sideOffset:6,contentClass:"max-w-xs p-0",delayDuration:200,disableHoverableContent:!1,content:C=>{var B=y0(),G=I(B),Y=I(G),le=R(Y,!0),Ee=m(Y,2),de=I(Ee);{var ne=Le=>{var we=kc(),Qe=I(we);On(Qe,"",{},{"background-color":"#22c55e"});var We=m(Qe);w(we),k(()=>x(We,` ${n().completed??""}`)),d(Le,we)};M(de,Le=>{n().completed>0&&Le(ne)})}var ge=m(de,2);{var Me=Le=>{var we=kc(),Qe=I(we);On(Qe,"",{},{"background-color":"#4F7BF7"});var We=m(Qe);w(we),k(()=>x(We,` ${n().inProgress??""}`)),d(Le,we)};M(ge,Le=>{n().inProgress>0&&Le(Me)})}var K=m(ge,2);{var pe=Le=>{var we=p0(),Qe=m(I(we));w(we),k(()=>x(Qe,` ${n().notStarted??""}`)),d(Le,we)};M(K,Le=>{n().notStarted>0&&Le(pe)})}w(Ee),w(G);var ce=m(G,2);{var Pe=Le=>{var we=b0(),Qe=ze(we);Rt(Qe,17,()=>e(L),Mr,(J,V)=>{var q=Cc(),ue=I(q),be=I(ue);bo(be,{get status(){return e(V).status},size:14}),w(ue);var $=m(ue,2),fe=I($),Ae=R(fe,!0),Fe=m(fe,2);{var at=z=>{var ae=Ic(),Te=I(ae);{let T=u(()=>e(V).agentState||"idle");rl(Te,{get agentId(){return e(V).agentId},get state(){return e(T)},size:12,get specialist(){return e(V).agentSpecialist}})}var Ze=m(Te,2);{var me=T=>{var U=Sc(),ye=R(U,!0);k(()=>x(ye,e(V).agentName)),d(T,U)};M(Ze,T=>{e(V).agentName&&T(me)})}w(ae),d(z,ae)};M(Fe,z=>{e(V).agentId&&z(at)})}w($),w(q),k(()=>x(Ae,e(V).title)),d(J,q)});var We=m(Qe,2);Rt(We,17,()=>e(b),Mr,(J,V)=>{var q=Cc(),ue=I(q),be=I(ue);bo(be,{get status(){return e(V).status},size:14}),w(ue);var $=m(ue,2),fe=I($),Ae=R(fe,!0),Fe=m(fe,2);{var at=z=>{var ae=Ic(),Te=I(ae);{let T=u(()=>e(V).agentState||"idle");rl(Te,{get agentId(){return e(V).agentId},get state(){return e(T)},size:12,get specialist(){return e(V).agentSpecialist}})}var Ze=m(Te,2);{var me=T=>{var U=Sc(),ye=R(U,!0);k(()=>x(ye,e(V).agentName)),d(T,U)};M(Ze,T=>{e(V).agentName&&T(me)})}w(ae),d(z,ae)};M(Fe,z=>{e(V).agentId&&z(at)})}w($),w(q),k(()=>x(Ae,e(V).title)),d(J,q)});var $e=m(We,2);{var ee=J=>{var V=m0(),q=I(V);Rt(q,17,()=>e(g).slice(0,3),Mr,($,fe)=>{var Ae=g0(),Fe=I(Ae),at=I(Fe);bo(at,{status:"complete",size:12}),w(Fe);var z=m(Fe,2),ae=R(z,!0);w(Ae),k(()=>x(ae,e(fe).title)),d($,Ae)});var ue=m(q,2);{var be=$=>{var fe=v0(),Ae=R(fe,!0);k(Fe=>x(Ae,Fe),[()=>v.workspace_taskProgressBar_moreCompleted_label({count:lr(e(g).length-3)})]),d($,fe)};M(ue,$=>{e(g).length>3&&$(be)})}w(V),d(J,V)};M($e,J=>{e(g).length>0&&J(ee)})}var Z=m($e,2);{var Ge=J=>{var V=h0(),q=R(V,!0);k(ue=>x(q,ue),[()=>v.workspace_taskProgressBar_cancelled_label({count:lr(e(h).length)})]),d(J,V)};M(Z,J=>{e(h).length>0&&J(Ge)})}d(Le,we)};M(ce,Le=>{e(P)&&Le(Pe)})}w(B),k(Le=>x(le,Le),[()=>v.workspace_taskProgressBar_tasksRatio_label({completed:lr(n().completed),total:lr(n().total)})]),d(C,B)},children:(C,B)=>{{let G=u(()=>En("flex h-auto min-w-0 shrink items-end justify-start cursor-default rounded-none border-0",f())),Y=u(()=>`gap: ${c()}`),le=u(()=>v.workspace_taskProgressBar_tasksRatio_label({completed:lr(n().completed),total:lr(n().total)}));yt(C,{variant:"plain",type:"button",wrapContent:!1,get class(){return e(G)},get style(){return e(Y)},get"aria-label"(){return e(le)},"data-task-progress-trigger":!0,children:(Ee,de)=>{var ne=wt(),ge=ze(ne);Rt(ge,17,()=>e(p),Mr,(Me,K)=>{var pe=_0();let ce;k(()=>ce=On(pe,"",ce,{width:o(),height:l(),"background-color":i[e(K)]})),d(Me,pe)}),d(Ee,ne)},$$slots:{default:!0}})}},$$slots:{content:!0,default:!0}})};M(F,D=>{n().total>0&&D(O)})}return d(r,H),Vt(A)}function Ii(r,t){if(new.target)return jt({component:Ii,...r});qt(t,!0);let n=y(t,"items",7),a=y(t,"ariaLabel",7),s=y(t,"open",15,!1),o=y(t,"orientation",7,"vertical"),l=y(t,"selection",7),c=y(t,"class",7,"");const f=u(()=>Jp(n(),l(),a()));var i={get items(){return n()},set items(p){n(p),_()},get ariaLabel(){return a()},set ariaLabel(p){a(p),_()},get open(){return s()},set open(p=!1){s(p),_()},get orientation(){return o()},set orientation(p="vertical"){o(p),_()},get selection(){return l()},set selection(p){l(p),_()},get class(){return c()},set class(p=""){c(p),_()},$set:Wt,$on:(p,g)=>Ut(t,p,g)};return Qv(r,{get actions(){return e(f)},align:"end",get ariaLabel(){return a()},onAction:g=>Gp(n(),g)?.onClick(),get open(){return s()},set open(g){s(g)},trigger:(g,L)=>{let b=()=>(L?.()).props;yt(g,oi(b,{variant:"plain",size:"icon-compact",iconOnly:!0,type:"button",get class(){return c()},get"aria-label"(){return a()},onclick:h=>{h.stopPropagation(),b().onclick?.(h)},oncontextmenu:h=>{h.preventDefault(),h.stopPropagation()},children:(h,P)=>{$v(h,{get orientation(){return o()},class:"size-3.5"})},$$slots:{default:!0}}))},$$slots:{trigger:!0}}),Vt(i)}var x0=S('<span class="contents"><!></span>'),w0=S("<!> <!>",1);function Iu(r,t){if(new.target)return jt({component:Iu,...r});qt(t,!0);let n=y(t,"workspaceId",7),a=y(t,"slot",7);const s=u(()=>_g(a()));let o=xe(null);It(()=>{e(o)&&e(o).workspaceId!==n()&&N(o,null)});function l(h){const P=Wc(h);P&&N(o,{...P,workspaceId:n()},!0)}function c(h){h.preventDefault(),h.stopPropagation();const P=h.currentTarget.getBoundingClientRect();N(o,{x:P.left,y:P.bottom+2,returnFocus:h.currentTarget,workspaceId:n()},!0)}function f(){N(o,null)}var i={get workspaceId(){return n()},set workspaceId(h){n(h),_()},get slot(){return a()},set slot(h){a(h),_()},$set:Wt,$on:(h,P)=>Ut(t,h,P)},p=w0(),g=ze(p);{let h=u(()=>v.workspace_microKeyBadge_ariaLabel({number:lr(a()+1)})),P=u(()=>v.workspace_microKeyBadge_tooltip({number:lr(a()+1)})),A=u(()=>e(o)!==null);yt(g,{variant:"ghost",size:"icon",type:"button",class:"micro-key-slot-badge size-4 min-w-0 shrink-0 cursor-pointer rounded-[3px] p-0 a11y-ignore",get"aria-label"(){return e(h)},get title(){return e(P)},onclick:c,oncontextmenu:l,onkeydown:l,"aria-haspopup":"menu",get"aria-expanded"(){return e(A)},children:(H,F)=>{var O=x0(),D=I(O);Tp(D,{get slot(){return a()},get class(){return`transition-colors ${e(s)??""}`}}),w(O),d(H,O)},$$slots:{default:!0}})}var L=m(g,2);{var b=h=>{{let P=u(()=>e(o)?.x??0),A=u(()=>e(o)?.y??0),H=u(()=>e(o)?.returnFocus),F=u(()=>v.workspace_card_assignMicroKey_label()),O=u(()=>Ym(n(),f));Uc(h,{get x(){return e(P)},get y(){return e(A)},get returnFocus(){return e(H)},selection:"single",get ariaLabel(){return e(F)},get items(){return e(O)},onClickOutside:f})}};M(L,h=>{e(o)&&h(b)})}return d(r,p),Vt(i)}var k0=S('<span class="flex size-4 shrink-0 items-center justify-center"><!></span>'),S0=S('<span data-workspace-card-pin-indicator="" aria-hidden="true"><!></span> <span class="sr-only"> </span>',1),I0=S('<span class="type-caption shrink-0 rounded-sm bg-muted-foreground/10 px-1.5 font-normal text-muted-foreground" data-workspace-card-trailing-label=""> </span>'),C0=S('<span data-workspace-card-pr-item=""><!></span>'),E0=S('<span class="flex shrink-0 items-center" data-workspace-card-pr-list=""><!></span>'),P0=S('<span data-workspace-card-time=""><!></span>'),A0=S('<span aria-hidden="true"><!></span>'),T0=S("<div><!> <!> <!> <!></div>"),R0=S('<div data-workspace-card-hover-surface=""><!></div>'),L0=S('<div role="group" data-workspace-card-row=""><!> <div class="relative z-10 flex shrink-0 items-center gap-1.5"><!> <!> <span class="sr-only"> </span></div> <div class="relative z-10 flex min-w-0 flex-1 items-center gap-2"><span class="flex min-w-0 flex-1 items-center gap-1" data-workspace-card-title-group=""><span dir="ltr" data-workspace-card-title=""><span class="wc-title-text svelte-1ct56pd"> </span></span> <!></span> <!> <!> <!></div> <!></div> <!> <!>',1),N0=S('<div class="relative z-10 flex shrink-0 items-center"><!></div>'),M0=S('<div><!> <!> <span class="font-medium truncate"> </span> <span class="shrink-0 text-muted-foreground">·</span> <span class="truncate text-xs text-muted-foreground"> </span> <!></div>'),O0=S('<div class="text-sm font-semibold truncate"> </div>'),Ec=S('<span class="truncate"> </span>'),D0=S('<span class="text-muted-foreground">·</span>'),B0=S('<div class="flex items-center gap-1 truncate text-xs text-muted-foreground"><!> <!> <!></div>'),F0=S('<div><!> <!> <div class="flex items-center gap-2 text-xs"><!> <span class="truncate text-muted-foreground"> </span> <span> </span></div> <!></div>'),z0=S('<div class="flex items-center gap-2"><!> <span class="text-ui shrink-0 tabular-nums text-muted-foreground"> </span></div>'),H0=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span> <span class="tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span></div>'),j0=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span></div>'),W0=S('<div class="flex items-center text-ui"><span> </span></div>'),U0=S('<div class="flex flex-col gap-1 px-3 pb-2.5"><!> <!> <!> <!></div>'),q0=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!></div>'),V0=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!> <!></div>'),K0=S('<div role="group"><!> <div class="flex items-start gap-2.5 px-3 pt-3 pb-2"><!> <div class="flex-1 min-w-0"><div class="text-sm font-medium"> </div> <div class="mt-0.5 line-clamp-2 text-xs leading-snug text-muted-foreground"> </div></div></div> <!> <!></div>');function Cu(r,t){if(new.target)return jt({component:Cu,...r});qt(t,!0);const n=()=>Ot(We,"$prMonitors$",l),a=()=>Ot($e,"$microConnected$",l),s=()=>Ot(Z,"$hidesOwnerActions$",l),o=()=>Ot(ee,"$workspaceKeySlot$",l),[l,c]=ia();let f=y(t,"workspace",7),i=y(t,"phase",7),p=y(t,"stats",7),g=y(t,"variant",7,"compact"),L=y(t,"showTime",7,!0),b=y(t,"isRunning",7,!1),h=y(t,"isUnread",7,!1),P=y(t,"isWaiting",7),A=y(t,"isPinned",7,!1),H=y(t,"streamingAgentIds",23,()=>[]),F=y(t,"hasSpec",7,!1),O=y(t,"isAgentRunning",7,!1),D=y(t,"agentDigest",7),j=y(t,"trailingLabel",7),C=y(t,"title",7),B=y(t,"repoName",7),G=y(t,"branch",7),Y=y(t,"onClick",7),le=y(t,"onAction",7),Ee=y(t,"onTogglePin",7),de=y(t,"onMarkAsRead",7),ne=y(t,"onOpenInNewWindow",7),ge=y(t,"onHover",7),Me=y(t,"highlighted",7,!1),K=y(t,"selected",7,!1),pe=y(t,"highlightId",7),ce=y(t,"suppressHover",7,!1),Pe=y(t,"isolateHoverReveal",7,!1),Le=y(t,"class",7),we=y(t,"actions",7);const Qe=ss("");It(()=>{Qe.set(f()?.id??"")});const We=yp(Qe),$e=ch(),ee=rv(Qe),Z=_p(Qe),Ge=u(()=>Zm(f()??{})),J=u(()=>Qm(e(Ge)));let V=u(()=>f()?lh.url.pathname===`/workspace/${f().id}`:!1),q=u(()=>f()?`workspace-hover-card-${f().id}`:void 0),ue=xe(!1),be=xe(null),$=xe(null);It(()=>{if(!e($))return;const re=Is(e($),{id:pe()});return()=>re.destroy()});let fe=xe(null),Ae=xe(null),Fe=xe(null),at=xe(0),z=xe(0),ae=u(()=>e(at)+(e(z)>0?e(z)+4:0));function Te(){const re=e(fe),ft=e(Fe);N(at,re?Math.max(0,re.scrollWidth-re.clientWidth):0,!0),N(z,re&&ft&&ft.getClientRects().length>0?Math.max(0,re.getBoundingClientRect().right-ft.getBoundingClientRect().left):0,!0)}It(()=>{const re=e(fe),ft=e(Ae),Bt=e(Fe);if(!re||!ft||(Te(),typeof ResizeObserver>"u"))return;const hr=new ResizeObserver(Te);return hr.observe(re),hr.observe(ft),Bt&&hr.observe(Bt),()=>hr.disconnect()});let Ze=null,me=null,T=!1,U=!1,ye=!1,Ue=!1,Ie=!1,qe=!1,Q=xe(!1),_e=!1,rt=null,tt=xe(null),gt=null,He;function ht(){Ze!==null&&(clearTimeout(Ze),Ze=null)}function dt(){me!==null&&(clearTimeout(me),me=null),gt?.(),gt=null}function vt(){dt(),N(Q,!0),N(ue,!0),!Ie&&(Ie=!0,rs.notifyOpened())}function pt(){dt(),clearTimeout(He),N(Q,!1),N(ue,!1),U=!1,Ue=!1,Ie&&(Ie=!1,rs.notifyClosed())}function Ct(){return T||U||ye||Ue}function At(){if(!e(ue)){pt();return}dt(),me=setTimeout(()=>{me=null,Ct()||pt()},eh),gt=rs.deferClose(pt)}function Zt(){U=!0,dt()}function _t(){U=!1,!ye&&!Ue&&At()}function Ht(){Ue=!0,clearTimeout(He),dt()}function er(re){const ft=re.relatedTarget instanceof Node?re.relatedTarget:null;if(ft&&oe()?.contains(ft)||(Ue=!1,ft&&e(be)?.contains(ft)))return;if(ft){!T&&!U&&pt();return}const Bt=re.target;clearTimeout(He),He=setTimeout(()=>{const hr=document.activeElement,Cr=oe()?.contains(hr)||e(be)?.contains(hr);hr&&hr!==Bt&&Cr||!T&&!U&&pt()},0)}function Et(){rt!==null&&clearTimeout(rt),_e=!0,rt=setTimeout(()=>{_e=!1,rt=null},0)}function Jt(re){const ft=re.target,Bt=oe();ft instanceof Node&&Bt?.contains(ft)||re.type==="scroll"&&e(be)&&ft instanceof Node&&!ft.contains(e(be))||(re.type==="pointerdown"&&Et(),ht(),pt())}It(()=>{if(e(Q))return window.addEventListener("pointerdown",Jt,!0),window.addEventListener("scroll",Jt,!0),()=>{window.removeEventListener("pointerdown",Jt,!0),window.removeEventListener("scroll",Jt,!0)}});function Nt(re){if(re.key!=="Escape")return;const ft=re.target;ft instanceof Node&&oe()?.contains(ft)||(re.preventDefault(),re.stopPropagation(),qe=ye,ht(),pt())}It(()=>{if(e(ue))return window.addEventListener("keydown",Nt,!0),()=>window.removeEventListener("keydown",Nt,!0)});const ve=u(()=>f()?wp.select(Lt.state,f().id):null),te=u(()=>e(ve)?e(ve):f()?.activePullRequest?f().activePullRequest:!f()?.prStatus||f().prNumber==null?null:{id:`legacy-pr-${f().prNumber}`,number:f().prNumber,url:f().prUrl??"",title:v.workspace_hoverCard_pullRequest_label(),status:f().prStatus,createdAt:f().updatedAt,updatedAt:f().updatedAt}),je=u(()=>xp(f())),nt=u(()=>{if(!f()||e(je))return[];const re=f(),ft=re.repositoryOwner&&re.repositoryName?`${re.repositoryOwner}/${re.repositoryName}`:void 0;return Yp({workspacePRs:re.pullRequests,activePR:e(te),monitors:n(),workspaceRepo:ft,buildPrUrl:(Bt,hr)=>Mv(Bt,re.repositoryOwner,re.repositoryName,hr),getDisplayTitle:Bt=>Bt.title})}),ct=u(()=>e(nt)[0]);function Be(re){const ft=re.resource?.repository.provider==="gitlab"?`${re.repo} !${re.number}`:re.repo?v.workspace_card_prBadge_repoLine_tooltip({repo:re.repo,number:re.number}):v.workspace_card_prBadge_label({number:` #${re.number}`});return[kp(ft,re),re.title,re.details].filter(Boolean).join(`
|
|
259
259
|
`)}function X(re){re.key==="Enter"&&Y()?.(re)}function oe(){return e(q)?document.getElementById(e(q)):null}function ie(){return Array.from(oe()?.querySelectorAll("button:not(:disabled), a[href]")??[])}function ke(){const re=e(be)?.querySelector("[data-workspace-card-trigger]"),ft=oe();if(!re||!ft)return null;const Bt=Array.from(document.querySelectorAll('button:not(:disabled), a[href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])')).filter(Cr=>Cr.tabIndex>=0&&!ft.contains(Cr)),hr=Bt.indexOf(re);return hr>=0?Bt[hr+1]:null}function Ce(re){qe=!!e(be)?.contains(re),pt(),re.focus({preventScroll:!0})}function Oe(){const re=e(be)?.querySelector("[data-workspace-card-trigger]");re&&Ce(re)}async function De(re){if(re.key==="Escape"&&e(ue)){re.preventDefault(),re.stopPropagation(),pt();return}re.key!=="ArrowDown"||ce()||!f()||(re.preventDefault(),re.stopPropagation(),N(Q,!0),N(ue,!0),await Jn(),ie()[0]?.focus({preventScroll:!0}))}function Je(re){const ft=ie(),Bt=re.key==="Tab"&&re.shiftKey&&re.currentTarget===ft[0],Cr=re.key==="Tab"&&!re.shiftKey&&re.currentTarget===ft.at(-1)?ke():null;re.key!=="Escape"&&!Bt&&!Cr||(re.preventDefault(),re.stopPropagation(),Cr?Ce(Cr):Oe())}function Ve(){T=!0,dt(),rs.settleDeferredCloses(),Te(),ge()?.(),f()&&!ce()&&!ye&&(ht(),N(Q,!0),Ze=setTimeout(()=>{Ze=null,vt()},rs.currentOpenDelay))}function Se(){T=!1,ht(),!ye&&!Ue&&At()}function Ye(){ye=!0,ht(),dt(),!qe&&(_e||f()&&!ce()&&(N(Q,!0),N(ue,!0)))}function Ke(re){const ft=re.relatedTarget instanceof Node?re.relatedTarget:null;ft&&e(be)?.contains(ft)||(qe=!1,ye=!1,!(ft&&oe()?.contains(ft))&&!T&&!U&&pt())}It(()=>{ce()&&(ht(),dt(),pt())});let et=xe(null),ot=xe(!1),it;It(()=>{const re=f()?.id;it!==re&&(it=re,N(ot,!1)),e(et)&&e(et).workspaceId!==f()?.id&&kt()});function ut(re){if(!f())return;const ft=Wc(re);if(ft){if(N(ot,!1),bt().length===0){N(et,null);return}N(et,{...ft,returnFocus:re.target instanceof HTMLElement?re.target.closest("button")??e(be)?.querySelector("button")??null:null,workspaceId:f().id},!0)}}function kt(){N(et,null),N(ot,!1)}It(()=>{e(ot)&&N(et,null)}),vs(()=>{ht(),dt(),rt!==null&&(clearTimeout(rt),rt=null),pt()});function bt(){if(!f())return[];const re=[];return ne()&&re.push({id:"open-new-window",label:v.workspace_card_openNewWindow_label(),icon:Yc,onClick:()=>{ne()?.(),kt()}}),re.push(...$m(f().id,{connected:a(),onClose:kt})),s()||(e(je)||re.push({id:"transfer",label:v.workspace_card_transfer_label(),icon:fg,onClick:()=>{Lt.dispatch(Og({workspaceId:f().id,workspaceTitle:f().title})),kt()}}),re.push({id:"archive",label:v.workspace_card_archive_label(),icon:Xc,onClick:()=>{Lt.dispatch(ld(f().id)),kt()}}),re.push({id:"delete",label:v.workspace_card_deleteSpace_label(),icon:Zc,destructive:!0,onClick:()=>{Lt.dispatch(cd(f().id)),kt()}})),re}let Tt=u(()=>O()&&D()?D():i()?.subtitle??""),Yt=u(()=>p()&&p().tasks.total>0?p().tasks.completed/p().tasks.total:0),$t=u(()=>!!p()&&(p().tasks.total>0||p().files.changed>0||p().commits.total>0||p().pr.hasOpen||p().pr.hasMerged)),Kt=u(()=>e(je)?void 0:G()),Rr=u(()=>!p()||e(je)?"":p().pr.hasMerged?v.workspace_card_prMerged_label({number:p().pr.number??""}):p().pr.hasOpen?v.workspace_card_prOpen_label({number:p().pr.number?`#${p().pr.number}`:""}):""),Qr=u(()=>i()?.phase==="planning"?O()?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:F()||(p()?.tasks.total??0)>0?{primary:{label:v.workspace_card_approveStart_label(),action:"approve"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:i()?.phase==="building"?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:i()?.phase==="reviewing"?{primary:{label:v.workspace_card_createPr_label(),action:"create-pr"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}}:{primary:{label:v.workspace_card_archive_label(),action:"archive"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}});const gn={planning:"bg-muted/20 text-muted-foreground",building:"bg-info/15 text-info",reviewing:"bg-primary/15 text-primary",shipped:"bg-foreground/10 text-foreground"};var Dn={get workspace(){return f()},set workspace(re){f(re),_()},get phase(){return i()},set phase(re){i(re),_()},get stats(){return p()},set stats(re){p(re),_()},get variant(){return g()},set variant(re="compact"){g(re),_()},get showTime(){return L()},set showTime(re=!0){L(re),_()},get isRunning(){return b()},set isRunning(re=!1){b(re),_()},get isUnread(){return h()},set isUnread(re=!1){h(re),_()},get isWaiting(){return P()},set isWaiting(re){P(re),_()},get isPinned(){return A()},set isPinned(re=!1){A(re),_()},get streamingAgentIds(){return H()},set streamingAgentIds(re=[]){H(re),_()},get hasSpec(){return F()},set hasSpec(re=!1){F(re),_()},get isAgentRunning(){return O()},set isAgentRunning(re=!1){O(re),_()},get agentDigest(){return D()},set agentDigest(re){D(re),_()},get trailingLabel(){return j()},set trailingLabel(re){j(re),_()},get title(){return C()},set title(re){C(re),_()},get repoName(){return B()},set repoName(re){B(re),_()},get branch(){return G()},set branch(re){G(re),_()},get onClick(){return Y()},set onClick(re){Y(re),_()},get onAction(){return le()},set onAction(re){le(re),_()},get onTogglePin(){return Ee()},set onTogglePin(re){Ee(re),_()},get onMarkAsRead(){return de()},set onMarkAsRead(re){de(re),_()},get onOpenInNewWindow(){return ne()},set onOpenInNewWindow(re){ne(re),_()},get onHover(){return ge()},set onHover(re){ge(re),_()},get highlighted(){return Me()},set highlighted(re=!1){Me(re),_()},get selected(){return K()},set selected(re=!1){K(re),_()},get highlightId(){return pe()},set highlightId(re){pe(re),_()},get suppressHover(){return ce()},set suppressHover(re=!1){ce(re),_()},get isolateHoverReveal(){return Pe()},set isolateHoverReveal(re=!1){Pe(re),_()},get class(){return Le()},set class(re){Le(re),_()},get actions(){return we()},set actions(re){we(re),_()},$set:Wt,$on:(re,ft)=>Ut(t,re,ft)},cn=wt(),Xn=ze(cn);{var Pn=re=>{var ft=L0(),Bt=ze(ft);let hr;var Cr=I(Bt);{let Re=u(()=>f().title||v.workspace_links_untitled_label()),st=u(()=>`workspace-status-state-${f().id}${A()?` workspace-pinned-state-${f().id}`:""}${e(ue)?` ${e(q)}`:""}`),Qt=u(()=>e(V)?"page":void 0);yt(Cr,{variant:"plain",class:"absolute inset-0 z-0 h-auto w-auto rounded-md focus-visible:border-transparent focus-visible:bg-background/50 focus-visible:ring-0",get"aria-label"(){return e(Re)},get"aria-describedby"(){return e(st)},get"aria-current"(){return e(Qt)},"data-workspace-card-trigger":!0,onkeydown:De,onclick:Mt=>{Mt.stopPropagation(),Y()?.(Mt)}})}var An=m(Cr,2),kr=I(An);{var Bn=Re=>{var st=k0(),Qt=I(st);{var Mt=tr=>{Iu(tr,{get workspaceId(){return f().id},get slot(){return o()}})};M(Qt,tr=>{o()!==null&&tr(Mt)})}w(st),d(Re,st)};M(kr,Re=>{a()&&Re(Bn)})}var Fn=m(kr,2);Do(Fn,{get content(){return e(J).tooltip},side:"bottom",sideOffset:4,children:(Re,st)=>{Xm(Re,{get status(){return e(Ge)},size:14,decorative:!0,class:"justify-start"})},$$slots:{default:!0}});var Zn=m(Fn,2),zn=R(Zn,!0);w(An);var Vr=m(An,2),vn=I(Vr),sr=I(vn),Kr=I(sr),ra=R(Kr,!0);gr(Kr,Re=>N(Ae,Re),()=>e(Ae)),w(sr),gr(sr,Re=>N(fe,Re),()=>e(fe));var Sr=m(sr,2);{var Er=Re=>{var st=S0(),Qt=ze(st),Mt=I(Qt);Pt(Mt,{get icon(){return il},size:"xs"}),w(Qt);var tr=m(Qt,2),vr=R(tr,!0);k(dn=>{mt(Qt,1,`wc-pin-indicator inline-flex shrink-0 items-center text-muted-foreground transition-opacity
|
|
260
|
-
${Ee()?Me()?"opacity-0":ce()?"":Pe()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),se(tr,"id",`workspace-pinned-state-${f().id??""}`),x(vr,dn)},[()=>v.layout_activeCard_pinned_header()]),d(Re,st)};M(Sr,Re=>{A()&&Re(Er)})}w(vn);var $r=m(vn,2);{var ca=Re=>{var st=I0(),Qt=R(st,!0);k(()=>x(Qt,j())),d(Re,st)};M($r,Re=>{j()&&Re(ca)})}var Gr=m($r,2);{var en=Re=>{const st=u(()=>e(ct));var Qt=E0(),Mt=I(Qt);{let tr=u(()=>Be(e(st)));Do(Mt,{get content(){return e(tr)},side:"bottom",sideOffset:4,children:(vr,dn)=>{var xn=wt(),un=ze(xn);{var fr=Lr=>{{let yr=u(()=>Be(e(st)));yt(Lr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(st).foregroundClass??""}`},get"aria-label"(){return e(yr)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(st).identity},get"data-pr-status"(){return e(st).status},onclick:Or=>{Or.stopPropagation();const Pr=f().id;Yf(async()=>{const{handleLink:an}=await import("./
|
|
260
|
+
${Ee()?Me()?"opacity-0":ce()?"":Pe()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),se(tr,"id",`workspace-pinned-state-${f().id??""}`),x(vr,dn)},[()=>v.layout_activeCard_pinned_header()]),d(Re,st)};M(Sr,Re=>{A()&&Re(Er)})}w(vn);var $r=m(vn,2);{var ca=Re=>{var st=I0(),Qt=R(st,!0);k(()=>x(Qt,j())),d(Re,st)};M($r,Re=>{j()&&Re(ca)})}var Gr=m($r,2);{var en=Re=>{const st=u(()=>e(ct));var Qt=E0(),Mt=I(Qt);{let tr=u(()=>Be(e(st)));Do(Mt,{get content(){return e(tr)},side:"bottom",sideOffset:4,children:(vr,dn)=>{var xn=wt(),un=ze(xn);{var fr=Lr=>{{let yr=u(()=>Be(e(st)));yt(Lr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(st).foregroundClass??""}`},get"aria-label"(){return e(yr)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(st).identity},get"data-pr-status"(){return e(st).status},onclick:Or=>{Or.stopPropagation();const Pr=f().id;Yf(async()=>{const{handleLink:an}=await import("./CfV9aH5z.js").then(na=>na.V);return{handleLink:an}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55]),import.meta.url).then(({handleLink:an})=>an(e(st).url,{workspaceId:Pr,event:Or}))},children:(Or,Pr)=>{Pt(Or,{get icon(){return e(st).statusIcon},size:14})},$$slots:{default:!0}})}},jr=Lr=>{var yr=C0(),Or=I(yr);Pt(Or,{get icon(){return e(st).statusIcon},size:14}),w(yr),k(Pr=>{mt(yr,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(st).foregroundClass??""}`,"svelte-1ct56pd"),se(yr,"aria-label",Pr),se(yr,"data-pr-identity",e(st).identity),se(yr,"data-pr-status",e(st).status)},[()=>Be(e(st))]),d(Lr,yr)};M(un,Lr=>{e(st).url?Lr(fr):Lr(jr,-1)})}d(vr,xn)},$$slots:{default:!0}})}w(Qt),k(tr=>se(Qt,"aria-label",tr),[()=>e(st).resource?.repository.provider==="gitlab"?v.workspace_hoverCard_mergeRequest_label():v.workspace_hoverCard_pullRequest_label()]),d(Re,Qt)};M(Gr,Re=>{e(ct)&&Re(en)})}var Jr=m(Gr,2);{var da=Re=>{var st=P0(),Qt=I(st);{var Mt=vr=>{{let dn=u(()=>pl(f()));Rp(vr,{get date(){return e(dn)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},tr=u(()=>pl(f())>0);M(Qt,vr=>{e(tr)&&vr(Mt)})}w(st),k(()=>mt(st,1,`wc-secondary shrink-0 ${we()||Ee()||h()&&de()?Me()?"opacity-0":ce()?"":Pe()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),d(Re,st)};M(Jr,Re=>{L()&&Re(da)})}w(Vr);var Ta=m(Vr,2);{var Ra=Re=>{var st=T0(),Qt=I(st);{var Mt=fr=>{{let jr=u(()=>A()?"text-primary-ink":"text-muted-foreground"),Lr=u(()=>A()?v.workspace_card_unpin_ariaLabel():v.workspace_card_pin_ariaLabel()),yr=u(()=>A()?v.workspace_card_unpin_tooltip():v.workspace_card_pin_tooltip());yt(fr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
|
|
261
261
|
${e(jr)??""}`},onclick:Or=>{Or.stopPropagation(),Ee()?.(Or)},get"aria-label"(){return e(Lr)},get title(){return e(yr)},children:(Or,Pr)=>{var an=A0(),na=I(an);Pt(na,{get icon(){return il},size:"xs"}),w(an),d(Or,an)},$$slots:{default:!0}})}};M(Qt,fr=>{Ee()&&fr(Mt)})}var tr=m(Qt,2);{var vr=fr=>{{let jr=u(()=>v.workspace_card_markAsRead_label()),Lr=u(()=>v.workspace_card_markAsRead_label());yt(fr,{variant:"plain",size:"icon-xs",iconOnly:!0,class:"text-muted-foreground hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0",onclick:yr=>{yr.stopPropagation(),de()?.(yr)},get"aria-label"(){return e(jr)},get title(){return e(Lr)},children:(yr,Or)=>{Pt(yr,{get icon(){return Qc},size:"xs"})},$$slots:{default:!0}})}};M(tr,fr=>{h()&&de()&&fr(vr)})}var dn=m(tr,2);pn(dn,()=>we()??Os);var xn=m(dn,2);{var un=fr=>{{let jr=u(bt),Lr=u(()=>v.workspace_progressCard_actions_ariaLabel());Ii(fr,{get items(){return e(jr)},get ariaLabel(){return e(Lr)},class:"flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:outline-none",get open(){return e(ot)},set open(yr){N(ot,yr,!0)}})}};M(xn,fr=>{ne()&&fr(un)})}w(st),gr(st,fr=>N(Fe,fr),()=>e(Fe)),k(()=>mt(st,1,`wc-actions absolute right-1 top-1/2 z-20 flex -translate-y-1/2 items-center gap-0.5 rounded-md bg-accent/95 px-0.5 focus-within:opacity-100
|
|
262
262
|
${Pe()?"group-focus-within/wc:opacity-100":"group-focus-within:opacity-100"}
|
|
263
263
|
${Me()?"opacity-100":ce()?"opacity-0":Pe()?"opacity-0 group-hover/wc:opacity-100":"opacity-0 group-hover:opacity-100"}`,"svelte-1ct56pd")),d(Re,st)};M(Ta,Re=>{(we()||ne()||Ee()||h()&&de())&&Re(Ra)})}w(Bt),gr(Bt,Re=>N(be,Re),()=>e(be)),Mn(Bt,(Re,st)=>Is?.(Re,st),()=>({id:pe()}));var Yr=m(Bt,2);{var tn=Re=>{th(Re,{get id(){return e(q)},get anchor(){return`--workspace-list-${f().id??""}`},position:"right",get anchorElement(){return e(be)},class:"w-auto overflow-visible! rounded-lg border-0! bg-background! shadow-none!",onmouseenter:Zt,onmouseleave:_t,onfocusin:Ht,onfocusout:er,children:(st,Qt)=>{var Mt=R0(),tr=I(Mt);rh(tr,{get workspace(){return f()},get activeAgentIds(){return H()},onkeydown:Je}),w(Mt),gr(Mt,vr=>N(tt,vr),()=>e(tt)),Cn("pointerenter",Mt,Zt),Cn("pointerleave",Mt,_t),Tr("focusin",Mt,Ht),Tr("focusout",Mt,er),d(st,Mt)},$$slots:{default:!0}})};M(Yr,Re=>{e(ue)&&!ce()&&Re(tn)})}var W=m(Yr,2);{var Ne=Re=>{const st=u(bt);var Qt=wt(),Mt=ze(Qt);{var tr=vr=>{{let dn=u(()=>e(et)?.x??0),xn=u(()=>e(et)?.y??0),un=u(()=>e(et)?.returnFocus),fr=u(()=>v.workspace_progressCard_actions_ariaLabel());Uc(vr,{get x(){return e(dn)},get y(){return e(xn)},get returnFocus(){return e(un)},get ariaLabel(){return e(fr)},get items(){return e(st)},onClickOutside:kt})}};M(Mt,vr=>{e(st).length>0&&vr(tr)})}d(Re,Qt)};M(W,Re=>{e(et)&&Re(Ne)})}k((Re,st,Qt)=>{mt(Bt,1,Re,"svelte-1ct56pd"),se(Bt,"data-pinned",A()),se(Bt,"data-highlight-id",pe()),hr=On(Bt,"",hr,{"anchor-name":`--workspace-list-${f().id??""}`}),se(Zn,"id",`workspace-status-state-${f().id??""}`),x(zn,e(J).accessibleName),mt(sr,1,`wc-title type-body min-w-0 truncate font-normal!
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as I}from"./
|
|
1
|
+
import{p as I}from"./C1H4_ssx.js";import{c6 as _,aK as E,aP as F,c9 as D,aL as P,c7 as z,f as c,c4 as G,a0 as B,$ as C,aN as w,ax as W,bC as b,aX as V,a6 as H}from"./LhLTjc8B.js";import{p as X}from"./CBeBcrFe.js";var m={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},y=32,A={axes:[],curves:[],options:m},x=structuredClone(A),j=W.radar,K=c(()=>C({...j,...w().radar}),"getConfig"),M=c(()=>x.axes,"getAxes"),N=c(()=>x.curves,"getCurves"),U=c(()=>x.options,"getOptions"),Y=c(a=>{x.axes=a.map(t=>({name:t.name,label:t.label??t.name}))},"setAxes"),Z=c(a=>{x.curves=a.map(t=>({name:t.name,label:t.label??t.name,entries:q(t.entries)}))},"setCurves"),q=c(a=>{if(a[0].axis==null)return a.map(e=>e.value);const t=M();if(t.length===0)throw new Error("Axes must be populated before curves for reference entries");return t.map(e=>{const r=a.find(s=>s.axis?.$refText===e.name);if(r===void 0)throw new Error("Missing entry for axis "+e.label);return r.value})},"computeCurveEntries"),J=c(a=>{const t=a.reduce((e,r)=>(e[r.name]=r,e),{});x.options={showLegend:t.showLegend?.value??m.showLegend,ticks:t.ticks?.value??m.ticks,max:t.max?.value??m.max,min:t.min?.value??m.min,graticule:t.graticule?.value??m.graticule},x.options.ticks>y&&(b.warn(`Radar diagram ticks (${x.options.ticks}) exceeds maximum allowed (${y}). Using ${y} instead.`),x.options.ticks=y)},"setOptions"),Q=c(()=>{B(),x=structuredClone(A)},"clear"),$={getAxes:M,getCurves:N,getOptions:U,setAxes:Y,setCurves:Z,setOptions:J,getConfig:K,clear:Q,setAccTitle:z,getAccTitle:P,setDiagramTitle:D,getDiagramTitle:F,getAccDescription:E,setAccDescription:_},tt=c(a=>{I(a,$);const{axes:t,curves:e,options:r}=a;$.setAxes(t),$.setCurves(e),$.setOptions(r)},"populate"),et={parse:c(async a=>{const t=await X("radar",a);b.debug(t),tt(t)},"parse")},at=c((a,t,e,r)=>{const s=r.db,i=s.getAxes(),l=s.getCurves(),n=s.getOptions(),o=s.getConfig(),d=s.getDiagramTitle(),p=G(t),u=rt(p,o),g=n.max??Math.max(...l.map(f=>Math.max(...f.entries))),h=n.min,v=Math.min(o.width,o.height)/2;st(u,i,v,n.ticks,n.graticule),nt(u,i,v,o),L(u,i,l,h,g,n.graticule,o),k(u,l,n.showLegend,o),u.append("text").attr("class","radarTitle").text(d).attr("x",0).attr("y",-o.height/2-o.marginTop)},"draw"),rt=c((a,t)=>{const e=t.width+t.marginLeft+t.marginRight,r=t.height+t.marginTop+t.marginBottom,s={x:t.marginLeft+t.width/2,y:t.marginTop+t.height/2};return H(a,r,e,t.useMaxWidth??!0),a.attr("viewBox",`0 0 ${e} ${r}`).attr("overflow","visible"),a.append("g").attr("transform",`translate(${s.x}, ${s.y})`)},"drawFrame"),st=c((a,t,e,r,s)=>{if(s==="circle")for(let i=0;i<r;i++){const l=e*(i+1)/r;a.append("circle").attr("r",l).attr("class","radarGraticule")}else if(s==="polygon"){const i=t.length;for(let l=0;l<r;l++){const n=e*(l+1)/r,o=t.map((d,p)=>{const u=2*p*Math.PI/i-Math.PI/2,g=n*Math.cos(u),h=n*Math.sin(u);return`${g},${h}`}).join(" ");a.append("polygon").attr("points",o).attr("class","radarGraticule")}}},"drawGraticule"),nt=c((a,t,e,r)=>{const s=t.length;for(let i=0;i<s;i++){const l=t[i].label,n=2*i*Math.PI/s-Math.PI/2,o=Math.cos(n),d=Math.sin(n);a.append("line").attr("x1",0).attr("y1",0).attr("x2",e*r.axisScaleFactor*o).attr("y2",e*r.axisScaleFactor*d).attr("class","radarAxisLine");const p=o>.01?"start":o<-.01?"end":"middle",u=d>.01?"hanging":d<-.01?"auto":"central",g=4;a.append("text").text(l).attr("x",e*r.axisLabelFactor*o+g*o).attr("y",e*r.axisLabelFactor*d+g*d).attr("text-anchor",p).attr("dominant-baseline",u).attr("class","radarAxisLabel")}},"drawAxes");function L(a,t,e,r,s,i,l){const n=t.length,o=Math.min(l.width,l.height)/2;e.forEach((d,p)=>{if(d.entries.length!==n)return;const u=d.entries.map((g,h)=>{const v=2*Math.PI*h/n-Math.PI/2,f=T(g,r,s,o),O=f*Math.cos(v),R=f*Math.sin(v);return{x:O,y:R}});i==="circle"?a.append("path").attr("d",S(u,l.curveTension)).attr("class",`radarCurve-${p}`):i==="polygon"&&a.append("polygon").attr("points",u.map(g=>`${g.x},${g.y}`).join(" ")).attr("class",`radarCurve-${p}`)})}c(L,"drawCurves");function T(a,t,e,r){const s=Math.min(Math.max(a,t),e);return r*(s-t)/(e-t)}c(T,"relativeRadius");function S(a,t){const e=a.length;let r=`M${a[0].x},${a[0].y}`;for(let s=0;s<e;s++){const i=a[(s-1+e)%e],l=a[s],n=a[(s+1)%e],o=a[(s+2)%e],d={x:l.x+(n.x-i.x)*t,y:l.y+(n.y-i.y)*t},p={x:n.x-(o.x-l.x)*t,y:n.y-(o.y-l.y)*t};r+=` C${d.x},${d.y} ${p.x},${p.y} ${n.x},${n.y}`}return`${r} Z`}c(S,"closedRoundCurve");function k(a,t,e,r){if(!e)return;const s=(r.width/2+r.marginRight)*3/4,i=-(r.height/2+r.marginTop)*3/4,l=20;t.forEach((n,o)=>{const d=a.append("g").attr("transform",`translate(${s}, ${i+o*l})`);d.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${o}`),d.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(n.label)})}c(k,"drawLegend");var ot={draw:at},it=c((a,t)=>{let e="";for(let r=0;r<a.THEME_COLOR_LIMIT;r++){const s=a[`cScale${r}`];e+=`
|
|
2
2
|
.radarCurve-${r} {
|
|
3
3
|
color: ${s};
|
|
4
4
|
fill: ${s};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{z as te,N as ne,x as se,dz as D,cC as C,dj as re,ak as oe,a_ as N,y as ae,dK as ie}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DY2nfza0.js","/app/immutable/chunks/Bo4f3vLH.js","/app/immutable/chunks/CgPr4hs2.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/chunks/CsstSIr0.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Ps9iRbKd.js","/app/immutable/chunks/D3ROSEe0.js","/app/immutable/chunks/D2g8BuR1.js","/app/immutable/chunks/Co_Aa6ij.js","/app/immutable/chunks/P80hEEPK.js","/app/immutable/chunks/DJuSbP_R.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/CFHzcj7N.js","/app/immutable/chunks/D32qvOGn.js","/app/immutable/chunks/BL_sVoge.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/D2AmAQEr.js","/app/immutable/chunks/B7NNbItI.js","/app/immutable/chunks/CUrlpJj4.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/C6rJFcL9.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/BiFqz5BS.js","/app/immutable/chunks/BRqvd9LR.js","/app/immutable/chunks/D-Zd1oaK.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/BKANDKfj.js","/app/immutable/chunks/DypB-Dwi.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{z as te,N as ne,x as se,dz as D,cC as C,dj as re,ak as oe,a_ as N,y as ae,dK as ie}from"./Df2ohObb.js";import{_ as v,bo as S}from"./CgPr4hs2.js";import{tV as ce,zs as V,mw as f,tX as ue,AF as F,G9 as u,cq as le,cr as de,mx as W,mj as fe,c as $,fs as me,g as pe,kO as ge,cy as he}from"./BL_sVoge.js";import{bM as Se}from"./86pQg5ba.js";import{x as ye,J as Ae,ag as be,ao as we}from"./C7KdCylX.js";import{a as H}from"./DypB-Dwi.js";import{s as Me}from"./CE7ZtQHh.js";import{bx as Ie}from"./Ps9iRbKd.js";import{C as _e}from"./D-Zd1oaK.js";import{q as Ce,v as ve}from"./CFHzcj7N.js";import{a as Te}from"./C94wEIre.js";function Re(e){try{return new URL(e.pageUrl).hostname||e.pageUrl}catch{return e.pageUrl}}function bt(e,t){return e.targetAgentId===t}function wt(e){const t=e.element,n=e.viewport,s=Re(e),r=t?`<${t.tagName.toLowerCase()}> · ${s}`:e.title||s,o=["<browser-element-capture>",`Page URL: ${e.pageUrl}`,`Page title: ${e.title}`,...t?[`DOM path: ${t.domPath}`,`CSS selector: ${t.selector}`,`Text snippet: ${t.textSnippet}`,...t.sourceRef?[`Source ref: ${t.sourceRef}`]:[],...n?[`Viewport: ${n.width}×${n.height}`]:[],`Element bounds: ${t.rect.width}×${t.rect.height} at (${t.rect.x}, ${t.rect.y})`]:[],"</browser-element-capture>"].join(`
|
|
3
3
|
`);return[{id:`${e.id}-image`,type:"file",label:r,imageData:e.image.data,imageMimeType:e.image.mimeType},{id:`${e.id}-context`,type:"selection",label:r,content:o}]}function $e(e,t){const n=t.filter(s=>s.type==="selection").flatMap(s=>s.content?.trim()?[s.content.trim()]:[]);return[e.trim(),...n].filter(Boolean).join(`
|
|
4
4
|
`)}function ke(e){const t=e.filter(s=>(s.imageData||s.attachmentId)&&s.imageMimeType).map(s=>s.attachmentId?{type:"image",attachmentId:s.attachmentId,...s.imageMimeType.includes("/")?{mimeType:s.imageMimeType}:{}}:{type:"image",data:s.imageData,mimeType:s.imageMimeType,...s.placementFileName?{placementFileName:s.placementFileName}:{}}),n=e.filter(s=>s.attachmentId&&!s.imageMimeType).map(s=>({type:"file",attachmentId:s.attachmentId,fileName:s.label,...s.attachmentMimeType?{mimeType:s.attachmentMimeType}:{},...s.attachmentSize!==void 0?{size:s.attachmentSize}:{}}));return{imageBlocks:t,fileBlocks:n}}function Ee(e=[],t=[],n=[]){const s=[];for(const r of t)r.type==="file"&&r.filePath?s.push(`[Currently viewing file: ${r.filePath}]`):r.type==="diff"&&r.filePath?s.push(`[Currently viewing diff for: ${r.filePath}]`):r.type==="note"&&r.noteId?s.push(`[Currently viewing note: "${r.label}" (ID: ${r.noteId}). Read it with ws.note.read("${r.noteId}").]`):r.type==="spec"?s.push("[Currently viewing: Spec]"):r.type==="browser"&&r.browserUrl&&s.push(`[Currently viewing browser: ${r.browserUrl}]`);for(const r of n){const o=r.text.trim(),a=o.length>500?o.substring(0,500)+"...":o,i=r.sourceLabel?` from ${r.sourceLabel}`:"";s.push(`[Selected text${i}:
|
|
5
5
|
\`\`\`
|
|
6
6
|
${a}
|
|
7
7
|
\`\`\`]`)}return $e(s.join(`
|
|
8
|
-
`),e)}function Mt(e,t,n){if(e==="suggested-prompt")return{fields:{},hasAttachments:!1,cleanup:{clearInput:!1,followBottom:!0,historyText:null}};const s=n(),{imageBlocks:r,fileBlocks:o}=ke(s.contextItems);return{fields:{contextItems:s.contextItems,workspaceContextStr:Ee(s.contextItems,s.checkedPanels,s.checkedSelections),noteIds:s.noteIds,...r.length>0?{imageBlocks:r}:{},...o.length>0?{fileBlocks:o}:{},...s.pickedMentions?{messageMetadata:s.pickedMentions}:{}},hasAttachments:r.length>0||o.length>0,cleanup:{clearInput:!0,followBottom:!0,historyText:t}}}function It(e,t){if(e)return e.model}function Le({messages:e,pendingInitialPrompt:t,pendingContextReferenceCount:n=0}){return e.length>0||!!t||n>0}function _t({session:e,messages:t,pendingInitialPrompt:n,pendingContextReferenceCount:s=0}){return!(e?te(e):!1)&&!Le({messages:t,pendingInitialPrompt:n,pendingContextReferenceCount:s})}function Ct(e){return ne(e.messageMetadata)}function vt(e,t){const n=new Set;for(const s of t){const r=se(s.metadata);r&&n.add(r)}return n.size===0?[...e]:e.filter(s=>!n.has(s.id))}function xe(e){return{id:e.id,appMessageId:e.appMessageId,role:"user",timestamp:new Date(e.createdAt??0).toISOString(),contentBlocks:[...e.content?[{type:"text",text:e.content}]:[],...e.imageBlocks??[],...e.fileBlocks??[]],metadata:e.messageMetadata,...e.author!==void 0?{author:e.author}:{}}}function Tt(e){return xe({...e,createdAt:Date.parse(e.queuedAt)})}const Pe="chat-read:",y=new Map,T=new Set;function Rt(e,t){let n=y.get(e);n||(n=new Set,y.set(e,n)),n.add(t)}function $t(e,t){const n=y.get(e);if(!(!n||!n.delete(t))&&n.size===0){y.delete(e);for(const s of[...T])s(e)}}function kt(e){return T.add(e),()=>T.delete(e)}function Et(e){return y.has(e)}function Lt(e){const t=y.get(e);if(!t)return!1;for(const n of t)if(!n.startsWith(Pe))return!0;return!1}function De(e,t,n){const s=e.state.pendingSubmissions.byAgentId[t.agentId];if(!s||!V(s.scope,t))return null;const r={...structuredClone(n),id:crypto.randomUUID(),createdAt:Date.now()};e.dispatch(ue(t,r));const o=e.state.pendingSubmissions.byAgentId[t.agentId];return o&&f(o.submissions,r.id)?r:null}function He(e,t,n,s,r){const o=D.select(e.state,n),a=C.select(e.state)?.principal.id,i=H(e.state);if(!o||!a||!i)return null;const c=ye(t,n),l={agentId:t,workspaceId:n,principalId:a,participation:o,authority:i,owner:c.key,lifetime:e.state.pendingSubmissions.byAgentId[t]?.scope.lifetime??crypto.randomUUID()},m=()=>c.isCurrent(e.state.agentSessions?.byAgentId[t]?.workspaceId)&&D.select(e.state,n)===o&&C.select(e.state)?.principal.id===a&&H(e.state)===i;if(!m())return null;e.dispatch(ce(l,s,re.select(e.state,n)));const d=De(e,l,r);return d?{scope:l,submission:d,isCurrent:()=>{const h=e.state.pendingSubmissions.byAgentId[t];return m()&&!!h&&V(h.scope,l)&&(!!f(h.operations,d.id)||!!f(h.submissions,d.id))}}:null}function R(e,t,n){if(!n.text.trim()&&!n.imageBlocks?.length&&!n.fileBlocks?.length)return null;const s=n.userAppMessageId??Ae();return He(e,t,n.wsId,C.select(e.state)?.capabilities.submissionCorrelation,{content:n.text.trim(),appMessageId:s,destination:!n.forceSubmit&&oe.select(e.state,t)?"queue":"conversation",contextItems:n.contextItems,imageBlocks:n.imageBlocks,fileBlocks:n.fileBlocks,messageMetadata:n.messageMetadata})}function Oe(e,t,n){const s=R(e,t,n);return s?(e.dispatch(F(t,{...n,userAppMessageId:s.submission.appMessageId,submission:{scope:s.scope,id:s.submission.id}})),!0):!1}async function Be(e,t,n,s){const r=n.submission;if(!r)return"legacy";const o=r.reference,a=()=>o.scope.agentId===e&&o.scope.workspaceId===t&&N.select(u.state,e)===n?Se.select(u.state,o.scope):void 0,i=a();if(!i)return null;if(!i.supported)return"legacy";const c={wsId:t,text:n.text,imageBlocks:n.options?.imageBlocks,fileBlocks:n.options?.fileBlocks,noteIds:n.options?.noteIds,messageMetadata:n.options?.messageMetadata,model:s??n.options?.model};if(r.outcome==="rejected"){const p=f(i.tombstones,o.id);return f(i.submissions,o.id)||p&&p.reason!=="rejected"?null:R(u,e,c)}if(r.outcome==="accepted")return R(u,e,c);await Promise.all([be(e,t).catch(()=>{}),we(e,t).catch(()=>{})]);const l=a();if(!l||f(l.submissions,o.id)?.status!=="uncertain")return null;const{notify:m}=await v(async()=>{const{notify:p}=await import("./BW5wGxdP.js").then(ee=>ee.i);return{notify:p}},__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]),import.meta.url);if(a()!==l)return null;let d=!1;const h=()=>{d=!0};return m.warning(S.agent_chatSend_uncertainRetry_description(),{key:`submission-retry:${t}:${e}:${o.id}`,duration:Number.POSITIVE_INFINITY,action:{label:S.agent_chatSend_resend_label(),onClick:()=>{if(d)return;d=!0;const p=a();!p||p.generation!==l.generation||p.submissions!==l.submissions||p.observationVersion!==l.observationVersion||f(p.submissions,o.id)?.status!=="uncertain"||Oe(u,e,c)}},cancel:{label:S.chat_richInput_cancel_label(),onClick:h},onDismiss:h}),null}async function xt(e,t,n){const s=N.select(u.state,e),r=s?.submission?await Be(e,t,s,n):"legacy";if(r){if(r==="legacy"){await u.dispatch(n===void 0?le(e,t):de(e,t,n));return}!r.isCurrent()||!s||u.dispatch(F(e,{wsId:t,text:s.text,imageBlocks:s.options?.imageBlocks,fileBlocks:s.options?.fileBlocks,noteIds:s.options?.noteIds,messageMetadata:s.options?.messageMetadata,model:n??s.options?.model,userAppMessageId:r.submission.appMessageId,submission:{scope:r.scope,id:r.submission.id}}))}}const Pt=u.createSelector((e,t)=>{const n=f(e.chatDrafts.owners,t);return n?{restore:n.restore,saves:W(n.saves)}:void 0});function Ue(e,t){return t.workspaceId===e&&!t.retiredAt&&!t.pendingDeleteAt&&t.status!==$.Deleted&&!t.notificationsMuted&&me(t)==="topLevel"}function Ne(e){const t=e.metadata?.pendingQuestionsMessageId;return typeof t=="string"&&t.length>0&&!Me(e.metadata,t)?t:null}function Ve(e){return e.status===$.Error&&!ae(ie(e))}function Dt(e,t){return t.filter(n=>Ue(e,n)).flatMap(n=>{const s=fe(n),r=Ne(n),o=n.status===$.Error;if(!s&&!r&&!o)return[];const a=s?.timestamp??(o?n.stopReasonTimestamp:void 0);return[{agentId:n.id,agentName:n.name,kind:s?.kind??(o?"failed":"question"),reason:s?.reason,timestamp:a&&Number.isFinite(Date.parse(a))?a:void 0,questionMessageId:r,canRetry:Ve(n)}]})}function Ht(e){return e.displayStatus==="failed"?"failed":e.displayStatus==="blocked"?"blocked":e.attention==="review_required"?"review":e.displayStatus==="needs_attention"?"question":e.displayStatus==="pr_ready"?"pr_ready":e.activity==="agent_running"||e.displayStatus==="in_progress"?"running":e.scriptsRunning===!0?"scripts_running":e.backgroundTasksRunning===!0?"background_tasks_running":e.displayStatus==="pr_merged"?"merged":e.displayStatus==="complete"?"complete":e.attention==="unread"?"unread":e.displayStatus==="pr_open"||e.displayStatus==="pr_queued"?e.displayStatus:"idle"}function Ot(e){const t=e.kind==="prs"?e.organization?.trim().toLowerCase():void 0;return{key:JSON.stringify([e.kind,e.workspaceId,t||null,[...new Set((t?[]:e.repositories).map(n=>JSON.stringify([n.key,n.owner,n.name])))].sort()]),hasGitHubRepositories:!!t||e.repositories.some(n=>!!n.owner),hasLocalRepositories:!t&&e.repositories.some(n=>!n.owner)}}function k(e){const t=Ie(e);if(t?.kind!=="pr"||!Number.isSafeInteger(t.number)||t.number<=0)return null;const n=t.owner.toLowerCase(),s=t.repo.toLowerCase();return{owner:n,repo:s,number:t.number,id:`${n}/${s}#${t.number}`,url:`https://github.com/${n}/${s}/pull/${t.number}`}}function Bt(e,t,n,s){const r=e.filter(o=>s?s.includes(o.id):n?o.repositoryOwner?.toLowerCase()===n.toLowerCase():t.some(a=>a.owner?.toLowerCase()===o.repositoryOwner?.toLowerCase()&&a.name.toLowerCase()===o.repositoryName?.toLowerCase()));return[...new Map(r.flatMap(o=>[...(o.pullRequests??[]).map(a=>a.url),o.activePullRequest?.url,o.prUrl]).flatMap(o=>{const a=o?k(o):null;return a?[[a.id,{owner:a.owner,repo:a.repo,number:a.number}]]:[]})).values()].sort((o,a)=>`${o.owner}/${o.repo}#${o.number}`.localeCompare(`${a.owner}/${a.repo}#${a.number}`))}function Ut(e,t){const[n]=t;return t.length!==1||e.owner?.toLowerCase()!==n?.owner?.toLowerCase()||e.repo?.toLowerCase()!==n?.name.toLowerCase()}const Nt=u.createSelector(e=>e.homeIntegrations),Vt=u.createSelector(e=>{const t=e.homeIntegrations;return!t.linkedItems||!Object.keys(t.linkedItems).length?t:{...t,items:[...new Map([...Object.values(t.linkedItems),...t.items].map(n=>[n.id,n])).values()].sort((n,s)=>(s.updatedAt??"").localeCompare(n.updatedAt??""))}}),q=u.createSelector(e=>W(e.workspace.workspaces).flatMap(t=>[...(t.pullRequests??[]).map(n=>n.url),t.activePullRequest?.url,t.prUrl].filter(n=>!!n).map(n=>({url:k(n)?.url??n.replace(/\/$/,"").toLowerCase(),workspaceId:t.id,name:t.title||t.id})))),Ft=u.createSelector(e=>{const t=e.homeIntegrations.detail?.url,n=t?k(t)?.url??t.replace(/\/$/,"").toLowerCase():void 0;return q.select(e).find(s=>s.url===n)??null}),Wt=u.createSelector(e=>q.select(e).map(t=>t.url));function qt(e){return ve(e)}function Fe(e){return Ce(e)}function We(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function M(e){if(e.length===0)return[];const t=[];let n=null;for(const s of e){const r=s.timestamp?typeof s.timestamp=="string"?new Date(s.timestamp):s.timestamp:new Date;(!n||!We(n.date,r))&&(n={date:r,label:Fe(r),messages:[]},t.push(n)),n.messages.push(s)}return t}function Gt(e){const t=new Map;return e.map(({date:n})=>{const s=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`,r=t.get(s)??0;return t.set(s,r+1),r===0?s:`${s}#${r}`})}function Kt(e,t){const n=new Map;let s=t?null:void 0;for(const[r,o]of e.groups.entries()){r===e.gapBeforeGroupIndex&&(s=void 0);for(const a of o.messages)s!==void 0&&n.set(a.id,s),a.role==="user"&&!Te(a)&&(s=a)}return n}function qe(e){return`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`}function _(e,t){const n=new Map;return e.map(s=>{const r=`${t}-${qe(s.date)}`,o=(n.get(r)??0)+1;return n.set(r,o),{...s,groupKey:o===1?r:`${r}-${o}`}})}function Ge(e,t){if(e.length===0||t.length===0)return e;const n=new Set(t.map(o=>o.id)),s=new Set(t.map(o=>o.appMessageId).filter(o=>typeof o=="string"&&o.length>0)),r=e.filter(o=>!n.has(o.id)&&!(typeof o.appMessageId=="string"&&o.appMessageId.length>0&&s.has(o.appMessageId)));return r.length===e.length?e:r}function jt(e,t,n){if(e=Ge(e,t),e.length===0)return{groups:M(t),gapBeforeGroupIndex:null};if(!n)return{groups:_(M([...e,...t]),"d"),gapBeforeGroupIndex:null};const s=_(M(e),"h"),r=_(M(t),"t");return{groups:[...s,...r],gapBeforeGroupIndex:s.length}}function zt(e){const{scrollTop:t,threshold:n,fetching:s,exhausted:r,historyCount:o,tailCount:a,tailTruncated:i,totalMessages:c,spacerAbove:l=0}=e;return t>n+l||s||r?!1:o>0||i||c>a+o}const Qt=300;function Yt(e){const{fetching:t,chainEvaluationPending:n,visible:s,hideArmed:r}=e;return t||n?s&&!r?"none":"show":s&&!r?"arm-hide":"none"}const O=24,Ke=320;function E(e){return Number.isFinite(e)?Math.min(Ke,Math.max(O,e)):O}const je=.2,ze=.12;function Qe(e,t,n=je){const s=E(t);return e===null||!Number.isFinite(e)?s:e+n*(s-e)}function Xt(e,t){const n=E(t??Number.NaN);return{above:Math.round(Math.max(0,e.above)*n),below:Math.round(Math.max(0,e.below)*n)}}function Jt(e){const{totalMessages:t,residentCount:n,exhausted:s,residentContentHeight:r,currentSpacerHeight:o,viewportHeight:a}=e;let i=e.rowHeightEma;n>0&&r>0&&(i=Qe(i,r/n));const c=e.unloadedRows??t-n,m=s||t<=0||n<=0||c<=0||i===null?0:Math.round(c*i),d=Math.abs(m-o);return d===0?{spacerHeight:o,rowHeightEma:i,applied:!1,scrollTopDelta:0}:m===0||o===0||d>o*ze||a>0&&d>a?{spacerHeight:m,rowHeightEma:i,applied:!0,scrollTopDelta:m-o}:{spacerHeight:o,rowHeightEma:i,applied:!1,scrollTopDelta:0}}const Ye=_e,Xe=2;function Zt(e){const{scrollTop:t,spacerAboveHeight:n,rowHeightEstimate:s,pageSize:r=Ye,nearPages:o=Xe}=e;if(n<=0||t>=n)return"serial";const a=E(s??Number.NaN);return(n-Math.max(0,t))/a>o*r?"seek":"serial"}const G=200,Je=1;function en(e,t,n=G){const s=t.timestamp-n;return[...e.filter(r=>r.timestamp>=s),t]}function tn(e){const{samples:t,viewportHeight:n,windowMs:s=G,viewportFactor:r=Je}=e;if(n<=0||t.length<2)return"gentle";const o=t[t.length-1].timestamp-s,a=t.filter(c=>c.timestamp>=o);if(a.length<2)return"gentle";let i=0;for(let c=1;c<a.length;c+=1)i+=Math.abs(a[c].scrollTop-a[c-1].scrollTop);return i>n*r?"rapid":"gentle"}function nn(e){const{scrollTop:t,spacerAboveHeight:n,unloadedRowsAbove:s}=e;if(s<=0||n<=0)return 0;const r=Math.min(1,Math.max(0,t/n));return Math.min(s-1,Math.max(0,Math.floor(r*s)))}function sn(e){const{totalMessages:t,residentCount:n,exhausted:s,startOrdinalEstimate:r,gapToTail:o}=e,a=Math.max(0,t-n);if(a===0)return{above:0,below:0};if(!o)return{above:s?0:a,below:0};if(s)return{above:0,below:a};if(r!==null){const c=Math.min(a,Math.max(0,Math.round(r)));return{above:c,below:a-c}}const i=Math.min(a,Math.max(0,Math.round(e.holeRowsEstimate??0)));return{above:a-i,below:i}}function rn(e){const{exhausted:t,historyCount:n,tailCount:s,tailTruncated:r,totalMessages:o}=e;return t?!0:n>0?!1:!r&&o<=s}const K=new Map;function j(e,t){return`${e}\0${t}`}function on(e,t){return K.get(j(e,t))}function an(e,t,n){K.set(j(e,t),n)}const cn=u.createSelector((e,t,n)=>{const s=e.chatPanelUi.byWorkspaceId[t];return s?f(s.userMessageIndexes,n):void 0}),un=u.createSelector((e,t,n)=>{const s=e.chatPanelUi.byWorkspaceId[t];return s?f(s.retryAgents,n):void 0});function Ze(e){e=Math.max(0,e);const t=Math.floor(e/1e3);if(t<10){const o=e/1e3,a=o.toFixed(1);return a.endsWith(".0")?`${Math.round(o)}s`:`${a}s`}if(t<60)return`${t}s`;const n=Math.floor(t/3600),s=Math.floor(t%3600/60),r=t%60;return n>0?`${n}h ${s}m ${r}s`:`${s}m ${r}s`}function ln(e){return Ze(Math.max(1e3,Math.round(e/1e3)*1e3))}const et=new Set(["launch","init","session-create","session-load","prompt"]),tt=new Set(["tool-call","tool-waiting"]);function nt(e){let t=null;for(const n of e)(!t||n.timestamp>=t.timestamp)&&(t=n);return t}function dn(e){return e&&et.has(e)?"pulse":e&&tt.has(e)?"twist":"bloom"}const z="stalled";function fn(e,t){const n=nt(e);return!n||n.phase!==z||typeof t=="number"&&t>n.timestamp?null:n}function mn(e){let t=null;for(const n of e)n.phase!==z&&(!t||n.timestamp>=t.timestamp)&&(t=n);return t}const B={get title(){return S.chat_streamingStatus_sessionCorrupted_title()},get message(){return S.chat_streamingStatus_sessionCorrupted_message()}};function pn(e,t){return e?t===!0?{corrupted:!0,title:B.title,message:B.message,detail:e}:{corrupted:!1,title:S.chat_streamingStatus_responseFailed_label(),message:e,detail:null}:null}const gn=u.createSelector((e,t)=>e.unreadTracking.dividerSessionByAgentId[t]??null),hn=u.createSelector(e=>e.unreadTracking.currentlyViewedAgentId),Sn=u.createSelector(e=>{const t=[];for(const o of Object.values(e.panelLayout.byWorkspaceId))for(const a of Object.values(o.panels))for(const i of a.tabs)i.type==="agent"&&i.agentId&&t.push(i.agentId);const n=Object.keys(e.unreadTracking.dividerSessionByAgentId),s=new Set(e.agentSessions.agentIdsByWorkspace[pe]??[]);return{chiefCardVisible:e.sidebarNav.panelItem==="chief",chiefSessionAgentIds:n.filter(o=>s.has(o)),dividerSessionAgentIds:n,openAgentTabIds:t}}),yn=u.createSelector((e,t)=>f(e.questionUi.consumers,t)),st=3e4,b=new Map;function An(e,t){const n=b.get(e);n&&clearTimeout(n.timer);const s=setTimeout(()=>b.delete(e),st);b.set(e,{value:t,timer:s})}function bn(e){const t=b.get(e);if(t)return clearTimeout(t.timer),b.delete(e),t.value}const Q=u.createSelector((e,t,n)=>e.agentWorkers?.byKey[he(t,n)]??ge),rt=u.createSelector((e,t,n)=>{const s=Q.select(e,t,n);return s.status==="unsupported"?[]:(s.snapshot?.workers??[]).filter(r=>r.status==="running"||r.status==="unknown")}),wn=u.createSelector((e,t,n)=>{const s=Q.select(e,t,n);return s.status==="failed"?!0:s.status!=="ready"||!s.snapshot?!1:s.snapshot.truncated?!0:s.snapshot.support.status!=="supported"&&rt.select(e,t,n).length>0}),ot=1e3,Y={requireViewedAndFocused:!0,requireAssistantTail:!0},w=new Map,g=new Map;let A=null;function L(e){(e===void 0||A===e)&&(A=null)}const at=200;function it(e,t){if(g.delete(e),g.set(e,t),g.size>at){const n=g.keys().next().value;n!==void 0&&g.delete(n)}}function X(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(!n.isStreaming&&typeof n.id=="string"&&n.id.length>0)return n}return null}function Mn(e){return X(e)?.id??null}function In(e){x(e,{requireViewedAndFocused:!0})}function _n(e){x(e,{requireViewedAndFocused:!1})}function Cn(e){L(),x(e,Y)}function vn(e){A===e&&(w.has(e)||(A=null,P(e,Y)))}function Tn(e){for(const t of e)typeof t!="string"||t.length===0||(J(t),L(t),P(t,{requireViewedAndFocused:!1}))}function J(e){const t=w.get(e);t&&(clearTimeout(t.timer),w.delete(e))}function x(e,t){J(e),L(e);const n=setTimeout(()=>{w.delete(e),P(e,t)},ot);w.set(e,{timer:n,gates:t})}let U=null;function ct(){return U??=Promise.all([v(()=>import("./C5paQyk5.js"),__vite__mapDeps([25,17,18,3,19,20,13,5,8,2,11,26,27]),import.meta.url),v(()=>import("./Cgu6cLKT.js").then(e=>e.X),__vite__mapDeps([28,29,18,3,17,19,20,13,5,8,2,11,7,4,6,9,10,12,14,30,31,32]),import.meta.url)]).then(([e,t])=>({appStore:e.store,appClient:t.appClient})),U}async function P(e,t){let n=null;try{const{appStore:s,appClient:r}=await ct(),o=s.state;if(t.requireViewedAndFocused&&(o.unreadTracking?.currentlyViewedAgentId!==e||typeof document<"u"&&!document.hasFocus()))return;const a=o.agentSessions?.byAgentId[e];if(!a)return;const i=typeof a.workspaceId=="string"?a.workspaceId:"";if(i.length===0)return;if(t.requireAssistantTail&&o.chatState?.byAgentId[e]?.initialHistoryPending){A=e;return}const c=X(a.messages??[]);if(!c){t.requireAssistantTail&&(A=e);return}if(t.requireAssistantTail&&c.role!=="assistant")return;const l=c.id;if(g.get(e)===l)return;it(e,l),n=l,!(await r.agents.markSeen({workspaceId:i,agentId:e,messageId:l})).success&&g.get(e)===n&&g.delete(e)}catch{n!==null&&g.get(e)===n&&g.delete(e)}}const I=new Map;function Z(e,t){return`${e}\0${t}`}function Rn(e,t){return I.get(Z(e,t))}function $n(e,t,n){I.set(Z(e,t),n)}function kn(e){if(e.length===0)return;const t=new Set(e);for(const n of[...I.keys()]){const s=n.slice(n.indexOf("\0")+1);t.has(s)&&I.delete(n)}}export{xt as $,Et as A,Lt as B,Kt as C,rn as D,Ct as E,nn as F,Tn as G,Pe as H,vn as I,In as J,_n as K,Cn as L,ot as M,Mn as N,Qt as O,Yt as P,vt as Q,G as R,kt as S,xe as T,Mt as U,O as V,Be as W,Tt as X,Jt as Y,$t as Z,L as _,Rt as a,It as a0,Xt as a1,rt as a2,Q as a3,wn as a4,Pt as a5,hn as a6,Sn as a7,gn as a8,Nt as a9,Ft as aa,Vt as ab,Wt as ac,q as ad,yn as ae,un as af,cn as ag,$n as ah,an as ai,zt as aj,Ut as ak,sn as al,An as am,Oe as an,bn as ao,R as b,en as c,bt as d,wt as e,Gt as f,Ee as g,_t as h,tn as i,Zt as j,kn as k,Bt as l,jt as m,pn as n,Ot as o,Ge as p,ke as q,ln as r,qt as s,fn as t,Rn as u,on as v,Dt as w,Ht as x,mn as y,dn as z};
|
|
8
|
+
`),e)}function Mt(e,t,n){if(e==="suggested-prompt")return{fields:{},hasAttachments:!1,cleanup:{clearInput:!1,followBottom:!0,historyText:null}};const s=n(),{imageBlocks:r,fileBlocks:o}=ke(s.contextItems);return{fields:{contextItems:s.contextItems,workspaceContextStr:Ee(s.contextItems,s.checkedPanels,s.checkedSelections),noteIds:s.noteIds,...r.length>0?{imageBlocks:r}:{},...o.length>0?{fileBlocks:o}:{},...s.pickedMentions?{messageMetadata:s.pickedMentions}:{}},hasAttachments:r.length>0||o.length>0,cleanup:{clearInput:!0,followBottom:!0,historyText:t}}}function It(e,t){if(e)return e.model}function Le({messages:e,pendingInitialPrompt:t,pendingContextReferenceCount:n=0}){return e.length>0||!!t||n>0}function _t({session:e,messages:t,pendingInitialPrompt:n,pendingContextReferenceCount:s=0}){return!(e?te(e):!1)&&!Le({messages:t,pendingInitialPrompt:n,pendingContextReferenceCount:s})}function Ct(e){return ne(e.messageMetadata)}function vt(e,t){const n=new Set;for(const s of t){const r=se(s.metadata);r&&n.add(r)}return n.size===0?[...e]:e.filter(s=>!n.has(s.id))}function xe(e){return{id:e.id,appMessageId:e.appMessageId,role:"user",timestamp:new Date(e.createdAt??0).toISOString(),contentBlocks:[...e.content?[{type:"text",text:e.content}]:[],...e.imageBlocks??[],...e.fileBlocks??[]],metadata:e.messageMetadata,...e.author!==void 0?{author:e.author}:{}}}function Tt(e){return xe({...e,createdAt:Date.parse(e.queuedAt)})}const Pe="chat-read:",y=new Map,T=new Set;function Rt(e,t){let n=y.get(e);n||(n=new Set,y.set(e,n)),n.add(t)}function $t(e,t){const n=y.get(e);if(!(!n||!n.delete(t))&&n.size===0){y.delete(e);for(const s of[...T])s(e)}}function kt(e){return T.add(e),()=>T.delete(e)}function Et(e){return y.has(e)}function Lt(e){const t=y.get(e);if(!t)return!1;for(const n of t)if(!n.startsWith(Pe))return!0;return!1}function De(e,t,n){const s=e.state.pendingSubmissions.byAgentId[t.agentId];if(!s||!V(s.scope,t))return null;const r={...structuredClone(n),id:crypto.randomUUID(),createdAt:Date.now()};e.dispatch(ue(t,r));const o=e.state.pendingSubmissions.byAgentId[t.agentId];return o&&f(o.submissions,r.id)?r:null}function He(e,t,n,s,r){const o=D.select(e.state,n),a=C.select(e.state)?.principal.id,i=H(e.state);if(!o||!a||!i)return null;const c=ye(t,n),l={agentId:t,workspaceId:n,principalId:a,participation:o,authority:i,owner:c.key,lifetime:e.state.pendingSubmissions.byAgentId[t]?.scope.lifetime??crypto.randomUUID()},m=()=>c.isCurrent(e.state.agentSessions?.byAgentId[t]?.workspaceId)&&D.select(e.state,n)===o&&C.select(e.state)?.principal.id===a&&H(e.state)===i;if(!m())return null;e.dispatch(ce(l,s,re.select(e.state,n)));const d=De(e,l,r);return d?{scope:l,submission:d,isCurrent:()=>{const h=e.state.pendingSubmissions.byAgentId[t];return m()&&!!h&&V(h.scope,l)&&(!!f(h.operations,d.id)||!!f(h.submissions,d.id))}}:null}function R(e,t,n){if(!n.text.trim()&&!n.imageBlocks?.length&&!n.fileBlocks?.length)return null;const s=n.userAppMessageId??Ae();return He(e,t,n.wsId,C.select(e.state)?.capabilities.submissionCorrelation,{content:n.text.trim(),appMessageId:s,destination:!n.forceSubmit&&oe.select(e.state,t)?"queue":"conversation",contextItems:n.contextItems,imageBlocks:n.imageBlocks,fileBlocks:n.fileBlocks,messageMetadata:n.messageMetadata})}function Oe(e,t,n){const s=R(e,t,n);return s?(e.dispatch(F(t,{...n,userAppMessageId:s.submission.appMessageId,submission:{scope:s.scope,id:s.submission.id}})),!0):!1}async function Be(e,t,n,s){const r=n.submission;if(!r)return"legacy";const o=r.reference,a=()=>o.scope.agentId===e&&o.scope.workspaceId===t&&N.select(u.state,e)===n?Se.select(u.state,o.scope):void 0,i=a();if(!i)return null;if(!i.supported)return"legacy";const c={wsId:t,text:n.text,imageBlocks:n.options?.imageBlocks,fileBlocks:n.options?.fileBlocks,noteIds:n.options?.noteIds,messageMetadata:n.options?.messageMetadata,model:s??n.options?.model};if(r.outcome==="rejected"){const p=f(i.tombstones,o.id);return f(i.submissions,o.id)||p&&p.reason!=="rejected"?null:R(u,e,c)}if(r.outcome==="accepted")return R(u,e,c);await Promise.all([be(e,t).catch(()=>{}),we(e,t).catch(()=>{})]);const l=a();if(!l||f(l.submissions,o.id)?.status!=="uncertain")return null;const{notify:m}=await v(async()=>{const{notify:p}=await import("./DY2nfza0.js").then(ee=>ee.i);return{notify:p}},__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]),import.meta.url);if(a()!==l)return null;let d=!1;const h=()=>{d=!0};return m.warning(S.agent_chatSend_uncertainRetry_description(),{key:`submission-retry:${t}:${e}:${o.id}`,duration:Number.POSITIVE_INFINITY,action:{label:S.agent_chatSend_resend_label(),onClick:()=>{if(d)return;d=!0;const p=a();!p||p.generation!==l.generation||p.submissions!==l.submissions||p.observationVersion!==l.observationVersion||f(p.submissions,o.id)?.status!=="uncertain"||Oe(u,e,c)}},cancel:{label:S.chat_richInput_cancel_label(),onClick:h},onDismiss:h}),null}async function xt(e,t,n){const s=N.select(u.state,e),r=s?.submission?await Be(e,t,s,n):"legacy";if(r){if(r==="legacy"){await u.dispatch(n===void 0?le(e,t):de(e,t,n));return}!r.isCurrent()||!s||u.dispatch(F(e,{wsId:t,text:s.text,imageBlocks:s.options?.imageBlocks,fileBlocks:s.options?.fileBlocks,noteIds:s.options?.noteIds,messageMetadata:s.options?.messageMetadata,model:n??s.options?.model,userAppMessageId:r.submission.appMessageId,submission:{scope:r.scope,id:r.submission.id}}))}}const Pt=u.createSelector((e,t)=>{const n=f(e.chatDrafts.owners,t);return n?{restore:n.restore,saves:W(n.saves)}:void 0});function Ue(e,t){return t.workspaceId===e&&!t.retiredAt&&!t.pendingDeleteAt&&t.status!==$.Deleted&&!t.notificationsMuted&&me(t)==="topLevel"}function Ne(e){const t=e.metadata?.pendingQuestionsMessageId;return typeof t=="string"&&t.length>0&&!Me(e.metadata,t)?t:null}function Ve(e){return e.status===$.Error&&!ae(ie(e))}function Dt(e,t){return t.filter(n=>Ue(e,n)).flatMap(n=>{const s=fe(n),r=Ne(n),o=n.status===$.Error;if(!s&&!r&&!o)return[];const a=s?.timestamp??(o?n.stopReasonTimestamp:void 0);return[{agentId:n.id,agentName:n.name,kind:s?.kind??(o?"failed":"question"),reason:s?.reason,timestamp:a&&Number.isFinite(Date.parse(a))?a:void 0,questionMessageId:r,canRetry:Ve(n)}]})}function Ht(e){return e.displayStatus==="failed"?"failed":e.displayStatus==="blocked"?"blocked":e.attention==="review_required"?"review":e.displayStatus==="needs_attention"?"question":e.displayStatus==="pr_ready"?"pr_ready":e.activity==="agent_running"||e.displayStatus==="in_progress"?"running":e.scriptsRunning===!0?"scripts_running":e.backgroundTasksRunning===!0?"background_tasks_running":e.displayStatus==="pr_merged"?"merged":e.displayStatus==="complete"?"complete":e.attention==="unread"?"unread":e.displayStatus==="pr_open"||e.displayStatus==="pr_queued"?e.displayStatus:"idle"}function Ot(e){const t=e.kind==="prs"?e.organization?.trim().toLowerCase():void 0;return{key:JSON.stringify([e.kind,e.workspaceId,t||null,[...new Set((t?[]:e.repositories).map(n=>JSON.stringify([n.key,n.owner,n.name])))].sort()]),hasGitHubRepositories:!!t||e.repositories.some(n=>!!n.owner),hasLocalRepositories:!t&&e.repositories.some(n=>!n.owner)}}function k(e){const t=Ie(e);if(t?.kind!=="pr"||!Number.isSafeInteger(t.number)||t.number<=0)return null;const n=t.owner.toLowerCase(),s=t.repo.toLowerCase();return{owner:n,repo:s,number:t.number,id:`${n}/${s}#${t.number}`,url:`https://github.com/${n}/${s}/pull/${t.number}`}}function Bt(e,t,n,s){const r=e.filter(o=>s?s.includes(o.id):n?o.repositoryOwner?.toLowerCase()===n.toLowerCase():t.some(a=>a.owner?.toLowerCase()===o.repositoryOwner?.toLowerCase()&&a.name.toLowerCase()===o.repositoryName?.toLowerCase()));return[...new Map(r.flatMap(o=>[...(o.pullRequests??[]).map(a=>a.url),o.activePullRequest?.url,o.prUrl]).flatMap(o=>{const a=o?k(o):null;return a?[[a.id,{owner:a.owner,repo:a.repo,number:a.number}]]:[]})).values()].sort((o,a)=>`${o.owner}/${o.repo}#${o.number}`.localeCompare(`${a.owner}/${a.repo}#${a.number}`))}function Ut(e,t){const[n]=t;return t.length!==1||e.owner?.toLowerCase()!==n?.owner?.toLowerCase()||e.repo?.toLowerCase()!==n?.name.toLowerCase()}const Nt=u.createSelector(e=>e.homeIntegrations),Vt=u.createSelector(e=>{const t=e.homeIntegrations;return!t.linkedItems||!Object.keys(t.linkedItems).length?t:{...t,items:[...new Map([...Object.values(t.linkedItems),...t.items].map(n=>[n.id,n])).values()].sort((n,s)=>(s.updatedAt??"").localeCompare(n.updatedAt??""))}}),q=u.createSelector(e=>W(e.workspace.workspaces).flatMap(t=>[...(t.pullRequests??[]).map(n=>n.url),t.activePullRequest?.url,t.prUrl].filter(n=>!!n).map(n=>({url:k(n)?.url??n.replace(/\/$/,"").toLowerCase(),workspaceId:t.id,name:t.title||t.id})))),Ft=u.createSelector(e=>{const t=e.homeIntegrations.detail?.url,n=t?k(t)?.url??t.replace(/\/$/,"").toLowerCase():void 0;return q.select(e).find(s=>s.url===n)??null}),Wt=u.createSelector(e=>q.select(e).map(t=>t.url));function qt(e){return ve(e)}function Fe(e){return Ce(e)}function We(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function M(e){if(e.length===0)return[];const t=[];let n=null;for(const s of e){const r=s.timestamp?typeof s.timestamp=="string"?new Date(s.timestamp):s.timestamp:new Date;(!n||!We(n.date,r))&&(n={date:r,label:Fe(r),messages:[]},t.push(n)),n.messages.push(s)}return t}function Gt(e){const t=new Map;return e.map(({date:n})=>{const s=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`,r=t.get(s)??0;return t.set(s,r+1),r===0?s:`${s}#${r}`})}function Kt(e,t){const n=new Map;let s=t?null:void 0;for(const[r,o]of e.groups.entries()){r===e.gapBeforeGroupIndex&&(s=void 0);for(const a of o.messages)s!==void 0&&n.set(a.id,s),a.role==="user"&&!Te(a)&&(s=a)}return n}function qe(e){return`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`}function _(e,t){const n=new Map;return e.map(s=>{const r=`${t}-${qe(s.date)}`,o=(n.get(r)??0)+1;return n.set(r,o),{...s,groupKey:o===1?r:`${r}-${o}`}})}function Ge(e,t){if(e.length===0||t.length===0)return e;const n=new Set(t.map(o=>o.id)),s=new Set(t.map(o=>o.appMessageId).filter(o=>typeof o=="string"&&o.length>0)),r=e.filter(o=>!n.has(o.id)&&!(typeof o.appMessageId=="string"&&o.appMessageId.length>0&&s.has(o.appMessageId)));return r.length===e.length?e:r}function jt(e,t,n){if(e=Ge(e,t),e.length===0)return{groups:M(t),gapBeforeGroupIndex:null};if(!n)return{groups:_(M([...e,...t]),"d"),gapBeforeGroupIndex:null};const s=_(M(e),"h"),r=_(M(t),"t");return{groups:[...s,...r],gapBeforeGroupIndex:s.length}}function zt(e){const{scrollTop:t,threshold:n,fetching:s,exhausted:r,historyCount:o,tailCount:a,tailTruncated:i,totalMessages:c,spacerAbove:l=0}=e;return t>n+l||s||r?!1:o>0||i||c>a+o}const Qt=300;function Yt(e){const{fetching:t,chainEvaluationPending:n,visible:s,hideArmed:r}=e;return t||n?s&&!r?"none":"show":s&&!r?"arm-hide":"none"}const O=24,Ke=320;function E(e){return Number.isFinite(e)?Math.min(Ke,Math.max(O,e)):O}const je=.2,ze=.12;function Qe(e,t,n=je){const s=E(t);return e===null||!Number.isFinite(e)?s:e+n*(s-e)}function Xt(e,t){const n=E(t??Number.NaN);return{above:Math.round(Math.max(0,e.above)*n),below:Math.round(Math.max(0,e.below)*n)}}function Jt(e){const{totalMessages:t,residentCount:n,exhausted:s,residentContentHeight:r,currentSpacerHeight:o,viewportHeight:a}=e;let i=e.rowHeightEma;n>0&&r>0&&(i=Qe(i,r/n));const c=e.unloadedRows??t-n,m=s||t<=0||n<=0||c<=0||i===null?0:Math.round(c*i),d=Math.abs(m-o);return d===0?{spacerHeight:o,rowHeightEma:i,applied:!1,scrollTopDelta:0}:m===0||o===0||d>o*ze||a>0&&d>a?{spacerHeight:m,rowHeightEma:i,applied:!0,scrollTopDelta:m-o}:{spacerHeight:o,rowHeightEma:i,applied:!1,scrollTopDelta:0}}const Ye=_e,Xe=2;function Zt(e){const{scrollTop:t,spacerAboveHeight:n,rowHeightEstimate:s,pageSize:r=Ye,nearPages:o=Xe}=e;if(n<=0||t>=n)return"serial";const a=E(s??Number.NaN);return(n-Math.max(0,t))/a>o*r?"seek":"serial"}const G=200,Je=1;function en(e,t,n=G){const s=t.timestamp-n;return[...e.filter(r=>r.timestamp>=s),t]}function tn(e){const{samples:t,viewportHeight:n,windowMs:s=G,viewportFactor:r=Je}=e;if(n<=0||t.length<2)return"gentle";const o=t[t.length-1].timestamp-s,a=t.filter(c=>c.timestamp>=o);if(a.length<2)return"gentle";let i=0;for(let c=1;c<a.length;c+=1)i+=Math.abs(a[c].scrollTop-a[c-1].scrollTop);return i>n*r?"rapid":"gentle"}function nn(e){const{scrollTop:t,spacerAboveHeight:n,unloadedRowsAbove:s}=e;if(s<=0||n<=0)return 0;const r=Math.min(1,Math.max(0,t/n));return Math.min(s-1,Math.max(0,Math.floor(r*s)))}function sn(e){const{totalMessages:t,residentCount:n,exhausted:s,startOrdinalEstimate:r,gapToTail:o}=e,a=Math.max(0,t-n);if(a===0)return{above:0,below:0};if(!o)return{above:s?0:a,below:0};if(s)return{above:0,below:a};if(r!==null){const c=Math.min(a,Math.max(0,Math.round(r)));return{above:c,below:a-c}}const i=Math.min(a,Math.max(0,Math.round(e.holeRowsEstimate??0)));return{above:a-i,below:i}}function rn(e){const{exhausted:t,historyCount:n,tailCount:s,tailTruncated:r,totalMessages:o}=e;return t?!0:n>0?!1:!r&&o<=s}const K=new Map;function j(e,t){return`${e}\0${t}`}function on(e,t){return K.get(j(e,t))}function an(e,t,n){K.set(j(e,t),n)}const cn=u.createSelector((e,t,n)=>{const s=e.chatPanelUi.byWorkspaceId[t];return s?f(s.userMessageIndexes,n):void 0}),un=u.createSelector((e,t,n)=>{const s=e.chatPanelUi.byWorkspaceId[t];return s?f(s.retryAgents,n):void 0});function Ze(e){e=Math.max(0,e);const t=Math.floor(e/1e3);if(t<10){const o=e/1e3,a=o.toFixed(1);return a.endsWith(".0")?`${Math.round(o)}s`:`${a}s`}if(t<60)return`${t}s`;const n=Math.floor(t/3600),s=Math.floor(t%3600/60),r=t%60;return n>0?`${n}h ${s}m ${r}s`:`${s}m ${r}s`}function ln(e){return Ze(Math.max(1e3,Math.round(e/1e3)*1e3))}const et=new Set(["launch","init","session-create","session-load","prompt"]),tt=new Set(["tool-call","tool-waiting"]);function nt(e){let t=null;for(const n of e)(!t||n.timestamp>=t.timestamp)&&(t=n);return t}function dn(e){return e&&et.has(e)?"pulse":e&&tt.has(e)?"twist":"bloom"}const z="stalled";function fn(e,t){const n=nt(e);return!n||n.phase!==z||typeof t=="number"&&t>n.timestamp?null:n}function mn(e){let t=null;for(const n of e)n.phase!==z&&(!t||n.timestamp>=t.timestamp)&&(t=n);return t}const B={get title(){return S.chat_streamingStatus_sessionCorrupted_title()},get message(){return S.chat_streamingStatus_sessionCorrupted_message()}};function pn(e,t){return e?t===!0?{corrupted:!0,title:B.title,message:B.message,detail:e}:{corrupted:!1,title:S.chat_streamingStatus_responseFailed_label(),message:e,detail:null}:null}const gn=u.createSelector((e,t)=>e.unreadTracking.dividerSessionByAgentId[t]??null),hn=u.createSelector(e=>e.unreadTracking.currentlyViewedAgentId),Sn=u.createSelector(e=>{const t=[];for(const o of Object.values(e.panelLayout.byWorkspaceId))for(const a of Object.values(o.panels))for(const i of a.tabs)i.type==="agent"&&i.agentId&&t.push(i.agentId);const n=Object.keys(e.unreadTracking.dividerSessionByAgentId),s=new Set(e.agentSessions.agentIdsByWorkspace[pe]??[]);return{chiefCardVisible:e.sidebarNav.panelItem==="chief",chiefSessionAgentIds:n.filter(o=>s.has(o)),dividerSessionAgentIds:n,openAgentTabIds:t}}),yn=u.createSelector((e,t)=>f(e.questionUi.consumers,t)),st=3e4,b=new Map;function An(e,t){const n=b.get(e);n&&clearTimeout(n.timer);const s=setTimeout(()=>b.delete(e),st);b.set(e,{value:t,timer:s})}function bn(e){const t=b.get(e);if(t)return clearTimeout(t.timer),b.delete(e),t.value}const Q=u.createSelector((e,t,n)=>e.agentWorkers?.byKey[he(t,n)]??ge),rt=u.createSelector((e,t,n)=>{const s=Q.select(e,t,n);return s.status==="unsupported"?[]:(s.snapshot?.workers??[]).filter(r=>r.status==="running"||r.status==="unknown")}),wn=u.createSelector((e,t,n)=>{const s=Q.select(e,t,n);return s.status==="failed"?!0:s.status!=="ready"||!s.snapshot?!1:s.snapshot.truncated?!0:s.snapshot.support.status!=="supported"&&rt.select(e,t,n).length>0}),ot=1e3,Y={requireViewedAndFocused:!0,requireAssistantTail:!0},w=new Map,g=new Map;let A=null;function L(e){(e===void 0||A===e)&&(A=null)}const at=200;function it(e,t){if(g.delete(e),g.set(e,t),g.size>at){const n=g.keys().next().value;n!==void 0&&g.delete(n)}}function X(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(!n.isStreaming&&typeof n.id=="string"&&n.id.length>0)return n}return null}function Mn(e){return X(e)?.id??null}function In(e){x(e,{requireViewedAndFocused:!0})}function _n(e){x(e,{requireViewedAndFocused:!1})}function Cn(e){L(),x(e,Y)}function vn(e){A===e&&(w.has(e)||(A=null,P(e,Y)))}function Tn(e){for(const t of e)typeof t!="string"||t.length===0||(J(t),L(t),P(t,{requireViewedAndFocused:!1}))}function J(e){const t=w.get(e);t&&(clearTimeout(t.timer),w.delete(e))}function x(e,t){J(e),L(e);const n=setTimeout(()=>{w.delete(e),P(e,t)},ot);w.set(e,{timer:n,gates:t})}let U=null;function ct(){return U??=Promise.all([v(()=>import("./C6rJFcL9.js"),__vite__mapDeps([25,17,18,3,19,20,13,5,8,2,11,26,27]),import.meta.url),v(()=>import("./BRqvd9LR.js").then(e=>e.X),__vite__mapDeps([28,29,18,3,17,19,20,13,5,8,2,11,7,4,6,9,10,12,14,30,31,32]),import.meta.url)]).then(([e,t])=>({appStore:e.store,appClient:t.appClient})),U}async function P(e,t){let n=null;try{const{appStore:s,appClient:r}=await ct(),o=s.state;if(t.requireViewedAndFocused&&(o.unreadTracking?.currentlyViewedAgentId!==e||typeof document<"u"&&!document.hasFocus()))return;const a=o.agentSessions?.byAgentId[e];if(!a)return;const i=typeof a.workspaceId=="string"?a.workspaceId:"";if(i.length===0)return;if(t.requireAssistantTail&&o.chatState?.byAgentId[e]?.initialHistoryPending){A=e;return}const c=X(a.messages??[]);if(!c){t.requireAssistantTail&&(A=e);return}if(t.requireAssistantTail&&c.role!=="assistant")return;const l=c.id;if(g.get(e)===l)return;it(e,l),n=l,!(await r.agents.markSeen({workspaceId:i,agentId:e,messageId:l})).success&&g.get(e)===n&&g.delete(e)}catch{n!==null&&g.get(e)===n&&g.delete(e)}}const I=new Map;function Z(e,t){return`${e}\0${t}`}function Rn(e,t){return I.get(Z(e,t))}function $n(e,t,n){I.set(Z(e,t),n)}function kn(e){if(e.length===0)return;const t=new Set(e);for(const n of[...I.keys()]){const s=n.slice(n.indexOf("\0")+1);t.has(s)&&I.delete(n)}}export{xt as $,Et as A,Lt as B,Kt as C,rn as D,Ct as E,nn as F,Tn as G,Pe as H,vn as I,In as J,_n as K,Cn as L,ot as M,Mn as N,Qt as O,Yt as P,vt as Q,G as R,kt as S,xe as T,Mt as U,O as V,Be as W,Tt as X,Jt as Y,$t as Z,L as _,Rt as a,It as a0,Xt as a1,rt as a2,Q as a3,wn as a4,Pt as a5,hn as a6,Sn as a7,gn as a8,Nt as a9,Ft as aa,Vt as ab,Wt as ac,q as ad,yn as ae,un as af,cn as ag,$n as ah,an as ai,zt as aj,Ut as ak,sn as al,An as am,Oe as an,bn as ao,R as b,en as c,bt as d,wt as e,Gt as f,Ee as g,_t as h,tn as i,Zt as j,kn as k,Bt as l,jt as m,pn as n,Ot as o,Ge as p,ke as q,ln as r,qt as s,fn as t,Rn as u,on as v,Dt as w,Ht as x,mn as y,dn as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as a,C as n}from"./LhLTjc8B.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ao as s}from"./B8o4lNgr.js";import{d as r}from"./
|
|
1
|
+
import{ao as s}from"./B8o4lNgr.js";import{d as r}from"./B7WsW6mB.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,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{_ as i}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BpxCnE9X.js","/app/immutable/chunks/CgPr4hs2.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/chunks/BL_sVoge.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/chunks/D3ROSEe0.js","/app/immutable/chunks/P80hEEPK.js","/app/immutable/chunks/BRqvd9LR.js","/app/immutable/chunks/D-Zd1oaK.js","/app/immutable/chunks/Ps9iRbKd.js","/app/immutable/chunks/CsstSIr0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/D2g8BuR1.js","/app/immutable/chunks/Co_Aa6ij.js","/app/immutable/chunks/DJuSbP_R.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/BKANDKfj.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/Cmd7Q9e2.js","/app/immutable/chunks/Bo4f3vLH.js","/app/immutable/chunks/CFHzcj7N.js","/app/immutable/chunks/D32qvOGn.js","/app/immutable/chunks/D2AmAQEr.js","/app/immutable/chunks/B7NNbItI.js","/app/immutable/chunks/CUrlpJj4.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/Df2ohObb.js","/app/immutable/chunks/rpeM9FmT.js","/app/immutable/chunks/wSFhIxGo.js","/app/immutable/chunks/CPezNx23.js","/app/immutable/chunks/C6rJFcL9.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/BiFqz5BS.js","/app/immutable/chunks/B7WsW6mB.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as i}from"./CgPr4hs2.js";import{c as m}from"./ChTqQfQN.js";function d(){return typeof window<"u"&&window.location.pathname.startsWith("/hud")}let _=0;function f(){_+=1}function E(){return _}const h=m("Navigation"),w="settings-previous-path";function r(t){return/^\/settings(?:[/?#]|$)/.test(t)}async function l(t,a={}){if(d()||typeof window<"u"&&/^\/dock(?:\/|$)/.test(window.location.pathname)){h.debug("Ignoring navigation in auxiliary window",{route:t});return}const c=a.assistantContent||t.startsWith("intent://")||/^https?:\/\//.test(t);if(c||f(),c){const{showAssistantContent:n}=await i(async()=>{const{showAssistantContent:e}=await import("./BpxCnE9X.js");return{showAssistantContent:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34]),import.meta.url);if(await n(t,{preserveFocus:!0,background:a.assistantContent===!0,agentId:a.assistantAgentId})){if(a.assistantContent)return;const{openPanel:e}=await i(async()=>{const{openPanel:o}=await import("./BL_sVoge.js").then(s=>s.FS);return{openPanel:o}},__vite__mapDeps([3,4,2,5,6,7,8,9,1,10]),import.meta.url),{store:g}=await i(async()=>{const{store:o}=await import("./C6rJFcL9.js");return{store:o}},__vite__mapDeps([35,3,4,2,5,6,7,8,9,1,10,36,37]),import.meta.url);g.dispatch(e("chief"));const{goto:p}=await i(async()=>{const{goto:o}=await import("./B7WsW6mB.js").then(s=>s.n);return{goto:o}},__vite__mapDeps([38,2]),import.meta.url);window.location.pathname!=="/"&&await p("/");return}}if(r(t)&&typeof window<"u"&&typeof sessionStorage<"u"&&!r(window.location.pathname)){const n=new URL(window.location.href);sessionStorage.setItem(w,n.pathname+n.search+n.hash)}const{goto:u}=await i(async()=>{const{goto:n}=await import("./B7WsW6mB.js").then(e=>e.n);return{goto:n}},__vite__mapDeps([38,2]),import.meta.url);return a.state?u(t,{state:a.state}):u(t)}const P=Object.freeze(Object.defineProperty({__proto__:null,SETTINGS_PREV_PATH_KEY:w,isHudWindowRenderer:d,isSettingsRoute:r,navigateToRoute:l},Symbol.toStringTag,{value:"Module"}));export{w as S,r as a,f as b,E as c,P as d,d as i,l as n};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o,ad as se,N as W,aE as ye,$ as me,a3 as be,ar as _e,aK as Ee,y as Y,aD as G,ac as ke,J as Se,a8 as Ne,aa as he,w as ue}from"./
|
|
1
|
+
import{a as o,ad as se,N as W,aE as ye,$ as me,a3 as be,ar as _e,aK as Ee,y as Y,aD as G,ac as ke,J as Se,a8 as Ne,aa as he,w as ue}from"./bAWH0D1a.js";import{g as xe}from"./yW5sglFu.js";import{g as _}from"./LhLTjc8B.js";var te=(function(){var e=o(function(I,s,n,r){for(n=n||{},r=I.length;r--;n[I[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],E=[1,16],b=[1,20],l=[1,19],L=[6,7,8],C=[1,26],g=[1,24],A=[1,25],k=[6,7,11],M=[1,31],x=[6,7,11,24],j=[1,6,13,16,17,20,23],f=[1,35],T=[1,36],O=[1,6,7,11,13,16,17,20,23],U=[1,38],R={trace:o(_(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(_(function(s,n,r,a,u,t,H){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(L,[2,3]),{1:[2,2]},e(L,[2,4]),e(L,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:C,7:g,10:23,11:A},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:M}),e(k,[2,22]),e(k,[2,23]),e(x,[2,25]),e(x,[2,26]),e(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:g,10:34,11:A},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(j,[2,14],{7:f,11:T}),e(O,[2,8]),e(O,[2,9]),e(O,[2,10]),e(k,[2,16],{15:37,24:M}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:U}),e(x,[2,31]),{21:[1,39]},{22:[1,40]},e(j,[2,13],{7:f,11:T}),e(O,[2,11]),e(O,[2,12]),e(k,[2,15],{24:U}),e(x,[2,30]),{22:[1,41]},e(x,[2,27]),e(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(_(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),"parseError"),parse:o(_(function(s){var n=this,r=[0],a=[],u=[null],t=[],H=this.table,c="",z=0,ae=0,de=2,oe=1,pe=t.slice.call(arguments,1),m=Object.create(this.lexer),V={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(V.yy[q]=this.yy[q]);m.setInput(s,V.yy),V.yy.lexer=m,V.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Q=m.yylloc;t.push(Q);var fe=m.options&&m.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(N){r.length=r.length-2*N,u.length=u.length-N,t.length=t.length-N}_(ce,"popStack"),o(ce,"popStack");function Z(){var N;return N=a.pop()||m.lex()||oe,typeof N!="number"&&(N instanceof Array&&(a=N,N=a.pop()),N=n.symbols_[N]||N),N}_(Z,"lex"),o(Z,"lex");for(var S,B,v,$,F={},K,w,le,X;;){if(B=r[r.length-1],this.defaultActions[B]?v=this.defaultActions[B]:((S===null||typeof S>"u")&&(S=Z()),v=H[B]&&H[B][S]),typeof v>"u"||!v.length||!v[0]){var ee="";X=[];for(K in H[B])this.terminals_[K]&&K>de&&X.push("'"+this.terminals_[K]+"'");m.showPosition?ee="Parse error on line "+(z+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[S]||S)+"'":ee="Parse error on line "+(z+1)+": Unexpected "+(S==oe?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(ee,{text:m.match,token:this.terminals_[S]||S,line:m.yylineno,loc:Q,expected:X})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+B+", token: "+S);switch(v[0]){case 1:r.push(S),u.push(m.yytext),t.push(m.yylloc),r.push(v[1]),S=null,ae=m.yyleng,c=m.yytext,z=m.yylineno,Q=m.yylloc;break;case 2:if(w=this.productions_[v[1]][1],F.$=u[u.length-w],F._$={first_line:t[t.length-(w||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(w||1)].first_column,last_column:t[t.length-1].last_column},fe&&(F._$.range=[t[t.length-(w||1)].range[0],t[t.length-1].range[1]]),$=this.performAction.apply(F,[c,ae,z,V.yy,v[1],u,t].concat(pe)),typeof $<"u")return $;w&&(r=r.slice(0,-1*w*2),u=u.slice(0,-1*w),t=t.slice(0,-1*w)),r.push(this.productions_[v[1]][0]),u.push(F.$),t.push(F._$),le=H[r[r.length-2]][r[r.length-1]],r.push(le);break;case 3:return!0}}return!0},"parse"),"parse")},J=(function(){var I={EOF:1,parseError:o(_(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),"parseError"),setInput:o(function(s,n){return this.yy=n||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var n=s.length,r=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,a as t,s as r,S as s}from"./
|
|
1
|
+
import{b as a,a as t,s as r,S as s}from"./DTTAQR6U.js";import{f as i}from"./LhLTjc8B.js";var l={parser:r,get db(){return new s(2)},renderer:t,styles:a,init:i(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{l as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a7 as a,co as M,n as j}from"./
|
|
1
|
+
import{a7 as a,co as M,n as j}from"./LhLTjc8B.js";function k(r,u){return u<r?-1:u>r?1:u>=r?0:NaN}function q(r){return r}function B(){var r=q,u=k,s=null,p=a(0),m=a(M),h=a(0);function t(n){var e,l=(n=j(n)).length,f,w,y=0,g=new Array(l),i=new Array(l),c=+p.apply(this,arguments),A=Math.min(M,Math.max(-M,m.apply(this,arguments)-c)),d,N=Math.min(Math.abs(A)/l,h.apply(this,arguments)),V=N*(A<0?-1:1),o;for(e=0;e<l;++e)(o=i[g[e]=e]=+r(n[e],e,n))>0&&(y+=o);for(u!=null?g.sort(function(v,x){return u(i[v],i[x])}):s!=null&&g.sort(function(v,x){return s(n[v],n[x])}),e=0,w=y?(A-l*V)/y:0;e<l;++e,c=d)f=g[e],o=i[f],d=c+(o>0?o*w:0)+V,i[f]={data:n[f],index:e,value:o,startAngle:c,endAngle:d,padAngle:N};return i}return t.value=function(n){return arguments.length?(r=typeof n=="function"?n:a(+n),t):r},t.sortValues=function(n){return arguments.length?(u=n,s=null,t):u},t.sort=function(n){return arguments.length?(s=n,u=null,t):s},t.startAngle=function(n){return arguments.length?(p=typeof n=="function"?n:a(+n),t):p},t.endAngle=function(n){return arguments.length?(m=typeof n=="function"?n:a(+n),t):m},t.padAngle=function(n){return arguments.length?(h=typeof n=="function"?n:a(+n),t):h},t}export{B as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as s,r as l,d as t}from"./
|
|
1
|
+
import{g as s,r as l,d as t}from"./BvtLLvEi.js";import{p as m}from"./Ccxm74iK.js";import{M as p,d}from"./DZyz0CaB.js";import{a as n,ad as i}from"./bAWH0D1a.js";import"./LhLTjc8B.js";var u=d().Railroad.parser.LangiumParser,a=n(e=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{const r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{const r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),c=n(e=>({name:e.name,definition:a(e.definition)}),"transformRule"),g=n(e=>{m(e,t),e.title&&t.setTitle(e.title),e.rules.map(r=>t.addRule(c(r)))},"populateDb"),y={parse:n(e=>{t.clear(),i.debug("[Railroad Parser] Starting Langium parse");const r=u.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new p(r);const o=r.value;i.debug("[Railroad Parser] Parsed rules:",o.rules.length),g(o),i.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:t}},x={parser:y,db:t,renderer:l,styles:s};export{x as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as le,bq as u,a_ as D,by as ce,b as de}from"./
|
|
1
|
+
import{t as le,bq as u,a_ as D,by as ce,b as de}from"./CgPr4hs2.js";import{bs as ve,ca as fe,aD as e,a5 as H,bS as ue,bA as L,bH as K,b_ as S,W as T,bn as ge,bV as P,c9 as x,aA as g,a7 as me,ay as he,bl as pe,bO as be,aB as F}from"./B8o4lNgr.js";import{k as X,s as c,h as _e,l as R}from"./CsstSIr0.js";import{s as ke}from"./D3ROSEe0.js";import{b as we}from"./D2g8BuR1.js";import{t as j}from"./CFHzcj7N.js";import{A as xe}from"./4cIwmSuD.js";import{y as ye}from"./CfV9aH5z.js";function We(y){const{itemCount:a,maxVisible:d,availableWidth:r,surface:s,overlap:b,overflowOverlap:v}=y;if(r<=0)return 0;const _=s-b,m=Math.min(a,Math.max(0,d)),I=i=>i===0?0:s+(i-1)*_;if(a<=m&&I(a)<=r)return a;for(let i=m;i>=0;i-=1){const A=a-i;if(I(i)+(A>0?y.measureOverflowText(A)-(i>0?v:0):0)<=r)return i}return 0}function Ie(y,a=r=>requestAnimationFrame(r),d=r=>cancelAnimationFrame(r)){let r,s;return{set(b){if(r=b,s!==void 0)return;let v=!1;const _=a(()=>{v=!0,s=void 0;const m=r;r=void 0,y(m)});v||(s=_)},cancel(){s!==void 0&&(d(s),s=void 0),r=void 0}}}const Ae=20,Ce=12;let O,J;const Q=new Map;var Te=F('<span data-agent-avatar-stack-item=""><!></span>'),Oe=F('<span class="agent-avatar-stack-track svelte-1nk9fhe"></span>'),Ve=F('<span class="agent-avatar-stack-overflow svelte-1nk9fhe" data-agent-avatar-overflow=""> </span>'),Me=F('<span data-agent-avatar-stack="" data-agent-avatar-stack-overlap="later-on-top"><!> <!></span>');function Se(y,a){if(new.target)return le({component:Se,...y});ve(a,!0);let d=u(a,"items",7),r=u(a,"maxVisible",7,3),s=u(a,"adaptive",7,!1),b=u(a,"align",7,"end"),v=u(a,"variant",7,"card-stack"),_=u(a,"interactive",7,!1),m=u(a,"overflowId",7),I=u(a,"overflowTestId",7),i=u(a,"itemContent",7),A=u(a,"class",7,""),W=P(void 0),z=P(void 0);const h=x(()=>ye[v()]),U=x(()=>s()&&e(z)!==void 0?We({itemCount:d().length,maxVisible:r(),availableWidth:e(z),surface:e(h).surface,overlap:e(h).overlap,overflowOverlap:e(h).overlap,measureOverflowText:t=>Math.max(e(h).surface,$(t)+Ce)}):void 0),Y=x(()=>Math.min(d().length,Math.max(0,s()?e(U)??r():r()))),k=x(()=>d().slice(0,e(Y))),E=x(()=>Math.max(0,d().length-e(k).length)),q=x(()=>e(h).surface-e(h).overlap),Z=x(()=>e(k).length===0?0:e(h).surface+(e(k).length-1)*e(q));function $(t){const n=`+${j(t)}`,o=Q.get(n);if(o!==void 0)return o;if(O===void 0&&(O=document.createElement("canvas").getContext("2d")),!O||!e(W))return Ae;J??=`500 12px ${getComputedStyle(e(W)).fontFamily}`,O.font=J;const l=O.measureText(n).width;return Q.set(n,l),l}fe(()=>{if(!s()||!e(W)||typeof ResizeObserver>"u")return;const t=Ie(o=>{K(z,o,!0)}),n=new ResizeObserver(o=>{const l=o[o.length-1];t.set(l.borderBoxSize?.[0]?.inlineSize??l.contentRect.width)});return n.observe(e(W)),()=>{n.disconnect(),t.cancel()}});var ee={get items(){return d()},set items(t){d(t),g()},get maxVisible(){return r()},set maxVisible(t=3){r(t),g()},get adaptive(){return s()},set adaptive(t=!1){s(t),g()},get align(){return b()},set align(t="end"){b(t),g()},get variant(){return v()},set variant(t="card-stack"){v(t),g()},get interactive(){return _()},set interactive(t=!1){_(t),g()},get overflowId(){return m()},set overflowId(t){m(t),g()},get overflowTestId(){return I()},set overflowTestId(t){I(t),g()},get itemContent(){return i()},set itemContent(t){i(t),g()},get class(){return A()},set class(t=""){A(t),g()},$set:ce,$on:(t,n)=>de(a,t,n)},p=Me();let N;var B=H(p);{var te=t=>{var n=Oe();let o;_e(n,23,()=>e(k),l=>l.key,(l,w,V)=>{var f=Te();let G;var re=H(f);{var se=C=>{var M=me(),oe=he(M);ke(oe,i,()=>e(w)),T(C,M)},ie=C=>{{let M=x(()=>e(w).state??"idle");xe(C,{get agentId(){return e(w).agentId},get specialist(){return e(w).specialist},get icon(){return e(w).icon},get state(){return e(M)},get variant(){return v()},class:"agent-avatar-stack-surface"})}};D(re,C=>{i()?C(se):C(ie,-1)})}L(f),S(()=>{G=X(f,1,"agent-avatar-stack-item svelte-1nk9fhe",null,G,{"agent-avatar-stack-item--before-overflow":e(E)>0&&e(V)===e(k).length-1}),R(f,`inset-inline-start: ${e(V)*e(q)}px; z-index: ${e(V)+1};`),c(f,"data-agent-avatar-stack-index",e(V)),c(f,"data-agent-avatar-stack-key",e(w).key),c(f,"data-agent-avatar-stack-agent-id",e(w).agentId),c(f,"data-agent-avatar-stack-specialist",e(w).specialist??void 0),c(f,"aria-hidden",_()?void 0:"true")}),T(l,f)}),L(n),S(()=>o=R(n,"",o,{width:`${e(Z)}px`})),T(t,n)};D(B,t=>{e(k).length>0&&t(te)})}var ae=ue(B,2);{var ne=t=>{var n=Ve(),o=pe(n);S(l=>{c(n,"id",m()),R(n,`margin-inline-start: ${e(k).length>0?-e(h).overlap:0}px; z-index: ${e(k).length+1};`),c(n,"data-testid",I()),be(o,`+${l??""}`)},[()=>j(e(E))]),T(t,n)};D(ae,t=>{e(E)>0&&t(ne)})}return L(p),we(p,t=>K(W,t),()=>e(W)),S(()=>{N=X(p,1,`agent-avatar-stack ${A()??""}`,"svelte-1nk9fhe",N,{"agent-avatar-stack--adaptive":s(),"agent-avatar-stack--start":b()==="start"}),c(p,"data-agent-avatar-stack-align",b()),c(p,"data-avatar-variant",v()),c(p,"data-agent-avatar-stack-clear-space",e(h).ring),c(p,"aria-hidden",!_()&&!m()?"true":void 0)}),T(y,p),ge(ee)}export{Se as A};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as o,aO as ot,bQ as ut,c4 as dt,v as yt,a0 as ft,a4 as pt,c9 as it,aL as gt,c7 as kt,aK as mt,c6 as wt,aP as _t,a6 as bt}from"./
|
|
1
|
+
import{f as o,aO as ot,bQ as ut,c4 as dt,v as yt,a0 as ft,a4 as pt,c9 as it,aL as gt,c7 as kt,aK as mt,c6 as wt,aP as _t,a6 as bt}from"./LhLTjc8B.js";var J=(function(){var e=o(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],u=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],D={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,c,p,n,v){var w=n.length-1;switch(p){case 6:case 7:return c;case 15:c.addNode(n[w-1].length,n[w].trim());break;case 16:c.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:f,7:d,10:17,11:m},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(u,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],c=[],p=[null],n=[],v=this.table,w="",I=0,$=0,L=2,A=1,C=n.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;n.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function X(B){i.length=i.length-2*B,p.length=p.length-B,n.length=n.length-B}o(X,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}o(tt,"lex");for(var M,W,N,Y,F={},U,V,et,Z;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var Q="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?Q="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Q="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Q,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:i.push(M),p.push(b.yytext),n.push(b.yylloc),i.push(N[1]),M=null,$=b.yyleng,w=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],F.$=p[p.length-V],F._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},G&&(F._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),Y=this.performAction.apply(F,[w,$,I,S.yy,N[1],p,n].concat(C)),typeof Y<"u")return Y;V&&(i=i.slice(0,-1*V*2),p=p.slice(0,-1*V),n=n.slice(0,-1*V)),i.push(this.productions_[N[1]][0]),p.push(F.$),n.push(F._$),et=v[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:o(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===c.length?this.yylloc.first_column:0)+c[c.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{conf as t,language as e}from"./
|
|
1
|
+
import{conf as t,language as e}from"./CVQnuBUY.js";const i=t,o={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{i as conf,o as language};
|