@intent-hq/web 2.356.0 → 2.357.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{m_1L8YDL.js → 66_rhosy.js} +1 -1
- package/web/app/immutable/chunks/{C56UGZxo.js → 7y7832WT.js} +1 -1
- package/web/app/immutable/chunks/{XUqsR2dM.js → 8KpVpm2n.js} +1 -1
- package/web/app/immutable/chunks/{3hJVvZIb.js → 9P6ZvzvD.js} +1 -1
- package/web/app/immutable/chunks/{Cmr6SkXW.js → AQD9ZwKP.js} +1 -1
- package/web/app/immutable/chunks/{BSJoOz7i.js → AwwbaDrI.js} +1 -1
- package/web/app/immutable/chunks/{DnSWXxzV.js → B2LPQxIt.js} +1 -1
- package/web/app/immutable/chunks/{CT8xBi4e.js → B3SPWmt-.js} +1 -1
- package/web/app/immutable/chunks/{Q1qyd41K.js → B491IXH3.js} +1 -1
- package/web/app/immutable/chunks/{C10SV0QK.js → B8bo_smg.js} +1 -1
- package/web/app/immutable/chunks/{C52rlzwT.js → BCoXAz1U.js} +2 -2
- package/web/app/immutable/chunks/{C5B6Eobm.js → BDjg6KKO.js} +1 -1
- package/web/app/immutable/chunks/{DZ1oVAq0.js → BG6kMtPP.js} +1 -1
- package/web/app/immutable/chunks/{DPJ00XW2.js → BGJfXAWv.js} +1 -1
- package/web/app/immutable/chunks/BGikh8Vc.js +1 -0
- package/web/app/immutable/chunks/{D0jwbP6x.js → BI5DCVGt.js} +1 -1
- package/web/app/immutable/chunks/{DGYdo9TT.js → BJOQRnVI.js} +1 -1
- package/web/app/immutable/chunks/{B7VQyK0_.js → BLkmPr-r.js} +1 -1
- package/web/app/immutable/chunks/{BqLgeqSo.js → BLxae2bF.js} +1 -1
- package/web/app/immutable/chunks/{DOTf0P-t.js → BMvS7SgR.js} +3 -3
- package/web/app/immutable/chunks/{BkEvjKkT.js → BMyQIDAo.js} +4 -4
- package/web/app/immutable/chunks/{CwtolQzT.js → BN5JMxvy.js} +1 -1
- package/web/app/immutable/chunks/{Brz9e2gG.js → BQ23qfTF.js} +1 -1
- package/web/app/immutable/chunks/BRRNup5V.js +1 -0
- package/web/app/immutable/chunks/{C2TcCxZo.js → BTGEGvnD.js} +1 -1
- package/web/app/immutable/chunks/{jp-EFp_H.js → BU-n7XP4.js} +1 -1
- package/web/app/immutable/chunks/{BofS1KwS.js → BVeQxmcO.js} +1 -1
- package/web/app/immutable/chunks/{CxQR79x9.js → BVoA79wA.js} +1 -1
- package/web/app/immutable/chunks/{BswY3W_t.js → BYHbCXEy.js} +1 -1
- package/web/app/immutable/chunks/{CeS2O8qY.js → BZCD0L1_.js} +1 -1
- package/web/app/immutable/chunks/{BFIn88wz.js → BZQo8LNo.js} +1 -1
- package/web/app/immutable/chunks/{Dlkij1ok.js → BZu-azEo.js} +1 -1
- package/web/app/immutable/chunks/{C8TzkSu-.js → B_3_o4NM.js} +1 -1
- package/web/app/immutable/chunks/{D2tdUHFS.js → Ba0vVpgz.js} +1 -1
- package/web/app/immutable/chunks/{BU4RL-at.js → Bd1ZbfsE.js} +1 -1
- package/web/app/immutable/chunks/{CWIXbeaV.js → Bd3Jv-O1.js} +1 -1
- package/web/app/immutable/chunks/{CElFUKQZ.js → Bjw3ENRr.js} +1 -1
- package/web/app/immutable/chunks/{CVypT9dw.js → BmkId4Xs.js} +1 -1
- package/web/app/immutable/chunks/{I2AaGnPI.js → BnnkDYnu.js} +2 -2
- package/web/app/immutable/chunks/{CdRWTOJH.js → BpTd99tA.js} +1 -1
- package/web/app/immutable/chunks/{C_hA12mf.js → BqrO7ljl.js} +1 -1
- package/web/app/immutable/chunks/{DP0umned.js → Bqt9Orfw.js} +1 -1
- package/web/app/immutable/chunks/{NjZhj8Zd.js → Bsx9tus4.js} +1 -1
- package/web/app/immutable/chunks/{BrbLpvxz.js → BwEOa7Qj.js} +1 -1
- package/web/app/immutable/chunks/{C-e66aNX.js → BxRqO5xf.js} +1 -1
- package/web/app/immutable/chunks/{Xi1bXfW6.js → ByONXdFP.js} +1 -1
- package/web/app/immutable/chunks/{Dh5a6NBk.js → C-ExwGaf.js} +1 -1
- package/web/app/immutable/chunks/{ubZJ3aRY.js → C1qy2l1c.js} +1 -1
- package/web/app/immutable/chunks/{BKyX37Hv.js → C3G5lO0X.js} +1 -1
- package/web/app/immutable/chunks/{DJHp-usZ.js → C5zadSpA.js} +3 -3
- package/web/app/immutable/chunks/{BU0kh-Sb.js → C7uHO1gL.js} +1 -1
- package/web/app/immutable/chunks/{DtEYYerm.js → C8sYbS_R.js} +1 -1
- package/web/app/immutable/chunks/{GO99VSya.js → C9gg-9EN.js} +1 -1
- package/web/app/immutable/chunks/{DGHkxVpF.js → CBPCiMxB.js} +1 -1
- package/web/app/immutable/chunks/{bken9hjc.js → CCdcqA0c.js} +1 -1
- package/web/app/immutable/chunks/{qSv7uH7j.js → CE29X2Rd.js} +1 -1
- package/web/app/immutable/chunks/{VaRQBuSJ.js → CFf_TK-h.js} +1 -1
- package/web/app/immutable/chunks/{GaJYxdeE.js → CG40U4Lm.js} +1 -1
- package/web/app/immutable/chunks/{ZcV6KgHx.js → CGWIKCoJ.js} +1 -1
- package/web/app/immutable/chunks/{DigK0ACF.js → CHK4FXDC.js} +1 -1
- package/web/app/immutable/chunks/{Cek3tbpZ.js → CI-PxDr-.js} +1 -1
- package/web/app/immutable/chunks/{BP5RsOrf.js → CJ5wd9GV.js} +1 -1
- package/web/app/immutable/chunks/{DHLNrcYf.js → CKmIcPAK.js} +1 -1
- package/web/app/immutable/chunks/{kUDleR2i.js → CKpm8C6c.js} +1 -1
- package/web/app/immutable/chunks/{Cj66dtJJ.js → CLmt7ktX.js} +4 -4
- package/web/app/immutable/chunks/{B41JGMlT.js → CRRsvObQ.js} +1 -1
- package/web/app/immutable/chunks/{V4Xr99K1.js → CS9ie09_.js} +1 -1
- package/web/app/immutable/chunks/{BJjXtbtI.js → CSE73PBJ.js} +1 -1
- package/web/app/immutable/chunks/{l0m2gluQ.js → CTGUTBCN.js} +1 -1
- package/web/app/immutable/chunks/{Dqjuna1P.js → CV16Bucz.js} +4 -4
- package/web/app/immutable/chunks/{CLQNQZss.js → CYAcOUio.js} +1 -1
- package/web/app/immutable/chunks/{BJzBOTU3.js → CZbZOYrK.js} +1 -1
- package/web/app/immutable/chunks/{BUUFSDWf.js → C_wivZis.js} +1 -1
- package/web/app/immutable/chunks/{-ELtBkMt.js → Cb2A7MN0.js} +1 -1
- package/web/app/immutable/chunks/{C-8AsR-w.js → Cb3IR_gP.js} +2 -2
- package/web/app/immutable/chunks/{UT4ACEA_.js → CdvOr8yA.js} +1 -1
- package/web/app/immutable/chunks/{C3s85abh.js → CdzMMF6r.js} +1 -1
- package/web/app/immutable/chunks/{JaP81t8n.js → Cha39o9r.js} +1 -1
- package/web/app/immutable/chunks/{B3VdVRJC.js → ChoJBBfE.js} +1 -1
- package/web/app/immutable/chunks/{pM0QEIY2.js → Ci9WXQ89.js} +1 -1
- package/web/app/immutable/chunks/{pPdnPxpA.js → CjRRnXFa.js} +2 -2
- package/web/app/immutable/chunks/{li0r8AjY.js → CjYdM0YD.js} +1 -1
- package/web/app/immutable/chunks/{C2llNKRj.js → ClwnVDeP.js} +1 -1
- package/web/app/immutable/chunks/CqWV3FjA.js +1 -0
- package/web/app/immutable/chunks/{BbSZGErw.js → CrI50RYR.js} +1 -1
- package/web/app/immutable/chunks/{oLvQ4agf.js → CrxXInxf.js} +1 -1
- package/web/app/immutable/chunks/{D9q1f83e.js → Cs6WGZex.js} +1 -1
- package/web/app/immutable/chunks/{DXGCRc-v.js → Ct7QNzzh.js} +45 -45
- package/web/app/immutable/chunks/{DO2tY8Na.js → CwJEu8cK.js} +1 -1
- package/web/app/immutable/chunks/{DH05fLz_.js → Cx0yZw2_.js} +1 -1
- package/web/app/immutable/chunks/{BDtvbR9g.js → Cx9nP__t.js} +1 -1
- package/web/app/immutable/chunks/{BdSqWC9g.js → Cy-rVXS3.js} +1 -1
- package/web/app/immutable/chunks/{VOp5RR5N.js → Cy8j-NHc.js} +1 -1
- package/web/app/immutable/chunks/{DGk6BJW_.js → CyBdhy5_.js} +1 -1
- package/web/app/immutable/chunks/{DEpz31rZ.js → CzeIL_6z.js} +1 -1
- package/web/app/immutable/chunks/{Cy9PgwBN.js → D-EgBFka.js} +1 -1
- package/web/app/immutable/chunks/{CsRxS36e.js → D024cEiO.js} +2 -2
- package/web/app/immutable/chunks/{BBG1iJOq.js → D0VJwOmw.js} +1 -1
- package/web/app/immutable/chunks/{Cl6XIxS3.js → D0orvEYB.js} +1 -1
- package/web/app/immutable/chunks/{BHsKKPAt.js → D2P0fD42.js} +4 -4
- package/web/app/immutable/chunks/{DrmQ2bDO.js → D4U_w4GT.js} +1 -1
- package/web/app/immutable/chunks/{D0rQ0b82.js → D4lmJxBR.js} +1 -1
- package/web/app/immutable/chunks/{CR_Hv869.js → D5P99waS.js} +1 -1
- package/web/app/immutable/chunks/{DnZWqWpU.js → D6j3Zn1d.js} +1 -1
- package/web/app/immutable/chunks/{CmA5yNGW.js → D8aSK4oD.js} +1 -1
- package/web/app/immutable/chunks/{ss5P-nXJ.js → DEAMVhLT.js} +1 -1
- package/web/app/immutable/chunks/{D0yAFGtc.js → DELkwK3u.js} +1 -1
- package/web/app/immutable/chunks/{ClkrfAJy.js → DGaw_Pt8.js} +1 -1
- package/web/app/immutable/chunks/{Ce-VJjKb.js → DIC5rFND.js} +1 -1
- package/web/app/immutable/chunks/{B0spVZ4N.js → DIKVXlyt.js} +2 -2
- package/web/app/immutable/chunks/{D8nvwSEd.js → DJbKSkhu.js} +1 -1
- package/web/app/immutable/chunks/{XUKFV-Lu.js → DJtDx6s-.js} +1 -1
- package/web/app/immutable/chunks/{B8wLLNNy.js → DKOCXDff.js} +1 -1
- package/web/app/immutable/chunks/{CcPsUs-_.js → DKmafHBY.js} +1 -1
- package/web/app/immutable/chunks/{BBWjQSE9.js → DLG3MCT8.js} +1 -1
- package/web/app/immutable/chunks/{D1g1dll-.js → DLIvmKAR.js} +1 -1
- package/web/app/immutable/chunks/{BjyYVLxY.js → DLmwZnzr.js} +5 -5
- package/web/app/immutable/chunks/{CBDYQVg6.js → DO2jrLL9.js} +1 -1
- package/web/app/immutable/chunks/{okOKsgNf.js → DOs89s1W.js} +1 -1
- package/web/app/immutable/chunks/{CUIs2I3O.js → DPirTM_u.js} +1 -1
- package/web/app/immutable/chunks/{DbWUMggW.js → DPxEMxJD.js} +1 -1
- package/web/app/immutable/chunks/{DhACIQne.js → DQIS1MQd.js} +1 -1
- package/web/app/immutable/chunks/{X4juA7yX.js → DQMWee-l.js} +3 -3
- package/web/app/immutable/chunks/{DBIUpShh.js → DRiAJPzW.js} +1 -1
- package/web/app/immutable/chunks/{Ddc-WgaC.js → DUGMxl18.js} +1 -1
- package/web/app/immutable/chunks/DUQ8HfFA.js +1 -0
- package/web/app/immutable/chunks/{BY2fVQo1.js → DUq_tiZf.js} +1 -1
- package/web/app/immutable/chunks/{C2Fl6wsn.js → DZnyvN4o.js} +1 -1
- package/web/app/immutable/chunks/{B6RNERCn.js → DZwGQbE8.js} +1 -1
- package/web/app/immutable/chunks/{C0YLm8CD.js → D_HBCPjs.js} +1 -1
- package/web/app/immutable/chunks/{D9xttWhI.js → D_gAF2kq.js} +1 -1
- package/web/app/immutable/chunks/{Bt7ifO4m.js → DaFADtX2.js} +1 -1
- package/web/app/immutable/chunks/{BwGuXAys.js → DbPDpNcg.js} +1 -1
- package/web/app/immutable/chunks/{2aENTZdC.js → DbSMHaNK.js} +1 -1
- package/web/app/immutable/chunks/{kwciY1c4.js → DbyXkQ-A.js} +1 -1
- package/web/app/immutable/chunks/{C1ovhCkc.js → DcGNquRL.js} +1 -1
- package/web/app/immutable/chunks/{BBdbuIRv.js → Dcvn1tie.js} +2 -2
- package/web/app/immutable/chunks/{BXR8AV82.js → DdIYz1zo.js} +1 -1
- package/web/app/immutable/chunks/{B4kXxEpf.js → DdafiALh.js} +3 -3
- package/web/app/immutable/chunks/{Bl_W_iQz.js → DeYzpxan.js} +1 -1
- package/web/app/immutable/chunks/{B8SIpPze.js → DffSA-Qz.js} +1 -1
- package/web/app/immutable/chunks/{DxaeKN3V.js → DhnPdhLH.js} +1 -1
- package/web/app/immutable/chunks/{niFTE-Md.js → Djfmc_ao.js} +1 -1
- package/web/app/immutable/chunks/{DHyQyItQ.js → DjzRT3Ue.js} +1 -1
- package/web/app/immutable/chunks/{_Drx-ebr.js → Dl-VKCMh.js} +1 -1
- package/web/app/immutable/chunks/{B2uZemcw.js → Dm7f6Xxr.js} +1 -1
- package/web/app/immutable/chunks/{B0jQ6_pS.js → DnD4hxy7.js} +1 -1
- package/web/app/immutable/chunks/{itW2hvvy.js → DnJtXsWm.js} +1 -1
- package/web/app/immutable/chunks/{BNudtN7S.js → DpmKkSJP.js} +1 -1
- package/web/app/immutable/chunks/{7BZaGNhC.js → DqP39woS.js} +1 -1
- package/web/app/immutable/chunks/{FaOBOfng.js → DroTaCBM.js} +1 -1
- package/web/app/immutable/chunks/{BDzgZh6j.js → Dto5_TqF.js} +1 -1
- package/web/app/immutable/chunks/{LuQT0fzd.js → DvMvrFFa.js} +1 -1
- package/web/app/immutable/chunks/{DwQVwa3a.js → DvhhQYfO.js} +1 -1
- package/web/app/immutable/chunks/{DewdHgvV.js → DvjZKcqd.js} +1 -1
- package/web/app/immutable/chunks/{Cq56Q2fb.js → Dwq1B1mD.js} +1 -1
- package/web/app/immutable/chunks/{BwDjkMgu.js → DxNSBFy7.js} +1 -1
- package/web/app/immutable/chunks/{Jvao0AGr.js → DxlrzlUO.js} +1 -1
- package/web/app/immutable/chunks/{7UxzK9uV.js → DyRs4I5x.js} +1 -1
- package/web/app/immutable/chunks/{CQdYXUmV.js → EPCnwBto.js} +1 -1
- package/web/app/immutable/chunks/{DAo-7PH9.js → ExyHKvnG.js} +1 -1
- package/web/app/immutable/chunks/{B3ogllHQ.js → HJvhI2th.js} +2 -2
- package/web/app/immutable/chunks/{CbA-W0g2.js → IDaGSd8y.js} +1 -1
- package/web/app/immutable/chunks/{BzU8kMsE.js → IRSIweMK.js} +2 -2
- package/web/app/immutable/chunks/{0YYQDkpR.js → OBaERIRu.js} +1 -1
- package/web/app/immutable/chunks/{fVmOTKy0.js → OtZHxuvr.js} +1 -1
- package/web/app/immutable/chunks/P93gVaLu.js +1 -0
- package/web/app/immutable/chunks/{Ds39lStS.js → PRunkvIA.js} +1 -1
- package/web/app/immutable/chunks/{DvitXhqS.js → PxbnwPTH.js} +1 -1
- package/web/app/immutable/chunks/{DwUdTRYt.js → Q_7q1g1V.js} +1 -1
- package/web/app/immutable/chunks/{CtiHhMgN.js → WHFDPTSN.js} +1 -1
- package/web/app/immutable/chunks/{DcA-dCWm.js → WSJurcVg.js} +1 -1
- package/web/app/immutable/chunks/{BNC-Lwfi.js → _QB9q3ka.js} +2 -2
- package/web/app/immutable/chunks/{z8tTy55S.js → a11INEB2.js} +1 -1
- package/web/app/immutable/chunks/{DYRmn6Yi.js → aB88tX8Q.js} +1 -1
- package/web/app/immutable/chunks/{a6C5ZRdf.js → fEO_JjJs.js} +1 -1
- package/web/app/immutable/chunks/{Bf6IFDXg.js → hWXfsV3F.js} +2 -2
- package/web/app/immutable/chunks/{DrQShJ4w.js → i56WxPLH.js} +1 -1
- package/web/app/immutable/chunks/{DGdKHW1A.js → iarSknrC.js} +1 -1
- package/web/app/immutable/chunks/{Bqbxbx0y.js → jHHKOkW4.js} +1 -1
- package/web/app/immutable/chunks/{BxCf0oIJ.js → kDhfBVjP.js} +1 -1
- package/web/app/immutable/chunks/{zHxTYVfy.js → q66ttt22.js} +3 -3
- package/web/app/immutable/chunks/{Cvwz8rkw.js → qUWUBPqP.js} +1 -1
- package/web/app/immutable/chunks/{uPLSpGfI.js → r5eyOwTV.js} +1 -1
- package/web/app/immutable/chunks/{D6LGxrdb.js → s3cC8o8y.js} +1 -1
- package/web/app/immutable/chunks/{CN8uwlve.js → sVbFdYPp.js} +1 -1
- package/web/app/immutable/chunks/{Dp8M5p4B.js → scctxWgb.js} +1 -1
- package/web/app/immutable/chunks/{BHwK0Imh.js → u4HT3usu.js} +3 -3
- package/web/app/immutable/chunks/{COBMR4-d.js → v4Y0eqyL.js} +1 -1
- package/web/app/immutable/chunks/{BZoBPzg7.js → wegJMlUp.js} +1 -1
- package/web/app/immutable/chunks/{ChQOFil_.js → wf2_U67h.js} +1 -1
- package/web/app/immutable/chunks/{BNT6moEL.js → xermZvR1.js} +1 -1
- package/web/app/immutable/entry/{app.NGShtn4Q.js → app.B9pbttZz.js} +2 -2
- package/web/app/immutable/entry/start.LGV8aa5W.js +1 -0
- package/web/app/immutable/nodes/{0.DT5uo1CP.js → 0.BuaXl3Zn.js} +1 -1
- package/web/app/immutable/nodes/{1.CxAnkj5F.js → 1.C0hTLxrG.js} +1 -1
- package/web/app/immutable/nodes/{10.Bk0Uz-As.js → 10.BYoBAwS8.js} +1 -1
- package/web/app/immutable/nodes/{12.BpWGXWWa.js → 12.PYOhZUdM.js} +1 -1
- package/web/app/immutable/nodes/{13.leSsSzYY.js → 13.BY569pVx.js} +1 -1
- package/web/app/immutable/nodes/{14.r2frNnQG.js → 14.qZIH60wN.js} +1 -1
- package/web/app/immutable/nodes/{15.Btuvso1L.js → 15.Dp0o2rd0.js} +1 -1
- package/web/app/immutable/nodes/{16.z-YRKnFC.js → 16.Dh2u6eHX.js} +1 -1
- package/web/app/immutable/nodes/{17.C273uCUv.js → 17.I3z1Kvz2.js} +1 -1
- package/web/app/immutable/nodes/{18.By-9PvHS.js → 18.Cz3sqM0n.js} +2 -2
- package/web/app/immutable/nodes/{2.C9_sbsBp.js → 2._25AU1Pu.js} +4 -4
- package/web/app/immutable/nodes/{3.CdN7MkIW.js → 3.RDPPYmES.js} +1 -1
- package/web/app/immutable/nodes/{4.CPmzgx57.js → 4.Demyxi_h.js} +1 -1
- package/web/app/immutable/nodes/{5.D8oJYOMA.js → 5.ylO_Qjm7.js} +1 -1
- package/web/app/immutable/nodes/{6.D9qDJgTP.js → 6.CJQj_6nS.js} +1 -1
- package/web/app/immutable/nodes/{7.DMYRqnZz.js → 7.BP9EIVoN.js} +1 -1
- package/web/app/immutable/nodes/{8.CMfIEC53.js → 8.qL2AO5Vz.js} +4 -4
- package/web/app/immutable/nodes/{9.a5Hg0ELW.js → 9.CH8_E86R.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/index.html +15 -15
- package/web/app/immutable/chunks/DOltLsEz.js +0 -1
- package/web/app/immutable/chunks/DiGDFZTA.js +0 -1
- package/web/app/immutable/chunks/DmVc7sdn.js +0 -1
- package/web/app/immutable/chunks/DoD-b6ik.js +0 -1
- package/web/app/immutable/chunks/aRj-O8WB.js +0 -1
- package/web/app/immutable/entry/start.CLp-6lZP.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as st}from"./JaP81t8n.js";import{g as it}from"./itW2hvvy.js";import{s as at}from"./Cl6XIxS3.js";import{b as f,ay as we,X as F,a1 as rt,aP as nt,bh as Ve,aW as fe,a_ as lt,V as ut,aZ as ot,U as ct,b0 as ht,Y as dt,z as I,r as pt,$ as At,am as ft,aU as gt,ab as mt,x as Ct,aV as bt,aI as U}from"./BHsKKPAt.js";import{c as kt}from"./CxQR79x9.js";import{aP as Et}from"./DYRmn6Yi.js";var Pe=(function(){var t=f(function(O,c,d,p){for(d=d||{},p=O.length;p--;d[O[p]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],g=[1,25],m=[1,32],_=[1,33],Y=[1,34],b=[1,45],me=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Be=[1,9],A=[1,8,9],te=[1,58],se=[1,59],ie=[1,60],ae=[1,61],re=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Me=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],ne=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],le=[13,60,86,100,102,103],K=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],ue=[1,103],W=[1,121],Q=[1,117],X=[1,113],j=[1,119],H=[1,114],q=[1,115],J=[1,116],Z=[1,118],$=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],oe=[12,39],Ne=[1,8,9,39,41,44,46],ce=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(function(c,d,p,l,C,e,ee){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:l.addRelation(e[s]);break;case 20:e[s-1].title=l.cleanupLabel(e[s]),l.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(e[s]);break;case 37:this.$=l.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:l.setCssClass(e[s-2],e[s]);break;case 49:l.addMembers(e[s-3],e[s-1]);break;case 51:l.setCssClass(e[s-5],e[s-3]),l.addMembers(e[s-5],e[s-1]);break;case 52:l.addAnnotation(e[s-3],e[s-1]);break;case 53:l.addAnnotation(e[s-6],e[s-4]),l.addMembers(e[s-6],e[s-1]);break;case 54:l.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],l.addClass(e[s]);break;case 56:this.$=e[s-1],l.addClass(e[s-1]),l.setClassLabel(e[s-1],e[s]);break;case 60:l.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:l.addMember(e[s-1],l.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=l.addNote(e[s],e[s-1]);break;case 72:this.$=l.addNote(e[s]);break;case 73:this.$=e[s-2],l.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],l.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],l.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],l.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],l.setLink(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],l.setLink(e[s-3],e[s-2],e[s]),l.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],l.setClickEvent(e[s-3],e[s-2],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],l.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],l.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],l.setLink(e[s-3],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],l.setLink(e[s-4],e[s-2],e[s]),l.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],l.setCssStyle(e[s-1],e[s]);break;case 106:l.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(A,[2,19],{22:[1,50]}),t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,27]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),{34:[1,51]},{36:[1,52]},t(A,[2,33]),t(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(A,[2,65]),t(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:Me,55:76},{58:78,60:[1,79]},t(A,[2,76]),t(A,[2,77]),t(A,[2,78]),t(A,[2,79]),t(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),t(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},t(ne,[2,133]),t(ne,[2,134]),t(ne,[2,135]),t(ne,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},t(A,[2,20]),t(A,[2,31]),t(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se},t(A,[2,64]),{67:93,73:_e,74:Se},t(le,[2,83],{66:94,68:te,69:se,70:ie,71:ae,72:re}),t(K,[2,84]),t(K,[2,85]),t(K,[2,86]),t(K,[2,87]),t(K,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:m,56:_},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ue},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:W,50:Q,59:110,60:X,82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},{60:[1,122]},{13:Me,55:123},t(S,[2,72]),t(S,[2,138]),{22:W,50:Q,59:124,60:X,61:[1,125],82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),{11:127,12:Ue,39:[2,36]},t(oe,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),t(oe,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(ce,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},t(le,[2,82],{66:136,68:te,69:se,70:ie,71:ae,72:re}),t(le,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:m,56:_},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:ue},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},t(A,[2,91],{13:[1,147]}),t(A,[2,93],{13:[1,149],77:[1,148]}),t(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(A,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(A,[2,106]),t(S,[2,71]),t(A,[2,73],{61:ze}),{60:[1,155]},t(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},t(oe,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(ce,[2,69]),t(ce,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},t(le,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:m,56:_},{45:163,51:ue},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(A,[2,60]),t(A,[2,92]),t(A,[2,94]),t(A,[2,95],{77:[1,165]}),t(A,[2,98]),t(A,[2,99],{13:[1,166]}),t(A,[2,101],{13:[1,168],77:[1,167]}),{22:W,50:Q,60:X,82:j,84:169,85:112,86:H,87:q,88:J,89:Z,90:$},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(oe,[2,11]),t(ce,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ue},t(A,[2,96]),t(A,[2,100]),t(A,[2,102]),t(A,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(A,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(function(c,d){if(d.recoverable)this.trace(c);else{var p=new Error(c);throw p.hash=d,p}},"parseError"),parse:f(function(c){var d=this,p=[0],l=[],C=[null],e=[],ee=this.table,s="",de=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),D=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);D.setInput(c,V.yy),V.yy.lexer=D,V.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ve=D.yylloc;e.push(ve);var et=D.options&&D.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){p.length=p.length-2*N,C.length=C.length-N,e.length=e.length-N}f(tt,"popStack");function Qe(){var N;return N=l.pop()||D.lex()||We,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=d.symbols_[N]||N),N}f(Qe,"lex");for(var B,P,L,Ie,G={},pe,v,Xe,Ae;;){if(P=p[p.length-1],this.defaultActions[P]?L=this.defaultActions[P]:((B===null||typeof B>"u")&&(B=Qe()),L=ee[P]&&ee[P][B]),typeof L>"u"||!L.length||!L[0]){var Oe="";Ae=[];for(pe in ee[P])this.terminals_[pe]&&pe>Ze&&Ae.push("'"+this.terminals_[pe]+"'");D.showPosition?Oe="Parse error on line "+(de+1)+`:
|
|
1
|
+
import{g as st}from"./Cha39o9r.js";import{g as it}from"./DnJtXsWm.js";import{s as at}from"./D0orvEYB.js";import{b as f,ay as we,X as F,a1 as rt,aP as nt,bh as Ve,aW as fe,a_ as lt,V as ut,aZ as ot,U as ct,b0 as ht,Y as dt,z as I,r as pt,$ as At,am as ft,aU as gt,ab as mt,x as Ct,aV as bt,aI as U}from"./D2P0fD42.js";import{c as kt}from"./BVoA79wA.js";import{aP as Et}from"./aB88tX8Q.js";var Pe=(function(){var t=f(function(O,c,d,p){for(d=d||{},p=O.length;p--;d[O[p]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],g=[1,25],m=[1,32],_=[1,33],Y=[1,34],b=[1,45],me=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Be=[1,9],A=[1,8,9],te=[1,58],se=[1,59],ie=[1,60],ae=[1,61],re=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Me=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],ne=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],le=[13,60,86,100,102,103],K=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],ue=[1,103],W=[1,121],Q=[1,117],X=[1,113],j=[1,119],H=[1,114],q=[1,115],J=[1,116],Z=[1,118],$=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],oe=[12,39],Ne=[1,8,9,39,41,44,46],ce=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(function(c,d,p,l,C,e,ee){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:l.addRelation(e[s]);break;case 20:e[s-1].title=l.cleanupLabel(e[s]),l.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(e[s]);break;case 37:this.$=l.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:l.setCssClass(e[s-2],e[s]);break;case 49:l.addMembers(e[s-3],e[s-1]);break;case 51:l.setCssClass(e[s-5],e[s-3]),l.addMembers(e[s-5],e[s-1]);break;case 52:l.addAnnotation(e[s-3],e[s-1]);break;case 53:l.addAnnotation(e[s-6],e[s-4]),l.addMembers(e[s-6],e[s-1]);break;case 54:l.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],l.addClass(e[s]);break;case 56:this.$=e[s-1],l.addClass(e[s-1]),l.setClassLabel(e[s-1],e[s]);break;case 60:l.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:l.addMember(e[s-1],l.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=l.addNote(e[s],e[s-1]);break;case 72:this.$=l.addNote(e[s]);break;case 73:this.$=e[s-2],l.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],l.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],l.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],l.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],l.setLink(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],l.setLink(e[s-3],e[s-2],e[s]),l.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],l.setClickEvent(e[s-3],e[s-2],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],l.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],l.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],l.setLink(e[s-3],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],l.setLink(e[s-4],e[s-2],e[s]),l.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],l.setCssStyle(e[s-1],e[s]);break;case 106:l.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(A,[2,19],{22:[1,50]}),t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,27]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),{34:[1,51]},{36:[1,52]},t(A,[2,33]),t(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(A,[2,65]),t(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:Me,55:76},{58:78,60:[1,79]},t(A,[2,76]),t(A,[2,77]),t(A,[2,78]),t(A,[2,79]),t(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),t(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},t(ne,[2,133]),t(ne,[2,134]),t(ne,[2,135]),t(ne,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},t(A,[2,20]),t(A,[2,31]),t(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se},t(A,[2,64]),{67:93,73:_e,74:Se},t(le,[2,83],{66:94,68:te,69:se,70:ie,71:ae,72:re}),t(K,[2,84]),t(K,[2,85]),t(K,[2,86]),t(K,[2,87]),t(K,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:m,56:_},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ue},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:W,50:Q,59:110,60:X,82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},{60:[1,122]},{13:Me,55:123},t(S,[2,72]),t(S,[2,138]),{22:W,50:Q,59:124,60:X,61:[1,125],82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),{11:127,12:Ue,39:[2,36]},t(oe,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),t(oe,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(ce,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},t(le,[2,82],{66:136,68:te,69:se,70:ie,71:ae,72:re}),t(le,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:m,56:_},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:ue},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},t(A,[2,91],{13:[1,147]}),t(A,[2,93],{13:[1,149],77:[1,148]}),t(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(A,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(A,[2,106]),t(S,[2,71]),t(A,[2,73],{61:ze}),{60:[1,155]},t(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},t(oe,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(ce,[2,69]),t(ce,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},t(le,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:m,56:_},{45:163,51:ue},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(A,[2,60]),t(A,[2,92]),t(A,[2,94]),t(A,[2,95],{77:[1,165]}),t(A,[2,98]),t(A,[2,99],{13:[1,166]}),t(A,[2,101],{13:[1,168],77:[1,167]}),{22:W,50:Q,60:X,82:j,84:169,85:112,86:H,87:q,88:J,89:Z,90:$},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(oe,[2,11]),t(ce,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ue},t(A,[2,96]),t(A,[2,100]),t(A,[2,102]),t(A,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(A,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(function(c,d){if(d.recoverable)this.trace(c);else{var p=new Error(c);throw p.hash=d,p}},"parseError"),parse:f(function(c){var d=this,p=[0],l=[],C=[null],e=[],ee=this.table,s="",de=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),D=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);D.setInput(c,V.yy),V.yy.lexer=D,V.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ve=D.yylloc;e.push(ve);var et=D.options&&D.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){p.length=p.length-2*N,C.length=C.length-N,e.length=e.length-N}f(tt,"popStack");function Qe(){var N;return N=l.pop()||D.lex()||We,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=d.symbols_[N]||N),N}f(Qe,"lex");for(var B,P,L,Ie,G={},pe,v,Xe,Ae;;){if(P=p[p.length-1],this.defaultActions[P]?L=this.defaultActions[P]:((B===null||typeof B>"u")&&(B=Qe()),L=ee[P]&&ee[P][B]),typeof L>"u"||!L.length||!L[0]){var Oe="";Ae=[];for(pe in ee[P])this.terminals_[pe]&&pe>Ze&&Ae.push("'"+this.terminals_[pe]+"'");D.showPosition?Oe="Parse error on line "+(de+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+Ae.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Oe="Parse error on line "+(de+1)+": Unexpected "+(B==We?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Oe,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:ve,expected:Ae})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+B);switch(L[0]){case 1:p.push(B),C.push(D.yytext),e.push(D.yylloc),p.push(L[1]),B=null,Ke=D.yyleng,s=D.yytext,de=D.yylineno,ve=D.yylloc;break;case 2:if(v=this.productions_[L[1]][1],G.$=C[C.length-v],G._$={first_line:e[e.length-(v||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(v||1)].first_column,last_column:e[e.length-1].last_column},et&&(G._$.range=[e[e.length-(v||1)].range[0],e[e.length-1].range[1]]),Ie=this.performAction.apply(G,[s,Ke,de,V.yy,L[1],C,e].concat($e)),typeof Ie<"u")return Ie;v&&(p=p.slice(0,-1*v*2),C=C.slice(0,-1*v),e=e.slice(0,-1*v)),p.push(this.productions_[L[1]][0]),C.push(G.$),e.push(G._$),Xe=ee[p[p.length-2]][p[p.length-1]],p.push(Xe);break;case 3:return!0}}return!0},"parse")},Je=(function(){var O={EOF:1,parseError:f(function(d,p){if(this.yy.parser)this.yy.parser.parseError(d,p);else throw new Error(d)},"parseError"),setInput:f(function(c,d){return this.yy=d||this.yy||{},this._input=c,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:f(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:f(function(c){var d=c.length,p=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var l=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),p.length-1&&(this.yylineno-=p.length-1);var C=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:p?(p.length===l.length?this.yylloc.first_column:0)+l[l.length-p.length].length-p[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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:f(function(c){this.unput(this.match.slice(c))},"less"),pastInput:f(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./BvFAWM27.js";import{z as i,o as c,aW as s}from"./
|
|
1
|
+
import{a as l}from"./BvFAWM27.js";import{z as i,o as c,aW as s}from"./DZwGQbE8.js";async function b(e){if(!e)throw new Error("Missing required parameter: url");let o;try{o=new URL(e)}catch{throw new Error(`Invalid external URL: ${e}`)}if(!l.EXTERNAL.includes(o.protocol)&&!l.EXTERNAL_EXACT.includes(e))throw new Error(`Refusing to open URL externally (scheme not allowed): ${o.protocol}`);if(typeof window>"u")throw new Error("Unable to open external URL outside a window context");const r=window.electronAPI;if(r&&typeof r.invoke=="function")try{const a=await r.invoke("shell:openExternal",{url:e});if(a&&a.success===!0)return}catch{}const t=window.open(e,"_blank");if(t){t.opener=null;return}const n=document.createElement("a");n.href=e,n.target="_blank",n.rel="noopener noreferrer",document.body.appendChild(n),n.click(),n.remove()}const p={blue:"bg-blue-600 dark:bg-blue-400",indigo:"bg-indigo-600 dark:bg-indigo-400",violet:"bg-violet-600 dark:bg-violet-400",rose:"bg-rose-600 dark:bg-rose-400",orange:"bg-orange-600 dark:bg-orange-400",emerald:"bg-emerald-600 dark:bg-emerald-400",teal:"bg-teal-600 dark:bg-teal-400"},d={blue:"var(--color-blue-500)",indigo:"var(--color-indigo-500)",violet:"var(--color-violet-500)",rose:"var(--color-rose-500)",orange:"var(--color-orange-500)",emerald:"var(--color-emerald-500)",teal:"var(--color-teal-500)"};function g(e){return e===void 0?i:e}function f(e){return[null,...c.filter(o=>s.includes(o)||o===e)]}function C(e,o){const r=g(e);return o||r===null?"transparent":`color-mix(in srgb, ${d[r]} 7%, transparent)`}function N(e,o){const r=C(e,o);return r==="transparent"?void 0:`linear-gradient(${r} 0 0)`}export{p as C,d as a,N as b,f as c,C as d,b as o,g as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as h}from"./
|
|
1
|
+
import{J as h}from"./aB88tX8Q.js";import{c as v}from"./ChTqQfQN.js";import{O as d}from"./CjRRnXFa.js";const g=v("AttachmentImageUrl");function y(t,n){const r=n.split("/").filter(e=>e.length>0).map(e=>encodeURIComponent(e)).join("/");return`workspace-file://${t}/${r}`}const u=new Map,a=new Map;let f=0,m=!1;function p(){m||(m=!0,d(()=>{f+=1,u.clear(),a.clear()}))}function A(t,n){u.delete(`${t}/${n}`)}function F(t,n,r){p();let e=!1,i=!1,o=!1;async function l(){if(!e){if(i){o=!0;return}i=!0;try{const c=await $(t,n);e||r(c)}finally{i=!1,o&&(o=!1,l())}}}const s=d(()=>{l()});return l(),{imageFailed(){e||(A(t,n),r(null))},dispose(){e=!0,s()}}}function $(t,n){p();const r=f,e=`${t}/${n}`,i=u.get(e);if(i)return Promise.resolve(i);const o=a.get(e);if(o)return o;const l=(async()=>{try{const s=await h({attachmentId:n,workspaceId:t});if(r!==f)return null;if(!s.exists)return g.warn("Attachment file missing on disk",{attachmentId:n}),null;const c=y(t,s.path);return u.set(e,c),c}catch(s){return g.warn("Failed to resolve attachment image",{attachmentId:n,error:s}),null}finally{r===f&&a.delete(e)}})();return a.set(e,l),l}export{A as e,F as o,$ as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ze}from"./itW2hvvy.js";import{s as Xe}from"./Cl6XIxS3.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"./BHsKKPAt.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"./DnJtXsWm.js";import{s as Xe}from"./D0orvEYB.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"./D2P0fD42.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()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as H,bo as x,bw as U,b as W}from"./BkULGdgB.js";import{bV as j,br as q,bH as A,aD as y,bs as X,ca as z,a5 as J,b_ as C,W as N,bS as K,a7 as Q,ay as Z,bA as $,bn as ee,c9 as te,at as ae,aA as _,aB as M,bI as re,aG as se}from"./DYhIMPy1.js";import{k as oe}from"./Cx2QERlx.js";import{g as D,e as L,o as ne,p as ie}from"./jKsiRjTE.js";import{I as V,g as F,S}from"./B7H9m8-p.js";import{c as T,e as O,f as P}from"./BkQ2g3_N.js";import{_ as G}from"./
|
|
1
|
+
import{t as H,bo as x,bw as U,b as W}from"./BkULGdgB.js";import{bV as j,br as q,bH as A,aD as y,bs as X,ca as z,a5 as J,b_ as C,W as N,bS as K,a7 as Q,ay as Z,bA as $,bn as ee,c9 as te,at as ae,aA as _,aB as M,bI as re,aG as se}from"./DYhIMPy1.js";import{k as oe}from"./Cx2QERlx.js";import{g as D,e as L,o as ne,p as ie}from"./jKsiRjTE.js";import{I as V,g as F,S}from"./B7H9m8-p.js";import{c as T,e as O,f as P}from"./BkQ2g3_N.js";import{_ as G}from"./CjRRnXFa.js";import{c as de}from"./ClwnVDeP.js";function ce(r,a){const i=[...a].filter(t=>Number.isInteger(t)&&t>=0&&r[t]!==void 0).sort((t,o)=>t-o),u=[];for(const t of i){const o=u.at(-1);!o||t>o.endIndex+1?u.push({startIndex:t,endIndex:t}):t>o.endIndex&&(o.endIndex=t)}return u.map(({startIndex:t,endIndex:o})=>{let c=Number.POSITIVE_INFINITY,d=Number.POSITIVE_INFINITY,g=Number.NEGATIVE_INFINITY,m=Number.NEGATIVE_INFINITY;for(let l=t;l<=o;l+=1){const n=r[l];n&&(c=Math.min(c,n.top),d=Math.min(d,n.left),g=Math.max(g,n.left+n.width),m=Math.max(m,n.top+n.height))}return{startIndex:t,endIndex:o,rect:{top:c,left:d,width:g-d,height:m-c}}})}function E(r,a){return Math.max(0,Math.min(r.endIndex,a.endIndex)-Math.max(r.startIndex,a.startIndex)+1)}function le(){let r=j(q([])),a=[],i=1;return{get groups(){return y(r)},update(u,t){const o=new Set,c=ce(u,t).map(d=>{const m=a.filter(l=>!o.has(l.id)&&E(l,d)>0).sort((l,n)=>E(n,d)-E(l,d)||l.id-n.id)[0]?.id??i++;return o.add(m),{id:m,...d}});a=c,A(r,c,!0)},reset(){a=[],A(r,[],!0),i=1}}}var ue=M('<div data-proximity-highlight="selected" style="border-radius: var(--radius-row)"></div>'),me=M('<div data-proximity-highlight="hover" style="border-radius: var(--radius-row)"></div>'),pe=M('<div aria-hidden="true"><!> <!></div>');function fe(r,a){if(new.target)return H({component:fe,...r});X(a,!0);let i=x(a,"store",7),u=x(a,"selectedIndexes",23,()=>[]),t=x(a,"selectedClass",7,"bg-selected"),o=x(a,"hoverClass",7,"bg-hover"),c=x(a,"class",7);const d=le(),g=te(()=>i().activeIndex===null?void 0:i().itemRects[i().activeIndex]);z(()=>{d.update(i().itemRects,u())});const m=(e,s)=>{const p=new S(s.rect.top,s.tier),f=new S(s.rect.left,s.tier),b=new S(s.rect.width,s.tier),v=new S(s.rect.height,s.tier),I=ae(()=>{z(()=>{e.style.transform=`translate3d(${f.current}px, ${p.current}px, 0)`,e.style.width=`${b.current}px`,e.style.height=`${v.current}px`})}),w=h=>{p.set(h.rect.top),f.set(h.rect.left),b.set(h.rect.width),v.set(h.rect.height)},B=ne(()=>ie()&&w(s));return{update(h){s=h,w(h)},destroy(){B(),I()}}};var l={get store(){return i()},set store(e){i(e),_()},get selectedIndexes(){return u()},set selectedIndexes(e=[]){u(e),_()},get selectedClass(){return t()},set selectedClass(e="bg-selected"){t(e),_()},get hoverClass(){return o()},set hoverClass(e="bg-hover"){o(e),_()},get class(){return c()},set class(e){c(e),_()},$set:U,$on:(e,s)=>W(a,e,s)},n=pe(),R=J(n);D(R,17,()=>d.groups,e=>e.id,(e,s)=>{var p=ue();L(p,(f,b)=>m?.(f,b),()=>({rect:y(s).rect,tier:"moderate"})),C(f=>P(p,1,f),[()=>T(O("absolute",t()))]),V(2,p,()=>F,()=>({tier:"moderate"})),N(e,p)});var k=K(R,2);return oe(k,()=>i().sessionId,e=>{var s=Q(),p=Z(s);D(p,17,()=>y(g)?[y(g)]:[],f=>0,(f,b)=>{var v=me();L(v,(I,w)=>m?.(I,w),()=>({rect:y(b),tier:"moderate"})),C(I=>P(v,1,I),[()=>T(O("absolute",o()))]),V(2,v,()=>F,()=>({tier:"fast"})),N(f,v)}),N(e,s)}),$(n),C(e=>P(n,1,e),[()=>T(O("pointer-events-none absolute inset-0",c()))]),N(r,n),ee(l)}const Se=G({base:`${de} menu-row group/menu-item relative z-10 flex w-full min-w-0 cursor-default select-none items-start gap-2.5 border-none bg-transparent px-2.5 py-1.5 transition-colors duration-spring-fast ease-spring-fast focus:text-foreground focus-visible:outline-none data-[menu-item]:font-medium data-[disabled]:pointer-events-none data-[disabled]:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 motion-reduce:transition-none`,variants:{inset:{true:"pl-8"}}}),Ce=G({base:"menu-overlay type-caption relative isolate z-(--layer-popover) overflow-hidden rounded-(--radius-medium) border border-border bg-popover shadow-(--elevation-overlay) [--menu-icon-size:calc(var(--space-3)+var(--space-1)/2)] [--radius-row:calc(var(--radius-small)-var(--space-1)/2)] focus-visible:border-input focus-visible:outline focus-visible:-outline-offset-1 data-[side=bottom]:origin-top data-[side=top]:origin-bottom data-[side=left]:origin-right data-[side=right]:origin-left data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:duration-spring-moderate data-[state=open]:ease-spring-moderate data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:duration-spring-moderate-exit data-[state=closed]:ease-spring-exit motion-reduce:animate-none motion-reduce:transition-none"}),Te="text-shortcut-foreground",Oe=-5,Pe={enter:{tier:"moderate",y:4,scale:.95},exit:{tier:"moderate"}},Y=Symbol("dialog-portal-target");function Ee(r){re(Y,r)}function Me(){const r=se(Y);return()=>r?.()??void 0}const ge=["[data-bits-floating-content-wrapper]",'[role="combobox"][aria-expanded="true"]','[aria-haspopup]:not([aria-haspopup="false"])[aria-expanded="true"]'].join(", ");function Re(r,a){return r?.querySelector(":scope > [data-bits-floating-content-wrapper]")?!0:a.target instanceof Element&&a.target.closest(ge)!==null}export{fe as P,Se as a,Ce as b,Pe as c,Oe as d,Re as e,Te as m,Ee as p,Me as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as t}from"./
|
|
1
|
+
import{k as t}from"./8KpVpm2n.js";import"./DYhIMPy1.js";import{bm as n}from"./BkULGdgB.js";import"./BkQ2g3_N.js";import"./DdvXzOsp.js";import"./CjRRnXFa.js";import"./ChTqQfQN.js";import"./DEAMVhLT.js";import"./DZwGQbE8.js";function L(e){try{const r=new URL(e).hostname.toLowerCase();return r==="daemon.localhost"||r==="client.localhost"}catch{return!1}}const s="browser:resolve-url";function a(e){return typeof e=="object"&&e!==null&&typeof e.url=="string"&&typeof e.rewritten=="boolean"}async function l(e,r){const o={url:e,rewritten:!1};if(!r)return o;try{const i=await r(s,{url:e});return a(i)?i:o}catch{return o}}async function g(e,r){if(!r)return e;try{const o=await r(s,{url:e,mode:"rewrite-only"});return a(o)?o.url:e}catch{return e}}async function c(e){const r=await l(e,typeof window<"u"?window.electronAPI?.invoke:void 0);return r.error&&r.rewritten?r.forbidden?t.error(n.browser_linkOpen_ownerOnlyForward_error()):t.error(n.browser_embedded_resolveFailed_error(),{description:r.error}):r.warning&&t.warning(n.browser_linkOpen_loopbackAmbiguity_warning(),{description:r.warning}),{url:r.url,...r.rewritten&&r.requestedUrl!==void 0?{requestedUrl:r.requestedUrl}:{}}}const h=Object.freeze(Object.defineProperty({__proto__:null,resolveBrowserLinkForOpen:c},Symbol.toStringTag,{value:"Module"}));export{l as a,h as b,g as c,L as i,c as r};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{t as Zt,bo as N,bw as te,bs as W,bq as ee,b as re,bm as n,_ as se}from"./BkULGdgB.js";import{bo as ae,bs as ne,ca as C,bH as G,c5 as yt,aD as F,bj as ie,a5 as O,bS as p,bA as D,b_ as x,W as f,bn as oe,cd as lt,bV as kt,c9 as J,aA as Q,bl as R,bO as h,ay as wt,aB as y}from"./DYhIMPy1.js";import{i as I}from"./CVqc5kFv.js";import{f as St,g as le,s as ce}from"./BkQ2g3_N.js";import{b as ue}from"./BaIAhI85.js";import{b as de}from"./4xlJdO9z.js";import{IH as m,Ck as pe,Ca as me,C9 as fe,IB as _e,BX as ve,ik as be,iK as ge}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DKmafHBY.js","/app/immutable/chunks/DZwGQbE8.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/DcE_bjeG.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DdvXzOsp.js","/app/immutable/chunks/BkULGdgB.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/BGikh8Vc.js","/app/immutable/chunks/qUWUBPqP.js","/app/immutable/chunks/CI-PxDr-.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as Zt,bo as N,bw as te,bs as W,bq as ee,b as re,bm as n,_ as se}from"./BkULGdgB.js";import{bo as ae,bs as ne,ca as C,bH as G,c5 as yt,aD as F,bj as ie,a5 as O,bS as p,bA as D,b_ as x,W as f,bn as oe,cd as lt,bV as kt,c9 as J,aA as Q,bl as R,bO as h,ay as wt,aB as y}from"./DYhIMPy1.js";import{i as I}from"./CVqc5kFv.js";import{f as St,g as le,s as ce}from"./BkQ2g3_N.js";import{b as ue}from"./BaIAhI85.js";import{b as de}from"./4xlJdO9z.js";import{IH as m,Ck as pe,Ca as me,C9 as fe,IB as _e,BX as ve,ik as be,iK as ge}from"./DZwGQbE8.js";import{a as xe,T as he,D as ye,L as ke,o as we}from"./DdafiALh.js";import{F as ct,c$ as Se,c7 as $e,cX as Ae}from"./DcwBt__E.js";import{f as $t}from"./DbyXkQ-A.js";import{k as rt}from"./8KpVpm2n.js";import"./CjRRnXFa.js";import"./DdvXzOsp.js";import"./ChTqQfQN.js";import"./DEAMVhLT.js";import{r as Ce}from"./B8bo_smg.js";import{selectScriptById as ut,selectScriptRuntime as Fe,selectScriptOutput as At,selectScriptRetainedOutput as Oe,selectCanDeleteScript as Ct}from"./BZCD0L1_.js";import{g as De}from"./BN5JMxvy.js";import{bS as Re,dL as Ie,dl as Ft}from"./D4U_w4GT.js";import"./BhaFA6n_.js";import"./BTOuGvfD.js";import"./Dewa-xFN.js";import{e as Le}from"./CGWIKCoJ.js";import{I as Ot}from"./DnD4hxy7.js";var Dt=y("<!> ",1),Be=y('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Te=y('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),qe=y('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Ee=y('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Pe=y('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Me=y('<code class="text-muted-foreground font-mono text-xs"> </code>'),We=y('<span class="sr-only"> </span>'),je=y('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!> <!></div></div>'),ze=y('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Ue(_,c){const z=ae();if(new.target)return Zt({component:Ue,..._});ne(c,!0);const L=()=>W(Mt,"$outputAuthority",B),u=()=>W(Bt,"$runtime$",B),v=()=>W(Tt,"$output$",B),S=()=>W(Pt,"$codeFontFamilyCSS",B),j=()=>W(qt,"$retainedOutput$",B),Rt=()=>W(Et,"$hidesAgentLifecycleActions$",B),dt=()=>W(Lt,"$script$",B),[B,It]=ee();let $=N(c,"scriptId",7),b=N(c,"workspaceId",7),st=N(c,"class",7,""),at=N(c,"runDisabled",7,!1),T=N(c,"runDisabledReason",7,null);const pt=J(()=>at()||T()!==null),q=lt(""),U=lt(""),mt=lt("");let nt=kt(!1);C(()=>q.set(b())),C(()=>U.set($()));let E,i=null,X=null,Y=null,H=null,P=null,K=null;const Lt=ut(q,U),Bt=Fe(q,U),Tt=At(q,U),qt=Oe(q,U,mt),Et=Re(q),Pt=De(),Mt=Ie(q),ft=crypto.randomUUID();C(()=>{const t=b();return $(),()=>{t&&m.dispatch(pe(t,ft))}}),C(()=>{const t=b(),e=$(),a=L(),s=u();if(!a||!t||!e)return;s.status,s.startedAt;const l=crypto.randomUUID();return mt.set(l),G(nt,yt(()=>v().chunks.length===0),!0),m.dispatch(me(t,e,l)),()=>m.dispatch(fe(t,e,l))});let Z=kt(0);const Wt=J(()=>u().status==="exited"&&u().exitCode!=null&&u().exitCode!==0&&u().exitCode<128);function jt(){if(!E||i)return;H=new he(E);const t=H.getCurrentTheme();i=new ye({allowProposedApi:!0,fontFamily:S(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),i.attachCustomKeyEventHandler(a=>{const s=a.metaKey||a.ctrlKey;return!(s&&a.key==="`"||s&&a.key==="j"||s&&a.key==="k")}),X=new we,i.loadAddon(X);const e=new ke((a,s)=>{try{const l=new URL(s);l.hostname==="localhost"||l.hostname==="127.0.0.1"?Ce(s).then(g=>{se(async()=>{const{getPanelLayoutManager:k}=await import("./DKmafHBY.js").then(A=>A.p);return{getPanelLayoutManager:k}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url).then(({getPanelLayoutManager:k})=>{k(b()).openBrowserPanel(g.url,void 0,void 0,g.requestedUrl)}).catch(()=>{window.open(g.url,"_blank")})}):window.open(s,"_blank")}catch{window.open(s,"_blank")}});i.loadAddon(e),i.open(E),H.applyTheme(i),K=requestAnimationFrame(()=>{K=null,X?.fit()}),Y=new ResizeObserver(()=>{X?.fit()}),Y.observe(E),zt()}function zt(){if(!i)return;const t=At.select(m.state,b(),$());t.chunks.length>0&&i.write(t.chunks.map(e=>e.text).join("")),G(Z,t.dropped+t.chunks.length)}function _t(){P!==null&&(cancelAnimationFrame(P),P=null),K!==null&&(cancelAnimationFrame(K),K=null),Y?.disconnect(),Y=null,H?.dispose(),H=null;const t=i;i=null,X=null,G(Z,0),t&&xe(t)}C(()=>{const t=v(),e=yt(()=>F(Z)),a=t.dropped+t.chunks.length;if(!i||a<=e)return;const s=Math.max(e-t.dropped,0);i.write(t.chunks.slice(s).map(l=>l.text).join("")),G(Z,a)}),C(()=>{const t=S();i&&i.options.fontFamily!==t&&(i.options.fontFamily=t)});function Ut(){F(pt)||m.dispatch(_e(b(),$()))}function Xt(){if(!b()){rt.error(n.terminal_scriptOutput_noWorkspace_error());return}m.dispatch(be(b(),$(),j()?.text,ft))}C(()=>{u().status==="idle"&&v().chunks.length===0&&_t()}),C(()=>{!(u().status==="idle"&&v().chunks.length===0)&&E&&!i&&(P!==null&&cancelAnimationFrame(P),P=requestAnimationFrame(()=>{P=null,jt()}))}),ie(()=>{_t()});var Ht={get scriptId(){return $()},set scriptId(t){$(t),Q()},get workspaceId(){return b()},set workspaceId(t){b(t),Q()},get class(){return st()},set class(t=""){st(t),Q()},get runDisabled(){return at()},set runDisabled(t=!1){at(t),Q()},get runDisabledReason(){return T()},set runDisabledReason(t=null){T(t),Q()},$set:te,$on:(t,e)=>re(c,t,e)},tt=ze(),vt=O(tt);{var Kt=t=>{var e=Be(),a=O(e),s=O(a),l=O(s);ct(l,{get icon(){return Se},size:"xs"}),D(s);var g=p(s,2),k=R(g,!0);D(a);var A=p(a,2);{var d=r=>{$t(r,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Xt,children:(o,w)=>{var M=Dt(),V=wt(M);ct(V,{get icon(){return Ae},size:"sm",class:"mr-1.5"});var et=p(V);x(ot=>h(et,` ${ot??""}`),[()=>n.terminal_scriptOutput_askAiToFix_label()]),f(o,M)},$$slots:{default:!0}})};I(A,r=>{Rt()||r(d)})}D(e),x(r=>h(k,r),[()=>n.terminal_scriptOutput_buildFailed_label({exitCode:u().exitCode??0})]),f(t,e)};I(vt,t=>{F(Wt)&&t(Kt)})}var bt=p(vt,2);{var Vt=t=>{var e=Ee(),a=O(e),s=R(a,!0),l=p(a,2),g=R(l,!0),k=p(l,2);{var A=r=>{var o=Te();let w;var M=R(o,!0);x(()=>{w=le(o,"",w,{"font-family":S()}),h(M,j().text)}),f(r,o)},d=r=>{var o=qe(),w=R(o,!0);x(M=>h(w,M),[()=>j().status==="loading"?n.terminal_scriptOutput_retainedLoading_label():n.terminal_scriptOutput_retainedUnavailable_label()]),f(r,o)};I(k,r=>{j().status==="available"?r(A):r(d,-1)})}D(e),x((r,o)=>{h(s,r),h(g,o)},[()=>n.terminal_scriptOutput_retained_label(),()=>n.terminal_scriptOutput_retained_description()]),de("open","toggle",e,r=>G(nt,r),()=>F(nt)),f(t,e)};I(bt,t=>{j()&&t(Vt)})}var gt=p(bt,2);{var Nt=t=>{var e=Pe(),a=R(e,!0);x(s=>h(a,s),[()=>n.terminal_scriptOutput_live_label()]),f(t,e)};I(gt,t=>{v().chunks.length>0&&j()&&t(Nt)})}var xt=p(gt,2);{var Gt=t=>{var e=je(),a=O(e),s=p(O(a),2);{var l=d=>{var r=Me(),o=R(r,!0);x(w=>h(o,w),[()=>ve(dt())]),f(d,r)};I(s,d=>{dt()&&d(l)})}var g=p(s,2);{let d=J(()=>T()??void 0),r=J(()=>n.terminal_scriptOutput_run_label()),o=J(()=>T()?z:void 0);$t(g,{variant:"ghost",size:"xs",get disabled(){return F(pt)},get tooltip(){return F(d)},get"aria-label"(){return F(r)},get"aria-describedby"(){return F(o)},onclick:Ut,class:"text-muted-foreground hover:text-foreground",children:(w,M)=>{var V=Dt(),et=wt(V);ct(et,{get icon(){return $e},class:"h-3 w-3 mr-1"});var ot=p(et);x(Yt=>h(ot,` ${Yt??""}`),[()=>n.terminal_scriptOutput_run_label()]),f(w,V)},$$slots:{default:!0}})}var k=p(g,2);{var A=d=>{var r=We(),o=R(r,!0);x(()=>{ce(r,"id",z),h(o,T())}),f(d,r)};I(k,d=>{T()&&d(A)})}D(a),D(e),f(t,e)};I(xt,t=>{u().status==="idle"&&v().chunks.length===0&&t(Gt)})}var it=p(xt,2);let ht;var Jt=O(it);ue(Jt,t=>E=t,()=>E),D(it),D(tt),x(()=>{St(tt,1,`script-output-viewer ${st()??""}`,"svelte-115p4sl"),ht=St(it,1,"flex-1 relative overflow-hidden",null,ht,{hidden:u().status==="idle"&&v().chunks.length===0})}),f(_,tt);var Qt=oe(Ht);return It(),Qt}async function fr(_,c,z){const L=ut.select(m.state,_,c);if(!L||!z()||!Ct.select(m.state,_,c))return;const u=Ot(L.runtime?.status),v=Ft.select(m.state,_);if(!v){rt.error(n.workspace_client_accessChanged_error());return}if(!await Le({title:n.scripts_delete_title({name:L.name}),description:u?n.scripts_delete_running_description():n.scripts_delete_description(),confirmLabel:n.scripts_delete_label(),destructive:!0}))return;if(v!==Ft.select(m.state,_)){rt.error(n.workspace_client_accessChanged_error());return}const S=ut.select(m.state,_,c);if(!z()||!S||S.createdAt!==L.createdAt||S.name!==L.name||!u&&Ot(S.runtime?.status)||!Ct.select(m.state,_,c)){rt.error(n.scripts_delete_changed_error());return}m.dispatch(ge(_,c,n.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Ue as S,fr as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as Yt,bo as v,bm as F,bw as Zt,bs as Xe,bq as Jt,b as Qt}from"./BkULGdgB.js";import{bs as en,c5 as Ye,ca as xe,aD as t,bH as H,a5 as M,bA as R,W as L,bn as tn,c9 as d,bV as ae,cd as pt,c6 as nn,aA as m,bS as O,b_ as j,bl as Ze,bO as Y,aB as T,b$ as Pe,be as sn,a7 as an,ay as Je}from"./DYhIMPy1.js";import{i as me}from"./CVqc5kFv.js";import{g as on,i as rn}from"./jKsiRjTE.js";import{f as ln}from"./BkQ2g3_N.js";import{f as cn}from"./
|
|
1
|
+
import{t as Yt,bo as v,bm as F,bw as Zt,bs as Xe,bq as Jt,b as Qt}from"./BkULGdgB.js";import{bs as en,c5 as Ye,ca as xe,aD as t,bH as H,a5 as M,bA as R,W as L,bn as tn,c9 as d,bV as ae,cd as pt,c6 as nn,aA as m,bS as O,b_ as j,bl as Ze,bO as Y,aB as T,b$ as Pe,be as sn,a7 as an,ay as Je}from"./DYhIMPy1.js";import{i as me}from"./CVqc5kFv.js";import{g as on,i as rn}from"./jKsiRjTE.js";import{f as ln}from"./BkQ2g3_N.js";import{f as cn}from"./qUWUBPqP.js";import{k as dn}from"./BwEOa7Qj.js";import{IH as Se,nX as fn,zs as un,s8 as bt,nZ as hn,a7 as kt}from"./DZwGQbE8.js";import{bN as gn,dr as vn}from"./D4U_w4GT.js";import{c as mn}from"./ChTqQfQN.js";import{c as Lt,h as He,D as pn}from"./DvhhQYfO.js";import{F as wt,b7 as _t}from"./DcwBt__E.js";import{f as Qe}from"./DbyXkQ-A.js";import"./CjRRnXFa.js";import{t as Re}from"./ByONXdFP.js";import{t as bn}from"./B7H9m8-p.js";import{g as kn}from"./i56WxPLH.js";function wn(q,c,oe,Ie=1){const We=Lt(q,c,oe,"","",{context:3}),re=new Set,pe=new Set,Z=_n(Ie)-1,De=We.split(`
|
|
2
2
|
`);let s=0,I=0,le=!1;for(const B of De)if(B.startsWith("@@")){le=!0;const J=B.match(/@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/);J&&(I=parseInt(J[1],10),s=parseInt(J[2],10))}else le&&(B.startsWith("+")?(re.add(s+Z),s++):B.startsWith("-")?(pe.add(I+Z),I++):B.startsWith(" ")&&(s++,I++));return{additions:re,deletions:pe}}function _n(q){return Number.isFinite(q)&&q>1?Math.floor(q):1}var Ln=T("<div><!> <!></div>"),Cn=T('<div class="diff-skeleton svelte-1f4chm"><div class="diff-skeleton-header svelte-1f4chm"><!> <!></div> <div class="diff-skeleton-content svelte-1f4chm"></div></div>'),yn=T('<div class="error-state svelte-1f4chm"><!> <span class="text-danger text-sm ml-2"> </span></div>'),xn=T('<div class="error-state svelte-1f4chm"><!> <span class="text-subtle text-sm ml-2"> </span></div>'),Pn=T('<div class="empty-state svelte-1f4chm"><span class="text-subtle text-sm"><!></span></div>'),Sn=T('<span class="icon">+</span> ',1),Hn=T('<span class="icon">−</span> ',1),Rn=T('<div class="selection-action-bar svelte-1f4chm"><span class="selection-info"> </span> <!> <!></div>'),In=T('<div class="diff-wrapper svelte-1f4chm"><!> <div class="diff-content svelte-1f4chm"><!></div></div>'),Wn=T('<div class="tracked-change-diff-viewer svelte-1f4chm"><!></div>');function Dn(q,c){if(new.target)return Yt({component:Dn,...q});en(c,!0);const oe=()=>Xe(yt,"$read$",re),Ie=()=>Xe(Rt,"$workspace$",re),We=()=>Xe(It,"$workingTreeFileContentStore",re),[re,pe]=Jt(),Z=mn("TrackedChangeDiffViewer"),De=2*1024*1024;let s=v(c,"change",7),I=v(c,"active",7,!0),le=v(c,"workspaceId",7),B=v(c,"viewMode",7,"unified"),J=v(c,"showHeader",7,!1),Ne=v(c,"foldUnchanged",7,!0),Me=v(c,"lineWrapping",7,!1),U=v(c,"onStageHunk",7),A=v(c,"onUnstageHunk",7),et=v(c,"onOpenCommit",7),Ue=v(c,"refreshKey",7),Ae=v(c,"branchBaseRef",7),Ee=v(c,"branchBaseCommitSha",7),ge=v(c,"useProvidedContent",7,!1),ce=v(c,"allowHeadReads",7,!0),Fe=v(c,"canReadHeadFiles",7),W=v(c,"lineOffset",7,1),tt=v(c,"lineStageIndicators",7),Oe=v(c,"annotations",23,()=>[]),Te=v(c,"renderAnnotation",7),Be=v(c,"virtualizer",7),G=v(c,"gitRootId",7,void 0),be=v(c,"gitRootPath",7,void 0);const de=Ye(()=>le())??kn()?.workspaceId??"",Ct=Math.random().toString(36).substring(2,8),$e=`tracked-diff:${crypto.randomUUID()}`,yt=gn(de,$e),Q=d(()=>oe()?.result?.kind==="trackedDiff"?oe().result:void 0),ke=d(()=>oe()?.loading??!0),nt=d(()=>oe()?.error??null),ze=d(()=>(t(Q)?.oldContent.length??0)+(t(Q)?.newContent.length??0)>De),$=d(()=>t(ze)?"":t(Q)?.oldContent??""),V=d(()=>t(ze)?"":t(Q)?.newContent??""),ee=d(()=>ct(s()?.relativePath||s()?.file||"")),it=d(()=>t(Q)?.chunk?.chunks.length?At(t(Q).chunk,t(ee)):""),xt=d(()=>!t($)&&!t(V)&&!t(it)),Pt=d(()=>!!s()?.gitlink||!!t(Q)?.gitlink),st=d(()=>W()>1?`
|
|
3
3
|
`.repeat(W()-1):""),St=d(()=>t(st)+t($)),Ht=d(()=>t(st)+t(V));let w=ae(null),Ke=ae(null),we=null,_e=ae(!1);const Rt=vn(de),at=pt(void 0),ot=pt(""),It=dn(ot,at),rt=d(Ie),te=d(()=>be()||t(rt)?.worktreePath||t(rt)?.repositoryPath||""),Le=d(()=>s()?.relativePath||s()?.file||"file"),Wt=d(()=>Ut(t(Le)));let Ce=ae(null),lt=ae("");function ct(e){if(!e.startsWith("/")||!t(te))return e;const i=t(te).endsWith("/")?t(te).slice(0,-1):t(te);if(e.startsWith(i+"/"))return e.slice(i.length+1);if(e.startsWith(i)){const a=e.slice(i.length);return a.startsWith("/")?a.slice(1):a}return e}function Dt(e){return e?e.startsWith("/")?e:t(te)?`${t(te)}/${e}`:null:null}const dt=d(()=>W()>1),Nt=d(()=>t(dt)?`${t(Le)}:${He(t($))}:off${W()}`:void 0),Mt=d(()=>t(dt)?`${t(Le)}:${He(t(V))}:off${W()}`:void 0);function Ut(e){const i=e.split(".").pop()?.toLowerCase();return i?{ts:"typescript",tsx:"tsx",js:"javascript",jsx:"jsx",py:"python",rs:"rust",go:"go",rb:"ruby",java:"java",kt:"kotlin",swift:"swift",cs:"csharp",cpp:"cpp",c:"c",h:"c",hpp:"cpp",json:"json",yaml:"yaml",yml:"yaml",toml:"toml",md:"markdown",html:"html",css:"css",scss:"scss",sql:"sql",sh:"bash",bash:"bash",zsh:"bash",svelte:"svelte",vue:"vue"}[i]:void 0}function At(e,i){const a=`a/${i}`,o=`b/${i}`,u=[`diff --git ${a} ${o}`,`--- ${a}`,`+++ ${o}`];for(const r of e.chunks){u.push(`@@ -${r.oldStart},${r.oldLines} +${r.newStart},${r.newLines} @@`);for(const h of r.lines){const l=h.type===kt.Addition?"+":h.type===kt.Deletion?"-":" ",g=h.content.endsWith(`
|
|
4
4
|
`)?h.content.slice(0,-1):h.content;u.push(`${l}${g}`)}}return u.join(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aB as v,b as y}from"./
|
|
1
|
+
import{aB as v,b as y}from"./D2P0fD42.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 +1 @@
|
|
|
1
|
-
import{gW as L,gC as U,IV as P,JH as V,CO as N,ty as j,uu as q,Ai as z,Aj as J,IT as K,IU as Q,Ak as X}from"./
|
|
1
|
+
import{gW as L,gC as U,IV as P,JH as V,CO as N,ty as j,uu as q,Ai as z,Aj as J,IT as K,IU as Q,Ak as X}from"./DZwGQbE8.js";import{Q as f,o as Y,C as Z,e as M,l as I,p as ee,u as te,v as ae}from"./qUWUBPqP.js";import{g as ne}from"./DPirTM_u.js";import{bm as l}from"./BkULGdgB.js";import{z as oe,S as y}from"./CjRRnXFa.js";import{B as h,S as x,P as ce}from"./BGikh8Vc.js";import{aa as le,a8 as E}from"./hWXfsV3F.js";import{g as se}from"./BJOQRnVI.js";function A(e,a){const n=f.select(e.state),o=I.select(e.state);if(!o)return null;const c=n.indexOf(o),s=c+(a==="left"?-1:1),p=n[s];return c<0||!p?null:(e.dispatch(j(o,p,a==="left"?"before":"after")),o)}function B(e){const a=I.select(e);return a&&f.select(e).includes(a)?a:null}function m(e,a,n){const o=B(e.state),c=o?`/workspace/${o}`:ne(e.state);return a!==c&&n(c),o}function ie(e,a,n,o){return e.dispatch(L(a)),m(e,n,o),a}function S(e,a){const o=a.match(/^\/workspace\/([^/]+)/)?.[1];return o?o==="new"?null:o:null}function R(e,a,n,o){if(n==="/")return D(e,a==="next"?0:"last",n,o);e.dispatch(a==="next"?K():Q());const c=I.select(e.state);if(!c)return null;const s=`/workspace/${c}`;return n!==s&&o(s),c}function re(e,a,n){const o=S(e,a);return o?ie(e,o,a,n):null}function pe(e,a,n){const o=S(e,a);if(!o)return null;const c=Y.select(e.state,o);if(!c)return null;const s=c.tabs.find(v=>v.id===c.activeTabId),p=c.tabs.length===0&&c.activeTabId===null,g=Z.select(e.state,o)>1&&(p||c.tabs.length===1&&s!==void 0&&s.closable!==!1);if((!s||s.closable===!1)&&!g)return null;const T=n??se(o)?.availableCanvasWidth??void 0;return e.dispatch(U(o,void 0,T)),s?.id??c.id}function ue(e,a){const n=e.state.panelLayout.byWorkspaceId[a];return!n||n.restoreStatus==="pending"?!1:M.select(e.state,a).length===0}function de(e,a,n){B(e.state)||e.dispatch(P(0)),m(e,a,n)}function O(e,a,{navigate:n,closeWindow:o}){return o?(o(),"window"):(m(e,a,n),null)}function be(e,a,n){const o=S(e,a);return o?pe(e,a,n.availableCanvasWidth)!==null?"panel":ue(e,o)?(e.dispatch(L(o)),f.select(e.state).length>0?(de(e,a,n.navigate),"workspace"):O(e,a,n)??"workspace"):null:f.select(e.state).length>0?null:O(e,a,n)}function fe(e,a,n){return e.dispatch(X()),m(e,a,n)}function ke(e,a,n){const o=a.match(/^\/workspace\/([^/]+)/),c=o&&o[1]!=="new"?o[1]:null,s=te.select(e.state),p=c?ae.select(e.state,c):null;return c&&p&&(!s||p.closedAt>=s.closedAt)?p.kind==="column"?(e.dispatch(z(c)),"column"):(e.dispatch(J(c)),p.kind):s?(fe(e,a,n),"workspace"):null}function we(e,a){const n=a.match(/^\/workspace\/([^/]+)/),o=n&&n[1]!=="new"?n[1]:null;if(!o)return null;const c=q(o);return e.dispatch(c),ee.select(e.state,o)}function D(e,a,n,o){const c=f.select(e.state),s=a==="last"?c.length-1:a;return s<0||s>=c.length?null:(e.dispatch(P(s)),m(e,n,o))}function Se({isMac:e,register:a,store:n,getCurrentPath:o,navigate:c,openNewWorkspace:s,getRailMachineIds:p,onCreateAgent:g,onCreateNote:T,onCreateTerminal:v,onCreateBrowser:F,onWorkspaceTabMoved:W,closeWindow:G,resolveBinding:_}){const r=e?{meta:!0}:{ctrl:!0},$=oe("TOGGLE_SIDEBAR",e),k=t=>()=>t(o()),H=t=>()=>{const i=o().match(/^\/workspace\/([^/]+)/);i?.[1]&&i[1]!=="new"&&t(i[1])},u=t=>_?{binding:()=>_(t)}:{},w=t=>_?.(t)??ce(t);a({...u("global.new-space"),...r,key:"n",global:!0,description:l.workspace_shortcuts_newSpace_description(),action:s}),a({...u("panel.toggle-sidebar"),...$,global:!0,description:y.TOGGLE_SIDEBAR.label,action:()=>n.dispatch(V())}),a({...u("navigation.new-tab"),...r,key:"t",global:!0,description:l.workspace_shortcuts_newPanel_description(),action:k(t=>we(n,t))});for(const[t,i,b,d]of[["workspace.new-agent","a",l.ui_shortcuts_newAgent_label(),g],["workspace.new-note","n",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_note_label()}),T],["workspace.new-terminal","t",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_terminal_label()}),v],["workspace.new-browser","b",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_browser_label()}),F]])d&&a({...u(t),...r,key:i,alt:!0,global:!0,allowInTerminal:!0,description:b,action:H(d)});a({...u("navigation.close-tab"),...r,key:"w",global:!0,description:l.workspace_shortcuts_closePanelTab_description(),action:k(t=>be(n,t,{navigate:c,closeWindow:G}))}),a({...u("navigation.close-space-tab"),...r,key:"w",shift:!0,global:!0,description:l.workspace_shortcuts_closeSpaceTab_description(),action:k(t=>re(n,t,c))}),a({...u("navigation.reopen-tab"),...r,key:"t",shift:!0,global:!0,description:l.workspace_shortcuts_reopenClosedTabOrSpace_description(),action:k(t=>ke(n,t,c))}),a({...u("navigation.move-space-tab-left"),...r,key:"ArrowLeft",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_LEFT.label,action:()=>{const t=A(n,"left");t&&W?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}}),a({...u("navigation.move-space-tab-right"),...r,key:"ArrowRight",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_RIGHT.label,action:()=>{const t=A(n,"right");t&&W?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}});for(const[t,i]of[["next",!1],["previous",!0]]){a({...u(t==="next"?"global.next-space":"global.previous-space"),key:"Tab",ctrl:!0,shift:i,global:!0,description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))});const b=t==="next"?"global.next-space-alt":"global.previous-space-alt";a({...u(b),...r,key:t==="next"?"}":"{",shift:!0,global:!0,allowInTerminal:!0,preferLocal:!0,enabled:d=>!_||!h(b,d,_,e),description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))})}const C=t=>{t===1?c("/"):D(n,t===9?"last":t-2,o(),c)};for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>w("navigation.go-to-device").replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>E.select(n.state)&&!h("navigation.go-to-device",i,w,e),description:l.machineRail_nav_ariaLabel(),action:()=>{const i=p?.()??le.select(n.state).map(d=>d.id),b=i[t===9?i.length-1:t-1];b&&n.dispatch(N(b))}});for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>x["navigation.go-to-device"].replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>!E.select(n.state)&&w("navigation.go-to-tab")===x["navigation.go-to-tab"]&&!h("navigation.go-to-device",i,w,e),description:l.ui_shortcuts_goToTab_label(),action:()=>C(t)});for(let t=1;t<=9;t++)a({binding:()=>w("navigation.go-to-tab").replace(/([1-8])-9$/,String(t)),...r,alt:!0,key:String(t),global:!0,allowInTerminal:!0,enabled:i=>!h("navigation.go-to-tab",i,w,e),description:t===1?l.home_navigation_description():t===9?l.workspace_shortcuts_selectLastSpaceTab_description():l.workspace_shortcuts_selectSpaceTab_description({digit:t}),action:()=>C(t)})}export{be as c,Se as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as i,o as c,c as S,_ as T,n as w,l as C,u as Q,r as Z,e as y,b as K,d as J}from"./CIyUrgF0.js";const ee="0.0.0-browser";function te(e){const t=e?.electronAPI;return!t||t.versions?.electron===ee?"web":"electron"}function v(){return typeof window>"u"?"web":te(window)}function me(){return v()==="electron"}function oe(e){const t=e==="electron";return{windowChrome:t,nativeDialogs:t,shellIntegration:t,externalEditors:t,browserPanel:t,autoUpdate:t,deeplinks:t,nativeNotifications:t,ssh:t}}function ae(){return oe(v())}function fe(e){return ae()[e]}const Le={DEV_CONSOLE:{OPEN:"dev-console:open",CONNECT:"dev-console:connect",READ:"dev-console:read",RECORD:"dev-console:record",CLEAR:"dev-console:clear",SELECT:"dev-console:select",LINKS_STATUS:"dev-console:links-status",LINKS_START:"dev-console:links-start",LINKS_STOP:"dev-console:links-stop",LINKS_READ:"dev-console:links-read",LINKS_RECORD:"dev-console:links-record"},WORKSPACE:{LIST:"workspace:list",CREATE:"workspace:create",GET:"workspace:get",GET_CURRENT:"workspace:get-current",GET_BY_ID:"workspace:get-by-id",GET_ROOT:"workspace:get-root",OPEN:"workspace:open",CLOSE:"workspace:close",SAVE:"workspace:save",UPDATE:"workspace:update",DELETE:"workspace:delete",ACTIVATE:"workspace:activate",ARCHIVE:"workspace:archive",UNARCHIVE:"workspace:unarchive",CLEANUP:"workspace:cleanup",RENAME:"workspace:rename",EXPORT:"workspace:export",IMPORT:"workspace:import",GET_METADATA:"workspace:get-metadata",UPDATE_METADATA:"workspace:update-metadata",GET_RECENT:"workspace:get-recent",CLEAR_RECENT:"workspace:clear-recent",GET_STATS:"workspace:get-stats",VALIDATE:"workspace:validate",REPAIR:"workspace:repair",BACKUP:"workspace:backup",RESTORE:"workspace:restore",GET_SETTINGS:"workspace:get-settings",UPDATE_SETTINGS:"workspace:update-settings",TRIGGER_CHECK:"workspace:trigger-check",LIST_FILES:"workspace:list-files",TEST_WATCHER:"workspace:test-watcher",FIND_REPOSITORIES:"workspace:find-repositories",UPDATE_SPEC_WATCHER_TIMESTAMP:"workspace:update-spec-watcher-timestamp",UPDATE_CURRENT_CONTEXT:"workspace:update-current-context",SEARCH_IN_FILES:"workspace:search-in-files",GET_RECENT_REPOSITORIES:"workspace:get-recent-repositories",ADD_RECENT_REPOSITORY:"workspace:add-recent-repository",CLEAR_RECENT_REPOSITORIES:"workspace:clear-recent-repositories",REMOVE_RECENT_REPOSITORY:"workspace:remove-recent-repository",UPDATE_GIT_INFO:"workspace:update_git_info",GET_SETTINGS_ALT:"workspace:getSettings",UPDATE_SETTINGS_ALT:"workspace:updateSettings",LOAD_RULES:"workspace:load-rules",RENAME_BRANCH:"workspace:rename-branch",GET_HOVER_STATUS:"workspace:get-hover-status",GET_DIFF_SUMMARY:"workspace:get-diff-summary",GET_GIT_SUMMARY:"workspace:get-git-summary",GET_TASKS:"workspace:get-tasks"},AGENT:{LOAD_INITIAL_CONFIG:"agent:load-initial-config",AVAILABLE:"agent:available",RESUME:"agent:resume",CLEANUP:"agent:cleanup",GET_USER_RULES:"agent:get-user-rules",GET_SPECIALIZATION_RULES:"agent:get-specialization-rules",TRACK_STARTED:"agent:track-started",TRACK_COMPLETED:"agent:track-completed",TRACK_ERROR:"agent:track-error",CREATE:"agent:create",CIRCUIT_BREAKER_RESET:"agent:circuit-breaker:reset",SEND_MESSAGE:"agent:send-message",STOP:"agent:stop",SEND:"agent:send",GET_SESSION:"agent:get-session",LIST_SESSIONS:"agent:list-sessions",DELETE_SESSION:"agent:delete-session",RENAME:"agent:rename",SET_PRIORITY:"agent:set-priority",SUBSCRIBE_UPDATES:"agent:subscribe-updates",UNSUBSCRIBE_UPDATES:"agent:unsubscribe-updates",GET_SUGGESTIONS:"agent:get-suggestions",APPLY_SUGGESTION:"agent:apply-suggestion",GET_COMPLETIONS:"agent:get-completions",VALIDATE_INPUT:"agent:validate-input",FORMAT_OUTPUT:"agent:format-output",GET_SHORTCUTS:"agent:get-shortcuts",ADD_SHORTCUT:"agent:add-shortcut",REMOVE_SHORTCUT:"agent:remove-shortcut",EXECUTE_SHORTCUT:"agent:execute-shortcut",GET_PLUGINS:"agent:get-plugins",INSTALL_PLUGIN:"agent:install-plugin",UNINSTALL_PLUGIN:"agent:uninstall-plugin",ENABLE_PLUGIN:"agent:enable-plugin",DISABLE_PLUGIN:"agent:disable-plugin",GET_PLUGIN_SETTINGS:"agent:get-plugin-settings",UPDATE_PLUGIN_SETTINGS:"agent:update-plugin-settings",EXECUTE_PLUGIN_ACTION:"agent:execute-plugin-action",GET_WEBHOOKS:"agent:get-webhooks",ADD_WEBHOOK:"agent:add-webhook",REMOVE_WEBHOOK:"agent:remove-webhook",TEST_WEBHOOK:"agent:test-webhook",GET_INTEGRATIONS:"agent:get-integrations",CONNECT_INTEGRATION:"agent:connect-integration",DISCONNECT_INTEGRATION:"agent:disconnect-integration",SYNC_INTEGRATION:"agent:sync-integration",GET_INTEGRATION_STATUS:"agent:get-integration-status",GET_INTEGRATION_DATA:"agent:get-integration-data",UPDATE_INTEGRATION_SETTINGS:"agent:update-integration-settings",TEST_INTEGRATION:"agent:test-integration",GET_WORKFLOWS:"agent:get-workflows",CREATE_WORKFLOW:"agent:create-workflow",UPDATE_WORKFLOW:"agent:update-workflow",DELETE_WORKFLOW:"agent:delete-workflow",EXECUTE_WORKFLOW:"agent:execute-workflow",PAUSE_WORKFLOW:"agent:pause-workflow",RESUME_WORKFLOW:"agent:resume-workflow",CANCEL_WORKFLOW:"agent:cancel-workflow",GET_WORKFLOW_STATUS:"agent:get-workflow-status",GET_WORKFLOW_HISTORY:"agent:get-workflow-history",EXPORT_WORKFLOW:"agent:export-workflow",IMPORT_WORKFLOW:"agent:import-workflow",VALIDATE_WORKFLOW:"agent:validate-workflow",OPTIMIZE_WORKFLOW:"agent:optimize-workflow",GET_WORKFLOW_METRICS:"agent:get-workflow-metrics",GET_WORKFLOW_LOGS:"agent:get-workflow-logs",CLEAR_WORKFLOW_LOGS:"agent:clear-workflow-logs",SCHEDULE_WORKFLOW:"agent:schedule-workflow",UNSCHEDULE_WORKFLOW:"agent:unschedule-workflow",GET_SCHEDULED_WORKFLOWS:"agent:get-scheduled-workflows",GET_WORKFLOW_TRIGGERS:"agent:get-workflow-triggers",ADD_WORKFLOW_TRIGGER:"agent:add-workflow-trigger",REMOVE_WORKFLOW_TRIGGER:"agent:remove-workflow-trigger",TEST_WORKFLOW_TRIGGER:"agent:test-workflow-trigger",GET_WORKFLOW_VARIABLES:"agent:get-workflow-variables",SET_WORKFLOW_VARIABLES:"agent:set-workflow-variables",GET_WORKFLOW_DEPENDENCIES:"agent:get-workflow-dependencies",RESOLVE_WORKFLOW_DEPENDENCIES:"agent:resolve-workflow-dependencies",GET_WORKFLOW_PERMISSIONS:"agent:get-workflow-permissions",SET_WORKFLOW_PERMISSIONS:"agent:set-workflow-permissions",SHARE_WORKFLOW:"agent:share-workflow",UNSHARE_WORKFLOW:"agent:unshare-workflow",CLONE_WORKFLOW:"agent:clone-workflow",MERGE_WORKFLOWS:"agent:merge-workflows",DIFF_WORKFLOWS:"agent:diff-workflows",GET_WORKFLOW_VERSIONS:"agent:get-workflow-versions",RESTORE_WORKFLOW_VERSION:"agent:restore-workflow-version",TAG_WORKFLOW_VERSION:"agent:tag-workflow-version",GET_WORKFLOW_TAGS:"agent:get-workflow-tags",REMOVE_WORKFLOW_TAG:"agent:remove-workflow-tag",SET_MODEL:"agent:set-model"},EVENTS:{QUERY:"events:query",EMIT:"events:emit",GET_LAST_EVENT:"events:getLastEvent",GET_STATISTICS:"events:getStatistics",GET_AGENT_SUBSCRIPTIONS:"events:get-agent-subscriptions",UNSUBSCRIBE_AGENT:"events:unsubscribe-agent"},AUGGIE:{INSTALL:"auggie:install",AUTHENTICATE:"auggie:authenticate",GET_CONFIG:"auggie:get-config",UPDATE_CONFIG:"auggie:update-config",GET_LATEST_SESSION:"auggie:get-latest-session",EXTRACT_FILE_CHANGES:"auggie:extract-file-changes",GET_PATH:"auggie:get-path",GET_USER_INFO:"auggie:get-user-info",UNINSTALL_MCP_CLAUDE_CODE:"auggie:uninstall-mcp-claude-code",UNINSTALL_MCP_CODEX:"auggie:uninstall-mcp-codex",UNINSTALL_MCP_OPENCODE:"auggie:uninstall-mcp-opencode",UNINSTALL_MCP_CORTEX:"auggie:uninstall-mcp-cortex",UNINSTALL_MCP_PI:"auggie:uninstall-mcp-pi",UNINSTALL_MCP_DROID:"auggie:uninstall-mcp-droid"},PROVIDERS:{GET_MODELS:"providers:get-models",GET_AVAILABILITY:"providers:get-availability",PREPARE_ADAPTERS:"providers:prepare-adapters",GET_PATHS:"providers:get-paths",CHECK_SINGLE:"providers:check-single"},FILE:{READ:"file:read",READ_CHUNK:"file:read-chunk",HASH:"file:hash",WRITE:"file:write",DELETE:"file:delete",EXISTS:"file:exists",LIST:"file:list",COPY:"file:copy",MOVE:"file:move",GET_INFO:"file:get-info",READ_DIR_WITH_STATS:"file:readDirWithStats",GET_GITIGNORE_PATTERNS:"file:getGitignorePatterns",READ_BATCH:"file:read-batch",MKDIR:"file:mkdir",GET_GIT_STATUS:"file:getGitStatus",GET_TREE_WITH_SIZES:"file:getTreeWithSizes",GET_DIRECTORY_STATUS:"file:getDirectoryStatus",DOWNLOAD:"file:download",DOWNLOAD_ATTACHMENT:"file:download-attachment"},PRIMITIVES:{CODEBASE_SEARCH:"codebase:search",TERMINAL_RUN:"terminal:runCommand",TERMINAL_KILL:"terminal:killProcess",TERMINAL_SUBSCRIBE:"terminal:subscribeOutput",AGENT_RUN:"agent:runAction"},SYSTEM:{GET_INFO:"system:get-info",GET_RESOURCES:"system:get-resources",OPEN_EXTERNAL:"system:open-external",SHOW_ITEM_IN_FOLDER:"system:show-item-in-folder",WRITE_CLIPBOARD:"system:write-clipboard",BEEP:"system:beep",HOME_DIRECTORY:"system:home-directory",EXECUTE_COMMAND:"system:execute-command",EXECUTE_COMMAND_STREAMING:"system:execute-command-streaming",CHECK_GIT:"system:check-git",CHECK_NODE:"system:check-node",CHECK_GH:"system:check-gh",CHECK_RTK:"system:check-rtk",LIST_FONTS:"system:list-fonts"},APP:{SET_BADGE:"app:set-badge",SET_LANGUAGE_PREFERENCE:"app:set-language-preference",VERSION:"app:version",GET_VERSION:"app:get-version",NAME:"app:name",PATH:"app:path",ROOT:"app:root",UI_NAVIGATE:"app:ui:navigate",UI_HIGHLIGHT:"app:ui:highlight",HISTORY_NAVIGATE:"app:history-navigate"},QUIT_CONFIRMATION:{SHOW:"quit-confirmation:show",ACK:"quit-confirmation:ack",RESPONSE:"quit-confirmation:response",DISMISS:"quit-confirmation:dismiss"},COLLABORATION_AUTH:{POLICY:"collaboration-auth:policy",OPEN:"collaboration-auth:open",SHOW:"collaboration-auth:show",ACTION:"collaboration-auth:action",DISMISS:"collaboration-auth:dismiss"},INVITE_CONSENT:{SHOW:"invite-consent:show",ACK:"invite-consent:ack",RESPONSE:"invite-consent:response",DISMISS:"invite-consent:dismiss"},INVITE_PROGRESS:{SHOW:"invite-progress:show",UPDATE:"invite-progress:update",ACK:"invite-progress:ack",RESPONSE:"invite-progress:response",DISMISS:"invite-progress:dismiss"},INVITE_NOTICE:{SHOW:"invite-notice:show",ACK:"invite-notice:ack",RESPONSE:"invite-notice:response",DISMISS:"invite-notice:dismiss"},WINDOW:{RELOAD:"window:reload",TOGGLE_DEVTOOLS:"window:toggle-devtools",MINIMIZE:"window:minimize",MAXIMIZE:"window:maximize",CLOSE:"window:close",CREATE:"window:create",OPEN_NEW:"window:open-new",SET_THEME:"window:set-theme",SET_TRANSLUCENCY:"window:set-translucency",SET_MENU_BAR_AUTO_HIDE:"window:set-menu-bar-auto-hide",GET_ZOOM_FACTOR:"window:get-zoom-factor",SET_TITLE:"window:set-title",SET_IN_WORKSPACE:"window:set-in-workspace",SET_OPEN_WORKSPACE_TABS:"window:set-open-workspace-tabs",SET_BROWSER_FOCUSED:"window:set-browser-focused",SET_FULL_SCREEN:"window:set-full-screen",GET_FULL_SCREEN:"window:get-full-screen",SET_DOCK_POINTER_REGION:"window:set-dock-pointer-region",FOCUS_DOCK:"window:focus-dock",GET_DOCK_PLACEMENT:"window:get-dock-placement",UPDATE_DOCK_PLACEMENT:"window:update-dock-placement",SHOW_DOCK_MENU:"window:show-dock-menu",ACTIVATE_APP:"window:activate-app",SWITCH_DOCK_BACKEND:"window:switch-dock-backend",DOCK_BACKEND_SWITCH_FAILED:"window:dock-backend-switch-failed",DOCK_PLACEMENT_CHANGED:"window:dock-placement-changed",DOCK_POINTER_PRESENCE_CHANGED:"window:dock-pointer-presence-changed",DOCK_SHOWN:"window:dock-shown",DOCK_RENDERER_READY:"window:dock-renderer-ready",GET_DOCK_LAB:"window:get-dock-lab",SET_DOCK_LAB:"window:set-dock-lab",DOCK_LAB_CHANGED:"window:dock-lab-changed",CYCLE_FOCUS:"window:cycle-focus"},DOCK_CONTEXT:{GET:"dock-context:get",CHANGED:"dock-context:changed"},DOCK_SHORTCUTS:{GET:"dock-shortcuts:get",SET:"dock-shortcuts:set",CAPTURE:"dock-shortcuts:capture",CHANGED:"dock-shortcuts:changed"},CHAT_MEDIA:{BEGIN:"chat-media:begin",CONTROL:"chat-media:control",CLOSE:"chat-media:close"},DOCK_EVIDENCE:{BEGIN:"dock-evidence:begin",CAPTURE:"dock-evidence:capture",CANCEL:"dock-evidence:cancel",CONTROL:"dock-evidence:control",EVENT:"dock-evidence:event"},DOCK_ANNOTATION:{READY:"dock-annotation:ready",POINTER:"dock-annotation:pointer",GESTURE:"dock-annotation:gesture",GET_STILL:"dock-annotation:get-still",STATE:"dock-annotation:state",TOOLBAR:"dock-annotation:toolbar",SIGNAL:"dock-annotation:signal"},DOCK_CAPTURE_EDITOR:{OPEN:"dock-capture-editor:open",GET:"dock-capture-editor:get",CLOSE:"dock-capture-editor:close",DELETE:"dock-capture-editor:delete",DELETE_REQUESTED:"dock-capture-editor:delete-requested",DELETE_RESULT:"dock-capture-editor:delete-result",DISCARD:"dock-capture-editor:discard",KEEP:"dock-capture-editor:keep",CHANGED:"dock-capture-editor:changed",CONFIRM_DISCARD:"dock-capture-editor:confirm-discard",SAVE:"dock-capture-editor:save",SAVE_REQUESTED:"dock-capture-editor:save-requested",RETAKE:"dock-capture-editor:retake",RETAKE_REQUESTED:"dock-capture-editor:retake-requested",HOLD_BEGIN:"dock-capture-editor:hold-begin",HOLD_END:"dock-capture-editor:hold-end",HOLD_SHOW:"dock-capture-editor:hold-show",ATTACHED:"dock-capture-editor:attached",ATTACH_RETURN:"dock-capture-editor:attach-return",RETAKE_RESULT:"dock-capture-editor:retake-result",TRANSCRIPT_UPDATE:"dock-capture-editor:transcript-update",NOTE_DICTATION:"dock-capture-editor:note-dictation",NOTE_DICTATION_REQUESTED:"dock-capture-editor:note-dictation-requested",NOTE_DICTATION_TEXT:"dock-capture-editor:note-dictation-text",NOTE_DICTATION_UPDATE:"dock-capture-editor:note-dictation-update",WAVEFORM_UPDATE:"dock-capture-editor:waveform-update",SAVE_RESULT:"dock-capture-editor:save-result"},DOCK_MEDIA:{CLIPBOARD_WRITE:"dock-media:clipboard-write",CLIPBOARD_READ:"dock-media:clipboard-read",MENU:"dock-media:menu"},POWER:{GET_BATTERY_STATE:"power:get-battery-state",BATTERY_CHANGED:"power:battery-changed"},TERMINAL:{CREATE_WITH_COMMAND:"terminal:createWithCommand",PROFESSIONAL_CREATE:"terminal:professional:create",PROFESSIONAL_LIST:"terminal:professional:list",PROFESSIONAL_WRITE:"terminal:professional:write",PROFESSIONAL_RESIZE:"terminal:professional:resize",PROFESSIONAL_INFO:"terminal:professional:info",PROFESSIONAL_REFRESH:"terminal:professional:refresh",PROFESSIONAL_DISPOSE:"terminal:professional:dispose",PROFESSIONAL_GET_BUFFER:"terminal:professional:get-buffer"},GIT:{STATUS:"git:status",STATUS_CHANGED:"git:status-changed",AUTH_REQUIRED:"git:auth-required",KEYCHAIN_ACCESS_WARNING:"git:keychain-access-warning",KEYCHAIN_CONSENT_RESPOND:"git:keychain-consent-respond",CHECK_KEYCHAIN_RISK:"git:check-keychain-risk",DIFF:"git:diff",NUMSTAT:"git:numstat",COMMIT:"git:commit",COMMIT_DETAILS:"git:commit-details",PUSH:"git:push",PULL:"git:pull",BRANCH:"git:branch",CHECKOUT:"git:checkout",LOG:"git:log",HISTORY:"git:history",GET_BRANCHES:"git:getBranches",STAGE:"git:stage",UNSTAGE:"git:unstage",STAGE_HUNK:"git:stage-hunk",UNSTAGE_HUNK:"git:unstage-hunk",DISCARD:"git:discard",REMOVE_LOCK:"git:removeLock",SHOW_FILE:"git:show-file",FILE_HISTORY:"git:file-history",RENAME_BRANCH:"git:rename-branch",PULL_BRANCH:"git:pullBranch",GET_BRANCH_STATUS:"git:getBranchStatus",GET_REMOTES:"git:getRemotes",FETCH:"git:fetch"},CONFIG:{GET:"config:get",SET:"config:set",DELETE:"config:delete",GET_ALL:"config:get-all",RESET:"config:reset"},SETTINGS:{GET:"settings:get",SET:"settings:set",GET_ALL:"settings:getAll",UPDATE:"settings:update"},FEATURE_CODES:{ACTIVATE:"feature-codes:activate",GET_ACTIVE:"feature-codes:get-active",DEACTIVATE:"feature-codes:deactivate",RESTART_APP:"feature-codes:restart-app"},USER_MCP:{AUTHENTICATE:"user-mcp:authenticate",CHECK_AUTH:"user-mcp:check-auth",TEST_CONNECTION:"user-mcp:test-connection"},NOTIFICATION:{TEST:"notification:test",REQUEST_PERMISSION:"notification:requestPermission",SHOW:"notification:show"},DIALOG:{MESSAGE:"dialog:message",OPEN:"dialog:open"},VOICE:{LOCAL_AVAILABLE:"voice:local-available",TRANSCRIBE_LOCAL:"voice:transcribe-local",REQUEST_LOCAL_AUTHORIZATION:"voice:request-local-authorization"},SHELL:{OPEN:"shell:open",OPEN_PATH:"shell:openPath",OPEN_EXTERNAL:"shell:openExternal",TRASH_ITEM:"shell:trashItem",SHOW_ITEM_IN_FOLDER:"shell:showItemInFolder"},EDITOR:{GET_SELECTION:"editor:get-selection"},EXTERNAL_EDITORS:{DETECT_INSTALLED:"external-editors:detect-installed",OPEN:"external-editors:open",OPEN_WITH_OTHER:"external-editors:open-with-other"},FIRST_VISIT:{LOAD:"first-visit-state:load",SAVE:"first-visit-state:save",DELETE:"first-visit-state:delete",EXISTS:"first-visit-state:exists"},PANEL_LAYOUT:{LOAD:"panel-layout:load",SAVE:"panel-layout:save"},BROWSER:{REGISTER_TAB:"browser:register-tab",UNREGISTER_TAB:"browser:unregister-tab",REPORT_TAB_BOUNDS:"browser:report-tab-bounds",SET_TAB_VIEWPORT:"browser:set-tab-viewport",OPEN_DEVTOOLS_PANEL:"browser:open-devtools-panel",EXEC:"browser:exec",RESOLVE_URL:"browser:resolve-url",FOCUS_TAB:"browser:focus-tab",SHOW_TAB:"browser:show-tab",LIST_TABS_REQUEST:"browser:list-tabs-request",HOST_WORKSPACE:"browser:host-workspace",CAPTURE_DRAWING:"browser:capture-drawing",AGENT_DRAWING:"browser:agent-drawing",BACKGROUND_HOSTED_WORKSPACES:"browser:background-hosted-workspaces",LIST_TABS_RESPONSE:"browser:list-tabs-response",OPEN_TAB:"browser:open-tab",OPEN_LINK:"browser:open-link",DIAGNOSE_TAB:"browser:diagnose-tab",CLOSE_TAB:"browser:close-tab",TAB_NAVIGATED:"browser:tab-navigated",TAB_OWNER_CHANGED:"browser:tab-owner-changed",CLEAR_AGENT_TABS:"browser:clear-agent-tabs"},FILE_TRACKING:{AGENT_FILE_CHANGED:"file-tracking:agent-file-changed"},STREAMING:{START:"streaming:start",STOP:"streaming:stop",PAUSE:"streaming:pause",RESUME:"streaming:resume",GET_STATS:"streaming:get-stats"},AGENT_CONFIG:{GET:"agent-config:get",UPDATE:"agent-config:update",RESET:"agent-config:reset"},LOG:{TRACK_FILE_CHANGE:"log:track-file-change",TRACK_AGENT_EVENT:"log:track-agent-event",TRACK_MCP_CALL:"log:track-mcp-call",PATHS:"log:paths",READ:"log:read",CLEAR:"log:clear",SUMMARY:"log:summary",EXPORT_DEBUG_BUNDLE:"log:export-debug-bundle",PERSIST_RENDERER_LOGS:"log:persist-renderer-logs"},USER_RULES:{GET:"user-rules:get",SET:"user-rules:set",DELETE:"user-rules:delete",GET_ALL:"user-rules:get-all",GET_FORMATTED:"user-rules:get-formatted",SET_ENABLED:"user-rules:set-enabled",EXPORT:"user-rules:export",IMPORT:"user-rules:import",GET_COMBINED_PROMPT:"user-rules:get-combined-prompt",UPDATE:"user-rules:update",GET_BY_TYPE:"user-rules:get-by-type",GET_FORMATTED_BY_TYPE:"user-rules:get-formatted-by-type",UPDATE_BY_TYPE:"user-rules:update-by-type",SET_ENABLED_BY_TYPE:"user-rules:set-enabled-by-type",DELETE_BY_TYPE:"user-rules:delete-by-type",EXPORT_BY_TYPE:"user-rules:export-by-type"},VSCODE:{OPEN:"vscode:open",OPEN_FILE:"vscode:openFile",OPEN_DIFF:"vscode:open-diff",OPEN_GIT_DIFF:"vscode:open-git-diff"},JETBRAINS:{OPEN:"jetbrains:open"},XCODE:{OPEN:"xcode:open"},DEEP_LINK:{HANDLE:"deep-link:handle",CONSUME_PENDING:"deep-link:consume-pending"},LEGACY:{GET_HOME_DIRECTORY:"get_home_directory"},RULES:{LIST:"rules:list",LOAD_WORKSPACE:"rules:load-workspace",GET_CONTEXT:"rules:get-context"},CONFIG_RULES:{GET_ALL:"config:getAll"},USER_ACTIVITY:{MARK_NOTE_READ:"user-activity:mark-note-read",GET_NOTE_READ_STATUS:"user-activity:get-note-read-status",GET_UNREAD_NOTE_IDS:"user-activity:get-unread-note-ids"},GIT_TRACKING:{GET_STATE:"git-tracking:get-state",GET_SYNC_STATUS:"git-tracking:get-sync-status",SYNC:"git-tracking:sync",GET_FILE_DIFF:"git-tracking:get-file-diff",IS_GITHUB_AUTHENTICATED:"git-tracking:is-github-authenticated",GET_GITHUB_BRANCHES:"git-tracking:get-github-branches",GET_PULL_REQUESTS:"git-tracking:get-pull-requests",SEARCH_PULL_REQUESTS:"git-tracking:search-pull-requests",GET_PULL_REQUEST:"git-tracking:get-pull-request",CREATE_PULL_REQUEST:"git-tracking:create-pull-request",GET_GITHUB_ISSUES:"git-tracking:get-github-issues",SEARCH_GITHUB_ISSUES:"git-tracking:search-github-issues",LIST_RELATED_REPOS:"git-tracking:list-related-repos",GET_REMOTE_URL:"git-tracking:get-remote-url",GET_CHECK_RUNS:"git-tracking:get-check-runs",GET_PR_REVIEWS:"git-tracking:get-pr-reviews"},GITHUB_AUTH:{IS_AUTHENTICATED:"github-auth:is-authenticated",GET_USER:"github-auth:get-user",START_AUTH:"github-auth:start",POLL_FOR_TOKEN:"github-auth:poll",CANCEL_AUTH:"github-auth:cancel",LOGOUT:"github-auth:logout",GET_AUTH_STATE:"github-auth:get-auth-state",GET_STATUS:"github-auth:get-status",LIST_REPOS:"github-auth:list-repos",SEARCH_REPOS:"github-auth:search-repos",SEARCH_USERS:"github-auth:search-users"},FORGE_AUTH:{GET_STATUS:"forge-auth:get-status",CONNECT:"forge-auth:connect",CANCEL_AUTH:"forge-auth:cancel",REVOKE:"forge-auth:revoke",GET_USER:"forge-auth:get-user"},LINEAR_AUTH:{IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},SENTRY_AUTH:{IS_AUTHENTICATED:"sentry-auth:is-authenticated",SAVE_CONFIG:"sentry-auth:save-config",GET_AUTH_STATE:"sentry-auth:get-auth-state",LOGOUT:"sentry-auth:logout",FETCH_PROJECTS:"sentry-auth:fetch-projects",FETCH_ISSUES:"sentry-auth:fetch-issues",SEARCH_ISSUES:"sentry-auth:search-issues",GET_ISSUE:"sentry-auth:get-issue"},OBSERVABILITY_EXT:{},AGENT_TESTING:{RUN:"agent-testing:run",GET_REPORT:"agent-testing:get-report",GET_AGENT_REPORTS:"agent-testing:get-agent-reports",CLEANUP:"agent-testing:cleanup"},DEBUG:{TRIGGER_BACKEND_RESUME:"debug:trigger-backend-resume",LIST_AGENTS:"debug:list-agents"},SETUP_SCRIPTS:{GENERATE:"setup-scripts:generate",READ_REPO_CONFIG:"setup-scripts:read-repo-config",DETECT_TYPE:"setup-scripts:detect-type",GENERATE_WITH_AGENT:"setup-scripts:generate-with-agent",STOP_AGENT:"setup-scripts:stop-agent",STREAM_CHUNK:"setup-scripts:stream-chunk",STREAM_COMPLETE:"setup-scripts:stream-complete",STREAM_ERROR:"setup-scripts:stream-error"},GIT_EXT:{IS_REPOSITORY:"git:isRepository",GET_AUTO_COMMIT_STATUS:"git:get-auto-commit-status",GET_BACKGROUND_OPS_STATUS:"git:background-ops-status"},ACCEPT_CHANGES:{CHECK_PATH_HAS_CHANGES:"accept-changes:check-path-has-changes"},CHAT_EXPORT:{CHAT_TO_HTML:"export:chat-to-html"},FILE_EXT:{},COMMENTS_EXT:{},WORKSPACE_EXT:{},AGENT_LAUNCH:{},AGENT_CONTEXT:{GET:"agent-context:get"},RECOVERY:{NEEDS_RECOVERY:"recovery:needs-recovery",MARK_STREAMING:"recovery:mark-streaming",MARK_COMPLETE:"recovery:mark-complete",CLEAR_STREAMING:"recovery:clear-streaming",CHECK_NEEDS_RECOVERY:"recovery:check-needs-recovery",GET_STATUS:"recovery:get-status",CREATE_CHECKPOINT:"recovery:create-checkpoint",RESTORE_CHECKPOINT:"recovery:restore-checkpoint",RECOVER_SESSION:"recovery:recover-session",GET_STATS:"recovery:get-stats"},STORAGE:{SAVE:"storage:save",DELETE:"storage:delete"},AUTO_UPDATE:{CHECK_MANUAL:"auto-update:check-manual",DOWNLOAD:"auto-update:download",INSTALL:"auto-update:install",DISMISS_DOWNLOADED_TOAST:"auto-update:dismiss-downloaded-toast",GET_STATE:"auto-update:get-state",SET_CHANNEL:"auto-update:set-channel",SET_SHARE_STATISTICS:"auto-update:set-share-statistics",STATUS_CHANGED:"auto-update:status-changed",PROGRESS:"auto-update:progress",ERROR:"auto-update:error",UP_TO_DATE:"auto-update:up-to-date",SHOW_TOAST:"auto-update:show-toast"},RELEASE_NOTES:{GET:"release-notes:get",GET_PENDING:"release-notes:get-pending",DISMISS:"release-notes:dismiss",SHOW:"release-notes:show",CLOSE:"release-notes:close"},PIP:{OPEN:"pip:open",CLOSE:"pip:close",CLOSE_ALL_FOR_WORKSPACE:"pip:close-all-for-workspace"},WEBSOCKET_API:{GET_STATUS:"websocket-api:get-status",SET_ENABLED:"websocket-api:set-enabled",REGENERATE_TOKEN:"websocket-api:regenerate-token",SET_DISCOVERY:"websocket-api:set-discovery"},TOKEN_USAGE:{GET:"token-usage:get",CHANGED:"token-usage:changed"},BACKEND:{DESKTOP_PERMISSIONS:"backend:desktop-permissions",DESKTOP_OS_PERMISSIONS:"backend:desktop-os-permissions",REQUEST:"backend:request",PR_MONITOR:{READY:"backend:pr-monitor:ready",CAPTURE:"backend:pr-monitor:capture",REQUEST:"backend:pr-monitor:request",RELEASE:"backend:pr-monitor:release",RETIRED:"backend:pr-monitor:retired",NOTIFICATION:"backend:pr-monitor:notification"},NATIVE_REVIEW:{PREPARE:"backend:native-review:prepare",EXECUTE:"backend:native-review:execute",RECONCILE:"backend:native-review:reconcile",RELEASE:"backend:native-review:release",RETIRED:"backend:native-review:retired"},REPOSITORY_SELECTION:{CAPTURE:"backend:repository-selection:capture",CONFIRM:"backend:repository-selection:confirm",RECONCILE:"backend:repository-selection:reconcile",RELEASE:"backend:repository-selection:release",RETIRED:"backend:repository-selection:retired"},REPOSITORY_CHECKOUT:{CAPTURE:"backend:repository-checkout:capture",REQUEST:"backend:repository-checkout:request",RELEASE:"backend:repository-checkout:release",RETIRED:"backend:repository-checkout:retired"},REPOSITORY_RESOURCE:{CAPTURE:"backend:repository-resource:capture",DETAIL:"backend:repository-resource:detail",RELEASE:"backend:repository-resource:release",RETIRED:"backend:repository-resource:retired"},REPOSITORY:{CAPTURE:"backend:repository:capture",RETIRED:"backend:repository:retired",REQUEST:"backend:repository:request",RELEASE:"backend:repository:release"},SUBSCRIBE:"backend:subscribe",UNSUBSCRIBE:"backend:unsubscribe",GET_STATUS:"backend:get-status",NODE_CAPABILITIES:"backend:node-capabilities",READ_PRINCIPAL:"backend:read-principal",NOTIFICATION:"backend:notification",STATUS:"backend:status",SPAWN_SIDECAR:"backend:spawn-sidecar",OPEN_LOCAL_AND_SPAWN:"backend:open-local-and-spawn",GET_SIDECAR_RUN_LOG:"backend:get-sidecar-run-log",RESTART_ORPHANED_SIDECAR:"backend:restart-orphaned-sidecar"},CONNECTIONS:{LIST:"connections:list",CAPTURE_FINGERPRINT:"connections:capture-fingerprint",ADD:"connections:add",UPDATE:"connections:update",TEST:"connections:test",ROTATE_SECRET:"connections:rotate-secret",GET_TUNNEL:"connections:get-tunnel",SET_TUNNEL:"connections:set-tunnel",OPEN:"connections:open",FORGET:"connections:forget",PAIR_LINK_INSPECT:"connections:pair-link-inspect",PAIR_LINK_COMMIT:"connections:pair-link-commit",PAIR_LINK_DISCARD:"connections:pair-link-discard",UPDATE_BACKEND:"connections:update-backend",CHANGED:"connections:changed",CERT_MISMATCH:"connections:cert-mismatch",CERT_WARNINGS:"connections:cert-warnings",PROTOCOL_MISMATCH:"connections:protocol-mismatch",AUTH_REJECTED:"connections:auth-rejected",SYNC_GET_STATE:"connections:sync-get-state",SYNC_SET_ENABLED:"connections:sync-set-enabled",SYNC_STATUS_CHANGED:"connections:sync-status-changed",PUBLISH_SELF:"connections:publish-self",SELF_PUBLISHED_STATE:"connections:self-published-state",REFRESH_SELF:"connections:refresh-self",UNPUBLISH_SELF:"connections:unpublish-self"},GUEST_SESSIONS:{LIST:"guest-sessions:list",LEAVE:"guest-sessions:leave",LEAVE_WORKSPACE:"guest-sessions:leave-workspace",CHANGED:"guest-sessions:changed"},RECENT_AGENTS:{LIST:"recent-agents:list",RECORD:"recent-agents:record",FORGET_WORKSPACE:"recent-agents:forget-workspace",CHANGED:"recent-agents:changed",PAGE_KEY:"recent-agents:page-key",SET_PAGE_CHORD:"recent-agents:set-page-chord"},MACHINE_RAIL:{GET_STATE:"machine-rail:get-state",SELECT:"machine-rail:select",ADD:"machine-rail:add",REMOVE:"machine-rail:remove",REORDER:"machine-rail:reorder",SET_ENABLED:"machine-rail:set-enabled",CHANGED:"machine-rail:changed",FORWARD_TOAST:"machine-rail:forward-toast",TOAST:"machine-rail:toast",SHOWN:"machine-rail:shown",READY:"machine-rail:ready",HEALTH:"machine-rail:health",BACKDROP:"machine-rail:backdrop",GET_BACKDROP:"machine-rail:get-backdrop",BACKDROP_CHANGED:"machine-rail:backdrop-changed"},PRESENCE:{REPORT:"presence:report"},TRANSFER:{START:"transfer:start",FINALIZE:"transfer:finalize",CANCEL:"transfer:cancel",PROGRESS:"transfer:progress",IMPORT_START:"transfer:import-start",IMPORT_CANCEL:"transfer:import-cancel",IMPORT_PROGRESS:"transfer:import-progress"},REMOTE_MACHINES:{EXPOSE:"remote-machines:expose",UNEXPOSE:"remote-machines:unexpose",MACHINE_FINGERPRINT:"remote-machines:machine-fingerprint",INVITE_INSPECT:"remote-machines:invite-inspect",INVITE_CLAIM:"remote-machines:invite-claim",INVITE_DISCARD:"remote-machines:invite-discard"},MACHINE_SETUP:{SSH_DEFAULTS:"machine-setup:ssh-defaults",SSH_START:"machine-setup:ssh-start",SSH_TRUST:"machine-setup:ssh-trust",SSH_CANCEL:"machine-setup:ssh-cancel",SSH_EVENT:"machine-setup:ssh-event"},HARDWARE_CONSOLE:{CLEAR_LIGHTING:"hardware-console:clear-lighting",CLEAR_LIGHTING_DONE:"hardware-console:clear-lighting-done",GET_OWNER_STATUS:"hardware-console:get-owner-status",OWNER_CHANGED:"hardware-console:owner-changed"}},f={"global.command-palette":"mod+shift+p","global.settings":"mod+,","global.keyboard-shortcuts":"mod+?","global.command-palette-alt":"mod+k","global.toggle-spaces":"mod+o","global.new-space":"mod+n","global.search":"mod+f","global.next-space":"ctrl+tab","global.previous-space":"ctrl+shift+tab","global.next-space-alt":"mod+shift+]","global.previous-space-alt":"mod+shift+[","navigation.recent-agents":"alt+tab","navigation.go-to-device":"mod+1-9","navigation.go-to-tab":"mod+alt+1-9","navigation.new-tab":"mod+t","navigation.close-tab":"mod+w","navigation.close-space-tab":"mod+shift+w","navigation.reopen-tab":"mod+shift+t","navigation.move-space-tab-left":"mod+alt+shift+left","navigation.move-space-tab-right":"mod+alt+shift+right","workspace.new-agent":"mod+alt+a","workspace.new-note":"mod+alt+n","workspace.new-terminal":"mod+alt+t","workspace.new-browser":"mod+alt+b","workspace.set-aside":"mod+shift+s","chat.send":"enter","chat.force-send":"mod+enter","chat.new-line":"shift+enter","chat.focus-input":"/","chat.mention-context":"@","editor.go-to-line":"mod+g","editor.save":"mod+s","editor.undo":"mod+z","editor.redo":"mod+shift+z","editor.toggle-task-list":"mod+shift+9","editor.toggle-word-wrap":"alt+z","editor.copy":"mod+c","editor.select-all":"mod+a","panel.toggle-sidebar":"mod+b","panel.create-column-right":"mod+\\","panel.focus-next-column":"mod+alt+right","panel.maximize":"mod+shift+m","panel.focus-previous-column":"mod+alt+left","panel.next-pane":"mod+]","panel.previous-pane":"mod+[","panel.move-pane-next-column":"mod+alt+pagedown","panel.move-pane-previous-column":"mod+alt+pageup","panel.copy-browser-url":"mod+shift+c","leader.navigate-panels":"h/j/k/l","leader.resize-panels":"H/J/K/L","leader.split-right":"%","leader.toggle-zoom":"z","leader.close-panel":"x","leader.next-previous-panel":"o/p","leader.equalize-sizes":"=","leader.jump-to-panel":"q + 1-9","leader.cycle-layout":"space","dock.focus":"ctrl+shift+d","dock.capture":"ctrl+shift+s","dock.record":"ctrl+shift+r"},ne={linux:{"navigation.recent-agents":"super+tab"},windows:{"navigation.recent-agents":""}};function se(){const{process:e,navigator:t}=globalThis;let o="";return e?.type==="browser"?o=e.platform??"":e?.versions?.node||(o=t?.platform??""),/^linux/i.test(o)?"linux":/^win/i.test(o)?"windows":"mac"}const re=se();function N(e,t=re){return t==="mac"?f[e]:ne[t][e]??f[e]}const k=["mod","ctrl","super","alt","shift"],P={mod:"mod",cmd:"mod",command:"mod",meta:"mod",super:"super",win:"super",control:"ctrl",ctrl:"ctrl",option:"alt",alt:"alt",shift:"shift"},M={escape:"esc",return:"enter",arrowup:"up",arrowdown:"down",arrowleft:"left",arrowright:"right",pgup:"pageup",pgdn:"pagedown"," ":"space"},ie=new Set(["backspace","delete","down","end","enter","esc","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12","home","left","pagedown","pageup","right","space","tab","up"]),ce=new Set(["alt","control","meta","shift"]),W={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=","{":"[","}":"]","|":"\\",":":";",'"':"'","<":",",">":".","?":"/"},Ee=Object.fromEntries(Object.entries(W).map(([e,t])=>[t,e]));function ke(e,t){if(ce.has(e.key.toLowerCase()))return null;let o=e.key;e.altKey&&e.code?.startsWith("Key")?o=e.code.slice(3):e.altKey&&e.code?.startsWith("Digit")&&(o=e.code.slice(5));const a=[];return(t&&e.metaKey||!t&&e.ctrlKey)&&a.push("mod"),t&&e.ctrlKey&&a.push("ctrl"),!t&&e.metaKey&&a.push("super"),e.altKey&&a.push("alt"),e.shiftKey&&a.push("shift"),a.push(o),D(a.join("+"))}function Te(e){return Object.prototype.hasOwnProperty.call(f,e)}function h(e){const t=e.trim();if(!t||t.includes("/"))return null;const o=t.split("+").map(r=>r.trim()).filter(Boolean);if(o.length===0)return null;const a=new Set;for(const r of o.slice(0,-1)){const E=P[r.toLowerCase()];if(!E||a.has(E))return null;a.add(E)}const n=o.at(-1)??"";if(P[n.toLowerCase()])return null;const s=M[n.toLowerCase()]??n.toLowerCase();return s.length===1||ie.has(s)?{key:s,mod:a.has("mod"),ctrl:a.has("ctrl"),super:a.has("super"),alt:a.has("alt"),shift:a.has("shift")}:null}function D(e){const t=e.trim();if(t.includes("/")){const r=t.split("/").map(d=>d.trim()),E=r[0]??"",l=E.includes("+")?`${E.slice(0,E.lastIndexOf("+"))}+`:"",g=r.map((d,O)=>{const _=O>0&&l&&!d.includes("+")?l+d:d,m=_.slice(_.lastIndexOf("+")+1),I=h(/^[A-Z]$/.test(m)?`${_.slice(0,-1)}shift+${m.toLowerCase()}`:_);return I?[...k.filter(z=>I[z]),I.key].join("+"):null});return g.some(d=>!d)?null:g.join("/")}const o=t.match(/^(.*\+)?([1-8])-9$/i);if(o){const r=h(`${o[1]??""}${o[2]}`);if(!r)return null;const E=k.filter(l=>r[l]);return`${E.length?`${E.join("+")}+`:""}${o[2]}-9`}const a=t.match(/^(.+?)\s+\+\s+([1-8]-9)$/);if(a){const r=D(a[1]);return r?`${r} + ${a[2]}`:null}const n=h(e);return n?[...k.filter(r=>n[r]),n.key].join("+"):null}function we(e,t){const o=N(e),a=t.includes("+")?`${t.slice(0,t.lastIndexOf("+"))}+`:"",n=o.match(/^(.+?)\s+\+\s+([1-8]-9)$/);if(n)return`${t} + ${n[2]}`;const s=o.match(/^(?:.*\+)?([1-8]-9)$/);return s?`${a}${s[1]}`:o.includes("/")?`${a}${o}`:t}function De(e){return e.match(/^(.+?)\s+\+\s+[1-8]-9$/)?.[1]??null}function le(e){const t=e.match(/^(.*\+)?([1-8])-9$/);if(t){const s=t[1]??"";return Array.from({length:10-Number(t[2])},(r,E)=>`${s}${Number(t[2])+E}`)}const o=e.split("/"),a=o[0]??"",n=a.includes("+")?`${a.slice(0,a.lastIndexOf("+"))}+`:"";return o.map((s,r)=>{const E=s.trim(),l=r>0&&n&&!E.includes("+")?n+E:E;return/^[A-Z]$/.test(l)?`shift+${l.toLowerCase()}`:l==="space"?"space":l})}function de(e,t,o){return le(t).findIndex(a=>ue(e,a,o))}function ue(e,t,o){const a=h(t);if(!a)return!1;const n=e.altKey&&e.code?.startsWith("Digit")?e.code.slice(5):e.key,s=M[n.toLowerCase()]??n.toLowerCase(),r=a.key.length===1&&'~!@#$%^&*()_+{}|:"<>?'.includes(a.key);return new Set([s,W[s],e.shiftKey?Ee[s]:void 0]).has(a.key)&&e.metaKey===(o&&a.mod||a.super)&&e.ctrlKey===(a.ctrl||a.mod&&!o)&&e.altKey===a.alt&&e.shiftKey===(a.shift||r)}function Ge(e){if(!e||typeof e!="object"||Array.isArray(e))return{};const t={};for(const[o,a]of Object.entries(e)){if(!Te(o)||typeof a!="string")continue;const n=D(a);n&&n!==N(o)&&(t[o]=n)}return t}function Pe(e,t){return t[e]??N(e)}function Ue(e,t,o,a){return o(e)!==N(e)?!1:Object.keys(f).some(n=>{if(n===e||n.startsWith("leader."))return!1;const s=o(n);return s===N(n)?!1:de(t,s,a)>=0})}function be(e,t){const o=h(e);return o?{metaKey:t&&o.mod||o.super,ctrlKey:o.ctrl||o.mod&&!t,altKey:o.alt}:null}function A(e){if(/[\u0000-\u0020\u007f\\]/.test(e))return null;const t=/^https:\/\/([^/?#]+)([^?#]*)/i.exec(e);if(!t||/[@%]/.test(t[1]))return null;try{const o=new URL(e);if(o.protocol!=="https:"||o.username||o.password)return null;const a=t[2].replace(/\/$/,""),n=a?a.slice(1).split("/"):[];return n.some(s=>!/^[A-Za-z0-9_.-]+$/.test(s)||s==="."||s==="..")?null:{url:o,path:n}}catch{return null}}function G(e){const t=A(e);return!!t&&!t.url.search&&!t.url.hash&&e===t.url.origin+(t.path.length?`/${t.path.join("/")}`:"")}function He(e,t){if(!G(t))return null;const o=A(e),a=A(t);if(!o||!a||a.url.origin!==o.url.origin||!a.path.every((s,r)=>o.path[r]===s))return null;const n=o.path.slice(a.path.length);return n.length<2||n[0]==="groups"||n.includes("-")?null:{provider:"gitlab",instanceBaseUrl:t,projectPath:n.join("/")}}function Se(e,t){const o=A(e);if(!o)return null;let a=null;for(const n of t){if(n.provider!=="gitlab"||!G(n.instanceBaseUrl))continue;const s=A(n.instanceBaseUrl);if(!s||s.url.origin!==o.url.origin||!s.path.every((m,I)=>o.path[I]===m))continue;const r=o.path.slice(s.path.length),E=r.indexOf("-");if(E<2||r[0]==="groups")continue;const[l,g,...d]=r.slice(E+1),O=l==="merge_requests"?"merge-request":l==="issues"?"issue":null;if(!O||!/^[1-9]\d*$/.test(g??"")||!Number.isSafeInteger(Number(g))||d.length&&(O!=="merge-request"||d.length!==1||!["diffs","commits","pipelines"].includes(d[0])))continue;const _={repository:{provider:"gitlab",instanceBaseUrl:n.instanceBaseUrl,projectPath:r.slice(0,E).join("/")},kind:O,number:Number(g)};if(a&&JSON.stringify(a)!==JSON.stringify(_))return null;a=_}return a}function ye(e){const t=A(e);return t?Se(e,[{provider:"gitlab",instanceBaseUrl:t.url.origin}])!==null:!1}const F="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",B="([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d(\\.\\d+)?)?",_e=new RegExp(`^${F}T${B}(Z)$`),ge=new RegExp(`^${F}T${B}(Z|([+-]\\d{2}:?\\d{2}))$`);function U(e={}){return i().regex(e.offset?ge:_e,e.message??"Invalid datetime")}function x(e="Invalid url"){return i().refine(t=>URL.canParse(t),e)}const b=i().regex(/^(0|[1-9][0-9]*)$/).refine(e=>/^(0|[1-9][0-9]*)$/.test(e)&&BigInt(e)<=18446744073709551615n),Ke=c({target:T(["local","remote"]),checkout:T(["shared","worktree","isolated"]),os:T(["linux","macos"]).optional(),nodeId:i().min(1).optional(),exclusive:S().optional()}).strict().refine(e=>e.target!=="remote"||e.checkout==="isolated").refine(e=>!e.exclusive||e.target==="remote"&&e.checkout==="isolated");function H(e){return e==="e2b"||e==="cloud"}const V=c({target:T(["local","remote","e2b","cloud"]).optional(),checkout:T(["shared","worktree","isolated"]).optional(),os:T(["linux","macos"]).optional(),arch:T(["x86_64","aarch64"]).optional(),nodeId:i().min(1).refine(e=>new TextEncoder().encode(e).length<=128).optional(),exclusive:S().optional(),cloudMachineId:i().min(1).refine(e=>new TextEncoder().encode(e).length<=64).optional()}).strict(),ve=V.refine(e=>e.target!=="remote"||(e.checkout??"isolated")==="isolated").refine(e=>e.cloudMachineId===void 0||H(e.target)).refine(e=>!H(e.target)||(e.checkout??"isolated")==="isolated"&&!e.os&&!e.arch&&!e.nodeId&&!e.exclusive).refine(e=>!e.exclusive||e.target!=="local"&&(e.checkout??"isolated")==="isolated"),pe=V.extend({target:T(["local","remote","e2b","cloud"]),checkout:T(["shared","worktree","isolated"])}).refine(e=>e.target!=="remote"||e.checkout==="isolated").refine(e=>!e.exclusive||e.target!=="local"&&e.checkout==="isolated"),Ae=c({id:i().min(1),assignmentEpoch:b,captureRevision:b,capturedAt:U({offset:!0}),committedAt:U({offset:!0})}),Re=c({state:T(["pending","running","completed","failed","skipped"]),exitCode:w().int().optional(),error:i().optional(),startedAt:i().optional(),finishedAt:i().optional(),output:i().optional(),outputTruncated:S().optional()}),Me=c({nodeId:i().min(1).optional(),leaseId:i().min(1).optional(),nodeName:i().min(1).optional(),placement:pe.optional(),effectiveIsolation:T(["pending","isolated","shared","worktree","direct","cow"]).optional(),nodeState:T(["ready","offline","incompatible","removed"]).optional(),checkpoint:Ae.optional(),placementError:c({code:i(),detail:i()}).optional(),cloudStart:c({step:i().min(1)}).passthrough().optional().catch(void 0),setup:Re.optional().catch(void 0),nodePath:i().optional()}),u=i().min(1),p=x().refine(e=>{const t=new URL(e);return t.protocol==="https:"&&!t.username&&!t.password}),Y=p.refine(e=>G(e)),$=w().int().nonnegative().max(Number.MAX_SAFE_INTEGER),R=i().max(1024).regex(/^[A-Za-z0-9_.-]+(?:\/[A-Za-z0-9_.-]+)+$/).refine(e=>e.split("/").every(t=>t!=="."&&t!=="..")),L=i().regex(/^[0-9a-fA-F]{40}$/),X=c({checkoutId:u,revision:u}).strict(),We=c({provider:C("gitlab"),instanceBaseUrl:Y.optional()}).strict(),Fe=X.extend({provider:C("gitlab"),instanceBaseUrl:Y,expiresAfterMs:$}).strict(),q=c({projectPath:R,name:i(),namespace:i(),webUrl:p,cloneUrl:p,defaultBranch:u.optional(),ownerAvatarUrl:x().pipe(p).optional().catch(void 0)}).strict(),Oe=c({name:u,commitSha:L,protected:S().optional()}).strict(),Ie=c({query:i().trim().refine(e=>new TextEncoder().encode(e).length<=256&&!/[\u0000-\u001f\u007f]/.test(e)).optional(),cursor:u.optional(),limit:w().int().positive().max(100).optional()}).strict(),Be=Q([c({projectPath:R}).strict(),c({url:p}).strict()]),xe=Ie.extend({projectPath:R,cached:S().optional()}).strict(),he=X.extend({projectPath:R,branch:u,commitSha:L,mode:T(["direct","cached"])}).strict(),Ve=he.omit({mode:!0}).strict(),Ye=c({projectPath:R,branch:u,commitSha:L,config:Z(i(),y()).nullable(),exists:S()}).strict().refine(e=>e.exists===(e.config!==null)),$e=c({items:K(q),nextCursor:u.optional()}).strict(),Xe=c({project:q,contextUrl:p.optional()}).strict(),qe=c({items:K(Oe),nextCursor:u.optional(),defaultBranch:u.optional(),cached:S()}).strict(),je=c({projectPath:R,branch:u,commitSha:L,cached:S()}).strict(),j=c({status:C("unavailable"),reason:T(["disabled","not-connected","access-denied","rate-limited","unreachable","retired","not-found","invalid-target","empty-repository","branch-changed"]),retryAfterMs:$.optional()}).strict();function ze(e){return J("status",[c({status:C("ready"),value:e}).strict(),j])}function Qe(e,t){if(c({status:T(["ready","unavailable"])}).passthrough().parse(t).status==="unavailable")return j.parse(t);const a=c({status:C("ready"),value:y()}).strict().parse(t);return{status:"ready",value:e.parse(a.value)}}export{Ae as A,Ue as B,xe as C,ye as D,Te as E,U as F,ue as G,de as H,Le as I,D as J,Qe as K,He as L,Se as M,Pe as N,Ge as O,N as P,ke as Q,Re as R,f as S,be as T,Me as a,ve as b,Ke as c,qe as d,We as e,Fe as f,Ie as g,Xe as h,Be as i,q as j,$e as k,Ve as l,Ye as m,he as n,je as o,we as p,oe as q,ze as r,te as s,le as t,v as u,De as v,fe as w,G as x,H as y,me as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{IH as o,lX as C,nz as E,nd as L,IM as z}from"./
|
|
1
|
+
import{IH as o,lX as C,nz as E,nd as L,IM as z}from"./DZwGQbE8.js";import{w as W}from"./WFvSJ9zU.js";import{dr as H,dv as f}from"./D4U_w4GT.js";const a=o.createSelector((t,e)=>t.fileExplorer.byWorkspaceId[e]??C),D=o.createSelector((t,e,s)=>{const n=E(t.fileExplorer.searches,s);return n?.workspaceId===e?n:void 0}),G=o.createSelector((t,e)=>{const s=a.select(t,e);return s.rootPath?E(s.nodes,s.rootPath)??null:null}),R=o.createSelector((t,e)=>a.select(t,e).nodes.map),q=o.createSelector((t,e)=>a.select(t,e).isLoading),B=o.createSelector((t,e)=>a.select(t,e).isInitialized),K=o.createSelector((t,e)=>a.select(t,e).error),O=o.createSelector((t,e)=>a.select(t,e).fileCount),V=o.createSelector((t,e)=>a.select(t,e).gitStatus),g=o.createSelector((t,e)=>{const s=H.select(t,e);return s?.worktreePath||s?.repositoryPath||s?.path||""}),X=o.createSelector((t,e)=>{const s=a.select(t,e);return{workspacePath:g.select(t,e),currentWorkspacePath:s.workspacePath,isLoading:s.isLoading,isInitialized:s.isInitialized}});o.createSelector((t,e)=>e?{wsId:e,workspacePath:g.select(t,e),workspaceEnvironmentConfig:f.select(t,e)}:{wsId:null,workspacePath:"",workspaceEnvironmentConfig:void 0});const A=o.createSelector((t,e,s)=>a.select(t,e).expandedPaths.includes(s)),J=o.createSelector((t,e,s)=>a.select(t,e).loadingPaths.includes(s)),Q=o.createSelector((t,e)=>{const s=a.select(t,e);return s.expandedPaths.some(n=>n!==s.workspacePath)}),T=o.createSelector((t,e)=>{const s=g.select(t,e);if(!s)return!1;const n=a.select(t,e),p=f.select(t,e);return n.workspacePath!==s?!0:n.isLoading?!1:n.isInitialized?p?.type==="remote"&&!n.isRemoteInitialized:!0}),F=new WeakMap,U=o.createSelector((t,e)=>{const s=a.select(t,e);if(!s.rootPath)return[];const n=E(s.nodes,s.rootPath);if(!n)return[];const p=new Set(s.expandedPaths),I=new Set(s.loadingPaths),y=L(s.nodes,n.children,p,I),{agentFileEdits:v,workspacePath:P,gitStatus:S}=s,x=new Set;for(const r of Object.keys(S)){const i=r.split("/");for(let l=1;l<i.length;l++)x.add(i.slice(0,l).join("/"))}return y.map(r=>{let i=r.node.path;if(P){const w=z(r.node.path,P);w!==r.node.path&&(i=w)}const l=r.node.type==="file",c=v[i],d=l?S[i]:void 0,h=!l&&x.has(i),k={isExpanded:r.isExpanded,isLoading:r.isLoading,agentEdits:c&&c.length>0?c:void 0,gitStatus:d,directoryHasChanges:h,displayPath:r.displayPath,compactedExpandedPathsKey:r.compactedExpandedPaths?.join("\0"),depth:r.depth},u=F.get(r.node);if(u&&W(u.inputs,k))return u.result;const m=c&&c.length>0||d!==void 0||h?{node:r.node,depth:r.depth,displayPath:r.displayPath,...r.compactedExpandedPaths?{compactedExpandedPaths:r.compactedExpandedPaths}:{},isExpanded:r.isExpanded,isLoading:r.isLoading,...c&&c.length>0?{agentEdits:c}:{},...d!==void 0?{gitStatus:d}:{},...h?{directoryHasChanges:!0}:{}}:r;return F.set(r.node,{inputs:k,result:m}),m})});export{K as a,O as b,V as c,X as d,B as e,q as f,R as g,G as h,D as i,a as j,U as k,Q as l,A as m,J as n,T as o,g as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{br as R}from"./DYhIMPy1.js";import{c as U}from"./ChTqQfQN.js";import{a as W,i as G}from"./
|
|
1
|
+
import{br as R}from"./DYhIMPy1.js";import{c as U}from"./ChTqQfQN.js";import{a as W,i as G}from"./D5P99waS.js";import{F as g,o as P,p,H as _}from"./qUWUBPqP.js";import{IH as c}from"./DZwGQbE8.js";import{B as J,G as S,v as Q,N as Z,H as V}from"./BGikh8Vc.js";const f=U("PanelKeyboardShortcuts"),X=2e3;function se(d,m,K=()=>null,I={}){const v=I.isMac??(typeof navigator<"u"&&navigator.platform.toUpperCase().includes("MAC")),s=R({leaderActive:!1,leaderTimeout:null,isZoomed:!1,zoomedPanelId:null,showPanelNumbers:!1});function w(){s.leaderTimeout&&clearTimeout(s.leaderTimeout),s.leaderActive=!0,s.leaderTimeout=setTimeout(()=>{s.leaderActive=!1,s.showPanelNumbers=!1,f.debug("Leader key timed out")},X),f.debug("Leader key activated")}function h(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.showPanelNumbers=!1}function D(){s.leaderTimeout&&(clearTimeout(s.leaderTimeout),s.leaderTimeout=null),s.leaderActive=!1,s.isZoomed=!1,s.zoomedPanelId=null,s.showPanelNumbers=!1}function z(e){const n=d();switch(f.debug("Executing leader action",{action:e}),e){case"navigate-left":case"navigate-right":case"navigate-up":case"navigate-down":C(n,e.replace("navigate-",""));break;case"navigate-next":m?m("next"):k(n,"next");break;case"navigate-prev":m?m("prev"):k(n,"prev");break;case"split-right":{const t=p.select(c.state,n.workspaceId),a=g.select(c.state,n.workspaceId);t&&a.length<4&&n.splitPanel(t,"horizontal");break}case"zoom-toggle":E(n);break;case"zoom-reset":N();break;case"close-panel":{const t=p.select(c.state,n.workspaceId);t&&n.closePanel(t);break}case"resize-left":case"resize-right":case"resize-up":case"resize-down":f.debug("Resize action not yet implemented",{action:e});break;case"resize-equal":q(n);break;case"swap-prev":case"swap-next":f.debug("Swap action not yet implemented",{action:e});break;case"show-panel-numbers":s.showPanelNumbers=!0;return;case"move-tab-to-next-panel":{const t=P.select(c.state,n.workspaceId);if(t?.activeTabId){const a=n.getOtherPanelId();a&&n.moveTabToPanel(t.activeTabId,t.id,a)}break}case"cycle-layout-presets":n.cyclePresets();break}h()}function C(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=p.select(a,t);if(!u){e.focusPanel(r[0]);return}const l=r.indexOf(u);let i;n==="left"||n==="up"?i=l>0?l-1:r.length-1:i=l<r.length-1?l+1:0,e.focusPanel(r[i])}function k(e,n){const t=e.workspaceId,a=c.state,r=g.select(a,t);if(r.length<=1)return;const u=p.select(a,t),l=u?r.indexOf(u):-1;let i;n==="next"?i=l<r.length-1?l+1:0:i=l>0?l-1:r.length-1,e.focusPanel(r[i])}function E(e){s.isZoomed=!s.isZoomed,s.isZoomed?s.zoomedPanelId=p.select(c.state,e.workspaceId):s.zoomedPanelId=null,f.debug("Zoom toggled",{isZoomed:s.isZoomed})}function N(){s.isZoomed=!1,s.zoomedPanelId=null,f.debug("Zoom reset")}function q(e){const n=_.select(c.state,e.workspaceId);if(!n)return;function t(a){if(a.type==="split"){const r=100/a.children.length;a.sizes=a.children.map(()=>r),a.children.forEach(t)}}t(n.root),f.debug("Equalized all panel sizes")}function x(e,n){const t=g.select(c.state,e.workspaceId);n>=0&&n<t.length&&e.focusPanel(t[n])}function F(e,n){const t=P.select(c.state,e.workspaceId);return!t||t.tabs.length<2?!1:(n==="next"?e.selectNextTab(t.id):e.selectPreviousTab(t.id),!0)}function O(e,n){if(I.onFocusAdjacentColumn)return I.onFocusAdjacentColumn(n);const t=g.select(c.state,e.workspaceId),a=p.select(c.state,e.workspaceId),u=(a?t.indexOf(a):-1)+(n==="next"?1:-1),l=t[u];return l?(e.focusPanel(l),!0):!1}function j(e,n){const t=P.select(c.state,e.workspaceId);return t?e.moveActivePaneToColumn(t.id,n):!1}function B(e){const n=g.select(c.state,e.workspaceId),t=p.select(c.state,e.workspaceId);return!t||n.length>=4?!1:(e.splitPanel(t,"horizontal"),!0)}function L(e){const n=v?e.metaKey&&!e.ctrlKey:e.ctrlKey&&!e.metaKey,t=c.state.userPreferences?.shortcutOverrides??{},a=o=>Z(o,t),r=o=>S(e,a(o),v),u=o=>r(o)&&!J(o,e,a,v),l=u("panel.focus-previous-column")?"prev":u("panel.focus-next-column")?"next":null,i=r("panel.previous-pane")?"prev":r("panel.next-pane")?"next":null;if(l){const o=O(d(),l);return o&&e.preventDefault(),o}if(i){const o=F(d(),i);return o&&e.preventDefault(),o}if(r("panel.create-column-right")){const o=B(d());return o&&(e.preventDefault(),e.stopPropagation()),o}const T=e.target instanceof Element?e.target:null;if(W(T)||G(T))return!1;const y=d(),A=r("panel.move-pane-previous-column")?"prev":r("panel.move-pane-next-column")?"next":null;if(A){const o=j(y,A);return o&&e.preventDefault(),o}if(n&&e.key===";"&&!e.shiftKey&&!e.altKey)return e.preventDefault(),w(),!0;if(s.leaderActive){if(e.preventDefault(),s.showPanelNumbers&&e.key>="1"&&e.key<="9")return x(y,parseInt(e.key)-1),h(),!0;const o=H(e);return o?(z(o),!0):(h(),!0)}return!1}function H(e){const n=i=>Z(i,c.state.userPreferences?.shortcutOverrides??{}),t=i=>V(e,n(i),v),a=t("leader.navigate-panels");if(a>=0)return["navigate-left","navigate-down","navigate-up","navigate-right"][a];const r=t("leader.resize-panels");if(r>=0)return["resize-left","resize-down","resize-up","resize-right"][r];const u=t("leader.next-previous-panel");if(u>=0)return u===0?"navigate-next":"navigate-prev";if(t("leader.split-right")>=0)return"split-right";if(t("leader.toggle-zoom")>=0)return"zoom-toggle";if(t("leader.close-panel")>=0)return"close-panel";if(t("leader.equalize-sizes")>=0)return"resize-equal";const l=Q(n("leader.jump-to-panel"));return l&&S(e,l,v)?"show-panel-numbers":t("leader.cycle-layout")>=0?"cycle-layout-presets":null}return{get availableCanvasWidth(){return K()},get leaderActive(){return s.leaderActive},get isZoomed(){return s.isZoomed},get zoomedPanelId(){return s.zoomedPanelId},get showPanelNumbers(){return s.showPanelNumbers},handleKeyDown:L,activateLeader:w,deactivateLeader:h,executeAction:z,focusPanelByIndex:x,cleanup:D}}const b=new Map;function ae(d,m){b.set(d,m)}function re(d){b.delete(d)}function oe(d){return b.get(d)}export{se as c,oe as g,ae as r,re as u};
|