@intent-hq/web 2.333.0 → 2.334.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{DFIsXmE_.js → 03PfIO_9.js} +1 -1
- package/web/app/immutable/chunks/{Dzei16j2.js → 072Tb_6D.js} +1 -1
- package/web/app/immutable/chunks/{QBrdUuj3.js → 1N54IjFy.js} +1 -1
- package/web/app/immutable/chunks/{DBPvj7yj.js → 2J-nekl4.js} +3 -3
- package/web/app/immutable/chunks/{DivUGPVj.js → 2cP0f-ZS.js} +1 -1
- package/web/app/immutable/chunks/{D5BJwiCX.js → 35OKERyz.js} +3 -3
- package/web/app/immutable/chunks/{BsXH6ASx.js → 4AVTvQlm.js} +1 -1
- package/web/app/immutable/chunks/{B832GCAy.js → 4doVsrTt.js} +1 -1
- package/web/app/immutable/chunks/{D3zprjIo.js → 5gyILap3.js} +1 -1
- package/web/app/immutable/chunks/{CsBfHq3z.js → 71wna1Z8.js} +1 -1
- package/web/app/immutable/chunks/{BTdEOciU.js → 7AKPDTqy.js} +1 -1
- package/web/app/immutable/chunks/{BB28H67K.js → 8ZRaDoDY.js} +1 -1
- package/web/app/immutable/chunks/{CKywtFzw.js → 9oNS7b_T.js} +1 -1
- package/web/app/immutable/chunks/{Dogvt2Uo.js → AMK506zb.js} +1 -1
- package/web/app/immutable/chunks/{HSKzTsh4.js → Az9OQ8Pw.js} +1 -1
- package/web/app/immutable/chunks/{BAzseDFu.js → B-1pTbth.js} +1 -1
- package/web/app/immutable/chunks/{DHj5Vli6.js → B-lr2mEf.js} +1 -1
- package/web/app/immutable/chunks/{BFjtbKU5.js → B0h3U-Yz.js} +1 -1
- package/web/app/immutable/chunks/{C66LITAl.js → B29HdkQh.js} +1 -1
- package/web/app/immutable/chunks/{7vJjNlp5.js → B3KrGqdQ.js} +1 -1
- package/web/app/immutable/chunks/{CVuCQwR4.js → B3RoFPrI.js} +1 -1
- package/web/app/immutable/chunks/{Dtby9LLe.js → B4egTWvZ.js} +1 -1
- package/web/app/immutable/chunks/{Dyx0lQpx.js → B6KMCDK3.js} +1 -1
- package/web/app/immutable/chunks/{BZ3Ae-4U.js → B77TCztV.js} +1 -1
- package/web/app/immutable/chunks/{Dnnm-5K1.js → B7_YNW7R.js} +1 -1
- package/web/app/immutable/chunks/{C_1dnC1X.js → B94CMzpV.js} +1 -1
- package/web/app/immutable/chunks/{aA6XO7Z6.js → BAOVYkFF.js} +1 -1
- package/web/app/immutable/chunks/{CE_FxgNs.js → BAzeccV1.js} +1 -1
- package/web/app/immutable/chunks/{DeLyGL9g.js → BBA4Bzbm.js} +1 -1
- package/web/app/immutable/chunks/{DD5ISNL6.js → BCGsV37m.js} +1 -1
- package/web/app/immutable/chunks/{d6WJXB_G.js → BE3xHJK-.js} +1 -1
- package/web/app/immutable/chunks/{LTdieHUf.js → BE_5EfDm.js} +4 -4
- package/web/app/immutable/chunks/{yjIqqlQ2.js → BFBxuHtI.js} +1 -1
- package/web/app/immutable/chunks/{BtxhSwaF.js → BHNjUi-M.js} +1 -1
- package/web/app/immutable/chunks/{9WOIFXVq.js → BHVl-WA3.js} +1 -1
- package/web/app/immutable/chunks/{CJqmLHCx.js → BHvVwiFl.js} +1 -1
- package/web/app/immutable/chunks/{Cf8id2rO.js → BIvp5Tt2.js} +1 -1
- package/web/app/immutable/chunks/{B56Mq91W.js → BJOBGHF6.js} +1 -1
- package/web/app/immutable/chunks/{DOW78mrl.js → BMFAZxzl.js} +1 -1
- package/web/app/immutable/chunks/{CHjnK8eD.js → BMMqOSaL.js} +1 -1
- package/web/app/immutable/chunks/{DX3DcnUQ.js → BNcmjmX0.js} +1 -1
- package/web/app/immutable/chunks/{DJvRJQDF.js → BNhmUsaA.js} +1 -1
- package/web/app/immutable/chunks/{C7ZRfZC1.js → BRJ8JwtZ.js} +2 -2
- package/web/app/immutable/chunks/{nISUgxKe.js → BW9zdIKM.js} +1 -1
- package/web/app/immutable/chunks/{BUxvwYCZ.js → BWLkc8Du.js} +1 -1
- package/web/app/immutable/chunks/{C8Ewc55B.js → BY2EZOH5.js} +1 -1
- package/web/app/immutable/chunks/{BfzrGa3A.js → BYS_XVzS.js} +1 -1
- package/web/app/immutable/chunks/{BlMN_W9c.js → B_sZwi21.js} +1 -1
- package/web/app/immutable/chunks/{CE3cTmuW.js → BaeUp1de.js} +1 -1
- package/web/app/immutable/chunks/{DlLRbNZR.js → BcRUrG7V.js} +1 -1
- package/web/app/immutable/chunks/{BIAzHfjL.js → BcvgmgBl.js} +1 -1
- package/web/app/immutable/chunks/{CoMudm58.js → Bd-UWJsU.js} +1 -1
- package/web/app/immutable/chunks/{K9qmyacm.js → BdYPHOrS.js} +1 -1
- package/web/app/immutable/chunks/{DY2uGuix.js → Bdtl8KA4.js} +1 -1
- package/web/app/immutable/chunks/{F7DwQcta.js → BduWPjcR.js} +1 -1
- package/web/app/immutable/chunks/BeA8kzlg.js +1 -0
- package/web/app/immutable/chunks/{CglC4HOM.js → BfDRfZ1x.js} +1 -1
- package/web/app/immutable/chunks/{CHyKyUzM.js → BfNeIJAh.js} +1 -1
- package/web/app/immutable/chunks/{DsuM61wf.js → BfiKUtfz.js} +1 -1
- package/web/app/immutable/chunks/{D9iOEcKX.js → BiRCgfI8.js} +1 -1
- package/web/app/immutable/chunks/{NoEKF6rx.js → BjWMcF7P.js} +1 -1
- package/web/app/immutable/chunks/{E1eRJOvk.js → BjdHDlxK.js} +1 -1
- package/web/app/immutable/chunks/{DxnpD-Cb.js → Bmyv2TKf.js} +1 -1
- package/web/app/immutable/chunks/{xbz74Y37.js → Bobasviv.js} +1 -1
- package/web/app/immutable/chunks/Bp1o3thS.js +1 -0
- package/web/app/immutable/chunks/{BKzrjZp1.js → BpidAqRA.js} +6 -6
- package/web/app/immutable/chunks/{BZCXNg5s.js → BpnwXy6U.js} +1 -1
- package/web/app/immutable/chunks/{DPgkHx8Z.js → BrK9k8X4.js} +1 -1
- package/web/app/immutable/chunks/{BfQcXH7l.js → BsYAGCCJ.js} +1 -1
- package/web/app/immutable/chunks/{CMQoknXV.js → BsbCFjWI.js} +1 -1
- package/web/app/immutable/chunks/{LD1u5ntr.js → BuCbZihK.js} +2 -2
- package/web/app/immutable/chunks/{COZF9anf.js → BuEytmbB.js} +1 -1
- package/web/app/immutable/chunks/{5BjH__qw.js → BuNYZSRv.js} +1 -1
- package/web/app/immutable/chunks/{BYJTJW1o.js → BuxSPewv.js} +1 -1
- package/web/app/immutable/chunks/{wYgYMVXC.js → Bv6lXJbF.js} +1 -1
- package/web/app/immutable/chunks/{B4EyOcMP.js → Bvt4TKMh.js} +1 -1
- package/web/app/immutable/chunks/{BMla283I.js → Bxd9OUMD.js} +1 -1
- package/web/app/immutable/chunks/{Bielx7or.js → BzOameBd.js} +1 -1
- package/web/app/immutable/chunks/{DKShYaIJ.js → C-tVLzji.js} +1 -1
- package/web/app/immutable/chunks/{D76tmIP3.js → C1MSnWt8.js} +1 -1
- package/web/app/immutable/chunks/{CkMfCuzz.js → C1ZTS4Sh.js} +1 -1
- package/web/app/immutable/chunks/{BsWB9YpI.js → C3KFiFcK.js} +1 -1
- package/web/app/immutable/chunks/{BrgKUa-G.js → C4RucMn0.js} +1 -1
- package/web/app/immutable/chunks/{C9IQsGTN.js → C5vuxPIj.js} +1 -1
- package/web/app/immutable/chunks/{CpMi3Pqw.js → C7Fm8r7x.js} +1 -1
- package/web/app/immutable/chunks/{Z2NV50FD.js → C7Ro1E0r.js} +1 -1
- package/web/app/immutable/chunks/C7wbrsvU.js +1 -0
- package/web/app/immutable/chunks/{HcYBxKPc.js → CArqGgyL.js} +1 -1
- package/web/app/immutable/chunks/{BWr9U17b.js → CBC7YFdV.js} +1 -1
- package/web/app/immutable/chunks/{m9iBAChf.js → CCGEGA0G.js} +1 -1
- package/web/app/immutable/chunks/CCPn5VZR.js +1 -0
- package/web/app/immutable/chunks/{D3E9Lwsk.js → CDSwBgYD.js} +1 -1
- package/web/app/immutable/chunks/{Bi2Qf6lk.js → CESOOiWP.js} +1 -1
- package/web/app/immutable/chunks/{EZSy0A04.js → CEboTiDi.js} +3 -3
- package/web/app/immutable/chunks/{NmEpUrvw.js → CFS-CWu3.js} +1 -1
- package/web/app/immutable/chunks/{CM28_vQq.js → CGVLIZz9.js} +1 -1
- package/web/app/immutable/chunks/{ClAv9h9H.js → CGiCL1Ov.js} +1 -1
- package/web/app/immutable/chunks/{ChNKlZtm.js → CIqnL4UD.js} +1 -1
- package/web/app/immutable/chunks/{Bk0QUQDW.js → CJB7cvC2.js} +1 -1
- package/web/app/immutable/chunks/{CeOYgNbD.js → CKJpktTE.js} +1 -1
- package/web/app/immutable/chunks/{60bkkSrP.js → CKrDMmMA.js} +1 -1
- package/web/app/immutable/chunks/{BRWLc5hQ.js → CMOnvdXp.js} +1 -1
- package/web/app/immutable/chunks/{ClouAezj.js → CMpcqAa4.js} +3 -3
- package/web/app/immutable/chunks/{CYp2pkXV.js → CO7hmy56.js} +1 -1
- package/web/app/immutable/chunks/{DgtU93Ce.js → CP_jYxTi.js} +1 -1
- package/web/app/immutable/chunks/{CnivRSyI.js → CRLRbkCn.js} +1 -1
- package/web/app/immutable/chunks/{B8OTnzCv.js → CSSojjBG.js} +1 -1
- package/web/app/immutable/chunks/{Bfc3D5MS.js → CWYYinAo.js} +1 -1
- package/web/app/immutable/chunks/{fUxAhSKl.js → CXKfuiUF.js} +1 -1
- package/web/app/immutable/chunks/{BpePMNve.js → CXzbClP6.js} +1 -1
- package/web/app/immutable/chunks/{DM0_7KAa.js → CYttmgAy.js} +2 -2
- package/web/app/immutable/chunks/CZ_kVWbN.js +4 -0
- package/web/app/immutable/chunks/{BP23sDOE.js → CZnrzyHp.js} +1 -1
- package/web/app/immutable/chunks/{XBT2FDUw.js → CfwVmHCf.js} +1 -1
- package/web/app/immutable/chunks/{DBZdNxOK.js → CgWmg0h0.js} +1 -1
- package/web/app/immutable/chunks/{Bmwe3v73.js → CiQ6prZ_.js} +1 -1
- package/web/app/immutable/chunks/{C2NjZei7.js → Ci__OGHt.js} +1 -1
- package/web/app/immutable/chunks/{BVV0KdYJ.js → Cil-vK29.js} +1 -1
- package/web/app/immutable/chunks/{9Hyeqhzq.js → CiqS40z1.js} +1 -1
- package/web/app/immutable/chunks/{CHz9NPSg.js → CjijEKrk.js} +1 -1
- package/web/app/immutable/chunks/{BRfIKJVK.js → Ckt4hpBJ.js} +1 -1
- package/web/app/immutable/chunks/{NpJ_H_lL.js → Cl-7Au8R.js} +1 -1
- package/web/app/immutable/chunks/{DNnl-ruw.js → ClZsJ0tq.js} +1 -1
- package/web/app/immutable/chunks/{eE1Ik_Y8.js → Cn1E5b8h.js} +1 -1
- package/web/app/immutable/chunks/{BEdXc2Cn.js → CnMdEUN9.js} +1 -1
- package/web/app/immutable/chunks/{wAlzdqKW.js → Co38dt7I.js} +1 -1
- package/web/app/immutable/chunks/{DUj2SOU7.js → CoVAqVcd.js} +1 -1
- package/web/app/immutable/chunks/{DyC0TlBU.js → Csi1v0mQ.js} +1 -1
- package/web/app/immutable/chunks/{CNKDyXfa.js → CuXSY9SQ.js} +2 -2
- package/web/app/immutable/chunks/{DhuL_LWc.js → CwKaV1IY.js} +1 -1
- package/web/app/immutable/chunks/{So805CPS.js → CwMAKc0Q.js} +1 -1
- package/web/app/immutable/chunks/{Coh-8FDf.js → CwMqpcMm.js} +1 -1
- package/web/app/immutable/chunks/{BRzkxjZ7.js → CwakGbfV.js} +1 -1
- package/web/app/immutable/chunks/{Cd6dNiWt.js → CwiXEybf.js} +1 -1
- package/web/app/immutable/chunks/{BPe3vmZW.js → Cxbk0QV6.js} +1 -1
- package/web/app/immutable/chunks/{BVlLHHIh.js → D-JSvqq2.js} +2 -2
- package/web/app/immutable/chunks/{Cpr9mNUv.js → D-Uzg_w_.js} +1 -1
- package/web/app/immutable/chunks/{1bpiYpBu.js → D-v3doGL.js} +1 -1
- package/web/app/immutable/chunks/{BkUS-e35.js → D0BUPqIH.js} +4 -4
- package/web/app/immutable/chunks/{DZQgWgP1.js → D0Nn2MSZ.js} +43 -43
- package/web/app/immutable/chunks/{01VYey36.js → D2laB2lQ.js} +1 -1
- package/web/app/immutable/chunks/{DYXF8P9g.js → D3DGxoeO.js} +1 -1
- package/web/app/immutable/chunks/{BmIdlkCY.js → D8UOq-cZ.js} +1 -1
- package/web/app/immutable/chunks/D9wogWMJ.js +1 -0
- package/web/app/immutable/chunks/{D-Mv0NgR.js → DAGiwOmW.js} +1 -1
- package/web/app/immutable/chunks/{CwOQgsIB.js → DANuQK8j.js} +1 -1
- package/web/app/immutable/chunks/{n9Al_b1R.js → DAxsY0Gj.js} +1 -1
- package/web/app/immutable/chunks/DCCFERAn.js +1 -0
- package/web/app/immutable/chunks/{Ct1y2X3-.js → DCD7Mz5K.js} +1 -1
- package/web/app/immutable/chunks/{BqgLlXte.js → DDRhcF_8.js} +1 -1
- package/web/app/immutable/chunks/{nfg7gMK0.js → DF71nvkU.js} +1 -1
- package/web/app/immutable/chunks/{BCR36ulI.js → DGUKdi7i.js} +1 -1
- package/web/app/immutable/chunks/{DgqSfEsd.js → DGcTdGo8.js} +2 -2
- package/web/app/immutable/chunks/{CPYy7Bl8.js → DJQSxFj4.js} +1 -1
- package/web/app/immutable/chunks/{COKOIhyC.js → DKNnPYeR.js} +1 -1
- package/web/app/immutable/chunks/{-Iq9nlAE.js → DKf1LSfP.js} +1 -1
- package/web/app/immutable/chunks/{31GDMDj9.js → DLtIqvYl.js} +2 -2
- package/web/app/immutable/chunks/{S8lIecOL.js → DMHPeP9b.js} +1 -1
- package/web/app/immutable/chunks/{1N4-_XNd.js → DMW_Ogh_.js} +1 -1
- package/web/app/immutable/chunks/{LU9o-VsR.js → DNEb71Dh.js} +1 -1
- package/web/app/immutable/chunks/DVNTCHDs.js +1 -0
- package/web/app/immutable/chunks/{BtQGF6MG.js → DVTVoVn3.js} +1 -1
- package/web/app/immutable/chunks/{5BpiFfqe.js → DVWbUaqE.js} +2 -2
- package/web/app/immutable/chunks/{DXKRxRra.js → DWLCZ9bk.js} +1 -1
- package/web/app/immutable/chunks/{DQa6YuyW.js → DXNrmOAj.js} +1 -1
- package/web/app/immutable/chunks/{DLI1aSNH.js → DXO_adPf.js} +1 -1
- package/web/app/immutable/chunks/{C0l2XLvP.js → DZTtqmYJ.js} +1 -1
- package/web/app/immutable/chunks/{CQ-f-CXn.js → D_i6tc5B.js} +1 -1
- package/web/app/immutable/chunks/{DQhpCQ8x.js → DbWOkCcI.js} +1 -1
- package/web/app/immutable/chunks/{uU0UH-Q4.js → DcZ6Y3e4.js} +1 -1
- package/web/app/immutable/chunks/DdWD_Vv3.js +1 -0
- package/web/app/immutable/chunks/{BQypG4-Z.js → Df-CfLbF.js} +1 -1
- package/web/app/immutable/chunks/{R4bwBwT_.js → DfBE7crq.js} +1 -1
- package/web/app/immutable/chunks/{uTT4_LLP.js → DhSqfFgd.js} +1 -1
- package/web/app/immutable/chunks/{BSHExHmB.js → DiUyyFSb.js} +1 -1
- package/web/app/immutable/chunks/{BkMLj_bt.js → Diees_tN.js} +1 -1
- package/web/app/immutable/chunks/{DenVKqrV.js → Dk1_0x0Q.js} +1 -1
- package/web/app/immutable/chunks/{bbeE_6so.js → DkPqbYEN.js} +1 -1
- package/web/app/immutable/chunks/{Bcxw4jL3.js → DqdGC4dy.js} +1 -1
- package/web/app/immutable/chunks/Dso1_H3c.js +1 -0
- package/web/app/immutable/chunks/{nhnbx7C0.js → DuD0elPz.js} +1 -1
- package/web/app/immutable/chunks/{DlMw3wRu.js → DvQkR2Is.js} +1 -1
- package/web/app/immutable/chunks/{DYod7WBg.js → DwLudbcs.js} +1 -1
- package/web/app/immutable/chunks/{DBwqw4Qu.js → DxFUSFjo.js} +1 -1
- package/web/app/immutable/chunks/{BnXfq0KH.js → DxGil5MD.js} +1 -1
- package/web/app/immutable/chunks/{WOtBW7MG.js → DxHHBDex.js} +1 -1
- package/web/app/immutable/chunks/{C7r-OuIg.js → DyEA97Ij.js} +1 -1
- package/web/app/immutable/chunks/{CdxfWnwV.js → DySSBJC4.js} +1 -1
- package/web/app/immutable/chunks/{CR7cFb79.js → DyrELBv-.js} +1 -1
- package/web/app/immutable/chunks/{BOXppFhx.js → Dzg-ll0I.js} +1 -1
- package/web/app/immutable/chunks/{DJhmhU0F.js → DziBVnxJ.js} +3 -3
- package/web/app/immutable/chunks/{DRFOuvia.js → FEnI6pqw.js} +1 -1
- package/web/app/immutable/chunks/{idgVmMSO.js → G3lcIaVb.js} +1 -1
- package/web/app/immutable/chunks/{DX0DDRCM.js → GY5YfSD1.js} +1 -1
- package/web/app/immutable/chunks/{Cq9yywqY.js → H6rH-O5e.js} +1 -1
- package/web/app/immutable/chunks/{BFLeHPtB.js → HZf189bi.js} +1 -1
- package/web/app/immutable/chunks/{B7UFQMCa.js → HjTnEK4j.js} +1 -1
- package/web/app/immutable/chunks/{Cyv_QpXG.js → MCnrQrjH.js} +1 -1
- package/web/app/immutable/chunks/{CFp19SMm.js → MItv5vwZ.js} +1 -1
- package/web/app/immutable/chunks/{BcU-Zn0b.js → N6ccAT9m.js} +3 -3
- package/web/app/immutable/chunks/{Ce-iGpTr.js → Ossh6uZu.js} +1 -1
- package/web/app/immutable/chunks/{B8vvVbvT.js → PA5tKchu.js} +1 -1
- package/web/app/immutable/chunks/{Ck4zrPgL.js → Qk-BsDf0.js} +1 -1
- package/web/app/immutable/chunks/{IjAEhEd_.js → RlWPb-l5.js} +1 -1
- package/web/app/immutable/chunks/{C-hzwobp.js → SpNk3-qf.js} +2 -2
- package/web/app/immutable/chunks/{BcgRdy5h.js → T2yA2AgY.js} +2 -2
- package/web/app/immutable/chunks/{BirwNQi3.js → Ug0dtdu2.js} +4 -4
- package/web/app/immutable/chunks/{CkyjResP.js → VLZW5k04.js} +1 -1
- package/web/app/immutable/chunks/{9REiaz4P.js → Wjuib0ag.js} +1 -1
- package/web/app/immutable/chunks/{DR0muAaQ.js → YkXzGZ8n.js} +1 -1
- package/web/app/immutable/chunks/{3ol3wj0q.js → Z1K5P4U2.js} +1 -1
- package/web/app/immutable/chunks/{CF-5Z7Xo.js → ayrFAfGH.js} +1 -1
- package/web/app/immutable/chunks/{C92p6Xk1.js → dLK087oD.js} +1 -1
- package/web/app/immutable/chunks/{VzU2yQD-.js → f7LaE2V_.js} +4 -4
- package/web/app/immutable/chunks/{C8XfwzHP.js → fJUF_fJi.js} +1 -1
- package/web/app/immutable/chunks/{DVUO3Tx5.js → fOffirGV.js} +1 -1
- package/web/app/immutable/chunks/{CH58YVSk.js → gVcm9LZ1.js} +1 -1
- package/web/app/immutable/chunks/{rz6OBXp5.js → jrcipDnr.js} +1 -1
- package/web/app/immutable/chunks/{OtDorjRa.js → k3FE0FJZ.js} +1 -1
- package/web/app/immutable/chunks/{D0BCTOi7.js → l8UFOWir.js} +3 -3
- package/web/app/immutable/chunks/{BY6hRbJf.js → m2BK1mVX.js} +1 -1
- package/web/app/immutable/chunks/m5UczIQR.js +18 -0
- package/web/app/immutable/chunks/{Cc3p9mKN.js → mdduA0pr.js} +1 -1
- package/web/app/immutable/chunks/{BKpbFIyR.js → nd4329YU.js} +1 -1
- package/web/app/immutable/chunks/{DHO1UrQa.js → oJD7n1Ce.js} +1 -1
- package/web/app/immutable/chunks/{BaoulGHD.js → rNW14wgI.js} +1 -1
- package/web/app/immutable/chunks/{CSAk4qZa.js → sT0KaY62.js} +1 -1
- package/web/app/immutable/chunks/{Ce6vcV0f.js → t1ZWo-I1.js} +1 -1
- package/web/app/immutable/chunks/{tE5q5HcJ.js → tO-hey33.js} +1 -1
- package/web/app/immutable/chunks/{nUyY273s.js → td5hg6sa.js} +1 -1
- package/web/app/immutable/chunks/{DvT1AhIX.js → tj2YkYbp.js} +1 -1
- package/web/app/immutable/chunks/{C4YSpHI_.js → wP6HsJDJ.js} +1 -1
- package/web/app/immutable/chunks/{C2q2h8LC.js → wylA95cI.js} +1 -1
- package/web/app/immutable/chunks/{Cr3SSyqj.js → xD874lNR.js} +2 -2
- package/web/app/immutable/chunks/{DjiG1aj4.js → xTKdEUQT.js} +1 -1
- package/web/app/immutable/chunks/{rKfhSL2S.js → zP9pbpMh.js} +1 -1
- package/web/app/immutable/chunks/{BJ8NXEMJ.js → zobwBhBP.js} +1 -1
- package/web/app/immutable/entry/{app.BvRxV6R1.js → app.DzJavKOz.js} +3 -3
- package/web/app/immutable/entry/start.D3-DqMWL.js +1 -0
- package/web/app/immutable/nodes/{0.DlMK7EKt.js → 0.DwHYAcJA.js} +1 -1
- package/web/app/immutable/nodes/{1.Bc43OCNt.js → 1.CNlxk-Wb.js} +1 -1
- package/web/app/immutable/nodes/{10.CRW4MxVn.js → 10.Bnp8Ru15.js} +1 -1
- package/web/app/immutable/nodes/{11.v3TvfIzF.js → 11.CVezrggv.js} +1 -1
- package/web/app/immutable/nodes/{12.DU8-Nmz-.js → 12.BPw8mLRI.js} +1 -1
- package/web/app/immutable/nodes/{13.pNrv4shY.js → 13.DEB8Wg7Z.js} +3 -3
- package/web/app/immutable/nodes/{14.fcMbdu6Z.js → 14.C5EP7pij.js} +1 -1
- package/web/app/immutable/nodes/{15.DBMm4pyM.js → 15.FeIesTUd.js} +1 -1
- package/web/app/immutable/nodes/{16.ClJoD8WH.js → 16.CxMj36A8.js} +1 -1
- package/web/app/immutable/nodes/{17.B3dCuKkH.js → 17.CWgUp0nx.js} +2 -2
- package/web/app/immutable/nodes/2.i3va2l-3.js +13 -0
- package/web/app/immutable/nodes/{3.tV7qLGeC.js → 3.TRZPY3g1.js} +1 -1
- package/web/app/immutable/nodes/{4.CLfVtjCR.js → 4.Q_cklVfx.js} +1 -1
- package/web/app/immutable/nodes/{5.DcQbRELp.js → 5.DQss9mOg.js} +1 -1
- package/web/app/immutable/nodes/{6.CS7SDYA7.js → 6.B1fe3H2i.js} +1 -1
- package/web/app/immutable/nodes/{7.D7iSydzH.js → 7.Bs2GT-JO.js} +1 -1
- package/web/app/immutable/nodes/8.Bhi1HY5b.js +14 -0
- package/web/app/immutable/nodes/{9.Daikd_tE.js → 9.BWi2XzAl.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/app/immutable/chunks/-svebp9s.js +0 -18
- package/web/app/immutable/chunks/B3iZfhYu.js +0 -1
- package/web/app/immutable/chunks/Bap15j_Q.js +0 -4
- package/web/app/immutable/chunks/Brb5mMFP.js +0 -1
- package/web/app/immutable/chunks/C9Vu0azd.js +0 -1
- package/web/app/immutable/chunks/CCbp1hCi.js +0 -1
- package/web/app/immutable/chunks/CXgKrD4b.js +0 -1
- package/web/app/immutable/chunks/Coc7Z84W.js +0 -1
- package/web/app/immutable/chunks/D6H9qMAI.js +0 -1
- package/web/app/immutable/chunks/Nzi7bwxO.js +0 -1
- package/web/app/immutable/chunks/tjb4ezeK.js +0 -1
- package/web/app/immutable/entry/start.BrbYIb0p.js +0 -1
- package/web/app/immutable/nodes/2.XomcwXea.js +0 -13
- package/web/app/immutable/nodes/8.C7yThhga.js +0 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as Fe,bq as U,a_ as K,bo as M,by as je,b as qe,bu as De,bs as rt,bt as xt}from"./CXgKrD4b.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as a,bn as Ne,aA as X,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Be,ca as yt,bk as st,bH as Pe,bV as Oe,a7 as fe,be as $e,b$ as ke,bO as O,bl as Ae}from"./DYhIMPy1.js";import{G as ot}from"./Brb5mMFP.js";import{u as ze,v as Xe,j as Ze,n as Ie,i as Qe}from"./BEdXc2Cn.js";import{c as P}from"./7vJjNlp5.js";import{P as Ee,h as Me,i as Se,g as We}from"./5BjH__qw.js";import{B as At,t as T,E as Ye,d as Pt}from"./HSKzTsh4.js";import{f as Ce}from"./-svebp9s.js";import{C as Tt}from"./K9qmyacm.js";import"./DQa6YuyW.js";import{Ik as xe,fi as Rt,Eh as nt,CH as it,pu as It}from"./DenVKqrV.js";import{aO as lt,aL as Dt,aM as Ht,dt as Lt}from"./HcYBxKPc.js";import{d as zt,r as Et}from"./BKpbFIyR.js";import{M as Mt}from"./DJhmhU0F.js";import{k as St}from"./LTdieHUf.js";import{e as et}from"./5BpiFfqe.js";import{J as Wt,e as Ct}from"./BcgRdy5h.js";import{o as Bt}from"./Cpr9mNUv.js";import{S as He}from"./DX0DDRCM.js";import{F as Le,_ as Ot,cZ as Ft,as as jt,bj as qt}from"./D-Mv0NgR.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Vt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Jt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Kt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Ut=m('<div class="flex h-10 items-center px-3"><!></div>'),Xt=m("<div><!> <!> <!> <!></div>"),Zt=m("<!> <!>",1),Qt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Fe({component:dt,...b});Ge(l,!0);const Z=At();bt(Z.cleanup);let H=U(l,"detail",7,!1),F=U(l,"count",7,5),Q=U(l,"view",7,"list"),Y=U(l,"grouped",7,!1),s=U(l,"rows",7,"workspace");var L={get detail(){return H()},set detail(i=!1){H(i),X()},get count(){return F()},set count(i=5){F(i),X()},get view(){return Q()},set view(i="list"){Q(i),X()},get grouped(){return Y()},set grouped(i=!1){Y(i),X()},get rows(){return s()},set rows(i="workspace"){s(i),X()},$set:je,$on:(i,I)=>qe(l,i,I)},y=Qt(),ie=u(y),be=u(ie);{var le=i=>{var I=Nt(),g=R(I),ee=u(g);T(ee,{class:"h-6 w-4/5"});var S=n(ee,2);T(S,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);Ie(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var j=n(te,2);T(j,{class:"h-3 w-5/6"}),c(k),a(h,k)}),a(i,I)},Te=i=>{var I=Kt();Ie(I,20,()=>[0,1,2],g=>g,(g,ee)=>{var S=Jt(),d=u(S),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);Ie(A,16,()=>[0,1,2],k=>k,(k,te)=>{var j=Vt(),de=u(j),ae=u(de);T(ae,{class:"h-4 flex-1"});var ce=n(ae);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(j),a(k,j)}),c(S),a(g,S)}),c(I),a(i,I)},_e=i=>{var I=Zt(),g=R(I);{var ee=d=>{var h=Ut(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),a(d,h)};K(g,d=>{Y()&&d(ee)})}var S=n(g,2);Ie(S,16,()=>Array.from({length:F()},(d,h)=>h),d=>d,(d,h)=>{var A=Xt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var j=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},ae=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};K(j,o=>{s()==="workspace"?o(de):s()==="integration"&&o(ae,1)})}var ce=n(j,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};K(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Xe(A,1,Ze(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),a(d,A)}),a(i,I)};K(be,i=>{H()?i(le):Q()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{ze(y,"aria-label",i),ze(y,"data-reduced",Z.current),Xe(ie,1,Ze(H()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>M.home_integrations_loading()]),a(b,y),Ne(L)}function ct(b){return b.filter(zt)}function Yt(){let b=null;return(l,Z)=>{const H=b?l.find(Q=>Q.id===b):void 0;if(H)return H;const F=Et(l);return b=Z&&F?String(F.id):null,F}}function ea(b,l,Z){return l&&b.find(H=>H.id===l)||Z}var ta=m('<div class="p-4"><!></div>'),aa=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Fe({component:vt,...b});Ge(l,!0);const Z=()=>De(ie,"$agents$",F),H=()=>De(be,"$loaded$",F),[F,Q]=rt();let Y=U(l,"workspace",7),s=U(l,"preview",7,!1),L=U(l,"agent",7);const y=Be(()=>Y().id),ie=lt(y),be=Dt(y),le=$(()=>ct(Z())),Te=$(()=>s()?void 0:L()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Mt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Oe(void 0),i=0;function I(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Oe(!1),ee;function S(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(It(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||S(),()=>clearTimeout(ee)));var d={focusAttention:I,get workspace(){return Y()},set workspace(t){Y(t),X()},get preview(){return s()},set preview(t=!1){s(t),X()},get agent(){return L()},set agent(t){L(t),X()},$set:je,$on:(t,o)=>qe(l,t,o)},h=aa(),A=u(h);{var k=t=>{Ye(t,{density:"compact",title:w=>{$e();var q=ke();x(re=>O(q,re),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),a(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>L().id,q=>{{let re=$(()=>e(_e)?.agentId===L().id?e(_e):void 0);Tt(q,{get workspace(){return Y()},get agentId(){return L().id},get agentName(){return L().name},autoFocus:!1,get attentionFocusRequest(){return e(re)},isInitialWorkspaceAgent:!1})}}),a(t,o)},j=t=>{var o=ta(),w=u(o);dt(w,{detail:!0}),c(o),a(t,o)},de=t=>{{const o=q=>{$e();var re=ke();x(ye=>O(re,ye),[()=>M.home_detail_unavailable()]),a(q,re)};let w=$(()=>M.home_retry());Pt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:S,message:o,$$slots:{message:!0}})}},ae=t=>{{const o=q=>{$e();var re=ke();x(ye=>O(re,ye),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),a(q,re)};let w=$(()=>M.home_retry());Ye(t,{density:"compact",get actionLabel(){return e(w)},onAction:S,title:o,$$slots:{title:!0}})}};K(A,t=>{s()?t(k):L()?t(te,1):!H()&&!e(g)?t(j,2):H()?t(ae,-1):t(de,3)})}c(h),x(()=>ze(h,"data-workspace-link-target",Y().id)),a(b,h);var ce=Ne(d);return Q(),ce}var ra=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sa=m('<div class="shrink-0"><!></div>'),oa=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),at=m("<!><!>",1),na=m("<p> </p>"),ia=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),la=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),da=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),ca=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),va=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ua(b,l){if(new.target)return Fe({component:ua,...b});Ge(l,!0);const Z=()=>De(_e,"$readRevision$",Q),H=()=>De(Te,"$agents$",Q),F=()=>De(I,"$pickedId$",Q),[Q,Y]=rt();let s=U(l,"workspace",7),L=U(l,"onclose",7),y=U(l,"preview",7,!1),ie=U(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:M.workspace_links_untitled_label()),le=Be(()=>s().id),Te=lt(le),_e=Ht(le),i=Be(()=>Z()),I=Wt(le),g=$(()=>ct(H())),ee=Yt(),S=$(()=>ee(e(g),Z()>i)),d=$(()=>ea(e(g),F(),e(S)));function h(r){xe.dispatch(nt(le,r)),xe.dispatch(it(le,r))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Oe(!1);async function te(){Pe(k,!1);try{await Ct(s().id),Pe(k,!Lt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function j(){Bt(s().id)}var de={get workspace(){return s()},set workspace(r){s(r),X()},get onclose(){return L()},set onclose(r){L(r),X()},get preview(){return y()},set preview(r=!1){y(r),X()},get showBackToList(){return ie()},set showBackToList(r=!0){ie(r),X()},$set:je,$on:(r,f)=>qe(l,r,f)},ae=va(),ce=u(ae),t=u(ce),o=u(t),w=u(o);P(w,()=>Ee,(r,f)=>{f(r,{children:(G,oe)=>{var N=fe(),W=R(N);P(W,()=>Me,(ve,z)=>{z(ve,{children:(V,ge)=>{var me=tt(),ne=R(me);{const C=(E,B)=>{let D=()=>(B?.()).props;{let v=$(()=>M.home_open_workspace());Ce(E,xt(D,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:j,children:(p,J)=>{var _=ra(),se=R(_),ue=Ae(se,!0),we=n(se,2);Le(we,{get icon(){return Ot},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>O(ue,e(be))),a(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Se,(E,B)=>{B(E,{child:C,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(C,E)=>{E(C,{children:(B,D)=>{$e();var v=ke();x(()=>O(v,e(be))),a(B,v)},$$slots:{default:!0}})}),a(V,me)},$$slots:{default:!0}})}),a(G,N)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var re=r=>{var f=sa(),G=u(f);{let oe=$(()=>M.home_close_preview()),N=$(()=>M.home_close_preview());Ce(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return L()},children:(W,ve)=>{Le(W,{get icon(){return Ft}})},$$slots:{default:!0}})}c(f),a(r,f)};K(q,r=>{ie()&&r(re)})}c(t);var ye=n(t,2);{var ut=r=>{var f=fe(),G=R(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),V=R(z);P(V,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=at(),E=R(C);{const D=(v,p)=>{let J=()=>(p?.()).props;var _=oa();Qe(_,()=>({...J(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{St(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{Le(pe,{get icon(){return qt}})};K(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Ue=n(se,2),Re=Ae(Ue,!0);c(_),x(()=>O(Re,e(A))),a(v,_)};P(E,()=>Se,(v,p)=>{p(v,{child:D,$$slots:{child:!0}})})}var B=n(E);P(B,()=>We,(D,v)=>{v(D,{children:(p,J)=>{$e();var _=ke();x(()=>O(_,e(A))),a(p,_)},$$slots:{default:!0}})}),a(ne,C)},$$slots:{default:!0}})}),a(W,z)},$$slots:{default:!0}})}),a(r,f)};K(ye,r=>{e(A)&&r(ut)})}var pt=n(ye,2);{var mt=r=>{var f=fe(),G=R(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),V=R(z);P(V,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=at(),E=R(C);{const D=(v,p)=>{let J=()=>(p?.()).props;var _=na();Qe(_,()=>({...J(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>O(se,s().statusMessage)),a(v,_)};P(E,()=>Se,(v,p)=>{p(v,{child:D,$$slots:{child:!0}})})}var B=n(E);P(B,()=>We,(D,v)=>{v(D,{children:(p,J)=>{$e();var _=ke();x(()=>O(_,s().statusMessage)),a(p,_)},$$slots:{default:!0}})}),a(ne,C)},$$slots:{default:!0}})}),a(W,z)},$$slots:{default:!0}})}),a(r,f)};K(pt,r=>{s().statusMessage&&r(mt)})}c(ce);var Ve=n(ce,2);{var ft=r=>{var f=da(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>He.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const z=e(g).find(V=>V.id===ve);z&&h(z.id)},children:(ve,z)=>{var V=tt(),ge=R(V);{let ne=$(()=>M.home_agents());P(ge,()=>He.Trigger,(he,C)=>{C(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(E,B)=>{var D=ia(),v=R(D);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};K(v,ue=>{e(d)&&ue(p)})}var J=n(v,2),_=Ae(J,!0),se=n(J,2);Le(se,{get icon(){return jt},class:"shrink-0 text-muted-foreground"}),x(()=>O(_,e(d)?.name)),a(E,D)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>He.Content,(ne,he)=>{he(ne,{portal:!0,children:(C,E)=>{var B=fe(),D=R(B);Ie(D,17,()=>e(g),v=>v.id,(v,p)=>{var J=fe(),_=R(J);P(_,()=>He.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Ue)=>{var Re=la(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>O($t,e(p).name)),a(we,Re)},$$slots:{default:!0}})}),a(v,J)}),a(C,B)},$$slots:{default:!0}})}),a(ve,V)},$$slots:{default:!0}})})}c(f),a(r,f)};K(Ve,r=>{e(g).length&&r(ft)})}var Je=n(Ve,2);{var _t=r=>{var f=ca(),G=u(f),oe=Ae(G,!0),N=n(G,2);Ce(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var z=ke();x(V=>O(z,V),[()=>M.home_retry()]),a(W,z)},$$slots:{default:!0}}),c(f),x(W=>O(oe,W),[()=>M.home_detail_unavailable()]),a(r,f)};K(Je,r=>{e(k)&&r(_t)})}var Ke=n(Je,2),gt=u(Ke);ot(gt,()=>s().id,r=>{vt(r,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ke),c(ae),x(r=>ze(ae,"aria-label",r),[()=>M.home_workspace_details()]),a(b,ae);var ht=Ne(de);return Y(),ht}export{dt as H,ua as a};
|
|
1
|
+
import{t as Fe,bq as U,a_ as K,bo as M,by as je,b as qe,bu as De,bs as rt,bt as xt}from"./Dso1_H3c.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as a,bn as Ne,aA as X,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Be,ca as yt,bk as st,bH as Pe,bV as Oe,a7 as fe,be as $e,b$ as ke,bO as O,bl as Ae}from"./DYhIMPy1.js";import{G as ot}from"./DCCFERAn.js";import{u as ze,v as Xe,j as Ze,n as Ie,i as Qe}from"./CnMdEUN9.js";import{c as P}from"./B3KrGqdQ.js";import{P as Ee,h as Me,i as Se,g as We}from"./BuNYZSRv.js";import{B as At,t as T,E as Ye,d as Pt}from"./Az9OQ8Pw.js";import{f as Ce}from"./m5UczIQR.js";import{C as Tt}from"./BdYPHOrS.js";import"./DXNrmOAj.js";import{Ik as xe,fi as Rt,Eh as nt,CH as it,pu as It}from"./Dk1_0x0Q.js";import{aO as lt,aL as Dt,aM as Ht,dt as Lt}from"./CArqGgyL.js";import{d as zt,r as Et}from"./nd4329YU.js";import{M as Mt}from"./DziBVnxJ.js";import{k as St}from"./BE_5EfDm.js";import{e as et}from"./DVWbUaqE.js";import{J as Wt,e as Ct}from"./T2yA2AgY.js";import{o as Bt}from"./D-Uzg_w_.js";import{S as He}from"./GY5YfSD1.js";import{F as Le,_ as Ot,cZ as Ft,as as jt,bj as qt}from"./DAGiwOmW.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Vt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Jt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Kt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Ut=m('<div class="flex h-10 items-center px-3"><!></div>'),Xt=m("<div><!> <!> <!> <!></div>"),Zt=m("<!> <!>",1),Qt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Fe({component:dt,...b});Ge(l,!0);const Z=At();bt(Z.cleanup);let H=U(l,"detail",7,!1),F=U(l,"count",7,5),Q=U(l,"view",7,"list"),Y=U(l,"grouped",7,!1),s=U(l,"rows",7,"workspace");var L={get detail(){return H()},set detail(i=!1){H(i),X()},get count(){return F()},set count(i=5){F(i),X()},get view(){return Q()},set view(i="list"){Q(i),X()},get grouped(){return Y()},set grouped(i=!1){Y(i),X()},get rows(){return s()},set rows(i="workspace"){s(i),X()},$set:je,$on:(i,I)=>qe(l,i,I)},y=Qt(),ie=u(y),be=u(ie);{var le=i=>{var I=Nt(),g=R(I),ee=u(g);T(ee,{class:"h-6 w-4/5"});var S=n(ee,2);T(S,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);Ie(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var j=n(te,2);T(j,{class:"h-3 w-5/6"}),c(k),a(h,k)}),a(i,I)},Te=i=>{var I=Kt();Ie(I,20,()=>[0,1,2],g=>g,(g,ee)=>{var S=Jt(),d=u(S),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);Ie(A,16,()=>[0,1,2],k=>k,(k,te)=>{var j=Vt(),de=u(j),ae=u(de);T(ae,{class:"h-4 flex-1"});var ce=n(ae);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(j),a(k,j)}),c(S),a(g,S)}),c(I),a(i,I)},_e=i=>{var I=Zt(),g=R(I);{var ee=d=>{var h=Ut(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),a(d,h)};K(g,d=>{Y()&&d(ee)})}var S=n(g,2);Ie(S,16,()=>Array.from({length:F()},(d,h)=>h),d=>d,(d,h)=>{var A=Xt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var j=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},ae=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};K(j,o=>{s()==="workspace"?o(de):s()==="integration"&&o(ae,1)})}var ce=n(j,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};K(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Xe(A,1,Ze(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),a(d,A)}),a(i,I)};K(be,i=>{H()?i(le):Q()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{ze(y,"aria-label",i),ze(y,"data-reduced",Z.current),Xe(ie,1,Ze(H()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>M.home_integrations_loading()]),a(b,y),Ne(L)}function ct(b){return b.filter(zt)}function Yt(){let b=null;return(l,Z)=>{const H=b?l.find(Q=>Q.id===b):void 0;if(H)return H;const F=Et(l);return b=Z&&F?String(F.id):null,F}}function ea(b,l,Z){return l&&b.find(H=>H.id===l)||Z}var ta=m('<div class="p-4"><!></div>'),aa=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Fe({component:vt,...b});Ge(l,!0);const Z=()=>De(ie,"$agents$",F),H=()=>De(be,"$loaded$",F),[F,Q]=rt();let Y=U(l,"workspace",7),s=U(l,"preview",7,!1),L=U(l,"agent",7);const y=Be(()=>Y().id),ie=lt(y),be=Dt(y),le=$(()=>ct(Z())),Te=$(()=>s()?void 0:L()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Mt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Oe(void 0),i=0;function I(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Oe(!1),ee;function S(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(It(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||S(),()=>clearTimeout(ee)));var d={focusAttention:I,get workspace(){return Y()},set workspace(t){Y(t),X()},get preview(){return s()},set preview(t=!1){s(t),X()},get agent(){return L()},set agent(t){L(t),X()},$set:je,$on:(t,o)=>qe(l,t,o)},h=aa(),A=u(h);{var k=t=>{Ye(t,{density:"compact",title:w=>{$e();var q=ke();x(re=>O(q,re),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),a(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>L().id,q=>{{let re=$(()=>e(_e)?.agentId===L().id?e(_e):void 0);Tt(q,{get workspace(){return Y()},get agentId(){return L().id},get agentName(){return L().name},autoFocus:!1,get attentionFocusRequest(){return e(re)},isInitialWorkspaceAgent:!1})}}),a(t,o)},j=t=>{var o=ta(),w=u(o);dt(w,{detail:!0}),c(o),a(t,o)},de=t=>{{const o=q=>{$e();var re=ke();x(ye=>O(re,ye),[()=>M.home_detail_unavailable()]),a(q,re)};let w=$(()=>M.home_retry());Pt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:S,message:o,$$slots:{message:!0}})}},ae=t=>{{const o=q=>{$e();var re=ke();x(ye=>O(re,ye),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),a(q,re)};let w=$(()=>M.home_retry());Ye(t,{density:"compact",get actionLabel(){return e(w)},onAction:S,title:o,$$slots:{title:!0}})}};K(A,t=>{s()?t(k):L()?t(te,1):!H()&&!e(g)?t(j,2):H()?t(ae,-1):t(de,3)})}c(h),x(()=>ze(h,"data-workspace-link-target",Y().id)),a(b,h);var ce=Ne(d);return Q(),ce}var ra=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sa=m('<div class="shrink-0"><!></div>'),oa=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),at=m("<!><!>",1),na=m("<p> </p>"),ia=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),la=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),da=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),ca=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),va=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ua(b,l){if(new.target)return Fe({component:ua,...b});Ge(l,!0);const Z=()=>De(_e,"$readRevision$",Q),H=()=>De(Te,"$agents$",Q),F=()=>De(I,"$pickedId$",Q),[Q,Y]=rt();let s=U(l,"workspace",7),L=U(l,"onclose",7),y=U(l,"preview",7,!1),ie=U(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:M.workspace_links_untitled_label()),le=Be(()=>s().id),Te=lt(le),_e=Ht(le),i=Be(()=>Z()),I=Wt(le),g=$(()=>ct(H())),ee=Yt(),S=$(()=>ee(e(g),Z()>i)),d=$(()=>ea(e(g),F(),e(S)));function h(r){xe.dispatch(nt(le,r)),xe.dispatch(it(le,r))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Oe(!1);async function te(){Pe(k,!1);try{await Ct(s().id),Pe(k,!Lt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function j(){Bt(s().id)}var de={get workspace(){return s()},set workspace(r){s(r),X()},get onclose(){return L()},set onclose(r){L(r),X()},get preview(){return y()},set preview(r=!1){y(r),X()},get showBackToList(){return ie()},set showBackToList(r=!0){ie(r),X()},$set:je,$on:(r,f)=>qe(l,r,f)},ae=va(),ce=u(ae),t=u(ce),o=u(t),w=u(o);P(w,()=>Ee,(r,f)=>{f(r,{children:(G,oe)=>{var N=fe(),W=R(N);P(W,()=>Me,(ve,z)=>{z(ve,{children:(V,ge)=>{var me=tt(),ne=R(me);{const C=(E,B)=>{let D=()=>(B?.()).props;{let v=$(()=>M.home_open_workspace());Ce(E,xt(D,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:j,children:(p,J)=>{var _=ra(),se=R(_),ue=Ae(se,!0),we=n(se,2);Le(we,{get icon(){return Ot},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>O(ue,e(be))),a(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Se,(E,B)=>{B(E,{child:C,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(C,E)=>{E(C,{children:(B,D)=>{$e();var v=ke();x(()=>O(v,e(be))),a(B,v)},$$slots:{default:!0}})}),a(V,me)},$$slots:{default:!0}})}),a(G,N)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var re=r=>{var f=sa(),G=u(f);{let oe=$(()=>M.home_close_preview()),N=$(()=>M.home_close_preview());Ce(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return L()},children:(W,ve)=>{Le(W,{get icon(){return Ft}})},$$slots:{default:!0}})}c(f),a(r,f)};K(q,r=>{ie()&&r(re)})}c(t);var ye=n(t,2);{var ut=r=>{var f=fe(),G=R(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),V=R(z);P(V,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=at(),E=R(C);{const D=(v,p)=>{let J=()=>(p?.()).props;var _=oa();Qe(_,()=>({...J(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{St(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{Le(pe,{get icon(){return qt}})};K(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Ue=n(se,2),Re=Ae(Ue,!0);c(_),x(()=>O(Re,e(A))),a(v,_)};P(E,()=>Se,(v,p)=>{p(v,{child:D,$$slots:{child:!0}})})}var B=n(E);P(B,()=>We,(D,v)=>{v(D,{children:(p,J)=>{$e();var _=ke();x(()=>O(_,e(A))),a(p,_)},$$slots:{default:!0}})}),a(ne,C)},$$slots:{default:!0}})}),a(W,z)},$$slots:{default:!0}})}),a(r,f)};K(ye,r=>{e(A)&&r(ut)})}var pt=n(ye,2);{var mt=r=>{var f=fe(),G=R(f);P(G,()=>Ee,(oe,N)=>{N(oe,{children:(W,ve)=>{var z=fe(),V=R(z);P(V,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=at(),E=R(C);{const D=(v,p)=>{let J=()=>(p?.()).props;var _=na();Qe(_,()=>({...J(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>O(se,s().statusMessage)),a(v,_)};P(E,()=>Se,(v,p)=>{p(v,{child:D,$$slots:{child:!0}})})}var B=n(E);P(B,()=>We,(D,v)=>{v(D,{children:(p,J)=>{$e();var _=ke();x(()=>O(_,s().statusMessage)),a(p,_)},$$slots:{default:!0}})}),a(ne,C)},$$slots:{default:!0}})}),a(W,z)},$$slots:{default:!0}})}),a(r,f)};K(pt,r=>{s().statusMessage&&r(mt)})}c(ce);var Ve=n(ce,2);{var ft=r=>{var f=da(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>He.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const z=e(g).find(V=>V.id===ve);z&&h(z.id)},children:(ve,z)=>{var V=tt(),ge=R(V);{let ne=$(()=>M.home_agents());P(ge,()=>He.Trigger,(he,C)=>{C(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(E,B)=>{var D=ia(),v=R(D);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};K(v,ue=>{e(d)&&ue(p)})}var J=n(v,2),_=Ae(J,!0),se=n(J,2);Le(se,{get icon(){return jt},class:"shrink-0 text-muted-foreground"}),x(()=>O(_,e(d)?.name)),a(E,D)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>He.Content,(ne,he)=>{he(ne,{portal:!0,children:(C,E)=>{var B=fe(),D=R(B);Ie(D,17,()=>e(g),v=>v.id,(v,p)=>{var J=fe(),_=R(J);P(_,()=>He.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Ue)=>{var Re=la(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>O($t,e(p).name)),a(we,Re)},$$slots:{default:!0}})}),a(v,J)}),a(C,B)},$$slots:{default:!0}})}),a(ve,V)},$$slots:{default:!0}})})}c(f),a(r,f)};K(Ve,r=>{e(g).length&&r(ft)})}var Je=n(Ve,2);{var _t=r=>{var f=ca(),G=u(f),oe=Ae(G,!0),N=n(G,2);Ce(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var z=ke();x(V=>O(z,V),[()=>M.home_retry()]),a(W,z)},$$slots:{default:!0}}),c(f),x(W=>O(oe,W),[()=>M.home_detail_unavailable()]),a(r,f)};K(Je,r=>{e(k)&&r(_t)})}var Ke=n(Je,2),gt=u(Ke);ot(gt,()=>s().id,r=>{vt(r,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ke),c(ae),x(r=>ze(ae,"aria-label",r),[()=>M.home_workspace_details()]),a(b,ae);var ht=Ne(de);return Y(),ht}export{dt as H,ua as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var $s=Object.defineProperty;var Fs=(f,r,l)=>r in f?$s(f,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):f[r]=l;var q=(f,r,l)=>Fs(f,typeof r!="symbol"?r+"":r,l);import{t as dn,bq as S,a_ as M,bo as P,by as un,bs as On,b as hn,bu as je}from"./CXgKrD4b.js";import{ai as xr,bs as gn,ca as Be,aD as e,bH as m,a5 as N,bA as H,b_ as z,aw as sn,aj as ln,W as w,bn as fn,bV as Y,aA as x,ay as ne,bS as C,bl as de,bO as K,aB as T,c9 as u,a7 as nt,br as tt,bj as sr,c5 as gt,c0 as Ln,a as Us,be as Tt,b$ as ft,bf as or}from"./DYhIMPy1.js";import{v as En,u as Ve,n as Pt,p as Hn,I as ir,g as ar,w as lr}from"./BEdXc2Cn.js";import{I as cn,F as Ws,c as Bs,t as Rt}from"./NpJ_H_lL.js";import{b as on}from"./BaIAhI85.js";import{Ik as Me,eD as Vs,eu as Ks,ev as js,oz as qs,no as Vt,ns as cr,nr as In,ex as Gs,uQ as Qs,uR as Xs,uT as Ys,Go as Zs,Ip as Js,rg as eo,eC as to}from"./DenVKqrV.js";import{c as no}from"./Nzi7bwxO.js";import{F as Ne,Z as ro,a4 as An,as as dr,at as ur,bN as so,aL as oo,c7 as hr,bU as gr,ck as fr}from"./D-Mv0NgR.js";import{dr as io,be as ao,M as lo,aC as mr,i as co}from"./HcYBxKPc.js";import{L as pr}from"./BtxhSwaF.js";import{C as an}from"./DypB-Dwi.js";import{b5 as kr,bK as uo,bQ as ho}from"./DNnl-ruw.js";import{q as $e,d as go,g as fo}from"./C0l2XLvP.js";import"./CHyKyUzM.js";import{f as ke}from"./-svebp9s.js";import{e as mo}from"./5BpiFfqe.js";import{T as Pr}from"./B7UFQMCa.js";import{g as Nn}from"./DHO1UrQa.js";import{C as po}from"./tE5q5HcJ.js";import{C as vo}from"./5BjH__qw.js";import{s as vr}from"./D6H9qMAI.js";import{t as Dt}from"./HSKzTsh4.js";import{P as _o,k as _r}from"./LTdieHUf.js";import{g as wo}from"./D3E9Lwsk.js";import{a5 as bo,V as yo}from"./BcgRdy5h.js";import{ap as Co}from"./D0BCTOi7.js";import{L as wr}from"./DJhmhU0F.js";import{ad as So,ac as xo,ae as ko}from"./DZQgWgP1.js";function br({scrollTop:f,scrollHeight:r,height:l,fitPerfectly:a=!1,fitPerfectlyOverscroll:c=0,overscrollSize:p}){const b=l+p*2,y=a?l+c*2:b;if(r=Math.max(r,y),b>=r||a){const G=Math.max(f-c,0),h=Math.min(f+y,r);return{top:G,bottom:Math.max(h,G)}}let A=f+l/2-b/2,F=A+b;return A<0&&(A=0),F>r&&(F=r),A=Math.floor(Math.max(A,0)),{top:A,bottom:Math.ceil(Math.max(Math.min(F,r),A))}}function Po(f,r){return f==null||r==null?f===r:f.top===r.top&&f.bottom===r.bottom}const Rr=1e3,Ro=Rr*4,Lo=[0,1e-6,.99999,1],Ho={overscrollSize:Rr,intersectionObserverMargin:Ro,resizeDebugging:!1};let rn=0,Io=-1;var Pe,Ao=(Pe=class{constructor(r){q(this,"__id",`virtualizer-${++Io}`);q(this,"config");q(this,"type","simple");q(this,"intersectionObserver");q(this,"scrollTop",0);q(this,"height",0);q(this,"scrollHeight",0);q(this,"windowSpecs",{top:0,bottom:0});q(this,"root");q(this,"contentContainer");q(this,"resizeObserver");q(this,"observers",new Map);q(this,"visibleInstances",new Map);q(this,"visibleInstancesDirty",!1);q(this,"instancesChanged",new Set);q(this,"reconcileQueue",new Set);q(this,"scrollDirty",!0);q(this,"heightDirty",!0);q(this,"scrollHeightDirty",!0);q(this,"renderedObservers",0);q(this,"connectQueue",new Map);q(this,"handleContainerResize",r=>{if(this.root==null)return;let l=!1;for(const a of r){const c=a.borderBoxSize[0].blockSize;this.root instanceof Document?c!==this.scrollHeight&&(this.scrollHeightDirty=!0,l=!0,this.config.resizeDebugging&&(console.log("Virtualizer: content size change",this.__id,{sizeChange:c-rn,newSize:c}),rn=c)):a.target===this.root?c!==this.height&&(this.heightDirty=!0,l=!0):a.target===this.contentContainer&&(this.scrollHeightDirty=!0,l=!0,this.config.resizeDebugging&&(console.log("Virtualizer: scroller size change",this.__id,{sizeChange:c-rn,newSize:c}),rn=c))}l&&$e(this.computeRenderRangeAndEmit)});q(this,"handleWindowResize",()=>{Pe.__STOP||window.innerHeight===this.height||(this.heightDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"handleWindowScroll",()=>{Pe.__STOP||this.root==null||!(this.root instanceof Document)||(this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"handleElementScroll",()=>{Pe.__STOP||this.root==null||this.root instanceof Document||(this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"computeRenderRangeAndEmit",()=>{if(Pe.__STOP)return;const r=this.heightDirty||this.scrollHeightDirty;let l=this.instancesChanged.size>0;if(this.instancesChanged.size===0){const p=br({scrollTop:this.getScrollTop(),height:this.getHeight(),scrollHeight:this.getScrollHeight(),overscrollSize:this.config.overscrollSize});if(!r&&Po(this.windowSpecs,p)&&this.renderedObservers===this.observers.size&&!this.visibleInstancesDirty&&this.reconcileQueue.size===0)return;this.windowSpecs=p}this.visibleInstancesDirty=!1,this.renderedObservers=this.observers.size;const a=this.getScrollAnchor(this.height),c=new Set;for(const p of r?this.observers.values():this.visibleInstances.values())p.onRender(r)&&c.add(p);for(const p of this.instancesChanged)c.has(p)||p.onRender(r)&&c.add(p);this.scrollFix(a);for(const p of c)this.reconcileQueue.delete(p),p.reconcileHeights();for(const p of this.reconcileQueue)p.reconcileHeights()&&(l=!0);this.reconcileQueue.clear(),l||=this.instancesChanged.size>0,l&&this.markDOMDirty(),(l||r)&&$e(this.computeRenderRangeAndEmit),c.clear(),this.instancesChanged.clear()});q(this,"handleIntersectionChange",r=>{this.scrollDirty=!0;for(const{target:l,isIntersecting:a}of r){if(!(l instanceof HTMLElement))throw new Error("Virtualizer.handleIntersectionChange: target not an HTMLElement");const c=this.observers.get(l);c!=null&&(a&&!this.visibleInstances.has(l)?(c.setVisibility(!0),this.visibleInstances.set(l,c),this.visibleInstancesDirty=!0):!a&&this.visibleInstances.has(l)&&(c.setVisibility(!1),this.visibleInstances.delete(l),this.visibleInstancesDirty=!0))}this.visibleInstancesDirty&&$e(this.computeRenderRangeAndEmit)});this.config={...Ho,...r}}setup(r,l){if(this.root==null){this.root=r,this.resizeObserver=new ResizeObserver(this.handleContainerResize),this.intersectionObserver=new IntersectionObserver(this.handleIntersectionChange,{root:this.root,threshold:Lo,rootMargin:`${this.config.intersectionObserverMargin}px 0px ${this.config.intersectionObserverMargin}px 0px`}),r instanceof Document?this.setupWindow():this.setupElement(l),window.__INSTANCE=this,window.__TOGGLE=()=>{Pe.__STOP?(Pe.__STOP=!1,(this.getScrollContainerElement()??window).scrollTo({top:Pe.__lastScrollPosition}),$e(this.computeRenderRangeAndEmit)):(Pe.__lastScrollPosition=this.getScrollTop(),Pe.__STOP=!0)};for(const[a,c]of this.connectQueue.entries())this.connect(a,c);this.connectQueue.clear(),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)}}instanceChanged(r,l){this.instancesChanged.add(r),l&&this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)}requestHeightReconcile(r){this.reconcileQueue.add(r),$e(this.computeRenderRangeAndEmit)}getWindowSpecs(){return this.windowSpecs.top===0&&this.windowSpecs.bottom===0&&(this.windowSpecs=br({scrollTop:this.getScrollTop(),height:this.getHeight(),scrollHeight:this.getScrollHeight(),overscrollSize:this.config.overscrollSize})),this.windowSpecs}getRoot(){return this.root}isInstanceVisible(r,l){const a=this.getScrollTop(),c=this.getHeight(),p=this.config.intersectionObserverMargin,b=a-p,y=a+c+p;return!(r<b-l||r>y)}setupWindow(){if(this.root==null||!(this.root instanceof Document))throw new Error("Virtualizer.setupWindow: Invalid setup method");window.addEventListener("scroll",this.handleWindowScroll,{passive:!0}),window.addEventListener("resize",this.handleWindowResize,{passive:!0}),this.resizeObserver?.observe(this.root.documentElement)}setupElement(r){if(this.root==null||this.root instanceof Document)throw new Error("Virtualizer.setupElement: Invalid setup method");this.root.addEventListener("scroll",this.handleElementScroll,{passive:!0}),this.resizeObserver?.observe(this.root),r??=this.root.firstElementChild??void 0,r instanceof HTMLElement&&(this.contentContainer=r,this.resizeObserver?.observe(r))}cleanUp(){go(this.computeRenderRangeAndEmit),this.resizeObserver?.disconnect(),this.resizeObserver=void 0,this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0,this.root?.removeEventListener("scroll",this.handleElementScroll),window.removeEventListener("scroll",this.handleWindowScroll),window.removeEventListener("resize",this.handleWindowResize),this.root=void 0,this.contentContainer=void 0,this.observers.clear(),this.visibleInstances.clear(),this.instancesChanged.clear(),this.reconcileQueue.clear(),this.connectQueue.clear(),this.visibleInstancesDirty=!1,this.windowSpecs={top:0,bottom:0},this.scrollTop=0,this.height=0,this.scrollHeight=0,this.scrollDirty=!0,this.heightDirty=!0,this.scrollHeightDirty=!0}getOffsetInScrollContainer(r){return this.getScrollTop()+Kt(r,this.getScrollContainerElement())}connect(r,l){if(this.observers.has(r))throw new Error("Virtualizer.connect: instance is already connected...");return this.intersectionObserver==null?this.connectQueue.set(r,l):(this.intersectionObserver.observe(r),this.observers.set(r,l),this.instancesChanged.add(l),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)),()=>this.disconnect(r)}disconnect(r){const l=this.observers.get(r);this.connectQueue.delete(r),l!=null&&(this.intersectionObserver?.unobserve(r),this.observers.delete(r),this.instancesChanged.delete(l),this.reconcileQueue.delete(l),this.visibleInstances.delete(r)&&(this.visibleInstancesDirty=!0),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit))}scrollFix(r){if(r==null)return;const l=this.getScrollContainerElement(),{lineIndex:a,lineOffset:c,fileElement:p,fileOffset:b,fileTypeOffset:y}=r;if(a!=null&&c!=null){const F=p.shadowRoot?.querySelector(`[data-line][data-line-index="${a}"]`);if(F instanceof HTMLElement){const G=Kt(F,l);if(G!==c){const h=G-c;this.applyScrollFix(h)}return}}const A=Kt(p,l);if(y==="top")A!==b&&this.applyScrollFix(A-b);else{const F=A+p.getBoundingClientRect().height;F!==b&&this.applyScrollFix(F-b)}}applyScrollFix(r){this.root==null||this.root instanceof Document?window.scrollTo({top:window.scrollY+r,behavior:"instant"}):this.root.scrollTo({top:this.root.scrollTop+r,behavior:"instant"}),this.markDOMDirty()}getScrollAnchor(r){const l=this.getScrollContainerElement();let a;for(const[c]of this.visibleInstances.entries()){const p=Kt(c,l),b=p+c.offsetHeight;let y,A;b<=0?(y=b,A="bottom"):(y=p,A="top");let F,G;if(b>0&&p<r)for(const oe of c.shadowRoot?.querySelectorAll("[data-line][data-line-index]")??[]){if(!(oe instanceof HTMLElement))continue;const Te=oe.dataset.lineIndex;if(Te==null)continue;const ue=Kt(oe,l);if(!(ue<0)){F=Te,G=ue;break}}if(a?.lineOffset!=null&&G==null)continue;let h=!1;(a==null||G!=null&&(a.lineOffset==null||G<a.lineOffset)||G==null&&a.lineOffset==null&&(y>=0&&(a.fileOffset<0||y<a.fileOffset)||y<0&&a.fileOffset<0&&y>a.fileOffset))&&(h=!0),h&&(a={fileElement:c,fileTypeOffset:A,fileOffset:y,lineIndex:F,lineOffset:G})}return a}getScrollTop(){if(!this.scrollDirty)return this.scrollTop;this.scrollDirty=!1;let r=this.root==null?0:this.root instanceof Document?window.scrollY:this.root.scrollTop;return r=this.clampScrollTop(r),this.scrollTop=r,r}scrollTo({top:r,behavior:l="auto"}){const{root:a}=this;if(a==null)return;const c=this.clampScrollTop(r);a instanceof Document?window.scrollTo({top:c,behavior:l}):a.scrollTo({top:c,behavior:l}),this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit)}clampScrollTop(r){return Math.max(0,Math.min(r,this.getScrollHeight()-this.getHeight()))}getScrollHeight(){return this.scrollHeightDirty?(this.scrollHeightDirty=!1,this.scrollHeight=this.root==null?0:this.root instanceof Document?this.root.documentElement.scrollHeight:this.root.scrollHeight,this.scrollHeight):this.scrollHeight}getHeight(){return this.heightDirty?(this.heightDirty=!1,this.height=this.root==null?0:this.root instanceof Document?globalThis.innerHeight:this.root.getBoundingClientRect().height,this.height):this.height}markDOMDirty(){this.scrollDirty=!0,this.scrollHeightDirty=!0,this.heightDirty=!0}getScrollContainerElement(){return this.root==null||this.root instanceof Document?void 0:this.root}},q(Pe,"__STOP",!1),q(Pe,"__lastScrollPosition",0),Pe);function Kt(f,r){const l=f.getBoundingClientRect(),a=r?.getBoundingClientRect().top??0;return l.top-a}var Eo=T('<div class="absolute inset-0 flex items-center justify-center rounded-lg bg-background/60 backdrop-blur-[2px] transition-opacity duration-spring-moderate ease-spring-moderate motion-reduce:transition-none z-10 pointer-events-none"><div class="flex items-center gap-2 rounded-lg border border-border bg-card px-3 py-2 text-xs font-medium text-subtle shadow-lg"><!> </div></div>'),Oo=T("<!> <!>",1),No=T('<div class="flex h-24 items-center justify-start text-left text-subtle"> </div>'),To=T('<div role="region"><!></div>');function Lr(f,r){if(new.target)return dn({component:Lr,...f});gn(r,!0);const l=()=>je(ve,"$sideBySide",a),[a,c]=On(),p=Nn()?.workspaceId??void 0;let b=S(r,"change",7),y=S(r,"foldUnchanged",7,!0),A=S(r,"allowHeadReads",7,!0),F=S(r,"canReadHeadFiles",7),G=S(r,"lineWrapping",7,!1),h=S(r,"scrollToLine",7),oe=S(r,"isAggregate",7,!1),Te=S(r,"showScrollHint",7,!1),ue=S(r,"onStageHunk",7),Q=S(r,"onUnstageHunk",7),at=S(r,"onOpenCommit",7),pt=S(r,"virtualizer",7),vt=S(r,"gitRootId",7,void 0),_t=S(r,"gitRootPath",7,void 0);const ve=kr();let Re=Y(!1),ye=Y(!1),Fe=Y(!1),Ue=Y(0),qe=Y(void 0);const $=80;function ie(){m(ye,!0)}function De(){m(ye,!1),m(Fe,!1),m(Ue,0)}function Le(v){!e(ye)||e(Re)||(m(Ue,e(Ue)+Math.abs(v.deltaY)),e(Ue)>=$&&!e(Fe)&&m(Fe,!0))}function jt(){m(Re,!0),m(Fe,!1),m(Ue,0)}function qt(v){e(qe)&&!e(qe).contains(v.relatedTarget)&&m(Re,!1)}Be(()=>{(e(Re)||!e(ye))&&(m(Fe,!1),m(Ue,0))});let Lt=u(()=>{const{toolCallId:v,filePath:_e,additions:Qe,deletions:yt,oldContent:re,newContent:Xe}=b(),rt="staged"in b()&&b().staged===!0,Ke="category"in b()?b().category:void 0,At="commitHash"in b()?b().commitHash:void 0,zt="gitlink"in b()?b().gitlink:void 0,Mt="isFullFileContent"in b()?b().isFullFileContent:!1;let Ct;return Ke==="committed"?Ct=an.Committed:rt?Ct=an.Staged:Ct=an.Unstaged,{id:v,file:_e,relativePath:_e,stage:Ct,commitHash:At,gitlink:zt,stats:{additions:Qe,deletions:yt},attribution:{timestamp:0},content:re!==void 0||Xe!==void 0?{oldContent:re??"",newContent:Xe??"",isFullFileContent:Mt}:void 0}});const D=u(()=>b().isFullFileContent?1:("chunks"in b()?b().chunks?.[0]?.newStart:void 0)??b().startLineNumber??1);var Ht={get change(){return b()},set change(v){b(v),x()},get foldUnchanged(){return y()},set foldUnchanged(v=!0){y(v),x()},get allowHeadReads(){return A()},set allowHeadReads(v=!0){A(v),x()},get canReadHeadFiles(){return F()},set canReadHeadFiles(v){F(v),x()},get lineWrapping(){return G()},set lineWrapping(v=!1){G(v),x()},get scrollToLine(){return h()},set scrollToLine(v){h(v),x()},get isAggregate(){return oe()},set isAggregate(v=!1){oe(v),x()},get showScrollHint(){return Te()},set showScrollHint(v=!1){Te(v),x()},get onStageHunk(){return ue()},set onStageHunk(v){ue(v),x()},get onUnstageHunk(){return Q()},set onUnstageHunk(v){Q(v),x()},get onOpenCommit(){return at()},set onOpenCommit(v){at(v),x()},get virtualizer(){return pt()},set virtualizer(v){pt(v),x()},get gitRootId(){return vt()},set gitRootId(v=void 0){vt(v),x()},get gitRootPath(){return _t()},set gitRootPath(v=void 0){_t(v),x()},$set:un,$on:(v,_e)=>hn(r,v,_e)},He=To();let wt;var It=N(He);{var Ge=v=>{var _e=Oo(),Qe=ne(_e);{let Xe=u(()=>l()?"split":"unified");Pr(Qe,{get change(){return e(Lt)},get workspaceId(){return p},get viewMode(){return e(Xe)},get foldUnchanged(){return y()},get lineWrapping(){return G()},get onStageHunk(){return ue()},get onUnstageHunk(){return Q()},useProvidedContent:!0,get allowHeadReads(){return A()},get canReadHeadFiles(){return F()},get lineOffset(){return e(D)},get virtualizer(){return pt()},get gitRootId(){return vt()},get gitRootPath(){return _t()}})}var yt=C(Qe,2);{var re=Xe=>{var rt=Eo(),Ke=N(rt),At=N(Ke);Ne(At,{get icon(){return ro},class:"w-3 h-3"});var zt=C(At);H(Ke),H(rt),z(Mt=>K(zt,` ${Mt??""}`),[()=>P.chat_inlineDiffItem_clickToScroll_label()]),cn(1,rt,()=>Ws,()=>({tier:"fast",y:0,scale:1})),cn(2,rt,()=>Bs,()=>({tier:"fast"})),w(Xe,rt)};M(yt,Xe=>{Te()&&e(Fe)&&Xe(re)})}w(v,_e)},bt=v=>{var _e=No(),Qe=de(_e,!0);z(yt=>K(Qe,yt),[()=>P.chat_inlineDiffItem_noWorkspace_label()]),w(v,_e)};M(It,v=>{p?v(Ge):v(bt,-1)})}H(He),on(He,v=>m(qe,v),()=>e(qe)),z(v=>{wt=En(He,1,"inline-diff-container relative",null,wt,{focused:e(Re)}),Ve(He,"aria-label",v)},[()=>P.chat_inlineDiffItem_viewer_ariaLabel()]),sn("mouseenter",He,ie),sn("mouseleave",He,De),sn("wheel",He,Le),ln("focusin",He,jt),ln("focusout",He,qt),w(f,He);var mn=fn(Ht);return c(),mn}xr(["focusin","focusout"]);function yr(f){return[f.stage,f.type,f.oldLineNumber??"",f.newLineNumber??"",f.content].join("\0")}function Do(f){let r=f.oldStart,l=f.newStart;return f.lines.map(a=>{const c={...a,oldLineNumber:a.oldLineNumber??a.oldNumber,newLineNumber:a.newLineNumber??a.newNumber};return c.oldLineNumber===void 0&&c.newLineNumber===void 0?a.type==="Context"?(c.oldLineNumber=r++,c.newLineNumber=l++):a.type==="Deletion"?c.oldLineNumber=r++:a.type==="Addition"&&(c.newLineNumber=l++):a.type==="Context"?(r=(c.oldLineNumber??r)+1,l=(c.newLineNumber??l)+1):a.type==="Deletion"?r=(c.oldLineNumber??r)+1:a.type==="Addition"&&(l=(c.newLineNumber??l)+1),c})}function zo(f,r){const l=f?f.split(`
|
|
1
|
+
var $s=Object.defineProperty;var Fs=(f,r,l)=>r in f?$s(f,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):f[r]=l;var q=(f,r,l)=>Fs(f,typeof r!="symbol"?r+"":r,l);import{t as dn,bq as S,a_ as M,bo as P,by as un,bs as On,b as hn,bu as je}from"./Dso1_H3c.js";import{ai as xr,bs as gn,ca as Be,aD as e,bH as m,a5 as N,bA as H,b_ as z,aw as sn,aj as ln,W as w,bn as fn,bV as Y,aA as x,ay as ne,bS as C,bl as de,bO as K,aB as T,c9 as u,a7 as nt,br as tt,bj as sr,c5 as gt,c0 as Ln,a as Us,be as Tt,b$ as ft,bf as or}from"./DYhIMPy1.js";import{v as En,u as Ve,n as Pt,p as Hn,I as ir,g as ar,w as lr}from"./CnMdEUN9.js";import{I as cn,F as Ws,c as Bs,t as Rt}from"./Cl-7Au8R.js";import{b as on}from"./BaIAhI85.js";import{Ik as Me,eD as Vs,eu as Ks,ev as js,oz as qs,no as Vt,ns as cr,nr as In,ex as Gs,uQ as Qs,uR as Xs,uT as Ys,Go as Zs,Ip as Js,rg as eo,eC as to}from"./Dk1_0x0Q.js";import{c as no}from"./C7wbrsvU.js";import{F as Ne,Z as ro,a4 as An,as as dr,at as ur,bN as so,aL as oo,c7 as hr,bU as gr,ck as fr}from"./DAGiwOmW.js";import{dr as io,be as ao,M as lo,aC as mr,i as co}from"./CArqGgyL.js";import{L as pr}from"./BHNjUi-M.js";import{C as an}from"./DypB-Dwi.js";import{b5 as kr,bK as uo,bQ as ho}from"./ClZsJ0tq.js";import{q as $e,d as go,g as fo}from"./DZTtqmYJ.js";import"./BfNeIJAh.js";import{f as ke}from"./m5UczIQR.js";import{e as mo}from"./DVWbUaqE.js";import{T as Pr}from"./HjTnEK4j.js";import{g as Nn}from"./oJD7n1Ce.js";import{C as po}from"./tO-hey33.js";import{C as vo}from"./BuNYZSRv.js";import{s as vr}from"./DVNTCHDs.js";import{t as Dt}from"./Az9OQ8Pw.js";import{P as _o,k as _r}from"./BE_5EfDm.js";import{g as wo}from"./CDSwBgYD.js";import{a5 as bo,V as yo}from"./T2yA2AgY.js";import{ap as Co}from"./l8UFOWir.js";import{L as wr}from"./DziBVnxJ.js";import{ad as So,ac as xo,ae as ko}from"./D0Nn2MSZ.js";function br({scrollTop:f,scrollHeight:r,height:l,fitPerfectly:a=!1,fitPerfectlyOverscroll:c=0,overscrollSize:p}){const b=l+p*2,y=a?l+c*2:b;if(r=Math.max(r,y),b>=r||a){const G=Math.max(f-c,0),h=Math.min(f+y,r);return{top:G,bottom:Math.max(h,G)}}let A=f+l/2-b/2,F=A+b;return A<0&&(A=0),F>r&&(F=r),A=Math.floor(Math.max(A,0)),{top:A,bottom:Math.ceil(Math.max(Math.min(F,r),A))}}function Po(f,r){return f==null||r==null?f===r:f.top===r.top&&f.bottom===r.bottom}const Rr=1e3,Ro=Rr*4,Lo=[0,1e-6,.99999,1],Ho={overscrollSize:Rr,intersectionObserverMargin:Ro,resizeDebugging:!1};let rn=0,Io=-1;var Pe,Ao=(Pe=class{constructor(r){q(this,"__id",`virtualizer-${++Io}`);q(this,"config");q(this,"type","simple");q(this,"intersectionObserver");q(this,"scrollTop",0);q(this,"height",0);q(this,"scrollHeight",0);q(this,"windowSpecs",{top:0,bottom:0});q(this,"root");q(this,"contentContainer");q(this,"resizeObserver");q(this,"observers",new Map);q(this,"visibleInstances",new Map);q(this,"visibleInstancesDirty",!1);q(this,"instancesChanged",new Set);q(this,"reconcileQueue",new Set);q(this,"scrollDirty",!0);q(this,"heightDirty",!0);q(this,"scrollHeightDirty",!0);q(this,"renderedObservers",0);q(this,"connectQueue",new Map);q(this,"handleContainerResize",r=>{if(this.root==null)return;let l=!1;for(const a of r){const c=a.borderBoxSize[0].blockSize;this.root instanceof Document?c!==this.scrollHeight&&(this.scrollHeightDirty=!0,l=!0,this.config.resizeDebugging&&(console.log("Virtualizer: content size change",this.__id,{sizeChange:c-rn,newSize:c}),rn=c)):a.target===this.root?c!==this.height&&(this.heightDirty=!0,l=!0):a.target===this.contentContainer&&(this.scrollHeightDirty=!0,l=!0,this.config.resizeDebugging&&(console.log("Virtualizer: scroller size change",this.__id,{sizeChange:c-rn,newSize:c}),rn=c))}l&&$e(this.computeRenderRangeAndEmit)});q(this,"handleWindowResize",()=>{Pe.__STOP||window.innerHeight===this.height||(this.heightDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"handleWindowScroll",()=>{Pe.__STOP||this.root==null||!(this.root instanceof Document)||(this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"handleElementScroll",()=>{Pe.__STOP||this.root==null||this.root instanceof Document||(this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit))});q(this,"computeRenderRangeAndEmit",()=>{if(Pe.__STOP)return;const r=this.heightDirty||this.scrollHeightDirty;let l=this.instancesChanged.size>0;if(this.instancesChanged.size===0){const p=br({scrollTop:this.getScrollTop(),height:this.getHeight(),scrollHeight:this.getScrollHeight(),overscrollSize:this.config.overscrollSize});if(!r&&Po(this.windowSpecs,p)&&this.renderedObservers===this.observers.size&&!this.visibleInstancesDirty&&this.reconcileQueue.size===0)return;this.windowSpecs=p}this.visibleInstancesDirty=!1,this.renderedObservers=this.observers.size;const a=this.getScrollAnchor(this.height),c=new Set;for(const p of r?this.observers.values():this.visibleInstances.values())p.onRender(r)&&c.add(p);for(const p of this.instancesChanged)c.has(p)||p.onRender(r)&&c.add(p);this.scrollFix(a);for(const p of c)this.reconcileQueue.delete(p),p.reconcileHeights();for(const p of this.reconcileQueue)p.reconcileHeights()&&(l=!0);this.reconcileQueue.clear(),l||=this.instancesChanged.size>0,l&&this.markDOMDirty(),(l||r)&&$e(this.computeRenderRangeAndEmit),c.clear(),this.instancesChanged.clear()});q(this,"handleIntersectionChange",r=>{this.scrollDirty=!0;for(const{target:l,isIntersecting:a}of r){if(!(l instanceof HTMLElement))throw new Error("Virtualizer.handleIntersectionChange: target not an HTMLElement");const c=this.observers.get(l);c!=null&&(a&&!this.visibleInstances.has(l)?(c.setVisibility(!0),this.visibleInstances.set(l,c),this.visibleInstancesDirty=!0):!a&&this.visibleInstances.has(l)&&(c.setVisibility(!1),this.visibleInstances.delete(l),this.visibleInstancesDirty=!0))}this.visibleInstancesDirty&&$e(this.computeRenderRangeAndEmit)});this.config={...Ho,...r}}setup(r,l){if(this.root==null){this.root=r,this.resizeObserver=new ResizeObserver(this.handleContainerResize),this.intersectionObserver=new IntersectionObserver(this.handleIntersectionChange,{root:this.root,threshold:Lo,rootMargin:`${this.config.intersectionObserverMargin}px 0px ${this.config.intersectionObserverMargin}px 0px`}),r instanceof Document?this.setupWindow():this.setupElement(l),window.__INSTANCE=this,window.__TOGGLE=()=>{Pe.__STOP?(Pe.__STOP=!1,(this.getScrollContainerElement()??window).scrollTo({top:Pe.__lastScrollPosition}),$e(this.computeRenderRangeAndEmit)):(Pe.__lastScrollPosition=this.getScrollTop(),Pe.__STOP=!0)};for(const[a,c]of this.connectQueue.entries())this.connect(a,c);this.connectQueue.clear(),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)}}instanceChanged(r,l){this.instancesChanged.add(r),l&&this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)}requestHeightReconcile(r){this.reconcileQueue.add(r),$e(this.computeRenderRangeAndEmit)}getWindowSpecs(){return this.windowSpecs.top===0&&this.windowSpecs.bottom===0&&(this.windowSpecs=br({scrollTop:this.getScrollTop(),height:this.getHeight(),scrollHeight:this.getScrollHeight(),overscrollSize:this.config.overscrollSize})),this.windowSpecs}getRoot(){return this.root}isInstanceVisible(r,l){const a=this.getScrollTop(),c=this.getHeight(),p=this.config.intersectionObserverMargin,b=a-p,y=a+c+p;return!(r<b-l||r>y)}setupWindow(){if(this.root==null||!(this.root instanceof Document))throw new Error("Virtualizer.setupWindow: Invalid setup method");window.addEventListener("scroll",this.handleWindowScroll,{passive:!0}),window.addEventListener("resize",this.handleWindowResize,{passive:!0}),this.resizeObserver?.observe(this.root.documentElement)}setupElement(r){if(this.root==null||this.root instanceof Document)throw new Error("Virtualizer.setupElement: Invalid setup method");this.root.addEventListener("scroll",this.handleElementScroll,{passive:!0}),this.resizeObserver?.observe(this.root),r??=this.root.firstElementChild??void 0,r instanceof HTMLElement&&(this.contentContainer=r,this.resizeObserver?.observe(r))}cleanUp(){go(this.computeRenderRangeAndEmit),this.resizeObserver?.disconnect(),this.resizeObserver=void 0,this.intersectionObserver?.disconnect(),this.intersectionObserver=void 0,this.root?.removeEventListener("scroll",this.handleElementScroll),window.removeEventListener("scroll",this.handleWindowScroll),window.removeEventListener("resize",this.handleWindowResize),this.root=void 0,this.contentContainer=void 0,this.observers.clear(),this.visibleInstances.clear(),this.instancesChanged.clear(),this.reconcileQueue.clear(),this.connectQueue.clear(),this.visibleInstancesDirty=!1,this.windowSpecs={top:0,bottom:0},this.scrollTop=0,this.height=0,this.scrollHeight=0,this.scrollDirty=!0,this.heightDirty=!0,this.scrollHeightDirty=!0}getOffsetInScrollContainer(r){return this.getScrollTop()+Kt(r,this.getScrollContainerElement())}connect(r,l){if(this.observers.has(r))throw new Error("Virtualizer.connect: instance is already connected...");return this.intersectionObserver==null?this.connectQueue.set(r,l):(this.intersectionObserver.observe(r),this.observers.set(r,l),this.instancesChanged.add(l),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit)),()=>this.disconnect(r)}disconnect(r){const l=this.observers.get(r);this.connectQueue.delete(r),l!=null&&(this.intersectionObserver?.unobserve(r),this.observers.delete(r),this.instancesChanged.delete(l),this.reconcileQueue.delete(l),this.visibleInstances.delete(r)&&(this.visibleInstancesDirty=!0),this.markDOMDirty(),$e(this.computeRenderRangeAndEmit))}scrollFix(r){if(r==null)return;const l=this.getScrollContainerElement(),{lineIndex:a,lineOffset:c,fileElement:p,fileOffset:b,fileTypeOffset:y}=r;if(a!=null&&c!=null){const F=p.shadowRoot?.querySelector(`[data-line][data-line-index="${a}"]`);if(F instanceof HTMLElement){const G=Kt(F,l);if(G!==c){const h=G-c;this.applyScrollFix(h)}return}}const A=Kt(p,l);if(y==="top")A!==b&&this.applyScrollFix(A-b);else{const F=A+p.getBoundingClientRect().height;F!==b&&this.applyScrollFix(F-b)}}applyScrollFix(r){this.root==null||this.root instanceof Document?window.scrollTo({top:window.scrollY+r,behavior:"instant"}):this.root.scrollTo({top:this.root.scrollTop+r,behavior:"instant"}),this.markDOMDirty()}getScrollAnchor(r){const l=this.getScrollContainerElement();let a;for(const[c]of this.visibleInstances.entries()){const p=Kt(c,l),b=p+c.offsetHeight;let y,A;b<=0?(y=b,A="bottom"):(y=p,A="top");let F,G;if(b>0&&p<r)for(const oe of c.shadowRoot?.querySelectorAll("[data-line][data-line-index]")??[]){if(!(oe instanceof HTMLElement))continue;const Te=oe.dataset.lineIndex;if(Te==null)continue;const ue=Kt(oe,l);if(!(ue<0)){F=Te,G=ue;break}}if(a?.lineOffset!=null&&G==null)continue;let h=!1;(a==null||G!=null&&(a.lineOffset==null||G<a.lineOffset)||G==null&&a.lineOffset==null&&(y>=0&&(a.fileOffset<0||y<a.fileOffset)||y<0&&a.fileOffset<0&&y>a.fileOffset))&&(h=!0),h&&(a={fileElement:c,fileTypeOffset:A,fileOffset:y,lineIndex:F,lineOffset:G})}return a}getScrollTop(){if(!this.scrollDirty)return this.scrollTop;this.scrollDirty=!1;let r=this.root==null?0:this.root instanceof Document?window.scrollY:this.root.scrollTop;return r=this.clampScrollTop(r),this.scrollTop=r,r}scrollTo({top:r,behavior:l="auto"}){const{root:a}=this;if(a==null)return;const c=this.clampScrollTop(r);a instanceof Document?window.scrollTo({top:c,behavior:l}):a.scrollTo({top:c,behavior:l}),this.scrollDirty=!0,$e(this.computeRenderRangeAndEmit)}clampScrollTop(r){return Math.max(0,Math.min(r,this.getScrollHeight()-this.getHeight()))}getScrollHeight(){return this.scrollHeightDirty?(this.scrollHeightDirty=!1,this.scrollHeight=this.root==null?0:this.root instanceof Document?this.root.documentElement.scrollHeight:this.root.scrollHeight,this.scrollHeight):this.scrollHeight}getHeight(){return this.heightDirty?(this.heightDirty=!1,this.height=this.root==null?0:this.root instanceof Document?globalThis.innerHeight:this.root.getBoundingClientRect().height,this.height):this.height}markDOMDirty(){this.scrollDirty=!0,this.scrollHeightDirty=!0,this.heightDirty=!0}getScrollContainerElement(){return this.root==null||this.root instanceof Document?void 0:this.root}},q(Pe,"__STOP",!1),q(Pe,"__lastScrollPosition",0),Pe);function Kt(f,r){const l=f.getBoundingClientRect(),a=r?.getBoundingClientRect().top??0;return l.top-a}var Eo=T('<div class="absolute inset-0 flex items-center justify-center rounded-lg bg-background/60 backdrop-blur-[2px] transition-opacity duration-spring-moderate ease-spring-moderate motion-reduce:transition-none z-10 pointer-events-none"><div class="flex items-center gap-2 rounded-lg border border-border bg-card px-3 py-2 text-xs font-medium text-subtle shadow-lg"><!> </div></div>'),Oo=T("<!> <!>",1),No=T('<div class="flex h-24 items-center justify-start text-left text-subtle"> </div>'),To=T('<div role="region"><!></div>');function Lr(f,r){if(new.target)return dn({component:Lr,...f});gn(r,!0);const l=()=>je(ve,"$sideBySide",a),[a,c]=On(),p=Nn()?.workspaceId??void 0;let b=S(r,"change",7),y=S(r,"foldUnchanged",7,!0),A=S(r,"allowHeadReads",7,!0),F=S(r,"canReadHeadFiles",7),G=S(r,"lineWrapping",7,!1),h=S(r,"scrollToLine",7),oe=S(r,"isAggregate",7,!1),Te=S(r,"showScrollHint",7,!1),ue=S(r,"onStageHunk",7),Q=S(r,"onUnstageHunk",7),at=S(r,"onOpenCommit",7),pt=S(r,"virtualizer",7),vt=S(r,"gitRootId",7,void 0),_t=S(r,"gitRootPath",7,void 0);const ve=kr();let Re=Y(!1),ye=Y(!1),Fe=Y(!1),Ue=Y(0),qe=Y(void 0);const $=80;function ie(){m(ye,!0)}function De(){m(ye,!1),m(Fe,!1),m(Ue,0)}function Le(v){!e(ye)||e(Re)||(m(Ue,e(Ue)+Math.abs(v.deltaY)),e(Ue)>=$&&!e(Fe)&&m(Fe,!0))}function jt(){m(Re,!0),m(Fe,!1),m(Ue,0)}function qt(v){e(qe)&&!e(qe).contains(v.relatedTarget)&&m(Re,!1)}Be(()=>{(e(Re)||!e(ye))&&(m(Fe,!1),m(Ue,0))});let Lt=u(()=>{const{toolCallId:v,filePath:_e,additions:Qe,deletions:yt,oldContent:re,newContent:Xe}=b(),rt="staged"in b()&&b().staged===!0,Ke="category"in b()?b().category:void 0,At="commitHash"in b()?b().commitHash:void 0,zt="gitlink"in b()?b().gitlink:void 0,Mt="isFullFileContent"in b()?b().isFullFileContent:!1;let Ct;return Ke==="committed"?Ct=an.Committed:rt?Ct=an.Staged:Ct=an.Unstaged,{id:v,file:_e,relativePath:_e,stage:Ct,commitHash:At,gitlink:zt,stats:{additions:Qe,deletions:yt},attribution:{timestamp:0},content:re!==void 0||Xe!==void 0?{oldContent:re??"",newContent:Xe??"",isFullFileContent:Mt}:void 0}});const D=u(()=>b().isFullFileContent?1:("chunks"in b()?b().chunks?.[0]?.newStart:void 0)??b().startLineNumber??1);var Ht={get change(){return b()},set change(v){b(v),x()},get foldUnchanged(){return y()},set foldUnchanged(v=!0){y(v),x()},get allowHeadReads(){return A()},set allowHeadReads(v=!0){A(v),x()},get canReadHeadFiles(){return F()},set canReadHeadFiles(v){F(v),x()},get lineWrapping(){return G()},set lineWrapping(v=!1){G(v),x()},get scrollToLine(){return h()},set scrollToLine(v){h(v),x()},get isAggregate(){return oe()},set isAggregate(v=!1){oe(v),x()},get showScrollHint(){return Te()},set showScrollHint(v=!1){Te(v),x()},get onStageHunk(){return ue()},set onStageHunk(v){ue(v),x()},get onUnstageHunk(){return Q()},set onUnstageHunk(v){Q(v),x()},get onOpenCommit(){return at()},set onOpenCommit(v){at(v),x()},get virtualizer(){return pt()},set virtualizer(v){pt(v),x()},get gitRootId(){return vt()},set gitRootId(v=void 0){vt(v),x()},get gitRootPath(){return _t()},set gitRootPath(v=void 0){_t(v),x()},$set:un,$on:(v,_e)=>hn(r,v,_e)},He=To();let wt;var It=N(He);{var Ge=v=>{var _e=Oo(),Qe=ne(_e);{let Xe=u(()=>l()?"split":"unified");Pr(Qe,{get change(){return e(Lt)},get workspaceId(){return p},get viewMode(){return e(Xe)},get foldUnchanged(){return y()},get lineWrapping(){return G()},get onStageHunk(){return ue()},get onUnstageHunk(){return Q()},useProvidedContent:!0,get allowHeadReads(){return A()},get canReadHeadFiles(){return F()},get lineOffset(){return e(D)},get virtualizer(){return pt()},get gitRootId(){return vt()},get gitRootPath(){return _t()}})}var yt=C(Qe,2);{var re=Xe=>{var rt=Eo(),Ke=N(rt),At=N(Ke);Ne(At,{get icon(){return ro},class:"w-3 h-3"});var zt=C(At);H(Ke),H(rt),z(Mt=>K(zt,` ${Mt??""}`),[()=>P.chat_inlineDiffItem_clickToScroll_label()]),cn(1,rt,()=>Ws,()=>({tier:"fast",y:0,scale:1})),cn(2,rt,()=>Bs,()=>({tier:"fast"})),w(Xe,rt)};M(yt,Xe=>{Te()&&e(Fe)&&Xe(re)})}w(v,_e)},bt=v=>{var _e=No(),Qe=de(_e,!0);z(yt=>K(Qe,yt),[()=>P.chat_inlineDiffItem_noWorkspace_label()]),w(v,_e)};M(It,v=>{p?v(Ge):v(bt,-1)})}H(He),on(He,v=>m(qe,v),()=>e(qe)),z(v=>{wt=En(He,1,"inline-diff-container relative",null,wt,{focused:e(Re)}),Ve(He,"aria-label",v)},[()=>P.chat_inlineDiffItem_viewer_ariaLabel()]),sn("mouseenter",He,ie),sn("mouseleave",He,De),sn("wheel",He,Le),ln("focusin",He,jt),ln("focusout",He,qt),w(f,He);var mn=fn(Ht);return c(),mn}xr(["focusin","focusout"]);function yr(f){return[f.stage,f.type,f.oldLineNumber??"",f.newLineNumber??"",f.content].join("\0")}function Do(f){let r=f.oldStart,l=f.newStart;return f.lines.map(a=>{const c={...a,oldLineNumber:a.oldLineNumber??a.oldNumber,newLineNumber:a.newLineNumber??a.newNumber};return c.oldLineNumber===void 0&&c.newLineNumber===void 0?a.type==="Context"?(c.oldLineNumber=r++,c.newLineNumber=l++):a.type==="Deletion"?c.oldLineNumber=r++:a.type==="Addition"&&(c.newLineNumber=l++):a.type==="Context"?(r=(c.oldLineNumber??r)+1,l=(c.newLineNumber??l)+1):a.type==="Deletion"?r=(c.oldLineNumber??r)+1:a.type==="Addition"&&(l=(c.newLineNumber??l)+1),c})}function zo(f,r){const l=f?f.split(`
|
|
2
2
|
`):[],a=r?r.split(`
|
|
3
3
|
`):[];if(l.length===0&&a.length===0)return[];const c=[];for(const p of l)c.push({type:"Deletion",content:p});for(const p of a)c.push({type:"Addition",content:p});return[{oldStart:1,oldLines:l.length,newStart:1,newLines:a.length,lines:c}]}function Mo(f){if(!f||f.length===0)return[];const r=[];for(const a of f){let c=a.change.chunks||[];c.length===0&&(a.change.oldContent!=null||a.change.newContent!=null)&&(c=zo(a.change.oldContent??"",a.change.newContent??"")),c.forEach((p,b)=>{r.push({hunk:p,stage:a.category,part:a,hunkIndex:b})})}if(r.length===0)return[];r.sort((a,c)=>a.hunk.newStart-c.hunk.newStart);const l=[];for(const{hunk:a,stage:c,hunkIndex:p}of r){const y=Do(a).map(A=>({type:A.type,content:A.content,oldLineNumber:A.oldLineNumber,newLineNumber:A.newLineNumber,stage:c,hunkIndex:p}));l.push({headStart:a.oldStart,headLines:a.oldLines,wtStart:a.newStart,wtLines:a.newLines,lines:y,stages:new Set([c])})}return $o(l)}function $o(f){if(f.length<=1)return f;const r=[];let l=f[0];for(let a=1;a<f.length;a++){const c=f[a],p=l.wtStart+l.wtLines;c.wtStart<=p+3?l=Fo(l,c):(r.push(l),l=c)}return r.push(l),r}function Fo(f,r){const l=new Map,a=new Map,c=new Set;for(const h of f.lines)c.add(yr(h)),h.newLineNumber!==void 0&&l.set(h.newLineNumber,h),h.oldLineNumber!==void 0&&h.type!=="Addition"&&a.set(h.oldLineNumber,h);const p=[...f.lines];for(const h of r.lines){const oe=yr(h);if(!c.has(oe)){if(h.type==="Context"){const Te=h.newLineNumber!==void 0?l.get(h.newLineNumber):void 0,ue=h.oldLineNumber!==void 0?a.get(h.oldLineNumber):void 0;if(Te?.type==="Context"||ue?.type==="Context"){c.add(oe);continue}}p.push(h),c.add(oe),h.newLineNumber!==void 0&&l.set(h.newLineNumber,h),h.oldLineNumber!==void 0&&h.type!=="Addition"&&a.set(h.oldLineNumber,h)}}p.sort((h,oe)=>{const Te=h.newLineNumber??h.oldLineNumber??0,ue=oe.newLineNumber??oe.oldLineNumber??0;return Te-ue});const b=new Set([...f.stages,...r.stages]),y=Math.min(f.headStart,r.headStart),A=Math.min(f.wtStart,r.wtStart),F=Math.max(f.headStart+f.headLines,r.headStart+r.headLines),G=Math.max(f.wtStart+f.wtLines,r.wtStart+r.wtLines);return{headStart:y,headLines:F-y,wtStart:A,wtLines:G-A,lines:p,stages:b}}function Uo(f){const r=[],l=[];let a=f[0]?.headStart??1,c=f[0]?.wtStart??1;const p=(b,y,A)=>{let F=y;for(;F<A;)b.push(""),F++;return F};for(const b of f){a=p(r,a,b.headStart),c=p(l,c,b.wtStart);for(const y of b.lines)y.type==="Context"?(y.oldLineNumber!==void 0&&(a=p(r,a,y.oldLineNumber)),y.newLineNumber!==void 0&&(c=p(l,c,y.newLineNumber)),r.push(y.content),l.push(y.content),a++,c++):y.type==="Deletion"?(y.oldLineNumber!==void 0&&(a=p(r,a,y.oldLineNumber)),r.push(y.content),a++):y.type==="Addition"&&(y.newLineNumber!==void 0&&(c=p(l,c,y.newLineNumber)),l.push(y.content),c++)}return{oldContent:r.join(`
|
|
4
4
|
`),newContent:l.join(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{_ as a,bo as X,t as lt,bq as g,a_ as k,by as dt,b as pt,c as gt}from"../chunks/
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CoVAqVcd.js","/app/immutable/chunks/HZf189bi.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/Dso1_H3c.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/nodes/0.DwHYAcJA.js","/app/immutable/chunks/BfNeIJAh.js","/app/immutable/chunks/DCCFERAn.js","/app/immutable/chunks/ayrFAfGH.js","/app/immutable/chunks/Dk1_0x0Q.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/Bdtl8KA4.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/CGVLIZz9.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/Bobasviv.js","/app/immutable/chunks/Cxbk0QV6.js","/app/immutable/chunks/CYttmgAy.js","/app/immutable/assets/0.C1mKQsv9.css","/app/immutable/nodes/1.CNlxk-Wb.js","/app/immutable/chunks/BpidAqRA.js","/app/immutable/chunks/BYS_XVzS.js","/app/immutable/chunks/DAGiwOmW.js","/app/immutable/chunks/B3KrGqdQ.js","/app/immutable/chunks/CnMdEUN9.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/m5UczIQR.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.i3va2l-3.js","/app/immutable/chunks/Diees_tN.js","/app/immutable/chunks/Cl-7Au8R.js","/app/immutable/chunks/CArqGgyL.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/D-Uzg_w_.js","/app/immutable/chunks/fJUF_fJi.js","/app/immutable/chunks/BJOBGHF6.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/DXO_adPf.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/D0Nn2MSZ.js","/app/immutable/chunks/D2laB2lQ.js","/app/immutable/chunks/CCPn5VZR.js","/app/immutable/chunks/DfBE7crq.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/ClZsJ0tq.js","/app/immutable/chunks/BduWPjcR.js","/app/immutable/chunks/BuNYZSRv.js","/app/immutable/chunks/C7Fm8r7x.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/BfDRfZ1x.js","/app/immutable/chunks/CZ_kVWbN.js","/app/immutable/chunks/CIqnL4UD.js","/app/immutable/chunks/l8UFOWir.js","/app/immutable/chunks/C1ZTS4Sh.js","/app/immutable/chunks/T2yA2AgY.js","/app/immutable/chunks/DIP3ex32.js","/app/immutable/chunks/DziBVnxJ.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/BsbCFjWI.js","/app/immutable/chunks/DkPqbYEN.js","/app/immutable/chunks/CMpcqAa4.js","/app/immutable/chunks/B6KMCDK3.js","/app/immutable/chunks/DGcTdGo8.js","/app/immutable/chunks/C-tVLzji.js","/app/immutable/chunks/nd4329YU.js","/app/immutable/chunks/BRJ8JwtZ.js","/app/immutable/chunks/71wna1Z8.js","/app/immutable/chunks/BuxSPewv.js","/app/immutable/chunks/9oNS7b_T.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/CKJpktTE.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/D9wogWMJ.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/CXKfuiUF.js","/app/immutable/chunks/CDSwBgYD.js","/app/immutable/chunks/BWLkc8Du.js","/app/immutable/chunks/B4egTWvZ.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/DhSqfFgd.js","/app/immutable/chunks/Df-CfLbF.js","/app/immutable/chunks/CO7hmy56.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/BzOameBd.js","/app/immutable/chunks/Bd-UWJsU.js","/app/immutable/chunks/CMOnvdXp.js","/app/immutable/chunks/D3DGxoeO.js","/app/immutable/chunks/35OKERyz.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/lkH5RFQO.js","/app/immutable/chunks/DVWbUaqE.js","/app/immutable/chunks/oJD7n1Ce.js","/app/immutable/chunks/C5vuxPIj.js","/app/immutable/chunks/Az9OQ8Pw.js","/app/immutable/chunks/GY5YfSD1.js","/app/immutable/chunks/BAOVYkFF.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/BsieX9dN.js","/app/immutable/assets/observe-overflow.CbDLK6fN.css","/app/immutable/chunks/D-v3doGL.js","/app/immutable/chunks/DCD7Mz5K.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/DXNrmOAj.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/DxFUSFjo.js","/app/immutable/chunks/DuD0elPz.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css","/app/immutable/chunks/BE3xHJK-.js","/app/immutable/chunks/Bv6lXJbF.js","/app/immutable/chunks/Dzg-ll0I.js","/app/immutable/chunks/C3KFiFcK.js","/app/immutable/chunks/BNcmjmX0.js","/app/immutable/chunks/CfwVmHCf.js","/app/immutable/chunks/BE_5EfDm.js","/app/immutable/chunks/tO-hey33.js","/app/immutable/assets/AttachmentPreview.BCSCCZGm.css","/app/immutable/chunks/BcvgmgBl.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/CEboTiDi.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/BfiKUtfz.js","/app/immutable/chunks/-DqWFMjY.js","/app/immutable/chunks/f7LaE2V_.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/DbWOkCcI.js","/app/immutable/assets/CompactWorkspaceInitializer.InGGWMfl.css","/app/immutable/chunks/BHVl-WA3.js","/app/immutable/chunks/Ug0dtdu2.js","/app/immutable/assets/accessibility.CP-rioAF.css","/app/immutable/chunks/BalE-G27.js","/app/immutable/chunks/2cP0f-ZS.js","/app/immutable/chunks/Z1K5P4U2.js","/app/immutable/chunks/p7znhYIU.js","/app/immutable/chunks/Ddqq3yIK.js","/app/immutable/chunks/Co38dt7I.js","/app/immutable/chunks/BY2EZOH5.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/assets/2.DBD158ED.css","/app/immutable/nodes/3.TRZPY3g1.js","/app/immutable/nodes/4.Q_cklVfx.js","/app/immutable/nodes/5.DQss9mOg.js","/app/immutable/chunks/xD874lNR.js","/app/immutable/chunks/B-lr2mEf.js","/app/immutable/chunks/DfN8_dcw.js","/app/immutable/chunks/4AVTvQlm.js","/app/immutable/chunks/CJB7cvC2.js","/app/immutable/chunks/DVNTCHDs.js","/app/immutable/chunks/BuCbZihK.js","/app/immutable/chunks/DMHPeP9b.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/RlWPb-l5.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/DAxsY0Gj.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/assets/ResizablePanel.DF8NAXK-.css","/app/immutable/chunks/DGUKdi7i.js","/app/immutable/chunks/zP9pbpMh.js","/app/immutable/chunks/BdYPHOrS.js","/app/immutable/chunks/N6ccAT9m.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/DZTtqmYJ.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/03PfIO_9.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/D0BUPqIH.js","/app/immutable/assets/DiagramPresentation.Bfi3xHm0.css","/app/immutable/chunks/C7wbrsvU.js","/app/immutable/chunks/D-JSvqq2.js","/app/immutable/chunks/DLtIqvYl.js","/app/immutable/chunks/k3FE0FJZ.js","/app/immutable/chunks/BW9zdIKM.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.CWdkjFsY.css","/app/immutable/chunks/CFS-CWu3.js","/app/immutable/chunks/Ci__OGHt.js","/app/immutable/chunks/DySSBJC4.js","/app/immutable/chunks/B29HdkQh.js","/app/immutable/chunks/C1MSnWt8.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/BjWMcF7P.js","/app/immutable/chunks/wylA95cI.js","/app/immutable/chunks/D8UOq-cZ.js","/app/immutable/chunks/7AKPDTqy.js","/app/immutable/chunks/BAzeccV1.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/chunks/DkjTOoF5.js","/app/immutable/assets/DockRecordingEditor.Cpd07eyT.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/assets/5.DBgC2kSL.css","/app/immutable/nodes/6.B1fe3H2i.js","/app/immutable/assets/6.D6ebrVTb.css","/app/immutable/nodes/7.Bs2GT-JO.js","/app/immutable/chunks/DdWD_Vv3.js","/app/immutable/nodes/8.Bhi1HY5b.js","/app/immutable/chunks/8ZRaDoDY.js","/app/immutable/chunks/4xlJdO9z.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/CP_jYxTi.js","/app/immutable/chunks/5gyILap3.js","/app/immutable/assets/8._uRcFklA.css","/app/immutable/nodes/9.BWi2XzAl.js","/app/immutable/chunks/CSSojjBG.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/SpNk3-qf.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/BCGsV37m.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/BHNjUi-M.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/4doVsrTt.js","/app/immutable/chunks/H6rH-O5e.js","/app/immutable/chunks/CwiXEybf.js","/app/immutable/assets/9.QLJOd4KT.css","/app/immutable/nodes/10.Bnp8Ru15.js","/app/immutable/assets/10.BO7QC36g.css","/app/immutable/nodes/11.CVezrggv.js","/app/immutable/nodes/12.BPw8mLRI.js","/app/immutable/assets/12.CF5xLHXq.css","/app/immutable/nodes/13.DEB8Wg7Z.js","/app/immutable/chunks/CXzbClP6.js","/app/immutable/assets/13.BuZANxI8.css","/app/immutable/nodes/14.C5EP7pij.js","/app/immutable/assets/14.CU62PBbE.css","/app/immutable/nodes/15.FeIesTUd.js","/app/immutable/assets/15.DBFWhlfB.css","/app/immutable/nodes/16.CxMj36A8.js","/app/immutable/assets/16.DdJIHg9f.css","/app/immutable/nodes/17.CWgUp0nx.js","/app/immutable/assets/17.Cznk2DRv.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as a,bo as X,t as lt,bq as g,a_ as k,by as dt,b as pt,c as gt}from"../chunks/Dso1_H3c.js";import{l as w}from"../chunks/BdWqymET.js";import{s as ft}from"../chunks/D-N7efrx.js";import{bs as Et,cb as vt,ca as Tt,bk as bt,aD as c,bH as F,c0 as ht,ay as T,bS as It,W as m,bn as At,bV as U,aA as f,a7 as I,c9 as L,a5 as Ot,bA as Rt,aB as Z,b$ as Pt,b_ as Dt,bO as yt}from"../chunks/DYhIMPy1.js";import{c as S}from"../chunks/B3KrGqdQ.js";import{b as V}from"../chunks/BaIAhI85.js";const Lt=async()=>{window.location.pathname.startsWith("/sandbox")||await a(()=>import("../chunks/CoVAqVcd.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},St=/^[a-zA-Z_$]{1,3}\.call is not a function$/;function Vt(t){return t instanceof Error&&t.name==="TypeError"&&St.test(t.message)&&typeof t.stack=="string"&&t.stack.includes("bits-ui")}const q=500,xt=8,kt=/[a-z][a-z0-9+.-]*:\/\/\S+/gi,wt=/[)\]}>'".,;:]+$/,Nt=/[^/]+\.[cm]?[jt]s(?::\d+){0,2}$/;function Ct(t){const e=wt.exec(t)?.[0]??"",o=t.slice(0,t.length-e.length),n=o.indexOf("://"),i=o.slice(0,n),s=o.slice(n+3).split("#")[0].split("?")[0],u=s.indexOf("/"),l=u===-1?s:s.slice(0,u),d=l.slice(l.lastIndexOf("@")+1),p=u===-1?"":s.slice(u);if(p===""||p==="/")return`${i}://${d}${e}`;const O=Nt.exec(p)?.[0];return`${i}://${d}/${O??"<redacted>"}${e}`}function x(t){const e=t.replace(kt,Ct);return e.length>q?`${e.slice(0,q)}…`:e}function jt(t){return typeof t!="string"||t.length===0?null:t.split(`
|
|
3
3
|
`).slice(0,xt).map(x).join(`
|
|
4
|
-
`)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let K=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return K?(A++,A>=Ft&&(w.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{w.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),w.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(K=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(w.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=Z('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=Z("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),Tt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=T(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=T(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var b=Pt();Dt(()=>yt(b,c(B))),m(v,b)};k(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};k(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.DlMK7EKt.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,14,2,15,16,17,18,19,20]),import.meta.url),()=>a(()=>import("../nodes/1.Bc43OCNt.js"),__vite__mapDeps([21,4,5,22,23,24,25,7,26,3,27,28,29,8,1,2,30]),import.meta.url),()=>a(()=>import("../nodes/2.XomcwXea.js"),__vite__mapDeps([31,4,5,7,32,10,11,12,13,3,14,2,8,24,25,26,27,33,29,34,35,28,1,30,18,22,36,19,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,17,88,89,90,9,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,16,121,122,123,124,125,126,127,128,129,130,131,132,133,23,134,135,136,137,138,139,140,141,142,143,144]),import.meta.url),()=>a(()=>import("../nodes/3.tV7qLGeC.js"),__vite__mapDeps([145,4,5,33,26,7,3,27,22,23,24,25,28,29,8,1,2,30,38,39,37,40,34,10,11,12,13,14,35,18,41,19,36]),import.meta.url),()=>a(()=>import("../nodes/4.CLfVtjCR.js"),__vite__mapDeps([146,4,5,7,9,8,3,43,10,11,12,13,14,2,34,24,25,26,27,35,28,29,1,30,18,33,44,39,45,46,47,41,48,49,50,51,52,53,54,55,56,57,58,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,91,92,93,94,95]),import.meta.url),()=>a(()=>import("../nodes/5.DcQbRELp.js"),__vite__mapDeps([147,4,5,53,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,81,150,151,152,153,84,154,155,156,82,157,133,158,159,131,160,161,71,134,67,68,135,128,80,162,163,164,139,165,166,167,168,90,169,170,171,172,173,174,175,176,177,23,178,179,180,181,63,64,65,66,182,183,184,117,185,142,143,186,187,188,189,190,191,192,193,194,195,196,127,123,79,197,198,137,199]),import.meta.url),()=>a(()=>import("../nodes/6.CS7SDYA7.js"),__vite__mapDeps([200,4,5,26,7,3,27,29,34,2,10,11,12,13,14,8,24,25,35,28,1,30,18,33,39,23,22,46,47,44,45,41,165,166,50,51,52,53,54,55,120,48,49,56,57,58,19,100,101,99,74,102,103,77,78,104,105,106,107,75,76,108,109,98,110,85,97,111,112,38,37,40,36,113,16,96,121,122,67,68,153,84,149,152,154,155,156,69,82,157,133,158,167,139,168,90,169,170,171,172,173,134,135,174,175,176,177,71,128,80,178,179,180,181,184,86,42,201]),import.meta.url),()=>a(()=>import("../nodes/7.D7iSydzH.js"),__vite__mapDeps([202,4,5,53,108,203,19,12,36,11,10,13,3,7,14,2,8,50,26,27,28,29,25,1,30,33,51,52,24,54,55,109,162]),import.meta.url),()=>a(()=>import("../nodes/8.C7yThhga.js"),__vite__mapDeps([204,4,5,8,3,26,7,27,25,29,28,1,2,30,74,101,99,33,24,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,10,11,12,13,14,98,110,138,116,57,58,41,34,35,18,47,97,111,112,85,50,55,39,49,56,44,19,38,22,37,40,36,113,23,60,205,72,46,45,68,206,157,155,178,159,131,89,117,70,79,203,189,190,121,87,92,207,80,62,208,193,209,210,196]),import.meta.url),()=>a(()=>import("../nodes/9.Daikd_tE.js"),__vite__mapDeps([211,4,5,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,81,150,151,152,153,84,154,155,156,82,157,133,158,159,131,160,161,23,129,130,59,60,125,91,92,93,94,95,126,132,188,42,139,136,71,70,212,141,213,214,206,83,215,119,205,117,87,216,217,88,218,219,220,185,221,222,123,190,137,223]),import.meta.url),()=>a(()=>import("../nodes/10.CRW4MxVn.js"),__vite__mapDeps([224,4,5,37,22,26,7,3,27,25,10,11,12,13,14,2,8,24,29,136,104,28,1,30,111,33,99,74,50,51,52,53,54,55,96,85,186,137,106,216,217,88,34,35,18,212,141,94,95,93,56,44,39,40,98,213,90,220,89,225]),import.meta.url),()=>a(()=>import("../nodes/11.v3TvfIzF.js"),__vite__mapDeps([226,4,5,53,108,24,25,7,26,3,27]),import.meta.url),()=>a(()=>import("../nodes/12.DU8-Nmz-.js"),__vite__mapDeps([227,4,5,8,3,28,7,26,27,29,25,1,2,30,24,109,162,228]),import.meta.url),()=>a(()=>import("../nodes/13.pNrv4shY.js"),__vite__mapDeps([229,4,5,26,7,3,27,28,29,25,8,1,2,30,109,162,230,11,124,139,99,33,74,101,24,102,103,52,77,78,104,105,121,53,108,231]),import.meta.url),()=>a(()=>import("../nodes/14.fcMbdu6Z.js"),__vite__mapDeps([232,4,5,57,10,11,12,13,3,7,14,2,8,58,41,34,24,25,26,27,35,28,29,1,30,18,33,47,109,162,43,44,39,45,46,48,49,50,51,52,53,54,55,56,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,9,91,92,93,94,95,173,97,98,99,100,101,102,103,104,105,106,107,108,110,111,112,113,120,16,96,121,122,134,135,174,114,209,182,183,165,166,153,149,152,154,155,156,157,133,158,167,139,168,169,170,171,172,175,176,177,23,128,178,179,180,181,184,117,185,142,143,186,187,230,233,196]),import.meta.url),()=>a(()=>import("../nodes/15.DBMm4pyM.js"),__vite__mapDeps([234,4,5,26,7,3,27,28,29,25,8,1,2,30,109,162,33,64,194,14,139,183,66,56,44,39,235,196]),import.meta.url),()=>a(()=>import("../nodes/16.ClJoD8WH.js"),__vite__mapDeps([236,4,5,8,3,26,7,27,28,29,25,1,2,30,109,162,192,85,183,74,75,54,76,112,106,99,33,107,52,102,103,77,78,24,13,14,193,139,194,64,65,195,196,56,44,39,45,157,237]),import.meta.url),()=>a(()=>import("../nodes/17.B3dCuKkH.js"),__vite__mapDeps([238,4,5,56,8,3,44,39,24,25,7,26,27,28,29,1,2,30,10,11,12,13,14,33,133,69,34,35,18,57,58,41,47,128,80,51,73,100,101,99,74,102,103,52,77,78,104,105,106,107,75,54,76,53,108,109,98,110,115,116,62,87,38,22,37,40,19,36,239]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock-capture-editor":[16],"/dock":[14],"/hud":[17,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
|
|
4
|
+
`)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let K=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return K?(A++,A>=Ft&&(w.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{w.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),w.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(K=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(w.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=Z('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=Z("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),Tt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=T(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=T(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var b=Pt();Dt(()=>yt(b,c(B))),m(v,b)};k(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};k(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.DwHYAcJA.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,14,2,15,16,17,18,19,20]),import.meta.url),()=>a(()=>import("../nodes/1.CNlxk-Wb.js"),__vite__mapDeps([21,4,5,22,23,24,25,7,26,3,27,28,29,8,1,2,30]),import.meta.url),()=>a(()=>import("../nodes/2.i3va2l-3.js"),__vite__mapDeps([31,4,5,7,32,10,11,12,13,3,14,2,8,24,25,26,27,33,29,34,35,28,1,30,18,22,36,19,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,17,88,89,90,9,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,16,121,122,123,124,125,126,127,128,129,130,131,132,133,23,134,135,136,137,138,139,140,141,142,143,144]),import.meta.url),()=>a(()=>import("../nodes/3.TRZPY3g1.js"),__vite__mapDeps([145,4,5,33,26,7,3,27,22,23,24,25,28,29,8,1,2,30,38,39,37,40,34,10,11,12,13,14,35,18,41,19,36]),import.meta.url),()=>a(()=>import("../nodes/4.Q_cklVfx.js"),__vite__mapDeps([146,4,5,7,9,8,3,43,10,11,12,13,14,2,34,24,25,26,27,35,28,29,1,30,18,33,44,39,45,46,47,41,48,49,50,51,52,53,54,55,56,57,58,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,91,92,93,94,95]),import.meta.url),()=>a(()=>import("../nodes/5.DQss9mOg.js"),__vite__mapDeps([147,4,5,53,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,81,150,151,152,153,84,154,155,156,82,157,133,158,159,131,160,161,71,134,67,68,135,128,80,162,163,164,139,165,166,167,168,90,169,170,171,172,173,174,175,176,177,23,178,179,180,181,63,64,65,66,182,183,184,117,185,142,143,186,187,188,189,190,191,192,193,194,195,196,127,123,79,197,198,137,199]),import.meta.url),()=>a(()=>import("../nodes/6.B1fe3H2i.js"),__vite__mapDeps([200,4,5,26,7,3,27,29,34,2,10,11,12,13,14,8,24,25,35,28,1,30,18,33,39,23,22,46,47,44,45,41,165,166,50,51,52,53,54,55,120,48,49,56,57,58,19,100,101,99,74,102,103,77,78,104,105,106,107,75,76,108,109,98,110,85,97,111,112,38,37,40,36,113,16,96,121,122,67,68,153,84,149,152,154,155,156,69,82,157,133,158,167,139,168,90,169,170,171,172,173,134,135,174,175,176,177,71,128,80,178,179,180,181,184,86,42,201]),import.meta.url),()=>a(()=>import("../nodes/7.Bs2GT-JO.js"),__vite__mapDeps([202,4,5,53,108,203,19,12,36,11,10,13,3,7,14,2,8,50,26,27,28,29,25,1,30,33,51,52,24,54,55,109,162]),import.meta.url),()=>a(()=>import("../nodes/8.Bhi1HY5b.js"),__vite__mapDeps([204,4,5,8,3,26,7,27,25,29,28,1,2,30,74,101,99,33,24,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,10,11,12,13,14,98,110,138,116,57,58,41,34,35,18,47,97,111,112,85,50,55,39,49,56,44,19,38,22,37,40,36,113,23,60,205,72,46,45,68,206,157,155,178,159,131,89,117,70,79,203,189,190,121,87,92,207,80,62,208,193,209,210,196]),import.meta.url),()=>a(()=>import("../nodes/9.BWi2XzAl.js"),__vite__mapDeps([211,4,5,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,81,150,151,152,153,84,154,155,156,82,157,133,158,159,131,160,161,23,129,130,59,60,125,91,92,93,94,95,126,132,188,42,139,136,71,70,212,141,213,214,206,83,215,119,205,117,87,216,217,88,218,219,220,185,221,222,123,190,137,223]),import.meta.url),()=>a(()=>import("../nodes/10.Bnp8Ru15.js"),__vite__mapDeps([224,4,5,37,22,26,7,3,27,25,10,11,12,13,14,2,8,24,29,136,104,28,1,30,111,33,99,74,50,51,52,53,54,55,96,85,186,137,106,216,217,88,34,35,18,212,141,94,95,93,56,44,39,40,98,213,90,220,89,225]),import.meta.url),()=>a(()=>import("../nodes/11.CVezrggv.js"),__vite__mapDeps([226,4,5,53,108,24,25,7,26,3,27]),import.meta.url),()=>a(()=>import("../nodes/12.BPw8mLRI.js"),__vite__mapDeps([227,4,5,8,3,28,7,26,27,29,25,1,2,30,24,109,162,228]),import.meta.url),()=>a(()=>import("../nodes/13.DEB8Wg7Z.js"),__vite__mapDeps([229,4,5,26,7,3,27,28,29,25,8,1,2,30,109,162,230,11,124,139,99,33,74,101,24,102,103,52,77,78,104,105,121,53,108,231]),import.meta.url),()=>a(()=>import("../nodes/14.C5EP7pij.js"),__vite__mapDeps([232,4,5,57,10,11,12,13,3,7,14,2,8,58,41,34,24,25,26,27,35,28,29,1,30,18,33,47,109,162,43,44,39,45,46,48,49,50,51,52,53,54,55,56,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,9,91,92,93,94,95,173,97,98,99,100,101,102,103,104,105,106,107,108,110,111,112,113,120,16,96,121,122,134,135,174,114,209,182,183,165,166,153,149,152,154,155,156,157,133,158,167,139,168,169,170,171,172,175,176,177,23,128,178,179,180,181,184,117,185,142,143,186,187,230,233,196]),import.meta.url),()=>a(()=>import("../nodes/15.FeIesTUd.js"),__vite__mapDeps([234,4,5,26,7,3,27,28,29,25,8,1,2,30,109,162,33,64,194,14,139,183,66,56,44,39,235,196]),import.meta.url),()=>a(()=>import("../nodes/16.CxMj36A8.js"),__vite__mapDeps([236,4,5,8,3,26,7,27,28,29,25,1,2,30,109,162,192,85,183,74,75,54,76,112,106,99,33,107,52,102,103,77,78,24,13,14,193,139,194,64,65,195,196,56,44,39,45,157,237]),import.meta.url),()=>a(()=>import("../nodes/17.CWgUp0nx.js"),__vite__mapDeps([238,4,5,56,8,3,44,39,24,25,7,26,27,28,29,1,2,30,10,11,12,13,14,33,133,69,34,35,18,57,58,41,47,128,80,51,73,100,101,99,74,102,103,52,77,78,104,105,106,107,75,54,76,53,108,109,98,110,115,116,62,87,38,22,37,40,19,36,239]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock-capture-editor":[16],"/dock":[14],"/hud":[17,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,s as r}from"../chunks/BpidAqRA.js";export{o as load_css,r as start};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as L,bq as I,by as O,bu as Z,bs as ee,b as N,a_ as te,bt as ne,br as oe}from"../chunks/
|
|
1
|
+
import{t as L,bq as I,by as O,bu as Z,bs as ee,b as N,a_ as te,bt as ne,br as oe}from"../chunks/Dso1_H3c.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as W,W as y,bn as T,aA as $}from"../chunks/DYhIMPy1.js";import{s as R}from"../chunks/BfNeIJAh.js";import{z as ie,I as H,G as ae}from"../chunks/DCCFERAn.js";import{w as ce}from"../chunks/ayrFAfGH.js";import{Ik as ue}from"../chunks/Dk1_0x0Q.js";import{initAppStore as de}from"../chunks/CGVLIZz9.js";import{K as le,I as fe}from"../chunks/Cxbk0QV6.js";import{i as me}from"../chunks/CYttmgAy.js";const pe=!1,we=!1,ve=!0,Me=Object.freeze(Object.defineProperty({__proto__:null,csr:ve,prerender:we,ssr:pe},Symbol.toStringTag,{value:"Module"}));function ge(e,t,r){const f=de(e);let p=t.startSagas(e),s=!1;const l=()=>{if(!s){s=!0;try{for(const m of p)m()}finally{f.dispose(),r?.rootStoreStop===l&&(r.rootStoreStop=void 0,r.rootStoreReplaceSagas=void 0)}}};return l}const V=3,j=4,be=100;let A=null;function S(e){const t=Date.now();A!==null&&A.direction===e&&t-A.at<be||(A={direction:e,at:t},e==="back"?history.back():history.forward())}function he(){return document.querySelector("webview:hover")!==null}function ye(e){e!=="back"&&e!=="forward"||he()||S(e)}function K(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function U(e){K(e)||(e.button===V?(e.preventDefault(),S("back")):e.button===j&&(e.preventDefault(),S("forward")))}function F(e){K(e)||(e.button===V||e.button===j)&&e.preventDefault()}function Ae(e=window){return e.addEventListener("mouseup",U,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",U,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function Ee(e){const t=new Set,r="data-window-animation-paused",f=()=>e.hasAttribute("data-window-blurred");function p(i){const n=new Set;for(const o of i){if(!(o instanceof CSSAnimation)||o.playState!=="running"&&o.playState!=="paused"||o.effect?.getTiming().iterations!==1/0)continue;const d=o.effect?.target;d instanceof Element&&n.add(d)}for(const o of n)t.has(o)||(t.add(o),o.setAttribute(r,""))}function s(){for(const i of t)i.removeAttribute(r);t.clear()}function l(i){for(const n of i)!t.has(n)||e.contains(n)&&n.getAnimations({subtree:!0}).some(d=>d instanceof CSSAnimation&&d.effect?.target===n&&d.effect?.getTiming().iterations===1/0)||(t.delete(n),n.removeAttribute(r))}const m=new MutationObserver(i=>{if(!f())return;const n=new Set,o=new Set;for(const a of i){if(a.type==="childList")for(const c of a.addedNodes)c instanceof Element&&n.add(c);else if(a.target instanceof Element&&a.attributeName!==r&&a.attributeName!=="data-window-blurred")n.add(a.target);else continue;if(a.target instanceof Element)for(const c of t)(a.target.contains(c)||!e.contains(c))&&o.add(c)}l(o);const d=[];for(const a of n){if(!e.contains(a))continue;let c=a.parentElement;for(;c&&!n.has(c);)c=c.parentElement;c||d.push(...a.getAnimations({subtree:!0}))}p(d)});function v(){m.disconnect(),f()?(m.observe(e,{childList:!0,attributes:!0,subtree:!0}),p(e.getAnimations({subtree:!0}))):s()}function u(i){!f()||!(i.target instanceof Element)||(l([i.target]),p(i.target.getAnimations({subtree:!0})))}function w(i){!f()||!(i.target instanceof Element)||l([i.target])}const g=new MutationObserver(v);return g.observe(e,{attributes:!0,attributeFilter:["data-window-blurred"]}),e.addEventListener("animationstart",u,!0),e.addEventListener("animationcancel",w,!0),v(),{destroy(){g.disconnect(),m.disconnect(),e.removeEventListener("animationstart",u,!0),e.removeEventListener("animationcancel",w,!0),s()}}}function Y(e,t){if(new.target)return L({component:Y,...e});P(t,!0);const r=()=>Z(m,"$resolvedLocale$",f),[f,p]=ee();let s=I(t,"children",7);const l=ge(ue,{startSagas:()=>[]},void 0);re(l);const m=le(),v=fe();se(()=>{const n=!me()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},k=()=>c(!1),D=()=>c(!0),z=v.subscribe(_=>{d=_,a()}),M=window.electronAPI,B=ie();let E;a(),n&&(B?E=M?.on?.("window:focus",c):(window.addEventListener("blur",k),window.addEventListener("focus",D)));const J=Ee(document.documentElement),Q=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const X=Ae(window),C=window.electronAPI?.on?.(H.APP.HISTORY_NAVIGATE,ye);return()=>{z(),J.destroy(),E?M.offById("window:focus",E):n&&!B&&(window.removeEventListener("blur",k),window.removeEventListener("focus",D)),document.documentElement.removeAttribute("data-window-blurred"),Q(),X(),C&&window.electronAPI.offById(H.APP.HISTORY_NAVIGATE,C)}});var u={get children(){return s()},set children(n){s(n),$()},$set:O,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);R(d,()=>s()??W),y(n,o)}),y(e,w);var i=T(u);return p(),i}const x="/dev-console";function _e(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Se(e){return e===G||e.startsWith(`${G}/`)}function q(e,t){if(new.target)return L({component:q,...e});P(t,!0);let r=I(t,"children",7);const f=typeof window<"u"&&(_e(window.location.pathname)||Se(window.location.pathname));var p={get children(){return r()},set children(u){r(u),$()},$set:O,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);R(g,()=>r()??W),y(u,w)},v=u=>{Y(u,{get children(){return r()}})};te(l,u=>{f?u(m):u(v,-1)})}return y(e,s),T(p)}var Le=new Set(["$$slots","$$events","$$legacy","children"]);function Ie(e,t){if(new.target)return L({component:Ie,...e});P(t,!0);let r=I(t,"children",7),f=oe(t,Le);var p={get children(){return r()},set children(s){r(s),$()},$set:O,$on:(s,l)=>N(t,s,l)};return q(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);R(v,()=>r()??W),y(s,m)},$$slots:{default:!0}})),T(p)}export{Ie as component,Me as universal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as W,a_ as P,by as A,b as D,bo as p,bt as R,br as U}from"../chunks/
|
|
1
|
+
import{t as W,a_ as P,by as A,b as D,bo as p,bt as R,br as U}from"../chunks/Dso1_H3c.js";import{bs as E,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as O,c9 as h,a5 as a,bA as s,bS as f,bl as $,be as Z,b$ as ee,b_ as k,bO as m,aB as T}from"../chunks/DYhIMPy1.js";import{g as re}from"../chunks/BpidAqRA.js";import{p as b}from"../chunks/BYS_XVzS.js";import{F as te,cN as ae}from"../chunks/DAGiwOmW.js";import{f as se}from"../chunks/m5UczIQR.js";var oe=T('<p class="text-sm text-subtle"> </p>'),le=T('<div class="min-h-screen flex items-center justify-center p-6 bg-background"><div class="w-full max-w-md" role="alert" aria-live="assertive"><div class="bg-card border border-border rounded-xl shadow-lg p-8 space-y-6 text-center"><div class="flex justify-center"><div class="w-14 h-14 rounded-full bg-warning/10 flex items-center justify-center opacity-50"><!></div></div> <div class="space-y-3"><h2 class="text-2xl font-semibold text-foreground"> </h2> <!> <p class="text-base text-subtle leading-relaxed break-words"> </p></div> <div class="flex items-center justify-center gap-3 flex-wrap"><!></div></div></div></div>');function q(l,o){if(new.target)return W({component:q,...l});E(o,!0);let c=h(()=>b.error),r=h(()=>b.status),v=h(()=>e(r)===404&&b.url.pathname!=="/");V(()=>{e(v)?(console.warn("[+error.svelte:root] 404, redirecting to /",{url:b.url.href,status:e(r)}),re("/",{replaceState:!0})):console.error("[+error.svelte:root]",{status:e(r),error:e(c)})});var g={$set:A,$on:(i,n)=>D(o,i,n)},j=X(),G=Y(j);{var H=i=>{var n=le(),F=a(n),S=a(F),x=a(S),z=a(x),I=a(z);te(I,{get icon(){return ae},size:"lg",class:"text-warning"}),s(z),s(x);var w=f(x,2),B=a(w),J=$(B,!0),C=f(B,2);{var K=t=>{var d=oe(),u=$(d,!0);k(y=>m(u,y),[()=>p.error_page_status_label({status:e(r)})]),_(t,d)};P(C,t=>{e(r)&&e(r)!==500&&t(K)})}var L=f(C,2),M=$(L,!0);s(w);var N=f(w,2),Q=a(N);se(Q,{variant:"outline",size:"default",onclick:()=>window.location.reload(),children:(t,d)=>{Z();var u=ee();k(y=>m(u,y),[()=>p.error_page_reload_button()]),_(t,u)},$$slots:{default:!0}}),s(N),s(S),s(F),s(n),k((t,d)=>{m(J,t),m(M,d)},[()=>p.error_page_title(),()=>e(c)?.message||p.error_page_unexpected_fallback()]),_(i,n)};P(G,i=>{e(v)||i(H)})}return _(l,j),O(g)}var ie=new Set(["$$slots","$$events","$$legacy"]);function ne(l,o){if(new.target)return W({component:ne,...l});E(o,!0);let c=U(o,ie);var r={$set:A,$on:(v,g)=>D(o,v,g)};return q(l,R(()=>c)),O(r)}export{ne as component};
|