@pb33f/cowboy-components 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_baseUniq-D4w9OEfi.cjs → _baseUniq-BCBHARBa.cjs} +1 -1
- package/dist/{_baseUniq-CwhnPBuZ.js → _baseUniq-DxKTOiyd.js} +74 -74
- package/dist/arc-BuSUjh0s.js +84 -0
- package/dist/arc-CH-0H1TF.cjs +1 -0
- package/dist/{architecture-YZFGNWBL-BSnkfFiL.cjs → architecture-YZFGNWBL-BPn_727R.cjs} +1 -1
- package/dist/{architecture-YZFGNWBL-Cv-BGlq1.js → architecture-YZFGNWBL-BTpBH05L.js} +1 -1
- package/dist/{architectureDiagram-Q4EWVU46-Bi5_oLbN.js → architectureDiagram-Q4EWVU46-CYewkKfJ.js} +4 -4
- package/dist/{architectureDiagram-Q4EWVU46-7qN01149.cjs → architectureDiagram-Q4EWVU46-DiD3e6PQ.cjs} +1 -1
- package/dist/blockDiagram-DXYQGD6D-B1FzGfTA.cjs +132 -0
- package/dist/{blockDiagram-DXYQGD6D-DPZDIH8c.js → blockDiagram-DXYQGD6D-C1Xzgnrv.js} +18 -17
- package/dist/{c4Diagram-AHTNJAMY-CzTGAiLN.js → c4Diagram-AHTNJAMY-L6Az2dvx.js} +2 -2
- package/dist/{c4Diagram-AHTNJAMY-vYFfYNT2.cjs → c4Diagram-AHTNJAMY-c5bsYT5q.cjs} +1 -1
- package/dist/change-list-item-4xBSo3-U.cjs +4586 -0
- package/dist/change-list-item-Bu_mPv-k.js +19108 -0
- package/dist/{channel-xkWi7eyU.cjs → channel-BR_Krb9l.cjs} +1 -1
- package/dist/channel-Bo_TnECw.js +5 -0
- package/dist/{chunk-4BX2VUAB-D5fkGnKT.cjs → chunk-4BX2VUAB-B1uaSl0e.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-Crsil6rQ.js → chunk-4BX2VUAB-ClX8oE7L.js} +1 -1
- package/dist/{chunk-4TB4RGXK-BK_Zwn1u.cjs → chunk-4TB4RGXK-D0JpJZOs.cjs} +1 -1
- package/dist/{chunk-4TB4RGXK-CqgUAjqs.js → chunk-4TB4RGXK-DzEEAztK.js} +5 -5
- package/dist/{chunk-55IACEB6-CVOd63y7.cjs → chunk-55IACEB6-595ZDi6s.cjs} +1 -1
- package/dist/{chunk-55IACEB6-BHM-gGnN.js → chunk-55IACEB6-DL_DHCyZ.js} +1 -1
- package/dist/{chunk-EDXVE4YY-XhKW7gue.js → chunk-EDXVE4YY-BII9TpbV.js} +1 -1
- package/dist/{chunk-EDXVE4YY-Cg8LIvnn.cjs → chunk-EDXVE4YY-CQbtNtXr.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-ClqO-tFT.cjs → chunk-FMBD7UC4-BO92YnlB.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-DZgUWYcc.js → chunk-FMBD7UC4-cN7XywSK.js} +1 -1
- package/dist/{chunk-OYMX7WX6-DPeZUR-5.cjs → chunk-OYMX7WX6-BxqhsynN.cjs} +1 -1
- package/dist/{chunk-OYMX7WX6-DDhPRCvb.js → chunk-OYMX7WX6-DTXPUCgU.js} +35 -35
- package/dist/{chunk-QZHKN3VN-CEfUDcqe.js → chunk-QZHKN3VN-Biauj3yN.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DfLK5brs.cjs → chunk-QZHKN3VN-C-mnteH7.cjs} +1 -1
- package/dist/{chunk-YZCP3GAM-CUdZyEqp.cjs → chunk-YZCP3GAM-WiD5REgL.cjs} +1 -1
- package/dist/{chunk-YZCP3GAM-BseNjeX_.js → chunk-YZCP3GAM-eo-UEr6G.js} +1 -1
- package/dist/{classDiagram-v2-HSJHXN6E-DY4pBvUq.js → classDiagram-6PBFFD2Q-8kzuzUL4.js} +2 -2
- package/dist/{classDiagram-6PBFFD2Q-DANanUVD.cjs → classDiagram-6PBFFD2Q-ay2Efc0y.cjs} +1 -1
- package/dist/{classDiagram-6PBFFD2Q-DY4pBvUq.js → classDiagram-v2-HSJHXN6E-8kzuzUL4.js} +2 -2
- package/dist/{classDiagram-v2-HSJHXN6E-DANanUVD.cjs → classDiagram-v2-HSJHXN6E-ay2Efc0y.cjs} +1 -1
- package/dist/{clone-Dd6Qonyi.js → clone-CC2YvoOD.js} +1 -1
- package/dist/clone-DAIpdsWe.cjs +1 -0
- package/dist/components/diff-viewer/diff-viewer.d.ts +3 -0
- package/dist/components/diff-viewer/diff-viewer.js +34 -37
- package/dist/components/diff-viewer/line-renderer.d.ts +15 -0
- package/dist/components/diff-viewer/line-renderer.js +49 -0
- package/dist/components/footer/footer.d.ts +3 -0
- package/dist/components/footer/footer.js +10 -4
- package/dist/components/logo-wall/logos/apache.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/apache.svg.js +100 -0
- package/dist/components/logo-wall/logos/apideck.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/apideck.svg.js +14 -0
- package/dist/components/logo-wall/logos/apigee.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/apigee.svg.js +16 -0
- package/dist/components/logo-wall/logos/bump.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/bump.svg.js +14 -0
- package/dist/components/logo-wall/logos/bytebase.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/bytebase.svg.js +11 -0
- package/dist/components/logo-wall/logos/chainlink.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/chainlink.svg.js +18 -0
- package/dist/components/logo-wall/logos/cisco.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/cisco.svg.js +14 -0
- package/dist/components/logo-wall/logos/elastic.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/elastic.svg.js +14 -0
- package/dist/components/logo-wall/logos/google.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/google.svg.js +12 -0
- package/dist/components/logo-wall/logos/grafana.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/grafana.svg.js +14 -0
- package/dist/components/logo-wall/logos/hashicorp.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/hashicorp.svg.js +18 -0
- package/dist/components/logo-wall/logos/hasura.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/hasura.svg.js +14 -0
- package/dist/components/logo-wall/logos/jpmorgan.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/jpmorgan.svg.js +22 -0
- package/dist/components/logo-wall/logos/kong.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/kong.svg.js +13 -0
- package/dist/components/logo-wall/logos/mongodb.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/mongodb.svg.js +17 -0
- package/dist/components/logo-wall/logos/nhost.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/nhost.svg.js +9 -0
- package/dist/components/logo-wall/logos/okta.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/okta.svg.js +8 -0
- package/dist/components/logo-wall/logos/opentelemetry.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/opentelemetry.svg.js +8 -0
- package/dist/components/logo-wall/logos/prometheus.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/prometheus.svg.js +8 -0
- package/dist/components/logo-wall/logos/pulumi.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/pulumi.svg.js +10 -0
- package/dist/components/logo-wall/logos/redhat.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/redhat.svg.js +8 -0
- package/dist/components/logo-wall/logos/scalar.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/scalar.svg.js +19 -0
- package/dist/components/logo-wall/logos/splunk.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/splunk.svg.js +8 -0
- package/dist/components/logo-wall/logos/unkey.svg.d.ts +2 -0
- package/dist/components/logo-wall/logos/unkey.svg.js +15 -0
- package/dist/components/logo-wall/logowall.d.ts +2 -24
- package/dist/components/logo-wall/logowall.js +58 -373
- package/dist/components/model-tree/tree.js +1 -2
- package/dist/components/premium-gate/premium-gate.css.js +18 -1
- package/dist/components/premium-gate/premium-gate.js +2 -2
- package/dist/components/problem-list/problem-item.js +3 -2
- package/dist/components/problem-list/problem-list.d.ts +2 -0
- package/dist/components/problem-list/problem-list.js +26 -7
- package/dist/components/problems-overview/problem-overview-group.js +2 -1
- package/dist/components/visualizer/edge.d.ts +6 -2
- package/dist/components/visualizer/edge.js +26 -4
- package/dist/components/visualizer/equalizer.css.js +11 -2
- package/dist/components/visualizer/explorer.d.ts +3 -1
- package/dist/components/visualizer/explorer.js +51 -59
- package/dist/components/visualizer/nodes/change-view-node.d.ts +2 -2
- package/dist/components/visualizer/nodes/change-view-node.js +10 -6
- package/dist/components/visualizer/nodes/graph-node.d.ts +12 -8
- package/dist/components/visualizer/nodes/graph-node.js +47 -25
- package/dist/components/visualizer/nodes/schema.d.ts +7 -0
- package/dist/components/visualizer/nodes/schema.js +81 -59
- package/dist/components/visualizer/shared.css.js +48 -10
- package/dist/components/visualizer/viewport-position.d.ts +28 -0
- package/dist/components/visualizer/viewport-position.js +38 -0
- package/dist/components/workspaces/workspace-view.js +10 -7
- package/dist/components/yaml-viewer/yaml-viewer.css.d.ts +2 -0
- package/dist/components/yaml-viewer/yaml-viewer.css.js +45 -0
- package/dist/components/yaml-viewer/yaml-viewer.d.ts +22 -0
- package/dist/components/yaml-viewer/yaml-viewer.js +86 -0
- package/dist/controllers/problem-controller.d.ts +1 -0
- package/dist/controllers/problem-controller.js +40 -24
- package/dist/{cose-bilkent-S5V4N54A-CPd0mzpZ.js → cose-bilkent-S5V4N54A-BvU_SKfP.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-BEI30FIt.cjs → cose-bilkent-S5V4N54A-CjLPT2aq.cjs} +1 -1
- package/dist/{cowboy-components-C1bHeXpH.js → cowboy-components-B5MDHQs5.js} +8691 -8836
- package/dist/{cowboy-components-BDlH5KPd.cjs → cowboy-components-DMQv-nwp.cjs} +561 -489
- package/dist/{dagre-KV5264BT-lXj1bQdQ.cjs → dagre-KV5264BT-BJ3g2OfF.cjs} +1 -1
- package/dist/{dagre-KV5264BT-DKYFh03U.js → dagre-KV5264BT-CZZ7IWMJ.js} +29 -29
- package/dist/{diagram-5BDNPKRD-B5z67jan.js → diagram-5BDNPKRD-BtgWDNH6.js} +4 -4
- package/dist/{diagram-5BDNPKRD-BxdT4j_p.cjs → diagram-5BDNPKRD-C8f_rKrj.cjs} +1 -1
- package/dist/{diagram-G4DWMVQ6-CYhKfvVo.cjs → diagram-G4DWMVQ6-CdbbbjZ1.cjs} +1 -1
- package/dist/{diagram-G4DWMVQ6-CW505eM5.js → diagram-G4DWMVQ6-Cvo7MOEn.js} +4 -4
- package/dist/{diagram-MMDJMWI5-CguvhYVm.js → diagram-MMDJMWI5-BBZMNBAZ.js} +3 -3
- package/dist/{diagram-MMDJMWI5-CnbCy2d4.cjs → diagram-MMDJMWI5-CmuOqtUd.cjs} +1 -1
- package/dist/{diagram-TYMM5635-CTqk1SDy.cjs → diagram-TYMM5635-BDWJ5rTp.cjs} +1 -1
- package/dist/{diagram-TYMM5635-DNaputK9.js → diagram-TYMM5635-BJ6YAfrg.js} +3 -3
- package/dist/{erDiagram-SMLLAGMA-CbVmsYT2.js → erDiagram-SMLLAGMA-CYctRkDG.js} +4 -4
- package/dist/{erDiagram-SMLLAGMA-C8J_QyFx.cjs → erDiagram-SMLLAGMA-oQiAbd77.cjs} +1 -1
- package/dist/events/doctor.d.ts +2 -1
- package/dist/factories/explorer-component-factory.d.ts +2 -1
- package/dist/factories/explorer-component-factory.js +1 -0
- package/dist/{flowDiagram-DWJPFMVM-CilWme2B.cjs → flowDiagram-DWJPFMVM-Cl2ZAgx-.cjs} +1 -1
- package/dist/{flowDiagram-DWJPFMVM-CzhP7Mva.js → flowDiagram-DWJPFMVM-XzVvDcKE.js} +6 -6
- package/dist/{ganttDiagram-T4ZO3ILL-D1VjNn5T.js → ganttDiagram-T4ZO3ILL-Bw3whz8Z.js} +3 -3
- package/dist/{ganttDiagram-T4ZO3ILL-CJPTfw3M.cjs → ganttDiagram-T4ZO3ILL-D6p69Xut.cjs} +1 -1
- package/dist/{gitGraph-7Q5UKJZL-KIImqmsm.js → gitGraph-7Q5UKJZL-CV8uXlc6.js} +1 -1
- package/dist/{gitGraph-7Q5UKJZL-Dt7RPGLj.cjs → gitGraph-7Q5UKJZL-Dc00T47S.cjs} +1 -1
- package/dist/{gitGraphDiagram-UUTBAWPF-RgZxgljz.cjs → gitGraphDiagram-UUTBAWPF-DO7-Vg9n.cjs} +1 -1
- package/dist/{gitGraphDiagram-UUTBAWPF-oNmbFzsW.js → gitGraphDiagram-UUTBAWPF-DyF52xzw.js} +4 -4
- package/dist/{graph-CFIa3BqY.js → graph-BNtv6wPN.js} +43 -43
- package/dist/{graph-D7t_ZgqQ.cjs → graph-nnOjqfSF.cjs} +1 -1
- package/dist/info-OMHHGYJF-BEJOj8rC.js +5 -0
- package/dist/{info-OMHHGYJF-DNwPREtC.cjs → info-OMHHGYJF-DenwEztT.cjs} +1 -1
- package/dist/{infoDiagram-42DDH7IO-xpnPsX13.cjs → infoDiagram-42DDH7IO-CDwaPJgE.cjs} +1 -1
- package/dist/{infoDiagram-42DDH7IO-D6tfy_kQ.js → infoDiagram-42DDH7IO-D5ZWT_PY.js} +2 -2
- package/dist/{ishikawaDiagram-UXIWVN3A-1C3ML4wN.js → ishikawaDiagram-UXIWVN3A-DO1TQj8y.js} +1 -1
- package/dist/{ishikawaDiagram-UXIWVN3A-cN7Egzi1.cjs → ishikawaDiagram-UXIWVN3A-DgxKja6G.cjs} +1 -1
- package/dist/{journeyDiagram-VCZTEJTY-BBnQnZeo.js → journeyDiagram-VCZTEJTY-BOrvmHFC.js} +4 -4
- package/dist/{journeyDiagram-VCZTEJTY-CuHlve7g.cjs → journeyDiagram-VCZTEJTY-CJCEu2Bp.cjs} +1 -1
- package/dist/{kanban-definition-6JOO6SKY-w_-A-pcU.cjs → kanban-definition-6JOO6SKY-DEuqG8My.cjs} +1 -1
- package/dist/{kanban-definition-6JOO6SKY-CIUOm1v3.js → kanban-definition-6JOO6SKY-DbcLaE1y.js} +22 -22
- package/dist/{layout-DkbTnSOk.cjs → layout-C5IxZs51.cjs} +1 -1
- package/dist/{layout-B94Gbndw.js → layout-US8yryxu.js} +89 -89
- package/dist/linear-Bmlq6WJ8.cjs +1 -0
- package/dist/{linear-ofqYQwLM.js → linear-D6nUCk2i.js} +26 -26
- package/dist/{mermaid-parser.core-D5yJiPW9.cjs → mermaid-parser.core-COvBhcPG.cjs} +2 -2
- package/dist/{mermaid-parser.core-SWTLxzuR.js → mermaid-parser.core-DvOBQD0s.js} +13 -13
- package/dist/{min-CCJ14kSC.cjs → min-BeG6JEx2.cjs} +1 -1
- package/dist/{min-BVt52F4Z.js → min-gCZaz5eW.js} +8 -8
- package/dist/{mindmap-definition-QFDTVHPH-BBABzpZ_.js → mindmap-definition-QFDTVHPH-Bf7uOPBO.js} +11 -11
- package/dist/{mindmap-definition-QFDTVHPH-DkHlEc6j.cjs → mindmap-definition-QFDTVHPH-Bh_mtad8.cjs} +1 -1
- package/dist/{packet-4T2RLAQJ-C_GHj8I6.js → packet-4T2RLAQJ-CnjxgpUP.js} +1 -1
- package/dist/{packet-4T2RLAQJ-D-3BTAOL.cjs → packet-4T2RLAQJ-EX3JjNtR.cjs} +1 -1
- package/dist/pie-ZZUOXDRM-B0-esN8S.js +5 -0
- package/dist/{pie-ZZUOXDRM-CCr4-X6f.cjs → pie-ZZUOXDRM-S9g0lXgu.cjs} +1 -1
- package/dist/pieDiagram-DEJITSTG-An0q-g5y.cjs +30 -0
- package/dist/{pieDiagram-DEJITSTG-oeQHkFGB.js → pieDiagram-DEJITSTG-DIkSdQCd.js} +43 -42
- package/dist/{quadrantDiagram-34T5L4WZ-CHmpNV-R.cjs → quadrantDiagram-34T5L4WZ-B5f35ihC.cjs} +1 -1
- package/dist/{quadrantDiagram-34T5L4WZ-OYjSZG43.js → quadrantDiagram-34T5L4WZ-CBlxIaIn.js} +2 -2
- package/dist/radar-PYXPWWZC-1Ezs-b76.js +5 -0
- package/dist/{radar-PYXPWWZC-C1rOl50T.cjs → radar-PYXPWWZC-C0zC2ZSo.cjs} +1 -1
- package/dist/{requirementDiagram-MS252O5E-CD_xeIto.cjs → requirementDiagram-MS252O5E-C2bJ8iZf.cjs} +1 -1
- package/dist/{requirementDiagram-MS252O5E-CwRW6-r7.js → requirementDiagram-MS252O5E-CLQv0oWl.js} +3 -3
- package/dist/{sankeyDiagram-XADWPNL6-RMkMjKAW.cjs → sankeyDiagram-XADWPNL6--gS8yJdi.cjs} +1 -1
- package/dist/{sankeyDiagram-XADWPNL6-CQfVCItY.js → sankeyDiagram-XADWPNL6-BPSHvjZ8.js} +1 -1
- package/dist/{sequenceDiagram-FGHM5R23-Bg1onFX3.cjs → sequenceDiagram-FGHM5R23-C8D7r5pW.cjs} +1 -1
- package/dist/{sequenceDiagram-FGHM5R23-CHy2erSS.js → sequenceDiagram-FGHM5R23-Pz7V2MNd.js} +3 -3
- package/dist/services/workspace-service.js +3 -3
- package/dist/stateDiagram-FHFEXIEX-BAF5DJ1S.cjs +1 -0
- package/dist/{stateDiagram-FHFEXIEX-CMl5lVVr.js → stateDiagram-FHFEXIEX-D5m6EHM0.js} +44 -43
- package/dist/{stateDiagram-v2-QKLJ7IA2-Ddx6MvoK.js → stateDiagram-v2-QKLJ7IA2-Bewn3XVh.js} +2 -2
- package/dist/{stateDiagram-v2-QKLJ7IA2-k0ixVO2x.cjs → stateDiagram-v2-QKLJ7IA2-D8ygFuIi.cjs} +1 -1
- package/dist/{timeline-definition-GMOUNBTQ-tsduD7s8.cjs → timeline-definition-GMOUNBTQ-DGnNWVK8.cjs} +1 -1
- package/dist/{timeline-definition-GMOUNBTQ-wGoPQPZW.js → timeline-definition-GMOUNBTQ-D_q_Aq0R.js} +23 -23
- package/dist/{treeView-SZITEDCU-DLnrlNgm.js → treeView-SZITEDCU-CJ-dtg22.js} +1 -1
- package/dist/{treeView-SZITEDCU-0cNlhBgJ.cjs → treeView-SZITEDCU-D_h6_ShC.cjs} +1 -1
- package/dist/{treemap-W4RFUUIX-BhmjFGQ3.js → treemap-W4RFUUIX-B9GQw9aZ.js} +1 -1
- package/dist/{treemap-W4RFUUIX-CKAFw4rq.cjs → treemap-W4RFUUIX-BtKxSF22.cjs} +1 -1
- package/dist/{vennDiagram-DHZGUBPP-D0_k6R1t.js → vennDiagram-DHZGUBPP-JEim8wmH.js} +59 -59
- package/dist/{vennDiagram-DHZGUBPP-cIbatSRt.cjs → vennDiagram-DHZGUBPP-amyk4YMx.cjs} +1 -1
- package/dist/{wardley-RL74JXVD-E_57jQp4.cjs → wardley-RL74JXVD-Cni1Bfk_.cjs} +1 -1
- package/dist/{wardley-RL74JXVD-ClNl5KuH.js → wardley-RL74JXVD-sMbm0y_r.js} +1 -1
- package/dist/{wardleyDiagram-NUSXRM2D-DrU9h_lF.cjs → wardleyDiagram-NUSXRM2D-BxrRpNG2.cjs} +1 -1
- package/dist/{wardleyDiagram-NUSXRM2D-CdC2HbGc.js → wardleyDiagram-NUSXRM2D-C2MLJ-IT.js} +3 -3
- package/dist/workers/elk-fake-worker.generated.d.ts +3 -0
- package/dist/workers/elk-fake-worker.generated.js +50224 -0
- package/dist/workers/elk-layout-blob.generated.js +16 -18
- package/dist/workers/elk-layout.worker.js +5 -2
- package/dist/{xychartDiagram-5P7HB3ND-y-_Hnheq.js → xychartDiagram-5P7HB3ND-CSCEAZnj.js} +8 -7
- package/dist/{xychartDiagram-5P7HB3ND-BsPkSpoT.cjs → xychartDiagram-5P7HB3ND-CpDJRyka.cjs} +4 -4
- package/package.json +11 -2
- package/dist/arc-C1ekKGkb.js +0 -83
- package/dist/arc-R701-DfQ.cjs +0 -1
- package/dist/blockDiagram-DXYQGD6D-C72mCfQb.cjs +0 -132
- package/dist/change-list-item-BEl0JMXU.js +0 -18744
- package/dist/change-list-item-BQAfTtYI.cjs +0 -4535
- package/dist/channel-Bcdtr5hc.js +0 -5
- package/dist/clone-xz9tAnT8.cjs +0 -1
- package/dist/info-OMHHGYJF-CoCJYW0-.js +0 -5
- package/dist/linear-C0WOPIXr.cjs +0 -1
- package/dist/pie-ZZUOXDRM-BZwBUxgW.js +0 -5
- package/dist/pieDiagram-DEJITSTG-DpV5UNcT.cjs +0 -30
- package/dist/radar-PYXPWWZC-CeYN6kDE.js +0 -5
- package/dist/stateDiagram-FHFEXIEX-CYMON_a_.cjs +0 -1
package/dist/{requirementDiagram-MS252O5E-CwRW6-r7.js → requirementDiagram-MS252O5E-CLQv0oWl.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as Ge } from "./chunk-55IACEB6-
|
|
2
|
-
import { s as Xe } from "./chunk-EDXVE4YY-
|
|
3
|
-
import { _ as f, D as Be, b as Je, a as Ze, s as et, g as tt, p as st, q as it, c as Ne, l as qe, z as rt, C as nt, o as at, r as lt, u as ct } from "./cowboy-components-
|
|
1
|
+
import { g as Ge } from "./chunk-55IACEB6-DL_DHCyZ.js";
|
|
2
|
+
import { s as Xe } from "./chunk-EDXVE4YY-BII9TpbV.js";
|
|
3
|
+
import { _ as f, D as Be, b as Je, a as Ze, s as et, g as tt, p as st, q as it, c as Ne, l as qe, z as rt, C as nt, o as at, r as lt, u as ct } from "./cowboy-components-B5MDHQs5.js";
|
|
4
4
|
var Ce = (function() {
|
|
5
5
|
var e = /* @__PURE__ */ f(function($, i, l, o) {
|
|
6
6
|
for (l = l || {}, o = $.length; o--; l[$[o]] = i) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./cowboy-components-BDlH5KPd.cjs"),_t=require("./ordinal-CagbB1m8.cjs");function mt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a<e;)i[a]="#"+t.slice(a*6,++a*6);return i}const kt=mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i<h||i===void 0&&h>=h)&&(i=h)}return i}function dt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function et(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,e){return e-1-t.height}function gt(t,e){return t.sourceLinks.length?t.depth:e-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function H(t){return function(){return t}}function lt(t,e){return X(t.source,e.source)||t.index-e.index}function ct(t,e){return X(t.target,e.target)||t.index-e.index}function X(t,e){return t.y0-e.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function ht({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,e=0,i=1,a=1,h=24,b=8,p,m=wt,s=gt,o,l,k=Lt,x=Et,d=6;function v(){const n={nodes:k.apply(null,arguments),links:x.apply(null,arguments)};return M(n),T(n),N(n),I(n),w(n),ht(n),n}v.update=function(n){return ht(n),n},v.nodeId=function(n){return arguments.length?(m=typeof n=="function"?n:H(n),v):m},v.nodeAlign=function(n){return arguments.length?(s=typeof n=="function"?n:H(n),v):s},v.nodeSort=function(n){return arguments.length?(o=n,v):o},v.nodeWidth=function(n){return arguments.length?(h=+n,v):h},v.nodePadding=function(n){return arguments.length?(b=p=+n,v):b},v.nodes=function(n){return arguments.length?(k=typeof n=="function"?n:H(n),v):k},v.links=function(n){return arguments.length?(x=typeof n=="function"?n:H(n),v):x},v.linkSort=function(n){return arguments.length?(l=n,v):l},v.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],v):[i-t,a-e]},v.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],v):[[t,e],[i,a]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function M({nodes:n,links:y}){for(const[c,r]of n.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((c,r)=>[m(c,r,n),c]));for(const[c,r]of y.entries()){r.index=c;let{source:_,target:S}=r;typeof _!="object"&&(_=r.source=ut(u,_)),typeof S!="object"&&(S=r.target=ut(u,S)),_.sourceLinks.push(r),S.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of n)c.sort(l),r.sort(l)}function T({nodes:n}){for(const y of n)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function N({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const _ of u){_.depth=r;for(const{target:S}of _.sourceLinks)c.add(S)}if(++r>y)throw new Error("circular link");u=c,c=new Set}}function I({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const _ of u){_.height=r;for(const{source:S}of _.targetLinks)c.add(S)}if(++r>y)throw new Error("circular link");u=c,c=new Set}}function $({nodes:n}){const y=at(n,r=>r.depth)+1,u=(i-t-h)/(y-1),c=new Array(y);for(const r of n){const _=Math.max(0,Math.min(y-1,Math.floor(s.call(null,r,y))));r.layer=_,r.x0=t+_*u,r.x1=r.x0+h,c[_]?c[_].push(r):c[_]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(n){const y=dt(n,u=>(a-e-(u.length-1)*p)/et(u,nt));for(const u of n){let c=e;for(const r of u){r.y0=c,r.y1=c+r.value*y,c=r.y1+p;for(const _ of r.sourceLinks)_.width=_.value*y}c=(a-c+p)/(u.length+1);for(let r=0;r<u.length;++r){const _=u[r];_.y0+=c*(r+1),_.y1+=c*(r+1)}A(u)}}function w(n){const y=$(n);p=Math.min(b,(a-e)/(at(y,u=>u.length)-1)),R(y);for(let u=0;u<d;++u){const c=Math.pow(.99,u),r=Math.max(1-c,(u+1)/d);B(y,c,r),P(y,c,r)}}function P(n,y,u){for(let c=1,r=n.length;c<r;++c){const _=n[c];for(const S of _){let L=0,F=0;for(const{source:q,value:tt}of S.targetLinks){let Y=tt*(S.layer-q.layer);L+=j(q,S)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function B(n,y,u){for(let c=n.length,r=c-2;r>=0;--r){const _=n[r];for(const S of _){let L=0,F=0;for(const{target:q,value:tt}of S.sourceLinks){let Y=tt*(q.layer-S.layer);L+=C(S,q)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function O(n,y){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,y),D(n,c.y1+p,u+1,y),g(n,a,n.length-1,y),D(n,e,0,y)}function D(n,y,u,c){for(;u<n.length;++u){const r=n[u],_=(y-r.y0)*c;_>1e-6&&(r.y0+=_,r.y1+=_),y=r.y1+p}}function g(n,y,u,c){for(;u>=0;--u){const r=n[u],_=(r.y1-y)*c;_>1e-6&&(r.y0-=_,r.y1-=_),y=r.y0-p}}function E({sourceLinks:n,targetLinks:y}){if(l===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(ct);for(const{target:{targetLinks:u}}of n)u.sort(lt)}}function A(n){if(l===void 0)for(const{sourceLinks:y,targetLinks:u}of n)y.sort(ct),u.sort(lt)}function j(n,y){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:r}of n.sourceLinks){if(c===y)break;u+=r+p}for(const{source:c,width:r}of y.targetLinks){if(c===n)break;u-=r}return u}function C(n,y){let u=y.y0-(y.targetLinks.length-1)*p/2;for(const{source:c,width:r}of y.targetLinks){if(c===n)break;u+=r+p}for(const{target:c,width:r}of n.sourceLinks){if(c===y)break;u-=r}return u}return v}var it=Math.PI,st=2*it,V=1e-6,Tt=st-V;function rt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new rt}rt.prototype=pt.prototype={constructor:rt,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,b){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+b)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var b=this._x1,p=this._y1,m=i-t,s=a-e,o=b-t,l=p-e,k=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(k>V)if(!(Math.abs(l*m-s*o)>V)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var x=i-b,d=a-p,v=m*m+s*s,M=x*x+d*d,T=Math.sqrt(v),N=Math.sqrt(k),I=h*Math.tan((it-Math.acos((v+k-M)/(2*T*N)))/2),$=I/N,R=I/T;Math.abs($-1)>V&&(this._+="L"+(t+$*o)+","+(e+$*l)),this._+="A"+h+","+h+",0,0,"+ +(l*x>o*d)+","+(this._x1=t+R*m)+","+(this._y1=e+R*s)}},arc:function(t,e,i,a,h,b){t=+t,e=+e,i=+i,b=!!b;var p=i*Math.cos(a),m=i*Math.sin(a),s=t+p,o=e+m,l=1^b,k=b?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+s+","+o:(Math.abs(this._x1-s)>V||Math.abs(this._y1-o)>V)&&(this._+="L"+s+","+o),i&&(k<0&&(k=k%st+st),k>Tt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-m)+"A"+i+","+i+",0,1,"+l+","+(this._x1=s)+","+(this._y1=o):k>V&&(this._+="A"+i+","+i+",0,"+ +(k>=it)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Nt(t){return t[1]}var Ct=Array.prototype.slice;function Pt(t){return t.source}function It(t){return t.target}function Ot(t){var e=Pt,i=It,a=Mt,h=Nt,b=null;function p(){var m,s=Ct.call(arguments),o=e.apply(this,s),l=i.apply(this,s);if(b||(b=m=pt()),t(b,+a.apply(this,(s[0]=o,s)),+h.apply(this,s),+a.apply(this,(s[0]=l,s)),+h.apply(this,s)),m)return b=null,m+""||null}return p.source=function(m){return arguments.length?(e=m,p):e},p.target=function(m){return arguments.length?(i=m,p):i},p.x=function(m){return arguments.length?(a=typeof m=="function"?m:ft(+m),p):a},p.y=function(m){return arguments.length?(h=typeof m=="function"?m:ft(+m),p):h},p.context=function(m){return arguments.length?(b=m??null,p):b},p}function Dt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=(function(){var t=f.__name(function(m,s,o,l){for(o=o||{},l=m.length;l--;o[m[l]]=s);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:f.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:f.__name(function(s,o,l,k,x,d,v){var M=d.length-1;switch(x){case 7:const T=k.findOrCreateNode(d[M-4].trim().replaceAll('""','"')),N=k.findOrCreateNode(d[M-2].trim().replaceAll('""','"')),I=parseFloat(d[M].trim());k.addLink(T,N,I);break;case 8:case 9:case 11:this.$=d[M];break;case 10:this.$=d[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:f.__name(function(s,o){if(o.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=o,l}},"parseError"),parse:f.__name(function(s){var o=this,l=[0],k=[],x=[null],d=[],v=this.table,M="",T=0,N=0,I=2,$=1,R=d.slice.call(arguments,1),w=Object.create(this.lexer),P={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(P.yy[B]=this.yy[B]);w.setInput(s,P.yy),P.yy.lexer=w,P.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var O=w.yylloc;d.push(O);var D=w.options&&w.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,x.length=x.length-L,d.length=d.length-L}f.__name(g,"popStack");function E(){var L;return L=k.pop()||w.lex()||$,typeof L!="number"&&(L instanceof Array&&(k=L,L=k.pop()),L=o.symbols_[L]||L),L}f.__name(E,"lex");for(var A,j,C,n,y={},u,c,r,_;;){if(j=l[l.length-1],this.defaultActions[j]?C=this.defaultActions[j]:((A===null||typeof A>"u")&&(A=E()),C=v[j]&&v[j][A]),typeof C>"u"||!C.length||!C[0]){var S="";_=[];for(u in v[j])this.terminals_[u]&&u>I&&_.push("'"+this.terminals_[u]+"'");w.showPosition?S="Parse error on line "+(T+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./cowboy-components-DMQv-nwp.cjs"),_t=require("./ordinal-CagbB1m8.cjs");function mt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a<e;)i[a]="#"+t.slice(a*6,++a*6);return i}const kt=mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i<h||i===void 0&&h>=h)&&(i=h)}return i}function dt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function et(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,e){return e-1-t.height}function gt(t,e){return t.sourceLinks.length?t.depth:e-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function H(t){return function(){return t}}function lt(t,e){return X(t.source,e.source)||t.index-e.index}function ct(t,e){return X(t.target,e.target)||t.index-e.index}function X(t,e){return t.y0-e.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function ht({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,e=0,i=1,a=1,h=24,b=8,p,m=wt,s=gt,o,l,k=Lt,x=Et,d=6;function v(){const n={nodes:k.apply(null,arguments),links:x.apply(null,arguments)};return M(n),T(n),N(n),I(n),w(n),ht(n),n}v.update=function(n){return ht(n),n},v.nodeId=function(n){return arguments.length?(m=typeof n=="function"?n:H(n),v):m},v.nodeAlign=function(n){return arguments.length?(s=typeof n=="function"?n:H(n),v):s},v.nodeSort=function(n){return arguments.length?(o=n,v):o},v.nodeWidth=function(n){return arguments.length?(h=+n,v):h},v.nodePadding=function(n){return arguments.length?(b=p=+n,v):b},v.nodes=function(n){return arguments.length?(k=typeof n=="function"?n:H(n),v):k},v.links=function(n){return arguments.length?(x=typeof n=="function"?n:H(n),v):x},v.linkSort=function(n){return arguments.length?(l=n,v):l},v.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],v):[i-t,a-e]},v.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],v):[[t,e],[i,a]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function M({nodes:n,links:y}){for(const[c,r]of n.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((c,r)=>[m(c,r,n),c]));for(const[c,r]of y.entries()){r.index=c;let{source:_,target:S}=r;typeof _!="object"&&(_=r.source=ut(u,_)),typeof S!="object"&&(S=r.target=ut(u,S)),_.sourceLinks.push(r),S.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of n)c.sort(l),r.sort(l)}function T({nodes:n}){for(const y of n)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function N({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const _ of u){_.depth=r;for(const{target:S}of _.sourceLinks)c.add(S)}if(++r>y)throw new Error("circular link");u=c,c=new Set}}function I({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const _ of u){_.height=r;for(const{source:S}of _.targetLinks)c.add(S)}if(++r>y)throw new Error("circular link");u=c,c=new Set}}function $({nodes:n}){const y=at(n,r=>r.depth)+1,u=(i-t-h)/(y-1),c=new Array(y);for(const r of n){const _=Math.max(0,Math.min(y-1,Math.floor(s.call(null,r,y))));r.layer=_,r.x0=t+_*u,r.x1=r.x0+h,c[_]?c[_].push(r):c[_]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(n){const y=dt(n,u=>(a-e-(u.length-1)*p)/et(u,nt));for(const u of n){let c=e;for(const r of u){r.y0=c,r.y1=c+r.value*y,c=r.y1+p;for(const _ of r.sourceLinks)_.width=_.value*y}c=(a-c+p)/(u.length+1);for(let r=0;r<u.length;++r){const _=u[r];_.y0+=c*(r+1),_.y1+=c*(r+1)}A(u)}}function w(n){const y=$(n);p=Math.min(b,(a-e)/(at(y,u=>u.length)-1)),R(y);for(let u=0;u<d;++u){const c=Math.pow(.99,u),r=Math.max(1-c,(u+1)/d);B(y,c,r),P(y,c,r)}}function P(n,y,u){for(let c=1,r=n.length;c<r;++c){const _=n[c];for(const S of _){let L=0,F=0;for(const{source:q,value:tt}of S.targetLinks){let Y=tt*(S.layer-q.layer);L+=j(q,S)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function B(n,y,u){for(let c=n.length,r=c-2;r>=0;--r){const _=n[r];for(const S of _){let L=0,F=0;for(const{target:q,value:tt}of S.sourceLinks){let Y=tt*(q.layer-S.layer);L+=C(S,q)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function O(n,y){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,y),D(n,c.y1+p,u+1,y),g(n,a,n.length-1,y),D(n,e,0,y)}function D(n,y,u,c){for(;u<n.length;++u){const r=n[u],_=(y-r.y0)*c;_>1e-6&&(r.y0+=_,r.y1+=_),y=r.y1+p}}function g(n,y,u,c){for(;u>=0;--u){const r=n[u],_=(r.y1-y)*c;_>1e-6&&(r.y0-=_,r.y1-=_),y=r.y0-p}}function E({sourceLinks:n,targetLinks:y}){if(l===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(ct);for(const{target:{targetLinks:u}}of n)u.sort(lt)}}function A(n){if(l===void 0)for(const{sourceLinks:y,targetLinks:u}of n)y.sort(ct),u.sort(lt)}function j(n,y){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:r}of n.sourceLinks){if(c===y)break;u+=r+p}for(const{source:c,width:r}of y.targetLinks){if(c===n)break;u-=r}return u}function C(n,y){let u=y.y0-(y.targetLinks.length-1)*p/2;for(const{source:c,width:r}of y.targetLinks){if(c===n)break;u+=r+p}for(const{target:c,width:r}of n.sourceLinks){if(c===y)break;u-=r}return u}return v}var it=Math.PI,st=2*it,V=1e-6,Tt=st-V;function rt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new rt}rt.prototype=pt.prototype={constructor:rt,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,b){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+b)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var b=this._x1,p=this._y1,m=i-t,s=a-e,o=b-t,l=p-e,k=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(k>V)if(!(Math.abs(l*m-s*o)>V)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var x=i-b,d=a-p,v=m*m+s*s,M=x*x+d*d,T=Math.sqrt(v),N=Math.sqrt(k),I=h*Math.tan((it-Math.acos((v+k-M)/(2*T*N)))/2),$=I/N,R=I/T;Math.abs($-1)>V&&(this._+="L"+(t+$*o)+","+(e+$*l)),this._+="A"+h+","+h+",0,0,"+ +(l*x>o*d)+","+(this._x1=t+R*m)+","+(this._y1=e+R*s)}},arc:function(t,e,i,a,h,b){t=+t,e=+e,i=+i,b=!!b;var p=i*Math.cos(a),m=i*Math.sin(a),s=t+p,o=e+m,l=1^b,k=b?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+s+","+o:(Math.abs(this._x1-s)>V||Math.abs(this._y1-o)>V)&&(this._+="L"+s+","+o),i&&(k<0&&(k=k%st+st),k>Tt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-m)+"A"+i+","+i+",0,1,"+l+","+(this._x1=s)+","+(this._y1=o):k>V&&(this._+="A"+i+","+i+",0,"+ +(k>=it)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Nt(t){return t[1]}var Ct=Array.prototype.slice;function Pt(t){return t.source}function It(t){return t.target}function Ot(t){var e=Pt,i=It,a=Mt,h=Nt,b=null;function p(){var m,s=Ct.call(arguments),o=e.apply(this,s),l=i.apply(this,s);if(b||(b=m=pt()),t(b,+a.apply(this,(s[0]=o,s)),+h.apply(this,s),+a.apply(this,(s[0]=l,s)),+h.apply(this,s)),m)return b=null,m+""||null}return p.source=function(m){return arguments.length?(e=m,p):e},p.target=function(m){return arguments.length?(i=m,p):i},p.x=function(m){return arguments.length?(a=typeof m=="function"?m:ft(+m),p):a},p.y=function(m){return arguments.length?(h=typeof m=="function"?m:ft(+m),p):h},p.context=function(m){return arguments.length?(b=m??null,p):b},p}function Dt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=(function(){var t=f.__name(function(m,s,o,l){for(o=o||{},l=m.length;l--;o[m[l]]=s);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:f.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:f.__name(function(s,o,l,k,x,d,v){var M=d.length-1;switch(x){case 7:const T=k.findOrCreateNode(d[M-4].trim().replaceAll('""','"')),N=k.findOrCreateNode(d[M-2].trim().replaceAll('""','"')),I=parseFloat(d[M].trim());k.addLink(T,N,I);break;case 8:case 9:case 11:this.$=d[M];break;case 10:this.$=d[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:f.__name(function(s,o){if(o.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=o,l}},"parseError"),parse:f.__name(function(s){var o=this,l=[0],k=[],x=[null],d=[],v=this.table,M="",T=0,N=0,I=2,$=1,R=d.slice.call(arguments,1),w=Object.create(this.lexer),P={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(P.yy[B]=this.yy[B]);w.setInput(s,P.yy),P.yy.lexer=w,P.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var O=w.yylloc;d.push(O);var D=w.options&&w.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,x.length=x.length-L,d.length=d.length-L}f.__name(g,"popStack");function E(){var L;return L=k.pop()||w.lex()||$,typeof L!="number"&&(L instanceof Array&&(k=L,L=k.pop()),L=o.symbols_[L]||L),L}f.__name(E,"lex");for(var A,j,C,n,y={},u,c,r,_;;){if(j=l[l.length-1],this.defaultActions[j]?C=this.defaultActions[j]:((A===null||typeof A>"u")&&(A=E()),C=v[j]&&v[j][A]),typeof C>"u"||!C.length||!C[0]){var S="";_=[];for(u in v[j])this.terminals_[u]&&u>I&&_.push("'"+this.terminals_[u]+"'");w.showPosition?S="Parse error on line "+(T+1)+`:
|
|
2
2
|
`+w.showPosition()+`
|
|
3
3
|
Expecting `+_.join(", ")+", got '"+(this.terminals_[A]||A)+"'":S="Parse error on line "+(T+1)+": Unexpected "+(A==$?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(S,{text:w.match,token:this.terminals_[A]||A,line:w.yylineno,loc:O,expected:_})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+A);switch(C[0]){case 1:l.push(A),x.push(w.yytext),d.push(w.yylloc),l.push(C[1]),A=null,N=w.yyleng,M=w.yytext,T=w.yylineno,O=w.yylloc;break;case 2:if(c=this.productions_[C[1]][1],y.$=x[x.length-c],y._$={first_line:d[d.length-(c||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(c||1)].first_column,last_column:d[d.length-1].last_column},D&&(y._$.range=[d[d.length-(c||1)].range[0],d[d.length-1].range[1]]),n=this.performAction.apply(y,[M,N,T,P.yy,C[1],x,d].concat(R)),typeof n<"u")return n;c&&(l=l.slice(0,-1*c*2),x=x.slice(0,-1*c),d=d.slice(0,-1*c)),l.push(this.productions_[C[1]][0]),x.push(y.$),d.push(y._$),r=v[l[l.length-2]][l[l.length-1]],l.push(r);break;case 3:return!0}}return!0},"parse")},b=(function(){var m={EOF:1,parseError:f.__name(function(o,l){if(this.yy.parser)this.yy.parser.parseError(o,l);else throw new Error(o)},"parseError"),setInput:f.__name(function(s,o){return this.yy=o||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var o=s.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:f.__name(function(s){var o=s.length,l=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var k=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),l.length-1&&(this.yylineno-=l.length-1);var x=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:l?(l.length===k.length?this.yylloc.first_column:0)+k[k.length-l.length].length-l[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:f.__name(function(){return this._more=!0,this},"more"),reject:f.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:f.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f.__name(function(){var s=this.pastInput(),o=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as g, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, A as Lt, d as H,
|
|
1
|
+
import { _ as g, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, A as Lt, d as H, W as Et, z as At, k as Tt } from "./cowboy-components-B5MDHQs5.js";
|
|
2
2
|
import { o as Mt } from "./ordinal-DfAQgscy.js";
|
|
3
3
|
function Nt(t) {
|
|
4
4
|
for (var e = t.length / 6 | 0, i = new Array(e), a = 0; a < e; ) i[a] = "#" + t.slice(a * 6, ++a * 6);
|
package/dist/{sequenceDiagram-FGHM5R23-Bg1onFX3.cjs → sequenceDiagram-FGHM5R23-C8D7r5pW.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./cowboy-components-BDlH5KPd.cjs"),U=require("./chunk-YZCP3GAM-CUdZyEqp.cjs"),Ye=require("./chunk-QZHKN3VN-DfLK5brs.cjs");var Ht=(function(){var e=r.__name(function(dt,N,D,P){for(D=D||{},P=dt.length;P--;D[dt[P]]=N);return D},"o"),t=[1,2],s=[1,3],a=[1,4],i=[2,4],o=[1,9],n=[1,11],d=[1,12],_=[1,14],T=[1,15],l=[1,17],m=[1,18],u=[1,19],R=[1,25],E=[1,26],f=[1,27],g=[1,28],x=[1,29],O=[1,30],L=[1,31],S=[1,32],A=[1,33],w=[1,34],M=[1,35],B=[1,36],F=[1,37],z=[1,38],G=[1,39],Z=[1,40],J=[1,42],q=[1,43],tt=[1,44],Q=[1,45],et=[1,46],V=[1,47],C=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Lt=[1,74],b=[1,80],k=[1,81],nt=[1,82],$=[1,83],Y=[1,84],Gt=[1,85],Xt=[1,86],Zt=[1,87],Jt=[1,88],Qt=[1,89],$t=[1,90],jt=[1,91],te=[1,92],ee=[1,93],ae=[1,94],re=[1,95],se=[1,96],ne=[1,97],ie=[1,98],oe=[1,99],ce=[1,100],le=[1,101],de=[1,102],he=[1,103],Te=[1,104],pe=[1,105],Ee=[2,78],yt=[4,5,17,51,53,54],bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],_e=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Mt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],ue=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],Bt=[5,52],W=[70,71,72,73],rt=[1,151],Vt={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:r.__name(function(N,D,P,I,H,c,Rt){var p=c.length-1;switch(H){case 3:return I.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:I.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:I.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:I.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:I.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:I.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:I.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),I.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),I.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:I.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:I.parseMessage(c[p-2]),signalType:I.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:I.parseMessage(c[p-2]),signalType:I.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:I.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:I.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:I.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:I.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:I.parseMessage(c[p-1]),signalType:I.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:I.parseMessage(c[p-1]),signalType:I.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:I.parseMessage(c[p-1]),signalType:I.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=I.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=I.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=I.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=I.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:I.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=I.PLACEMENT.LEFTOF;break;case 69:this.$=I.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:I.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:I.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:I.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:I.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:I.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:I.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:I.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:I.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:I.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:this.$={type:"addParticipant",actor:c[p]};break;case 79:this.$=I.LINETYPE.SOLID_OPEN;break;case 80:this.$=I.LINETYPE.DOTTED_OPEN;break;case 81:this.$=I.LINETYPE.SOLID;break;case 82:this.$=I.LINETYPE.SOLID_TOP;break;case 83:this.$=I.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=I.LINETYPE.STICK_TOP;break;case 85:this.$=I.LINETYPE.STICK_BOTTOM;break;case 86:this.$=I.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=I.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=I.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=I.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=I.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=I.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=I.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=I.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=I.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=I.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=I.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=I.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=I.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=I.LINETYPE.DOTTED;break;case 100:this.$=I.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=I.LINETYPE.SOLID_CROSS;break;case 102:this.$=I.LINETYPE.DOTTED_CROSS;break;case 103:this.$=I.LINETYPE.SOLID_POINT;break;case 104:this.$=I.LINETYPE.DOTTED_POINT;break;case 105:this.$=I.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:s,6:a},{1:[3]},{3:5,4:t,5:s,6:a},{3:6,4:t,5:s,6:a},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},e(C,[2,5]),{9:48,13:13,14:_,15:T,18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},e(C,[2,7]),e(C,[2,8]),e(C,[2,9]),e(C,[2,15]),{13:49,51:z,53:G,54:Z},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:V},{23:56,73:V},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},e(C,[2,30]),e(C,[2,31]),{33:[1,62]},{35:[1,63]},e(C,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:Lt},{23:75,55:76,73:Lt},{23:77,73:V},{69:78,72:[1,79],78:b,79:k,80:nt,81:$,82:Y,83:Gt,84:Xt,85:Zt,86:Jt,87:Qt,88:$t,89:jt,90:te,91:ee,92:ae,93:re,94:se,95:ne,96:ie,97:oe,98:ce,99:le,100:de,101:he,102:Te,103:pe},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:V},{23:111,73:V},{23:112,73:V},{23:113,73:V},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],Ee),e(C,[2,6]),e(C,[2,16]),e(yt,[2,10],{11:114}),e(C,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},e(C,[2,22]),{5:[1,118]},{5:[1,119]},e(C,[2,25]),e(C,[2,26]),e(C,[2,27]),e(C,[2,28]),e(C,[2,29]),e(C,[2,32]),e(C,[2,33]),e(bt,i,{7:120}),e(bt,i,{7:121}),e(bt,i,{7:122}),e(_e,i,{41:123,7:124}),e(Mt,i,{43:125,7:126}),e(Mt,i,{7:126,43:127}),e(ue,i,{46:128,7:129}),e(bt,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Bt,Ee,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:V},{69:146,78:b,79:k,80:nt,81:$,82:Y,83:Gt,84:Xt,85:Zt,86:Jt,87:Qt,88:$t,89:jt,90:te,91:ee,92:ae,93:re,94:se,95:ne,96:ie,97:oe,98:ce,99:le,100:de,101:he,102:Te,103:pe},e(W,[2,79]),e(W,[2,80]),e(W,[2,81]),e(W,[2,82]),e(W,[2,83]),e(W,[2,84]),e(W,[2,85]),e(W,[2,86]),e(W,[2,87]),e(W,[2,88]),e(W,[2,89]),e(W,[2,90]),e(W,[2,91]),e(W,[2,92]),e(W,[2,93]),e(W,[2,94]),e(W,[2,95]),e(W,[2,96]),e(W,[2,97]),e(W,[2,98]),e(W,[2,99]),e(W,[2,100]),e(W,[2,101]),e(W,[2,102]),e(W,[2,103]),e(W,[2,104]),{23:147,73:V},{23:149,60:148,73:V},{73:[2,68]},{73:[2,69]},{58:150,104:rt},{58:152,104:rt},{58:153,104:rt},{58:154,104:rt},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:z,53:G,54:Z},{5:[1,160]},e(C,[2,20]),e(C,[2,21]),e(C,[2,23]),e(C,[2,24]),{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[1,161],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[1,162],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[1,163],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{17:[1,164]},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[2,47],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,50:[1,165],51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{17:[1,166]},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[2,45],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,49:[1,167],51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{17:[1,168]},{17:[1,169]},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[2,43],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,48:[1,170],51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[1,171],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{16:[1,172]},e(C,[2,50]),{16:[1,173]},e(C,[2,55]),e(Bt,[2,76]),{76:[1,174]},{16:[1,175]},e(C,[2,52]),{16:[1,176]},e(C,[2,57]),e(C,[2,53]),{23:177,73:V},{23:178,73:V},{23:179,73:V},{58:180,104:rt},{23:181,72:[1,182],73:V},{58:183,104:rt},{58:184,104:rt},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(C,[2,17]),e(yt,[2,11]),{13:186,51:z,53:G,54:Z},e(yt,[2,13]),e(yt,[2,14]),e(C,[2,19]),e(C,[2,35]),e(C,[2,36]),e(C,[2,37]),e(C,[2,38]),{16:[1,187]},e(C,[2,39]),{16:[1,188]},e(C,[2,40]),e(C,[2,41]),{16:[1,189]},e(C,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:rt},{58:196,104:rt},{58:197,104:rt},{5:[2,75]},{58:198,104:rt},{23:199,73:V},{5:[2,58]},{5:[2,59]},{23:200,73:V},e(yt,[2,12]),e(_e,i,{7:124,41:201}),e(Mt,i,{7:126,43:202}),e(ue,i,{7:129,46:203}),e(C,[2,49]),e(C,[2,54]),e(Bt,[2,77]),e(C,[2,51]),e(C,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:rt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},parseError:r.__name(function(N,D){if(D.recoverable)this.trace(N);else{var P=new Error(N);throw P.hash=D,P}},"parseError"),parse:r.__name(function(N){var D=this,P=[0],I=[],H=[null],c=[],Rt=this.table,p="",St=0,fe=0,ve=2,ge=1,Me=c.slice.call(arguments,1),X=Object.create(this.lexer),pt={yy:{}};for(var Yt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Yt)&&(pt.yy[Yt]=this.yy[Yt]);X.setInput(N,pt.yy),pt.yy.lexer=X,pt.yy.parser=this,typeof X.yylloc>"u"&&(X.yylloc={});var Wt=X.yylloc;c.push(Wt);var Be=X.options&&X.options.ranges;typeof pt.yy.parseError=="function"?this.parseError=pt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ve(at){P.length=P.length-2*at,H.length=H.length-at,c.length=c.length-at}r.__name(Ve,"popStack");function me(){var at;return at=I.pop()||X.lex()||ge,typeof at!="number"&&(at instanceof Array&&(I=at,at=I.pop()),at=D.symbols_[at]||at),at}r.__name(me,"lex");for(var j,Et,st,Kt,gt={},Nt,ot,xe,wt;;){if(Et=P[P.length-1],this.defaultActions[Et]?st=this.defaultActions[Et]:((j===null||typeof j>"u")&&(j=me()),st=Rt[Et]&&Rt[Et][j]),typeof st>"u"||!st.length||!st[0]){var Ft="";wt=[];for(Nt in Rt[Et])this.terminals_[Nt]&&Nt>ve&&wt.push("'"+this.terminals_[Nt]+"'");X.showPosition?Ft="Parse error on line "+(St+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./cowboy-components-DMQv-nwp.cjs"),U=require("./chunk-YZCP3GAM-WiD5REgL.cjs"),Ye=require("./chunk-QZHKN3VN-C-mnteH7.cjs");var Ht=(function(){var e=r.__name(function(dt,N,D,P){for(D=D||{},P=dt.length;P--;D[dt[P]]=N);return D},"o"),t=[1,2],s=[1,3],a=[1,4],i=[2,4],o=[1,9],n=[1,11],d=[1,12],_=[1,14],T=[1,15],l=[1,17],m=[1,18],u=[1,19],R=[1,25],E=[1,26],f=[1,27],g=[1,28],x=[1,29],O=[1,30],L=[1,31],S=[1,32],A=[1,33],w=[1,34],M=[1,35],B=[1,36],F=[1,37],z=[1,38],G=[1,39],Z=[1,40],J=[1,42],q=[1,43],tt=[1,44],Q=[1,45],et=[1,46],V=[1,47],C=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Lt=[1,74],b=[1,80],k=[1,81],nt=[1,82],$=[1,83],Y=[1,84],Gt=[1,85],Xt=[1,86],Zt=[1,87],Jt=[1,88],Qt=[1,89],$t=[1,90],jt=[1,91],te=[1,92],ee=[1,93],ae=[1,94],re=[1,95],se=[1,96],ne=[1,97],ie=[1,98],oe=[1,99],ce=[1,100],le=[1,101],de=[1,102],he=[1,103],Te=[1,104],pe=[1,105],Ee=[2,78],yt=[4,5,17,51,53,54],bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],_e=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Mt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],ue=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],Bt=[5,52],W=[70,71,72,73],rt=[1,151],Vt={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:r.__name(function(N,D,P,I,H,c,Rt){var p=c.length-1;switch(H){case 3:return I.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:I.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:I.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:I.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:I.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:I.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:I.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),I.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),I.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:I.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:I.parseMessage(c[p-2]),signalType:I.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:I.parseMessage(c[p-2]),signalType:I.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:I.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:I.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:I.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:I.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:I.parseMessage(c[p-2]),signalType:I.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:I.parseMessage(c[p-1]),signalType:I.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:I.parseMessage(c[p-1]),signalType:I.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:I.parseMessage(c[p-1]),signalType:I.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=I.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=I.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=I.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=I.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:I.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=I.PLACEMENT.LEFTOF;break;case 69:this.$=I.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:I.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:I.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:I.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:I.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:I.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:I.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:I.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:I.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:I.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:this.$={type:"addParticipant",actor:c[p]};break;case 79:this.$=I.LINETYPE.SOLID_OPEN;break;case 80:this.$=I.LINETYPE.DOTTED_OPEN;break;case 81:this.$=I.LINETYPE.SOLID;break;case 82:this.$=I.LINETYPE.SOLID_TOP;break;case 83:this.$=I.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=I.LINETYPE.STICK_TOP;break;case 85:this.$=I.LINETYPE.STICK_BOTTOM;break;case 86:this.$=I.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=I.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=I.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=I.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=I.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=I.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=I.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=I.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=I.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=I.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=I.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=I.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=I.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=I.LINETYPE.DOTTED;break;case 100:this.$=I.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=I.LINETYPE.SOLID_CROSS;break;case 102:this.$=I.LINETYPE.DOTTED_CROSS;break;case 103:this.$=I.LINETYPE.SOLID_POINT;break;case 104:this.$=I.LINETYPE.DOTTED_POINT;break;case 105:this.$=I.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:s,6:a},{1:[3]},{3:5,4:t,5:s,6:a},{3:6,4:t,5:s,6:a},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},e(C,[2,5]),{9:48,13:13,14:_,15:T,18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},e(C,[2,7]),e(C,[2,8]),e(C,[2,9]),e(C,[2,15]),{13:49,51:z,53:G,54:Z},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:V},{23:56,73:V},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},e(C,[2,30]),e(C,[2,31]),{33:[1,62]},{35:[1,63]},e(C,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:Lt},{23:75,55:76,73:Lt},{23:77,73:V},{69:78,72:[1,79],78:b,79:k,80:nt,81:$,82:Y,83:Gt,84:Xt,85:Zt,86:Jt,87:Qt,88:$t,89:jt,90:te,91:ee,92:ae,93:re,94:se,95:ne,96:ie,97:oe,98:ce,99:le,100:de,101:he,102:Te,103:pe},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:V},{23:111,73:V},{23:112,73:V},{23:113,73:V},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],Ee),e(C,[2,6]),e(C,[2,16]),e(yt,[2,10],{11:114}),e(C,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},e(C,[2,22]),{5:[1,118]},{5:[1,119]},e(C,[2,25]),e(C,[2,26]),e(C,[2,27]),e(C,[2,28]),e(C,[2,29]),e(C,[2,32]),e(C,[2,33]),e(bt,i,{7:120}),e(bt,i,{7:121}),e(bt,i,{7:122}),e(_e,i,{41:123,7:124}),e(Mt,i,{43:125,7:126}),e(Mt,i,{7:126,43:127}),e(ue,i,{46:128,7:129}),e(bt,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Bt,Ee,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:V},{69:146,78:b,79:k,80:nt,81:$,82:Y,83:Gt,84:Xt,85:Zt,86:Jt,87:Qt,88:$t,89:jt,90:te,91:ee,92:ae,93:re,94:se,95:ne,96:ie,97:oe,98:ce,99:le,100:de,101:he,102:Te,103:pe},e(W,[2,79]),e(W,[2,80]),e(W,[2,81]),e(W,[2,82]),e(W,[2,83]),e(W,[2,84]),e(W,[2,85]),e(W,[2,86]),e(W,[2,87]),e(W,[2,88]),e(W,[2,89]),e(W,[2,90]),e(W,[2,91]),e(W,[2,92]),e(W,[2,93]),e(W,[2,94]),e(W,[2,95]),e(W,[2,96]),e(W,[2,97]),e(W,[2,98]),e(W,[2,99]),e(W,[2,100]),e(W,[2,101]),e(W,[2,102]),e(W,[2,103]),e(W,[2,104]),{23:147,73:V},{23:149,60:148,73:V},{73:[2,68]},{73:[2,69]},{58:150,104:rt},{58:152,104:rt},{58:153,104:rt},{58:154,104:rt},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:z,53:G,54:Z},{5:[1,160]},e(C,[2,20]),e(C,[2,21]),e(C,[2,23]),e(C,[2,24]),{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[1,161],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[1,162],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[1,163],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{17:[1,164]},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[2,47],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,50:[1,165],51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{17:[1,166]},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[2,45],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,49:[1,167],51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{17:[1,168]},{17:[1,169]},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[2,43],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,48:[1,170],51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{4:o,5:n,8:8,9:10,10:d,13:13,14:_,15:T,17:[1,171],18:16,19:l,22:m,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:E,32:f,34:g,36:x,37:O,38:L,39:S,40:A,42:w,44:M,45:B,47:F,51:z,53:G,54:Z,56:J,61:q,62:tt,63:Q,64:et,73:V},{16:[1,172]},e(C,[2,50]),{16:[1,173]},e(C,[2,55]),e(Bt,[2,76]),{76:[1,174]},{16:[1,175]},e(C,[2,52]),{16:[1,176]},e(C,[2,57]),e(C,[2,53]),{23:177,73:V},{23:178,73:V},{23:179,73:V},{58:180,104:rt},{23:181,72:[1,182],73:V},{58:183,104:rt},{58:184,104:rt},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(C,[2,17]),e(yt,[2,11]),{13:186,51:z,53:G,54:Z},e(yt,[2,13]),e(yt,[2,14]),e(C,[2,19]),e(C,[2,35]),e(C,[2,36]),e(C,[2,37]),e(C,[2,38]),{16:[1,187]},e(C,[2,39]),{16:[1,188]},e(C,[2,40]),e(C,[2,41]),{16:[1,189]},e(C,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:rt},{58:196,104:rt},{58:197,104:rt},{5:[2,75]},{58:198,104:rt},{23:199,73:V},{5:[2,58]},{5:[2,59]},{23:200,73:V},e(yt,[2,12]),e(_e,i,{7:124,41:201}),e(Mt,i,{7:126,43:202}),e(ue,i,{7:129,46:203}),e(C,[2,49]),e(C,[2,54]),e(Bt,[2,77]),e(C,[2,51]),e(C,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:rt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},parseError:r.__name(function(N,D){if(D.recoverable)this.trace(N);else{var P=new Error(N);throw P.hash=D,P}},"parseError"),parse:r.__name(function(N){var D=this,P=[0],I=[],H=[null],c=[],Rt=this.table,p="",St=0,fe=0,ve=2,ge=1,Me=c.slice.call(arguments,1),X=Object.create(this.lexer),pt={yy:{}};for(var Yt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Yt)&&(pt.yy[Yt]=this.yy[Yt]);X.setInput(N,pt.yy),pt.yy.lexer=X,pt.yy.parser=this,typeof X.yylloc>"u"&&(X.yylloc={});var Wt=X.yylloc;c.push(Wt);var Be=X.options&&X.options.ranges;typeof pt.yy.parseError=="function"?this.parseError=pt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ve(at){P.length=P.length-2*at,H.length=H.length-at,c.length=c.length-at}r.__name(Ve,"popStack");function me(){var at;return at=I.pop()||X.lex()||ge,typeof at!="number"&&(at instanceof Array&&(I=at,at=I.pop()),at=D.symbols_[at]||at),at}r.__name(me,"lex");for(var j,Et,st,Kt,gt={},Nt,ot,xe,wt;;){if(Et=P[P.length-1],this.defaultActions[Et]?st=this.defaultActions[Et]:((j===null||typeof j>"u")&&(j=me()),st=Rt[Et]&&Rt[Et][j]),typeof st>"u"||!st.length||!st[0]){var Ft="";wt=[];for(Nt in Rt[Et])this.terminals_[Nt]&&Nt>ve&&wt.push("'"+this.terminals_[Nt]+"'");X.showPosition?Ft="Parse error on line "+(St+1)+`:
|
|
2
2
|
`+X.showPosition()+`
|
|
3
3
|
Expecting `+wt.join(", ")+", got '"+(this.terminals_[j]||j)+"'":Ft="Parse error on line "+(St+1)+": Unexpected "+(j==ge?"end of input":"'"+(this.terminals_[j]||j)+"'"),this.parseError(Ft,{text:X.match,token:this.terminals_[j]||j,line:X.yylineno,loc:Wt,expected:wt})}if(st[0]instanceof Array&&st.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Et+", token: "+j);switch(st[0]){case 1:P.push(j),H.push(X.yytext),c.push(X.yylloc),P.push(st[1]),j=null,fe=X.yyleng,p=X.yytext,St=X.yylineno,Wt=X.yylloc;break;case 2:if(ot=this.productions_[st[1]][1],gt.$=H[H.length-ot],gt._$={first_line:c[c.length-(ot||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(ot||1)].first_column,last_column:c[c.length-1].last_column},Be&&(gt._$.range=[c[c.length-(ot||1)].range[0],c[c.length-1].range[1]]),Kt=this.performAction.apply(gt,[p,fe,St,pt.yy,st[1],H,c].concat(Me)),typeof Kt<"u")return Kt;ot&&(P=P.slice(0,-1*ot*2),H=H.slice(0,-1*ot),c=c.slice(0,-1*ot)),P.push(this.productions_[st[1]][0]),H.push(gt.$),c.push(gt._$),xe=Rt[P[P.length-2]][P[P.length-1]],P.push(xe);break;case 3:return!0}}return!0},"parse")},Ce=(function(){var dt={EOF:1,parseError:r.__name(function(D,P){if(this.yy.parser)this.yy.parser.parseError(D,P);else throw new Error(D)},"parseError"),setInput:r.__name(function(N,D){return this.yy=D||this.yy||{},this._input=N,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r.__name(function(){var N=this._input[0];this.yytext+=N,this.yyleng++,this.offset++,this.match+=N,this.matched+=N;var D=N.match(/(?:\r\n?|\n).*/g);return D?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),N},"input"),unput:r.__name(function(N){var D=N.length,P=N.split(/(?:\r\n?|\n)/g);this._input=N+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;var I=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),P.length-1&&(this.yylineno-=P.length-1);var H=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:P?(P.length===I.length?this.yylloc.first_column:0)+I[I.length-P.length].length-P[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[H[0],H[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r.__name(function(N){this.unput(this.match.slice(N))},"less"),pastInput:r.__name(function(){var N=this.matched.substr(0,this.matched.length-this.match.length);return(N.length>20?"...":"")+N.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var N=this.match;return N.length<20&&(N+=this._input.substr(0,20-N.length)),(N.substr(0,20)+(N.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var N=this.pastInput(),D=new Array(N.length+1).join("-");return N+this.upcomingInput()+`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as g, n as er, c as $, d as Bt, l as at, j as Me, e as rr, f as ar, k as P, b as De, s as sr, p as ir, a as nr, g as or, q as cr, t as lr, J as hr, z as dr, i as Vt, u as J, L as Z, M as Nt, N as Be, Z as Tr, D as Wt, O as pr, P as Ve } from "./cowboy-components-
|
|
2
|
-
import { a as Er, b as re, g as dt, d as ur, e as ae, f as se } from "./chunk-YZCP3GAM-
|
|
3
|
-
import { I as fr } from "./chunk-QZHKN3VN-
|
|
1
|
+
import { _ as g, n as er, c as $, d as Bt, l as at, j as Me, e as rr, f as ar, k as P, b as De, s as sr, p as ir, a as nr, g as or, q as cr, t as lr, J as hr, z as dr, i as Vt, u as J, L as Z, M as Nt, N as Be, Z as Tr, D as Wt, O as pr, P as Ve } from "./cowboy-components-B5MDHQs5.js";
|
|
2
|
+
import { a as Er, b as re, g as dt, d as ur, e as ae, f as se } from "./chunk-YZCP3GAM-eo-UEr6G.js";
|
|
3
|
+
import { I as fr } from "./chunk-QZHKN3VN-Biauj3yN.js";
|
|
4
4
|
var jt = (function() {
|
|
5
5
|
var e = /* @__PURE__ */ g(function(ut, w, v, k) {
|
|
6
6
|
for (v = v || {}, k = ut.length; k--; v[ut[k]] = w) ;
|
|
@@ -71,7 +71,7 @@ export class WorkspaceService {
|
|
|
71
71
|
static async switchWorkspace(workspace) {
|
|
72
72
|
return new Promise(async (resolve, reject) => {
|
|
73
73
|
try {
|
|
74
|
-
const switchWs = await fetch(WorkspaceService.doctorEndpoint + '/workspaces/
|
|
74
|
+
const switchWs = await fetch(WorkspaceService.doctorEndpoint + '/workspaces/' + workspace.workspaceId + '/switch', {
|
|
75
75
|
method: 'GET',
|
|
76
76
|
credentials: 'include',
|
|
77
77
|
headers: {
|
|
@@ -97,7 +97,7 @@ export class WorkspaceService {
|
|
|
97
97
|
static async updateWorkspace(workspace) {
|
|
98
98
|
return new Promise(async (resolve, reject) => {
|
|
99
99
|
try {
|
|
100
|
-
const updateWs = await fetch(WorkspaceService.doctorEndpoint + '/workspaces/
|
|
100
|
+
const updateWs = await fetch(WorkspaceService.doctorEndpoint + '/workspaces/' + workspace.workspaceId + '/update', {
|
|
101
101
|
method: 'POST',
|
|
102
102
|
credentials: 'include',
|
|
103
103
|
headers: {
|
|
@@ -124,7 +124,7 @@ export class WorkspaceService {
|
|
|
124
124
|
static async deleteWorkspace(workspace) {
|
|
125
125
|
return new Promise(async (resolve, reject) => {
|
|
126
126
|
try {
|
|
127
|
-
const deleteWs = await fetch(WorkspaceService.doctorEndpoint + '/workspaces/
|
|
127
|
+
const deleteWs = await fetch(WorkspaceService.doctorEndpoint + '/workspaces/' + workspace.workspaceId + '/update', {
|
|
128
128
|
method: 'DELETE',
|
|
129
129
|
credentials: 'include',
|
|
130
130
|
headers: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./chunk-OYMX7WX6-BxqhsynN.cjs"),t=require("./cowboy-components-DMQv-nwp.cjs"),H=require("./graph-nnOjqfSF.cjs"),z=require("./layout-C5IxZs51.cjs"),k=require("./change-list-item-4xBSo3-U.cjs");var L=t.__name(e=>e.append("circle").attr("class","start-state").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit),"drawStartState"),W=t.__name(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t.getConfig2().state.textHeight).attr("class","divider").attr("x2",t.getConfig2().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),A=t.__name((e,n)=>{const d=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+2*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),g=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",g.width+2*t.getConfig2().state.padding).attr("height",g.height+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),d},"drawSimpleState"),G=t.__name((e,n)=>{const d=t.__name(function(s,m,u){const B=s.append("tspan").attr("x",2*t.getConfig2().state.padding).text(m);u||B.attr("dy",t.getConfig2().state.textHeight)},"addTspan"),o=e.append("text").attr("x",2*t.getConfig2().state.padding).attr("y",t.getConfig2().state.textHeight+1.3*t.getConfig2().state.padding).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.descriptions[0]).node().getBBox(),l=o.height,h=e.append("text").attr("x",t.getConfig2().state.padding).attr("y",l+t.getConfig2().state.padding*.4+t.getConfig2().state.dividerMargin+t.getConfig2().state.textHeight).attr("class","state-description");let i=!0,r=!0;n.descriptions.forEach(function(s){i||(d(h,s,r),r=!1),i=!1});const y=e.append("line").attr("x1",t.getConfig2().state.padding).attr("y1",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("y2",t.getConfig2().state.padding+l+t.getConfig2().state.dividerMargin/2).attr("class","descr-divider"),p=h.node().getBBox(),c=Math.max(p.width,o.width);return y.attr("x2",c+3*t.getConfig2().state.padding),e.insert("rect",":first-child").attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding).attr("width",c+2*t.getConfig2().state.padding).attr("height",p.height+l+2*t.getConfig2().state.padding).attr("rx",t.getConfig2().state.radius),e},"drawDescrState"),P=t.__name((e,n,d)=>{const g=t.getConfig2().state.padding,o=2*t.getConfig2().state.padding,l=e.node().getBBox(),h=l.width,i=l.x,r=e.append("text").attr("x",0).attr("y",t.getConfig2().state.titleShift).attr("font-size",t.getConfig2().state.fontSize).attr("class","state-title").text(n.id),p=r.node().getBBox().width+o;let c=Math.max(p,h);c===h&&(c=c+o);let s;const m=e.node().getBBox();n.doc,s=i-g,p>h&&(s=(h-c)/2+g),Math.abs(i-m.x)<g&&p>h&&(s=i-(p-h)/2);const u=1-t.getConfig2().state.textHeight;return e.insert("rect",":first-child").attr("x",s).attr("y",u).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",m.height+t.getConfig2().state.textHeight+t.getConfig2().state.titleShift+1).attr("rx","0"),r.attr("x",s+g),p<=h&&r.attr("x",i+(c-o)/2-p/2+g),e.insert("rect",":first-child").attr("x",s).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",c).attr("height",t.getConfig2().state.textHeight*3).attr("rx",t.getConfig2().state.radius),e.insert("rect",":first-child").attr("x",s).attr("y",t.getConfig2().state.titleShift-t.getConfig2().state.textHeight-t.getConfig2().state.padding).attr("width",c).attr("height",m.height+3+2*t.getConfig2().state.textHeight).attr("rx",t.getConfig2().state.radius),e},"addTitleAndBox"),R=t.__name(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+t.getConfig2().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t.getConfig2().state.sizeUnit).attr("cx",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2).attr("cy",t.getConfig2().state.padding+t.getConfig2().state.sizeUnit+2)),"drawEndState"),U=t.__name((e,n)=>{let d=t.getConfig2().state.forkWidth,g=t.getConfig2().state.forkHeight;if(n.parentId){let o=d;d=g,g=o}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",g).attr("x",t.getConfig2().state.padding).attr("y",t.getConfig2().state.padding)},"drawForkJoinState"),D=t.__name((e,n,d,g)=>{let o=0;const l=g.append("text");l.style("text-anchor","start"),l.attr("class","noteText");let h=e.replace(/\r\n/g,"<br/>");h=h.replace(/\n/g,"<br/>");const i=h.split(t.common_default.lineBreakRegex);let r=1.25*t.getConfig2().state.noteMargin;for(const y of i){const p=y.trim();if(p.length>0){const c=l.append("tspan");if(c.text(p),r===0){const s=c.node().getBBox();r+=s.height}o+=r,c.attr("x",n+t.getConfig2().state.noteMargin),c.attr("y",d+o+1.25*t.getConfig2().state.noteMargin)}}return{textWidth:l.node().getBBox().width,textHeight:o}},"_drawLongText"),F=t.__name((e,n)=>{n.attr("class","state-note");const d=n.append("rect").attr("x",0).attr("y",t.getConfig2().state.padding),g=n.append("g"),{textWidth:o,textHeight:l}=D(e,0,0,g);return d.attr("height",l+2*t.getConfig2().state.noteMargin),d.attr("width",o+t.getConfig2().state.noteMargin*2),d},"drawNote"),N=t.__name(function(e,n){const d=n.id,g={id:d,label:n.id,width:0,height:0},o=e.append("g").attr("id",d).attr("class","stateGroup");n.type==="start"&&L(o),n.type==="end"&&R(o),(n.type==="fork"||n.type==="join")&&U(o,n),n.type==="note"&&F(n.note.text,o),n.type==="divider"&&W(o),n.type==="default"&&n.descriptions.length===0&&A(o,n),n.type==="default"&&n.descriptions.length>0&&G(o,n);const l=o.node().getBBox();return g.width=l.width+2*t.getConfig2().state.padding,g.height=l.height+2*t.getConfig2().state.padding,g},"drawState"),M=0,O=t.__name(function(e,n,d){const g=t.__name(function(r){switch(r){case _.StateDB.relationType.AGGREGATION:return"aggregation";case _.StateDB.relationType.EXTENSION:return"extension";case _.StateDB.relationType.COMPOSITION:return"composition";case _.StateDB.relationType.DEPENDENCY:return"dependency"}},"getRelationType");n.points=n.points.filter(r=>!Number.isNaN(r.y));const o=n.points,l=k.line().x(function(r){return r.x}).y(function(r){return r.y}).curve(k.curveBasis),h=e.append("path").attr("d",l(o)).attr("id","edge"+M).attr("class","transition");let i="";if(t.getConfig2().state.arrowMarkerAbsolute&&(i=t.getUrl(!0)),h.attr("marker-end","url("+i+"#"+g(_.StateDB.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:y,y:p}=t.utils_default.calcLabelPosition(n.points),c=t.common_default.getRows(d.title);let s=0;const m=[];let u=0,B=0;for(let x=0;x<=c.length;x++){const f=r.append("text").attr("text-anchor","middle").text(c[x]).attr("x",y).attr("y",p+s),C=f.node().getBBox();u=Math.max(u,C.width),B=Math.min(B,C.x),t.log.info(C.x,y,p+s),s===0&&(s=f.node().getBBox().height,t.log.info("Title height",s,p)),m.push(f)}let S=s*c.length;if(c.length>1){const x=(c.length-1)*s*.5;m.forEach((f,C)=>f.attr("y",p+C*s-x)),S=s*c.length}const a=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",y-u/2-t.getConfig2().state.padding/2).attr("y",p-S/2-t.getConfig2().state.padding/2-3.5).attr("width",u+t.getConfig2().state.padding).attr("height",S+t.getConfig2().state.padding),t.log.info(a)}M++},"drawEdge"),w,E={},X=t.__name(function(){},"setConf"),q=t.__name(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),J=t.__name(function(e,n,d,g){w=t.getConfig2().state;const o=t.getConfig2().securityLevel;let l;o==="sandbox"&&(l=t.select("#i"+n));const h=o==="sandbox"?t.select(l.nodes()[0].contentDocument.body):t.select("body"),i=o==="sandbox"?l.nodes()[0].contentDocument:document;t.log.debug("Rendering diagram "+e);const r=h.select(`[id='${n}']`);q(r);const y=g.db.getRootDoc(),p=r.append("g").attr("id",n+"-root");T(y,p,void 0,!1,h,i,g);const c=w.padding,s=r.node().getBBox(),m=s.width+c*2,u=s.height+c*2,B=m*1.75;t.configureSvgSize(r,u,B,w.useMaxWidth),r.attr("viewBox",`${s.x-w.padding} ${s.y-w.padding} `+m+" "+u)},"draw"),Y=t.__name(e=>e?e.length*w.fontSizeFactor:1,"getLabelWidth"),T=t.__name((e,n,d,g,o,l,h)=>{const i=new H.Graph({compound:!0,multigraph:!0});let r,y=!0;for(r=0;r<e.length;r++)if(e[r].stmt==="relation"){y=!1;break}d?i.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:y?1:w.edgeLengthFactor,nodeSep:y?1:50,isMultiGraph:!0}):i.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:y?1:w.edgeLengthFactor,nodeSep:y?1:50,ranker:"tight-tree",isMultiGraph:!0}),i.setDefaultEdgeLabel(function(){return{}});const p=h.db.getStates(),c=h.db.getRelations(),s=Object.keys(p);for(const a of s){const x=p[a];d&&(x.parentId=d);let f;if(x.doc){let C=n.append("g").attr("id",x.id).attr("class","stateGroup");f=T(x.doc,C,x.id,!g,o,l,h);{C=P(C,x,g);let b=C.node().getBBox();f.width=b.width,f.height=b.height+w.padding/2,E[x.id]={y:w.compositTitleSize}}}else f=N(n,x,i);if(x.note){const C={descriptions:[],id:x.id+"-note",note:x.note,type:"note"},b=N(n,C,i);x.note.position==="left of"?(i.setNode(f.id+"-note",b),i.setNode(f.id,f)):(i.setNode(f.id,f),i.setNode(f.id+"-note",b)),i.setParent(f.id,f.id+"-group"),i.setParent(f.id+"-note",f.id+"-group")}else i.setNode(f.id,f)}t.log.debug("Count=",i.nodeCount(),i);let m=0;c.forEach(function(a){m++,t.log.debug("Setting edge",a),i.setEdge(a.id1,a.id2,{relation:a,width:Y(a.title),height:w.labelHeight*t.common_default.getRows(a.title).length,labelpos:"c"},"id"+m)}),z.layout(i),t.log.debug("Graph after layout",i.nodes());const u=n.node();i.nodes().forEach(function(a){a!==void 0&&i.node(a)!==void 0?(t.log.warn("Node "+a+": "+JSON.stringify(i.node(a))),o.select("#"+u.id+" #"+a).attr("transform","translate("+(i.node(a).x-i.node(a).width/2)+","+(i.node(a).y+(E[a]?E[a].y:0)-i.node(a).height/2)+" )"),o.select("#"+u.id+" #"+a).attr("data-x-shift",i.node(a).x-i.node(a).width/2),l.querySelectorAll("#"+u.id+" #"+a+" .divider").forEach(f=>{const C=f.parentElement;let b=0,v=0;C&&(C.parentElement&&(b=C.parentElement.getBBox().width),v=parseInt(C.getAttribute("data-x-shift"),10),Number.isNaN(v)&&(v=0)),f.setAttribute("x1",0-v+8),f.setAttribute("x2",b-v-8)})):t.log.debug("No Node "+a+": "+JSON.stringify(i.node(a)))});let B=u.getBBox();i.edges().forEach(function(a){a!==void 0&&i.edge(a)!==void 0&&(t.log.debug("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(i.edge(a))),O(n,i.edge(a),i.edge(a).relation))}),B=u.getBBox();const S={id:d||"root",label:d||"root",width:0,height:0};return S.width=B.width+2*w.padding,S.height=B.height+2*w.padding,t.log.debug("Doc rendered",S,i),S},"renderDoc"),I={setConf:X,draw:J},$={parser:_.stateDiagram_default,get db(){return new _.StateDB(1)},renderer:I,styles:_.styles_default,init:t.__name(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=$;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
import { _ as f, c as t, d as H, l as S, e as P, k as z,
|
|
3
|
-
import { G as
|
|
4
|
-
import { l as
|
|
1
|
+
import { s as R, a as W, S as N } from "./chunk-OYMX7WX6-DTXPUCgU.js";
|
|
2
|
+
import { _ as f, c as t, d as H, l as S, e as P, k as z, O as _, u as U } from "./cowboy-components-B5MDHQs5.js";
|
|
3
|
+
import { G as C } from "./graph-BNtv6wPN.js";
|
|
4
|
+
import { l as F } from "./layout-US8yryxu.js";
|
|
5
|
+
import { l as O, c as J } from "./change-list-item-Bu_mPv-k.js";
|
|
5
6
|
var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), "drawStartState"), D = /* @__PURE__ */ f((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), Y = /* @__PURE__ */ f((e, i) => {
|
|
6
7
|
const d = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = d.node().getBBox();
|
|
7
8
|
return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), d;
|
|
8
9
|
}, "drawSimpleState"), I = /* @__PURE__ */ f((e, i) => {
|
|
9
|
-
const d = /* @__PURE__ */ f(function(o,
|
|
10
|
-
const v = o.append("tspan").attr("x", 2 * t().state.padding).text(
|
|
10
|
+
const d = /* @__PURE__ */ f(function(o, B, y) {
|
|
11
|
+
const v = o.append("tspan").attr("x", 2 * t().state.padding).text(B);
|
|
11
12
|
y || v.attr("dy", t().state.textHeight);
|
|
12
13
|
}, "addTspan"), n = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 1.3 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.descriptions[0]).node().getBBox(), l = n.height, p = e.append("text").attr("x", t().state.padding).attr(
|
|
13
14
|
"y",
|
|
@@ -17,26 +18,26 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
17
18
|
i.descriptions.forEach(function(o) {
|
|
18
19
|
a || (d(p, o, s), s = !1), a = !1;
|
|
19
20
|
});
|
|
20
|
-
const
|
|
21
|
-
return
|
|
21
|
+
const m = e.append("line").attr("x1", t().state.padding).attr("y1", t().state.padding + l + t().state.dividerMargin / 2).attr("y2", t().state.padding + l + t().state.dividerMargin / 2).attr("class", "descr-divider"), x = p.node().getBBox(), g = Math.max(x.width, n.width);
|
|
22
|
+
return m.attr("x2", g + 3 * t().state.padding), e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", g + 2 * t().state.padding).attr("height", x.height + l + 2 * t().state.padding).attr("rx", t().state.radius), e;
|
|
22
23
|
}, "drawDescrState"), $ = /* @__PURE__ */ f((e, i, d) => {
|
|
23
24
|
const c = t().state.padding, n = 2 * t().state.padding, l = e.node().getBBox(), p = l.width, a = l.x, s = e.append("text").attr("x", 0).attr("y", t().state.titleShift).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), x = s.node().getBBox().width + n;
|
|
24
25
|
let g = Math.max(x, p);
|
|
25
26
|
g === p && (g = g + n);
|
|
26
27
|
let o;
|
|
27
|
-
const
|
|
28
|
-
i.doc, o = a - c, x > p && (o = (p - g) / 2 + c), Math.abs(a -
|
|
28
|
+
const B = e.node().getBBox();
|
|
29
|
+
i.doc, o = a - c, x > p && (o = (p - g) / 2 + c), Math.abs(a - B.x) < c && x > p && (o = a - (x - p) / 2);
|
|
29
30
|
const y = 1 - t().state.textHeight;
|
|
30
31
|
return e.insert("rect", ":first-child").attr("x", o).attr("y", y).attr("class", d ? "alt-composit" : "composit").attr("width", g).attr(
|
|
31
32
|
"height",
|
|
32
|
-
|
|
33
|
+
B.height + t().state.textHeight + t().state.titleShift + 1
|
|
33
34
|
).attr("rx", "0"), s.attr("x", o + c), x <= p && s.attr("x", a + (g - n) / 2 - x / 2 + c), e.insert("rect", ":first-child").attr("x", o).attr(
|
|
34
35
|
"y",
|
|
35
36
|
t().state.titleShift - t().state.textHeight - t().state.padding
|
|
36
37
|
).attr("width", g).attr("height", t().state.textHeight * 3).attr("rx", t().state.radius), e.insert("rect", ":first-child").attr("x", o).attr(
|
|
37
38
|
"y",
|
|
38
39
|
t().state.titleShift - t().state.textHeight - t().state.padding
|
|
39
|
-
).attr("width", g).attr("height",
|
|
40
|
+
).attr("width", g).attr("height", B.height + 3 + 2 * t().state.textHeight).attr("rx", t().state.radius), e;
|
|
40
41
|
}, "addTitleAndBox"), q = /* @__PURE__ */ f((e) => (e.append("circle").attr("class", "end-state-outer").attr("r", t().state.sizeUnit + t().state.miniPadding).attr(
|
|
41
42
|
"cx",
|
|
42
43
|
t().state.padding + t().state.sizeUnit + t().state.miniPadding
|
|
@@ -58,8 +59,8 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
58
59
|
p = p.replace(/\n/g, "<br/>");
|
|
59
60
|
const a = p.split(z.lineBreakRegex);
|
|
60
61
|
let s = 1.25 * t().state.noteMargin;
|
|
61
|
-
for (const
|
|
62
|
-
const x =
|
|
62
|
+
for (const m of a) {
|
|
63
|
+
const x = m.trim();
|
|
63
64
|
if (x.length > 0) {
|
|
64
65
|
const g = l.append("tspan");
|
|
65
66
|
if (g.text(x), s === 0) {
|
|
@@ -98,31 +99,31 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
98
99
|
}
|
|
99
100
|
}, "getRelationType");
|
|
100
101
|
i.points = i.points.filter((s) => !Number.isNaN(s.y));
|
|
101
|
-
const n = i.points, l =
|
|
102
|
+
const n = i.points, l = O().x(function(s) {
|
|
102
103
|
return s.x;
|
|
103
104
|
}).y(function(s) {
|
|
104
105
|
return s.y;
|
|
105
|
-
}).curve(
|
|
106
|
+
}).curve(J), p = e.append("path").attr("d", l(n)).attr("id", "edge" + G).attr("class", "transition");
|
|
106
107
|
let a = "";
|
|
107
|
-
if (t().state.arrowMarkerAbsolute && (a =
|
|
108
|
+
if (t().state.arrowMarkerAbsolute && (a = _(!0)), p.attr(
|
|
108
109
|
"marker-end",
|
|
109
110
|
"url(" + a + "#" + c(N.relationType.DEPENDENCY) + "End)"
|
|
110
111
|
), d.title !== void 0) {
|
|
111
|
-
const s = e.append("g").attr("class", "stateLabel"), { x:
|
|
112
|
+
const s = e.append("g").attr("class", "stateLabel"), { x: m, y: x } = U.calcLabelPosition(i.points), g = z.getRows(d.title);
|
|
112
113
|
let o = 0;
|
|
113
|
-
const
|
|
114
|
+
const B = [];
|
|
114
115
|
let y = 0, v = 0;
|
|
115
116
|
for (let u = 0; u <= g.length; u++) {
|
|
116
|
-
const h = s.append("text").attr("text-anchor", "middle").text(g[u]).attr("x",
|
|
117
|
-
y = Math.max(y, w.width), v = Math.min(v, w.x), S.info(w.x,
|
|
117
|
+
const h = s.append("text").attr("text-anchor", "middle").text(g[u]).attr("x", m).attr("y", x + o), w = h.node().getBBox();
|
|
118
|
+
y = Math.max(y, w.width), v = Math.min(v, w.x), S.info(w.x, m, x + o), o === 0 && (o = h.node().getBBox().height, S.info("Title height", o, x)), B.push(h);
|
|
118
119
|
}
|
|
119
120
|
let k = o * g.length;
|
|
120
121
|
if (g.length > 1) {
|
|
121
122
|
const u = (g.length - 1) * o * 0.5;
|
|
122
|
-
|
|
123
|
+
B.forEach((h, w) => h.attr("y", x + w * o - u)), k = o * g.length;
|
|
123
124
|
}
|
|
124
125
|
const r = s.node().getBBox();
|
|
125
|
-
s.insert("rect", ":first-child").attr("class", "box").attr("x",
|
|
126
|
+
s.insert("rect", ":first-child").attr("class", "box").attr("x", m - y / 2 - t().state.padding / 2).attr("y", x - k / 2 - t().state.padding / 2 - 3.5).attr("width", y + t().state.padding).attr("height", k + t().state.padding), S.info(r);
|
|
126
127
|
}
|
|
127
128
|
G++;
|
|
128
129
|
}, "drawEdge"), b, T = {}, V = /* @__PURE__ */ f(function() {
|
|
@@ -137,22 +138,22 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
137
138
|
S.debug("Rendering diagram " + e);
|
|
138
139
|
const s = p.select(`[id='${i}']`);
|
|
139
140
|
tt(s);
|
|
140
|
-
const
|
|
141
|
-
|
|
142
|
-
const g = b.padding, o = s.node().getBBox(),
|
|
141
|
+
const m = c.db.getRootDoc(), x = s.append("g").attr("id", i + "-root");
|
|
142
|
+
A(m, x, void 0, !1, p, a, c);
|
|
143
|
+
const g = b.padding, o = s.node().getBBox(), B = o.width + g * 2, y = o.height + g * 2, v = B * 1.75;
|
|
143
144
|
P(s, y, v, b.useMaxWidth), s.attr(
|
|
144
145
|
"viewBox",
|
|
145
|
-
`${o.x - b.padding} ${o.y - b.padding} ` +
|
|
146
|
+
`${o.x - b.padding} ${o.y - b.padding} ` + B + " " + y
|
|
146
147
|
);
|
|
147
|
-
}, "draw"), at = /* @__PURE__ */ f((e) => e ? e.length * b.fontSizeFactor : 1, "getLabelWidth"),
|
|
148
|
-
const a = new
|
|
148
|
+
}, "draw"), at = /* @__PURE__ */ f((e) => e ? e.length * b.fontSizeFactor : 1, "getLabelWidth"), A = /* @__PURE__ */ f((e, i, d, c, n, l, p) => {
|
|
149
|
+
const a = new C({
|
|
149
150
|
compound: !0,
|
|
150
151
|
multigraph: !0
|
|
151
152
|
});
|
|
152
|
-
let s,
|
|
153
|
+
let s, m = !0;
|
|
153
154
|
for (s = 0; s < e.length; s++)
|
|
154
155
|
if (e[s].stmt === "relation") {
|
|
155
|
-
|
|
156
|
+
m = !1;
|
|
156
157
|
break;
|
|
157
158
|
}
|
|
158
159
|
d ? a.setGraph({
|
|
@@ -161,8 +162,8 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
161
162
|
compound: !0,
|
|
162
163
|
// acyclicer: 'greedy',
|
|
163
164
|
ranker: "tight-tree",
|
|
164
|
-
ranksep:
|
|
165
|
-
nodeSep:
|
|
165
|
+
ranksep: m ? 1 : b.edgeLengthFactor,
|
|
166
|
+
nodeSep: m ? 1 : 50,
|
|
166
167
|
isMultiGraph: !0
|
|
167
168
|
// ranksep: 5,
|
|
168
169
|
// nodesep: 1
|
|
@@ -173,8 +174,8 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
173
174
|
// isCompound: true,
|
|
174
175
|
// acyclicer: 'greedy',
|
|
175
176
|
// ranker: 'longest-path'
|
|
176
|
-
ranksep:
|
|
177
|
-
nodeSep:
|
|
177
|
+
ranksep: m ? 1 : b.edgeLengthFactor,
|
|
178
|
+
nodeSep: m ? 1 : 50,
|
|
178
179
|
ranker: "tight-tree",
|
|
179
180
|
// ranker: 'network-simplex'
|
|
180
181
|
isMultiGraph: !0
|
|
@@ -188,7 +189,7 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
188
189
|
let h;
|
|
189
190
|
if (u.doc) {
|
|
190
191
|
let w = i.append("g").attr("id", u.id).attr("class", "stateGroup");
|
|
191
|
-
h =
|
|
192
|
+
h = A(u.doc, w, u.id, !c, n, l, p);
|
|
192
193
|
{
|
|
193
194
|
w = $(w, u, c);
|
|
194
195
|
let E = w.node().getBBox();
|
|
@@ -208,9 +209,9 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
208
209
|
a.setNode(h.id, h);
|
|
209
210
|
}
|
|
210
211
|
S.debug("Count=", a.nodeCount(), a);
|
|
211
|
-
let
|
|
212
|
+
let B = 0;
|
|
212
213
|
g.forEach(function(r) {
|
|
213
|
-
|
|
214
|
+
B++, S.debug("Setting edge", r), a.setEdge(
|
|
214
215
|
r.id1,
|
|
215
216
|
r.id2,
|
|
216
217
|
{
|
|
@@ -219,9 +220,9 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
219
220
|
height: b.labelHeight * z.getRows(r.title).length,
|
|
220
221
|
labelpos: "c"
|
|
221
222
|
},
|
|
222
|
-
"id" +
|
|
223
|
+
"id" + B
|
|
223
224
|
);
|
|
224
|
-
}),
|
|
225
|
+
}), F(a), S.debug("Graph after layout", a.nodes());
|
|
225
226
|
const y = i.node();
|
|
226
227
|
a.nodes().forEach(function(r) {
|
|
227
228
|
r !== void 0 && a.node(r) !== void 0 ? (S.warn("Node " + r + ": " + JSON.stringify(a.node(r))), n.select("#" + y.id + " #" + r).attr(
|
|
@@ -247,17 +248,17 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
247
248
|
}, "renderDoc"), it = {
|
|
248
249
|
setConf: V,
|
|
249
250
|
draw: et
|
|
250
|
-
},
|
|
251
|
+
}, ct = {
|
|
251
252
|
parser: W,
|
|
252
253
|
get db() {
|
|
253
254
|
return new N(1);
|
|
254
255
|
},
|
|
255
256
|
renderer: it,
|
|
256
|
-
styles:
|
|
257
|
+
styles: R,
|
|
257
258
|
init: /* @__PURE__ */ f((e) => {
|
|
258
259
|
e.state || (e.state = {}), e.state.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
259
260
|
}, "init")
|
|
260
261
|
};
|
|
261
262
|
export {
|
|
262
|
-
|
|
263
|
+
ct as diagram
|
|
263
264
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as a, b as t, a as r, S as s } from "./chunk-OYMX7WX6-
|
|
2
|
-
import { _ as i } from "./cowboy-components-
|
|
1
|
+
import { s as a, b as t, a as r, S as s } from "./chunk-OYMX7WX6-DTXPUCgU.js";
|
|
2
|
+
import { _ as i } from "./cowboy-components-B5MDHQs5.js";
|
|
3
3
|
var _ = {
|
|
4
4
|
parser: r,
|
|
5
5
|
get db() {
|
package/dist/{stateDiagram-v2-QKLJ7IA2-k0ixVO2x.cjs → stateDiagram-v2-QKLJ7IA2-D8ygFuIi.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunk-OYMX7WX6-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunk-OYMX7WX6-BxqhsynN.cjs"),r=require("./cowboy-components-DMQv-nwp.cjs");var a={parser:t.stateDiagram_default,get db(){return new t.StateDB(2)},renderer:t.stateRenderer_v3_unified_default,styles:t.styles_default,init:r.__name(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=a;
|
package/dist/{timeline-definition-GMOUNBTQ-tsduD7s8.cjs → timeline-definition-GMOUNBTQ-DGnNWVK8.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./cowboy-components-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./cowboy-components-DMQv-nwp.cjs"),st=require("./arc-CH-0H1TF.cjs");var Q=(function(){var e=r.__name(function(x,s,d,c){for(d=d||{},c=x.length;c--;d[x[c]]=s);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],n=[1,12],i=[1,13],a=[1,14],h=[1,15],l=[1,16],o=[1,19],f=[1,20],p={trace:r.__name(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:r.__name(function(s,d,c,g,y,u,S){var k=u.length-1;switch(y){case 1:return u[k-1];case 3:g.setDirection("LR");break;case 4:g.setDirection("TD");break;case 5:this.$=[];break;case 6:u[k-1].push(u[k]),this.$=u[k-1];break;case 7:case 8:this.$=u[k];break;case 9:case 10:this.$=[];break;case 11:g.getCommonDb().setDiagramTitle(u[k].substr(6)),this.$=u[k].substr(6);break;case 12:this.$=u[k].trim(),g.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[k].trim(),g.getCommonDb().setAccDescription(this.$);break;case 15:g.addSection(u[k].substr(8)),this.$=u[k].substr(8);break;case 18:g.addTask(u[k],0,""),this.$=u[k];break;case 19:g.addEvent(u[k].substr(2)),this.$=u[k];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:i,17:a,19:h,20:l,21:17,22:18,23:o,24:f},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:n,15:i,17:a,19:h,20:l,21:17,22:18,23:o,24:f},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:r.__name(function(s,d){if(d.recoverable)this.trace(s);else{var c=new Error(s);throw c.hash=d,c}},"parseError"),parse:r.__name(function(s){var d=this,c=[0],g=[],y=[null],u=[],S=this.table,k="",N=0,A=0,R=2,O=1,H=u.slice.call(arguments,1),w=Object.create(this.lexer),I={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(I.yy[B]=this.yy[B]);w.setInput(s,I.yy),I.yy.lexer=w,I.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var V=w.yylloc;u.push(V);var q=w.options&&w.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $(M){c.length=c.length-2*M,y.length=y.length-M,u.length=u.length-M}r.__name($,"popStack");function v(){var M;return M=g.pop()||w.lex()||O,typeof M!="number"&&(M instanceof Array&&(g=M,M=g.pop()),M=d.symbols_[M]||M),M}r.__name(v,"lex");for(var b,T,E,W,C={},z,P,j,K;;){if(T=c[c.length-1],this.defaultActions[T]?E=this.defaultActions[T]:((b===null||typeof b>"u")&&(b=v()),E=S[T]&&S[T][b]),typeof E>"u"||!E.length||!E[0]){var J="";K=[];for(z in S[T])this.terminals_[z]&&z>R&&K.push("'"+this.terminals_[z]+"'");w.showPosition?J="Parse error on line "+(N+1)+`:
|
|
2
2
|
`+w.showPosition()+`
|
|
3
3
|
Expecting `+K.join(", ")+", got '"+(this.terminals_[b]||b)+"'":J="Parse error on line "+(N+1)+": Unexpected "+(b==O?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(J,{text:w.match,token:this.terminals_[b]||b,line:w.yylineno,loc:V,expected:K})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+b);switch(E[0]){case 1:c.push(b),y.push(w.yytext),u.push(w.yylloc),c.push(E[1]),b=null,A=w.yyleng,k=w.yytext,N=w.yylineno,V=w.yylloc;break;case 2:if(P=this.productions_[E[1]][1],C.$=y[y.length-P],C._$={first_line:u[u.length-(P||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(P||1)].first_column,last_column:u[u.length-1].last_column},q&&(C._$.range=[u[u.length-(P||1)].range[0],u[u.length-1].range[1]]),W=this.performAction.apply(C,[k,A,N,I.yy,E[1],y,u].concat(H)),typeof W<"u")return W;P&&(c=c.slice(0,-1*P*2),y=y.slice(0,-1*P),u=u.slice(0,-1*P)),c.push(this.productions_[E[1]][0]),y.push(C.$),u.push(C._$),j=S[c[c.length-2]][c[c.length-1]],c.push(j);break;case 3:return!0}}return!0},"parse")},_=(function(){var x={EOF:1,parseError:r.__name(function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},"parseError"),setInput:r.__name(function(s,d){return this.yy=d||this.yy||{},this._input=s,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:r.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var d=s.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:r.__name(function(s){var d=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var y=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:c?(c.length===g.length?this.yylloc.first_column:0)+g[g.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:r.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var s=this.pastInput(),d=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|