@sme.up/ketchup2 2.8.0 → 2.8.2
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-DZIaCwNE.js → abnfDiagram-VCTEODGH-DwAVRNNu.js} +5 -5
- package/dist/{arc-7ZXqzxve.js → arc-DXfwi1YX.js} +8 -6
- package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
- package/dist/{architectureDiagram-5GKGNRK7-BJvIxhbL.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +309 -300
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
- package/dist/basic-components/file-upload/file-upload.d.ts.map +1 -1
- package/dist/basic-components/list/list.d.ts.map +1 -1
- package/dist/basic-components/select/select.d.ts.map +1 -1
- package/dist/basic-components/tree/{tree.types.d.ts → tree-types.d.ts} +1 -1
- package/dist/basic-components/tree/{tree.types.d.ts.map → tree-types.d.ts.map} +1 -1
- package/dist/basic-components/tree/tree.d.ts +1 -1
- package/dist/{blockDiagram-I7D4REHJ-C5aW9ypR.js → blockDiagram-I7D4REHJ-Cu18ws5-.js} +38 -35
- package/dist/{c4Diagram-7LVT6UL2-JxFfT5VH.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +109 -79
- package/dist/{channel-D6agWknC.js → channel-CuEby436.js} +1 -1
- package/dist/{chunk-2E4U76K2-C8vehurw.js → chunk-2E4U76K2-ComA5SPA.js} +18 -16
- package/dist/{chunk-4HAMMTFA-MZIwowe1.js → chunk-4HAMMTFA-CZgIgrp_.js} +18 -18
- package/dist/{chunk-75Z2AOVW-BwUD389x.js → chunk-75Z2AOVW-Drsj7a97.js} +53 -84
- package/dist/{chunk-CLGD4ZFX-DKRy6g5T.js → chunk-CLGD4ZFX-CLGio9rD.js} +7 -3
- package/dist/{chunk-DU6HZSFF-CNSdkWoH.js → chunk-DU6HZSFF-waeanndy.js} +18 -14
- package/dist/{chunk-F27PBJKO-DKsmevT5.js → chunk-F27PBJKO-jIrOJO87.js} +3 -3
- package/dist/{chunk-FOHPRMQF-C49KxWOg.js → chunk-FOHPRMQF-LRqOLsSw.js} +435 -362
- package/dist/{chunk-GMAD6QVW-DKxKOKLF.js → chunk-GMAD6QVW-D80II4AD.js} +38 -28
- package/dist/{chunk-GVQU2GXP-w4KY-she.js → chunk-GVQU2GXP-DP3t_9Rl.js} +4 -4
- package/dist/{chunk-IMKFNOWR-DHxMOe_C.js → chunk-IMKFNOWR-8ItzAAcf.js} +43 -47
- package/dist/{chunk-L3NEJ4N5-CvNbHpcd.js → chunk-L3NEJ4N5-qPot4t6M.js} +11 -11
- package/dist/{chunk-LNGE3PJU-CiGrDO_F.js → chunk-LNGE3PJU-CtYcu9x8.js} +27 -19
- package/dist/{chunk-OSK3NFVY-BmtDbEvT.js → chunk-OSK3NFVY-CQhPF3Mc.js} +25 -22
- package/dist/{chunk-P2QGCYS3-DRvvOWJ2.js → chunk-P2QGCYS3-BUeNZ170.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-CaEkosGL.js → chunk-POPQ4Y6H-CU9oz17Z.js} +2 -2
- package/dist/{chunk-PWAF6VOD-CbmhQpgH.js → chunk-PWAF6VOD-D37VoZ8H.js} +6 -8
- package/dist/{chunk-SHT3W25Y-DJgD-hyF.js → chunk-SHT3W25Y-Cri27Jke.js} +28 -34
- package/dist/{chunk-SVP7TREG-BNwvtyzm.js → chunk-SVP7TREG-CyJlOPau.js} +3 -3
- package/dist/{chunk-TICWLB2K-DqSHwYf9.js → chunk-TICWLB2K-Cw2iT_VD.js} +15 -15
- package/dist/{chunk-TLUHSLCS-opHh7fd-.js → chunk-TLUHSLCS-BdsLNXjt.js} +10 -10
- package/dist/{chunk-XXDRQBXY-BZK6GgVm.js → chunk-XXDRQBXY-C1ZEFXGu.js} +1 -1
- package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
- package/dist/components/app-bar/app-bar.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/calendar/calendar-types.d.ts +143 -0
- package/dist/components/calendar/calendar-types.d.ts.map +1 -0
- package/dist/components/calendar/calendar-utils.d.ts +162 -0
- package/dist/components/calendar/calendar-utils.d.ts.map +1 -0
- package/dist/components/calendar/calendar-utils.test.d.ts +2 -0
- package/dist/components/calendar/calendar-utils.test.d.ts.map +1 -0
- package/dist/components/calendar/calendar.d.ts +16 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-month-grid.d.ts +48 -0
- package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts +44 -0
- package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -0
- package/dist/components/chat/chat.d.ts.map +1 -1
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
- package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/{cose-bilkent-JH36ORCC-CE0T5PqO.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +64 -61
- package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-D5vkxB9p.js → cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js} +18 -12
- package/dist/{cytoscape.esm-BQqfb1oS.js → cytoscape.esm-C5TvPYYm.js} +532 -538
- package/dist/{dagre-qXSFUdzO.js → dagre-D5csT9sx.js} +16 -18
- package/dist/{dagre-GXQ25YYZ-CFXgAmuL.js → dagre-GXQ25YYZ-Bg7xf6xn.js} +16 -14
- package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
- package/dist/{diagram-S7CK7UJ4-DrGNegqs.js → diagram-S7CK7UJ4-BuDHTdHA.js} +6 -6
- package/dist/{diagram-UQ7AKVKN-LU56O9S9.js → diagram-UQ7AKVKN-uvzJGj43.js} +8 -8
- package/dist/{diagram-VSXAHHWV-CaQnupEx.js → diagram-VSXAHHWV-CrQQCs-B.js} +5 -5
- package/dist/{diagram-VX7I27RA-DH-s9daK.js → diagram-VX7I27RA-BNmG1sig.js} +52 -50
- package/dist/{diagram-Z3DM3KII-DWhRX2l9.js → diagram-Z3DM3KII-B6BrLhP0.js} +5 -5
- package/dist/{dist-C7OpkiTz.js → dist-CsrMlyO_.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-CtT2erlt.js → ebnfDiagram-PWID7BFC-DMx8xAFO.js} +5 -5
- package/dist/{erDiagram-RLTQ6QDP-CxxAoCSs.js → erDiagram-RLTQ6QDP-bkJ9nzVK.js} +25 -25
- package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
- package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
- package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-C04RZW4s.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +39 -50
- package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
- package/dist/{gitGraphDiagram-WWUBYQGX-BTcuEGsY.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +17 -13
- package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
- package/dist/{infoDiagram-27XIBGKW-BoUOV42E.js → infoDiagram-27XIBGKW-Je4heBlk.js} +4 -4
- package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
- package/dist/{ishikawaDiagram-5VMMS53U-D15Hi9wp.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +12 -12
- package/dist/{journeyDiagram-3NMN7TZE-BUb4frTN.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +16 -16
- package/dist/{kanban-definition-UXKFOSKX-DkgBC20j.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +20 -20
- package/dist/{katex-Dyoqg6Cv.js → katex-CT2p8LXT.js} +111 -96
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +33176 -32415
- package/dist/{line-BEo8vh4N.js → line-DTqYMLoX.js} +2 -2
- package/dist/{linear-BNesvT28.js → linear-CXc5xaa6.js} +8 -9
- package/dist/locale/en/translation.json.d.ts +3 -1
- package/dist/locale/it/translation.json.d.ts +3 -1
- package/dist/{mermaid-parser.core-oFB-qEU8.js → mermaid-parser.core-BwVmI_Rq.js} +16 -16
- package/dist/{mindmap-definition-YA3MSWOX-Cjs12XgD.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +27 -29
- package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
- package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
- package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
- package/dist/{pegDiagram-XKGWAZYB-BuyVzOiH.js → pegDiagram-XKGWAZYB-DsfILwZN.js} +5 -5
- package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
- package/dist/{pieDiagram-E7YTZNPT-D4bB4TDP.js → pieDiagram-E7YTZNPT-DcSLcLdd.js} +15 -17
- package/dist/{quadrantDiagram-AXDQQJYC-B6Q9biU9.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +10 -10
- package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
- package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
- package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
- package/dist/{railroadDiagram-O6MQD6OU-DFR4_PxB.js → railroadDiagram-O6MQD6OU-jOZRtNDi.js} +5 -5
- package/dist/{requirementDiagram-BXWQKSXE-BfWCCTu8.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +20 -20
- package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
- package/dist/{sankeyDiagram-P5KCCOFB-B_3NESVW.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +16 -14
- package/dist/{sequenceDiagram-WJ2MYXX4-B8W9PUBb.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +34 -46
- package/dist/{src-D-6ZfKf9.js → src-DQoflmwT.js} +20 -23
- package/dist/{stateDiagram-D77RDMKH-IwptGFzp.js → stateDiagram-D77RDMKH-YfzmviNY.js} +20 -20
- package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
- package/dist/{swimlanes-42K2YHIH-jhIjSCsq.js → swimlanes-42K2YHIH-CJcMmxXf.js} +44 -41
- package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
- package/dist/{timeline-definition-24CTP7MA-C6u6A92C.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +18 -18
- package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
- package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
- package/dist/types/translation.d.ts +3 -1
- package/dist/types/translation.d.ts.map +1 -1
- package/dist/utils/date.d.ts +6 -2
- package/dist/utils/date.d.ts.map +1 -1
- package/dist/utils/totals/totals-utils.d.ts +3 -1
- package/dist/utils/totals/totals-utils.d.ts.map +1 -1
- package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
- package/dist/{vennDiagram-4TSXK5OY-Bt9cyeRX.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +12 -12
- package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
- package/dist/{wardleyDiagram-VM6X3IG4-QkNx10Ny.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +40 -40
- package/dist/{xychartDiagram-S5SC5T6Z-BSwoR01A.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +22 -26
- package/package.json +38 -38
- package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +0 -1
- package/dist/arc-DBilzVYt.cjs +0 -1
- package/dist/architecture-7GRP2DOG-DYFsLst2.js +0 -3
- package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +0 -1
- package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +0 -36
- package/dist/array-DZSRzHA_.cjs +0 -1
- package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +0 -129
- package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +0 -38
- package/dist/channel-BvUly9jN.cjs +0 -1
- package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +0 -1
- package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +0 -1
- package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +0 -62
- package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +0 -15
- package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +0 -2
- package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +0 -1
- package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +0 -127
- package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +0 -1
- package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +0 -161
- package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +0 -72
- package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +0 -1
- package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +0 -231
- package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +0 -1
- package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +0 -1
- package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +0 -34
- package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +0 -10
- package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +0 -1
- package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +0 -1
- package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +0 -1
- package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +0 -168
- package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +0 -88
- package/dist/chunk-TICWLB2K-1u0p_luB.cjs +0 -206
- package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +0 -1
- package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +0 -1
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +0 -1
- package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +0 -30
- package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +0 -1
- package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +0 -1
- package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +0 -1
- package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +0 -1
- package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +0 -3
- package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +0 -62
- package/dist/cytoscape.esm-TdwWzXkE.cjs +0 -321
- package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +0 -4
- package/dist/dagre-nX1Mh32P.cjs +0 -1
- package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
- package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +0 -30
- package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +0 -41
- package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +0 -3
- package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +0 -24
- package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +0 -24
- package/dist/dist-DrOEvFlx.cjs +0 -1
- package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +0 -1
- package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +0 -99
- package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +0 -3
- package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +0 -1
- package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +0 -1
- package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +0 -17
- package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +0 -292
- package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +0 -3
- package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +0 -1
- package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +0 -106
- package/dist/graphlib-CkkG5MuS.cjs +0 -1
- package/dist/info-A6RAGUB7-C0KA0jej.cjs +0 -1
- package/dist/info-A6RAGUB7-DYBvudiC.js +0 -3
- package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +0 -2
- package/dist/init-07zIhv_j.cjs +0 -1
- package/dist/ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs +0 -70
- package/dist/journeyDiagram-3NMN7TZE-CxVpPKa-.cjs +0 -139
- package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +0 -89
- package/dist/katex-DUe6VLjC.cjs +0 -257
- package/dist/ketchup2.cjs.js +0 -487
- package/dist/line-wiGgVVGi.cjs +0 -1
- package/dist/linear-YA14Lx5Z.cjs +0 -1
- package/dist/mermaid-parser.core-CqChDTj1.cjs +0 -6
- package/dist/mindmap-definition-YA3MSWOX-0PG4raFG.cjs +0 -96
- package/dist/ordinal-CUPR-p0T.cjs +0 -1
- package/dist/packet-AYTQ26CC-BEwXWBE0.js +0 -3
- package/dist/packet-AYTQ26CC-DfXUrk97.cjs +0 -1
- package/dist/path-Kklx0M1v.cjs +0 -1
- package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +0 -1
- package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +0 -1
- package/dist/pie-WAS4IAKB-BOR5Wwai.js +0 -3
- package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +0 -39
- package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +0 -7
- package/dist/radar-RG4KPBEZ-BwLQFFzF.js +0 -3
- package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +0 -1
- package/dist/railroad-74A4TZTK-CaWzRQE0.js +0 -3
- package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +0 -1
- package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +0 -3
- package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +0 -3
- package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +0 -1
- package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +0 -3
- package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +0 -1
- package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +0 -84
- package/dist/rough.esm-r0QOSzHM.cjs +0 -1
- package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +0 -40
- package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +0 -162
- package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +0 -1
- package/dist/src-B16ML7oM.cjs +0 -1
- package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +0 -1
- package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +0 -1
- package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +0 -30
- package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +0 -1
- package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +0 -31
- package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +0 -8
- package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +0 -120
- package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +0 -3
- package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +0 -1
- package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +0 -1
- package/dist/treemap-WGGIJYW6-D4tTzsvR.js +0 -3
- package/dist/v4-Dyp-SQ1c.cjs +0 -1
- package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +0 -34
- package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +0 -1
- package/dist/wardley-WFR3VGLG-D1o3hFSK.js +0 -3
- package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +0 -78
- package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +0 -7
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs"),n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),r=require("./chunk-75Z2AOVW-RbCLc-XL.cjs");require("./chunk-P2QGCYS3-DqT85Q-S.cjs"),require("./chunk-PWAF6VOD-CjrO-QHU.cjs"),require("./chunk-GMAD6QVW-BVSRANO9.cjs");const i=require("./chunk-4HAMMTFA-Db_fcZEn.cjs"),a=require("./chunk-F27PBJKO-C5NrgqMI.cjs");var o=(function(){var e=n.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[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=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],K=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],q=[1,82],J=[1,83],Y=[1,84],X=[1,85],Z=[12,14,42],ne=[12,14,33,42],re=[12,14,33,42,76,77,79,80],ie=[12,33],ae=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],oe={trace:n.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:`error`,6:`direction_tb`,7:`direction_bt`,8:`direction_rl`,9:`direction_lr`,11:`C4_CONTEXT`,12:`NEWLINE`,14:`EOF`,15:`C4_CONTAINER`,16:`C4_COMPONENT`,17:`C4_DYNAMIC`,18:`C4_DEPLOYMENT`,22:`title`,23:`accDescription`,24:`acc_title`,25:`acc_title_value`,26:`acc_descr`,27:`acc_descr_value`,28:`acc_descr_multiline_value`,33:`LBRACE`,34:`ENTERPRISE_BOUNDARY`,36:`SYSTEM_BOUNDARY`,37:`BOUNDARY`,38:`CONTAINER_BOUNDARY`,39:`NODE`,40:`NODE_L`,41:`NODE_R`,42:`RBRACE`,44:`PERSON`,45:`PERSON_EXT`,46:`SYSTEM`,47:`SYSTEM_DB`,48:`SYSTEM_QUEUE`,49:`SYSTEM_EXT`,50:`SYSTEM_EXT_DB`,51:`SYSTEM_EXT_QUEUE`,52:`CONTAINER`,53:`CONTAINER_DB`,54:`CONTAINER_QUEUE`,55:`CONTAINER_EXT`,56:`CONTAINER_EXT_DB`,57:`CONTAINER_EXT_QUEUE`,58:`COMPONENT`,59:`COMPONENT_DB`,60:`COMPONENT_QUEUE`,61:`COMPONENT_EXT`,62:`COMPONENT_EXT_DB`,63:`COMPONENT_EXT_QUEUE`,64:`REL`,65:`BIREL`,66:`REL_U`,67:`REL_D`,68:`REL_L`,69:`REL_R`,70:`REL_B`,71:`REL_INDEX`,72:`UPDATE_EL_STYLE`,73:`UPDATE_REL_STYLE`,74:`UPDATE_LAYOUT_CONFIG`,76:`STR`,77:`STR_KEY`,78:`STR_VALUE`,79:`ATTRIBUTE`,80:`ATTRIBUTE_EMPTY`},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:n.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:r.setDirection(`TB`);break;case 4:r.setDirection(`BT`);break;case 5:r.setDirection(`RL`);break;case 6:r.setDirection(`LR`);break;case 8:case 9:case 10:case 11:case 12:r.setC4Type(a[s-3]);break;case 19:r.setTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 20:r.setAccDescription(a[s].substring(15)),this.$=a[s].substring(15);break;case 21:this.$=a[s].trim(),r.setTitle(this.$);break;case 22:case 23:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 28:a[s].splice(2,0,`ENTERPRISE`),r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 29:a[s].splice(2,0,`SYSTEM`),r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 30:r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 31:a[s].splice(2,0,`CONTAINER`),r.addContainerBoundary(...a[s]),this.$=a[s];break;case 32:r.addDeploymentNode(`node`,...a[s]),this.$=a[s];break;case 33:r.addDeploymentNode(`nodeL`,...a[s]),this.$=a[s];break;case 34:r.addDeploymentNode(`nodeR`,...a[s]),this.$=a[s];break;case 35:r.popBoundaryParseStack();break;case 39:r.addPersonOrSystem(`person`,...a[s]),this.$=a[s];break;case 40:r.addPersonOrSystem(`external_person`,...a[s]),this.$=a[s];break;case 41:r.addPersonOrSystem(`system`,...a[s]),this.$=a[s];break;case 42:r.addPersonOrSystem(`system_db`,...a[s]),this.$=a[s];break;case 43:r.addPersonOrSystem(`system_queue`,...a[s]),this.$=a[s];break;case 44:r.addPersonOrSystem(`external_system`,...a[s]),this.$=a[s];break;case 45:r.addPersonOrSystem(`external_system_db`,...a[s]),this.$=a[s];break;case 46:r.addPersonOrSystem(`external_system_queue`,...a[s]),this.$=a[s];break;case 47:r.addContainer(`container`,...a[s]),this.$=a[s];break;case 48:r.addContainer(`container_db`,...a[s]),this.$=a[s];break;case 49:r.addContainer(`container_queue`,...a[s]),this.$=a[s];break;case 50:r.addContainer(`external_container`,...a[s]),this.$=a[s];break;case 51:r.addContainer(`external_container_db`,...a[s]),this.$=a[s];break;case 52:r.addContainer(`external_container_queue`,...a[s]),this.$=a[s];break;case 53:r.addComponent(`component`,...a[s]),this.$=a[s];break;case 54:r.addComponent(`component_db`,...a[s]),this.$=a[s];break;case 55:r.addComponent(`component_queue`,...a[s]),this.$=a[s];break;case 56:r.addComponent(`external_component`,...a[s]),this.$=a[s];break;case 57:r.addComponent(`external_component_db`,...a[s]),this.$=a[s];break;case 58:r.addComponent(`external_component_queue`,...a[s]),this.$=a[s];break;case 60:r.addRel(`rel`,...a[s]),this.$=a[s];break;case 61:r.addRel(`birel`,...a[s]),this.$=a[s];break;case 62:r.addRel(`rel_u`,...a[s]),this.$=a[s];break;case 63:r.addRel(`rel_d`,...a[s]),this.$=a[s];break;case 64:r.addRel(`rel_l`,...a[s]),this.$=a[s];break;case 65:r.addRel(`rel_r`,...a[s]),this.$=a[s];break;case 66:r.addRel(`rel_b`,...a[s]),this.$=a[s];break;case 67:a[s].splice(0,1),r.addRel(`rel`,...a[s]),this.$=a[s];break;case 68:r.updateElStyle(`update_el_style`,...a[s]),this.$=a[s];break;case 69:r.updateRelStyle(`update_rel_style`,...a[s]),this.$=a[s];break;case 70:r.updateLayoutConfig(`update_layout_config`,...a[s]),this.$=a[s];break;case 71:this.$=[a[s]];break;case 72:a[s].unshift(a[s-1]),this.$=a[s];break;case 73:case 75:this.$=a[s].trim();break;case 74:let e={};e[a[s-1].trim()]=a[s].trim(),this.$=e;break;case 76:this.$=``;break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:I,66:L,67:R,68:z,69:B,70:V,71:H,72:U,73:W,74:G},{13:70,19:20,20:21,21:22,22:t,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:I,66:L,67:R,68:z,69:B,70:V,71:H,72:U,73:W,74:G},{13:71,19:20,20:21,21:22,22:t,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:I,66:L,67:R,68:z,69:B,70:V,71:H,72:U,73:W,74:G},{13:72,19:20,20:21,21:22,22:t,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:I,66:L,67:R,68:z,69:B,70:V,71:H,72:U,73:W,74:G},{13:73,19:20,20:21,21:22,22:t,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:I,66:L,67:R,68:z,69:B,70:V,71:H,72:U,73:W,74:G},{14:[1,74]},e(ee,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:l,37:u,38:d,39:f,40:p,41:m,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:I,66:L,67:R,68:z,69:B,70:V,71:H,72:U,73:W,74:G}),e(ee,[2,14]),e(te,[2,16],{12:[1,76]}),e(ee,[2,36],{12:[1,77]}),e(K,[2,19]),e(K,[2,20]),{25:[1,78]},{27:[1,79]},e(K,[2,23]),{35:80,75:81,76:q,77:J,79:Y,80:X},{35:86,75:81,76:q,77:J,79:Y,80:X},{35:87,75:81,76:q,77:J,79:Y,80:X},{35:88,75:81,76:q,77:J,79:Y,80:X},{35:89,75:81,76:q,77:J,79:Y,80:X},{35:90,75:81,76:q,77:J,79:Y,80:X},{35:91,75:81,76:q,77:J,79:Y,80:X},{35:92,75:81,76:q,77:J,79:Y,80:X},{35:93,75:81,76:q,77:J,79:Y,80:X},{35:94,75:81,76:q,77:J,79:Y,80:X},{35:95,75:81,76:q,77:J,79:Y,80:X},{35:96,75:81,76:q,77:J,79:Y,80:X},{35:97,75:81,76:q,77:J,79:Y,80:X},{35:98,75:81,76:q,77:J,79:Y,80:X},{35:99,75:81,76:q,77:J,79:Y,80:X},{35:100,75:81,76:q,77:J,79:Y,80:X},{35:101,75:81,76:q,77:J,79:Y,80:X},{35:102,75:81,76:q,77:J,79:Y,80:X},{35:103,75:81,76:q,77:J,79:Y,80:X},{35:104,75:81,76:q,77:J,79:Y,80:X},e(Z,[2,59]),{35:105,75:81,76:q,77:J,79:Y,80:X},{35:106,75:81,76:q,77:J,79:Y,80:X},{35:107,75:81,76:q,77:J,79:Y,80:X},{35:108,75:81,76:q,77:J,79:Y,80:X},{35:109,75:81,76:q,77:J,79:Y,80:X},{35:110,75:81,76:q,77:J,79:Y,80:X},{35:111,75:81,76:q,77:J,79:Y,80:X},{35:112,75:81,76:q,77:J,79:Y,80:X},{35:113,75:81,76:q,77:J,79:Y,80:X},{35:114,75:81,76:q,77:J,79:Y,80:X},{35:115,75:81,76:q,77:J,79:Y,80:X},{20:116,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:I,66:L,67:R,68:z,69:B,70:V,71:H,72:U,73:W,74:G},{12:[1,118],33:[1,117]},{35:119,75:81,76:q,77:J,79:Y,80:X},{35:120,75:81,76:q,77:J,79:Y,80:X},{35:121,75:81,76:q,77:J,79:Y,80:X},{35:122,75:81,76:q,77:J,79:Y,80:X},{35:123,75:81,76:q,77:J,79:Y,80:X},{35:124,75:81,76:q,77:J,79:Y,80:X},{35:125,75:81,76:q,77:J,79:Y,80:X},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(ee,[2,15]),e(te,[2,17],{21:22,19:130,22:t,23:r,24:i,26:a,28:o}),e(ee,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:r,24:i,26:a,28:o,34:s,36:l,37:u,38:d,39:f,40:p,41:m,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:I,66:L,67:R,68:z,69:B,70:V,71:H,72:U,73:W,74:G}),e(K,[2,21]),e(K,[2,22]),e(Z,[2,39]),e(ne,[2,71],{75:81,35:132,76:q,77:J,79:Y,80:X}),e(re,[2,73]),{78:[1,133]},e(re,[2,75]),e(re,[2,76]),e(Z,[2,40]),e(Z,[2,41]),e(Z,[2,42]),e(Z,[2,43]),e(Z,[2,44]),e(Z,[2,45]),e(Z,[2,46]),e(Z,[2,47]),e(Z,[2,48]),e(Z,[2,49]),e(Z,[2,50]),e(Z,[2,51]),e(Z,[2,52]),e(Z,[2,53]),e(Z,[2,54]),e(Z,[2,55]),e(Z,[2,56]),e(Z,[2,57]),e(Z,[2,58]),e(Z,[2,60]),e(Z,[2,61]),e(Z,[2,62]),e(Z,[2,63]),e(Z,[2,64]),e(Z,[2,65]),e(Z,[2,66]),e(Z,[2,67]),e(Z,[2,68]),e(Z,[2,69]),e(Z,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(ie,[2,28]),e(ie,[2,29]),e(ie,[2,30]),e(ie,[2,31]),e(ie,[2,32]),e(ie,[2,33]),e(ie,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(te,[2,18]),e(ee,[2,38]),e(ne,[2,72]),e(re,[2,74]),e(Z,[2,24]),e(Z,[2,35]),e(ae,[2,25]),e(ae,[2,26],{12:[1,138]}),e(ae,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:n.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n.n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,l=``,u=0,d=0,f=0,p=2,m=1,h=o.slice.call(arguments,1),g=Object.create(this.lexer),_={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(_.yy[v]=this.yy[v]);g.setInput(e,_.yy),_.yy.lexer=g,_.yy.parser=this,g.yylloc===void 0&&(g.yylloc={});var y=g.yylloc;o.push(y);var b=g.options&&g.options.ranges;typeof _.yy.parseError==`function`?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(e){r.length-=2*e,a.length-=e,o.length-=e}n.n(x,`popStack`);function S(){var e=i.pop()||g.lex()||m;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n.n(S,`lex`);for(var C,w,T,E,D,O={},k,A,j,M;;){if(T=r[r.length-1],this.defaultActions[T]?E=this.defaultActions[T]:(C??=S(),E=s[T]&&s[T][C]),E===void 0||!E.length||!E[0]){var N=``;for(k in M=[],s[T])this.terminals_[k]&&k>p&&M.push(`'`+this.terminals_[k]+`'`);N=g.showPosition?`Parse error on line `+(u+1)+`:
|
|
2
|
-
`+g.showPosition()+`
|
|
3
|
-
Expecting `+M.join(`, `)+`, got '`+(this.terminals_[C]||C)+`'`:`Parse error on line `+(u+1)+`: Unexpected `+(C==m?`end of input`:`'`+(this.terminals_[C]||C)+`'`),this.parseError(N,{text:g.match,token:this.terminals_[C]||C,line:g.yylineno,loc:y,expected:M})}if(E[0]instanceof Array&&E.length>1)throw Error(`Parse Error: multiple actions possible at state: `+T+`, token: `+C);switch(E[0]){case 1:r.push(C),a.push(g.yytext),o.push(g.yylloc),r.push(E[1]),C=null,w?(C=w,w=null):(d=g.yyleng,l=g.yytext,u=g.yylineno,y=g.yylloc,f>0&&f--);break;case 2:if(A=this.productions_[E[1]][1],O.$=a[a.length-A],O._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},b&&(O._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),D=this.performAction.apply(O,[l,d,u,_.yy,E[1],a,o].concat(h)),D!==void 0)return D;A&&(r=r.slice(0,-1*A*2),a=a.slice(0,-1*A),o=o.slice(0,-1*A)),r.push(this.productions_[E[1]][0]),a.push(O.$),o.push(O._$),j=s[r[r.length-2]][r[r.length-1]],r.push(j);break;case 3:return!0}}return!0},`parse`)};oe.lexer=(function(){return{EOF:1,parseError:n.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:n.n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:n.n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:n.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:n.n(function(){return this._more=!0,this},`more`),reject:n.n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:n.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:n.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:n.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:n.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
-
`+t+`^`},`showPosition`),test_match:n.n(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:n.n(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:n.n(function(){return this.next()||this.lex()},`lex`),begin:n.n(function(e){this.conditionStack.push(e)},`begin`),popState:n.n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:n.n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:n.n(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:n.n(function(e){this.begin(e)},`pushState`),stateStackSize:n.n(function(){return this.conditionStack.length},`stateStackSize`),options:{},performAction:n.n(function(e,t,n,r){switch(n){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin(`acc_title`),24;case 7:return this.popState(),`acc_title_value`;case 8:return this.begin(`acc_descr`),26;case 9:return this.popState(),`acc_descr_value`;case 10:this.begin(`acc_descr_multiline`);break;case 11:this.popState();break;case 12:return`acc_descr_multiline_value`;case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin(`person_ext`),45;case 23:return this.begin(`person`),44;case 24:return this.begin(`system_ext_queue`),51;case 25:return this.begin(`system_ext_db`),50;case 26:return this.begin(`system_ext`),49;case 27:return this.begin(`system_queue`),48;case 28:return this.begin(`system_db`),47;case 29:return this.begin(`system`),46;case 30:return this.begin(`boundary`),37;case 31:return this.begin(`enterprise_boundary`),34;case 32:return this.begin(`system_boundary`),36;case 33:return this.begin(`container_ext_queue`),57;case 34:return this.begin(`container_ext_db`),56;case 35:return this.begin(`container_ext`),55;case 36:return this.begin(`container_queue`),54;case 37:return this.begin(`container_db`),53;case 38:return this.begin(`container`),52;case 39:return this.begin(`container_boundary`),38;case 40:return this.begin(`component_ext_queue`),63;case 41:return this.begin(`component_ext_db`),62;case 42:return this.begin(`component_ext`),61;case 43:return this.begin(`component_queue`),60;case 44:return this.begin(`component_db`),59;case 45:return this.begin(`component`),58;case 46:return this.begin(`node`),39;case 47:return this.begin(`node`),39;case 48:return this.begin(`node_l`),40;case 49:return this.begin(`node_r`),41;case 50:return this.begin(`rel`),64;case 51:return this.begin(`birel`),65;case 52:return this.begin(`rel_u`),66;case 53:return this.begin(`rel_u`),66;case 54:return this.begin(`rel_d`),67;case 55:return this.begin(`rel_d`),67;case 56:return this.begin(`rel_l`),68;case 57:return this.begin(`rel_l`),68;case 58:return this.begin(`rel_r`),69;case 59:return this.begin(`rel_r`),69;case 60:return this.begin(`rel_b`),70;case 61:return this.begin(`rel_index`),71;case 62:return this.begin(`update_el_style`),72;case 63:return this.begin(`update_rel_style`),73;case 64:return this.begin(`update_layout_config`),74;case 65:return`EOF_IN_STRUCT`;case 66:return this.begin(`attribute`),`ATTRIBUTE_EMPTY`;case 67:this.begin(`attribute`);break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin(`string`);break;case 73:this.popState();break;case 74:return`STR`;case 75:this.begin(`string_kv`);break;case 76:return this.begin(`string_kv_key`),`STR_KEY`;case 77:this.popState(),this.begin(`string_kv_value`);break;case 78:return`STR_VALUE`;case 79:this.popState(),this.popState();break;case 80:return`STR`;case 81:return`LBRACE`;case 82:return`RBRACE`;case 83:return`SPACE`;case 84:return`EOL`;case 85:return 14}},`anonymous`),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}}})();function se(){this.yy={}}return n.n(se,`Parser`),se.prototype=oe,oe.Parser=se,new se})();o.parser=o;var s=o,l=n.n(e=>t.x()[e],`getRequiredConfig`),u=n.n((e,t)=>{for(let[n,r]of Object.entries(t))if(r!==void 0)if(typeof r==`object`){let[t,n]=Object.entries(r)[0];e[t]=n}else e[n]=r},`assignAttributes`),d=n.n(()=>({alias:`global`,label:{text:`global`},type:{text:`global`},tags:null,link:null,parentBoundary:``}),`createGlobalBoundary`),f=[],p=[``],m=`global`,h=``,g=[d()],_=[],v=``,y=!1,b=4,x=2,S,C=n.n(function(){return S},`getC4Type`),w=n.n(function(e){S=t.z(e,t.x())},`setC4Type`),T=n.n(function(e,t,n,r,i,a,o,s,l){if(e==null||t==null||n==null||r==null)return;let d={},f=_.find(e=>e.from===t&&e.to===n);if(f?d=f:_.push(d),d.type=e,d.from=t,d.to=n,d.label={text:r},i==null)d.techn={text:``};else if(typeof i==`object`){let[e,t]=Object.entries(i)[0];d[e]={text:t}}else d.techn={text:i};if(a==null)d.descr={text:``};else if(typeof a==`object`){let[e,t]=Object.entries(a)[0];d[e]={text:t}}else d.descr={text:a};u(d,{sprite:o,tags:s,link:l}),d.wrap=K()},`addRel`),E=n.n(function(e,t,n,r,i,a,o){if(t===null||n===null)return;let s={},l=f.find(e=>e.alias===t);if(l&&t===l.alias?s=l:(s.alias=t,f.push(s)),n==null?s.label={text:``}:s.label={text:n},r==null)s.descr={text:``};else if(typeof r==`object`){let[e,t]=Object.entries(r)[0];s[e]={text:t}}else s.descr={text:r};u(s,{sprite:i,tags:a,link:o}),s.typeC4Shape={text:e},s.parentBoundary=m,s.wrap=K()},`addPersonOrSystem`),D=n.n(function(e,t,n,r,i,a,o,s){if(t===null||n===null)return;let l={},d=f.find(e=>e.alias===t);if(d&&t===d.alias?l=d:(l.alias=t,f.push(l)),n==null?l.label={text:``}:l.label={text:n},r==null)l.techn={text:``};else if(typeof r==`object`){let[e,t]=Object.entries(r)[0];l[e]={text:t}}else l.techn={text:r};if(i==null)l.descr={text:``};else if(typeof i==`object`){let[e,t]=Object.entries(i)[0];l[e]={text:t}}else l.descr={text:i};u(l,{sprite:a,tags:o,link:s}),l.wrap=K(),l.typeC4Shape={text:e},l.parentBoundary=m},`addContainer`),O=n.n(function(e,t,n,r,i,a,o,s){if(t===null||n===null)return;let l={},d=f.find(e=>e.alias===t);if(d&&t===d.alias?l=d:(l.alias=t,f.push(l)),n==null?l.label={text:``}:l.label={text:n},r==null)l.techn={text:``};else if(typeof r==`object`){let[e,t]=Object.entries(r)[0];l[e]={text:t}}else l.techn={text:r};if(i==null)l.descr={text:``};else if(typeof i==`object`){let[e,t]=Object.entries(i)[0];l[e]={text:t}}else l.descr={text:i};u(l,{sprite:a,tags:o,link:s}),l.wrap=K(),l.typeC4Shape={text:e},l.parentBoundary=m},`addComponent`),k=n.n(function(e,t,n,r,i){if(e===null||t===null)return;let a={},o=g.find(t=>t.alias===e);if(o&&e===o.alias?a=o:(a.alias=e,g.push(a)),t==null?a.label={text:``}:a.label={text:t},n==null)a.type={text:`system`};else if(typeof n==`object`){let[e,t]=Object.entries(n)[0];a[e]={text:t}}else a.type={text:n};u(a,{tags:r,link:i}),a.parentBoundary=m,a.wrap=K(),h=m,m=e,p.push(h)},`addPersonOrSystemBoundary`),A=n.n(function(e,t,n,r,i){if(e===null||t===null)return;let a={},o=g.find(t=>t.alias===e);if(o&&e===o.alias?a=o:(a.alias=e,g.push(a)),t==null?a.label={text:``}:a.label={text:t},n==null)a.type={text:`container`};else if(typeof n==`object`){let[e,t]=Object.entries(n)[0];a[e]={text:t}}else a.type={text:n};u(a,{tags:r,link:i}),a.parentBoundary=m,a.wrap=K(),h=m,m=e,p.push(h)},`addContainerBoundary`),j=n.n(function(e,t,n,r,i,a,o,s){if(t===null||n===null)return;let l={},d=g.find(e=>e.alias===t);if(d&&t===d.alias?l=d:(l.alias=t,g.push(l)),n==null?l.label={text:``}:l.label={text:n},r==null)l.type={text:`node`};else if(typeof r==`object`){let[e,t]=Object.entries(r)[0];l[e]={text:t}}else l.type={text:r};if(i==null)l.descr={text:``};else if(typeof i==`object`){let[e,t]=Object.entries(i)[0];l[e]={text:t}}else l.descr={text:i};u(l,{tags:o,link:s}),l.nodeType=e,l.parentBoundary=m,l.wrap=K(),h=m,m=t,p.push(h)},`addDeploymentNode`),M=n.n(function(){m=h,p.pop(),h=p.pop(),p.push(h)},`popBoundaryParseStack`),N=n.n(function(e,t,n,r,i,a,o,s,l,u,d){let p=f.find(e=>e.alias===t);if(!(p===void 0&&(p=g.find(e=>e.alias===t),p===void 0))){if(n!=null)if(typeof n==`object`){let[e,t]=Object.entries(n)[0];p[e]=t}else p.bgColor=n;if(r!=null)if(typeof r==`object`){let[e,t]=Object.entries(r)[0];p[e]=t}else p.fontColor=r;if(i!=null)if(typeof i==`object`){let[e,t]=Object.entries(i)[0];p[e]=t}else p.borderColor=i;if(a!=null)if(typeof a==`object`){let[e,t]=Object.entries(a)[0];p[e]=t}else p.shadowing=a;if(o!=null)if(typeof o==`object`){let[e,t]=Object.entries(o)[0];p[e]=t}else p.shape=o;if(s!=null)if(typeof s==`object`){let[e,t]=Object.entries(s)[0];p[e]=t}else p.sprite=s;if(l!=null)if(typeof l==`object`){let[e,t]=Object.entries(l)[0];p[e]=t}else p.techn=l;if(u!=null)if(typeof u==`object`){let[e,t]=Object.entries(u)[0];p[e]=t}else p.legendText=u;if(d!=null)if(typeof d==`object`){let[e,t]=Object.entries(d)[0];p[e]=t}else p.legendSprite=d}},`updateElStyle`),P=n.n(function(e,t,n,r,i,a,o){let s=_.find(e=>e.from===t&&e.to===n);if(s!==void 0){if(r!=null)if(typeof r==`object`){let[e,t]=Object.entries(r)[0];s[e]=t}else s.textColor=r;if(i!=null)if(typeof i==`object`){let[e,t]=Object.entries(i)[0];s[e]=t}else s.lineColor=i;if(a!=null)if(typeof a==`object`){let[e,t]=Object.entries(a)[0];s[e]=parseInt(t)}else s.offsetX=parseInt(a);if(o!=null)if(typeof o==`object`){let[e,t]=Object.entries(o)[0];s[e]=parseInt(t)}else s.offsetY=parseInt(o)}},`updateRelStyle`),F=n.n(function(e,t,n){let r=b,i=x;if(typeof t==`object`){let e=Object.values(t)[0];r=parseInt(e)}else r=parseInt(t);if(typeof n==`object`){let e=Object.values(n)[0];i=parseInt(e)}else i=parseInt(n);r>=1&&(b=r),i>=1&&(x=i)},`updateLayoutConfig`),I=n.n(function(){return b},`getC4ShapeInRow`),L=n.n(function(){return x},`getC4BoundaryInRow`),R=n.n(function(){return m},`getCurrentBoundaryParse`),z=n.n(function(){return h},`getParentBoundaryParse`),B=n.n(function(e){return e==null?f:f.filter(t=>t.parentBoundary===e)},`getC4ShapeArray`),V=n.n(function(e){return f.find(t=>t.alias===e)},`getC4Shape`),H=n.n(function(e){return Object.keys(B(e))},`getC4ShapeKeys`),U=n.n(function(e){return e==null?g:g.filter(t=>t.parentBoundary===e)},`getBoundaries`),W=U,G=n.n(function(){return _},`getRels`),ee=n.n(function(){return v},`getTitle`),te=n.n(function(e){y=e},`setWrap`),K=n.n(function(){return y},`autoWrap`),q={addPersonOrSystem:E,addPersonOrSystemBoundary:k,addContainer:D,addContainerBoundary:A,addComponent:O,addDeploymentNode:j,popBoundaryParseStack:M,addRel:T,updateElStyle:N,updateRelStyle:P,updateLayoutConfig:F,autoWrap:K,setWrap:te,getC4ShapeArray:B,getC4Shape:V,getC4ShapeKeys:H,getBoundaries:U,getBoundarys:W,getCurrentBoundaryParse:R,getParentBoundaryParse:z,getRels:G,getTitle:ee,getC4Type:C,getC4ShapeInRow:I,getC4BoundaryInRow:L,setAccTitle:t.U,getAccTitle:t.y,getAccDescription:t.v,setAccDescription:t.H,getConfig:n.n(()=>l(`c4`),`getConfig`),clear:n.n(function(){f=[],g=[d()],h=``,m=`global`,p=[``],_=[],p=[``],v=``,y=!1,b=4,x=2},`clear`),LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:n.n(function(e){v=t.z(e,t.x())},`setTitle`),setC4Type:w},J=n.n(function(e,t){return a.a(e,t)},`drawRect`),Y=n.n((e,t,n,r)=>{let i=e.append(`g`),a=0;for(let e of t){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;if(a===0){let t=i.append(`line`);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}else{let t=i.append(`path`);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)`)}let u=e.label.width,d=n.messageFont();ce(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(),ce(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,{fill:t,"font-style":`italic`},d))}},`drawRels`),X=n.n(function(e,t,n){let r=e.append(`g`),i=t.bgColor?t.bgColor:`none`,a=t.borderColor?t.borderColor:`#444444`,o=t.fontColor?t.fontColor:`black`,s={"stroke-width":1,"stroke-dasharray":`7.0,7.0`};t.nodeType&&(s={"stroke-width":1}),J(r,{x:t.x,y:t.y,fill:i,stroke:a,width:t.width,height:t.height,rx:2.5,ry:2.5,attrs:s});let l=n.boundaryFont();l.fontWeight=`bold`,l.fontSize+=2,l.fontColor=o,ce(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,ce(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,ce(n)(t.descr.text,r,t.x,t.y+t.descr.Y,t.width,t.height,{fill:`#444444`},l))},`drawBoundary`),Z=n.n(function(e,t){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`)},`insertDatabaseIcon`),ne=n.n(function(e,t){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`)},`insertComputerIcon`),re=n.n(function(e,t){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`)},`insertClockIcon`),ie=n.n(function(e,t){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`)},`insertArrowHead`),ae=n.n(function(e,t){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`)},`insertArrowEnd`),oe=n.n(function(e,t){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`)},`insertArrowFilledHead`),se=n.n(function(e,t){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);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`)},`insertArrowCrossHead`),ce=(function(){function e(e,t,n,r,i,o,s){a(t.append(`text`).attr(`x`,n+i/2).attr(`y`,r+o/2+5).style(`text-anchor`,`middle`).text(e),s)}n.n(e,`byText`);function r(e,n,r,i,o,s,l,u){let{fontSize:d,fontFamily:f,fontWeight:p}=u,m=e.split(t.s.lineBreakRegex);for(let e=0;e<m.length;e++){let t=e*d-d*(m.length-1)/2,s=n.append(`text`).attr(`x`,r+o/2).attr(`y`,i).style(`text-anchor`,`middle`).attr(`dominant-baseline`,`middle`).style(`font-size`,d).style(`font-weight`,p).style(`font-family`,f);s.append(`tspan`).attr(`dy`,t).text(m[e]).attr(`alignment-baseline`,`mathematical`),a(s,l)}}n.n(r,`byTspan`);function i(e,t,n,i,o,s,l,u){let d=t.append(`switch`),f=d.append(`foreignObject`).attr(`x`,n).attr(`y`,i).attr(`width`,o).attr(`height`,s).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);f.append(`div`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),r(e,d,n,i,o,s,l,u),a(f,l)}n.n(i,`byFo`);function a(e,t){for(let n in t)t.hasOwnProperty(n)&&e.attr(n,t[n])}return n.n(a,`_setTextAttrs`),function(t){return t.textPlacement===`fo`?i:t.textPlacement===`old`?e:r}})(),Q={drawRect:J,drawBoundary:X,drawRels:Y,insertArrowHead:ie,insertArrowEnd:ae,insertArrowFilledHead:oe,insertArrowCrossHead:se,insertDatabaseIcon:Z,insertComputerIcon:ne,insertClockIcon:re},le=n.n((t,n)=>{if(n===`sandbox`){let n=e.p(`#i`+t).node()?.contentDocument;if(!n)throw Error(`Sandbox iframe #i${t} is missing its content document`);return{root:e.p(n.body),doc:n}}return{root:e.p(`body`),doc:document}},`getDiagramRoot`),ue=new Set([`system_queue`,`external_system_queue`,`container_queue`,`external_container_queue`,`component_queue`,`external_component_queue`]),de=new Set([`system_db`,`external_system_db`,`container_db`,`external_container_db`,`component_db`,`external_component_db`]),fe={person:`person`,box:`rounded`,rounded:`rounded`,cylinder:`cylinder`,database:`cylinder`,db:`cylinder`,queue:`h-cyl`,pipe:`h-cyl`,component:`fr-rect`},pe=n.n(e=>e?fe[e.toLowerCase()]:void 0,`keywordShape`),me=n.n(e=>{let t=pe(e.shape)??pe(e.sprite);if(t)return t;if(e.tags)for(let t of e.tags.split(`,`)){let e=pe(t.trim());if(e)return e}let n=e.typeC4Shape.text;return n===`person`||n===`external_person`?`person`:de.has(n)?`cylinder`:ue.has(n)?`h-cyl`:`rounded`},`resolveNodeShape`),he={person:`Person`,system:`Software System`,container:`Container`,component:`Component`},ge=n.n(e=>{let t=e.replace(/^external_/,``).replace(/_(db|queue)$/,``);return he[t]??t.replace(/_/g,` `)},`stereotypeLabel`),_e=n.n(e=>e.startsWith(`external_`),`isExternal`),ve=n.n(e=>{let t=ge(e.typeC4Shape.text);return e.techn?.text?`[${t}: ${e.techn.text}]`:`[${t}]`},`stereotypeText`),ye=[`person`,`system`,`system_db`,`system_queue`,`container`,`container_db`,`container_queue`,`component`,`component_db`,`component_queue`].flatMap(e=>[e,`external_${e}`]),be=new Set(ye),xe=n.n(e=>be.has(e),`isC4ElementType`),Se=n.n((e,t)=>{let n=e.typeC4Shape.text,r=e.bgColor??(xe(n)&&t[`${n}_bg_color`]),i=e.borderColor??(xe(n)&&t[`${n}_border_color`]),a=[];return r&&a.push(`fill:${r}`),i&&a.push(`stroke:${i}`),a.push(`color:${e.fontColor??`#FFFFFF`}`),a},`elementCssStyles`),Ce=n.n((e,t,n,r,i)=>{let a=e.typeC4Shape.text,o=[`c4-shape`,`c4-${a}`];_e(a)&&o.push(`c4-external`);let s=me(e),l=Se(e,t);return(s===`rounded`||s===`fr-rect`)&&l.push(`rx:12px`,`ry:12px`),{id:e.alias,label:e.label.text,stereotype:ve(e),description:e.descr?.text?[e.descr.text]:void 0,labelType:`string`,isGroup:!1,shape:s,cssClasses:o.join(` `),cssStyles:l,padding:n,look:r,useHtmlLabels:!1,width:i}},`buildC4Node`),we=0,Te=0,Ee=4,De=2;o.yy=q;var $={},Oe=class{static{n.n(this,`Bounds`)}constructor(e){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,ke(e.db.getConfig())}setData(e,t,n,r){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}updateVal(e,t,n,r){e[t]===void 0?e[t]=n:e[t]=r(n,e[t])}insert(e){this.nextData.cnt=this.nextData.cnt+1;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;(r>=n||i>=n||this.nextData.cnt>Ee)&&(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)}init(e){this.name=``,this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},ke(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},ke=n.n(function(e){t.r($,e),e?.fontFamily&&($.personFontFamily=$.systemFontFamily=$.messageFontFamily=e.fontFamily),e?.fontSize&&($.personFontSize=$.systemFontSize=$.messageFontSize=e.fontSize),e?.fontWeight&&($.personFontWeight=$.systemFontWeight=$.messageFontWeight=e.fontWeight)},`setConf`),Ae=n.n(e=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),`boundaryFont`),je=n.n(e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}),`messageFont`);function Me(e,n,i,a,o){let s=n[e];if(!s.width)if(i)s.text=r._(s.text,o,a),s.textLines=s.text.split(t.s.lineBreakRegex).length,s.width=o,s.height=r.n(s.text,a);else{let e=s.text.split(t.s.lineBreakRegex);s.textLines=e.length;let n=0;s.height=0,s.width=0;for(let t of e)s.width=Math.max(r.r(t,a),s.width),n=r.n(t,a),s.height+=n}return s}n.n(Me,`calcC4ShapeTextWH`);var Ne=n.n(function(e,t,n){let i=n.data.startx,a=n.data.starty;t.x=i,t.y=a,t.width=n.data.stopx-i,t.height=n.data.stopy-a,t.label.y=$.c4ShapeMargin-35;let o=t.wrap&&$.wrap,s=Ae($);s.fontSize+=2,s.fontWeight=`bold`,Me(`label`,t,o,s,r.r(t.label.text,s)),Q.drawBoundary(e,t,$)},`drawBoundary`),Pe=n.n(async function(e,r,a,o){let s=t.x(),l=s.look??`classic`,u={config:s},d=r.attr(`id`)??``,f=o.map(e=>a[Number(e)]),p=n.n(e=>{let t=e.shape?i.o[e.shape]:void 0;if(!t)throw Error(`C4: no shape handler for "${e.shape}"`);return t},`shapeHandlerFor`);await Promise.all(f.map(async e=>{let t=Ce(e,$,$.c4ShapePadding,l,$.width);t.domId=`${d}-${t.id}`;let n=await p(t)(r,t,u);e.width=t.width??$.width,e.height=t.height??$.height,e.margin=$.c4ShapeMargin,n.remove()}));for(let t of f)e.insert(t);await Promise.all(f.map(async e=>{let t=Ce(e,$,$.c4ShapePadding,l,$.width);t.domId=`${d}-${t.id}`,t.x=e.x+e.width/2,t.y=e.y+e.height/2;let n=r.append(`g`).attr(`transform`,`translate(${e.x+e.width/2}, ${e.y+e.height/2})`);await p(t)(n,t,u),e.intersect=t.intersect})),e.bumpLastMargin($.c4ShapeMargin)},`drawC4ShapeArray`),Fe=class{static{n.n(this,`Point`)}constructor(e,t){this.x=e,this.y=t}},Ie=n.n(function(e,t){if(!e.intersect)throw Error(`C4 shape "${e.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:n,y:r}=e.intersect(t);return new Fe(n,r)},`getIntersectPoint`),Le=n.n(function(e,t){let n={x:0,y:0};n.x=t.x+t.width/2,n.y=t.y+t.height/2;let r=Ie(e,n);return n.x=e.x+e.width/2,n.y=e.y+e.height/2,{startPoint:r,endPoint:Ie(t,n)}},`getIntersectPoints`),Re=n.n(function(e,t,n,i,a){let o=i.db.getC4Type(),s=0;for(let e of t){s+=1;let t=e.wrap&&$.wrap,i=je($);o===`C4Dynamic`&&(e.label.text=s+`: `+e.label.text);let a=r.r(e.label.text,i);Me(`label`,e,t,i,a),e.techn&&e.techn.text!==``&&(a=r.r(e.techn.text,i),Me(`techn`,e,t,i,a)),e.descr&&e.descr.text!==``&&(a=r.r(e.descr.text,i),Me(`descr`,e,t,i,a));let l=n(e.from),u=n(e.to);if(!l||!u)throw Error(`C4 rel "${e.from}" -> "${e.to}" references an unknown shape`);let d=Le(l,u);if(!d.startPoint||!d.endPoint)throw Error(`Could not calculate intersection points for rel "${e.from}" -> "${e.to}"`);e.startPoint=d.startPoint,e.endPoint=d.endPoint}Q.drawRels(e,t,$,a)},`drawRels`);async function ze(e,t,n,r,i){let a=i.db,o=new Oe(i);o.data.widthLimit=n.data.widthLimit/Math.min(De,r.length);for(let[s,l]of r.entries()){let r=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=r,r=l.image.Y+l.image.height);let u=l.wrap&&$.wrap,d=Ae($);d.fontSize+=2,d.fontWeight=`bold`;let f=Me(`label`,l,u,d,o.data.widthLimit);if(f.Y=r+8,r=f.Y+f.height,l.type&&l.type.text!==``){l.type.text=`[`+l.type.text+`]`;let e=Me(`type`,l,u,Ae($),o.data.widthLimit);e.Y=r+5,r=e.Y+e.height}if(l.descr&&l.descr.text!==``){let e=Ae($);e.fontSize-=2;let t=Me(`descr`,l,u,e,o.data.widthLimit);t.Y=r+20,r=t.Y+t.height}if(s==0||s%De===0){let e=n.data.startx+$.diagramMarginX,t=n.data.stopy+$.diagramMarginY+r;o.setData(e,e,t,t)}else{let e=o.data.stopx===o.data.startx?o.data.startx:o.data.stopx+$.diagramMarginX,t=o.data.starty;o.setData(e,e,t,t)}o.name=l.alias;let p=a.getC4ShapeArray(l.alias),m=a.getC4ShapeKeys(l.alias);m.length>0&&await Pe(o,e,p,m),t=l.alias;let h=a.getBoundaries(t);h.length>0&&await ze(e,t,o,h,i),l.alias!==`global`&&Ne(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),we=Math.max(we,n.data.stopx),Te=Math.max(Te,n.data.stopy)}}n.n(ze,`drawInsideBoundary`);var Be={drawPersonOrSystemArray:Pe,drawBoundary:Ne,setConf:ke,draw:n.n(async function(n,r,i,a){$=l(`c4`);let o=t.x().securityLevel,{root:s}=le(r,o),u=a.db;u.setWrap($.wrap),Ee=u.getC4ShapeInRow(),De=u.getC4BoundaryInRow(),e.m.debug(`C:${JSON.stringify($,null,2)}`);let d=s.select(`[id="${r}"]`);Q.insertComputerIcon(d,r),Q.insertDatabaseIcon(d,r),Q.insertClockIcon(d,r);let f=new Oe(a);f.setData($.diagramMarginX,$.diagramMarginX,$.diagramMarginY,$.diagramMarginY),f.data.widthLimit=screen.availWidth,we=$.diagramMarginX,Te=$.diagramMarginY;let p=u.getTitle();await ze(d,``,f,u.getBoundaries(``),a),Q.insertArrowHead(d,r),Q.insertArrowEnd(d,r),Q.insertArrowCrossHead(d,r),Q.insertArrowFilledHead(d,r),Re(d,u.getRels(),u.getC4Shape,a,r),f.data.stopx=we,f.data.stopy=Te;let m=f.data,h=m.startx,g=m.starty,_=Te-g+2*$.diagramMarginY,v=we-h,y=v+2*$.diagramMarginX;p&&d.append(`text`).text(p).attr(`x`,v/2-4*$.diagramMarginX).attr(`y`,g+$.diagramMarginY),t.c(d,_,y,$.useMaxWidth);let b=p?60:0;d.attr(`viewBox`,h-$.diagramMarginX+` -`+($.diagramMarginY+b)+` `+y+` `+(_+b)),e.m.debug(`models:`,m)},`draw`)},Ve=n.n(()=>{let e=t.x().c4??{},n=new CSSStyleSheet;for(let t of ye){let r=n.cssRules[n.insertRule(`.c4-shape.c4-${t} .label {}`,n.cssRules.length)],i=e[`${t}FontFamily`],a=e[`${t}FontSize`],o=e[`${t}FontWeight`];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))}return[...n.cssRules].filter(e=>e.style.length>0).map(e=>` ${e.cssText}`).join(`
|
|
7
|
-
`)},`elementFontStyles`),He={parser:s,db:q,renderer:Be,styles:n.n(e=>`.person {
|
|
8
|
-
stroke: ${e.personBorder};
|
|
9
|
-
fill: ${e.personBkg};
|
|
10
|
-
}
|
|
11
|
-
${Ve()}
|
|
12
|
-
|
|
13
|
-
/* The element font colour is set inline per element (default white); the
|
|
14
|
-
label text takes it via currentColor. */
|
|
15
|
-
.c4-shape .label,
|
|
16
|
-
.c4-shape .label text {
|
|
17
|
-
color: inherit;
|
|
18
|
-
fill: currentColor;
|
|
19
|
-
}
|
|
20
|
-
/* Structurizr typography: bold name, smaller stereotype/type and description lines. */
|
|
21
|
-
.c4-shape .label .c4-name {
|
|
22
|
-
font-weight: bold;
|
|
23
|
-
}
|
|
24
|
-
.c4-shape .label .c4-type {
|
|
25
|
-
font-size: 0.75em;
|
|
26
|
-
}
|
|
27
|
-
.c4-shape .label .c4-descr {
|
|
28
|
-
font-size: 0.82em;
|
|
29
|
-
}
|
|
30
|
-
.c4-shape .basic,
|
|
31
|
-
.c4-shape rect,
|
|
32
|
-
.c4-shape path,
|
|
33
|
-
.c4-shape circle,
|
|
34
|
-
.c4-shape ellipse,
|
|
35
|
-
.c4-shape line {
|
|
36
|
-
stroke-width: 2px;
|
|
37
|
-
}
|
|
38
|
-
`,`getStyles`),init:n.n(({c4:e,wrap:t})=>{Be.setConf(e),q.setWrap(t)},`init`)};exports.diagram=He;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-DU6HZSFF-mznJTFyO.cjs");var t=(t,n)=>e.at.lang.round(e.it.parse(t)[n]);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs"),n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),r=require("./chunk-75Z2AOVW-RbCLc-XL.cjs"),i=require("./chunk-4HAMMTFA-Db_fcZEn.cjs"),a=require("./chunk-GVQU2GXP-BiuaO1L5.cjs"),o=require("./chunk-L3NEJ4N5-B8UQMgqc.cjs"),s=require("./chunk-OSK3NFVY-DE9_ERt9.cjs"),c=require("./graphlib-CkkG5MuS.cjs");function l(e,{edgePathsClass:t=`edges edgePaths`}={}){let n=e.insert(`g`).attr(`class`,`root`);return{clusters:n.insert(`g`).attr(`class`,`clusters`),edgePaths:n.insert(`g`).attr(`class`,t),edgeLabels:n.insert(`g`).attr(`class`,`edgeLabels`),nodes:n.insert(`g`).attr(`class`,`nodes`),rootGroups:n}}n.n(l,`createLayoutElementGroups`);async function u(e,t){if(t.label){let{shapeSvg:n,bbox:r}=await i.a(e,t);t.labelBBox={width:r.width,height:r.height},n.remove()}else t.labelBBox={width:0,height:0}}n.n(u,`measureGroupLabel`);async function d(e,t,n){let r=await a.r(e,t,n),i=r.node()?.getBBox()??{width:0,height:0};return t.width=i.width,t.height=i.height,r}n.n(d,`insertMeasuredNode`);async function f(e,n){let r=new c.t({multigraph:!0,compound:!0}),i=[...n.edges],a=t.x(),o=l(e),{edgeLabels:f,nodes:p}=o,m=new Map,h=e.node()!=null;await Promise.all(n.nodes.map(async e=>{if(e.isGroup)h&&await u(p,e),r.setNode(e.id,{...e});else{if(h){let t=await d(p,e,{config:a,dir:e.dir});m.set(e.id,t)}r.setNode(e.id,{...e})}}));for(let e of i)h&&s.r(e)&&await s.a(f,e),r.setEdge(e.start,e.end,{...e},e.id),n.edges.some(t=>t.id===e.id)||n.edges.push(e);if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:t}=await Promise.resolve().then(()=>require("./sizeCapture-INFHLROL-bJ2ZX4Du.cjs"));t(e,n)}return{graph:r,groups:o,nodeElements:m}}n.n(f,`createGraphWithElements`);var p=new Map,m=new Map,h=new Map,g=n.n(()=>{m.clear(),h.clear(),p.clear()},`clear`),_=n.n((t,n)=>{let r=m.get(n)||[];return e.m.trace(`In isDescendant`,n,` `,t,` = `,r.includes(t)),r.includes(t)},`isDescendant`),v=n.n((t,n)=>{let r=m.get(n)||[];return e.m.info(`Descendants of `,n,` is `,r),e.m.info(`Edge is `,t),t.v===n||t.w===n?!1:r?r.includes(t.v)||_(t.v,n)||_(t.w,n)||r.includes(t.w):(e.m.debug(`Tilt, `,n,`,not in descendants`),!1)},`edgeInCluster`),y=n.n((t,n,r,i)=>{e.m.debug(`Copying children of `,t,`root`,i,`data`,n.node(t),i);let a=n.children(t)||[];t!==i&&a.push(t),e.m.debug(`Copying (nodes) clusterId`,t,`nodes`,a),a.forEach(a=>{if(n.children(a).length>0)y(a,n,r,i);else{let o=n.node(a);e.m.info(`cp `,a,` to `,i,` with parent `,t),r.setNode(a,o),i!==n.parent(a)&&(e.m.debug(`Setting parent`,a,n.parent(a)),r.setParent(a,n.parent(a))),t!==i&&a!==t?(e.m.debug(`Setting parent`,a,t),r.setParent(a,t)):(e.m.info(`In copy `,t,`root`,i,`data`,n.node(t),i),e.m.debug(`Not Setting parent for node=`,a,`cluster!==rootId`,t!==i,`node!==clusterId`,a!==t));let s=n.edges(a);e.m.debug(`Copying Edges`,s),s.forEach(a=>{e.m.info(`Edge`,a);let o=n.edge(a.v,a.w,a.name);e.m.info(`Edge data`,o,i);try{v(a,i)?(e.m.info(`Copying as `,a.v,a.w,o,a.name),r.setEdge(a.v,a.w,o,a.name),e.m.info(`newGraph edges `,r.edges(),r.edge(r.edges()[0]))):e.m.info(`Skipping copy of edge `,a.v,`-->`,a.w,` rootId: `,i,` clusterId:`,t)}catch(t){e.m.error(t)}})}e.m.debug(`Removing node`,a),n.removeNode(a)})},`copy`),b=n.n((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)h.set(i,e),r=[...r,...b(i,t)];return r},`extractDescendants`),x=n.n((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),o=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>o.some(t=>e.v===t.v&&e.w===t.w))},`findCommonEdges`),S=n.n((t,n,r)=>{let i=n.children(t);if(e.m.trace(`Searching children of id `,t,i),i.length<1)return t;let a;for(let e of i){let t=S(e,n,r),i=x(n,r,t);if(t)if(i.length>0)a=t;else return t}return a},`findNonClusterChild`),C=n.n(e=>!p.has(e)||!p.get(e).externalConnections?e:p.has(e)?p.get(e).id:e,`getAnchorId`),w=n.n((t,n)=>{if(!t||n>10){e.m.debug(`Opting out, no graph `);return}else e.m.debug(`Opting in, graph `);t.nodes().forEach(function(n){t.children(n).length>0&&(e.m.debug(`Cluster identified`,n,` Replacement id in edges: `,S(n,t,n)),m.set(n,b(n,t)),p.set(n,{id:S(n,t,n),clusterData:t.node(n)}))}),t.nodes().forEach(function(n){let r=t.children(n),i=t.edges();r.length>0?(e.m.debug(`Cluster identified`,n,m),i.forEach(t=>{_(t.v,n)^_(t.w,n)&&(e.m.debug(`Edge: `,t,` leaves cluster `,n),e.m.debug(`Descendants of XXX `,n,`: `,m.get(n)),p.get(n).externalConnections=!0)})):e.m.debug(`Not a cluster `,n,m)});for(let e of p.keys()){let n=p.get(e).id,r=t.parent(n);r!==e&&p.has(r)&&!p.get(r).externalConnections&&(p.get(e).id=r);let i=t.edges().some(t=>t.v===e);if(n&&p.get(e)?.externalConnections&&i&&O(t,n,e)){let r=k(t,e,t.parent(n));r&&(p.get(e).id=r)}}t.edges().forEach(function(n){let r=t.edge(n);e.m.debug(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(n)),e.m.debug(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(t.edge(n)));let i=n.v,a=n.w;if(e.m.debug(`Fix XXX`,p,`ids:`,n.v,n.w,`Translating: `,p.get(n.v),` --- `,p.get(n.w)),p.get(n.v)||p.get(n.w)){if(e.m.debug(`Fixing and trying - removing XXX`,n.v,n.w,n.name),i=C(n.v),a=C(n.w),t.removeEdge(n.v,n.w,n.name),i!==n.v){let e=t.parent(i);p.get(e).externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){let e=t.parent(a);p.get(e).externalConnections=!0,r.toCluster=n.w}e.m.debug(`Fix Replacing with XXX`,i,a,n.name),t.setEdge(i,a,r,n.name)}}),T(t,0),e.m.trace(p)},`adjustClustersAndEdges`),T=n.n((t,n)=>{if(n>10){e.m.error(`Bailing out`);return}let r=t.nodes(),i=!1;for(let e of r){let n=t.children(e);i||=n.length>0}if(!i){e.m.debug(`Done, no node has children`,t.nodes());return}e.m.debug(`Nodes = `,r,n);for(let i of r)if(e.m.debug(`Extracting node`,i,p,p.has(i)&&!p.get(i).externalConnections,!t.parent(i),t.node(i),t.children(`D`),` Depth `,n),!p.has(i))e.m.debug(`Not a cluster`,i,n);else if(!p.get(i).externalConnections&&t.children(i)&&t.children(i).length>0){e.m.debug(`Cluster without external connections, without a parent and with children`,i,n);let r=t.graph().rankdir===`TB`?`LR`:`TB`;p.get(i)?.clusterData?.dir&&(r=p.get(i).clusterData.dir,e.m.debug(`Fixing dir`,p.get(i).clusterData.dir,r));let a=new c.t({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});y(i,t,a,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:p.get(i).clusterData,label:p.get(i).label,graph:a})}else e.m.debug(`Cluster ** `,i,` **not meeting the criteria !externalConnections:`,!p.get(i).externalConnections,` no parent: `,!t.parent(i),` children `,t.children(i)&&t.children(i).length>0,t.children(`D`),n),e.m.debug(p);r=t.nodes(),e.m.debug(`New list of nodes`,r);for(let i of r){let r=t.node(i);e.m.debug(` Now next level`,i,r),r?.clusterNode&&T(r.graph,n+1)}},`extractor`),E=n.n((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=E(e,e.children(t));n=[...n,...r]}),n},`sorter`),D=n.n(e=>E(e,e.children()),`sortNodesByHierarchy`),O=n.n((e,t,n)=>{let r=e.parent(t);for(;r&&r!==n;){let t=p.get(r);if(t&&!t.externalConnections)return!0;r=e.parent(r)}return!1},`isNodeInExtractableCluster`),k=n.n((e,t,n)=>{let r=e.children(t)??[];for(let i of r){if(i===n||_(i,n))continue;let r=S(i,e,t);if(r&&!O(e,r,t))return r}return null},`findSafeAnchorNode`);function A({prepareLayout:e,measureLayout:t,runLayoutCore:r,paintLayout:i,afterPaint:a,paintOptions:o}){let c=t??M;return n.n(async function(t,n,l,u){let d=n.select(`g`);(l?.insertMarkers??s.s)(d,t.markers,t.type,t.diagramId),j();let f={element:d,helpers:l,options:u};f.preparedLayout=await e?.(t,f);let p=await c(t,f),m=await r(t,f),h={...f,measure:p};i?await i(t,h,m):await N(t,h,o),await a?.(t,h,m)},`render`)}n.n(A,`createCommonLayoutRenderer`);function j(){a.t(),s.t(),o.t(),g()}n.n(j,`clearLayoutRenderState`);async function M(e,{element:t}){return await f(t,e)}n.n(M,`defaultMeasureLayout`);async function N(e,t,n={}){let{measure:r}=t,{groups:i}=r;for(let r of n.getNodes?.(e,t)??e.nodes)n.skipNode?.(r,t)||await P(i,r,t,n);let a=I(e.nodes);for(let r of e.edges)L(r,n)||await R(i,r,a,e,n,t)}n.n(N,`paintLayoutData`);async function P(e,t,n,r){t.clusterNode?a.i(t):F(t,n,r)?await o.n(e.clusters,t):a.i(t)}n.n(P,`paintLayoutNode`);function F(e,t,n){return e.isGroup===!0&&(n.isCluster?.(e,t)??!0)}n.n(F,`shouldPaintAsCluster`);function I(e){let t=new Map;for(let n of e)n?.id&&t.set(n.id,n);return t}n.n(I,`buildNodeLookup`);function L(e,t){return e.isLayoutOnly||!!t.skipEdge?.(e)}n.n(L,`shouldSkipPaintEdge`);async function R(e,t,n,r,i,a){let o=s.i(e.edgePaths,{...t},i.clusterDb??new Map,r.type,z(t.start,t,n,a,i),z(t.end,t,n,a,i),r.diagramId,B(t,i));s.r(t)&&(s.n.has(t.id)||await s.a(e.edgeLabels,t),V(t,o))}n.n(R,`paintLayoutEdge`);function z(e,t,n,r,i){return i.getEdgeNode?.(e,t,r)??(e?n.get(e)??{}:{})}n.n(z,`getRenderedNode`);function B(e,t){return typeof t.skipIntersect==`function`?t.skipIntersect(e):t.skipIntersect??!1}n.n(B,`shouldSkipIntersect`);function V(n,i){let o=i?.updatedPath??i?.originalPath,{subGraphTitleTotalMargin:c}=a.n({flowchart:t.b().flowchart??{}});if(n.label){let t=s.n.get(n.id),a=n.x,l=n.y;if(o){let t=r.g.calcLabelPosition(o);e.m.debug(`Moving label `+n.label+` from (`,a,`,`,l,`) to (`,t.x,`,`,t.y,`) abc88`),i?.updatedPath&&(a=t.x,l=t.y)}t.attr(`transform`,`translate(${a}, ${l+c/2})`)}if(n?.startLabelLeft){let e=s.l.get(n.id).startLeft,t=n?.x,i=n?.y;if(o){let e=r.g.calcTerminalLabelPosition(n.arrowTypeStart?10:0,`start_left`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}if(n.startLabelRight){let e=s.l.get(n.id).startRight,t=n.x,i=n.y;if(o){let e=r.g.calcTerminalLabelPosition(n.arrowTypeStart?10:0,`start_right`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}if(n.endLabelLeft){let e=s.l.get(n.id).endLeft,t=n.x,i=n.y;if(o){let e=r.g.calcTerminalLabelPosition(n.arrowTypeEnd?10:0,`end_left`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}if(n.endLabelRight){let e=s.l.get(n.id).endRight,t=n.x,i=n.y;if(o){let e=r.g.calcTerminalLabelPosition(n.arrowTypeEnd?10:0,`end_right`,o);t=e.x,i=e.y}e.attr(`transform`,`translate(${t}, ${i})`)}}n.n(V,`positionRenderedEdgeLabel`),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return w}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs");var t=class{constructor(e){this.init=e,this.records=this.init()}static{e.n(this,`ImperativeState`)}reset(){this.records=this.init()}};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs"),n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),r=require("./chunk-75Z2AOVW-RbCLc-XL.cjs"),i=require("./chunk-P2QGCYS3-DqT85Q-S.cjs"),a=require("./chunk-PWAF6VOD-CjrO-QHU.cjs"),o=require("./chunk-GMAD6QVW-BVSRANO9.cjs"),s=require("./rough.esm-r0QOSzHM.cjs");var c=1,l=3;async function u(e){let i=e.getElementsByTagName(`img`);if(!i||i.length===0)return;let a=!d(e);await Promise.all([...i].map(e=>new Promise(i=>{function o(){if(e.style.display=`flex`,e.style.flexDirection=`column`,a){let n=t.x().fontSize?t.x().fontSize:window.getComputedStyle(document.body).fontSize,[i=t.f.fontSize]=r.p(n),a=i*5+`px`;e.style.minWidth=a,e.style.maxWidth=a}else e.style.width=`100%`;i(e)}n.n(o,`setupImage`),setTimeout(()=>{e.complete&&o()}),e.addEventListener(`error`,o),e.addEventListener(`load`,o)})))}n.n(u,`configureLabelImages`);function d(e){return e.nodeType===l?e.textContent?.trim()!==``:e.nodeType!==c||e.tagName.toLowerCase()===`img`?!1:[...e.childNodes].some(d)}n.n(d,`hasTextBesidesImages`);var f=3,p=32,m=n.n(async(n,i,a)=>{let s=t.x(),c=n.insert(`g`).attr(`class`,a??`node default`).attr(`id`,i.domId||i.id),l=c.insert(`g`).attr(`class`,`label`).attr(`style`,r.u(i.labelStyle)),u=[{text:typeof i.label==`string`?i.label:i.label?.[0]??``,cssClass:`c4-name`},{text:i.stereotype,cssClass:`c4-type`},...(i.description??[]).map(e=>({text:e,cssClass:`c4-descr`}))].filter(e=>e.text),d=i.width?Math.max(i.width-2*(i.padding??0),p):t.x().flowchart?.wrappingWidth??200,m=s.c4?.wrap??!0?d:1/0,h=await Promise.all(u.map(async n=>{let a=l.append(`g`).attr(`class`,n.cssClass),c=await o.n(a,t.z(r.a(n.text??``),s),{useHtmlLabels:!1,markdown:!1,isNode:!0,width:m,style:i.labelStyle},s);return e.p(c).selectAll(`tspan.text-outer-tspan`).attr(`text-anchor`,`middle`),e.p(c).selectAll(`tspan.text-inner-tspan`).attr(`font-weight`,null).attr(`font-style`,null),{el:a,box:a.node().getBBox()}})),g=Math.max(...h.map(({box:e})=>e.width),0),_=0;for(let{el:e,box:t}of h)e.attr(`transform`,`translate(${g/2-t.x-t.width/2}, ${_-t.y})`),_+=t.height+f;let v=h.length>0?_-f:0;return l.insert(`rect`,`:first-child`),l.attr(`transform`,`translate(${-g/2}, ${-v/2})`),{shapeSvg:c,bbox:l.node().getBBox(),halfPadding:(i.padding??0)/2,label:l}},`c4LabelHelper`),h=n.n(async(n,i,a)=>{if(i.stereotype!==void 0)return m(n,i,a);let s,c=i.useHtmlLabels||t.g(t.x()?.htmlLabels);s=a||`node default`;let l=n.insert(`g`).attr(`class`,s).attr(`id`,i.domId||i.id),d=l.insert(`g`).attr(`class`,`label`).attr(`style`,r.u(i.labelStyle)),f;f=i.label===void 0?``:typeof i.label==`string`?i.label:i.label[0];let p=!!i.icon||!!i.img,h=i.labelType===`markdown`,g=await o.n(d,t.z(r.a(f),t.x()),{useHtmlLabels:c,width:i.width||i.wrappingWidth||t.x().flowchart?.wrappingWidth,classes:h?`markdown-node-label`:``,style:i.labelStyle,addSvgBackground:p,markdown:h},t.x()),_=(i?.padding??0)/2,v;if(c){let t=g.children[0],n=e.p(g);await u(t),v=await o.r.measure(()=>t.getBoundingClientRect()),n.attr(`width`,v.width),n.attr(`height`,v.height)}else v=await o.r.measure(()=>g.getBBox());return c?d.attr(`transform`,`translate(`+-v.width/2+`, `+-v.height/2+`)`):d.attr(`transform`,`translate(0, `+-v.height/2+`)`),i.centerLabel&&d.attr(`transform`,`translate(`+-v.width/2+`, `+-v.height/2+`)`),d.insert(`rect`,`:first-child`),{shapeSvg:l,bbox:v,halfPadding:_,label:d}},`labelHelper`),g=n.n(async(n,i,a)=>{let s=a.useHtmlLabels??t.T(t.x()),c=n.insert(`g`).attr(`class`,`label`).attr(`style`,a.labelStyle||``),l=await o.n(c,t.z(r.a(i),t.x()),{useHtmlLabels:s,width:a.width||t.x()?.flowchart?.wrappingWidth,style:a.labelStyle,addSvgBackground:!!a.icon||!!a.img}),u=a.padding/2,d;if(t.T(t.x())){let t=l.children[0],n=e.p(l);d=await o.r.measure(()=>t.getBoundingClientRect()),n.attr(`width`,d.width),n.attr(`height`,d.height)}else d=await o.r.measure(()=>l.getBBox());return s?c.attr(`transform`,`translate(`+-d.width/2+`, `+-d.height/2+`)`):c.attr(`transform`,`translate(0, `+-d.height/2+`)`),a.centerLabel&&c.attr(`transform`,`translate(`+-d.width/2+`, `+-d.height/2+`)`),c.insert(`rect`,`:first-child`),{shapeSvg:n,bbox:d,halfPadding:u,label:c}},`insertLabel`),_=n.n((e,t,n)=>{if(n){e.width=n.width,e.height=n.height;return}let r=t.node().getBBox();e.width=r.width,e.height=r.height},`updateNodeBounds`),v=n.n((e,t)=>(e.look===`handDrawn`?`rough-node`:`node`)+` `+e.cssClasses+` `+(t||``),`getNodeClasses`);function y(e){let t=e.map((e,t)=>`${t===0?`M`:`L`}${e.x},${e.y}`);return t.push(`Z`),t.join(` `)}n.n(y,`createPathFromPoints`);function b(e,t,n,r,i,a){let o=[],s=n-e,c=r-t,l=s/a,u=2*Math.PI/l,d=t+c/2;for(let t=0;t<=50;t++){let n=e+t/50*s,r=d+i*Math.sin(u*(n-e));o.push({x:n,y:r})}return o}n.n(b,`generateFullSineWavePoints`);function x(e,t,n,r,i,a){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}n.n(x,`generateCirclePoints`);function S(e){let t=Array.from(e.childNodes).filter(e=>e.tagName===`path`),r=document.createElementNS(`http://www.w3.org/2000/svg`,`path`),i=t.map(e=>e.getAttribute(`d`)).filter(e=>e!==null).join(` `);r.setAttribute(`d`,i);let a=t.find(e=>e.getAttribute(`fill`)!==`none`),o=t.find(e=>e.getAttribute(`stroke`)!==`none`),s=n.n((e,t)=>e?.getAttribute(t)??void 0,`getAttr`);if(a){let e={fill:s(a,`fill`),"fill-opacity":s(a,`fill-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}if(o){let e={stroke:s(o,`stroke`),"stroke-width":s(o,`stroke-width`)??`1`,"stroke-opacity":s(o,`stroke-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}let c=document.createElementNS(`http://www.w3.org/2000/svg`,`g`);return c.appendChild(r),c}n.n(S,`mergePaths`);var C=n.n((e,t)=>{var n=e.x,r=e.y,i=t.x-n,a=t.y-r,o=e.width/2,s=e.height/2,c,l;return Math.abs(a)*o>Math.abs(i)*s?(a<0&&(s=-s),c=a===0?0:s*i/a,l=s):(i<0&&(o=-o),c=o,l=i===0?0:o*a/i),{x:n+c,y:r+l}},`intersectRect`),w=n.n((e,t,n,r,i)=>[`M`,e+i,t,`H`,e+n-i,`A`,i,i,0,0,1,e+n,t+i,`V`,t+r-i,`A`,i,i,0,0,1,e+n-i,t+r,`H`,e+i,`A`,i,i,0,0,1,e,t+r-i,`V`,t+i,`A`,i,i,0,0,1,e+i,t,`Z`].join(` `),`createRoundedRectPathD`),T=n.n(async(e,n,r,i=!1,a=!1)=>{let s=n||``;typeof s==`object`&&(s=s[0]);let c=t.x(),l=t.T(c);return await o.n(e,s,{style:r,isTitle:i,useHtmlLabels:l,markdown:!1,isNode:a,width:1/0},c)},`createLabel`);function E(e,t){return e.intersect(t)}n.n(E,`intersectNode`);var D=E;function O(e,t,n,r){var i=e.x,a=e.y,o=i-r.x,s=a-r.y,c=Math.sqrt(t*t*s*s+n*n*o*o),l=Math.abs(t*n*o/c);r.x<i&&(l=-l);var u=Math.abs(t*n*s/c);return r.y<a&&(u=-u),{x:i+l,y:a+u}}n.n(O,`intersectEllipse`);var k=O;function A(e,t,n){return k(e,t,t,n)}n.n(A,`intersectCircle`);var j=A;function M(e,t,n,r){{let i=t.y-e.y,a=e.x-t.x,o=t.x*e.y-e.x*t.y,s=i*n.x+a*n.y+o,c=i*r.x+a*r.y+o,l=1e-6;if(s!==0&&c!==0&&N(s,c))return;let u=r.y-n.y,d=n.x-r.x,f=r.x*n.y-n.x*r.y,p=u*e.x+d*e.y+f,m=u*t.x+d*t.y+f;if(Math.abs(p)<l&&Math.abs(m)<l&&N(p,m))return;let h=i*d-u*a;if(h===0)return;let g=Math.abs(h/2),_=a*f-d*o,v=_<0?(_-g)/h:(_+g)/h;return _=u*o-i*f,{x:v,y:_<0?(_-g)/h:(_+g)/h}}}n.n(M,`intersectLine`);function N(e,t){return e*t>0}n.n(N,`sameSign`);var P=M;function F(e,t,n){let r=e.x,i=e.y,a=[],o=1/0,s=1/0;typeof t.forEach==`function`?t.forEach(function(e){o=Math.min(o,e.x),s=Math.min(s,e.y)}):(o=Math.min(o,t.x),s=Math.min(s,t.y));let c=r-e.width/2-o,l=i-e.height/2-s;for(let r=0;r<t.length;r++){let i=t[r],o=t[r<t.length-1?r+1:0],s=P(e,n,{x:c+i.x,y:l+i.y},{x:c+o.x,y:l+o.y});s&&a.push(s)}return a.length?(a.length>1&&a.sort(function(e,t){let r=e.x-n.x,i=e.y-n.y,a=Math.sqrt(r*r+i*i),o=t.x-n.x,s=t.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1}),a[0]):e}n.n(F,`intersectPolygon`);var I={node:D,circle:j,ellipse:k,polygon:F,rect:C};function ee(t,n){let{labelStyles:a}=i.i(n);n.labelStyle=a;let o=v(n),c=o;o||(c=`anchor`);let l=t.insert(`g`).attr(`class`,c).attr(`id`,n.domId||n.id),{cssStyles:u}=n,d=s.t.svg(l),f=i.a(n,{fill:`black`,stroke:`none`,fillStyle:`solid`});n.look!==`handDrawn`&&(f.roughness=0);let p=d.circle(0,0,2,f),m=l.insert(()=>p,`:first-child`);return m.attr(`class`,`anchor`).attr(`style`,r.u(u)),_(n,m),n.intersect=function(t){return e.m.info(`Circle intersect`,n,1,t),I.circle(n,1,t)},l}n.n(ee,`anchor`);function L(e,t,n,r,i,a,o){let s=(e+n)/2,c=(t+r)/2,l=Math.atan2(r-t,n-e),u=(n-e)/2,d=(r-t)/2,f=u/i,p=d/a,m=Math.sqrt(f**2+p**2);if(m>1)throw Error(`The given radii are too small to create an arc between the points.`);let h=Math.sqrt(1-m**2),g=s+h*a*Math.sin(l)*(o?-1:1),_=c-h*i*Math.cos(l)*(o?-1:1),v=Math.atan2((t-_)/a,(e-g)/i),y=Math.atan2((r-_)/a,(n-g)/i)-v;o&&y<0&&(y+=2*Math.PI),!o&&y>0&&(y-=2*Math.PI);let b=[];for(let e=0;e<20;e++){let t=v+e/19*y,n=g+i*Math.cos(t),r=_+a*Math.sin(t);b.push({x:n,y:r})}return b}n.n(L,`generateArcPoints`);function R(e,t,n){let[r,i]=[t,n].sort((e,t)=>t-e);return i*(1-Math.sqrt(1-(e/r/2)**2))}n.n(R,`calculateArcSagitta`);async function te(e,t){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r;let o=t.padding??0,c=t.look===`neo`?16:o,l=t.look===`neo`?12:o,u=n.n(e=>e+l,`calcTotalHeight`),d=n.n(e=>{let t=e/2;return[t/(2.5+e/50),t]},`calcEllipseRadius`),{shapeSvg:f,bbox:p}=await h(e,t,v(t)),m=u(t?.height?t?.height:p.height),[g,b]=d(m),x=R(m,g,b),S=(t?.width?t?.width:p.width)+c*2+x-x,C=m,{cssStyles:w}=t,T=[{x:S/2,y:-C/2},{x:-S/2,y:-C/2},...L(-S/2,-C/2,-S/2,C/2,g,b,!1),{x:S/2,y:C/2},...L(S/2,C/2,S/2,-C/2,g,b,!0)],E=s.t.svg(f),D=i.a(t,{});t.look!==`handDrawn`&&(D.roughness=0,D.fillStyle=`solid`);let O=y(T),k=E.path(O,D),A=f.insert(()=>k,`:first-child`);return A.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,w),a&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,a),A.attr(`transform`,`translate(${g/2}, 0)`),_(t,A),t.intersect=function(e){return I.polygon(t,T,e)},f}n.n(te,`bowTieRect`);async function z(e,t,{config:{themeVariables:r}}){let{labelStyles:a,nodeStyles:o}=i.i(t);t.labelStyle=a;let{shapeSvg:c,bbox:l,label:u}=await h(e,t,v(t)),d=r?.nodeBorder??r?.lineColor??`currentColor`,f=t.padding??12,p=Math.max(l.width+f*2,t.width??0,80),m=Math.max(Math.min(p*.08,12),5),g=Math.max(l.height+f*2+m,t.height??0),y=-g/2+m,b=g/2,x=p*.72,S=[`M${-p/2},${y}`,`L${-x/2},${b}`,`A${x/2},${m} 0 0 0 ${x/2},${b}`,`L${p/2},${y}`,`A${p/2},${m} 0 0 0 ${-p/2},${y}`,`Z`].join(` `),{cssStyles:C}=t,w=c.insert(`g`,`:first-child`).attr(`class`,`basic label-container`);if(t.look===`handDrawn`){let e=s.t.svg(c).path(S,i.a(t,{}));w.node()?.appendChild(e),C&&w.attr(`style`,C)}else w.append(`path`).attr(`d`,S).attr(`style`,o);w.append(`ellipse`).attr(`cx`,0).attr(`cy`,y).attr(`rx`,p/2).attr(`ry`,m).attr(`style`,`fill:none;stroke:${d};stroke-width:1px`),_(t,w);let T=y+(b-y)/2;u.attr(`transform`,`translate(${-(l.width/2)-(l.x-(l.left??0))}, ${T-l.height/2-(l.y-(l.top??0))})`);let E=n.n((e,t,n)=>Array.from({length:13},(r,i)=>{let a=Math.PI-i*Math.PI/12;return{x:e*Math.cos(a),y:t+n*m*Math.sin(a)}}),`arc`),D=[...E(p/2,y,-1),...E(x/2,b,1).reverse()];return t.intersect=function(e){return I.polygon(t,D,e)},c}n.n(z,`bucket`);var B=20,V=8,H=80,ne=8;async function re(e,n){let{themeVariables:a}=t.x(),o=a.clusterBkg,c=a.clusterBorder,{nodeStyles:l}=i.i(n),{shapeSvg:u,bbox:d}=await h(e,n,v(n)),f=n.padding??8,p=d.height,m=Math.max(d.width+f*2,H,n?.width??0),g=Math.max(p+V+B+f*2,n?.height??0),y=-m/2,b=-g/2,x=-(V+B)/2,S=u.select(`.label`);S&&(n.useHtmlLabels??t.T(t.x())?S.attr(`transform`,`translate(${-d.width/2}, ${-d.height/2+x})`):S.attr(`transform`,`translate(0, ${-d.height/2+x})`));let C;if(n.look===`handDrawn`){let e=s.t.svg(u),t=i.a(n,{fill:o,stroke:c,fillStyle:`solid`}),a=e.path(w(y,b,m,g,ne),t);C=u.insert(()=>a,`:first-child`),C.attr(`class`,`basic label-container collapsed-group`).attr(`style`,r.u(n.cssStyles))}else C=u.insert(`rect`,`:first-child`),C.attr(`class`,`basic label-container collapsed-group`).attr(`style`,l).attr(`rx`,ne).attr(`ry`,ne).attr(`x`,y).attr(`y`,b).attr(`width`,m).attr(`height`,g).attr(`fill`,o).attr(`stroke`,c);let T=b+f+p+V;u.append(`line`).attr(`class`,`collapsed-separator`).attr(`x1`,y+8).attr(`y1`,T).attr(`x2`,y+m-8).attr(`y2`,T).attr(`stroke`,c).attr(`stroke-dasharray`,`3, 3`);let E=T+B/2;for(let e=-1;e<=1;e++)u.append(`circle`).attr(`class`,`collapsed-indicator`).attr(`cx`,e*10).attr(`cy`,E).attr(`r`,2.5).attr(`fill`,c);return _(n,C),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(e){return I.rect(n,e)},u}n.n(re,`collapsedGroup`);function U(e,t,n,r){return e.insert(`polygon`,`:first-child`).attr(`points`,r.map(function(e){return e.x+`,`+e.y}).join(` `)).attr(`class`,`label-container`).attr(`transform`,`translate(`+-t/2+`,`+n/2+`)`)}n.n(U,`insertPolygonShape`);var W=[`right`,`left`,`up`,`down`],G=`point`,ie=n.n(e=>{let t=new Set;for(let n of e)switch(n){case`x`:t.add(`right`),t.add(`left`);break;case`y`:t.add(`up`),t.add(`down`);break;default:t.add(n);break}return t},`expandAndDeduplicateDirections`),ae=n.n(e=>W.filter(t=>e.has(t)).join(`|`)||G,`getDirectionKey`),oe={"right|left|up|down":n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:0,y:0},{x:t,y:0},{x:r/2,y:2*n},{x:r-t,y:0},{x:r,y:0},{x:r,y:-e/3},{x:r+2*n,y:-e/2},{x:r,y:-2*e/3},{x:r,y:-e},{x:r-t,y:-e},{x:r/2,y:-e-2*n},{x:t,y:-e},{x:0,y:-e},{x:0,y:-2*e/3},{x:-2*n,y:-e/2},{x:0,y:-e/3}],`right|left|up|down`),"right|left|up":n.n(({height:e,midpoint:t,width:n})=>[{x:t,y:0},{x:n-t,y:0},{x:n,y:-e/2},{x:n-t,y:-e},{x:t,y:-e},{x:0,y:-e/2}],`right|left|up`),"right|left|down":n.n(({height:e,midpoint:t,width:n})=>[{x:0,y:0},{x:t,y:-e},{x:n-t,y:-e},{x:n,y:0}],`right|left|down`),"right|up|down":n.n(({height:e,midpoint:t,width:n})=>[{x:0,y:0},{x:n,y:-t},{x:n,y:-e+t},{x:0,y:-e}],`right|up|down`),"left|up|down":n.n(({height:e,midpoint:t,width:n})=>[{x:n,y:0},{x:0,y:-t},{x:0,y:-e+t},{x:n,y:-e}],`left|up|down`),"right|left":n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:t,y:0},{x:t,y:-n},{x:r-t,y:-n},{x:r-t,y:0},{x:r,y:-e/2},{x:r-t,y:-e},{x:r-t,y:-e+n},{x:t,y:-e+n},{x:t,y:-e},{x:0,y:-e/2}],`right|left`),"up|down":n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:r/2,y:0},{x:0,y:-n},{x:t,y:-n},{x:t,y:-e+n},{x:0,y:-e+n},{x:r/2,y:-e},{x:r,y:-e+n},{x:r-t,y:-e+n},{x:r-t,y:-n},{x:r,y:-n}],`up|down`),"right|up":n.n(({height:e,midpoint:t,width:n})=>[{x:0,y:0},{x:n,y:-t},{x:0,y:-e}],`right|up`),"right|down":n.n(({height:e,width:t})=>[{x:0,y:0},{x:t,y:0},{x:0,y:-e}],`right|down`),"left|up":n.n(({height:e,midpoint:t,width:n})=>[{x:n,y:0},{x:0,y:-t},{x:n,y:-e}],`left|up`),"left|down":n.n(({height:e,width:t})=>[{x:t,y:0},{x:0,y:0},{x:t,y:-e}],`left|down`),right:n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:t,y:-n},{x:t,y:-n},{x:r-t,y:-n},{x:r-t,y:0},{x:r,y:-e/2},{x:r-t,y:-e},{x:r-t,y:-e+n},{x:t,y:-e+n},{x:t,y:-e+n}],`right`),left:n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:t,y:0},{x:t,y:-n},{x:r-t,y:-n},{x:r-t,y:-e+n},{x:t,y:-e+n},{x:t,y:-e},{x:0,y:-e/2}],`left`),up:n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:t,y:-n},{x:t,y:-e+n},{x:0,y:-e+n},{x:r/2,y:-e},{x:r,y:-e+n},{x:r-t,y:-e+n},{x:r-t,y:-n}],`up`),down:n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:r/2,y:0},{x:0,y:-n},{x:t,y:-n},{x:t,y:-e+n},{x:r-t,y:-e+n},{x:r-t,y:-n},{x:r,y:-n}],`down`),[G]:()=>[{x:0,y:0}]},se=n.n((e,t,n,r)=>{let i=ie(e),a=(n.padding??0)/2,o=t.height+4*a,s=o/2,c=r??t.width+2*s+2*a;return(oe[ae(i)]??oe[G])({height:o,midpoint:s,padding:a,width:c})},`getArrowPoints`);async function ce(e,t){let n=t,{shapeSvg:r,bbox:i}=await h(e,n,v(n)),a=n.padding??0,o=i.height+2*a,s=o/2,c=i.width+2*s+a,l=n.width??0,u=n.positioned&&(n.widthInColumns??1)>1&&l>c?l:c,d=se(n.directions??[],i,n,u),f=U(r,u,o,d);return f.attr(`style`,n.style??null),_(n,f),n.intersect=function(e){return I.polygon(n,d,e)},r}n.n(ce,`block_arrow`);async function le(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r;let{shapeSvg:o,bbox:c,label:l}=await h(e,t,v(t)),u=n?.nodeBorder??n?.lineColor??`currentColor`,d=t.padding??12,f=Math.max(c.width+d*2,t.width??0,90),p=Math.max(c.height+d*2+18,t.height??0),m=-p/2,{cssStyles:g}=t,y=o.insert(`g`,`:first-child`).attr(`class`,`basic label-container`);if(t.look===`handDrawn`){let e=s.t.svg(o).path(w(-f/2,m,f,p,12),i.a(t,{}));y.node()?.appendChild(e),g&&y.attr(`style`,g)}else y.append(`rect`).attr(`x`,-f/2).attr(`y`,m).attr(`width`,f).attr(`height`,p).attr(`rx`,12).attr(`ry`,12).attr(`style`,a);y.append(`line`).attr(`x1`,-f/2).attr(`y1`,m+18).attr(`x2`,f/2).attr(`y2`,m+18).attr(`style`,`stroke:${u};stroke-width:1px`);for(let e=0;e<3;e++)y.append(`circle`).attr(`cx`,-f/2+12+e*9).attr(`cy`,m+18/2).attr(`r`,2.5).attr(`style`,`fill:${u};stroke:none`);y.append(`rect`).attr(`class`,`browser-address-bar`).attr(`x`,-f/2+44).attr(`y`,m+4).attr(`width`,Math.max(f-56,10)).attr(`height`,10).attr(`rx`,3).attr(`ry`,3).attr(`style`,`fill:none;stroke:${u};stroke-width:1px;opacity:0.6`),_(t,y);let b=m+18+(p-18)/2;return l.attr(`transform`,`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${b-c.height/2-(c.y-(c.top??0))})`),t.intersect=function(e){return I.rect(t,e)},o}n.n(le,`browser`);var ue=12;async function de(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?28:a,c=t.look===`neo`?24:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=(t?.width??u.width)+(t.look===`neo`?o*2:o+ue),f=(t?.height??u.height)+(t.look===`neo`?c*2:c),p=d,m=-f,g=[{x:0+ue,y:m},{x:p,y:m},{x:p,y:0},{x:0,y:0},{x:0,y:m+ue},{x:0+ue,y:m}],b,{cssStyles:x}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(g),a=e.path(r,n);b=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-d/2}, ${f/2})`),x&&b.attr(`style`,x)}else b=U(l,d,f,g);return r&&b.attr(`style`,r),_(t,b),t.intersect=function(e){return I.polygon(t,g,e)},l}n.n(de,`card`);function fe(e,t){let{nodeStyles:n}=i.i(t);t.label=``;let r=e.insert(`g`).attr(`class`,v(t)).attr(`id`,t.domId??t.id),{cssStyles:a}=t,o=Math.max(28,t.width??0),c=[{x:0,y:o/2},{x:o/2,y:0},{x:0,y:-o/2},{x:-o/2,y:0}],l=s.t.svg(r),u=i.a(t,{});t.look!==`handDrawn`&&(u.roughness=0,u.fillStyle=`solid`);let d=y(c),f=l.path(d,u),p=r.insert(()=>f,`:first-child`);return a&&t.look!==`handDrawn`&&p.selectAll(`path`).attr(`style`,a),n&&t.look!==`handDrawn`&&p.selectAll(`path`).attr(`style`,n),t.width=28,t.height=28,t.intersect=function(e){return I.polygon(t,c,e)},r}n.n(fe,`choice`);async function pe(t,n,a){let{labelStyles:o,nodeStyles:c}=i.i(n);n.labelStyle=o;let{shapeSvg:l,bbox:u,halfPadding:d}=await h(t,n,v(n)),f=a?.padding??d,p=n.look===`neo`?u.width/2+32:u.width/2+f,m,{cssStyles:g}=n;if(n.look===`handDrawn`){let e=s.t.svg(l),t=i.a(n,{}),a=e.circle(0,0,p*2,t);m=l.insert(()=>a,`:first-child`),m.attr(`class`,`basic label-container`).attr(`style`,r.u(g))}else m=l.insert(`circle`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,c).attr(`r`,p).attr(`cx`,0).attr(`cy`,0);return _(n,m),n.calcIntersect=function(e,t){let n=e.width/2;return I.circle(e,n,t)},n.intersect=function(t){return e.m.info(`Circle intersect`,n,p,t),I.circle(n,p,t)},l}n.n(pe,`circle`);async function me(e,t){let n=t,{shapeSvg:r,bbox:i,halfPadding:a}=await h(e,n,[`node`,n.cssClasses,n.class].filter(Boolean).join(` `)),o=r.insert(`rect`,`:first-child`),s=n.padding??0,c=n.positioned?n.width??0:i.width+s,l=n.positioned?n.height??0:i.height+s,u=n.positioned?-c/2:-i.width/2-a,d=n.positioned?-l/2:-i.height/2-a;return o.attr(`class`,`basic cluster composite label-container`).attr(`style`,n.style??null).attr(`rx`,n.rx??null).attr(`ry`,n.ry??null).attr(`x`,u).attr(`y`,d).attr(`width`,c).attr(`height`,l),_(n,o),n.intersect=function(e){return I.rect(n,e)},r}n.n(me,`composite`);async function he(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r;let{shapeSvg:o,bbox:c,label:l}=await h(e,t,v(t)),u=n?.nodeBorder??n?.lineColor??`currentColor`,d=t.padding??12,f=Math.max(c.width+d*2,t.width??0,90),p=Math.max(c.height+d*2+20,t.height??0),m=-p/2,{cssStyles:g}=t,y=o.insert(`g`,`:first-child`).attr(`class`,`basic label-container`);if(t.look===`handDrawn`){let e=s.t.svg(o).path(w(-f/2,m,f,p,12),i.a(t,{}));y.node()?.appendChild(e),g&&y.attr(`style`,g)}else y.append(`rect`).attr(`x`,-f/2).attr(`y`,m).attr(`width`,f).attr(`height`,p).attr(`rx`,12).attr(`ry`,12).attr(`style`,a);y.append(`text`).attr(`x`,-f/2+12).attr(`y`,m+16).attr(`class`,`console-glyph`).attr(`style`,`font-family:monospace;font-weight:bold;font-size:14px;fill:${u}`).text(`>_`),_(t,y);let b=m+20+(p-20)/2;return l.attr(`transform`,`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${b-c.height/2-(c.y-(c.top??0))})`),t.intersect=function(e){return I.rect(t,e)},o}n.n(he,`consoleWindow`);function ge(e){let t=Math.cos(Math.PI/4),n=Math.sin(Math.PI/4),r=e*2,i={x:r/2*t,y:r/2*n},a={x:-(r/2)*t,y:r/2*n},o={x:-(r/2)*t,y:-(r/2)*n},s={x:r/2*t,y:-(r/2)*n};return`M ${a.x},${a.y} L ${s.x},${s.y}
|
|
2
|
-
M ${i.x},${i.y} L ${o.x},${o.y}`}n.n(ge,`createLine`);function _e(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.labelStyle=r,n.label=``;let o=t.insert(`g`).attr(`class`,v(n)).attr(`id`,n.domId??n.id),c=Math.max(30,n?.width??0),{cssStyles:l}=n,u=s.t.svg(o),d=i.a(n,{});n.look!==`handDrawn`&&(d.roughness=0,d.fillStyle=`solid`);let f=u.circle(0,0,c*2,d),p=ge(c),m=u.path(p,d),h=o.insert(()=>f,`:first-child`);return h.insert(()=>m),h.attr(`class`,`outer-path`),l&&n.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,l),a&&n.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,a),_(n,h),n.intersect=function(t){return e.m.info(`crossedCircle intersect`,n,{radius:c,point:t}),I.circle(n,c,t)},o}n.n(_e,`crossedCircle`);function K(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}n.n(K,`generateCirclePoints`);async function ve(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.look===`neo`?18:t.padding??0,u=t.look===`neo`?12:t.padding??0,d=o.width+l,f=o.height+u,p=Math.max(5,f*.1),{cssStyles:m}=t,g=[...K(d/2,-f/2,p,30,-90,0),{x:-d/2-p,y:p},...K(d/2+p*2,-p,p,20,-180,-270),...K(d/2+p*2,p,p,20,-90,-180),{x:-d/2-p,y:-f/2},...K(d/2,f/2,p,20,0,90)],b=[{x:d/2,y:-f/2-p},{x:-d/2,y:-f/2-p},...K(d/2,-f/2,p,20,-90,0),{x:-d/2-p,y:-p},...K(d/2+d*.1,-p,p,20,-180,-270),...K(d/2+d*.1,p,p,20,-90,-180),{x:-d/2-p,y:f/2},...K(d/2,f/2,p,20,0,90),{x:-d/2,y:f/2+p},{x:d/2,y:f/2+p}],x=s.t.svg(a),S=i.a(t,{fill:`none`});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=y(g).replace(`Z`,``),w=x.path(C,S),T=y(b),E=x.path(T,{...S}),D=a.insert(`g`,`:first-child`);return D.insert(()=>E,`:first-child`).attr(`stroke-opacity`,0),D.insert(()=>w,`:first-child`),D.attr(`class`,`text`),m&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${p}, 0)`),c.attr(`transform`,`translate(${-d/2+p-(o.x-(o.left??0))},${-f/2+(t.padding??0)/2-(o.y-(o.top??0))})`),_(t,D),t.intersect=function(e){return I.polygon(t,b,e)},a}n.n(ve,`curlyBraceLeft`);function q(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:a,y:l})}return o}n.n(q,`generateCirclePoints`);async function ye(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.look===`neo`?18:t.padding??0,u=t.look===`neo`?12:t.padding??0,d=o.width+(t.look===`neo`?l*2:l),f=o.height+(t.look===`neo`?u*2:u),p=Math.max(5,f*.1),{cssStyles:m}=t,g=[...q(d/2,-f/2,p,20,-90,0),{x:d/2+p,y:-p},...q(d/2+p*2,-p,p,20,-180,-270),...q(d/2+p*2,p,p,20,-90,-180),{x:d/2+p,y:f/2},...q(d/2,f/2,p,20,0,90)],b=[{x:-d/2,y:-f/2-p},{x:d/2,y:-f/2-p},...q(d/2,-f/2,p,20,-90,0),{x:d/2+p,y:-p},...q(d/2+p*2,-p,p,20,-180,-270),...q(d/2+p*2,p,p,20,-90,-180),{x:d/2+p,y:f/2},...q(d/2,f/2,p,20,0,90),{x:d/2,y:f/2+p},{x:-d/2,y:f/2+p}],x=s.t.svg(a),S=i.a(t,{fill:`none`});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=y(g).replace(`Z`,``),w=x.path(C,S),T=y(b),E=x.path(T,{...S}),D=a.insert(`g`,`:first-child`);return D.insert(()=>E,`:first-child`).attr(`stroke-opacity`,0),D.insert(()=>w,`:first-child`),D.attr(`class`,`text`),m&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${-p}, 0)`),c.attr(`transform`,`translate(${-d/2+(t.padding??0)/2-(o.x-(o.left??0))},${-f/2+(t.padding??0)/2-(o.y-(o.top??0))})`),_(t,D),t.intersect=function(e){return I.polygon(t,b,e)},a}n.n(ye,`curlyBraceRight`);function J(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}n.n(J,`generateCirclePoints`);async function be(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.look===`neo`?18:t.padding??0,u=t.look===`neo`?12:t.padding??0,d=o.width+(t.look===`neo`?l*2:l),f=o.height+(t.look===`neo`?u*2:u),p=Math.max(5,f*.1),{cssStyles:m}=t,g=[...J(d/2,-f/2,p,30,-90,0),{x:-d/2-p,y:p},...J(d/2+p*2,-p,p,20,-180,-270),...J(d/2+p*2,p,p,20,-90,-180),{x:-d/2-p,y:-f/2},...J(d/2,f/2,p,20,0,90)],b=[...J(-d/2+p+p/2,-f/2,p,20,-90,-180),{x:d/2-p/2,y:p},...J(-d/2-p/2,-p,p,20,0,90),...J(-d/2-p/2,p,p,20,-90,0),{x:d/2-p/2,y:-p},...J(-d/2+p+p/2,f/2,p,30,-180,-270)],x=[{x:d/2,y:-f/2-p},{x:-d/2,y:-f/2-p},...J(d/2,-f/2,p,20,-90,0),{x:-d/2-p,y:-p},...J(d/2+p*2,-p,p,20,-180,-270),...J(d/2+p*2,p,p,20,-90,-180),{x:-d/2-p,y:f/2},...J(d/2,f/2,p,20,0,90),{x:-d/2,y:f/2+p},{x:d/2-p-p/2,y:f/2+p},...J(-d/2+p+p/2,-f/2,p,20,-90,-180),{x:d/2-p/2,y:p},...J(-d/2-p/2,-p,p,20,0,90),...J(-d/2-p/2,p,p,20,-90,0),{x:d/2-p/2,y:-p},...J(-d/2+p+p/2,f/2,p,30,-180,-270)],S=s.t.svg(a),C=i.a(t,{fill:`none`});t.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`);let w=y(g).replace(`Z`,``),T=S.path(w,C),E=y(b).replace(`Z`,``),D=S.path(E,C),O=y(x),k=S.path(O,{...C}),A=a.insert(`g`,`:first-child`);return A.insert(()=>k,`:first-child`).attr(`stroke-opacity`,0),A.insert(()=>T,`:first-child`),A.insert(()=>D,`:first-child`),A.attr(`class`,`text`),m&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,r),A.attr(`transform`,`translate(${p-p/4}, 0)`),c.attr(`transform`,`translate(${-d/2+(t.padding??0)/2-(o.x-(o.left??0))},${-f/2+(t.padding??0)/2-(o.y-(o.top??0))})`),_(t,A),t.intersect=function(e){return I.polygon(t,x,e)},a}n.n(be,`curlyBraces`);async function xe(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(20,(u.width+o*2)*1.25,t?.width??0),f=Math.max(5,u.height+c*2,t?.height??0),p=f/2,{cssStyles:m}=t,g=s.t.svg(l),b=i.a(t,{});t.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let S=d,C=f,w=S-p,T=C/4,E=[{x:w,y:0},{x:T,y:0},{x:0,y:C/2},{x:T,y:C},{x:w,y:C},...x(-w,-C/2,p,50,270,90)],D=y(E),O=g.path(D,b),k=l.insert(()=>O,`:first-child`);return k.attr(`class`,`basic label-container outer-path`),m&&t.look!==`handDrawn`&&k.selectChildren(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&k.selectChildren(`path`).attr(`style`,r),k.attr(`transform`,`translate(${-d/2}, ${-f/2})`),_(t,k),t.intersect=function(e){return I.polygon(t,E,e)},l}n.n(xe,`curvedTrapezoid`);async function Se(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.padding??20,u=Math.max(o.width+l*2,t.width??0,100),d=Math.min(Math.max(u*.23,16),56),f=d*.27,p=Math.max(o.height+l*2,t.height?t.height-(2*d-f):0),m=Math.min(u*.177,p*.45),g=p+2*d-f,y=-g/2,b=y+2*d-f,S=a.insert(`g`,`:first-child`).attr(`class`,`basic label-container`),{cssStyles:C}=t;if(t.look===`handDrawn`){let e=s.t.svg(a),n=i.a(t,{}),r=e.path(w(-u/2,b,u,p,m),n),o=e.circle(0,y+d,d*2,n);S.insert(()=>o,`:first-child`),S.insert(()=>r,`:first-child`),C&&S.attr(`style`,C)}else S.append(`rect`).attr(`x`,-u/2).attr(`y`,b).attr(`width`,u).attr(`height`,p).attr(`rx`,m).attr(`ry`,m).attr(`style`,r),S.append(`circle`).attr(`cx`,0).attr(`cy`,y+d).attr(`r`,d).attr(`style`,r);_(t,S);let T=b+p/2;c.attr(`transform`,`translate(${-(o.width/2)-(o.x-(o.left??0))}, ${T-o.height/2-(o.y-(o.top??0))})`);let E=y+d,D=Math.asin(Math.min(1,(b-E)/d))*180/Math.PI,O=[...x(0,-E,d,24,180+D,-D),...x(-(-u/2+m),-(b+m),m,12,90,0),...x(-(-u/2+m),-(g/2-m),m,12,360,270),...x(-(u/2-m),-(g/2-m),m,12,270,180),...x(-(u/2-m),-(b+m),m,12,180,90)];return t.intersect=function(e){return I.polygon(t,O,e)},a}n.n(Se,`person`);var Ce=n.n((e,t,n,r,i,a)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createCylinderPathD`),we=n.n((e,t,n,r,i,a)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createOuterCylinderPathD`),Te=n.n((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),Ee=8,De=8;async function Oe(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t.padding??0,c=t.look===`neo`?24:o,l=t.look===`neo`?24:o,u=t.width??0;if(t.width&&(t.width-=l,t.width<De&&(t.width=De)),t.height){let e=u/2/(2.5+u/50);t.height=t.height-c-e*3,t.height<Ee&&(t.height=Ee)}let{shapeSvg:d,bbox:f,label:p}=await h(e,t,v(t)),m=Math.max(t.width??0,f.width)+l,g=m/2,y=g/(2.5+m/50),b=Math.max(t.height??0,f.height)+c+y,x,{cssStyles:S}=t;if(t.look===`handDrawn`){let e=s.t.svg(d),n=we(0,0,m,b,g,y),r=Te(0,y,m,b,g,y),a=i.a(t,{}),o=e.path(n,a),c=e.path(r,i.a(t,{fill:`none`}));x=d.insert(()=>c,`:first-child`),x=d.insert(()=>o,`:first-child`),x.attr(`class`,`basic label-container`),S&&x.attr(`style`,S)}else{let e=Ce(0,0,m,b,g,y);x=d.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(S)).attr(`style`,a)}return x.attr(`label-offset-y`,y),x.attr(`transform`,`translate(${-m/2}, ${-(b/2+y)})`),_(t,x),p.attr(`transform`,`translate(${-(f.width/2)-(f.x-(f.left??0))}, ${-(f.height/2)+(t.padding??0)/1.5-(f.y-(f.top??0))})`),t.intersect=function(e){let n=I.rect(t,e),r=n.x-(t.x??0);if(g!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-y)){let i=y*y*(1-r*r/(g*g));i>0&&(i=Math.sqrt(i)),i=y-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},d}n.n(Oe,`cylinder`);async function Y(e,t,n){let{labelStyles:a,nodeStyles:o}=i.i(t);t.labelStyle=a;let{shapeSvg:c,bbox:l}=await h(e,t,v(t)),u=Math.max(l.width+n.labelPaddingX*2,t?.width||0),d=Math.max(l.height+n.labelPaddingY*2,t?.height||0),f=-u/2,p=-d/2,m,{rx:g,ry:y}=t,{cssStyles:b}=t;if(n?.rx&&n.ry&&(g=n.rx,y=n.ry),t.look===`handDrawn`){let e=s.t.svg(c),n=i.a(t,{}),a=g||y?e.path(w(f,p,u,d,g||0),n):e.rectangle(f,p,u,d,n);m=c.insert(()=>a,`:first-child`),m.attr(`class`,`basic label-container`).attr(`style`,r.u(b))}else m=c.insert(`rect`,`:first-child`),m.attr(`class`,`basic label-container`).attr(`style`,o).attr(`rx`,r.u(g)).attr(`ry`,r.u(y)).attr(`x`,f).attr(`y`,p).attr(`width`,u).attr(`height`,d);return _(t,m,t.look===`handDrawn`?void 0:{width:u,height:d}),t.calcIntersect=function(e,t){return I.rect(e,t)},t.intersect=function(e){return I.rect(t,e)},c}n.n(Y,`drawRect`);async function ke(e,t){let{cssClasses:n,labelPaddingX:r,labelPaddingY:a,padding:o,width:c,height:l}=t,u=await Y(e,t,{rx:0,ry:0,classes:n??``,labelPaddingX:r??(o??0)*2,labelPaddingY:a??o??0});if(t.look===`handDrawn`){let e=s.t.svg(u),n=i.a(t,{}),r=u.select(`.basic.label-container > path:nth-child(2)`),a=r.node();if(!a)return u;let o=null;if(a instanceof SVGGraphicsElement)o=a.getBBox();else return u;return u.insert(()=>e.line(o.x,o.y,o.x+o.width,o.y,n),`.basic.label-container g.label`),u.insert(()=>e.line(o.x,o.y+o.height,o.x+o.width,o.y+o.height,n),`.basic.label-container g.label`),r.remove(),u}let d=u.select(`.basic.label-container`),f=(Number(d.attr(`width`))||c)??0,p=(Number(d.attr(`height`))||l)??0;return f>0&&p>0&&d.attr(`stroke-dasharray`,`${f} ${p}`),u}n.n(ke,`datastore`);async function Ae(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.look===`neo`?16:t.padding??0,o=t.look===`neo`?16:t.padding??0,{shapeSvg:c,bbox:l,label:u}=await h(e,t,v(t)),d=l.width+a,f=l.height+o,p=f*.2,m=-d/2,g=-f/2-p/2,{cssStyles:y}=t,b=s.t.svg(c),x=i.a(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=[{x:m,y:g+p},{x:-m,y:g+p},{x:-m,y:-g},{x:m,y:-g},{x:m,y:g},{x:-m,y:g},{x:-m,y:g+p}],C=b.polygon(S.map(e=>[e.x,e.y]),x),w=c.insert(()=>C,`:first-child`);return w.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&w.selectAll(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&w.selectAll(`path`).attr(`style`,r),u.attr(`transform`,`translate(${m+(t.padding??0)/2-(l.x-(l.left??0))}, ${g+p+(t.padding??0)/2-(l.y-(l.top??0))})`),_(t,w),t.intersect=function(e){return I.rect(t,e)},c}n.n(Ae,`dividedRectangle`);async function je(t,n){let{labelStyles:a,nodeStyles:o}=i.i(n),c=n.look===`neo`?12:5;n.labelStyle=a;let l=n.padding??0,u=n.look===`neo`?16:l,{shapeSvg:d,bbox:f}=await h(t,n,v(n)),p=(n?.width?n?.width/2:f.width/2)+(u??0),m=p-c,g,{cssStyles:y}=n;if(n.look===`handDrawn`){let e=s.t.svg(d),t=i.a(n,{roughness:.2,strokeWidth:2.5}),a=i.a(n,{roughness:.2,strokeWidth:1.5}),o=e.circle(0,0,p*2,t),c=e.circle(0,0,m*2,a);g=d.insert(`g`,`:first-child`),g.attr(`class`,r.u(n.cssClasses)).attr(`style`,r.u(y)),g.node()?.appendChild(o),g.node()?.appendChild(c)}else{g=d.insert(`g`,`:first-child`);let e=g.insert(`circle`,`:first-child`),t=g.insert(`circle`);g.attr(`class`,`basic label-container`).attr(`style`,o),e.attr(`class`,`outer-circle`).attr(`style`,o).attr(`r`,p).attr(`cx`,0).attr(`cy`,0),t.attr(`class`,`inner-circle`).attr(`style`,o).attr(`r`,m).attr(`cx`,0).attr(`cy`,0)}return _(n,g),n.intersect=function(t){return e.m.info(`DoubleCircle intersect`,n,p,t),I.circle(n,p,t)},d}n.n(je,`doublecircle`);function Me(t,n,{config:{themeVariables:r}}){let{labelStyles:a,nodeStyles:o}=i.i(n);n.label=``,n.labelStyle=a;let c=t.insert(`g`).attr(`class`,v(n)).attr(`id`,n.domId??n.id),{cssStyles:l}=n,u=s.t.svg(c),{nodeBorder:d}=r,f=i.a(n,{fillStyle:`solid`});n.look!==`handDrawn`&&(f.roughness=0);let p=u.circle(0,0,14,f),m=c.insert(()=>p,`:first-child`);return m.selectAll(`path`).attr(`style`,`fill: ${d} !important;`),l&&l.length>0&&n.look!==`handDrawn`&&m.selectAll(`path`).attr(`style`,l),o&&n.look!==`handDrawn`&&m.selectAll(`path`).attr(`style`,o),_(n,m),n.intersect=function(t){return e.m.info(`filledCircle intersect`,n,{radius:7,point:t}),I.circle(n,7,t)},c}n.n(Me,`filledCircle`);var Ne=10,Pe=10;async function Fe(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.labelStyle=r;let o=n.padding??0,c=n.look===`neo`?o*2:o;(n.width||n.height)&&(n.height=n?.height??0,n.height<Ne&&(n.height=Ne),n.width=(n?.width??0)-c-c/2,n.width<Pe&&(n.width=Pe));let{shapeSvg:l,bbox:u,label:d}=await h(t,n,v(n)),f=(n?.width?n?.width:u.width)+(c??0),p=n?.height?n?.height:f+u.height,m=p,g=[{x:0,y:-p},{x:m,y:-p},{x:m/2,y:0}],{cssStyles:b}=n,x=s.t.svg(l),S=i.a(n,{});n.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=y(g),w=x.path(C,S),T=l.insert(()=>w,`:first-child`).attr(`transform`,`translate(${-p/2}, ${p/2})`).attr(`class`,`outer-path`);return b&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,b),a&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,a),n.width=f,n.height=p,_(n,T),d.attr(`transform`,`translate(${-u.width/2-(u.x-(u.left??0))}, ${-p/2+(n.padding??0)/2+(u.y-(u.top??0))})`),n.intersect=function(t){return e.m.info(`Triangle intersect`,n,g,t),I.polygon(n,g,t)},l}n.n(Fe,`flippedTriangle`);async function Ie(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.padding??12,u=Math.max(o.width+l*2,t.width??0,90),d=o.height+l*2,f=Math.max(Math.min(d*.16,14),8),p=Math.max(d+f,t.height??0),m=p-f,g=Math.max(u*.38,28),y=-p/2,b=[{x:-u/2,y},{x:-u/2+g,y},{x:-u/2+g,y:y+f},{x:u/2,y:y+f},{x:u/2,y:p/2},{x:-u/2,y:p/2}],x=[`M${b[0].x},${b[0].y}`,...b.slice(1).map(e=>`L${e.x},${e.y}`),`Z`].join(` `),{cssStyles:S}=t,C;if(t.look===`handDrawn`){let e=s.t.svg(a).path(x,i.a(t,{}));C=a.insert(()=>e,`:first-child`).attr(`class`,`basic label-container`),S&&C.attr(`style`,S)}else C=a.insert(`path`,`:first-child`).attr(`d`,x).attr(`class`,`basic label-container`).attr(`style`,r);t.look===`handDrawn`?_(t,C):_(t,C,{width:u,height:p});let w=y+f+m/2;return c.attr(`transform`,`translate(${-(o.width/2)-(o.x-(o.left??0))}, ${w-o.height/2-(o.y-(o.top??0))})`),t.intersect=function(e){return I.polygon(t,b,e)},a}n.n(Ie,`folder`);function Le(e,t,{dir:n,config:{state:r,themeVariables:a}}){let{nodeStyles:o}=i.i(t);t.label=``;let c=e.insert(`g`).attr(`class`,v(t)).attr(`id`,t.domId??t.id),{cssStyles:l}=t,u=Math.max(70,t?.width??0),d=Math.max(10,t?.height??0);n===`LR`&&(u=Math.max(10,t?.width??0),d=Math.max(70,t?.height??0));let f=-1*u/2,p=-1*d/2,m=s.t.svg(c),h=i.a(t,{stroke:a.lineColor,fill:a.lineColor});t.look!==`handDrawn`&&(h.roughness=0,h.fillStyle=`solid`);let g=m.rectangle(f,p,u,d,h),y=c.insert(()=>g,`:first-child`);l&&t.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,l),o&&t.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,o),_(t,y);let b=r?.padding??0;return t.width&&t.height&&(t.width+=b/2||0,t.height+=b/2||0),t.intersect=function(e){return I.rect(t,e)},c}n.n(Le,`forkJoin`);async function Re(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.labelStyle=r;let o=n.look===`neo`?16:n.padding??0,c=n.look===`neo`?12:n.padding??0;(n.width||n.height)&&(n.height=(n?.height??0)-c*2,n.height<10&&(n.height=10),n.width=(n?.width??0)-o*2,n.width<15&&(n.width=15));let{shapeSvg:l,bbox:u}=await h(t,n,v(n)),d=(n?.width?n?.width:Math.max(15,u.width))+o*2,f=(n?.height?n?.height:Math.max(10,u.height))+c*2,p=f/2,{cssStyles:m}=n,g=s.t.svg(l),b=i.a(n,{});n.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let S=[{x:-d/2,y:-f/2},{x:d/2-p,y:-f/2},...x(-d/2+p,0,p,50,90,270),{x:d/2-p,y:f/2},{x:-d/2,y:f/2}],C=y(S),w=g.path(C,b),T=l.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),m&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,m),a&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,a),_(n,T),n.intersect=function(t){return e.m.info(`Pill intersect`,n,{radius:p,point:t}),I.polygon(n,S,t)},l}n.n(Re,`halfRoundedRectangle`);var ze=n.n((e,t,n,r,i)=>[`M${e+i},${t}`,`L${e+n-i},${t}`,`L${e+n},${t-r/2}`,`L${e+n-i},${t-r}`,`L${e+i},${t-r}`,`L${e},${t-r/2}`,`Z`].join(` `),`createHexagonPathD`);async function Be(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t),a=t.look===`neo`?3.5:4;t.labelStyle=n;let o=t.padding??0,c=t.look===`neo`?70:o,l=t.look===`neo`?32:o;if(t.width||t.height){let e=(t.height??0)/a;t.width=(t?.width??0)-2*e-l,t.height=(t.height??0)-c}let{shapeSvg:u,bbox:d}=await h(e,t,v(t)),f=(t?.height?t?.height:d.height)+c,p=f/a,m=(t?.width?t?.width:d.width)+2*p+l,g=[{x:p,y:0},{x:m-p,y:0},{x:m,y:-f/2},{x:m-p,y:-f},{x:p,y:-f},{x:0,y:-f/2}],y,{cssStyles:b}=t;if(t.look===`handDrawn`){let e=s.t.svg(u),n=i.a(t,{}),r=ze(0,0,m,f,p),a=e.path(r,n);y=u.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-m/2}, ${f/2})`),b&&y.attr(`style`,b)}else y=U(u,m,f,g);return r&&y.attr(`style`,r),t.width=m,t.height=f,_(t,y),t.intersect=function(e){return I.polygon(t,g,e)},u}n.n(Be,`hexagon`);async function Ve(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.label=``,n.labelStyle=r;let{shapeSvg:o}=await h(t,n,v(n)),c=Math.max(30,n?.width??0),l=Math.max(30,n?.height??0),{cssStyles:u}=n,d=s.t.svg(o),f=i.a(n,{});n.look!==`handDrawn`&&(f.roughness=0,f.fillStyle=`solid`);let p=[{x:0,y:0},{x:c,y:0},{x:0,y:l},{x:c,y:l}],m=y(p),g=d.path(m,f),b=o.insert(()=>g,`:first-child`);return b.attr(`class`,`basic label-container outer-path`),u&&n.look!==`handDrawn`&&b.selectChildren(`path`).attr(`style`,u),a&&n.look!==`handDrawn`&&b.selectChildren(`path`).attr(`style`,a),b.attr(`transform`,`translate(${-c/2}, ${-l/2})`),_(n,b),n.intersect=function(t){return e.m.info(`Pill intersect`,n,{points:p}),I.polygon(n,p,t)},o}n.n(Ve,`hourglass`);async function He(t,n,{config:{themeVariables:r,flowchart:o}}){let{labelStyles:c}=i.i(n);n.labelStyle=c;let l=n.assetHeight??48,u=n.assetWidth??48,d=Math.max(l,u),f=o?.wrappingWidth;n.width=Math.max(d,f??0);let{shapeSvg:p,bbox:m,label:g}=await h(t,n,`icon-shape default`),v=n.pos===`t`,y=d,b=d,{nodeBorder:x}=r,{stylesMap:S}=i.t(n),C=-b/2,w=-y/2,T=n.label?8:0,E=s.t.svg(p),D=i.a(n,{stroke:`none`,fill:`none`});n.look!==`handDrawn`&&(D.roughness=0,D.fillStyle=`solid`);let O=E.rectangle(C,w,b,y,D),k=Math.max(b,m.width),A=y+m.height+T,j=E.rectangle(-k/2,-A/2,k,A,{...D,fill:`transparent`,stroke:`none`}),M=p.insert(()=>O,`:first-child`),N=p.insert(()=>j);if(n.icon){let e=p.append(`g`);e.html(`<g>${await a.t(n.icon,{height:d,width:d,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,i=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${v?m.height/2+T/2-i/2-s:-m.height/2-T/2-i/2-s})`),e.attr(`style`,`color: ${S.get(`stroke`)??x};`)}return g.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))},${v?-A/2:A/2-m.height})`),M.attr(`transform`,`translate(0,${v?m.height/2+T/2:-m.height/2-T/2})`),_(n,N),n.intersect=function(t){if(e.m.info(`iconSquare intersect`,n,t),!n.label)return I.rect(n,t);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=v?[{x:r-m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2+m.height+T},{x:r+b/2,y:i-a/2+m.height+T},{x:r+b/2,y:i+a/2},{x:r-b/2,y:i+a/2},{x:r-b/2,y:i-a/2+m.height+T},{x:r-m.width/2,y:i-a/2+m.height+T}]:[{x:r-b/2,y:i-a/2},{x:r+b/2,y:i-a/2},{x:r+b/2,y:i-a/2+y},{x:r+m.width/2,y:i-a/2+y},{x:r+m.width/2/2,y:i+a/2},{x:r-m.width/2,y:i+a/2},{x:r-m.width/2,y:i-a/2+y},{x:r-b/2,y:i-a/2+y}],I.polygon(n,o,t)},p}n.n(He,`icon`);async function Ue(t,n,{config:{themeVariables:r,flowchart:o}}){let{labelStyles:c}=i.i(n);n.labelStyle=c;let l=n.assetHeight??48,u=n.assetWidth??48,d=Math.max(l,u),f=o?.wrappingWidth;n.width=Math.max(d,f??0);let{shapeSvg:p,bbox:m,label:g}=await h(t,n,`icon-shape default`),v=n.label?8:0,y=n.pos===`t`,{nodeBorder:b,mainBkg:x}=r,{stylesMap:S}=i.t(n),C=s.t.svg(p),w=i.a(n,{});n.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`),w.stroke=S.get(`fill`)??x;let T=p.append(`g`);n.icon&&T.html(`<g>${await a.t(n.icon,{height:d,width:d,fallbackPrefix:``})}</g>`);let E=T.node().getBBox(),D=E.width,O=E.height,k=E.x,A=E.y,j=Math.max(D,O)*Math.SQRT2+40,M=C.circle(0,0,j,w),N=Math.max(j,m.width),P=j+m.height+v,F=C.rectangle(-N/2,-P/2,N,P,{...w,fill:`transparent`,stroke:`none`}),ee=p.insert(()=>M,`:first-child`),L=p.insert(()=>F);return T.attr(`transform`,`translate(${-D/2-k},${y?m.height/2+v/2-O/2-A:-m.height/2-v/2-O/2-A})`),T.attr(`style`,`color: ${S.get(`stroke`)??b};`),g.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))},${y?-P/2:P/2-m.height})`),ee.attr(`transform`,`translate(0,${y?m.height/2+v/2:-m.height/2-v/2})`),_(n,L),n.intersect=function(t){return e.m.info(`iconSquare intersect`,n,t),I.rect(n,t)},p}n.n(Ue,`iconCircle`);async function We(t,n,{config:{themeVariables:r,flowchart:o}}){let{labelStyles:c}=i.i(n);n.labelStyle=c;let l=n.assetHeight??48,u=n.assetWidth??48,d=Math.max(l,u),f=o?.wrappingWidth;n.width=Math.max(d,f??0);let{shapeSvg:p,bbox:m,halfPadding:g,label:v}=await h(t,n,`icon-shape default`),y=n.pos===`t`,b=d+g*2,x=d+g*2,{nodeBorder:S,mainBkg:C}=r,{stylesMap:T}=i.t(n),E=-x/2,D=-b/2,O=n.label?8:0,k=s.t.svg(p),A=i.a(n,{});n.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`),A.stroke=T.get(`fill`)??C;let j=k.path(w(E,D,x,b,5),A),M=Math.max(x,m.width),N=b+m.height+O,P=k.rectangle(-M/2,-N/2,M,N,{...A,fill:`transparent`,stroke:`none`}),F=p.insert(()=>j,`:first-child`).attr(`class`,`icon-shape2`),ee=p.insert(()=>P);if(n.icon){let e=p.append(`g`);e.html(`<g>${await a.t(n.icon,{height:d,width:d,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,i=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${y?m.height/2+O/2-i/2-s:-m.height/2-O/2-i/2-s})`),e.attr(`style`,`color: ${T.get(`stroke`)??S};`)}return v.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))},${y?-N/2:N/2-m.height})`),F.attr(`transform`,`translate(0,${y?m.height/2+O/2:-m.height/2-O/2})`),_(n,ee),n.intersect=function(t){if(e.m.info(`iconSquare intersect`,n,t),!n.label)return I.rect(n,t);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=y?[{x:r-m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2+m.height+O},{x:r+x/2,y:i-a/2+m.height+O},{x:r+x/2,y:i+a/2},{x:r-x/2,y:i+a/2},{x:r-x/2,y:i-a/2+m.height+O},{x:r-m.width/2,y:i-a/2+m.height+O}]:[{x:r-x/2,y:i-a/2},{x:r+x/2,y:i-a/2},{x:r+x/2,y:i-a/2+b},{x:r+m.width/2,y:i-a/2+b},{x:r+m.width/2/2,y:i+a/2},{x:r-m.width/2,y:i+a/2},{x:r-m.width/2,y:i-a/2+b},{x:r-x/2,y:i-a/2+b}],I.polygon(n,o,t)},p}n.n(We,`iconRounded`);async function Ge(t,n,{config:{themeVariables:r,flowchart:o}}){let{labelStyles:c}=i.i(n);n.labelStyle=c;let l=n.assetHeight??48,u=n.assetWidth??48,d=Math.max(l,u),f=o?.wrappingWidth;n.width=Math.max(d,f??0);let{shapeSvg:p,bbox:m,halfPadding:g,label:v}=await h(t,n,`icon-shape default`),y=n.pos===`t`,b=d+g*2,x=d+g*2,{nodeBorder:S,mainBkg:C}=r,{stylesMap:T}=i.t(n),E=-x/2,D=-b/2,O=n.label?8:0,k=s.t.svg(p),A=i.a(n,{});n.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`),A.stroke=T.get(`fill`)??C;let j=k.path(w(E,D,x,b,.1),A),M=Math.max(x,m.width),N=b+m.height+O,P=k.rectangle(-M/2,-N/2,M,N,{...A,fill:`transparent`,stroke:`none`}),F=p.insert(()=>j,`:first-child`),ee=p.insert(()=>P);if(n.icon){let e=p.append(`g`);e.html(`<g>${await a.t(n.icon,{height:d,width:d,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,i=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${y?m.height/2+O/2-i/2-s:-m.height/2-O/2-i/2-s})`),e.attr(`style`,`color: ${T.get(`stroke`)??S};`)}return v.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))},${y?-N/2:N/2-m.height})`),F.attr(`transform`,`translate(0,${y?m.height/2+O/2:-m.height/2-O/2})`),_(n,ee),n.intersect=function(t){if(e.m.info(`iconSquare intersect`,n,t),!n.label)return I.rect(n,t);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=y?[{x:r-m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2+m.height+O},{x:r+x/2,y:i-a/2+m.height+O},{x:r+x/2,y:i+a/2},{x:r-x/2,y:i+a/2},{x:r-x/2,y:i-a/2+m.height+O},{x:r-m.width/2,y:i-a/2+m.height+O}]:[{x:r-x/2,y:i-a/2},{x:r+x/2,y:i-a/2},{x:r+x/2,y:i-a/2+b},{x:r+m.width/2,y:i-a/2+b},{x:r+m.width/2/2,y:i+a/2},{x:r-m.width/2,y:i+a/2},{x:r-m.width/2,y:i-a/2+b},{x:r-x/2,y:i-a/2+b}],I.polygon(n,o,t)},p}n.n(Ge,`iconSquare`);async function Ke(t,n,{config:{flowchart:r}}){let a=new Image;a.src=n?.img??``,await a.decode();let o=Number(a.naturalWidth.toString().replace(`px`,``)),c=Number(a.naturalHeight.toString().replace(`px`,``));n.imageAspectRatio=o/c;let{labelStyles:l}=i.i(n);n.labelStyle=l;let u=r?.wrappingWidth;n.defaultWidth=r?.wrappingWidth;let d=Math.max(n.label?u??0:0,n?.assetWidth??o),f=n.constraint===`on`&&n?.assetHeight?n.assetHeight*n.imageAspectRatio:d,p=n.constraint===`on`?f/n.imageAspectRatio:n?.assetHeight??c;n.width=Math.max(f,u??0);let{shapeSvg:m,bbox:g,label:v}=await h(t,n,`image-shape default`),y=n.pos===`t`,b=-f/2,x=-p/2,S=n.label?8:0,C=s.t.svg(m),w=i.a(n,{});n.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=C.rectangle(b,x,f,p,w),E=Math.max(f,g.width),D=p+g.height+S,O=C.rectangle(-E/2,-D/2,E,D,{...w,fill:`none`,stroke:`none`}),k=m.insert(()=>T,`:first-child`),A=m.insert(()=>O);if(n.img){let e=m.append(`image`);e.attr(`href`,n.img),e.attr(`width`,f),e.attr(`height`,p),e.attr(`preserveAspectRatio`,`none`),e.attr(`transform`,`translate(${-f/2},${y?D/2-p:-D/2})`)}return v.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${y?-p/2-g.height/2-S/2:p/2-g.height/2+S/2})`),k.attr(`transform`,`translate(0,${y?g.height/2+S/2:-g.height/2-S/2})`),_(n,A),n.intersect=function(t){if(e.m.info(`iconSquare intersect`,n,t),!n.label)return I.rect(n,t);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=y?[{x:r-g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2+g.height+S},{x:r+f/2,y:i-a/2+g.height+S},{x:r+f/2,y:i+a/2},{x:r-f/2,y:i+a/2},{x:r-f/2,y:i-a/2+g.height+S},{x:r-g.width/2,y:i-a/2+g.height+S}]:[{x:r-f/2,y:i-a/2},{x:r+f/2,y:i-a/2},{x:r+f/2,y:i-a/2+p},{x:r+g.width/2,y:i-a/2+p},{x:r+g.width/2/2,y:i+a/2},{x:r-g.width/2,y:i+a/2},{x:r-g.width/2,y:i-a/2+p},{x:r-f/2,y:i-a/2+p}],I.polygon(n,o,t)},m}n.n(Ke,`imageSquare`);async function qe(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=a,c=t.look===`neo`?a*2:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(u.height+o*2,t.height??0),f=Math.max(u.width+c*2,(t.width??0)-d),p=[{x:0,y:0},{x:f,y:0},{x:f+3*d/6,y:-d},{x:-3*d/6,y:-d}],m,{cssStyles:g}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(p),a=e.path(r,n);m=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-f/2}, ${d/2})`),g&&m.attr(`style`,g)}else m=U(l,f,d,p);return r&&m.attr(`style`,r),t.width=f,t.height=d,_(t,m),t.intersect=function(e){return I.polygon(t,p,e)},l}n.n(qe,`inv_trapezoid`);async function Je(e,t){let{shapeSvg:n,bbox:r,label:i}=await h(e,t,`label`),a=n.insert(`rect`,`:first-child`);return a.attr(`width`,.1).attr(`height`,.1),n.attr(`class`,`label edgeLabel`),i.attr(`transform`,`translate(${-(r.width/2)-(r.x-(r.left??0))}, ${-(r.height/2)-(r.y-(r.top??0))})`),_(t,a),t.intersect=function(e){return I.rect(t,e)},n}n.n(Je,`labelRect`);async function Ye(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=a,c=t.look===`neo`?a*2:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(u.height+o,t.height??0),f=Math.max(u.width+c,(t.width??0)-d),p=[{x:0,y:0},{x:f+3*d/6,y:0},{x:f,y:-d},{x:-(3*d)/6,y:-d}],m,{cssStyles:g}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(p),a=e.path(r,n);m=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-f/2}, ${d/2})`),g&&m.attr(`style`,g)}else m=U(l,f,d,p);return r&&m.attr(`style`,r),t.width=f,t.height=d,_(t,m),t.intersect=function(e){return I.polygon(t,p,e)},l}n.n(Ye,`lean_left`);async function Xe(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=a,c=t.look===`neo`?a*2:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(u.height+o,t.height??0),f=Math.max(u.width+c,(t.width??0)-d),p=[{x:-3*d/6,y:0},{x:f,y:0},{x:f+3*d/6,y:-d},{x:0,y:-d}],m,{cssStyles:g}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(p),a=e.path(r,n);m=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-f/2}, ${d/2})`),g&&m.attr(`style`,g)}else m=U(l,f,d,p);return r&&m.attr(`style`,r),t.width=f,t.height=d,_(t,m),t.intersect=function(e){return I.polygon(t,p,e)},l}n.n(Xe,`lean_right`);function Ze(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.label=``,n.labelStyle=r;let o=t.insert(`g`).attr(`class`,v(n)).attr(`id`,n.domId??n.id),{cssStyles:c}=n,l=Math.max(35,n?.width??0),u=Math.max(35,n?.height??0),d=[{x:l,y:0},{x:0,y:u+7/2},{x:l-14,y:u+7/2},{x:0,y:2*u},{x:l,y:u-7/2},{x:14,y:u-7/2}],f=s.t.svg(o),p=i.a(n,{});n.look!==`handDrawn`&&(p.roughness=0,p.fillStyle=`solid`);let m=y(d),h=f.path(m,p),g=o.insert(()=>h,`:first-child`);return g.attr(`class`,`outer-path`),c&&n.look!==`handDrawn`&&g.selectAll(`path`).attr(`style`,c),a&&n.look!==`handDrawn`&&g.selectAll(`path`).attr(`style`,a),g.attr(`transform`,`translate(-${l/2},${-u})`),_(n,g),n.intersect=function(t){return e.m.info(`lightningBolt intersect`,n,t),I.polygon(n,d,t)},o}n.n(Ze,`lightningBolt`);var Qe=n.n((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createCylinderPathD`),$e=n.n((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createOuterCylinderPathD`),et=n.n((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),tt=10,nt=10;async function rt(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t.padding??0,c=t.look===`neo`?16:o,l=t.look===`neo`?24:o;if(t.width||t.height){let e=t.width??0;t.width=(t.width??0)-c,t.width<nt&&(t.width=nt);let n=e/2/(2.5+e/50);t.height=(t.height??0)-l-n*3,t.height<tt&&(t.height=tt)}let{shapeSvg:u,bbox:d,label:f}=await h(e,t,v(t)),p=(t?.width?t?.width:d.width)+c*2,m=p/2,g=m/(2.5+p/50),y=(t?.height?t?.height:d.height)+g+l*2,b=y*.1,x,{cssStyles:S}=t;if(t.look===`handDrawn`){let e=s.t.svg(u),n=$e(0,0,p,y,m,g,b),r=et(0,g,p,y,m,g),a=i.a(t,{}),o=e.path(n,a),c=e.path(r,a);u.insert(()=>c,`:first-child`).attr(`class`,`line`),x=u.insert(()=>o,`:first-child`),x.attr(`class`,`basic label-container`),S&&x.attr(`style`,S)}else{let e=Qe(0,0,p,y,m,g,b);x=u.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(S)).attr(`style`,a)}return x.attr(`label-offset-y`,g),x.attr(`transform`,`translate(${-p/2}, ${-(y/2+g)})`),_(t,x),f.attr(`transform`,`translate(${-(d.width/2)-(d.x-(d.left??0))}, ${-(d.height/2)+g-(d.y-(d.top??0))})`),t.intersect=function(e){let n=I.rect(t,e),r=n.x-(t.x??0);if(m!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-g)){let i=g*g*(1-r*r/(m*m));i>0&&(i=Math.sqrt(i)),i=g-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},u}n.n(rt,`linedCylinder`);async function it(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a;(t.width||t.height)&&(t.width=(t.width??0)*10/11-o*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-c*2,t.height<10&&(t.height=10));let{shapeSvg:l,bbox:u,label:d}=await h(e,t,v(t)),f=(t?.width?t?.width:u.width)+(o??0)*2,p=(t?.height?t?.height:u.height)+(c??0)*2,m=t.look===`neo`?p/4:p/8,g=p+m,{cssStyles:y}=t,x=s.t.svg(l),S=i.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-f/2-f/2*.1,y:-g/2},{x:-f/2-f/2*.1,y:g/2},...b(-f/2-f/2*.1,g/2,f/2+f/2*.1,g/2,m,.8),{x:f/2+f/2*.1,y:-g/2},{x:-f/2-f/2*.1,y:-g/2},{x:-f/2,y:-g/2},{x:-f/2,y:g/2*1.1},{x:-f/2,y:-g/2}],w=x.polygon(C.map(e=>[e.x,e.y]),S),T=l.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&T.selectAll(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&T.selectAll(`path`).attr(`style`,r),T.attr(`transform`,`translate(0,${-m/2})`),d.attr(`transform`,`translate(${-f/2+(t.padding??0)+f/2*.1/2-(u.x-(u.left??0))},${-p/2+(t.padding??0)-m/2-(u.y-(u.top??0))})`),_(t,T),t.intersect=function(e){return I.polygon(t,C,e)},l}n.n(it,`linedWaveEdgedRect`);async function at(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a,l=t.look===`neo`?10:5;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-o*2-2*l,10),t.height=Math.max((t?.height??0)-c*2-2*l,10));let{shapeSvg:u,bbox:d,label:f}=await h(e,t,v(t)),p=(t?.width?t?.width:d.width)+o*2+2*l,m=(t?.height?t?.height:d.height)+c*2+2*l,g=p-2*l,b=m-2*l,x=-g/2,C=-b/2,{cssStyles:w}=t,T=s.t.svg(u),E=i.a(t,{}),D=[{x:x-l,y:C+l},{x:x-l,y:C+b+l},{x:x+g-l,y:C+b+l},{x:x+g-l,y:C+b},{x:x+g,y:C+b},{x:x+g,y:C+b-l},{x:x+g+l,y:C+b-l},{x:x+g+l,y:C-l},{x:x+l,y:C-l},{x:x+l,y:C},{x,y:C},{x,y:C+l}],O=[{x,y:C+l},{x:x+g-l,y:C+l},{x:x+g-l,y:C+b},{x:x+g,y:C+b},{x:x+g,y:C},{x,y:C}];t.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let k=y(D),A=T.path(k,E),j=y(O),M=T.path(j,E);t.look!==`handDrawn`&&(A=S(A),M=S(M));let N=u.insert(`g`,`:first-child`);return N.insert(()=>A),N.insert(()=>M),N.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&N.selectAll(`path`).attr(`style`,w),r&&t.look!==`handDrawn`&&N.selectAll(`path`).attr(`style`,r),f.attr(`transform`,`translate(${-(d.width/2)-l-(d.x-(d.left??0))}, ${-(d.height/2)+l-(d.y-(d.top??0))})`),_(t,N),t.intersect=function(e){return I.polygon(t,D,e)},u}n.n(at,`multiRect`);async function ot(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.padding??0,u=t.look===`neo`?16:l,d=t.look===`neo`?12:l,f=!0;(t.width||t.height)&&(f=!1,t.width=(t?.width??0)-u*2,t.height=(t?.height??0)-d*3);let p=Math.max(o.width,t?.width??0)+u*2,m=Math.max(o.height,t?.height??0)+d*3,g=t.look===`neo`?m/4:m/8,x=m+(f?g/2:-g/2),S=-p/2,C=-x/2,{cssStyles:w}=t,T=b(S-10,C+x+10,S+p-10,C+x+10,g,.8),E=T?.[T.length-1],D=[{x:S-10,y:C+10},{x:S-10,y:C+x+10},...T,{x:S+p-10,y:E.y-10},{x:S+p,y:E.y-10},{x:S+p,y:E.y-20},{x:S+p+10,y:E.y-20},{x:S+p+10,y:C-10},{x:S+10,y:C-10},{x:S+10,y:C},{x:S,y:C},{x:S,y:C+10}],O=[{x:S,y:C+10},{x:S+p-10,y:C+10},{x:S+p-10,y:E.y-10},{x:S+p,y:E.y-10},{x:S+p,y:C},{x:S,y:C}],k=s.t.svg(a),A=i.a(t,{});t.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`);let j=y(D),M=k.path(j,A),N=y(O),P=k.path(N,A),F=a.insert(()=>M,`:first-child`);return F.insert(()=>P),F.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&F.selectAll(`path`).attr(`style`,w),r&&t.look!==`handDrawn`&&F.selectAll(`path`).attr(`style`,r),F.attr(`transform`,`translate(0,${-g/2})`),c.attr(`transform`,`translate(${-(o.width/2)-10-(o.x-(o.left??0))}, ${-(o.height/2)+10-g/2-(o.y-(o.top??0))})`),_(t,F),t.intersect=function(e){return I.polygon(t,D,e)},a}n.n(ot,`multiWaveEdgedRectangle`);async function st(e,n,{config:{themeVariables:r}}){let{labelStyles:a,nodeStyles:o}=i.i(n);n.labelStyle=a,n.useHtmlLabels||t.T(t.b())||(n.centerLabel=!0);let{shapeSvg:c,bbox:l,label:u}=await h(e,n,v(n)),d=Math.max(l.width+(n.padding??0)*2,n?.width??0),f=Math.max(l.height+(n.padding??0)*2,n?.height??0),p=-d/2,m=-f/2,{cssStyles:g}=n,y=s.t.svg(c),b=i.a(n,{fill:r.noteBkgColor,stroke:r.noteBorderColor});n.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let x=y.rectangle(p,m,d,f,b),S=c.insert(()=>x,`:first-child`);return S.attr(`class`,`basic label-container outer-path`),u.attr(`class`,`label noteLabel`),g&&n.look!==`handDrawn`&&S.selectAll(`path`).attr(`style`,g),o&&n.look!==`handDrawn`&&S.selectAll(`path`).attr(`style`,o),u.attr(`transform`,`translate(${-l.width/2-(l.x-(l.left??0))}, ${-(l.height/2)-(l.y-(l.top??0))})`),_(n,S),n.intersect=function(e){return I.rect(n,e)},c}n.n(st,`note`);var ct=n.n((e,t,n)=>[`M${e+n/2},${t}`,`L${e+n},${t-n/2}`,`L${e+n/2},${t-n}`,`L${e},${t-n/2}`,`Z`].join(` `),`createDecisionBoxPathD`);async function lt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o}=await h(e,t,v(t)),c=o.width+(t.padding??0)+(o.height+(t.padding??0)),l=.5,u=[{x:c/2,y:0},{x:c,y:-c/2},{x:c/2,y:-c},{x:0,y:-c/2}],d,{cssStyles:f}=t;if(t.look===`handDrawn`){let e=s.t.svg(a),n=i.a(t,{}),r=ct(0,0,c),o=e.path(r,n);d=a.insert(()=>o,`:first-child`).attr(`transform`,`translate(${-c/2+l}, ${c/2})`),f&&d.attr(`style`,f)}else d=U(a,c,c,u),d.attr(`transform`,`translate(${-c/2+l}, ${c/2})`);return r&&d.attr(`style`,r),_(t,d),t.calcIntersect=function(e,t){let n=e.width,r=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}],i=I.polygon(e,r,t);return{x:i.x-.5,y:i.y-.5}},t.intersect=function(e){return this.calcIntersect(t,e)},a}n.n(lt,`question`);async function ut(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?21:a??0,c=t.look===`neo`?12:a??0,{shapeSvg:l,bbox:u,label:d}=await h(e,t,v(t)),f=u.width+(t.look===`neo`?o*2:o),p=Math.max(u.height+(t.look===`neo`?c*2:c),t.height??0),m=p/4,g=-Math.max(f,(t.width??0)-m)/2,b=-p/2,x=b/2,S=[{x:g+x,y:b},{x:g,y:0},{x:g+x,y:-b},{x:-g,y:-b},{x:-g,y:b}],{cssStyles:C}=t,w=s.t.svg(l),T=i.a(t,{});t.look!==`handDrawn`&&(T.roughness=0,T.fillStyle=`solid`);let E=y(S),D=w.path(E,T),O=l.insert(()=>D,`:first-child`);return O.attr(`class`,`basic label-container outer-path`),C&&t.look!==`handDrawn`&&O.selectAll(`path`).attr(`style`,C),r&&t.look!==`handDrawn`&&O.selectAll(`path`).attr(`style`,r),O.attr(`transform`,`translate(${-x/2},0)`),d.attr(`transform`,`translate(${-x/2-u.width/2-(u.x-(u.left??0))}, ${-(u.height/2)-(u.y-(u.top??0))})`),_(t,O),t.intersect=function(e){return I.polygon(t,S,e)},l}n.n(ut,`rect_left_inv_arrow`);async function dt(n,r){let{labelStyles:a,nodeStyles:o}=i.i(r);r.labelStyle=a;let c;c=r.cssClasses?`node `+r.cssClasses:`node default`;let l=n.insert(`g`).attr(`class`,c).attr(`id`,r.domId||r.id),u=l.insert(`g`),d=l.insert(`g`).attr(`class`,`label`).attr(`style`,o),f=r.description,p=r.label,m=await T(d,p,r.labelStyle,!0,!0),h={width:0,height:0};if(t.T(t.x())){let t=m.children[0],n=e.p(m);h=t.getBoundingClientRect(),n.attr(`width`,h.width),n.attr(`height`,h.height)}e.m.info(`Text 2`,f);let g=f||[],v=m.getBBox(),y=await T(d,Array.isArray(g)?g.join(`<br/>`):g,r.labelStyle,!0,!0),b=y.children[0],x=e.p(y);h=b.getBoundingClientRect(),x.attr(`width`,h.width),x.attr(`height`,h.height);let S=(r.padding||0)/2;e.p(y).attr(`transform`,`translate( `+(h.width>v.width?0:(v.width-h.width)/2)+`, `+(v.height+S+5)+`)`),e.p(m).attr(`transform`,`translate( `+(h.width<v.width?0:-(v.width-h.width)/2)+`, 0)`),h=d.node().getBBox(),d.attr(`transform`,`translate(`+-h.width/2+`, `+(-h.height/2-S+3)+`)`);let C=h.width+(r.padding||0),E=h.height+(r.padding||0),D=-h.width/2-S,O=-h.height/2-S,k,A;if(r.look===`handDrawn`){let t=s.t.svg(l),n=i.a(r,{}),a=t.path(w(D,O,C,E,r.rx||0),n),o=t.line(-h.width/2-S,-h.height/2-S+v.height+S,h.width/2+S,-h.height/2-S+v.height+S,n);A=l.insert(()=>(e.m.debug(`Rough node insert CXC`,a),o),`:first-child`),k=l.insert(()=>(e.m.debug(`Rough node insert CXC`,a),a),`:first-child`)}else k=u.insert(`rect`,`:first-child`),A=u.insert(`line`),k.attr(`class`,`outer title-state`).attr(`style`,o).attr(`x`,-h.width/2-S).attr(`y`,-h.height/2-S).attr(`width`,h.width+(r.padding||0)).attr(`height`,h.height+(r.padding||0)),A.attr(`class`,`divider`).attr(`x1`,-h.width/2-S).attr(`x2`,h.width/2+S).attr(`y1`,-h.height/2-S+v.height+S).attr(`y2`,-h.height/2-S+v.height+S);return _(r,k),r.intersect=function(e){return I.rect(r,e)},l}n.n(dt,`rectWithTitle`);async function ft(e,t,{config:{themeVariables:n}}){let r=n?.radius??5;return Y(e,t,{rx:r,ry:r,classes:``,labelPaddingX:(t?.padding??0)*1,labelPaddingY:(t?.padding??0)*1})}n.n(ft,`roundedRect`);var X=8;async function pt(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t.look===`neo`?16:t.padding??0,c=t.look===`neo`?12:t.padding??0,{shapeSvg:l,bbox:u,label:d}=await h(e,t,v(t)),f=(t?.width??u.width)+o*2+(t.look===`neo`?X:X*2),p=(t?.height??u.height)+c*2,m=f-X,g=p,y=X-f/2,b=-p/2,{cssStyles:x}=t,S=s.t.svg(l),C=i.a(t,{});t.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`);let w=[{x:y,y:b},{x:y+m,y:b},{x:y+m,y:b+g},{x:y-X,y:b+g},{x:y-X,y:b},{x:y,y:b},{x:y,y:b+g}],T=S.polygon(w.map(e=>[e.x,e.y]),C),E=l.insert(()=>T,`:first-child`);return E.attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(x)),a&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,a),x&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,a),d.attr(`transform`,`translate(${X/2-u.width/2-(u.x-(u.left??0))}, ${-(u.height/2)-(u.y-(u.top??0))})`),_(t,E),t.intersect=function(e){return I.rect(t,e)},l}n.n(pt,`shadedProcess`);async function mt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-o*2,10),t.height=Math.max((t?.height??0)/1.5-c*2,10));let{shapeSvg:l,bbox:u,label:d}=await h(e,t,v(t)),f=(t?.width?t?.width:u.width)+o*2,p=((t?.height?t?.height:u.height)+c*2)*1.5,m=f,g=p/1.5,b=-m/2,x=-g/2,{cssStyles:S}=t,C=s.t.svg(l),w=i.a(t,{});t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=[{x:b,y:x},{x:b,y:x+g},{x:b+m,y:x+g},{x:b+m,y:x-g/2}],E=y(T),D=C.path(E,w),O=l.insert(()=>D,`:first-child`);return O.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&O.selectChildren(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&O.selectChildren(`path`).attr(`style`,r),O.attr(`transform`,`translate(0, ${g/4})`),d.attr(`transform`,`translate(${-m/2+(t.padding??0)-(u.x-(u.left??0))}, ${-g/4+(t.padding??0)-(u.y-(u.top??0))})`),_(t,O),t.intersect=function(e){return I.polygon(t,T,e)},l}n.n(mt,`slopedRect`);async function ht(e,t){let n=t.padding??0,r=t.look===`neo`?16:n*2,i=t.look===`neo`?12:n;return Y(e,t,{rx:0,ry:0,classes:``,labelPaddingX:t.labelPaddingX??r,labelPaddingY:i})}n.n(ht,`squareRect`);async function gt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?20:a,c=t.look===`neo`?12:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=u.height+(t.look===`neo`?c*2:c),f=u.width+d/4+(t.look===`neo`?o*2:o),p=d/2,{cssStyles:m}=t,g=s.t.svg(l),b=i.a(t,{});t.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let S=[{x:-f/2+p,y:-d/2},{x:f/2-p,y:-d/2},...x(-f/2+p,0,p,50,90,270),{x:f/2-p,y:d/2},...x(f/2-p,0,p,50,270,450)],C=y(S),w=g.path(C,b),T=l.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),m&&t.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,r),_(t,T),t.intersect=function(e){return I.polygon(t,S,e)},l}n.n(gt,`stadium`);async function _t(e,t){return Y(e,t,{rx:t.look===`neo`?3:5,ry:t.look===`neo`?3:5,classes:`flowchart-node`})}n.n(_t,`state`);function vt(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r;let{cssStyles:o}=t,{lineColor:c,stateBorder:l,nodeBorder:u,nodeShadow:d}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let f=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId??t.id),p=s.t.svg(f),m=i.a(t,{});t.look!==`handDrawn`&&(m.roughness=0,m.fillStyle=`solid`);let h=p.circle(0,0,t.width,{...m,stroke:c,strokeWidth:2}),g=l??u,v=(t.width??0)*5/14,y=p.circle(0,0,v,{...m,fill:g,stroke:g,strokeWidth:2,fillStyle:`solid`}),b=f.insert(()=>h,`:first-child`);if(b.insert(()=>y),t.look!==`handDrawn`&&b.attr(`class`,`outer-path`),o&&b.selectAll(`path`).attr(`style`,o),a&&b.selectAll(`path`).attr(`style`,a),t.width<25&&d&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;b.attr(`style`,`filter:url(#${n})`)}return _(t,b),t.intersect=function(e){return I.circle(t,(t.width??0)/2,e)},f}n.n(vt,`stateEnd`);function yt(e,t,{config:{themeVariables:n}}){let{lineColor:r,nodeShadow:a}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let o=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId||t.id),c;if(t.look===`handDrawn`){let e=s.t.svg(o).circle(0,0,t.width,i.r(r));c=o.insert(()=>e),c.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14)}else c=o.insert(`circle`,`:first-child`),c.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14);if(t.width<25&&a&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;c.attr(`style`,`filter:url(#${n})`)}return _(t,c),t.intersect=function(e){return I.circle(t,(t.width??7)/2,e)},o}n.n(yt,`stateStart`);var bt=8;async function xt(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t?.padding??8,c=t.look===`neo`?28:o,l=t.look===`neo`?12:o,{shapeSvg:u,bbox:d}=await h(e,t,v(t)),f=Math.max(d.width+2*bt+c,t.width??0),p=Math.max(d.height+l,t.height??0),m=f-2*bt,g=p,y=-f/2,b=-p/2,x=[{x:0,y:0},{x:m,y:0},{x:m,y:-g},{x:0,y:-g},{x:0,y:0},{x:-8,y:0},{x:m+8,y:0},{x:m+8,y:-g},{x:-8,y:-g},{x:-8,y:0}];if(t.look===`handDrawn`){let e=s.t.svg(u),n=i.a(t,{}),a=e.rectangle(y,b,m+16,g,n),o=e.line(y+bt,b,y+bt,b+g,n),c=e.line(y+bt+m,b,y+bt+m,b+g,n);u.insert(()=>o,`:first-child`),u.insert(()=>c,`:first-child`);let l=u.insert(()=>a,`:first-child`),{cssStyles:d}=t;l.attr(`class`,`basic label-container`).attr(`style`,r.u(d)),_(t,l)}else{let e=U(u,m,g,x);a&&e.attr(`style`,a),_(t,e)}return t.intersect=function(e){return I.polygon(t,x,e)},u}n.n(xt,`subroutine`);var St=.2;async function Ct(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a;(t.width||t.height)&&(t.height=Math.max((t?.height??0)-c*2,10),t.width=Math.max((t?.width??0)-o*2-St*(t.height+c*2),10));let{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=(t?.height?t?.height:u.height)+c*2,f=St*d,p=St*d,m=(t?.width?t?.width:u.width)+o*2+f-f,g=d,b=-m/2,x=-g/2,{cssStyles:S}=t,C=s.t.svg(l),w=i.a(t,{}),T=[{x:b-f/2,y:x},{x:b+m+f/2,y:x},{x:b+m+f/2,y:x+g},{x:b-f/2,y:x+g}],E=[{x:b+m-f/2,y:x+g},{x:b+m+f/2,y:x+g},{x:b+m+f/2,y:x+g-p}];t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let D=y(T),O=C.path(D,w),k=y(E),A=C.path(k,{...w,fillStyle:`solid`}),j=l.insert(()=>A,`:first-child`);return j.insert(()=>O,`:first-child`),j.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),_(t,j),t.intersect=function(e){return I.polygon(t,T,e)},l}n.n(Ct,`taggedRect`);async function wt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=Math.max(o.width+(t.padding??0)*2,t?.width??0),u=Math.max(o.height+(t.padding??0)*2,t?.height??0),d=u/8,f=.2*l,p=.2*u,m=u+d,{cssStyles:g}=t,x=s.t.svg(a),S=i.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-l/2-l/2*.1,y:m/2},...b(-l/2-l/2*.1,m/2,l/2+l/2*.1,m/2,d,.8),{x:l/2+l/2*.1,y:-m/2},{x:-l/2-l/2*.1,y:-m/2}],w=-l/2+l/2*.1,T=-m/2-p*.4,E=[{x:w+l-f,y:(T+u)*1.3},{x:w+l,y:T+u-p},{x:w+l,y:(T+u)*.9},...b(w+l,(T+u)*1.25,w+l-f,(T+u)*1.3,-u*.02,.5)],D=y(C),O=x.path(D,S),k=y(E),A=x.path(k,{...S,fillStyle:`solid`}),j=a.insert(()=>A,`:first-child`);return j.insert(()=>O,`:first-child`),j.attr(`class`,`basic label-container outer-path`),g&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,g),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),j.attr(`transform`,`translate(0,${-d/2})`),c.attr(`transform`,`translate(${-l/2+(t.padding??0)-(o.x-(o.left??0))},${-u/2+(t.padding??0)-d/2-(o.y-(o.top??0))})`),_(t,j),t.intersect=function(e){return I.polygon(t,C,e)},a}n.n(wt,`taggedWaveEdgedRectangle`);async function Tt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o}=await h(e,t,v(t)),s=Math.max(o.width+(t.padding??0),t?.width||0),c=Math.max(o.height+(t.padding??0),t?.height||0),l=-s/2,u=-c/2,d=a.insert(`rect`,`:first-child`);return d.attr(`class`,`text`).attr(`style`,r).attr(`rx`,0).attr(`ry`,0).attr(`x`,l).attr(`y`,u).attr(`width`,s).attr(`height`,c),_(t,d),t.intersect=function(e){return I.rect(t,e)},a}n.n(Tt,`text`);var Et=n.n((e,t,n,r,i,a)=>`M${e},${t}
|
|
3
|
-
a${i},${a} 0,0,1 0,${-r}
|
|
4
|
-
l${n},0
|
|
5
|
-
a${i},${a} 0,0,1 0,${r}
|
|
6
|
-
M${n},${-r}
|
|
7
|
-
a${i},${a} 0,0,0 0,${r}
|
|
8
|
-
l${-n},0`,`createCylinderPathD`),Dt=n.n((e,t,n,r,i,a)=>[`M${e},${t}`,`M${e+n},${t}`,`a${i},${a} 0,0,0 0,${-r}`,`l${-n},0`,`a${i},${a} 0,0,0 0,${r}`,`l${n},0`].join(` `),`createOuterCylinderPathD`),Ot=n.n((e,t,n,r,i,a)=>[`M${e+n/2},${-r/2}`,`a${i},${a} 0,0,0 0,${r}`].join(` `),`createInnerCylinderPathD`),kt=5,At=10;async function jt(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t.padding??0,c=t.look===`neo`?12:o/2,l=t.height??0;if(t.height&&(t.height-=c,t.height<kt&&(t.height=kt)),t.width){let e=l/2/(2.5+l/50);t.width=t.width-c-e*3,t.width<At&&(t.width=At)}let{shapeSvg:u,bbox:d,label:f}=await h(e,t,v(t)),p=Math.max(t.height??0,d.height)+c,m=p/2,g=m/(2.5+p/50),y=Math.max(t.width??0,d.width)+g+c,{cssStyles:b}=t,x;if(t.look===`handDrawn`){let e=s.t.svg(u),n=Dt(0,0,y,p,g,m),r=Ot(0,0,y,p,g,m),a=e.path(n,i.a(t,{})),o=e.path(r,i.a(t,{fill:`none`}));x=u.insert(()=>o,`:first-child`),x=u.insert(()=>a,`:first-child`),x.attr(`class`,`basic label-container`),b&&x.attr(`style`,b)}else{let e=Et(0,0,y,p,g,m);x=u.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container`).attr(`style`,r.u(b)).attr(`style`,a),x.attr(`class`,`basic label-container outer-path`),b&&x.selectAll(`path`).attr(`style`,b),a&&x.selectAll(`path`).attr(`style`,a)}return x.attr(`label-offset-x`,g),x.attr(`transform`,`translate(${-y/2}, ${p/2} )`),f.attr(`transform`,`translate(${-(d.width/2)-g-(d.x-(d.left??0))}, ${-(d.height/2)-(d.y-(d.top??0))})`),_(t,x),t.intersect=function(e){let n=I.rect(t,e),r=n.y-(t.y??0);if(m!=0&&(Math.abs(r)<(t.height??0)/2||Math.abs(r)==(t.height??0)/2&&Math.abs(n.x-(t.x??0))>(t.width??0)/2-g)){let i=g*g*(1-r*r/(m*m));i!=0&&(i=Math.sqrt(Math.abs(i))),i=g-i,e.x-(t.x??0)>0&&(i=-i),n.x+=i}return n},u}n.n(jt,`tiltedCylinder`);async function Mt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=(t.look,a),c=t.look===`neo`?a*2:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(u.height+o,t.height??0),f=Math.max(u.width+c,(t.width??0)-d),p=[{x:-3*d/6,y:0},{x:f+3*d/6,y:0},{x:f,y:-d},{x:0,y:-d}],m,{cssStyles:g}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(p),a=e.path(r,n);m=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-f/2}, ${d/2})`),g&&m.attr(`style`,g)}else m=U(l,f,d,p);return r&&m.attr(`style`,r),t.width=f,t.height=d,_(t,m),t.intersect=function(e){return I.polygon(t,p,e)},l}n.n(Mt,`trapezoid`);async function Nt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a;(t.width||t.height)&&(t.height=(t.height??0)-c*2,t.height<5&&(t.height=5),t.width=(t.width??0)-o*2,t.width<15&&(t.width=15));let{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=(t?.width?t?.width:u.width)+o*2,f=(t?.height?t?.height:u.height)+c*2,{cssStyles:p}=t,m=s.t.svg(l),g=i.a(t,{});t.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let b=[{x:-d/2*.8,y:-f/2},{x:d/2*.8,y:-f/2},{x:d/2,y:-f/2*.6},{x:d/2,y:f/2},{x:-d/2,y:f/2},{x:-d/2,y:-f/2*.6}],x=y(b),S=m.path(x,g),C=l.insert(()=>S,`:first-child`);return C.attr(`class`,`basic label-container outer-path`),p&&t.look!==`handDrawn`&&C.selectChildren(`path`).attr(`style`,p),r&&t.look!==`handDrawn`&&C.selectChildren(`path`).attr(`style`,r),_(t,C),t.intersect=function(e){return I.polygon(t,b,e)},l}n.n(Nt,`trapezoidalPentagon`);var Pt=10,Ft=10;async function It(n,r){let{labelStyles:a,nodeStyles:o}=i.i(r);r.labelStyle=a;let c=r.padding??0,l=r.look===`neo`?c*2:c;(r.width||r.height)&&(r.width=((r?.width??0)-l)/2,r.width<Ft&&(r.width=Ft),r.height=r?.height??0,r.height<Pt&&(r.height=Pt));let{shapeSvg:u,bbox:d,label:f}=await h(n,r,v(r)),p=t.g(t.x().flowchart?.htmlLabels),m=(r?.width?r?.width:d.width)+l,g=r?.height?r?.height:m+d.height,b=g,x=[{x:0,y:0},{x:b,y:0},{x:b/2,y:-g}],{cssStyles:S}=r,C=s.t.svg(u),w=i.a(r,{});r.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=y(x),E=C.path(T,w),D=u.insert(()=>E,`:first-child`).attr(`transform`,`translate(${-g/2}, ${g/2})`).attr(`class`,`outer-path`);return S&&r.look!==`handDrawn`&&D.selectChildren(`path`).attr(`style`,S),o&&r.look!==`handDrawn`&&D.selectChildren(`path`).attr(`style`,o),r.width=m,r.height=g,_(r,D),f.attr(`transform`,`translate(${-d.width/2-(d.x-(d.left??0))}, ${g/2-(d.height+(r.padding??0)/(p?2:1)-(d.y-(d.top??0)))})`),r.intersect=function(t){return e.m.info(`Triangle intersect`,r,x,t),I.polygon(r,x,t)},u}n.n(It,`triangle`);async function Lt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a,l=!0;(t.width||t.height)&&(l=!1,t.width=(t?.width??0)-o*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-c*2,t.height<10&&(t.height=10));let{shapeSvg:u,bbox:d,label:f}=await h(e,t,v(t)),p=(t?.width?t?.width:d.width)+(o??0)*2,m=(t?.height?t?.height:d.height)+(c??0)*2,g=t.look===`neo`?m/4:m/8,x=m+(l?g:-g),{cssStyles:S}=t,C=14-p,w=C>0?C/2:0,T=s.t.svg(u),E=i.a(t,{});t.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let D=[{x:-p/2-w,y:x/2},...b(-p/2-w,x/2,p/2+w,x/2,g,.8),{x:p/2+w,y:-x/2},{x:-p/2-w,y:-x/2}],O=y(D),k=T.path(O,E),A=u.insert(()=>k,`:first-child`);return A.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,r),A.attr(`transform`,`translate(0,${-g/2})`),f.attr(`transform`,`translate(${-p/2+(t.padding??0)-(d.x-(d.left??0))},${-m/2+(t.padding??0)-g-(d.y-(d.top??0))})`),_(t,A),t.intersect=function(e){return I.polygon(t,D,e)},u}n.n(Lt,`waveEdgedRectangle`);async function Rt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?20:a;if(t.width||t.height){t.width=t?.width??0,t.width<20&&(t.width=20),t.height=t?.height??0,t.height<10&&(t.height=10);let e=Math.min(t.height*.2,t.height/4);t.height=Math.ceil(t.height-c-20/9*e),t.width-=o*2}let{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=(t?.width?t?.width:u.width)+o*2,f=(t?.height?t?.height:u.height)+c,p=f/8,m=f+p*2,{cssStyles:g}=t,x=s.t.svg(l),S=i.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-d/2,y:m/2},...b(-d/2,m/2,d/2,m/2,p,1),{x:d/2,y:-m/2},...b(d/2,-m/2,-d/2,-m/2,p,-1)],w=y(C),T=x.path(w,S),E=l.insert(()=>T,`:first-child`);return E.attr(`class`,`basic label-container`),g&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,g),r&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,r),_(t,E),t.intersect=function(e){return I.polygon(t,C,e)},l}n.n(Rt,`waveRectangle`);var Z=10;async function zt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.look===`neo`?16:t.padding??0,o=t.look===`neo`?12:t.padding??0;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-a*2-Z,10),t.height=Math.max((t?.height??0)-o*2-Z,10));let{shapeSvg:c,bbox:l,label:u}=await h(e,t,v(t)),d=(t?.width?t?.width:l.width)+a*2+Z,f=(t?.height?t?.height:l.height)+o*2+Z,p=d-Z,m=f-Z,g=-p/2,y=-m/2,{cssStyles:b}=t,x=s.t.svg(c),S=i.a(t,{}),C=[{x:g-Z,y:y-Z},{x:g-Z,y:y+m},{x:g+p,y:y+m},{x:g+p,y:y-Z}],w=`M${g-Z},${y-Z} L${g+p},${y-Z} L${g+p},${y+m} L${g-Z},${y+m} L${g-Z},${y-Z}
|
|
9
|
-
M${g-Z},${y} L${g+p},${y}
|
|
10
|
-
M${g},${y-Z} L${g},${y+m}`;t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let T=x.path(w,S),E=c.insert(()=>T,`:first-child`);return E.attr(`transform`,`translate(${Z/2}, ${Z/2})`),E.attr(`class`,`basic label-container outer-path`),b&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,r),u.attr(`transform`,`translate(${-(l.width/2)+Z/2-(l.x-(l.left??0))}, ${-(l.height/2)+Z/2-(l.y-(l.top??0))})`),_(t,E),t.intersect=function(e){return I.polygon(t,C,e)},c}n.n(zt,`windowPane`);var Bt=new Set([`redux-color`,`redux-dark-color`]),Vt=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]);async function Ht(n,a){let o=a;o.alias&&(a.label=o.alias);let{theme:c,themeVariables:l}=t.b(),{rowEven:u,rowOdd:d,nodeBorder:f,borderColorArray:p}=l;if(a.look===`handDrawn`){let{themeVariables:e}=t.b(),{background:r}=e;await Ht(n,{...a,id:a.id+`-background`,domId:(a.domId||a.id)+`-background`,look:`default`,cssStyles:[`stroke: none`,`fill: ${r}`]})}let m=t.b();a.useHtmlLabels=m.htmlLabels;let h=m.er?.diagramPadding??10,g=m.er?.entityPadding??6,{cssStyles:y}=a,{labelStyles:b,nodeStyles:x}=i.i(a);if(o.attributes.length===0&&a.label){let e={rx:0,ry:0,labelPaddingX:h,labelPaddingY:h*1.5,classes:``};r.r(a.label,m)+e.labelPaddingX*2<m.er.minEntityWidth&&(a.width=m.er.minEntityWidth);let i=await Y(n,a,e);if(c!=null&&Bt.has(c)){let e=o.colorIndex??0;i.attr(`data-color-id`,`color-${e%p.length}`)}if(!t.g(m.htmlLabels)){let e=i.select(`text`),t=e.node()?.getBBox();e.attr(`transform`,`translate(${-t.width/2}, 0)`)}return i}m.htmlLabels||(h*=1.25,g*=1.25);let S=v(a);S||=`node default`;let C=n.insert(`g`).attr(`class`,S).attr(`id`,a.domId||a.id),w=await Q(C,a.label??``,m,0,0,[`name`],b);w.height+=g;let T=0,E=[],D=[],O=0,k=0,A=0,j=0,M=!0,N=!0;for(let e of o.attributes){let t=await Q(C,e.type,m,0,T,[`attribute-type`],b);O=Math.max(O,t.width+h);let n=await Q(C,e.name,m,0,T,[`attribute-name`],b);k=Math.max(k,n.width+h);let r=await Q(C,e.keys.join(),m,0,T,[`attribute-keys`],b);A=Math.max(A,r.width+h);let i=await Q(C,e.comment,m,0,T,[`attribute-comment`],b);j=Math.max(j,i.width+h);let a=Math.max(t.height,n.height,r.height,i.height)+g;D.push({yOffset:T,rowHeight:a}),T+=a}let P=4;A<=h&&(M=!1,A=0,P--),j<=h&&(N=!1,j=0,P--);let F=C.node().getBBox();if(w.width+h*2-(O+k+A+j)>0){let e=w.width+h*2-(O+k+A+j);O+=e/P,k+=e/P,A>0&&(A+=e/P),j>0&&(j+=e/P)}let ee=O+k+A+j,L=s.t.svg(C),R=i.a(a,{});a.look!==`handDrawn`&&(R.roughness=0,R.fillStyle=`solid`);let te=0;D.length>0&&(te=D.reduce((e,t)=>e+(t?.rowHeight??0),0));let z=Math.max(F.width+h*2,a?.width||0,ee),B=Math.max((te??0)+w.height,a?.height||0),V=-z/2,H=-B/2;if(C.selectAll(`g:not(:first-child)`).each((t,n,r)=>{let i=e.p(r[n]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]),i.attr(`class`).includes(`attribute-name`)?o+=O:i.attr(`class`).includes(`attribute-keys`)?o+=O+k:i.attr(`class`).includes(`attribute-comment`)&&(o+=O+k+A))}i.attr(`transform`,`translate(${V+h/2+o}, ${s+H+w.height+g/2})`)}),C.select(`.name`).attr(`transform`,`translate(`+-w.width/2+`, `+(H+g/2)+`)`),c!=null&&Bt.has(c)){let e=o.colorIndex??0;C.attr(`data-color-id`,`color-${e%p.length}`)}let ne=L.rectangle(V,H,z,B,R),re=C.insert(()=>ne,`:first-child`).attr(`class`,`outer-path`).attr(`style`,y.join(``));E.push(0);for(let[e,t]of D.entries()){let n=(e+1)%2==0&&t.yOffset!==0,r=L.rectangle(V,w.height+H+t?.yOffset,z,t?.rowHeight,{...R,fill:n?u:d,stroke:f});C.insert(()=>r,`g.label`).attr(`style`,y.join(``)).attr(`class`,`row-rect-${n?`even`:`odd`}`)}let U=1e-4,W=Ut(V,w.height+H,z+V,w.height+H,U),G=L.polygon(W.map(e=>[e.x,e.y]),R);if(C.insert(()=>G).attr(`class`,`divider`),W=Ut(O+V,w.height+H,O+V,B+H,U),G=L.polygon(W.map(e=>[e.x,e.y]),R),C.insert(()=>G).attr(`class`,`divider`),M){let e=O+k+V;W=Ut(e,w.height+H,e,B+H,U),G=L.polygon(W.map(e=>[e.x,e.y]),R),C.insert(()=>G).attr(`class`,`divider`)}if(N){let e=O+k+A+V;W=Ut(e,w.height+H,e,B+H,U),G=L.polygon(W.map(e=>[e.x,e.y]),R),C.insert(()=>G).attr(`class`,`divider`)}for(let e of E){let t=w.height+H+e;W=Ut(V,t,z+V,t,U),G=L.polygon(W.map(e=>[e.x,e.y]),R),C.insert(()=>G).attr(`class`,`divider`)}if(_(a,re),x&&a.look!==`handDrawn`)if(c!=null&&Vt.has(c))C.selectAll(`path`).attr(`style`,x);else{let e=x.split(`;`)?.filter(e=>e.includes(`stroke`))?.map(e=>`${e}`).join(`; `);C.selectAll(`path`).attr(`style`,e??``),C.selectAll(`.row-rect-even path`).attr(`style`,x)}return a.intersect=function(e){return I.rect(a,e)},C}n.n(Ht,`erBox`);async function Q(n,i,a,s=0,c=0,l=[],u=``){let d=n.insert(`g`).attr(`class`,`label ${l.join(` `)}`).attr(`transform`,`translate(${s}, ${c})`).attr(`style`,u);i!==t.M(i)&&(i=t.M(i),i=i.replaceAll(`<`,`<`).replaceAll(`>`,`>`));let f=d.node().appendChild(await o.n(d,i,{width:r.r(i,a)+100,style:u,useHtmlLabels:a.htmlLabels},a));if(i.includes(`<`)||i.includes(`>`)){let e=f.children[0];for(e.textContent=e.textContent.replaceAll(`<`,`<`).replaceAll(`>`,`>`);e.childNodes[0];)e=e.childNodes[0],e.textContent=e.textContent.replaceAll(`<`,`<`).replaceAll(`>`,`>`)}let p=f.getBBox();if(t.g(a.htmlLabels)){let t=f.children[0];t.style.textAlign=`start`;let n=e.p(f);p=t.getBoundingClientRect(),n.attr(`width`,p.width),n.attr(`height`,p.height)}return p}n.n(Q,`addText`);function Ut(e,t,n,r,i){return e===n?[{x:e-i/2,y:t},{x:e+i/2,y:t},{x:n+i/2,y:r},{x:n-i/2,y:r}]:[{x:e,y:t-i/2},{x:e,y:t+i/2},{x:n,y:r+i/2},{x:n,y:r-i/2}]}n.n(Ut,`lineToPolygon`);async function Wt(e,t,n,r,i=n.class.padding??12){let a=r?0:3,o=e.insert(`g`).attr(`class`,v(t)).attr(`id`,t.domId||t.id),s=null,c=null,l=null,u=null,d=0,f=0,p=0;if(s=o.insert(`g`).attr(`class`,`annotation-group text`),t.annotations.length>0){let e=t.annotations[0];await Gt(s,{text:`\xAB${e}\xBB`},0),d=s.node().getBBox().height}c=o.insert(`g`).attr(`class`,`label-group text`),await Gt(c,t,0,[`font-weight: bolder`]);let m=c.node().getBBox();f=m.height,l=o.insert(`g`).attr(`class`,`members-group text`);let h=0;for(let e of t.members){let t=await Gt(l,e,h,[e.parseClassifier()]);h+=t+a}p=l.node().getBBox().height,p<=0&&(p=i/2),u=o.insert(`g`).attr(`class`,`methods-group text`);let g=0;for(let e of t.methods){let t=await Gt(u,e,g,[e.parseClassifier()]);g+=t+a}let _=o.node().getBBox();if(s!==null){let e=s.node().getBBox();s.attr(`transform`,`translate(${-e.width/2})`)}return c.attr(`transform`,`translate(${-m.width/2}, ${d})`),_=o.node().getBBox(),l.attr(`transform`,`translate(0, ${d+f+i*2})`),_=o.node().getBBox(),u.attr(`transform`,`translate(0, ${d+f+(p?p+i*4:i*2)})`),_=o.node().getBBox(),{shapeSvg:o,bbox:_}}n.n(Wt,`textHelper`);async function Gt(n,i,a,s=[]){let c=n.insert(`g`).attr(`class`,`label`).attr(`style`,s.join(`; `)),l=t.b(),d=`useHtmlLabels`in i?i.useHtmlLabels:t.g(l.htmlLabels)??!0,f=``;f=`text`in i?i.text:i.label,!d&&f.startsWith(`\\`)&&(f=f.substring(1)),t.A(f)&&(d=!0);let p=await o.n(c,t.B(r.a(f)),{width:r.r(f,l)+50,classes:`markdown-node-label`,useHtmlLabels:d},l),m,h=1;if(d){let t=p.children[0],n=e.p(p);h=t.innerHTML.split(`<br>`).length,t.innerHTML.includes(`</math>`)&&(h+=t.innerHTML.split(`<mrow>`).length-1),await u(t),m=t.getBoundingClientRect(),n.attr(`width`,m.width),n.attr(`height`,m.height)}else{s.includes(`font-weight: bolder`)&&e.p(p).selectAll(`tspan`).attr(`font-weight`,``),h=p.children.length;let t=p.children[0];(p.textContent===``||p.textContent.includes(`>`))&&(t.textContent=f[0]+f.substring(1).replaceAll(`>`,`>`).replaceAll(`<`,`<`).trim(),f[1]===` `&&(t.textContent=t.textContent[0]+` `+t.textContent.substring(1))),t.textContent===`undefined`&&(t.textContent=``),m=p.getBBox()}return c.attr(`transform`,`translate(0,`+(-m.height/(2*h)+a)+`)`),m.height}n.n(Gt,`addText`);async function Kt(n,r){let a=t.x(),{themeVariables:o}=a,{useGradient:c}=o,l=a.class.padding??12,u=l,d=r.useHtmlLabels??t.g(a.htmlLabels)??!0,f=r;f.annotations=f.annotations??[],f.members=f.members??[],f.methods=f.methods??[];let{shapeSvg:p,bbox:m}=await Wt(n,r,a,d,u),{labelStyles:h,nodeStyles:g}=i.i(r);r.labelStyle=h,r.cssStyles=f.styles||``;let v=f.styles?.join(`;`)||g||``;r.cssStyles||=v.replaceAll(`!important`,``).split(`;`);let y=f.members.length===0&&f.methods.length===0&&!a.class?.hideEmptyMembersBox,b=s.t.svg(p),x=i.a(r,{});r.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=Math.max(r.width??0,m.width),C=Math.max(r.height??0,m.height),w=(r.height??0)>m.height;f.members.length===0&&f.methods.length===0?C+=u:f.members.length>0&&f.methods.length===0&&(C+=u*2);let T=-S/2,E=-C/2,D=y?l*2:f.members.length===0&&f.methods.length===0?-l:0;w&&(D=l*2);let O=b.rectangle(T-l,E-l-(y?l:f.members.length===0&&f.methods.length===0?-l/2:0),S+2*l,C+2*l+D,x),k=p.insert(()=>O,`:first-child`);k.attr(`class`,`basic label-container outer-path`);let A=k.node().getBBox(),j=p.select(`.annotation-group`).node().getBBox().height-(y?l/2:0)||0,M=p.select(`.label-group`).node().getBBox().height-(y?l/2:0)||0,N=p.select(`.members-group`).node().getBBox().height-(y?l/2:0)||0,P=(j+M+E+l-(E-l-(y?l:f.members.length===0&&f.methods.length===0?-l/2:0)))/2;if(p.selectAll(`.text`).each((t,n,r)=>{let i=e.p(r[n]),o=i.attr(`transform`),s=0;if(o){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(o);e&&(s=parseFloat(e[2]))}let c=s+E+l-(y?l:f.members.length===0&&f.methods.length===0?-l/2:0);if(i.attr(`class`).includes(`methods-group`)){let e=Math.max(N,u/2);c=w?Math.max(P,j+M+e+E+u*2+l)+u*2:j+M+e+E+u*4+l}f.members.length===0&&f.methods.length===0&&a.class?.hideEmptyMembersBox&&(c=f.annotations.length>0?s-u:s),d||(c-=4);let m=T;(i.attr(`class`).includes(`label-group`)||i.attr(`class`).includes(`annotation-group`))&&(m=-i.node()?.getBBox().width/2||0,p.selectAll(`text`).each(function(e,t,n){window.getComputedStyle(n[t]).textAnchor===`middle`&&(m=0)})),i.attr(`transform`,`translate(${m}, ${c})`)}),f.members.length>0||f.methods.length>0||y){let e=j+M+E+l,t=b.line(A.x,e,A.x+A.width,e+.001,x);p.insert(()=>t).attr(`class`,`divider${r.look===`neo`&&!c?` neo-line`:``}`).attr(`style`,v)}if(y||f.members.length>0||f.methods.length>0){let e=j+M+N+E+u*2+l,t=b.line(A.x,w?Math.max(P,e):e,A.x+A.width,(w?Math.max(P,e):e)+.001,x);p.insert(()=>t).attr(`class`,`divider${r.look===`neo`&&!c?` neo-line`:``}`).attr(`style`,v)}if(f.look!==`handDrawn`&&p.selectAll(`path`).attr(`style`,v),k.select(`:nth-child(2)`).attr(`style`,v),p.selectAll(`.divider`).select(`path`).attr(`style`,v),r.labelStyle?p.selectAll(`span`).attr(`style`,r.labelStyle):p.selectAll(`span`).attr(`style`,v),!d){let e=RegExp(/color\s*:\s*([^;]*)/),t=e.exec(v);if(t){let e=t[0].replace(`color`,`fill`);p.selectAll(`tspan`).attr(`style`,e)}else if(h){let t=e.exec(h);if(t){let e=t[0].replace(`color`,`fill`);p.selectAll(`tspan`).attr(`style`,e)}}}return _(r,k),r.intersect=function(e){return I.rect(r,e)},p}n.n(Kt,`classBox`);async function qt(n,r){let{labelStyles:a,nodeStyles:o}=i.i(r);r.labelStyle=a;let c=r,l=r,u=`verifyMethod`in r,d=v(r),f=t.x(),{themeVariables:p}=f,{borderColorArray:m,requirementEdgeLabelBackground:h}=p,g=f.layout===`elk`?`start`:`center`,y=n.insert(`g`).attr(`class`,d).attr(`id`,r.domId??r.id),b;b=u?await $(y,`<<${c.type}>>`,0,r.labelStyle):await $(y,`<<Element>>`,0,r.labelStyle);let x=b,S=await $(y,c.name,x,r.labelStyle+`; font-weight: bold;`);if(x+=S+20,u){let e=await $(y,`${c.requirementId?`ID: ${c.requirementId}`:``}`,x,r.labelStyle,g);x+=e;let t=await $(y,`${c.text?`Text: ${c.text}`:``}`,x,r.labelStyle,g);x+=t;let n=await $(y,`${c.risk?`Risk: ${c.risk}`:``}`,x,r.labelStyle,g);x+=n,await $(y,`${c.verifyMethod?`Verification: ${c.verifyMethod}`:``}`,x,r.labelStyle,g)}else{let e=await $(y,`${l.type?`Type: ${l.type}`:``}`,x,r.labelStyle,g);x+=e,await $(y,`${l.docRef?`Doc Ref: ${l.docRef}`:``}`,x,r.labelStyle,g)}let C=(y.node()?.getBBox().width??200)+20,w=(y.node()?.getBBox().height??200)+20,T=-C/2,E=-w/2,D=s.t.svg(y),O=i.a(r,{});r.look!==`handDrawn`&&(O.roughness=0,O.fillStyle=`solid`);let k=D.rectangle(T,E,C,w,O),A=y.insert(()=>k,`:first-child`);if(A.attr(`class`,`basic label-container outer-path`).attr(`style`,o),m?.length){let e=r.colorIndex??0;y.attr(`data-color-id`,`color-${e%m.length}`)}if(y.selectAll(`.label`).each((t,n,r)=>{let i=e.p(r[n]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]))}let c=s-w/2,l=T+20/2;(n===0||n===1)&&(l=o),i.attr(`transform`,`translate(${l}, ${c+20})`)}),x>b+S+20){let e=E+b+S+20,t;if(r.look===`neo`){let n=.001,r=[[T,e],[T+C,e],[T+C,e+n],[T,e+n]];t=D.polygon(r,O)}else t=D.line(T,e,T+C,e,O);y.insert(()=>t).attr(`class`,`divider`)}return _(r,A),r.intersect=function(e){return I.rect(r,e)},o&&r.look!==`handDrawn`&&(h||m?.length)&&y.selectAll(`path`).attr(`style`,o),y}n.n(qt,`requirementBox`);async function $(n,i,a,s=``,c=`center`){if(i===``)return 0;let l=n.insert(`g`).attr(`class`,`label`).attr(`style`,s),u=t.x(),d=u.htmlLabels??!0,f=await o.n(l,t.B(r.a(i)),{width:r.r(i,u)+50,classes:`markdown-node-label`,useHtmlLabels:d,style:s},u),p;if(d){let t=f.children[0],n=e.p(f);c===`start`&&e.p(t).style(`text-align`,`left`),p=t.getBoundingClientRect(),n.attr(`width`,p.width),n.attr(`height`,p.height)}else{let e=f.children[0];for(let t of e.children)s&&t.setAttribute(`style`,s);if(c===`start`){e.setAttribute(`text-anchor`,`start`);for(let t of e.children)t.setAttribute(`text-anchor`,`start`)}p=f.getBBox(),p.height+=6}return l.attr(`transform`,`translate(${-p.width/2},${-p.height/2+a})`),p.height}n.n($,`addText`);var Jt=n.n(e=>{switch(e){case`Very High`:return`red`;case`High`:return`orange`;case`Medium`:return null;case`Low`:return`blue`;case`Very Low`:return`lightblue`}},`colorFromPriority`);async function Yt(e,t,{config:n}){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r||``;let o=t.width;t.width=(t.width??200)-10;let{shapeSvg:c,bbox:l,label:u}=await h(e,t,v(t)),d=t.padding||10,f=``,p;`ticket`in t&&t.ticket&&n?.kanban?.ticketBaseUrl&&(f=n?.kanban?.ticketBaseUrl.replace(`#TICKET#`,t.ticket),p=c.insert(`svg:a`,`:first-child`).attr(`class`,`kanban-ticket-link`).attr(`xlink:href`,f).attr(`target`,`_blank`));let m={useHtmlLabels:t.useHtmlLabels,labelStyle:t.labelStyle||``,width:t.width,img:t.img,padding:t.padding||8,centerLabel:!1},y,b;p?{label:y,bbox:b}=await g(p,`ticket`in t&&t.ticket||``,m):{label:y,bbox:b}=await g(c,`ticket`in t&&t.ticket||``,m);let{label:x,bbox:S}=await g(c,`assigned`in t&&t.assigned||``,m);t.width=o;let C=t?.width||0,T=Math.max(b.height,S.height)/2,E=Math.max(l.height+20,t?.height||0)+T,D=-C/2,O=-E/2;u.attr(`transform`,`translate(`+(d-C/2)+`, `+(-T-l.height/2)+`)`),y.attr(`transform`,`translate(`+(d-C/2)+`, `+(-T+l.height/2)+`)`),x.attr(`transform`,`translate(`+(d+C/2-S.width-20)+`, `+(-T+l.height/2)+`)`);let k,{rx:A,ry:j}=t,{cssStyles:M}=t;if(t.look===`handDrawn`){let e=s.t.svg(c),n=i.a(t,{}),r=A||j?e.path(w(D,O,C,E,A||0),n):e.rectangle(D,O,C,E,n);k=c.insert(()=>r,`:first-child`),k.attr(`class`,`basic label-container`).attr(`style`,M||null)}else{k=c.insert(`rect`,`:first-child`),k.attr(`class`,`basic label-container __APA__`).attr(`style`,a).attr(`rx`,A??5).attr(`ry`,j??5).attr(`x`,D).attr(`y`,O).attr(`width`,C).attr(`height`,E);let e=`priority`in t&&t.priority;if(e){let t=c.append(`line`),n=D+2,r=O+Math.floor((A??0)/2),i=O+E-Math.floor((A??0)/2);t.attr(`x1`,n).attr(`y1`,r).attr(`x2`,n).attr(`y2`,i).attr(`stroke-width`,`4`).attr(`stroke`,Jt(e))}}return _(t,k),t.height=E,t.intersect=function(e){return I.rect(t,e)},c}n.n(Yt,`kanbanItem`);async function Xt(t,n){let{labelStyles:a,nodeStyles:o}=i.i(n);n.labelStyle=a;let{shapeSvg:c,bbox:l,halfPadding:u,label:d}=await h(t,n,v(n)),f=l.width+10*u,p=l.height+8*u,m=.15*f,{cssStyles:g}=n,y=l.width+20,b=l.height+20,x=Math.max(f,y),S=Math.max(p,b);d.attr(`transform`,`translate(${-l.width/2}, ${-l.height/2})`);let C,w=`M0 0
|
|
11
|
-
a${m},${m} 1 0,0 ${x*.25},${-1*S*.1}
|
|
12
|
-
a${m},${m} 1 0,0 ${x*.25},0
|
|
13
|
-
a${m},${m} 1 0,0 ${x*.25},0
|
|
14
|
-
a${m},${m} 1 0,0 ${x*.25},${S*.1}
|
|
15
|
-
|
|
16
|
-
a${m},${m} 1 0,0 ${x*.15},${S*.33}
|
|
17
|
-
a${m*.8},${m*.8} 1 0,0 0,${S*.34}
|
|
18
|
-
a${m},${m} 1 0,0 ${-1*x*.15},${S*.33}
|
|
19
|
-
|
|
20
|
-
a${m},${m} 1 0,0 ${-1*x*.25},${S*.15}
|
|
21
|
-
a${m},${m} 1 0,0 ${-1*x*.25},0
|
|
22
|
-
a${m},${m} 1 0,0 ${-1*x*.25},0
|
|
23
|
-
a${m},${m} 1 0,0 ${-1*x*.25},${-1*S*.15}
|
|
24
|
-
|
|
25
|
-
a${m},${m} 1 0,0 ${-1*x*.1},${-1*S*.33}
|
|
26
|
-
a${m*.8},${m*.8} 1 0,0 0,${-1*S*.34}
|
|
27
|
-
a${m},${m} 1 0,0 ${x*.1},${-1*S*.33}
|
|
28
|
-
H0 V0 Z`;if(n.look===`handDrawn`){let e=s.t.svg(c),t=i.a(n,{}),a=e.path(w,t);C=c.insert(()=>a,`:first-child`),C.attr(`class`,`basic label-container`).attr(`style`,r.u(g))}else C=c.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,o).attr(`d`,w);return C.attr(`transform`,`translate(${-x/2}, ${-S/2})`),_(n,C),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(t){return e.m.info(`Bang intersect`,n,t),I.rect(n,t)},c}n.n(Xt,`bang`);async function Zt(t,n){let{labelStyles:a,nodeStyles:o}=i.i(n);n.labelStyle=a;let{shapeSvg:c,bbox:l,halfPadding:u,label:d}=await h(t,n,v(n)),f=l.width+2*u,p=l.height+2*u,m=.15*f,g=.25*f,y=.35*f,b=.2*f,{cssStyles:x}=n,S,C=`M0 0
|
|
29
|
-
a${m},${m} 0 0,1 ${f*.25},${-1*f*.1}
|
|
30
|
-
a${y},${y} 1 0,1 ${f*.4},${-1*f*.1}
|
|
31
|
-
a${g},${g} 1 0,1 ${f*.35},${f*.2}
|
|
32
|
-
|
|
33
|
-
a${m},${m} 1 0,1 ${f*.15},${p*.35}
|
|
34
|
-
a${b},${b} 1 0,1 ${-1*f*.15},${p*.65}
|
|
35
|
-
|
|
36
|
-
a${g},${m} 1 0,1 ${-1*f*.25},${f*.15}
|
|
37
|
-
a${y},${y} 1 0,1 ${-1*f*.5},0
|
|
38
|
-
a${m},${m} 1 0,1 ${-1*f*.25},${-1*f*.15}
|
|
39
|
-
|
|
40
|
-
a${m},${m} 1 0,1 ${-1*f*.1},${-1*p*.35}
|
|
41
|
-
a${b},${b} 1 0,1 ${f*.1},${-1*p*.65}
|
|
42
|
-
H0 V0 Z`;if(n.look===`handDrawn`){let e=s.t.svg(c),t=i.a(n,{}),a=e.path(C,t);S=c.insert(()=>a,`:first-child`),S.attr(`class`,`basic label-container`).attr(`style`,r.u(x))}else S=c.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,o).attr(`d`,C);return d.attr(`transform`,`translate(${-l.width/2}, ${-l.height/2})`),S.attr(`transform`,`translate(${-f/2}, ${-p/2})`),_(n,S),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(t){return e.m.info(`Cloud intersect`,n,t),I.rect(n,t)},c}n.n(Zt,`cloud`);async function Qt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,halfPadding:s,label:c}=await h(e,t,v(t)),l=o.width+8*s,u=o.height+2*s,d=t.look===`neo`?`
|
|
43
|
-
M${-l/2} ${u/2-5}
|
|
44
|
-
v${-u+10}
|
|
45
|
-
q0,-5 5,-5
|
|
46
|
-
h${l-10}
|
|
47
|
-
q5,0 5,5
|
|
48
|
-
v${u-5}
|
|
49
|
-
H${-l/2}
|
|
50
|
-
Z
|
|
51
|
-
`:`
|
|
52
|
-
M${-l/2} ${u/2-5}
|
|
53
|
-
v${-u+10}
|
|
54
|
-
q0,-5 5,-5
|
|
55
|
-
h${l-10}
|
|
56
|
-
q5,0 5,5
|
|
57
|
-
v${u-10}
|
|
58
|
-
q0,5 -5,5
|
|
59
|
-
h${-(l-10)}
|
|
60
|
-
q-5,0 -5,-5
|
|
61
|
-
Z
|
|
62
|
-
`;if(!t.domId)throw Error(`defaultMindmapNode: node "${t.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let f=a.append(`path`).attr(`id`,t.domId).attr(`class`,`node-bkg node-`+t.type).attr(`style`,r).attr(`d`,d);return a.append(`line`).attr(`class`,`node-line-`).attr(`x1`,-l/2).attr(`y1`,u/2).attr(`x2`,l/2).attr(`y2`,u/2),c.attr(`transform`,`translate(${-o.width/2}, ${-o.height/2})`),a.append(()=>c.node()),_(t,f),t.calcIntersect=function(e,t){return I.rect(e,t)},t.intersect=function(e){return I.rect(t,e)},a}n.n(Qt,`defaultMindmapNode`);async function $t(e,t){return pe(e,t,{padding:t.padding??0})}n.n($t,`mindmapCircle`);var en=[{semanticName:`Process`,name:`Rectangle`,shortName:`rect`,description:`Standard process shape`,aliases:[`proc`,`process`,`rectangle`],internalAliases:[`squareRect`],handler:ht},{semanticName:`Event`,name:`Rounded Rectangle`,shortName:`rounded`,description:`Represents an event`,aliases:[`event`],internalAliases:[`roundedRect`],handler:ft},{semanticName:`Terminal Point`,name:`Stadium`,shortName:`stadium`,description:`Terminal point`,aliases:[`terminal`,`pill`],handler:gt},{semanticName:`Subprocess`,name:`Framed Rectangle`,shortName:`fr-rect`,description:`Subprocess`,aliases:[`subprocess`,`subproc`,`framed-rectangle`,`subroutine`],handler:xt},{semanticName:`Database`,name:`Cylinder`,shortName:`cyl`,description:`Database storage`,aliases:[`db`,`database`,`cylinder`],handler:Oe},{semanticName:`Data Store`,name:`Data Store`,shortName:`datastore`,description:`Data flow diagram data store`,aliases:[`data-store`],handler:ke},{semanticName:`Folder`,name:`Folder`,shortName:`folder`,description:`Folder or directory`,aliases:[`directory`],handler:Ie},{semanticName:`Bucket`,name:`Bucket`,shortName:`bucket`,description:`Object storage bucket`,handler:z},{semanticName:`Console`,name:`Console (terminal window)`,shortName:`console`,description:`Terminal or console window`,handler:he},{semanticName:`Browser`,name:`Browser`,shortName:`browser`,description:`Browser window`,handler:le},{semanticName:`Person`,name:`Person`,shortName:`person`,description:`Person (circular head above a rounded body)`,handler:Se},{semanticName:`Start`,name:`Circle`,shortName:`circle`,description:`Starting point`,aliases:[`circ`],handler:pe},{semanticName:`Bang`,name:`Bang`,shortName:`bang`,description:`Bang`,aliases:[`bang`],handler:Xt},{semanticName:`Cloud`,name:`Cloud`,shortName:`cloud`,description:`cloud`,aliases:[`cloud`],handler:Zt},{semanticName:`Decision`,name:`Diamond`,shortName:`diam`,description:`Decision-making step`,aliases:[`decision`,`diamond`,`question`],handler:lt},{semanticName:`Prepare Conditional`,name:`Hexagon`,shortName:`hex`,description:`Preparation or condition step`,aliases:[`hexagon`,`prepare`],handler:Be},{semanticName:`Data Input/Output`,name:`Lean Right`,shortName:`lean-r`,description:`Represents input or output`,aliases:[`lean-right`,`in-out`],internalAliases:[`lean_right`],handler:Xe},{semanticName:`Data Input/Output`,name:`Lean Left`,shortName:`lean-l`,description:`Represents output or input`,aliases:[`lean-left`,`out-in`],internalAliases:[`lean_left`],handler:Ye},{semanticName:`Priority Action`,name:`Trapezoid Base Bottom`,shortName:`trap-b`,description:`Priority action`,aliases:[`priority`,`trapezoid-bottom`,`trapezoid`],handler:Mt},{semanticName:`Manual Operation`,name:`Trapezoid Base Top`,shortName:`trap-t`,description:`Represents a manual task`,aliases:[`manual`,`trapezoid-top`,`inv-trapezoid`],internalAliases:[`inv_trapezoid`],handler:qe},{semanticName:`Stop`,name:`Double Circle`,shortName:`dbl-circ`,description:`Represents a stop point`,aliases:[`double-circle`],internalAliases:[`doublecircle`],handler:je},{semanticName:`Text Block`,name:`Text Block`,shortName:`text`,description:`Text block`,handler:Tt},{semanticName:`Card`,name:`Notched Rectangle`,shortName:`notch-rect`,description:`Represents a card`,aliases:[`card`,`notched-rectangle`],handler:de},{semanticName:`Lined/Shaded Process`,name:`Lined Rectangle`,shortName:`lin-rect`,description:`Lined process shape`,aliases:[`lined-rectangle`,`lined-process`,`lin-proc`,`shaded-process`],handler:pt},{semanticName:`Start`,name:`Small Circle`,shortName:`sm-circ`,description:`Small starting point`,aliases:[`start`,`small-circle`],internalAliases:[`stateStart`],handler:yt},{semanticName:`Stop`,name:`Framed Circle`,shortName:`fr-circ`,description:`Stop point`,aliases:[`stop`,`framed-circle`],internalAliases:[`stateEnd`],handler:vt},{semanticName:`Fork/Join`,name:`Filled Rectangle`,shortName:`fork`,description:`Fork or join in process flow`,aliases:[`join`],internalAliases:[`forkJoin`],handler:Le},{semanticName:`Collate`,name:`Hourglass`,shortName:`hourglass`,description:`Represents a collate operation`,aliases:[`hourglass`,`collate`],handler:Ve},{semanticName:`Comment`,name:`Curly Brace`,shortName:`brace`,description:`Adds a comment`,aliases:[`comment`,`brace-l`],handler:ve},{semanticName:`Comment Right`,name:`Curly Brace`,shortName:`brace-r`,description:`Adds a comment`,handler:ye},{semanticName:`Comment with braces on both sides`,name:`Curly Braces`,shortName:`braces`,description:`Adds a comment`,handler:be},{semanticName:`Com Link`,name:`Lightning Bolt`,shortName:`bolt`,description:`Communication link`,aliases:[`com-link`,`lightning-bolt`],handler:Ze},{semanticName:`Document`,name:`Document`,shortName:`doc`,description:`Represents a document`,aliases:[`doc`,`document`],handler:Lt},{semanticName:`Delay`,name:`Half-Rounded Rectangle`,shortName:`delay`,description:`Represents a delay`,aliases:[`half-rounded-rectangle`],handler:Re},{semanticName:`Direct Access Storage`,name:`Horizontal Cylinder`,shortName:`h-cyl`,description:`Direct access storage`,aliases:[`das`,`horizontal-cylinder`],handler:jt},{semanticName:`Disk Storage`,name:`Lined Cylinder`,shortName:`lin-cyl`,description:`Disk storage`,aliases:[`disk`,`lined-cylinder`],handler:rt},{semanticName:`Display`,name:`Curved Trapezoid`,shortName:`curv-trap`,description:`Represents a display`,aliases:[`curved-trapezoid`,`display`],handler:xe},{semanticName:`Divided Process`,name:`Divided Rectangle`,shortName:`div-rect`,description:`Divided process shape`,aliases:[`div-proc`,`divided-rectangle`,`divided-process`],handler:Ae},{semanticName:`Extract`,name:`Triangle`,shortName:`tri`,description:`Extraction process`,aliases:[`extract`,`triangle`],handler:It},{semanticName:`Internal Storage`,name:`Window Pane`,shortName:`win-pane`,description:`Internal storage`,aliases:[`internal-storage`,`window-pane`],handler:zt},{semanticName:`Junction`,name:`Filled Circle`,shortName:`f-circ`,description:`Junction point`,aliases:[`junction`,`filled-circle`],handler:Me},{semanticName:`Loop Limit`,name:`Trapezoidal Pentagon`,shortName:`notch-pent`,description:`Loop limit step`,aliases:[`loop-limit`,`notched-pentagon`],handler:Nt},{semanticName:`Manual File`,name:`Flipped Triangle`,shortName:`flip-tri`,description:`Manual file operation`,aliases:[`manual-file`,`flipped-triangle`],handler:Fe},{semanticName:`Manual Input`,name:`Sloped Rectangle`,shortName:`sl-rect`,description:`Manual input step`,aliases:[`manual-input`,`sloped-rectangle`],handler:mt},{semanticName:`Multi-Document`,name:`Stacked Document`,shortName:`docs`,description:`Multiple documents`,aliases:[`documents`,`st-doc`,`stacked-document`],handler:ot},{semanticName:`Multi-Process`,name:`Stacked Rectangle`,shortName:`st-rect`,description:`Multiple processes`,aliases:[`procs`,`processes`,`stacked-rectangle`],handler:at},{semanticName:`Stored Data`,name:`Bow Tie Rectangle`,shortName:`bow-rect`,description:`Stored data`,aliases:[`stored-data`,`bow-tie-rectangle`],handler:te},{semanticName:`Summary`,name:`Crossed Circle`,shortName:`cross-circ`,description:`Summary`,aliases:[`summary`,`crossed-circle`],handler:_e},{semanticName:`Tagged Document`,name:`Tagged Document`,shortName:`tag-doc`,description:`Tagged document`,aliases:[`tag-doc`,`tagged-document`],handler:wt},{semanticName:`Tagged Process`,name:`Tagged Rectangle`,shortName:`tag-rect`,description:`Tagged process`,aliases:[`tagged-rectangle`,`tag-proc`,`tagged-process`],handler:Ct},{semanticName:`Paper Tape`,name:`Flag`,shortName:`flag`,description:`Paper tape`,aliases:[`paper-tape`],handler:Rt},{semanticName:`Odd`,name:`Odd`,shortName:`odd`,description:`Odd shape`,internalAliases:[`rect_left_inv_arrow`],handler:ut},{semanticName:`Lined Document`,name:`Lined Document`,shortName:`lin-doc`,description:`Lined document`,aliases:[`lined-document`],handler:it}],tn=n.n(()=>{let e=[...Object.entries({state:_t,choice:fe,note:st,composite:me,rectWithTitle:dt,labelRect:Je,block_arrow:ce,collapsedGroup:re,iconSquare:Ge,iconCircle:Ue,icon:He,iconRounded:We,imageSquare:Ke,anchor:ee,kanbanItem:Yt,mindmapCircle:$t,defaultMindmapNode:Qt,classBox:Kt,erBox:Ht,requirementBox:qt}),...en.flatMap(e=>[e.shortName,...`aliases`in e?e.aliases:[],...`internalAliases`in e?e.internalAliases:[]].map(t=>[t,e.handler]))];return Object.fromEntries(e)},`generateShapeMap`)();function nn(e){return e in tn}n.n(nn,`isValidShape`),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return nn}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return tn}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return T}});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
var e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs").n(()=>`
|
|
2
|
-
/* Font Awesome icon styling - consolidated */
|
|
3
|
-
.label-icon {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
height: 1em;
|
|
6
|
-
overflow: visible;
|
|
7
|
-
vertical-align: -0.125em;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.node .label-icon path {
|
|
11
|
-
fill: currentColor;
|
|
12
|
-
stroke: revert;
|
|
13
|
-
stroke-width: revert;
|
|
14
|
-
}
|
|
15
|
-
`,`getIconStyles`);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|