@intent-hq/web 2.334.3 → 2.334.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/intent-web.mjs +4 -0
- package/package.json +1 -1
- package/web/app/immutable/chunks/{B912rMNR.js → -TOEU8_A.js} +1 -1
- package/web/app/immutable/chunks/-cH4Kg6N.js +271 -0
- package/web/app/immutable/chunks/1hAIZvxV.js +1 -0
- package/web/app/immutable/chunks/{bWqn_R6a.js → 41-5FPAW.js} +1 -1
- package/web/app/immutable/chunks/{rJUllCO_.js → 50HPeG9s.js} +1 -1
- package/web/app/immutable/chunks/{B-4znbWr.js → 5VMy_i47.js} +1 -1
- package/web/app/immutable/chunks/{DBhGb_Ln.js → 66MF_whg.js} +1 -1
- package/web/app/immutable/chunks/{D8RjiNFi.js → B--DS5uB.js} +1 -1
- package/web/app/immutable/chunks/{BGmE7S8e.js → B-Y3a_F8.js} +1 -1
- package/web/app/immutable/chunks/{CCOrMVtA.js → B1mjFyJY.js} +3 -3
- package/web/app/immutable/chunks/{JIf-ri8o.js → B25gpTlR.js} +7 -7
- package/web/app/immutable/chunks/{BCaN323R.js → B2MOO6xN.js} +1 -1
- package/web/app/immutable/chunks/{BHtY6ESy.js → B2g0crjj.js} +1 -1
- package/web/app/immutable/chunks/{QxmoFbx9.js → B3fQCNI5.js} +1 -1
- package/web/app/immutable/chunks/{CrHvmPQ7.js → B4USm-wY.js} +1 -1
- package/web/app/immutable/chunks/{BtpLmNi5.js → B5PFzC2T.js} +1 -1
- package/web/app/immutable/chunks/{DY1wP2k5.js → B8IlgGpJ.js} +2 -2
- package/web/app/immutable/chunks/{obZ2a9yR.js → B8gqvCgY.js} +1 -1
- package/web/app/immutable/chunks/{jPHMDY20.js → BAJMpiJG.js} +2 -2
- package/web/app/immutable/chunks/{BFmeDjr6.js → BAnLxjCI.js} +1 -1
- package/web/app/immutable/chunks/{BGoB55YD.js → BB8HM8Ay.js} +1 -1
- package/web/app/immutable/chunks/{WtMABcqO.js → BBQmqbzc.js} +2 -2
- package/web/app/immutable/chunks/{qh5NvcGx.js → BC2HtpIa.js} +1 -1
- package/web/app/immutable/chunks/{Co39i4D_.js → BCF9Fm7Q.js} +3 -3
- package/web/app/immutable/chunks/{CWKtbi5E.js → BCGyPRue.js} +1 -1
- package/web/app/immutable/chunks/{D32hPhdk.js → BCvW5fLL.js} +1 -1
- package/web/app/immutable/chunks/{C1o4etfa.js → BD9hiuYU.js} +1 -1
- package/web/app/immutable/chunks/{TwOG2jW7.js → BI3Qf00U.js} +1 -1
- package/web/app/immutable/chunks/{BObyhEvF.js → BMSasEAE.js} +1 -1
- package/web/app/immutable/chunks/{CgKLWzRK.js → BOE4Qfjf.js} +1 -1
- package/web/app/immutable/chunks/{BpytSwck.js → BOSe_KRq.js} +1 -1
- package/web/app/immutable/chunks/{D5Fs_hsG.js → BOWbyG8Q.js} +1 -1
- package/web/app/immutable/chunks/{DquYyo5r.js → BRmUBbbw.js} +1 -1
- package/web/app/immutable/chunks/{DUMOrivW.js → BUpQz-Qr.js} +1 -1
- package/web/app/immutable/chunks/{D2X1yeHE.js → BVA72xzt.js} +1 -1
- package/web/app/immutable/chunks/{DxT48JWz.js → BVVMn1l6.js} +1 -1
- package/web/app/immutable/chunks/{0IkOcvfJ.js → BWJ-0D-2.js} +1 -1
- package/web/app/immutable/chunks/{D2HiAf4f.js → BWpYhzs2.js} +1 -1
- package/web/app/immutable/chunks/{Dx1-1ztE.js → BYSg53cw.js} +1 -1
- package/web/app/immutable/chunks/{wwXPdVUm.js → BYddvidz.js} +1 -1
- package/web/app/immutable/chunks/{DPnZkhsu.js → BZGUu0nU.js} +3 -3
- package/web/app/immutable/chunks/{BequUoOf.js → Ba7P2HkQ.js} +1 -1
- package/web/app/immutable/chunks/{C29Sz8Eb.js → BbOFhOMi.js} +1 -1
- package/web/app/immutable/chunks/{CMZSUqQp.js → BbWjr_LM.js} +1 -1
- package/web/app/immutable/chunks/{CQrOkYTr.js → Bbj-7Bri.js} +1 -1
- package/web/app/immutable/chunks/{CWR6--Dq.js → BcBl1qMn.js} +2 -2
- package/web/app/immutable/chunks/{BpNgI678.js → BdpYl7Gv.js} +2 -2
- package/web/app/immutable/chunks/{BSR6aHSL.js → BfL2wXdk.js} +1 -1
- package/web/app/immutable/chunks/{Db3n1wC9.js → Bfwh7fx_.js} +1 -1
- package/web/app/immutable/chunks/{DaNtBioc.js → Bgmz76v7.js} +1 -1
- package/web/app/immutable/chunks/{aUs_qmPG.js → BiWS3oN6.js} +2 -2
- package/web/app/immutable/chunks/{BARxRXsX.js → Bj6JKTal.js} +1 -1
- package/web/app/immutable/chunks/{C7c_HqY-.js → BmywI7Lw.js} +1 -1
- package/web/app/immutable/chunks/{DiF0fpUd.js → BnZxq056.js} +1 -1
- package/web/app/immutable/chunks/{BupUzFbt.js → BnsMMXeG.js} +1 -1
- package/web/app/immutable/chunks/{BbSfUzNJ.js → Bny-l-GH.js} +1 -1
- package/web/app/immutable/chunks/{D8Xo7ebv.js → BpLDGdQv.js} +1 -1
- package/web/app/immutable/chunks/{BVT3kXik.js → BrB3whqv.js} +1 -1
- package/web/app/immutable/chunks/{CHs7x3NU.js → BrH3hKEJ.js} +1 -1
- package/web/app/immutable/chunks/{CshRaRo1.js → Bs3DdycY.js} +1 -1
- package/web/app/immutable/chunks/{DxJU8PfF.js → Bsy-6OEk.js} +1 -1
- package/web/app/immutable/chunks/{DHxo7JaE.js → Bt0YZiXp.js} +1 -1
- package/web/app/immutable/chunks/{CQyqfCr-.js → BvK0-XNr.js} +1 -1
- package/web/app/immutable/chunks/{B1RNPPnR.js → BvO0fAmb.js} +1 -1
- package/web/app/immutable/chunks/{7vX_zhDt.js → BvZf2Y4o.js} +1 -1
- package/web/app/immutable/chunks/{2qetztQU.js → BvwTVYo5.js} +1 -1
- package/web/app/immutable/chunks/{Ds8B9oQ5.js → BwgDMBNS.js} +1 -1
- package/web/app/immutable/chunks/BwwEJ73s.js +1 -0
- package/web/app/immutable/chunks/{wpJJDATB.js → BwxmdpQk.js} +1 -1
- package/web/app/immutable/chunks/{BjuFNGmO.js → BxmfBtHG.js} +1 -1
- package/web/app/immutable/chunks/{B9zRktrl.js → Bxnl9yMf.js} +1 -1
- package/web/app/immutable/chunks/{CcmNsa21.js → BzP4gCLt.js} +1 -1
- package/web/app/immutable/chunks/{BpaYHJ-9.js → C0IuX8Tw.js} +1 -1
- package/web/app/immutable/chunks/{Cp8jLuzv.js → C0fLKaB9.js} +1 -1
- package/web/app/immutable/chunks/{x8c-ZjEZ.js → C1wyQWdd.js} +2 -2
- package/web/app/immutable/chunks/{Bqxl7Ok8.js → C3cmIhWo.js} +1 -1
- package/web/app/immutable/chunks/{XJV_dABS.js → C3vze1oW.js} +1 -1
- package/web/app/immutable/chunks/{DUKJlKr0.js → C4-YEGNY.js} +1 -1
- package/web/app/immutable/chunks/{DD4gpfya.js → C4Yfp_TG.js} +1 -1
- package/web/app/immutable/chunks/{B9A9lomt.js → C58MXMyI.js} +1 -1
- package/web/app/immutable/chunks/{eVnyW2fp.js → C6KqUwgB.js} +1 -1
- package/web/app/immutable/chunks/{lnSs2a5p.js → C6zJgX6A.js} +1 -1
- package/web/app/immutable/chunks/{BVuWCaMK.js → C7MBFDJp.js} +1 -1
- package/web/app/immutable/chunks/{CXA1l_nB.js → C8688obU.js} +1 -1
- package/web/app/immutable/chunks/{Bjk1uPNC.js → C8fRBF3p.js} +1 -1
- package/web/app/immutable/chunks/{m8h5IS1T.js → CBHhz236.js} +1 -1
- package/web/app/immutable/chunks/{1P3Svk7C.js → CDuldEDb.js} +1 -1
- package/web/app/immutable/chunks/CEL6QztG.js +1 -0
- package/web/app/immutable/chunks/{Daz6_dof.js → CFuCenWl.js} +1 -1
- package/web/app/immutable/chunks/{B4aHlPCL.js → CGSth7XF.js} +1 -1
- package/web/app/immutable/chunks/{pLNG5zfI.js → CGgST5OQ.js} +1 -1
- package/web/app/immutable/chunks/{Bmk4jf3b.js → CGjjowC8.js} +1 -1
- package/web/app/immutable/chunks/{DWxC3NKo.js → CGlMnf5q.js} +1 -1
- package/web/app/immutable/chunks/{DkgRZeaF.js → CI3pmd4G.js} +1 -1
- package/web/app/immutable/chunks/{DFNitlZj.js → CJ-BFgZd.js} +1 -1
- package/web/app/immutable/chunks/{aOcuYL1F.js → CJDCNDP4.js} +1 -1
- package/web/app/immutable/chunks/{Bb3V-mzB.js → CJsd_APB.js} +1 -1
- package/web/app/immutable/chunks/{_T1ymZGh.js → CLBCoidh.js} +1 -1
- package/web/app/immutable/chunks/{roSdX03M.js → CSYmlQ7_.js} +1 -1
- package/web/app/immutable/chunks/CSf8qtlt.js +1 -0
- package/web/app/immutable/chunks/{h9cSqXFU.js → CSvJVg_I.js} +4 -4
- package/web/app/immutable/chunks/CV0Fs-12.js +1 -0
- package/web/app/immutable/chunks/{Dz-EQI05.js → CWLZOeon.js} +1 -1
- package/web/app/immutable/chunks/{c7K9Ywjt.js → CXqkKZxQ.js} +1 -1
- package/web/app/immutable/chunks/{DMHoyG-_.js → CY6nFc9b.js} +1 -1
- package/web/app/immutable/chunks/{DU_JwB8F.js → CYgoZYHa.js} +1 -1
- package/web/app/immutable/chunks/{B60bH8TA.js → CaEWxG5p.js} +2 -2
- package/web/app/immutable/chunks/{DymvZ-Mk.js → CbM8k2mZ.js} +1 -1
- package/web/app/immutable/chunks/{5JCKoNHo.js → CcOMWwsU.js} +1 -1
- package/web/app/immutable/chunks/{DwPpQNAK.js → CcXckLs7.js} +1 -1
- package/web/app/immutable/chunks/{41Ipz5fb.js → Cd_8r4jJ.js} +3 -3
- package/web/app/immutable/chunks/{CBU3Lv61.js → Ced3NNcG.js} +1 -1
- package/web/app/immutable/chunks/{BaZD6F_F.js → Ceq7cv95.js} +9 -9
- package/web/app/immutable/chunks/{BwP7dxjv.js → CgU9RNu2.js} +1 -1
- package/web/app/immutable/chunks/{CiOA93tK.js → CiSnSGvU.js} +1 -1
- package/web/app/immutable/chunks/{N14qS9Qe.js → Cjx3j-9r.js} +1 -1
- package/web/app/immutable/chunks/{BkdzL4yw.js → ClCRB_mv.js} +1 -1
- package/web/app/immutable/chunks/{vAB9kLHE.js → Cn76YSbd.js} +1 -1
- package/web/app/immutable/chunks/{tKvKjLkU.js → CqHS-vG9.js} +1 -1
- package/web/app/immutable/chunks/{83X8qYIZ.js → CqdcwUul.js} +1 -1
- package/web/app/immutable/chunks/{BVODtnZ_.js → CqpFmLF1.js} +1 -1
- package/web/app/immutable/chunks/{DgKbDa2w.js → CrrEv2rL.js} +1 -1
- package/web/app/immutable/chunks/{DYRhXLvx.js → CsBjcw-w.js} +1 -1
- package/web/app/immutable/chunks/{Bl-MloT_.js → CsUbymBr.js} +1 -1
- package/web/app/immutable/chunks/{HmbW7Ern.js → CtspFCnO.js} +1 -1
- package/web/app/immutable/chunks/CuAWwBFc.js +1 -0
- package/web/app/immutable/chunks/{C-g-ql7J.js → CuEQVba7.js} +1 -1
- package/web/app/immutable/chunks/{DgviNcJr.js → CuWBzd-F.js} +1 -1
- package/web/app/immutable/chunks/{DXteS7Ar.js → CwDVmyxq.js} +1 -1
- package/web/app/immutable/chunks/CxJbFBxw.js +1 -0
- package/web/app/immutable/chunks/{MprxwvTp.js → Cz2XOG-L.js} +1 -1
- package/web/app/immutable/chunks/{BeRQmB1S.js → D-Brs8OV.js} +1 -1
- package/web/app/immutable/chunks/{B4PvTMN9.js → D2mgiwW6.js} +1 -1
- package/web/app/immutable/chunks/{iBvoqrfw.js → D3LGlsX3.js} +1 -1
- package/web/app/immutable/chunks/{Bis1tGsD.js → D3u1ZDXs.js} +1 -1
- package/web/app/immutable/chunks/{ta0XTRL7.js → D4jQS0eM.js} +1 -1
- package/web/app/immutable/chunks/{BtHWj1ie.js → D51IE5D2.js} +1 -1
- package/web/app/immutable/chunks/{DCOUSIAo.js → D5JZ5TDM.js} +3 -3
- package/web/app/immutable/chunks/{CcSz6OD0.js → D613d4CE.js} +1 -1
- package/web/app/immutable/chunks/{YPW6yKdR.js → D81SHt2l.js} +1 -1
- package/web/app/immutable/chunks/{Cc_wNDFs.js → D9eQxumT.js} +2 -2
- package/web/app/immutable/chunks/{B3S-8r8Q.js → DDugF1XE.js} +2 -2
- package/web/app/immutable/chunks/{CUNn6i7t.js → DEr3f155.js} +1 -1
- package/web/app/immutable/chunks/{SSsTlNjk.js → DEy3an7K.js} +1 -1
- package/web/app/immutable/chunks/{D0JCFoTY.js → DFWkFU6G.js} +1 -1
- package/web/app/immutable/chunks/DHM67VRx.js +1 -0
- package/web/app/immutable/chunks/{BpYO6-9F.js → DIwBqoFo.js} +1 -1
- package/web/app/immutable/chunks/{BzPAs2gJ.js → DJbDjFTs.js} +1 -1
- package/web/app/immutable/chunks/{CcOazRqG.js → DJuQfCSS.js} +1 -1
- package/web/app/immutable/chunks/{DSCDt1B-.js → DN6L1ZrJ.js} +1 -1
- package/web/app/immutable/chunks/{0dBJ92VY.js → DNc3c430.js} +2 -2
- package/web/app/immutable/chunks/{CUZSIyX_.js → DPkE3Irc.js} +1 -1
- package/web/app/immutable/chunks/{DCkTXZ4K.js → DRRip4Qe.js} +1 -1
- package/web/app/immutable/chunks/{Cge5Oj9H.js → DR_tn5Kl.js} +1 -1
- package/web/app/immutable/chunks/DS8-U49C.js +1 -0
- package/web/app/immutable/chunks/DSLbxDPz.js +1 -0
- package/web/app/immutable/chunks/{c2DN1TPU.js → DTClNSVs.js} +1 -1
- package/web/app/immutable/chunks/{3NsULH4n.js → DUMFiDJG.js} +1 -1
- package/web/app/immutable/chunks/{U4mdLoC-.js → DVGdl5mM.js} +1 -1
- package/web/app/immutable/chunks/{BX9uJGYE.js → DXA93DnF.js} +2 -2
- package/web/app/immutable/chunks/{CZNaDcm1.js → DXDNvQ8c.js} +1 -1
- package/web/app/immutable/chunks/DXyCbCG4.js +1 -0
- package/web/app/immutable/chunks/{Bc5aSxx7.js → DY6owuVr.js} +1 -1
- package/web/app/immutable/chunks/{C5wvNL0Z.js → DYfeeu3f.js} +1 -1
- package/web/app/immutable/chunks/{D-SEHwlM.js → DYizsZut.js} +1 -1
- package/web/app/immutable/chunks/{CNdKMo_I.js → DZWmQz5X.js} +1 -1
- package/web/app/immutable/chunks/{C5Q4eAq_.js → DZo9MSm2.js} +1 -1
- package/web/app/immutable/chunks/{CVsqcMdv.js → Da5ikdTd.js} +1 -1
- package/web/app/immutable/chunks/{gKg0gn4E.js → DanU7KQt.js} +1 -1
- package/web/app/immutable/chunks/{Dyrlx70E.js → DbXcLBX5.js} +3 -3
- package/web/app/immutable/chunks/{sRnl0PU9.js → Dbpx98ZW.js} +1 -1
- package/web/app/immutable/chunks/{BmdspVDq.js → DcegHVv8.js} +1 -1
- package/web/app/immutable/chunks/{BcyT7b7x.js → DcqkXn9i.js} +1 -1
- package/web/app/immutable/chunks/{CYftfbzB.js → DeRdhkHZ.js} +1 -1
- package/web/app/immutable/chunks/{DY0W5oKg.js → DebBES3M.js} +1 -1
- package/web/app/immutable/chunks/{obxiK2Di.js → DhqOVtmg.js} +1 -1
- package/web/app/immutable/chunks/{3J8ppa8V.js → DiQPrKdw.js} +1 -1
- package/web/app/immutable/chunks/{DnLhVTI5.js → DistMkl2.js} +4 -4
- package/web/app/immutable/chunks/{BR-IQj2I.js → Dl2HfqsO.js} +1 -1
- package/web/app/immutable/chunks/{C4E6vJ_G.js → Dml826jn.js} +1 -1
- package/web/app/immutable/chunks/{DANPHJjT.js → DnKg2UsP.js} +1 -1
- package/web/app/immutable/chunks/{BWwVI2wD.js → Do-q4-tL.js} +3 -3
- package/web/app/immutable/chunks/{CsrBCZPr.js → DrFCxV5f.js} +1 -1
- package/web/app/immutable/chunks/{Bv1IZ9jZ.js → DsgX6aFj.js} +1 -1
- package/web/app/immutable/chunks/{gz2jgC75.js → DwovkWl8.js} +1 -1
- package/web/app/immutable/chunks/{CfXGXIMF.js → Dz2X4bjq.js} +1 -1
- package/web/app/immutable/chunks/{CMDD5oco.js → FjbzmN5N.js} +1 -1
- package/web/app/immutable/chunks/{KxE8uB8g.js → G3hahPKG.js} +1 -1
- package/web/app/immutable/chunks/{O-D_vZnv.js → Iv4WzslT.js} +1 -1
- package/web/app/immutable/chunks/{DQD8AO34.js → J08yAvVE.js} +1 -1
- package/web/app/immutable/chunks/{CyqvmVzu.js → L9gWdMu_.js} +1 -1
- package/web/app/immutable/chunks/{GuBMnGsB.js → LF6JrNMn.js} +2 -2
- package/web/app/immutable/chunks/{B2B7A5cv.js → MohDaz1W.js} +2 -2
- package/web/app/immutable/chunks/{CUtjYppD.js → PotN_tv7.js} +1 -1
- package/web/app/immutable/chunks/{BxyNxuc4.js → QiVjRpIE.js} +1 -1
- package/web/app/immutable/chunks/{Beby3oGf.js → SFie6UfG.js} +1 -1
- package/web/app/immutable/chunks/{DRsuOWdV.js → T4aQylmi.js} +1 -1
- package/web/app/immutable/chunks/{kv373IlD.js → UdI8St87.js} +1 -1
- package/web/app/immutable/chunks/{C05_S9Ju.js → W61kh8fv.js} +6 -6
- package/web/app/immutable/chunks/{H_J_o8pe.js → WAMpa_Dp.js} +1 -1
- package/web/app/immutable/chunks/{BUqlMR9S.js → YWYRemCe.js} +1 -1
- package/web/app/immutable/chunks/{tH-RhVo1.js → Z33USrkv.js} +1 -1
- package/web/app/immutable/chunks/{zrJ8j4C7.js → ZBqfJekw.js} +1 -1
- package/web/app/immutable/chunks/{CRB0-tlS.js → ZQGx2tXF.js} +1 -1
- package/web/app/immutable/chunks/{DY_yMB44.js → _HObNlpG.js} +1 -1
- package/web/app/immutable/chunks/{D58OiNyq.js → _UdqBB2L.js} +1 -1
- package/web/app/immutable/chunks/{D8qLY3IO.js → _sWyQxbQ.js} +2 -2
- package/web/app/immutable/chunks/{C1ULDuoI.js → aS0Ledp-.js} +1 -1
- package/web/app/immutable/chunks/{xDnHZYOV.js → ax0jsJgC.js} +1 -1
- package/web/app/immutable/chunks/{HdQmLMU7.js → bUGfWLiY.js} +1 -1
- package/web/app/immutable/chunks/{D3OuHEjp.js → by2sennB.js} +1 -1
- package/web/app/immutable/chunks/{Deznn6cZ.js → cKtqmo72.js} +3 -3
- package/web/app/immutable/chunks/{C58Ew98r.js → eydIaLOC.js} +1 -1
- package/web/app/immutable/chunks/{4T3lottW.js → fnykVBc7.js} +1 -1
- package/web/app/immutable/chunks/gPgah2l4.js +1 -0
- package/web/app/immutable/chunks/{CSbsxmgR.js → hNHk4Bez.js} +1 -1
- package/web/app/immutable/chunks/{cIVqD9Xn.js → hf8xs0et.js} +1 -1
- package/web/app/immutable/chunks/{CaNtsQ6t.js → iEpqOaep.js} +1 -1
- package/web/app/immutable/chunks/{Bvq04Q4o.js → jQoVJUan.js} +4 -4
- package/web/app/immutable/chunks/{DfXRQ23_.js → k4xkU4Qm.js} +1 -1
- package/web/app/immutable/chunks/{16fWZzGr.js → kzOxdO3b.js} +1 -1
- package/web/app/immutable/chunks/{CZHiAprx.js → mGS2HqB-.js} +1 -1
- package/web/app/immutable/chunks/{CUF34JFV.js → ms_dJmyn.js} +1 -1
- package/web/app/immutable/chunks/{BLLBrDig.js → noMaO2Xd.js} +1 -1
- package/web/app/immutable/chunks/{Cj2dc64O.js → pBwXi0xp.js} +12 -12
- package/web/app/immutable/chunks/{D4t8kT73.js → pU8ZyAzb.js} +1 -1
- package/web/app/immutable/chunks/{D4W6_VO7.js → q1Qi1tRJ.js} +1 -1
- package/web/app/immutable/chunks/{51VxIFjP.js → qy2N5-_J.js} +1 -1
- package/web/app/immutable/chunks/{DN50CcaN.js → rVFNKqUq.js} +1 -1
- package/web/app/immutable/chunks/{CNfyvq-I.js → tCQts2qZ.js} +1 -1
- package/web/app/immutable/chunks/{xIEypq_8.js → uRN7AKow.js} +1 -1
- package/web/app/immutable/chunks/{BF6wMmoi.js → vHSQX6dH.js} +1 -1
- package/web/app/immutable/chunks/{DyI4Jpqs.js → wwtnRh6M.js} +1 -1
- package/web/app/immutable/chunks/{BUdGspGY.js → xqulUQTc.js} +1 -1
- package/web/app/immutable/chunks/{C2-OrDhN.js → yn6WWSq8.js} +1 -1
- package/web/app/immutable/chunks/{Cs7-VJBr.js → zKAv0Iid.js} +1 -1
- package/web/app/immutable/chunks/{DBzFzsOq.js → znAltH1L.js} +4 -4
- package/web/app/immutable/entry/{app.Bx13Xy07.js → app.DVdz1aQK.js} +3 -3
- package/web/app/immutable/entry/start.CP_dOJoI.js +1 -0
- package/web/app/immutable/nodes/{0.D84EYz8y.js → 0.1qBEgFWI.js} +1 -1
- package/web/app/immutable/nodes/{1.DwOsrLgj.js → 1.iJqMO56i.js} +1 -1
- package/web/app/immutable/nodes/{10.qgK08QR-.js → 10.Dtdcvc6-.js} +1 -1
- package/web/app/immutable/nodes/{11.CEyqnFKf.js → 11.wyckreZw.js} +1 -1
- package/web/app/immutable/nodes/{12.DutEo2iA.js → 12.-lyhlsld.js} +1 -1
- package/web/app/immutable/nodes/{13.BZD8HUaN.js → 13.BEDgKBg7.js} +3 -3
- package/web/app/immutable/nodes/{14.BN3HQRTY.js → 14.BRod9dtf.js} +1 -1
- package/web/app/immutable/nodes/{15.90ZVFO-M.js → 15.BOsyruq5.js} +1 -1
- package/web/app/immutable/nodes/{16.BhEWJbkY.js → 16.Dep56xFc.js} +2 -2
- package/web/app/immutable/nodes/{17.BdGR9I1-.js → 17.B-vrsgfn.js} +2 -2
- package/web/app/immutable/nodes/{2.CNUQ7sHL.js → 2.BLWWZTlf.js} +11 -11
- package/web/app/immutable/nodes/{3.Bz31wWbs.js → 3.DGf0u_3o.js} +2 -2
- package/web/app/immutable/nodes/4.B1fIfTX2.js +1 -0
- package/web/app/immutable/nodes/{5.B9gJw7uM.js → 5.CJgBMBBF.js} +1 -1
- package/web/app/immutable/nodes/{6.BW9VBH9x.js → 6.CUqou9xf.js} +1 -1
- package/web/app/immutable/nodes/7.DBynvHNx.js +1 -0
- package/web/app/immutable/nodes/{8.Byk-dWqA.js → 8.BFuKMy6D.js} +4 -4
- package/web/app/immutable/nodes/{9.CTLkAppy.js → 9.CVLLynGu.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/inline-html-sandbox.html +33 -0
- package/web/app/immutable/chunks/BQXOfNZI.js +0 -1
- package/web/app/immutable/chunks/C_S5gHJT.js +0 -1
- package/web/app/immutable/chunks/Cr6Ymkww.js +0 -1
- package/web/app/immutable/chunks/DK1Q4u0g.js +0 -1
- package/web/app/immutable/chunks/DNVh6skU.js +0 -1
- package/web/app/immutable/chunks/DkL-L4y9.js +0 -1
- package/web/app/immutable/chunks/DniQ8kjc.js +0 -1
- package/web/app/immutable/chunks/JZw6itpU.js +0 -271
- package/web/app/immutable/chunks/M5YnvJkZ.js +0 -1
- package/web/app/immutable/chunks/c5r-4P7O.js +0 -1
- package/web/app/immutable/chunks/lfsj60VV.js +0 -1
- package/web/app/immutable/chunks/oNuVmIMP.js +0 -1
- package/web/app/immutable/chunks/w328gIvs.js +0 -1
- package/web/app/immutable/entry/start.BQv5FV82.js +0 -1
- package/web/app/immutable/nodes/4.C-oeEJCf.js +0 -1
- package/web/app/immutable/nodes/7.D-aNxCp3.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var e1=Object.defineProperty;var t1=(t,e,r)=>e in t?e1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var se=(t,e,r)=>t1(t,typeof e!="symbol"?e+"":e,r);import{cD as ur,aU as r1,ds as Rl,_ as z0,Y as va,Z as n1,X as a1,a1 as i1,ab as s1,U as o1,dT as l1,M as c1,ba as Dl,cG as Lr,dr as Nl,aT as u1,aX as h1,co as d1,c9 as m1,dl as Va,dN as p1,dG as f1,ay as Bn,al as g1,at as Si,dq as _l,dD as v1,dX as Ll,dW as b1}from"./C4E6vJ_G.js";import{D as Ns,bv as y1,bM as w1,aY as k1}from"./BequUoOf.js";import{M as x1,F as a0}from"./C-g-ql7J.js";import{yr as fn,Ik as M,ny as ge,nx as Se,aM as S1,g as Ol,y as Re,be as l0,jT as Ai,lS as gn,aj as jt,lR as _s,l$ as Ls,lY as Os,jq as Pl,gj as Ya,GI as A1,s$ as T1,zM as M1,oA as E1,mE as vn,Bl as C1,iw as I1,m9 as z1,lM as R1}from"./C5wvNL0Z.js";import{bo as ne}from"./C_S5gHJT.js";import{t as rt}from"./DyI4Jpqs.js";import{l as D1,d as xr}from"./DRsuOWdV.js";import{a as c0}from"./BdWqymET.js";import{o as me,r as Gt,e as u0,s as V,_ as Xe,l as h0,g as N1,n as Le,c as or,b as He,u as _1,d as L1}from"./CIyUrgF0.js";import{j as $l}from"./uXuxG9cN.js";import{w as O1}from"./DwPpQNAK.js";import{b as P1}from"./Bqxl7Ok8.js";import{i as je}from"./Bl-MloT_.js";import{l as ba,c as $1}from"./ChTqQfQN.js";import{ax as d0}from"./41Ipz5fb.js";import{p as Sr}from"./CZHiAprx.js";import{i as Ps}from"./cIVqD9Xn.js";import{f as Ti,C as Bl,D as ql,l as B1,z as Fl,r as q1,u as F1}from"./rJUllCO_.js";const We=[];for(let t=0;t<256;++t)We.push((t+256).toString(16).slice(1));function H1(t,e=0){return(We[t[e+0]]+We[t[e+1]]+We[t[e+2]]+We[t[e+3]]+"-"+We[t[e+4]]+We[t[e+5]]+"-"+We[t[e+6]]+We[t[e+7]]+"-"+We[t[e+8]]+We[t[e+9]]+"-"+We[t[e+10]]+We[t[e+11]]+We[t[e+12]]+We[t[e+13]]+We[t[e+14]]+We[t[e+15]]).toLowerCase()}const U1=new Uint8Array(16);function W1(){return crypto.getRandomValues(U1)}function Mi(t,e,r){return crypto.randomUUID?crypto.randomUUID():G1(t)}function G1(t,e,r){t=t||{};const n=t.random??t.rng?.()??W1();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,H1(n)}function Ei(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=Ei({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?x1(r.replace(/\.git\/?$/,""),e):null}function f5(t,e){return t.type==="local"?t.plainFolder?"folder":"local":Ei(t,e)?.provider==="gitlab"?"gitlab":"github"}function Hl(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function g5(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=Hl(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function v5(t){return t.type==="local"&&t.path?t.path:void 0}const j1=["/.clones/","/.repo-cache/"];function b5(t){const e=t.replaceAll("\\","/");return j1.some(r=>e.includes(r))}function y5(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function V1(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function w5(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??V1(r)}}function k5(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,Hl(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const Y1="known-repos",X1=6e4;function K1({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=fn(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(fn(s),s);for(const s of e.repos)a.set(fn(s),s)}const i=[...a.values()].filter(s=>!r[fn(s)]);return n==="all"?i:i.slice(0,9)}function x5(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function S5({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<X1?"skip":"load"}function A5(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=Ei(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function Z1({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ns)?Ns:null;return s===null||!i(s)?null:s}const T5=M.createSelector(t=>t.workspaceInitializer.hydrated),M5=M.createSelector(t=>t.workspaceInitializer.compactFormState),E5=M.createSelector(t=>t.workspaceInitializer.onboardingFormState),C5=M.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),I5=M.createSelector(t=>t.workspaceInitializer.branchByRepo),z5=M.createSelector(t=>t.workspaceInitializer.defaultParentPath),R5=M.createSelector(t=>ge(t.workspaceInitializer.recentRepos)),D5=M.createSelector((t,e)=>Se(t.workspaceInitializer.recentRepoRefreshes,e)),N5=M.createSelector((t,e)=>Se(t.workspaceInitializer.directoryStatusChecks,e)),_5=M.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),L5=M.createSelector(t=>ge(t.workspaceInitializer.remoteSetups)),O5=M.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),P5=M.createSelector(t=>t.workspaceInitializer.agentByRepo),$5=M.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),B5=M.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),q5=M.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),F5=M.createSelector((t,e)=>({restore:Se(t.workspaceInitializer.draftRestores,e),clear:Se(t.workspaceInitializer.draftClears,e)})),H5=M.createSelector((t,e,r)=>{const n=Se(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),U5=M.createSelector((t,e)=>Se(t.workspaceInitializer.initializationOutcomes,e)),W5=M.createSelector((t,e)=>Se(t.workspaceInitializer.initializationResumes,e)),G5=M.createSelector(t=>Z1({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:w1.select(t),orchestratorId:y1.select(t)?.id??null})),Q1=M.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=ur.select(t);return e&&r&&r1.select(t)?JSON.stringify([r,e]):null}),j5=M.createSelector(t=>{const e=Q1.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),J1=M.createSelector(t=>{const e=Se(t.workspaceInitializer.recentRepoRefreshes,Y1),r=ur.select(t);return K1({saved:ge(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),V5=M.createSelector(t=>Rl.select(t)?J1.select(t):[]),Y5=M.createSelector(t=>k1.select(t)||void 0),$s="workspace-debug-flags",bn={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class eh{constructor(){se(this,"flags");se(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return bn;try{const e=localStorage.getItem($s);if(e)return{...bn,...JSON.parse(e)}}catch(e){ba.error("Failed to load debug flags:",e)}return bn}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem($s,JSON.stringify(this.flags))}catch(e){ba.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...bn},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),ba.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const ya=new eh;function X5(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function th(t){return t.charAt(0).toUpperCase()+t.slice(1)}function K5(t){if(!t||t.trim().length===0)return ne.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ne.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ne.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ne.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ne.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ne.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ne.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ne.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ne.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ne.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ne.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ne.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ne.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ne.workspace_sidebarHeader_branchTooLong_error()}function Z5(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function Xa(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function Q5(t,e){return`${e}:${t.agentId??"manual"}`}function rh(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function nh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function ah(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function J5(t,e,r,n){const a=rh(t,e),i=n?` (origin/${n})`:"";return r?a===1?ne.workspace_sidebarChanges_addToPr_one({suffix:i}):ne.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ne.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ne.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function e3(t,e,r){const n=nh(t,e),a=r?` (origin/${r})`:"";return n===1?ne.workspace_sidebarChanges_undoPush_one({suffix:a}):ne.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function t3(t,e){const r=ah(t,e);return r===1?ne.workspace_sidebarChanges_undoCommit_one():ne.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function r3(t,e){return e===0&&t.length>0}function n3(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function a3(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function i3(t,e,r){return r?.path===t&&r?.staged===e}function s3(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function o3(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function ih(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function l3(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=ih(s.url),h=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:Xa(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:h,crossRepoDisplay:h?Ci(h,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:Xa(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function c3(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??S1.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function sh(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function wa(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=z0(i),c=o.toLowerCase(),h=a.find(m=>!!o&&m.url.toLowerCase()===c||(i.resource||i.monitorAvailability?m.monitorIdentity===va(i):!m.resource&&!m.monitorAvailability&&(s?!m.crossRepo&&m.number===i.prNumber:m.crossRepo===i.repo&&m.number===i.prNumber)));if(h){h.monitorAgentId=i.agentId,h.resource=i.resource,h.monitorAvailability=i.monitorAvailability,h.monitorIdentity=i.resource||i.monitorAvailability?va(i):void 0,h.monitorSnapshot=i.lastSnapshot??h.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${n1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?va(i):void 0,url:o,htmlUrl:o,status:sh(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Ci(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Ci(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function u3(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const S of n)S.repoOwner&&S.repoName&&s.add(`${S.repoOwner}/${S.repoName}`.toLowerCase());let o=t;const c=[],h=[];if(t.some(S=>S.crossRepo)){o=[];for(const S of t)S.crossRepo?s.has(S.crossRepo.toLowerCase())?c.push(S):h.push(S):o.push(S)}const m=[],g=[],v=[];for(const S of e){const C=S.repo.toLowerCase();z0(S)&&o.some(W=>W.url===z0(S))||!S.resource&&!S.monitorAvailability&&(!i||C===i)?m.push(S):z0(S)&&c.some(W=>W.url===z0(S))||!S.resource&&!S.monitorAvailability&&s.has(C)?g.push(S):v.push(S)}const w=wa(o,m,r),A=r?.split("/")[0],E=new Set([...w,...c,...h].map(S=>`${(S.crossRepo??r??"").toLowerCase()}#${S.number}`)),D=[...c];for(const S of n){if(!S.repoOwner||!S.repoName)continue;const C=`${S.repoOwner}/${S.repoName}`;for(const W of S.pullRequests??[]){const K=`${C.toLowerCase()}#${W.number}`;if(E.has(K))continue;E.add(K);const X=W.url||`https://github.com/${C}/pull/${W.number}`,T=i!==void 0&&C.toLowerCase()===i;D.push({number:W.number,title:a(W),url:X,htmlUrl:X,status:Xa(W.status),createdAt:W.createdAt,updatedAt:W.updatedAt,crossRepo:T?void 0:C,crossRepoDisplay:T?void 0:Ci(C,A)})}}return{own:w,otherRoots:wa(D,g,r),otherTracked:wa(h,v,r)}}function Bs(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function h3(t){const e=t.status==="merged"?ne.workspace_prSection_merged_label():t.status==="closed"?ne.workspace_prSection_closed_label():t.status==="draft"?ne.workspace_prSection_statusDraft_label():Bs(t)?ne.workspace_prSection_statusQueued_label():ne.workspace_prSection_statusOpen_label(),r=[a1(t)??e],n=Bs(t)?D1(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ne.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ne.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ne.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ne.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ne.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ne.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ne.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(th(a.mergeBlockedReason))),r.join(`
|
|
1
|
+
var e1=Object.defineProperty;var t1=(t,e,r)=>e in t?e1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var se=(t,e,r)=>t1(t,typeof e!="symbol"?e+"":e,r);import{cD as ur,aU as r1,ds as Rl,_ as z0,Y as va,Z as n1,X as a1,a1 as i1,ab as s1,U as o1,dT as l1,M as c1,ba as Dl,cG as Lr,dr as Nl,aT as u1,aX as h1,co as d1,c9 as m1,dl as Va,dN as p1,dG as f1,ay as Bn,al as g1,at as Si,dq as _l,dD as v1,dX as Ll,dW as b1}from"./Dml826jn.js";import{D as Ns,bv as y1,bM as w1,aY as k1}from"./Ba7P2HkQ.js";import{M as x1,F as a0}from"./CuEQVba7.js";import{yr as fn,Ik as M,ny as ge,nx as Se,aM as S1,g as Ol,y as Re,be as l0,jT as Ai,lS as gn,aj as jt,lR as _s,l$ as Ls,lY as Os,jq as Pl,gj as Ya,GI as A1,s$ as T1,zM as M1,oA as E1,mE as vn,Bl as C1,iw as I1,m9 as z1,lM as R1}from"./DYfeeu3f.js";import{bp as ne}from"./CEL6QztG.js";import{t as rt}from"./wwtnRh6M.js";import{l as D1,d as xr}from"./T4aQylmi.js";import{a as c0}from"./BdWqymET.js";import{o as me,r as Gt,e as u0,s as V,_ as Xe,l as h0,g as N1,n as Le,c as or,b as He,u as _1,d as L1}from"./CIyUrgF0.js";import{j as $l}from"./uXuxG9cN.js";import{w as O1}from"./CcXckLs7.js";import{b as P1}from"./C3cmIhWo.js";import{i as je}from"./CsUbymBr.js";import{l as ba,c as $1}from"./ChTqQfQN.js";import{ax as d0}from"./Cd_8r4jJ.js";import{p as Sr}from"./mGS2HqB-.js";import{i as Ps}from"./hf8xs0et.js";import{f as Ti,C as Bl,D as ql,l as B1,z as Fl,r as q1,u as F1}from"./50HPeG9s.js";const We=[];for(let t=0;t<256;++t)We.push((t+256).toString(16).slice(1));function H1(t,e=0){return(We[t[e+0]]+We[t[e+1]]+We[t[e+2]]+We[t[e+3]]+"-"+We[t[e+4]]+We[t[e+5]]+"-"+We[t[e+6]]+We[t[e+7]]+"-"+We[t[e+8]]+We[t[e+9]]+"-"+We[t[e+10]]+We[t[e+11]]+We[t[e+12]]+We[t[e+13]]+We[t[e+14]]+We[t[e+15]]).toLowerCase()}const U1=new Uint8Array(16);function W1(){return crypto.getRandomValues(U1)}function Mi(t,e,r){return crypto.randomUUID?crypto.randomUUID():G1(t)}function G1(t,e,r){t=t||{};const n=t.random??t.rng?.()??W1();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,H1(n)}function Ei(t,e){if(t.repositoryIdentity===null)return null;if(t.repositoryIdentity){const{provider:a,instanceBaseUrl:i,projectPath:s}=t.repositoryIdentity,o=Ei({...t,repositoryIdentity:void 0,githubUrl:`${i}/${s}`},a==="gitlab"?i:void 0);return o?.provider===a?o:null}const r=t.githubUrl;if(!r)return null;const n=/^(?:https:\/\/github\.com\/|git@github\.com:)([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/i.exec(r);return n&&!n.slice(1).some(a=>a==="."||a==="..")?{provider:"github",instanceBaseUrl:"https://github.com",projectPath:`${n[1]}/${n[2]}`}:e?x1(r.replace(/\.git\/?$/,""),e):null}function f5(t,e){return t.type==="local"?t.plainFolder?"folder":"local":Ei(t,e)?.provider==="gitlab"?"gitlab":"github"}function Hl(t){const e=t.split(/[\\/]/).filter(Boolean);return e[e.length-1]??""}function g5(t){if(t.type!=="local")return{ownerPrefix:t.owner,primary:t.name};const e=Hl(t.path)||t.name,r=t.owner?`${t.owner}/${t.name}`:void 0;return{primary:e,suffix:r}}function v5(t){return t.type==="local"&&t.path?t.path:void 0}const j1=["/.clones/","/.repo-cache/"];function b5(t){const e=t.replaceAll("\\","/");return j1.some(r=>e.includes(r))}function y5(t){const e=new Set;for(const r of t){const{repositoryPath:n,worktreePath:a}=r;n&&a&&n===a&&e.add(n)}return e}function V1(t){return t.includes("\\")||t.includes(":")||t.startsWith("/")?void 0:/^([^/]+)\/[^/]+$/.exec(t)?.[1]}function w5(t,e){const{selectedValue:r,selectedRepoType:n,confirmedGithubUrl:a}=t;if(!(n!=="github"||!r)){if(a){const i=e(a)?.owner;if(i)return i}return e(r)?.owner??V1(r)}}function k5(t,e){const r=e.trim().toLowerCase();return r===""?!0:[t.name,t.path,Hl(t.path),t.owner,t.owner?`${t.owner}/${t.name}`:void 0].some(a=>a?.toLowerCase().includes(r)??!1)}const Y1="known-repos",X1=6e4;function K1({saved:t,source:e,dismissed:r,mode:n}){if(!e)return[...t];const a=new Map;if(n==="all")for(const s of[...e.repos,...t]){const o=fn(s);a.has(o)||a.set(o,s)}else{for(const s of t)a.set(fn(s),s);for(const s of e.repos)a.set(fn(s),s)}const i=[...a.values()].filter(s=>!r[fn(s)]);return n==="all"?i:i.slice(0,9)}function x5(t){const e=t.lastUsedAt?Date.parse(t.lastUsedAt):NaN;return Number.isFinite(e)?e:0}function S5({visible:t,admission:e,entry:r,readyAt:n,now:a}){return!t||!e?"skip":!r||r.admission!==e?"load":r.status==="pending"?"reuse":r.status==="ready"&&n?.requestId===r.requestId&&a-n.at<X1?"skip":"load"}function A5(t,e){if(t.type==="local")return t.plainFolder?{repoPath:t.path,plainFolder:!0}:{repoPath:t.path};const r=Ei(t,e);return r?.provider==="gitlab"?{repositoryCheckoutDraft:{instanceBaseUrl:r.instanceBaseUrl,projectPath:r.projectPath}}:r?{githubUrl:`https://github.com/${r.projectPath}`,exactRemote:!0}:{githubUrl:t.githubUrl||`https://github.com/${t.path}`,exactRemote:!0}}function Z1({compactFormState:t,lastSubmittedAgent:e,specialists:r,orchestratorId:n}){if(t?.isTeamMode??e?.isTeamMode??!1)return n;const i=o=>r.some(c=>c.id===o),s=t?.selectedSpecialist!==void 0?t.selectedSpecialist:e?.selectedSpecialist!==void 0?e.selectedSpecialist:i(Ns)?Ns:null;return s===null||!i(s)?null:s}const T5=M.createSelector(t=>t.workspaceInitializer.hydrated),M5=M.createSelector(t=>t.workspaceInitializer.compactFormState),E5=M.createSelector(t=>t.workspaceInitializer.onboardingFormState),C5=M.createSelector(t=>t.workspaceInitializer.lastSelectedRepo),I5=M.createSelector(t=>t.workspaceInitializer.branchByRepo),z5=M.createSelector(t=>t.workspaceInitializer.defaultParentPath),R5=M.createSelector(t=>ge(t.workspaceInitializer.recentRepos)),D5=M.createSelector((t,e)=>Se(t.workspaceInitializer.recentRepoRefreshes,e)),N5=M.createSelector((t,e)=>Se(t.workspaceInitializer.directoryStatusChecks,e)),_5=M.createSelector(t=>t.workspaceInitializer.dismissedRecentRepoKeys),L5=M.createSelector(t=>ge(t.workspaceInitializer.remoteSetups)),O5=M.createSelector(t=>t.workspaceInitializer.lastSubmittedAgent),P5=M.createSelector(t=>t.workspaceInitializer.agentByRepo),$5=M.createSelector(t=>t.workspaceInitializer.recentSpecialistIds),B5=M.createSelector((t,e)=>t.workspaceInitializer.agentByRepo[e]??null),q5=M.createSelector(t=>t.workspaceInitializer.pendingGitHubPrefill),F5=M.createSelector((t,e)=>({restore:Se(t.workspaceInitializer.draftRestores,e),clear:Se(t.workspaceInitializer.draftClears,e)})),H5=M.createSelector((t,e,r)=>{const n=Se(t.workspaceInitializer.initializationOutcomes,e);return n?.resourceId===r?n:void 0}),U5=M.createSelector((t,e)=>Se(t.workspaceInitializer.initializationOutcomes,e)),W5=M.createSelector((t,e)=>Se(t.workspaceInitializer.initializationResumes,e)),G5=M.createSelector(t=>Z1({compactFormState:t.workspaceInitializer.compactFormState,lastSubmittedAgent:t.workspaceInitializer.lastSubmittedAgent,specialists:w1.select(t),orchestratorId:y1.select(t)?.id??null})),Q1=M.createSelector(t=>{const e=t.workspaceInitializer.gitCheckRequest,r=ur.select(t);return e&&r&&r1.select(t)?JSON.stringify([r,e]):null}),j5=M.createSelector(t=>{const e=Q1.select(t),r=t.workspaceInitializer.gitCheck;return e&&r?.context===e?r.available:null}),J1=M.createSelector(t=>{const e=Se(t.workspaceInitializer.recentRepoRefreshes,Y1),r=ur.select(t);return K1({saved:ge(t.workspaceInitializer.recentRepos),source:e&&r&&e.admission===r?e:null,dismissed:t.workspaceInitializer.dismissedRecentRepoKeys,mode:"all"})}),V5=M.createSelector(t=>Rl.select(t)?J1.select(t):[]),Y5=M.createSelector(t=>k1.select(t)||void 0),$s="workspace-debug-flags",bn={enableCreationAnimation:!0,animationDuration:300,enablePageTransitions:!0,enableComponentTransitions:!0,showDebugInfo:!1,showPerformanceMetrics:!1,logStateChanges:!1,enableAutofocus:!0,enableBranchCaching:!0,enableFormPersistence:!0,simulateSlowNetwork:!1,simulateErrors:!1,networkDelay:0};class eh{constructor(){se(this,"flags");se(this,"listeners",new Set);this.flags=this.loadFlags()}loadFlags(){if(typeof localStorage>"u")return bn;try{const e=localStorage.getItem($s);if(e)return{...bn,...JSON.parse(e)}}catch(e){ba.error("Failed to load debug flags:",e)}return bn}saveFlags(){if(!(typeof localStorage>"u")){try{localStorage.setItem($s,JSON.stringify(this.flags))}catch(e){ba.error("Failed to save debug flags:",e)}this.listeners.forEach(e=>e(this.flags))}}get(e){return this.flags[e]}set(e,r){this.flags[e]=r,this.saveFlags()}toggle(e){typeof this.flags[e]=="boolean"&&(this.flags[e]=!this.flags[e],this.saveFlags())}reset(){this.flags={...bn},this.saveFlags()}getAll(){return{...this.flags}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}toggleDebugPanel(){this.toggle("showDebugInfo"),ba.info("Debug panel:",this.flags.showDebugInfo?"ON":"OFF")}async simulateDelay(e){return this.flags.simulateSlowNetwork&&this.flags.networkDelay>0&&await new Promise(r=>setTimeout(r,this.flags.networkDelay)),e}}const ya=new eh;function X5(t){if(!t)return"";let e=t;return e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(/(?<!\*)\*(?!\*)(.+?)(?<!\*)\*(?!\*)/g,"$1"),e=e.replace(/(?<!_)_(?!_)(.+?)(?<!_)_(?!_)/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/\[([^\]]+)\]\([^)]+\)/g,"$1"),e=e.replace(/^#{1,6}\s+/gm,""),e=e.replace(/^\*+\s*/gm,""),e=e.replace(/\s*\*+$/gm,""),e.trim()}function th(t){return t.charAt(0).toUpperCase()+t.slice(1)}function K5(t){if(!t||t.trim().length===0)return ne.workspace_sidebarHeader_branchEmpty_error();if(/[\s~^:\\?*\[\\]/.test(t))return ne.workspace_sidebarHeader_branchInvalidChars_error();if(t.includes("@{"))return ne.workspace_sidebarChanges_branchAtBrace_error({seq:"@{"});if(t==="@")return ne.workspace_sidebarChanges_branchAt_error({symbol:"@"});if(t.startsWith("."))return ne.workspace_sidebarHeader_branchStartsDot_error();if(t.endsWith(".lock"))return ne.workspace_sidebarHeader_branchEndsLock_error();if(t.includes(".."))return ne.workspace_sidebarHeader_branchDoubleDot_error();if(t.startsWith("/")||t.endsWith("/"))return ne.workspace_sidebarHeader_branchSlashEnds_error();if(t.includes("//"))return ne.workspace_sidebarHeader_branchDoubleSlash_error();if(t.startsWith("-"))return ne.workspace_sidebarHeader_branchStartsDash_error();if(t.endsWith("."))return ne.workspace_sidebarChanges_branchEndsPeriod_error();const e=t.split("/");for(const r of e){if(r.startsWith("."))return ne.workspace_sidebarChanges_branchComponentStartsDot_error();if(r.endsWith(".lock"))return ne.workspace_sidebarChanges_branchComponentEndsLock_error()}if(t.length>250)return ne.workspace_sidebarHeader_branchTooLong_error()}function Z5(t,e,r,n){return e&&r?`https://github.com/${e}/${r}/pull/${t}`:n||""}function Xa(t){return t==="Open"?"open":t==="Merged"?"merged":t==="Draft"?"draft":"closed"}function Q5(t,e){return`${e}:${t.agentId??"manual"}`}function rh(t,e){if(t.length===0||e>=t.length)return 0;const r=Math.max(0,e);let n=0;for(let a=r;a<t.length;a++)t[a].isPushed||n++;return n}function nh(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed&&n++;return n}function ah(t,e){if(t.length===0||e<0)return 0;const r=Math.min(e,t.length-1);let n=0;for(let a=0;a<=r;a++)t[a].isPushed||n++;return n}function J5(t,e,r,n){const a=rh(t,e),i=n?` (origin/${n})`:"";return r?a===1?ne.workspace_sidebarChanges_addToPr_one({suffix:i}):ne.workspace_sidebarChanges_addToPr_many({count:rt(a),suffix:i}):a===1?ne.workspace_sidebarChanges_pushToRemote_one({suffix:i}):ne.workspace_sidebarChanges_pushToRemote_many({count:rt(a),suffix:i})}function e3(t,e,r){const n=nh(t,e),a=r?` (origin/${r})`:"";return n===1?ne.workspace_sidebarChanges_undoPush_one({suffix:a}):ne.workspace_sidebarChanges_undoPush_many({count:rt(n),suffix:a})}function t3(t,e){const r=ah(t,e);return r===1?ne.workspace_sidebarChanges_undoCommit_one():ne.workspace_sidebarChanges_undoCommit_many({count:rt(r)})}function r3(t,e){return e===0&&t.length>0}function n3(t,e,r,n){return!r||n==null?!1:t===r&&e===n}function a3(t,e,r){const n=`${e?"staged":"unstaged"}:${t}`;return r.has(n)}function i3(t,e,r){return r?.path===t&&r?.staged===e}function s3(t){if(t.length===0)return[];const e=new Map,r=[...t].sort((n,a)=>n.timestamp-a.timestamp);for(const n of r)for(const a of n.files??[]){const i=e.get(a.path);i?e.set(a.path,{additions:i.additions+(a.additions||0),deletions:i.deletions+(a.deletions||0)}):e.set(a.path,{additions:a.additions||0,deletions:a.deletions||0})}return Array.from(e.entries()).map(([n,a])=>({path:n,additions:a.additions,deletions:a.deletions,staged:!1}))}function o3(t,e,r){const n=new Set;let a=0,i=0;for(const s of t)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of e)n.add(s.relativePath),a+=s.stats?.additions||0,i+=s.stats?.deletions||0;for(const s of r)for(const o of s.files||[])n.add(o.path),a+=o.additions||0,i+=o.deletions||0;return{totalFilesChanged:n.size,totalAdditions:a,totalDeletions:i}}function ih(t){const e=t?.match(/^https?:\/\/github\.com\/([^/]+)\/([^/]+)\/pull\/\d+/i);return e?`${e[1]}/${e[2]}`:void 0}function l3(t,e,r,n,a){if(t&&t.length>0){const i=a?.split("/")[0];return t.map(s=>{const o=s.url||r(s.number),c=ih(s.url),h=c!==void 0&&c.toLowerCase()!==a?.toLowerCase()?c:void 0;return{number:s.number,title:n(s),url:o,htmlUrl:o,status:Xa(s.status),createdAt:s.createdAt,updatedAt:s.updatedAt,isInMergeQueue:s.isDraft?void 0:s.isInMergeQueue,crossRepo:h,crossRepoDisplay:h?Ci(h,i):void 0}})}return e?[{number:e.number,title:n(e),url:r(e.number,e.url),htmlUrl:r(e.number,e.url),status:Xa(e.status),createdAt:e.createdAt,updatedAt:e.updatedAt,isInMergeQueue:e.isDraft?void 0:e.isInMergeQueue}]:[]}function c3(t){const{prNumber:e,prUrl:r}=t;return e==null||!r?null:{id:`legacy-pr-${e}`,number:e,url:r,title:"",status:t.prStatus??S1.Open,createdAt:t.updatedAt,updatedAt:t.updatedAt}}function sh(t){const e=t.lastSnapshot?.state?.toLowerCase();return e==="merged"?"merged":e==="closed"?"closed":t.lastSnapshot?.isDraft?"draft":t.state==="completed"?"closed":"open"}function wa(t,e,r){if(e.length===0)return t;const n=r?.split("/")[0],a=t.map(i=>({...i}));for(const i of e){const s=!i.resource&&!i.monitorAvailability&&(!r||i.repo===r),o=z0(i),c=o.toLowerCase(),h=a.find(m=>!!o&&m.url.toLowerCase()===c||(i.resource||i.monitorAvailability?m.monitorIdentity===va(i):!m.resource&&!m.monitorAvailability&&(s?!m.crossRepo&&m.number===i.prNumber:m.crossRepo===i.repo&&m.number===i.prNumber)));if(h){h.monitorAgentId=i.agentId,h.resource=i.resource,h.monitorAvailability=i.monitorAvailability,h.monitorIdentity=i.resource||i.monitorAvailability?va(i):void 0,h.monitorSnapshot=i.lastSnapshot??h.monitorSnapshot;continue}a.push({number:i.prNumber,title:i.title??`${i.repo}${n1(i,i.prNumber)}`,resource:i.resource,monitorAvailability:i.monitorAvailability,monitorIdentity:i.resource||i.monitorAvailability?va(i):void 0,url:o,htmlUrl:o,status:sh(i),createdAt:i.createdAt,updatedAt:i.updatedAt,monitorAgentId:i.agentId,crossRepo:s?void 0:i.repo,crossRepoDisplay:s?void 0:Ci(i.repo,n),monitorSnapshot:i.lastSnapshot,monitorOnly:!0})}return a}function Ci(t,e){return e&&t.toLowerCase().startsWith(`${e.toLowerCase()}/`)?t.slice(e.length+1):t}function u3(t,e,r,n,a){const i=r?.toLowerCase(),s=new Set;for(const S of n)S.repoOwner&&S.repoName&&s.add(`${S.repoOwner}/${S.repoName}`.toLowerCase());let o=t;const c=[],h=[];if(t.some(S=>S.crossRepo)){o=[];for(const S of t)S.crossRepo?s.has(S.crossRepo.toLowerCase())?c.push(S):h.push(S):o.push(S)}const m=[],g=[],v=[];for(const S of e){const C=S.repo.toLowerCase();z0(S)&&o.some(W=>W.url===z0(S))||!S.resource&&!S.monitorAvailability&&(!i||C===i)?m.push(S):z0(S)&&c.some(W=>W.url===z0(S))||!S.resource&&!S.monitorAvailability&&s.has(C)?g.push(S):v.push(S)}const w=wa(o,m,r),A=r?.split("/")[0],E=new Set([...w,...c,...h].map(S=>`${(S.crossRepo??r??"").toLowerCase()}#${S.number}`)),D=[...c];for(const S of n){if(!S.repoOwner||!S.repoName)continue;const C=`${S.repoOwner}/${S.repoName}`;for(const W of S.pullRequests??[]){const K=`${C.toLowerCase()}#${W.number}`;if(E.has(K))continue;E.add(K);const X=W.url||`https://github.com/${C}/pull/${W.number}`,T=i!==void 0&&C.toLowerCase()===i;D.push({number:W.number,title:a(W),url:X,htmlUrl:X,status:Xa(W.status),createdAt:W.createdAt,updatedAt:W.updatedAt,crossRepo:T?void 0:C,crossRepoDisplay:T?void 0:Ci(C,A)})}}return{own:w,otherRoots:wa(D,g,r),otherTracked:wa(h,v,r)}}function Bs(t){return t.status!=="open"?!1:t.monitorSnapshot?t.monitorSnapshot.isInMergeQueue===!0:t.isInMergeQueue===!0}function h3(t){const e=t.status==="merged"?ne.workspace_prSection_merged_label():t.status==="closed"?ne.workspace_prSection_closed_label():t.status==="draft"?ne.workspace_prSection_statusDraft_label():Bs(t)?ne.workspace_prSection_statusQueued_label():ne.workspace_prSection_statusOpen_label(),r=[a1(t)??e],n=Bs(t)?D1(t.monitorSnapshot?.mergeQueue):null;n&&r.push(n);const a=t.status==="merged"||t.status==="closed"?void 0:t.monitorSnapshot;return a&&(a.checks.total===null||a.checks.passed===null||a.checks.failed===null||a.checks.pending===null||a.availability&&a.availability.checks!=="available"?r.push(ne.chat_monitoredPrs_hover_checksUnknown_label()):a.checks.total>0&&r.push(ne.workspace_prSection_statusChecks_tooltip({passed:rt(a.checks.passed),failed:rt(a.checks.failed),pending:rt(a.checks.pending)})),r.push(a.approvals.have===null||a.availability&&a.availability.approvals!=="available"?ne.chat_monitoredPrs_hover_approvalsUnknown_label():a.approvals.needed!=null?ne.workspace_prSection_statusApprovalsOfNeeded_tooltip({count:rt(a.approvals.have),needed:rt(a.approvals.needed)}):ne.workspace_prSection_statusApprovals_tooltip({count:rt(a.approvals.have)})),a.approvals.changesRequested!==null&&a.approvals.changesRequested>0&&r.push(ne.workspace_prSection_statusChangesRequested_tooltip({count:rt(a.approvals.changesRequested)})),a.availability&&a.availability.discussions!=="available"?r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()):typeof a.threads.unresolved=="number"?a.threads.unresolved>0&&r.push(ne.workspace_prSection_statusUnresolvedThreads_tooltip({count:rt(a.threads.unresolved)})):a.threads.resolutionRequired&&r.push(ne.workspace_prSection_statusUnresolvedThreadsUnknown_tooltip()),a.mergeBlockedReason&&r.push(th(a.mergeBlockedReason))),r.join(`
|
|
2
2
|
`)}function d3(t,e){return e.has(t??"manual")}function m3(t,e){return{path:t.relativePath,additions:t.stats.additions,deletions:t.stats.deletions,staged:e,status:t.status,attribution:t.attribution?.agent?{agentId:t.attribution.agent.agentId,agentName:t.attribution.agent.agentName,sessionId:t.attribution.agent.sessionId,turnNumber:t.attribution.agent.turnNumber,timestamp:t.attribution.timestamp}:void 0}}const Ul=500;function p3(t,e=Ul){const r=Math.max(0,Math.floor(e));return t.length<=r?{visible:t,shown:t.length,hiddenCount:0}:{visible:t.slice(0,r),shown:r,hiddenCount:t.length-r}}function f3(t,e,r=Ul){let n=Math.max(0,Math.floor(r)),a=0,i=0;return{groups:t.map(o=>{if(e(o))return{group:o,visibleFiles:[]};const c=Math.min(n,o.files.length);return n-=c,a+=c,i+=o.files.length-c,{group:o,visibleFiles:c===o.files.length?o.files:o.files.slice(0,c)}}),shown:a,hiddenCount:i}}function g3(t){if(t.hiddenCount<=0)return"";const e=rt(t.shown),r=rt(t.shown+t.hiddenCount);return t.hiddenCount===1?ne.workspace_fileChanges_hiddenFiles_one({shown:e,total:r}):ne.workspace_fileChanges_hiddenFiles_many({shown:e,total:r,count:rt(t.hiddenCount)})}function oh(t){if(!t)return{};try{const e=JSON.parse(t);return e&&typeof e=="object"?e:{}}catch{return{}}}function Ka(t){return t.startsWith("@")?t.slice(1):t}function lh(t,e,r,n){const a=t.fullPath||t.path||t.filename;if(a)return Ka(String(a));const i=[r,e,n.trim()].map(Ka).filter(Boolean),s=i.find(o=>o.includes("/"))??i[0];return s?i1(s).path:void 0}function ch(t){const e=t.line??t.startLine??t.range?.start;return typeof e=="number"&&Number.isFinite(e)?e:void 0}function uh(t){if(!t||t.getAttribute("data-mention")===null)return null;const e=t.getAttribute("data-type")||"",r=t.getAttribute("data-id")||"",n=t.getAttribute("data-label")||"",a=t.getAttribute("data-uri")||"",i=oh(t.getAttribute("data-meta")),s={type:e,id:r,label:n,uri:a,meta:i},o=a.startsWith("intent://")?a:typeof i.fullUrl=="string"&&i.fullUrl.startsWith("intent://")?i.fullUrl:void 0;if(o&&(s.intentUrl=o),e==="file"||e==="file-range"){const c=lh(i,n,r,t.textContent||"");c&&(s.filePath=c);const h=ch(i);h!==void 0&&(s.line=h)}else if(e==="folder"||e==="source-folder"){const c=i.fullPath||i.path||r||n,h=c?Ka(String(c)).replace(/\/+$/,""):"";h&&(s.folderPath=h)}else if(e==="note"||e==="note-range"){const c=i.noteId||r;c&&(s.note=i.isExternalLink&&i.workspaceId?{id:c,workspaceId:String(i.workspaceId)}:{id:c})}return s}function v3(t){return{sidebarTabId:"files",type:"file",filePath:`${t}/`}}function Ii(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Or=Ii();function Wl(t){Or=t}var Ir={exec:()=>null};function Xr(t){let e=[];return r=>{let n=Math.max(0,Math.min(3,r-1)),a=e[n];return a||(a=t(n),e[n]=a),a}}function ce(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:(a,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(Ye.caret,"$1"),r=r.replace(a,s),n},getRegex:()=>new RegExp(r,e)};return n}var hh=((t="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+t)}catch{return!1}})(),Ye={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Xr(t=>new RegExp(`^ {0,${t}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Xr(t=>new RegExp(`^ {0,${t}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Xr(t=>new RegExp(`^ {0,${t}}(?:\`\`\`|~~~)`)),headingBeginRegex:Xr(t=>new RegExp(`^ {0,${t}}#`)),htmlBeginRegex:Xr(t=>new RegExp(`^ {0,${t}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:Xr(t=>new RegExp(`^ {0,${t}}>`))},dh=/^(?:[ \t]*(?:\n|$))+/,mh=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ph=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,U0=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,fh=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,zi=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Gl=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,jl=ce(Gl).replace(/bull/g,zi).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),gh=ce(Gl).replace(/bull/g,zi).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Ri=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,vh=/^[^\n]+/,Di=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,bh=ce(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Di).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),yh=ce(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,zi).getRegex(),qn="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ni=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,wh=ce("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Ni).replace("tag",qn).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Vl=t=>ce(Ri).replace("hr",U0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list",t).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qn).getRegex(),kh=Vl(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),xh=Vl(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),Sh=ce(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",xh).getRegex(),_i={blockquote:Sh,code:mh,def:bh,fences:ph,heading:fh,hr:U0,html:wh,lheading:jl,list:yh,newline:dh,paragraph:kh,table:Ir,text:vh},qs=ce("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",U0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qn).getRegex(),Ah={..._i,lheading:gh,table:qs,paragraph:ce(Ri).replace("hr",U0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",qs).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*(?:\\n|$))|~~~)[^\\n]*(?:\\n|$)").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",qn).getRegex()},Th={..._i,html:ce(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ni).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ir,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ce(Ri).replace("hr",U0).replace("heading",` *#{1,6} *[^
|
|
3
3
|
]`).replace("lheading",jl).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Mh=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Eh=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Yl=/^( {2,}|\\)\n(?!\s*$)/,Ch=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Vt=/[\p{P}\p{S}]/u,m0=/[\s\p{P}\p{S}]/u,W0=/[^\s\p{P}\p{S}]/u,Ih=ce(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,m0).getRegex(),zh=/[\p{Pi}\p{Ps}"']/u,Xl=/(?!~)[\p{P}\p{S}]/u,Rh=/(?!~)[\s\p{P}\p{S}]/u,Dh=/(?:[^\s\p{P}\p{S}]|~)/u,Nh=ce(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",hh?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Kl=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,_h=ce(Kl,"u").replace(/punct/g,Vt).getRegex(),Lh=ce(Kl,"u").replace(/punct/g,Xl).getRegex(),Oh=/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,Ph=ce(Oh,"u").replace(/openQuote/g,zh).replace(/punct/g,Vt).getRegex(),Zl="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",$h=ce(Zl,"gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),Bh=ce(Zl,"gu").replace(/notPunctSpace/g,Dh).replace(/punctSpace/g,Rh).replace(/punct/g,Xl).getRegex(),qh="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)",Fh=ce(qh,"gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),Hh=ce("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),Uh="^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)",Wh=ce(Uh,"gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),Gh=ce(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Vt).getRegex(),jh="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",Vh=ce(jh,"gu").replace(/notPunctSpace/g,W0).replace(/punctSpace/g,m0).replace(/punct/g,Vt).getRegex(),Yh=ce(/\\(punct)/,"gu").replace(/punct/g,Vt).getRegex(),Xh=ce(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Kh=ce(Ni).replace("(?:-->|$)","-->").getRegex(),Zh=ce("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Kh).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Nn=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,Qh=ce(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",Nn).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ql=ce(/^!?\[(label)\]\[(ref)\]/).replace("label",Nn).replace("ref",Di).getRegex(),Jl=ce(/^!?\[(ref)\](?:\[\])?/).replace("ref",Di).getRegex(),Jh=ce("reflink|nolink(?!\\()","g").replace("reflink",Ql).replace("nolink",Jl).getRegex(),Fs=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Li={_backpedal:Ir,anyPunctuation:Yh,autolink:Xh,blockSkip:Nh,br:Yl,code:Eh,del:Ir,delLDelim:Ir,delRDelim:Ir,emStrongLDelim:_h,emStrongRDelimAst:$h,emStrongRDelimUnd:Hh,escape:Mh,link:Qh,nolink:Jl,punctuation:Ih,reflink:Ql,reflinkSearch:Jh,tag:Zh,text:Ch,url:Ir},ed={...Li,emStrongLDelim:Ph,emStrongRDelimAst:Fh,emStrongRDelimUnd:Wh,link:ce(/^!?\[(label)\]\((.*?)\)/).replace("label",Nn).getRegex(),reflink:ce(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Nn).getRegex()},Za={...Li,emStrongRDelimAst:Bh,emStrongLDelim:Lh,delLDelim:Gh,delRDelim:Vh,url:ce(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Fs).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:ce(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Fs).getRegex()},td={...Za,br:ce(Yl).replace("{2,}","*").getRegex(),text:ce(Za.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},yn={normal:_i,gfm:Ah,pedantic:Th},x0={normal:Li,gfm:Za,breaks:td,pedantic:ed},rd={"&":"&","<":"<",">":">",'"':""","'":"'"},Hs=t=>rd[t];function Dt(t,e){if(e){if(Ye.escapeTest.test(t))return t.replace(Ye.escapeReplace,Hs)}else if(Ye.escapeTestNoEncode.test(t))return t.replace(Ye.escapeReplaceNoEncode,Hs);return t}function Us(t){try{t=encodeURI(t).replace(Ye.percentDecode,"%")}catch{return null}return t}function Ws(t,e){let r=t.replace(Ye.findPipe,(i,s,o)=>{let c=!1,h=s;for(;--h>=0&&o[h]==="\\";)c=!c;return c?"|":" |"}),n=r.split(Ye.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(Ye.slashPipe,"|");return n}function tr(t,e,r){let n=t.length;if(n===0)return"";let a=0;for(;a<n&&t.charAt(n-a-1)===e;)a++;return t.slice(0,n-a)}function Gs(t){let e=t.split(`
|
|
4
4
|
`),r=e.length-1;for(;r>=0&&Ye.blankLine.test(e[r]);)r--;return e.length-r<=2?t:e.slice(0,r+1).join(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./DYhIMPy1.js";import{p as r}from"./
|
|
1
|
+
import"./DYhIMPy1.js";import{p as r}from"./W61kh8fv.js";const t={get error(){return r.error},get params(){return r.params},get state(){return r.state},get status(){return r.status},get url(){return r.url}},s=t;export{s as p};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as fe}from"./
|
|
1
|
+
import{g as fe}from"./Dl2HfqsO.js";import{b as o,ay as te,X as U,aX as ye,ad as be,ah as me,aL as ke,b3 as Ee,O as K,aV as F,ax as _e,J as Se,an as Ne,au as ce,H as le}from"./DistMkl2.js";var $=(function(){var e=o(function(O,s,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],k=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(s,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),parse:o(function(s){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,ie=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(s,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var _,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=M[P]&&M[P][_]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(_==re?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[_]||_,line:b.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(x[0]){case 1:r.push(_),u.push(b.yytext),t.push(b.yylloc),r.push(x[1]),_=null,ie=b.yyleng,c=b.yytext,W=b.yylineno,q=b.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=u[u.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[c,ie,W,R.yy,x[1],u,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(j.$),t.push(j._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(s,n){return this.yy=n||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var n=s.length,r=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as pt,
|
|
1
|
+
import{t as pt,br as S,a_ as E,bz as bt,bt as Pt,b as Ct,bp as vt,bv as h}from"./CEL6QztG.js";import{bs as kt,ca as K,aD as n,c9 as i,a7 as L,ay as _,W as w,bn as $t,bS as yt,aA as I,aB as St}from"./DYhIMPy1.js";import{G as _t}from"./CuEQVba7.js";import{c as wt}from"./B4USm-wY.js";import{b2 as It}from"./znAltH1L.js";import{Ik as u,eu as Bt,ev as Wt,IR as Rt,J6 as Ut,IW as Tt,uH as Dt,o2 as V}from"./DYfeeu3f.js";import{g as At}from"./DfN8_dcw.js";import{bA as Ht,bC as Ft,dr as Mt}from"./Dml826jn.js";import{C as f}from"./DypB-Dwi.js";import"./UdI8St87.js";import"./yn6WWSq8.js";import"./CiSnSGvU.js";import{bc as xt}from"./DnKg2UsP.js";import"./Cd_8r4jJ.js";import"./MohDaz1W.js";import{T as Nt}from"./Ceq7cv95.js";import"./CGjjowC8.js";import{M as qt}from"./DSLbxDPz.js";import{V as Et}from"./FjbzmN5N.js";import{O as Kt}from"./CuWBzd-F.js";import{bQ as Lt,bK as Vt,b5 as Gt}from"./G3hahPKG.js";import{i as Ot}from"./H2jLkRRS.js";var zt=St("<!> <!>",1);function Jt(B,p){if(new.target)return pt({component:Jt,...B});kt(p,!0);const W=()=>h(et,"$workspace",m),P=()=>h(Y,"$ftChanges$",m),G=()=>h(Z,"$ftCommits$",m),R=()=>h(j,"$foldUnchanged",m),U=()=>h(Q,"$lineWrapping",m),T=()=>h(X,"$diffSideBySide",m),[m,O]=Pt(),z=t=>{Et(t,{embedded:!0,get foldEnabled(){return R()},onToggleFold:()=>u.dispatch(Tt()),get wrapEnabled(){return U()},onToggleWrap:()=>u.dispatch(Ut()),get splitEnabled(){return T()},onToggleSplit:()=>u.dispatch(Rt())})},J=t=>{var e=zt(),r=_(e);{let l=i(()=>vt.layout_diffHeader_goToFile_tooltip());wt(r,()=>qt,(y,ht)=>{ht(y,{get icon(){return xt},get label(){return n(l)},onclick:Qt=>ft()})})}var s=yt(r,2);{var d=l=>{Kt(l,{get filePath(){return n(k)},get workspaceId(){return o()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return n(v)}})};E(s,l=>{n(k)&&l(d)})}w(t,e)},Q=Lt(),j=Vt(),X=Gt();let a=S(p,"tab",7),o=S(p,"workspaceId",7),b=S(p,"isActive",7);const C=It(()=>o()),Y=Ht(C),Z=Ft(C),tt=new Set([f.Committed,f.Pushed,f.PullRequest,f.Merged,f.Trunk]),D=At(),et=Mt(C),nt=i(()=>W()?.worktreePath||W()?.repositoryPath||void 0);K(()=>{const t=o();if(!(!b()||!t||n(c)))return u.dispatch(Bt(t,"all")),()=>u.dispatch(Wt(t,"all"))});const c=i(()=>a().data?.gitRootId),A=i(()=>a().data?.gitRootPath),v=i(()=>n(A)||n(nt)),k=i(()=>a().diffPath&&n(v)?Ot(a().diffPath)?a().diffPath:`${n(v)}/${a().diffPath}`:null);function H(t,e){return!!(t.file===e||t.relativePath===e||t.relativePath&&e.endsWith("/"+t.relativePath)||t.file&&e.endsWith("/"+t.file)||t.relativePath&&t.relativePath.endsWith("/"+e)||t.file&&t.file.endsWith("/"+e))}function F(t){return!t||n(c)?null:P().find(e=>H(e,t)&&(e.stage==="staged"||e.stage==="unstaged"))??null}function at(t){if(!t||n(c))return null;let e=null,r=-1/0;for(const s of P()){if(!H(s,t)||!tt.has(s.stage)||!s.commitHash)continue;const d=s.attribution?.timestamp??0;d>=r&&(e=s,r=d)}return e}function it(t,e){return!!(t===e||e.endsWith("/"+t)||t.endsWith("/"+e))}function rt(t){if(!t||n(c))return null;for(const e of G())if(e?.hash&&e.files?.some(r=>r?.path&&it(r.path,t)))return{id:`diff-${t}-${e.hash}`,file:t,relativePath:t,status:"modified",stage:f.Committed,commitHash:e.hash,stats:{additions:0,deletions:0},attribution:{timestamp:e.timestamp??Date.now()}};return null}const M=i(()=>a().diffPath?F(a().diffPath):null),st=i(()=>{if(!a().diffPath)return 0;const t=F(a().diffPath),e=P().length;if(t){const r=t.stage==="staged"?1:t.stage==="unstaged"?2:3,s=(t.stats?.additions||0)+(t.stats?.deletions||0),d=t.attribution?.timestamp?t.attribution.timestamp%1e5:0;return r*1e6+s*1e3+d+e}return e}),g=i(()=>a().data?.change),x=i(()=>a().data?.branchBaseRef),N=i(()=>a().data?.branchBaseCommitSha),ot=i(()=>!!(n(x)||n(N))),$=i(()=>{if(n(g)?.commitHash)return n(g);if(n(M))return n(M);if(n(ot)&&n(g))return n(g);const t=at(a().diffPath??null);if(t)return t;const e=rt(a().diffPath??null);return e||(n(g)?n(g):{id:`diff-${a().diffPath}`,file:a().diffPath||"",relativePath:a().diffPath||"",status:"modified",stage:f.Unstaged,stats:{additions:0,deletions:0},attribution:{timestamp:Date.now()}})});function ft(t){if(!a().diffPath)return;const r={type:"file",title:a().diffPath.split("/").pop()||a().diffPath,closable:!0,filePath:n(k)||a().diffPath,workspaceId:o()};u.dispatch(Dt(o(),r))}K(()=>{!D||!b()||D.registerActions({display:z,actions:J})});function dt(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"stageHunk",filePath:t,hunkPatch:e,source:"diff"}))}function ut(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"unstageHunk",filePath:t,hunkPatch:e,source:"diff"}))}var ct={get tab(){return a()},set tab(t){a(t),I()},get workspaceId(){return o()},set workspaceId(t){o(t),I()},get isActive(){return b()},set isActive(t){b(t),I()},$set:bt,$on:(t,e)=>Ct(p,t,e)},q=L(),lt=_(q);{var mt=t=>{var e=L(),r=_(e);_t(r,()=>a().diffPath,s=>{{let d=i(()=>T()?"split":"unified"),l=i(()=>!n(c)&&n($).stage===f.Unstaged?dt:void 0),y=i(()=>!n(c)&&n($).stage===f.Staged?ut:void 0);Nt(s,{get active(){return b()},get change(){return n($)},get workspaceId(){return o()},get viewMode(){return n(d)},get foldUnchanged(){return R()},get lineWrapping(){return U()},get refreshKey(){return n(st)},get branchBaseRef(){return n(x)},get branchBaseCommitSha(){return n(N)},get gitRootId(){return n(c)},get gitRootPath(){return n(A)},get onStageHunk(){return n(l)},get onUnstageHunk(){return n(y)}})}}),w(t,e)};E(lt,t=>{a().diffPath&&t(mt)})}w(B,q);var gt=$t(ct);return O(),gt}export{Jt as default};
|