@bkm016/basalt 0.1.33 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/chunk-0tr0cc6f.js +3 -0
- package/chunk-1f0mnggp.js +3 -0
- package/chunk-1ntcq7ed.js +2 -0
- package/chunk-1xkxfddg.js +286 -0
- package/chunk-1zz6akcm.js +3 -0
- package/chunk-2cd3qzny.js +3 -0
- package/chunk-2sbmy31t.js +2 -0
- package/chunk-32s6agaj.js +2 -0
- package/chunk-37n62c4c.js +3 -0
- package/chunk-3w2902kg.js +9 -0
- package/chunk-43q7hq53.js +2 -0
- package/chunk-4ewh67qf.js +25 -0
- package/chunk-5277mfp2.js +44 -0
- package/chunk-6f1zc4g6.js +2 -0
- package/chunk-6r4kw9x9.js +60 -0
- package/chunk-7qaavsga.js +2 -0
- package/chunk-88s6d1bz.js +3 -0
- package/chunk-9jw0km9r.js +13 -0
- package/chunk-a3h0mng1.js +8 -0
- package/chunk-acmtkg1q.js +20 -0
- package/chunk-adn9jbzj.js +2 -0
- package/chunk-anfhjdgv.js +2 -0
- package/chunk-apn5amfe.js +498 -0
- package/chunk-bsp6e8cv.js +2 -0
- package/chunk-bw2h35jd.js +2 -0
- package/chunk-bwx9m3ex.js +51 -0
- package/chunk-cezgvpja.js +3 -0
- package/chunk-cfhtmr6g.js +31 -0
- package/chunk-d5w3ntc3.js +7 -0
- package/chunk-dtks8c7v.js +2 -0
- package/chunk-e01g2yf9.js +3 -0
- package/chunk-e1rfd7jn.js +3 -0
- package/chunk-e8ehznx7.js +2 -0
- package/chunk-edp0svhf.js +3 -0
- package/chunk-evaew46c.js +2 -0
- package/chunk-ewhpfrgj.js +3 -0
- package/chunk-f7q6p7tp.js +7 -0
- package/chunk-fm482h25.js +3 -0
- package/chunk-g3j6jdht.js +39 -0
- package/chunk-gejre6z5.js +7 -0
- package/chunk-gz5ssvjh.js +3 -0
- package/chunk-h32ca6cs.js +11 -0
- package/chunk-hab25nd9.js +3 -0
- package/chunk-jbfkv490.js +8 -0
- package/chunk-jem2kqdt.js +3 -0
- package/chunk-jrwezx0r.js +16 -0
- package/chunk-ka5dtn3w.js +3 -0
- package/chunk-kxmws6zx.js +4068 -0
- package/chunk-m0gk2b1f.js +3 -0
- package/chunk-mekgrca0.js +25 -0
- package/chunk-mkp20bwr.js +2 -0
- package/chunk-n4qxf40m.js +2 -0
- package/chunk-n9r9zzr4.js +59 -0
- package/chunk-ndca35jt.js +5 -0
- package/chunk-ng9vq9hy.js +2 -0
- package/chunk-nx1997s8.js +2 -0
- package/chunk-p99dt6kf.js +12 -0
- package/chunk-pnctvz58.js +3 -0
- package/chunk-ppgn9exm.js +2 -0
- package/chunk-pqq5znyp.js +2 -0
- package/chunk-q2429jd1.js +3 -0
- package/chunk-q3nmdtk4.js +3 -0
- package/chunk-q4r4nger.js +3 -0
- package/chunk-q6gq7g7m.js +4 -0
- package/chunk-qnejy3qp.js +2 -0
- package/chunk-sj0fqgjf.js +10 -0
- package/chunk-t5y3dqv3.js +3 -0
- package/chunk-t6vw73nv.js +2 -0
- package/chunk-t9zpdekw.js +5 -0
- package/chunk-v0xs5sy0.js +2 -0
- package/chunk-v8v2exqg.js +2 -0
- package/chunk-wgff8n0r.js +2 -0
- package/chunk-wpv679r1.js +3 -0
- package/chunk-wrw806wb.js +3 -0
- package/chunk-wsby70ce.js +12 -0
- package/chunk-xdbgpht7.js +2 -0
- package/chunk-y1b98tfk.js +5 -0
- package/chunk-y3m3w19s.js +3 -0
- package/chunk-y5p5jq48.js +63 -0
- package/chunk-ynf5sz68.js +10 -0
- package/chunk-zfk9az7y.js +5 -0
- package/chunk-zwse6b6t.js +18 -0
- package/compiled.js +9 -9
- package/package.json +1 -1
- package/ui-test-worker.js +24 -24
- package/web/chunk-016nkjwe.js +2 -0
- package/web/chunk-016nkjwe.js.br +0 -0
- package/web/chunk-016nkjwe.js.gz +0 -0
- package/web/chunk-0er8vdaw.js +2 -0
- package/web/chunk-0er8vdaw.js.br +0 -0
- package/web/chunk-0er8vdaw.js.gz +0 -0
- package/web/chunk-0sq0ed2h.js +12 -0
- package/web/chunk-0sq0ed2h.js.br +0 -0
- package/web/chunk-0sq0ed2h.js.gz +0 -0
- package/web/chunk-0w8swe64.js +2 -0
- package/web/chunk-0w8swe64.js.br +0 -0
- package/web/chunk-0w8swe64.js.gz +0 -0
- package/web/chunk-15pxdcz7.js +1 -0
- package/web/chunk-15pxdcz7.js.br +0 -0
- package/web/chunk-15pxdcz7.js.gz +0 -0
- package/web/chunk-1a1w9rth.js +4 -0
- package/web/chunk-1a1w9rth.js.br +0 -0
- package/web/chunk-1a1w9rth.js.gz +0 -0
- package/web/chunk-1e8tsn4c.js +1 -0
- package/web/chunk-1e8tsn4c.js.br +0 -0
- package/web/chunk-1e8tsn4c.js.gz +0 -0
- package/web/chunk-1jwp193e.js +78 -0
- package/web/chunk-1jwp193e.js.br +0 -0
- package/web/chunk-1jwp193e.js.gz +0 -0
- package/web/chunk-1wz0tepc.js +106 -0
- package/web/chunk-1wz0tepc.js.br +0 -0
- package/web/chunk-1wz0tepc.js.gz +0 -0
- package/web/chunk-213m58wn.js +1 -0
- package/web/chunk-213m58wn.js.br +0 -0
- package/web/chunk-213m58wn.js.gz +0 -0
- package/web/chunk-2hat8cth.js +1 -0
- package/web/chunk-2hat8cth.js.br +0 -0
- package/web/chunk-2hat8cth.js.gz +0 -0
- package/web/chunk-3dj31vfh.js +292 -0
- package/web/chunk-3dj31vfh.js.br +0 -0
- package/web/chunk-3dj31vfh.js.gz +0 -0
- package/web/chunk-3g7waf75.js +70 -0
- package/web/chunk-3g7waf75.js.br +0 -0
- package/web/chunk-3g7waf75.js.gz +0 -0
- package/web/chunk-3x1zg1hk.js +1 -0
- package/web/chunk-3x1zg1hk.js.br +0 -0
- package/web/chunk-3x1zg1hk.js.gz +0 -0
- package/web/chunk-416ts17x.js +2 -0
- package/web/chunk-416ts17x.js.br +0 -0
- package/web/chunk-416ts17x.js.gz +0 -0
- package/web/chunk-47qwqp4f.js +7 -0
- package/web/chunk-47qwqp4f.js.br +0 -0
- package/web/chunk-47qwqp4f.js.gz +0 -0
- package/web/chunk-4k4c2se1.js +2 -0
- package/web/chunk-4k4c2se1.js.br +0 -0
- package/web/chunk-4k4c2se1.js.gz +0 -0
- package/web/chunk-4vsg8d4c.js +4 -0
- package/web/chunk-4vsg8d4c.js.br +0 -0
- package/web/chunk-4vsg8d4c.js.gz +0 -0
- package/web/chunk-53ag9hyw.js +40 -0
- package/web/chunk-53ag9hyw.js.br +0 -0
- package/web/chunk-53ag9hyw.js.gz +0 -0
- package/web/chunk-55phnzd7.js +1 -0
- package/web/chunk-55phnzd7.js.br +0 -0
- package/web/chunk-55phnzd7.js.gz +0 -0
- package/web/chunk-56a6njsk.js +1 -0
- package/web/chunk-56a6njsk.js.br +0 -0
- package/web/chunk-56a6njsk.js.gz +0 -0
- package/web/chunk-5hvs5kyx.js +1 -0
- package/web/chunk-5hvs5kyx.js.br +0 -0
- package/web/chunk-5hvs5kyx.js.gz +0 -0
- package/web/chunk-5nbyvd4t.js +1 -0
- package/web/chunk-5nbyvd4t.js.br +0 -0
- package/web/chunk-5nbyvd4t.js.gz +0 -0
- package/web/chunk-6dr6eazd.js +2 -0
- package/web/chunk-6dr6eazd.js.br +0 -0
- package/web/chunk-6dr6eazd.js.gz +0 -0
- package/web/chunk-6nkegqxk.js +139 -0
- package/web/chunk-6nkegqxk.js.br +0 -0
- package/web/chunk-6nkegqxk.js.gz +0 -0
- package/web/chunk-6ypf5nq6.js +140 -0
- package/web/chunk-6ypf5nq6.js.br +0 -0
- package/web/chunk-6ypf5nq6.js.gz +0 -0
- package/web/chunk-70kws32b.js +2 -0
- package/web/chunk-70kws32b.js.br +0 -0
- package/web/chunk-70kws32b.js.gz +0 -0
- package/web/chunk-71tshjjr.js +16 -0
- package/web/chunk-71tshjjr.js.br +0 -0
- package/web/chunk-71tshjjr.js.gz +0 -0
- package/web/chunk-7fh9k75p.js +1 -0
- package/web/chunk-7fh9k75p.js.br +0 -0
- package/web/chunk-7fh9k75p.js.gz +0 -0
- package/web/chunk-7k8azd8z.js +1 -0
- package/web/chunk-7k8azd8z.js.br +0 -0
- package/web/chunk-7k8azd8z.js.gz +0 -0
- package/web/chunk-7mmebce4.js +1 -0
- package/web/chunk-7mmebce4.js.br +0 -0
- package/web/chunk-7mmebce4.js.gz +0 -0
- package/web/chunk-7mwghj09.js +89 -0
- package/web/chunk-7mwghj09.js.br +0 -0
- package/web/chunk-7mwghj09.js.gz +0 -0
- package/web/chunk-7y5kr56m.js +1 -0
- package/web/chunk-7y5kr56m.js.br +0 -0
- package/web/chunk-7y5kr56m.js.gz +0 -0
- package/web/chunk-8esqhp64.js +1 -0
- package/web/chunk-8esqhp64.js.br +0 -0
- package/web/chunk-8esqhp64.js.gz +0 -0
- package/web/chunk-8gxgpr3n.js +214 -0
- package/web/chunk-8gxgpr3n.js.br +0 -0
- package/web/chunk-8gxgpr3n.js.gz +0 -0
- package/web/chunk-8vnmk3y7.js +1 -0
- package/web/chunk-8vnmk3y7.js.br +0 -0
- package/web/chunk-8vnmk3y7.js.gz +0 -0
- package/web/chunk-99r862t8.js +30 -0
- package/web/chunk-99r862t8.js.br +0 -0
- package/web/chunk-99r862t8.js.gz +0 -0
- package/web/chunk-9cznsyf4.js +7 -0
- package/web/chunk-9cznsyf4.js.br +0 -0
- package/web/chunk-9cznsyf4.js.gz +0 -0
- package/web/chunk-9hmw91e9.js +1 -0
- package/web/chunk-9hmw91e9.js.br +0 -0
- package/web/chunk-9hmw91e9.js.gz +0 -0
- package/web/chunk-9pyad3tv.js +1 -0
- package/web/chunk-9pyad3tv.js.br +0 -0
- package/web/chunk-9pyad3tv.js.gz +0 -0
- package/web/chunk-9rf2smk2.js +1142 -0
- package/web/chunk-9rf2smk2.js.br +0 -0
- package/web/chunk-9rf2smk2.js.gz +0 -0
- package/web/chunk-aaz4msca.js +89 -0
- package/web/chunk-aaz4msca.js.br +0 -0
- package/web/chunk-aaz4msca.js.gz +0 -0
- package/web/chunk-ag0ng2nt.js +24 -0
- package/web/chunk-ag0ng2nt.js.br +0 -0
- package/web/chunk-ag0ng2nt.js.gz +0 -0
- package/web/chunk-an9b0mhe.js +55 -0
- package/web/chunk-an9b0mhe.js.br +0 -0
- package/web/chunk-an9b0mhe.js.gz +0 -0
- package/web/chunk-apgvrfc2.js +41 -0
- package/web/chunk-apgvrfc2.js.br +0 -0
- package/web/chunk-apgvrfc2.js.gz +0 -0
- package/web/chunk-aq09zt1h.js +332 -0
- package/web/chunk-aq09zt1h.js.br +0 -0
- package/web/chunk-aq09zt1h.js.gz +0 -0
- package/web/chunk-ayy6rwm5.js +1 -0
- package/web/chunk-ayy6rwm5.js.br +0 -0
- package/web/chunk-ayy6rwm5.js.gz +0 -0
- package/web/chunk-azhw80d1.js +1 -0
- package/web/chunk-azhw80d1.js.br +0 -0
- package/web/chunk-azhw80d1.js.gz +0 -0
- package/web/chunk-b4bty1ns.js +8 -0
- package/web/chunk-b4bty1ns.js.br +1 -0
- package/web/chunk-b4bty1ns.js.gz +0 -0
- package/web/chunk-bs9934z7.js +200 -0
- package/web/chunk-bs9934z7.js.br +0 -0
- package/web/chunk-bs9934z7.js.gz +0 -0
- package/web/chunk-c9nwfxrp.js +1 -0
- package/web/chunk-c9nwfxrp.js.br +0 -0
- package/web/chunk-c9nwfxrp.js.gz +0 -0
- package/web/chunk-capfyqch.js +1 -0
- package/web/chunk-capfyqch.js.br +0 -0
- package/web/chunk-capfyqch.js.gz +0 -0
- package/web/chunk-ckev38zc.js +36 -0
- package/web/chunk-ckev38zc.js.br +0 -0
- package/web/chunk-ckev38zc.js.gz +0 -0
- package/web/chunk-cnkerjp4.js +370 -0
- package/web/chunk-cnkerjp4.js.br +0 -0
- package/web/chunk-cnkerjp4.js.gz +0 -0
- package/web/chunk-d3bgcz6q.js +1 -0
- package/web/chunk-d3bgcz6q.js.br +0 -0
- package/web/chunk-d3bgcz6q.js.gz +0 -0
- package/web/chunk-d5xqtvb1.js +2 -0
- package/web/chunk-d5xqtvb1.js.br +0 -0
- package/web/chunk-d5xqtvb1.js.gz +0 -0
- package/web/chunk-daqfnvaw.js +1 -0
- package/web/chunk-daqfnvaw.js.br +0 -0
- package/web/chunk-daqfnvaw.js.gz +0 -0
- package/web/chunk-dqz580pg.js +1 -0
- package/web/chunk-dqz580pg.js.br +0 -0
- package/web/chunk-dqz580pg.js.gz +0 -0
- package/web/chunk-e54b48p5.js +2 -0
- package/web/chunk-e54b48p5.js.br +0 -0
- package/web/chunk-e54b48p5.js.gz +0 -0
- package/web/chunk-e8bgrjps.js +2 -0
- package/web/chunk-e8bgrjps.js.br +0 -0
- package/web/chunk-e8bgrjps.js.gz +0 -0
- package/web/chunk-efdg5mjf.js +217 -0
- package/web/chunk-efdg5mjf.js.br +0 -0
- package/web/chunk-efdg5mjf.js.gz +0 -0
- package/web/chunk-efhyygba.js +7 -0
- package/web/chunk-efhyygba.js.br +0 -0
- package/web/chunk-efhyygba.js.gz +0 -0
- package/web/chunk-eq0vm9vw.js +2 -0
- package/web/chunk-eq0vm9vw.js.br +0 -0
- package/web/chunk-eq0vm9vw.js.gz +0 -0
- package/web/chunk-eznkbqms.js +1 -0
- package/web/chunk-eznkbqms.js.br +0 -0
- package/web/chunk-eznkbqms.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-fnzyprme.js +142 -0
- package/web/chunk-fnzyprme.js.br +0 -0
- package/web/chunk-fnzyprme.js.gz +0 -0
- package/web/chunk-g63m3g5y.js +1 -0
- package/web/chunk-g63m3g5y.js.br +2 -0
- package/web/chunk-g63m3g5y.js.gz +0 -0
- package/web/chunk-g6gb3wz7.js +1 -0
- package/web/chunk-g6gb3wz7.js.br +2 -0
- package/web/chunk-g6gb3wz7.js.gz +0 -0
- package/web/chunk-g7ec62te.js +2 -0
- package/web/chunk-g7ec62te.js.br +0 -0
- package/web/chunk-g7ec62te.js.gz +0 -0
- package/web/chunk-gkj2bbdx.js +1 -0
- package/web/chunk-gkj2bbdx.js.br +0 -0
- package/web/chunk-gkj2bbdx.js.gz +0 -0
- package/web/chunk-gnx30bed.css +1 -0
- package/web/chunk-gnx30bed.css.br +0 -0
- package/web/chunk-gnx30bed.css.gz +0 -0
- package/web/chunk-h391pq6j.js +1 -0
- package/web/chunk-h391pq6j.js.br +0 -0
- package/web/chunk-h391pq6j.js.gz +0 -0
- package/web/chunk-h3kdr5mz.js +21 -0
- package/web/chunk-h3kdr5mz.js.br +0 -0
- package/web/chunk-h3kdr5mz.js.gz +0 -0
- package/web/chunk-hjs5pyye.js +1 -0
- package/web/chunk-hjs5pyye.js.br +0 -0
- package/web/chunk-hjs5pyye.js.gz +0 -0
- package/web/chunk-hxgtek0e.js +2 -0
- package/web/chunk-hxgtek0e.js.br +0 -0
- package/web/chunk-hxgtek0e.js.gz +0 -0
- package/web/chunk-j5a3jhp0.js +120 -0
- package/web/chunk-j5a3jhp0.js.br +0 -0
- package/web/chunk-j5a3jhp0.js.gz +0 -0
- package/web/chunk-jgdways6.js +39 -0
- package/web/chunk-jgdways6.js.br +0 -0
- package/web/chunk-jgdways6.js.gz +0 -0
- package/web/chunk-jybmjakj.js +1 -0
- package/web/chunk-jybmjakj.js.br +2 -0
- package/web/chunk-jybmjakj.js.gz +0 -0
- package/web/chunk-kasv56qe.js +303 -0
- package/web/chunk-kasv56qe.js.br +0 -0
- package/web/chunk-kasv56qe.js.gz +0 -0
- package/web/chunk-kmhbkjqx.js +2 -0
- package/web/chunk-kmhbkjqx.js.br +0 -0
- package/web/chunk-kmhbkjqx.js.gz +0 -0
- package/web/chunk-m06zdhdz.js +1 -0
- package/web/chunk-m06zdhdz.js.br +0 -0
- package/web/chunk-m06zdhdz.js.gz +0 -0
- package/web/chunk-mrnnq8dv.js +1 -0
- package/web/chunk-mrnnq8dv.js.br +0 -0
- package/web/chunk-mrnnq8dv.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-n0tehchs.js +3 -0
- package/web/chunk-n0tehchs.js.br +0 -0
- package/web/chunk-n0tehchs.js.gz +0 -0
- package/web/chunk-n449ebhn.js +38 -0
- package/web/chunk-n449ebhn.js.br +0 -0
- package/web/chunk-n449ebhn.js.gz +0 -0
- package/web/chunk-ngy730n0.js +1 -0
- package/web/chunk-ngy730n0.js.br +0 -0
- package/web/chunk-ngy730n0.js.gz +0 -0
- package/web/chunk-nj9dtqyd.js +2 -0
- package/web/chunk-nj9dtqyd.js.br +0 -0
- package/web/chunk-nj9dtqyd.js.gz +0 -0
- package/web/chunk-nzaq0yae.js +2 -0
- package/web/chunk-nzaq0yae.js.br +0 -0
- package/web/chunk-nzaq0yae.js.gz +0 -0
- package/web/chunk-pgnfj8ea.js +2 -0
- package/web/chunk-pgnfj8ea.js.br +0 -0
- package/web/chunk-pgnfj8ea.js.gz +0 -0
- package/web/chunk-qtgen5c5.js +24 -0
- package/web/chunk-qtgen5c5.js.br +0 -0
- package/web/chunk-qtgen5c5.js.gz +0 -0
- package/web/chunk-qzn05afn.js +169 -0
- package/web/chunk-qzn05afn.js.br +0 -0
- package/web/chunk-qzn05afn.js.gz +0 -0
- package/web/chunk-sgy3c5m7.js +62 -0
- package/web/chunk-sgy3c5m7.js.br +0 -0
- package/web/chunk-sgy3c5m7.js.gz +0 -0
- package/web/chunk-t7s9xrxt.js +34 -0
- package/web/chunk-t7s9xrxt.js.br +0 -0
- package/web/chunk-t7s9xrxt.js.gz +0 -0
- package/web/chunk-tmf1jnqz.js +2 -0
- package/web/chunk-tmf1jnqz.js.br +0 -0
- package/web/chunk-tmf1jnqz.js.gz +0 -0
- package/web/chunk-v95eqx92.js +84 -0
- package/web/chunk-v95eqx92.js.br +0 -0
- package/web/chunk-v95eqx92.js.gz +0 -0
- package/web/chunk-vcj5m1xb.js +1 -0
- package/web/chunk-vcj5m1xb.js.br +0 -0
- package/web/chunk-vcj5m1xb.js.gz +0 -0
- package/web/chunk-vq0zf16h.js +1 -0
- package/web/chunk-vq0zf16h.js.br +0 -0
- package/web/chunk-vq0zf16h.js.gz +0 -0
- package/web/chunk-vqhtph6r.js +1 -0
- package/web/chunk-vqhtph6r.js.br +0 -0
- package/web/chunk-vqhtph6r.js.gz +0 -0
- package/web/chunk-vz2mgxs7.js +1 -0
- package/web/chunk-vz2mgxs7.js.br +0 -0
- package/web/chunk-vz2mgxs7.js.gz +0 -0
- package/web/chunk-wry3q68j.js +1 -0
- package/web/chunk-wry3q68j.js.br +2 -0
- package/web/chunk-wry3q68j.js.gz +0 -0
- package/web/chunk-wrz0gqnv.js +1 -0
- package/web/chunk-wrz0gqnv.js.br +0 -0
- package/web/chunk-wrz0gqnv.js.gz +0 -0
- package/web/chunk-wvapb3r6.js +98 -0
- package/web/chunk-wvapb3r6.js.br +0 -0
- package/web/chunk-wvapb3r6.js.gz +0 -0
- package/web/chunk-x6qva9zc.js +324 -0
- package/web/chunk-x6qva9zc.js.br +0 -0
- package/web/chunk-x6qva9zc.js.gz +0 -0
- package/web/chunk-xa2ngtyg.js +2 -0
- package/web/chunk-xa2ngtyg.js.br +0 -0
- package/web/chunk-xa2ngtyg.js.gz +0 -0
- package/web/chunk-xhjf5ye0.js +1 -0
- package/web/chunk-xhjf5ye0.js.br +0 -0
- package/web/chunk-xhjf5ye0.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-xsjvamcy.js +1 -0
- package/web/chunk-xsjvamcy.js.br +0 -0
- package/web/chunk-xsjvamcy.js.gz +0 -0
- package/web/chunk-xyfnr395.js +1 -0
- package/web/chunk-xyfnr395.js.br +0 -0
- package/web/chunk-xyfnr395.js.gz +0 -0
- package/web/chunk-y4x1g94q.js +1 -0
- package/web/chunk-y4x1g94q.js.br +0 -0
- package/web/chunk-y4x1g94q.js.gz +0 -0
- package/web/chunk-yzbp4vpe.js +1 -0
- package/web/chunk-yzbp4vpe.js.br +0 -0
- package/web/chunk-yzbp4vpe.js.gz +0 -0
- package/web/chunk-z601k790.js +291 -0
- package/web/chunk-z601k790.js.br +0 -0
- package/web/chunk-z601k790.js.gz +0 -0
- package/web/chunk-zc9mxd01.js +99 -0
- package/web/chunk-zc9mxd01.js.br +0 -0
- package/web/chunk-zc9mxd01.js.gz +0 -0
- package/web/chunk-zm1jfkcz.js +2 -0
- package/web/chunk-zm1jfkcz.js.br +0 -0
- package/web/chunk-zm1jfkcz.js.gz +0 -0
- package/web/chunk-zz0d7377.js +2 -0
- package/web/chunk-zz0d7377.js.br +0 -0
- package/web/chunk-zz0d7377.js.gz +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-04326385.js +0 -39
- package/chunk-11zc1b2w.js +0 -3
- package/chunk-12203fgm.js +0 -2
- package/chunk-194d4z7x.js +0 -7
- package/chunk-1apm7p2e.js +0 -2
- package/chunk-2csz31nh.js +0 -2
- package/chunk-2rqpfv4h.js +0 -3
- package/chunk-39cfcar4.js +0 -3
- package/chunk-3j26jsy0.js +0 -51
- package/chunk-4a5xttdp.js +0 -3
- package/chunk-4st5xeee.js +0 -2
- package/chunk-5ggyf53b.js +0 -50
- package/chunk-5h17n6g1.js +0 -3
- package/chunk-5rn18vrq.js +0 -5
- package/chunk-5tdnvdmz.js +0 -2
- package/chunk-6qavr39k.js +0 -2
- package/chunk-6xn0r0dd.js +0 -3
- package/chunk-7h76jrss.js +0 -7
- package/chunk-7hss4hs3.js +0 -7
- package/chunk-7vdq0wye.js +0 -2
- package/chunk-7w187ycz.js +0 -10
- package/chunk-81s7mvf2.js +0 -16
- package/chunk-8j8acxde.js +0 -2
- package/chunk-9nfz04yr.js +0 -2
- package/chunk-9vth0w8q.js +0 -2
- package/chunk-9zcfam20.js +0 -2
- package/chunk-a6zvmsbh.js +0 -12
- package/chunk-anr8aghq.js +0 -59
- package/chunk-av8zh9yp.js +0 -2
- package/chunk-bwv97dtf.js +0 -2
- package/chunk-cjy4rssa.js +0 -10
- package/chunk-dmdyqq1k.js +0 -2
- package/chunk-dzvq7vt6.js +0 -2
- package/chunk-ejrksf6g.js +0 -3
- package/chunk-erxka5vh.js +0 -18
- package/chunk-fb2ydc2s.js +0 -8
- package/chunk-fc41dvhp.js +0 -12
- package/chunk-fdgrayj5.js +0 -3
- package/chunk-fwcqcecb.js +0 -8
- package/chunk-hhwnmhbb.js +0 -2
- package/chunk-hvxc1wyv.js +0 -3
- package/chunk-jm2bn5mq.js +0 -3
- package/chunk-jm5j5jfy.js +0 -3
- package/chunk-jqtdf0ym.js +0 -63
- package/chunk-jsvr3s4q.js +0 -5
- package/chunk-jwk5a5tk.js +0 -25
- package/chunk-mwc59w50.js +0 -31
- package/chunk-mypbpphn.js +0 -3
- package/chunk-n3hfhbe4.js +0 -498
- package/chunk-ng5ncy65.js +0 -2
- package/chunk-nkmvqcge.js +0 -4073
- package/chunk-nmvayfq3.js +0 -3
- package/chunk-nw4h0wm9.js +0 -2
- package/chunk-p23eqet9.js +0 -2
- package/chunk-pxsgm6ff.js +0 -2
- package/chunk-qqs9fqsy.js +0 -4
- package/chunk-r0gsb1qs.js +0 -3
- package/chunk-r49sxmnc.js +0 -3
- package/chunk-rbfpa63e.js +0 -3
- package/chunk-rsrh5dgx.js +0 -2
- package/chunk-s2pm97nk.js +0 -286
- package/chunk-s6tnmg6x.js +0 -3
- package/chunk-se548edt.js +0 -20
- package/chunk-tsdeeqb8.js +0 -3
- package/chunk-vnv3a6t2.js +0 -3
- package/chunk-vrsh8cx1.js +0 -3
- package/chunk-w3v8zahw.js +0 -2
- package/chunk-w6m8c4vf.js +0 -11
- package/chunk-wd7sj5cv.js +0 -2
- package/chunk-we8v9wkw.js +0 -9
- package/chunk-x055cas0.js +0 -5
- package/chunk-x5vrtxkj.js +0 -3
- package/chunk-x83syrhw.js +0 -44
- package/chunk-xedzsj31.js +0 -5
- package/chunk-xp83v3zm.js +0 -2
- package/chunk-ykzm5g1b.js +0 -25
- package/chunk-yq2bwebb.js +0 -3
- package/chunk-yygcpnwc.js +0 -3
- package/chunk-zjf34acb.js +0 -2
- package/web/chunk-07kt1zpn.js +0 -1
- package/web/chunk-07kt1zpn.js.br +0 -0
- package/web/chunk-07kt1zpn.js.gz +0 -0
- package/web/chunk-0d068bmj.js +0 -1
- package/web/chunk-0d068bmj.js.br +0 -0
- package/web/chunk-0d068bmj.js.gz +0 -0
- package/web/chunk-0m15ghn0.js +0 -2
- package/web/chunk-0m15ghn0.js.br +0 -0
- package/web/chunk-0m15ghn0.js.gz +0 -0
- package/web/chunk-0swykhgr.js +0 -2
- package/web/chunk-0swykhgr.js.br +0 -0
- package/web/chunk-0swykhgr.js.gz +0 -0
- package/web/chunk-100a4th6.js +0 -4
- package/web/chunk-100a4th6.js.br +0 -0
- package/web/chunk-100a4th6.js.gz +0 -0
- package/web/chunk-1mdvm20t.js +0 -140
- package/web/chunk-1mdvm20t.js.br +0 -0
- package/web/chunk-1mdvm20t.js.gz +0 -0
- package/web/chunk-1mkzfr1m.js +0 -2
- package/web/chunk-1mkzfr1m.js.br +0 -0
- package/web/chunk-1mkzfr1m.js.gz +0 -0
- package/web/chunk-1p7wa1rq.js +0 -1
- package/web/chunk-1p7wa1rq.js.br +0 -0
- package/web/chunk-1p7wa1rq.js.gz +0 -0
- package/web/chunk-2grspw9t.js +0 -1
- package/web/chunk-2grspw9t.js.br +0 -0
- package/web/chunk-2grspw9t.js.gz +0 -0
- package/web/chunk-2zz8t49r.js +0 -1
- package/web/chunk-2zz8t49r.js.br +0 -0
- package/web/chunk-2zz8t49r.js.gz +0 -0
- package/web/chunk-34g2xrgq.js +0 -120
- package/web/chunk-34g2xrgq.js.br +0 -0
- package/web/chunk-34g2xrgq.js.gz +0 -0
- package/web/chunk-34q3az4b.js +0 -1
- package/web/chunk-34q3az4b.js.br +0 -0
- package/web/chunk-34q3az4b.js.gz +0 -0
- package/web/chunk-39jqdq4r.js +0 -1
- package/web/chunk-39jqdq4r.js.br +0 -0
- package/web/chunk-39jqdq4r.js.gz +0 -0
- package/web/chunk-3d2fm4qc.js +0 -1
- package/web/chunk-3d2fm4qc.js.br +0 -0
- package/web/chunk-3d2fm4qc.js.gz +0 -0
- package/web/chunk-3s16fbrf.js +0 -40
- package/web/chunk-3s16fbrf.js.br +0 -0
- package/web/chunk-3s16fbrf.js.gz +0 -0
- package/web/chunk-3vsey6mw.js +0 -1
- package/web/chunk-3vsey6mw.js.br +0 -0
- package/web/chunk-3vsey6mw.js.gz +0 -0
- package/web/chunk-3y29sc9c.js +0 -7
- package/web/chunk-3y29sc9c.js.br +0 -0
- package/web/chunk-3y29sc9c.js.gz +0 -0
- package/web/chunk-40f59ze9.js +0 -39
- package/web/chunk-40f59ze9.js.br +0 -0
- package/web/chunk-40f59ze9.js.gz +0 -0
- package/web/chunk-495sjpc6.js +0 -2
- package/web/chunk-495sjpc6.js.br +0 -0
- package/web/chunk-495sjpc6.js.gz +0 -0
- package/web/chunk-4ab1dv3g.js +0 -142
- package/web/chunk-4ab1dv3g.js.br +0 -0
- package/web/chunk-4ab1dv3g.js.gz +0 -0
- package/web/chunk-58xhn7ry.js +0 -2
- package/web/chunk-58xhn7ry.js.br +0 -0
- package/web/chunk-58xhn7ry.js.gz +0 -0
- package/web/chunk-67pa4950.js +0 -1
- package/web/chunk-67pa4950.js.br +0 -0
- package/web/chunk-67pa4950.js.gz +0 -0
- package/web/chunk-6ana63fs.js +0 -21
- package/web/chunk-6ana63fs.js.br +0 -0
- package/web/chunk-6ana63fs.js.gz +0 -0
- package/web/chunk-6ew54553.js +0 -2
- package/web/chunk-6ew54553.js.br +0 -0
- package/web/chunk-6ew54553.js.gz +0 -0
- package/web/chunk-6f1q0tjv.js +0 -1142
- package/web/chunk-6f1q0tjv.js.br +0 -0
- package/web/chunk-6f1q0tjv.js.gz +0 -0
- package/web/chunk-6gpzz5wm.js +0 -1
- package/web/chunk-6gpzz5wm.js.br +0 -0
- package/web/chunk-6gpzz5wm.js.gz +0 -0
- package/web/chunk-71g6vrx9.js +0 -62
- package/web/chunk-71g6vrx9.js.br +0 -0
- package/web/chunk-71g6vrx9.js.gz +0 -0
- package/web/chunk-77dnqrb6.js +0 -2
- package/web/chunk-77dnqrb6.js.br +0 -0
- package/web/chunk-77dnqrb6.js.gz +0 -0
- package/web/chunk-7fdrwy21.js +0 -1
- package/web/chunk-7fdrwy21.js.br +0 -0
- package/web/chunk-7fdrwy21.js.gz +0 -0
- package/web/chunk-84s7821x.js +0 -2
- package/web/chunk-84s7821x.js.br +0 -0
- package/web/chunk-84s7821x.js.gz +0 -0
- package/web/chunk-8e5qd73v.js +0 -7
- package/web/chunk-8e5qd73v.js.br +0 -0
- package/web/chunk-8e5qd73v.js.gz +0 -0
- package/web/chunk-8kyj945c.js +0 -2
- package/web/chunk-8kyj945c.js.br +0 -0
- package/web/chunk-8kyj945c.js.gz +0 -0
- package/web/chunk-9b0evht1.js +0 -292
- package/web/chunk-9b0evht1.js.br +0 -0
- package/web/chunk-9b0evht1.js.gz +0 -0
- package/web/chunk-9jb5xwya.js +0 -36
- package/web/chunk-9jb5xwya.js.br +0 -0
- package/web/chunk-9jb5xwya.js.gz +0 -0
- package/web/chunk-9kf8arqg.js +0 -1
- package/web/chunk-9kf8arqg.js.br +0 -0
- package/web/chunk-9kf8arqg.js.gz +0 -0
- package/web/chunk-9msmea44.js +0 -70
- package/web/chunk-9msmea44.js.br +0 -0
- package/web/chunk-9msmea44.js.gz +0 -0
- package/web/chunk-a7q85665.js +0 -3
- package/web/chunk-a7q85665.js.br +0 -0
- package/web/chunk-a7q85665.js.gz +0 -0
- package/web/chunk-b9cjgxr1.js +0 -98
- package/web/chunk-b9cjgxr1.js.br +0 -0
- package/web/chunk-b9cjgxr1.js.gz +0 -0
- package/web/chunk-baaattjv.js +0 -2
- package/web/chunk-baaattjv.js.br +0 -0
- package/web/chunk-baaattjv.js.gz +0 -0
- package/web/chunk-bj9m08f9.js +0 -1
- package/web/chunk-bj9m08f9.js.br +0 -0
- package/web/chunk-bj9m08f9.js.gz +0 -0
- package/web/chunk-bm4fvq6q.js +0 -89
- package/web/chunk-bm4fvq6q.js.br +0 -0
- package/web/chunk-bm4fvq6q.js.gz +0 -0
- package/web/chunk-c4g2k9wp.js +0 -1
- package/web/chunk-c4g2k9wp.js.br +0 -0
- package/web/chunk-c4g2k9wp.js.gz +0 -0
- package/web/chunk-cnptxet3.js +0 -2
- package/web/chunk-cnptxet3.js.br +0 -0
- package/web/chunk-cnptxet3.js.gz +0 -0
- package/web/chunk-db2jge7w.js +0 -291
- package/web/chunk-db2jge7w.js.br +0 -0
- package/web/chunk-db2jge7w.js.gz +0 -0
- package/web/chunk-dfv95z6w.js +0 -1
- package/web/chunk-dfv95z6w.js.br +0 -0
- package/web/chunk-dfv95z6w.js.gz +0 -0
- package/web/chunk-dsxjv5an.js +0 -1
- package/web/chunk-dsxjv5an.js.br +0 -0
- package/web/chunk-dsxjv5an.js.gz +0 -0
- package/web/chunk-e362x35y.js +0 -1
- package/web/chunk-e362x35y.js.br +0 -0
- package/web/chunk-e362x35y.js.gz +0 -0
- package/web/chunk-e6jfnajp.js +0 -55
- package/web/chunk-e6jfnajp.js.br +0 -0
- package/web/chunk-e6jfnajp.js.gz +0 -0
- package/web/chunk-ex34kdxk.js +0 -217
- package/web/chunk-ex34kdxk.js.br +0 -0
- package/web/chunk-ex34kdxk.js.gz +0 -0
- package/web/chunk-exa2z1b4.js +0 -1
- package/web/chunk-exa2z1b4.js.br +0 -0
- package/web/chunk-exa2z1b4.js.gz +0 -0
- package/web/chunk-fjvd2dx2.js +0 -2
- package/web/chunk-fjvd2dx2.js.br +0 -0
- package/web/chunk-fjvd2dx2.js.gz +0 -0
- package/web/chunk-fs39pqet.js +0 -2
- package/web/chunk-fs39pqet.js.br +0 -0
- package/web/chunk-fs39pqet.js.gz +0 -0
- package/web/chunk-h3618s7t.js +0 -4
- package/web/chunk-h3618s7t.js.br +0 -0
- package/web/chunk-h3618s7t.js.gz +0 -0
- package/web/chunk-hks91ztk.js +0 -8
- package/web/chunk-hks91ztk.js.br +0 -0
- package/web/chunk-hks91ztk.js.gz +0 -0
- package/web/chunk-hqd97ez8.js +0 -200
- package/web/chunk-hqd97ez8.js.br +0 -0
- package/web/chunk-hqd97ez8.js.gz +0 -0
- package/web/chunk-hta68vm8.js +0 -2
- package/web/chunk-hta68vm8.js.br +0 -0
- package/web/chunk-hta68vm8.js.gz +0 -0
- package/web/chunk-jcbvhp3h.js +0 -1
- package/web/chunk-jcbvhp3h.js.br +0 -0
- package/web/chunk-jcbvhp3h.js.gz +0 -0
- package/web/chunk-jw6e38cy.js +0 -1
- package/web/chunk-jw6e38cy.js.br +0 -0
- package/web/chunk-jw6e38cy.js.gz +0 -0
- package/web/chunk-jzp1qd92.js +0 -1
- package/web/chunk-jzp1qd92.js.br +0 -0
- package/web/chunk-jzp1qd92.js.gz +0 -0
- package/web/chunk-kg39a24q.js +0 -16
- package/web/chunk-kg39a24q.js.br +0 -0
- package/web/chunk-kg39a24q.js.gz +0 -0
- package/web/chunk-kj75rme3.js +0 -1
- package/web/chunk-kj75rme3.js.br +0 -0
- package/web/chunk-kj75rme3.js.gz +0 -0
- package/web/chunk-kvxmwmen.js +0 -1
- package/web/chunk-kvxmwmen.js.br +0 -0
- package/web/chunk-kvxmwmen.js.gz +0 -0
- package/web/chunk-kzdmsaet.js +0 -1
- package/web/chunk-kzdmsaet.js.br +0 -0
- package/web/chunk-kzdmsaet.js.gz +0 -0
- package/web/chunk-m203pzza.js +0 -89
- package/web/chunk-m203pzza.js.br +0 -0
- package/web/chunk-m203pzza.js.gz +0 -0
- package/web/chunk-m3xw41vq.js +0 -1
- package/web/chunk-m3xw41vq.js.br +0 -0
- package/web/chunk-m3xw41vq.js.gz +0 -0
- package/web/chunk-m8jcx13t.js +0 -30
- package/web/chunk-m8jcx13t.js.br +0 -0
- package/web/chunk-m8jcx13t.js.gz +0 -0
- package/web/chunk-mpgz1bj6.js +0 -1
- package/web/chunk-mpgz1bj6.js.br +0 -0
- package/web/chunk-mpgz1bj6.js.gz +0 -0
- package/web/chunk-mzagmpq5.js +0 -1
- package/web/chunk-mzagmpq5.js.br +0 -0
- package/web/chunk-mzagmpq5.js.gz +0 -0
- package/web/chunk-n51q6d6e.js +0 -1
- package/web/chunk-n51q6d6e.js.br +0 -0
- package/web/chunk-n51q6d6e.js.gz +0 -0
- package/web/chunk-nbf2zaaj.js +0 -1
- package/web/chunk-nbf2zaaj.js.br +0 -0
- package/web/chunk-nbf2zaaj.js.gz +0 -0
- package/web/chunk-nxd7dn08.js +0 -1
- package/web/chunk-nxd7dn08.js.br +0 -0
- package/web/chunk-nxd7dn08.js.gz +0 -0
- package/web/chunk-p44ezwgh.js +0 -1
- package/web/chunk-p44ezwgh.js.br +0 -0
- package/web/chunk-p44ezwgh.js.gz +0 -0
- package/web/chunk-pdg3bxc0.js +0 -2
- package/web/chunk-pdg3bxc0.js.br +0 -0
- package/web/chunk-pdg3bxc0.js.gz +0 -0
- package/web/chunk-pjbp0xwn.css +0 -1
- package/web/chunk-pjbp0xwn.css.br +0 -0
- package/web/chunk-pjbp0xwn.css.gz +0 -0
- package/web/chunk-pkbyh261.js +0 -1
- package/web/chunk-pkbyh261.js.br +0 -0
- package/web/chunk-pkbyh261.js.gz +0 -0
- package/web/chunk-q3q25jr9.js +0 -324
- package/web/chunk-q3q25jr9.js.br +0 -0
- package/web/chunk-q3q25jr9.js.gz +0 -0
- package/web/chunk-q5nr5wjn.js +0 -169
- package/web/chunk-q5nr5wjn.js.br +0 -0
- package/web/chunk-q5nr5wjn.js.gz +0 -0
- package/web/chunk-qd9y8r3g.js +0 -84
- package/web/chunk-qd9y8r3g.js.br +0 -0
- package/web/chunk-qd9y8r3g.js.gz +0 -0
- package/web/chunk-qm039dan.js +0 -24
- package/web/chunk-qm039dan.js.br +0 -0
- package/web/chunk-qm039dan.js.gz +0 -0
- package/web/chunk-qqp31fyy.js +0 -1
- package/web/chunk-qqp31fyy.js.br +0 -0
- package/web/chunk-qqp31fyy.js.gz +0 -0
- package/web/chunk-rc3sv7v4.js +0 -1
- package/web/chunk-rc3sv7v4.js.br +0 -0
- package/web/chunk-rc3sv7v4.js.gz +0 -0
- package/web/chunk-rtk95qme.js +0 -1
- package/web/chunk-rtk95qme.js.br +0 -0
- package/web/chunk-rtk95qme.js.gz +0 -0
- package/web/chunk-s4rfkyqn.js +0 -12
- package/web/chunk-s4rfkyqn.js.br +0 -0
- package/web/chunk-s4rfkyqn.js.gz +0 -0
- package/web/chunk-s6a0gfv3.js +0 -34
- package/web/chunk-s6a0gfv3.js.br +0 -0
- package/web/chunk-s6a0gfv3.js.gz +0 -0
- package/web/chunk-s7rwbxr5.js +0 -2
- package/web/chunk-s7rwbxr5.js.br +0 -0
- package/web/chunk-s7rwbxr5.js.gz +0 -0
- package/web/chunk-s8f6v2nn.js +0 -1
- package/web/chunk-s8f6v2nn.js.br +0 -0
- package/web/chunk-s8f6v2nn.js.gz +0 -0
- package/web/chunk-sawc81kc.js +0 -303
- package/web/chunk-sawc81kc.js.br +0 -0
- package/web/chunk-sawc81kc.js.gz +0 -0
- package/web/chunk-sex2gevj.js +0 -2
- package/web/chunk-sex2gevj.js.br +0 -0
- package/web/chunk-sex2gevj.js.gz +0 -0
- package/web/chunk-smmdqmcy.js +0 -1
- package/web/chunk-smmdqmcy.js.br +0 -0
- package/web/chunk-smmdqmcy.js.gz +0 -0
- package/web/chunk-txhvq81f.js +0 -106
- package/web/chunk-txhvq81f.js.br +0 -0
- package/web/chunk-txhvq81f.js.gz +0 -0
- package/web/chunk-txtm71rz.js +0 -41
- package/web/chunk-txtm71rz.js.br +0 -0
- package/web/chunk-txtm71rz.js.gz +0 -0
- package/web/chunk-tykcqm6v.js +0 -2
- package/web/chunk-tykcqm6v.js.br +0 -0
- package/web/chunk-tykcqm6v.js.gz +0 -0
- package/web/chunk-tyrmd7j6.js +0 -1
- package/web/chunk-tyrmd7j6.js.br +0 -0
- package/web/chunk-tyrmd7j6.js.gz +0 -0
- package/web/chunk-v6ebn3sf.js +0 -38
- package/web/chunk-v6ebn3sf.js.br +0 -0
- package/web/chunk-v6ebn3sf.js.gz +0 -0
- package/web/chunk-vbx7t0h5.js +0 -214
- package/web/chunk-vbx7t0h5.js.br +0 -0
- package/web/chunk-vbx7t0h5.js.gz +0 -0
- package/web/chunk-vj3wz0a2.js +0 -1
- package/web/chunk-vj3wz0a2.js.br +0 -0
- package/web/chunk-vj3wz0a2.js.gz +0 -0
- package/web/chunk-vqgkd7q8.js +0 -1
- package/web/chunk-vqgkd7q8.js.br +0 -0
- package/web/chunk-vqgkd7q8.js.gz +0 -0
- package/web/chunk-w0k63gap.js +0 -2
- package/web/chunk-w0k63gap.js.br +0 -0
- package/web/chunk-w0k63gap.js.gz +0 -0
- package/web/chunk-wafwgky9.js +0 -1
- package/web/chunk-wafwgky9.js.br +0 -0
- package/web/chunk-wafwgky9.js.gz +0 -0
- package/web/chunk-wk89vrvf.js +0 -78
- package/web/chunk-wk89vrvf.js.br +0 -0
- package/web/chunk-wk89vrvf.js.gz +0 -0
- package/web/chunk-wqjn3yz1.js +0 -370
- package/web/chunk-wqjn3yz1.js.br +0 -0
- package/web/chunk-wqjn3yz1.js.gz +0 -0
- package/web/chunk-wrej9qt0.js +0 -2
- package/web/chunk-wrej9qt0.js.br +0 -0
- package/web/chunk-wrej9qt0.js.gz +0 -0
- package/web/chunk-xbjv549c.js +0 -2
- package/web/chunk-xbjv549c.js.br +0 -0
- package/web/chunk-xbjv549c.js.gz +0 -0
- package/web/chunk-xmp1ag6z.js +0 -2
- package/web/chunk-xmp1ag6z.js.br +0 -0
- package/web/chunk-xmp1ag6z.js.gz +0 -0
- package/web/chunk-xsqd38a2.js +0 -332
- package/web/chunk-xsqd38a2.js.br +0 -0
- package/web/chunk-xsqd38a2.js.gz +0 -0
- package/web/chunk-y2fbz356.js +0 -1
- package/web/chunk-y2fbz356.js.br +0 -0
- package/web/chunk-y2fbz356.js.gz +0 -0
- package/web/chunk-yebmbyrj.js +0 -1
- package/web/chunk-yebmbyrj.js.br +0 -2
- package/web/chunk-yebmbyrj.js.gz +0 -0
- package/web/chunk-ypytxmn6.js +0 -24
- package/web/chunk-ypytxmn6.js.br +0 -0
- package/web/chunk-ypytxmn6.js.gz +0 -0
- package/web/chunk-z6jy8edk.js +0 -99
- package/web/chunk-z6jy8edk.js.br +0 -0
- package/web/chunk-z6jy8edk.js.gz +0 -0
- package/web/chunk-zg5n1hx4.js +0 -1
- package/web/chunk-zg5n1hx4.js.br +0 -0
- package/web/chunk-zg5n1hx4.js.gz +0 -0
- package/web/chunk-zmrd0bnc.js +0 -139
- package/web/chunk-zmrd0bnc.js.br +0 -0
- package/web/chunk-zmrd0bnc.js.gz +0 -0
- package/web/chunk-zqm6n89p.js +0 -7
- package/web/chunk-zqm6n89p.js.br +0 -0
- package/web/chunk-zqm6n89p.js.gz +0 -0
- package/web/chunk-zvat895r.js +0 -1
- package/web/chunk-zvat895r.js.br +0 -0
- package/web/chunk-zvat895r.js.gz +0 -0
- package/web/chunk-zxt17pcp.js +0 -1
- package/web/chunk-zxt17pcp.js.br +0 -0
- package/web/chunk-zxt17pcp.js.gz +0 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import{t,i,ct,C,N,M,P,R,I,O,D,d,g,nc,H,De,Ne,Me,hn,He,Ue}from"./chunk-kasv56qe.js";import{Fn}from"./chunk-g7ec62te.js";import{ze}from"./chunk-6dr6eazd.js";import{Pe}from"./chunk-kmhbkjqx.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],y=[1,11],m=[1,16],o=[1,17],T=[1,18],E=[1,19],B=[1,33],G=[1,20],W=[1,21],x=[1,22],S=[1,23],Y=[1,24],L=[1,26],z=[1,27],V=[1,28],K=[1,29],A=[1,30],st=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],rt=[1,34],b=[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,k,_,a,it){var h=a.length-1;switch(_){case 3:return k.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=k.trimColon(a[h]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:let _t=k.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 lt=a[h].split(":");X=lt[0],J=[J,lt[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:k.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(),k.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),k.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:k.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:k.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:k.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:k.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:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:T,22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,7]),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(b,[2,11]),e(b,[2,12],{14:[1,40],15:[1,41]}),e(b,[2,16]),{18:[1,42]},e(b,[2,18],{20:[1,43]}),{23:[1,44]},e(b,[2,22]),e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(b,[2,28]),{34:[1,49]},{36:[1,50]},e(b,[2,31]),{13:51,24:B,57:rt},{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(b,[2,38]),e(b,[2,39]),e(b,[2,40]),e(b,[2,41]),e(b,[2,6]),e(b,[2,13]),{13:58,24:B,57:rt},e(b,[2,17]),e(Vt,u,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(b,[2,29]),e(b,[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(b,[2,14],{14:[1,71]}),{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,72],22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(b,[2,34]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(b,[2,15]),e(b,[2,19]),e(Vt,u,{7:78}),e(b,[2,26]),e(b,[2,27]),{5:[1,79]},{5:[1,80]},{4:f,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:T,21:[1,81],22:E,24:B,25:G,26:W,27:x,28:S,29:Y,32:25,33:L,35:z,37:V,38:K,41:A,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,32]),e(b,[2,33]),e(b,[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],k=[],_=[null],a=[],it=this.table,h="",X=0,J=0,lt=0,Et=2,_t=1,de=a.slice.call(arguments,1),v=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(v.setInput(c,tt.yy),tt.yy.lexer=v,tt.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var It=v.yylloc;a.push(It);var ue=v.options&&v.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,_.length=_.length-U,a.length=a.length-U}t(fe,"popStack");function Mt(){var U=k.pop()||v.lex()||_t;if(typeof U!=="number"){if(U instanceof Array)k=U,U=k.pop();U=p.symbols_[U]||U}return U}t(Mt,"lex");var w,Nt,et,j,Qe,Ot,at={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])j=this.defaultActions[et];else{if(w===null||typeof w>"u")w=Mt();j=it[et]&&it[et][w]}if(typeof j>"u"||!j.length||!j[0]){var Rt="";Dt=[];for(vt in it[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(v.showPosition)Rt="Parse error on line "+(X+1)+`:
|
|
2
|
+
`+v.showPosition()+`
|
|
3
|
+
Expecting `+Dt.join(", ")+", got '"+(this.terminals_[w]||w)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(w==_t?"end of input":"'"+(this.terminals_[w]||w)+"'");this.parseError(Rt,{text:v.match,token:this.terminals_[w]||w,line:v.yylineno,loc:It,expected:Dt})}if(j[0]instanceof Array&&j.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+w);switch(j[0]){case 1:if(n.push(w),_.push(v.yytext),a.push(v.yylloc),n.push(j[1]),w=null,!Nt){if(J=v.yyleng,h=v.yytext,X=v.yylineno,It=v.yylloc,lt>0)lt--}else w=Nt,Nt=null;break;case 2:if(q=this.productions_[j[1]][1],at.$=_[_.length-q],at._$={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)at._$.range=[a[a.length-(q||1)].range[0],a[a.length-1].range[1]];if(Ot=this.performAction.apply(at,[h,J,X,tt.yy,j[1],_,a].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),_=_.slice(0,-1*q),a=a.slice(0,-1*q);n.push(this.productions_[j[1]][0]),_.push(at.$),a.push(at._$),Wt=it[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 k=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 _=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===k.length?this.yylloc.first_column:0)+k[k.length-n.length].length-n[0].length:this.yylloc.first_column-p},this.options.ranges)this.yylloc.range=[_[0],_[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,k,_;if(this.options.backtrack_lexer){if(_={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)_.yylloc.range=this.yylloc.range.slice(0)}if(k=c[0].match(/(?:\r\n?|\n).*/g),k)this.yylineno+=k.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.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 _)this[a]=_[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,k;if(!this._more)this.yytext="",this.match="";var _=this._currentRules();for(var a=0;a<_.length;a++)if(n=this._input.match(this.rules[_[a]]),n&&(!p||n[0].length>p[0].length)){if(p=n,k=a,this.options.backtrack_lexer)if(c=this.test_match(n,_[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,_[k]),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,k,_){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 it=_;switch(k){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",ot="state",nt="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}`,Oe="cluster-alt",Re=`${pt}-${Oe}`,ie="parent",ae="note",$e="state",Yt="----",Fe=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Be=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}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`${$e}-${e}${u}-${s}`}t(xt,"stateDomId");var Ge=t((e,s,l,r,u,f,y,m)=>{i.trace("items",s),s.forEach((o)=>{switch(o.stmt){case ot:ut(e,o,l,r,u,f,y,m);break;case ft:ut(e,o,l,r,u,f,y,m);break;case Bt:{ut(e,o.state1,l,r,u,f,y,m),ut(e,o.state2,l,r,u,f,y,m);let T=y==="neo",E={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:T?"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:y};u.push(E),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,y,m)=>{let o=s.id,T=l.get(o),E=oe(T),B=le(T),G=d(),W=E.trim()!==""||B.length>0;if(i.info("dataFetcher parsedItem",s,T,B),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:`${E} ${ve}`,cssStyles:B});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=Be(S.shape,o,e,W),S.cssClasses=`${S.cssClasses} ${Ie} ${f?Re:""}`;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:y,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 L={labelStyle:"",shape:Te,label:s.note.text,labelType:"markdown",cssClasses:Le,cssStyles:[],cssCompiledStyles:[],id:o+Fe+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:G.flowchart?.padding,look:y,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:y,position:s.note.position};Z++,V.id=z,L.parentId=z,dt(r,V,m),dt(r,L,m),dt(r,Y,m);let K=o,A=L.id;if(s.note.position==="left of")K=L.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:y})}else dt(r,Y,m)}if(s.doc)i.trace("Adding nodes children "),Ge(s,s.doc,l,r,u,!f,y,m)},"dataFetcher"),Ye=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"),Ve=t(function(e,s){return s.db.getClasses()},"getClasses"),We=t(async function(e,s,l,r){i.info("REF0:"),i.info("Drawing state diagram (v2)",s);let{securityLevel:u,state:f,layout:y}=d();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=ze(s,u);if(m.type=r.type,m.layoutAlgorithm=Ue(y),m.nodeSpacing=f?.nodeSpacing||50,m.rankSpacing=f?.rankSpacing||50,d().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await He(m,o);let E=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=m.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"),L;if(Y?.forEach((A)=>{let st=A.textContent?.trim();if(A.id===S?.domId||st===x)L=A}),!L){i.warn("⚠️ Could not find node matching text:",x);return}let z=L.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),L.setAttribute("title",A)}z.replaceChild(V,L),V.appendChild(L),i.info("\uD83D\uDD17 Wrapped node in <a> tag for:",x,G.url)})}catch(B){i.error("❌ Error injecting clickable links:",B)}H.insertTitle(o,"statediagramTitleText",f?.titleTopMargin??25,r.db.getDiagramTitle()),Pe(o,E,pt,f?.useMaxWidth??!0)},"draw"),je={getClasses:Ve,draw:We,getDir:ce},F={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=O,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 ot: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();Ye(),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===ot)if(s.id===F.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==nt&&s.stmt!==ot||!s.doc)return;let r=[],u=[];for(let f of s.doc)if(f.type===qt){let y=Ct(f);y.doc=Ct(u),r.push(y),u=[]}else u.push(f);if(r.length>0&&u.length>0){let f={stmt:ot,id:nc(),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:nt,stmt:nt},{id:nt,stmt:nt,doc:this.rootDoc},!0),{id:nt,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,u=void 0,f=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))i.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:ot,id:o,descriptions:[],type:s,doc:l,note:u,classes:[],styles:[],textStyles:[]});else{let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);if(!T.doc)T.doc=l;if(!T.type)T.type=s}if(r)i.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((E)=>this.addDescription(o,E.trim()));if(u){let T=this.currentDocument.states.get(o);if(!T)throw Error(`State not found: ${o}`);T.note=u,T.note.text=C.sanitizeText(T.note.text,d())}if(f)i.info("Setting state classes",o,f),(Array.isArray(f)?f:[f]).forEach((E)=>this.setCssClass(o,E.trim()));if(y)i.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((E)=>this.setStyle(o,E.trim()));if(m)i.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((E)=>this.setTextStyle(o,E.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,N()}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===F.START_NODE)return this.startEndCount++,`${F.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===F.START_NODE?F.START_TYPE:s}endIdIfNeeded(e=""){if(e===F.END_NODE)return this.startEndCount++,`${F.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===F.END_NODE?F.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()),y=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,y,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()),y=this.endTypeIfNeeded(s);this.addState(r,u),this.addState(f,y),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(F.STYLECLASS_SEP).forEach((r)=>{let u=r.replace(/([^;]*);/,"$1").trim();if(RegExp(F.COLOR_KEYWORD).exec(r)){let y=u.replace(F.FILL_KEYWORD,F.BG_FILL).replace(F.COLOR_KEYWORD,F.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(u)})}getClasses(){return this.classes}setupToolTips(e){let s=Fn();g(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(u)=>{let f=g(u.currentTarget),y=f.attr("title");if(y===null)return;let m=u.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(ct.sanitize(y)),f.classed("hover",!0)}).on("mouseout",(u)=>{s.transition().duration(500).style("opacity",0),g(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(!Ne(s,r))return"";let u=Me(e.look),f=De(l),y="";for(let m=0;m<hn(r);m++){let o=r[m],T=f?`fill: ${l[m%l.length]};`:"",E=`[data-look="${u}"][data-color-id="color-${m}"]`;y+=`
|
|
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
|
+
${E}.statediagram-cluster rect.outer {
|
|
11
|
+
stroke: ${o};
|
|
12
|
+
${T}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
${E}.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
|
+
${E}.statediagram-cluster rect.divider {
|
|
22
|
+
stroke: ${o};
|
|
23
|
+
${T}
|
|
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
|
+
${E}.statediagram-cluster .outer path[stroke='none'] {
|
|
39
|
+
${T}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
${E}.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
|
+
${E}.statediagram-cluster .divider path[stroke='none'] {
|
|
59
|
+
${T}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
${E}.statediagram-cluster .divider path[fill='none'] {
|
|
63
|
+
stroke: ${o};
|
|
64
|
+
}
|
|
65
|
+
`}return y},"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:je,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,99 @@
|
|
|
1
|
+
import{t,or,i,Ie,C,N,M,P,R,I,O,D,d,g,H,St,Hi,De,Ne,Me,hn,He,Ue}from"./chunk-kasv56qe.js";import{zn}from"./chunk-xa2ngtyg.js";import{ze}from"./chunk-6dr6eazd.js";import{Pe}from"./chunk-kmhbkjqx.js";var Ge=function(){var s=t(function(j,o,c,p){for(c=c||{},p=j.length;p--;c[j[p]]=o);return c},"o"),l=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],b=[2,2],n=[1,7],h=[1,9],k=[1,10],S=[1,11],y=[1,12],T=[1,30],f=[1,23],_=[1,24],w=[1,25],q=[1,26],X=[1,27],x=[1,19],G=[1,28],te=[1,29],V=[1,20],F=[1,18],Y=[1,21],z=[1,22],Fe=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],Se=[1,36],Te=[1,37],Ce=[1,38],Oe=[1,39],xe=[1,40],se=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],U=[1,46],K=[1,47],ie=[1,57],re=[43,51,53,54,55,74,75],ae=[1,70],ne=[1,68],Z=[1,65],oe=[1,69],le=[1,71],ue=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],de=[1,78],be=[1,77],pe=[1,76],Ye=[69,70,71,72,73],Ke=[1,91],Ze=[6,9,45,50],J=[6,9,12,44,45,50,51,52],fe=[1,101],ke=[1,100],ge=[1,99],ce=[18,61],je=[1,110],qe=[1,109],We=[20,43,51,53,54,55],Ae=[18,61,64,66],Re={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:t(function(o,c,p,a,m,e,he){var r=e.length-1;switch(m){case 1:break;case 2:this.$=[];break;case 3:this.$=e[r-1].concat(e[r]);break;case 4:this.$=e[r];break;case 5:case 6:this.$=[];break;case 7:a.addEntity(e[r-4]),a.addEntity(e[r-2]),a.addRelationship(e[r-4],e[r],e[r-2],e[r-3]),this.$=[e[r-4],e[r-2]];break;case 8:a.addEntity(e[r-8]),a.addEntity(e[r-4]),a.addRelationship(e[r-8],e[r],e[r-4],e[r-5]),a.setClass([e[r-8]],e[r-6]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-8],e[r-4]];break;case 9:a.addEntity(e[r-6]),a.addEntity(e[r-2]),a.addRelationship(e[r-6],e[r],e[r-2],e[r-3]),a.setClass([e[r-6]],e[r-4]),this.$=[e[r-6],e[r-2]];break;case 10:a.addEntity(e[r-6]),a.addEntity(e[r-4]),a.addRelationship(e[r-6],e[r],e[r-4],e[r-5]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-6],e[r-4]];break;case 11:a.addEntity(e[r-3]),a.addAttributes(e[r-3],e[r-1]),this.$=[e[r-3]];break;case 12:a.addEntity(e[r-5]),a.addAttributes(e[r-5],e[r-1]),a.setClass([e[r-5]],e[r-3]),this.$=[e[r-5]];break;case 13:a.addEntity(e[r-2]),this.$=[e[r-2]];break;case 14:a.addEntity(e[r-4]),a.setClass([e[r-4]],e[r-2]),this.$=[e[r-4]];break;case 15:a.addEntity(e[r]),this.$=[e[r]];break;case 16:a.addEntity(e[r-2]),a.setClass([e[r-2]],e[r]),this.$=[e[r-2]];break;case 17:a.addEntity(e[r-6],e[r-4]),a.addAttributes(e[r-6],e[r-1]),this.$=[e[r-6]];break;case 18:a.addEntity(e[r-8],e[r-6]),a.addAttributes(e[r-8],e[r-1]),a.setClass([e[r-8]],e[r-3]),this.$=[e[r-8]];break;case 19:a.addEntity(e[r-5],e[r-3]),this.$=[e[r-5]];break;case 20:a.addEntity(e[r-7],e[r-5]),a.setClass([e[r-7]],e[r-2]),this.$=[e[r-7]];break;case 21:a.addEntity(e[r-3],e[r-1]);break;case 22:a.addEntity(e[r-5],e[r-3]),a.setClass([e[r-5]],e[r]);break;case 23:case 24:this.$=e[r].trim(),a.setAccTitle(this.$);break;case 25:case 26:this.$=e[r].trim(),a.setAccDescription(this.$);break;case 27:if(!a.subgraphDepth)a.setDirection(e[r].value),this.$=[];else this.$=e[r];break;case 31:a.subgraphDepth=(a.subgraphDepth||1)-1,this.$=a.addSubGraph({text:e[r-2].id},e[r-1],{text:e[r-2].text});break;case 32:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-1],text:e[r-1]};break;case 33:a.subgraphDepth=(a.subgraphDepth||0)+1,this.$={id:e[r-4],text:e[r-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=e[r];break;case 35:this.$=e[r-1]+" "+e[r];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=e[r-3],a.addClass(e[r-2],e[r-1]);break;case 41:case 42:case 63:case 72:this.$=[e[r]];break;case 43:case 44:this.$=e[r-2].concat([e[r]]);break;case 45:this.$=e[r-2],a.setClass(e[r-1],e[r]);break;case 46:this.$=e[r-3],a.addCssStyles(e[r-2],e[r-1]);break;case 47:this.$=[e[r]];break;case 48:e[r-2].push(e[r]),this.$=e[r-2];break;case 50:this.$=e[r-1]+e[r];break;case 58:case 84:case 85:this.$=e[r].replace(/"/g,"");break;case 64:e[r].push(e[r-1]),this.$=e[r];break;case 65:this.$={type:e[r-1],name:e[r]};break;case 66:this.$={type:e[r-2],name:e[r-1],keys:e[r]};break;case 67:this.$={type:e[r-2],name:e[r-1],comment:e[r]};break;case 68:this.$={type:e[r-3],name:e[r-2],keys:e[r-1],comment:e[r]};break;case 69:case 71:case 74:this.$=e[r];break;case 70:this.$=e[r-1]+e[r];break;case 73:e[r-2].push(e[r]),this.$=e[r-2];break;case 75:this.$=e[r].replace(/"/g,"");break;case 76:this.$={cardA:e[r],relType:e[r-1],cardB:e[r-2]};break;case 77:this.$=a.Cardinality.ZERO_OR_ONE;break;case 78:this.$=a.Cardinality.ZERO_OR_MORE;break;case 79:this.$=a.Cardinality.ONE_OR_MORE;break;case 80:this.$=a.Cardinality.ONLY_ONE;break;case 81:this.$=a.Cardinality.MD_PARENT;break;case 82:this.$=a.Identification.NON_IDENTIFYING;break;case 83:this.$=a.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(l,b,{5:3}),{6:[1,4],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},s(l,Fe,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:Se,70:Te,71:Ce,72:Oe,73:xe}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,b,{5:44}),s(se,[2,58]),s(se,[2,59]),s(se,[2,60]),s(se,[2,61]),s(se,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:U,44:K},{15:48,43:U,44:K},{15:49,43:U,44:K},{10:50,43:x,51:V,53:F,54:Y,55:z},{10:51,43:x,51:V,53:F,54:Y,55:z},{15:52,43:U,44:K},{17:53,18:[1,54],56:55,57:56,61:ie},{10:58,43:x,51:V,53:F,54:Y,55:z},{68:59,74:[1,60],75:[1,61]},s(re,[2,77]),s(re,[2,78]),s(re,[2,79]),s(re,[2,80]),s(re,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:n,10:8,21:h,23:k,25:S,27:y,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:T,37:f,38:_,39:w,40:q,41:X,43:x,46:G,47:te,51:V,53:F,54:Y,55:z},{12:ae,42:64,44:ne,45:Z,48:66,49:67,51:oe,52:le},s(ue,[2,41]),s(ue,[2,42]),{15:72,43:U,44:K,45:Z},{12:ae,42:73,44:ne,45:Z,48:66,49:67,51:oe,52:le},{6:de,9:be,19:[1,75],35:74,50:pe},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:Z,69:Se,70:Te,71:Ce,72:Oe,73:xe}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:ie},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:Se,70:Te,71:Ce,72:Oe,73:xe},s(Ye,[2,82]),s(Ye,[2,83]),s(u,[2,31]),s(u,Fe),{6:de,9:be,35:90,45:Ke,50:pe},{43:[1,92],44:[1,93]},s(Ze,[2,47],{49:94,12:ae,44:ne,51:oe,52:le}),s(J,[2,49]),s(J,[2,54]),s(J,[2,55]),s(J,[2,56]),s(J,[2,57]),s(u,[2,45],{45:Z}),{6:de,9:be,35:95,45:Ke,50:pe},s(u,[2,32]),{10:97,36:96,43:x,51:V,53:F,54:Y,55:z},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:fe,53:ke,76:ge},{15:102,43:U,44:K},{10:103,43:x,51:V,53:F,54:Y,55:z},{17:104,18:[1,105],56:55,57:56,61:ie},s(u,[2,11]),{18:[2,64]},s(ce,[2,65],{59:106,60:107,63:108,65:je,66:qe}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:ae,44:ne,48:113,49:67,51:oe,52:le},s(ue,[2,43]),s(ue,[2,44]),s(J,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:V,53:F,54:Y,55:z},s(We,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:Z},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(ce,[2,66],{60:120,64:[1,121],66:qe}),s(ce,[2,67]),s(Ae,[2,72]),s(ce,[2,75]),s(Ae,[2,74]),{17:122,18:[1,123],56:55,57:56,61:ie},{15:124,43:U,44:K},s(Ze,[2,48],{49:94,12:ae,44:ne,51:oe,52:le}),{6:de,9:be,35:125,50:pe},s(We,[2,35]),{13:126,43:fe,53:ke,76:ge},{15:127,43:U,44:K},{13:128,43:fe,53:ke,76:ge},s(u,[2,12]),s(ce,[2,68]),{63:129,65:je},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:Z}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:Z},s(u,[2,9]),s(Ae,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:ie},{13:135,43:fe,53:ke,76:ge},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:t(function(o,c){if(c.recoverable)this.trace(o);else{var p=Error(o);throw p.hash=c,p}},"parseError"),parse:t(function(o){var c=this,p=[0],a=[],m=[null],e=[],he=this.table,r="",_e=0,Qe=0,Xe=0,rt=2,Je=1,at=e.slice.call(arguments,1),E=Object.create(this.lexer),W={yy:{}};for(var ve in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,ve))W.yy[ve]=this.yy[ve];if(E.setInput(o,W.yy),W.yy.lexer=E,W.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var Le=E.yylloc;e.push(Le);var nt=E.options&&E.options.ranges;if(typeof W.yy.parseError==="function")this.parseError=W.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function ot(L){p.length=p.length-2*L,m.length=m.length-L,e.length=e.length-L}t(ot,"popStack");function $e(){var L=a.pop()||E.lex()||Je;if(typeof L!=="number"){if(L instanceof Array)a=L,L=a.pop();L=c.symbols_[L]||L}return L}t($e,"lex");var A,we,Q,v,pt,Ve,ee={},me,B,et,Ee;while(!0){if(Q=p[p.length-1],this.defaultActions[Q])v=this.defaultActions[Q];else{if(A===null||typeof A>"u")A=$e();v=he[Q]&&he[Q][A]}if(typeof v>"u"||!v.length||!v[0]){var Be="";Ee=[];for(me in he[Q])if(this.terminals_[me]&&me>rt)Ee.push("'"+this.terminals_[me]+"'");if(E.showPosition)Be="Parse error on line "+(_e+1)+`:
|
|
2
|
+
`+E.showPosition()+`
|
|
3
|
+
Expecting `+Ee.join(", ")+", got '"+(this.terminals_[A]||A)+"'";else Be="Parse error on line "+(_e+1)+": Unexpected "+(A==Je?"end of input":"'"+(this.terminals_[A]||A)+"'");this.parseError(Be,{text:E.match,token:this.terminals_[A]||A,line:E.yylineno,loc:Le,expected:Ee})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+Q+", token: "+A);switch(v[0]){case 1:if(p.push(A),m.push(E.yytext),e.push(E.yylloc),p.push(v[1]),A=null,!we){if(Qe=E.yyleng,r=E.yytext,_e=E.yylineno,Le=E.yylloc,Xe>0)Xe--}else A=we,we=null;break;case 2:if(B=this.productions_[v[1]][1],ee.$=m[m.length-B],ee._$={first_line:e[e.length-(B||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(B||1)].first_column,last_column:e[e.length-1].last_column},nt)ee._$.range=[e[e.length-(B||1)].range[0],e[e.length-1].range[1]];if(Ve=this.performAction.apply(ee,[r,Qe,_e,W.yy,v[1],m,e].concat(at)),typeof Ve<"u")return Ve;if(B)p=p.slice(0,-1*B*2),m=m.slice(0,-1*B),e=e.slice(0,-1*B);p.push(this.productions_[v[1]][0]),m.push(ee.$),e.push(ee._$),et=he[p[p.length-2]][p[p.length-1]],p.push(et);break;case 3:return!0}}return!0},"parse")},it=function(){var j={EOF:1,parseError:t(function(c,p){if(this.yy.parser)this.yy.parser.parseError(c,p);else throw Error(c)},"parseError"),setInput:t(function(o,c){if(this.yy=c||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var c=o.match(/(?:\r\n?|\n).*/g);if(c)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),o},"input"),unput:t(function(o){var c=o.length,p=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var a=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),p.length-1)this.yylineno-=p.length-1;var m=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:p?(p.length===a.length?this.yylloc.first_column:0)+a[a.length-p.length].length-p[0].length:this.yylloc.first_column-c},this.options.ranges)this.yylloc.range=[m[0],m[0]+this.yyleng-c];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(o){this.unput(this.match.slice(o))},"less"),pastInput:t(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var o=this.match;if(o.length<20)o+=this._input.substr(0,20-o.length);return(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var o=this.pastInput(),c=Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
5
|
+
`+c+"^"},"showPosition"),test_match:t(function(o,c){var p,a,m;if(this.options.backtrack_lexer){if(m={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)m.yylloc.range=this.yylloc.range.slice(0)}if(a=o[0].match(/(?:\r\n?|\n).*/g),a)this.yylineno+=a.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],p=this.performAction.call(this,this.yy,this,c,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(p)return p;else if(this._backtrack){for(var e in m)this[e]=m[e];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var o,c,p,a;if(!this._more)this.yytext="",this.match="";var m=this._currentRules();for(var e=0;e<m.length;e++)if(p=this._input.match(this.rules[m[e]]),p&&(!c||p[0].length>c[0].length)){if(c=p,a=e,this.options.backtrack_lexer)if(o=this.test_match(p,m[e]),o!==!1)return o;else if(this._backtrack){c=!1;continue}else return!1;else if(!this.options.flex)break}if(c){if(o=this.test_match(c,m[a]),o!==!1)return o;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var c=this.next();if(c)return c;else return this.lex()},"lex"),begin:t(function(c){this.conditionStack.push(c)},"begin"),popState:t(function(){var c=this.conditionStack.length-1;if(c>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(c){if(c=this.conditionStack.length-1-Math.abs(c||0),c>=0)return this.conditionStack[c];else return"INITIAL"},"topState"),pushState:t(function(c){this.begin(c)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(c,p,a,m){var e=m;switch(a){case 0:return this.begin("acc_title"),23;break;case 1:return this.popState(),"acc_title_value";break;case 2:return this.begin("acc_descr"),25;break;case 3:return this.popState(),"acc_descr_value";break;case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 37;case 8:return 38;case 9:return 39;case 10:return 40;case 11:break;case 12:return 9;case 13:return 53;case 14:return 76;case 15:return 4;case 16:return this.begin("block"),16;break;case 17:return 52;case 18:return 52;case 19:return 45;case 20:return 14;case 21:return 12;case 22:break;case 23:return 65;case 24:return 61;case 25:return 61;case 26:this.begin("block_bq");break;case 27:return 61;case 28:this.popState();break;case 29:return 66;case 30:break;case 31:return this.popState(),18;break;case 32:return p.yytext[0];case 33:return 19;case 34:return 20;case 35:return this.begin("style"),47;break;case 36:return this.popState(),9;break;case 37:break;case 38:return 12;case 39:return 45;case 40:return 52;case 41:return this.begin("style"),41;break;case 42:return 46;case 43:return 34;case 44:return 33;case 45:return 69;case 46:return 71;case 47:return 71;case 48:return 71;case 49:return 69;case 50:return 69;case 51:return 70;case 52:return 70;case 53:return 70;case 54:return 70;case 55:return 70;case 56:return 71;case 57:return 70;case 58:return 71;case 59:return 72;case 60:return 72;case 61:return 54;case 62:return 72;case 63:return 72;case 64:return 72;case 65:return 55;case 66:return 51;case 67:return 72;case 68:return 69;case 69:return 70;case 70:return 71;case 71:return 73;case 72:return 74;case 73:return 75;case 74:return 75;case 75:return 74;case 76:return 74;case 77:return 74;case 78:return 44;case 79:return 50;case 80:return 43;case 81:return p.yytext[0];case 82:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[ \t\r]+)/i,/^(?:[\n]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,/^(?:[`])/i,/^(?:[^`]+)/i,/^(?:[`])/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:subgraph\b)/i,/^(?:end\b\s*)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[36,37,38,39,40,78,79],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block_bq:{rules:[27,28],inclusive:!1},block:{rules:[22,23,24,25,26,29,30,31,32],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,33,34,35,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,80,81,82],inclusive:!0}}};return j}();Re.lexer=it;function ye(){this.yy={}}return t(ye,"Parser"),ye.prototype=Re,Re.Parser=ye,new ye}();Ge.parser=Ge;var lt=Ge,ct=class{constructor(){this.entities=new Map,this.relationships=[],this.classes=new Map,this.subgraphDepth=0,this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.direction="TB",this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},this.setAccTitle=M,this.getAccTitle=P,this.setAccDescription=R,this.getAccDescription=I,this.setDiagramTitle=O,this.getDiagramTitle=D,this.getConfig=t(()=>d().er,"getConfig"),this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this),this.addSubGraph=this.addSubGraph.bind(this)}static{t(this,"ErDB")}addEntity(s,l=""){if(!this.entities.has(s))this.entities.set(s,{id:`entity-${s}-${this.entities.size}`,label:s,attributes:[],alias:l,shape:"erBox",look:d().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),i.info("Added new entity :",s);else if(!this.entities.get(s)?.alias&&l)this.entities.get(s).alias=l,i.info(`Add alias '${l}' to entity '${s}'`);return this.entities.get(s)}getEntity(s){return this.entities.get(s)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(s,l){let b=this.addEntity(s),n;for(n=l.length-1;n>=0;n--){if(!l[n].keys)l[n].keys=[];if(!l[n].comment)l[n].comment="";b.attributes.push(l[n]),i.debug("Added attribute ",l[n].name)}}addRelationship(s,l,b,n){let h;if(this.subGraphLookup.has(s))h=s;else{let y=this.addEntity(s);if(!y)return;h=y.id}let k;if(this.subGraphLookup.has(b))k=b;else{let y=this.addEntity(b);if(!y)return;k=y.id}let S={entityA:h,roleA:l,entityB:k,relSpec:n};this.relationships.push(S),i.debug("Added new relationship :",S)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(s){this.direction=s}getCompiledStyles(s){let l=[];for(let b of s){let n=this.classes.get(b);if(n?.styles)l=[...l,...n.styles??[]].map((h)=>h.trim());if(n?.textStyles)l=[...l,...n.textStyles??[]].map((h)=>h.trim())}return l}addCssStyles(s,l){for(let b of s){let n=this.entities.get(b),h=this.subGraphLookup.get(b);if(!l)continue;if(n)for(let k of l)n.cssStyles.push(k);if(h){if(!h.cssStyles)h.cssStyles=[];for(let k of l)h.cssStyles.push(k)}}}addClass(s,l){s.forEach((b)=>{let n=this.classes.get(b);if(n===void 0)n={id:b,styles:[],textStyles:[]},this.classes.set(b,n);if(l)l.forEach(function(h){if(/color/.exec(h)){let k=h.replace("fill","bgFill");n.textStyles.push(k)}n.styles.push(h)})})}addSubGraph(s,l,b){let n=s.text.trim(),h=b.text,S=t((_)=>{let w=new Set,q;return{nodeList:_.filter((x)=>{if(x?.stmt){if(x.stmt==="dir")q=x.value;return!1}if(typeof x!=="string")return!1;let G=x.trim();if(!G)return!1;if(w.has(G))return!1;return w.add(G),!0}),dir:q}},"uniq")(l.flat()),{nodeList:y,dir:T}=S;n=n??"subGraph"+this.subCount,h=h||"",h=this.sanitizeText(h),this.subCount=this.subCount+1;let f={id:n,nodes:y,title:h.trim(),classes:[],cssStyles:[],dir:T,labelType:this.sanitizeNodeLabelType(b?.type)};return i.info("Adding",f.id,f.nodes,f.dir),f.nodes=this.makeUniq(f,this.subGraphs).nodes,this.subGraphs.push(f),this.subGraphLookup.set(n,f),n}getSubGraphs(){return this.subGraphs}setClass(s,l){for(let b of s){let n=this.entities.get(b);if(n)for(let k of l)n.cssClasses+=" "+k;let h=this.subGraphLookup.get(b);if(h)for(let k of l)h.classes.push(k)}}subgraphNodeCache(s){let l=new Set;for(let b of s)for(let n of b.nodes)l.add(n);return l}makeUniq(s,l){let b=this.subgraphNodeCache(l),n=[];return s.nodes.forEach((h,k)=>{if(b.has(h))i.warn(`Entity '${h}' already belongs to another subgraph and will be ignored`);else n.push(s.nodes[k])}),{nodes:n}}sanitizeText(s){return C.sanitizeText(s,d())}sanitizeNodeLabelType(s){switch(s){case"markdown":case"string":case"text":return s;default:return"markdown"}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.subgraphDepth=0,N()}getData(){let s=[],l=[],b=d(),n=this.getSubGraphs(),h=new Map,k=new Map;for(let f=n.length-1;f>=0;f--){let _=n[f];if(_.nodes.length>0)k.set(_.id,!0);for(let w of _.nodes)h.set(w,_.id)}for(let f=n.length-1;f>=0;f--){let _=n[f];s.push({id:_.id,label:_.title,labelStyle:"",labelType:_.labelType,parentId:h.get(_.id),padding:8,cssCompiledStyles:this.getCompiledStyles(_.classes),cssStyles:_.cssStyles,cssClasses:_.classes.join(" "),shape:"rect",dir:_.dir,isGroup:!0,look:b.look})}let S=new Set(n.map((f)=>f.id)),y=0;for(let f of this.entities.keys()){if(S.has(f))continue;let _=this.entities.get(f);if(_)_.cssCompiledStyles=this.getCompiledStyles(_.cssClasses.split(" ")),_.colorIndex=y++,s.push({..._,parentId:h.get(f),isGroup:!1})}let T=0;for(let f of this.relationships){let _={id:St(f.entityA,f.entityB,{prefix:"id",counter:T++}),type:"normal",curve:"basis",start:f.entityA,end:f.entityB,label:f.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:f.relSpec.cardB.toLowerCase(),arrowTypeEnd:f.relSpec.cardA.toLowerCase(),pattern:f.relSpec.relType=="IDENTIFYING"?"solid":"dashed",look:b.look,labelType:"markdown"};l.push(_)}return{nodes:s,edges:l,other:{},config:b,direction:this.direction}}},st={};or(st,{draw:()=>ht});var ht=t(async function(s,l,b,n){i.info("REF0:"),i.info("Drawing er diagram (unified)",l);let{securityLevel:h,er:k,layout:S}=d(),y=n.db.getData(),T=ze(l,h);y.type=n.type,y.layoutAlgorithm=Ue(S),y.config.flowchart.nodeSpacing=k?.nodeSpacing||140,y.config.flowchart.rankSpacing=k?.rankSpacing||80,y.direction=n.db.getDirection();let{config:f}=y,{look:_}=f;if(_==="neo")y.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"];else y.markers=["only_one","zero_or_one","one_or_more","zero_or_more"];y.diagramId=l,await He(y,T);let w=T.selectAll('[id*="-background"]');if(Array.from(w).length>0)w.each(function(){let X=g(this),G=X.attr("id").replace("-background",""),te=T.select(`#${CSS.escape(G)}`);if(!te.empty()){let V=te.attr("transform");X.attr("transform",V)}});let q=8;H.insertTitle(T,"erDiagramTitleText",k?.titleTopMargin??25,n.db.getDiagramTitle()),Pe(T,q,"erDiagram",k?.useMaxWidth??!0)},"draw"),tt=t((s,l)=>{let b=zn,n=b(s,"r"),h=b(s,"g"),k=b(s,"b");return Ie(n,h,k,l)},"fade"),ut=t((s)=>{let{theme:l,bkgColorArray:b,borderColorArray:n}=s;if(!Ne(l,n))return"";let h=Me(s.look),k=De(b),S="";for(let y=0;y<hn(n);y++){let T=n[y],f=k?`fill: ${b[y%b.length]};`:"";S+=`
|
|
7
|
+
|
|
8
|
+
[data-look="${h}"][data-color-id="color-${y}"].node path {
|
|
9
|
+
stroke: ${T};
|
|
10
|
+
${f}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[data-look="${h}"][data-color-id="color-${y}"].node rect {
|
|
14
|
+
stroke: ${T};
|
|
15
|
+
${f}
|
|
16
|
+
}
|
|
17
|
+
`}return S},"genColor"),dt=t((s)=>{let{look:l,theme:b,erEdgeLabelBackground:n,strokeWidth:h}=s;return`
|
|
18
|
+
${ut(s)}
|
|
19
|
+
.entityBox {
|
|
20
|
+
fill: ${s.mainBkg};
|
|
21
|
+
stroke: ${s.nodeBorder};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.relationshipLabelBox {
|
|
25
|
+
fill: ${s.tertiaryColor};
|
|
26
|
+
opacity: 0.7;
|
|
27
|
+
background-color: ${s.tertiaryColor};
|
|
28
|
+
rect {
|
|
29
|
+
opacity: 0.5;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.labelBkg {
|
|
34
|
+
background-color: ${Hi.has(b)&&n?n:tt(s.tertiaryColor,0.5)};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.edgeLabel {
|
|
38
|
+
background-color: ${Hi.has(b)&&n?n:s.edgeLabelBackground};
|
|
39
|
+
}
|
|
40
|
+
.edgeLabel .label rect {
|
|
41
|
+
fill: ${Hi.has(b)&&n?n:s.edgeLabelBackground};
|
|
42
|
+
}
|
|
43
|
+
.edgeLabel .label text {
|
|
44
|
+
fill: ${s.textColor};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.edgeLabel .label {
|
|
48
|
+
fill: ${s.nodeBorder};
|
|
49
|
+
font-size: 14px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.label {
|
|
53
|
+
font-family: ${s.fontFamily};
|
|
54
|
+
color: ${s.nodeTextColor||s.textColor};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.edge-pattern-dashed {
|
|
58
|
+
stroke-dasharray: 8,8;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.node rect,
|
|
62
|
+
.node circle,
|
|
63
|
+
.node ellipse,
|
|
64
|
+
.node polygon
|
|
65
|
+
{
|
|
66
|
+
fill: ${s.mainBkg};
|
|
67
|
+
stroke: ${s.nodeBorder};
|
|
68
|
+
stroke-width: ${l==="neo"?h:"1px"};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.relationshipLine {
|
|
72
|
+
stroke: ${s.lineColor};
|
|
73
|
+
stroke-width: ${l==="neo"?h:"1px"};
|
|
74
|
+
fill: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.marker {
|
|
78
|
+
fill: none !important;
|
|
79
|
+
stroke: ${s.lineColor} !important;
|
|
80
|
+
stroke-width: 1;
|
|
81
|
+
}
|
|
82
|
+
[data-look=neo].labelBkg {
|
|
83
|
+
background-color: ${tt(s.tertiaryColor,0.5)};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cluster rect {
|
|
87
|
+
fill: ${s.clusterBkg??s.mainBkg};
|
|
88
|
+
stroke: ${s.clusterBorder??s.nodeBorder};
|
|
89
|
+
stroke-width: 1px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cluster text {
|
|
93
|
+
fill: ${s.titleColor??s.textColor};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.cluster-label text {
|
|
97
|
+
fill: ${s.titleColor??s.textColor};
|
|
98
|
+
}
|
|
99
|
+
`},"getStyles"),bt=dt,wt={parser:lt,get db(){return new ct},renderer:st,styles:bt};export{wt as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function xt(t){if(!Number.isFinite(t)||t<=0)return"0";if(t<1000)return Math.round(t).toString();if(t<1e6)return`${(t/1000).toFixed(1)}K`;if(t<1e9)return`${(t/1e6).toFixed(2)}M`;return`${(t/1e9).toFixed(2)}B`}function Qn(t){let r=Number.isFinite(t)?Math.max(0,t):0;return Math.round(r).toLocaleString("en-US")}function Et(t){if(!Number.isFinite(t)||t<=0)return"0s";if(t<1000)return"<1s";if(t<60000)return`${Math.floor(t/1000)}s`;if(t<3600000){let e=Math.floor(t/1000),i=Math.floor(e/60),u=e%60;return u>0?`${i}m ${u}s`:`${i}m`}if(t<259200000){let e=Math.floor(t/60000),i=Math.floor(e/60),u=e%60;return u>0?`${i}h ${u}m`:`${i}h`}let r=Math.floor(t/3600000),n=Math.floor(r/24),o=r%24;return o>0?`${n}d ${o}h`:`${n}d`}function hc(t){if(!Number.isFinite(t)||t<=0)return"0s";if(t<1000)return"<1s";if(t<60000)return`${Math.round(t/1000)}s`;if(t<3600000)return`${Math.round(t/60000)}m`;if(t<86400000){let o=t/3600000;return`${o>=10?Math.round(o).toString():o.toFixed(1).replace(/\.0$/,"")}h`}let r=t/86400000;return`${r>=10?Math.round(r).toString():r.toFixed(1).replace(/\.0$/,"")}d`}function Jn(t,r=1){if(!Number.isFinite(t)||t<=0)return"0%";let n=10**-r/100;if(t<n)return`<${(n*100).toFixed(r)}%`;return`${(t*100).toFixed(r)}%`}function nn(t){if(!Number.isFinite(t)||t<=0)return"0 B";if(t<1024)return`${Math.round(t)} B`;if(t<1048576)return`${(t/1024).toFixed(1)} KB`;if(t<1073741824)return`${(t/1048576).toFixed(2)} MB`;return`${(t/1073741824).toFixed(2)} GB`}function Li(t){let r=t.split("-"),n=r[1],o=r[2];if(n!==void 0&&o!==void 0)return`${n}/${o}`;return t}function qs(t){let r=t.split("-"),n=r[0],o=r[1],e=r[2];if(n===void 0||o===void 0||e===void 0)return t;let i=Number(n),u=Number(o)-1,a=Number(e),f=new Date(Date.UTC(i,u,a)),c=["周日","周一","周二","周三","周四","周五","周六"],d=f.getUTCDay(),_=c[d]??"";return`${t} ${_}`}function gc(t,r=Date.now()){if(t===null||t===void 0||!Number.isFinite(t)||t<=0)return"从未";let n=Math.max(0,r-t);if(n<60000)return"刚刚";if(n<3600000)return`${Math.max(1,Math.floor(n/60000))} 分钟前`;if(n<86400000)return`${Math.max(1,Math.floor(n/3600000))} 小时前`;if(n<2592000000)return`${Math.max(1,Math.floor(n/86400000))} 天前`;let o=new Date(t),e=o.getFullYear(),i=String(o.getMonth()+1).padStart(2,"0"),u=String(o.getDate()).padStart(2,"0");return`${e}-${i}-${u}`}
|
|
2
|
+
export{xt,Qn,Et,hc,Jn,nn,Li,qs,gc};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{t,i,A,d,H,j,An,Tn,Dc,gn,lr,Oc,fa,ft,$c,oc,En,sc,pr,ga}from"./chunk-kasv56qe.js";import{_e}from"./chunk-e8bgrjps.js";import{S}from"./chunk-9rf2smk2.js";function io(e,{edgePathsClass:r="edges edgePaths"}={}){let n=e.insert("g").attr("class","root"),o=n.insert("g").attr("class","clusters"),s=n.insert("g").attr("class",r),a=n.insert("g").attr("class","edgeLabels"),l=n.insert("g").attr("class","nodes");return{clusters:o,edgePaths:s,edgeLabels:a,nodes:l,rootGroups:n}}t(io,"createLayoutElementGroups");async function L(e,r,n){if(r.label){let{shapeSvg:o,bbox:s}=await j(e,n===void 0?r:{...r,width:n});r.labelBBox={width:s.width,height:s.height},o.remove()}else r.labelBBox={width:0,height:0}}t(L,"measureGroupLabel");async function oo(e,r,n){let o=await Tn(e,r,n),s=o.node()?.getBBox()??{width:0,height:0};return r.width=s.width,r.height=s.height,o}t(oo,"insertMeasuredNode");function x(e,r,n){let o=e,s=new Set;while(o){if(o.dir)return o.dir;if(!o.parentId||s.has(o.parentId))break;s.add(o.parentId),o=r.get(o.parentId)}return n}t(x,"resolveNodeDir");async function D(e,r,n={}){let o=new _e({multigraph:!0,compound:!0}),s=[...r.edges],a=d(),l=io(e),{edgeLabels:f,nodes:c}=l,g=new Map,b=new Map(r.nodes.map((u)=>[u.id,u])),E=r.direction,h=e.node()!=null;await Promise.all(r.nodes.map(async(u)=>{if(u.isGroup){if(h){let w=n.unwrapGroupLabels&&u.labelType!=="markdown";await L(c,u,w?Number.POSITIVE_INFINITY:void 0)}o.setNode(u.id,{...u})}else{if(h){let w=await oo(c,u,{config:a,dir:x(u,b,E)});g.set(u.id,w)}o.setNode(u.id,{...u})}}));for(let u of s){if(h&&oc(u))await En(f,u);if(o.setEdge(u.start,u.end,{...u},u.id),!r.edges.some((v)=>v.id===u.id))r.edges.push(u)}if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:u}=await (S("hjs5pyye"),import("./chunk-hjs5pyye.js"));u(e,r)}return{graph:o,groups:l,nodeElements:g}}t(D,"createGraphWithElements");var re=new Map,m=new Map,k=new Map,Q=t(()=>{m.clear(),k.clear(),re.clear()},"clear"),p=t((e,r)=>{let n=m.get(r)||[];return i.trace("In isDescendant",r," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),U=t((e,r)=>{let n=m.get(r)||[];if(i.info("Descendants of ",r," is ",n),i.info("Edge is ",e),e.v===r||e.w===r)return!1;if(!n)return i.debug("Tilt, ",r,",not in descendants"),!1;return n.includes(e.v)||p(e.v,r)||p(e.w,r)||n.includes(e.w)},"edgeInCluster"),R=t((e,r,n,o)=>{i.debug("Copying children of ",e,"root",o,"data",r.node(e),o);let s=r.children(e)||[];if(e!==o)s.push(e);i.debug("Copying (nodes) clusterId",e,"nodes",s),s.forEach((a)=>{if(r.children(a).length>0)R(a,r,n,o);else{let l=r.node(a);if(i.info("cp ",a," to ",o," with parent ",e),n.setNode(a,l),o!==r.parent(a))i.debug("Setting parent",a,r.parent(a)),n.setParent(a,r.parent(a));if(e!==o&&a!==e)i.debug("Setting parent",a,e),n.setParent(a,e);else i.info("In copy ",e,"root",o,"data",r.node(e),o),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e);let f=r.edges(a);i.debug("Copying Edges",f),f.forEach((c)=>{i.info("Edge",c);let g=r.edge(c.v,c.w,c.name);i.info("Edge data",g,o);try{if(U(c,o))i.info("Copying as ",c.v,c.w,g,c.name),n.setEdge(c.v,c.w,g,c.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]));else i.info("Skipping copy of edge ",c.v,"-->",c.w," rootId: ",o," clusterId:",e)}catch(b){i.error(b)}})}i.debug("Removing node",a),r.removeNode(a)})},"copy"),T=t((e,r)=>{let n=r.children(e),o=[...n];for(let s of n)k.set(s,e),o=[...o,...T(s,r)];return o},"extractDescendants"),Z=t((e,r,n)=>{let o=e.edges().filter((c)=>c.v===r||c.w===r),s=e.edges().filter((c)=>c.v===n||c.w===n),a=o.map((c)=>({v:c.v===r?n:c.v,w:c.w===r?r:c.w})),l=s.map((c)=>({v:c.v,w:c.w}));return a.filter((c)=>l.some((g)=>c.v===g.v&&c.w===g.w))},"findCommonEdges"),ia=t((e,r,n)=>{let o=r.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let s;for(let a of o){let l=ia(a,r,n),f=Z(r,n,l);if(l)if(f.length>0)s=l;else return l}return s},"findNonClusterChild"),y=t((e)=>{if(!re.has(e))return e;if(!re.get(e).externalConnections)return e;if(re.has(e))return re.get(e).id;return e},"getAnchorId"),xc=t((e,r)=>{if(!e||r>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){if(e.children(n).length>0)i.debug("Cluster identified",n," Replacement id in edges: ",ia(n,e,n)),m.set(n,T(n,e)),re.set(n,{id:ia(n,e,n),clusterData:e.node(n)})}),e.nodes().forEach(function(n){let o=e.children(n),s=e.edges();if(o.length>0)i.debug("Cluster identified",n,m),s.forEach((a)=>{let l=p(a.v,n),f=p(a.w,n);if(l^f)i.debug("Edge: ",a," leaves cluster ",n),i.debug("Descendants of XXX ",n,": ",m.get(n)),re.get(n).externalConnections=!0});else i.debug("Not a cluster ",n,m)});for(let n of re.keys()){let o=re.get(n).id,s=e.parent(o);if(s!==n&&re.has(s)&&!re.get(s).externalConnections)re.get(n).id=s;let a=e.edges().some((l)=>l.v===n);if(o&&re.get(n)?.externalConnections&&a&&M(e,o,n)){let l=I(e,n,e.parent(o));if(l)re.get(n).id=l}}e.edges().forEach(function(n){let o=e.edge(n);i.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let{v:s,w:a}=n;if(i.debug("Fix XXX",re,"ids:",n.v,n.w,"Translating: ",re.get(n.v)," --- ",re.get(n.w)),re.get(n.v)||re.get(n.w)){if(i.debug("Fixing and trying - removing XXX",n.v,n.w,n.name),s=y(n.v),a=y(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v){let l=e.parent(s);re.get(l).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){let l=e.parent(a);re.get(l).externalConnections=!0,o.toCluster=n.w}i.debug("Fix Replacing with XXX",s,a,n.name),e.setEdge(s,a,o,n.name)}}),P(e,0),i.trace(re)},"adjustClustersAndEdges"),P=t((e,r)=>{if(r>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(let s of n){let a=e.children(s);o=o||a.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,r);for(let s of n)if(i.debug("Extracting node",s,re,re.has(s)&&!re.get(s).externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",r),!re.has(s))i.debug("Not a cluster",s,r);else if(!re.get(s).externalConnections&&e.children(s)&&e.children(s).length>0){i.debug("Cluster without external connections, without a parent and with children",s,r);let l=e.graph().rankdir==="TB"?"LR":"TB";if(re.get(s)?.clusterData?.dir)l=re.get(s).clusterData.dir,i.debug("Fixing dir",re.get(s).clusterData.dir,l);let f=new _e({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});R(s,e,f,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:re.get(s).clusterData,label:re.get(s).label,graph:f})}else i.debug("Cluster ** ",s," **not meeting the criteria !externalConnections:",!re.get(s).externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),r),i.debug(re);n=e.nodes(),i.debug("New list of nodes",n);for(let s of n){let a=e.node(s);if(i.debug(" Now next level",s,a),a?.clusterNode)P(a.graph,r+1)}},"extractor"),B=t((e,r)=>{if(r.length===0)return[];let n=Object.assign([],r);return r.forEach((o)=>{let s=e.children(o),a=B(e,s);n=[...n,...a]}),n},"sorter"),so=t((e)=>B(e,e.children()),"sortNodesByHierarchy"),M=t((e,r,n)=>{let o=e.parent(r);while(o&&o!==n){let s=re.get(o);if(s&&!s.externalConnections)return!0;o=e.parent(o)}return!1},"isNodeInExtractableCluster"),I=t((e,r,n)=>{let o=e.children(r)??[];for(let s of o){if(s===n||p(s,n))continue;let a=ia(s,e,r);if(!a)continue;if(!M(e,a,r))return a}return null},"findSafeAnchorNode");function $a({prepareLayout:e,measureLayout:r,runLayoutCore:n,paintLayout:o,afterPaint:s,paintOptions:a}){let l=r??_;return t(async function(c,g,b,E){let h=g.select("g");(b?.insertMarkers??ga)(h,c.markers,c.type,c.diagramId),X();let u={element:h,helpers:b,options:E};u.preparedLayout=await e?.(c,u);let w=await l(c,u),v=await n(c,u),C={...u,measure:w};if(o)await o(c,C,v);else await G(c,C,a);await s?.(c,C,v)},"render")}t($a,"createCommonLayoutRenderer");function X(){Dc(),$c(),Oc(),Q()}t(X,"clearLayoutRenderState");async function _(e,{element:r},n){return await D(r,e,n)}t(_,"defaultMeasureLayout");async function G(e,r,n={}){let{measure:o}=r,{groups:s}=o;for(let l of n.getNodes?.(e,r)??e.nodes){if(n.skipNode?.(l,r))continue;await O(s,l,r,n)}let a=z(e.nodes);for(let l of e.edges){if(J(l,n))continue;await W(s,l,a,e,n,r)}}t(G,"paintLayoutData");async function O(e,r,n,o){if(r.clusterNode)gn(r);else if(F(r,n,o))await lr(e.clusters,r);else gn(r)}t(O,"paintLayoutNode");function F(e,r,n){return e.isGroup===!0&&(n.isCluster?.(e,r)??!0)}t(F,"shouldPaintAsCluster");function z(e){let r=new Map;for(let n of e)if(n?.id)r.set(n.id,n);return r}t(z,"buildNodeLookup");function J(e,r){return e.isLayoutOnly||Boolean(r.skipEdge?.(e))}t(J,"shouldSkipPaintEdge");async function W(e,r,n,o,s,a){let l=pr(e.edgePaths,{...r},s.clusterDb??new Map,o.type,N(r.start,r,n,a,s),N(r.end,r,n,a,s),o.diagramId,V(r,s),o.layoutAlgorithm);if(oc(r)){if(!fa.has(r.id))await En(e.edgeLabels,r);Y(r,l)}}t(W,"paintLayoutEdge");function N(e,r,n,o,s){return s.getEdgeNode?.(e,r,o)??(e?n.get(e)??{}:{})}t(N,"getRenderedNode");function V(e,r){return typeof r.skipIntersect==="function"?r.skipIntersect(e):r.skipIntersect??!1}t(V,"shouldSkipIntersect");function Y(e,r){let n=r?.updatedPath??r?.originalPath,o=A(),{subGraphTitleTotalMargin:s}=An({flowchart:o.flowchart??{}});if(e.label){let a=fa.get(e.id),{x:l,y:f}=sc(e,r);a.attr("transform",`translate(${l}, ${f+s/2})`)}for(let[a,l]of[["startLeft",e.startLabelLeft],["startRight",e.startLabelRight],["endLeft",e.endLabelLeft],["endRight",e.endLabelRight]])if(l){let{x:f,y:c}=q(e,a,n);ft.get(e.id)[a].attr("transform",`translate(${f}, ${c})`)}}t(Y,"positionRenderedEdgeLabel");var ee={startLeft:"start_left",startRight:"start_right",endLeft:"end_left",endRight:"end_right"};function q(e,r,n){let o=e.terminalLabelCenters?.[r];if(o)return{...o};if(!n)return{x:e.x,y:e.y};let s=r.startsWith("start")?e.arrowTypeStart:e.arrowTypeEnd;return H.calcTerminalLabelPosition(s?10:0,ee[r],n)}t(q,"terminalLabelTranslate");
|
|
2
|
+
export{io,oo,re,ia,xc,so,$a};
|
|
Binary file
|
|
Binary file
|
package/web/index.html
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
.catch(() => {})
|
|
53
53
|
} catch {}
|
|
54
54
|
</script>
|
|
55
|
-
<link rel="stylesheet" crossorigin href="./chunk-
|
|
55
|
+
<link rel="stylesheet" crossorigin href="./chunk-gnx30bed.css"><script type="module" crossorigin src="./chunk-9rf2smk2.js"></script></head>
|
|
56
56
|
<body>
|
|
57
57
|
<div id="root"><div class="boot-splash" role="status">正在加载 Basalt…</div></div>
|
|
58
58
|
|
package/web/index.html.br
CHANGED
|
Binary file
|
package/web/index.html.gz
CHANGED
|
Binary file
|
package/worker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Ga}from"./chunk-mekgrca0.js";export{Ga as SearchEngine};
|