wikied 0.7.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -11
- package/dist/cli/index.js +1 -1
- package/dist/client/assets/{arc-BGbUjP6l.js → arc-BcNRNWhT.js} +1 -1
- package/dist/client/assets/architecture-7EHR7CIX-BGHsj3Sd.js +1 -0
- package/dist/client/assets/{architectureDiagram-3BPJPVTR-B4z3Bib0.js → architectureDiagram-3BPJPVTR-PrKBtz_N.js} +1 -1
- package/dist/client/assets/{blockDiagram-GPEHLZMM-CM9yoR1c.js → blockDiagram-GPEHLZMM-Cu6_nrob.js} +1 -1
- package/dist/client/assets/{c4Diagram-AAUBKEIU-BJuYwiU6.js → c4Diagram-AAUBKEIU-XAOiDGD3.js} +1 -1
- package/dist/client/assets/channel-CPmtBTYe.js +1 -0
- package/dist/client/assets/{chunk-2J33WTMH-CElL4Bkg.js → chunk-2J33WTMH-C6gxPqIL.js} +1 -1
- package/dist/client/assets/{chunk-4BX2VUAB-4pLcLIM5.js → chunk-4BX2VUAB-BF6pxt2R.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-BCehx-77.js → chunk-55IACEB6-BgFb2EGJ.js} +1 -1
- package/dist/client/assets/{chunk-727SXJPM-7cRbWNAI.js → chunk-727SXJPM-CGa5zkpd.js} +1 -1
- package/dist/client/assets/{chunk-AQP2D5EJ-CdZ5KEq0.js → chunk-AQP2D5EJ-BG2Gm9Jj.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-CX3tOevw.js → chunk-FMBD7UC4-9PjtkE8N.js} +1 -1
- package/dist/client/assets/{chunk-ND2GUHAM-BIe2czkN.js → chunk-ND2GUHAM-BkwAMldP.js} +1 -1
- package/dist/client/assets/chunk-QZHKN3VN-CugKC9yc.js +1 -0
- package/dist/client/assets/classDiagram-4FO5ZUOK-CgZje55M.js +1 -0
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-CD8O_LKr.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-BZ5-BOtV.js → cose-bilkent-S5V4N54A-DJMnAWsu.js} +1 -1
- package/dist/client/assets/{dagre-BM42HDAG-BF4eE7Vq.js → dagre-BM42HDAG-DxhB7WC5.js} +1 -1
- package/dist/client/assets/{diagram-2AECGRRQ-CBD1vPsC.js → diagram-2AECGRRQ-Bm6bCjKV.js} +1 -1
- package/dist/client/assets/{diagram-5GNKFQAL-BKVF6D-v.js → diagram-5GNKFQAL-5JYUOXRk.js} +1 -1
- package/dist/client/assets/{diagram-KO2AKTUF-B4tg5Sq2.js → diagram-KO2AKTUF-DGpZHYq_.js} +1 -1
- package/dist/client/assets/{diagram-LMA3HP47-CrtzqKHR.js → diagram-LMA3HP47-CHk9wsYZ.js} +1 -1
- package/dist/client/assets/{diagram-OG6HWLK6-B1U1l2z9.js → diagram-OG6HWLK6-CfWuAKz7.js} +1 -1
- package/dist/client/assets/{dist-2tmgITdd.js → dist-BR2D9joR.js} +1 -1
- package/dist/client/assets/{dist-BMnytQui.js → dist-BjXWQdR7.js} +1 -1
- package/dist/client/assets/{dist-BdtcHXh3.js → dist-BtQr4_T2.js} +1 -1
- package/dist/client/assets/{dist-BAyNC3jS.js → dist-C24Am8Vy.js} +1 -1
- package/dist/client/assets/{dist-BGAr6uGo.js → dist-CAQl_JeH.js} +1 -1
- package/dist/client/assets/{dist-BiKkiCmA.js → dist-CN5BUgsL.js} +1 -1
- package/dist/client/assets/{dist-DLRVIfbL.js → dist-CYBm04dn.js} +1 -1
- package/dist/client/assets/{dist-CDbDhEh_.js → dist-CqO8fBRP.js} +1 -1
- package/dist/client/assets/{dist-CHFPp6QK.js → dist-D1HFoNWi.js} +1 -1
- package/dist/client/assets/{dist-BD40sG-g.js → dist-D2gqg6XD.js} +1 -1
- package/dist/client/assets/{dist-CZj-wKzk.js → dist-DKiO2E1b.js} +1 -1
- package/dist/client/assets/{dist-BnHFa9WX.js → dist-Dgs9dPpZ.js} +1 -1
- package/dist/client/assets/{dist-4GL-blwo.js → dist-K-OE26Yi.js} +1 -1
- package/dist/client/assets/{dist-0-z0Cnty.js → dist-Pl3rvXUl.js} +1 -1
- package/dist/client/assets/{dist-44lkZ2T8.js → dist-PodDLKOH.js} +1 -1
- package/dist/client/assets/{dist--hLEDvOf.js → dist-ckTWnBTv.js} +1 -1
- package/dist/client/assets/{dist-Q6A1c5I0.js → dist-sjFMLj70.js} +1 -1
- package/dist/client/assets/{erDiagram-TEJ5UH35-B62HhqZg.js → erDiagram-TEJ5UH35-xeNgkSAy.js} +1 -1
- package/dist/client/assets/eventmodeling-FCH6USID-DphoJcXR.js +1 -0
- package/dist/client/assets/{flowDiagram-I6XJVG4X-Bgr5YjhY.js → flowDiagram-I6XJVG4X-Diocribv.js} +1 -1
- package/dist/client/assets/{ganttDiagram-6RSMTGT7-CD_17vBt.js → ganttDiagram-6RSMTGT7-xTdTc-El.js} +1 -1
- package/dist/client/assets/gitGraph-WXDBUCRP-BTW4f9fi.js +1 -0
- package/dist/client/assets/{gitGraphDiagram-PVQCEYII-BaRvMOzh.js → gitGraphDiagram-PVQCEYII-DmKIUOJx.js} +1 -1
- package/dist/client/assets/{index-BPa7ldDk.css → index-BGCXi2uF.css} +1 -1
- package/dist/client/assets/index-Cvvt5420.js +532 -0
- package/dist/client/assets/info-J43DQDTF-Cw2HNDaO.js +1 -0
- package/dist/client/assets/{infoDiagram-5YYISTIA-B4RQ7JzR.js → infoDiagram-5YYISTIA-D4cfvBEb.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-Bbrza3Oj.js → ishikawaDiagram-YF4QCWOH-K2NTS-gk.js} +1 -1
- package/dist/client/assets/{journeyDiagram-JHISSGLW-BNSA0bV7.js → journeyDiagram-JHISSGLW-D6ZE_T8d.js} +1 -1
- package/dist/client/assets/{kanban-definition-UN3LZRKU-BShOC1Nf.js → kanban-definition-UN3LZRKU-NeD0uRbJ.js} +1 -1
- package/dist/client/assets/{linear-B_52T76x.js → linear-BB-hRShj.js} +1 -1
- package/dist/client/assets/{mermaid-parser.core-2kO9DfMJ.js → mermaid-parser.core-BGxRxHQl.js} +2 -2
- package/dist/client/assets/{mindmap-definition-RKZ34NQL-CYrR5n4p.js → mindmap-definition-RKZ34NQL-re0v-Abf.js} +1 -1
- package/dist/client/assets/packet-YPE3B663-CrHs8zQk.js +1 -0
- package/dist/client/assets/pie-LRSECV5Y-DN2X-C7c.js +1 -0
- package/dist/client/assets/{pieDiagram-4H26LBE5-BPBPJDOL.js → pieDiagram-4H26LBE5-CVgGRPUj.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-W4KKPZXB-7qeZA_5K.js → quadrantDiagram-W4KKPZXB-hvgg5ND-.js} +1 -1
- package/dist/client/assets/radar-GUYGQ44K-CGfUK9B7.js +1 -0
- package/dist/client/assets/{requirementDiagram-4Y6WPE33-Bn_o0XyB.js → requirementDiagram-4Y6WPE33-BDRcpjKM.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-5OEKKPKP-C7tq1iBN.js → sankeyDiagram-5OEKKPKP-CZMAxFS8.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-3UESZ5HK-CVntHqub.js → sequenceDiagram-3UESZ5HK-tCo417FM.js} +1 -1
- package/dist/client/assets/{stateDiagram-AJRCARHV-6CbiQtH2.js → stateDiagram-AJRCARHV-BiiCMTOc.js} +1 -1
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-BeuZpgnp.js +1 -0
- package/dist/client/assets/{timeline-definition-PNZ67QCA-8O7m6KY3.js → timeline-definition-PNZ67QCA-CwdU_R2S.js} +1 -1
- package/dist/client/assets/treeView-BLDUP644-Bf0-7Ltp.js +1 -0
- package/dist/client/assets/treemap-LRROVOQU-jGeMHPB3.js +1 -0
- package/dist/client/assets/{vennDiagram-CIIHVFJN-BPYk8Ngd.js → vennDiagram-CIIHVFJN-BLHvlGvY.js} +1 -1
- package/dist/client/assets/wardley-L42UT6IY-BUzbFhcv.js +1 -0
- package/dist/client/assets/{wardleyDiagram-YWT4CUSO-BFpz-Hih.js → wardleyDiagram-YWT4CUSO-C6CXsYNa.js} +1 -1
- package/dist/client/assets/{xychartDiagram-2RQKCTM6-B11s2eQY.js → xychartDiagram-2RQKCTM6-Bq_1XgNP.js} +1 -1
- package/dist/client/index.html +2 -2
- package/docs/project/README.md +2 -2
- package/docs/project/architecture.md +257 -257
- package/docs/project/changelog.md +19 -0
- package/docs/project/design.md +190 -190
- package/docs/project/how-to/package-local.md +5 -5
- package/docs/project/how-to/run.md +2 -2
- package/package.json +1 -1
- package/dist/client/assets/arc-BQ8FQIxG.js +0 -1
- package/dist/client/assets/arc-D29HaK0-.js +0 -1
- package/dist/client/assets/arc-DN1TRxdV.js +0 -1
- package/dist/client/assets/arc-EsqL9E_k.js +0 -1
- package/dist/client/assets/arc-lxhneEjK.js +0 -1
- package/dist/client/assets/architecture-7EHR7CIX-BqNz3w30.js +0 -1
- package/dist/client/assets/architecture-7EHR7CIX-CFJQjcdg.js +0 -1
- package/dist/client/assets/architecture-7EHR7CIX-ClbxVUwJ.js +0 -1
- package/dist/client/assets/architecture-7EHR7CIX-CyNbBoe0.js +0 -1
- package/dist/client/assets/architecture-7EHR7CIX-DSRN3R9m.js +0 -1
- package/dist/client/assets/architecture-7EHR7CIX-PtlJ4dOt.js +0 -1
- package/dist/client/assets/architectureDiagram-3BPJPVTR-BcWhK0P7.js +0 -36
- package/dist/client/assets/architectureDiagram-3BPJPVTR-CFDO5Pht.js +0 -36
- package/dist/client/assets/architectureDiagram-3BPJPVTR-YHMi__Re.js +0 -36
- package/dist/client/assets/architectureDiagram-3BPJPVTR-tkcUxvnc.js +0 -36
- package/dist/client/assets/architectureDiagram-3BPJPVTR-uohXcL3U.js +0 -36
- package/dist/client/assets/blockDiagram-GPEHLZMM-CmuICidh.js +0 -132
- package/dist/client/assets/blockDiagram-GPEHLZMM-Cw-DTpkY.js +0 -132
- package/dist/client/assets/blockDiagram-GPEHLZMM-D8CFcow6.js +0 -132
- package/dist/client/assets/blockDiagram-GPEHLZMM-DITm6e9a.js +0 -132
- package/dist/client/assets/blockDiagram-GPEHLZMM-sRYCtT3R.js +0 -132
- package/dist/client/assets/c4Diagram-AAUBKEIU-CAKSwn1Q.js +0 -10
- package/dist/client/assets/c4Diagram-AAUBKEIU-CQNX7g2f.js +0 -10
- package/dist/client/assets/c4Diagram-AAUBKEIU-Cmr0FZN2.js +0 -10
- package/dist/client/assets/c4Diagram-AAUBKEIU-hz6fXX48.js +0 -10
- package/dist/client/assets/c4Diagram-AAUBKEIU-jMpUd_wV.js +0 -10
- package/dist/client/assets/channel-BLySICXj.js +0 -1
- package/dist/client/assets/channel-BhTl1myF.js +0 -1
- package/dist/client/assets/channel-C6YaMftE.js +0 -1
- package/dist/client/assets/channel-DCmlVXgL.js +0 -1
- package/dist/client/assets/channel-DGNLHxy4.js +0 -1
- package/dist/client/assets/channel-x4T-_YD7.js +0 -1
- package/dist/client/assets/chunk-2J33WTMH-CbW3CBuf.js +0 -1
- package/dist/client/assets/chunk-2J33WTMH-Cwe8zhoU.js +0 -1
- package/dist/client/assets/chunk-2J33WTMH-D3_CoMp1.js +0 -1
- package/dist/client/assets/chunk-2J33WTMH-DN_GVUWe.js +0 -1
- package/dist/client/assets/chunk-2J33WTMH-zDzeRZN5.js +0 -1
- package/dist/client/assets/chunk-4BX2VUAB-9XalwBpW.js +0 -1
- package/dist/client/assets/chunk-4BX2VUAB-B5EdDr8j.js +0 -1
- package/dist/client/assets/chunk-4BX2VUAB-BFtetfgd.js +0 -1
- package/dist/client/assets/chunk-4BX2VUAB-DGIU4KKY.js +0 -1
- package/dist/client/assets/chunk-4BX2VUAB-jTIxI8DZ.js +0 -1
- package/dist/client/assets/chunk-55IACEB6-BPpZck88.js +0 -1
- package/dist/client/assets/chunk-55IACEB6-BV23knRO.js +0 -1
- package/dist/client/assets/chunk-55IACEB6-C0d8c7Vo.js +0 -1
- package/dist/client/assets/chunk-55IACEB6-CQ_t4_xx.js +0 -1
- package/dist/client/assets/chunk-55IACEB6-JZcTe9lc.js +0 -1
- package/dist/client/assets/chunk-727SXJPM-BSL_F1Le.js +0 -206
- package/dist/client/assets/chunk-727SXJPM-D47mkitj.js +0 -206
- package/dist/client/assets/chunk-727SXJPM-D9_MqMP5.js +0 -206
- package/dist/client/assets/chunk-727SXJPM-RyJFEFm-.js +0 -206
- package/dist/client/assets/chunk-727SXJPM-nDNND1Fi.js +0 -206
- package/dist/client/assets/chunk-AQP2D5EJ-CtXh86Eg.js +0 -231
- package/dist/client/assets/chunk-AQP2D5EJ-CwxUU4hk.js +0 -231
- package/dist/client/assets/chunk-AQP2D5EJ-D0baAcg1.js +0 -231
- package/dist/client/assets/chunk-AQP2D5EJ-DCPlWaAh.js +0 -231
- package/dist/client/assets/chunk-AQP2D5EJ-J_DkonSc.js +0 -231
- package/dist/client/assets/chunk-FMBD7UC4-BbZ1AGyL.js +0 -15
- package/dist/client/assets/chunk-FMBD7UC4-BdGnGsSk.js +0 -15
- package/dist/client/assets/chunk-FMBD7UC4-CVSNIJCH.js +0 -15
- package/dist/client/assets/chunk-FMBD7UC4-CqUEgFjs.js +0 -15
- package/dist/client/assets/chunk-FMBD7UC4-DC5BOUfb.js +0 -15
- package/dist/client/assets/chunk-ND2GUHAM-BSN4IQif.js +0 -1
- package/dist/client/assets/chunk-ND2GUHAM-CnGwaH5L.js +0 -1
- package/dist/client/assets/chunk-ND2GUHAM-DNiW6T9n.js +0 -1
- package/dist/client/assets/chunk-ND2GUHAM-DlypeIxK.js +0 -1
- package/dist/client/assets/chunk-ND2GUHAM-dO9yBJ9c.js +0 -1
- package/dist/client/assets/chunk-QZHKN3VN-BHbu3UP6.js +0 -1
- package/dist/client/assets/chunk-QZHKN3VN-BpYsV_6y.js +0 -1
- package/dist/client/assets/chunk-QZHKN3VN-CO1iLMuP.js +0 -1
- package/dist/client/assets/chunk-QZHKN3VN-DXTWyPl6.js +0 -1
- package/dist/client/assets/chunk-QZHKN3VN-Dp-LTU9i.js +0 -1
- package/dist/client/assets/chunk-QZHKN3VN-kXi8OW4-.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-AtKel0XH.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-B0NpKzPr.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-Bk7OZQQT.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-CUT5SOh1.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-DR6twz9n.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-XKa3UYeT.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-C10EkiwP.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-CYNm9k9j.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-Cu6f4_Qr.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-DVtSKtsc.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-DdsQ5sc8.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-M8Y05qZy.js +0 -1
- package/dist/client/assets/cose-bilkent-S5V4N54A-C5IwfIBU.js +0 -1
- package/dist/client/assets/cose-bilkent-S5V4N54A-C6fAtGoM.js +0 -1
- package/dist/client/assets/cose-bilkent-S5V4N54A-CDm9Oap6.js +0 -1
- package/dist/client/assets/cose-bilkent-S5V4N54A-CRCh_MP2.js +0 -1
- package/dist/client/assets/cose-bilkent-S5V4N54A-D-iXlubx.js +0 -1
- package/dist/client/assets/dagre-BM42HDAG-C1UxjNQo.js +0 -4
- package/dist/client/assets/dagre-BM42HDAG-CN_eUZpE.js +0 -4
- package/dist/client/assets/dagre-BM42HDAG-DG3qHB9n.js +0 -4
- package/dist/client/assets/dagre-BM42HDAG-DGqTKLQn.js +0 -4
- package/dist/client/assets/dagre-BM42HDAG-HhxsMVKO.js +0 -4
- package/dist/client/assets/diagram-2AECGRRQ-CPsbxJxF.js +0 -43
- package/dist/client/assets/diagram-2AECGRRQ-DFQSvODp.js +0 -43
- package/dist/client/assets/diagram-2AECGRRQ-DMEfdrj9.js +0 -43
- package/dist/client/assets/diagram-2AECGRRQ-DlJ7PqUC.js +0 -43
- package/dist/client/assets/diagram-2AECGRRQ-DvCOeQpl.js +0 -43
- package/dist/client/assets/diagram-5GNKFQAL-CV0_MyBI.js +0 -10
- package/dist/client/assets/diagram-5GNKFQAL-Cz34sKoA.js +0 -10
- package/dist/client/assets/diagram-5GNKFQAL-DP3pe1RC.js +0 -10
- package/dist/client/assets/diagram-5GNKFQAL-DxF6k7UP.js +0 -10
- package/dist/client/assets/diagram-5GNKFQAL-iSa2z6P6.js +0 -10
- package/dist/client/assets/diagram-KO2AKTUF-BRgzZSvK.js +0 -3
- package/dist/client/assets/diagram-KO2AKTUF-CIV3uGBq.js +0 -3
- package/dist/client/assets/diagram-KO2AKTUF-CTH7FURo.js +0 -3
- package/dist/client/assets/diagram-KO2AKTUF-C_2zZZh0.js +0 -3
- package/dist/client/assets/diagram-KO2AKTUF-Cuss_t-R.js +0 -3
- package/dist/client/assets/diagram-LMA3HP47-D0uf37D2.js +0 -24
- package/dist/client/assets/diagram-LMA3HP47-DCJWcert.js +0 -24
- package/dist/client/assets/diagram-LMA3HP47-DHLGCfmQ.js +0 -24
- package/dist/client/assets/diagram-LMA3HP47-DqcX8v1J.js +0 -24
- package/dist/client/assets/diagram-LMA3HP47-Y_acETft.js +0 -24
- package/dist/client/assets/diagram-OG6HWLK6-Bpl1By3g.js +0 -24
- package/dist/client/assets/diagram-OG6HWLK6-BpniHTDY.js +0 -24
- package/dist/client/assets/diagram-OG6HWLK6-CPIuiHbu.js +0 -24
- package/dist/client/assets/diagram-OG6HWLK6-CYWwbYrm.js +0 -24
- package/dist/client/assets/diagram-OG6HWLK6-CmxjZhDt.js +0 -24
- package/dist/client/assets/dist-B6O_DpEm.js +0 -1
- package/dist/client/assets/dist-BMcGXJl_.js +0 -1
- package/dist/client/assets/dist-BMrfqEff.js +0 -1
- package/dist/client/assets/dist-BNzWMaB6.js +0 -1
- package/dist/client/assets/dist-BP22L48M.js +0 -1
- package/dist/client/assets/dist-BQFQYyOf.js +0 -1
- package/dist/client/assets/dist-BS_Wb5ek.js +0 -1
- package/dist/client/assets/dist-BTSt8RmS.js +0 -1
- package/dist/client/assets/dist-BTqWikmn.js +0 -9
- package/dist/client/assets/dist-BU-v7eOh.js +0 -1
- package/dist/client/assets/dist-BW9zpavZ.js +0 -1
- package/dist/client/assets/dist-BYpLoh88.js +0 -1
- package/dist/client/assets/dist-Ba2VBCEx.js +0 -1
- package/dist/client/assets/dist-BbyHZUWl.js +0 -1
- package/dist/client/assets/dist-Bj-AtBpB.js +0 -1
- package/dist/client/assets/dist-BkIFud2w.js +0 -2
- package/dist/client/assets/dist-BkJurX-Q.js +0 -2
- package/dist/client/assets/dist-BmvzHEa6.js +0 -1
- package/dist/client/assets/dist-BrtuoXw3.js +0 -1
- package/dist/client/assets/dist-Bv1_rpJY.js +0 -2
- package/dist/client/assets/dist-BxJTQCfI.js +0 -1
- package/dist/client/assets/dist-By195sxY.js +0 -1
- package/dist/client/assets/dist-C0PJTPJf.js +0 -1
- package/dist/client/assets/dist-C70w0n6j.js +0 -1
- package/dist/client/assets/dist-C7zhb6ia.js +0 -1
- package/dist/client/assets/dist-CFQ-7y4O.js +0 -1
- package/dist/client/assets/dist-CJvz1rI0.js +0 -2
- package/dist/client/assets/dist-CKq8Ue0B.js +0 -1
- package/dist/client/assets/dist-CL-xNTXw.js +0 -1
- package/dist/client/assets/dist-CRDAhP-_.js +0 -9
- package/dist/client/assets/dist-CS16K7fI.js +0 -1
- package/dist/client/assets/dist-CTOPKEFU.js +0 -1
- package/dist/client/assets/dist-C_7Kdz86.js +0 -1
- package/dist/client/assets/dist-Catly5LE.js +0 -1
- package/dist/client/assets/dist-Cf5WqFxW.js +0 -1
- package/dist/client/assets/dist-ChpghJfy.js +0 -9
- package/dist/client/assets/dist-ChvQZ65S.js +0 -1
- package/dist/client/assets/dist-Cj50abYe.js +0 -1
- package/dist/client/assets/dist-CmE34U3l.js +0 -1
- package/dist/client/assets/dist-CnEAsIWK.js +0 -11
- package/dist/client/assets/dist-Cokhcc-e.js +0 -1
- package/dist/client/assets/dist-Cp5GrNtz.js +0 -1
- package/dist/client/assets/dist-Ct9nOXP2.js +0 -1
- package/dist/client/assets/dist-CuQa92y3.js +0 -1
- package/dist/client/assets/dist-Cu_x7LYJ.js +0 -1
- package/dist/client/assets/dist-D0wTN10c.js +0 -2
- package/dist/client/assets/dist-D6XIhlK2.js +0 -1
- package/dist/client/assets/dist-D96yzPvR.js +0 -1
- package/dist/client/assets/dist-DIbBkegB.js +0 -1
- package/dist/client/assets/dist-DLMHIC1t.js +0 -1
- package/dist/client/assets/dist-DNA1Z08m.js +0 -1
- package/dist/client/assets/dist-DNKDt2SL.js +0 -9
- package/dist/client/assets/dist-DNbCIPJZ.js +0 -1
- package/dist/client/assets/dist-DRO62xNi.js +0 -11
- package/dist/client/assets/dist-DSuqFJZG.js +0 -1
- package/dist/client/assets/dist-DVQbjcvW.js +0 -1
- package/dist/client/assets/dist-DWY4UZzp.js +0 -1
- package/dist/client/assets/dist-DYo-CenB.js +0 -1
- package/dist/client/assets/dist-DZdkfueI.js +0 -1
- package/dist/client/assets/dist-Dd92cuCD.js +0 -1
- package/dist/client/assets/dist-Dhrxncs7.js +0 -1
- package/dist/client/assets/dist-DkBb8pyD.js +0 -1
- package/dist/client/assets/dist-DpfF9ujP.js +0 -1
- package/dist/client/assets/dist-DsXVGesw.js +0 -1
- package/dist/client/assets/dist-DzHWpwvC.js +0 -9
- package/dist/client/assets/dist-FD0Pk5v3.js +0 -1
- package/dist/client/assets/dist-HEJhLJLi.js +0 -11
- package/dist/client/assets/dist-JvwHRPyx.js +0 -1
- package/dist/client/assets/dist-LeORtSWk.js +0 -1
- package/dist/client/assets/dist-Lt0tqjQf.js +0 -1
- package/dist/client/assets/dist-M8PzXy6d.js +0 -1
- package/dist/client/assets/dist-MQmNzVLE.js +0 -1
- package/dist/client/assets/dist-PXqLsMmX.js +0 -1
- package/dist/client/assets/dist-VLVu-KW2.js +0 -1
- package/dist/client/assets/dist-YLM2KsVW.js +0 -1
- package/dist/client/assets/dist-bfKL2iu_.js +0 -1
- package/dist/client/assets/dist-h-MwnblL.js +0 -1
- package/dist/client/assets/dist-hXXcIbxU.js +0 -1
- package/dist/client/assets/dist-llL-i6i2.js +0 -1
- package/dist/client/assets/dist-mQxXzSBY.js +0 -1
- package/dist/client/assets/dist-ogHbs9vd.js +0 -1
- package/dist/client/assets/dist-os_6esOz.js +0 -1
- package/dist/client/assets/dist-t0zWlbUu.js +0 -11
- package/dist/client/assets/dist-uL3SbE3I.js +0 -11
- package/dist/client/assets/dist-xIpUAkiA.js +0 -1
- package/dist/client/assets/erDiagram-TEJ5UH35-BXxzMHpX.js +0 -85
- package/dist/client/assets/erDiagram-TEJ5UH35-CTM4iRPt.js +0 -85
- package/dist/client/assets/erDiagram-TEJ5UH35-DaaUCEf-.js +0 -85
- package/dist/client/assets/erDiagram-TEJ5UH35-DnwoJhSL.js +0 -85
- package/dist/client/assets/erDiagram-TEJ5UH35-Dofm20uI.js +0 -85
- package/dist/client/assets/eventmodeling-FCH6USID-CG8-lqF5.js +0 -1
- package/dist/client/assets/eventmodeling-FCH6USID-Ckn2qnKs.js +0 -1
- package/dist/client/assets/eventmodeling-FCH6USID-DsmiUeUD.js +0 -1
- package/dist/client/assets/eventmodeling-FCH6USID-IsJECylp.js +0 -1
- package/dist/client/assets/eventmodeling-FCH6USID-TfS978Hk.js +0 -1
- package/dist/client/assets/eventmodeling-FCH6USID-rDVHKK_z.js +0 -1
- package/dist/client/assets/flowDiagram-I6XJVG4X-CwbJrsAH.js +0 -162
- package/dist/client/assets/flowDiagram-I6XJVG4X-DB8NE8dO.js +0 -162
- package/dist/client/assets/flowDiagram-I6XJVG4X-DG3xWBhm.js +0 -162
- package/dist/client/assets/flowDiagram-I6XJVG4X-SHBvldeJ.js +0 -162
- package/dist/client/assets/flowDiagram-I6XJVG4X-lRhOrZDv.js +0 -162
- package/dist/client/assets/ganttDiagram-6RSMTGT7-BKybsoxO.js +0 -292
- package/dist/client/assets/ganttDiagram-6RSMTGT7-CO57UxDH.js +0 -292
- package/dist/client/assets/ganttDiagram-6RSMTGT7-CV4c0bxZ.js +0 -292
- package/dist/client/assets/ganttDiagram-6RSMTGT7-D5PiNC8A.js +0 -292
- package/dist/client/assets/ganttDiagram-6RSMTGT7-DdVvDmnp.js +0 -292
- package/dist/client/assets/gitGraph-WXDBUCRP-B5abLcfr.js +0 -1
- package/dist/client/assets/gitGraph-WXDBUCRP-CEUAsiWg.js +0 -1
- package/dist/client/assets/gitGraph-WXDBUCRP-CPPxqCrS.js +0 -1
- package/dist/client/assets/gitGraph-WXDBUCRP-Cj9_uihB.js +0 -1
- package/dist/client/assets/gitGraph-WXDBUCRP-Q72MkpNg.js +0 -1
- package/dist/client/assets/gitGraph-WXDBUCRP-ojGUgaVb.js +0 -1
- package/dist/client/assets/gitGraphDiagram-PVQCEYII-BckLmYy0.js +0 -106
- package/dist/client/assets/gitGraphDiagram-PVQCEYII-CQvq0IhO.js +0 -106
- package/dist/client/assets/gitGraphDiagram-PVQCEYII-D547DZF5.js +0 -106
- package/dist/client/assets/gitGraphDiagram-PVQCEYII-DOFs1eg8.js +0 -106
- package/dist/client/assets/gitGraphDiagram-PVQCEYII-Dba8FK50.js +0 -106
- package/dist/client/assets/index-8YKIjcJe.js +0 -532
- package/dist/client/assets/index-Bc6bzkA8.js +0 -532
- package/dist/client/assets/index-BewIyJmj.js +0 -532
- package/dist/client/assets/index-BhJ9ao0y.js +0 -532
- package/dist/client/assets/index-CzvLoUvF.js +0 -532
- package/dist/client/assets/index-ckENP4pU.js +0 -532
- package/dist/client/assets/info-J43DQDTF-BOKPpojc.js +0 -1
- package/dist/client/assets/info-J43DQDTF-CWf75QJC.js +0 -1
- package/dist/client/assets/info-J43DQDTF-Db_7Q2r9.js +0 -1
- package/dist/client/assets/info-J43DQDTF-DfyyKBT0.js +0 -1
- package/dist/client/assets/info-J43DQDTF-Esf2TaF1.js +0 -1
- package/dist/client/assets/info-J43DQDTF-bdterZJm.js +0 -1
- package/dist/client/assets/infoDiagram-5YYISTIA-C6MmRXdl.js +0 -2
- package/dist/client/assets/infoDiagram-5YYISTIA-CJx1aJYH.js +0 -2
- package/dist/client/assets/infoDiagram-5YYISTIA-DAFFEaMX.js +0 -2
- package/dist/client/assets/infoDiagram-5YYISTIA-DPPbj55q.js +0 -2
- package/dist/client/assets/infoDiagram-5YYISTIA-LrF3QIgt.js +0 -2
- package/dist/client/assets/ishikawaDiagram-YF4QCWOH-BeqvjDIl.js +0 -70
- package/dist/client/assets/ishikawaDiagram-YF4QCWOH-D1voQ_A3.js +0 -70
- package/dist/client/assets/ishikawaDiagram-YF4QCWOH-DQVs-e5F.js +0 -70
- package/dist/client/assets/ishikawaDiagram-YF4QCWOH-DellCRrr.js +0 -70
- package/dist/client/assets/ishikawaDiagram-YF4QCWOH-j2svCPD_.js +0 -70
- package/dist/client/assets/journeyDiagram-JHISSGLW-ByjUcNIQ.js +0 -139
- package/dist/client/assets/journeyDiagram-JHISSGLW-CjmHTXWw.js +0 -139
- package/dist/client/assets/journeyDiagram-JHISSGLW-CyW3uYgl.js +0 -139
- package/dist/client/assets/journeyDiagram-JHISSGLW-DHG9tEO9.js +0 -139
- package/dist/client/assets/journeyDiagram-JHISSGLW-DMhylUSs.js +0 -139
- package/dist/client/assets/kanban-definition-UN3LZRKU-By6J-toY.js +0 -89
- package/dist/client/assets/kanban-definition-UN3LZRKU-CPmisIY0.js +0 -89
- package/dist/client/assets/kanban-definition-UN3LZRKU-DJq0v7yA.js +0 -89
- package/dist/client/assets/kanban-definition-UN3LZRKU-Odm95TPd.js +0 -89
- package/dist/client/assets/kanban-definition-UN3LZRKU-RhdfI1Go.js +0 -89
- package/dist/client/assets/linear-CCnRmQWj.js +0 -1
- package/dist/client/assets/linear-CLY6mbcf.js +0 -1
- package/dist/client/assets/linear-D2PqFEbl.js +0 -1
- package/dist/client/assets/linear-U4CTwA5d.js +0 -1
- package/dist/client/assets/linear-fC_JigXY.js +0 -1
- package/dist/client/assets/mermaid-parser.core-BaqVS2PS.js +0 -161
- package/dist/client/assets/mermaid-parser.core-CXSSSULW.js +0 -161
- package/dist/client/assets/mermaid-parser.core-D4wkA2RA.js +0 -161
- package/dist/client/assets/mermaid-parser.core-DJaMK5f0.js +0 -161
- package/dist/client/assets/mermaid-parser.core-Dg7giF1T.js +0 -161
- package/dist/client/assets/mindmap-definition-RKZ34NQL-CakoPsMY.js +0 -96
- package/dist/client/assets/mindmap-definition-RKZ34NQL-Ck-hSWI1.js +0 -96
- package/dist/client/assets/mindmap-definition-RKZ34NQL-DQ6OHT_i.js +0 -96
- package/dist/client/assets/mindmap-definition-RKZ34NQL-DUC927Xf.js +0 -96
- package/dist/client/assets/mindmap-definition-RKZ34NQL-DeFA1j35.js +0 -96
- package/dist/client/assets/packet-YPE3B663-B3KOrKph.js +0 -1
- package/dist/client/assets/packet-YPE3B663-BZYQ3FCV.js +0 -1
- package/dist/client/assets/packet-YPE3B663-CCp5WtTq.js +0 -1
- package/dist/client/assets/packet-YPE3B663-CfJJ9tXN.js +0 -1
- package/dist/client/assets/packet-YPE3B663-Ctl6nY1w.js +0 -1
- package/dist/client/assets/packet-YPE3B663-_U-6UVls.js +0 -1
- package/dist/client/assets/pie-LRSECV5Y-BAnVLQEp.js +0 -1
- package/dist/client/assets/pie-LRSECV5Y-BbZVTGZg.js +0 -1
- package/dist/client/assets/pie-LRSECV5Y-CYEccf3s.js +0 -1
- package/dist/client/assets/pie-LRSECV5Y-DlRiXmmJ.js +0 -1
- package/dist/client/assets/pie-LRSECV5Y-Dm3u76QZ.js +0 -1
- package/dist/client/assets/pie-LRSECV5Y-X0vz9XKi.js +0 -1
- package/dist/client/assets/pieDiagram-4H26LBE5-CAXyv9NR.js +0 -30
- package/dist/client/assets/pieDiagram-4H26LBE5-Cp_atO_B.js +0 -30
- package/dist/client/assets/pieDiagram-4H26LBE5-CzJrKJr4.js +0 -30
- package/dist/client/assets/pieDiagram-4H26LBE5-JffHRhRs.js +0 -30
- package/dist/client/assets/pieDiagram-4H26LBE5-pmEU7Uu5.js +0 -30
- package/dist/client/assets/quadrantDiagram-W4KKPZXB-B0JKtXGW.js +0 -7
- package/dist/client/assets/quadrantDiagram-W4KKPZXB-CkJY1wkN.js +0 -7
- package/dist/client/assets/quadrantDiagram-W4KKPZXB-DDnjiiYP.js +0 -7
- package/dist/client/assets/quadrantDiagram-W4KKPZXB-DR-dJSMY.js +0 -7
- package/dist/client/assets/quadrantDiagram-W4KKPZXB-Dg9KCwo0.js +0 -7
- package/dist/client/assets/radar-GUYGQ44K-8ZjjdwFn.js +0 -1
- package/dist/client/assets/radar-GUYGQ44K-BbAfN5-x.js +0 -1
- package/dist/client/assets/radar-GUYGQ44K-Bwdc6UPK.js +0 -1
- package/dist/client/assets/radar-GUYGQ44K-CXCenk63.js +0 -1
- package/dist/client/assets/radar-GUYGQ44K-CuJfIW1O.js +0 -1
- package/dist/client/assets/radar-GUYGQ44K-D7_r3KxN.js +0 -1
- package/dist/client/assets/requirementDiagram-4Y6WPE33-BwXGdVNn.js +0 -84
- package/dist/client/assets/requirementDiagram-4Y6WPE33-D6YIEesF.js +0 -84
- package/dist/client/assets/requirementDiagram-4Y6WPE33-DP0YrPiG.js +0 -84
- package/dist/client/assets/requirementDiagram-4Y6WPE33-DqqKjv9b.js +0 -84
- package/dist/client/assets/requirementDiagram-4Y6WPE33-Sc9Ib_Ju.js +0 -84
- package/dist/client/assets/sankeyDiagram-5OEKKPKP-CTglKOYH.js +0 -40
- package/dist/client/assets/sankeyDiagram-5OEKKPKP-Cdn5hR-T.js +0 -40
- package/dist/client/assets/sankeyDiagram-5OEKKPKP-CtjDOI1d.js +0 -40
- package/dist/client/assets/sankeyDiagram-5OEKKPKP-D1JvUXfm.js +0 -40
- package/dist/client/assets/sankeyDiagram-5OEKKPKP-DmlH_EuV.js +0 -40
- package/dist/client/assets/sequenceDiagram-3UESZ5HK-B1l_RYCD.js +0 -162
- package/dist/client/assets/sequenceDiagram-3UESZ5HK-BODENHDd.js +0 -162
- package/dist/client/assets/sequenceDiagram-3UESZ5HK-BfXBRbtn.js +0 -162
- package/dist/client/assets/sequenceDiagram-3UESZ5HK-ZsntJaDA.js +0 -162
- package/dist/client/assets/sequenceDiagram-3UESZ5HK-g0S6cpjA.js +0 -162
- package/dist/client/assets/stateDiagram-AJRCARHV-BH3emNVA.js +0 -1
- package/dist/client/assets/stateDiagram-AJRCARHV-Bfy4u1jj.js +0 -1
- package/dist/client/assets/stateDiagram-AJRCARHV-DTL_BeMw.js +0 -1
- package/dist/client/assets/stateDiagram-AJRCARHV-DuMfvw76.js +0 -1
- package/dist/client/assets/stateDiagram-AJRCARHV-bEyFJqkt.js +0 -1
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-BeBJn9Ia.js +0 -1
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-BySjtxL0.js +0 -1
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-CJJ1ZY2Q.js +0 -1
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-CewRZjoh.js +0 -1
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-Ctaegh5b.js +0 -1
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-Duq_b4Yy.js +0 -1
- package/dist/client/assets/timeline-definition-PNZ67QCA-BrvVyhY0.js +0 -120
- package/dist/client/assets/timeline-definition-PNZ67QCA-BtixI1WS.js +0 -120
- package/dist/client/assets/timeline-definition-PNZ67QCA-D9KAhtfV.js +0 -120
- package/dist/client/assets/timeline-definition-PNZ67QCA-XT2bwWOB.js +0 -120
- package/dist/client/assets/timeline-definition-PNZ67QCA-aOxVtn0E.js +0 -120
- package/dist/client/assets/treeView-BLDUP644-B0kTb_g3.js +0 -1
- package/dist/client/assets/treeView-BLDUP644-B6UCevyB.js +0 -1
- package/dist/client/assets/treeView-BLDUP644-ClAwlEqa.js +0 -1
- package/dist/client/assets/treeView-BLDUP644-SGGobL-X.js +0 -1
- package/dist/client/assets/treeView-BLDUP644-UtXcJa80.js +0 -1
- package/dist/client/assets/treeView-BLDUP644-X3LRngOg.js +0 -1
- package/dist/client/assets/treemap-LRROVOQU-BVDdbYmy.js +0 -1
- package/dist/client/assets/treemap-LRROVOQU-CSUALSge.js +0 -1
- package/dist/client/assets/treemap-LRROVOQU-D7lbGl6O.js +0 -1
- package/dist/client/assets/treemap-LRROVOQU-DDMghpbA.js +0 -1
- package/dist/client/assets/treemap-LRROVOQU-FsJUYG1s.js +0 -1
- package/dist/client/assets/treemap-LRROVOQU-Kcw-WZrd.js +0 -1
- package/dist/client/assets/vennDiagram-CIIHVFJN-ByGExN5N.js +0 -34
- package/dist/client/assets/vennDiagram-CIIHVFJN-CTqKsU3a.js +0 -34
- package/dist/client/assets/vennDiagram-CIIHVFJN-Dra5j7V2.js +0 -34
- package/dist/client/assets/vennDiagram-CIIHVFJN-JUG6MMjw.js +0 -34
- package/dist/client/assets/vennDiagram-CIIHVFJN-vqKQtTQi.js +0 -34
- package/dist/client/assets/wardley-L42UT6IY-BCqwgr28.js +0 -1
- package/dist/client/assets/wardley-L42UT6IY-BYdsv-7d.js +0 -1
- package/dist/client/assets/wardley-L42UT6IY-DJ-60DT_.js +0 -1
- package/dist/client/assets/wardley-L42UT6IY-DdTJfznk.js +0 -1
- package/dist/client/assets/wardley-L42UT6IY-DznNraZH.js +0 -1
- package/dist/client/assets/wardley-L42UT6IY-R3qTlKe5.js +0 -1
- package/dist/client/assets/wardleyDiagram-YWT4CUSO-BNMsJ5dX.js +0 -78
- package/dist/client/assets/wardleyDiagram-YWT4CUSO-CJbjncot.js +0 -78
- package/dist/client/assets/wardleyDiagram-YWT4CUSO-DGMk2w-Q.js +0 -78
- package/dist/client/assets/wardleyDiagram-YWT4CUSO-Xyf3f312.js +0 -78
- package/dist/client/assets/wardleyDiagram-YWT4CUSO-bCQqSS9Y.js +0 -78
- package/dist/client/assets/xychartDiagram-2RQKCTM6-BppcNHGA.js +0 -7
- package/dist/client/assets/xychartDiagram-2RQKCTM6-CGoX_9dB.js +0 -7
- package/dist/client/assets/xychartDiagram-2RQKCTM6-Cbjyvu2C.js +0 -7
- package/dist/client/assets/xychartDiagram-2RQKCTM6-DiHjc_ea.js +0 -7
- package/dist/client/assets/xychartDiagram-2RQKCTM6-Dit8uJrh.js +0 -7
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./arc-BGbUjP6l.js";import{An as t,Gn as n,Qn as r,Sn as i,Vt as a,Xn as o,Yn as s,ir as c,kn as l,nr as u,rr as d,st as f,vn as p,xn as m}from"./index-Bc6bzkA8.js";var h=(function(){var e=d(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[6,11,13,14,15,17,19,20,23,24],n=[1,12],r=[1,13],i=[1,14],a=[1,15],o=[1,16],s=[1,19],c=[1,20],l={trace:d(function(){},`trace`),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:`error`,6:`EOF`,7:`timeline`,8:`timeline_lr`,9:`timeline_td`,11:`SPACE`,13:`NEWLINE`,14:`title`,15:`acc_title`,16:`acc_title_value`,17:`acc_descr`,18:`acc_descr_value`,19:`acc_descr_multiline_value`,20:`section`,23:`period`,24:`event`},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:d(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:r.setDirection(`LR`);break;case 4:r.setDirection(`TD`);break;case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:case 10:this.$=[];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s],0,``),this.$=a[s];break;case 19:r.addEvent(a[s].substr(2)),this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:n,15:r,17:i,19:a,20:o,21:17,22:18,23:s,24:c},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:n,15:r,17:i,19:a,20:o,21:17,22:18,23:s,24:c},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:d(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:d(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,f=2,p=1,m=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;a.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}d(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}d(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(c+1)+`:
|
|
2
|
-
`+h.showPosition()+`
|
|
3
|
-
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(h.yytext),a.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(l=h.yyleng,s=h.yytext,c=h.yylineno,v=h.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,l,c,g.yy,T[1],i,a].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};l.lexer=(function(){return{EOF:1,parseError:d(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:d(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:d(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:d(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:d(function(){return this._more=!0,this},`more`),reject:d(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
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:d(function(e){this.unput(this.match.slice(e))},`less`),pastInput:d(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:d(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:d(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
-
`+t+`^`},`showPosition`),test_match:d(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:d(function(){return this.next()||this.lex()},`lex`),begin:d(function(e){this.conditionStack.push(e)},`begin`),popState:d(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:d(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:d(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:d(function(e){this.begin(e)},`pushState`),stateStackSize:d(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:d(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return 13;case 3:break;case 4:break;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin(`acc_title`),15;case 10:return this.popState(),`acc_title_value`;case 11:return this.begin(`acc_descr`),17;case 12:return this.popState(),`acc_descr_value`;case 13:this.begin(`acc_descr_multiline`);break;case 14:this.popState();break;case 15:return`acc_descr_multiline_value`;case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return`INVALID`}},`anonymous`),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}}})();function u(){this.yy={}}return d(u,`Parser`),u.prototype=l,l.Parser=u,new u})();h.parser=h;var g=h,_={};u(_,{addEvent:()=>M,addSection:()=>O,addTask:()=>j,addTaskOrg:()=>N,clear:()=>T,default:()=>ee,getCommonDb:()=>w,getDirection:()=>D,getSections:()=>k,getTasks:()=>A,setDirection:()=>E});var v=``,y=0,b=`LR`,x=[],S=[],C=[],w=d(()=>i,`getCommonDb`),T=d(function(){x.length=0,S.length=0,v=``,C.length=0,b=`LR`,m()},`clear`),E=d(function(e){b=e},`setDirection`),D=d(function(){return b},`getDirection`),O=d(function(e){v=e,x.push(e)},`addSection`),k=d(function(){return x},`getSections`),A=d(function(){let e=P(),t=0;for(;!e&&t<100;)e=P(),t++;return S.push(...C),S},`getTasks`),j=d(function(e,t,n){let r={id:y++,section:v,type:v,task:e,score:t||0,events:n?[n]:[]};C.push(r)},`addTask`),M=d(function(e){C.find(e=>e.id===y-1).events.push(e)},`addEvent`),N=d(function(e){let t={section:v,type:v,description:e,task:e,classes:[]};S.push(t)},`addTaskOrg`),P=d(function(){let e=d(function(e){return C[e].processed},`compileTask`),t=!0;for(let[n,r]of C.entries())e(n),t&&=r.processed;return t},`compileTasks`),ee={clear:T,getCommonDb:w,getDirection:D,setDirection:E,addSection:O,getSections:k,getTasks:A,addTask:j,addTaskOrg:N,addEvent:M},F=0,I=d(function(e,t){let n=e.append(`rect`);return n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),n.attr(`rx`,t.rx),n.attr(`ry`,t.ry),t.class!==void 0&&n.attr(`class`,t.class),n},`drawRect`),te=d(function(t,n){let r=t.append(`circle`).attr(`cx`,n.cx).attr(`cy`,n.cy).attr(`class`,`face`).attr(`r`,15).attr(`stroke-width`,2).attr(`overflow`,`visible`),i=t.append(`g`);i.append(`circle`).attr(`cx`,n.cx-15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`),i.append(`circle`).attr(`cx`,n.cx+15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`);function a(t){let r=e().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(15/2).outerRadius(15/2.2);t.append(`path`).attr(`class`,`mouth`).attr(`d`,r).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+2)+`)`)}d(a,`smile`);function o(t){let r=e().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(15/2).outerRadius(15/2.2);t.append(`path`).attr(`class`,`mouth`).attr(`d`,r).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+7)+`)`)}d(o,`sad`);function s(e){e.append(`line`).attr(`class`,`mouth`).attr(`stroke`,2).attr(`x1`,n.cx-5).attr(`y1`,n.cy+7).attr(`x2`,n.cx+5).attr(`y2`,n.cy+7).attr(`class`,`mouth`).attr(`stroke-width`,`1px`).attr(`stroke`,`#666`)}return d(s,`ambivalent`),n.score>3?a(i):n.score<3?o(i):s(i),r},`drawFace`),ne=d(function(e,t){let n=e.append(`circle`);return n.attr(`cx`,t.cx),n.attr(`cy`,t.cy),n.attr(`class`,`actor-`+t.pos),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`r`,t.r),n.class!==void 0&&n.attr(`class`,n.class),t.title!==void 0&&n.append(`title`).text(t.title),n},`drawCircle`),L=d(function(e,t){let n=t.text.replace(/<br\s*\/?>/gi,` `),r=e.append(`text`);r.attr(`x`,t.x),r.attr(`y`,t.y),r.attr(`class`,`legend`),r.style(`text-anchor`,t.anchor),t.class!==void 0&&r.attr(`class`,t.class);let i=r.append(`tspan`);return i.attr(`x`,t.x+t.textMargin*2),i.text(n),r},`drawText`),re=d(function(e,t){function n(e,t,n,r,i){return e+`,`+t+` `+(e+n)+`,`+t+` `+(e+n)+`,`+(t+r-i)+` `+(e+n-i*1.2)+`,`+(t+r)+` `+e+`,`+(t+r)}d(n,`genPoints`);let r=e.append(`polygon`);r.attr(`points`,n(t.x,t.y,50,20,7)),r.attr(`class`,`labelBox`),t.y+=t.labelMargin,t.x+=.5*t.labelMargin,L(e,t)},`drawLabel`),R=d(function(e,t,n){let r=e.append(`g`),i=B();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=n.width,i.height=n.height,i.class=`journey-section section-type-`+t.num,i.rx=3,i.ry=3,I(r,i),V(n)(t.text,r,i.x,i.y,i.width,i.height,{class:`journey-section section-type-`+t.num},n,t.colour)},`drawSection`),z=-1,ie=d(function(e,t,n,r){let i=t.x+n.width/2,a=e.append(`g`);z++,a.append(`line`).attr(`id`,r+`-task`+z).attr(`x1`,i).attr(`y1`,t.y).attr(`x2`,i).attr(`y2`,450).attr(`class`,`task-line`).attr(`stroke-width`,`1px`).attr(`stroke-dasharray`,`4 2`).attr(`stroke`,`#666`),te(a,{cx:i,cy:300+(5-t.score)*30,score:t.score});let o=B();o.x=t.x,o.y=t.y,o.fill=t.fill,o.width=n.width,o.height=n.height,o.class=`task task-type-`+t.num,o.rx=3,o.ry=3,I(a,o),V(n)(t.task,a,o.x,o.y,o.width,o.height,{class:`task`},n,t.colour)},`drawTask`),ae=d(function(e,t){I(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:`rect`}).lower()},`drawBackgroundRect`),oe=d(function(){return{x:0,y:0,fill:void 0,"text-anchor":`start`,width:100,height:100,textMargin:0,rx:0,ry:0}},`getTextObj`),B=d(function(){return{x:0,y:0,width:100,anchor:`start`,height:100,rx:0,ry:0}},`getNoteRect`),V=(function(){function e(e,t,n,i,a,o,s,c){r(t.append(`text`).attr(`x`,n+a/2).attr(`y`,i+o/2+5).style(`font-color`,c).style(`text-anchor`,`middle`).text(e),s)}d(e,`byText`);function t(e,t,n,i,a,o,s,c,l){let{taskFontSize:u,taskFontFamily:d}=c,f=e.split(/<br\s*\/?>/gi);for(let e=0;e<f.length;e++){let c=e*u-u*(f.length-1)/2,p=t.append(`text`).attr(`x`,n+a/2).attr(`y`,i).attr(`fill`,l).style(`text-anchor`,`middle`).style(`font-size`,u).style(`font-family`,d);p.append(`tspan`).attr(`x`,n+a/2).attr(`dy`,c).text(f[e]),p.attr(`y`,i+o/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),r(p,s)}}d(t,`byTspan`);function n(e,n,i,a,o,s,c,l){let u=n.append(`switch`),d=u.append(`foreignObject`).attr(`x`,i).attr(`y`,a).attr(`width`,o).attr(`height`,s).attr(`position`,`fixed`).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).attr(`class`,`label`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),t(e,u,i,a,o,s,c,l),r(d,c)}d(n,`byFo`);function r(e,t){for(let n in t)n in t&&e.attr(n,t[n])}return d(r,`_setTextAttrs`),function(r){return r.textPlacement===`fo`?n:r.textPlacement===`old`?e:t}})(),se=d(function(e,t){F=0,z=-1,e.append(`defs`).append(`marker`).attr(`id`,t+`-arrowhead`).attr(`refX`,5).attr(`refY`,2).attr(`markerWidth`,6).attr(`markerHeight`,4).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0,0 V 4 L6,2 Z`)},`initGraphics`);function H(e,t){e.each(function(){var e=p(this),n=e.text().split(/(\s+|<br>)/).reverse(),r,i=[],a=1.1,o=e.attr(`y`),s=parseFloat(e.attr(`dy`)),c=e.text(null).append(`tspan`).attr(`x`,0).attr(`y`,o).attr(`dy`,s+`em`);for(let s=0;s<n.length;s++)r=n[n.length-1-s],i.push(r),c.text(i.join(` `).trim()),(c.node().getComputedTextLength()>t||r===`<br>`)&&(i.pop(),c.text(i.join(` `).trim()),i=r===`<br>`?[``]:[r],c=e.append(`tspan`).attr(`x`,0).attr(`y`,o).attr(`dy`,a+`em`).text(r))})}d(H,`wrap`);var ce=d(function(e,t,n,r,i,a=!1){let{theme:o,look:s}=r,c=o?.includes(`redux`),l=n%(r?.themeVariables?.THEME_COLOR_LIMIT??12)-1,u=e.append(`g`);t.section=l,u.attr(`class`,(t.class?t.class+` `:``)+`timeline-node `+(`section-`+l));let d=u.append(`g`),f=u.append(`g`),m=f.append(`text`).text(t.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(H,t.width).node().getBBox(),h=r.fontSize?.replace?r.fontSize.replace(`px`,``):r.fontSize;if(t.height=m.height+h*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width+=2*t.padding,f.attr(`transform`,`translate(`+t.width/2+`, `+t.padding/2+`)`),c&&f.attr(`transform`,`translate(${t.width/2}, ${a?t.padding/2+3:t.padding})`),ue(d,t,l,i,r),s===`neo`&&(u.attr(`data-look`,`neo`),c)){let t=o.includes(`dark`),n=p(e.node()?.ownerSVGElement??e.node()),r=n.attr(`id`)??``,i=r?`${r}-drop-shadow`:`drop-shadow`;if(n.select(`#${i}`).empty()){let e=n.select(`defs`);(e.empty()?n.append(`defs`):e).append(`filter`).attr(`id`,i).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,t?`0.2`:`0.06`).attr(`flood-color`,t?`#FFFFFF`:`#000000`)}}return t},`drawNode`),le=d(function(e,t,n){let r=e.append(`g`),i=r.append(`text`).text(t.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(H,t.width).node().getBBox(),a=n.fontSize?.replace?n.fontSize.replace(`px`,``):n.fontSize;return r.remove(),i.height+a*1.1*.5+t.padding},`getVirtualNodeHeight`),ue=d(function(e,t,n,r,i){let{theme:a}=i,o=a?.includes(`redux`)?0:5,s=o>0?`M0 ${t.height-5} v${-t.height+10} q0,-${o},${o},-${o} h${t.width-10} q${o},0,${o},${o} v${t.height-5} H0 Z`:`M0 ${t.height-5} v${-(t.height-5)} h${t.width} v${t.height} H0 Z`;e.append(`path`).attr(`id`,r+`-node-`+ F++).attr(`class`,`node-bkg node-`+t.type).attr(`d`,s),a?.includes(`redux`)||e.append(`line`).attr(`class`,`node-line-`+n).attr(`x1`,0).attr(`y1`,t.height).attr(`x2`,t.width).attr(`y2`,t.height)},`defaultBkg`),U={drawRect:I,drawCircle:ne,drawSection:R,drawText:L,drawLabel:re,drawTask:ie,drawBackgroundRect:ae,getTextObj:oe,getNoteRect:B,initGraphics:se,drawNode:ce,getVirtualNodeHeight:le},de=d(function(e,r,i,a){let o=t(),{look:s,theme:l,themeVariables:u}=o,{useGradient:d,gradientStart:f,gradientStop:m}=u,h=o.timeline?.leftMargin??50;c.debug(`timeline`,a.db);let g=o.securityLevel,_;g===`sandbox`&&(_=p(`#i`+r));let v=p(g===`sandbox`?_.nodes()[0].contentDocument.body:`body`).select(`#`+r);v.append(`g`);let y=a.db.getTasks(),b=a.db.getCommonDb().getDiagramTitle();c.debug(`task`,y),U.initGraphics(v,r);let x=a.db.getSections();c.debug(`sections`,x);let S=0,C=0,w=0,T=0,E=50+h,D=50;T=50;let O=0,k=!0;x.forEach(function(e){let t={number:O,descr:e,section:O,width:150,padding:20,maxHeight:S},n=U.getVirtualNodeHeight(v,t,o);c.debug(`sectionHeight before draw`,n),S=Math.max(S,n+20)});let A=0,j=0;c.debug(`tasks.length`,y.length);for(let[e,t]of y.entries()){let n={number:e,descr:t,section:t.section,width:150,padding:20,maxHeight:C},r=U.getVirtualNodeHeight(v,n,o);c.debug(`taskHeight before draw`,r),C=Math.max(C,r+20),A=Math.max(A,t.events.length);let i=0;for(let e of t.events){let n={descr:e,section:t.section,number:t.section,width:150,padding:20,maxHeight:50};i+=U.getVirtualNodeHeight(v,n,o)}t.events.length>0&&(i+=(t.events.length-1)*10),j=Math.max(j,i)}c.debug(`maxSectionHeight before draw`,S),c.debug(`maxTaskHeight before draw`,C),x&&x.length>0?x.forEach(e=>{let t=y.filter(t=>t.section===e),n={number:O,descr:e,section:O,width:200*Math.max(t.length,1)-50,padding:20,maxHeight:S};c.debug(`sectionNode`,n);let i=v.append(`g`),a=U.drawNode(i,n,O,o,r);c.debug(`sectionNode output`,a),i.attr(`transform`,`translate(${E}, ${T})`),D+=S+50,t.length>0&&W(v,t,O,E,D,C,o,A,j,S,!1,r),E+=200*Math.max(t.length,1),D=T,O++}):(k=!1,W(v,y,O,E,D,C,o,A,j,S,!0,r));let M=v.node().getBBox();if(c.debug(`bounds`,M),b&&v.append(`text`).text(b).attr(`x`,s===`neo`?M.x*2+h:M.width/2-h).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),w=k?S+C+150:C+100,v.append(`g`).attr(`class`,`lineWrapper`).append(`line`).attr(`x1`,h).attr(`y1`,w).attr(`x2`,M.width+3*h).attr(`y2`,w).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#${r}-arrowhead)`),s===`neo`&&d&&l!==`neutral`){let e=v.select(`defs`),t=(e.empty()?v.append(`defs`):e).append(`linearGradient`).attr(`id`,v.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,f).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,m).attr(`stop-opacity`,1)}n(void 0,v,o.timeline?.padding??50,o.timeline?.useMaxWidth??!1)},`draw`),W=d(function(e,t,n,r,i,a,o,s,l,u,d,f){for(let s of t){let t={descr:s.task,section:n,number:n,width:150,padding:20,maxHeight:a};c.debug(`taskNode`,t);let u=e.append(`g`).attr(`class`,`taskWrapper`),p=U.drawNode(u,t,n,o,f).height;if(c.debug(`taskHeight after draw`,p),u.attr(`transform`,`translate(${r}, ${i})`),a=Math.max(a,p),s.events){let t=e.append(`g`).attr(`class`,`lineWrapper`),c=a;i+=100,c+=fe(e,s.events,n,r,i,o,f),i-=100,t.append(`line`).attr(`x1`,r+190/2).attr(`y1`,i+a).attr(`x2`,r+190/2).attr(`y2`,i+a+100+l+100).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#${f}-arrowhead)`).attr(`stroke-dasharray`,`5,5`)}r+=200,d&&!o.timeline?.disableMulticolor&&n++}i-=10},`drawTasks`),fe=d(function(e,t,n,r,i,a,o){let s=0,l=i;i+=100;for(let l of t){let t={descr:l,section:n,number:n,width:150,padding:20,maxHeight:50};c.debug(`eventNode`,t);let u=e.append(`g`).attr(`class`,`eventWrapper`),d=U.drawNode(u,t,n,a,o,!0).height;s+=d,u.attr(`transform`,`translate(${r}, ${i})`),i=i+10+d}return i=l,s},`drawEvents`),pe={setConf:d(()=>{},`setConf`),draw:de},G=200,K=5,me=G+K*2,q=G+100,he=q+K*2,J=10,ge=0,Y=20,X=20,Z=30,Q=50,_e=d(function(e,r,i,o){let s=t(),l=s.timeline?.leftMargin??50;c.debug(`timeline`,o.db);let u=a(r);u.append(`g`);let d=o.db.getTasks(),p=o.db.getCommonDb().getDiagramTitle();c.debug(`task`,d),U.initGraphics(u);let m=o.db.getSections();c.debug(`sections`,m);let h=0,g=0,_=50+l,v=50,y=v,b=_,x=me+X,S=he+Q,C=b+x,w=0,T=m&&m.length>0,E=T?C:_+x,D=Math.max(50,x+S-K*2);m.forEach(function(e){let t={number:w,descr:e,section:w,width:D,padding:K,maxHeight:h},n=U.getVirtualNodeHeight(u,t,s);c.debug(`sectionHeight before draw`,n),h=Math.max(h,n)});let O=0;c.debug(`tasks.length`,d.length);for(let[e,t]of d.entries()){let n={number:e,descr:t,section:t.section,width:G,padding:K,maxHeight:g},r=U.getVirtualNodeHeight(u,n,s);c.debug(`taskHeight before draw`,r),g=Math.max(g,r);let i=0;for(let e of t.events){let n={descr:e,section:t.section,number:t.section,width:q,padding:K,maxHeight:50};i+=U.getVirtualNodeHeight(u,n,s)}t.events.length>0&&(i+=(t.events.length-1)*J),O=Math.max(O,i)+ge}c.debug(`maxSectionHeight before draw`,h),c.debug(`maxTaskHeight before draw`,g);let k=Math.max(g,O)+Z;T?m.forEach(e=>{let t=d.filter(t=>t.section===e),n={number:w,descr:e,section:w,width:D,padding:K,maxHeight:h};c.debug(`sectionNode`,n);let r=u.append(`g`),i=U.drawNode(r,n,w,s);c.debug(`sectionNode output`,i);let a=E-x;r.attr(`transform`,`translate(${a}, ${v})`);let o=v+i.height+Y;t.length>0&&$(u,t,w,E,o,g,s,k,!1);let l=t.length,f=i.height+Y+k*Math.max(l,1)-(l>0?Z*2:0);v+=f,w++}):$(u,d,w,E,v,g,s,k,!0);let A=u.node()?.getBBox();if(!A)throw Error(`bbox not found`);if(c.debug(`bounds`,A),p){if(u.append(`text`).text(p).attr(`x`,A.width/2-l).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),A=u.node()?.getBBox(),!A)throw Error(`bbox not found`);c.debug(`bounds after title`,A)}let[j]=f(s.fontSize),M=(j??16)*2,N=(j??16)*.5+20,P=u.append(`g`).attr(`class`,`lineWrapper`);P.append(`line`).attr(`x1`,E).attr(`y1`,y-M).attr(`x2`,E).attr(`y2`,A.y+A.height+N).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`),P.lower(),n(void 0,u,s.timeline?.padding??50,s.timeline?.useMaxWidth??!1)},`draw`),$=d(function(e,t,n,r,i,a,o,s,l){for(let u of t){let t={descr:u.task,section:n,number:n,width:G,padding:K,maxHeight:a};c.debug(`taskNode`,t);let d=e.append(`g`).attr(`class`,`taskWrapper`),f=U.drawNode(d,t,n,o),p=f.height;c.debug(`taskHeight after draw`,p);let m=r-X-f.width;if(d.attr(`transform`,`translate(${m}, ${i})`),a=Math.max(a,p),u.events&&u.events.length>0){let t=i,a=r+Q;ve(e,u.events,n,r,a,t,o)}i+=s,l&&!o.timeline?.disableMulticolor&&n++}},`drawTasks`),ve=d(function(e,t,n,r,i,a,o){let s=a;for(let a of t){let t={descr:a,section:n,number:n,width:q,padding:K,maxHeight:0};c.debug(`eventNode`,t);let l=e.append(`g`).attr(`class`,`eventWrapper`),u=U.drawNode(l,t,n,o).height;l.attr(`transform`,`translate(${i}, ${s})`);let d=e.append(`g`).attr(`class`,`lineWrapper`),f=s+u/2;d.append(`line`).attr(`x1`,r).attr(`y1`,f).attr(`x2`,i).attr(`y2`,f).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`).attr(`stroke-dasharray`,`5,5`),s=s+u+J}return s-a},`drawEvents`),ye={setConf:d(()=>{},`setConf`),draw:_e},be=d(e=>{let{theme:t}=l(),n=t?.includes(`dark`),r=t?.includes(`color`),i=e.svgId?.replace(/^#/,``)??``,a=i?`url(#${i}-drop-shadow)`:e.dropShadow??`none`,o=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++){let i=`${17-3*t}`,s=r?e.borderColorArray[t]:e.mainBkg,c=r?e.borderColorArray[t]:e.nodeBorder;o+=`
|
|
7
|
-
.section-${t-1} rect,
|
|
8
|
-
.section-${t-1} path,
|
|
9
|
-
.section-${t-1} circle {
|
|
10
|
-
fill: ${n&&r?e.mainBkg:s};
|
|
11
|
-
stroke: ${c};
|
|
12
|
-
stroke-width: ${e.strokeWidth};
|
|
13
|
-
filter: ${a};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.section-${t-1} text {
|
|
17
|
-
fill: ${e.nodeBorder};
|
|
18
|
-
font-weight: ${e.fontWeight}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.node-icon-${t-1} {
|
|
22
|
-
font-size: 40px;
|
|
23
|
-
color: ${e[`cScaleLabel`+t]};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.section-edge-${t-1} {
|
|
27
|
-
stroke: ${e[`cScale`+t]};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.edge-depth-${t-1} {
|
|
31
|
-
stroke-width: ${i};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.section-${t-1} line {
|
|
35
|
-
stroke: ${e[`cScaleInv`+t]};
|
|
36
|
-
stroke-width: 3;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.lineWrapper line {
|
|
40
|
-
stroke: ${e.nodeBorder};
|
|
41
|
-
stroke-width:${e.strokeWidth}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.disabled,
|
|
45
|
-
.disabled circle,
|
|
46
|
-
.disabled text {
|
|
47
|
-
fill: ${e.tertiaryColor??`lightgray`};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.disabled text {
|
|
51
|
-
fill: ${e.clusterBorder??`#efefef`};
|
|
52
|
-
}
|
|
53
|
-
`}return o},`genReduxSections`),xe=d(e=>{let t=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e[`lineColor`+t]=e[`lineColor`+t]||e[`cScaleInv`+t],r(e[`lineColor`+t])?e[`lineColor`+t]=o(e[`lineColor`+t],20):e[`lineColor`+t]=s(e[`lineColor`+t],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let r=``+(17-3*n);t+=`
|
|
54
|
-
.section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {
|
|
55
|
-
fill: ${e[`cScale`+n]};
|
|
56
|
-
}
|
|
57
|
-
.section-${n-1} text {
|
|
58
|
-
fill: ${e[`cScaleLabel`+n]};
|
|
59
|
-
}
|
|
60
|
-
.node-icon-${n-1} {
|
|
61
|
-
font-size: 40px;
|
|
62
|
-
color: ${e[`cScaleLabel`+n]};
|
|
63
|
-
}
|
|
64
|
-
.section-edge-${n-1}{
|
|
65
|
-
stroke: ${e[`cScale`+n]};
|
|
66
|
-
}
|
|
67
|
-
.edge-depth-${n-1}{
|
|
68
|
-
stroke-width: ${r};
|
|
69
|
-
}
|
|
70
|
-
.section-${n-1} line {
|
|
71
|
-
stroke: ${e[`cScaleInv`+n]} ;
|
|
72
|
-
stroke-width: 3;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.lineWrapper line{
|
|
76
|
-
stroke: ${e[`cScaleLabel`+n]} ;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.disabled, .disabled circle, .disabled text {
|
|
80
|
-
fill: ${e.tertiaryColor??`lightgray`};
|
|
81
|
-
}
|
|
82
|
-
.disabled text {
|
|
83
|
-
fill: ${e.clusterBorder??`#efefef`};
|
|
84
|
-
}
|
|
85
|
-
`}return t},`genSections`),Se={db:_,renderer:{setConf:d(()=>{},`setConf`),draw:d((e,t,n,r)=>(r?.db?.getDirection?.()??`LR`)===`TD`?ye.draw(e,t,n,r):pe.draw(e,t,n,r),`draw`)},parser:g,styles:d(e=>{let{theme:t}=l(),n=t?.includes(`redux`),r=t===`neutral`,i=e.svgId?.replace(/^#/,``)??``,a=``;if(e.useGradient&&i&&e.THEME_COLOR_LIMIT&&!r)for(let t=0;t<e.THEME_COLOR_LIMIT;t++)a+=`
|
|
86
|
-
.section-${t-1}[data-look="neo"] rect,
|
|
87
|
-
.section-${t-1}[data-look="neo"] path,
|
|
88
|
-
.section-${t-1}[data-look="neo"] circle {
|
|
89
|
-
fill: ${e.mainBkg};
|
|
90
|
-
stroke: url(#${i}-gradient);
|
|
91
|
-
stroke-width: 2;
|
|
92
|
-
}
|
|
93
|
-
.section-${t-1}[data-look="neo"] line {
|
|
94
|
-
stroke: url(#${i}-gradient);
|
|
95
|
-
stroke-width: 2;
|
|
96
|
-
}`;return`
|
|
97
|
-
.edge {
|
|
98
|
-
stroke-width: 3;
|
|
99
|
-
}
|
|
100
|
-
${n?be(e):xe(e)}
|
|
101
|
-
${a}
|
|
102
|
-
.section-root rect, .section-root path, .section-root circle {
|
|
103
|
-
fill: ${e.git0};
|
|
104
|
-
}
|
|
105
|
-
.section-root text {
|
|
106
|
-
fill: ${e.gitBranchLabel0};
|
|
107
|
-
}
|
|
108
|
-
.icon-container {
|
|
109
|
-
height:100%;
|
|
110
|
-
display: flex;
|
|
111
|
-
justify-content: center;
|
|
112
|
-
align-items: center;
|
|
113
|
-
}
|
|
114
|
-
.edge {
|
|
115
|
-
fill: none;
|
|
116
|
-
}
|
|
117
|
-
.eventWrapper {
|
|
118
|
-
filter: brightness(120%);
|
|
119
|
-
}
|
|
120
|
-
`},`getStyles`)};export{Se as diagram};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./arc-BQ8FQIxG.js";import{An as t,Gn as n,Qn as r,Sn as i,Vt as a,Xn as o,Yn as s,ir as c,kn as l,nr as u,rr as d,st as f,vn as p,xn as m}from"./index-BewIyJmj.js";var h=(function(){var e=d(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[6,11,13,14,15,17,19,20,23,24],n=[1,12],r=[1,13],i=[1,14],a=[1,15],o=[1,16],s=[1,19],c=[1,20],l={trace:d(function(){},`trace`),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:`error`,6:`EOF`,7:`timeline`,8:`timeline_lr`,9:`timeline_td`,11:`SPACE`,13:`NEWLINE`,14:`title`,15:`acc_title`,16:`acc_title_value`,17:`acc_descr`,18:`acc_descr_value`,19:`acc_descr_multiline_value`,20:`section`,23:`period`,24:`event`},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:d(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:r.setDirection(`LR`);break;case 4:r.setDirection(`TD`);break;case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:case 10:this.$=[];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s],0,``),this.$=a[s];break;case 19:r.addEvent(a[s].substr(2)),this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:n,15:r,17:i,19:a,20:o,21:17,22:18,23:s,24:c},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:n,15:r,17:i,19:a,20:o,21:17,22:18,23:s,24:c},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:d(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:d(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,f=2,p=1,m=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;a.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}d(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}d(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(c+1)+`:
|
|
2
|
-
`+h.showPosition()+`
|
|
3
|
-
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(h.yytext),a.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(l=h.yyleng,s=h.yytext,c=h.yylineno,v=h.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,l,c,g.yy,T[1],i,a].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};l.lexer=(function(){return{EOF:1,parseError:d(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:d(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:d(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:d(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:d(function(){return this._more=!0,this},`more`),reject:d(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
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:d(function(e){this.unput(this.match.slice(e))},`less`),pastInput:d(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:d(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:d(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
-
`+t+`^`},`showPosition`),test_match:d(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:d(function(){return this.next()||this.lex()},`lex`),begin:d(function(e){this.conditionStack.push(e)},`begin`),popState:d(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:d(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:d(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:d(function(e){this.begin(e)},`pushState`),stateStackSize:d(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:d(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return 13;case 3:break;case 4:break;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin(`acc_title`),15;case 10:return this.popState(),`acc_title_value`;case 11:return this.begin(`acc_descr`),17;case 12:return this.popState(),`acc_descr_value`;case 13:this.begin(`acc_descr_multiline`);break;case 14:this.popState();break;case 15:return`acc_descr_multiline_value`;case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return`INVALID`}},`anonymous`),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}}})();function u(){this.yy={}}return d(u,`Parser`),u.prototype=l,l.Parser=u,new u})();h.parser=h;var g=h,_={};u(_,{addEvent:()=>M,addSection:()=>O,addTask:()=>j,addTaskOrg:()=>N,clear:()=>T,default:()=>ee,getCommonDb:()=>w,getDirection:()=>D,getSections:()=>k,getTasks:()=>A,setDirection:()=>E});var v=``,y=0,b=`LR`,x=[],S=[],C=[],w=d(()=>i,`getCommonDb`),T=d(function(){x.length=0,S.length=0,v=``,C.length=0,b=`LR`,m()},`clear`),E=d(function(e){b=e},`setDirection`),D=d(function(){return b},`getDirection`),O=d(function(e){v=e,x.push(e)},`addSection`),k=d(function(){return x},`getSections`),A=d(function(){let e=P(),t=0;for(;!e&&t<100;)e=P(),t++;return S.push(...C),S},`getTasks`),j=d(function(e,t,n){let r={id:y++,section:v,type:v,task:e,score:t||0,events:n?[n]:[]};C.push(r)},`addTask`),M=d(function(e){C.find(e=>e.id===y-1).events.push(e)},`addEvent`),N=d(function(e){let t={section:v,type:v,description:e,task:e,classes:[]};S.push(t)},`addTaskOrg`),P=d(function(){let e=d(function(e){return C[e].processed},`compileTask`),t=!0;for(let[n,r]of C.entries())e(n),t&&=r.processed;return t},`compileTasks`),ee={clear:T,getCommonDb:w,getDirection:D,setDirection:E,addSection:O,getSections:k,getTasks:A,addTask:j,addTaskOrg:N,addEvent:M},F=0,I=d(function(e,t){let n=e.append(`rect`);return n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),n.attr(`rx`,t.rx),n.attr(`ry`,t.ry),t.class!==void 0&&n.attr(`class`,t.class),n},`drawRect`),te=d(function(t,n){let r=t.append(`circle`).attr(`cx`,n.cx).attr(`cy`,n.cy).attr(`class`,`face`).attr(`r`,15).attr(`stroke-width`,2).attr(`overflow`,`visible`),i=t.append(`g`);i.append(`circle`).attr(`cx`,n.cx-15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`),i.append(`circle`).attr(`cx`,n.cx+15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`);function a(t){let r=e().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(15/2).outerRadius(15/2.2);t.append(`path`).attr(`class`,`mouth`).attr(`d`,r).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+2)+`)`)}d(a,`smile`);function o(t){let r=e().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(15/2).outerRadius(15/2.2);t.append(`path`).attr(`class`,`mouth`).attr(`d`,r).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+7)+`)`)}d(o,`sad`);function s(e){e.append(`line`).attr(`class`,`mouth`).attr(`stroke`,2).attr(`x1`,n.cx-5).attr(`y1`,n.cy+7).attr(`x2`,n.cx+5).attr(`y2`,n.cy+7).attr(`class`,`mouth`).attr(`stroke-width`,`1px`).attr(`stroke`,`#666`)}return d(s,`ambivalent`),n.score>3?a(i):n.score<3?o(i):s(i),r},`drawFace`),ne=d(function(e,t){let n=e.append(`circle`);return n.attr(`cx`,t.cx),n.attr(`cy`,t.cy),n.attr(`class`,`actor-`+t.pos),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`r`,t.r),n.class!==void 0&&n.attr(`class`,n.class),t.title!==void 0&&n.append(`title`).text(t.title),n},`drawCircle`),L=d(function(e,t){let n=t.text.replace(/<br\s*\/?>/gi,` `),r=e.append(`text`);r.attr(`x`,t.x),r.attr(`y`,t.y),r.attr(`class`,`legend`),r.style(`text-anchor`,t.anchor),t.class!==void 0&&r.attr(`class`,t.class);let i=r.append(`tspan`);return i.attr(`x`,t.x+t.textMargin*2),i.text(n),r},`drawText`),re=d(function(e,t){function n(e,t,n,r,i){return e+`,`+t+` `+(e+n)+`,`+t+` `+(e+n)+`,`+(t+r-i)+` `+(e+n-i*1.2)+`,`+(t+r)+` `+e+`,`+(t+r)}d(n,`genPoints`);let r=e.append(`polygon`);r.attr(`points`,n(t.x,t.y,50,20,7)),r.attr(`class`,`labelBox`),t.y+=t.labelMargin,t.x+=.5*t.labelMargin,L(e,t)},`drawLabel`),R=d(function(e,t,n){let r=e.append(`g`),i=B();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=n.width,i.height=n.height,i.class=`journey-section section-type-`+t.num,i.rx=3,i.ry=3,I(r,i),V(n)(t.text,r,i.x,i.y,i.width,i.height,{class:`journey-section section-type-`+t.num},n,t.colour)},`drawSection`),z=-1,ie=d(function(e,t,n,r){let i=t.x+n.width/2,a=e.append(`g`);z++,a.append(`line`).attr(`id`,r+`-task`+z).attr(`x1`,i).attr(`y1`,t.y).attr(`x2`,i).attr(`y2`,450).attr(`class`,`task-line`).attr(`stroke-width`,`1px`).attr(`stroke-dasharray`,`4 2`).attr(`stroke`,`#666`),te(a,{cx:i,cy:300+(5-t.score)*30,score:t.score});let o=B();o.x=t.x,o.y=t.y,o.fill=t.fill,o.width=n.width,o.height=n.height,o.class=`task task-type-`+t.num,o.rx=3,o.ry=3,I(a,o),V(n)(t.task,a,o.x,o.y,o.width,o.height,{class:`task`},n,t.colour)},`drawTask`),ae=d(function(e,t){I(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:`rect`}).lower()},`drawBackgroundRect`),oe=d(function(){return{x:0,y:0,fill:void 0,"text-anchor":`start`,width:100,height:100,textMargin:0,rx:0,ry:0}},`getTextObj`),B=d(function(){return{x:0,y:0,width:100,anchor:`start`,height:100,rx:0,ry:0}},`getNoteRect`),V=(function(){function e(e,t,n,i,a,o,s,c){r(t.append(`text`).attr(`x`,n+a/2).attr(`y`,i+o/2+5).style(`font-color`,c).style(`text-anchor`,`middle`).text(e),s)}d(e,`byText`);function t(e,t,n,i,a,o,s,c,l){let{taskFontSize:u,taskFontFamily:d}=c,f=e.split(/<br\s*\/?>/gi);for(let e=0;e<f.length;e++){let c=e*u-u*(f.length-1)/2,p=t.append(`text`).attr(`x`,n+a/2).attr(`y`,i).attr(`fill`,l).style(`text-anchor`,`middle`).style(`font-size`,u).style(`font-family`,d);p.append(`tspan`).attr(`x`,n+a/2).attr(`dy`,c).text(f[e]),p.attr(`y`,i+o/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),r(p,s)}}d(t,`byTspan`);function n(e,n,i,a,o,s,c,l){let u=n.append(`switch`),d=u.append(`foreignObject`).attr(`x`,i).attr(`y`,a).attr(`width`,o).attr(`height`,s).attr(`position`,`fixed`).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).attr(`class`,`label`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),t(e,u,i,a,o,s,c,l),r(d,c)}d(n,`byFo`);function r(e,t){for(let n in t)n in t&&e.attr(n,t[n])}return d(r,`_setTextAttrs`),function(r){return r.textPlacement===`fo`?n:r.textPlacement===`old`?e:t}})(),se=d(function(e,t){F=0,z=-1,e.append(`defs`).append(`marker`).attr(`id`,t+`-arrowhead`).attr(`refX`,5).attr(`refY`,2).attr(`markerWidth`,6).attr(`markerHeight`,4).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0,0 V 4 L6,2 Z`)},`initGraphics`);function H(e,t){e.each(function(){var e=p(this),n=e.text().split(/(\s+|<br>)/).reverse(),r,i=[],a=1.1,o=e.attr(`y`),s=parseFloat(e.attr(`dy`)),c=e.text(null).append(`tspan`).attr(`x`,0).attr(`y`,o).attr(`dy`,s+`em`);for(let s=0;s<n.length;s++)r=n[n.length-1-s],i.push(r),c.text(i.join(` `).trim()),(c.node().getComputedTextLength()>t||r===`<br>`)&&(i.pop(),c.text(i.join(` `).trim()),i=r===`<br>`?[``]:[r],c=e.append(`tspan`).attr(`x`,0).attr(`y`,o).attr(`dy`,a+`em`).text(r))})}d(H,`wrap`);var ce=d(function(e,t,n,r,i,a=!1){let{theme:o,look:s}=r,c=o?.includes(`redux`),l=n%(r?.themeVariables?.THEME_COLOR_LIMIT??12)-1,u=e.append(`g`);t.section=l,u.attr(`class`,(t.class?t.class+` `:``)+`timeline-node `+(`section-`+l));let d=u.append(`g`),f=u.append(`g`),m=f.append(`text`).text(t.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(H,t.width).node().getBBox(),h=r.fontSize?.replace?r.fontSize.replace(`px`,``):r.fontSize;if(t.height=m.height+h*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width+=2*t.padding,f.attr(`transform`,`translate(`+t.width/2+`, `+t.padding/2+`)`),c&&f.attr(`transform`,`translate(${t.width/2}, ${a?t.padding/2+3:t.padding})`),ue(d,t,l,i,r),s===`neo`&&(u.attr(`data-look`,`neo`),c)){let t=o.includes(`dark`),n=p(e.node()?.ownerSVGElement??e.node()),r=n.attr(`id`)??``,i=r?`${r}-drop-shadow`:`drop-shadow`;if(n.select(`#${i}`).empty()){let e=n.select(`defs`);(e.empty()?n.append(`defs`):e).append(`filter`).attr(`id`,i).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,t?`0.2`:`0.06`).attr(`flood-color`,t?`#FFFFFF`:`#000000`)}}return t},`drawNode`),le=d(function(e,t,n){let r=e.append(`g`),i=r.append(`text`).text(t.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(H,t.width).node().getBBox(),a=n.fontSize?.replace?n.fontSize.replace(`px`,``):n.fontSize;return r.remove(),i.height+a*1.1*.5+t.padding},`getVirtualNodeHeight`),ue=d(function(e,t,n,r,i){let{theme:a}=i,o=a?.includes(`redux`)?0:5,s=o>0?`M0 ${t.height-5} v${-t.height+10} q0,-${o},${o},-${o} h${t.width-10} q${o},0,${o},${o} v${t.height-5} H0 Z`:`M0 ${t.height-5} v${-(t.height-5)} h${t.width} v${t.height} H0 Z`;e.append(`path`).attr(`id`,r+`-node-`+ F++).attr(`class`,`node-bkg node-`+t.type).attr(`d`,s),a?.includes(`redux`)||e.append(`line`).attr(`class`,`node-line-`+n).attr(`x1`,0).attr(`y1`,t.height).attr(`x2`,t.width).attr(`y2`,t.height)},`defaultBkg`),U={drawRect:I,drawCircle:ne,drawSection:R,drawText:L,drawLabel:re,drawTask:ie,drawBackgroundRect:ae,getTextObj:oe,getNoteRect:B,initGraphics:se,drawNode:ce,getVirtualNodeHeight:le},de=d(function(e,r,i,a){let o=t(),{look:s,theme:l,themeVariables:u}=o,{useGradient:d,gradientStart:f,gradientStop:m}=u,h=o.timeline?.leftMargin??50;c.debug(`timeline`,a.db);let g=o.securityLevel,_;g===`sandbox`&&(_=p(`#i`+r));let v=p(g===`sandbox`?_.nodes()[0].contentDocument.body:`body`).select(`#`+r);v.append(`g`);let y=a.db.getTasks(),b=a.db.getCommonDb().getDiagramTitle();c.debug(`task`,y),U.initGraphics(v,r);let x=a.db.getSections();c.debug(`sections`,x);let S=0,C=0,w=0,T=0,E=50+h,D=50;T=50;let O=0,k=!0;x.forEach(function(e){let t={number:O,descr:e,section:O,width:150,padding:20,maxHeight:S},n=U.getVirtualNodeHeight(v,t,o);c.debug(`sectionHeight before draw`,n),S=Math.max(S,n+20)});let A=0,j=0;c.debug(`tasks.length`,y.length);for(let[e,t]of y.entries()){let n={number:e,descr:t,section:t.section,width:150,padding:20,maxHeight:C},r=U.getVirtualNodeHeight(v,n,o);c.debug(`taskHeight before draw`,r),C=Math.max(C,r+20),A=Math.max(A,t.events.length);let i=0;for(let e of t.events){let n={descr:e,section:t.section,number:t.section,width:150,padding:20,maxHeight:50};i+=U.getVirtualNodeHeight(v,n,o)}t.events.length>0&&(i+=(t.events.length-1)*10),j=Math.max(j,i)}c.debug(`maxSectionHeight before draw`,S),c.debug(`maxTaskHeight before draw`,C),x&&x.length>0?x.forEach(e=>{let t=y.filter(t=>t.section===e),n={number:O,descr:e,section:O,width:200*Math.max(t.length,1)-50,padding:20,maxHeight:S};c.debug(`sectionNode`,n);let i=v.append(`g`),a=U.drawNode(i,n,O,o,r);c.debug(`sectionNode output`,a),i.attr(`transform`,`translate(${E}, ${T})`),D+=S+50,t.length>0&&W(v,t,O,E,D,C,o,A,j,S,!1,r),E+=200*Math.max(t.length,1),D=T,O++}):(k=!1,W(v,y,O,E,D,C,o,A,j,S,!0,r));let M=v.node().getBBox();if(c.debug(`bounds`,M),b&&v.append(`text`).text(b).attr(`x`,s===`neo`?M.x*2+h:M.width/2-h).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),w=k?S+C+150:C+100,v.append(`g`).attr(`class`,`lineWrapper`).append(`line`).attr(`x1`,h).attr(`y1`,w).attr(`x2`,M.width+3*h).attr(`y2`,w).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#${r}-arrowhead)`),s===`neo`&&d&&l!==`neutral`){let e=v.select(`defs`),t=(e.empty()?v.append(`defs`):e).append(`linearGradient`).attr(`id`,v.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,f).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,m).attr(`stop-opacity`,1)}n(void 0,v,o.timeline?.padding??50,o.timeline?.useMaxWidth??!1)},`draw`),W=d(function(e,t,n,r,i,a,o,s,l,u,d,f){for(let s of t){let t={descr:s.task,section:n,number:n,width:150,padding:20,maxHeight:a};c.debug(`taskNode`,t);let u=e.append(`g`).attr(`class`,`taskWrapper`),p=U.drawNode(u,t,n,o,f).height;if(c.debug(`taskHeight after draw`,p),u.attr(`transform`,`translate(${r}, ${i})`),a=Math.max(a,p),s.events){let t=e.append(`g`).attr(`class`,`lineWrapper`),c=a;i+=100,c+=fe(e,s.events,n,r,i,o,f),i-=100,t.append(`line`).attr(`x1`,r+190/2).attr(`y1`,i+a).attr(`x2`,r+190/2).attr(`y2`,i+a+100+l+100).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#${f}-arrowhead)`).attr(`stroke-dasharray`,`5,5`)}r+=200,d&&!o.timeline?.disableMulticolor&&n++}i-=10},`drawTasks`),fe=d(function(e,t,n,r,i,a,o){let s=0,l=i;i+=100;for(let l of t){let t={descr:l,section:n,number:n,width:150,padding:20,maxHeight:50};c.debug(`eventNode`,t);let u=e.append(`g`).attr(`class`,`eventWrapper`),d=U.drawNode(u,t,n,a,o,!0).height;s+=d,u.attr(`transform`,`translate(${r}, ${i})`),i=i+10+d}return i=l,s},`drawEvents`),pe={setConf:d(()=>{},`setConf`),draw:de},G=200,K=5,me=G+K*2,q=G+100,he=q+K*2,J=10,ge=0,Y=20,X=20,Z=30,Q=50,_e=d(function(e,r,i,o){let s=t(),l=s.timeline?.leftMargin??50;c.debug(`timeline`,o.db);let u=a(r);u.append(`g`);let d=o.db.getTasks(),p=o.db.getCommonDb().getDiagramTitle();c.debug(`task`,d),U.initGraphics(u);let m=o.db.getSections();c.debug(`sections`,m);let h=0,g=0,_=50+l,v=50,y=v,b=_,x=me+X,S=he+Q,C=b+x,w=0,T=m&&m.length>0,E=T?C:_+x,D=Math.max(50,x+S-K*2);m.forEach(function(e){let t={number:w,descr:e,section:w,width:D,padding:K,maxHeight:h},n=U.getVirtualNodeHeight(u,t,s);c.debug(`sectionHeight before draw`,n),h=Math.max(h,n)});let O=0;c.debug(`tasks.length`,d.length);for(let[e,t]of d.entries()){let n={number:e,descr:t,section:t.section,width:G,padding:K,maxHeight:g},r=U.getVirtualNodeHeight(u,n,s);c.debug(`taskHeight before draw`,r),g=Math.max(g,r);let i=0;for(let e of t.events){let n={descr:e,section:t.section,number:t.section,width:q,padding:K,maxHeight:50};i+=U.getVirtualNodeHeight(u,n,s)}t.events.length>0&&(i+=(t.events.length-1)*J),O=Math.max(O,i)+ge}c.debug(`maxSectionHeight before draw`,h),c.debug(`maxTaskHeight before draw`,g);let k=Math.max(g,O)+Z;T?m.forEach(e=>{let t=d.filter(t=>t.section===e),n={number:w,descr:e,section:w,width:D,padding:K,maxHeight:h};c.debug(`sectionNode`,n);let r=u.append(`g`),i=U.drawNode(r,n,w,s);c.debug(`sectionNode output`,i);let a=E-x;r.attr(`transform`,`translate(${a}, ${v})`);let o=v+i.height+Y;t.length>0&&$(u,t,w,E,o,g,s,k,!1);let l=t.length,f=i.height+Y+k*Math.max(l,1)-(l>0?Z*2:0);v+=f,w++}):$(u,d,w,E,v,g,s,k,!0);let A=u.node()?.getBBox();if(!A)throw Error(`bbox not found`);if(c.debug(`bounds`,A),p){if(u.append(`text`).text(p).attr(`x`,A.width/2-l).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),A=u.node()?.getBBox(),!A)throw Error(`bbox not found`);c.debug(`bounds after title`,A)}let[j]=f(s.fontSize),M=(j??16)*2,N=(j??16)*.5+20,P=u.append(`g`).attr(`class`,`lineWrapper`);P.append(`line`).attr(`x1`,E).attr(`y1`,y-M).attr(`x2`,E).attr(`y2`,A.y+A.height+N).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`),P.lower(),n(void 0,u,s.timeline?.padding??50,s.timeline?.useMaxWidth??!1)},`draw`),$=d(function(e,t,n,r,i,a,o,s,l){for(let u of t){let t={descr:u.task,section:n,number:n,width:G,padding:K,maxHeight:a};c.debug(`taskNode`,t);let d=e.append(`g`).attr(`class`,`taskWrapper`),f=U.drawNode(d,t,n,o),p=f.height;c.debug(`taskHeight after draw`,p);let m=r-X-f.width;if(d.attr(`transform`,`translate(${m}, ${i})`),a=Math.max(a,p),u.events&&u.events.length>0){let t=i,a=r+Q;ve(e,u.events,n,r,a,t,o)}i+=s,l&&!o.timeline?.disableMulticolor&&n++}},`drawTasks`),ve=d(function(e,t,n,r,i,a,o){let s=a;for(let a of t){let t={descr:a,section:n,number:n,width:q,padding:K,maxHeight:0};c.debug(`eventNode`,t);let l=e.append(`g`).attr(`class`,`eventWrapper`),u=U.drawNode(l,t,n,o).height;l.attr(`transform`,`translate(${i}, ${s})`);let d=e.append(`g`).attr(`class`,`lineWrapper`),f=s+u/2;d.append(`line`).attr(`x1`,r).attr(`y1`,f).attr(`x2`,i).attr(`y2`,f).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`).attr(`stroke-dasharray`,`5,5`),s=s+u+J}return s-a},`drawEvents`),ye={setConf:d(()=>{},`setConf`),draw:_e},be=d(e=>{let{theme:t}=l(),n=t?.includes(`dark`),r=t?.includes(`color`),i=e.svgId?.replace(/^#/,``)??``,a=i?`url(#${i}-drop-shadow)`:e.dropShadow??`none`,o=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++){let i=`${17-3*t}`,s=r?e.borderColorArray[t]:e.mainBkg,c=r?e.borderColorArray[t]:e.nodeBorder;o+=`
|
|
7
|
-
.section-${t-1} rect,
|
|
8
|
-
.section-${t-1} path,
|
|
9
|
-
.section-${t-1} circle {
|
|
10
|
-
fill: ${n&&r?e.mainBkg:s};
|
|
11
|
-
stroke: ${c};
|
|
12
|
-
stroke-width: ${e.strokeWidth};
|
|
13
|
-
filter: ${a};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.section-${t-1} text {
|
|
17
|
-
fill: ${e.nodeBorder};
|
|
18
|
-
font-weight: ${e.fontWeight}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.node-icon-${t-1} {
|
|
22
|
-
font-size: 40px;
|
|
23
|
-
color: ${e[`cScaleLabel`+t]};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.section-edge-${t-1} {
|
|
27
|
-
stroke: ${e[`cScale`+t]};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.edge-depth-${t-1} {
|
|
31
|
-
stroke-width: ${i};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.section-${t-1} line {
|
|
35
|
-
stroke: ${e[`cScaleInv`+t]};
|
|
36
|
-
stroke-width: 3;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.lineWrapper line {
|
|
40
|
-
stroke: ${e.nodeBorder};
|
|
41
|
-
stroke-width:${e.strokeWidth}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.disabled,
|
|
45
|
-
.disabled circle,
|
|
46
|
-
.disabled text {
|
|
47
|
-
fill: ${e.tertiaryColor??`lightgray`};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.disabled text {
|
|
51
|
-
fill: ${e.clusterBorder??`#efefef`};
|
|
52
|
-
}
|
|
53
|
-
`}return o},`genReduxSections`),xe=d(e=>{let t=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e[`lineColor`+t]=e[`lineColor`+t]||e[`cScaleInv`+t],r(e[`lineColor`+t])?e[`lineColor`+t]=o(e[`lineColor`+t],20):e[`lineColor`+t]=s(e[`lineColor`+t],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let r=``+(17-3*n);t+=`
|
|
54
|
-
.section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {
|
|
55
|
-
fill: ${e[`cScale`+n]};
|
|
56
|
-
}
|
|
57
|
-
.section-${n-1} text {
|
|
58
|
-
fill: ${e[`cScaleLabel`+n]};
|
|
59
|
-
}
|
|
60
|
-
.node-icon-${n-1} {
|
|
61
|
-
font-size: 40px;
|
|
62
|
-
color: ${e[`cScaleLabel`+n]};
|
|
63
|
-
}
|
|
64
|
-
.section-edge-${n-1}{
|
|
65
|
-
stroke: ${e[`cScale`+n]};
|
|
66
|
-
}
|
|
67
|
-
.edge-depth-${n-1}{
|
|
68
|
-
stroke-width: ${r};
|
|
69
|
-
}
|
|
70
|
-
.section-${n-1} line {
|
|
71
|
-
stroke: ${e[`cScaleInv`+n]} ;
|
|
72
|
-
stroke-width: 3;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.lineWrapper line{
|
|
76
|
-
stroke: ${e[`cScaleLabel`+n]} ;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.disabled, .disabled circle, .disabled text {
|
|
80
|
-
fill: ${e.tertiaryColor??`lightgray`};
|
|
81
|
-
}
|
|
82
|
-
.disabled text {
|
|
83
|
-
fill: ${e.clusterBorder??`#efefef`};
|
|
84
|
-
}
|
|
85
|
-
`}return t},`genSections`),Se={db:_,renderer:{setConf:d(()=>{},`setConf`),draw:d((e,t,n,r)=>(r?.db?.getDirection?.()??`LR`)===`TD`?ye.draw(e,t,n,r):pe.draw(e,t,n,r),`draw`)},parser:g,styles:d(e=>{let{theme:t}=l(),n=t?.includes(`redux`),r=t===`neutral`,i=e.svgId?.replace(/^#/,``)??``,a=``;if(e.useGradient&&i&&e.THEME_COLOR_LIMIT&&!r)for(let t=0;t<e.THEME_COLOR_LIMIT;t++)a+=`
|
|
86
|
-
.section-${t-1}[data-look="neo"] rect,
|
|
87
|
-
.section-${t-1}[data-look="neo"] path,
|
|
88
|
-
.section-${t-1}[data-look="neo"] circle {
|
|
89
|
-
fill: ${e.mainBkg};
|
|
90
|
-
stroke: url(#${i}-gradient);
|
|
91
|
-
stroke-width: 2;
|
|
92
|
-
}
|
|
93
|
-
.section-${t-1}[data-look="neo"] line {
|
|
94
|
-
stroke: url(#${i}-gradient);
|
|
95
|
-
stroke-width: 2;
|
|
96
|
-
}`;return`
|
|
97
|
-
.edge {
|
|
98
|
-
stroke-width: 3;
|
|
99
|
-
}
|
|
100
|
-
${n?be(e):xe(e)}
|
|
101
|
-
${a}
|
|
102
|
-
.section-root rect, .section-root path, .section-root circle {
|
|
103
|
-
fill: ${e.git0};
|
|
104
|
-
}
|
|
105
|
-
.section-root text {
|
|
106
|
-
fill: ${e.gitBranchLabel0};
|
|
107
|
-
}
|
|
108
|
-
.icon-container {
|
|
109
|
-
height:100%;
|
|
110
|
-
display: flex;
|
|
111
|
-
justify-content: center;
|
|
112
|
-
align-items: center;
|
|
113
|
-
}
|
|
114
|
-
.edge {
|
|
115
|
-
fill: none;
|
|
116
|
-
}
|
|
117
|
-
.eventWrapper {
|
|
118
|
-
filter: brightness(120%);
|
|
119
|
-
}
|
|
120
|
-
`},`getStyles`)};export{Se as diagram};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./arc-EsqL9E_k.js";import{An as t,Gn as n,Qn as r,Sn as i,Vt as a,Xn as o,Yn as s,ir as c,kn as l,nr as u,rr as d,st as f,vn as p,xn as m}from"./index-8YKIjcJe.js";var h=(function(){var e=d(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[6,11,13,14,15,17,19,20,23,24],n=[1,12],r=[1,13],i=[1,14],a=[1,15],o=[1,16],s=[1,19],c=[1,20],l={trace:d(function(){},`trace`),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:`error`,6:`EOF`,7:`timeline`,8:`timeline_lr`,9:`timeline_td`,11:`SPACE`,13:`NEWLINE`,14:`title`,15:`acc_title`,16:`acc_title_value`,17:`acc_descr`,18:`acc_descr_value`,19:`acc_descr_multiline_value`,20:`section`,23:`period`,24:`event`},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:d(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:r.setDirection(`LR`);break;case 4:r.setDirection(`TD`);break;case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:case 10:this.$=[];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s],0,``),this.$=a[s];break;case 19:r.addEvent(a[s].substr(2)),this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:n,15:r,17:i,19:a,20:o,21:17,22:18,23:s,24:c},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:n,15:r,17:i,19:a,20:o,21:17,22:18,23:s,24:c},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:d(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:d(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,f=2,p=1,m=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;a.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}d(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}d(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(c+1)+`:
|
|
2
|
-
`+h.showPosition()+`
|
|
3
|
-
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(h.yytext),a.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(l=h.yyleng,s=h.yytext,c=h.yylineno,v=h.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,l,c,g.yy,T[1],i,a].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};l.lexer=(function(){return{EOF:1,parseError:d(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:d(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:d(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:d(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:d(function(){return this._more=!0,this},`more`),reject:d(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
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:d(function(e){this.unput(this.match.slice(e))},`less`),pastInput:d(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:d(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:d(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
-
`+t+`^`},`showPosition`),test_match:d(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:d(function(){return this.next()||this.lex()},`lex`),begin:d(function(e){this.conditionStack.push(e)},`begin`),popState:d(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:d(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:d(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:d(function(e){this.begin(e)},`pushState`),stateStackSize:d(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:d(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return 13;case 3:break;case 4:break;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin(`acc_title`),15;case 10:return this.popState(),`acc_title_value`;case 11:return this.begin(`acc_descr`),17;case 12:return this.popState(),`acc_descr_value`;case 13:this.begin(`acc_descr_multiline`);break;case 14:this.popState();break;case 15:return`acc_descr_multiline_value`;case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return`INVALID`}},`anonymous`),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}}})();function u(){this.yy={}}return d(u,`Parser`),u.prototype=l,l.Parser=u,new u})();h.parser=h;var g=h,_={};u(_,{addEvent:()=>M,addSection:()=>O,addTask:()=>j,addTaskOrg:()=>N,clear:()=>T,default:()=>ee,getCommonDb:()=>w,getDirection:()=>D,getSections:()=>k,getTasks:()=>A,setDirection:()=>E});var v=``,y=0,b=`LR`,x=[],S=[],C=[],w=d(()=>i,`getCommonDb`),T=d(function(){x.length=0,S.length=0,v=``,C.length=0,b=`LR`,m()},`clear`),E=d(function(e){b=e},`setDirection`),D=d(function(){return b},`getDirection`),O=d(function(e){v=e,x.push(e)},`addSection`),k=d(function(){return x},`getSections`),A=d(function(){let e=P(),t=0;for(;!e&&t<100;)e=P(),t++;return S.push(...C),S},`getTasks`),j=d(function(e,t,n){let r={id:y++,section:v,type:v,task:e,score:t||0,events:n?[n]:[]};C.push(r)},`addTask`),M=d(function(e){C.find(e=>e.id===y-1).events.push(e)},`addEvent`),N=d(function(e){let t={section:v,type:v,description:e,task:e,classes:[]};S.push(t)},`addTaskOrg`),P=d(function(){let e=d(function(e){return C[e].processed},`compileTask`),t=!0;for(let[n,r]of C.entries())e(n),t&&=r.processed;return t},`compileTasks`),ee={clear:T,getCommonDb:w,getDirection:D,setDirection:E,addSection:O,getSections:k,getTasks:A,addTask:j,addTaskOrg:N,addEvent:M},F=0,I=d(function(e,t){let n=e.append(`rect`);return n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),n.attr(`rx`,t.rx),n.attr(`ry`,t.ry),t.class!==void 0&&n.attr(`class`,t.class),n},`drawRect`),te=d(function(t,n){let r=t.append(`circle`).attr(`cx`,n.cx).attr(`cy`,n.cy).attr(`class`,`face`).attr(`r`,15).attr(`stroke-width`,2).attr(`overflow`,`visible`),i=t.append(`g`);i.append(`circle`).attr(`cx`,n.cx-15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`),i.append(`circle`).attr(`cx`,n.cx+15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`);function a(t){let r=e().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(15/2).outerRadius(15/2.2);t.append(`path`).attr(`class`,`mouth`).attr(`d`,r).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+2)+`)`)}d(a,`smile`);function o(t){let r=e().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(15/2).outerRadius(15/2.2);t.append(`path`).attr(`class`,`mouth`).attr(`d`,r).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+7)+`)`)}d(o,`sad`);function s(e){e.append(`line`).attr(`class`,`mouth`).attr(`stroke`,2).attr(`x1`,n.cx-5).attr(`y1`,n.cy+7).attr(`x2`,n.cx+5).attr(`y2`,n.cy+7).attr(`class`,`mouth`).attr(`stroke-width`,`1px`).attr(`stroke`,`#666`)}return d(s,`ambivalent`),n.score>3?a(i):n.score<3?o(i):s(i),r},`drawFace`),ne=d(function(e,t){let n=e.append(`circle`);return n.attr(`cx`,t.cx),n.attr(`cy`,t.cy),n.attr(`class`,`actor-`+t.pos),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`r`,t.r),n.class!==void 0&&n.attr(`class`,n.class),t.title!==void 0&&n.append(`title`).text(t.title),n},`drawCircle`),L=d(function(e,t){let n=t.text.replace(/<br\s*\/?>/gi,` `),r=e.append(`text`);r.attr(`x`,t.x),r.attr(`y`,t.y),r.attr(`class`,`legend`),r.style(`text-anchor`,t.anchor),t.class!==void 0&&r.attr(`class`,t.class);let i=r.append(`tspan`);return i.attr(`x`,t.x+t.textMargin*2),i.text(n),r},`drawText`),re=d(function(e,t){function n(e,t,n,r,i){return e+`,`+t+` `+(e+n)+`,`+t+` `+(e+n)+`,`+(t+r-i)+` `+(e+n-i*1.2)+`,`+(t+r)+` `+e+`,`+(t+r)}d(n,`genPoints`);let r=e.append(`polygon`);r.attr(`points`,n(t.x,t.y,50,20,7)),r.attr(`class`,`labelBox`),t.y+=t.labelMargin,t.x+=.5*t.labelMargin,L(e,t)},`drawLabel`),R=d(function(e,t,n){let r=e.append(`g`),i=B();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=n.width,i.height=n.height,i.class=`journey-section section-type-`+t.num,i.rx=3,i.ry=3,I(r,i),V(n)(t.text,r,i.x,i.y,i.width,i.height,{class:`journey-section section-type-`+t.num},n,t.colour)},`drawSection`),z=-1,ie=d(function(e,t,n,r){let i=t.x+n.width/2,a=e.append(`g`);z++,a.append(`line`).attr(`id`,r+`-task`+z).attr(`x1`,i).attr(`y1`,t.y).attr(`x2`,i).attr(`y2`,450).attr(`class`,`task-line`).attr(`stroke-width`,`1px`).attr(`stroke-dasharray`,`4 2`).attr(`stroke`,`#666`),te(a,{cx:i,cy:300+(5-t.score)*30,score:t.score});let o=B();o.x=t.x,o.y=t.y,o.fill=t.fill,o.width=n.width,o.height=n.height,o.class=`task task-type-`+t.num,o.rx=3,o.ry=3,I(a,o),V(n)(t.task,a,o.x,o.y,o.width,o.height,{class:`task`},n,t.colour)},`drawTask`),ae=d(function(e,t){I(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:`rect`}).lower()},`drawBackgroundRect`),oe=d(function(){return{x:0,y:0,fill:void 0,"text-anchor":`start`,width:100,height:100,textMargin:0,rx:0,ry:0}},`getTextObj`),B=d(function(){return{x:0,y:0,width:100,anchor:`start`,height:100,rx:0,ry:0}},`getNoteRect`),V=(function(){function e(e,t,n,i,a,o,s,c){r(t.append(`text`).attr(`x`,n+a/2).attr(`y`,i+o/2+5).style(`font-color`,c).style(`text-anchor`,`middle`).text(e),s)}d(e,`byText`);function t(e,t,n,i,a,o,s,c,l){let{taskFontSize:u,taskFontFamily:d}=c,f=e.split(/<br\s*\/?>/gi);for(let e=0;e<f.length;e++){let c=e*u-u*(f.length-1)/2,p=t.append(`text`).attr(`x`,n+a/2).attr(`y`,i).attr(`fill`,l).style(`text-anchor`,`middle`).style(`font-size`,u).style(`font-family`,d);p.append(`tspan`).attr(`x`,n+a/2).attr(`dy`,c).text(f[e]),p.attr(`y`,i+o/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),r(p,s)}}d(t,`byTspan`);function n(e,n,i,a,o,s,c,l){let u=n.append(`switch`),d=u.append(`foreignObject`).attr(`x`,i).attr(`y`,a).attr(`width`,o).attr(`height`,s).attr(`position`,`fixed`).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).attr(`class`,`label`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),t(e,u,i,a,o,s,c,l),r(d,c)}d(n,`byFo`);function r(e,t){for(let n in t)n in t&&e.attr(n,t[n])}return d(r,`_setTextAttrs`),function(r){return r.textPlacement===`fo`?n:r.textPlacement===`old`?e:t}})(),se=d(function(e,t){F=0,z=-1,e.append(`defs`).append(`marker`).attr(`id`,t+`-arrowhead`).attr(`refX`,5).attr(`refY`,2).attr(`markerWidth`,6).attr(`markerHeight`,4).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0,0 V 4 L6,2 Z`)},`initGraphics`);function H(e,t){e.each(function(){var e=p(this),n=e.text().split(/(\s+|<br>)/).reverse(),r,i=[],a=1.1,o=e.attr(`y`),s=parseFloat(e.attr(`dy`)),c=e.text(null).append(`tspan`).attr(`x`,0).attr(`y`,o).attr(`dy`,s+`em`);for(let s=0;s<n.length;s++)r=n[n.length-1-s],i.push(r),c.text(i.join(` `).trim()),(c.node().getComputedTextLength()>t||r===`<br>`)&&(i.pop(),c.text(i.join(` `).trim()),i=r===`<br>`?[``]:[r],c=e.append(`tspan`).attr(`x`,0).attr(`y`,o).attr(`dy`,a+`em`).text(r))})}d(H,`wrap`);var ce=d(function(e,t,n,r,i,a=!1){let{theme:o,look:s}=r,c=o?.includes(`redux`),l=n%(r?.themeVariables?.THEME_COLOR_LIMIT??12)-1,u=e.append(`g`);t.section=l,u.attr(`class`,(t.class?t.class+` `:``)+`timeline-node `+(`section-`+l));let d=u.append(`g`),f=u.append(`g`),m=f.append(`text`).text(t.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(H,t.width).node().getBBox(),h=r.fontSize?.replace?r.fontSize.replace(`px`,``):r.fontSize;if(t.height=m.height+h*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width+=2*t.padding,f.attr(`transform`,`translate(`+t.width/2+`, `+t.padding/2+`)`),c&&f.attr(`transform`,`translate(${t.width/2}, ${a?t.padding/2+3:t.padding})`),ue(d,t,l,i,r),s===`neo`&&(u.attr(`data-look`,`neo`),c)){let t=o.includes(`dark`),n=p(e.node()?.ownerSVGElement??e.node()),r=n.attr(`id`)??``,i=r?`${r}-drop-shadow`:`drop-shadow`;if(n.select(`#${i}`).empty()){let e=n.select(`defs`);(e.empty()?n.append(`defs`):e).append(`filter`).attr(`id`,i).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,t?`0.2`:`0.06`).attr(`flood-color`,t?`#FFFFFF`:`#000000`)}}return t},`drawNode`),le=d(function(e,t,n){let r=e.append(`g`),i=r.append(`text`).text(t.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(H,t.width).node().getBBox(),a=n.fontSize?.replace?n.fontSize.replace(`px`,``):n.fontSize;return r.remove(),i.height+a*1.1*.5+t.padding},`getVirtualNodeHeight`),ue=d(function(e,t,n,r,i){let{theme:a}=i,o=a?.includes(`redux`)?0:5,s=o>0?`M0 ${t.height-5} v${-t.height+10} q0,-${o},${o},-${o} h${t.width-10} q${o},0,${o},${o} v${t.height-5} H0 Z`:`M0 ${t.height-5} v${-(t.height-5)} h${t.width} v${t.height} H0 Z`;e.append(`path`).attr(`id`,r+`-node-`+ F++).attr(`class`,`node-bkg node-`+t.type).attr(`d`,s),a?.includes(`redux`)||e.append(`line`).attr(`class`,`node-line-`+n).attr(`x1`,0).attr(`y1`,t.height).attr(`x2`,t.width).attr(`y2`,t.height)},`defaultBkg`),U={drawRect:I,drawCircle:ne,drawSection:R,drawText:L,drawLabel:re,drawTask:ie,drawBackgroundRect:ae,getTextObj:oe,getNoteRect:B,initGraphics:se,drawNode:ce,getVirtualNodeHeight:le},de=d(function(e,r,i,a){let o=t(),{look:s,theme:l,themeVariables:u}=o,{useGradient:d,gradientStart:f,gradientStop:m}=u,h=o.timeline?.leftMargin??50;c.debug(`timeline`,a.db);let g=o.securityLevel,_;g===`sandbox`&&(_=p(`#i`+r));let v=p(g===`sandbox`?_.nodes()[0].contentDocument.body:`body`).select(`#`+r);v.append(`g`);let y=a.db.getTasks(),b=a.db.getCommonDb().getDiagramTitle();c.debug(`task`,y),U.initGraphics(v,r);let x=a.db.getSections();c.debug(`sections`,x);let S=0,C=0,w=0,T=0,E=50+h,D=50;T=50;let O=0,k=!0;x.forEach(function(e){let t={number:O,descr:e,section:O,width:150,padding:20,maxHeight:S},n=U.getVirtualNodeHeight(v,t,o);c.debug(`sectionHeight before draw`,n),S=Math.max(S,n+20)});let A=0,j=0;c.debug(`tasks.length`,y.length);for(let[e,t]of y.entries()){let n={number:e,descr:t,section:t.section,width:150,padding:20,maxHeight:C},r=U.getVirtualNodeHeight(v,n,o);c.debug(`taskHeight before draw`,r),C=Math.max(C,r+20),A=Math.max(A,t.events.length);let i=0;for(let e of t.events){let n={descr:e,section:t.section,number:t.section,width:150,padding:20,maxHeight:50};i+=U.getVirtualNodeHeight(v,n,o)}t.events.length>0&&(i+=(t.events.length-1)*10),j=Math.max(j,i)}c.debug(`maxSectionHeight before draw`,S),c.debug(`maxTaskHeight before draw`,C),x&&x.length>0?x.forEach(e=>{let t=y.filter(t=>t.section===e),n={number:O,descr:e,section:O,width:200*Math.max(t.length,1)-50,padding:20,maxHeight:S};c.debug(`sectionNode`,n);let i=v.append(`g`),a=U.drawNode(i,n,O,o,r);c.debug(`sectionNode output`,a),i.attr(`transform`,`translate(${E}, ${T})`),D+=S+50,t.length>0&&W(v,t,O,E,D,C,o,A,j,S,!1,r),E+=200*Math.max(t.length,1),D=T,O++}):(k=!1,W(v,y,O,E,D,C,o,A,j,S,!0,r));let M=v.node().getBBox();if(c.debug(`bounds`,M),b&&v.append(`text`).text(b).attr(`x`,s===`neo`?M.x*2+h:M.width/2-h).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),w=k?S+C+150:C+100,v.append(`g`).attr(`class`,`lineWrapper`).append(`line`).attr(`x1`,h).attr(`y1`,w).attr(`x2`,M.width+3*h).attr(`y2`,w).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#${r}-arrowhead)`),s===`neo`&&d&&l!==`neutral`){let e=v.select(`defs`),t=(e.empty()?v.append(`defs`):e).append(`linearGradient`).attr(`id`,v.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,f).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,m).attr(`stop-opacity`,1)}n(void 0,v,o.timeline?.padding??50,o.timeline?.useMaxWidth??!1)},`draw`),W=d(function(e,t,n,r,i,a,o,s,l,u,d,f){for(let s of t){let t={descr:s.task,section:n,number:n,width:150,padding:20,maxHeight:a};c.debug(`taskNode`,t);let u=e.append(`g`).attr(`class`,`taskWrapper`),p=U.drawNode(u,t,n,o,f).height;if(c.debug(`taskHeight after draw`,p),u.attr(`transform`,`translate(${r}, ${i})`),a=Math.max(a,p),s.events){let t=e.append(`g`).attr(`class`,`lineWrapper`),c=a;i+=100,c+=fe(e,s.events,n,r,i,o,f),i-=100,t.append(`line`).attr(`x1`,r+190/2).attr(`y1`,i+a).attr(`x2`,r+190/2).attr(`y2`,i+a+100+l+100).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#${f}-arrowhead)`).attr(`stroke-dasharray`,`5,5`)}r+=200,d&&!o.timeline?.disableMulticolor&&n++}i-=10},`drawTasks`),fe=d(function(e,t,n,r,i,a,o){let s=0,l=i;i+=100;for(let l of t){let t={descr:l,section:n,number:n,width:150,padding:20,maxHeight:50};c.debug(`eventNode`,t);let u=e.append(`g`).attr(`class`,`eventWrapper`),d=U.drawNode(u,t,n,a,o,!0).height;s+=d,u.attr(`transform`,`translate(${r}, ${i})`),i=i+10+d}return i=l,s},`drawEvents`),pe={setConf:d(()=>{},`setConf`),draw:de},G=200,K=5,me=G+K*2,q=G+100,he=q+K*2,J=10,ge=0,Y=20,X=20,Z=30,Q=50,_e=d(function(e,r,i,o){let s=t(),l=s.timeline?.leftMargin??50;c.debug(`timeline`,o.db);let u=a(r);u.append(`g`);let d=o.db.getTasks(),p=o.db.getCommonDb().getDiagramTitle();c.debug(`task`,d),U.initGraphics(u);let m=o.db.getSections();c.debug(`sections`,m);let h=0,g=0,_=50+l,v=50,y=v,b=_,x=me+X,S=he+Q,C=b+x,w=0,T=m&&m.length>0,E=T?C:_+x,D=Math.max(50,x+S-K*2);m.forEach(function(e){let t={number:w,descr:e,section:w,width:D,padding:K,maxHeight:h},n=U.getVirtualNodeHeight(u,t,s);c.debug(`sectionHeight before draw`,n),h=Math.max(h,n)});let O=0;c.debug(`tasks.length`,d.length);for(let[e,t]of d.entries()){let n={number:e,descr:t,section:t.section,width:G,padding:K,maxHeight:g},r=U.getVirtualNodeHeight(u,n,s);c.debug(`taskHeight before draw`,r),g=Math.max(g,r);let i=0;for(let e of t.events){let n={descr:e,section:t.section,number:t.section,width:q,padding:K,maxHeight:50};i+=U.getVirtualNodeHeight(u,n,s)}t.events.length>0&&(i+=(t.events.length-1)*J),O=Math.max(O,i)+ge}c.debug(`maxSectionHeight before draw`,h),c.debug(`maxTaskHeight before draw`,g);let k=Math.max(g,O)+Z;T?m.forEach(e=>{let t=d.filter(t=>t.section===e),n={number:w,descr:e,section:w,width:D,padding:K,maxHeight:h};c.debug(`sectionNode`,n);let r=u.append(`g`),i=U.drawNode(r,n,w,s);c.debug(`sectionNode output`,i);let a=E-x;r.attr(`transform`,`translate(${a}, ${v})`);let o=v+i.height+Y;t.length>0&&$(u,t,w,E,o,g,s,k,!1);let l=t.length,f=i.height+Y+k*Math.max(l,1)-(l>0?Z*2:0);v+=f,w++}):$(u,d,w,E,v,g,s,k,!0);let A=u.node()?.getBBox();if(!A)throw Error(`bbox not found`);if(c.debug(`bounds`,A),p){if(u.append(`text`).text(p).attr(`x`,A.width/2-l).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),A=u.node()?.getBBox(),!A)throw Error(`bbox not found`);c.debug(`bounds after title`,A)}let[j]=f(s.fontSize),M=(j??16)*2,N=(j??16)*.5+20,P=u.append(`g`).attr(`class`,`lineWrapper`);P.append(`line`).attr(`x1`,E).attr(`y1`,y-M).attr(`x2`,E).attr(`y2`,A.y+A.height+N).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`),P.lower(),n(void 0,u,s.timeline?.padding??50,s.timeline?.useMaxWidth??!1)},`draw`),$=d(function(e,t,n,r,i,a,o,s,l){for(let u of t){let t={descr:u.task,section:n,number:n,width:G,padding:K,maxHeight:a};c.debug(`taskNode`,t);let d=e.append(`g`).attr(`class`,`taskWrapper`),f=U.drawNode(d,t,n,o),p=f.height;c.debug(`taskHeight after draw`,p);let m=r-X-f.width;if(d.attr(`transform`,`translate(${m}, ${i})`),a=Math.max(a,p),u.events&&u.events.length>0){let t=i,a=r+Q;ve(e,u.events,n,r,a,t,o)}i+=s,l&&!o.timeline?.disableMulticolor&&n++}},`drawTasks`),ve=d(function(e,t,n,r,i,a,o){let s=a;for(let a of t){let t={descr:a,section:n,number:n,width:q,padding:K,maxHeight:0};c.debug(`eventNode`,t);let l=e.append(`g`).attr(`class`,`eventWrapper`),u=U.drawNode(l,t,n,o).height;l.attr(`transform`,`translate(${i}, ${s})`);let d=e.append(`g`).attr(`class`,`lineWrapper`),f=s+u/2;d.append(`line`).attr(`x1`,r).attr(`y1`,f).attr(`x2`,i).attr(`y2`,f).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`).attr(`stroke-dasharray`,`5,5`),s=s+u+J}return s-a},`drawEvents`),ye={setConf:d(()=>{},`setConf`),draw:_e},be=d(e=>{let{theme:t}=l(),n=t?.includes(`dark`),r=t?.includes(`color`),i=e.svgId?.replace(/^#/,``)??``,a=i?`url(#${i}-drop-shadow)`:e.dropShadow??`none`,o=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++){let i=`${17-3*t}`,s=r?e.borderColorArray[t]:e.mainBkg,c=r?e.borderColorArray[t]:e.nodeBorder;o+=`
|
|
7
|
-
.section-${t-1} rect,
|
|
8
|
-
.section-${t-1} path,
|
|
9
|
-
.section-${t-1} circle {
|
|
10
|
-
fill: ${n&&r?e.mainBkg:s};
|
|
11
|
-
stroke: ${c};
|
|
12
|
-
stroke-width: ${e.strokeWidth};
|
|
13
|
-
filter: ${a};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.section-${t-1} text {
|
|
17
|
-
fill: ${e.nodeBorder};
|
|
18
|
-
font-weight: ${e.fontWeight}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.node-icon-${t-1} {
|
|
22
|
-
font-size: 40px;
|
|
23
|
-
color: ${e[`cScaleLabel`+t]};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.section-edge-${t-1} {
|
|
27
|
-
stroke: ${e[`cScale`+t]};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.edge-depth-${t-1} {
|
|
31
|
-
stroke-width: ${i};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.section-${t-1} line {
|
|
35
|
-
stroke: ${e[`cScaleInv`+t]};
|
|
36
|
-
stroke-width: 3;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.lineWrapper line {
|
|
40
|
-
stroke: ${e.nodeBorder};
|
|
41
|
-
stroke-width:${e.strokeWidth}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.disabled,
|
|
45
|
-
.disabled circle,
|
|
46
|
-
.disabled text {
|
|
47
|
-
fill: ${e.tertiaryColor??`lightgray`};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.disabled text {
|
|
51
|
-
fill: ${e.clusterBorder??`#efefef`};
|
|
52
|
-
}
|
|
53
|
-
`}return o},`genReduxSections`),xe=d(e=>{let t=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e[`lineColor`+t]=e[`lineColor`+t]||e[`cScaleInv`+t],r(e[`lineColor`+t])?e[`lineColor`+t]=o(e[`lineColor`+t],20):e[`lineColor`+t]=s(e[`lineColor`+t],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let r=``+(17-3*n);t+=`
|
|
54
|
-
.section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {
|
|
55
|
-
fill: ${e[`cScale`+n]};
|
|
56
|
-
}
|
|
57
|
-
.section-${n-1} text {
|
|
58
|
-
fill: ${e[`cScaleLabel`+n]};
|
|
59
|
-
}
|
|
60
|
-
.node-icon-${n-1} {
|
|
61
|
-
font-size: 40px;
|
|
62
|
-
color: ${e[`cScaleLabel`+n]};
|
|
63
|
-
}
|
|
64
|
-
.section-edge-${n-1}{
|
|
65
|
-
stroke: ${e[`cScale`+n]};
|
|
66
|
-
}
|
|
67
|
-
.edge-depth-${n-1}{
|
|
68
|
-
stroke-width: ${r};
|
|
69
|
-
}
|
|
70
|
-
.section-${n-1} line {
|
|
71
|
-
stroke: ${e[`cScaleInv`+n]} ;
|
|
72
|
-
stroke-width: 3;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.lineWrapper line{
|
|
76
|
-
stroke: ${e[`cScaleLabel`+n]} ;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.disabled, .disabled circle, .disabled text {
|
|
80
|
-
fill: ${e.tertiaryColor??`lightgray`};
|
|
81
|
-
}
|
|
82
|
-
.disabled text {
|
|
83
|
-
fill: ${e.clusterBorder??`#efefef`};
|
|
84
|
-
}
|
|
85
|
-
`}return t},`genSections`),Se={db:_,renderer:{setConf:d(()=>{},`setConf`),draw:d((e,t,n,r)=>(r?.db?.getDirection?.()??`LR`)===`TD`?ye.draw(e,t,n,r):pe.draw(e,t,n,r),`draw`)},parser:g,styles:d(e=>{let{theme:t}=l(),n=t?.includes(`redux`),r=t===`neutral`,i=e.svgId?.replace(/^#/,``)??``,a=``;if(e.useGradient&&i&&e.THEME_COLOR_LIMIT&&!r)for(let t=0;t<e.THEME_COLOR_LIMIT;t++)a+=`
|
|
86
|
-
.section-${t-1}[data-look="neo"] rect,
|
|
87
|
-
.section-${t-1}[data-look="neo"] path,
|
|
88
|
-
.section-${t-1}[data-look="neo"] circle {
|
|
89
|
-
fill: ${e.mainBkg};
|
|
90
|
-
stroke: url(#${i}-gradient);
|
|
91
|
-
stroke-width: 2;
|
|
92
|
-
}
|
|
93
|
-
.section-${t-1}[data-look="neo"] line {
|
|
94
|
-
stroke: url(#${i}-gradient);
|
|
95
|
-
stroke-width: 2;
|
|
96
|
-
}`;return`
|
|
97
|
-
.edge {
|
|
98
|
-
stroke-width: 3;
|
|
99
|
-
}
|
|
100
|
-
${n?be(e):xe(e)}
|
|
101
|
-
${a}
|
|
102
|
-
.section-root rect, .section-root path, .section-root circle {
|
|
103
|
-
fill: ${e.git0};
|
|
104
|
-
}
|
|
105
|
-
.section-root text {
|
|
106
|
-
fill: ${e.gitBranchLabel0};
|
|
107
|
-
}
|
|
108
|
-
.icon-container {
|
|
109
|
-
height:100%;
|
|
110
|
-
display: flex;
|
|
111
|
-
justify-content: center;
|
|
112
|
-
align-items: center;
|
|
113
|
-
}
|
|
114
|
-
.edge {
|
|
115
|
-
fill: none;
|
|
116
|
-
}
|
|
117
|
-
.eventWrapper {
|
|
118
|
-
filter: brightness(120%);
|
|
119
|
-
}
|
|
120
|
-
`},`getStyles`)};export{Se as diagram};
|