@intent-hq/web 2.327.0 → 2.327.2
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.BHoek2bX.css +1 -0
- package/web/app/immutable/assets/BrowserTabType.DojB6H-_.css +1 -0
- package/web/app/immutable/chunks/{Bx77RH2D.js → -ntpqjUQ.js} +1 -1
- package/web/app/immutable/chunks/{BNaHRmzO.js → 1JDc8gDP.js} +1 -1
- package/web/app/immutable/chunks/{BG0wXYTP.js → 2BNczbc1.js} +1 -1
- package/web/app/immutable/chunks/{D12HgGYA.js → 2Yr7qZy-.js} +1 -1
- package/web/app/immutable/chunks/{DNHsSCes.js → 2bCqOBlF.js} +2 -2
- package/web/app/immutable/chunks/{LsGMNfQF.js → 6eTaxSHq.js} +1 -1
- package/web/app/immutable/chunks/{NOdC8P9f.js → 7nLxl2IJ.js} +1 -1
- package/web/app/immutable/chunks/{0LhXCP94.js → 7rjdCDDK.js} +1 -1
- package/web/app/immutable/chunks/{CT-tNtwL.js → 95PmebfY.js} +1 -1
- package/web/app/immutable/chunks/{XNWMykPO.js → 9iFKJfkz.js} +1 -1
- package/web/app/immutable/chunks/{CWc2npkj.js → 9taqgPH1.js} +1 -1
- package/web/app/immutable/chunks/{Br4R2ugZ.js → Am8TuXrW.js} +1 -1
- package/web/app/immutable/chunks/{KeVqoPE3.js → AuTI2CWB.js} +1 -1
- package/web/app/immutable/chunks/{DBZtPAw6.js → Aw3-65IC.js} +1 -1
- package/web/app/immutable/chunks/{DMqElfxm.js → B-B22ZmQ.js} +1 -1
- package/web/app/immutable/chunks/{D9xO6S0s.js → B-LxAE4l.js} +1 -1
- package/web/app/immutable/chunks/{2NEwynpS.js → B-mVY4KG.js} +1 -1
- package/web/app/immutable/chunks/{O_PsNJaQ.js → B1nmZwVF.js} +1 -1
- package/web/app/immutable/chunks/{DJwbeAP3.js → B4Qf0RS5.js} +1 -1
- package/web/app/immutable/chunks/{QbsT67gn.js → B4Rscrf6.js} +1 -1
- package/web/app/immutable/chunks/{Bh1wyaG7.js → B5kBEM9z.js} +1 -1
- package/web/app/immutable/chunks/{DStHpf1P.js → B6ZEHAgn.js} +1 -1
- package/web/app/immutable/chunks/{T-K_7EnC.js → BBYPPwon.js} +1 -1
- package/web/app/immutable/chunks/{BMeZr_ZY.js → BCBkAQhq.js} +1 -1
- package/web/app/immutable/chunks/{jkLGgu1-.js → BDUVRWqe.js} +3 -3
- package/web/app/immutable/chunks/{Cufju0io.js → BFQmpH-Y.js} +1 -1
- package/web/app/immutable/chunks/{Bz8cPQaz.js → BGUHg5o_.js} +1 -1
- package/web/app/immutable/chunks/{DLGpFr8e.js → BIfN-lxi.js} +1 -1
- package/web/app/immutable/chunks/{dSxiKw5u.js → BJFbczXI.js} +1 -1
- package/web/app/immutable/chunks/{CpBlZvWi.js → BJpbRkma.js} +1 -1
- package/web/app/immutable/chunks/{BjM8_HSR.js → BK3YE2GB.js} +1 -1
- package/web/app/immutable/chunks/{BfF3Bko_.js → BMmC4e8Y.js} +1 -1
- package/web/app/immutable/chunks/{BuxJaWiM.js → BOY33UBS.js} +4 -4
- package/web/app/immutable/chunks/{aYTkKC29.js → BOod2-vo.js} +1 -1
- package/web/app/immutable/chunks/{OJckcu3J.js → BQKilZql.js} +1 -1
- package/web/app/immutable/chunks/{BsxzjRia.js → BTxVcBTE.js} +1 -1
- package/web/app/immutable/chunks/{B1ohiv8G.js → BUU84hQY.js} +1 -1
- package/web/app/immutable/chunks/{CRTNdBBv.js → BUcg736f.js} +1 -1
- package/web/app/immutable/chunks/{CFBUnCgB.js → BV4AHhCq.js} +1 -1
- package/web/app/immutable/chunks/{Cq8Jt7n-.js → BXo80d0I.js} +1 -1
- package/web/app/immutable/chunks/BYCQnKWG.js +227 -0
- package/web/app/immutable/chunks/{Ovgvmxzk.js → B_oexMWu.js} +1 -1
- package/web/app/immutable/chunks/{CQFSvKTc.js → BaUvfuFA.js} +1 -1
- package/web/app/immutable/chunks/BbEZgkca.js +2 -0
- package/web/app/immutable/chunks/{CW3DpzM0.js → BbiJIN_E.js} +1 -1
- package/web/app/immutable/chunks/{B3sypLPs.js → BclymnXe.js} +1 -1
- package/web/app/immutable/chunks/Bdee7uP3.js +1 -0
- package/web/app/immutable/chunks/{AyNqjFrC.js → BedviAdk.js} +1 -1
- package/web/app/immutable/chunks/{Cg9SqQ7c.js → BerYBtY0.js} +1 -1
- package/web/app/immutable/chunks/{wWvgnlMJ.js → BgiA9PsC.js} +2 -2
- package/web/app/immutable/chunks/{DAJaDZx7.js → Bhff3giG.js} +1 -1
- package/web/app/immutable/chunks/{BShEFC79.js → BiYl2nZq.js} +3 -3
- package/web/app/immutable/chunks/{DnFiaMvl.js → Bil-5-Mv.js} +1 -1
- package/web/app/immutable/chunks/{DzVbP61K.js → BirvpWBa.js} +1 -1
- package/web/app/immutable/chunks/{B_KuwYoa.js → BlmamAqo.js} +1 -1
- package/web/app/immutable/chunks/{giU_rdFX.js → BmnlV2jU.js} +1 -1
- package/web/app/immutable/chunks/{COnSiP7q.js → Bn-dz7cW.js} +1 -1
- package/web/app/immutable/chunks/{BzaZqOK5.js → BnxF3EEm.js} +1 -1
- package/web/app/immutable/chunks/{CHajdz2j.js → Bq9BF2kT.js} +1 -1
- package/web/app/immutable/chunks/{Bqp-VB-g.js → BrXRAcqE.js} +1 -1
- package/web/app/immutable/chunks/{CNJgwoNk.js → BsesepNZ.js} +1 -1
- package/web/app/immutable/chunks/{Dq6j0-2d.js → BvDDdxJ_.js} +1 -1
- package/web/app/immutable/chunks/{BxbB0_fE.js → BvULLTwA.js} +2 -2
- package/web/app/immutable/chunks/{_ANEY4lF.js → Bw8BPAST.js} +1 -1
- package/web/app/immutable/chunks/{BOAArWys.js → BwVx_Xm9.js} +1 -1
- package/web/app/immutable/chunks/{D7CVY9y_.js → BwY7DKzU.js} +1 -1
- package/web/app/immutable/chunks/{CloK0EEY.js → BxRFeUGV.js} +1 -1
- package/web/app/immutable/chunks/{1vv2LgJU.js → Byv1V5rF.js} +1 -1
- package/web/app/immutable/chunks/{B2pW1Srg.js → C-am1GTe.js} +1 -1
- package/web/app/immutable/chunks/{CJfy0DGd.js → C0AexULD.js} +1 -1
- package/web/app/immutable/chunks/{Cz0WCDEU.js → C1TwLTiC.js} +1 -1
- package/web/app/immutable/chunks/{-y8aRUXK.js → C1vc2ZF2.js} +1 -1
- package/web/app/immutable/chunks/{Bpv_7NSe.js → C2vxCrLD.js} +1 -1
- package/web/app/immutable/chunks/{CGyfJ3wZ.js → C3g8Ux-E.js} +15 -15
- package/web/app/immutable/chunks/{Btvd3YqX.js → C4ih-xND.js} +2 -2
- package/web/app/immutable/chunks/{DttEjUfQ.js → C5SMJxa0.js} +2 -2
- package/web/app/immutable/chunks/{CtrcoLr_.js → C5bHHEee.js} +1 -1
- package/web/app/immutable/chunks/{TthnIsvT.js → C5mH9Vrl.js} +1 -1
- package/web/app/immutable/chunks/{DffOpxnk.js → C6-cGH2l.js} +1 -1
- package/web/app/immutable/chunks/{XEwS43QE.js → C6LN2Lq-.js} +1 -1
- package/web/app/immutable/chunks/{BIDHVOHc.js → C7eFRIGF.js} +1 -1
- package/web/app/immutable/chunks/{D-RJNO4X.js → C9-oKvmU.js} +1 -1
- package/web/app/immutable/chunks/{ncAOXs0r.js → CAL5qbag.js} +1 -1
- package/web/app/immutable/chunks/{CQs3nGye.js → CB-J-0bJ.js} +1 -1
- package/web/app/immutable/chunks/{MFRf7XsP.js → CBEZBV7x.js} +1 -1
- package/web/app/immutable/chunks/{L34ozHWW.js → CDFRtA1F.js} +1 -1
- package/web/app/immutable/chunks/{0FIzxpig.js → CFXA-WTd.js} +1 -1
- package/web/app/immutable/chunks/{CVrziC3b.js → CHb5dSdm.js} +1 -1
- package/web/app/immutable/chunks/{DywqqPBY.js → CIno4eJd.js} +1 -1
- package/web/app/immutable/chunks/{DoUTd6YZ.js → CJvik4ry.js} +1 -1
- package/web/app/immutable/chunks/{DQtJDu2z.js → CKjldRop.js} +1 -1
- package/web/app/immutable/chunks/{CZ3gqcH0.js → CLDLGPLG.js} +1 -1
- package/web/app/immutable/chunks/{BfxuxK8H.js → CLbcqiJX.js} +1 -1
- package/web/app/immutable/chunks/{wtQc1nfb.js → CNZwPZBB.js} +1 -1
- package/web/app/immutable/chunks/CNdlzZOD.js +1 -0
- package/web/app/immutable/chunks/{B1HL5ujX.js → COPJQClu.js} +1 -1
- package/web/app/immutable/chunks/{CJNRFxp-.js → COyObFie.js} +1 -1
- package/web/app/immutable/chunks/{h64QYX68.js → CPzusSaQ.js} +1 -1
- package/web/app/immutable/chunks/{Djac9356.js → CSk0KPBP.js} +1 -1
- package/web/app/immutable/chunks/CTMsT2IU.js +13 -0
- package/web/app/immutable/chunks/{CAGE-6rK.js → CTc1mqQ1.js} +1 -1
- package/web/app/immutable/chunks/{Bv_Vppnv.js → CW87SeGI.js} +1 -1
- package/web/app/immutable/chunks/{DG_DKtEi.js → CW9PUdij.js} +1 -1
- package/web/app/immutable/chunks/{CR_DZSId.js → CWXjKpBJ.js} +1 -1
- package/web/app/immutable/chunks/{D_3K3qbV.js → CXCbFJ1d.js} +1 -1
- package/web/app/immutable/chunks/{Bw_y1gSr.js → CYgFtonv.js} +1 -1
- package/web/app/immutable/chunks/{C7QVfuKS.js → C_4hXDel.js} +1 -1
- package/web/app/immutable/chunks/{shMIdOXY.js → Ca3Yads8.js} +4 -4
- package/web/app/immutable/chunks/{CIas9vXT.js → CaaDYQm4.js} +6 -6
- package/web/app/immutable/chunks/{D4V2xQ2J.js → CcSZNfbk.js} +1 -1
- package/web/app/immutable/chunks/{Dv5eIHFX.js → CdhZKdub.js} +1 -1
- package/web/app/immutable/chunks/{C46AGI2o.js → CdlZ8r5v.js} +1 -1
- package/web/app/immutable/chunks/{CLKUBIbV.js → CeL4K7HS.js} +1 -1
- package/web/app/immutable/chunks/{BHt8Cv_F.js → ChyK3c5O.js} +1 -1
- package/web/app/immutable/chunks/{C_GLszen.js → Ciht8P3-.js} +1 -1
- package/web/app/immutable/chunks/{7DG8yVyI.js → ClBnJ15C.js} +1 -1
- package/web/app/immutable/chunks/{CECd-ew5.js → ClHpwdNk.js} +1 -1
- package/web/app/immutable/chunks/{BhpvRaEf.js → Co3V5w5D.js} +1 -1
- package/web/app/immutable/chunks/{DyVs3tqq.js → ColHxoku.js} +4 -4
- package/web/app/immutable/chunks/{CrgKSEA9.js → CpOX1cm0.js} +4 -4
- package/web/app/immutable/chunks/{cEpdukj-.js → CpPVAOg5.js} +1 -1
- package/web/app/immutable/chunks/{SFeFj2Mb.js → CqnfptVg.js} +1 -1
- package/web/app/immutable/chunks/{OcoLTaau.js → CrN8CpnY.js} +1 -1
- package/web/app/immutable/chunks/{B90oo4Fg.js → CtRuzEKN.js} +1 -1
- package/web/app/immutable/chunks/{BbM6p2an.js → CuF24etW.js} +1 -1
- package/web/app/immutable/chunks/{CEB0BOhp.js → CuimWTUN.js} +1 -1
- package/web/app/immutable/chunks/{x_2obwKo.js → CvG8wNT6.js} +1 -1
- package/web/app/immutable/chunks/{C_P93GWd.js → Cw26kBCe.js} +1 -1
- package/web/app/immutable/chunks/{CV8S2_aN.js → Cwdoe-yo.js} +1 -1
- package/web/app/immutable/chunks/{CfViy2AB.js → Cy1SRgRj.js} +1 -1
- package/web/app/immutable/chunks/{BBuOsJY_.js → CypQ6Hrf.js} +1 -1
- package/web/app/immutable/chunks/{BEDYQfP7.js → CzSCQAr8.js} +1 -1
- package/web/app/immutable/chunks/{Bz7DX0NE.js → CzxoHP9X.js} +1 -1
- package/web/app/immutable/chunks/{CAhkQWjW.js → D-YrUZis.js} +1 -1
- package/web/app/immutable/chunks/{Bgx4jaT-.js → D0OfnhNR.js} +3 -3
- package/web/app/immutable/chunks/{BGS5RHiS.js → D19QPbvx.js} +3 -3
- package/web/app/immutable/chunks/{DRs_Vsjz.js → D1ynivqZ.js} +1 -1
- package/web/app/immutable/chunks/{exWdi0_e.js → D3NOBSUZ.js} +3 -3
- package/web/app/immutable/chunks/{DvIxHqlz.js → D4fSLYwV.js} +1 -1
- package/web/app/immutable/chunks/{CI_vWjAX.js → D4wUHJ-V.js} +1 -1
- package/web/app/immutable/chunks/{Cz7lWcpW.js → D4wVqBkS.js} +1 -1
- package/web/app/immutable/chunks/{ChbqD4nY.js → D6NxvjAo.js} +2 -2
- package/web/app/immutable/chunks/{B7UZ3osx.js → D6R6bmhK.js} +1 -1
- package/web/app/immutable/chunks/{1eeMnGBt.js → D7NWkz7l.js} +1 -1
- package/web/app/immutable/chunks/{DVTqQKPY.js → D7jA8MQK.js} +1 -1
- package/web/app/immutable/chunks/{BIJpUOPV.js → D8iLOeUT.js} +1 -1
- package/web/app/immutable/chunks/{5cZ8f6NM.js → D9E32u14.js} +1 -1
- package/web/app/immutable/chunks/{CchLUU-A.js → DAXKoZjm.js} +1 -1
- package/web/app/immutable/chunks/{DG0gPQWA.js → DCo2M5nt.js} +1 -1
- package/web/app/immutable/chunks/{DhMntDzP.js → DF5OSHTI.js} +1 -1
- package/web/app/immutable/chunks/{dHhYWIBz.js → DFghII67.js} +1 -1
- package/web/app/immutable/chunks/{B3FUftaT.js → DFxg8FPE.js} +1 -1
- package/web/app/immutable/chunks/{BwA79r4u.js → DGuIJztL.js} +1 -1
- package/web/app/immutable/chunks/{g2wqtBd2.js → DIh4SQwA.js} +1 -1
- package/web/app/immutable/chunks/{B_68BQEQ.js → DKz0oh_l.js} +1 -1
- package/web/app/immutable/chunks/DLrZLCmS.js +1 -0
- package/web/app/immutable/chunks/{COzH17cB.js → DQfuBwT8.js} +1 -1
- package/web/app/immutable/chunks/{D3HFKabi.js → DSwaqM2D.js} +1 -1
- package/web/app/immutable/chunks/{kD3RPqIy.js → DT-w4ZA3.js} +1 -1
- package/web/app/immutable/chunks/{CmKBHt37.js → DTOenBGo.js} +1 -1
- package/web/app/immutable/chunks/{CZq5__sk.js → DULzeUbw.js} +1 -1
- package/web/app/immutable/chunks/{Du-ii3l_.js → DVe2mCXY.js} +1 -1
- package/web/app/immutable/chunks/{EYJPT7ez.js → DVnJa0eT.js} +1 -1
- package/web/app/immutable/chunks/{Bu6O9iBY.js → DXmMVRov.js} +1 -1
- package/web/app/immutable/chunks/{D7UcpeiI.js → DZzTUgIA.js} +1 -1
- package/web/app/immutable/chunks/{BNn8Ec2v.js → D_TIL4Xc.js} +1 -1
- package/web/app/immutable/chunks/{DVWkN6zJ.js → D_fIP8PG.js} +1 -1
- package/web/app/immutable/chunks/{CHtnIE14.js → D_kdhP8o.js} +1 -1
- package/web/app/immutable/chunks/{gTEq_pBM.js → DacYbmEF.js} +1 -1
- package/web/app/immutable/chunks/{C28yvyOi.js → DbYMKWAI.js} +2 -2
- package/web/app/immutable/chunks/{CXJnOaE2.js → Dd-c6aT7.js} +1 -1
- package/web/app/immutable/chunks/{BRqn1o3u.js → DeB-Py0k.js} +1 -1
- package/web/app/immutable/chunks/{Ca70R1oc.js → DeQzn7pT.js} +1 -1
- package/web/app/immutable/chunks/Debl1LJu.js +1 -0
- package/web/app/immutable/chunks/{DzgG9d04.js → DgtgAyRj.js} +1 -1
- package/web/app/immutable/chunks/{BTHiTKPc.js → DguixOqZ.js} +1 -1
- package/web/app/immutable/chunks/{B07w1Xvt.js → DhAAH4rU.js} +1 -1
- package/web/app/immutable/chunks/{b9Vr5sSO.js → DhJNH_hq.js} +1 -1
- package/web/app/immutable/chunks/{DWPjXtoT.js → DkPB5Gyi.js} +1 -1
- package/web/app/immutable/chunks/{gAYIZ12J.js → DkcUxSHK.js} +1 -1
- package/web/app/immutable/chunks/{D1TG5G7m.js → Dmq2MLxr.js} +1 -1
- package/web/app/immutable/chunks/{VGIN_p1t.js → Do9PiZ5P.js} +2 -2
- package/web/app/immutable/chunks/{FVYA7zYF.js → DoKuqfYA.js} +1 -1
- package/web/app/immutable/chunks/{B7-qYhrK.js → DoV4Ngwf.js} +1 -1
- package/web/app/immutable/chunks/Dp0wSsDS.js +2 -0
- package/web/app/immutable/chunks/{B1LjZG7N.js → DpJ6ItFS.js} +1 -1
- package/web/app/immutable/chunks/DqIdPWw6.js +1 -0
- package/web/app/immutable/chunks/{ComHdR-u.js → DqLpc8uk.js} +1 -1
- package/web/app/immutable/chunks/{BawcAaK2.js → Dr-K85Pz.js} +1 -1
- package/web/app/immutable/chunks/{CdmW6laI.js → DrH3w3jB.js} +1 -1
- package/web/app/immutable/chunks/{BtodRLK5.js → DsvlGcLM.js} +1 -1
- package/web/app/immutable/chunks/{D88AXVkV.js → DuXpPbhO.js} +1 -1
- package/web/app/immutable/chunks/{B7UjoaT4.js → DugVvFNn.js} +1 -1
- package/web/app/immutable/chunks/{CnMWAn59.js → DvnDAxdo.js} +1 -1
- package/web/app/immutable/chunks/{BgtLN2kD.js → DwkxcWNI.js} +3 -3
- package/web/app/immutable/chunks/{BoLnGk3G.js → Es_LZ_6E.js} +1 -1
- package/web/app/immutable/chunks/{vpJZSAdN.js → Fb6bTqJy.js} +1 -1
- package/web/app/immutable/chunks/{BACH6cFH.js → Gh0Bk6WC.js} +1 -1
- package/web/app/immutable/chunks/{1cW9cCot.js → HVSUZ4Kq.js} +1 -1
- package/web/app/immutable/chunks/{BX_AS4NO.js → HdOtmFfs.js} +1 -1
- package/web/app/immutable/chunks/{-YfVx6Lr.js → HpcR9-ZP.js} +1 -1
- package/web/app/immutable/chunks/{BwBvFc9f.js → IsBHRTqp.js} +1 -1
- package/web/app/immutable/chunks/{YqIGmKYo.js → KuKwSJYu.js} +1 -1
- package/web/app/immutable/chunks/{Dz2fLbdn.js → LknVBIaq.js} +1 -1
- package/web/app/immutable/chunks/{DDBvEq_9.js → M0UFWl_S.js} +1 -1
- package/web/app/immutable/chunks/{tLxzRwgx.js → M47n670V.js} +1 -1
- package/web/app/immutable/chunks/{D16bMDoO.js → MgRcWC-F.js} +1 -1
- package/web/app/immutable/chunks/{91je9Py3.js → OhUwMaQy.js} +1 -1
- package/web/app/immutable/chunks/{C43voWK4.js → Ou2B083h.js} +3 -3
- package/web/app/immutable/chunks/{ifFNiH_Q.js → Ph7T0qF8.js} +1 -1
- package/web/app/immutable/chunks/{CWf45qwn.js → Q-FVgluz.js} +1 -1
- package/web/app/immutable/chunks/{C2jgF35o.js → RgXiUiyX.js} +1 -1
- package/web/app/immutable/chunks/{BqIts_L0.js → X6OEIYik.js} +1 -1
- package/web/app/immutable/chunks/{G424GJSb.js → XKfxOi0c.js} +1 -1
- package/web/app/immutable/chunks/{CToUKfVS.js → YcWsBw0J.js} +1 -1
- package/web/app/immutable/chunks/{DI2RXiNP.js → ZynkSP7B.js} +1 -1
- package/web/app/immutable/chunks/{Bxb00R27.js → _tv07_-D.js} +1 -1
- package/web/app/immutable/chunks/{CrYKIqze.js → b0njYmMP.js} +1 -1
- package/web/app/immutable/chunks/{C89aUqor.js → b8_D7H9k.js} +1 -1
- package/web/app/immutable/chunks/{CRgWqp0Q.js → bkMlvHq9.js} +1 -1
- package/web/app/immutable/chunks/{CM-bTlQg.js → dd8yLL6Y.js} +1 -1
- package/web/app/immutable/chunks/{BKGMAISF.js → dinOFH6z.js} +1 -1
- package/web/app/immutable/chunks/{Ctnx9l23.js → ewlOsRgS.js} +1 -1
- package/web/app/immutable/chunks/{XgnGQLkv.js → fSndiqme.js} +1 -1
- package/web/app/immutable/chunks/{CMGTMc9v.js → ffjPpoAP.js} +1 -1
- package/web/app/immutable/chunks/{D3JfjJlO.js → gnxdhh79.js} +1 -1
- package/web/app/immutable/chunks/{BiQ0kKJZ.js → jD6u_pUu.js} +1 -1
- package/web/app/immutable/chunks/jxb5pgpW.js +19 -0
- package/web/app/immutable/chunks/{CnFIAIdG.js → l7AMrk83.js} +1 -1
- package/web/app/immutable/chunks/{DiU_67YU.js → marbulK7.js} +1 -1
- package/web/app/immutable/chunks/{MvsbJRbe.js → n9Db8fQb.js} +1 -1
- package/web/app/immutable/chunks/{CZ2HrVJB.js → qB-JaQGy.js} +1 -1
- package/web/app/immutable/chunks/{D1tS2Sh2.js → se5GXd0p.js} +1 -1
- package/web/app/immutable/chunks/{Boy3njow.js → tVWh__3e.js} +1 -1
- package/web/app/immutable/chunks/{C2u3n3wb.js → uxNvmxnz.js} +1 -1
- package/web/app/immutable/chunks/{DvXSnwEo.js → vxH9TB8u.js} +1 -1
- package/web/app/immutable/chunks/{BotIyjuf.js → wOsjtdPJ.js} +1 -1
- package/web/app/immutable/chunks/{BsmdqgDs.js → xNaKu_mj.js} +1 -1
- package/web/app/immutable/entry/{app.D13wouTF.js → app.CUk63TN3.js} +3 -3
- package/web/app/immutable/entry/start.ByRHyT3-.js +1 -0
- package/web/app/immutable/nodes/{0.4_Enqr75.js → 0.D4UmpUyl.js} +1 -1
- package/web/app/immutable/nodes/{1.0GDoH7pL.js → 1.DTuLvyGe.js} +1 -1
- package/web/app/immutable/nodes/{10.BLmBSn8S.js → 10.yW5YYZcV.js} +1 -1
- package/web/app/immutable/nodes/{11.CS_mVYvl.js → 11.fqpT905Q.js} +1 -1
- package/web/app/immutable/nodes/{12.DWOozFK_.js → 12.B-WFagfi.js} +1 -1
- package/web/app/immutable/nodes/{13.CRnWHlMu.js → 13.knDmuG_H.js} +3 -3
- package/web/app/immutable/nodes/{14.D9wSVPA8.js → 14.CtAbrlVb.js} +1 -1
- package/web/app/immutable/nodes/{15.CvF4Yj4G.js → 15.5d-87wXx.js} +1 -1
- package/web/app/immutable/nodes/{16.CbnUh4xL.js → 16.BcAEiIYy.js} +1 -1
- package/web/app/immutable/nodes/{17.D8qEGYSE.js → 17.S_DWC10F.js} +2 -2
- package/web/app/immutable/nodes/{2.Bb9M8Sb_.js → 2.D-iQ8fmd.js} +11 -11
- package/web/app/immutable/nodes/{3.3kLveQ--.js → 3.CQKvVdrW.js} +1 -1
- package/web/app/immutable/nodes/{4.Di28fdFS.js → 4.Dq9WSzj3.js} +1 -1
- package/web/app/immutable/nodes/{5.DFuaA1cK.js → 5.C2b8MeJP.js} +2 -2
- package/web/app/immutable/nodes/{6.CSKX9gfc.js → 6.DZyVWynY.js} +1 -1
- package/web/app/immutable/nodes/{7.pjH2istV.js → 7.BNPj2Hjb.js} +1 -1
- package/web/app/immutable/nodes/{8.JlRHumI8.js → 8.CYaF3iZ7.js} +4 -4
- package/web/app/immutable/nodes/{9.Dfi2ySix.js → 9.D9yeuWg6.js} +16 -16
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +20 -20
- package/web/app/immutable/assets/0.B58gYYGv.css +0 -1
- package/web/app/immutable/assets/BrowserTabType.Dm5f_Y-q.css +0 -1
- package/web/app/immutable/chunks/BCH_5tMO.js +0 -13
- package/web/app/immutable/chunks/BkBjviLd.js +0 -1
- package/web/app/immutable/chunks/CCTMo-Up.js +0 -19
- package/web/app/immutable/chunks/CfbNoxr9.js +0 -2
- package/web/app/immutable/chunks/Ct_6Kn0V.js +0 -1
- package/web/app/immutable/chunks/Cw90TeMe.js +0 -2
- package/web/app/immutable/chunks/DM-tQz5k.js +0 -227
- package/web/app/immutable/chunks/Df216rki.js +0 -1
- package/web/app/immutable/chunks/WfmfYu3F.js +0 -1
- package/web/app/immutable/chunks/syxE6N1N.js +0 -1
- package/web/app/immutable/entry/start.CNSNzsXg.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as S}from"./BJzHxIyr.js";import{aE as g}from"./DYhIMPy1.js";import{g as c}from"./
|
|
1
|
+
import{a as S}from"./BJzHxIyr.js";import{aE as g}from"./DYhIMPy1.js";import{g as c}from"./CaaDYQm4.js";import{p as l}from"./uxNvmxnz.js";import{d as I}from"./B0Z-1lwJ.js";import{dA as w}from"./BsesepNZ.js";import{Bg as f,g as y,Ig as o,gU as A,uQ as m,uR as N,uT as b}from"./BJpbRkma.js";import{g as W,n as h}from"./C6LN2Lq-.js";import{S as D,a as R,n as E}from"./C4ih-xND.js";import{n as O,o as v}from"./B1nmZwVF.js";const k="intent:onboarding-skip:v1";function P(e){return f.getItem(h(k,e))==="1"}function re(e){P(e)||f.setItem(h(k,e),"1")}function _(e){return e.connections?.hasReceivedList===!0&&P(W(e))}function F(e,a){return e.some(t=>t.id!==y&&t.id!==a&&t.status!=="Archived"&&t.status!=="Deleted")}function j(e,a,t=!1){return t||F(e,a)?"/":"/workspace/new"}function d(e,a){return j(w.select(e),a,_(e))}const se=Object.freeze(Object.defineProperty({__proto__:null,resolveWindowEmptyDestination:d},Symbol.toStringTag,{value:"Module"})),r=new S("WorkspaceNavigation");async function L(e){r.info(`[navigateToAgent] Navigating to agent: ${e}`);const t=g(l).params.id;if(!t){r.error("[navigateToAgent] No workspace ID found in current page params");return}const n=new URL(window.location.href);n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","agent"),n.searchParams.set("selectedAgent",e),n.searchParams.delete("selectedTerminal"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"agent",e))}async function U(e){r.info(`[navigateToTerminal] Navigating to terminal: ${e}`);const t=g(l).params.id;if(!t){r.error("[navigateToTerminal] No workspace ID found in current page params");return}const n=new URL(window.location.href),i=n.searchParams.get("drawerOpen")==="1",s=n.searchParams.get("drawerType")==="terminal";(!i||!s)&&n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","terminal"),n.searchParams.set("selectedTerminal",e),n.searchParams.delete("selectedAgent"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"terminal",e))}function $(e){return!e||!(e instanceof Element)?void 0:e.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0}async function p(e,a){r.info(`[navigateToNote] Navigating to note: ${e}`,a);const t=g(l),n=a?.workspaceId??t.params.id;if(!n){r.error("[navigateToNote] No workspace ID found in current page params");return}o.dispatch(b(n,e,{openInAdjacentPanel:a?.openInAdjacentPanel??!1,openInNewAdjacentPanel:a?.openInNewAdjacentPanel??!1,sourcePanelId:a?.sourcePanelId}))}async function C(e,a,t){r.info(`[navigateToFile] Navigating to file: ${e}${a?` (line ${a})`:""}`,t);const i=g(l).params.id;if(!i){r.error("[navigateToFile] No workspace ID found in current page params");return}o.dispatch(N(i,e,{line:a,openInAdjacentPanel:t?.openInAdjacentPanel??!1,sourcePanelId:t?.sourcePanelId}))}async function B(){r.info("[navigateToSpec] Navigating to workspace spec"),await p("spec")}async function M(){r.info("[closeDrawer] Closing drawer");const a=g(l).params.id;if(!a){r.error("[closeDrawer] No workspace ID found in current page params");return}const t=new URL(window.location.href);t.searchParams.set("drawerOpen","0"),t.searchParams.delete("selectedAgent"),t.searchParams.delete("selectedTerminal"),await c(t.toString(),{replaceState:!0}),o.dispatch(A(a))}async function K(){r.info("[clearMainContent] Clearing main content");const e=new URL(window.location.href);e.searchParams.set("mainContentType","empty"),e.searchParams.delete("selectedNoteId"),e.searchParams.delete("selectedFile"),e.searchParams.delete("line"),await c(e.toString(),{replaceState:!1})}async function G(e,a,t){r.info("[navigateToTask] Navigating to task",{noteId:e,taskPosition:a,taskText:t}),await p(e);const n=()=>{I("scroll-to-task",{noteId:e,taskPosition:a,taskText:t},{bubbles:!0}),r.debug("[navigateToTask] Dispatched scroll-to-task event",{noteId:e,taskPosition:a})},i=[100,300,600];for(const s of i)setTimeout(n,s)}async function H(e){r.info("[navigateToSettings] Navigating to settings",e);const a=new URL("/settings",window.location.origin),t=window.location.pathname.match(/^\/workspace\/([^/]+)/)?.[1],n=t==="new"?void 0:t,i=e?.workspaceId??n;if(e?.tab&&a.searchParams.set("tab",e.tab),e?.specialist&&a.searchParams.set("specialist",e.specialist),e?.view&&a.searchParams.set("view",e.view),i&&a.searchParams.set("workspaceId",i),e?.hash&&(a.hash=e.hash),typeof window<"u"&&window.location.pathname==="/settings"){if(e?.tab||e?.specialist||e?.view||e?.workspaceId){const s=new URL(window.location.href);e?.tab&&s.searchParams.set("tab",e.tab),e?.specialist&&s.searchParams.set("specialist",e.specialist),e?.view&&s.searchParams.set("view",e.view),e?.workspaceId&&s.searchParams.set("workspaceId",e.workspaceId),e?.hash&&(s.hash=e.hash),await c(s.toString(),{replaceState:!0});return}if(e?.hash){const s=`#${e.hash}`;window.location.hash===s&&(window.location.hash=""),window.location.hash=s;return}return}await E(a.pathname+a.search+a.hash)}function T(){const e=typeof sessionStorage>"u"?null:sessionStorage.getItem(D);if(e&&e!=="/"&&!R(e))return e;const a=u();return a?`/workspace/${a.id}`:d(o.state)}async function z(){const e=T();r.info("[navigateBackFromSettings] Navigating back to:",e),await O(e)}function u(e){return w.select(o.state).find(a=>a.id!==e&&a.status!=="Archived"&&a.status!=="Deleted")}async function Y(){const e=u();if(e){r.info("[navigateToFirstWorkspace] Showing workspace:",e.id),await v(e.id);return}const a=d(o.state);r.info("[navigateToFirstWorkspace] Navigating to:",a),await c(a)}async function Q(e){const a=u(e);if(a){r.info("[navigateAfterWorkspaceRemoval] Showing workspace:",a.id),await v(a.id);return}const t=d(o.state,e);r.info("[navigateAfterWorkspaceRemoval] Navigating to:",t),await c(t)}const ie=Object.freeze(Object.defineProperty({__proto__:null,clearMainContent:K,closeDrawer:M,findSourcePanelId:$,getSettingsPreviousPath:T,navigateAfterWorkspaceRemoval:Q,navigateBackFromSettings:z,navigateToAgent:L,navigateToFile:C,navigateToFirstWorkspace:Y,navigateToNote:p,navigateToSettings:H,navigateToSpec:B,navigateToTask:G,navigateToTerminal:U},Symbol.toStringTag,{value:"Module"}));export{C as a,Y as b,p as c,H as d,G as e,$ as f,d as g,ie as h,_ as i,z as n,re as r,se as w};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bo as v,t as Ft,bq as y,a_ as D,by as zt,b as Ht,br as Hf,bu as St,bs as ia,bt as yi,b7 as dl,ba as jf,bl as Wf,bb as Uf,bm as qf,a$ as Vf,b9 as Kf,b8 as Gf,b2 as Jf,bf as Yf,bg as Xf,bk as Zf,be as Qf,bn as $f,b0 as ep,b4 as tp,bi as rp,bh as np,b6 as ap,b5 as sp,b3 as op,bd as ip,bc as lp,bj as cp,b1 as dp,_ as up}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/D6NxvjAo.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/CNdlzZOD.js","/app/immutable/chunks/DIh4SQwA.js","/app/immutable/chunks/CcSZNfbk.js","/app/immutable/chunks/HVSUZ4Kq.js","/app/immutable/chunks/9iFKJfkz.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/BJpbRkma.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/DsvlGcLM.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/DrH3w3jB.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/DwkxcWNI.js","/app/immutable/chunks/b0njYmMP.js","/app/immutable/chunks/CrN8CpnY.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DZzTUgIA.js","/app/immutable/chunks/OhUwMaQy.js","/app/immutable/chunks/BwVx_Xm9.js","/app/immutable/chunks/CPzusSaQ.js","/app/immutable/chunks/BIfN-lxi.js","/app/immutable/chunks/BxRFeUGV.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/D8iLOeUT.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BsieX9dN.js","/app/immutable/assets/observe-overflow.CbDLK6fN.css","/app/immutable/chunks/C1TwLTiC.js","/app/immutable/chunks/BbiJIN_E.js","/app/immutable/chunks/Co3V5w5D.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/bkMlvHq9.js","/app/immutable/chunks/CqnfptVg.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/COyObFie.js","/app/immutable/chunks/BK3YE2GB.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/YcWsBw0J.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/D7NWkz7l.js","/app/immutable/chunks/BsesepNZ.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/DhJNH_hq.js","/app/immutable/chunks/M0UFWl_S.js","/app/immutable/chunks/Gh0Bk6WC.js","/app/immutable/chunks/IsBHRTqp.js","/app/immutable/chunks/1JDc8gDP.js","/app/immutable/chunks/C6LN2Lq-.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/C4ih-xND.js","/app/immutable/chunks/D1ynivqZ.js","/app/immutable/chunks/CaaDYQm4.js","/app/immutable/chunks/uxNvmxnz.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/B1nmZwVF.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bo as v,t as Ft,bq as y,a_ as D,by as zt,b as Ht,br as Hf,bu as St,bs as ia,bt as yi,b7 as dl,ba as jf,bl as Wf,bb as Uf,bm as qf,a$ as Vf,b9 as Kf,b8 as Gf,b2 as Jf,bf as Yf,bg as Xf,bk as Zf,be as Qf,bn as $f,b0 as ep,b4 as tp,bi as rp,bh as np,b6 as ap,b5 as sp,b3 as op,bd as ip,bc as lp,bj as cp,b1 as dp,_ as up}from"./CNdlzZOD.js";import{bI as fp,bj as Is,aG as pp,bs as jt,aD as e,a5 as I,bS as m,bA as w,W as d,bn as Wt,c9 as u,aA as _,a7 as wt,ay as qe,be as tr,b$ as Mt,aC as wa,bl as R,b_ as k,bO as x,aB as S,bo as Cs,ca as It,bH as L,bV as be,br as Vr,bk as Es,c0 as Qn,ai as Na,cd as Qa,aw as Cn,a as gp,aj as Nr,c7 as vp,c6 as ul,c5 as En,bf as Vs,bz as ed}from"./DYhIMPy1.js";import{G as Ks,I as mp,z as hp}from"./DrH3w3jB.js";import{o as bp,i as yp,u as ne,g as Bn,w as An,l as Pn,j as dr,v as gt,I as Ps,n as Lt,p as Mr,q as _p,s as xp,m as wp,x as kp}from"./9iFKJfkz.js";import{s as vn}from"./DIh4SQwA.js";import{c as en}from"./b0njYmMP.js";import{I as Vo,t as or,n as Sp,i as fl,u as pl}from"./HVSUZ4Kq.js";import{b as vr}from"./BaIAhI85.js";import{i as td,bu as Ip,cK as Cp,dE as Ep,dq as Pp,ax as Ap,ct as Tp,a2 as Rp,cQ as Lp,dp as vs,aC as ao,c2 as Mp,I as Np,a as Op,a0 as gl,cW as Dp,bS as Bp,M as Fp,dk as zp,W as Hp,dv as jp,af as Wp,at as Up,g as qp,u as Vp}from"./BsesepNZ.js";import{c as Kp}from"./D-62MVd3.js";import{k as na,w as Gp,C as rd,c as Jp,R as Yp}from"./YcWsBw0J.js";import{f as bt,ap as Xa,ai as Xp,am as Ko,bc as Zp}from"./DwkxcWNI.js";import{am as Qp,aa as vl,_ as $p,az as eg,ab as tg,h as rg,aR as ng,I as ag,R as sg,ar as og,af as ig,$ as lg,a as ml,as as cg,r as dg,n as ug,aX as fg,m as pg,aZ as Go,A as hl,ae as gg,aY as vg,ao as nd,Q as ad,a6 as mg,a5 as bl,U as hg,K as yl}from"./Ca3Yads8.js";import{F as Pt,bf as Jo,bJ as bg,am as yg,aO as _g,cJ as xg,bj as _i,bz as wg,aE as sd,aJ as xi,cY as Gs,a9 as Yo,cl as kg,cb as Sg,cg as wi,cD as od,bq as Ig,e as Cg,bZ as _l,c7 as Eg,cj as Pg,cU as id,bT as xl,b6 as So,bc as us,aD as Ag,ax as Xo,as as ld,ba as cd,bA as Tg,B as Rg,bt as Lg,a4 as dd,cf as Mg,aj as ud,cL as fd,cH as wl,aq as pd,aI as kl,_ as Ng,ct as Og,cS as Dg,aH as Bg,aZ as Fg,bM as gd,bl as zg,c3 as Sl,al as vd,aw as Hg,a7 as jg,a5 as Wg}from"./BIfN-lxi.js";import{c as md}from"./ChTqQfQN.js";import{g as Ug}from"./CqnfptVg.js";import{Ig as Nt,bM as qg,rO as Il,so as Vg,J3 as Kg,J9 as Gg,g as hd,HV as Jg,nx as bd,nN as yd,nM as _d,nq as so,q0 as ki,xL as Yg,uR as zs,u8 as Zo,uT as Xg,nf as xd,Il as Zg,t3 as Qg,oA as wd,ra as Si,lY as Cl,a2 as El,qH as $g,qD as ev,qI as tv,qz as rv,qF as nv,uH as av,Ag as kd,Ak as Sd,nO as Pl,be as Qo,GE as sv,HR as ov,hb as iv,ha as lv,nI as cv,vS as dv,vT as uv,vR as Al,Bg as Xn,cr as fv,cf as pv,d0 as gv,d7 as vv,Aq as mv}from"./BJpbRkma.js";import{bG as hv,bP as bv,i as yv,z as _v,bS as xv,ag as wv,ai as kv,ak as Sv,a4 as Iv,a3 as Cv}from"./IsBHRTqp.js";import{n as Ev,m as Pv,v as $o,cj as Av,M as Tv,ch as Rv,cb as Lv,aD as Tl,cd as Mv,bM as ei,aN as Nv,s as Ov,c as ms,d as ti,cf as Id,cg as ri,bB as Dv,b6 as Bv,bQ as Fv,bO as zv,E as Hv,ce as Rl,bv as jv,y as Wv}from"./D7NWkz7l.js";import{cd as Uv,cf as qv,ce as Vv,b0 as Kv,a_ as Gv,a$ as Jv,a3 as Yv,ak as Ns,aj as Xv,az as Ll,aH as Zv,ai as Qv,C as $v,i as em,E as Hs,cO as tm,aV as Ml,cT as rm,af as nm,a7 as am,r as sm,p as om,aE as im,cW as lm,cF as cm,cy as dm,cp as um,bO as fm}from"./CdlZ8r5v.js";import{i as pm,I as $a,c as Nl}from"./DZzTUgIA.js";import"./OhUwMaQy.js";import{f as Ol,y as Dl,M as gm,n as vm,m as mm,z as Cd,x as ni,e as hs,W as es,h as hm}from"./D6NxvjAo.js";import"./Co3V5w5D.js";import{b as Ed}from"./BK3YE2GB.js";import"./D8iLOeUT.js";import{z as Ii,P as bm,p as ym,h as _m,G as xm,l as wm,i as km,M as Sm,H as Im,t as Ja,a as Cm,K as Em,k as Pm,R as Am}from"./BwVx_Xm9.js";import{t as bs,O as Tm,M as Rm,S as _a}from"./CPzusSaQ.js";import{a as Lm}from"./BxRFeUGV.js";import{C as ai}from"./HpcR9-ZP.js";import{aQ as Mm,aY as Nm,aB as Om,b0 as Dm,aO as Bm,aU as Fm,a7 as rs,b3 as Bl,aK as zm,aR as Hm,aX as Ci,aS as Ei,W as Io,aq as jm,X as Wm,a_ as Um,aJ as qm,aT as Vm,aW as Km,b6 as Gm,b4 as Jm,ay as Pd,p as Ym,n as Xm,aV as Zm,_ as Qm,ao as $m,aD as eh,z as th,aC as rh,a8 as nh}from"./D19QPbvx.js";import{s as si}from"./ChyK3c5O.js";import{M as ah}from"./Dd-c6aT7.js";import{s as sh,a as oh}from"./BsieX9dN.js";import{u as Pi,w as ih,v as oo,I as lh,A as Fl,e as ys,d as xa,J as zl,c as ch,f as dh,g as Hl,i as uh,b as fh,o as Ad,j as ph,O as gh,x as vh,k as Td,S as mh,N as hh,q as jl,p as bh,n as Wl,z as yh,s as _h}from"./DTOenBGo.js";import{o as Ul,a as ql,T as Co,b as xh}from"./BgiA9PsC.js";import{O as wh,y as kh,j as Sh,h as Ih,R as Ch}from"./D-YrUZis.js";import{D as _s}from"./DoV4Ngwf.js";import"./CAL5qbag.js";import{C as aa}from"./ClHpwdNk.js";import{M as Eh}from"./BOY33UBS.js";import{g as Ai}from"./CcSZNfbk.js";import{f as Vl}from"./D1ynivqZ.js";import{c as js}from"./DqIdPWw6.js";import{handleIntentLink as Ph}from"./Do9PiZ5P.js";import{s as Ah,a as Th,f as Rh,d as Lh,r as Mh,h as Nh,w as fs,g as Oh,W as Dh,H as Bh,c as Fh,M as Rd}from"./CpOX1cm0.js";import{e as zh,q as Hh}from"./1JDc8gDP.js";import{showAssistantContent as jh}from"./BvULLTwA.js";import{o as Js,c as Wh,n as Uh}from"./B1nmZwVF.js";import{p as qh}from"./B6ZEHAgn.js";import{m as Vh}from"./7k5ozo9c.js";import{h as Os}from"./Bq9BF2kT.js";import{i as Ld}from"./M0UFWl_S.js";import{g as Kh,e as Gh,f as Jh,h as Yh}from"./BvFAWM27.js";import{T as Eo}from"./BerYBtY0.js";import"./BbiJIN_E.js";import{i as Xh,r as Kl}from"./marbulK7.js";import{a as Zh}from"./COyObFie.js";import{a as Qh}from"./BJzHxIyr.js";import{p as $h}from"./-ntpqjUQ.js";const eb="intent:inline-visual-draft";function rC(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),s=(a.match(/`+/g)??[]).reduce((c,l)=>Math.max(c,l.length),0),o="`".repeat(Math.max(3,s+1));return`${r}${r?`
|
|
3
3
|
|
|
4
4
|
`:""}${n}
|
|
5
5
|
|
|
@@ -260,7 +260,7 @@ ${r.content}`:a.content=r.content,a):r.old_text!==void 0&&r.new_text!==void 0?(a
|
|
|
260
260
|
`,d0=["background","foreground","card","card-foreground","primary","primary-ink","primary-foreground","secondary","secondary-foreground","muted","muted-foreground","border","input","ring","danger","danger-background","info","info-foreground","success","success-foreground","warning","warning-foreground","font-ui","font-code","text-body-size","text-body-line-height","text-body-weight","text-body-tracking","radius-small","radius-medium","radius-large","app-background","sidebar","sidebar-accent","agent-avatar-surface-active","agent-avatar-foreground","diagram-host-surface","diagram-canvas","diagram-label-surface","diagram-node-surface","diagram-node-hover-surface","diagram-node-outline","diagram-node-title","diagram-metadata","diagram-group-outline","diagram-connector","diagram-connector-hover","diagram-connector-muted","diagram-connector-inactive","diagram-connector-danger","diagram-connector-success","diagram-connector-warning","diagram-connector-active","diagram-accent","diagram-accent-foreground","diagram-node-radius","diagram-group-radius","diagram-connector-width","text-caption-size","text-caption-line-height","text-caption-weight","text-caption-tracking","text-body-strong-size","text-body-strong-line-height","text-body-strong-weight","text-body-strong-tracking","space-1","space-2","space-3","space-4","space-5","space-6","space-7","control-height-compact","control-height-small","control-height-medium","control-height-large","radius-full","spring-fast","spring-fast-exit","spring-fast-ease","spring-moderate","spring-moderate-exit","spring-moderate-ease","spring-slow","spring-slow-exit","spring-slow-ease","spring-exit-ease","motion-fast","motion-standard","motion-slow","ease-standard","ease-emphasized-out","motion-reduced"],Ho=96,Oc=2e4,u0=480,zu=512,f0=["default-src 'none'","script-src 'unsafe-inline'","style-src 'unsafe-inline'","img-src data:","connect-src 'none'","font-src data:","media-src 'none'","object-src 'none'","frame-src 'none'","child-src 'none'","worker-src 'none'","manifest-src 'none'","base-uri 'none'","form-action 'none'"].join("; ");function p0(r,t,n,a,s,o){const c=new MessageChannel,l=MessagePort.prototype.postMessage.bind(c.port1);window.parent.postMessage({channel:r,type:"scroll-port"},"*",[c.port2]);const f=(C,z={})=>{window.parent.postMessage({channel:r,type:C,...z},"*")};let i=s?.state??null,p=null,g=!1;Object.defineProperty(window,"intentVisual",{configurable:!1,writable:!1,value:Object.freeze({get state(){return i},publish(C){try{if(!o(C))return!1;const z=JSON.parse(JSON.stringify(C));return i=z.state,p=z,g||(g=!0,requestAnimationFrame(()=>{g=!1,p&&f("snapshot",{snapshot:p}),p=null})),!0}catch{return!1}}})});let T=!1,b=-1,h=innerHeight,P=Number.NaN,A=0,B=0;const F=()=>{if(T=!1,!document.body)return;let C=Math.ceil(Math.max(document.body.scrollHeight,document.body.getBoundingClientRect().height));const z=innerHeight,J=C-z;if(z>h+1&&J>1&&Math.abs(J-P)<=1?A+=1:(z!==h||J<=1)&&(A=0),h=z,P=J,!B&&A>=3){B=Math.max(a,z);const Q="Page height follows the frame (vh units or height: 100%); frame height held.";console.warn(Q),f("layout",{message:Q})}B&&(C=Math.min(C,B)),C!==b&&(b=C,f("resize",{height:C}))},O=()=>{T||(T=!0,requestAnimationFrame(F))},N=C=>{if(!C||typeof C.dark!="boolean"||!C.variables)return;const z=document.documentElement;z.classList.toggle("dark",C.dark),z.style.colorScheme=C.dark?"dark":"light";const J=C.variables["--inline-html-root-font-size"];"--inline-html-root-font-size"in t.variables&&typeof J=="string"&&J.length<512&&z.style.setProperty("--inline-html-root-font-size",J);for(const Q of Object.keys(t.variables)){if(Q==="--inline-html-root-font-size")continue;const $=C.variables[Q];typeof $=="string"&&$.length<512&&z.style.setProperty(Q,$)}O()};window.addEventListener("message",C=>{C.source!==window.parent||!C.data||C.data.channel!==r||C.data.type==="theme"&&N(C.data.theme)});const U=C=>{if(C.defaultPrevented||!C.isTrusted||C.ctrlKey||C.metaKey||C.shiftKey||!C.deltaY||Math.abs(C.deltaX)>Math.abs(C.deltaY))return;const z=$=>{const Ie=getComputedStyle($);if($!==document.scrollingElement&&!/^(auto|scroll|overlay)$/.test(Ie.overflowY)||/^(hidden|clip)$/.test(Ie.overflowY))return!1;const le=$.scrollHeight-$.clientHeight;return le>1&&(C.deltaY<0?$.scrollTop>1:$.scrollTop<le-1)};if(C.composedPath().some($=>$ instanceof Element&&z($))||document.scrollingElement&&z(document.scrollingElement))return;const J=C.deltaMode===WheelEvent.DOM_DELTA_LINE?parseFloat(getComputedStyle(document.body).lineHeight)||16:C.deltaMode===WheelEvent.DOM_DELTA_PAGE?innerHeight:1,Q=Math.max(-n,Math.min(n,C.deltaY*J));Number.isFinite(Q)&&(C.preventDefault(),l({deltaY:Q}))};window.addEventListener("wheel",()=>{window.removeEventListener("wheel",U),window.addEventListener("wheel",U,{passive:!1})},{capture:!0,passive:!1}),window.addEventListener("error",C=>{C.message&&f("error",{message:C.message.slice(0,300)})}),window.addEventListener("unhandledrejection",C=>{const z=C.reason;f("error",{message:String(z instanceof Error?z.message:z).slice(0,300)})}),window.addEventListener("click",C=>{const z=C.target instanceof Element?C.target.closest("a, area"):null;if(!z)return;(z.getAttribute("href")??z.getAttribute("xlink:href"))?.startsWith("#")||C.preventDefault()},!0),window.addEventListener("submit",C=>C.preventDefault(),!0),N(t),window.addEventListener("DOMContentLoaded",()=>{new ResizeObserver(O).observe(document.body),new MutationObserver(O).observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),window.addEventListener("resize",O),document.addEventListener("load",O,!0),document.fonts.ready.then(O),f("ready"),O()},{once:!0})}function g0(r,t,n,a,s){const o=document.createElement("iframe");o.setAttribute("sandbox","allow-scripts"),o.setAttribute("referrerpolicy","no-referrer"),o.title=n,o.style.cssText="display:block;width:100%;height:100%;border:0;";let c;const l=f=>{const i=f.data?.deltaY;typeof i=="number"&&Number.isFinite(i)&&i!==0&&Math.abs(i)<=a&&window.parent.postMessage({channel:r,type:"wheel",deltaY:i},"*")};window.addEventListener("message",f=>{const i=f.data;if(!(!i||typeof i!="object"||i.channel!==r)){if(f.source===window.parent&&i.type==="theme"){o.contentWindow?.postMessage({channel:r,type:"theme",theme:i.theme},"*");return}if(!(f.source!==o.contentWindow||f.origin!=="null")){if(i.type==="scroll-port"&&!c&&f.ports.length===1){c=f.ports[0],c.onmessage=l;return}i.type==="resize"&&typeof i.height=="number"&&Number.isFinite(i.height)&&i.height>=0?window.parent.postMessage({channel:r,type:"resize",height:i.height},"*"):i.type==="ready"?window.parent.postMessage({channel:r,type:"ready"},"*"):(i.type==="error"||i.type==="layout")&&typeof i.message=="string"?window.parent.postMessage({channel:r,type:i.type,message:i.message.slice(0,300)},"*"):i.type==="snapshot"&&s(i.snapshot)&&window.parent.postMessage({channel:r,type:"snapshot",snapshot:i.snapshot},"*")}}}),window.addEventListener("DOMContentLoaded",()=>{o.srcdoc=t,document.body.append(o)},{once:!0})}function v0(r,t,n,a,s,o,c,l){const f=document.implementation.createHTMLDocument(""),i=f.createElement("template");i.innerHTML=n,f.body.append(i.content);const p=Q=>{Q.querySelectorAll("meta, base, link, iframe, frame, frameset, object, embed").forEach($=>$.remove()),Q.querySelectorAll("template").forEach($=>p($.content)),Q.querySelectorAll("a, area").forEach($=>{for(const Ie of["href","xlink:href"])$.getAttribute(Ie)?.startsWith("#")||$.removeAttribute(Ie);$.removeAttribute("target"),$.removeAttribute("ping"),$.removeAttribute("download")})};p(f);const g=Q=>JSON.stringify(Q).replace(/</g,"\\u003c"),T=f.createElement("meta");T.httpEquiv="Content-Security-Policy",T.content=r.csp;const b=f.createElement("meta");b.setAttribute("charset","utf-8");const h=f.createElement("style"),P=/^data:[\w.+/-]+;base64,[A-Za-z0-9+/=]+$/.test(l)?`@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900;
|
|
261
261
|
font-display: swap; src: url('${l}') format('woff2'); }`:"";h.textContent=`${P}${r.styles}`;const A=f.createElement("script"),B=g([a,s,r.maxScrollDelta,r.lockHeight,t(c)?c:null]);A.textContent=`(${r.bridge})(...${B}, (${r.validate}));`,f.head.prepend(T,b,h,A);const F=`<!doctype html>${f.documentElement.outerHTML}`,O=document.implementation.createHTMLDocument(""),N=O.createElement("meta");N.httpEquiv="Content-Security-Policy",N.content=r.csp.replace("frame-src 'none'","frame-src about:");const U=O.createElement("meta");U.setAttribute("charset","utf-8");const C=O.createElement("style");C.textContent="html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }";const z=O.createElement("script"),J=g([a,F,o,r.maxScrollDelta]);return z.textContent=`(${r.shell})(...${J}, (${r.validate}));`,O.head.prepend(N,U,C,z),`<!doctype html>${O.documentElement.outerHTML}`}const m0=()=>({csp:f0,styles:c0,maxScrollDelta:zu,lockHeight:u0,bridge:p0.toString(),shell:g0.toString(),validate:Si.toString()});function h0(r,t,n,a,s=null,o=""){return v0(m0(),Si,r,t,n,a,s,o)}function Dc(r){const t=getComputedStyle(r);return{dark:document.documentElement.classList.contains("dark"),variables:{...Object.fromEntries(d0.map(n=>[`--${n}`,t.getPropertyValue(`--${n}`).trim()])),"--inline-html-root-font-size":getComputedStyle(document.documentElement).fontSize}}}function b0(r,t,n,a,s=null){return h0(r,t,n,a,s,l0)}var y0=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground"> </p>'),_0=S('<div class="type-body flex items-center justify-between gap-3 px-4 py-2" role="status"><span class="text-danger"> </span> <!></div> <!>',1),x0=S('<p class="sr-only" role="status"> </p>'),w0=S('<p class="type-body m-0 px-4 py-3 text-muted-foreground" role="status"> </p>'),k0=S('<div class="type-body px-4 py-2 text-danger" role="status"><p class="m-0"> </p> <p class="type-code m-0 break-words"> </p></div>'),S0=S('<iframe sandbox="allow-scripts" referrerpolicy="no-referrer"></iframe>'),I0=S('<div class="space-y-4 p-4" aria-hidden="true"><div class="space-y-2"><!> <!></div> <!> <div class="flex items-center gap-4"><!> <!> <!></div></div>'),C0=S('<span class="type-caption ml-auto text-muted-foreground" role="status"> </span>'),E0=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground" role="status"> <!></p>'),P0=S('<th class="min-w-40 px-2 pb-3 align-top font-normal"><!> <div class="mt-1 flex gap-1"><!> <!></div></th>'),A0=S('<td class="max-w-56 px-2 py-2 align-top break-words tabular-nums"> </td>'),T0=S('<tr><th class="max-w-48 py-2 pr-4 align-top font-normal break-words text-muted-foreground"> </th><!></tr>'),R0=S('<div class="overflow-x-auto px-4 pb-4" data-inline-visual-comparison=""><table class="type-body w-full border-separate border-spacing-0 text-left"><thead><tr><th class="min-w-28 pr-4 pb-3 font-normal text-muted-foreground"> </th><th class="min-w-32 px-2 pb-3 align-top font-medium"> </th><!></tr></thead><tbody></tbody></table></div>'),L0=S('<div class="flex flex-wrap items-center gap-1 px-4 py-2" data-inline-visual-actions=""><!> <!> <!> <!> <!></div> <!> <!>',1),M0=S('<div data-inline-html="" class="my-3 min-w-0 overflow-hidden rounded-lg bg-background text-foreground"><div class="flex min-w-0 items-center justify-end gap-1 p-1"><!> <!></div> <!> <!> <div class="relative min-w-0"><!> <!></div> <!></div>');function Hu(r,t){if(new.target)return Ft({component:Hu,...r});jt(t,!0);const n=720;let a=y(t,"source",7),s=y(t,"isStreaming",7,!1),o=y(t,"isComplete",7,!0),c=y(t,"record",7),l=y(t,"storageStatus",7,"ready"),f=y(t,"onRecordChange",7),i=y(t,"onUseConfiguration",7),p=y(t,"onExport",7),g=y(t,"onRetry",7),T=y(t,"storageError",7),b=y(t,"exportStatus",7),h=y(t,"exportPath",7),P=y(t,"exportError",7),A,B=be(void 0),F=be(!1),O=be(!1),N=be(0),U=be(""),C=be(""),z=be(!1),J=be(""),Q=be(Vr(Ho)),$=be(n),Ie=be(""),le=be(Cl()),se=be(void 0),ue,we=be(void 0),G=be(!1);const pe=u(()=>c()??e(le)),oe=u(()=>l()!=="loading"&&(l()!=="error"||!!e(pe).current)),Ne=u(()=>!s()&&o()&&!!a().trim()&&e(oe)),Le=u(()=>Math.min(Oc,Math.max(Ho,e(Q)))),Se=u(()=>s()||l()==="loading"?"loading":o()?a().trim()?e(J)?"error":e(z)?"ready":"loading":"empty":"incomplete"),_e=u(()=>s()||l()==="loading"||e(Ne)&&!e(z)&&!e(J));function He(Y){const xe={...Y,current:e(se)??Y.current};L(le,xe),f()?.(xe)}function Ue(){const Y=e(se);!Y||e(pe).scenarios.length>=El||(He({...e(pe),scenarios:[...e(pe).scenarios,{id:crypto.randomUUID(),name:Zf({number:pl(e(pe).scenarios.length+1)}),snapshot:structuredClone(Y)}]}),L(G,!0))}function ie(Y,xe){const Ke=xe.trim().slice(0,120);Ke&&He({...e(pe),scenarios:e(pe).scenarios.map(rt=>rt.id===Y?{...rt,name:Ke}:rt)})}function ee(Y){const xe=structuredClone(Y);L(se,xe),L(we,xe),He({...e(pe),current:xe}),L(N,e(N)+1)}function Ze(Y){return typeof Y=="number"?pl(Y):typeof Y=="string"?Y:JSON.stringify(Y)}function V(){!e(B)?.contentWindow||!e(C)||e(B).contentWindow.postMessage({channel:e(C),type:"theme",theme:Dc(A)},"*")}function K(Y){let xe=A.parentElement;for(;xe;){const Ke=getComputedStyle(xe),rt=xe.scrollHeight-xe.clientHeight;if(/^(auto|scroll|overlay)$/.test(Ke.overflowY)&&rt>1){if(Y<0?xe.scrollTop>0:xe.scrollTop<rt){xe.dispatchEvent(new WheelEvent("wheel",{deltaY:Y,bubbles:!0})),xe.scrollTop+=Y;return}if(/^(contain|none)$/.test(Ke.overscrollBehaviorY))return}xe=xe.parentElement}window.scrollBy({top:Y,behavior:"instant"})}It(()=>{if(!e(F))return;const Y=a(),xe=e(Ne);e(N),En(()=>{ue!==Y&&(L(le,Cl()),L(se,void 0),L(G,!1),L(we,void 0),ue=Y),L(z,!1),L(J,""),L(Ie,""),L(Q,Ho,!0),L(C,crypto.randomUUID(),!0),L(U,xe?b0(Y,e(C),Dc(A),dl(),e(we)??e(se)??e(pe).current):"",!0),L(we,void 0)})}),Es(()=>{L(F,!0);const Y=ht=>{if(ht.source!==e(B)?.contentWindow||ht.origin!=="null")return;const je=ht.data;if(!(!je||typeof je!="object"||je.channel!==e(C)))if(je.type==="resize"&&typeof je.height=="number"&&Number.isFinite(je.height)&&je.height>=0)L(Q,Math.min(Oc,Math.ceil(je.height)),!0);else if(je.type==="ready")L(z,!0),V();else if(je.type==="error"&&typeof je.message=="string")L(J,je.message.slice(0,300),!0);else if(je.type==="layout"&&typeof je.message=="string")L(Ie,je.message.slice(0,300),!0);else if(je.type==="snapshot"&&e(Ne)&&Si(je.snapshot)){const vt=je.snapshot;L(se,vt),He({...e(pe),current:vt})}else je.type==="wheel"&&e(z)&&e(Ne)&&!e(O)&&!e(_e)&&typeof je.deltaY=="number"&&Number.isFinite(je.deltaY)&&je.deltaY!==0&&Math.abs(je.deltaY)<=zu&&K(je.deltaY)},xe=()=>{L($,Math.min(n,Math.max(160,Math.floor(window.innerHeight*.8))),!0)},Ke=new MutationObserver(V);Ke.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style","data-theme"]});const rt=window.matchMedia("(prefers-color-scheme: dark)");return rt.addEventListener("change",V),window.addEventListener("message",Y),window.addEventListener("resize",xe),xe(),()=>{Ke.disconnect(),rt.removeEventListener("change",V),window.removeEventListener("message",Y),window.removeEventListener("resize",xe)}});var W={get source(){return a()},set source(Y){a(Y),_()},get isStreaming(){return s()},set isStreaming(Y=!1){s(Y),_()},get isComplete(){return o()},set isComplete(Y=!0){o(Y),_()},get record(){return c()},set record(Y){c(Y),_()},get storageStatus(){return l()},set storageStatus(Y="ready"){l(Y),_()},get onRecordChange(){return f()},set onRecordChange(Y){f(Y),_()},get onUseConfiguration(){return i()},set onUseConfiguration(Y){i(Y),_()},get onExport(){return p()},set onExport(Y){p(Y),_()},get onRetry(){return g()},set onRetry(Y){g(Y),_()},get storageError(){return T()},set storageError(Y){T(Y),_()},get exportStatus(){return b()},set exportStatus(Y){b(Y),_()},get exportPath(){return h()},set exportPath(Y){h(Y),_()},get exportError(){return P()},set exportError(Y){P(Y),_()},$set:zt,$on:(Y,xe)=>Ht(t,Y,xe)},ae=M0(),Ce=I(ae),Z=I(Ce);bt(Z,{variant:"ghost",size:"sm",get active(){return e(O)},get"aria-pressed"(){return e(O)},onclick:()=>{L(O,!e(O))},children:(Y,xe)=>{tr();var Ke=Mt();k(rt=>x(Ke,rt),[()=>e(O)?jf():Wf()]),d(Y,Ke)},$$slots:{default:!0}});var de=m(Z,2);{let Y=u(()=>!e(Ne));bt(de,{variant:"ghost",size:"sm",get disabled(){return e(Y)},onclick:()=>{L(N,e(N)+1)},children:(xe,Ke)=>{tr();var rt=Mt();k(ht=>x(rt,ht),[()=>Uf()]),d(xe,rt)},$$slots:{default:!0}})}w(Ce);var Ae=m(Ce,2);{var Fe=Y=>{var xe=_0(),Ke=qe(xe),rt=I(Ke),ht=R(rt,!0),je=m(rt,2);{var vt=ct=>{bt(ct,{variant:"ghost",size:"sm",get onclick(){return g()},children:(Ut,qt)=>{tr();var Zt=Mt();k(_t=>x(Zt,_t),[()=>Qf()]),d(Ut,Zt)},$$slots:{default:!0}})};D(je,ct=>{g()&&ct(vt)})}w(Ke);var ot=m(Ke,2);{var it=ct=>{var Ut=y0(),qt=R(Ut,!0);k(()=>x(qt,T())),d(ct,Ut)};D(ot,ct=>{T()&&ct(it)})}k(ct=>x(ht,ct),[()=>qf()]),d(Y,xe)};D(Ae,Y=>{l()==="error"&&Y(Fe)})}var tt=m(Ae,2);{var ge=Y=>{var xe=x0(),Ke=R(xe,!0);k(rt=>x(Ke,rt),[()=>s()?Vf():Kf()]),d(Y,xe)},Oe=Y=>{var xe=w0(),Ke=R(xe,!0);k(rt=>x(Ke,rt),[()=>o()?Jf():Gf()]),d(Y,xe)},q=Y=>{var xe=k0(),Ke=I(xe),rt=R(Ke,!0),ht=m(Ke,2),je=R(ht,!0);w(xe),k(vt=>{x(rt,vt),x(je,e(J))},[()=>Yf()]),d(Y,xe)};D(tt,Y=>{e(_e)?Y(ge):e(Ne)?e(J)&&Y(q,2):Y(Oe,1)})}var Me=m(tt,2),ve=I(Me);{var M=Y=>{var xe=S0();let Ke,rt;vr(xe,ht=>L(B,ht),()=>e(B)),k(ht=>{ne(xe,"title",ht),ne(xe,"srcdoc",e(U)),Ke=gt(xe,1,"block w-full border-0 svelte-1kkow1d",null,Ke,{"preview-hidden":e(O)||e(_e)}),ne(xe,"aria-hidden",e(O)||e(_e)),rt=An(xe,"",rt,{height:`${e(Le)}px`})},[()=>dl()]),d(Y,xe)};D(ve,Y=>{e(Ne)&&e(U)&&Y(M)})}var H=m(ve,2);{var me=Y=>{aa(Y,{get code(){return a()},language:"html",noBorder:!0,noMargin:!0,get maxHeight(){return e($)}})},Qe=Y=>{var xe=I0(),Ke=I(xe),rt=I(Ke);Ja(rt,{class:"h-4 w-32 max-w-1/2"});var ht=m(rt,2);Ja(ht,{class:"h-3 w-2/3"}),w(Ke);var je=m(Ke,2);Ja(je,{class:"aspect-video max-h-60 w-full rounded-lg"});var vt=m(je,2),ot=I(vt);Ja(ot,{class:"h-3 w-16"});var it=m(ot,2);Ja(it,{class:"h-2 min-w-0 flex-1"});var ct=m(it,2);Ja(ct,{class:"h-3 w-10"}),w(vt),w(xe),d(Y,xe)};D(H,Y=>{e(O)?Y(me):e(_e)&&Y(Qe,1)})}w(Me);var Te=m(Me,2);{var ze=Y=>{var xe=L0(),Ke=qe(xe),rt=I(Ke);{var ht=Ct=>{{let Yt=u(()=>!e(z)||!!e(J));bt(Ct,{size:"sm",get disabled(){return e(Yt)},onclick:()=>e(se)&&i()(e(se)),children:(At,he)=>{tr();var re=Mt();k(Ve=>x(re,Ve),[()=>$f()]),d(At,re)},$$slots:{default:!0}})}};D(rt,Ct=>{i()&&Ct(ht)})}var je=m(rt,2);{let Ct=u(()=>!e(z)||!!e(J)||e(pe).scenarios.length>=El);bt(je,{variant:"ghost",size:"sm",get disabled(){return e(Ct)},onclick:Ue,children:(Yt,At)=>{tr();var he=Mt();k(re=>x(he,re),[()=>Xf()]),d(Yt,he)},$$slots:{default:!0}})}var vt=m(je,2);{var ot=Ct=>{bt(Ct,{variant:"ghost",size:"sm",get active(){return e(G)},get"aria-expanded"(){return e(G)},onclick:()=>L(G,!e(G)),children:(Yt,At)=>{tr();var he=Mt();k(re=>x(he,re),[()=>ep()]),d(Yt,he)},$$slots:{default:!0}})};D(vt,Ct=>{e(pe).scenarios.length&&Ct(ot)})}var it=m(vt,2);{var ct=Ct=>{{let Yt=u(()=>!e(z)||b()==="saving");bt(Ct,{variant:"ghost",size:"sm",get disabled(){return e(Yt)},onclick:()=>p()({...e(pe),current:e(se)??null}),children:(At,he)=>{tr();var re=Mt();k(Ve=>x(re,Ve),[()=>tp()]),d(At,re)},$$slots:{default:!0}})}};D(it,Ct=>{p()&&Ct(ct)})}var Ut=m(it,2);{var qt=Ct=>{var Yt=C0(),At=R(Yt,!0);k(he=>x(At,he),[()=>l()==="saving"?rp():l()==="ready"?np():""]),d(Ct,Yt)};D(Ut,Ct=>{f()&&Ct(qt)})}w(Ke);var Zt=m(Ke,2);{var _t=Ct=>{var Yt=E0(),At=I(Yt),he=m(At);{var re=Ve=>{var nt=Mt();k(()=>x(nt,P())),d(Ve,nt)};D(he,Ve=>{b()==="error"&&P()&&Ve(re)})}w(Yt),k(Ve=>x(At,`${Ve??""} `),[()=>b()==="saving"?ap():b()==="saved"?sp({path:h()??""}):op()]),d(Ct,Yt)};D(Zt,Ct=>{b()&&Ct(_t)})}var Kt=m(Zt,2);{var Vt=Ct=>{var Yt=R0(),At=I(Yt),he=I(At),re=I(he),Ve=I(re),nt=R(Ve,!0),dt=m(Ve),We=R(dt,!0),X=m(dt);Lt(X,17,()=>e(pe).scenarios,ce=>ce.id,(ce,Pe)=>{var Ee=P0(),Be=I(Ee);{let ke=u(()=>cp());$a(Be,{get value(){return e(Pe).name},get"aria-label"(){return e(ke)},maxlength:120,onblur:$e=>{$e.currentTarget.value.trim()||($e.currentTarget.value=e(Pe).name),ie(e(Pe).id,$e.currentTarget.value)},onkeydown:$e=>{$e.key==="Enter"&&$e.currentTarget.blur(),$e.key==="Escape"&&($e.currentTarget.value=e(Pe).name,$e.currentTarget.blur())}})}var De=m(Be,2),Ge=I(De);bt(Ge,{variant:"ghost",size:"sm",onclick:()=>ee(e(Pe).snapshot),children:(ke,$e)=>{tr();var Je=Mt();k(et=>x(Je,et),[()=>ip()]),d(ke,Je)},$$slots:{default:!0}});var Ye=m(Ge,2);bt(Ye,{variant:"ghost",size:"sm",onclick:()=>He({...e(pe),scenarios:e(pe).scenarios.filter(ke=>ke.id!==e(Pe).id)}),children:(ke,$e)=>{tr();var Je=Mt();k(et=>x(Je,et),[()=>lp()]),d(ke,Je)},$$slots:{default:!0}}),w(De),w(Ee),d(ce,Ee)}),w(re),w(he);var fe=m(he);Lt(fe,20,()=>["inputs","results"],Mr,(ce,Pe)=>{const Ee=u(()=>Pe),Be=u(()=>Array.from(new Set([...Object.keys(e(se)[e(Ee)]),...e(pe).scenarios.flatMap(Ye=>Object.keys(Ye.snapshot[e(Ee)]))])));var De=wt(),Ge=qe(De);Lt(Ge,16,()=>e(Be),Ye=>Ye,(Ye,ke)=>{var $e=T0(),Je=I($e),et=R(Je,!0),st=m(Je);Lt(st,17,()=>[e(se),...e(pe).scenarios.map(at=>at.snapshot)],Mr,(at,ut)=>{var kt=A0(),mt=R(kt,!0);k(Ot=>x(mt,Ot),[()=>Object.hasOwn(e(ut)[e(Ee)],ke)?Ze(e(ut)[e(Ee)][ke]):"—"]),d(at,kt)}),w($e),k(()=>x(et,ke)),d(Ye,$e)}),d(ce,De)}),w(fe),w(At),w(Yt),k(ce=>{x(nt,e(se).title),x(We,ce)},[()=>dp()]),d(Ct,Yt)};D(Kt,Ct=>{e(G)&&e(pe).scenarios.length&&Ct(Vt)})}d(Y,xe)};D(Te,Y=>{e(se)&&e(Ne)&&Y(ze)})}return w(ae),vr(ae,Y=>A=Y,()=>A),k(()=>{ne(ae,"data-inline-html-status",e(Se)),ne(ae,"data-inline-html-layout",e(Ie)?"viewport-locked":void 0),ne(ae,"aria-busy",e(_e))}),d(r,ae),Wt(W)}var N0=S('<div class="w-full min-w-0"><!></div>');function O0(r,t){if(new.target)return Ft({component:O0,...r});jt(t,!0);const n=()=>St(e(b),"$agent$",s),a=()=>St(e(B),"$entry$",s),[s,o]=ia();let c=y(t,"block",7),l=y(t,"role",7),f=y(t,"workspaceId",7),i=y(t,"agentId",7),p=y(t,"messageId",7),g=y(t,"contentBlockKey",7,""),T=be(void 0);const b=u(()=>ao(i()??"")),h=u(()=>l()==="assistant"&&f()&&i()&&p()&&c().metadata?.fenceClosed&&!c().metadata?.isStreaming&&n()&&!wd(n())?{workspaceId:f(),agentId:i(),messageId:p(),blockKey:JSON.stringify([g(),c().metadata?.fenceStart??0]),source:c().content}:void 0),P=u(()=>!!(f()&&i()&&p()&&c().metadata?.fenceClosed&&!n())),A=u(()=>e(h)?nv(e(h)):""),B=u(()=>Bm(e(A)));It(()=>{e(h)&&Nt.dispatch($g(e(h)))});function F(Q){!f()||!i()||n()?.retiredAt||e(T)?.dispatchEvent(new CustomEvent(eb,{bubbles:!0,detail:{workspaceId:f(),agentId:i(),snapshot:Q}}))}var O={get block(){return c()},set block(Q){c(Q),_()},get role(){return l()},set role(Q){l(Q),_()},get workspaceId(){return f()},set workspaceId(Q){f(Q),_()},get agentId(){return i()},set agentId(Q){i(Q),_()},get messageId(){return p()},set messageId(Q){p(Q),_()},get contentBlockKey(){return g()},set contentBlockKey(Q=""){g(Q),_()},$set:zt,$on:(Q,$)=>Ht(t,Q,$)},N=wt(),U=qe(N);{var C=Q=>{var $=N0(),Ie=I($);{let le=u(()=>c().metadata?.isStreaming??!1),se=u(()=>c().metadata?.fenceClosed??!1),ue=u(()=>a()?.record),we=u(()=>e(h)?a()?.status??"loading":e(P)?"loading":"ready"),G=u(()=>a()?.error),pe=u(()=>e(h)?Ue=>Nt.dispatch(rv(e(A),Ue)):void 0),oe=u(()=>f()&&i()&&n()&&!n().retiredAt?F:void 0),Ne=u(()=>e(h)?()=>Nt.dispatch(tv(e(A))):void 0),Le=u(()=>e(h)?Ue=>Nt.dispatch(ev(e(A),crypto.randomUUID(),Ue)):void 0),Se=u(()=>a()?.export?.status),_e=u(()=>a()?.export?.path),He=u(()=>a()?.export?.error);Hu(Ie,{get source(){return c().content},get isStreaming(){return e(le)},get isComplete(){return e(se)},get record(){return e(ue)},get storageStatus(){return e(we)},get storageError(){return e(G)},get onRecordChange(){return e(pe)},get onUseConfiguration(){return e(oe)},get onRetry(){return e(Ne)},get onExport(){return e(Le)},get exportStatus(){return e(Se)},get exportPath(){return e(_e)},get exportError(){return e(He)}})}w($),vr($,le=>L(T,le),()=>e(T)),d(Q,$)},z=Q=>{aa(Q,{get code(){return c().content},language:"html"})};D(U,Q=>{l()==="assistant"?Q(C):Q(z,-1)})}d(r,N);var J=Wt(O);return o(),J}var D0=S('<div class="digest-card flex items-start gap-2.5 py-5 px-6 my-4 shadow-xs text-base leading-normal border border-border"> </div>');function B0(r,t){if(new.target)return Ft({component:B0,...r});jt(t,!0);let n=y(t,"digest",7);var a={get digest(){return n()},set digest(c){n(c),_()},$set:zt,$on:(c,l)=>Ht(t,c,l)},s=D0(),o=R(s,!0);return k(()=>x(o,n())),d(r,s),Wt(a)}var F0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-blue-500/15 text-blue-600 dark:text-blue-400"> </span>'),z0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-muted text-muted-foreground"> </span>'),H0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-primary/10 text-primary/80"> </span>'),j0=S('<div class="flex items-start gap-3 px-4 py-2.5"><div class="flex-1 min-w-0"><div class="flex items-center gap-2 flex-wrap"><span class="text-sm font-semibold text-foreground"> </span> <!> <!></div> <div class="mt-0.5 text-xs font-mono text-muted-foreground truncate"> </div></div></div>'),W0=S('<div class="detected-scripts-card my-3 rounded-lg border border-border bg-muted/30 overflow-hidden"><div class="flex items-center gap-2 px-4 py-2.5 border-b border-border bg-muted/40"><!> <span class="text-sm font-semibold text-foreground"> </span></div> <div class="divide-y divide-border"></div> <div class="px-4 py-2 border-t border-border bg-muted/20"><span class="text-xs text-muted-foreground"> </span></div></div>');function U0(r,t){if(new.target)return Ft({component:U0,...r});jt(t,!0);let n=y(t,"scripts",7);var a={get scripts(){return n()},set scripts(b){n(b),_()},$set:zt,$on:(b,h)=>Ht(t,b,h)},s=W0(),o=I(s),c=I(o);Pt(c,{get icon(){return id},size:"sm",class:"text-primary-ink/70"});var l=m(c,2),f=R(l,!0);w(o);var i=m(o,2);Lt(i,21,n,b=>b.name+b.command,(b,h)=>{var P=j0(),A=I(P),B=I(A),F=I(B),O=R(F,!0),N=m(F,2);{var U=Ie=>{var le=F0(),se=R(le,!0);k(ue=>x(se,ue),[()=>v.chat_detectedScripts_service_badge()]),d(Ie,le)},C=Ie=>{var le=z0(),se=R(le,!0);k(ue=>x(se,ue),[()=>v.chat_detectedScripts_command_badge()]),d(Ie,le)};D(N,Ie=>{e(h).mode==="service"?Ie(U):Ie(C,-1)})}var z=m(N,2);{var J=Ie=>{var le=H0(),se=R(le,!0);k(()=>x(se,e(h).category)),d(Ie,le)};D(z,Ie=>{e(h).category&&e(h).category!=="other"&&Ie(J)})}w(B);var Q=m(B,2),$=R(Q,!0);w(A),w(P),k(()=>{x(O,e(h).name),x($,e(h).command)}),d(b,P)}),w(i);var p=m(i,2),g=I(p),T=R(g,!0);return w(p),w(s),k((b,h)=>{x(f,b),x(T,h)},[()=>v.chat_detectedScripts_title(),()=>n().length===1?v.chat_detectedScripts_count_one({count:or(n().length)}):v.chat_detectedScripts_count_many({count:or(n().length)})]),d(r,s),Wt(a)}function q0(r,t){if(new.target)return Ft({component:q0,...r});jt(t,!0);let n=y(t,"diff",7),a=y(t,"filePath",7),s=y(t,"language",7),o=y(t,"onApply",7),c=y(t,"onReject",7);function l(){o()?.(),na.success(v.chat_diffViewer_applied_toast())}function f(){c()?.(),na.info(v.chat_diffViewer_rejected_toast())}const i=u(()=>{const g=[];return o()&&g.push({label:v.chat_diffViewer_apply_label(),variant:"success",onClick:l}),c()&&g.push({label:v.chat_diffViewer_reject_label(),variant:"danger",onClick:f}),g});var p={get diff(){return n()},set diff(g){n(g),_()},get filePath(){return a()},set filePath(g){a(g),_()},get language(){return s()},set language(g){s(g),_()},get onApply(){return o()},set onApply(g){o(g),_()},get onReject(){return c()},set onReject(g){c(g),_()},$set:zt,$on:(g,T)=>Ht(t,g,T)};{let g=u(()=>a()||v.chat_diffViewer_suggestedChanges_fallback());_s(r,{get patch(){return n()},get fileName(){return e(g)},get language(){return s()},get actions(){return e(i)},collapsible:!0,initialCollapsed:!1,maxHeight:"500px"})}return Wt(p)}var V0=wa('<circle fill="none" style="transition: stroke-dasharray 0.3s ease-out"></circle>'),Bc=wa("<circle></circle>"),K0=wa('<svg class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 fill-background" viewBox="0 0 8 6"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.69471 1.69471C7.87687 1.50611 7.97766 1.25351 7.97539 0.991311C7.97311 0.729114 7.86794 0.478302 7.68253 0.292894C7.49712 0.107485 7.24631 0.00231622 6.98411 3.78025e-05C6.72192 -0.00224062 6.46931 0.0985542 6.28071 0.280712L2.98771 3.57371L1.69471 2.28071C1.50611 2.09855 1.25351 1.99776 0.991311 2.00004C0.729114 2.00232 0.478302 2.10749 0.292894 2.29289C0.107485 2.4783 0.00231622 2.72911 3.78025e-05 2.99131C-0.00224062 3.25351 0.0985542 3.50611 0.280712 3.69471L2.28071 5.69471C2.46824 5.88218 2.72255 5.9875 2.98771 5.9875C3.25288 5.9875 3.50718 5.88218 3.69471 5.69471L7.69471 1.69471Z"></path></svg>'),G0=S('<div class="relative"><svg fill="none" xmlns="http://www.w3.org/2000/svg"><circle fill="none"></circle><!></svg> <!></div>');function qs(r,t){if(new.target)return Ft({component:qs,...r});jt(t,!0);let n=y(t,"phase",7),a=y(t,"progress",7,0),s=y(t,"size",7,16),o=y(t,"class",7,""),c=u(()=>s()/2),l=u(()=>e(c)),f=u(()=>e(c)),i=u(()=>s()*.12),p=u(()=>e(c)-e(i)/2),g=u(()=>e(c)*.35),T=u(()=>2*Math.PI*e(g)),b=u(()=>Math.max(0,Math.min(1,a()))*e(T));const h={planning:"#99999999",building:"#54B1F3",reviewing:"#6D7FF5",shipped:"var(--color-foreground)"};let P=u(()=>h[n()]||"currentColor");var A={get phase(){return n()},set phase(le){n(le),_()},get progress(){return a()},set progress(le=0){a(le),_()},get size(){return s()},set size(le=16){s(le),_()},get class(){return o()},set class(le=""){o(le),_()},$set:zt,$on:(le,se)=>Ht(t,le,se)},B=G0(),F=I(B),O=I(F),N=m(O);{var U=le=>{},C=le=>{var se=V0();k(()=>{ne(se,"cx",e(l)),ne(se,"cy",e(f)),ne(se,"r",e(g)*.8),ne(se,"stroke",e(P)),ne(se,"stroke-width",e(g)*1.5),ne(se,"stroke-dasharray",`${e(b)??""} ${e(T)??""}`),ne(se,"stroke-dashoffset",e(T)*.25),ne(se,"transform",`rotate(-90 ${e(l)??""} ${e(f)??""})`)}),d(le,se)},z=le=>{var se=Bc();k(()=>{ne(se,"cx",e(l)),ne(se,"cy",e(f)),ne(se,"r",e(p)*.6),ne(se,"fill",e(P))}),d(le,se)},J=le=>{var se=Bc();k(()=>{ne(se,"cx",e(l)),ne(se,"cy",e(f)),ne(se,"r",e(p)),ne(se,"fill",e(P))}),d(le,se)};D(N,le=>{n()==="planning"?le(U):n()==="building"?le(C,1):n()==="reviewing"?le(z,2):n()==="shipped"&&le(J,3)})}w(F);var Q=m(F,2);{var $=le=>{},Ie=le=>{var se=K0();k(()=>ne(se,"width",s()*.5)),d(le,se)};D(Q,le=>{n()==="reviewing"?le($):n()==="shipped"&&le(Ie,1)})}return w(B),k(()=>{ne(F,"width",s()),ne(F,"height",s()),ne(F,"viewBox",`0 0 ${s()??""} ${s()??""}`),gt(F,0,dr(o())),ne(O,"cx",e(l)),ne(O,"cy",e(f)),ne(O,"r",e(p)),ne(O,"stroke",e(P)),ne(O,"stroke-width",e(i))}),d(r,B),Wt(A)}var Fc=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full"></span> </span>'),J0=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full bg-border"></span> </span>'),zc=S('<span class="text-ui text-subtle truncate"> </span>'),Hc=S('<div class="flex items-center gap-1 mt-0.5"><!> <!></div>'),jc=S('<div class="flex items-start gap-2"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-xs leading-snug truncate"> </div> <!></div></div>'),Y0=S('<div class="flex items-center gap-2"><div class="shrink-0"><!></div> <span class="text-ui text-subtle truncate line-through"> </span></div>'),X0=S('<span class="text-ui text-subtle pl-4"> </span>'),Z0=S('<div class="flex flex-col gap-0.5 pt-1 border-t border-border"><!> <!></div>'),Q0=S('<div class="text-ui text-subtle"> </div>'),$0=S("<!> <!> <!> <!>",1),ek=S('<div class="flex flex-col py-2 px-3 gap-2 max-h-80 overflow-y-auto"><div class="flex items-center justify-between gap-3"><span class="text-xs font-semibold text-foreground"> </span> <div class="flex items-center gap-3 text-ui text-subtle"><!> <!> <!></div></div> <!></div>'),tk=S('<div class="rounded-[0.5px]"></div>');function ju(r,t){if(new.target)return Ft({component:ju,...r});jt(t,!0);let n=y(t,"stats",7),a=y(t,"tasks",23,()=>[]),s=y(t,"maxBars",7,20),o=y(t,"barWidth",7,"1px"),c=y(t,"barHeight",7,"16px"),l=y(t,"gap",7,"1px"),f=y(t,"class",7);const i={completed:"#22c55e",inProgress:"#4F7BF7",notStarted:"var(--border)"};let p=u(()=>{const{completed:N,inProgress:U,notStarted:C,total:z}=n();if(z===0)return[];const J=[...Array(N).fill("completed"),...Array(U).fill("inProgress"),...Array(Math.max(0,C)).fill("notStarted")];return J.length<=s()?J:J.slice(J.length-s())}),g=u(()=>a().filter(N=>N.status==="complete")),T=u(()=>a().filter(N=>N.status==="in_progress"||N.status==="review_required")),b=u(()=>a().filter(N=>N.status!=="complete"&&N.status!=="in_progress"&&N.status!=="review_required"&&N.status!=="cancelled")),h=u(()=>a().filter(N=>N.status==="cancelled")),P=u(()=>a().length>0);var A={get stats(){return n()},set stats(N){n(N),_()},get tasks(){return a()},set tasks(N=[]){a(N),_()},get maxBars(){return s()},set maxBars(N=20){s(N),_()},get barWidth(){return o()},set barWidth(N="1px"){o(N),_()},get barHeight(){return c()},set barHeight(N="16px"){c(N),_()},get gap(){return l()},set gap(N="1px"){l(N),_()},get class(){return f()},set class(N){f(N),_()},$set:zt,$on:(N,U)=>Ht(t,N,U)},B=wt(),F=qe(B);{var O=N=>{Ko(N,{side:"top",align:"start",sideOffset:6,contentClass:"max-w-xs p-0",delayDuration:200,disableHoverableContent:!1,content:C=>{var z=ek(),J=I(z),Q=I(J),$=R(Q,!0),Ie=m(Q,2),le=I(Ie);{var se=Le=>{var Se=Fc(),_e=I(Se);An(_e,"",{},{"background-color":"#22c55e"});var He=m(_e);w(Se),k(()=>x(He,` ${n().completed??""}`)),d(Le,Se)};D(le,Le=>{n().completed>0&&Le(se)})}var ue=m(le,2);{var we=Le=>{var Se=Fc(),_e=I(Se);An(_e,"",{},{"background-color":"#4F7BF7"});var He=m(_e);w(Se),k(()=>x(He,` ${n().inProgress??""}`)),d(Le,Se)};D(ue,Le=>{n().inProgress>0&&Le(we)})}var G=m(ue,2);{var pe=Le=>{var Se=J0(),_e=m(I(Se));w(Se),k(()=>x(_e,` ${n().notStarted??""}`)),d(Le,Se)};D(G,Le=>{n().notStarted>0&&Le(pe)})}w(Ie),w(J);var oe=m(J,2);{var Ne=Le=>{var Se=$0(),_e=qe(Se);Lt(_e,17,()=>e(T),Mr,(V,K)=>{var W=jc(),ae=I(W),Ce=I(ae);Co(Ce,{get status(){return e(K).status},size:14}),w(ae);var Z=m(ae,2),de=I(Z),Ae=R(de,!0),Fe=m(de,2);{var tt=ge=>{var Oe=Hc(),q=I(Oe);{let M=u(()=>e(K).agentState||"idle");hl(q,{get agentId(){return e(K).agentId},get state(){return e(M)},size:12,get specialist(){return e(K).agentSpecialist}})}var Me=m(q,2);{var ve=M=>{var H=zc(),me=R(H,!0);k(()=>x(me,e(K).agentName)),d(M,H)};D(Me,M=>{e(K).agentName&&M(ve)})}w(Oe),d(ge,Oe)};D(Fe,ge=>{e(K).agentId&&ge(tt)})}w(Z),w(W),k(()=>x(Ae,e(K).title)),d(V,W)});var He=m(_e,2);Lt(He,17,()=>e(b),Mr,(V,K)=>{var W=jc(),ae=I(W),Ce=I(ae);Co(Ce,{get status(){return e(K).status},size:14}),w(ae);var Z=m(ae,2),de=I(Z),Ae=R(de,!0),Fe=m(de,2);{var tt=ge=>{var Oe=Hc(),q=I(Oe);{let M=u(()=>e(K).agentState||"idle");hl(q,{get agentId(){return e(K).agentId},get state(){return e(M)},size:12,get specialist(){return e(K).agentSpecialist}})}var Me=m(q,2);{var ve=M=>{var H=zc(),me=R(H,!0);k(()=>x(me,e(K).agentName)),d(M,H)};D(Me,M=>{e(K).agentName&&M(ve)})}w(Oe),d(ge,Oe)};D(Fe,ge=>{e(K).agentId&&ge(tt)})}w(Z),w(W),k(()=>x(Ae,e(K).title)),d(V,W)});var Ue=m(He,2);{var ie=V=>{var K=Z0(),W=I(K);Lt(W,17,()=>e(g).slice(0,3),Mr,(Z,de)=>{var Ae=Y0(),Fe=I(Ae),tt=I(Fe);Co(tt,{status:"complete",size:12}),w(Fe);var ge=m(Fe,2),Oe=R(ge,!0);w(Ae),k(()=>x(Oe,e(de).title)),d(Z,Ae)});var ae=m(W,2);{var Ce=Z=>{var de=X0(),Ae=R(de,!0);k(Fe=>x(Ae,Fe),[()=>v.workspace_taskProgressBar_moreCompleted_label({count:or(e(g).length-3)})]),d(Z,de)};D(ae,Z=>{e(g).length>3&&Z(Ce)})}w(K),d(V,K)};D(Ue,V=>{e(g).length>0&&V(ie)})}var ee=m(Ue,2);{var Ze=V=>{var K=Q0(),W=R(K,!0);k(ae=>x(W,ae),[()=>v.workspace_taskProgressBar_cancelled_label({count:or(e(h).length)})]),d(V,K)};D(ee,V=>{e(h).length>0&&V(Ze)})}d(Le,Se)};D(oe,Le=>{e(P)&&Le(Ne)})}w(z),k(Le=>x($,Le),[()=>v.workspace_taskProgressBar_tasksRatio_label({completed:or(n().completed),total:or(n().total)})]),d(C,z)},children:(C,z)=>{{let J=u(()=>Pn("flex h-auto min-w-0 shrink items-end justify-start cursor-default rounded-none border-0",f())),Q=u(()=>`gap: ${l()}`),$=u(()=>v.workspace_taskProgressBar_tasksRatio_label({completed:or(n().completed),total:or(n().total)}));bt(C,{variant:"plain",type:"button",wrapContent:!1,get class(){return e(J)},get style(){return e(Q)},get"aria-label"(){return e($)},"data-task-progress-trigger":!0,children:(Ie,le)=>{var se=wt(),ue=qe(se);Lt(ue,17,()=>e(p),Mr,(we,G)=>{var pe=tk();let oe;k(()=>oe=An(pe,"",oe,{width:o(),height:c(),"background-color":i[e(G)]})),d(we,pe)}),d(Ie,se)},$$slots:{default:!0}})}},$$slots:{content:!0,default:!0}})};D(F,N=>{n().total>0&&N(O)})}return d(r,B),Wt(A)}function Wi(r,t){if(new.target)return Ft({component:Wi,...r});jt(t,!0);let n=y(t,"items",7),a=y(t,"ariaLabel",7),s=y(t,"open",15,!1),o=y(t,"orientation",7,"vertical"),c=y(t,"selection",7),l=y(t,"class",7,"");const f=u(()=>vg(n(),c(),a()));var i={get items(){return n()},set items(p){n(p),_()},get ariaLabel(){return a()},set ariaLabel(p){a(p),_()},get open(){return s()},set open(p=!1){s(p),_()},get orientation(){return o()},set orientation(p="vertical"){o(p),_()},get selection(){return c()},set selection(p){c(p),_()},get class(){return l()},set class(p=""){l(p),_()},$set:zt,$on:(p,g)=>Ht(t,p,g)};return Cm(r,{get actions(){return e(f)},align:"end",get ariaLabel(){return a()},onAction:g=>gg(n(),g)?.onClick(),get open(){return s()},set open(g){s(g)},trigger:(g,T)=>{let b=()=>(T?.()).props;bt(g,yi(b,{variant:"plain",size:"icon-compact",iconOnly:!0,type:"button",get class(){return l()},get"aria-label"(){return a()},onclick:h=>{h.stopPropagation(),b().onclick?.(h)},oncontextmenu:h=>{h.preventDefault(),h.stopPropagation()},children:(h,P)=>{Em(h,{get orientation(){return o()},class:"size-3.5"})},$$slots:{default:!0}}))},$$slots:{trigger:!0}}),Wt(i)}var rk=S('<span class="contents"><!></span>'),nk=S("<!> <!>",1);function Wu(r,t){if(new.target)return Ft({component:Wu,...r});jt(t,!0);let n=y(t,"workspaceId",7),a=y(t,"slot",7);const s=u(()=>Ug(a()));let o=be(null);It(()=>{e(o)&&e(o).workspaceId!==n()&&L(o,null)});function c(h){const P=nd(h);P&&L(o,{...P,workspaceId:n()},!0)}function l(h){h.preventDefault(),h.stopPropagation();const P=h.currentTarget.getBoundingClientRect();L(o,{x:P.left,y:P.bottom+2,returnFocus:h.currentTarget,workspaceId:n()},!0)}function f(){L(o,null)}var i={get workspaceId(){return n()},set workspaceId(h){n(h),_()},get slot(){return a()},set slot(h){a(h),_()},$set:zt,$on:(h,P)=>Ht(t,h,P)},p=nk(),g=qe(p);{let h=u(()=>v.workspace_microKeyBadge_ariaLabel({number:or(a()+1)})),P=u(()=>v.workspace_microKeyBadge_tooltip({number:or(a()+1)})),A=u(()=>e(o)!==null);bt(g,{variant:"ghost",size:"icon",type:"button",class:"micro-key-slot-badge size-4 min-w-0 shrink-0 cursor-pointer rounded-[3px] p-0 a11y-ignore",get"aria-label"(){return e(h)},get title(){return e(P)},onclick:l,oncontextmenu:c,onkeydown:c,"aria-haspopup":"menu",get"aria-expanded"(){return e(A)},children:(B,F)=>{var O=rk(),N=I(O);Jp(N,{get slot(){return a()},get class(){return`transition-colors ${e(s)??""}`}}),w(O),d(B,O)},$$slots:{default:!0}})}var T=m(g,2);{var b=h=>{{let P=u(()=>e(o)?.x??0),A=u(()=>e(o)?.y??0),B=u(()=>e(o)?.returnFocus),F=u(()=>v.workspace_card_assignMicroKey_label()),O=u(()=>Rh(n(),f));ad(h,{get x(){return e(P)},get y(){return e(A)},get returnFocus(){return e(B)},selection:"single",get ariaLabel(){return e(F)},get items(){return e(O)},onClickOutside:f})}};D(T,h=>{e(o)&&h(b)})}return d(r,p),Wt(i)}var ak=S('<span class="flex size-4 shrink-0 items-center justify-center"><!></span>'),sk=S('<span data-workspace-card-pin-indicator="" aria-hidden="true"><!></span> <span class="sr-only"> </span>',1),ok=S('<span class="type-caption shrink-0 rounded-sm bg-muted-foreground/10 px-1.5 font-normal text-muted-foreground" data-workspace-card-trailing-label=""> </span>'),ik=S('<span data-workspace-card-pr-item=""><!></span>'),lk=S('<span class="flex shrink-0 items-center" data-workspace-card-pr-list=""><!></span>'),ck=S('<span data-workspace-card-time=""><!></span>'),dk=S('<span aria-hidden="true"><!></span>'),uk=S("<div><!> <!> <!> <!></div>"),fk=S('<div data-workspace-card-hover-surface=""><!></div>'),pk=S('<div role="group" data-workspace-card-row=""><!> <div class="relative z-10 flex shrink-0 items-center gap-1.5"><!> <!> <span class="sr-only"> </span></div> <div class="relative z-10 flex min-w-0 flex-1 items-center gap-2"><span class="flex min-w-0 flex-1 items-center gap-1" data-workspace-card-title-group=""><span dir="ltr" data-workspace-card-title=""><span class="wc-title-text svelte-1ct56pd"> </span></span> <!></span> <!> <!> <!></div> <!></div> <!> <!>',1),gk=S('<div class="relative z-10 flex shrink-0 items-center"><!></div>'),vk=S('<div><!> <!> <span class="font-medium truncate"> </span> <span class="shrink-0 text-muted-foreground">·</span> <span class="truncate text-xs text-muted-foreground"> </span> <!></div>'),mk=S('<div class="text-sm font-semibold truncate"> </div>'),Wc=S('<span class="truncate"> </span>'),hk=S('<span class="text-muted-foreground">·</span>'),bk=S('<div class="flex items-center gap-1 truncate text-xs text-muted-foreground"><!> <!> <!></div>'),yk=S('<div><!> <!> <div class="flex items-center gap-2 text-xs"><!> <span class="truncate text-muted-foreground"> </span> <span> </span></div> <!></div>'),_k=S('<div class="flex items-center gap-2"><!> <span class="text-ui shrink-0 tabular-nums text-muted-foreground"> </span></div>'),xk=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span> <span class="tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span></div>'),wk=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span></div>'),kk=S('<div class="flex items-center text-ui"><span> </span></div>'),Sk=S('<div class="flex flex-col gap-1 px-3 pb-2.5"><!> <!> <!> <!></div>'),Ik=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!></div>'),Ck=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!> <!></div>'),Ek=S('<div role="group"><!> <div class="flex items-start gap-2.5 px-3 pt-3 pb-2"><!> <div class="flex-1 min-w-0"><div class="text-sm font-medium"> </div> <div class="mt-0.5 line-clamp-2 text-xs leading-snug text-muted-foreground"> </div></div></div> <!> <!></div>');function Uu(r,t){if(new.target)return Ft({component:Uu,...r});jt(t,!0);const n=()=>St(He,"$prMonitors$",c),a=()=>St(Ue,"$microConnected$",c),s=()=>St(ee,"$hidesOwnerActions$",c),o=()=>St(ie,"$workspaceKeySlot$",c),[c,l]=ia();let f=y(t,"workspace",7),i=y(t,"phase",7),p=y(t,"stats",7),g=y(t,"variant",7,"compact"),T=y(t,"showTime",7,!0),b=y(t,"isRunning",7,!1),h=y(t,"isUnread",7,!1),P=y(t,"isWaiting",7),A=y(t,"isPinned",7,!1),B=y(t,"streamingAgentIds",23,()=>[]),F=y(t,"hasSpec",7,!1),O=y(t,"isAgentRunning",7,!1),N=y(t,"agentDigest",7),U=y(t,"trailingLabel",7),C=y(t,"title",7),z=y(t,"repoName",7),J=y(t,"branch",7),Q=y(t,"onClick",7),$=y(t,"onAction",7),Ie=y(t,"onTogglePin",7),le=y(t,"onMarkAsRead",7),se=y(t,"onOpenInNewWindow",7),ue=y(t,"onHover",7),we=y(t,"highlighted",7,!1),G=y(t,"selected",7,!1),pe=y(t,"highlightId",7),oe=y(t,"suppressHover",7,!1),Ne=y(t,"isolateHoverReveal",7,!1),Le=y(t,"class",7),Se=y(t,"actions",7);const _e=Qa("");It(()=>{_e.set(f()?.id??"")});const He=Dp(_e),Ue=Vh(),ie=xv(_e),ee=Bp(_e),Ze=u(()=>Mh(f()??{})),V=u(()=>Nh(e(Ze)));let K=u(()=>f()?qh.url.pathname===`/workspace/${f().id}`:!1),W=u(()=>f()?`workspace-hover-card-${f().id}`:void 0),ae=be(!1),Ce=be(null),Z=be(null);It(()=>{if(!e(Z))return;const te=Os(e(Z),{id:pe()});return()=>te.destroy()});let de=be(null),Ae=be(null),Fe=be(null),tt=be(0),ge=be(0),Oe=u(()=>e(tt)+(e(ge)>0?e(ge)+4:0));function q(){const te=e(de),pt=e(Fe);L(tt,te?Math.max(0,te.scrollWidth-te.clientWidth):0,!0),L(ge,te&&pt&&pt.getClientRects().length>0?Math.max(0,te.getBoundingClientRect().right-pt.getBoundingClientRect().left):0,!0)}It(()=>{const te=e(de),pt=e(Ae),Dt=e(Fe);if(!te||!pt||(q(),typeof ResizeObserver>"u"))return;const br=new ResizeObserver(q);return br.observe(te),br.observe(pt),Dt&&br.observe(Dt),()=>br.disconnect()});let Me=null,ve=null,M=!1,H=!1,me=!1,Qe=!1,Te=!1,ze=!1,Y=be(!1),xe=!1,Ke=null,rt=be(null),ht=null,je;function vt(){Me!==null&&(clearTimeout(Me),Me=null)}function ot(){ve!==null&&(clearTimeout(ve),ve=null),ht?.(),ht=null}function it(){ot(),L(Y,!0),L(ae,!0),!Te&&(Te=!0,fs.notifyOpened())}function ct(){ot(),clearTimeout(je),L(Y,!1),L(ae,!1),H=!1,Qe=!1,Te&&(Te=!1,fs.notifyClosed())}function Ut(){return M||H||me||Qe}function qt(){if(!e(ae)){ct();return}ot(),ve=setTimeout(()=>{ve=null,Ut()||ct()},Dh),ht=fs.deferClose(ct)}function Zt(){H=!0,ot()}function _t(){H=!1,!me&&!Qe&&qt()}function Kt(){Qe=!0,clearTimeout(je),ot()}function Vt(te){const pt=te.relatedTarget instanceof Node?te.relatedTarget:null;if(pt&&fe()?.contains(pt)||(Qe=!1,pt&&e(Ce)?.contains(pt)))return;if(pt){!M&&!H&&ct();return}const Dt=te.target;clearTimeout(je),je=setTimeout(()=>{const br=document.activeElement,yr=fe()?.contains(br)||e(Ce)?.contains(br);br&&br!==Dt&&yr||!M&&!H&&ct()},0)}function Ct(){Ke!==null&&clearTimeout(Ke),xe=!0,Ke=setTimeout(()=>{xe=!1,Ke=null},0)}function Yt(te){const pt=te.target,Dt=fe();pt instanceof Node&&Dt?.contains(pt)||te.type==="scroll"&&e(Ce)&&pt instanceof Node&&!pt.contains(e(Ce))||(te.type==="pointerdown"&&Ct(),vt(),ct())}It(()=>{if(e(Y))return window.addEventListener("pointerdown",Yt,!0),window.addEventListener("scroll",Yt,!0),()=>{window.removeEventListener("pointerdown",Yt,!0),window.removeEventListener("scroll",Yt,!0)}});function At(te){if(te.key!=="Escape")return;const pt=te.target;pt instanceof Node&&fe()?.contains(pt)||(te.preventDefault(),te.stopPropagation(),ze=me,vt(),ct())}It(()=>{if(e(ae))return window.addEventListener("keydown",At,!0),()=>window.removeEventListener("keydown",At,!0)});const he=u(()=>f()?zp.select(Nt.state,f().id):null),re=u(()=>e(he)?e(he):f()?.activePullRequest?f().activePullRequest:!f()?.prStatus||f().prNumber==null?null:{id:`legacy-pr-${f().prNumber}`,number:f().prNumber,url:f().prUrl??"",title:v.workspace_hoverCard_pullRequest_label(),status:f().prStatus,createdAt:f().updatedAt,updatedAt:f().updatedAt}),Ve=u(()=>Fp(f())),nt=u(()=>{if(!f()||e(Ve))return[];const te=f(),pt=te.repositoryOwner&&te.repositoryName?`${te.repositoryOwner}/${te.repositoryName}`:void 0;return mg({workspacePRs:te.pullRequests,activePR:e(re),monitors:n(),workspaceRepo:pt,buildPrUrl:(Dt,br)=>om(Dt,te.repositoryOwner,te.repositoryName,br),getDisplayTitle:Dt=>Dt.title})}),dt=u(()=>e(nt)[0]);function We(te){const pt=te.resource?.repository.provider==="gitlab"?`${te.repo} !${te.number}`:te.repo?v.workspace_card_prBadge_repoLine_tooltip({repo:te.repo,number:te.number}):v.workspace_card_prBadge_label({number:` #${te.number}`});return[Hp(pt,te),te.title,te.details].filter(Boolean).join(`
|
|
262
262
|
`)}function X(te){te.key==="Enter"&&Q()?.(te)}function fe(){return e(W)?document.getElementById(e(W)):null}function ce(){return Array.from(fe()?.querySelectorAll("button:not(:disabled), a[href]")??[])}function Pe(){const te=e(Ce)?.querySelector("[data-workspace-card-trigger]"),pt=fe();if(!te||!pt)return null;const Dt=Array.from(document.querySelectorAll('button:not(:disabled), a[href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])')).filter(yr=>yr.tabIndex>=0&&!pt.contains(yr)),br=Dt.indexOf(te);return br>=0?Dt[br+1]:null}function Ee(te){ze=!!e(Ce)?.contains(te),ct(),te.focus({preventScroll:!0})}function Be(){const te=e(Ce)?.querySelector("[data-workspace-card-trigger]");te&&Ee(te)}async function De(te){if(te.key==="Escape"&&e(ae)){te.preventDefault(),te.stopPropagation(),ct();return}te.key!=="ArrowDown"||oe()||!f()||(te.preventDefault(),te.stopPropagation(),L(Y,!0),L(ae,!0),await Qn(),ce()[0]?.focus({preventScroll:!0}))}function Ge(te){const pt=ce(),Dt=te.key==="Tab"&&te.shiftKey&&te.currentTarget===pt[0],yr=te.key==="Tab"&&!te.shiftKey&&te.currentTarget===pt.at(-1)?Pe():null;te.key!=="Escape"&&!Dt&&!yr||(te.preventDefault(),te.stopPropagation(),yr?Ee(yr):Be())}function Ye(){M=!0,ot(),fs.settleDeferredCloses(),q(),ue()?.(),f()&&!oe()&&!me&&(vt(),L(Y,!0),Me=setTimeout(()=>{Me=null,it()},fs.currentOpenDelay))}function ke(){M=!1,vt(),!me&&!Qe&&qt()}function $e(){me=!0,vt(),ot(),!ze&&(xe||f()&&!oe()&&(L(Y,!0),L(ae,!0)))}function Je(te){const pt=te.relatedTarget instanceof Node?te.relatedTarget:null;pt&&e(Ce)?.contains(pt)||(ze=!1,me=!1,!(pt&&fe()?.contains(pt))&&!M&&!H&&ct())}It(()=>{oe()&&(vt(),ot(),ct())});let et=be(null),st=be(!1),at;It(()=>{const te=f()?.id;at!==te&&(at=te,L(st,!1)),e(et)&&e(et).workspaceId!==f()?.id&&kt()});function ut(te){if(!f())return;const pt=nd(te);if(pt){if(L(st,!1),mt().length===0){L(et,null);return}L(et,{...pt,returnFocus:te.target instanceof HTMLElement?te.target.closest("button")??e(Ce)?.querySelector("button")??null:null,workspaceId:f().id},!0)}}function kt(){L(et,null),L(st,!1)}It(()=>{e(st)&&L(et,null)}),Is(()=>{vt(),ot(),Ke!==null&&(clearTimeout(Ke),Ke=null),ct()});function mt(){if(!f())return[];const te=[];return se()&&te.push({id:"open-new-window",label:v.workspace_card_openNewWindow_label(),icon:dd,onClick:()=>{se()?.(),kt()}}),te.push(...Oh(f().id,{connected:a(),onClose:kt})),s()||(e(Ve)||te.push({id:"transfer",label:v.workspace_card_transfer_label(),icon:Mg,onClick:()=>{Nt.dispatch(av({workspaceId:f().id,workspaceTitle:f().title})),kt()}}),te.push({id:"archive",label:v.workspace_card_archive_label(),icon:ud,onClick:()=>{Nt.dispatch(kd(f().id)),kt()}}),te.push({id:"delete",label:v.workspace_card_deleteSpace_label(),icon:fd,destructive:!0,onClick:()=>{Nt.dispatch(Sd(f().id)),kt()}})),te}let Ot=u(()=>O()&&N()?N():i()?.subtitle??""),Gt=u(()=>p()&&p().tasks.total>0?p().tasks.completed/p().tasks.total:0),$t=u(()=>!!p()&&(p().tasks.total>0||p().files.changed>0||p().commits.total>0||p().pr.hasOpen||p().pr.hasMerged)),fr=u(()=>e(Ve)?void 0:J()),Br=u(()=>!p()||e(Ve)?"":p().pr.hasMerged?v.workspace_card_prMerged_label({number:p().pr.number??""}):p().pr.hasOpen?v.workspace_card_prOpen_label({number:p().pr.number?`#${p().pr.number}`:""}):""),fn=u(()=>i()?.phase==="planning"?O()?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:F()||(p()?.tasks.total??0)>0?{primary:{label:v.workspace_card_approveStart_label(),action:"approve"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:i()?.phase==="building"?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:i()?.phase==="reviewing"?{primary:{label:v.workspace_card_createPr_label(),action:"create-pr"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}}:{primary:{label:v.workspace_card_archive_label(),action:"archive"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}});const Tn={planning:"bg-muted/20 text-muted-foreground",building:"bg-info/15 text-info",reviewing:"bg-primary/15 text-primary",shipped:"bg-foreground/10 text-foreground"};var Fn={get workspace(){return f()},set workspace(te){f(te),_()},get phase(){return i()},set phase(te){i(te),_()},get stats(){return p()},set stats(te){p(te),_()},get variant(){return g()},set variant(te="compact"){g(te),_()},get showTime(){return T()},set showTime(te=!0){T(te),_()},get isRunning(){return b()},set isRunning(te=!1){b(te),_()},get isUnread(){return h()},set isUnread(te=!1){h(te),_()},get isWaiting(){return P()},set isWaiting(te){P(te),_()},get isPinned(){return A()},set isPinned(te=!1){A(te),_()},get streamingAgentIds(){return B()},set streamingAgentIds(te=[]){B(te),_()},get hasSpec(){return F()},set hasSpec(te=!1){F(te),_()},get isAgentRunning(){return O()},set isAgentRunning(te=!1){O(te),_()},get agentDigest(){return N()},set agentDigest(te){N(te),_()},get trailingLabel(){return U()},set trailingLabel(te){U(te),_()},get title(){return C()},set title(te){C(te),_()},get repoName(){return z()},set repoName(te){z(te),_()},get branch(){return J()},set branch(te){J(te),_()},get onClick(){return Q()},set onClick(te){Q(te),_()},get onAction(){return $()},set onAction(te){$(te),_()},get onTogglePin(){return Ie()},set onTogglePin(te){Ie(te),_()},get onMarkAsRead(){return le()},set onMarkAsRead(te){le(te),_()},get onOpenInNewWindow(){return se()},set onOpenInNewWindow(te){se(te),_()},get onHover(){return ue()},set onHover(te){ue(te),_()},get highlighted(){return we()},set highlighted(te=!1){we(te),_()},get selected(){return G()},set selected(te=!1){G(te),_()},get highlightId(){return pe()},set highlightId(te){pe(te),_()},get suppressHover(){return oe()},set suppressHover(te=!1){oe(te),_()},get isolateHoverReveal(){return Ne()},set isolateHoverReveal(te=!1){Ne(te),_()},get class(){return Le()},set class(te){Le(te),_()},get actions(){return Se()},set actions(te){Se(te),_()},$set:zt,$on:(te,pt)=>Ht(t,te,pt)},kn=wt(),ua=qe(kn);{var Ar=te=>{var pt=pk(),Dt=qe(pt);let br;var yr=I(Dt);{let yt=u(()=>f().title||v.workspace_links_untitled_label()),Et=u(()=>`workspace-status-state-${f().id}${A()?` workspace-pinned-state-${f().id}`:""}${e(ae)?` ${e(W)}`:""}`),ur=u(()=>e(K)?"page":void 0);bt(yr,{variant:"plain",class:"absolute inset-0 z-0 h-auto w-auto rounded-md focus-visible:border-transparent focus-visible:bg-background/50 focus-visible:ring-0",get"aria-label"(){return e(yt)},get"aria-describedby"(){return e(Et)},get"aria-current"(){return e(ur)},"data-workspace-card-trigger":!0,onkeydown:De,onclick:_r=>{_r.stopPropagation(),Q()?.(_r)}})}var mn=m(yr,2),jr=I(mn);{var zn=yt=>{var Et=ak(),ur=I(Et);{var _r=Rr=>{Wu(Rr,{get workspaceId(){return f().id},get slot(){return o()}})};D(ur,Rr=>{o()!==null&&Rr(_r)})}w(Et),d(yt,Et)};D(jr,yt=>{a()&&yt(zn)})}var Hn=m(jr,2);Ko(Hn,{get content(){return e(V).tooltip},side:"bottom",sideOffset:4,children:(yt,Et)=>{Lh(yt,{get status(){return e(Ze)},size:14,decorative:!0,class:"justify-start"})},$$slots:{default:!0}});var jn=m(Hn,2),Kn=R(jn,!0);w(mn);var Kr=m(mn,2),hn=I(Kr),Jt=I(hn),tn=I(Jt),$n=R(tn,!0);vr(tn,yt=>L(Ae,yt),()=>e(Ae)),w(Jt),vr(Jt,yt=>L(de,yt),()=>e(de));var Pr=m(Jt,2);{var Tr=yt=>{var Et=sk(),ur=qe(Et),_r=I(ur);Pt(_r,{get icon(){return wl},size:"xs"}),w(ur);var Rr=m(ur,2),j=R(Rr,!0);k(Re=>{gt(ur,1,`wc-pin-indicator inline-flex shrink-0 items-center text-muted-foreground transition-opacity
|
|
263
|
-
${Ie()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),ne(Rr,"id",`workspace-pinned-state-${f().id??""}`),x(j,Re)},[()=>v.layout_activeCard_pinned_header()]),d(yt,Et)};D(Pr,yt=>{A()&&yt(Tr)})}w(hn);var rn=m(hn,2);{var fa=yt=>{var Et=ok(),ur=R(Et,!0);k(()=>x(ur,U())),d(yt,Et)};D(rn,yt=>{U()&&yt(fa)})}var Gr=m(rn,2);{var Jr=yt=>{const Et=u(()=>e(dt));var ur=lk(),_r=I(ur);{let Rr=u(()=>We(e(Et)));Ko(_r,{get content(){return e(Rr)},side:"bottom",sideOffset:4,children:(j,Re)=>{var ft=wt(),Qt=qe(ft);{var lr=xr=>{{let Ir=u(()=>We(e(Et)));bt(xr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Et).foregroundClass??""}`},get"aria-label"(){return e(Ir)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Et).identity},get"data-pr-status"(){return e(Et).status},onclick:Qr=>{Qr.stopPropagation();const Or=f().id;up(async()=>{const{handleLink:nn}=await import("./
|
|
263
|
+
${Ie()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),ne(Rr,"id",`workspace-pinned-state-${f().id??""}`),x(j,Re)},[()=>v.layout_activeCard_pinned_header()]),d(yt,Et)};D(Pr,yt=>{A()&&yt(Tr)})}w(hn);var rn=m(hn,2);{var fa=yt=>{var Et=ok(),ur=R(Et,!0);k(()=>x(ur,U())),d(yt,Et)};D(rn,yt=>{U()&&yt(fa)})}var Gr=m(rn,2);{var Jr=yt=>{const Et=u(()=>e(dt));var ur=lk(),_r=I(ur);{let Rr=u(()=>We(e(Et)));Ko(_r,{get content(){return e(Rr)},side:"bottom",sideOffset:4,children:(j,Re)=>{var ft=wt(),Qt=qe(ft);{var lr=xr=>{{let Ir=u(()=>We(e(Et)));bt(xr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Et).foregroundClass??""}`},get"aria-label"(){return e(Ir)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Et).identity},get"data-pr-status"(){return e(Et).status},onclick:Qr=>{Qr.stopPropagation();const Or=f().id;up(async()=>{const{handleLink:nn}=await import("./D6NxvjAo.js").then(Gn=>Gn.H);return{handleLink:nn}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65]),import.meta.url).then(({handleLink:nn})=>nn(e(Et).url,{workspaceId:Or,event:Qr}))},children:(Qr,Or)=>{Pt(Qr,{get icon(){return e(Et).statusIcon},size:14})},$$slots:{default:!0}})}},ar=xr=>{var Ir=ik(),Qr=I(Ir);Pt(Qr,{get icon(){return e(Et).statusIcon},size:14}),w(Ir),k(Or=>{gt(Ir,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(Et).foregroundClass??""}`,"svelte-1ct56pd"),ne(Ir,"aria-label",Or),ne(Ir,"data-pr-identity",e(Et).identity),ne(Ir,"data-pr-status",e(Et).status)},[()=>We(e(Et))]),d(xr,Ir)};D(Qt,xr=>{e(Et).url?xr(lr):xr(ar,-1)})}d(j,ft)},$$slots:{default:!0}})}w(ur),k(Rr=>ne(ur,"aria-label",Rr),[()=>e(Et).resource?.repository.provider==="gitlab"?v.workspace_hoverCard_mergeRequest_label():v.workspace_hoverCard_pullRequest_label()]),d(yt,ur)};D(Gr,yt=>{e(dt)&&yt(Jr)})}var Yr=m(Gr,2);{var ea=yt=>{var Et=ck(),ur=I(Et);{var _r=j=>{{let Re=u(()=>Pl(f()));Yp(j,{get date(){return e(Re)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},Rr=u(()=>Pl(f())>0);D(ur,j=>{e(Rr)&&j(_r)})}w(Et),k(()=>gt(Et,1,`wc-secondary shrink-0 ${Se()||Ie()||h()&&le()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),d(yt,Et)};D(Yr,yt=>{T()&&yt(ea)})}w(Kr);var Pa=m(Kr,2);{var Da=yt=>{var Et=uk(),ur=I(Et);{var _r=lr=>{{let ar=u(()=>A()?"text-primary-ink":"text-muted-foreground"),xr=u(()=>A()?v.workspace_card_unpin_ariaLabel():v.workspace_card_pin_ariaLabel()),Ir=u(()=>A()?v.workspace_card_unpin_tooltip():v.workspace_card_pin_tooltip());bt(lr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
|
|
264
264
|
${e(ar)??""}`},onclick:Qr=>{Qr.stopPropagation(),Ie()?.(Qr)},get"aria-label"(){return e(xr)},get title(){return e(Ir)},children:(Qr,Or)=>{var nn=dk(),Gn=I(nn);Pt(Gn,{get icon(){return wl},size:"xs"}),w(nn),d(Qr,nn)},$$slots:{default:!0}})}};D(ur,lr=>{Ie()&&lr(_r)})}var Rr=m(ur,2);{var j=lr=>{{let ar=u(()=>v.workspace_card_markAsRead_label()),xr=u(()=>v.workspace_card_markAsRead_label());bt(lr,{variant:"plain",size:"icon-xs",iconOnly:!0,class:"text-muted-foreground hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0",onclick:Ir=>{Ir.stopPropagation(),le()?.(Ir)},get"aria-label"(){return e(ar)},get title(){return e(xr)},children:(Ir,Qr)=>{Pt(Ir,{get icon(){return pd},size:"xs"})},$$slots:{default:!0}})}};D(Rr,lr=>{h()&&le()&&lr(j)})}var Re=m(Rr,2);vn(Re,()=>Se()??Vs);var ft=m(Re,2);{var Qt=lr=>{{let ar=u(mt),xr=u(()=>v.workspace_progressCard_actions_ariaLabel());Wi(lr,{get items(){return e(ar)},get ariaLabel(){return e(xr)},class:"flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:outline-none",get open(){return e(st)},set open(Ir){L(st,Ir,!0)}})}};D(ft,lr=>{se()&&lr(Qt)})}w(Et),vr(Et,lr=>L(Fe,lr),()=>e(Fe)),k(()=>gt(Et,1,`wc-actions absolute right-1 top-1/2 z-20 flex -translate-y-1/2 items-center gap-0.5 rounded-md bg-accent/95 px-0.5 focus-within:opacity-100
|
|
265
265
|
${Ne()?"group-focus-within/wc:opacity-100":"group-focus-within:opacity-100"}
|
|
266
266
|
${we()?"opacity-100":oe()?"opacity-0":Ne()?"opacity-0 group-hover/wc:opacity-100":"opacity-0 group-hover:opacity-100"}`,"svelte-1ct56pd")),d(yt,Et)};D(Pa,yt=>{(Se()||se()||Ie()||h()&&le())&&yt(Da)})}w(Dt),vr(Dt,yt=>L(Ce,yt),()=>e(Ce)),Bn(Dt,(yt,Et)=>Os?.(yt,Et),()=>({id:pe()}));var Xr=m(Dt,2);{var Zr=yt=>{Bh(yt,{get id(){return e(W)},get anchor(){return`--workspace-list-${f().id??""}`},position:"right",get anchorElement(){return e(Ce)},class:"w-auto overflow-visible! rounded-lg border-0! bg-background! shadow-none!",onmouseenter:Zt,onmouseleave:_t,onfocusin:Kt,onfocusout:Vt,children:(Et,ur)=>{var _r=fk(),Rr=I(_r);Fh(Rr,{get workspace(){return f()},get activeAgentIds(){return B()},onkeydown:Ge}),w(_r),vr(_r,j=>L(rt,j),()=>e(rt)),Cn("pointerenter",_r,Zt),Cn("pointerleave",_r,_t),Nr("focusin",_r,Kt),Nr("focusout",_r,Vt),d(Et,_r)},$$slots:{default:!0}})};D(Xr,yt=>{e(ae)&&!oe()&&yt(Zr)})}var bn=m(Xr,2);{var ta=yt=>{const Et=u(mt);var ur=wt(),_r=qe(ur);{var Rr=j=>{{let Re=u(()=>e(et)?.x??0),ft=u(()=>e(et)?.y??0),Qt=u(()=>e(et)?.returnFocus),lr=u(()=>v.workspace_progressCard_actions_ariaLabel());ad(j,{get x(){return e(Re)},get y(){return e(ft)},get returnFocus(){return e(Qt)},get ariaLabel(){return e(lr)},get items(){return e(Et)},onClickOutside:kt})}};D(_r,j=>{e(Et).length>0&&j(Rr)})}d(yt,ur)};D(bn,yt=>{e(et)&&yt(ta)})}k((yt,Et,ur)=>{gt(Dt,1,yt,"svelte-1ct56pd"),ne(Dt,"data-pinned",A()),ne(Dt,"data-highlight-id",pe()),br=An(Dt,"",br,{"anchor-name":`--workspace-list-${f().id??""}`}),ne(jn,"id",`workspace-status-state-${f().id??""}`),x(Kn,e(V).accessibleName),gt(Jt,1,`wc-title type-body min-w-0 truncate font-normal!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./
|
|
1
|
+
var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./AuTI2CWB.js";import{applyCustomMonacoTheme as f,revertMonacoTheme as I}from"./ZynkSP7B.js";import{d as y}from"./B0Z-1lwJ.js";import{Bg as r}from"./BJpbRkma.js";const u="custom-vscode-theme",l="theme-preset-id",d="theme-preset-set",o=typeof window<"u",n=class n{constructor(){a(this,"currentTheme","system");a(this,"fixedDarkAppearance",o&&["dock","dock-annotation","dock-capture-editor"].includes(document.documentElement.dataset.auxiliaryWindow??""));a(this,"mediaQuery",null);a(this,"customTheme",null);a(this,"presetDarkTheme",null);a(this,"presetLightTheme",null);a(this,"appliedCSSVariableKeys",[]);a(this,"activePresetId",null);a(this,"handleSystemThemeChange",()=>{this.currentTheme==="system"&&this.applyTheme()});o&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.loadTheme(),this.setupListeners())}static getInstance(){return n.instance||(n.instance=new n),n.instance}static resetInstance(){n.instance?.dispose(),n.instance=null}loadTheme(){const e=r.getItem("theme");e&&(this.currentTheme=e),this.activePresetId=r.getItem(l);const s=r.getItem(d);if(s)try{const{dark:t,light:i}=JSON.parse(s);this.presetDarkTheme=c(t),this.presetLightTheme=c(i)}catch{r.removeItem(d),this.activePresetId=null,r.removeItem(l)}if(!this.presetDarkTheme){const t=r.getItem(u);if(t)try{const i=JSON.parse(t);this.customTheme=c(i)}catch{r.removeItem(u),this.activePresetId=null,r.removeItem(l)}}this.applyTheme()}setupListeners(){this.mediaQuery&&this.mediaQuery.addEventListener("change",this.handleSystemThemeChange)}dispose(){this.mediaQuery?.removeEventListener("change",this.handleSystemThemeChange),this.mediaQuery=null}setTheme(e,s={}){if(!o)return;const{persist:t=!0}=s;this.currentTheme=e,t&&r.setItem("theme",e),this.applyTheme()}getTheme(){return this.currentTheme}setCustomTheme(e){if(!o)return;const s=c(e);this.customTheme=s,this.activePresetId=null,this.presetDarkTheme=null,this.presetLightTheme=null,r.removeItem(l),r.removeItem(d),r.setJSON(u,e),this.applyTheme()}setPresetTheme(e,s,t){o&&(this.presetDarkTheme=c(s),this.presetLightTheme=c(t),this.activePresetId=e,this.customTheme=null,r.removeItem(u),r.setItem(l,e),r.setJSON(d,{dark:s,light:t}),this.applyTheme())}clearCustomTheme(){o&&(this.customTheme=null,this.presetDarkTheme=null,this.presetLightTheme=null,this.activePresetId=null,r.removeItem(u),r.removeItem(l),r.removeItem(d),this.removeCSSVariableOverrides(),this.applyTheme())}hasCustomTheme(){return this.getActiveTheme()!==null}getCustomThemeName(){return this.getActiveTheme()?.name??null}getActivePresetId(){return this.activePresetId}resolveIsDark(){if(this.fixedDarkAppearance)return!0;const e=this.mediaQuery?.matches??!1;return this.currentTheme==="system"?e:this.currentTheme==="dark"}getActiveTheme(){return this.presetDarkTheme&&this.presetLightTheme?this.resolveIsDark()?this.presetDarkTheme:this.presetLightTheme:this.fixedDarkAppearance&&this.customTheme?.type==="light"?null:this.customTheme}applyTheme(){if(!o)return;const e=document.documentElement,s=this.mediaQuery?.matches??!1,t=this.getActiveTheme(),i=this.isDark();e.classList.remove("dark","light"),e.classList.add(i?"dark":"light"),e.style.setProperty("color-scheme",i?"dark":"light"),t?this.applyCSSVariableOverrides(t.cssVariables):this.removeCSSVariableOverrides(),i&&!s&&!t?e.setAttribute("data-theme-override","true"):e.removeAttribute("data-theme-override");const p=document.querySelector('meta[name="theme-color"]');p&&p.setAttribute("content",i?"#0a0a0a":"#ffffff"),t?f(t.monacoTheme):I(i),y("theme-changed",{theme:this.currentTheme,isDark:i,customThemeName:t?.name??null,activePresetId:this.activePresetId,terminalColors:t?.terminalColors??null})}applyCSSVariableOverrides(e){const s=document.documentElement;this.removeCSSVariableOverrides();const t=[];for(const[i,T]of Object.entries(e))s.style.setProperty(i,T),t.push(i);this.appliedCSSVariableKeys=t}removeCSSVariableOverrides(){const e=document.documentElement;for(const s of this.appliedCSSVariableKeys)e.style.removeProperty(s);this.appliedCSSVariableKeys=[]}toggleTheme(){if(!o)return;const e=["light","dark","system"],t=(e.indexOf(this.currentTheme)+1)%e.length;this.setTheme(e[t])}isDark(){return this.fixedDarkAppearance?!0:this.customTheme?this.customTheme.type==="dark":this.resolveIsDark()}};a(n,"instance",null);let m=n;const E={setTheme:(...h)=>m.getInstance().setTheme(...h),getTheme:()=>m.getInstance().getTheme(),setCustomTheme:(...h)=>m.getInstance().setCustomTheme(...h),setPresetTheme:(...h)=>m.getInstance().setPresetTheme(...h),clearCustomTheme:()=>m.getInstance().clearCustomTheme(),hasCustomTheme:()=>m.getInstance().hasCustomTheme(),getCustomThemeName:()=>m.getInstance().getCustomThemeName(),getActivePresetId:()=>m.getInstance().getActivePresetId(),toggleTheme:()=>m.getInstance().toggleTheme(),isDark:()=>m.getInstance().isDark()};export{m as T,E as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aB as v,b as y}from"./
|
|
1
|
+
import{aB as v,b as y}from"./BOY33UBS.js";var w=5,O=1e-5,X=2,Y=.6,R=1e-6;function N(t){const e=[];for(let s=0;s<t.length-1;s++)e.push({a:t[s],b:t[s+1]});return e}y(N,"buildSegmentList");function T(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=a.x-s.x,d=a.y-s.y,u=r*d-o*i;if(u===0)return null;const n=s.x-t.x,c=s.y-t.y,p=(n*d-c*i)/u,f=(n*o-c*r)/u;return p<=R||p>=1-R||f<=R||f>=1-R?null:{point:{x:t.x+p*r,y:t.y+p*o},tA:p,tB:f}}y(T,"segmentIntersection");function P(t){return Math.abs(t.b.x-t.a.x)>=Math.abs(t.b.y-t.a.y)}y(P,"isHorizontalSeg");function B(t,e,s){if(t.curve!=="rounded")return!1;const a=t.points,r=a[e],o=a[e+1];if(!r||!o)return!1;const i=Math.hypot(o.x-r.x,o.y-r.y),d=s*i,u=e>0?L(a[e-1],r,o,w):null;if(u&&d<u.cutLen)return!0;const n=e+2<a.length?L(r,o,a[e+2],w):null;return n!==null&&i-d<n.cutLen}y(B,"crossingSitsInRoundedCorner");function C(t){const e=[];for(let s=0;s<t.length;s++){const a=t[s],r=N(a.points);for(let o=s+1;o<t.length;o++){const i=t[o],d=N(i.points);for(const[u,n]of r.entries())for(const[c,p]of d.entries()){const f=T(n.a,n.b,p.a,p.b);if(!f||B(a,u,f.tA)||B(i,c,f.tB))continue;const g=P(n),S=P(p);(g!==S?g:!1)?e.push({jumpEdgeId:a.id,otherEdgeId:i.id,segIndex:u,t:f.tA,point:f.point}):e.push({jumpEdgeId:i.id,otherEdgeId:a.id,segIndex:c,t:f.tB,point:f.point})}}}return e}y(C,"findEdgeIntersections");function M(t){const e=Math.round(t*1e3)/1e3;return Number.isInteger(e)?`${e}`:`${e}`}y(M,"fmt");function A(t){return`${M(t.x)},${M(t.y)}`}y(A,"pointToString");function D(t){const e=t.b.x-t.a.x,s=t.b.y-t.a.y;return Math.abs(e)>=Math.abs(s)?e>=0?1:0:s>=0?1:0}y(D,"getArcSweepFlag");function _(t,e){if(t.length<2)return t.map(o=>({...o}));const s=t.map(o=>({...o})),a=e.arrowTypeStart&&v[e.arrowTypeStart];if(a){const o=t[0],i=t[1],d=Math.atan2(i.y-o.y,i.x-o.x);s[0].x=o.x+a*Math.cos(d),s[0].y=o.y+a*Math.sin(d)}const r=e.arrowTypeEnd&&v[e.arrowTypeEnd];if(r){const o=t.length,i=t[o-2],d=t[o-1],u=Math.atan2(d.y-i.y,d.x-i.x);s[o-1].x=d.x-r*Math.cos(u),s[o-1].y=d.y-r*Math.sin(u)}return s}y(_,"applyMarkerOffsets");function k(t,e,s,a,r){const o=t.point.x,i=t.point.y,d={x:o-e*t.r,y:i-s*t.r},u={x:o+e*t.r,y:i+s*t.r},n=[`L${A(d)}`];return r==="arc"?n.push(`A${M(t.r)},${M(t.r)} 0 0 ${a} ${A(u)}`):n.push(`M${A(u)}`),n}y(k,"emitJump");function L(t,e,s,a){const r=e.x-t.x,o=e.y-t.y,i=s.x-e.x,d=s.y-e.y,u=Math.hypot(r,o),n=Math.hypot(i,d);if(u<O||n<O)return null;const c=r/u,p=o/u,f=i/n,g=d/n,S=c*f+p*g,b=Math.max(-1,Math.min(1,S)),m=Math.acos(b);if(m<O||Math.abs(Math.PI-m)<O)return null;const h=Math.min(a/Math.sin(m/2),u/2,n/2);return{startX:e.x-c*h,startY:e.y-p*h,endX:e.x+f*h,endY:e.y+g*h,ctrlX:e.x,ctrlY:e.y,cutLen:h}}y(L,"computeRoundedCorner");function H(t,e,s){const a=t.points;if(a.length<2)return"";const r=_(a,t),o=t.curve==="rounded",i=N(r),d=new Map;for(const n of e){const c=i[n.segIndex];if(!c)continue;const p=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),f=d.get(n.segIndex)??[];f.push({t:n.t,point:n.point,d:n.t*p,r:s.jumpRadius}),d.set(n.segIndex,f)}const u=[`M${A(r[0])}`];for(let n=0;n<i.length;n++){const c=i[n],p=Math.hypot(c.b.x-c.a.x,c.b.y-c.a.y),f=p===0?0:(c.b.x-c.a.x)/p,g=p===0?0:(c.b.y-c.a.y)/p,S=D(c);let b=0;if(o&&n>0){const l=L(r[n-1],r[n],r[n+1]??r[n],w);l&&(b=l.cutLen)}let m=p,h=null;o&&n<i.length-1&&(h=L(r[n],r[n+1],r[n+2]??r[n+1],w),h&&(m=p-h.cutLen));const $=s.jumpRadius*Y,x=[...d.get(n)??[]].sort((l,E)=>l.t-E.t).filter(l=>{const E=Math.min(l.d-b,m-l.d)-X;return l.r=Math.min(l.r,E),l.r>=$});for(let l=0;l<x.length-1;l++){const E=x[l+1].d-x[l].d;if(x[l].r+x[l+1].r>E){const I=E/2;x[l].r=Math.min(x[l].r,I),x[l+1].r=Math.min(x[l+1].r,I)}}for(const l of x)l.r<$||u.push(...k(l,f,g,S,s.jumpStyle));o&&h?(u.push(`L${M(h.startX)},${M(h.startY)}`),u.push(`Q${M(h.ctrlX)},${M(h.ctrlY)} ${M(h.endX)},${M(h.endY)}`)):u.push(`L${A(c.b)}`)}return u.join(" ")}y(H,"rewriteEdgePath");function J(t){return/^[\d\s+,.LMelm-]*$/.test(t)}y(J,"isStraightPath");function U(t){return t?t==="linear"||t==="rounded"||t==="step"||t==="stepBefore"||t==="stepAfter":!0}y(U,"curveSupportsLineHops");function j(t){if(!t)return null;try{const e=typeof atob=="function"?atob(t):Buffer.from(t,"base64").toString(),s=JSON.parse(e);if(!Array.isArray(s))return null;const a=[];for(const r of s)r&&typeof r.x=="number"&&typeof r.y=="number"&&a.push({x:r.x,y:r.y});return a.length>=2?a:null}catch{return null}}y(j,"decodeDataPoints");function F(t,e,s){if(!s.enabled)return;const a=t.node();if(!a)return;const r=new Map;for(const n of e)r.set(n.id,n);const o=new Map;for(const n of a.querySelectorAll("path[data-id]")){const c=n.getAttribute("data-id");c!==null&&!o.has(c)&&o.set(c,n)}const i=[];for(const n of e){const c=o.get(n.id);if(!c)continue;const f=j(c.getAttribute("data-points"))??n.points;i.push({...n,points:f})}const d=C(i);if(d.length===0)return;const u=new Map;for(const n of d){const c=u.get(n.jumpEdgeId)??[];c.push(n),u.set(n.jumpEdgeId,c)}for(const n of i){const c=u.get(n.id);if(!c||c.length===0)continue;const f=r.get(n.id)?.curve;if(f!==void 0&&!U(f))continue;const g=o.get(n.id);if(!g)continue;if(f===void 0){const x=g.getAttribute("d")??"";if(!J(x))continue}const S=g.getAttribute("style")??"",b=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(S),m=b?Number.parseFloat(b[1]):null,h=b?Number.parseFloat(b[2]):null,$=H(n,c,s);if(g.setAttribute("d",$),m!==null&&h!==null&&typeof g.getTotalLength=="function"){const x=g.getTotalLength(),l=Math.max(0,x-m-h),E=`0 ${m} ${l} ${h}`,I=S.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${E};`).replace(/;\s*;+/g,";");g.setAttribute("style",I)}}}y(F,"applyLineJumpsToSvg");export{F as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ze}from"./cEpdukj-.js";import{s as Xe}from"./BoLnGk3G.js";import{b as m,W as Be,a_ as Je,V as Ze,aZ as et,U as tt,b0 as st,Y as it,X as Ne,ay as qe,r as rt,am as nt,aU as at,ab as lt,aG as ct,_ as ot,a1 as ht,aP as ut,bh as ft}from"./BuxJaWiM.js";var Ce=(function(){var e=m(function($,i,n,o){for(n=n||{},o=$.length;o--;n[$[o]]=i);return n},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],S=[2,7],d=[1,26],_=[1,27],b=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],L=[1,37],x=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],R=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],Ae=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ee=[27,29],Ve=[1,70],ve=[1,71],Le=[1,72],xe=[1,73],we=[1,74],De=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],pe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],Me=[1,101],Fe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],fe=[1,114],me=[1,115],Se={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(function(i,n,o,s,E,t,de){var l=t.length-1;switch(E){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:43,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:44,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:45,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:46,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:47,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:48,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:49,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:50,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ae,[2,81]),e(Ae,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:Me}),{33:103,75:[1,102],89:R,90:g},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(p,[2,57],{76:Me}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(T,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(function(i,n){if(n.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=n,o}},"parseError"),parse:m(function(i){var n=this,o=[0],s=[],E=[null],t=[],de=this.table,l="",ge=0,$e=0,Ke=2,Pe=1,We=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var je=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ge(k){o.length=o.length-2*k,E.length=E.length-k,t.length=t.length-k}m(Ge,"popStack");function Ue(){var k;return k=s.pop()||y.lex()||Pe,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=n.symbols_[k]||k),k}m(Ue,"lex");for(var I,z,N,ke,J={},ye,F,Ye,_e;;){if(z=o[o.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),N=de[z]&&de[z][I]),typeof N>"u"||!N.length||!N[0]){var Te="";_e=[];for(ye in de[z])this.terminals_[ye]&&ye>Ke&&_e.push("'"+this.terminals_[ye]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
|
|
1
|
+
import{g as ze}from"./CpPVAOg5.js";import{s as Xe}from"./Es_LZ_6E.js";import{b as m,W as Be,a_ as Je,V as Ze,aZ as et,U as tt,b0 as st,Y as it,X as Ne,ay as qe,r as rt,am as nt,aU as at,ab as lt,aG as ct,_ as ot,a1 as ht,aP as ut,bh as ft}from"./BOY33UBS.js";var Ce=(function(){var e=m(function($,i,n,o){for(n=n||{},o=$.length;o--;n[$[o]]=i);return n},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],S=[2,7],d=[1,26],_=[1,27],b=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],L=[1,37],x=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],R=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],Ae=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ee=[27,29],Ve=[1,70],ve=[1,71],Le=[1,72],xe=[1,73],we=[1,74],De=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],pe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],Me=[1,101],Fe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],fe=[1,114],me=[1,115],Se={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(function(i,n,o,s,E,t,de){var l=t.length-1;switch(E){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:43,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:44,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:45,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:46,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:47,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:48,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:49,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:50,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ae,[2,81]),e(Ae,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:Me}),{33:103,75:[1,102],89:R,90:g},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(p,[2,57],{76:Me}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(T,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(function(i,n){if(n.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=n,o}},"parseError"),parse:m(function(i){var n=this,o=[0],s=[],E=[null],t=[],de=this.table,l="",ge=0,$e=0,Ke=2,Pe=1,We=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var je=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ge(k){o.length=o.length-2*k,E.length=E.length-k,t.length=t.length-k}m(Ge,"popStack");function Ue(){var k;return k=s.pop()||y.lex()||Pe,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=n.symbols_[k]||k),k}m(Ue,"lex");for(var I,z,N,ke,J={},ye,F,Ye,_e;;){if(z=o[o.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),N=de[z]&&de[z][I]),typeof N>"u"||!N.length||!N[0]){var Te="";_e=[];for(ye in de[z])this.terminals_[ye]&&ye>Ke&&_e.push("'"+this.terminals_[ye]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
|
|
2
2
|
`+y.showPosition()+`
|
|
3
3
|
Expecting `+_e.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Te="Parse error on line "+(ge+1)+": Unexpected "+(I==Pe?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Te,{text:y.match,token:this.terminals_[I]||I,line:y.yylineno,loc:Ie,expected:_e})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(N[0]){case 1:o.push(I),E.push(y.yytext),t.push(y.yylloc),o.push(N[1]),I=null,$e=y.yyleng,l=y.yytext,ge=y.yylineno,Ie=y.yylloc;break;case 2:if(F=this.productions_[N[1]][1],J.$=E[E.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},je&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),ke=this.performAction.apply(J,[l,$e,ge,G.yy,N[1],E,t].concat(We)),typeof ke<"u")return ke;F&&(o=o.slice(0,-1*F*2),E=E.slice(0,-1*F),t=t.slice(0,-1*F)),o.push(this.productions_[N[1]][0]),E.push(J.$),t.push(J._$),Ye=de[o[o.length-2]][o[o.length-1]],o.push(Ye);break;case 3:return!0}}return!0},"parse")},He=(function(){var $={EOF:1,parseError:m(function(n,o){if(this.yy.parser)this.yy.parser.parseError(n,o);else throw new Error(n)},"parseError"),setInput:m(function(i,n){return this.yy=n||this.yy||{},this._input=i,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:m(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.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),i},"input"),unput:m(function(i){var n=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var s=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),o.length-1&&(this.yylineno-=o.length-1);var E=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:o?(o.length===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(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:m(function(i){this.unput(this.match.slice(i))},"less"),pastInput:m(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|