@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
|
-
import{I as rr}from"./C8rZ--zU.js";import{a as x,aH as ar,N as j,ad as st,r as sr,c as ir,p as N,aG as Ye,aF as nr,aI as or,L as cr,K as lr,O as hr,ac as dr,J as Tr,k as pr,aD as Wt,aV as Q,X as $,e as vt,aB as Er,an as Fe,Z as ur,M as Ht,V as fr,ay as He}from"./Dr_LoEnL.js";import{d as _r,h as ne,g as Tt,e as gr,a as oe,b as ce}from"./ntY1kBD_.js";import{c3 as Kt,g as B,h as xr}from"./C9AXCraB.js";var qe=xr(Er()),ae=(function(){var e=x(function(ft,A,v,P){for(v=v||{},P=ft.length;P--;v[ft[P]]=A);return v},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],n=[1,9],s=[1,11],c=[1,12],p=[1,14],h=[1,15],E=[1,17],_=[1,18],u=[1,19],O=[1,25],T=[1,26],g=[1,27],f=[1,28],I=[1,29],L=[1,30],b=[1,31],w=[1,32],S=[1,33],D=[1,34],M=[1,35],Y=[1,36],K=[1,37],G=[1,38],X=[1,39],J=[1,40],ot=[1,42],tt=[1,43],z=[1,44],it=[1,45],et=[1,46],W=[1,47],C=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],wt=[1,74],Ct=[1,80],m=[1,81],k=[1,82],dt=[1,83],rt=[1,84],F=[1,85],bt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],Ie=[1,94],ye=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[2,78],Nt=[4,5,17,51,53,54],Mt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],De=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Xt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],ve=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],Jt=[5,52],H=[70,71,72,73],ct=[1,151],Zt={trace:x(B(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:x(B(function(A,v,P,y,U,o,kt){var d=o.length-1;switch(U){case 3:return y.apply(o[d]),o[d];case 4:case 10:this.$=[];break;case 5:case 11:o[d-1].push(o[d]),this.$=o[d-1];break;case 6:case 7:case 12:case 13:this.$=o[d];break;case 8:case 9:case 14:this.$=[];break;case 16:o[d].type="createParticipant",this.$=o[d];break;case 17:o[d-1].unshift({type:"boxStart",boxData:y.parseBoxData(o[d-2])}),o[d-1].push({type:"boxEnd",boxText:o[d-2]}),this.$=o[d-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(o[d-2]),sequenceIndexStep:Number(o[d-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(o[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:o[d-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:o[d-1].actor};break;case 30:y.setDiagramTitle(o[d].substring(6)),this.$=o[d].substring(6);break;case 31:y.setDiagramTitle(o[d].substring(7)),this.$=o[d].substring(7);break;case 32:this.$=o[d].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=o[d].trim(),y.setAccDescription(this.$);break;case 35:o[d-1].unshift({type:"loopStart",loopText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.LOOP_START}),o[d-1].push({type:"loopEnd",loopText:o[d-2],signalType:y.LINETYPE.LOOP_END}),this.$=o[d-1];break;case 36:o[d-1].unshift({type:"rectStart",color:y.parseMessage(o[d-2]),signalType:y.LINETYPE.RECT_START}),o[d-1].push({type:"rectEnd",color:y.parseMessage(o[d-2]),signalType:y.LINETYPE.RECT_END}),this.$=o[d-1];break;case 37:o[d-1].unshift({type:"optStart",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.OPT_START}),o[d-1].push({type:"optEnd",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.OPT_END}),this.$=o[d-1];break;case 38:o[d-1].unshift({type:"altStart",altText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.ALT_START}),o[d-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=o[d-1];break;case 39:o[d-1].unshift({type:"parStart",parText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.PAR_START}),o[d-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=o[d-1];break;case 40:o[d-1].unshift({type:"parStart",parText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.PAR_OVER_START}),o[d-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=o[d-1];break;case 41:o[d-1].unshift({type:"criticalStart",criticalText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.CRITICAL_START}),o[d-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=o[d-1];break;case 42:o[d-1].unshift({type:"breakStart",breakText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.BREAK_START}),o[d-1].push({type:"breakEnd",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.BREAK_END}),this.$=o[d-1];break;case 44:this.$=o[d-3].concat([{type:"option",optionText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.CRITICAL_OPTION},o[d]]);break;case 46:this.$=o[d-3].concat([{type:"and",parText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.PAR_AND},o[d]]);break;case 48:this.$=o[d-3].concat([{type:"else",altText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.ALT_ELSE},o[d]]);break;case 49:o[d-3].draw="participant",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 50:o[d-1].draw="participant",o[d-1].type="addParticipant",this.$=o[d-1];break;case 51:o[d-3].draw="actor",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 52:case 57:o[d-1].draw="actor",o[d-1].type="addParticipant",this.$=o[d-1];break;case 53:o[d-1].type="destroyParticipant",this.$=o[d-1];break;case 54:o[d-3].draw="participant",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 55:o[d-1].draw="participant",o[d-1].type="addParticipant",this.$=o[d-1];break;case 56:o[d-3].draw="actor",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 58:this.$=[o[d-1],{type:"addNote",placement:o[d-2],actor:o[d-1].actor,text:o[d]}];break;case 59:o[d-2]=[].concat(o[d-1],o[d-1]).slice(0,2),o[d-2][0]=o[d-2][0].actor,o[d-2][1]=o[d-2][1].actor,this.$=[o[d-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:o[d-2].slice(0,2),text:o[d]}];break;case 60:this.$=[o[d-1],{type:"addLinks",actor:o[d-1].actor,text:o[d]}];break;case 61:this.$=[o[d-1],{type:"addALink",actor:o[d-1].actor,text:o[d]}];break;case 62:this.$=[o[d-1],{type:"addProperties",actor:o[d-1].actor,text:o[d]}];break;case 63:this.$=[o[d-1],{type:"addDetails",actor:o[d-1].actor,text:o[d]}];break;case 66:this.$=[o[d-2],o[d]];break;case 67:this.$=o[d];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:o[d-1].actor}];break;case 71:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:o[d-4].actor}];break;case 72:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:o[d-1].actor}];break;case 73:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-2],msg:o[d],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:o[d-4].actor}];break;case 74:this.$=[o[d-5],o[d-1],{type:"addMessage",from:o[d-5].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:o[d-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:o[d-5].actor}];break;case 75:this.$=[o[d-3],o[d-1],{type:"addMessage",from:o[d-3].actor,to:o[d-1].actor,signalType:o[d-2],msg:o[d]}];break;case 76:this.$={type:"addParticipant",actor:o[d-1],config:o[d]};break;case 77:this.$=o[d-1].trim();break;case 78:this.$={type:"addParticipant",actor:o[d]};break;case 79:this.$=y.LINETYPE.SOLID_OPEN;break;case 80:this.$=y.LINETYPE.DOTTED_OPEN;break;case 81:this.$=y.LINETYPE.SOLID;break;case 82:this.$=y.LINETYPE.SOLID_TOP;break;case 83:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=y.LINETYPE.STICK_TOP;break;case 85:this.$=y.LINETYPE.STICK_BOTTOM;break;case 86:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=y.LINETYPE.DOTTED;break;case 100:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=y.LINETYPE.SOLID_CROSS;break;case 102:this.$=y.LINETYPE.DOTTED_CROSS;break;case 103:this.$=y.LINETYPE.SOLID_POINT;break;case 104:this.$=y.LINETYPE.DOTTED_POINT;break;case 105:this.$=y.parseMessage(o[d].trim().substring(1));break}},"anonymous"),"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},e(C,[2,5]),{9:48,13:13,14:p,15:h,18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},e(C,[2,7]),e(C,[2,8]),e(C,[2,9]),e(C,[2,15]),{13:49,51:G,53:X,54:J},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:W},{23:56,73:W},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},e(C,[2,30]),e(C,[2,31]),{33:[1,62]},{35:[1,63]},e(C,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:wt},{23:75,55:76,73:wt},{23:77,73:W},{69:78,72:[1,79],78:Ct,79:m,80:k,81:dt,82:rt,83:F,84:bt,85:pe,86:Ee,87:ue,88:fe,89:_e,90:ge,91:xe,92:Ie,93:ye,94:Re,95:Oe,96:Le,97:be,98:me,99:Se,100:Ae,101:we,102:Ne,103:Pe},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:W},{23:111,73:W},{23:112,73:W},{23:113,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ke),e(C,[2,6]),e(C,[2,16]),e(Nt,[2,10],{11:114}),e(C,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},e(C,[2,22]),{5:[1,118]},{5:[1,119]},e(C,[2,25]),e(C,[2,26]),e(C,[2,27]),e(C,[2,28]),e(C,[2,29]),e(C,[2,32]),e(C,[2,33]),e(Mt,i,{7:120}),e(Mt,i,{7:121}),e(Mt,i,{7:122}),e(De,i,{41:123,7:124}),e(Xt,i,{43:125,7:126}),e(Xt,i,{7:126,43:127}),e(ve,i,{46:128,7:129}),e(Mt,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Jt,ke,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:W},{69:146,78:Ct,79:m,80:k,81:dt,82:rt,83:F,84:bt,85:pe,86:Ee,87:ue,88:fe,89:_e,90:ge,91:xe,92:Ie,93:ye,94:Re,95:Oe,96:Le,97:be,98:me,99:Se,100:Ae,101:we,102:Ne,103:Pe},e(H,[2,79]),e(H,[2,80]),e(H,[2,81]),e(H,[2,82]),e(H,[2,83]),e(H,[2,84]),e(H,[2,85]),e(H,[2,86]),e(H,[2,87]),e(H,[2,88]),e(H,[2,89]),e(H,[2,90]),e(H,[2,91]),e(H,[2,92]),e(H,[2,93]),e(H,[2,94]),e(H,[2,95]),e(H,[2,96]),e(H,[2,97]),e(H,[2,98]),e(H,[2,99]),e(H,[2,100]),e(H,[2,101]),e(H,[2,102]),e(H,[2,103]),e(H,[2,104]),{23:147,73:W},{23:149,60:148,73:W},{73:[2,68]},{73:[2,69]},{58:150,104:ct},{58:152,104:ct},{58:153,104:ct},{58:154,104:ct},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:G,53:X,54:J},{5:[1,160]},e(C,[2,20]),e(C,[2,21]),e(C,[2,23]),e(C,[2,24]),{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,161],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,162],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,163],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,164]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,47],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,50:[1,165],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,166]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,45],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,49:[1,167],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,168]},{17:[1,169]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,43],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,48:[1,170],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,171],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{16:[1,172]},e(C,[2,50]),{16:[1,173]},e(C,[2,55]),e(Jt,[2,76]),{76:[1,174]},{16:[1,175]},e(C,[2,52]),{16:[1,176]},e(C,[2,57]),e(C,[2,53]),{23:177,73:W},{23:178,73:W},{23:179,73:W},{58:180,104:ct},{23:181,72:[1,182],73:W},{58:183,104:ct},{58:184,104:ct},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(C,[2,17]),e(Nt,[2,11]),{13:186,51:G,53:X,54:J},e(Nt,[2,13]),e(Nt,[2,14]),e(C,[2,19]),e(C,[2,35]),e(C,[2,36]),e(C,[2,37]),e(C,[2,38]),{16:[1,187]},e(C,[2,39]),{16:[1,188]},e(C,[2,40]),e(C,[2,41]),{16:[1,189]},e(C,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:ct},{58:196,104:ct},{58:197,104:ct},{5:[2,75]},{58:198,104:ct},{23:199,73:W},{5:[2,58]},{5:[2,59]},{23:200,73:W},e(Nt,[2,12]),e(De,i,{7:124,41:201}),e(Xt,i,{7:126,43:202}),e(ve,i,{7:129,46:203}),e(C,[2,49]),e(C,[2,54]),e(Jt,[2,77]),e(C,[2,51]),e(C,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:ct},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},parseError:x(B(function(A,v){if(v.recoverable)this.trace(A);else{var P=new Error(A);throw P.hash=v,P}},"parseError"),"parseError"),parse:x(B(function(A){var v=this,P=[0],y=[],U=[null],o=[],kt=this.table,d="",Bt=0,Ce=0,je=2,Me=1,tr=o.slice.call(arguments,1),Z=Object.create(this.lexer),xt={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(xt.yy[Qt]=this.yy[Qt]);Z.setInput(A,xt.yy),xt.yy.lexer=Z,xt.yy.parser=this,typeof Z.yylloc>"u"&&(Z.yylloc={});var $t=Z.yylloc;o.push($t);var er=Z.options&&Z.options.ranges;typeof xt.yy.parseError=="function"?this.parseError=xt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(nt){P.length=P.length-2*nt,U.length=U.length-nt,o.length=o.length-nt}B(Be,"popStack"),x(Be,"popStack");function jt(){var nt;return nt=y.pop()||Z.lex()||Me,typeof nt!="number"&&(nt instanceof Array&&(y=nt,nt=y.pop()),nt=v.symbols_[nt]||nt),nt}B(jt,"lex"),x(jt,"lex");for(var at,It,lt,te,mt={},Vt,pt,Ve,Yt;;){if(It=P[P.length-1],this.defaultActions[It]?lt=this.defaultActions[It]:((at===null||typeof at>"u")&&(at=jt()),lt=kt[It]&&kt[It][at]),typeof lt>"u"||!lt.length||!lt[0]){var ee="";Yt=[];for(Vt in kt[It])this.terminals_[Vt]&&Vt>je&&Yt.push("'"+this.terminals_[Vt]+"'");Z.showPosition?ee="Parse error on line "+(Bt+1)+`:
|
|
1
|
+
import{I as rr}from"./DKnyYiOE.js";import{a as x,aH as ar,N as j,ad as st,r as sr,c as ir,p as N,aG as Ye,aF as nr,aI as or,L as cr,K as lr,O as hr,ac as dr,J as Tr,k as pr,aD as Wt,aV as Q,X as $,e as vt,aB as Er,an as Fe,Z as ur,M as Ht,V as fr,ay as He}from"./DU5u4CoB.js";import{d as _r,h as ne,g as Tt,e as gr,a as oe,b as ce}from"./4LCvEsVS.js";import{c3 as Kt,g as B,h as xr}from"./BHwB2t2J.js";var qe=xr(Er()),ae=(function(){var e=x(function(ft,A,v,P){for(v=v||{},P=ft.length;P--;v[ft[P]]=A);return v},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],n=[1,9],s=[1,11],c=[1,12],p=[1,14],h=[1,15],E=[1,17],_=[1,18],u=[1,19],O=[1,25],T=[1,26],g=[1,27],f=[1,28],I=[1,29],L=[1,30],b=[1,31],w=[1,32],S=[1,33],D=[1,34],M=[1,35],Y=[1,36],K=[1,37],G=[1,38],X=[1,39],J=[1,40],ot=[1,42],tt=[1,43],z=[1,44],it=[1,45],et=[1,46],W=[1,47],C=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],wt=[1,74],Ct=[1,80],m=[1,81],k=[1,82],dt=[1,83],rt=[1,84],F=[1,85],bt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],Ie=[1,94],ye=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[2,78],Nt=[4,5,17,51,53,54],Mt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],De=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Xt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],ve=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],Jt=[5,52],H=[70,71,72,73],ct=[1,151],Zt={trace:x(B(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:x(B(function(A,v,P,y,U,o,kt){var d=o.length-1;switch(U){case 3:return y.apply(o[d]),o[d];case 4:case 10:this.$=[];break;case 5:case 11:o[d-1].push(o[d]),this.$=o[d-1];break;case 6:case 7:case 12:case 13:this.$=o[d];break;case 8:case 9:case 14:this.$=[];break;case 16:o[d].type="createParticipant",this.$=o[d];break;case 17:o[d-1].unshift({type:"boxStart",boxData:y.parseBoxData(o[d-2])}),o[d-1].push({type:"boxEnd",boxText:o[d-2]}),this.$=o[d-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(o[d-2]),sequenceIndexStep:Number(o[d-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(o[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:o[d-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:o[d-1].actor};break;case 30:y.setDiagramTitle(o[d].substring(6)),this.$=o[d].substring(6);break;case 31:y.setDiagramTitle(o[d].substring(7)),this.$=o[d].substring(7);break;case 32:this.$=o[d].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=o[d].trim(),y.setAccDescription(this.$);break;case 35:o[d-1].unshift({type:"loopStart",loopText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.LOOP_START}),o[d-1].push({type:"loopEnd",loopText:o[d-2],signalType:y.LINETYPE.LOOP_END}),this.$=o[d-1];break;case 36:o[d-1].unshift({type:"rectStart",color:y.parseMessage(o[d-2]),signalType:y.LINETYPE.RECT_START}),o[d-1].push({type:"rectEnd",color:y.parseMessage(o[d-2]),signalType:y.LINETYPE.RECT_END}),this.$=o[d-1];break;case 37:o[d-1].unshift({type:"optStart",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.OPT_START}),o[d-1].push({type:"optEnd",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.OPT_END}),this.$=o[d-1];break;case 38:o[d-1].unshift({type:"altStart",altText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.ALT_START}),o[d-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=o[d-1];break;case 39:o[d-1].unshift({type:"parStart",parText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.PAR_START}),o[d-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=o[d-1];break;case 40:o[d-1].unshift({type:"parStart",parText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.PAR_OVER_START}),o[d-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=o[d-1];break;case 41:o[d-1].unshift({type:"criticalStart",criticalText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.CRITICAL_START}),o[d-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=o[d-1];break;case 42:o[d-1].unshift({type:"breakStart",breakText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.BREAK_START}),o[d-1].push({type:"breakEnd",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.BREAK_END}),this.$=o[d-1];break;case 44:this.$=o[d-3].concat([{type:"option",optionText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.CRITICAL_OPTION},o[d]]);break;case 46:this.$=o[d-3].concat([{type:"and",parText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.PAR_AND},o[d]]);break;case 48:this.$=o[d-3].concat([{type:"else",altText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.ALT_ELSE},o[d]]);break;case 49:o[d-3].draw="participant",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 50:o[d-1].draw="participant",o[d-1].type="addParticipant",this.$=o[d-1];break;case 51:o[d-3].draw="actor",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 52:case 57:o[d-1].draw="actor",o[d-1].type="addParticipant",this.$=o[d-1];break;case 53:o[d-1].type="destroyParticipant",this.$=o[d-1];break;case 54:o[d-3].draw="participant",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 55:o[d-1].draw="participant",o[d-1].type="addParticipant",this.$=o[d-1];break;case 56:o[d-3].draw="actor",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 58:this.$=[o[d-1],{type:"addNote",placement:o[d-2],actor:o[d-1].actor,text:o[d]}];break;case 59:o[d-2]=[].concat(o[d-1],o[d-1]).slice(0,2),o[d-2][0]=o[d-2][0].actor,o[d-2][1]=o[d-2][1].actor,this.$=[o[d-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:o[d-2].slice(0,2),text:o[d]}];break;case 60:this.$=[o[d-1],{type:"addLinks",actor:o[d-1].actor,text:o[d]}];break;case 61:this.$=[o[d-1],{type:"addALink",actor:o[d-1].actor,text:o[d]}];break;case 62:this.$=[o[d-1],{type:"addProperties",actor:o[d-1].actor,text:o[d]}];break;case 63:this.$=[o[d-1],{type:"addDetails",actor:o[d-1].actor,text:o[d]}];break;case 66:this.$=[o[d-2],o[d]];break;case 67:this.$=o[d];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:o[d-1].actor}];break;case 71:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:o[d-4].actor}];break;case 72:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:o[d-1].actor}];break;case 73:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-2],msg:o[d],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:o[d-4].actor}];break;case 74:this.$=[o[d-5],o[d-1],{type:"addMessage",from:o[d-5].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:o[d-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:o[d-5].actor}];break;case 75:this.$=[o[d-3],o[d-1],{type:"addMessage",from:o[d-3].actor,to:o[d-1].actor,signalType:o[d-2],msg:o[d]}];break;case 76:this.$={type:"addParticipant",actor:o[d-1],config:o[d]};break;case 77:this.$=o[d-1].trim();break;case 78:this.$={type:"addParticipant",actor:o[d]};break;case 79:this.$=y.LINETYPE.SOLID_OPEN;break;case 80:this.$=y.LINETYPE.DOTTED_OPEN;break;case 81:this.$=y.LINETYPE.SOLID;break;case 82:this.$=y.LINETYPE.SOLID_TOP;break;case 83:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=y.LINETYPE.STICK_TOP;break;case 85:this.$=y.LINETYPE.STICK_BOTTOM;break;case 86:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=y.LINETYPE.DOTTED;break;case 100:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=y.LINETYPE.SOLID_CROSS;break;case 102:this.$=y.LINETYPE.DOTTED_CROSS;break;case 103:this.$=y.LINETYPE.SOLID_POINT;break;case 104:this.$=y.LINETYPE.DOTTED_POINT;break;case 105:this.$=y.parseMessage(o[d].trim().substring(1));break}},"anonymous"),"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},e(C,[2,5]),{9:48,13:13,14:p,15:h,18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},e(C,[2,7]),e(C,[2,8]),e(C,[2,9]),e(C,[2,15]),{13:49,51:G,53:X,54:J},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:W},{23:56,73:W},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},e(C,[2,30]),e(C,[2,31]),{33:[1,62]},{35:[1,63]},e(C,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:wt},{23:75,55:76,73:wt},{23:77,73:W},{69:78,72:[1,79],78:Ct,79:m,80:k,81:dt,82:rt,83:F,84:bt,85:pe,86:Ee,87:ue,88:fe,89:_e,90:ge,91:xe,92:Ie,93:ye,94:Re,95:Oe,96:Le,97:be,98:me,99:Se,100:Ae,101:we,102:Ne,103:Pe},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:W},{23:111,73:W},{23:112,73:W},{23:113,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ke),e(C,[2,6]),e(C,[2,16]),e(Nt,[2,10],{11:114}),e(C,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},e(C,[2,22]),{5:[1,118]},{5:[1,119]},e(C,[2,25]),e(C,[2,26]),e(C,[2,27]),e(C,[2,28]),e(C,[2,29]),e(C,[2,32]),e(C,[2,33]),e(Mt,i,{7:120}),e(Mt,i,{7:121}),e(Mt,i,{7:122}),e(De,i,{41:123,7:124}),e(Xt,i,{43:125,7:126}),e(Xt,i,{7:126,43:127}),e(ve,i,{46:128,7:129}),e(Mt,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Jt,ke,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:W},{69:146,78:Ct,79:m,80:k,81:dt,82:rt,83:F,84:bt,85:pe,86:Ee,87:ue,88:fe,89:_e,90:ge,91:xe,92:Ie,93:ye,94:Re,95:Oe,96:Le,97:be,98:me,99:Se,100:Ae,101:we,102:Ne,103:Pe},e(H,[2,79]),e(H,[2,80]),e(H,[2,81]),e(H,[2,82]),e(H,[2,83]),e(H,[2,84]),e(H,[2,85]),e(H,[2,86]),e(H,[2,87]),e(H,[2,88]),e(H,[2,89]),e(H,[2,90]),e(H,[2,91]),e(H,[2,92]),e(H,[2,93]),e(H,[2,94]),e(H,[2,95]),e(H,[2,96]),e(H,[2,97]),e(H,[2,98]),e(H,[2,99]),e(H,[2,100]),e(H,[2,101]),e(H,[2,102]),e(H,[2,103]),e(H,[2,104]),{23:147,73:W},{23:149,60:148,73:W},{73:[2,68]},{73:[2,69]},{58:150,104:ct},{58:152,104:ct},{58:153,104:ct},{58:154,104:ct},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:G,53:X,54:J},{5:[1,160]},e(C,[2,20]),e(C,[2,21]),e(C,[2,23]),e(C,[2,24]),{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,161],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,162],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,163],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,164]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,47],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,50:[1,165],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,166]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,45],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,49:[1,167],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,168]},{17:[1,169]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,43],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,48:[1,170],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,171],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{16:[1,172]},e(C,[2,50]),{16:[1,173]},e(C,[2,55]),e(Jt,[2,76]),{76:[1,174]},{16:[1,175]},e(C,[2,52]),{16:[1,176]},e(C,[2,57]),e(C,[2,53]),{23:177,73:W},{23:178,73:W},{23:179,73:W},{58:180,104:ct},{23:181,72:[1,182],73:W},{58:183,104:ct},{58:184,104:ct},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(C,[2,17]),e(Nt,[2,11]),{13:186,51:G,53:X,54:J},e(Nt,[2,13]),e(Nt,[2,14]),e(C,[2,19]),e(C,[2,35]),e(C,[2,36]),e(C,[2,37]),e(C,[2,38]),{16:[1,187]},e(C,[2,39]),{16:[1,188]},e(C,[2,40]),e(C,[2,41]),{16:[1,189]},e(C,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:ct},{58:196,104:ct},{58:197,104:ct},{5:[2,75]},{58:198,104:ct},{23:199,73:W},{5:[2,58]},{5:[2,59]},{23:200,73:W},e(Nt,[2,12]),e(De,i,{7:124,41:201}),e(Xt,i,{7:126,43:202}),e(ve,i,{7:129,46:203}),e(C,[2,49]),e(C,[2,54]),e(Jt,[2,77]),e(C,[2,51]),e(C,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:ct},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},parseError:x(B(function(A,v){if(v.recoverable)this.trace(A);else{var P=new Error(A);throw P.hash=v,P}},"parseError"),"parseError"),parse:x(B(function(A){var v=this,P=[0],y=[],U=[null],o=[],kt=this.table,d="",Bt=0,Ce=0,je=2,Me=1,tr=o.slice.call(arguments,1),Z=Object.create(this.lexer),xt={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(xt.yy[Qt]=this.yy[Qt]);Z.setInput(A,xt.yy),xt.yy.lexer=Z,xt.yy.parser=this,typeof Z.yylloc>"u"&&(Z.yylloc={});var $t=Z.yylloc;o.push($t);var er=Z.options&&Z.options.ranges;typeof xt.yy.parseError=="function"?this.parseError=xt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(nt){P.length=P.length-2*nt,U.length=U.length-nt,o.length=o.length-nt}B(Be,"popStack"),x(Be,"popStack");function jt(){var nt;return nt=y.pop()||Z.lex()||Me,typeof nt!="number"&&(nt instanceof Array&&(y=nt,nt=y.pop()),nt=v.symbols_[nt]||nt),nt}B(jt,"lex"),x(jt,"lex");for(var at,It,lt,te,mt={},Vt,pt,Ve,Yt;;){if(It=P[P.length-1],this.defaultActions[It]?lt=this.defaultActions[It]:((at===null||typeof at>"u")&&(at=jt()),lt=kt[It]&&kt[It][at]),typeof lt>"u"||!lt.length||!lt[0]){var ee="";Yt=[];for(Vt in kt[It])this.terminals_[Vt]&&Vt>je&&Yt.push("'"+this.terminals_[Vt]+"'");Z.showPosition?ee="Parse error on line "+(Bt+1)+`:
|
|
2
2
|
`+Z.showPosition()+`
|
|
3
3
|
Expecting `+Yt.join(", ")+", got '"+(this.terminals_[at]||at)+"'":ee="Parse error on line "+(Bt+1)+": Unexpected "+(at==Me?"end of input":"'"+(this.terminals_[at]||at)+"'"),this.parseError(ee,{text:Z.match,token:this.terminals_[at]||at,line:Z.yylineno,loc:$t,expected:Yt})}if(lt[0]instanceof Array&<.length>1)throw new Error("Parse Error: multiple actions possible at state: "+It+", token: "+at);switch(lt[0]){case 1:P.push(at),U.push(Z.yytext),o.push(Z.yylloc),P.push(lt[1]),at=null,Ce=Z.yyleng,d=Z.yytext,Bt=Z.yylineno,$t=Z.yylloc;break;case 2:if(pt=this.productions_[lt[1]][1],mt.$=U[U.length-pt],mt._$={first_line:o[o.length-(pt||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(pt||1)].first_column,last_column:o[o.length-1].last_column},er&&(mt._$.range=[o[o.length-(pt||1)].range[0],o[o.length-1].range[1]]),te=this.performAction.apply(mt,[d,Ce,Bt,xt.yy,lt[1],U,o].concat(tr)),typeof te<"u")return te;pt&&(P=P.slice(0,-1*pt*2),U=U.slice(0,-1*pt),o=o.slice(0,-1*pt)),P.push(this.productions_[lt[1]][0]),U.push(mt.$),o.push(mt._$),Ve=kt[P[P.length-2]][P[P.length-1]],P.push(Ve);break;case 3:return!0}}return!0},"parse"),"parse")},$e=(function(){var ft={EOF:1,parseError:x(B(function(v,P){if(this.yy.parser)this.yy.parser.parseError(v,P);else throw new Error(v)},"parseError"),"parseError"),setInput:x(function(A,v){return this.yy=v||this.yy||{},this._input=A,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:x(function(){var A=this._input[0];this.yytext+=A,this.yyleng++,this.offset++,this.match+=A,this.matched+=A;var v=A.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),A},"input"),unput:x(function(A){var v=A.length,P=A.split(/(?:\r\n?|\n)/g);this._input=A+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v),this.offset-=v;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),P.length-1&&(this.yylineno-=P.length-1);var U=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:P?(P.length===y.length?this.yylloc.first_column:0)+y[y.length-P.length].length-P[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[U[0],U[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},"unput"),more:x(function(){return this._more=!0,this},"more"),reject:x(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:x(function(A){this.unput(this.match.slice(A))},"less"),pastInput:x(function(){var A=this.matched.substr(0,this.matched.length-this.match.length);return(A.length>20?"...":"")+A.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:x(function(){var A=this.match;return A.length<20&&(A+=this._input.substr(0,20-A.length)),(A.substr(0,20)+(A.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:x(function(){var A=this.pastInput(),v=new Array(A.length+1).join("-");return A+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as O,bq as d,by as P,b as V,a_ as B,bo as L}from"./COCO5InB.js";import{bs as H,b_ as z,W as _,bn as j,aA as p,aC as T,a7 as F,ay as I,aD as r,a5 as U,bS as X,bH as b,bA as Y,be as Z,b$ as $,bO as ee,c9 as c,aB as te,bV as k,bk as re}from"./B8o4lNgr.js";import{s as ne,k as ie,d as oe}from"./Crs9I2MT.js";import{B as ae}from"./Cdhgfy6h.js";import{I as se}from"./CjVTzfqV.js";import"./BqRJyrRC.js";import{L as le}from"./bjkNeafo.js";import"./BUVaYTVI.js";import{D as ue,k as W}from"./
|
|
1
|
+
import{t as O,bq as d,by as P,b as V,a_ as B,bo as L}from"./COCO5InB.js";import{bs as H,b_ as z,W as _,bn as j,aA as p,aC as T,a7 as F,ay as I,aD as r,a5 as U,bS as X,bH as b,bA as Y,be as Z,b$ as $,bO as ee,c9 as c,aB as te,bV as k,bk as re}from"./B8o4lNgr.js";import{s as ne,k as ie,d as oe}from"./Crs9I2MT.js";import{B as ae}from"./Cdhgfy6h.js";import{I as se}from"./CjVTzfqV.js";import"./BqRJyrRC.js";import{L as le}from"./bjkNeafo.js";import"./BUVaYTVI.js";import{D as ue,k as W}from"./172GvQgx.js";import{G as ce,F as y}from"./BXGDMgsv.js";var fe=T('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function me(f,o){if(new.target)return O({component:me,...f});H(o,!0);let e=d(o,"width",7,24),n=d(o,"class",7,"");var a={get width(){return e()},set width(s=24){e(s),p()},get class(){return n()},set class(s=""){n(s),p()},$set:P,$on:(s,m)=>V(o,s,m)},l=fe();return z(()=>{ne(l,"width",e()),ie(l,0,oe(n()))}),_(f,l),j(a)}var de=te('<div class="grid gap-2"><!> <!></div>');function E(f,o){if(new.target)return O({component:E,...f});H(o,!0);let e=d(o,"request",7),n=d(o,"value",15,""),a=d(o,"busy",7,!1),l=d(o,"static",7,!1),s=d(o,"onAccept",7),m=d(o,"onCancel",7),v=k(null);var A={get request(){return e()},set request(t){e(t),p()},get value(){return n()},set value(t=""){n(t),p()},get busy(){return a()},set busy(t=!1){a(t),p()},get static(){return l()},set static(t=!1){l(t),p()},get onAccept(){return s()},set onAccept(t){s(t),p()},get onCancel(){return m()},set onCancel(t){m(t),p()},$set:P,$on:(t,g)=>V(o,t,g)},h=F(),i=I(h);{var u=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_bulkActionConfirm_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_bulkActionConfirm_cancel_label()),S=c(()=>e().options.destructive??!1);ue(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return r(g)},get cancelLabel(){return r(M)},get destructive(){return r(S)},get busy(){return a()},onConfirm:()=>s()(n()),get onCancel(){return m()}})}},q=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_input_cancel_label()),S=c(()=>!e().options.field.required||n().trim().length>0);W(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},get cancelLabel(){return r(M)},get canSubmit(){return r(S)},get busy(){return a()},get initialFocus(){return r(v)},onSubmit:()=>s()(n()),get onCancel(){return m()},children:(J,ge)=>{var D=de(),G=U(D);{var K=C=>{le(C,{for:"confirm-prompt-field",children:(R,w)=>{Z();var N=$();z(()=>ee(N,e().options.field.label)),_(R,N)},$$slots:{default:!0}})};B(G,C=>{e().options.field.label&&C(K)})}var Q=X(G,2);{let C=c(()=>e().options.field.type??"text"),R=c(()=>e().options.field.label?void 0:e().options.title);se(Q,{id:"confirm-prompt-field",get type(){return r(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return r(R)},get ref(){return r(v)},set ref(w){b(v,w,!0)},get value(){return n()},set value(w){n(w)}})}Y(D),_(J,D)},$$slots:{default:!0}})}},x=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label());W(t,{open:!0,get static(){return l()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return a()},onSubmit:()=>s()(n()),onCancel:()=>s()(n())})}};B(i,t=>{e()?.kind==="confirm"?t(u):e()?.kind==="prompt"?t(q,1):e()?.kind==="alert"&&t(x,2)})}return _(f,h),j(A)}function pe(f,o){if(new.target)return O({component:pe,...f});H(o,!0);let e=k(null),n=k(""),a=k(!1);re(()=>ce(i=>{b(e,i,!0),b(n,i?.kind==="prompt"?i.options.field.initialValue??"":"",!0),b(a,!1)}));function l(){!r(e)||r(a)||y(r(e).id,r(e).kind==="confirm"?!1:null)}async function s(){if(!r(e)||r(a))return;const i=r(e);b(a,!0);try{i.kind==="confirm"?(await i.options.onConfirm?.(),y(i.id,!0)):i.kind==="prompt"?(await i.options.onConfirm?.(r(n).trim()),y(i.id,r(n).trim())):y(i.id,void 0)}catch(u){throw console.error("Confirm action failed:",u),b(a,!1),u}}var m={$set:P,$on:(i,u)=>V(o,i,u)},v=F(),A=I(v);{var h=i=>{var u=F(),q=I(u);ae(q,()=>r(e).id,x=>{E(x,{get request(){return r(e)},get busy(){return r(a)},onAccept:s,onCancel:l,get value(){return r(n)},set value(t){b(n,t,!0)}})}),_(i,u)};B(A,i=>{r(e)&&i(h)})}return _(f,v),j(m)}export{pe as C,me as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as bt,bq as x,by as wt,bs as Rt,b as It,bu as g}from"./COCO5InB.js";import{bs as Pt,ca as I,aD as t,c9 as s,bn as kt,bH as V,bV as M,aA as F}from"./B8o4lNgr.js";import{b as vt}from"./D2g8BuR1.js";import{G2 as l,ei as Ut,ej as At,q$ as Bt,mU as xt,mV as Ft,Gz as Gt,GN as Tt,GE as Wt,mZ as G}from"./BjFoJgFv.js";import{aU as _t}from"./
|
|
1
|
+
import{t as bt,bq as x,by as wt,bs as Rt,b as It,bu as g}from"./COCO5InB.js";import{bs as Pt,ca as I,aD as t,c9 as s,bn as kt,bH as V,bV as M,aA as F}from"./B8o4lNgr.js";import{b as vt}from"./D2g8BuR1.js";import{G2 as l,ei as Ut,ej as At,q$ as Bt,mU as xt,mV as Ft,Gz as Gt,GN as Tt,GE as Wt,mZ as G}from"./BjFoJgFv.js";import{aU as _t}from"./BCYRUItZ.js";import{g as Dt}from"./CoSk1zgY.js";import{dj as Lt,bx as Et,bz as Vt,bw as Mt,bB as Nt,cW as zt,e as Ht}from"./DUT4V6mb.js";import{C as jt}from"./xpCT4rnW.js";import{V as qt}from"./DQPsLJmj.js";import{bC as Xt,bA as Zt,aX as Jt}from"./D6eVIgjz.js";import{i as T,n as N}from"./H2jLkRRS.js";import{aj as Kt}from"./Dh52so4o.js";function Ot(W,$){if(new.target)return bt({component:Ot,...W});Pt($,!0);const z=()=>g(at,"$gitRoots$",c),y=()=>g(ot,"$workspace",c),H=()=>g(nt,"$ftCommits$",c),j=()=>g(lt,"$rootGitRoots$",c),S=()=>g(st,"$ftChanges$",c),q=()=>g(tt,"$foldUnchanged",c),X=()=>g(Y,"$lineWrapping",c),Z=()=>g(et,"$diffSideBySide",c),J=()=>g(rt,"$ftLoading$",c),K=()=>g(it,"$ftBoundarySha$",c),[c,O]=Rt(),Q=o=>{qt(o,{embedded:!0,showExpand:!0,get expanded(){return t(w)},onToggleExpand:()=>{V(w,!t(w)),t(w)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return q()},onToggleFold:()=>l.dispatch(Wt()),get wrapEnabled(){return X()},onToggleWrap:()=>l.dispatch(Tt()),get splitEnabled(){return Z()},onToggleSplit:()=>l.dispatch(Gt())})},Y=Xt(),tt=Zt(),et=Jt();let P=x($,"tab",7),m=x($,"workspaceId",7),C=x($,"isActive",7);const _=Dt(),p=_t(()=>m()),ot=Lt(p);I(()=>{const o=m();if(!(!C()||!o||t(n)))return l.dispatch(Ut(o,"all")),()=>l.dispatch(At(o,"all"))});const n=s(()=>P().data?.gitRootId||""),at=Kt(p),b=s(()=>z().find(o=>o.id===t(n))),h=s(()=>y()?.worktreePath||y()?.repositoryPath||""),k=s(()=>t(b)?.path||t(h)),st=Et(p),nt=Vt(p),it=Mt(p),rt=Nt(p),dt=s(()=>H()||[]),lt=zt(p),f=s(()=>j()[t(n)]??Ht),ct=s(()=>t(f).status),gt=s(()=>t(f).loading),mt=s(()=>t(f).commitFiles),ut=s(()=>{const o=t(b)?.registeredCommitSha,i=o?t(f).commits.findIndex(e=>e.hash===o):-1;return i>=0?t(f).commits.slice(0,i):t(f).commits});I(()=>{const o=m(),i=t(n);o&&i&&l.dispatch(Bt(o,i,t(b)?.registeredCommitSha,100))});let w=M(!0),R=M(null);const pt=s(()=>{if(t(n))return[...(t(ct)?.files??[]).map(e=>({filePath:`${t(k)}/${e.path}`,action:"modify",additions:e.additions??0,deletions:e.deletions??0,toolName:"local",toolCallId:`root-${t(n)}-${e.staged}-${e.path}`,staged:e.staged,category:e.staged?"staged":"unstaged"})),...t(ut).flatMap(e=>(t(mt)[e.hash]??[]).map(a=>({filePath:`${t(k)}/${a.path}`,action:"modify",additions:a.additions??0,deletions:a.deletions??0,toolName:"local",toolCallId:`root-commit-${e.hash}-${a.path}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message})))];const o=S().filter(e=>e.stage==="unstaged"),i=S().filter(e=>e.stage==="staged");return[...o.map(e=>{const a=e.file||e.relativePath,r=a&&T(a)?a:`${t(h)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-unstaged-${r}`,staged:!1,category:"unstaged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...i.map(e=>{const a=e.file||e.relativePath,r=a&&T(a)?a:`${t(h)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-staged-${r}`,staged:!0,category:"staged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...t(dt).flatMap(e=>(e.files||[]).map(a=>{const r=typeof a=="string"?a:a.path||"",U=r&&T(r)?r:`${t(h)}/${r}`,A=typeof a=="string"?0:a.additions||0,B=typeof a=="string"?0:a.deletions||0;return{filePath:U,action:"modify",additions:A,deletions:B,toolName:"local",toolCallId:`commit-${e.hash}-${r}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message}}))]});function v(o){if(!t(h))return o;const i=N(o),e=N(t(h));return i.startsWith(`${e}/`)?i.slice(e.length+1):o}function D(o){l.dispatch(G(m(),crypto.randomUUID(),{kind:"stage",paths:o.map(v),source:"localChanges"}))}function L(o){l.dispatch(G(m(),crypto.randomUUID(),{kind:"unstage",paths:o.map(v),source:"localChanges"}))}function ht(o){l.dispatch(G(m(),crypto.randomUUID(),{kind:"discard",paths:o.map(v),source:"localChanges"}))}I(()=>{!_||!C()||_.registerActions({display:Q})});const E=crypto.randomUUID();I(()=>{const o=m();if(!(!(C()&&t(n))||!o))return l.dispatch(xt(o,E)),()=>l.dispatch(Ft(o,E))});var ft={get tab(){return P()},set tab(o){P(o),F()},get workspaceId(){return m()},set workspaceId(o){m(o),F()},get isActive(){return C()},set isActive(o){C(o),F()},$set:wt,$on:(o,i)=>It($,o,i)};{let o=s(()=>t(n)?t(gt):J()),i=s(()=>t(n)||void 0),e=s(()=>t(n)?t(k):void 0),a=s(()=>y()?.baseRef??null),r=s(()=>t(n)?t(b)?.registeredCommitSha||null:K()||y()?.baseCommitSha||null),U=s(()=>!t(n)),A=s(()=>t(n)?void 0:d=>void D([d])),B=s(()=>t(n)?void 0:d=>void L([d])),Ct=s(()=>t(n)?void 0:d=>void ht([d])),yt=s(()=>t(n)?void 0:()=>{const d=S().filter(u=>u.stage==="unstaged");D(d.map(u=>u.relativePath||u.file))}),St=s(()=>t(n)?void 0:()=>{const d=S().filter(u=>u.stage==="staged");L(d.map(u=>u.relativePath||u.file))});vt(jt(W,{get isLoading(){return t(o)},get changes(){return t(pt)},get gitRootId(){return t(i)},get gitRootPath(){return t(e)},get branchBaseRef(){return t(a)},get branchBaseCommitSha(){return t(r)},get showStagingControls(){return t(U)},showCategoryFilter:!0,get onStage(){return t(A)},get onUnstage(){return t(B)},get onRevert(){return t(Ct)},get onStageAll(){return t(yt)},get onUnstageAll(){return t(St)}}),d=>V(R,d,!0),()=>t(R))}var $t=kt(ft);return O(),$t}export{Ot as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bo as m,t as Ht,bq as y,a_ as M,by as jt,b as Wt,br as df,bu as Ft,bs as ca,bt as ni,b7 as Wi,ba as uf,bl as ff,bb as pf,bm as gf,a$ as vf,b9 as mf,b8 as hf,b2 as bf,bf as yf,bg as _f,bk as xf,be as wf,bn as kf,b0 as If,b4 as Sf,bi as Cf,bh as Ef,b6 as Pf,b5 as Af,b3 as Tf,bd as Rf,bc as Lf,bj as Nf,b1 as Mf,_ as Of}from"./COCO5InB.js";import{bI as Df,bj as fs,aG as Bf,bs as Ut,aD as e,a5 as S,bS as v,bA as w,W as d,bn as qt,c9 as u,aA as _,a7 as kt,ay as ze,be as sr,b$ as Lt,aC as ya,bl as R,b_ as k,bO as x,aB as I,bo as ps,ca as Ct,bH as N,bV as we,br as Ur,bk as gs,c0 as Zn,ai as Aa,cd as Ns,aw as wn,a as Ff,aj as Ar,c7 as zf,c6 as Ui,c5 as Ln,bf as Ms,bz as Rc}from"./B8o4lNgr.js";import{B as Os,I as Hf,x as jf}from"./Cdhgfy6h.js";import{c as Wf,s as oe,a as Nn,l as Mn,f as kn,d as cr,k as mt,I as vs,h as Tt,i as Rr,o as Uf,j as qf,g as Vf,n as Kf}from"./Crs9I2MT.js";import{s as dn}from"./Dck4Okga.js";import{c as Xr}from"./oALOmsvi.js";import{H as Lo,t as lr,n as Gf,i as qi,u as Vi}from"./Bqoyy9yx.js";import{b as gr}from"./D2g8BuR1.js";import{h as Lc,bs as Jf,cH as Yf,dz as Xf,dk as Zf,av as Qf,cr as $f,a1 as ep,cN as tp,dj as ns,aA as Gs,c0 as rp,H as np,c as ap,$ as Ki,cT as sp,bQ as op,L as ip,dg as lp,V as cp,dq as dp,ae as up,f as fp,t as pp}from"./DUT4V6mb.js";import{c as gp}from"./D-62MVd3.js";import{n as ra,w as vp,C as Nc,M as mp,R as hp}from"./CJvhopKt.js";import{f as yt,ap as ja,ai as bp,am as No,bb as yp}from"./C5Xi5eLp.js";import{ai as _p,a7 as Gi,X as xp,at as wp,aM as kp,I as Ip,R as Sp,an as Cp,ab as Ep,Y as Pp,b as Ji,q as Ap,n as Tp,aS as Rp,m as Lp,aU as Mo,A as Yi,aa as Np,aT as Mp,ak as Mc,L as Oc,a3 as Op,a2 as Xi,J as Zi}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/172GvQgx.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/chunks/COCO5InB.js","/app/immutable/chunks/Dck4Okga.js","/app/immutable/chunks/-fWJi05-.js","/app/immutable/chunks/Bqoyy9yx.js","/app/immutable/chunks/Crs9I2MT.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/C5Xi5eLp.js","/app/immutable/chunks/D2g8BuR1.js","/app/immutable/chunks/oALOmsvi.js","/app/immutable/chunks/Cdhgfy6h.js","/app/immutable/chunks/BY3Ptqbg.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/CjVTzfqV.js","/app/immutable/chunks/BqRJyrRC.js","/app/immutable/chunks/BjFoJgFv.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/bjkNeafo.js","/app/immutable/chunks/1jz3AJ7K.js","/app/immutable/chunks/BDq7EC2K.js","/app/immutable/chunks/D2AmAQEr.js","/app/immutable/chunks/B7mAnbbv.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/assets/observe-overflow.D4mrl2M9.css","/app/immutable/chunks/BUVaYTVI.js","/app/immutable/chunks/B6LKhrY2.js","/app/immutable/chunks/C563feV7.js","/app/immutable/chunks/DUT4V6mb.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CaQ_vubD.js","/app/immutable/chunks/BlJs0v1V.js","/app/immutable/assets/connection-label.UE5obH5A.css","/app/immutable/chunks/CUrlpJj4.js","/app/immutable/chunks/FY5ry3XL.js","/app/immutable/chunks/hMX_6Iel.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/BONnxsQv.js","/app/immutable/chunks/CJvhopKt.js","/app/immutable/assets/notify.CaX-6yIe.css","/app/immutable/chunks/3QmaYnff.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/9JjZRepm.js","/app/immutable/chunks/DJu_D7ND.js","/app/immutable/chunks/Dx5-Ovf5.js","/app/immutable/chunks/Ct7iVnk5.js","/app/immutable/chunks/BKAT2tIv.js","/app/immutable/chunks/CN6UuCI4.js","/app/immutable/chunks/CNG6DDdt.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/Cdv2uRTZ.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bo as m,t as Ht,bq as y,a_ as M,by as jt,b as Wt,br as df,bu as Ft,bs as ca,bt as ni,b7 as Wi,ba as uf,bl as ff,bb as pf,bm as gf,a$ as vf,b9 as mf,b8 as hf,b2 as bf,bf as yf,bg as _f,bk as xf,be as wf,bn as kf,b0 as If,b4 as Sf,bi as Cf,bh as Ef,b6 as Pf,b5 as Af,b3 as Tf,bd as Rf,bc as Lf,bj as Nf,b1 as Mf,_ as Of}from"./COCO5InB.js";import{bI as Df,bj as fs,aG as Bf,bs as Ut,aD as e,a5 as S,bS as v,bA as w,W as d,bn as qt,c9 as u,aA as _,a7 as kt,ay as ze,be as sr,b$ as Lt,aC as ya,bl as R,b_ as k,bO as x,aB as I,bo as ps,ca as Ct,bH as N,bV as we,br as Ur,bk as gs,c0 as Zn,ai as Aa,cd as Ns,aw as wn,a as Ff,aj as Ar,c7 as zf,c6 as Ui,c5 as Ln,bf as Ms,bz as Rc}from"./B8o4lNgr.js";import{B as Os,I as Hf,x as jf}from"./Cdhgfy6h.js";import{c as Wf,s as oe,a as Nn,l as Mn,f as kn,d as cr,k as mt,I as vs,h as Tt,i as Rr,o as Uf,j as qf,g as Vf,n as Kf}from"./Crs9I2MT.js";import{s as dn}from"./Dck4Okga.js";import{c as Xr}from"./oALOmsvi.js";import{H as Lo,t as lr,n as Gf,i as qi,u as Vi}from"./Bqoyy9yx.js";import{b as gr}from"./D2g8BuR1.js";import{h as Lc,bs as Jf,cH as Yf,dz as Xf,dk as Zf,av as Qf,cr as $f,a1 as ep,cN as tp,dj as ns,aA as Gs,c0 as rp,H as np,c as ap,$ as Ki,cT as sp,bQ as op,L as ip,dg as lp,V as cp,dq as dp,ae as up,f as fp,t as pp}from"./DUT4V6mb.js";import{c as gp}from"./D-62MVd3.js";import{n as ra,w as vp,C as Nc,M as mp,R as hp}from"./CJvhopKt.js";import{f as yt,ap as ja,ai as bp,am as No,bb as yp}from"./C5Xi5eLp.js";import{ai as _p,a7 as Gi,X as xp,at as wp,aM as kp,I as Ip,R as Sp,an as Cp,ab as Ep,Y as Pp,b as Ji,q as Ap,n as Tp,aS as Rp,m as Lp,aU as Mo,A as Yi,aa as Np,aT as Mp,ak as Mc,L as Oc,a3 as Op,a2 as Xi,J as Zi}from"./BCYRUItZ.js";import{cU as Dp,F as Et,be as Oo,bH as Bp,an as Fp,aO as zp,cE as Hp,bi as ai,bx as jp,aE as Dc,aJ as si,cT as Ds,aa as Do,ci as Wp,c8 as Up,cd as oi,cz as Bc,bo as qp,e as Vp,bX as Qi,c4 as Kp,cg as Gp,cP as Fc,bR as $i,b5 as po,bb as $a,aD as Jp,ay as Bo,at as zc,b9 as Hc,by as Yp,B as Xp,br as Zp,a6 as jc,cc as Qp,ak as Wc,cG as Uc,cC as el,ar as qc,aI as tl,a1 as $p,cq as eg,cN as tg,bK as Vc,bk as rg,c0 as rl,am as Kc,ax as ng,a8 as ag,a7 as sg}from"./BDq7EC2K.js";import{c as Gc}from"./ChTqQfQN.js";import{h as og}from"./BlJs0v1V.js";import{G2 as Mt,bG as ig,r2 as lg,GP as cg,GU as dg,g as Jc,FQ as ug,mt as Yc,mI as Xc,mH as Zc,mm as Js,oU as ii,vW as fg,tf as Es,sA as Fo,th as pg,ma as Qc,G7 as gg,rA as vg,nv as $c,pU as li,kW as nl,a0 as al,pv as mg,pr as hg,pw as bg,pn as yg,pt as _g,t5 as xg,yq as ed,yu as td,mJ as sl,b9 as zo,Ez as wg,FM as kg,mD as Ig,u2 as Sg,u3 as Cg,u1 as ol,zm as Xn,ck as rd,c8 as Eg,cY as Pg,d3 as Ag,yA as Tg}from"./BjFoJgFv.js";import{k as nd,f as il,O as ll,M as Rg,J as Lg,E as Ng,r as Mg,q as Og,R as Dg,Q as ad,N as Ho,e as as,a2 as cl,i as Bg}from"./172GvQgx.js";import{bi as Fg,bp as zg,h as Hg,t as jg,bs as Wg,U as Ug,W as qg,Y as Vg}from"./BUVaYTVI.js";import{i as Kg,h as Gg,p as jo,bO as Jg,E as Yg,bN as Xg,bK as Zg,au as dl,bM as Qg,bl as Wo,aE as $g,n as ev,b5 as tv,s as rv}from"./9JjZRepm.js";import{a0 as nv,ah as ws,ag as av,au as ul,aC as sv,af as ov,B as iv,i as lv,C as Ps,cz as cv,aP as fl,cE as dv,ac as uv,a4 as fv,r as pv,p as gv,az as vv,cH as mv,cq as hv,cj as bv,ca as yv,bD as _v}from"./D6eVIgjz.js";import{s as xv,j as wv,i as kv,I as Ua,c as pl}from"./CjVTzfqV.js";import"./BqRJyrRC.js";import"./B7mAnbbv.js";import{I as ci,P as Iv,s as Sv,k as Cv,G as Ev,o as Pv,l as Av,M as Tv,H as Rv,w as za,a as Lv,K as Nv,n as Mv,R as Ov}from"./bjkNeafo.js";import{t as ss,m as Dv,O as Bv,M as Fv,S as ha}from"./1jz3AJ7K.js";import{C as Uo}from"./ykvYWYIa.js";import{J as zv,L as Hv,K as jv,u as di,w as Wv,v as Ys,G as Uv,A as gl,e as os,d as ba,I as vl,c as qv,f as Vv,g as ml,i as Kv,b as Gv,o as sd,j as Jv,O as Yv,x as Xv,k as od,S as Zv,N as Qv,q as hl,p as $v,n as bl,z as em,s as tm}from"./PSWhBTN5.js";import{aK as rm,aS as nm,aI as am,aO as sm,a6 as Va,aY as yl,aE as om,aL as im,aR as ui,aM as fi,V as go,an as lm,W as cm,aU as dm,aD as um,aN as fm,aQ as pm,a$ as gm,aZ as vm,av as id,p as mm,n as hm,aP as bm,Z as ym,z as _m}from"./laFenviK.js";import{s as qo}from"./Cv6pFp-w.js";import{M as xm}from"./CpWqDujk.js";import{o as _l,a as xl,T as vo,b as wm}from"./C5E1PJb6.js";import{ad as km,a4 as Im,J as Sm,E as Cm,ag as Em}from"./D62E6eA-.js";import{D as is}from"./3sa2ZSPC.js";import"./DROi8p_h.js";import{C as na}from"./Bxc57npw.js";import{M as Pm}from"./BHwB2t2J.js";import{g as pi}from"./-fWJi05-.js";import{f as wl}from"./BKAT2tIv.js";import{c as As}from"./Ck11Hn8r.js";import{handleIntentLink as Am}from"./Cic3Ymv4.js";import{s as Tm,a as Rm,f as Lm,d as Nm,r as Mm,h as Om,w as es,g as Dm,W as Bm,H as Fm,c as zm,M as ld}from"./CcDZ8sih.js";import{e as Hm,q as jm}from"./B6LKhrY2.js";import{showAssistantContent as Wm}from"./BGgB8Pc0.js";import{o as Bs,c as Um,n as qm}from"./Cdv2uRTZ.js";import{p as Vm}from"./Cc8gV_FE.js";import{m as Km}from"./DY0zw3Os.js";import{h as ks}from"./DoLFtAtL.js";import{i as cd}from"./DJu_D7ND.js";import{b as Gm,f as Jm,h as Ym,j as Xm}from"./C563feV7.js";import{T as mo}from"./_cwefpRI.js";import{i as Zm,r as kl}from"./Bg8XhRuy.js";import{a as Qm}from"./3QmaYnff.js";import{a as $m}from"./BJzHxIyr.js";import{p as eh}from"./DAPK9slU.js";const th="intent:inline-visual-draft";function WI(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),s=(a.match(/`+/g)??[]).reduce((l,c)=>Math.max(l,c.length),0),o="`".repeat(Math.max(3,s+1));return`${r}${r?`
|
|
3
3
|
|
|
4
4
|
`:""}${n}
|
|
5
5
|
|
|
@@ -257,7 +257,7 @@ ${r.content}`:a.content=r.content,a):r.old_text!==void 0&&r.new_text!==void 0?(a
|
|
|
257
257
|
`,u1=["background","foreground","card","card-foreground","primary","primary-ink","primary-foreground","secondary","secondary-foreground","muted","muted-foreground","border","input","ring","danger","danger-background","info","info-foreground","success","success-foreground","warning","warning-foreground","font-ui","font-code","text-body-size","text-body-line-height","text-body-weight","text-body-tracking","radius-small","radius-medium","radius-large","app-background","sidebar","sidebar-accent","agent-avatar-surface-active","agent-avatar-foreground","diagram-host-surface","diagram-canvas","diagram-label-surface","diagram-node-surface","diagram-node-hover-surface","diagram-node-outline","diagram-node-title","diagram-metadata","diagram-group-outline","diagram-connector","diagram-connector-hover","diagram-connector-muted","diagram-connector-inactive","diagram-connector-danger","diagram-connector-success","diagram-connector-warning","diagram-connector-active","diagram-accent","diagram-accent-foreground","diagram-node-radius","diagram-group-radius","diagram-connector-width","text-caption-size","text-caption-line-height","text-caption-weight","text-caption-tracking","text-body-strong-size","text-body-strong-line-height","text-body-strong-weight","text-body-strong-tracking","space-1","space-2","space-3","space-4","space-5","space-6","space-7","control-height-compact","control-height-small","control-height-medium","control-height-large","radius-full","spring-fast","spring-fast-exit","spring-fast-ease","spring-moderate","spring-moderate-exit","spring-moderate-ease","spring-slow","spring-slow-exit","spring-slow-ease","spring-exit-ease","motion-fast","motion-standard","motion-slow","ease-standard","ease-emphasized-out","motion-reduced"],Po=96,fc=2e4,f1=480,gu=512,p1=["default-src 'none'","script-src 'unsafe-inline'","style-src 'unsafe-inline'","img-src data:","connect-src 'none'","font-src data:","media-src 'none'","object-src 'none'","frame-src 'none'","child-src 'none'","worker-src 'none'","manifest-src 'none'","base-uri 'none'","form-action 'none'"].join("; ");function g1(r,t,n,a,s,o){const l=new MessageChannel,c=MessagePort.prototype.postMessage.bind(l.port1);window.parent.postMessage({channel:r,type:"scroll-port"},"*",[l.port2]);const f=(C,F={})=>{window.parent.postMessage({channel:r,type:C,...F},"*")};let i=s?.state??null,p=null,g=!1;Object.defineProperty(window,"intentVisual",{configurable:!1,writable:!1,value:Object.freeze({get state(){return i},publish(C){try{if(!o(C))return!1;const F=JSON.parse(JSON.stringify(C));return i=F.state,p=F,g||(g=!0,requestAnimationFrame(()=>{g=!1,p&&f("snapshot",{snapshot:p}),p=null})),!0}catch{return!1}}})});let L=!1,b=-1,h=innerHeight,A=Number.NaN,T=0,H=0;const B=()=>{if(L=!1,!document.body)return;let C=Math.ceil(Math.max(document.body.scrollHeight,document.body.getBoundingClientRect().height));const F=innerHeight,K=C-F;if(F>h+1&&K>1&&Math.abs(K-A)<=1?T+=1:(F!==h||K<=1)&&(T=0),h=F,A=K,!H&&T>=3){H=Math.max(a,F);const X="Page height follows the frame (vh units or height: 100%); frame height held.";console.warn(X),f("layout",{message:X})}H&&(C=Math.min(C,H)),C!==b&&(b=C,f("resize",{height:C}))},O=()=>{L||(L=!0,requestAnimationFrame(B))},D=C=>{if(!C||typeof C.dark!="boolean"||!C.variables)return;const F=document.documentElement;F.classList.toggle("dark",C.dark),F.style.colorScheme=C.dark?"dark":"light";const K=C.variables["--inline-html-root-font-size"];"--inline-html-root-font-size"in t.variables&&typeof K=="string"&&K.length<512&&F.style.setProperty("--inline-html-root-font-size",K);for(const X of Object.keys(t.variables)){if(X==="--inline-html-root-font-size")continue;const de=C.variables[X];typeof de=="string"&&de.length<512&&F.style.setProperty(X,de)}O()};window.addEventListener("message",C=>{C.source!==window.parent||!C.data||C.data.channel!==r||C.data.type==="theme"&&D(C.data.theme)});const U=C=>{if(C.defaultPrevented||!C.isTrusted||C.ctrlKey||C.metaKey||C.shiftKey||!C.deltaY||Math.abs(C.deltaX)>Math.abs(C.deltaY))return;const F=de=>{const Pe=getComputedStyle(de);if(de!==document.scrollingElement&&!/^(auto|scroll|overlay)$/.test(Pe.overflowY)||/^(hidden|clip)$/.test(Pe.overflowY))return!1;const ue=de.scrollHeight-de.clientHeight;return ue>1&&(C.deltaY<0?de.scrollTop>1:de.scrollTop<ue-1)};if(C.composedPath().some(de=>de instanceof Element&&F(de))||document.scrollingElement&&F(document.scrollingElement))return;const K=C.deltaMode===WheelEvent.DOM_DELTA_LINE?parseFloat(getComputedStyle(document.body).lineHeight)||16:C.deltaMode===WheelEvent.DOM_DELTA_PAGE?innerHeight:1,X=Math.max(-n,Math.min(n,C.deltaY*K));Number.isFinite(X)&&(C.preventDefault(),c({deltaY:X}))};window.addEventListener("wheel",()=>{window.removeEventListener("wheel",U),window.addEventListener("wheel",U,{passive:!1})},{capture:!0,passive:!1}),window.addEventListener("error",C=>{C.message&&f("error",{message:C.message.slice(0,300)})}),window.addEventListener("unhandledrejection",C=>{const F=C.reason;f("error",{message:String(F instanceof Error?F.message:F).slice(0,300)})}),window.addEventListener("click",C=>{const F=C.target instanceof Element?C.target.closest("a, area"):null;if(!F)return;(F.getAttribute("href")??F.getAttribute("xlink:href"))?.startsWith("#")||C.preventDefault()},!0),window.addEventListener("submit",C=>C.preventDefault(),!0),D(t),window.addEventListener("DOMContentLoaded",()=>{new ResizeObserver(O).observe(document.body),new MutationObserver(O).observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),window.addEventListener("resize",O),document.addEventListener("load",O,!0),document.fonts.ready.then(O),f("ready"),O()},{once:!0})}function v1(r,t,n,a,s){const o=document.createElement("iframe");o.setAttribute("sandbox","allow-scripts"),o.setAttribute("referrerpolicy","no-referrer"),o.title=n,o.style.cssText="display:block;width:100%;height:100%;border:0;";let l;const c=f=>{const i=f.data?.deltaY;typeof i=="number"&&Number.isFinite(i)&&i!==0&&Math.abs(i)<=a&&window.parent.postMessage({channel:r,type:"wheel",deltaY:i},"*")};window.addEventListener("message",f=>{const i=f.data;if(!(!i||typeof i!="object"||i.channel!==r)){if(f.source===window.parent&&i.type==="theme"){o.contentWindow?.postMessage({channel:r,type:"theme",theme:i.theme},"*");return}if(!(f.source!==o.contentWindow||f.origin!=="null")){if(i.type==="scroll-port"&&!l&&f.ports.length===1){l=f.ports[0],l.onmessage=c;return}i.type==="resize"&&typeof i.height=="number"&&Number.isFinite(i.height)&&i.height>=0?window.parent.postMessage({channel:r,type:"resize",height:i.height},"*"):i.type==="ready"?window.parent.postMessage({channel:r,type:"ready"},"*"):(i.type==="error"||i.type==="layout")&&typeof i.message=="string"?window.parent.postMessage({channel:r,type:i.type,message:i.message.slice(0,300)},"*"):i.type==="snapshot"&&s(i.snapshot)&&window.parent.postMessage({channel:r,type:"snapshot",snapshot:i.snapshot},"*")}}}),window.addEventListener("DOMContentLoaded",()=>{o.srcdoc=t,document.body.append(o)},{once:!0})}function m1(r,t,n,a,s,o,l,c){const f=document.implementation.createHTMLDocument(""),i=f.createElement("template");i.innerHTML=n,f.body.append(i.content);const p=X=>{X.querySelectorAll("meta, base, link, iframe, frame, frameset, object, embed").forEach(de=>de.remove()),X.querySelectorAll("template").forEach(de=>p(de.content)),X.querySelectorAll("a, area").forEach(de=>{for(const Pe of["href","xlink:href"])de.getAttribute(Pe)?.startsWith("#")||de.removeAttribute(Pe);de.removeAttribute("target"),de.removeAttribute("ping"),de.removeAttribute("download")})};p(f);const g=X=>JSON.stringify(X).replace(/</g,"\\u003c"),L=f.createElement("meta");L.httpEquiv="Content-Security-Policy",L.content=r.csp;const b=f.createElement("meta");b.setAttribute("charset","utf-8");const h=f.createElement("style"),A=/^data:[\w.+/-]+;base64,[A-Za-z0-9+/=]+$/.test(c)?`@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900;
|
|
258
258
|
font-display: swap; src: url('${c}') format('woff2'); }`:"";h.textContent=`${A}${r.styles}`;const T=f.createElement("script"),H=g([a,s,r.maxScrollDelta,r.lockHeight,t(l)?l:null]);T.textContent=`(${r.bridge})(...${H}, (${r.validate}));`,f.head.prepend(L,b,h,T);const B=`<!doctype html>${f.documentElement.outerHTML}`,O=document.implementation.createHTMLDocument(""),D=O.createElement("meta");D.httpEquiv="Content-Security-Policy",D.content=r.csp.replace("frame-src 'none'","frame-src about:");const U=O.createElement("meta");U.setAttribute("charset","utf-8");const C=O.createElement("style");C.textContent="html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }";const F=O.createElement("script"),K=g([a,B,o,r.maxScrollDelta]);return F.textContent=`(${r.shell})(...${K}, (${r.validate}));`,O.head.prepend(D,U,C,F),`<!doctype html>${O.documentElement.outerHTML}`}const h1=()=>({csp:p1,styles:d1,maxScrollDelta:gu,lockHeight:f1,bridge:g1.toString(),shell:v1.toString(),validate:li.toString()});function b1(r,t,n,a,s=null,o=""){return m1(h1(),li,r,t,n,a,s,o)}function pc(r){const t=getComputedStyle(r);return{dark:document.documentElement.classList.contains("dark"),variables:{...Object.fromEntries(u1.map(n=>[`--${n}`,t.getPropertyValue(`--${n}`).trim()])),"--inline-html-root-font-size":getComputedStyle(document.documentElement).fontSize}}}function y1(r,t,n,a,s=null){return b1(r,t,n,a,s,c1)}var _1=I('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground"> </p>'),x1=I('<div class="type-body flex items-center justify-between gap-3 px-4 py-2" role="status"><span class="text-danger"> </span> <!></div> <!>',1),w1=I('<p class="sr-only" role="status"> </p>'),k1=I('<p class="type-body m-0 px-4 py-3 text-muted-foreground" role="status"> </p>'),I1=I('<div class="type-body px-4 py-2 text-danger" role="status"><p class="m-0"> </p> <p class="type-code m-0 break-words"> </p></div>'),S1=I('<iframe sandbox="allow-scripts" referrerpolicy="no-referrer"></iframe>'),C1=I('<div class="space-y-4 p-4" aria-hidden="true"><div class="space-y-2"><!> <!></div> <!> <div class="flex items-center gap-4"><!> <!> <!></div></div>'),E1=I('<span class="type-caption ml-auto text-muted-foreground" role="status"> </span>'),P1=I('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground" role="status"> <!></p>'),A1=I('<th class="min-w-40 px-2 pb-3 align-top font-normal"><!> <div class="mt-1 flex gap-1"><!> <!></div></th>'),T1=I('<td class="max-w-56 px-2 py-2 align-top break-words tabular-nums"> </td>'),R1=I('<tr><th class="max-w-48 py-2 pr-4 align-top font-normal break-words text-muted-foreground"> </th><!></tr>'),L1=I('<div class="overflow-x-auto px-4 pb-4" data-inline-visual-comparison=""><table class="type-body w-full border-separate border-spacing-0 text-left"><thead><tr><th class="min-w-28 pr-4 pb-3 font-normal text-muted-foreground"> </th><th class="min-w-32 px-2 pb-3 align-top font-medium"> </th><!></tr></thead><tbody></tbody></table></div>'),N1=I('<div class="flex flex-wrap items-center gap-1 px-4 py-2" data-inline-visual-actions=""><!> <!> <!> <!> <!></div> <!> <!>',1),M1=I('<div data-inline-html="" class="my-3 min-w-0 overflow-hidden rounded-lg bg-background text-foreground"><div class="flex min-w-0 items-center justify-end gap-1 p-1"><!> <!></div> <!> <!> <div class="relative min-w-0"><!> <!></div> <!></div>');function vu(r,t){if(new.target)return Ht({component:vu,...r});Ut(t,!0);const n=720;let a=y(t,"source",7),s=y(t,"isStreaming",7,!1),o=y(t,"isComplete",7,!0),l=y(t,"record",7),c=y(t,"storageStatus",7,"ready"),f=y(t,"onRecordChange",7),i=y(t,"onUseConfiguration",7),p=y(t,"onExport",7),g=y(t,"onRetry",7),L=y(t,"storageError",7),b=y(t,"exportStatus",7),h=y(t,"exportPath",7),A=y(t,"exportError",7),T,H=we(void 0),B=we(!1),O=we(!1),D=we(0),U=we(""),C=we(""),F=we(!1),K=we(""),X=we(Ur(Po)),de=we(n),Pe=we(""),ue=we(nl()),Z=we(void 0),ge,Me=we(void 0),G=we(!1);const fe=u(()=>l()??e(ue)),$=u(()=>c()!=="loading"&&(c()!=="error"||!!e(fe).current)),Ae=u(()=>!s()&&o()&&!!a().trim()&&e($)),Se=u(()=>Math.min(fc,Math.max(Po,e(X)))),Ie=u(()=>s()||c()==="loading"?"loading":o()?a().trim()?e(K)?"error":e(F)?"ready":"loading":"empty":"incomplete"),Ye=u(()=>s()||c()==="loading"||e(Ae)&&!e(F)&&!e(K));function Xe(ee){const ke={...ee,current:e(Z)??ee.current};N(ue,ke),f()?.(ke)}function $e(){const ee=e(Z);!ee||e(fe).scenarios.length>=al||(Xe({...e(fe),scenarios:[...e(fe).scenarios,{id:crypto.randomUUID(),name:xf({number:Vi(e(fe).scenarios.length+1)}),snapshot:structuredClone(ee)}]}),N(G,!0))}function te(ee,ke){const at=ke.trim().slice(0,120);at&&Xe({...e(fe),scenarios:e(fe).scenarios.map(et=>et.id===ee?{...et,name:at}:et)})}function Q(ee){const ke=structuredClone(ee);N(Z,ke),N(Me,ke),Xe({...e(fe),current:ke}),N(D,e(D)+1)}function tt(ee){return typeof ee=="number"?Vi(ee):typeof ee=="string"?ee:JSON.stringify(ee)}function J(){!e(H)?.contentWindow||!e(C)||e(H).contentWindow.postMessage({channel:e(C),type:"theme",theme:pc(T)},"*")}function V(ee){let ke=T.parentElement;for(;ke;){const at=getComputedStyle(ke),et=ke.scrollHeight-ke.clientHeight;if(/^(auto|scroll|overlay)$/.test(at.overflowY)&&et>1){if(ee<0?ke.scrollTop>0:ke.scrollTop<et){ke.dispatchEvent(new WheelEvent("wheel",{deltaY:ee,bubbles:!0})),ke.scrollTop+=ee;return}if(/^(contain|none)$/.test(at.overscrollBehaviorY))return}ke=ke.parentElement}window.scrollBy({top:ee,behavior:"instant"})}Ct(()=>{if(!e(B))return;const ee=a(),ke=e(Ae);e(D),Ln(()=>{ge!==ee&&(N(ue,nl()),N(Z,void 0),N(G,!1),N(Me,void 0),ge=ee),N(F,!1),N(K,""),N(Pe,""),N(X,Po,!0),N(C,crypto.randomUUID(),!0),N(U,ke?y1(ee,e(C),pc(T),Wi(),e(Me)??e(Z)??e(fe).current):"",!0),N(Me,void 0)})}),gs(()=>{N(B,!0);const ee=gt=>{if(gt.source!==e(H)?.contentWindow||gt.origin!=="null")return;const He=gt.data;if(!(!He||typeof He!="object"||He.channel!==e(C)))if(He.type==="resize"&&typeof He.height=="number"&&Number.isFinite(He.height)&&He.height>=0)N(X,Math.min(fc,Math.ceil(He.height)),!0);else if(He.type==="ready")N(F,!0),J();else if(He.type==="error"&&typeof He.message=="string")N(K,He.message.slice(0,300),!0);else if(He.type==="layout"&&typeof He.message=="string")N(Pe,He.message.slice(0,300),!0);else if(He.type==="snapshot"&&e(Ae)&&li(He.snapshot)){const ht=He.snapshot;N(Z,ht),Xe({...e(fe),current:ht})}else He.type==="wheel"&&e(F)&&e(Ae)&&!e(O)&&!e(Ye)&&typeof He.deltaY=="number"&&Number.isFinite(He.deltaY)&&He.deltaY!==0&&Math.abs(He.deltaY)<=gu&&V(He.deltaY)},ke=()=>{N(de,Math.min(n,Math.max(160,Math.floor(window.innerHeight*.8))),!0)},at=new MutationObserver(J);at.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style","data-theme"]});const et=window.matchMedia("(prefers-color-scheme: dark)");return et.addEventListener("change",J),window.addEventListener("message",ee),window.addEventListener("resize",ke),ke(),()=>{at.disconnect(),et.removeEventListener("change",J),window.removeEventListener("message",ee),window.removeEventListener("resize",ke)}});var q={get source(){return a()},set source(ee){a(ee),_()},get isStreaming(){return s()},set isStreaming(ee=!1){s(ee),_()},get isComplete(){return o()},set isComplete(ee=!0){o(ee),_()},get record(){return l()},set record(ee){l(ee),_()},get storageStatus(){return c()},set storageStatus(ee="ready"){c(ee),_()},get onRecordChange(){return f()},set onRecordChange(ee){f(ee),_()},get onUseConfiguration(){return i()},set onUseConfiguration(ee){i(ee),_()},get onExport(){return p()},set onExport(ee){p(ee),_()},get onRetry(){return g()},set onRetry(ee){g(ee),_()},get storageError(){return L()},set storageError(ee){L(ee),_()},get exportStatus(){return b()},set exportStatus(ee){b(ee),_()},get exportPath(){return h()},set exportPath(ee){h(ee),_()},get exportError(){return A()},set exportError(ee){A(ee),_()},$set:jt,$on:(ee,ke)=>Wt(t,ee,ke)},ce=M1(),_e=S(ce),Y=S(_e);yt(Y,{variant:"ghost",size:"sm",get active(){return e(O)},get"aria-pressed"(){return e(O)},onclick:()=>{N(O,!e(O))},children:(ee,ke)=>{sr();var at=Lt();k(et=>x(at,et),[()=>e(O)?uf():ff()]),d(ee,at)},$$slots:{default:!0}});var he=v(Y,2);{let ee=u(()=>!e(Ae));yt(he,{variant:"ghost",size:"sm",get disabled(){return e(ee)},onclick:()=>{N(D,e(D)+1)},children:(ke,at)=>{sr();var et=Lt();k(gt=>x(et,gt),[()=>pf()]),d(ke,et)},$$slots:{default:!0}})}w(_e);var Le=v(_e,2);{var je=ee=>{var ke=x1(),at=ze(ke),et=S(at),gt=R(et,!0),He=v(et,2);{var ht=ft=>{yt(ft,{variant:"ghost",size:"sm",get onclick(){return g()},children:(Pt,At)=>{sr();var Zt=Lt();k(xt=>x(Zt,xt),[()=>wf()]),d(Pt,Zt)},$$slots:{default:!0}})};M(He,ft=>{g()&&ft(ht)})}w(at);var ot=v(at,2);{var vt=ft=>{var Pt=_1(),At=R(Pt,!0);k(()=>x(At,L())),d(ft,Pt)};M(ot,ft=>{L()&&ft(vt)})}k(ft=>x(gt,ft),[()=>gf()]),d(ee,ke)};M(Le,ee=>{c()==="error"&&ee(je)})}var st=v(Le,2);{var z=ee=>{var ke=w1(),at=R(ke,!0);k(et=>x(at,et),[()=>s()?vf():mf()]),d(ee,ke)},ie=ee=>{var ke=k1(),at=R(ke,!0);k(et=>x(at,et),[()=>o()?bf():hf()]),d(ee,ke)},Te=ee=>{var ke=I1(),at=S(ke),et=R(at,!0),gt=v(at,2),He=R(gt,!0);w(ke),k(ht=>{x(et,ht),x(He,e(K))},[()=>yf()]),d(ee,ke)};M(st,ee=>{e(Ye)?ee(z):e(Ae)?e(K)&&ee(Te,2):ee(ie,1)})}var Ge=v(st,2),ve=S(Ge);{var P=ee=>{var ke=S1();let at,et;gr(ke,gt=>N(H,gt),()=>e(H)),k(gt=>{oe(ke,"title",gt),oe(ke,"srcdoc",e(U)),at=mt(ke,1,"block w-full border-0 svelte-1kkow1d",null,at,{"preview-hidden":e(O)||e(Ye)}),oe(ke,"aria-hidden",e(O)||e(Ye)),et=Mn(ke,"",et,{height:`${e(Se)}px`})},[()=>Wi()]),d(ee,ke)};M(ve,ee=>{e(Ae)&&e(U)&&ee(P)})}var j=v(ve,2);{var me=ee=>{na(ee,{get code(){return a()},language:"html",noBorder:!0,noMargin:!0,get maxHeight(){return e(de)}})},qe=ee=>{var ke=C1(),at=S(ke),et=S(at);za(et,{class:"h-4 w-32 max-w-1/2"});var gt=v(et,2);za(gt,{class:"h-3 w-2/3"}),w(at);var He=v(at,2);za(He,{class:"aspect-video max-h-60 w-full rounded-lg"});var ht=v(He,2),ot=S(ht);za(ot,{class:"h-3 w-16"});var vt=v(ot,2);za(vt,{class:"h-2 min-w-0 flex-1"});var ft=v(vt,2);za(ft,{class:"h-3 w-10"}),w(ht),w(ke),d(ee,ke)};M(j,ee=>{e(O)?ee(me):e(Ye)&&ee(qe,1)})}w(Ge);var Ce=v(Ge,2);{var Ve=ee=>{var ke=N1(),at=ze(ke),et=S(at);{var gt=St=>{{let Gt=u(()=>!e(F)||!!e(K));yt(St,{size:"sm",get disabled(){return e(Gt)},onclick:()=>e(Z)&&i()(e(Z)),children:(Ot,pe)=>{sr();var re=Lt();k(Ue=>x(re,Ue),[()=>kf()]),d(Ot,re)},$$slots:{default:!0}})}};M(et,St=>{i()&&St(gt)})}var He=v(et,2);{let St=u(()=>!e(F)||!!e(K)||e(fe).scenarios.length>=al);yt(He,{variant:"ghost",size:"sm",get disabled(){return e(St)},onclick:$e,children:(Gt,Ot)=>{sr();var pe=Lt();k(re=>x(pe,re),[()=>_f()]),d(Gt,pe)},$$slots:{default:!0}})}var ht=v(He,2);{var ot=St=>{yt(St,{variant:"ghost",size:"sm",get active(){return e(G)},get"aria-expanded"(){return e(G)},onclick:()=>N(G,!e(G)),children:(Gt,Ot)=>{sr();var pe=Lt();k(re=>x(pe,re),[()=>If()]),d(Gt,pe)},$$slots:{default:!0}})};M(ht,St=>{e(fe).scenarios.length&&St(ot)})}var vt=v(ht,2);{var ft=St=>{{let Gt=u(()=>!e(F)||b()==="saving");yt(St,{variant:"ghost",size:"sm",get disabled(){return e(Gt)},onclick:()=>p()({...e(fe),current:e(Z)??null}),children:(Ot,pe)=>{sr();var re=Lt();k(Ue=>x(re,Ue),[()=>Sf()]),d(Ot,re)},$$slots:{default:!0}})}};M(vt,St=>{p()&&St(ft)})}var Pt=v(vt,2);{var At=St=>{var Gt=E1(),Ot=R(Gt,!0);k(pe=>x(Ot,pe),[()=>c()==="saving"?Cf():c()==="ready"?Ef():""]),d(St,Gt)};M(Pt,St=>{f()&&St(At)})}w(at);var Zt=v(at,2);{var xt=St=>{var Gt=P1(),Ot=S(Gt),pe=v(Ot);{var re=Ue=>{var rt=Lt();k(()=>x(rt,A())),d(Ue,rt)};M(pe,Ue=>{b()==="error"&&A()&&Ue(re)})}w(Gt),k(Ue=>x(Ot,`${Ue??""} `),[()=>b()==="saving"?Pf():b()==="saved"?Af({path:h()??""}):Tf()]),d(St,Gt)};M(Zt,St=>{b()&&St(xt)})}var zt=v(Zt,2);{var er=St=>{var Gt=L1(),Ot=S(Gt),pe=S(Ot),re=S(pe),Ue=S(re),rt=R(Ue,!0),lt=v(Ue),Oe=R(lt,!0),se=v(lt);Tt(se,17,()=>e(fe).scenarios,ae=>ae.id,(ae,be)=>{var xe=A1(),Be=S(xe);{let De=u(()=>Nf());Ua(Be,{get value(){return e(be).name},get"aria-label"(){return e(De)},maxlength:120,onblur:Fe=>{Fe.currentTarget.value.trim()||(Fe.currentTarget.value=e(be).name),te(e(be).id,Fe.currentTarget.value)},onkeydown:Fe=>{Fe.key==="Enter"&&Fe.currentTarget.blur(),Fe.key==="Escape"&&(Fe.currentTarget.value=e(be).name,Fe.currentTarget.blur())}})}var Re=v(Be,2),Ze=S(Re);yt(Ze,{variant:"ghost",size:"sm",onclick:()=>Q(e(be).snapshot),children:(De,Fe)=>{sr();var We=Lt();k(Qe=>x(We,Qe),[()=>Rf()]),d(De,We)},$$slots:{default:!0}});var Je=v(Ze,2);yt(Je,{variant:"ghost",size:"sm",onclick:()=>Xe({...e(fe),scenarios:e(fe).scenarios.filter(De=>De.id!==e(be).id)}),children:(De,Fe)=>{sr();var We=Lt();k(Qe=>x(We,Qe),[()=>Lf()]),d(De,We)},$$slots:{default:!0}}),w(Re),w(xe),d(ae,xe)}),w(re),w(pe);var le=v(pe);Tt(le,20,()=>["inputs","results"],Rr,(ae,be)=>{const xe=u(()=>be),Be=u(()=>Array.from(new Set([...Object.keys(e(Z)[e(xe)]),...e(fe).scenarios.flatMap(Je=>Object.keys(Je.snapshot[e(xe)]))])));var Re=kt(),Ze=ze(Re);Tt(Ze,16,()=>e(Be),Je=>Je,(Je,De)=>{var Fe=R1(),We=S(Fe),Qe=R(We,!0),ut=v(We);Tt(ut,17,()=>[e(Z),...e(fe).scenarios.map(ct=>ct.snapshot)],Rr,(ct,dt)=>{var wt=T1(),bt=R(wt,!0);k(Rt=>x(bt,Rt),[()=>Object.hasOwn(e(dt)[e(xe)],De)?tt(e(dt)[e(xe)][De]):"—"]),d(ct,wt)}),w(Fe),k(()=>x(Qe,De)),d(Je,Fe)}),d(ae,Re)}),w(le),w(Ot),w(Gt),k(ae=>{x(rt,e(Z).title),x(Oe,ae)},[()=>Mf()]),d(St,Gt)};M(zt,St=>{e(G)&&e(fe).scenarios.length&&St(er)})}d(ee,ke)};M(Ce,ee=>{e(Z)&&e(Ae)&&ee(Ve)})}return w(ce),gr(ce,ee=>T=ee,()=>T),k(()=>{oe(ce,"data-inline-html-status",e(Ie)),oe(ce,"data-inline-html-layout",e(Pe)?"viewport-locked":void 0),oe(ce,"aria-busy",e(Ye))}),d(r,ce),qt(q)}var O1=I('<div class="w-full min-w-0"><!></div>');function D1(r,t){if(new.target)return Ht({component:D1,...r});Ut(t,!0);const n=()=>Ft(e(b),"$agent$",s),a=()=>Ft(e(H),"$entry$",s),[s,o]=ca();let l=y(t,"block",7),c=y(t,"role",7),f=y(t,"workspaceId",7),i=y(t,"agentId",7),p=y(t,"messageId",7),g=y(t,"contentBlockKey",7,""),L=we(void 0);const b=u(()=>Gs(i()??"")),h=u(()=>c()==="assistant"&&f()&&i()&&p()&&l().metadata?.fenceClosed&&!l().metadata?.isStreaming&&n()&&!$c(n())?{workspaceId:f(),agentId:i(),messageId:p(),blockKey:JSON.stringify([g(),l().metadata?.fenceStart??0]),source:l().content}:void 0),A=u(()=>!!(f()&&i()&&p()&&l().metadata?.fenceClosed&&!n())),T=u(()=>e(h)?_g(e(h)):""),H=u(()=>am(e(T)));Ct(()=>{e(h)&&Mt.dispatch(mg(e(h)))});function B(X){!f()||!i()||n()?.retiredAt||e(L)?.dispatchEvent(new CustomEvent(th,{bubbles:!0,detail:{workspaceId:f(),agentId:i(),snapshot:X}}))}var O={get block(){return l()},set block(X){l(X),_()},get role(){return c()},set role(X){c(X),_()},get workspaceId(){return f()},set workspaceId(X){f(X),_()},get agentId(){return i()},set agentId(X){i(X),_()},get messageId(){return p()},set messageId(X){p(X),_()},get contentBlockKey(){return g()},set contentBlockKey(X=""){g(X),_()},$set:jt,$on:(X,de)=>Wt(t,X,de)},D=kt(),U=ze(D);{var C=X=>{var de=O1(),Pe=S(de);{let ue=u(()=>l().metadata?.isStreaming??!1),Z=u(()=>l().metadata?.fenceClosed??!1),ge=u(()=>a()?.record),Me=u(()=>e(h)?a()?.status??"loading":e(A)?"loading":"ready"),G=u(()=>a()?.error),fe=u(()=>e(h)?$e=>Mt.dispatch(yg(e(T),$e)):void 0),$=u(()=>f()&&i()&&n()&&!n().retiredAt?B:void 0),Ae=u(()=>e(h)?()=>Mt.dispatch(bg(e(T))):void 0),Se=u(()=>e(h)?$e=>Mt.dispatch(hg(e(T),crypto.randomUUID(),$e)):void 0),Ie=u(()=>a()?.export?.status),Ye=u(()=>a()?.export?.path),Xe=u(()=>a()?.export?.error);vu(Pe,{get source(){return l().content},get isStreaming(){return e(ue)},get isComplete(){return e(Z)},get record(){return e(ge)},get storageStatus(){return e(Me)},get storageError(){return e(G)},get onRecordChange(){return e(fe)},get onUseConfiguration(){return e($)},get onRetry(){return e(Ae)},get onExport(){return e(Se)},get exportStatus(){return e(Ie)},get exportPath(){return e(Ye)},get exportError(){return e(Xe)}})}w(de),gr(de,ue=>N(L,ue),()=>e(L)),d(X,de)},F=X=>{na(X,{get code(){return l().content},language:"html"})};M(U,X=>{c()==="assistant"?X(C):X(F,-1)})}d(r,D);var K=qt(O);return o(),K}var B1=I('<div class="digest-card flex items-start gap-2.5 py-5 px-6 my-4 shadow-xs text-base leading-normal border border-border"> </div>');function F1(r,t){if(new.target)return Ht({component:F1,...r});Ut(t,!0);let n=y(t,"digest",7);var a={get digest(){return n()},set digest(l){n(l),_()},$set:jt,$on:(l,c)=>Wt(t,l,c)},s=B1(),o=R(s,!0);return k(()=>x(o,n())),d(r,s),qt(a)}var z1=I('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-blue-500/15 text-blue-600 dark:text-blue-400"> </span>'),H1=I('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-muted text-muted-foreground"> </span>'),j1=I('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-primary/10 text-primary/80"> </span>'),W1=I('<div class="flex items-start gap-3 px-4 py-2.5"><div class="flex-1 min-w-0"><div class="flex items-center gap-2 flex-wrap"><span class="text-sm font-semibold text-foreground"> </span> <!> <!></div> <div class="mt-0.5 text-xs font-mono text-muted-foreground truncate"> </div></div></div>'),U1=I('<div class="detected-scripts-card my-3 rounded-lg border border-border bg-muted/30 overflow-hidden"><div class="flex items-center gap-2 px-4 py-2.5 border-b border-border bg-muted/40"><!> <span class="text-sm font-semibold text-foreground"> </span></div> <div class="divide-y divide-border"></div> <div class="px-4 py-2 border-t border-border bg-muted/20"><span class="text-xs text-muted-foreground"> </span></div></div>');function q1(r,t){if(new.target)return Ht({component:q1,...r});Ut(t,!0);let n=y(t,"scripts",7);var a={get scripts(){return n()},set scripts(b){n(b),_()},$set:jt,$on:(b,h)=>Wt(t,b,h)},s=U1(),o=S(s),l=S(o);Et(l,{get icon(){return Fc},size:"sm",class:"text-primary-ink/70"});var c=v(l,2),f=R(c,!0);w(o);var i=v(o,2);Tt(i,21,n,b=>b.name+b.command,(b,h)=>{var A=W1(),T=S(A),H=S(T),B=S(H),O=R(B,!0),D=v(B,2);{var U=Pe=>{var ue=z1(),Z=R(ue,!0);k(ge=>x(Z,ge),[()=>m.chat_detectedScripts_service_badge()]),d(Pe,ue)},C=Pe=>{var ue=H1(),Z=R(ue,!0);k(ge=>x(Z,ge),[()=>m.chat_detectedScripts_command_badge()]),d(Pe,ue)};M(D,Pe=>{e(h).mode==="service"?Pe(U):Pe(C,-1)})}var F=v(D,2);{var K=Pe=>{var ue=j1(),Z=R(ue,!0);k(()=>x(Z,e(h).category)),d(Pe,ue)};M(F,Pe=>{e(h).category&&e(h).category!=="other"&&Pe(K)})}w(H);var X=v(H,2),de=R(X,!0);w(T),w(A),k(()=>{x(O,e(h).name),x(de,e(h).command)}),d(b,A)}),w(i);var p=v(i,2),g=S(p),L=R(g,!0);return w(p),w(s),k((b,h)=>{x(f,b),x(L,h)},[()=>m.chat_detectedScripts_title(),()=>n().length===1?m.chat_detectedScripts_count_one({count:lr(n().length)}):m.chat_detectedScripts_count_many({count:lr(n().length)})]),d(r,s),qt(a)}function V1(r,t){if(new.target)return Ht({component:V1,...r});Ut(t,!0);let n=y(t,"diff",7),a=y(t,"filePath",7),s=y(t,"language",7),o=y(t,"onApply",7),l=y(t,"onReject",7);function c(){o()?.(),ra.success(m.chat_diffViewer_applied_toast())}function f(){l()?.(),ra.info(m.chat_diffViewer_rejected_toast())}const i=u(()=>{const g=[];return o()&&g.push({label:m.chat_diffViewer_apply_label(),variant:"success",onClick:c}),l()&&g.push({label:m.chat_diffViewer_reject_label(),variant:"danger",onClick:f}),g});var p={get diff(){return n()},set diff(g){n(g),_()},get filePath(){return a()},set filePath(g){a(g),_()},get language(){return s()},set language(g){s(g),_()},get onApply(){return o()},set onApply(g){o(g),_()},get onReject(){return l()},set onReject(g){l(g),_()},$set:jt,$on:(g,L)=>Wt(t,g,L)};{let g=u(()=>a()||m.chat_diffViewer_suggestedChanges_fallback());is(r,{get patch(){return n()},get fileName(){return e(g)},get language(){return s()},get actions(){return e(i)},collapsible:!0,initialCollapsed:!1,maxHeight:"500px"})}return qt(p)}var K1=ya('<circle fill="none" style="transition: stroke-dasharray 0.3s ease-out"></circle>'),gc=ya("<circle></circle>"),G1=ya('<svg class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 fill-background" viewBox="0 0 8 6"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.69471 1.69471C7.87687 1.50611 7.97766 1.25351 7.97539 0.991311C7.97311 0.729114 7.86794 0.478302 7.68253 0.292894C7.49712 0.107485 7.24631 0.00231622 6.98411 3.78025e-05C6.72192 -0.00224062 6.46931 0.0985542 6.28071 0.280712L2.98771 3.57371L1.69471 2.28071C1.50611 2.09855 1.25351 1.99776 0.991311 2.00004C0.729114 2.00232 0.478302 2.10749 0.292894 2.29289C0.107485 2.4783 0.00231622 2.72911 3.78025e-05 2.99131C-0.00224062 3.25351 0.0985542 3.50611 0.280712 3.69471L2.28071 5.69471C2.46824 5.88218 2.72255 5.9875 2.98771 5.9875C3.25288 5.9875 3.50718 5.88218 3.69471 5.69471L7.69471 1.69471Z"></path></svg>'),J1=I('<div class="relative"><svg fill="none" xmlns="http://www.w3.org/2000/svg"><circle fill="none"></circle><!></svg> <!></div>');function Ls(r,t){if(new.target)return Ht({component:Ls,...r});Ut(t,!0);let n=y(t,"phase",7),a=y(t,"progress",7,0),s=y(t,"size",7,16),o=y(t,"class",7,""),l=u(()=>s()/2),c=u(()=>e(l)),f=u(()=>e(l)),i=u(()=>s()*.12),p=u(()=>e(l)-e(i)/2),g=u(()=>e(l)*.35),L=u(()=>2*Math.PI*e(g)),b=u(()=>Math.max(0,Math.min(1,a()))*e(L));const h={planning:"#99999999",building:"#54B1F3",reviewing:"#6D7FF5",shipped:"var(--color-foreground)"};let A=u(()=>h[n()]||"currentColor");var T={get phase(){return n()},set phase(ue){n(ue),_()},get progress(){return a()},set progress(ue=0){a(ue),_()},get size(){return s()},set size(ue=16){s(ue),_()},get class(){return o()},set class(ue=""){o(ue),_()},$set:jt,$on:(ue,Z)=>Wt(t,ue,Z)},H=J1(),B=S(H),O=S(B),D=v(O);{var U=ue=>{},C=ue=>{var Z=K1();k(()=>{oe(Z,"cx",e(c)),oe(Z,"cy",e(f)),oe(Z,"r",e(g)*.8),oe(Z,"stroke",e(A)),oe(Z,"stroke-width",e(g)*1.5),oe(Z,"stroke-dasharray",`${e(b)??""} ${e(L)??""}`),oe(Z,"stroke-dashoffset",e(L)*.25),oe(Z,"transform",`rotate(-90 ${e(c)??""} ${e(f)??""})`)}),d(ue,Z)},F=ue=>{var Z=gc();k(()=>{oe(Z,"cx",e(c)),oe(Z,"cy",e(f)),oe(Z,"r",e(p)*.6),oe(Z,"fill",e(A))}),d(ue,Z)},K=ue=>{var Z=gc();k(()=>{oe(Z,"cx",e(c)),oe(Z,"cy",e(f)),oe(Z,"r",e(p)),oe(Z,"fill",e(A))}),d(ue,Z)};M(D,ue=>{n()==="planning"?ue(U):n()==="building"?ue(C,1):n()==="reviewing"?ue(F,2):n()==="shipped"&&ue(K,3)})}w(B);var X=v(B,2);{var de=ue=>{},Pe=ue=>{var Z=G1();k(()=>oe(Z,"width",s()*.5)),d(ue,Z)};M(X,ue=>{n()==="reviewing"?ue(de):n()==="shipped"&&ue(Pe,1)})}return w(H),k(()=>{oe(B,"width",s()),oe(B,"height",s()),oe(B,"viewBox",`0 0 ${s()??""} ${s()??""}`),mt(B,0,cr(o())),oe(O,"cx",e(c)),oe(O,"cy",e(f)),oe(O,"r",e(p)),oe(O,"stroke",e(A)),oe(O,"stroke-width",e(i))}),d(r,H),qt(T)}var vc=I('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full"></span> </span>'),Y1=I('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full bg-border"></span> </span>'),mc=I('<span class="text-ui text-subtle truncate"> </span>'),hc=I('<div class="flex items-center gap-1 mt-0.5"><!> <!></div>'),bc=I('<div class="flex items-start gap-2"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-xs leading-snug truncate"> </div> <!></div></div>'),X1=I('<div class="flex items-center gap-2"><div class="shrink-0"><!></div> <span class="text-ui text-subtle truncate line-through"> </span></div>'),Z1=I('<span class="text-ui text-subtle pl-4"> </span>'),Q1=I('<div class="flex flex-col gap-0.5 pt-1 border-t border-border"><!> <!></div>'),$1=I('<div class="text-ui text-subtle"> </div>'),e0=I("<!> <!> <!> <!>",1),t0=I('<div class="flex flex-col py-2 px-3 gap-2 max-h-80 overflow-y-auto"><div class="flex items-center justify-between gap-3"><span class="text-xs font-semibold text-foreground"> </span> <div class="flex items-center gap-3 text-ui text-subtle"><!> <!> <!></div></div> <!></div>'),r0=I('<div class="rounded-[0.5px]"></div>');function mu(r,t){if(new.target)return Ht({component:mu,...r});Ut(t,!0);let n=y(t,"stats",7),a=y(t,"tasks",23,()=>[]),s=y(t,"maxBars",7,20),o=y(t,"barWidth",7,"1px"),l=y(t,"barHeight",7,"16px"),c=y(t,"gap",7,"1px"),f=y(t,"class",7);const i={completed:"#22c55e",inProgress:"#4F7BF7",notStarted:"var(--border)"};let p=u(()=>{const{completed:D,inProgress:U,notStarted:C,total:F}=n();if(F===0)return[];const K=[...Array(D).fill("completed"),...Array(U).fill("inProgress"),...Array(Math.max(0,C)).fill("notStarted")];return K.length<=s()?K:K.slice(K.length-s())}),g=u(()=>a().filter(D=>D.status==="complete")),L=u(()=>a().filter(D=>D.status==="in_progress"||D.status==="review_required")),b=u(()=>a().filter(D=>D.status!=="complete"&&D.status!=="in_progress"&&D.status!=="review_required"&&D.status!=="cancelled")),h=u(()=>a().filter(D=>D.status==="cancelled")),A=u(()=>a().length>0);var T={get stats(){return n()},set stats(D){n(D),_()},get tasks(){return a()},set tasks(D=[]){a(D),_()},get maxBars(){return s()},set maxBars(D=20){s(D),_()},get barWidth(){return o()},set barWidth(D="1px"){o(D),_()},get barHeight(){return l()},set barHeight(D="16px"){l(D),_()},get gap(){return c()},set gap(D="1px"){c(D),_()},get class(){return f()},set class(D){f(D),_()},$set:jt,$on:(D,U)=>Wt(t,D,U)},H=kt(),B=ze(H);{var O=D=>{No(D,{side:"top",align:"start",sideOffset:6,contentClass:"max-w-xs p-0",delayDuration:200,disableHoverableContent:!1,content:C=>{var F=t0(),K=S(F),X=S(K),de=R(X,!0),Pe=v(X,2),ue=S(Pe);{var Z=Se=>{var Ie=vc(),Ye=S(Ie);Mn(Ye,"",{},{"background-color":"#22c55e"});var Xe=v(Ye);w(Ie),k(()=>x(Xe,` ${n().completed??""}`)),d(Se,Ie)};M(ue,Se=>{n().completed>0&&Se(Z)})}var ge=v(ue,2);{var Me=Se=>{var Ie=vc(),Ye=S(Ie);Mn(Ye,"",{},{"background-color":"#4F7BF7"});var Xe=v(Ye);w(Ie),k(()=>x(Xe,` ${n().inProgress??""}`)),d(Se,Ie)};M(ge,Se=>{n().inProgress>0&&Se(Me)})}var G=v(ge,2);{var fe=Se=>{var Ie=Y1(),Ye=v(S(Ie));w(Ie),k(()=>x(Ye,` ${n().notStarted??""}`)),d(Se,Ie)};M(G,Se=>{n().notStarted>0&&Se(fe)})}w(Pe),w(K);var $=v(K,2);{var Ae=Se=>{var Ie=e0(),Ye=ze(Ie);Tt(Ye,17,()=>e(L),Rr,(J,V)=>{var q=bc(),ce=S(q),_e=S(ce);vo(_e,{get status(){return e(V).status},size:14}),w(ce);var Y=v(ce,2),he=S(Y),Le=R(he,!0),je=v(he,2);{var st=z=>{var ie=hc(),Te=S(ie);{let P=u(()=>e(V).agentState||"idle");Yi(Te,{get agentId(){return e(V).agentId},get state(){return e(P)},size:12,get specialist(){return e(V).agentSpecialist}})}var Ge=v(Te,2);{var ve=P=>{var j=mc(),me=R(j,!0);k(()=>x(me,e(V).agentName)),d(P,j)};M(Ge,P=>{e(V).agentName&&P(ve)})}w(ie),d(z,ie)};M(je,z=>{e(V).agentId&&z(st)})}w(Y),w(q),k(()=>x(Le,e(V).title)),d(J,q)});var Xe=v(Ye,2);Tt(Xe,17,()=>e(b),Rr,(J,V)=>{var q=bc(),ce=S(q),_e=S(ce);vo(_e,{get status(){return e(V).status},size:14}),w(ce);var Y=v(ce,2),he=S(Y),Le=R(he,!0),je=v(he,2);{var st=z=>{var ie=hc(),Te=S(ie);{let P=u(()=>e(V).agentState||"idle");Yi(Te,{get agentId(){return e(V).agentId},get state(){return e(P)},size:12,get specialist(){return e(V).agentSpecialist}})}var Ge=v(Te,2);{var ve=P=>{var j=mc(),me=R(j,!0);k(()=>x(me,e(V).agentName)),d(P,j)};M(Ge,P=>{e(V).agentName&&P(ve)})}w(ie),d(z,ie)};M(je,z=>{e(V).agentId&&z(st)})}w(Y),w(q),k(()=>x(Le,e(V).title)),d(J,q)});var $e=v(Xe,2);{var te=J=>{var V=Q1(),q=S(V);Tt(q,17,()=>e(g).slice(0,3),Rr,(Y,he)=>{var Le=X1(),je=S(Le),st=S(je);vo(st,{status:"complete",size:12}),w(je);var z=v(je,2),ie=R(z,!0);w(Le),k(()=>x(ie,e(he).title)),d(Y,Le)});var ce=v(q,2);{var _e=Y=>{var he=Z1(),Le=R(he,!0);k(je=>x(Le,je),[()=>m.workspace_taskProgressBar_moreCompleted_label({count:lr(e(g).length-3)})]),d(Y,he)};M(ce,Y=>{e(g).length>3&&Y(_e)})}w(V),d(J,V)};M($e,J=>{e(g).length>0&&J(te)})}var Q=v($e,2);{var tt=J=>{var V=$1(),q=R(V,!0);k(ce=>x(q,ce),[()=>m.workspace_taskProgressBar_cancelled_label({count:lr(e(h).length)})]),d(J,V)};M(Q,J=>{e(h).length>0&&J(tt)})}d(Se,Ie)};M($,Se=>{e(A)&&Se(Ae)})}w(F),k(Se=>x(de,Se),[()=>m.workspace_taskProgressBar_tasksRatio_label({completed:lr(n().completed),total:lr(n().total)})]),d(C,F)},children:(C,F)=>{{let K=u(()=>kn("flex h-auto min-w-0 shrink items-end justify-start cursor-default rounded-none border-0",f())),X=u(()=>`gap: ${c()}`),de=u(()=>m.workspace_taskProgressBar_tasksRatio_label({completed:lr(n().completed),total:lr(n().total)}));yt(C,{variant:"plain",type:"button",wrapContent:!1,get class(){return e(K)},get style(){return e(X)},get"aria-label"(){return e(de)},"data-task-progress-trigger":!0,children:(Pe,ue)=>{var Z=kt(),ge=ze(Z);Tt(ge,17,()=>e(p),Rr,(Me,G)=>{var fe=r0();let $;k(()=>$=Mn(fe,"",$,{width:o(),height:l(),"background-color":i[e(G)]})),d(Me,fe)}),d(Pe,Z)},$$slots:{default:!0}})}},$$slots:{content:!0,default:!0}})};M(B,D=>{n().total>0&&D(O)})}return d(r,H),qt(T)}function wi(r,t){if(new.target)return Ht({component:wi,...r});Ut(t,!0);let n=y(t,"items",7),a=y(t,"ariaLabel",7),s=y(t,"open",15,!1),o=y(t,"orientation",7,"vertical"),l=y(t,"selection",7),c=y(t,"class",7,"");const f=u(()=>Mp(n(),l(),a()));var i={get items(){return n()},set items(p){n(p),_()},get ariaLabel(){return a()},set ariaLabel(p){a(p),_()},get open(){return s()},set open(p=!1){s(p),_()},get orientation(){return o()},set orientation(p="vertical"){o(p),_()},get selection(){return l()},set selection(p){l(p),_()},get class(){return c()},set class(p=""){c(p),_()},$set:jt,$on:(p,g)=>Wt(t,p,g)};return Lv(r,{get actions(){return e(f)},align:"end",get ariaLabel(){return a()},onAction:g=>Np(n(),g)?.onClick(),get open(){return s()},set open(g){s(g)},trigger:(g,L)=>{let b=()=>(L?.()).props;yt(g,ni(b,{variant:"plain",size:"icon-compact",iconOnly:!0,type:"button",get class(){return c()},get"aria-label"(){return a()},onclick:h=>{h.stopPropagation(),b().onclick?.(h)},oncontextmenu:h=>{h.preventDefault(),h.stopPropagation()},children:(h,A)=>{Nv(h,{get orientation(){return o()},class:"size-3.5"})},$$slots:{default:!0}}))},$$slots:{trigger:!0}}),qt(i)}var n0=I('<span class="contents"><!></span>'),a0=I("<!> <!>",1);function hu(r,t){if(new.target)return Ht({component:hu,...r});Ut(t,!0);let n=y(t,"workspaceId",7),a=y(t,"slot",7);const s=u(()=>og(a()));let o=we(null);Ct(()=>{e(o)&&e(o).workspaceId!==n()&&N(o,null)});function l(h){const A=Mc(h);A&&N(o,{...A,workspaceId:n()},!0)}function c(h){h.preventDefault(),h.stopPropagation();const A=h.currentTarget.getBoundingClientRect();N(o,{x:A.left,y:A.bottom+2,returnFocus:h.currentTarget,workspaceId:n()},!0)}function f(){N(o,null)}var i={get workspaceId(){return n()},set workspaceId(h){n(h),_()},get slot(){return a()},set slot(h){a(h),_()},$set:jt,$on:(h,A)=>Wt(t,h,A)},p=a0(),g=ze(p);{let h=u(()=>m.workspace_microKeyBadge_ariaLabel({number:lr(a()+1)})),A=u(()=>m.workspace_microKeyBadge_tooltip({number:lr(a()+1)})),T=u(()=>e(o)!==null);yt(g,{variant:"ghost",size:"icon",type:"button",class:"micro-key-slot-badge size-4 min-w-0 shrink-0 cursor-pointer rounded-[3px] p-0 a11y-ignore",get"aria-label"(){return e(h)},get title(){return e(A)},onclick:c,oncontextmenu:l,onkeydown:l,"aria-haspopup":"menu",get"aria-expanded"(){return e(T)},children:(H,B)=>{var O=n0(),D=S(O);mp(D,{get slot(){return a()},get class(){return`transition-colors ${e(s)??""}`}}),w(O),d(H,O)},$$slots:{default:!0}})}var L=v(g,2);{var b=h=>{{let A=u(()=>e(o)?.x??0),T=u(()=>e(o)?.y??0),H=u(()=>e(o)?.returnFocus),B=u(()=>m.workspace_card_assignMicroKey_label()),O=u(()=>Lm(n(),f));Oc(h,{get x(){return e(A)},get y(){return e(T)},get returnFocus(){return e(H)},selection:"single",get ariaLabel(){return e(B)},get items(){return e(O)},onClickOutside:f})}};M(L,h=>{e(o)&&h(b)})}return d(r,p),qt(i)}var s0=I('<span class="flex size-4 shrink-0 items-center justify-center"><!></span>'),o0=I('<span data-workspace-card-pin-indicator="" aria-hidden="true"><!></span> <span class="sr-only"> </span>',1),i0=I('<span class="type-caption shrink-0 rounded-sm bg-muted-foreground/10 px-1.5 font-normal text-muted-foreground" data-workspace-card-trailing-label=""> </span>'),l0=I('<span data-workspace-card-pr-item=""><!></span>'),c0=I('<span class="flex shrink-0 items-center" data-workspace-card-pr-list=""><!></span>'),d0=I('<span data-workspace-card-time=""><!></span>'),u0=I('<span aria-hidden="true"><!></span>'),f0=I("<div><!> <!> <!> <!></div>"),p0=I('<div data-workspace-card-hover-surface=""><!></div>'),g0=I('<div role="group" data-workspace-card-row=""><!> <div class="relative z-10 flex shrink-0 items-center gap-1.5"><!> <!> <span class="sr-only"> </span></div> <div class="relative z-10 flex min-w-0 flex-1 items-center gap-2"><span class="flex min-w-0 flex-1 items-center gap-1" data-workspace-card-title-group=""><span dir="ltr" data-workspace-card-title=""><span class="wc-title-text svelte-1ct56pd"> </span></span> <!></span> <!> <!> <!></div> <!></div> <!> <!>',1),v0=I('<div class="relative z-10 flex shrink-0 items-center"><!></div>'),m0=I('<div><!> <!> <span class="font-medium truncate"> </span> <span class="shrink-0 text-muted-foreground">·</span> <span class="truncate text-xs text-muted-foreground"> </span> <!></div>'),h0=I('<div class="text-sm font-semibold truncate"> </div>'),yc=I('<span class="truncate"> </span>'),b0=I('<span class="text-muted-foreground">·</span>'),y0=I('<div class="flex items-center gap-1 truncate text-xs text-muted-foreground"><!> <!> <!></div>'),_0=I('<div><!> <!> <div class="flex items-center gap-2 text-xs"><!> <span class="truncate text-muted-foreground"> </span> <span> </span></div> <!></div>'),x0=I('<div class="flex items-center gap-2"><!> <span class="text-ui shrink-0 tabular-nums text-muted-foreground"> </span></div>'),w0=I('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span> <span class="tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span></div>'),k0=I('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span></div>'),I0=I('<div class="flex items-center text-ui"><span> </span></div>'),S0=I('<div class="flex flex-col gap-1 px-3 pb-2.5"><!> <!> <!> <!></div>'),C0=I('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!></div>'),E0=I('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!> <!></div>'),P0=I('<div role="group"><!> <div class="flex items-start gap-2.5 px-3 pt-3 pb-2"><!> <div class="flex-1 min-w-0"><div class="text-sm font-medium"> </div> <div class="mt-0.5 line-clamp-2 text-xs leading-snug text-muted-foreground"> </div></div></div> <!> <!></div>');function bu(r,t){if(new.target)return Ht({component:bu,...r});Ut(t,!0);const n=()=>Ft(Xe,"$prMonitors$",l),a=()=>Ft($e,"$microConnected$",l),s=()=>Ft(Q,"$hidesOwnerActions$",l),o=()=>Ft(te,"$workspaceKeySlot$",l),[l,c]=ca();let f=y(t,"workspace",7),i=y(t,"phase",7),p=y(t,"stats",7),g=y(t,"variant",7,"compact"),L=y(t,"showTime",7,!0),b=y(t,"isRunning",7,!1),h=y(t,"isUnread",7,!1),A=y(t,"isWaiting",7),T=y(t,"isPinned",7,!1),H=y(t,"streamingAgentIds",23,()=>[]),B=y(t,"hasSpec",7,!1),O=y(t,"isAgentRunning",7,!1),D=y(t,"agentDigest",7),U=y(t,"trailingLabel",7),C=y(t,"title",7),F=y(t,"repoName",7),K=y(t,"branch",7),X=y(t,"onClick",7),de=y(t,"onAction",7),Pe=y(t,"onTogglePin",7),ue=y(t,"onMarkAsRead",7),Z=y(t,"onOpenInNewWindow",7),ge=y(t,"onHover",7),Me=y(t,"highlighted",7,!1),G=y(t,"selected",7,!1),fe=y(t,"highlightId",7),$=y(t,"suppressHover",7,!1),Ae=y(t,"isolateHoverReveal",7,!1),Se=y(t,"class",7),Ie=y(t,"actions",7);const Ye=Ns("");Ct(()=>{Ye.set(f()?.id??"")});const Xe=sp(Ye),$e=Km(),te=Wg(Ye),Q=op(Ye),tt=u(()=>Mm(f()??{})),J=u(()=>Om(e(tt)));let V=u(()=>f()?Vm.url.pathname===`/workspace/${f().id}`:!1),q=u(()=>f()?`workspace-hover-card-${f().id}`:void 0),ce=we(!1),_e=we(null),Y=we(null);Ct(()=>{if(!e(Y))return;const ne=ks(e(Y),{id:fe()});return()=>ne.destroy()});let he=we(null),Le=we(null),je=we(null),st=we(0),z=we(0),ie=u(()=>e(st)+(e(z)>0?e(z)+4:0));function Te(){const ne=e(he),pt=e(je);N(st,ne?Math.max(0,ne.scrollWidth-ne.clientWidth):0,!0),N(z,ne&&pt&&pt.getClientRects().length>0?Math.max(0,ne.getBoundingClientRect().right-pt.getBoundingClientRect().left):0,!0)}Ct(()=>{const ne=e(he),pt=e(Le),Dt=e(je);if(!ne||!pt||(Te(),typeof ResizeObserver>"u"))return;const mr=new ResizeObserver(Te);return mr.observe(ne),mr.observe(pt),Dt&&mr.observe(Dt),()=>mr.disconnect()});let Ge=null,ve=null,P=!1,j=!1,me=!1,qe=!1,Ce=!1,Ve=!1,ee=we(!1),ke=!1,at=null,et=we(null),gt=null,He;function ht(){Ge!==null&&(clearTimeout(Ge),Ge=null)}function ot(){ve!==null&&(clearTimeout(ve),ve=null),gt?.(),gt=null}function vt(){ot(),N(ee,!0),N(ce,!0),!Ce&&(Ce=!0,es.notifyOpened())}function ft(){ot(),clearTimeout(He),N(ee,!1),N(ce,!1),j=!1,qe=!1,Ce&&(Ce=!1,es.notifyClosed())}function Pt(){return P||j||me||qe}function At(){if(!e(ce)){ft();return}ot(),ve=setTimeout(()=>{ve=null,Pt()||ft()},Bm),gt=es.deferClose(ft)}function Zt(){j=!0,ot()}function xt(){j=!1,!me&&!qe&&At()}function zt(){qe=!0,clearTimeout(He),ot()}function er(ne){const pt=ne.relatedTarget instanceof Node?ne.relatedTarget:null;if(pt&&le()?.contains(pt)||(qe=!1,pt&&e(_e)?.contains(pt)))return;if(pt){!P&&!j&&ft();return}const Dt=ne.target;clearTimeout(He),He=setTimeout(()=>{const mr=document.activeElement,yr=le()?.contains(mr)||e(_e)?.contains(mr);mr&&mr!==Dt&&yr||!P&&!j&&ft()},0)}function St(){at!==null&&clearTimeout(at),ke=!0,at=setTimeout(()=>{ke=!1,at=null},0)}function Gt(ne){const pt=ne.target,Dt=le();pt instanceof Node&&Dt?.contains(pt)||ne.type==="scroll"&&e(_e)&&pt instanceof Node&&!pt.contains(e(_e))||(ne.type==="pointerdown"&&St(),ht(),ft())}Ct(()=>{if(e(ee))return window.addEventListener("pointerdown",Gt,!0),window.addEventListener("scroll",Gt,!0),()=>{window.removeEventListener("pointerdown",Gt,!0),window.removeEventListener("scroll",Gt,!0)}});function Ot(ne){if(ne.key!=="Escape")return;const pt=ne.target;pt instanceof Node&&le()?.contains(pt)||(ne.preventDefault(),ne.stopPropagation(),Ve=me,ht(),ft())}Ct(()=>{if(e(ce))return window.addEventListener("keydown",Ot,!0),()=>window.removeEventListener("keydown",Ot,!0)});const pe=u(()=>f()?lp.select(Mt.state,f().id):null),re=u(()=>e(pe)?e(pe):f()?.activePullRequest?f().activePullRequest:!f()?.prStatus||f().prNumber==null?null:{id:`legacy-pr-${f().prNumber}`,number:f().prNumber,url:f().prUrl??"",title:m.workspace_hoverCard_pullRequest_label(),status:f().prStatus,createdAt:f().updatedAt,updatedAt:f().updatedAt}),Ue=u(()=>ip(f())),rt=u(()=>{if(!f()||e(Ue))return[];const ne=f(),pt=ne.repositoryOwner&&ne.repositoryName?`${ne.repositoryOwner}/${ne.repositoryName}`:void 0;return Op({workspacePRs:ne.pullRequests,activePR:e(re),monitors:n(),workspaceRepo:pt,buildPrUrl:(Dt,mr)=>gv(Dt,ne.repositoryOwner,ne.repositoryName,mr),getDisplayTitle:Dt=>Dt.title})}),lt=u(()=>e(rt)[0]);function Oe(ne){const pt=ne.resource?.repository.provider==="gitlab"?`${ne.repo} !${ne.number}`:ne.repo?m.workspace_card_prBadge_repoLine_tooltip({repo:ne.repo,number:ne.number}):m.workspace_card_prBadge_label({number:` #${ne.number}`});return[cp(pt,ne),ne.title,ne.details].filter(Boolean).join(`
|
|
259
259
|
`)}function se(ne){ne.key==="Enter"&&X()?.(ne)}function le(){return e(q)?document.getElementById(e(q)):null}function ae(){return Array.from(le()?.querySelectorAll("button:not(:disabled), a[href]")??[])}function be(){const ne=e(_e)?.querySelector("[data-workspace-card-trigger]"),pt=le();if(!ne||!pt)return null;const Dt=Array.from(document.querySelectorAll('button:not(:disabled), a[href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])')).filter(yr=>yr.tabIndex>=0&&!pt.contains(yr)),mr=Dt.indexOf(ne);return mr>=0?Dt[mr+1]:null}function xe(ne){Ve=!!e(_e)?.contains(ne),ft(),ne.focus({preventScroll:!0})}function Be(){const ne=e(_e)?.querySelector("[data-workspace-card-trigger]");ne&&xe(ne)}async function Re(ne){if(ne.key==="Escape"&&e(ce)){ne.preventDefault(),ne.stopPropagation(),ft();return}ne.key!=="ArrowDown"||$()||!f()||(ne.preventDefault(),ne.stopPropagation(),N(ee,!0),N(ce,!0),await Zn(),ae()[0]?.focus({preventScroll:!0}))}function Ze(ne){const pt=ae(),Dt=ne.key==="Tab"&&ne.shiftKey&&ne.currentTarget===pt[0],yr=ne.key==="Tab"&&!ne.shiftKey&&ne.currentTarget===pt.at(-1)?be():null;ne.key!=="Escape"&&!Dt&&!yr||(ne.preventDefault(),ne.stopPropagation(),yr?xe(yr):Be())}function Je(){P=!0,ot(),es.settleDeferredCloses(),Te(),ge()?.(),f()&&!$()&&!me&&(ht(),N(ee,!0),Ge=setTimeout(()=>{Ge=null,vt()},es.currentOpenDelay))}function De(){P=!1,ht(),!me&&!qe&&At()}function Fe(){me=!0,ht(),ot(),!Ve&&(ke||f()&&!$()&&(N(ee,!0),N(ce,!0)))}function We(ne){const pt=ne.relatedTarget instanceof Node?ne.relatedTarget:null;pt&&e(_e)?.contains(pt)||(Ve=!1,me=!1,!(pt&&le()?.contains(pt))&&!P&&!j&&ft())}Ct(()=>{$()&&(ht(),ot(),ft())});let Qe=we(null),ut=we(!1),ct;Ct(()=>{const ne=f()?.id;ct!==ne&&(ct=ne,N(ut,!1)),e(Qe)&&e(Qe).workspaceId!==f()?.id&&wt()});function dt(ne){if(!f())return;const pt=Mc(ne);if(pt){if(N(ut,!1),bt().length===0){N(Qe,null);return}N(Qe,{...pt,returnFocus:ne.target instanceof HTMLElement?ne.target.closest("button")??e(_e)?.querySelector("button")??null:null,workspaceId:f().id},!0)}}function wt(){N(Qe,null),N(ut,!1)}Ct(()=>{e(ut)&&N(Qe,null)}),fs(()=>{ht(),ot(),at!==null&&(clearTimeout(at),at=null),ft()});function bt(){if(!f())return[];const ne=[];return Z()&&ne.push({id:"open-new-window",label:m.workspace_card_openNewWindow_label(),icon:jc,onClick:()=>{Z()?.(),wt()}}),ne.push(...Dm(f().id,{connected:a(),onClose:wt})),s()||(e(Ue)||ne.push({id:"transfer",label:m.workspace_card_transfer_label(),icon:Qp,onClick:()=>{Mt.dispatch(xg({workspaceId:f().id,workspaceTitle:f().title})),wt()}}),ne.push({id:"archive",label:m.workspace_card_archive_label(),icon:Wc,onClick:()=>{Mt.dispatch(ed(f().id)),wt()}}),ne.push({id:"delete",label:m.workspace_card_deleteSpace_label(),icon:Uc,destructive:!0,onClick:()=>{Mt.dispatch(td(f().id)),wt()}})),ne}let Rt=u(()=>O()&&D()?D():i()?.subtitle??""),Jt=u(()=>p()&&p().tasks.total>0?p().tasks.completed/p().tasks.total:0),tr=u(()=>!!p()&&(p().tasks.total>0||p().files.changed>0||p().commits.total>0||p().pr.hasOpen||p().pr.hasMerged)),Yt=u(()=>e(Ue)?void 0:K()),Fr=u(()=>!p()||e(Ue)?"":p().pr.hasMerged?m.workspace_card_prMerged_label({number:p().pr.number??""}):p().pr.hasOpen?m.workspace_card_prOpen_label({number:p().pr.number?`#${p().pr.number}`:""}):""),Zr=u(()=>i()?.phase==="planning"?O()?{primary:{label:m.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:m.workspace_card_pause_label(),action:"pause"}}:B()||(p()?.tasks.total??0)>0?{primary:{label:m.workspace_card_approveStart_label(),action:"approve"},secondary:{label:m.workspace_card_viewSpec_label(),action:"view-spec"}}:{primary:{label:m.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:m.workspace_card_viewSpec_label(),action:"view-spec"}}:i()?.phase==="building"?{primary:{label:m.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:m.workspace_card_pause_label(),action:"pause"}}:i()?.phase==="reviewing"?{primary:{label:m.workspace_card_createPr_label(),action:"create-pr"},secondary:{label:m.workspace_card_showChanges_label(),action:"show-changes"}}:{primary:{label:m.workspace_card_archive_label(),action:"archive"},secondary:{label:m.workspace_card_showChanges_label(),action:"show-changes"}});const un={planning:"bg-muted/20 text-muted-foreground",building:"bg-info/15 text-info",reviewing:"bg-primary/15 text-primary",shipped:"bg-foreground/10 text-foreground"};var In={get workspace(){return f()},set workspace(ne){f(ne),_()},get phase(){return i()},set phase(ne){i(ne),_()},get stats(){return p()},set stats(ne){p(ne),_()},get variant(){return g()},set variant(ne="compact"){g(ne),_()},get showTime(){return L()},set showTime(ne=!0){L(ne),_()},get isRunning(){return b()},set isRunning(ne=!1){b(ne),_()},get isUnread(){return h()},set isUnread(ne=!1){h(ne),_()},get isWaiting(){return A()},set isWaiting(ne){A(ne),_()},get isPinned(){return T()},set isPinned(ne=!1){T(ne),_()},get streamingAgentIds(){return H()},set streamingAgentIds(ne=[]){H(ne),_()},get hasSpec(){return B()},set hasSpec(ne=!1){B(ne),_()},get isAgentRunning(){return O()},set isAgentRunning(ne=!1){O(ne),_()},get agentDigest(){return D()},set agentDigest(ne){D(ne),_()},get trailingLabel(){return U()},set trailingLabel(ne){U(ne),_()},get title(){return C()},set title(ne){C(ne),_()},get repoName(){return F()},set repoName(ne){F(ne),_()},get branch(){return K()},set branch(ne){K(ne),_()},get onClick(){return X()},set onClick(ne){X(ne),_()},get onAction(){return de()},set onAction(ne){de(ne),_()},get onTogglePin(){return Pe()},set onTogglePin(ne){Pe(ne),_()},get onMarkAsRead(){return ue()},set onMarkAsRead(ne){ue(ne),_()},get onOpenInNewWindow(){return Z()},set onOpenInNewWindow(ne){Z(ne),_()},get onHover(){return ge()},set onHover(ne){ge(ne),_()},get highlighted(){return Me()},set highlighted(ne=!1){Me(ne),_()},get selected(){return G()},set selected(ne=!1){G(ne),_()},get highlightId(){return fe()},set highlightId(ne){fe(ne),_()},get suppressHover(){return $()},set suppressHover(ne=!1){$(ne),_()},get isolateHoverReveal(){return Ae()},set isolateHoverReveal(ne=!1){Ae(ne),_()},get class(){return Se()},set class(ne){Se(ne),_()},get actions(){return Ie()},set actions(ne){Ie(ne),_()},$set:jt,$on:(ne,pt)=>Wt(t,ne,pt)},nn=kt(),Un=ze(nn);{var hn=ne=>{var pt=g0(),Dt=ze(pt);let mr;var yr=S(Dt);{let Ee=u(()=>f().title||m.workspace_links_untitled_label()),nt=u(()=>`workspace-status-state-${f().id}${T()?` workspace-pinned-state-${f().id}`:""}${e(ce)?` ${e(q)}`:""}`),Qt=u(()=>e(V)?"page":void 0);yt(yr,{variant:"plain",class:"absolute inset-0 z-0 h-auto w-auto rounded-md focus-visible:border-transparent focus-visible:bg-background/50 focus-visible:ring-0",get"aria-label"(){return e(Ee)},get"aria-describedby"(){return e(nt)},get"aria-current"(){return e(Qt)},"data-workspace-card-trigger":!0,onkeydown:Re,onclick:Nt=>{Nt.stopPropagation(),X()?.(Nt)}})}var bn=v(yr,2),Nr=S(bn);{var Sn=Ee=>{var nt=s0(),Qt=S(nt);{var Nt=rr=>{hu(rr,{get workspaceId(){return f().id},get slot(){return o()}})};M(Qt,rr=>{o()!==null&&rr(Nt)})}w(nt),d(Ee,nt)};M(Nr,Ee=>{a()&&Ee(Sn)})}var qn=v(Nr,2);No(qn,{get content(){return e(J).tooltip},side:"bottom",sideOffset:4,children:(Ee,nt)=>{Nm(Ee,{get status(){return e(tt)},size:14,decorative:!0,class:"justify-start"})},$$slots:{default:!0}});var $n=v(qn,2),ea=R($n,!0);w(bn);var qr=v(bn,2),yn=S(qr),or=S(yn),an=S(or),Vn=R(an,!0);gr(an,Ee=>N(Le,Ee),()=>e(Le)),w(or),gr(or,Ee=>N(he,Ee),()=>e(he));var _r=v(or,2);{var Tr=Ee=>{var nt=o0(),Qt=ze(nt),Nt=S(Qt);Et(Nt,{get icon(){return el},size:"xs"}),w(Qt);var rr=v(Qt,2),Sr=R(rr,!0);k(Cn=>{mt(Qt,1,`wc-pin-indicator inline-flex shrink-0 items-center text-muted-foreground transition-opacity
|
|
260
|
-
${Pe()?Me()?"opacity-0":$()?"":Ae()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),oe(rr,"id",`workspace-pinned-state-${f().id??""}`),x(Sr,Cn)},[()=>m.layout_activeCard_pinned_header()]),d(Ee,nt)};M(_r,Ee=>{T()&&Ee(Tr)})}w(yn);var sn=v(yn,2);{var sa=Ee=>{var nt=i0(),Qt=R(nt,!0);k(()=>x(Qt,U())),d(Ee,nt)};M(sn,Ee=>{U()&&Ee(sa)})}var Qr=v(sn,2);{var Vr=Ee=>{const nt=u(()=>e(lt));var Qt=c0(),Nt=S(Qt);{let rr=u(()=>Oe(e(nt)));No(Nt,{get content(){return e(rr)},side:"bottom",sideOffset:4,children:(Sr,Cn)=>{var Kn=kt(),_n=ze(Kn);{var xr=Hr=>{{let wr=u(()=>Oe(e(nt)));yt(Hr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(nt).foregroundClass??""}`},get"aria-label"(){return e(wr)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(nt).identity},get"data-pr-status"(){return e(nt).status},onclick:on=>{on.stopPropagation();const jr=f().id;Of(async()=>{const{handleLink:$r}=await import("./
|
|
260
|
+
${Pe()?Me()?"opacity-0":$()?"":Ae()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),oe(rr,"id",`workspace-pinned-state-${f().id??""}`),x(Sr,Cn)},[()=>m.layout_activeCard_pinned_header()]),d(Ee,nt)};M(_r,Ee=>{T()&&Ee(Tr)})}w(yn);var sn=v(yn,2);{var sa=Ee=>{var nt=i0(),Qt=R(nt,!0);k(()=>x(Qt,U())),d(Ee,nt)};M(sn,Ee=>{U()&&Ee(sa)})}var Qr=v(sn,2);{var Vr=Ee=>{const nt=u(()=>e(lt));var Qt=c0(),Nt=S(Qt);{let rr=u(()=>Oe(e(nt)));No(Nt,{get content(){return e(rr)},side:"bottom",sideOffset:4,children:(Sr,Cn)=>{var Kn=kt(),_n=ze(Kn);{var xr=Hr=>{{let wr=u(()=>Oe(e(nt)));yt(Hr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(nt).foregroundClass??""}`},get"aria-label"(){return e(wr)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(nt).identity},get"data-pr-status"(){return e(nt).status},onclick:on=>{on.stopPropagation();const jr=f().id;Of(async()=>{const{handleLink:$r}=await import("./172GvQgx.js").then(Gn=>Gn.V);return{handleLink:$r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55]),import.meta.url).then(({handleLink:$r})=>$r(e(nt).url,{workspaceId:jr,event:on}))},children:(on,jr)=>{Et(on,{get icon(){return e(nt).statusIcon},size:14})},$$slots:{default:!0}})}},zr=Hr=>{var wr=l0(),on=S(wr);Et(on,{get icon(){return e(nt).statusIcon},size:14}),w(wr),k(jr=>{mt(wr,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(nt).foregroundClass??""}`,"svelte-1ct56pd"),oe(wr,"aria-label",jr),oe(wr,"data-pr-identity",e(nt).identity),oe(wr,"data-pr-status",e(nt).status)},[()=>Oe(e(nt))]),d(Hr,wr)};M(_n,Hr=>{e(nt).url?Hr(xr):Hr(zr,-1)})}d(Sr,Kn)},$$slots:{default:!0}})}w(Qt),k(rr=>oe(Qt,"aria-label",rr),[()=>e(nt).resource?.repository.provider==="gitlab"?m.workspace_hoverCard_mergeRequest_label():m.workspace_hoverCard_pullRequest_label()]),d(Ee,Qt)};M(Qr,Ee=>{e(lt)&&Ee(Vr)})}var Cr=v(Qr,2);{var On=Ee=>{var nt=d0(),Qt=S(nt);{var Nt=Sr=>{{let Cn=u(()=>sl(f()));hp(Sr,{get date(){return e(Cn)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},rr=u(()=>sl(f())>0);M(Qt,Sr=>{e(rr)&&Sr(Nt)})}w(nt),k(()=>mt(nt,1,`wc-secondary shrink-0 ${Ie()||Pe()||h()&&ue()?Me()?"opacity-0":$()?"":Ae()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),d(Ee,nt)};M(Cr,Ee=>{L()&&Ee(On)})}w(qr);var pa=v(qr,2);{var _a=Ee=>{var nt=f0(),Qt=S(nt);{var Nt=xr=>{{let zr=u(()=>T()?"text-primary-ink":"text-muted-foreground"),Hr=u(()=>T()?m.workspace_card_unpin_ariaLabel():m.workspace_card_pin_ariaLabel()),wr=u(()=>T()?m.workspace_card_unpin_tooltip():m.workspace_card_pin_tooltip());yt(xr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
|
|
261
261
|
${e(zr)??""}`},onclick:on=>{on.stopPropagation(),Pe()?.(on)},get"aria-label"(){return e(Hr)},get title(){return e(wr)},children:(on,jr)=>{var $r=u0(),Gn=S($r);Et(Gn,{get icon(){return el},size:"xs"}),w($r),d(on,$r)},$$slots:{default:!0}})}};M(Qt,xr=>{Pe()&&xr(Nt)})}var rr=v(Qt,2);{var Sr=xr=>{{let zr=u(()=>m.workspace_card_markAsRead_label()),Hr=u(()=>m.workspace_card_markAsRead_label());yt(xr,{variant:"plain",size:"icon-xs",iconOnly:!0,class:"text-muted-foreground hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0",onclick:wr=>{wr.stopPropagation(),ue()?.(wr)},get"aria-label"(){return e(zr)},get title(){return e(Hr)},children:(wr,on)=>{Et(wr,{get icon(){return qc},size:"xs"})},$$slots:{default:!0}})}};M(rr,xr=>{h()&&ue()&&xr(Sr)})}var Cn=v(rr,2);dn(Cn,()=>Ie()??Ms);var Kn=v(Cn,2);{var _n=xr=>{{let zr=u(bt),Hr=u(()=>m.workspace_progressCard_actions_ariaLabel());wi(xr,{get items(){return e(zr)},get ariaLabel(){return e(Hr)},class:"flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:outline-none",get open(){return e(ut)},set open(wr){N(ut,wr,!0)}})}};M(Kn,xr=>{Z()&&xr(_n)})}w(nt),gr(nt,xr=>N(je,xr),()=>e(je)),k(()=>mt(nt,1,`wc-actions absolute right-1 top-1/2 z-20 flex -translate-y-1/2 items-center gap-0.5 rounded-md bg-accent/95 px-0.5 focus-within:opacity-100
|
|
262
262
|
${Ae()?"group-focus-within/wc:opacity-100":"group-focus-within:opacity-100"}
|
|
263
263
|
${Me()?"opacity-100":$()?"opacity-0":Ae()?"opacity-0 group-hover/wc:opacity-100":"opacity-0 group-hover:opacity-100"}`,"svelte-1ct56pd")),d(Ee,nt)};M(pa,Ee=>{(Ie()||Z()||Pe()||h()&&ue())&&Ee(_a)})}w(Dt),gr(Dt,Ee=>N(_e,Ee),()=>e(_e)),Nn(Dt,(Ee,nt)=>ks?.(Ee,nt),()=>({id:fe()}));var Er=v(Dt,2);{var Mr=Ee=>{Fm(Ee,{get id(){return e(q)},get anchor(){return`--workspace-list-${f().id??""}`},position:"right",get anchorElement(){return e(_e)},class:"w-auto overflow-visible! rounded-lg border-0! bg-background! shadow-none!",onmouseenter:Zt,onmouseleave:xt,onfocusin:zt,onfocusout:er,children:(nt,Qt)=>{var Nt=p0(),rr=S(Nt);zm(rr,{get workspace(){return f()},get activeAgentIds(){return H()},onkeydown:Ze}),w(Nt),gr(Nt,Sr=>N(et,Sr),()=>e(et)),wn("pointerenter",Nt,Zt),wn("pointerleave",Nt,xt),Ar("focusin",Nt,zt),Ar("focusout",Nt,er),d(nt,Nt)},$$slots:{default:!0}})};M(Er,Ee=>{e(ce)&&!$()&&Ee(Mr)})}var W=v(Er,2);{var Ne=Ee=>{const nt=u(bt);var Qt=kt(),Nt=ze(Qt);{var rr=Sr=>{{let Cn=u(()=>e(Qe)?.x??0),Kn=u(()=>e(Qe)?.y??0),_n=u(()=>e(Qe)?.returnFocus),xr=u(()=>m.workspace_progressCard_actions_ariaLabel());Oc(Sr,{get x(){return e(Cn)},get y(){return e(Kn)},get returnFocus(){return e(_n)},get ariaLabel(){return e(xr)},get items(){return e(nt)},onClickOutside:wt})}};M(Nt,Sr=>{e(nt).length>0&&Sr(rr)})}d(Ee,Qt)};M(W,Ee=>{e(Qe)&&Ee(Ne)})}k((Ee,nt,Qt)=>{mt(Dt,1,Ee,"svelte-1ct56pd"),oe(Dt,"data-pinned",T()),oe(Dt,"data-highlight-id",fe()),mr=Mn(Dt,"",mr,{"anchor-name":`--workspace-list-${f().id??""}`}),oe($n,"id",`workspace-status-state-${f().id??""}`),x(ea,e(J).accessibleName),mt(or,1,`wc-title type-body min-w-0 truncate font-normal!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cz as ln,a_ as an,aB as g,co as tn,aa as C,cg as S,bH as _,i as un,bS as rn,ci as K,w as o,a7 as G,t as sn,j as on,bG as cn}from"./
|
|
1
|
+
import{cz as ln,a_ as an,aB as g,co as tn,aa as C,cg as S,bH as _,i as un,bS as rn,ci as K,w as o,a7 as G,t as sn,j as on,bG as cn}from"./BHwB2t2J.js";function fn(l){return l.innerRadius}function gn(l){return l.outerRadius}function yn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,q,b,v,A,H,a){var z=q-l,i=b-h,n=H-v,d=a-A,u=d*z-n*i;if(!(u*u<g))return u=(n*(h-A)-d*(l-v))/u,[l+u*z,h+u*i]}function V(l,h,q,b,v,A,H){var a=l-q,z=h-b,i=(H?A:-A)/K(a*a+z*z),n=i*z,d=-i*a,u=l+n,s=h+d,c=q+n,f=b+d,I=(u+c)/2,t=(s+f)/2,m=c-u,y=f-s,R=m*m+y*y,T=v-A,P=u*f-c*s,B=(y<0?-1:1)*K(cn(0,T*T*R-P*P)),D=(P*y-m*B)/R,E=(-P*m-y*B)/R,w=(P*y+m*B)/R,p=(-P*m+y*B)/R,x=D-I,e=E-t,r=w-I,O=p-t;return x*x+e*e>r*r+O*O&&(D=w,E=p),{cx:D,cy:E,x01:-n,y01:-d,x11:D*(v/T-1),y11:E*(v/T-1)}}function hn(){var l=fn,h=gn,q=G(0),b=null,v=yn,A=dn,H=mn,a=null,z=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),c=v.apply(this,arguments)-an,f=A.apply(this,arguments)-an,I=un(f-c),t=f>c;if(a||(a=n=z()),s<u&&(d=s,s=u,u=d),!(s>g))a.moveTo(0,0);else if(I>tn-g)a.moveTo(s*C(c),s*S(c)),a.arc(0,0,s,c,f,!t),u>g&&(a.moveTo(u*C(f),u*S(f)),a.arc(0,0,u,f,c,t));else{var m=c,y=f,R=c,T=f,P=I,B=I,D=H.apply(this,arguments)/2,E=D>g&&(b?+b.apply(this,arguments):K(u*u+s*s)),w=_(un(s-u)/2,+q.apply(this,arguments)),p=w,x=w,e,r;if(E>g){var O=sn(E/u*S(D)),L=sn(E/s*S(D));(P-=O*2)>g?(O*=t?1:-1,R+=O,T-=O):(P=0,R=T=(c+f)/2),(B-=L*2)>g?(L*=t?1:-1,m+=L,y-=L):(B=0,m=y=(c+f)/2)}var F=s*C(m),J=s*S(m),M=u*C(T),N=u*S(T);if(w>g){var Q=s*C(y),U=s*S(y),W=u*C(R),X=u*S(R),j;if(I<rn)if(j=pn(F,J,W,X,Q,U,M,N)){var Y=F-j[0],Z=J-j[1],$=Q-j[0],k=U-j[1],nn=1/S(on((Y*$+Z*k)/(K(Y*Y+Z*Z)*K($*$+k*k)))/2),en=K(j[0]*j[0]+j[1]*j[1]);p=_(w,(u-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}B>g?x>g?(e=V(W,X,F,J,s,x,t),r=V(Q,U,M,N,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),a.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(a.moveTo(F,J),a.arc(0,0,s,m,y,!t)):a.moveTo(F,J),!(u>g)||!(P>g)?a.lineTo(M,N):p>g?(e=V(M,N,Q,U,u,-p,t),r=V(F,J,W,X,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,u,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),a.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):a.arc(0,0,u,T,R,t)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-rn/2;return[C(d)*n,S(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:G(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:G(+n),i):h},i.cornerRadius=function(n){return arguments.length?(q=typeof n=="function"?n:G(+n),i):q},i.padRadius=function(n){return arguments.length?(b=n==null?null:typeof n=="function"?n:G(+n),i):b},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:G(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:G(+n),i):A},i.padAngle=function(n){return arguments.length?(H=typeof n=="function"?n:G(+n),i):H},i.context=function(n){return arguments.length?(a=n??null,i):a},i}export{hn as d};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/ClYVhnOY.js","/app/immutable/chunks/BjFoJgFv.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/chunks/Dck4Okga.js","/app/immutable/chunks/COCO5InB.js","/app/immutable/chunks/Cdhgfy6h.js","/app/immutable/chunks/B6LKhrY2.js","/app/immutable/chunks/C563feV7.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{t as Xt,bq as J,a_ as T,by as Kt,bu as D,bs as Gt,b as Nt,bo as o,_ as Qt}from"./COCO5InB.js";import{bs as Yt,ca as S,bH as U,c5 as ft,aD as Z,bj as Jt,a5 as A,bS as p,bA as F,b_ as b,W as h,bn as Zt,cd as tt,bV as _t,c9 as te,aA as et,bl as E,bO as y,ay as vt,aB as k}from"./B8o4lNgr.js";import{k as xt,l as ee}from"./Crs9I2MT.js";import{b as re}from"./D2g8BuR1.js";import{b as se}from"./Bsxt04FP.js";import{G2 as u,z$ as ae,zR as ne,zQ as oe,FY as ie,zC as le,hI as ce,i3 as ue}from"./BjFoJgFv.js";import{a as de,T as pe,D as me,L as fe,o as _e}from"./QLmgzrwQ.js";import{F as rt,cT as ve,c2 as xe,cP as he}from"./BDq7EC2K.js";import{f as ht}from"./C5Xi5eLp.js";import{n as G}from"./CJvhopKt.js";import"./Dck4Okga.js";import"./ChTqQfQN.js";import"./BlJs0v1V.js";import{r as ge}from"./B6pRjnl0.js";import{selectScriptById as st,selectScriptRuntime as be,selectScriptOutput as gt,selectScriptRetainedOutput as ye,selectCanDeleteScript as bt}from"./
|
|
2
|
+
import{t as Xt,bq as J,a_ as T,by as Kt,bu as D,bs as Gt,b as Nt,bo as o,_ as Qt}from"./COCO5InB.js";import{bs as Yt,ca as S,bH as U,c5 as ft,aD as Z,bj as Jt,a5 as A,bS as p,bA as F,b_ as b,W as h,bn as Zt,cd as tt,bV as _t,c9 as te,aA as et,bl as E,bO as y,ay as vt,aB as k}from"./B8o4lNgr.js";import{k as xt,l as ee}from"./Crs9I2MT.js";import{b as re}from"./D2g8BuR1.js";import{b as se}from"./Bsxt04FP.js";import{G2 as u,z$ as ae,zR as ne,zQ as oe,FY as ie,zC as le,hI as ce,i3 as ue}from"./BjFoJgFv.js";import{a as de,T as pe,D as me,L as fe,o as _e}from"./QLmgzrwQ.js";import{F as rt,cT as ve,c2 as xe,cP as he}from"./BDq7EC2K.js";import{f as ht}from"./C5Xi5eLp.js";import{n as G}from"./CJvhopKt.js";import"./Dck4Okga.js";import"./ChTqQfQN.js";import"./BlJs0v1V.js";import{r as ge}from"./B6pRjnl0.js";import{selectScriptById as st,selectScriptRuntime as be,selectScriptOutput as gt,selectScriptRetainedOutput as ye,selectCanDeleteScript as bt}from"./DGWxO_aL.js";import{f as ke}from"./CaQ_vubD.js";import{bP as $e,dE as we,df as yt}from"./DUT4V6mb.js";import"./BqRJyrRC.js";import"./BUVaYTVI.js";import"./B7mAnbbv.js";import{c as Se}from"./BXGDMgsv.js";var kt=k("<!> ",1),Ae=k('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Fe=k('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Ce=k('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Oe=k('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Re=k('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Ie=k('<code class="text-muted-foreground font-mono text-xs"> </code>'),Le=k('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!></div></div>'),ze=k('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Te(f,m){if(new.target)return Xt({component:Te,...f});Yt(m,!0);const H=()=>D(It,"$outputAuthority",O),i=()=>D(At,"$runtime$",O),_=()=>D(Ft,"$output$",O),C=()=>D(Rt,"$codeFontFamilyCSS",O),P=()=>D(Ct,"$retainedOutput$",O),$t=()=>D(Ot,"$hidesAgentLifecycleActions$",O),at=()=>D(St,"$script$",O),[O,wt]=Gt();let $=J(m,"scriptId",7),v=J(m,"workspaceId",7),N=J(m,"class",7,"");const R=tt(""),B=tt(""),nt=tt("");let Q=_t(!1);S(()=>R.set(v())),S(()=>B.set($()));let I,n=null,M=null,V=null,W=null,L=null,j=null;const St=st(R,B),At=be(R,B),Ft=gt(R,B),Ct=ye(R,B,nt),Ot=$e(R),Rt=ke(),It=we(R),ot=crypto.randomUUID();S(()=>{const t=v();return $(),()=>{t&&u.dispatch(ae(t,ot))}}),S(()=>{const t=v(),e=$(),s=H(),r=i();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return nt.set(l),U(Q,ft(()=>_().chunks.length===0),!0),u.dispatch(ne(t,e,l)),()=>u.dispatch(oe(t,e,l))});let X=_t(0);const Lt=te(()=>i().status==="exited"&&i().exitCode!=null&&i().exitCode!==0&&i().exitCode<128);function zt(){if(!I||n)return;W=new pe(I);const t=W.getCurrentTheme();n=new me({allowProposedApi:!0,fontFamily:C(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),n.attachCustomKeyEventHandler(s=>{const r=s.metaKey||s.ctrlKey;return!(r&&s.key==="`"||r&&s.key==="j"||r&&s.key==="k")}),M=new _e,n.loadAddon(M);const e=new fe((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?ge(r).then(g=>{Qt(async()=>{const{getPanelLayoutManager:c}=await import("./ClYVhnOY.js").then(x=>x.p);return{getPanelLayoutManager:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({getPanelLayoutManager:c})=>{c(v()).openBrowserPanel(g.url,void 0,void 0,g.requestedUrl)}).catch(()=>{window.open(g.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(I),W.applyTheme(n),j=requestAnimationFrame(()=>{j=null,M?.fit()}),V=new ResizeObserver(()=>{M?.fit()}),V.observe(I),Tt()}function Tt(){if(!n)return;const t=gt.select(u.state,v(),$());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),U(X,t.dropped+t.chunks.length)}function it(){L!==null&&(cancelAnimationFrame(L),L=null),j!==null&&(cancelAnimationFrame(j),j=null),V?.disconnect(),V=null,W?.dispose(),W=null;const t=n;n=null,M=null,U(X,0),t&&de(t)}S(()=>{const t=_(),e=ft(()=>Z(X)),s=t.dropped+t.chunks.length;if(!n||s<=e)return;const r=Math.max(e-t.dropped,0);n.write(t.chunks.slice(r).map(l=>l.text).join("")),U(X,s)}),S(()=>{const t=C();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function Dt(){u.dispatch(ie(v(),$()))}function Et(){if(!v()){G.error(o.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(ce(v(),$(),P()?.text,ot))}S(()=>{i().status==="idle"&&_().chunks.length===0&&it()}),S(()=>{!(i().status==="idle"&&_().chunks.length===0)&&I&&!n&&(L!==null&&cancelAnimationFrame(L),L=requestAnimationFrame(()=>{L=null,zt()}))}),Jt(()=>{it()});var Pt={get scriptId(){return $()},set scriptId(t){$(t),et()},get workspaceId(){return v()},set workspaceId(t){v(t),et()},get class(){return N()},set class(t=""){N(t),et()},$set:Kt,$on:(t,e)=>Nt(m,t,e)},K=ze(),lt=A(K);{var qt=t=>{var e=Ae(),s=A(e),r=A(s),l=A(r);rt(l,{get icon(){return ve},size:"xs"}),F(r);var g=p(r,2),c=E(g,!0);F(s);var x=p(s,2);{var w=a=>{ht(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Et,children:(d,z)=>{var q=kt(),mt=vt(q);rt(mt,{get icon(){return he},size:"sm",class:"mr-1.5"});var Ht=p(mt);b(Vt=>y(Ht,` ${Vt??""}`),[()=>o.terminal_scriptOutput_askAiToFix_label()]),h(d,q)},$$slots:{default:!0}})};T(x,a=>{$t()||a(w)})}F(e),b(a=>y(c,a),[()=>o.terminal_scriptOutput_buildFailed_label({exitCode:i().exitCode??0})]),h(t,e)};T(lt,t=>{Z(Lt)&&t(qt)})}var ct=p(lt,2);{var Bt=t=>{var e=Oe(),s=A(e),r=E(s,!0),l=p(s,2),g=E(l,!0),c=p(l,2);{var x=a=>{var d=Fe();let z;var q=E(d,!0);b(()=>{z=ee(d,"",z,{"font-family":C()}),y(q,P().text)}),h(a,d)},w=a=>{var d=Ce(),z=E(d,!0);b(q=>y(z,q),[()=>P().status==="loading"?o.terminal_scriptOutput_retainedLoading_label():o.terminal_scriptOutput_retainedUnavailable_label()]),h(a,d)};T(c,a=>{P().status==="available"?a(x):a(w,-1)})}F(e),b((a,d)=>{y(r,a),y(g,d)},[()=>o.terminal_scriptOutput_retained_label(),()=>o.terminal_scriptOutput_retained_description()]),se("open","toggle",e,a=>U(Q,a),()=>Z(Q)),h(t,e)};T(ct,t=>{P()&&t(Bt)})}var ut=p(ct,2);{var Mt=t=>{var e=Re(),s=E(e,!0);b(r=>y(s,r),[()=>o.terminal_scriptOutput_live_label()]),h(t,e)};T(ut,t=>{_().chunks.length>0&&P()&&t(Mt)})}var dt=p(ut,2);{var Wt=t=>{var e=Le(),s=A(e),r=p(A(s),2);{var l=c=>{var x=Ie(),w=E(x,!0);b(a=>y(w,a),[()=>le(at())]),h(c,x)};T(r,c=>{at()&&c(l)})}var g=p(r,2);ht(g,{variant:"ghost",size:"xs",onclick:Dt,class:"text-muted-foreground hover:text-foreground",children:(c,x)=>{var w=kt(),a=vt(w);rt(a,{get icon(){return xe},class:"h-3 w-3 mr-1"});var d=p(a);b(z=>y(d,` ${z??""}`),[()=>o.terminal_scriptOutput_run_label()]),h(c,w)},$$slots:{default:!0}}),F(s),F(e),h(t,e)};T(dt,t=>{i().status==="idle"&&_().chunks.length===0&&t(Wt)})}var Y=p(dt,2);let pt;var jt=A(Y);re(jt,t=>I=t,()=>I),F(Y),F(K),b(()=>{xt(K,1,`script-output-viewer ${N()??""}`,"svelte-115p4sl"),pt=xt(Y,1,"flex-1 relative overflow-hidden",null,pt,{hidden:i().status==="idle"&&_().chunks.length===0})}),h(f,K);var Ut=Zt(Pt);return wt(),Ut}async function rr(f,m,H){const i=st.select(u.state,f,m);if(!i||!H()||!bt.select(u.state,f,m))return;const _=yt.select(u.state,f);if(!_){G.error(o.workspace_client_accessChanged_error());return}if(!await Se({title:o.scripts_delete_title({name:i.name}),description:o.scripts_delete_description(),confirmLabel:o.scripts_delete_label(),destructive:!0}))return;if(_!==yt.select(u.state,f)){G.error(o.workspace_client_accessChanged_error());return}const C=st.select(u.state,f,m);if(!H()||!C||C.createdAt!==i.createdAt||C.name!==i.name||!bt.select(u.state,f,m)){G.error(o.scripts_delete_changed_error());return}u.dispatch(ue(f,m,o.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Te as S,rr as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as p,r as u,d as n}from"./
|
|
1
|
+
import{g as p,r as u,d as n}from"./pUHkzJ_d.js";import{p as f}from"./CqwbuddS.js";import{M as c,c as d}from"./HjNzRj_q.js";import{a,ad as o}from"./DU5u4CoB.js";import"./BHwB2t2J.js";var v=d().RailroadAbnf.parser.LangiumParser,i=a(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=a(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=a(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=a(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=a(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=a(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=a(e=>{f(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(P(r)))},"populateDb"),R={parse:a(e=>{n.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:n}},B={parser:R,db:n,renderer:u,styles:p};export{B as diagram};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Xe}from"./_rq_6KIb.js";import{a as m,M as He,aG as Je,L as Ze,aF as et,K as tt,aI as st,O as it,N as Ce,ad as Ae,k as rt,_ as nt,R as at,ax as lt,aV as ct}from"./Dr_LoEnL.js";import{s as ot}from"./DbIMjJXa.js";import{g as S}from"./C9AXCraB.js";var Ve=(function(){var e=m(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],n=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],p=[2,7],y=[1,26],b=[1,27],T=[1,28],C=[1,29],A=[1,33],V=[1,34],v=[1,35],x=[1,36],L=[1,37],O=[1,38],w=[1,24],D=[1,31],M=[1,32],F=[1,30],R=[1,39],g=[1,40],E=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],U=[1,61],Z=[89,90],ve=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Re=[27,29],xe=[1,70],Le=[1,71],Oe=[1,72],we=[1,73],De=[1,74],Me=[1,75],Fe=[1,76],te=[1,83],Y=[1,80],se=[1,84],ie=[1,85],re=[1,86],ne=[1,87],ae=[1,88],le=[1,89],ce=[1,90],oe=[1,91],he=[1,92],ge=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[63,64],$e=[1,101],Pe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Q=[1,110],H=[1,106],K=[1,107],W=[1,108],j=[1,109],G=[1,111],ue=[1,116],fe=[1,117],me=[1,114],de=[1,115],be={trace:m(S(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(S(function(i,a,o,s,d,t,pe){var l=t.length-1;switch(d){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(n,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},e(n,[2,4]),e(n,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:43,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:44,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:45,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:46,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:47,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:48,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:49,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:50,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(E,[2,17]),e(E,[2,18]),e(E,[2,19]),e(E,[2,20]),{30:60,33:62,75:U,89:R,90:g},{30:63,33:62,75:U,89:R,90:g},{30:64,33:62,75:U,89:R,90:g},e(Z,[2,29]),e(Z,[2,30]),e(Z,[2,31]),e(Z,[2,32]),e(Z,[2,33]),e(Z,[2,34]),e(ve,[2,81]),e(ve,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Re,[2,79]),e(Re,[2,80]),{27:[1,67],29:[1,68]},e(Re,[2,85]),e(Re,[2,86]),{62:69,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{62:77,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{30:78,33:62,75:U,89:R,90:g},{73:79,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,60]),e(ge,[2,62]),{73:93,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},{30:94,33:62,75:U,76:Y,89:R,90:g},{5:[1,95]},{30:96,33:62,75:U,89:R,90:g},{5:[1,97]},{30:98,33:62,75:U,89:R,90:g},{63:[1,99]},e(B,[2,50]),e(B,[2,51]),e(B,[2,52]),e(B,[2,53]),e(B,[2,54]),e(B,[2,55]),e(B,[2,56]),{64:[1,100]},e(E,[2,59],{76:Y}),e(E,[2,64],{76:$e}),{33:103,75:[1,102],89:R,90:g},e(Pe,[2,65],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(E,[2,57],{76:$e}),e(E,[2,58],{76:Y}),{5:Q,28:105,31:H,34:K,36:W,38:j,40:G},{27:[1,112],76:Y},{5:ue,40:fe,56:113,57:me,59:de},{27:[1,118],76:Y},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:te,78:121,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,61]),e(ge,[2,63]),e(N,[2,68]),e(E,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:Q,28:126,31:H,34:K,36:W,38:j,40:G},e(E,[2,28]),{5:[1,127]},e(E,[2,42]),{32:[1,128]},{32:[1,129]},{5:ue,40:fe,56:130,57:me,59:de},e(E,[2,47]),{5:[1,131]},e(E,[2,48]),e(E,[2,49]),e(Pe,[2,66],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(E,[2,27]),{5:Q,28:145,31:H,34:K,36:W,38:j,40:G},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(E,[2,46]),{5:ue,40:fe,56:152,57:me,59:de},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(E,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(E,[2,43]),{5:Q,28:159,31:H,34:K,36:W,38:j,40:G},{5:Q,28:160,31:H,34:K,36:W,38:j,40:G},{5:Q,28:161,31:H,34:K,36:W,38:j,40:G},{5:Q,28:162,31:H,34:K,36:W,38:j,40:G},{5:ue,40:fe,56:163,57:me,59:de},{5:ue,40:fe,56:164,57:me,59:de},e(E,[2,23]),e(E,[2,24]),e(E,[2,25]),e(E,[2,26]),e(E,[2,44]),e(E,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(S(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),"parseError"),parse:m(S(function(i){var a=this,o=[0],s=[],d=[null],t=[],pe=this.table,l="",ye=0,Ue=0,je=2,Ye=1,Ge=t.slice.call(arguments,1),_=Object.create(this.lexer),z={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(z.yy[Ie]=this.yy[Ie]);_.setInput(i,z.yy),z.yy.lexer=_,z.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var ke=_.yylloc;t.push(ke);var ze=_.options&&_.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(k){o.length=o.length-2*k,d.length=d.length-k,t.length=t.length-k}S(Be,"popStack"),m(Be,"popStack");function Te(){var k;return k=s.pop()||_.lex()||Ye,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=a.symbols_[k]||k),k}S(Te,"lex"),m(Te,"lex");for(var I,X,q,Ne,ee={},_e,$,Qe,Se;;){if(X=o[o.length-1],this.defaultActions[X]?q=this.defaultActions[X]:((I===null||typeof I>"u")&&(I=Te()),q=pe[X]&&pe[X][I]),typeof q>"u"||!q.length||!q[0]){var qe="";Se=[];for(_e in pe[X])this.terminals_[_e]&&_e>je&&Se.push("'"+this.terminals_[_e]+"'");_.showPosition?qe="Parse error on line "+(ye+1)+`:
|
|
1
|
+
import{g as Xe}from"./C6RQmr0V.js";import{a as m,M as He,aG as Je,L as Ze,aF as et,K as tt,aI as st,O as it,N as Ce,ad as Ae,k as rt,_ as nt,R as at,ax as lt,aV as ct}from"./DU5u4CoB.js";import{s as ot}from"./Cbe4LDCb.js";import{g as S}from"./BHwB2t2J.js";var Ve=(function(){var e=m(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],n=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],p=[2,7],y=[1,26],b=[1,27],T=[1,28],C=[1,29],A=[1,33],V=[1,34],v=[1,35],x=[1,36],L=[1,37],O=[1,38],w=[1,24],D=[1,31],M=[1,32],F=[1,30],R=[1,39],g=[1,40],E=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],U=[1,61],Z=[89,90],ve=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Re=[27,29],xe=[1,70],Le=[1,71],Oe=[1,72],we=[1,73],De=[1,74],Me=[1,75],Fe=[1,76],te=[1,83],Y=[1,80],se=[1,84],ie=[1,85],re=[1,86],ne=[1,87],ae=[1,88],le=[1,89],ce=[1,90],oe=[1,91],he=[1,92],ge=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[63,64],$e=[1,101],Pe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Q=[1,110],H=[1,106],K=[1,107],W=[1,108],j=[1,109],G=[1,111],ue=[1,116],fe=[1,117],me=[1,114],de=[1,115],be={trace:m(S(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(S(function(i,a,o,s,d,t,pe){var l=t.length-1;switch(d){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(n,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},e(n,[2,4]),e(n,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:43,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:44,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:45,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:46,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:47,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:48,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:49,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:50,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(E,[2,17]),e(E,[2,18]),e(E,[2,19]),e(E,[2,20]),{30:60,33:62,75:U,89:R,90:g},{30:63,33:62,75:U,89:R,90:g},{30:64,33:62,75:U,89:R,90:g},e(Z,[2,29]),e(Z,[2,30]),e(Z,[2,31]),e(Z,[2,32]),e(Z,[2,33]),e(Z,[2,34]),e(ve,[2,81]),e(ve,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Re,[2,79]),e(Re,[2,80]),{27:[1,67],29:[1,68]},e(Re,[2,85]),e(Re,[2,86]),{62:69,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{62:77,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{30:78,33:62,75:U,89:R,90:g},{73:79,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,60]),e(ge,[2,62]),{73:93,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},{30:94,33:62,75:U,76:Y,89:R,90:g},{5:[1,95]},{30:96,33:62,75:U,89:R,90:g},{5:[1,97]},{30:98,33:62,75:U,89:R,90:g},{63:[1,99]},e(B,[2,50]),e(B,[2,51]),e(B,[2,52]),e(B,[2,53]),e(B,[2,54]),e(B,[2,55]),e(B,[2,56]),{64:[1,100]},e(E,[2,59],{76:Y}),e(E,[2,64],{76:$e}),{33:103,75:[1,102],89:R,90:g},e(Pe,[2,65],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(E,[2,57],{76:$e}),e(E,[2,58],{76:Y}),{5:Q,28:105,31:H,34:K,36:W,38:j,40:G},{27:[1,112],76:Y},{5:ue,40:fe,56:113,57:me,59:de},{27:[1,118],76:Y},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:te,78:121,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,61]),e(ge,[2,63]),e(N,[2,68]),e(E,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:Q,28:126,31:H,34:K,36:W,38:j,40:G},e(E,[2,28]),{5:[1,127]},e(E,[2,42]),{32:[1,128]},{32:[1,129]},{5:ue,40:fe,56:130,57:me,59:de},e(E,[2,47]),{5:[1,131]},e(E,[2,48]),e(E,[2,49]),e(Pe,[2,66],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(E,[2,27]),{5:Q,28:145,31:H,34:K,36:W,38:j,40:G},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(E,[2,46]),{5:ue,40:fe,56:152,57:me,59:de},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(E,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(E,[2,43]),{5:Q,28:159,31:H,34:K,36:W,38:j,40:G},{5:Q,28:160,31:H,34:K,36:W,38:j,40:G},{5:Q,28:161,31:H,34:K,36:W,38:j,40:G},{5:Q,28:162,31:H,34:K,36:W,38:j,40:G},{5:ue,40:fe,56:163,57:me,59:de},{5:ue,40:fe,56:164,57:me,59:de},e(E,[2,23]),e(E,[2,24]),e(E,[2,25]),e(E,[2,26]),e(E,[2,44]),e(E,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(S(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),"parseError"),parse:m(S(function(i){var a=this,o=[0],s=[],d=[null],t=[],pe=this.table,l="",ye=0,Ue=0,je=2,Ye=1,Ge=t.slice.call(arguments,1),_=Object.create(this.lexer),z={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(z.yy[Ie]=this.yy[Ie]);_.setInput(i,z.yy),z.yy.lexer=_,z.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var ke=_.yylloc;t.push(ke);var ze=_.options&&_.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(k){o.length=o.length-2*k,d.length=d.length-k,t.length=t.length-k}S(Be,"popStack"),m(Be,"popStack");function Te(){var k;return k=s.pop()||_.lex()||Ye,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=a.symbols_[k]||k),k}S(Te,"lex"),m(Te,"lex");for(var I,X,q,Ne,ee={},_e,$,Qe,Se;;){if(X=o[o.length-1],this.defaultActions[X]?q=this.defaultActions[X]:((I===null||typeof I>"u")&&(I=Te()),q=pe[X]&&pe[X][I]),typeof q>"u"||!q.length||!q[0]){var qe="";Se=[];for(_e in pe[X])this.terminals_[_e]&&_e>je&&Se.push("'"+this.terminals_[_e]+"'");_.showPosition?qe="Parse error on line "+(ye+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+Se.join(", ")+", got '"+(this.terminals_[I]||I)+"'":qe="Parse error on line "+(ye+1)+": Unexpected "+(I==Ye?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(qe,{text:_.match,token:this.terminals_[I]||I,line:_.yylineno,loc:ke,expected:Se})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+X+", token: "+I);switch(q[0]){case 1:o.push(I),d.push(_.yytext),t.push(_.yylloc),o.push(q[1]),I=null,Ue=_.yyleng,l=_.yytext,ye=_.yylineno,ke=_.yylloc;break;case 2:if($=this.productions_[q[1]][1],ee.$=d[d.length-$],ee._$={first_line:t[t.length-($||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-($||1)].first_column,last_column:t[t.length-1].last_column},ze&&(ee._$.range=[t[t.length-($||1)].range[0],t[t.length-1].range[1]]),Ne=this.performAction.apply(ee,[l,Ue,ye,z.yy,q[1],d,t].concat(Ge)),typeof Ne<"u")return Ne;$&&(o=o.slice(0,-1*$*2),d=d.slice(0,-1*$),t=t.slice(0,-1*$)),o.push(this.productions_[q[1]][0]),d.push(ee.$),t.push(ee._$),Qe=pe[o[o.length-2]][o[o.length-1]],o.push(Qe);break;case 3:return!0}}return!0},"parse"),"parse")},We=(function(){var P={EOF:1,parseError:m(S(function(a,o){if(this.yy.parser)this.yy.parser.parseError(a,o);else throw new Error(a)},"parseError"),"parseError"),setInput:m(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:m(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:m(function(i){var a=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:m(function(i){this.unput(this.match.slice(i))},"less"),pastInput:m(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|