@bkm016/basalt 0.1.36 → 0.1.38
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/chunk-02kyx0dt.js +3 -0
- package/chunk-19nje7ny.js +5 -0
- package/chunk-1jtnjzrz.js +3 -0
- package/chunk-1rt7fvft.js +51 -0
- package/chunk-23qfxx3v.js +3 -0
- package/chunk-28dpfw91.js +20 -0
- package/chunk-2bz3h7k7.js +18 -0
- package/chunk-2etdp9zt.js +3 -0
- package/chunk-3bc88p88.js +2 -0
- package/chunk-3bqs901a.js +3 -0
- package/chunk-412mm63g.js +3 -0
- package/chunk-4kg028qe.js +3 -0
- package/chunk-4ry04733.js +2 -0
- package/chunk-4zvzk6m5.js +25 -0
- package/chunk-5ngmwd2s.js +3 -0
- package/chunk-5yzts6r0.js +3 -0
- package/chunk-6bvjnr88.js +3 -0
- package/chunk-76jjaj1p.js +7 -0
- package/chunk-792xwgne.js +2 -0
- package/chunk-7ph88zkj.js +3 -0
- package/chunk-7t89zqqx.js +8 -0
- package/chunk-80vdhw6b.js +2 -0
- package/chunk-89aqq5v0.js +59 -0
- package/chunk-8bcc3rqc.js +2 -0
- package/chunk-8bvjjs3r.js +3 -0
- package/chunk-97531m3c.js +2 -0
- package/chunk-9b4ssdy4.js +3 -0
- package/chunk-9map5c1b.js +12 -0
- package/chunk-a0ycrvgz.js +2 -0
- package/chunk-ah2ttnaa.js +2 -0
- package/chunk-awe58cxg.js +3175 -0
- package/chunk-b3ss17r8.js +547 -0
- package/chunk-b5ph3ffy.js +39 -0
- package/chunk-bkabw9yr.js +3 -0
- package/chunk-cz9r99b6.js +2 -0
- package/chunk-d57kcznk.js +16 -0
- package/chunk-ebmmdfq3.js +2 -0
- package/chunk-etf8mj2z.js +2 -0
- package/chunk-fkgx9eab.js +2 -0
- package/chunk-fmvs5wd0.js +11 -0
- package/chunk-fpksd95h.js +3 -0
- package/chunk-hj1zcq3p.js +13 -0
- package/chunk-hnqtkgcq.js +3 -0
- package/chunk-hrxkr8a8.js +3 -0
- package/chunk-jaat2z8t.js +117 -0
- package/chunk-jkc887x8.js +2 -0
- package/chunk-jnas3anm.js +3 -0
- package/chunk-k3p05x7q.js +2 -0
- package/chunk-k6fqtjt8.js +3 -0
- package/chunk-kh4b25x0.js +12 -0
- package/chunk-kn8p9hm4.js +3 -0
- package/chunk-kxznfjhk.js +2 -0
- package/chunk-ma4nhnnj.js +3 -0
- package/chunk-n09zsaws.js +60 -0
- package/chunk-nb7c0e4a.js +10 -0
- package/chunk-pvbaf50c.js +7 -0
- package/chunk-pzg6f8rv.js +3 -0
- package/chunk-q7scf6rq.js +5 -0
- package/chunk-qc0d97yy.js +9 -0
- package/chunk-qn316bye.js +3 -0
- package/chunk-rapgtezp.js +3 -0
- package/chunk-rbz68jdh.js +2 -0
- package/chunk-rkq3zqph.js +3 -0
- package/chunk-rva3kxc4.js +3 -0
- package/chunk-s8ce8wwb.js +5 -0
- package/chunk-srmxyfvj.js +4 -0
- package/chunk-ss48r7hh.js +2 -0
- package/chunk-sxrwwyp7.js +3 -0
- package/chunk-tb3tj3ct.js +2 -0
- package/chunk-trf8d8md.js +2 -0
- package/chunk-v312dzv1.js +2 -0
- package/chunk-v9pc3ad7.js +3 -0
- package/chunk-vq3b921g.js +2 -0
- package/chunk-w8arnzsm.js +10 -0
- package/chunk-wa3w6q66.js +2 -0
- package/chunk-wyaep3eb.js +103 -0
- package/chunk-x31xqemq.js +3 -0
- package/chunk-x4nt43pv.js +2 -0
- package/chunk-xjr4j102.js +31 -0
- package/chunk-xp5p6tsp.js +286 -0
- package/chunk-xtzxv389.js +3 -0
- package/chunk-y91ea95f.js +7 -0
- package/chunk-yyeq63ns.js +2 -0
- package/chunk-z1hbxv39.js +2 -0
- package/chunk-zej3kgxg.js +5 -0
- package/chunk-zkhn196x.js +25 -0
- package/chunk-zztar24h.js +8 -0
- package/compiled.js +13 -13
- package/package.json +1 -1
- package/ui-test-worker.js +58 -57
- package/web/chunk-0qmwgbg8.js +1 -0
- package/web/chunk-0qmwgbg8.js.br +0 -0
- package/web/chunk-0qmwgbg8.js.gz +0 -0
- package/web/chunk-0vavwwh2.js +2 -0
- package/web/chunk-0vavwwh2.js.br +0 -0
- package/web/chunk-0vavwwh2.js.gz +0 -0
- package/web/chunk-0vmbj6hc.js +89 -0
- package/web/chunk-0vmbj6hc.js.br +0 -0
- package/web/chunk-0vmbj6hc.js.gz +0 -0
- package/web/chunk-17qjx34e.js +1 -0
- package/web/chunk-17qjx34e.js.br +0 -0
- package/web/chunk-17qjx34e.js.gz +0 -0
- package/web/chunk-1mkzfr1m.js +2 -0
- package/web/chunk-1mkzfr1m.js.br +0 -0
- package/web/chunk-1mkzfr1m.js.gz +0 -0
- package/web/chunk-1v45hcve.js +1 -0
- package/web/chunk-1v45hcve.js.br +0 -0
- package/web/chunk-1v45hcve.js.gz +0 -0
- package/web/chunk-1vewct29.js +78 -0
- package/web/chunk-1vewct29.js.br +0 -0
- package/web/chunk-1vewct29.js.gz +0 -0
- package/web/chunk-2hz3atj2.js +1 -0
- package/web/chunk-2hz3atj2.js.br +0 -0
- package/web/chunk-2hz3atj2.js.gz +0 -0
- package/web/chunk-3c66z204.js +1 -0
- package/web/chunk-3c66z204.js.br +0 -0
- package/web/chunk-3c66z204.js.gz +0 -0
- package/web/chunk-3ctk7p8b.js +200 -0
- package/web/chunk-3ctk7p8b.js.br +0 -0
- package/web/chunk-3ctk7p8b.js.gz +0 -0
- package/web/chunk-3rnbw3ds.js +2 -0
- package/web/chunk-3rnbw3ds.js.br +0 -0
- package/web/chunk-3rnbw3ds.js.gz +0 -0
- package/web/chunk-3t6c1rn7.js +2 -0
- package/web/chunk-3t6c1rn7.js.br +0 -0
- package/web/chunk-3t6c1rn7.js.gz +0 -0
- package/web/chunk-48f75wpj.js +1 -0
- package/web/chunk-48f75wpj.js.br +0 -0
- package/web/chunk-48f75wpj.js.gz +0 -0
- package/web/chunk-4sr7g3z6.js +70 -0
- package/web/chunk-4sr7g3z6.js.br +0 -0
- package/web/chunk-4sr7g3z6.js.gz +0 -0
- package/web/chunk-54kxhs8a.js +1 -0
- package/web/chunk-54kxhs8a.js.br +0 -0
- package/web/chunk-54kxhs8a.js.gz +0 -0
- package/web/chunk-5cbw7v9g.js +324 -0
- package/web/chunk-5cbw7v9g.js.br +0 -0
- package/web/chunk-5cbw7v9g.js.gz +0 -0
- package/web/chunk-5kxhdpsw.js +99 -0
- package/web/chunk-5kxhdpsw.js.br +0 -0
- package/web/chunk-5kxhdpsw.js.gz +0 -0
- package/web/chunk-5s16b1h5.js +2 -0
- package/web/chunk-5s16b1h5.js.br +0 -0
- package/web/chunk-5s16b1h5.js.gz +0 -0
- package/web/chunk-5z2f4vfh.js +1 -0
- package/web/chunk-5z2f4vfh.js.br +0 -0
- package/web/chunk-5z2f4vfh.js.gz +0 -0
- package/web/chunk-664zwasq.js +217 -0
- package/web/chunk-664zwasq.js.br +0 -0
- package/web/chunk-664zwasq.js.gz +0 -0
- package/web/chunk-6hgxmv17.js +1 -0
- package/web/chunk-6hgxmv17.js.br +0 -0
- package/web/chunk-6hgxmv17.js.gz +0 -0
- package/web/chunk-6wesgn4j.js +332 -0
- package/web/chunk-6wesgn4j.js.br +0 -0
- package/web/chunk-6wesgn4j.js.gz +0 -0
- package/web/chunk-6xnzhe0e.js +12 -0
- package/web/chunk-6xnzhe0e.js.br +0 -0
- package/web/chunk-6xnzhe0e.js.gz +0 -0
- package/web/chunk-73effb3e.js +1 -0
- package/web/chunk-73effb3e.js.br +0 -0
- package/web/chunk-73effb3e.js.gz +0 -0
- package/web/chunk-744jv40n.js +7 -0
- package/web/chunk-744jv40n.js.br +0 -0
- package/web/chunk-744jv40n.js.gz +0 -0
- package/web/chunk-74x21fpx.js +23 -0
- package/web/chunk-74x21fpx.js.br +0 -0
- package/web/chunk-74x21fpx.js.gz +0 -0
- package/web/chunk-75jp6b07.js +1 -0
- package/web/chunk-75jp6b07.js.br +0 -0
- package/web/chunk-75jp6b07.js.gz +0 -0
- package/web/chunk-776d411a.js +1143 -0
- package/web/chunk-776d411a.js.br +0 -0
- package/web/chunk-776d411a.js.gz +0 -0
- package/web/chunk-77fdf0t8.js +1 -0
- package/web/chunk-77fdf0t8.js.br +0 -0
- package/web/chunk-77fdf0t8.js.gz +0 -0
- package/web/chunk-85cyf9df.js +1 -0
- package/web/chunk-85cyf9df.js.br +0 -0
- package/web/chunk-85cyf9df.js.gz +0 -0
- package/web/chunk-8kxc78xp.js +4 -0
- package/web/chunk-8kxc78xp.js.br +0 -0
- package/web/chunk-8kxc78xp.js.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-9kfxbebp.js +2 -0
- package/web/chunk-9kfxbebp.js.br +1 -0
- package/web/chunk-9kfxbebp.js.gz +0 -0
- package/web/chunk-b1x8wmyp.js +1 -0
- package/web/chunk-b1x8wmyp.js.br +2 -0
- package/web/chunk-b1x8wmyp.js.gz +0 -0
- package/web/chunk-bpy0qc5f.js +1 -0
- package/web/chunk-bpy0qc5f.js.br +0 -0
- package/web/chunk-bpy0qc5f.js.gz +0 -0
- package/web/chunk-brsvdef4.js +1 -0
- package/web/chunk-brsvdef4.js.br +0 -0
- package/web/chunk-brsvdef4.js.gz +0 -0
- package/web/chunk-bs8vnwtv.js +106 -0
- package/web/chunk-bs8vnwtv.js.br +0 -0
- package/web/chunk-bs8vnwtv.js.gz +0 -0
- package/web/chunk-cd3hhgn9.js +2 -0
- package/web/chunk-cd3hhgn9.js.br +0 -0
- package/web/chunk-cd3hhgn9.js.gz +0 -0
- package/web/chunk-ckpx6ky8.js +2 -0
- package/web/chunk-ckpx6ky8.js.br +0 -0
- package/web/chunk-ckpx6ky8.js.gz +0 -0
- package/web/chunk-cn4846p5.js +140 -0
- package/web/chunk-cn4846p5.js.br +0 -0
- package/web/chunk-cn4846p5.js.gz +0 -0
- package/web/chunk-cngcze57.js +84 -0
- package/web/chunk-cngcze57.js.br +0 -0
- package/web/chunk-cngcze57.js.gz +0 -0
- package/web/chunk-csg9anab.js +62 -0
- package/web/chunk-csg9anab.js.br +0 -0
- package/web/chunk-csg9anab.js.gz +0 -0
- package/web/chunk-ct98jt0b.js +2 -0
- package/web/chunk-ct98jt0b.js.br +0 -0
- package/web/chunk-ct98jt0b.js.gz +0 -0
- package/web/chunk-d67p0nr5.js +8 -0
- package/web/chunk-d67p0nr5.js.br +0 -0
- package/web/chunk-d67p0nr5.js.gz +0 -0
- package/web/chunk-dfv95z6w.js +1 -0
- package/web/chunk-dfv95z6w.js.br +0 -0
- package/web/chunk-dfv95z6w.js.gz +0 -0
- package/web/chunk-dqynqkew.js +3 -0
- package/web/chunk-dqynqkew.js.br +0 -0
- package/web/chunk-dqynqkew.js.gz +0 -0
- package/web/chunk-drn8wj2p.js +41 -0
- package/web/chunk-drn8wj2p.js.br +0 -0
- package/web/chunk-drn8wj2p.js.gz +0 -0
- package/web/chunk-e0r89rgm.js +2 -0
- package/web/chunk-e0r89rgm.js.br +0 -0
- package/web/chunk-e0r89rgm.js.gz +0 -0
- package/web/chunk-e6ffgm2z.js +89 -0
- package/web/chunk-e6ffgm2z.js.br +0 -0
- package/web/chunk-e6ffgm2z.js.gz +0 -0
- package/web/chunk-ebphre6k.js +292 -0
- package/web/chunk-ebphre6k.js.br +0 -0
- package/web/chunk-ebphre6k.js.gz +0 -0
- package/web/chunk-edeebkv0.js +2 -0
- package/web/chunk-edeebkv0.js.br +0 -0
- package/web/chunk-edeebkv0.js.gz +0 -0
- package/web/chunk-edkvcg8g.js +1 -0
- package/web/chunk-edkvcg8g.js.br +0 -0
- package/web/chunk-edkvcg8g.js.gz +0 -0
- package/web/chunk-evt920fg.js +142 -0
- package/web/chunk-evt920fg.js.br +0 -0
- package/web/chunk-evt920fg.js.gz +0 -0
- package/web/chunk-ezehzx5e.js +1 -0
- package/web/chunk-ezehzx5e.js.br +2 -0
- package/web/chunk-ezehzx5e.js.gz +0 -0
- package/web/chunk-f020aqdg.js +38 -0
- package/web/chunk-f020aqdg.js.br +0 -0
- package/web/chunk-f020aqdg.js.gz +0 -0
- package/web/chunk-f5a5x6be.js +1 -0
- package/web/chunk-f5a5x6be.js.br +0 -0
- package/web/chunk-f5a5x6be.js.gz +0 -0
- package/web/chunk-f9rv8b13.js +1 -0
- package/web/chunk-f9rv8b13.js.br +0 -0
- package/web/chunk-f9rv8b13.js.gz +0 -0
- package/web/chunk-fkmw2m49.js +1 -0
- package/web/chunk-fkmw2m49.js.br +0 -0
- package/web/chunk-fkmw2m49.js.gz +0 -0
- package/web/chunk-fn0hha9d.js +2 -0
- package/web/chunk-fn0hha9d.js.br +0 -0
- package/web/chunk-fn0hha9d.js.gz +0 -0
- package/web/chunk-fp5ny5dy.js +4 -0
- package/web/chunk-fp5ny5dy.js.br +0 -0
- package/web/chunk-fp5ny5dy.js.gz +0 -0
- package/web/chunk-fwckng4e.js +34 -0
- package/web/chunk-fwckng4e.js.br +0 -0
- package/web/chunk-fwckng4e.js.gz +0 -0
- package/web/chunk-g7yyp4ks.js +2 -0
- package/web/chunk-g7yyp4ks.js.br +0 -0
- package/web/chunk-g7yyp4ks.js.gz +0 -0
- package/web/chunk-gbhkp5f4.js +1 -0
- package/web/chunk-gbhkp5f4.js.br +2 -0
- package/web/chunk-gbhkp5f4.js.gz +0 -0
- package/web/chunk-ghz85g7f.js +1 -0
- package/web/chunk-ghz85g7f.js.br +0 -0
- package/web/chunk-ghz85g7f.js.gz +0 -0
- package/web/chunk-gpjdkgxz.js +2 -0
- package/web/chunk-gpjdkgxz.js.br +0 -0
- package/web/chunk-gpjdkgxz.js.gz +0 -0
- package/web/chunk-h3d8gb7m.js +1 -0
- package/web/chunk-h3d8gb7m.js.br +0 -0
- package/web/chunk-h3d8gb7m.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-h702ns45.js +1 -0
- package/web/chunk-h702ns45.js.br +0 -0
- package/web/chunk-h702ns45.js.gz +0 -0
- package/web/chunk-j3tjbge9.js +1 -0
- package/web/chunk-j3tjbge9.js.br +0 -0
- package/web/chunk-j3tjbge9.js.gz +0 -0
- package/web/chunk-j91f1v68.js +2 -0
- package/web/chunk-j91f1v68.js.br +0 -0
- package/web/chunk-j91f1v68.js.gz +0 -0
- package/web/chunk-jd82z5gg.js +1 -0
- package/web/chunk-jd82z5gg.js.br +0 -0
- package/web/chunk-jd82z5gg.js.gz +0 -0
- package/web/chunk-jmksme0n.js +2 -0
- package/web/chunk-jmksme0n.js.br +0 -0
- package/web/chunk-jmksme0n.js.gz +0 -0
- package/web/chunk-jz0wjyzp.js +7 -0
- package/web/chunk-jz0wjyzp.js.br +0 -0
- package/web/chunk-jz0wjyzp.js.gz +0 -0
- package/web/chunk-ka8jrbr5.js +55 -0
- package/web/chunk-ka8jrbr5.js.br +0 -0
- package/web/chunk-ka8jrbr5.js.gz +0 -0
- package/web/chunk-m770h1wv.js +2 -0
- package/web/chunk-m770h1wv.js.br +0 -0
- package/web/chunk-m770h1wv.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-mvmpr9bn.js +1 -0
- package/web/chunk-mvmpr9bn.js.br +0 -0
- package/web/chunk-mvmpr9bn.js.gz +0 -0
- package/web/chunk-mx1e3jgh.js +1 -0
- package/web/chunk-mx1e3jgh.js.br +0 -0
- package/web/chunk-mx1e3jgh.js.gz +0 -0
- package/web/chunk-my4zxtxx.js +2 -0
- package/web/chunk-my4zxtxx.js.br +0 -0
- package/web/chunk-my4zxtxx.js.gz +0 -0
- package/web/chunk-n7nx158t.js +1 -0
- package/web/chunk-n7nx158t.js.br +0 -0
- package/web/chunk-n7nx158t.js.gz +0 -0
- package/web/chunk-na88frn3.js +1 -0
- package/web/chunk-na88frn3.js.br +0 -0
- package/web/chunk-na88frn3.js.gz +0 -0
- package/web/chunk-nbncq48b.js +1 -0
- package/web/chunk-nbncq48b.js.br +0 -0
- package/web/chunk-nbncq48b.js.gz +0 -0
- package/web/chunk-nyydkfyf.js +1 -0
- package/web/chunk-nyydkfyf.js.br +0 -0
- package/web/chunk-nyydkfyf.js.gz +0 -0
- package/web/chunk-nz06k08x.js +39 -0
- package/web/chunk-nz06k08x.js.br +0 -0
- package/web/chunk-nz06k08x.js.gz +0 -0
- package/web/chunk-p62swsj6.js +139 -0
- package/web/chunk-p62swsj6.js.br +0 -0
- package/web/chunk-p62swsj6.js.gz +0 -0
- package/web/chunk-pajjgx94.js +169 -0
- package/web/chunk-pajjgx94.js.br +0 -0
- package/web/chunk-pajjgx94.js.gz +0 -0
- package/web/chunk-phdpzq61.js +370 -0
- package/web/chunk-phdpzq61.js.br +0 -0
- package/web/chunk-phdpzq61.js.gz +0 -0
- package/web/chunk-pj9r4ha1.js +2 -0
- package/web/chunk-pj9r4ha1.js.br +0 -0
- package/web/chunk-pj9r4ha1.js.gz +0 -0
- package/web/chunk-pqvre6md.js +24 -0
- package/web/chunk-pqvre6md.js.br +0 -0
- package/web/chunk-pqvre6md.js.gz +0 -0
- package/web/chunk-pvq527d1.js +303 -0
- package/web/chunk-pvq527d1.js.br +0 -0
- package/web/chunk-pvq527d1.js.gz +0 -0
- package/web/chunk-pzbqpfpj.js +24 -0
- package/web/chunk-pzbqpfpj.js.br +0 -0
- package/web/chunk-pzbqpfpj.js.gz +0 -0
- package/web/chunk-q3v1563q.js +2 -0
- package/web/chunk-q3v1563q.js.br +0 -0
- package/web/chunk-q3v1563q.js.gz +0 -0
- package/web/chunk-q6vt7t8d.js +2 -0
- package/web/chunk-q6vt7t8d.js.br +0 -0
- package/web/chunk-q6vt7t8d.js.gz +0 -0
- package/web/chunk-q990zhg4.js +1 -0
- package/web/chunk-q990zhg4.js.br +0 -0
- package/web/chunk-q990zhg4.js.gz +0 -0
- package/web/chunk-qed51xj9.js +2 -0
- package/web/chunk-qed51xj9.js.br +0 -0
- package/web/chunk-qed51xj9.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-rjax57j0.js +40 -0
- package/web/chunk-rjax57j0.js.br +0 -0
- package/web/chunk-rjax57j0.js.gz +0 -0
- package/web/chunk-s00tks2b.js +98 -0
- package/web/chunk-s00tks2b.js.br +0 -0
- package/web/chunk-s00tks2b.js.gz +0 -0
- package/web/chunk-s3symq0h.js +1 -0
- package/web/chunk-s3symq0h.js.br +0 -0
- package/web/chunk-s3symq0h.js.gz +0 -0
- package/web/chunk-sh2d0212.js +1 -0
- package/web/chunk-sh2d0212.js.br +0 -0
- package/web/chunk-sh2d0212.js.gz +0 -0
- package/web/chunk-t8ksmf3z.js +2 -0
- package/web/chunk-t8ksmf3z.js.br +0 -0
- package/web/chunk-t8ksmf3z.js.gz +0 -0
- package/web/chunk-te4ab7ee.css +1 -0
- package/web/chunk-te4ab7ee.css.br +0 -0
- package/web/chunk-te4ab7ee.css.gz +0 -0
- package/web/chunk-tjhxbt15.js +1 -0
- package/web/chunk-tjhxbt15.js.br +0 -0
- package/web/chunk-tjhxbt15.js.gz +0 -0
- package/web/chunk-tqr5maem.js +291 -0
- package/web/chunk-tqr5maem.js.br +0 -0
- package/web/chunk-tqr5maem.js.gz +0 -0
- package/web/chunk-tt3vgkx6.js +7 -0
- package/web/chunk-tt3vgkx6.js.br +0 -0
- package/web/chunk-tt3vgkx6.js.gz +0 -0
- package/web/chunk-v56w6y8n.js +2 -0
- package/web/chunk-v56w6y8n.js.br +0 -0
- package/web/chunk-v56w6y8n.js.gz +0 -0
- package/web/chunk-v65dz9y5.js +1 -0
- package/web/chunk-v65dz9y5.js.br +0 -0
- package/web/chunk-v65dz9y5.js.gz +0 -0
- package/web/chunk-vaspzebe.js +1 -0
- package/web/chunk-vaspzebe.js.br +0 -0
- package/web/chunk-vaspzebe.js.gz +0 -0
- package/web/chunk-ve5dccwy.js +1 -0
- package/web/chunk-ve5dccwy.js.br +0 -0
- package/web/chunk-ve5dccwy.js.gz +0 -0
- package/web/chunk-vsxzq4nb.js +1 -0
- package/web/chunk-vsxzq4nb.js.br +0 -0
- package/web/chunk-vsxzq4nb.js.gz +0 -0
- package/web/chunk-vvn66f2x.js +16 -0
- package/web/chunk-vvn66f2x.js.br +0 -0
- package/web/chunk-vvn66f2x.js.gz +0 -0
- package/web/chunk-vvqey05d.js +1 -0
- package/web/chunk-vvqey05d.js.br +2 -0
- package/web/chunk-vvqey05d.js.gz +0 -0
- package/web/chunk-w6ajcbm8.js +1 -0
- package/web/chunk-w6ajcbm8.js.br +0 -0
- package/web/chunk-w6ajcbm8.js.gz +0 -0
- package/web/chunk-w6p6dy3k.js +2 -0
- package/web/chunk-w6p6dy3k.js.br +0 -0
- package/web/chunk-w6p6dy3k.js.gz +0 -0
- package/web/chunk-wy1k8vz2.js +1 -0
- package/web/chunk-wy1k8vz2.js.br +0 -0
- package/web/chunk-wy1k8vz2.js.gz +0 -0
- package/web/chunk-wzgv2gv2.js +120 -0
- package/web/chunk-wzgv2gv2.js.br +0 -0
- package/web/chunk-wzgv2gv2.js.gz +0 -0
- package/web/chunk-x78hqhxv.js +1 -0
- package/web/chunk-x78hqhxv.js.br +2 -0
- package/web/chunk-x78hqhxv.js.gz +0 -0
- package/web/chunk-x7mw8704.js +36 -0
- package/web/chunk-x7mw8704.js.br +0 -0
- package/web/chunk-x7mw8704.js.gz +0 -0
- package/web/chunk-x85z35es.js +2 -0
- package/web/chunk-x85z35es.js.br +0 -0
- package/web/chunk-x85z35es.js.gz +0 -0
- package/web/chunk-xbrhmxd8.js +214 -0
- package/web/chunk-xbrhmxd8.js.br +0 -0
- package/web/chunk-xbrhmxd8.js.gz +0 -0
- package/web/chunk-xjpqg11m.js +1 -0
- package/web/chunk-xjpqg11m.js.br +0 -0
- package/web/chunk-xjpqg11m.js.gz +0 -0
- package/web/chunk-xkqekh81.js +2 -0
- package/web/chunk-xkqekh81.js.br +0 -0
- package/web/chunk-xkqekh81.js.gz +0 -0
- package/web/chunk-y2x9v76f.js +2 -0
- package/web/chunk-y2x9v76f.js.br +0 -0
- package/web/chunk-y2x9v76f.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-ykc1rttf.js +1 -0
- package/web/chunk-ykc1rttf.js.br +0 -0
- package/web/chunk-ykc1rttf.js.gz +0 -0
- package/web/chunk-yyw0rdyy.js +1 -0
- package/web/chunk-yyw0rdyy.js.br +0 -0
- package/web/chunk-yyw0rdyy.js.gz +0 -0
- package/web/chunk-yzyrc28t.js +30 -0
- package/web/chunk-yzyrc28t.js.br +0 -0
- package/web/chunk-yzyrc28t.js.gz +0 -0
- package/web/chunk-z7j6wnn3.js +2 -0
- package/web/chunk-z7j6wnn3.js.br +0 -0
- package/web/chunk-z7j6wnn3.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-zcjdarjr.js +1 -0
- package/web/chunk-zcjdarjr.js.br +0 -0
- package/web/chunk-zcjdarjr.js.gz +0 -0
- package/web/explorer-ttd27vzr.png +0 -0
- package/web/finder-aynbqpvz.png +0 -0
- package/web/idea-c8rwk1e2.png +0 -0
- package/web/index.html +3 -13
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/web/manifest-g1mfa85c.webmanifest +35 -0
- package/web/manifest-g1mfa85c.webmanifest.br +0 -0
- package/web/manifest-g1mfa85c.webmanifest.gz +0 -0
- package/web/manifest.webmanifest +2 -2
- package/web/manifest.webmanifest.br +0 -0
- package/web/manifest.webmanifest.gz +0 -0
- package/web/sw.js +36 -17
- package/web/sw.js.br +0 -0
- package/web/sw.js.gz +0 -0
- package/web/vscode-33qgcrqp.png +0 -0
- package/worker.js +1 -1
- package/chunk-082x3g29.js +0 -3
- package/chunk-0aaf270z.js +0 -3
- package/chunk-0dqv9x0y.js +0 -51
- package/chunk-0ns02fzq.js +0 -2
- package/chunk-0y13kfpt.js +0 -5
- package/chunk-1753m6xk.js +0 -4179
- package/chunk-24ae99b6.js +0 -5
- package/chunk-2cp8why4.js +0 -2
- package/chunk-3bdzn4h2.js +0 -2
- package/chunk-48m0w8xg.js +0 -2
- package/chunk-4pr7ykh0.js +0 -2
- package/chunk-4qtw5cga.js +0 -12
- package/chunk-4yqge35f.js +0 -3
- package/chunk-65rd9zn4.js +0 -3
- package/chunk-67ehvv4n.js +0 -44
- package/chunk-6wm62kte.js +0 -18
- package/chunk-6zkggkdm.js +0 -13
- package/chunk-78ferdza.js +0 -3
- package/chunk-794r8w6m.js +0 -2
- package/chunk-7azn0brs.js +0 -7
- package/chunk-7wh4n0yg.js +0 -2
- package/chunk-7z0wh161.js +0 -25
- package/chunk-95aqrqnh.js +0 -2
- package/chunk-9nkb5q43.js +0 -3
- package/chunk-a0zcps2d.js +0 -2
- package/chunk-a23pv6tv.js +0 -3
- package/chunk-adb2nbxk.js +0 -2
- package/chunk-as2ty5w5.js +0 -3
- package/chunk-b84y794v.js +0 -3
- package/chunk-bh80e336.js +0 -3
- package/chunk-c6azecvs.js +0 -3
- package/chunk-cc8h8mz9.js +0 -2
- package/chunk-cdb6caq7.js +0 -3
- package/chunk-cjdbsa9s.js +0 -3
- package/chunk-cnqgtmwm.js +0 -10
- package/chunk-cwn9vs1a.js +0 -3
- package/chunk-cxybp3fn.js +0 -8
- package/chunk-dea2htm4.js +0 -2
- package/chunk-e01wravf.js +0 -12
- package/chunk-f0pz8pvb.js +0 -5
- package/chunk-fsekbhqb.js +0 -3
- package/chunk-fvmrsrmq.js +0 -3
- package/chunk-fwdhn0gw.js +0 -7
- package/chunk-h7x8g57v.js +0 -9
- package/chunk-h8qhy3px.js +0 -39
- package/chunk-hsvchrh3.js +0 -7
- package/chunk-j1peg724.js +0 -504
- package/chunk-j2cse817.js +0 -63
- package/chunk-j3jzgw98.js +0 -31
- package/chunk-jmzdtefg.js +0 -2
- package/chunk-k0e6n6yy.js +0 -3
- package/chunk-mb2jqd5z.js +0 -3
- package/chunk-nbgtqpay.js +0 -3
- package/chunk-prfczhpq.js +0 -10
- package/chunk-pv25a7sw.js +0 -2
- package/chunk-q8m2x20d.js +0 -286
- package/chunk-qnkxeh37.js +0 -3
- package/chunk-qvfrv3rb.js +0 -59
- package/chunk-r14x07ez.js +0 -2
- package/chunk-r1kah65k.js +0 -2
- package/chunk-r6pt44wk.js +0 -60
- package/chunk-rhkw8ygf.js +0 -3
- package/chunk-rvqeb7gr.js +0 -3
- package/chunk-rwa7mfwa.js +0 -2
- package/chunk-sj46f002.js +0 -2
- package/chunk-sp89jja7.js +0 -3
- package/chunk-sss5x2ak.js +0 -2
- package/chunk-szn4y5mx.js +0 -25
- package/chunk-t05q9ksf.js +0 -2
- package/chunk-tb66q678.js +0 -11
- package/chunk-tej75y8n.js +0 -2
- package/chunk-tmfr2ym8.js +0 -4
- package/chunk-tnay319j.js +0 -3
- package/chunk-txwheg1n.js +0 -2
- package/chunk-ve6n38r4.js +0 -16
- package/chunk-vfa49qcy.js +0 -3
- package/chunk-wcy1r6vv.js +0 -2
- package/chunk-wj6am3ag.js +0 -3
- package/chunk-x0afp8wt.js +0 -3
- package/chunk-xe627eyp.js +0 -20
- package/chunk-y18ey7s9.js +0 -8
- package/chunk-y9r7tt53.js +0 -3
- package/chunk-yq20v3va.js +0 -3
- package/chunk-yyg4ygv7.js +0 -2
- package/chunk-z2zhr4e5.js +0 -3
- package/chunk-zdtg52xn.js +0 -2
- package/chunk-zrhdrkdb.js +0 -5
- package/web/chunk-0d0fwb7b.js +0 -2
- package/web/chunk-0d0fwb7b.js.br +0 -0
- package/web/chunk-0d0fwb7b.js.gz +0 -0
- package/web/chunk-0jm4zyrt.js +0 -1
- package/web/chunk-0jm4zyrt.js.br +0 -0
- package/web/chunk-0jm4zyrt.js.gz +0 -0
- package/web/chunk-0pp7dzx1.js +0 -1
- package/web/chunk-0pp7dzx1.js.br +0 -0
- package/web/chunk-0pp7dzx1.js.gz +0 -0
- package/web/chunk-0w73jp4n.js +0 -1
- package/web/chunk-0w73jp4n.js.br +0 -0
- package/web/chunk-0w73jp4n.js.gz +0 -0
- package/web/chunk-1416f30c.js +0 -2
- package/web/chunk-1416f30c.js.br +0 -0
- package/web/chunk-1416f30c.js.gz +0 -0
- package/web/chunk-18wyawez.js +0 -30
- package/web/chunk-18wyawez.js.br +0 -0
- package/web/chunk-18wyawez.js.gz +0 -0
- package/web/chunk-19ew9re5.js +0 -1
- package/web/chunk-19ew9re5.js.br +0 -0
- package/web/chunk-19ew9re5.js.gz +0 -0
- package/web/chunk-1mdtr9wk.js +0 -8
- package/web/chunk-1mdtr9wk.js.br +0 -1
- package/web/chunk-1mdtr9wk.js.gz +0 -0
- package/web/chunk-1p4egv85.js +0 -1
- package/web/chunk-1p4egv85.js.br +0 -0
- package/web/chunk-1p4egv85.js.gz +0 -0
- package/web/chunk-1x61dvvr.js +0 -2
- package/web/chunk-1x61dvvr.js.br +0 -0
- package/web/chunk-1x61dvvr.js.gz +0 -0
- package/web/chunk-241n0y1h.js +0 -1
- package/web/chunk-241n0y1h.js.br +0 -0
- package/web/chunk-241n0y1h.js.gz +0 -0
- package/web/chunk-26sgnzb2.js +0 -1
- package/web/chunk-26sgnzb2.js.br +0 -0
- package/web/chunk-26sgnzb2.js.gz +0 -0
- package/web/chunk-2p77pefd.js +0 -1
- package/web/chunk-2p77pefd.js.br +0 -0
- package/web/chunk-2p77pefd.js.gz +0 -0
- package/web/chunk-2ppe5znq.js +0 -1
- package/web/chunk-2ppe5znq.js.br +0 -0
- package/web/chunk-2ppe5znq.js.gz +0 -0
- package/web/chunk-2qzr943m.js +0 -2
- package/web/chunk-2qzr943m.js.br +0 -0
- package/web/chunk-2qzr943m.js.gz +0 -0
- package/web/chunk-32k44660.js +0 -214
- package/web/chunk-32k44660.js.br +0 -0
- package/web/chunk-32k44660.js.gz +0 -0
- package/web/chunk-33zb5a76.js +0 -2
- package/web/chunk-33zb5a76.js.br +0 -0
- package/web/chunk-33zb5a76.js.gz +0 -0
- package/web/chunk-38bzkv9k.js +0 -7
- package/web/chunk-38bzkv9k.js.br +0 -0
- package/web/chunk-38bzkv9k.js.gz +0 -0
- package/web/chunk-42ytz496.js +0 -1
- package/web/chunk-42ytz496.js.br +0 -0
- package/web/chunk-42ytz496.js.gz +0 -0
- package/web/chunk-4749rrqv.js +0 -55
- package/web/chunk-4749rrqv.js.br +0 -0
- package/web/chunk-4749rrqv.js.gz +0 -0
- package/web/chunk-4d57cnh5.js +0 -40
- package/web/chunk-4d57cnh5.js.br +0 -0
- package/web/chunk-4d57cnh5.js.gz +0 -0
- package/web/chunk-4gh3hcrc.js +0 -1
- package/web/chunk-4gh3hcrc.js.br +0 -0
- package/web/chunk-4gh3hcrc.js.gz +0 -0
- package/web/chunk-4hg08mj3.js +0 -1
- package/web/chunk-4hg08mj3.js.br +0 -0
- package/web/chunk-4hg08mj3.js.gz +0 -0
- package/web/chunk-4rra9tt7.js +0 -78
- package/web/chunk-4rra9tt7.js.br +0 -0
- package/web/chunk-4rra9tt7.js.gz +0 -0
- package/web/chunk-572kjbne.js +0 -89
- package/web/chunk-572kjbne.js.br +0 -0
- package/web/chunk-572kjbne.js.gz +0 -0
- package/web/chunk-5hqe3cct.js +0 -98
- package/web/chunk-5hqe3cct.js.br +0 -0
- package/web/chunk-5hqe3cct.js.gz +0 -0
- package/web/chunk-5k4vdcwk.js +0 -24
- package/web/chunk-5k4vdcwk.js.br +0 -0
- package/web/chunk-5k4vdcwk.js.gz +0 -0
- package/web/chunk-5z44jbdc.js +0 -1
- package/web/chunk-5z44jbdc.js.br +0 -0
- package/web/chunk-5z44jbdc.js.gz +0 -0
- package/web/chunk-600x58nm.js +0 -1143
- package/web/chunk-600x58nm.js.br +0 -0
- package/web/chunk-600x58nm.js.gz +0 -0
- package/web/chunk-61djfs0t.js +0 -140
- package/web/chunk-61djfs0t.js.br +0 -0
- package/web/chunk-61djfs0t.js.gz +0 -0
- package/web/chunk-6j4jdvtd.js +0 -1
- package/web/chunk-6j4jdvtd.js.br +0 -0
- package/web/chunk-6j4jdvtd.js.gz +0 -0
- package/web/chunk-74ymgabb.js +0 -2
- package/web/chunk-74ymgabb.js.br +0 -0
- package/web/chunk-74ymgabb.js.gz +0 -0
- package/web/chunk-768vchz5.js +0 -169
- package/web/chunk-768vchz5.js.br +0 -0
- package/web/chunk-768vchz5.js.gz +0 -0
- package/web/chunk-7f87paxe.js +0 -36
- package/web/chunk-7f87paxe.js.br +0 -0
- package/web/chunk-7f87paxe.js.gz +0 -0
- package/web/chunk-7ns0kj87.js +0 -2
- package/web/chunk-7ns0kj87.js.br +0 -0
- package/web/chunk-7ns0kj87.js.gz +0 -0
- package/web/chunk-7vpk9y00.js +0 -1
- package/web/chunk-7vpk9y00.js.br +0 -0
- package/web/chunk-7vpk9y00.js.gz +0 -0
- package/web/chunk-89mc1vj3.js +0 -1
- package/web/chunk-89mc1vj3.js.br +0 -0
- package/web/chunk-89mc1vj3.js.gz +0 -0
- package/web/chunk-8wgpesrk.js +0 -139
- package/web/chunk-8wgpesrk.js.br +0 -0
- package/web/chunk-8wgpesrk.js.gz +0 -0
- package/web/chunk-9nh1aeqs.js +0 -303
- package/web/chunk-9nh1aeqs.js.br +0 -0
- package/web/chunk-9nh1aeqs.js.gz +0 -0
- package/web/chunk-9pgq2ax4.js +0 -1
- package/web/chunk-9pgq2ax4.js.br +0 -0
- package/web/chunk-9pgq2ax4.js.gz +0 -0
- package/web/chunk-9tfs2dg1.js +0 -1
- package/web/chunk-9tfs2dg1.js.br +0 -0
- package/web/chunk-9tfs2dg1.js.gz +0 -0
- package/web/chunk-9wemd2wn.js +0 -41
- package/web/chunk-9wemd2wn.js.br +0 -0
- package/web/chunk-9wemd2wn.js.gz +0 -0
- package/web/chunk-9wsz2j8n.js +0 -1
- package/web/chunk-9wsz2j8n.js.br +0 -0
- package/web/chunk-9wsz2j8n.js.gz +0 -0
- package/web/chunk-9wzvqpre.js +0 -2
- package/web/chunk-9wzvqpre.js.br +0 -0
- package/web/chunk-9wzvqpre.js.gz +0 -0
- package/web/chunk-a48wgrb1.js +0 -1
- package/web/chunk-a48wgrb1.js.br +0 -2
- package/web/chunk-a48wgrb1.js.gz +0 -0
- package/web/chunk-ah8e1y9j.js +0 -4
- package/web/chunk-ah8e1y9j.js.br +0 -0
- package/web/chunk-ah8e1y9j.js.gz +0 -0
- package/web/chunk-amsr9cg2.js +0 -1
- package/web/chunk-amsr9cg2.js.br +0 -0
- package/web/chunk-amsr9cg2.js.gz +0 -0
- package/web/chunk-aps2c5t2.js +0 -16
- package/web/chunk-aps2c5t2.js.br +0 -0
- package/web/chunk-aps2c5t2.js.gz +0 -0
- package/web/chunk-avfynf6y.js +0 -1
- package/web/chunk-avfynf6y.js.br +0 -0
- package/web/chunk-avfynf6y.js.gz +0 -0
- package/web/chunk-b5zrttcx.js +0 -2
- package/web/chunk-b5zrttcx.js.br +0 -0
- package/web/chunk-b5zrttcx.js.gz +0 -0
- package/web/chunk-bvvf024a.js +0 -24
- package/web/chunk-bvvf024a.js.br +0 -0
- package/web/chunk-bvvf024a.js.gz +0 -0
- package/web/chunk-by2dphx7.js +0 -200
- package/web/chunk-by2dphx7.js.br +0 -0
- package/web/chunk-by2dphx7.js.gz +0 -0
- package/web/chunk-c0sc2yy1.js +0 -1
- package/web/chunk-c0sc2yy1.js.br +0 -0
- package/web/chunk-c0sc2yy1.js.gz +0 -0
- package/web/chunk-c612n2pw.js +0 -2
- package/web/chunk-c612n2pw.js.br +0 -0
- package/web/chunk-c612n2pw.js.gz +0 -0
- package/web/chunk-c91rk85x.js +0 -2
- package/web/chunk-c91rk85x.js.br +0 -0
- package/web/chunk-c91rk85x.js.gz +0 -0
- package/web/chunk-catm30vp.js +0 -2
- package/web/chunk-catm30vp.js.br +0 -0
- package/web/chunk-catm30vp.js.gz +0 -0
- package/web/chunk-cbdxzddd.js +0 -142
- package/web/chunk-cbdxzddd.js.br +0 -0
- package/web/chunk-cbdxzddd.js.gz +0 -0
- package/web/chunk-cng693ts.js +0 -2
- package/web/chunk-cng693ts.js.br +0 -0
- package/web/chunk-cng693ts.js.gz +0 -0
- package/web/chunk-d5vcma5a.js +0 -89
- package/web/chunk-d5vcma5a.js.br +0 -0
- package/web/chunk-d5vcma5a.js.gz +0 -0
- package/web/chunk-d6d9cp71.js +0 -1
- package/web/chunk-d6d9cp71.js.br +0 -2
- package/web/chunk-d6d9cp71.js.gz +0 -0
- package/web/chunk-dsghhcew.js +0 -1
- package/web/chunk-dsghhcew.js.br +0 -0
- package/web/chunk-dsghhcew.js.gz +0 -0
- package/web/chunk-dt2e6evf.js +0 -1
- package/web/chunk-dt2e6evf.js.br +0 -0
- package/web/chunk-dt2e6evf.js.gz +0 -0
- package/web/chunk-dxrsmcah.js +0 -1
- package/web/chunk-dxrsmcah.js.br +0 -0
- package/web/chunk-dxrsmcah.js.gz +0 -0
- package/web/chunk-ent5zx24.js +0 -1
- package/web/chunk-ent5zx24.js.br +0 -2
- package/web/chunk-ent5zx24.js.gz +0 -0
- package/web/chunk-f4n1q3mf.js +0 -1
- package/web/chunk-f4n1q3mf.js.br +0 -0
- package/web/chunk-f4n1q3mf.js.gz +0 -0
- package/web/chunk-fdfrv6bc.js +0 -1
- package/web/chunk-fdfrv6bc.js.br +0 -2
- package/web/chunk-fdfrv6bc.js.gz +0 -0
- package/web/chunk-fh44xz70.js +0 -1
- package/web/chunk-fh44xz70.js.br +0 -0
- package/web/chunk-fh44xz70.js.gz +0 -0
- package/web/chunk-fkbp72gk.js +0 -1
- package/web/chunk-fkbp72gk.js.br +0 -0
- package/web/chunk-fkbp72gk.js.gz +0 -0
- package/web/chunk-fzkjgwzq.js +0 -4
- package/web/chunk-fzkjgwzq.js.br +0 -0
- package/web/chunk-fzkjgwzq.js.gz +0 -0
- package/web/chunk-gf2gznsb.js +0 -38
- package/web/chunk-gf2gznsb.js.br +0 -0
- package/web/chunk-gf2gznsb.js.gz +0 -0
- package/web/chunk-gne1ybac.js +0 -2
- package/web/chunk-gne1ybac.js.br +0 -0
- package/web/chunk-gne1ybac.js.gz +0 -0
- package/web/chunk-gws1fj71.js +0 -106
- package/web/chunk-gws1fj71.js.br +0 -0
- package/web/chunk-gws1fj71.js.gz +0 -0
- package/web/chunk-h4m88fg8.js +0 -2
- package/web/chunk-h4m88fg8.js.br +0 -0
- package/web/chunk-h4m88fg8.js.gz +0 -0
- package/web/chunk-h4vk09kd.js +0 -2
- package/web/chunk-h4vk09kd.js.br +0 -0
- package/web/chunk-h4vk09kd.js.gz +0 -0
- package/web/chunk-h6wzjfj2.js +0 -34
- package/web/chunk-h6wzjfj2.js.br +0 -0
- package/web/chunk-h6wzjfj2.js.gz +0 -0
- package/web/chunk-hajg1p0h.js +0 -7
- package/web/chunk-hajg1p0h.js.br +0 -0
- package/web/chunk-hajg1p0h.js.gz +0 -0
- package/web/chunk-hhmd6qrc.js +0 -2
- package/web/chunk-hhmd6qrc.js.br +0 -0
- package/web/chunk-hhmd6qrc.js.gz +0 -0
- package/web/chunk-hya0fh1r.js +0 -1
- package/web/chunk-hya0fh1r.js.br +0 -0
- package/web/chunk-hya0fh1r.js.gz +0 -0
- package/web/chunk-j469ky77.js +0 -1
- package/web/chunk-j469ky77.js.br +0 -0
- package/web/chunk-j469ky77.js.gz +0 -0
- package/web/chunk-j6ymcm3h.js +0 -2
- package/web/chunk-j6ymcm3h.js.br +0 -0
- package/web/chunk-j6ymcm3h.js.gz +0 -0
- package/web/chunk-j79z6bta.js +0 -21
- package/web/chunk-j79z6bta.js.br +0 -0
- package/web/chunk-j79z6bta.js.gz +0 -0
- package/web/chunk-jbxc5y3z.js +0 -12
- package/web/chunk-jbxc5y3z.js.br +0 -0
- package/web/chunk-jbxc5y3z.js.gz +0 -0
- package/web/chunk-jcc187d7.js +0 -1
- package/web/chunk-jcc187d7.js.br +0 -0
- package/web/chunk-jcc187d7.js.gz +0 -0
- package/web/chunk-jjvpdxhd.js +0 -2
- package/web/chunk-jjvpdxhd.js.br +0 -0
- package/web/chunk-jjvpdxhd.js.gz +0 -0
- package/web/chunk-jrh3mwmy.js +0 -2
- package/web/chunk-jrh3mwmy.js.br +0 -0
- package/web/chunk-jrh3mwmy.js.gz +0 -0
- package/web/chunk-jv3pgdp0.js +0 -1
- package/web/chunk-jv3pgdp0.js.br +0 -2
- package/web/chunk-jv3pgdp0.js.gz +0 -0
- package/web/chunk-ksxjhezb.js +0 -1
- package/web/chunk-ksxjhezb.js.br +0 -0
- package/web/chunk-ksxjhezb.js.gz +0 -0
- package/web/chunk-ktnd8t40.js +0 -2
- package/web/chunk-ktnd8t40.js.br +0 -0
- package/web/chunk-ktnd8t40.js.gz +0 -0
- package/web/chunk-mgwv3dp0.js +0 -1
- package/web/chunk-mgwv3dp0.js.br +0 -0
- package/web/chunk-mgwv3dp0.js.gz +0 -0
- package/web/chunk-mtjdfgjj.js +0 -2
- package/web/chunk-mtjdfgjj.js.br +0 -0
- package/web/chunk-mtjdfgjj.js.gz +0 -0
- package/web/chunk-mzkaanwd.js +0 -2
- package/web/chunk-mzkaanwd.js.br +0 -0
- package/web/chunk-mzkaanwd.js.gz +0 -0
- package/web/chunk-n22pg5xy.js +0 -1
- package/web/chunk-n22pg5xy.js.br +0 -0
- package/web/chunk-n22pg5xy.js.gz +0 -0
- package/web/chunk-n58ezsfb.js +0 -2
- package/web/chunk-n58ezsfb.js.br +0 -0
- package/web/chunk-n58ezsfb.js.gz +0 -0
- package/web/chunk-nhx74teq.js +0 -3
- package/web/chunk-nhx74teq.js.br +0 -0
- package/web/chunk-nhx74teq.js.gz +0 -0
- package/web/chunk-njjsgwfw.js +0 -2
- package/web/chunk-njjsgwfw.js.br +0 -0
- package/web/chunk-njjsgwfw.js.gz +0 -0
- package/web/chunk-nwhqcbnr.js +0 -1
- package/web/chunk-nwhqcbnr.js.br +0 -0
- package/web/chunk-nwhqcbnr.js.gz +0 -0
- package/web/chunk-pnghaajd.js +0 -70
- package/web/chunk-pnghaajd.js.br +0 -0
- package/web/chunk-pnghaajd.js.gz +0 -0
- package/web/chunk-pqfn8x7v.js +0 -1
- package/web/chunk-pqfn8x7v.js.br +0 -0
- package/web/chunk-pqfn8x7v.js.gz +0 -0
- package/web/chunk-ptk0jnyx.js +0 -1
- package/web/chunk-ptk0jnyx.js.br +0 -0
- package/web/chunk-ptk0jnyx.js.gz +0 -0
- package/web/chunk-pv7e5g4k.js +0 -370
- package/web/chunk-pv7e5g4k.js.br +0 -0
- package/web/chunk-pv7e5g4k.js.gz +0 -0
- package/web/chunk-pxnh5qgn.js +0 -2
- package/web/chunk-pxnh5qgn.js.br +0 -0
- package/web/chunk-pxnh5qgn.js.gz +0 -0
- package/web/chunk-q6eq5y2t.js +0 -1
- package/web/chunk-q6eq5y2t.js.br +0 -2
- package/web/chunk-q6eq5y2t.js.gz +0 -0
- package/web/chunk-qdwg9n1d.js +0 -1
- package/web/chunk-qdwg9n1d.js.br +0 -0
- package/web/chunk-qdwg9n1d.js.gz +0 -0
- package/web/chunk-qp42gtvd.js +0 -1
- package/web/chunk-qp42gtvd.js.br +0 -0
- package/web/chunk-qp42gtvd.js.gz +0 -0
- package/web/chunk-qzdw8vdp.js +0 -1
- package/web/chunk-qzdw8vdp.js.br +0 -0
- package/web/chunk-qzdw8vdp.js.gz +0 -0
- package/web/chunk-r571ywxq.js +0 -1
- package/web/chunk-r571ywxq.js.br +0 -0
- package/web/chunk-r571ywxq.js.gz +0 -0
- package/web/chunk-r9fx4cjw.js +0 -1
- package/web/chunk-r9fx4cjw.js.br +0 -0
- package/web/chunk-r9fx4cjw.js.gz +0 -0
- package/web/chunk-rhvq3c1c.js +0 -1
- package/web/chunk-rhvq3c1c.js.br +0 -0
- package/web/chunk-rhvq3c1c.js.gz +0 -0
- package/web/chunk-rjay9w1t.js +0 -1
- package/web/chunk-rjay9w1t.js.br +0 -0
- package/web/chunk-rjay9w1t.js.gz +0 -0
- package/web/chunk-rpvdnc3p.js +0 -1
- package/web/chunk-rpvdnc3p.js.br +0 -0
- package/web/chunk-rpvdnc3p.js.gz +0 -0
- package/web/chunk-rrfr4wyt.js +0 -62
- package/web/chunk-rrfr4wyt.js.br +0 -0
- package/web/chunk-rrfr4wyt.js.gz +0 -0
- package/web/chunk-rvngywg9.js +0 -2
- package/web/chunk-rvngywg9.js.br +0 -0
- package/web/chunk-rvngywg9.js.gz +0 -0
- package/web/chunk-rw7d025r.js +0 -84
- package/web/chunk-rw7d025r.js.br +0 -0
- package/web/chunk-rw7d025r.js.gz +0 -0
- package/web/chunk-s1g8acth.js +0 -324
- package/web/chunk-s1g8acth.js.br +0 -0
- package/web/chunk-s1g8acth.js.gz +0 -0
- package/web/chunk-s8572njv.js +0 -2
- package/web/chunk-s8572njv.js.br +0 -1
- package/web/chunk-s8572njv.js.gz +0 -0
- package/web/chunk-sb57e1m9.css +0 -1
- package/web/chunk-sb57e1m9.css.br +0 -0
- package/web/chunk-sb57e1m9.css.gz +0 -0
- package/web/chunk-sn3h5adt.js +0 -2
- package/web/chunk-sn3h5adt.js.br +0 -0
- package/web/chunk-sn3h5adt.js.gz +0 -0
- package/web/chunk-tb2v18q8.js +0 -2
- package/web/chunk-tb2v18q8.js.br +0 -0
- package/web/chunk-tb2v18q8.js.gz +0 -0
- package/web/chunk-tetbyky0.js +0 -39
- package/web/chunk-tetbyky0.js.br +0 -0
- package/web/chunk-tetbyky0.js.gz +0 -0
- package/web/chunk-tqvctvsv.js +0 -1
- package/web/chunk-tqvctvsv.js.br +0 -0
- package/web/chunk-tqvctvsv.js.gz +0 -0
- package/web/chunk-v9mj2pxz.js +0 -1
- package/web/chunk-v9mj2pxz.js.br +0 -0
- package/web/chunk-v9mj2pxz.js.gz +0 -0
- package/web/chunk-vkhah4nd.js +0 -2
- package/web/chunk-vkhah4nd.js.br +0 -0
- package/web/chunk-vkhah4nd.js.gz +0 -0
- package/web/chunk-vpnh7wmw.js +0 -1
- package/web/chunk-vpnh7wmw.js.br +0 -0
- package/web/chunk-vpnh7wmw.js.gz +0 -0
- package/web/chunk-w1qe2x5p.js +0 -217
- package/web/chunk-w1qe2x5p.js.br +0 -0
- package/web/chunk-w1qe2x5p.js.gz +0 -0
- package/web/chunk-werh47fw.js +0 -99
- package/web/chunk-werh47fw.js.br +0 -0
- package/web/chunk-werh47fw.js.gz +0 -0
- package/web/chunk-wfmf0dc8.js +0 -1
- package/web/chunk-wfmf0dc8.js.br +0 -0
- package/web/chunk-wfmf0dc8.js.gz +0 -0
- package/web/chunk-wna4vqp6.js +0 -1
- package/web/chunk-wna4vqp6.js.br +0 -0
- package/web/chunk-wna4vqp6.js.gz +0 -0
- package/web/chunk-wwhq09nf.js +0 -1
- package/web/chunk-wwhq09nf.js.br +0 -0
- package/web/chunk-wwhq09nf.js.gz +0 -0
- package/web/chunk-x6va53y6.js +0 -291
- package/web/chunk-x6va53y6.js.br +0 -0
- package/web/chunk-x6va53y6.js.gz +0 -0
- package/web/chunk-xefyzr9s.js +0 -120
- package/web/chunk-xefyzr9s.js.br +0 -0
- package/web/chunk-xefyzr9s.js.gz +0 -0
- package/web/chunk-xj1w9054.js +0 -2
- package/web/chunk-xj1w9054.js.br +0 -0
- package/web/chunk-xj1w9054.js.gz +0 -0
- package/web/chunk-xtb3xhxk.js +0 -2
- package/web/chunk-xtb3xhxk.js.br +0 -2
- package/web/chunk-xtb3xhxk.js.gz +0 -0
- package/web/chunk-y1eeptks.js +0 -2
- package/web/chunk-y1eeptks.js.br +0 -0
- package/web/chunk-y1eeptks.js.gz +0 -0
- package/web/chunk-y7z6zmvp.js +0 -292
- package/web/chunk-y7z6zmvp.js.br +0 -0
- package/web/chunk-y7z6zmvp.js.gz +0 -0
- package/web/chunk-yj8tkncg.js +0 -7
- package/web/chunk-yj8tkncg.js.br +0 -0
- package/web/chunk-yj8tkncg.js.gz +0 -0
- package/web/chunk-z0m2d74w.js +0 -1
- package/web/chunk-z0m2d74w.js.br +0 -0
- package/web/chunk-z0m2d74w.js.gz +0 -0
- package/web/chunk-z30kqv40.js +0 -1
- package/web/chunk-z30kqv40.js.br +0 -0
- package/web/chunk-z30kqv40.js.gz +0 -0
- package/web/chunk-z3a96d42.js +0 -332
- package/web/chunk-z3a96d42.js.br +0 -0
- package/web/chunk-z3a96d42.js.gz +0 -0
- package/web/manifest-txf6vfbq.webmanifest +0 -35
- package/web/manifest-txf6vfbq.webmanifest.br +0 -0
- package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import{t,i,st,C,L,M,P,R,I,B,D,d,v,ec,H,$e,Re,Pe,hn,We,Ye}from"./chunk-pvq527d1.js";import{Hn}from"./chunk-t8ksmf3z.js";import{Ge}from"./chunk-g7yyp4ks.js";import{De}from"./chunk-9kfxbebp.js";var Pt=function(){var e=t(function(Q,c,p,n){for(p=p||{},n=Q.length;n--;p[Q[n]]=c);return p},"o"),s=[1,2],l=[1,3],r=[1,4],u=[2,4],f=[1,9],g=[1,11],y=[1,16],o=[1,17],k=[1,18],T=[1,19],F=[1,33],G=[1,20],W=[1,21],x=[1,22],S=[1,23],Y=[1,24],w=[1,26],z=[1,27],V=[1,28],K=[1,29],A=[1,30],rt=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],it=[1,34],m=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Lt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(c,p,n,b,E,a,at){var h=a.length-1;switch(E){case 3:return b.setRootDoc(a[h]),a[h];break;case 4:this.$=[];break;case 5:if(a[h]!="nl")a[h-1].push(a[h]),this.$=a[h-1];break;case 6:case 7:this.$=a[h];break;case 8:this.$="nl";break;case 12:this.$=a[h];break;case 13:let Et=a[h-1];Et.description=b.trimColon(a[h]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:let _t=b.trimColon(a[h]);this.$={stmt:"relation",state1:a[h-3],state2:a[h-1],description:_t};break;case 19:this.$={stmt:"state",id:a[h-3],type:"default",description:"",doc:a[h-1]};break;case 20:var X=a[h],J=a[h-2].trim();if(a[h].match(":")){var ct=a[h].split(":");X=ct[0],J=[J,ct[1]]}this.$={stmt:"state",id:X,type:"default",description:J};break;case 21:this.$={stmt:"state",id:a[h-3],type:"default",description:a[h-5],doc:a[h-1]};break;case 22:this.$={stmt:"state",id:a[h],type:"fork"};break;case 23:this.$={stmt:"state",id:a[h],type:"join"};break;case 24:this.$={stmt:"state",id:a[h],type:"choice"};break;case 25:this.$={stmt:"state",id:b.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[h-1].trim(),note:{position:a[h-2].trim(),text:a[h].trim()}};break;case 29:this.$=a[h].trim(),b.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),b.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[h-3],url:a[h-2],tooltip:a[h-1]};break;case 33:this.$={stmt:"click",id:a[h-3],url:a[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[h-1].trim(),classes:a[h].trim()};break;case 36:this.$={stmt:"style",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 37:this.$={stmt:"applyClass",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 38:b.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:b.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:b.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:b.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:s,5:l,6:r},{1:[3]},{3:5,4:s,5:l,6:r},{3:6,4:s,5:l,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],u,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:f,5:g,8:8,9:10,10:12,11:13,12:14,13:15,16:y,17:o,19:k,22:T,24:F,25:G,26:W,27:x,28:S,29:Y,32:25,33:w,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(m,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:y,17:o,19:k,22:T,24:F,25:G,26:W,27:x,28:S,29:Y,32:25,33:w,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(m,[2,7]),e(m,[2,8]),e(m,[2,9]),e(m,[2,10]),e(m,[2,11]),e(m,[2,12],{14:[1,40],15:[1,41]}),e(m,[2,16]),{18:[1,42]},e(m,[2,18],{20:[1,43]}),{23:[1,44]},e(m,[2,22]),e(m,[2,23]),e(m,[2,24]),e(m,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(m,[2,28]),{34:[1,49]},{36:[1,50]},e(m,[2,31]),{13:51,24:F,57:it},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(kt,[2,44],{58:[1,56]}),e(kt,[2,45],{58:[1,57]}),e(m,[2,38]),e(m,[2,39]),e(m,[2,40]),e(m,[2,41]),e(m,[2,6]),e(m,[2,13]),{13:58,24:F,57:it},e(m,[2,17]),e(Vt,u,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(m,[2,29]),e(m,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(m,[2,14],{14:[1,71]}),{4:f,5:g,8:8,9:10,10:12,11:13,12:14,13:15,16:y,17:o,19:k,21:[1,72],22:T,24:F,25:G,26:W,27:x,28:S,29:Y,32:25,33:w,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(m,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(m,[2,34]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(m,[2,15]),e(m,[2,19]),e(Vt,u,{7:78}),e(m,[2,26]),e(m,[2,27]),{5:[1,79]},{5:[1,80]},{4:f,5:g,8:8,9:10,10:12,11:13,12:14,13:15,16:y,17:o,19:k,21:[1,81],22:T,24:F,25:G,26:W,27:x,28:S,29:Y,32:25,33:w,35:z,37:V,38:K,41:A,45:rt,48:St,51:gt,52:yt,53:mt,54:bt,57:it},e(m,[2,32]),e(m,[2,33]),e(m,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(c,p){if(p.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=p,n}},"parseError"),parse:t(function(c){var p=this,n=[0],b=[],E=[null],a=[],at=this.table,h="",X=0,J=0,ct=0,Et=2,_t=1,de=a.slice.call(arguments,1),_=Object.create(this.lexer),tt={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))tt.yy[wt]=this.yy[wt];if(_.setInput(c,tt.yy),tt.yy.lexer=_,tt.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var It=_.yylloc;a.push(It);var ue=_.options&&_.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(U){n.length=n.length-2*U,E.length=E.length-U,a.length=a.length-U}t(fe,"popStack");function Mt(){var U=b.pop()||_.lex()||_t;if(typeof U!=="number"){if(U instanceof Array)b=U,U=b.pop();U=p.symbols_[U]||U}return U}t(Mt,"lex");var N,Nt,et,j,Qe,Ot,nt={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])j=this.defaultActions[et];else{if(N===null||typeof N>"u")N=Mt();j=at[et]&&at[et][N]}if(typeof j>"u"||!j.length||!j[0]){var Rt="";Dt=[];for(vt in at[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(_.showPosition)Rt="Parse error on line "+(X+1)+`:
|
|
2
|
+
`+_.showPosition()+`
|
|
3
|
+
Expecting `+Dt.join(", ")+", got '"+(this.terminals_[N]||N)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(N==_t?"end of input":"'"+(this.terminals_[N]||N)+"'");this.parseError(Rt,{text:_.match,token:this.terminals_[N]||N,line:_.yylineno,loc:It,expected:Dt})}if(j[0]instanceof Array&&j.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+N);switch(j[0]){case 1:if(n.push(N),E.push(_.yytext),a.push(_.yylloc),n.push(j[1]),N=null,!Nt){if(J=_.yyleng,h=_.yytext,X=_.yylineno,It=_.yylloc,ct>0)ct--}else N=Nt,Nt=null;break;case 2:if(q=this.productions_[j[1]][1],nt.$=E[E.length-q],nt._$={first_line:a[a.length-(q||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(q||1)].first_column,last_column:a[a.length-1].last_column},ue)nt._$.range=[a[a.length-(q||1)].range[0],a[a.length-1].range[1]];if(Ot=this.performAction.apply(nt,[h,J,X,tt.yy,j[1],E,a].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),E=E.slice(0,-1*q),a=a.slice(0,-1*q);n.push(this.productions_[j[1]][0]),E.push(nt.$),a.push(nt._$),Wt=at[n[n.length-2]][n[n.length-1]],n.push(Wt);break;case 3:return!0}}return!0},"parse")},he=function(){var Q={EOF:1,parseError:t(function(p,n){if(this.yy.parser)this.yy.parser.parseError(p,n);else throw Error(p)},"parseError"),setInput:t(function(c,p){if(this.yy=p||this.yy||{},this._input=c,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 c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var p=c.match(/(?:\r\n?|\n).*/g);if(p)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),c},"input"),unput:t(function(c){var p=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p),this.offset-=p;var b=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),n.length-1)this.yylineno-=n.length-1;var E=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:n?(n.length===b.length?this.yylloc.first_column:0)+b[b.length-n.length].length-n[0].length:this.yylloc.first_column-p},this.options.ranges)this.yylloc.range=[E[0],E[0]+this.yyleng-p];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(c){this.unput(this.match.slice(c))},"less"),pastInput:t(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var c=this.match;if(c.length<20)c+=this._input.substr(0,20-c.length);return(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var c=this.pastInput(),p=Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
|
5
|
+
`+p+"^"},"showPosition"),test_match:t(function(c,p){var n,b,E;if(this.options.backtrack_lexer){if(E={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)E.yylloc.range=this.yylloc.range.slice(0)}if(b=c[0].match(/(?:\r\n?|\n).*/g),b)this.yylineno+=b.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:b?b[b.length-1].length-b[b.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,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(c[0].length),this.matched+=c[0],n=this.performAction.call(this,this.yy,this,p,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var a in E)this[a]=E[a];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,p,n,b;if(!this._more)this.yytext="",this.match="";var E=this._currentRules();for(var a=0;a<E.length;a++)if(n=this._input.match(this.rules[E[a]]),n&&(!p||n[0].length>p[0].length)){if(p=n,b=a,this.options.backtrack_lexer)if(c=this.test_match(n,E[a]),c!==!1)return c;else if(this._backtrack){p=!1;continue}else return!1;else if(!this.options.flex)break}if(p){if(c=this.test_match(p,E[b]),c!==!1)return c;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 p=this.next();if(p)return p;else return this.lex()},"lex"),begin:t(function(p){this.conditionStack.push(p)},"begin"),popState:t(function(){var p=this.conditionStack.length-1;if(p>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(p){if(p=this.conditionStack.length-1-Math.abs(p||0),p>=0)return this.conditionStack[p];else return"INITIAL"},"topState"),pushState:t(function(p){this.begin(p)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(p,n,b,E){function a(){let h=n.yytext.indexOf("%%");if(h===0)return!1;if(h>0){let X=n.yytext.slice(0,h),J=n.yytext.slice(h);if(J)p.lexer.unput(J);n.yytext=X}return!0}t(a,"processId");var at=E;switch(b){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!a())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!a())return;return this.popState(),"ID";break;case 66:if(!a())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!a())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",lt="state",ot="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",Te="note",Ee="noteGroup",pt="statediagram",_e="state",ve=`${pt}-${_e}`,re="transition",Ce="note",Ae="note-edge",xe=`${re} ${Ae}`,Le=`${pt}-${Ce}`,we="cluster",Ie=`${pt}-${we}`,Ne="cluster-alt",Oe=`${pt}-${Ne}`,ie="parent",ae="note",Fe="state",Yt="----",Be=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Ve=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let g=ht.get(l.id);return ht.set(s,g),g}let u=ne++,f=r?void 0:u;return ht.set(s,f),f},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let u=l!==null&&l.length>0?`${r}${l}`:"";return`${Fe}-${e}${u}-${s}`}t(xt,"stateDomId");var Me=t((e,s,l,r,u,f,g,y)=>{i.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,u,f,g,y);break;case ft:ut(e,o,l,r,u,f,g,y);break;case Bt:{ut(e,o.state1,l,r,u,f,g,y),ut(e,o.state2,l,r,u,f,g,y);let k=g==="neo",T={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:k?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:C.sanitizeText(o.description??"",d()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:g};u.push(T),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((u)=>{let f=l.get(u);if(f)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...f.styles]})}let r=e.find((u)=>u.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,u,f,g,y)=>{let o=s.id,k=l.get(o),T=oe(k),F=le(k),G=d(),W=T.trim()!==""||F.length>0;if(i.info("dataFetcher parsedItem",s,k,F),o!=="root"){let x=$t;if(s.start===!0)x=be;else if(s.start===!1)x=ke;if(s.type!==ft)x=s.type;if(!At.get(o))At.set(o,{id:o,shape:x,description:C.sanitizeText(o,G),cssClasses:`${T} ${ve}`,cssStyles:F});let S=At.get(o);if(s.description){if(Array.isArray(S.description))S.shape=Ft,S.description.push(s.description);else if(S.description?.length&&S.description.length>0)if(S.shape=Ft,S.description===o)S.description=[s.description];else S.description=[S.description,s.description];else S.shape=$t,S.description=s.description;S.description=C.sanitizeTextOrArray(S.description,G)}if(S.description?.length===1&&S.shape===Ft)if(S.type==="group")S.shape=Ut;else S.shape=$t;if(!S.type&&s.doc)i.info("Setting cluster for XCX",o,zt(s)),S.type="group",S.isGroup=!0,S.dir=zt(s),S.shape=s.type===qt?Gt:Ut,S.colorIndex=Ve(S.shape,o,e,W),S.cssClasses=`${S.cssClasses} ${Ie} ${f?Oe:""}`;let Y={labelStyle:"",shape:S.shape,label:S.description,cssClasses:S.cssClasses,cssCompiledStyles:[],cssStyles:S.cssStyles,id:o,dir:S.dir,domId:xt(o,Z),type:S.type,isGroup:S.type==="group",colorIndex:S.colorIndex,padding:8,rx:10,ry:10,look:g,labelType:"markdown"};if(Y.shape===Gt)Y.label="";if(e&&e.id!=="root")i.trace("Setting node ",o," to be child of its parent ",e.id),Y.parentId=e.id;if(Y.centerLabel=!0,s.note){let w={labelStyle:"",shape:Te,label:s.note.text,labelType:"markdown",cssClasses:Le,cssStyles:[],cssCompiledStyles:[],id:o+Be+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:G.flowchart?.padding,look:g,position:s.note.position},z=o+Ht,V={labelStyle:"",shape:Ee,label:s.note.text,cssClasses:S.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:g,position:s.note.position};Z++,V.id=z,w.parentId=z,dt(r,V,y),dt(r,w,y),dt(r,Y,y);let K=o,A=w.id;if(s.note.position==="left of")K=w.id,A=o;u.push({id:K+"-"+A,start:K,end:A,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:xe,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:g})}else dt(r,Y,y)}if(s.doc)i.trace("Adding nodes children "),Me(s,s.doc,l,r,u,!f,g,y)},"dataFetcher"),je=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),Ue=t(function(e,s){return s.db.getClasses()},"getClasses"),He=t(async function(e,s,l,r){i.info("REF0:"),i.info("Drawing state diagram (v2)",s);let{securityLevel:u,state:f,layout:g}=d();r.db.extract(r.db.getRootDocV2());let y=r.db.getData(),o=Ge(s,u);if(y.type=r.type,y.layoutAlgorithm=Ye(g),y.nodeSpacing=f?.nodeSpacing||50,y.rankSpacing=f?.rankSpacing||50,d().look==="neo")y.markers=["barbNeo"];else y.markers=["barb"];y.diagramId=s,await We(y,o);let T=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((G,W)=>{let x=typeof W==="string"?W:typeof W?.id==="string"?W.id:"",S=y.nodes.find((A)=>A.id===x);if(!x){i.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(W));return}let Y=o.node()?.querySelectorAll("g.node, g.rough-node"),w;if(Y?.forEach((A)=>{let rt=A.textContent?.trim();if(A.id===S?.domId||rt===x)w=A}),!w){i.warn("⚠️ Could not find node matching text:",x);return}let z=w.parentNode;if(!z){i.warn("⚠️ Node has no parent, cannot wrap:",x);return}let V=document.createElementNS("http://www.w3.org/2000/svg","a"),K=G.url.replace(/^"+|"+$/g,"");if(V.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),V.setAttribute("target","_blank"),G.tooltip){let A=G.tooltip.replace(/^"+|"+$/g,"");V.setAttribute("title",A),w.setAttribute("title",A)}z.replaceChild(V,w),V.appendChild(w),i.info("\uD83D\uDD17 Wrapped node in <a> tag for:",x,G.url)})}catch(F){i.error("❌ Error injecting clickable links:",F)}H.insertTitle(o,"statediagramTitleText",f?.titleTopMargin??25,r.db.getDiagramTitle()),De(o,T,pt,f?.useMaxWidth??!0)},"draw"),ze={getClasses:Ue,draw:He,getDir:ce},O={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=P,this.setAccTitle=M,this.getAccDescription=I,this.setAccDescription=R,this.setDiagramTitle=B,this.getDiagramTitle=D,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case lt:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=d();je(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let u=this.getState(r);if(!u){let f=r.trim();this.addState(f),u=this.getState(f)}if(u)u.styles=l.map((f)=>f.replace(/;/g,"")?.trim())}}setRootDoc(e){if(i.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===lt)if(s.id===O.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==ot&&s.stmt!==lt||!s.doc)return;let r=[],u=[];for(let f of s.doc)if(f.type===qt){let g=Ct(f);g.doc=Ct(u),r.push(g),u=[]}else u.push(f);if(r.length>0&&u.length>0){let f={stmt:lt,id:ec(),type:"divider",doc:Ct(u)};r.push(Ct(f)),s.doc=r}s.doc.forEach((f)=>this.docTranslator(s,f,!0))}getRootDocV2(){return this.docTranslator({id:ot,stmt:ot},{id:ot,stmt:ot,doc:this.rootDoc},!0),{id:ot,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,u=void 0,f=void 0,g=void 0,y=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))i.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:lt,id:o,descriptions:[],type:s,doc:l,note:u,classes:[],styles:[],textStyles:[]});else{let k=this.currentDocument.states.get(o);if(!k)throw Error(`State not found: ${o}`);if(!k.doc)k.doc=l;if(!k.type)k.type=s}if(r)i.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((T)=>this.addDescription(o,T.trim()));if(u){let k=this.currentDocument.states.get(o);if(!k)throw Error(`State not found: ${o}`);k.note=u,k.note.text=C.sanitizeText(k.note.text,d())}if(f)i.info("Setting state classes",o,f),(Array.isArray(f)?f:[f]).forEach((T)=>this.setCssClass(o,T.trim()));if(g)i.info("Setting state styles",o,g),(Array.isArray(g)?g:[g]).forEach((T)=>this.setStyle(o,T.trim()));if(y)i.info("Setting state styles",o,g),(Array.isArray(y)?y:[y]).forEach((T)=>this.setTextStyle(o,T.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,L()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){i.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),i.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===O.START_NODE)return this.startEndCount++,`${O.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===O.START_NODE?O.START_TYPE:s}endIdIfNeeded(e=""){if(e===O.END_NODE)return this.startEndCount++,`${O.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===O.END_NODE?O.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),u=this.startTypeIfNeeded(e.id.trim(),e.type),f=this.startIdIfNeeded(s.id.trim()),g=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,u,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(f,g,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:C.sanitizeText(l,d())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),u=this.startTypeIfNeeded(e),f=this.endIdIfNeeded(s.trim()),g=this.endTypeIfNeeded(s);this.addState(r,u),this.addState(f,g),this.currentDocument.relations.push({id1:r,id2:f,relationTitle:l?C.sanitizeText(l,d()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(C.sanitizeText(r,d()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(O.STYLECLASS_SEP).forEach((r)=>{let u=r.replace(/([^;]*);/,"$1").trim();if(RegExp(O.COLOR_KEYWORD).exec(r)){let g=u.replace(O.FILL_KEYWORD,O.BG_FILL).replace(O.COLOR_KEYWORD,O.FILL_KEYWORD);l.textStyles.push(g)}l.styles.push(u)})}getClasses(){return this.classes}setupToolTips(e){let s=Hn();v(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(u)=>{let f=v(u.currentTarget),g=f.attr("title");if(g===null)return;let y=u.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+y.left+(y.right-y.left)/2+"px").style("top",window.scrollY+y.bottom+"px"),s.html(st.sanitize(g)),f.classed("hover",!0)}).on("mouseout",(u)=>{s.transition().duration(500).style("opacity",0),v(u.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let u=l.trim();this.addState(u),r=this.getState(u)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=d();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return d().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Re(s,r))return"";let u=Pe(e.look),f=$e(l),g="";for(let y=0;y<hn(r);y++){let o=r[y],k=f?`fill: ${l[y%l.length]};`:"",T=`[data-look="${u}"][data-color-id="color-${y}"]`;g+=`
|
|
7
|
+
|
|
8
|
+
/* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
|
|
9
|
+
the body, so what stays visible of \`outer\` is the band behind the label. */
|
|
10
|
+
${T}.statediagram-cluster rect.outer {
|
|
11
|
+
stroke: ${o};
|
|
12
|
+
${k}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
${T}.statediagram-cluster rect.inner {
|
|
16
|
+
stroke: ${o};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Concurrency regions. Siblings of one composite share a slot, so a divided composite
|
|
20
|
+
reads as one thing split into parts rather than as several composites. */
|
|
21
|
+
${T}.statediagram-cluster rect.divider {
|
|
22
|
+
stroke: ${o};
|
|
23
|
+
${k}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* handDrawn draws the same container as roughjs shapes rather than plain rects, so it
|
|
27
|
+
needs its own rules. \`roundedWithTitle\` and \`divider\` name those groups \`outer\`,
|
|
28
|
+
\`inner\` and \`divider\` to match the classic branch, which is what lets these
|
|
29
|
+
discriminate -- a bare \`.statediagram-cluster path\` rule reached the body as well and
|
|
30
|
+
tinted the whole composite, losing \`compositeBackground\` and diverging from what
|
|
31
|
+
classic and neo do.
|
|
32
|
+
|
|
33
|
+
roughjs emits two paths per shape and marks them: the filled shape carries
|
|
34
|
+
\`stroke="none"\` and the sketched outline carries \`fill="none"\`. Splitting on that is
|
|
35
|
+
what keeps \`fill\` off the outline -- a rough outline is open squiggles, not a closed
|
|
36
|
+
region, so filling it produces smears -- and keeps \`stroke\` off the fill shape, which
|
|
37
|
+
would otherwise gain an edge it was drawn without. */
|
|
38
|
+
${T}.statediagram-cluster .outer path[stroke='none'] {
|
|
39
|
+
${k}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
${T}.statediagram-cluster .outer path[fill='none'] {
|
|
43
|
+
stroke: ${o};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* No \`.inner\` rule on purpose. The body shape is left entirely alone under handDrawn,
|
|
47
|
+
where a rect's \`inner\` counterpart cannot be recoloured safely: roughjs draws a
|
|
48
|
+
hachure fill as *stroked* lines, so its fill paths carry \`fill="none"\` exactly like
|
|
49
|
+
the outline and no selector separates them. An \`.inner\` stroke rule therefore
|
|
50
|
+
repainted the hatching of every alt composite in the palette colour instead of
|
|
51
|
+
leaving it on \`altBackground\`. The container still reads as palette-coloured: the
|
|
52
|
+
\`outer\` shape spans the whole composite, so its outline already frames the body. */
|
|
53
|
+
|
|
54
|
+
/* Regions split the same way, which is why \`divider\` fills solid rather than taking
|
|
55
|
+
roughjs's default hachure -- see the note on that call. Hatched, both of its paths
|
|
56
|
+
carried \`fill="none"\` and these two rules degenerated: the tint matched nothing and
|
|
57
|
+
the border rule repainted the hatching. */
|
|
58
|
+
${T}.statediagram-cluster .divider path[stroke='none'] {
|
|
59
|
+
${k}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
${T}.statediagram-cluster .divider path[fill='none'] {
|
|
63
|
+
stroke: ${o};
|
|
64
|
+
}
|
|
65
|
+
`}return g},"genColor"),Je=t((e)=>`
|
|
66
|
+
${Xe(e)}
|
|
67
|
+
defs [id$="-barbEnd"] {
|
|
68
|
+
fill: ${e.transitionColor};
|
|
69
|
+
stroke: ${e.transitionColor};
|
|
70
|
+
}
|
|
71
|
+
g.stateGroup text {
|
|
72
|
+
fill: ${e.nodeBorder};
|
|
73
|
+
stroke: none;
|
|
74
|
+
font-size: 10px;
|
|
75
|
+
}
|
|
76
|
+
g.stateGroup text {
|
|
77
|
+
fill: ${e.textColor};
|
|
78
|
+
stroke: none;
|
|
79
|
+
font-size: 10px;
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
g.stateGroup .state-title {
|
|
83
|
+
font-weight: bolder;
|
|
84
|
+
fill: ${e.stateLabelColor};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
g.stateGroup rect {
|
|
88
|
+
fill: ${e.mainBkg};
|
|
89
|
+
stroke: ${e.nodeBorder};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
g.stateGroup line {
|
|
93
|
+
stroke: ${e.lineColor};
|
|
94
|
+
stroke-width: ${e.strokeWidth||1};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.transition {
|
|
98
|
+
stroke: ${e.transitionColor};
|
|
99
|
+
stroke-width: ${e.strokeWidth||1};
|
|
100
|
+
fill: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.stateGroup .composit {
|
|
104
|
+
fill: ${e.background};
|
|
105
|
+
border-bottom: 1px
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.stateGroup .alt-composit {
|
|
109
|
+
fill: #e0e0e0;
|
|
110
|
+
border-bottom: 1px
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.state-note {
|
|
114
|
+
stroke: ${e.noteBorderColor};
|
|
115
|
+
fill: ${e.noteBkgColor};
|
|
116
|
+
|
|
117
|
+
text {
|
|
118
|
+
fill: ${e.noteTextColor};
|
|
119
|
+
stroke: none;
|
|
120
|
+
font-size: 10px;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.stateLabel .box {
|
|
125
|
+
stroke: none;
|
|
126
|
+
stroke-width: 0;
|
|
127
|
+
fill: ${e.mainBkg};
|
|
128
|
+
opacity: 0.5;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.edgeLabel .label rect {
|
|
132
|
+
fill: ${e.labelBackgroundColor};
|
|
133
|
+
opacity: 0.5;
|
|
134
|
+
}
|
|
135
|
+
.edgeLabel {
|
|
136
|
+
background-color: ${e.edgeLabelBackground};
|
|
137
|
+
p {
|
|
138
|
+
background-color: ${e.edgeLabelBackground};
|
|
139
|
+
}
|
|
140
|
+
rect {
|
|
141
|
+
opacity: 0.5;
|
|
142
|
+
background-color: ${e.edgeLabelBackground};
|
|
143
|
+
fill: ${e.edgeLabelBackground};
|
|
144
|
+
}
|
|
145
|
+
text-align: center;
|
|
146
|
+
}
|
|
147
|
+
.edgeLabel .label text {
|
|
148
|
+
fill: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
149
|
+
}
|
|
150
|
+
.label div .edgeLabel {
|
|
151
|
+
color: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.stateLabel text {
|
|
155
|
+
fill: ${e.stateLabelColor};
|
|
156
|
+
font-size: 10px;
|
|
157
|
+
font-weight: bold;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.node circle.state-start {
|
|
161
|
+
fill: ${e.specialStateColor};
|
|
162
|
+
stroke: ${e.specialStateColor};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.node .fork-join {
|
|
166
|
+
fill: ${e.specialStateColor};
|
|
167
|
+
stroke: ${e.specialStateColor};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.node circle.state-end {
|
|
171
|
+
fill: ${e.innerEndBackground};
|
|
172
|
+
stroke: ${e.background};
|
|
173
|
+
stroke-width: 1.5
|
|
174
|
+
}
|
|
175
|
+
.end-state-inner {
|
|
176
|
+
fill: ${e.compositeBackground||e.background};
|
|
177
|
+
// stroke: ${e.background};
|
|
178
|
+
stroke-width: 1.5
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.node rect {
|
|
182
|
+
fill: ${e.stateBkg||e.mainBkg};
|
|
183
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
184
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
185
|
+
}
|
|
186
|
+
.node polygon {
|
|
187
|
+
fill: ${e.mainBkg};
|
|
188
|
+
stroke: ${e.stateBorder||e.nodeBorder};;
|
|
189
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
190
|
+
}
|
|
191
|
+
[id$="-barbEnd"] {
|
|
192
|
+
fill: ${e.lineColor};
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.statediagram-cluster rect {
|
|
196
|
+
fill: ${e.compositeTitleBackground};
|
|
197
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
198
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.cluster-label, .nodeLabel {
|
|
202
|
+
color: ${e.stateLabelColor};
|
|
203
|
+
// line-height: 1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.statediagram-cluster rect.outer {
|
|
207
|
+
rx: 5px;
|
|
208
|
+
ry: 5px;
|
|
209
|
+
}
|
|
210
|
+
.statediagram-state .divider {
|
|
211
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.statediagram-state .title-state {
|
|
215
|
+
rx: 5px;
|
|
216
|
+
ry: 5px;
|
|
217
|
+
}
|
|
218
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
219
|
+
fill: ${e.compositeBackground||e.background};
|
|
220
|
+
}
|
|
221
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
222
|
+
fill: ${e.altBackground?e.altBackground:"#efefef"};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.statediagram-cluster .inner {
|
|
226
|
+
rx:0;
|
|
227
|
+
ry:0;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.statediagram-state rect.basic {
|
|
231
|
+
rx: 5px;
|
|
232
|
+
ry: 5px;
|
|
233
|
+
}
|
|
234
|
+
.statediagram-state rect.divider {
|
|
235
|
+
stroke-dasharray: 10,10;
|
|
236
|
+
fill: ${e.altBackground?e.altBackground:"#efefef"};
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.note-edge {
|
|
240
|
+
stroke-dasharray: 5;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.statediagram-note rect {
|
|
244
|
+
fill: ${e.noteBkgColor};
|
|
245
|
+
stroke: ${e.noteBorderColor};
|
|
246
|
+
stroke-width: 1px;
|
|
247
|
+
rx: 0;
|
|
248
|
+
ry: 0;
|
|
249
|
+
}
|
|
250
|
+
.statediagram-note rect {
|
|
251
|
+
fill: ${e.noteBkgColor};
|
|
252
|
+
stroke: ${e.noteBorderColor};
|
|
253
|
+
stroke-width: 1px;
|
|
254
|
+
rx: 0;
|
|
255
|
+
ry: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.statediagram-note text {
|
|
259
|
+
fill: ${e.noteTextColor};
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.statediagram-note .nodeLabel {
|
|
263
|
+
color: ${e.noteTextColor};
|
|
264
|
+
}
|
|
265
|
+
.statediagram .edgeLabel {
|
|
266
|
+
color: red; // ${e.noteTextColor};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
270
|
+
fill: ${e.lineColor};
|
|
271
|
+
stroke: ${e.lineColor};
|
|
272
|
+
stroke-width: ${e.strokeWidth||1};
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.statediagramTitleText {
|
|
276
|
+
text-anchor: middle;
|
|
277
|
+
font-size: 18px;
|
|
278
|
+
fill: ${e.textColor};
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
[data-look="neo"].statediagram-cluster rect {
|
|
282
|
+
fill: ${e.mainBkg};
|
|
283
|
+
stroke: ${e.useGradient?"url("+e.svgId+"-gradient)":e.stateBorder||e.nodeBorder};
|
|
284
|
+
stroke-width: ${e.strokeWidth??1};
|
|
285
|
+
}
|
|
286
|
+
[data-look="neo"].statediagram-cluster rect.outer {
|
|
287
|
+
rx: ${e.radius}px;
|
|
288
|
+
ry: ${e.radius}px;
|
|
289
|
+
filter: ${e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${e.svgId}-drop-shadow)`):"none"}
|
|
290
|
+
}
|
|
291
|
+
`,"getStyles"),qe=Je,ms={parser:pe,get db(){return new Ke(2)},renderer:ze,styles:qe,init:t((e)=>{if(!e.state)e.state={};e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ms as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{t,i,tt,z,S,G,Y,L,M,P,R,I,B,D,ya,te,Z,rc}from"./chunk-pvq527d1.js";import"./chunk-0qmwgbg8.js";import{Gt}from"./chunk-y2x9v76f.js";import{Cn}from"./chunk-m770h1wv.js";import{Bn}from"./chunk-f9rv8b13.js";function vt(e,s,n){e=+e,s=+s,n=(o=arguments.length)<2?(s=e,e=0,1):o<3?1:+n;var a=-1,o=Math.max(0,Math.ceil((s-e)/n))|0,c=Array(o);while(++a<o)c[a]=e+a*n;return c}function xt(){var e=Gt().unknown(void 0),{domain:s,range:n}=e,a=0,o=1,c,l,f=!1,g=0,b=0,v=0.5;delete e.unknown;function _(){var w=s().length,H=o<a,W=H?o:a,F=H?a:o;if(c=(F-W)/Math.max(1,w-g+b*2),f)c=Math.floor(c);if(W+=(F-W-c*(w-g))*v,l=c*(1-g),f)W=Math.round(W),l=Math.round(l);var U=vt(w).map(function(it){return W+c*it});return n(H?U.reverse():U)}return e.domain=function(w){return arguments.length?(s(w),_()):s()},e.range=function(w){return arguments.length?([a,o]=w,a=+a,o=+o,_()):[a,o]},e.rangeRound=function(w){return[a,o]=w,a=+a,o=+o,f=!0,_()},e.bandwidth=function(){return l},e.step=function(){return c},e.round=function(w){return arguments.length?(f=!!w,_()):f},e.padding=function(w){return arguments.length?(g=Math.min(1,b=+w),_()):g},e.paddingInner=function(w){return arguments.length?(g=Math.min(1,w),_()):g},e.paddingOuter=function(w){return arguments.length?(b=+w,_()):b},e.align=function(w){return arguments.length?(v=Math.max(0,Math.min(1,w)),_()):v},e.copy=function(){return xt(s(),[a,o]).round(f).paddingInner(g).paddingOuter(b).align(v)},Bn.apply(_(),arguments)}var Pt=function(){var e=t(function(K,h,u,x){for(u=u||{},x=K.length;x--;u[K[x]]=h);return u},"o"),s=[1,10,12,14,16,18,19,21,23],n=[2,6],a=[1,3],o=[1,5],c=[1,6],l=[1,7],f=[1,5,10,12,14,16,18,19,21,23,36,37,38],g=[1,25],b=[1,26],v=[1,28],_=[1,29],w=[1,30],H=[1,31],W=[1,32],F=[1,33],U=[1,34],it=[1,35],nt=[1,36],k=[1,37],j=[1,43],d=[1,42],q=[1,47],Q=[1,50],C=[1,10,12,14,16,18,19,21,23,36,37,38],ot=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],X=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],gt=[1,65],O=[26,28],A={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:t(function(h,u,x,p,T,r,rt){var m=r.length-1;switch(T){case 5:p.setOrientation(r[m]);break;case 9:p.setDiagramTitle(r[m].text.trim());break;case 12:p.setLineData({text:"",type:"text"},r[m]);break;case 13:p.setLineData(r[m-1],r[m]);break;case 14:p.setBarData({text:"",type:"text"},r[m]);break;case 15:p.setBarData(r[m-1],r[m]);break;case 16:this.$=r[m].trim(),p.setAccTitle(this.$);break;case 17:case 18:this.$=r[m].trim(),p.setAccDescription(this.$);break;case 19:this.$=r[m-1];break;case 20:case 30:this.$=[r[m-2],...r[m]];break;case 21:case 31:this.$=[r[m]];break;case 22:this.$={value:Number(r[m-1]),label:r[m]};break;case 23:this.$={value:Number(r[m]),label:""};break;case 24:p.setXAxisTitle(r[m]);break;case 25:p.setXAxisTitle(r[m-1]);break;case 26:p.setXAxisTitle({type:"text",text:""});break;case 27:p.setXAxisBand(r[m]);break;case 28:p.setXAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 29:this.$=r[m-1];break;case 32:p.setYAxisTitle(r[m]);break;case 33:p.setYAxisTitle(r[m-1]);break;case 34:p.setYAxisTitle({type:"text",text:""});break;case 35:p.setYAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 39:this.$={text:r[m],type:"text"};break;case 40:this.$={text:r[m],type:"text"};break;case 41:this.$={text:r[m],type:"markdown"};break;case 42:this.$=r[m];break;case 43:this.$=r[m-1]+""+r[m];break}},"anonymous"),table:[e(s,n,{3:1,4:2,7:4,5:a,36:o,37:c,38:l}),{1:[3]},e(s,n,{4:2,7:4,3:8,5:a,36:o,37:c,38:l}),e(s,n,{4:2,7:4,6:9,3:10,5:a,8:[1,11],36:o,37:c,38:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(f,[2,36]),e(f,[2,37]),e(f,[2,38]),{1:[2,1]},e(s,n,{4:2,7:4,3:21,5:a,36:o,37:c,38:l}),{1:[2,3]},e(f,[2,5]),e(s,[2,7],{4:22,36:o,37:c,38:l}),{11:23,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:W,47:F,48:U,49:it,50:nt,51:k},{11:39,13:38,24:j,29:d,30:g,31:40,32:41,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:W,47:F,48:U,49:it,50:nt,51:k},{11:45,15:44,29:q,30:g,35:46,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:W,47:F,48:U,49:it,50:nt,51:k},{11:49,17:48,24:Q,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:W,47:F,48:U,49:it,50:nt,51:k},{11:52,17:51,24:Q,30:g,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:W,47:F,48:U,49:it,50:nt,51:k},{20:[1,53]},{22:[1,54]},e(C,[2,18]),{1:[2,2]},e(C,[2,8]),e(C,[2,9]),e(ot,[2,39],{41:55,42:v,43:_,44:w,45:H,46:W,47:F,48:U,49:it,50:nt,51:k}),e(ot,[2,40]),e(ot,[2,41]),e(X,[2,42]),e(X,[2,44]),e(X,[2,45]),e(X,[2,46]),e(X,[2,47]),e(X,[2,48]),e(X,[2,49]),e(X,[2,50]),e(X,[2,51]),e(X,[2,52]),e(X,[2,53]),e(C,[2,10]),e(C,[2,24],{32:41,31:56,24:j,29:d}),e(C,[2,26]),e(C,[2,27]),{33:[1,57]},{11:59,30:g,34:58,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:W,47:F,48:U,49:it,50:nt,51:k},e(C,[2,11]),e(C,[2,32],{35:60,29:q}),e(C,[2,34]),{33:[1,61]},e(C,[2,12]),{17:62,24:Q},{25:63,27:64,29:gt},e(C,[2,14]),{17:66,24:Q},e(C,[2,16]),e(C,[2,17]),e(X,[2,43]),e(C,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(C,[2,33]),{29:[1,70]},e(C,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(O,[2,23],{30:[1,73]}),e(C,[2,15]),e(C,[2,28]),e(C,[2,29]),{11:59,30:g,34:74,39:24,40:b,41:27,42:v,43:_,44:w,45:H,46:W,47:F,48:U,49:it,50:nt,51:k},e(C,[2,35]),e(C,[2,19]),{25:75,27:64,29:gt},e(O,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:t(function(h,u){if(u.recoverable)this.trace(h);else{var x=Error(h);throw x.hash=u,x}},"parseError"),parse:t(function(h){var u=this,x=[0],p=[],T=[null],r=[],rt=this.table,m="",bt=0,Yt=0,Nt=0,fe=2,Ht=1,pe=r.slice.call(arguments,1),V=Object.create(this.lexer),ht={yy:{}};for(var St in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,St))ht.yy[St]=this.yy[St];if(V.setInput(h,ht.yy),ht.yy.lexer=V,ht.yy.parser=this,typeof V.yylloc>"u")V.yylloc={};var Rt=V.yylloc;r.push(Rt);var me=V.options&&V.options.ranges;if(typeof ht.yy.parseError==="function")this.parseError=ht.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function be(et){x.length=x.length-2*et,T.length=T.length-et,r.length=r.length-et}t(be,"popStack");function $t(){var et=p.pop()||V.lex()||Ht;if(typeof et!=="number"){if(et instanceof Array)p=et,et=p.pop();et=u.symbols_[et]||et}return et}t($t,"lex");var N,_t,lt,J,ze,Tt,ut={},yt,at,Ut,wt;while(!0){if(lt=x[x.length-1],this.defaultActions[lt])J=this.defaultActions[lt];else{if(N===null||typeof N>"u")N=$t();J=rt[lt]&&rt[lt][N]}if(typeof J>"u"||!J.length||!J[0]){var Dt="";wt=[];for(yt in rt[lt])if(this.terminals_[yt]&&yt>fe)wt.push("'"+this.terminals_[yt]+"'");if(V.showPosition)Dt="Parse error on line "+(bt+1)+`:
|
|
2
|
+
`+V.showPosition()+`
|
|
3
|
+
Expecting `+wt.join(", ")+", got '"+(this.terminals_[N]||N)+"'";else Dt="Parse error on line "+(bt+1)+": Unexpected "+(N==Ht?"end of input":"'"+(this.terminals_[N]||N)+"'");this.parseError(Dt,{text:V.match,token:this.terminals_[N]||N,line:V.yylineno,loc:Rt,expected:wt})}if(J[0]instanceof Array&&J.length>1)throw Error("Parse Error: multiple actions possible at state: "+lt+", token: "+N);switch(J[0]){case 1:if(x.push(N),T.push(V.yytext),r.push(V.yylloc),x.push(J[1]),N=null,!_t){if(Yt=V.yyleng,m=V.yytext,bt=V.yylineno,Rt=V.yylloc,Nt>0)Nt--}else N=_t,_t=null;break;case 2:if(at=this.productions_[J[1]][1],ut.$=T[T.length-at],ut._$={first_line:r[r.length-(at||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(at||1)].first_column,last_column:r[r.length-1].last_column},me)ut._$.range=[r[r.length-(at||1)].range[0],r[r.length-1].range[1]];if(Tt=this.performAction.apply(ut,[m,Yt,bt,ht.yy,J[1],T,r].concat(pe)),typeof Tt<"u")return Tt;if(at)x=x.slice(0,-1*at*2),T=T.slice(0,-1*at),r=r.slice(0,-1*at);x.push(this.productions_[J[1]][0]),T.push(ut.$),r.push(ut._$),Ut=rt[x[x.length-2]][x[x.length-1]],x.push(Ut);break;case 3:return!0}}return!0},"parse")},st=function(){var K={EOF:1,parseError:t(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw Error(u)},"parseError"),setInput:t(function(h,u){if(this.yy=u||this.yy||{},this._input=h,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 h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);if(u)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),h},"input"),unput:t(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var p=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),x.length-1)this.yylineno-=x.length-1;var T=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:x?(x.length===p.length?this.yylloc.first_column:0)+p[p.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges)this.yylloc.range=[T[0],T[0]+this.yyleng-u];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(h){this.unput(this.match.slice(h))},"less"),pastInput:t(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var h=this.match;if(h.length<20)h+=this._input.substr(0,20-h.length);return(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var h=this.pastInput(),u=Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
|
5
|
+
`+u+"^"},"showPosition"),test_match:t(function(h,u){var x,p,T;if(this.options.backtrack_lexer){if(T={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)T.yylloc.range=this.yylloc.range.slice(0)}if(p=h[0].match(/(?:\r\n?|\n).*/g),p)this.yylineno+=p.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,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(h[0].length),this.matched+=h[0],x=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(x)return x;else if(this._backtrack){for(var r in T)this[r]=T[r];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var h,u,x,p;if(!this._more)this.yytext="",this.match="";var T=this._currentRules();for(var r=0;r<T.length;r++)if(x=this._input.match(this.rules[T[r]]),x&&(!u||x[0].length>u[0].length)){if(u=x,p=r,this.options.backtrack_lexer)if(h=this.test_match(x,T[r]),h!==!1)return h;else if(this._backtrack){u=!1;continue}else return!1;else if(!this.options.flex)break}if(u){if(h=this.test_match(u,T[p]),h!==!1)return h;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 u=this.next();if(u)return u;else return this.lex()},"lex"),begin:t(function(u){this.conditionStack.push(u)},"begin"),popState:t(function(){var u=this.conditionStack.length-1;if(u>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(u){if(u=this.conditionStack.length-1-Math.abs(u||0),u>=0)return this.conditionStack[u];else return"INITIAL"},"topState"),pushState:t(function(u){this.begin(u)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(u,x,p,T){var r=T;switch(p){case 0:break;case 1:break;case 2:return this.popState(),36;break;case 3:return this.popState(),36;break;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;break;case 8:return this.popState(),"acc_title_value";break;case 9:return this.pushState("acc_descr"),21;break;case 10:return this.popState(),"acc_descr_value";break;case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";break;case 18:return this.pushState("axis_data"),"Y_AXIS";break;case 19:return this.pushState("axis_band_data"),24;break;case 20:return 33;case 21:return this.pushState("data"),16;break;case 22:return this.pushState("data"),18;break;case 23:return this.pushState("data_inner"),24;break;case 24:return 29;case 25:return this.popState(),26;break;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return K}();A.lexer=st;function E(){this.yy={}}return t(E,"Parser"),E.prototype=A,A.Parser=E,new E}();Pt.parser=Pt;var ye=Pt;function kt(e){return e.type==="bar"}t(kt,"isBarPlot");function At(e){return e.type==="band"}t(At,"isBandAxisData");function dt(e){return e.type==="linear"}t(dt,"isLinearAxisData");var It=class{constructor(e){this.parentGroup=e}static{t(this,"TextDimensionCalculatorWithFont")}getMaxDimension(e,s){if(!this.parentGroup)return{width:e.reduce((g,b)=>Math.max(b.length,g),0)*s,height:s};let n={width:0,height:0},a=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",s),o=a.node()?.getScreenCTM?.(),c=t((g)=>g&&g>0?g:1,"toScale"),l=c(o?.a),f=c(o?.d);for(let g of e){let b=rc(a,1,g),v=b?b.width/l:g.length*s,_=b?b.height/f:s;n.width=Math.max(n.width,v),n.height=Math.max(n.height,_)}return a.remove(),n}},qt=0.7,jt=0.2,Qt=class{constructor(e,s,n,a){this.axisConfig=e,this.title=s,this.textDimensionCalculator=n,this.axisThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{t(this,"BaseAxis")}setRange(e){if(this.range=e,this.axisPosition==="left"||this.axisPosition==="right")this.boundingRect.height=e[1]-e[0];else this.boundingRect.width=e[1]-e[0];this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((e)=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){if(qt*this.getTickDistance()>this.outerPadding*2)this.outerPadding=Math.floor(qt*this.getTickDistance()/2);this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let s=e.height;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=jt*e.width;this.outerPadding=Math.min(n.width/2,a);let o=n.height;if(this.axisPosition==="bottom"&&this.normalizedLabelRotationInRad!==0)o=Math.max(o,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*n.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*n.height));if(o+=this.axisConfig.labelPadding*2,this.labelTextHeight=n.height,o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width,this.boundingRect.height=e.height-s}calculateSpaceIfDrawnVertical(e){let s=e.width;if(this.axisConfig.showAxisLine&&s>this.axisConfig.axisLineWidth)s-=this.axisConfig.axisLineWidth,this.showAxisLine=!0;if(this.axisConfig.showLabel){let n=this.getLabelDimension(),a=jt*e.height;this.outerPadding=Math.min(n.height/2,a);let o=n.width+this.axisConfig.labelPadding*2;if(o<=s)s-=o,this.showLabel=!0}if(this.axisConfig.showTick&&s>=this.axisConfig.tickLength)this.showTick=!0,s-=this.axisConfig.tickLength;if(this.axisConfig.showTitle&&this.title){let n=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),a=n.height+this.axisConfig.titlePadding*2;if(this.titleTextHeight=n.height,a<=s)s-=a,this.showTitle=!0}this.boundingRect.width=e.width-s,this.boundingRect.height=e.height}calculateSpace(e){if(this.axisPosition==="left"||this.axisPosition==="right")this.calculateSpaceIfDrawnVertical(e);else this.calculateSpaceIfDrawnHorizontally(e);return this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let s=this.normalizedLabelRotationInRad;if(s===0)return 0;return Math.sin(s)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${s},${this.boundingRect.y} L ${s},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(s),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))});if(this.showTick){let s=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${s},${this.getScaleValue(n)} L ${s-this.axisConfig.tickLength},${this.getScaleValue(n)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s} L ${this.getScaleValue(n)},${s+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let s=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${s} L ${this.boundingRect.x+this.boundingRect.width},${s}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel)e.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map((s)=>({text:s.toString(),x:this.getScaleValue(s),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))});if(this.showTick){let s=this.boundingRect.y;e.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map((n)=>({path:`M ${this.getScaleValue(n)},${s+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(n)},${s+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}if(this.showTitle)e.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]});return e}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");if(this.axisPosition==="bottom")return this.getDrawableElementsForBottomAxis();if(this.axisPosition==="top")return this.getDrawableElementsForTopAxis();return[]}},we=class extends Qt{static{t(this,"BandAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.categories=n,this.scale=xt().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=xt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5),i.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},ke=class extends Qt{static{t(this,"LinearAxis")}constructor(e,s,n,a,o){super(e,a,o,s);this.domain=n,this.scale=Cn().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];if(this.axisPosition==="left")e.reverse();this.scale=Cn().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}};function Lt(e,s,n,a){let o=new It(a);if(At(e))return new we(s,n,e.categories,e.title,o);return new ke(s,n,[e.min,e.max],e.title,o)}t(Lt,"getAxis");var Ae=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.titleWidth=0,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{t(this,"ChartTitle")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let s=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(s.width,e.width),a=s.height+2*this.chartConfig.titlePadding;if(a<=e.height&&this.chartConfig.showTitle&&this.chartData.title)this.boundingRect.width=n,this.boundingRect.height=a,this.titleWidth=s.width,this.showChartTitle=!0;return{width:this.boundingRect.width,height:this.boundingRect.height}}alignTo(e,s){let n=Math.min(this.titleWidth,this.chartConfig.width)/2,a=Math.min(Math.max((e+s)/2,n),this.chartConfig.width-n);this.boundingRect.x=a-n,this.boundingRect.width=n*2}getDrawableElements(){let e=[];if(this.showChartTitle)e.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]});return e}};function Kt(e,s,n,a){let o=new It(a);return new Ae(o,e,s,n)}t(Kt,"getChartTitleComponent");var Ce=0.75,Se=0.5,Re=0.35;function Et(e){return{fontSize:e,markerSize:e*Ce,markerSpacing:e*Re,itemSpacing:e*Se}}t(Et,"getLegendLayout");var _e=class{constructor(e,s,n,a){this.textDimensionCalculator=e,this.chartConfig=s,this.chartData=n,this.chartThemeConfig=a,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{t(this,"ChartLegend")}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter((g)=>g.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:s,markerSize:n,markerSpacing:a,itemSpacing:o}=Et(this.chartConfig.legendFontSize),c=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map((g)=>g.title),s),l=this.chartConfig.legendPadding*2+n+a+c.width,f=this.chartConfig.legendPadding*2+this.visiblePlots.length*s+(this.visiblePlots.length-1)*o;if(l<=e.width&&f<=e.height)this.boundingRect.width=l,this.boundingRect.height=f;else this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0;return{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:e,markerSize:s,markerSpacing:n,itemSpacing:a}=Et(this.chartConfig.legendFontSize),o=e+a,c=this.boundingRect.x+this.chartConfig.legendPadding,l=this.boundingRect.y+this.chartConfig.legendPadding,f=[],g=[];for(let[b,v]of this.visiblePlots.entries())if(kt(v))f.push({x:c,y:l+b*o,width:s,height:s,fill:v.fill,strokeFill:v.fill,strokeWidth:0});else{let _=l+b*o+s/2;g.push({path:`M ${c},${_} L ${c+s},${_}`,strokeFill:v.strokeFill,strokeWidth:v.strokeWidth})}return[{groupTexts:["legend","markers"],type:"rect",data:f},{groupTexts:["legend","markers"],type:"path",data:g},{groupTexts:["legend","label"],type:"text",data:this.visiblePlots.map((b,v)=>({text:b.title,x:c+s+n,y:l+v*o+s/2,fill:this.chartThemeConfig.legendTextColor,fontSize:e,rotation:0,verticalPos:"middle",horizontalPos:"left"}))}]}};function Zt(e,s,n,a){let o=new It(a);return new _e(o,e,s,n)}t(Zt,"getChartLegendComponent");var Te=class{constructor(e,s,n,a,o){this.plotData=e,this.xAxis=s,this.yAxis=n,this.orientation=a,this.plotIndex=o}static{t(this,"LinePlot")}getDrawableElement(){let e=this.plotData.data.map((a)=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]),s;if(this.orientation==="horizontal")s=ya().y((a)=>a[0]).x((a)=>a[1])(e);else s=ya().x((a)=>a[0]).y((a)=>a[1])(e);if(!s)return[];let n=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:s,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let c=[];for(let[l,[f,g]]of e.entries()){let b=this.plotData.pointLabels[l];if(!b)continue;if(this.orientation==="horizontal")c.push({x:g+10,y:f,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:12,rotation:0});else c.push({x:f,y:g-10,text:b,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:12,rotation:0})}if(c.length>0)n.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:c})}return n}},De=class{constructor(e,s,n,a,o,c){this.barData=e,this.boundingRect=s,this.xAxis=n,this.yAxis=a,this.orientation=o,this.plotIndex=c}static{t(this,"BarPlot")}getDrawableElement(){let e=this.barData.data.map((o)=>[this.xAxis.getScaleValue(o[0]),this.yAxis.getScaleValue(o[1])]),s=0.05,n=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*0.95,a=n/2;if(this.orientation==="horizontal")return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:this.boundingRect.x,y:o[0]-a,height:n,width:o[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}];return[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:e.map((o)=>({x:o[0]-a,y:o[1],width:n,height:this.boundingRect.y+this.boundingRect.height-o[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},ve=class{constructor(e,s,n){this.chartConfig=e,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0}}static{t(this,"BasePlot")}setAxes(e,s){this.xAxis=e,this.yAxis=s}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let e=[];for(let[s,n]of this.chartData.plots.entries())switch(n.type){case"line":{let a=new Te(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break;case"bar":{let a=new De(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,s);e.push(...a.getDrawableElement())}break}return e}};function Jt(e,s,n){return new ve(e,s,n)}t(Jt,"getPlotComponent");var Pe=class{constructor(e,s,n,a){this.chartConfig=e,this.chartData=s,this.componentStore={title:Kt(e,s,n,a),plot:Jt(e,s,n),legend:Zt(e,s,n,a),xAxis:Lt(s.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},a),yAxis:Lt(s.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},a)}}static{t(this,"Orchestrator")}calculateVerticalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o={width:0,height:0},c=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),l=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:c,height:l});if(e-=f.width,s-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),a=f.height,s-=f.height,this.componentStore.xAxis.setAxisPosition("bottom"),f=this.componentStore.xAxis.calculateSpace({width:e,height:s}),s-=f.height,this.componentStore.yAxis.setAxisPosition("left"),f=this.componentStore.yAxis.calculateSpace({width:e,height:s}),n=f.width,e-=f.width,o=this.componentStore.legend.calculateSpace({width:e,height:l}),e-=o.width,e>0)c+=e,e=0;if(s>0)l+=s,s=0;if(this.componentStore.plot.calculateSpace({width:c,height:l}),this.componentStore.plot.setBoundingBoxXY({x:n,y:a}),this.componentStore.title.alignTo(n,n+c),this.componentStore.legend.setBoundingBoxXY({x:n+c,y:a+Math.max((l-o.height)/2,0)}),this.componentStore.xAxis.setRange([n,n+c]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:a+l}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some((g)=>kt(g)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,s=this.chartConfig.height,n=0,a=0,o=0,c={width:0,height:0},l=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(s*this.chartConfig.plotReservedSpacePercent/100),g=this.componentStore.plot.calculateSpace({width:l,height:f});if(e-=g.width,s-=g.height,g=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:s}),n=g.height,s-=g.height,this.componentStore.xAxis.setAxisPosition("left"),g=this.componentStore.xAxis.calculateSpace({width:e,height:s}),e-=g.width,a=g.width,this.componentStore.yAxis.setAxisPosition("top"),g=this.componentStore.yAxis.calculateSpace({width:e,height:s}),s-=g.height,o=n+g.height,c=this.componentStore.legend.calculateSpace({width:e,height:f}),e-=c.width,e>0)l+=e,e=0;if(s>0)f+=s,s=0;if(this.componentStore.plot.calculateSpace({width:l,height:f}),this.componentStore.plot.setBoundingBoxXY({x:a,y:o}),this.componentStore.title.alignTo(a,a+l),this.componentStore.legend.setBoundingBoxXY({x:a+l,y:o+Math.max((f-c.height)/2,0)}),this.componentStore.yAxis.setRange([a,a+l]),this.componentStore.yAxis.setBoundingBoxXY({x:a,y:n}),this.componentStore.xAxis.setRange([o,o+f]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:o}),this.chartData.plots.some((b)=>kt(b)))this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){if(this.chartConfig.chartOrientation==="horizontal")this.calculateHorizontalSpace();else this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let s of Object.values(this.componentStore))e.push(...s.getDrawableElements());return e}},Le=class{static{t(this,"XYChartBuilder")}static build(e,s,n,a){return new Pe(e,s,n,a).getDrawableElement()}},ft=0,ee,pt=Ot(),mt=zt(),y=Vt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1;function zt(){let e=tt(),s=S();return Z(e.xyChart,s.themeVariables.xyChart)}t(zt,"getChartDefaultThemeConfig");function Ot(){let e=S();return Z(z.xyChart,e.xyChart)}t(Ot,"getChartDefaultConfig");function Vt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}t(Vt,"getChartDefaultData");function ct(e){let s=S();return G(e.trim(),s)}t(ct,"textSanitizer");function ie(e){ee=e}t(ie,"setTmpSVGG");function se(e){if(e==="horizontal")pt.chartOrientation="horizontal";else pt.chartOrientation="vertical"}t(se,"setOrientation");function ne(e){y.xAxis.title=ct(e.text)}t(ne,"setXAxisTitle");function Wt(e,s){y.xAxis={type:"linear",title:y.xAxis.title,min:e,max:s},Ct=!0}t(Wt,"setXAxisRangeData");function ae(e){y.xAxis={type:"band",title:y.xAxis.title,categories:e.map((s)=>ct(s.text))},Ct=!0}t(ae,"setXAxisBand");function oe(e){y.yAxis.title=ct(e.text)}t(oe,"setYAxisTitle");function re(e,s){y.yAxis={type:"linear",title:y.yAxis.title,min:e,max:s},Bt=!0}t(re,"setYAxisRangeData");function he(e){let s=Math.min(...e),n=Math.max(...e),a=dt(y.yAxis)?y.yAxis.min:1/0,o=dt(y.yAxis)?y.yAxis.max:-1/0;y.yAxis={type:"linear",title:y.yAxis.title,min:Math.min(a,s),max:Math.max(o,n)}}t(he,"setYAxisRangeFromPlotData");function Ft(e){let s=[];if(e.length===0)return s;if(!Ct){let n=dt(y.xAxis)?y.xAxis.min:1/0,a=dt(y.xAxis)?y.xAxis.max:-1/0;Wt(Math.min(n,1),Math.max(a,e.length))}if(At(y.xAxis)&&e.length>y.xAxis.categories.length)e=e.slice(0,y.xAxis.categories.length);if(!Bt)he(e);if(At(y.xAxis))s=y.xAxis.categories.map((n,a)=>[n,e[a]]);if(dt(y.xAxis)){let n=y.xAxis.min,a=y.xAxis.max;if(e.length===1)s=[[`${n}`,e[0]]];else{let o=(a-n)/(e.length-1);s=e.map((c,l)=>[`${n+l*o}`,c])}}return s}t(Ft,"transformDataWithoutCategory");function Xt(e){return Mt[e===0?0:e%Mt.length]}t(Xt,"getPlotColorFromPalette");function le(e,s){let n=s.map((l)=>l.value),a=s.map((l)=>l.label?ct(l.label):""),o=Ft(n),c=a.some((l)=>l!=="");y.plots.push({type:"line",title:ct(e.text),strokeFill:Xt(ft),strokeWidth:2,data:o,...c?{pointLabels:a}:{}}),ft++}t(le,"setLineData");function ce(e,s){let n=s.map((o)=>o.value),a=Ft(n);y.plots.push({type:"bar",title:ct(e.text),fill:Xt(ft),data:a}),ft++}t(ce,"setBarData");function ge(){if(y.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return y.title=D(),Le.build(pt,y,mt,ee)}t(ge,"getDrawableElem");function ue(){return mt}t(ue,"getChartThemeConfig");function de(){return pt}t(de,"getChartConfig");function xe(){return y}t(xe,"getXYChartData");var Ee=t(function(){L(),ft=0,pt=Ot(),y=Vt(),mt=zt(),Mt=mt.plotColorPalette.split(",").map((e)=>e.trim()),Ct=!1,Bt=!1},"clear"),Me={getDrawableElem:ge,clear:Ee,setAccTitle:M,getAccTitle:P,setDiagramTitle:B,getDiagramTitle:D,getAccDescription:I,setAccDescription:R,setOrientation:se,setXAxisTitle:ne,setXAxisRangeData:Wt,setXAxisBand:ae,setYAxisTitle:oe,setYAxisRangeData:re,setLineData:le,setBarData:ce,setTmpSVGG:ie,getChartThemeConfig:ue,getChartConfig:de,getXYChartData:xe},Ie=t((e,s,n,a)=>{let o=a.db,c=o.getChartThemeConfig(),l=o.getChartConfig(),f=o.getXYChartData().plots[0].data.map((k)=>k[1]);function g(k){return k==="top"?"text-before-edge":"middle"}t(g,"getDominantBaseLine");function b(k){return k==="left"?"start":k==="right"?"end":"middle"}t(b,"getTextAnchor");function v(k){return`translate(${k.x}, ${k.y}) rotate(${k.rotation||0})`}t(v,"getTextTransformation"),i.debug(`Rendering xychart chart
|
|
7
|
+
`+e);let _=te(s),w=_.append("g").attr("class","main"),H=w.append("rect").attr("width",l.width).attr("height",l.height).attr("class","background");Y(_,l.height,l.width,!0),_.attr("viewBox",`0 0 ${l.width} ${l.height}`),H.attr("fill",c.backgroundColor),o.setTmpSVGG(_.append("g").attr("class","mermaid-tmp-group"));let W=o.getDrawableElem(),F={};function U(k){let j=w,d="";for(let[q]of k.entries()){let Q=w;if(q>0&&F[d])Q=F[d];if(d+=k[q],j=F[d],!j)j=F[d]=Q.append("g").attr("class",k[q])}return j}t(U,"getGroup");for(let k of W){if(k.data.length===0)continue;let j=U(k.groupTexts);switch(k.type){case"rect":if(j.selectAll("rect").data(k.data).enter().append("rect").attr("x",(d)=>d.x).attr("y",(d)=>d.y).attr("width",(d)=>d.width).attr("height",(d)=>d.height).attr("fill",(d)=>d.fill).attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth),l.showDataLabel){let d=l.showDataLabelOutsideBar;if(l.chartOrientation==="horizontal"){let q=function(A,st){let{data:E,label:K}=A;return st*K.length*Q<=E.width-C};var it=q;t(q,"fitsHorizontally");let Q=0.7,C=10,ot=k.data.map((A,st)=>({data:A,label:f[st].toString()})).filter((A)=>A.data.width>0&&A.data.height>0),X=ot.map((A)=>{let{data:st}=A,E=st.height*0.7;while(!q(A,E)&&E>0)E-=1;return E}),gt=Math.floor(Math.min(...X)),O=t((A)=>{if(d)return A.data.x+A.data.width+C;else return A.data.x+A.data.width-C},"determineLabelXPosition");j.selectAll("text").data(ot).enter().append("text").attr("x",O).attr("y",(A)=>A.data.y+A.data.height/2).attr("text-anchor",d?"start":"end").attr("dominant-baseline","middle").attr("fill",c.dataLabelColor).attr("font-size",`${gt}px`).text((A)=>A.label)}else{let q=function(O,A,st){let{data:E,label:K}=O,h=0.7,u=A*K.length*0.7,x=E.x+E.width/2,p=x-u/2,T=x+u/2,r=p>=E.x&&T<=E.x+E.width,rt=E.y+st+A<=E.y+E.height;return r&&rt};var nt=q;t(q,"fitsInBar");let Q=10,C=k.data.map((O,A)=>({data:O,label:f[A].toString()})).filter((O)=>O.data.width>0&&O.data.height>0),ot=C.map((O)=>{let{data:A,label:st}=O,E=A.width/(st.length*0.7);while(!q(O,E,Q)&&E>0)E-=1;return E}),X=Math.floor(Math.min(...ot)),gt=t((O)=>{if(d)return O.data.y-Q;else return O.data.y+Q},"determineLabelYPosition");j.selectAll("text").data(C).enter().append("text").attr("x",(O)=>O.data.x+O.data.width/2).attr("y",gt).attr("text-anchor","middle").attr("dominant-baseline",d?"auto":"hanging").attr("fill",c.dataLabelColor).attr("font-size",`${X}px`).text((O)=>O.label)}}break;case"text":j.selectAll("text").data(k.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",(d)=>d.fill).attr("font-size",(d)=>d.fontSize).attr("dominant-baseline",(d)=>g(d.verticalPos)).attr("text-anchor",(d)=>b(d.horizontalPos)).attr("transform",(d)=>v(d)).text((d)=>d.text);break;case"path":j.selectAll("path").data(k.data).enter().append("path").attr("d",(d)=>d.path).attr("fill",(d)=>d.fill?d.fill:"none").attr("stroke",(d)=>d.strokeFill).attr("stroke-width",(d)=>d.strokeWidth);break}}},"draw"),Be={draw:Ie},Ze={parser:ye,db:Me,renderer:Be};export{Ze as diagram};
|
|
Binary file
|
|
Binary file
|