@intent-hq/web 2.385.1 → 2.386.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/assets/0.DSZNT9Vm.css +1 -0
- package/web/app/immutable/chunks/{CE70-gZI.js → -8AxW0IA.js} +3 -3
- package/web/app/immutable/chunks/{DOkArUrJ.js → -VR23WhZ.js} +1 -1
- package/web/app/immutable/chunks/{U7dpdlAf.js → 0b3rkAam.js} +1 -1
- package/web/app/immutable/chunks/{sSXTMg2P.js → 0y7aytZM.js} +1 -1
- package/web/app/immutable/chunks/{B6d1Nolc.js → 21kfe-mS.js} +1 -1
- package/web/app/immutable/chunks/{iPHmrqbo.js → 24f6N9l0.js} +1 -1
- package/web/app/immutable/chunks/{DcOkWaeN.js → 2aKRVAvL.js} +1 -1
- package/web/app/immutable/chunks/{e2ymG0j7.js → 3IpMTtMx.js} +1 -1
- package/web/app/immutable/chunks/{SbTG0nwQ.js → 3Kr2ijlK.js} +1 -1
- package/web/app/immutable/chunks/{CD-M_2xD.js → 3LCOBHm6.js} +1 -1
- package/web/app/immutable/chunks/{CTW83wJs.js → 3Qz3qAhk.js} +1 -1
- package/web/app/immutable/chunks/{KzySRhDw.js → 6SOEgr71.js} +3 -3
- package/web/app/immutable/chunks/{gU2qspu9.js → 77KTvr2w.js} +1 -1
- package/web/app/immutable/chunks/{DVwMeV9X.js → 7EQMYysM.js} +1 -1
- package/web/app/immutable/chunks/{DlU1rxYV.js → 7i0OJtNQ.js} +1 -1
- package/web/app/immutable/chunks/{B6FGs8l2.js → 8jO_MBKF.js} +1 -1
- package/web/app/immutable/chunks/{C50zlWbZ.js → 9AJtSub0.js} +1 -1
- package/web/app/immutable/chunks/{CUsqN2sK.js → 9R_52XLX.js} +1 -1
- package/web/app/immutable/chunks/{DGMrUmNq.js → A3z9XWMi.js} +1 -1
- package/web/app/immutable/chunks/{Dqd75Edx.js → B-4i031c.js} +1 -1
- package/web/app/immutable/chunks/{D7xjMCds.js → B-MjuJTx.js} +2 -2
- package/web/app/immutable/chunks/{BW1iql_y.js → B0kNPCxU.js} +1 -1
- package/web/app/immutable/chunks/{CYSndAne.js → B18ybwa0.js} +1 -1
- package/web/app/immutable/chunks/{Cj1KG0_l.js → B1xM1EBM.js} +1 -1
- package/web/app/immutable/chunks/B2LBPAIA.js +1 -0
- package/web/app/immutable/chunks/{DuAAGnM9.js → B2OS2WTh.js} +1 -1
- package/web/app/immutable/chunks/{BjlMkd10.js → B3JbrKDZ.js} +1 -1
- package/web/app/immutable/chunks/{C2F2Vd1P.js → B3OJ_2Dd.js} +1 -1
- package/web/app/immutable/chunks/{CuljOS_X.js → B4F7GG5Q.js} +1 -1
- package/web/app/immutable/chunks/{CrsbEWnE.js → B8foSZsl.js} +1 -1
- package/web/app/immutable/chunks/{deEweluJ.js → B9kUdNbG.js} +1 -1
- package/web/app/immutable/chunks/{D2hNxvgD.js → BB-hf8IY.js} +4 -4
- package/web/app/immutable/chunks/{CX4-Z2NI.js → BCFB88Wl.js} +1 -1
- package/web/app/immutable/chunks/{BVqF0sgN.js → BCVhFPNJ.js} +1 -1
- package/web/app/immutable/chunks/{CrbAS4DB.js → BCiWc-GH.js} +1 -1
- package/web/app/immutable/chunks/{BD9db4FR.js → BCuI_zgX.js} +1 -1
- package/web/app/immutable/chunks/{DVUFgbJK.js → BD7jFvJp.js} +1 -1
- package/web/app/immutable/chunks/{DxAjMnFs.js → BDbFQqI8.js} +3 -3
- package/web/app/immutable/chunks/{Che-KvdU.js → BE08e7Se.js} +1 -1
- package/web/app/immutable/chunks/{HU1Ksz8U.js → BGo6FK-0.js} +1 -1
- package/web/app/immutable/chunks/{DTwG0V2f.js → BHJpo3VA.js} +1 -1
- package/web/app/immutable/chunks/{DG0pBglL.js → BIcof04i.js} +1 -1
- package/web/app/immutable/chunks/{Clo7aK1n.js → BIkt0YE0.js} +1 -1
- package/web/app/immutable/chunks/{ada9rZfE.js → BKFxm3WK.js} +1 -1
- package/web/app/immutable/chunks/{94vL4WlW.js → BNFvOw36.js} +1 -1
- package/web/app/immutable/chunks/{DzG7lmwB.js → BNJkKc31.js} +1 -1
- package/web/app/immutable/chunks/{Cq_jjcoF.js → BOnTc4ny.js} +1 -1
- package/web/app/immutable/chunks/{BGReMCaT.js → BPDyvu9A.js} +1 -1
- package/web/app/immutable/chunks/{BWzMAxc1.js → BPpACIC2.js} +1 -1
- package/web/app/immutable/chunks/{zB9UbdEg.js → BRPJcG-m.js} +1 -1
- package/web/app/immutable/chunks/{C63WwVct.js → BRdQpeCl.js} +1 -1
- package/web/app/immutable/chunks/{DxC0zTSc.js → BUTuN2nE.js} +1 -1
- package/web/app/immutable/chunks/{CWOQ_pUA.js → BVcaPXq9.js} +1 -1
- package/web/app/immutable/chunks/{CoJyxFcH.js → BVyOECUU.js} +1 -1
- package/web/app/immutable/chunks/{DiURwJNX.js → BW2en5Js.js} +1 -1
- package/web/app/immutable/chunks/{BO8Bp7Ht.js → BWI85bGY.js} +1 -1
- package/web/app/immutable/chunks/{rXKOJqUt.js → BXHbm15d.js} +1 -1
- package/web/app/immutable/chunks/{CQMFoUkp.js → BYJh9adv.js} +1 -1
- package/web/app/immutable/chunks/{DW25Ls6A.js → BYYtBM5R.js} +1 -1
- package/web/app/immutable/chunks/{l1lBFBJz.js → Bax102l4.js} +1 -1
- package/web/app/immutable/chunks/{De0kCZ4v.js → Bb-hI5du.js} +2 -2
- package/web/app/immutable/chunks/{THqyVjkf.js → Bb8ARnaK.js} +1 -1
- package/web/app/immutable/chunks/{CJB-ebPL.js → BbWnSSTS.js} +1 -1
- package/web/app/immutable/chunks/{B0qb2Ymj.js → BbfEcBPg.js} +1 -1
- package/web/app/immutable/chunks/{CNSshwg_.js → BcYVm7io.js} +1 -1
- package/web/app/immutable/chunks/{VvLcPf2a.js → BdY8OnZP.js} +1 -1
- package/web/app/immutable/chunks/{C8qAflad.js → BdlYeRHB.js} +2 -2
- package/web/app/immutable/chunks/{CPO5_F83.js → BeUuk8D1.js} +1 -1
- package/web/app/immutable/chunks/{Da-Blgd9.js → Bf_4e4N2.js} +1 -1
- package/web/app/immutable/chunks/{BVkAOJlr.js → BhYFIrRM.js} +1 -1
- package/web/app/immutable/chunks/{CqVGtsXz.js → BhtJVlVx.js} +1 -1
- package/web/app/immutable/chunks/{Cv0wEzuo.js → Bj4j6g-o.js} +1 -1
- package/web/app/immutable/chunks/{BJO0de_7.js → BjdIR-od.js} +1 -1
- package/web/app/immutable/chunks/{CdSTecgc.js → Bk14_fvY.js} +1 -1
- package/web/app/immutable/chunks/{Bc1vJq_Z.js → BlRGZv8u.js} +1 -1
- package/web/app/immutable/chunks/{Bi_Yd73A.js → BmLlDCoW.js} +1 -1
- package/web/app/immutable/chunks/{Ex_x2wO5.js → Bn4F-JIh.js} +1 -1
- package/web/app/immutable/chunks/{Bu-RLSv9.js → BoEcbLG-.js} +1 -1
- package/web/app/immutable/chunks/{CC-IHSah.js → BolJpU8l.js} +4 -4
- package/web/app/immutable/chunks/{BwPwF85e.js → BpLxj3s3.js} +1 -1
- package/web/app/immutable/chunks/{D7Dfbf5g.js → BqCTtUhB.js} +1 -1
- package/web/app/immutable/chunks/{fVXs4sxg.js → BqrahRdk.js} +4 -4
- package/web/app/immutable/chunks/{Dval4sTX.js → BrDfJqC4.js} +1 -1
- package/web/app/immutable/chunks/{DiMo2JnB.js → BtMIAxno.js} +1 -1
- package/web/app/immutable/chunks/{Cy3lhXYa.js → BthojcF8.js} +6 -6
- package/web/app/immutable/chunks/{DtqPBHQj.js → Btst3lgy.js} +1 -1
- package/web/app/immutable/chunks/{D-rRuAXZ.js → Bu3PKqut.js} +1 -1
- package/web/app/immutable/chunks/{pomj9evG.js → Bv_0mmoe.js} +1 -1
- package/web/app/immutable/chunks/{By4iSN8L.js → BwVjpKmH.js} +1 -1
- package/web/app/immutable/chunks/{LI9J8Eor.js → BweHPPaS.js} +2 -2
- package/web/app/immutable/chunks/{418Agcsp.js → Bx7gCv2M.js} +1 -1
- package/web/app/immutable/chunks/{B8QvP_8b.js → BxU747mj.js} +1 -1
- package/web/app/immutable/chunks/{DhXcDqZX.js → ByZL9dMf.js} +1 -1
- package/web/app/immutable/chunks/{-9EwpXCb.js → C1La-Fme.js} +1 -1
- package/web/app/immutable/chunks/{CletI6Pa.js → C21Z9LLF.js} +1 -1
- package/web/app/immutable/chunks/{BgDnzAo4.js → C4M_mNFP.js} +1 -1
- package/web/app/immutable/chunks/{BXJzIaQM.js → C6Wi6O6n.js} +1 -1
- package/web/app/immutable/chunks/{L_sfch_N.js → C6afU4he.js} +1 -1
- package/web/app/immutable/chunks/{DMe_MB5T.js → C6rz0msZ.js} +1 -1
- package/web/app/immutable/chunks/{CPI5xBWX.js → C8TrySMt.js} +1 -1
- package/web/app/immutable/chunks/{DI71nFp4.js → C9ij7Z2h.js} +1 -1
- package/web/app/immutable/chunks/{D5Pfy-wQ.js → CB8gRmKb.js} +1 -1
- package/web/app/immutable/chunks/{BVl79jmM.js → CDxGu9F5.js} +1 -1
- package/web/app/immutable/chunks/{B3SHGkI_.js → CDxV78M0.js} +1 -1
- package/web/app/immutable/chunks/{DN-DN78v.js → CFB2mNds.js} +2 -2
- package/web/app/immutable/chunks/{CN-EAu8o.js → CF_a5Llj.js} +1 -1
- package/web/app/immutable/chunks/{OGqbAD_O.js → CFdI48b2.js} +1 -1
- package/web/app/immutable/chunks/{BQvwLP7I.js → CGHwi-2H.js} +1 -1
- package/web/app/immutable/chunks/{CI0C7_h-.js → CGUVvS8r.js} +1 -1
- package/web/app/immutable/chunks/CH-Qi35K.js +1 -0
- package/web/app/immutable/chunks/{BPuz5cN_.js → CIKXOyvw.js} +2 -2
- package/web/app/immutable/chunks/{4g_iHoQm.js → CIoJPvjg.js} +1 -1
- package/web/app/immutable/chunks/{qO0mYaJv.js → CJEwuNO9.js} +1 -1
- package/web/app/immutable/chunks/{Cy9hcA7q.js → CJke1tnU.js} +1 -1
- package/web/app/immutable/chunks/{XEsFBJqZ.js → CLqqc_hU.js} +1 -1
- package/web/app/immutable/chunks/{BTEoQf52.js → CM9GoLV5.js} +1 -1
- package/web/app/immutable/chunks/{C9ew0Hx2.js → COBhx_l-.js} +1 -1
- package/web/app/immutable/chunks/{DTMxJ5IC.js → COS4Sgoi.js} +2 -2
- package/web/app/immutable/chunks/{jH2J-9un.js → COSIRxZC.js} +1 -1
- package/web/app/immutable/chunks/{C6TTEdST.js → COlfJVPs.js} +4 -4
- package/web/app/immutable/chunks/{A0KsbysW.js → COsxNPUV.js} +1 -1
- package/web/app/immutable/chunks/{QRUY44Ff.js → CPWMushE.js} +1 -1
- package/web/app/immutable/chunks/{tLFaYuVN.js → CQ5BHnSj.js} +1 -1
- package/web/app/immutable/chunks/{B_75gRww.js → CRUcTVFP.js} +1 -1
- package/web/app/immutable/chunks/{C9p4fddz.js → CSb1CnpN.js} +1 -1
- package/web/app/immutable/chunks/{CzDPvHAo.js → CTTICX_5.js} +1 -1
- package/web/app/immutable/chunks/{jBG7W4tL.js → CTqRHXfu.js} +1 -1
- package/web/app/immutable/chunks/{h8JtxU_T.js → CUA9hM4m.js} +1 -1
- package/web/app/immutable/chunks/{Q2C1NT93.js → CUeOEnqq.js} +1 -1
- package/web/app/immutable/chunks/{D-KE4WZ3.js → CW979n9w.js} +1 -1
- package/web/app/immutable/chunks/{3xVgojWv.js → CY0EK8Cm.js} +3 -3
- package/web/app/immutable/chunks/{C1AUaRa8.js → CYq58ltZ.js} +1 -1
- package/web/app/immutable/chunks/{LQRHF1eM.js → CZ5zON0R.js} +1 -1
- package/web/app/immutable/chunks/{DQT1hnTe.js → C_wfHKmM.js} +1 -1
- package/web/app/immutable/chunks/{Cx0QXTIW.js → CaHWSiOY.js} +1 -1
- package/web/app/immutable/chunks/{iCWz6IE9.js → CaMRSd1-.js} +1 -1
- package/web/app/immutable/chunks/{DWa-2rkZ.js → CdGl_2eX.js} +1 -1
- package/web/app/immutable/chunks/{C8LrJXqa.js → Cerl373K.js} +1 -1
- package/web/app/immutable/chunks/{DjIQY_o5.js → CfnXjWQL.js} +1 -1
- package/web/app/immutable/chunks/ChKOG1mU.js +3 -0
- package/web/app/immutable/chunks/{CHto7_WH.js → ChOMtuod.js} +1 -1
- package/web/app/immutable/chunks/{CuPx_r7k.js → CjLfgoGI.js} +1 -1
- package/web/app/immutable/chunks/{BV4VuEnO.js → CnMzOGNL.js} +1 -1
- package/web/app/immutable/chunks/{C37ZqG4e.js → CnQVxh95.js} +1 -1
- package/web/app/immutable/chunks/{Dm-WfTCg.js → Cpgxz5sK.js} +1 -1
- package/web/app/immutable/chunks/{n5-dpvss.js → Cpw2gXhG.js} +1 -1
- package/web/app/immutable/chunks/{Do2KlQU0.js → CsilY7l9.js} +1 -1
- package/web/app/immutable/chunks/{C-zB-6G6.js → CueOVPTy.js} +1 -1
- package/web/app/immutable/chunks/{VeUh5OMZ.js → CvSLeFQo.js} +1 -1
- package/web/app/immutable/chunks/{COgn_CzG.js → CvusaaYc.js} +1 -1
- package/web/app/immutable/chunks/{BECK4OaG.js → Cwg3XF5F.js} +1 -1
- package/web/app/immutable/chunks/{CDAnHxmJ.js → CyHe7TdT.js} +1 -1
- package/web/app/immutable/chunks/{B2CniqS1.js → D22j4iWy.js} +1 -1
- package/web/app/immutable/chunks/{BSUnflvl.js → D2Tzo4Hp.js} +1 -1
- package/web/app/immutable/chunks/{ZR3wQ419.js → D5A9atQX.js} +2 -2
- package/web/app/immutable/chunks/{DNDlsdj4.js → D5evzUZd.js} +1 -1
- package/web/app/immutable/chunks/{DJPIUVkw.js → D5xlMOwU.js} +1 -1
- package/web/app/immutable/chunks/{e3_wv2e_.js → D6_ybykj.js} +1 -1
- package/web/app/immutable/chunks/{CGYPBD6G.js → D7yetF0v.js} +1 -1
- package/web/app/immutable/chunks/{D2kwjrZB.js → D9_wDL10.js} +1 -1
- package/web/app/immutable/chunks/{GP4LXuR4.js → DAI6QH7D.js} +1 -1
- package/web/app/immutable/chunks/{BLKFshyr.js → DAVG7sIL.js} +1 -1
- package/web/app/immutable/chunks/{C78AfvXn.js → DBwdk2-0.js} +1 -1
- package/web/app/immutable/chunks/{CXpEvkVR.js → DC1xYxUn.js} +1 -1
- package/web/app/immutable/chunks/{TT8yXpG-.js → DDdsJrHq.js} +1 -1
- package/web/app/immutable/chunks/{D_VvdZe2.js → DEKjIPd8.js} +1 -1
- package/web/app/immutable/chunks/{Dvi4g0xk.js → DFKO8V-Y.js} +1 -1
- package/web/app/immutable/chunks/{BSgFpkqa.js → DGdWzkgm.js} +1 -1
- package/web/app/immutable/chunks/{BVuLEX_p.js → DIQ-xR1q.js} +1 -1
- package/web/app/immutable/chunks/{DmCKwthV.js → DIWzdBfB.js} +1 -1
- package/web/app/immutable/chunks/{C5b7nimj.js → DIad5c9_.js} +1 -1
- package/web/app/immutable/chunks/{B6eTPmJH.js → DJJ2Xrlq.js} +1 -1
- package/web/app/immutable/chunks/{4PAYwk2I.js → DJb2lMGn.js} +1 -1
- package/web/app/immutable/chunks/{C2WwQCOk.js → DKupjKLn.js} +1 -1
- package/web/app/immutable/chunks/{RHSH5iZ7.js → DNDJdxKs.js} +1 -1
- package/web/app/immutable/chunks/{Dp8FVKoA.js → DOLX5oss.js} +1 -1
- package/web/app/immutable/chunks/{CmyBYYR3.js → DOZ82gYM.js} +1 -1
- package/web/app/immutable/chunks/{rcXEnwTB.js → DOir9M0E.js} +1 -1
- package/web/app/immutable/chunks/{BNV0s95-.js → DQBViT5w.js} +1 -1
- package/web/app/immutable/chunks/{Dxfvrgme.js → DQvAX2eX.js} +1 -1
- package/web/app/immutable/chunks/{CNE5cVvC.js → DSDM77x3.js} +1 -1
- package/web/app/immutable/chunks/{DZmGZ5am.js → DU1c0itA.js} +1 -1
- package/web/app/immutable/chunks/DWvCfaBg.js +1 -0
- package/web/app/immutable/chunks/{7y3Z0Q49.js → DX2U4Mz9.js} +3 -3
- package/web/app/immutable/chunks/{Cl_O0hHI.js → DXDbxM_W.js} +1 -1
- package/web/app/immutable/chunks/{CrvVM5aL.js → DY1YVoxv.js} +1 -1
- package/web/app/immutable/chunks/{8jMQM9h0.js → DY5rw8pn.js} +1 -1
- package/web/app/immutable/chunks/{DFGMgfIk.js → DZSbMOPJ.js} +2 -2
- package/web/app/immutable/chunks/{CpFDUMBH.js → DZjSAGjX.js} +1 -1
- package/web/app/immutable/chunks/Da8rtzmJ.js +1 -0
- package/web/app/immutable/chunks/{Cw-qJqDx.js → DaOKbar2.js} +2 -2
- package/web/app/immutable/chunks/{CNnF3Cms.js → DbUDL_oo.js} +1 -1
- package/web/app/immutable/chunks/{BvgjsneA.js → Dbr8gjWS.js} +1 -1
- package/web/app/immutable/chunks/{L-Sh3Ble.js → DbxqdYAO.js} +3 -3
- package/web/app/immutable/chunks/{pHBnQb5R.js → DcLVN86K.js} +1 -1
- package/web/app/immutable/chunks/{xGzY0FqC.js → DcMTwn77.js} +1 -1
- package/web/app/immutable/chunks/{DT5eV1e8.js → DdRupUfV.js} +2 -2
- package/web/app/immutable/chunks/{wiGlLVr-.js → Dde9Z_vp.js} +1 -1
- package/web/app/immutable/chunks/{BQ53265L.js → DdjeekcY.js} +1 -1
- package/web/app/immutable/chunks/{BJgwBOBz.js → Dduwpj0a.js} +1 -1
- package/web/app/immutable/chunks/{CV2tdNDf.js → De0cdeOU.js} +1 -1
- package/web/app/immutable/chunks/{CuWLpCl5.js → De2a277N.js} +1 -1
- package/web/app/immutable/chunks/{C_SKcJv7.js → DeY70dof.js} +1 -1
- package/web/app/immutable/chunks/{DSiGyv9Y.js → Df4a242o.js} +1 -1
- package/web/app/immutable/chunks/{M1XBe23f.js → DfgH7-YK.js} +1 -1
- package/web/app/immutable/chunks/{7OH6WUSt.js → DgjIVRdE.js} +1 -1
- package/web/app/immutable/chunks/{CfYZevDu.js → DgzMHcMD.js} +1 -1
- package/web/app/immutable/chunks/{DEs9kPtf.js → Dh-HeAnQ.js} +1 -1
- package/web/app/immutable/chunks/{C-L0-C2F.js → Dh438xC0.js} +2 -2
- package/web/app/immutable/chunks/{DgKpR9KC.js → DhaHSPPQ.js} +1 -1
- package/web/app/immutable/chunks/{B433f4mk.js → Di_ao8Rc.js} +1 -1
- package/web/app/immutable/chunks/{CIaruUrd.js → DjNuITHM.js} +1 -1
- package/web/app/immutable/chunks/{BSntxgH1.js → Djah0WfC.js} +1 -1
- package/web/app/immutable/chunks/{BbLh3POL.js → DlMrAlfA.js} +1 -1
- package/web/app/immutable/chunks/{C8zl7aIj.js → Dm3wAkDL.js} +1 -1
- package/web/app/immutable/chunks/{B5qiyEpH.js → DpESY8ko.js} +1 -1
- package/web/app/immutable/chunks/{B_4WsP9b.js → DpvQ3NRH.js} +1 -1
- package/web/app/immutable/chunks/{JM7CQkWC.js → Dpvv-9m3.js} +1 -1
- package/web/app/immutable/chunks/{nwO3KCpP.js → DpxbS0Pj.js} +1 -1
- package/web/app/immutable/chunks/{BIGqOuh0.js → Drf1gLyo.js} +1 -1
- package/web/app/immutable/chunks/{CxndkliV.js → DrkDJmY5.js} +1 -1
- package/web/app/immutable/chunks/{DxRojUvw.js → DsOS7N8Z.js} +1 -1
- package/web/app/immutable/chunks/{_i0M7_-r.js → Dt3xwKL6.js} +2 -2
- package/web/app/immutable/chunks/{CEEUgGO1.js → DtQHtXEW.js} +1 -1
- package/web/app/immutable/chunks/{DDb9H7X6.js → DvnO7gWT.js} +3 -3
- package/web/app/immutable/chunks/{BdEtT3Ti.js → DxWgWHgi.js} +1 -1
- package/web/app/immutable/chunks/{V6efYFFY.js → DxuwadpA.js} +1 -1
- package/web/app/immutable/chunks/{0Ipp5cFr.js → DyLERSuu.js} +1 -1
- package/web/app/immutable/chunks/{pMP23LzB.js → DyXOhKE5.js} +1 -1
- package/web/app/immutable/chunks/{BlIRL_82.js → Dyx6ysl7.js} +1 -1
- package/web/app/immutable/chunks/{CR-JVxLD.js → DzBJS0Lp.js} +1 -1
- package/web/app/immutable/chunks/{Bv_xG3nA.js → DzpuLv6U.js} +1 -1
- package/web/app/immutable/chunks/{BcKrkXju.js → E1uoF1cW.js} +1 -1
- package/web/app/immutable/chunks/{DsfORPYa.js → E8oicBhU.js} +1 -1
- package/web/app/immutable/chunks/{DV7x43jt.js → EQgYvydQ.js} +1 -1
- package/web/app/immutable/chunks/{9GO97JAL.js → FQkCsxt2.js} +1 -1
- package/web/app/immutable/chunks/{CGPajdHq.js → HcbkpXC1.js} +2 -2
- package/web/app/immutable/chunks/{BYl8t9od.js → HeVxSGdr.js} +1 -1
- package/web/app/immutable/chunks/{DRsDUO-4.js → IG43rVtJ.js} +1 -1
- package/web/app/immutable/chunks/{CAfPEsZt.js → Ksiiix3Q.js} +1 -1
- package/web/app/immutable/chunks/{DlUpt_0u.js → LdXAlc1O.js} +1 -1
- package/web/app/immutable/chunks/{44rP4fzJ.js → Ly7eBIj5.js} +1 -1
- package/web/app/immutable/chunks/{B72XM8Fm.js → MoxNukrR.js} +1 -1
- package/web/app/immutable/chunks/{C-PQQ8rb.js → Nrq0Uf9_.js} +1 -1
- package/web/app/immutable/chunks/{DPR_clFy.js → OMssb4xF.js} +1 -1
- package/web/app/immutable/chunks/{C0Zo7HuP.js → PkPZtGfM.js} +1 -1
- package/web/app/immutable/chunks/{CqUPwDgo.js → Pyf1FzKM.js} +1 -1
- package/web/app/immutable/chunks/{3qVSmuIV.js → QA00-uqv.js} +1 -1
- package/web/app/immutable/chunks/{Bs7M8kXA.js → QIFiwjW0.js} +3 -3
- package/web/app/immutable/chunks/{Dg0Tdf_A.js → TN7R9Ny0.js} +1 -1
- package/web/app/immutable/chunks/{waHi6l7h.js → TXPMw3n4.js} +1 -1
- package/web/app/immutable/chunks/{gZJn6Sk0.js → TyVpf8MX.js} +1 -1
- package/web/app/immutable/chunks/{fHygQTSC.js → UQ6MIVTw.js} +1 -1
- package/web/app/immutable/chunks/{yDmmPu6L.js → UnM4qztD.js} +1 -1
- package/web/app/immutable/chunks/{PhAbES0t.js → UqcU95a7.js} +1 -1
- package/web/app/immutable/chunks/{DLCFUd4s.js → VTJf_qPn.js} +1 -1
- package/web/app/immutable/chunks/{B8HnjSSF.js → W05hyx94.js} +1 -1
- package/web/app/immutable/chunks/{D1zX4MuR.js → XMluVOSf.js} +1 -1
- package/web/app/immutable/chunks/{BtBQ5qfh.js → Y4bYs1dr.js} +1 -1
- package/web/app/immutable/chunks/{B5tvpTFB.js → Y_tkjygB.js} +1 -1
- package/web/app/immutable/chunks/{DBH_GMOZ.js → YbqMJoDi.js} +1 -1
- package/web/app/immutable/chunks/{CRSY1kuo.js → Z8DHXl17.js} +1 -1
- package/web/app/immutable/chunks/{BZVhwNIm.js → _HPNXgkR.js} +3 -3
- package/web/app/immutable/chunks/{Bf_nrOhg.js → aixoUWDq.js} +1 -1
- package/web/app/immutable/chunks/{DtFzaymP.js → awY5HvZY.js} +1 -1
- package/web/app/immutable/chunks/{5-0LQoqd.js → bIL0xbKX.js} +1 -1
- package/web/app/immutable/chunks/{BByf3ILj.js → bojY7ttK.js} +1 -1
- package/web/app/immutable/chunks/{dmZv6JOg.js → cfiNEg68.js} +1 -1
- package/web/app/immutable/chunks/{DRqy_Wmb.js → dFhS46gw.js} +1 -1
- package/web/app/immutable/chunks/{DM1_VFfD.js → fC3yz20p.js} +1 -1
- package/web/app/immutable/chunks/{DYEwyuIx.js → h5ZeHogL.js} +1 -1
- package/web/app/immutable/chunks/{C429ZMSU.js → hRfDutUE.js} +1 -1
- package/web/app/immutable/chunks/{C-G2u0Oe.js → hstOawAs.js} +1 -1
- package/web/app/immutable/chunks/{BbuLzldI.js → i8jM24jD.js} +1 -1
- package/web/app/immutable/chunks/{DXRkYB1Y.js → ico0GHoP.js} +30 -30
- package/web/app/immutable/chunks/{Cp02CBjf.js → jyNUu-ZR.js} +1 -1
- package/web/app/immutable/chunks/{BDsciJGp.js → kAav5o2h.js} +1 -1
- package/web/app/immutable/chunks/{BV1ayWTC.js → lSLkjC_I.js} +1 -1
- package/web/app/immutable/chunks/{BuFDqZnJ.js → mRUS_S7Z.js} +1 -1
- package/web/app/immutable/chunks/{BHqp2vwo.js → maZzJmVw.js} +1 -1
- package/web/app/immutable/chunks/{BvbeTrka.js → r5JNAzEM.js} +1 -1
- package/web/app/immutable/chunks/{CXDUvPYf.js → rsUVVEzx.js} +1 -1
- package/web/app/immutable/chunks/{lTwh0Wzj.js → tHETzssD.js} +1 -1
- package/web/app/immutable/chunks/{BzSCTZkL.js → v7JbBbwR.js} +1 -1
- package/web/app/immutable/chunks/{Cp7Byf5d.js → wBNgrgMC.js} +1 -1
- package/web/app/immutable/chunks/{DX9N1RQz.js → x-RVzKqZ.js} +1 -1
- package/web/app/immutable/chunks/{BTLG1BY-.js → yMcNgg0D.js} +1 -1
- package/web/app/immutable/chunks/{BNa9zzEx.js → yqEyUNVG.js} +1 -1
- package/web/app/immutable/chunks/{LgyvMkc8.js → yy2JFRyT.js} +1 -1
- package/web/app/immutable/chunks/{7KxcPj98.js → zFAkpaJn.js} +1 -1
- package/web/app/immutable/entry/{app.BXfGjD4L.js → app.gkm8TnXW.js} +3 -3
- package/web/app/immutable/entry/start.CMMmzvCE.js +1 -0
- package/web/app/immutable/nodes/{0.CoxSTVXk.js → 0.xKtnYOA2.js} +1 -1
- package/web/app/immutable/nodes/{1.BbjU9IH_.js → 1.BMx4VsW1.js} +1 -1
- package/web/app/immutable/nodes/{10.D6wyP02T.js → 10.HyXPJR8g.js} +5 -5
- package/web/app/immutable/nodes/{11.ukc3KQLY.js → 11._cAIrch_.js} +1 -1
- package/web/app/immutable/nodes/{12.D6rxlIQy.js → 12.DOoAvwLA.js} +1 -1
- package/web/app/immutable/nodes/{13.CHYsmiD_.js → 13.Coj_sRB4.js} +1 -1
- package/web/app/immutable/nodes/{14.mG-YN9pn.js → 14.AVrz3ZLQ.js} +3 -3
- package/web/app/immutable/nodes/{15.CUWA_Nvq.js → 15.BGK-JRWm.js} +1 -1
- package/web/app/immutable/nodes/{16.BsFtzH0D.js → 16.CMkcwVoI.js} +1 -1
- package/web/app/immutable/nodes/{17.me_aOx8O.js → 17.BS5un5d0.js} +1 -1
- package/web/app/immutable/nodes/{18.BO1oZWgm.js → 18._hTG2-17.js} +1 -1
- package/web/app/immutable/nodes/{19.D9cBSCEY.js → 19.DuCFyr_N.js} +2 -2
- package/web/app/immutable/nodes/{2.pGtn3nxM.js → 2.uAqDAg4D.js} +4 -4
- package/web/app/immutable/nodes/{20.LbRPieV_.js → 20.C1pW6BvW.js} +1 -1
- package/web/app/immutable/nodes/{3.Bm-Ewkeu.js → 3.M-EbuqKW.js} +1 -1
- package/web/app/immutable/nodes/{4.bypHtb3m.js → 4.ByPZ1Nrn.js} +1 -1
- package/web/app/immutable/nodes/{5.YWphdJEW.js → 5.DKAjjuf7.js} +1 -1
- package/web/app/immutable/nodes/{6.DQRfO1Qb.js → 6.DOc_YxMK.js} +1 -1
- package/web/app/immutable/nodes/{7.b1goQuXf.js → 7.gFNAyoNX.js} +1 -1
- package/web/app/immutable/nodes/{8.BBgV9gU6.js → 8.C_Kp8pWz.js} +1 -1
- package/web/app/immutable/nodes/{9.BJdtENce.js → 9.C6HX35Sq.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/app/immutable/assets/0.BmwjvpSF.css +0 -1
- package/web/app/immutable/chunks/CCIZBeez.js +0 -1
- package/web/app/immutable/chunks/CNWb-jYE.js +0 -1
- package/web/app/immutable/chunks/Dws-34a7.js +0 -1
- package/web/app/immutable/chunks/DyXAZ9tr.js +0 -3
- package/web/app/immutable/chunks/Whej1Dge.js +0 -1
- package/web/app/immutable/entry/start.DRVSg-kr.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i,aW as l,aw as d,P as o}from"./
|
|
1
|
+
import{b as i,aW as l,aw as d,P as o}from"./BolJpU8l.js";var x=i((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),p=i((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),y=i((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),m=i((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",n)},"drawImage"),g=i((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),h=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),w=i(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{g as a,m as b,w as c,p as d,x as e,y as f,h as g,f as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as bt,bo as b,bw as _t,bq as gt,b as vt,bm as x,bs as me,br as Te}from"./Dws-34a7.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as L,ay as _,W as r,bn as It,aA as g,aD as t,bS as N,a5 as be,bH as Be,bA as _e,b_ as W,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./3SdAC2_C.js";import{i as z}from"./DLCFUd4s.js";import{g as $t}from"./C-zB-6G6.js";import{t as We}from"./D-rRuAXZ.js";import{c as S}from"./B5tvpTFB.js";import{f as Pt,s as De,b as At}from"./BD9db4FR.js";import{cK as Et,bn as Ot,aM as Ft,F as ne,aZ as Tt,aN as Bt,bo as Dt,a8 as Ge,aw as Lt}from"./CGYPBD6G.js";import{W as Nt,T as zt,G as St,C as Rt,X as Mt,J as Ht,V as Wt}from"./94vL4WlW.js";import{f as ge}from"./BIGqOuh0.js";import"./BPuz5cN_.js";import{D as Gt}from"./Dvi4g0xk.js";import{g as Vt,R as jt,k as Kt,j as Jt,i as qt,h as Ve}from"./jBG7W4tL.js";import{m as ve}from"./rXKOJqUt.js";import{c as Ut}from"./ChTqQfQN.js";import"./DcOkWaeN.js";import{Jx as je,nh as Xt,Gb as Yt}from"./4g_iHoQm.js";import{w as Zt}from"./Bqd7fdCF.js";import{i as U}from"./CL3a4Hm1.js";import{b2 as Qt,aM as er,aK as tr}from"./DN-DN78v.js";import{cB as rr}from"./SbTG0nwQ.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Wt,jetbrains:Ht,xcode:Mt};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Ke(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Le="finder",lr={id:Le,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),X=O.filter(({installed:Y,id:ye})=>Y&&!se.has(ye));return X.some(({id:Y})=>Y===Le)||se.has(Le)?X:[...X,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),mr=E("<span><!></span>"),br=E('<img class="w-4 h-4"/>'),_r=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return bt({component:wr,...O});ht(s,!0);const se=()=>me(Ue,"$installedEditors$",ie),X=()=>me(Xe,"$hiddenEditorIds$",ie),Y=()=>me(Ye,"$isWorkspaceHostLocal$",ie),ye=()=>me(qe,"$openAction",ie),[ie,Je]=gt(),le=(e,d=kt)=>{var u=L(),p=_(u);S(p,()=>jt,(te,j)=>{j(te,{get value(){return t(v).id},children:(F,D)=>{var k=L(),T=_(k);$t(T,17,d,C=>C.id,(C,c)=>{var K=L(),h=_(K);{const $=a=>{var i=L(),y=_(i);{var M=l=>{var A=dr();W(()=>De(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},m=l=>{const A=o(()=>t(c).icon);var H=L(),B=_(H);S(B,()=>t(A),(J,re)=>{re(J,{size:16})}),r(l,H)},P=l=>{{let A=o(()=>t(c).faIcon??Ke(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};z(y,l=>{t(c).iconBase64?l(M):t(c).icon?l(m,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>Vt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,M)=>{var m=pr(),P=_(m),l=oe(P,!0),A=N(P,2);{var H=B=>{var J=ur(),re=oe(J,!0);W(()=>ae(re,t(c).shortcut)),r(B,J)};z(A,B=>{t(c).shortcut&&B(H)})}W(()=>ae(l,t(c).label)),r(y,m)},$$slots:{leading:!0,default:!0}})})}r(C,K)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Ut("OpenComboButton");let I=b(s,"filePath",7),ce=b(s,"workspaceId",7,""),de=b(s,"isDirectory",7,!0),we=b(s,"workspaceFolderPath",7),xe=b(s,"class",7,""),ue=b(s,"headerText",7),Ie=b(s,"usePortal",7,!0),ke=b(s,"side",7,"bottom"),G=b(s,"variant",7,"default"),Z=b(s,"branchName",7),Ce=b(s,"compact",7,!1),$e=b(s,"embedded",7,!1),Q=b(s,"inline",7,!1),V=b(s,"iconOnly",7,!1),R=b(s,"children",7,void 0);const ze=o(()=>G()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const qe=Qt(),Ue=er(Pe),Xe=tr(),Ye=rr(Pe);let ee=Ct(!1);xt(()=>{je.dispatch(Xt())});function Ze(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Qe=Zt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,X()).map(Ze),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Dt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Z()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Bt}]:[]];return!Qe||!Y()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Z()&&(await navigator.clipboard.writeText(Z()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await U("external-editors:open-with-other",{path:d});p?.success?Be(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await U("shell:showItemInFolder",{path:d});break;case"vscode":await U("vscode:open",Ee());break;case"jetbrains":await U("jetbrains:open",Ee());break;case"xcode":await U("xcode:open",Ee());break;case"generic":default:{await U("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){je.dispatch(Yt(e)),Oe(e),Be(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return G()},set variant(e="default"){G(e),g()},get branchName(){return Z()},set branchName(e){Z(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Q()},set inline(e=!1){Q(e),g()},get iconOnly(){return V()},set iconOnly(e=!1){V(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:_t,$on:(e,d)=>vt(s,e,d)},Me=L(),ot=_(Me);{var at=e=>{var d=he(),u=_(d);{var p=j=>{var F=he(),D=_(F);S(D,()=>qt,(T,C)=>{C(T,{children:(c,K)=>{var h=he(),$=_(h);S($,()=>Kt,(a,i)=>{i(a,{get icon(){return Ge},children:(y,M)=>{var m=fr(),P=oe(m,!0);W(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,m)},$$slots:{default:!0}})});var n=N($,2);S(n,()=>Jt,(a,i)=>{i(a,{class:"w-60",children:(y,M)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=N(D,2);S(k,()=>Ve,(T,C)=>{C(T,{})}),r(j,F)};z(u,j=>{t(fe).length&&j(p)})}var te=N(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=be(d);{const p=(F,D)=>{let k=()=>(D?.()).props;var T=L(),C=_(T);{var c=n=>{var a=mr();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=be(a);We(i,R),_e(a),r(n,a)},K=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>V()&&G()!=="sidebar"?"plain":"ghost"),y=o(()=>V()?G()==="sidebar"?"icon-compact":"icon-sm":void 0),M=o(()=>V()&&G()==="sidebar"&&t(ee)),m=o(()=>!V()),P=o(()=>V()?G()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(M)},get wrapContent(){return t(m)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var H=L(),B=_(H);We(B,R),r(l,H)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ge},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=be(a);{let m=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(m)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,H)=>{var B=_r(),J=_(B);{var re=w=>{var q=br();W(()=>{De(q,"src",`data:image/png;base64,${t(v).iconBase64??""}`),De(q,"alt",t(v).label)}),r(w,q)},it=w=>{const q=o(()=>t(v).icon);var He=L(),pt=_(He);S(pt,()=>t(q),(ft,mt)=>{mt(ft,{size:14})}),r(w,He)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let q=o(()=>Ke(t(v).category));ne(w,{get icon(){return t(q)},class:"w-3.5 h-3.5 opacity-60"})}};z(J,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=N(J,2),ut=oe(dt,!0);W(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,B)},$$slots:{default:!0}})}var y=N(i,2);{var M=m=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(m,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Lt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};z(y,m=>{t(f).length>1&&m(M)})}_e(a),r(n,a)};z(C,n=>{Q()&&R()?n(c):R()?n(K,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var D=hr(),k=be(D);{var T=h=>{var $=vr(),n=oe($,!0);W(()=>ae(n,ue())),r(h,$)};z(k,h=>{ue()&&h(T)})}var C=N(k,2);{var c=h=>{var $=he(),n=_($);le(n,()=>t(fe));var a=N(n,2);S(a,()=>Ve,(i,y)=>{y(i,{})}),r(h,$)};z(C,h=>{t(fe).length&&h(c)})}var K=N(C,2);le(K,()=>t(Se)),_e(D),r(F,D)};let j=o(()=>Q()&&R()?"contents!":"");Gt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(j)},get open(){return t(ee)},set open(F){Be(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}_e(d),W(()=>Pt(d,1,`${Q()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};z(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,Me);var st=It(rt);return Je(),st}export{wr as O,sr as a,Ke as r,ir as s};
|
|
1
|
+
import{t as bt,bo as b,bw as _t,bq as gt,b as vt,bm as x,bs as me,br as Te}from"./DWvCfaBg.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as L,ay as _,W as r,bn as It,aA as g,aD as t,bS as N,a5 as be,bH as Be,bA as _e,b_ as W,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./3SdAC2_C.js";import{i as z}from"./VTJf_qPn.js";import{g as $t}from"./CueOVPTy.js";import{t as We}from"./Bu3PKqut.js";import{c as S}from"./Y_tkjygB.js";import{f as Pt,s as De,b as At}from"./BCuI_zgX.js";import{cK as Et,bn as Ot,aM as Ft,F as ne,aZ as Tt,aN as Bt,bo as Dt,a8 as Ge,aw as Lt}from"./D7yetF0v.js";import{W as Nt,T as zt,G as St,C as Rt,X as Mt,J as Ht,V as Wt}from"./BNFvOw36.js";import{f as ge}from"./Drf1gLyo.js";import"./CIKXOyvw.js";import{D as Gt}from"./DFKO8V-Y.js";import{g as Vt,R as jt,k as Kt,j as Jt,i as qt,h as Ve}from"./CTqRHXfu.js";import{m as ve}from"./BXHbm15d.js";import{c as Ut}from"./ChTqQfQN.js";import"./2aKRVAvL.js";import{Jx as je,nh as Xt,Gb as Yt}from"./CIoJPvjg.js";import{w as Zt}from"./Bqd7fdCF.js";import{i as U}from"./CL3a4Hm1.js";import{b2 as Qt,aM as er,aK as tr}from"./CFB2mNds.js";import{cB as rr}from"./3Kr2ijlK.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Wt,jetbrains:Ht,xcode:Mt};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Ke(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Le="finder",lr={id:Le,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),X=O.filter(({installed:Y,id:ye})=>Y&&!se.has(ye));return X.some(({id:Y})=>Y===Le)||se.has(Le)?X:[...X,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),mr=E("<span><!></span>"),br=E('<img class="w-4 h-4"/>'),_r=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return bt({component:wr,...O});ht(s,!0);const se=()=>me(Ue,"$installedEditors$",ie),X=()=>me(Xe,"$hiddenEditorIds$",ie),Y=()=>me(Ye,"$isWorkspaceHostLocal$",ie),ye=()=>me(qe,"$openAction",ie),[ie,Je]=gt(),le=(e,d=kt)=>{var u=L(),p=_(u);S(p,()=>jt,(te,j)=>{j(te,{get value(){return t(v).id},children:(F,D)=>{var k=L(),T=_(k);$t(T,17,d,C=>C.id,(C,c)=>{var K=L(),h=_(K);{const $=a=>{var i=L(),y=_(i);{var M=l=>{var A=dr();W(()=>De(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},m=l=>{const A=o(()=>t(c).icon);var H=L(),B=_(H);S(B,()=>t(A),(J,re)=>{re(J,{size:16})}),r(l,H)},P=l=>{{let A=o(()=>t(c).faIcon??Ke(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};z(y,l=>{t(c).iconBase64?l(M):t(c).icon?l(m,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>Vt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,M)=>{var m=pr(),P=_(m),l=oe(P,!0),A=N(P,2);{var H=B=>{var J=ur(),re=oe(J,!0);W(()=>ae(re,t(c).shortcut)),r(B,J)};z(A,B=>{t(c).shortcut&&B(H)})}W(()=>ae(l,t(c).label)),r(y,m)},$$slots:{leading:!0,default:!0}})})}r(C,K)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Ut("OpenComboButton");let I=b(s,"filePath",7),ce=b(s,"workspaceId",7,""),de=b(s,"isDirectory",7,!0),we=b(s,"workspaceFolderPath",7),xe=b(s,"class",7,""),ue=b(s,"headerText",7),Ie=b(s,"usePortal",7,!0),ke=b(s,"side",7,"bottom"),G=b(s,"variant",7,"default"),Z=b(s,"branchName",7),Ce=b(s,"compact",7,!1),$e=b(s,"embedded",7,!1),Q=b(s,"inline",7,!1),V=b(s,"iconOnly",7,!1),R=b(s,"children",7,void 0);const ze=o(()=>G()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const qe=Qt(),Ue=er(Pe),Xe=tr(),Ye=rr(Pe);let ee=Ct(!1);xt(()=>{je.dispatch(Xt())});function Ze(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Qe=Zt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,X()).map(Ze),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Dt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Z()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Bt}]:[]];return!Qe||!Y()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Z()&&(await navigator.clipboard.writeText(Z()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await U("external-editors:open-with-other",{path:d});p?.success?Be(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await U("shell:showItemInFolder",{path:d});break;case"vscode":await U("vscode:open",Ee());break;case"jetbrains":await U("jetbrains:open",Ee());break;case"xcode":await U("xcode:open",Ee());break;case"generic":default:{await U("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){je.dispatch(Yt(e)),Oe(e),Be(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return G()},set variant(e="default"){G(e),g()},get branchName(){return Z()},set branchName(e){Z(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Q()},set inline(e=!1){Q(e),g()},get iconOnly(){return V()},set iconOnly(e=!1){V(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:_t,$on:(e,d)=>vt(s,e,d)},Me=L(),ot=_(Me);{var at=e=>{var d=he(),u=_(d);{var p=j=>{var F=he(),D=_(F);S(D,()=>qt,(T,C)=>{C(T,{children:(c,K)=>{var h=he(),$=_(h);S($,()=>Kt,(a,i)=>{i(a,{get icon(){return Ge},children:(y,M)=>{var m=fr(),P=oe(m,!0);W(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,m)},$$slots:{default:!0}})});var n=N($,2);S(n,()=>Jt,(a,i)=>{i(a,{class:"w-60",children:(y,M)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=N(D,2);S(k,()=>Ve,(T,C)=>{C(T,{})}),r(j,F)};z(u,j=>{t(fe).length&&j(p)})}var te=N(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=be(d);{const p=(F,D)=>{let k=()=>(D?.()).props;var T=L(),C=_(T);{var c=n=>{var a=mr();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=be(a);We(i,R),_e(a),r(n,a)},K=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>V()&&G()!=="sidebar"?"plain":"ghost"),y=o(()=>V()?G()==="sidebar"?"icon-compact":"icon-sm":void 0),M=o(()=>V()&&G()==="sidebar"&&t(ee)),m=o(()=>!V()),P=o(()=>V()?G()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(M)},get wrapContent(){return t(m)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var H=L(),B=_(H);We(B,R),r(l,H)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ge},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=be(a);{let m=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(m)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,H)=>{var B=_r(),J=_(B);{var re=w=>{var q=br();W(()=>{De(q,"src",`data:image/png;base64,${t(v).iconBase64??""}`),De(q,"alt",t(v).label)}),r(w,q)},it=w=>{const q=o(()=>t(v).icon);var He=L(),pt=_(He);S(pt,()=>t(q),(ft,mt)=>{mt(ft,{size:14})}),r(w,He)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let q=o(()=>Ke(t(v).category));ne(w,{get icon(){return t(q)},class:"w-3.5 h-3.5 opacity-60"})}};z(J,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=N(J,2),ut=oe(dt,!0);W(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,B)},$$slots:{default:!0}})}var y=N(i,2);{var M=m=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(m,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Lt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};z(y,m=>{t(f).length>1&&m(M)})}_e(a),r(n,a)};z(C,n=>{Q()&&R()?n(c):R()?n(K,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var D=hr(),k=be(D);{var T=h=>{var $=vr(),n=oe($,!0);W(()=>ae(n,ue())),r(h,$)};z(k,h=>{ue()&&h(T)})}var C=N(k,2);{var c=h=>{var $=he(),n=_($);le(n,()=>t(fe));var a=N(n,2);S(a,()=>Ve,(i,y)=>{y(i,{})}),r(h,$)};z(C,h=>{t(fe).length&&h(c)})}var K=N(C,2);le(K,()=>t(Se)),_e(D),r(F,D)};let j=o(()=>Q()&&R()?"contents!":"");Gt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(j)},get open(){return t(ee)},set open(F){Be(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}_e(d),W(()=>Pt(d,1,`${Q()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};z(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,Me);var st=It(rt);return Je(),st}export{wr as O,sr as a,Ke as r,ir as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as y,bo as i,bw as _,b as x}from"./
|
|
1
|
+
import{t as y,bo as i,bw as _,b as x}from"./DWvCfaBg.js";import{bs as C,bk as z,bH as I,a7 as N,ay as E,aD as S,W as c,bn as k,bV as w,aA as d,a5 as A,bA as P,aB as q}from"./3SdAC2_C.js";import{i as B}from"./VTJf_qPn.js";import{t as D}from"./Bu3PKqut.js";import{e as H}from"./CueOVPTy.js";var M=q("<div><!></div>");function V(l,a){if(new.target)return y({component:V,...l});C(a,!0);let n=i(a,"target",7,"body"),o=i(a,"zIndex",7,10),s=i(a,"children",7),t,m=w(!1);z(()=>{let e;return typeof n()=="string"?e=document.querySelector(n()):e=n(),e||(e=document.body),t=document.createElement("div"),t.className="portal-container",t.style.zIndex=String(o()),t.style.position="relative",e.appendChild(t),I(m,!0),()=>{t&&t.parentNode&&t.parentNode.removeChild(t)}});function f(e){return t&&t.appendChild(e),{destroy(){e&&e.parentNode&&e.parentNode.removeChild(e)}}}var u={get target(){return n()},set target(e="body"){n(e),d()},get zIndex(){return o()},set zIndex(e=10){o(e),d()},get children(){return s()},set children(e){s(e),d()},$set:_,$on:(e,r)=>x(a,e,r)},p=N(),g=E(p);{var v=e=>{var r=M(),b=A(r);D(b,s),P(r),H(r,h=>f?.(h)),c(e,r)};B(g,e=>{S(m)&&e(v)})}return c(l,p),k(u)}export{V as P};
|
|
@@ -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"./DWvCfaBg.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"./CIoJPvjg.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"./3Kr2ijlK.js";import{C as zt}from"./De2a277N.js";import{V as qt}from"./DGdWzkgm.js";import{bT as Jt,bN as Ot,b8 as Qt}from"./awY5HvZY.js";import{i as L,n as V}from"./H2jLkRRS.js";import{af as jt}from"./CY0EK8Cm.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,4 +1,4 @@
|
|
|
1
|
-
import{p as tt}from"./
|
|
1
|
+
import{p as tt}from"./CaHWSiOY.js";import{U as et,aZ as at,V as rt,a_ as it,Y as nt,b0 as ot,b as l,ay as E,X as st,q as lt,aX as ct,aH as dt,d as I,B as gt,r as ht,aJ as pt,O as ft}from"./BolJpU8l.js";import{p as ut}from"./C4M_mNFP.js";import{o as mt}from"./hRfDutUE.js";var vt=ft.pie,R={sections:new Map,showData:!1},b=R.sections,H=R.showData,St=structuredClone(vt),xt=l(()=>structuredClone(St),"getConfig"),wt=l(()=>{b=new Map,H=R.showData,ht()},"clear"),$t=l(({label:t,value:a})=>{if(a<0)throw new Error(`"${t}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);b.has(t)||(b.set(t,a),E.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),Ct=l(()=>b,"getSections"),yt=l(t=>{H=t},"setShowData"),Dt=l(()=>H,"getShowData"),U={getConfig:xt,clear:wt,setDiagramTitle:ot,getDiagramTitle:nt,setAccTitle:it,getAccTitle:rt,setAccDescription:at,getAccDescription:et,addSection:$t,getSections:Ct,setShowData:yt,getShowData:Dt},bt=l((t,a)=>{tt(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),Tt={parse:l(async t=>{const a=await ut("pie",t);E.debug(a),bt(a,U)},"parse")},At=l(t=>`
|
|
2
2
|
.pieCircle{
|
|
3
3
|
stroke: ${t.pieStrokeColor};
|
|
4
4
|
stroke-width : ${t.pieStrokeWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as r}from"./
|
|
1
|
+
import{_ as r}from"./DWvCfaBg.js";const _={andromeeda:()=>r(()=>import("./dzT1arR_.js"),[],import.meta.url),"aurora-x":()=>r(()=>import("./B7pmKBD2.js"),[],import.meta.url),"ayu-dark":()=>r(()=>import("./BBURKmLH.js"),[],import.meta.url),"ayu-light":()=>r(()=>import("./DwHC-by_.js"),[],import.meta.url),"ayu-mirage":()=>r(()=>import("./DKqT1wVu.js"),[],import.meta.url),"catppuccin-frappe":()=>r(()=>import("./B24fvTzB.js"),[],import.meta.url),"catppuccin-latte":()=>r(()=>import("./CdPbmwTc.js"),[],import.meta.url),"catppuccin-macchiato":()=>r(()=>import("./BDHlNkT6.js"),[],import.meta.url),"catppuccin-mocha":()=>r(()=>import("./Byn9ySyY.js"),[],import.meta.url),"dark-plus":()=>r(()=>import("./CvX4Ty3s.js"),[],import.meta.url),dracula:()=>r(()=>import("./DmZ-8HRb.js"),[],import.meta.url),"dracula-soft":()=>r(()=>import("./B2_S_wA_.js"),[],import.meta.url),"everforest-dark":()=>r(()=>import("./0rLcFJpw.js"),[],import.meta.url),"everforest-light":()=>r(()=>import("./BTfPW4aP.js"),[],import.meta.url),"github-dark":()=>r(()=>import("./BVmx9f8d.js"),[],import.meta.url),"github-dark-default":()=>r(()=>import("./Cobl_g8l.js"),[],import.meta.url),"github-dark-dimmed":()=>r(()=>import("./Bqq4Z-hR.js"),[],import.meta.url),"github-dark-high-contrast":()=>r(()=>import("./CC6_60ke.js"),[],import.meta.url),"github-light":()=>r(()=>import("./DJPhTNJ5.js"),[],import.meta.url),"github-light-default":()=>r(()=>import("./DqR1o2IW.js"),[],import.meta.url),"github-light-high-contrast":()=>r(()=>import("./D_1gu_AN.js"),[],import.meta.url),"gruvbox-dark-hard":()=>r(()=>import("./C9F1V87v.js"),[],import.meta.url),"gruvbox-dark-medium":()=>r(()=>import("./C1_GCade.js"),[],import.meta.url),"gruvbox-dark-soft":()=>r(()=>import("./D3ZqCmv2.js"),[],import.meta.url),"gruvbox-light-hard":()=>r(()=>import("./BRlNxIYS.js"),[],import.meta.url),"gruvbox-light-medium":()=>r(()=>import("./BHRQ01Wa.js"),[],import.meta.url),"gruvbox-light-soft":()=>r(()=>import("./CRV2jOqR.js"),[],import.meta.url),horizon:()=>r(()=>import("./4OJY8TlL.js"),[],import.meta.url),"horizon-bright":()=>r(()=>import("./DKG-69X0.js"),[],import.meta.url),houston:()=>r(()=>import("./DI9CDuY-.js"),[],import.meta.url),"kanagawa-dragon":()=>r(()=>import("./D-96pmLZ.js"),[],import.meta.url),"kanagawa-lotus":()=>r(()=>import("./Bh8QPcxh.js"),[],import.meta.url),"kanagawa-wave":()=>r(()=>import("./CtcU2r-L.js"),[],import.meta.url),laserwave:()=>r(()=>import("./CyPsI7TV.js"),[],import.meta.url),"light-plus":()=>r(()=>import("./DLxye2Gs.js"),[],import.meta.url),"material-theme":()=>r(()=>import("./CJcwlkxy.js"),[],import.meta.url),"material-theme-darker":()=>r(()=>import("./BGZ_5sXo.js"),[],import.meta.url),"material-theme-lighter":()=>r(()=>import("./CjcM5chE.js"),[],import.meta.url),"material-theme-ocean":()=>r(()=>import("./bB53CPUr.js"),[],import.meta.url),"material-theme-palenight":()=>r(()=>import("./CEO02sJ-.js"),[],import.meta.url),"min-dark":()=>r(()=>import("./BMCe6Sa9.js"),[],import.meta.url),"min-light":()=>r(()=>import("./Bm6kkJDi.js"),[],import.meta.url),monokai:()=>r(()=>import("./Dk2XPowy.js"),[],import.meta.url),"night-owl":()=>r(()=>import("./han1E7M5.js"),[],import.meta.url),"night-owl-light":()=>r(()=>import("./Cl1yPzT6.js"),[],import.meta.url),nord:()=>r(()=>import("./DDTeIukr.js"),[],import.meta.url),"one-dark-pro":()=>r(()=>import("./DF6Wh4HV.js"),[],import.meta.url),"one-light":()=>r(()=>import("./DtuA6F_V.js"),[],import.meta.url),"pierre-dark":()=>r(()=>import("./DF50kJRQ.js"),[],import.meta.url),"pierre-dark-protanopia-deuteranopia":()=>r(()=>import("./Cgqy1jHS.js"),[],import.meta.url),"pierre-dark-soft":()=>r(()=>import("./BCUYmEtF.js"),[],import.meta.url),"pierre-dark-tritanopia":()=>r(()=>import("./CncZof3Q.js"),[],import.meta.url),"pierre-dark-vibrant":()=>r(()=>import("./BI1wPMzu.js"),[],import.meta.url),"pierre-light":()=>r(()=>import("./DXZG9etP.js"),[],import.meta.url),"pierre-light-protanopia-deuteranopia":()=>r(()=>import("./BTq7x1tZ.js"),[],import.meta.url),"pierre-light-soft":()=>r(()=>import("./BwL5JwZL.js"),[],import.meta.url),"pierre-light-tritanopia":()=>r(()=>import("./sLHrbAeH.js"),[],import.meta.url),"pierre-light-vibrant":()=>r(()=>import("./D99YW89A.js"),[],import.meta.url),plastic:()=>r(()=>import("./BA_LeTlt.js"),[],import.meta.url),poimandres:()=>r(()=>import("./oP3Jw5ph.js"),[],import.meta.url),red:()=>r(()=>import("./C7ljw3yD.js"),[],import.meta.url),"rose-pine":()=>r(()=>import("./N6Nc_Qgp.js"),[],import.meta.url),"rose-pine-dawn":()=>r(()=>import("./CjcyLH22.js"),[],import.meta.url),"rose-pine-moon":()=>r(()=>import("./XvifxlJo.js"),[],import.meta.url),"slack-dark":()=>r(()=>import("./CXWcruur.js"),[],import.meta.url),"slack-ochin":()=>r(()=>import("./j9-5xOqG.js"),[],import.meta.url),"snazzy-light":()=>r(()=>import("./NrfPMqkH.js"),[],import.meta.url),"solarized-dark":()=>r(()=>import("./CYqaUSYq.js"),[],import.meta.url),"solarized-light":()=>r(()=>import("./Ws7Bvbxh.js"),[],import.meta.url),"synthwave-84":()=>r(()=>import("./ev3Pj0YU.js"),[],import.meta.url),"tokyo-night":()=>r(()=>import("./DcOUfspC.js"),[],import.meta.url),vesper:()=>r(()=>import("./XBdv8qqG.js"),[],import.meta.url),"vitesse-black":()=>r(()=>import("./Dax7f9LR.js"),[],import.meta.url),"vitesse-dark":()=>r(()=>import("./CC8sM7O4.js"),[],import.meta.url),"vitesse-light":()=>r(()=>import("./DngnB9Ap.js"),[],import.meta.url)};export{_ as themes};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var dt=Object.defineProperty;var qe=n=>{throw TypeError(n)};var ct=(n,e,r)=>e in n?dt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r;var y=(n,e,r)=>ct(n,typeof e!="symbol"?e+"":e,r),ut=(n,e,r)=>e.has(n)||qe("Cannot "+r);var l=(n,e,r)=>(ut(n,e,"read from private field"),r?r.call(n):e.get(n)),O=(n,e,r)=>e.has(n)?qe("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,r);import{t as W,bo as i,bw as X,b as j,bp as L,br as Ne}from"./Dws-34a7.js";import{bV as M,aD as c,bH as b,c9 as N,bo as be,bs as q,a7 as A,ay as x,W as C,bn as H,aA as a,a5 as Ce,bf as Q,bA as Oe,aB as Y,bS as He,aG as Ye,br as ht,ca as pt,bI as Ze}from"./3SdAC2_C.js";import{i as z}from"./DLCFUd4s.js";import{t as E}from"./D-rRuAXZ.js";import{b as Pe}from"./BD9db4FR.js";import{h as gt,a2 as Qe,av as _,a$ as Te,aU as ft,aF as vt,an as _e,ay as mt,aG as $e,aq as Ie,a6 as yt,l as bt,az as R,aQ as B,aS as k,I as Ct,n as Ot,j as Pt,ad as _t,a9 as Ve}from"./BIGqOuh0.js";import{c as wt}from"./B5tvpTFB.js";import{s as St}from"./C63WwVct.js";import{f as xt,k as Nt}from"./Bc1vJq_Z.js";const It=mt({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),U=new gt("Dialog.Root | AlertDialog.Root");var te,re,ne,oe,se,ie,ae,le,de,ce,ue;const Be=class Be{constructor(e,r){y(this,"opts");O(this,te,M(null));O(this,re,M(null));O(this,ne,M(null));O(this,oe,M(null));O(this,se,M(void 0));O(this,ie,M(void 0));O(this,ae,M(void 0));O(this,le,M(void 0));O(this,de,M(null));O(this,ce,M(0));y(this,"depth");y(this,"parent");y(this,"contentPresence");y(this,"overlayPresence");y(this,"getBitsAttr",e=>It.getAttr(e,this.opts.variant.current));O(this,ue,N(()=>({"data-state":vt(this.opts.open.current)})));this.opts=e,this.parent=r,this.depth=r?r.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Qe({ref:_(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Qe({ref:_(()=>this.overlayNode),open:this.opts.open,enabled:!0}),Te(()=>this.opts.open.current,s=>{this.parent&&(s?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),ft(()=>{this.opts.open.current&&this.parent?.decrementNested()})}static create(e){const r=U.getOr(null);return U.set(new Be(e,r))}get triggerNode(){return c(l(this,te))}set triggerNode(e){b(l(this,te),e,!0)}get contentNode(){return c(l(this,re))}set contentNode(e){b(l(this,re),e,!0)}get overlayNode(){return c(l(this,ne))}set overlayNode(e){b(l(this,ne),e,!0)}get descriptionNode(){return c(l(this,oe))}set descriptionNode(e){b(l(this,oe),e,!0)}get contentId(){return c(l(this,se))}set contentId(e){b(l(this,se),e,!0)}get titleId(){return c(l(this,ie))}set titleId(e){b(l(this,ie),e,!0)}get triggerId(){return c(l(this,ae))}set triggerId(e){b(l(this,ae),e,!0)}get descriptionId(){return c(l(this,le))}set descriptionId(e){b(l(this,le),e,!0)}get cancelNode(){return c(l(this,de))}set cancelNode(e){b(l(this,de),e,!0)}get nestedOpenCount(){return c(l(this,ce))}set nestedOpenCount(e){b(l(this,ce),e,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}get sharedProps(){return c(l(this,ue))}set sharedProps(e){b(l(this,ue),e)}};te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,se=new WeakMap,ie=new WeakMap,ae=new WeakMap,le=new WeakMap,de=new WeakMap,ce=new WeakMap,ue=new WeakMap;let Fe=Be;var he;const Ke=class Ke{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,he,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Ke(e,U.get())}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===yt||e.key===bt)&&(e.preventDefault(),this.root.handleClose())}get props(){return c(l(this,he))}set props(e){b(l(this,he),e)}};he=new WeakMap;let ke=Ke;var pe;const ze=class ze{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,pe,N(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.titleId=this.opts.id.current,this.attachment=_e(this.opts.ref),Te.pre(()=>this.opts.id.current,s=>{this.root.titleId=s})}static create(e){return new ze(e,U.get())}get props(){return c(l(this,pe))}set props(e){b(l(this,pe),e)}};pe=new WeakMap;let Ee=ze;var ge;const Ge=class Ge{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,ge,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.descriptionId=this.opts.id.current,this.attachment=_e(this.opts.ref,s=>{this.root.descriptionNode=s}),Te.pre(()=>this.opts.id.current,s=>{this.root.descriptionId=s})}static create(e){return new Ge(e,U.get())}get props(){return c(l(this,ge))}set props(e){b(l(this,ge),e)}};ge=new WeakMap;let De=Ge;var fe,ve;const Ue=class Ue{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,fe,N(()=>({open:this.root.opts.open.current})));O(this,ve,N(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>{this.root.contentNode=s,this.root.contentId=s?.id})}static create(e){return new Ue(e,U.get())}get snippetProps(){return c(l(this,fe))}set snippetProps(e){b(l(this,fe),e)}get props(){return c(l(this,ve))}set props(e){b(l(this,ve),e)}get shouldRender(){return this.root.contentPresence.shouldRender}};fe=new WeakMap,ve=new WeakMap;let Me=Ue;var me,ye;const We=class We{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,me,N(()=>({open:this.root.opts.open.current})));O(this,ye,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>this.root.overlayNode=s)}static create(e){return new We(e,U.get())}get snippetProps(){return c(l(this,me))}set snippetProps(e){b(l(this,me),e)}get props(){return c(l(this,ye))}set props(e){b(l(this,ye),e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};me=new WeakMap,ye=new WeakMap;let Re=We;var At=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),Ft=Y("<div><!></div>");function kt(n,e){const r=be();if(new.target)return W({component:kt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"ref",15,null),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"level",7,2),w=L(e,At);const p=Ee.create({id:_(()=>s()),level:_(()=>m()),ref:_(()=>g(),t=>g(t))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(t=R(r)){s(t),a()},get ref(){return g()},set ref(t=null){g(t),a()},get child(){return u()},set child(t){u(t),a()},get children(){return v()},set children(t){v(t),a()},get level(){return m()},set level(t=2){m(t),a()},$set:X,$on:(t,h)=>j(e,t,h)},P=A(),F=x(P);{var I=t=>{var h=A(),D=x(h);E(D,u,()=>({props:c(f)})),C(t,h)},o=t=>{var h=Ft();Pe(h,()=>({...c(f)}));var D=Ce(h);E(D,()=>v()??Q),Oe(h),C(t,h)};z(F,t=>{u()?t(I):t(o,-1)})}return C(n,P),H(S)}var Et=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),Dt=Y("<div><!></div>");function Mt(n,e){const r=be();if(new.target)return W({component:Mt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"forceMount",7,!1),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"ref",15,null),w=L(e,Et);const p=Re.create({id:_(()=>s()),ref:_(()=>m(),o=>m(o))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(o=R(r)){s(o),a()},get forceMount(){return g()},set forceMount(o=!1){g(o),a()},get child(){return u()},set child(o){u(o),a()},get children(){return v()},set children(o){v(o),a()},get ref(){return m()},set ref(o=null){m(o),a()},$set:X,$on:(o,t)=>j(e,o,t)},P=A(),F=x(P);{var I=o=>{var t=A(),h=x(t);{var D=K=>{var T=A(),d=x(T);{let V=N(()=>({props:B(c(f)),...p.snippetProps}));E(d,u,()=>c(V))}C(K,T)},we=K=>{var T=Dt();Pe(T,V=>({...V}),[()=>B(c(f))]);var d=Ce(T);E(d,()=>v()??Q,()=>p.snippetProps),Oe(T),C(K,T)};z(h,K=>{u()?K(D):K(we,-1)})}C(o,t)};z(F,o=>{(p.shouldRender||g())&&o(I)})}return C(n,P),H(S)}var Rt=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),Tt=Y("<div><!></div>");function Bt(n,e){const r=be();if(new.target)return W({component:Bt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=L(e,Rt);const w=De.create({id:_(()=>s()),ref:_(()=>v(),o=>v(o))}),p=N(()=>B(m,w.props));var f={get id(){return s()},set id(o=R(r)){s(o),a()},get children(){return g()},set children(o){g(o),a()},get child(){return u()},set child(o){u(o),a()},get ref(){return v()},set ref(o=null){v(o),a()},$set:X,$on:(o,t)=>j(e,o,t)},S=A(),P=x(S);{var F=o=>{var t=A(),h=x(t);E(h,u,()=>({props:c(p)})),C(o,t)},I=o=>{var t=Tt();Pe(t,()=>({...c(p)}));var h=Ce(t);E(h,()=>g()??Q),Oe(t),C(o,t)};z(P,o=>{u()?o(F):o(I,-1)})}return C(n,S),H(f)}function et(n,e){if(new.target)return W({component:et,...n});q(e,!0);let r=i(e,"open",15,!1),s=i(e,"onOpenChange",7,k),g=i(e,"onOpenChangeComplete",7,k),u=i(e,"children",7);Fe.create({variant:_(()=>"dialog"),open:_(()=>r(),p=>{r(p),s()(p)}),onOpenChangeComplete:_(()=>g())});var v={get open(){return r()},set open(p=!1){r(p),a()},get onOpenChange(){return s()},set onOpenChange(p=k){s(p),a()},get onOpenChangeComplete(){return g()},set onOpenChangeComplete(p=k){g(p),a()},get children(){return u()},set children(p){u(p),a()},$set:X,$on:(p,f)=>j(e,p,f)},m=A(),w=x(m);return E(w,()=>u()??Q),C(n,m),H(v)}var Kt=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),zt=Y("<button><!></button>");function Gt(n,e){const r=be();if(new.target)return W({component:Gt,...n});q(e,!0);let s=i(e,"children",7),g=i(e,"child",7),u=i(e,"id",23,()=>R(r)),v=i(e,"ref",15,null),m=i(e,"disabled",7,!1),w=L(e,Kt);const p=ke.create({variant:_(()=>"close"),id:_(()=>u()),ref:_(()=>v(),t=>v(t)),disabled:_(()=>!!m())}),f=N(()=>B(w,p.props));var S={get children(){return s()},set children(t){s(t),a()},get child(){return g()},set child(t){g(t),a()},get id(){return u()},set id(t=R(r)){u(t),a()},get ref(){return v()},set ref(t=null){v(t),a()},get disabled(){return m()},set disabled(t=!1){m(t),a()},$set:X,$on:(t,h)=>j(e,t,h)},P=A(),F=x(P);{var I=t=>{var h=A(),D=x(h);E(D,g,()=>({props:c(f)})),C(t,h)},o=t=>{var h=zt();Pe(h,()=>({...c(f)}));var D=Ce(h);E(D,()=>s()??Q),Oe(h),C(t,h)};z(F,t=>{g()?t(I):t(o,-1)})}return C(n,P),H(S)}var Ut=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]),Wt=Y("<!> <!>",1),Xt=Y("<!> <div><!></div>",1);function jt(n,e){const r=be();if(new.target)return W({component:jt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=i(e,"forceMount",7,!1),w=i(e,"onCloseAutoFocus",7,k),p=i(e,"onOpenAutoFocus",7,k),f=i(e,"onEscapeKeydown",7,k),S=i(e,"onInteractOutside",7,k),P=i(e,"trapFocus",7,!0),F=i(e,"preventScroll",7,!0),I=i(e,"restoreScrollDelay",7,null),o=L(e,Ut);const t=Me.create({id:_(()=>s()),ref:_(()=>v(),d=>v(d))}),h=N(()=>B(o,t.props));var D={get id(){return s()},set id(d=R(r)){s(d),a()},get children(){return g()},set children(d){g(d),a()},get child(){return u()},set child(d){u(d),a()},get ref(){return v()},set ref(d=null){v(d),a()},get forceMount(){return m()},set forceMount(d=!1){m(d),a()},get onCloseAutoFocus(){return w()},set onCloseAutoFocus(d=k){w(d),a()},get onOpenAutoFocus(){return p()},set onOpenAutoFocus(d=k){p(d),a()},get onEscapeKeydown(){return f()},set onEscapeKeydown(d=k){f(d),a()},get onInteractOutside(){return S()},set onInteractOutside(d=k){S(d),a()},get trapFocus(){return P()},set trapFocus(d=!0){P(d),a()},get preventScroll(){return F()},set preventScroll(d=!0){F(d),a()},get restoreScrollDelay(){return I()},set restoreScrollDelay(d=null){I(d),a()},$set:X,$on:(d,V)=>j(e,d,V)},we=A(),K=x(we);{var T=d=>{Ct(d,{get ref(){return t.opts.ref},loop:!0,get trapFocus(){return P()},get enabled(){return t.root.opts.open.current},get onOpenAutoFocus(){return p()},get onCloseAutoFocus(){return w()},focusScope:(nt,ot)=>{let Xe=()=>(ot?.()).props;Ot(nt,Ne(()=>c(h),{get enabled(){return t.root.opts.open.current},get ref(){return t.opts.ref},onEscapeKeydown:Se=>{f()(Se),!Se.defaultPrevented&&t.root.handleClose()},children:(Se,Lt)=>{Pt(Se,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},onInteractOutside:xe=>{S()(xe),!xe.defaultPrevented&&t.root.handleClose()},children:(xe,Yt)=>{_t(xe,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},children:(st,Zt)=>{var je=A(),it=x(je);{var at=J=>{var Z=Wt(),$=x(Z);{var ee=G=>{Ve(G,{get preventScroll(){return F()},get restoreScrollDelay(){return I()}})};z($,G=>{t.root.opts.open.current&&G(ee)})}var Ae=He($,2);{let G=N(()=>({props:B(c(h),Xe()),...t.snippetProps}));E(Ae,u,()=>c(G))}C(J,Z)},lt=J=>{var Z=Xt(),$=x(Z);Ve($,{get preventScroll(){return F()}});var ee=He($,2);Pe(ee,G=>({...G}),[()=>B(c(h),Xe())]);var Ae=Ce(ee);E(Ae,()=>g()??Q),Oe(ee),C(J,Z)};z(it,J=>{u()?J(at):J(lt,-1)})}C(st,je)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};z(K,d=>{(t.shouldRender||m())&&d(T)})}return C(n,we),H(D)}const tt=Symbol("overlay-open"),rt=Symbol("overlay-static"),Je={tier:"moderate",x:0,y:0,scale:1,opacity:0},Le={tier:"slow",x:0,y:8,scale:.97,opacity:0},qt={top:{x:0,y:"-100%"},right:{x:"100%",y:0},bottom:{x:0,y:"100%"},left:{x:"-100%",y:0}},dr={backdrop:{enter:Je,exit:Je},dialog:{enter:Le,exit:Le},sheet(n){const e={tier:"slow",scale:1,opacity:1,...qt[n]};return{enter:e,exit:e}}};function Ht(n){Ze(tt,n)}function cr(){const n=Ye(tt);if(!n)throw new Error("Dialog or Sheet Content must be nested inside its Root.");return n}function Qt(n){Ze(rt,n)}function ur(){return Ye(rt)??(()=>!1)}function hr(n){let e=M(ht(n()));return pt(()=>{if(n()){b(e,!0);return}if(!c(e))return;const r=window.setTimeout(()=>b(e,!1),xt(Nt.slow));return()=>window.clearTimeout(r)}),{get mounted(){return c(e)},finishExit(){n()||b(e,!1)}}}var Vt=new Set(["$$slots","$$events","$$legacy","open","staticPosition","children","onOpenChange"]);function Jt(n,e){if(new.target)return W({component:Jt,...n});q(e,!0);let r=i(e,"open",15,!1),s=i(e,"staticPosition",7,!1),g=i(e,"children",7),u=i(e,"onOpenChange",7),v=L(e,Vt);Ht(()=>r()),Qt(()=>s()),St(()=>{r(!1),u()?.(!1)});var m={get open(){return r()},set open(f=!1){r(f),a()},get staticPosition(){return s()},set staticPosition(f=!1){s(f),a()},get children(){return g()},set children(f){g(f),a()},get onOpenChange(){return u()},set onOpenChange(f){u(f),a()},$set:X,$on:(f,S)=>j(e,f,S)},w=A(),p=x(w);return wt(p,()=>et,(f,S)=>{S(f,Ne({get onOpenChange(){return u()}},()=>v,{get open(){return r()},set open(P){r(P)},children:(P,F)=>{var I=A(),o=x(I);E(o,()=>g()??Q),C(P,I)},$$slots:{default:!0}}))}),C(n,w),H(m)}export{Gt as D,Jt as O,jt as a,Bt as b,Mt as c,kt as d,hr as e,ur as f,dr as o,cr as u};
|
|
1
|
+
var dt=Object.defineProperty;var qe=n=>{throw TypeError(n)};var ct=(n,e,r)=>e in n?dt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r;var y=(n,e,r)=>ct(n,typeof e!="symbol"?e+"":e,r),ut=(n,e,r)=>e.has(n)||qe("Cannot "+r);var l=(n,e,r)=>(ut(n,e,"read from private field"),r?r.call(n):e.get(n)),O=(n,e,r)=>e.has(n)?qe("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,r);import{t as W,bo as i,bw as X,b as j,bp as L,br as Ne}from"./DWvCfaBg.js";import{bV as M,aD as c,bH as b,c9 as N,bo as be,bs as q,a7 as A,ay as x,W as C,bn as H,aA as a,a5 as Ce,bf as Q,bA as Oe,aB as Y,bS as He,aG as Ye,br as ht,ca as pt,bI as Ze}from"./3SdAC2_C.js";import{i as z}from"./VTJf_qPn.js";import{t as E}from"./Bu3PKqut.js";import{b as Pe}from"./BCuI_zgX.js";import{h as gt,a2 as Qe,av as _,a$ as Te,aU as ft,aF as vt,an as _e,ay as mt,aG as $e,aq as Ie,a6 as yt,l as bt,az as R,aQ as B,aS as k,I as Ct,n as Ot,j as Pt,ad as _t,a9 as Ve}from"./Drf1gLyo.js";import{c as wt}from"./Y_tkjygB.js";import{s as St}from"./BRdQpeCl.js";import{f as xt,k as Nt}from"./BlRGZv8u.js";const It=mt({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),U=new gt("Dialog.Root | AlertDialog.Root");var te,re,ne,oe,se,ie,ae,le,de,ce,ue;const Be=class Be{constructor(e,r){y(this,"opts");O(this,te,M(null));O(this,re,M(null));O(this,ne,M(null));O(this,oe,M(null));O(this,se,M(void 0));O(this,ie,M(void 0));O(this,ae,M(void 0));O(this,le,M(void 0));O(this,de,M(null));O(this,ce,M(0));y(this,"depth");y(this,"parent");y(this,"contentPresence");y(this,"overlayPresence");y(this,"getBitsAttr",e=>It.getAttr(e,this.opts.variant.current));O(this,ue,N(()=>({"data-state":vt(this.opts.open.current)})));this.opts=e,this.parent=r,this.depth=r?r.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Qe({ref:_(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Qe({ref:_(()=>this.overlayNode),open:this.opts.open,enabled:!0}),Te(()=>this.opts.open.current,s=>{this.parent&&(s?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),ft(()=>{this.opts.open.current&&this.parent?.decrementNested()})}static create(e){const r=U.getOr(null);return U.set(new Be(e,r))}get triggerNode(){return c(l(this,te))}set triggerNode(e){b(l(this,te),e,!0)}get contentNode(){return c(l(this,re))}set contentNode(e){b(l(this,re),e,!0)}get overlayNode(){return c(l(this,ne))}set overlayNode(e){b(l(this,ne),e,!0)}get descriptionNode(){return c(l(this,oe))}set descriptionNode(e){b(l(this,oe),e,!0)}get contentId(){return c(l(this,se))}set contentId(e){b(l(this,se),e,!0)}get titleId(){return c(l(this,ie))}set titleId(e){b(l(this,ie),e,!0)}get triggerId(){return c(l(this,ae))}set triggerId(e){b(l(this,ae),e,!0)}get descriptionId(){return c(l(this,le))}set descriptionId(e){b(l(this,le),e,!0)}get cancelNode(){return c(l(this,de))}set cancelNode(e){b(l(this,de),e,!0)}get nestedOpenCount(){return c(l(this,ce))}set nestedOpenCount(e){b(l(this,ce),e,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}get sharedProps(){return c(l(this,ue))}set sharedProps(e){b(l(this,ue),e)}};te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,se=new WeakMap,ie=new WeakMap,ae=new WeakMap,le=new WeakMap,de=new WeakMap,ce=new WeakMap,ue=new WeakMap;let Fe=Be;var he;const Ke=class Ke{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,he,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Ke(e,U.get())}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===yt||e.key===bt)&&(e.preventDefault(),this.root.handleClose())}get props(){return c(l(this,he))}set props(e){b(l(this,he),e)}};he=new WeakMap;let ke=Ke;var pe;const ze=class ze{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,pe,N(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.titleId=this.opts.id.current,this.attachment=_e(this.opts.ref),Te.pre(()=>this.opts.id.current,s=>{this.root.titleId=s})}static create(e){return new ze(e,U.get())}get props(){return c(l(this,pe))}set props(e){b(l(this,pe),e)}};pe=new WeakMap;let Ee=ze;var ge;const Ge=class Ge{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,ge,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.descriptionId=this.opts.id.current,this.attachment=_e(this.opts.ref,s=>{this.root.descriptionNode=s}),Te.pre(()=>this.opts.id.current,s=>{this.root.descriptionId=s})}static create(e){return new Ge(e,U.get())}get props(){return c(l(this,ge))}set props(e){b(l(this,ge),e)}};ge=new WeakMap;let De=Ge;var fe,ve;const Ue=class Ue{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,fe,N(()=>({open:this.root.opts.open.current})));O(this,ve,N(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>{this.root.contentNode=s,this.root.contentId=s?.id})}static create(e){return new Ue(e,U.get())}get snippetProps(){return c(l(this,fe))}set snippetProps(e){b(l(this,fe),e)}get props(){return c(l(this,ve))}set props(e){b(l(this,ve),e)}get shouldRender(){return this.root.contentPresence.shouldRender}};fe=new WeakMap,ve=new WeakMap;let Me=Ue;var me,ye;const We=class We{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,me,N(()=>({open:this.root.opts.open.current})));O(this,ye,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>this.root.overlayNode=s)}static create(e){return new We(e,U.get())}get snippetProps(){return c(l(this,me))}set snippetProps(e){b(l(this,me),e)}get props(){return c(l(this,ye))}set props(e){b(l(this,ye),e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};me=new WeakMap,ye=new WeakMap;let Re=We;var At=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),Ft=Y("<div><!></div>");function kt(n,e){const r=be();if(new.target)return W({component:kt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"ref",15,null),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"level",7,2),w=L(e,At);const p=Ee.create({id:_(()=>s()),level:_(()=>m()),ref:_(()=>g(),t=>g(t))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(t=R(r)){s(t),a()},get ref(){return g()},set ref(t=null){g(t),a()},get child(){return u()},set child(t){u(t),a()},get children(){return v()},set children(t){v(t),a()},get level(){return m()},set level(t=2){m(t),a()},$set:X,$on:(t,h)=>j(e,t,h)},P=A(),F=x(P);{var I=t=>{var h=A(),D=x(h);E(D,u,()=>({props:c(f)})),C(t,h)},o=t=>{var h=Ft();Pe(h,()=>({...c(f)}));var D=Ce(h);E(D,()=>v()??Q),Oe(h),C(t,h)};z(F,t=>{u()?t(I):t(o,-1)})}return C(n,P),H(S)}var Et=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),Dt=Y("<div><!></div>");function Mt(n,e){const r=be();if(new.target)return W({component:Mt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"forceMount",7,!1),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"ref",15,null),w=L(e,Et);const p=Re.create({id:_(()=>s()),ref:_(()=>m(),o=>m(o))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(o=R(r)){s(o),a()},get forceMount(){return g()},set forceMount(o=!1){g(o),a()},get child(){return u()},set child(o){u(o),a()},get children(){return v()},set children(o){v(o),a()},get ref(){return m()},set ref(o=null){m(o),a()},$set:X,$on:(o,t)=>j(e,o,t)},P=A(),F=x(P);{var I=o=>{var t=A(),h=x(t);{var D=K=>{var T=A(),d=x(T);{let V=N(()=>({props:B(c(f)),...p.snippetProps}));E(d,u,()=>c(V))}C(K,T)},we=K=>{var T=Dt();Pe(T,V=>({...V}),[()=>B(c(f))]);var d=Ce(T);E(d,()=>v()??Q,()=>p.snippetProps),Oe(T),C(K,T)};z(h,K=>{u()?K(D):K(we,-1)})}C(o,t)};z(F,o=>{(p.shouldRender||g())&&o(I)})}return C(n,P),H(S)}var Rt=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),Tt=Y("<div><!></div>");function Bt(n,e){const r=be();if(new.target)return W({component:Bt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=L(e,Rt);const w=De.create({id:_(()=>s()),ref:_(()=>v(),o=>v(o))}),p=N(()=>B(m,w.props));var f={get id(){return s()},set id(o=R(r)){s(o),a()},get children(){return g()},set children(o){g(o),a()},get child(){return u()},set child(o){u(o),a()},get ref(){return v()},set ref(o=null){v(o),a()},$set:X,$on:(o,t)=>j(e,o,t)},S=A(),P=x(S);{var F=o=>{var t=A(),h=x(t);E(h,u,()=>({props:c(p)})),C(o,t)},I=o=>{var t=Tt();Pe(t,()=>({...c(p)}));var h=Ce(t);E(h,()=>g()??Q),Oe(t),C(o,t)};z(P,o=>{u()?o(F):o(I,-1)})}return C(n,S),H(f)}function et(n,e){if(new.target)return W({component:et,...n});q(e,!0);let r=i(e,"open",15,!1),s=i(e,"onOpenChange",7,k),g=i(e,"onOpenChangeComplete",7,k),u=i(e,"children",7);Fe.create({variant:_(()=>"dialog"),open:_(()=>r(),p=>{r(p),s()(p)}),onOpenChangeComplete:_(()=>g())});var v={get open(){return r()},set open(p=!1){r(p),a()},get onOpenChange(){return s()},set onOpenChange(p=k){s(p),a()},get onOpenChangeComplete(){return g()},set onOpenChangeComplete(p=k){g(p),a()},get children(){return u()},set children(p){u(p),a()},$set:X,$on:(p,f)=>j(e,p,f)},m=A(),w=x(m);return E(w,()=>u()??Q),C(n,m),H(v)}var Kt=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),zt=Y("<button><!></button>");function Gt(n,e){const r=be();if(new.target)return W({component:Gt,...n});q(e,!0);let s=i(e,"children",7),g=i(e,"child",7),u=i(e,"id",23,()=>R(r)),v=i(e,"ref",15,null),m=i(e,"disabled",7,!1),w=L(e,Kt);const p=ke.create({variant:_(()=>"close"),id:_(()=>u()),ref:_(()=>v(),t=>v(t)),disabled:_(()=>!!m())}),f=N(()=>B(w,p.props));var S={get children(){return s()},set children(t){s(t),a()},get child(){return g()},set child(t){g(t),a()},get id(){return u()},set id(t=R(r)){u(t),a()},get ref(){return v()},set ref(t=null){v(t),a()},get disabled(){return m()},set disabled(t=!1){m(t),a()},$set:X,$on:(t,h)=>j(e,t,h)},P=A(),F=x(P);{var I=t=>{var h=A(),D=x(h);E(D,g,()=>({props:c(f)})),C(t,h)},o=t=>{var h=zt();Pe(h,()=>({...c(f)}));var D=Ce(h);E(D,()=>s()??Q),Oe(h),C(t,h)};z(F,t=>{g()?t(I):t(o,-1)})}return C(n,P),H(S)}var Ut=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]),Wt=Y("<!> <!>",1),Xt=Y("<!> <div><!></div>",1);function jt(n,e){const r=be();if(new.target)return W({component:jt,...n});q(e,!0);let s=i(e,"id",23,()=>R(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=i(e,"forceMount",7,!1),w=i(e,"onCloseAutoFocus",7,k),p=i(e,"onOpenAutoFocus",7,k),f=i(e,"onEscapeKeydown",7,k),S=i(e,"onInteractOutside",7,k),P=i(e,"trapFocus",7,!0),F=i(e,"preventScroll",7,!0),I=i(e,"restoreScrollDelay",7,null),o=L(e,Ut);const t=Me.create({id:_(()=>s()),ref:_(()=>v(),d=>v(d))}),h=N(()=>B(o,t.props));var D={get id(){return s()},set id(d=R(r)){s(d),a()},get children(){return g()},set children(d){g(d),a()},get child(){return u()},set child(d){u(d),a()},get ref(){return v()},set ref(d=null){v(d),a()},get forceMount(){return m()},set forceMount(d=!1){m(d),a()},get onCloseAutoFocus(){return w()},set onCloseAutoFocus(d=k){w(d),a()},get onOpenAutoFocus(){return p()},set onOpenAutoFocus(d=k){p(d),a()},get onEscapeKeydown(){return f()},set onEscapeKeydown(d=k){f(d),a()},get onInteractOutside(){return S()},set onInteractOutside(d=k){S(d),a()},get trapFocus(){return P()},set trapFocus(d=!0){P(d),a()},get preventScroll(){return F()},set preventScroll(d=!0){F(d),a()},get restoreScrollDelay(){return I()},set restoreScrollDelay(d=null){I(d),a()},$set:X,$on:(d,V)=>j(e,d,V)},we=A(),K=x(we);{var T=d=>{Ct(d,{get ref(){return t.opts.ref},loop:!0,get trapFocus(){return P()},get enabled(){return t.root.opts.open.current},get onOpenAutoFocus(){return p()},get onCloseAutoFocus(){return w()},focusScope:(nt,ot)=>{let Xe=()=>(ot?.()).props;Ot(nt,Ne(()=>c(h),{get enabled(){return t.root.opts.open.current},get ref(){return t.opts.ref},onEscapeKeydown:Se=>{f()(Se),!Se.defaultPrevented&&t.root.handleClose()},children:(Se,Lt)=>{Pt(Se,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},onInteractOutside:xe=>{S()(xe),!xe.defaultPrevented&&t.root.handleClose()},children:(xe,Yt)=>{_t(xe,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},children:(st,Zt)=>{var je=A(),it=x(je);{var at=J=>{var Z=Wt(),$=x(Z);{var ee=G=>{Ve(G,{get preventScroll(){return F()},get restoreScrollDelay(){return I()}})};z($,G=>{t.root.opts.open.current&&G(ee)})}var Ae=He($,2);{let G=N(()=>({props:B(c(h),Xe()),...t.snippetProps}));E(Ae,u,()=>c(G))}C(J,Z)},lt=J=>{var Z=Xt(),$=x(Z);Ve($,{get preventScroll(){return F()}});var ee=He($,2);Pe(ee,G=>({...G}),[()=>B(c(h),Xe())]);var Ae=Ce(ee);E(Ae,()=>g()??Q),Oe(ee),C(J,Z)};z(it,J=>{u()?J(at):J(lt,-1)})}C(st,je)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};z(K,d=>{(t.shouldRender||m())&&d(T)})}return C(n,we),H(D)}const tt=Symbol("overlay-open"),rt=Symbol("overlay-static"),Je={tier:"moderate",x:0,y:0,scale:1,opacity:0},Le={tier:"slow",x:0,y:8,scale:.97,opacity:0},qt={top:{x:0,y:"-100%"},right:{x:"100%",y:0},bottom:{x:0,y:"100%"},left:{x:"-100%",y:0}},dr={backdrop:{enter:Je,exit:Je},dialog:{enter:Le,exit:Le},sheet(n){const e={tier:"slow",scale:1,opacity:1,...qt[n]};return{enter:e,exit:e}}};function Ht(n){Ze(tt,n)}function cr(){const n=Ye(tt);if(!n)throw new Error("Dialog or Sheet Content must be nested inside its Root.");return n}function Qt(n){Ze(rt,n)}function ur(){return Ye(rt)??(()=>!1)}function hr(n){let e=M(ht(n()));return pt(()=>{if(n()){b(e,!0);return}if(!c(e))return;const r=window.setTimeout(()=>b(e,!1),xt(Nt.slow));return()=>window.clearTimeout(r)}),{get mounted(){return c(e)},finishExit(){n()||b(e,!1)}}}var Vt=new Set(["$$slots","$$events","$$legacy","open","staticPosition","children","onOpenChange"]);function Jt(n,e){if(new.target)return W({component:Jt,...n});q(e,!0);let r=i(e,"open",15,!1),s=i(e,"staticPosition",7,!1),g=i(e,"children",7),u=i(e,"onOpenChange",7),v=L(e,Vt);Ht(()=>r()),Qt(()=>s()),St(()=>{r(!1),u()?.(!1)});var m={get open(){return r()},set open(f=!1){r(f),a()},get staticPosition(){return s()},set staticPosition(f=!1){s(f),a()},get children(){return g()},set children(f){g(f),a()},get onOpenChange(){return u()},set onOpenChange(f){u(f),a()},$set:X,$on:(f,S)=>j(e,f,S)},w=A(),p=x(w);return wt(p,()=>et,(f,S)=>{S(f,Ne({get onOpenChange(){return u()}},()=>v,{get open(){return r()},set open(P){r(P)},children:(P,F)=>{var I=A(),o=x(I);E(o,()=>g()??Q),C(P,I)},$$slots:{default:!0}}))}),C(n,w),H(m)}export{Gt as D,Jt as O,jt as a,Bt as b,Mt as c,kt as d,hr as e,ur as f,dr as o,cr as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as R,bo as r,bm as T,bw as U,b as X}from"./
|
|
1
|
+
import{t as R,bo as r,bm as T,bw as U,b as X}from"./DWvCfaBg.js";import{bs as Y,ca as L,bj as Z,aw as $,$ as ee,a5 as te,ay as q,bS as ne,a7 as j,bf as N,W as m,aD as f,c9 as re,bA as oe,bH as ae,b_ as se,bn as le,bV as ie,aA as o,aB as W}from"./3SdAC2_C.js";import{t as V}from"./Bu3PKqut.js";import{c as S}from"./Y_tkjygB.js";import{f as ue}from"./BCuI_zgX.js";import{b as ge}from"./Dn334wJv.js";import{q as ce,l as de,d as me,M as fe}from"./CTqRHXfu.js";import"./CdGl_2eX.js";let l=null;var pe=W("<!> <!>",1),Ce=W("<div><!></div>");function be(A,t){if(new.target)return R({component:be,...A});Y(t,!0);let n=r(t,"open",15,!1),p=r(t,"align",7,"start"),C=r(t,"side",7,"bottom"),b=r(t,"portal",7,!0),_=r(t,"collisionPadding",7,8),h=r(t,"alignIconColumn",7,!0),v=r(t,"trigger",7),M=r(t,"content",7),w=r(t,"contentClass",7,""),P=r(t,"subContentClass",7),x=r(t,"contentMaxHeight",7),y=r(t,"onOpenChangeComplete",7),D=r(t,"class",7,""),c=ie(null);function z(){const e=n();queueMicrotask(()=>{n()===e&&n(!e)})}function s(){n(!1)}function F(e){if(!n()||e.button!==0)return;const a=e.target;a instanceof Element&&(f(c)?.contains(a)||a.closest('[role="menu"]')||(s(),a.closest("[data-dropdown-menu-trigger]")||queueMicrotask(()=>{n()||f(c)?.querySelector("[data-dropdown-menu-trigger]")?.focus()})))}L(()=>{if(!n()){l===s&&(l=null);return}const e=l;l=s,e&&e!==s&&e()}),L(()=>{if(n())return ce(()=>!1)}),Z(()=>{l===s&&(l=null)});var G={get open(){return n()},set open(e=!1){n(e),o()},get align(){return p()},set align(e="start"){p(e),o()},get side(){return C()},set side(e="bottom"){C(e),o()},get portal(){return b()},set portal(e=!0){b(e),o()},get collisionPadding(){return _()},set collisionPadding(e=8){_(e),o()},get alignIconColumn(){return h()},set alignIconColumn(e=!0){h(e),o()},get trigger(){return v()},set trigger(e){v(e),o()},get content(){return M()},set content(e){M(e),o()},get contentClass(){return w()},set contentClass(e=""){w(e),o()},get subContentClass(){return P()},set subContentClass(e){P(e),o()},get contentMaxHeight(){return x()},set contentMaxHeight(e){x(e),o()},get onOpenChangeComplete(){return y()},set onOpenChangeComplete(e){y(e),o()},get class(){return D()},set class(e=""){D(e),o()},$set:U,$on:(e,a)=>X(t,e,a)},i=Ce();$("pointerdown",ee,F);var J=te(i);return S(J,()=>fe,(e,a)=>{a(e,{get onOpenChangeComplete(){return y()},get open(){return n()},set open(H){n(H)},children:(H,_e)=>{var E=pe(),B=q(E);{const I=(u,g)=>{let O=()=>(g?.()).props;var k=j(),d=q(k);V(d,()=>v()??N,()=>({toggle:z,open:n(),props:O()})),m(u,k)};S(B,()=>de,(u,g)=>{g(u,{child:I,$$slots:{child:!0}})})}var K=ne(B,2);{let I=re(()=>T.ui_dropdownMenu_ariaLabel());S(K,()=>me,(u,g)=>{g(u,{get align(){return p()},get side(){return C()},get portal(){return b()},get collisionPadding(){return _()},get alignIconColumn(){return h()},get subContentClass(){return P()},preventScroll:!1,get class(){return w()},get maxHeight(){return x()},get"aria-label"(){return f(I)},children:(O,k)=>{var d=j(),Q=q(d);V(Q,()=>M()??N,()=>({close:s})),m(O,d)},$$slots:{default:!0}})})}m(H,E)},$$slots:{default:!0}})}),oe(i),ge(i,e=>ae(c,e),()=>f(c)),se(()=>ue(i,1,`relative inline-block ${D()??""}`)),m(A,i),le(G)}export{be as D};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as be,bo as a,bm as u,bw as pe,b as me}from"./
|
|
1
|
+
import{t as be,bo as a,bm as u,bw as pe,b as me}from"./DWvCfaBg.js";import{bs as xe,a7 as w,ay as c,W as o,bn as Ee,aA as n,bS as E,aD as O,bH as Se,a5 as Te,bA as Pe,c9 as ie,aB as de,bV as ke,be as S,b$ as T,b_ as P,bO as k}from"./3SdAC2_C.js";import{i as m}from"./VTJf_qPn.js";import{c as v}from"./Y_tkjygB.js";import{b as Ce}from"./BCuI_zgX.js";import{F as De,cA as Fe,be as We,ab as Le,a9 as Oe,a5 as Me,aU as ze,ce as Ae}from"./D7yetF0v.js";import{f as Ve}from"./Drf1gLyo.js";import"./CIKXOyvw.js";import{l as ye,d as Ie,M as Ue,c as C}from"./CTqRHXfu.js";import"./CdGl_2eX.js";var Be=de("<!> <!> <!> <!> <!> <!>",1),He=de("<span><!></span>"),Ne=de("<!> <!>",1);function je(ge,r){if(new.target)return be({component:je,...ge});xe(r,!0);const fe=e=>{var h=Be(),M=c(h);{var se=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return We},get checked(){return X()},closeOnSelect:!1,get onCheckedChange(){return Y()},children:(f,L)=>{S();var l=T();P(()=>k(l,R())),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(M,t=>{Q()&&t(se)})}var z=E(M,2);{var D=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Le},get checked(){return $()},closeOnSelect:!1,get onCheckedChange(){return ee()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_allFilesExpanded_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(z,t=>{Z()&&t(D)})}var le=E(z,2);{var A=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Oe},get checked(){return y()},closeOnSelect:!1,get onCheckedChange(){return I()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_foldUnchanged_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(le,t=>{V()&&t(A)})}var F=E(le,2);{var oe=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Me},get checked(){return B()},closeOnSelect:!1,get onCheckedChange(){return H()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_wrapLines_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(F,t=>{U()&&t(oe)})}var x=E(F,2);{var b=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return ze},get checked(){return j()},closeOnSelect:!1,get onCheckedChange(){return q()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_splitView_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(x,t=>{N()&&t(b)})}var p=E(x,2);{var W=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Ae},get checked(){return J()},closeOnSelect:!1,get onCheckedChange(){return K()},children:(f,L)=>{S();var l=T();P(_=>k(l,_),[()=>u.ui_viewSettings_diffIndicators_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(p,t=>{G()&&t(W)})}o(e,h)};let V=a(r,"showFold",7,!0),y=a(r,"foldEnabled",7,!1),I=a(r,"onToggleFold",7),U=a(r,"showWrap",7,!0),B=a(r,"wrapEnabled",7,!1),H=a(r,"onToggleWrap",7),N=a(r,"showSplit",7,!0),j=a(r,"splitEnabled",7,!1),q=a(r,"onToggleSplit",7),G=a(r,"showDiff",7,!1),J=a(r,"diffEnabled",7,!1),K=a(r,"onToggleDiff",7),Q=a(r,"showPreview",7,!1),R=a(r,"previewLabel",23,()=>u.ui_viewSettings_markdownPreview_label()),X=a(r,"previewEnabled",7,!1),Y=a(r,"onTogglePreview",7),Z=a(r,"showExpand",7,!1),$=a(r,"expanded",7,!1),ee=a(r,"onToggleExpand",7),te=a(r,"class",7,""),re=a(r,"size",7,"xs"),ae=a(r,"embedded",7,!1),ne=ke(!1);const ce={xs:"icon-xs",sm:"icon-sm",md:"icon"};var _e={get showFold(){return V()},set showFold(e=!0){V(e),n()},get foldEnabled(){return y()},set foldEnabled(e=!1){y(e),n()},get onToggleFold(){return I()},set onToggleFold(e){I(e),n()},get showWrap(){return U()},set showWrap(e=!0){U(e),n()},get wrapEnabled(){return B()},set wrapEnabled(e=!1){B(e),n()},get onToggleWrap(){return H()},set onToggleWrap(e){H(e),n()},get showSplit(){return N()},set showSplit(e=!0){N(e),n()},get splitEnabled(){return j()},set splitEnabled(e=!1){j(e),n()},get onToggleSplit(){return q()},set onToggleSplit(e){q(e),n()},get showDiff(){return G()},set showDiff(e=!1){G(e),n()},get diffEnabled(){return J()},set diffEnabled(e=!1){J(e),n()},get onToggleDiff(){return K()},set onToggleDiff(e){K(e),n()},get showPreview(){return Q()},set showPreview(e=!1){Q(e),n()},get previewLabel(){return R()},set previewLabel(e=u.ui_viewSettings_markdownPreview_label()){R(e),n()},get previewEnabled(){return X()},set previewEnabled(e=!1){X(e),n()},get onTogglePreview(){return Y()},set onTogglePreview(e){Y(e),n()},get showExpand(){return Z()},set showExpand(e=!1){Z(e),n()},get expanded(){return $()},set expanded(e=!1){$(e),n()},get onToggleExpand(){return ee()},set onToggleExpand(e){ee(e),n()},get class(){return te()},set class(e=""){te(e),n()},get size(){return re()},set size(e="xs"){re(e),n()},get embedded(){return ae()},set embedded(e=!1){ae(e),n()},$set:pe,$on:(e,h)=>me(r,e,h)},ue=w(),ve=c(ue);{var we=e=>{fe(e)},he=e=>{var h=w(),M=c(h);v(M,()=>Ue,(se,z)=>{z(se,{get open(){return O(ne)},set open(D){Se(ne,D,!0)},children:(D,le)=>{var A=Ne(),F=c(A);{const x=(b,p)=>{let W=()=>(p?.()).props;var t=He();Ce(t,()=>({class:"contents",...W()}));var s=Te(t);{let i=ie(()=>u.ui_viewSettings_trigger_tooltip()),d=ie(()=>u.ui_viewSettings_trigger_tooltip());Ve(s,{variant:"ghost-light",get size(){return ce[re()]},get tooltip(){return O(i)},tooltipSide:"bottom",get"aria-label"(){return O(d)},get"aria-expanded"(){return O(ne)},get class(){return te()},"data-testid":"view-settings-trigger",children:(g,f)=>{De(g,{get icon(){return Fe},size:"xs"})},$$slots:{default:!0}})}Pe(t),o(b,t)};v(F,()=>ye,(b,p)=>{p(b,{child:x,$$slots:{child:!0}})})}var oe=E(F,2);{let x=ie(()=>u.ui_dropdownMenu_ariaLabel());v(oe,()=>Ie,(b,p)=>{p(b,{align:"end",class:"w-56 p-3!",get"aria-label"(){return O(x)},children:(W,t)=>{fe(W)},$$slots:{default:!0}})})}o(D,A)},$$slots:{default:!0}})}),o(e,h)};m(ve,e=>{ae()?e(we):e(he,-1)})}return o(ge,ue),Ee(_e)}export{je as V};
|