@pi-outpost/embed 0.15.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PdfViewer-BEdoeHbS.cjs +1 -0
- package/dist/{PdfViewer-BHP5lV-o.js → PdfViewer-DvoTT6jM.js} +5 -5
- package/dist/{abnfDiagram-N423BO3Z-WMOVzCba.js → abnfDiagram-VCTEODGH-CYuCmqs8.js} +6 -6
- package/dist/abnfDiagram-VCTEODGH-SjZtzoAs.cjs +1 -0
- package/dist/{arc-BBnpgwVQ.js → arc-CtDF59mU.js} +8 -6
- package/dist/arc-Dh2Zrypi.cjs +1 -0
- package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +1 -0
- package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +3 -0
- package/dist/{architectureDiagram-T3A2C74G-BH-F8FzB.js → architectureDiagram-5GKGNRK7-D2-hmLgN.js} +327 -318
- package/dist/architectureDiagram-5GKGNRK7-wrDPdf3y.cjs +36 -0
- package/dist/blockDiagram-OSKFZWR5-Boo8WJyt.cjs +129 -0
- package/dist/blockDiagram-OSKFZWR5-Bvi4xQOy.js +1922 -0
- package/dist/{browser-CynjNfkw.js → browser-BmmG9yeb.js} +40 -34
- package/dist/{browser-CAyUayTx.cjs → browser-CUQnQIhV.cjs} +5 -5
- package/dist/c-AHDGPWiJ.cjs +1 -0
- package/dist/{c-Cw4FsAeJ.js → c-BCMbpktW.js} +42 -31
- package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +38 -0
- package/dist/{c4Diagram-5PPSVZJV-Cfnl6tZM.js → c4Diagram-7LVT6UL2-CU4tNaf1.js} +751 -703
- package/dist/{channel-Bq-0ENlK.js → channel-Cuipqk56.js} +1 -1
- package/dist/channel-DcrLLvcO.cjs +1 -0
- package/dist/{chunk-JQJVKLGR-CZorbEP3.js → chunk-3NF5O7KM-B-2znsHr.js} +155 -115
- package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +168 -0
- package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +62 -0
- package/dist/chunk-4HAMMTFA-dRm_HqMI.js +4188 -0
- package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +2 -0
- package/dist/{chunk-NSK5VX7P-DPxIxDdV.js → chunk-75Z2AOVW-Eg_bFxBJ.js} +60 -96
- package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +127 -0
- package/dist/{chunk-I66GZJ75-DexfhZwA.js → chunk-DU6HZSFF-CaHy-FdL.js} +527 -478
- package/dist/{chunk-2GRJ4B5K-DzaxUd3W.cjs → chunk-F27PBJKO-3UPgzIlN.cjs} +1 -1
- package/dist/{chunk-2GRJ4B5K-DXwE-yr5.js → chunk-F27PBJKO-BriqLvNp.js} +4 -4
- package/dist/{chunk-KEIR6QF5-BVnxrdHo.js → chunk-FOHPRMQF-BNNbqxGX.js} +424 -356
- package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +161 -0
- package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +72 -0
- package/dist/{chunk-WRU74C26-D4huAZcy.js → chunk-GMAD6QVW-DCCx2Rg1.js} +503 -267
- package/dist/chunk-GVQU2GXP-BRMv2gX3.js +37 -0
- package/dist/chunk-GVQU2GXP-iZT_vNLp.cjs +1 -0
- package/dist/{chunk-GF5L2VYU-BPBMCCz5.js → chunk-HLEWEB6X-DlG0X171.js} +16 -16
- package/dist/{chunk-GF5L2VYU-DgG-wovM.cjs → chunk-HLEWEB6X-aqFoPl02.cjs} +4 -4
- package/dist/chunk-L3NEJ4N5-DkoFQHrz.js +245 -0
- package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +1 -0
- package/dist/{chunk-7Z6QIM7H-CIoK8R3m.js → chunk-OSK3NFVY-CxjvZYNR.js} +232 -150
- package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +10 -0
- package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +1 -0
- package/dist/{chunk-W5SLKNZC-Djmw_p6f.js → chunk-P2QGCYS3-uCJfSNHC.js} +19 -19
- package/dist/{chunk-KBJHAD2P-CthZVYG5.cjs → chunk-POPQ4Y6H-BRQPB1-9.cjs} +1 -1
- package/dist/{chunk-KBJHAD2P-BlQyFndF.js → chunk-POPQ4Y6H-D2Z11lA3.js} +3 -3
- package/dist/{chunk-4I5QYGJK-LCSWSJfh.cjs → chunk-PWAF6VOD-CZZKCekP.cjs} +1 -1
- package/dist/{chunk-4I5QYGJK-JZmvuONC.js → chunk-PWAF6VOD-j4sFqhOF.js} +7 -9
- package/dist/{chunk-6Q2QTUOP-C5n08EA-.cjs → chunk-SVP7TREG-CTKSOFlx.cjs} +2 -2
- package/dist/{chunk-6Q2QTUOP-DvJxCxMM.js → chunk-SVP7TREG-CtJsmAIb.js} +4 -4
- package/dist/{chunk-XXDRQBXY-DsVp5qjg.js → chunk-XXDRQBXY-fOrVUHLI.js} +1 -1
- package/dist/{chunk-XXDRQBXY-gWcN0uCZ.cjs → chunk-XXDRQBXY-yMT3rT5Y.cjs} +1 -1
- package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +231 -0
- package/dist/{chunk-5RXB4S5H-JthGygoA.js → chunk-ZLD2IHE6-tqumZV0E.js} +44 -48
- package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +1 -0
- package/dist/classDiagram-CYGNFDIV-DIu4rTyR.js +30 -0
- package/dist/classDiagram-v2-TLXNO2FR-BsYK4QnI.js +30 -0
- package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +1 -0
- package/dist/{core-BO2hTFeF.js → core-B9pe29T7.js} +8 -7
- package/dist/core-BrupIPpc.cjs +3 -0
- package/dist/{cose-bilkent-JH36ORCC-BFo5zomD.js → cose-bilkent-JH36ORCC-1Ad4jvll.js} +65 -62
- package/dist/cose-bilkent-JH36ORCC-Cc2qvpLA.cjs +1 -0
- package/dist/{cpp-CeyO6lBG.js → cpp-CL2nTisp.js} +25 -14
- package/dist/cpp-DpAsh4uT.cjs +1 -0
- package/dist/{csharp-Ck6Fet_o.js → csharp-CK75iOSn.js} +37 -37
- package/dist/csharp-TOr_W-v9.cjs +1 -0
- package/dist/css-4wogsuks.cjs +1 -0
- package/dist/{css-ClSGJRju.js → css-DJr8nnnu.js} +6 -1
- package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +1 -0
- package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +3 -0
- package/dist/{cynefinDiagram-MW4NZA55-CB4ZzMEN.js → cynefinDiagram-5FMLGOSQ-BSRTnQvp.js} +29 -23
- package/dist/cynefinDiagram-5FMLGOSQ-GvGZco52.cjs +62 -0
- package/dist/{cytoscape.esm-asYnbYTy.js → cytoscape.esm-Cq7KPj0t.js} +2480 -2480
- package/dist/cytoscape.esm-uHsEX1XI.cjs +321 -0
- package/dist/{dagre-BpqwxFKp.js → dagre-BMKbPnPh.js} +689 -456
- package/dist/dagre-EEW2OxRU.cjs +1 -0
- package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +4 -0
- package/dist/dagre-OS7QT2EB-DcpSzxsR.js +425 -0
- package/dist/{defaultLocale-up9-vqhM.js → defaultLocale-B4ncmkvI.js} +1 -4
- package/dist/defaultLocale-ybN1Vtvg.cjs +1 -0
- package/dist/diagram-S7CK7UJ4-BA67ZpiO.cjs +30 -0
- package/dist/{diagram-7IWD3JNH-Cschro8T.js → diagram-S7CK7UJ4-Cx2fQdp6.js} +39 -38
- package/dist/{diagram-UB23O5K3-D-yL2fvd.js → diagram-UQ7AKVKN-CvQH-Box.js} +12 -12
- package/dist/diagram-UQ7AKVKN-OteiyKD9.cjs +41 -0
- package/dist/{diagram-B4RE2ZJO-DKbKOwkP.cjs → diagram-VSXAHHWV-BjsZz1JJ.cjs} +1 -1
- package/dist/{diagram-B4RE2ZJO-B94mhDmV.js → diagram-VSXAHHWV-CCpCVOIq.js} +6 -6
- package/dist/diagram-VX7I27RA-Bx9fEhR0.cjs +24 -0
- package/dist/{diagram-Q27KOJAE-Cqn3IliP.js → diagram-VX7I27RA-HE5nQAXN.js} +64 -62
- package/dist/{diagram-LBJQPF4R-D0MEwBt6.js → diagram-Z3DM3KII-BEu4c4pP.js} +11 -11
- package/dist/diagram-Z3DM3KII-jy895UiZ.cjs +24 -0
- package/dist/{dist-D6LMt8nW.js → dist-Dtt9eY41.js} +1 -1
- package/dist/{dist-DNGlMOWd.cjs → dist-Dwv2VYAL.cjs} +1 -1
- package/dist/{ebnfDiagram-BXEA7PRR-B2HDWFYF.js → ebnfDiagram-PWID7BFC-B06rGL3A.js} +6 -6
- package/dist/ebnfDiagram-PWID7BFC-BQZKHpUr.cjs +1 -0
- package/dist/erDiagram-2YWLMYGG-CuEEIv1I.cjs +99 -0
- package/dist/{erDiagram-JOGREHBK-Badv_hu8.js → erDiagram-2YWLMYGG-IL4IhNXb.js} +1046 -807
- package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +1 -0
- package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +3 -0
- package/dist/flowDiagram-T62WH6J4-DdJo3Te1.js +16 -0
- package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +1 -0
- package/dist/{ganttDiagram-PKOTCBZU-By0w7TmO.js → ganttDiagram-EL5Y4UJY-CIBhrOW6.js} +26 -36
- package/dist/ganttDiagram-EL5Y4UJY-PTWIufq8.cjs +292 -0
- package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +3 -0
- package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +1 -0
- package/dist/{gitGraphDiagram-DS77QQ5N-B1uJYchG.js → gitGraphDiagram-WWUBYQGX-CjeedV4i.js} +16 -12
- package/dist/{gitGraphDiagram-DS77QQ5N-Fw8a66di.cjs → gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs} +3 -3
- package/dist/{go-rg7jg1mu.js → go-B2E3I9E3.js} +4 -0
- package/dist/{go-D-pz-dmd.cjs → go-BDkypVKn.cjs} +1 -1
- package/dist/{graphlib-CkkG5MuS.cjs → graphlib-BaETKKSa.cjs} +1 -1
- package/dist/{graphlib-B0GbLif1.js → graphlib-CQa_B3rm.js} +5 -5
- package/dist/info-A6RAGUB7-Cx39sHYM.js +3 -0
- package/dist/info-A6RAGUB7-DT06-FB3.cjs +1 -0
- package/dist/{infoDiagram-6WML65LV-CkWm_KTB.js → infoDiagram-FKFFQAWI-BalzsRT4.js} +6 -6
- package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +2 -0
- package/dist/init-BJdqMO10.cjs +1 -0
- package/dist/{init-CirqLVcp.js → init-CuXVI8k2.js} +1 -3
- package/dist/{ishikawaDiagram-WSZJBQD7-DTeFqC8L.js → ishikawaDiagram-5VMMS53U-BC2vrJSo.js} +14 -14
- package/dist/{ishikawaDiagram-WSZJBQD7-CQWHhozU.cjs → ishikawaDiagram-5VMMS53U-DN23jmFw.cjs} +3 -3
- package/dist/java-DFBMvIUR.cjs +1 -0
- package/dist/{java-HguKEfA2.js → java-T8Nr25pJ.js} +27 -22
- package/dist/{javascript-C8NCH8DE.js → javascript-CIP6I0eT.js} +6 -4
- package/dist/javascript-Gn0piXHk.cjs +1 -0
- package/dist/{journeyDiagram-NVQOT4AX-Cg6C3dFy.js → journeyDiagram-EYS64GPL-CLMBONXO.js} +14 -14
- package/dist/{journeyDiagram-NVQOT4AX-DLomv_vN.cjs → journeyDiagram-EYS64GPL-Co9rp-Q1.cjs} +3 -3
- package/dist/json-DOqjN5nI.js +42 -0
- package/dist/json-LMrXTXZM.cjs +1 -0
- package/dist/{kanban-definition-27J2QSJJ-B9Fog3W7.cjs → kanban-definition-UXKFOSKX-DzKPVjAq.cjs} +5 -5
- package/dist/{kanban-definition-27J2QSJJ-Bb7nb0gX.js → kanban-definition-UXKFOSKX-SNTHZo65.js} +31 -31
- package/dist/katex-CEF6MvLx.cjs +257 -0
- package/dist/katex-ohtLbxXc.js +21977 -0
- package/dist/{line-yqcJYv29.js → line-4_dF7rOW.js} +2 -2
- package/dist/{line-pOZ7Sdj7.cjs → line-D6gR53Af.cjs} +1 -1
- package/dist/{linear-CVhyaVzf.js → linear-C1gZJMVz.js} +8 -9
- package/dist/linear-Nt9BuHfn.cjs +1 -0
- package/dist/{markdown-CzgRofaE.js → markdown-BW-hB0s4.js} +2 -5
- package/dist/markdown-CTkHoGys.cjs +1 -0
- package/dist/{mermaid-parser.core-Cgsz0CdK.cjs → mermaid-parser.core-CBiDgMLi.cjs} +2 -2
- package/dist/{mermaid-parser.core-B8DQcCaz.js → mermaid-parser.core-DLNlSmfj.js} +31 -31
- package/dist/mermaid.core-B3QcBB1O.cjs +43 -0
- package/dist/mermaid.core-BIqYA7q2.js +3012 -0
- package/dist/{mindmap-definition-FAOFIHXS-9wa1P9NT.cjs → mindmap-definition-THT77NOG-Bo3D8RRT.cjs} +4 -4
- package/dist/{mindmap-definition-FAOFIHXS-DFG0Zs_1.js → mindmap-definition-THT77NOG-BtDuvAQ_.js} +27 -29
- package/dist/{ordinal-D0iNZ43g.cjs → ordinal-Bm_chml2.cjs} +1 -1
- package/dist/{ordinal-C1oQzsBn.js → ordinal-D3SPD7Kk.js} +2 -2
- package/dist/packet-AYTQ26CC-BGX2McoE.cjs +1 -0
- package/dist/packet-AYTQ26CC-IgkU2VYK.js +3 -0
- package/dist/path-DIS6ck99.cjs +1 -0
- package/dist/{path-mKa7UESy.js → path-PGqhG0Rz.js} +10 -11
- package/dist/{pdf-DyDm1M1B.js → pdf-B6zVkETi.js} +182 -220
- package/dist/pdf-cYqATYeW.cjs +54 -0
- package/dist/pegDiagram-XKGWAZYB-Cx-wZf4B.cjs +1 -0
- package/dist/{pegDiagram-VL7TDLO6-XOjprD-j.js → pegDiagram-XKGWAZYB-Ucd8o52_.js} +6 -6
- package/dist/{php-C9FOMGEA.js → php-Cn7gPoxt.js} +6 -0
- package/dist/{php-j6EhDZDE.cjs → php-DQmdBizx.cjs} +1 -1
- package/dist/pi-outpost-embed.cjs +62 -62
- package/dist/pi-outpost-embed.js +5192 -5152
- package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +1 -0
- package/dist/pie-WAS4IAKB-odE0A7fM.js +3 -0
- package/dist/pieDiagram-E7YTZNPT-BC-pW4cK.cjs +39 -0
- package/dist/{pieDiagram-7S7Q4E2Y-Cwe7fXgJ.js → pieDiagram-E7YTZNPT-DSx5wFMY.js} +20 -22
- package/dist/{python-DKAazMIE.js → python-BUfdXZqP.js} +6 -6
- package/dist/python-CrsffQw-.cjs +1 -0
- package/dist/{quadrantDiagram-CIZ2JOQS-CbaMHmYB.js → quadrantDiagram-AXDQQJYC-D8Y50xmh.js} +11 -11
- package/dist/{quadrantDiagram-CIZ2JOQS-CDfrU0dm.cjs → quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs} +2 -2
- package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +1 -0
- package/dist/radar-RG4KPBEZ-DqbNqlJH.js +3 -0
- package/dist/railroad-74A4TZTK-Dzt4afqg.js +3 -0
- package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +1 -0
- package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +1 -0
- package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +3 -0
- package/dist/railroadDiagram-O6MQD6OU-3JsgWyLe.cjs +1 -0
- package/dist/{railroadDiagram-AXF67PYL-CVXAv-Uu.js → railroadDiagram-O6MQD6OU-BTg2KtZO.js} +6 -6
- package/dist/{requirementDiagram-LRYGKXZP-Bzik4kgS.js → requirementDiagram-IS5BZ75X-C1OrS7DV.js} +25 -24
- package/dist/{requirementDiagram-LRYGKXZP-BGlGCftH.cjs → requirementDiagram-IS5BZ75X-D1BMLxZg.cjs} +4 -4
- package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/{rolldown-runtime-mLOUI7ql.cjs → rolldown-runtime-DF3sbh8G.cjs} +1 -1
- package/dist/{rough.esm-r0QOSzHM.cjs → rough.esm-ChRLLRha.cjs} +1 -1
- package/dist/{rough.esm-C5XyeDCN.js → rough.esm-D2JJJ0Ot.js} +60 -51
- package/dist/{ruby-ClR4zp-1.cjs → ruby-B1inj-Q8.cjs} +1 -1
- package/dist/{ruby-BAUeZQKZ.js → ruby-DYVKXPXk.js} +1 -1
- package/dist/{rust-DiTjMjP5.js → rust-BihXqTNi.js} +38 -25
- package/dist/rust-D39kF6re.cjs +1 -0
- package/dist/{sankeyDiagram-W5VNT64P-OeLUMuT6.cjs → sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs} +2 -2
- package/dist/{sankeyDiagram-W5VNT64P-_8xZpo45.js → sankeyDiagram-P5KCCOFB-DTnkE4oO.js} +17 -15
- package/dist/{scss-CckAvQOx.js → scss-CzfrZ5cc.js} +6 -1
- package/dist/scss-t-vKjRr4.cjs +1 -0
- package/dist/{sequenceDiagram-SI44F4Z6-X4mzY21C.js → sequenceDiagram-WJ2MYXX4-Ba-z2rSx.js} +36 -48
- package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +162 -0
- package/dist/{sizeCapture-X5ZJPWSS-DKbHZNyz.js → sizeCapture-INFHLROL-B5Lg3qGn.js} +1 -1
- package/dist/{src-DJ4x3y2O.js → src-BMMAFeC3.js} +288 -291
- package/dist/src-D9o9TOtH.cjs +1 -0
- package/dist/{stateDiagram-OKZ733FA-CMM1orC_.js → stateDiagram-XQSTLZYL-BtcUS_dg.js} +21 -21
- package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +1 -0
- package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +1 -0
- package/dist/stateDiagram-v2-IH3M54BS-E_Rhduzm.js +30 -0
- package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +1 -0
- package/dist/{swimlanes-SLNWSIFB-C7LLK1V2.js → swimlanes-V6O3JKXN-xxlpXv1f.js} +1022 -1109
- package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +8 -0
- package/dist/swimlanesDiagram-JKAHXJPX-DyQwD-QO.js +30 -0
- package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +120 -0
- package/dist/{timeline-definition-Z64GVDOM-Cgc-2OmU.js → timeline-definition-24CTP7MA-Dr8ouzBO.js} +19 -19
- package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +1 -0
- package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +3 -0
- package/dist/treemap-WGGIJYW6-CGULpntJ.js +3 -0
- package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +1 -0
- package/dist/typescript-BarIi8q9.cjs +1 -0
- package/dist/{typescript-mdYq8uqf.js → typescript-C93MG6Zk.js} +26 -24
- package/dist/vennDiagram-4TSXK5OY-D5MMYyff.cjs +34 -0
- package/dist/{vennDiagram-T6HMQDX7-BWj1BhMh.js → vennDiagram-4TSXK5OY-i6B1rhUA.js} +15 -15
- package/dist/wardley-WFR3VGLG-9zHZLKh9.js +3 -0
- package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +1 -0
- package/dist/{wardleyDiagram-T6FBY63Y-d_t4oVLE.js → wardleyDiagram-VM6X3IG4-1SFyFcXg.js} +46 -46
- package/dist/{wardleyDiagram-T6FBY63Y-OomvVIFj.cjs → wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs} +36 -36
- package/dist/{workspacePath-BScUv3M_.js → workspacePath-CfDl0V4n.js} +1 -1
- package/dist/{workspacePath-kqTwbSP1.cjs → workspacePath-EgAFT36l.cjs} +1 -1
- package/dist/{xml-BamqaQOf.cjs → xml-B0vjUBag.cjs} +1 -1
- package/dist/{xml-DVYfB8uY.js → xml-GxASmsT7.js} +2 -6
- package/dist/{xychartDiagram-ELKLHX3M-BOSOdubI.cjs → xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs} +4 -4
- package/dist/{xychartDiagram-ELKLHX3M-Ce-ai3a8.js → xychartDiagram-S5SC5T6Z-D6QDBBGJ.js} +263 -158
- package/dist/{yaml-_1BORZTQ.js → yaml-CHhF1kKQ.js} +25 -25
- package/dist/yaml-DZS9gzaB.cjs +1 -0
- package/package.json +2 -2
- package/dist/PdfViewer-BBmVq73v.cjs +0 -1
- package/dist/abnfDiagram-N423BO3Z-DOZfbvMH.cjs +0 -1
- package/dist/arc-DcUn9_NX.cjs +0 -1
- package/dist/architecture-TIHT7OUA-D-35jO9Y.cjs +0 -1
- package/dist/architecture-TIHT7OUA-DDyMqjR1.js +0 -3
- package/dist/architectureDiagram-T3A2C74G-RJUsi-Sx.cjs +0 -36
- package/dist/blockDiagram-VBNYF7ZC-Bz8oqXJQ.cjs +0 -132
- package/dist/blockDiagram-VBNYF7ZC-DYMmF9bV.js +0 -3160
- package/dist/c-4QgYfi8K.cjs +0 -1
- package/dist/c4Diagram-5PPSVZJV-DM6x-BYG.cjs +0 -10
- package/dist/channel-DoxF0tZj.cjs +0 -1
- package/dist/chunk-3NCLNEKW-CO28EZBG.cjs +0 -1
- package/dist/chunk-3NCLNEKW-dTH67Ne_.js +0 -10
- package/dist/chunk-5RXB4S5H-B5b3tdRl.cjs +0 -231
- package/dist/chunk-7BUUIJ7U-BFUeQBoS.js +0 -82
- package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +0 -1
- package/dist/chunk-7Z6QIM7H-Ctljl7Vq.cjs +0 -10
- package/dist/chunk-I66GZJ75-CrpH-Rmq.cjs +0 -127
- package/dist/chunk-J7OUQ5F2-DhMpZbAr.js +0 -57
- package/dist/chunk-J7OUQ5F2-b-MfW4O9.cjs +0 -1
- package/dist/chunk-JQJVKLGR-2AQwaWbm.cjs +0 -156
- package/dist/chunk-KEIR6QF5-Cy_QBNG6.cjs +0 -161
- package/dist/chunk-NSK5VX7P-D5CepZHI.cjs +0 -2
- package/dist/chunk-QR6OTTB3-CQ_jjYb-.js +0 -3736
- package/dist/chunk-QR6OTTB3-DSg3ZWNW.cjs +0 -62
- package/dist/chunk-RYQCIY6F-27FDzaaE.cjs +0 -1
- package/dist/chunk-RYQCIY6F-C-YC3QS_.js +0 -239
- package/dist/chunk-UBXNYLIW-BBncokef.js +0 -32
- package/dist/chunk-UBXNYLIW-DlNyCWjj.cjs +0 -1
- package/dist/chunk-W5SLKNZC-bHBkM2CL.cjs +0 -1
- package/dist/chunk-WRU74C26-9KZxhHnn.cjs +0 -70
- package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +0 -32
- package/dist/chunk-ZIRB5QZD-Cj-y77rH.js +0 -1146
- package/dist/classDiagram-JCYQIIEL-DeHc-x8i.cjs +0 -1
- package/dist/classDiagram-JCYQIIEL-DlHKjVPc.js +0 -30
- package/dist/classDiagram-v2-OCEON4UE-DeHc-x8i.cjs +0 -1
- package/dist/classDiagram-v2-OCEON4UE-DlhHN57j.js +0 -30
- package/dist/core-2nR1zkKb.cjs +0 -3
- package/dist/cose-bilkent-JH36ORCC-AyWV1dUo.cjs +0 -1
- package/dist/cpp-BUtp-HE2.cjs +0 -1
- package/dist/csharp-BJu4kEpt.cjs +0 -1
- package/dist/css-DeFr0lev.cjs +0 -1
- package/dist/cynefin-VYW2F7L2-DHhUPDgc.cjs +0 -1
- package/dist/cynefin-VYW2F7L2-DwiVqvhg.js +0 -3
- package/dist/cynefinDiagram-MW4NZA55-By102s5I.cjs +0 -62
- package/dist/cytoscape.esm-ByjvpCPI.cjs +0 -321
- package/dist/dagre-BBlCxSvR.cjs +0 -1
- package/dist/dagre-VZM6K2ZE-5zrH2LqV.js +0 -328
- package/dist/dagre-VZM6K2ZE-CNe7-jhy.cjs +0 -4
- package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
- package/dist/diagram-7IWD3JNH-CSzLXhRw.cjs +0 -30
- package/dist/diagram-LBJQPF4R-DgD0a56I.cjs +0 -24
- package/dist/diagram-Q27KOJAE-DNWfiaD5.cjs +0 -24
- package/dist/diagram-UB23O5K3-DguyM6v_.cjs +0 -41
- package/dist/ebnfDiagram-BXEA7PRR-DuJrkFn-.cjs +0 -1
- package/dist/erDiagram-JOGREHBK-DtyaQROs.cjs +0 -85
- package/dist/eventmodeling-45OFAUF4-COTtdYDJ.js +0 -3
- package/dist/eventmodeling-45OFAUF4-CPEyr9kU.cjs +0 -1
- package/dist/flowDiagram-UKHOOZJN-C7t5VpYH.js +0 -17
- package/dist/flowDiagram-UKHOOZJN-CdkElxh8.cjs +0 -1
- package/dist/ganttDiagram-PKOTCBZU-CFgz4r57.cjs +0 -292
- package/dist/gitGraph-TEB2WS4Q-C3qBT0GM.js +0 -3
- package/dist/gitGraph-TEB2WS4Q-a8KsoPmR.cjs +0 -1
- package/dist/info-DKCQHKI2-BEYhR6ip.cjs +0 -1
- package/dist/info-DKCQHKI2-BPF6-pOb.js +0 -3
- package/dist/infoDiagram-6WML65LV-CB6z_iKE.cjs +0 -2
- package/dist/init-07zIhv_j.cjs +0 -1
- package/dist/java-CUN_usaq.cjs +0 -1
- package/dist/javascript-UZXSyUuu.cjs +0 -1
- package/dist/json-Cp01TR_B.js +0 -36
- package/dist/json-usH_MUzR.cjs +0 -1
- package/dist/linear-Cl2-QuPP.cjs +0 -1
- package/dist/map-CwPlMWPw.cjs +0 -1
- package/dist/map-DU12fF3s.js +0 -241
- package/dist/markdown-qeo95R0i.cjs +0 -1
- package/dist/mermaid.core-BIq27e0A.js +0 -1068
- package/dist/mermaid.core-DpsSj3iy.cjs +0 -10
- package/dist/packet-7NZHBO7P-DqvBYJTR.js +0 -3
- package/dist/packet-7NZHBO7P-Dz0O2bgq.cjs +0 -1
- package/dist/path-Kklx0M1v.cjs +0 -1
- package/dist/pdf-aU0TN69t.cjs +0 -54
- package/dist/pegDiagram-VL7TDLO6-B4FslsmM.cjs +0 -1
- package/dist/pie-RZYD4A2V-Hi9UdoE3.cjs +0 -1
- package/dist/pie-RZYD4A2V-qnruo9sH.js +0 -3
- package/dist/pieDiagram-7S7Q4E2Y-CNzUVS2d.cjs +0 -39
- package/dist/python-BYJzTRkK.cjs +0 -1
- package/dist/radar-I7S5WNFK-Dqdssa34.cjs +0 -1
- package/dist/radar-I7S5WNFK-np_pJCO-.js +0 -3
- package/dist/railroad-3IZDKUUU-NILjDQft.cjs +0 -1
- package/dist/railroad-3IZDKUUU-sjKBeXxB.js +0 -3
- package/dist/railroad-abnf-AHOZXSZD-BojH9sxV.cjs +0 -1
- package/dist/railroad-abnf-AHOZXSZD-x5cC_e_R.js +0 -3
- package/dist/railroad-ebnf-EBAXGLYW-2mlWpz38.js +0 -3
- package/dist/railroad-ebnf-EBAXGLYW-BKCSut1M.cjs +0 -1
- package/dist/railroad-peg-LSFZ7HO6-CsH-gnsp.cjs +0 -1
- package/dist/railroad-peg-LSFZ7HO6-D5vguo03.js +0 -3
- package/dist/railroadDiagram-AXF67PYL-EO1cBHEj.cjs +0 -1
- package/dist/rust-ghVvEWhm.cjs +0 -1
- package/dist/scss-CKxh5HRg.cjs +0 -1
- package/dist/sequenceDiagram-SI44F4Z6-CuaCFBtR.cjs +0 -162
- package/dist/src-CR--T_NF.cjs +0 -1
- package/dist/stateDiagram-OKZ733FA-Dq6hI_pq.cjs +0 -1
- package/dist/stateDiagram-v2-UEYNNEHI-BmWUstzl.js +0 -30
- package/dist/stateDiagram-v2-UEYNNEHI-DZULVhS9.cjs +0 -1
- package/dist/swimlanes-SLNWSIFB-BMS6R0BK.cjs +0 -1
- package/dist/swimlanesDiagram-ULZ7WXOC-DxHKX_pj.cjs +0 -8
- package/dist/swimlanesDiagram-ULZ7WXOC-uXMuqsao.js +0 -31
- package/dist/timeline-definition-Z64GVDOM-PPJqDdOy.cjs +0 -120
- package/dist/treeView-QDETBFTQ-Cpg_YeQ4.cjs +0 -1
- package/dist/treeView-QDETBFTQ-DdpEhzZX.js +0 -3
- package/dist/treemap-6X3UGDF4-BeCuRpkA.js +0 -3
- package/dist/treemap-6X3UGDF4-CFAmnKaf.cjs +0 -1
- package/dist/typescript-clWeqIBY.cjs +0 -1
- package/dist/vennDiagram-T6HMQDX7-DqY7YgNx.cjs +0 -34
- package/dist/wardley-OPB4EBWU-B0jnKd8x.cjs +0 -1
- package/dist/wardley-OPB4EBWU-DlIk2K0J.js +0 -3
- package/dist/yaml-bAgWofBg.cjs +0 -1
- /package/dist/{sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs → sizeCapture-INFHLROL-bJ2ZX4Du.cjs} +0 -0
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
|
-
import { m as t, p as n } from "./src-
|
|
3
|
-
import { H as r, U as i, c as a, r as o, s, v as l, x as u, y as d, z as f } from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { m as t, p as n } from "./src-BMMAFeC3.js";
|
|
3
|
+
import { H as r, U as i, c as a, r as o, s, v as l, x as u, y as d, z as f } from "./chunk-DU6HZSFF-CaHy-FdL.js";
|
|
4
|
+
import { _ as p, n as m, r as h } from "./chunk-75Z2AOVW-Eg_bFxBJ.js";
|
|
5
|
+
import "./chunk-PWAF6VOD-j4sFqhOF.js";
|
|
6
|
+
import "./chunk-GMAD6QVW-DCCx2Rg1.js";
|
|
7
|
+
import "./chunk-P2QGCYS3-uCJfSNHC.js";
|
|
8
|
+
import { o as g } from "./chunk-4HAMMTFA-dRm_HqMI.js";
|
|
9
|
+
import { a as _ } from "./chunk-F27PBJKO-BriqLvNp.js";
|
|
10
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-7LVT6UL2.mjs
|
|
11
|
+
var v = (function() {
|
|
9
12
|
var t = /* @__PURE__ */ e(function(e, t, n, r) {
|
|
10
13
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
11
14
|
return n;
|
|
12
|
-
}, "o"), n = [1, 24], r = [1, 25], i = [1, 26], a = [1, 27], o = [1, 28], s = [1, 63], l = [1, 64], u = [1, 65], d = [1, 66], f = [1, 67], p = [1, 68], m = [1, 69], h = [1, 29], g = [1, 30], _ = [1, 31], v = [1, 32], y = [1, 33], b = [1, 34], x = [1, 35], S = [1, 36], C = [1, 37], w = [1, 38], T = [1, 39], E = [1, 40], D = [1, 41], O = [1, 42], k = [1, 43], A = [1, 44], j = [1, 45], M = [1, 46], N = [1, 47], P = [1, 48], F = [1, 50], I = [1, 51], L = [1, 52], R = [1, 53], z = [1, 54], B = [1, 55], V = [1, 56], H = [1, 57],
|
|
15
|
+
}, "o"), n = [1, 24], r = [1, 25], i = [1, 26], a = [1, 27], o = [1, 28], s = [1, 63], l = [1, 64], u = [1, 65], d = [1, 66], f = [1, 67], p = [1, 68], m = [1, 69], h = [1, 29], g = [1, 30], _ = [1, 31], v = [1, 32], y = [1, 33], b = [1, 34], x = [1, 35], S = [1, 36], C = [1, 37], w = [1, 38], T = [1, 39], E = [1, 40], D = [1, 41], O = [1, 42], k = [1, 43], A = [1, 44], j = [1, 45], M = [1, 46], N = [1, 47], P = [1, 48], F = [1, 50], I = [1, 51], L = [1, 52], R = [1, 53], z = [1, 54], B = [1, 55], V = [1, 56], H = [1, 57], U = [1, 58], W = [1, 59], G = [1, 60], ee = [14, 42], te = [
|
|
13
16
|
14,
|
|
14
17
|
34,
|
|
15
18
|
36,
|
|
@@ -50,7 +53,7 @@ var y = p(), b = (function() {
|
|
|
50
53
|
72,
|
|
51
54
|
73,
|
|
52
55
|
74
|
|
53
|
-
],
|
|
56
|
+
], ne = [
|
|
54
57
|
12,
|
|
55
58
|
14,
|
|
56
59
|
34,
|
|
@@ -92,16 +95,16 @@ var y = p(), b = (function() {
|
|
|
92
95
|
72,
|
|
93
96
|
73,
|
|
94
97
|
74
|
|
95
|
-
],
|
|
98
|
+
], K = [1, 82], q = [1, 83], J = [1, 84], Y = [1, 85], X = [
|
|
96
99
|
12,
|
|
97
100
|
14,
|
|
98
101
|
42
|
|
99
|
-
],
|
|
102
|
+
], re = [
|
|
100
103
|
12,
|
|
101
104
|
14,
|
|
102
105
|
33,
|
|
103
106
|
42
|
|
104
|
-
],
|
|
107
|
+
], ie = [
|
|
105
108
|
12,
|
|
106
109
|
14,
|
|
107
110
|
33,
|
|
@@ -110,7 +113,7 @@ var y = p(), b = (function() {
|
|
|
110
113
|
77,
|
|
111
114
|
79,
|
|
112
115
|
80
|
|
113
|
-
],
|
|
116
|
+
], ae = [12, 33], oe = [
|
|
114
117
|
34,
|
|
115
118
|
36,
|
|
116
119
|
37,
|
|
@@ -149,7 +152,7 @@ var y = p(), b = (function() {
|
|
|
149
152
|
72,
|
|
150
153
|
73,
|
|
151
154
|
74
|
|
152
|
-
],
|
|
155
|
+
], se = {
|
|
153
156
|
trace: /* @__PURE__ */ e(function() {}, "trace"),
|
|
154
157
|
yy: {},
|
|
155
158
|
symbols_: {
|
|
@@ -546,9 +549,7 @@ var y = p(), b = (function() {
|
|
|
546
549
|
let e = {};
|
|
547
550
|
e[a[s - 1].trim()] = a[s].trim(), this.$ = e;
|
|
548
551
|
break;
|
|
549
|
-
case 76:
|
|
550
|
-
this.$ = "";
|
|
551
|
-
break;
|
|
552
|
+
case 76: this.$ = "";
|
|
552
553
|
}
|
|
553
554
|
}, "anonymous"),
|
|
554
555
|
table: [
|
|
@@ -629,9 +630,9 @@ var y = p(), b = (function() {
|
|
|
629
630
|
69: B,
|
|
630
631
|
70: V,
|
|
631
632
|
71: H,
|
|
632
|
-
72:
|
|
633
|
-
73:
|
|
634
|
-
74:
|
|
633
|
+
72: U,
|
|
634
|
+
73: W,
|
|
635
|
+
74: G
|
|
635
636
|
},
|
|
636
637
|
{
|
|
637
638
|
13: 70,
|
|
@@ -682,9 +683,9 @@ var y = p(), b = (function() {
|
|
|
682
683
|
69: B,
|
|
683
684
|
70: V,
|
|
684
685
|
71: H,
|
|
685
|
-
72:
|
|
686
|
-
73:
|
|
687
|
-
74:
|
|
686
|
+
72: U,
|
|
687
|
+
73: W,
|
|
688
|
+
74: G
|
|
688
689
|
},
|
|
689
690
|
{
|
|
690
691
|
13: 71,
|
|
@@ -735,9 +736,9 @@ var y = p(), b = (function() {
|
|
|
735
736
|
69: B,
|
|
736
737
|
70: V,
|
|
737
738
|
71: H,
|
|
738
|
-
72:
|
|
739
|
-
73:
|
|
740
|
-
74:
|
|
739
|
+
72: U,
|
|
740
|
+
73: W,
|
|
741
|
+
74: G
|
|
741
742
|
},
|
|
742
743
|
{
|
|
743
744
|
13: 72,
|
|
@@ -788,9 +789,9 @@ var y = p(), b = (function() {
|
|
|
788
789
|
69: B,
|
|
789
790
|
70: V,
|
|
790
791
|
71: H,
|
|
791
|
-
72:
|
|
792
|
-
73:
|
|
793
|
-
74:
|
|
792
|
+
72: U,
|
|
793
|
+
73: W,
|
|
794
|
+
74: G
|
|
794
795
|
},
|
|
795
796
|
{
|
|
796
797
|
13: 73,
|
|
@@ -841,12 +842,12 @@ var y = p(), b = (function() {
|
|
|
841
842
|
69: B,
|
|
842
843
|
70: V,
|
|
843
844
|
71: H,
|
|
844
|
-
72:
|
|
845
|
-
73:
|
|
846
|
-
74:
|
|
845
|
+
72: U,
|
|
846
|
+
73: W,
|
|
847
|
+
74: G
|
|
847
848
|
},
|
|
848
849
|
{ 14: [1, 74] },
|
|
849
|
-
t(
|
|
850
|
+
t(ee, [2, 13], {
|
|
850
851
|
43: 23,
|
|
851
852
|
29: 49,
|
|
852
853
|
30: 61,
|
|
@@ -887,266 +888,266 @@ var y = p(), b = (function() {
|
|
|
887
888
|
69: B,
|
|
888
889
|
70: V,
|
|
889
890
|
71: H,
|
|
890
|
-
72:
|
|
891
|
-
73:
|
|
892
|
-
74:
|
|
891
|
+
72: U,
|
|
892
|
+
73: W,
|
|
893
|
+
74: G
|
|
893
894
|
}),
|
|
894
|
-
t(
|
|
895
|
-
t(
|
|
896
|
-
t(
|
|
897
|
-
t(
|
|
898
|
-
t(
|
|
895
|
+
t(ee, [2, 14]),
|
|
896
|
+
t(te, [2, 16], { 12: [1, 76] }),
|
|
897
|
+
t(ee, [2, 36], { 12: [1, 77] }),
|
|
898
|
+
t(ne, [2, 19]),
|
|
899
|
+
t(ne, [2, 20]),
|
|
899
900
|
{ 25: [1, 78] },
|
|
900
901
|
{ 27: [1, 79] },
|
|
901
|
-
t(
|
|
902
|
+
t(ne, [2, 23]),
|
|
902
903
|
{
|
|
903
904
|
35: 80,
|
|
904
905
|
75: 81,
|
|
905
|
-
76:
|
|
906
|
-
77:
|
|
907
|
-
79:
|
|
908
|
-
80:
|
|
906
|
+
76: K,
|
|
907
|
+
77: q,
|
|
908
|
+
79: J,
|
|
909
|
+
80: Y
|
|
909
910
|
},
|
|
910
911
|
{
|
|
911
912
|
35: 86,
|
|
912
913
|
75: 81,
|
|
913
|
-
76:
|
|
914
|
-
77:
|
|
915
|
-
79:
|
|
916
|
-
80:
|
|
914
|
+
76: K,
|
|
915
|
+
77: q,
|
|
916
|
+
79: J,
|
|
917
|
+
80: Y
|
|
917
918
|
},
|
|
918
919
|
{
|
|
919
920
|
35: 87,
|
|
920
921
|
75: 81,
|
|
921
|
-
76:
|
|
922
|
-
77:
|
|
923
|
-
79:
|
|
924
|
-
80:
|
|
922
|
+
76: K,
|
|
923
|
+
77: q,
|
|
924
|
+
79: J,
|
|
925
|
+
80: Y
|
|
925
926
|
},
|
|
926
927
|
{
|
|
927
928
|
35: 88,
|
|
928
929
|
75: 81,
|
|
929
|
-
76:
|
|
930
|
-
77:
|
|
931
|
-
79:
|
|
932
|
-
80:
|
|
930
|
+
76: K,
|
|
931
|
+
77: q,
|
|
932
|
+
79: J,
|
|
933
|
+
80: Y
|
|
933
934
|
},
|
|
934
935
|
{
|
|
935
936
|
35: 89,
|
|
936
937
|
75: 81,
|
|
937
|
-
76:
|
|
938
|
-
77:
|
|
939
|
-
79:
|
|
940
|
-
80:
|
|
938
|
+
76: K,
|
|
939
|
+
77: q,
|
|
940
|
+
79: J,
|
|
941
|
+
80: Y
|
|
941
942
|
},
|
|
942
943
|
{
|
|
943
944
|
35: 90,
|
|
944
945
|
75: 81,
|
|
945
|
-
76:
|
|
946
|
-
77:
|
|
947
|
-
79:
|
|
948
|
-
80:
|
|
946
|
+
76: K,
|
|
947
|
+
77: q,
|
|
948
|
+
79: J,
|
|
949
|
+
80: Y
|
|
949
950
|
},
|
|
950
951
|
{
|
|
951
952
|
35: 91,
|
|
952
953
|
75: 81,
|
|
953
|
-
76:
|
|
954
|
-
77:
|
|
955
|
-
79:
|
|
956
|
-
80:
|
|
954
|
+
76: K,
|
|
955
|
+
77: q,
|
|
956
|
+
79: J,
|
|
957
|
+
80: Y
|
|
957
958
|
},
|
|
958
959
|
{
|
|
959
960
|
35: 92,
|
|
960
961
|
75: 81,
|
|
961
|
-
76:
|
|
962
|
-
77:
|
|
963
|
-
79:
|
|
964
|
-
80:
|
|
962
|
+
76: K,
|
|
963
|
+
77: q,
|
|
964
|
+
79: J,
|
|
965
|
+
80: Y
|
|
965
966
|
},
|
|
966
967
|
{
|
|
967
968
|
35: 93,
|
|
968
969
|
75: 81,
|
|
969
|
-
76:
|
|
970
|
-
77:
|
|
971
|
-
79:
|
|
972
|
-
80:
|
|
970
|
+
76: K,
|
|
971
|
+
77: q,
|
|
972
|
+
79: J,
|
|
973
|
+
80: Y
|
|
973
974
|
},
|
|
974
975
|
{
|
|
975
976
|
35: 94,
|
|
976
977
|
75: 81,
|
|
977
|
-
76:
|
|
978
|
-
77:
|
|
979
|
-
79:
|
|
980
|
-
80:
|
|
978
|
+
76: K,
|
|
979
|
+
77: q,
|
|
980
|
+
79: J,
|
|
981
|
+
80: Y
|
|
981
982
|
},
|
|
982
983
|
{
|
|
983
984
|
35: 95,
|
|
984
985
|
75: 81,
|
|
985
|
-
76:
|
|
986
|
-
77:
|
|
987
|
-
79:
|
|
988
|
-
80:
|
|
986
|
+
76: K,
|
|
987
|
+
77: q,
|
|
988
|
+
79: J,
|
|
989
|
+
80: Y
|
|
989
990
|
},
|
|
990
991
|
{
|
|
991
992
|
35: 96,
|
|
992
993
|
75: 81,
|
|
993
|
-
76:
|
|
994
|
-
77:
|
|
995
|
-
79:
|
|
996
|
-
80:
|
|
994
|
+
76: K,
|
|
995
|
+
77: q,
|
|
996
|
+
79: J,
|
|
997
|
+
80: Y
|
|
997
998
|
},
|
|
998
999
|
{
|
|
999
1000
|
35: 97,
|
|
1000
1001
|
75: 81,
|
|
1001
|
-
76:
|
|
1002
|
-
77:
|
|
1003
|
-
79:
|
|
1004
|
-
80:
|
|
1002
|
+
76: K,
|
|
1003
|
+
77: q,
|
|
1004
|
+
79: J,
|
|
1005
|
+
80: Y
|
|
1005
1006
|
},
|
|
1006
1007
|
{
|
|
1007
1008
|
35: 98,
|
|
1008
1009
|
75: 81,
|
|
1009
|
-
76:
|
|
1010
|
-
77:
|
|
1011
|
-
79:
|
|
1012
|
-
80:
|
|
1010
|
+
76: K,
|
|
1011
|
+
77: q,
|
|
1012
|
+
79: J,
|
|
1013
|
+
80: Y
|
|
1013
1014
|
},
|
|
1014
1015
|
{
|
|
1015
1016
|
35: 99,
|
|
1016
1017
|
75: 81,
|
|
1017
|
-
76:
|
|
1018
|
-
77:
|
|
1019
|
-
79:
|
|
1020
|
-
80:
|
|
1018
|
+
76: K,
|
|
1019
|
+
77: q,
|
|
1020
|
+
79: J,
|
|
1021
|
+
80: Y
|
|
1021
1022
|
},
|
|
1022
1023
|
{
|
|
1023
1024
|
35: 100,
|
|
1024
1025
|
75: 81,
|
|
1025
|
-
76:
|
|
1026
|
-
77:
|
|
1027
|
-
79:
|
|
1028
|
-
80:
|
|
1026
|
+
76: K,
|
|
1027
|
+
77: q,
|
|
1028
|
+
79: J,
|
|
1029
|
+
80: Y
|
|
1029
1030
|
},
|
|
1030
1031
|
{
|
|
1031
1032
|
35: 101,
|
|
1032
1033
|
75: 81,
|
|
1033
|
-
76:
|
|
1034
|
-
77:
|
|
1035
|
-
79:
|
|
1036
|
-
80:
|
|
1034
|
+
76: K,
|
|
1035
|
+
77: q,
|
|
1036
|
+
79: J,
|
|
1037
|
+
80: Y
|
|
1037
1038
|
},
|
|
1038
1039
|
{
|
|
1039
1040
|
35: 102,
|
|
1040
1041
|
75: 81,
|
|
1041
|
-
76:
|
|
1042
|
-
77:
|
|
1043
|
-
79:
|
|
1044
|
-
80:
|
|
1042
|
+
76: K,
|
|
1043
|
+
77: q,
|
|
1044
|
+
79: J,
|
|
1045
|
+
80: Y
|
|
1045
1046
|
},
|
|
1046
1047
|
{
|
|
1047
1048
|
35: 103,
|
|
1048
1049
|
75: 81,
|
|
1049
|
-
76:
|
|
1050
|
-
77:
|
|
1051
|
-
79:
|
|
1052
|
-
80:
|
|
1050
|
+
76: K,
|
|
1051
|
+
77: q,
|
|
1052
|
+
79: J,
|
|
1053
|
+
80: Y
|
|
1053
1054
|
},
|
|
1054
1055
|
{
|
|
1055
1056
|
35: 104,
|
|
1056
1057
|
75: 81,
|
|
1057
|
-
76:
|
|
1058
|
-
77:
|
|
1059
|
-
79:
|
|
1060
|
-
80:
|
|
1058
|
+
76: K,
|
|
1059
|
+
77: q,
|
|
1060
|
+
79: J,
|
|
1061
|
+
80: Y
|
|
1061
1062
|
},
|
|
1062
|
-
t(
|
|
1063
|
+
t(X, [2, 59]),
|
|
1063
1064
|
{
|
|
1064
1065
|
35: 105,
|
|
1065
1066
|
75: 81,
|
|
1066
|
-
76:
|
|
1067
|
-
77:
|
|
1068
|
-
79:
|
|
1069
|
-
80:
|
|
1067
|
+
76: K,
|
|
1068
|
+
77: q,
|
|
1069
|
+
79: J,
|
|
1070
|
+
80: Y
|
|
1070
1071
|
},
|
|
1071
1072
|
{
|
|
1072
1073
|
35: 106,
|
|
1073
1074
|
75: 81,
|
|
1074
|
-
76:
|
|
1075
|
-
77:
|
|
1076
|
-
79:
|
|
1077
|
-
80:
|
|
1075
|
+
76: K,
|
|
1076
|
+
77: q,
|
|
1077
|
+
79: J,
|
|
1078
|
+
80: Y
|
|
1078
1079
|
},
|
|
1079
1080
|
{
|
|
1080
1081
|
35: 107,
|
|
1081
1082
|
75: 81,
|
|
1082
|
-
76:
|
|
1083
|
-
77:
|
|
1084
|
-
79:
|
|
1085
|
-
80:
|
|
1083
|
+
76: K,
|
|
1084
|
+
77: q,
|
|
1085
|
+
79: J,
|
|
1086
|
+
80: Y
|
|
1086
1087
|
},
|
|
1087
1088
|
{
|
|
1088
1089
|
35: 108,
|
|
1089
1090
|
75: 81,
|
|
1090
|
-
76:
|
|
1091
|
-
77:
|
|
1092
|
-
79:
|
|
1093
|
-
80:
|
|
1091
|
+
76: K,
|
|
1092
|
+
77: q,
|
|
1093
|
+
79: J,
|
|
1094
|
+
80: Y
|
|
1094
1095
|
},
|
|
1095
1096
|
{
|
|
1096
1097
|
35: 109,
|
|
1097
1098
|
75: 81,
|
|
1098
|
-
76:
|
|
1099
|
-
77:
|
|
1100
|
-
79:
|
|
1101
|
-
80:
|
|
1099
|
+
76: K,
|
|
1100
|
+
77: q,
|
|
1101
|
+
79: J,
|
|
1102
|
+
80: Y
|
|
1102
1103
|
},
|
|
1103
1104
|
{
|
|
1104
1105
|
35: 110,
|
|
1105
1106
|
75: 81,
|
|
1106
|
-
76:
|
|
1107
|
-
77:
|
|
1108
|
-
79:
|
|
1109
|
-
80:
|
|
1107
|
+
76: K,
|
|
1108
|
+
77: q,
|
|
1109
|
+
79: J,
|
|
1110
|
+
80: Y
|
|
1110
1111
|
},
|
|
1111
1112
|
{
|
|
1112
1113
|
35: 111,
|
|
1113
1114
|
75: 81,
|
|
1114
|
-
76:
|
|
1115
|
-
77:
|
|
1116
|
-
79:
|
|
1117
|
-
80:
|
|
1115
|
+
76: K,
|
|
1116
|
+
77: q,
|
|
1117
|
+
79: J,
|
|
1118
|
+
80: Y
|
|
1118
1119
|
},
|
|
1119
1120
|
{
|
|
1120
1121
|
35: 112,
|
|
1121
1122
|
75: 81,
|
|
1122
|
-
76:
|
|
1123
|
-
77:
|
|
1124
|
-
79:
|
|
1125
|
-
80:
|
|
1123
|
+
76: K,
|
|
1124
|
+
77: q,
|
|
1125
|
+
79: J,
|
|
1126
|
+
80: Y
|
|
1126
1127
|
},
|
|
1127
1128
|
{
|
|
1128
1129
|
35: 113,
|
|
1129
1130
|
75: 81,
|
|
1130
|
-
76:
|
|
1131
|
-
77:
|
|
1132
|
-
79:
|
|
1133
|
-
80:
|
|
1131
|
+
76: K,
|
|
1132
|
+
77: q,
|
|
1133
|
+
79: J,
|
|
1134
|
+
80: Y
|
|
1134
1135
|
},
|
|
1135
1136
|
{
|
|
1136
1137
|
35: 114,
|
|
1137
1138
|
75: 81,
|
|
1138
|
-
76:
|
|
1139
|
-
77:
|
|
1140
|
-
79:
|
|
1141
|
-
80:
|
|
1139
|
+
76: K,
|
|
1140
|
+
77: q,
|
|
1141
|
+
79: J,
|
|
1142
|
+
80: Y
|
|
1142
1143
|
},
|
|
1143
1144
|
{
|
|
1144
1145
|
35: 115,
|
|
1145
1146
|
75: 81,
|
|
1146
|
-
76:
|
|
1147
|
-
77:
|
|
1148
|
-
79:
|
|
1149
|
-
80:
|
|
1147
|
+
76: K,
|
|
1148
|
+
77: q,
|
|
1149
|
+
79: J,
|
|
1150
|
+
80: Y
|
|
1150
1151
|
},
|
|
1151
1152
|
{
|
|
1152
1153
|
20: 116,
|
|
@@ -1189,9 +1190,9 @@ var y = p(), b = (function() {
|
|
|
1189
1190
|
69: B,
|
|
1190
1191
|
70: V,
|
|
1191
1192
|
71: H,
|
|
1192
|
-
72:
|
|
1193
|
-
73:
|
|
1194
|
-
74:
|
|
1193
|
+
72: U,
|
|
1194
|
+
73: W,
|
|
1195
|
+
74: G
|
|
1195
1196
|
},
|
|
1196
1197
|
{
|
|
1197
1198
|
12: [1, 118],
|
|
@@ -1200,66 +1201,66 @@ var y = p(), b = (function() {
|
|
|
1200
1201
|
{
|
|
1201
1202
|
35: 119,
|
|
1202
1203
|
75: 81,
|
|
1203
|
-
76:
|
|
1204
|
-
77:
|
|
1205
|
-
79:
|
|
1206
|
-
80:
|
|
1204
|
+
76: K,
|
|
1205
|
+
77: q,
|
|
1206
|
+
79: J,
|
|
1207
|
+
80: Y
|
|
1207
1208
|
},
|
|
1208
1209
|
{
|
|
1209
1210
|
35: 120,
|
|
1210
1211
|
75: 81,
|
|
1211
|
-
76:
|
|
1212
|
-
77:
|
|
1213
|
-
79:
|
|
1214
|
-
80:
|
|
1212
|
+
76: K,
|
|
1213
|
+
77: q,
|
|
1214
|
+
79: J,
|
|
1215
|
+
80: Y
|
|
1215
1216
|
},
|
|
1216
1217
|
{
|
|
1217
1218
|
35: 121,
|
|
1218
1219
|
75: 81,
|
|
1219
|
-
76:
|
|
1220
|
-
77:
|
|
1221
|
-
79:
|
|
1222
|
-
80:
|
|
1220
|
+
76: K,
|
|
1221
|
+
77: q,
|
|
1222
|
+
79: J,
|
|
1223
|
+
80: Y
|
|
1223
1224
|
},
|
|
1224
1225
|
{
|
|
1225
1226
|
35: 122,
|
|
1226
1227
|
75: 81,
|
|
1227
|
-
76:
|
|
1228
|
-
77:
|
|
1229
|
-
79:
|
|
1230
|
-
80:
|
|
1228
|
+
76: K,
|
|
1229
|
+
77: q,
|
|
1230
|
+
79: J,
|
|
1231
|
+
80: Y
|
|
1231
1232
|
},
|
|
1232
1233
|
{
|
|
1233
1234
|
35: 123,
|
|
1234
1235
|
75: 81,
|
|
1235
|
-
76:
|
|
1236
|
-
77:
|
|
1237
|
-
79:
|
|
1238
|
-
80:
|
|
1236
|
+
76: K,
|
|
1237
|
+
77: q,
|
|
1238
|
+
79: J,
|
|
1239
|
+
80: Y
|
|
1239
1240
|
},
|
|
1240
1241
|
{
|
|
1241
1242
|
35: 124,
|
|
1242
1243
|
75: 81,
|
|
1243
|
-
76:
|
|
1244
|
-
77:
|
|
1245
|
-
79:
|
|
1246
|
-
80:
|
|
1244
|
+
76: K,
|
|
1245
|
+
77: q,
|
|
1246
|
+
79: J,
|
|
1247
|
+
80: Y
|
|
1247
1248
|
},
|
|
1248
1249
|
{
|
|
1249
1250
|
35: 125,
|
|
1250
1251
|
75: 81,
|
|
1251
|
-
76:
|
|
1252
|
-
77:
|
|
1253
|
-
79:
|
|
1254
|
-
80:
|
|
1252
|
+
76: K,
|
|
1253
|
+
77: q,
|
|
1254
|
+
79: J,
|
|
1255
|
+
80: Y
|
|
1255
1256
|
},
|
|
1256
1257
|
{ 14: [1, 126] },
|
|
1257
1258
|
{ 14: [1, 127] },
|
|
1258
1259
|
{ 14: [1, 128] },
|
|
1259
1260
|
{ 14: [1, 129] },
|
|
1260
1261
|
{ 1: [2, 8] },
|
|
1261
|
-
t(
|
|
1262
|
-
t(
|
|
1262
|
+
t(ee, [2, 15]),
|
|
1263
|
+
t(te, [2, 17], {
|
|
1263
1264
|
21: 22,
|
|
1264
1265
|
19: 130,
|
|
1265
1266
|
22: n,
|
|
@@ -1268,7 +1269,7 @@ var y = p(), b = (function() {
|
|
|
1268
1269
|
26: a,
|
|
1269
1270
|
28: o
|
|
1270
1271
|
}),
|
|
1271
|
-
t(
|
|
1272
|
+
t(ee, [2, 37], {
|
|
1272
1273
|
19: 20,
|
|
1273
1274
|
20: 21,
|
|
1274
1275
|
21: 22,
|
|
@@ -1317,81 +1318,81 @@ var y = p(), b = (function() {
|
|
|
1317
1318
|
69: B,
|
|
1318
1319
|
70: V,
|
|
1319
1320
|
71: H,
|
|
1320
|
-
72:
|
|
1321
|
-
73:
|
|
1322
|
-
74:
|
|
1321
|
+
72: U,
|
|
1322
|
+
73: W,
|
|
1323
|
+
74: G
|
|
1323
1324
|
}),
|
|
1324
|
-
t(
|
|
1325
|
-
t(
|
|
1326
|
-
t(
|
|
1327
|
-
t(
|
|
1325
|
+
t(ne, [2, 21]),
|
|
1326
|
+
t(ne, [2, 22]),
|
|
1327
|
+
t(X, [2, 39]),
|
|
1328
|
+
t(re, [2, 71], {
|
|
1328
1329
|
75: 81,
|
|
1329
1330
|
35: 132,
|
|
1330
|
-
76:
|
|
1331
|
-
77:
|
|
1332
|
-
79:
|
|
1333
|
-
80:
|
|
1331
|
+
76: K,
|
|
1332
|
+
77: q,
|
|
1333
|
+
79: J,
|
|
1334
|
+
80: Y
|
|
1334
1335
|
}),
|
|
1335
|
-
t(
|
|
1336
|
+
t(ie, [2, 73]),
|
|
1336
1337
|
{ 78: [1, 133] },
|
|
1337
|
-
t(
|
|
1338
|
-
t(
|
|
1339
|
-
t(
|
|
1340
|
-
t(
|
|
1341
|
-
t(
|
|
1342
|
-
t(
|
|
1343
|
-
t(
|
|
1344
|
-
t(
|
|
1345
|
-
t(
|
|
1346
|
-
t(
|
|
1347
|
-
t(
|
|
1348
|
-
t(
|
|
1349
|
-
t(
|
|
1350
|
-
t(
|
|
1351
|
-
t(
|
|
1352
|
-
t(
|
|
1353
|
-
t(
|
|
1354
|
-
t(
|
|
1355
|
-
t(
|
|
1356
|
-
t(
|
|
1357
|
-
t(
|
|
1358
|
-
t(
|
|
1359
|
-
t(
|
|
1360
|
-
t(
|
|
1361
|
-
t(
|
|
1362
|
-
t(
|
|
1363
|
-
t(
|
|
1364
|
-
t(
|
|
1365
|
-
t(
|
|
1366
|
-
t(
|
|
1367
|
-
t(
|
|
1368
|
-
t(
|
|
1338
|
+
t(ie, [2, 75]),
|
|
1339
|
+
t(ie, [2, 76]),
|
|
1340
|
+
t(X, [2, 40]),
|
|
1341
|
+
t(X, [2, 41]),
|
|
1342
|
+
t(X, [2, 42]),
|
|
1343
|
+
t(X, [2, 43]),
|
|
1344
|
+
t(X, [2, 44]),
|
|
1345
|
+
t(X, [2, 45]),
|
|
1346
|
+
t(X, [2, 46]),
|
|
1347
|
+
t(X, [2, 47]),
|
|
1348
|
+
t(X, [2, 48]),
|
|
1349
|
+
t(X, [2, 49]),
|
|
1350
|
+
t(X, [2, 50]),
|
|
1351
|
+
t(X, [2, 51]),
|
|
1352
|
+
t(X, [2, 52]),
|
|
1353
|
+
t(X, [2, 53]),
|
|
1354
|
+
t(X, [2, 54]),
|
|
1355
|
+
t(X, [2, 55]),
|
|
1356
|
+
t(X, [2, 56]),
|
|
1357
|
+
t(X, [2, 57]),
|
|
1358
|
+
t(X, [2, 58]),
|
|
1359
|
+
t(X, [2, 60]),
|
|
1360
|
+
t(X, [2, 61]),
|
|
1361
|
+
t(X, [2, 62]),
|
|
1362
|
+
t(X, [2, 63]),
|
|
1363
|
+
t(X, [2, 64]),
|
|
1364
|
+
t(X, [2, 65]),
|
|
1365
|
+
t(X, [2, 66]),
|
|
1366
|
+
t(X, [2, 67]),
|
|
1367
|
+
t(X, [2, 68]),
|
|
1368
|
+
t(X, [2, 69]),
|
|
1369
|
+
t(X, [2, 70]),
|
|
1369
1370
|
{
|
|
1370
1371
|
31: 134,
|
|
1371
1372
|
42: [1, 135]
|
|
1372
1373
|
},
|
|
1373
1374
|
{ 12: [1, 136] },
|
|
1374
1375
|
{ 33: [1, 137] },
|
|
1375
|
-
t(
|
|
1376
|
-
t(
|
|
1377
|
-
t(
|
|
1378
|
-
t(
|
|
1379
|
-
t(
|
|
1380
|
-
t(
|
|
1381
|
-
t(
|
|
1376
|
+
t(ae, [2, 28]),
|
|
1377
|
+
t(ae, [2, 29]),
|
|
1378
|
+
t(ae, [2, 30]),
|
|
1379
|
+
t(ae, [2, 31]),
|
|
1380
|
+
t(ae, [2, 32]),
|
|
1381
|
+
t(ae, [2, 33]),
|
|
1382
|
+
t(ae, [2, 34]),
|
|
1382
1383
|
{ 1: [2, 9] },
|
|
1383
1384
|
{ 1: [2, 10] },
|
|
1384
1385
|
{ 1: [2, 11] },
|
|
1385
1386
|
{ 1: [2, 12] },
|
|
1386
|
-
t(
|
|
1387
|
-
t(
|
|
1388
|
-
t(
|
|
1389
|
-
t(
|
|
1390
|
-
t(
|
|
1391
|
-
t(
|
|
1392
|
-
t(
|
|
1393
|
-
t(
|
|
1394
|
-
t(
|
|
1387
|
+
t(te, [2, 18]),
|
|
1388
|
+
t(ee, [2, 38]),
|
|
1389
|
+
t(re, [2, 72]),
|
|
1390
|
+
t(ie, [2, 74]),
|
|
1391
|
+
t(X, [2, 24]),
|
|
1392
|
+
t(X, [2, 35]),
|
|
1393
|
+
t(oe, [2, 25]),
|
|
1394
|
+
t(oe, [2, 26], { 12: [1, 138] }),
|
|
1395
|
+
t(oe, [2, 27])
|
|
1395
1396
|
],
|
|
1396
1397
|
defaultActions: {
|
|
1397
1398
|
2: [2, 1],
|
|
@@ -1421,7 +1422,7 @@ var y = p(), b = (function() {
|
|
|
1421
1422
|
var y = g.yylloc;
|
|
1422
1423
|
o.push(y);
|
|
1423
1424
|
var b = g.options && g.options.ranges;
|
|
1424
|
-
typeof _.yy.parseError == "function" ?
|
|
1425
|
+
this.parseError = typeof _.yy.parseError == "function" ? _.yy.parseError : Object.getPrototypeOf(this).parseError;
|
|
1425
1426
|
function x(e) {
|
|
1426
1427
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
1427
1428
|
}
|
|
@@ -1471,7 +1472,7 @@ var y = p(), b = (function() {
|
|
|
1471
1472
|
return !0;
|
|
1472
1473
|
}, "parse")
|
|
1473
1474
|
};
|
|
1474
|
-
|
|
1475
|
+
se.lexer = /* @__PURE__ */ (function() {
|
|
1475
1476
|
return {
|
|
1476
1477
|
EOF: 1,
|
|
1477
1478
|
parseError: /* @__PURE__ */ e(function(e, t) {
|
|
@@ -1574,10 +1575,12 @@ var y = p(), b = (function() {
|
|
|
1574
1575
|
if (this._backtrack) {
|
|
1575
1576
|
t = !1;
|
|
1576
1577
|
continue;
|
|
1577
|
-
}
|
|
1578
|
-
|
|
1578
|
+
}
|
|
1579
|
+
return !1;
|
|
1580
|
+
}
|
|
1581
|
+
if (!this.options.flex) break;
|
|
1579
1582
|
}
|
|
1580
|
-
return t ? (e = this.test_match(t, i[r]), e
|
|
1583
|
+
return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
1581
1584
|
text: "",
|
|
1582
1585
|
token: null,
|
|
1583
1586
|
line: this.yylineno
|
|
@@ -2268,27 +2271,34 @@ var y = p(), b = (function() {
|
|
|
2268
2271
|
}
|
|
2269
2272
|
};
|
|
2270
2273
|
})();
|
|
2271
|
-
function
|
|
2274
|
+
function Z() {
|
|
2272
2275
|
this.yy = {};
|
|
2273
2276
|
}
|
|
2274
|
-
return e(
|
|
2277
|
+
return e(Z, "Parser"), Z.prototype = se, se.Parser = Z, new Z();
|
|
2275
2278
|
})();
|
|
2276
|
-
|
|
2277
|
-
var
|
|
2279
|
+
v.parser = v;
|
|
2280
|
+
var y = v, b = /* @__PURE__ */ e((e) => u()[e], "getRequiredConfig"), x = /* @__PURE__ */ e((e, t) => {
|
|
2281
|
+
for (let [n, r] of Object.entries(t)) if (r !== void 0) {
|
|
2282
|
+
if (typeof r == "object") {
|
|
2283
|
+
let [t, n] = Object.entries(r)[0];
|
|
2284
|
+
e[t] = n;
|
|
2285
|
+
} else e[n] = r;
|
|
2286
|
+
}
|
|
2287
|
+
}, "assignAttributes"), S = /* @__PURE__ */ e(() => ({
|
|
2278
2288
|
alias: "global",
|
|
2279
2289
|
label: { text: "global" },
|
|
2280
2290
|
type: { text: "global" },
|
|
2281
2291
|
tags: null,
|
|
2282
2292
|
link: null,
|
|
2283
2293
|
parentBoundary: ""
|
|
2284
|
-
}], D = [], O = "",
|
|
2285
|
-
return
|
|
2286
|
-
}, "getC4Type"),
|
|
2287
|
-
|
|
2288
|
-
}, "setC4Type"),
|
|
2294
|
+
}), "createGlobalBoundary"), C = [], w = [""], T = "global", E = "", D = [S()], O = [], k = "", A = !1, j = 4, M = 2, N, P = /* @__PURE__ */ e(function() {
|
|
2295
|
+
return N;
|
|
2296
|
+
}, "getC4Type"), F = /* @__PURE__ */ e(function(e) {
|
|
2297
|
+
N = f(e, u());
|
|
2298
|
+
}, "setC4Type"), I = /* @__PURE__ */ e(function(e, t, n, r, i, a, o, s, l) {
|
|
2289
2299
|
if (e == null || t == null || n == null || r == null) return;
|
|
2290
|
-
let u = {}, d =
|
|
2291
|
-
if (d ? u = d :
|
|
2300
|
+
let u = {}, d = O.find((e) => e.from === t && e.to === n);
|
|
2301
|
+
if (d ? u = d : O.push(u), u.type = e, u.from = t, u.to = n, u.label = { text: r }, i == null) u.techn = { text: "" };
|
|
2292
2302
|
else if (typeof i == "object") {
|
|
2293
2303
|
let [e, t] = Object.entries(i)[0];
|
|
2294
2304
|
u[e] = { text: t };
|
|
@@ -2298,44 +2308,28 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2298
2308
|
let [e, t] = Object.entries(a)[0];
|
|
2299
2309
|
u[e] = { text: t };
|
|
2300
2310
|
} else u.descr = { text: a };
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
u[e] = t;
|
|
2308
|
-
} else u.tags = s;
|
|
2309
|
-
if (typeof l == "object") {
|
|
2310
|
-
let [e, t] = Object.entries(l)[0];
|
|
2311
|
-
u[e] = t;
|
|
2312
|
-
} else u.link = l;
|
|
2313
|
-
u.wrap = J();
|
|
2314
|
-
}, "addRel"), I = /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
|
|
2311
|
+
x(u, {
|
|
2312
|
+
sprite: o,
|
|
2313
|
+
tags: s,
|
|
2314
|
+
link: l
|
|
2315
|
+
}), u.wrap = Z();
|
|
2316
|
+
}, "addRel"), L = /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
|
|
2315
2317
|
if (t === null || n === null) return;
|
|
2316
|
-
let s = {}, l =
|
|
2317
|
-
if (l && t === l.alias ? s = l : (s.alias = t,
|
|
2318
|
+
let s = {}, l = C.find((e) => e.alias === t);
|
|
2319
|
+
if (l && t === l.alias ? s = l : (s.alias = t, C.push(s)), n == null ? s.label = { text: "" } : s.label = { text: n }, r == null) s.descr = { text: "" };
|
|
2318
2320
|
else if (typeof r == "object") {
|
|
2319
2321
|
let [e, t] = Object.entries(r)[0];
|
|
2320
2322
|
s[e] = { text: t };
|
|
2321
2323
|
} else s.descr = { text: r };
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
s[e] = t;
|
|
2329
|
-
} else s.tags = a;
|
|
2330
|
-
if (typeof o == "object") {
|
|
2331
|
-
let [e, t] = Object.entries(o)[0];
|
|
2332
|
-
s[e] = t;
|
|
2333
|
-
} else s.link = o;
|
|
2334
|
-
s.typeC4Shape = { text: e }, s.parentBoundary = w, s.wrap = J();
|
|
2335
|
-
}, "addPersonOrSystem"), L = /* @__PURE__ */ e(function(e, t, n, r, i, a, o, s) {
|
|
2324
|
+
x(s, {
|
|
2325
|
+
sprite: i,
|
|
2326
|
+
tags: a,
|
|
2327
|
+
link: o
|
|
2328
|
+
}), s.typeC4Shape = { text: e }, s.parentBoundary = T, s.wrap = Z();
|
|
2329
|
+
}, "addPersonOrSystem"), R = /* @__PURE__ */ e(function(e, t, n, r, i, a, o, s) {
|
|
2336
2330
|
if (t === null || n === null) return;
|
|
2337
|
-
let l = {}, u =
|
|
2338
|
-
if (u && t === u.alias ? l = u : (l.alias = t,
|
|
2331
|
+
let l = {}, u = C.find((e) => e.alias === t);
|
|
2332
|
+
if (u && t === u.alias ? l = u : (l.alias = t, C.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null) l.techn = { text: "" };
|
|
2339
2333
|
else if (typeof r == "object") {
|
|
2340
2334
|
let [e, t] = Object.entries(r)[0];
|
|
2341
2335
|
l[e] = { text: t };
|
|
@@ -2345,23 +2339,15 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2345
2339
|
let [e, t] = Object.entries(i)[0];
|
|
2346
2340
|
l[e] = { text: t };
|
|
2347
2341
|
} else l.descr = { text: i };
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
l[e] = t;
|
|
2355
|
-
} else l.tags = o;
|
|
2356
|
-
if (typeof s == "object") {
|
|
2357
|
-
let [e, t] = Object.entries(s)[0];
|
|
2358
|
-
l[e] = t;
|
|
2359
|
-
} else l.link = s;
|
|
2360
|
-
l.wrap = J(), l.typeC4Shape = { text: e }, l.parentBoundary = w;
|
|
2361
|
-
}, "addContainer"), R = /* @__PURE__ */ e(function(e, t, n, r, i, a, o, s) {
|
|
2342
|
+
x(l, {
|
|
2343
|
+
sprite: a,
|
|
2344
|
+
tags: o,
|
|
2345
|
+
link: s
|
|
2346
|
+
}), l.wrap = Z(), l.typeC4Shape = { text: e }, l.parentBoundary = T;
|
|
2347
|
+
}, "addContainer"), z = /* @__PURE__ */ e(function(e, t, n, r, i, a, o, s) {
|
|
2362
2348
|
if (t === null || n === null) return;
|
|
2363
|
-
let l = {}, u =
|
|
2364
|
-
if (u && t === u.alias ? l = u : (l.alias = t,
|
|
2349
|
+
let l = {}, u = C.find((e) => e.alias === t);
|
|
2350
|
+
if (u && t === u.alias ? l = u : (l.alias = t, C.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null) l.techn = { text: "" };
|
|
2365
2351
|
else if (typeof r == "object") {
|
|
2366
2352
|
let [e, t] = Object.entries(r)[0];
|
|
2367
2353
|
l[e] = { text: t };
|
|
@@ -2371,57 +2357,39 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2371
2357
|
let [e, t] = Object.entries(i)[0];
|
|
2372
2358
|
l[e] = { text: t };
|
|
2373
2359
|
} else l.descr = { text: i };
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
l[e] = t;
|
|
2381
|
-
} else l.tags = o;
|
|
2382
|
-
if (typeof s == "object") {
|
|
2383
|
-
let [e, t] = Object.entries(s)[0];
|
|
2384
|
-
l[e] = t;
|
|
2385
|
-
} else l.link = s;
|
|
2386
|
-
l.wrap = J(), l.typeC4Shape = { text: e }, l.parentBoundary = w;
|
|
2387
|
-
}, "addComponent"), z = /* @__PURE__ */ e(function(e, t, n, r, i) {
|
|
2360
|
+
x(l, {
|
|
2361
|
+
sprite: a,
|
|
2362
|
+
tags: o,
|
|
2363
|
+
link: s
|
|
2364
|
+
}), l.wrap = Z(), l.typeC4Shape = { text: e }, l.parentBoundary = T;
|
|
2365
|
+
}, "addComponent"), B = /* @__PURE__ */ e(function(e, t, n, r, i) {
|
|
2388
2366
|
if (e === null || t === null) return;
|
|
2389
|
-
let a = {}, o =
|
|
2390
|
-
if (o && e === o.alias ? a = o : (a.alias = e,
|
|
2367
|
+
let a = {}, o = D.find((t) => t.alias === e);
|
|
2368
|
+
if (o && e === o.alias ? a = o : (a.alias = e, D.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, n == null) a.type = { text: "system" };
|
|
2391
2369
|
else if (typeof n == "object") {
|
|
2392
2370
|
let [e, t] = Object.entries(n)[0];
|
|
2393
2371
|
a[e] = { text: t };
|
|
2394
2372
|
} else a.type = { text: n };
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
}
|
|
2399
|
-
|
|
2400
|
-
let [e, t] = Object.entries(i)[0];
|
|
2401
|
-
a[e] = t;
|
|
2402
|
-
} else a.link = i;
|
|
2403
|
-
a.parentBoundary = w, a.wrap = J(), T = w, w = e, C.push(T);
|
|
2404
|
-
}, "addPersonOrSystemBoundary"), B = /* @__PURE__ */ e(function(e, t, n, r, i) {
|
|
2373
|
+
x(a, {
|
|
2374
|
+
tags: r,
|
|
2375
|
+
link: i
|
|
2376
|
+
}), a.parentBoundary = T, a.wrap = Z(), E = T, T = e, w.push(E);
|
|
2377
|
+
}, "addPersonOrSystemBoundary"), V = /* @__PURE__ */ e(function(e, t, n, r, i) {
|
|
2405
2378
|
if (e === null || t === null) return;
|
|
2406
|
-
let a = {}, o =
|
|
2407
|
-
if (o && e === o.alias ? a = o : (a.alias = e,
|
|
2379
|
+
let a = {}, o = D.find((t) => t.alias === e);
|
|
2380
|
+
if (o && e === o.alias ? a = o : (a.alias = e, D.push(a)), t == null ? a.label = { text: "" } : a.label = { text: t }, n == null) a.type = { text: "container" };
|
|
2408
2381
|
else if (typeof n == "object") {
|
|
2409
2382
|
let [e, t] = Object.entries(n)[0];
|
|
2410
2383
|
a[e] = { text: t };
|
|
2411
2384
|
} else a.type = { text: n };
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
}
|
|
2416
|
-
|
|
2417
|
-
let [e, t] = Object.entries(i)[0];
|
|
2418
|
-
a[e] = t;
|
|
2419
|
-
} else a.link = i;
|
|
2420
|
-
a.parentBoundary = w, a.wrap = J(), T = w, w = e, C.push(T);
|
|
2421
|
-
}, "addContainerBoundary"), V = /* @__PURE__ */ e(function(e, t, n, r, i, a, o, s) {
|
|
2385
|
+
x(a, {
|
|
2386
|
+
tags: r,
|
|
2387
|
+
link: i
|
|
2388
|
+
}), a.parentBoundary = T, a.wrap = Z(), E = T, T = e, w.push(E);
|
|
2389
|
+
}, "addContainerBoundary"), H = /* @__PURE__ */ e(function(e, t, n, r, i, a, o, s) {
|
|
2422
2390
|
if (t === null || n === null) return;
|
|
2423
|
-
let l = {}, u =
|
|
2424
|
-
if (u && t === u.alias ? l = u : (l.alias = t,
|
|
2391
|
+
let l = {}, u = D.find((e) => e.alias === t);
|
|
2392
|
+
if (u && t === u.alias ? l = u : (l.alias = t, D.push(l)), n == null ? l.label = { text: "" } : l.label = { text: n }, r == null) l.type = { text: "node" };
|
|
2425
2393
|
else if (typeof r == "object") {
|
|
2426
2394
|
let [e, t] = Object.entries(r)[0];
|
|
2427
2395
|
l[e] = { text: t };
|
|
@@ -2431,79 +2399,100 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2431
2399
|
let [e, t] = Object.entries(i)[0];
|
|
2432
2400
|
l[e] = { text: t };
|
|
2433
2401
|
} else l.descr = { text: i };
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
}
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2402
|
+
x(l, {
|
|
2403
|
+
tags: o,
|
|
2404
|
+
link: s
|
|
2405
|
+
}), l.nodeType = e, l.parentBoundary = T, l.wrap = Z(), E = T, T = t, w.push(E);
|
|
2406
|
+
}, "addDeploymentNode"), U = /* @__PURE__ */ e(function() {
|
|
2407
|
+
T = E, w.pop(), E = w.pop(), w.push(E);
|
|
2408
|
+
}, "popBoundaryParseStack"), W = /* @__PURE__ */ e(function(e, t, n, r, i, a, o, s, l, u, d) {
|
|
2409
|
+
let f = C.find((e) => e.alias === t);
|
|
2410
|
+
if (!(f === void 0 && (f = D.find((e) => e.alias === t), f === void 0))) {
|
|
2411
|
+
if (n != null) {
|
|
2412
|
+
if (typeof n == "object") {
|
|
2413
|
+
let [e, t] = Object.entries(n)[0];
|
|
2414
|
+
f[e] = t;
|
|
2415
|
+
} else f.bgColor = n;
|
|
2416
|
+
}
|
|
2417
|
+
if (r != null) {
|
|
2418
|
+
if (typeof r == "object") {
|
|
2419
|
+
let [e, t] = Object.entries(r)[0];
|
|
2420
|
+
f[e] = t;
|
|
2421
|
+
} else f.fontColor = r;
|
|
2422
|
+
}
|
|
2423
|
+
if (i != null) {
|
|
2424
|
+
if (typeof i == "object") {
|
|
2425
|
+
let [e, t] = Object.entries(i)[0];
|
|
2426
|
+
f[e] = t;
|
|
2427
|
+
} else f.borderColor = i;
|
|
2428
|
+
}
|
|
2429
|
+
if (a != null) {
|
|
2430
|
+
if (typeof a == "object") {
|
|
2431
|
+
let [e, t] = Object.entries(a)[0];
|
|
2432
|
+
f[e] = t;
|
|
2433
|
+
} else f.shadowing = a;
|
|
2434
|
+
}
|
|
2435
|
+
if (o != null) {
|
|
2436
|
+
if (typeof o == "object") {
|
|
2437
|
+
let [e, t] = Object.entries(o)[0];
|
|
2438
|
+
f[e] = t;
|
|
2439
|
+
} else f.shape = o;
|
|
2440
|
+
}
|
|
2441
|
+
if (s != null) {
|
|
2442
|
+
if (typeof s == "object") {
|
|
2443
|
+
let [e, t] = Object.entries(s)[0];
|
|
2444
|
+
f[e] = t;
|
|
2445
|
+
} else f.sprite = s;
|
|
2446
|
+
}
|
|
2447
|
+
if (l != null) {
|
|
2448
|
+
if (typeof l == "object") {
|
|
2449
|
+
let [e, t] = Object.entries(l)[0];
|
|
2450
|
+
f[e] = t;
|
|
2451
|
+
} else f.techn = l;
|
|
2452
|
+
}
|
|
2453
|
+
if (u != null) {
|
|
2454
|
+
if (typeof u == "object") {
|
|
2455
|
+
let [e, t] = Object.entries(u)[0];
|
|
2456
|
+
f[e] = t;
|
|
2457
|
+
} else f.legendText = u;
|
|
2458
|
+
}
|
|
2459
|
+
if (d != null) {
|
|
2460
|
+
if (typeof d == "object") {
|
|
2461
|
+
let [e, t] = Object.entries(d)[0];
|
|
2462
|
+
f[e] = t;
|
|
2463
|
+
} else f.legendSprite = d;
|
|
2464
|
+
}
|
|
2484
2465
|
}
|
|
2485
|
-
}, "updateElStyle"),
|
|
2486
|
-
let s =
|
|
2466
|
+
}, "updateElStyle"), G = /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
|
|
2467
|
+
let s = O.find((e) => e.from === t && e.to === n);
|
|
2487
2468
|
if (s !== void 0) {
|
|
2488
|
-
if (r != null)
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
s
|
|
2499
|
-
}
|
|
2500
|
-
if (
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2469
|
+
if (r != null) {
|
|
2470
|
+
if (typeof r == "object") {
|
|
2471
|
+
let [e, t] = Object.entries(r)[0];
|
|
2472
|
+
s[e] = t;
|
|
2473
|
+
} else s.textColor = r;
|
|
2474
|
+
}
|
|
2475
|
+
if (i != null) {
|
|
2476
|
+
if (typeof i == "object") {
|
|
2477
|
+
let [e, t] = Object.entries(i)[0];
|
|
2478
|
+
s[e] = t;
|
|
2479
|
+
} else s.lineColor = i;
|
|
2480
|
+
}
|
|
2481
|
+
if (a != null) {
|
|
2482
|
+
if (typeof a == "object") {
|
|
2483
|
+
let [e, t] = Object.entries(a)[0];
|
|
2484
|
+
s[e] = parseInt(t);
|
|
2485
|
+
} else s.offsetX = parseInt(a);
|
|
2486
|
+
}
|
|
2487
|
+
if (o != null) {
|
|
2488
|
+
if (typeof o == "object") {
|
|
2489
|
+
let [e, t] = Object.entries(o)[0];
|
|
2490
|
+
s[e] = parseInt(t);
|
|
2491
|
+
} else s.offsetY = parseInt(o);
|
|
2492
|
+
}
|
|
2504
2493
|
}
|
|
2505
|
-
}, "updateRelStyle"),
|
|
2506
|
-
let r =
|
|
2494
|
+
}, "updateRelStyle"), ee = /* @__PURE__ */ e(function(e, t, n) {
|
|
2495
|
+
let r = j, i = M;
|
|
2507
2496
|
if (typeof t == "object") {
|
|
2508
2497
|
let e = Object.values(t)[0];
|
|
2509
2498
|
r = parseInt(e);
|
|
@@ -2512,71 +2501,64 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2512
2501
|
let e = Object.values(n)[0];
|
|
2513
2502
|
i = parseInt(e);
|
|
2514
2503
|
} else i = parseInt(n);
|
|
2515
|
-
r >= 1 && (
|
|
2516
|
-
}, "updateLayoutConfig"),
|
|
2517
|
-
return A;
|
|
2518
|
-
}, "getC4ShapeInRow"), ie = /* @__PURE__ */ e(function() {
|
|
2504
|
+
r >= 1 && (j = r), i >= 1 && (M = i);
|
|
2505
|
+
}, "updateLayoutConfig"), te = /* @__PURE__ */ e(function() {
|
|
2519
2506
|
return j;
|
|
2520
|
-
}, "
|
|
2521
|
-
return
|
|
2522
|
-
}, "
|
|
2507
|
+
}, "getC4ShapeInRow"), ne = /* @__PURE__ */ e(function() {
|
|
2508
|
+
return M;
|
|
2509
|
+
}, "getC4BoundaryInRow"), K = /* @__PURE__ */ e(function() {
|
|
2523
2510
|
return T;
|
|
2524
|
-
}, "
|
|
2525
|
-
return
|
|
2526
|
-
}, "
|
|
2527
|
-
return
|
|
2528
|
-
}, "
|
|
2529
|
-
return
|
|
2530
|
-
}, "
|
|
2531
|
-
return
|
|
2532
|
-
}, "
|
|
2533
|
-
return D;
|
|
2534
|
-
}, "
|
|
2511
|
+
}, "getCurrentBoundaryParse"), q = /* @__PURE__ */ e(function() {
|
|
2512
|
+
return E;
|
|
2513
|
+
}, "getParentBoundaryParse"), J = /* @__PURE__ */ e(function(e) {
|
|
2514
|
+
return e == null ? C : C.filter((t) => t.parentBoundary === e);
|
|
2515
|
+
}, "getC4ShapeArray"), Y = /* @__PURE__ */ e(function(e) {
|
|
2516
|
+
return C.find((t) => t.alias === e);
|
|
2517
|
+
}, "getC4Shape"), X = /* @__PURE__ */ e(function(e) {
|
|
2518
|
+
return Object.keys(J(e));
|
|
2519
|
+
}, "getC4ShapeKeys"), re = /* @__PURE__ */ e(function(e) {
|
|
2520
|
+
return e == null ? D : D.filter((t) => t.parentBoundary === e);
|
|
2521
|
+
}, "getBoundaries"), ie = re, ae = /* @__PURE__ */ e(function() {
|
|
2535
2522
|
return O;
|
|
2536
|
-
}, "
|
|
2537
|
-
k = e;
|
|
2538
|
-
}, "setWrap"), J = /* @__PURE__ */ e(function() {
|
|
2523
|
+
}, "getRels"), oe = /* @__PURE__ */ e(function() {
|
|
2539
2524
|
return k;
|
|
2540
|
-
}, "
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2525
|
+
}, "getTitle"), se = /* @__PURE__ */ e(function(e) {
|
|
2526
|
+
A = e;
|
|
2527
|
+
}, "setWrap"), Z = /* @__PURE__ */ e(function() {
|
|
2528
|
+
return A;
|
|
2529
|
+
}, "autoWrap"), ce = {
|
|
2530
|
+
addPersonOrSystem: L,
|
|
2531
|
+
addPersonOrSystemBoundary: B,
|
|
2532
|
+
addContainer: R,
|
|
2533
|
+
addContainerBoundary: V,
|
|
2534
|
+
addComponent: z,
|
|
2535
|
+
addDeploymentNode: H,
|
|
2536
|
+
popBoundaryParseStack: U,
|
|
2537
|
+
addRel: I,
|
|
2538
|
+
updateElStyle: W,
|
|
2539
|
+
updateRelStyle: G,
|
|
2540
|
+
updateLayoutConfig: ee,
|
|
2541
|
+
autoWrap: Z,
|
|
2542
|
+
setWrap: se,
|
|
2543
|
+
getC4ShapeArray: J,
|
|
2544
|
+
getC4Shape: Y,
|
|
2545
|
+
getC4ShapeKeys: X,
|
|
2546
|
+
getBoundaries: re,
|
|
2547
|
+
getBoundarys: ie,
|
|
2548
|
+
getCurrentBoundaryParse: K,
|
|
2549
|
+
getParentBoundaryParse: q,
|
|
2550
|
+
getRels: ae,
|
|
2551
|
+
getTitle: oe,
|
|
2552
|
+
getC4Type: P,
|
|
2553
|
+
getC4ShapeInRow: te,
|
|
2554
|
+
getC4BoundaryInRow: ne,
|
|
2566
2555
|
setAccTitle: i,
|
|
2567
2556
|
getAccTitle: d,
|
|
2568
2557
|
getAccDescription: l,
|
|
2569
2558
|
setAccDescription: r,
|
|
2570
|
-
getConfig: /* @__PURE__ */ e(() =>
|
|
2559
|
+
getConfig: /* @__PURE__ */ e(() => b("c4"), "getConfig"),
|
|
2571
2560
|
clear: /* @__PURE__ */ e(function() {
|
|
2572
|
-
|
|
2573
|
-
alias: "global",
|
|
2574
|
-
label: { text: "global" },
|
|
2575
|
-
type: { text: "global" },
|
|
2576
|
-
tags: null,
|
|
2577
|
-
link: null,
|
|
2578
|
-
parentBoundary: ""
|
|
2579
|
-
}], T = "", w = "global", C = [""], D = [], C = [""], O = "", k = !1, A = 4, j = 2;
|
|
2561
|
+
C = [], D = [S()], E = "", T = "global", w = [""], O = [], w = [""], k = "", A = !1, j = 4, M = 2;
|
|
2580
2562
|
}, "clear"),
|
|
2581
2563
|
LINETYPE: {
|
|
2582
2564
|
SOLID: 0,
|
|
@@ -2613,20 +2595,15 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2613
2595
|
OVER: 2
|
|
2614
2596
|
},
|
|
2615
2597
|
setTitle: /* @__PURE__ */ e(function(e) {
|
|
2616
|
-
|
|
2598
|
+
k = f(e, u());
|
|
2617
2599
|
}, "setTitle"),
|
|
2618
|
-
setC4Type:
|
|
2619
|
-
},
|
|
2600
|
+
setC4Type: F
|
|
2601
|
+
}, le = /* @__PURE__ */ e(function(e, t) {
|
|
2620
2602
|
return _(e, t);
|
|
2621
|
-
}, "drawRect"),
|
|
2622
|
-
let o = e.append("image");
|
|
2623
|
-
o.attr("width", t), o.attr("height", n), o.attr("x", r), o.attr("y", i);
|
|
2624
|
-
let s = a.startsWith("data:image/png;base64") ? a : (0, y.sanitizeUrl)(a);
|
|
2625
|
-
o.attr("xlink:href", s);
|
|
2626
|
-
}, "drawImage"), pe = /* @__PURE__ */ e((e, t, n, r) => {
|
|
2603
|
+
}, "drawRect"), ue = /* @__PURE__ */ e((e, t, n, r) => {
|
|
2627
2604
|
let i = e.append("g"), a = 0;
|
|
2628
2605
|
for (let e of t) {
|
|
2629
|
-
let t = e.textColor ? e.textColor : "#444444", o = e.lineColor ? e.lineColor : "#444444", s = e.offsetX ? parseInt(e.offsetX) : 0, l = e.offsetY ? parseInt(e.offsetY) : 0;
|
|
2606
|
+
let t = e.textColor ? e.textColor : "#444444", o = e.lineColor ? e.lineColor : "#444444", s = e.offsetX ? parseInt(String(e.offsetX)) : 0, l = e.offsetY ? parseInt(String(e.offsetY)) : 0;
|
|
2630
2607
|
if (a === 0) {
|
|
2631
2608
|
let t = i.append("line");
|
|
2632
2609
|
t.attr("x1", e.startPoint.x), t.attr("y1", e.startPoint.y), t.attr("x2", e.endPoint.x), t.attr("y2", e.endPoint.y), t.attr("stroke-width", "1"), t.attr("stroke", o), t.style("fill", "none"), e.type !== "rel_b" && t.attr("marker-end", "url(#" + r + "-arrowhead)"), (e.type === "birel" || e.type === "rel_b") && t.attr("marker-start", "url(#" + r + "-arrowend)"), a = -1;
|
|
@@ -2634,18 +2611,18 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2634
2611
|
let t = i.append("path");
|
|
2635
2612
|
t.attr("fill", "none").attr("stroke-width", "1").attr("stroke", o).attr("d", "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", e.startPoint.x).replaceAll("starty", e.startPoint.y).replaceAll("controlx", e.startPoint.x + (e.endPoint.x - e.startPoint.x) / 2 - (e.endPoint.x - e.startPoint.x) / 4).replaceAll("controly", e.startPoint.y + (e.endPoint.y - e.startPoint.y) / 2).replaceAll("stopx", e.endPoint.x).replaceAll("stopy", e.endPoint.y)), e.type !== "rel_b" && t.attr("marker-end", "url(#" + r + "-arrowhead)"), (e.type === "birel" || e.type === "rel_b") && t.attr("marker-start", "url(#" + r + "-arrowend)");
|
|
2636
2613
|
}
|
|
2637
|
-
let u = n.messageFont();
|
|
2638
|
-
|
|
2614
|
+
let u = e.label.width, d = n.messageFont();
|
|
2615
|
+
ye(n)(e.label.text, i, Math.min(e.startPoint.x, e.endPoint.x) + Math.abs(e.endPoint.x - e.startPoint.x) / 2 + s, Math.min(e.startPoint.y, e.endPoint.y) + Math.abs(e.endPoint.y - e.startPoint.y) / 2 + l, u, e.label.height, { fill: t }, d), e.techn && e.techn.text !== "" && (d = n.messageFont(), ye(n)("[" + e.techn.text + "]", i, Math.min(e.startPoint.x, e.endPoint.x) + Math.abs(e.endPoint.x - e.startPoint.x) / 2 + s, Math.min(e.startPoint.y, e.endPoint.y) + Math.abs(e.endPoint.y - e.startPoint.y) / 2 + n.messageFontSize + 5 + l, Math.max(u, e.techn.width), e.techn.height, {
|
|
2639
2616
|
fill: t,
|
|
2640
2617
|
"font-style": "italic"
|
|
2641
|
-
},
|
|
2618
|
+
}, d));
|
|
2642
2619
|
}
|
|
2643
|
-
}, "drawRels"),
|
|
2620
|
+
}, "drawRels"), de = /* @__PURE__ */ e(function(e, t, n) {
|
|
2644
2621
|
let r = e.append("g"), i = t.bgColor ? t.bgColor : "none", a = t.borderColor ? t.borderColor : "#444444", o = t.fontColor ? t.fontColor : "black", s = {
|
|
2645
2622
|
"stroke-width": 1,
|
|
2646
2623
|
"stroke-dasharray": "7.0,7.0"
|
|
2647
2624
|
};
|
|
2648
|
-
t.nodeType && (s = { "stroke-width": 1 }),
|
|
2625
|
+
t.nodeType && (s = { "stroke-width": 1 }), le(r, {
|
|
2649
2626
|
x: t.x,
|
|
2650
2627
|
y: t.y,
|
|
2651
2628
|
fill: i,
|
|
@@ -2657,83 +2634,23 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2657
2634
|
attrs: s
|
|
2658
2635
|
});
|
|
2659
2636
|
let l = n.boundaryFont();
|
|
2660
|
-
l.fontWeight = "bold", l.fontSize += 2, l.fontColor = o,
|
|
2661
|
-
}, "drawBoundary"),
|
|
2662
|
-
let r = t.bgColor ? t.bgColor : n[t.typeC4Shape.text + "_bg_color"], i = t.borderColor ? t.borderColor : n[t.typeC4Shape.text + "_border_color"], a = t.fontColor ? t.fontColor : "#FFFFFF", o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
|
|
2663
|
-
switch (t.typeC4Shape.text) {
|
|
2664
|
-
case "person":
|
|
2665
|
-
o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
|
|
2666
|
-
break;
|
|
2667
|
-
case "external_person":
|
|
2668
|
-
o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
|
|
2669
|
-
break;
|
|
2670
|
-
}
|
|
2671
|
-
let s = e.append("g");
|
|
2672
|
-
s.attr("class", "person-man");
|
|
2673
|
-
let l = v();
|
|
2674
|
-
switch (t.typeC4Shape.text) {
|
|
2675
|
-
case "person":
|
|
2676
|
-
case "external_person":
|
|
2677
|
-
case "system":
|
|
2678
|
-
case "external_system":
|
|
2679
|
-
case "container":
|
|
2680
|
-
case "external_container":
|
|
2681
|
-
case "component":
|
|
2682
|
-
case "external_component":
|
|
2683
|
-
l.x = t.x, l.y = t.y, l.fill = r, l.width = t.width, l.height = t.height, l.stroke = i, l.rx = 2.5, l.ry = 2.5, l.attrs = { "stroke-width": .5 }, de(s, l);
|
|
2684
|
-
break;
|
|
2685
|
-
case "system_db":
|
|
2686
|
-
case "external_system_db":
|
|
2687
|
-
case "container_db":
|
|
2688
|
-
case "external_container_db":
|
|
2689
|
-
case "component_db":
|
|
2690
|
-
case "external_component_db":
|
|
2691
|
-
s.append("path").attr("fill", r).attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2).replaceAll("height", t.height)), s.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2));
|
|
2692
|
-
break;
|
|
2693
|
-
case "system_queue":
|
|
2694
|
-
case "external_system_queue":
|
|
2695
|
-
case "container_queue":
|
|
2696
|
-
case "external_container_queue":
|
|
2697
|
-
case "component_queue":
|
|
2698
|
-
case "external_component_queue":
|
|
2699
|
-
s.append("path").attr("fill", r).attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("width", t.width).replaceAll("half", t.height / 2)), s.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", i).attr("d", "Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx", t.x + t.width).replaceAll("starty", t.y).replaceAll("half", t.height / 2));
|
|
2700
|
-
break;
|
|
2701
|
-
}
|
|
2702
|
-
let u = Ce(n, t.typeC4Shape.text);
|
|
2703
|
-
switch (s.append("text").attr("fill", a).attr("font-family", u.fontFamily).attr("font-size", u.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text) {
|
|
2704
|
-
case "person":
|
|
2705
|
-
case "external_person":
|
|
2706
|
-
fe(s, 48, 48, t.x + t.width / 2 - 24, t.y + t.image.Y, o);
|
|
2707
|
-
break;
|
|
2708
|
-
}
|
|
2709
|
-
let d = n[t.typeC4Shape.text + "Font"]();
|
|
2710
|
-
return d.fontWeight = "bold", d.fontSize += 2, d.fontColor = a, Y(n)(t.label.text, s, t.x, t.y + t.label.Y, t.width, t.height, { fill: a }, d), d = n[t.typeC4Shape.text + "Font"](), d.fontColor = a, t.techn && t.techn?.text !== "" ? Y(n)(t.techn.text, s, t.x, t.y + t.techn.Y, t.width, t.height, {
|
|
2711
|
-
fill: a,
|
|
2712
|
-
"font-style": "italic"
|
|
2713
|
-
}, d) : t.type && t.type.text !== "" && Y(n)(t.type.text, s, t.x, t.y + t.type.Y, t.width, t.height, {
|
|
2714
|
-
fill: a,
|
|
2715
|
-
"font-style": "italic"
|
|
2716
|
-
}, d), t.descr && t.descr.text !== "" && (d = n.personFont(), d.fontColor = a, Y(n)(t.descr.text, s, t.x, t.y + t.descr.Y, t.width, t.height, { fill: a }, d)), t.height;
|
|
2717
|
-
}, "drawC4Shape"), ge = /* @__PURE__ */ e(function(e, t) {
|
|
2637
|
+
l.fontWeight = "bold", l.fontSize += 2, l.fontColor = o, ye(n)(t.label.text, r, t.x, t.y + t.label.Y, t.width, t.height, { fill: "#444444" }, l), t.type && t.type.text !== "" && (l = n.boundaryFont(), l.fontColor = o, ye(n)(t.type.text, r, t.x, t.y + t.type.Y, t.width, t.height, { fill: "#444444" }, l)), t.descr && t.descr.text !== "" && (l = n.boundaryFont(), l.fontSize -= 2, l.fontColor = o, ye(n)(t.descr.text, r, t.x, t.y + t.descr.Y, t.width, t.height, { fill: "#444444" }, l));
|
|
2638
|
+
}, "drawBoundary"), fe = /* @__PURE__ */ e(function(e, t) {
|
|
2718
2639
|
e.append("defs").append("symbol").attr("id", t + "-database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr("d", "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z");
|
|
2719
|
-
}, "insertDatabaseIcon"),
|
|
2640
|
+
}, "insertDatabaseIcon"), pe = /* @__PURE__ */ e(function(e, t) {
|
|
2720
2641
|
e.append("defs").append("symbol").attr("id", t + "-computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z");
|
|
2721
|
-
}, "insertComputerIcon"),
|
|
2642
|
+
}, "insertComputerIcon"), me = /* @__PURE__ */ e(function(e, t) {
|
|
2722
2643
|
e.append("defs").append("symbol").attr("id", t + "-clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z");
|
|
2723
|
-
}, "insertClockIcon"),
|
|
2644
|
+
}, "insertClockIcon"), he = /* @__PURE__ */ e(function(e, t) {
|
|
2724
2645
|
e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
|
|
2725
|
-
}, "insertArrowHead"),
|
|
2646
|
+
}, "insertArrowHead"), ge = /* @__PURE__ */ e(function(e, t) {
|
|
2726
2647
|
e.append("defs").append("marker").attr("id", t + "-arrowend").attr("refX", 1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z");
|
|
2727
|
-
}, "insertArrowEnd"),
|
|
2648
|
+
}, "insertArrowEnd"), _e = /* @__PURE__ */ e(function(e, t) {
|
|
2728
2649
|
e.append("defs").append("marker").attr("id", t + "-filled-head").attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
|
|
2729
|
-
}, "insertArrowFilledHead"),
|
|
2650
|
+
}, "insertArrowFilledHead"), ve = /* @__PURE__ */ e(function(e, t) {
|
|
2730
2651
|
let n = e.append("defs").append("marker").attr("id", t + "-crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
|
|
2731
2652
|
n.append("path").attr("fill", "black").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 9,2 V 6 L16,4 Z"), n.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 0,1 L 6,7 M 6,1 L 0,7");
|
|
2732
|
-
}, "insertArrowCrossHead"),
|
|
2733
|
-
fontFamily: e[t + "FontFamily"],
|
|
2734
|
-
fontSize: e[t + "FontSize"],
|
|
2735
|
-
fontWeight: e[t + "FontWeight"]
|
|
2736
|
-
}), "getC4ShapeFont"), Y = /* @__PURE__ */ (function() {
|
|
2653
|
+
}, "insertArrowCrossHead"), ye = /* @__PURE__ */ (function() {
|
|
2737
2654
|
function t(e, t, n, r, a, o, s) {
|
|
2738
2655
|
i(t.append("text").attr("x", n + a / 2).attr("y", r + o / 2 + 5).style("text-anchor", "middle").text(e), s);
|
|
2739
2656
|
}
|
|
@@ -2757,38 +2674,126 @@ var x = b, S = [], C = [""], w = "global", T = "", E = [{
|
|
|
2757
2674
|
return e(i, "_setTextAttrs"), function(e) {
|
|
2758
2675
|
return e.textPlacement === "fo" ? r : e.textPlacement === "old" ? t : n;
|
|
2759
2676
|
};
|
|
2760
|
-
})(),
|
|
2761
|
-
drawRect:
|
|
2762
|
-
drawBoundary:
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2677
|
+
})(), Q = {
|
|
2678
|
+
drawRect: le,
|
|
2679
|
+
drawBoundary: de,
|
|
2680
|
+
drawRels: ue,
|
|
2681
|
+
insertArrowHead: he,
|
|
2682
|
+
insertArrowEnd: ge,
|
|
2683
|
+
insertArrowFilledHead: _e,
|
|
2684
|
+
insertArrowCrossHead: ve,
|
|
2685
|
+
insertDatabaseIcon: fe,
|
|
2686
|
+
insertComputerIcon: pe,
|
|
2687
|
+
insertClockIcon: me
|
|
2688
|
+
}, be = /* @__PURE__ */ e((e, t) => {
|
|
2689
|
+
if (t === "sandbox") {
|
|
2690
|
+
let t = n("#i" + e).node()?.contentDocument;
|
|
2691
|
+
if (!t) throw Error(`Sandbox iframe #i${e} is missing its content document`);
|
|
2692
|
+
return {
|
|
2693
|
+
root: n(t.body),
|
|
2694
|
+
doc: t
|
|
2695
|
+
};
|
|
2696
|
+
}
|
|
2697
|
+
return {
|
|
2698
|
+
root: n("body"),
|
|
2699
|
+
doc: document
|
|
2700
|
+
};
|
|
2701
|
+
}, "getDiagramRoot"), xe = /* @__PURE__ */ new Set([
|
|
2702
|
+
"system_queue",
|
|
2703
|
+
"external_system_queue",
|
|
2704
|
+
"container_queue",
|
|
2705
|
+
"external_container_queue",
|
|
2706
|
+
"component_queue",
|
|
2707
|
+
"external_component_queue"
|
|
2708
|
+
]), Se = /* @__PURE__ */ new Set([
|
|
2709
|
+
"system_db",
|
|
2710
|
+
"external_system_db",
|
|
2711
|
+
"container_db",
|
|
2712
|
+
"external_container_db",
|
|
2713
|
+
"component_db",
|
|
2714
|
+
"external_component_db"
|
|
2715
|
+
]), Ce = {
|
|
2716
|
+
person: "person",
|
|
2717
|
+
box: "rounded",
|
|
2718
|
+
rounded: "rounded",
|
|
2719
|
+
cylinder: "cylinder",
|
|
2720
|
+
database: "cylinder",
|
|
2721
|
+
db: "cylinder",
|
|
2722
|
+
queue: "h-cyl",
|
|
2723
|
+
pipe: "h-cyl",
|
|
2724
|
+
component: "fr-rect"
|
|
2725
|
+
}, we = /* @__PURE__ */ e((e) => e ? Ce[e.toLowerCase()] : void 0, "keywordShape"), Te = /* @__PURE__ */ e((e) => {
|
|
2726
|
+
let t = we(e.shape) ?? we(e.sprite);
|
|
2727
|
+
if (t) return t;
|
|
2728
|
+
if (e.tags) for (let t of e.tags.split(",")) {
|
|
2729
|
+
let e = we(t.trim());
|
|
2730
|
+
if (e) return e;
|
|
2731
|
+
}
|
|
2732
|
+
let n = e.typeC4Shape.text;
|
|
2733
|
+
return n === "person" || n === "external_person" ? "person" : Se.has(n) ? "cylinder" : xe.has(n) ? "h-cyl" : "rounded";
|
|
2734
|
+
}, "resolveNodeShape"), Ee = {
|
|
2735
|
+
person: "Person",
|
|
2736
|
+
system: "Software System",
|
|
2737
|
+
container: "Container",
|
|
2738
|
+
component: "Component"
|
|
2739
|
+
}, De = /* @__PURE__ */ e((e) => {
|
|
2740
|
+
let t = e.replace(/^external_/, "").replace(/_(db|queue)$/, "");
|
|
2741
|
+
return Ee[t] ?? t.replace(/_/g, " ");
|
|
2742
|
+
}, "stereotypeLabel"), Oe = /* @__PURE__ */ e((e) => e.startsWith("external_"), "isExternal"), ke = /* @__PURE__ */ e((e) => {
|
|
2743
|
+
let t = De(e.typeC4Shape.text);
|
|
2744
|
+
return e.techn?.text ? `[${t}: ${e.techn.text}]` : `[${t}]`;
|
|
2745
|
+
}, "stereotypeText"), Ae = [
|
|
2746
|
+
"person",
|
|
2747
|
+
"system",
|
|
2748
|
+
"system_db",
|
|
2749
|
+
"system_queue",
|
|
2750
|
+
"container",
|
|
2751
|
+
"container_db",
|
|
2752
|
+
"container_queue",
|
|
2753
|
+
"component",
|
|
2754
|
+
"component_db",
|
|
2755
|
+
"component_queue"
|
|
2756
|
+
].flatMap((e) => [e, `external_${e}`]), je = new Set(Ae), Me = /* @__PURE__ */ e((e) => je.has(e), "isC4ElementType"), Ne = /* @__PURE__ */ e((e, t) => {
|
|
2757
|
+
let n = e.typeC4Shape.text, r = e.bgColor ?? (Me(n) && t[`${n}_bg_color`]), i = e.borderColor ?? (Me(n) && t[`${n}_border_color`]), a = [];
|
|
2758
|
+
return r && a.push(`fill:${r}`), i && a.push(`stroke:${i}`), a.push(`color:${e.fontColor ?? "#FFFFFF"}`), a;
|
|
2759
|
+
}, "elementCssStyles"), Pe = /* @__PURE__ */ e((e, t, n, r, i) => {
|
|
2760
|
+
let a = e.typeC4Shape.text, o = ["c4-shape", `c4-${a}`];
|
|
2761
|
+
Oe(a) && o.push("c4-external");
|
|
2762
|
+
let s = Te(e), l = Ne(e, t);
|
|
2763
|
+
return (s === "rounded" || s === "fr-rect") && l.push("rx:12px", "ry:12px"), {
|
|
2764
|
+
id: e.alias,
|
|
2765
|
+
label: e.label.text,
|
|
2766
|
+
stereotype: ke(e),
|
|
2767
|
+
description: e.descr?.text ? [e.descr.text] : void 0,
|
|
2768
|
+
labelType: "string",
|
|
2769
|
+
isGroup: !1,
|
|
2770
|
+
shape: s,
|
|
2771
|
+
cssClasses: o.join(" "),
|
|
2772
|
+
cssStyles: l,
|
|
2773
|
+
padding: n,
|
|
2774
|
+
look: r,
|
|
2775
|
+
useHtmlLabels: !1,
|
|
2776
|
+
width: i
|
|
2777
|
+
};
|
|
2778
|
+
}, "buildC4Node"), Fe = 0, Ie = 0, Le = 4, Re = 2;
|
|
2779
|
+
v.yy = ce;
|
|
2780
|
+
var $ = {}, ze = class {
|
|
2776
2781
|
static {
|
|
2777
2782
|
e(this, "Bounds");
|
|
2778
2783
|
}
|
|
2779
2784
|
constructor(e) {
|
|
2780
|
-
this.name = "", this.data = {}, this.data.startx = void 0, this.data.stopx = void 0, this.data.starty = void 0, this.data.stopy = void 0, this.data.widthLimit = void 0, this.nextData = {}, this.nextData.startx = void 0, this.nextData.stopx = void 0, this.nextData.starty = void 0, this.nextData.stopy = void 0, this.nextData.cnt = 0,
|
|
2785
|
+
this.name = "", this.data = {}, this.data.startx = void 0, this.data.stopx = void 0, this.data.starty = void 0, this.data.stopy = void 0, this.data.widthLimit = void 0, this.nextData = {}, this.nextData.startx = void 0, this.nextData.stopx = void 0, this.nextData.starty = void 0, this.nextData.stopy = void 0, this.nextData.cnt = 0, Be(e.db.getConfig());
|
|
2781
2786
|
}
|
|
2782
2787
|
setData(e, t, n, r) {
|
|
2783
2788
|
this.nextData.startx = this.data.startx = e, this.nextData.stopx = this.data.stopx = t, this.nextData.starty = this.data.starty = n, this.nextData.stopy = this.data.stopy = r;
|
|
2784
2789
|
}
|
|
2785
2790
|
updateVal(e, t, n, r) {
|
|
2786
|
-
e[t] === void 0 ?
|
|
2791
|
+
e[t] = e[t] === void 0 ? n : r(n, e[t]);
|
|
2787
2792
|
}
|
|
2788
2793
|
insert(e) {
|
|
2789
2794
|
this.nextData.cnt = this.nextData.cnt + 1;
|
|
2790
|
-
let t = this.nextData.
|
|
2791
|
-
(
|
|
2795
|
+
let t = this.nextData.stopx, n = this.data.widthLimit, r = this.nextData.startx === this.nextData.stopx ? t + e.margin : t + e.margin * 2, i = r + e.width, a = this.nextData.starty + e.margin * 2, o = a + e.height;
|
|
2796
|
+
(r >= n || i >= n || this.nextData.cnt > Le) && (r = this.nextData.startx + e.margin + $.nextLinePaddingX, a = this.nextData.stopy + e.margin * 2, this.nextData.stopx = i = r + e.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = o = a + e.height, this.nextData.cnt = 1), e.x = r, e.y = a, this.updateVal(this.data, "startx", r, Math.min), this.updateVal(this.data, "starty", a, Math.min), this.updateVal(this.data, "stopx", i, Math.max), this.updateVal(this.data, "stopy", o, Math.max), this.updateVal(this.nextData, "startx", r, Math.min), this.updateVal(this.nextData, "starty", a, Math.min), this.updateVal(this.nextData, "stopx", i, Math.max), this.updateVal(this.nextData, "stopy", o, Math.max);
|
|
2792
2797
|
}
|
|
2793
2798
|
init(e) {
|
|
2794
2799
|
this.name = "", this.data = {
|
|
@@ -2803,160 +2808,203 @@ var Z = {}, Oe = class {
|
|
|
2803
2808
|
starty: void 0,
|
|
2804
2809
|
stopy: void 0,
|
|
2805
2810
|
cnt: 0
|
|
2806
|
-
},
|
|
2811
|
+
}, Be(e.db.getConfig());
|
|
2807
2812
|
}
|
|
2808
2813
|
bumpLastMargin(e) {
|
|
2809
2814
|
this.data.stopx += e, this.data.stopy += e;
|
|
2810
2815
|
}
|
|
2811
|
-
},
|
|
2812
|
-
o(
|
|
2813
|
-
}, "setConf"),
|
|
2814
|
-
fontFamily: e[t + "FontFamily"],
|
|
2815
|
-
fontSize: e[t + "FontSize"],
|
|
2816
|
-
fontWeight: e[t + "FontWeight"]
|
|
2817
|
-
}), "c4ShapeFont"), je = /* @__PURE__ */ e((e) => ({
|
|
2816
|
+
}, Be = /* @__PURE__ */ e(function(e) {
|
|
2817
|
+
o($, e), e?.fontFamily && ($.personFontFamily = $.systemFontFamily = $.messageFontFamily = e.fontFamily), e?.fontSize && ($.personFontSize = $.systemFontSize = $.messageFontSize = e.fontSize), e?.fontWeight && ($.personFontWeight = $.systemFontWeight = $.messageFontWeight = e.fontWeight);
|
|
2818
|
+
}, "setConf"), Ve = /* @__PURE__ */ e((e) => ({
|
|
2818
2819
|
fontFamily: e.boundaryFontFamily,
|
|
2819
2820
|
fontSize: e.boundaryFontSize,
|
|
2820
2821
|
fontWeight: e.boundaryFontWeight
|
|
2821
|
-
}), "boundaryFont"),
|
|
2822
|
+
}), "boundaryFont"), He = /* @__PURE__ */ e((e) => ({
|
|
2822
2823
|
fontFamily: e.messageFontFamily,
|
|
2823
2824
|
fontSize: e.messageFontSize,
|
|
2824
2825
|
fontWeight: e.messageFontWeight
|
|
2825
2826
|
}), "messageFont");
|
|
2826
|
-
function
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
e(Q, "calcC4ShapeTextWH");
|
|
2837
|
-
var Ne = /* @__PURE__ */ e(function(e, t, n) {
|
|
2838
|
-
t.x = n.data.startx, t.y = n.data.starty, t.width = n.data.stopx - n.data.startx, t.height = n.data.stopy - n.data.starty, t.label.y = Z.c4ShapeMargin - 35;
|
|
2839
|
-
let r = t.wrap && Z.wrap, i = je(Z);
|
|
2840
|
-
i.fontSize += 2, i.fontWeight = "bold", Q("label", t, r, i, g(t.label.text, i)), X.drawBoundary(e, t, Z);
|
|
2841
|
-
}, "drawBoundary"), Pe = /* @__PURE__ */ e(function(e, t, n, r) {
|
|
2842
|
-
let i = 0;
|
|
2843
|
-
for (let a of r) {
|
|
2844
|
-
i = 0;
|
|
2845
|
-
let r = n[a], o = Ae(Z, r.typeC4Shape.text);
|
|
2846
|
-
switch (o.fontSize -= 2, r.typeC4Shape.width = g("«" + r.typeC4Shape.text + "»", o), r.typeC4Shape.height = o.fontSize + 2, r.typeC4Shape.Y = Z.c4ShapePadding, i = r.typeC4Shape.Y + r.typeC4Shape.height - 4, r.image = {
|
|
2847
|
-
width: 0,
|
|
2848
|
-
height: 0,
|
|
2849
|
-
Y: 0
|
|
2850
|
-
}, r.typeC4Shape.text) {
|
|
2851
|
-
case "person":
|
|
2852
|
-
case "external_person":
|
|
2853
|
-
r.image.width = 48, r.image.height = 48, r.image.Y = i, i = r.image.Y + r.image.height;
|
|
2854
|
-
break;
|
|
2827
|
+
function Ue(e, t, n, r, i) {
|
|
2828
|
+
let a = t[e];
|
|
2829
|
+
if (!a.width) {
|
|
2830
|
+
if (n) a.text = p(a.text, i, r), a.textLines = a.text.split(s.lineBreakRegex).length, a.width = i, a.height = m(a.text, r);
|
|
2831
|
+
else {
|
|
2832
|
+
let e = a.text.split(s.lineBreakRegex);
|
|
2833
|
+
a.textLines = e.length;
|
|
2834
|
+
let t = 0;
|
|
2835
|
+
a.height = 0, a.width = 0;
|
|
2836
|
+
for (let n of e) a.width = Math.max(h(n, r), a.width), t = m(n, r), a.height += t;
|
|
2855
2837
|
}
|
|
2856
|
-
r.sprite && (r.image.width = 48, r.image.height = 48, r.image.Y = i, i = r.image.Y + r.image.height);
|
|
2857
|
-
let s = r.wrap && Z.wrap, l = Z.width - Z.c4ShapePadding * 2, u = Ae(Z, r.typeC4Shape.text);
|
|
2858
|
-
u.fontSize += 2, u.fontWeight = "bold", Q("label", r, s, u, l), r.label.Y = i + 8, i = r.label.Y + r.label.height, r.type && r.type.text !== "" ? (r.type.text = "[" + r.type.text + "]", Q("type", r, s, Ae(Z, r.typeC4Shape.text), l), r.type.Y = i + 5, i = r.type.Y + r.type.height) : r.techn && r.techn.text !== "" && (r.techn.text = "[" + r.techn.text + "]", Q("techn", r, s, Ae(Z, r.techn.text), l), r.techn.Y = i + 5, i = r.techn.Y + r.techn.height);
|
|
2859
|
-
let d = i, f = r.label.width;
|
|
2860
|
-
r.descr && r.descr.text !== "" && (Q("descr", r, s, Ae(Z, r.typeC4Shape.text), l), r.descr.Y = i + 20, i = r.descr.Y + r.descr.height, f = Math.max(r.label.width, r.descr.width), d = i - r.descr.textLines * 5), f += Z.c4ShapePadding, r.width = Math.max(r.width || Z.width, f, Z.width), r.height = Math.max(r.height || Z.height, d, Z.height), r.margin = r.margin || Z.c4ShapeMargin, e.insert(r), X.drawC4Shape(t, r, Z);
|
|
2861
2838
|
}
|
|
2862
|
-
|
|
2863
|
-
}
|
|
2839
|
+
return a;
|
|
2840
|
+
}
|
|
2841
|
+
e(Ue, "calcC4ShapeTextWH");
|
|
2842
|
+
var We = /* @__PURE__ */ e(function(e, t, n) {
|
|
2843
|
+
let r = n.data.startx, i = n.data.starty;
|
|
2844
|
+
t.x = r, t.y = i, t.width = n.data.stopx - r, t.height = n.data.stopy - i, t.label.y = $.c4ShapeMargin - 35;
|
|
2845
|
+
let a = t.wrap && $.wrap, o = Ve($);
|
|
2846
|
+
o.fontSize += 2, o.fontWeight = "bold", Ue("label", t, a, o, h(t.label.text, o)), Q.drawBoundary(e, t, $);
|
|
2847
|
+
}, "drawBoundary"), Ge = /* @__PURE__ */ e(async function(t, n, r, i) {
|
|
2848
|
+
let a = u(), o = a.look ?? "classic", s = { config: a }, l = n.attr("id") ?? "", d = i.map((e) => r[Number(e)]), f = /* @__PURE__ */ e((e) => {
|
|
2849
|
+
let t = e.shape ? g[e.shape] : void 0;
|
|
2850
|
+
if (!t) throw Error(`C4: no shape handler for "${e.shape}"`);
|
|
2851
|
+
return t;
|
|
2852
|
+
}, "shapeHandlerFor");
|
|
2853
|
+
await Promise.all(d.map(async (e) => {
|
|
2854
|
+
let t = Pe(e, $, $.c4ShapePadding, o, $.width);
|
|
2855
|
+
t.domId = `${l}-${t.id}`;
|
|
2856
|
+
let r = await f(t)(n, t, s);
|
|
2857
|
+
e.width = t.width ?? $.width, e.height = t.height ?? $.height, e.margin = $.c4ShapeMargin, r.remove();
|
|
2858
|
+
}));
|
|
2859
|
+
for (let e of d) t.insert(e);
|
|
2860
|
+
await Promise.all(d.map(async (e) => {
|
|
2861
|
+
let t = Pe(e, $, $.c4ShapePadding, o, $.width);
|
|
2862
|
+
t.domId = `${l}-${t.id}`, t.x = e.x + e.width / 2, t.y = e.y + e.height / 2;
|
|
2863
|
+
let r = n.append("g").attr("transform", `translate(${e.x + e.width / 2}, ${e.y + e.height / 2})`);
|
|
2864
|
+
await f(t)(r, t, s), e.intersect = t.intersect;
|
|
2865
|
+
})), t.bumpLastMargin($.c4ShapeMargin);
|
|
2866
|
+
}, "drawC4ShapeArray"), Ke = class {
|
|
2864
2867
|
static {
|
|
2865
2868
|
e(this, "Point");
|
|
2866
2869
|
}
|
|
2867
2870
|
constructor(e, t) {
|
|
2868
2871
|
this.x = e, this.y = t;
|
|
2869
2872
|
}
|
|
2870
|
-
},
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2873
|
+
}, qe = /* @__PURE__ */ e(function(e, t) {
|
|
2874
|
+
if (!e.intersect) throw Error(`C4 shape "${e.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);
|
|
2875
|
+
let { x: n, y: r } = e.intersect(t);
|
|
2876
|
+
return new Ke(n, r);
|
|
2877
|
+
}, "getIntersectPoint"), Je = /* @__PURE__ */ e(function(e, t) {
|
|
2874
2878
|
let n = {
|
|
2875
2879
|
x: 0,
|
|
2876
2880
|
y: 0
|
|
2877
2881
|
};
|
|
2878
2882
|
n.x = t.x + t.width / 2, n.y = t.y + t.height / 2;
|
|
2879
|
-
let r =
|
|
2883
|
+
let r = qe(e, n);
|
|
2880
2884
|
return n.x = e.x + e.width / 2, n.y = e.y + e.height / 2, {
|
|
2881
2885
|
startPoint: r,
|
|
2882
|
-
endPoint:
|
|
2886
|
+
endPoint: qe(t, n)
|
|
2883
2887
|
};
|
|
2884
|
-
}, "getIntersectPoints"),
|
|
2885
|
-
let a = 0;
|
|
2888
|
+
}, "getIntersectPoints"), Ye = /* @__PURE__ */ e(function(e, t, n, r, i) {
|
|
2889
|
+
let a = r.db.getC4Type(), o = 0;
|
|
2886
2890
|
for (let e of t) {
|
|
2887
|
-
|
|
2888
|
-
let t = e.wrap &&
|
|
2889
|
-
|
|
2890
|
-
let
|
|
2891
|
-
|
|
2892
|
-
let s =
|
|
2893
|
-
e.
|
|
2891
|
+
o += 1;
|
|
2892
|
+
let t = e.wrap && $.wrap, r = He($);
|
|
2893
|
+
a === "C4Dynamic" && (e.label.text = o + ": " + e.label.text);
|
|
2894
|
+
let i = h(e.label.text, r);
|
|
2895
|
+
Ue("label", e, t, r, i), e.techn && e.techn.text !== "" && (i = h(e.techn.text, r), Ue("techn", e, t, r, i)), e.descr && e.descr.text !== "" && (i = h(e.descr.text, r), Ue("descr", e, t, r, i));
|
|
2896
|
+
let s = n(e.from), l = n(e.to);
|
|
2897
|
+
if (!s || !l) throw Error(`C4 rel "${e.from}" -> "${e.to}" references an unknown shape`);
|
|
2898
|
+
let u = Je(s, l);
|
|
2899
|
+
if (!u.startPoint || !u.endPoint) throw Error(`Could not calculate intersection points for rel "${e.from}" -> "${e.to}"`);
|
|
2900
|
+
e.startPoint = u.startPoint, e.endPoint = u.endPoint;
|
|
2894
2901
|
}
|
|
2895
|
-
|
|
2902
|
+
Q.drawRels(e, t, $, i);
|
|
2896
2903
|
}, "drawRels");
|
|
2897
|
-
function
|
|
2898
|
-
let a = new
|
|
2899
|
-
|
|
2900
|
-
for (let [
|
|
2904
|
+
async function Xe(e, t, n, r, i) {
|
|
2905
|
+
let a = i.db, o = new ze(i);
|
|
2906
|
+
o.data.widthLimit = n.data.widthLimit / Math.min(Re, r.length);
|
|
2907
|
+
for (let [s, l] of r.entries()) {
|
|
2901
2908
|
let r = 0;
|
|
2902
|
-
|
|
2909
|
+
l.image = {
|
|
2903
2910
|
width: 0,
|
|
2904
2911
|
height: 0,
|
|
2905
2912
|
Y: 0
|
|
2906
|
-
},
|
|
2907
|
-
let
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2913
|
+
}, l.sprite && (l.image.width = 48, l.image.height = 48, l.image.Y = r, r = l.image.Y + l.image.height);
|
|
2914
|
+
let u = l.wrap && $.wrap, d = Ve($);
|
|
2915
|
+
d.fontSize += 2, d.fontWeight = "bold";
|
|
2916
|
+
let f = Ue("label", l, u, d, o.data.widthLimit);
|
|
2917
|
+
if (f.Y = r + 8, r = f.Y + f.height, l.type && l.type.text !== "") {
|
|
2918
|
+
l.type.text = "[" + l.type.text + "]";
|
|
2919
|
+
let e = Ue("type", l, u, Ve($), o.data.widthLimit);
|
|
2920
|
+
e.Y = r + 5, r = e.Y + e.height;
|
|
2921
|
+
}
|
|
2922
|
+
if (l.descr && l.descr.text !== "") {
|
|
2923
|
+
let e = Ve($);
|
|
2924
|
+
e.fontSize -= 2;
|
|
2925
|
+
let t = Ue("descr", l, u, e, o.data.widthLimit);
|
|
2926
|
+
t.Y = r + 20, r = t.Y + t.height;
|
|
2911
2927
|
}
|
|
2912
|
-
if (
|
|
2913
|
-
let e = n.data.startx +
|
|
2914
|
-
|
|
2928
|
+
if (s == 0 || s % Re === 0) {
|
|
2929
|
+
let e = n.data.startx + $.diagramMarginX, t = n.data.stopy + $.diagramMarginY + r;
|
|
2930
|
+
o.setData(e, e, t, t);
|
|
2915
2931
|
} else {
|
|
2916
|
-
let e =
|
|
2917
|
-
|
|
2932
|
+
let e = o.data.stopx === o.data.startx ? o.data.startx : o.data.stopx + $.diagramMarginX, t = o.data.starty;
|
|
2933
|
+
o.setData(e, e, t, t);
|
|
2918
2934
|
}
|
|
2919
|
-
|
|
2920
|
-
let
|
|
2921
|
-
|
|
2922
|
-
let
|
|
2923
|
-
|
|
2935
|
+
o.name = l.alias;
|
|
2936
|
+
let p = a.getC4ShapeArray(l.alias), m = a.getC4ShapeKeys(l.alias);
|
|
2937
|
+
m.length > 0 && await Ge(o, e, p, m), t = l.alias;
|
|
2938
|
+
let h = a.getBoundaries(t);
|
|
2939
|
+
h.length > 0 && await Xe(e, t, o, h, i), l.alias !== "global" && We(e, l, o), n.data.stopy = Math.max(o.data.stopy + $.c4ShapeMargin, n.data.stopy), n.data.stopx = Math.max(o.data.stopx + $.c4ShapeMargin, n.data.stopx), Fe = Math.max(Fe, n.data.stopx), Ie = Math.max(Ie, n.data.stopy);
|
|
2924
2940
|
}
|
|
2925
2941
|
}
|
|
2926
|
-
e(
|
|
2927
|
-
var
|
|
2928
|
-
drawPersonOrSystemArray:
|
|
2929
|
-
drawBoundary:
|
|
2930
|
-
setConf:
|
|
2931
|
-
draw: /* @__PURE__ */ e(function(e, r, i
|
|
2932
|
-
|
|
2933
|
-
let
|
|
2934
|
-
|
|
2935
|
-
let d =
|
|
2936
|
-
|
|
2937
|
-
let
|
|
2938
|
-
|
|
2939
|
-
let
|
|
2940
|
-
|
|
2941
|
-
let h =
|
|
2942
|
-
|
|
2943
|
-
let
|
|
2944
|
-
|
|
2945
|
-
let y = h ? 60 : 0;
|
|
2946
|
-
p.attr("viewBox", g.startx - Z.diagramMarginX + " -" + (Z.diagramMarginY + y) + " " + v + " " + (_ + y)), t.debug("models:", g);
|
|
2942
|
+
e(Xe, "drawInsideBoundary");
|
|
2943
|
+
var Ze = {
|
|
2944
|
+
drawPersonOrSystemArray: Ge,
|
|
2945
|
+
drawBoundary: We,
|
|
2946
|
+
setConf: Be,
|
|
2947
|
+
draw: /* @__PURE__ */ e(async function(e, n, r, i) {
|
|
2948
|
+
$ = b("c4");
|
|
2949
|
+
let o = u().securityLevel, { root: s } = be(n, o), l = i.db;
|
|
2950
|
+
l.setWrap($.wrap), Le = l.getC4ShapeInRow(), Re = l.getC4BoundaryInRow(), t.debug(`C:${JSON.stringify($, null, 2)}`);
|
|
2951
|
+
let d = s.select(`[id="${n}"]`);
|
|
2952
|
+
Q.insertComputerIcon(d, n), Q.insertDatabaseIcon(d, n), Q.insertClockIcon(d, n);
|
|
2953
|
+
let f = new ze(i);
|
|
2954
|
+
f.setData($.diagramMarginX, $.diagramMarginX, $.diagramMarginY, $.diagramMarginY), f.data.widthLimit = screen.availWidth, Fe = $.diagramMarginX, Ie = $.diagramMarginY;
|
|
2955
|
+
let p = l.getTitle();
|
|
2956
|
+
await Xe(d, "", f, l.getBoundaries(""), i), Q.insertArrowHead(d, n), Q.insertArrowEnd(d, n), Q.insertArrowCrossHead(d, n), Q.insertArrowFilledHead(d, n), Ye(d, l.getRels(), l.getC4Shape, i, n), f.data.stopx = Fe, f.data.stopy = Ie;
|
|
2957
|
+
let m = f.data, h = m.startx, g = m.starty, _ = Ie - g + 2 * $.diagramMarginY, v = Fe - h, y = v + 2 * $.diagramMarginX;
|
|
2958
|
+
p && d.append("text").text(p).attr("x", v / 2 - 4 * $.diagramMarginX).attr("y", g + $.diagramMarginY), a(d, _, y, $.useMaxWidth);
|
|
2959
|
+
let x = p ? 60 : 0;
|
|
2960
|
+
d.attr("viewBox", h - $.diagramMarginX + " -" + ($.diagramMarginY + x) + " " + y + " " + (_ + x)), t.debug("models:", m);
|
|
2947
2961
|
}, "draw")
|
|
2948
|
-
},
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2962
|
+
}, Qe = /* @__PURE__ */ e(() => {
|
|
2963
|
+
let e = u().c4 ?? {}, t = new CSSStyleSheet();
|
|
2964
|
+
for (let n of Ae) {
|
|
2965
|
+
let r = t.cssRules[t.insertRule(`.c4-shape.c4-${n} .label {}`, t.cssRules.length)], i = e[`${n}FontFamily`], a = e[`${n}FontSize`], o = e[`${n}FontWeight`];
|
|
2966
|
+
i && r.style.setProperty("font-family", i), a && r.style.setProperty("font-size", typeof a == "number" ? `${a}px` : a), o && r.style.setProperty("font-weight", String(o));
|
|
2967
|
+
}
|
|
2968
|
+
return [...t.cssRules].filter((e) => e.style.length > 0).map((e) => ` ${e.cssText}`).join("\n");
|
|
2969
|
+
}, "elementFontStyles"), $e = {
|
|
2970
|
+
parser: y,
|
|
2971
|
+
db: ce,
|
|
2972
|
+
renderer: Ze,
|
|
2952
2973
|
styles: /* @__PURE__ */ e((e) => `.person {
|
|
2953
2974
|
stroke: ${e.personBorder};
|
|
2954
2975
|
fill: ${e.personBkg};
|
|
2955
2976
|
}
|
|
2977
|
+
${Qe()}
|
|
2978
|
+
|
|
2979
|
+
/* The element font colour is set inline per element (default white); the
|
|
2980
|
+
label text takes it via currentColor. */
|
|
2981
|
+
.c4-shape .label,
|
|
2982
|
+
.c4-shape .label text {
|
|
2983
|
+
color: inherit;
|
|
2984
|
+
fill: currentColor;
|
|
2985
|
+
}
|
|
2986
|
+
/* Structurizr typography: bold name, smaller stereotype/type and description lines. */
|
|
2987
|
+
.c4-shape .label .c4-name {
|
|
2988
|
+
font-weight: bold;
|
|
2989
|
+
}
|
|
2990
|
+
.c4-shape .label .c4-type {
|
|
2991
|
+
font-size: 0.75em;
|
|
2992
|
+
}
|
|
2993
|
+
.c4-shape .label .c4-descr {
|
|
2994
|
+
font-size: 0.82em;
|
|
2995
|
+
}
|
|
2996
|
+
.c4-shape .basic,
|
|
2997
|
+
.c4-shape rect,
|
|
2998
|
+
.c4-shape path,
|
|
2999
|
+
.c4-shape circle,
|
|
3000
|
+
.c4-shape ellipse,
|
|
3001
|
+
.c4-shape line {
|
|
3002
|
+
stroke-width: 2px;
|
|
3003
|
+
}
|
|
2956
3004
|
`, "getStyles"),
|
|
2957
3005
|
init: /* @__PURE__ */ e(({ c4: e, wrap: t }) => {
|
|
2958
|
-
|
|
3006
|
+
Ze.setConf(e), ce.setWrap(t);
|
|
2959
3007
|
}, "init")
|
|
2960
3008
|
};
|
|
2961
3009
|
//#endregion
|
|
2962
|
-
export {
|
|
3010
|
+
export { $e as diagram };
|