@pi-outpost/embed 0.32.4 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abnfDiagram-VCTEODGH-SjZtzoAs.cjs → abnfDiagram-YUKMZFIV-CgM8_qF6.cjs} +1 -1
- package/dist/{abnfDiagram-VCTEODGH-BX4P82Y6.js → abnfDiagram-YUKMZFIV-dNHR2FX4.js} +5 -5
- package/dist/architecture-WOLXFQ4H-DupyKILn.cjs +1 -0
- package/dist/architecture-WOLXFQ4H-X4ZWxzi-.js +3 -0
- package/dist/{architectureDiagram-5GKGNRK7-BRdxCCja.js → architectureDiagram-47P4ROYG-C_rUoWaO.js} +31 -31
- package/dist/{architectureDiagram-5GKGNRK7-wrDPdf3y.cjs → architectureDiagram-47P4ROYG-bflaQP1L.cjs} +3 -3
- package/dist/{blockDiagram-OSKFZWR5-Boo8WJyt.cjs → blockDiagram-E7TT5TSB-BKw9FE2U.cjs} +19 -8
- package/dist/{blockDiagram-OSKFZWR5-B1pU8Z2f.js → blockDiagram-E7TT5TSB-CEa2A5E9.js} +217 -193
- package/dist/c4Diagram-CRA5TL53-C-PuMGA5.cjs +38 -0
- package/dist/{c4Diagram-7LVT6UL2-WfERxhw2.js → c4Diagram-CRA5TL53-CtJh9DsO.js} +283 -273
- package/dist/channel-BjC1TKrU.cjs +1 -0
- package/dist/{channel-Cf_XiG-0.js → channel-DCXZw5aW.js} +1 -1
- package/dist/{chunk-OSK3NFVY-BUXOUgUl.js → chunk-2BW5OAIV-DWtmlmt_.js} +178 -154
- package/dist/chunk-2BW5OAIV-FkhgcL6B.cjs +10 -0
- package/dist/{chunk-75Z2AOVW-DoA8rENV.js → chunk-3YJQHVM4-BNbfg-7y.js} +235 -231
- package/dist/chunk-3YJQHVM4-ChvNe1M8.cjs +2 -0
- package/dist/chunk-4EA7E6EY-3OELTJ93.cjs +1 -0
- package/dist/{chunk-P2QGCYS3-BoMkrMIF.js → chunk-4EA7E6EY-B5P7n2an.js} +6 -6
- package/dist/{chunk-F27PBJKO-s9M3oGHp.js → chunk-7TKQ45FW-CD1KuemG.js} +2 -2
- package/dist/{chunk-F27PBJKO-3UPgzIlN.cjs → chunk-7TKQ45FW-Djscho_M.cjs} +1 -1
- package/dist/{chunk-SVP7TREG-CTKSOFlx.cjs → chunk-AW2ZBBNX-C4uNh90t.cjs} +3 -3
- package/dist/{chunk-SVP7TREG-weNUySou.js → chunk-AW2ZBBNX-CVsDDdv5.js} +33 -33
- package/dist/{chunk-GVQU2GXP-iZT_vNLp.cjs → chunk-DBDB3WZW-DSRcln4l.cjs} +1 -1
- package/dist/{chunk-GVQU2GXP-BhLneNgJ.js → chunk-DBDB3WZW-DpEOsLsQ.js} +3 -3
- package/dist/chunk-DUW6YSOI-2RXTEh_8.cjs +1 -0
- package/dist/chunk-DUW6YSOI-CVhxvrBO.js +10 -0
- package/dist/{chunk-GMAD6QVW-DZ2r0pLj.js → chunk-E2ZNV5FY-Bu796yUY.js} +354 -361
- package/dist/chunk-E2ZNV5FY-DIRTchKA.cjs +72 -0
- package/dist/chunk-EU5HNXII-DNBbmfcI.cjs +213 -0
- package/dist/{chunk-3NF5O7KM-DQV4G__C.js → chunk-EU5HNXII-DW-QTb0f.js} +426 -357
- package/dist/chunk-FVRAUYC3-Crqd-lTD.cjs +1 -0
- package/dist/chunk-FVRAUYC3-tiT7dtx-.js +356 -0
- package/dist/{chunk-PWAF6VOD-9dCi1q-p.js → chunk-HJ2JQQFS-CgYTXthn.js} +2 -2
- package/dist/{chunk-PWAF6VOD-CZZKCekP.cjs → chunk-HJ2JQQFS-DnrogIdt.cjs} +1 -1
- package/dist/chunk-HTAEGDNF-D4u24-lD.js +236 -0
- package/dist/chunk-HTAEGDNF-I4JlqwMr.cjs +1 -0
- package/dist/chunk-J5ZVWO5B-CK5HGA-t.cjs +1 -0
- package/dist/chunk-J5ZVWO5B-DEP-pB-1.js +12 -0
- package/dist/{chunk-POPQ4Y6H-BRQPB1-9.cjs → chunk-KQW6MTUR-C_XQxsme.cjs} +1 -1
- package/dist/{chunk-POPQ4Y6H-vLTNjxsT.js → chunk-KQW6MTUR-c0XOjr_c.js} +2 -2
- package/dist/chunk-NGNAAXSQ-DM0DL2MX.js +19836 -0
- package/dist/chunk-NGNAAXSQ-kHtfTQLE.cjs +136 -0
- package/dist/chunk-NTY3LDVX-CvRtOCpm.js +363 -0
- package/dist/chunk-NTY3LDVX-DBVRlnMJ.cjs +1 -0
- package/dist/chunk-VPRB5NB3-CT204jN6.cjs +129 -0
- package/dist/{chunk-DU6HZSFF-BW30DVuW.js → chunk-VPRB5NB3-DJh7spRO.js} +791 -611
- package/dist/chunk-XC4XBNZT-BTUjiQhE.cjs +62 -0
- package/dist/{chunk-4HAMMTFA-C2YXJpQw.js → chunk-XC4XBNZT-CSiWBPH9.js} +1378 -1079
- package/dist/classDiagram-v2-K4WV4PDN-BndXIwai.cjs +217 -0
- package/dist/{chunk-HLEWEB6X-BrzeadBj.js → classDiagram-v2-K4WV4PDN-C39xKke0.js} +254 -214
- package/dist/{conversationExport-QWEGKkKB.js → conversationExport-0aa7tXBv.js} +2 -2
- package/dist/{conversationExport-D2ekPeYe.cjs → conversationExport-BVHvnvh5.cjs} +1 -1
- package/dist/conversationHistory-CNfOwM8H.cjs +287 -0
- package/dist/{conversationHistory-BylZCAb1.js → conversationHistory-D-hT7EvD.js} +9066 -6513
- package/dist/cynefin-EF2NZ3EQ-BB_WO8YQ.js +3 -0
- package/dist/cynefin-EF2NZ3EQ-Du3-s5Z7.cjs +1 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-GvGZco52.cjs → cynefinDiagram-3GCD6N5R-Bmvj-sQO.cjs} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-BEFzUfsd.js → cynefinDiagram-3GCD6N5R-C2CRSeJl.js} +14 -14
- package/dist/dagre-W4DXFKR2-ECmxkO0T.js +2356 -0
- package/dist/dagre-W4DXFKR2-aPKdYPEj.cjs +4 -0
- package/dist/diagram-2UJZ2QOL-B1JKtFHG.cjs +200 -0
- package/dist/diagram-2UJZ2QOL-CJRsGDwn.js +5081 -0
- package/dist/{diagram-VX7I27RA-Bx9fEhR0.cjs → diagram-OVF4WLC6-CwZeVpHT.cjs} +1 -1
- package/dist/{diagram-VX7I27RA-BK8jsKkD.js → diagram-OVF4WLC6-D6r6aTeO.js} +61 -61
- package/dist/{diagram-S7CK7UJ4-BH8mrGrv.js → diagram-PFPMY2P6-BpOJbdZ5.js} +15 -15
- package/dist/{diagram-S7CK7UJ4-BA67ZpiO.cjs → diagram-PFPMY2P6-DlLbGc_k.cjs} +3 -3
- package/dist/{diagram-Z3DM3KII-jy895UiZ.cjs → diagram-UMYRVEAY-BE-t_ZdV.cjs} +1 -1
- package/dist/{diagram-Z3DM3KII-CqouFf3D.js → diagram-UMYRVEAY-blW7NpUU.js} +14 -14
- package/dist/{diagram-UQ7AKVKN-Bvz7faiB.js → diagram-YEKJPTXX-BOgf87BN.js} +15 -15
- package/dist/{diagram-UQ7AKVKN-OteiyKD9.cjs → diagram-YEKJPTXX-CeQjir5H.cjs} +2 -2
- package/dist/diagram-ZIFT7M5P-BHePHmHl.cjs +3 -0
- package/dist/{diagram-VSXAHHWV-l9f6spkp.js → diagram-ZIFT7M5P-CZOnEYez.js} +40 -25
- package/dist/{docxExport-DK8uhXvT.js → docxExport-Cyk5ToUi.js} +1 -1
- package/dist/{docxExport-Dt55TJ2h.cjs → docxExport-DF-PXilo.cjs} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-Bwmmg23f.js → ebnfDiagram-VR2GEFS7-Cr0a3Ho_.js} +5 -5
- package/dist/{ebnfDiagram-PWID7BFC-BQZKHpUr.cjs → ebnfDiagram-VR2GEFS7-cgyTJ-Xs.cjs} +1 -1
- package/dist/elk-IJKZMXRS-NO3xNT-V.cjs +27 -0
- package/dist/elk-IJKZMXRS-V31is6hS.js +47984 -0
- package/dist/{erDiagram-2YWLMYGG-RTHTTqyH.js → erDiagram-O2IAPWRE-CP06GjjM.js} +60 -56
- package/dist/{erDiagram-2YWLMYGG-CuEEIv1I.cjs → erDiagram-O2IAPWRE-CnkFrABC.cjs} +13 -13
- package/dist/eventmodeling-K75KTNOO-CMoz0K5S.js +3 -0
- package/dist/eventmodeling-K75KTNOO-DZdZrgwl.cjs +1 -0
- package/dist/flowDiagram-OXPTDLAJ-BdYr7Idm.cjs +1 -0
- package/dist/flowDiagram-OXPTDLAJ-R_xf7pNW.js +16 -0
- package/dist/{ganttDiagram-EL5Y4UJY-PTWIufq8.cjs → ganttDiagram-R7TSEDQI-Jhax10tw.cjs} +3 -3
- package/dist/{ganttDiagram-EL5Y4UJY-BTvevd1z.js → ganttDiagram-R7TSEDQI-y1bDU8Ba.js} +103 -92
- package/dist/gitGraph-VSP46ZUC-DoTshgkY.js +3 -0
- package/dist/gitGraph-VSP46ZUC-lawIO6K6.cjs +1 -0
- package/dist/{gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs → gitGraphDiagram-XJZIOB7I-CLZLQcPk.cjs} +5 -5
- package/dist/{gitGraphDiagram-WWUBYQGX-Bh9F7wif.js → gitGraphDiagram-XJZIOB7I-CYZa0-Ct.js} +45 -45
- package/dist/info-OHQRW6UA-DPTZOb30.js +3 -0
- package/dist/info-OHQRW6UA-deop1PPz.cjs +1 -0
- package/dist/infoDiagram-5W2HQ5XZ-D8fJK3ph.cjs +2 -0
- package/dist/{infoDiagram-FKFFQAWI-D6en39j4.js → infoDiagram-5W2HQ5XZ-Dw_D4zI1.js} +5 -5
- package/dist/{ishikawaDiagram-5VMMS53U-CvVqTWku.js → ishikawaDiagram-K3B6WC7H-BeLiZFVY.js} +25 -25
- package/dist/{ishikawaDiagram-5VMMS53U-DN23jmFw.cjs → ishikawaDiagram-K3B6WC7H-DtjgiZAB.cjs} +2 -2
- package/dist/{journeyDiagram-EYS64GPL-CqhBN0KZ.js → journeyDiagram-COXZFDF6-B-qvdudB.js} +31 -31
- package/dist/{journeyDiagram-EYS64GPL-Co9rp-Q1.cjs → journeyDiagram-COXZFDF6-Dge2AV0B.cjs} +4 -4
- package/dist/{kanban-definition-UXKFOSKX-DzKPVjAq.cjs → kanban-definition-P3RFRI5V-C02YfFZv.cjs} +4 -4
- package/dist/{kanban-definition-UXKFOSKX-CWx_Y40t.js → kanban-definition-P3RFRI5V-D0XAXDl8.js} +42 -42
- package/dist/{line-D6gR53Af.cjs → line-5eGinYgh.cjs} +1 -1
- package/dist/{line-CwYnx9Ke.js → line-BTenwQwq.js} +1 -1
- package/dist/loadReferencedImage-C60bzMNm.cjs +1 -0
- package/dist/{loadReferencedImage-BKEDAhWQ.js → loadReferencedImage-XQS67fhR.js} +3 -1
- package/dist/mermaid-parser.core-BHBS1DqP.cjs +6 -0
- package/dist/{mermaid-parser.core-DLNlSmfj.js → mermaid-parser.core-CI12FMcX.js} +163 -163
- package/dist/mermaid.core-4MZ-Iwu7.cjs +43 -0
- package/dist/{mermaid.core-DI1iFk6G.js → mermaid.core-BJkDCzqA.js} +875 -1150
- package/dist/{mindmap-definition-THT77NOG-Bo3D8RRT.cjs → mindmap-definition-LZFPQGKD-CXV1hV3a.cjs} +3 -3
- package/dist/{mindmap-definition-THT77NOG-B9hdpQgy.js → mindmap-definition-LZFPQGKD-gYumvdwo.js} +78 -78
- package/dist/packet-JDAUHWVQ-Bcik24Kz.js +3 -0
- package/dist/packet-JDAUHWVQ-CrY7ylWJ.cjs +1 -0
- package/dist/{pegDiagram-XKGWAZYB-Cx-wZf4B.cjs → pegDiagram-BGZESJAR-BICf3jMN.cjs} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-CIBfY2Ob.js → pegDiagram-BGZESJAR-Dw9pRv5d.js} +5 -5
- package/dist/pi-outpost-embed.cjs +9 -10
- package/dist/pi-outpost-embed.js +2833 -2786
- package/dist/pie-XZMESJXO-BYQC-ufi.js +3 -0
- package/dist/pie-XZMESJXO-WjCBboSE.cjs +1 -0
- package/dist/{pieDiagram-E7YTZNPT-BC-pW4cK.cjs → pieDiagram-CAPJLFHJ-CF8cTQpC.cjs} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-SG9oy_nV.js → pieDiagram-CAPJLFHJ-uz37FR9I.js} +18 -18
- package/dist/{quadrantDiagram-AXDQQJYC-C65HQ6gT.js → quadrantDiagram-GDMTTRAM-C4rt8LIh.js} +40 -40
- package/dist/{quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs → quadrantDiagram-GDMTTRAM-D9SYFJ_P.cjs} +2 -2
- package/dist/radar-ABXABTNO-BoQ7hH7Z.cjs +1 -0
- package/dist/radar-ABXABTNO-MxbyaZja.js +3 -0
- package/dist/railroad-I3PHUGI6-DckUArT-.js +3 -0
- package/dist/railroad-I3PHUGI6-DuGTlHry.cjs +1 -0
- package/dist/railroad-abnf-LNEFI6M7-DmAJaMEu.js +3 -0
- package/dist/railroad-abnf-LNEFI6M7-DoWf9u55.cjs +1 -0
- package/dist/railroad-ebnf-DWYD2UWJ-Bf05ZyW1.cjs +1 -0
- package/dist/railroad-ebnf-DWYD2UWJ-CS2AUYSv.js +3 -0
- package/dist/railroad-peg-JR7BVNR7-B-nctVbV.js +3 -0
- package/dist/railroad-peg-JR7BVNR7-CcV5KH4m.cjs +1 -0
- package/dist/{railroadDiagram-O6MQD6OU-3JsgWyLe.cjs → railroadDiagram-SM67HX2B-GgesxX7v.cjs} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-DLBEWyaH.js → railroadDiagram-SM67HX2B-T5SG0kEf.js} +5 -5
- package/dist/{requirementDiagram-IS5BZ75X-DwrHgMzq.js → requirementDiagram-X7JNWC4A-BEeCszC1.js} +49 -45
- package/dist/{requirementDiagram-IS5BZ75X-D1BMLxZg.cjs → requirementDiagram-X7JNWC4A-BVzf-VRr.cjs} +11 -11
- package/dist/{sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs → sankeyDiagram-UM26HJRW-CdBXqklJ.cjs} +3 -3
- package/dist/{sankeyDiagram-P5KCCOFB-CcT0ZbW6.js → sankeyDiagram-UM26HJRW-DLDVzhPm.js} +16 -16
- package/dist/{sequenceDiagram-WJ2MYXX4-DM6BpXMT.js → sequenceDiagram-ZO4K6R2Y-B8wM6a-A.js} +704 -619
- package/dist/sequenceDiagram-ZO4K6R2Y-ytX57BES.cjs +169 -0
- package/dist/stateDiagram-v2-TBUQTH76-BTuAbG28.cjs +291 -0
- package/dist/{chunk-ZLD2IHE6-CqnVd2rq.js → stateDiagram-v2-TBUQTH76-PRnBJSrY.js} +271 -174
- package/dist/swimlanes-N4OXWK64-41SBE_L2.cjs +1 -0
- package/dist/{swimlanes-V6O3JKXN-BR7rwPmC.js → swimlanes-N4OXWK64-DipLcZla.js} +1006 -1219
- package/dist/swimlanesDiagram-K3J5GTZL-D6tIMgkj.cjs +8 -0
- package/dist/swimlanesDiagram-K3J5GTZL-_MehEHMi.js +27 -0
- package/dist/timeline-definition-YOQAKGHF-D_LWHCSA.cjs +120 -0
- package/dist/{timeline-definition-24CTP7MA-BQmq-H07.js → timeline-definition-YOQAKGHF-h8_spxIb.js} +210 -206
- package/dist/treeView-D4JQ5SDB-C3ticT1s.cjs +1 -0
- package/dist/treeView-D4JQ5SDB-CEuRf8gK.js +3 -0
- package/dist/treemap-SAJKECNS-BwIfwvl-.cjs +1 -0
- package/dist/treemap-SAJKECNS-DiC0668-.js +3 -0
- package/dist/usecaseDiagram-VIAY4XPW-DCfwvERR.js +7187 -0
- package/dist/usecaseDiagram-VIAY4XPW-PJHZiyJN.cjs +328 -0
- package/dist/{vennDiagram-4TSXK5OY-BdzbrV6i.js → vennDiagram-BLWOH2XV-_zHkfDVB.js} +43 -43
- package/dist/{vennDiagram-4TSXK5OY-D5MMYyff.cjs → vennDiagram-BLWOH2XV-niExkaFk.cjs} +3 -3
- package/dist/wardley-7MLQ67FV-BoIyQQ0E.cjs +1 -0
- package/dist/wardley-7MLQ67FV-CFF6IT1d.js +3 -0
- package/dist/{wardleyDiagram-VM6X3IG4-Ccz1enMd.js → wardleyDiagram-YMQ3BMBF-BKvQkiZP.js} +17 -17
- package/dist/{wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs → wardleyDiagram-YMQ3BMBF-btlDrKA6.cjs} +3 -3
- package/dist/xychartDiagram-TAQBALBS-CkNZcyIi.cjs +7 -0
- package/dist/{xychartDiagram-S5SC5T6Z-B-sQkN_B.js → xychartDiagram-TAQBALBS-DlfKpBG9.js} +34 -30
- package/package.json +2 -2
- package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +0 -1
- package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +0 -3
- package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +0 -38
- package/dist/channel-DcrLLvcO.cjs +0 -1
- package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +0 -168
- package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +0 -62
- package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +0 -2
- package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +0 -127
- package/dist/chunk-FOHPRMQF-BNNbqxGX.js +0 -21456
- package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +0 -161
- package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +0 -72
- package/dist/chunk-HLEWEB6X-aqFoPl02.cjs +0 -206
- package/dist/chunk-L3NEJ4N5-BaR_9rF3.js +0 -245
- package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +0 -1
- package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +0 -10
- package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +0 -1
- package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +0 -231
- package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +0 -1
- package/dist/classDiagram-CYGNFDIV-DsnY_WNO.js +0 -30
- package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +0 -1
- package/dist/classDiagram-v2-TLXNO2FR-DeNpu9ZP.js +0 -30
- package/dist/conversationHistory-BmpdU77I.cjs +0 -286
- package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +0 -1
- package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +0 -3
- package/dist/dagre-BMKbPnPh.js +0 -1934
- package/dist/dagre-EEW2OxRU.cjs +0 -1
- package/dist/dagre-OS7QT2EB-BtJ6v_Nc.js +0 -425
- package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +0 -4
- package/dist/diagram-VSXAHHWV-BjsZz1JJ.cjs +0 -3
- package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +0 -1
- package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +0 -3
- package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +0 -1
- package/dist/flowDiagram-T62WH6J4-ptBWC6KI.js +0 -16
- package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +0 -3
- package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +0 -1
- package/dist/info-A6RAGUB7-Cx39sHYM.js +0 -3
- package/dist/info-A6RAGUB7-DT06-FB3.cjs +0 -1
- package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +0 -2
- package/dist/loadReferencedImage-DlRgJ4vm.cjs +0 -1
- package/dist/mermaid-parser.core-CBiDgMLi.cjs +0 -6
- package/dist/mermaid.core-B3QcBB1O.cjs +0 -43
- package/dist/packet-AYTQ26CC-BGX2McoE.cjs +0 -1
- package/dist/packet-AYTQ26CC-IgkU2VYK.js +0 -3
- package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +0 -1
- package/dist/pie-WAS4IAKB-odE0A7fM.js +0 -3
- package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +0 -1
- package/dist/radar-RG4KPBEZ-DqbNqlJH.js +0 -3
- package/dist/railroad-74A4TZTK-Dzt4afqg.js +0 -3
- package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +0 -1
- package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +0 -3
- package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +0 -3
- package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +0 -1
- package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +0 -3
- package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +0 -162
- package/dist/stateDiagram-XQSTLZYL-BhzcW44q.js +0 -220
- package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +0 -1
- package/dist/stateDiagram-v2-IH3M54BS-BE5CXOTu.js +0 -30
- package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +0 -1
- package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +0 -1
- package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +0 -8
- package/dist/swimlanesDiagram-JKAHXJPX-lIPwQ8Mc.js +0 -30
- package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +0 -120
- package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +0 -1
- package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +0 -3
- package/dist/treemap-WGGIJYW6-CGULpntJ.js +0 -3
- package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +0 -1
- package/dist/wardley-WFR3VGLG-9zHZLKh9.js +0 -3
- package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +0 -1
- package/dist/xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs +0 -7
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
|
-
import { m as t, p as n } from "./src-Dkp7vqs8.js";
|
|
3
|
-
import { T as r, g as i, x as a } from "./chunk-DU6HZSFF-BW30DVuW.js";
|
|
4
|
-
import { n as o } from "./chunk-GMAD6QVW-DZ2r0pLj.js";
|
|
5
|
-
import { a as s, i as c } from "./chunk-P2QGCYS3-BoMkrMIF.js";
|
|
6
|
-
import { t as l } from "./rough.esm-D2JJJ0Ot.js";
|
|
7
|
-
import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-C2YXJpQw.js";
|
|
8
|
-
import { n as p } from "./chunk-GVQU2GXP-BhLneNgJ.js";
|
|
9
|
-
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-L3NEJ4N5.mjs
|
|
10
|
-
var m = /* @__PURE__ */ e(async (e, r) => {
|
|
11
|
-
let u = a(), { themeVariables: f, handDrawnSeed: p } = u, { clusterBkg: m, clusterBorder: h } = f, g = h, { labelStyles: _, nodeStyles: v, borderStyles: y, backgroundStyles: b } = c(r), x = e.insert("g").attr("class", "cluster swimlane " + (r.cssClasses || "")).attr("id", r.id).attr("data-id", r.id).attr("data-et", "cluster").attr("data-look", r.look), S = i(u.flowchart.htmlLabels), C = r.direction === "LR", w = x.insert("g").attr("class", "cluster-label swimlane-label"), T = await o(w, r.label, {
|
|
12
|
-
style: r.labelStyle,
|
|
13
|
-
useHtmlLabels: S,
|
|
14
|
-
isNode: !0,
|
|
15
|
-
width: r.width
|
|
16
|
-
}), E = T.getBBox();
|
|
17
|
-
if (S) {
|
|
18
|
-
let e = T.children[0], t = n(T);
|
|
19
|
-
E = e.getBoundingClientRect(), t.attr("width", E.width), t.attr("height", E.height);
|
|
20
|
-
}
|
|
21
|
-
let D = r.padding ?? 0, O = r.width <= E.width + D ? E.width + D : r.width;
|
|
22
|
-
r.diff = r.width <= E.width + D ? (O - r.width) / 2 - D : -D;
|
|
23
|
-
let k = r.height, A = r.y - k / 2, j = r.y + k / 2, M = r.x - O / 2, N = r.swimlaneContentTop === void 0 ? A + k / 3 : r.swimlaneContentTop, P = C ? 4 : 0, F = E.height + 2 * P, I, L;
|
|
24
|
-
if (C) {
|
|
25
|
-
let e = Math.max(F, E.height + 2 * P), t = M + e, n = Math.max(0, O - e);
|
|
26
|
-
if (r.look === "handDrawn") {
|
|
27
|
-
let i = l.svg(x), a = s(r, {
|
|
28
|
-
roughness: .7,
|
|
29
|
-
fill: m,
|
|
30
|
-
stroke: g,
|
|
31
|
-
fillWeight: 3,
|
|
32
|
-
seed: p
|
|
33
|
-
}), o = s(r, {
|
|
34
|
-
roughness: .7,
|
|
35
|
-
fill: "none",
|
|
36
|
-
stroke: g,
|
|
37
|
-
seed: p
|
|
38
|
-
}), c = i.rectangle(M, A, e, k, a);
|
|
39
|
-
I = x.insert(() => c, ":first-child");
|
|
40
|
-
let u = i.rectangle(t, A, n, k, o);
|
|
41
|
-
L = x.insert(() => u, ":first-child"), I.select("path:nth-child(2)").attr("style", y.join(";")), I.select("path").attr("style", b.join(";").replace("fill", "stroke"));
|
|
42
|
-
} else I = x.insert("rect", ":first-child"), L = x.insert("rect", ":first-child"), I.attr("class", "swimlane-title").attr("style", v).attr("x", M).attr("y", A).attr("width", e).attr("height", k).attr("fill", m).attr("stroke", g), L.attr("class", "swimlane-body").attr("style", v).attr("x", t).attr("y", A).attr("width", n).attr("height", k).attr("fill", "none").attr("stroke", g);
|
|
43
|
-
let i = M + e / 2, a = r.y;
|
|
44
|
-
w.attr("transform", `translate(${i}, ${a}) rotate(-90) translate(${-E.width / 2}, ${-E.height / 2})`);
|
|
45
|
-
} else {
|
|
46
|
-
let e = Math.max(0, N - A), t = Math.min(F, e), n = A + t, i = Math.max(0, j - n), a = r.x - O / 2;
|
|
47
|
-
if (r.look === "handDrawn") {
|
|
48
|
-
let e = l.svg(x), o = s(r, {
|
|
49
|
-
roughness: .7,
|
|
50
|
-
fill: m,
|
|
51
|
-
stroke: g,
|
|
52
|
-
fillWeight: 3,
|
|
53
|
-
seed: p
|
|
54
|
-
}), c = s(r, {
|
|
55
|
-
roughness: .7,
|
|
56
|
-
fill: "none",
|
|
57
|
-
stroke: g,
|
|
58
|
-
seed: p
|
|
59
|
-
}), u = e.rectangle(a, A, O, t, o);
|
|
60
|
-
I = x.insert(() => u, ":first-child");
|
|
61
|
-
let d = e.rectangle(a, n, O, i, c);
|
|
62
|
-
L = x.insert(() => d, ":first-child"), I.select("path:nth-child(2)").attr("style", y.join(";")), I.select("path").attr("style", b.join(";").replace("fill", "stroke"));
|
|
63
|
-
} else I = x.insert("rect", ":first-child"), L = x.insert("rect", ":first-child"), I.attr("class", "swimlane-title").attr("style", v).attr("x", a).attr("y", A).attr("width", O).attr("height", t).attr("fill", m).attr("stroke", g), L.attr("class", "swimlane-body").attr("style", v).attr("x", a).attr("y", n).attr("width", O).attr("height", i).attr("fill", "none").attr("stroke", g);
|
|
64
|
-
let o = r.x - E.width / 2, c = A + (t - E.height) / 2;
|
|
65
|
-
w.attr("transform", `translate(${o}, ${c})`);
|
|
66
|
-
}
|
|
67
|
-
if (t.trace("Swimlane data ", r, JSON.stringify(r)), _) {
|
|
68
|
-
let e = w.select("span");
|
|
69
|
-
e && e.attr("style", _);
|
|
70
|
-
}
|
|
71
|
-
return r.offsetX = 0, r.width = O, r.height = k, r.offsetY = E.height - D / 2, r.intersect = function(e) {
|
|
72
|
-
return d(r, e);
|
|
73
|
-
}, {
|
|
74
|
-
cluster: x,
|
|
75
|
-
labelBBox: E
|
|
76
|
-
};
|
|
77
|
-
}, "swimlane"), h = /* @__PURE__ */ e(async (e, i) => {
|
|
78
|
-
t.info("Creating subgraph rect for ", i.id, i);
|
|
79
|
-
let m = a(), { themeVariables: h, handDrawnSeed: g } = m, { clusterBkg: _, clusterBorder: v } = h, { labelStyles: y, nodeStyles: b, borderStyles: x, backgroundStyles: S } = c(i), C = e.insert("g").attr("class", "cluster " + i.cssClasses).attr("id", i.domId).attr("data-look", i.look), w = r(m), T = C.insert("g").attr("class", "cluster-label "), E;
|
|
80
|
-
E = i.labelType === "markdown" ? await o(T, i.label, {
|
|
81
|
-
style: i.labelStyle,
|
|
82
|
-
useHtmlLabels: w,
|
|
83
|
-
isNode: !0,
|
|
84
|
-
width: i.width
|
|
85
|
-
}) : await f(T, i.label, i.labelStyle || "", !1, !0);
|
|
86
|
-
let D = E.getBBox();
|
|
87
|
-
if (r(m)) {
|
|
88
|
-
let e = E.children[0], t = n(E);
|
|
89
|
-
D = e.getBoundingClientRect(), t.attr("width", D.width), t.attr("height", D.height);
|
|
90
|
-
}
|
|
91
|
-
let O = i.width <= D.width + i.padding ? D.width + i.padding : i.width;
|
|
92
|
-
i.diff = i.width <= D.width + i.padding ? (O - i.width) / 2 - i.padding : -i.padding;
|
|
93
|
-
let k = i.height, A = i.x - O / 2, j = i.y - k / 2;
|
|
94
|
-
t.trace("Data ", i, JSON.stringify(i));
|
|
95
|
-
let M;
|
|
96
|
-
if (i.look === "handDrawn") {
|
|
97
|
-
let e = l.svg(C), n = s(i, {
|
|
98
|
-
roughness: .7,
|
|
99
|
-
fill: _,
|
|
100
|
-
stroke: v,
|
|
101
|
-
fillWeight: 3,
|
|
102
|
-
seed: g
|
|
103
|
-
}), r = e.path(u(A, j, O, k, 0), n);
|
|
104
|
-
M = C.insert(() => (t.debug("Rough node insert CXC", r), r), ":first-child"), M.select("path:nth-child(2)").attr("style", x.join(";")), M.select("path").attr("style", S.join(";").replace("fill", "stroke"));
|
|
105
|
-
} else M = C.insert("rect", ":first-child"), M.attr("style", b).attr("rx", i.rx).attr("ry", i.ry).attr("x", A).attr("y", j).attr("width", O).attr("height", k);
|
|
106
|
-
let { subGraphTitleTopMargin: N } = p(m);
|
|
107
|
-
if (T.attr("transform", `translate(${i.x - D.width / 2}, ${i.y - i.height / 2 + N})`), y) {
|
|
108
|
-
let e = T.select("span");
|
|
109
|
-
e && e.attr("style", y);
|
|
110
|
-
}
|
|
111
|
-
let P = M.node().getBBox();
|
|
112
|
-
return i.offsetX = 0, i.width = P.width, i.height = P.height, i.offsetY = D.height - i.padding / 2, i.intersect = function(e) {
|
|
113
|
-
return d(i, e);
|
|
114
|
-
}, {
|
|
115
|
-
cluster: C,
|
|
116
|
-
labelBBox: D
|
|
117
|
-
};
|
|
118
|
-
}, "rect"), g = {
|
|
119
|
-
rect: h,
|
|
120
|
-
squareRect: h,
|
|
121
|
-
roundedWithTitle: /* @__PURE__ */ e(async (e, t) => {
|
|
122
|
-
let i = a(), { themeVariables: o, handDrawnSeed: s } = i, { altBackground: c, compositeBackground: p, compositeTitleBackground: m, nodeBorder: h } = o, g = e.insert("g").attr("class", t.cssClasses).attr("id", t.domId).attr("data-id", t.id).attr("data-look", t.look), _ = g.insert("g", ":first-child"), v = g.insert("g").attr("class", "cluster-label"), y = g.append("rect"), b = await f(v, t.label, t.labelStyle, void 0, !0), x = b.getBBox();
|
|
123
|
-
if (r(i)) {
|
|
124
|
-
let e = b.children[0], t = n(b);
|
|
125
|
-
x = e.getBoundingClientRect(), t.attr("width", x.width), t.attr("height", x.height);
|
|
126
|
-
}
|
|
127
|
-
let S = 0 * t.padding, C = S / 2, w = (t.width <= x.width + t.padding ? x.width + t.padding : t.width) + S;
|
|
128
|
-
t.diff = t.width <= x.width + t.padding ? (w - t.width) / 2 - t.padding : -t.padding;
|
|
129
|
-
let T = t.height + S, E = t.height + S - x.height - 6, D = t.x - w / 2, O = t.y - T / 2;
|
|
130
|
-
t.width = w;
|
|
131
|
-
let k = t.y - t.height / 2 - C + x.height + 2, A;
|
|
132
|
-
if (t.look === "handDrawn") {
|
|
133
|
-
let e = t.cssClasses.includes("statediagram-cluster-alt"), n = l.svg(g), r = t.rx || t.ry ? n.path(u(D, O, w, T, 10), {
|
|
134
|
-
roughness: .7,
|
|
135
|
-
fill: m,
|
|
136
|
-
fillStyle: "solid",
|
|
137
|
-
stroke: h,
|
|
138
|
-
seed: s
|
|
139
|
-
}) : n.rectangle(D, O, w, T, { seed: s });
|
|
140
|
-
A = g.insert(() => r, ":first-child");
|
|
141
|
-
let i = n.rectangle(D, k, w, E, {
|
|
142
|
-
fill: e ? c : p,
|
|
143
|
-
fillStyle: e ? "hachure" : "solid",
|
|
144
|
-
stroke: h,
|
|
145
|
-
seed: s
|
|
146
|
-
});
|
|
147
|
-
A = g.insert(() => r, ":first-child"), y = g.insert(() => i);
|
|
148
|
-
} else A = _.insert("rect", ":first-child"), A.attr("class", "outer").attr("x", D).attr("y", O).attr("width", w).attr("height", T).attr("data-look", t.look), y.attr("class", "inner").attr("x", D).attr("y", k).attr("width", w).attr("height", E);
|
|
149
|
-
return v.attr("transform", `translate(${t.x - x.width / 2}, ${O + 1 - (r(i) ? 0 : 3)})`), t.height = A.node().getBBox().height, t.offsetX = 0, t.offsetY = x.height - t.padding / 2, t.labelBBox = x, t.intersect = function(e) {
|
|
150
|
-
return d(t, e);
|
|
151
|
-
}, {
|
|
152
|
-
cluster: g,
|
|
153
|
-
labelBBox: x
|
|
154
|
-
};
|
|
155
|
-
}, "roundedWithTitle"),
|
|
156
|
-
noteGroup: /* @__PURE__ */ e((e, t) => {
|
|
157
|
-
let n = e.insert("g").attr("class", "note-cluster").attr("id", t.domId), r = n.insert("rect", ":first-child"), i = 0 * t.padding, a = i / 2;
|
|
158
|
-
r.attr("rx", t.rx).attr("ry", t.ry).attr("x", t.x - t.width / 2 - a).attr("y", t.y - t.height / 2 - a).attr("width", t.width + i).attr("height", t.height + i).attr("fill", "none");
|
|
159
|
-
let o = r.node().getBBox();
|
|
160
|
-
return t.width = o.width, t.height = o.height, t.intersect = function(e) {
|
|
161
|
-
return d(t, e);
|
|
162
|
-
}, {
|
|
163
|
-
cluster: n,
|
|
164
|
-
labelBBox: {
|
|
165
|
-
width: 0,
|
|
166
|
-
height: 0
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
}, "noteGroup"),
|
|
170
|
-
divider: /* @__PURE__ */ e((e, t) => {
|
|
171
|
-
let { themeVariables: n, handDrawnSeed: r } = a(), { nodeBorder: i } = n, o = e.insert("g").attr("class", t.cssClasses).attr("id", t.domId).attr("data-look", t.look), s = o.insert("g", ":first-child"), c = 0 * t.padding, u = t.width + c;
|
|
172
|
-
t.diff = -t.padding;
|
|
173
|
-
let f = t.height + c, p = t.x - u / 2, m = t.y - f / 2;
|
|
174
|
-
t.width = u;
|
|
175
|
-
let h;
|
|
176
|
-
if (t.look === "handDrawn") {
|
|
177
|
-
let e = l.svg(o).rectangle(p, m, u, f, {
|
|
178
|
-
fill: "lightgrey",
|
|
179
|
-
roughness: .5,
|
|
180
|
-
strokeLineDash: [5],
|
|
181
|
-
stroke: i,
|
|
182
|
-
seed: r
|
|
183
|
-
});
|
|
184
|
-
h = o.insert(() => e, ":first-child");
|
|
185
|
-
} else {
|
|
186
|
-
h = s.insert("rect", ":first-child");
|
|
187
|
-
let e = "outer";
|
|
188
|
-
e = (t.look, "divider"), h.attr("class", e).attr("x", p).attr("y", m).attr("width", u).attr("height", f).attr("data-look", t.look);
|
|
189
|
-
}
|
|
190
|
-
return t.height = h.node().getBBox().height, t.offsetX = 0, t.offsetY = 0, t.intersect = function(e) {
|
|
191
|
-
return d(t, e);
|
|
192
|
-
}, {
|
|
193
|
-
cluster: o,
|
|
194
|
-
labelBBox: {}
|
|
195
|
-
};
|
|
196
|
-
}, "divider"),
|
|
197
|
-
kanbanSection: /* @__PURE__ */ e(async (e, i) => {
|
|
198
|
-
t.info("Creating subgraph rect for ", i.id, i);
|
|
199
|
-
let f = a(), { themeVariables: m, handDrawnSeed: h } = f, { clusterBkg: g, clusterBorder: _ } = m, { labelStyles: v, nodeStyles: y, borderStyles: b, backgroundStyles: x } = c(i), S = e.insert("g").attr("class", "cluster " + i.cssClasses).attr("id", i.domId).attr("data-look", i.look), C = r(f), w = S.insert("g").attr("class", "cluster-label "), T = await o(w, i.label, {
|
|
200
|
-
style: i.labelStyle,
|
|
201
|
-
useHtmlLabels: C,
|
|
202
|
-
isNode: !0,
|
|
203
|
-
width: i.width
|
|
204
|
-
}), E = T.getBBox();
|
|
205
|
-
if (r(f)) {
|
|
206
|
-
let e = T.children[0], t = n(T);
|
|
207
|
-
E = e.getBoundingClientRect(), t.attr("width", E.width), t.attr("height", E.height);
|
|
208
|
-
}
|
|
209
|
-
let D = i.width <= E.width + i.padding ? E.width + i.padding : i.width;
|
|
210
|
-
i.diff = i.width <= E.width + i.padding ? (D - i.width) / 2 - i.padding : -i.padding;
|
|
211
|
-
let O = i.height, k = i.x - D / 2, A = i.y - O / 2;
|
|
212
|
-
t.trace("Data ", i, JSON.stringify(i));
|
|
213
|
-
let j;
|
|
214
|
-
if (i.look === "handDrawn") {
|
|
215
|
-
let e = l.svg(S), n = s(i, {
|
|
216
|
-
roughness: .7,
|
|
217
|
-
fill: g,
|
|
218
|
-
stroke: _,
|
|
219
|
-
fillWeight: 4,
|
|
220
|
-
seed: h
|
|
221
|
-
}), r = e.path(u(k, A, D, O, i.rx), n);
|
|
222
|
-
j = S.insert(() => (t.debug("Rough node insert CXC", r), r), ":first-child"), j.select("path:nth-child(2)").attr("style", b.join(";")), j.select("path").attr("style", x.join(";").replace("fill", "stroke"));
|
|
223
|
-
} else j = S.insert("rect", ":first-child"), j.attr("style", y).attr("rx", i.rx).attr("ry", i.ry).attr("x", k).attr("y", A).attr("width", D).attr("height", O);
|
|
224
|
-
let { subGraphTitleTopMargin: M } = p(f);
|
|
225
|
-
if (w.attr("transform", `translate(${i.x - E.width / 2}, ${i.y - i.height / 2 + M})`), v) {
|
|
226
|
-
let e = w.select("span");
|
|
227
|
-
e && e.attr("style", v);
|
|
228
|
-
}
|
|
229
|
-
let N = j.node().getBBox();
|
|
230
|
-
return i.offsetX = 0, i.width = N.width, i.height = N.height, i.offsetY = E.height - i.padding / 2, i.intersect = function(e) {
|
|
231
|
-
return d(i, e);
|
|
232
|
-
}, {
|
|
233
|
-
cluster: S,
|
|
234
|
-
labelBBox: E
|
|
235
|
-
};
|
|
236
|
-
}, "kanbanSection"),
|
|
237
|
-
swimlane: m
|
|
238
|
-
}, _ = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ e(async (e, t) => {
|
|
239
|
-
let n = await g[t.shape || "rect"](e, t);
|
|
240
|
-
return _.set(t.id, n), n;
|
|
241
|
-
}, "insertCluster"), y = /* @__PURE__ */ e(() => {
|
|
242
|
-
_ = /* @__PURE__ */ new Map();
|
|
243
|
-
}, "clear");
|
|
244
|
-
//#endregion
|
|
245
|
-
export { v as n, y as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-D9o9TOtH.cjs"),n=require("./chunk-DU6HZSFF-3Hhp3Fo5.cjs"),r=require("./chunk-GMAD6QVW-B6uvB_wz.cjs"),i=require("./chunk-P2QGCYS3-DWeL9spl.cjs"),a=require("./rough.esm-ChRLLRha.cjs"),o=require("./chunk-4HAMMTFA-CtkrBT7X.cjs"),s=require("./chunk-GVQU2GXP-iZT_vNLp.cjs");var c=e.n(async(e,s)=>{let c=n.x(),{themeVariables:l,handDrawnSeed:u}=c,{clusterBkg:d,clusterBorder:f}=l,p=f,{labelStyles:m,nodeStyles:h,borderStyles:g,backgroundStyles:_}=i.i(s),v=e.insert(`g`).attr(`class`,`cluster swimlane `+(s.cssClasses||``)).attr(`id`,s.id).attr(`data-id`,s.id).attr(`data-et`,`cluster`).attr(`data-look`,s.look),y=n.g(c.flowchart.htmlLabels),b=s.direction===`LR`,x=v.insert(`g`).attr(`class`,`cluster-label swimlane-label`),S=await r.n(x,s.label,{style:s.labelStyle,useHtmlLabels:y,isNode:!0,width:s.width}),C=S.getBBox();if(y){let e=S.children[0],n=t.p(S);C=e.getBoundingClientRect(),n.attr(`width`,C.width),n.attr(`height`,C.height)}let w=s.padding??0,T=s.width<=C.width+w?C.width+w:s.width;s.diff=s.width<=C.width+w?(T-s.width)/2-w:-w;let E=s.height,D=s.y-E/2,O=s.y+E/2,k=s.x-T/2,A=s.swimlaneContentTop===void 0?D+E/3:s.swimlaneContentTop,j=b?4:0,M=C.height+2*j,N,P;if(b){let e=Math.max(M,C.height+2*j),t=k+e,n=Math.max(0,T-e);if(s.look===`handDrawn`){let r=a.t.svg(v),o=i.a(s,{roughness:.7,fill:d,stroke:p,fillWeight:3,seed:u}),c=i.a(s,{roughness:.7,fill:`none`,stroke:p,seed:u}),l=r.rectangle(k,D,e,E,o);N=v.insert(()=>l,`:first-child`);let f=r.rectangle(t,D,n,E,c);P=v.insert(()=>f,`:first-child`),N.select(`path:nth-child(2)`).attr(`style`,g.join(`;`)),N.select(`path`).attr(`style`,_.join(`;`).replace(`fill`,`stroke`))}else N=v.insert(`rect`,`:first-child`),P=v.insert(`rect`,`:first-child`),N.attr(`class`,`swimlane-title`).attr(`style`,h).attr(`x`,k).attr(`y`,D).attr(`width`,e).attr(`height`,E).attr(`fill`,d).attr(`stroke`,p),P.attr(`class`,`swimlane-body`).attr(`style`,h).attr(`x`,t).attr(`y`,D).attr(`width`,n).attr(`height`,E).attr(`fill`,`none`).attr(`stroke`,p);let r=k+e/2,o=s.y;x.attr(`transform`,`translate(${r}, ${o}) rotate(-90) translate(${-C.width/2}, ${-C.height/2})`)}else{let e=Math.max(0,A-D),t=Math.min(M,e),n=D+t,r=Math.max(0,O-n),o=s.x-T/2;if(s.look===`handDrawn`){let e=a.t.svg(v),c=i.a(s,{roughness:.7,fill:d,stroke:p,fillWeight:3,seed:u}),l=i.a(s,{roughness:.7,fill:`none`,stroke:p,seed:u}),f=e.rectangle(o,D,T,t,c);N=v.insert(()=>f,`:first-child`);let m=e.rectangle(o,n,T,r,l);P=v.insert(()=>m,`:first-child`),N.select(`path:nth-child(2)`).attr(`style`,g.join(`;`)),N.select(`path`).attr(`style`,_.join(`;`).replace(`fill`,`stroke`))}else N=v.insert(`rect`,`:first-child`),P=v.insert(`rect`,`:first-child`),N.attr(`class`,`swimlane-title`).attr(`style`,h).attr(`x`,o).attr(`y`,D).attr(`width`,T).attr(`height`,t).attr(`fill`,d).attr(`stroke`,p),P.attr(`class`,`swimlane-body`).attr(`style`,h).attr(`x`,o).attr(`y`,n).attr(`width`,T).attr(`height`,r).attr(`fill`,`none`).attr(`stroke`,p);let c=s.x-C.width/2,l=D+(t-C.height)/2;x.attr(`transform`,`translate(${c}, ${l})`)}if(t.m.trace(`Swimlane data `,s,JSON.stringify(s)),m){let e=x.select(`span`);e&&e.attr(`style`,m)}return s.offsetX=0,s.width=T,s.height=E,s.offsetY=C.height-w/2,s.intersect=function(e){return o.r(s,e)},{cluster:v,labelBBox:C}},`swimlane`),l=e.n(async(e,c)=>{t.m.info(`Creating subgraph rect for `,c.id,c);let l=n.x(),{themeVariables:u,handDrawnSeed:d}=l,{clusterBkg:f,clusterBorder:p}=u,{labelStyles:m,nodeStyles:h,borderStyles:g,backgroundStyles:_}=i.i(c),v=e.insert(`g`).attr(`class`,`cluster `+c.cssClasses).attr(`id`,c.domId).attr(`data-look`,c.look),y=n.T(l),b=v.insert(`g`).attr(`class`,`cluster-label `),x;x=c.labelType===`markdown`?await r.n(b,c.label,{style:c.labelStyle,useHtmlLabels:y,isNode:!0,width:c.width}):await o.t(b,c.label,c.labelStyle||``,!1,!0);let S=x.getBBox();if(n.T(l)){let e=x.children[0],n=t.p(x);S=e.getBoundingClientRect(),n.attr(`width`,S.width),n.attr(`height`,S.height)}let C=c.width<=S.width+c.padding?S.width+c.padding:c.width;c.diff=c.width<=S.width+c.padding?(C-c.width)/2-c.padding:-c.padding;let w=c.height,T=c.x-C/2,E=c.y-w/2;t.m.trace(`Data `,c,JSON.stringify(c));let D;if(c.look===`handDrawn`){let e=a.t.svg(v),n=i.a(c,{roughness:.7,fill:f,stroke:p,fillWeight:3,seed:d}),r=e.path(o.n(T,E,C,w,0),n);D=v.insert(()=>(t.m.debug(`Rough node insert CXC`,r),r),`:first-child`),D.select(`path:nth-child(2)`).attr(`style`,g.join(`;`)),D.select(`path`).attr(`style`,_.join(`;`).replace(`fill`,`stroke`))}else D=v.insert(`rect`,`:first-child`),D.attr(`style`,h).attr(`rx`,c.rx).attr(`ry`,c.ry).attr(`x`,T).attr(`y`,E).attr(`width`,C).attr(`height`,w);let{subGraphTitleTopMargin:O}=s.n(l);if(b.attr(`transform`,`translate(${c.x-S.width/2}, ${c.y-c.height/2+O})`),m){let e=b.select(`span`);e&&e.attr(`style`,m)}let k=D.node().getBBox();return c.offsetX=0,c.width=k.width,c.height=k.height,c.offsetY=S.height-c.padding/2,c.intersect=function(e){return o.r(c,e)},{cluster:v,labelBBox:S}},`rect`),u={rect:l,squareRect:l,roundedWithTitle:e.n(async(e,r)=>{let i=n.x(),{themeVariables:s,handDrawnSeed:c}=i,{altBackground:l,compositeBackground:u,compositeTitleBackground:d,nodeBorder:f}=s,p=e.insert(`g`).attr(`class`,r.cssClasses).attr(`id`,r.domId).attr(`data-id`,r.id).attr(`data-look`,r.look),m=p.insert(`g`,`:first-child`),h=p.insert(`g`).attr(`class`,`cluster-label`),g=p.append(`rect`),_=await o.t(h,r.label,r.labelStyle,void 0,!0),v=_.getBBox();if(n.T(i)){let e=_.children[0],n=t.p(_);v=e.getBoundingClientRect(),n.attr(`width`,v.width),n.attr(`height`,v.height)}let y=0*r.padding,b=y/2,x=(r.width<=v.width+r.padding?v.width+r.padding:r.width)+y;r.diff=r.width<=v.width+r.padding?(x-r.width)/2-r.padding:-r.padding;let S=r.height+y,C=r.height+y-v.height-6,w=r.x-x/2,T=r.y-S/2;r.width=x;let E=r.y-r.height/2-b+v.height+2,D;if(r.look===`handDrawn`){let e=r.cssClasses.includes(`statediagram-cluster-alt`),t=a.t.svg(p),n=r.rx||r.ry?t.path(o.n(w,T,x,S,10),{roughness:.7,fill:d,fillStyle:`solid`,stroke:f,seed:c}):t.rectangle(w,T,x,S,{seed:c});D=p.insert(()=>n,`:first-child`);let i=t.rectangle(w,E,x,C,{fill:e?l:u,fillStyle:e?`hachure`:`solid`,stroke:f,seed:c});D=p.insert(()=>n,`:first-child`),g=p.insert(()=>i)}else D=m.insert(`rect`,`:first-child`),D.attr(`class`,`outer`).attr(`x`,w).attr(`y`,T).attr(`width`,x).attr(`height`,S).attr(`data-look`,r.look),g.attr(`class`,`inner`).attr(`x`,w).attr(`y`,E).attr(`width`,x).attr(`height`,C);return h.attr(`transform`,`translate(${r.x-v.width/2}, ${T+1-(n.T(i)?0:3)})`),r.height=D.node().getBBox().height,r.offsetX=0,r.offsetY=v.height-r.padding/2,r.labelBBox=v,r.intersect=function(e){return o.r(r,e)},{cluster:p,labelBBox:v}},`roundedWithTitle`),noteGroup:e.n((e,t)=>{let n=e.insert(`g`).attr(`class`,`note-cluster`).attr(`id`,t.domId),r=n.insert(`rect`,`:first-child`),i=0*t.padding,a=i/2;r.attr(`rx`,t.rx).attr(`ry`,t.ry).attr(`x`,t.x-t.width/2-a).attr(`y`,t.y-t.height/2-a).attr(`width`,t.width+i).attr(`height`,t.height+i).attr(`fill`,`none`);let s=r.node().getBBox();return t.width=s.width,t.height=s.height,t.intersect=function(e){return o.r(t,e)},{cluster:n,labelBBox:{width:0,height:0}}},`noteGroup`),divider:e.n((e,t)=>{let{themeVariables:r,handDrawnSeed:i}=n.x(),{nodeBorder:s}=r,c=e.insert(`g`).attr(`class`,t.cssClasses).attr(`id`,t.domId).attr(`data-look`,t.look),l=c.insert(`g`,`:first-child`),u=0*t.padding,d=t.width+u;t.diff=-t.padding;let f=t.height+u,p=t.x-d/2,m=t.y-f/2;t.width=d;let h;if(t.look===`handDrawn`){let e=a.t.svg(c).rectangle(p,m,d,f,{fill:`lightgrey`,roughness:.5,strokeLineDash:[5],stroke:s,seed:i});h=c.insert(()=>e,`:first-child`)}else{h=l.insert(`rect`,`:first-child`);let e=`outer`;e=(t.look,`divider`),h.attr(`class`,e).attr(`x`,p).attr(`y`,m).attr(`width`,d).attr(`height`,f).attr(`data-look`,t.look)}return t.height=h.node().getBBox().height,t.offsetX=0,t.offsetY=0,t.intersect=function(e){return o.r(t,e)},{cluster:c,labelBBox:{}}},`divider`),kanbanSection:e.n(async(e,c)=>{t.m.info(`Creating subgraph rect for `,c.id,c);let l=n.x(),{themeVariables:u,handDrawnSeed:d}=l,{clusterBkg:f,clusterBorder:p}=u,{labelStyles:m,nodeStyles:h,borderStyles:g,backgroundStyles:_}=i.i(c),v=e.insert(`g`).attr(`class`,`cluster `+c.cssClasses).attr(`id`,c.domId).attr(`data-look`,c.look),y=n.T(l),b=v.insert(`g`).attr(`class`,`cluster-label `),x=await r.n(b,c.label,{style:c.labelStyle,useHtmlLabels:y,isNode:!0,width:c.width}),S=x.getBBox();if(n.T(l)){let e=x.children[0],n=t.p(x);S=e.getBoundingClientRect(),n.attr(`width`,S.width),n.attr(`height`,S.height)}let C=c.width<=S.width+c.padding?S.width+c.padding:c.width;c.diff=c.width<=S.width+c.padding?(C-c.width)/2-c.padding:-c.padding;let w=c.height,T=c.x-C/2,E=c.y-w/2;t.m.trace(`Data `,c,JSON.stringify(c));let D;if(c.look===`handDrawn`){let e=a.t.svg(v),n=i.a(c,{roughness:.7,fill:f,stroke:p,fillWeight:4,seed:d}),r=e.path(o.n(T,E,C,w,c.rx),n);D=v.insert(()=>(t.m.debug(`Rough node insert CXC`,r),r),`:first-child`),D.select(`path:nth-child(2)`).attr(`style`,g.join(`;`)),D.select(`path`).attr(`style`,_.join(`;`).replace(`fill`,`stroke`))}else D=v.insert(`rect`,`:first-child`),D.attr(`style`,h).attr(`rx`,c.rx).attr(`ry`,c.ry).attr(`x`,T).attr(`y`,E).attr(`width`,C).attr(`height`,w);let{subGraphTitleTopMargin:O}=s.n(l);if(b.attr(`transform`,`translate(${c.x-S.width/2}, ${c.y-c.height/2+O})`),m){let e=b.select(`span`);e&&e.attr(`style`,m)}let k=D.node().getBBox();return c.offsetX=0,c.width=k.width,c.height=k.height,c.offsetY=S.height-c.padding/2,c.intersect=function(e){return o.r(c,e)},{cluster:v,labelBBox:S}},`kanbanSection`),swimlane:c},d=new Map,f=e.n(async(e,t)=>{let n=await u[t.shape||`rect`](e,t);return d.set(t.id,n),n},`insertCluster`),p=e.n(()=>{d=new Map},`clear`);Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return p}});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-D9o9TOtH.cjs"),n=require("./chunk-DU6HZSFF-3Hhp3Fo5.cjs"),r=require("./chunk-75Z2AOVW-DOXS9ORa.cjs"),i=require("./line-D6gR53Af.cjs"),a=require("./chunk-GMAD6QVW-B6uvB_wz.cjs"),o=require("./chunk-P2QGCYS3-DWeL9spl.cjs"),s=require("./rough.esm-ChRLLRha.cjs"),c=require("./chunk-4HAMMTFA-CtkrBT7X.cjs"),l=require("./chunk-GVQU2GXP-iZT_vNLp.cjs");var u=e.n((e,t)=>{if(t)return`translate(`+-e.width/2+`, `+-e.height/2+`)`;let n=e.x??0,r=e.y??0;return`translate(`+-(n+e.width/2)+`, `+-(r+e.height/2)+`)`},`computeLabelTransform`),d={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},f={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function p(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=m(e),t=m(t);let[n,r]=[e.x,e.y],[i,a]=[t.x,t.y],o=i-n,s=a-r;return{angle:Math.atan(s/o),deltaX:o,deltaY:s}}e.n(p,`calculateDeltaAndAngle`);var m=e.n(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,`pointTransformer`),h=e.n(t=>({x:e.n(function(e,n,r){let i=0,a=m(r[0]).x<m(r[r.length-1]).x?`left`:`right`;if(n===0&&Object.hasOwn(d,t.arrowTypeStart)){let{angle:e,deltaX:n}=p(r[0],r[1]);i=d[t.arrowTypeStart]*Math.cos(e)*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(d,t.arrowTypeEnd)){let{angle:e,deltaX:n}=p(r[r.length-1],r[r.length-2]);i=d[t.arrowTypeEnd]*Math.cos(e)*(n>=0?1:-1)}let o=Math.abs(m(e).x-m(r[r.length-1]).x),s=Math.abs(m(e).y-m(r[r.length-1]).y),c=Math.abs(m(e).x-m(r[0]).x),l=Math.abs(m(e).y-m(r[0]).y),u=d[t.arrowTypeStart],f=d[t.arrowTypeEnd];if(o<f&&o>0&&s<f){let e=f+1-o;e*=a===`right`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`right`?-1:1,i+=e}return m(e).x+i},`x`),y:e.n(function(e,n,r){let i=0,a=m(r[0]).y<m(r[r.length-1]).y?`down`:`up`;if(n===0&&Object.hasOwn(d,t.arrowTypeStart)){let{angle:e,deltaY:n}=p(r[0],r[1]);i=d[t.arrowTypeStart]*Math.abs(Math.sin(e))*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(d,t.arrowTypeEnd)){let{angle:e,deltaY:n}=p(r[r.length-1],r[r.length-2]);i=d[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(n>=0?1:-1)}let o=Math.abs(m(e).y-m(r[r.length-1]).y),s=Math.abs(m(e).x-m(r[r.length-1]).x),c=Math.abs(m(e).y-m(r[0]).y),l=Math.abs(m(e).x-m(r[0]).x),u=d[t.arrowTypeStart],f=d[t.arrowTypeEnd];if(o<f&&o>0&&s<f){let e=f+1-o;e*=a===`up`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`up`?-1:1,i+=e}return m(e).y+i},`y`)}),`getLineFunctionsWithOffset`),g=e.n((e,t,n,r,i,a=!1,o)=>{t.arrowTypeStart&&y(e,`start`,t.arrowTypeStart,n,r,i,a,o),t.arrowTypeEnd&&y(e,`end`,t.arrowTypeEnd,n,r,i,a,o)},`addEdgeMarkers`),_={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_barb_neo:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},v=[`cross`,`point`,`circle`,`lollipop`,`aggregation`,`extension`,`composition`,`dependency`,`barb`],y=e.n((e,n,r,i,a,o,s=!1,c)=>{if(!r||r===`none`)return;let l=_[r],u=l&&v.includes(l.type);if(!l){t.m.warn(`Unknown arrow type: ${r}`);return}let d=`${a}_${o}-${l.type}${n===`start`?`Start`:`End`}${s&&u?`-margin`:``}`;if(c&&c.trim()!==``){let t=`${d}_${c.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(t)){let e=document.getElementById(d);if(e){let n=e.cloneNode(!0);n.id=t,n.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,c),l.fill&&e.setAttribute(`fill`,c)}),e.parentNode?.appendChild(n)}}e.attr(`marker-${n}`,`url(${i}#${t})`)}else e.attr(`marker-${n}`,`url(${i}#${d})`)},`addEdgeMarker`),b=e.n(e=>typeof e==`string`?e:n.x()?.flowchart?.curve,`resolveEdgeCurveType`),x=new Map,S=new Map,C=e.n(()=>{x.clear(),S.clear()},`clear`),w=e.n(e=>!!(e.label||e.startLabelLeft||e.startLabelRight||e.endLabelLeft||e.endLabelRight),`hasEdgeLabel`),T=e.n(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),E=e.n(async(e,r)=>{let i=n.x(),s=n.T(i),{labelStyles:l}=o.i(r);r.labelStyle=l;let d=e.insert(`g`).attr(`class`,`edgeLabel`),f=d.insert(`g`).attr(`class`,`label`).attr(`data-id`,r.id),p=r.labelType===`markdown`,m=await a.n(e,r.label,{style:T(r.labelStyle),useHtmlLabels:s,addSvgBackground:!0,isNode:!1,markdown:p,width:void 0},i);f.node().appendChild(m),t.m.info(`abc82`,r,r.labelType);let h,g;if(s){let e=m.children[0],n=t.p(m);h=await a.r.measure(()=>e.getBoundingClientRect()),g=h,n.attr(`width`,h.width),n.attr(`height`,h.height)}else{let e=t.p(m).select(`text`).node();await a.r.measure(()=>{h=m.getBBox(),g=e&&typeof e.getBBox==`function`?e.getBBox():h})}f.attr(`transform`,u(g,s)),x.set(r.id,d),r.width=h.width,r.height=h.height;let _;if(r.startLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await c.t(i,r.startLabelLeft,T(r.labelStyle)||``,!1,!1);_=a;let o=a.getBBox();if(s){let e=a.children[0],n=t.p(a);o=e.getBoundingClientRect(),n.attr(`width`,o.width),n.attr(`height`,o.height)}i.attr(`transform`,u(o,s)),S.get(r.id)||S.set(r.id,{}),S.get(r.id).startLeft=n,D(_,r.startLabelLeft)}if(r.startLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await c.t(i,r.startLabelRight,T(r.labelStyle)||``,!1,!1);_=a;let o=a.getBBox();if(s){let e=a.children[0],n=t.p(a);o=e.getBoundingClientRect(),n.attr(`width`,o.width),n.attr(`height`,o.height)}i.attr(`transform`,u(o,s)),S.get(r.id)||S.set(r.id,{}),S.get(r.id).startRight=n,D(_,r.startLabelRight)}if(r.endLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await c.t(n,r.endLabelLeft,T(r.labelStyle)||``,!1,!1);_=a;let o=a.getBBox();if(s){let e=a.children[0],n=t.p(a);o=e.getBoundingClientRect(),n.attr(`width`,o.width),n.attr(`height`,o.height)}i.attr(`transform`,u(o,s)),S.get(r.id)||S.set(r.id,{}),S.get(r.id).endLeft=n,D(_,r.endLabelLeft)}if(r.endLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await c.t(n,r.endLabelRight,T(r.labelStyle)||``,!1,!1);_=a;let o=a.getBBox();if(s){let e=a.children[0],n=t.p(a);o=e.getBoundingClientRect(),n.attr(`width`,o.width),n.attr(`height`,o.height)}i.attr(`transform`,u(o,s)),S.get(r.id)||S.set(r.id,{}),S.get(r.id).endRight=n,D(_,r.endLabelRight)}return m},`insertEdgeLabel`);function D(e,t){n.T(n.x())&&e&&(e.style.width=t.length*9+`px`,e.style.height=`12px`)}e.n(D,`setTerminalWidth`);var O=e.n((e,i)=>{t.m.debug(`Moving label abc88 `,e.id,e.label,x.get(e.id),i);let a=i.updatedPath?i.updatedPath:i.originalPath,o=n.x(),{subGraphTitleTotalMargin:s}=l.n(o);if(e.label){let n=x.get(e.id),o=e.x,c=e.y;if(a){let n=r.g.calcLabelPosition(a);t.m.debug(`Moving label `+e.label+` from (`,o,`,`,c,`) to (`,n.x,`,`,n.y,`) abc88`),i.updatedPath&&(o=n.x,c=n.y)}n.attr(`transform`,`translate(${o}, ${c+s/2})`)}if(e.startLabelLeft){let t=S.get(e.id).startLeft,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}if(e.startLabelRight){let t=S.get(e.id).startRight,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}if(e.endLabelLeft){let t=S.get(e.id).endLeft,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}if(e.endLabelRight){let t=S.get(e.id).endRight,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}},`positionEdgeLabel`),k=e.n((e,t)=>{if(!e?.isLabelEdge||!e?.id?.endsWith(`-to-label`)||!Array.isArray(t)||t.length!==2)return t;let[n,r]=t,i=Math.abs(r.x-n.x),a=Math.abs(r.y-n.y);return i<.001||a<.001?t:a>=i?[n,{x:n.x,y:r.y},r]:[n,{x:r.x,y:n.y},r]},`orthogonalizeToLabelClippedPoints`),A=e.n((e,t)=>{let n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),o=e.width/2,s=e.height/2;return i>=o||a>=s},`outsideNode`),j=e.n((e,n,r)=>{t.m.debug(`intersection calc abc89:
|
|
2
|
-
outsidePoint: ${JSON.stringify(n)}
|
|
3
|
-
insidePoint : ${JSON.stringify(r)}
|
|
4
|
-
node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);let i=e.x,a=e.y,o=Math.abs(i-r.x),s=e.width/2,c=r.x<n.x?s-o:s+o,l=e.height/2,u=Math.abs(n.y-r.y),d=Math.abs(n.x-r.x);if(Math.abs(a-n.y)*s>Math.abs(i-n.x)*l){let e=r.y<n.y?n.y-l-a:a-l-n.y;c=d*e/u;let i={x:r.x<n.x?r.x+c:r.x-d+c,y:r.y<n.y?r.y+u-e:r.y-u+e};return c===0&&(i.x=n.x,i.y=n.y),d===0&&(i.x=n.x),u===0&&(i.y=n.y),t.m.debug(`abc89 top/bottom calc, Q ${u}, q ${e}, R ${d}, r ${c}`,i),i}{c=r.x<n.x?n.x-s-i:i-s-n.x;let e=u*c/d,a=r.x<n.x?r.x+d-c:r.x-d+c,o=r.y<n.y?r.y+e:r.y-e;return t.m.debug(`sides calc abc89, Q ${u}, q ${e}, R ${d}, r ${c}`,{_x:a,_y:o}),c===0&&(a=n.x,o=n.y),d===0&&(a=n.x),u===0&&(o=n.y),{x:a,y:o}}},`intersection`),M=e.n((e,n)=>{t.m.warn(`abc88 cutPathAtIntersect`,e,n);let r=[],i=e[0],a=!1;return e.forEach(e=>{if(t.m.info(`abc88 checking point`,e,n),!A(n,e)&&!a){let o=j(n,i,e);t.m.debug(`abc88 inside`,e,i,o),t.m.debug(`abc88 intersection`,o,n);let s=!1;r.forEach(e=>{s||=e.x===o.x&&e.y===o.y}),r.some(e=>e.x===o.x&&e.y===o.y)?t.m.warn(`abc88 no intersect`,o,r):r.push(o),a=!0}else t.m.warn(`abc88 outside`,e,i),i=e,a||r.push(e)}),t.m.debug(`returning points`,r),r},`cutPathAtIntersect`);function N(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],o=e[r+1];(i.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===o.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-o.y)>5)&&(t.push(a),n.push(r))}return{cornerPoints:t,cornerPointPositions:n}}e.n(N,`extractCornerPoints`);var P=e.n(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},`findAdjacentPoint`),F=e.n(function(e){let{cornerPointPositions:n}=N(e),r=[];for(let i=0;i<e.length;i++)if(n.includes(i)){let n=e[i-1],a=e[i+1],o=e[i],s=P(n,o,5),c=P(a,o,5),l=c.x-s.x,u=c.y-s.y;r.push(s);let d=Math.sqrt(2)*2,f={x:o.x,y:o.y};Math.abs(a.x-n.x)>10&&Math.abs(a.y-n.y)>=10?(t.m.debug(`Corner point fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),f=o.x===s.x?{x:l<0?s.x-5+d:s.x+5-d,y:u<0?s.y-d:s.y+d}:{x:l<0?s.x-d:s.x+d,y:u<0?s.y-5+d:s.y+5-d}):t.m.debug(`Corner point skipping fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),r.push(f,c)}else r.push(e[i]);return r},`fixCorners`),I=e.n((e,t,n)=>{let r=e-t-n,i=Math.floor(r/4);return`0 ${t} ${Array(Number.isFinite(i)?Math.max(0,i):0).fill(`2 2`).join(` `)} ${n}`},`generateDashArray`),L=e.n(function(e,a,c,l,u,d,p,m=!1){if(!p)throw Error(`insertEdge: missing diagramId for edge "${a.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:_,layout:v}=n.x(),y=a.points,x=!1,S=u;var C=d;let w=[];for(let e in a.cssCompiledStyles)o.n(e)||w.push(a.cssCompiledStyles[e]);if(v===`swimlane`){if(C.intersect&&S.intersect&&Array.isArray(y)&&y.length>=2){if(y.length===2)y=[S.intersect(y[0]),C.intersect(y[1])];else{let e=y.slice(1,-1),t=e[0],n=e[e.length-1],r=.5,i=Math.abs(y[y.length-1].x-n.x)<r&&Math.abs(y[y.length-1].y-n.y)<r,a=S.intersect(t),o=i?n:C.intersect(n),s=Math.abs(o.x-n.x)<r&&Math.abs(o.y-n.y)<r,c=Math.abs(a.x-t.x)<r&&Math.abs(a.y-t.y)<r?[]:[a],l=s?[]:[o];y=[...c,...e,...l]}}y=k(a,y)}else C.intersect&&S.intersect&&!m&&(y=y.slice(1,a.points.length-1),y.unshift(S.intersect(y[0])),y.push(C.intersect(y[y.length-1])));let T=btoa(JSON.stringify(y));a.toCluster&&(t.m.info(`to cluster abc88`,c.get(a.toCluster)),y=M(a.points,c.get(a.toCluster).node),x=!0),a.fromCluster&&(t.m.debug(`from cluster abc88`,c.get(a.fromCluster),JSON.stringify(y,null,2)),y=M(y.reverse(),c.get(a.fromCluster).node).reverse(),x=!0);let E=y.filter(e=>!Number.isNaN(e.y)),D=b(a.curve);D!==`rounded`&&(E=F(E));let O=r.rt;switch(D){case`linear`:O=r.rt;break;case`basis`:O=r.et;break;case`cardinal`:O=r.$;break;case`bumpX`:O=r.tt;break;case`bumpY`:O=r.nt;break;case`catmullRom`:O=r.Q;break;case`monotoneX`:O=r.X;break;case`monotoneY`:O=r.Z;break;case`natural`:O=r.Y;break;case`step`:O=r.J;break;case`stepAfter`:O=r.K;break;case`stepBefore`:O=r.q;break;case`rounded`:O=r.rt;break;default:O=r.et}let{x:A,y:j}=h(a),N=i.t().x(A).y(j).curve(O),P;switch(a.thickness){case`normal`:P=`edge-thickness-normal`;break;case`thick`:P=`edge-thickness-thick`;break;case`invisible`:P=`edge-thickness-invisible`;break;default:P=`edge-thickness-normal`}switch(a.pattern){case`solid`:P+=` edge-pattern-solid`;break;case`dotted`:P+=` edge-pattern-dotted`;break;case`dashed`:P+=` edge-pattern-dashed`;break;default:P+=` edge-pattern-solid`}let L,z=D===`rounded`?R(B(E,a),5):N(E),V=Array.isArray(a.style)?a.style:[a.style],H=V.find(e=>e?.startsWith(`stroke:`)),U=``;a.animate&&(U=`edge-animation-fast`),a.animation&&(U=`edge-animation-`+a.animation);let W=!1;if(a.look===`handDrawn`){let n=s.t.svg(e);Object.assign([],E);let r=n.path(z,{roughness:.3,seed:_});P+=` transition`,L=t.p(r).select(`path`).attr(`id`,`${p}-${a.id}`).attr(`class`,` `+P+(a.classes?` `+a.classes:``)+(U?` `+U:``)).attr(`style`,V?V.reduce((e,t)=>e+`;`+t,``):``);let i=L.attr(`d`);L.attr(`d`,i),e.node().appendChild(L.node())}else{let t=w.join(`;`),n=V?V.reduce((e,t)=>e+t+`;`,``):``,r=(t?t+`;`+n+`;`:n)+`;`+(V?V.reduce((e,t)=>e+`;`+t,``):``);L=e.append(`path`).attr(`d`,z).attr(`id`,`${p}-${a.id}`).attr(`class`,` `+P+(a.classes?` `+a.classes:``)+(U?` `+U:``)).attr(`style`,r),H=r.match(/stroke:([^;]+)/)?.[1],W=a.animate===!0||!!a.animation||t.includes(`animation`);let i=L.node(),o=typeof i.getTotalLength==`function`?i.getTotalLength():0,s=f[a.arrowTypeStart]||0,c=f[a.arrowTypeEnd]||0;if(a.look===`neo`&&!W){let e=`stroke-dasharray: ${a.pattern===`dotted`||a.pattern===`dashed`?I(o,s,c):`0 ${s} ${o-s-c} ${c}`}; stroke-dashoffset: 0;`;L.attr(`style`,e+L.attr(`style`))}}L.attr(`data-edge`,!0),L.attr(`data-et`,`edge`),L.attr(`data-id`,a.id),L.attr(`data-points`,T),L.attr(`data-look`,r.u(a.look)),a.showPoints&&E.forEach(t=>{e.append(`circle`).style(`stroke`,`red`).style(`fill`,`red`).attr(`r`,1).attr(`cx`,t.x).attr(`cy`,t.y)});let G=``;(n.x().flowchart.arrowMarkerAbsolute||n.x().state.arrowMarkerAbsolute)&&(G=window.location.protocol+`//`+window.location.host+window.location.pathname+window.location.search,G=G.replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)),t.m.info(`arrowTypeStart`,a.arrowTypeStart),t.m.info(`arrowTypeEnd`,a.arrowTypeEnd);let K=!W&&a?.look===`neo`;g(L,a,G,p,l,K,H);let q=Math.floor(y.length/2),J=y[q];r.g.isLabelCoordinateInPath(J,L.attr(`d`))||(x=!0);let Y={};return x&&(Y.updatedPath=y),Y.originalPath=a.points,Y},`insertEdge`);function R(e,t){if(e.length<2)return``;let n=``,r=e.length,i=1e-5;for(let a=0;a<r;a++){let o=e[a],s=e[a-1],c=e[a+1];if(a===0)n+=`M${o.x},${o.y}`;else if(a===r-1)n+=`L${o.x},${o.y}`;else{let e=o.x-s.x,r=o.y-s.y,a=c.x-o.x,l=c.y-o.y,u=Math.hypot(e,r),d=Math.hypot(a,l);if(u<i||d<i){n+=`L${o.x},${o.y}`;continue}let f=e/u,p=r/u,m=a/d,h=l/d,g=f*m+p*h,_=Math.acos(Math.max(-1,Math.min(1,g)));if(_<i||Math.abs(Math.PI-_)<i){n+=`L${o.x},${o.y}`;continue}let v=Math.min(t/Math.sin(_/2),u/2,d/2),y=o.x-f*v,b=o.y-p*v,x=o.x+m*v,S=o.y+h*v;n+=`L${y},${b}`,n+=`Q${o.x},${o.y} ${x},${S}`}}return n}e.n(R,`generateRoundedPath`);function z(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}e.n(z,`calculateDeltaAndAngle`);function B(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&d[t.arrowTypeStart]){let r=d[t.arrowTypeStart],i=e[0],a=e[1],{angle:o}=z(i,a),s=r*Math.cos(o),c=r*Math.sin(o);n[0].x=i.x+s,n[0].y=i.y+c}let r=e.length;if(r>=2&&d[t.arrowTypeEnd]){let i=d[t.arrowTypeEnd],a=e[r-1],o=e[r-2],{angle:s}=z(o,a),c=i*Math.cos(s),l=i*Math.sin(s);n[r-1].x=a.x-c,n[r-1].y=a.y-l}return n}e.n(B,`applyMarkerOffsetsToPoints`);var V=e.n((e,t,n,r)=>{t.forEach(t=>{H[t](e,n,r)})},`insertMarkers`),H={extension:e.n((e,n,r)=>{t.m.trace(`Making markers for `,r),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionStart`).attr(`class`,`marker extension `+n).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,7 L18,13 V 1 Z`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionEnd`).attr(`class`,`marker extension `+n).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,1 V 13 L18,7 Z`),e.append(`marker`).attr(`id`,r+`_`+n+`-extensionStart-margin`).attr(`class`,`marker extension `+n).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,7 18,13 18,1`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionEnd-margin`).attr(`class`,`marker extension `+n).attr(`refX`,9).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,1 10,13 18,7`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`)},`extension`),composition:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart`).attr(`class`,`marker composition `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd`).attr(`class`,`marker composition `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart-margin`).attr(`class`,`marker composition `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`viewBox`,`0 0 15 15`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd-margin`).attr(`class`,`marker composition `+t).attr(`refX`,3.5).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`composition`),aggregation:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart`).attr(`class`,`marker aggregation `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`aggregation`),dependency:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart`).attr(`class`,`marker dependency `+t).attr(`refX`,6).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd`).attr(`class`,`marker dependency `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,4).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,16).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`)},`dependency`),lollipop:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2)},`lollipop`),point:e.n((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,4.5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 5 L 10 10 L 10 0 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,11.5).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,10.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 11.5 7 L 0 14 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,1).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`polygon`).attr(`points`,`0,7 11.5,14 11.5,0`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`point`),circle:e.n((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,11).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-1).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refY`,5).attr(`refX`,12.25).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-2).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`circle`),cross:e.n((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,12).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,-1).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,17.7).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,-3.5).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5).style(`stroke-dasharray`,`1,0`)},`cross`),barb:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L9,13 L14,7 L9,1 Z`)},`barb`),barbNeo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{transitionColor:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`strokeWidth`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-barbEnd-margin`).attr(`refX`,17).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`).attr(`fill`,`${a}`)},`barbNeo`),only_one:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`)},`only_one`),zero_or_one:e.n((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,21).attr(`cy`,9).attr(`r`,6),r.append(`path`).attr(`d`,`M9,0 L9,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,9).attr(`r`,6),i.append(`path`).attr(`d`,`M21,0 L21,18`)},`zero_or_one`),one_or_more:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`)},`one_or_more`),zero_or_more:e.n((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,48).attr(`cy`,18).attr(`r`,6),r.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,18).attr(`r`,6),i.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`)},`zero_or_more`),only_one_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`).attr(`stroke-width`,`${a}`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`).attr(`stroke-width`,`${a}`)},`only_one_neo`),zero_or_one_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a,mainBkg:o}=i,s=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);s.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,21).attr(`cy`,9).attr(`stroke-width`,`${a}`).attr(`r`,6),s.append(`path`).attr(`d`,`M9,0 L9,18`).attr(`stroke-width`,`${a}`);let c=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);c.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,9).attr(`cy`,9).attr(`stroke-width`,`${a}`).attr(`r`,6),c.append(`path`).attr(`d`,`M21,0 L21,18`).attr(`stroke-width`,`${a}`)},`zero_or_one_neo`),one_or_more_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`).attr(`stroke-width`,`${a}`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`).attr(`stroke-width`,`${a}`)},`one_or_more_neo`),zero_or_more_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a,mainBkg:o}=i,s=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);s.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,45.5).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${a}`),s.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`).attr(`stroke-width`,`${a}`);let c=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);c.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,11).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${a}`),c.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`).attr(`stroke-width`,`${a}`)},`zero_or_more_neo`),requirement_arrow:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,0
|
|
5
|
-
L20,10
|
|
6
|
-
M20,10
|
|
7
|
-
L0,20`)},`requirement_arrow`),requirement_contains:e.n((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_containsStart`).attr(`refX`,0).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`g`);r.append(`circle`).attr(`cx`,10).attr(`cy`,10).attr(`r`,9).attr(`fill`,`none`),r.append(`line`).attr(`x1`,1).attr(`x2`,19).attr(`y1`,10).attr(`y2`,10),r.append(`line`).attr(`y1`,1).attr(`y2`,19).attr(`x1`,10).attr(`x2`,10)},`requirement_contains`),requirement_arrow_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`stroke-width`,`${a}`).attr(`viewBox`,`0 0 25 20`).append(`path`).attr(`d`,`M0,0
|
|
8
|
-
L20,10
|
|
9
|
-
M20,10
|
|
10
|
-
L0,20`).attr(`stroke-linejoin`,`miter`)},`requirement_arrow_neo`),requirement_contains_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a}=i,o=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-requirement_containsStart`).attr(`refX`,0).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`g`);o.append(`circle`).attr(`cx`,10).attr(`cy`,10).attr(`r`,9).attr(`fill`,`none`),o.append(`line`).attr(`x1`,1).attr(`x2`,19).attr(`y1`,10).attr(`y2`,10),o.append(`line`).attr(`y1`,1).attr(`y2`,19).attr(`x1`,10).attr(`x2`,10),o.selectAll(`*`).attr(`stroke-width`,`${a}`)},`requirement_contains_neo`)},U=V;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return C}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./chunk-DU6HZSFF-3Hhp3Fo5.cjs");var n=e.n(e=>{let{handDrawnSeed:n}=t.x();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:n}},`solidStateFill`),r=e.n(e=>Array.isArray(e)?e:e?e.split(`;`).map(e=>e.trim()).filter(Boolean):[],`normalizeStyleList`),i=e.n(e=>{let t=a([...e.cssCompiledStyles||[],...e.cssStyles||[],...r(e.labelStyle)]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),a=e.n(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),o=e.n(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),s=e.n(e=>{let{stylesArray:t}=i(e),n=[],r=[],a=[],s=[];return t.forEach(e=>{let t=e[0];o(t)?n.push(e.join(`:`)+` !important`):(r.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&a.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:r.join(`;`),stylesArray:t,borderStyles:a,backgroundStyles:s}},`styles2String`),c=e.n((e,n)=>{let{themeVariables:r,handDrawnSeed:a}=t.x(),{nodeBorder:o,mainBkg:s}=r,{stylesMap:c}=i(e);return Object.assign({roughness:.7,fill:c.get(`fill`)||s,fillStyle:`hachure`,fillWeight:4,hachureGap:5.2,stroke:c.get(`stroke`)||o,seed:a,strokeWidth:c.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:l(c.get(`stroke-dasharray`))},n)},`userNodeOverrides`),l=e.n(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|