@intent-hq/web 2.289.0 → 2.290.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/{PZzdtHEH.js → -8bl9H3j.js} +1 -1
- package/web/app/immutable/chunks/{OJ1L_5qb.js → 1H7i14Jq.js} +1 -1
- package/web/app/immutable/chunks/{iaCxlE6C.js → 1NjHIsWL.js} +1 -1
- package/web/app/immutable/chunks/{BCvaSKdY.js → 1yYrVIcH.js} +1 -1
- package/web/app/immutable/chunks/{BMtE4svi.js → 2zyiBICC.js} +1 -1
- package/web/app/immutable/chunks/{CLqc4Ghh.js → 4cIwmSuD.js} +4 -4
- package/web/app/immutable/chunks/{DLOCpz5P.js → 7-JV_YuQ.js} +1 -1
- package/web/app/immutable/chunks/{CbsrOoqP.js → 86pQg5ba.js} +1 -1
- package/web/app/immutable/chunks/{h6LfsnBK.js → 8DpW-FUQ.js} +1 -1
- package/web/app/immutable/chunks/{Dtny-3OT.js → 8ZymRjAb.js} +1 -1
- package/web/app/immutable/chunks/{D3NFuU4L.js → B05yODFj.js} +1 -1
- package/web/app/immutable/chunks/{BSmsRx9G.js → B0Prdf3M.js} +1 -1
- package/web/app/immutable/chunks/{CVAEsdqc.js → B1uw4k3u.js} +1 -1
- package/web/app/immutable/chunks/{CM-42I4J.js → B4ARXgVr.js} +1 -1
- package/web/app/immutable/chunks/{DGPqSlym.js → B7NNbItI.js} +1 -1
- package/web/app/immutable/chunks/{gbA3Idh4.js → B7WsW6mB.js} +6 -6
- package/web/app/immutable/chunks/{CVwFZDMQ.js → BA5dsrgI.js} +1 -1
- package/web/app/immutable/chunks/{C3XlBsuD.js → BA6v9DYL.js} +1 -1
- package/web/app/immutable/chunks/{BFapXlF9.js → BB-rM-bv.js} +1 -1
- package/web/app/immutable/chunks/{CWwfm7Sc.js → BBBIudrX.js} +1 -1
- package/web/app/immutable/chunks/{BraZvQcb.js → BCqLW1sk.js} +1 -1
- package/web/app/immutable/chunks/{COYb5Q2j.js → BEOSERRe.js} +1 -1
- package/web/app/immutable/chunks/{CRPPupd6.js → BFY95MZy.js} +1 -1
- package/web/app/immutable/chunks/{BNAxChIn.js → BFxAoZrN.js} +3 -3
- package/web/app/immutable/chunks/{CkLmMloL.js → BIRD3ESe.js} +1 -1
- package/web/app/immutable/chunks/{bJKJaeMz.js → BJarmryO.js} +1 -1
- package/web/app/immutable/chunks/{3oF_cfgL.js → BJiYgQMg.js} +1 -1
- package/web/app/immutable/chunks/{CF6Nr1sW.js → BKANDKfj.js} +1 -1
- package/web/app/immutable/chunks/{DmLTqLLV.js → BLV57oiS.js} +1 -1
- package/web/app/immutable/chunks/{FBhib8LQ.js → BL_sVoge.js} +1 -1
- package/web/app/immutable/chunks/{CxWK8xnP.js → BLwubCUL.js} +1 -1
- package/web/app/immutable/chunks/{CBLL08sm.js → BME2e0zx.js} +1 -1
- package/web/app/immutable/chunks/{CF8O1pc4.js → BMI9BPVJ.js} +1 -1
- package/web/app/immutable/chunks/{l18fXbdG.js → BOrf8iaF.js} +2 -2
- package/web/app/immutable/chunks/{BlUnlsOK.js → BPomlxD-.js} +51 -51
- package/web/app/immutable/chunks/{CSSOys25.js → BQAjYSZn.js} +1 -1
- package/web/app/immutable/chunks/{Cgu6cLKT.js → BRqvd9LR.js} +1 -1
- package/web/app/immutable/chunks/{BgLK_ncR.js → BSg7eLHt.js} +1 -1
- package/web/app/immutable/chunks/{B5NmEYUa.js → BUfDnmlv.js} +1 -1
- package/web/app/immutable/chunks/{BulSFF-a.js → BVf1OKWM.js} +1 -1
- package/web/app/immutable/chunks/{DFm7ZzVD.js → BVkABTn_.js} +1 -1
- package/web/app/immutable/chunks/{a305huOc.js → BVxQ-eUq.js} +1 -1
- package/web/app/immutable/chunks/{CArnO8CD.js → BYCiS1o9.js} +3 -3
- package/web/app/immutable/chunks/{DXRlnb97.js → BZML3c09.js} +1 -1
- package/web/app/immutable/chunks/{DVs38eSu.js → BZrGNaMY.js} +4 -4
- package/web/app/immutable/chunks/{Hai9JAty.js → B_ZXH4Bf.js} +1 -1
- package/web/app/immutable/chunks/{Df7C6745.js → Ba-TS5vR.js} +1 -1
- package/web/app/immutable/chunks/{-Vbe26cE.js → BcidqQDh.js} +1 -1
- package/web/app/immutable/chunks/{DZ1zC9TP.js → BffyNBKQ.js} +1 -1
- package/web/app/immutable/chunks/{C2WwiwWs.js → Bfq2PcjA.js} +1 -1
- package/web/app/immutable/chunks/{BzLM7oPX.js → BgerNePf.js} +1 -1
- package/web/app/immutable/chunks/{Mw1KbVyQ.js → BiCS5wL3.js} +1 -1
- package/web/app/immutable/chunks/{DswUZY33.js → BiFqz5BS.js} +1 -1
- package/web/app/immutable/chunks/{CKeHkFGu.js → BjBW4i6w.js} +1 -1
- package/web/app/immutable/chunks/{13AmrEpa.js → BjJW_Stw.js} +1 -1
- package/web/app/immutable/chunks/{DFAvh56i.js → Bjha4wuc.js} +1 -1
- package/web/app/immutable/chunks/{CGkp_Cwy.js → BmUlDo2H.js} +1 -1
- package/web/app/immutable/chunks/{DTbYuW0t.js → BmiNxvpC.js} +1 -1
- package/web/app/immutable/chunks/{jS3iGRMB.js → Bmk9ow9D.js} +1 -1
- package/web/app/immutable/chunks/{DpDRAdy2.js → BmwLKx4A.js} +2 -2
- package/web/app/immutable/chunks/{BnSQjI9U.js → Bn3UQ-Cp.js} +1 -1
- package/web/app/immutable/chunks/{CaJKv7d6.js → Bo4f3vLH.js} +1 -1
- package/web/app/immutable/chunks/{BYk1ULDt.js → BoHfk-5t.js} +3 -3
- package/web/app/immutable/chunks/{CDT1G70y.js → BpOXeNkx.js} +1 -1
- package/web/app/immutable/chunks/{Cs8DWwEN.js → BpxCnE9X.js} +2 -2
- package/web/app/immutable/chunks/{2R1NzPTD.js → BqoQHFLV.js} +1 -1
- package/web/app/immutable/chunks/Bs9Hbccv.js +1 -0
- package/web/app/immutable/chunks/{BR8wCCqs.js → BsqGui1M.js} +1 -1
- package/web/app/immutable/chunks/{C6HNr-1J.js → BssOKdq0.js} +1 -1
- package/web/app/immutable/chunks/{DBAVKOs3.js → BtVjR42p.js} +1 -1
- package/web/app/immutable/chunks/{rJ19sxRo.js → BvtLLvEi.js} +1 -1
- package/web/app/immutable/chunks/{DmRzBB2M.js → BvypOCfp.js} +1 -1
- package/web/app/immutable/chunks/{BuNDx2oQ.js → BwDb1jNr.js} +1 -1
- package/web/app/immutable/chunks/{n0AniKod.js → BxE5JflA.js} +1 -1
- package/web/app/immutable/chunks/{DyyrFzIP.js → Byu82QgX.js} +1 -1
- package/web/app/immutable/chunks/{BlBEj3oF.js → C-BS-coA.js} +2 -2
- package/web/app/immutable/chunks/{D1yGasR4.js → C0fOehTZ.js} +1 -1
- package/web/app/immutable/chunks/{CHwD9QHP.js → C1H4_ssx.js} +1 -1
- package/web/app/immutable/chunks/{BpZ--9ga.js → C1vv_LrD.js} +1 -1
- package/web/app/immutable/chunks/{B-CmW-Rt.js → C4hboqwm.js} +1 -1
- package/web/app/immutable/chunks/{CylTfPZk.js → C5qvCE4M.js} +1 -1
- package/web/app/immutable/chunks/{C5paQyk5.js → C6rJFcL9.js} +1 -1
- package/web/app/immutable/chunks/{DxrXzX_M.js → C7KdCylX.js} +3 -3
- package/web/app/immutable/chunks/{B2-XfPcN.js → C7mmIZCH.js} +1 -1
- package/web/app/immutable/chunks/{Q09YKVwy.js → C94wEIre.js} +1 -1
- package/web/app/immutable/chunks/{DZC7segB.js → C9AcsTi0.js} +1 -1
- package/web/app/immutable/chunks/{CUpXgpcF.js → C9tAiYT0.js} +1 -1
- package/web/app/immutable/chunks/{CwzDLq3o.js → CAaAIfXJ.js} +1 -1
- package/web/app/immutable/chunks/{CvHIPf4O.js → CBeBcrFe.js} +1 -1
- package/web/app/immutable/chunks/{gdAnsrdj.js → CE7ZtQHh.js} +1 -1
- package/web/app/immutable/chunks/{DjyFgI1x.js → CEAZJuV2.js} +1 -1
- package/web/app/immutable/chunks/{C_drUQi2.js → CECSRFPp.js} +1 -1
- package/web/app/immutable/chunks/{CnypGHrl.js → CETsvapu.js} +1 -1
- package/web/app/immutable/chunks/{Co-DDbT2.js → CFHzcj7N.js} +1 -1
- package/web/app/immutable/chunks/{Db3BHa7z.js → CG-2eU4S.js} +1 -1
- package/web/app/immutable/chunks/{CN0OjCVu.js → CJcw2WA-.js} +1 -1
- package/web/app/immutable/chunks/{ClIwbXJq.js → CKuYPUu0.js} +1 -1
- package/web/app/immutable/chunks/{C0MRkgn4.js → CN15iJiw.js} +1 -1
- package/web/app/immutable/chunks/{Ev7NI-4B.js → CNWeExHy.js} +1 -1
- package/web/app/immutable/chunks/{rN1DOgEJ.js → CPezNx23.js} +1 -1
- package/web/app/immutable/chunks/{DFBRG5f3.js → CQk4XJFx.js} +1 -1
- package/web/app/immutable/chunks/{CvUXvU-2.js → CRmUlrc9.js} +1 -1
- package/web/app/immutable/chunks/{Diyq2-7-.js → CSJ0J5sC.js} +1 -1
- package/web/app/immutable/chunks/{BiN4BvQG.js → CT1GHsTn.js} +1 -1
- package/web/app/immutable/chunks/{JWXbB6B6.js → CT1fMnWm.js} +1 -1
- package/web/app/immutable/chunks/{DYrNCBqG.js → CU1drimT.js} +1 -1
- package/web/app/immutable/chunks/{DVFKqUgb.js → CU1rgNTy.js} +1 -1
- package/web/app/immutable/chunks/{BETowprU.js → CVQnuBUY.js} +1 -1
- package/web/app/immutable/chunks/{DsoGIaMF.js → CW92V9X1.js} +1 -1
- package/web/app/immutable/chunks/{DkiAPJ2W.js → CXwlKBiL.js} +1 -1
- package/web/app/immutable/chunks/{iNzcdJYX.js → CYEJX57C.js} +1 -1
- package/web/app/immutable/chunks/{B0vB3nPK.js → CYH5KIcO.js} +1 -1
- package/web/app/immutable/chunks/{y_-PH3Cn.js → CZiA6iY8.js} +1 -1
- package/web/app/immutable/chunks/{CjPlYTON.js → C_dZqjuM.js} +1 -1
- package/web/app/immutable/chunks/{D3Xty9Im.js → Car8OZH2.js} +1 -1
- package/web/app/immutable/chunks/{5bL3DJj7.js → CaxwpItd.js} +1 -1
- package/web/app/immutable/chunks/{rZp3PWdq.js → CbVYqaBE.js} +1 -1
- package/web/app/immutable/chunks/{CtGY50_e.js → Ccxm74iK.js} +1 -1
- package/web/app/immutable/chunks/CfV9aH5z.js +4 -0
- package/web/app/immutable/chunks/CgPr4hs2.js +1 -0
- package/web/app/immutable/chunks/{DktdylrS.js → Ch36jfts.js} +1 -1
- package/web/app/immutable/chunks/{T4V8F4hM.js → ChRkiYOJ.js} +1 -1
- package/web/app/immutable/chunks/{BdqSZQx_.js → CivlAwc7.js} +1 -1
- package/web/app/immutable/chunks/CiyXcVwM.js +1 -0
- package/web/app/immutable/chunks/{YvM9JcXX.js → CjUzEyu9.js} +1 -1
- package/web/app/immutable/chunks/{D2ImsQzb.js → CkmJMnjs.js} +1 -1
- package/web/app/immutable/chunks/{Da9J2JX1.js → ClHM0gRH.js} +1 -1
- package/web/app/immutable/chunks/{B5xbJc9W.js → Clm-X79i.js} +1 -1
- package/web/app/immutable/chunks/{D1LasNTA.js → Clusycua.js} +1 -1
- package/web/app/immutable/chunks/{CBolvbXG.js → Cm8yeV3M.js} +1 -1
- package/web/app/immutable/chunks/{CDbeyeCP.js → Cmd7Q9e2.js} +2 -2
- package/web/app/immutable/chunks/{C13MrFSw.js → CntEBInL.js} +1 -1
- package/web/app/immutable/chunks/{CfM0pCZF.js → Co_Aa6ij.js} +1 -1
- package/web/app/immutable/chunks/{NUHg8tud.js → CokCeQxx.js} +1 -1
- package/web/app/immutable/chunks/{rjfpoS8M.js → CpWIfz5C.js} +1 -1
- package/web/app/immutable/chunks/{D4kGqGBk.js → CpZlxc5c.js} +1 -1
- package/web/app/immutable/chunks/{O81B-H5P.js → Cq8w3ES-.js} +1 -1
- package/web/app/immutable/chunks/{CJT0k-x3.js → Cqsec-yx.js} +1 -1
- package/web/app/immutable/chunks/{DIiXUVIr.js → Cro1ceUg.js} +3 -3
- package/web/app/immutable/chunks/{3CggOKng.js → Cs1191LV.js} +1 -1
- package/web/app/immutable/chunks/{DaiMZHlt.js → CsHZlnUj.js} +1 -1
- package/web/app/immutable/chunks/{DpawEIzT.js → CskCO23D.js} +3 -3
- package/web/app/immutable/chunks/{CsvDcicf.js → CsstSIr0.js} +1 -1
- package/web/app/immutable/chunks/{CemNgvNI.js → Cv0HcHak.js} +1 -1
- package/web/app/immutable/chunks/{DmeSNHl2.js → CvNRUlp4.js} +1 -1
- package/web/app/immutable/chunks/{Cb7Fwhyl.js → CvXnZ-8G.js} +1 -1
- package/web/app/immutable/chunks/{Bs0OTveI.js → CvlQZpOV.js} +1 -1
- package/web/app/immutable/chunks/{u8zBWO7U.js → Cx9nrScM.js} +1 -1
- package/web/app/immutable/chunks/{0n1_sqb5.js → CzeJNa_N.js} +1 -1
- package/web/app/immutable/chunks/{C3U610Va.js → D-USmFEk.js} +1 -1
- package/web/app/immutable/chunks/{DqaJW-PO.js → D-Zd1oaK.js} +1 -1
- package/web/app/immutable/chunks/{e4k4F_fF.js → D-nuXMbz.js} +1 -1
- package/web/app/immutable/chunks/{DhizMGiT.js → D-y9m6ao.js} +1 -1
- package/web/app/immutable/chunks/{kmgcRpkz.js → D0SLupV7.js} +1 -1
- package/web/app/immutable/chunks/{1kMmRwXf.js → D226daYk.js} +1 -1
- package/web/app/immutable/chunks/{B25t-e4E.js → D32qvOGn.js} +1 -1
- package/web/app/immutable/chunks/{HqhytM4z.js → D3ROSEe0.js} +1 -1
- package/web/app/immutable/chunks/{BDZGpmAg.js → D4KaTH-V.js} +1 -1
- package/web/app/immutable/chunks/{CpyyZUC4.js → D56Oo2O2.js} +1 -1
- package/web/app/immutable/chunks/{YQRvuTGW.js → D5jBmJQo.js} +1 -1
- package/web/app/immutable/chunks/{KrEm5AbS.js → D6rPVTS4.js} +1 -1
- package/web/app/immutable/chunks/{BcXGciCG.js → D7Efqf9l.js} +1 -1
- package/web/app/immutable/chunks/{C7cZaxG3.js → D7RRnWwO.js} +1 -1
- package/web/app/immutable/chunks/{DBaQx-Pk.js → D8m7soiy.js} +1 -1
- package/web/app/immutable/chunks/{DBH00hnQ.js → D9ikaMyr.js} +1 -1
- package/web/app/immutable/chunks/{CamLX2Sb.js → DC4NL8YS.js} +1 -1
- package/web/app/immutable/chunks/{f34gPxAx.js → DCpi1ytG.js} +1 -1
- package/web/app/immutable/chunks/{CG_nXeYa.js → DD8c9eUJ.js} +1 -1
- package/web/app/immutable/chunks/{C7FfDPRZ.js → DFT4lZL_.js} +1 -1
- package/web/app/immutable/chunks/{Bb6J6sjQ.js → DG2MKLyJ.js} +1 -1
- package/web/app/immutable/chunks/{BTurlMFD.js → DG9YtBZO.js} +1 -1
- package/web/app/immutable/chunks/{Daq0t0IO.js → DHVVvfGv.js} +1 -1
- package/web/app/immutable/chunks/{3-iWM9xO.js → DJB1T3Sf.js} +1 -1
- package/web/app/immutable/chunks/{ClGi_L6l.js → DJk4n_RN.js} +1 -1
- package/web/app/immutable/chunks/{Bk3O9qYH.js → DJuSbP_R.js} +1 -1
- package/web/app/immutable/chunks/{BzBOPxuP.js → DK1Nq2tK.js} +1 -1
- package/web/app/immutable/chunks/{CBiBtnBM.js → DKDZTli0.js} +1 -1
- package/web/app/immutable/chunks/{C26KoPDI.js → DKs113YH.js} +1 -1
- package/web/app/immutable/chunks/{DfacsTaO.js → DNWjwuC6.js} +1 -1
- package/web/app/immutable/chunks/{hcRUxON5.js → DPRoG8qR.js} +1 -1
- package/web/app/immutable/chunks/{RKSEQ7So.js → DQXapDyu.js} +1 -1
- package/web/app/immutable/chunks/{COR1ZgMB.js → DQcbLXPp.js} +1 -1
- package/web/app/immutable/chunks/{CW9o0MGu.js → DR8eV9N8.js} +1 -1
- package/web/app/immutable/chunks/{iF8lSM38.js → DTTAQR6U.js} +1 -1
- package/web/app/immutable/chunks/{D1dtTkDE.js → DUEahgsi.js} +1 -1
- package/web/app/immutable/chunks/{CNySgneH.js → DV1BB3if.js} +1 -1
- package/web/app/immutable/chunks/{DerqLelD.js → DVGE4E_C.js} +1 -1
- package/web/app/immutable/chunks/{CK6izZOP.js → DVOiawfp.js} +2 -2
- package/web/app/immutable/chunks/{Bg4MuTWX.js → DVbZ5oZ8.js} +1 -1
- package/web/app/immutable/chunks/{Bqfueq_D.js → DWLJSPfW.js} +1 -1
- package/web/app/immutable/chunks/{BGCd17XA.js → DX09WtDr.js} +1 -1
- package/web/app/immutable/chunks/{Bg5ADDrW.js → DX8x4w_C.js} +1 -1
- package/web/app/immutable/chunks/{BZsM0M0Q.js → DXiP5t0I.js} +1 -1
- package/web/app/immutable/chunks/{BW5wGxdP.js → DY2nfza0.js} +1 -1
- package/web/app/immutable/chunks/{CEuCjemc.js → DZyz0CaB.js} +1 -1
- package/web/app/immutable/chunks/{YSaBP0Ch.js → DaJsXhcE.js} +1 -1
- package/web/app/immutable/chunks/{BAhFveyJ.js → Darv-bZj.js} +1 -1
- package/web/app/immutable/chunks/{Db1mweH6.js → DbD4A30t.js} +1 -1
- package/web/app/immutable/chunks/{iy9r6eBz.js → DeywGElR.js} +1 -1
- package/web/app/immutable/chunks/{Dbhxem_q.js → Df1mOKLZ.js} +1 -1
- package/web/app/immutable/chunks/{bHtn9InS.js → Df2ohObb.js} +1 -1
- package/web/app/immutable/chunks/{CIkVHIT3.js → Df8Itx2l.js} +1 -1
- package/web/app/immutable/chunks/{12UHR0Xn.js → DfKemw6I.js} +1 -1
- package/web/app/immutable/chunks/{1KqMO8DA.js → Dfw44tJF.js} +1 -1
- package/web/app/immutable/chunks/{DVuTL7Ze.js → DgO-InVL.js} +1 -1
- package/web/app/immutable/chunks/{zIOd8jG8.js → Dj0Fo3FR.js} +1 -1
- package/web/app/immutable/chunks/{D_OjFNQH.js → DknXCwG-.js} +1 -1
- package/web/app/immutable/chunks/{TjYngI-X.js → Dl6wwL68.js} +1 -1
- package/web/app/immutable/chunks/{D8u-TTw-.js → DlcwslMx.js} +1 -1
- package/web/app/immutable/chunks/{IjnClLwt.js → Dlfu53Jt.js} +1 -1
- package/web/app/immutable/chunks/{DZFxh2Hz.js → DlqxHCQ7.js} +1 -1
- package/web/app/immutable/chunks/{CS4ChtR_.js → DoSGU0je.js} +1 -1
- package/web/app/immutable/chunks/{D91osLQe.js → DpDR6yW3.js} +1 -1
- package/web/app/immutable/chunks/{V68rWC50.js → DqNPF1Kv.js} +1 -1
- package/web/app/immutable/chunks/{BppZZR6X.js → DsEt8_PJ.js} +1 -1
- package/web/app/immutable/chunks/{Dy2xsFvf.js → Dt4GGs4d.js} +1 -1
- package/web/app/immutable/chunks/{D8C52zH9.js → Dug6137y.js} +1 -1
- package/web/app/immutable/chunks/{Cd0IJoag.js → DxGgdCHB.js} +1 -1
- package/web/app/immutable/chunks/{B7y27fC-.js → Dynz04e1.js} +1 -1
- package/web/app/immutable/chunks/{DwxN7Wdi.js → DzbhMJUu.js} +1 -1
- package/web/app/immutable/chunks/{lM1_eh6C.js → FvORToMl.js} +1 -1
- package/web/app/immutable/chunks/{C2eeslGl.js → GIAV4N10.js} +1 -1
- package/web/app/immutable/chunks/{cv4xg7k0.js → HK2fZqOM.js} +1 -1
- package/web/app/immutable/chunks/{D6QA9x6A.js → IorbBySt.js} +1 -1
- package/web/app/immutable/chunks/{BiMGq9Z7.js → IuNsAsbW.js} +1 -1
- package/web/app/immutable/chunks/{wI7zMgx-.js → Kr-Hl0sp.js} +1 -1
- package/web/app/immutable/chunks/{DchjGXey.js → LZ5jXWXv.js} +1 -1
- package/web/app/immutable/chunks/{BejAw64w.js → LhLTjc8B.js} +6 -6
- package/web/app/immutable/chunks/{D1zpsxCF.js → LwsqbQ0C.js} +1 -1
- package/web/app/immutable/chunks/{BDldvohw.js → P80hEEPK.js} +1 -1
- package/web/app/immutable/chunks/{3FJRVBU-.js → PJ-tEAYj.js} +1 -1
- package/web/app/immutable/chunks/{P-01BLZ6.js → Ps9iRbKd.js} +3 -3
- package/web/app/immutable/chunks/{BelvDbq4.js → Q0BLEqss.js} +3 -3
- package/web/app/immutable/chunks/{B7g53bMx.js → Qe1_731c.js} +1 -1
- package/web/app/immutable/chunks/{CsgZCzi1.js → RiB0F36z.js} +3 -3
- package/web/app/immutable/chunks/RmgPTyFU.js +1 -0
- package/web/app/immutable/chunks/{CyLm5JOs.js → SEnfPRC9.js} +1 -1
- package/web/app/immutable/chunks/{C-jH8s9r.js → S_AAYsIr.js} +2 -2
- package/web/app/immutable/chunks/{CVYI64VR.js → SpDQ1yhe.js} +1 -1
- package/web/app/immutable/chunks/{glfri7wL.js → Wtp4gWgF.js} +1 -1
- package/web/app/immutable/chunks/{Drwt7aYJ.js → Xz2JgrtK.js} +1 -1
- package/web/app/immutable/chunks/{Cm72nCq-.js → ZBCGBGeT.js} +1 -1
- package/web/app/immutable/chunks/{C_lRd9OO.js → ZsIzkx4b.js} +1 -1
- package/web/app/immutable/chunks/{D6cxqzoz.js → _es_q85K.js} +1 -1
- package/web/app/immutable/chunks/{CI4bdaNh.js → _o85nBWH.js} +1 -1
- package/web/app/immutable/chunks/{D2zf67XA.js → bAWH0D1a.js} +7 -7
- package/web/app/immutable/chunks/{BNOUHNLe.js → cPzpQFEA.js} +1 -1
- package/web/app/immutable/chunks/{Bxucs2aA.js → dkojwLk2.js} +1 -1
- package/web/app/immutable/chunks/{DFhTl2LJ.js → dpToMVNV.js} +1 -1
- package/web/app/immutable/chunks/{CFmU7Xxn.js → fXrcgNtr.js} +1 -1
- package/web/app/immutable/chunks/{CUTHTUjs.js → fciB9y8B.js} +1 -1
- package/web/app/immutable/chunks/{Bz2j5nDH.js → iCHr0TgO.js} +1 -1
- package/web/app/immutable/chunks/iaaN5aeR.js +1 -0
- package/web/app/immutable/chunks/{B1rvRaDg.js → ihEwdinj.js} +1 -1
- package/web/app/immutable/chunks/{CfeU66Hz.js → jsY6ocH0.js} +1 -1
- package/web/app/immutable/chunks/{DShhv9Lh.js → kIb2FXed.js} +1 -1
- package/web/app/immutable/chunks/{p29Y4Sx3.js → kXKukUHU.js} +1 -1
- package/web/app/immutable/chunks/{DuMYTc8Y.js → kza5UJ4U.js} +1 -1
- package/web/app/immutable/chunks/{D30--6jq.js → mMBlGZk9.js} +1 -1
- package/web/app/immutable/chunks/{BupZf9R2.js → mR2QgOoI.js} +1 -1
- package/web/app/immutable/chunks/{D3sL2PPU.js → mp47640j.js} +1 -1
- package/web/app/immutable/chunks/{B3II5C5l.js → n-WVnUeH.js} +1 -1
- package/web/app/immutable/chunks/{DFQ2LZfw.js → nR6RXxA9.js} +1 -1
- package/web/app/immutable/chunks/{BzBHISyY.js → pBEY1Dg2.js} +1 -1
- package/web/app/immutable/chunks/{D6Y18pu-.js → pEUfw1x0.js} +1 -1
- package/web/app/immutable/chunks/{DYZQjWbl.js → prrfQq6f.js} +1 -1
- package/web/app/immutable/chunks/{DTjIXONR.js → puEh5oJr.js} +4 -4
- package/web/app/immutable/chunks/{DxRCuR64.js → q4FIdUSc.js} +1 -1
- package/web/app/immutable/chunks/{Cno21Zxg.js → q6-D_vn6.js} +1 -1
- package/web/app/immutable/chunks/{CaHA2ESe.js → qshqk_Zv.js} +1 -1
- package/web/app/immutable/chunks/{Dmq8N6LI.js → qvHk51jx.js} +2 -2
- package/web/app/immutable/chunks/{CdtTvwl3.js → r8ylcc1d.js} +1 -1
- package/web/app/immutable/chunks/{CAh6WYw0.js → rpeM9FmT.js} +1 -1
- package/web/app/immutable/chunks/{LzhxhM8_.js → u8Ybsqvl.js} +1 -1
- package/web/app/immutable/chunks/{DjXUNnle.js → uPJwsXgL.js} +1 -1
- package/web/app/immutable/chunks/{BtuvHYz8.js → v6SgbwXH.js} +1 -1
- package/web/app/immutable/chunks/{CWELhcXR.js → wSFhIxGo.js} +1 -1
- package/web/app/immutable/chunks/{CHLJ-3Q1.js → wk8l4Vfb.js} +1 -1
- package/web/app/immutable/chunks/{Z-nmDTPH.js → wz1UgZlY.js} +1 -1
- package/web/app/immutable/chunks/{CzoFKpHV.js → xF2i73WW.js} +1 -1
- package/web/app/immutable/chunks/{D-k0eOJ6.js → yW5sglFu.js} +1 -1
- package/web/app/immutable/chunks/{DzpyprB1.js → ydrF5SOC.js} +1 -1
- package/web/app/immutable/chunks/{DE17eju9.js → zgX_Rwbq.js} +1 -1
- package/web/app/immutable/chunks/{4WPqCRAv.js → zxmCuTa7.js} +1 -1
- package/web/app/immutable/entry/{app.Bf_OSyrf.js → app.DF_Qftdw.js} +3 -3
- package/web/app/immutable/entry/start.DzVa4jHd.js +1 -0
- package/web/app/immutable/nodes/{0.B5ZNWVMC.js → 0.KW34tjG8.js} +1 -1
- package/web/app/immutable/nodes/{1.SeMykOqr.js → 1.CHhQxwtD.js} +1 -1
- package/web/app/immutable/nodes/{10.BZ6kBK3P.js → 10.CGdaTN_a.js} +1 -1
- package/web/app/immutable/nodes/{11.DdNqWjT1.js → 11.K4X9py2s.js} +1 -1
- package/web/app/immutable/nodes/{12.sEYH_Pmu.js → 12.CV0D62ho.js} +1 -1
- package/web/app/immutable/nodes/{13.B0uhCaJY.js → 13.B-lV8z59.js} +3 -3
- package/web/app/immutable/nodes/{14.C3Ch8LVG.js → 14.BTTvfbc0.js} +1 -1
- package/web/app/immutable/nodes/{15.B6xmqReh.js → 15.CKURddgk.js} +1 -1
- package/web/app/immutable/nodes/{16.k3HHr2yy.js → 16.DD-jxx3d.js} +2 -2
- package/web/app/immutable/nodes/{2.CdR_R7AF.js → 2.CTO1JTL7.js} +4 -4
- package/web/app/immutable/nodes/{3.C81CEmtR.js → 3.BE75vqzp.js} +1 -1
- package/web/app/immutable/nodes/{4.F_Gi0JxR.js → 4.BUm0nN8e.js} +1 -1
- package/web/app/immutable/nodes/{5.CtBTp1Hg.js → 5.BRXD3vaZ.js} +1 -1
- package/web/app/immutable/nodes/{6.CYnJfc7G.js → 6.CWxGKv_E.js} +1 -1
- package/web/app/immutable/nodes/{7.CHPJsLkB.js → 7.DI6-BnKI.js} +1 -1
- package/web/app/immutable/nodes/8.5BsghwEn.js +14 -0
- package/web/app/immutable/nodes/{9.VslqwEvr.js → 9.-PRJswf6.js} +6 -6
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +48 -48
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/BCVnawos.js +0 -1
- package/web/app/immutable/chunks/BQS0XfBK.js +0 -1
- package/web/app/immutable/chunks/CjKcpWyx.js +0 -4
- package/web/app/immutable/chunks/D9I3JJnE.js +0 -1
- package/web/app/immutable/chunks/lvIYiyhL.js +0 -1
- package/web/app/immutable/chunks/sMg7Lxjd.js +0 -1
- package/web/app/immutable/entry/start.IOR_3Iyx.js +0 -1
- package/web/app/immutable/nodes/8.Dc-nd7pr.js +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as B}from"./
|
|
1
|
+
import{p as B}from"./C1H4_ssx.js";import{f as b,$ as m,c4 as C,a6 as S,bC as w,c7 as D,aL as P,c9 as T,aP as z,aK as E,c6 as F,aN as A,ax as W,a0 as _}from"./LhLTjc8B.js";import{p as N}from"./CBeBcrFe.js";var L=W.packet,u,v=(u=class{constructor(){this.packet=[],this.setAccTitle=D,this.getAccTitle=P,this.setDiagramTitle=T,this.getDiagramTitle=z,this.getAccDescription=E,this.setAccDescription=F}getConfig(){const t=m({...L,...A().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){_(),this.packet=[]}},b(u,"PacketDB"),u),M=1e4,Y=b((e,t)=>{B(e,t);let r=-1,s=[],n=1;const{bitsPerRow:l}=t.getConfig();for(let{start:a,end:i,bits:d,label:c}of e.blocks){if(a!==void 0&&i!==void 0&&i<a)throw new Error(`Packet block ${a} - ${i} is invalid. End must be greater than start.`);if(a??=r+1,a!==r+1)throw new Error(`Packet block ${a} - ${i??a} is not contiguous. It should start from ${r+1}.`);if(d===0)throw new Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);for(i??=a+(d??1)-1,d??=i-a+1,r=i,w.debug(`Packet block ${a} - ${r} with label ${c}`);s.length<=l+1&&t.getPacket().length<M;){const[p,o]=I({start:a,end:i,bits:d,label:c},n,l);if(s.push(p),p.end+1===n*l&&(t.pushWord(s),s=[],n++),!o)break;({start:a,end:i,bits:d,label:c}=o)}}t.pushWord(s)},"populate"),I=b((e,t,r)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*r)return[e,void 0];const s=t*r-1,n=t*r;return[{start:e.start,end:s,label:e.label,bits:s-e.start},{start:n,end:e.end,label:e.label,bits:e.end-n}]},"getNextFittingBlock"),x={parser:{yy:void 0},parse:b(async e=>{const t=await N("packet",e),r=x.parser?.yy;if(!(r instanceof v))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");w.debug(t),Y(t,r)},"parse")},K=b((e,t,r,s)=>{const n=s.db,l=n.getConfig(),{rowHeight:a,paddingY:i,bitWidth:d,bitsPerRow:c}=l,p=n.getPacket(),o=n.getDiagramTitle(),h=a+i,g=h*(p.length+1)-(o?0:a),k=d*c+2,f=C(t);f.attr("viewBox",`0 0 ${k} ${g}`),S(f,g,k,l.useMaxWidth);for(const[y,$]of p.entries())O(f,$,y,l);f.append("text").text(o).attr("x",k/2).attr("y",g-h/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),O=b((e,t,r,{rowHeight:s,paddingX:n,paddingY:l,bitWidth:a,bitsPerRow:i,showBits:d})=>{const c=e.append("g"),p=r*(s+l)+l;for(const o of t){const h=o.start%i*a+1,g=(o.end-o.start+1)*a-n;if(c.append("rect").attr("x",h).attr("y",p).attr("width",g).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",h+g/2).attr("y",p+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(o.label),!d)continue;const k=o.end===o.start,f=p-2;c.append("text").attr("x",h+(k?g/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(o.start),k||c.append("text").attr("x",h+g).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(o.end)}},"drawWord"),j={draw:K},G={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},H=b(({packet:e}={})=>{const t=m(G,e);return`
|
|
2
2
|
.packetByte {
|
|
3
3
|
font-size: ${t.byteFontSize};
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aF as ke,K as Fe,O as qe,aI as Pe,L as ve,aG as Ce,a as o,N as It,ad as At,r as Le,k as Ee,y as V,aD as De,U as ze}from"./
|
|
1
|
+
import{aF as ke,K as Fe,O as qe,aI as Pe,L as ve,aG as Ce,a as o,N as It,ad as At,r as Le,k as Ee,y as V,aD as De,U as ze}from"./bAWH0D1a.js";import{g as y,c3 as zt}from"./LhLTjc8B.js";import{l as me}from"./ChRkiYOJ.js";var Vt=(function(){var t=o(function(j,r,l,x){for(l=l||{},x=j.length;x--;l[j[x]]=r);return l},"o"),n=[1,3],f=[1,4],d=[1,5],h=[1,6],p=[1,7],T=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],_=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],F=[2,36],u=[1,37],m=[1,36],q=[1,38],S=[1,35],b=[1,43],g=[1,41],k=[1,45],ct=[1,14],pt=[1,23],yt=[1,18],Tt=[1,19],dt=[1,20],kt=[1,21],ut=[1,22],i=[1,24],Zt=[1,25],Jt=[1,26],$t=[1,27],te=[1,28],ee=[1,29],O=[1,32],H=[1,33],P=[1,34],v=[1,39],C=[1,40],L=[1,42],E=[1,44],X=[1,63],M=[1,62],D=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],ie=[1,66],ae=[1,67],ne=[1,68],se=[1,69],re=[1,70],oe=[1,71],le=[1,72],he=[1,73],ce=[1,74],de=[1,75],ue=[1,76],xe=[1,77],B=[4,5,6,7,8,9,10,11,12,13,14,15,18],$=[1,91],tt=[1,92],et=[1,93],it=[1,100],at=[1,94],nt=[1,97],st=[1,95],rt=[1,96],ot=[1,98],lt=[1,99],Ft=[1,103],fe=[10,55,56,57],W=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],Pt={trace:o(y(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(y(function(r,l,x,c,A,e,ft){var s=e.length-1;switch(A){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],c.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),c.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),c.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),c.setAccDescription(this.$);break;case 46:c.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:c.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:c.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:c.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:c.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:c.setXAxisLeftText(e[s-2]),c.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",c.setXAxisLeftText(e[s-1]);break;case 53:c.setXAxisLeftText(e[s]);break;case 54:c.setYAxisBottomText(e[s-2]),c.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",c.setYAxisBottomText(e[s-1]);break;case 56:c.setYAxisBottomText(e[s]);break;case 57:c.setQuadrant1Text(e[s]);break;case 58:c.setQuadrant2Text(e[s]);break;case 59:c.setQuadrant3Text(e[s]);break;case 60:c.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),"anonymous"),table:[{18:n,26:1,27:2,28:f,55:d,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:f,55:d,56:h,57:p},{18:n,26:9,27:2,28:f,55:d,56:h,57:p},t(T,[2,33],{29:10}),t(_,[2,61]),t(_,[2,62]),t(_,[2,63]),{1:[2,30]},{1:[2,31]},t(a,F,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:m,10:q,12:S,13:b,14:g,15:k,18:ct,25:pt,35:yt,37:Tt,39:dt,41:kt,42:ut,48:i,50:Zt,51:Jt,52:$t,53:te,54:ee,60:O,61:H,63:P,64:v,65:C,66:L,67:E}),t(T,[2,34]),{27:46,55:d,56:h,57:p},t(a,[2,37]),t(a,F,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:m,10:q,12:S,13:b,14:g,15:k,18:ct,25:pt,35:yt,37:Tt,39:dt,41:kt,42:ut,48:i,50:Zt,51:Jt,52:$t,53:te,54:ee,60:O,61:H,63:P,64:v,65:C,66:L,67:E}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(a,[2,45]),t(a,[2,46]),{18:[1,51]},{4:u,5:m,10:q,12:S,13:b,14:g,15:k,43:52,58:31,60:O,61:H,63:P,64:v,65:C,66:L,67:E},{4:u,5:m,10:q,12:S,13:b,14:g,15:k,43:53,58:31,60:O,61:H,63:P,64:v,65:C,66:L,67:E},{4:u,5:m,10:q,12:S,13:b,14:g,15:k,43:54,58:31,60:O,61:H,63:P,64:v,65:C,66:L,67:E},{4:u,5:m,10:q,12:S,13:b,14:g,15:k,43:55,58:31,60:O,61:H,63:P,64:v,65:C,66:L,67:E},{4:u,5:m,10:q,12:S,13:b,14:g,15:k,43:56,58:31,60:O,61:H,63:P,64:v,65:C,66:L,67:E},{4:u,5:m,10:q,12:S,13:b,14:g,15:k,43:57,58:31,60:O,61:H,63:P,64:v,65:C,66:L,67:E},{4:u,5:m,8:X,10:q,12:S,13:b,14:g,15:k,18:M,44:[1,58],47:[1,59],58:61,59:60,63:P,64:v,65:C,66:L,67:E},t(D,[2,64]),t(D,[2,66]),t(D,[2,67]),t(D,[2,70]),t(D,[2,71]),t(D,[2,72]),t(D,[2,73]),t(D,[2,74]),t(D,[2,75]),t(D,[2,76]),t(D,[2,77]),t(D,[2,78]),t(D,[2,79]),t(D,[2,80]),t(D,[2,81]),t(T,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:65,4:ie,5:ae,6:ne,7:se,8:re,9:oe,10:le,11:he,12:ce,13:de,14:ue,15:xe,21:64},t(a,[2,53],{59:60,58:61,4:u,5:m,8:X,10:q,12:S,13:b,14:g,15:k,18:M,49:[1,78],63:P,64:v,65:C,66:L,67:E}),t(a,[2,56],{59:60,58:61,4:u,5:m,8:X,10:q,12:S,13:b,14:g,15:k,18:M,49:[1,79],63:P,64:v,65:C,66:L,67:E}),t(a,[2,57],{59:60,58:61,4:u,5:m,8:X,10:q,12:S,13:b,14:g,15:k,18:M,63:P,64:v,65:C,66:L,67:E}),t(a,[2,58],{59:60,58:61,4:u,5:m,8:X,10:q,12:S,13:b,14:g,15:k,18:M,63:P,64:v,65:C,66:L,67:E}),t(a,[2,59],{59:60,58:61,4:u,5:m,8:X,10:q,12:S,13:b,14:g,15:k,18:M,63:P,64:v,65:C,66:L,67:E}),t(a,[2,60],{59:60,58:61,4:u,5:m,8:X,10:q,12:S,13:b,14:g,15:k,18:M,63:P,64:v,65:C,66:L,67:E}),{45:[1,80]},{44:[1,81]},t(D,[2,65]),t(D,[2,82]),t(D,[2,83]),t(D,[2,84]),{3:83,4:ie,5:ae,6:ne,7:se,8:re,9:oe,10:le,11:he,12:ce,13:de,14:ue,15:xe,18:[1,82]},t(B,[2,23]),t(B,[2,1]),t(B,[2,2]),t(B,[2,3]),t(B,[2,4]),t(B,[2,5]),t(B,[2,6]),t(B,[2,7]),t(B,[2,8]),t(B,[2,9]),t(B,[2,10]),t(B,[2,11]),t(B,[2,12]),t(a,[2,52],{58:31,43:84,4:u,5:m,10:q,12:S,13:b,14:g,15:k,60:O,61:H,63:P,64:v,65:C,66:L,67:E}),t(a,[2,55],{58:31,43:85,4:u,5:m,10:q,12:S,13:b,14:g,15:k,60:O,61:H,63:P,64:v,65:C,66:L,67:E}),{46:[1,86]},{45:[1,87]},{4:$,5:tt,6:et,8:it,11:at,13:nt,16:90,17:st,18:rt,19:ot,20:lt,22:89,23:88},t(B,[2,24]),t(a,[2,51],{59:60,58:61,4:u,5:m,8:X,10:q,12:S,13:b,14:g,15:k,18:M,63:P,64:v,65:C,66:L,67:E}),t(a,[2,54],{59:60,58:61,4:u,5:m,8:X,10:q,12:S,13:b,14:g,15:k,18:M,63:P,64:v,65:C,66:L,67:E}),t(a,[2,47],{22:89,16:90,23:101,4:$,5:tt,6:et,8:it,11:at,13:nt,17:st,18:rt,19:ot,20:lt}),{46:[1,102]},t(a,[2,29],{10:Ft}),t(fe,[2,27],{16:104,4:$,5:tt,6:et,8:it,11:at,13:nt,17:st,18:rt,19:ot,20:lt}),t(W,[2,25]),t(W,[2,13]),t(W,[2,14]),t(W,[2,15]),t(W,[2,16]),t(W,[2,17]),t(W,[2,18]),t(W,[2,19]),t(W,[2,20]),t(W,[2,21]),t(W,[2,22]),t(a,[2,49],{10:Ft}),t(a,[2,48],{22:89,16:90,23:105,4:$,5:tt,6:et,8:it,11:at,13:nt,17:st,18:rt,19:ot,20:lt}),{4:$,5:tt,6:et,8:it,11:at,13:nt,16:90,17:st,18:rt,19:ot,20:lt,22:106},t(W,[2,26]),t(a,[2,50],{10:Ft}),t(fe,[2,28],{16:104,4:$,5:tt,6:et,8:it,11:at,13:nt,17:st,18:rt,19:ot,20:lt})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(y(function(r,l){if(l.recoverable)this.trace(r);else{var x=new Error(r);throw x.hash=l,x}},"parseError"),"parseError"),parse:o(y(function(r){var l=this,x=[0],c=[],A=[null],e=[],ft=this.table,s="",mt=0,ge=0,be=2,pe=1,Ae=e.slice.call(arguments,1),z=Object.create(this.lexer),G={yy:{}};for(var vt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,vt)&&(G.yy[vt]=this.yy[vt]);z.setInput(r,G.yy),G.yy.lexer=z,G.yy.parser=this,typeof z.yylloc>"u"&&(z.yylloc={});var Ct=z.yylloc;e.push(Ct);var _e=z.options&&z.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ye(N){x.length=x.length-2*N,A.length=A.length-N,e.length=e.length-N}y(ye,"popStack"),o(ye,"popStack");function Lt(){var N;return N=c.pop()||z.lex()||pe,typeof N!="number"&&(N instanceof Array&&(c=N,N=c.pop()),N=l.symbols_[N]||N),N}y(Lt,"lex"),o(Lt,"lex");for(var R,K,Q,Et,ht={},qt,Y,Te,St;;){if(K=x[x.length-1],this.defaultActions[K]?Q=this.defaultActions[K]:((R===null||typeof R>"u")&&(R=Lt()),Q=ft[K]&&ft[K][R]),typeof Q>"u"||!Q.length||!Q[0]){var Dt="";St=[];for(qt in ft[K])this.terminals_[qt]&&qt>be&&St.push("'"+this.terminals_[qt]+"'");z.showPosition?Dt="Parse error on line "+(mt+1)+`:
|
|
2
2
|
`+z.showPosition()+`
|
|
3
3
|
Expecting `+St.join(", ")+", got '"+(this.terminals_[R]||R)+"'":Dt="Parse error on line "+(mt+1)+": Unexpected "+(R==pe?"end of input":"'"+(this.terminals_[R]||R)+"'"),this.parseError(Dt,{text:z.match,token:this.terminals_[R]||R,line:z.yylineno,loc:Ct,expected:St})}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+R);switch(Q[0]){case 1:x.push(R),A.push(z.yytext),e.push(z.yylloc),x.push(Q[1]),R=null,ge=z.yyleng,s=z.yytext,mt=z.yylineno,Ct=z.yylloc;break;case 2:if(Y=this.productions_[Q[1]][1],ht.$=A[A.length-Y],ht._$={first_line:e[e.length-(Y||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(Y||1)].first_column,last_column:e[e.length-1].last_column},_e&&(ht._$.range=[e[e.length-(Y||1)].range[0],e[e.length-1].range[1]]),Et=this.performAction.apply(ht,[s,ge,mt,G.yy,Q[1],A,e].concat(Ae)),typeof Et<"u")return Et;Y&&(x=x.slice(0,-1*Y*2),A=A.slice(0,-1*Y),e=e.slice(0,-1*Y)),x.push(this.productions_[Q[1]][0]),A.push(ht.$),e.push(ht._$),Te=ft[x[x.length-2]][x[x.length-1]],x.push(Te);break;case 3:return!0}}return!0},"parse"),"parse")},Se=(function(){var j={EOF:1,parseError:o(y(function(l,x){if(this.yy.parser)this.yy.parser.parseError(l,x);else throw new Error(l)},"parseError"),"parseError"),setInput:o(function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:o(function(r){var l=r.length,x=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var c=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),x.length-1&&(this.yylineno-=x.length-1);var A=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:x?(x.length===c.length?this.yylloc.first_column:0)+c[c.length-x.length].length-x[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{p as oe}from"./
|
|
1
|
+
import{p as oe}from"./Ccxm74iK.js";import{p as se,i as de}from"./DZyz0CaB.js";import{O as le,aI as ce,aF as me,K as ue,L as xe,aG as fe,a as o,ad as h,N as ne,aL as ge,k as he,j as pe,M as A,y as ve,aD as B,aX as M,f as be}from"./bAWH0D1a.js";import{c3 as we,g as d}from"./LhLTjc8B.js";var ae="position frame",ie="frame positioned",k="position relation",re="relation positioned",ye=o(function(e){h.debug("options str",e)},"setOptions"),Pe=o(function(){return{}},"getOptions"),Se=o(function(){R(),he()},"clear");function R(){D={}}d(R,"reset");o(R,"reset");var Fe=ve.eventmodeling,Be=o(()=>pe({...Fe,...A().eventmodeling}),"getConfig"),D={};function N(){let e=Me;const{ast:n}=D,t=P();if(!n)throw new Error("No data for EventModel");return n.frames.forEach((a,i)=>{const r=H(a,n.dataEntities,t);e=w(e,{$kind:ae,index:i,frame:a,textProps:r});let l;X(a)?(h.debug("source frame",a.sourceFrames),l=n.frames.filter(c=>a.sourceFrames.some(m=>m.$refText===c.name)),l.forEach(c=>{e=w(e,{$kind:k,index:i,frame:a,sourceFrame:c})})):e=w(e,{$kind:k,index:i,frame:a})}),e={...e,sortedSwimlanesArray:S(e.swimlanes)},e}d(N,"getState");o(N,"getState");function T(e){D.ast=e}d(T,"setAst");o(T,"setAst");var s={swimlaneMinHeight:70,swimlanePadding:15,swimlaneGap:10,boxPadding:10,boxOverlap:90,boxDefaultY:0,boxMinWidth:80,boxMaxWidth:450,boxMinHeight:80,boxMaxHeight:750,contentStartX:250,textMaxWidth:430,boxTextFontWeight:"bold",boxTextPadding:10,swimlaneTextFontWeight:"bold",labelUiAutomation:"UI/Automation",labelUiAutomationPrefix:"UI/A: ",labelCommandReadModel:"Command/Read Model",labelCommandReadModelPrefix:"C/RM: ",labelEvents:"Events",labelEventsPrefix:"Stream: "};function P(){return s}d(P,"getDiagramProps");o(P,"getDiagramProps");var Me={boxes:[],swimlanes:{},relations:[],maxR:0,sortedSwimlanesArray:[]};function $(e){const n=e.split(".");if(n.length===2)return n[0]}d($,"extractNamespace");o($,"extractNamespace");function C(e){const n=e.split(".");return n.length===2?n[1]:e}d(C,"extractName");o(C,"extractName");function I(e,n){if(!(!n||n.length===0))return Object.values(e).find(t=>t.namespace===n)}d(I,"findSwimlaneByNamespace");o(I,"findSwimlaneByNamespace");function b(e,n,t){return Math.max(n,...Object.keys(e).filter(a=>{const i=Number.parseInt(a);return i>n&&i<t}).map(a=>Number.parseInt(a)))+1}d(b,"findNextAvailableIndex");o(b,"findNextAvailableIndex");function O(e,n){const t=$(e.entityIdentifier),a=I(n,t);switch(e.modelEntityType){case"ui":case"pcr":case"processor":return a?{index:a.index,label:a.namespace||s.labelUiAutomation}:t?{index:b(n,0,100),label:s.labelUiAutomationPrefix+t}:{index:0,label:s.labelUiAutomation};case"rmo":case"readmodel":case"cmd":case"command":return a?{index:a.index,label:a.namespace||s.labelCommandReadModel}:t?{index:b(n,100,200),label:s.labelCommandReadModelPrefix+t}:{index:100,label:s.labelCommandReadModel};case"evt":case"event":default:return a?{index:a.index,label:a.namespace||s.labelEvents}:t?{index:b(n,200,300),label:s.labelEventsPrefix+t}:{index:200,label:s.labelEvents}}}d(O,"calculateSwimlaneProps");o(O,"calculateSwimlaneProps");function W(e){const{themeVariables:n}=A();switch(e.modelEntityType){case"ui":return{fill:n.emUiFill??"white",stroke:n.emUiStroke??"#dbdada"};case"pcr":case"processor":return{fill:n.emProcessorFill??"#edb3f6",stroke:n.emProcessorStroke??"#b88cbf"};case"rmo":case"readmodel":return{fill:n.emReadModelFill??"#d3f1a2",stroke:n.emReadModelStroke??"#a3b732"};case"cmd":case"command":return{fill:n.emCommandFill??"#bcd6fe",stroke:n.emCommandStroke??"#679ac3"};case"evt":case"event":return{fill:n.emEventFill??"#ffb778",stroke:n.emEventStroke??"#c19a0f"};default:return{fill:"red",stroke:"black"}}}d(W,"calculateEntityVisualProps");o(W,"calculateEntityVisualProps");function H(e,n,t){const a=A(),i=B(C(e.entityIdentifier)??"",a);let r;const l={fontSize:16,fontWeight:700,fontFamily:'"trebuchet ms", verdana, arial, sans-serif',joinWith:"<br/>"};let m=`<b>${M(i,t.textMaxWidth,l)}</b>`;if(e.dataInlineValue&&(r=e.dataInlineValue,r=r.substring(r.indexOf("{")+1),r=r.substring(0,r.lastIndexOf("}")-1),r=B(r,a),r=M(r,t.textMaxWidth,l),r=r.replaceAll(" "," ")),e.dataReference){const v=n.find(F=>F.name===e.dataReference?.$refText);v&&(r=v.dataBlockValue,r=r.substring(r.indexOf(`{
|
|
2
2
|
`)+2),r=r.substring(0,r.lastIndexOf("}")-1),r=B(r,a),r=M(r,t.textMaxWidth,l),r=r.replaceAll(" "," "),r+="<br/>")}const u=r!==void 0;u&&(m+=`<br/><br/><code style="text-align: left; display: block;max-width:${t.textMaxWidth}px">${r}</code>`);const f={fontSize:l.fontSize,fontWeight:l.fontWeight,fontFamily:l.fontFamily},x=be(m,f),p=u?x.width/3:x.width,g={content:m,width:p,height:x.height};return h.debug(`[${e.name}] ${e.entityIdentifier} text`,g),g}d(H,"calculateTextProps");o(H,"calculateTextProps");function U(e,n){const t=n,a=W(t.frame),i={width:t.textProps.width+2*s.boxTextPadding,height:t.textProps.height+2*s.boxTextPadding};return[{$kind:ie,frame:t.frame,index:t.index,visual:a,dimension:i,textProps:t.textProps}]}d(U,"decidePositionFrame");o(U,"decidePositionFrame");function L(e,n,t){return n===void 0?s.contentStartX:n.index===e.index&&e.r?e.r+s.boxPadding:t===void 0?s.contentStartX:t.r-s.boxOverlap+s.boxPadding}d(L,"calculateX");o(L,"calculateX");function _(e,n){const t=[...e.map(a=>a.r),n];return Math.max(...t)}d(_,"calculateMaxRight");o(_,"calculateMaxRight");function S(e){return Object.values(e).sort((n,t)=>n.index-t.index)}d(S,"sortedSwimlanesArray");o(S,"sortedSwimlanesArray");function G(e,n){const t=n,a=O(t.frame,e.swimlanes);let i;a.index in e.swimlanes?i=e.swimlanes[a.index]:i={index:a.index,label:a.label,r:0,y:a.index*s.swimlaneMinHeight+s.swimlaneGap,height:s.swimlaneMinHeight,maxHeight:s.swimlaneMinHeight};const r=e.boxes.length>0?e.boxes[e.boxes.length-1]:void 0,l=e.previousSwimlaneNumber!==void 0?e.swimlanes[e.previousSwimlaneNumber]:void 0,c={width:Math.max(s.boxMinWidth,Math.min(s.boxMaxWidth,t.dimension.width))+2*s.boxPadding,height:Math.max(s.boxMinHeight,Math.min(s.boxMaxHeight,t.dimension.height))+2*s.boxPadding},m=L(i,l,r),u=m+c.width+s.boxPadding,f=_(Object.values(e.swimlanes),u);i.r=m+c.width,i.maxHeight=Math.max(i.maxHeight,c.height),i.height=Math.max(s.swimlaneMinHeight,i.maxHeight)+2*s.swimlanePadding;const x={x:m,y:s.swimlanePadding+i.y,r:u,dimension:c,leftSibling:!1,swimlane:i,visual:t.visual,text:t.textProps.content,frame:t.frame,index:t.index},p={...e,boxes:[...e.boxes,x],swimlanes:{...e.swimlanes,[`${i.index}`]:i},previousSwimlaneNumber:a.index,previousFrame:t.frame,maxR:f},g=S(p.swimlanes);g.length>0&&(g[0].y=0);for(let v=1;v<g.length;v++){const F=g[v],te=g[v-1];F.y=te.y+te.height+s.swimlaneGap}return p}d(G,"evolveFramePositioned");o(G,"evolveFramePositioned");function V(e,n){return e===0&&n.sourceFrames.length===0}d(V,"isFirstFrame");o(V,"isFirstFrame");function X(e){return e.sourceFrames!==void 0&&e.sourceFrames!==null&&e.sourceFrames.length>0}d(X,"hasSourceFrame");o(X,"hasSourceFrame");function y(e,n){if(n!=null)return e.find(t=>t.frame.name===n.name)}d(y,"findBoxByFrame");o(y,"findBoxByFrame");function j(e,n,t){if(!(t<0))for(let a=t;a>=0;a--){const i=e[a];if(i.swimlane.index!==n)return i}}d(j,"findBoxByLineIndex");o(j,"findBoxByLineIndex");function Y(e,n){const t=n;if(de(t.frame)||V(t.index,t.frame))return[];const a=y(e.boxes,t.frame);if(a===void 0)throw new Error(`Target box not found for frame ${t.frame.name}`);let i;return t.sourceFrame?i=y(e.boxes,t.sourceFrame):i=j(e.boxes,a.swimlane.index,t.index-1),i===void 0?[]:[{$kind:re,frame:t.frame,index:t.index,sourceBox:i,targetBox:a}]}d(Y,"decidePositionRelation");o(Y,"decidePositionRelation");function K(e,n){const t=n,a={visual:{fill:"none",stroke:"#000"},source:{x:t.sourceBox.x,y:t.sourceBox.y},target:{x:t.targetBox.x,y:t.targetBox.y},sourceBox:t.sourceBox,targetBox:t.targetBox};return{...e,relations:[...e.relations,a]}}d(K,"evolveRelationPositioned");o(K,"evolveRelationPositioned");var ke={[ae]:U,[k]:Y},Ee={[ie]:G,[re]:K};function z(e,n){const t=ke[n.$kind];if(t==null)return[];const a=t(e,n);return h.debug("decided events",a),a}d(z,"decide");o(z,"decide");function q(e,n){const t=n.reduce((a,i)=>{const r=Ee[i.$kind];return r==null?a:r(a,i)},e);return h.debug("evolve events",{state:e,newState:t,events:n}),t}d(q,"evolve");o(q,"evolve");function w(e,n){const t=z(e,n);return q(e,t)}d(w,"dispatch");o(w,"dispatch");var E={getConfig:Be,setOptions:ye,getOptions:Pe,clear:Se,setAccTitle:fe,getAccTitle:xe,getAccDescription:ue,setAccDescription:me,setDiagramTitle:ce,getDiagramTitle:le,setAst:T,getDiagramProps:P,getState:N},Ae={parse:o(async e=>{const n=await se("eventmodeling",e);h.debug(n),E.setAst(n),oe(n,E)},"parse")},Re=ne(),De=Re?.eventmodeling;function J(e,n){return t=>{const a=t.swimlane.y+n.swimlanePadding,i=e.append("g").attr("class","em-box");i.append("rect").attr("x",t.x).attr("y",a).attr("rx","3").attr("width",t.dimension.width).attr("height",t.dimension.height).attr("stroke",t.visual.stroke).attr("fill",t.visual.fill),i.append("foreignObject").attr("x",t.x+n.boxPadding).attr("y",a+10).attr("width",t.dimension.width-2*n.boxPadding).attr("height",t.dimension.height-2*n.boxPadding).append("xhtml:div").style("display","table").style("height","100%").style("width","100%").append("span").style("display","table-cell").style("text-align","center").style("vertical-align","middle").html(t.text)}}d(J,"renderD3Box");o(J,"renderD3Box");function Q(e,n){return e>n}d(Q,"dirUpwards");o(Q,"dirUpwards");function Z(e,n,t,a){return i=>{const r=i.sourceBox.swimlane.y+n.swimlanePadding,l=i.targetBox.swimlane.y+n.swimlanePadding,c=Q(r,l),m=i.sourceBox.x+i.sourceBox.dimension.width*2/3,u=i.targetBox.x+i.targetBox.dimension.width/3;let f,x;h.debug(`rendering relation up=${c} for `,{sourceBox:i.sourceBox,targetBox:i.targetBox}),c?(f=r,x=l+i.targetBox.dimension.height):(f=r+i.sourceBox.dimension.height,x=l);const p=a.emRelationStroke??i.visual.stroke;e.append("path").attr("class","em-relation").attr("fill",i.visual.fill).attr("stroke",p).attr("stroke-width","1").attr("marker-end",`url(#${t})`).attr("d",`M${m} ${f} L${u} ${x}`)}}d(Z,"renderD3Relation");o(Z,"renderD3Relation");function ee(e,n,t,a){return i=>{const r=e.append("g").attr("class","em-swimlane"),l=a.emSwimlaneBackgroundOdd??"rgb(250,250,250)",c=a.emSwimlaneBackgroundStroke??"rgb(240,240,240)";r.append("rect").attr("x",0).attr("y",i.y).attr("rx","3").attr("width",n+t.swimlanePadding).attr("height",i.height).attr("fill",l).attr("stroke",c),r.append("text").attr("font-weight",t.swimlaneTextFontWeight).attr("x",30).attr("y",i.y+30).text(i.label)}}d(ee,"renderD3Swimlane");o(ee,"renderD3Swimlane");var Ne=o(function(e,n,t,a){if(h.debug("in eventmodeling renderer",e+`
|
|
3
3
|
`,"id:",n,t),!De)throw new Error("EventModeling config not found");const i=a.db,{themeVariables:r,eventmodeling:l}=ne(),c=we(`[id="${n}"]`),m=i.getDiagramProps(),u=i.getState(),f=`em-arrowhead-${n}`,x=r.emArrowhead??"#000000";u.sortedSwimlanesArray.forEach(ee(c,u.maxR,m,r)),u.boxes.forEach(J(c,m)),u.relations.forEach(Z(c,m,f,r)),c.append("defs").append("marker").attr("id",f).attr("markerWidth","10").attr("markerHeight","7").attr("refX","10").attr("refY","3.5").attr("orient","auto").append("polygon").attr("points","0 0, 10 3.5, 0 7").attr("fill",x),ge(void 0,c,l?.padding??30,l?.useMaxWidth)},"draw"),Te={draw:Ne},$e=o(e=>"","getStyles"),Ce=$e,Ue={parser:Ae,db:E,renderer:Te,styles:Ce};export{Ue as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./
|
|
1
|
+
var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./BA6v9DYL.js";import{applyCustomMonacoTheme as f,revertMonacoTheme as I}from"./PJ-tEAYj.js";import{d as y}from"./B0Z-1lwJ.js";import{zr as r}from"./BL_sVoge.js";const u="custom-vscode-theme",l="theme-preset-id",d="theme-preset-set",o=typeof window<"u",n=class n{constructor(){a(this,"currentTheme","system");a(this,"fixedDarkAppearance",o&&["dock","dock-annotation"].includes(document.documentElement.dataset.auxiliaryWindow??""));a(this,"mediaQuery",null);a(this,"customTheme",null);a(this,"presetDarkTheme",null);a(this,"presetLightTheme",null);a(this,"appliedCSSVariableKeys",[]);a(this,"activePresetId",null);a(this,"handleSystemThemeChange",()=>{this.currentTheme==="system"&&this.applyTheme()});o&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.loadTheme(),this.setupListeners())}static getInstance(){return n.instance||(n.instance=new n),n.instance}static resetInstance(){n.instance?.dispose(),n.instance=null}loadTheme(){const e=r.getItem("theme");e&&(this.currentTheme=e),this.activePresetId=r.getItem(l);const s=r.getItem(d);if(s)try{const{dark:t,light:i}=JSON.parse(s);this.presetDarkTheme=c(t),this.presetLightTheme=c(i)}catch{r.removeItem(d),this.activePresetId=null,r.removeItem(l)}if(!this.presetDarkTheme){const t=r.getItem(u);if(t)try{const i=JSON.parse(t);this.customTheme=c(i)}catch{r.removeItem(u),this.activePresetId=null,r.removeItem(l)}}this.applyTheme()}setupListeners(){this.mediaQuery&&this.mediaQuery.addEventListener("change",this.handleSystemThemeChange)}dispose(){this.mediaQuery?.removeEventListener("change",this.handleSystemThemeChange),this.mediaQuery=null}setTheme(e,s={}){if(!o)return;const{persist:t=!0}=s;this.currentTheme=e,t&&r.setItem("theme",e),this.applyTheme()}getTheme(){return this.currentTheme}setCustomTheme(e){if(!o)return;const s=c(e);this.customTheme=s,this.activePresetId=null,this.presetDarkTheme=null,this.presetLightTheme=null,r.removeItem(l),r.removeItem(d),r.setJSON(u,e),this.applyTheme()}setPresetTheme(e,s,t){o&&(this.presetDarkTheme=c(s),this.presetLightTheme=c(t),this.activePresetId=e,this.customTheme=null,r.removeItem(u),r.setItem(l,e),r.setJSON(d,{dark:s,light:t}),this.applyTheme())}clearCustomTheme(){o&&(this.customTheme=null,this.presetDarkTheme=null,this.presetLightTheme=null,this.activePresetId=null,r.removeItem(u),r.removeItem(l),r.removeItem(d),this.removeCSSVariableOverrides(),this.applyTheme())}hasCustomTheme(){return this.getActiveTheme()!==null}getCustomThemeName(){return this.getActiveTheme()?.name??null}getActivePresetId(){return this.activePresetId}resolveIsDark(){if(this.fixedDarkAppearance)return!0;const e=this.mediaQuery?.matches??!1;return this.currentTheme==="system"?e:this.currentTheme==="dark"}getActiveTheme(){return this.presetDarkTheme&&this.presetLightTheme?this.resolveIsDark()?this.presetDarkTheme:this.presetLightTheme:this.fixedDarkAppearance&&this.customTheme?.type==="light"?null:this.customTheme}applyTheme(){if(!o)return;const e=document.documentElement,s=this.mediaQuery?.matches??!1,t=this.getActiveTheme(),i=this.isDark();e.classList.remove("dark","light"),e.classList.add(i?"dark":"light"),e.style.setProperty("color-scheme",i?"dark":"light"),t?this.applyCSSVariableOverrides(t.cssVariables):this.removeCSSVariableOverrides(),i&&!s&&!t?e.setAttribute("data-theme-override","true"):e.removeAttribute("data-theme-override");const p=document.querySelector('meta[name="theme-color"]');p&&p.setAttribute("content",i?"#0a0a0a":"#ffffff"),t?f(t.monacoTheme):I(i),y("theme-changed",{theme:this.currentTheme,isDark:i,customThemeName:t?.name??null,activePresetId:this.activePresetId,terminalColors:t?.terminalColors??null})}applyCSSVariableOverrides(e){const s=document.documentElement;this.removeCSSVariableOverrides();const t=[];for(const[i,T]of Object.entries(e))s.style.setProperty(i,T),t.push(i);this.appliedCSSVariableKeys=t}removeCSSVariableOverrides(){const e=document.documentElement;for(const s of this.appliedCSSVariableKeys)e.style.removeProperty(s);this.appliedCSSVariableKeys=[]}toggleTheme(){if(!o)return;const e=["light","dark","system"],t=(e.indexOf(this.currentTheme)+1)%e.length;this.setTheme(e[t])}isDark(){return this.fixedDarkAppearance?!0:this.customTheme?this.customTheme.type==="dark":this.resolveIsDark()}};a(n,"instance",null);let m=n;const E={setTheme:(...h)=>m.getInstance().setTheme(...h),getTheme:()=>m.getInstance().getTheme(),setCustomTheme:(...h)=>m.getInstance().setCustomTheme(...h),setPresetTheme:(...h)=>m.getInstance().setPresetTheme(...h),clearCustomTheme:()=>m.getInstance().clearCustomTheme(),hasCustomTheme:()=>m.getInstance().hasCustomTheme(),getCustomThemeName:()=>m.getInstance().getCustomThemeName(),getActivePresetId:()=>m.getInstance().getActivePresetId(),toggleTheme:()=>m.getInstance().toggleTheme(),isDark:()=>m.getInstance().isDark()};export{m as T,E as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{mu as P,mE as g,G9 as h,t3 as d,t8 as p,t5 as y,gy as v,gb as f,gA as m,gz as A,y5 as u,y4 as L,AR as S,At as F,Aw as z,y7 as B,rP as C,z4 as O,rM as H,rQ as M,rR as R,gq as x,gB as _,ge as j,gd as E,H$ as D,HZ as V,H_ as G,HJ as U,md as Y,FY as J,gs as N,rN as Q,HW as q,HY as W,yY as Z,GJ as $,yQ as K,cY as X,nb as ss,nd as es,nc as ts,ne as as,By as is,hj as os,wJ as rs,fQ as T,hz as cs,ht as hs,pk as ls}from"./
|
|
1
|
+
import{mu as P,mE as g,G9 as h,t3 as d,t8 as p,t5 as y,gy as v,gb as f,gA as m,gz as A,y5 as u,y4 as L,AR as S,At as F,Aw as z,y7 as B,rP as C,z4 as O,rM as H,rQ as M,rR as R,gq as x,gB as _,ge as j,gd as E,H$ as D,HZ as V,H_ as G,HJ as U,md as Y,FY as J,gs as N,rN as Q,HW as q,HY as W,yY as Z,GJ as $,yQ as K,cY as X,nb as ss,nd as es,nc as ts,ne as as,By as is,hj as os,wJ as rs,fQ as T,hz as cs,ht as hs,pk as ls}from"./BL_sVoge.js";import{bo as ns}from"./CgPr4hs2.js";import{E as ds,e as ps,y as us,p as b,v as bs,F as I,I as Is}from"./wSFhIxGo.js";function ws(i,s,e,t){const a=s?.activeTabId;if(!s||!a||!s.tabs.some(r=>r.id===a))return null;const o=t?P(t).map(g):i.map(r=>[r]),c=o.findIndex(r=>r.includes(s.id));if(c<0)return null;const n=o[c+(e==="next"?1:-1)]?.[0];return n?{kind:"neighbor",tabId:a,targetPanelId:n}:o.length>=4||s.tabs.length<2&&o[c].length<2?null:{kind:"edge",tabId:a,position:e==="next"?"after":"before"}}class k{constructor(s){this.workspaceId=s}get state(){return h.state}dispatch(s){h.dispatch(s)}getPanelIds(){return ds.select(this.state,this.workspaceId)}getAllTabs(){return ps.select(this.state,this.workspaceId)}getPanel(s){return us.select(this.state,this.workspaceId,s)??null}getOtherPanelId(){const s=this.getPanelIds();if(s.length<2)return null;const e=b.select(this.state,this.workspaceId);return s.find(t=>t!==e)??null}openTab(s,e){if(e){this.dispatch(d(this.workspaceId,s,e));return}this.dispatch(p(this.workspaceId,s))}openUserTab(s,e){const t=e??b.select(this.state,this.workspaceId)??void 0;if(t){this.dispatch(d(this.workspaceId,s,t,void 0,!0));return}this.dispatch(p(this.workspaceId,s,{force:!0}))}openTabInAdjacentOrSplit(s,e,t){this.dispatch(y(this.workspaceId,s,e,t))}openBrowserPanel(s,e,t,a){const o={type:"browser",title:ns.layout_tabTypes_browser_title(),browserUrl:s??"about:blank",...a===void 0?{}:{browserRequestedUrl:a},contextItemId:e,closable:!0};this.openTabInAdjacentOrSplit(o,t)}closeTab(s,e){this.dispatch(v(this.workspaceId,s,e))}closeActiveTab(s){this.dispatch(f(this.workspaceId,s))}closeTabsByType(s,e,t){this.dispatch(m(this.workspaceId,s,e,t))}closeTabsByAgentId(s){this.dispatch(A(this.workspaceId,s))}reopenClosedTab(s,e){this.dispatch(u(this.workspaceId,void 0,s,e))}reopenLastClosed(){const s=bs.select(this.state,this.workspaceId);s?.kind==="column"?this.dispatch(L(this.workspaceId)):s?.kind==="tab"&&this.dispatch(u(this.workspaceId))}setActiveTab(s,e){this.dispatch(S(this.workspaceId,s,e))}selectNextTab(s){this.dispatch(F(this.workspaceId,s))}selectPreviousTab(s){this.dispatch(z(this.workspaceId,s))}reorderTabs(s,e,t){this.dispatch(B(this.workspaceId,s,e,t))}moveTabToPanel(s,e,t,a){this.dispatch(C(this.workspaceId,s,e,t,a))}moveActivePaneToColumn(s,e){const t=ws(this.getPanelIds(),this.getPanel(s),e,I.select(this.state,this.workspaceId));return t?(t.kind==="neighbor"?this.moveTabToPanel(t.tabId,s,t.targetPanelId):this.moveTabToSplitLevel(t.tabId,s,[],t.position,"horizontal"),!0):!1}canMoveActivePaneVertically(s,e){return O(I.select(this.state,this.workspaceId),this.getPanel(s),e)!==null}moveActivePaneVertically(s,e){return this.canMoveActivePaneVertically(s,e)?(this.dispatch(H(this.workspaceId,s,e)),!0):!1}moveTabToSplit(s,e,t,a){this.dispatch(M(this.workspaceId,s,e,t,a))}moveTabToSplitLevel(s,e,t,a,o){this.dispatch(R(this.workspaceId,s,e,t,a,o))}closeOtherTabs(s,e){this.dispatch(x(this.workspaceId,s,e))}closeTabsToRight(s,e){this.dispatch(_(this.workspaceId,s,e))}closeAllTabs(s){this.dispatch(j(this.workspaceId,s))}closeAllOthersEverywhere(s,e){this.dispatch(E(this.workspaceId,s,e))}updateTabTitle(s,e){this.dispatch(D(this.workspaceId,s,e))}updateTabBrowserUrl(s,e){this.dispatch(V(this.workspaceId,s,e))}updateTabFavicon(s,e){this.dispatch(G(this.workspaceId,s,e))}updateFileTabPath(s,e){this.dispatch(U(this.workspaceId,s,e))}focusPanel(s){this.dispatch(Y(this.workspaceId,s))}splitPanel(s,e,t){this.dispatch(J(this.workspaceId,s,e,t))}closePanel(s){this.dispatch(N(this.workspaceId,s))}movePanel(s,e,t){this.dispatch(Q(this.workspaceId,s,e,t))}updateSizes(s,e){this.dispatch(q(this.workspaceId,s,e))}updateSplitSizes(s,e){this.dispatch(W(this.workspaceId,s,e))}resizeRootDivider(s,e){this.dispatch(Z(this.workspaceId,s,e))}toggleExpandPanel(s){this.dispatch($(this.workspaceId,s))}resetLayout(){this.dispatch(K(this.workspaceId))}applyPreset(s){this.dispatch(X(this.workspaceId,s))}goBack(){this.dispatch(ss(this.workspaceId))}goForward(){this.dispatch(es(this.workspaceId))}goBackInFocusHistory(){this.dispatch(ts(this.workspaceId))}goForwardInFocusHistory(){this.dispatch(as(this.workspaceId))}setDeferSpecTab(s){this.dispatch(is(this.workspaceId,s))}consumePendingFocus(s){this.dispatch(os(this.workspaceId,s))}reconcileStaleAgentTabs(s,e,t){const a=Array.isArray(s)?s:Array.from(s);this.dispatch(rs(this.workspaceId,a,e,t))}clearLayout(){this.dispatch(T(this.workspaceId))}createGridLayout(s){return this.dispatch(cs(this.workspaceId,s)),this.getPanelIds()}batchMutations(s){return s()}initializeLayout(s){const e=s??hs();this.dispatch(ls(this.workspaceId,e))}cyclePresets(){const s=Is.select(this.state,this.workspaceId),e=Object.keys(s).length;e<=1?this.applyPreset("split-horizontal"):e===2?this.applyPreset("three-column"):this.applyPreset("single")}}const l=new Map;function Ts(i){let s=l.get(i);return s||(s=new k(i),l.set(i,s)),s}function ks(i){return!0}function Ps(i){l.delete(i)}function w(i){h.dispatch(T(i))}const fs=Object.freeze(Object.defineProperty({__proto__:null,PanelLayoutAdapter:k,clearPanelLayoutAdapter:Ps,clearPanelLayoutFn:w,clearPanelLayoutForWorkspace:w,getPanelLayoutManager:Ts,hasPanelLayoutManager:ks},Symbol.toStringTag,{value:"Module"}));export{Ps as c,Ts as g,ks as h,fs as p,ws as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{gG as C,gm as R,Gn as E,H5 as B,rS as F,sH as H,y4 as D,y5 as N,Gl as $,Gm as V,y6 as K}from"./
|
|
1
|
+
import{gG as C,gm as R,Gn as E,H5 as B,rS as F,sH as H,y4 as D,y5 as N,Gl as $,Gm as V,y6 as K}from"./BL_sVoge.js";import{N as f,o as U,B as j,e as q,l as g,p as z,u as J,v as Q}from"./wSFhIxGo.js";import{dv as X}from"./Df2ohObb.js";import{r as Y}from"./C9AcsTi0.js";import{bo as l}from"./CgPr4hs2.js";import{b4 as Z,a9 as y}from"./Ps9iRbKd.js";import{y as M}from"./P80hEEPK.js";import{g as ee}from"./BqoQHFLV.js";function S(e,t){const a=f.select(e.state),n=g.select(e.state);if(!n)return null;const c=a.indexOf(n),s=c+(t==="left"?-1:1),r=a[s];return c<0||!r?null:(e.dispatch(F(n,r,t==="left"?"before":"after")),n)}function A(e){const t=g.select(e);return t&&f.select(e).includes(t)?t:null}function w(e,t,a){const n=A(e.state),c=n?`/workspace/${n}`:Y(X.select(e.state));return t!==c&&a(c),n}function te(e,t,a,n){return e.dispatch(C(t)),w(e,a,n),t}function I(e,t){const n=t.match(/^\/workspace\/([^/]+)/)?.[1];return n?n==="new"?null:n:null}function v(e,t,a,n){if(a==="/")return O(e,t==="next"?0:"last",a,n);e.dispatch(t==="next"?$():V());const c=g.select(e.state);if(!c)return null;const s=`/workspace/${c}`;return a!==s&&n(s),c}function ae(e,t,a){const n=I(e,t);return n?te(e,n,t,a):null}function ne(e,t,a){const n=I(e,t);if(!n)return null;const c=U.select(e.state,n);if(!c)return null;const s=c.tabs.find(T=>T.id===c.activeTabId),r=c.tabs.length===0&&c.activeTabId===null,m=j.select(e.state,n)>1&&(r||c.tabs.length===1&&s!==void 0&&s.closable!==!1);if((!s||s.closable===!1)&&!m)return null;const h=a??ee(n)?.availableCanvasWidth??void 0;return e.dispatch(R(n,void 0,h)),s?.id??c.id}function oe(e,t){const a=e.state.panelLayout.byWorkspaceId[t];return!a||a.restoreStatus==="pending"?!1:q.select(e.state,t).length===0}function ce(e,t,a){A(e.state)||e.dispatch(E(0)),w(e,t,a)}function x(e,t,{navigate:a,closeWindow:n}){return n?(n(),"window"):(w(e,t,a),null)}function se(e,t,a){const n=I(e,t);return n?ne(e,t,a.availableCanvasWidth)!==null?"panel":oe(e,n)?(e.dispatch(C(n)),f.select(e.state).length>0?(ce(e,t,a.navigate),"workspace"):x(e,t,a)??"workspace"):null:f.select(e.state).length>0?null:x(e,t,a)}function le(e,t,a){return e.dispatch(K()),w(e,t,a)}function re(e,t,a){const n=t.match(/^\/workspace\/([^/]+)/),c=n&&n[1]!=="new"?n[1]:null,s=J.select(e.state),r=c?Q.select(e.state,c):null;return c&&r&&(!s||r.closedAt>=s.closedAt)?r.kind==="column"?(e.dispatch(D(c)),"column"):(e.dispatch(N(c)),r.kind):s?(le(e,t,a),"workspace"):null}function ie(e,t){const a=t.match(/^\/workspace\/([^/]+)/),n=a&&a[1]!=="new"?a[1]:null;if(!n)return null;const c=H(n);return e.dispatch(c),z.select(e.state,n)}function O(e,t,a,n){const c=f.select(e.state),s=t==="last"?c.length-1:t;return s<0||s>=c.length?null:(e.dispatch(E(s)),w(e,a,n))}function me({isMac:e,register:t,store:a,getCurrentPath:n,navigate:c,openNewWorkspace:s,onCreateAgent:r,onCreateNote:m,onCreateTerminal:h,onCreateBrowser:T,onWorkspaceTabMoved:W,closeWindow:L,resolveBinding:k}){const p=e?{meta:!0}:{ctrl:!0},P=Z("TOGGLE_SIDEBAR",e),b=o=>()=>o(n()),G=o=>()=>{const u=n().match(/^\/workspace\/([^/]+)/);u?.[1]&&u[1]!=="new"&&o(u[1])},i=o=>k?{binding:()=>k(o)}:{};t({...i("global.new-space"),...p,key:"n",global:!0,description:l.workspace_shortcuts_newSpace_description(),action:s}),t({...i("panel.toggle-sidebar"),...P,global:!0,description:y.TOGGLE_SIDEBAR.label,action:()=>a.dispatch(B())}),t({...i("navigation.new-tab"),...p,key:"t",global:!0,description:l.workspace_shortcuts_newPanel_description(),action:b(o=>ie(a,o))});for(const[o,u,_,d]of[["workspace.new-agent","a",l.ui_shortcuts_newAgent_label(),r],["workspace.new-note","n",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_note_label()}),m],["workspace.new-terminal","t",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_terminal_label()}),h],["workspace.new-browser","b",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_browser_label()}),T]])d&&t({...i(o),...p,key:u,alt:!0,global:!0,allowInTerminal:!0,description:_,action:G(d)});t({...i("navigation.close-tab"),...p,key:"w",global:!0,description:l.workspace_shortcuts_closePanelTab_description(),action:b(o=>se(a,o,{navigate:c,closeWindow:L}))}),t({...i("navigation.close-space-tab"),...p,key:"w",shift:!0,global:!0,description:l.workspace_shortcuts_closeSpaceTab_description(),action:b(o=>ae(a,o,c))}),t({...i("navigation.reopen-tab"),...p,key:"t",shift:!0,global:!0,description:l.workspace_shortcuts_reopenClosedTabOrSpace_description(),action:b(o=>re(a,o,c))}),t({...i("navigation.move-space-tab-left"),...p,key:"ArrowLeft",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_LEFT.label,action:()=>{const o=S(a,"left");o&&W?.({workspaceId:o,position:f.select(a.state).indexOf(o)+1})}}),t({...i("navigation.move-space-tab-right"),...p,key:"ArrowRight",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_RIGHT.label,action:()=>{const o=S(a,"right");o&&W?.({workspaceId:o,position:f.select(a.state).indexOf(o)+1})}});for(const[o,u]of[["next",!1],["previous",!0]]){t({...i(o==="next"?"global.next-space":"global.previous-space"),key:"Tab",ctrl:!0,shift:u,global:!0,description:o==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:b(d=>v(a,o,d,c))});const _=o==="next"?"global.next-space-alt":"global.previous-space-alt";t({...i(_),...p,key:o==="next"?"}":"{",shift:!0,global:!0,allowInTerminal:!0,preferLocal:!0,enabled:d=>!k||!M(_,d,k,e),description:o==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:b(d=>v(a,o,d,c))})}for(let o=1;o<=9;o++)t({...k?{binding:()=>k("navigation.go-to-tab").replace(/([1-8])-9$/,String(o))}:{},...p,key:String(o),global:!0,description:o===1?l.home_navigation_description():o===9?l.workspace_shortcuts_selectLastSpaceTab_description():l.workspace_shortcuts_selectSpaceTab_description({digit:o}),action:b(u=>o===1?c("/"):O(a,o===9?"last":o-2,u,c))})}export{se as c,me as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as k,bq as s,a_ as z,by as q,b as B,br as D,bt as E}from"./
|
|
1
|
+
import{t as k,bq as s,a_ as z,by as q,b as B,br as D,bt as E}from"./CgPr4hs2.js";import{bo as F,bs as H,a7 as _,ay as p,W as u,bn as I,aA as l,aD as P,a5 as G,bf as J,bA as K,c9 as N,aB as L}from"./B8o4lNgr.js";import{s as w}from"./D3ROSEe0.js";import{c as M}from"./Co_Aa6ij.js";import{c as O,f as Q}from"./CsstSIr0.js";import{a as R}from"./CfV9aH5z.js";import{aS as W,aJ as S,bm as T}from"./Ps9iRbKd.js";var U=new Set(["$$slots","$$events","$$legacy","id","level","children","child","ref"]),V=L("<div><!></div>");function j(f,r){const d=F();if(new.target)return k({component:j,...f});H(r,!0);let n=s(r,"id",23,()=>W(d)),o=s(r,"level",7,2),m=s(r,"children",7),i=s(r,"child",7),c=s(r,"ref",15,null),b=D(r,U);const t=R.create({id:S(()=>n()),level:S(()=>o()),ref:S(()=>c(),e=>c(e))}),v=N(()=>T(b,t.props));var x={get id(){return n()},set id(e=W(d)){n(e),l()},get level(){return o()},set level(e=2){o(e),l()},get children(){return m()},set children(e){m(e),l()},get child(){return i()},set child(e){i(e),l()},get ref(){return c()},set ref(e=null){c(e),l()},$set:q,$on:(e,a)=>B(r,e,a)},g=_(),C=p(g);{var h=e=>{var a=_(),A=p(a);w(A,i,()=>({props:P(v)})),u(e,a)},y=e=>{var a=V();O(a,()=>({...P(v)}));var A=G(a);w(A,()=>m()??J),K(a),u(e,a)};z(C,e=>{i()?e(h):e(y,-1)})}return u(f,g),I(x)}var X=new Set(["$$slots","$$events","$$legacy","level","class","children"]);function Y(f,r){if(new.target)return k({component:Y,...f});H(r,!0);let d=s(r,"level",7,3),n=s(r,"class",7),o=s(r,"children",7),m=D(r,X);var i={get level(){return d()},set level(t=3){d(t),l()},get class(){return n()},set class(t){n(t),l()},get children(){return o()},set children(t){o(t),l()},$set:q,$on:(t,v)=>B(r,t,v)},c=_(),b=p(c);{let t=N(()=>Q("flex",n()));M(b,()=>j,(v,x)=>{x(v,E({get level(){return d()},get class(){return P(t)}},()=>m,{children:(g,C)=>{var h=_(),y=p(h);w(y,()=>o()??J),u(g,h)},$$slots:{default:!0}}))})}return u(f,c),I(i)}export{Y as A};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c,M as V,ah as Re,r as Pe,ad as E,k as Fe,aC as Me,N as Ce,G as Ke,a0 as Ye,a1 as We,aq as Ve,l as je,i as Ue,p as He,S as Xe,a3 as Oe,ar as Ge}from"./
|
|
1
|
+
import{a as c,M as V,ah as Re,r as Pe,ad as E,k as Fe,aC as Me,N as Ce,G as Ke,a0 as Ye,a1 as We,aq as Ve,l as je,i as Ue,p as He,S as Xe,a3 as Oe,ar as Ge}from"./bAWH0D1a.js";import{g as qe}from"./yW5sglFu.js";import{c3 as q,g as L}from"./LhLTjc8B.js";var ce=(function(){var e=c(function(O,u,r,n){for(r=r||{},n=O.length;n--;r[O[n]]=u);return r},"o"),o=[1,15],l=[1,7],a=[1,13],h=[1,14],p=[1,19],s=[1,16],g=[1,17],x=[1,18],y=[8,30],b=[8,10,21,28,29,30,31,39,43,46],f=[1,23],m=[1,24],_=[8,10,15,16,21,28,29,30,31,39,43,46],S=[8,10,15,16,21,27,28,29,30,31,39,43,46],D=[1,49],w={trace:c(L(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:c(L(function(u,r,n,d,k,t,K){var i=t.length-1;switch(k){case 4:d.getLogger().debug("Rule: separator (NL) ");break;case 5:d.getLogger().debug("Rule: separator (Space) ");break;case 6:d.getLogger().debug("Rule: separator (EOF) ");break;case 7:d.getLogger().debug("Rule: hierarchy: ",t[i-1]),d.setHierarchy(t[i-1]);break;case 8:d.getLogger().debug("Stop NL ");break;case 9:d.getLogger().debug("Stop EOF ");break;case 10:d.getLogger().debug("Stop NL2 ");break;case 11:d.getLogger().debug("Stop EOF2 ");break;case 12:d.getLogger().debug("Rule: statement: ",t[i]),typeof t[i].length=="number"?this.$=t[i]:this.$=[t[i]];break;case 13:d.getLogger().debug("Rule: statement #2: ",t[i-1]),this.$=[t[i-1]].concat(t[i]);break;case 14:d.getLogger().debug("Rule: link: ",t[i],u),this.$={edgeTypeStr:t[i],label:""};break;case 15:d.getLogger().debug("Rule: LABEL link: ",t[i-3],t[i-1],t[i]),this.$={edgeTypeStr:t[i],label:t[i-1]};break;case 18:const F=parseInt(t[i]),U=d.generateId();this.$={id:U,type:"space",label:"",width:F,children:[]};break;case 23:d.getLogger().debug("Rule: (nodeStatement link node) ",t[i-2],t[i-1],t[i]," typestr: ",t[i-1].edgeTypeStr);const te=d.edgeStrToEdgeData(t[i-1].edgeTypeStr),H=d.edgeStrToEdgeStartData(t[i-1].edgeTypeStr),se=d.edgeStrToThickness(t[i-1].edgeTypeStr),N=d.edgeStrToPattern(t[i-1].edgeTypeStr);this.$=[{id:t[i-2].id,label:t[i-2].label,type:t[i-2].type,directions:t[i-2].directions},{id:t[i-2].id+"-"+t[i].id,start:t[i-2].id,end:t[i].id,label:t[i-1].label,type:"edge",thickness:se,pattern:N,directions:t[i].directions,arrowTypeEnd:te,arrowTypeStart:H},{id:t[i].id,label:t[i].label,type:d.typeStr2Type(t[i].typeStr),directions:t[i].directions}];break;case 24:d.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[i-1],t[i]),this.$={id:t[i-1].id,label:t[i-1].label,type:d.typeStr2Type(t[i-1].typeStr),directions:t[i-1].directions,widthInColumns:parseInt(t[i],10)};break;case 25:d.getLogger().debug("Rule: nodeStatement (node) ",t[i]),this.$={id:t[i].id,label:t[i].label,type:d.typeStr2Type(t[i].typeStr),directions:t[i].directions,widthInColumns:1};break;case 26:d.getLogger().debug("APA123",this?this:"na"),d.getLogger().debug("COLUMNS: ",t[i]),this.$={type:"column-setting",columns:t[i]==="auto"?-1:parseInt(t[i])};break;case 27:d.getLogger().debug("Rule: id-block statement : ",t[i-2],t[i-1]),d.generateId(),this.$={...t[i-2],type:"composite",children:t[i-1]};break;case 28:d.getLogger().debug("Rule: blockStatement : ",t[i-2],t[i-1],t[i]);const A=d.generateId();this.$={id:A,type:"composite",label:"",children:t[i-1]};break;case 29:d.getLogger().debug("Rule: node (NODE_ID separator): ",t[i]),this.$={id:t[i]};break;case 30:d.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[i-1],t[i]),this.$={id:t[i-1],label:t[i].label,typeStr:t[i].typeStr,directions:t[i].directions};break;case 31:d.getLogger().debug("Rule: dirList: ",t[i]),this.$=[t[i]];break;case 32:d.getLogger().debug("Rule: dirList: ",t[i-1],t[i]),this.$=[t[i-1]].concat(t[i]);break;case 33:d.getLogger().debug("Rule: nodeShapeNLabel: ",t[i-2],t[i-1],t[i]),this.$={typeStr:t[i-2]+t[i],label:t[i-1]};break;case 34:d.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[i-3],t[i-2]," #3:",t[i-1],t[i]),this.$={typeStr:t[i-3]+t[i],label:t[i-2],directions:t[i-1]};break;case 35:case 36:this.$={type:"classDef",id:t[i-1].trim(),css:t[i].trim()};break;case 37:this.$={type:"applyClass",id:t[i-1].trim(),styleClass:t[i].trim()};break;case 38:this.$={type:"applyStyles",id:t[i-1].trim(),stylesStr:t[i].trim()};break}},"anonymous"),"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:s,43:g,46:x},{8:[1,20]},e(y,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:l,28:a,29:h,31:p,39:s,43:g,46:x}),e(b,[2,16],{14:22,15:f,16:m}),e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),e(b,[2,21]),e(b,[2,22]),e(_,[2,25],{27:[1,25]}),e(b,[2,26]),{19:26,26:12,31:p},{10:o,11:27,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:s,43:g,46:x},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(S,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(y,[2,13]),{26:35,31:p},{31:[2,14]},{17:[1,36]},e(_,[2,24]),{10:o,11:37,13:4,14:22,15:f,16:m,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:s,43:g,46:x},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(S,[2,30]),{18:[1,43]},{18:[1,44]},e(_,[2,23]),{18:[1,45]},{30:[1,46]},e(b,[2,28]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(b,[2,38]),{36:[1,47]},{33:48,34:D},{15:[1,50]},e(b,[2,27]),e(S,[2,33]),{38:[1,51]},{33:52,34:D,38:[2,31]},{31:[2,15]},e(S,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:c(L(function(u,r){if(r.recoverable)this.trace(u);else{var n=new Error(u);throw n.hash=r,n}},"parseError"),"parseError"),parse:c(L(function(u){var r=this,n=[0],d=[],k=[null],t=[],K=this.table,i="",F=0,U=0,te=2,H=1,se=t.slice.call(arguments,1),N=Object.create(this.lexer),A={yy:{}};for(var re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,re)&&(A.yy[re]=this.yy[re]);N.setInput(u,A.yy),A.yy.lexer=N,A.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var ie=N.yylloc;t.push(ie);var Ae=N.options&&N.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function De(C){n.length=n.length-2*C,k.length=k.length-C,t.length=t.length-C}L(De,"popStack"),c(De,"popStack");function ne(){var C;return C=d.pop()||N.lex()||H,typeof C!="number"&&(C instanceof Array&&(d=C,C=d.pop()),C=r.symbols_[C]||C),C}L(ne,"lex"),c(ne,"lex");for(var I,P,z,ae,M={},X,R,Ne,G;;){if(P=n[n.length-1],this.defaultActions[P]?z=this.defaultActions[P]:((I===null||typeof I>"u")&&(I=ne()),z=K[P]&&K[P][I]),typeof z>"u"||!z.length||!z[0]){var oe="";G=[];for(X in K[P])this.terminals_[X]&&X>te&&G.push("'"+this.terminals_[X]+"'");N.showPosition?oe="Parse error on line "+(F+1)+`:
|
|
2
2
|
`+N.showPosition()+`
|
|
3
3
|
Expecting `+G.join(", ")+", got '"+(this.terminals_[I]||I)+"'":oe="Parse error on line "+(F+1)+": Unexpected "+(I==H?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(oe,{text:N.match,token:this.terminals_[I]||I,line:N.yylineno,loc:ie,expected:G})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+I);switch(z[0]){case 1:n.push(I),k.push(N.yytext),t.push(N.yylloc),n.push(z[1]),I=null,U=N.yyleng,i=N.yytext,F=N.yylineno,ie=N.yylloc;break;case 2:if(R=this.productions_[z[1]][1],M.$=k[k.length-R],M._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Ae&&(M._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),ae=this.performAction.apply(M,[i,U,F,A.yy,z[1],k,t].concat(se)),typeof ae<"u")return ae;R&&(n=n.slice(0,-1*R*2),k=k.slice(0,-1*R),t=t.slice(0,-1*R)),n.push(this.productions_[z[1]][0]),k.push(M.$),t.push(M._$),Ne=K[n[n.length-2]][n[n.length-1]],n.push(Ne);break;case 3:return!0}}return!0},"parse"),"parse")},T=(function(){var O={EOF:1,parseError:c(L(function(r,n){if(this.yy.parser)this.yy.parser.parseError(r,n);else throw new Error(r)},"parseError"),"parseError"),setInput:c(function(u,r){return this.yy=r||this.yy||{},this._input=u,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:c(function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var r=u.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},"input"),unput:c(function(u){var r=u.length,n=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var d=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),n.length-1&&(this.yylineno-=n.length-1);var k=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:n?(n.length===d.length?this.yylloc.first_column:0)+d[d.length-n.length].length-n[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[k[0],k[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(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:c(function(u){this.unput(this.match.slice(u))},"less"),pastInput:c(function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c(function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c(function(){var u=this.pastInput(),r=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G9 as s,hu as a,k_ as S,mw as O,lb as m}from"./
|
|
1
|
+
import{G9 as s,hu as a,k_ as S,mw as O,lb as m}from"./BL_sVoge.js";import{x as f}from"./Cro1ceUg.js";import{dr as d,aS as k,dz as b}from"./Df2ohObb.js";const v=s.createSelector((t,e)=>{if(k.select(t,e)&&b.select(t,e))return!1;const r=t.principal?.snapshot;return r?.capabilities.workspaceGuestRoles===!0&&(r.capabilities.hostMembership?r.principal.hostRole==="guest":!r.principal.isAdministrator)}),y=s.createSelector(t=>t.principal?.snapshot?.capabilities.remoteScripts===1),l=s.createSelector((t,e,r)=>!v.select(t,e)||!!d.select(t,e)&&r?.purpose==="saved");function o(t,e,r){return!!e&&!!r&&l.select(t,e,r)}function i(t,e){return e?t.scripts.byWorkspaceId[e]??m:m}const j=s.createSelector((t,e)=>i(t,e).initialized),W=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),C=s.createSelector((t,e)=>W.select(t,e).filter(r=>f((r.runtime??a()).status))),u=s.createSelector((t,e,r)=>{const c=i(t,e);return o(t,e,c.scripts[r])?c.scripts[r]:null}),x=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),z=s.createSelector((t,e,r)=>{const c=i(t,e);return l.select(t,e??"",c.scripts[r])?c.outputBuffers[r]??S:S}),E=s.createSelector((t,e,r,c)=>{const n=i(t,e).retainedOutputs?.[c];return n?.scriptId===r&&l.select(t,e,i(t,e).scripts[r])?n:void 0}),M=s.createSelector(t=>Object.entries(t.scripts?.byWorkspaceId??{}).filter(([,e])=>Object.keys(e.retainedOutputs??{}).length>0).map(([e])=>e).sort()),A=s.createSelector((t,e)=>!!t.scripts?.byWorkspaceId[e]?.outputStreamReady),D=s.createSelector((t,e)=>i(t,e).initialized),G=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),B=s.createSelector((t,e)=>{const r=i(t,e);return r.detectionOperation?.pending?{...r.operations,...Object.fromEntries(Object.keys(r.scripts).map(c=>[c,r.detectionOperation]))}:r.operations}),L=s.createSelector((t,e)=>i(t,e).detectionOperation),P=s.createSelector((t,e,r,c)=>{const n=i(t,r).workflowOutcomes,p=n?O(n,e):void 0;return p?.workspaceId===r&&p.resourceId===c?p:void 0}),J=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),U=s.createSelector((t,e)=>Object.values(i(t,e).scripts).filter(r=>o(t,e,r))),V=s.createSelector((t,e,r)=>i(t,e).pendingReads?.[r]),_=s.createSelector((t,e,r)=>{const c=u.select(t,e,r);return!!c&&!f(c.runtime?.status)&&!i(t,e).detectionOperation?.pending&&!i(t,e).operations[r]?.pending}),q=s.createSelector((t,e)=>({nextCursor:i(t,e).nextCursor,loading:i(t,e).loading,error:i(t,e).loadError}));export{U as selectAllWorkspaceScriptEntries,_ as selectCanDeleteScript,l as selectCanReadScriptDefinition,y as selectRemoteScriptsSupported,C as selectRunningScripts,u as selectScriptById,L as selectScriptDetectionOperation,W as selectScriptEntries,q as selectScriptListPageState,z as selectScriptOutput,A as selectScriptOutputStreamReady,M as selectScriptOutputViewerWorkspaceIds,V as selectScriptReadJournal,E as selectScriptRetainedOutput,x as selectScriptRuntime,P as selectScriptWorkflowOutcome,j as selectScriptsInitialized,v as selectUsesGuestScriptScope,G as selectWorkspaceScriptEntries,B as selectWorkspaceScriptOperations,J as selectWorkspaceScriptRuntime,D as selectWorkspaceScriptsInitialized};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as oe,bq as st,a_ as at,bo as Q,by as ie,bu as $t,bs as Me,b as ce}from"./
|
|
1
|
+
import{t as oe,bq as st,a_ as at,bo as Q,by as ie,bu as $t,bs as Me,b as ce}from"./CgPr4hs2.js";import{bs as le,a5 as L,bS as C,ay as Yt,aD as t,bA as $,bl as K,b_ as k,bO as D,W as _,bn as de,c9 as y,aA as rt,aB as O,bV as Mt,br as _a,aw as De,aj as Se,bH as V,ai as ya,be as Ia,b$ as xa,bf as wa,aC as he,a7 as Be}from"./B8o4lNgr.js";import{k as Xt,I as ea,l as ne,h as jt,s as gt,i as Ne,d as se}from"./CsstSIr0.js";import{b as ba}from"./D2g8BuR1.js";import{f as Ut}from"./Ps9iRbKd.js";import{A as aa,af as na,ae as sa}from"./4cIwmSuD.js";import"./D3ROSEe0.js";import{ak as ra,aA as oa,am as Aa,an as ka,ao as We,af as ia,c as $a,o as Ta,dp as Ca,aM as Sa,ap as Na}from"./Df2ohObb.js";import{R as Fa}from"./Bo4f3vLH.js";import{F as pe,bu as Oa,bb as Ra,az as Ma,aR as Wa,ct as Da}from"./B7NNbItI.js";import{H as Ba}from"./BZrGNaMY.js";import{e as La}from"./CfV9aH5z.js";import{s as Pa}from"./RiB0F36z.js";import{f as Ea}from"./C9AcsTi0.js";import{c as Nt,G9 as Oe,mx as Ga,fs as za,bP as ja,qF as Ka,sF as Ha}from"./BL_sVoge.js";function qa(e){return e.type==="agent"}const Xa=180,Ya=180;var Le=O('<div class="activity-pill shrink-0 text-xs px-3 py-1.5 bg-muted/60 border border-border rounded-lg text-subtle max-w-32 truncate"><!> </div>'),Ua=O('<div class="text-ui text-subtle line-clamp-2 leading-tight px-1"> </div>'),Va=O('<div><div class="flex items-center justify-center gap-1"><!> <span class="truncate"> </span></div> <!> <!></div>'),Qa=O('<div class="text-sm text-primary-ink flex items-center justify-center gap-1"><!> <span class="truncate"> </span></div>'),Fe=O('<span class="text-xs text-subtle"> </span>'),Za=O('<span class="status-pill text-xs px-1.5 py-0.5 bg-muted/80 rounded-md text-subtle truncate max-w-[130px]"> </span>'),Ja=O('<div class="text-ui text-subtle truncate w-full px-1 leading-tight"> </div>'),tn=O('<div class="flex flex-col items-center gap-1"><div class="flex items-center justify-center gap-1.5"><!> <!></div> <!></div>'),en=O('<div class="text-sm text-subtle line-clamp-3 leading-tight"> </div>'),an=O('<div class="avatar-wrapper h-9 w-12 flex items-center justify-center bg-background rounded-full"><!></div> <span class="font-semibold text-center leading-tight line-clamp-2"> </span> <div class="status-footer mt-auto pt-2 w-full text-center"><!></div>',1),nn=O('<div class="agent-card-wrapper flex items-center gap-3 shadow"><!> <!> <!></div>');function ca(e,a){if(new.target)return oe({component:ca,...e});le(a,!0);const s=()=>$t(_t,"$attentionRequest$",o),g=()=>$t(it,"$agentSession$",o),u=()=>$t(x,"$agentIsResponding$",o),c=()=>$t(ct,"$agentIsWaitingForOtherAgents$",o),d=()=>$t(E,"$agentIsWaiting$",o),i=()=>$t(I,"$agentIsThinking$",o),[o,l]=Me();let n=st(a,"agent",7),p=st(a,"activeFile",7),R=st(a,"activeNote",7),h=st(a,"agentNames",7),v=st(a,"onclick",7),b=st(a,"onmouseenter",7),S=st(a,"onmouseleave",7);const x=ra(n().agentId),it=oa(n().agentId),P=y(()=>!n().waitingForAgentIds||n().waitingForAgentIds.length===0?[]:n().waitingForAgentIds.map(A=>h()?.get(A)||Q.agentOverview_hierarchyCard_agent_fallback()).slice(0,2)),I=Aa(n().agentId),E=ka(n().agentId),ct=We(n().agentId),_t=ia(n().agentId),Ft=y(()=>{const A={attentionKind:s()?.kind??null};return g()?na(g(),A):sa({status:n().status,isResponding:u(),isWaitingForOtherAgents:c()},{...A,isCompleted:n().status==="completed",isFailed:n().status==="failed"})});var Dt={get agent(){return n()},set agent(A){n(A),rt()},get activeFile(){return p()},set activeFile(A){p(A),rt()},get activeNote(){return R()},set activeNote(A){R(A),rt()},get agentNames(){return h()},set agentNames(A){h(A),rt()},get onclick(){return v()},set onclick(A){v(A),rt()},get onmouseenter(){return b()},set onmouseenter(A){b(A),rt()},get onmouseleave(){return S()},set onmouseleave(A){S(A),rt()},$set:ie,$on:(A,B)=>ce(a,A,B)},ht=nn(),bt=L(ht);{var Kt=A=>{var B=Le(),Tt=L(B);pe(Tt,{get icon(){return Ra},size:"xs",class:"inline"});var Rt=C(Tt);$(B),k(()=>D(Rt,` ${p()??""}`)),_(A,B)};at(bt,A=>{p()&&u()&&A(Kt)})}var Ot=C(bt,2);{let A=y(()=>d()?"border-primary-ink border-2":"");Ut(Ot,{variant:"ghost",type:"button",get class(){return`agent-card flex flex-col items-center px-2.5 py-4 bg-card border border-border
|
|
2
2
|
hover:shadow transition-all cursor-pointer ${t(A)??""}`},get style(){return`width: 180px; height: 180px; anchor-name: --agent-hierarchy-${n().agentId??""};`},get onclick(){return v()},get onmouseenter(){return b()},get onmouseleave(){return S()},children:(B,Tt)=>{var Rt=an(),Lt=Yt(Rt),me=L(Lt);aa(me,{get agentId(){return n().agentId},variant:"emphasized",get state(){return t(Ft)},get specialist(){return n().specialist}}),$(Lt);var Zt=C(Lt,2),_e=K(Zt,!0),Jt=C(Zt,2),te=L(Jt);{var ye=ft=>{var r=Va(),f=L(r),M=L(f);{let z=y(()=>s().kind==="blocker"?Ma:Wa);pe(M,{get icon(){return t(z)},size:"xs"})}var W=C(M,2),m=K(W,!0);$(f);var H=C(f,2);{var nt=z=>{var It=Ua(),ot=K(It,!0);k(()=>D(ot,s().reason)),_(z,It)};at(H,z=>{s().reason&&z(nt)})}var N=C(H,2);{var G=z=>{Fa(z,{get date(){return s().timestamp},class:"text-ui text-ghost"})};at(N,z=>{s().timestamp&&z(G)})}$(r),k(z=>{Xt(r,1,`text-sm flex flex-col items-center gap-0.5 ${s().kind==="blocker"?"text-red-500":"text-warning-ink"}`),D(m,z)},[()=>s().kind==="blocker"?Q.chat_agentCard_attentionBlocker_label():Q.chat_agentCard_attentionDiscussion_label()]),_(ft,r)},yt=ft=>{var r=Qa(),f=L(r);pe(f,{get icon(){return Oa},size:"xs",class:"animate-pulse"});var M=C(f,2),W=K(M,!0);$(r),k(m=>D(W,m),[()=>Q.agentOverview_hierarchyCard_waitingFor_label({names:t(P).join(", ")})]),_(ft,r)},Ie=ft=>{const r=y(()=>n().activeToolName?$a(n().activeToolName,n().activeToolInput||{}):null),f=y(()=>t(r)&&!t(r).hidden?t(r):null);var M=tn(),W=L(M),m=L(W);ea(m,{size:14});var H=C(m,2);{var nt=Y=>{var Z=Fe(),pt=K(Z,!0);k(Pt=>D(pt,Pt),[()=>Q.agentOverview_hierarchyCard_thinking_label()]),_(Y,Z)},N=Y=>{var Z=Za(),pt=K(Z);k(()=>D(pt,`${t(f).verb??""}
|
|
3
3
|
${t(f).subject??""}`)),_(Y,Z)},G=Y=>{var Z=Fe(),pt=K(Z);k(()=>D(pt,`${t(f).verb??""}...`)),_(Y,Z)},z=Y=>{var Z=Fe(),pt=K(Z,!0);k(Pt=>D(pt,Pt),[()=>Q.agentOverview_hierarchyCard_responding_label()]),_(Y,Z)};at(H,Y=>{i()?Y(nt):t(f)&&t(f).subject?Y(N,1):t(f)?Y(G,2):Y(z,-1)})}$(W);var It=C(W,2);{var ot=Y=>{var Z=Ja(),pt=K(Z,!0);k(()=>D(pt,n().lastResponse)),_(Y,Z)};at(It,Y=>{!t(f)&&n().lastResponse&&Y(ot)})}$(M),_(ft,M)},xe=ft=>{var r=en(),f=K(r,!0);k(()=>D(f,n().lastResponse)),_(ft,r)};at(te,ft=>{s()?ft(ye):c()?ft(yt,1):u()||i()?ft(Ie,2):n().lastResponse&&ft(xe,3)})}$(Jt),k(()=>D(_e,n().name)),_(B,Rt)},$$slots:{default:!0}})}var ge=C(Ot,2);{var Bt=A=>{var B=Le(),Tt=L(B);pe(Tt,{get icon(){return Da},size:"xs",class:"inline"});var Rt=C(Tt);$(B),k(Lt=>D(Rt,` ${Lt??""}`),[()=>Q.agentOverview_hierarchyCard_note_label()]),_(A,B)};at(ge,A=>{R()&&u()&&A(Bt)})}$(ht),_(e,ht);var Qt=de(Dt);return l(),Qt}const sn=50;var rn=O('<span class="sr-only"> </span> <!>',1);function Re(e,a){if(new.target)return oe({component:Re,...e});le(a,!0);const s=()=>$t(R,"$attentionRequest$",c),g=()=>$t(h,"$agentSession$",c),u=()=>$t(p,"$agentIsWaitingForOtherAgents$",c),[c,d]=Me();let i=st(a,"agent",7),o=st(a,"onclick",7),l=st(a,"onmouseenter",7),n=st(a,"onmouseleave",7);const p=We(i().agentId),R=ia(i().agentId),h=oa(i().agentId),v=y(()=>{const x={attentionKind:s()?.kind??null};return g()?na(g(),x):sa({status:i().status,isResponding:i().status==="responding",isWaitingForOtherAgents:u()},{...x,isCompleted:i().status==="completed",isFailed:i().status==="failed"})});var b={get agent(){return i()},set agent(x){i(x),rt()},get onclick(){return o()},set onclick(x){o(x),rt()},get onmouseenter(){return l()},set onmouseenter(x){l(x),rt()},get onmouseleave(){return n()},set onmouseleave(x){n(x),rt()},$set:ie,$on:(x,it)=>ce(a,x,it)};Ut(e,{variant:"ghost",type:"button",class:"background-agent-card relative flex flex-col items-center justify-center gap-1 rounded-full bg-sidebar hover:bg-muted/70 transition-colors cursor-pointer p-2",get style(){return`width: 50px; min-height: 50px; anchor-name: --agent-hierarchy-${i().agentId??""};`},get onclick(){return o()},get onmouseenter(){return l()},get onmouseleave(){return n()},children:(x,it)=>{var P=rn(),I=Yt(P),E=K(I,!0),ct=C(I,2);aa(ct,{get agentId(){return i().agentId},size:32,get state(){return t(v)},get specialist(){return i().specialist}}),k(()=>D(E,i().name)),_(x,P)},$$slots:{default:!0}});var S=de(b);return d(),S}var re=he('<path fill="none"></path>'),on=O('<div class="batch-group-box relative z-10 bg-background border border-border rounded-xl"></div>'),cn=O('<svg class="connector-svg" style="overflow: visible; display: block;"><!><!></svg> <div class="children-items-row flex items-start justify-center"></div>',1),ln=O('<div class="children-wrapper flex flex-col items-center"></div>'),dn=O('<div class="agent-tree-node flex flex-col items-center"><div class="agent-card-wrapper relative z-10"><!></div> <!></div>'),gn=O('<div class="absolute inset-0 flex items-center justify-center"><div class="text-center text-subtle"><p class="text-lg font-medium"> </p> <p class="text-sm mt-1"> </p></div></div>'),un=O('<div class="utility-corral border border-dashed border-border rounded-lg p-3 min-w-20"><div class="corral-label text-xs text-subtle font-medium mb-2 text-center"> </div> <div class="corral-agents flex flex-col items-center gap-2"></div></div>'),fn=O('<div class="utility-corrals flex flex-col gap-4"></div>'),pn=O('<div class="text-xs text-subtle capitalize"> </div>'),vn=O('<span class="px-1.5 py-0.5 text-ui font-medium bg-muted text-subtle rounded"> </span>'),hn=O('<span class="text-warning-ink"> </span>'),mn=O('<span class="text-primary-ink"> </span>'),_n=O('<span class="text-green-500"> </span>'),yn=O('<span class="text-red-500"> </span>'),In=O("<span> </span>"),xn=O('<div class="text-xs text-subtle line-clamp-3 border-t border-border pt-2 mt-2"> </div>'),wn=O('<div class="text-xs text-subtle flex items-center gap-1"><!> <span> </span></div>'),bn=O('<div class="p-3 space-y-2"><div class="flex items-center gap-2"><!> <div class="flex-1 min-w-0"><div class="font-medium text-sm truncate"> </div> <!></div> <!></div> <div class="text-xs text-subtle"><!></div> <div class="text-xs text-subtle"> </div> <!> <!></div>'),An=he('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="5" y1="12" x2="19" y2="12"></line></svg>'),kn=he('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>'),$n=he('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7"></path></svg>'),Tn=O('<div class="canvas-content absolute inset-0 flex items-center justify-center p-8 svelte-13q5gm4"><div class="hierarchy-wrapper flex items-start gap-8"><!> <div class="main-hierarchy flex flex-col items-center gap-4"><div class="hierarchy-container flex flex-col items-center gap-4"><div class="roots-row flex justify-center"></div></div></div></div> <!></div> <div class="zoom-controls absolute bottom-4 right-4 flex items-center gap-1 bg-card border border-border rounded-lg shadow-sm p-1"><!> <!> <!> <div class="w-px h-6 bg-border mx-1"></div> <!></div> <div class="absolute bottom-4 left-4 text-xs text-subtle"> </div>',1),Cn=O('<div class="agent-hierarchy-graph relative w-full h-full overflow-hidden bg-background svelte-13q5gm4"><!></div>');function la(e,a){if(new.target)return oe({component:la,...e});le(a,!0);const s=(r,f=wa,M)=>{const W=y(()=>f().agent.isBackground),m=y(()=>f().children.length>0),H=y(()=>t(m)&&f().children[0]?.agent.isBackground?sn:Xa),nt=y(()=>16),N=y(()=>60),G=y(()=>t(m)?Rt(f().children,t(H),i):[]),z=y(()=>(()=>{const F=[];for(let q=0;q<t(G).length;q+=Tt)F.push(t(G).slice(q,q+Tt));return F})()),It=y(()=>t(z).map(F=>F.reduce((q,J)=>q+J.width,0)+Math.max(0,F.length-1)*i)),ot=y(()=>Math.max(...t(It),0));var Y=dn(),Z=L(Y),pt=L(Z);{var Pt=F=>{Re(F,{get agent(){return f().agent},onclick:q=>te(f().agent,q),onmouseenter:()=>x(f().agent.agentId),onmouseleave:it})},we=F=>{ca(F,{get agent(){return f().agent},get activeFile(){return f().activeFile},get activeNote(){return f().activeNote},get agentNames(){return t(Lt)},onclick:q=>te(f().agent,q),onmouseenter:()=>x(f().agent.agentId),onmouseleave:it})};at(pt,F=>{t(W)?F(Pt):F(we,-1)})}$(Z);var be=C(Z,2);{var U=F=>{const q=y(()=>f().agent.status==="waiting"?f().agent.waitingForAgentIds||[]:[]),J=y(()=>t(q).length>0),et=y(()=>t(N)/2);var xt=ln();jt(xt,21,()=>t(z),Ne,(Ht,At,Ct)=>{const Et=y(()=>t(It)[Ct]),ee=y(()=>(t(ot)-t(Et))/2),Ae=y(()=>(()=>{let ut=0;return t(At).map(j=>{const St=ut+j.width/2;return ut+=j.width+i,St})})());var ue=cn(),Gt=Yt(ue);gt(Gt,"height",t(N));var qt=L(Gt);{var ke=ut=>{var j=re();k(()=>{gt(j,"d",`M ${t(ot)/2} -${Ya} L ${t(ot)/2} ${t(N)/3}`),gt(j,"stroke",t(J)?"var(--primary-ink)":"currentColor"),Xt(j,0,se(t(J)?"":"text-border")),gt(j,"stroke-width",t(J)?2:1)}),_(ut,j)},$e=ut=>{var j=re();k(()=>{gt(j,"d",`M ${t(ot)/2} 0 L ${t(ot)/2} ${t(N)/3}`),gt(j,"stroke",t(J)?"var(--primary-ink)":"currentColor"),Xt(j,0,se(t(J)?"":"text-border")),gt(j,"stroke-width",t(J)?2:1)}),_(ut,j)};at(qt,ut=>{Ct>0?ut(ke):ut($e,-1)})}var Te=C(qt);jt(Te,17,()=>t(At),Ne,(ut,j,St)=>{const vt=y(()=>t(ee)+t(Ae)[St]),lt=y(()=>t(ot)/2),zt=y(()=>t(j).type==="batch"?t(j).children.some(wt=>t(q).includes(wt.agent.agentId)):t(q).includes(t(j).child.agent.agentId)),mt=y(()=>t(zt)?"var(--color-primary)":"currentColor"),kt=y(()=>t(zt)?"":"text-border"),w=y(()=>t(zt)?2:1),T=y(()=>t(j).type==="batch"?t(N)-A:t(N)),tt=y(()=>Math.abs(t(vt)-t(lt))),X=y(()=>Math.min(t(nt),t(tt)/2));var fe=Be(),Ce=Yt(fe);{var va=wt=>{var dt=re();k(()=>{gt(dt,"d",`M ${t(lt)??""} ${t(N)/3} L ${t(lt)??""} ${t(T)??""}`),gt(dt,"stroke",t(mt)),Xt(dt,0,se(t(kt)),"svelte-13q5gm4"),gt(dt,"stroke-width",t(w))}),_(wt,dt)},ha=wt=>{var dt=re();k(()=>{gt(dt,"d",`M ${t(lt)??""} ${t(N)/3}
|
|
4
4
|
L ${t(lt)??""} ${t(et)-t(X)}
|