@bkm016/basalt 0.1.28 → 0.1.30
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 +2 -2
- package/chunk-01xyv3ct.js +7 -0
- package/chunk-06gjy5s2.js +5 -0
- package/chunk-0pztrs5x.js +11 -0
- package/chunk-0v6seb9q.js +20 -0
- package/chunk-0z138vnr.js +12 -0
- package/chunk-1c8yqctx.js +3 -0
- package/chunk-1wt8pbns.js +2 -0
- package/chunk-1yvgmxew.js +2 -0
- package/chunk-229men2n.js +31 -0
- package/chunk-29x35nj4.js +5 -0
- package/chunk-3ee7dyh4.js +18 -0
- package/chunk-3gf3g0xt.js +3 -0
- package/chunk-3gts3ja0.js +8 -0
- package/chunk-4stj480w.js +3 -0
- package/chunk-4t2t0hcp.js +3 -0
- package/chunk-57b764s0.js +5 -0
- package/chunk-63mr2aa2.js +50 -0
- package/chunk-64h4gw8d.js +3 -0
- package/chunk-7gxx6829.js +2 -0
- package/chunk-898tss1j.js +51 -0
- package/chunk-9em1sne5.js +2 -0
- package/chunk-9p8n1xjn.js +4048 -0
- package/chunk-a0h0x1dn.js +3 -0
- package/chunk-a2r89pk2.js +12 -0
- package/chunk-a5mtw4y5.js +2 -0
- package/chunk-bbqhx91f.js +3 -0
- package/chunk-c9q0y8hp.js +4 -0
- package/chunk-cgzez9a5.js +2 -0
- package/chunk-drjajr57.js +3 -0
- package/chunk-dsnz6mzt.js +25 -0
- package/chunk-ee18zzzv.js +3 -0
- package/chunk-eg161ep9.js +3 -0
- package/chunk-ej42zg82.js +2 -0
- package/chunk-ejw7k7nn.js +2 -0
- package/chunk-f95j1a8x.js +3 -0
- package/chunk-fdgrayj5.js +3 -0
- package/chunk-fnxstmm5.js +2 -0
- package/chunk-gtjtkfjk.js +3 -0
- package/chunk-h4rve6x4.js +63 -0
- package/chunk-hp9bcx4x.js +2 -0
- package/chunk-hvxc1wyv.js +3 -0
- package/chunk-je4cjwhm.js +3 -0
- package/chunk-jn1zdamp.js +9 -0
- package/chunk-jpah46d1.js +2 -0
- package/chunk-jvsrda4n.js +16 -0
- package/chunk-jyhsae16.js +2 -0
- package/chunk-k7n6bhkz.js +3 -0
- package/chunk-kvv3mvk5.js +2 -0
- package/chunk-kzv5cgqz.js +286 -0
- package/chunk-mz3zt06w.js +7 -0
- package/chunk-n4crb1x3.js +2 -0
- package/chunk-nmmf0w14.js +5 -0
- package/chunk-nr5p4pvp.js +3 -0
- package/chunk-p39fex1r.js +2 -0
- package/chunk-pefgy360.js +7 -0
- package/chunk-psr71nf8.js +2 -0
- package/chunk-qsgc7b7x.js +3 -0
- package/chunk-qygv2jqa.js +2 -0
- package/chunk-r0gsb1qs.js +3 -0
- package/chunk-r449z8pj.js +2 -0
- package/chunk-r49sxmnc.js +3 -0
- package/chunk-rd52y45c.js +8 -0
- package/chunk-repjnwda.js +10 -0
- package/chunk-rh6yvdwz.js +3 -0
- package/chunk-s2d5zp37.js +44 -0
- package/chunk-s68eamf1.js +2 -0
- package/chunk-sacdpkwc.js +3 -0
- package/chunk-tey1hftz.js +490 -0
- package/chunk-vhvzyxx5.js +25 -0
- package/chunk-vytm86v0.js +2 -0
- package/chunk-x4bc1xkx.js +39 -0
- package/chunk-xa23zmzv.js +2 -0
- package/chunk-xq7zspqs.js +3 -0
- package/chunk-xqz8ac7j.js +2 -0
- package/chunk-ycce2a81.js +2 -0
- package/chunk-z99s31w5.js +2 -0
- package/chunk-zs6ytk7b.js +59 -0
- package/chunk-ztm5hqwh.js +2 -0
- package/chunk-zv29qg1q.js +10 -0
- package/compiled.js +9 -9
- package/package.json +4 -1
- package/ui-test-worker.js +79 -77
- package/web/chunk-02z3bqps.js +1 -0
- package/web/chunk-02z3bqps.js.br +0 -0
- package/web/chunk-02z3bqps.js.gz +0 -0
- package/web/chunk-0dg4qqe3.js +1 -0
- package/web/chunk-0dg4qqe3.js.br +2 -0
- package/web/chunk-0dg4qqe3.js.gz +0 -0
- package/web/chunk-0qar8vwc.js +2 -0
- package/web/chunk-0qar8vwc.js.br +0 -0
- package/web/chunk-0qar8vwc.js.gz +0 -0
- package/web/chunk-0qmgmqzd.js +2 -0
- package/web/chunk-0qmgmqzd.js.br +0 -0
- package/web/chunk-0qmgmqzd.js.gz +0 -0
- package/web/chunk-1pffd2va.js +2 -0
- package/web/chunk-1pffd2va.js.br +0 -0
- package/web/chunk-1pffd2va.js.gz +0 -0
- package/web/chunk-1q82849a.js +1 -0
- package/web/chunk-1q82849a.js.br +0 -0
- package/web/chunk-1q82849a.js.gz +0 -0
- package/web/chunk-2ajkzs3d.js +12 -0
- package/web/chunk-2ajkzs3d.js.br +0 -0
- package/web/chunk-2ajkzs3d.js.gz +0 -0
- package/web/chunk-2ttatv42.js +2 -0
- package/web/chunk-2ttatv42.js.br +0 -0
- package/web/chunk-2ttatv42.js.gz +0 -0
- package/web/chunk-2xrkfj8n.js +291 -0
- package/web/chunk-2xrkfj8n.js.br +0 -0
- package/web/chunk-2xrkfj8n.js.gz +0 -0
- package/web/chunk-45xqp3dn.js +1 -0
- package/web/chunk-45xqp3dn.js.br +0 -0
- package/web/chunk-45xqp3dn.js.gz +0 -0
- package/web/chunk-4fdgpye3.js +2 -0
- package/web/chunk-4fdgpye3.js.br +0 -0
- package/web/chunk-4fdgpye3.js.gz +0 -0
- package/web/chunk-4fzpmw3f.js +89 -0
- package/web/chunk-4fzpmw3f.js.br +0 -0
- package/web/chunk-4fzpmw3f.js.gz +0 -0
- package/web/chunk-51njd9f8.js +89 -0
- package/web/chunk-51njd9f8.js.br +0 -0
- package/web/chunk-51njd9f8.js.gz +0 -0
- package/web/chunk-66zw8mqe.js +2 -0
- package/web/chunk-66zw8mqe.js.br +0 -0
- package/web/chunk-66zw8mqe.js.gz +0 -0
- package/web/chunk-6f9btq4p.js +1 -0
- package/web/chunk-6f9btq4p.js.br +0 -0
- package/web/chunk-6f9btq4p.js.gz +0 -0
- package/web/chunk-6x73jtw7.js +7 -0
- package/web/chunk-6x73jtw7.js.br +0 -0
- package/web/chunk-6x73jtw7.js.gz +0 -0
- package/web/chunk-6y389kg6.js +1 -0
- package/web/chunk-6y389kg6.js.br +0 -0
- package/web/chunk-6y389kg6.js.gz +0 -0
- package/web/chunk-73peavw3.js +1 -0
- package/web/chunk-73peavw3.js.br +0 -0
- package/web/chunk-73peavw3.js.gz +0 -0
- package/web/chunk-7p7qtp6d.js +1 -0
- package/web/chunk-7p7qtp6d.js.br +0 -0
- package/web/chunk-7p7qtp6d.js.gz +0 -0
- package/web/chunk-81zj375g.js +1 -0
- package/web/chunk-81zj375g.js.br +0 -0
- package/web/chunk-81zj375g.js.gz +0 -0
- package/web/chunk-89dwrkrr.js +1 -0
- package/web/chunk-89dwrkrr.js.br +0 -0
- package/web/chunk-89dwrkrr.js.gz +0 -0
- package/web/chunk-8e829p0a.css +1 -0
- package/web/chunk-8e829p0a.css.br +0 -0
- package/web/chunk-8e829p0a.css.gz +0 -0
- package/web/chunk-9j7v0e4v.js +2 -0
- package/web/chunk-9j7v0e4v.js.br +0 -0
- package/web/chunk-9j7v0e4v.js.gz +0 -0
- package/web/chunk-9mgqrwwh.js +1 -0
- package/web/chunk-9mgqrwwh.js.br +0 -0
- package/web/chunk-9mgqrwwh.js.gz +0 -0
- package/web/chunk-ag97fhx1.js +1 -0
- package/web/chunk-ag97fhx1.js.br +0 -0
- package/web/chunk-ag97fhx1.js.gz +0 -0
- package/web/chunk-anm2706b.js +139 -0
- package/web/chunk-anm2706b.js.br +0 -0
- package/web/chunk-anm2706b.js.gz +0 -0
- package/web/chunk-aqz2exas.js +142 -0
- package/web/chunk-aqz2exas.js.br +0 -0
- package/web/chunk-aqz2exas.js.gz +0 -0
- package/web/chunk-at6wp72y.js +1 -0
- package/web/chunk-at6wp72y.js.br +0 -0
- package/web/chunk-at6wp72y.js.gz +0 -0
- package/web/chunk-ayfqxte8.js +1 -0
- package/web/chunk-ayfqxte8.js.br +2 -0
- package/web/chunk-ayfqxte8.js.gz +0 -0
- package/web/chunk-b564qxgk.js +98 -0
- package/web/chunk-b564qxgk.js.br +0 -0
- package/web/chunk-b564qxgk.js.gz +0 -0
- package/web/chunk-b9atg5sw.js +1 -0
- package/web/chunk-b9atg5sw.js.br +0 -0
- package/web/chunk-b9atg5sw.js.gz +0 -0
- package/web/chunk-bg2k54a5.js +70 -0
- package/web/chunk-bg2k54a5.js.br +0 -0
- package/web/chunk-bg2k54a5.js.gz +0 -0
- package/web/chunk-c2vtzhbs.js +1 -0
- package/web/chunk-c2vtzhbs.js.br +0 -0
- package/web/chunk-c2vtzhbs.js.gz +0 -0
- package/web/chunk-cb0g87b5.js +2 -0
- package/web/chunk-cb0g87b5.js.br +3 -0
- package/web/chunk-cb0g87b5.js.gz +0 -0
- package/web/chunk-cgm44rx8.js +2 -0
- package/web/chunk-cgm44rx8.js.br +0 -0
- package/web/chunk-cgm44rx8.js.gz +0 -0
- package/web/chunk-ctckn7gz.js +2 -0
- package/web/chunk-ctckn7gz.js.br +0 -0
- package/web/chunk-ctckn7gz.js.gz +0 -0
- package/web/chunk-def5mk0w.js +2 -0
- package/web/chunk-def5mk0w.js.br +0 -0
- package/web/chunk-def5mk0w.js.gz +0 -0
- package/web/chunk-e2nhv6bb.js +2 -0
- package/web/chunk-e2nhv6bb.js.br +0 -0
- package/web/chunk-e2nhv6bb.js.gz +0 -0
- package/web/chunk-e7djq8rb.js +2 -0
- package/web/chunk-e7djq8rb.js.br +0 -0
- package/web/chunk-e7djq8rb.js.gz +0 -0
- package/web/chunk-eagbq8k2.js +1 -0
- package/web/chunk-eagbq8k2.js.br +0 -0
- package/web/chunk-eagbq8k2.js.gz +0 -0
- package/web/chunk-fbxw7w0z.js +1 -0
- package/web/chunk-fbxw7w0z.js.br +0 -0
- package/web/chunk-fbxw7w0z.js.gz +0 -0
- package/web/chunk-fn95dxq2.js +1 -0
- package/web/chunk-fn95dxq2.js.br +0 -0
- package/web/chunk-fn95dxq2.js.gz +0 -0
- package/web/chunk-g3n4tbbv.js +1 -0
- package/web/chunk-g3n4tbbv.js.br +2 -0
- package/web/chunk-g3n4tbbv.js.gz +0 -0
- package/web/chunk-gp0xqyh2.js +62 -0
- package/web/chunk-gp0xqyh2.js.br +0 -0
- package/web/chunk-gp0xqyh2.js.gz +0 -0
- package/web/chunk-h2rv3exr.js +84 -0
- package/web/chunk-h2rv3exr.js.br +0 -0
- package/web/chunk-h2rv3exr.js.gz +0 -0
- package/web/chunk-h47k4j7f.js +1 -0
- package/web/chunk-h47k4j7f.js.br +0 -0
- package/web/chunk-h47k4j7f.js.gz +0 -0
- package/web/chunk-h888hb33.js +41 -0
- package/web/chunk-h888hb33.js.br +0 -0
- package/web/chunk-h888hb33.js.gz +0 -0
- package/web/chunk-hc9ep8b0.js +4 -0
- package/web/chunk-hc9ep8b0.js.br +0 -0
- package/web/chunk-hc9ep8b0.js.gz +0 -0
- package/web/chunk-hp0jfbty.js +1 -0
- package/web/chunk-hp0jfbty.js.br +0 -0
- package/web/chunk-hp0jfbty.js.gz +0 -0
- package/web/chunk-hx7rh5c1.js +2 -0
- package/web/chunk-hx7rh5c1.js.br +0 -0
- package/web/chunk-hx7rh5c1.js.gz +0 -0
- package/web/chunk-hzxz7smg.js +24 -0
- package/web/chunk-hzxz7smg.js.br +0 -0
- package/web/chunk-hzxz7smg.js.gz +0 -0
- package/web/chunk-j4w9gj2v.js +1 -0
- package/web/chunk-j4w9gj2v.js.br +0 -0
- package/web/chunk-j4w9gj2v.js.gz +0 -0
- package/web/chunk-j8m3c1s4.js +2 -0
- package/web/chunk-j8m3c1s4.js.br +0 -0
- package/web/chunk-j8m3c1s4.js.gz +0 -0
- package/web/chunk-jamb9e79.js +1 -0
- package/web/chunk-jamb9e79.js.br +0 -0
- package/web/chunk-jamb9e79.js.gz +0 -0
- package/web/chunk-jg19frxn.js +55 -0
- package/web/chunk-jg19frxn.js.br +0 -0
- package/web/chunk-jg19frxn.js.gz +0 -0
- package/web/chunk-jm2pevt8.js +1 -0
- package/web/chunk-jm2pevt8.js.br +0 -0
- package/web/chunk-jm2pevt8.js.gz +0 -0
- package/web/chunk-jmr00kdm.js +214 -0
- package/web/chunk-jmr00kdm.js.br +0 -0
- package/web/chunk-jmr00kdm.js.gz +0 -0
- package/web/chunk-jsff72z2.js +1 -0
- package/web/chunk-jsff72z2.js.br +0 -0
- package/web/chunk-jsff72z2.js.gz +0 -0
- package/web/chunk-jv83dscd.js +1 -0
- package/web/chunk-jv83dscd.js.br +0 -0
- package/web/chunk-jv83dscd.js.gz +0 -0
- package/web/chunk-k0da3cb3.js +1 -0
- package/web/chunk-k0da3cb3.js.br +0 -0
- package/web/chunk-k0da3cb3.js.gz +0 -0
- package/web/chunk-k6ks8zqg.js +1 -0
- package/web/chunk-k6ks8zqg.js.br +0 -0
- package/web/chunk-k6ks8zqg.js.gz +0 -0
- package/web/chunk-kdzew6g1.js +1 -0
- package/web/chunk-kdzew6g1.js.br +2 -0
- package/web/chunk-kdzew6g1.js.gz +0 -0
- package/web/chunk-ktmnzrpf.js +1 -0
- package/web/chunk-ktmnzrpf.js.br +2 -0
- package/web/chunk-ktmnzrpf.js.gz +0 -0
- package/web/chunk-kxezmcn5.js +30 -0
- package/web/chunk-kxezmcn5.js.br +0 -0
- package/web/chunk-kxezmcn5.js.gz +0 -0
- package/web/chunk-kyj99nqq.js +2 -0
- package/web/chunk-kyj99nqq.js.br +0 -0
- package/web/chunk-kyj99nqq.js.gz +0 -0
- package/web/chunk-m1009k4x.js +16 -0
- package/web/chunk-m1009k4x.js.br +0 -0
- package/web/chunk-m1009k4x.js.gz +0 -0
- package/web/chunk-mfsdyw6v.js +2 -0
- package/web/chunk-mfsdyw6v.js.br +0 -0
- package/web/chunk-mfsdyw6v.js.gz +0 -0
- package/web/chunk-mgr8wt71.js +370 -0
- package/web/chunk-mgr8wt71.js.br +0 -0
- package/web/chunk-mgr8wt71.js.gz +0 -0
- package/web/chunk-mya0w8tm.js +1 -0
- package/web/chunk-mya0w8tm.js.br +0 -0
- package/web/chunk-mya0w8tm.js.gz +0 -0
- package/web/chunk-n1wgda90.js +7 -0
- package/web/chunk-n1wgda90.js.br +0 -0
- package/web/chunk-n1wgda90.js.gz +0 -0
- package/web/chunk-n7hk5sxm.js +120 -0
- package/web/chunk-n7hk5sxm.js.br +0 -0
- package/web/chunk-n7hk5sxm.js.gz +0 -0
- package/web/chunk-n99yz498.js +36 -0
- package/web/chunk-n99yz498.js.br +0 -0
- package/web/chunk-n99yz498.js.gz +0 -0
- package/web/chunk-nnvqz2dh.js +1 -0
- package/web/chunk-nnvqz2dh.js.br +0 -0
- package/web/chunk-nnvqz2dh.js.gz +0 -0
- package/web/chunk-nx439rde.js +1 -0
- package/web/chunk-nx439rde.js.br +0 -0
- package/web/chunk-nx439rde.js.gz +0 -0
- package/web/chunk-pn50cj2y.js +1 -0
- package/web/chunk-pn50cj2y.js.br +0 -0
- package/web/chunk-pn50cj2y.js.gz +0 -0
- package/web/chunk-pph3x232.js +38 -0
- package/web/chunk-pph3x232.js.br +0 -0
- package/web/chunk-pph3x232.js.gz +0 -0
- package/web/chunk-pt2vfgkr.js +1 -0
- package/web/chunk-pt2vfgkr.js.br +0 -0
- package/web/chunk-pt2vfgkr.js.gz +0 -0
- package/web/chunk-pzvg5xnk.js +21 -0
- package/web/chunk-pzvg5xnk.js.br +0 -0
- package/web/chunk-pzvg5xnk.js.gz +0 -0
- package/web/chunk-q5hj3y5k.js +2 -0
- package/web/chunk-q5hj3y5k.js.br +0 -0
- package/web/chunk-q5hj3y5k.js.gz +0 -0
- package/web/chunk-qafnz668.js +1 -0
- package/web/chunk-qafnz668.js.br +0 -0
- package/web/chunk-qafnz668.js.gz +0 -0
- package/web/chunk-qkfqcr10.js +1 -0
- package/web/chunk-qkfqcr10.js.br +0 -0
- package/web/chunk-qkfqcr10.js.gz +0 -0
- package/web/chunk-qkgp0da2.js +1 -0
- package/web/chunk-qkgp0da2.js.br +0 -0
- package/web/chunk-qkgp0da2.js.gz +0 -0
- package/web/chunk-qpqdn0a8.js +1 -0
- package/web/chunk-qpqdn0a8.js.br +0 -0
- package/web/chunk-qpqdn0a8.js.gz +0 -0
- package/web/chunk-r0ch05x8.js +3 -0
- package/web/chunk-r0ch05x8.js.br +0 -0
- package/web/chunk-r0ch05x8.js.gz +0 -0
- package/web/chunk-r6s2vcby.js +8 -0
- package/web/chunk-r6s2vcby.js.br +6 -0
- package/web/chunk-r6s2vcby.js.gz +0 -0
- package/web/chunk-r71mdnq3.js +1 -0
- package/web/chunk-r71mdnq3.js.br +0 -0
- package/web/chunk-r71mdnq3.js.gz +0 -0
- package/web/chunk-r9m8jh7x.js +2 -0
- package/web/chunk-r9m8jh7x.js.br +0 -0
- package/web/chunk-r9m8jh7x.js.gz +0 -0
- package/web/chunk-rd60971b.js +2 -0
- package/web/chunk-rd60971b.js.br +0 -0
- package/web/chunk-rd60971b.js.gz +0 -0
- package/web/chunk-rdz21xd5.js +99 -0
- package/web/chunk-rdz21xd5.js.br +0 -0
- package/web/chunk-rdz21xd5.js.gz +0 -0
- package/web/chunk-rmzb9edh.js +303 -0
- package/web/chunk-rmzb9edh.js.br +0 -0
- package/web/chunk-rmzb9edh.js.gz +0 -0
- package/web/chunk-rqkd1h2n.js +2 -0
- package/web/chunk-rqkd1h2n.js.br +0 -0
- package/web/chunk-rqkd1h2n.js.gz +0 -0
- package/web/chunk-rz2cq4g2.js +2 -0
- package/web/chunk-rz2cq4g2.js.br +0 -0
- package/web/chunk-rz2cq4g2.js.gz +0 -0
- package/web/chunk-rzeh9b1q.js +2 -0
- package/web/chunk-rzeh9b1q.js.br +0 -0
- package/web/chunk-rzeh9b1q.js.gz +0 -0
- package/web/chunk-s6ax6yty.js +1 -0
- package/web/chunk-s6ax6yty.js.br +0 -0
- package/web/chunk-s6ax6yty.js.gz +0 -0
- package/web/chunk-s75zvbh9.js +1 -0
- package/web/chunk-s75zvbh9.js.br +0 -0
- package/web/chunk-s75zvbh9.js.gz +0 -0
- package/web/chunk-s7cz1q7g.js +324 -0
- package/web/chunk-s7cz1q7g.js.br +0 -0
- package/web/chunk-s7cz1q7g.js.gz +0 -0
- package/web/chunk-sh6xh1kh.js +1 -0
- package/web/chunk-sh6xh1kh.js.br +0 -0
- package/web/chunk-sh6xh1kh.js.gz +0 -0
- package/web/chunk-shc8bv2k.js +2 -0
- package/web/chunk-shc8bv2k.js.br +0 -0
- package/web/chunk-shc8bv2k.js.gz +0 -0
- package/web/chunk-sqa50cfh.js +2 -0
- package/web/chunk-sqa50cfh.js.br +0 -0
- package/web/chunk-sqa50cfh.js.gz +0 -0
- package/web/chunk-stp6j8y9.js +39 -0
- package/web/chunk-stp6j8y9.js.br +0 -0
- package/web/chunk-stp6j8y9.js.gz +0 -0
- package/web/chunk-t7wae2xz.js +332 -0
- package/web/chunk-t7wae2xz.js.br +0 -0
- package/web/chunk-t7wae2xz.js.gz +0 -0
- package/web/chunk-t8p7d5vk.js +2 -0
- package/web/chunk-t8p7d5vk.js.br +0 -0
- package/web/chunk-t8p7d5vk.js.gz +0 -0
- package/web/chunk-t9twwgfe.js +1 -0
- package/web/chunk-t9twwgfe.js.br +0 -0
- package/web/chunk-t9twwgfe.js.gz +0 -0
- package/web/chunk-tbj4d6qe.js +292 -0
- package/web/chunk-tbj4d6qe.js.br +0 -0
- package/web/chunk-tbj4d6qe.js.gz +0 -0
- package/web/chunk-v0wb751t.js +2 -0
- package/web/chunk-v0wb751t.js.br +0 -0
- package/web/chunk-v0wb751t.js.gz +0 -0
- package/web/chunk-v1vghfec.js +1 -0
- package/web/chunk-v1vghfec.js.br +0 -0
- package/web/chunk-v1vghfec.js.gz +0 -0
- package/web/chunk-v890rh1e.js +2 -0
- package/web/chunk-v890rh1e.js.br +0 -0
- package/web/chunk-v890rh1e.js.gz +0 -0
- package/web/chunk-vd2kng8p.js +4 -0
- package/web/chunk-vd2kng8p.js.br +0 -0
- package/web/chunk-vd2kng8p.js.gz +0 -0
- package/web/chunk-vfqmec16.js +217 -0
- package/web/chunk-vfqmec16.js.br +0 -0
- package/web/chunk-vfqmec16.js.gz +0 -0
- package/web/chunk-vhmcx472.js +1 -0
- package/web/chunk-vhmcx472.js.br +0 -0
- package/web/chunk-vhmcx472.js.gz +0 -0
- package/web/chunk-vtvf1x6b.js +2 -0
- package/web/chunk-vtvf1x6b.js.br +0 -0
- package/web/chunk-vtvf1x6b.js.gz +0 -0
- package/web/chunk-w0ae9ggt.js +40 -0
- package/web/chunk-w0ae9ggt.js.br +0 -0
- package/web/chunk-w0ae9ggt.js.gz +0 -0
- package/web/chunk-ws8rv0tb.js +1141 -0
- package/web/chunk-ws8rv0tb.js.br +0 -0
- package/web/chunk-ws8rv0tb.js.gz +0 -0
- package/web/chunk-wvnvh4a5.js +78 -0
- package/web/chunk-wvnvh4a5.js.br +0 -0
- package/web/chunk-wvnvh4a5.js.gz +0 -0
- package/web/chunk-x11ewabg.js +1 -0
- package/web/chunk-x11ewabg.js.br +0 -0
- package/web/chunk-x11ewabg.js.gz +0 -0
- package/web/chunk-x2tcf0r1.js +1 -0
- package/web/chunk-x2tcf0r1.js.br +2 -0
- package/web/chunk-x2tcf0r1.js.gz +0 -0
- package/web/chunk-x9mexzav.js +2 -0
- package/web/chunk-x9mexzav.js.br +0 -0
- package/web/chunk-x9mexzav.js.gz +0 -0
- package/web/chunk-xbrj4mk1.js +140 -0
- package/web/chunk-xbrj4mk1.js.br +0 -0
- package/web/chunk-xbrj4mk1.js.gz +0 -0
- package/web/chunk-xh8q1bcj.js +34 -0
- package/web/chunk-xh8q1bcj.js.br +0 -0
- package/web/chunk-xh8q1bcj.js.gz +0 -0
- package/web/chunk-xha3t633.js +1 -0
- package/web/chunk-xha3t633.js.br +0 -0
- package/web/chunk-xha3t633.js.gz +0 -0
- package/web/chunk-xk8637wb.js +1 -0
- package/web/chunk-xk8637wb.js.br +0 -0
- package/web/chunk-xk8637wb.js.gz +0 -0
- package/web/chunk-xmr18f18.js +1 -0
- package/web/chunk-xmr18f18.js.br +0 -0
- package/web/chunk-xmr18f18.js.gz +0 -0
- package/web/chunk-y372dg1e.js +7 -0
- package/web/chunk-y372dg1e.js.br +0 -0
- package/web/chunk-y372dg1e.js.gz +0 -0
- package/web/chunk-y48mj5d7.js +1 -0
- package/web/chunk-y48mj5d7.js.br +0 -0
- package/web/chunk-y48mj5d7.js.gz +0 -0
- package/web/chunk-y778wckc.js +24 -0
- package/web/chunk-y778wckc.js.br +0 -0
- package/web/chunk-y778wckc.js.gz +0 -0
- package/web/chunk-yerpvhym.js +169 -0
- package/web/chunk-yerpvhym.js.br +0 -0
- package/web/chunk-yerpvhym.js.gz +0 -0
- package/web/chunk-yrhe7a7c.js +106 -0
- package/web/chunk-yrhe7a7c.js.br +0 -0
- package/web/chunk-yrhe7a7c.js.gz +0 -0
- package/web/chunk-z2aazpzj.js +2 -0
- package/web/chunk-z2aazpzj.js.br +0 -0
- package/web/chunk-z2aazpzj.js.gz +0 -0
- package/web/chunk-z43td5ad.js +1 -0
- package/web/chunk-z43td5ad.js.br +0 -0
- package/web/chunk-z43td5ad.js.gz +0 -0
- package/web/chunk-z8fgdsx5.js +1 -0
- package/web/chunk-z8fgdsx5.js.br +0 -0
- package/web/chunk-z8fgdsx5.js.gz +0 -0
- package/web/chunk-zf42y65m.js +1 -0
- package/web/chunk-zf42y65m.js.br +0 -0
- package/web/chunk-zf42y65m.js.gz +0 -0
- package/web/chunk-zj2rhf4b.js +200 -0
- package/web/chunk-zj2rhf4b.js.br +0 -0
- package/web/chunk-zj2rhf4b.js.gz +0 -0
- package/web/chunk-zkn84jhm.js +2 -0
- package/web/chunk-zkn84jhm.js.br +0 -0
- package/web/chunk-zkn84jhm.js.gz +0 -0
- package/web/index.html +27 -2
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/web/sw.js +39 -24
- package/web/sw.js.br +0 -0
- package/web/sw.js.gz +0 -0
- package/worker.js +1 -1
- package/chunk-00jhevnt.js +0 -3
- package/chunk-04tx0etc.js +0 -2
- package/chunk-0r86p29p.js +0 -7
- package/chunk-10x1zefx.js +0 -25
- package/chunk-1amcz1cz.js +0 -10
- package/chunk-1pfdps04.js +0 -2
- package/chunk-206g40v9.js +0 -59
- package/chunk-2364s958.js +0 -7
- package/chunk-3fv2qcpg.js +0 -12
- package/chunk-3zz4a5tn.js +0 -31
- package/chunk-45wfmdts.js +0 -44
- package/chunk-4hkwjw05.js +0 -2
- package/chunk-4n4wn5cj.js +0 -4014
- package/chunk-4pq7ycp2.js +0 -5
- package/chunk-5e0qfdgx.js +0 -5
- package/chunk-78yngmvf.js +0 -51
- package/chunk-7hpf9qq2.js +0 -3
- package/chunk-82dkdvs9.js +0 -2
- package/chunk-8913dkey.js +0 -3
- package/chunk-8g1sbmwf.js +0 -3
- package/chunk-8hfch7d0.js +0 -2
- package/chunk-90arpvgz.js +0 -2
- package/chunk-912knnfg.js +0 -11
- package/chunk-97bazdk3.js +0 -20
- package/chunk-9akexjfn.js +0 -2
- package/chunk-9dgmbwcc.js +0 -2
- package/chunk-a454ntda.js +0 -50
- package/chunk-acd2cwza.js +0 -3
- package/chunk-ach16jbw.js +0 -2
- package/chunk-ax823t5v.js +0 -3
- package/chunk-b03hg30w.js +0 -2
- package/chunk-bh29df86.js +0 -5
- package/chunk-bhpg72c4.js +0 -2
- package/chunk-bwww6j2q.js +0 -2
- package/chunk-c126k8wc.js +0 -2
- package/chunk-cb3jgak9.js +0 -3
- package/chunk-cjeyy6da.js +0 -3
- package/chunk-cs4gb2hb.js +0 -2
- package/chunk-en5t6hwd.js +0 -3
- package/chunk-f4n1csz0.js +0 -3
- package/chunk-j01t6mnq.js +0 -3
- package/chunk-j16smb6d.js +0 -2
- package/chunk-j7eqp97m.js +0 -2
- package/chunk-jdrqn8m1.js +0 -2
- package/chunk-jp1gqkbp.js +0 -4
- package/chunk-jrcvxscb.js +0 -9
- package/chunk-k8zq95wr.js +0 -2
- package/chunk-ken7ras9.js +0 -8
- package/chunk-kqgpjmcf.js +0 -2
- package/chunk-krbdx24j.js +0 -3
- package/chunk-ky2ym708.js +0 -8
- package/chunk-kzfy666j.js +0 -16
- package/chunk-n0stnnxv.js +0 -2
- package/chunk-n9m2pagh.js +0 -2
- package/chunk-nedvy6yk.js +0 -10
- package/chunk-ng5g0fy3.js +0 -3
- package/chunk-nqeqasyt.js +0 -7
- package/chunk-nt30x5a7.js +0 -3
- package/chunk-q1s5r204.js +0 -3
- package/chunk-qj0vfk01.js +0 -2
- package/chunk-qqfdg01g.js +0 -3
- package/chunk-rj6qknjx.js +0 -12
- package/chunk-rvrj0nrs.js +0 -3
- package/chunk-sbhj5h2q.js +0 -2
- package/chunk-t71zzafh.js +0 -3
- package/chunk-t7fwvzmh.js +0 -3
- package/chunk-tpv5hz99.js +0 -5
- package/chunk-tx2rrrtq.js +0 -2
- package/chunk-tyzzbhr5.js +0 -3
- package/chunk-tzbefwf0.js +0 -286
- package/chunk-v4p8807b.js +0 -18
- package/chunk-vnxjcym9.js +0 -17
- package/chunk-w35r8v6x.js +0 -39
- package/chunk-wbygknv2.js +0 -3
- package/chunk-wk63htqy.js +0 -2
- package/chunk-wwazj6mz.js +0 -3
- package/chunk-xpc75mkw.js +0 -25
- package/chunk-ypxn8bec.js +0 -3
- package/chunk-yztc2q9q.js +0 -490
- package/web/chunk-02z7yrhn.js +0 -2
- package/web/chunk-02z7yrhn.js.br +0 -0
- package/web/chunk-02z7yrhn.js.gz +0 -0
- package/web/chunk-0an1eqtf.js +0 -1
- package/web/chunk-0an1eqtf.js.br +0 -0
- package/web/chunk-0an1eqtf.js.gz +0 -0
- package/web/chunk-128zy60g.js +0 -99
- package/web/chunk-128zy60g.js.br +0 -0
- package/web/chunk-128zy60g.js.gz +0 -0
- package/web/chunk-1e2jy7m2.js +0 -139
- package/web/chunk-1e2jy7m2.js.br +0 -0
- package/web/chunk-1e2jy7m2.js.gz +0 -0
- package/web/chunk-1hmw1eaw.js +0 -1
- package/web/chunk-1hmw1eaw.js.br +0 -0
- package/web/chunk-1hmw1eaw.js.gz +0 -0
- package/web/chunk-1v3e001f.js +0 -1
- package/web/chunk-1v3e001f.js.br +0 -0
- package/web/chunk-1v3e001f.js.gz +0 -0
- package/web/chunk-20gcnbgn.js +0 -2
- package/web/chunk-20gcnbgn.js.br +0 -0
- package/web/chunk-20gcnbgn.js.gz +0 -0
- package/web/chunk-214p3rj6.js +0 -41
- package/web/chunk-214p3rj6.js.br +0 -0
- package/web/chunk-214p3rj6.js.gz +0 -0
- package/web/chunk-29byd5kf.js +0 -89
- package/web/chunk-29byd5kf.js.br +0 -0
- package/web/chunk-29byd5kf.js.gz +0 -0
- package/web/chunk-2nwvdqxm.js +0 -1
- package/web/chunk-2nwvdqxm.js.br +0 -0
- package/web/chunk-2nwvdqxm.js.gz +0 -0
- package/web/chunk-2wvgy7f4.js +0 -1
- package/web/chunk-2wvgy7f4.js.br +0 -0
- package/web/chunk-2wvgy7f4.js.gz +0 -0
- package/web/chunk-3fbh1wxk.js +0 -62
- package/web/chunk-3fbh1wxk.js.br +0 -0
- package/web/chunk-3fbh1wxk.js.gz +0 -0
- package/web/chunk-3fnrzj1h.js +0 -98
- package/web/chunk-3fnrzj1h.js.br +0 -0
- package/web/chunk-3fnrzj1h.js.gz +0 -0
- package/web/chunk-3g1095m7.js +0 -78
- package/web/chunk-3g1095m7.js.br +0 -0
- package/web/chunk-3g1095m7.js.gz +0 -0
- package/web/chunk-3nn7w4hw.js +0 -2
- package/web/chunk-3nn7w4hw.js.br +0 -0
- package/web/chunk-3nn7w4hw.js.gz +0 -0
- package/web/chunk-3qa8xcdr.js +0 -1
- package/web/chunk-3qa8xcdr.js.br +0 -0
- package/web/chunk-3qa8xcdr.js.gz +0 -0
- package/web/chunk-3x69jfmh.js +0 -332
- package/web/chunk-3x69jfmh.js.br +0 -0
- package/web/chunk-3x69jfmh.js.gz +0 -0
- package/web/chunk-414npx47.js +0 -1
- package/web/chunk-414npx47.js.br +0 -0
- package/web/chunk-414npx47.js.gz +0 -0
- package/web/chunk-4v6m77sv.css +0 -1
- package/web/chunk-4v6m77sv.css.br +0 -0
- package/web/chunk-4v6m77sv.css.gz +0 -0
- package/web/chunk-4vk6xma5.js +0 -1
- package/web/chunk-4vk6xma5.js.br +0 -0
- package/web/chunk-4vk6xma5.js.gz +0 -0
- package/web/chunk-50pdas2t.js +0 -1
- package/web/chunk-50pdas2t.js.br +0 -0
- package/web/chunk-50pdas2t.js.gz +0 -0
- package/web/chunk-56a6zytc.js +0 -1139
- package/web/chunk-56a6zytc.js.br +0 -0
- package/web/chunk-56a6zytc.js.gz +0 -0
- package/web/chunk-5ckj4zez.js +0 -1
- package/web/chunk-5ckj4zez.js.br +0 -2
- package/web/chunk-5ckj4zez.js.gz +0 -0
- package/web/chunk-5mr8z024.js +0 -2
- package/web/chunk-5mr8z024.js.br +0 -0
- package/web/chunk-5mr8z024.js.gz +0 -0
- package/web/chunk-5q4pemdh.js +0 -1
- package/web/chunk-5q4pemdh.js.br +0 -0
- package/web/chunk-5q4pemdh.js.gz +0 -0
- package/web/chunk-63ft76vs.js +0 -1
- package/web/chunk-63ft76vs.js.br +0 -0
- package/web/chunk-63ft76vs.js.gz +0 -0
- package/web/chunk-67ynxnvq.js +0 -8
- package/web/chunk-67ynxnvq.js.br +0 -0
- package/web/chunk-67ynxnvq.js.gz +0 -0
- package/web/chunk-6c2pv79h.js +0 -1
- package/web/chunk-6c2pv79h.js.br +0 -0
- package/web/chunk-6c2pv79h.js.gz +0 -0
- package/web/chunk-719tz8xw.js +0 -1
- package/web/chunk-719tz8xw.js.br +0 -0
- package/web/chunk-719tz8xw.js.gz +0 -0
- package/web/chunk-77nxgqqb.js +0 -4
- package/web/chunk-77nxgqqb.js.br +0 -0
- package/web/chunk-77nxgqqb.js.gz +0 -0
- package/web/chunk-7c59jb8d.js +0 -2
- package/web/chunk-7c59jb8d.js.br +0 -0
- package/web/chunk-7c59jb8d.js.gz +0 -0
- package/web/chunk-7ed5jf6e.js +0 -36
- package/web/chunk-7ed5jf6e.js.br +0 -0
- package/web/chunk-7ed5jf6e.js.gz +0 -0
- package/web/chunk-891bpx3c.js +0 -70
- package/web/chunk-891bpx3c.js.br +0 -0
- package/web/chunk-891bpx3c.js.gz +0 -0
- package/web/chunk-8h4dc48v.js +0 -292
- package/web/chunk-8h4dc48v.js.br +0 -0
- package/web/chunk-8h4dc48v.js.gz +0 -0
- package/web/chunk-96n00vam.js +0 -1
- package/web/chunk-96n00vam.js.br +0 -0
- package/web/chunk-96n00vam.js.gz +0 -0
- package/web/chunk-99c0h3v7.js +0 -1
- package/web/chunk-99c0h3v7.js.br +0 -0
- package/web/chunk-99c0h3v7.js.gz +0 -0
- package/web/chunk-9bs7khrr.js +0 -24
- package/web/chunk-9bs7khrr.js.br +0 -0
- package/web/chunk-9bs7khrr.js.gz +0 -0
- package/web/chunk-9ctyqr3n.js +0 -169
- package/web/chunk-9ctyqr3n.js.br +0 -0
- package/web/chunk-9ctyqr3n.js.gz +0 -0
- package/web/chunk-9qdx0ekk.js +0 -142
- package/web/chunk-9qdx0ekk.js.br +0 -0
- package/web/chunk-9qdx0ekk.js.gz +0 -0
- package/web/chunk-9r0rnt6d.js +0 -214
- package/web/chunk-9r0rnt6d.js.br +0 -0
- package/web/chunk-9r0rnt6d.js.gz +0 -0
- package/web/chunk-aan5qk6x.js +0 -1
- package/web/chunk-aan5qk6x.js.br +0 -0
- package/web/chunk-aan5qk6x.js.gz +0 -0
- package/web/chunk-ac9g3w7v.js +0 -1
- package/web/chunk-ac9g3w7v.js.br +0 -0
- package/web/chunk-ac9g3w7v.js.gz +0 -0
- package/web/chunk-ackts7ph.js +0 -24
- package/web/chunk-ackts7ph.js.br +0 -0
- package/web/chunk-ackts7ph.js.gz +0 -0
- package/web/chunk-asyqrf38.js +0 -1
- package/web/chunk-asyqrf38.js.br +0 -0
- package/web/chunk-asyqrf38.js.gz +0 -0
- package/web/chunk-b13crsv9.js +0 -1
- package/web/chunk-b13crsv9.js.br +0 -0
- package/web/chunk-b13crsv9.js.gz +0 -0
- package/web/chunk-brg2zcv5.js +0 -55
- package/web/chunk-brg2zcv5.js.br +0 -0
- package/web/chunk-brg2zcv5.js.gz +0 -0
- package/web/chunk-c3d08dw1.js +0 -1
- package/web/chunk-c3d08dw1.js.br +0 -0
- package/web/chunk-c3d08dw1.js.gz +0 -0
- package/web/chunk-cgwnzse1.js +0 -16
- package/web/chunk-cgwnzse1.js.br +0 -0
- package/web/chunk-cgwnzse1.js.gz +0 -0
- package/web/chunk-cm4fjb6j.js +0 -2
- package/web/chunk-cm4fjb6j.js.br +0 -0
- package/web/chunk-cm4fjb6j.js.gz +0 -0
- package/web/chunk-cys4n4sv.js +0 -1
- package/web/chunk-cys4n4sv.js.br +0 -0
- package/web/chunk-cys4n4sv.js.gz +0 -0
- package/web/chunk-d5n2yz4e.js +0 -2
- package/web/chunk-d5n2yz4e.js.br +0 -0
- package/web/chunk-d5n2yz4e.js.gz +0 -0
- package/web/chunk-djrvdzsb.js +0 -89
- package/web/chunk-djrvdzsb.js.br +0 -0
- package/web/chunk-djrvdzsb.js.gz +0 -0
- package/web/chunk-dsffzc1e.js +0 -2
- package/web/chunk-dsffzc1e.js.br +0 -0
- package/web/chunk-dsffzc1e.js.gz +0 -0
- package/web/chunk-e1wy8050.js +0 -370
- package/web/chunk-e1wy8050.js.br +0 -0
- package/web/chunk-e1wy8050.js.gz +0 -0
- package/web/chunk-e4cwyn1g.js +0 -2
- package/web/chunk-e4cwyn1g.js.br +0 -0
- package/web/chunk-e4cwyn1g.js.gz +0 -0
- package/web/chunk-ebknmxdp.js +0 -2
- package/web/chunk-ebknmxdp.js.br +0 -0
- package/web/chunk-ebknmxdp.js.gz +0 -0
- package/web/chunk-efjc9mga.js +0 -2
- package/web/chunk-efjc9mga.js.br +0 -0
- package/web/chunk-efjc9mga.js.gz +0 -0
- package/web/chunk-egjv760p.js +0 -2
- package/web/chunk-egjv760p.js.br +0 -0
- package/web/chunk-egjv760p.js.gz +0 -0
- package/web/chunk-etpd8y98.js +0 -1
- package/web/chunk-etpd8y98.js.br +0 -0
- package/web/chunk-etpd8y98.js.gz +0 -0
- package/web/chunk-f5kr9p2k.js +0 -1
- package/web/chunk-f5kr9p2k.js.br +0 -2
- package/web/chunk-f5kr9p2k.js.gz +0 -0
- package/web/chunk-f5wyg9zh.js +0 -2
- package/web/chunk-f5wyg9zh.js.br +0 -0
- package/web/chunk-f5wyg9zh.js.gz +0 -0
- package/web/chunk-fjhqg9ag.js +0 -2
- package/web/chunk-fjhqg9ag.js.br +0 -0
- package/web/chunk-fjhqg9ag.js.gz +0 -0
- package/web/chunk-ftdzs90e.js +0 -1
- package/web/chunk-ftdzs90e.js.br +0 -0
- package/web/chunk-ftdzs90e.js.gz +0 -0
- package/web/chunk-fyr6rm2p.js +0 -2
- package/web/chunk-fyr6rm2p.js.br +0 -0
- package/web/chunk-fyr6rm2p.js.gz +0 -0
- package/web/chunk-grjq1g15.js +0 -1
- package/web/chunk-grjq1g15.js.br +0 -0
- package/web/chunk-grjq1g15.js.gz +0 -0
- package/web/chunk-gvndjaan.js +0 -2
- package/web/chunk-gvndjaan.js.br +0 -0
- package/web/chunk-gvndjaan.js.gz +0 -0
- package/web/chunk-h4bzgvbg.js +0 -303
- package/web/chunk-h4bzgvbg.js.br +0 -0
- package/web/chunk-h4bzgvbg.js.gz +0 -0
- package/web/chunk-heen0v5d.js +0 -12
- package/web/chunk-heen0v5d.js.br +0 -0
- package/web/chunk-heen0v5d.js.gz +0 -0
- package/web/chunk-henez15c.js +0 -4
- package/web/chunk-henez15c.js.br +0 -0
- package/web/chunk-henez15c.js.gz +0 -0
- package/web/chunk-hpcvwdkg.js +0 -1
- package/web/chunk-hpcvwdkg.js.br +0 -0
- package/web/chunk-hpcvwdkg.js.gz +0 -0
- package/web/chunk-hpvyk6rz.js +0 -324
- package/web/chunk-hpvyk6rz.js.br +0 -0
- package/web/chunk-hpvyk6rz.js.gz +0 -0
- package/web/chunk-hzvff525.js +0 -2
- package/web/chunk-hzvff525.js.br +0 -0
- package/web/chunk-hzvff525.js.gz +0 -0
- package/web/chunk-j0dyf1g8.js +0 -2
- package/web/chunk-j0dyf1g8.js.br +0 -3
- package/web/chunk-j0dyf1g8.js.gz +0 -0
- package/web/chunk-jb89v31q.js +0 -1
- package/web/chunk-jb89v31q.js.br +0 -0
- package/web/chunk-jb89v31q.js.gz +0 -0
- package/web/chunk-jb949ewp.js +0 -217
- package/web/chunk-jb949ewp.js.br +0 -0
- package/web/chunk-jb949ewp.js.gz +0 -0
- package/web/chunk-je4bf95v.js +0 -1
- package/web/chunk-je4bf95v.js.br +0 -0
- package/web/chunk-je4bf95v.js.gz +0 -0
- package/web/chunk-js6c1973.js +0 -1
- package/web/chunk-js6c1973.js.br +0 -0
- package/web/chunk-js6c1973.js.gz +0 -0
- package/web/chunk-k140nr54.js +0 -1
- package/web/chunk-k140nr54.js.br +0 -0
- package/web/chunk-k140nr54.js.gz +0 -0
- package/web/chunk-k89686qj.js +0 -2
- package/web/chunk-k89686qj.js.br +0 -0
- package/web/chunk-k89686qj.js.gz +0 -0
- package/web/chunk-kknrn2wb.js +0 -84
- package/web/chunk-kknrn2wb.js.br +0 -0
- package/web/chunk-kknrn2wb.js.gz +0 -0
- package/web/chunk-mhtzdq9d.js +0 -140
- package/web/chunk-mhtzdq9d.js.br +0 -0
- package/web/chunk-mhtzdq9d.js.gz +0 -0
- package/web/chunk-mqdvg55y.js +0 -2
- package/web/chunk-mqdvg55y.js.br +0 -0
- package/web/chunk-mqdvg55y.js.gz +0 -0
- package/web/chunk-mrnj2k3v.js +0 -2
- package/web/chunk-mrnj2k3v.js.br +0 -0
- package/web/chunk-mrnj2k3v.js.gz +0 -0
- package/web/chunk-my0k5w7f.js +0 -39
- package/web/chunk-my0k5w7f.js.br +0 -0
- package/web/chunk-my0k5w7f.js.gz +0 -0
- package/web/chunk-n08727ym.js +0 -34
- package/web/chunk-n08727ym.js.br +0 -0
- package/web/chunk-n08727ym.js.gz +0 -0
- package/web/chunk-n5ghyxwk.js +0 -38
- package/web/chunk-n5ghyxwk.js.br +0 -0
- package/web/chunk-n5ghyxwk.js.gz +0 -0
- package/web/chunk-ngsv0xfb.js +0 -1
- package/web/chunk-ngsv0xfb.js.br +0 -0
- package/web/chunk-ngsv0xfb.js.gz +0 -0
- package/web/chunk-nt21rjrm.js +0 -21
- package/web/chunk-nt21rjrm.js.br +0 -0
- package/web/chunk-nt21rjrm.js.gz +0 -0
- package/web/chunk-nzgj9qx5.js +0 -2
- package/web/chunk-nzgj9qx5.js.br +0 -0
- package/web/chunk-nzgj9qx5.js.gz +0 -0
- package/web/chunk-p9wm0dv3.js +0 -1
- package/web/chunk-p9wm0dv3.js.br +0 -0
- package/web/chunk-p9wm0dv3.js.gz +0 -0
- package/web/chunk-pqh9yszs.js +0 -106
- package/web/chunk-pqh9yszs.js.br +0 -0
- package/web/chunk-pqh9yszs.js.gz +0 -0
- package/web/chunk-q0vsqq43.js +0 -1
- package/web/chunk-q0vsqq43.js.br +0 -0
- package/web/chunk-q0vsqq43.js.gz +0 -0
- package/web/chunk-qv5d69fn.js +0 -2
- package/web/chunk-qv5d69fn.js.br +0 -0
- package/web/chunk-qv5d69fn.js.gz +0 -0
- package/web/chunk-r7afv22v.js +0 -2
- package/web/chunk-r7afv22v.js.br +0 -0
- package/web/chunk-r7afv22v.js.gz +0 -0
- package/web/chunk-rc6at4k5.js +0 -291
- package/web/chunk-rc6at4k5.js.br +0 -0
- package/web/chunk-rc6at4k5.js.gz +0 -0
- package/web/chunk-rj1rp0tc.js +0 -1
- package/web/chunk-rj1rp0tc.js.br +0 -0
- package/web/chunk-rj1rp0tc.js.gz +0 -0
- package/web/chunk-rnsvrehz.js +0 -30
- package/web/chunk-rnsvrehz.js.br +0 -0
- package/web/chunk-rnsvrehz.js.gz +0 -0
- package/web/chunk-rsmhn1fq.js +0 -1
- package/web/chunk-rsmhn1fq.js.br +0 -0
- package/web/chunk-rsmhn1fq.js.gz +0 -0
- package/web/chunk-s00gxcxn.js +0 -2
- package/web/chunk-s00gxcxn.js.br +0 -0
- package/web/chunk-s00gxcxn.js.gz +0 -0
- package/web/chunk-s1p271av.js +0 -1
- package/web/chunk-s1p271av.js.br +0 -0
- package/web/chunk-s1p271av.js.gz +0 -0
- package/web/chunk-s6a13wxe.js +0 -2
- package/web/chunk-s6a13wxe.js.br +0 -0
- package/web/chunk-s6a13wxe.js.gz +0 -0
- package/web/chunk-sc4kwbnh.js +0 -1
- package/web/chunk-sc4kwbnh.js.br +0 -2
- package/web/chunk-sc4kwbnh.js.gz +0 -0
- package/web/chunk-scebh2ee.js +0 -1
- package/web/chunk-scebh2ee.js.br +0 -0
- package/web/chunk-scebh2ee.js.gz +0 -0
- package/web/chunk-shtkgxz6.js +0 -2
- package/web/chunk-shtkgxz6.js.br +0 -0
- package/web/chunk-shtkgxz6.js.gz +0 -0
- package/web/chunk-spmfwbhd.js +0 -1
- package/web/chunk-spmfwbhd.js.br +0 -0
- package/web/chunk-spmfwbhd.js.gz +0 -0
- package/web/chunk-svtenejf.js +0 -1
- package/web/chunk-svtenejf.js.br +0 -0
- package/web/chunk-svtenejf.js.gz +0 -0
- package/web/chunk-szwh742y.js +0 -2
- package/web/chunk-szwh742y.js.br +0 -0
- package/web/chunk-szwh742y.js.gz +0 -0
- package/web/chunk-t9z1bp8j.js +0 -3
- package/web/chunk-t9z1bp8j.js.br +0 -0
- package/web/chunk-t9z1bp8j.js.gz +0 -0
- package/web/chunk-tnttdgsc.js +0 -1
- package/web/chunk-tnttdgsc.js.br +0 -0
- package/web/chunk-tnttdgsc.js.gz +0 -0
- package/web/chunk-tntwwpyh.js +0 -2
- package/web/chunk-tntwwpyh.js.br +0 -0
- package/web/chunk-tntwwpyh.js.gz +0 -0
- package/web/chunk-tp3fpa0t.js +0 -1
- package/web/chunk-tp3fpa0t.js.br +0 -0
- package/web/chunk-tp3fpa0t.js.gz +0 -0
- package/web/chunk-txdkp6yc.js +0 -7
- package/web/chunk-txdkp6yc.js.br +0 -0
- package/web/chunk-txdkp6yc.js.gz +0 -0
- package/web/chunk-v34mwgx8.js +0 -1
- package/web/chunk-v34mwgx8.js.br +0 -0
- package/web/chunk-v34mwgx8.js.gz +0 -0
- package/web/chunk-vayamfxv.js +0 -1
- package/web/chunk-vayamfxv.js.br +0 -0
- package/web/chunk-vayamfxv.js.gz +0 -0
- package/web/chunk-vndrjeyr.js +0 -2
- package/web/chunk-vndrjeyr.js.br +0 -0
- package/web/chunk-vndrjeyr.js.gz +0 -0
- package/web/chunk-vtp01n96.js +0 -1
- package/web/chunk-vtp01n96.js.br +0 -0
- package/web/chunk-vtp01n96.js.gz +0 -0
- package/web/chunk-vx1qmkbm.js +0 -120
- package/web/chunk-vx1qmkbm.js.br +0 -0
- package/web/chunk-vx1qmkbm.js.gz +0 -0
- package/web/chunk-vxx451tt.js +0 -1
- package/web/chunk-vxx451tt.js.br +0 -0
- package/web/chunk-vxx451tt.js.gz +0 -0
- package/web/chunk-w8epfc0c.js +0 -1
- package/web/chunk-w8epfc0c.js.br +0 -0
- package/web/chunk-w8epfc0c.js.gz +0 -0
- package/web/chunk-wdd9pasx.js +0 -1
- package/web/chunk-wdd9pasx.js.br +0 -0
- package/web/chunk-wdd9pasx.js.gz +0 -0
- package/web/chunk-whgh2r7d.js +0 -200
- package/web/chunk-whgh2r7d.js.br +0 -0
- package/web/chunk-whgh2r7d.js.gz +0 -0
- package/web/chunk-x0p1n5ws.js +0 -1
- package/web/chunk-x0p1n5ws.js.br +0 -2
- package/web/chunk-x0p1n5ws.js.gz +0 -0
- package/web/chunk-x2tk9zeq.js +0 -1
- package/web/chunk-x2tk9zeq.js.br +0 -0
- package/web/chunk-x2tk9zeq.js.gz +0 -0
- package/web/chunk-xbt045kt.js +0 -1
- package/web/chunk-xbt045kt.js.br +0 -2
- package/web/chunk-xbt045kt.js.gz +0 -0
- package/web/chunk-xh3agbvb.js +0 -7
- package/web/chunk-xh3agbvb.js.br +0 -0
- package/web/chunk-xh3agbvb.js.gz +0 -0
- package/web/chunk-xpw1spgj.js +0 -40
- package/web/chunk-xpw1spgj.js.br +0 -0
- package/web/chunk-xpw1spgj.js.gz +0 -0
- package/web/chunk-y2jkaf1e.js +0 -2
- package/web/chunk-y2jkaf1e.js.br +0 -0
- package/web/chunk-y2jkaf1e.js.gz +0 -0
- package/web/chunk-yp2jydfj.js +0 -1
- package/web/chunk-yp2jydfj.js.br +0 -0
- package/web/chunk-yp2jydfj.js.gz +0 -0
- package/web/chunk-yxp1es3b.js +0 -1
- package/web/chunk-yxp1es3b.js.br +0 -0
- package/web/chunk-yxp1es3b.js.gz +0 -0
- package/web/chunk-yzrww95m.js +0 -7
- package/web/chunk-yzrww95m.js.br +0 -0
- package/web/chunk-yzrww95m.js.gz +0 -0
- package/web/chunk-z502b5p0.js +0 -1
- package/web/chunk-z502b5p0.js.br +0 -0
- package/web/chunk-z502b5p0.js.gz +0 -0
- package/web/chunk-zny7cya7.js +0 -1
- package/web/chunk-zny7cya7.js.br +0 -2
- package/web/chunk-zny7cya7.js.gz +0 -0
- package/web/chunk-zq1qbaxb.js +0 -2
- package/web/chunk-zq1qbaxb.js.br +0 -0
- package/web/chunk-zq1qbaxb.js.gz +0 -0
- /package/{chunk-h4bvkm6p.js → chunk-2h2mvrw2.js} +0 -0
- /package/{chunk-51f8zbj5.js → chunk-54zpktrq.js} +0 -0
- /package/{chunk-fqfjjhkj.js → chunk-aq6xkc1w.js} +0 -0
- /package/{chunk-chfzk1fx.js → chunk-et2s8y6a.js} +0 -0
- /package/{chunk-pa7yh2q3.js → chunk-fgpzy3fe.js} +0 -0
package/web/chunk-n08727ym.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{t,de,Wa,f,h,F,A,Y,L,M,R,P,I,O,D,g,J,Q,v}from"./chunk-h4bzgvbg.js";var ue=(e,s)=>Wa(e,"a",-s),St=ue;function kt(e,s){let i=he(e),n=i.filter((c)=>fe(c,e)),r=0,o=0,a=[];if(n.length>1){let c=Wt(n);for(let d=0;d<n.length;++d){let l=n[d];l.angle=Math.atan2(l.x-c.x,l.y-c.y)}n.sort((d,l)=>l.angle-d.angle);let x=n[n.length-1];for(let d=0;d<n.length;++d){let l=n[d];o+=(x.x+l.x)*(l.y-x.y);let k={x:(l.x+x.x)/2,y:(l.y+x.y)/2},p=null;for(let _=0;_<l.parentIndex.length;++_)if(x.parentIndex.includes(l.parentIndex[_])){let S=e[l.parentIndex[_]],C=Math.atan2(l.x-S.x,l.y-S.y),B=Math.atan2(x.x-S.x,x.y-S.y),j=B-C;if(j<0)j+=2*Math.PI;let N=B-j/2,m=ot(k,{x:S.x+S.radius*Math.sin(N),y:S.y+S.radius*Math.cos(N)});if(m>S.radius*2)m=S.radius*2;if(p==null||p.width>m)p={circle:S,width:m,p1:l,p2:x,large:m>S.radius,sweep:!0}}if(p!=null)a.push(p),r+=Et(p.circle.radius,p.width),x=l}}else{let c=e[0];for(let d=1;d<e.length;++d)if(e[d].radius<c.radius)c=e[d];let x=!1;for(let d=0;d<e.length;++d)if(ot(e[d],c)>Math.abs(c.radius-e[d].radius)){x=!0;break}if(x)r=o=0;else r=c.radius*c.radius*Math.PI,a.push({circle:c,p1:{x:c.x,y:c.y+c.radius},p2:{x:c.x-0.0000000001,y:c.y+c.radius},width:c.radius*2,large:!0,sweep:!0})}if(o/=2,s)s.area=r+o,s.arcArea=r,s.polygonArea=o,s.arcs=a,s.innerPoints=n,s.intersectionPoints=i;return r+o}function fe(e,s){return s.every((i)=>ot(e,i)<i.radius+0.0000000001)}function he(e){let s=[];for(let i=0;i<e.length;++i)for(let n=i+1;n<e.length;++n){let r=Gt(e[i],e[n]);for(let o of r)o.parentIndex=[i,n],s.push(o)}return s}function Et(e,s){return e*e*Math.acos(1-s/e)-(e-s)*Math.sqrt(s*(2*e-s))}function ot(e,s){return Math.sqrt((e.x-s.x)*(e.x-s.x)+(e.y-s.y)*(e.y-s.y))}function Rt(e,s,i){if(i>=e+s)return 0;if(i<=Math.abs(e-s))return Math.PI*Math.min(e,s)*Math.min(e,s);let n=e-(i*i-s*s+e*e)/(2*i),r=s-(i*i-e*e+s*s)/(2*i);return Et(e,n)+Et(s,r)}function Gt(e,s){let i=ot(e,s),n=e.radius,r=s.radius;if(i>=n+r||i<=Math.abs(n-r))return[];let o=(n*n-r*r+i*i)/(2*i),a=Math.sqrt(n*n-o*o),c=e.x+o*(s.x-e.x)/i,x=e.y+o*(s.y-e.y)/i,d=-(s.y-e.y)*(a/i),l=-(s.x-e.x)*(a/i);return[{x:c+d,y:x-l},{x:c-d,y:x+l}]}function Wt(e){let s={x:0,y:0};for(let i of e)s.x+=i.x,s.y+=i.y;return s.x/=e.length,s.y/=e.length,s}function ge(e,s,i,n){n=n||{};let r=n.maxIterations||100,o=n.tolerance||0.0000000001,a=e(s),c=e(i),x=i-s;if(a*c>0)throw"Initial bisect points must have opposite signs";if(a===0)return s;if(c===0)return i;for(let d=0;d<r;++d){x/=2;let l=s+x,k=e(l);if(k*a>=0)s=l;if(Math.abs(x)<o||k===0)return l}return s+x}function Tt(e){let s=Array(e);for(let i=0;i<e;++i)s[i]=0;return s}function qt(e,s){return Tt(e).map(()=>Tt(s))}function pt(e,s){let i=0;for(let n=0;n<e.length;++n)i+=e[n]*s[n];return i}function zt(e){return Math.sqrt(pt(e,e))}function At(e,s,i){for(let n=0;n<s.length;++n)e[n]=s[n]*i}function gt(e,s,i,n,r){for(let o=0;o<e.length;++o)e[o]=s*i[o]+n*r[o]}function Kt(e,s,i){i=i||{};let n=i.maxIterations||s.length*200,r=i.nonZeroDelta||1.05,o=i.zeroDelta||0.001,a=i.minErrorDelta||0.000001,c=i.minErrorDelta||0.00001,x=i.rho!==void 0?i.rho:1,d=i.chi!==void 0?i.chi:2,l=i.psi!==void 0?i.psi:-0.5,k=i.sigma!==void 0?i.sigma:0.5,p,_=s.length,S=Array(_+1);S[0]=s,S[0].fx=e(s),S[0].id=0;for(let E=0;E<_;++E){let u=s.slice();u[E]=u[E]?u[E]*r:o,S[E+1]=u,S[E+1].fx=e(u),S[E+1].id=E+1}function C(E){for(let u=0;u<E.length;u++)S[_][u]=E[u];S[_].fx=E.fx}let B=(E,u)=>E.fx-u.fx,j=s.slice(),N=s.slice(),m=s.slice(),w=s.slice();for(let E=0;E<n;++E){if(S.sort(B),i.history){let b=S.map((y)=>{let G=y.slice();return G.fx=y.fx,G.id=y.id,G});b.sort((y,G)=>y.id-G.id),i.history.push({x:S[0].slice(),fx:S[0].fx,simplex:b})}p=0;for(let b=0;b<_;++b)p=Math.max(p,Math.abs(S[0][b]-S[1][b]));if(Math.abs(S[0].fx-S[_].fx)<a&&p<c)break;for(let b=0;b<_;++b){j[b]=0;for(let y=0;y<_;++y)j[b]+=S[y][b];j[b]/=_}let u=S[_];if(gt(N,1+x,j,-x,u),N.fx=e(N),N.fx<S[0].fx)if(gt(w,1+d,j,-d,u),w.fx=e(w),w.fx<N.fx)C(w);else C(N);else if(N.fx>=S[_-1].fx){let b=!1;if(N.fx>u.fx)if(gt(m,1+l,j,-l,u),m.fx=e(m),m.fx<u.fx)C(m);else b=!0;else if(gt(m,1-l*x,j,l*x,u),m.fx=e(m),m.fx<N.fx)C(m);else b=!0;if(b){if(k>=1)break;for(let y=1;y<S.length;++y)gt(S[y],1-k,S[0],k,S[y]),S[y].fx=e(S[y])}}else C(N)}return S.sort(B),{fx:S[0].fx,x:S[0]}}function xe(e,s,i,n,r,o,a){let c=i.fx,x=pt(i.fxprime,s),d=c,l=c,k=x,p=0;r=r||1,o=o||0.000001,a=a||0.1;function _(S,C,B){for(let j=0;j<16;++j)if(r=(S+C)/2,gt(n.x,1,i.x,r,s),d=n.fx=e(n.x,n.fxprime),k=pt(n.fxprime,s),d>c+o*r*x||d>=B)C=r;else{if(Math.abs(k)<=-a*x)return r;if(k*(C-S)>=0)C=S;S=r,B=d}return 0}for(let S=0;S<10;++S){if(gt(n.x,1,i.x,r,s),d=n.fx=e(n.x,n.fxprime),k=pt(n.fxprime,s),d>c+o*r*x||S&&d>=l)return _(p,r,l);if(Math.abs(k)<=-a*x)return r;if(k>=0)return _(r,p,d);l=d,p=r,r*=2}return r}function ye(e,s,i){let n={x:s.slice(),fx:0,fxprime:s.slice()},r={x:s.slice(),fx:0,fxprime:s.slice()},o=s.slice(),a,c,x=1,d;i=i||{},d=i.maxIterations||s.length*20,n.fx=e(n.x,n.fxprime),a=n.fxprime.slice(),At(a,n.fxprime,-1);for(let l=0;l<d;++l){if(x=xe(e,a,n,r,x),i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:x});if(!x)At(a,n.fxprime,-1);else{gt(o,1,r.fxprime,-1,n.fxprime);let k=pt(n.fxprime,n.fxprime),p=Math.max(0,pt(o,r.fxprime)/k);gt(a,p,a,-1,r.fxprime),c=n,n=r,r=c}if(zt(n.fxprime)<=0.00001)break}if(i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:x});return n}function Ht(e,s={}){s.maxIterations=s.maxIterations||500;let i=s.initialLayout||ve,n=s.lossFunction||mt,r=pe(e,s),o=i(r,s),a=Object.keys(o),c=[];for(let l of a)c.push(o[l].x),c.push(o[l].y);let d=Kt((l)=>{let k={};for(let p=0;p<a.length;++p){let _=a[p];k[_]={x:l[2*p],y:l[2*p+1],radius:o[_].radius}}return n(k,r)},c,s).x;for(let l=0;l<a.length;++l){let k=a[l];o[k].x=d[2*l],o[k].y=d[2*l+1]}return o}var Yt=0.0000000001;function Ct(e,s,i){if(Math.min(e,s)*Math.min(e,s)*Math.PI<=i+Yt)return Math.abs(e-s);return ge((n)=>Rt(e,s,n)-i,0,e+s)}function pe(e,s={}){let i=s.distinct,n=e.map((c)=>Object.assign({},c));function r(c){return c.join(";")}if(i){let c=new Map;for(let x of n)for(let d=0;d<x.sets.length;d++){let l=String(x.sets[d]);c.set(l,x.size+(c.get(l)||0));for(let k=d+1;k<x.sets.length;k++){let p=String(x.sets[k]),_=`${l};${p}`,S=`${p};${l}`;c.set(_,x.size+(c.get(_)||0)),c.set(S,x.size+(c.get(S)||0))}}for(let x of n)if(x.sets.length<3)x.size=c.get(r(x.sets))}let o=[],a=new Set;for(let c of n)if(c.sets.length===1)o.push(c.sets[0]);else if(c.sets.length===2){let x=c.sets[0],d=c.sets[1];a.add(r(c.sets)),a.add(r([d,x]))}o.sort((c,x)=>c===x?0:c<x?-1:1);for(let c=0;c<o.length;++c){let x=o[c];for(let d=c+1;d<o.length;++d){let l=o[d];if(!a.has(r([x,l])))n.push({sets:[x,l],size:0})}}return n}function me(e,s,i){let n=qt(s.length,s.length),r=qt(s.length,s.length);return e.filter((o)=>o.sets.length===2).forEach((o)=>{let a=i[o.sets[0]],c=i[o.sets[1]],x=Math.sqrt(s[a].size/Math.PI),d=Math.sqrt(s[c].size/Math.PI),l=Ct(x,d,o.size);n[a][c]=n[c][a]=l;let k=0;if(o.size+0.0000000001>=Math.min(s[a].size,s[c].size))k=1;else if(o.size<=0.0000000001)k=-1;r[a][c]=r[c][a]=k}),{distances:n,constraints:r}}function be(e,s,i,n){for(let o=0;o<s.length;++o)s[o]=0;let r=0;for(let o=0;o<i.length;++o){let a=e[2*o],c=e[2*o+1];for(let x=o+1;x<i.length;++x){let d=e[2*x],l=e[2*x+1],k=i[o][x],p=n[o][x],_=(d-a)*(d-a)+(l-c)*(l-c),S=Math.sqrt(_),C=_-k*k;if(p>0&&S<=k||p<0&&S>=k)continue;r+=2*C*C,s[2*o]+=4*C*(a-d),s[2*o+1]+=4*C*(c-l),s[2*x]+=4*C*(d-a),s[2*x+1]+=4*C*(l-c)}}return r}function ve(e,s={}){let i=Ie(e,s),n=s.lossFunction||mt;if(e.length>=8){let r=ke(e,s),o=n(r,e),a=n(i,e);if(o+0.00000001<a)i=r}return i}function ke(e,s={}){let i=s.restarts||10,n=[],r={};for(let p of e)if(p.sets.length===1)r[p.sets[0]]=n.length,n.push(p);let{distances:o,constraints:a}=me(e,n,r),c=zt(o.map(zt))/o.length;o=o.map((p)=>p.map((_)=>_/c));let x=(p,_)=>be(p,_,o,a),d=null;for(let p=0;p<i;++p){let _=Tt(o.length*2).map(Math.random),S=ye(x,_,s);if(!d||S.fx<d.fx)d=S}let l=d.x,k={};for(let p=0;p<n.length;++p){let _=n[p];k[_.sets[0]]={x:l[2*p]*c,y:l[2*p+1]*c,radius:Math.sqrt(_.size/Math.PI)}}if(s.history)for(let p of s.history)At(p.x,c);return k}function Ie(e,s){let i=s&&s.lossFunction?s.lossFunction:mt,n={},r={};for(let k of e)if(k.sets.length===1){let p=k.sets[0];n[p]={x:10000000000,y:10000000000,rowid:n.length,size:k.size,radius:Math.sqrt(k.size/Math.PI)},r[p]=[]}e=e.filter((k)=>k.sets.length===2);for(let k of e){let p=k.weight!=null?k.weight:1,_=k.sets[0],S=k.sets[1];if(k.size+Yt>=Math.min(n[_].size,n[S].size))p=0;r[_].push({set:S,size:k.size,weight:p}),r[S].push({set:_,size:k.size,weight:p})}let o=[];Object.keys(r).forEach((k)=>{let p=0;for(let _=0;_<r[k].length;++_)p+=r[k][_].size*r[k][_].weight;o.push({set:k,size:p})});function a(k,p){return p.size-k.size}o.sort(a);let c={};function x(k){return k.set in c}function d(k,p){n[p].x=k.x,n[p].y=k.y,c[p]=!0}d({x:0,y:0},o[0].set);for(let k=1;k<o.length;++k){let p=o[k].set,_=r[p].filter(x),S=n[p];if(_.sort(a),_.length===0)throw"ERROR: missing pairwise overlap information";let C=[];for(var l=0;l<_.length;++l){let N=n[_[l].set],m=Ct(S.radius,N.radius,_[l].size);C.push({x:N.x+m,y:N.y}),C.push({x:N.x-m,y:N.y}),C.push({y:N.y+m,x:N.x}),C.push({y:N.y-m,x:N.x});for(let w=l+1;w<_.length;++w){let E=n[_[w].set],u=Ct(S.radius,E.radius,_[w].size),b=Gt({x:N.x,y:N.y,radius:m},{x:E.x,y:E.y,radius:u});C.push(...b)}}let B=100000000000000000000000000000000000000000000000000,j=C[0];for(let N of C){n[p].x=N.x,n[p].y=N.y;let m=i(n,e);if(m<B)B=m,j=N}d(j,p)}return n}function mt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let a=e[n.sets[0]],c=e[n.sets[1]];r=Rt(a.radius,c.radius,ot(a,c))}else r=kt(n.sets.map((a)=>e[a]));let o=n.weight!=null?n.weight:1;i+=o*(r-n.size)*(r-n.size)}return i}function Xt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let c=e[n.sets[0]],x=e[n.sets[1]];r=Rt(c.radius,x.radius,ot(c,x))}else r=kt(n.sets.map((c)=>e[c]));let o=n.weight!=null?n.weight:1,a=Math.log((r+1)/(n.size+1));i+=o*a*a}return i}function Me(e,s,i){if(i==null)e.sort((r,o)=>o.radius-r.radius);else e.sort(i);if(e.length>0){let r=e[0].x,o=e[0].y;for(let a of e)a.x-=r,a.y-=o}if(e.length===2){if(ot(e[0],e[1])<Math.abs(e[1].radius-e[0].radius))e[1].x=e[0].x+e[0].radius-e[1].radius-0.0000000001,e[1].y=e[0].y}if(e.length>1){let r=Math.atan2(e[1].x,e[1].y)-s,o=Math.cos(r),a=Math.sin(r);for(let c of e){let{x,y:d}=c;c.x=o*x-a*d,c.y=a*x+o*d}}if(e.length>2){let r=Math.atan2(e[2].x,e[2].y)-s;while(r<0)r+=2*Math.PI;while(r>2*Math.PI)r-=2*Math.PI;if(r>Math.PI){let o=e[1].y/(0.0000000001+e[1].x);for(let a of e){var n=(a.x+o*a.y)/(1+o*o);a.x=2*n-a.x,a.y=2*n*o-a.y}}}}function Se(e){e.forEach((r)=>{r.parent=r});function s(r){if(r.parent!==r)r.parent=s(r.parent);return r.parent}function i(r,o){let a=s(r),c=s(o);a.parent=c}for(let r=0;r<e.length;++r)for(let o=r+1;o<e.length;++o){let a=e[r].radius+e[o].radius;if(ot(e[r],e[o])+0.0000000001<a)i(e[o],e[r])}let n=new Map;for(let r=0;r<e.length;++r){let o=s(e[r]).parent.setid;if(!n.has(o))n.set(o,[]);n.get(o).push(e[r])}return e.forEach((r)=>{delete r.parent}),Array.from(n.values())}function Dt(e){let s=(i)=>{let n=e.reduce((o,a)=>Math.max(o,a[i]+a.radius),Number.NEGATIVE_INFINITY),r=e.reduce((o,a)=>Math.min(o,a[i]-a.radius),Number.POSITIVE_INFINITY);return{max:n,min:r}};return{xRange:s("x"),yRange:s("y")}}function Zt(e,s,i){if(s==null)s=Math.PI/2;let n=$t(e).map((d)=>Object.assign({},d)),r=Se(n);for(let d of r){Me(d,s,i);let l=Dt(d);d.size=(l.xRange.max-l.xRange.min)*(l.yRange.max-l.yRange.min),d.bounds=l}r.sort((d,l)=>l.size-d.size),n=r[0];let o=n.bounds,a=(o.xRange.max-o.xRange.min)/50;function c(d,l,k){if(!d)return;let p=d.bounds,_,S;if(l)_=o.xRange.max-p.xRange.min+a;else{_=o.xRange.max-p.xRange.max;let C=(p.xRange.max-p.xRange.min)/2-(o.xRange.max-o.xRange.min)/2;if(C<0)_+=C}if(k)S=o.yRange.max-p.yRange.min+a;else{S=o.yRange.max-p.yRange.max;let C=(p.yRange.max-p.yRange.min)/2-(o.yRange.max-o.yRange.min)/2;if(C<0)S+=C}for(let C of d)C.x+=_,C.y+=S,n.push(C)}let x=1;while(x<r.length)c(r[x],!0,!1),c(r[x+1],!1,!0),c(r[x+2],!0,!0),x+=3,o=Dt(n);return Qt(n)}function Jt(e,s,i,n,r){let o=$t(e);s-=2*n,i-=2*n;let{xRange:a,yRange:c}=Dt(o);if(a.max===a.min||c.max===c.min)return console.log("not scaling solution: zero size detected"),e;let x,d;if(r){let _=Math.sqrt(r/Math.PI)*2;x=s/_,d=i/_}else x=s/(a.max-a.min),d=i/(c.max-c.min);let l=Math.min(d,x),k=(s-(a.max-a.min)*l)/2,p=(i-(c.max-c.min)*l)/2;return Qt(o.map((_)=>({radius:l*_.radius,x:n+k+(_.x-a.min)*l,y:n+p+(_.y-c.min)*l,setid:_.setid})))}function Qt(e){let s={};for(let i of e)s[i.setid]=i;return s}function $t(e){return Object.keys(e).map((i)=>Object.assign(e[i],{setid:i}))}function te(e={}){let s=!1,i=600,n=350,r=15,o=1000,a=Math.PI/2,c=!0,x=null,d=!0,l=!0,k=null,p=null,_=!1,S=null,C=e&&e.symmetricalTextCentre?e.symmetricalTextCentre:!1,B={},j=e&&e.colourScheme?e.colourScheme:e&&e.colorScheme?e.colorScheme:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],N=0,m=function(b){if(b in B)return B[b];var y=B[b]=j[N];if(N+=1,N>=j.length)N=0;return y},w=Ht,E=mt;function u(b){let y=b.datum(),G=new Set;y.forEach((T)=>{if(T.size==0&&T.sets.length==1)G.add(T.sets[0])}),y=y.filter((T)=>!T.sets.some((X)=>G.has(X)));let z={},W={};if(y.length>0){let T=w(y,{lossFunction:E,distinct:_});if(c)T=Zt(T,a,p);z=Jt(T,i,n,r,x),W=ne(z,y,C)}let at={};y.forEach((T)=>{if(T.label)at[T.sets]=T.label});function nt(T){if(T.sets in at)return at[T.sets];if(T.sets.length==1)return""+T.sets[0]}b.selectAll("svg").data([z]).enter().append("svg");let H=b.select("svg");if(s)H.attr("viewBox",`0 0 ${i} ${n}`);else H.attr("width",i).attr("height",n);let U={},K=!1;H.selectAll(".venn-area path").each(function(T){let X=this.getAttribute("d");if(T.sets.length==1&&X&&!_)K=!0,U[T.sets[0]]=Ee(X)});function V(T){return(X)=>{let yt=T.sets.map((dt)=>{let ht=U[dt],rt=z[dt];if(!ht)ht={x:i/2,y:n/2,radius:1};if(!rt)rt={x:i/2,y:n/2,radius:1};return{x:ht.x*(1-X)+rt.x*X,y:ht.y*(1-X)+rt.y*X,radius:ht.radius*(1-X)+rt.radius*X}});return Ut(yt,S)}}let Z=H.selectAll(".venn-area").data(y,(T)=>T.sets),st=Z.enter().append("g").attr("class",(T)=>`venn-area venn-${T.sets.length==1?"circle":"intersection"}${T.colour||T.color?" venn-coloured":""}`).attr("data-venn-sets",(T)=>T.sets.join("_")),tt=st.append("path"),lt=st.append("text").attr("class","label").text((T)=>nt(T)).attr("text-anchor","middle").attr("dy",".35em").attr("x",i/2).attr("y",n/2);if(l)tt.style("fill-opacity","0").filter((T)=>T.sets.length==1).style("fill",(T)=>T.colour?T.colour:T.color?T.color:m(T.sets)).style("fill-opacity",".25"),lt.style("fill",(T)=>{if(T.colour||T.color)return"#FFF";if(e.textFill)return e.textFill;return T.sets.length==1?m(T.sets):"#444"});function it(T){if(typeof T.transition==="function")return T.transition("venn").duration(o);return T}let et=b;if(K&&typeof et.transition==="function")et=it(b),et.selectAll("path").attrTween("d",V);else et.selectAll("path").attr("d",(T)=>Ut(T.sets.map((X)=>z[X])),S);let q=et.selectAll("text").filter((T)=>(T.sets in W)).text((T)=>nt(T)).attr("x",(T)=>Math.floor(W[T.sets].x)).attr("y",(T)=>Math.floor(W[T.sets].y));if(d)if(K)if("on"in q)q.on("end",wt(z,nt));else q.each("end",wt(z,nt));else q.each(wt(z,nt));let ft=it(Z.exit()).remove();if(typeof Z.transition==="function")ft.selectAll("path").attrTween("d",V);let ut=ft.selectAll("text").attr("x",i/2).attr("y",n/2);if(k!==null)lt.style("font-size","0px"),q.style("font-size",k),ut.style("font-size","0px");return{circles:z,textCentres:W,nodes:Z,enter:st,update:et,exit:ft}}return u.wrap=function(b){if(!arguments.length)return d;return d=b,u},u.useViewBox=function(){return s=!0,u},u.width=function(b){if(!arguments.length)return i;return i=b,u},u.height=function(b){if(!arguments.length)return n;return n=b,u},u.padding=function(b){if(!arguments.length)return r;return r=b,u},u.distinct=function(b){if(!arguments.length)return _;return _=b,u},u.colours=function(b){if(!arguments.length)return m;return m=b,u},u.colors=function(b){if(!arguments.length)return m;return m=b,u},u.fontSize=function(b){if(!arguments.length)return k;return k=b,u},u.round=function(b){if(!arguments.length)return S;return S=b,u},u.duration=function(b){if(!arguments.length)return o;return o=b,u},u.layoutFunction=function(b){if(!arguments.length)return w;return w=b,u},u.normalize=function(b){if(!arguments.length)return c;return c=b,u},u.scaleToFit=function(b){if(!arguments.length)return x;return x=b,u},u.styled=function(b){if(!arguments.length)return l;return l=b,u},u.orientation=function(b){if(!arguments.length)return a;return a=b,u},u.orientationOrder=function(b){if(!arguments.length)return p;return p=b,u},u.lossFunction=function(b){if(!arguments.length)return E;return E=b==="default"?mt:b==="logRatio"?Xt:b,u},u}function wt(e,s){return function(i){let n=this,r=e[i.sets[0]].radius||50,o=s(i)||"",a=o.split(/\s+/).reverse(),c=3,x=(o.length+a.length)/3,d=a.pop(),l=[d],k=0,p=1.1;n.textContent=null;let _=[];function S(m){let w=n.ownerDocument.createElementNS(n.namespaceURI,"tspan");return w.textContent=m,_.push(w),n.append(w),w}let C=S(d);while(!0){if(d=a.pop(),!d)break;l.push(d);let m=l.join(" ");if(C.textContent=m,m.length>x&&C.getComputedTextLength()>r)l.pop(),C.textContent=l.join(" "),l=[d],C=S(d),k++}let B=0.35-k*p/2,j=n.getAttribute("x"),N=n.getAttribute("y");_.forEach((m,w)=>{m.setAttribute("x",j),m.setAttribute("y",N),m.setAttribute("dy",`${B+w*p}em`)})}}function _t(e,s,i){let n=s[0].radius-ot(s[0],e);for(let r=1;r<s.length;++r){let o=s[r].radius-ot(s[r],e);if(o<=n)n=o}for(let r=0;r<i.length;++r){let o=ot(i[r],e)-i[r].radius;if(o<=n)n=o}return n}function ee(e,s,i){let n=[];for(let l of e)n.push({x:l.x,y:l.y}),n.push({x:l.x+l.radius/2,y:l.y}),n.push({x:l.x-l.radius/2,y:l.y}),n.push({x:l.x,y:l.y+l.radius/2}),n.push({x:l.x,y:l.y-l.radius/2});let r=n[0],o=_t(n[0],e,s);for(let l=1;l<n.length;++l){let k=_t(n[l],e,s);if(k>=o)r=n[l],o=k}let a=Kt((l)=>-1*_t({x:l[0],y:l[1]},e,s),[r.x,r.y],{maxIterations:500,minErrorDelta:0.0000000001}).x,c={x:i?0:a[0],y:a[1]},x=!0;for(let l of e)if(ot(c,l)>l.radius){x=!1;break}for(let l of s)if(ot(c,l)<l.radius){x=!1;break}if(x)return c;if(e.length==1)return{x:e[0].x,y:e[0].y};let d={};if(kt(e,d),d.arcs.length===0)return{x:0,y:-1000,disjoint:!0};if(d.arcs.length==1)return{x:d.arcs[0].circle.x,y:d.arcs[0].circle.y};if(s.length)return ee(e,[]);return Wt(d.arcs.map((l)=>l.p1))}function we(e){let s={},i=Object.keys(e);for(let n of i)s[n]=[];for(let n=0;n<i.length;n++){let r=i[n],o=e[r];for(let a=n+1;a<i.length;++a){let c=i[a],x=e[c],d=ot(o,x);if(d+x.radius<=o.radius+0.0000000001)s[c].push(r);else if(d+o.radius<=x.radius+0.0000000001)s[r].push(c)}}return s}function ne(e,s,i){let n={},r=we(e);for(let o=0;o<s.length;++o){let a=s[o].sets,c={},x={};for(let p=0;p<a.length;++p){c[a[p]]=!0;let _=r[a[p]];for(let S=0;S<_.length;++S)x[_[S]]=!0}let d=[],l=[];for(let p in e)if(p in c)d.push(e[p]);else if(!(p in x))l.push(e[p]);let k=ee(d,l,i);if(n[a]=k,k.disjoint&&s[o].size>0)console.log("WARNING: area "+a+" not represented on screen")}return n}function _e(e,s,i){let n=[];return n.push(`
|
|
2
|
-
M`,e,s),n.push(`
|
|
3
|
-
m`,-i,0),n.push(`
|
|
4
|
-
a`,i,i,0,1,0,i*2,0),n.push(`
|
|
5
|
-
a`,i,i,0,1,0,-i*2,0),n.join(" ")}function Ee(e){let s=e.split(" ");return{x:Number.parseFloat(s[1]),y:Number.parseFloat(s[2]),radius:-Number.parseFloat(s[4])}}function se(e){if(e.length===0)return[];let s={};return kt(e,s),s.arcs}function ie(e,s){if(e.length===0)return"M 0 0";let i=Math.pow(10,s||0),n=s!=null?(o)=>Math.round(o*i)/i:(o)=>o;if(e.length==1){let o=e[0].circle;return _e(n(o.x),n(o.y),n(o.radius))}let r=[`
|
|
6
|
-
M`,n(e[0].p2.x),n(e[0].p2.y)];for(let o of e){let a=n(o.circle.radius);r.push(`
|
|
7
|
-
A`,a,a,0,o.large?1:0,o.sweep?1:0,n(o.p1.x),n(o.p1.y))}return r.join(" ")}function Ut(e,s){return ie(se(e),s)}function re(e,s={}){let{lossFunction:i,layoutFunction:n=Ht,normalize:r=!0,orientation:o=Math.PI/2,orientationOrder:a,width:c=600,height:x=350,padding:d=15,scaleToFit:l=!1,symmetricalTextCentre:k=!1,distinct:p,round:_=2}=s,S=n(e,{lossFunction:i==="default"||!i?mt:i==="logRatio"?Xt:i,distinct:p});if(r)S=Zt(S,o,a);let C=Jt(S,c,x,d,l),B=ne(C,e,k),j=new Map(Object.keys(C).map((w)=>[w,{set:w,x:C[w].x,y:C[w].y,radius:C[w].radius}])),N=e.map((w)=>{let E=w.sets.map((y)=>j.get(y)),u=se(E),b=ie(u,_);return{circles:E,arcs:u,path:b,area:w,has:new Set(w.sets)}});function m(w){let E="";for(let u of N)if(u.has.size>w.length&&w.every((b)=>u.has.has(b)))E+=" "+u.path;return E}return N.map(({circles:w,arcs:E,path:u,area:b})=>({data:b,text:B[b.sets],circles:w,arcs:E,path:u,distinctPath:u+m(b.sets)}))}var Nt=function(){var e=t(function(N,m,w,E){for(w=w||{},E=N.length;E--;w[N[E]]=m);return w},"o"),s=[5,8],i=[7,8,11,12,17,19,22,24],n=[1,17],r=[1,18],o=[7,8,11,12,14,15,16,17,19,20,21,22,24,27],a=[1,31],c=[1,39],x=[7,8,11,12,17,19,22,24,27],d=[1,57],l=[1,56],k=[1,58],p=[1,59],_=[1,60],S=[7,8,11,12,16,17,19,20,22,24,27,31,32,33],C={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,optNewlines:4,VENN:5,document:6,EOF:7,NEWLINE:8,line:9,statement:10,TITLE:11,SET:12,identifier:13,BRACKET_LABEL:14,COLON:15,NUMERIC:16,UNION:17,identifierList:18,TEXT:19,IDENTIFIER:20,STRING:21,INDENT_TEXT:22,indentedTextTail:23,STYLE:24,stylesOpt:25,styleField:26,COMMA:27,styleValue:28,valueTokens:29,valueToken:30,HEXCOLOR:31,RGBCOLOR:32,RGBACOLOR:33,$accept:0,$end:1},terminals_:{2:"error",5:"VENN",7:"EOF",8:"NEWLINE",11:"TITLE",12:"SET",14:"BRACKET_LABEL",15:"COLON",16:"NUMERIC",17:"UNION",19:"TEXT",20:"IDENTIFIER",21:"STRING",22:"INDENT_TEXT",24:"STYLE",27:"COMMA",31:"HEXCOLOR",32:"RGBCOLOR",33:"RGBACOLOR"},productions_:[0,[3,4],[4,0],[4,2],[6,0],[6,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,5],[10,2],[10,3],[10,4],[10,5],[10,3],[10,3],[10,3],[10,4],[10,4],[10,2],[10,3],[23,1],[23,1],[23,1],[23,2],[23,2],[25,1],[25,3],[26,3],[28,1],[28,1],[29,1],[29,2],[30,1],[30,1],[30,1],[30,1],[30,1],[18,1],[18,3],[13,1],[13,1]],performAction:t(function(m,w,E,u,b,y,G){var z=y.length-1;switch(b){case 1:return y[z-1];case 2:case 3:case 4:this.$=[];break;case 5:y[z-1].push(y[z]),this.$=y[z-1];break;case 6:this.$=[];break;case 7:case 22:case 32:case 36:case 37:case 38:case 39:case 40:this.$=y[z];break;case 8:u.setDiagramTitle(y[z].substr(6)),this.$=y[z].substr(6);break;case 9:if(u.addSubsetData([y[z]],void 0,void 0),u.setIndentMode)u.setIndentMode(!0);break;case 10:if(u.addSubsetData([y[z-1]],y[z],void 0),u.setIndentMode)u.setIndentMode(!0);break;case 11:if(u.addSubsetData([y[z-2]],void 0,parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 12:if(u.addSubsetData([y[z-3]],y[z-2],parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 13:if(y[z].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z]);if(u.addSubsetData(y[z],void 0,void 0),u.setIndentMode)u.setIndentMode(!0);break;case 14:if(y[z-1].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z-1]);if(u.addSubsetData(y[z-1],y[z],void 0),u.setIndentMode)u.setIndentMode(!0);break;case 15:if(y[z-2].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z-2]);if(u.addSubsetData(y[z-2],void 0,parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 16:if(y[z-3].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(y[z-3]);if(u.addSubsetData(y[z-3],y[z-2],parseFloat(y[z])),u.setIndentMode)u.setIndentMode(!0);break;case 17:case 18:case 19:u.addTextData(y[z-1],y[z],void 0);break;case 20:case 21:u.addTextData(y[z-2],y[z-1],y[z]);break;case 23:u.addStyleData(y[z-1],y[z]);break;case 24:case 25:case 26:var W=u.getCurrentSets();if(!W)throw Error("text requires set");u.addTextData(W,y[z],void 0);break;case 27:case 28:var W=u.getCurrentSets();if(!W)throw Error("text requires set");u.addTextData(W,y[z-1],y[z]);break;case 29:case 41:this.$=[y[z]];break;case 30:case 42:this.$=[...y[z-2],y[z]];break;case 31:this.$=[y[z-2],y[z]];break;case 33:this.$=y[z].join(" ");break;case 34:this.$=[y[z]];break;case 35:y[z-1].push(y[z]),this.$=y[z-1];break;case 43:case 44:this.$=y[z];break}},"anonymous"),table:[e(s,[2,2],{3:1,4:2}),{1:[3]},{5:[1,3],8:[1,4]},e(i,[2,4],{6:5}),e(s,[2,3]),{7:[1,6],8:[1,8],9:7,10:9,11:[1,10],12:[1,11],17:[1,12],19:[1,13],22:[1,14],24:[1,15]},{1:[2,1]},e(i,[2,5]),e(i,[2,6]),e(i,[2,7]),e(i,[2,8]),{13:16,20:n,21:r},{13:20,18:19,20:n,21:r},{13:20,18:21,20:n,21:r},{16:[1,25],20:[1,23],21:[1,24],23:22},{13:20,18:26,20:n,21:r},e(i,[2,9],{14:[1,27],15:[1,28]}),e(o,[2,43]),e(o,[2,44]),e(i,[2,13],{14:[1,29],15:[1,30],27:a}),e(o,[2,41]),{16:[1,34],20:[1,32],21:[1,33],27:a},e(i,[2,22]),e(i,[2,24],{14:[1,35]}),e(i,[2,25],{14:[1,36]}),e(i,[2,26]),{20:c,25:37,26:38,27:a},e(i,[2,10],{15:[1,40]}),{16:[1,41]},e(i,[2,14],{15:[1,42]}),{16:[1,43]},{13:44,20:n,21:r},e(i,[2,17],{14:[1,45]}),e(i,[2,18],{14:[1,46]}),e(i,[2,19]),e(i,[2,27]),e(i,[2,28]),e(i,[2,23],{27:[1,47]}),e(x,[2,29]),{15:[1,48]},{16:[1,49]},e(i,[2,11]),{16:[1,50]},e(i,[2,15]),e(o,[2,42]),e(i,[2,20]),e(i,[2,21]),{20:c,26:51},{16:d,20:l,21:[1,53],28:52,29:54,30:55,31:k,32:p,33:_},e(i,[2,12]),e(i,[2,16]),e(x,[2,30]),e(x,[2,31]),e(x,[2,32]),e(x,[2,33],{30:61,16:d,20:l,31:k,32:p,33:_}),e(S,[2,34]),e(S,[2,36]),e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),e(S,[2,40]),e(S,[2,35])],defaultActions:{6:[2,1]},parseError:t(function(m,w){if(w.recoverable)this.trace(m);else{var E=Error(m);throw E.hash=w,E}},"parseError"),parse:t(function(m){var w=this,E=[0],u=[],b=[null],y=[],G=this.table,z="",W=0,at=0,nt=0,H=2,U=1,K=y.slice.call(arguments,1),V=Object.create(this.lexer),Z={yy:{}};for(var st in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,st))Z.yy[st]=this.yy[st];if(V.setInput(m,Z.yy),Z.yy.lexer=V,Z.yy.parser=this,typeof V.yylloc>"u")V.yylloc={};var tt=V.yylloc;y.push(tt);var lt=V.options&&V.options.ranges;if(typeof Z.yy.parseError==="function")this.parseError=Z.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function it(ct){E.length=E.length-2*ct,b.length=b.length-ct,y.length=y.length-ct}t(it,"popStack");function et(){var ct=u.pop()||V.lex()||U;if(typeof ct!=="number"){if(ct instanceof Array)u=ct,ct=u.pop();ct=w.symbols_[ct]||ct}return ct}t(et,"lex");var q,ft,ut,T,X,yt,dt={},ht,rt,Bt,vt;while(!0){if(ut=E[E.length-1],this.defaultActions[ut])T=this.defaultActions[ut];else{if(q===null||typeof q>"u")q=et();T=G[ut]&&G[ut][q]}if(typeof T>"u"||!T.length||!T[0]){var Mt="";vt=[];for(ht in G[ut])if(this.terminals_[ht]&&ht>H)vt.push("'"+this.terminals_[ht]+"'");if(V.showPosition)Mt="Parse error on line "+(W+1)+`:
|
|
8
|
-
`+V.showPosition()+`
|
|
9
|
-
Expecting `+vt.join(", ")+", got '"+(this.terminals_[q]||q)+"'";else Mt="Parse error on line "+(W+1)+": Unexpected "+(q==U?"end of input":"'"+(this.terminals_[q]||q)+"'");this.parseError(Mt,{text:V.match,token:this.terminals_[q]||q,line:V.yylineno,loc:tt,expected:vt})}if(T[0]instanceof Array&&T.length>1)throw Error("Parse Error: multiple actions possible at state: "+ut+", token: "+q);switch(T[0]){case 1:if(E.push(q),b.push(V.yytext),y.push(V.yylloc),E.push(T[1]),q=null,!ft){if(at=V.yyleng,z=V.yytext,W=V.yylineno,tt=V.yylloc,nt>0)nt--}else q=ft,ft=null;break;case 2:if(rt=this.productions_[T[1]][1],dt.$=b[b.length-rt],dt._$={first_line:y[y.length-(rt||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(rt||1)].first_column,last_column:y[y.length-1].last_column},lt)dt._$.range=[y[y.length-(rt||1)].range[0],y[y.length-1].range[1]];if(yt=this.performAction.apply(dt,[z,at,W,Z.yy,T[1],b,y].concat(K)),typeof yt<"u")return yt;if(rt)E=E.slice(0,-1*rt*2),b=b.slice(0,-1*rt),y=y.slice(0,-1*rt);E.push(this.productions_[T[1]][0]),b.push(dt.$),y.push(dt._$),Bt=G[E[E.length-2]][E[E.length-1]],E.push(Bt);break;case 3:return!0}}return!0},"parse")},B=function(){var N={EOF:1,parseError:t(function(w,E){if(this.yy.parser)this.yy.parser.parseError(w,E);else throw Error(w)},"parseError"),setInput:t(function(m,w){if(this.yy=w||this.yy||{},this._input=m,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 m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var w=m.match(/(?:\r\n?|\n).*/g);if(w)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),m},"input"),unput:t(function(m){var w=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-w),this.offset-=w;var u=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),E.length-1)this.yylineno-=E.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:E?(E.length===u.length?this.yylloc.first_column:0)+u[u.length-E.length].length-E[0].length:this.yylloc.first_column-w},this.options.ranges)this.yylloc.range=[b[0],b[0]+this.yyleng-w];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).
|
|
10
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(m){this.unput(this.match.slice(m))},"less"),pastInput:t(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var m=this.match;if(m.length<20)m+=this._input.substr(0,20-m.length);return(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var m=this.pastInput(),w=Array(m.length+1).join("-");return m+this.upcomingInput()+`
|
|
11
|
-
`+w+"^"},"showPosition"),test_match:t(function(m,w){var E,u,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(u=m[0].match(/(?:\r\n?|\n).*/g),u)this.yylineno+=u.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,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(m[0].length),this.matched+=m[0],E=this.performAction.call(this,this.yy,this,w,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(E)return E;else if(this._backtrack){for(var y in b)this[y]=b[y];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var m,w,E,u;if(!this._more)this.yytext="",this.match="";var b=this._currentRules();for(var y=0;y<b.length;y++)if(E=this._input.match(this.rules[b[y]]),E&&(!w||E[0].length>w[0].length)){if(w=E,u=y,this.options.backtrack_lexer)if(m=this.test_match(E,b[y]),m!==!1)return m;else if(this._backtrack){w=!1;continue}else return!1;else if(!this.options.flex)break}if(w){if(m=this.test_match(w,b[u]),m!==!1)return m;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
12
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var w=this.next();if(w)return w;else return this.lex()},"lex"),begin:t(function(w){this.conditionStack.push(w)},"begin"),popState:t(function(){var w=this.conditionStack.length-1;if(w>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(w){if(w=this.conditionStack.length-1-Math.abs(w||0),w>=0)return this.conditionStack[w];else return"INITIAL"},"topState"),pushState:t(function(w){this.begin(w)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(w,E,u,b){var y=b;switch(u){case 0:break;case 1:break;case 2:break;case 3:if(w.getIndentMode&&w.getIndentMode())return w.consumeIndentText=!0,this.begin("INITIAL"),22;break;case 4:break;case 5:if(w.setIndentMode)w.setIndentMode(!1);this.begin("INITIAL"),this.unput(E.yytext);break;case 6:return this.begin("bol"),8;break;case 7:break;case 8:break;case 9:return 7;case 10:return 11;case 11:return 5;case 12:return 12;case 13:return 17;case 14:if(w.consumeIndentText)w.consumeIndentText=!1;else return 19;break;case 15:return 24;case 16:return E.yytext=E.yytext.slice(2,-2),14;break;case 17:return E.yytext=E.yytext.slice(1,-1).trim(),14;break;case 18:return 16;case 19:return 31;case 20:return 33;case 21:return 32;case 22:return 20;case 23:return 21;case 24:return 27;case 25:return 15}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[ \t]+(?=[\n\r]))/i,/^(?:[ \t]+(?=text\b))/i,/^(?:[ \t]+)/i,/^(?:[^ \t\n\r])/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[ \t]+)/i,/^(?:$)/i,/^(?:title\s[^#\n;]+)/i,/^(?:venn-beta\b)/i,/^(?:set\b)/i,/^(?:union\b)/i,/^(?:text\b)/i,/^(?:style\b)/i,/^(?:\["[^\"]*"\])/i,/^(?:\[[^\]\"]+\])/i,/^(?:[+-]?(\d+(\.\d+)?|\.\d+))/i,/^(?:#[0-9a-fA-F]{3,8})/i,/^(?:rgba\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:rgb\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:"[^\"]*")/i,/^(?:,)/i,/^(?::)/i],conditions:{bol:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0},INITIAL:{rules:[0,1,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0}}};return N}();C.lexer=B;function j(){this.yy={}}return t(j,"Parser"),j.prototype=C,C.Parser=j,new j}();Nt.parser=Nt;var ze=Nt,Ot=[],Lt=[],jt=[],Ft=new Set,Pt,Vt=!1,Ae=t((e,s,i)=>{let n=It(e).sort(),r=i??10/Math.pow(e.length,2);if(Pt=n,n.length===1)Ft.add(n[0]);Ot.push({sets:n,size:r,label:s?bt(s):void 0})},"addSubsetData"),Ce=t(()=>Ot,"getSubsetData"),bt=t((e)=>{let s=e.trim();if(s.length>=2&&s.startsWith('"')&&s.endsWith('"'))return s.slice(1,-1);return s},"normalizeText"),De=t((e)=>e?bt(e):e,"normalizeStyleValue"),Re=t((e,s,i)=>{let n=bt(s);Lt.push({sets:It(e).sort(),id:n,label:i?bt(i):void 0})},"addTextData"),Ne=t((e,s)=>{let i=It(e).sort(),n={};for(let[r,o]of s)n[r]=De(o)??o;jt.push({targets:i,styles:n})},"addStyleData"),Oe=t(()=>jt,"getStyleData"),It=t((e)=>e.map((s)=>bt(s)),"normalizeIdentifierList"),Le=t((e)=>{let i=It(e).filter((n)=>!Ft.has(n));if(i.length>0)throw Error(`unknown set identifier: ${i.join(", ")}`)},"validateUnionIdentifiers"),je=t(()=>Lt,"getTextData"),Fe=t(()=>Pt,"getCurrentSets"),Pe=t(()=>Vt,"getIndentMode"),Ve=t((e)=>{Vt=e},"setIndentMode"),Be=F.venn;function oe(){return Q(Be,A().venn)}t(oe,"getConfig");var qe=t(()=>{L(),Ot.length=0,Lt.length=0,jt.length=0,Ft.clear(),Pt=void 0,Vt=!1},"customClear"),Ue={getConfig:oe,clear:qe,setAccTitle:M,getAccTitle:R,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:P,addSubsetData:Ae,getSubsetData:Ce,addTextData:Re,addStyleData:Ne,validateUnionIdentifiers:Le,getTextData:je,getStyleData:Oe,getCurrentSets:Fe,getIndentMode:Pe,setIndentMode:Ve},Ge=t((e)=>`
|
|
13
|
-
.venn-title {
|
|
14
|
-
font-size: 32px;
|
|
15
|
-
fill: ${e.vennTitleTextColor};
|
|
16
|
-
font-family: ${e.fontFamily};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.venn-circle text {
|
|
20
|
-
font-size: 48px;
|
|
21
|
-
font-family: ${e.fontFamily};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.venn-intersection text {
|
|
25
|
-
font-size: 48px;
|
|
26
|
-
fill: ${e.vennSetTextColor};
|
|
27
|
-
font-family: ${e.fontFamily};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.venn-text-node {
|
|
31
|
-
font-family: ${e.fontFamily};
|
|
32
|
-
color: ${e.vennSetTextColor};
|
|
33
|
-
}
|
|
34
|
-
`,"getStyles"),We=Ge;function ae(e){let s=new Map;for(let i of e){let n=i.targets.join("|"),r=s.get(n);if(r)Object.assign(r,i.styles);else s.set(n,{...i.styles})}return s}t(ae,"buildStyleByKey");var Ke=t((e,s,i,n)=>{let r=n.db,o=r.getConfig?.(),{themeVariables:a,look:c,handDrawnSeed:x}=A(),d=c==="handDrawn",l=[a.venn1,a.venn2,a.venn3,a.venn4,a.venn5,a.venn6,a.venn7,a.venn8].filter(Boolean),k=r.getDiagramTitle?.(),p=r.getSubsetData(),_=r.getTextData(),S=ae(r.getStyleData()),C=ce(p),B=o?.width??800,j=o?.height??450,N=1600,m=B/1600,w=k?48*m:0,E=a.primaryTextColor??a.textColor,u=J(s);if(u.attr("viewBox",`0 0 ${B} ${j}`),k)u.append("text").text(k).attr("class","venn-title").attr("font-size",`${32*m}px`).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("x","50%").attr("y",32*m).style("fill",a.vennTitleTextColor||a.titleColor);let b=g(document.createElement("div")),y=te().width(B).height(j-w);b.datum(C).call(y);let G=d?v.svg(b.select("svg").node()):void 0,z=re(C,{width:B,height:j-w,padding:o?.padding??15}),W=new Map;for(let U of z){let K=xt([...U.data.sets].sort());W.set(K,U)}if(_.length>0)le(o,W,b,_,m,S);let at=de(a.background||"#f4f4f4");if(b.selectAll(".venn-circle").each(function(U,K){let V=g(this),st=xt([...U.sets].sort()),tt=S.get(st),lt=l.length>0?l[K%l.length]:void 0,it=tt?.fill||lt||a.primaryColor;V.classed(`venn-set-${K%8}`,!0);let et=tt?.["fill-opacity"]??0.1,q=tt?.stroke||it,ft=tt?.["stroke-width"]||`${5*m}`;if(d&&G){let T=W.get(st);if(T&&T.circles.length>0){let X=T.circles[0],yt=G.circle(X.x,X.y,X.radius*2,{roughness:0.7,seed:x,fill:St(it,0.7),fillStyle:"hachure",fillWeight:2,hachureGap:8,hachureAngle:-41+K*60,stroke:q,strokeWidth:parseFloat(String(ft))});V.select("path").remove(),V.node()?.insertBefore(yt,V.select("text").node())}}else V.select("path").style("fill",it).style("fill-opacity",et).style("stroke",q).style("stroke-width",ft).style("stroke-opacity",0.95);let ut=tt?.color||(at?f(it,30):h(it,30));V.select("text").style("font-size",`${48*m}px`).style("fill",ut)}),d&&G)b.selectAll(".venn-intersection").each(function(U){let K=g(this),Z=xt([...U.sets].sort()),st=S.get(Z),tt=st?.fill;if(tt){let lt=K.select("path"),it=lt.attr("d");if(it){let et=G.path(it,{roughness:0.7,seed:x,fill:St(tt,0.3),fillStyle:"cross-hatch",fillWeight:2,hachureGap:6,hachureAngle:60,stroke:"none"}),q=lt.node();q?.parentNode?.insertBefore(et,q),lt.remove()}}else K.select("path").style("fill-opacity",0);K.select("text").style("font-size",`${48*m}px`).style("fill",st?.color??a.vennSetTextColor??E)});else b.selectAll(".venn-intersection text").style("font-size",`${48*m}px`).style("fill",(U)=>{let V=xt([...U.sets].sort());return S.get(V)?.color??a.vennSetTextColor??E}),b.selectAll(".venn-intersection path").style("fill-opacity",(U)=>{let V=xt([...U.sets].sort());return S.get(V)?.fill?1:0}).style("fill",(U)=>{let V=xt([...U.sets].sort());return S.get(V)?.fill??"transparent"});let nt=u.append("g").attr("transform",`translate(0, ${w})`),H=b.select("svg").node();if(H&&"childNodes"in H)for(let U of[...H.childNodes])nt.node()?.appendChild(U);Y(u,j,B,o?.useMaxWidth??!0)},"draw");function xt(e){return e.join("|")}t(xt,"stableSetsKey");function le(e,s,i,n,r,o){let a=e?.useDebugLayout??!1,x=i.select("svg").append("g").attr("class","venn-text-nodes"),d=new Map;for(let l of n){let k=xt(l.sets),p=d.get(k);if(p)p.push(l);else d.set(k,[l])}for(let[l,k]of d.entries()){let p=s.get(l);if(!p?.text)continue;let _=p.text.x,S=p.text.y,C=Math.min(...p.circles.map((H)=>H.radius)),B=Math.min(...p.circles.map((H)=>H.radius-Math.hypot(_-H.x,S-H.y))),j=Number.isFinite(B)?Math.max(0,B):0;if(j===0&&Number.isFinite(C))j=C*0.6;let N=x.append("g").attr("class","venn-text-area").attr("font-size",`${40*r}px`);if(a)N.append("circle").attr("class","venn-text-debug-circle").attr("cx",_).attr("cy",S).attr("r",j).attr("fill","none").attr("stroke","purple").attr("stroke-width",1.5*r).attr("stroke-dasharray",`${6*r} ${4*r}`);let m=Math.max(80*r,j*2*0.95),w=Math.max(60*r,j*2*0.95),b=(p.data.label&&p.data.label.length>0?Math.min(32*r,j*0.25):0)+(k.length<=2?30*r:0),y=_-m/2,G=S-w/2+b,z=Math.max(1,Math.ceil(Math.sqrt(k.length))),W=Math.max(1,Math.ceil(k.length/z)),at=m/z,nt=w/W;for(let[H,U]of k.entries()){let K=H%z,V=Math.floor(H/z),Z=y+at*(K+0.5),st=G+nt*(V+0.5);if(a)N.append("rect").attr("class","venn-text-debug-cell").attr("x",y+at*K).attr("y",G+nt*V).attr("width",at).attr("height",nt).attr("fill","none").attr("stroke","teal").attr("stroke-width",1*r).attr("stroke-dasharray",`${4*r} ${3*r}`);let tt=at*0.9,lt=nt*0.9,it=N.append("foreignObject").attr("class","venn-text-node-fo").attr("width",tt).attr("height",lt).attr("x",Z-tt/2).attr("y",st-lt/2).attr("overflow","visible"),et=o.get(U.id)?.color,q=it.append("xhtml:span").attr("class","venn-text-node").style("display","flex").style("width","100%").style("height","100%").style("white-space","normal").style("align-items","center").style("justify-content","center").style("text-align","center").style("overflow-wrap","normal").style("word-break","normal").text(U.label??U.id);if(et)q.style("color",et)}}}t(le,"renderTextNodes");function ce(e){let s=new Set(e.map((r)=>[...r.sets].sort().join("|"))),i=new Map(e.filter((r)=>r.sets.length===1&&r.size!==void 0).map((r)=>[r.sets[0],r.size])),n=[];for(let r of e){if(r.sets.length<3)continue;let o=[...r.sets].sort();for(let a=0;a<o.length-1;a++)for(let c=a+1;c<o.length;c++){let x=[o[a],o[c]],d=x.join("|");if(!s.has(d)){s.add(d);let l=i.get(x[0]),k=i.get(x[1]),p=l!==void 0&&k!==void 0?Math.min(l,k)/4:2.5;n.push({sets:x,size:p,label:""})}}}return n.length>0?[...e,...n]:e}t(ce,"ensurePairwiseSubsets");var He={draw:Ke},rn={parser:ze,db:Ue,renderer:He,styles:We};export{rn as diagram};
|
package/web/chunk-n08727ym.js.br
DELETED
|
Binary file
|
package/web/chunk-n08727ym.js.gz
DELETED
|
Binary file
|
package/web/chunk-n5ghyxwk.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import{t,i,Ae,q,C,Y,M,R,P,I,d,g,Yr,Fi,Dt,T,Ui}from"./chunk-h4bzgvbg.js";import{hr}from"./chunk-shtkgxz6.js";var Jt=function(){var e=t(function(wt,v,E,w){for(E=E||{},w=wt.length;w--;E[wt[w]]=v);return E},"o"),n=[1,24],a=[1,25],o=[1,26],p=[1,27],l=[1,28],r=[1,63],h=[1,64],s=[1,65],f=[1,66],b=[1,67],_=[1,68],x=[1,69],S=[1,29],B=[1,30],j=[1,31],V=[1,32],F=[1,33],H=[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],Rt=[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],D=[1,83],N=[1,84],A=[1,85],L=[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,E,w,m,U,u,Ut){var y=u.length-1;switch(U){case 3:m.setDirection("TB");break;case 4:m.setDirection("BT");break;case 5:m.setDirection("RL");break;case 6:m.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:m.setC4Type(u[y-3]);break;case 19:m.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:m.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),m.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),m.setAccDescription(this.$);break;case 28:u[y].splice(2,0,"ENTERPRISE"),m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 29:u[y].splice(2,0,"SYSTEM"),m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:m.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),m.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:m.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:m.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:m.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:m.popBoundaryParseStack();break;case 39:m.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:m.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:m.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:m.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:m.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:m.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:m.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:m.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:m.addContainer("container",...u[y]),this.$=u[y];break;case 48:m.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:m.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:m.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:m.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:m.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:m.addComponent("component",...u[y]),this.$=u[y];break;case 54:m.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:m.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:m.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:m.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:m.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:m.addRel("rel",...u[y]),this.$=u[y];break;case 61:m.addRel("birel",...u[y]),this.$=u[y];break;case 62:m.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:m.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:m.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:m.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:m.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),m.addRel("rel",...u[y]),this.$=u[y];break;case 68:m.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:m.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:m.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let Lt={};Lt[u[y-1].trim()]=u[y].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:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:j,47:V,48:F,49:H,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:Rt},{13:70,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:j,47:V,48:F,49:H,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:Rt},{13:71,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:j,47:V,48:F,49:H,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:Rt},{13:72,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:j,47:V,48:F,49:H,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:Rt},{13:73,19:20,20:21,21:22,22:n,23:a,24:o,26:p,28:l,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:j,47:V,48:F,49:H,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:Rt},{14:[1,74]},e(Vt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:h,37:s,38:f,39:b,40:_,41:x,44:S,45:B,46:j,47:V,48:F,49:H,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:Rt}),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:D,79:N,80:A},{35:86,75:81,76:O,77:D,79:N,80:A},{35:87,75:81,76:O,77:D,79:N,80:A},{35:88,75:81,76:O,77:D,79:N,80:A},{35:89,75:81,76:O,77:D,79:N,80:A},{35:90,75:81,76:O,77:D,79:N,80:A},{35:91,75:81,76:O,77:D,79:N,80:A},{35:92,75:81,76:O,77:D,79:N,80:A},{35:93,75:81,76:O,77:D,79:N,80:A},{35:94,75:81,76:O,77:D,79:N,80:A},{35:95,75:81,76:O,77:D,79:N,80:A},{35:96,75:81,76:O,77:D,79:N,80:A},{35:97,75:81,76:O,77:D,79:N,80:A},{35:98,75:81,76:O,77:D,79:N,80:A},{35:99,75:81,76:O,77:D,79:N,80:A},{35:100,75:81,76:O,77:D,79:N,80:A},{35:101,75:81,76:O,77:D,79:N,80:A},{35:102,75:81,76:O,77:D,79:N,80:A},{35:103,75:81,76:O,77:D,79:N,80:A},{35:104,75:81,76:O,77:D,79:N,80:A},e(L,[2,59]),{35:105,75:81,76:O,77:D,79:N,80:A},{35:106,75:81,76:O,77:D,79:N,80:A},{35:107,75:81,76:O,77:D,79:N,80:A},{35:108,75:81,76:O,77:D,79:N,80:A},{35:109,75:81,76:O,77:D,79:N,80:A},{35:110,75:81,76:O,77:D,79:N,80:A},{35:111,75:81,76:O,77:D,79:N,80:A},{35:112,75:81,76:O,77:D,79:N,80:A},{35:113,75:81,76:O,77:D,79:N,80:A},{35:114,75:81,76:O,77:D,79:N,80:A},{35:115,75:81,76:O,77:D,79:N,80:A},{20:116,29:49,30:61,32:62,34:r,36:h,37:s,38:f,39:b,40:_,41:x,43:23,44:S,45:B,46:j,47:V,48:F,49:H,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:Rt},{12:[1,118],33:[1,117]},{35:119,75:81,76:O,77:D,79:N,80:A},{35:120,75:81,76:O,77:D,79:N,80:A},{35:121,75:81,76:O,77:D,79:N,80:A},{35:122,75:81,76:O,77:D,79:N,80:A},{35:123,75:81,76:O,77:D,79:N,80:A},{35:124,75:81,76:O,77:D,79:N,80:A},{35:125,75:81,76:O,77:D,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:a,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:a,24:o,26:p,28:l,34:r,36:h,37:s,38:f,39:b,40:_,41:x,44:S,45:B,46:j,47:V,48:F,49:H,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:Rt}),e(Ft,[2,21]),e(Ft,[2,22]),e(L,[2,39]),e(ye,[2,71],{75:81,35:132,76:O,77:D,79:N,80:A}),e(qt,[2,73]),{78:[1,133]},e(qt,[2,75]),e(qt,[2,76]),e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(L,[2,43]),e(L,[2,44]),e(L,[2,45]),e(L,[2,46]),e(L,[2,47]),e(L,[2,48]),e(L,[2,49]),e(L,[2,50]),e(L,[2,51]),e(L,[2,52]),e(L,[2,53]),e(L,[2,54]),e(L,[2,55]),e(L,[2,56]),e(L,[2,57]),e(L,[2,58]),e(L,[2,60]),e(L,[2,61]),e(L,[2,62]),e(L,[2,63]),e(L,[2,64]),e(L,[2,65]),e(L,[2,66]),e(L,[2,67]),e(L,[2,68]),e(L,[2,69]),e(L,[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(L,[2,24]),e(L,[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,E){if(E.recoverable)this.trace(v);else{var w=Error(v);throw w.hash=E,w}},"parseError"),parse:t(function(v){var E=this,w=[0],m=[],U=[null],u=[],Ut=this.table,y="",Lt=0,_e=0,be=0,Ve=2,me=1,Ye=u.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;u.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(K){w.length=w.length-2*K,U.length=U.length-K,u.length=u.length-K}t(Ue,"popStack");function ge(){var K=m.pop()||z.lex()||me;if(typeof K!=="number"){if(K instanceof Array)m=K,K=m.pop();K=E.symbols_[K]||K}return K}t(ge,"lex");var W,ae,Mt,Q,X0,ie,Yt={},Qt,et,xe,Kt;while(!0){if(Mt=w[w.length-1],this.defaultActions[Mt])Q=this.defaultActions[Mt];else{if(W===null||typeof W>"u")W=ge();Q=Ut[Mt]&&Ut[Mt][W]}if(typeof Q>"u"||!Q.length||!Q[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(Q[0]instanceof Array&&Q.length>1)throw Error("Parse Error: multiple actions possible at state: "+Mt+", token: "+W);switch(Q[0]){case 1:if(w.push(W),U.push(z.yytext),u.push(z.yylloc),w.push(Q[1]),W=null,!ae){if(_e=z.yyleng,y=z.yytext,Lt=z.yylineno,se=z.yylloc,be>0)be--}else W=ae,ae=null;break;case 2:if(et=this.productions_[Q[1]][1],Yt.$=U[U.length-et],Yt._$={first_line:u[u.length-(et||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(et||1)].first_column,last_column:u[u.length-1].last_column},Fe)Yt._$.range=[u[u.length-(et||1)].range[0],u[u.length-1].range[1]];if(ie=this.performAction.apply(Yt,[y,_e,Lt,It.yy,Q[1],U,u].concat(Ye)),typeof ie<"u")return ie;if(et)w=w.slice(0,-1*et*2),U=U.slice(0,-1*et),u=u.slice(0,-1*et);w.push(this.productions_[Q[1]][0]),U.push(Yt.$),u.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 wt={EOF:1,parseError:t(function(E,w){if(this.yy.parser)this.yy.parser.parseError(E,w);else throw Error(E)},"parseError"),setInput:t(function(v,E){if(this.yy=E||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 E=v.match(/(?:\r\n?|\n).*/g);if(E)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 E=v.length,w=v.split(/(?:\r\n?|\n)/g);this._input=v+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-E),this.offset-=E;var m=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 U=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===m.length?this.yylloc.first_column:0)+m[m.length-w.length].length-w[0].length:this.yylloc.first_column-E},this.options.ranges)this.yylloc.range=[U[0],U[0]+this.yyleng-E];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(),E=Array(v.length+1).join("-");return v+this.upcomingInput()+`
|
|
5
|
-
`+E+"^"},"showPosition"),test_match:t(function(v,E){var w,m,U;if(this.options.backtrack_lexer){if(U={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)U.yylloc.range=this.yylloc.range.slice(0)}if(m=v[0].match(/(?:\r\n?|\n).*/g),m)this.yylineno+=m.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.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,E,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(w)return w;else if(this._backtrack){for(var u in U)this[u]=U[u];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var v,E,w,m;if(!this._more)this.yytext="",this.match="";var U=this._currentRules();for(var u=0;u<U.length;u++)if(w=this._input.match(this.rules[U[u]]),w&&(!E||w[0].length>E[0].length)){if(E=w,m=u,this.options.backtrack_lexer)if(v=this.test_match(w,U[u]),v!==!1)return v;else if(this._backtrack){E=!1;continue}else return!1;else if(!this.options.flex)break}if(E){if(v=this.test_match(E,U[m]),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 E=this.next();if(E)return E;else return this.lex()},"lex"),begin:t(function(E){this.conditionStack.push(E)},"begin"),popState:t(function(){var E=this.conditionStack.length-1;if(E>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(E){if(E=this.conditionStack.length-1-Math.abs(E||0),E>=0)return this.conditionStack[E];else return"INITIAL"},"topState"),pushState:t(function(E){this.begin(E)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:t(function(E,w,m,U){var u=U;switch(m){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 wt}();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)=>d()[e],"getRequiredConfig"),G=new Set(["label","descr","techn","type"]),Bt=t((e,n)=>{for(let[a,o]of Object.entries(n)){if(o===void 0)continue;if(typeof o==="object"){let[p,l]=Object.entries(o)[0];e[p]=G.has(p)?{text:l}:l}else e[a]=o}},"assignAttributes"),Ce=t(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),Z=[],Ot=[""],X="global",J="",tt=[Ce()],Xt=[],de="",pe=!1,Zt=4,$t=2,Re,ze=t(function(){return Re},"getC4Type"),We=t(function(e){Re=q(e,d())},"setC4Type"),Xe=t(function(e,n,a,o,p,l,r,h,s){if(e===void 0||e===null||n===void 0||n===null||a===void 0||a===null||o===void 0||o===null)return;let f={},b=Xt.find((_)=>_.from===n&&_.to===a);if(b)f=b;else Xt.push(f);if(f.type=e,f.from=n,f.to=a,f.label={text:o},p===void 0||p===null)f.techn??={text:""};else if(typeof p==="object"){let[_,x]=Object.entries(p)[0];f[_]=G.has(_)?{text:x}:x}else f.techn={text:p};if(l===void 0||l===null)f.descr??={text:""};else if(typeof l==="object"){let[_,x]=Object.entries(l)[0];f[_]=G.has(_)?{text:x}:x}else f.descr={text:l};Bt(f,{sprite:r,tags:h,link:s}),f.wrap=Nt()},"addRel"),qe=t(function(e,n,a,o,p,l,r){if(n===null||a===null)return;let h={},s=Z.find((f)=>f.alias===n);if(s&&n===s.alias)h=s;else h.alias=n,Z.push(h);if(a===void 0||a===null)h.label={text:""};else h.label={text:a};if(o===void 0||o===null)h.descr??={text:""};else if(typeof o==="object"){let[f,b]=Object.entries(o)[0];h[f]=G.has(f)?{text:b}:b}else h.descr={text:o};Bt(h,{sprite:p,tags:l,link:r}),h.typeC4Shape={text:e},h.parentBoundary=X,h.wrap=Nt()},"addPersonOrSystem"),He=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:h}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addContainer"),Qe=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=Z.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,Z.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.techn??={text:""};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.techn={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{sprite:l,tags:r,link:h}),s.wrap=Nt(),s.typeC4Shape={text:e},s.parentBoundary=X},"addComponent"),Ke=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.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(a===void 0||a===null)l.type={text:"system"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=G.has(h)?{text:s}:s}else l.type={text:a};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Ot.push(J)},"addPersonOrSystemBoundary"),Ge=t(function(e,n,a,o,p){if(e===null||n===null)return;let l={},r=tt.find((h)=>h.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(a===void 0||a===null)l.type={text:"container"};else if(typeof a==="object"){let[h,s]=Object.entries(a)[0];l[h]=G.has(h)?{text:s}:s}else l.type={text:a};Bt(l,{tags:o,link:p}),l.parentBoundary=X,l.wrap=Nt(),J=X,X=e,Ot.push(J)},"addContainerBoundary"),Je=t(function(e,n,a,o,p,l,r,h){if(n===null||a===null)return;let s={},f=tt.find((b)=>b.alias===n);if(f&&n===f.alias)s=f;else s.alias=n,tt.push(s);if(a===void 0||a===null)s.label={text:""};else s.label={text:a};if(o===void 0||o===null)s.type={text:"node"};else if(typeof o==="object"){let[b,_]=Object.entries(o)[0];s[b]=G.has(b)?{text:_}:_}else s.type={text:o};if(p===void 0||p===null)s.descr??={text:""};else if(typeof p==="object"){let[b,_]=Object.entries(p)[0];s[b]=G.has(b)?{text:_}:_}else s.descr={text:p};Bt(s,{tags:r,link:h}),s.nodeType=e,s.parentBoundary=X,s.wrap=Nt(),J=X,X=n,Ot.push(J)},"addDeploymentNode"),Ze=t(function(){X=J,Ot.pop(),J=Ot.pop(),Ot.push(J)},"popBoundaryParseStack"),$e=t(function(e,n,a,o,p,l,r,h,s,f,b){let _=Z.find((x)=>x.alias===n);if(_===void 0){if(_=tt.find((x)=>x.alias===n),_===void 0)return}if(a!==void 0&&a!==null)if(typeof a==="object"){let[x,S]=Object.entries(a)[0];_[x]=S}else _.bgColor=a;if(o!==void 0&&o!==null)if(typeof o==="object"){let[x,S]=Object.entries(o)[0];_[x]=S}else _.fontColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[x,S]=Object.entries(p)[0];_[x]=S}else _.borderColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[x,S]=Object.entries(l)[0];_[x]=S}else _.shadowing=l;if(r!==void 0&&r!==null)if(typeof r==="object"){let[x,S]=Object.entries(r)[0];_[x]=S}else _.shape=r;if(h!==void 0&&h!==null)if(typeof h==="object"){let[x,S]=Object.entries(h)[0];_[x]=S}else _.sprite=h;if(s!==void 0&&s!==null)if(typeof s==="object"){let[x,S]=Object.entries(s)[0];_[x]=S}else _.techn=s;if(f!==void 0&&f!==null)if(typeof f==="object"){let[x,S]=Object.entries(f)[0];_[x]=S}else _.legendText=f;if(b!==void 0&&b!==null)if(typeof b==="object"){let[x,S]=Object.entries(b)[0];_[x]=S}else _.legendSprite=b},"updateElStyle"),t0=t(function(e,n,a,o,p,l,r){let h=Xt.find((s)=>s.from===n&&s.to===a);if(h===void 0)return;if(o!==void 0&&o!==null)if(typeof o==="object"){let[s,f]=Object.entries(o)[0];h[s]=f}else h.textColor=o;if(p!==void 0&&p!==null)if(typeof p==="object"){let[s,f]=Object.entries(p)[0];h[s]=f}else h.lineColor=p;if(l!==void 0&&l!==null)if(typeof l==="object"){let[s,f]=Object.entries(l)[0];h[s]=parseInt(f)}else h.offsetX=parseInt(l);if(r!==void 0&&r!==null)if(typeof r==="object"){let[s,f]=Object.entries(r)[0];h[s]=parseInt(f)}else h.offsetY=parseInt(r)},"updateRelStyle"),e0=t(function(e,n,a){let o=Zt,p=$t;if(typeof n==="object"){let l=Object.values(n)[0];o=parseInt(l)}else o=parseInt(n);if(typeof a==="object"){let l=Object.values(a)[0];p=parseInt(l)}else p=parseInt(a);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"),we=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(we(e))},"getC4ShapeKeys"),Oe=t(function(e){if(e===void 0||e===null)return tt;else return tt.filter((n)=>n.parentBoundary===e)},"getBoundaries"),l0=Oe,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=[Ce()],J="",X="global",Ot=[""],Xt=[],Ot=[""],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=q(e,d())},"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:we,getC4Shape:i0,getC4ShapeKeys:o0,getBoundaries:Oe,getBoundarys:l0,getCurrentBoundaryParse:s0,getParentBoundaryParse:a0,getRels:c0,getTitle:u0,getC4Type:ze,getC4ShapeInRow:n0,getC4BoundaryInRow:r0,setAccTitle:M,getAccTitle:R,getAccDescription:I,setAccDescription:P,getConfig:t(()=>Te("c4"),"getConfig"),clear:d0,LINETYPE:p0,ARROWTYPE:f0,PLACEMENT:y0,setTitle:_0,setC4Type:We},Pe=t(function(e,n){return hr(e,n)},"drawRect"),b0=t((e,n,a,o)=>{let p=e.append("g"),l=0;for(let r of n){let h=r.textColor?r.textColor:"#444444",s=r.lineColor?r.lineColor:"#444444",f=r.offsetX?parseInt(String(r.offsetX)):0,b=r.offsetY?parseInt(String(r.offsetY)):0,_="";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,S=a.messageFont();if(jt(a)(r.label.text,p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+b,x,r.label.height,{fill:h},S),r.techn&&r.techn.text!=="")S=a.messageFont(),jt(a)("["+r.techn.text+"]",p,Math.min(r.startPoint.x,r.endPoint.x)+Math.abs(r.endPoint.x-r.startPoint.x)/2+f,Math.min(r.startPoint.y,r.endPoint.y)+Math.abs(r.endPoint.y-r.startPoint.y)/2+a.messageFontSize+5+b,Math.max(x,r.techn.width),r.techn.height,{fill:h,"font-style":"italic"},S)}},"drawRels"),m0=t(function(e,n,a){let o=e.append("g"),p=n.bgColor?n.bgColor:"none",l=n.borderColor?n.borderColor:"#444444",r=n.fontColor?n.fontColor:"black",h={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};if(n.nodeType)h={"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:h};Pe(o,s);let f=a.boundaryFont();if(f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=r,jt(a)(n.label.text,o,n.x,n.y+n.label.Y,n.width,n.height,{fill:"#444444"},f),n.type&&n.type.text!=="")f=a.boundaryFont(),f.fontColor=r,jt(a)(n.type.text,o,n.x,n.y+n.type.Y,n.width,n.height,{fill:"#444444"},f);if(n.descr&&n.descr.text!=="")f=a.boundaryFont(),f.fontSize=f.fontSize-2,f.fontColor=r,jt(a)(n.descr.text,o,n.x,n.y+n.descr.Y,n.width,n.height,{fill:"#444444"},f)},"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,h,s,f,b){let _=l.append("text").attr("x",r+s/2).attr("y",h+f/2+5).style("text-anchor","middle").text(p);o(_,b)}t(e,"byText");function n(p,l,r,h,s,f,b,_){let{fontSize:x,fontFamily:S,fontWeight:B}=_,j=p.split(C.lineBreakRegex);for(let V=0;V<j.length;V++){let F=V*x-x*(j.length-1)/2,H=l.append("text").attr("x",r+s/2).attr("y",h).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",x).style("font-weight",B).style("font-family",S);H.append("tspan").attr("dy",F).text(j[V]).attr("alignment-baseline","mathematical"),o(H,b)}}t(n,"byTspan");function a(p,l,r,h,s,f,b,_){let x=l.append("switch"),B=x.append("foreignObject").attr("x",r).attr("y",h).attr("width",s).attr("height",f).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,h,s,f,b,_),o(B,b)}t(a,"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"?a:p.textPlacement==="old"?e:n}}(),nt={drawRect:Pe,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=g("#i"+e).node()?.contentDocument;if(!o)throw Error(`Sandbox iframe #i${e} is missing its content document`);return{root:g(o.body),doc:o}}return{root:g("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 a=e.typeC4Shape.text;if(a==="person"||a==="external_person")return"person";if(w0.has(a))return"cylinder";if(R0.has(a))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"),De=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap((e)=>[e,`external_${e}`]),I0=new Set(De),ve=t((e)=>I0.has(e),"isC4ElementType"),M0=t((e,n)=>{let a=e.typeC4Shape.text,o=e.bgColor??(ve(a)&&n[`${a}_bg_color`]),p=e.borderColor??(ve(a)&&n[`${a}_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,a,o,p)=>{let l=e.typeC4Shape.text,r=["c4-shape",`c4-${l}`];if(A0(l))r.push("c4-external");let h=P0(e),s=M0(e,n);if(h==="rounded"||h==="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:h,cssClasses:r.join(" "),cssStyles:s,padding:a,look:o,useHtmlLabels:!1,width:p}},"buildC4Node"),zt=0,Wt=0,Ne=4,ue=2;Jt.yy=ce;var k={},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,a,o){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=n,this.nextData.starty=this.data.starty=a,this.nextData.stopy=this.data.stopy=o}updateVal(e,n,a,o){if(e[n]===void 0)e[n]=a;else e[n]=o(a,e[n])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let n=this.nextData.stopx,a=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>=a||p>=a||this.nextData.cnt>Ne)o=this.nextData.startx+e.margin+k.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(Ae(k,e),e?.fontFamily)k.personFontFamily=k.systemFontFamily=k.messageFontFamily=e.fontFamily;if(e?.fontSize)k.personFontSize=k.systemFontSize=k.messageFontSize=e.fontSize;if(e?.fontWeight)k.personFontWeight=k.systemFontWeight=k.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 Pt(e,n,a,o,p){let l=n[e];if(!l.width)if(a)l.text=Yr(l.text,p,o),l.textLines=l.text.split(C.lineBreakRegex).length,l.width=p,l.height=Fi(l.text,o);else{let r=l.text.split(C.lineBreakRegex);l.textLines=r.length;let h=0;l.height=0,l.width=0;for(let s of r)l.width=Math.max(Dt(s,o),l.width),h=Fi(s,o),l.height=l.height+h}return l}t(Pt,"calcC4ShapeTextWH");var Ie=t(function(e,n,a){let o=a.data.startx,p=a.data.starty;n.x=o,n.y=p,n.width=a.data.stopx-o,n.height=a.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=k.c4ShapeMargin-35;let l=n.wrap&&k.wrap,r=Gt(k);r.fontSize=r.fontSize+2,r.fontWeight="bold";let h=Dt(n.label.text,r);Pt("label",n,l,r,h),nt.drawBoundary(e,n,k)},"drawBoundary"),Me=t(async function(e,n,a,o){let p=d(),l=p.look??"classic",r={config:p},h=n.attr("id")??"",s=o.map((b)=>a[Number(b)]),f=t((b)=>{let _=b.shape?Ui[b.shape]:void 0;if(!_)throw Error(`C4: no shape handler for "${b.shape}"`);return _},"shapeHandlerFor");await Promise.all(s.map(async(b)=>{let _=ke(b,k,k.c4ShapePadding,l,k.width);_.domId=`${h}-${_.id}`;let x=await f(_)(n,_,r);b.width=_.width??k.width,b.height=_.height??k.height,b.margin=k.c4ShapeMargin,x.remove()}));for(let b of s)e.insert(b);await Promise.all(s.map(async(b)=>{let _=ke(b,k,k.c4ShapePadding,l,k.width);_.domId=`${h}-${_.id}`,_.x=b.x+b.width/2,_.y=b.y+b.height/2;let x=n.append("g").attr("transform",`translate(${b.x+b.width/2}, ${b.y+b.height/2})`);await f(_)(x,_,r),b.intersect=_.intersect})),e.bumpLastMargin(k.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:a,y:o}=e.intersect(n);return new V0(a,o)},"getIntersectPoint"),Y0=t(function(e,n){let a={x:0,y:0};a.x=n.x+n.width/2,a.y=n.y+n.height/2;let o=Ee(e,a);a.x=e.x+e.width/2,a.y=e.y+e.height/2;let p=Ee(n,a);return{startPoint:o,endPoint:p}},"getIntersectPoints"),F0=t(function(e,n,a,o,p){let l=o.db.getC4Type(),r=0;for(let h of n){r=r+1;let s=h.wrap&&k.wrap,f=B0(k);if(l==="C4Dynamic")h.label.text=r+": "+h.label.text;let b=Dt(h.label.text,f);if(Pt("label",h,s,f,b),h.techn&&h.techn.text!=="")b=Dt(h.techn.text,f),Pt("techn",h,s,f,b);if(h.descr&&h.descr.text!=="")b=Dt(h.descr.text,f),Pt("descr",h,s,f,b);let _=a(h.from),x=a(h.to);if(!_||!x)throw Error(`C4 rel "${h.from}" -> "${h.to}" references an unknown shape or boundary`);let S=Y0(_,x);if(!S.startPoint||!S.endPoint)throw Error(`Could not calculate intersection points for rel "${h.from}" -> "${h.to}"`);h.startPoint=S.startPoint,h.endPoint=S.endPoint}nt.drawRels(e,n,k,p)},"drawRels");async function fe(e,n,a,o,p){let l=p.db,r=new Le(p);r.data.widthLimit=a.data.widthLimit/Math.min(ue,o.length);for(let[h,s]of o.entries()){let f=0;if(s.image={width:0,height:0,Y:0},s.sprite)s.image.width=48,s.image.height=48,s.image.Y=f,f=s.image.Y+s.image.height;let b=s.wrap&&k.wrap,_=Gt(k);_.fontSize=_.fontSize+2,_.fontWeight="bold";let x=Pt("label",s,b,_,r.data.widthLimit);if(x.Y=f+8,f=x.Y+x.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let V=Gt(k),F=Pt("type",s,b,V,r.data.widthLimit);F.Y=f+5,f=F.Y+F.height}if(s.descr&&s.descr.text!==""){let V=Gt(k);V.fontSize=V.fontSize-2;let F=Pt("descr",s,b,V,r.data.widthLimit);F.Y=f+20,f=F.Y+F.height}if(h==0||h%ue===0){let V=a.data.startx+k.diagramMarginX,F=a.data.stopy+k.diagramMarginY+f;r.setData(V,V,F,F)}else{let V=r.data.stopx!==r.data.startx?r.data.stopx+k.diagramMarginX:r.data.startx,F=r.data.starty;r.setData(V,V,F,F)}r.name=s.alias;let S=l.getC4ShapeArray(s.alias),B=l.getC4ShapeKeys(s.alias);if(B.length>0)await Me(r,e,S,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);a.data.stopy=Math.max(r.data.stopy+k.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(r.data.stopx+k.c4ShapeMargin,a.data.stopx),zt=Math.max(zt,a.data.stopx),Wt=Math.max(Wt,a.data.stopy)}}t(fe,"drawInsideBoundary");var U0=t(async function(e,n,a,o){k=Te("c4");let p=d().securityLevel,{root:l}=C0(n,p),r=o.db;r.setWrap(k.wrap),Ne=r.getC4ShapeInRow(),ue=r.getC4BoundaryInRow(),i.debug(`C:${JSON.stringify(k,null,2)}`);let h=l.select(`[id="${n}"]`);nt.insertComputerIcon(h,n),nt.insertDatabaseIcon(h,n),nt.insertClockIcon(h,n);let s=new Le(o);s.setData(k.diagramMarginX,k.diagramMarginX,k.diagramMarginY,k.diagramMarginY),s.data.widthLimit=screen.availWidth,zt=k.diagramMarginX,Wt=k.diagramMarginY;let f=r.getTitle(),b=r.getBoundaries("");await fe(h,"",s,b,o),nt.insertArrowHead(h,n),nt.insertArrowEnd(h,n),nt.insertArrowCrossHead(h,n),nt.insertArrowFilledHead(h,n),F0(h,r.getRels(),r.getC4Shape,o,n),s.data.stopx=zt,s.data.stopy=Wt;let _=s.data,{startx:x,starty:S}=_,j=Wt-S+2*k.diagramMarginY,V=zt-x,F=V+2*k.diagramMarginX;if(f)h.append("text").text(f).attr("x",V/2-4*k.diagramMarginX).attr("y",S+k.diagramMarginY);Y(h,j,F,k.useMaxWidth);let H=f?60:0;h.attr("viewBox",x-k.diagramMarginX+" -"+(k.diagramMarginY+H)+" "+F+" "+(j+H)),i.debug("models:",_)},"draw"),Se={drawPersonOrSystemArray:Me,drawBoundary:Ie,setConf:he,draw:U0},j0=t(()=>{let e=d().c4??{},n=new CSSStyleSheet;for(let a of De){let o=n.cssRules[n.insertRule(`.c4-shape.c4-${a} .label {}`,n.cssRules.length)],p=e[`${a}FontFamily`],l=e[`${a}FontSize`],r=e[`${a}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((a)=>a.style.length>0).map((a)=>` ${a.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};
|
package/web/chunk-n5ghyxwk.js.br
DELETED
|
Binary file
|
package/web/chunk-n5ghyxwk.js.gz
DELETED
|
Binary file
|
package/web/chunk-ngsv0xfb.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Es}from"./chunk-d5n2yz4e.js";export{Es as default};
|
package/web/chunk-ngsv0xfb.js.br
DELETED
|
Binary file
|
package/web/chunk-ngsv0xfb.js.gz
DELETED
|
Binary file
|
package/web/chunk-nt21rjrm.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import{S,s,te,a,e,jn,b,Ln,mr}from"./chunk-56a6zytc.js";import{t,i,Pi,st,Vs,Gs,Hr,Ya,Co,_c,Ae,rr,F,Ws,gr,pn,So,wc,kc,Cc,Ys,Xs,A,Sc,Ri,Ke,Y,Ao,Tc,Ii,Eo,g,J,Gt,Wt,Gr,xr,oi,Bi,Zo,Pc,Jo,ac,Q,H,Rc,Hn,es,cc}from"./chunk-h4bzgvbg.js";import{Ni}from"./chunk-5mr8z024.js";function Re(r){let o=r?.constructor;return r===(typeof o==="function"?o.prototype:Object.prototype)}function ke(r){if(r==null)return!0;if(Zo(r)){if(typeof r.splice!=="function"&&typeof r!=="string"&&!oi(r)&&!xr(r)&&!Bi(r))return!1;return r.length===0}if(typeof r==="object"||typeof r==="function"){if(r instanceof Map||r instanceof Set)return r.size===0;let o=Object.keys(r);if(Re(r))return o.filter((d)=>d!=="constructor").length===0;return o.length===0}return!0}var K="comm",ce="rule",le="decl";var $e="@media",Fe="@import";var Oe="@supports";var ze="@namespace",oe="@keyframes";var me="@layer",Pe="@scope";var Ne=Math.abs,W=String.fromCharCode;function ue(r){return r.trim()}function ne(r,o,d){return r.replace(o,d)}function B(r,o){return r.charCodeAt(o)|0}function V(r,o,d){return r.slice(o,d)}function I(r){return r.length}function fe(r){return r.length}function X(r,o){return o.push(r),r}var pe=1,Z=1,Be=0,O=0,T=0,re="";function ge(r,o,d,n,c,l,u,m){return{value:r,root:o,parent:d,type:n,props:c,children:l,line:pe,column:Z,length:u,return:"",siblings:m}}function Ve(){return T}function Ge(){if(T=O>0?B(re,--O):0,Z--,T===10)Z=1,pe--;return T}function z(){if(T=O<Be?B(re,O++):0,Z++,T===10)Z=1,pe++;return T}function G(){return B(re,O)}function se(){return O}function ve(r,o){return V(re,r,o)}function ee(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function He(r){return pe=Z=1,Be=I(re=r),O=0,[]}function Ue(r){return re="",r}function he(r){return ue(ve(O-1,De(r===91?r+2:r===40?r+1:r)))}function We(r){while(T=G())if(T<33)z();else break;return ee(r)>2||ee(T)>3?"":" "}function je(r,o){while(--o&&z())if(T<48||T>102||T>57&&T<65||T>70&&T<97)break;return ve(r,se()+(o<6&&G()==32&&z()==32))}function De(r){while(z())switch(T){case r:return O;case 34:case 39:if(r!==34&&r!==39)De(T);break;case 40:if(r===41)De(r);break;case 92:z();break}return O}function Ye(r,o){while(z())if(r+T===57)break;else if(r+T===84&&G()===47)break;return"/*"+ve(o,O-1)+"*"+W(r===47?r:z())}function qe(r){while(!ee(G()))z();return ve(r,O)}function Ze(r){return Ue(ye("",null,null,null,[""],r=He(r),0,[0],r))}function ye(r,o,d,n,c,l,u,m,f){var v=0,y=0,w=u,h=0,k=0,M=0,D=1,E=1,C=1,L=0,x=0,P="",q=c,N=l,R=n,p=P;while(E)switch(M=x,x=z()){case 40:if(M!=108&&B(p,w-1)==58)L++,p+="(";else p+=he(x);break;case 41:L--,p+=")";break;case 34:case 39:case 91:p+=he(x);break;case 9:case 10:case 13:case 32:if(L>0){p+=W(x);break}p+=We(M);break;case 92:p+=je(se()-1,7);continue;case 47:switch(G()){case 42:case 47:if(X(yt(Ye(z(),se()),o,d,f),f),(ee(M||1)==5||ee(G()||1)==5)&&I(p)&&V(p,-1,void 0)!==" ")p+=" ";break;default:p+="/"}break;case 123*D:m[v++]=I(p)*C;case 125*D:case 59:case 0:if(L>0&&x){p+=W(x);break}switch(x){case 0:case 125:E=0;case 59+y:if(C==-1)p=ne(p,/\f/g,"");if(k>0&&(I(p)-w||D===0))X(k>32?Qe(p+";",n,d,w-1,f):Qe(ne(p," ","")+";",n,d,w-2,f),f);break;case 59:p+=";";default:if(X(R=Xe(p,o,d,v,y,c,m,P,q=[],N=[],w,l),l),x===123)if(y===0)ye(p,o,R,R,q,l,w,m,N);else{switch(h){case 99:if(B(p,3)===110)break;case 108:if(B(p,2)===97)break;default:y=0;case 100:case 109:case 115:}if(y)ye(r,R,R,n&&X(Xe(r,R,R,0,0,c,m,P,c,q=[],w,N),N),c,N,w,m,n?q:N);else ye(p,R,R,R,[""],N,0,m,N)}}v=y=k=0,D=C=1,P=p="",w=u;break;case 58:w=1+I(p),k=M;default:if(D<1){if(x==123)--D;else if(x==125&&D++==0&&Ge()==125)continue}switch(p+=W(x),x*D){case 38:C=y>0?1:(p+="\f",-1);break;case 44:if(L>0)break;m[v++]=(I(p)-1)*C,C=1;break;case 64:if(G()===45)p+=he(z());h=G(),y=w=I(P=p+=qe(se())),x++;break;case 45:if(M===45&&I(p)==2)D=0}}return l}function Xe(r,o,d,n,c,l,u,m,f,v,y,w){var h=c-1,k=c===0?l:[""],M=fe(k);for(var D=0,E=0,C=0;D<n;++D)for(var L=0,x=V(r,h+1,h=Ne(E=u[D])),P=r;L<M;++L)if(P=ue(E>0?k[L]+" "+x:ne(x,/&\f/g,k[L])))f[C++]=P;return ge(r,o,d,c===0?ce:m,f,v,y,w)}function yt(r,o,d,n){return ge(r,o,d,K,W(Ve()),V(r,2,-2),0,n)}function Qe(r,o,d,n,c){return ge(r,o,d,le,V(r,0,n),V(r,n+1,-1),n,c)}function we(r,o){var d="";for(var n=0;n<r.length;n++)d+=o(r[n],n,r,o)||"";return d}function Je(r,o,d,n){switch(r.type){case me:if(r.children.length)break;case Fe:case ze:case le:return r.return=r.return||r.value;case K:return"";case oe:return r.return=r.value+"{"+we(r.children,n)+"}";case ce:if(!I(r.value=r.props.join(",")))return""}return I(d=we(r.children,n))?r.return=r.value+"{"+d+"}":""}function er(r){var o=fe(r);return function(d,n,c,l){var u="";for(var m=0;m<o;m++)u+=r[m](d,n,c,l)||"";return u}}var nr="c4",wt=t((r)=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(r),"detector"),xt=t(async()=>{let{diagram:r}=await (S("n5ghyxwk"),import("./chunk-n5ghyxwk.js"));return{id:nr,diagram:r}},"loader"),bt={id:nr,detector:wt,loader:xt},St=bt,sr="flowchart-v2",Et=t((r)=>/^\s*(graph|flowchart)/.test(r),"detector"),Tt=t(async()=>{let{diagram:r}=await (S("tnttdgsc"),import("./chunk-tnttdgsc.js"));return{id:sr,diagram:r}},"loader"),kt={id:sr,detector:Et,loader:Tt},Dt=kt,dr="agentflow",Ct=t((r)=>/^\s*agentflow-beta\b/.test(r),"detector"),_t=t(async()=>{let{diagram:r}=await (S("whgh2r7d"),import("./chunk-whgh2r7d.js"));return{id:dr,diagram:r}},"loader"),Mt={id:dr,detector:Ct,loader:_t},Lt=Mt,cr="swimlane",At=t((r)=>/^\s*swimlane-beta\b/.test(r),"detector"),It=t(async()=>{let{diagram:r}=await (S("67ynxnvq"),import("./chunk-67ynxnvq.js"));return{id:cr,diagram:r}},"loader"),Rt={id:cr,detector:At,loader:It},$t=Rt,lr="er",Ft=t((r)=>/^\s*erDiagram/.test(r),"detector"),Ot=t(async()=>{let{diagram:r}=await (S("128zy60g"),import("./chunk-128zy60g.js"));return{id:lr,diagram:r}},"loader"),zt={id:lr,detector:Ft,loader:Ot},Pt=zt,ur="gitGraph",Nt=t((r)=>/^\s*gitGraph/.test(r),"detector"),Bt=t(async()=>{let{diagram:r}=await (S("pqh9yszs"),import("./chunk-pqh9yszs.js"));return{id:ur,diagram:r}},"loader"),Vt={id:ur,detector:Nt,loader:Bt},Ht=Vt,fr="gantt",Ut=t((r)=>/^\s*gantt/.test(r),"detector"),jt=t(async()=>{let{diagram:r}=await (S("8h4dc48v"),import("./chunk-8h4dc48v.js"));return{id:fr,diagram:r}},"loader"),Yt={id:fr,detector:Ut,loader:jt},qt=Yt,pr="info",Kt=t((r)=>/^\s*info/.test(r),"detector"),Xt=t(async()=>{let{diagram:r}=await (S("02z7yrhn"),import("./chunk-02z7yrhn.js"));return{id:pr,diagram:r}},"loader"),Qt={id:pr,detector:Kt,loader:Xt},vr="pie",Zt=t((r)=>/^\s*pie/.test(r),"detector"),Jt=t(async()=>{let{diagram:r}=await (S("my0k5w7f"),import("./chunk-my0k5w7f.js"));return{id:vr,diagram:r}},"loader"),ea={id:vr,detector:Zt,loader:Jt},hr="quadrantChart",ra=t((r)=>/^\s*quadrantChart/.test(r),"detector"),ta=t(async()=>{let{diagram:r}=await (S("xh3agbvb"),import("./chunk-xh3agbvb.js"));return{id:hr,diagram:r}},"loader"),aa={id:hr,detector:ra,loader:ta},ia=aa,yr="xychart",oa=t((r)=>/^\s*xychart(-beta)?/.test(r),"detector"),na=t(async()=>{let{diagram:r}=await (S("yzrww95m"),import("./chunk-yzrww95m.js"));return{id:yr,diagram:r}},"loader"),sa={id:yr,detector:oa,loader:na},da=sa,wr="requirement",ca=t((r)=>/^\s*requirement(Diagram)?/.test(r),"detector"),la=t(async()=>{let{diagram:r}=await (S("kknrn2wb"),import("./chunk-kknrn2wb.js"));return{id:wr,diagram:r}},"loader"),ma={id:wr,detector:ca,loader:la},ua=ma,br="sequence",fa=t((r)=>/^\s*sequenceDiagram/.test(r),"detector"),pa=t(async()=>{let{diagram:r}=await (S("9ctyqr3n"),import("./chunk-9ctyqr3n.js"));return{id:br,diagram:r}},"loader"),ga={id:br,detector:fa,loader:pa},va=ga,Sr="classDiagram",ha=t((r)=>/^\s*classDiagram/.test(r),"detector"),ya=t(async()=>{let{diagram:r}=await (S("jb949ewp"),import("./chunk-jb949ewp.js"));return{id:Sr,diagram:r}},"loader"),wa={id:Sr,detector:ha,loader:ya},xa=wa,Er="stateDiagram",ba=t((r)=>/^\s*stateDiagram/.test(r),"detector"),Sa=t(async()=>{let{diagram:r}=await (S("rc6at4k5"),import("./chunk-rc6at4k5.js"));return{id:Er,diagram:r}},"loader"),Ea={id:Er,detector:ba,loader:Sa},Ta=Ea,Tr="journey",ka=t((r)=>/^\s*journey/.test(r),"detector"),Da=t(async()=>{let{diagram:r}=await (S("1e2jy7m2"),import("./chunk-1e2jy7m2.js"));return{id:Tr,diagram:r}},"loader"),Ca={id:Tr,detector:ka,loader:Da},_a=Ca,xe=4,de=75,Ma=t((r)=>{let o=[];for(let c of r.split(/\s+/)){let l=[...c];while(l.length>de)o.push(l.slice(0,de).join("")),l=l.slice(de);if(l.length>0)o.push(l.join(""))}let d=[],n="";for(let c of o){let l=n?`${n} ${c}`:c;if([...l].length>de)d.push(n),n=c;else n=l}if(n)d.push(n);if(d.length>xe){d.length=xe;let c=d[xe-1]??"";d[xe-1]=`${[...c].slice(0,de-3).join("")}...`}return d},"wrapErrorMessage"),La=t((r,o,d,n)=>{i.debug(`rendering svg for syntax error
|
|
2
|
-
`);let c=J(o),l=c.append("g"),u=Ma(n?.db.getErrorMessage?.()??""),m=u.length>0?500+u.length*56:512;c.attr("viewBox",`0 0 2412 ${m}`),Y(c,100,m,!0),l.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),l.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),l.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),l.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),l.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),l.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),l.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),l.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${d}`),u.forEach((f,v)=>{l.append("text").attr("class","error-text").attr("x",1440).attr("y",510+v*56).attr("font-size","42px").style("text-anchor","middle").text(f)})},"draw"),kr={draw:La},Aa=kr,Ce,Ia={clear(){Ce=void 0},setErrorMessage(r){Ce=r},getErrorMessage(){return Ce}},Ra={db:Ia,renderer:kr,parser:{parse:t(()=>{return},"parse")}},$a=Ra,Dr="flowchart-elk",Fa=t((r,o={})=>{if(/^\s*flowchart-elk/.test(r))return o.layout="elk",!0;return!1},"detector"),Oa=t(async()=>{let{diagram:r}=await (S("tnttdgsc"),import("./chunk-tnttdgsc.js"));return{id:Dr,diagram:r}},"loader"),za={id:Dr,detector:Fa,loader:Oa},Pa=za,Cr="timeline",Na=t((r)=>/^\s*timeline/.test(r),"detector"),Ba=t(async()=>{let{diagram:r}=await (S("vx1qmkbm"),import("./chunk-vx1qmkbm.js"));return{id:Cr,diagram:r}},"loader"),Va={id:Cr,detector:Na,loader:Ba},Ga=Va,_r="mindmap",Ha=t((r)=>/^\s*mindmap/.test(r),"detector"),Ua=t(async()=>{let{diagram:r}=await (S("3fnrzj1h"),import("./chunk-3fnrzj1h.js"));return{id:_r,diagram:r}},"loader"),Wa={id:_r,detector:Ha,loader:Ua},ja=Wa,Mr="kanban",qa=t((r)=>/^\s*kanban/.test(r),"detector"),Ka=t(async()=>{let{diagram:r}=await (S("djrvdzsb"),import("./chunk-djrvdzsb.js"));return{id:Mr,diagram:r}},"loader"),Xa={id:Mr,detector:qa,loader:Ka},Qa=Xa,Lr="sankey",Za=t((r)=>/^\s*sankey(-beta)?/.test(r),"detector"),Ja=t(async()=>{let{diagram:r}=await (S("xpw1spgj"),import("./chunk-xpw1spgj.js"));return{id:Lr,diagram:r}},"loader"),ei={id:Lr,detector:Za,loader:Ja},ri=ei,Ar="packet",ti=t((r)=>/^\s*packet(-beta)?/.test(r),"detector"),ai=t(async()=>{let{diagram:r}=await (S("ackts7ph"),import("./chunk-ackts7ph.js"));return{id:Ar,diagram:r}},"loader"),ii={id:Ar,detector:ti,loader:ai},Ir="radar",ni=t((r)=>/^\s*radar-beta/.test(r),"detector"),si=t(async()=>{let{diagram:r}=await (S("214p3rj6"),import("./chunk-214p3rj6.js"));return{id:Ir,diagram:r}},"loader"),di={id:Ir,detector:ni,loader:si},Rr="block",ci=t((r)=>/^\s*block(-beta)?/.test(r),"detector"),li=t(async()=>{let{diagram:r}=await (S("mhtzdq9d"),import("./chunk-mhtzdq9d.js"));return{id:Rr,diagram:r}},"loader"),mi={id:Rr,detector:ci,loader:li},ui=mi,$r="treeView",fi=t((r)=>/^\s*treeView-beta/.test(r),"detector"),pi=t(async()=>{let{diagram:r}=await (S("rnsvrehz"),import("./chunk-rnsvrehz.js"));return{id:$r,diagram:r}},"loader"),gi={id:$r,detector:fi,loader:pi},vi=gi,Fr="architecture",hi=t((r)=>/^\s*architecture/.test(r),"detector"),yi=t(async()=>{let{diagram:r}=await (S("7ed5jf6e"),import("./chunk-7ed5jf6e.js"));return{id:Fr,diagram:r}},"loader"),wi={id:Fr,detector:hi,loader:yi},xi=wi,Or="eventmodeling",bi=t((r)=>/^\s*eventmodeling/.test(r),"detector"),Si=t(async()=>{let{diagram:r}=await (S("t9z1bp8j"),import("./chunk-t9z1bp8j.js"));return{id:Or,diagram:r}},"loader"),Ei={id:Or,detector:bi,loader:Si},Ti=Ei,zr="ishikawa",ki=t((r)=>/^\s*ishikawa(-beta)?\b/i.test(r),"detector"),Di=t(async()=>{let{diagram:r}=await (S("891bpx3c"),import("./chunk-891bpx3c.js"));return{id:zr,diagram:r}},"loader"),Ci={id:zr,detector:ki,loader:Di},Pr="venn",_i=t((r)=>/^\s*venn-beta/.test(r),"detector"),Mi=t(async()=>{let{diagram:r}=await (S("n08727ym"),import("./chunk-n08727ym.js"));return{id:Pr,diagram:r}},"loader"),Li={id:Pr,detector:_i,loader:Mi},Ai=Li,Nr="treemap",$i=t((r)=>/^\s*treemap/.test(r),"detector"),Fi=t(async()=>{let{diagram:r}=await (S("9bs7khrr"),import("./chunk-9bs7khrr.js"));return{id:Nr,diagram:r}},"loader"),Oi={id:Nr,detector:$i,loader:Fi},Br="usecase",zi=t((r)=>/^\s*usecase-beta(?:\s|$)/.test(r),"detector"),Vi=t(async()=>{let{diagram:r}=await (S("e1wy8050"),import("./chunk-e1wy8050.js"));return{id:Br,diagram:r}},"loader"),Gi={id:Br,detector:zi,loader:Vi},Vr="wardley",Hi=t((r)=>/^\s*wardley-beta/i.test(r),"detector"),Ui=t(async()=>{let{diagram:r}=await (S("3g1095m7"),import("./chunk-3g1095m7.js"));return{id:Vr,diagram:r}},"loader"),Wi={id:Vr,detector:Hi,loader:Ui},ji=Wi,Ur="cynefin",Yi=t((r)=>/^\s*cynefin-beta(?:[\s:]|$)/.test(r),"detector"),qi=t(async()=>{let{diagram:r}=await (S("3fbh1wxk"),import("./chunk-3fbh1wxk.js"));return{id:Ur,diagram:r}},"loader"),Ki={id:Ur,detector:Yi,loader:qi},Wr="railroad",Xi=t((r)=>/^\s*railroad-beta/i.test(r),"detector"),Qi=t(async()=>{let{diagram:r}=await (S("yp2jydfj"),import("./chunk-yp2jydfj.js"));return{id:Wr,diagram:r}},"loader"),Zi={id:Wr,detector:Xi,loader:Qi},jr="railroadEbnf",Ji=t((r)=>/^\s*railroad-ebnf-beta/i.test(r),"detector"),eo=t(async()=>{let{diagram:r}=await (S("vtp01n96"),import("./chunk-vtp01n96.js"));return{id:jr,diagram:r}},"loader"),ro={id:jr,detector:Ji,loader:eo},Yr="railroadAbnf",to=t((r)=>/^\s*railroad-abnf-beta/i.test(r),"detector"),ao=t(async()=>{let{diagram:r}=await (S("50pdas2t"),import("./chunk-50pdas2t.js"));return{id:Yr,diagram:r}},"loader"),io={id:Yr,detector:to,loader:ao},qr="railroadPeg",oo=t((r)=>/^\s*railroad-peg-beta/i.test(r),"detector"),no=t(async()=>{let{diagram:r}=await (S("yxp1es3b"),import("./chunk-yxp1es3b.js"));return{id:qr,diagram:r}},"loader"),so={id:qr,detector:oo,loader:no},tr=!1,Ee=t(()=>{if(tr)return;tr=!0,Ii("error",$a,(r)=>r.toLowerCase().trim()==="error"),Ii("---",{db:{clear:t(()=>{},"clear")},styles:{},renderer:{draw:t(()=>{},"draw")},parser:{parse:t(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:t(()=>null,"init")},(r)=>r.toLowerCase().trimStart().startsWith("---")),Co(Pa,ja,xi),Co(Lt,St,Qa,xa,Pt,qt,Qt,ea,ua,va,$t,Dt,Ga,Ht,Ta,_a,ia,ri,ii,da,ui,Ti,vi,di,Ci,Oi,Zi,ro,io,so,Ai,ji,Ki,Gi)},"addDiagrams"),co=t(async()=>{i.debug("Loading registered diagrams");let o=(await Promise.allSettled(Object.entries(Hr).map(async([d,{detector:n,loader:c}])=>{if(!c)return;try{Eo(d)}catch{try{let{diagram:l,id:u}=await c();Ii(u,l,n)}catch(l){throw i.error(`Failed to load external diagram with key ${d}. Removing from detectors.`),delete Hr[d],l}}}))).filter((d)=>d.status==="rejected");if(o.length>0){i.error(`Failed to load ${o.length} external diagrams`);for(let d of o)i.error(d);throw Error(`Failed to load ${o.length} external diagrams`)}},"loadRegisteredDiagrams"),lo="graphics-document document";function Kr(r,o){if(r.attr("role",lo),o!=="")r.attr("aria-roledescription",o)}t(Kr,"setA11yDiagramInfo");function Xr(r,o,d,n){if(r.insert===void 0)return;if(d){let c=`chart-desc-${n}`;r.attr("aria-describedby",c),r.insert("desc",":first-child").attr("id",c).text(d)}if(o){let c=`chart-title-${n}`;r.attr("aria-labelledby",c),r.insert("title",":first-child").attr("id",c).text(o)}}t(Xr,"addSVGa11yTitleDescription");var be=class r{constructor(o,d,n,c,l){this.type=o,this.text=d,this.db=n,this.parser=c,this.renderer=l}static{t(this,"Diagram")}static async fromText(o,d={}){let n=typeof o==="string"?{raw:o,cleaned:o}:o,c=A(),l=Ya(n.cleaned,c);try{Eo(l)}catch{let h=_c(l);if(!h)throw new Gs(`Diagram ${l} not found.`);let{id:k,diagram:M}=await h();Ii(k,M)}let{db:u,parser:m,renderer:f,init:v}=Eo(l);if(m.parser)m.parser.yy=u;if(u.clear?.(),v?.(c),d.title)u.setDiagramTitle?.(d.title);let y=n.cleaned;if(u.preserveCommentsWhenParsing&&n.withComments){let h=c.maxTextSize??F.maxTextSize;if(n.withComments.length>h)i.warn(`Comment-preserving source exceeds maxTextSize (${n.withComments.length} > ${h}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`);else y=n.withComments}let w=Rc(y)+`
|
|
3
|
-
`;if(n.frontmatterLineOffset)u.setFrontmatterLineOffset?.(n.frontmatterLineOffset);return await m.parse(w),new r(l,w,u,m,f)}async render(o,d){await this.renderer.draw(this.text,o,d,this)}getParser(){return this.parser}getType(){return this.type}},ar=[],mo=t(()=>{ar.forEach((r)=>{r()}),ar=[]},"attachFunctions"),uo=t((r)=>r.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function Qr(r){let o=Vs(r);if(!o)return{text:r,metadata:{}};let d=o.indent,n=d?o.body.split(`
|
|
4
|
-
`).map((u)=>u.startsWith(d)?u.slice(d.length):u).join(`
|
|
5
|
-
`):o.body,c=Wt(n,{schema:Gt})??{};c=typeof c==="object"&&!Array.isArray(c)?c:{};let l={};if(c.displayMode)l.displayMode=c.displayMode.toString();if(c.title)l.title=c.title.toString();if(c.config)l.config=c.config;return{text:r.slice(o.length),metadata:l}}t(Qr,"extractFrontMatter");var fo=t((r)=>r.replace(/\r\n?/g,`
|
|
6
|
-
`).replace(/<(\w+)([^>]*)>/g,(o,d,n)=>"<"+d+n.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),po=t((r)=>{let{text:o,metadata:d}=Qr(r),{displayMode:n,title:c,config:l={}}=d;if(n){if(!l.gantt)l.gantt={};l.gantt.displayMode=n}return{title:c,config:l,text:o}},"processFrontmatter"),go=t((r)=>{let o=H.detectInit(r)??{},d=H.detectDirective(r,"wrap");if(Array.isArray(d))o.wrap=d.some(({type:n})=>n==="wrap");else if(d?.type==="wrap")o.wrap=!0;return{text:Pc(r),directive:o}},"processDirectives");function Le(r){let o=r,d=fo(r),n=po(d),c=go(n.text),l=Q(n.config,c.directive),u=c.text,m=uo(u),f=d.length>n.text.length?(d.substring(0,d.length-n.text.length).match(/\n/g)??[]).length:0;return{code:{raw:o,cleaned:m,withComments:u,frontmatterLineOffset:f},title:n.title,config:l}}t(Le,"preprocessDiagram");function Zr(r){let o=new TextEncoder().encode(r),d=Array.from(o,(n)=>String.fromCodePoint(n)).join("");return btoa(d)}t(Zr,"toBase64");var vo=50000,ho="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",yo="sandbox",wo="loose",xo="http://www.w3.org/2000/svg",bo="http://www.w3.org/1999/xlink",To="http://www.w3.org/1999/xhtml",ko="100%",Do="100%",_o="border:0;margin:0;",Mo="margin:0",Lo="allow-top-navigation-by-user-activation allow-popups",Io='The "iframe" tag is not supported by your browser.',Ro=["foreignobject"],$o=["dominant-baseline"];function Ie(r){let o=Le(r);Ri();let d;try{d=Ya(o.code.cleaned,A())}catch{d=void 0}return So(d),Sc(o.config??{}),o}t(Ie,"processAndSetConfigs");async function Jr(r,o){Ee();try{let{code:d,config:n}=Ie(r);return{diagramType:(await be.fromText(d)).type,config:n}}catch(d){if(o?.suppressErrors)return!1;throw d}finally{So(void 0)}}t(Jr,"parse");var ir=t((r,o,d=[])=>{let n=Ws(`{ ${d.join(" !important; ")} !important; }`);return`.${r} ${o} ${n}`},"cssImportantStyles"),Fo=t((r,o=new Map)=>{let d=new CSSStyleSheet;if(r.fontFamily!==void 0)d.insertRule(`:root { --mermaid-font-family: ${r.fontFamily}}`,d.cssRules.length);if(r.altFontFamily!==void 0)d.insertRule(`:root { --mermaid-alt-font-family: ${r.altFontFamily}}`,d.cssRules.length);if(o instanceof Map){let m=Ke(r)?["> *","span"]:["rect","polygon","ellipse","circle","path"];o.forEach((f)=>{if(!ke(f.styles))m.forEach((v)=>{d.insertRule(ir(f.id,v,f.styles),d.cssRules.length)});if(!ke(f.textStyles))d.insertRule(ir(f.id,"tspan",(f?.textStyles||[]).map((v)=>v.replace("color","fill"))),d.cssRules.length)})}let n="";if(r.themeCSS!==void 0)if(typeof d.replaceSync==="function"){let c=new CSSStyleSheet;c.replaceSync(r.themeCSS),n=Ao(c)+`
|
|
7
|
-
`}else n+=`${r.themeCSS}
|
|
8
|
-
`;return n+Ao(d)},"createCssStyles"),Oo=t((r,o)=>we(Ze(`${r}{${o}}`),er([t(function(n,c,l,u){if(n.type==="rule"&&Array.isArray(n.props)){if(n.parent&&n.parent.type===oe)return;n.props=n.props.map((m)=>{if(m===r&&Array.isArray(n.children)&&n.children.every((v)=>{if(v.type!=="decl")return!1;return new Set(["font-family","font-size","fill"]).has(v.props)}))return m;if(!((m.startsWith(`${r} `)||m.startsWith(`${r}>`))&&!m.startsWith(`${r} ||`)))return`${r} ${m}`;return m})}else if(n.type.startsWith("@")){if(![$e,Oe,me,Pe,"@container","@starting-style",oe].includes(n.type))i.warn(`Removing unsupported at-rule ${n.type} from CSS`),n.type=K}},"addNamespace"),Je])),"compileCSS"),zo=t((r,o,d,n)=>{let c=Fo(r,d),l=Tc(o,c,{...r.themeVariables,theme:r.theme,look:r.look},n);return Oo(n,l)},"createUserStyles"),Po=t((r="",o,d)=>{let n=r;if(!d&&!o)n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#');return n=Hn(n),n=n.replace(/<br>/g,"<br/>"),n},"cleanUpSvgCode"),No=t((r="",o)=>{let d=o?.viewBox?.baseVal?.height?o.viewBox.baseVal.height+"px":Do,n=Zr(`<body style="${Mo}">${r}</body>`);return`<iframe style="width:${ko};height:${d};${_o}" src="data:text/html;charset=UTF-8;base64,${n}" sandbox="${Lo}">
|
|
9
|
-
${Io}
|
|
10
|
-
</iframe>`},"putIntoIFrame"),or=t((r,o,d,n,c)=>{let l=r.append("div");if(l.attr("id",d),n)l.attr("style",n);let u=l.append("svg").attr("id",o).attr("width","100%").attr("xmlns",xo);if(c)u.attr("xmlns:xlink",c);return u.append("g"),r},"appendDivSvgG");function Me(r,o){return r.append("iframe").attr("id",o).attr("style","width: 100%; height: 100%;").attr("sandbox","")}t(Me,"sandboxedIframe");var Bo=t((r,o,d,n)=>{r.getElementById(o)?.remove(),r.getElementById(d)?.remove(),r.getElementById(n)?.remove()},"removeExistingElements"),Vo=t(async function(r,o,d){Ee();let n=Ie(o),c=n.code;o=c.cleaned;let l=A();if(i.debug(l),o.length>(l?.maxTextSize??vo))o=ho,c={raw:o,cleaned:o};let u=`#${r}`,m="i"+r,f="#"+m,v="d"+r,y="#"+v,w=t(()=>{let ie=g(k?f:y).node();if(ie&&"remove"in ie)ie.remove()},"removeTempElements"),h=g(document.body),k=l.securityLevel===yo,M=l.securityLevel===wo,D=l.fontFamily;if(d!==void 0){if(d)d.innerHTML="";if(k){let _=Me(g(d),m);h=g(_.nodes()[0].contentDocument.body),h.node().style.margin="0"}else h=g(d);or(h,r,v,`font-family: ${D}`,bo)}else{if(Bo(document,r,v,m),k){let _=Me(g(document.body),m);h=g(_.nodes()[0].contentDocument.body),h.node().style.margin="0"}else h=g("body");or(h,r,v)}let E,C;try{E=await be.fromText(c,{title:n.title})}catch(_){if(l.suppressErrorRendering)throw w(),_;E=await be.fromText("error"),C=_,E.db.setErrorMessage?.(ac(_))}let L=h.select(y).node(),x=E.type,P=L.firstChild,q=P.firstChild,N=E.renderer.getClasses?.(o,E),R=zo(l,x,N,u),p=document.createElement("style");p.innerHTML=R,P.insertBefore(p,q);try{await E.renderer.draw(o,r,"12.2.0",E)}catch(_){if(l.suppressErrorRendering)w();else Aa.draw(o,r,"12.2.0");throw _}let ft=h.select(`${y} svg`),pt=E.db.getAccTitle?.(),gt=E.db.getAccDescription?.();rt(x,ft,pt,gt);let vt=t(()=>{h.select(`[id="${r}"]`).selectAll("foreignobject > *").attr("xmlns",To);let _=h.select(y).node().innerHTML;if(i.debug("config.arrowMarkerAbsolute",l.arrowMarkerAbsolute),_=Po(_,k,pn(l.arrowMarkerAbsolute)),k){let ie=h.select(y+" svg").node();_=No(_,ie)}else if(!M)_=st.sanitize(_,{ADD_TAGS:Ro,ADD_ATTR:$o,HTML_INTEGRATION_POINTS:{foreignobject:!0}});return mo(),_},"serializeSvg")();if(C)throw C;return w(),{diagramType:x,svg:vt,bindFunctions:E.db.bindFunctions}},"renderDiagram"),Go=t(async function(r,o,d){try{return await Vo(r,o,d)}finally{So(void 0)}},"render");function et(r={}){let o=Ae({},r);if(o?.fontFamily&&!o.themeVariables?.fontFamily){if(!o.themeVariables)o.themeVariables={};o.themeVariables.fontFamily=o.fontFamily}kc(o);let d=gr.theme;if(o?.theme&&Object.hasOwn(rr,o.theme))o.themeVariables=rr[o.theme].getThemeVariables(o.themeVariables);else if(o){if(o.theme!=null&&o.theme!=="null")o.theme=d;o.themeVariables=rr[d].getThemeVariables(o.themeVariables)}let n=typeof o==="object"?wc(o):Ys();Pi(n.logLevel),Ee()}t(et,"initialize");var Ho=t((r,o={})=>{let{code:d}=Le(r);return be.fromText(d,o)},"getDiagramFromText");function rt(r,o,d,n){Kr(o,r),Xr(o,d,n,o.attr("id"))}t(rt,"addA11yInfo");var j=Object.freeze({render:Go,parse:Jr,getDiagramFromText:Ho,initialize:et,getConfig:A,setConfig:Xs,getSiteConfig:Ys,updateSiteConfig:Cc,reset:t(()=>{Ri()},"reset"),globalReset:t(()=>{Ri(gr)},"globalReset"),defaultConfig:gr});Pi(A().logLevel);Ri(A());var Uo=t((r,o,d)=>{if(i.warn(r),Jo(r)){if(d)d(r.str,r.hash);o.push({...r,message:r.str,error:r})}else{if(d)d(r);if(r instanceof Error)o.push({str:r.message,message:r.message,hash:r.name,error:r})}},"handleError"),tt=t(async function(r={querySelector:".mermaid"}){try{await Wo(r)}catch(o){if(Jo(o))i.error(o.str);if(U.parseError)U.parseError(o);if(!r.suppressErrors)throw i.error("Use the suppressErrors option to suppress these errors"),o}},"run"),Wo=t(async function({postRenderCallback:r,querySelector:o,nodes:d}={querySelector:".mermaid"}){let n=j.getConfig();i.debug(`${!r?"No ":""}Callback function found`);let c;if(d)c=d;else if(o)c=document.querySelectorAll(o);else throw Error("Nodes and querySelector are both undefined");if(i.debug(`Found ${c.length} diagrams`),n?.startOnLoad!==void 0)i.debug("Start On Load: "+n?.startOnLoad),j.updateSiteConfig({startOnLoad:n?.startOnLoad});let l=new H.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed),u,m=[];for(let f of Array.from(c)){if(i.info("Rendering diagram: "+f.id),f.getAttribute("data-processed"))continue;f.setAttribute("data-processed","true");let v=`mermaid-${l.next()}`;u=f.innerHTML,u=es(H.entityDecode(u)).trim().replace(/<br\s*\/?>/gi,"<br/>");let y=H.detectInit(u);if(y)i.debug("Detected early reinit: ",y);try{let{svg:w,bindFunctions:h}=await nt(v,u,f);if(f.innerHTML=w,r)await r(v);if(h)h(f)}catch(w){Uo(w,m,U.parseError)}}if(m.length>0)throw m[0]},"runThrowsErrors"),at=t(function(r){j.initialize(r)},"initialize"),jo=t(async function(r,o,d){if(i.warn("mermaid.init is deprecated. Please use run instead."),r)at(r);let n={postRenderCallback:d,querySelector:".mermaid"};if(typeof o==="string")n.querySelector=o;else if(o)if(o instanceof HTMLElement)n.nodes=[o];else n.nodes=o;await tt(n)},"init"),Yo=t(async(r,{lazyLoad:o=!0}={})=>{if(Ee(),Co(...r),o===!1)await co()},"registerExternalDiagrams"),it=t(function(){if(U.startOnLoad){let{startOnLoad:r}=j.getConfig();if(r)U.run().catch((o)=>i.error("Mermaid failed to initialize",o))}},"contentLoaded");if(typeof document<"u")window.addEventListener("load",it,!1);var qo=t(function(r){U.parseError=r},"setParseErrorHandler"),Se=[],_e=!1,ot=t(async()=>{if(_e)return;_e=!0;while(Se.length>0){let r=Se.shift();if(r)try{await r()}catch(o){i.error("Error executing queue",o)}}_e=!1},"executeQueue"),Ko=t(async(r,o)=>new Promise((d,n)=>{let c=t(()=>new Promise((l,u)=>{j.parse(r,o).then((m)=>{l(m),d(m)},(m)=>{i.error("Error parsing",m),U.parseError?.(m),u(m),n(m)})}),"performCall");Se.push(c),ot().catch(n)}),"parse"),nt=t((r,o,d)=>new Promise((n,c)=>{let l=t(()=>new Promise((u,m)=>{j.render(r,o,d).then((f)=>{u(f),n(f)},(f)=>{i.error("Error parsing",f),U.parseError?.(f),m(f),c(f)})}),"performCall");Se.push(l),ot().catch(c)}),"render"),Xo=t(()=>Object.keys(Hr).map((r)=>({id:r})),"getRegisteredDiagramsMetadata"),U={startOnLoad:!0,mermaidAPI:j,parse:Ko,render:nt,init:jo,run:tt,registerExternalDiagrams:Yo,registerLayoutLoaders:cc,initialize:at,parseError:void 0,contentLoaded:it,setParseErrorHandler:qo,detectType:Ya,registerIconPacks:Gr,getRegisteredDiagramsMetadata:Xo},Te=U;/*! Check if previously processed *//*!
|
|
11
|
-
* Wait for document loaded before starting the execution
|
|
12
|
-
*/function dt(r,o){if(!(o instanceof Error)||!("hash"in o))return;let d=o.hash;if(typeof d!=="object"||d===null)return;if(!("token"in d)||d.token!=="LINK_ID")return;if(!("text"in d)||typeof d.text!=="string"||!d.text.endsWith("@"))return;if(!("line"in d)||typeof d.line!=="number"||!Number.isInteger(d.line))return;let n=r.split(`
|
|
13
|
-
`),c=n[d.line];if(c===void 0)return;let l=c.lastIndexOf(d.text);if(l<0)return;let u=l+d.text.length-1;return n[d.line]=`${c.slice(0,u)}@${c.slice(u+1)}`,n.join(`
|
|
14
|
-
`)}function ct(r,o){let d=o??(r==="dark"?mr:Ln),n=d.colors.hex,c=jn(n.panel,n.accent,r==="dark"?0.16:0.08),l=jn(n.panel,n.accent,r==="dark"?0.55:0.45),u=jn(n.panel,n.raised,0.6);return{darkMode:r==="dark",fontFamily:d.fonts.sans||"var(--font-sans)",fontSize:"14px",useGradient:!1,dropShadow:"none",background:"transparent",mainBkg:c,nodeBkg:c,nodeBorder:l,nodeTextColor:n.ink,primaryColor:c,primaryBorderColor:l,primaryTextColor:n.ink,secondaryColor:u,secondaryBorderColor:n.lineStrong,secondaryTextColor:n.dim,tertiaryColor:n.raised,tertiaryBorderColor:n.line,tertiaryTextColor:n.dim,lineColor:jn(n.faint,n.lineStrong,0.4),arrowheadColor:n.faint,defaultLinkColor:jn(n.faint,n.lineStrong,0.4),edgeLabelBackground:n.panel,labelBoxBkgColor:n.panel,labelBoxBorderColor:n.line,labelTextColor:n.dim,textColor:n.dim,titleColor:n.ink,clusterBkg:jn(n.panel,n.bg,0.5),clusterBorder:n.line,radius:8,strokeWidth:"1.5px"}}function lt(r,o){let d=(o??(r==="dark"?mr:Ln)).colors.hex,n={fill:jn(d.panel,d.warning,r==="dark"?0.18:0.12),stroke:jn(d.panel,d.warning,r==="dark"?0.6:0.7)};return`
|
|
15
|
-
.node rect, .node .basic.label-container { rx: 10px; ry: 10px; }
|
|
16
|
-
.node .label, .nodeLabel { font-weight: 500; }
|
|
17
|
-
.node polygon { fill: ${n.fill} !important; stroke: ${n.stroke} !important; }
|
|
18
|
-
.edgeLabel, .edgeLabel p, .edgeLabel rect { border-radius: 999px; font-size: 12px; }
|
|
19
|
-
.edgeLabel p { padding: 1px 6px; }
|
|
20
|
-
.cluster rect { rx: 12px; ry: 12px; stroke-dasharray: 4 3; }
|
|
21
|
-
`}var Qo=60,ae=new Map;function mt(r,o,d=""){return`${o}:${d}:${r}`}function en(r,o){if(ae.size>=Qo){let d=ae.keys().next().value;if(d!==void 0)ae.delete(d)}ae.set(r,o)}var ut;function rn(r,o,d){let n=d??r;if(ut===n)return;Te.initialize({startOnLoad:!1,suppressErrorRendering:!0,securityLevel:"strict",theme:"base",themeVariables:ct(r,o),themeCSS:lt(r,o),fontFamily:o?.fonts?.sans||"var(--font-sans)",flowchart:{useMaxWidth:!1,curve:"basis",padding:14,nodeSpacing:44,rankSpacing:56},sequence:{useMaxWidth:!1},state:{useMaxWidth:!1},class:{useMaxWidth:!1},er:{useMaxWidth:!1},gantt:{useMaxWidth:!1},mindmap:{useMaxWidth:!1},timeline:{useMaxWidth:!1}}),ut=n}var tn=0,an=32;async function on(r,o,d,n,c){rn(o,n,c);let l=`${d}-${++tn}`,u=r,m=0;try{while(!0)try{let{svg:f}=await Te.render(l,u);return f.replace(/filter="url\(#[^"]+\)"/g,"").replace(/filter:\s*url\(#[^)]+\);?/g,"")}catch(f){let v=m<an?dt(u,f):void 0;if(!v)throw f;u=v,m+=1}}finally{document.getElementById(`d${l}`)?.remove()}}var nn=(r)=>r instanceof Error?r.message:String(r);function ps(r){let o=b(),d=o.useTheme?.(),n=o.useColorScheme?.(),c=d?.resolved??n??"light",l=d?.tokens,u=d?.themeID?`${d.themeID}-${c}`:c,m=`mermaid-${te().replace(/[^\w-]/g,"")}`,f=r.code.trim(),[v,y]=a(()=>ae.get(mt(f,c,u))),[w,h]=a(),[k,M]=a(!v);return s(()=>{let D=mt(f,c,u),E=ae.get(D);if(E){y(E),h(void 0),M(!1);return}let C=!0;M(!0);let L=setTimeout(async()=>{try{if(r.streaming&&!await Te.parse(f,{suppressErrors:!0})){if(C)M(!1);return}let x=await on(f,c,m,l,u);if(en(D,x),!C)return;y(x),h(void 0)}catch(x){if(C)h(nn(x))}if(C)M(!1)},r.streaming?200:0);return()=>{C=!1,clearTimeout(L)}},[f,c,u,l,r.streaming,m]),e(Ni,{title:"流程图",code:r.code,codeLang:"mermaid",rendered:Boolean(v),pending:k,streaming:r.streaming,error:w,children:e("div",{role:"img","aria-label":"Mermaid 流程图",className:"flex overflow-x-auto px-6 py-7 [background-image:radial-gradient(var(--color-line)_1px,transparent_1px)] [background-size:16px_16px] [&_svg]:mx-auto [&_svg]:h-auto [&_svg]:max-w-full",dangerouslySetInnerHTML:{__html:v??""}})})}export{ps as MermaidBlock};
|
package/web/chunk-nt21rjrm.js.br
DELETED
|
Binary file
|
package/web/chunk-nt21rjrm.js.gz
DELETED
|
Binary file
|
package/web/chunk-nzgj9qx5.js
DELETED
package/web/chunk-nzgj9qx5.js.br
DELETED
|
Binary file
|
package/web/chunk-nzgj9qx5.js.gz
DELETED
|
Binary file
|