@intent-hq/web 2.286.0 → 2.286.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/{CDJ_ELzg.js → -4iKCYSl.js} +1 -1
- package/web/app/immutable/chunks/{Chf_Fl2B.js → 172GvQgx.js} +2 -2
- package/web/app/immutable/chunks/{D6COgTM-.js → 2FstYM1s.js} +1 -1
- package/web/app/immutable/chunks/{3Z97DIlM.js → 2LPpSBFe.js} +1 -1
- package/web/app/immutable/chunks/{Cs20ySp7.js → 2oaDc1nn.js} +1 -1
- package/web/app/immutable/chunks/{Dyliunfi.js → 3q61Z6zu.js} +1 -1
- package/web/app/immutable/chunks/{BQ3bMc6Z.js → 3sa2ZSPC.js} +1 -1
- package/web/app/immutable/chunks/{ntY1kBD_.js → 4LCvEsVS.js} +1 -1
- package/web/app/immutable/chunks/{C-mk0nP2.js → 9JjZRepm.js} +1 -1
- package/web/app/immutable/chunks/{B6gQoWXg.js → ALbX902-.js} +1 -1
- package/web/app/immutable/chunks/{DrSSXu2F.js → B-34RgWF.js} +1 -1
- package/web/app/immutable/chunks/{D_dLrI0U.js → B-jWalbO.js} +1 -1
- package/web/app/immutable/chunks/{DVTHNszZ.js → B0jdpkVd.js} +1 -1
- package/web/app/immutable/chunks/{Bn3u1qCw.js → B1kJVNhf.js} +1 -1
- package/web/app/immutable/chunks/{DkqK0dDf.js → B2SAFlE_.js} +1 -1
- package/web/app/immutable/chunks/{56xQ7UwB.js → B5NXv3LV.js} +5 -5
- package/web/app/immutable/chunks/{DzBZYbxf.js → B5OVBjIf.js} +1 -1
- package/web/app/immutable/chunks/{Ri4koGu7.js → B5VfU0KM.js} +1 -1
- package/web/app/immutable/chunks/{GLnb0LyE.js → B5WfnJ_I.js} +1 -1
- package/web/app/immutable/chunks/{DAr_Dvla.js → B78OjmQ3.js} +1 -1
- package/web/app/immutable/chunks/{B0cCp_Aa.js → B8N5zbP-.js} +1 -1
- package/web/app/immutable/chunks/{DiC8oKjq.js → BAEKjYyz.js} +1 -1
- package/web/app/immutable/chunks/{Bs4HUfJo.js → BB0aq9c_.js} +1 -1
- package/web/app/immutable/chunks/{D-pCMoMn.js → BCYRUItZ.js} +4 -4
- package/web/app/immutable/chunks/{C9qFBNQj.js → BCiyShif.js} +1 -1
- package/web/app/immutable/chunks/{DUzPnyGA.js → BDFJ3z4C.js} +1 -1
- package/web/app/immutable/chunks/{CjxObJZi.js → BGgB8Pc0.js} +2 -2
- package/web/app/immutable/chunks/{C9AXCraB.js → BHwB2t2J.js} +6 -6
- package/web/app/immutable/chunks/{BeMvzl_f.js → BIGmpOjZ.js} +1 -1
- package/web/app/immutable/chunks/{CdFYk_1W.js → BIY56SBV.js} +1 -1
- package/web/app/immutable/chunks/{BJHEhKgU.js → BKAT2tIv.js} +1 -1
- package/web/app/immutable/chunks/{B2TUPPiF.js → BOFk1KrL.js} +1 -1
- package/web/app/immutable/chunks/{DI0TMqPc.js → BR5lR6Td.js} +1 -1
- package/web/app/immutable/chunks/{B8dBdB7e.js → BTRxaITj.js} +1 -1
- package/web/app/immutable/chunks/{C0G0PX0u.js → BUqUwu2G.js} +1 -1
- package/web/app/immutable/chunks/{B7DCx2hz.js → BY3DTY8F.js} +1 -1
- package/web/app/immutable/chunks/BZXl3la6.js +1 -0
- package/web/app/immutable/chunks/{BFsOXNGt.js → B_IE7AMR.js} +1 -1
- package/web/app/immutable/chunks/{BGjb8Qjk.js → B_Ngo80M.js} +1 -1
- package/web/app/immutable/chunks/{DvxGhfNP.js → BaWkgFPr.js} +1 -1
- package/web/app/immutable/chunks/{PZFTHLU3.js → BbANJKYX.js} +1 -1
- package/web/app/immutable/chunks/{C02RZikS.js → BdMP-rwq.js} +1 -1
- package/web/app/immutable/chunks/{DBF6GPx0.js → BdvBYYZC.js} +1 -1
- package/web/app/immutable/chunks/{CIm4PPkq.js → Bg8XhRuy.js} +1 -1
- package/web/app/immutable/chunks/{D6KefGE1.js → BgX6IJDk.js} +1 -1
- package/web/app/immutable/chunks/{lewsHE8q.js → BhBL2il-.js} +1 -1
- package/web/app/immutable/chunks/{BNC8-4cK.js → BhIrT2jr.js} +2 -2
- package/web/app/immutable/chunks/{BQjY0tdo.js → BkBZtLYF.js} +1 -1
- package/web/app/immutable/chunks/{k7Ld4LMq.js → Bluyq349.js} +1 -1
- package/web/app/immutable/chunks/{DY68UZFm.js → BmnDHgDT.js} +1 -1
- package/web/app/immutable/chunks/{xVOajdtP.js → Bn4hj7HG.js} +1 -1
- package/web/app/immutable/chunks/{BCUnwbyv.js → BnDVzHAF.js} +1 -1
- package/web/app/immutable/chunks/{DmBGSw9-.js → BsKoK3Rk.js} +1 -1
- package/web/app/immutable/chunks/{CvV52h5m.js → BsNGkCax.js} +1 -1
- package/web/app/immutable/chunks/{Bicndtmn.js → BwixslcF.js} +1 -1
- package/web/app/immutable/chunks/{DaZZAAu8.js → BwqCA_Tg.js} +1 -1
- package/web/app/immutable/chunks/{B_6wEGEf.js → BxKmCVSh.js} +1 -1
- package/web/app/immutable/chunks/{CJmb8k0H.js → Bxc57npw.js} +1 -1
- package/web/app/immutable/chunks/{CaHgiqe9.js → Bz08MgGK.js} +1 -1
- package/web/app/immutable/chunks/{CSJZS0lA.js → C4Zcz5ig.js} +1 -1
- package/web/app/immutable/chunks/{B7DKu6qV.js → C4lY6YLh.js} +1 -1
- package/web/app/immutable/chunks/{kpFOTYnh.js → C5E1PJb6.js} +2 -2
- package/web/app/immutable/chunks/{COt9Pvf4.js → C5RdKv5y.js} +1 -1
- package/web/app/immutable/chunks/{Co0ihRW6.js → C68FzyYL.js} +1 -1
- package/web/app/immutable/chunks/{_rq_6KIb.js → C6RQmr0V.js} +1 -1
- package/web/app/immutable/chunks/{CmGMJu5O.js → C9129WmZ.js} +1 -1
- package/web/app/immutable/chunks/{l-Mx-Ot5.js → C9g8CU4z.js} +1 -1
- package/web/app/immutable/chunks/{Dlo6-weE.js → CC-oK8xP.js} +2 -2
- package/web/app/immutable/chunks/{TQpilk5Q.js → CDuyWy4D.js} +1 -1
- package/web/app/immutable/chunks/{mi0eelXX.js → CEiokx4X.js} +1 -1
- package/web/app/immutable/chunks/{BiD1HX8_.js → CG-WEY6g.js} +1 -1
- package/web/app/immutable/chunks/{CoiRuxwo.js → CJKeXT5H.js} +1 -1
- package/web/app/immutable/chunks/{CdI01xQ-.js → CJPP3n_b.js} +1 -1
- package/web/app/immutable/chunks/{CtkAP08J.js → CJlBFmXK.js} +1 -1
- package/web/app/immutable/chunks/{BkLUmk09.js → CM-RTisq.js} +1 -1
- package/web/app/immutable/chunks/{DAbHF0T4.js → CMieQf0P.js} +1 -1
- package/web/app/immutable/chunks/{BJLvjFp2.js → CN1yc9sw.js} +1 -1
- package/web/app/immutable/chunks/{DYsBpJwe.js → CN6UuCI4.js} +6 -6
- package/web/app/immutable/chunks/{C1cHuYQR.js → CNG6DDdt.js} +1 -1
- package/web/app/immutable/chunks/{C0pxlxBi.js → CQ8xUw8b.js} +1 -1
- package/web/app/immutable/chunks/{XM04eAeD.js → CQlclm_i.js} +1 -1
- package/web/app/immutable/chunks/{BMdDrmtC.js → CU9uaZDq.js} +1 -1
- package/web/app/immutable/chunks/{C-WAMDJQ.js → CaJjlkv1.js} +1 -1
- package/web/app/immutable/chunks/{5CUEdg-r.js → CbQJkQ1_.js} +1 -1
- package/web/app/immutable/chunks/{DbIMjJXa.js → Cbe4LDCb.js} +1 -1
- package/web/app/immutable/chunks/{BGZJQhsJ.js → Cc8gV_FE.js} +1 -1
- package/web/app/immutable/chunks/{D_cySYsU.js → CcDZ8sih.js} +4 -4
- package/web/app/immutable/chunks/{d89Xcl43.js → CcFGFqFC.js} +1 -1
- package/web/app/immutable/chunks/{dbkedfAT.js → CdEtW7wp.js} +1 -1
- package/web/app/immutable/chunks/{BcTp6STH.js → Cdv2uRTZ.js} +1 -1
- package/web/app/immutable/chunks/{D2B7k8JK.js → CeHlFtmN.js} +1 -1
- package/web/app/immutable/chunks/{C8ErG3Ti.js → Cf1Jz9Vb.js} +1 -1
- package/web/app/immutable/chunks/{BVS_SYYU.js → CfHaLL96.js} +1 -1
- package/web/app/immutable/chunks/{DruGfJeI.js → Cg71xtru.js} +1 -1
- package/web/app/immutable/chunks/{BG0oLquu.js → CgOfeXf8.js} +1 -1
- package/web/app/immutable/chunks/{ISHdJQIS.js → ChMhvUux.js} +1 -1
- package/web/app/immutable/chunks/{gJj2ll-C.js → ChOA9PWi.js} +1 -1
- package/web/app/immutable/chunks/{BNK82DII.js → Cic3Ymv4.js} +2 -2
- package/web/app/immutable/chunks/{CCFQ-Alr.js → CjOA3fQ_.js} +1 -1
- package/web/app/immutable/chunks/{B8m1QbYL.js → CjOWZNUy.js} +1 -1
- package/web/app/immutable/chunks/{dYWp2umn.js → CnT2T-Bp.js} +4 -4
- package/web/app/immutable/chunks/{B0SI3LHQ.js → CqwbuddS.js} +1 -1
- package/web/app/immutable/chunks/{OXZoGb0R.js → Ct7iVnk5.js} +2 -2
- package/web/app/immutable/chunks/{CVj2l_--.js → CusMGTEg.js} +1 -1
- package/web/app/immutable/chunks/{DfJuueNN.js → Cv6pFp-w.js} +1 -1
- package/web/app/immutable/chunks/{DnOJJY51.js → CzK2fiHA.js} +1 -1
- package/web/app/immutable/chunks/{BPTrqAAS.js → D4uZwrDX.js} +1 -1
- package/web/app/immutable/chunks/{DCH75OV4.js → D61mreVc.js} +1 -1
- package/web/app/immutable/chunks/{CcUy0MZb.js → D6eVIgjz.js} +1 -1
- package/web/app/immutable/chunks/{nueT549f.js → D7y4iPD0.js} +1 -1
- package/web/app/immutable/chunks/{CB3GX1yA.js → D9qYrFLr.js} +1 -1
- package/web/app/immutable/chunks/{DEdfIv3e.js → DAPK9slU.js} +1 -1
- package/web/app/immutable/chunks/{DwQIcgBv.js → DES0UXLU.js} +1 -1
- package/web/app/immutable/chunks/{Bzkdeh8y.js → DGWxO_aL.js} +1 -1
- package/web/app/immutable/chunks/{HlPO1bnj.js → DHLYr2dR.js} +1 -1
- package/web/app/immutable/chunks/{De1JVdD9.js → DJeS0Z6Z.js} +1 -1
- package/web/app/immutable/chunks/{C8rZ--zU.js → DKnyYiOE.js} +1 -1
- package/web/app/immutable/chunks/{uw1PkdUT.js → DLOFCVO4.js} +1 -1
- package/web/app/immutable/chunks/{DhGf56sV.js → DM4MRAyE.js} +1 -1
- package/web/app/immutable/chunks/{Div3O1DS.js → DNOilvOO.js} +1 -1
- package/web/app/immutable/chunks/{DjctxIWk.js → DQprfQGN.js} +1 -1
- package/web/app/immutable/chunks/{Dr_LoEnL.js → DU5u4CoB.js} +7 -7
- package/web/app/immutable/chunks/{7af0JAJg.js → DWvbS4mu.js} +1 -1
- package/web/app/immutable/chunks/{DJkPn6Gx.js → DZ2EweHv.js} +1 -1
- package/web/app/immutable/chunks/{CkrCogn1.js → DcOGngFl.js} +1 -1
- package/web/app/immutable/chunks/{DSQ3vRlg.js → DdZVLxLI.js} +1 -1
- package/web/app/immutable/chunks/{Mzah6e0Y.js → De60mY1u.js} +1 -1
- package/web/app/immutable/chunks/{Buurk15r.js → DeD2_APR.js} +1 -1
- package/web/app/immutable/chunks/{GpCuPOMi.js → DeMWATch.js} +1 -1
- package/web/app/immutable/chunks/{BTNf3wFt.js → Dh52so4o.js} +3 -3
- package/web/app/immutable/chunks/{DXB5HblX.js → DiBTM3GP.js} +1 -1
- package/web/app/immutable/chunks/{D5JRqy6x.js → Dj9OdxPP.js} +1 -1
- package/web/app/immutable/chunks/{NDbFoi5z.js → DoIwXvY5.js} +1 -1
- package/web/app/immutable/chunks/{L12CYOVO.js → DqkDKEMV.js} +1 -1
- package/web/app/immutable/chunks/{nwovZHdj.js → DrI7rzCm.js} +1 -1
- package/web/app/immutable/chunks/{JbMhibU_.js → Ds-FLOE0.js} +1 -1
- package/web/app/immutable/chunks/{DKV7MzlU.js → Du9ULB4g.js} +1 -1
- package/web/app/immutable/chunks/{DeZfFoGy.js → DuXpwSkB.js} +1 -1
- package/web/app/immutable/chunks/{B_W5YLJO.js → DuzQF9m7.js} +1 -1
- package/web/app/immutable/chunks/{DtOFraMI.js → DvDXb3dW.js} +1 -1
- package/web/app/immutable/chunks/{HldT4ikO.js → Dxitz0gG.js} +1 -1
- package/web/app/immutable/chunks/{BWrcajCX.js → DyjYgqtH.js} +1 -1
- package/web/app/immutable/chunks/{BhyIRQr5.js → Dz40TuR7.js} +1 -1
- package/web/app/immutable/chunks/{BQDw3Pte.js → F7QETuhI.js} +1 -1
- package/web/app/immutable/chunks/{DEKYlpc6.js → F9nw4iUp.js} +1 -1
- package/web/app/immutable/chunks/{DcGdAMCM.js → Fy3QvGgT.js} +1 -1
- package/web/app/immutable/chunks/{fomUVS1s.js → HHGL3CBU.js} +1 -1
- package/web/app/immutable/chunks/{eL1b8zaP.js → HjNzRj_q.js} +1 -1
- package/web/app/immutable/chunks/{DN_2OUdP.js → JktSJt1s.js} +1 -1
- package/web/app/immutable/chunks/{Dh5f48wP.js → O_LhoKyf.js} +1 -1
- package/web/app/immutable/chunks/{CqjtslkE.js → Ov_SEXEY.js} +1 -1
- package/web/app/immutable/chunks/{CaIUs75U.js → PSWhBTN5.js} +1 -1
- package/web/app/immutable/chunks/{CcV3kPLR.js → QOLdaLP0.js} +1 -1
- package/web/app/immutable/chunks/{B41oTkHx.js → R0wDqNpY.js} +1 -1
- package/web/app/immutable/chunks/{Dtkr3IzA.js → RNQdr-NN.js} +1 -1
- package/web/app/immutable/chunks/{CnIHDDU4.js → TKnaMJht.js} +1 -1
- package/web/app/immutable/chunks/{C7RFabs2.js → Uvf94Vit.js} +1 -1
- package/web/app/immutable/chunks/{Qm-8Rnhn.js → VwRqUxpW.js} +1 -1
- package/web/app/immutable/chunks/{DXJWuR1_.js → XgTDusK7.js} +1 -1
- package/web/app/immutable/chunks/{BXR-y2IP.js → YIljg4QC.js} +1 -1
- package/web/app/immutable/chunks/{BMncCJZO.js → aWlYJ1qq.js} +1 -1
- package/web/app/immutable/chunks/{BqwrnPhf.js → b7qEBWdv.js} +1 -1
- package/web/app/immutable/chunks/{BOIMw4Zi.js → bb6KeZoT.js} +1 -1
- package/web/app/immutable/chunks/{BwTELta_.js → cKTNBTNE.js} +1 -1
- package/web/app/immutable/chunks/{nAVCqI07.js → fsCYHFC5.js} +1 -1
- package/web/app/immutable/chunks/{CdJ_TYfc.js → gn8kmMF6.js} +1 -1
- package/web/app/immutable/chunks/{CgJ50q_P.js → hTe-_Fjh.js} +3 -3
- package/web/app/immutable/chunks/{_oQK0i74.js → kpgdVhmB.js} +1 -1
- package/web/app/immutable/chunks/{DsBaaPlG.js → l6-BV5ui.js} +1 -1
- package/web/app/immutable/chunks/{CcpIKHPS.js → l9lbU6dU.js} +1 -1
- package/web/app/immutable/chunks/{BqCv-GxN.js → lN-utS8K.js} +1 -1
- package/web/app/immutable/chunks/{DzQq420D.js → laFenviK.js} +3 -3
- package/web/app/immutable/chunks/{BzagSfa0.js → nvAK9EyO.js} +1 -1
- package/web/app/immutable/chunks/{C1KS3a3w.js → oTkHTTGI.js} +1 -1
- package/web/app/immutable/chunks/{C8o2LGLL.js → p20Ma5Ub.js} +1 -1
- package/web/app/immutable/chunks/{CdWs5u7R.js → pUHkzJ_d.js} +1 -1
- package/web/app/immutable/chunks/{BpmH_LJw.js → pqiENG4w.js} +1 -1
- package/web/app/immutable/chunks/{CT4vZdRl.js → qk0mFpjO.js} +1 -1
- package/web/app/immutable/chunks/{CwM2Qhat.js → qsyNpi2_.js} +1 -1
- package/web/app/immutable/chunks/{DytO0GHe.js → vkDSSzeI.js} +1 -1
- package/web/app/immutable/chunks/{BpfenzkQ.js → xpCT4rnW.js} +1 -1
- package/web/app/immutable/chunks/{CKgR37uW.js → zln0bEou.js} +1 -1
- package/web/app/immutable/entry/{app.1uhZRRjp.js → app.BvKW_t2N.js} +2 -2
- package/web/app/immutable/entry/start.CQ7TZDH6.js +1 -0
- package/web/app/immutable/nodes/{0.DLt-CtDX.js → 0.BYMSP7Y-.js} +1 -1
- package/web/app/immutable/nodes/{1.BPvEDLUK.js → 1.DIEji4Js.js} +1 -1
- package/web/app/immutable/nodes/{10.B5xDYK4a.js → 10.DvTvrgji.js} +1 -1
- package/web/app/immutable/nodes/{14.BQTbKD3r.js → 14.CJs3OY3_.js} +1 -1
- package/web/app/immutable/nodes/{16.pwQIYuiW.js → 16.DsO7YO_c.js} +2 -2
- package/web/app/immutable/nodes/{2.C-FkYY8y.js → 2.Cht0dQl2.js} +3 -3
- package/web/app/immutable/nodes/{3.BDZTjYux.js → 3.BGeidrSE.js} +1 -1
- package/web/app/immutable/nodes/{4.yZhJP9E2.js → 4.iguZO2rl.js} +1 -1
- package/web/app/immutable/nodes/{5.DGLDlDY1.js → 5.BppWO1IB.js} +1 -1
- package/web/app/immutable/nodes/{6.CsH42tzX.js → 6.ChXOvT3x.js} +1 -1
- package/web/app/immutable/nodes/{7.mSAj_Ru-.js → 7.CgsIeK3J.js} +1 -1
- package/web/app/immutable/nodes/{8.bwqgMCZl.js → 8.Bq2NzD4c.js} +2 -2
- package/web/app/immutable/nodes/{9.CPziyhjK.js → 9.CvEBRJEV.js} +1 -1
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/Dtgjfsuk.js +0 -1
- package/web/app/immutable/entry/start.CKsznvSy.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Mk=Object.defineProperty;var xk=(t,e,r)=>e in t?Mk(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var Yr=(t,e,r)=>xk(t,typeof e!="symbol"?e+"":e,r);import{_ as dt}from"./COCO5InB.js";import{g as s}from"./C9AXCraB.js";var Gk=Object.create,pc=Object.defineProperty,Fk=Object.getOwnPropertyDescriptor,og=Object.getOwnPropertyNames,zk=Object.getPrototypeOf,jk=Object.prototype.hasOwnProperty,o=s((t,e)=>pc(t,"name",{value:e,configurable:!0}),"__name"),Bk=s((t,e)=>s(function(){return t&&(e=(0,t[og(t)[0]])(t=0)),e},"__init"),"__esm"),X=s((t,e)=>s(function(){return e||(0,t[og(t)[0]])((e={exports:{}}).exports,e),e.exports},"__require"),"__commonJS"),mn=s((t,e)=>{for(var r in e)pc(t,r,{get:e[r],enumerable:!0})},"__export"),Lf=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of og(e))!jk.call(t,a)&&a!==r&&pc(t,a,{get:s(()=>e[a],"get"),enumerable:!(n=Fk(e,a))||n.enumerable});return t},"__copyProps"),Sd=s((t,e,r)=>(Lf(t,e,"default"),r&&Lf(r,e,"default")),"__reExport"),lg=s((t,e,r)=>(r=t!=null?Gk(zk(t)):{},Lf(e||!t||!t.__esModule?pc(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),ug=s(t=>Lf(pc({},"__esModule",{value:!0}),t),"__toCommonJS"),_d={};mn(_d,{AnnotatedTextEdit:s(()=>wr,"AnnotatedTextEdit"),ChangeAnnotation:s(()=>Wn,"ChangeAnnotation"),ChangeAnnotationIdentifier:s(()=>rt,"ChangeAnnotationIdentifier"),CodeAction:s(()=>iy,"CodeAction"),CodeActionContext:s(()=>ay,"CodeActionContext"),CodeActionKind:s(()=>ny,"CodeActionKind"),CodeActionTriggerKind:s(()=>$u,"CodeActionTriggerKind"),CodeDescription:s(()=>Dh,"CodeDescription"),CodeLens:s(()=>sy,"CodeLens"),Color:s(()=>Rf,"Color"),ColorInformation:s(()=>Nh,"ColorInformation"),ColorPresentation:s(()=>Ph,"ColorPresentation"),Command:s(()=>Kn,"Command"),CompletionItem:s(()=>Wh,"CompletionItem"),CompletionItemKind:s(()=>Fh,"CompletionItemKind"),CompletionItemLabelDetails:s(()=>Kh,"CompletionItemLabelDetails"),CompletionItemTag:s(()=>jh,"CompletionItemTag"),CompletionList:s(()=>Vh,"CompletionList"),CreateFile:s(()=>Zo,"CreateFile"),DeleteFile:s(()=>el,"DeleteFile"),Diagnostic:s(()=>gu,"Diagnostic"),DiagnosticRelatedInformation:s(()=>$f,"DiagnosticRelatedInformation"),DiagnosticSeverity:s(()=>Oh,"DiagnosticSeverity"),DiagnosticTag:s(()=>Lh,"DiagnosticTag"),DocumentHighlight:s(()=>Xh,"DocumentHighlight"),DocumentHighlightKind:s(()=>Jh,"DocumentHighlightKind"),DocumentLink:s(()=>ly,"DocumentLink"),DocumentSymbol:s(()=>ry,"DocumentSymbol"),DocumentUri:s(()=>Sh,"DocumentUri"),EOL:s(()=>DN,"EOL"),FoldingRange:s(()=>kh,"FoldingRange"),FoldingRangeKind:s(()=>wh,"FoldingRangeKind"),FormattingOptions:s(()=>oy,"FormattingOptions"),Hover:s(()=>qh,"Hover"),InlayHint:s(()=>gy,"InlayHint"),InlayHintKind:s(()=>Cf,"InlayHintKind"),InlayHintLabelPart:s(()=>bf,"InlayHintLabelPart"),InlineCompletionContext:s(()=>Ey,"InlineCompletionContext"),InlineCompletionItem:s(()=>Ty,"InlineCompletionItem"),InlineCompletionList:s(()=>Ry,"InlineCompletionList"),InlineCompletionTriggerKind:s(()=>$y,"InlineCompletionTriggerKind"),InlineValueContext:s(()=>yy,"InlineValueContext"),InlineValueEvaluatableExpression:s(()=>hy,"InlineValueEvaluatableExpression"),InlineValueText:s(()=>py,"InlineValueText"),InlineValueVariableLookup:s(()=>my,"InlineValueVariableLookup"),InsertReplaceEdit:s(()=>Bh,"InsertReplaceEdit"),InsertTextFormat:s(()=>zh,"InsertTextFormat"),InsertTextMode:s(()=>Uh,"InsertTextMode"),Location:s(()=>yu,"Location"),LocationLink:s(()=>Ih,"LocationLink"),MarkedString:s(()=>Ru,"MarkedString"),MarkupContent:s(()=>tl,"MarkupContent"),MarkupKind:s(()=>Ef,"MarkupKind"),OptionalVersionedTextDocumentIdentifier:s(()=>Tu,"OptionalVersionedTextDocumentIdentifier"),ParameterInformation:s(()=>Hh,"ParameterInformation"),Position:s(()=>ue,"Position"),Range:s(()=>ne,"Range"),RenameFile:s(()=>Qo,"RenameFile"),SelectedCompletionInfo:s(()=>Ay,"SelectedCompletionInfo"),SelectionRange:s(()=>uy,"SelectionRange"),SemanticTokenModifiers:s(()=>fy,"SemanticTokenModifiers"),SemanticTokenTypes:s(()=>cy,"SemanticTokenTypes"),SemanticTokens:s(()=>dy,"SemanticTokens"),SignatureInformation:s(()=>Yh,"SignatureInformation"),StringValue:s(()=>vy,"StringValue"),SymbolInformation:s(()=>ey,"SymbolInformation"),SymbolKind:s(()=>Zh,"SymbolKind"),SymbolTag:s(()=>Qh,"SymbolTag"),TextDocument:s(()=>by,"TextDocument"),TextDocumentEdit:s(()=>vu,"TextDocumentEdit"),TextDocumentIdentifier:s(()=>Mh,"TextDocumentIdentifier"),TextDocumentItem:s(()=>Gh,"TextDocumentItem"),TextEdit:s(()=>lr,"TextEdit"),URI:s(()=>Tf,"URI"),VersionedTextDocumentIdentifier:s(()=>xh,"VersionedTextDocumentIdentifier"),WorkspaceChange:s(()=>LN,"WorkspaceChange"),WorkspaceEdit:s(()=>Af,"WorkspaceEdit"),WorkspaceFolder:s(()=>Cy,"WorkspaceFolder"),WorkspaceSymbol:s(()=>ty,"WorkspaceSymbol"),integer:s(()=>_h,"integer"),uinteger:s(()=>hu,"uinteger")});var Sh,Tf,_h,hu,ue,ne,yu,Ih,Rf,Nh,Ph,wh,kh,$f,Oh,Lh,Dh,gu,Kn,lr,Wn,rt,wr,vu,Zo,Qo,el,Af,nu,Ym,LN,Mh,xh,Tu,Gh,Ef,tl,Fh,zh,jh,Bh,Uh,Kh,Wh,Vh,Ru,qh,Hh,Yh,Jh,Xh,Zh,Qh,ey,ty,ry,ny,$u,ay,iy,sy,oy,ly,uy,cy,fy,dy,py,my,hy,yy,Cf,bf,gy,vy,Ty,Ry,$y,Ay,Ey,Cy,DN,by,n_,b,mc=Bk({"../../node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.js"(){var t,e,r,n;(function(a){function i(l){return typeof l=="string"}s(i,"is"),o(i,"is"),a.is=i})(Sh||(Sh={})),(function(a){function i(l){return typeof l=="string"}s(i,"is"),o(i,"is"),a.is=i})(Tf||(Tf={})),(function(a){a.MIN_VALUE=-2147483648,a.MAX_VALUE=2147483647;function i(l){return typeof l=="number"&&a.MIN_VALUE<=l&&l<=a.MAX_VALUE}s(i,"is"),o(i,"is"),a.is=i})(_h||(_h={})),(function(a){a.MIN_VALUE=0,a.MAX_VALUE=2147483647;function i(l){return typeof l=="number"&&a.MIN_VALUE<=l&&l<=a.MAX_VALUE}s(i,"is"),o(i,"is"),a.is=i})(hu||(hu={})),(function(a){function i(c,u){return c===Number.MAX_VALUE&&(c=hu.MAX_VALUE),u===Number.MAX_VALUE&&(u=hu.MAX_VALUE),{line:c,character:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&b.uinteger(u.line)&&b.uinteger(u.character)}s(l,"is"),o(l,"is"),a.is=l})(ue||(ue={})),(function(a){function i(c,u,f,d){if(b.uinteger(c)&&b.uinteger(u)&&b.uinteger(f)&&b.uinteger(d))return{start:ue.create(c,u),end:ue.create(f,d)};if(ue.is(c)&&ue.is(u))return{start:c,end:u};throw new Error(`Range#create called with invalid arguments[${c}, ${u}, ${f}, ${d}]`)}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&ue.is(u.start)&&ue.is(u.end)}s(l,"is"),o(l,"is"),a.is=l})(ne||(ne={})),(function(a){function i(c,u){return{uri:c,range:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&ne.is(u.range)&&(b.string(u.uri)||b.undefined(u.uri))}s(l,"is"),o(l,"is"),a.is=l})(yu||(yu={})),(function(a){function i(c,u,f,d){return{targetUri:c,targetRange:u,targetSelectionRange:f,originSelectionRange:d}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&ne.is(u.targetRange)&&b.string(u.targetUri)&&ne.is(u.targetSelectionRange)&&(ne.is(u.originSelectionRange)||b.undefined(u.originSelectionRange))}s(l,"is"),o(l,"is"),a.is=l})(Ih||(Ih={})),(function(a){function i(c,u,f,d){return{red:c,green:u,blue:f,alpha:d}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&b.numberRange(u.red,0,1)&&b.numberRange(u.green,0,1)&&b.numberRange(u.blue,0,1)&&b.numberRange(u.alpha,0,1)}s(l,"is"),o(l,"is"),a.is=l})(Rf||(Rf={})),(function(a){function i(c,u){return{range:c,color:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&ne.is(u.range)&&Rf.is(u.color)}s(l,"is"),o(l,"is"),a.is=l})(Nh||(Nh={})),(function(a){function i(c,u,f){return{label:c,textEdit:u,additionalTextEdits:f}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&b.string(u.label)&&(b.undefined(u.textEdit)||lr.is(u))&&(b.undefined(u.additionalTextEdits)||b.typedArray(u.additionalTextEdits,lr.is))}s(l,"is"),o(l,"is"),a.is=l})(Ph||(Ph={})),(function(a){a.Comment="comment",a.Imports="imports",a.Region="region"})(wh||(wh={})),(function(a){function i(c,u,f,d,p,m){const g={startLine:c,endLine:u};return b.defined(f)&&(g.startCharacter=f),b.defined(d)&&(g.endCharacter=d),b.defined(p)&&(g.kind=p),b.defined(m)&&(g.collapsedText=m),g}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&b.uinteger(u.startLine)&&b.uinteger(u.startLine)&&(b.undefined(u.startCharacter)||b.uinteger(u.startCharacter))&&(b.undefined(u.endCharacter)||b.uinteger(u.endCharacter))&&(b.undefined(u.kind)||b.string(u.kind))}s(l,"is"),o(l,"is"),a.is=l})(kh||(kh={})),(function(a){function i(c,u){return{location:c,message:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&yu.is(u.location)&&b.string(u.message)}s(l,"is"),o(l,"is"),a.is=l})($f||($f={})),(function(a){a.Error=1,a.Warning=2,a.Information=3,a.Hint=4})(Oh||(Oh={})),(function(a){a.Unnecessary=1,a.Deprecated=2})(Lh||(Lh={})),(function(a){function i(l){const c=l;return b.objectLiteral(c)&&b.string(c.href)}s(i,"is"),o(i,"is"),a.is=i})(Dh||(Dh={})),(function(a){function i(c,u,f,d,p,m){let g={range:c,message:u};return b.defined(f)&&(g.severity=f),b.defined(d)&&(g.code=d),b.defined(p)&&(g.source=p),b.defined(m)&&(g.relatedInformation=m),g}s(i,"create"),o(i,"create"),a.create=i;function l(c){var u;let f=c;return b.defined(f)&&ne.is(f.range)&&b.string(f.message)&&(b.number(f.severity)||b.undefined(f.severity))&&(b.integer(f.code)||b.string(f.code)||b.undefined(f.code))&&(b.undefined(f.codeDescription)||b.string((u=f.codeDescription)===null||u===void 0?void 0:u.href))&&(b.string(f.source)||b.undefined(f.source))&&(b.undefined(f.relatedInformation)||b.typedArray(f.relatedInformation,$f.is))}s(l,"is"),o(l,"is"),a.is=l})(gu||(gu={})),(function(a){function i(c,u,...f){let d={title:c,command:u};return b.defined(f)&&f.length>0&&(d.arguments=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.title)&&b.string(u.command)}s(l,"is"),o(l,"is"),a.is=l})(Kn||(Kn={})),(function(a){function i(f,d){return{range:f,newText:d}}s(i,"replace"),o(i,"replace"),a.replace=i;function l(f,d){return{range:{start:f,end:f},newText:d}}s(l,"insert"),o(l,"insert"),a.insert=l;function c(f){return{range:f,newText:""}}s(c,"del"),o(c,"del"),a.del=c;function u(f){const d=f;return b.objectLiteral(d)&&b.string(d.newText)&&ne.is(d.range)}s(u,"is"),o(u,"is"),a.is=u})(lr||(lr={})),(function(a){function i(c,u,f){const d={label:c};return u!==void 0&&(d.needsConfirmation=u),f!==void 0&&(d.description=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&b.string(u.label)&&(b.boolean(u.needsConfirmation)||u.needsConfirmation===void 0)&&(b.string(u.description)||u.description===void 0)}s(l,"is"),o(l,"is"),a.is=l})(Wn||(Wn={})),(function(a){function i(l){const c=l;return b.string(c)}s(i,"is"),o(i,"is"),a.is=i})(rt||(rt={})),(function(a){function i(f,d,p){return{range:f,newText:d,annotationId:p}}s(i,"replace"),o(i,"replace"),a.replace=i;function l(f,d,p){return{range:{start:f,end:f},newText:d,annotationId:p}}s(l,"insert"),o(l,"insert"),a.insert=l;function c(f,d){return{range:f,newText:"",annotationId:d}}s(c,"del"),o(c,"del"),a.del=c;function u(f){const d=f;return lr.is(d)&&(Wn.is(d.annotationId)||rt.is(d.annotationId))}s(u,"is"),o(u,"is"),a.is=u})(wr||(wr={})),(function(a){function i(c,u){return{textDocument:c,edits:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&Tu.is(u.textDocument)&&Array.isArray(u.edits)}s(l,"is"),o(l,"is"),a.is=l})(vu||(vu={})),(function(a){function i(c,u,f){let d={kind:"create",uri:c};return u!==void 0&&(u.overwrite!==void 0||u.ignoreIfExists!==void 0)&&(d.options=u),f!==void 0&&(d.annotationId=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&u.kind==="create"&&b.string(u.uri)&&(u.options===void 0||(u.options.overwrite===void 0||b.boolean(u.options.overwrite))&&(u.options.ignoreIfExists===void 0||b.boolean(u.options.ignoreIfExists)))&&(u.annotationId===void 0||rt.is(u.annotationId))}s(l,"is"),o(l,"is"),a.is=l})(Zo||(Zo={})),(function(a){function i(c,u,f,d){let p={kind:"rename",oldUri:c,newUri:u};return f!==void 0&&(f.overwrite!==void 0||f.ignoreIfExists!==void 0)&&(p.options=f),d!==void 0&&(p.annotationId=d),p}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&u.kind==="rename"&&b.string(u.oldUri)&&b.string(u.newUri)&&(u.options===void 0||(u.options.overwrite===void 0||b.boolean(u.options.overwrite))&&(u.options.ignoreIfExists===void 0||b.boolean(u.options.ignoreIfExists)))&&(u.annotationId===void 0||rt.is(u.annotationId))}s(l,"is"),o(l,"is"),a.is=l})(Qo||(Qo={})),(function(a){function i(c,u,f){let d={kind:"delete",uri:c};return u!==void 0&&(u.recursive!==void 0||u.ignoreIfNotExists!==void 0)&&(d.options=u),f!==void 0&&(d.annotationId=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&u.kind==="delete"&&b.string(u.uri)&&(u.options===void 0||(u.options.recursive===void 0||b.boolean(u.options.recursive))&&(u.options.ignoreIfNotExists===void 0||b.boolean(u.options.ignoreIfNotExists)))&&(u.annotationId===void 0||rt.is(u.annotationId))}s(l,"is"),o(l,"is"),a.is=l})(el||(el={})),(function(a){function i(l){let c=l;return c&&(c.changes!==void 0||c.documentChanges!==void 0)&&(c.documentChanges===void 0||c.documentChanges.every(u=>b.string(u.kind)?Zo.is(u)||Qo.is(u)||el.is(u):vu.is(u)))}s(i,"is"),o(i,"is"),a.is=i})(Af||(Af={})),nu=(t=class{constructor(i,l){this.edits=i,this.changeAnnotations=l}insert(i,l,c){let u,f;if(c===void 0?u=lr.insert(i,l):rt.is(c)?(f=c,u=wr.insert(i,l,c)):(this.assertChangeAnnotations(this.changeAnnotations),f=this.changeAnnotations.manage(c),u=wr.insert(i,l,f)),this.edits.push(u),f!==void 0)return f}replace(i,l,c){let u,f;if(c===void 0?u=lr.replace(i,l):rt.is(c)?(f=c,u=wr.replace(i,l,c)):(this.assertChangeAnnotations(this.changeAnnotations),f=this.changeAnnotations.manage(c),u=wr.replace(i,l,f)),this.edits.push(u),f!==void 0)return f}delete(i,l){let c,u;if(l===void 0?c=lr.del(i):rt.is(l)?(u=l,c=wr.del(i,l)):(this.assertChangeAnnotations(this.changeAnnotations),u=this.changeAnnotations.manage(l),c=wr.del(i,u)),this.edits.push(c),u!==void 0)return u}add(i){this.edits.push(i)}all(){return this.edits}clear(){this.edits.splice(0,this.edits.length)}assertChangeAnnotations(i){if(i===void 0)throw new Error("Text edit change is not configured to manage change annotations.")}},s(t,"TextEditChangeImpl"),o(t,"TextEditChangeImpl"),t),Ym=(e=class{constructor(i){this._annotations=i===void 0?Object.create(null):i,this._counter=0,this._size=0}all(){return this._annotations}get size(){return this._size}manage(i,l){let c;if(rt.is(i)?c=i:(c=this.nextId(),l=i),this._annotations[c]!==void 0)throw new Error(`Id ${c} is already in use.`);if(l===void 0)throw new Error(`No annotation provided for id ${c}`);return this._annotations[c]=l,this._size++,c}nextId(){return this._counter++,this._counter.toString()}},s(e,"ChangeAnnotations"),o(e,"ChangeAnnotations"),e),LN=(r=class{constructor(i){this._textEditChanges=Object.create(null),i!==void 0?(this._workspaceEdit=i,i.documentChanges?(this._changeAnnotations=new Ym(i.changeAnnotations),i.changeAnnotations=this._changeAnnotations.all(),i.documentChanges.forEach(l=>{if(vu.is(l)){const c=new nu(l.edits,this._changeAnnotations);this._textEditChanges[l.textDocument.uri]=c}})):i.changes&&Object.keys(i.changes).forEach(l=>{const c=new nu(i.changes[l]);this._textEditChanges[l]=c})):this._workspaceEdit={}}get edit(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit}getTextEditChange(i){if(Tu.is(i)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");const l={uri:i.uri,version:i.version};let c=this._textEditChanges[l.uri];if(!c){const u=[],f={textDocument:l,edits:u};this._workspaceEdit.documentChanges.push(f),c=new nu(u,this._changeAnnotations),this._textEditChanges[l.uri]=c}return c}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");let l=this._textEditChanges[i];if(!l){let c=[];this._workspaceEdit.changes[i]=c,l=new nu(c),this._textEditChanges[i]=l}return l}}initDocumentChanges(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new Ym,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())}initChanges(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))}createFile(i,l,c){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let u;Wn.is(l)||rt.is(l)?u=l:c=l;let f,d;if(u===void 0?f=Zo.create(i,c):(d=rt.is(u)?u:this._changeAnnotations.manage(u),f=Zo.create(i,c,d)),this._workspaceEdit.documentChanges.push(f),d!==void 0)return d}renameFile(i,l,c,u){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let f;Wn.is(c)||rt.is(c)?f=c:u=c;let d,p;if(f===void 0?d=Qo.create(i,l,u):(p=rt.is(f)?f:this._changeAnnotations.manage(f),d=Qo.create(i,l,u,p)),this._workspaceEdit.documentChanges.push(d),p!==void 0)return p}deleteFile(i,l,c){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let u;Wn.is(l)||rt.is(l)?u=l:c=l;let f,d;if(u===void 0?f=el.create(i,c):(d=rt.is(u)?u:this._changeAnnotations.manage(u),f=el.create(i,c,d)),this._workspaceEdit.documentChanges.push(f),d!==void 0)return d}},s(r,"WorkspaceChange"),o(r,"WorkspaceChange"),r),(function(a){function i(c){return{uri:c}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.uri)}s(l,"is"),o(l,"is"),a.is=l})(Mh||(Mh={})),(function(a){function i(c,u){return{uri:c,version:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.uri)&&b.integer(u.version)}s(l,"is"),o(l,"is"),a.is=l})(xh||(xh={})),(function(a){function i(c,u){return{uri:c,version:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.uri)&&(u.version===null||b.integer(u.version))}s(l,"is"),o(l,"is"),a.is=l})(Tu||(Tu={})),(function(a){function i(c,u,f,d){return{uri:c,languageId:u,version:f,text:d}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.uri)&&b.string(u.languageId)&&b.integer(u.version)&&b.string(u.text)}s(l,"is"),o(l,"is"),a.is=l})(Gh||(Gh={})),(function(a){a.PlainText="plaintext",a.Markdown="markdown";function i(l){const c=l;return c===a.PlainText||c===a.Markdown}s(i,"is"),o(i,"is"),a.is=i})(Ef||(Ef={})),(function(a){function i(l){const c=l;return b.objectLiteral(l)&&Ef.is(c.kind)&&b.string(c.value)}s(i,"is"),o(i,"is"),a.is=i})(tl||(tl={})),(function(a){a.Text=1,a.Method=2,a.Function=3,a.Constructor=4,a.Field=5,a.Variable=6,a.Class=7,a.Interface=8,a.Module=9,a.Property=10,a.Unit=11,a.Value=12,a.Enum=13,a.Keyword=14,a.Snippet=15,a.Color=16,a.File=17,a.Reference=18,a.Folder=19,a.EnumMember=20,a.Constant=21,a.Struct=22,a.Event=23,a.Operator=24,a.TypeParameter=25})(Fh||(Fh={})),(function(a){a.PlainText=1,a.Snippet=2})(zh||(zh={})),(function(a){a.Deprecated=1})(jh||(jh={})),(function(a){function i(c,u,f){return{newText:c,insert:u,replace:f}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return u&&b.string(u.newText)&&ne.is(u.insert)&&ne.is(u.replace)}s(l,"is"),o(l,"is"),a.is=l})(Bh||(Bh={})),(function(a){a.asIs=1,a.adjustIndentation=2})(Uh||(Uh={})),(function(a){function i(l){const c=l;return c&&(b.string(c.detail)||c.detail===void 0)&&(b.string(c.description)||c.description===void 0)}s(i,"is"),o(i,"is"),a.is=i})(Kh||(Kh={})),(function(a){function i(l){return{label:l}}s(i,"create"),o(i,"create"),a.create=i})(Wh||(Wh={})),(function(a){function i(l,c){return{items:l||[],isIncomplete:!!c}}s(i,"create"),o(i,"create"),a.create=i})(Vh||(Vh={})),(function(a){function i(c){return c.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}s(i,"fromPlainText"),o(i,"fromPlainText"),a.fromPlainText=i;function l(c){const u=c;return b.string(u)||b.objectLiteral(u)&&b.string(u.language)&&b.string(u.value)}s(l,"is"),o(l,"is"),a.is=l})(Ru||(Ru={})),(function(a){function i(l){let c=l;return!!c&&b.objectLiteral(c)&&(tl.is(c.contents)||Ru.is(c.contents)||b.typedArray(c.contents,Ru.is))&&(l.range===void 0||ne.is(l.range))}s(i,"is"),o(i,"is"),a.is=i})(qh||(qh={})),(function(a){function i(l,c){return c?{label:l,documentation:c}:{label:l}}s(i,"create"),o(i,"create"),a.create=i})(Hh||(Hh={})),(function(a){function i(l,c,...u){let f={label:l};return b.defined(c)&&(f.documentation=c),b.defined(u)?f.parameters=u:f.parameters=[],f}s(i,"create"),o(i,"create"),a.create=i})(Yh||(Yh={})),(function(a){a.Text=1,a.Read=2,a.Write=3})(Jh||(Jh={})),(function(a){function i(l,c){let u={range:l};return b.number(c)&&(u.kind=c),u}s(i,"create"),o(i,"create"),a.create=i})(Xh||(Xh={})),(function(a){a.File=1,a.Module=2,a.Namespace=3,a.Package=4,a.Class=5,a.Method=6,a.Property=7,a.Field=8,a.Constructor=9,a.Enum=10,a.Interface=11,a.Function=12,a.Variable=13,a.Constant=14,a.String=15,a.Number=16,a.Boolean=17,a.Array=18,a.Object=19,a.Key=20,a.Null=21,a.EnumMember=22,a.Struct=23,a.Event=24,a.Operator=25,a.TypeParameter=26})(Zh||(Zh={})),(function(a){a.Deprecated=1})(Qh||(Qh={})),(function(a){function i(l,c,u,f,d){let p={name:l,kind:c,location:{uri:f,range:u}};return d&&(p.containerName=d),p}s(i,"create"),o(i,"create"),a.create=i})(ey||(ey={})),(function(a){function i(l,c,u,f){return f!==void 0?{name:l,kind:c,location:{uri:u,range:f}}:{name:l,kind:c,location:{uri:u}}}s(i,"create"),o(i,"create"),a.create=i})(ty||(ty={})),(function(a){function i(c,u,f,d,p,m){let g={name:c,detail:u,kind:f,range:d,selectionRange:p};return m!==void 0&&(g.children=m),g}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&b.string(u.name)&&b.number(u.kind)&&ne.is(u.range)&&ne.is(u.selectionRange)&&(u.detail===void 0||b.string(u.detail))&&(u.deprecated===void 0||b.boolean(u.deprecated))&&(u.children===void 0||Array.isArray(u.children))&&(u.tags===void 0||Array.isArray(u.tags))}s(l,"is"),o(l,"is"),a.is=l})(ry||(ry={})),(function(a){a.Empty="",a.QuickFix="quickfix",a.Refactor="refactor",a.RefactorExtract="refactor.extract",a.RefactorInline="refactor.inline",a.RefactorRewrite="refactor.rewrite",a.Source="source",a.SourceOrganizeImports="source.organizeImports",a.SourceFixAll="source.fixAll"})(ny||(ny={})),(function(a){a.Invoked=1,a.Automatic=2})($u||($u={})),(function(a){function i(c,u,f){let d={diagnostics:c};return u!=null&&(d.only=u),f!=null&&(d.triggerKind=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.typedArray(u.diagnostics,gu.is)&&(u.only===void 0||b.typedArray(u.only,b.string))&&(u.triggerKind===void 0||u.triggerKind===$u.Invoked||u.triggerKind===$u.Automatic)}s(l,"is"),o(l,"is"),a.is=l})(ay||(ay={})),(function(a){function i(c,u,f){let d={title:c},p=!0;return typeof u=="string"?(p=!1,d.kind=u):Kn.is(u)?d.command=u:d.edit=u,p&&f!==void 0&&(d.kind=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&b.string(u.title)&&(u.diagnostics===void 0||b.typedArray(u.diagnostics,gu.is))&&(u.kind===void 0||b.string(u.kind))&&(u.edit!==void 0||u.command!==void 0)&&(u.command===void 0||Kn.is(u.command))&&(u.isPreferred===void 0||b.boolean(u.isPreferred))&&(u.edit===void 0||Af.is(u.edit))}s(l,"is"),o(l,"is"),a.is=l})(iy||(iy={})),(function(a){function i(c,u){let f={range:c};return b.defined(u)&&(f.data=u),f}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&ne.is(u.range)&&(b.undefined(u.command)||Kn.is(u.command))}s(l,"is"),o(l,"is"),a.is=l})(sy||(sy={})),(function(a){function i(c,u){return{tabSize:c,insertSpaces:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.uinteger(u.tabSize)&&b.boolean(u.insertSpaces)}s(l,"is"),o(l,"is"),a.is=l})(oy||(oy={})),(function(a){function i(c,u,f){return{range:c,target:u,data:f}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&ne.is(u.range)&&(b.undefined(u.target)||b.string(u.target))}s(l,"is"),o(l,"is"),a.is=l})(ly||(ly={})),(function(a){function i(c,u){return{range:c,parent:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&ne.is(u.range)&&(u.parent===void 0||a.is(u.parent))}s(l,"is"),o(l,"is"),a.is=l})(uy||(uy={})),(function(a){a.namespace="namespace",a.type="type",a.class="class",a.enum="enum",a.interface="interface",a.struct="struct",a.typeParameter="typeParameter",a.parameter="parameter",a.variable="variable",a.property="property",a.enumMember="enumMember",a.event="event",a.function="function",a.method="method",a.macro="macro",a.keyword="keyword",a.modifier="modifier",a.comment="comment",a.string="string",a.number="number",a.regexp="regexp",a.operator="operator",a.decorator="decorator"})(cy||(cy={})),(function(a){a.declaration="declaration",a.definition="definition",a.readonly="readonly",a.static="static",a.deprecated="deprecated",a.abstract="abstract",a.async="async",a.modification="modification",a.documentation="documentation",a.defaultLibrary="defaultLibrary"})(fy||(fy={})),(function(a){function i(l){const c=l;return b.objectLiteral(c)&&(c.resultId===void 0||typeof c.resultId=="string")&&Array.isArray(c.data)&&(c.data.length===0||typeof c.data[0]=="number")}s(i,"is"),o(i,"is"),a.is=i})(dy||(dy={})),(function(a){function i(c,u){return{range:c,text:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return u!=null&&ne.is(u.range)&&b.string(u.text)}s(l,"is"),o(l,"is"),a.is=l})(py||(py={})),(function(a){function i(c,u,f){return{range:c,variableName:u,caseSensitiveLookup:f}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return u!=null&&ne.is(u.range)&&b.boolean(u.caseSensitiveLookup)&&(b.string(u.variableName)||u.variableName===void 0)}s(l,"is"),o(l,"is"),a.is=l})(my||(my={})),(function(a){function i(c,u){return{range:c,expression:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return u!=null&&ne.is(u.range)&&(b.string(u.expression)||u.expression===void 0)}s(l,"is"),o(l,"is"),a.is=l})(hy||(hy={})),(function(a){function i(c,u){return{frameId:c,stoppedLocation:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.defined(u)&&ne.is(c.stoppedLocation)}s(l,"is"),o(l,"is"),a.is=l})(yy||(yy={})),(function(a){a.Type=1,a.Parameter=2;function i(l){return l===1||l===2}s(i,"is"),o(i,"is"),a.is=i})(Cf||(Cf={})),(function(a){function i(c){return{value:c}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&(u.tooltip===void 0||b.string(u.tooltip)||tl.is(u.tooltip))&&(u.location===void 0||yu.is(u.location))&&(u.command===void 0||Kn.is(u.command))}s(l,"is"),o(l,"is"),a.is=l})(bf||(bf={})),(function(a){function i(c,u,f){const d={position:c,label:u};return f!==void 0&&(d.kind=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&ue.is(u.position)&&(b.string(u.label)||b.typedArray(u.label,bf.is))&&(u.kind===void 0||Cf.is(u.kind))&&u.textEdits===void 0||b.typedArray(u.textEdits,lr.is)&&(u.tooltip===void 0||b.string(u.tooltip)||tl.is(u.tooltip))&&(u.paddingLeft===void 0||b.boolean(u.paddingLeft))&&(u.paddingRight===void 0||b.boolean(u.paddingRight))}s(l,"is"),o(l,"is"),a.is=l})(gy||(gy={})),(function(a){function i(l){return{kind:"snippet",value:l}}s(i,"createSnippet"),o(i,"createSnippet"),a.createSnippet=i})(vy||(vy={})),(function(a){function i(l,c,u,f){return{insertText:l,filterText:c,range:u,command:f}}s(i,"create"),o(i,"create"),a.create=i})(Ty||(Ty={})),(function(a){function i(l){return{items:l}}s(i,"create"),o(i,"create"),a.create=i})(Ry||(Ry={})),(function(a){a.Invoked=0,a.Automatic=1})($y||($y={})),(function(a){function i(l,c){return{range:l,text:c}}s(i,"create"),o(i,"create"),a.create=i})(Ay||(Ay={})),(function(a){function i(l,c){return{triggerKind:l,selectedCompletionInfo:c}}s(i,"create"),o(i,"create"),a.create=i})(Ey||(Ey={})),(function(a){function i(l){const c=l;return b.objectLiteral(c)&&Tf.is(c.uri)&&b.string(c.name)}s(i,"is"),o(i,"is"),a.is=i})(Cy||(Cy={})),DN=[`
|
|
1
|
+
var Mk=Object.defineProperty;var xk=(t,e,r)=>e in t?Mk(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var Yr=(t,e,r)=>xk(t,typeof e!="symbol"?e+"":e,r);import{_ as dt}from"./COCO5InB.js";import{g as s}from"./BHwB2t2J.js";var Gk=Object.create,pc=Object.defineProperty,Fk=Object.getOwnPropertyDescriptor,og=Object.getOwnPropertyNames,zk=Object.getPrototypeOf,jk=Object.prototype.hasOwnProperty,o=s((t,e)=>pc(t,"name",{value:e,configurable:!0}),"__name"),Bk=s((t,e)=>s(function(){return t&&(e=(0,t[og(t)[0]])(t=0)),e},"__init"),"__esm"),X=s((t,e)=>s(function(){return e||(0,t[og(t)[0]])((e={exports:{}}).exports,e),e.exports},"__require"),"__commonJS"),mn=s((t,e)=>{for(var r in e)pc(t,r,{get:e[r],enumerable:!0})},"__export"),Lf=s((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of og(e))!jk.call(t,a)&&a!==r&&pc(t,a,{get:s(()=>e[a],"get"),enumerable:!(n=Fk(e,a))||n.enumerable});return t},"__copyProps"),Sd=s((t,e,r)=>(Lf(t,e,"default"),r&&Lf(r,e,"default")),"__reExport"),lg=s((t,e,r)=>(r=t!=null?Gk(zk(t)):{},Lf(e||!t||!t.__esModule?pc(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),ug=s(t=>Lf(pc({},"__esModule",{value:!0}),t),"__toCommonJS"),_d={};mn(_d,{AnnotatedTextEdit:s(()=>wr,"AnnotatedTextEdit"),ChangeAnnotation:s(()=>Wn,"ChangeAnnotation"),ChangeAnnotationIdentifier:s(()=>rt,"ChangeAnnotationIdentifier"),CodeAction:s(()=>iy,"CodeAction"),CodeActionContext:s(()=>ay,"CodeActionContext"),CodeActionKind:s(()=>ny,"CodeActionKind"),CodeActionTriggerKind:s(()=>$u,"CodeActionTriggerKind"),CodeDescription:s(()=>Dh,"CodeDescription"),CodeLens:s(()=>sy,"CodeLens"),Color:s(()=>Rf,"Color"),ColorInformation:s(()=>Nh,"ColorInformation"),ColorPresentation:s(()=>Ph,"ColorPresentation"),Command:s(()=>Kn,"Command"),CompletionItem:s(()=>Wh,"CompletionItem"),CompletionItemKind:s(()=>Fh,"CompletionItemKind"),CompletionItemLabelDetails:s(()=>Kh,"CompletionItemLabelDetails"),CompletionItemTag:s(()=>jh,"CompletionItemTag"),CompletionList:s(()=>Vh,"CompletionList"),CreateFile:s(()=>Zo,"CreateFile"),DeleteFile:s(()=>el,"DeleteFile"),Diagnostic:s(()=>gu,"Diagnostic"),DiagnosticRelatedInformation:s(()=>$f,"DiagnosticRelatedInformation"),DiagnosticSeverity:s(()=>Oh,"DiagnosticSeverity"),DiagnosticTag:s(()=>Lh,"DiagnosticTag"),DocumentHighlight:s(()=>Xh,"DocumentHighlight"),DocumentHighlightKind:s(()=>Jh,"DocumentHighlightKind"),DocumentLink:s(()=>ly,"DocumentLink"),DocumentSymbol:s(()=>ry,"DocumentSymbol"),DocumentUri:s(()=>Sh,"DocumentUri"),EOL:s(()=>DN,"EOL"),FoldingRange:s(()=>kh,"FoldingRange"),FoldingRangeKind:s(()=>wh,"FoldingRangeKind"),FormattingOptions:s(()=>oy,"FormattingOptions"),Hover:s(()=>qh,"Hover"),InlayHint:s(()=>gy,"InlayHint"),InlayHintKind:s(()=>Cf,"InlayHintKind"),InlayHintLabelPart:s(()=>bf,"InlayHintLabelPart"),InlineCompletionContext:s(()=>Ey,"InlineCompletionContext"),InlineCompletionItem:s(()=>Ty,"InlineCompletionItem"),InlineCompletionList:s(()=>Ry,"InlineCompletionList"),InlineCompletionTriggerKind:s(()=>$y,"InlineCompletionTriggerKind"),InlineValueContext:s(()=>yy,"InlineValueContext"),InlineValueEvaluatableExpression:s(()=>hy,"InlineValueEvaluatableExpression"),InlineValueText:s(()=>py,"InlineValueText"),InlineValueVariableLookup:s(()=>my,"InlineValueVariableLookup"),InsertReplaceEdit:s(()=>Bh,"InsertReplaceEdit"),InsertTextFormat:s(()=>zh,"InsertTextFormat"),InsertTextMode:s(()=>Uh,"InsertTextMode"),Location:s(()=>yu,"Location"),LocationLink:s(()=>Ih,"LocationLink"),MarkedString:s(()=>Ru,"MarkedString"),MarkupContent:s(()=>tl,"MarkupContent"),MarkupKind:s(()=>Ef,"MarkupKind"),OptionalVersionedTextDocumentIdentifier:s(()=>Tu,"OptionalVersionedTextDocumentIdentifier"),ParameterInformation:s(()=>Hh,"ParameterInformation"),Position:s(()=>ue,"Position"),Range:s(()=>ne,"Range"),RenameFile:s(()=>Qo,"RenameFile"),SelectedCompletionInfo:s(()=>Ay,"SelectedCompletionInfo"),SelectionRange:s(()=>uy,"SelectionRange"),SemanticTokenModifiers:s(()=>fy,"SemanticTokenModifiers"),SemanticTokenTypes:s(()=>cy,"SemanticTokenTypes"),SemanticTokens:s(()=>dy,"SemanticTokens"),SignatureInformation:s(()=>Yh,"SignatureInformation"),StringValue:s(()=>vy,"StringValue"),SymbolInformation:s(()=>ey,"SymbolInformation"),SymbolKind:s(()=>Zh,"SymbolKind"),SymbolTag:s(()=>Qh,"SymbolTag"),TextDocument:s(()=>by,"TextDocument"),TextDocumentEdit:s(()=>vu,"TextDocumentEdit"),TextDocumentIdentifier:s(()=>Mh,"TextDocumentIdentifier"),TextDocumentItem:s(()=>Gh,"TextDocumentItem"),TextEdit:s(()=>lr,"TextEdit"),URI:s(()=>Tf,"URI"),VersionedTextDocumentIdentifier:s(()=>xh,"VersionedTextDocumentIdentifier"),WorkspaceChange:s(()=>LN,"WorkspaceChange"),WorkspaceEdit:s(()=>Af,"WorkspaceEdit"),WorkspaceFolder:s(()=>Cy,"WorkspaceFolder"),WorkspaceSymbol:s(()=>ty,"WorkspaceSymbol"),integer:s(()=>_h,"integer"),uinteger:s(()=>hu,"uinteger")});var Sh,Tf,_h,hu,ue,ne,yu,Ih,Rf,Nh,Ph,wh,kh,$f,Oh,Lh,Dh,gu,Kn,lr,Wn,rt,wr,vu,Zo,Qo,el,Af,nu,Ym,LN,Mh,xh,Tu,Gh,Ef,tl,Fh,zh,jh,Bh,Uh,Kh,Wh,Vh,Ru,qh,Hh,Yh,Jh,Xh,Zh,Qh,ey,ty,ry,ny,$u,ay,iy,sy,oy,ly,uy,cy,fy,dy,py,my,hy,yy,Cf,bf,gy,vy,Ty,Ry,$y,Ay,Ey,Cy,DN,by,n_,b,mc=Bk({"../../node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.js"(){var t,e,r,n;(function(a){function i(l){return typeof l=="string"}s(i,"is"),o(i,"is"),a.is=i})(Sh||(Sh={})),(function(a){function i(l){return typeof l=="string"}s(i,"is"),o(i,"is"),a.is=i})(Tf||(Tf={})),(function(a){a.MIN_VALUE=-2147483648,a.MAX_VALUE=2147483647;function i(l){return typeof l=="number"&&a.MIN_VALUE<=l&&l<=a.MAX_VALUE}s(i,"is"),o(i,"is"),a.is=i})(_h||(_h={})),(function(a){a.MIN_VALUE=0,a.MAX_VALUE=2147483647;function i(l){return typeof l=="number"&&a.MIN_VALUE<=l&&l<=a.MAX_VALUE}s(i,"is"),o(i,"is"),a.is=i})(hu||(hu={})),(function(a){function i(c,u){return c===Number.MAX_VALUE&&(c=hu.MAX_VALUE),u===Number.MAX_VALUE&&(u=hu.MAX_VALUE),{line:c,character:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&b.uinteger(u.line)&&b.uinteger(u.character)}s(l,"is"),o(l,"is"),a.is=l})(ue||(ue={})),(function(a){function i(c,u,f,d){if(b.uinteger(c)&&b.uinteger(u)&&b.uinteger(f)&&b.uinteger(d))return{start:ue.create(c,u),end:ue.create(f,d)};if(ue.is(c)&&ue.is(u))return{start:c,end:u};throw new Error(`Range#create called with invalid arguments[${c}, ${u}, ${f}, ${d}]`)}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&ue.is(u.start)&&ue.is(u.end)}s(l,"is"),o(l,"is"),a.is=l})(ne||(ne={})),(function(a){function i(c,u){return{uri:c,range:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&ne.is(u.range)&&(b.string(u.uri)||b.undefined(u.uri))}s(l,"is"),o(l,"is"),a.is=l})(yu||(yu={})),(function(a){function i(c,u,f,d){return{targetUri:c,targetRange:u,targetSelectionRange:f,originSelectionRange:d}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&ne.is(u.targetRange)&&b.string(u.targetUri)&&ne.is(u.targetSelectionRange)&&(ne.is(u.originSelectionRange)||b.undefined(u.originSelectionRange))}s(l,"is"),o(l,"is"),a.is=l})(Ih||(Ih={})),(function(a){function i(c,u,f,d){return{red:c,green:u,blue:f,alpha:d}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&b.numberRange(u.red,0,1)&&b.numberRange(u.green,0,1)&&b.numberRange(u.blue,0,1)&&b.numberRange(u.alpha,0,1)}s(l,"is"),o(l,"is"),a.is=l})(Rf||(Rf={})),(function(a){function i(c,u){return{range:c,color:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&ne.is(u.range)&&Rf.is(u.color)}s(l,"is"),o(l,"is"),a.is=l})(Nh||(Nh={})),(function(a){function i(c,u,f){return{label:c,textEdit:u,additionalTextEdits:f}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&b.string(u.label)&&(b.undefined(u.textEdit)||lr.is(u))&&(b.undefined(u.additionalTextEdits)||b.typedArray(u.additionalTextEdits,lr.is))}s(l,"is"),o(l,"is"),a.is=l})(Ph||(Ph={})),(function(a){a.Comment="comment",a.Imports="imports",a.Region="region"})(wh||(wh={})),(function(a){function i(c,u,f,d,p,m){const g={startLine:c,endLine:u};return b.defined(f)&&(g.startCharacter=f),b.defined(d)&&(g.endCharacter=d),b.defined(p)&&(g.kind=p),b.defined(m)&&(g.collapsedText=m),g}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&b.uinteger(u.startLine)&&b.uinteger(u.startLine)&&(b.undefined(u.startCharacter)||b.uinteger(u.startCharacter))&&(b.undefined(u.endCharacter)||b.uinteger(u.endCharacter))&&(b.undefined(u.kind)||b.string(u.kind))}s(l,"is"),o(l,"is"),a.is=l})(kh||(kh={})),(function(a){function i(c,u){return{location:c,message:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&yu.is(u.location)&&b.string(u.message)}s(l,"is"),o(l,"is"),a.is=l})($f||($f={})),(function(a){a.Error=1,a.Warning=2,a.Information=3,a.Hint=4})(Oh||(Oh={})),(function(a){a.Unnecessary=1,a.Deprecated=2})(Lh||(Lh={})),(function(a){function i(l){const c=l;return b.objectLiteral(c)&&b.string(c.href)}s(i,"is"),o(i,"is"),a.is=i})(Dh||(Dh={})),(function(a){function i(c,u,f,d,p,m){let g={range:c,message:u};return b.defined(f)&&(g.severity=f),b.defined(d)&&(g.code=d),b.defined(p)&&(g.source=p),b.defined(m)&&(g.relatedInformation=m),g}s(i,"create"),o(i,"create"),a.create=i;function l(c){var u;let f=c;return b.defined(f)&&ne.is(f.range)&&b.string(f.message)&&(b.number(f.severity)||b.undefined(f.severity))&&(b.integer(f.code)||b.string(f.code)||b.undefined(f.code))&&(b.undefined(f.codeDescription)||b.string((u=f.codeDescription)===null||u===void 0?void 0:u.href))&&(b.string(f.source)||b.undefined(f.source))&&(b.undefined(f.relatedInformation)||b.typedArray(f.relatedInformation,$f.is))}s(l,"is"),o(l,"is"),a.is=l})(gu||(gu={})),(function(a){function i(c,u,...f){let d={title:c,command:u};return b.defined(f)&&f.length>0&&(d.arguments=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.title)&&b.string(u.command)}s(l,"is"),o(l,"is"),a.is=l})(Kn||(Kn={})),(function(a){function i(f,d){return{range:f,newText:d}}s(i,"replace"),o(i,"replace"),a.replace=i;function l(f,d){return{range:{start:f,end:f},newText:d}}s(l,"insert"),o(l,"insert"),a.insert=l;function c(f){return{range:f,newText:""}}s(c,"del"),o(c,"del"),a.del=c;function u(f){const d=f;return b.objectLiteral(d)&&b.string(d.newText)&&ne.is(d.range)}s(u,"is"),o(u,"is"),a.is=u})(lr||(lr={})),(function(a){function i(c,u,f){const d={label:c};return u!==void 0&&(d.needsConfirmation=u),f!==void 0&&(d.description=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&b.string(u.label)&&(b.boolean(u.needsConfirmation)||u.needsConfirmation===void 0)&&(b.string(u.description)||u.description===void 0)}s(l,"is"),o(l,"is"),a.is=l})(Wn||(Wn={})),(function(a){function i(l){const c=l;return b.string(c)}s(i,"is"),o(i,"is"),a.is=i})(rt||(rt={})),(function(a){function i(f,d,p){return{range:f,newText:d,annotationId:p}}s(i,"replace"),o(i,"replace"),a.replace=i;function l(f,d,p){return{range:{start:f,end:f},newText:d,annotationId:p}}s(l,"insert"),o(l,"insert"),a.insert=l;function c(f,d){return{range:f,newText:"",annotationId:d}}s(c,"del"),o(c,"del"),a.del=c;function u(f){const d=f;return lr.is(d)&&(Wn.is(d.annotationId)||rt.is(d.annotationId))}s(u,"is"),o(u,"is"),a.is=u})(wr||(wr={})),(function(a){function i(c,u){return{textDocument:c,edits:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&Tu.is(u.textDocument)&&Array.isArray(u.edits)}s(l,"is"),o(l,"is"),a.is=l})(vu||(vu={})),(function(a){function i(c,u,f){let d={kind:"create",uri:c};return u!==void 0&&(u.overwrite!==void 0||u.ignoreIfExists!==void 0)&&(d.options=u),f!==void 0&&(d.annotationId=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&u.kind==="create"&&b.string(u.uri)&&(u.options===void 0||(u.options.overwrite===void 0||b.boolean(u.options.overwrite))&&(u.options.ignoreIfExists===void 0||b.boolean(u.options.ignoreIfExists)))&&(u.annotationId===void 0||rt.is(u.annotationId))}s(l,"is"),o(l,"is"),a.is=l})(Zo||(Zo={})),(function(a){function i(c,u,f,d){let p={kind:"rename",oldUri:c,newUri:u};return f!==void 0&&(f.overwrite!==void 0||f.ignoreIfExists!==void 0)&&(p.options=f),d!==void 0&&(p.annotationId=d),p}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&u.kind==="rename"&&b.string(u.oldUri)&&b.string(u.newUri)&&(u.options===void 0||(u.options.overwrite===void 0||b.boolean(u.options.overwrite))&&(u.options.ignoreIfExists===void 0||b.boolean(u.options.ignoreIfExists)))&&(u.annotationId===void 0||rt.is(u.annotationId))}s(l,"is"),o(l,"is"),a.is=l})(Qo||(Qo={})),(function(a){function i(c,u,f){let d={kind:"delete",uri:c};return u!==void 0&&(u.recursive!==void 0||u.ignoreIfNotExists!==void 0)&&(d.options=u),f!==void 0&&(d.annotationId=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&u.kind==="delete"&&b.string(u.uri)&&(u.options===void 0||(u.options.recursive===void 0||b.boolean(u.options.recursive))&&(u.options.ignoreIfNotExists===void 0||b.boolean(u.options.ignoreIfNotExists)))&&(u.annotationId===void 0||rt.is(u.annotationId))}s(l,"is"),o(l,"is"),a.is=l})(el||(el={})),(function(a){function i(l){let c=l;return c&&(c.changes!==void 0||c.documentChanges!==void 0)&&(c.documentChanges===void 0||c.documentChanges.every(u=>b.string(u.kind)?Zo.is(u)||Qo.is(u)||el.is(u):vu.is(u)))}s(i,"is"),o(i,"is"),a.is=i})(Af||(Af={})),nu=(t=class{constructor(i,l){this.edits=i,this.changeAnnotations=l}insert(i,l,c){let u,f;if(c===void 0?u=lr.insert(i,l):rt.is(c)?(f=c,u=wr.insert(i,l,c)):(this.assertChangeAnnotations(this.changeAnnotations),f=this.changeAnnotations.manage(c),u=wr.insert(i,l,f)),this.edits.push(u),f!==void 0)return f}replace(i,l,c){let u,f;if(c===void 0?u=lr.replace(i,l):rt.is(c)?(f=c,u=wr.replace(i,l,c)):(this.assertChangeAnnotations(this.changeAnnotations),f=this.changeAnnotations.manage(c),u=wr.replace(i,l,f)),this.edits.push(u),f!==void 0)return f}delete(i,l){let c,u;if(l===void 0?c=lr.del(i):rt.is(l)?(u=l,c=wr.del(i,l)):(this.assertChangeAnnotations(this.changeAnnotations),u=this.changeAnnotations.manage(l),c=wr.del(i,u)),this.edits.push(c),u!==void 0)return u}add(i){this.edits.push(i)}all(){return this.edits}clear(){this.edits.splice(0,this.edits.length)}assertChangeAnnotations(i){if(i===void 0)throw new Error("Text edit change is not configured to manage change annotations.")}},s(t,"TextEditChangeImpl"),o(t,"TextEditChangeImpl"),t),Ym=(e=class{constructor(i){this._annotations=i===void 0?Object.create(null):i,this._counter=0,this._size=0}all(){return this._annotations}get size(){return this._size}manage(i,l){let c;if(rt.is(i)?c=i:(c=this.nextId(),l=i),this._annotations[c]!==void 0)throw new Error(`Id ${c} is already in use.`);if(l===void 0)throw new Error(`No annotation provided for id ${c}`);return this._annotations[c]=l,this._size++,c}nextId(){return this._counter++,this._counter.toString()}},s(e,"ChangeAnnotations"),o(e,"ChangeAnnotations"),e),LN=(r=class{constructor(i){this._textEditChanges=Object.create(null),i!==void 0?(this._workspaceEdit=i,i.documentChanges?(this._changeAnnotations=new Ym(i.changeAnnotations),i.changeAnnotations=this._changeAnnotations.all(),i.documentChanges.forEach(l=>{if(vu.is(l)){const c=new nu(l.edits,this._changeAnnotations);this._textEditChanges[l.textDocument.uri]=c}})):i.changes&&Object.keys(i.changes).forEach(l=>{const c=new nu(i.changes[l]);this._textEditChanges[l]=c})):this._workspaceEdit={}}get edit(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit}getTextEditChange(i){if(Tu.is(i)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");const l={uri:i.uri,version:i.version};let c=this._textEditChanges[l.uri];if(!c){const u=[],f={textDocument:l,edits:u};this._workspaceEdit.documentChanges.push(f),c=new nu(u,this._changeAnnotations),this._textEditChanges[l.uri]=c}return c}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");let l=this._textEditChanges[i];if(!l){let c=[];this._workspaceEdit.changes[i]=c,l=new nu(c),this._textEditChanges[i]=l}return l}}initDocumentChanges(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new Ym,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())}initChanges(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))}createFile(i,l,c){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let u;Wn.is(l)||rt.is(l)?u=l:c=l;let f,d;if(u===void 0?f=Zo.create(i,c):(d=rt.is(u)?u:this._changeAnnotations.manage(u),f=Zo.create(i,c,d)),this._workspaceEdit.documentChanges.push(f),d!==void 0)return d}renameFile(i,l,c,u){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let f;Wn.is(c)||rt.is(c)?f=c:u=c;let d,p;if(f===void 0?d=Qo.create(i,l,u):(p=rt.is(f)?f:this._changeAnnotations.manage(f),d=Qo.create(i,l,u,p)),this._workspaceEdit.documentChanges.push(d),p!==void 0)return p}deleteFile(i,l,c){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");let u;Wn.is(l)||rt.is(l)?u=l:c=l;let f,d;if(u===void 0?f=el.create(i,c):(d=rt.is(u)?u:this._changeAnnotations.manage(u),f=el.create(i,c,d)),this._workspaceEdit.documentChanges.push(f),d!==void 0)return d}},s(r,"WorkspaceChange"),o(r,"WorkspaceChange"),r),(function(a){function i(c){return{uri:c}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.uri)}s(l,"is"),o(l,"is"),a.is=l})(Mh||(Mh={})),(function(a){function i(c,u){return{uri:c,version:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.uri)&&b.integer(u.version)}s(l,"is"),o(l,"is"),a.is=l})(xh||(xh={})),(function(a){function i(c,u){return{uri:c,version:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.uri)&&(u.version===null||b.integer(u.version))}s(l,"is"),o(l,"is"),a.is=l})(Tu||(Tu={})),(function(a){function i(c,u,f,d){return{uri:c,languageId:u,version:f,text:d}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.string(u.uri)&&b.string(u.languageId)&&b.integer(u.version)&&b.string(u.text)}s(l,"is"),o(l,"is"),a.is=l})(Gh||(Gh={})),(function(a){a.PlainText="plaintext",a.Markdown="markdown";function i(l){const c=l;return c===a.PlainText||c===a.Markdown}s(i,"is"),o(i,"is"),a.is=i})(Ef||(Ef={})),(function(a){function i(l){const c=l;return b.objectLiteral(l)&&Ef.is(c.kind)&&b.string(c.value)}s(i,"is"),o(i,"is"),a.is=i})(tl||(tl={})),(function(a){a.Text=1,a.Method=2,a.Function=3,a.Constructor=4,a.Field=5,a.Variable=6,a.Class=7,a.Interface=8,a.Module=9,a.Property=10,a.Unit=11,a.Value=12,a.Enum=13,a.Keyword=14,a.Snippet=15,a.Color=16,a.File=17,a.Reference=18,a.Folder=19,a.EnumMember=20,a.Constant=21,a.Struct=22,a.Event=23,a.Operator=24,a.TypeParameter=25})(Fh||(Fh={})),(function(a){a.PlainText=1,a.Snippet=2})(zh||(zh={})),(function(a){a.Deprecated=1})(jh||(jh={})),(function(a){function i(c,u,f){return{newText:c,insert:u,replace:f}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return u&&b.string(u.newText)&&ne.is(u.insert)&&ne.is(u.replace)}s(l,"is"),o(l,"is"),a.is=l})(Bh||(Bh={})),(function(a){a.asIs=1,a.adjustIndentation=2})(Uh||(Uh={})),(function(a){function i(l){const c=l;return c&&(b.string(c.detail)||c.detail===void 0)&&(b.string(c.description)||c.description===void 0)}s(i,"is"),o(i,"is"),a.is=i})(Kh||(Kh={})),(function(a){function i(l){return{label:l}}s(i,"create"),o(i,"create"),a.create=i})(Wh||(Wh={})),(function(a){function i(l,c){return{items:l||[],isIncomplete:!!c}}s(i,"create"),o(i,"create"),a.create=i})(Vh||(Vh={})),(function(a){function i(c){return c.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}s(i,"fromPlainText"),o(i,"fromPlainText"),a.fromPlainText=i;function l(c){const u=c;return b.string(u)||b.objectLiteral(u)&&b.string(u.language)&&b.string(u.value)}s(l,"is"),o(l,"is"),a.is=l})(Ru||(Ru={})),(function(a){function i(l){let c=l;return!!c&&b.objectLiteral(c)&&(tl.is(c.contents)||Ru.is(c.contents)||b.typedArray(c.contents,Ru.is))&&(l.range===void 0||ne.is(l.range))}s(i,"is"),o(i,"is"),a.is=i})(qh||(qh={})),(function(a){function i(l,c){return c?{label:l,documentation:c}:{label:l}}s(i,"create"),o(i,"create"),a.create=i})(Hh||(Hh={})),(function(a){function i(l,c,...u){let f={label:l};return b.defined(c)&&(f.documentation=c),b.defined(u)?f.parameters=u:f.parameters=[],f}s(i,"create"),o(i,"create"),a.create=i})(Yh||(Yh={})),(function(a){a.Text=1,a.Read=2,a.Write=3})(Jh||(Jh={})),(function(a){function i(l,c){let u={range:l};return b.number(c)&&(u.kind=c),u}s(i,"create"),o(i,"create"),a.create=i})(Xh||(Xh={})),(function(a){a.File=1,a.Module=2,a.Namespace=3,a.Package=4,a.Class=5,a.Method=6,a.Property=7,a.Field=8,a.Constructor=9,a.Enum=10,a.Interface=11,a.Function=12,a.Variable=13,a.Constant=14,a.String=15,a.Number=16,a.Boolean=17,a.Array=18,a.Object=19,a.Key=20,a.Null=21,a.EnumMember=22,a.Struct=23,a.Event=24,a.Operator=25,a.TypeParameter=26})(Zh||(Zh={})),(function(a){a.Deprecated=1})(Qh||(Qh={})),(function(a){function i(l,c,u,f,d){let p={name:l,kind:c,location:{uri:f,range:u}};return d&&(p.containerName=d),p}s(i,"create"),o(i,"create"),a.create=i})(ey||(ey={})),(function(a){function i(l,c,u,f){return f!==void 0?{name:l,kind:c,location:{uri:u,range:f}}:{name:l,kind:c,location:{uri:u}}}s(i,"create"),o(i,"create"),a.create=i})(ty||(ty={})),(function(a){function i(c,u,f,d,p,m){let g={name:c,detail:u,kind:f,range:d,selectionRange:p};return m!==void 0&&(g.children=m),g}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&b.string(u.name)&&b.number(u.kind)&&ne.is(u.range)&&ne.is(u.selectionRange)&&(u.detail===void 0||b.string(u.detail))&&(u.deprecated===void 0||b.boolean(u.deprecated))&&(u.children===void 0||Array.isArray(u.children))&&(u.tags===void 0||Array.isArray(u.tags))}s(l,"is"),o(l,"is"),a.is=l})(ry||(ry={})),(function(a){a.Empty="",a.QuickFix="quickfix",a.Refactor="refactor",a.RefactorExtract="refactor.extract",a.RefactorInline="refactor.inline",a.RefactorRewrite="refactor.rewrite",a.Source="source",a.SourceOrganizeImports="source.organizeImports",a.SourceFixAll="source.fixAll"})(ny||(ny={})),(function(a){a.Invoked=1,a.Automatic=2})($u||($u={})),(function(a){function i(c,u,f){let d={diagnostics:c};return u!=null&&(d.only=u),f!=null&&(d.triggerKind=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.typedArray(u.diagnostics,gu.is)&&(u.only===void 0||b.typedArray(u.only,b.string))&&(u.triggerKind===void 0||u.triggerKind===$u.Invoked||u.triggerKind===$u.Automatic)}s(l,"is"),o(l,"is"),a.is=l})(ay||(ay={})),(function(a){function i(c,u,f){let d={title:c},p=!0;return typeof u=="string"?(p=!1,d.kind=u):Kn.is(u)?d.command=u:d.edit=u,p&&f!==void 0&&(d.kind=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return u&&b.string(u.title)&&(u.diagnostics===void 0||b.typedArray(u.diagnostics,gu.is))&&(u.kind===void 0||b.string(u.kind))&&(u.edit!==void 0||u.command!==void 0)&&(u.command===void 0||Kn.is(u.command))&&(u.isPreferred===void 0||b.boolean(u.isPreferred))&&(u.edit===void 0||Af.is(u.edit))}s(l,"is"),o(l,"is"),a.is=l})(iy||(iy={})),(function(a){function i(c,u){let f={range:c};return b.defined(u)&&(f.data=u),f}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&ne.is(u.range)&&(b.undefined(u.command)||Kn.is(u.command))}s(l,"is"),o(l,"is"),a.is=l})(sy||(sy={})),(function(a){function i(c,u){return{tabSize:c,insertSpaces:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&b.uinteger(u.tabSize)&&b.boolean(u.insertSpaces)}s(l,"is"),o(l,"is"),a.is=l})(oy||(oy={})),(function(a){function i(c,u,f){return{range:c,target:u,data:f}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.defined(u)&&ne.is(u.range)&&(b.undefined(u.target)||b.string(u.target))}s(l,"is"),o(l,"is"),a.is=l})(ly||(ly={})),(function(a){function i(c,u){return{range:c,parent:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){let u=c;return b.objectLiteral(u)&&ne.is(u.range)&&(u.parent===void 0||a.is(u.parent))}s(l,"is"),o(l,"is"),a.is=l})(uy||(uy={})),(function(a){a.namespace="namespace",a.type="type",a.class="class",a.enum="enum",a.interface="interface",a.struct="struct",a.typeParameter="typeParameter",a.parameter="parameter",a.variable="variable",a.property="property",a.enumMember="enumMember",a.event="event",a.function="function",a.method="method",a.macro="macro",a.keyword="keyword",a.modifier="modifier",a.comment="comment",a.string="string",a.number="number",a.regexp="regexp",a.operator="operator",a.decorator="decorator"})(cy||(cy={})),(function(a){a.declaration="declaration",a.definition="definition",a.readonly="readonly",a.static="static",a.deprecated="deprecated",a.abstract="abstract",a.async="async",a.modification="modification",a.documentation="documentation",a.defaultLibrary="defaultLibrary"})(fy||(fy={})),(function(a){function i(l){const c=l;return b.objectLiteral(c)&&(c.resultId===void 0||typeof c.resultId=="string")&&Array.isArray(c.data)&&(c.data.length===0||typeof c.data[0]=="number")}s(i,"is"),o(i,"is"),a.is=i})(dy||(dy={})),(function(a){function i(c,u){return{range:c,text:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return u!=null&&ne.is(u.range)&&b.string(u.text)}s(l,"is"),o(l,"is"),a.is=l})(py||(py={})),(function(a){function i(c,u,f){return{range:c,variableName:u,caseSensitiveLookup:f}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return u!=null&&ne.is(u.range)&&b.boolean(u.caseSensitiveLookup)&&(b.string(u.variableName)||u.variableName===void 0)}s(l,"is"),o(l,"is"),a.is=l})(my||(my={})),(function(a){function i(c,u){return{range:c,expression:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return u!=null&&ne.is(u.range)&&(b.string(u.expression)||u.expression===void 0)}s(l,"is"),o(l,"is"),a.is=l})(hy||(hy={})),(function(a){function i(c,u){return{frameId:c,stoppedLocation:u}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.defined(u)&&ne.is(c.stoppedLocation)}s(l,"is"),o(l,"is"),a.is=l})(yy||(yy={})),(function(a){a.Type=1,a.Parameter=2;function i(l){return l===1||l===2}s(i,"is"),o(i,"is"),a.is=i})(Cf||(Cf={})),(function(a){function i(c){return{value:c}}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&(u.tooltip===void 0||b.string(u.tooltip)||tl.is(u.tooltip))&&(u.location===void 0||yu.is(u.location))&&(u.command===void 0||Kn.is(u.command))}s(l,"is"),o(l,"is"),a.is=l})(bf||(bf={})),(function(a){function i(c,u,f){const d={position:c,label:u};return f!==void 0&&(d.kind=f),d}s(i,"create"),o(i,"create"),a.create=i;function l(c){const u=c;return b.objectLiteral(u)&&ue.is(u.position)&&(b.string(u.label)||b.typedArray(u.label,bf.is))&&(u.kind===void 0||Cf.is(u.kind))&&u.textEdits===void 0||b.typedArray(u.textEdits,lr.is)&&(u.tooltip===void 0||b.string(u.tooltip)||tl.is(u.tooltip))&&(u.paddingLeft===void 0||b.boolean(u.paddingLeft))&&(u.paddingRight===void 0||b.boolean(u.paddingRight))}s(l,"is"),o(l,"is"),a.is=l})(gy||(gy={})),(function(a){function i(l){return{kind:"snippet",value:l}}s(i,"createSnippet"),o(i,"createSnippet"),a.createSnippet=i})(vy||(vy={})),(function(a){function i(l,c,u,f){return{insertText:l,filterText:c,range:u,command:f}}s(i,"create"),o(i,"create"),a.create=i})(Ty||(Ty={})),(function(a){function i(l){return{items:l}}s(i,"create"),o(i,"create"),a.create=i})(Ry||(Ry={})),(function(a){a.Invoked=0,a.Automatic=1})($y||($y={})),(function(a){function i(l,c){return{range:l,text:c}}s(i,"create"),o(i,"create"),a.create=i})(Ay||(Ay={})),(function(a){function i(l,c){return{triggerKind:l,selectedCompletionInfo:c}}s(i,"create"),o(i,"create"),a.create=i})(Ey||(Ey={})),(function(a){function i(l){const c=l;return b.objectLiteral(c)&&Tf.is(c.uri)&&b.string(c.name)}s(i,"is"),o(i,"is"),a.is=i})(Cy||(Cy={})),DN=[`
|
|
2
2
|
`,`\r
|
|
3
3
|
`,"\r"],(function(a){function i(f,d,p,m){return new n_(f,d,p,m)}s(i,"create"),o(i,"create"),a.create=i;function l(f){let d=f;return!!(b.defined(d)&&b.string(d.uri)&&(b.undefined(d.languageId)||b.string(d.languageId))&&b.uinteger(d.lineCount)&&b.func(d.getText)&&b.func(d.positionAt)&&b.func(d.offsetAt))}s(l,"is"),o(l,"is"),a.is=l;function c(f,d){let p=f.getText(),m=u(d,(y,$)=>{let C=y.range.start.line-$.range.start.line;return C===0?y.range.start.character-$.range.start.character:C}),g=p.length;for(let y=m.length-1;y>=0;y--){let $=m[y],C=f.offsetAt($.range.start),R=f.offsetAt($.range.end);if(R<=g)p=p.substring(0,C)+$.newText+p.substring(R,p.length);else throw new Error("Overlapping edit");g=C}return p}s(c,"applyEdits"),o(c,"applyEdits"),a.applyEdits=c;function u(f,d){if(f.length<=1)return f;const p=f.length/2|0,m=f.slice(0,p),g=f.slice(p);u(m,d),u(g,d);let y=0,$=0,C=0;for(;y<m.length&&$<g.length;)d(m[y],g[$])<=0?f[C++]=m[y++]:f[C++]=g[$++];for(;y<m.length;)f[C++]=m[y++];for(;$<g.length;)f[C++]=g[$++];return f}s(u,"mergeSort2"),o(u,"mergeSort")})(by||(by={})),n_=(n=class{constructor(i,l,c,u){this._uri=i,this._languageId=l,this._version=c,this._content=u,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(i){if(i){let l=this.offsetAt(i.start),c=this.offsetAt(i.end);return this._content.substring(l,c)}return this._content}update(i,l){this._content=i.text,this._version=l,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let i=[],l=this._content,c=!0;for(let u=0;u<l.length;u++){c&&(i.push(u),c=!1);let f=l.charAt(u);c=f==="\r"||f===`
|
|
4
4
|
`,f==="\r"&&u+1<l.length&&l.charAt(u+1)===`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ee}from"./
|
|
1
|
+
import{g as ee}from"./B8N5zbP-.js";import{s as se}from"./CzK2fiHA.js";import{f as p,bC as b,aO as $,bZ as ie,cx as re,aL as ae,c7 as ne,aK as oe,c6 as le,c9 as ce,aP as he,aJ as ue,a4 as j,a0 as de,c3 as kt}from"./BHwB2t2J.js";import{c as fe}from"./CEiokx4X.js";import{aI as pe}from"./D6eVIgjz.js";var Ct=(function(){var t=p(function(V,o,h,a){for(h=h||{},a=V.length;a--;h[V[a]]=o);return h},"o"),e=[1,2],s=[1,3],n=[1,4],r=[2,4],c=[1,9],u=[1,11],S=[1,16],d=[1,17],T=[1,18],E=[1,19],m=[1,33],L=[1,20],D=[1,21],f=[1,22],I=[1,23],R=[1,24],C=[1,26],F=[1,27],A=[1,28],P=[1,29],w=[1,30],z=[1,31],rt=[1,32],at=[1,35],nt=[1,36],ot=[1,37],lt=[1,38],K=[1,34],y=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Lt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],gt={trace:p(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(function(o,h,a,g,_,i,B){var l=i.length-1;switch(_){case 3:return g.setRootDoc(i[l]),i[l];case 4:this.$=[];break;case 5:i[l]!="nl"&&(i[l-1].push(i[l]),this.$=i[l-1]);break;case 6:case 7:this.$=i[l];break;case 8:this.$="nl";break;case 12:this.$=i[l];break;case 13:const Q=i[l-1];Q.description=g.trimColon(i[l]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[l-2],state2:i[l]};break;case 15:const Tt=g.trimColon(i[l]);this.$={stmt:"relation",state1:i[l-3],state2:i[l-1],description:Tt};break;case 19:this.$={stmt:"state",id:i[l-3],type:"default",description:"",doc:i[l-1]};break;case 20:var Y=i[l],X=i[l-2].trim();if(i[l].match(":")){var ut=i[l].split(":");Y=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:Y,type:"default",description:X};break;case 21:this.$={stmt:"state",id:i[l-3],type:"default",description:i[l-5],doc:i[l-1]};break;case 22:this.$={stmt:"state",id:i[l],type:"fork"};break;case 23:this.$={stmt:"state",id:i[l],type:"join"};break;case 24:this.$={stmt:"state",id:i[l],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[l-1].trim(),note:{position:i[l-2].trim(),text:i[l].trim()}};break;case 29:this.$=i[l].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=i[l].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[l-3],url:i[l-2],tooltip:i[l-1]};break;case 33:this.$={stmt:"click",id:i[l-3],url:i[l-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[l-1].trim(),classes:i[l].trim()};break;case 36:this.$={stmt:"style",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 37:this.$={stmt:"applyClass",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[l].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:s,6:n},{1:[3]},{3:5,4:e,5:s,6:n},{3:6,4:e,5:s,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,22:E,24:m,25:L,26:D,27:f,28:I,29:R,32:25,33:C,35:F,37:A,38:P,41:w,45:z,48:rt,51:at,52:nt,53:ot,54:lt,57:K},t(y,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:d,19:T,22:E,24:m,25:L,26:D,27:f,28:I,29:R,32:25,33:C,35:F,37:A,38:P,41:w,45:z,48:rt,51:at,52:nt,53:ot,54:lt,57:K},t(y,[2,7]),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(y,[2,11]),t(y,[2,12],{14:[1,40],15:[1,41]}),t(y,[2,16]),{18:[1,42]},t(y,[2,18],{20:[1,43]}),{23:[1,44]},t(y,[2,22]),t(y,[2,23]),t(y,[2,24]),t(y,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(y,[2,28]),{34:[1,49]},{36:[1,50]},t(y,[2,31]),{13:51,24:m,57:K},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(ct,[2,44],{58:[1,56]}),t(ct,[2,45],{58:[1,57]}),t(y,[2,38]),t(y,[2,39]),t(y,[2,40]),t(y,[2,41]),t(y,[2,6]),t(y,[2,13]),{13:58,24:m,57:K},t(y,[2,17]),t(Lt,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(y,[2,29]),t(y,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(y,[2,14],{14:[1,71]}),{4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,21:[1,72],22:E,24:m,25:L,26:D,27:f,28:I,29:R,32:25,33:C,35:F,37:A,38:P,41:w,45:z,48:rt,51:at,52:nt,53:ot,54:lt,57:K},t(y,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),t(ct,[2,46]),t(ct,[2,47]),t(y,[2,15]),t(y,[2,19]),t(Lt,r,{7:78}),t(y,[2,26]),t(y,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,21:[1,81],22:E,24:m,25:L,26:D,27:f,28:I,29:R,32:25,33:C,35:F,37:A,38:P,41:w,45:z,48:rt,51:at,52:nt,53:ot,54:lt,57:K},t(y,[2,32]),t(y,[2,33]),t(y,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(function(o,h){if(h.recoverable)this.trace(o);else{var a=new Error(o);throw a.hash=h,a}},"parseError"),parse:p(function(o){var h=this,a=[0],g=[],_=[null],i=[],B=this.table,l="",Y=0,X=0,ut=2,Q=1,Tt=i.slice.call(arguments,1),k=Object.create(this.lexer),U={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(U.yy[Et]=this.yy[Et]);k.setInput(o,U.yy),U.yy.lexer=k,U.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var _t=k.yylloc;i.push(_t);var Qt=k.options&&k.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function te(O){a.length=a.length-2*O,_.length=_.length-O,i.length=i.length-O}p(te,"popStack");function It(){var O;return O=g.pop()||k.lex()||Q,typeof O!="number"&&(O instanceof Array&&(g=O,O=g.pop()),O=h.symbols_[O]||O),O}p(It,"lex");for(var x,W,N,mt,J={},dt,G,wt,ft;;){if(W=a[a.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((x===null||typeof x>"u")&&(x=It()),N=B[W]&&B[W][x]),typeof N>"u"||!N.length||!N[0]){var bt="";ft=[];for(dt in B[W])this.terminals_[dt]&&dt>ut&&ft.push("'"+this.terminals_[dt]+"'");k.showPosition?bt="Parse error on line "+(Y+1)+`:
|
|
2
2
|
`+k.showPosition()+`
|
|
3
3
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[x]||x)+"'":bt="Parse error on line "+(Y+1)+": Unexpected "+(x==Q?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(bt,{text:k.match,token:this.terminals_[x]||x,line:k.yylineno,loc:_t,expected:ft})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+x);switch(N[0]){case 1:a.push(x),_.push(k.yytext),i.push(k.yylloc),a.push(N[1]),x=null,X=k.yyleng,l=k.yytext,Y=k.yylineno,_t=k.yylloc;break;case 2:if(G=this.productions_[N[1]][1],J.$=_[_.length-G],J._$={first_line:i[i.length-(G||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(G||1)].first_column,last_column:i[i.length-1].last_column},Qt&&(J._$.range=[i[i.length-(G||1)].range[0],i[i.length-1].range[1]]),mt=this.performAction.apply(J,[l,X,Y,U.yy,N[1],_,i].concat(Tt)),typeof mt<"u")return mt;G&&(a=a.slice(0,-1*G*2),_=_.slice(0,-1*G),i=i.slice(0,-1*G)),a.push(this.productions_[N[1]][0]),_.push(J.$),i.push(J._$),wt=B[a[a.length-2]][a[a.length-1]],a.push(wt);break;case 3:return!0}}return!0},"parse")},Zt=(function(){var V={EOF:1,parseError:p(function(h,a){if(this.yy.parser)this.yy.parser.parseError(h,a);else throw new Error(h)},"parseError"),setInput:p(function(o,h){return this.yy=h||this.yy||{},this._input=o,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:p(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var h=o.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:p(function(o){var h=o.length,a=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var g=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),a.length-1&&(this.yylineno-=a.length-1);var _=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:a?(a.length===g.length?this.yylloc.first_column:0)+g[g.length-a.length].length-a[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:p(function(){return this._more=!0,this},"more"),reject:p(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:p(function(o){this.unput(this.match.slice(o))},"less"),pastInput:p(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:p(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:p(function(){var o=this.pastInput(),h=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as ue,bq as b,a_ as I,by as fe,b as pe,bo as y}from"./COCO5InB.js";import{bs as ge,a7 as X,ay as E,W as m,bn as ve,aA as _,a5 as V,aD as e,bS as j,bl as Z,b_ as z,bO as ee,bA as G,aB as P,bf as be,c9 as i}from"./B8o4lNgr.js";import{h as me,k as N,s as f,l as O}from"./Crs9I2MT.js";import{F as _e,bn as he,bm as xe}from"./BDq7EC2K.js";import{f as ye,am as ke}from"./C5Xi5eLp.js";import{s as Se}from"./
|
|
1
|
+
import{t as ue,bq as b,a_ as I,by as fe,b as pe,bo as y}from"./COCO5InB.js";import{bs as ge,a7 as X,ay as E,W as m,bn as ve,aA as _,a5 as V,aD as e,bS as j,bl as Z,b_ as z,bO as ee,bA as G,aB as P,bf as be,c9 as i}from"./B8o4lNgr.js";import{h as me,k as N,s as f,l as O}from"./Crs9I2MT.js";import{F as _e,bn as he,bm as xe}from"./BDq7EC2K.js";import{f as ye,am as ke}from"./C5Xi5eLp.js";import{s as Se}from"./172GvQgx.js";import{t as H}from"./Bqoyy9yx.js";import{a as te,p as we,b as ze,d as Pe}from"./BrVO-2UU.js";var $e=P('<span aria-hidden="true"></span>'),Ie=P('<span class="absolute -right-0.5 -bottom-0.5 inline-flex items-center justify-center rounded-full bg-background text-foreground" aria-hidden="true"><!></span>'),Me=P('<span><span data-presence-avatar-tile=""><!></span> <!> <!></span>'),Ae=P('<!> <span class="sr-only"> </span>',1),Ce=P('<span class="inline-flex shrink-0 items-center justify-center rounded-full border border-background bg-muted px-1 font-medium leading-none text-muted-foreground"> </span>'),Le=P('<span role="group" data-presence-avatar-stack=""><!> <!></span>');function Ve(J,u){if(new.target)return ue({component:Ve,...J});ge(u,!0);const R=(t,a=be)=>{const k=i(()=>Pe(a())),L=i(()=>a().online===!1);var d=Me();let l;var r=V(d);let v;var $=V(r);{let n=i(()=>ze(a()));Se($,{fill:!0,get avatarUrl(){return a().avatarUrl},get label(){return e(n)}})}G(r);var S=j(r,2);{var D=n=>{var s=$e();z(()=>{N(s,1,`absolute -right-0.5 -top-0.5 h-1.5 w-1.5 rounded-full border border-background ${a().online?"bg-success":"bg-muted-foreground"}`),f(s,"data-presence-status",a().online?"online":"offline")}),m(n,s)};I(S,n=>{o()==="stack"&&a().hostRole&&a().online!==void 0&&n(D)})}var Y=j(S,2);{var c=n=>{var s=Ie();let h;var w=V(s);{let x=i(()=>a().identity.provider==="gitlab"?he:xe);_e(w,{get icon(){return e(x)}})}G(s),z(x=>{f(s,"data-presence-identity-provider",a().identity.provider),f(s,"data-presence-identity-host",a().identity.host),h=O(s,"",h,{width:`${e(q)??""}px`,height:`${e(q)??""}px`,"font-size":x})},[()=>`${Math.round(e(q)*.8)}px`]),m(n,s)};I(Y,n=>{o()==="stack"&&a().identity&&n(c)})}G(d),z(n=>{N(d,1,`relative inline-flex shrink-0 rounded-full border ${o()==="tile"?"border-border":`border-background ${e(k)?ne[e(k)]:""}`}`),f(d,"data-presence-avatar",a().principalId),f(d,"data-presence-ring",o()==="stack"?e(k)??void 0:void 0),f(d,"data-presence-offline",e(L)||void 0),f(d,"data-presence-self",a().self||void 0),l=O(d,"",l,{width:`${g()??""}px`,height:`${g()??""}px`}),N(r,1,`inline-flex h-full w-full items-center justify-center overflow-hidden rounded-full font-medium leading-none ${o()==="tile"?"bg-muted text-muted-foreground":"text-primary-foreground"} ${e(L)||o()==="tile"&&a().viewing===!1?"grayscale":""}`),v=O(r,"",v,{"font-size":e(K),"background-color":n})},[()=>o()==="stack"?we(a().principalId):void 0]),m(t,d)};let p=b(u,"people",7),M=b(u,"maxVisible",7,3),g=b(u,"size",7,16),o=b(u,"variant",7,"stack"),A=b(u,"side",7,"bottom"),B=b(u,"decorative",7,!1),C=b(u,"action",7),F=b(u,"class",7,"");const ae=i(()=>p().slice(0,M())),T=i(()=>Math.max(0,p().length-M())),U=i(()=>p().filter(t=>!t.self&&t.online!==!1).length),W=i(()=>p().filter(t=>!t.self&&t.online===!1).length),re=i(()=>e(U)===1?y.presence_avatarStack_people_one():e(U)>1?y.presence_avatarStack_people_many({count:H(e(U))}):e(W)===0?y.presence_avatarStack_onlyYou_label():e(W)===1?y.presence_avatarStack_offline_one():y.presence_avatarStack_offline_many({count:H(e(W))})),K=i(()=>`${Math.max(8,Math.round(g()*.55))}px`),q=i(()=>Math.max(9,Math.round(g()*.5))),ne={owner:"ring-2 ring-info",member:"ring-2 ring-success",guest:"ring-2 ring-warning-ink",offline:"ring-2 ring-muted-foreground/40"};var se={get people(){return p()},set people(t){p(t),_()},get maxVisible(){return M()},set maxVisible(t=3){M(t),_()},get size(){return g()},set size(t=16){g(t),_()},get variant(){return o()},set variant(t="stack"){o(t),_()},get side(){return A()},set side(t="bottom"){A(t),_()},get decorative(){return B()},set decorative(t=!1){B(t),_()},get action(){return C()},set action(t){C(t),_()},get class(){return F()},set class(t=""){F(t),_()},$set:fe,$on:(t,a)=>pe(u,t,a)},Q=X(),ie=E(Q);{var le=t=>{var a=Le(),k=V(a);me(k,17,()=>e(ae),l=>l.principalId,(l,r)=>{var v=X(),$=E(v);{var S=c=>{const n=i(()=>{const{label:s,onSelect:h}=C()(e(r));return{personLabel:s,onSelect:h}});{let s=i(()=>e(n).onSelect?void 0:!0),h=i(()=>e(n).onSelect??void 0);ye(c,{variant:"plain",wrapContent:!1,class:"h-auto rounded-full p-0 aria-disabled:opacity-100",get tooltip(){return e(n).personLabel},get tooltipSide(){return A()},get"aria-label"(){return e(n).personLabel},get"aria-disabled"(){return e(s)},get onclick(){return e(h)},get"data-presence-person-button"(){return e(r).principalId},children:(w,x)=>{R(w,()=>e(r))},$$slots:{default:!0}})}},D=c=>{R(c,()=>e(r))},Y=c=>{{let n=i(()=>te(e(r)));ke(c,{get content(){return e(n)},get side(){return A()},children:(s,h)=>{var w=Ae(),x=E(w);R(x,()=>e(r));var oe=j(x,2),de=Z(oe,!0);z(ce=>ee(de,ce),[()=>te(e(r))]),m(s,w)},$$slots:{default:!0}})}};I($,c=>{C()?c(S):B()?c(D,1):c(Y,-1)})}m(l,v)});var L=j(k,2);{var d=l=>{var r=Ce();let v;var $=Z(r,!0);z(S=>{f(r,"data-presence-overflow",e(T)),v=O(r,"",v,{"min-width":`${g()??""}px`,height:`${g()??""}px`,"font-size":e(K)}),ee($,S)},[()=>y.presence_avatarStack_more_label({count:H(e(T))})]),m(l,r)};I(L,l=>{e(T)>0&&l(d)})}G(a),z(l=>{N(a,1,`inline-flex items-center ${o()==="tile"?"flex-wrap gap-1.25":"-space-x-1"} ${F()??""}`),f(a,"aria-label",l),f(a,"data-presence-count",p().length)},[()=>o()==="tile"?y.workspace_peopleTile_title():e(re)]),m(t,a)};I(ie,t=>{p().length>0&&t(le)})}return m(J,Q),ve(se)}export{Ve as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./
|
|
1
|
+
import{a as o}from"./DU5u4CoB.js";import{g as r}from"./BHwB2t2J.js";var l=1;function n(){if(!(typeof globalThis>"u"))return globalThis}r(n,"getCaptureGlobal");o(n,"getCaptureGlobal");function p(){return!!n()?.mermaidCaptureSizes}r(p,"shouldCaptureSizes");o(p,"shouldCaptureSizes");function u(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}r(u,"capturedFromLocation");o(u,"capturedFromLocation");function d(i,a){const t=n();if(!t)return;const e=a.node(),m=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];const s={svgId:m,sizes:i};t.mermaidCapturedSizes.push(s),t.mermaidLastCapturedSizes=s}r(d,"emitCapturedSizes");o(d,"emitCapturedSizes");function c(i,a){const t=[];for(const e of a.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&d({metadata:{captureVersion:l,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:t},i)}r(c,"captureNodeSizes");o(c,"captureNodeSizes");export{c as captureNodeSizes,p as shouldCaptureSizes};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{k as Na,s as ia}from"./
|
|
1
|
+
import{k as Na,s as ia}from"./Cv6pFp-w.js";import{j as la,h as an,s as G,k as de,l as rn,I as Da,c as Ma,a as On}from"./Crs9I2MT.js";import{Z as za,cz as Fa,z as Ha,aR as bn,bH as ja,u as Ba}from"./D6eVIgjz.js";import{G2 as M,l8 as Ua,c6 as Dn,c4 as da,c7 as hn,pB as qa,AP as Wa,fr as ca,AT as Ka,bn as Ga,xd as Qa,lp as Yn,s3 as Ya,ca as Va,sA as Vn,mh as Xa,AA as Za,AS as Ja,bU as er}from"./BjFoJgFv.js";import{bo as u,t as xt,bq as v,by as At,b as $t,bs as zn,a_ as E,bu as ge,bt as tr}from"./COCO5InB.js";import{bs as St,a5 as D,bl as be,bS as T,aD as e,W as g,bA as O,b_ as S,bO as U,be as Mt,b$ as wt,bn as It,c9 as i,aA as h,aB as b,ca as Ce,cd as kt,a7 as He,ay as K,bV as V,br as ua,bH as f,bo as nr,c5 as ar,bi as Ln,bj as rr,bf as mn,am as Xn,ax as Zn,ai as sr,aj as or,c0 as ir}from"./B8o4lNgr.js";import{s as ga}from"./Dck4Okga.js";import{f as lr}from"./-fWJi05-.js";import{a as dr,H as pa,t as Gt}from"./Bqoyy9yx.js";import{r as cr,o as ur,A as Jn,L as gr}from"./C5E1PJb6.js";import{S as vn,t as En}from"./1jz3AJ7K.js";import{R as ea}from"./CJvhopKt.js";import{I as fa}from"./CjVTzfqV.js";import"./BqRJyrRC.js";import{aA as _n,cv as pr,ak as fr,ay as mr,cp as vr,cq as hr,ag as _r,ai as br,ap as wr,au as kr,k as yr,F as xr,dK as Ar,L as $r,cg as Sr,bP as Ir}from"./DUT4V6mb.js";import{z as Cr,A as Pr,ak as Tr,af as Rr,L as Or}from"./BCYRUItZ.js";import{k as Lr}from"./Ch5dX3SV.js";import{f as ta}from"./BKAT2tIv.js";import{h as Er,g as Nr}from"./ClYVhnOY.js";import"./BUVaYTVI.js";import{ap as Dr,f as Nn,a5 as Mr,bb as na}from"./C5Xi5eLp.js";import"./B7mAnbbv.js";import{c as zr,r as Fr,q as Hr,p as jr,E as Br}from"./bjkNeafo.js";import{n as Ur,D as qr,k as Wr,c as Kr,d as Gr,b as Qr,A as Yr,p as Vr,P as Xr}from"./172GvQgx.js";import{F as Zr,e as Jr,b7 as es,d as ts,bj as ns}from"./9JjZRepm.js";import{c as ze}from"./oALOmsvi.js";import{T as as}from"./_cwefpRI.js";import{cc as ma,cD as rs,cC as ss,bK as os,x as is,F as wn,b0 as ls,ar as ds,aG as cs,aC as us,cH as gs,b9 as ps,ax as fs,X as ms,aY as vs,ae as aa,a6 as hs,bZ as _s,ad as bs,cu as ws,ak as ks,cG as ys,aA as xs}from"./BDq7EC2K.js";import{b as As}from"./D2g8BuR1.js";import"./hMX_6Iel.js";import{f as $s}from"./C8sY1PbT.js";const Ss=80,Is=10,Cs=new za(Fa,{renderer:{html({text:a}){return Ha(a)},image({tokens:a}){return this.parser.parseInline(a)}}});function Fn(a){const n=document.createElement("template");n.innerHTML=Cs.parseInline(a,{async:!1});for(const o of n.content.querySelectorAll("br"))o.replaceWith(" ");return(n.content.textContent??"").replace(/\s+/g," ").trim()}function yt(a){return a.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/`+([^`]*?)`+/g,"$1").replace(/<[^>]+>/g,"").replace(/\\([\\`*_[\]{}()#+\-.!>])/g,"$1").replace(/[*~]/g,"").replace(/(^|[^A-Za-z0-9])_+/g,"$1").replace(/_+([^A-Za-z0-9]|$)/g,"$1").replace(/\s+/g," ").trim()}function Mn(a,n){return a.slice(n).replace(/^(?:[ \t]*(?:\r\n|\n|\r))+/,"")}function kn(a,n){return!n||n.length>Ss||n.split(/\s+/).length>Is||/[.!?;]$/.test(n)?!1:!/^[ \t]*(?:[-+*][ \t]+|\d+[.)][ \t]+|>|```|~~~|\|)/.test(a)}function ci(a){const o=a.trim().match(/^\*\*([^\r\n]+)\*\*$/);if(!o)return null;const l=yt(o[1]);return kn(o[0],l)?l:null}function Hn(a,n=!1,o=!0){const l=a.match(/^(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",s=a.slice(l.length).match(/^\*\*([^\r\n]+)\*\*[ \t]*(?:(?:\r\n|\n|\r)|$)/);if(!s)return null;if(n){const w=s[1],y=w.match(/\\+$/)?.[0].length??0;if(w!==w.trim()||w.includes("**")||w.startsWith("*")||w.endsWith("*")||y%2!==0)return null}const c=yt(s[1]);return kn(s[0],c)?{title:n&&o?Fn(s[1]):c,body:Mn(a,l.length+s[0].length)}:null}function ra(a){const n=[];let o=a;for(;o.trim();){const l=jn(o,!0),d=l.heading?{body:l.body}:Hn(o,!0,!1);if(!d)return null;n.push(o.slice(0,o.length-d.body.length)),o=d.body}return n.length?n:null}function ui(a){const n=[];let o=a;for(;o.trim();){const l=jn(o,!0,Fn),d=l.heading?{title:l.heading,body:l.body}:Hn(o,!0);if(!d)return null;n.push(d.title),o=d.body}return n.length?n:null}function gi(a){const n=Ts(a),o=[];let l=a;for(n.heading&&(o.push({title:n.heading,body:""}),l=n.body);l;){const d=Hn(l);if(!d||d.body.length>=l.length)break;o.push({title:d.title,body:""}),l=d.body}if(o.length===0){const d=a.trim(),s=yt(d);return!d.includes(`
|
|
2
2
|
`)&&kn(d,s)?[{title:s,body:""}]:d?[{title:null,body:d}]:[]}return o[o.length-1].body=l.trim(),o}function Ps(a){const n=a.replace(/^ {0,3}/,"");return!/^(?:\s|>|`{3}|~{3}|(?:[-+*]|\d+[.)])(?:[ \t]|$)|#{1,6}(?:[ \t]|$)|<|\[[^\]]*\]:)/.test(n)&&!/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})$/.test(n)}function jn(a,n=!1,o=yt){const l=a.match(/^(?:\uFEFF)?(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",d=a.slice(l.length);if(n&&/^(?: {4}| {0,3}\t)/.test(d))return{heading:null,body:a};const s=d.match(/^[ \t]{0,3}#{1,6}[ \t]+([^\r\n]*?)(?:[ \t]+#+)?[ \t]*(?:\r\n|\n|\r|$)/);if(s&&yt(s[1]))return{heading:o(s[1]),body:Mn(a,l.length+s[0].length)};const c=d.match(/^([^\r\n]+)(?:\r\n|\n|\r)([ \t]{0,3})(?:=+|-+)[ \t]*(?:\r\n|\n|\r|$)/);return c&&(!n||Ps(c[1])&&!c[2].includes(" "))&&yt(c[1])?{heading:o(c[1]),body:Mn(a,l.length+c[0].length)}:{heading:null,body:a}}function Ts(a,{preserveInlineText:n=!1}={}){const o=n?Fn:yt,l=jn(a,!1,o);if(l.heading)return l;const d=a.match(/^(?:\uFEFF)?(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",c=a.slice(d.length).match(/^([^\r\n]+)(?:\r\n|\n|\r)(?:[ \t]*(?:\r\n|\n|\r))+/);if(c){const w=yt(c[1]),y=a.slice(d.length+c[0].length);if(y.trim()&&kn(c[1],w))return{heading:o(c[1]),body:y}}return{heading:null,body:a}}const zt="[--operational-row-inline-padding:var(--chat-operational-row-inline-padding,0.5rem)] [--operational-leading-slot-size:1.25rem] [--operational-leading-half-slot-size:0.625rem] [--operational-leading-gap:var(--chat-operational-leading-gap,0.5rem)]",pi="type-body font-family-child font-normal text-muted-foreground",fi=`${zt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))]`,mi=`${zt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))] pt-1.5`,vi=`${zt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))] pt-1`,hi=`${zt} relative min-w-0 max-w-full`,_i=`${zt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))]`,bi=`${zt} operational-group-child-row ml-2 min-w-0 w-[calc(100%-0.5rem)] max-w-[calc(100%-0.5rem)]`,wi="pt-6",ki="text-muted-foreground",yi="text-muted-foreground",va="font-normal text-muted-foreground",xi="tool-call-container group relative block w-full min-w-0 max-w-full overflow-hidden type-body font-family-child font-normal text-muted-foreground",Ai="h-[16px]! w-[16px]! shrink-0",$i=`${zt} relative grid h-7 w-full min-w-0 max-w-full grid-cols-[var(--operational-leading-slot-size)_minmax(0,1fr)_auto] items-center gap-[var(--operational-leading-gap)] overflow-hidden rounded-md px-[var(--operational-row-inline-padding)] type-body transition-colors duration-[var(--motion-fast)] motion-reduce:transition-none`,Si=`a11y-ignore pointer-events-none flex size-[var(--operational-leading-slot-size)] min-w-[var(--operational-leading-slot-size)] shrink-0 items-center justify-center [&_svg]:size-[16px]! ${va}`,Ii=`type-body block min-w-0 max-w-full truncate overflow-hidden text-ellipsis whitespace-nowrap border-0 bg-transparent p-0 text-left ${va}`,Ci="type-body flex min-w-0 shrink-0 items-center gap-1 whitespace-nowrap",Pi="h-[16px]! w-[16px]! shrink-0 opacity-60 transition-transform duration-[var(--motion-fast)] motion-reduce:transition-none";function Ti(a){return Na(a,{axis:"y",duration:la()?0:150})}function sn(a){return a.type==="thinking"||a.type==="tool_use"||a.type==="content_group"}function Ri(a){const n=a?.[0];return!n||sn(n)?"":"pt-4"}function Oi(a,n,o=()=>!0){const l=a[n];if(!l||!o(l)||!sn(l))return!1;let d=n-1;for(;d>=0&&!o(a[d]);)d-=1;return d>=0&&sn(a[d])}function Li(a,n,o=()=>!0,l=!1){const d=a[n];if(!d||!o(d))return"";let s=n-1;for(;s>=0&&!o(a[s]);)s-=1;if(s<0)return"";const c=a[s];if(c.type==="thinking"&&d.type==="thinking")return l||ra(c.text??c.content??"")!==null&&ra(d.text??d.content??"")!==null?"":"pt-14";const w=sn(c),y=sn(d);return w&&y?"":c.type==="thinking"&&!y?"pt-6":w||y?"pt-4":"pt-1"}const Ei="shrink-0 whitespace-nowrap text-ui text-subtle focus-visible:outline-none focus-visible:text-foreground",Bn=M.createSelector((a,n)=>a.skills.byWorkspaceId[n]??Ua),Ni=M.createSelector((a,n)=>Bn.select(a,n).skills),Di=M.createSelector((a,n)=>Bn.select(a,n).loading),Mi=M.createSelector((a,n)=>Bn.select(a,n).error);function Rs(a){if(a?.status==="halted")return u.agent_node_halted_label();if(a?.status==="resuming")return u.agent_node_resuming_label();if(a?.placement?.target==="remote"){if(a.placementError)return u.remoteAgent_status_failed();if(a.effectiveIsolation==="pending")return u.remoteAgent_status_starting()}if(a?.placement&&a.effectiveIsolation==="pending")return u.agent_node_provisioning_label()}const sa=Zr.map(a=>({key:a.path.replace(/^agentFeatures\./,""),label:a.label,description:a.description}));function Os(a){const n=a.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").toLowerCase().trim();return n.charAt(0).toUpperCase()+n.slice(1)}function Ls(a){const n=a??{},o=sa.map(s=>({key:s.key,label:s.label(),description:s.description(),enabled:n[s.key]===!0,known:!0})),l=new Set(sa.map(s=>s.key)),d=[];for(const[s,c]of Object.entries(n))l.has(s)||d.push({key:s,label:Os(s),description:null,enabled:c===!0,known:!1});return d.sort((s,c)=>s.label.localeCompare(c.label)),o.concat(d)}var Es=b('<div role="listitem" class="text-xs text-subtle" aria-hidden="true">—</div>'),Ns=b('<section class="min-w-0"><h3 class="text-sm font-medium mb-3"> </h3> <div role="list" class="space-y-4"></div></section>'),Ds=b('<div class="@container"><div class="grid grid-cols-1 gap-6 @min-[28rem]:grid-cols-2" data-testid="harness-features-list"></div></div>');function ha(a,n){if(new.target)return xt({component:ha,...a});St(n,!0);let o=v(n,"open",15,!1),l=v(n,"static",7,!1),d=v(n,"version",7),s=v(n,"features",7,null);const c=i(()=>Ls(s())),w=i(()=>[{enabled:!0,label:u.chat_shared_valueOn_label(),rows:e(c).filter(x=>x.enabled)},{enabled:!1,label:u.chat_shared_valueOff_label(),rows:e(c).filter(x=>!x.enabled)}]);var y={get open(){return o()},set open(x=!1){o(x),h()},get static(){return l()},set static(x=!1){l(x),h()},get version(){return d()},set version(x){d(x),h()},get features(){return s()},set features(x=null){s(x),h()},$set:At,$on:(x,A)=>$t(n,x,A)};{let x=i(()=>u.chat_harnessFeaturesModal_title({version:d()})),A=i(()=>u.chat_harnessFeaturesModal_description());zr(a,{get static(){return l()},get title(){return e(x)},get description(){return e(A)},size:"wide",get open(){return o()},set open(m){o(m)},children:(m,j)=>{var I=Ds(),pe=D(I);an(pe,21,()=>e(w),Pe=>Pe.enabled,(Pe,L)=>{var Q=Ns(),p=D(Q),Te=be(p,!0),te=T(p,2);an(te,21,()=>e(L).rows,$=>$.key,($,Z)=>{Ur($,{role:"listitem",class:"min-h-0 px-0 py-0 [&_.truncate]:whitespace-normal","data-testid":"harness-feature-state",get"data-feature"(){return e(Z).key},get"data-enabled"(){return e(Z).enabled},title:ve=>{Mt();var ae=wt();S(()=>U(ae,e(Z).label)),g(ve,ae)},description:ve=>{Mt();var ae=wt();S(()=>U(ae,e(Z).description)),g(ve,ae)},$$slots:{title:!0,description:!0}})},$=>{var Z=Es();g($,Z)}),O(te),O(Q),S(()=>{G(Q,"aria-label",e(L).label),U(Te,e(L).label)}),g(Pe,Q)}),O(pe),O(I),g(m,I)},$$slots:{default:!0}})}return It(y)}var Ms=b('<p role="alert" class="type-body text-danger"> </p>');function _a(a,n){if(new.target)return xt({component:_a,...a});St(n,!0);const o=()=>ge(m,"$outcome$",l),[l,d]=zn();let s=v(n,"open",15,!1),c=v(n,"agentName",7),w=v(n,"workspaceId",7),y=v(n,"agentId",7);const x=crypto.randomUUID(),A=kt(""),m=bn(A,x),j=i(()=>o()?.workspaceId===w()&&o().agentId===y()?o():void 0),I=i(()=>e(j)?.status==="pending"),pe=i(()=>e(j)?.status==="failed"?e(j).error:"");Ce(()=>{const p=w();return y(),A.set(p),()=>M.dispatch(Dn(p,x))}),Ce(()=>{e(j)?.status==="succeeded"&&(s(!1),M.dispatch(da(w(),x,e(j).requestId)))});function Pe(){const p=bn.select(M.state,w(),x);p?.agentId===y()&&p.status==="pending"||M.dispatch(hn(w(),x,crypto.randomUUID(),y(),{kind:"retire"}))}var L={get open(){return s()},set open(p=!1){s(p),h()},get agentName(){return c()},set agentName(p){c(p),h()},get workspaceId(){return w()},set workspaceId(p){w(p),h()},get agentId(){return y()},set agentId(p){y(p),h()},$set:At,$on:(p,Te)=>$t(n,p,Te)};{const p=ne=>{var we=He(),ve=K(we);{var ae=ke=>{var qe=Ms(),We=be(qe,!0);S(()=>U(We,e(pe))),g(ke,qe)};E(ve,ke=>{e(pe)&&ke(ae)})}g(ne,we)};let Te=i(()=>u.modals_retireAgent_title()),te=i(()=>u.modals_retireAgent_description({name:c()})),$=i(()=>u.modals_retireAgent_confirm_label()),Z=i(()=>u.modals_bulkActionConfirm_cancel_label());qr(a,{get title(){return e(Te)},get description(){return e(te)},get confirmLabel(){return e($)},get cancelLabel(){return e(Z)},focusSubmit:!1,focusCancel:!0,get busy(){return e(I)},onConfirm:Pe,get open(){return s()},set open(ne){s(ne)},details:p,$$slots:{details:!0}})}var Q=It(L);return d(),Q}function zs({agentName:a,specialist:n}){const o=n?`{ topLevel: true, specialist: ${JSON.stringify(n)} }`:"{ topLevel: true }",l=n?`and keep the same specialist (${JSON.stringify(n)})`:"and, if you were created with a specialist, pass that exact same `specialist` value in the options";return`Please replace yourself with a fresh top-level agent and run a gradual, coordinated hand-off:
|
|
3
3
|
|
|
4
4
|
1. Create your replacement now: call \`ws.agent.create(${JSON.stringify(a)}, kickoffMessage, ${o})\`. The first argument must be your EXACT current name (${JSON.stringify(a)}) ${l}. Write the kickoff message as a thorough context hand-off: the overall goal, the current state of the work, key notes and files, decisions already made, and open threads.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Ut}from"./B0cCp_Aa.js";import{s as Kt}from"./DnOJJY51.js";import{f,c7 as Zt,aL as jt,c6 as qt,aK as Wt,c9 as Ht,aP as Qt,aO as tt,bC as F,a4 as Xt,a0 as Jt,aQ as $t,c0 as te,e as ee,aS as se,bZ as ie,c3 as re,cx as ae}from"./C9AXCraB.js";import{c as ne}from"./Dtgjfsuk.js";var Ot=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],h=[1,10],y=[1,11],b=[1,12],k=[1,30],R=[1,23],p=[1,24],g=[1,25],C=[1,26],v=[1,27],O=[1,19],x=[1,28],A=[1,29],N=[1,20],D=[1,18],L=[1,21],w=[1,22],xt=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],pt=[1,36],ft=[1,37],bt=[1,38],gt=[1,39],yt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],q=[43,51,53,54,55,74,75],W=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],Ct=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],_t=[18,61,64,66],kt={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,34:k,37:R,38:p,39:g,40:C,41:v,43:O,46:x,47:A,51:N,53:D,54:L,55:w},s(a,xt,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:pt,70:ft,71:bt,72:gt,73:yt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:N,53:D,54:L,55:w},{10:51,43:O,51:N,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:N,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(q,[2,77]),s(q,[2,78]),s(q,[2,79]),s(q,[2,80]),s(q,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:R,38:p,39:g,40:C,41:v,43:O,46:x,47:A,51:N,53:D,54:L,55:w},{12:W,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:W,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:B,69:pt,70:ft,71:bt,72:gt,73:yt}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:pt,70:ft,71:bt,72:gt,73:yt},s(Nt,[2,82]),s(Nt,[2,83]),s(u,[2,31]),s(u,xt),{6:st,9:it,35:90,45:Ct,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:W,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(u,[2,45],{45:B}),{6:st,9:it,35:95,45:Ct,50:rt},s(u,[2,32]),{10:97,36:96,43:O,51:N,53:D,54:L,55:w},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:N,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(u,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:W,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:O,51:N,53:D,54:L,55:w},s(vt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(_t,[2,72]),s(J,[2,75]),s(_t,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:W,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(u,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:B}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:B},s(u,[2,9]),s(_t,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var mt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,mt)&&(Y.yy[mt]=this.yy[mt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Et=m.yylloc;t.push(Et);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,St,U={},ht,I,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var Tt="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?Tt="Parse error on line "+(lt+1)+`:
|
|
1
|
+
import{g as Ut}from"./B8N5zbP-.js";import{s as Kt}from"./CzK2fiHA.js";import{f,c7 as Zt,aL as jt,c6 as qt,aK as Wt,c9 as Ht,aP as Qt,aO as tt,bC as F,a4 as Xt,a0 as Jt,aQ as $t,c0 as te,e as ee,aS as se,bZ as ie,c3 as re,cx as ae}from"./BHwB2t2J.js";import{c as ne}from"./BZXl3la6.js";var Ot=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],h=[1,10],y=[1,11],b=[1,12],k=[1,30],R=[1,23],p=[1,24],g=[1,25],C=[1,26],v=[1,27],O=[1,19],x=[1,28],A=[1,29],N=[1,20],D=[1,18],L=[1,21],w=[1,22],xt=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],pt=[1,36],ft=[1,37],bt=[1,38],gt=[1,39],yt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],q=[43,51,53,54,55,74,75],W=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],Ct=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],_t=[18,61,64,66],kt={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,34:k,37:R,38:p,39:g,40:C,41:v,43:O,46:x,47:A,51:N,53:D,54:L,55:w},s(a,xt,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:pt,70:ft,71:bt,72:gt,73:yt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:N,53:D,54:L,55:w},{10:51,43:O,51:N,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:N,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(q,[2,77]),s(q,[2,78]),s(q,[2,79]),s(q,[2,80]),s(q,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:R,38:p,39:g,40:C,41:v,43:O,46:x,47:A,51:N,53:D,54:L,55:w},{12:W,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:W,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:B,69:pt,70:ft,71:bt,72:gt,73:yt}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:pt,70:ft,71:bt,72:gt,73:yt},s(Nt,[2,82]),s(Nt,[2,83]),s(u,[2,31]),s(u,xt),{6:st,9:it,35:90,45:Ct,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:W,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(u,[2,45],{45:B}),{6:st,9:it,35:95,45:Ct,50:rt},s(u,[2,32]),{10:97,36:96,43:O,51:N,53:D,54:L,55:w},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:N,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(u,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:W,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:O,51:N,53:D,54:L,55:w},s(vt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(_t,[2,72]),s(J,[2,75]),s(_t,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:W,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(u,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:B}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:B},s(u,[2,9]),s(_t,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var mt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,mt)&&(Y.yy[mt]=this.yy[mt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Et=m.yylloc;t.push(Et);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,St,U={},ht,I,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var Tt="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?Tt="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[E]||E)+"'":Tt="Parse error on line "+(lt+1)+": Unexpected "+(E==Lt?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(Tt,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:Et,expected:ut})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(T[0]){case 1:d.push(E),_.push(m.yytext),t.push(m.yylloc),d.push(T[1]),E=null,Dt=m.yyleng,e=m.yytext,lt=m.yylineno,Et=m.yylloc;break;case 2:if(I=this.productions_[T[1]][1],U.$=_[_.length-I],U._$={first_line:t[t.length-(I||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(I||1)].first_column,last_column:t[t.length-1].last_column},Pt&&(U._$.range=[t[t.length-(I||1)].range[0],t[t.length-1].range[1]]),St=this.performAction.apply(U,[e,Dt,lt,Y.yy,T[1],_,t].concat(Yt)),typeof St<"u")return St;I&&(d=d.slice(0,-1*I*2),_=_.slice(0,-1*I),t=t.slice(0,-1*I)),d.push(this.productions_[T[1]][0]),_.push(U.$),t.push(U._$),Vt=$[d[d.length-2]][d[d.length-1]],d.push(Vt);break;case 3:return!0}}return!0},"parse")},Gt=(function(){var G={EOF:1,parseError:f(function(l,d){if(this.yy.parser)this.yy.parser.parseError(l,d);else throw new Error(l)},"parseError"),setInput:f(function(n,l){return this.yy=l||this.yy||{},this._input=n,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 n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var l=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=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),d.length-1&&(this.yylineno-=d.length-1);var _=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:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),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(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),l=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as he}from"./C8rZ--zU.js";import{p as $e}from"./B0SI3LHQ.js";import{p as fe}from"./eL1b8zaP.js";import{O as ge,aI as ue,aF as ye,K as xe,L as me,aG as pe,a as h,M as Z,ad as w,N as W,aV as be,aL as we,k as ke,p as B,j as ve,y as Ce,at as Ee}from"./Dr_LoEnL.js";import{c3 as Be,g as K}from"./C9AXCraB.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Te=Ce.gitGraph,S=h(()=>ve({...Te,...Z().gitGraph}),"getConfig"),d=new he(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function N(){return Ee({length:7})}K(N,"getID");h(N,"getID");function ee(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}K(ee,"uniqBy");h(ee,"uniqBy");var Le=h(function(e){d.records.direction=e},"setDirection"),Me=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Ie=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+N(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Oe=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ne(r),w.debug("in createBranch")},"branch"),_e=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${N()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),Ge=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+N(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ne=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function z(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}K(z,"upsert");h(z,"upsert");function U(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);z(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);z(e,r,o)}}e=ee(e,o=>o.id),U(e)}K(U,"prettyPrintCommitHistory");h(U,"prettyPrintCommitHistory");var He=h(function(){w.debug(d.records.commits);const e=se()[0];U([e])},"prettyPrint"),Se=h(function(){d.reset(),ke()},"clear"),Ae=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),De=h(function(){return d.records.branches},"getBranches"),Pe=h(function(){return d.records.commits},"getCommits"),se=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),qe=h(function(){return d.records.currBranch},"getCurrentBranch"),We=h(function(){return d.records.direction},"getDirection"),Ne=h(function(){return d.records.head},"getHead"),oe={commitType:m,getConfig:S,setDirection:Le,setOptions:Me,getOptions:Ie,commit:Re,branch:Oe,merge:_e,cherryPick:Ge,checkout:ne,prettyPrint:He,clear:Se,getBranchesAsObjArray:Ae,getBranches:De,getCommits:Pe,getCommitsArray:se,getCurrentBranch:qe,getDirection:We,getHead:Ne,setAccTitle:pe,getAccTitle:me,getAccDescription:xe,setAccDescription:ye,setDiagramTitle:ue,getDiagramTitle:ge},Fe=h((e,r)=>{$e(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)ze(t,r)},"populate"),ze=h((e,r)=>{const s={Commit:h(o=>r.commit(Ye(o)),"Commit"),Branch:h(o=>r.branch(je(o)),"Branch"),Merge:h(o=>r.merge(Ke(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ve(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ye=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),je=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ke=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ve=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Xe={parse:h(async e=>{const r=await fe("gitGraph",e);w.debug(r),Fe(r,oe)},"parse")},O=10,_=40,L=4,I=2,G=8,V=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),Q=12,re=new Set(["redux-color","redux-dark-color"]),Je=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,Y=30,P=new Map,j=[],R=0,y="LR",Qe=h(()=>{C.clear(),E.clear(),P.clear(),R=0,j=[],y="LR"},"clear"),ce=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ie=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Ze=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),er=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=tr(a),o=Math.max(s,o)):i.push(a),ar(a,s)}),s=o,i.forEach(n=>{nr(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Ze(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),rr=h(e=>{const r=ie(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),tr=h(e=>rr(e)+_,"calculateCommitPosition"),ar=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),nr=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),sr=h((e,r,t,s,o,i)=>{const{theme:n}=W(),a=V.has(n??""),l=re.has(n??""),f=Je.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),or=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-I).attr("y",t.y+13.5).attr("width",l.width+2*I).attr("height",l.height+2*I),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),cr=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
1
|
+
import{I as he}from"./DKnyYiOE.js";import{p as $e}from"./CqwbuddS.js";import{p as fe}from"./HjNzRj_q.js";import{O as ge,aI as ue,aF as ye,K as xe,L as me,aG as pe,a as h,M as Z,ad as w,N as W,aV as be,aL as we,k as ke,p as B,j as ve,y as Ce,at as Ee}from"./DU5u4CoB.js";import{c3 as Be,g as K}from"./BHwB2t2J.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Te=Ce.gitGraph,S=h(()=>ve({...Te,...Z().gitGraph}),"getConfig"),d=new he(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function N(){return Ee({length:7})}K(N,"getID");h(N,"getID");function ee(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}K(ee,"uniqBy");h(ee,"uniqBy");var Le=h(function(e){d.records.direction=e},"setDirection"),Me=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Ie=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+N(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Oe=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ne(r),w.debug("in createBranch")},"branch"),_e=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${N()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),Ge=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+N(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ne=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function z(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}K(z,"upsert");h(z,"upsert");function U(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);z(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);z(e,r,o)}}e=ee(e,o=>o.id),U(e)}K(U,"prettyPrintCommitHistory");h(U,"prettyPrintCommitHistory");var He=h(function(){w.debug(d.records.commits);const e=se()[0];U([e])},"prettyPrint"),Se=h(function(){d.reset(),ke()},"clear"),Ae=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),De=h(function(){return d.records.branches},"getBranches"),Pe=h(function(){return d.records.commits},"getCommits"),se=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),qe=h(function(){return d.records.currBranch},"getCurrentBranch"),We=h(function(){return d.records.direction},"getDirection"),Ne=h(function(){return d.records.head},"getHead"),oe={commitType:m,getConfig:S,setDirection:Le,setOptions:Me,getOptions:Ie,commit:Re,branch:Oe,merge:_e,cherryPick:Ge,checkout:ne,prettyPrint:He,clear:Se,getBranchesAsObjArray:Ae,getBranches:De,getCommits:Pe,getCommitsArray:se,getCurrentBranch:qe,getDirection:We,getHead:Ne,setAccTitle:pe,getAccTitle:me,getAccDescription:xe,setAccDescription:ye,setDiagramTitle:ue,getDiagramTitle:ge},Fe=h((e,r)=>{$e(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)ze(t,r)},"populate"),ze=h((e,r)=>{const s={Commit:h(o=>r.commit(Ye(o)),"Commit"),Branch:h(o=>r.branch(je(o)),"Branch"),Merge:h(o=>r.merge(Ke(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ve(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ye=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),je=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ke=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ve=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Xe={parse:h(async e=>{const r=await fe("gitGraph",e);w.debug(r),Fe(r,oe)},"parse")},O=10,_=40,L=4,I=2,G=8,V=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),Q=12,re=new Set(["redux-color","redux-dark-color"]),Je=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,Y=30,P=new Map,j=[],R=0,y="LR",Qe=h(()=>{C.clear(),E.clear(),P.clear(),R=0,j=[],y="LR"},"clear"),ce=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ie=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Ze=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),er=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=tr(a),o=Math.max(s,o)):i.push(a),ar(a,s)}),s=o,i.forEach(n=>{nr(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Ze(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),rr=h(e=>{const r=ie(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),tr=h(e=>rr(e)+_,"calculateCommitPosition"),ar=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),nr=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),sr=h((e,r,t,s,o,i)=>{const{theme:n}=W(),a=V.has(n??""),l=re.has(n??""),f=Je.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),or=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-I).attr("y",t.y+13.5).attr("width",l.width+2*I).attr("height",l.height+2*I),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),cr=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
2
2
|
${s-i/2-L/2},${x+I}
|
|
3
3
|
${s-i/2-L/2},${x-I}
|
|
4
4
|
${t.posWithOffset-i/2-L},${x-c-I}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as o,r as l,d as t}from"./
|
|
1
|
+
import{g as o,r as l,d as t}from"./BIGmpOjZ.js";import{p as m}from"./BR5lR6Td.js";import{f as n,bC as s}from"./BHwB2t2J.js";import{M as p,d as u}from"./BEmWnLiC.js";var d=u().Railroad.parser.LangiumParser,a=n(e=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{const r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{const r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),c=n(e=>({name:e.name,definition:a(e.definition)}),"transformRule"),f=n(e=>{m(e,t),e.title&&t.setTitle(e.title),e.rules.map(r=>t.addRule(c(r)))},"populateDb"),g={parse:n(e=>{t.clear(),s.debug("[Railroad Parser] Starting Langium parse");const r=d.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new p(r);const i=r.value;s.debug("[Railroad Parser] Parsed rules:",i.rules.length),f(i),s.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:t}},h={parser:g,db:t,renderer:l,styles:o};export{h as diagram};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as k,W as Qt,aH as zt,ad as ee,N as me,R as Jt,ax as Zt,aV as nt,aG as $t,aF as e1,aI as t1,L as s1,K as i1,O as r1,p as a1,ac as n1,J as u1,a7 as o1,P as rt,as as l1,k as c1,x as h1,aC as d1,i as p1}from"./
|
|
1
|
+
import{a as k,W as Qt,aH as zt,ad as ee,N as me,R as Jt,ax as Zt,aV as nt,aG as $t,aF as e1,aI as t1,L as s1,K as i1,O as r1,p as a1,ac as n1,J as u1,a7 as o1,P as rt,as as l1,k as c1,x as h1,aC as d1,i as p1}from"./DU5u4CoB.js";import{g as f1}from"./2oaDc1nn.js";import{g as g1}from"./C6RQmr0V.js";import{s as b1}from"./Cbe4LDCb.js";import{c as A1}from"./4LCvEsVS.js";import{g as j,c3 as at}from"./BHwB2t2J.js";var k1="flowchart-",Te,m1=(Te=class{constructor(){this.vertexCounter=0,this.config=me(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=$t,this.setAccDescription=e1,this.setDiagramTitle=t1,this.getAccTitle=s1,this.getAccDescription=i1,this.getDiagramTitle=r1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return a1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const r of this.vertices.values())if(r.id===i)return this.diagramId?`${this.diagramId}-${r.domId}`:r.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,r,a,n,c,g,l={},m){if(!i||i.trim().length===0)return;let p;if(m!==void 0){let u;m.includes(`
|
|
2
2
|
`)?u=m+`
|
|
3
3
|
`:u=`{
|
|
4
4
|
`+m+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as se}from"./
|
|
1
|
+
import{g as se}from"./C6RQmr0V.js";import{a as p,ad as k,N as F,ax as ie,aV as re,L as ae,aG as ne,K as oe,aF as le,aI as ce,O as he,I as ue,p as z,k as de,as as fe}from"./DU5u4CoB.js";import{s as pe}from"./Cbe4LDCb.js";import{c as Se}from"./4LCvEsVS.js";import{g as m,c3 as vt}from"./BHwB2t2J.js";var xt=(function(){var t=p(function(M,o,h,a){for(h=h||{},a=M.length;a--;h[M[a]]=o);return h},"o"),e=[1,2],s=[1,3],n=[1,4],r=[2,4],c=[1,9],u=[1,11],S=[1,16],d=[1,17],T=[1,18],E=[1,19],b=[1,33],I=[1,20],v=[1,21],f=[1,22],w=[1,23],$=[1,24],A=[1,26],P=[1,27],x=[1,28],B=[1,29],N=[1,30],K=[1,31],ot=[1,32],lt=[1,35],ct=[1,36],ht=[1,37],ut=[1,38],X=[1,34],y=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],dt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Ot=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Tt={trace:p(m(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(m(function(o,h,a,g,_,i,G){var l=i.length-1;switch(_){case 3:return g.setRootDoc(i[l]),i[l];case 4:this.$=[];break;case 5:i[l]!="nl"&&(i[l-1].push(i[l]),this.$=i[l-1]);break;case 6:case 7:this.$=i[l];break;case 8:this.$="nl";break;case 12:this.$=i[l];break;case 13:const st=i[l-1];st.description=g.trimColon(i[l]),this.$=st;break;case 14:this.$={stmt:"relation",state1:i[l-2],state2:i[l]};break;case 15:const Et=g.trimColon(i[l]);this.$={stmt:"relation",state1:i[l-3],state2:i[l-1],description:Et};break;case 19:this.$={stmt:"state",id:i[l-3],type:"default",description:"",doc:i[l-1]};break;case 20:var Y=i[l],J=i[l-2].trim();if(i[l].match(":")){var ft=i[l].split(":");Y=ft[0],J=[J,ft[1]]}this.$={stmt:"state",id:Y,type:"default",description:J};break;case 21:this.$={stmt:"state",id:i[l-3],type:"default",description:i[l-5],doc:i[l-1]};break;case 22:this.$={stmt:"state",id:i[l],type:"fork"};break;case 23:this.$={stmt:"state",id:i[l],type:"join"};break;case 24:this.$={stmt:"state",id:i[l],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[l-1].trim(),note:{position:i[l-2].trim(),text:i[l].trim()}};break;case 29:this.$=i[l].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=i[l].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[l-3],url:i[l-2],tooltip:i[l-1]};break;case 33:this.$={stmt:"click",id:i[l-3],url:i[l-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[l-1].trim(),classes:i[l].trim()};break;case 36:this.$={stmt:"style",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 37:this.$={stmt:"applyClass",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[l].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break}},"anonymous"),"anonymous"),table:[{3:1,4:e,5:s,6:n},{1:[3]},{3:5,4:e,5:s,6:n},{3:6,4:e,5:s,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:d,19:T,22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,7]),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(y,[2,11]),t(y,[2,12],{14:[1,40],15:[1,41]}),t(y,[2,16]),{18:[1,42]},t(y,[2,18],{20:[1,43]}),{23:[1,44]},t(y,[2,22]),t(y,[2,23]),t(y,[2,24]),t(y,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(y,[2,28]),{34:[1,49]},{36:[1,50]},t(y,[2,31]),{13:51,24:b,57:X},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(dt,[2,44],{58:[1,56]}),t(dt,[2,45],{58:[1,57]}),t(y,[2,38]),t(y,[2,39]),t(y,[2,40]),t(y,[2,41]),t(y,[2,6]),t(y,[2,13]),{13:58,24:b,57:X},t(y,[2,17]),t(Ot,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(y,[2,29]),t(y,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(y,[2,14],{14:[1,71]}),{4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,21:[1,72],22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),t(dt,[2,46]),t(dt,[2,47]),t(y,[2,15]),t(y,[2,19]),t(Ot,r,{7:78}),t(y,[2,26]),t(y,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,21:[1,81],22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,32]),t(y,[2,33]),t(y,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(m(function(o,h){if(h.recoverable)this.trace(o);else{var a=new Error(o);throw a.hash=h,a}},"parseError"),"parseError"),parse:p(m(function(o){var h=this,a=[0],g=[],_=[null],i=[],G=this.table,l="",Y=0,J=0,ft=2,st=1,Et=i.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(j.yy[_t]=this.yy[_t]);D.setInput(o,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var mt=D.yylloc;i.push(mt);var ee=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Rt(O){a.length=a.length-2*O,_.length=_.length-O,i.length=i.length-O}m(Rt,"popStack"),p(Rt,"popStack");function bt(){var O;return O=g.pop()||D.lex()||st,typeof O!="number"&&(O instanceof Array&&(g=O,O=g.pop()),O=h.symbols_[O]||O),O}m(bt,"lex"),p(bt,"lex");for(var L,H,R,kt,q={},pt,V,$t,St;;){if(H=a[a.length-1],this.defaultActions[H]?R=this.defaultActions[H]:((L===null||typeof L>"u")&&(L=bt()),R=G[H]&&G[H][L]),typeof R>"u"||!R.length||!R[0]){var Dt="";St=[];for(pt in G[H])this.terminals_[pt]&&pt>ft&&St.push("'"+this.terminals_[pt]+"'");D.showPosition?Dt="Parse error on line "+(Y+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+St.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Dt="Parse error on line "+(Y+1)+": Unexpected "+(L==st?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Dt,{text:D.match,token:this.terminals_[L]||L,line:D.yylineno,loc:mt,expected:St})}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+L);switch(R[0]){case 1:a.push(L),_.push(D.yytext),i.push(D.yylloc),a.push(R[1]),L=null,J=D.yyleng,l=D.yytext,Y=D.yylineno,mt=D.yylloc;break;case 2:if(V=this.productions_[R[1]][1],q.$=_[_.length-V],q._$={first_line:i[i.length-(V||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(V||1)].first_column,last_column:i[i.length-1].last_column},ee&&(q._$.range=[i[i.length-(V||1)].range[0],i[i.length-1].range[1]]),kt=this.performAction.apply(q,[l,J,Y,j.yy,R[1],_,i].concat(Et)),typeof kt<"u")return kt;V&&(a=a.slice(0,-1*V*2),_=_.slice(0,-1*V),i=i.slice(0,-1*V)),a.push(this.productions_[R[1]][0]),_.push(q.$),i.push(q._$),$t=G[a[a.length-2]][a[a.length-1]],a.push($t);break;case 3:return!0}}return!0},"parse"),"parse")},te=(function(){var M={EOF:1,parseError:p(m(function(h,a){if(this.yy.parser)this.yy.parser.parseError(h,a);else throw new Error(h)},"parseError"),"parseError"),setInput:p(function(o,h){return this.yy=h||this.yy||{},this._input=o,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:p(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var h=o.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:p(function(o){var h=o.length,a=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var g=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),a.length-1&&(this.yylineno-=a.length-1);var _=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:a?(a.length===g.length?this.yylloc.first_column:0)+g[g.length-a.length].length-a[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:p(function(){return this._more=!0,this},"more"),reject:p(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:p(function(o){this.unput(this.match.slice(o))},"less"),pastInput:p(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:p(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:p(function(){var o=this.pastInput(),h=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|