@intent-hq/web 2.384.2 → 2.385.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{CBvkahdk.js → -9EwpXCb.js} +1 -1
- package/web/app/immutable/chunks/{D5u143LD.js → 0Ipp5cFr.js} +1 -1
- package/web/app/immutable/chunks/{6n7e2aNB.js → 3qVSmuIV.js} +1 -1
- package/web/app/immutable/chunks/{CbDsELcV.js → 3xVgojWv.js} +3 -3
- package/web/app/immutable/chunks/{BZidc-yX.js → 418Agcsp.js} +1 -1
- package/web/app/immutable/chunks/{CNzCvSR9.js → 44rP4fzJ.js} +1 -1
- package/web/app/immutable/chunks/{BTtAt-Pu.js → 4PAYwk2I.js} +1 -1
- package/web/app/immutable/chunks/{DXdFemRu.js → 4g_iHoQm.js} +1 -1
- package/web/app/immutable/chunks/{CXul4WJt.js → 5-0LQoqd.js} +1 -1
- package/web/app/immutable/chunks/{BTc_j7Dt.js → 7KxcPj98.js} +1 -1
- package/web/app/immutable/chunks/{CpMQqUEz.js → 7OH6WUSt.js} +1 -1
- package/web/app/immutable/chunks/{BwLxx4IG.js → 7y3Z0Q49.js} +3 -3
- package/web/app/immutable/chunks/{B4mHWFlW.js → 8jMQM9h0.js} +1 -1
- package/web/app/immutable/chunks/{xmnalplU.js → 94vL4WlW.js} +1 -1
- package/web/app/immutable/chunks/{BVlMQ1xQ.js → 9GO97JAL.js} +1 -1
- package/web/app/immutable/chunks/{CpimfPxg.js → A0KsbysW.js} +1 -1
- package/web/app/immutable/chunks/{DaXosNFA.js → B0qb2Ymj.js} +1 -1
- package/web/app/immutable/chunks/{k863GLf6.js → B2CniqS1.js} +1 -1
- package/web/app/immutable/chunks/{MsC14vMO.js → B3SHGkI_.js} +1 -1
- package/web/app/immutable/chunks/{CmImGhNY.js → B433f4mk.js} +1 -1
- package/web/app/immutable/chunks/{55FYKQCf.js → B5qiyEpH.js} +1 -1
- package/web/app/immutable/chunks/{BNN0vAFF.js → B5tvpTFB.js} +1 -1
- package/web/app/immutable/chunks/{CE0jr9sE.js → B6FGs8l2.js} +1 -1
- package/web/app/immutable/chunks/{Di3TE7pQ.js → B6d1Nolc.js} +1 -1
- package/web/app/immutable/chunks/{B4PfEXaO.js → B6eTPmJH.js} +1 -1
- package/web/app/immutable/chunks/{Ipu7_2rx.js → B72XM8Fm.js} +1 -1
- package/web/app/immutable/chunks/{B7JHU89G.js → B8HnjSSF.js} +1 -1
- package/web/app/immutable/chunks/{xeMXLCBg.js → B8QvP_8b.js} +1 -1
- package/web/app/immutable/chunks/{I8XhKsSY.js → BByf3ILj.js} +1 -1
- package/web/app/immutable/chunks/{leDczq9h.js → BD9db4FR.js} +1 -1
- package/web/app/immutable/chunks/{DLvrhtSt.js → BDsciJGp.js} +1 -1
- package/web/app/immutable/chunks/{X-wIiWCo.js → BECK4OaG.js} +1 -1
- package/web/app/immutable/chunks/{qLxI2L63.js → BGReMCaT.js} +1 -1
- package/web/app/immutable/chunks/{BAdVoGAI.js → BHqp2vwo.js} +1 -1
- package/web/app/immutable/chunks/{CIU_APaR.js → BIGqOuh0.js} +1 -1
- package/web/app/immutable/chunks/{DilOhRAO.js → BJO0de_7.js} +1 -1
- package/web/app/immutable/chunks/{BDPP0w0q.js → BJgwBOBz.js} +1 -1
- package/web/app/immutable/chunks/{DxDZbRkP.js → BLKFshyr.js} +1 -1
- package/web/app/immutable/chunks/{BcffwE-d.js → BNV0s95-.js} +1 -1
- package/web/app/immutable/chunks/{D2Rapl2X.js → BNa9zzEx.js} +1 -1
- package/web/app/immutable/chunks/{CVoQx6Vw.js → BO8Bp7Ht.js} +1 -1
- package/web/app/immutable/chunks/{rNjiZ_3W.js → BPuz5cN_.js} +2 -2
- package/web/app/immutable/chunks/{CgJXgMzB.js → BQ53265L.js} +1 -1
- package/web/app/immutable/chunks/{DN-MAVuE.js → BQvwLP7I.js} +1 -1
- package/web/app/immutable/chunks/{Bygp72Wl.js → BSUnflvl.js} +1 -1
- package/web/app/immutable/chunks/{Df4fyHSB.js → BSgFpkqa.js} +1 -1
- package/web/app/immutable/chunks/{BOpszErG.js → BSntxgH1.js} +1 -1
- package/web/app/immutable/chunks/{NZ_vlsKe.js → BTEoQf52.js} +1 -1
- package/web/app/immutable/chunks/{jiLgt56M.js → BTLG1BY-.js} +1 -1
- package/web/app/immutable/chunks/{Cb6nJOfB.js → BV1ayWTC.js} +1 -1
- package/web/app/immutable/chunks/{_0LhNaan.js → BV4VuEnO.js} +1 -1
- package/web/app/immutable/chunks/{CIzFSDuO.js → BVkAOJlr.js} +1 -1
- package/web/app/immutable/chunks/{Bosi029J.js → BVl79jmM.js} +1 -1
- package/web/app/immutable/chunks/{Bw8_vMki.js → BVqF0sgN.js} +1 -1
- package/web/app/immutable/chunks/{iVHs_bWz.js → BVuLEX_p.js} +1 -1
- package/web/app/immutable/chunks/{uAXEbxa8.js → BW1iql_y.js} +1 -1
- package/web/app/immutable/chunks/{DZnKNdAN.js → BWzMAxc1.js} +1 -1
- package/web/app/immutable/chunks/{DDnDtSlm.js → BXJzIaQM.js} +1 -1
- package/web/app/immutable/chunks/{CbucW-av.js → BYl8t9od.js} +1 -1
- package/web/app/immutable/chunks/{D4ZMSrvm.js → BZVhwNIm.js} +3 -3
- package/web/app/immutable/chunks/{Mh0PqgbP.js → B_4WsP9b.js} +1 -1
- package/web/app/immutable/chunks/{D5-RCLzi.js → B_75gRww.js} +1 -1
- package/web/app/immutable/chunks/{CQZUFyS7.js → BbLh3POL.js} +1 -1
- package/web/app/immutable/chunks/{D5q2XDzo.js → BbuLzldI.js} +1 -1
- package/web/app/immutable/chunks/{72S4_8Fo.js → Bc1vJq_Z.js} +1 -1
- package/web/app/immutable/chunks/{BTtqZJEI.js → BcKrkXju.js} +1 -1
- package/web/app/immutable/chunks/{6kZoubzS.js → BdEtT3Ti.js} +1 -1
- package/web/app/immutable/chunks/{BXE_7Biv.js → Bf_nrOhg.js} +1 -1
- package/web/app/immutable/chunks/{CwHPdS9l.js → BgDnzAo4.js} +1 -1
- package/web/app/immutable/chunks/{0tWsVa0y.js → Bi_Yd73A.js} +1 -1
- package/web/app/immutable/chunks/{CEjK2ich.js → BjlMkd10.js} +1 -1
- package/web/app/immutable/chunks/{RWWlGLMu.js → BlIRL_82.js} +1 -1
- package/web/app/immutable/chunks/{Ciei8d6b.js → Bs7M8kXA.js} +3 -3
- package/web/app/immutable/chunks/{CMbvNZma.js → BtBQ5qfh.js} +1 -1
- package/web/app/immutable/chunks/{CcmN1reb.js → Bu-RLSv9.js} +1 -1
- package/web/app/immutable/chunks/{CXrVII1G.js → BuFDqZnJ.js} +1 -1
- package/web/app/immutable/chunks/{CJoPlWyA.js → Bv_xG3nA.js} +1 -1
- package/web/app/immutable/chunks/{Djz9uuuA.js → BvbeTrka.js} +1 -1
- package/web/app/immutable/chunks/{DkET5D1Z.js → BvgjsneA.js} +1 -1
- package/web/app/immutable/chunks/{4jB5IsVV.js → BwPwF85e.js} +1 -1
- package/web/app/immutable/chunks/{B4l71ix-.js → By4iSN8L.js} +1 -1
- package/web/app/immutable/chunks/{CU_25eHm.js → BzSCTZkL.js} +1 -1
- package/web/app/immutable/chunks/{IxfPVMNO.js → C-G2u0Oe.js} +1 -1
- package/web/app/immutable/chunks/{DpeQIGDn.js → C-L0-C2F.js} +2 -2
- package/web/app/immutable/chunks/{0v4yIgtg.js → C-PQQ8rb.js} +1 -1
- package/web/app/immutable/chunks/{D400ElMz.js → C-zB-6G6.js} +1 -1
- package/web/app/immutable/chunks/{YtoDeXhM.js → C0Zo7HuP.js} +1 -1
- package/web/app/immutable/chunks/{ump_SWLl.js → C1AUaRa8.js} +1 -1
- package/web/app/immutable/chunks/{COB2k0Aa.js → C2F2Vd1P.js} +1 -1
- package/web/app/immutable/chunks/{Bm6FDHvN.js → C2WwQCOk.js} +1 -1
- package/web/app/immutable/chunks/{YTt0B0lA.js → C37ZqG4e.js} +1 -1
- package/web/app/immutable/chunks/{D0sQr-H_.js → C429ZMSU.js} +1 -1
- package/web/app/immutable/chunks/{C6g7LzDB.js → C50zlWbZ.js} +1 -1
- package/web/app/immutable/chunks/{4oPBEC4-.js → C5b7nimj.js} +1 -1
- package/web/app/immutable/chunks/{CmbheRhJ.js → C63WwVct.js} +1 -1
- package/web/app/immutable/chunks/{Za_i3D8P.js → C6TTEdST.js} +4 -4
- package/web/app/immutable/chunks/{Bap7o4n5.js → C78AfvXn.js} +1 -1
- package/web/app/immutable/chunks/{CJW4jhjq.js → C8LrJXqa.js} +1 -1
- package/web/app/immutable/chunks/C8qAflad.js +2 -0
- package/web/app/immutable/chunks/{B7h1ZmQS.js → C8zl7aIj.js} +1 -1
- package/web/app/immutable/chunks/{Bb9tq6rt.js → C9ew0Hx2.js} +1 -1
- package/web/app/immutable/chunks/{DpChblex.js → C9p4fddz.js} +1 -1
- package/web/app/immutable/chunks/{C0fFeGdB.js → CAfPEsZt.js} +1 -1
- package/web/app/immutable/chunks/{CBZTF7Qa.js → CC-IHSah.js} +4 -4
- package/web/app/immutable/chunks/CCIZBeez.js +1 -0
- package/web/app/immutable/chunks/{BhVPbMnV.js → CD-M_2xD.js} +1 -1
- package/web/app/immutable/chunks/{cKonll34.js → CDAnHxmJ.js} +1 -1
- package/web/app/immutable/chunks/{Dfh8DRT0.js → CE70-gZI.js} +3 -3
- package/web/app/immutable/chunks/{AYsHMWH3.js → CEEUgGO1.js} +1 -1
- package/web/app/immutable/chunks/{BYU-C1jV.js → CGPajdHq.js} +2 -2
- package/web/app/immutable/chunks/{DETS1-K4.js → CGYPBD6G.js} +1 -1
- package/web/app/immutable/chunks/{C0CrTfQC.js → CHto7_WH.js} +1 -1
- package/web/app/immutable/chunks/{KMO8sO00.js → CI0C7_h-.js} +1 -1
- package/web/app/immutable/chunks/{CHMwcoWM.js → CIaruUrd.js} +1 -1
- package/web/app/immutable/chunks/{BzqJYEOZ.js → CJB-ebPL.js} +1 -1
- package/web/app/immutable/chunks/{DJM7b4MF.js → CN-EAu8o.js} +1 -1
- package/web/app/immutable/chunks/{CYQKXGJn.js → CNE5cVvC.js} +1 -1
- package/web/app/immutable/chunks/{CegXgKbh.js → CNSshwg_.js} +1 -1
- package/web/app/immutable/chunks/CNWb-jYE.js +1 -0
- package/web/app/immutable/chunks/{BEiVNbJd.js → CNnF3Cms.js} +1 -1
- package/web/app/immutable/chunks/{O63l2zGE.js → COgn_CzG.js} +1 -1
- package/web/app/immutable/chunks/{BWtgRgi0.js → CPI5xBWX.js} +1 -1
- package/web/app/immutable/chunks/{McOgUz0K.js → CPO5_F83.js} +1 -1
- package/web/app/immutable/chunks/{ByYwSpDO.js → CQMFoUkp.js} +1 -1
- package/web/app/immutable/chunks/{BmALJKBY.js → CR-JVxLD.js} +1 -1
- package/web/app/immutable/chunks/{CP9jggxp.js → CRSY1kuo.js} +1 -1
- package/web/app/immutable/chunks/{DpmMYKqt.js → CTW83wJs.js} +1 -1
- package/web/app/immutable/chunks/{Cx6Utm5I.js → CUsqN2sK.js} +1 -1
- package/web/app/immutable/chunks/{DMrypNw-.js → CV2tdNDf.js} +1 -1
- package/web/app/immutable/chunks/{C9fPgzDG.js → CWOQ_pUA.js} +1 -1
- package/web/app/immutable/chunks/{CJHIllR1.js → CX4-Z2NI.js} +1 -1
- package/web/app/immutable/chunks/{CWwAStwx.js → CXDUvPYf.js} +1 -1
- package/web/app/immutable/chunks/{BJZU-qAV.js → CXpEvkVR.js} +1 -1
- package/web/app/immutable/chunks/{_Tye__BB.js → CYSndAne.js} +1 -1
- package/web/app/immutable/chunks/{DnHJL326.js → C_SKcJv7.js} +1 -1
- package/web/app/immutable/chunks/{Ct8L3-dh.js → CdSTecgc.js} +1 -1
- package/web/app/immutable/chunks/{D3qs3VJZ.js → CfYZevDu.js} +1 -1
- package/web/app/immutable/chunks/{BEjISjEF.js → Che-KvdU.js} +1 -1
- package/web/app/immutable/chunks/{CUWtSiZ5.js → Cj1KG0_l.js} +1 -1
- package/web/app/immutable/chunks/{BBV_EtXR.js → Cl_O0hHI.js} +1 -1
- package/web/app/immutable/chunks/{edw8TVSr.js → CletI6Pa.js} +1 -1
- package/web/app/immutable/chunks/{CwTWayd0.js → Clo7aK1n.js} +1 -1
- package/web/app/immutable/chunks/{BCx-pM-8.js → CmyBYYR3.js} +1 -1
- package/web/app/immutable/chunks/{CWezNj5-.js → CoJyxFcH.js} +1 -1
- package/web/app/immutable/chunks/{DCP9TL-A.js → Cp02CBjf.js} +1 -1
- package/web/app/immutable/chunks/{BaJfBXet.js → Cp7Byf5d.js} +1 -1
- package/web/app/immutable/chunks/{C4IVoYqo.js → CpFDUMBH.js} +1 -1
- package/web/app/immutable/chunks/{BK6CZrM5.js → CqUPwDgo.js} +1 -1
- package/web/app/immutable/chunks/{DKrlwauu.js → CqVGtsXz.js} +1 -1
- package/web/app/immutable/chunks/{4QXQvR4H.js → Cq_jjcoF.js} +1 -1
- package/web/app/immutable/chunks/{DnozpXMO.js → CrbAS4DB.js} +1 -1
- package/web/app/immutable/chunks/{DXB4L22V.js → CrsbEWnE.js} +1 -1
- package/web/app/immutable/chunks/{DV6uX7ff.js → CrvVM5aL.js} +1 -1
- package/web/app/immutable/chunks/{DOuyIvfN.js → CuPx_r7k.js} +1 -1
- package/web/app/immutable/chunks/{D6Hf6lXy.js → CuWLpCl5.js} +1 -1
- package/web/app/immutable/chunks/{BGaOyp5o.js → CuljOS_X.js} +1 -1
- package/web/app/immutable/chunks/{BhpCwvYl.js → Cv0wEzuo.js} +1 -1
- package/web/app/immutable/chunks/Cw-qJqDx.js +2 -0
- package/web/app/immutable/chunks/{oTjaecL9.js → Cx0QXTIW.js} +1 -1
- package/web/app/immutable/chunks/{WWSsQ21S.js → CxndkliV.js} +1 -1
- package/web/app/immutable/chunks/{2bsrY56g.js → Cy3lhXYa.js} +6 -6
- package/web/app/immutable/chunks/{BD47nZkr.js → Cy9hcA7q.js} +1 -1
- package/web/app/immutable/chunks/{BHKaBN6i.js → CzDPvHAo.js} +1 -1
- package/web/app/immutable/chunks/{Df-2xtN9.js → D-KE4WZ3.js} +1 -1
- package/web/app/immutable/chunks/{CjZEyjv4.js → D-rRuAXZ.js} +1 -1
- package/web/app/immutable/chunks/{Dk0Z1pVU.js → D1zX4MuR.js} +1 -1
- package/web/app/immutable/chunks/{Dm9EHXJZ.js → D2hNxvgD.js} +4 -4
- package/web/app/immutable/chunks/{BGN0Ete3.js → D2kwjrZB.js} +1 -1
- package/web/app/immutable/chunks/{oki3b9jv.js → D5Pfy-wQ.js} +1 -1
- package/web/app/immutable/chunks/{DTU57FsX.js → D7Dfbf5g.js} +1 -1
- package/web/app/immutable/chunks/{CCAcpS1o.js → D7xjMCds.js} +2 -2
- package/web/app/immutable/chunks/{CdMAY9xp.js → DBH_GMOZ.js} +1 -1
- package/web/app/immutable/chunks/{CPel99qV.js → DDb9H7X6.js} +3 -3
- package/web/app/immutable/chunks/{DfOxl3xY.js → DEs9kPtf.js} +1 -1
- package/web/app/immutable/chunks/{DoStKyYK.js → DFGMgfIk.js} +2 -2
- package/web/app/immutable/chunks/{CceLSCZq.js → DG0pBglL.js} +1 -1
- package/web/app/immutable/chunks/{DhHLTWgE.js → DGMrUmNq.js} +1 -1
- package/web/app/immutable/chunks/{CvxVjZLu.js → DI71nFp4.js} +1 -1
- package/web/app/immutable/chunks/{AXE1aiRo.js → DJPIUVkw.js} +1 -1
- package/web/app/immutable/chunks/{BWmYJDmC.js → DLCFUd4s.js} +1 -1
- package/web/app/immutable/chunks/{2V6-Yhg-.js → DM1_VFfD.js} +1 -1
- package/web/app/immutable/chunks/{jmJoSjVa.js → DMe_MB5T.js} +1 -1
- package/web/app/immutable/chunks/{ZNhLMxqQ.js → DN-DN78v.js} +2 -2
- package/web/app/immutable/chunks/{CI-VmE1m.js → DNDlsdj4.js} +1 -1
- package/web/app/immutable/chunks/{wZz1J3UE.js → DOkArUrJ.js} +1 -1
- package/web/app/immutable/chunks/{Bs8vOu-_.js → DPR_clFy.js} +1 -1
- package/web/app/immutable/chunks/{7Em2EC6e.js → DQT1hnTe.js} +1 -1
- package/web/app/immutable/chunks/{BNFLngEB.js → DRqy_Wmb.js} +1 -1
- package/web/app/immutable/chunks/{BPZBxYco.js → DRsDUO-4.js} +1 -1
- package/web/app/immutable/chunks/{D0I7VQ8a.js → DSiGyv9Y.js} +1 -1
- package/web/app/immutable/chunks/{BzllE3aT.js → DT5eV1e8.js} +2 -2
- package/web/app/immutable/chunks/{RzextV4B.js → DTMxJ5IC.js} +2 -2
- package/web/app/immutable/chunks/{DKLk3Wx8.js → DTwG0V2f.js} +1 -1
- package/web/app/immutable/chunks/{CU89eAKc.js → DV7x43jt.js} +1 -1
- package/web/app/immutable/chunks/{Chx7ONT3.js → DVUFgbJK.js} +1 -1
- package/web/app/immutable/chunks/{ez7LBTR9.js → DVwMeV9X.js} +1 -1
- package/web/app/immutable/chunks/{CSIAWhhl.js → DW25Ls6A.js} +1 -1
- package/web/app/immutable/chunks/{BEvFtidS.js → DWa-2rkZ.js} +1 -1
- package/web/app/immutable/chunks/{CRFehAxF.js → DX9N1RQz.js} +1 -1
- package/web/app/immutable/chunks/{DCGl0RXW.js → DXRkYB1Y.js} +47 -47
- package/web/app/immutable/chunks/{DAzQ7i2U.js → DYEwyuIx.js} +1 -1
- package/web/app/immutable/chunks/{BaodMpKG.js → DZmGZ5am.js} +1 -1
- package/web/app/immutable/chunks/{DB4f78Ip.js → D_VvdZe2.js} +1 -1
- package/web/app/immutable/chunks/{BNm3whw0.js → Da-Blgd9.js} +1 -1
- package/web/app/immutable/chunks/{BXT21uPn.js → DcOkWaeN.js} +1 -1
- package/web/app/immutable/chunks/{QFC15GkG.js → De0kCZ4v.js} +2 -2
- package/web/app/immutable/chunks/{CK2Cr1RP.js → Dg0Tdf_A.js} +1 -1
- package/web/app/immutable/chunks/{Cb0AGw5F.js → DgKpR9KC.js} +1 -1
- package/web/app/immutable/chunks/{D2LsUZli.js → DhXcDqZX.js} +1 -1
- package/web/app/immutable/chunks/{DGZLYT-c.js → DiMo2JnB.js} +1 -1
- package/web/app/immutable/chunks/{Jh2BVut2.js → DiURwJNX.js} +1 -1
- package/web/app/immutable/chunks/{gkPeOUJv.js → DjIQY_o5.js} +1 -1
- package/web/app/immutable/chunks/{C5tAJtyd.js → DlU1rxYV.js} +1 -1
- package/web/app/immutable/chunks/{BQ1b28aV.js → DlUpt_0u.js} +1 -1
- package/web/app/immutable/chunks/{BRsOtr8M.js → Dm-WfTCg.js} +1 -1
- package/web/app/immutable/chunks/{Dl9we4aZ.js → DmCKwthV.js} +1 -1
- package/web/app/immutable/chunks/{1MN-thc1.js → Do2KlQU0.js} +1 -1
- package/web/app/immutable/chunks/{2ndYjFQq.js → Dp8FVKoA.js} +1 -1
- package/web/app/immutable/chunks/{BEpYOO0x.js → Dqd75Edx.js} +1 -1
- package/web/app/immutable/chunks/{BqCuw50f.js → DsfORPYa.js} +1 -1
- package/web/app/immutable/chunks/{Cw2ZnpX7.js → DtFzaymP.js} +1 -1
- package/web/app/immutable/chunks/{CcSZrbR4.js → DtqPBHQj.js} +1 -1
- package/web/app/immutable/chunks/{CXCw-Jw-.js → DuAAGnM9.js} +1 -1
- package/web/app/immutable/chunks/{CAmQkXZq.js → Dval4sTX.js} +1 -1
- package/web/app/immutable/chunks/{CJtFSxbf.js → Dvi4g0xk.js} +1 -1
- package/web/app/immutable/chunks/Dws-34a7.js +1 -0
- package/web/app/immutable/chunks/{DaZ7K0cS.js → DxAjMnFs.js} +3 -3
- package/web/app/immutable/chunks/{BdnR40vX.js → DxC0zTSc.js} +1 -1
- package/web/app/immutable/chunks/{B8nUpMEz.js → DxRojUvw.js} +1 -1
- package/web/app/immutable/chunks/{DbDI5c8r.js → Dxfvrgme.js} +1 -1
- package/web/app/immutable/chunks/{BAAb6Ol7.js → DyXAZ9tr.js} +1 -1
- package/web/app/immutable/chunks/{BqU6TsU1.js → DzG7lmwB.js} +1 -1
- package/web/app/immutable/chunks/{Bc3o0U_Z.js → Ex_x2wO5.js} +1 -1
- package/web/app/immutable/chunks/{D4g4334W.js → GP4LXuR4.js} +1 -1
- package/web/app/immutable/chunks/{C0A3yiL9.js → HU1Ksz8U.js} +1 -1
- package/web/app/immutable/chunks/{BvFRd1je.js → JM7CQkWC.js} +1 -1
- package/web/app/immutable/chunks/{Dg5FvxXA.js → KzySRhDw.js} +3 -3
- package/web/app/immutable/chunks/{CJ72QIuX.js → L-Sh3Ble.js} +3 -3
- package/web/app/immutable/chunks/{DOU-V4Cg.js → LI9J8Eor.js} +2 -2
- package/web/app/immutable/chunks/{CGaMCAik.js → LQRHF1eM.js} +1 -1
- package/web/app/immutable/chunks/{DB0jxR-D.js → L_sfch_N.js} +1 -1
- package/web/app/immutable/chunks/{rYnu2FeJ.js → LgyvMkc8.js} +1 -1
- package/web/app/immutable/chunks/{CayjT2l8.js → M1XBe23f.js} +1 -1
- package/web/app/immutable/chunks/{x019Lcmv.js → OGqbAD_O.js} +1 -1
- package/web/app/immutable/chunks/{DZEg_JlV.js → PhAbES0t.js} +1 -1
- package/web/app/immutable/chunks/{ChdMCKvy.js → Q2C1NT93.js} +1 -1
- package/web/app/immutable/chunks/{BaJMqkSd.js → QRUY44Ff.js} +1 -1
- package/web/app/immutable/chunks/{9Bk8hwX5.js → RHSH5iZ7.js} +1 -1
- package/web/app/immutable/chunks/{C9aF-Sor.js → SbTG0nwQ.js} +1 -1
- package/web/app/immutable/chunks/{DltbAw1B.js → THqyVjkf.js} +1 -1
- package/web/app/immutable/chunks/{CyYfX9fz.js → TT8yXpG-.js} +1 -1
- package/web/app/immutable/chunks/{C4VXXfVL.js → U7dpdlAf.js} +1 -1
- package/web/app/immutable/chunks/{H9nIRlnK.js → V6efYFFY.js} +1 -1
- package/web/app/immutable/chunks/{Bcb1iqQJ.js → VeUh5OMZ.js} +1 -1
- package/web/app/immutable/chunks/{DHbqsCcC.js → VvLcPf2a.js} +1 -1
- package/web/app/immutable/chunks/Whej1Dge.js +1 -0
- package/web/app/immutable/chunks/{hcDGwCEP.js → XEsFBJqZ.js} +1 -1
- package/web/app/immutable/chunks/{BziYv9ZW.js → ZR3wQ419.js} +2 -2
- package/web/app/immutable/chunks/{B7RoQL2j.js → _i0M7_-r.js} +2 -2
- package/web/app/immutable/chunks/{DZAKdz0-.js → ada9rZfE.js} +1 -1
- package/web/app/immutable/chunks/{BLZhAOLT.js → deEweluJ.js} +1 -1
- package/web/app/immutable/chunks/{Do6vtrQf.js → dmZv6JOg.js} +1 -1
- package/web/app/immutable/chunks/{DZjKvOyB.js → e2ymG0j7.js} +1 -1
- package/web/app/immutable/chunks/{DLKd3Oyl.js → e3_wv2e_.js} +1 -1
- package/web/app/immutable/chunks/{BJHkJxQ6.js → fHygQTSC.js} +1 -1
- package/web/app/immutable/chunks/{CnHcPhIW.js → fVXs4sxg.js} +4 -4
- package/web/app/immutable/chunks/{CbqBbwIN.js → gU2qspu9.js} +1 -1
- package/web/app/immutable/chunks/{BFc0Rlfo.js → gZJn6Sk0.js} +1 -1
- package/web/app/immutable/chunks/{-J-Hmuck.js → h8JtxU_T.js} +1 -1
- package/web/app/immutable/chunks/{HQDMr2H7.js → iCWz6IE9.js} +1 -1
- package/web/app/immutable/chunks/{h3LTJhAu.js → iPHmrqbo.js} +1 -1
- package/web/app/immutable/chunks/{CbaFGz2w.js → jBG7W4tL.js} +1 -1
- package/web/app/immutable/chunks/{DVL_BM5a.js → jH2J-9un.js} +1 -1
- package/web/app/immutable/chunks/{tF7VK2wM.js → l1lBFBJz.js} +1 -1
- package/web/app/immutable/chunks/{oRcurxpq.js → lTwh0Wzj.js} +1 -1
- package/web/app/immutable/chunks/{DcACHBPs.js → n5-dpvss.js} +1 -1
- package/web/app/immutable/chunks/{DyHx5QFY.js → nwO3KCpP.js} +1 -1
- package/web/app/immutable/chunks/{CjyJQV6j.js → pHBnQb5R.js} +1 -1
- package/web/app/immutable/chunks/{05jEdw2V.js → pMP23LzB.js} +1 -1
- package/web/app/immutable/chunks/{BJTYazIn.js → pomj9evG.js} +1 -1
- package/web/app/immutable/chunks/{mLzVJBUx.js → qO0mYaJv.js} +1 -1
- package/web/app/immutable/chunks/{x_GKKTQV.js → rXKOJqUt.js} +1 -1
- package/web/app/immutable/chunks/rcXEnwTB.js +158 -0
- package/web/app/immutable/chunks/{BXyd6A9p.js → sSXTMg2P.js} +1 -1
- package/web/app/immutable/chunks/{B0fUscDD.js → tLFaYuVN.js} +1 -1
- package/web/app/immutable/chunks/{B7o2QL9R.js → waHi6l7h.js} +1 -1
- package/web/app/immutable/chunks/{DU4sJYad.js → wiGlLVr-.js} +1 -1
- package/web/app/immutable/chunks/{D8s3q34H.js → xGzY0FqC.js} +1 -1
- package/web/app/immutable/chunks/{CCPr9hs_.js → yDmmPu6L.js} +1 -1
- package/web/app/immutable/chunks/{Dv-bjgEk.js → zB9UbdEg.js} +1 -1
- package/web/app/immutable/entry/{app.CHgb5yMQ.js → app.BXfGjD4L.js} +3 -3
- package/web/app/immutable/entry/start.DRVSg-kr.js +1 -0
- package/web/app/immutable/nodes/{0.DECevrtM.js → 0.CoxSTVXk.js} +1 -1
- package/web/app/immutable/nodes/{1.LZZdSQoJ.js → 1.BbjU9IH_.js} +1 -1
- package/web/app/immutable/nodes/10.D6wyP02T.js +39 -0
- package/web/app/immutable/nodes/{11.D5CTYtT6.js → 11.ukc3KQLY.js} +1 -1
- package/web/app/immutable/nodes/{12.iQywXLwT.js → 12.D6rxlIQy.js} +1 -1
- package/web/app/immutable/nodes/{13.m6xe0bMv.js → 13.CHYsmiD_.js} +1 -1
- package/web/app/immutable/nodes/{14.CyaNpqAL.js → 14.mG-YN9pn.js} +3 -3
- package/web/app/immutable/nodes/{15.5st_fzCN.js → 15.CUWA_Nvq.js} +1 -1
- package/web/app/immutable/nodes/{16.MUmBS-bv.js → 16.BsFtzH0D.js} +1 -1
- package/web/app/immutable/nodes/{17.C_k1qpf6.js → 17.me_aOx8O.js} +1 -1
- package/web/app/immutable/nodes/{18.BjTfofOz.js → 18.BO1oZWgm.js} +1 -1
- package/web/app/immutable/nodes/{19.wB7XsK3B.js → 19.D9cBSCEY.js} +2 -2
- package/web/app/immutable/nodes/{2.C7whbYui.js → 2.pGtn3nxM.js} +4 -4
- package/web/app/immutable/nodes/{20.DuDV-BZU.js → 20.LbRPieV_.js} +1 -1
- package/web/app/immutable/nodes/{3.KbBbpAm6.js → 3.Bm-Ewkeu.js} +1 -1
- package/web/app/immutable/nodes/{4.C1b_QyI0.js → 4.bypHtb3m.js} +1 -1
- package/web/app/immutable/nodes/{5.CG-B5vOM.js → 5.YWphdJEW.js} +1 -1
- package/web/app/immutable/nodes/{6.v-GnNHdu.js → 6.DQRfO1Qb.js} +1 -1
- package/web/app/immutable/nodes/{7.D9LU-AZb.js → 7.b1goQuXf.js} +1 -1
- package/web/app/immutable/nodes/{8.BJP_1POW.js → 8.BBgV9gU6.js} +1 -1
- package/web/app/immutable/nodes/{9.f8mHa7_b.js → 9.BJdtENce.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/B8evz7o6.js +0 -2
- package/web/app/immutable/chunks/C0P2MUJp.js +0 -1
- package/web/app/immutable/chunks/D8elUKsb.js +0 -158
- package/web/app/immutable/chunks/DY52XPja.js +0 -2
- package/web/app/immutable/chunks/KU76P7cR.js +0 -1
- package/web/app/immutable/chunks/akx8_VtJ.js +0 -1
- package/web/app/immutable/chunks/hY0rMePc.js +0 -1
- package/web/app/immutable/entry/start.CINDVXKj.js +0 -1
- package/web/app/immutable/nodes/10.KUh1filM.js +0 -39
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as bt,bo as B,bw as wt,bq as Rt,b as It,bs as g}from"./
|
|
1
|
+
import{t as bt,bo as B,bw as wt,bq as Rt,b as It,bs as g}from"./Dws-34a7.js";import{bs as Pt,ca as I,aD as t,c9 as s,bn as kt,bH as E,bV as M,aA as F}from"./3SdAC2_C.js";import{b as vt}from"./Dn334wJv.js";import{Jx as l,eK as Ut,eL as At,t5 as xt,oo as Bt,op as Ft,K5 as Tt,Kk as Lt,Ka as _t,ot as T}from"./4g_iHoQm.js";import{t as Dt}from"./C-BsEdGZ.js";import{g as Wt}from"./DWGXN6Nr.js";import{dH as Gt,bO as Nt,bQ as Et,bN as Mt,bS as Vt,dd as Ht,m as Kt}from"./SbTG0nwQ.js";import{C as zt}from"./CuWLpCl5.js";import{V as qt}from"./BSgFpkqa.js";import{bT as Jt,bN as Ot,b8 as Qt}from"./DtFzaymP.js";import{i as L,n as V}from"./H2jLkRRS.js";import{af as jt}from"./3xVgojWv.js";function Xt(_,$){if(new.target)return bt({component:Xt,..._});Pt($,!0);const H=()=>g(at,"$gitRoots$",c),y=()=>g(ot,"$workspace",c),K=()=>g(nt,"$ftCommits$",c),z=()=>g(lt,"$rootGitRoots$",c),S=()=>g(st,"$ftChanges$",c),q=()=>g(tt,"$foldUnchanged",c),J=()=>g(Z,"$lineWrapping",c),O=()=>g(et,"$diffSideBySide",c),Q=()=>g(rt,"$ftLoading$",c),j=()=>g(it,"$ftBoundarySha$",c),[c,X]=Rt(),Y=o=>{qt(o,{embedded:!0,showExpand:!0,get expanded(){return t(w)},onToggleExpand:()=>{E(w,!t(w)),t(w)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return q()},onToggleFold:()=>l.dispatch(_t()),get wrapEnabled(){return J()},onToggleWrap:()=>l.dispatch(Lt()),get splitEnabled(){return O()},onToggleSplit:()=>l.dispatch(Tt())})},Z=Jt(),tt=Ot(),et=Qt();let P=B($,"tab",7),m=B($,"workspaceId",7),C=B($,"isActive",7);const D=Wt(),u=Dt(()=>m()),ot=Gt(u);I(()=>{const o=m();if(!(!C()||!o||t(n)))return l.dispatch(Ut(o,"all")),()=>l.dispatch(At(o,"all"))});const n=s(()=>P().data?.gitRootId||""),at=jt(u),b=s(()=>H().find(o=>o.id===t(n))),h=s(()=>y()?.worktreePath||y()?.repositoryPath||""),k=s(()=>t(b)?.path||t(h)),st=Nt(u),nt=Et(u),it=Mt(u),rt=Vt(u),dt=s(()=>K()||[]),lt=Ht(u),f=s(()=>z()[t(n)]??Kt),ct=s(()=>t(f).status),gt=s(()=>t(f).loading),mt=s(()=>t(f).commitFiles),pt=s(()=>{const o=t(b)?.registeredCommitSha,i=o?t(f).commits.findIndex(e=>e.hash===o):-1;return i>=0?t(f).commits.slice(0,i):t(f).commits});I(()=>{const o=m(),i=t(n);o&&i&&l.dispatch(xt(o,i,t(b)?.registeredCommitSha,100))});let w=M(!0),R=M(null);const ut=s(()=>{if(t(n))return[...(t(ct)?.files??[]).map(e=>({filePath:`${t(k)}/${e.path}`,action:"modify",additions:e.additions??0,deletions:e.deletions??0,toolName:"local",toolCallId:`root-${t(n)}-${e.staged}-${e.path}`,staged:e.staged,category:e.staged?"staged":"unstaged"})),...t(pt).flatMap(e=>(t(mt)[e.hash]??[]).map(a=>({filePath:`${t(k)}/${a.path}`,action:"modify",additions:a.additions??0,deletions:a.deletions??0,toolName:"local",toolCallId:`root-commit-${e.hash}-${a.path}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message})))];const o=S().filter(e=>e.stage==="unstaged"),i=S().filter(e=>e.stage==="staged");return[...o.map(e=>{const a=e.file||e.relativePath,r=a&&L(a)?a:`${t(h)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-unstaged-${r}`,staged:!1,category:"unstaged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...i.map(e=>{const a=e.file||e.relativePath,r=a&&L(a)?a:`${t(h)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-staged-${r}`,staged:!0,category:"staged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...t(dt).flatMap(e=>(e.files||[]).map(a=>{const r=typeof a=="string"?a:a.path||"",U=r&&L(r)?r:`${t(h)}/${r}`,A=typeof a=="string"?0:a.additions||0,x=typeof a=="string"?0:a.deletions||0;return{filePath:U,action:"modify",additions:A,deletions:x,toolName:"local",toolCallId:`commit-${e.hash}-${r}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message}}))]});function v(o){if(!t(h))return o;const i=V(o),e=V(t(h));return i.startsWith(`${e}/`)?i.slice(e.length+1):o}function W(o){l.dispatch(T(m(),crypto.randomUUID(),{kind:"stage",paths:o.map(v),source:"localChanges"}))}function G(o){l.dispatch(T(m(),crypto.randomUUID(),{kind:"unstage",paths:o.map(v),source:"localChanges"}))}function ht(o){l.dispatch(T(m(),crypto.randomUUID(),{kind:"discard",paths:o.map(v),source:"localChanges"}))}I(()=>{!D||!C()||D.registerActions({display:Y})});const N=crypto.randomUUID();I(()=>{const o=m();if(!(!(C()&&t(n))||!o))return l.dispatch(Bt(o,N)),()=>l.dispatch(Ft(o,N))});var ft={get tab(){return P()},set tab(o){P(o),F()},get workspaceId(){return m()},set workspaceId(o){m(o),F()},get isActive(){return C()},set isActive(o){C(o),F()},$set:wt,$on:(o,i)=>It($,o,i)};{let o=s(()=>t(n)?t(gt):Q()),i=s(()=>t(n)||void 0),e=s(()=>t(n)?t(k):void 0),a=s(()=>y()?.baseRef??null),r=s(()=>t(n)?t(b)?.registeredCommitSha||null:j()||y()?.baseCommitSha||null),U=s(()=>!t(n)),A=s(()=>t(n)?void 0:d=>void W([d])),x=s(()=>t(n)?void 0:d=>void G([d])),Ct=s(()=>t(n)?void 0:d=>void ht([d])),yt=s(()=>t(n)?void 0:()=>{const d=S().filter(p=>p.stage==="unstaged");W(d.map(p=>p.relativePath||p.file))}),St=s(()=>t(n)?void 0:()=>{const d=S().filter(p=>p.stage==="staged");G(d.map(p=>p.relativePath||p.file))});vt(zt(_,{get isLoading(){return t(o)},get changes(){return t(ut)},get gitRootId(){return t(i)},get gitRootPath(){return t(e)},get branchBaseRef(){return t(a)},get branchBaseCommitSha(){return t(r)},get showStagingControls(){return t(U)},showCategoryFilter:!0,get onStage(){return t(A)},get onUnstage(){return t(x)},get onRevert(){return t(Ct)},get onStageAll(){return t(yt)},get onUnstageAll(){return t(St)}}),d=>E(R,d,!0),()=>t(R))}var $t=kt(ft);return X(),$t}export{Xt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bm as l}from"./
|
|
1
|
+
import{bm as l}from"./Dws-34a7.js";import{Jx as a}from"./4g_iHoQm.js";let D=1,d=null;const y=[],m=new Set;function K(){for(const e of m)e(d)}function v(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function N(e){y.push({...e,id:D++,returnFocus:v()}),d||(d=y.shift()??null,K())}function ee(e){return new Promise(t=>N({kind:"confirm",options:e,resolve:t}))}function te(e){return new Promise(t=>N({kind:"prompt",options:e,resolve:t}))}function ne(e){return m.add(e),e(d),()=>m.delete(e)}function re(e,t){if(!d||d.id!==e)return;const n=d;d=y.shift()??null,n.resolve(t),n.returnFocus?.focus(),K()}const se={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},oe=[{value:"assigned",get label(){return l.linearAuth_filter_assigned_label()},get description(){return l.linearAuth_filter_assigned_description()}},{value:"created",get label(){return l.linearAuth_filter_created_label()},get description(){return l.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return l.linearAuth_filter_subscribed_label()},get description(){return l.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return l.linearAuth_filter_team_label()},get description(){return l.linearAuth_filter_team_description()}},{value:"all",get label(){return l.linearAuth_filter_all_label()},get description(){return l.linearAuth_filter_all_description()}}],ie=a.createSelector(e=>e.linearAuth.operation),ae=a.createSelector((e,t)=>e.linearAuth.operation?.consumerId===t?e.linearAuth.operation:null),ue=a.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),ce=a.createSelector(e=>e.linearAuth.isAuthenticated),le=a.createSelector(e=>e.linearAuth.requiresDaemonAuth),fe=a.createSelector(e=>e.linearAuth.isAuthenticating),de=a.createSelector(e=>e.linearAuth.error),Ae=a.createSelector(e=>e.sentryAuth.operation),_e=a.createSelector((e,t)=>e.sentryAuth.operation?.consumerId===t?e.sentryAuth.operation:null),Ee=a.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),he=a.createSelector(e=>e.sentryAuth.isAuthenticated),pe=a.createSelector(e=>e.sentryAuth.organization),Se=a.createSelector(e=>e.sentryAuth.isConnecting),ge=a.createSelector(e=>e.sentryAuth.error),ye="npx not found — install Node.js (with npm) to use Claude Code",H="********",I={claude:"claude-code",codex:"codex",grok:"grok",droid:"droid",auggie:"auggie",cursor:"cursor"},h={claude:"CLAUDE_CONFIG_DIR",codex:"CODEX_HOME"},C={claude:{differentLogin:{set:["CLAUDE_CONFIG_DIR"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},apiKey:{set:["ANTHROPIC_API_KEY"],optionalSet:["ANTHROPIC_BASE_URL"],unset:["ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},token:{set:["CLAUDE_CODE_OAUTH_TOKEN"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN"]}},codex:{differentLogin:{set:["CODEX_HOME"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","CODEX_API_KEY","OPENAI_API_KEY"]},apiKey:{set:["CODEX_API_KEY"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","OPENAI_API_KEY"]},token:{set:["CODEX_ACCESS_TOKEN"],optionalSet:[],unset:["CODEX_API_KEY","OPENAI_API_KEY"]}},grok:{apiKey:{set:["XAI_API_KEY"],optionalSet:[],unset:[]}},droid:{apiKey:{set:["FACTORY_API_KEY"],optionalSet:[],unset:[]}},auggie:{token:{set:["AUGMENT_SESSION_AUTH"],optionalSet:[],unset:[]}},cursor:{apiKey:{set:["CURSOR_API_KEY"],optionalSet:[],unset:["CURSOR_AUTH_TOKEN"]}}},w=["differentLogin","apiKey","token"];function p(e,t){const n=C[e][t];if(!n)throw new Error(`${e} has no ${t} profile kind`);return n}function U(e){return w.filter(t=>C[e][t]!==void 0)}function me(e){const t=U(e);return t.length===1?t[0]:void 0}function Ie(e,t){return C[e][t]!==void 0}const O="ANTHROPIC_BASE_URL";function F(e){return I[e]}function $(e){return Object.keys(I).find(t=>I[t]===e)}function Oe(e){return e.supportsProfiles===!0&&e.id!==void 0&&$(e.id)!==void 0}function Te(e,t){return p(t,e).set[0]}function Ce(e){return h[e]!==void 0}function L(e){const t=h[e];if(!t)throw new Error(`${e} has no account folder`);return t}function x(e){return`~/intent/profiles/${e}`}const A=e=>e.toUpperCase();function ke(e,t){if(t.length===0)return"advanced";const n=new Set,s=new Set;for(const r of t){const o=A(r.key);if(n.has(o)||s.has(o))return"advanced";(r.kind==="set"?n:s).add(o)}for(const r of U(e))if(M(p(e,r),n,s))return r==="differentLogin"&&!X(e,t)?"advanced":r;return"advanced"}function M(e,t,n){const s=e.set.map(A),r=new Set([...s,...e.optionalSet.map(A)]);if(!s.every(i=>t.has(i))||![...t].every(i=>r.has(i)))return!1;const o=new Set(e.unset.map(A));return[...n].every(i=>o.has(i))}function X(e,t){if(!h[e])return!1;const n=Y(e,t);return n!==void 0&&n!==""&&n!==H}function Y(e,t){const n=h[e];if(!n)return;const s=A(n),r=t.find(o=>o.kind==="set"&&A(o.key)===s);return r?.kind==="set"?r.value:void 0}const z=32;function G(e){return e.normalize("NFKD").replace(/\p{M}/gu,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,z).replace(/-+$/g,"")||"profile"}const S="abcdefghijklmnopqrstuvwxyz0123456789",B=4;function P(){const e=new Uint32Array(1);return globalThis.crypto.getRandomValues(e),e[0]/2**32}function q(e=P){let t="";for(let n=0;n<B;n++){const s=Math.min(S.length-1,Math.floor(e()*S.length));t+=S[s]}return t}const V=64;function Ke(e,t,n,s=P){const r=new Set([...n].map(i=>i.toLowerCase())),o=G(t);for(let i=0;i<V;i++){const c=`${o}-${q(s)}`;if(!r.has(c))return`${x(e)}/${c}`}throw new Error(`No unused profile folder found for "${o}"`)}function J(e){return e.map(t=>({key:t,kind:"unset"}))}function E(e,t){const n=e?.trim()??"";if(!n)throw new Error(`Missing ${t}`);return n}function Ne(e,t,n){const s=p(t,e),r=[];if(e==="differentLogin")r.push({key:L(t),kind:"set",value:E(n.folder,"folder")});else if(e==="apiKey"){r.push({key:s.set[0],kind:"set",value:T(t,e,E(n.apiKey,"API key"))});const o=n.baseUrl?.trim();o&&t==="claude"&&r.push({key:O,kind:"set",value:o})}else r.push({key:s.set[0],kind:"set",value:T(t,e,E(n.token,"token"))});return{baseProviderId:F(t),name:n.name.trim(),backup:n.backup??!1,env:[...r,...J(s.unset)]}}function Ue(e,t,n,s={}){const r=p(t,e),o=(u,f)=>n.find(_=>_.kind===f&&A(_.key)===A(u))?.key,i=(u,f)=>{const _=o(u,"set");if(f!==void 0){const k=E(f,u);return{key:_??u,kind:"set",value:e==="differentLogin"?k:T(t,e,k)}}if(!_)throw new Error(`Missing ${u}`);return{key:_,kind:"keep"}},c=[];if(e==="differentLogin")c.push(i(L(t),void 0));else if(e==="apiKey"){c.push(i(r.set[0],s.apiKey));const u=t==="claude"?o(O,"set"):void 0,f=t==="claude"?s.baseUrl:void 0;typeof f=="string"&&f.trim()?c.push({key:u??O,kind:"set",value:f.trim()}):f===void 0&&u&&c.push({key:u,kind:"keep"})}else c.push(i(r.set[0],s.token));for(const u of r.unset)c.push({key:o(u,"unset")??u,kind:"unset"});return c}const g="[A-Za-z0-9_-]+",R=new RegExp(`^${g}\\.${g}\\.${g}$`);function Le(e){return R.test(e.trim())}function Z(e){let t;try{t=JSON.parse(b(e))}catch{return!1}if(typeof t!="object"||t===null||Array.isArray(t))return!1;const n=t;return typeof n.accessToken=="string"&&n.accessToken.trim()!==""&&typeof n.tenantURL=="string"&&/^https:\/\/\S+$/.test(n.tenantURL)&&Array.isArray(n.scopes)}function b(e){const t=e.trim(),n=t.split(/\r?\n/).find(o=>o.trim().startsWith("SESSION="));if(n)return n.trim().slice(8).trim();const s=t.indexOf("{"),r=t.lastIndexOf("}");return s>=0&&r>s?t.slice(s,r+1):t}function T(e,t,n){return e==="auggie"&&t==="token"?b(n):n.trim()}const j={claude:{apiKey:/^sk-ant-api\d*-[A-Za-z0-9_-]{16,}$/,token:/^sk-ant-oat\d*-[A-Za-z0-9_-]{16,}$/},codex:{apiKey:/^sk-(?!ant-)[A-Za-z0-9_-]{20,}$/,token:R},grok:{apiKey:/^xai-[A-Za-z0-9]{20,}$/},droid:{apiKey:/^fk-[A-Za-z0-9_-]{20,}$/},auggie:{token:Z},cursor:{apiKey:/^\S{32,}$/}};function Pe(e,t,n,s={}){const r=n.trim();if(e==="claude"&&t==="apiKey"&&s.customEndpoint)return/^\S+$/.test(r);const o=j[e][t];return o?typeof o=="function"?o(r):o.test(r):!1}function Re(e){if(e==="claude")return"claude auth login";if(e==="codex")return"codex login --device-auth";throw new Error(`${e} has no Different login sign-in`)}export{ue as A,le as B,ye as C,_e as D,Ae as E,ge as F,he as G,Se as H,Ee as I,pe as J,re as K,se as L,H as M,me as N,G as O,ne as P,oe as a,F as b,Ne as c,Ue as d,ee as e,ke as f,L as g,Ce as h,Ie as i,Oe as j,Le as k,Pe as l,Re as m,x as n,U as o,Ke as p,$ as q,te as r,q as s,Y as t,Te as u,ae as v,ie as w,de as x,ce as y,fe as z};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CrvVM5aL.js","/app/immutable/chunks/Dws-34a7.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/DLCFUd4s.js","/app/immutable/chunks/5-0LQoqd.js","/app/immutable/chunks/Cj1KG0_l.js","/app/immutable/chunks/C-zB-6G6.js","/app/immutable/chunks/D-rRuAXZ.js","/app/immutable/chunks/BD9db4FR.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/B5tvpTFB.js","/app/immutable/chunks/rXKOJqUt.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BIGqOuh0.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BPuz5cN_.js","/app/immutable/chunks/7KxcPj98.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/B8HnjSSF.js","/app/immutable/chunks/DcOkWaeN.js","/app/immutable/chunks/4g_iHoQm.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/8jMQM9h0.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CGYPBD6G.js","/app/immutable/chunks/Bc1vJq_Z.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/jBG7W4tL.js","/app/immutable/chunks/D_VvdZe2.js","/app/immutable/chunks/C63WwVct.js","/app/immutable/chunks/C2F2Vd1P.js","/app/immutable/chunks/CrsbEWnE.js","/app/immutable/chunks/DWa-2rkZ.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/gU2qspu9.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BW1iql_y.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/DSiGyv9Y.js","/app/immutable/chunks/C_SKcJv7.js","/app/immutable/chunks/BNa9zzEx.js","/app/immutable/chunks/COgn_CzG.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/zB9UbdEg.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/h8JtxU_T.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/jH2J-9un.js","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/L-Sh3Ble.js","/app/immutable/chunks/DJPIUVkw.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/tLFaYuVN.js","/app/immutable/chunks/SbTG0nwQ.js","/app/immutable/chunks/Dval4sTX.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/BV1ayWTC.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/Cq_jjcoF.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/DN-DN78v.js","/app/immutable/chunks/De0kCZ4v.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/B_4WsP9b.js","/app/immutable/chunks/DtqPBHQj.js","/app/immutable/chunks/B6eTPmJH.js","/app/immutable/chunks/PhAbES0t.js","/app/immutable/chunks/Do2KlQU0.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/BLKFshyr.js","/app/immutable/chunks/LI9J8Eor.js","/app/immutable/chunks/yDmmPu6L.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/A0KsbysW.js","/app/immutable/chunks/B6d1Nolc.js","/app/immutable/chunks/sSXTMg2P.js","/app/immutable/chunks/Bi_Yd73A.js","/app/immutable/chunks/C50zlWbZ.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/DtFzaymP.js","/app/immutable/chunks/BZVhwNIm.js","/app/immutable/chunks/BECK4OaG.js","/app/immutable/chunks/B433f4mk.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/CWOQ_pUA.js","/app/immutable/chunks/CTW83wJs.js","/app/immutable/chunks/wiGlLVr-.js","/app/immutable/chunks/BByf3ILj.js","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/9GO97JAL.js","/app/immutable/chunks/DyXAZ9tr.js","/app/immutable/chunks/DGMrUmNq.js","/app/immutable/chunks/C9ew0Hx2.js","/app/immutable/chunks/BJgwBOBz.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/pomj9evG.js","/app/immutable/chunks/CrbAS4DB.js","/app/immutable/chunks/Cy3lhXYa.js","/app/immutable/chunks/DG0pBglL.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/Dg0Tdf_A.js","/app/immutable/chunks/CoJyxFcH.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/Bs7M8kXA.js","/app/immutable/chunks/Da-Blgd9.js","/app/immutable/chunks/_i0M7_-r.js","/app/immutable/chunks/VeUh5OMZ.js","/app/immutable/chunks/BvbeTrka.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/B2CniqS1.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/U7dpdlAf.js","/app/immutable/chunks/CR-JVxLD.js","/app/immutable/chunks/fHygQTSC.js","/app/immutable/assets/image-context-items.D_hsaikk.css","/app/immutable/chunks/DW25Ls6A.js","/app/immutable/chunks/LQRHF1eM.js","/app/immutable/assets/AttachmentPreview.DWUPhcKi.css","/app/immutable/chunks/fVXs4sxg.js","/app/immutable/chunks/BvgjsneA.js","/app/immutable/chunks/C2WwQCOk.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/Bv_xG3nA.js","/app/immutable/chunks/BVqF0sgN.js","/app/immutable/chunks/DT5eV1e8.js","/app/immutable/chunks/DiURwJNX.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/CNSshwg_.js","/app/immutable/chunks/Clo7aK1n.js","/app/immutable/chunks/BO8Bp7Ht.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/CPO5_F83.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/chunks/CV2tdNDf.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/BlIRL_82.js","/app/immutable/chunks/B0qb2Ymj.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/CC-IHSah.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/B_75gRww.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/Whej1Dge.js","/app/immutable/chunks/ZR3wQ419.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/DxAjMnFs.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/DFGMgfIk.js","/app/immutable/chunks/CI0C7_h-.js","/app/immutable/chunks/THqyVjkf.js","/app/immutable/chunks/CE70-gZI.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/B6FGs8l2.js","/app/immutable/chunks/Dvi4g0xk.js","/app/immutable/chunks/DxRojUvw.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/D2hNxvgD.js","/app/immutable/chunks/BwPwF85e.js","/app/immutable/chunks/CletI6Pa.js","/app/immutable/chunks/C-L0-C2F.js","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/B72XM8Fm.js","/app/immutable/chunks/C8zl7aIj.js","/app/immutable/chunks/DM1_VFfD.js","/app/immutable/chunks/By4iSN8L.js","/app/immutable/chunks/BXJzIaQM.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/Bu-RLSv9.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/pMP23LzB.js","/app/immutable/chunks/4PAYwk2I.js","/app/immutable/chunks/BdEtT3Ti.js","/app/immutable/chunks/deEweluJ.js","/app/immutable/chunks/JM7CQkWC.js","/app/immutable/chunks/DVUFgbJK.js","/app/immutable/chunks/GP4LXuR4.js","/app/immutable/chunks/94vL4WlW.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/DuAAGnM9.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/D7Dfbf5g.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/C9p4fddz.js","/app/immutable/chunks/C-G2u0Oe.js","/app/immutable/chunks/pHBnQb5R.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/rcXEnwTB.js","/app/immutable/chunks/Cp02CBjf.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/nwO3KCpP.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/chunks/3xVgojWv.js","/app/immutable/chunks/C8LrJXqa.js","/app/immutable/chunks/DxC0zTSc.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/-9EwpXCb.js","/app/immutable/chunks/DTMxJ5IC.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/DDb9H7X6.js","/app/immutable/chunks/BSUnflvl.js","/app/immutable/chunks/BjlMkd10.js","/app/immutable/chunks/CEEUgGO1.js","/app/immutable/chunks/7y3Z0Q49.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/B3SHGkI_.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/DI71nFp4.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/Cp7Byf5d.js","/app/immutable/chunks/BGReMCaT.js","/app/immutable/chunks/DXRkYB1Y.js","/app/immutable/chunks/HU1Ksz8U.js","/app/immutable/chunks/D7xjMCds.js","/app/immutable/chunks/DX9N1RQz.js","/app/immutable/chunks/XEsFBJqZ.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/CD-M_2xD.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/B8QvP_8b.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/BTEoQf52.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/DjIQY_o5.js","/app/immutable/chunks/waHi6l7h.js","/app/immutable/chunks/Ex_x2wO5.js","/app/immutable/chunks/Dm-WfTCg.js","/app/immutable/chunks/BSntxgH1.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/KzySRhDw.js","/app/immutable/chunks/CDAnHxmJ.js","/app/immutable/chunks/BHqp2vwo.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/CIaruUrd.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/BVl79jmM.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/VvLcPf2a.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/BSgFpkqa.js","/app/immutable/chunks/DlU1rxYV.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/0Ipp5cFr.js","/app/immutable/chunks/DOkArUrJ.js","/app/immutable/chunks/CxndkliV.js","/app/immutable/chunks/CuWLpCl5.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/C78AfvXn.js","/app/immutable/chunks/CX4-Z2NI.js","/app/immutable/chunks/CqVGtsXz.js","/app/immutable/chunks/C0Zo7HuP.js","/app/immutable/chunks/CYSndAne.js","/app/immutable/chunks/CPI5xBWX.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./Dws-34a7.js";import{t as u}from"./CHto7_WH.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./CGYPBD6G.js";import{R as H}from"./CJB-ebPL.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./3SdAC2_C.js";import{i as D}from"./DLCFUd4s.js";import{s as fe}from"./BD9db4FR.js";import{L as me}from"./fHygQTSC.js";import{C as Xe,L as be}from"./jBG7W4tL.js";import{I as Ze}from"./C63WwVct.js";import"./C2F2Vd1P.js";import"./BW1iql_y.js";import{f as le}from"./BIGqOuh0.js";import{v as Ie}from"./BPuz5cN_.js";import"./gU2qspu9.js";import"./D-rRuAXZ.js";import{I as ve}from"./C-zB-6G6.js";import{I as et}from"./Bqd7fdCF.js";import"./7KxcPj98.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./CrvVM5aL.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,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,88,89,90,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,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./rcXEnwTB.js"),__vite__mapDeps([210,1,2,3,11,6,7,8,9,10,15,211,22,23,24,25,26,18,13,4,71,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,58,72,64,62,65,68,60,59,73,74,75,76,63,77,78,181,92,57,61,182,212,123,213,125,52,136,86,214,99,100,215,109,110,111,112,113,216,217,102,218,219]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./-9EwpXCb.js"),__vite__mapDeps([220,1,2,3,4,11,28,7,8,9,10,6,64,18,22,23,24,25,26,13,62,16,17,19,65,20,221,15,222,223,59,60,57,58,61,63,224,225,226,227,228,112,212,191,229,14,12,21,27,29,30,31,32,213,230,72,68,73,74,75,76,77,78,36,42,43,40,41,217,231,38,35,39,136,33,34,37,44,45,46,215,232,149,233,234,102,218]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./BGReMCaT.js"),__vite__mapDeps([235,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,64,28,11,62,16,17,19,65,20,216,76,63,78,92,72,68,60,59,73,74,75,77,58,57,61,217,181,12,14,15,4,21,27,30,31,32,182,102,236,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,36,42,43,40,41,113,112,172,206,191,213,143,135,71,240,241,242,243,244,199,151,109,110,111,245,246,224,225,226,227,228,140,153,154,35,164,82,69,70,33,34,37,38,39,44,45,46,79,80,81,50,51,117,165,125,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./BTEoQf52.js"),__vite__mapDeps([247,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,75,22,23,24,25,26,76,63,77,64,28,62,65,20,78,58,122,12,21,27,29,30,31,32,158,81,51,178,84,87,68,60,59,179,180,130,92,72,73,74,57,61,132,133,142,109,110,111,112,113,248]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./DjIQY_o5.js"),__vite__mapDeps([249,1,2,3,4,6,7,8,9,10,11,15,72,22,23,24,25,26,18,13,64,28,62,16,17,19,65,20,68,60,59,73,74,75,76,63,77,78,58,250,14,251,238,12,21,27,29,30,31,32,237,102,57,61,133,205,44,45,215,240,132,92,241,103,35,36,47,48,49,42,43,50,51,52,53,104,38,39,105,86,34,37,40,41,71,82,33,46,106,107,81,108,95,96,109,110,111,112,113,114,115,194,54,55,56,66,67,69,70,79,80,83,84,85,87,88,89,90,91,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,206,207,208,217,216]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./Dm-WfTCg.js"),__vite__mapDeps([252,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,217,12,20,30,32,64,62,65,72,68,60,59,73,74,75,76,63,77,78,58,92,57,61,194,88,89,66,114,120,121,125,52,161,82,164,140,69,70,71,79,80,81,50,51,117,165,99,100,48,236,216,181,182,102,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,224,225,226,227,228,129,131,253,98,94,95,49,96,97,118,215,254]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./KzySRhDw.js"),__vite__mapDeps([255,1,2,3,11,64,18,9,22,23,24,25,7,26,13,28,8,10,6,62,16,17,19,65,20,215,181,92,72,68,60,59,73,74,75,76,63,77,78,58,57,61,12,14,15,4,21,27,29,30,31,32,182,35,36,81,88,89,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,71,52,69,70,79,80,82,67,118,114,119,122,123,100,124,236,216,217,102,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,224,225,226,227,228,146,55,147,148,149,150,256,257,258,108,95,49,96,163,195,259,260,153,154,106,48,107,261,156,157,158,159,152,155,162,184,192,136,197,198,174,164,165,262]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./VvLcPf2a.js"),__vite__mapDeps([263,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,215,151,64,28,62,16,17,19,65,20,264,68,60,59,199,77,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,236,61,57,58,63,92,72,73,74,75,76,78,216,217,181,182,102,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,113,112,172,206,191,213,143,135,71,240,241,242,243,244,109,110,111,245,246,224,225,226,227,228,256,257,117,258,164,140,82,69,70,79,80,81,50,51,165,136,265,123,266,234,267]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./0Ipp5cFr.js"),__vite__mapDeps([268,1,2,3,4,11,163,22,23,24,25,9,7,26,18,13,215,64,28,8,10,6,62,16,17,19,65,20,146,55,15,132,59,92,72,68,60,73,74,75,76,63,77,78,58,57,61,21,133,147,148,14,149,35,29,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,136,265,197,198,174,12,30,32,199,121]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./CxndkliV.js"),__vite__mapDeps([270,1,2,4,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,216,76,63,78,92,72,68,60,59,73,74,75,77,58,57,61,217,181,12,14,21,27,29,30,31,32,182,102,271,160,259,260,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,71,126,143,178,84,87,179,180,130,142,236,237,230,167,238,218,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,224,225,226,227,228,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./C78AfvXn.js"),__vite__mapDeps([273,1,2,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,271,29,160,259,260,92,72,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,21,133,147,148,14,4,149,35,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,120,121,106,30,48,49,107,12,32,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,230,167,238,218,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,224,225,226,227,228,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./CX4-Z2NI.js"),__vite__mapDeps([274,1,2,3,271,6,7,8,9,10,29,15,22,23,24,25,26,18,13,160,64,28,11,62,16,17,19,65,20,259,260,92,72,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,21,133,147,148,14,4,149,35,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,120,121,106,30,48,49,107,12,32,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,230,167,238,218,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,224,225,226,227,228,272]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./CqVGtsXz.js"),__vite__mapDeps([275,1,2,3,4,11,62,241,24,59,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,92,64,28,6,65,20,72,68,60,73,74,75,76,63,77,78,58,57,61,21,133,147,148,14,149,35,29,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,215,136,265,197,198,174,12,30,32,199,121]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./C0Zo7HuP.js"),__vite__mapDeps([276,1,2,3,152,6,7,8,9,10,140,153,59,154,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,155,167,64,62,65,76,63,77]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./CYSndAne.js"),__vite__mapDeps([277,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./CPI5xBWX.js"),__vite__mapDeps([278,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([279,59]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as ht,bo as _,bm as g,bw as bt,b as xt}from"./
|
|
1
|
+
import{t as ht,bo as _,bm as g,bw as bt,b as xt}from"./Dws-34a7.js";import{bs as yt,a7 as kt,ay as Q,W as p,bn as At,aA as h,a5 as q,bS as u,bl as S,bA as W,aD as e,b_ as D,bO as x,aB as k,bH as et,c9 as y,bV as at,be as wt,b$ as It}from"./3SdAC2_C.js";import{i as f}from"./DLCFUd4s.js";import{I as Bt,g as Ct}from"./C-zB-6G6.js";import{n as Pt,j as zt}from"./Bc1vJq_Z.js";import{f as F}from"./BIGqOuh0.js";import"./BPuz5cN_.js";import"./BD9db4FR.js";import"./D-rRuAXZ.js";import{F as rt,ce as Rt,cq as St,au as Wt}from"./CGYPBD6G.js";import{A as Dt}from"./BvbeTrka.js";import{D as Lt}from"./CPO5_F83.js";import{Jx as $t,v0 as Ht}from"./4g_iHoQm.js";import{g as Nt}from"./DgAgTFcK.js";var jt=k('<span class="type-caption shrink-0 font-medium text-success"> </span>'),qt=k('<!> <span class="type-body flex-1 truncate text-left font-medium text-foreground"> </span> <span class="type-caption shrink-0 tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span> <!>',1),Ft=k("<!> ",1),Mt=k('<div class="mb-2 flex gap-1"></div>'),Ot=k('<div class="border-t border-border p-2"><!> <!></div>'),Vt=k('<div class="ws-block-widget type-body my-2 overflow-hidden rounded-md border border-border bg-card text-foreground shadow-(--elevation-raised)"><div class="flex min-h-9 items-center gap-2 px-3 py-1.5"><!> <!> <!></div> <!></div>'),Et=k('<div class="ws-block-widget type-caption my-2 text-muted-foreground"> </div>');function Jt(U,n){if(new.target)return ht({component:Jt,...U});yt(n,!0);let A=_(n,"patches",7),M=_(n,"label",23,()=>g.ui_patchBlock_label()),O=_(n,"lastApply",7),w=_(n,"linkedAgentId",7),L=_(n,"workspaceId",7),P=_(n,"applying",7,!1),$=_(n,"onApply",7),H=_(n,"onRevert",7),V=at(!1),E=at(0),z=y(()=>A()?.[e(E)]),J=y(()=>O()?.status==="success");function st(t){const o=t.split(`
|
|
2
2
|
`);let v=0,b=0;for(const I of o)I.startsWith("+")&&!I.startsWith("+++")?v++:I.startsWith("-")&&!I.startsWith("---")&&b++;return{addCount:v,removeCount:b}}let X=y(()=>e(z)?st(e(z).diff):{addCount:0,removeCount:0}),T=y(()=>P()?{label:g.ui_patchBlock_applying_label(),icon:null}:e(J)?{label:g.ui_patchBlock_revert_label(),icon:St}:{label:g.ui_patchBlock_apply_label(),icon:Wt}),nt=y(()=>!!($()||H()));function ot(){et(V,!e(V))}function it(){e(J)?H()?.():$()?.()}var lt={get patches(){return A()},set patches(t){A(t),h()},get label(){return M()},set label(t=g.ui_patchBlock_label()){M(t),h()},get lastApply(){return O()},set lastApply(t){O(t),h()},get linkedAgentId(){return w()},set linkedAgentId(t){w(t),h()},get workspaceId(){return L()},set workspaceId(t){L(t),h()},get applying(){return P()},set applying(t=!1){P(t),h()},get onApply(){return $()},set onApply(t){$(t),h()},get onRevert(){return H()},set onRevert(t){H(t),h()},$set:bt,$on:(t,o)=>xt(n,t,o)},Y=kt(),ct=Q(Y);{var dt=t=>{var o=Vt(),v=q(o),b=q(v);{var I=a=>{{let c=y(()=>g.ui_patchBlock_viewAgent_tooltip());F(a,{variant:"plain",size:"icon-compact",iconOnly:!0,class:"size-4! shrink-0 rounded-sm! transition-opacity hover:opacity-80",onclick:i=>{L()&&$t.dispatch(Ht(L(),{agentId:w(),...Nt(i)}))},get title(){return e(c)},children:(i,m)=>{Dt(i,{get agentId(){return w()},variant:"compact"})},$$slots:{default:!0}})}};f(b,a=>{w()&&a(I)})}var Z=u(b,2);F(Z,{variant:"plain",size:"compact",class:"h-auto! min-w-0 flex-1 shrink items-center justify-start gap-2 px-0! py-0! text-muted-foreground transition-colors hover:text-foreground",truncateLabel:!1,labelClass:"flex min-w-0 flex-1 items-center gap-2",onclick:ot,children:(a,c)=>{var i=qt(),m=Q(i);{var B=l=>{rt(l,{get icon(){return Rt},size:10,class:"text-muted-foreground"})};f(m,l=>{w()||l(B)})}var C=u(m,2),s=S(C,!0),d=u(C,2),r=q(d),R=S(r),N=u(r,2),G=S(N);W(d);var K=u(d,2);{var tt=l=>{var j=jt(),_t=S(j,!0);D(gt=>x(_t,gt),[()=>g.ui_patchBlock_applied_label()]),p(l,j)};f(K,l=>{e(J)&&l(tt)})}D(()=>{x(s,M()),x(R,`+${e(X).addCount??""}`),x(G,`-${e(X).removeCount??""}`)}),p(a,i)},$$slots:{default:!0}});var ut=u(Z,2);{var ft=a=>{F(a,{variant:"ghost-light",size:"sm",class:"type-caption shrink-0",onclick:it,get disabled(){return P()},children:(c,i)=>{var m=Ft(),B=Q(m);{var C=r=>{Bt(r,{size:12})},s=r=>{rt(r,{get icon(){return e(T).icon},size:"xs"})};f(B,r=>{P()?r(C):e(T).icon&&r(s,1)})}var d=u(B);D(()=>x(d,` ${e(T).label??""}`)),p(c,m)},$$slots:{default:!0}})};f(ut,a=>{e(nt)&&a(ft)})}W(v);var vt=u(v,2);{var mt=a=>{var c=Ot(),i=q(c);{var m=s=>{var d=Mt();Ct(d,23,A,(r,R)=>`patch-${R}-${r.filePath}`,(r,R,N)=>{{let G=y(()=>e(N)===e(E)?"default":"ghost-light");F(r,{get variant(){return e(G)},size:"sm",class:"type-caption",onclick:()=>et(E,e(N),!0),children:(K,tt)=>{wt();var l=It();D(j=>x(l,j),[()=>e(R).filePath.split("/").pop()]),p(K,l)},$$slots:{default:!0}})}}),W(d),p(s,d)};f(i,s=>{A().length>1&&s(m)})}var B=u(i,2);{var C=s=>{Lt(s,{get patch(){return e(z).diff},get fileName(){return e(z).filePath},showHeader:!0,showStats:!0,showLineNumbers:!0,maxHeight:"300px",collapsible:!1,class:"overflow-hidden rounded-sm border border-border"})};f(B,s=>{e(z)&&s(C)})}W(c),Pt(3,c,()=>zt,()=>({tier:"moderate"})),p(a,c)};f(vt,a=>{e(V)&&a(mt)})}W(o),p(t,o)},pt=t=>{var o=Et(),v=S(o,!0);D(b=>x(v,b),[()=>g.ui_patchBlock_invalid_error()]),p(t,o)};f(ct,t=>{A()?.length?t(dt):t(pt,-1)})}return p(U,Y),At(lt)}export{Jt as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var Ze=Object.defineProperty;var Le=o=>{throw TypeError(o)};var $e=(o,e,r)=>e in o?Ze(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r;var E=(o,e,r)=>$e(o,typeof e!="symbol"?e+"":e,r),Pe=(o,e,r)=>e.has(o)||Le("Cannot "+r);var l=(o,e,r)=>(Pe(o,e,"read from private field"),r?r.call(o):e.get(o)),P=(o,e,r)=>e.has(o)?Le("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,r),Se=(o,e,r,s)=>(Pe(o,e,"write to private field"),s?s.call(o,r):e.set(o,r),r),Ae=(o,e,r)=>(Pe(o,e,"access private method"),r);import{t as le,bo as n,bw as ce,b as de,bp as ye,br as we}from"./hY0rMePc.js";import{c9 as _,aD as u,bH as G,ca as fe,bV as q,bo as Re,bs as ge,a7 as B,ay as F,W as I,bn as he,aA as a,a5 as Ke,bf as Z,bA as Ne,aB as Ge,br as et,c5 as O,bI as tt,bS as Ee,aG as rt}from"./3SdAC2_C.js";import{i as Q}from"./BWmYJDmC.js";import{t as H}from"./CjZEyjv4.js";import{b as st}from"./Di3TE7pQ.js";import{c as Ie}from"./BNN0vAFF.js";import{b as Oe,e as ke}from"./leDczq9h.js";import{P as De}from"./BEvFtidS.js";import{g as nt}from"./CmbheRhJ.js";import{_ as je}from"./rNjiZ_3W.js";import{h as at,aD as it,ar as ot,an as He,l as ut,a6 as lt,at as ct,aq as Ue,ay as dt,a3 as gt,az as ve,aS as Be,a$ as ht,av as D,aQ as We}from"./CIU_APaR.js";const ze=dt({component:"toggle-group",parts:["root","item"]}),qe=new at("ToggleGroup.Root");var $;class Qe{constructor(e){E(this,"opts");E(this,"rovingFocusGroup");E(this,"attachment");P(this,$,_(()=>({id:this.opts.id.current,[ze.root]:"",role:"group","data-orientation":this.opts.orientation.current,"data-disabled":Ue(this.opts.disabled.current),...this.attachment})));this.opts=e,this.attachment=He(this.opts.ref),this.rovingFocusGroup=new gt({candidateAttr:ze.item,rootNode:e.ref,loop:e.loop,orientation:e.orientation})}get props(){return u(l(this,$))}set props(e){G(l(this,$),e)}}$=new WeakMap;var ee;class ft extends Qe{constructor(r){super(r);E(this,"opts");E(this,"isMulti",!1);P(this,ee,_(()=>this.opts.value.current!==""));this.opts=r}get anyPressed(){return u(l(this,ee))}set anyPressed(r){G(l(this,ee),r)}includesItem(r){return this.opts.value.current===r}toggleItem(r,s){this.includesItem(r)?this.opts.value.current="":(this.opts.value.current=r,this.rovingFocusGroup.setCurrentTabStopId(s))}}ee=new WeakMap;var te;class vt extends Qe{constructor(r){super(r);E(this,"opts");E(this,"isMulti",!0);P(this,te,_(()=>this.opts.value.current.length>0));this.opts=r}get anyPressed(){return u(l(this,te))}set anyPressed(r){G(l(this,te),r)}includesItem(r){return this.opts.value.current.includes(r)}toggleItem(r,s){this.includesItem(r)?this.opts.value.current=this.opts.value.current.filter(d=>d!==r):(this.opts.value.current=[...this.opts.value.current,r],this.rovingFocusGroup.setCurrentTabStopId(s))}}te=new WeakMap;class mt{static create(e){const{type:r,...s}=e,d=r==="single"?new ft(s):new vt(s);return qe.set(d)}}var j,re,me,be,pe,Xe,X,se,ne;const Fe=class Fe{constructor(e,r){P(this,pe);E(this,"opts");E(this,"root");E(this,"attachment");P(this,j,_(()=>this.opts.disabled.current||this.root.opts.disabled.current));P(this,re,_(()=>this.root.includesItem(this.opts.value.current)));P(this,me,_(()=>this.root.isMulti?void 0:it(this.isPressed,!1)));P(this,be,_(()=>this.root.isMulti?ot(this.isPressed):void 0));P(this,X,q(0));P(this,se,_(()=>({pressed:this.isPressed})));P(this,ne,_(()=>({id:this.opts.id.current,role:this.root.isMulti?void 0:"radio",tabindex:u(l(this,X)),"data-orientation":this.root.opts.orientation.current,"data-disabled":Ue(u(l(this,j))),"data-state":bt(this.isPressed),"data-value":this.opts.value.current,"aria-pressed":u(l(this,be)),"aria-checked":u(l(this,me)),disabled:ct(u(l(this,j))),[ze.item]:"",onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment})));this.opts=e,this.root=r,this.attachment=He(this.opts.ref),fe(()=>{this.root.opts.rovingFocus.current?G(l(this,X),this.root.rovingFocusGroup.getTabIndex(this.opts.ref.current),!0):G(l(this,X),0)}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Fe(e,qe.get())}get isPressed(){return u(l(this,re))}set isPressed(e){G(l(this,re),e)}onclick(e){u(l(this,j))||this.root.toggleItem(this.opts.value.current,this.opts.id.current)}onkeydown(e){if(!u(l(this,j))){if(e.key===ut||e.key===lt){e.preventDefault(),Ae(this,pe,Xe).call(this);return}this.root.opts.rovingFocus.current&&this.root.rovingFocusGroup.handleKeydown(this.opts.ref.current,e)}}get snippetProps(){return u(l(this,se))}set snippetProps(e){G(l(this,se),e)}get props(){return u(l(this,ne))}set props(e){G(l(this,ne),e)}};j=new WeakMap,re=new WeakMap,me=new WeakMap,be=new WeakMap,pe=new WeakSet,Xe=function(){u(l(this,j))||this.root.toggleItem(this.opts.value.current,this.opts.id.current)},X=new WeakMap,se=new WeakMap,ne=new WeakMap;let Te=Fe;function bt(o){return o?"on":"off"}var pt=new Set(["$$slots","$$events","$$legacy","id","ref","value","onValueChange","type","disabled","loop","orientation","rovingFocus","child","children"]),yt=Ge("<div><!></div>");function Ve(o,e){const r=Re();if(new.target)return le({component:Ve,...o});ge(e,!0);let s=n(e,"id",23,()=>ve(r)),d=n(e,"ref",15,null),g=n(e,"value",15),h=n(e,"onValueChange",7,Be),m=n(e,"type",7),b=n(e,"disabled",7,!1),p=n(e,"loop",7,!0),C=n(e,"orientation",7,"horizontal"),y=n(e,"rovingFocus",7,!0),S=n(e,"child",7),f=n(e,"children",7),v=ye(e,pt);function k(){g()===void 0&&g(m()==="single"?"":[])}k(),ht.pre(()=>g(),()=>{k()});const A=mt.create({id:D(()=>s()),value:D(()=>g(),i=>{g(i),h()(i)}),disabled:D(()=>b()),loop:D(()=>p()),orientation:D(()=>C()),rovingFocus:D(()=>y()),type:m(),ref:D(()=>d(),i=>d(i))}),L=_(()=>We(v,A.props));var c={get id(){return s()},set id(i=ve(r)){s(i),a()},get ref(){return d()},set ref(i=null){d(i),a()},get value(){return g()},set value(i){g(i),a()},get onValueChange(){return h()},set onValueChange(i=Be){h(i),a()},get type(){return m()},set type(i){m(i),a()},get disabled(){return b()},set disabled(i=!1){b(i),a()},get loop(){return p()},set loop(i=!0){p(i),a()},get orientation(){return C()},set orientation(i="horizontal"){C(i),a()},get rovingFocus(){return y()},set rovingFocus(i=!0){y(i),a()},get child(){return S()},set child(i){S(i),a()},get children(){return f()},set children(i){f(i),a()},$set:ce,$on:(i,w)=>de(e,i,w)},x=B(),z=F(x);{var R=i=>{var w=B(),T=F(w);H(T,S,()=>({props:u(L)})),I(i,w)},t=i=>{var w=yt();Oe(w,()=>({...u(L)}));var T=Ke(w);H(T,()=>f()??Z),Ne(w),I(i,w)};Q(z,i=>{S()?i(R):i(t,-1)})}return I(o,x),he(c)}var xt=new Set(["$$slots","$$events","$$legacy","children","child","ref","value","disabled","id","type"]),_t=Ge("<button><!></button>");function Je(o,e){const r=Re();if(new.target)return le({component:Je,...o});ge(e,!0);let s=n(e,"children",7),d=n(e,"child",7),g=n(e,"ref",15,null),h=n(e,"value",7),m=n(e,"disabled",7,!1),b=n(e,"id",23,()=>ve(r)),p=n(e,"type",7,"button"),C=ye(e,xt);const y=Te.create({id:D(()=>b()),value:D(()=>h()),disabled:D(()=>m()??!1),ref:D(()=>g(),c=>g(c))}),S=_(()=>We(C,y.props,{type:p()}));var f={get children(){return s()},set children(c){s(c),a()},get child(){return d()},set child(c){d(c),a()},get ref(){return g()},set ref(c=null){g(c),a()},get value(){return h()},set value(c){h(c),a()},get disabled(){return m()},set disabled(c=!1){m(c),a()},get id(){return b()},set id(c=ve(r)){b(c),a()},get type(){return p()},set type(c="button"){p(c),a()},$set:ce,$on:(c,x)=>de(e,c,x)},v=B(),k=F(v);{var A=c=>{var x=B(),z=F(x);{let R=_(()=>({props:u(S),...y.snippetProps}));H(z,d,()=>u(R))}I(c,x)},L=c=>{var x=_t();Oe(x,()=>({...u(S)}));var z=Ke(x);H(z,()=>s()??Z,()=>y.snippetProps),Ne(x),I(c,x)};Q(k,c=>{d()?c(A):c(L,-1)})}return I(o,v),he(f)}function Ct(o,e){if(new.target)return le({component:Ct,...o});ge(e,!0);let r=n(e,"open",15,!1),s=n(e,"static",7,!1),d=n(e,"title",7),g=n(e,"description",7),h=n(e,"confirmLabel",7),m=n(e,"cancelLabel",7),b=n(e,"details",7),p=n(e,"busy",7,!1),C=n(e,"submitBusy",7,!1),y=n(e,"canSubmit",7,!0),S=n(e,"focusSubmit",7,!0),f=n(e,"focusCancel",7,!1),v=n(e,"enterKey",7,"submit"),k=n(e,"modEnter",7,"submit"),A=n(e,"destructive",7,!0),L=n(e,"class",7),c=n(e,"closeLabel",7),x=n(e,"onConfirm",7),z=n(e,"onCancel",7);var R={get open(){return r()},set open(t=!1){r(t),a()},get static(){return s()},set static(t=!1){s(t),a()},get title(){return d()},set title(t){d(t),a()},get description(){return g()},set description(t){g(t),a()},get confirmLabel(){return h()},set confirmLabel(t){h(t),a()},get cancelLabel(){return m()},set cancelLabel(t){m(t),a()},get details(){return b()},set details(t){b(t),a()},get busy(){return p()},set busy(t=!1){p(t),a()},get submitBusy(){return C()},set submitBusy(t=!1){C(t),a()},get canSubmit(){return y()},set canSubmit(t=!0){y(t),a()},get focusSubmit(){return S()},set focusSubmit(t=!0){S(t),a()},get focusCancel(){return f()},set focusCancel(t=!1){f(t),a()},get enterKey(){return v()},set enterKey(t="submit"){v(t),a()},get modEnter(){return k()},set modEnter(t="submit"){k(t),a()},get destructive(){return A()},set destructive(t=!0){A(t),a()},get class(){return L()},set class(t){L(t),a()},get closeLabel(){return c()},set closeLabel(t){c(t),a()},get onConfirm(){return x()},set onConfirm(t){x(t),a()},get onCancel(){return z()},set onCancel(t){z(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)};{let t=_(()=>A()?"destructive":"default");st(o,{get static(){return s()},get title(){return d()},get description(){return g()},get submitLabel(){return h()},get cancelLabel(){return m()},get submitVariant(){return u(t)},get busy(){return p()},get submitBusy(){return C()},get canSubmit(){return y()},get focusSubmit(){return S()},get focusCancel(){return f()},get enterKey(){return v()},get modEnter(){return k()},get class(){return L()},get closeLabel(){return c()},get onSubmit(){return x()},get onCancel(){return z()},get open(){return r()},set open(i){r(i)},children:(i,w)=>{var T=B(),W=F(T);{var N=K=>{var M=B(),xe=F(M);H(xe,b),I(K,M)};Q(W,K=>{b()&&K(N)})}I(i,T)},$$slots:{default:!0}})}return he(R)}var V,ae,ie,oe,ue;class Pt{constructor(e,r){P(this,V,q(et([])));P(this,ae);P(this,ie);P(this,oe,q(null));P(this,ue,q(0));Se(this,ae,e),Se(this,ie,r)}get hover(){return u(l(this,oe))}set hover(e){G(l(this,oe),e,!0)}get keyboardIndex(){return u(l(this,ue))}set keyboardIndex(e){G(l(this,ue),e,!0)}get selectedIndexes(){const e=new Set(l(this,ae).call(this));return u(l(this,V)).flatMap((r,s)=>r&&e.has(r.value)?[s]:[])}allocate(e){return O(()=>{const r={value:e,element:null,disabled:!1},s=u(l(this,V)).indexOf(void 0);return s<0?u(l(this,V)).push(r)-1:(u(l(this,V))[s]=r,s)})}release(e){O(()=>{u(l(this,V))[e]&&(u(l(this,V))[e]=void 0,this.hover?.activeIndex===e&&this.hover.setActiveIndex(null),this.hover?.registerItem(e,null))})}update(e,r,s){O(()=>{const d=u(l(this,V))[e];d&&(d.value=r,d.disabled=s)})}register(e,r){O(()=>{const s=u(l(this,V))[e];s&&(s.element=r,this.hover?.registerItem(e,r))})}connect(e){O(()=>{this.hover?.destroy(),this.hover=nt(e,{axis:l(this,ie)});for(const[r,s]of u(l(this,V)).entries())s?.element&&this.hover.registerItem(r,s.element)})}disconnect(){O(()=>{this.hover?.destroy(),this.hover=null})}activate(e){this.keyboardIndex=e,this.hover?.setActiveIndex(e)}focusAdjacent(e,r){const s=u(l(this,V)).map((h,m)=>({entry:h,entryIndex:m})).filter(({entry:h})=>h?.element&&!h.disabled),d=s.findIndex(({entryIndex:h})=>h===e);if(d<0||s.length===0)return;const g=s[(d+r+s.length)%s.length];this.activate(g.entryIndex),g.entry?.element?.focus()}}V=new WeakMap,ae=new WeakMap,ie=new WeakMap,oe=new WeakMap,ue=new WeakMap;const Ye=Symbol("toggle-group");var St=new Set(["$$slots","$$events","$$legacy","value","onValueChange","type","disabled","axis","variant","size","class","children"]),Me=Ge("<!> <!>",1);function wt(o,e){if(new.target)return le({component:wt,...o});ge(e,!0);const r=je({base:"relative isolate inline-flex shrink-0 items-center justify-center gap-0.5 rounded-(--radius-medium) border-0 bg-card",variants:{variant:{default:"shadow-(--elevation-raised)",outline:"border border-border shadow-none",flat:"bg-muted/40 shadow-none"},size:{default:"",xs:"",sm:"",lg:""}},defaultVariants:{variant:"default",size:"default"}});let s=n(e,"value",15),d=n(e,"onValueChange",7),g=n(e,"type",7,"single"),h=n(e,"disabled",7,!1),m=n(e,"axis",7,"x"),b=n(e,"variant",7,"default"),p=n(e,"size",7,"default"),C=n(e,"class",7,""),y=n(e,"children",7),S=ye(e,St),f=q(null);const v=new Pt(()=>Array.isArray(s())?s():typeof s()=="string"&&s()?[s()]:[],O(()=>m()));tt(Ye,{state:v,get size(){return p()},get variant(){return b()}}),fe(()=>{if(u(f))return v.connect(u(f)),()=>v.disconnect()});function k(t){s(t),d()?.(t)}function A(t){s(t),d()?.(t)}var L={get value(){return s()},set value(t){s(t),a()},get onValueChange(){return d()},set onValueChange(t){d(t),a()},get type(){return g()},set type(t="single"){g(t),a()},get disabled(){return h()},set disabled(t=!1){h(t),a()},get axis(){return m()},set axis(t="x"){m(t),a()},get variant(){return b()},set variant(t="default"){b(t),a()},get size(){return p()},set size(t="default"){p(t),a()},get class(){return C()},set class(t=""){C(t),a()},get children(){return y()},set children(t){y(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)},c=B(),x=F(c);{var z=t=>{var i=B(),w=F(i);{let T=_(()=>Array.isArray(s())?s():[]),W=_(()=>ke(r({variant:b(),size:p()}),C()));Ie(w,()=>Ve,(N,K)=>{K(N,we({type:"multiple",get value(){return u(T)},onValueChange:A,get disabled(){return h()},get class(){return u(W)}},()=>S,{get ref(){return u(f)},set ref(M){G(f,M,!0)},children:(M,xe)=>{var J=Me(),Y=F(J);{var _e=U=>{De(U,{get store(){return v.hover},get selectedIndexes(){return v.selectedIndexes}})};Q(Y,U=>{v.hover&&U(_e)})}var Ce=Ee(Y,2);H(Ce,()=>y()??Z),I(M,J)},$$slots:{default:!0}}))})}I(t,i)},R=t=>{var i=B(),w=F(i);{let T=_(()=>typeof s()=="string"?s():""),W=_(()=>ke(r({variant:b(),size:p()}),C()));Ie(w,()=>Ve,(N,K)=>{K(N,we({type:"single",get value(){return u(T)},onValueChange:k,get disabled(){return h()},get class(){return u(W)}},()=>S,{get ref(){return u(f)},set ref(M){G(f,M,!0)},children:(M,xe)=>{var J=Me(),Y=F(J);{var _e=U=>{De(U,{get store(){return v.hover},get selectedIndexes(){return v.selectedIndexes}})};Q(Y,U=>{v.hover&&U(_e)})}var Ce=Ee(Y,2);H(Ce,()=>y()??Z),I(M,J)},$$slots:{default:!0}}))})}I(t,i)};Q(x,t=>{g()==="multiple"?t(z):t(R,-1)})}return I(o,c),he(L)}var It=new Set(["$$slots","$$events","$$legacy","value","disabled","variant","size","tooltip","class","onclick","onfocus","children"]);function kt(o,e){if(new.target)return le({component:kt,...o});ge(e,!0);const r=je({base:"type-caption relative z-10 inline-flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-(--radius-medium) border-0 bg-transparent font-normal text-muted-foreground transition-[color,font-weight] duration-spring-fast ease-spring-fast hover:text-foreground active:bg-active disabled:pointer-events-none disabled:opacity-50 data-[state=on]:[--text-caption-weight:500] data-[state=on]:text-foreground motion-reduce:transition-none",variants:{variant:{default:"",outline:"bg-transparent",flat:""},size:{default:"h-(--control-height-medium) min-w-8 px-2",xs:"h-(--control-height-small) min-w-7 px-1.5",sm:"h-(--control-height-small) min-w-7 px-1.5",lg:"h-(--control-height-large) min-w-9 px-2.5"}},defaultVariants:{variant:"default",size:"default"}});let s=n(e,"value",7),d=n(e,"disabled",7,!1),g=n(e,"variant",7,void 0),h=n(e,"size",7,void 0),m=n(e,"tooltip",7,void 0),b=n(e,"class",7,""),p=n(e,"onclick",7),C=n(e,"onfocus",7),y=n(e,"children",7),S=ye(e,It);const f=rt(Ye),v=f.state.allocate(O(()=>s()));let k=q(null);const A=_(()=>h()??f?.size??"default"),L=_(()=>g()??f?.variant??"default");fe(()=>f.state.update(v,s(),d())),fe(()=>(f.state.register(v,u(k)),()=>f.state.register(v,null)));function c(t){f.state.activate(v),C()?.(t)}var x={get value(){return s()},set value(t){s(t),a()},get disabled(){return d()},set disabled(t=!1){d(t),a()},get variant(){return g()},set variant(t=void 0){g(t),a()},get size(){return h()},set size(t=void 0){h(t),a()},get tooltip(){return m()},set tooltip(t=void 0){m(t),a()},get class(){return b()},set class(t=""){b(t),a()},get onclick(){return p()},set onclick(t){p(t),a()},get onfocus(){return C()},set onfocus(t){C(t),a()},get children(){return y()},set children(t){y(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)},z=B(),R=F(z);{let t=_(()=>ke(r({variant:u(L),size:u(A)}),b()));Ie(R,()=>Je,(i,w)=>{w(i,we({get value(){return s()},get title(){return m()},get disabled(){return d()},get onclick(){return p()},onfocus:c,get class(){return u(t)}},()=>S,{get ref(){return u(k)},set ref(T){G(k,T,!0)},children:(T,W)=>{var N=B(),K=F(N);H(K,()=>y()??Z),I(T,N)},$$slots:{default:!0}}))})}return I(o,z),he(x)}export{Pt as C,Ct as D,wt as T,kt as a};
|
|
1
|
+
var Ze=Object.defineProperty;var Le=o=>{throw TypeError(o)};var $e=(o,e,r)=>e in o?Ze(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r;var E=(o,e,r)=>$e(o,typeof e!="symbol"?e+"":e,r),Pe=(o,e,r)=>e.has(o)||Le("Cannot "+r);var l=(o,e,r)=>(Pe(o,e,"read from private field"),r?r.call(o):e.get(o)),P=(o,e,r)=>e.has(o)?Le("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,r),Se=(o,e,r,s)=>(Pe(o,e,"write to private field"),s?s.call(o,r):e.set(o,r),r),Ae=(o,e,r)=>(Pe(o,e,"access private method"),r);import{t as le,bo as n,bw as ce,b as de,bp as ye,br as we}from"./Dws-34a7.js";import{c9 as _,aD as u,bH as G,ca as fe,bV as q,bo as Re,bs as ge,a7 as B,ay as F,W as I,bn as he,aA as a,a5 as Ke,bf as Z,bA as Ne,aB as Ge,br as et,c5 as O,bI as tt,bS as Ee,aG as rt}from"./3SdAC2_C.js";import{i as Q}from"./DLCFUd4s.js";import{t as H}from"./D-rRuAXZ.js";import{b as st}from"./B6d1Nolc.js";import{c as Ie}from"./B5tvpTFB.js";import{b as Oe,e as ke}from"./BD9db4FR.js";import{P as De}from"./DWa-2rkZ.js";import{g as nt}from"./C63WwVct.js";import{_ as je}from"./BPuz5cN_.js";import{h as at,aD as it,ar as ot,an as He,l as ut,a6 as lt,at as ct,aq as Ue,ay as dt,a3 as gt,az as ve,aS as Be,a$ as ht,av as D,aQ as We}from"./BIGqOuh0.js";const ze=dt({component:"toggle-group",parts:["root","item"]}),qe=new at("ToggleGroup.Root");var $;class Qe{constructor(e){E(this,"opts");E(this,"rovingFocusGroup");E(this,"attachment");P(this,$,_(()=>({id:this.opts.id.current,[ze.root]:"",role:"group","data-orientation":this.opts.orientation.current,"data-disabled":Ue(this.opts.disabled.current),...this.attachment})));this.opts=e,this.attachment=He(this.opts.ref),this.rovingFocusGroup=new gt({candidateAttr:ze.item,rootNode:e.ref,loop:e.loop,orientation:e.orientation})}get props(){return u(l(this,$))}set props(e){G(l(this,$),e)}}$=new WeakMap;var ee;class ft extends Qe{constructor(r){super(r);E(this,"opts");E(this,"isMulti",!1);P(this,ee,_(()=>this.opts.value.current!==""));this.opts=r}get anyPressed(){return u(l(this,ee))}set anyPressed(r){G(l(this,ee),r)}includesItem(r){return this.opts.value.current===r}toggleItem(r,s){this.includesItem(r)?this.opts.value.current="":(this.opts.value.current=r,this.rovingFocusGroup.setCurrentTabStopId(s))}}ee=new WeakMap;var te;class vt extends Qe{constructor(r){super(r);E(this,"opts");E(this,"isMulti",!0);P(this,te,_(()=>this.opts.value.current.length>0));this.opts=r}get anyPressed(){return u(l(this,te))}set anyPressed(r){G(l(this,te),r)}includesItem(r){return this.opts.value.current.includes(r)}toggleItem(r,s){this.includesItem(r)?this.opts.value.current=this.opts.value.current.filter(d=>d!==r):(this.opts.value.current=[...this.opts.value.current,r],this.rovingFocusGroup.setCurrentTabStopId(s))}}te=new WeakMap;class mt{static create(e){const{type:r,...s}=e,d=r==="single"?new ft(s):new vt(s);return qe.set(d)}}var j,re,me,be,pe,Xe,X,se,ne;const Fe=class Fe{constructor(e,r){P(this,pe);E(this,"opts");E(this,"root");E(this,"attachment");P(this,j,_(()=>this.opts.disabled.current||this.root.opts.disabled.current));P(this,re,_(()=>this.root.includesItem(this.opts.value.current)));P(this,me,_(()=>this.root.isMulti?void 0:it(this.isPressed,!1)));P(this,be,_(()=>this.root.isMulti?ot(this.isPressed):void 0));P(this,X,q(0));P(this,se,_(()=>({pressed:this.isPressed})));P(this,ne,_(()=>({id:this.opts.id.current,role:this.root.isMulti?void 0:"radio",tabindex:u(l(this,X)),"data-orientation":this.root.opts.orientation.current,"data-disabled":Ue(u(l(this,j))),"data-state":bt(this.isPressed),"data-value":this.opts.value.current,"aria-pressed":u(l(this,be)),"aria-checked":u(l(this,me)),disabled:ct(u(l(this,j))),[ze.item]:"",onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment})));this.opts=e,this.root=r,this.attachment=He(this.opts.ref),fe(()=>{this.root.opts.rovingFocus.current?G(l(this,X),this.root.rovingFocusGroup.getTabIndex(this.opts.ref.current),!0):G(l(this,X),0)}),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Fe(e,qe.get())}get isPressed(){return u(l(this,re))}set isPressed(e){G(l(this,re),e)}onclick(e){u(l(this,j))||this.root.toggleItem(this.opts.value.current,this.opts.id.current)}onkeydown(e){if(!u(l(this,j))){if(e.key===ut||e.key===lt){e.preventDefault(),Ae(this,pe,Xe).call(this);return}this.root.opts.rovingFocus.current&&this.root.rovingFocusGroup.handleKeydown(this.opts.ref.current,e)}}get snippetProps(){return u(l(this,se))}set snippetProps(e){G(l(this,se),e)}get props(){return u(l(this,ne))}set props(e){G(l(this,ne),e)}};j=new WeakMap,re=new WeakMap,me=new WeakMap,be=new WeakMap,pe=new WeakSet,Xe=function(){u(l(this,j))||this.root.toggleItem(this.opts.value.current,this.opts.id.current)},X=new WeakMap,se=new WeakMap,ne=new WeakMap;let Te=Fe;function bt(o){return o?"on":"off"}var pt=new Set(["$$slots","$$events","$$legacy","id","ref","value","onValueChange","type","disabled","loop","orientation","rovingFocus","child","children"]),yt=Ge("<div><!></div>");function Ve(o,e){const r=Re();if(new.target)return le({component:Ve,...o});ge(e,!0);let s=n(e,"id",23,()=>ve(r)),d=n(e,"ref",15,null),g=n(e,"value",15),h=n(e,"onValueChange",7,Be),m=n(e,"type",7),b=n(e,"disabled",7,!1),p=n(e,"loop",7,!0),C=n(e,"orientation",7,"horizontal"),y=n(e,"rovingFocus",7,!0),S=n(e,"child",7),f=n(e,"children",7),v=ye(e,pt);function k(){g()===void 0&&g(m()==="single"?"":[])}k(),ht.pre(()=>g(),()=>{k()});const A=mt.create({id:D(()=>s()),value:D(()=>g(),i=>{g(i),h()(i)}),disabled:D(()=>b()),loop:D(()=>p()),orientation:D(()=>C()),rovingFocus:D(()=>y()),type:m(),ref:D(()=>d(),i=>d(i))}),L=_(()=>We(v,A.props));var c={get id(){return s()},set id(i=ve(r)){s(i),a()},get ref(){return d()},set ref(i=null){d(i),a()},get value(){return g()},set value(i){g(i),a()},get onValueChange(){return h()},set onValueChange(i=Be){h(i),a()},get type(){return m()},set type(i){m(i),a()},get disabled(){return b()},set disabled(i=!1){b(i),a()},get loop(){return p()},set loop(i=!0){p(i),a()},get orientation(){return C()},set orientation(i="horizontal"){C(i),a()},get rovingFocus(){return y()},set rovingFocus(i=!0){y(i),a()},get child(){return S()},set child(i){S(i),a()},get children(){return f()},set children(i){f(i),a()},$set:ce,$on:(i,w)=>de(e,i,w)},x=B(),z=F(x);{var R=i=>{var w=B(),T=F(w);H(T,S,()=>({props:u(L)})),I(i,w)},t=i=>{var w=yt();Oe(w,()=>({...u(L)}));var T=Ke(w);H(T,()=>f()??Z),Ne(w),I(i,w)};Q(z,i=>{S()?i(R):i(t,-1)})}return I(o,x),he(c)}var xt=new Set(["$$slots","$$events","$$legacy","children","child","ref","value","disabled","id","type"]),_t=Ge("<button><!></button>");function Je(o,e){const r=Re();if(new.target)return le({component:Je,...o});ge(e,!0);let s=n(e,"children",7),d=n(e,"child",7),g=n(e,"ref",15,null),h=n(e,"value",7),m=n(e,"disabled",7,!1),b=n(e,"id",23,()=>ve(r)),p=n(e,"type",7,"button"),C=ye(e,xt);const y=Te.create({id:D(()=>b()),value:D(()=>h()),disabled:D(()=>m()??!1),ref:D(()=>g(),c=>g(c))}),S=_(()=>We(C,y.props,{type:p()}));var f={get children(){return s()},set children(c){s(c),a()},get child(){return d()},set child(c){d(c),a()},get ref(){return g()},set ref(c=null){g(c),a()},get value(){return h()},set value(c){h(c),a()},get disabled(){return m()},set disabled(c=!1){m(c),a()},get id(){return b()},set id(c=ve(r)){b(c),a()},get type(){return p()},set type(c="button"){p(c),a()},$set:ce,$on:(c,x)=>de(e,c,x)},v=B(),k=F(v);{var A=c=>{var x=B(),z=F(x);{let R=_(()=>({props:u(S),...y.snippetProps}));H(z,d,()=>u(R))}I(c,x)},L=c=>{var x=_t();Oe(x,()=>({...u(S)}));var z=Ke(x);H(z,()=>s()??Z,()=>y.snippetProps),Ne(x),I(c,x)};Q(k,c=>{d()?c(A):c(L,-1)})}return I(o,v),he(f)}function Ct(o,e){if(new.target)return le({component:Ct,...o});ge(e,!0);let r=n(e,"open",15,!1),s=n(e,"static",7,!1),d=n(e,"title",7),g=n(e,"description",7),h=n(e,"confirmLabel",7),m=n(e,"cancelLabel",7),b=n(e,"details",7),p=n(e,"busy",7,!1),C=n(e,"submitBusy",7,!1),y=n(e,"canSubmit",7,!0),S=n(e,"focusSubmit",7,!0),f=n(e,"focusCancel",7,!1),v=n(e,"enterKey",7,"submit"),k=n(e,"modEnter",7,"submit"),A=n(e,"destructive",7,!0),L=n(e,"class",7),c=n(e,"closeLabel",7),x=n(e,"onConfirm",7),z=n(e,"onCancel",7);var R={get open(){return r()},set open(t=!1){r(t),a()},get static(){return s()},set static(t=!1){s(t),a()},get title(){return d()},set title(t){d(t),a()},get description(){return g()},set description(t){g(t),a()},get confirmLabel(){return h()},set confirmLabel(t){h(t),a()},get cancelLabel(){return m()},set cancelLabel(t){m(t),a()},get details(){return b()},set details(t){b(t),a()},get busy(){return p()},set busy(t=!1){p(t),a()},get submitBusy(){return C()},set submitBusy(t=!1){C(t),a()},get canSubmit(){return y()},set canSubmit(t=!0){y(t),a()},get focusSubmit(){return S()},set focusSubmit(t=!0){S(t),a()},get focusCancel(){return f()},set focusCancel(t=!1){f(t),a()},get enterKey(){return v()},set enterKey(t="submit"){v(t),a()},get modEnter(){return k()},set modEnter(t="submit"){k(t),a()},get destructive(){return A()},set destructive(t=!0){A(t),a()},get class(){return L()},set class(t){L(t),a()},get closeLabel(){return c()},set closeLabel(t){c(t),a()},get onConfirm(){return x()},set onConfirm(t){x(t),a()},get onCancel(){return z()},set onCancel(t){z(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)};{let t=_(()=>A()?"destructive":"default");st(o,{get static(){return s()},get title(){return d()},get description(){return g()},get submitLabel(){return h()},get cancelLabel(){return m()},get submitVariant(){return u(t)},get busy(){return p()},get submitBusy(){return C()},get canSubmit(){return y()},get focusSubmit(){return S()},get focusCancel(){return f()},get enterKey(){return v()},get modEnter(){return k()},get class(){return L()},get closeLabel(){return c()},get onSubmit(){return x()},get onCancel(){return z()},get open(){return r()},set open(i){r(i)},children:(i,w)=>{var T=B(),W=F(T);{var N=K=>{var M=B(),xe=F(M);H(xe,b),I(K,M)};Q(W,K=>{b()&&K(N)})}I(i,T)},$$slots:{default:!0}})}return he(R)}var V,ae,ie,oe,ue;class Pt{constructor(e,r){P(this,V,q(et([])));P(this,ae);P(this,ie);P(this,oe,q(null));P(this,ue,q(0));Se(this,ae,e),Se(this,ie,r)}get hover(){return u(l(this,oe))}set hover(e){G(l(this,oe),e,!0)}get keyboardIndex(){return u(l(this,ue))}set keyboardIndex(e){G(l(this,ue),e,!0)}get selectedIndexes(){const e=new Set(l(this,ae).call(this));return u(l(this,V)).flatMap((r,s)=>r&&e.has(r.value)?[s]:[])}allocate(e){return O(()=>{const r={value:e,element:null,disabled:!1},s=u(l(this,V)).indexOf(void 0);return s<0?u(l(this,V)).push(r)-1:(u(l(this,V))[s]=r,s)})}release(e){O(()=>{u(l(this,V))[e]&&(u(l(this,V))[e]=void 0,this.hover?.activeIndex===e&&this.hover.setActiveIndex(null),this.hover?.registerItem(e,null))})}update(e,r,s){O(()=>{const d=u(l(this,V))[e];d&&(d.value=r,d.disabled=s)})}register(e,r){O(()=>{const s=u(l(this,V))[e];s&&(s.element=r,this.hover?.registerItem(e,r))})}connect(e){O(()=>{this.hover?.destroy(),this.hover=nt(e,{axis:l(this,ie)});for(const[r,s]of u(l(this,V)).entries())s?.element&&this.hover.registerItem(r,s.element)})}disconnect(){O(()=>{this.hover?.destroy(),this.hover=null})}activate(e){this.keyboardIndex=e,this.hover?.setActiveIndex(e)}focusAdjacent(e,r){const s=u(l(this,V)).map((h,m)=>({entry:h,entryIndex:m})).filter(({entry:h})=>h?.element&&!h.disabled),d=s.findIndex(({entryIndex:h})=>h===e);if(d<0||s.length===0)return;const g=s[(d+r+s.length)%s.length];this.activate(g.entryIndex),g.entry?.element?.focus()}}V=new WeakMap,ae=new WeakMap,ie=new WeakMap,oe=new WeakMap,ue=new WeakMap;const Ye=Symbol("toggle-group");var St=new Set(["$$slots","$$events","$$legacy","value","onValueChange","type","disabled","axis","variant","size","class","children"]),Me=Ge("<!> <!>",1);function wt(o,e){if(new.target)return le({component:wt,...o});ge(e,!0);const r=je({base:"relative isolate inline-flex shrink-0 items-center justify-center gap-0.5 rounded-(--radius-medium) border-0 bg-card",variants:{variant:{default:"shadow-(--elevation-raised)",outline:"border border-border shadow-none",flat:"bg-muted/40 shadow-none"},size:{default:"",xs:"",sm:"",lg:""}},defaultVariants:{variant:"default",size:"default"}});let s=n(e,"value",15),d=n(e,"onValueChange",7),g=n(e,"type",7,"single"),h=n(e,"disabled",7,!1),m=n(e,"axis",7,"x"),b=n(e,"variant",7,"default"),p=n(e,"size",7,"default"),C=n(e,"class",7,""),y=n(e,"children",7),S=ye(e,St),f=q(null);const v=new Pt(()=>Array.isArray(s())?s():typeof s()=="string"&&s()?[s()]:[],O(()=>m()));tt(Ye,{state:v,get size(){return p()},get variant(){return b()}}),fe(()=>{if(u(f))return v.connect(u(f)),()=>v.disconnect()});function k(t){s(t),d()?.(t)}function A(t){s(t),d()?.(t)}var L={get value(){return s()},set value(t){s(t),a()},get onValueChange(){return d()},set onValueChange(t){d(t),a()},get type(){return g()},set type(t="single"){g(t),a()},get disabled(){return h()},set disabled(t=!1){h(t),a()},get axis(){return m()},set axis(t="x"){m(t),a()},get variant(){return b()},set variant(t="default"){b(t),a()},get size(){return p()},set size(t="default"){p(t),a()},get class(){return C()},set class(t=""){C(t),a()},get children(){return y()},set children(t){y(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)},c=B(),x=F(c);{var z=t=>{var i=B(),w=F(i);{let T=_(()=>Array.isArray(s())?s():[]),W=_(()=>ke(r({variant:b(),size:p()}),C()));Ie(w,()=>Ve,(N,K)=>{K(N,we({type:"multiple",get value(){return u(T)},onValueChange:A,get disabled(){return h()},get class(){return u(W)}},()=>S,{get ref(){return u(f)},set ref(M){G(f,M,!0)},children:(M,xe)=>{var J=Me(),Y=F(J);{var _e=U=>{De(U,{get store(){return v.hover},get selectedIndexes(){return v.selectedIndexes}})};Q(Y,U=>{v.hover&&U(_e)})}var Ce=Ee(Y,2);H(Ce,()=>y()??Z),I(M,J)},$$slots:{default:!0}}))})}I(t,i)},R=t=>{var i=B(),w=F(i);{let T=_(()=>typeof s()=="string"?s():""),W=_(()=>ke(r({variant:b(),size:p()}),C()));Ie(w,()=>Ve,(N,K)=>{K(N,we({type:"single",get value(){return u(T)},onValueChange:k,get disabled(){return h()},get class(){return u(W)}},()=>S,{get ref(){return u(f)},set ref(M){G(f,M,!0)},children:(M,xe)=>{var J=Me(),Y=F(J);{var _e=U=>{De(U,{get store(){return v.hover},get selectedIndexes(){return v.selectedIndexes}})};Q(Y,U=>{v.hover&&U(_e)})}var Ce=Ee(Y,2);H(Ce,()=>y()??Z),I(M,J)},$$slots:{default:!0}}))})}I(t,i)};Q(x,t=>{g()==="multiple"?t(z):t(R,-1)})}return I(o,c),he(L)}var It=new Set(["$$slots","$$events","$$legacy","value","disabled","variant","size","tooltip","class","onclick","onfocus","children"]);function kt(o,e){if(new.target)return le({component:kt,...o});ge(e,!0);const r=je({base:"type-caption relative z-10 inline-flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-(--radius-medium) border-0 bg-transparent font-normal text-muted-foreground transition-[color,font-weight] duration-spring-fast ease-spring-fast hover:text-foreground active:bg-active disabled:pointer-events-none disabled:opacity-50 data-[state=on]:[--text-caption-weight:500] data-[state=on]:text-foreground motion-reduce:transition-none",variants:{variant:{default:"",outline:"bg-transparent",flat:""},size:{default:"h-(--control-height-medium) min-w-8 px-2",xs:"h-(--control-height-small) min-w-7 px-1.5",sm:"h-(--control-height-small) min-w-7 px-1.5",lg:"h-(--control-height-large) min-w-9 px-2.5"}},defaultVariants:{variant:"default",size:"default"}});let s=n(e,"value",7),d=n(e,"disabled",7,!1),g=n(e,"variant",7,void 0),h=n(e,"size",7,void 0),m=n(e,"tooltip",7,void 0),b=n(e,"class",7,""),p=n(e,"onclick",7),C=n(e,"onfocus",7),y=n(e,"children",7),S=ye(e,It);const f=rt(Ye),v=f.state.allocate(O(()=>s()));let k=q(null);const A=_(()=>h()??f?.size??"default"),L=_(()=>g()??f?.variant??"default");fe(()=>f.state.update(v,s(),d())),fe(()=>(f.state.register(v,u(k)),()=>f.state.register(v,null)));function c(t){f.state.activate(v),C()?.(t)}var x={get value(){return s()},set value(t){s(t),a()},get disabled(){return d()},set disabled(t=!1){d(t),a()},get variant(){return g()},set variant(t=void 0){g(t),a()},get size(){return h()},set size(t=void 0){h(t),a()},get tooltip(){return m()},set tooltip(t=void 0){m(t),a()},get class(){return b()},set class(t=""){b(t),a()},get onclick(){return p()},set onclick(t){p(t),a()},get onfocus(){return C()},set onfocus(t){C(t),a()},get children(){return y()},set children(t){y(t),a()},$set:ce,$on:(t,i)=>de(e,t,i)},z=B(),R=F(z);{let t=_(()=>ke(r({variant:u(L),size:u(A)}),b()));Ie(R,()=>Je,(i,w)=>{w(i,we({get value(){return s()},get title(){return m()},get disabled(){return d()},get onclick(){return p()},onfocus:c,get class(){return u(t)}},()=>S,{get ref(){return u(k)},set ref(T){G(k,T,!0)},children:(T,W)=>{var N=B(),K=F(N);H(K,()=>y()??Z),I(T,N)},$$slots:{default:!0}}))})}return I(o,z),he(x)}export{Pt as C,Ct as D,wt as T,kt as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as A,bo as a,bw as T,bp as D,b as E}from"./
|
|
1
|
+
import{t as A,bo as a,bw as T,bp as D,b as E}from"./Dws-34a7.js";import{aG as F,bs as G,c5 as J,aD as K,a5 as p,bS as M,bf as P,bA as x,W as S,bn as B,c9 as Q,aA as s,aB as y}from"./3SdAC2_C.js";import{i as U}from"./DLCFUd4s.js";import{t as w}from"./D-rRuAXZ.js";import{b as H,e as _}from"./BD9db4FR.js";import{b as I}from"./Dn334wJv.js";import{u as V,c as N,s as X,b as Y,a as Z}from"./D9tVylVS.js";import{C as $}from"./DSiGyv9Y.js";const ee=Symbol("card-group"),te=()=>F(ee);var re=new Set(["$$slots","$$events","$$legacy","ref","class","inert","interactive","level","border","selected","media","children"]),ae=y('<div data-slot="card-media" class="shrink-0 p-4"><!></div>'),se=y("<div><!> <!></div>");function ne(v,t){if(new.target)return A({component:ne,...v});G(t,!0);let i=a(t,"ref",15,null),o=a(t,"class",7),d=a(t,"inert",7,!1),l=a(t,"interactive",7,!1),m=a(t,"level",7),u=a(t,"border",7),n=a(t,"selected",7,!1),f=a(t,"media",7),r=a(t,"children",7),C=D(t,re);const c=te(),L=Q(()=>u()==="outlined"||u()===void 0&&(!c||c.border==="outlined"&&c.separated)),O=V(),h=N(J(()=>m()??O+1));X(h);const R=N(h+1);var W={get ref(){return i()},set ref(e=null){i(e),s()},get class(){return o()},set class(e){o(e),s()},get inert(){return d()},set inert(e=!1){d(e),s()},get interactive(){return l()},set interactive(e=!1){l(e),s()},get level(){return m()},set level(e){m(e),s()},get border(){return u()},set border(e){u(e),s()},get selected(){return n()},set selected(e=!1){n(e),s()},get media(){return f()},set media(e){f(e),s()},get children(){return r()},set children(e){r(e),s()},$set:T,$on:(e,g)=>E(t,e,g)},b=se();H(b,e=>({"data-slot":"card","data-selected":n()||void 0,"data-orientation":c?.orientation,"data-surface-level":h,"data-inert":d()||void 0,"data-interactive":l()||void 0,inert:d(),class:e,...C}),[()=>_("flex min-w-0 flex-col overflow-hidden rounded-md text-card-foreground",K(L)?c?"border border-border bg-transparent":Z(h):"bg-transparent",n()&&"bg-selected",c?.orientation==="inline"&&"flex-row items-center [&>[data-slot=card-header]]:min-w-0 [&>[data-slot=card-header]]:flex-1",c&&"relative",l()?_("cursor-pointer transition-[background-color,box-shadow] duration-(--motion-fast) ease-(--ease-standard)","focus-visible:outline focus-visible:-outline-offset-1","active:bg-active data-[state=pressed]:bg-active motion-reduce:transition-none",Y(R)):"",o())]);var k=p(b);{var j=e=>{var g=ae(),z=p(g);w(z,f),x(g),S(e,g)};U(k,e=>{f()&&e(j)})}var q=M(k,2);return w(q,()=>r()??P),x(b),I(b,e=>i(e),()=>i()),S(v,b),B(W)}var ie=new Set(["$$slots","$$events","$$legacy","ref","class","flush","children"]),de=y("<div><!></div>");function le(v,t){if(new.target)return A({component:le,...v});G(t,!0);let i=a(t,"ref",15,null),o=a(t,"class",7),d=a(t,"flush",7,!1),l=a(t,"children",7),m=D(t,ie);var u={get ref(){return i()},set ref(r=null){i(r),s()},get class(){return o()},set class(r){o(r),s()},get flush(){return d()},set flush(r=!1){d(r),s()},get children(){return l()},set children(r){l(r),s()},$set:T,$on:(r,C)=>E(t,r,C)},n=de();H(n,r=>({"data-slot":"card-content","data-flush":d()||void 0,class:r,...m}),[()=>_("type-body min-w-0",d()?"p-0":_($,"py-4 first:pt-4"),o())]);var f=p(n);return w(f,()=>l()??P),x(n),I(n,r=>i(r),()=>i()),S(v,n),B(u)}export{ne as C,le as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aR as Q,e as ke,aK as oe,bM as ie,bL as le,ad as Ie,a0 as Ce,a2 as Te,H as Ae,aQ as Me,aJ as Pe,bs as pe,cd as $e,c5 as ae,ca as me,bV as O,br as Fe,cb as He,aD as r,bH as y,a5 as L,a7 as Y,ay as ee,W as w,bA as D,bS as V,b_ as N,bn as _e,c9 as J,aA as A,aB as B,bl as U,be as de,b$ as ce,bO as R}from"./3SdAC2_C.js";import{t as ge,bo as M,bw as be,bs as X,bq as Ee,b as ye,bm as z}from"./
|
|
1
|
+
import{aR as Q,e as ke,aK as oe,bM as ie,bL as le,ad as Ie,a0 as Ce,a2 as Te,H as Ae,aQ as Me,aJ as Pe,bs as pe,cd as $e,c5 as ae,ca as me,bV as O,br as Fe,cb as He,aD as r,bH as y,a5 as L,a7 as Y,ay as ee,W as w,bA as D,bS as V,b_ as N,bn as _e,c9 as J,aA as A,aB as B,bl as U,be as de,b$ as ce,bO as R}from"./3SdAC2_C.js";import{t as ge,bo as M,bw as be,bs as X,bq as Ee,b as ye,bm as z}from"./Dws-34a7.js";import{i as re}from"./DLCFUd4s.js";import{c as ue}from"./B5tvpTFB.js";import{s as Le}from"./BD9db4FR.js";import{t as Z}from"./CHto7_WH.js";import{f as fe}from"./BIGqOuh0.js";import"./BPuz5cN_.js";import{k as De}from"./5-0LQoqd.js";import{t as We}from"./D-rRuAXZ.js";import{Jx as ve,tZ as Se,pi as Re}from"./4g_iHoQm.js";import{s as ze,W as Ne}from"./DlU1rxYV.js";import{i as Oe,n as Be,d as je}from"./DxC0zTSc.js";import{t as qe,s as Ve,l as Je,u as Ge}from"./Cp7Byf5d.js";function yt(i,n){let e=null,u=Q;var v;if(Q){e=Me;for(var s=Pe(document.head);s!==null&&(s.nodeType!==ke||s.data!==i);)s=oe(s);if(s===null)ie(!1);else{var p=oe(s);s.remove(),le(p)}}Q||(v=document.head.appendChild(Ie()));try{Ce(()=>{var l=Te(()=>n(v));l.f|=Ae,Q||(l.nodes===null?l.nodes={start:v,end:v,a:null,t:null}:l.nodes.end=v)})}finally{u&&(ie(!0),le(e))}}const we=3e4,Ke=3;function G(i){return i.type==="browser"&&typeof i.ownerAgentId=="string"&&i.ownerAgentId.length>0}function wt(i,n,e,u,v){return i?Xe(new Map,n,e,u,v):new Map}const Qe={ttlMs:we,maxInactiveTabs:Ke};function Ue(i={}){return{...Qe,...i}}function ht(i,n){if(i.size!==n.size)return!1;for(const[e,u]of i)if(n.get(e)!==u)return!1;return!0}function Xe(i,n,e,u,v){const{ttlMs:s,maxInactiveTabs:p}=Ue(v),l=new Set(n.map(a=>a.id)),d=new Set(n.filter(a=>a.type==="browser").map(a=>a.id)),m=new Set(n.filter(G).map(a=>a.id)),c=new Map;for(const[a,k]of i)l.has(a)&&c.set(a,k);e&&l.has(e)&&c.set(e,u);for(const a of m)c.has(a)||c.set(a,u);for(const[a,k]of c)a!==e&&!d.has(a)&&u-k>=s&&c.delete(a);const g=Array.from(c.entries()).filter(([a])=>a!==e&&!d.has(a)).sort(([,a],[,k])=>a-k);for(;g.length>p;){const a=g.shift();a&&c.delete(a[0])}return c}function xt(i,n,e,u=we,v=[]){const s=new Set(v.filter(l=>l.type==="browser").map(l=>l.id));let p=null;for(const[l,d]of i){if(l===n||s.has(l))continue;const m=Math.max(0,u-(e-d));p=p===null?m:Math.min(p,m)}return p}var Ze=B('<div class="absolute inset-0 z-10 overflow-hidden bg-background"><!></div>'),Ye=B('<div class="relative flex h-full min-h-0 w-full flex-col" data-workspace-home-panel-gate=""><div class="flex min-h-0 w-full flex-1 flex-col"><!></div> <!></div>');function he(i,n){if(new.target)return ge({component:he,...i});pe(n,!0);const e=()=>X(a,"$view$",p),u=()=>X(K,"$loaded$",p),v=()=>X(k,"$canMove$",p),s=()=>X(W,"$waiting$",p),[p,l]=Ee();let d=M(n,"workspaceId",7),m=M(n,"children",7),c=M(n,"clock",23,()=>Date.now);const g=$e(ae(()=>d()));me(()=>{g.set(d())});const a=qe(g),k=Ve(g),W=Je(g),K=Ge(g),S=J(e);let P=O(Fe(Oe)),j=O(!1);ze({markContentLoaded:()=>{y(j,!0)}}),He(()=>{const o={workspaceId:d(),loaded:u(),unavailable:r(S)?.unavailable===!0,contentLoaded:r(j),now:c()()},f=Be(ae(()=>r(P)),o);f.generation!==ae(()=>r(P)).generation&&y(j,!1),y(P,f,!0)});var te={get workspaceId(){return d()},set workspaceId(o){d(o),A()},get children(){return m()},set children(o){m(o),A()},get clock(){return c()},set clock(o=Date.now){c(o),A()},$set:be,$on:(o,f)=>ye(n,o,f)},q=Ye(),t=L(q),h=L(t);De(h,()=>r(P).generation,o=>{var f=Y(),I=ee(f);We(I,m),w(o,f)}),D(t);var $=V(t,2);{var C=o=>{var f=Ze(),I=L(f);Ne(I,{get view(){return r(S)},get canMove(){return v()},get waiting(){return s()},onWait:()=>ve.dispatch(Re(d())),onMove:()=>ve.dispatch(Se(d()))}),D(f),w(o,f)};re($,o=>{r(S)?.unavailable&&o(C)})}D(q),N(()=>t.inert=r(S)?.unavailable?!0:void 0),w(i,q);var F=_e(te);return l(),F}var et=B('<div class="flex h-full flex-col items-center justify-center gap-3 text-subtle"><p> </p> <!></div>'),tt=B('<div class="flex h-full w-full items-center justify-center" role="status"><div class="size-5 animate-pulse rounded-full bg-muted motion-reduce:animate-none"></div></div>'),at=B('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><div class="text-center"><p class="text-lg font-medium text-foreground"> </p> <p class="text-sm"> </p> <p class="text-xs mt-4 text-subtle"> </p> <!></div></div>'),rt=B('<div class="panel-content-renderer h-full w-full overflow-hidden svelte-1ed760w"><!></div>');function nt(i,n){if(new.target)return ge({component:nt,...i});pe(n,!0);let e=M(n,"tab",7),u=M(n,"workspaceId",7),v=M(n,"layoutId",7),s=M(n,"isActive",7,!0),p=M(n,"isPanelFocused",7,!1),l=M(n,"onFocus",7),d=O(0),m=O(null),c=O(void 0),g=O(!1);const a=J(()=>(r(d),Z.get(e().type))),k=J(()=>(r(d),Z.getLoadedComponent(e().type))),W=J(()=>r(m)===e().type&&r(c)?r(c):s()||G(e())?r(k):void 0);me(()=>{const t=e().type,$=s()||G(e()),C=r(d),F=r(a),o=r(k);let f=!1;if((!F||r(m)!==t)&&(y(m,null),y(c,void 0),y(g,!1)),!(!F||!$)){if(o){y(m,t,!0),y(c,o,!0);return}if(!(r(m)===t&&r(c)))return y(g,!1),Z.loadComponent(t).then(I=>{f||!s()&&!G(e())||e().type!==t||r(d)!==C||(y(m,t,!0),y(c,I,!0))},()=>{f||!s()&&!G(e())||e().type!==t||r(d)!==C||y(g,!0)}),()=>{f=!0}}});function K(){Z.resetComponentLoad(e().type),y(d,r(d)+1)}var S={get tab(){return e()},set tab(t){e(t),A()},get workspaceId(){return u()},set workspaceId(t){u(t),A()},get layoutId(){return v()},set layoutId(t){v(t),A()},get isActive(){return s()},set isActive(t=!0){s(t),A()},get isPanelFocused(){return p()},set isPanelFocused(t=!1){p(t),A()},get onFocus(){return l()},set onFocus(t){l(t),A()},$set:be,$on:(t,h)=>ye(n,t,h)},P=rt(),j=L(P);{var te=t=>{var h=Y(),$=ee(h);{var C=_=>{he(_,{get workspaceId(){return u()},children:(b,x)=>{var T=Y(),H=ee(T);ue(H,()=>r(W),(E,ne)=>{ne(E,{get tab(){return e()},get workspaceId(){return u()},get layoutId(){return v()},get isActive(){return s()},get isPanelFocused(){return p()},get onFocus(){return l()}})}),w(b,T)},$$slots:{default:!0}})},F=J(()=>r(W)&&je(e())),o=_=>{var b=Y(),x=ee(b);ue(x,()=>r(W),(T,H)=>{H(T,{get tab(){return e()},get workspaceId(){return u()},get layoutId(){return v()},get isActive(){return s()},get isPanelFocused(){return p()},get onFocus(){return l()}})}),w(_,b)},f=_=>{var b=et(),x=L(b),T=U(x,!0),H=V(x,2);fe(H,{variant:"outline",size:"sm",onclick:K,children:(E,ne)=>{de();var se=ce();N(xe=>R(se,xe),[()=>z.ui_errorToast_retry_label()]),w(E,se)},$$slots:{default:!0}}),D(b),N(E=>R(T,E),[()=>z.error_boundary_title()]),w(_,b)},I=_=>{var b=tt();N(x=>Le(b,"aria-label",x),[()=>z.workspace_hoverCard_loading_label()]),w(_,b)};re($,_=>{r(F)?_(C):r(W)?_(o,1):s()&&r(g)?_(f,2):s()&&_(I,3)})}w(t,h)},q=t=>{var h=at(),$=L(h),C=L($),F=U(C,!0),o=V(C,2),f=U(o,!0),I=V(o,2),_=U(I,!0),b=V(I,2);fe(b,{class:"mt-4",variant:"outline",size:"sm",onclick:K,children:(x,T)=>{de();var H=ce();N(E=>R(H,E),[()=>z.ui_errorToast_retry_label()]),w(x,H)},$$slots:{default:!0}}),D($),D(h),N((x,T)=>{R(F,e().title),R(f,x),R(_,T)},[()=>z.layout_panelContent_typeLabel({type:e().type}),()=>z.layout_panelContent_notImplemented_label()]),w(t,h)};re(j,t=>{r(a)?t(te):t(q,-1)})}return D(P),w(i,P),_e(S)}export{Ke as M,we as P,he as W,nt as a,ht as b,xt as g,yt as h,wt as i,Xe as u};
|