@bkm016/basalt 0.1.18 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/chunk-0b2brwjc.js +3 -0
- package/chunk-13pbt8mn.js +2 -0
- package/chunk-14085qqt.js +8 -0
- package/chunk-2dph65ye.js +3 -0
- package/chunk-2v8anxgd.js +9 -0
- package/chunk-37f4ks5f.js +3 -0
- package/chunk-3q1hxwxb.js +5 -0
- package/chunk-3qs33s9g.js +2 -0
- package/chunk-53m94h0b.js +7 -0
- package/chunk-5jy2cnyr.js +18 -0
- package/chunk-5wfyn3k0.js +3 -0
- package/chunk-69v706tc.js +5 -0
- package/chunk-79h4rzza.js +2 -0
- package/chunk-7xfde6se.js +3 -0
- package/chunk-8bf4g2d7.js +3 -0
- package/chunk-adq8c7vt.js +25 -0
- package/chunk-ahpg469e.js +3 -0
- package/chunk-ary9gky8.js +7 -0
- package/chunk-becsymjn.js +2 -0
- package/chunk-beqps81c.js +4 -0
- package/chunk-bnvynyww.js +3 -0
- package/chunk-c785tr0e.js +4078 -0
- package/chunk-cc19pbgm.js +12 -0
- package/chunk-d6g5m56z.js +2 -0
- package/chunk-etkktxdc.js +2 -0
- package/chunk-etxsj2ey.js +10 -0
- package/chunk-f2ajxymw.js +2 -0
- package/chunk-f2bcfa6z.js +7 -0
- package/chunk-f47qdrkp.js +2 -0
- package/chunk-f5yg6yd0.js +3 -0
- package/chunk-fjk9ztjc.js +11 -0
- package/chunk-g99n5ywc.js +3 -0
- package/chunk-grwavjp7.js +2 -0
- package/chunk-gsek3gpd.js +3 -0
- package/chunk-gv9hbv9j.js +2 -0
- package/chunk-h045t6f1.js +2 -0
- package/chunk-h4g1tzk6.js +11 -0
- package/chunk-had2k7b9.js +20 -0
- package/chunk-hbm45044.js +25 -0
- package/chunk-hd2hars5.js +3 -0
- package/chunk-hfh230tm.js +2 -0
- package/chunk-hkx7d1j9.js +7 -0
- package/chunk-jbk2tmza.js +5 -0
- package/chunk-jv9sy0np.js +2 -0
- package/chunk-kdc8tq70.js +2 -0
- package/chunk-m1nevdw6.js +3 -0
- package/chunk-m6yrpt1f.js +5 -0
- package/chunk-mrchbvsy.js +4 -0
- package/chunk-n9x6akk3.js +2 -0
- package/chunk-ne94brn4.js +3 -0
- package/chunk-nv1jg79d.js +2 -0
- package/chunk-pvdt969t.js +59 -0
- package/chunk-q22dnah8.js +3 -0
- package/chunk-q2zayphb.js +10 -0
- package/chunk-q4h6djtp.js +2 -0
- package/chunk-qa8mne61.js +2 -0
- package/chunk-r9z9m75h.js +16 -0
- package/chunk-rmyzxqkd.js +467 -0
- package/chunk-rq647zmf.js +2 -0
- package/chunk-sj4jvm9p.js +2 -0
- package/chunk-sq0ra5m8.js +4 -0
- package/chunk-sxg03n4v.js +2 -0
- package/chunk-t0m1wjrn.js +3 -0
- package/chunk-td52edcm.js +31 -0
- package/chunk-tdnwaaw4.js +12 -0
- package/chunk-teky87xx.js +3 -0
- package/chunk-v1avwm7q.js +3 -0
- package/chunk-wcmk8ee3.js +3 -0
- package/chunk-wf9r0frb.js +3 -0
- package/chunk-wx697mre.js +2 -0
- package/chunk-wzz64ygm.js +2 -0
- package/chunk-xb9mwt5a.js +2 -0
- package/chunk-xbkbaa84.js +2 -0
- package/chunk-xjy31n64.js +3 -0
- package/chunk-xzn34n38.js +389 -0
- package/chunk-yprp5s5v.js +3 -0
- package/chunk-yyhdabhq.js +15 -0
- package/chunk-z2jp61ze.js +39 -0
- package/chunk-zt5szcek.js +3 -0
- package/chunk-zxb6cg3m.js +2 -0
- package/compiled.js +9 -9
- package/package.json +1 -1
- package/ui-test-worker.js +21 -21
- package/web/chunk-0ays2hhj.js +41 -0
- package/web/chunk-0ays2hhj.js.br +0 -0
- package/web/chunk-0ays2hhj.js.gz +0 -0
- package/web/chunk-0na4c1bp.js +139 -0
- package/web/chunk-0na4c1bp.js.br +0 -0
- package/web/chunk-0na4c1bp.js.gz +0 -0
- package/web/chunk-0y0p0ct0.js +1 -0
- package/web/chunk-0y0p0ct0.js.br +0 -0
- package/web/chunk-0y0p0ct0.js.gz +0 -0
- package/web/chunk-191v8amv.js +1 -0
- package/web/chunk-191v8amv.js.br +0 -0
- package/web/chunk-191v8amv.js.gz +0 -0
- package/web/chunk-1c6rhsft.js +200 -0
- package/web/chunk-1c6rhsft.js.br +0 -0
- package/web/chunk-1c6rhsft.js.gz +0 -0
- package/web/chunk-1mwkrh5f.js +370 -0
- package/web/chunk-1mwkrh5f.js.br +0 -0
- package/web/chunk-1mwkrh5f.js.gz +0 -0
- package/web/chunk-1q4r17he.js +2 -0
- package/web/chunk-1q4r17he.js.br +0 -0
- package/web/chunk-1q4r17he.js.gz +0 -0
- package/web/chunk-1sm3c8an.js +8 -0
- package/web/chunk-1sm3c8an.js.br +0 -0
- package/web/chunk-1sm3c8an.js.gz +0 -0
- package/web/chunk-1vmjpvy5.js +1 -0
- package/web/chunk-1vmjpvy5.js.br +0 -0
- package/web/chunk-1vmjpvy5.js.gz +0 -0
- package/web/chunk-1x4z5w5e.js +1 -0
- package/web/chunk-1x4z5w5e.js.br +2 -0
- package/web/chunk-1x4z5w5e.js.gz +0 -0
- package/web/chunk-22ncha3b.js +142 -0
- package/web/chunk-22ncha3b.js.br +0 -0
- package/web/chunk-22ncha3b.js.gz +0 -0
- package/web/chunk-239rqgmj.js +24 -0
- package/web/chunk-239rqgmj.js.br +0 -0
- package/web/chunk-239rqgmj.js.gz +0 -0
- package/web/chunk-2c6zessc.js +2 -0
- package/web/chunk-2c6zessc.js.br +0 -0
- package/web/chunk-2c6zessc.js.gz +0 -0
- package/web/chunk-2m7b1wmp.js +1 -0
- package/web/chunk-2m7b1wmp.js.br +0 -0
- package/web/chunk-2m7b1wmp.js.gz +0 -0
- package/web/chunk-2qncw4c0.js +2 -0
- package/web/chunk-2qncw4c0.js.br +0 -0
- package/web/chunk-2qncw4c0.js.gz +0 -0
- package/web/chunk-2r497559.js +2 -0
- package/web/chunk-2r497559.js.br +0 -0
- package/web/chunk-2r497559.js.gz +0 -0
- package/web/chunk-2t43cra8.js +1 -0
- package/web/chunk-2t43cra8.js.br +0 -0
- package/web/chunk-2t43cra8.js.gz +0 -0
- package/web/chunk-2v379e1v.js +1 -0
- package/web/chunk-2v379e1v.js.br +2 -0
- package/web/chunk-2v379e1v.js.gz +0 -0
- package/web/chunk-2ywd0vz2.js +1 -0
- package/web/chunk-2ywd0vz2.js.br +0 -0
- package/web/chunk-2ywd0vz2.js.gz +0 -0
- package/web/chunk-3626tdgf.js +1 -0
- package/web/chunk-3626tdgf.js.br +0 -0
- package/web/chunk-3626tdgf.js.gz +0 -0
- package/web/chunk-3fq54zbf.js +2 -0
- package/web/chunk-3fq54zbf.js.br +0 -0
- package/web/chunk-3fq54zbf.js.gz +0 -0
- package/web/chunk-3jptvn0z.js +1 -0
- package/web/chunk-3jptvn0z.js.br +0 -0
- package/web/chunk-3jptvn0z.js.gz +0 -0
- package/web/chunk-3k31m9yk.js +7 -0
- package/web/chunk-3k31m9yk.js.br +0 -0
- package/web/chunk-3k31m9yk.js.gz +0 -0
- package/web/chunk-3wrebqcz.js +1 -0
- package/web/chunk-3wrebqcz.js.br +0 -0
- package/web/chunk-3wrebqcz.js.gz +0 -0
- package/web/chunk-42z866aa.js +1 -0
- package/web/chunk-42z866aa.js.br +0 -0
- package/web/chunk-42z866aa.js.gz +0 -0
- package/web/chunk-46r5s1ag.js +1 -0
- package/web/chunk-46r5s1ag.js.br +2 -0
- package/web/chunk-46r5s1ag.js.gz +0 -0
- package/web/chunk-4h8kxmac.js +1 -0
- package/web/chunk-4h8kxmac.js.br +2 -0
- package/web/chunk-4h8kxmac.js.gz +0 -0
- package/web/chunk-4hmp8qcv.js +1 -0
- package/web/chunk-4hmp8qcv.js.br +0 -0
- package/web/chunk-4hmp8qcv.js.gz +0 -0
- package/web/chunk-4ryyn6k5.js +1 -0
- package/web/chunk-4ryyn6k5.js.br +0 -0
- package/web/chunk-4ryyn6k5.js.gz +0 -0
- package/web/chunk-4zp7b44y.js +78 -0
- package/web/chunk-4zp7b44y.js.br +0 -0
- package/web/chunk-4zp7b44y.js.gz +0 -0
- package/web/chunk-52n1enqe.js +1 -0
- package/web/chunk-52n1enqe.js.br +0 -0
- package/web/chunk-52n1enqe.js.gz +0 -0
- package/web/chunk-5m5jve5q.js +2 -0
- package/web/chunk-5m5jve5q.js.br +0 -0
- package/web/chunk-5m5jve5q.js.gz +0 -0
- package/web/chunk-62ssrwet.js +1 -0
- package/web/chunk-62ssrwet.js.br +0 -0
- package/web/chunk-62ssrwet.js.gz +0 -0
- package/web/chunk-6e14fdx8.js +1 -0
- package/web/chunk-6e14fdx8.js.br +0 -0
- package/web/chunk-6e14fdx8.js.gz +0 -0
- package/web/chunk-6kckk3j9.js +1 -0
- package/web/chunk-6kckk3j9.js.br +2 -0
- package/web/chunk-6kckk3j9.js.gz +0 -0
- package/web/chunk-6vdh5wx5.js +1 -0
- package/web/chunk-6vdh5wx5.js.br +0 -0
- package/web/chunk-6vdh5wx5.js.gz +0 -0
- package/web/chunk-6wyrfrh1.js +1 -0
- package/web/chunk-6wyrfrh1.js.br +0 -0
- package/web/chunk-6wyrfrh1.js.gz +0 -0
- package/web/chunk-77pcpdb5.js +303 -0
- package/web/chunk-77pcpdb5.js.br +0 -0
- package/web/chunk-77pcpdb5.js.gz +0 -0
- package/web/chunk-7dq3x88k.js +120 -0
- package/web/chunk-7dq3x88k.js.br +0 -0
- package/web/chunk-7dq3x88k.js.gz +0 -0
- package/web/chunk-7ebwmmjn.js +34 -0
- package/web/chunk-7ebwmmjn.js.br +0 -0
- package/web/chunk-7ebwmmjn.js.gz +0 -0
- package/web/chunk-7jra5kj0.js +1 -0
- package/web/chunk-7jra5kj0.js.br +0 -0
- package/web/chunk-7jra5kj0.js.gz +0 -0
- package/web/chunk-8dgtprxa.js +2 -0
- package/web/chunk-8dgtprxa.js.br +0 -0
- package/web/chunk-8dgtprxa.js.gz +0 -0
- package/web/chunk-8mrw5mgn.js +1 -0
- package/web/chunk-8mrw5mgn.js.br +0 -0
- package/web/chunk-8mrw5mgn.js.gz +0 -0
- package/web/chunk-8n1cyb8k.js +99 -0
- package/web/chunk-8n1cyb8k.js.br +0 -0
- package/web/chunk-8n1cyb8k.js.gz +0 -0
- package/web/chunk-8ssjqdky.js +1 -0
- package/web/chunk-8ssjqdky.js.br +2 -0
- package/web/chunk-8ssjqdky.js.gz +0 -0
- package/web/chunk-90k6xrsa.js +2 -0
- package/web/chunk-90k6xrsa.js.br +0 -0
- package/web/chunk-90k6xrsa.js.gz +0 -0
- package/web/chunk-926v5sg8.js +24 -0
- package/web/chunk-926v5sg8.js.br +0 -0
- package/web/chunk-926v5sg8.js.gz +0 -0
- package/web/chunk-9kvr6dkh.js +106 -0
- package/web/chunk-9kvr6dkh.js.br +0 -0
- package/web/chunk-9kvr6dkh.js.gz +0 -0
- package/web/chunk-9s6zj1sh.js +217 -0
- package/web/chunk-9s6zj1sh.js.br +0 -0
- package/web/chunk-9s6zj1sh.js.gz +0 -0
- package/web/chunk-acpyx69f.js +1 -0
- package/web/chunk-acpyx69f.js.br +0 -0
- package/web/chunk-acpyx69f.js.gz +0 -0
- package/web/chunk-amch1hp8.js +1 -0
- package/web/chunk-amch1hp8.js.br +0 -0
- package/web/chunk-amch1hp8.js.gz +0 -0
- package/web/chunk-azjpkz26.js +38 -0
- package/web/chunk-azjpkz26.js.br +0 -0
- package/web/chunk-azjpkz26.js.gz +0 -0
- package/web/chunk-b2zmxzm0.js +2 -0
- package/web/chunk-b2zmxzm0.js.br +0 -0
- package/web/chunk-b2zmxzm0.js.gz +0 -0
- package/web/chunk-bgn0bkad.js +98 -0
- package/web/chunk-bgn0bkad.js.br +0 -0
- package/web/chunk-bgn0bkad.js.gz +0 -0
- package/web/chunk-bka3pbzn.js +4 -0
- package/web/chunk-bka3pbzn.js.br +0 -0
- package/web/chunk-bka3pbzn.js.gz +0 -0
- package/web/chunk-ck23t8as.js +2 -0
- package/web/chunk-ck23t8as.js.br +0 -0
- package/web/chunk-ck23t8as.js.gz +0 -0
- package/web/chunk-cp5ec63g.js +30 -0
- package/web/chunk-cp5ec63g.js.br +0 -0
- package/web/chunk-cp5ec63g.js.gz +0 -0
- package/web/chunk-cw21gjwg.js +39 -0
- package/web/chunk-cw21gjwg.js.br +0 -0
- package/web/chunk-cw21gjwg.js.gz +0 -0
- package/web/chunk-cxcpk0qt.js +2 -0
- package/web/chunk-cxcpk0qt.js.br +0 -0
- package/web/chunk-cxcpk0qt.js.gz +0 -0
- package/web/chunk-d3s30py8.js +1 -0
- package/web/chunk-d3s30py8.js.br +0 -0
- package/web/chunk-d3s30py8.js.gz +0 -0
- package/web/chunk-dj4jc1ec.js +1 -0
- package/web/chunk-dj4jc1ec.js.br +0 -0
- package/web/chunk-dj4jc1ec.js.gz +0 -0
- package/web/chunk-ef2xw0kb.js +1 -0
- package/web/chunk-ef2xw0kb.js.br +0 -0
- package/web/chunk-ef2xw0kb.js.gz +0 -0
- package/web/chunk-fek0yrg5.js +2 -0
- package/web/chunk-fek0yrg5.js.br +0 -0
- package/web/chunk-fek0yrg5.js.gz +0 -0
- package/web/chunk-fgm2r34b.js +36 -0
- package/web/chunk-fgm2r34b.js.br +0 -0
- package/web/chunk-fgm2r34b.js.gz +0 -0
- package/web/chunk-fpqs301q.js +2 -0
- package/web/chunk-fpqs301q.js.br +0 -0
- package/web/chunk-fpqs301q.js.gz +0 -0
- package/web/chunk-fv6se8xf.js +1 -0
- package/web/chunk-fv6se8xf.js.br +2 -0
- package/web/chunk-fv6se8xf.js.gz +0 -0
- package/web/chunk-g0nagyx2.js +1 -0
- package/web/chunk-g0nagyx2.js.br +0 -0
- package/web/chunk-g0nagyx2.js.gz +0 -0
- package/web/chunk-g5fp9ep9.js +1 -0
- package/web/chunk-g5fp9ep9.js.br +0 -0
- package/web/chunk-g5fp9ep9.js.gz +0 -0
- package/web/chunk-gh1fmd3j.js +3 -0
- package/web/chunk-gh1fmd3j.js.br +0 -0
- package/web/chunk-gh1fmd3j.js.gz +0 -0
- package/web/chunk-gq5825re.js +70 -0
- package/web/chunk-gq5825re.js.br +0 -0
- package/web/chunk-gq5825re.js.gz +0 -0
- package/web/chunk-gy57dyny.js +1 -0
- package/web/chunk-gy57dyny.js.br +0 -0
- package/web/chunk-gy57dyny.js.gz +0 -0
- package/web/chunk-j7p6xhe2.js +1 -0
- package/web/chunk-j7p6xhe2.js.br +0 -0
- package/web/chunk-j7p6xhe2.js.gz +0 -0
- package/web/chunk-jb8xfsc6.js +2 -0
- package/web/chunk-jb8xfsc6.js.br +0 -0
- package/web/chunk-jb8xfsc6.js.gz +0 -0
- package/web/chunk-jqyxnnn0.js +1 -0
- package/web/chunk-jqyxnnn0.js.br +0 -0
- package/web/chunk-jqyxnnn0.js.gz +0 -0
- package/web/chunk-jtwct1bx.js +1133 -0
- package/web/chunk-jtwct1bx.js.br +0 -0
- package/web/chunk-jtwct1bx.js.gz +0 -0
- package/web/chunk-k22kq2t7.js +12 -0
- package/web/chunk-k22kq2t7.js.br +0 -0
- package/web/chunk-k22kq2t7.js.gz +0 -0
- package/web/chunk-k2ry7k7s.js +1 -0
- package/web/chunk-k2ry7k7s.js.br +0 -0
- package/web/chunk-k2ry7k7s.js.gz +0 -0
- package/web/chunk-kdbrrecz.js +332 -0
- package/web/chunk-kdbrrecz.js.br +0 -0
- package/web/chunk-kdbrrecz.js.gz +0 -0
- package/web/chunk-kes2tf1q.js +2 -0
- package/web/chunk-kes2tf1q.js.br +3 -0
- package/web/chunk-kes2tf1q.js.gz +0 -0
- package/web/chunk-ksrzt6c5.js +1 -0
- package/web/chunk-ksrzt6c5.js.br +0 -0
- package/web/chunk-ksrzt6c5.js.gz +0 -0
- package/web/chunk-m2ethr1n.js +84 -0
- package/web/chunk-m2ethr1n.js.br +0 -0
- package/web/chunk-m2ethr1n.js.gz +0 -0
- package/web/chunk-m7tcm69z.js +292 -0
- package/web/chunk-m7tcm69z.js.br +0 -0
- package/web/chunk-m7tcm69z.js.gz +0 -0
- package/web/chunk-m8bz4e6n.js +2 -0
- package/web/chunk-m8bz4e6n.js.br +0 -0
- package/web/chunk-m8bz4e6n.js.gz +0 -0
- package/web/chunk-mva687p4.js +1 -0
- package/web/chunk-mva687p4.js.br +0 -0
- package/web/chunk-mva687p4.js.gz +0 -0
- package/web/chunk-n8fe9j5b.js +214 -0
- package/web/chunk-n8fe9j5b.js.br +0 -0
- package/web/chunk-n8fe9j5b.js.gz +0 -0
- package/web/chunk-nckx4yfd.js +62 -0
- package/web/chunk-nckx4yfd.js.br +0 -0
- package/web/chunk-nckx4yfd.js.gz +0 -0
- package/web/chunk-ncynjha5.js +2 -0
- package/web/chunk-ncynjha5.js.br +0 -0
- package/web/chunk-ncynjha5.js.gz +0 -0
- package/web/chunk-nq7dp0wj.js +291 -0
- package/web/chunk-nq7dp0wj.js.br +0 -0
- package/web/chunk-nq7dp0wj.js.gz +0 -0
- package/web/chunk-pagep4k3.js +1 -0
- package/web/chunk-pagep4k3.js.br +0 -0
- package/web/chunk-pagep4k3.js.gz +0 -0
- package/web/chunk-pbrk7zdw.js +1 -0
- package/web/chunk-pbrk7zdw.js.br +0 -0
- package/web/chunk-pbrk7zdw.js.gz +0 -0
- package/web/chunk-q0cs1bhg.js +2 -0
- package/web/chunk-q0cs1bhg.js.br +0 -0
- package/web/chunk-q0cs1bhg.js.gz +0 -0
- package/web/chunk-q749pgke.js +1 -0
- package/web/chunk-q749pgke.js.br +0 -0
- package/web/chunk-q749pgke.js.gz +0 -0
- package/web/chunk-q7yry602.js +1 -0
- package/web/chunk-q7yry602.js.br +0 -0
- package/web/chunk-q7yry602.js.gz +0 -0
- package/web/chunk-qkeaa97s.js +1 -0
- package/web/chunk-qkeaa97s.js.br +0 -0
- package/web/chunk-qkeaa97s.js.gz +0 -0
- package/web/chunk-qx7afyba.js +1 -0
- package/web/chunk-qx7afyba.js.br +0 -0
- package/web/chunk-qx7afyba.js.gz +0 -0
- package/web/chunk-rcaqmcm4.js +40 -0
- package/web/chunk-rcaqmcm4.js.br +0 -0
- package/web/chunk-rcaqmcm4.js.gz +0 -0
- package/web/chunk-s5kbbker.js +89 -0
- package/web/chunk-s5kbbker.js.br +0 -0
- package/web/chunk-s5kbbker.js.gz +0 -0
- package/web/chunk-sdq69ysp.js +2 -0
- package/web/chunk-sdq69ysp.js.br +0 -0
- package/web/chunk-sdq69ysp.js.gz +0 -0
- package/web/chunk-sk0cmsbx.js +7 -0
- package/web/chunk-sk0cmsbx.js.br +0 -0
- package/web/chunk-sk0cmsbx.js.gz +0 -0
- package/web/chunk-smmcx1z4.js +324 -0
- package/web/chunk-smmcx1z4.js.br +0 -0
- package/web/chunk-smmcx1z4.js.gz +0 -0
- package/web/chunk-sq7ntjp0.js +16 -0
- package/web/chunk-sq7ntjp0.js.br +0 -0
- package/web/chunk-sq7ntjp0.js.gz +0 -0
- package/web/chunk-st27df9w.js +2 -0
- package/web/chunk-st27df9w.js.br +0 -0
- package/web/chunk-st27df9w.js.gz +0 -0
- package/web/chunk-svxkg8n3.js +2 -0
- package/web/chunk-svxkg8n3.js.br +0 -0
- package/web/chunk-svxkg8n3.js.gz +0 -0
- package/web/chunk-t9nzrp2p.js +1 -0
- package/web/chunk-t9nzrp2p.js.br +0 -0
- package/web/chunk-t9nzrp2p.js.gz +0 -0
- package/web/chunk-t9t9v1r8.js +55 -0
- package/web/chunk-t9t9v1r8.js.br +0 -0
- package/web/chunk-t9t9v1r8.js.gz +0 -0
- package/web/chunk-tzpv48j3.js +2 -0
- package/web/chunk-tzpv48j3.js.br +0 -0
- package/web/chunk-tzpv48j3.js.gz +0 -0
- package/web/chunk-vgsk4ppw.js +7 -0
- package/web/chunk-vgsk4ppw.js.br +0 -0
- package/web/chunk-vgsk4ppw.js.gz +0 -0
- package/web/chunk-vq41ta7n.js +4 -0
- package/web/chunk-vq41ta7n.js.br +0 -0
- package/web/chunk-vq41ta7n.js.gz +0 -0
- package/web/chunk-w08egbqf.js +1 -0
- package/web/chunk-w08egbqf.js.br +0 -0
- package/web/chunk-w08egbqf.js.gz +0 -0
- package/web/chunk-wcmq0qgh.js +1 -0
- package/web/chunk-wcmq0qgh.js.br +0 -0
- package/web/chunk-wcmq0qgh.js.gz +0 -0
- package/web/chunk-wctq02yb.js +2 -0
- package/web/chunk-wctq02yb.js.br +0 -0
- package/web/chunk-wctq02yb.js.gz +0 -0
- package/web/chunk-wfwadf3r.js +2 -0
- package/web/chunk-wfwadf3r.js.br +0 -0
- package/web/chunk-wfwadf3r.js.gz +0 -0
- package/web/chunk-wgas5t5y.js +1 -0
- package/web/chunk-wgas5t5y.js.br +0 -0
- package/web/chunk-wgas5t5y.js.gz +0 -0
- package/web/chunk-x7k4eyee.js +21 -0
- package/web/chunk-x7k4eyee.js.br +0 -0
- package/web/chunk-x7k4eyee.js.gz +0 -0
- package/web/chunk-xpv38q1f.js +140 -0
- package/web/chunk-xpv38q1f.js.br +0 -0
- package/web/chunk-xpv38q1f.js.gz +0 -0
- package/web/chunk-xt671z8e.js +1 -0
- package/web/chunk-xt671z8e.js.br +0 -0
- package/web/chunk-xt671z8e.js.gz +0 -0
- package/web/chunk-xwrrkwwx.css +1 -0
- package/web/chunk-xwrrkwwx.css.br +0 -0
- package/web/chunk-xwrrkwwx.css.gz +0 -0
- package/web/chunk-xwy3gth5.js +89 -0
- package/web/chunk-xwy3gth5.js.br +0 -0
- package/web/chunk-xwy3gth5.js.gz +0 -0
- package/web/chunk-xwyadj9p.js +2 -0
- package/web/chunk-xwyadj9p.js.br +0 -0
- package/web/chunk-xwyadj9p.js.gz +0 -0
- package/web/chunk-xzgvnd23.js +1 -0
- package/web/chunk-xzgvnd23.js.br +0 -0
- package/web/chunk-xzgvnd23.js.gz +0 -0
- package/web/chunk-y05m6rvz.js +1 -0
- package/web/chunk-y05m6rvz.js.br +2 -0
- package/web/chunk-y05m6rvz.js.gz +0 -0
- package/web/chunk-z51mtwh3.js +169 -0
- package/web/chunk-z51mtwh3.js.br +0 -0
- package/web/chunk-z51mtwh3.js.gz +0 -0
- package/web/chunk-z77xrqc1.js +1 -0
- package/web/chunk-z77xrqc1.js.br +0 -0
- package/web/chunk-z77xrqc1.js.gz +0 -0
- package/web/chunk-z946nbmn.js +2 -0
- package/web/chunk-z946nbmn.js.br +0 -0
- package/web/chunk-z946nbmn.js.gz +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-02q61grt.js +0 -3
- package/chunk-03r6s8pm.js +0 -2
- package/chunk-09fsdkd3.js +0 -5
- package/chunk-0bg4w7ht.js +0 -3
- package/chunk-0s4r7k7j.js +0 -2
- package/chunk-27kw4nth.js +0 -2
- package/chunk-2ag9mvms.js +0 -10
- package/chunk-2shwjp8q.js +0 -3
- package/chunk-3114vstw.js +0 -2
- package/chunk-31meb34a.js +0 -2
- package/chunk-34w345mt.js +0 -2
- package/chunk-3amfr8zp.js +0 -7
- package/chunk-40nk2jjt.js +0 -2
- package/chunk-49bz6hg5.js +0 -25
- package/chunk-4hgkwa4k.js +0 -3
- package/chunk-4wfd77kc.js +0 -2
- package/chunk-55kpabb3.js +0 -2
- package/chunk-5p2asrj6.js +0 -2
- package/chunk-65hg0v7e.js +0 -2
- package/chunk-67qw30cj.js +0 -3770
- package/chunk-6rehcf49.js +0 -12
- package/chunk-6vkz3wqz.js +0 -25
- package/chunk-81yk0kj2.js +0 -3
- package/chunk-885vf5kb.js +0 -2
- package/chunk-8wy08x0d.js +0 -2
- package/chunk-9cqa9trx.js +0 -4
- package/chunk-ae45qq4z.js +0 -2
- package/chunk-ag3em5yv.js +0 -4
- package/chunk-b5k5p49x.js +0 -2
- package/chunk-b84vbfjc.js +0 -2
- package/chunk-dkpgstr2.js +0 -18
- package/chunk-dzn4c87v.js +0 -3
- package/chunk-e5xsyr0n.js +0 -3
- package/chunk-f97ma522.js +0 -3
- package/chunk-f9yneea6.js +0 -3
- package/chunk-fk43jgwe.js +0 -31
- package/chunk-frjqjdkx.js +0 -11
- package/chunk-fycz7ap5.js +0 -2
- package/chunk-fzefs6kn.js +0 -3
- package/chunk-g1n8k4dg.js +0 -5
- package/chunk-g5mdw639.js +0 -3
- package/chunk-gnvx44kj.js +0 -10
- package/chunk-gpympx0t.js +0 -467
- package/chunk-gyp2jn7d.js +0 -3
- package/chunk-hambwbfz.js +0 -7
- package/chunk-j02kqpvq.js +0 -5
- package/chunk-j1h7pabk.js +0 -7
- package/chunk-j6hn9qz6.js +0 -3
- package/chunk-jfx4c32t.js +0 -8
- package/chunk-jjj8a18b.js +0 -59
- package/chunk-k3c32v59.js +0 -3
- package/chunk-k8j3fvx5.js +0 -2
- package/chunk-kcn3af9r.js +0 -12
- package/chunk-m45dpnd1.js +0 -16
- package/chunk-m4wf04dz.js +0 -15
- package/chunk-m8k6t63k.js +0 -2
- package/chunk-nrggp4x6.js +0 -2
- package/chunk-nt549hv5.js +0 -2
- package/chunk-pg4mtrdy.js +0 -3
- package/chunk-psr4rxnn.js +0 -20
- package/chunk-qhhv81gd.js +0 -2
- package/chunk-qprms4rt.js +0 -2
- package/chunk-r0pm6dap.js +0 -3
- package/chunk-rck0kx09.js +0 -2
- package/chunk-rsn8ad6s.js +0 -2
- package/chunk-skzh3q1s.js +0 -2
- package/chunk-sm4b3q49.js +0 -3
- package/chunk-ste3ek53.js +0 -3
- package/chunk-trw86cmb.js +0 -11
- package/chunk-tv7met41.js +0 -3
- package/chunk-w33aapmk.js +0 -39
- package/chunk-wkqrsfrb.js +0 -389
- package/chunk-wxngqzqs.js +0 -3
- package/chunk-xafx1p7z.js +0 -3
- package/chunk-xgfqmm46.js +0 -2
- package/chunk-xr77j4f8.js +0 -9
- package/chunk-ykstnss8.js +0 -3
- package/chunk-yqv7ej5r.js +0 -5
- package/chunk-z97bcdg2.js +0 -3
- package/chunk-z9s7pwv5.js +0 -7
- package/web/chunk-013et20n.js +0 -2
- package/web/chunk-013et20n.js.br +0 -0
- package/web/chunk-013et20n.js.gz +0 -0
- package/web/chunk-0ernj3c0.js +0 -1
- package/web/chunk-0ernj3c0.js.br +0 -0
- package/web/chunk-0ernj3c0.js.gz +0 -0
- package/web/chunk-0j65yg1p.js +0 -1
- package/web/chunk-0j65yg1p.js.br +0 -0
- package/web/chunk-0j65yg1p.js.gz +0 -0
- package/web/chunk-0khcpaa8.js +0 -1
- package/web/chunk-0khcpaa8.js.br +0 -0
- package/web/chunk-0khcpaa8.js.gz +0 -0
- package/web/chunk-0wbdd74r.js +0 -1
- package/web/chunk-0wbdd74r.js.br +0 -2
- package/web/chunk-0wbdd74r.js.gz +0 -0
- package/web/chunk-1f2wvhq9.js +0 -1
- package/web/chunk-1f2wvhq9.js.br +0 -0
- package/web/chunk-1f2wvhq9.js.gz +0 -0
- package/web/chunk-1q2kmv35.js +0 -332
- package/web/chunk-1q2kmv35.js.br +0 -0
- package/web/chunk-1q2kmv35.js.gz +0 -0
- package/web/chunk-1tfrm3pk.js +0 -2
- package/web/chunk-1tfrm3pk.js.br +0 -0
- package/web/chunk-1tfrm3pk.js.gz +0 -0
- package/web/chunk-2qt5fy5n.js +0 -1
- package/web/chunk-2qt5fy5n.js.br +0 -0
- package/web/chunk-2qt5fy5n.js.gz +0 -0
- package/web/chunk-2sxtb709.js +0 -1
- package/web/chunk-2sxtb709.js.br +0 -0
- package/web/chunk-2sxtb709.js.gz +0 -0
- package/web/chunk-2wrwm0qe.js +0 -1
- package/web/chunk-2wrwm0qe.js.br +0 -0
- package/web/chunk-2wrwm0qe.js.gz +0 -0
- package/web/chunk-2wwj27b9.js +0 -7
- package/web/chunk-2wwj27b9.js.br +0 -0
- package/web/chunk-2wwj27b9.js.gz +0 -0
- package/web/chunk-33mmrjdp.js +0 -1
- package/web/chunk-33mmrjdp.js.br +0 -2
- package/web/chunk-33mmrjdp.js.gz +0 -0
- package/web/chunk-33tb7q04.js +0 -2
- package/web/chunk-33tb7q04.js.br +0 -0
- package/web/chunk-33tb7q04.js.gz +0 -0
- package/web/chunk-3txb4sha.js +0 -1
- package/web/chunk-3txb4sha.js.br +0 -0
- package/web/chunk-3txb4sha.js.gz +0 -0
- package/web/chunk-3xgfsx7y.js +0 -2
- package/web/chunk-3xgfsx7y.js.br +0 -0
- package/web/chunk-3xgfsx7y.js.gz +0 -0
- package/web/chunk-40jka4r7.js +0 -2
- package/web/chunk-40jka4r7.js.br +0 -0
- package/web/chunk-40jka4r7.js.gz +0 -0
- package/web/chunk-41vh5n86.js +0 -1
- package/web/chunk-41vh5n86.js.br +0 -0
- package/web/chunk-41vh5n86.js.gz +0 -0
- package/web/chunk-5kz048x3.js +0 -2
- package/web/chunk-5kz048x3.js.br +0 -0
- package/web/chunk-5kz048x3.js.gz +0 -0
- package/web/chunk-5mbz8yj9.js +0 -3
- package/web/chunk-5mbz8yj9.js.br +0 -0
- package/web/chunk-5mbz8yj9.js.gz +0 -0
- package/web/chunk-6024wfxb.js +0 -30
- package/web/chunk-6024wfxb.js.br +0 -0
- package/web/chunk-6024wfxb.js.gz +0 -0
- package/web/chunk-6ey4c6gw.js +0 -2
- package/web/chunk-6ey4c6gw.js.br +0 -0
- package/web/chunk-6ey4c6gw.js.gz +0 -0
- package/web/chunk-6q3p851n.js +0 -1
- package/web/chunk-6q3p851n.js.br +0 -2
- package/web/chunk-6q3p851n.js.gz +0 -0
- package/web/chunk-74g3wh08.js +0 -2
- package/web/chunk-74g3wh08.js.br +0 -0
- package/web/chunk-74g3wh08.js.gz +0 -0
- package/web/chunk-78akzkgs.js +0 -84
- package/web/chunk-78akzkgs.js.br +0 -0
- package/web/chunk-78akzkgs.js.gz +0 -0
- package/web/chunk-7ck99bsp.js +0 -62
- package/web/chunk-7ck99bsp.js.br +0 -0
- package/web/chunk-7ck99bsp.js.gz +0 -0
- package/web/chunk-7fjbyns9.js +0 -1
- package/web/chunk-7fjbyns9.js.br +0 -0
- package/web/chunk-7fjbyns9.js.gz +0 -0
- package/web/chunk-7n6b2xra.js +0 -21
- package/web/chunk-7n6b2xra.js.br +0 -0
- package/web/chunk-7n6b2xra.js.gz +0 -0
- package/web/chunk-7p4mcqkd.js +0 -78
- package/web/chunk-7p4mcqkd.js.br +0 -0
- package/web/chunk-7p4mcqkd.js.gz +0 -0
- package/web/chunk-7ztwkhg5.js +0 -1
- package/web/chunk-7ztwkhg5.js.br +0 -0
- package/web/chunk-7ztwkhg5.js.gz +0 -0
- package/web/chunk-823etvc3.js +0 -99
- package/web/chunk-823etvc3.js.br +0 -0
- package/web/chunk-823etvc3.js.gz +0 -0
- package/web/chunk-8ec53vjd.js +0 -1
- package/web/chunk-8ec53vjd.js.br +0 -0
- package/web/chunk-8ec53vjd.js.gz +0 -0
- package/web/chunk-8g55ytgz.js +0 -1
- package/web/chunk-8g55ytgz.js.br +0 -0
- package/web/chunk-8g55ytgz.js.gz +0 -0
- package/web/chunk-8q76yd76.js +0 -291
- package/web/chunk-8q76yd76.js.br +0 -0
- package/web/chunk-8q76yd76.js.gz +0 -0
- package/web/chunk-9kbrjmtz.js +0 -1
- package/web/chunk-9kbrjmtz.js.br +0 -0
- package/web/chunk-9kbrjmtz.js.gz +0 -0
- package/web/chunk-9s4bh6qm.js +0 -40
- package/web/chunk-9s4bh6qm.js.br +0 -0
- package/web/chunk-9s4bh6qm.js.gz +0 -0
- package/web/chunk-a449xjq6.js +0 -7
- package/web/chunk-a449xjq6.js.br +0 -0
- package/web/chunk-a449xjq6.js.gz +0 -0
- package/web/chunk-b05eay33.js +0 -1
- package/web/chunk-b05eay33.js.br +0 -0
- package/web/chunk-b05eay33.js.gz +0 -0
- package/web/chunk-bdypt5mj.js +0 -142
- package/web/chunk-bdypt5mj.js.br +0 -0
- package/web/chunk-bdypt5mj.js.gz +0 -0
- package/web/chunk-ccy2q2z0.js +0 -2
- package/web/chunk-ccy2q2z0.js.br +0 -0
- package/web/chunk-ccy2q2z0.js.gz +0 -0
- package/web/chunk-ceg13tma.js +0 -2
- package/web/chunk-ceg13tma.js.br +0 -0
- package/web/chunk-ceg13tma.js.gz +0 -0
- package/web/chunk-ch60a61d.js +0 -2
- package/web/chunk-ch60a61d.js.br +0 -0
- package/web/chunk-ch60a61d.js.gz +0 -0
- package/web/chunk-czvdg0c5.js +0 -1
- package/web/chunk-czvdg0c5.js.br +0 -0
- package/web/chunk-czvdg0c5.js.gz +0 -0
- package/web/chunk-dsa5m3h6.js +0 -200
- package/web/chunk-dsa5m3h6.js.br +0 -0
- package/web/chunk-dsa5m3h6.js.gz +0 -0
- package/web/chunk-dww3grm3.js +0 -24
- package/web/chunk-dww3grm3.js.br +0 -0
- package/web/chunk-dww3grm3.js.gz +0 -0
- package/web/chunk-e187gt5x.js +0 -1
- package/web/chunk-e187gt5x.js.br +0 -0
- package/web/chunk-e187gt5x.js.gz +0 -0
- package/web/chunk-ey0zwvbx.js +0 -1
- package/web/chunk-ey0zwvbx.js.br +0 -0
- package/web/chunk-ey0zwvbx.js.gz +0 -0
- package/web/chunk-ey14knbn.js +0 -2
- package/web/chunk-ey14knbn.js.br +0 -0
- package/web/chunk-ey14knbn.js.gz +0 -0
- package/web/chunk-fba06jm8.js +0 -1132
- package/web/chunk-fba06jm8.js.br +0 -0
- package/web/chunk-fba06jm8.js.gz +0 -0
- package/web/chunk-fh56vgfx.js +0 -39
- package/web/chunk-fh56vgfx.js.br +0 -0
- package/web/chunk-fh56vgfx.js.gz +0 -0
- package/web/chunk-ft05x3my.js +0 -169
- package/web/chunk-ft05x3my.js.br +0 -0
- package/web/chunk-ft05x3my.js.gz +0 -0
- package/web/chunk-fzmrnh17.js +0 -303
- package/web/chunk-fzmrnh17.js.br +0 -0
- package/web/chunk-fzmrnh17.js.gz +0 -0
- package/web/chunk-gbt7asd7.js +0 -2
- package/web/chunk-gbt7asd7.js.br +0 -0
- package/web/chunk-gbt7asd7.js.gz +0 -0
- package/web/chunk-gh9fkn3t.js +0 -1
- package/web/chunk-gh9fkn3t.js.br +0 -2
- package/web/chunk-gh9fkn3t.js.gz +0 -0
- package/web/chunk-h1syyjqq.js +0 -2
- package/web/chunk-h1syyjqq.js.br +0 -0
- package/web/chunk-h1syyjqq.js.gz +0 -0
- package/web/chunk-h7byk4z3.js +0 -140
- package/web/chunk-h7byk4z3.js.br +0 -0
- package/web/chunk-h7byk4z3.js.gz +0 -0
- package/web/chunk-hby0hkv4.js +0 -1
- package/web/chunk-hby0hkv4.js.br +0 -0
- package/web/chunk-hby0hkv4.js.gz +0 -0
- package/web/chunk-hjvsp2yx.js +0 -1
- package/web/chunk-hjvsp2yx.js.br +0 -0
- package/web/chunk-hjvsp2yx.js.gz +0 -0
- package/web/chunk-hpjzy5ww.js +0 -1
- package/web/chunk-hpjzy5ww.js.br +0 -0
- package/web/chunk-hpjzy5ww.js.gz +0 -0
- package/web/chunk-hzfp8kqx.js +0 -217
- package/web/chunk-hzfp8kqx.js.br +0 -0
- package/web/chunk-hzfp8kqx.js.gz +0 -0
- package/web/chunk-j8f0m1dq.js +0 -1
- package/web/chunk-j8f0m1dq.js.br +0 -0
- package/web/chunk-j8f0m1dq.js.gz +0 -0
- package/web/chunk-jc178ad5.js +0 -2
- package/web/chunk-jc178ad5.js.br +0 -0
- package/web/chunk-jc178ad5.js.gz +0 -0
- package/web/chunk-jcsf0ke5.js +0 -41
- package/web/chunk-jcsf0ke5.js.br +0 -0
- package/web/chunk-jcsf0ke5.js.gz +0 -0
- package/web/chunk-jg43a2xk.js +0 -139
- package/web/chunk-jg43a2xk.js.br +0 -0
- package/web/chunk-jg43a2xk.js.gz +0 -0
- package/web/chunk-jrgdxqtq.js +0 -7
- package/web/chunk-jrgdxqtq.js.br +0 -0
- package/web/chunk-jrgdxqtq.js.gz +0 -0
- package/web/chunk-js8dvtfg.js +0 -2
- package/web/chunk-js8dvtfg.js.br +0 -0
- package/web/chunk-js8dvtfg.js.gz +0 -0
- package/web/chunk-jt0s9qs7.js +0 -1
- package/web/chunk-jt0s9qs7.js.br +0 -0
- package/web/chunk-jt0s9qs7.js.gz +0 -0
- package/web/chunk-jv5faf88.js +0 -34
- package/web/chunk-jv5faf88.js.br +0 -0
- package/web/chunk-jv5faf88.js.gz +0 -0
- package/web/chunk-k295x81w.js +0 -370
- package/web/chunk-k295x81w.js.br +0 -0
- package/web/chunk-k295x81w.js.gz +0 -0
- package/web/chunk-k6wxwgp1.js +0 -55
- package/web/chunk-k6wxwgp1.js.br +0 -0
- package/web/chunk-k6wxwgp1.js.gz +0 -0
- package/web/chunk-k9vc7kp2.js +0 -292
- package/web/chunk-k9vc7kp2.js.br +0 -0
- package/web/chunk-k9vc7kp2.js.gz +0 -0
- package/web/chunk-kxyws7q7.js +0 -1
- package/web/chunk-kxyws7q7.js.br +0 -0
- package/web/chunk-kxyws7q7.js.gz +0 -0
- package/web/chunk-mcgf645h.js +0 -1
- package/web/chunk-mcgf645h.js.br +0 -4
- package/web/chunk-mcgf645h.js.gz +0 -0
- package/web/chunk-mj3tshy8.js +0 -214
- package/web/chunk-mj3tshy8.js.br +0 -0
- package/web/chunk-mj3tshy8.js.gz +0 -0
- package/web/chunk-mnb2wdvy.js +0 -24
- package/web/chunk-mnb2wdvy.js.br +0 -0
- package/web/chunk-mnb2wdvy.js.gz +0 -0
- package/web/chunk-ndf58dgc.js +0 -1
- package/web/chunk-ndf58dgc.js.br +0 -0
- package/web/chunk-ndf58dgc.js.gz +0 -0
- package/web/chunk-nhpm5nd5.js +0 -2
- package/web/chunk-nhpm5nd5.js.br +0 -0
- package/web/chunk-nhpm5nd5.js.gz +0 -0
- package/web/chunk-nwxjdetb.js +0 -1
- package/web/chunk-nwxjdetb.js.br +0 -0
- package/web/chunk-nwxjdetb.js.gz +0 -0
- package/web/chunk-nyjfcard.js +0 -106
- package/web/chunk-nyjfcard.js.br +0 -0
- package/web/chunk-nyjfcard.js.gz +0 -0
- package/web/chunk-pcfjcy3a.js +0 -324
- package/web/chunk-pcfjcy3a.js.br +0 -0
- package/web/chunk-pcfjcy3a.js.gz +0 -0
- package/web/chunk-pry6wdbe.js +0 -1
- package/web/chunk-pry6wdbe.js.br +0 -0
- package/web/chunk-pry6wdbe.js.gz +0 -0
- package/web/chunk-pvahdcgy.js +0 -2
- package/web/chunk-pvahdcgy.js.br +0 -0
- package/web/chunk-pvahdcgy.js.gz +0 -0
- package/web/chunk-q3njnnef.js +0 -16
- package/web/chunk-q3njnnef.js.br +0 -0
- package/web/chunk-q3njnnef.js.gz +0 -0
- package/web/chunk-rbmp2e4b.js +0 -1
- package/web/chunk-rbmp2e4b.js.br +0 -0
- package/web/chunk-rbmp2e4b.js.gz +0 -0
- package/web/chunk-rcre1stj.js +0 -1
- package/web/chunk-rcre1stj.js.br +0 -0
- package/web/chunk-rcre1stj.js.gz +0 -0
- package/web/chunk-rdb6091n.js +0 -89
- package/web/chunk-rdb6091n.js.br +0 -0
- package/web/chunk-rdb6091n.js.gz +0 -0
- package/web/chunk-ryw7xnab.js +0 -1
- package/web/chunk-ryw7xnab.js.br +0 -0
- package/web/chunk-ryw7xnab.js.gz +0 -0
- package/web/chunk-sbbmy02e.js +0 -2
- package/web/chunk-sbbmy02e.js.br +0 -0
- package/web/chunk-sbbmy02e.js.gz +0 -0
- package/web/chunk-sydy10mb.js +0 -1
- package/web/chunk-sydy10mb.js.br +0 -0
- package/web/chunk-sydy10mb.js.gz +0 -0
- package/web/chunk-t0ywnp5e.js +0 -1
- package/web/chunk-t0ywnp5e.js.br +0 -0
- package/web/chunk-t0ywnp5e.js.gz +0 -0
- package/web/chunk-t72jq97z.js +0 -2
- package/web/chunk-t72jq97z.js.br +0 -0
- package/web/chunk-t72jq97z.js.gz +0 -0
- package/web/chunk-tfcc9bcz.js +0 -4
- package/web/chunk-tfcc9bcz.js.br +0 -0
- package/web/chunk-tfcc9bcz.js.gz +0 -0
- package/web/chunk-v2bvbgfc.js +0 -2
- package/web/chunk-v2bvbgfc.js.br +0 -0
- package/web/chunk-v2bvbgfc.js.gz +0 -0
- package/web/chunk-v7zq4vc9.js +0 -12
- package/web/chunk-v7zq4vc9.js.br +0 -0
- package/web/chunk-v7zq4vc9.js.gz +0 -0
- package/web/chunk-vh8pkcem.css +0 -1
- package/web/chunk-vh8pkcem.css.br +0 -0
- package/web/chunk-vh8pkcem.css.gz +0 -0
- package/web/chunk-vq3sby7x.js +0 -1
- package/web/chunk-vq3sby7x.js.br +0 -0
- package/web/chunk-vq3sby7x.js.gz +0 -0
- package/web/chunk-was9xf03.js +0 -8
- package/web/chunk-was9xf03.js.br +0 -0
- package/web/chunk-was9xf03.js.gz +0 -0
- package/web/chunk-we1v1829.js +0 -2
- package/web/chunk-we1v1829.js.br +0 -0
- package/web/chunk-we1v1829.js.gz +0 -0
- package/web/chunk-wg2exnxe.js +0 -1
- package/web/chunk-wg2exnxe.js.br +0 -2
- package/web/chunk-wg2exnxe.js.gz +0 -0
- package/web/chunk-wvd3zj1m.js +0 -70
- package/web/chunk-wvd3zj1m.js.br +0 -0
- package/web/chunk-wvd3zj1m.js.gz +0 -0
- package/web/chunk-wzmxtr30.js +0 -1
- package/web/chunk-wzmxtr30.js.br +0 -0
- package/web/chunk-wzmxtr30.js.gz +0 -0
- package/web/chunk-x815g7yp.js +0 -1
- package/web/chunk-x815g7yp.js.br +0 -0
- package/web/chunk-x815g7yp.js.gz +0 -0
- package/web/chunk-x8ps0p82.js +0 -98
- package/web/chunk-x8ps0p82.js.br +0 -0
- package/web/chunk-x8ps0p82.js.gz +0 -0
- package/web/chunk-xea3snym.js +0 -1
- package/web/chunk-xea3snym.js.br +0 -0
- package/web/chunk-xea3snym.js.gz +0 -0
- package/web/chunk-xg4v60m7.js +0 -1
- package/web/chunk-xg4v60m7.js.br +0 -0
- package/web/chunk-xg4v60m7.js.gz +0 -0
- package/web/chunk-xhr9jrjt.js +0 -89
- package/web/chunk-xhr9jrjt.js.br +0 -0
- package/web/chunk-xhr9jrjt.js.gz +0 -0
- package/web/chunk-xp90g2e7.js +0 -36
- package/web/chunk-xp90g2e7.js.br +0 -0
- package/web/chunk-xp90g2e7.js.gz +0 -0
- package/web/chunk-xs1g97qa.js +0 -2
- package/web/chunk-xs1g97qa.js.br +0 -0
- package/web/chunk-xs1g97qa.js.gz +0 -0
- package/web/chunk-xyk1wpr4.js +0 -1
- package/web/chunk-xyk1wpr4.js.br +0 -3
- package/web/chunk-xyk1wpr4.js.gz +0 -0
- package/web/chunk-yavbdwyt.js +0 -1
- package/web/chunk-yavbdwyt.js.br +0 -0
- package/web/chunk-yavbdwyt.js.gz +0 -0
- package/web/chunk-yfnhnsxe.js +0 -4
- package/web/chunk-yfnhnsxe.js.br +0 -0
- package/web/chunk-yfnhnsxe.js.gz +0 -0
- package/web/chunk-yk965yth.js +0 -1
- package/web/chunk-yk965yth.js.br +0 -0
- package/web/chunk-yk965yth.js.gz +0 -0
- package/web/chunk-ynhcjhsx.js +0 -2
- package/web/chunk-ynhcjhsx.js.br +0 -0
- package/web/chunk-ynhcjhsx.js.gz +0 -0
- package/web/chunk-ypmm1gts.js +0 -1
- package/web/chunk-ypmm1gts.js.br +0 -0
- package/web/chunk-ypmm1gts.js.gz +0 -0
- package/web/chunk-yssx5a5q.js +0 -1
- package/web/chunk-yssx5a5q.js.br +0 -0
- package/web/chunk-yssx5a5q.js.gz +0 -0
- package/web/chunk-z0a8cnq8.js +0 -1
- package/web/chunk-z0a8cnq8.js.br +0 -0
- package/web/chunk-z0a8cnq8.js.gz +0 -0
- package/web/chunk-z1afsvbv.js +0 -2
- package/web/chunk-z1afsvbv.js.br +0 -0
- package/web/chunk-z1afsvbv.js.gz +0 -0
- package/web/chunk-z1ka8jtd.js +0 -2
- package/web/chunk-z1ka8jtd.js.br +0 -0
- package/web/chunk-z1ka8jtd.js.gz +0 -0
- package/web/chunk-z7tdzen9.js +0 -1
- package/web/chunk-z7tdzen9.js.br +0 -0
- package/web/chunk-z7tdzen9.js.gz +0 -0
- package/web/chunk-zbwjj06m.js +0 -38
- package/web/chunk-zbwjj06m.js.br +0 -0
- package/web/chunk-zbwjj06m.js.gz +0 -0
- package/web/chunk-zd2j189j.js +0 -1
- package/web/chunk-zd2j189j.js.br +0 -0
- package/web/chunk-zd2j189j.js.gz +0 -0
- package/web/chunk-zfgpq4n4.js +0 -120
- package/web/chunk-zfgpq4n4.js.br +0 -0
- package/web/chunk-zfgpq4n4.js.gz +0 -0
- package/web/chunk-zgas56xw.js +0 -1
- package/web/chunk-zgas56xw.js.br +0 -0
- package/web/chunk-zgas56xw.js.gz +0 -0
- package/web/chunk-zkfepf91.js +0 -1
- package/web/chunk-zkfepf91.js.br +0 -0
- package/web/chunk-zkfepf91.js.gz +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import{t,a,Ce,U,k,G,R,I,L,D,u,f,Or,Ci,Rt,T,Ei}from"./chunk-77pcpdb5.js";import{ir}from"./chunk-cxcpk0qt.js";var Jt=function(){var e=t(function(Ot,v,S,w){for(S=S||{},w=Ot.length;w--;S[Ot[w]]=v);return S},"o"),n=[1,24],i=[1,25],o=[1,26],p=[1,27],l=[1,28],r=[1,63],d=[1,64],s=[1,65],y=[1,66],m=[1,67],b=[1,68],x=[1,69],C=[1,29],B=[1,30],j=[1,31],V=[1,32],Y=[1,33],q=[1,34],rt=[1,35],st=[1,36],at=[1,37],it=[1,38],ot=[1,39],lt=[1,40],ct=[1,41],ut=[1,42],ht=[1,43],dt=[1,44],pt=[1,45],ft=[1,46],yt=[1,47],_t=[1,48],bt=[1,50],mt=[1,51],gt=[1,52],xt=[1,53],vt=[1,54],kt=[1,55],Et=[1,56],St=[1,57],Tt=[1,58],Ct=[1,59],wt=[1,60],Vt=[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],Ft=[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],O=[1,82],P=[1,83],N=[1,84],A=[1,85],M=[12,14,42],ye=[12,14,33,42],qt=[12,14,33,42,76,77,79,80],At=[12,33],ee=[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],ne={trace:t(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:t(function(v,S,w,g,F,h,Ut){var _=h.length-1;switch(F){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(h[_-3]);break;case 19:g.setTitle(h[_].substring(6)),this.$=h[_].substring(6);break;case 20:g.setAccDescription(h[_].substring(15)),this.$=h[_].substring(15);break;case 21:this.$=h[_].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=h[_].trim(),g.setAccDescription(this.$);break;case 28:h[_].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 29:h[_].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 30:g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 31:h[_].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[_]),this.$=h[_];break;case 32:g.addDeploymentNode("node",...h[_]),this.$=h[_];break;case 33:g.addDeploymentNode("nodeL",...h[_]),this.$=h[_];break;case 34:g.addDeploymentNode("nodeR",...h[_]),this.$=h[_];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...h[_]),this.$=h[_];break;case 40:g.addPersonOrSystem("external_person",...h[_]),this.$=h[_];break;case 41:g.addPersonOrSystem("system",...h[_]),this.$=h[_];break;case 42:g.addPersonOrSystem("system_db",...h[_]),this.$=h[_];break;case 43:g.addPersonOrSystem("system_queue",...h[_]),this.$=h[_];break;case 44:g.addPersonOrSystem("external_system",...h[_]),this.$=h[_];break;case 45:g.addPersonOrSystem("external_system_db",...h[_]),this.$=h[_];break;case 46:g.addPersonOrSystem("external_system_queue",...h[_]),this.$=h[_];break;case 47:g.addContainer("container",...h[_]),this.$=h[_];break;case 48:g.addContainer("container_db",...h[_]),this.$=h[_];break;case 49:g.addContainer("container_queue",...h[_]),this.$=h[_];break;case 50:g.addContainer("external_container",...h[_]),this.$=h[_];break;case 51:g.addContainer("external_container_db",...h[_]),this.$=h[_];break;case 52:g.addContainer("external_container_queue",...h[_]),this.$=h[_];break;case 53:g.addComponent("component",...h[_]),this.$=h[_];break;case 54:g.addComponent("component_db",...h[_]),this.$=h[_];break;case 55:g.addComponent("component_queue",...h[_]),this.$=h[_];break;case 56:g.addComponent("external_component",...h[_]),this.$=h[_];break;case 57:g.addComponent("external_component_db",...h[_]),this.$=h[_];break;case 58:g.addComponent("external_component_queue",...h[_]),this.$=h[_];break;case 60:g.addRel("rel",...h[_]),this.$=h[_];break;case 61:g.addRel("birel",...h[_]),this.$=h[_];break;case 62:g.addRel("rel_u",...h[_]),this.$=h[_];break;case 63:g.addRel("rel_d",...h[_]),this.$=h[_];break;case 64:g.addRel("rel_l",...h[_]),this.$=h[_];break;case 65:g.addRel("rel_r",...h[_]),this.$=h[_];break;case 66:g.addRel("rel_b",...h[_]),this.$=h[_];break;case 67:h[_].splice(0,1),g.addRel("rel",...h[_]),this.$=h[_];break;case 68:g.updateElStyle("update_el_style",...h[_]),this.$=h[_];break;case 69:g.updateRelStyle("update_rel_style",...h[_]),this.$=h[_];break;case 70:g.updateLayoutConfig("update_layout_config",...h[_]),this.$=h[_];break;case 71:this.$=[h[_]];break;case 72:h[_].unshift(h[_-1]),this.$=h[_];break;case 73:case 75:this.$=h[_].trim();break;case 74:let Lt={};Lt[h[_-1].trim()]=h[_].trim(),this.$=Lt;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:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:70,19:20,20:21,21:22,22:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:71,19:20,20:21,21:22,22:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:72,19:20,20:21,21:22,22:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{13:73,19:20,20:21,21:22,22:n,23:i,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{14:[1,74]},e(Vt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:d,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt}),e(Vt,[2,14]),e(te,[2,16],{12:[1,76]}),e(Vt,[2,36],{12:[1,77]}),e(Ft,[2,19]),e(Ft,[2,20]),{25:[1,78]},{27:[1,79]},e(Ft,[2,23]),{35:80,75:81,76:O,77:P,79:N,80:A},{35:86,75:81,76:O,77:P,79:N,80:A},{35:87,75:81,76:O,77:P,79:N,80:A},{35:88,75:81,76:O,77:P,79:N,80:A},{35:89,75:81,76:O,77:P,79:N,80:A},{35:90,75:81,76:O,77:P,79:N,80:A},{35:91,75:81,76:O,77:P,79:N,80:A},{35:92,75:81,76:O,77:P,79:N,80:A},{35:93,75:81,76:O,77:P,79:N,80:A},{35:94,75:81,76:O,77:P,79:N,80:A},{35:95,75:81,76:O,77:P,79:N,80:A},{35:96,75:81,76:O,77:P,79:N,80:A},{35:97,75:81,76:O,77:P,79:N,80:A},{35:98,75:81,76:O,77:P,79:N,80:A},{35:99,75:81,76:O,77:P,79:N,80:A},{35:100,75:81,76:O,77:P,79:N,80:A},{35:101,75:81,76:O,77:P,79:N,80:A},{35:102,75:81,76:O,77:P,79:N,80:A},{35:103,75:81,76:O,77:P,79:N,80:A},{35:104,75:81,76:O,77:P,79:N,80:A},e(M,[2,59]),{35:105,75:81,76:O,77:P,79:N,80:A},{35:106,75:81,76:O,77:P,79:N,80:A},{35:107,75:81,76:O,77:P,79:N,80:A},{35:108,75:81,76:O,77:P,79:N,80:A},{35:109,75:81,76:O,77:P,79:N,80:A},{35:110,75:81,76:O,77:P,79:N,80:A},{35:111,75:81,76:O,77:P,79:N,80:A},{35:112,75:81,76:O,77:P,79:N,80:A},{35:113,75:81,76:O,77:P,79:N,80:A},{35:114,75:81,76:O,77:P,79:N,80:A},{35:115,75:81,76:O,77:P,79:N,80:A},{20:116,29:49,30:61,32:62,34:r,36:d,37:s,38:y,39:m,40:b,41:x,43:23,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt},{12:[1,118],33:[1,117]},{35:119,75:81,76:O,77:P,79:N,80:A},{35:120,75:81,76:O,77:P,79:N,80:A},{35:121,75:81,76:O,77:P,79:N,80:A},{35:122,75:81,76:O,77:P,79:N,80:A},{35:123,75:81,76:O,77:P,79:N,80:A},{35:124,75:81,76:O,77:P,79:N,80:A},{35:125,75:81,76:O,77:P,79:N,80:A},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Vt,[2,15]),e(te,[2,17],{21:22,19:130,22:n,23:i,24:o,26:p,28:l}),e(Vt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:n,23:i,24:o,26:p,28:l,34:r,36:d,37:s,38:y,39:m,40:b,41:x,44:C,45:B,46:j,47:V,48:Y,49:q,50:rt,51:st,52:at,53:it,54:ot,55:lt,56:ct,57:ut,58:ht,59:dt,60:pt,61:ft,62:yt,63:_t,64:bt,65:mt,66:gt,67:xt,68:vt,69:kt,70:Et,71:St,72:Tt,73:Ct,74:wt}),e(Ft,[2,21]),e(Ft,[2,22]),e(M,[2,39]),e(ye,[2,71],{75:81,35:132,76:O,77:P,79:N,80:A}),e(qt,[2,73]),{78:[1,133]},e(qt,[2,75]),e(qt,[2,76]),e(M,[2,40]),e(M,[2,41]),e(M,[2,42]),e(M,[2,43]),e(M,[2,44]),e(M,[2,45]),e(M,[2,46]),e(M,[2,47]),e(M,[2,48]),e(M,[2,49]),e(M,[2,50]),e(M,[2,51]),e(M,[2,52]),e(M,[2,53]),e(M,[2,54]),e(M,[2,55]),e(M,[2,56]),e(M,[2,57]),e(M,[2,58]),e(M,[2,60]),e(M,[2,61]),e(M,[2,62]),e(M,[2,63]),e(M,[2,64]),e(M,[2,65]),e(M,[2,66]),e(M,[2,67]),e(M,[2,68]),e(M,[2,69]),e(M,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(At,[2,28]),e(At,[2,29]),e(At,[2,30]),e(At,[2,31]),e(At,[2,32]),e(At,[2,33]),e(At,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(te,[2,18]),e(Vt,[2,38]),e(ye,[2,72]),e(qt,[2,74]),e(M,[2,24]),e(M,[2,35]),e(ee,[2,25]),e(ee,[2,26],{12:[1,138]}),e(ee,[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:t(function(v,S){if(S.recoverable)this.trace(v);else{var w=Error(v);throw w.hash=S,w}},"parseError"),parse:t(function(v){var S=this,w=[0],g=[],F=[null],h=[],Ut=this.table,_="",Lt=0,_e=0,be=0,Ve=2,me=1,Ye=h.slice.call(arguments,1),z=Object.create(this.lexer),It={yy:{}};for(var re in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,re))It.yy[re]=this.yy[re];if(z.setInput(v,It.yy),It.yy.lexer=z,It.yy.parser=this,typeof z.yylloc>"u")z.yylloc={};var se=z.yylloc;h.push(se);var Fe=z.options&&z.options.ranges;if(typeof It.yy.parseError==="function")this.parseError=It.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ue(Q){w.length=w.length-2*Q,F.length=F.length-Q,h.length=h.length-Q}t(Ue,"popStack");function ge(){var Q=g.pop()||z.lex()||me;if(typeof Q!=="number"){if(Q instanceof Array)g=Q,Q=g.pop();Q=S.symbols_[Q]||Q}return Q}t(ge,"lex");var W,ae,Mt,H,X0,ie,Yt={},Qt,et,xe,Kt;while(!0){if(Mt=w[w.length-1],this.defaultActions[Mt])H=this.defaultActions[Mt];else{if(W===null||typeof W>"u")W=ge();H=Ut[Mt]&&Ut[Mt][W]}if(typeof H>"u"||!H.length||!H[0]){var oe="";Kt=[];for(Qt in Ut[Mt])if(this.terminals_[Qt]&&Qt>Ve)Kt.push("'"+this.terminals_[Qt]+"'");if(z.showPosition)oe="Parse error on line "+(Lt+1)+`:
|
|
2
|
+
`+z.showPosition()+`
|
|
3
|
+
Expecting `+Kt.join(", ")+", got '"+(this.terminals_[W]||W)+"'";else oe="Parse error on line "+(Lt+1)+": Unexpected "+(W==me?"end of input":"'"+(this.terminals_[W]||W)+"'");this.parseError(oe,{text:z.match,token:this.terminals_[W]||W,line:z.yylineno,loc:se,expected:Kt})}if(H[0]instanceof Array&&H.length>1)throw Error("Parse Error: multiple actions possible at state: "+Mt+", token: "+W);switch(H[0]){case 1:if(w.push(W),F.push(z.yytext),h.push(z.yylloc),w.push(H[1]),W=null,!ae){if(_e=z.yyleng,_=z.yytext,Lt=z.yylineno,se=z.yylloc,be>0)be--}else W=ae,ae=null;break;case 2:if(et=this.productions_[H[1]][1],Yt.$=F[F.length-et],Yt._$={first_line:h[h.length-(et||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(et||1)].first_column,last_column:h[h.length-1].last_column},Fe)Yt._$.range=[h[h.length-(et||1)].range[0],h[h.length-1].range[1]];if(ie=this.performAction.apply(Yt,[_,_e,Lt,It.yy,H[1],F,h].concat(Ye)),typeof ie<"u")return ie;if(et)w=w.slice(0,-1*et*2),F=F.slice(0,-1*et),h=h.slice(0,-1*et);w.push(this.productions_[H[1]][0]),F.push(Yt.$),h.push(Yt._$),xe=Ut[w[w.length-2]][w[w.length-1]],w.push(xe);break;case 3:return!0}}return!0},"parse")},Be=function(){var Ot={EOF:1,parseError:t(function(S,w){if(this.yy.parser)this.yy.parser.parseError(S,w);else throw Error(S)},"parseError"),setInput:t(function(v,S){if(this.yy=S||this.yy||{},this._input=v,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];return this.offset=0,this},"setInput"),input:t(function(){var v=this._input[0];this.yytext+=v,this.yyleng++,this.offset++,this.match+=v,this.matched+=v;var S=v.match(/(?:\r\n?|\n).*/g);if(S)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),v},"input"),unput:t(function(v){var S=v.length,w=v.split(/(?:\r\n?|\n)/g);this._input=v+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var g=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),w.length-1)this.yylineno-=w.length-1;var F=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:w?(w.length===g.length?this.yylloc.first_column:0)+g[g.length-w.length].length-w[0].length:this.yylloc.first_column-S},this.options.ranges)this.yylloc.range=[F[0],F[0]+this.yyleng-S];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(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:t(function(v){this.unput(this.match.slice(v))},"less"),pastInput:t(function(){var v=this.matched.substr(0,this.matched.length-this.match.length);return(v.length>20?"...":"")+v.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var v=this.match;if(v.length<20)v+=this._input.substr(0,20-v.length);return(v.substr(0,20)+(v.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var v=this.pastInput(),S=Array(v.length+1).join("-");return v+this.upcomingInput()+`
|
|
5
|
+
`+S+"^"},"showPosition"),test_match:t(function(v,S){var w,g,F;if(this.options.backtrack_lexer){if(F={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)F.yylloc.range=this.yylloc.range.slice(0)}if(g=v[0].match(/(?:\r\n?|\n).*/g),g)this.yylineno+=g.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+v[0].length},this.yytext+=v[0],this.match+=v[0],this.matches=v,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(v[0].length),this.matched+=v[0],w=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(w)return w;else if(this._backtrack){for(var h in F)this[h]=F[h];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var v,S,w,g;if(!this._more)this.yytext="",this.match="";var F=this._currentRules();for(var h=0;h<F.length;h++)if(w=this._input.match(this.rules[F[h]]),w&&(!S||w[0].length>S[0].length)){if(S=w,g=h,this.options.backtrack_lexer)if(v=this.test_match(w,F[h]),v!==!1)return v;else if(this._backtrack){S=!1;continue}else return!1;else if(!this.options.flex)break}if(S){if(v=this.test_match(S,F[g]),v!==!1)return v;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var S=this.next();if(S)return S;else return this.lex()},"lex"),begin:t(function(S){this.conditionStack.push(S)},"begin"),popState:t(function(){var S=this.conditionStack.length-1;if(S>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(S){if(S=this.conditionStack.length-1-Math.abs(S||0),S>=0)return this.conditionStack[S];else return"INITIAL"},"topState"),pushState:t(function(S){this.begin(S)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(S,w,g,F){var h=F;switch(g){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;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;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;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;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";break;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}}};return Ot}();ne.lexer=Be;function Ht(){this.yy={}}return t(Ht,"Parser"),Ht.prototype=ne,ne.Parser=Ht,new Ht}();Jt.parser=Jt;var je=Jt,Te=t((e)=>u()[e],"getRequiredConfig"),K=new Set(["label","descr","techn","type"]),Bt=t((e,n)=>{for(let[i,o]of Object.entries(n)){if(o===void 0)continue;if(typeof o==="object"){let[p,l]=Object.entries(o)[0];e[p]=K.has(p)?{text:l}:l}else e[i]=o}},"assignAttributes"),Re=t(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),Z=[],Pt=[""],X="global",J="",tt=[Re()],Xt=[],de="",pe=!1,Zt=4,$t=2,we,ze=t(function(){return we},"getC4Type"),We=t(function(e){we=U(e,u())},"setC4Type"),Xe=t(function(e,n,i,o,p,l,r,d,s){if(e===void 0||e===null||n===void 0||n===null||i===void 0||i===null||o===void 0||o===null)return;let y={},m=Xt.find((b)=>b.from===n&&b.to===i);if(m)y=m;else Xt.push(y);if(y.type=e,y.from=n,y.to=i,y.label={text:o},p===void 0||p===null)y.techn??={text:""};else if(typeof p==="object"){let[b,x]=Object.entries(p)[0];y[b]=K.has(b)?{text:x}:x}else y.techn={text:p};if(l===void 0||l===null)y.descr??={text:""};else if(typeof l==="object"){let[b,x]=Object.entries(l)[0];y[b]=K.has(b)?{text:x}:x}else y.descr={text:l};Bt(y,{sprite:r,tags:d,link:s}),y.wrap=Nt()},"addRel"),qe=t(function(e,n,i,o,p,l,r){if(n===null||i===null)return;let d={},s=Z.find((y)=>y.alias===n);if(s&&n===s.alias)d=s;else d.alias=n,Z.push(d);if(i===void 0||i===null)d.label={text:""};else d.label={text:i};if(o===void 0||o===null)d.descr??={text:""};else if(typeof o==="object"){let[y,m]=Object.entries(o)[0];d[y]=K.has(y)?{text:m}:m}else d.descr={text:o};Bt(d,{sprite:p,tags:l,link:r}),d.typeC4Shape={text:e},d.parentBoundary=X,d.wrap=Nt()},"addPersonOrSystem"),He=t(function(e,n,i,o,p,l,r,d){if(n===null||i===null)return;let s={},y=Z.find((m)=>m.alias===n);if(y&&n===y.alias)s=y;else s.alias=n,Z.push(s);if(i===void 0||i===null)s.label={text:""};else s.label={text:i};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[m,b]=Object.entries(o)[0];s[m]=K.has(m)?{text:b}:b}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[m,b]=Object.entries(p)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:d}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addContainer"),Qe=t(function(e,n,i,o,p,l,r,d){if(n===null||i===null)return;let s={},y=Z.find((m)=>m.alias===n);if(y&&n===y.alias)s=y;else s.alias=n,Z.push(s);if(i===void 0||i===null)s.label={text:""};else s.label={text:i};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[m,b]=Object.entries(o)[0];s[m]=K.has(m)?{text:b}:b}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[m,b]=Object.entries(p)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:d}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addComponent"),Ke=t(function(e,n,i,o,p){if(e===null||n===null)return;let l={},r=tt.find((d)=>d.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(i===void 0||i===null)l.type={text:"system"};else if(typeof i==="object"){let[d,s]=Object.entries(i)[0];l[d]=K.has(d)?{text:s}:s}else l.type={text:i};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Pt.push(J)},"addPersonOrSystemBoundary"),Ge=t(function(e,n,i,o,p){if(e===null||n===null)return;let l={},r=tt.find((d)=>d.alias===e);if(r&&e===r.alias)l=r;else l.alias=e,tt.push(l);if(n===void 0||n===null)l.label={text:""};else l.label={text:n};if(i===void 0||i===null)l.type={text:"container"};else if(typeof i==="object"){let[d,s]=Object.entries(i)[0];l[d]=K.has(d)?{text:s}:s}else l.type={text:i};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Pt.push(J)},"addContainerBoundary"),Je=t(function(e,n,i,o,p,l,r,d){if(n===null||i===null)return;let s={},y=tt.find((m)=>m.alias===n);if(y&&n===y.alias)s=y;else s.alias=n,tt.push(s);if(i===void 0||i===null)s.label={text:""};else s.label={text:i};if(o===void 0||o===null)s.type={text:"node"};else if(typeof o==="object"){let[m,b]=Object.entries(o)[0];s[m]=K.has(m)?{text:b}:b}else s.type={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[m,b]=Object.entries(p)[0];s[m]=K.has(m)?{text:b}:b}else s.descr={text:p};Bt(s,{tags:r,link:d}),s.nodeType=e,s.parentBoundary=X,s.wrap=Nt(),J=X,X=n,Pt.push(J)},"addDeploymentNode"),Ze=t(function(){X=J,Pt.pop(),J=Pt.pop(),Pt.push(J)},"popBoundaryParseStack"),$e=t(function(e,n,i,o,p,l,r,d,s,y,m){let b=Z.find((x)=>x.alias===n);if(b===void 0){if(b=tt.find((x)=>x.alias===n),b===void 0)return}if(i!==void 0&&i!==null)if(typeof i==="object"){let[x,C]=Object.entries(i)[0];b[x]=C}else b.bgColor=i;if(o!==void 0&&o!==null)if(typeof o==="object"){let[x,C]=Object.entries(o)[0];b[x]=C}else b.fontColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[x,C]=Object.entries(p)[0];b[x]=C}else b.borderColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[x,C]=Object.entries(l)[0];b[x]=C}else b.shadowing=l;if(r!==void 0&&r!==null)if(typeof r==="object"){let[x,C]=Object.entries(r)[0];b[x]=C}else b.shape=r;if(d!==void 0&&d!==null)if(typeof d==="object"){let[x,C]=Object.entries(d)[0];b[x]=C}else b.sprite=d;if(s!==void 0&&s!==null)if(typeof s==="object"){let[x,C]=Object.entries(s)[0];b[x]=C}else b.techn=s;if(y!==void 0&&y!==null)if(typeof y==="object"){let[x,C]=Object.entries(y)[0];b[x]=C}else b.legendText=y;if(m!==void 0&&m!==null)if(typeof m==="object"){let[x,C]=Object.entries(m)[0];b[x]=C}else b.legendSprite=m},"updateElStyle"),t0=t(function(e,n,i,o,p,l,r){let d=Xt.find((s)=>s.from===n&&s.to===i);if(d===void 0)return;if(o!==void 0&&o!==null)if(typeof o==="object"){let[s,y]=Object.entries(o)[0];d[s]=y}else d.textColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[s,y]=Object.entries(p)[0];d[s]=y}else d.lineColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[s,y]=Object.entries(l)[0];d[s]=parseInt(y)}else d.offsetX=parseInt(l);if(r!==void 0&&r!==null)if(typeof r==="object"){let[s,y]=Object.entries(r)[0];d[s]=parseInt(y)}else d.offsetY=parseInt(r)},"updateRelStyle"),e0=t(function(e,n,i){let o=Zt,p=$t;if(typeof n==="object"){let l=Object.values(n)[0];o=parseInt(l)}else o=parseInt(n);if(typeof i==="object"){let l=Object.values(i)[0];p=parseInt(l)}else p=parseInt(i);if(o>=1)Zt=o;if(p>=1)$t=p},"updateLayoutConfig"),n0=t(function(){return Zt},"getC4ShapeInRow"),r0=t(function(){return $t},"getC4BoundaryInRow"),s0=t(function(){return X},"getCurrentBoundaryParse"),a0=t(function(){return J},"getParentBoundaryParse"),Oe=t(function(e){if(e===void 0||e===null)return Z;else return Z.filter((n)=>n.parentBoundary===e)},"getC4ShapeArray"),i0=t(function(e){return Z.find((n)=>n.alias===e)??tt.find((n)=>n.alias===e)},"getC4Shape"),o0=t(function(e){return Object.keys(Oe(e))},"getC4ShapeKeys"),Pe=t(function(e){if(e===void 0||e===null)return tt;else return tt.filter((n)=>n.parentBoundary===e)},"getBoundaries"),l0=Pe,c0=t(function(){return Xt},"getRels"),u0=t(function(){return de},"getTitle"),h0=t(function(e){pe=e},"setWrap"),Nt=t(function(){return pe},"autoWrap"),d0=t(function(){Z=[],tt=[Re()],J="",X="global",Pt=[""],Xt=[],Pt=[""],de="",pe=!1,Zt=4,$t=2},"clear"),p0={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},f0={FILLED:0,OPEN:1},y0={LEFTOF:0,RIGHTOF:1,OVER:2},_0=t(function(e){de=U(e,u())},"setTitle"),ce={addPersonOrSystem:qe,addPersonOrSystemBoundary:Ke,addContainer:He,addContainerBoundary:Ge,addComponent:Qe,addDeploymentNode:Je,popBoundaryParseStack:Ze,addRel:Xe,updateElStyle:$e,updateRelStyle:t0,updateLayoutConfig:e0,autoWrap:Nt,setWrap:h0,getC4ShapeArray:Oe,getC4Shape:i0,getC4ShapeKeys:o0,getBoundaries:Pe,getBoundarys:l0,getCurrentBoundaryParse:s0,getParentBoundaryParse:a0,getRels:c0,getTitle:u0,getC4Type:ze,getC4ShapeInRow:n0,getC4BoundaryInRow:r0,setAccTitle:R,getAccTitle:I,getAccDescription:D,setAccDescription:L,getConfig:t(()=>Te("c4"),"getConfig"),clear:d0,LINETYPE:p0,ARROWTYPE:f0,PLACEMENT:y0,setTitle:_0,setC4Type:We},De=t(function(e,n){return ir(e,n)},"drawRect"),b0=t((e,n,i,o)=>{let p=e.append("g"),l=0;for(let r of n){let d=r.textColor?r.textColor:"#444444",s=r.lineColor?r.lineColor:"#444444",y=r.offsetX?parseInt(String(r.offsetX)):0,m=r.offsetY?parseInt(String(r.offsetY)):0,b="";if(l===0){let B=p.append("line");if(B.attr("x1",r.startPoint.x),B.attr("y1",r.startPoint.y),B.attr("x2",r.endPoint.x),B.attr("y2",r.endPoint.y),B.attr("stroke-width","1"),B.attr("stroke",s),B.style("fill","none"),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)");l=-1}else{let B=p.append("path");if(B.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",r.startPoint.x).replaceAll("starty",r.startPoint.y).replaceAll("controlx",r.startPoint.x+(r.endPoint.x-r.startPoint.x)/2-(r.endPoint.x-r.startPoint.x)/4).replaceAll("controly",r.startPoint.y+(r.endPoint.y-r.startPoint.y)/2).replaceAll("stopx",r.endPoint.x).replaceAll("stopy",r.endPoint.y)),r.type!=="rel_b")B.attr("marker-end","url(#"+o+"-arrowhead)");if(r.type==="birel"||r.type==="rel_b")B.attr("marker-start","url(#"+o+"-arrowend)")}let x=r.label.width,C=i.messageFont();if(jt(i)(r.label.text,p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+y,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+m,x,r.label.height,{fill:d},C),r.techn&&r.techn.text!=="")C=i.messageFont(),jt(i)("["+r.techn.text+"]",p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+y,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+i.messageFontSize+5+m,Math.max(x,r.techn.width),r.techn.height,{fill:d,"font-style":"italic"},C)}},"drawRels"),m0=t(function(e,n,i){let o=e.append("g"),p=n.bgColor?n.bgColor:"none",l=n.borderColor?n.borderColor:"#444444",r=n.fontColor?n.fontColor:"black",d={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};if(n.nodeType)d={"stroke-width":1};let s={x:n.x,y:n.y,fill:p,stroke:l,width:n.width,height:n.height,rx:2.5,ry:2.5,attrs:d};De(o,s);let y=i.boundaryFont();if(y.fontWeight="bold",y.fontSize=y.fontSize+2,y.fontColor=r,jt(i)(n.label.text,o,n.x,n.y+n.label.Y,n.width,n.height,{fill:"#444444"},y),n.type&&n.type.text!=="")y=i.boundaryFont(),y.fontColor=r,jt(i)(n.type.text,o,n.x,n.y+n.type.Y,n.width,n.height,{fill:"#444444"},y);if(n.descr&&n.descr.text!=="")y=i.boundaryFont(),y.fontSize=y.fontSize-2,y.fontColor=r,jt(i)(n.descr.text,o,n.x,n.y+n.descr.Y,n.width,n.height,{fill:"#444444"},y)},"drawBoundary"),g0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-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"),x0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-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"),v0=t(function(e,n){e.append("defs").append("symbol").attr("id",n+"-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"),k0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-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"),E0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-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"),S0=t(function(e,n){e.append("defs").append("marker").attr("id",n+"-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"),T0=t(function(e,n){let o=e.append("defs").append("marker").attr("id",n+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);o.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"),o.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"),jt=function(){function e(p,l,r,d,s,y,m){let b=l.append("text").attr("x",r+s/2).attr("y",d+y/2+5).style("text-anchor","middle").text(p);o(b,m)}t(e,"byText");function n(p,l,r,d,s,y,m,b){let{fontSize:x,fontFamily:C,fontWeight:B}=b,j=p.split(k.lineBreakRegex);for(let V=0;V<j.length;V++){let Y=V*x-x*(j.length-1)/2,q=l.append("text").attr("x",r+s/2).attr("y",d).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",x).style("font-weight",B).style("font-family",C);q.append("tspan").attr("dy",Y).text(j[V]).attr("alignment-baseline","mathematical"),o(q,m)}}t(n,"byTspan");function i(p,l,r,d,s,y,m,b){let x=l.append("switch"),B=x.append("foreignObject").attr("x",r).attr("y",d).attr("width",s).attr("height",y).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");B.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(p),n(p,x,r,d,s,y,m,b),o(B,m)}t(i,"byFo");function o(p,l){for(let r in l)if(l.hasOwnProperty(r))p.attr(r,l[r])}return t(o,"_setTextAttrs"),function(p){return p.textPlacement==="fo"?i:p.textPlacement==="old"?e:n}}(),nt={drawRect:De,drawBoundary:m0,drawRels:b0,insertArrowHead:k0,insertArrowEnd:E0,insertArrowFilledHead:S0,insertArrowCrossHead:T0,insertDatabaseIcon:g0,insertComputerIcon:x0,insertClockIcon:v0},C0=t((e,n)=>{if(n==="sandbox"){let o=f("#i"+e).node()?.contentDocument;if(!o)throw Error(`Sandbox iframe #i${e} is missing its content document`);return{root:f(o.body),doc:o}}return{root:f("body"),doc:document}},"getDiagramRoot"),R0=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),w0=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),O0={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},le=t((e)=>e?O0[e.toLowerCase()]:void 0,"keywordShape"),P0=t((e)=>{let n=le(e.shape)??le(e.sprite);if(n)return n;if(e.tags)for(let o of e.tags.split(",")){let p=le(o.trim());if(p)return p}let i=e.typeC4Shape.text;if(i==="person"||i==="external_person")return"person";if(w0.has(i))return"cylinder";if(R0.has(i))return"h-cyl";return"rounded"},"resolveNodeShape"),D0={person:"Person",system:"Software System",container:"Container",component:"Component"},N0=t((e)=>{let n=e.replace(/^external_/,"").replace(/_(db|queue)$/,"");return D0[n]??n.replace(/_/g," ")},"stereotypeLabel"),A0=t((e)=>e.startsWith("external_"),"isExternal"),L0=t((e)=>{let n=N0(e.typeC4Shape.text);return e.techn?.text?`[${n}: ${e.techn.text}]`:`[${n}]`},"stereotypeText"),Ne=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap((e)=>[e,`external_${e}`]),I0=new Set(Ne),ve=t((e)=>I0.has(e),"isC4ElementType"),M0=t((e,n)=>{let i=e.typeC4Shape.text,o=e.bgColor??(ve(i)&&n[`${i}_bg_color`]),p=e.borderColor??(ve(i)&&n[`${i}_border_color`]),l=[];if(o)l.push(`fill:${o}`);if(p)l.push(`stroke:${p}`);return l.push(`color:${e.fontColor??"#FFFFFF"}`),l},"elementCssStyles"),ke=t((e,n,i,o,p)=>{let l=e.typeC4Shape.text,r=["c4-shape",`c4-${l}`];if(A0(l))r.push("c4-external");let d=P0(e),s=M0(e,n);if(d==="rounded"||d==="fr-rect")s.push("rx:12px","ry:12px");return{id:e.alias,label:e.label.text,stereotype:L0(e),description:e.descr?.text?[e.descr.text]:void 0,labelType:"string",isGroup:!1,shape:d,cssClasses:r.join(" "),cssStyles:s,padding:i,look:o,useHtmlLabels:!1,width:p}},"buildC4Node"),zt=0,Wt=0,Ae=4,ue=2;Jt.yy=ce;var E={},Le=class{static{t(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,he(e.db.getConfig())}setData(e,n,i,o){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=i,this.nextData.stopy=this.data.stopy=o}updateVal(e,n,i,o){if(e[n]===void 0)e[n]=i;else e[n]=o(i,e[n])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.stopx,i=this.data.widthLimit,o=this.nextData.startx===this.nextData.stopx?n+e.margin:n+e.margin*2,p=o+e.width,l=this.nextData.starty+e.margin*2,r=l+e.height;if(o>=i||p>=i||this.nextData.cnt>Ae)o=this.nextData.startx+e.margin+E.nextLinePaddingX,l=this.nextData.stopy+e.margin*2,this.nextData.stopx=p=o+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=l+e.height,this.nextData.cnt=1;e.x=o,e.y=l,this.updateVal(this.data,"startx",o,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",p,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",o,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",p,Math.max),this.updateVal(this.nextData,"stopy",r,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},he(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},he=t(function(e){if(Ce(E,e),e?.fontFamily)E.personFontFamily=E.systemFontFamily=E.messageFontFamily=e.fontFamily;if(e?.fontSize)E.personFontSize=E.systemFontSize=E.messageFontSize=e.fontSize;if(e?.fontWeight)E.personFontWeight=E.systemFontWeight=E.messageFontWeight=e.fontWeight},"setConf"),Gt=t((e)=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),"boundaryFont"),B0=t((e)=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}),"messageFont");function Dt(e,n,i,o,p){let l=n[e];if(!l.width)if(i)l.text=Or(l.text,p,o),l.textLines=l.text.split(k.lineBreakRegex).length,l.width=p,l.height=Ci(l.text,o);else{let r=l.text.split(k.lineBreakRegex);l.textLines=r.length;let d=0;l.height=0,l.width=0;for(let s of r)l.width=Math.max(Rt(s,o),l.width),d=Ci(s,o),l.height=l.height+d}return l}t(Dt,"calcC4ShapeTextWH");var Ie=t(function(e,n,i){let o=i.data.startx,p=i.data.starty;n.x=o,n.y=p,n.width=i.data.stopx-o,n.height=i.data.stopy-p,n.intersect=(s)=>T.rect({x:n.x+n.width/2,y:n.y+n.height/2,width:n.width,height:n.height},s),n.label.y=E.c4ShapeMargin-35;let l=n.wrap&&E.wrap,r=Gt(E);r.fontSize=r.fontSize+2,r.fontWeight="bold";let d=Rt(n.label.text,r);Dt("label",n,l,r,d),nt.drawBoundary(e,n,E)},"drawBoundary"),Me=t(async function(e,n,i,o){let p=u(),l=p.look??"classic",r={config:p},d=n.attr("id")??"",s=o.map((m)=>i[Number(m)]),y=t((m)=>{let b=m.shape?Ei[m.shape]:void 0;if(!b)throw Error(`C4: no shape handler for "${m.shape}"`);return b},"shapeHandlerFor");await Promise.all(s.map(async(m)=>{let b=ke(m,E,E.c4ShapePadding,l,E.width);b.domId=`${d}-${b.id}`;let x=await y(b)(n,b,r);m.width=b.width??E.width,m.height=b.height??E.height,m.margin=E.c4ShapeMargin,x.remove()}));for(let m of s)e.insert(m);await Promise.all(s.map(async(m)=>{let b=ke(m,E,E.c4ShapePadding,l,E.width);b.domId=`${d}-${b.id}`,b.x=m.x+m.width/2,b.y=m.y+m.height/2;let x=n.append("g").attr("transform",`translate(${m.x+m.width/2}, ${m.y+m.height/2})`);await y(b)(x,b,r),m.intersect=b.intersect})),e.bumpLastMargin(E.c4ShapeMargin)},"drawC4ShapeArray"),V0=class{static{t(this,"Point")}constructor(e,n){this.x=e,this.y=n}},Ee=t(function(e,n){if(!e.intersect)throw Error(`C4 element "${e.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:i,y:o}=e.intersect(n);return new V0(i,o)},"getIntersectPoint"),Y0=t(function(e,n){let i={x:0,y:0};i.x=n.x+n.width/2,i.y=n.y+n.height/2;let o=Ee(e,i);i.x=e.x+e.width/2,i.y=e.y+e.height/2;let p=Ee(n,i);return{startPoint:o,endPoint:p}},"getIntersectPoints"),F0=t(function(e,n,i,o,p){let l=o.db.getC4Type(),r=0;for(let d of n){r=r+1;let s=d.wrap&&E.wrap,y=B0(E);if(l==="C4Dynamic")d.label.text=r+": "+d.label.text;let m=Rt(d.label.text,y);if(Dt("label",d,s,y,m),d.techn&&d.techn.text!=="")m=Rt(d.techn.text,y),Dt("techn",d,s,y,m);if(d.descr&&d.descr.text!=="")m=Rt(d.descr.text,y),Dt("descr",d,s,y,m);let b=i(d.from),x=i(d.to);if(!b||!x)throw Error(`C4 rel "${d.from}" -> "${d.to}" references an unknown shape or boundary`);let C=Y0(b,x);if(!C.startPoint||!C.endPoint)throw Error(`Could not calculate intersection points for rel "${d.from}" -> "${d.to}"`);d.startPoint=C.startPoint,d.endPoint=C.endPoint}nt.drawRels(e,n,E,p)},"drawRels");async function fe(e,n,i,o,p){let l=p.db,r=new Le(p);r.data.widthLimit=i.data.widthLimit/Math.min(ue,o.length);for(let[d,s]of o.entries()){let y=0;if(s.image={width:0,height:0,Y:0},s.sprite)s.image.width=48,s.image.height=48,s.image.Y=y,y=s.image.Y+s.image.height;let m=s.wrap&&E.wrap,b=Gt(E);b.fontSize=b.fontSize+2,b.fontWeight="bold";let x=Dt("label",s,m,b,r.data.widthLimit);if(x.Y=y+8,y=x.Y+x.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let V=Gt(E),Y=Dt("type",s,m,V,r.data.widthLimit);Y.Y=y+5,y=Y.Y+Y.height}if(s.descr&&s.descr.text!==""){let V=Gt(E);V.fontSize=V.fontSize-2;let Y=Dt("descr",s,m,V,r.data.widthLimit);Y.Y=y+20,y=Y.Y+Y.height}if(d==0||d%ue===0){let V=i.data.startx+E.diagramMarginX,Y=i.data.stopy+E.diagramMarginY+y;r.setData(V,V,Y,Y)}else{let V=r.data.stopx!==r.data.startx?r.data.stopx+E.diagramMarginX:r.data.startx,Y=r.data.starty;r.setData(V,V,Y,Y)}r.name=s.alias;let C=l.getC4ShapeArray(s.alias),B=l.getC4ShapeKeys(s.alias);if(B.length>0)await Me(r,e,C,B);n=s.alias;let j=l.getBoundaries(n);if(j.length>0)await fe(e,n,r,j,p);if(s.alias!=="global")Ie(e,s,r);i.data.stopy=Math.max(r.data.stopy+E.c4ShapeMargin,i.data.stopy),i.data.stopx=Math.max(r.data.stopx+E.c4ShapeMargin,i.data.stopx),zt=Math.max(zt,i.data.stopx),Wt=Math.max(Wt,i.data.stopy)}}t(fe,"drawInsideBoundary");var U0=t(async function(e,n,i,o){E=Te("c4");let p=u().securityLevel,{root:l}=C0(n,p),r=o.db;r.setWrap(E.wrap),Ae=r.getC4ShapeInRow(),ue=r.getC4BoundaryInRow(),a.debug(`C:${JSON.stringify(E,null,2)}`);let d=l.select(`[id="${n}"]`);nt.insertComputerIcon(d,n),nt.insertDatabaseIcon(d,n),nt.insertClockIcon(d,n);let s=new Le(o);s.setData(E.diagramMarginX,E.diagramMarginX,E.diagramMarginY,E.diagramMarginY),s.data.widthLimit=screen.availWidth,zt=E.diagramMarginX,Wt=E.diagramMarginY;let y=r.getTitle(),m=r.getBoundaries("");await fe(d,"",s,m,o),nt.insertArrowHead(d,n),nt.insertArrowEnd(d,n),nt.insertArrowCrossHead(d,n),nt.insertArrowFilledHead(d,n),F0(d,r.getRels(),r.getC4Shape,o,n),s.data.stopx=zt,s.data.stopy=Wt;let b=s.data,{startx:x,starty:C}=b,j=Wt-C+2*E.diagramMarginY,V=zt-x,Y=V+2*E.diagramMarginX;if(y)d.append("text").text(y).attr("x",V/2-4*E.diagramMarginX).attr("y",C+E.diagramMarginY);G(d,j,Y,E.useMaxWidth);let q=y?60:0;d.attr("viewBox",x-E.diagramMarginX+" -"+(E.diagramMarginY+q)+" "+Y+" "+(j+q)),a.debug("models:",b)},"draw"),Se={drawPersonOrSystemArray:Me,drawBoundary:Ie,setConf:he,draw:U0},j0=t(()=>{let e=u().c4??{},n=new CSSStyleSheet;for(let i of Ne){let o=n.cssRules[n.insertRule(`.c4-shape.c4-${i} .label {}`,n.cssRules.length)],p=e[`${i}FontFamily`],l=e[`${i}FontSize`],r=e[`${i}FontWeight`];if(p)o.style.setProperty("font-family",p);if(l)o.style.setProperty("font-size",typeof l==="number"?`${l}px`:l);if(r)o.style.setProperty("font-weight",String(r))}return[...n.cssRules].filter((i)=>i.style.length>0).map((i)=>` ${i.cssText}`).join(`
|
|
7
|
+
`)},"elementFontStyles"),z0=t((e)=>`.person {
|
|
8
|
+
stroke: ${e.personBorder};
|
|
9
|
+
fill: ${e.personBkg};
|
|
10
|
+
}
|
|
11
|
+
${j0()}
|
|
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"),W0=z0,r1={parser:je,db:ce,renderer:Se,styles:W0,init:t(({c4:e,wrap:n})=>{Se.setConf(e),ce.setWrap(n)},"init")};export{r1 as diagram};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import{t,a,ce,p,m,B,S,cl,U,u,Fe,ze}from"./chunk-77pcpdb5.js";import{Be}from"./chunk-b2zmxzm0.js";import{Re}from"./chunk-ck23t8as.js";var ye=new Uint8Array(16);function Z(){return crypto.getRandomValues(ye)}var x=[];for(let e=0;e<256;++e)x.push((e+256).toString(16).slice(1));function he(e,i=0){return(x[e[i+0]]+x[e[i+1]]+x[e[i+2]]+x[e[i+3]]+"-"+x[e[i+4]]+x[e[i+5]]+"-"+x[e[i+6]]+x[e[i+7]]+"-"+x[e[i+8]]+x[e[i+9]]+"-"+x[e[i+10]]+x[e[i+11]]+x[e[i+12]]+x[e[i+13]]+x[e[i+14]]+x[e[i+15]]).toLowerCase()}function ke(e,i,d){if(!i&&!e&&crypto.randomUUID)return crypto.randomUUID();return be(e,i,d)}function be(e,i,d){e=e||{};let l=e.random??e.rng?.()??Z();if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=l[6]&15|64,l[8]=l[8]&63|128,i){if(d=d||0,d<0||d+16>i.length)throw RangeError(`UUID byte range ${d}:${d+15} is out of buffer bounds`);for(let n=0;n<16;++n)i[d+n]=l[n];return i}return he(l)}var ee=ke;var te=function(){var e=t(function(I,o,r,c){for(r=r||{},c=I.length;c--;r[I[c]]=o);return r},"o"),i=[1,4],d=[1,13],l=[1,12],n=[1,15],g=[1,16],k=[1,20],E=[1,19],N=[6,7,8],R=[1,26],M=[1,24],P=[1,25],f=[6,7,11],V=[1,6,13,15,16,19,22],ne=[1,33],ie=[1,34],F=[1,6,7,11,13,15,16,19,22],z={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:t(function(o,r,c,h,b,s,G){var y=s.length-1;switch(b){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",s[y].id),h.addNode(s[y-1].length,s[y].id,s[y].descr,s[y].type);break;case 16:h.getLogger().trace("Icon: ",s[y]),h.decorateNode({icon:s[y]});break;case 17:case 21:h.decorateNode({class:s[y]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",s[y].id),h.addNode(0,s[y].id,s[y].descr,s[y].type);break;case 20:h.decorateNode({icon:s[y]});break;case 25:h.getLogger().trace("node found ..",s[y-2]),this.$={id:s[y-1],descr:s[y-1],type:h.getType(s[y-2],s[y])};break;case 26:this.$={id:s[y],descr:s[y],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",s[y-3]),this.$={id:s[y-3],descr:s[y-1],type:h.getType(s[y-2],s[y])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:i},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:i},{6:d,7:[1,10],9:9,12:11,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},e(N,[2,3]),{1:[2,2]},e(N,[2,4]),e(N,[2,5]),{1:[2,6],6:d,12:21,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},{6:d,9:22,12:11,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},{6:R,7:M,10:23,11:P},e(f,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:k,22:E}),e(f,[2,18]),e(f,[2,19]),e(f,[2,20]),e(f,[2,21]),e(f,[2,23]),e(f,[2,24]),e(f,[2,26],{19:[1,30]}),{20:[1,31]},{6:R,7:M,10:32,11:P},{1:[2,7],6:d,12:21,13:l,14:14,15:n,16:g,17:17,18:18,19:k,22:E},e(V,[2,14],{7:ne,11:ie}),e(F,[2,8]),e(F,[2,9]),e(F,[2,10]),e(f,[2,15]),e(f,[2,16]),e(f,[2,17]),{20:[1,35]},{21:[1,36]},e(V,[2,13],{7:ne,11:ie}),e(F,[2,11]),e(F,[2,12]),{21:[1,37]},e(f,[2,25]),e(f,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(o,r){if(r.recoverable)this.trace(o);else{var c=Error(o);throw c.hash=r,c}},"parseError"),parse:t(function(o){var r=this,c=[0],h=[],b=[null],s=[],G=this.table,y="",H=0,re=0,se=0,ue=2,oe=1,pe=s.slice.call(arguments,1),_=Object.create(this.lexer),C={yy:{}};for(var Y in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Y))C.yy[Y]=this.yy[Y];if(_.setInput(o,C.yy),C.yy.lexer=_,C.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var q=_.yylloc;s.push(q);var fe=_.options&&_.options.ranges;if(typeof C.yy.parseError==="function")this.parseError=C.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(v){c.length=c.length-2*v,b.length=b.length-v,s.length=s.length-v}t(me,"popStack");function ae(){var v=h.pop()||_.lex()||oe;if(typeof v!=="number"){if(v instanceof Array)h=v,v=h.pop();v=r.symbols_[v]||v}return v}t(ae,"lex");var L,J,w,D,Te,K,A={},W,T,le,X;while(!0){if(w=c[c.length-1],this.defaultActions[w])D=this.defaultActions[w];else{if(L===null||typeof L>"u")L=ae();D=G[w]&&G[w][L]}if(typeof D>"u"||!D.length||!D[0]){var Q="";X=[];for(W in G[w])if(this.terminals_[W]&&W>ue)X.push("'"+this.terminals_[W]+"'");if(_.showPosition)Q="Parse error on line "+(H+1)+`:
|
|
2
|
+
`+_.showPosition()+`
|
|
3
|
+
Expecting `+X.join(", ")+", got '"+(this.terminals_[L]||L)+"'";else Q="Parse error on line "+(H+1)+": Unexpected "+(L==oe?"end of input":"'"+(this.terminals_[L]||L)+"'");this.parseError(Q,{text:_.match,token:this.terminals_[L]||L,line:_.yylineno,loc:q,expected:X})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+w+", token: "+L);switch(D[0]){case 1:if(c.push(L),b.push(_.yytext),s.push(_.yylloc),c.push(D[1]),L=null,!J){if(re=_.yyleng,y=_.yytext,H=_.yylineno,q=_.yylloc,se>0)se--}else L=J,J=null;break;case 2:if(T=this.productions_[D[1]][1],A.$=b[b.length-T],A._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},fe)A._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]];if(K=this.performAction.apply(A,[y,re,H,C.yy,D[1],b,s].concat(pe)),typeof K<"u")return K;if(T)c=c.slice(0,-1*T*2),b=b.slice(0,-1*T),s=s.slice(0,-1*T);c.push(this.productions_[D[1]][0]),b.push(A.$),s.push(A._$),le=G[c[c.length-2]][c[c.length-1]],c.push(le);break;case 3:return!0}}return!0},"parse")},ge=function(){var I={EOF:1,parseError:t(function(r,c){if(this.yy.parser)this.yy.parser.parseError(r,c);else throw Error(r)},"parseError"),setInput:t(function(o,r){if(this.yy=r||this.yy||{},this._input=o,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];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var r=o.match(/(?:\r\n?|\n).*/g);if(r)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),o},"input"),unput:t(function(o){var r=o.length,c=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var h=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1)this.yylineno-=c.length-1;var b=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===h.length?this.yylloc.first_column:0)+h[h.length-c.length].length-c[0].length:this.yylloc.first_column-r},this.options.ranges)this.yylloc.range=[b[0],b[0]+this.yyleng-r];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(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:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),r=Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
5
|
+
`+r+"^"},"showPosition"),test_match:t(function(o,r){var c,h,b;if(this.options.backtrack_lexer){if(b={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)b.yylloc.range=this.yylloc.range.slice(0)}if(h=o[0].match(/(?:\r\n?|\n).*/g),h)this.yylineno+=h.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],c=this.performAction.call(this,this.yy,this,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in b)this[s]=b[s];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,r,c,h;if(!this._more)this.yytext="",this.match="";var b=this._currentRules();for(var s=0;s<b.length;s++)if(c=this._input.match(this.rules[b[s]]),c&&(!r||c[0].length>r[0].length)){if(r=c,h=s,this.options.backtrack_lexer)if(o=this.test_match(c,b[s]),o!==!1)return o;else if(this._backtrack){r=!1;continue}else return!1;else if(!this.options.flex)break}if(r){if(o=this.test_match(r,b[h]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var r=this.next();if(r)return r;else return this.lex()},"lex"),begin:t(function(r){this.conditionStack.push(r)},"begin"),popState:t(function(){var r=this.conditionStack.length-1;if(r>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(r){if(r=this.conditionStack.length-1-Math.abs(r||0),r>=0)return this.conditionStack[r];else return"INITIAL"},"topState"),pushState:t(function(r){this.begin(r)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(r,c,h,b){var s=b;switch(h){case 0:return r.getLogger().trace("Found comment",c.yytext),6;break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;break;case 4:this.popState();break;case 5:r.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return r.getLogger().trace("SPACELINE"),6;break;case 7:return 7;case 8:return 15;case 9:r.getLogger().trace("end icon"),this.popState();break;case 10:return r.getLogger().trace("Exploding node"),this.begin("NODE"),19;break;case 11:return r.getLogger().trace("Cloud"),this.begin("NODE"),19;break;case 12:return r.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;break;case 13:return r.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;break;case 14:return this.begin("NODE"),19;break;case 15:return this.begin("NODE"),19;break;case 16:return this.begin("NODE"),19;break;case 17:return this.begin("NODE"),19;break;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:r.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return r.getLogger().trace("description:",c.yytext),"NODE_DESCR";break;case 26:this.popState();break;case 27:return this.popState(),r.getLogger().trace("node end ))"),"NODE_DEND";break;case 28:return this.popState(),r.getLogger().trace("node end )"),"NODE_DEND";break;case 29:return this.popState(),r.getLogger().trace("node end ...",c.yytext),"NODE_DEND";break;case 30:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 31:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 32:return this.popState(),r.getLogger().trace("node end (-"),"NODE_DEND";break;case 33:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 34:return this.popState(),r.getLogger().trace("node end (("),"NODE_DEND";break;case 35:return r.getLogger().trace("Long description:",c.yytext),20;break;case 36:return r.getLogger().trace("Long description:",c.yytext),20;break}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};return I}();z.lexer=ge;function j(){this.yy={}}return t(j,"Parser"),j.prototype=z,z.Parser=j,new j}();te.parser=te;var Ee=te,de=12,O={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},_e=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=O,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{t(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let i=this.nodes.length-1;i>=0;i--)if(this.nodes[i].level<e)return this.nodes[i];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,i,d,l){a.info("addNode",e,i,d,l);let n=!1;if(this.nodes.length===0)this.baseLevel=e,e=0,n=!0;else if(this.baseLevel!==void 0)e=e-this.baseLevel,n=!1;let g=u(),k=g.mindmap?.padding??B.mindmap.padding;switch(l){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:k*=2;break}let E={id:this.count++,nodeId:U(i,g),level:e,descr:U(d,g),type:l,children:[],width:g.mindmap?.maxNodeWidth??B.mindmap.maxNodeWidth,padding:k,isRoot:n},N=this.getParent(e);if(N)N.children.push(E),this.nodes.push(E);else if(n)this.nodes.push(E);else throw Error(`There can be only one root. No parent could be found for ("${E.descr}")`)}getType(e,i){switch(a.debug("In get type",e,i),e){case"[":return this.nodeType.RECT;case"(":return i===")"?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,i){this.elements[e]=i}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let i=u(),d=this.nodes[this.nodes.length-1];if(e.icon)d.icon=U(e.icon,i);if(e.class)d.class=U(e.class,i)}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,i,d=0,l=!1){if(e.level===0)e.section=void 0;else e.section=l?(d-1)%(de-1):i;if(e.children)for(let[n,g]of e.children.entries()){let k=e.level===0?n%(de-1):i;this.assignSections(g,k,d+1,l)}}flattenNodes(e,i){let d=u(),l=["mindmap-node"];if(e.isRoot===!0)l.push("section-root","section--1");else if(e.section!==void 0)l.push(`section-${e.section}`);if(e.class)l.push(e.class);let n=l.join(" "),g=t((E)=>{let R=(d.theme?.toLowerCase()??"").includes("redux");switch(E){case O.CIRCLE:return"mindmapCircle";case O.RECT:return"rect";case O.ROUNDED_RECT:return"rounded";case O.CLOUD:return"cloud";case O.BANG:return"bang";case O.HEXAGON:return"hexagon";case O.DEFAULT:return R?"rounded":"defaultMindmapNode";case O.NO_BORDER:default:return"rect"}},"getShapeFromType"),k={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:g(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:n,cssStyles:[],centerLabel:!0,look:d.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(i.push(k),e.children)for(let E of e.children)this.flattenNodes(E,i)}generateEdges(e,i){if(!e.children)return;let d=u();for(let l of e.children){let n="edge";if(l.section!==void 0)n+=` section-edge-${l.section}`;let g=e.level+1;n+=` edge-depth-${g}`;let k={id:`edge_${e.id}_${l.id}`,start:e.id.toString(),end:l.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:d.look,classes:n,depth:e.level,section:l.section};i.push(k),this.generateEdges(l,i)}}getData(){let e=this.getMindmap(),i=u(),l=cl().layout!==void 0,n=i;if(!l)n.layout="cose-bilkent";if(!e)return{nodes:[],edges:[],config:n};a.debug("getData: mindmapRoot",e,i),this.assignSections(e,void 0,0,i.mindmap?.colorBy==="depth");let g=[],k=[];this.flattenNodes(e,g),this.generateEdges(e,k),a.debug(`getData: processed ${g.length} nodes and ${k.length} edges`);let E=new Map;for(let N of g)E.set(N.id,{shape:N.shape,width:N.width,height:N.height,padding:N.padding});return{nodes:g,edges:k,config:n,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(E),type:"mindmap",diagramId:"mindmap-"+ee()}}getLogger(){return a}},Se=t(async(e,i,d,l)=>{a.debug(`Rendering mindmap diagram
|
|
7
|
+
`+e);let n=l.db,g=n.getData(),k=Be(i,g.config.securityLevel);if(g.type=l.type,g.layoutAlgorithm=ze(g.config.layout,{fallback:"cose-bilkent"}),g.diagramId=i,!n.getMindmap())return;g.nodes.forEach((f)=>{if(f.shape==="rounded")f.radius=15,f.taper=15,f.stroke="none",f.width=0,f.padding=15;else if(f.shape==="circle")f.padding=10;else if(f.shape==="rect")f.width=0,f.padding=10;else if(f.shape==="hexagon")f.width=0,f.height=0}),await Fe(g,k);let{themeVariables:N}=S(),{useGradient:R,gradientStart:M,gradientStop:P}=N;if(R&&M&&P){let f=k.attr("id"),V=k.append("defs").append("linearGradient").attr("id",`${f}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");V.append("stop").attr("offset","0%").attr("stop-color",M).attr("stop-opacity",1),V.append("stop").attr("offset","100%").attr("stop-color",P).attr("stop-opacity",1)}Re(k,g.config.mindmap?.padding??B.mindmap.padding,"mindmapDiagram",g.config.mindmap?.useMaxWidth??B.mindmap.useMaxWidth)},"draw"),xe={draw:Se},Ne=t((e)=>{let{theme:i,look:d}=e,l="";for(let n=0;n<e.THEME_COLOR_LIMIT;n++)if(e["lineColor"+n]=e["lineColor"+n]||e["cScaleInv"+n],ce(e["lineColor"+n]))e["lineColor"+n]=p(e["lineColor"+n],20);else e["lineColor"+n]=m(e["lineColor"+n],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let g=""+(d==="neo"?Math.max(10-(n-1)*2,2):17-3*n),k=i==="redux"||i==="redux-dark"?e.nodeBorder:e["cScaleLabel"+(i==="neutral"?1:n)];l+=`
|
|
8
|
+
.section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {
|
|
9
|
+
fill: ${e["cScale"+n]};
|
|
10
|
+
}
|
|
11
|
+
.section-${n-1} text {
|
|
12
|
+
fill: ${e["cScaleLabel"+n]};
|
|
13
|
+
}
|
|
14
|
+
.section-${n-1} span {
|
|
15
|
+
color: ${e["cScaleLabel"+n]};
|
|
16
|
+
}
|
|
17
|
+
.node-icon-${n-1} {
|
|
18
|
+
font-size: 40px;
|
|
19
|
+
color: ${e["cScaleLabel"+n]};
|
|
20
|
+
}
|
|
21
|
+
.section-edge-${n-1}{
|
|
22
|
+
stroke: ${e["cScale"+n]};
|
|
23
|
+
}
|
|
24
|
+
.edge-depth-${n-1}{
|
|
25
|
+
stroke-width: ${g};
|
|
26
|
+
}
|
|
27
|
+
.section-${n-1} line {
|
|
28
|
+
stroke: ${e["cScaleInv"+n]} ;
|
|
29
|
+
stroke-width: 3;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.disabled, .disabled circle, .disabled text {
|
|
33
|
+
fill: lightgray;
|
|
34
|
+
}
|
|
35
|
+
.disabled text {
|
|
36
|
+
fill: #efefef;
|
|
37
|
+
}
|
|
38
|
+
[data-look="neo"].mindmap-node.section-${n-1} rect, [data-look="neo"].mindmap-node.section-${n-1} path, [data-look="neo"].mindmap-node.section-${n-1} circle, [data-look="neo"].mindmap-node.section-${n-1} polygon {
|
|
39
|
+
fill: ${i==="redux"||i==="redux-dark"||i==="neutral"?e.mainBkg:e["cScale"+n]};
|
|
40
|
+
stroke: ${i==="redux"||i==="redux-dark"?e.nodeBorder:e["cScale"+n]};
|
|
41
|
+
stroke-width: ${e.strokeWidth??2}px;
|
|
42
|
+
}
|
|
43
|
+
[data-look="neo"].section-edge-${n-1}{
|
|
44
|
+
stroke: ${i?.includes("redux")||i==="neo-dark"?e.nodeBorder:e["cScale"+n]};
|
|
45
|
+
}
|
|
46
|
+
[data-look="neo"].mindmap-node.section-${n-1} text, [data-look="neo"].mindmap-node.section-${n-1} span {
|
|
47
|
+
fill: ${k};
|
|
48
|
+
color: ${k};
|
|
49
|
+
}
|
|
50
|
+
`}return l},"genSections"),Le=t((e,i,d)=>{let l="";for(let n=0;n<e;n++)l+=`
|
|
51
|
+
[data-look="neo"].mindmap-node.section-${n-1} rect, [data-look="neo"].mindmap-node.section-${n-1} path, [data-look="neo"].mindmap-node.section-${n-1} circle, [data-look="neo"].mindmap-node.section-${n-1} polygon {
|
|
52
|
+
stroke: url(${i}-gradient);
|
|
53
|
+
fill: ${d};
|
|
54
|
+
}
|
|
55
|
+
.section-${n-1} line {
|
|
56
|
+
stroke-width: 0;
|
|
57
|
+
}`;return l},"genGradient"),De=t((e)=>{let{theme:i}=e,d=e.svgId,l=i?.includes("redux")?e.nodeBorder:e["cScaleLabel"+(i==="neutral"?1:0)],n=e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${d}-drop-shadow)`):"none";return`
|
|
58
|
+
.edge {
|
|
59
|
+
stroke-width: 3;
|
|
60
|
+
}
|
|
61
|
+
${Ne(e)}
|
|
62
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
63
|
+
fill: ${e.git0};
|
|
64
|
+
}
|
|
65
|
+
.section-root text {
|
|
66
|
+
fill: ${e.gitBranchLabel0};
|
|
67
|
+
}
|
|
68
|
+
.section-root span {
|
|
69
|
+
color: ${i?.includes("redux")?e.nodeBorder:e.gitBranchLabel0};
|
|
70
|
+
}
|
|
71
|
+
.icon-container {
|
|
72
|
+
height:100%;
|
|
73
|
+
display: flex;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
align-items: center;
|
|
76
|
+
}
|
|
77
|
+
.edge {
|
|
78
|
+
fill: none;
|
|
79
|
+
}
|
|
80
|
+
.mindmap-node-label {
|
|
81
|
+
dy: 1em;
|
|
82
|
+
alignment-baseline: middle;
|
|
83
|
+
text-anchor: middle;
|
|
84
|
+
dominant-baseline: middle;
|
|
85
|
+
text-align: center;
|
|
86
|
+
}
|
|
87
|
+
[data-look="neo"].mindmap-node {
|
|
88
|
+
filter: ${n};
|
|
89
|
+
}
|
|
90
|
+
[data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
|
|
91
|
+
fill: ${i?.includes("redux")?e.mainBkg:e.git0};
|
|
92
|
+
}
|
|
93
|
+
[data-look="neo"].mindmap-node.section-root .text-inner-tspan, [data-look="neo"].mindmap-node.section-root span {
|
|
94
|
+
fill: ${l};
|
|
95
|
+
color: ${l};
|
|
96
|
+
}
|
|
97
|
+
${e.useGradient&&d&&e.mainBkg?Le(e.THEME_COLOR_LIMIT,d,e.mainBkg):""}
|
|
98
|
+
`},"getStyles"),ve=De,It={get db(){return new _e},renderer:xe,parser:Ee,styles:ve};export{It as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{t,a,u,O,vn,yl,un,Kn,xn,aa,Qn}from"./chunk-77pcpdb5.js";import{qe,ft,Bt,Qe,nn,jn,ae,Ne,Kt,qn,Qt,Ea,Hi,Yi,Zi,_r,gn,Xi,wr,ht,kr,Ln,yn,Cr,Vn,Sr,Ki,Qi,Aa,Ve,Ji,Tr,Wn,Er,Ra,La,Gn,eo,Ia,to,fi,rn,Da,no,ro,ao,At,Na,Ma,Ar,io,Pa,v,Ft,an,We,Hn,xe}from"./chunk-1q4r17he.js";import{Vi,Wi,J,Yr,nl,Gi,Ta}from"./chunk-3fq54zbf.js";import{wn}from"./chunk-jtwct1bx.js";var sr={};wn(sr,{default:()=>Q});var zn=/\s/;function Jn(r){var e=r.length;while(e--&&zn.test(r.charAt(e)));return e}var $r=Jn;var Zn=/^\s+/;function $n(r){return r?r.slice(0,$r(r)+1).replace(Zn,""):r}var Qr=$n;var re=NaN,oo=/^[-+]0x[0-9a-f]+$/i,fo=/^0b[01]+$/i,so=/^0o[0-7]+$/i,uo=parseInt;function co(r){if(typeof r=="number")return r;if(nn(r))return re;if(Ne(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=Ne(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=Qr(r);var n=fo.test(r);return n||so.test(r)?uo(r.slice(2),n?2:8):oo.test(r)?re:+r}var ee=co;var te=1/0,po=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;function lo(r){if(!r)return r===0?r:0;if(r=ee(r),r===te||r===-te){var e=r<0?-1:1;return e*po}return r===r?r:0}var V=lo;function mo(r){var e=V(r),n=e%1;return e===e?n?e-n:e:0}var ne=mo;var oe=Object.create,ho=function(){function r(){}return function(e){if(!Ne(e))return{};if(oe)return oe(e);r.prototype=e;var n=new r;return r.prototype=void 0,n}}(),ie=ho;function go(r,e){var n=-1,o=r.length;e||(e=Array(o));while(++n<o)e[n]=r[n];return e}var ar=go;function vo(r,e,n){if(e=="__proto__"&&Ea)Ea(r,e,{configurable:!0,enumerable:!0,value:n,writable:!0});else r[e]=n}var M=vo;var bo=Object.prototype,yo=bo.hasOwnProperty;function wo(r,e,n){var o=r[e];if(!(yo.call(r,e)&&gn(o,n))||n===void 0&&!(e in r))M(r,e,n)}var j=wo;function _o(r,e,n,o){var i=!n;n||(n={});var f=-1,s=e.length;while(++f<s){var d=e[f],c=o?o(n[d],r[d],d,n,r):void 0;if(c===void 0)c=r[d];if(i)M(n,d,c);else j(n,d,c)}return n}var k=_o;function Eo(r,e,n){if(!Ne(n))return!1;var o=typeof e;if(o=="number"?ht(n)&&_r(e,n.length):o=="string"&&(e in n))return gn(n[e],r);return!1}var C=Eo;function xo(r){return wr(function(e,n){var o=-1,i=n.length,f=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;if(f=r.length>3&&typeof f=="function"?(i--,f):void 0,s&&C(n[0],n[1],s))f=i<3?void 0:f,i=1;e=Object(e);while(++o<i){var d=n[o];if(d)r(e,d,o,f)}return e})}var fe=xo;function Oo(r){var e=[];if(r!=null)for(var n in Object(r))e.push(n);return e}var se=Oo;var Lo=Object.prototype,Io=Lo.hasOwnProperty;function So(r){if(!Ne(r))return se(r);var e=kr(r),n=[];for(var o in r)if(!(o=="constructor"&&(e||!Io.call(r,o))))n.push(o);return n}var ue=So;function No(r){return ht(r)?Ki(r,!0):ue(r)}var I=No;function Po(r){var e=r==null?0:r.length;return e?La(r,1):[]}var N=Po;function ko(r){return Hi(Xi(r,void 0,N),r+"")}var de=ko;var To=Qi(Object.getPrototypeOf,Object),Y=To;var Co="[object Object]",Ao=Function.prototype,Ro=Object.prototype,ce=Ao.toString,Mo=Ro.hasOwnProperty,jo=ce.call(Object);function Bo(r){if(!Qe(r)||Bt(r)!=Co)return!1;var e=Y(r);if(e===null)return!0;var n=Mo.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&ce.call(n)==jo}var pe=Bo;var Do="\\ud800-\\udfff",Fo="\\u0300-\\u036f",Go="\\ufe20-\\ufe2f",Xo="\\u20d0-\\u20ff",Uo=Fo+Go+Xo,Vo="\\ufe0e\\ufe0f",Yo="\\u200d",zo=RegExp("["+Yo+Do+Uo+Vo+"]");function Wo(r){return zo.test(r)}var le=Wo;function qo(r,e){return r&&k(e,Ve(e),r)}var me=qo;function Ho(r,e){return r&&k(e,I(e),r)}var he=Ho;var ye=typeof sr=="object"&&sr&&!sr.nodeType&&sr,ge=ye&&typeof fr=="object"&&fr&&!fr.nodeType&&fr,Ko=ge&&ge.exports===ye,ve=Ko?qe.Buffer:void 0,be=ve?ve.allocUnsafe:void 0;function Jo(r,e){if(e)return r.slice();var n=r.length,o=be?be(n):new r.constructor(n);return r.copy(o),o}var Q=Jo;function Zo(r,e){return k(r,Ia(r),e)}var we=Zo;var $o=Object.getOwnPropertySymbols,Qo=!$o?eo:function(r){var e=[];while(r)Ra(e,Ia(r)),r=Y(r);return e},ur=Qo;function ri(r,e){return k(r,ur(r),e)}var _e=ri;function ei(r){return to(r,I,ur)}var Ee=ei;var ti=Object.prototype,ni=ti.hasOwnProperty;function oi(r){var e=r.length,n=new r.constructor(e);if(e&&typeof r[0]=="string"&&ni.call(r,"index"))n.index=r.index,n.input=r.input;return n}var Oe=oi;function ii(r){var e=new r.constructor(r.byteLength);return new Da(e).set(new Da(r)),e}var z=ii;function ai(r,e){var n=e?z(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}var Le=ai;var si=/\w*$/;function ui(r){var e=new r.constructor(r.source,si.exec(r));return e.lastIndex=r.lastIndex,e}var Ie=ui;var Se=ft?ft.prototype:void 0,Pe=Se?Se.valueOf:void 0;function di(r){return Pe?Object(Pe.call(r)):{}}var ke=di;function ci(r,e){var n=e?z(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.length)}var dr=ci;var pi="[object Boolean]",li="[object Date]",mi="[object Map]",hi="[object Number]",gi="[object RegExp]",vi="[object Set]",bi="[object String]",yi="[object Symbol]",wi="[object ArrayBuffer]",_i="[object DataView]",Ei="[object Float32Array]",xi="[object Float64Array]",Oi="[object Int8Array]",Li="[object Int16Array]",Ii="[object Int32Array]",Si="[object Uint8Array]",Ni="[object Uint8ClampedArray]",Pi="[object Uint16Array]",ki="[object Uint32Array]";function Ti(r,e,n){var o=r.constructor;switch(e){case wi:return z(r);case pi:case li:return new o(+r);case _i:return Le(r,n);case Ei:case xi:case Oi:case Li:case Ii:case Si:case Ni:case Pi:case ki:return dr(r,n);case mi:return new o;case hi:case bi:return new o(r);case gi:return Ie(r);case vi:return new o;case yi:return ke(r)}}var Te=Ti;function Ci(r){return typeof r.constructor=="function"&&!kr(r)?ie(Y(r)):{}}var cr=Ci;var Ai="[object Map]";function Ri(r){return Qe(r)&&rn(r)==Ai}var Ce=Ri;var Ae=Vn&&Vn.isMap,Mi=Ae?Cr(Ae):Ce,Re=Mi;var ji="[object Set]";function Bi(r){return Qe(r)&&rn(r)==ji}var Me=Bi;var je=Vn&&Vn.isSet,Di=je?Cr(je):Me,Be=Di;var Fi=1,Ui=2,zi=4,De="[object Arguments]",qi="[object Array]",$i="[object Boolean]",ra="[object Date]",ea="[object Error]",Fe="[object Function]",ta="[object GeneratorFunction]",na="[object Map]",oa="[object Number]",Ge="[object Object]",ia="[object RegExp]",fa="[object Set]",sa="[object String]",ua="[object Symbol]",da="[object WeakMap]",ca="[object ArrayBuffer]",pa="[object DataView]",la="[object Float32Array]",ma="[object Float64Array]",ha="[object Int8Array]",ga="[object Int16Array]",va="[object Int32Array]",ba="[object Uint8Array]",ya="[object Uint8ClampedArray]",wa="[object Uint16Array]",_a="[object Uint32Array]",x={};x[De]=x[qi]=x[ca]=x[pa]=x[$i]=x[ra]=x[la]=x[ma]=x[ha]=x[ga]=x[va]=x[na]=x[oa]=x[Ge]=x[ia]=x[fa]=x[sa]=x[ua]=x[ba]=x[ya]=x[wa]=x[_a]=!0;x[ea]=x[Fe]=x[da]=!1;function pr(r,e,n,o,i,f){var s,d=e&Fi,c=e&Ui,p=e&zi;if(n)s=i?n(r,o,i,f):n(r);if(s!==void 0)return s;if(!Ne(r))return r;var l=ae(r);if(l){if(s=Oe(r),!d)return ar(r,s)}else{var m=rn(r),h=m==Fe||m==ta;if(yn(r))return Q(r,d);if(m==Ge||m==De||h&&!i){if(s=c||h?{}:cr(r),!d)return c?_e(r,he(s,r)):we(r,me(s,r))}else{if(!x[m])return i?r:{};s=Te(r,m,d)}}f||(f=new Gn);var b=f.get(r);if(b)return b;if(f.set(r,s),Be(r))r.forEach(function(g){s.add(pr(g,e,n,g,r,f))});else if(Re(r))r.forEach(function(g,_){s.set(_,pr(g,e,n,_,r,f))});var w=p?c?Ee:fi:c?I:Ve,y=l?void 0:w(r);return Yi(y||r,function(g,_){if(y)_=g,g=r[_];j(s,_,pr(g,e,n,_,r,f))}),s}var Xe=pr;var xa=1,Oa=4;function Sa(r){return Xe(r,xa|Oa)}var Ue=Sa;var ka=function(){return qe.Date.now()},yr=ka;var Ye=Object.prototype,Ca=Ye.hasOwnProperty,ja=wr(function(r,e){r=Object(r);var n=-1,o=e.length,i=o>2?e[2]:void 0;if(i&&C(e[0],e[1],i))o=1;while(++n<o){var f=e[n],s=I(f),d=-1,c=s.length;while(++d<c){var p=s[d],l=r[p];if(l===void 0||gn(l,Ye[p])&&!Ca.call(r,p))r[p]=f[p]}}return r}),ze=ja;function Ba(r,e,n){if(n!==void 0&&!gn(r[e],n)||n===void 0&&!(e in r))M(r,e,n)}var rr=Ba;function Fa(r,e){if(e==="constructor"&&typeof r[e]==="function")return;if(e=="__proto__")return;return r[e]}var er=Fa;function Ga(r){return k(r,I(r))}var He=Ga;function Xa(r,e,n,o,i,f,s){var d=er(r,n),c=er(e,n),p=s.get(c);if(p){rr(r,n,p);return}var l=f?f(d,c,n+"",r,e,s):void 0,m=l===void 0;if(m){var h=ae(c),b=!h&&yn(c),w=!h&&!b&&Sr(c);if(l=c,h||b||w)if(ae(d))l=d;else if(io(d))l=ar(d);else if(b)m=!1,l=Q(c,!0);else if(w)m=!1,l=dr(c,!0);else l=[];else if(pe(c)||Ln(c)){if(l=d,Ln(d))l=He(d);else if(!Ne(d)||qn(d))l=cr(c)}else m=!1}if(m)s.set(c,l),i(l,c,o,f,s),s.delete(c);rr(r,n,l)}var Ke=Xa;function Je(r,e,n,o,i){if(r===e)return;Na(e,function(f,s){if(i||(i=new Gn),Ne(f))Ke(r,e,s,n,Je,o,i);else{var d=o?o(er(r,s),f,s+"",r,e,i):void 0;if(d===void 0)d=f;rr(r,s,d)}},I)}var Ze=Je;function Ua(r){var e=r==null?0:r.length;return e?r[e-1]:void 0}var X=Ua;function Va(r){return function(e,n,o){var i=Object(e);if(!ht(e)){var f=At(n,3);e=Ve(e),n=function(d){return f(i[d],d,i)}}var s=r(e,n,o);return s>-1?i[f?e[s]:s]:void 0}}var $e=Va;var Ya=Math.max;function za(r,e,n){var o=r==null?0:r.length;if(!o)return-1;var i=n==null?0:ne(n);if(i<0)i=Ya(o+i,0);return Zi(r,At(e,3),i)}var rt=za;var Wa=$e(rt),tr=Wa;function qa(r,e){var n=-1,o=ht(r)?Array(r.length):[];return Ar(r,function(i,f,s){o[++n]=e(i,f,s)}),o}var lr=qa;function Ha(r,e){var n=ae(r)?jn:lr;return n(r,At(e,3))}var E=Ha;function Ka(r,e){return r==null?r:Na(r,Pa(e),I)}var et=Ka;function Ja(r,e){return r&&Ma(r,Pa(e))}var tt=Ja;function Za(r,e){return r>e}var nt=Za;var $a=Object.prototype,Qa=$a.hasOwnProperty;function rf(r,e){return r!=null&&Qa.call(r,e)}var ot=rf;function ef(r,e){return r!=null&&no(r,e,ot)}var mr=ef;var tf="[object String]";function nf(r){return typeof r=="string"||!ae(r)&&Qe(r)&&Bt(r)==tf}var it=nf;function of(r,e){return r<e}var hr=of;function af(r,e){var n={};return e=At(e,3),Ma(r,function(o,i,f){M(n,i,e(o,i,f))}),n}var W=af;function ff(r,e,n){var o=-1,i=r.length;while(++o<i){var f=r[o],s=e(f);if(s!=null&&(d===void 0?s===s&&!nn(s):n(s,d)))var d=s,c=f}return c}var q=ff;function sf(r){return r&&r.length?q(r,Kt,nt):void 0}var S=sf;var uf=fe(function(r,e,n){Ze(r,e,n)}),nr=uf;function df(r){return r&&r.length?q(r,Kt,hr):void 0}var B=df;function cf(r,e){return r&&r.length?q(r,At(e,2),hr):void 0}var H=cf;function pf(r,e,n,o){if(!Ne(r))return r;e=Tr(e,r);var i=-1,f=e.length,s=f-1,d=r;while(d!=null&&++i<f){var c=Wn(e[i]),p=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return r;if(i!=s){var l=d[c];if(p=o?o(l,c,d):void 0,p===void 0)p=Ne(l)?l:_r(e[i+1])?[]:{}}j(d,c,p),d=d[c]}return r}var at=pf;function lf(r,e,n){var o=-1,i=e.length,f={};while(++o<i){var s=e[o],d=Er(r,s);if(n(d,s))at(f,Tr(s,r),d)}return f}var st=lf;function mf(r,e){var n=r.length;r.sort(e);while(n--)r[n]=r[n].value;return r}var ut=mf;function hf(r,e){if(r!==e){var n=r!==void 0,o=r===null,i=r===r,f=nn(r),s=e!==void 0,d=e===null,c=e===e,p=nn(e);if(!d&&!p&&!f&&r>e||f&&s&&c&&!d&&!p||o&&s&&c||!n&&c||!i)return 1;if(!o&&!f&&!p&&r<e||p&&n&&i&&!o&&!f||d&&n&&i||!s&&i||!c)return-1}return 0}var dt=hf;function gf(r,e,n){var o=-1,i=r.criteria,f=e.criteria,s=i.length,d=n.length;while(++o<s){var c=dt(i[o],f[o]);if(c){if(o>=d)return c;var p=n[o];return c*(p=="desc"?-1:1)}}return r.index-e.index}var ct=gf;function vf(r,e,n){if(e.length)e=jn(e,function(f){if(ae(f))return function(s){return Er(s,f.length===1?f[0]:f)};return f});else e=[Kt];var o=-1;e=jn(e,Cr(At));var i=lr(r,function(f,s,d){var c=jn(e,function(p){return p(f)});return{criteria:c,index:++o,value:f}});return ut(i,function(f,s){return ct(f,s,n)})}var pt=vf;var bf=ao("length"),lt=bf;var gt="\\ud800-\\udfff",yf="\\u0300-\\u036f",wf="\\ufe20-\\ufe2f",_f="\\u20d0-\\u20ff",Ef=yf+wf+_f,xf="\\ufe0e\\ufe0f",Of="["+gt+"]",xr="["+Ef+"]",Or="\\ud83c[\\udffb-\\udfff]",Lf="(?:"+xr+"|"+Or+")",vt="[^"+gt+"]",bt="(?:\\ud83c[\\udde6-\\uddff]){2}",yt="[\\ud800-\\udbff][\\udc00-\\udfff]",If="\\u200d",wt=Lf+"?",_t="["+xf+"]?",Sf="(?:"+If+"(?:"+[vt,bt,yt].join("|")+")"+_t+wt+")*",Nf=_t+wt+Sf,Pf="(?:"+[vt+xr+"?",xr,bt,yt,Of].join("|")+")",mt=RegExp(Or+"(?="+Or+")|"+Pf+Nf,"g");function kf(r){var e=mt.lastIndex=0;while(mt.test(r))++e;return e}var Et=kf;function Tf(r){return le(r)?Et(r):lt(r)}var xt=Tf;function Cf(r,e){return st(r,e,function(n,o){return ro(r,o)})}var Ot=Cf;var Af=de(function(r,e){return r==null?{}:Ot(r,e)}),K=Af;var{ceil:Rf,max:Mf}=Math;function jf(r,e,n,o){var i=-1,f=Mf(Rf((e-r)/(n||1)),0),s=Array(f);while(f--)s[o?f:++i]=r,r+=n;return s}var Lt=jf;function Bf(r){return function(e,n,o){if(o&&typeof o!="number"&&C(e,n,o))n=o=void 0;if(e=V(e),n===void 0)n=e,e=0;else n=V(n);return o=o===void 0?e<n?1:-1:V(o),Lt(e,n,o,r)}}var It=Bf;var Df=It(),P=Df;var Ff="[object Map]",Gf="[object Set]";function Xf(r){if(r==null)return 0;if(ht(r))return it(r)?xt(r):r.length;var e=rn(r);if(e==Ff||e==Gf)return r.size;return Aa(r).length}var St=Xf;var Uf=wr(function(r,e){if(r==null)return[];var n=e.length;if(n>1&&C(r,e[0],e[1]))e=[];else if(n>2&&C(e[0],e[1],e[2]))e=[e[0]];return pt(r,La(e,1),[])}),A=Uf;var Vf=0;function Yf(r){var e=++Vf;return Ji(r)+e}var Z=Yf;function zf(r,e,n){var o=-1,i=r.length,f=e.length,s={};while(++o<i){var d=o<f?e[o]:void 0;n(s,r[o],d)}return s}var Nt=zf;function Wf(r,e){return Nt(r||[],e||[],j)}var Lr=Wf;class Ir{constructor(){var r={};r._next=r._prev=r,this._sentinel=r}dequeue(){var r=this._sentinel,e=r._prev;if(e!==r)return Pt(e),e}enqueue(r){var e=this._sentinel;if(r._prev&&r._next)Pt(r);r._next=e._next,e._next._prev=r,e._next=r,r._prev=e}toString(){var r=[],e=this._sentinel,n=e._prev;while(n!==e)r.push(JSON.stringify(n,qf)),n=n._prev;return"["+r.join(", ")+"]"}}function Pt(r){r._prev._next=r._next,r._next._prev=r._prev,delete r._next,delete r._prev}function qf(r,e){if(r!=="_next"&&r!=="_prev")return e}var Hf=Qt(1);function kt(r,e){if(r.nodeCount()<=1)return[];var n=Jf(r,e||Hf),o=Kf(n.graph,n.buckets,n.zeroIdx);return N(E(o,function(i){return r.outEdges(i.v,i.w)}))}function Kf(r,e,n){var o=[],i=e[e.length-1],f=e[0],s;while(r.nodeCount()){while(s=f.dequeue())Nr(r,e,n,s);while(s=i.dequeue())Nr(r,e,n,s);if(r.nodeCount()){for(var d=e.length-2;d>0;--d)if(s=e[d].dequeue(),s){o=o.concat(Nr(r,e,n,s,!0));break}}}return o}function Nr(r,e,n,o,i){var f=i?[]:void 0;return v(r.inEdges(o.v),function(s){var d=r.edge(s),c=r.node(s.v);if(i)f.push({v:s.v,w:s.w});c.out-=d,Pr(e,n,c)}),v(r.outEdges(o.v),function(s){var d=r.edge(s),c=s.w,p=r.node(c);p.in-=d,Pr(e,n,p)}),r.removeNode(o.v),f}function Jf(r,e){var n=new xe,o=0,i=0;v(r.nodes(),function(d){n.setNode(d,{v:d,in:0,out:0})}),v(r.edges(),function(d){var c=n.edge(d.v,d.w)||0,p=e(d),l=c+p;n.setEdge(d.v,d.w,l),i=Math.max(i,n.node(d.v).out+=p),o=Math.max(o,n.node(d.w).in+=p)});var f=P(i+o+3).map(function(){return new Ir}),s=o+1;return v(n.nodes(),function(d){Pr(f,s,n.node(d))}),{graph:n,buckets:f,zeroIdx:s}}function Pr(r,e,n){if(!n.out)r[0].enqueue(n);else if(!n.in)r[r.length-1].enqueue(n);else r[n.out-n.in+e].enqueue(n)}function Tt(r){var e=r.graph().acyclicer==="greedy"?kt(r,n(r)):Zf(r);v(e,function(o){var i=r.edge(o);r.removeEdge(o),i.forwardName=o.name,i.reversed=!0,r.setEdge(o.w,o.v,i,Z("rev"))});function n(o){return function(i){return o.edge(i).weight}}}function Zf(r){var e=[],n={},o={};function i(f){if(Object.prototype.hasOwnProperty.call(o,f))return;o[f]=!0,n[f]=!0,v(r.outEdges(f),function(s){if(Object.prototype.hasOwnProperty.call(n,s.w))e.push(s);else i(s.w)}),delete n[f]}return v(r.nodes(),i),e}function Ct(r){v(r.edges(),function(e){var n=r.edge(e);if(n.reversed){r.removeEdge(e);var o=n.forwardName;delete n.reversed,delete n.forwardName,r.setEdge(e.w,e.v,n,o)}})}function T(r,e,n,o){var i;do i=Z(o);while(r.hasNode(i));return n.dummy=e,r.setNode(i,n),i}function Mt(r){var e=new xe().setGraph(r.graph());return v(r.nodes(),function(n){e.setNode(n,r.node(n))}),v(r.edges(),function(n){var o=e.edge(n.v,n.w)||{weight:0,minlen:1},i=r.edge(n);e.setEdge(n.v,n.w,{weight:o.weight+i.weight,minlen:Math.max(o.minlen,i.minlen)})}),e}function gr(r){var e=new xe({multigraph:r.isMultigraph()}).setGraph(r.graph());return v(r.nodes(),function(n){if(!r.children(n).length)e.setNode(n,r.node(n))}),v(r.edges(),function(n){e.setEdge(n,r.edge(n))}),e}function Rr(r,e){var{x:n,y:o}=r,i=e.x-n,f=e.y-o,s=r.width/2,d=r.height/2;if(!i&&!f)throw Error("Not possible to find intersection inside of the rectangle");var c,p;if(Math.abs(f)*s>Math.abs(i)*d){if(f<0)d=-d;c=d*i/f,p=d}else{if(i<0)s=-s;c=s,p=s*f/i}return{x:n+c,y:o+p}}function D(r){var e=E(P(jr(r)+1),function(){return[]});return v(r.nodes(),function(n){var o=r.node(n),i=o.rank;if(!We(i))e[i][o.order]=n}),e}function jt(r){var e=B(E(r.nodes(),function(n){return r.node(n).rank}));v(r.nodes(),function(n){var o=r.node(n);if(mr(o,"rank"))o.rank-=e})}function Dt(r){var e=B(E(r.nodes(),function(f){return r.node(f).rank})),n=[];v(r.nodes(),function(f){var s=r.node(f).rank-e;if(!n[s])n[s]=[];n[s].push(f)});var o=0,i=r.graph().nodeRankFactor;v(n,function(f,s){if(We(f)&&s%i!==0)--o;else if(o)v(f,function(d){r.node(d).rank+=o})})}function Mr(r,e,n,o){var i={width:0,height:0};if(arguments.length>=4)i.rank=n,i.order=o;return T(r,"border",i,e)}function jr(r){return S(E(r.nodes(),function(e){var n=r.node(e).rank;if(!We(n))return n}))}function Gt(r,e){var n={lhs:[],rhs:[]};return v(r,function(o){if(e(o))n.lhs.push(o);else n.rhs.push(o)}),n}function Xt(r,e){var n=yr();try{return e()}finally{console.log(r+" time: "+(yr()-n)+"ms")}}function Ut(r,e){return e()}function Yt(r){function e(n){var o=r.children(n),i=r.node(n);if(o.length)v(o,e);if(Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var f=i.minRank,s=i.maxRank+1;f<s;++f)Vt(r,"borderLeft","_bl",n,i,f),Vt(r,"borderRight","_br",n,i,f)}}v(r.children(),e)}function Vt(r,e,n,o,i,f){var s={width:0,height:0,rank:f,borderType:e},d=i[e][f-1],c=T(r,"border",s,n);if(i[e][f]=c,r.setParent(c,o),d)r.setEdge(d,c,{weight:1})}function Wt(r){var e=r.graph().rankdir.toLowerCase();if(e==="lr"||e==="rl")Ht(r)}function qt(r){var e=r.graph().rankdir.toLowerCase();if(e==="bt"||e==="rl")$f(r);if(e==="lr"||e==="rl")Qf(r),Ht(r)}function Ht(r){v(r.nodes(),function(e){zt(r.node(e))}),v(r.edges(),function(e){zt(r.edge(e))})}function zt(r){var e=r.width;r.width=r.height,r.height=e}function $f(r){v(r.nodes(),function(e){Br(r.node(e))}),v(r.edges(),function(e){var n=r.edge(e);if(v(n.points,Br),Object.prototype.hasOwnProperty.call(n,"y"))Br(n)})}function Br(r){r.y=-r.y}function Qf(r){v(r.nodes(),function(e){Dr(r.node(e))}),v(r.edges(),function(e){var n=r.edge(e);if(v(n.points,Dr),Object.prototype.hasOwnProperty.call(n,"x"))Dr(n)})}function Dr(r){var e=r.x;r.x=r.y,r.y=e}function Jt(r){r.graph().dummyChains=[],v(r.edges(),function(e){es(r,e)})}function es(r,e){var n=e.v,o=r.node(n).rank,i=e.w,f=r.node(i).rank,s=e.name,d=r.edge(e),c=d.labelRank;if(f===o+1)return;r.removeEdge(e);var p=void 0,l,m;for(m=0,++o;o<f;++m,++o){if(d.points=[],p={width:0,height:0,edgeLabel:d,edgeObj:e,rank:o},l=T(r,"edge",p,"_d"),o===c)p.width=d.width,p.height=d.height,p.dummy="edge-label",p.labelpos=d.labelpos;if(r.setEdge(n,l,{weight:d.weight},s),m===0)r.graph().dummyChains.push(l);n=l}r.setEdge(n,i,{weight:d.weight},s)}function Zt(r){v(r.graph().dummyChains,function(e){var n=r.node(e),o=n.edgeLabel,i;r.setEdge(n.edgeObj,o);while(n.dummy){if(i=r.successors(e)[0],r.removeNode(e),o.points.push({x:n.x,y:n.y}),n.dummy==="edge-label")o.x=n.x,o.y=n.y,o.width=n.width,o.height=n.height;e=i,n=r.node(e)}})}function or(r){var e={};function n(o){var i=r.node(o);if(Object.prototype.hasOwnProperty.call(e,o))return i.rank;e[o]=!0;var f=B(E(r.outEdges(o),function(s){return n(s.w)-r.edge(s).minlen}));if(f===Number.POSITIVE_INFINITY||f===void 0||f===null)f=0;return i.rank=f}v(r.sources(),n)}function U(r,e){return r.node(e.w).rank-r.node(e.v).rank-r.edge(e).minlen}function vr(r){var e=new xe({directed:!1}),n=r.nodes()[0],o=r.nodeCount();e.setNode(n,{});var i,f;while(ts(e,r)<o)i=ns(e,r),f=e.hasNode(i.v)?U(r,i):-U(r,i),os(e,r,f);return e}function ts(r,e){function n(o){v(e.nodeEdges(o),function(i){var f=i.v,s=o===f?i.w:f;if(!r.hasNode(s)&&!U(e,i))r.setNode(s,{}),r.setEdge(o,s,{}),n(s)})}return v(r.nodes(),n),r.nodeCount()}function ns(r,e){return H(e.edges(),function(n){if(r.hasNode(n.v)!==r.hasNode(n.w))return U(e,n)})}function os(r,e,n){v(r.nodes(),function(o){e.node(o).rank+=n})}var dh=Qt(1);var vh=Qt(1);Fr.CycleException=ir;function Fr(r){var e={},n={},o=[];function i(f){if(Object.prototype.hasOwnProperty.call(n,f))throw new ir;if(!Object.prototype.hasOwnProperty.call(e,f))n[f]=!0,e[f]=!0,v(r.predecessors(f),i),delete n[f],o.push(f)}if(v(r.sinks(),i),St(e)!==r.nodeCount())throw new ir;return o}function ir(){}ir.prototype=Error();function br(r,e,n){if(!ae(e))e=[e];var o=(r.isDirected()?r.successors:r.neighbors).bind(r),i=[],f={};return v(e,function(s){if(!r.hasNode(s))throw Error("Graph does not have node: "+s);en(r,s,n==="post",f,o,i)}),i}function en(r,e,n,o,i,f){if(!Object.prototype.hasOwnProperty.call(o,e)){if(o[e]=!0,!n)f.push(e);if(v(i(e),function(s){en(r,s,n,o,i,f)}),n)f.push(e)}}function Gr(r,e){return br(r,e,"post")}function Xr(r,e){return br(r,e,"pre")}G.initLowLimValues=Vr;G.initCutValues=Ur;G.calcCutValue=on;G.leaveEdge=sn;G.enterEdge=dn;G.exchangeEdges=cn;function G(r){r=Mt(r),or(r);var e=vr(r);Vr(e),Ur(e,r);var n,o;while(n=sn(e))o=dn(e,r,n),cn(e,r,n,o)}function Ur(r,e){var n=Gr(r,r.nodes());n=n.slice(0,n.length-1),v(n,function(o){us(r,e,o)})}function us(r,e,n){var o=r.node(n),i=o.parent;r.edge(n,i).cutvalue=on(r,e,n)}function on(r,e,n){var o=r.node(n),i=o.parent,f=!0,s=e.edge(n,i),d=0;if(!s)f=!1,s=e.edge(i,n);return d=s.weight,v(e.nodeEdges(n),function(c){var p=c.v===n,l=p?c.w:c.v;if(l!==i){var m=p===f,h=e.edge(c).weight;if(d+=m?h:-h,cs(r,n,l)){var b=r.edge(n,l).cutvalue;d+=m?-b:b}}}),d}function Vr(r,e){if(arguments.length<2)e=r.nodes()[0];fn(r,{},1,e)}function fn(r,e,n,o,i){var f=n,s=r.node(o);if(e[o]=!0,v(r.neighbors(o),function(d){if(!Object.prototype.hasOwnProperty.call(e,d))n=fn(r,e,n,d,o)}),s.low=f,s.lim=n++,i)s.parent=i;else delete s.parent;return n}function sn(r){return tr(r.edges(),function(e){return r.edge(e).cutvalue<0})}function dn(r,e,n){var{v:o,w:i}=n;if(!e.hasEdge(o,i))o=n.w,i=n.v;var f=r.node(o),s=r.node(i),d=f,c=!1;if(f.lim>s.lim)d=s,c=!0;var p=Ft(e.edges(),function(l){return c===tn(r,r.node(l.v),d)&&c!==tn(r,r.node(l.w),d)});return H(p,function(l){return U(e,l)})}function cn(r,e,n,o){var{v:i,w:f}=n;r.removeEdge(i,f),r.setEdge(o.v,o.w,{}),Vr(r),Ur(r,e),ds(r,e)}function ds(r,e){var n=tr(r.nodes(),function(i){return!e.node(i).parent}),o=Xr(r,n);o=o.slice(1),v(o,function(i){var f=r.node(i).parent,s=e.edge(i,f),d=!1;if(!s)s=e.edge(f,i),d=!0;e.node(i).rank=e.node(f).rank+(d?s.minlen:-s.minlen)})}function cs(r,e,n){return r.hasEdge(e,n)}function tn(r,e,n){return n.low<=e.lim&&e.lim<=n.lim}function zr(r){switch(r.graph().ranker){case"network-simplex":pn(r);break;case"tight-tree":ls(r);break;case"longest-path":ps(r);break;default:pn(r)}}var ps=or;function ls(r){or(r),vr(r)}function pn(r){G(r)}function ln(r){var e=T(r,"root",{},"_root"),n=ms(r),o=S(an(n))-1,i=2*o+1;r.graph().nestingRoot=e,v(r.edges(),function(s){r.edge(s).minlen*=i});var f=hs(r)+1;v(r.children(),function(s){mn(r,e,i,f,o,n,s)}),r.graph().nodeRankFactor=i}function mn(r,e,n,o,i,f,s){var d=r.children(s);if(!d.length){if(s!==e)r.setEdge(e,s,{weight:0,minlen:n});return}var c=Mr(r,"_bt"),p=Mr(r,"_bb"),l=r.node(s);if(r.setParent(c,s),l.borderTop=c,r.setParent(p,s),l.borderBottom=p,v(d,function(m){mn(r,e,n,o,i,f,m);var h=r.node(m),b=h.borderTop?h.borderTop:m,w=h.borderBottom?h.borderBottom:m,y=h.borderTop?o:2*o,g=b!==w?1:i-f[s]+1;r.setEdge(c,b,{weight:y,minlen:g,nestingEdge:!0}),r.setEdge(w,p,{weight:y,minlen:g,nestingEdge:!0})}),!r.parent(s))r.setEdge(e,c,{weight:0,minlen:i+f[s]})}function ms(r){var e={};function n(o,i){var f=r.children(o);if(f&&f.length)v(f,function(s){n(s,i+1)});e[o]=i}return v(r.children(),function(o){n(o,1)}),e}function hs(r){return Hn(r.edges(),function(e,n){return e+r.edge(n).weight},0)}function hn(r){var e=r.graph();r.removeNode(e.nestingRoot),delete e.nestingRoot,v(r.edges(),function(n){var o=r.edge(n);if(o.nestingEdge)r.removeEdge(n)})}function bn(r,e,n){var o={},i;v(n,function(f){var s=r.parent(f),d,c;while(s){if(d=r.parent(s),d)c=o[d],o[d]=s;else c=i,i=s;if(c&&c!==s){e.setEdge(c,s);return}s=d}})}function _n(r,e,n){var o=vs(r),i=new xe({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(f){return r.node(f)});return v(r.nodes(),function(f){var s=r.node(f),d=r.parent(f);if(s.rank===e||s.minRank<=e&&e<=s.maxRank){if(i.setNode(f),i.setParent(f,d||o),v(r[n](f),function(c){var p=c.v===f?c.w:c.v,l=i.edge(p,f),m=!We(l)?l.weight:0;i.setEdge(p,f,{weight:r.edge(c).weight+m})}),Object.prototype.hasOwnProperty.call(s,"minRank"))i.setNode(f,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]})}}),i}function vs(r){var e;while(r.hasNode(e=Z("_root")));return e}function En(r,e){var n=0;for(var o=1;o<e.length;++o)n+=bs(r,e[o-1],e[o]);return n}function bs(r,e,n){var o=Lr(n,E(n,function(p,l){return l})),i=N(E(e,function(p){return A(E(r.outEdges(p),function(l){return{pos:o[l.w],weight:r.edge(l).weight}}),"pos")})),f=1;while(f<n.length)f<<=1;var s=2*f-1;f-=1;var d=E(Array(s),function(){return 0}),c=0;return v(i.forEach(function(p){var l=p.pos+f;d[l]+=p.weight;var m=0;while(l>0){if(l%2)m+=d[l+1];l=l-1>>1,d[l]+=p.weight}c+=p.weight*m})),c}function On(r){var e={},n=Ft(r.nodes(),function(d){return!r.children(d).length}),o=S(E(n,function(d){return r.node(d).rank})),i=E(P(o+1),function(){return[]});function f(d){if(mr(e,d))return;e[d]=!0;var c=r.node(d);i[c.rank].push(d),v(r.successors(d),f)}var s=A(n,function(d){return r.node(d).rank});return v(s,f),i}function In(r,e){return E(e,function(n){var o=r.inEdges(n);if(!o.length)return{v:n};else{var i=Hn(o,function(f,s){var d=r.edge(s),c=r.node(s.v);return{sum:f.sum+d.weight*c.order,weight:f.weight+d.weight}},{sum:0,weight:0});return{v:n,barycenter:i.sum/i.weight,weight:i.weight}}})}function Sn(r,e){var n={};v(r,function(i,f){var s=n[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:f};if(!We(i.barycenter))s.barycenter=i.barycenter,s.weight=i.weight}),v(e.edges(),function(i){var f=n[i.v],s=n[i.w];if(!We(f)&&!We(s))s.indegree++,f.out.push(n[i.w])});var o=Ft(n,function(i){return!i.indegree});return ys(o)}function ys(r){var e=[];function n(f){return function(s){if(s.merged)return;if(We(s.barycenter)||We(f.barycenter)||s.barycenter>=f.barycenter)ws(f,s)}}function o(f){return function(s){if(s.in.push(f),--s.indegree===0)r.push(s)}}while(r.length){var i=r.pop();e.push(i),v(i.in.reverse(),n(i)),v(i.out,o(i))}return E(Ft(e,function(f){return!f.merged}),function(f){return K(f,["vs","i","barycenter","weight"])})}function ws(r,e){var n=0,o=0;if(r.weight)n+=r.barycenter*r.weight,o+=r.weight;if(e.weight)n+=e.barycenter*e.weight,o+=e.weight;r.vs=e.vs.concat(r.vs),r.barycenter=n/o,r.weight=o,r.i=Math.min(e.i,r.i),e.merged=!0}function Pn(r,e){var n=Gt(r,function(l){return Object.prototype.hasOwnProperty.call(l,"barycenter")}),o=n.lhs,i=A(n.rhs,function(l){return-l.i}),f=[],s=0,d=0,c=0;o.sort(_s(!!e)),c=Nn(f,i,c),v(o,function(l){c+=l.vs.length,f.push(l.vs),s+=l.barycenter*l.weight,d+=l.weight,c=Nn(f,i,c)});var p={vs:N(f)};if(d)p.barycenter=s/d,p.weight=d;return p}function Nn(r,e,n){var o;while(e.length&&(o=X(e)).i<=n)e.pop(),r.push(o.vs),n++;return n}function _s(r){return function(e,n){if(e.barycenter<n.barycenter)return-1;else if(e.barycenter>n.barycenter)return 1;return!r?e.i-n.i:n.i-e.i}}function Wr(r,e,n,o){var i=r.children(e),f=r.node(e),s=f?f.borderLeft:void 0,d=f?f.borderRight:void 0,c={};if(s)i=Ft(i,function(w){return w!==s&&w!==d});var p=In(r,i);v(p,function(w){if(r.children(w.v).length){var y=Wr(r,w.v,n,o);if(c[w.v]=y,Object.prototype.hasOwnProperty.call(y,"barycenter"))xs(w,y)}});var l=Sn(p,n);Es(l,c);var m=Pn(l,o);if(s){if(m.vs=N([s,m.vs,d]),r.predecessors(s).length){var h=r.node(r.predecessors(s)[0]),b=r.node(r.predecessors(d)[0]);if(!Object.prototype.hasOwnProperty.call(m,"barycenter"))m.barycenter=0,m.weight=0;m.barycenter=(m.barycenter*m.weight+h.order+b.order)/(m.weight+2),m.weight+=2}}return m}function Es(r,e){v(r,function(n){n.vs=N(n.vs.map(function(o){if(e[o])return e[o].vs;return o}))})}function xs(r,e){if(!We(r.barycenter))r.barycenter=(r.barycenter*r.weight+e.barycenter*e.weight)/(r.weight+e.weight),r.weight+=e.weight;else r.barycenter=e.barycenter,r.weight=e.weight}function Cn(r){var e=jr(r),n=kn(r,P(1,e+1),"inEdges"),o=kn(r,P(e-1,-1,-1),"outEdges"),i=On(r);Tn(r,i);var f=Number.POSITIVE_INFINITY,s;for(var d=0,c=0;c<4;++d,++c){Os(d%2?n:o,d%4>=2),i=D(r);var p=En(r,i);if(p<f)c=0,s=Ue(i),f=p}Tn(r,s)}function kn(r,e,n){return E(e,function(o){return _n(r,o,n)})}function Os(r,e){var n=new xe;v(r,function(o){var i=o.graph().root,f=Wr(o,i,n,e);v(f.vs,function(s,d){o.node(s).order=d}),bn(o,n,f.vs)})}function Tn(r,e){v(e,function(n){v(n,function(o,i){r.node(o).order=i})})}function An(r){var e=Is(r);v(r.graph().dummyChains,function(n){var o=r.node(n),i=o.edgeObj,f=Ls(r,e,i.v,i.w),{path:s,lca:d}=f,c=0,p=s[c],l=!0;while(n!==i.w){if(o=r.node(n),l){while((p=s[c])!==d&&r.node(p).maxRank<o.rank)c++;if(p===d)l=!1}if(!l){while(c<s.length-1&&r.node(p=s[c+1]).minRank<=o.rank)c++;p=s[c]}r.setParent(n,p),n=r.successors(n)[0]}})}function Ls(r,e,n,o){var i=[],f=[],s=Math.min(e[n].low,e[o].low),d=Math.max(e[n].lim,e[o].lim),c,p;c=n;do c=r.parent(c),i.push(c);while(c&&(e[c].low>s||d>e[c].lim));p=c,c=o;while((c=r.parent(c))!==p)f.push(c);return{path:i.concat(f.reverse()),lca:p}}function Is(r){var e={},n=0;function o(i){var f=n;v(r.children(i),o),e[i]={low:f,lim:n++}}return v(r.children(),o),e}function Ss(r,e){var n={};function o(i,f){var s=0,d=0,c=i.length,p=X(f);return v(f,function(l,m){var h=Ps(r,l),b=h?r.node(h).order:c;if(h||l===p)v(f.slice(d,m+1),function(w){v(r.predecessors(w),function(y){var g=r.node(y),_=g.order;if((_<s||b<_)&&!(g.dummy&&r.node(w).dummy))Rn(n,y,w)})}),d=m+1,s=b}),f}return Hn(e,o),n}function Ns(r,e){var n={};function o(f,s,d,c,p){var l;v(P(s,d),function(m){if(l=f[m],r.node(l).dummy)v(r.predecessors(l),function(h){var b=r.node(h);if(b.dummy&&(b.order<c||b.order>p))Rn(n,h,l)})})}function i(f,s){var d=-1,c,p=0;return v(s,function(l,m){if(r.node(l).dummy==="border"){var h=r.predecessors(l);if(h.length)c=r.node(h[0]).order,o(s,p,m,d,c),p=m,d=c}o(s,p,s.length,c,f.length)}),s}return Hn(e,i),n}function Ps(r,e){if(r.node(e).dummy)return tr(r.predecessors(e),function(n){return r.node(n).dummy})}function Rn(r,e,n){if(e>n){var o=e;e=n,n=o}if(!Object.prototype.hasOwnProperty.call(r,e))Object.defineProperty(r,e,{enumerable:!0,configurable:!0,value:{},writable:!0});var i=r[e];Object.defineProperty(i,n,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function ks(r,e,n){if(e>n){var o=e;e=n,n=o}return!!r[e]&&Object.prototype.hasOwnProperty.call(r[e],n)}function Ts(r,e,n,o){var i={},f={},s={};return v(e,function(d){v(d,function(c,p){i[c]=c,f[c]=c,s[c]=p})}),v(e,function(d){var c=-1;v(d,function(p){var l=o(p);if(l.length){l=A(l,function(y){return s[y]});var m=(l.length-1)/2;for(var h=Math.floor(m),b=Math.ceil(m);h<=b;++h){var w=l[h];if(f[p]===p&&c<s[w]&&!ks(n,p,w))f[w]=p,f[p]=i[p]=i[w],c=s[w]}}})}),{root:i,align:f}}function Cs(r,e,n,o,i){var f={},s=As(r,e,n,i),d=i?"borderLeft":"borderRight";function c(m,h){var b=s.nodes(),w=b.pop(),y={};while(w){if(y[w])m(w);else y[w]=!0,b.push(w),b=b.concat(h(w));w=b.pop()}}function p(m){f[m]=s.inEdges(m).reduce(function(h,b){return Math.max(h,f[b.v]+s.edge(b))},0)}function l(m){var h=s.outEdges(m).reduce(function(w,y){return Math.min(w,f[y.w]-s.edge(y))},Number.POSITIVE_INFINITY),b=r.node(m);if(h!==Number.POSITIVE_INFINITY&&b.borderType!==d)f[m]=Math.max(f[m],h)}return c(p,s.predecessors.bind(s)),c(l,s.successors.bind(s)),v(o,function(m){f[m]=f[n[m]]}),f}function As(r,e,n,o){var i=new xe,f=r.graph(),s=Bs(f.nodesep,f.edgesep,o);return v(e,function(d){var c;v(d,function(p){var l=n[p];if(i.setNode(l),c){var m=n[c],h=i.edge(m,l);i.setEdge(m,l,Math.max(s(r,p,c),h||0))}c=p})}),i}function Rs(r,e){return H(an(e),function(n){var{NEGATIVE_INFINITY:o,POSITIVE_INFINITY:i}=Number;return et(n,function(f,s){var d=Ds(r,s)/2;o=Math.max(f+d,o),i=Math.min(f-d,i)}),o-i})}function Ms(r,e){var n=an(e),o=B(n),i=S(n);v(["u","d"],function(f){v(["l","r"],function(s){var d=f+s,c=r[d],p;if(c===e)return;var l=an(c);if(p=s==="l"?o-B(l):i-S(l),p)r[d]=W(c,function(m){return m+p})})})}function js(r,e){return W(r.ul,function(n,o){if(e)return r[e.toLowerCase()][o];else{var i=A(E(r,o));return(i[1]+i[2])/2}})}function Mn(r){var e=D(r),n=nr(Ss(r,e),Ns(r,e)),o={},i;v(["u","d"],function(s){i=s==="u"?e:an(e).reverse(),v(["l","r"],function(d){if(d==="r")i=E(i,function(m){return an(m).reverse()});var c=(s==="u"?r.predecessors:r.successors).bind(r),p=Ts(r,i,n,c),l=Cs(r,i,p.root,p.align,d==="r");if(d==="r")l=W(l,function(m){return-m});o[s+d]=l})});var f=Rs(r,o);return Ms(o,f),js(o,r.graph().align)}function Bs(r,e,n){return function(o,i,f){var s=o.node(i),d=o.node(f),c=0,p;if(c+=s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":p=-s.width/2;break;case"r":p=s.width/2;break}if(p)c+=n?p:-p;if(p=0,c+=(s.dummy?e:r)/2,c+=(d.dummy?e:r)/2,c+=d.width/2,Object.prototype.hasOwnProperty.call(d,"labelpos"))switch(d.labelpos.toLowerCase()){case"l":p=d.width/2;break;case"r":p=-d.width/2;break}if(p)c+=n?p:-p;return p=0,c}}function Ds(r,e){return r.node(e).width}function Bn(r){r=gr(r),Fs(r),tt(Mn(r),function(e,n){r.node(n).x=e})}function Fs(r){var e=D(r),n=r.graph().ranksep,o=0;v(e,function(i){var f=S(E(i,function(s){return r.node(s).height}));v(i,function(s){r.node(s).y=o+f/2}),o+=f+n})}function Kr(r,e){var n=e&&e.debugTiming?Xt:Ut;n("layout",()=>{var o=n(" buildLayoutGraph",()=>Zs(r));n(" runLayout",()=>Gs(o,n)),n(" updateInputGraph",()=>Xs(r,o))})}function Gs(r,e){e(" makeSpaceForEdgeLabels",()=>$s(r)),e(" removeSelfEdges",()=>fu(r)),e(" acyclic",()=>Tt(r)),e(" nestingGraph.run",()=>ln(r)),e(" rank",()=>zr(gr(r))),e(" injectEdgeLabelProxies",()=>Qs(r)),e(" removeEmptyRanks",()=>Dt(r)),e(" nestingGraph.cleanup",()=>hn(r)),e(" normalizeRanks",()=>jt(r)),e(" assignRankMinMax",()=>ru(r)),e(" removeEdgeLabelProxies",()=>eu(r)),e(" normalize.run",()=>Jt(r)),e(" parentDummyChains",()=>An(r)),e(" addBorderSegments",()=>Yt(r)),e(" order",()=>Cn(r)),e(" insertSelfEdges",()=>su(r)),e(" adjustCoordinateSystem",()=>Wt(r)),e(" position",()=>Bn(r)),e(" positionSelfEdges",()=>uu(r)),e(" removeBorderNodes",()=>au(r)),e(" normalize.undo",()=>Zt(r)),e(" fixupEdgeLabelCoords",()=>ou(r)),e(" undoCoordinateSystem",()=>qt(r)),e(" translateGraph",()=>tu(r)),e(" assignNodeIntersects",()=>nu(r)),e(" reversePoints",()=>iu(r)),e(" acyclic.undo",()=>Ct(r))}function Xs(r,e){v(r.nodes(),function(n){var o=r.node(n),i=e.node(n);if(o){if(o.x=i.x,o.y=i.y,e.children(n).length)o.width=i.width,o.height=i.height}}),v(r.edges(),function(n){var o=r.edge(n),i=e.edge(n);if(o.points=i.points,Object.prototype.hasOwnProperty.call(i,"x"))o.x=i.x,o.y=i.y}),r.graph().width=e.graph().width,r.graph().height=e.graph().height}var Us=["nodesep","edgesep","ranksep","marginx","marginy"],Vs={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Ys=["acyclicer","ranker","rankdir","align"],zs=["width","height"],Ws={width:0,height:0},qs=["minlen","weight","width","height","labeloffset"],Hs={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Ks=["labelpos"];function Zs(r){var e=new xe({multigraph:!0,compound:!0}),n=Hr(r.graph());return e.setGraph(nr({},Vs,qr(n,Us),K(n,Ys))),v(r.nodes(),function(o){var i=Hr(r.node(o));e.setNode(o,ze(qr(i,zs),Ws)),e.setParent(o,r.parent(o))}),v(r.edges(),function(o){var i=Hr(r.edge(o));e.setEdge(o,nr({},Hs,qr(i,qs),K(i,Ks)))}),e}function $s(r){var e=r.graph();e.ranksep/=2,v(r.edges(),function(n){var o=r.edge(n);if(o.minlen*=2,o.labelpos.toLowerCase()!=="c")if(e.rankdir==="TB"||e.rankdir==="BT")o.width+=o.labeloffset;else o.height+=o.labeloffset})}function Qs(r){v(r.edges(),function(e){var n=r.edge(e);if(n.width&&n.height){var o=r.node(e.v),i=r.node(e.w),f={rank:(i.rank-o.rank)/2+o.rank,e};T(r,"edge-proxy",f,"_ep")}})}function ru(r){var e=0;v(r.nodes(),function(n){var o=r.node(n);if(o.borderTop)o.minRank=r.node(o.borderTop).rank,o.maxRank=r.node(o.borderBottom).rank,e=S(e,o.maxRank)}),r.graph().maxRank=e}function eu(r){v(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="edge-proxy")r.edge(n.e).labelRank=n.rank,r.removeNode(e)})}function tu(r){var e=Number.POSITIVE_INFINITY,n=0,o=Number.POSITIVE_INFINITY,i=0,f=r.graph(),s=f.marginx||0,d=f.marginy||0;function c(p){var{x:l,y:m,width:h,height:b}=p;e=Math.min(e,l-h/2),n=Math.max(n,l+h/2),o=Math.min(o,m-b/2),i=Math.max(i,m+b/2)}v(r.nodes(),function(p){c(r.node(p))}),v(r.edges(),function(p){var l=r.edge(p);if(Object.prototype.hasOwnProperty.call(l,"x"))c(l)}),e-=s,o-=d,v(r.nodes(),function(p){var l=r.node(p);l.x-=e,l.y-=o}),v(r.edges(),function(p){var l=r.edge(p);if(v(l.points,function(m){m.x-=e,m.y-=o}),Object.prototype.hasOwnProperty.call(l,"x"))l.x-=e;if(Object.prototype.hasOwnProperty.call(l,"y"))l.y-=o}),f.width=n-e+s,f.height=i-o+d}function nu(r){v(r.edges(),function(e){var n=r.edge(e),o=r.node(e.v),i=r.node(e.w),f,s;if(!n.points)n.points=[],f=i,s=o;else f=n.points[0],s=n.points[n.points.length-1];n.points.unshift(Rr(o,f)),n.points.push(Rr(i,s))})}function ou(r){v(r.edges(),function(e){var n=r.edge(e);if(Object.prototype.hasOwnProperty.call(n,"x")){if(n.labelpos==="l"||n.labelpos==="r")n.width-=n.labeloffset;switch(n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset;break}}})}function iu(r){v(r.edges(),function(e){var n=r.edge(e);if(n.reversed)n.points.reverse()})}function au(r){v(r.nodes(),function(e){if(r.children(e).length){var n=r.node(e),o=r.node(n.borderTop),i=r.node(n.borderBottom),f=r.node(X(n.borderLeft)),s=r.node(X(n.borderRight));n.width=Math.abs(s.x-f.x),n.height=Math.abs(i.y-o.y),n.x=f.x+n.width/2,n.y=o.y+n.height/2}}),v(r.nodes(),function(e){if(r.node(e).dummy==="border")r.removeNode(e)})}function fu(r){v(r.edges(),function(e){if(e.v===e.w){var n=r.node(e.v);if(!n.selfEdges)n.selfEdges=[];n.selfEdges.push({e,label:r.edge(e)}),r.removeEdge(e)}})}function su(r){var e=D(r);v(e,function(n){var o=0;v(n,function(i,f){var s=r.node(i);s.order=f+o,v(s.selfEdges,function(d){T(r,"selfedge",{width:d.label.width,height:d.label.height,rank:s.rank,order:f+ ++o,e:d.e,label:d.label},"_se")}),delete s.selfEdges})})}function uu(r){v(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="selfedge"){var o=r.node(n.e.v),i=o.x+o.width/2,f=o.y,s=n.x-i,d=o.height/2;r.setEdge(n.e,n.label),r.removeNode(e),n.label.points=[{x:i+2*s/3,y:f-d},{x:i+5*s/6,y:f-d},{x:i+s,y:f},{x:i+5*s/6,y:f+d},{x:i+2*s/3,y:f+d}],n.label.x=n.x,n.label.y=n.y}})}function qr(r,e){return W(K(r,e),Number)}function Hr(r){var e={};return v(r,function(n,o){e[o.toLowerCase()]=n}),e}var Dn=t((r,e,n)=>Math.max(e,Math.min(n,r)),"clamp"),Fn=t((r="TB")=>{switch(r){case"BT":return"bottom";case"LR":return"right";case"RL":return"left";case"TB":default:return"top"}},"getDefaultSelfLoopSide"),du=t((r)=>r==="flowchart"||r==="flowchart-v2"||r==="stateDiagram"||r==="er"||r==="classDiagram","shouldMergeSelfLoopSegments"),cu=["x","y","width","height","labelBBox","intersect","calcIntersect","diff","clusterNode"],pu=t((r,e,n,o,i)=>{let f=[],s=new Set;if(n.forEach(({start:l,end:m})=>{if(l!==o)s.add(l);if(m!==o)s.add(m)}),s.forEach((l)=>{let m=r.node(l);if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)}),f.length===0)n.forEach(({edge:l})=>{(l.points??[]).forEach((m)=>{if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)})});if(f.length===0)return Fn(i);let d=f.reduce((l,m)=>({x:l.x+m.x/f.length,y:l.y+m.y/f.length}),{x:0,y:0}),c=d.x-e.x,p=d.y-e.y;if(Math.abs(c)>Math.abs(p))return c>0?"right":"left";if(Math.abs(p)>0)return p>0?"bottom":"top";return Fn(i)},"getSelfLoopSide"),lu=t((r,e="top",n=0,o=0)=>{let i=r.x,f=r.y-n,s=r.width/2,d=r.height/2,c=Math.max(36,Math.min(100,r.width*0.8)),p=Dn(Math.max(o,r.width*0.35),36,c),l=Dn(Math.min(r.width,r.height)*0.45,24,48);switch(e){case"bottom":{let m=f+d;return[{x:i-p/2,y:m},{x:i-p/2,y:m+l},{x:i+p/2,y:m+l},{x:i+p/2,y:m}]}case"right":{let m=i+s;return[{x:m,y:f-p/2},{x:m+l,y:f-p/2},{x:m+l,y:f+p/2},{x:m,y:f+p/2}]}case"left":{let m=i-s;return[{x:m,y:f-p/2},{x:m-l,y:f-p/2},{x:m-l,y:f+p/2},{x:m,y:f+p/2}]}case"top":default:{let m=f-d;return[{x:i-p/2,y:m},{x:i-p/2,y:m-l},{x:i+p/2,y:m-l},{x:i+p/2,y:m}]}}},"getSelfLoopPoints"),mu=t((r,e,n="top",o=0,i={})=>{let s=r.x,d=r.y-o,c=i.width??0,p=i.height??0;switch(n){case"bottom":return{x:s,y:Math.max(...e.map((l)=>l.y))+p/2+4};case"right":return{x:Math.max(...e.map((l)=>l.x))+c/2+4,y:d};case"left":return{x:Math.min(...e.map((l)=>l.x))-c/2-4,y:d};case"top":default:return{x:s,y:Math.min(...e.map((l)=>l.y))-p/2-4}}},"getSelfLoopLabelPosition"),Js=t((r,e=0,{mergeSelfLoops:n=!0}={})=>{let o=new Map,i=[],f=r.graph()?.rankdir;return r.edges().forEach((s)=>{let d=r.edge(s);if(n&&d.selfLoop){let c=d.selfLoop.id;if(!o.has(c))o.set(c,[]);o.get(c).push({edge:d,start:s.v,end:s.w})}else i.push({edge:d,start:s.v,end:s.w})}),o.forEach((s)=>{if(s.length!==3){s.forEach((_)=>i.push(_));return}s.sort((_,R)=>_.edge.selfLoop.order-R.edge.selfLoop.order);let[d,c,p]=s,l=d.edge.originalEdge??c.edge.originalEdge??p.edge.originalEdge??c.edge,m=r.node(l.start);if(!m){s.forEach((_)=>i.push(_));return}let h={width:c.edge.width,height:c.edge.height},b=pu(r,m,s,l.start,f),w=lu(m,b,e,h.width??0),y=mu(m,w,b,e,h),g={...c.edge,...l,id:l.id,points:w,start:l.start,end:l.end,x:y.x,y:y.y,width:h.width,height:h.height,labelStyle:c.edge.labelStyle,fromCluster:d.edge.fromCluster??c.edge.fromCluster??p.edge.fromCluster,toCluster:d.edge.toCluster??c.edge.toCluster??p.edge.toCluster};delete g.selfLoop,delete g.originalEdge,i.push({edge:g,start:g.start,end:g.end})}),i},"getEdgesToRender"),Un=t(async({element:r,graph:e,diagramType:n,id:o,parentCluster:i,siteConfig:f})=>{let s=e.graph().rankdir;a.trace("Dir in recursive render - dir:",s);let{clusters:d,edgePaths:c,edgeLabels:p,nodes:l,rootGroups:m}=Vi(r,{edgePathsClass:"edgePaths"});if(!e.nodes())a.info("No nodes found for",e);else a.info("Recursive render XXX",e.nodes());if(e.edges().length>0)a.info("Recursive edges",e.edge(e.edges()[0]));let h=du(n);await Promise.all(e.nodes().map(async function(y){let g=e.node(y);if(i!==void 0){let _=JSON.parse(JSON.stringify(i.clusterData));if(a.trace(`Setting data for parent cluster XXX
|
|
2
|
+
Node.id = `,y,`
|
|
3
|
+
data=`,_.height,`
|
|
4
|
+
Parent cluster`,i.height),e.setNode(i.id,_),!e.parent(y))a.trace("Setting parent",y,i.id),e.setParent(y,i.id,_)}if(a.info("(Insert) Node XXX"+y+": "+JSON.stringify(e.node(y))),g?.clusterNode){a.info("Cluster identified XBX",y,g.width,e.node(y));let{ranksep:_,nodesep:R}=e.graph();g.graph.setGraph({...g.graph.graph(),ranksep:_+25,nodesep:R});let Jr=await bu({element:l,graph:g.graph,diagramType:n,id:o,parentCluster:e.node(y),siteConfig:f}),Zr=Jr.elem;O(g,Zr),g.diff=Jr.diff||0,a.info("New compound node after recursive render XAX",y,"width",g.width,"height",g.height),yl(Zr,g)}else if(e.children(y).length>0)a.trace("Cluster - the non recursive path XBX",y,g.id,g,g.width,"Graph:",e),a.trace(Yr(g.id,e)),J.set(g.id,{id:Yr(g.id,e),node:g});else a.trace("Node - the non recursive path XAX",y,l,e.node(y),s),await Wi(l,e.node(y),{config:f,dir:s})})),await t(async()=>{let y=e.edges().map(async function(g){let _=e.edge(g.v,g.w,g.name);if(a.info("Edge "+g.v+" -> "+g.w+": "+JSON.stringify(g)),a.info("Edge "+g.v+" -> "+g.w+": ",g," ",JSON.stringify(e.edge(g))),a.info("Fix",J,"ids:",g.v,g.w,"Translating: ",J.get(g.v),J.get(g.w)),h&&_.selfLoop){if(_.selfLoop.order!==1)return;let R={..._.originalEdge,..._,id:_.selfLoop.id,startLabelLeft:_.originalEdge?.startLabelLeft??_.startLabelLeft,startLabelRight:_.originalEdge?.startLabelRight??_.startLabelRight,endLabelLeft:_.originalEdge?.endLabelLeft??_.endLabelLeft,endLabelRight:_.originalEdge?.endLabelRight??_.endLabelRight};await xn(p,R),_.width=R.width,_.height=R.height,_.labelStyle=R.labelStyle;return}await xn(p,_)});await Promise.all(y)},"processEdges")();let{subGraphTitleTotalMargin:w}=vn(f);return{elem:m,graph:e,groups:{clusters:d,edgePaths:c,edgeLabels:p,nodes:l,rootGroups:m},diagramType:n,id:o,mergeSelfLoops:h,subGraphTitleTotalMargin:w}},"measureDagreGraph"),Yn=t((r)=>{a.info("############################################# XXX"),a.info("### Layout ### XXX"),a.info("############################################# XXX"),Kr(r)},"runDagreGraphLayout"),hu=t((r,e,n)=>{let o=r.node(e);if(!o)return;let i={...o};if(o?.clusterNode)i.y=(o.y??0)+n;else if(r.children(e).length>0)i.height=(o.height??0)+n;else i.y=(o.y??0)+n/2;return i},"normalizeDagreNode"),Xn=t((r,e)=>{cu.forEach((n)=>{if(e[n]!==void 0)r[n]=e[n]})},"applyDagreNodeLayout"),gu=t((r,e,n,o)=>({...r,start:r.start??e,end:r.end??n,points:(r.points??[]).map((i)=>({...i,y:typeof i.y==="number"?i.y+o:i.y}))}),"normalizeDagreEdge"),Pl=t((r,e)=>{let{graph:n,mergeSelfLoops:o,subGraphTitleTotalMargin:i=0}=e,f=new Map(r.nodes.map((d)=>[d.id,d]));Gi(n).forEach((d)=>{let c=hu(n,d,i);if(!c)return;Xn(n.node(d),c);let p=f.get(d);if(p)Xn(p,c)});let s=i/2;return r.edges=Js(n,s,{mergeSelfLoops:o}).map(({edge:d,start:c,end:p})=>gu(d,c,p,s)),r},"applyDagreLayoutResult"),vu=t(async({elem:r,graph:e,groups:{clusters:n,edgePaths:o},diagramType:i,id:f,mergeSelfLoops:s,subGraphTitleTotalMargin:d})=>{let c=0;await Promise.all(Gi(e).map(async function(m){let h=e.node(m);if(a.info("Position XBX => "+m+": ("+h.x,","+h.y,") width: ",h.width," height: ",h.height),h?.clusterNode)h.y+=d,a.info("A tainted cluster node XBX1",m,h.id,h.width,h.height,h.x,h.y,e.parent(m)),J.get(h.id).node=h,un(h);else if(e.children(m).length>0){a.info("A pure cluster node XBX1",m,h.id,h.x,h.y,h.width,h.height,e.parent(m)),h.height+=d,e.node(h.parentId);let b=h?.padding/2||0,w=h?.labelBBox?.height||0,y=w-b||0;a.debug("OffsetY",y,"labelHeight",w,"halfPadding",b),await Kn(n,h),J.get(h.id).node=h}else{let b=e.node(h.parentId);h.y+=d/2,a.info("A regular node XBX1 - using the padding",h.id,"parent",h.parentId,h.width,h.height,h.x,h.y,"offsetY",h.offsetY,"parent",b,b?.offsetY,h),un(h)}}));let p=d/2;return Js(e,p,{mergeSelfLoops:s}).forEach(function({edge:m,start:h,end:b}){a.info("Edge "+h+" -> "+b+": "+JSON.stringify(m),m),m.points.forEach((_)=>_.y+=p);let w=e.node(h),y=e.node(b),g=Qn(o,m,J,i,w,y,f);aa(m,g)}),e.nodes().forEach(function(m){let h=e.node(m);if(a.info(m,h.type,h.diff),h.isGroup)c=h.diff}),a.warn("Returning from recursive render XAX",r,c),{elem:r,diff:c}},"paintDagreLayoutCore"),bu=t(async(r)=>{let e=await Un(r);return Yn(e.graph),await vu(e)},"renderDagreSubgraph"),el=t((r)=>{let e=new xe({multigraph:!0,compound:!0}).setGraph({rankdir:r.direction,nodesep:r.config?.nodeSpacing||r.nodeSpacing||r.config?.flowchart?.nodeSpacing,ranksep:r.config?.rankSpacing||r.rankSpacing||r.config?.flowchart?.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});return r.nodes.forEach((n)=>{if(e.setNode(n.id,{...n}),n.parentId)e.setParent(n.id,n.parentId)}),a.debug("Edges:",r.edges),r.edges.forEach((n)=>{if(n.start===n.end){let o=n.start,i=o+"---"+o+"---1",f=o+"---"+o+"---2",s=e.node(o);e.setNode(i,{domId:i,id:i,parentId:s.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),e.setParent(i,s.parentId),e.setNode(f,{domId:f,id:f,parentId:s.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),e.setParent(f,s.parentId);let d=structuredClone(n),c=structuredClone(n),p=structuredClone(n),l=structuredClone(n);if(c.originalEdge=d,c.selfLoop={id:d.id,order:0},p.originalEdge=d,p.selfLoop={id:d.id,order:1},l.originalEdge=d,l.selfLoop={id:d.id,order:2},c.label="",c.arrowTypeEnd="none",c.endLabelLeft="",c.endLabelRight="",c.startLabelLeft="",c.id=o+"-cyclic-special-1",p.startLabelRight="",p.startLabelLeft="",p.endLabelLeft="",p.endLabelRight="",p.arrowTypeStart="none",p.arrowTypeEnd="none",p.id=o+"-cyclic-special-mid",l.label="",l.startLabelRight="",l.startLabelLeft="",l.arrowTypeStart="none",s.isGroup)c.fromCluster=o,l.toCluster=o;l.id=o+"-cyclic-special-2",l.arrowTypeStart="none",e.setEdge(o,i,c,o+"-cyclic-special-0"),e.setEdge(i,f,p,o+"-cyclic-special-1"),e.setEdge(f,o,l,o+"-cyclic-special-2")}else e.setEdge(n.start,n.end,{...n},n.id)}),nl(e),{graph:e}},"prepareLayoutForDagre"),Ol=t(async(r,{element:e,preparedLayout:n})=>{let o=n??el(r),i=u(),f=await Un({element:e,graph:o.graph,diagramType:r.type,id:r.diagramId,parentCluster:void 0,siteConfig:i});return o.measuredLayout=f,f},"measureDagreLayout"),$l=t((r,e)=>{let n=e.preparedLayout?.measuredLayout;if(!n)throw Error("runDagreLayoutCore requires measureDagreLayout to run first");return Yn(n.graph),Pl(r,n),n},"runDagreLayoutCore"),yu=t((r,{measure:e})=>Gi(e.graph).map((n)=>e.graph.node(n)).filter(Boolean),"getDagrePaintNodes"),wu=t((r,e,{measure:n})=>r?n.graph.node(r):void 0,"getDagreEdgeNode"),tl=Ta({prepareLayout:el,measureLayout:Ol,runLayoutCore:$l,paintOptions:{clusterDb:J,getNodes:yu,getEdgeNode:wu,skipNode:t((r,{measure:e})=>!e.graph.hasNode(r.id),"skipNode"),isCluster:t((r,{measure:e})=>e.graph.hasNode(r.id)&&(e.graph.children(r.id)??[]).length>0,"isCluster")}});export{Js,Pl,el,Ol,$l,tl};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{t,a,G}from"./chunk-77pcpdb5.js";var Re=t((e,i,o,h)=>{e.attr("class",o);let{width:r,height:n,x:w,y:x}=u(e,i);G(e,n,r,h);let c=m(w,x,r,n,i);e.attr("viewBox",c),a.debug(`viewBox configured: ${c} with padding: ${i}`)},"setupViewPortForSVG"),u=t((e,i)=>{let o=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:o.width+i*2,height:o.height+i*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),m=t((e,i,o,h,r)=>`${e-r} ${i-r} ${o} ${h}`,"createViewBox");
|
|
2
|
+
export{Re};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import{vr}from"./chunk-xwyadj9p.js";import{re}from"./chunk-svxkg8n3.js";import{t,a,B,S,U,G,A,R,I,L,D,P,N,Q,Mr,qt,X}from"./chunk-77pcpdb5.js";import{me}from"./chunk-22ncha3b.js";var W=/[─━│┃└┗├┣]/,z=/[└┗├┣]/,J=/[─━]/,E=/^[\s│┃]+$/,_=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,M=/^\s*%%/,K=" ";function O(n){return n.some((r)=>W.test(r))}t(O,"isBoxDrawingFormat");function Y(n){for(let r of n){let e=z.exec(r);if(e?.index&&e.index>0)return e.index}return 4}t(Y,"inferSegmentWidth");function F(n,r){return n.replace(/\bline\s+(\d+)\b/gi,(e,i)=>{let c=parseInt(i,10),o=r.get(c);return o?`line ${o}`:e})}t(F,"remapErrorLines");function Z(n){let r=n.split(`
|
|
2
|
+
`),e=new Map,i=-1;for(let[g,d]of r.entries())if(d.trim()==="treeView-beta"){i=g;break}if(i===-1)return{text:n,lineMap:e};let c=[];for(let g=i+1;g<r.length;g++){let d=r[g];if(d.trim()===""||M.test(d)||_.test(d))continue;if(E.test(d))continue;c.push(d.replace(/\t/g," "))}if(!O(c))return{text:n,lineMap:e};let o=Y(c),s=[],l=0;for(let g=0;g<=i;g++)s.push(r[g]),l++,e.set(l,g+1);for(let g=i+1;g<r.length;g++){let d=r[g],p=d.trim(),f=g+1;if(p===""){s.push(d),l++,e.set(l,f);continue}if(M.test(d)){s.push(d),l++,e.set(l,f);continue}if(_.test(d)){s.push(d),l++,e.set(l,f);continue}if(E.test(d))continue;let h=d.replace(/\t/g," "),w=z.exec(h);if(w?.index!==void 0){let u=w.index,x=Math.round(u/o)+1,m=u+1;while(m<h.length&&J.test(h[m]))m++;while(m<h.length&&h[m]===" ")m++;let b=h.slice(m).trimEnd();if(!b)throw Error(`Line ${f}: Empty node — expected a filename or directory name after the box-drawing prefix`);let j=K.repeat(x);s.push(j+b),l++,e.set(l,f)}else if(/^[\s─━│┃└┗├┣]+$/.test(h))continue;else if(W.test(h))s.push(d),l++,e.set(l,f);else if(/^\s+/.test(h))throw Error(`Line ${f}: Unexpected indentation without box-drawing characters. In box-drawing format, use ├── or └── prefixes for indented nodes.`);else s.push(d),l++,e.set(l,f)}return{text:s.join(`
|
|
3
|
+
`),lineMap:e}}t(Z,"preprocessBoxDrawing");var v=new vr(()=>({cnt:1,stack:[{id:0,level:-1,name:"/",nodeType:"directory",children:[]}]})),ee=t(()=>{v.reset(),A()},"clear"),te=t(()=>v.records.stack[0],"getRoot"),ne=t(()=>v.records.cnt,"getCount"),ie=B.treeView,oe=t(()=>X(ie,S().treeView),"getConfig"),se=t((n,r,e,i,c,o)=>{while(n<=v.records.stack[v.records.stack.length-1].level)v.records.stack.pop();let s={id:v.records.cnt++,level:n,name:r,nodeType:e,icon:c,cssClass:i,description:o,children:[]};v.records.stack[v.records.stack.length-1].children.push(s),v.records.stack.push(s)},"addNode"),ae={clear:ee,addNode:se,getRoot:te,getCount:ne,getConfig:oe,getAccTitle:I,getAccDescription:D,getDiagramTitle:N,setAccDescription:L,setAccTitle:R,setDiagramTitle:P},y=ae,ce=t((n)=>{re(n,y);for(let r of n.nodes){let e=typeof r.indent==="number"?r.indent:0,i=r.name,c=i.endsWith("/");if(c)i=i.slice(0,-1);let o=c?"directory":"file",s=r.classAnnotation||void 0,l=r.iconAnnotation,g=l!==void 0?l||"none":void 0,d=r.descAnnotation||void 0,p=d?U(d,S()):void 0;y.addNode(e,i,o,s,g,p)}},"populate"),le={parse:t(async(n)=>{let{text:r,lineMap:e}=Z(n);try{let i=await me("treeView",r);a.debug(i),ce(i)}catch(i){if(e.size>0&&i instanceof Error)i.message=F(i.message,e);throw i}},"parse")},C={prefix:"mermaid-treeview",height:24,width:24,icons:{folder:{body:'<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>'},file:{body:'<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>'}}};function q(n,r){let e=r?.filenameIcons?.[n];if(e)return e;let i=n.lastIndexOf(".");if(i>0){let c=n.substring(i).toLowerCase(),o=r?.extensionIcons;return o?.[c]??o?.[c.slice(1)]}return}t(q,"detectIcon");function T(n,r){if(n.includes(":"))return n;if(n in C.icons||!r)return`${C.prefix}:${n}`;return`${r}:${n}`}t(T,"qualifyIcon");function k(n,r){if(n.icon==="none")return;if(n.icon)return T(n.icon,r.defaultIconPack);if(!r.showIcons)return;if(n.nodeType==="file"){let e=q(n.name,r);if(e==="none")return;if(e)return T(e,r.defaultIconPack)}return`${C.prefix}:${n.nodeType==="directory"?"folder":"file"}`}t(k,"getNodeIcon");Mr([{name:C.prefix,icons:C}]);var V=14,de=4,he=16,pe=t(async(n,r)=>{let e=[],i=t((o)=>{let s=k(o,r);if(s)e.push({icon:s,node:o});o.children.forEach(i)},"collect");i(n);let c=await Promise.all(e.map(async({icon:o,node:s})=>({id:s.id,svg:await qt(o,{height:V,width:V})})));return new Map(c.map(({id:o,svg:s})=>[o,s]))},"resolveNodeIcons"),fe=t((n,r,e,i,c,o)=>{let s=i.append("g"),l="treeView-node-label";if(e.nodeType==="directory")l+=" treeView-node-dir";if(e.cssClass)l+=` ${e.cssClass}`;let g=V+de,d=k(e,c),p=d!==void 0;if(d)s.append("g").attr("class","treeView-node-icon").attr("transform",`translate(${n+c.paddingX}, ${r+c.paddingY})`).html(o.get(e.id)??"");let f=s.append("text").text(e.name).attr("dominant-baseline","middle").attr("class",l),{height:h,width:w}=f.node().getBBox(),u=h+c.paddingY*2,x=n+c.paddingX+(p?g:0);f.attr("x",x),f.attr("y",r+u/2);let m=x+w,b=w+c.paddingX*2+(p?g:0);if(e.BBox={x:n,y:r,width:b,height:u},e.cssClass?.split(/\s+/).includes("highlight"))s.insert("rect",":first-child").attr("x",n).attr("y",r+1).attr("width",0).attr("height",u-2).attr("rx",3).attr("class","treeView-highlight-bg");return{node:e,nodeGroup:s,labelRightEdge:m,centerY:r+u/2}},"positionLabel"),H=t((n,r,e,i,c,o)=>n.append("line").attr("x1",r).attr("y1",e).attr("x2",i).attr("y2",c).attr("stroke-width",o).attr("class","treeView-node-line"),"positionLine"),ge=t((n,r,e,i)=>{let c=0,o=0,s=[],l=t((p,f,h,w)=>{let u=w*(h.rowIndent+h.paddingX),x=fe(u,c,f,p,h,i);s.push(x);let{height:m,width:b}=f.BBox;H(p,u-h.rowIndent,c+m/2,u,c+m/2,h.lineThickness),o=Math.max(o,u+b),c+=m},"drawNode"),g=t((p,f=0)=>{l(n,p,e,f),p.children.forEach((x)=>{g(x,f+1)});let{x:h,y:w,height:u}=p.BBox;if(p.children.length){let{y:x,height:m}=p.children[p.children.length-1].BBox;H(n,h+e.paddingX,w+u,h+e.paddingX,x+m/2+e.lineThickness/2,e.lineThickness)}},"processNode");g(r);let d=s.filter((p)=>p.node.description);if(d.length>0){let f=Math.max(...s.map((h)=>h.labelRightEdge))+he;for(let h of d){let u=h.nodeGroup.append("text").text(h.node.description).attr("dominant-baseline","middle").attr("class","treeView-node-description").attr("x",f).attr("y",h.centerY).node().getBBox();o=Math.max(o,f+u.width+e.paddingX)}}for(let p of s)if(p.node.cssClass?.split(/\s+/).includes("highlight")){let f=p.nodeGroup.select(".treeView-highlight-bg");if(!f.empty()){let h=o-p.node.BBox.x+8;f.attr("width",h),o=Math.max(o,p.node.BBox.x+h+2)}}return{totalHeight:c,totalWidth:o}},"drawTree"),ue=t(async(n,r,e,i)=>{a.debug(`Rendering treeView diagram
|
|
4
|
+
`+n);let c=i.db,o=c.getRoot(),s=c.getConfig(),l=Q(r),g=l.append("g");g.attr("class","tree-view");let d=await pe(o,s),{totalHeight:p,totalWidth:f}=ge(g,o,s,d);l.attr("viewBox",`-${s.lineThickness/2} 0 ${f} ${p}`),G(l,p,f,s.useMaxWidth)},"draw"),we={draw:ue},xe=we,ve={labelFontSize:"16px",labelColor:"black",lineColor:"black",iconColor:"#546e7a",descriptionColor:"#6a9955",highlightBg:"rgba(255, 193, 7, 0.15)",highlightStroke:"#ffc107"},be=t(({treeView:n})=>{let{labelFontSize:r,labelColor:e,lineColor:i,iconColor:c,descriptionColor:o,highlightBg:s,highlightStroke:l}=X(ve,n);return`
|
|
5
|
+
.treeView-node-label {
|
|
6
|
+
font-size: ${r};
|
|
7
|
+
fill: ${e};
|
|
8
|
+
white-space: pre;
|
|
9
|
+
}
|
|
10
|
+
.treeView-node-dir {
|
|
11
|
+
font-weight: bold;
|
|
12
|
+
}
|
|
13
|
+
.treeView-node-line {
|
|
14
|
+
stroke: ${i};
|
|
15
|
+
}
|
|
16
|
+
.treeView-node-icon {
|
|
17
|
+
color: ${c};
|
|
18
|
+
}
|
|
19
|
+
.treeView-node-description {
|
|
20
|
+
font-size: ${r};
|
|
21
|
+
fill: ${o};
|
|
22
|
+
font-style: italic;
|
|
23
|
+
white-space: pre;
|
|
24
|
+
}
|
|
25
|
+
.treeView-highlight-bg {
|
|
26
|
+
fill: ${s};
|
|
27
|
+
stroke: ${l};
|
|
28
|
+
stroke-width: 1;
|
|
29
|
+
}
|
|
30
|
+
`},"styles"),Ce=be,Ee={db:y,renderer:xe,parser:le,styles:Ce};export{Ee as diagram};
|
|
Binary file
|
|
Binary file
|