@intent-hq/web 2.283.0 → 2.284.0
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/{CsGRm74m.js → --3ZEJ9J.js} +1 -1
- package/web/app/immutable/chunks/{C6UIN6U-.js → 03ESLWB1.js} +1 -1
- package/web/app/immutable/chunks/{86I704nb.js → 0XyrKsuA.js} +1 -1
- package/web/app/immutable/chunks/{CqnYcuvr.js → 1rwbAxiY.js} +1 -1
- package/web/app/immutable/chunks/{BMFwrOH1.js → 1wcS2GHA.js} +1 -1
- package/web/app/immutable/chunks/{CvLXNZbW.js → 32YnGblO.js} +1 -1
- package/web/app/immutable/chunks/{5guZ9l7C.js → 4kHCfKWR.js} +1 -1
- package/web/app/immutable/chunks/{CMI5HTNV.js → 580ALcE7.js} +1 -1
- package/web/app/immutable/chunks/{JWpKjkZt.js → 5BmKVYc1.js} +4 -4
- package/web/app/immutable/chunks/{B4NuLgfc.js → 5ZpW5rVB.js} +1 -1
- package/web/app/immutable/chunks/{BuYGacYC.js → 7IZupueL.js} +44 -44
- package/web/app/immutable/chunks/{DwufXbAm.js → 8n4ougjP.js} +1 -1
- package/web/app/immutable/chunks/{D0ubTGV_.js → 8puonPwK.js} +1 -1
- package/web/app/immutable/chunks/{DVch_AcI.js → B-kQ0Vz5.js} +1 -1
- package/web/app/immutable/chunks/{BlxovLoL.js → B0w4Cxo_.js} +1 -1
- package/web/app/immutable/chunks/{Be5Pyj-G.js → B1EuyQvk.js} +1 -1
- package/web/app/immutable/chunks/{DjvHPE3r.js → B1P0TORE.js} +1 -1
- package/web/app/immutable/chunks/{BSoHy997.js → B1s7HAuZ.js} +1 -1
- package/web/app/immutable/chunks/{Dvf5hKr0.js → B3G2wO_D.js} +1 -1
- package/web/app/immutable/chunks/{DGTcJSfI.js → B4VDa7RO.js} +1 -1
- package/web/app/immutable/chunks/{CDUZ_0Sw.js → B5HPrVzu.js} +1 -1
- package/web/app/immutable/chunks/{RykEwldd.js → B5KLQb3J.js} +1 -1
- package/web/app/immutable/chunks/{Bjat9loC.js → B7R5ywXv.js} +1 -1
- package/web/app/immutable/chunks/{DSMbTvmu.js → B8LfMxTf.js} +1 -1
- package/web/app/immutable/chunks/{DEAKghGX.js → B8xgoeqo.js} +1 -1
- package/web/app/immutable/chunks/{C85s-gi8.js → B96HYSUr.js} +1 -1
- package/web/app/immutable/chunks/{BQkOKtmR.js → B9YdV5Lr.js} +1 -1
- package/web/app/immutable/chunks/{QEFaNqbo.js → BAuomW3Q.js} +1 -1
- package/web/app/immutable/chunks/{Cnak6su6.js → BAyTpaq3.js} +1 -1
- package/web/app/immutable/chunks/{CMU9ws3e.js → BCHni7By.js} +1 -1
- package/web/app/immutable/chunks/{Bme6a8ON.js → BCkgwkHF.js} +1 -1
- package/web/app/immutable/chunks/{DKhnmIhc.js → BE5jLkkZ.js} +1 -1
- package/web/app/immutable/chunks/{BcIZ6c0f.js → BE6av5p4.js} +1 -1
- package/web/app/immutable/chunks/{CmTb9opo.js → BEQXbC7q.js} +1 -1
- package/web/app/immutable/chunks/{B122KxZy.js → BFDD1pyQ.js} +1 -1
- package/web/app/immutable/chunks/{yZjABy7c.js → BHdVwar2.js} +1 -1
- package/web/app/immutable/chunks/{UFs8wmaf.js → BIkNHTNp.js} +1 -1
- package/web/app/immutable/chunks/{DSad0YxQ.js → BJ5sH6i3.js} +1 -1
- package/web/app/immutable/chunks/{CNnCGYha.js → BJwGOB8K.js} +1 -1
- package/web/app/immutable/chunks/{wqHUaR0E.js → BKAQdyqG.js} +1 -1
- package/web/app/immutable/chunks/{DOWY58Gk.js → BKYBbIMC.js} +1 -1
- package/web/app/immutable/chunks/{DzF66VDn.js → BLEfessf.js} +1 -1
- package/web/app/immutable/chunks/{PwM42XJW.js → BLjf4WQt.js} +1 -1
- package/web/app/immutable/chunks/{BdS003Kb.js → BLjxHwvZ.js} +1 -1
- package/web/app/immutable/chunks/{BFnOOmhf.js → BMBobKUo.js} +2 -2
- package/web/app/immutable/chunks/{j32IuKtD.js → BNfbL3_i.js} +1 -1
- package/web/app/immutable/chunks/{CI86PNUZ.js → BOIoayZB.js} +1 -1
- package/web/app/immutable/chunks/{DlmTHr8T.js → BOV2-YtX.js} +1 -1
- package/web/app/immutable/chunks/{DWsGxz2C.js → BPQohPc9.js} +1 -1
- package/web/app/immutable/chunks/{B5Kd4cOY.js → BQ-Vdhjp.js} +1 -1
- package/web/app/immutable/chunks/{Dr6lXyco.js → BQqtq_EY.js} +4 -4
- package/web/app/immutable/chunks/BQu3cSOx.js +1 -0
- package/web/app/immutable/chunks/{DMbXrJli.js → BRk6sSrF.js} +1 -1
- package/web/app/immutable/chunks/{ZJCzYVmw.js → BS6Z2wWv.js} +1 -1
- package/web/app/immutable/chunks/{DaMaCbrW.js → BSIOWZWq.js} +1 -1
- package/web/app/immutable/chunks/{gYd6zuXF.js → BSLrzoVf.js} +1 -1
- package/web/app/immutable/chunks/{cpbf9St3.js → BUtQhKox.js} +1 -1
- package/web/app/immutable/chunks/{Bl1nIYdr.js → BXwgWEmz.js} +1 -1
- package/web/app/immutable/chunks/{cCabUQP6.js → BYB7SynS.js} +2 -2
- package/web/app/immutable/chunks/{D-U5rcFa.js → BYhzE2Id.js} +1 -1
- package/web/app/immutable/chunks/{BSt_qcPC.js → BYvXj8cv.js} +1 -1
- package/web/app/immutable/chunks/{B8ZK3-zF.js → BZjntufp.js} +1 -1
- package/web/app/immutable/chunks/{B241tUXW.js → B_BtFokc.js} +1 -1
- package/web/app/immutable/chunks/{UF5lygT0.js → BcemBG1g.js} +4 -4
- package/web/app/immutable/chunks/{NyRx-5qE.js → BfCf1CX7.js} +3 -3
- package/web/app/immutable/chunks/{g3KZ-aok.js → BghJZEqX.js} +1 -1
- package/web/app/immutable/chunks/{BzSa9-IF.js → Bhov0MTz.js} +1 -1
- package/web/app/immutable/chunks/{DeSJTI_U.js → Bir-_mB8.js} +1 -1
- package/web/app/immutable/chunks/{VzlQnrws.js → Bj2uvmt-.js} +1 -1
- package/web/app/immutable/chunks/{VLmrqzTE.js → Bj6-QOR3.js} +1 -1
- package/web/app/immutable/chunks/{C8gv124k.js → BjO6mATN.js} +1 -1
- package/web/app/immutable/chunks/{DueTjjFx.js → BlhXsK8K.js} +1 -1
- package/web/app/immutable/chunks/{DHZ4JjoJ.js → Blhl4Kzo.js} +1 -1
- package/web/app/immutable/chunks/{CzT5E1qm.js → BlobiUVj.js} +1 -1
- package/web/app/immutable/chunks/{DMl_gv4g.js → BmY5L1Op.js} +1 -1
- package/web/app/immutable/chunks/{2UHo-lr0.js → BmeKmSN1.js} +1 -1
- package/web/app/immutable/chunks/{DikRK37J.js → Bmnp4Cni.js} +6 -6
- package/web/app/immutable/chunks/{BbGMZxWy.js → BnZq-I73.js} +2 -2
- package/web/app/immutable/chunks/{CcikvcoO.js → BoffG-0C.js} +1 -1
- package/web/app/immutable/chunks/{BLfSGdog.js → BoyajzxN.js} +1 -1
- package/web/app/immutable/chunks/{BlEVobud.js → BqSjWCdR.js} +1 -1
- package/web/app/immutable/chunks/{jN_7w48e.js → BrXpFLv_.js} +1 -1
- package/web/app/immutable/chunks/{C4oKInMh.js → BrvhC6GL.js} +1 -1
- package/web/app/immutable/chunks/{DBkSv110.js → BuSZooEw.js} +1 -1
- package/web/app/immutable/chunks/{CHb28ISq.js → BvuznwRa.js} +1 -1
- package/web/app/immutable/chunks/{BBl02EyB.js → BxFP5cPu.js} +1 -1
- package/web/app/immutable/chunks/{D71IW4i3.js → BxUDfZfX.js} +1 -1
- package/web/app/immutable/chunks/{DXKXi4fU.js → Byp8PswU.js} +1 -1
- package/web/app/immutable/chunks/{DA1BdbaM.js → C-AxUu93.js} +1 -1
- package/web/app/immutable/chunks/{B1ZGt7sC.js → C-tRLOED.js} +1 -1
- package/web/app/immutable/chunks/C1FIrZNw.js +184 -0
- package/web/app/immutable/chunks/{itPVrVkG.js → C1GRqLCq.js} +1 -1
- package/web/app/immutable/chunks/{P0y5VMqy.js → C2kpUgbe.js} +1 -1
- package/web/app/immutable/chunks/{X8KOCQId.js → C51KzdSG.js} +1 -1
- package/web/app/immutable/chunks/{BqgmbqM-.js → C6LRlrtG.js} +1 -1
- package/web/app/immutable/chunks/{D98MGnzl.js → C6Lk-C_n.js} +1 -1
- package/web/app/immutable/chunks/{DLshetD4.js → C6NP7Wkf.js} +1 -1
- package/web/app/immutable/chunks/{CaR7O_Ka.js → C83cffhG.js} +1 -1
- package/web/app/immutable/chunks/{BycWLeDe.js → C8yAGnZY.js} +1 -1
- package/web/app/immutable/chunks/{inj-bBZM.js → CAS7It7T.js} +1 -1
- package/web/app/immutable/chunks/{vlhkmmpx.js → CBF5TBJQ.js} +1 -1
- package/web/app/immutable/chunks/{Sqmoz5pv.js → CCU5YAgB.js} +1 -1
- package/web/app/immutable/chunks/{BaUre9ae.js → CCzzpn5X.js} +1 -1
- package/web/app/immutable/chunks/{J6ix93M3.js → CEZnJlwn.js} +1 -1
- package/web/app/immutable/chunks/{C-TcncuL.js → CEd0rr6P.js} +1 -1
- package/web/app/immutable/chunks/{U7JWtGAy.js → CEkEURUB.js} +1 -1
- package/web/app/immutable/chunks/{BxuhDHqB.js → CG5J-qd_.js} +1 -1
- package/web/app/immutable/chunks/{C81WcoAM.js → CHK5bSfe.js} +1 -1
- package/web/app/immutable/chunks/{Cc-44AXb.js → CHSBtC7Q.js} +1 -1
- package/web/app/immutable/chunks/{B3yw5iey.js → CJaPqUNh.js} +1 -1
- package/web/app/immutable/chunks/{D2kpmACf.js → CJuSN2hh.js} +1 -1
- package/web/app/immutable/chunks/{Fbmia90H.js → CLCaT9pi.js} +3 -3
- package/web/app/immutable/chunks/{3SbVPCw7.js → CLDGr3DL.js} +1 -1
- package/web/app/immutable/chunks/{Bt6bgoI-.js → CMqMo1Af.js} +1 -1
- package/web/app/immutable/chunks/{BQ1YF879.js → CNzOZ9MW.js} +1 -1
- package/web/app/immutable/chunks/{DX5DxI8W.js → CQMmROUx.js} +2 -2
- package/web/app/immutable/chunks/{CBWgmFBu.js → CQTIadOp.js} +1 -1
- package/web/app/immutable/chunks/{BeYVLVXM.js → CRQOCmwo.js} +7 -7
- package/web/app/immutable/chunks/{C723Veio.js → CRqiQDbX.js} +1 -1
- package/web/app/immutable/chunks/{Bw0IeVy1.js → CS1d84Cn.js} +1 -1
- package/web/app/immutable/chunks/{DdwwnwEU.js → CTthB0JK.js} +1 -1
- package/web/app/immutable/chunks/{BTxRR5tz.js → CVBBsS8i.js} +1 -1
- package/web/app/immutable/chunks/{DRHN1_Cd.js → CW2_8Qo8.js} +1 -1
- package/web/app/immutable/chunks/{D3cS8a_B.js → CWMWrTe0.js} +1 -1
- package/web/app/immutable/chunks/{CbGnxjOM.js → CX6Z33tv.js} +1 -1
- package/web/app/immutable/chunks/{B1ELYeiC.js → CX89Aogf.js} +1 -1
- package/web/app/immutable/chunks/{BMafDnH1.js → CXruy7R4.js} +1 -1
- package/web/app/immutable/chunks/{CeXEIZ_X.js → CXu6aWOL.js} +1 -1
- package/web/app/immutable/chunks/{CqJYE2BI.js → CYvdhBss.js} +1 -1
- package/web/app/immutable/chunks/{PJDGiarN.js → CZ1Jg-sG.js} +1 -1
- package/web/app/immutable/chunks/{C8chCNZC.js → CZFoI5QY.js} +2 -2
- package/web/app/immutable/chunks/{DpSTAF6f.js → C_fEvnNK.js} +1 -1
- package/web/app/immutable/chunks/{BsHwyYum.js → CajYOO74.js} +1 -1
- package/web/app/immutable/chunks/{BG8_YibP.js → CbNazQqj.js} +1 -1
- package/web/app/immutable/chunks/{Bcoxg00q.js → Cci8BWX_.js} +3 -3
- package/web/app/immutable/chunks/{CeH1-IFA.js → Ccj-b14I.js} +1 -1
- package/web/app/immutable/chunks/{Dzpx8dBT.js → CclADFoZ.js} +2 -2
- package/web/app/immutable/chunks/{BrnKg8z1.js → CeMTgCB3.js} +2 -2
- package/web/app/immutable/chunks/{D_PPEYyI.js → CfgPxwA4.js} +1 -1
- package/web/app/immutable/chunks/{CcEiTh-4.js → ChYWsi4Z.js} +1 -1
- package/web/app/immutable/chunks/{DWjmi9tH.js → CiB1yTSc.js} +3 -3
- package/web/app/immutable/chunks/{CptC_Uum.js → CnuSxcLR.js} +1 -1
- package/web/app/immutable/chunks/{DN-WSfNU.js → CoEKpjkL.js} +1 -1
- package/web/app/immutable/chunks/{DcKxGpqI.js → CoQLGQdj.js} +1 -1
- package/web/app/immutable/chunks/{AdAUM0KU.js → Cp9AnykR.js} +1 -1
- package/web/app/immutable/chunks/{Z8sIHDod.js → CqyYuyXE.js} +1 -1
- package/web/app/immutable/chunks/{C9TPtINb.js → CrPyrftw.js} +3 -3
- package/web/app/immutable/chunks/{Dt0exTZ5.js → CsP-2ecL.js} +1 -1
- package/web/app/immutable/chunks/{D76C-Lub.js → CtwCGSFA.js} +1 -1
- package/web/app/immutable/chunks/{DnsWe2Zg.js → CwYn_cZy.js} +1 -1
- package/web/app/immutable/chunks/{Cr8elldh.js → CxDLMfRf.js} +1 -1
- package/web/app/immutable/chunks/{DhUVW_9Y.js → CyBNkEuV.js} +1 -1
- package/web/app/immutable/chunks/{Djk4k1SJ.js → CyO8AnLs.js} +1 -1
- package/web/app/immutable/chunks/{y8Xlt_QT.js → CzTIJ9gY.js} +1 -1
- package/web/app/immutable/chunks/{BHUG3Di8.js → CzfXsXYz.js} +1 -1
- package/web/app/immutable/chunks/{ClnUtlN_.js → D-aPtTCv.js} +1 -1
- package/web/app/immutable/chunks/{DLRsFOmD.js → D0GCGQZA.js} +1 -1
- package/web/app/immutable/chunks/{Bh14bdXE.js → D0pR1-a6.js} +1 -1
- package/web/app/immutable/chunks/{6WATeGSz.js → D2hiI0dA.js} +1 -1
- package/web/app/immutable/chunks/D4Lumjru.js +1 -0
- package/web/app/immutable/chunks/D4MoKNoK.js +1 -0
- package/web/app/immutable/chunks/{dGE6HMYD.js → D5bYJMaB.js} +1 -1
- package/web/app/immutable/chunks/{3HhYuBQ5.js → D5jqrM_N.js} +1 -1
- package/web/app/immutable/chunks/{0kUsCNYC.js → D6CS23-9.js} +1 -1
- package/web/app/immutable/chunks/{C95TwfNO.js → D6K58w6v.js} +3 -3
- package/web/app/immutable/chunks/{C1Yon3Fs.js → D7ht9fTY.js} +1 -1
- package/web/app/immutable/chunks/{Ci0ScEWC.js → D805RV1I.js} +1 -1
- package/web/app/immutable/chunks/{D6EjWtzp.js → D8GxmJaV.js} +1 -1
- package/web/app/immutable/chunks/{Br7_wSvp.js → D8_OuTD3.js} +1 -1
- package/web/app/immutable/chunks/{Cb1CevU3.js → D8a6fWF_.js} +1 -1
- package/web/app/immutable/chunks/{BkTViBTC.js → D9ZfYqMq.js} +1 -1
- package/web/app/immutable/chunks/{DIgbsss0.js → DAY2MDvD.js} +1 -1
- package/web/app/immutable/chunks/{C_XVzDtJ.js → DBmzovBA.js} +1 -1
- package/web/app/immutable/chunks/DC38WcVm.js +1 -0
- package/web/app/immutable/chunks/{BKUFkB2Z.js → DDhakcOb.js} +1 -1
- package/web/app/immutable/chunks/{8PEQ8hLc.js → DDi4fKeR.js} +1 -1
- package/web/app/immutable/chunks/{BxiiO4Iw.js → DG8rkBW-.js} +1 -1
- package/web/app/immutable/chunks/{CxHgNIPx.js → DHBpY1EK.js} +1 -1
- package/web/app/immutable/chunks/{CPbL2cqN.js → DI5O_gLl.js} +1 -1
- package/web/app/immutable/chunks/{DiLRxk1W.js → DI7pTzx5.js} +1 -1
- package/web/app/immutable/chunks/{wESj32Mw.js → DIvWSFnj.js} +1 -1
- package/web/app/immutable/chunks/{BjU1p5sL.js → DKwy0FDy.js} +1 -1
- package/web/app/immutable/chunks/{DJly-gFW.js → DL5rLLvU.js} +1 -1
- package/web/app/immutable/chunks/{Et5QnGoZ.js → DO0tFr72.js} +1 -1
- package/web/app/immutable/chunks/{CtSELtkL.js → DOE_TCNp.js} +1 -1
- package/web/app/immutable/chunks/{CzI05dO6.js → DOdMtNpo.js} +1 -1
- package/web/app/immutable/chunks/{DeDjUs04.js → DPd_IJJ7.js} +1 -1
- package/web/app/immutable/chunks/{B_2t4zDu.js → DPfdnkfB.js} +1 -1
- package/web/app/immutable/chunks/{BpPk83wC.js → DPvthnru.js} +1 -1
- package/web/app/immutable/chunks/{Ba4COzVc.js → DQOyHGtr.js} +1 -1
- package/web/app/immutable/chunks/{PhuO6dVo.js → DQ_zmHT9.js} +2 -2
- package/web/app/immutable/chunks/{BdMtzsOL.js → DR1QbPSk.js} +1 -1
- package/web/app/immutable/chunks/{DlKkI_if.js → DR4RT4VO.js} +1 -1
- package/web/app/immutable/chunks/{DF6AYPg_.js → DRYCjR4c.js} +1 -1
- package/web/app/immutable/chunks/{DLZWsh5d.js → DSJT83nX.js} +1 -1
- package/web/app/immutable/chunks/{C7Y7Xcjq.js → DVwKfMN5.js} +1 -1
- package/web/app/immutable/chunks/{CFzvK5D6.js → DWW4w6Jk.js} +1 -1
- package/web/app/immutable/chunks/{CbaotZDu.js → DZ-8K7hK.js} +1 -1
- package/web/app/immutable/chunks/{Bo3xcJTH.js → DZpe54cf.js} +1 -1
- package/web/app/immutable/chunks/{JCCFqsAd.js → D_mcoMIN.js} +1 -1
- package/web/app/immutable/chunks/{BOK7tZ0u.js → DbdgMxO8.js} +1 -1
- package/web/app/immutable/chunks/{JhrIJH4k.js → DcoQTetB.js} +1 -1
- package/web/app/immutable/chunks/{BxQ4u3F0.js → Dd_avILP.js} +1 -1
- package/web/app/immutable/chunks/{Cyx56VLF.js → DditQ6Dc.js} +1 -1
- package/web/app/immutable/chunks/{CiJsLr2J.js → De4WWpS0.js} +1 -1
- package/web/app/immutable/chunks/{-cKrxpnw.js → DeJ360tt.js} +1 -1
- package/web/app/immutable/chunks/{FDVvdcz2.js → DgFojmqv.js} +3 -3
- package/web/app/immutable/chunks/{N_3EVFPG.js → Di6XfBOT.js} +1 -1
- package/web/app/immutable/chunks/{DSpny-f5.js → DjVrYm-R.js} +1 -1
- package/web/app/immutable/chunks/{15pYd3N2.js → Djthn66V.js} +2 -2
- package/web/app/immutable/chunks/{DcUrbytI.js → Dk3JYfn4.js} +1 -1
- package/web/app/immutable/chunks/{zCyqAg-B.js → DkJafW99.js} +1 -1
- package/web/app/immutable/chunks/{O93N6pq0.js → Dkj8SIBR.js} +1 -1
- package/web/app/immutable/chunks/{Cnz7jMnR.js → DmVYXUKU.js} +1 -1
- package/web/app/immutable/chunks/{DheEnqqs.js → Dmip1qZq.js} +1 -1
- package/web/app/immutable/chunks/{NHQHo6R8.js → DoBcYmem.js} +51 -51
- package/web/app/immutable/chunks/{DLNq3Dzg.js → DpiQDkOO.js} +1 -1
- package/web/app/immutable/chunks/{BLKmUQ7j.js → DpyM727L.js} +1 -1
- package/web/app/immutable/chunks/{BQniiLor.js → DqUTyEPN.js} +1 -1
- package/web/app/immutable/chunks/{BGWyYsdo.js → Dq_FaIX5.js} +1 -1
- package/web/app/immutable/chunks/{CjNKHPKC.js → Ds-TYeKV.js} +2 -2
- package/web/app/immutable/chunks/{BEJg4Sbf.js → Ds7can9q.js} +1 -1
- package/web/app/immutable/chunks/DsYKN9zh.js +1 -0
- package/web/app/immutable/chunks/{CQS12qgy.js → DwbzbVQ3.js} +1 -1
- package/web/app/immutable/chunks/{CpTvuo0c.js → Dwola7mR.js} +1 -1
- package/web/app/immutable/chunks/{Clzmvd7M.js → DwwMc3td.js} +1 -1
- package/web/app/immutable/chunks/{DsEsCHJ8.js → DxyRwm0L.js} +1 -1
- package/web/app/immutable/chunks/{CtrmC64x.js → DyQA18KQ.js} +1 -1
- package/web/app/immutable/chunks/{Cc3IoHk5.js → DyaiTi8A.js} +2 -2
- package/web/app/immutable/chunks/{DvIWu0bM.js → DzMB8eQW.js} +1 -1
- package/web/app/immutable/chunks/{DnGYdVeC.js → Dzk1FZ-5.js} +1 -1
- package/web/app/immutable/chunks/{ytSsfHOi.js → EPni7PhH.js} +1 -1
- package/web/app/immutable/chunks/{BLdRIYgd.js → FcnPtqUv.js} +1 -1
- package/web/app/immutable/chunks/{BRiTnHjR.js → GJVVHDkb.js} +1 -1
- package/web/app/immutable/chunks/{bG4sEGuX.js → H_dyzYix.js} +1 -1
- package/web/app/immutable/chunks/{OtBI4VRo.js → HfuFYz2u.js} +1 -1
- package/web/app/immutable/chunks/{B8eIPDu7.js → IrWlayTZ.js} +1 -1
- package/web/app/immutable/chunks/{Z5jotNHL.js → J2ZKQ-lu.js} +1 -1
- package/web/app/immutable/chunks/{E5HQjq_O.js → JqZ92YB_.js} +1 -1
- package/web/app/immutable/chunks/{CONx2grg.js → Jyr4akMd.js} +1 -1
- package/web/app/immutable/chunks/{DehyflGo.js → LFOlphb5.js} +1 -1
- package/web/app/immutable/chunks/{DO3zoQaK.js → LOxI5KoQ.js} +1 -1
- package/web/app/immutable/chunks/{D8EZluP_.js → LoyMyTg_.js} +1 -1
- package/web/app/immutable/chunks/{8xUKp1ov.js → NfelpfPi.js} +1 -1
- package/web/app/immutable/chunks/{Dq-W9mGx.js → OX_6myWb.js} +3 -3
- package/web/app/immutable/chunks/{CJmNIYA9.js → RAzXpC6i.js} +1 -1
- package/web/app/immutable/chunks/{PQ1Aq9aw.js → Ri_Gwy-5.js} +1 -1
- package/web/app/immutable/chunks/{B45Lzffx.js → S9ot6IO_.js} +1 -1
- package/web/app/immutable/chunks/Sk9pLJI5.js +6 -0
- package/web/app/immutable/chunks/{DoxEq2_M.js → Tpzyol5T.js} +2 -2
- package/web/app/immutable/chunks/{cZgi-_WA.js → U9YbfUz9.js} +1 -1
- package/web/app/immutable/chunks/{KLMKvNSD.js → WVYGrHqE.js} +1 -1
- package/web/app/immutable/chunks/{BAR22MDD.js → WZHg24tN.js} +1 -1
- package/web/app/immutable/chunks/{mxfq8-qS.js → Y4N0iJyK.js} +1 -1
- package/web/app/immutable/chunks/{Dq6jwHZ6.js → ZYYtufHC.js} +1 -1
- package/web/app/immutable/chunks/{WwLuvBZd.js → _cj4xlwz.js} +1 -1
- package/web/app/immutable/chunks/{Bar8ZAyw.js → aVNMqNTp.js} +1 -1
- package/web/app/immutable/chunks/{z8qxf2tv.js → bin8Us0N.js} +1 -1
- package/web/app/immutable/chunks/{B6f4X6Cq.js → bjlKIwQF.js} +1 -1
- package/web/app/immutable/chunks/{DCVW2Y_h.js → cesw6DqW.js} +1 -1
- package/web/app/immutable/chunks/{XM2hxWVx.js → cfTDb37Y.js} +1 -1
- package/web/app/immutable/chunks/{CE-1ma0H.js → dimBDqRX.js} +1 -1
- package/web/app/immutable/chunks/{De5CT8ah.js → fJdmRaXe.js} +1 -1
- package/web/app/immutable/chunks/{Byw2XPN_.js → fxR7QMV8.js} +1 -1
- package/web/app/immutable/chunks/{CelyhwOb.js → gNzz3jGE.js} +1 -1
- package/web/app/immutable/chunks/{Bh5viRl2.js → goXBWNik.js} +1 -1
- package/web/app/immutable/chunks/{Buyr-7cI.js → i_sqIi_B.js} +1 -1
- package/web/app/immutable/chunks/{DU0lunxS.js → k5qVf45I.js} +1 -1
- package/web/app/immutable/chunks/{24W0Bn2s.js → kjKGIJZ6.js} +1 -1
- package/web/app/immutable/chunks/{DfwITmIi.js → lKWYFdqV.js} +1 -1
- package/web/app/immutable/chunks/{B-fzbhlo.js → lLF0vfI3.js} +1 -1
- package/web/app/immutable/chunks/{CuaTp0m1.js → lflImyZ6.js} +2 -2
- package/web/app/immutable/chunks/{Bd9QEf8t.js → mf6N49ed.js} +1 -1
- package/web/app/immutable/chunks/{kYkRNrrI.js → oCNF8vh8.js} +1 -1
- package/web/app/immutable/chunks/{BWShw5FX.js → oPjZ8e3L.js} +1 -1
- package/web/app/immutable/chunks/{tLKcAW4W.js → oU2ii1bq.js} +1 -1
- package/web/app/immutable/chunks/{C1itrH63.js → pIvHob4a.js} +1 -1
- package/web/app/immutable/chunks/{ClyMCKaV.js → pl6-mRrC.js} +1 -1
- package/web/app/immutable/chunks/{CDTxQX_O.js → qb0bPcr5.js} +1 -1
- package/web/app/immutable/chunks/{C__5IrZC.js → rL78ODLZ.js} +3 -3
- package/web/app/immutable/chunks/{Bx-glu6w.js → syg_Gxp6.js} +1 -1
- package/web/app/immutable/chunks/v3KbAU5c.js +3 -0
- package/web/app/immutable/chunks/{DFBOrRiy.js → vICHfDZm.js} +1 -1
- package/web/app/immutable/chunks/{woMOP93x.js → wXtCM_sb.js} +1 -1
- package/web/app/immutable/entry/{app.DvoVvHKR.js → app.Cn1_ubOc.js} +3 -3
- package/web/app/immutable/entry/start.7mFy7hlx.js +1 -0
- package/web/app/immutable/nodes/{0.CUhABBgA.js → 0.wKUTDWdz.js} +1 -1
- package/web/app/immutable/nodes/{1.D60NQVeb.js → 1.DxJUaPzW.js} +1 -1
- package/web/app/immutable/nodes/{10.C1M6IFRf.js → 10.eeMW9oGM.js} +1 -1
- package/web/app/immutable/nodes/{11.CIL0R940.js → 11.DzMcYtgT.js} +1 -1
- package/web/app/immutable/nodes/{12.B3DoWG9l.js → 12.BS7aI1vv.js} +1 -1
- package/web/app/immutable/nodes/{13.DIkr4OJs.js → 13.Dj6DavrI.js} +3 -3
- package/web/app/immutable/nodes/{14.BnWbXEMM.js → 14.DMbmYykJ.js} +2 -2
- package/web/app/immutable/nodes/{15.CWOWBkmh.js → 15.BWo3i95L.js} +1 -1
- package/web/app/immutable/nodes/{16.DRycmOMe.js → 16.D7z1ouJw.js} +2 -2
- package/web/app/immutable/nodes/{2.BnNXzTi0.js → 2.BHOa4yl6.js} +4 -4
- package/web/app/immutable/nodes/{3.B1Qb3sEW.js → 3.DLeJMfu1.js} +1 -1
- package/web/app/immutable/nodes/{4.TFhi0XIx.js → 4.BEPpJpXB.js} +1 -1
- package/web/app/immutable/nodes/{5.BGgJOCw5.js → 5.Cb4CR-KH.js} +2 -2
- package/web/app/immutable/nodes/{6.CCZIKTds.js → 6.Bko4vkVy.js} +1 -1
- package/web/app/immutable/nodes/{7.CXxgyB8T.js → 7.z66lh95v.js} +1 -1
- package/web/app/immutable/nodes/{8.Dcka7hLW.js → 8.Cykwxl0x.js} +4 -4
- package/web/app/immutable/nodes/{9.DemnlG5Y.js → 9.Bm3FCmVg.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/BNADo1Q7.js +0 -1
- package/web/app/immutable/chunks/CKKsJ8BG.js +0 -1
- package/web/app/immutable/chunks/DEI12D8u.js +0 -1
- package/web/app/immutable/chunks/DS2ohrPS.js +0 -1
- package/web/app/immutable/chunks/DeiP0erP.js +0 -3
- package/web/app/immutable/chunks/DpPiqmjZ.js +0 -184
- package/web/app/immutable/chunks/DwhTx6cH.js +0 -1
- package/web/app/immutable/chunks/plw0uyc9.js +0 -6
- package/web/app/immutable/entry/start.CiTIdCqa.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as r,a as s,c as e,C as t}from"./
|
|
1
|
+
import{s as r,a as s,c as e,C as t}from"./BxUDfZfX.js";import{f as l}from"./Bmnp4Cni.js";var d={parser:e,get db(){return new t},renderer:s,styles:r,init:l(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute},"init")};export{d as diagram};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c6 as Ae,aK as ke,aP as ae,c9 as Fe,aL as Pe,c7 as ve,f as o,aO as zt,bC as bt,c3 as Lt,a6 as Ce,a0 as Le,ax as z,c2 as Ee,aX as De}from"./
|
|
1
|
+
import{c6 as Ae,aK as ke,aP as ae,c9 as Fe,aL as Pe,c7 as ve,f as o,aO as zt,bC as bt,c3 as Lt,a6 as Ce,a0 as Le,ax as z,c2 as Ee,aX as De}from"./Bmnp4Cni.js";import{l as ie}from"./wXtCM_sb.js";var Et=(function(){var t=o(function(Y,r,l,x){for(l=l||{},x=Y.length;x--;l[Y[x]]=r);return l},"o"),n=[1,3],f=[1,4],d=[1,5],c=[1,6],p=[1,7],y=[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],k=[2,36],u=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],g=[1,41],A=[1,45],ct=[1,14],xt=[1,23],ft=[1,18],gt=[1,19],ht=[1,20],_t=[1,21],dt=[1,22],i=[1,24],Vt=[1,25],It=[1,26],wt=[1,27],Bt=[1,28],Rt=[1,29],U=[1,32],Q=[1,33],F=[1,34],P=[1,39],v=[1,40],C=[1,42],L=[1,44],X=[1,63],H=[1,62],E=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Xt=[1,71],Ht=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],Kt=[1,77],w=[4,5,6,7,8,9,10,11,12,13,14,15,18],K=[1,91],Z=[1,92],J=[1,93],$=[1,100],tt=[1,94],et=[1,97],it=[1,95],at=[1,96],nt=[1,98],st=[1,99],At=[1,103],Zt=[10,55,56,57],N=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:o(function(){},"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(function(r,l,x,h,S,e,ut){var s=e.length-1;switch(S){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],h.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),h.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),h.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),h.setAccDescription(this.$);break;case 46:h.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:h.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:h.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:h.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:h.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:h.setXAxisLeftText(e[s-2]),h.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",h.setXAxisLeftText(e[s-1]);break;case 53:h.setXAxisLeftText(e[s]);break;case 54:h.setYAxisBottomText(e[s-2]),h.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",h.setYAxisBottomText(e[s-1]);break;case 56:h.setYAxisBottomText(e[s]);break;case 57:h.setQuadrant1Text(e[s]);break;case 58:h.setQuadrant2Text(e[s]);break;case 59:h.setQuadrant3Text(e[s]);break;case 60:h.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"),table:[{18:n,26:1,27:2,28:f,55:d,56:c,57:p},{1:[3]},{18:n,26:8,27:2,28:f,55:d,56:c,57:p},{18:n,26:9,27:2,28:f,55:d,56:c,57:p},t(y,[2,33],{29:10}),t(_,[2,61]),t(_,[2,62]),t(_,[2,63]),{1:[2,30]},{1:[2,31]},t(a,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ct,25:xt,35:ft,37:gt,39:ht,41:_t,42:dt,48:i,50:Vt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(y,[2,34]),{27:46,55:d,56:c,57:p},t(a,[2,37]),t(a,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ct,25:xt,35:ft,37:gt,39:ht,41:_t,42:dt,48:i,50:Vt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),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:T,10:q,12:m,13:b,14:g,15:A,43:52,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:53,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:54,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:55,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:56,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:57,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,44:[1,58],47:[1,59],58:61,59:60,63:F,64:P,65:v,66:C,67:L},t(E,[2,64]),t(E,[2,66]),t(E,[2,67]),t(E,[2,70]),t(E,[2,71]),t(E,[2,72]),t(E,[2,73]),t(E,[2,74]),t(E,[2,75]),t(E,[2,76]),t(E,[2,77]),t(E,[2,78]),t(E,[2,79]),t(E,[2,80]),t(E,[2,81]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:65,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:64},t(a,[2,53],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,78],63:F,64:P,65:v,66:C,67:L}),t(a,[2,56],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,79],63:F,64:P,65:v,66:C,67:L}),t(a,[2,57],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,58],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,59],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,60],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),{45:[1,80]},{44:[1,81]},t(E,[2,65]),t(E,[2,82]),t(E,[2,83]),t(E,[2,84]),{3:83,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,82]},t(w,[2,23]),t(w,[2,1]),t(w,[2,2]),t(w,[2,3]),t(w,[2,4]),t(w,[2,5]),t(w,[2,6]),t(w,[2,7]),t(w,[2,8]),t(w,[2,9]),t(w,[2,10]),t(w,[2,11]),t(w,[2,12]),t(a,[2,52],{58:31,43:84,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,55],{58:31,43:85,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),{46:[1,86]},{45:[1,87]},{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:89,23:88},t(w,[2,24]),t(a,[2,51],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,54],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,47],{22:89,16:90,23:101,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{46:[1,102]},t(a,[2,29],{10:At}),t(Zt,[2,27],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),t(N,[2,25]),t(N,[2,13]),t(N,[2,14]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,22]),t(a,[2,49],{10:At}),t(a,[2,48],{22:89,16:90,23:105,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:106},t(N,[2,26]),t(a,[2,50],{10:At}),t(Zt,[2,28],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var x=new Error(r);throw x.hash=l,x}},"parseError"),parse:o(function(r){var l=this,x=[0],h=[],S=[null],e=[],ut=this.table,s="",yt=0,Jt=0,me=2,$t=1,be=e.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(j.yy[Ft]=this.yy[Ft]);D.setInput(r,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Pt=D.yylloc;e.push(Pt);var Se=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(R){x.length=x.length-2*R,S.length=S.length-R,e.length=e.length-R}o(_e,"popStack");function te(){var R;return R=h.pop()||D.lex()||$t,typeof R!="number"&&(R instanceof Array&&(h=R,R=h.pop()),R=l.symbols_[R]||R),R}o(te,"lex");for(var B,G,W,vt,rt={},Tt,M,ee,qt;;){if(G=x[x.length-1],this.defaultActions[G]?W=this.defaultActions[G]:((B===null||typeof B>"u")&&(B=te()),W=ut[G]&&ut[G][B]),typeof W>"u"||!W.length||!W[0]){var Ct="";qt=[];for(Tt in ut[G])this.terminals_[Tt]&&Tt>me&&qt.push("'"+this.terminals_[Tt]+"'");D.showPosition?Ct="Parse error on line "+(yt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+qt.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ct="Parse error on line "+(yt+1)+": Unexpected "+(B==$t?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:Pt,expected:qt})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+B);switch(W[0]){case 1:x.push(B),S.push(D.yytext),e.push(D.yylloc),x.push(W[1]),B=null,Jt=D.yyleng,s=D.yytext,yt=D.yylineno,Pt=D.yylloc;break;case 2:if(M=this.productions_[W[1]][1],rt.$=S[S.length-M],rt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},Se&&(rt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),vt=this.performAction.apply(rt,[s,Jt,yt,j.yy,W[1],S,e].concat(be)),typeof vt<"u")return vt;M&&(x=x.slice(0,-1*M*2),S=S.slice(0,-1*M),e=e.slice(0,-1*M)),x.push(this.productions_[W[1]][0]),S.push(rt.$),e.push(rt._$),ee=ut[x[x.length-2]][x[x.length-1]],x.push(ee);break;case 3:return!0}}return!0},"parse")},qe=(function(){var Y={EOF:1,parseError:o(function(l,x){if(this.yy.parser)this.yy.parser.parseError(l,x);else throw new Error(l)},"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 h=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 S=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===h.length?this.yylloc.first_column:0)+h[h.length-x.length].length-x[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[S[0],S[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,4 +1,4 @@
|
|
|
1
|
-
import{g as Xe}from"./DwufXbAm.js";import{a as m,M as He,aG as Je,L as Ze,aF as et,K as tt,aI as st,O as it,N as Ce,ad as Ae,k as rt,_ as nt,R as at,ax as lt,aV as ct}from"./BeYVLVXM.js";import{s as ot}from"./6WATeGSz.js";import{g as S}from"./DikRK37J.js";var Ve=(function(){var e=m(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],n=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],p=[2,7],y=[1,26],b=[1,27],T=[1,28],C=[1,29],A=[1,33],V=[1,34],v=[1,35],x=[1,36],L=[1,37],O=[1,38],w=[1,24],D=[1,31],M=[1,32],F=[1,30],R=[1,39],g=[1,40],E=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],U=[1,61],Z=[89,90],ve=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Re=[27,29],xe=[1,70],Le=[1,71],Oe=[1,72],we=[1,73],De=[1,74],Me=[1,75],Fe=[1,76],te=[1,83],Y=[1,80],se=[1,84],ie=[1,85],re=[1,86],ne=[1,87],ae=[1,88],le=[1,89],ce=[1,90],oe=[1,91],he=[1,92],ge=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[63,64],$e=[1,101],Pe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Q=[1,110],H=[1,106],K=[1,107],W=[1,108],j=[1,109],G=[1,111],ue=[1,116],fe=[1,117],me=[1,114],de=[1,115],be={trace:m(S(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(S(function(i,a,o,s,d,t,pe){var l=t.length-1;switch(d){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(n,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},e(n,[2,4]),e(n,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:43,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:44,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:45,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:46,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:47,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:48,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:49,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:50,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(E,[2,17]),e(E,[2,18]),e(E,[2,19]),e(E,[2,20]),{30:60,33:62,75:U,89:R,90:g},{30:63,33:62,75:U,89:R,90:g},{30:64,33:62,75:U,89:R,90:g},e(Z,[2,29]),e(Z,[2,30]),e(Z,[2,31]),e(Z,[2,32]),e(Z,[2,33]),e(Z,[2,34]),e(ve,[2,81]),e(ve,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Re,[2,79]),e(Re,[2,80]),{27:[1,67],29:[1,68]},e(Re,[2,85]),e(Re,[2,86]),{62:69,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{62:77,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{30:78,33:62,75:U,89:R,90:g},{73:79,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,60]),e(ge,[2,62]),{73:93,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},{30:94,33:62,75:U,76:Y,89:R,90:g},{5:[1,95]},{30:96,33:62,75:U,89:R,90:g},{5:[1,97]},{30:98,33:62,75:U,89:R,90:g},{63:[1,99]},e(B,[2,50]),e(B,[2,51]),e(B,[2,52]),e(B,[2,53]),e(B,[2,54]),e(B,[2,55]),e(B,[2,56]),{64:[1,100]},e(E,[2,59],{76:Y}),e(E,[2,64],{76:$e}),{33:103,75:[1,102],89:R,90:g},e(Pe,[2,65],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(E,[2,57],{76:$e}),e(E,[2,58],{76:Y}),{5:Q,28:105,31:H,34:K,36:W,38:j,40:G},{27:[1,112],76:Y},{5:ue,40:fe,56:113,57:me,59:de},{27:[1,118],76:Y},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:te,78:121,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,61]),e(ge,[2,63]),e(N,[2,68]),e(E,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:Q,28:126,31:H,34:K,36:W,38:j,40:G},e(E,[2,28]),{5:[1,127]},e(E,[2,42]),{32:[1,128]},{32:[1,129]},{5:ue,40:fe,56:130,57:me,59:de},e(E,[2,47]),{5:[1,131]},e(E,[2,48]),e(E,[2,49]),e(Pe,[2,66],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(E,[2,27]),{5:Q,28:145,31:H,34:K,36:W,38:j,40:G},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(E,[2,46]),{5:ue,40:fe,56:152,57:me,59:de},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(E,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(E,[2,43]),{5:Q,28:159,31:H,34:K,36:W,38:j,40:G},{5:Q,28:160,31:H,34:K,36:W,38:j,40:G},{5:Q,28:161,31:H,34:K,36:W,38:j,40:G},{5:Q,28:162,31:H,34:K,36:W,38:j,40:G},{5:ue,40:fe,56:163,57:me,59:de},{5:ue,40:fe,56:164,57:me,59:de},e(E,[2,23]),e(E,[2,24]),e(E,[2,25]),e(E,[2,26]),e(E,[2,44]),e(E,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(S(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),"parseError"),parse:m(S(function(i){var a=this,o=[0],s=[],d=[null],t=[],pe=this.table,l="",ye=0,Ue=0,je=2,Ye=1,Ge=t.slice.call(arguments,1),_=Object.create(this.lexer),z={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(z.yy[Ie]=this.yy[Ie]);_.setInput(i,z.yy),z.yy.lexer=_,z.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var ke=_.yylloc;t.push(ke);var ze=_.options&&_.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(k){o.length=o.length-2*k,d.length=d.length-k,t.length=t.length-k}S(Be,"popStack"),m(Be,"popStack");function Te(){var k;return k=s.pop()||_.lex()||Ye,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=a.symbols_[k]||k),k}S(Te,"lex"),m(Te,"lex");for(var I,X,q,Ne,ee={},_e,$,Qe,Se;;){if(X=o[o.length-1],this.defaultActions[X]?q=this.defaultActions[X]:((I===null||typeof I>"u")&&(I=Te()),q=pe[X]&&pe[X][I]),typeof q>"u"||!q.length||!q[0]){var qe="";Se=[];for(_e in pe[X])this.terminals_[_e]&&_e>je&&Se.push("'"+this.terminals_[_e]+"'");_.showPosition?qe="Parse error on line "+(ye+1)+`:
|
|
1
|
+
import{g as Xe}from"./8n4ougjP.js";import{a as m,M as He,aG as Je,L as Ze,aF as et,K as tt,aI as st,O as it,N as Ce,ad as Ae,k as rt,_ as nt,R as at,ax as lt,aV as ct}from"./CRQOCmwo.js";import{s as ot}from"./D2hiI0dA.js";import{g as S}from"./Bmnp4Cni.js";var Ve=(function(){var e=m(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],n=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],p=[2,7],y=[1,26],b=[1,27],T=[1,28],C=[1,29],A=[1,33],V=[1,34],v=[1,35],x=[1,36],L=[1,37],O=[1,38],w=[1,24],D=[1,31],M=[1,32],F=[1,30],R=[1,39],g=[1,40],E=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],U=[1,61],Z=[89,90],ve=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Re=[27,29],xe=[1,70],Le=[1,71],Oe=[1,72],we=[1,73],De=[1,74],Me=[1,75],Fe=[1,76],te=[1,83],Y=[1,80],se=[1,84],ie=[1,85],re=[1,86],ne=[1,87],ae=[1,88],le=[1,89],ce=[1,90],oe=[1,91],he=[1,92],ge=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[63,64],$e=[1,101],Pe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Q=[1,110],H=[1,106],K=[1,107],W=[1,108],j=[1,109],G=[1,111],ue=[1,116],fe=[1,117],me=[1,114],de=[1,115],be={trace:m(S(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(S(function(i,a,o,s,d,t,pe){var l=t.length-1;switch(d){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(n,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},e(n,[2,4]),e(n,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:43,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:44,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:45,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:46,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:47,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:48,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:49,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:50,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(E,[2,17]),e(E,[2,18]),e(E,[2,19]),e(E,[2,20]),{30:60,33:62,75:U,89:R,90:g},{30:63,33:62,75:U,89:R,90:g},{30:64,33:62,75:U,89:R,90:g},e(Z,[2,29]),e(Z,[2,30]),e(Z,[2,31]),e(Z,[2,32]),e(Z,[2,33]),e(Z,[2,34]),e(ve,[2,81]),e(ve,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Re,[2,79]),e(Re,[2,80]),{27:[1,67],29:[1,68]},e(Re,[2,85]),e(Re,[2,86]),{62:69,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{62:77,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{30:78,33:62,75:U,89:R,90:g},{73:79,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,60]),e(ge,[2,62]),{73:93,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},{30:94,33:62,75:U,76:Y,89:R,90:g},{5:[1,95]},{30:96,33:62,75:U,89:R,90:g},{5:[1,97]},{30:98,33:62,75:U,89:R,90:g},{63:[1,99]},e(B,[2,50]),e(B,[2,51]),e(B,[2,52]),e(B,[2,53]),e(B,[2,54]),e(B,[2,55]),e(B,[2,56]),{64:[1,100]},e(E,[2,59],{76:Y}),e(E,[2,64],{76:$e}),{33:103,75:[1,102],89:R,90:g},e(Pe,[2,65],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(E,[2,57],{76:$e}),e(E,[2,58],{76:Y}),{5:Q,28:105,31:H,34:K,36:W,38:j,40:G},{27:[1,112],76:Y},{5:ue,40:fe,56:113,57:me,59:de},{27:[1,118],76:Y},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:te,78:121,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,61]),e(ge,[2,63]),e(N,[2,68]),e(E,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:Q,28:126,31:H,34:K,36:W,38:j,40:G},e(E,[2,28]),{5:[1,127]},e(E,[2,42]),{32:[1,128]},{32:[1,129]},{5:ue,40:fe,56:130,57:me,59:de},e(E,[2,47]),{5:[1,131]},e(E,[2,48]),e(E,[2,49]),e(Pe,[2,66],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(E,[2,27]),{5:Q,28:145,31:H,34:K,36:W,38:j,40:G},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(E,[2,46]),{5:ue,40:fe,56:152,57:me,59:de},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(E,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(E,[2,43]),{5:Q,28:159,31:H,34:K,36:W,38:j,40:G},{5:Q,28:160,31:H,34:K,36:W,38:j,40:G},{5:Q,28:161,31:H,34:K,36:W,38:j,40:G},{5:Q,28:162,31:H,34:K,36:W,38:j,40:G},{5:ue,40:fe,56:163,57:me,59:de},{5:ue,40:fe,56:164,57:me,59:de},e(E,[2,23]),e(E,[2,24]),e(E,[2,25]),e(E,[2,26]),e(E,[2,44]),e(E,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(S(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),"parseError"),parse:m(S(function(i){var a=this,o=[0],s=[],d=[null],t=[],pe=this.table,l="",ye=0,Ue=0,je=2,Ye=1,Ge=t.slice.call(arguments,1),_=Object.create(this.lexer),z={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(z.yy[Ie]=this.yy[Ie]);_.setInput(i,z.yy),z.yy.lexer=_,z.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var ke=_.yylloc;t.push(ke);var ze=_.options&&_.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(k){o.length=o.length-2*k,d.length=d.length-k,t.length=t.length-k}S(Be,"popStack"),m(Be,"popStack");function Te(){var k;return k=s.pop()||_.lex()||Ye,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=a.symbols_[k]||k),k}S(Te,"lex"),m(Te,"lex");for(var I,X,q,Ne,ee={},_e,$,Qe,Se;;){if(X=o[o.length-1],this.defaultActions[X]?q=this.defaultActions[X]:((I===null||typeof I>"u")&&(I=Te()),q=pe[X]&&pe[X][I]),typeof q>"u"||!q.length||!q[0]){var qe="";Se=[];for(_e in pe[X])this.terminals_[_e]&&_e>je&&Se.push("'"+this.terminals_[_e]+"'");_.showPosition?qe="Parse error on line "+(ye+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+Se.join(", ")+", got '"+(this.terminals_[I]||I)+"'":qe="Parse error on line "+(ye+1)+": Unexpected "+(I==Ye?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(qe,{text:_.match,token:this.terminals_[I]||I,line:_.yylineno,loc:ke,expected:Se})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+X+", token: "+I);switch(q[0]){case 1:o.push(I),d.push(_.yytext),t.push(_.yylloc),o.push(q[1]),I=null,Ue=_.yyleng,l=_.yytext,ye=_.yylineno,ke=_.yylloc;break;case 2:if($=this.productions_[q[1]][1],ee.$=d[d.length-$],ee._$={first_line:t[t.length-($||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-($||1)].first_column,last_column:t[t.length-1].last_column},ze&&(ee._$.range=[t[t.length-($||1)].range[0],t[t.length-1].range[1]]),Ne=this.performAction.apply(ee,[l,Ue,ye,z.yy,q[1],d,t].concat(Ge)),typeof Ne<"u")return Ne;$&&(o=o.slice(0,-1*$*2),d=d.slice(0,-1*$),t=t.slice(0,-1*$)),o.push(this.productions_[q[1]][0]),d.push(ee.$),t.push(ee._$),Qe=pe[o[o.length-2]][o[o.length-1]],o.push(Qe);break;case 3:return!0}}return!0},"parse"),"parse")},We=(function(){var P={EOF:1,parseError:m(S(function(a,o){if(this.yy.parser)this.yy.parser.parseError(a,o);else throw new Error(a)},"parseError"),"parseError"),setInput:m(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:m(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:m(function(i){var a=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:m(function(i){this.unput(this.match.slice(i))},"less"),pastInput:m(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as G,bq as n,a_ as I,by as P,b as S}from"./
|
|
1
|
+
import{t as G,bq as n,a_ as I,by as P,b as S}from"./D4MoKNoK.js";import{bs as T,a5 as j,bA as q,b_ as E,W as e,bn as N,aA as f,be as l,aC as o}from"./B8o4lNgr.js";import{s}from"./WVYGrHqE.js";import{u as d}from"./C8yAGnZY.js";var W=o('<path d="M2 5.5V3.5a1.5 1.5 0 0 1 1.5-1.5h2M10.5 2h2A1.5 1.5 0 0 1 14 3.5v2"></path><path d="M14 10.5v2a1.5 1.5 0 0 1-1.5 1.5h-2M5.5 14h-2A1.5 1.5 0 0 1 2 12.5v-2"></path><circle cx="8" cy="8" r="1.25" fill="currentColor" stroke="none"></circle>',1),F=o('<rect x="1.75" y="2.75" width="12.5" height="10.5" rx="1.75"></rect><path d="M1.75 6h12.5"></path>',1),J=o('<path d="M2 4.5V3a1 1 0 0 1 1-1h1.5M7 2h2M11.5 2H13a1 1 0 0 1 1 1v1.5M14 7v2M14 11.5V13a1 1 0 0 1-1 1h-1.5M9 14H7M4.5 14H3a1 1 0 0 1-1-1v-1.5M2 9V7"></path>'),K=o('<rect x="1.75" y="4" width="8.75" height="8" rx="1.75"></rect><path d="M10.5 7l3.75-2.25v6.5L10.5 9"></path>',1),O=o('<path d="M10.25 2.75l3 3L5.5 13.5 2.25 13.75 2.5 10.5z"></path><path d="M8.75 4.25l3 3"></path>',1),Q=o('<circle cx="8" cy="8" r="5.75"></circle><circle cx="8" cy="8" r="1.75" fill="currentColor" stroke="none"></circle>',1),U=o('<rect x="2.5" y="2.5" width="11" height="11" rx="2"></rect>'),X=o('<path d="M2 11.5c1.5-4 3.25-6.5 4.5-6.5 1.75 0 0 6 1.75 6S11.75 6 14 4.5"></path>'),Y=o('<path d="M3.5 12.5l8.5-8.5M6 3.75h6.25V10"></path>'),Z=o('<rect x="5.5" y="1.75" width="5" height="8" rx="2.5"></rect><path d="M3 7.5a5 5 0 0 0 10 0M8 12.5v2"></path>',1),$=o('<rect x="2" y="2" width="12" height="12" rx="2.5" fill="currentColor" stroke="none"></rect>'),rr=o('<path d="M4.5 3v10l8.5-5z" fill="currentColor"></path>'),ar=o('<path d="M4 4l8 8M12 4l-8 8"></path>'),tr=o('<path d="M3.5 2.5l9 4.25-3.9 1.35L7.25 12z"></path>'),er=o('<path d="M3 8.5l3.25 3.25L13 5"></path>'),or=o('<path d="M9.25 2.5l4.25 4.25-6.25 6.25H4.5L2.5 11z"></path><path d="M5.75 6l4.25 4.25M8 13h5.5"></path>',1),ir=o('<path d="M2.75 4.25h10.5M6.25 4.25V2.75h3.5v1.5M4 4.25l.6 8.1a1 1 0 0 0 1 .9h4.8a1 1 0 0 0 1-.9l.6-8.1M6.75 6.75v4M9.25 6.75v4"></path>'),pr=o('<path d="M13.25 7.5l-5.5 5.5a3.18 3.18 0 0 1-4.5-4.5l5.75-5.75a2.12 2.12 0 0 1 3 3L6.25 11.5a1.06 1.06 0 0 1-1.5-1.5L10 4.75"></path>'),cr=o('<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="butt" stroke-linejoin="round" aria-hidden="true" focusable="false"><!></svg>');function hr(i,p){if(new.target)return G({component:hr,...i});T(p,!0);let t=n(p,"glyph",7),c=n(p,"size",7,16);var v={get glyph(){return t()},set glyph(r){t(r),f()},get size(){return c()},set size(r=16){c(r),f()},$set:P,$on:(r,a)=>S(p,r,a)},h=cr(),g=j(h);{var u=r=>{var a=W();l(2),e(r,a)},_=r=>{var a=F();l(),e(r,a)},M=r=>{var a=J();e(r,a)},m=r=>{var a=K();l(),e(r,a)},x=r=>{var a=O();l(),e(r,a)},y=r=>{var a=Q();l(),e(r,a)},b=r=>{var a=U();e(r,a)},k=r=>{var a=X();e(r,a)},w=r=>{var a=Y();e(r,a)},C=r=>{var a=Z();l(),e(r,a)},z=r=>{var a=$();e(r,a)},D=r=>{var a=rr();e(r,a)},L=r=>{var a=ar();e(r,a)},A=r=>{var a=tr();e(r,a)},V=r=>{var a=er();e(r,a)},H=r=>{var a=or();l(),e(r,a)},R=r=>{var a=ir();e(r,a)},B=r=>{var a=pr();e(r,a)};I(g,r=>{t()==="viewfinder"?r(u):t()==="window"?r(_,1):t()==="region"?r(M,2):t()==="video"?r(m,3):t()==="pencil"?r(x,4):t()==="target"?r(y,5):t()==="box"?r(b,6):t()==="pen"?r(k,7):t()==="arrow"?r(w,8):t()==="mic"?r(C,9):t()==="stop"?r(z,10):t()==="play"?r(D,11):t()==="x"?r(L,12):t()==="cursor"?r(A,13):t()==="check"?r(V,14):t()==="eraser"?r(H,15):t()==="trash"?r(R,16):t()==="paperclip"&&r(B,17)})}return q(h),E(()=>{s(h,"width",c()),s(h,"height",c()),s(h,"data-dock-glyph",t())}),e(i,h),N(v)}function fr(i){const p=Math.max(0,Math.floor(i/1e3)),t=d(Math.floor(p/60),{useGrouping:!1}),c=d(p%60,{minimumIntegerDigits:2,useGrouping:!1});return`${t}:${c}`}function dr(i,p,t,c=!1){const v=i.alerts??{},h=c||!!i.captureDisabled;return{capture:{revision:i.captureRevision,label:p.capture,tooltip:v.capture??i.captureTooltip??(i.captureDisabled?p.captureLimit:p.capture),disabled:h,pending:!!i.capturePending,alert:!!v.capture},record:{label:i.recording?p.stopRecording:p.record,tooltip:v.record??i.recordingTooltip??(i.recording?p.stopRecording:p.record),disabled:c||!!i.recordingDisabled,pending:!!i.recordingPending,alert:!!v.record,recording:i.recording,startedAt:i.recording?t:null}}}export{hr as D,dr as d,fr as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as s}from"./
|
|
1
|
+
import{f as s}from"./Bmnp4Cni.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as O}from"./
|
|
1
|
+
import{d as O}from"./C8yAGnZY.js";function b(a,{from:t,to:r},p={}){var{delay:u=0,duration:n=i=>Math.sqrt(i)*120,easing:y=O}=p,s=getComputedStyle(a),d=s.transform==="none"?"":s.transform,[h,v]=s.transformOrigin.split(" ").map(parseFloat);h/=a.clientWidth,v/=a.clientHeight;var c=W(a),f=a.clientWidth/r.width/c,g=a.clientHeight/r.height/c,x=t.left+t.width*h,m=t.top+t.height*v,w=r.left+r.width*h,S=r.top+r.height*v,l=(x-w)*f,o=(m-S)*g,$=t.width/r.width,z=t.height/r.height;return{delay:u,duration:typeof n=="function"?n(Math.sqrt(l*l+o*o)):n,easing:y,css:(i,e)=>{var C=e*l,q=e*o,H=i+e*$,M=i+e*z;return`transform: ${d} translate(${C}px, ${q}px) scale(${H}, ${M});`}}}function W(a){if("currentCSSZoom"in a)return a.currentCSSZoom;for(var t=a,r=1;t!==null;)r*=+getComputedStyle(t).zoom,t=t.parentElement;return r}export{b as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var I=Object.defineProperty;var L=e=>{throw TypeError(e)};var J=(e,t,o)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var x=(e,t,o)=>J(e,typeof t!="symbol"?t+"":t,o),U=(e,t,o)=>t.has(e)||L("Cannot "+o);var R=(e,t,o)=>(U(e,t,"read from private field"),o?o.call(e):t.get(e)),P=(e,t,o)=>t.has(e)?L("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o);import{at as K,ca as Q,c9 as D,aD as M,bH as V,bo as X,bs as Y,a7 as j,ay as q,W as z,bn as Z,aA as g,a5 as $,bf as ee,bA as te,aB as re}from"./B8o4lNgr.js";import{j as E,s as oe}from"./
|
|
1
|
+
var I=Object.defineProperty;var L=e=>{throw TypeError(e)};var J=(e,t,o)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var x=(e,t,o)=>J(e,typeof t!="symbol"?t+"":t,o),U=(e,t,o)=>t.has(e)||L("Cannot "+o);var R=(e,t,o)=>(U(e,t,"read from private field"),o?o.call(e):t.get(e)),P=(e,t,o)=>t.has(e)?L("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o);import{at as K,ca as Q,c9 as D,aD as M,bH as V,bo as X,bs as Y,a7 as j,ay as q,W as z,bn as Z,aA as g,a5 as $,bf as ee,bA as te,aB as re}from"./B8o4lNgr.js";import{j as E,s as oe}from"./CS1d84Cn.js";import{o as se,j as F,c as ie}from"./WVYGrHqE.js";import{S as ne}from"./C8yAGnZY.js";import{t as ae,bq as m,a_ as ce,by as le,b as de,br as ue}from"./D4MoKNoK.js";import{s as N}from"./WZHg24tN.js";import{av as fe,aG as he,aR as pe,aS as k,aJ as S,bm as ve}from"./DgFojmqv.js";function A(e){return typeof e=="object"?{open:e.open??!0,tier:e.tier??"slow"}:{open:e??!0,tier:"slow"}}function ge(e){const t=e.querySelectorAll("[data-animated-height-target]"),o=t.item(t.length-1)||e.firstElementChild;if(!o)return e.scrollHeight;const c=getComputedStyle(o),s=Number.parseFloat(c.height);return Number.isFinite(s)?c.boxSizing==="border-box"?s:s+["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"].reduce((n,l)=>n+(Number.parseFloat(c[l])||0),0):o.offsetHeight}const Ae=(e,t=!0)=>{let{open:o}=A(t);const{tier:c}=A(t),s=new ne(0,c);let n=!o,l,a=!1,u,p,f;const w=e.style.overflow,C=e.style.height,b=()=>{e.style.overflow="clip",l=s.current,e.style.height=`${l}px`},H=K(()=>{Q(()=>{const d=s.current;!n||a||d===l||(f?.(),f=E(()=>{f=void 0,a||b()}))})}),h=()=>{if(a)return;u?.(),p?.();const d=y=>{p=E(()=>{p=void 0,!a&&(s.set(y,{instant:!n||F()}),n=!0,f?.(),b())})};o?u=oe(()=>{u=void 0,d(ge(e))}):d(0)},O=()=>{F()&&h()},r=typeof ResizeObserver>"u"?void 0:new ResizeObserver(()=>{o&&h()});let i=null;const v=()=>{const d=e.querySelectorAll("[data-animated-height-target]"),y=d.item(d.length-1)||e.firstElementChild||e;y!==i&&(i&&r?.unobserve(i),i=y,r?.observe(y))};v();const B=typeof MutationObserver>"u"?void 0:new MutationObserver(()=>{a||(v(),o&&h())});B?.observe(e,{childList:!0,subtree:!0});const G=se(O);return h(),{update(d=!0){o=A(d).open,h()},destroy(){a=!0,u?.(),p?.(),f?.(),s.set(s.current,{instant:!0}),r?.disconnect(),B?.disconnect(),G(),H(),e.style.height=C,e.style.overflow=w}}},me=pe({component:"separator",parts:["root"]});var _;const W=class W{constructor(t){x(this,"opts");x(this,"attachment");P(this,_,D(()=>({id:this.opts.id.current,role:this.opts.decorative.current?"none":"separator","aria-orientation":this.opts.orientation.current,"aria-hidden":he(this.opts.decorative.current),"data-orientation":this.opts.orientation.current,[me.root]:"",...this.attachment})));this.opts=t,this.attachment=fe(t.ref)}static create(t){return new W(t)}get props(){return M(R(this,_))}set props(t){V(R(this,_),t)}};_=new WeakMap;let T=W;var be=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","decorative","orientation"]),ye=re("<div><!></div>");function _e(e,t){const o=X();if(new.target)return ae({component:_e,...e});Y(t,!0);let c=m(t,"id",23,()=>k(o)),s=m(t,"ref",15,null),n=m(t,"child",7),l=m(t,"children",7),a=m(t,"decorative",7,!1),u=m(t,"orientation",7,"horizontal"),p=ue(t,be);const f=T.create({ref:S(()=>s(),r=>s(r)),id:S(()=>c()),decorative:S(()=>a()),orientation:S(()=>u())}),w=D(()=>ve(p,f.props));var C={get id(){return c()},set id(r=k(o)){c(r),g()},get ref(){return s()},set ref(r=null){s(r),g()},get child(){return n()},set child(r){n(r),g()},get children(){return l()},set children(r){l(r),g()},get decorative(){return a()},set decorative(r=!1){a(r),g()},get orientation(){return u()},set orientation(r="horizontal"){u(r),g()},$set:le,$on:(r,i)=>de(t,r,i)},b=j(),H=q(b);{var h=r=>{var i=j(),v=q(i);N(v,n,()=>({props:M(w)})),z(r,i)},O=r=>{var i=ye();ie(i,()=>({...M(w)}));var v=$(i);N(v,()=>l()??ee),te(i),z(r,i)};ce(H,r=>{n()?r(h):r(O,-1)})}return z(e,b),Z(C)}export{_e as S,Ae as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as R,s as W,S as N}from"./2UHo-lr0.js";import{l as P}from"./B4NuLgfc.js";import{a as f,N as t,ad as S,r as U,G as _,p as z,V as C,aV as F}from"./BeYVLVXM.js";import{c3 as H,bz as O,ae as J}from"./DikRK37J.js";import"./CtrmC64x.js";var X=f(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),D=f(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Y=f((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),c=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),I=f((e,i)=>{const d=f(function(o,B,y){const v=o.append("tspan").attr("x",2*t().state.padding).text(B);y||v.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),l=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",l+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(o){a||(d(p,o,s),s=!1),a=!1});const m=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+l+t().state.dividerMargin/2).attr("y2",t().state.padding+l+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),g=Math.max(x.width,n.width);return m.attr("x2",g+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",g+2*t().state.padding).attr("height",x.height+l+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),$=f((e,i,d)=>{const c=t().state.padding,n=2*t().state.padding,l=e.node().getBBox(),p=l.width,a=l.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let g=Math.max(x,p);g===p&&(g=g+n);let o;const B=e.node().getBBox();i.doc,o=a-c,x>p&&(o=(p-g)/2+c),Math.abs(a-B.x)<c&&x>p&&(o=a-(x-p)/2);const y=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",o).attr("y",y).attr("class",d?"alt-composit":"composit").attr("width",g).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",o+c),x<=p&&s.attr("x",a+(g-n)/2-x/2+c),e.insert("rect",":first-child").attr("x",o).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",g).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",o).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",g).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=f(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),q=f((e,i)=>{let d=t().state.forkWidth,c=t().state.forkHeight;if(i.parentId){let n=d;d=c,c=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),Z=f((e,i,d,c)=>{let n=0;const l=c.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const m of a){const x=m.trim();if(x.length>0){const g=l.append("tspan");if(g.text(x),s===0){const o=g.node().getBBox();s+=o.height}n+=s,g.attr("x",i+t().state.noteMargin),g.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:n}},"_drawLongText"),j=f((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),c=i.append("g"),{textWidth:n,textHeight:l}=Z(e,0,0,c);return d.attr("height",l+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),L=f(function(e,i){const d=i.id,c={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&X(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&q(n,i),i.type==="note"&&j(i.note.text,n),i.type==="divider"&&D(n),i.type==="default"&&i.descriptions.length===0&&Y(n,i),i.type==="default"&&i.descriptions.length>0&&I(n,i);const l=n.node().getBBox();return c.width=l.width+2*t().state.padding,c.height=l.height+2*t().state.padding,c},"drawState"),G=0,K=f(function(e,i,d){const c=f(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,l=O().x(function(s){return s.x}).y(function(s){return s.y}).curve(J),p=e.append("path").attr("d",l(n)).attr("id","edge"+G).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=C(!0)),p.attr("marker-end","url("+a+"#"+c(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:m,y:x}=F.calcLabelPosition(i.points),g=z.getRows(d.title);let o=0;const B=[];let y=0,v=0;for(let u=0;u<=g.length;u++){const h=s.append("text").attr("text-anchor","middle").text(g[u]).attr("x",m).attr("y",x+o),w=h.node().getBBox();y=Math.max(y,w.width),v=Math.min(v,w.x),S.info(w.x,m,x+o),o===0&&(o=h.node().getBBox().height,S.info("Title height",o,x)),B.push(h)}let k=o*g.length;if(g.length>1){const u=(g.length-1)*o*.5;B.forEach((h,w)=>h.attr("y",x+w*o-u)),k=o*g.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",m-y/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",y+t().state.padding).attr("height",k+t().state.padding),S.info(r)}G++},"drawEdge"),b,T={},Q=f(function(){},"setConf"),tt=f(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),et=f(function(e,i,d,c){b=t().state;const n=t().securityLevel;let l;n==="sandbox"&&(l=H("#i"+i));const p=n==="sandbox"?H(l.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?l.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);tt(s);const m=c.db.getRootDoc(),x=s.append("g").attr("id",i+"-root");A(m,x,void 0,!1,p,a,c);const g=b.padding,o=s.node().getBBox(),B=o.width+g*2,y=o.height+g*2,v=B*1.75;U(s,y,v,b.useMaxWidth),s.attr("viewBox",`${o.x-b.padding} ${o.y-b.padding} `+B+" "+y)},"draw"),at=f(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),A=f((e,i,d,c,n,l,p)=>{const a=new _({compound:!0,multigraph:!0});let s,m=!0;for(s=0;s<e.length;s++)if(e[s].stmt==="relation"){m=!1;break}d?a.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:m?1:b.edgeLengthFactor,nodeSep:m?1:50,isMultiGraph:!0}):a.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:m?1:b.edgeLengthFactor,nodeSep:m?1:50,ranker:"tight-tree",isMultiGraph:!0}),a.setDefaultEdgeLabel(function(){return{}});const x=p.db.getStates(),g=p.db.getRelations(),o=Object.keys(x);for(const r of o){const u=x[r];d&&(u.parentId=d);let h;if(u.doc){let w=i.append("g").attr("id",u.id).attr("class","stateGroup");h=A(u.doc,w,u.id,!c,n,l,p);{w=$(w,u,c);let E=w.node().getBBox();h.width=E.width,h.height=E.height+b.padding/2,T[u.id]={y:b.compositTitleSize}}}else h=L(i,u,a);if(u.note){const w={descriptions:[],id:u.id+"-note",note:u.note,type:"note"},E=L(i,w,a);u.note.position==="left of"?(a.setNode(h.id+"-note",E),a.setNode(h.id,h)):(a.setNode(h.id,h),a.setNode(h.id+"-note",E)),a.setParent(h.id,h.id+"-group"),a.setParent(h.id+"-note",h.id+"-group")}else a.setNode(h.id,h)}S.debug("Count=",a.nodeCount(),a);let B=0;g.forEach(function(r){B++,S.debug("Setting edge",r),a.setEdge(r.id1,r.id2,{relation:r,width:at(r.title),height:b.labelHeight*z.getRows(r.title).length,labelpos:"c"},"id"+B)}),P(a),S.debug("Graph after layout",a.nodes());const y=i.node();a.nodes().forEach(function(r){r!==void 0&&a.node(r)!==void 0?(S.warn("Node "+r+": "+JSON.stringify(a.node(r))),n.select("#"+y.id+" #"+r).attr("transform","translate("+(a.node(r).x-a.node(r).width/2)+","+(a.node(r).y+(T[r]?T[r].y:0)-a.node(r).height/2)+" )"),n.select("#"+y.id+" #"+r).attr("data-x-shift",a.node(r).x-a.node(r).width/2),l.querySelectorAll("#"+y.id+" #"+r+" .divider").forEach(h=>{const w=h.parentElement;let E=0,M=0;w&&(w.parentElement&&(E=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",E-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let v=y.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),K(i,a.edge(r),a.edge(r).relation))}),v=y.getBBox();const k={id:d||"root",label:d||"root",width:0,height:0};return k.width=v.width+2*b.padding,k.height=v.height+2*b.padding,S.debug("Doc rendered",k,a),k},"renderDoc"),it={setConf:Q,draw:et},ct={parser:W,get db(){return new N(1)},renderer:it,styles:R,init:f(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ct as diagram};
|
|
1
|
+
import{b as R,s as W,S as N}from"./BmeKmSN1.js";import{l as P}from"./5ZpW5rVB.js";import{a as f,N as t,ad as S,r as U,G as _,p as z,V as C,aV as F}from"./CRQOCmwo.js";import{c3 as H,bz as O,ae as J}from"./Bmnp4Cni.js";import"./DyQA18KQ.js";var X=f(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),D=f(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Y=f((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),c=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),I=f((e,i)=>{const d=f(function(o,B,y){const v=o.append("tspan").attr("x",2*t().state.padding).text(B);y||v.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),l=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",l+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(o){a||(d(p,o,s),s=!1),a=!1});const m=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+l+t().state.dividerMargin/2).attr("y2",t().state.padding+l+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),g=Math.max(x.width,n.width);return m.attr("x2",g+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",g+2*t().state.padding).attr("height",x.height+l+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),$=f((e,i,d)=>{const c=t().state.padding,n=2*t().state.padding,l=e.node().getBBox(),p=l.width,a=l.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let g=Math.max(x,p);g===p&&(g=g+n);let o;const B=e.node().getBBox();i.doc,o=a-c,x>p&&(o=(p-g)/2+c),Math.abs(a-B.x)<c&&x>p&&(o=a-(x-p)/2);const y=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",o).attr("y",y).attr("class",d?"alt-composit":"composit").attr("width",g).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",o+c),x<=p&&s.attr("x",a+(g-n)/2-x/2+c),e.insert("rect",":first-child").attr("x",o).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",g).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",o).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",g).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=f(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),q=f((e,i)=>{let d=t().state.forkWidth,c=t().state.forkHeight;if(i.parentId){let n=d;d=c,c=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),Z=f((e,i,d,c)=>{let n=0;const l=c.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let p=e.replace(/\r\n/g,"<br/>");p=p.replace(/\n/g,"<br/>");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const m of a){const x=m.trim();if(x.length>0){const g=l.append("tspan");if(g.text(x),s===0){const o=g.node().getBBox();s+=o.height}n+=s,g.attr("x",i+t().state.noteMargin),g.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:n}},"_drawLongText"),j=f((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),c=i.append("g"),{textWidth:n,textHeight:l}=Z(e,0,0,c);return d.attr("height",l+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),L=f(function(e,i){const d=i.id,c={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&X(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&q(n,i),i.type==="note"&&j(i.note.text,n),i.type==="divider"&&D(n),i.type==="default"&&i.descriptions.length===0&&Y(n,i),i.type==="default"&&i.descriptions.length>0&&I(n,i);const l=n.node().getBBox();return c.width=l.width+2*t().state.padding,c.height=l.height+2*t().state.padding,c},"drawState"),G=0,K=f(function(e,i,d){const c=f(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,l=O().x(function(s){return s.x}).y(function(s){return s.y}).curve(J),p=e.append("path").attr("d",l(n)).attr("id","edge"+G).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=C(!0)),p.attr("marker-end","url("+a+"#"+c(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:m,y:x}=F.calcLabelPosition(i.points),g=z.getRows(d.title);let o=0;const B=[];let y=0,v=0;for(let u=0;u<=g.length;u++){const h=s.append("text").attr("text-anchor","middle").text(g[u]).attr("x",m).attr("y",x+o),w=h.node().getBBox();y=Math.max(y,w.width),v=Math.min(v,w.x),S.info(w.x,m,x+o),o===0&&(o=h.node().getBBox().height,S.info("Title height",o,x)),B.push(h)}let k=o*g.length;if(g.length>1){const u=(g.length-1)*o*.5;B.forEach((h,w)=>h.attr("y",x+w*o-u)),k=o*g.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",m-y/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",y+t().state.padding).attr("height",k+t().state.padding),S.info(r)}G++},"drawEdge"),b,T={},Q=f(function(){},"setConf"),tt=f(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),et=f(function(e,i,d,c){b=t().state;const n=t().securityLevel;let l;n==="sandbox"&&(l=H("#i"+i));const p=n==="sandbox"?H(l.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?l.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);tt(s);const m=c.db.getRootDoc(),x=s.append("g").attr("id",i+"-root");A(m,x,void 0,!1,p,a,c);const g=b.padding,o=s.node().getBBox(),B=o.width+g*2,y=o.height+g*2,v=B*1.75;U(s,y,v,b.useMaxWidth),s.attr("viewBox",`${o.x-b.padding} ${o.y-b.padding} `+B+" "+y)},"draw"),at=f(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),A=f((e,i,d,c,n,l,p)=>{const a=new _({compound:!0,multigraph:!0});let s,m=!0;for(s=0;s<e.length;s++)if(e[s].stmt==="relation"){m=!1;break}d?a.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:m?1:b.edgeLengthFactor,nodeSep:m?1:50,isMultiGraph:!0}):a.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:m?1:b.edgeLengthFactor,nodeSep:m?1:50,ranker:"tight-tree",isMultiGraph:!0}),a.setDefaultEdgeLabel(function(){return{}});const x=p.db.getStates(),g=p.db.getRelations(),o=Object.keys(x);for(const r of o){const u=x[r];d&&(u.parentId=d);let h;if(u.doc){let w=i.append("g").attr("id",u.id).attr("class","stateGroup");h=A(u.doc,w,u.id,!c,n,l,p);{w=$(w,u,c);let E=w.node().getBBox();h.width=E.width,h.height=E.height+b.padding/2,T[u.id]={y:b.compositTitleSize}}}else h=L(i,u,a);if(u.note){const w={descriptions:[],id:u.id+"-note",note:u.note,type:"note"},E=L(i,w,a);u.note.position==="left of"?(a.setNode(h.id+"-note",E),a.setNode(h.id,h)):(a.setNode(h.id,h),a.setNode(h.id+"-note",E)),a.setParent(h.id,h.id+"-group"),a.setParent(h.id+"-note",h.id+"-group")}else a.setNode(h.id,h)}S.debug("Count=",a.nodeCount(),a);let B=0;g.forEach(function(r){B++,S.debug("Setting edge",r),a.setEdge(r.id1,r.id2,{relation:r,width:at(r.title),height:b.labelHeight*z.getRows(r.title).length,labelpos:"c"},"id"+B)}),P(a),S.debug("Graph after layout",a.nodes());const y=i.node();a.nodes().forEach(function(r){r!==void 0&&a.node(r)!==void 0?(S.warn("Node "+r+": "+JSON.stringify(a.node(r))),n.select("#"+y.id+" #"+r).attr("transform","translate("+(a.node(r).x-a.node(r).width/2)+","+(a.node(r).y+(T[r]?T[r].y:0)-a.node(r).height/2)+" )"),n.select("#"+y.id+" #"+r).attr("data-x-shift",a.node(r).x-a.node(r).width/2),l.querySelectorAll("#"+y.id+" #"+r+" .divider").forEach(h=>{const w=h.parentElement;let E=0,M=0;w&&(w.parentElement&&(E=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",E-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let v=y.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),K(i,a.edge(r),a.edge(r).relation))}),v=y.getBBox();const k={id:d||"root",label:d||"root",width:0,height:0};return k.width=v.width+2*b.padding,k.height=v.height+2*b.padding,S.debug("Doc rendered",k,a),k},"renderDoc"),it={setConf:Q,draw:et},ct={parser:W,get db(){return new N(1)},renderer:it,styles:R,init:f(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ct as diagram};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{bo as x}from"./DEI12D8u.js";function m(e){const n=e.replace(/^#/,"");let r,o,a;if(n.length===3||n.length===4)r=parseInt(n[0]+n[0],16)/255,o=parseInt(n[1]+n[1],16)/255,a=parseInt(n[2]+n[2],16)/255;else if(n.length===6||n.length===8)r=parseInt(n.slice(0,2),16)/255,o=parseInt(n.slice(2,4),16)/255,a=parseInt(n.slice(4,6),16)/255;else return"0 0% 0%";const t=Math.max(r,o,a),s=Math.min(r,o,a),c=(t+s)/2;let u=0,g=0;if(t!==s){const p=t-s;switch(g=c>.5?p/(2-t-s):p/(t+s),t){case r:u=((o-a)/p+(o<a?6:0))/6;break;case o:u=((a-r)/p+2)/6;break;case a:u=((r-o)/p+4)/6;break}}const f=Math.round(u*360),d=Math.round(g*100),l=Math.round(c*100);return`${f} ${d}% ${l}%`}function N(e){const n=e.replace(/^#/,"");let r,o,a;if(n.length>=6)r=parseInt(n.slice(0,2),16),o=parseInt(n.slice(2,4),16),a=parseInt(n.slice(4,6),16);else if(n.length>=3)r=parseInt(n[0]+n[0],16),o=parseInt(n[1]+n[1],16),a=parseInt(n[2]+n[2],16);else return!0;return(.299*r+.587*o+.114*a)/255<.5}const X=[["editor.background","--background"],["editor.foreground","--foreground"],["sideBar.background","--sidebar"],["sideBar.foreground","--sidebar-foreground"],["sideBar.border","--sidebar-border"],["editorWidget.background","--card"],["editorWidget.foreground","--card-foreground"],["dropdown.background","--popover"],["dropdown.foreground","--popover-foreground"],["focusBorder","--ring"],["input.background","--input"],["panel.border","--border"],["editorGroup.border","--border"],["button.background","--primary"],["button.foreground","--primary-foreground"],["list.activeSelectionBackground","--secondary"],["list.activeSelectionForeground","--secondary-foreground"],["errorForeground","--danger"],["inputValidation.errorBackground","--danger-background"]];function B(e){const n=e.replace(/^#/,"");return n.length>=6?[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16)]:n.length>=3?[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)]:[0,0,0]}function M(e,n,r){const o=a=>Math.max(0,Math.min(255,Math.round(a)));return`#${o(e).toString(16).padStart(2,"0")}${o(n).toString(16).padStart(2,"0")}${o(r).toString(16).padStart(2,"0")}`}function G(e,n,r){const[o,a,t]=[e,n,r].map(s=>{const c=s/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)});return .2126*o+.7152*a+.0722*t}function k(e,n){const r=G(...e),o=G(...n),a=Math.max(r,o),t=Math.min(r,o);return(a+.05)/(t+.05)}function F(e){const n=e.match(/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/);if(!n)return[0,0,0];const r=Number(n[1]),o=Number(n[2])/100,a=Number(n[3])/100,t=(1-Math.abs(2*a-1))*o,s=t*(1-Math.abs(r/60%2-1)),c=a-t/2;return(r<60?[t,s,0]:r<120?[s,t,0]:r<180?[0,t,s]:r<240?[0,s,t]:r<300?[s,0,t]:[t,0,s]).map(g=>Math.round((g+c)*255))}function V(e,n,r){const o=F(e),t=F(n).map((s,c)=>s*(1-r)+o[c]*r);return m(M(...t))}function H(e,n){const r=F(e),o=F(n);if(k(r,o)>=4.55)return e;const a=[0,0,0],t=[255,255,255],s=k(a,o)>k(t,o)?a:t;for(let c=1;c<=20;c++){const u=c/20,g=r.map((f,d)=>f*(1-u)+s[d]*u);if(k(g,o)>=4.55)return m(M(...g))}return m(M(...s))}function _(e,n){const r=F(e),o=n.map(F),a=f=>Math.min(...o.map(d=>k(f,d))),t=4.55;if(a(r)>=t)return e;const s=e.match(/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/);if(!s)return e;const c=Number(s[1]);let u,g={value:e,ratio:a(r),distance:0};for(let f=0;f<=100;f++)for(let d=0;d<=100;d++){const l=`${c} ${f}% ${d}%`,p=F(l),b=a(p),i=p.reduce((R,I,A)=>R+(I-r[A])**2,0);b>=t?(!u||i<u.distance)&&(u={value:l,distance:i}):(b>g.ratio||b===g.ratio&&i<g.distance)&&(g={value:l,ratio:b,distance:i})}return u?.value??g.value}function K({fgHex:e,bgHexes:n,descriptionHex:r}){const o=B(e),a=n.map(B);let t;if(r)t=B(r);else{const[f,d,l]=a[0];t=[o[0]*.6+f*.4,o[1]*.6+d*.4,o[2]*.6+l*.4]}const s=4.5,c=20,u=f=>a.every(d=>k(f,d)>=s),g=[...t];for(let f=0;f<c&&!u(t);f++){const d=(f+1)/c;t=[g[0]*(1-d)+o[0]*d,g[1]*(1-d)+o[1]*d,g[2]*(1-d)+o[2]*d]}return m(M(...t))}function Y(e,n,r){const o=B(e),a=B(n),t=G(...o),s=G(...a),c=1.12;if((Math.max(t,s)+.05)/(Math.min(t,s)+.05)>=c)return m(e);const f=t>s||t===s&&!r?[255,255,255]:[0,0,0],d=20;let l=[...o];for(let p=1;p<=d;p++){const b=p/d;l=[o[0]*(1-b)+f[0]*b,o[1]*(1-b)+f[1]*b,o[2]*(1-b)+f[2]*b];const i=G(...l);if((Math.max(i,s)+.05)/(Math.min(i,s)+.05)>=c)break}return m(M(...l))}function O(e){const n=B(e),r=N(e)?[255,255,255]:[0,0,0],o=1.2,a=20;let t=[...n];for(let s=1;s<=a;s++){const c=s/a;if(t=[n[0]*(1-c)+r[0]*c,n[1]*(1-c)+r[1]*c,n[2]*(1-c)+r[2]*c],k(t,n)>=o)break}return m(M(...t))}function $(e,n,r){const o=B(e),a=n.map(B),t=3.1,s=d=>Math.min(...a.map(l=>k(d,l)));if(s(o)>=t)return m(e);const u=r?[255,255,255]:[0,0,0],g=20;let f=[...o];for(let d=1;d<=g;d++){const l=d/g;if(f=[o[0]*(1-l)+u[0]*l,o[1]*(1-l)+u[1]*l,o[2]*(1-l)+u[2]*l],s(f)>=t)break}return m(M(...f))}function j(e){const n=e["editor.background"];if(!n)return null;const r=e.focusBorder??e["button.background"]??e["badge.background"];if(!r)return null;const o=B(n),a=B(r),t=N(n),s=t?.12:.08,c=[o[0]*(1-s)+a[0]*s,o[1]*(1-s)+a[1]*s,o[2]*(1-s)+a[2]*s],u=B(e["editor.foreground"]??(t?"#ffffff":"#000000"));let g=[...a];const f=4.5,d=20,l=b=>k(b,o)>=f&&k(b,c)>=3,p=[...g];for(let b=0;b<d&&!l(g);b++){const i=(b+1)/d;g=[p[0]*(1-i)+u[0]*i,p[1]*(1-i)+u[1]*i,p[2]*(1-i)+u[2]*i]}return{accent:m(M(...c)),accentForeground:m(M(...g))}}function q(e,n){const r={};for(const[i,R]of X){if(r[R])continue;const I=e[i];I&&(r[R]=m(I))}const o=j(e);o&&(r["--accent"]=o.accent,r["--accent-foreground"]=o.accentForeground);const a=e["editor.foreground"],t=e["editor.background"];if(a&&t){const i=[t];e["sideBar.background"]&&i.push(e["sideBar.background"]),e["editorWidget.background"]&&i.push(e["editorWidget.background"]),r["--muted-foreground"]=K({fgHex:a,bgHexes:i,descriptionHex:e.descriptionForeground});const R=e["tab.inactiveBackground"]??e["sideBar.background"]??t,I=N(t);r["--muted"]=Y(R,t,I);const A=[t,e["editorWidget.background"],e["dropdown.background"],e["sideBar.background"]].filter(S=>!!S),P=e["panel.border"]??e["editorGroup.border"],D=e["input.border"]??e["input.background"]??P??t;r["--input"]=$(D,A,I);const W=e.focusBorder??e["button.background"]??P??t;r["--ring"]=$(W,A,I);const y=B(a),w=B(t);{const S=[y[0]*.6+w[0]*.4,y[1]*.6+w[1]*.4,y[2]*.6+w[2]*.4];let C=[...S];const L=4.5,T=20;for(let v=0;v<T&&!(k(C,w)>=L);v++){const h=(v+1)/T;C=[S[0]*(1-h)+y[0]*h,S[1]*(1-h)+y[1]*h,S[2]*(1-h)+y[2]*h]}r["--text-subtle"]=m(M(...C))}{const S=[w[0]*.65+y[0]*.35,w[1]*.65+y[1]*.35,w[2]*.65+y[2]*.35];let C=[...S];const L=2,T=15;for(let v=0;v<T&&!(k(C,w)>=L);v++){const h=(v+1)/T;C=[S[0]*(1-h)+y[0]*h,S[1]*(1-h)+y[1]*h,S[2]*(1-h)+y[2]*h]}r["--text-ghost"]=m(M(...C))}}else e.descriptionForeground&&(r["--muted-foreground"]=m(e.descriptionForeground));t&&(r["--border"]??=O(t),r["--sidebar-border"]??=O(e["sideBar.background"]??t));const s=n?{background:"#1f1f24",foreground:"#f7f7f7",primary:"#009966",primaryForeground:"#171717",secondary:"#1c1c1c",secondaryForeground:"#f7f7f7",muted:"#121217",mutedForeground:"#b8b5c2",accent:"#182c25",accentForeground:"#7de3bd",danger:"#f38b8b",dangerBackground:"#361010",border:"#4d4a52",input:"#121217",ring:"#6eddb4",info:"#72d2fa",infoForeground:"#171717",success:"#22c55e",successForeground:"#171717",warning:"#facc15",warningForeground:"#171717",sidebar:"#0d0d10",sidebarForeground:"#f7f7f7",sidebarAccent:"#242424",sidebarBorder:"#4d4a52"}:{background:"#ffffff",foreground:"#171717",primary:"#007a4d",primaryForeground:"#ffffff",secondary:"#f5f5f5",secondaryForeground:"#171717",muted:"#e8e8e8",mutedForeground:"#474747",accent:"#e7f3ee",accentForeground:"#00663f",danger:"#930b0b",dangerBackground:"#fde7e7",border:"#d9d9d9",input:"#e6e6e6",ring:"#006ac2",info:"#006ac2",infoForeground:"#ffffff",success:"#117a37",successForeground:"#ffffff",warning:"#dc9400",warningForeground:"#171717",sidebar:"#f7f7f8",sidebarForeground:"#171717",sidebarAccent:"#e8e8e8",sidebarBorder:"#d9d9d9"},c=i=>m(s[i]);r["--background"]??=c("background"),r["--foreground"]??=c("foreground"),r["--card"]??=r["--background"],r["--card-foreground"]??=r["--foreground"],r["--popover"]??=r["--card"],r["--popover-foreground"]??=r["--card-foreground"],r["--primary"]??=c("primary"),r["--primary-foreground"]??=c("primaryForeground"),r["--secondary"]??=c("secondary"),r["--secondary-foreground"]??=c("secondaryForeground"),r["--muted"]??=c("muted"),r["--muted-foreground"]??=c("mutedForeground"),r["--accent"]??=c("accent"),r["--accent-foreground"]??=c("accentForeground"),r["--danger"]??=c("danger"),r["--danger-background"]??=c("dangerBackground"),r["--border"]??=c("border"),r["--input"]??=c("input"),r["--ring"]??=c("ring"),r["--info"]=m(e["editorInfo.foreground"]??s.info),r["--info-foreground"]=c("infoForeground"),r["--success"]=m(e["testing.iconPassed"]??e["gitDecoration.addedResourceForeground"]??s.success),r["--success-foreground"]=c("successForeground"),r["--warning"]=m(e["editorWarning.foreground"]??s.warning),r["--warning-foreground"]=c("warningForeground"),r["--sidebar"]??=c("sidebar"),r["--sidebar-foreground"]??=c("sidebarForeground"),r["--sidebar-accent"]=r["--secondary"]??c("sidebarAccent"),r["--sidebar-accent-foreground"]=r["--sidebar-foreground"],r["--sidebar-border"]??=c("sidebarBorder");const u=[["--foreground","--background"],["--card-foreground","--card"],["--popover-foreground","--popover"],["--primary-foreground","--primary"],["--secondary-foreground","--secondary"],["--accent-foreground","--accent"],["--muted-foreground","--muted"],["--info-foreground","--info"],["--success-foreground","--success"],["--warning-foreground","--warning"],["--sidebar-foreground","--sidebar"],["--sidebar-accent-foreground","--sidebar-accent"]];for(const[i,R]of u)r[i]=H(r[i],r[R]);const g=["--danger-background","--background","--card","--popover","--muted","--sidebar"],f=r["--danger"];r["--danger"]=_(f,g.map(i=>r[i]));const d=F(r["--danger"]);g.every(i=>k(d,F(r[i]))>=4.55)||(r["--danger-background"]=r["--background"],r["--danger"]=_(f,g.map(i=>r[i]))),r["--primary-ink"]=_(r["--primary"],[r["--background"],r["--card"]]);const p=r["--warning"],b=[r["--background"],r["--card"]];return r["--warning-ink"]=_(p,[...b,...b.map(i=>V(p,i,.1))]),r}const z=[["terminal.background","background"],["terminal.foreground","foreground"],["terminal.selectionBackground","selectionBackground"],["terminal.selectionForeground","selectionForeground"],["terminalCursor.foreground","cursor"],["terminalCursor.background","cursorAccent"],["terminal.ansiBlack","black"],["terminal.ansiRed","red"],["terminal.ansiGreen","green"],["terminal.ansiYellow","yellow"],["terminal.ansiBlue","blue"],["terminal.ansiMagenta","magenta"],["terminal.ansiCyan","cyan"],["terminal.ansiWhite","white"],["terminal.ansiBrightBlack","brightBlack"],["terminal.ansiBrightRed","brightRed"],["terminal.ansiBrightGreen","brightGreen"],["terminal.ansiBrightYellow","brightYellow"],["terminal.ansiBrightBlue","brightBlue"],["terminal.ansiBrightMagenta","brightMagenta"],["terminal.ansiBrightCyan","brightCyan"],["terminal.ansiBrightWhite","brightWhite"]];function Q(e){const n={};for(const[r,o]of z){const a=e[r];a&&(n[o]=a)}return n}function E(e){return e.replace(/^#/,"")}function U(e,n){const r=n?"vs-dark":"vs",o=[];if(e.tokenColors)for(const t of e.tokenColors){const s=Array.isArray(t.scope)?t.scope:t.scope?[t.scope]:[""];for(const c of s){const u={token:c};t.settings.foreground&&(u.foreground=E(t.settings.foreground)),t.settings.background&&(u.background=E(t.settings.background)),t.settings.fontStyle&&(u.fontStyle=t.settings.fontStyle),o.push(u)}}const a={};if(e.colors)for(const[t,s]of Object.entries(e.colors))a[t]=s;return{base:r,inherit:!0,rules:o,colors:a}}function J(e){let n="",r=0,o=!1;for(;r<e.length;){const a=e[r];if(o){if(a==="\\"){n+=a+(e[r+1]??""),r+=2;continue}a==='"'&&(o=!1),n+=a,r++;continue}if(a==='"'){o=!0,n+=a,r++;continue}if(a==="/"&&e[r+1]==="/"){for(r+=2;r<e.length&&e[r]!==`
|
|
1
|
+
import{bo as x}from"./D4MoKNoK.js";function m(e){const n=e.replace(/^#/,"");let r,o,a;if(n.length===3||n.length===4)r=parseInt(n[0]+n[0],16)/255,o=parseInt(n[1]+n[1],16)/255,a=parseInt(n[2]+n[2],16)/255;else if(n.length===6||n.length===8)r=parseInt(n.slice(0,2),16)/255,o=parseInt(n.slice(2,4),16)/255,a=parseInt(n.slice(4,6),16)/255;else return"0 0% 0%";const t=Math.max(r,o,a),s=Math.min(r,o,a),c=(t+s)/2;let u=0,g=0;if(t!==s){const p=t-s;switch(g=c>.5?p/(2-t-s):p/(t+s),t){case r:u=((o-a)/p+(o<a?6:0))/6;break;case o:u=((a-r)/p+2)/6;break;case a:u=((r-o)/p+4)/6;break}}const f=Math.round(u*360),d=Math.round(g*100),l=Math.round(c*100);return`${f} ${d}% ${l}%`}function N(e){const n=e.replace(/^#/,"");let r,o,a;if(n.length>=6)r=parseInt(n.slice(0,2),16),o=parseInt(n.slice(2,4),16),a=parseInt(n.slice(4,6),16);else if(n.length>=3)r=parseInt(n[0]+n[0],16),o=parseInt(n[1]+n[1],16),a=parseInt(n[2]+n[2],16);else return!0;return(.299*r+.587*o+.114*a)/255<.5}const X=[["editor.background","--background"],["editor.foreground","--foreground"],["sideBar.background","--sidebar"],["sideBar.foreground","--sidebar-foreground"],["sideBar.border","--sidebar-border"],["editorWidget.background","--card"],["editorWidget.foreground","--card-foreground"],["dropdown.background","--popover"],["dropdown.foreground","--popover-foreground"],["focusBorder","--ring"],["input.background","--input"],["panel.border","--border"],["editorGroup.border","--border"],["button.background","--primary"],["button.foreground","--primary-foreground"],["list.activeSelectionBackground","--secondary"],["list.activeSelectionForeground","--secondary-foreground"],["errorForeground","--danger"],["inputValidation.errorBackground","--danger-background"]];function B(e){const n=e.replace(/^#/,"");return n.length>=6?[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16)]:n.length>=3?[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)]:[0,0,0]}function M(e,n,r){const o=a=>Math.max(0,Math.min(255,Math.round(a)));return`#${o(e).toString(16).padStart(2,"0")}${o(n).toString(16).padStart(2,"0")}${o(r).toString(16).padStart(2,"0")}`}function G(e,n,r){const[o,a,t]=[e,n,r].map(s=>{const c=s/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)});return .2126*o+.7152*a+.0722*t}function k(e,n){const r=G(...e),o=G(...n),a=Math.max(r,o),t=Math.min(r,o);return(a+.05)/(t+.05)}function F(e){const n=e.match(/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/);if(!n)return[0,0,0];const r=Number(n[1]),o=Number(n[2])/100,a=Number(n[3])/100,t=(1-Math.abs(2*a-1))*o,s=t*(1-Math.abs(r/60%2-1)),c=a-t/2;return(r<60?[t,s,0]:r<120?[s,t,0]:r<180?[0,t,s]:r<240?[0,s,t]:r<300?[s,0,t]:[t,0,s]).map(g=>Math.round((g+c)*255))}function V(e,n,r){const o=F(e),t=F(n).map((s,c)=>s*(1-r)+o[c]*r);return m(M(...t))}function H(e,n){const r=F(e),o=F(n);if(k(r,o)>=4.55)return e;const a=[0,0,0],t=[255,255,255],s=k(a,o)>k(t,o)?a:t;for(let c=1;c<=20;c++){const u=c/20,g=r.map((f,d)=>f*(1-u)+s[d]*u);if(k(g,o)>=4.55)return m(M(...g))}return m(M(...s))}function _(e,n){const r=F(e),o=n.map(F),a=f=>Math.min(...o.map(d=>k(f,d))),t=4.55;if(a(r)>=t)return e;const s=e.match(/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/);if(!s)return e;const c=Number(s[1]);let u,g={value:e,ratio:a(r),distance:0};for(let f=0;f<=100;f++)for(let d=0;d<=100;d++){const l=`${c} ${f}% ${d}%`,p=F(l),b=a(p),i=p.reduce((R,I,A)=>R+(I-r[A])**2,0);b>=t?(!u||i<u.distance)&&(u={value:l,distance:i}):(b>g.ratio||b===g.ratio&&i<g.distance)&&(g={value:l,ratio:b,distance:i})}return u?.value??g.value}function K({fgHex:e,bgHexes:n,descriptionHex:r}){const o=B(e),a=n.map(B);let t;if(r)t=B(r);else{const[f,d,l]=a[0];t=[o[0]*.6+f*.4,o[1]*.6+d*.4,o[2]*.6+l*.4]}const s=4.5,c=20,u=f=>a.every(d=>k(f,d)>=s),g=[...t];for(let f=0;f<c&&!u(t);f++){const d=(f+1)/c;t=[g[0]*(1-d)+o[0]*d,g[1]*(1-d)+o[1]*d,g[2]*(1-d)+o[2]*d]}return m(M(...t))}function Y(e,n,r){const o=B(e),a=B(n),t=G(...o),s=G(...a),c=1.12;if((Math.max(t,s)+.05)/(Math.min(t,s)+.05)>=c)return m(e);const f=t>s||t===s&&!r?[255,255,255]:[0,0,0],d=20;let l=[...o];for(let p=1;p<=d;p++){const b=p/d;l=[o[0]*(1-b)+f[0]*b,o[1]*(1-b)+f[1]*b,o[2]*(1-b)+f[2]*b];const i=G(...l);if((Math.max(i,s)+.05)/(Math.min(i,s)+.05)>=c)break}return m(M(...l))}function O(e){const n=B(e),r=N(e)?[255,255,255]:[0,0,0],o=1.2,a=20;let t=[...n];for(let s=1;s<=a;s++){const c=s/a;if(t=[n[0]*(1-c)+r[0]*c,n[1]*(1-c)+r[1]*c,n[2]*(1-c)+r[2]*c],k(t,n)>=o)break}return m(M(...t))}function $(e,n,r){const o=B(e),a=n.map(B),t=3.1,s=d=>Math.min(...a.map(l=>k(d,l)));if(s(o)>=t)return m(e);const u=r?[255,255,255]:[0,0,0],g=20;let f=[...o];for(let d=1;d<=g;d++){const l=d/g;if(f=[o[0]*(1-l)+u[0]*l,o[1]*(1-l)+u[1]*l,o[2]*(1-l)+u[2]*l],s(f)>=t)break}return m(M(...f))}function j(e){const n=e["editor.background"];if(!n)return null;const r=e.focusBorder??e["button.background"]??e["badge.background"];if(!r)return null;const o=B(n),a=B(r),t=N(n),s=t?.12:.08,c=[o[0]*(1-s)+a[0]*s,o[1]*(1-s)+a[1]*s,o[2]*(1-s)+a[2]*s],u=B(e["editor.foreground"]??(t?"#ffffff":"#000000"));let g=[...a];const f=4.5,d=20,l=b=>k(b,o)>=f&&k(b,c)>=3,p=[...g];for(let b=0;b<d&&!l(g);b++){const i=(b+1)/d;g=[p[0]*(1-i)+u[0]*i,p[1]*(1-i)+u[1]*i,p[2]*(1-i)+u[2]*i]}return{accent:m(M(...c)),accentForeground:m(M(...g))}}function q(e,n){const r={};for(const[i,R]of X){if(r[R])continue;const I=e[i];I&&(r[R]=m(I))}const o=j(e);o&&(r["--accent"]=o.accent,r["--accent-foreground"]=o.accentForeground);const a=e["editor.foreground"],t=e["editor.background"];if(a&&t){const i=[t];e["sideBar.background"]&&i.push(e["sideBar.background"]),e["editorWidget.background"]&&i.push(e["editorWidget.background"]),r["--muted-foreground"]=K({fgHex:a,bgHexes:i,descriptionHex:e.descriptionForeground});const R=e["tab.inactiveBackground"]??e["sideBar.background"]??t,I=N(t);r["--muted"]=Y(R,t,I);const A=[t,e["editorWidget.background"],e["dropdown.background"],e["sideBar.background"]].filter(S=>!!S),P=e["panel.border"]??e["editorGroup.border"],D=e["input.border"]??e["input.background"]??P??t;r["--input"]=$(D,A,I);const W=e.focusBorder??e["button.background"]??P??t;r["--ring"]=$(W,A,I);const y=B(a),w=B(t);{const S=[y[0]*.6+w[0]*.4,y[1]*.6+w[1]*.4,y[2]*.6+w[2]*.4];let C=[...S];const L=4.5,T=20;for(let v=0;v<T&&!(k(C,w)>=L);v++){const h=(v+1)/T;C=[S[0]*(1-h)+y[0]*h,S[1]*(1-h)+y[1]*h,S[2]*(1-h)+y[2]*h]}r["--text-subtle"]=m(M(...C))}{const S=[w[0]*.65+y[0]*.35,w[1]*.65+y[1]*.35,w[2]*.65+y[2]*.35];let C=[...S];const L=2,T=15;for(let v=0;v<T&&!(k(C,w)>=L);v++){const h=(v+1)/T;C=[S[0]*(1-h)+y[0]*h,S[1]*(1-h)+y[1]*h,S[2]*(1-h)+y[2]*h]}r["--text-ghost"]=m(M(...C))}}else e.descriptionForeground&&(r["--muted-foreground"]=m(e.descriptionForeground));t&&(r["--border"]??=O(t),r["--sidebar-border"]??=O(e["sideBar.background"]??t));const s=n?{background:"#1f1f24",foreground:"#f7f7f7",primary:"#009966",primaryForeground:"#171717",secondary:"#1c1c1c",secondaryForeground:"#f7f7f7",muted:"#121217",mutedForeground:"#b8b5c2",accent:"#182c25",accentForeground:"#7de3bd",danger:"#f38b8b",dangerBackground:"#361010",border:"#4d4a52",input:"#121217",ring:"#6eddb4",info:"#72d2fa",infoForeground:"#171717",success:"#22c55e",successForeground:"#171717",warning:"#facc15",warningForeground:"#171717",sidebar:"#0d0d10",sidebarForeground:"#f7f7f7",sidebarAccent:"#242424",sidebarBorder:"#4d4a52"}:{background:"#ffffff",foreground:"#171717",primary:"#007a4d",primaryForeground:"#ffffff",secondary:"#f5f5f5",secondaryForeground:"#171717",muted:"#e8e8e8",mutedForeground:"#474747",accent:"#e7f3ee",accentForeground:"#00663f",danger:"#930b0b",dangerBackground:"#fde7e7",border:"#d9d9d9",input:"#e6e6e6",ring:"#006ac2",info:"#006ac2",infoForeground:"#ffffff",success:"#117a37",successForeground:"#ffffff",warning:"#dc9400",warningForeground:"#171717",sidebar:"#f7f7f8",sidebarForeground:"#171717",sidebarAccent:"#e8e8e8",sidebarBorder:"#d9d9d9"},c=i=>m(s[i]);r["--background"]??=c("background"),r["--foreground"]??=c("foreground"),r["--card"]??=r["--background"],r["--card-foreground"]??=r["--foreground"],r["--popover"]??=r["--card"],r["--popover-foreground"]??=r["--card-foreground"],r["--primary"]??=c("primary"),r["--primary-foreground"]??=c("primaryForeground"),r["--secondary"]??=c("secondary"),r["--secondary-foreground"]??=c("secondaryForeground"),r["--muted"]??=c("muted"),r["--muted-foreground"]??=c("mutedForeground"),r["--accent"]??=c("accent"),r["--accent-foreground"]??=c("accentForeground"),r["--danger"]??=c("danger"),r["--danger-background"]??=c("dangerBackground"),r["--border"]??=c("border"),r["--input"]??=c("input"),r["--ring"]??=c("ring"),r["--info"]=m(e["editorInfo.foreground"]??s.info),r["--info-foreground"]=c("infoForeground"),r["--success"]=m(e["testing.iconPassed"]??e["gitDecoration.addedResourceForeground"]??s.success),r["--success-foreground"]=c("successForeground"),r["--warning"]=m(e["editorWarning.foreground"]??s.warning),r["--warning-foreground"]=c("warningForeground"),r["--sidebar"]??=c("sidebar"),r["--sidebar-foreground"]??=c("sidebarForeground"),r["--sidebar-accent"]=r["--secondary"]??c("sidebarAccent"),r["--sidebar-accent-foreground"]=r["--sidebar-foreground"],r["--sidebar-border"]??=c("sidebarBorder");const u=[["--foreground","--background"],["--card-foreground","--card"],["--popover-foreground","--popover"],["--primary-foreground","--primary"],["--secondary-foreground","--secondary"],["--accent-foreground","--accent"],["--muted-foreground","--muted"],["--info-foreground","--info"],["--success-foreground","--success"],["--warning-foreground","--warning"],["--sidebar-foreground","--sidebar"],["--sidebar-accent-foreground","--sidebar-accent"]];for(const[i,R]of u)r[i]=H(r[i],r[R]);const g=["--danger-background","--background","--card","--popover","--muted","--sidebar"],f=r["--danger"];r["--danger"]=_(f,g.map(i=>r[i]));const d=F(r["--danger"]);g.every(i=>k(d,F(r[i]))>=4.55)||(r["--danger-background"]=r["--background"],r["--danger"]=_(f,g.map(i=>r[i]))),r["--primary-ink"]=_(r["--primary"],[r["--background"],r["--card"]]);const p=r["--warning"],b=[r["--background"],r["--card"]];return r["--warning-ink"]=_(p,[...b,...b.map(i=>V(p,i,.1))]),r}const z=[["terminal.background","background"],["terminal.foreground","foreground"],["terminal.selectionBackground","selectionBackground"],["terminal.selectionForeground","selectionForeground"],["terminalCursor.foreground","cursor"],["terminalCursor.background","cursorAccent"],["terminal.ansiBlack","black"],["terminal.ansiRed","red"],["terminal.ansiGreen","green"],["terminal.ansiYellow","yellow"],["terminal.ansiBlue","blue"],["terminal.ansiMagenta","magenta"],["terminal.ansiCyan","cyan"],["terminal.ansiWhite","white"],["terminal.ansiBrightBlack","brightBlack"],["terminal.ansiBrightRed","brightRed"],["terminal.ansiBrightGreen","brightGreen"],["terminal.ansiBrightYellow","brightYellow"],["terminal.ansiBrightBlue","brightBlue"],["terminal.ansiBrightMagenta","brightMagenta"],["terminal.ansiBrightCyan","brightCyan"],["terminal.ansiBrightWhite","brightWhite"]];function Q(e){const n={};for(const[r,o]of z){const a=e[r];a&&(n[o]=a)}return n}function E(e){return e.replace(/^#/,"")}function U(e,n){const r=n?"vs-dark":"vs",o=[];if(e.tokenColors)for(const t of e.tokenColors){const s=Array.isArray(t.scope)?t.scope:t.scope?[t.scope]:[""];for(const c of s){const u={token:c};t.settings.foreground&&(u.foreground=E(t.settings.foreground)),t.settings.background&&(u.background=E(t.settings.background)),t.settings.fontStyle&&(u.fontStyle=t.settings.fontStyle),o.push(u)}}const a={};if(e.colors)for(const[t,s]of Object.entries(e.colors))a[t]=s;return{base:r,inherit:!0,rules:o,colors:a}}function J(e){let n="",r=0,o=!1;for(;r<e.length;){const a=e[r];if(o){if(a==="\\"){n+=a+(e[r+1]??""),r+=2;continue}a==='"'&&(o=!1),n+=a,r++;continue}if(a==='"'){o=!0,n+=a,r++;continue}if(a==="/"&&e[r+1]==="/"){for(r+=2;r<e.length&&e[r]!==`
|
|
2
2
|
`;)r++;continue}if(a==="/"&&e[r+1]==="*"){for(r+=2;r<e.length&&!(e[r]==="*"&&e[r+1]==="/");)r++;r+=2;continue}n+=a,r++}return n=n.replace(/,(\s*[}\]])/g,"$1"),n}function rr(e){if(!e||typeof e!="object")throw new Error("Invalid theme: expected an object");const n=e;if(!n.colors&&!n.tokenColors)throw new Error('Invalid theme: must contain "colors" or "tokenColors"');const r=n.colors??{};let o;return n.type==="light"||n.type==="hc-light"?o=!1:n.type==="dark"||n.type==="hc-black"?o=!0:r["editor.background"]?o=N(r["editor.background"]):o=!0,{name:n.name??x.settings_themeImport_fallbackName_label(),type:o?"dark":"light",cssVariables:q(r,o),monacoTheme:U(n,o),terminalColors:Q(r),rawColors:{...r}}}export{rr as p,J as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as o,r as l,d as t}from"./
|
|
1
|
+
import{g as o,r as l,d as t}from"./D6CS23-9.js";import{p as m}from"./lLF0vfI3.js";import{f as n,bC as s}from"./Bmnp4Cni.js";import{M as p,d as u}from"./H_dyzYix.js";var d=u().Railroad.parser.LangiumParser,a=n(e=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{const r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{const r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),c=n(e=>({name:e.name,definition:a(e.definition)}),"transformRule"),f=n(e=>{m(e,t),e.title&&t.setTitle(e.title),e.rules.map(r=>t.addRule(c(r)))},"populateDb"),g={parse:n(e=>{t.clear(),s.debug("[Railroad Parser] Starting Langium parse");const r=d.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new p(r);const i=r.value;s.debug("[Railroad Parser] Parsed rules:",i.rules.length),f(i),s.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:t}},h={parser:g,db:t,renderer:l,styles:o};export{h as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as a3,bq as p,a_ as I,by as t3,b as s3}from"./
|
|
1
|
+
import{t as a3,bq as p,a_ as I,by as t3,b as s3}from"./D4MoKNoK.js";import{bs as r3,a5 as l3,aD as t,bA as L,b_ as v,W as m,bn as o3,c9 as o,bV as S,aA as u,ay as n3,bS as i3,aw as N,bz as c3,bl as Z,bO as A,aB as f,bH as B}from"./B8o4lNgr.js";import{Q as v3}from"./BMBobKUo.js";import{k as _,l as x,s as F}from"./WVYGrHqE.js";import{F as m3,aP as f3,aH as g3,aX as p3,cl as u3,am as d3}from"./CG5J-qd_.js";var h3=f("<div></div>"),b3=f('<span class="type-caption absolute text-subtle font-medium"> </span>'),w3=f("<img/> <!>",1),C3=f('<span class="type-caption text-subtle font-medium"> </span>'),_3=f("<div><!></div>");function x3(y,n){if(new.target)return a3({component:x3,...y});r3(n,!0);let r=p(n,"iconName",7),i=p(n,"label",7),l=p(n,"size",7,20),d=p(n,"class",7,"");const j={redis:"redis",mongodb:"mongodb",circleci:"circleci",vercel:"vercel",railway:"railway",convex:"convex",snowflake:"snowflake",sentry:"sentry",figma:"figma",github:"github",linear:"linear"},D={figma:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Figma-logo.svg/960px-Figma-logo.svg.png",playwright:"https://ray.run/playwright-brand-assets/playwright-logo.svg"},E={context7:'<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 0C26.2091 0 28 1.79086 28 4V24C28 26.2091 26.2091 28 24 28H4C1.79086 28 0 26.2091 0 24V4C0 1.79086 1.79086 0 4 0H24ZM8.58008 15.2559C8.58008 17.8621 7.95482 19.3557 6.33398 21.1885V22.7783H11.6309V21.1045H8.17773C9.66098 19.3776 10.5723 17.5019 10.5723 15.2559H8.58008ZM17.4268 15.2559C17.4268 17.5019 18.338 19.3776 19.8213 21.1045H16.3672V22.7783H21.6641V21.1885C20.0433 19.3558 19.4189 17.862 19.4189 15.2559H17.4268ZM6.33398 6.80957C7.95495 8.64244 8.58008 10.137 8.58008 12.7432H10.5713C10.5713 10.4972 9.66094 8.62143 8.17773 6.89453H11.6309V5.2207H6.33398V6.80957ZM16.3672 5.2207V6.89453H19.8213C18.338 8.62145 17.4268 10.4972 17.4268 12.7432H19.4189C19.4189 10.137 20.0432 8.64242 21.6641 6.80957V5.2207H16.3672Z" fill="black"/></svg>',slack:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M27.255 80.719c0 7.33-5.978 13.317-13.309 13.317C6.616 94.036.63 88.049.63 80.719s5.987-13.317 13.317-13.317h13.309zm6.709 0c0-7.33 5.987-13.317 13.317-13.317s13.317 5.986 13.317 13.317v33.335c0 7.33-5.986 13.317-13.317 13.317-7.33 0-13.317-5.987-13.317-13.317zm0 0" fill="#de1c59"/><path d="M47.281 27.255c-7.33 0-13.317-5.978-13.317-13.309C33.964 6.616 39.951.63 47.281.63s13.317 5.987 13.317 13.317v13.309zm0 6.709c7.33 0 13.317 5.987 13.317 13.317s-5.986 13.317-13.317 13.317H13.946C6.616 60.598.63 54.612.63 47.281c0-7.33 5.987-13.317 13.317-13.317zm0 0" fill="#35c5f0"/><path d="M100.745 47.281c0-7.33 5.978-13.317 13.309-13.317 7.33 0 13.317 5.987 13.317 13.317s-5.987 13.317-13.317 13.317h-13.309zm-6.709 0c0 7.33-5.987 13.317-13.317 13.317s-13.317-5.986-13.317-13.317V13.946C67.402 6.616 73.388.63 80.719.63c7.33 0 13.317 5.987 13.317 13.317zm0 0" fill="#2eb57d"/><path d="M80.719 100.745c7.33 0 13.317 5.978 13.317 13.309 0 7.33-5.987 13.317-13.317 13.317s-13.317-5.987-13.317-13.317v-13.309zm0-6.709c-7.33 0-13.317-5.987-13.317-13.317s5.986-13.317 13.317-13.317h33.335c7.33 0 13.317 5.986 13.317 13.317 0 7.33-5.987 13.317-13.317 13.317zm0 0" fill="#ebb02e"/></svg>'},U=new Set(["context7","github","linear"]),h={brain:d3,server:u3,database:p3,cloud:g3,default:f3},H=o(()=>j[r().toLowerCase()]),W=o(()=>h[r().toLowerCase()]||h.default),z=o(()=>E[r().toLowerCase()]||null),M=o(()=>U.has(r().toLowerCase()));let b=S(!1),k=S(!1);const V=o(()=>D[r().toLowerCase()]||(t(H)?`https://cdn.simpleicons.org/${t(H)}`:null));function q(){B(b,!0)}function O(){B(k,!0)}var P={get iconName(){return r()},set iconName(e){r(e),u()},get label(){return i()},set label(e){i(e),u()},get size(){return l()},set size(e=20){l(e),u()},get class(){return d()},set class(e=""){d(e),u()},$set:t3,$on:(e,a)=>s3(n,e,a)},c=_3(),Q=l3(c);{var X=e=>{var a=h3();v3(a,()=>t(z),!0),L(a),v(()=>_(a,1,`w-full h-full flex items-center justify-center [&>svg]:w-full [&>svg]:h-full ${t(M)?"dark:invert":""}`)),m(e,a)},G=e=>{var a=w3(),s=n3(a);let g;var T=i3(s,2);{var Y=w=>{var C=b3(),$=Z(C,!0);v(e3=>{x(C,`font-size: ${l()*.45}px;`),A($,e3)},[()=>i().charAt(0)]),m(w,C)};I(T,w=>{t(b)||w(Y)})}v(()=>{F(s,"src",t(V)),F(s,"alt",i()),g=_(s,1,`w-full h-full object-contain ${t(M)?"dark:invert":""}`,null,g,{"opacity-0":!t(b)})}),N("load",s,q),N("error",s,O),c3(s),m(e,a)},J=e=>{{let a=o(()=>l()*.7);m3(e,{get icon(){return t(W)},class:"text-ghost",get style(){return`font-size: ${t(a)??""}px;`}})}},K=o(()=>h[r().toLowerCase()]),R=e=>{var a=C3(),s=Z(a,!0);v(g=>{x(a,`font-size: ${l()*.45}px;`),A(s,g)},[()=>i().charAt(0)]),m(e,a)};I(Q,e=>{t(z)?e(X):t(V)&&!t(k)?e(G,1):t(K)?e(J,2):e(R,-1)})}return L(c),v(()=>{_(c,1,`flex items-center justify-center shrink-0 ${d()??""}`),x(c,`width: ${l()??""}px; height: ${l()??""}px;`)}),m(y,c),o3(P)}export{x3 as M};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as v}from"./BJzHxIyr.js";import{aE as l}from"./B8o4lNgr.js";import{g as c}from"./
|
|
1
|
+
import{a as v}from"./BJzHxIyr.js";import{aE as l}from"./B8o4lNgr.js";import{g as c}from"./CZFoI5QY.js";import{p as g}from"./BghJZEqX.js";import{d as P}from"./B0Z-1lwJ.js";import{dv as d}from"./dimBDqRX.js";import{g as k,G2 as o,gE as T,te as u,tf as S,th as I}from"./C51KzdSG.js";import{S as N,a as y,n as A}from"./CQMmROUx.js";import{n as b,o as m}from"./CBF5TBJQ.js";function W(e,a){return e.some(t=>t.id!==k&&t.id!==a&&t.status!=="Archived"&&t.status!=="Deleted")}function w(e,a){return W(e,a)?"/":"/workspace/new"}const n=new v("WorkspaceNavigation");async function D(e){n.info(`[navigateToAgent] Navigating to agent: ${e}`);const t=l(g).params.id;if(!t){n.error("[navigateToAgent] No workspace ID found in current page params");return}const r=new URL(window.location.href);r.searchParams.set("drawerOpen","1"),r.searchParams.set("drawerType","agent"),r.searchParams.set("selectedAgent",e),r.searchParams.delete("selectedTerminal"),await c(r.toString(),{replaceState:!0}),o.dispatch(u(t,"agent",e))}async function R(e){n.info(`[navigateToTerminal] Navigating to terminal: ${e}`);const t=l(g).params.id;if(!t){n.error("[navigateToTerminal] No workspace ID found in current page params");return}const r=new URL(window.location.href),i=r.searchParams.get("drawerOpen")==="1",s=r.searchParams.get("drawerType")==="terminal";(!i||!s)&&r.searchParams.set("drawerOpen","1"),r.searchParams.set("drawerType","terminal"),r.searchParams.set("selectedTerminal",e),r.searchParams.delete("selectedAgent"),await c(r.toString(),{replaceState:!0}),o.dispatch(u(t,"terminal",e))}function E(e){return!e||!(e instanceof Element)?void 0:e.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0}async function p(e,a){n.info(`[navigateToNote] Navigating to note: ${e}`,a);const t=l(g),r=a?.workspaceId??t.params.id;if(!r){n.error("[navigateToNote] No workspace ID found in current page params");return}o.dispatch(I(r,e,{openInAdjacentPanel:a?.openInAdjacentPanel??!1,openInNewAdjacentPanel:a?.openInNewAdjacentPanel??!1,sourcePanelId:a?.sourcePanelId}))}async function F(e,a,t){n.info(`[navigateToFile] Navigating to file: ${e}${a?` (line ${a})`:""}`,t);const i=l(g).params.id;if(!i){n.error("[navigateToFile] No workspace ID found in current page params");return}o.dispatch(S(i,e,{line:a,openInAdjacentPanel:t?.openInAdjacentPanel??!1,sourcePanelId:t?.sourcePanelId}))}async function _(){n.info("[navigateToSpec] Navigating to workspace spec"),await p("spec")}async function j(){n.info("[closeDrawer] Closing drawer");const a=l(g).params.id;if(!a){n.error("[closeDrawer] No workspace ID found in current page params");return}const t=new URL(window.location.href);t.searchParams.set("drawerOpen","0"),t.searchParams.delete("selectedAgent"),t.searchParams.delete("selectedTerminal"),await c(t.toString(),{replaceState:!0}),o.dispatch(T(a))}async function O(){n.info("[clearMainContent] Clearing main content");const e=new URL(window.location.href);e.searchParams.set("mainContentType","empty"),e.searchParams.delete("selectedNoteId"),e.searchParams.delete("selectedFile"),e.searchParams.delete("line"),await c(e.toString(),{replaceState:!1})}async function $(e,a,t){n.info("[navigateToTask] Navigating to task",{noteId:e,taskPosition:a,taskText:t}),await p(e);const r=()=>{P("scroll-to-task",{noteId:e,taskPosition:a,taskText:t},{bubbles:!0}),n.debug("[navigateToTask] Dispatched scroll-to-task event",{noteId:e,taskPosition:a})},i=[100,300,600];for(const s of i)setTimeout(r,s)}async function C(e){n.info("[navigateToSettings] Navigating to settings",e);const a=new URL("/settings",window.location.origin),t=window.location.pathname.match(/^\/workspace\/([^/]+)/)?.[1],r=t==="new"?void 0:t,i=e?.workspaceId??r;if(e?.tab&&a.searchParams.set("tab",e.tab),e?.specialist&&a.searchParams.set("specialist",e.specialist),e?.view&&a.searchParams.set("view",e.view),i&&a.searchParams.set("workspaceId",i),e?.hash&&(a.hash=e.hash),typeof window<"u"&&window.location.pathname==="/settings"){if(e?.tab||e?.specialist||e?.view||e?.workspaceId){const s=new URL(window.location.href);e?.tab&&s.searchParams.set("tab",e.tab),e?.specialist&&s.searchParams.set("specialist",e.specialist),e?.view&&s.searchParams.set("view",e.view),e?.workspaceId&&s.searchParams.set("workspaceId",e.workspaceId),e?.hash&&(s.hash=e.hash),await c(s.toString(),{replaceState:!0});return}if(e?.hash){const s=`#${e.hash}`;window.location.hash===s&&(window.location.hash=""),window.location.hash=s;return}return}await A(a.pathname+a.search+a.hash)}function h(){const e=typeof sessionStorage>"u"?null:sessionStorage.getItem(N);if(e&&e!=="/"&&!y(e))return e;const a=f();return a?`/workspace/${a.id}`:w(d.select(o.state))}async function L(){const e=h();n.info("[navigateBackFromSettings] Navigating back to:",e),await b(e)}function f(e){return d.select(o.state).find(a=>a.id!==e&&a.status!=="Archived"&&a.status!=="Deleted")}async function U(){const e=f();if(e){n.info("[navigateToFirstWorkspace] Showing workspace:",e.id),await m(e.id);return}const a=w(d.select(o.state));n.info("[navigateToFirstWorkspace] Navigating to:",a),await c(a)}async function H(e){const a=f(e);if(a){n.info("[navigateAfterWorkspaceRemoval] Showing workspace:",a.id),await m(a.id);return}const t=w(d.select(o.state),e);n.info("[navigateAfterWorkspaceRemoval] Navigating to:",t),await c(t)}const J=Object.freeze(Object.defineProperty({__proto__:null,clearMainContent:O,closeDrawer:j,findSourcePanelId:E,getSettingsPreviousPath:h,navigateAfterWorkspaceRemoval:H,navigateBackFromSettings:L,navigateToAgent:D,navigateToFile:F,navigateToFirstWorkspace:U,navigateToNote:p,navigateToSettings:C,navigateToSpec:_,navigateToTask:$,navigateToTerminal:R},Symbol.toStringTag,{value:"Module"}));export{F as a,U as b,p as c,C as d,$ as e,E as f,L as n,w as r,J as w};
|