@bkm016/basalt 0.1.32 → 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-20gcnbgn.js +2 -0
- package/web/chunk-20gcnbgn.js.br +0 -0
- package/web/chunk-20gcnbgn.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-2nwvdqxm.js +1 -0
- package/web/chunk-2nwvdqxm.js.br +0 -0
- package/web/chunk-2nwvdqxm.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-414npx47.js +1 -0
- package/web/chunk-414npx47.js.br +0 -0
- package/web/chunk-414npx47.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-545zx869.js +2 -0
- package/web/chunk-545zx869.js.br +0 -0
- package/web/chunk-545zx869.js.gz +0 -0
- package/web/chunk-55mx05jg.js +2 -0
- package/web/chunk-55mx05jg.js.br +0 -0
- package/web/chunk-55mx05jg.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-690qxds4.js +1 -0
- package/web/chunk-690qxds4.js.br +0 -0
- package/web/chunk-690qxds4.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-9j7v0e4v.js +2 -0
- package/web/chunk-9j7v0e4v.js.br +0 -0
- package/web/chunk-9j7v0e4v.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-aan5qk6x.js +1 -0
- package/web/chunk-aan5qk6x.js.br +0 -0
- package/web/chunk-aan5qk6x.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-d5n2yz4e.js +2 -0
- package/web/chunk-d5n2yz4e.js.br +0 -0
- package/web/chunk-d5n2yz4e.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-f5wyg9zh.js +2 -0
- package/web/chunk-f5wyg9zh.js.br +0 -0
- package/web/chunk-f5wyg9zh.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-gvndjaan.js +2 -0
- package/web/chunk-gvndjaan.js.br +0 -0
- package/web/chunk-gvndjaan.js.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-ngsv0xfb.js +1 -0
- package/web/chunk-ngsv0xfb.js.br +0 -0
- package/web/chunk-ngsv0xfb.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-r7st369j.js +1 -0
- package/web/chunk-r7st369j.js.br +0 -0
- package/web/chunk-r7st369j.js.gz +0 -0
- package/web/chunk-rj1rp0tc.js +1 -0
- package/web/chunk-rj1rp0tc.js.br +0 -0
- package/web/chunk-rj1rp0tc.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-tntwwpyh.js +2 -0
- package/web/chunk-tntwwpyh.js.br +0 -0
- package/web/chunk-tntwwpyh.js.gz +0 -0
- package/web/chunk-tpzyyc2z.js +2 -0
- package/web/chunk-tpzyyc2z.js.br +0 -0
- package/web/chunk-tpzyyc2z.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-vndrjeyr.js +2 -0
- package/web/chunk-vndrjeyr.js.br +0 -0
- package/web/chunk-vndrjeyr.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-vvsfwjrg.js +1 -0
- package/web/chunk-vvsfwjrg.js.br +0 -0
- package/web/chunk-vvsfwjrg.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-wdd9pasx.js +1 -0
- package/web/chunk-wdd9pasx.js.br +0 -0
- package/web/chunk-wdd9pasx.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-y48mj5d7.js +1 -0
- package/web/chunk-y48mj5d7.js.br +0 -0
- package/web/chunk-y48mj5d7.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-3dtgkgam.js +0 -4064
- package/chunk-4a5xttdp.js +0 -3
- package/chunk-4st5xeee.js +0 -2
- package/chunk-54qzhq9t.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-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-nmvayfq3.js +0 -3
- package/chunk-nw4h0wm9.js +0 -2
- package/chunk-nzpzjbpp.js +0 -51
- 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-scq1dz62.js +0 -8
- 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-02v1btpv.js +0 -2
- package/web/chunk-02v1btpv.js.br +0 -0
- package/web/chunk-02v1btpv.js.gz +0 -0
- package/web/chunk-02xgh26g.js +0 -1
- package/web/chunk-02xgh26g.js.br +0 -0
- package/web/chunk-02xgh26g.js.gz +0 -0
- package/web/chunk-0n134mev.js +0 -140
- package/web/chunk-0n134mev.js.br +0 -0
- package/web/chunk-0n134mev.js.gz +0 -0
- package/web/chunk-14t6ms50.js +0 -16
- package/web/chunk-14t6ms50.js.br +0 -0
- package/web/chunk-14t6ms50.js.gz +0 -0
- package/web/chunk-17j1pnvx.js +0 -1
- package/web/chunk-17j1pnvx.js.br +0 -0
- package/web/chunk-17j1pnvx.js.gz +0 -0
- package/web/chunk-19qs8qhf.js +0 -2
- package/web/chunk-19qs8qhf.js.br +0 -0
- package/web/chunk-19qs8qhf.js.gz +0 -0
- package/web/chunk-1c1jdx2r.js +0 -332
- package/web/chunk-1c1jdx2r.js.br +0 -0
- package/web/chunk-1c1jdx2r.js.gz +0 -0
- package/web/chunk-1fp0r6da.js +0 -2
- package/web/chunk-1fp0r6da.js.br +0 -0
- package/web/chunk-1fp0r6da.js.gz +0 -0
- package/web/chunk-1fv6rp41.js +0 -2
- package/web/chunk-1fv6rp41.js.br +0 -0
- package/web/chunk-1fv6rp41.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-1r8npw1h.js +0 -1
- package/web/chunk-1r8npw1h.js.br +0 -0
- package/web/chunk-1r8npw1h.js.gz +0 -0
- package/web/chunk-215gszpx.js +0 -1
- package/web/chunk-215gszpx.js.br +0 -0
- package/web/chunk-215gszpx.js.gz +0 -0
- package/web/chunk-2372y9qw.css +0 -1
- package/web/chunk-2372y9qw.css.br +0 -0
- package/web/chunk-2372y9qw.css.gz +0 -0
- package/web/chunk-24syb9ar.js +0 -1
- package/web/chunk-24syb9ar.js.br +0 -0
- package/web/chunk-24syb9ar.js.gz +0 -0
- package/web/chunk-26y868vk.js +0 -214
- package/web/chunk-26y868vk.js.br +0 -0
- package/web/chunk-26y868vk.js.gz +0 -0
- package/web/chunk-29mff7z7.js +0 -34
- package/web/chunk-29mff7z7.js.br +0 -0
- package/web/chunk-29mff7z7.js.gz +0 -0
- package/web/chunk-2vh05ags.js +0 -2
- package/web/chunk-2vh05ags.js.br +0 -0
- package/web/chunk-2vh05ags.js.gz +0 -0
- package/web/chunk-2z5tpzd0.js +0 -2
- package/web/chunk-2z5tpzd0.js.br +0 -2
- package/web/chunk-2z5tpzd0.js.gz +0 -0
- package/web/chunk-35zjz7ms.js +0 -99
- package/web/chunk-35zjz7ms.js.br +0 -0
- package/web/chunk-35zjz7ms.js.gz +0 -0
- package/web/chunk-3q8tjjp1.js +0 -1
- package/web/chunk-3q8tjjp1.js.br +0 -2
- package/web/chunk-3q8tjjp1.js.gz +0 -0
- package/web/chunk-3s4mqjna.js +0 -4
- package/web/chunk-3s4mqjna.js.br +0 -0
- package/web/chunk-3s4mqjna.js.gz +0 -0
- package/web/chunk-3srybd24.js +0 -41
- package/web/chunk-3srybd24.js.br +0 -0
- package/web/chunk-3srybd24.js.gz +0 -0
- package/web/chunk-3zsfd0hv.js +0 -1
- package/web/chunk-3zsfd0hv.js.br +0 -0
- package/web/chunk-3zsfd0hv.js.gz +0 -0
- package/web/chunk-43h0rwsj.js +0 -1
- package/web/chunk-43h0rwsj.js.br +0 -0
- package/web/chunk-43h0rwsj.js.gz +0 -0
- package/web/chunk-4gehgwdn.js +0 -1
- package/web/chunk-4gehgwdn.js.br +0 -0
- package/web/chunk-4gehgwdn.js.gz +0 -0
- package/web/chunk-4q1j0ehq.js +0 -1
- package/web/chunk-4q1j0ehq.js.br +0 -2
- package/web/chunk-4q1j0ehq.js.gz +0 -0
- package/web/chunk-4rbzcphw.js +0 -7
- package/web/chunk-4rbzcphw.js.br +0 -0
- package/web/chunk-4rbzcphw.js.gz +0 -0
- package/web/chunk-4xvh57dr.js +0 -1
- package/web/chunk-4xvh57dr.js.br +0 -0
- package/web/chunk-4xvh57dr.js.gz +0 -0
- package/web/chunk-54cy79n2.js +0 -291
- package/web/chunk-54cy79n2.js.br +0 -0
- package/web/chunk-54cy79n2.js.gz +0 -0
- package/web/chunk-5v7dyp6t.js +0 -2
- package/web/chunk-5v7dyp6t.js.br +0 -0
- package/web/chunk-5v7dyp6t.js.gz +0 -0
- package/web/chunk-5xm6c0r0.js +0 -1
- package/web/chunk-5xm6c0r0.js.br +0 -0
- package/web/chunk-5xm6c0r0.js.gz +0 -0
- package/web/chunk-67pmbk1h.js +0 -324
- package/web/chunk-67pmbk1h.js.br +0 -0
- package/web/chunk-67pmbk1h.js.gz +0 -0
- package/web/chunk-6ebp7qd7.js +0 -169
- package/web/chunk-6ebp7qd7.js.br +0 -0
- package/web/chunk-6ebp7qd7.js.gz +0 -0
- package/web/chunk-6k8me9kr.js +0 -1
- package/web/chunk-6k8me9kr.js.br +0 -0
- package/web/chunk-6k8me9kr.js.gz +0 -0
- package/web/chunk-7aqr59hm.js +0 -1
- package/web/chunk-7aqr59hm.js.br +0 -0
- package/web/chunk-7aqr59hm.js.gz +0 -0
- package/web/chunk-7qnxv6xx.js +0 -1
- package/web/chunk-7qnxv6xx.js.br +0 -0
- package/web/chunk-7qnxv6xx.js.gz +0 -0
- package/web/chunk-7yb2g5zs.js +0 -1
- package/web/chunk-7yb2g5zs.js.br +0 -0
- package/web/chunk-7yb2g5zs.js.gz +0 -0
- package/web/chunk-86f9x5fs.js +0 -24
- package/web/chunk-86f9x5fs.js.br +0 -0
- package/web/chunk-86f9x5fs.js.gz +0 -0
- package/web/chunk-8gvxttsz.js +0 -39
- package/web/chunk-8gvxttsz.js.br +0 -0
- package/web/chunk-8gvxttsz.js.gz +0 -0
- package/web/chunk-8kjx7nve.js +0 -1
- package/web/chunk-8kjx7nve.js.br +0 -0
- package/web/chunk-8kjx7nve.js.gz +0 -0
- package/web/chunk-8qda1pw3.js +0 -2
- package/web/chunk-8qda1pw3.js.br +0 -0
- package/web/chunk-8qda1pw3.js.gz +0 -0
- package/web/chunk-98zd6fb7.js +0 -40
- package/web/chunk-98zd6fb7.js.br +0 -0
- package/web/chunk-98zd6fb7.js.gz +0 -0
- package/web/chunk-9b43td2b.js +0 -24
- package/web/chunk-9b43td2b.js.br +0 -0
- package/web/chunk-9b43td2b.js.gz +0 -0
- package/web/chunk-9hkz2jgq.js +0 -303
- package/web/chunk-9hkz2jgq.js.br +0 -0
- package/web/chunk-9hkz2jgq.js.gz +0 -0
- package/web/chunk-a3qa5c8q.js +0 -292
- package/web/chunk-a3qa5c8q.js.br +0 -0
- package/web/chunk-a3qa5c8q.js.gz +0 -0
- package/web/chunk-ads3r60t.js +0 -70
- package/web/chunk-ads3r60t.js.br +0 -0
- package/web/chunk-ads3r60t.js.gz +0 -0
- package/web/chunk-ax4wvgv9.js +0 -38
- package/web/chunk-ax4wvgv9.js.br +0 -0
- package/web/chunk-ax4wvgv9.js.gz +0 -0
- package/web/chunk-b9knvs0r.js +0 -1
- package/web/chunk-b9knvs0r.js.br +0 -0
- package/web/chunk-b9knvs0r.js.gz +0 -0
- package/web/chunk-batey85v.js +0 -2
- package/web/chunk-batey85v.js.br +0 -0
- package/web/chunk-batey85v.js.gz +0 -0
- package/web/chunk-ccdww2gj.js +0 -2
- package/web/chunk-ccdww2gj.js.br +0 -0
- package/web/chunk-ccdww2gj.js.gz +0 -0
- package/web/chunk-cgbz97dr.js +0 -2
- package/web/chunk-cgbz97dr.js.br +0 -0
- package/web/chunk-cgbz97dr.js.gz +0 -0
- package/web/chunk-cjbqey5q.js +0 -1
- package/web/chunk-cjbqey5q.js.br +0 -0
- package/web/chunk-cjbqey5q.js.gz +0 -0
- package/web/chunk-cm5cmpxr.js +0 -1
- package/web/chunk-cm5cmpxr.js.br +0 -0
- package/web/chunk-cm5cmpxr.js.gz +0 -0
- package/web/chunk-cqce094e.js +0 -55
- package/web/chunk-cqce094e.js.br +0 -0
- package/web/chunk-cqce094e.js.gz +0 -0
- package/web/chunk-ct6hkz49.js +0 -7
- package/web/chunk-ct6hkz49.js.br +0 -0
- package/web/chunk-ct6hkz49.js.gz +0 -0
- package/web/chunk-d0qb5kr7.js +0 -1
- package/web/chunk-d0qb5kr7.js.br +0 -0
- package/web/chunk-d0qb5kr7.js.gz +0 -0
- package/web/chunk-d9c65yrg.js +0 -1
- package/web/chunk-d9c65yrg.js.br +0 -0
- package/web/chunk-d9c65yrg.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-ece0ex2b.js +0 -2
- package/web/chunk-ece0ex2b.js.br +0 -0
- package/web/chunk-ece0ex2b.js.gz +0 -0
- package/web/chunk-ejrsh0nz.js +0 -1
- package/web/chunk-ejrsh0nz.js.br +0 -2
- package/web/chunk-ejrsh0nz.js.gz +0 -0
- package/web/chunk-ekcnhcm0.js +0 -1
- package/web/chunk-ekcnhcm0.js.br +0 -0
- package/web/chunk-ekcnhcm0.js.gz +0 -0
- package/web/chunk-eq4skc30.js +0 -1
- package/web/chunk-eq4skc30.js.br +0 -0
- package/web/chunk-eq4skc30.js.gz +0 -0
- package/web/chunk-ev6xj0qs.js +0 -1142
- package/web/chunk-ev6xj0qs.js.br +0 -0
- package/web/chunk-ev6xj0qs.js.gz +0 -0
- package/web/chunk-ezx3f7hw.js +0 -1
- package/web/chunk-ezx3f7hw.js.br +0 -0
- package/web/chunk-ezx3f7hw.js.gz +0 -0
- package/web/chunk-f0kc6vf9.js +0 -2
- package/web/chunk-f0kc6vf9.js.br +0 -0
- package/web/chunk-f0kc6vf9.js.gz +0 -0
- package/web/chunk-fabemrkx.js +0 -1
- package/web/chunk-fabemrkx.js.br +0 -0
- package/web/chunk-fabemrkx.js.gz +0 -0
- package/web/chunk-faestmhg.js +0 -89
- package/web/chunk-faestmhg.js.br +0 -0
- package/web/chunk-faestmhg.js.gz +0 -0
- package/web/chunk-g5ngaf53.js +0 -2
- package/web/chunk-g5ngaf53.js.br +0 -0
- package/web/chunk-g5ngaf53.js.gz +0 -0
- package/web/chunk-gcyhcbej.js +0 -1
- package/web/chunk-gcyhcbej.js.br +0 -2
- package/web/chunk-gcyhcbej.js.gz +0 -0
- package/web/chunk-ggfwnr7a.js +0 -1
- package/web/chunk-ggfwnr7a.js.br +0 -0
- package/web/chunk-ggfwnr7a.js.gz +0 -0
- package/web/chunk-gp3356tf.js +0 -2
- package/web/chunk-gp3356tf.js.br +0 -0
- package/web/chunk-gp3356tf.js.gz +0 -0
- package/web/chunk-gw1d4wmd.js +0 -1
- package/web/chunk-gw1d4wmd.js.br +0 -0
- package/web/chunk-gw1d4wmd.js.gz +0 -0
- package/web/chunk-hmc93mm5.js +0 -1
- package/web/chunk-hmc93mm5.js.br +0 -0
- package/web/chunk-hmc93mm5.js.gz +0 -0
- package/web/chunk-hn9rxtn8.js +0 -8
- package/web/chunk-hn9rxtn8.js.br +0 -0
- package/web/chunk-hn9rxtn8.js.gz +0 -0
- package/web/chunk-hrng3h6w.js +0 -1
- package/web/chunk-hrng3h6w.js.br +0 -2
- package/web/chunk-hrng3h6w.js.gz +0 -0
- package/web/chunk-hxyxfhhs.js +0 -1
- package/web/chunk-hxyxfhhs.js.br +0 -2
- package/web/chunk-hxyxfhhs.js.gz +0 -0
- package/web/chunk-j94hffw3.js +0 -2
- package/web/chunk-j94hffw3.js.br +0 -0
- package/web/chunk-j94hffw3.js.gz +0 -0
- package/web/chunk-jrh3s3f5.js +0 -370
- package/web/chunk-jrh3s3f5.js.br +0 -0
- package/web/chunk-jrh3s3f5.js.gz +0 -0
- package/web/chunk-jw830br8.js +0 -106
- package/web/chunk-jw830br8.js.br +0 -0
- package/web/chunk-jw830br8.js.gz +0 -0
- package/web/chunk-k3whmjng.js +0 -1
- package/web/chunk-k3whmjng.js.br +0 -0
- package/web/chunk-k3whmjng.js.gz +0 -0
- package/web/chunk-kgfzf3q8.js +0 -1
- package/web/chunk-kgfzf3q8.js.br +0 -0
- package/web/chunk-kgfzf3q8.js.gz +0 -0
- package/web/chunk-kqpj6dnm.js +0 -2
- package/web/chunk-kqpj6dnm.js.br +0 -0
- package/web/chunk-kqpj6dnm.js.gz +0 -0
- package/web/chunk-kvz46sd7.js +0 -2
- package/web/chunk-kvz46sd7.js.br +0 -0
- package/web/chunk-kvz46sd7.js.gz +0 -0
- package/web/chunk-magq6xms.js +0 -36
- package/web/chunk-magq6xms.js.br +0 -0
- package/web/chunk-magq6xms.js.gz +0 -0
- package/web/chunk-mtzj1zyw.js +0 -2
- package/web/chunk-mtzj1zyw.js.br +0 -0
- package/web/chunk-mtzj1zyw.js.gz +0 -0
- package/web/chunk-my778zsk.js +0 -1
- package/web/chunk-my778zsk.js.br +0 -0
- package/web/chunk-my778zsk.js.gz +0 -0
- package/web/chunk-mzevfdmp.js +0 -1
- package/web/chunk-mzevfdmp.js.br +0 -0
- package/web/chunk-mzevfdmp.js.gz +0 -0
- package/web/chunk-n5hvbjdt.js +0 -3
- package/web/chunk-n5hvbjdt.js.br +0 -0
- package/web/chunk-n5hvbjdt.js.gz +0 -0
- package/web/chunk-n6wz1xv2.js +0 -84
- package/web/chunk-n6wz1xv2.js.br +0 -0
- package/web/chunk-n6wz1xv2.js.gz +0 -0
- package/web/chunk-nfz5qmem.js +0 -1
- package/web/chunk-nfz5qmem.js.br +0 -0
- package/web/chunk-nfz5qmem.js.gz +0 -0
- package/web/chunk-p01t2t8w.js +0 -1
- package/web/chunk-p01t2t8w.js.br +0 -0
- package/web/chunk-p01t2t8w.js.gz +0 -0
- package/web/chunk-pa0sqjjk.js +0 -1
- package/web/chunk-pa0sqjjk.js.br +0 -0
- package/web/chunk-pa0sqjjk.js.gz +0 -0
- package/web/chunk-pczbf6w0.js +0 -200
- package/web/chunk-pczbf6w0.js.br +0 -0
- package/web/chunk-pczbf6w0.js.gz +0 -0
- package/web/chunk-pss11x84.js +0 -7
- package/web/chunk-pss11x84.js.br +0 -0
- package/web/chunk-pss11x84.js.gz +0 -0
- package/web/chunk-psymen6a.js +0 -1
- package/web/chunk-psymen6a.js.br +0 -0
- package/web/chunk-psymen6a.js.gz +0 -0
- package/web/chunk-q5rd9d4z.js +0 -1
- package/web/chunk-q5rd9d4z.js.br +0 -0
- package/web/chunk-q5rd9d4z.js.gz +0 -0
- package/web/chunk-qb820yv8.js +0 -1
- package/web/chunk-qb820yv8.js.br +0 -0
- package/web/chunk-qb820yv8.js.gz +0 -0
- package/web/chunk-qcacb7rs.js +0 -1
- package/web/chunk-qcacb7rs.js.br +0 -0
- package/web/chunk-qcacb7rs.js.gz +0 -0
- package/web/chunk-qhwsegs1.js +0 -1
- package/web/chunk-qhwsegs1.js.br +0 -0
- package/web/chunk-qhwsegs1.js.gz +0 -0
- package/web/chunk-qm88s0at.js +0 -30
- package/web/chunk-qm88s0at.js.br +0 -0
- package/web/chunk-qm88s0at.js.gz +0 -0
- package/web/chunk-qpmyxj27.js +0 -1
- package/web/chunk-qpmyxj27.js.br +0 -0
- package/web/chunk-qpmyxj27.js.gz +0 -0
- package/web/chunk-qxyanf4n.js +0 -98
- package/web/chunk-qxyanf4n.js.br +0 -0
- package/web/chunk-qxyanf4n.js.gz +0 -0
- package/web/chunk-qz8yct8b.js +0 -62
- package/web/chunk-qz8yct8b.js.br +0 -0
- package/web/chunk-qz8yct8b.js.gz +0 -0
- package/web/chunk-qzeb7kj6.js +0 -78
- package/web/chunk-qzeb7kj6.js.br +0 -0
- package/web/chunk-qzeb7kj6.js.gz +0 -0
- package/web/chunk-r827h2kc.js +0 -1
- package/web/chunk-r827h2kc.js.br +0 -2
- package/web/chunk-r827h2kc.js.gz +0 -0
- package/web/chunk-r992px5p.js +0 -4
- package/web/chunk-r992px5p.js.br +0 -0
- package/web/chunk-r992px5p.js.gz +0 -0
- package/web/chunk-rvgx4jhr.js +0 -1
- package/web/chunk-rvgx4jhr.js.br +0 -0
- package/web/chunk-rvgx4jhr.js.gz +0 -0
- package/web/chunk-rxadtk6j.js +0 -12
- package/web/chunk-rxadtk6j.js.br +0 -0
- package/web/chunk-rxadtk6j.js.gz +0 -0
- package/web/chunk-sk3ssmwp.js +0 -2
- package/web/chunk-sk3ssmwp.js.br +0 -0
- package/web/chunk-sk3ssmwp.js.gz +0 -0
- package/web/chunk-snvwfzxt.js +0 -2
- package/web/chunk-snvwfzxt.js.br +0 -0
- package/web/chunk-snvwfzxt.js.gz +0 -0
- package/web/chunk-szfzt9ph.js +0 -217
- package/web/chunk-szfzt9ph.js.br +0 -0
- package/web/chunk-szfzt9ph.js.gz +0 -0
- package/web/chunk-szwh742y.js +0 -2
- package/web/chunk-szwh742y.js.br +0 -0
- package/web/chunk-szwh742y.js.gz +0 -0
- package/web/chunk-t9hnp1zd.js +0 -2
- package/web/chunk-t9hnp1zd.js.br +0 -3
- package/web/chunk-t9hnp1zd.js.gz +0 -0
- package/web/chunk-tanv869p.js +0 -120
- package/web/chunk-tanv869p.js.br +0 -0
- package/web/chunk-tanv869p.js.gz +0 -0
- package/web/chunk-tpps3mfw.js +0 -139
- package/web/chunk-tpps3mfw.js.br +0 -0
- package/web/chunk-tpps3mfw.js.gz +0 -0
- package/web/chunk-txb5yf8n.js +0 -1
- package/web/chunk-txb5yf8n.js.br +0 -0
- package/web/chunk-txb5yf8n.js.gz +0 -0
- package/web/chunk-v3vqv74s.js +0 -1
- package/web/chunk-v3vqv74s.js.br +0 -0
- package/web/chunk-v3vqv74s.js.gz +0 -0
- package/web/chunk-v5q92q5d.js +0 -1
- package/web/chunk-v5q92q5d.js.br +0 -0
- package/web/chunk-v5q92q5d.js.gz +0 -0
- package/web/chunk-vayamfxv.js +0 -1
- package/web/chunk-vayamfxv.js.br +0 -0
- package/web/chunk-vayamfxv.js.gz +0 -0
- package/web/chunk-vrakntde.js +0 -21
- package/web/chunk-vrakntde.js.br +0 -0
- package/web/chunk-vrakntde.js.gz +0 -0
- package/web/chunk-we9q8a9q.js +0 -2
- package/web/chunk-we9q8a9q.js.br +0 -0
- package/web/chunk-we9q8a9q.js.gz +0 -0
- package/web/chunk-wgezeg5k.js +0 -2
- package/web/chunk-wgezeg5k.js.br +0 -0
- package/web/chunk-wgezeg5k.js.gz +0 -0
- package/web/chunk-wh028xj6.js +0 -142
- package/web/chunk-wh028xj6.js.br +0 -0
- package/web/chunk-wh028xj6.js.gz +0 -0
- package/web/chunk-whprx2wg.js +0 -1
- package/web/chunk-whprx2wg.js.br +0 -0
- package/web/chunk-whprx2wg.js.gz +0 -0
- package/web/chunk-wjv2q7b1.js +0 -2
- package/web/chunk-wjv2q7b1.js.br +0 -0
- package/web/chunk-wjv2q7b1.js.gz +0 -0
- package/web/chunk-wydnkdtp.js +0 -89
- package/web/chunk-wydnkdtp.js.br +0 -0
- package/web/chunk-wydnkdtp.js.gz +0 -0
- package/web/chunk-x0zvwdq6.js +0 -2
- package/web/chunk-x0zvwdq6.js.br +0 -0
- package/web/chunk-x0zvwdq6.js.gz +0 -0
- package/web/chunk-x9b1052x.js +0 -2
- package/web/chunk-x9b1052x.js.br +0 -0
- package/web/chunk-x9b1052x.js.gz +0 -0
- package/web/chunk-xwyvptzt.js +0 -2
- package/web/chunk-xwyvptzt.js.br +0 -0
- package/web/chunk-xwyvptzt.js.gz +0 -0
- package/web/chunk-ya7gs2bv.js +0 -1
- package/web/chunk-ya7gs2bv.js.br +0 -0
- package/web/chunk-ya7gs2bv.js.gz +0 -0
- package/web/chunk-yjan9xfw.js +0 -2
- package/web/chunk-yjan9xfw.js.br +0 -0
- package/web/chunk-yjan9xfw.js.gz +0 -0
- package/web/chunk-yqzsx086.js +0 -2
- package/web/chunk-yqzsx086.js.br +0 -0
- package/web/chunk-yqzsx086.js.gz +0 -0
- package/web/chunk-zcetrm2j.js +0 -1
- package/web/chunk-zcetrm2j.js.br +0 -3
- package/web/chunk-zcetrm2j.js.gz +0 -0
- package/web/chunk-zk1ddepw.js +0 -1
- package/web/chunk-zk1ddepw.js.br +0 -0
- package/web/chunk-zk1ddepw.js.gz +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{t,i,d,B,An,Ic,gn,lr,En,ha,pr}from"./chunk-kasv56qe.js";import{Xe,_t,Wt,at,pn,er,se,Be,rn,tr,an,Ba,co,lo,po,Ir,Cn,uo,Dr,wt,Or,Hn,Sn,$r,nr,Br,mo,fo,Fa,Ke,ho,Fr,rr,zr,za,Ha,ar,go,Ua,vo,Mi,un,ja,yo,bo,xo,It,qa,Va,Hr,_o,Ga,x,Yt,dn,Ze,ir,_e}from"./chunk-e8bgrjps.js";import{io,oo,re,ia,xc,so,$a}from"./chunk-zz0d7377.js";import{Ln}from"./chunk-9rf2smk2.js";var hr={};Ln(hr,{default:()=>Z});var Kn=/\s/;function Jn(r){var e=r.length;while(e--&&Kn.test(r.charAt(e)));return e}var ie=Jn;var Zn=/^\s+/;function $n(r){return r?r.slice(0,ie(r)+1).replace(Zn,""):r}var ae=$n;var fe=NaN,Qn=/^[-+]0x[0-9a-f]+$/i,ro=/^0b[01]+$/i,eo=/^0o[0-7]+$/i,to=parseInt;function no(r){if(typeof r=="number")return r;if(pn(r))return fe;if(Be(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=Be(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=ae(r);var n=ro.test(r);return n||eo.test(r)?to(r.slice(2),n?2:8):Qn.test(r)?fe:+r}var ue=no;var de=1/0,ao=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;function wo(r){if(!r)return r===0?r:0;if(r=ue(r),r===de||r===-de){var e=r<0?-1:1;return e*ao}return r===r?r:0}var V=wo;function Eo(r){var e=V(r),n=e%1;return e===e?n?e-n:e:0}var ce=Eo;var pe=Object.create,Oo=function(){function r(){}return function(e){if(!Be(e))return{};if(pe)return pe(e);r.prototype=e;var n=new r;return r.prototype=void 0,n}}(),le=Oo;function Lo(r,e){var n=-1,o=r.length;e||(e=Array(o));while(++n<o)e[n]=r[n];return e}var cr=Lo;function Io(r,e,n){if(e=="__proto__"&&Ba)Ba(r,e,{configurable:!0,enumerable:!0,value:n,writable:!0});else r[e]=n}var R=Io;var So=Object.prototype,No=So.hasOwnProperty;function Po(r,e,n){var o=r[e];if(!(No.call(r,e)&&Cn(o,n))||n===void 0&&!(e in r))R(r,e,n)}var M=Po;function ko(r,e,n,o){var a=!n;n||(n={});var f=-1,s=e.length;while(++f<s){var u=e[f],c=o?o(n[u],r[u],u,n,r):void 0;if(c===void 0)c=r[u];if(a)R(n,u,c);else M(n,u,c)}return n}var P=ko;function To(r,e,n){if(!Be(n))return!1;var o=typeof e;if(o=="number"?wt(n)&&Ir(e,n.length):o=="string"&&(e in n))return Cn(n[e],r);return!1}var T=To;function Co(r){return Dr(function(e,n){var o=-1,a=n.length,f=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;if(f=r.length>3&&typeof f=="function"?(a--,f):void 0,s&&T(n[0],n[1],s))f=a<3?void 0:f,a=1;e=Object(e);while(++o<a){var u=n[o];if(u)r(e,u,o,f)}return e})}var me=Co;function Ao(r){var e=[];if(r!=null)for(var n in Object(r))e.push(n);return e}var he=Ao;var Ro=Object.prototype,Mo=Ro.hasOwnProperty;function jo(r){if(!Be(r))return he(r);var e=Or(r),n=[];for(var o in r)if(!(o=="constructor"&&(e||!Mo.call(r,o))))n.push(o);return n}var ge=jo;function Bo(r){return wt(r)?mo(r,!0):ge(r)}var L=Bo;function Do(r){var e=r==null?0:r.length;return e?Ha(r,1):[]}var S=Do;function Fo(r){return co(uo(r,void 0,S),r+"")}var ve=Fo;var Go=fo(Object.getPrototypeOf,Object),Y=Go;var Xo="[object Object]",Uo=Function.prototype,Vo=Object.prototype,be=Uo.toString,Yo=Vo.hasOwnProperty,zo=be.call(Object);function Wo(r){if(!at(r)||Wt(r)!=Xo)return!1;var e=Y(r);if(e===null)return!0;var n=Yo.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&be.call(n)==zo}var ye=Wo;var qo="\\ud800-\\udfff",Ho="\\u0300-\\u036f",Ko="\\ufe20-\\ufe2f",Jo="\\u20d0-\\u20ff",Zo=Ho+Ko+Jo,$o="\\ufe0e\\ufe0f",Qo="\\u200d",ri=RegExp("["+Qo+qo+Zo+$o+"]");function ei(r){return ri.test(r)}var we=ei;function ti(r,e){return r&&P(e,Ke(e),r)}var Ee=ti;function ni(r,e){return r&&P(e,L(e),r)}var xe=ni;var Se=typeof hr=="object"&&hr&&!hr.nodeType&&hr,Oe=Se&&typeof mr=="object"&&mr&&!mr.nodeType&&mr,oi=Oe&&Oe.exports===Se,Le=oi?Xe.Buffer:void 0,Ie=Le?Le.allocUnsafe:void 0;function ii(r,e){if(e)return r.slice();var n=r.length,o=Ie?Ie(n):new r.constructor(n);return r.copy(o),o}var Z=ii;function ai(r,e){return P(r,Ua(r),e)}var Ne=ai;var fi=Object.getOwnPropertySymbols,si=!fi?go:function(r){var e=[];while(r)za(e,Ua(r)),r=Y(r);return e},gr=si;function ui(r,e){return P(r,gr(r),e)}var Pe=ui;function di(r){return vo(r,L,gr)}var ke=di;var ci=Object.prototype,pi=ci.hasOwnProperty;function li(r){var e=r.length,n=new r.constructor(e);if(e&&typeof r[0]=="string"&&pi.call(r,"index"))n.index=r.index,n.input=r.input;return n}var Te=li;function mi(r){var e=new r.constructor(r.byteLength);return new ja(e).set(new ja(r)),e}var z=mi;function hi(r,e){var n=e?z(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}var Ce=hi;var gi=/\w*$/;function vi(r){var e=new r.constructor(r.source,gi.exec(r));return e.lastIndex=r.lastIndex,e}var Ae=vi;var Re=_t?_t.prototype:void 0,Me=Re?Re.valueOf:void 0;function bi(r){return Me?Object(Me.call(r)):{}}var je=bi;function yi(r,e){var n=e?z(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.length)}var vr=yi;var wi="[object Boolean]",_i="[object Date]",Ei="[object Map]",xi="[object Number]",Oi="[object RegExp]",Li="[object Set]",Ii="[object String]",Si="[object Symbol]",Ni="[object ArrayBuffer]",Pi="[object DataView]",ki="[object Float32Array]",Ti="[object Float64Array]",Ci="[object Int8Array]",Ai="[object Int16Array]",Ri="[object Int32Array]",ji="[object Uint8Array]",Bi="[object Uint8ClampedArray]",Di="[object Uint16Array]",Fi="[object Uint32Array]";function Gi(r,e,n){var o=r.constructor;switch(e){case Ni:return z(r);case wi:case _i:return new o(+r);case Pi:return Ce(r,n);case ki:case Ti:case Ci:case Ai:case Ri:case ji:case Bi:case Di:case Fi:return vr(r,n);case Ei:return new o;case xi:case Ii:return new o(r);case Oi:return Ae(r);case Li:return new o;case Si:return je(r)}}var De=Gi;function Xi(r){return typeof r.constructor=="function"&&!Or(r)?le(Y(r)):{}}var br=Xi;var Ui="[object Map]";function Vi(r){return at(r)&&un(r)==Ui}var Fe=Vi;var Ge=nr&&nr.isMap,Yi=Ge?$r(Ge):Fe,Ue=Yi;var zi="[object Set]";function Wi(r){return at(r)&&un(r)==zi}var Ve=Wi;var Ye=nr&&nr.isSet,qi=Ye?$r(Ye):Ve,ze=qi;var Hi=1,Ki=2,Ji=4,We="[object Arguments]",Zi="[object Array]",$i="[object Boolean]",Qi="[object Date]",ra="[object Error]",qe="[object Function]",ea="[object GeneratorFunction]",ta="[object Map]",na="[object Number]",He="[object Object]",oa="[object RegExp]",aa="[object Set]",fa="[object String]",sa="[object Symbol]",ua="[object WeakMap]",da="[object ArrayBuffer]",ca="[object DataView]",pa="[object Float32Array]",la="[object Float64Array]",ma="[object Int8Array]",ga="[object Int16Array]",va="[object Int32Array]",ba="[object Uint8Array]",ya="[object Uint8ClampedArray]",wa="[object Uint16Array]",_a="[object Uint32Array]",E={};E[We]=E[Zi]=E[da]=E[ca]=E[$i]=E[Qi]=E[pa]=E[la]=E[ma]=E[ga]=E[va]=E[ta]=E[na]=E[He]=E[oa]=E[aa]=E[fa]=E[sa]=E[ba]=E[ya]=E[wa]=E[_a]=!0;E[ra]=E[qe]=E[ua]=!1;function yr(r,e,n,o,a,f){var s,u=e&Hi,c=e&Ki,p=e&Ji;if(n)s=a?n(r,o,a,f):n(r);if(s!==void 0)return s;if(!Be(r))return r;var l=se(r);if(l){if(s=Te(r),!u)return cr(r,s)}else{var m=un(r),h=m==qe||m==ea;if(Sn(r))return Z(r,u);if(m==He||m==We||h&&!a){if(s=c||h?{}:br(r),!u)return c?Pe(r,xe(s,r)):Ne(r,Ee(s,r))}else{if(!E[m])return a?r:{};s=De(r,m,u)}}f||(f=new ar);var v=f.get(r);if(v)return v;if(f.set(r,s),ze(r))r.forEach(function(g){s.add(yr(g,e,n,g,r,f))});else if(Ue(r))r.forEach(function(g,w){s.set(w,yr(g,e,n,w,r,f))});var y=p?c?ke:Mi:c?L:Ke,b=l?void 0:y(r);return lo(b||r,function(g,w){if(b)w=g,g=r[w];M(s,w,yr(g,e,n,w,r,f))}),s}var Je=yr;var Ea=1,xa=4;function Oa(r){return Je(r,Ea|xa)}var $e=Oa;var La=function(){return Xe.Date.now()},Nr=La;var Qe=Object.prototype,Ia=Qe.hasOwnProperty,Sa=Dr(function(r,e){r=Object(r);var n=-1,o=e.length,a=o>2?e[2]:void 0;if(a&&T(e[0],e[1],a))o=1;while(++n<o){var f=e[n],s=L(f),u=-1,c=s.length;while(++u<c){var p=s[u],l=r[p];if(l===void 0||Cn(l,Qe[p])&&!Ia.call(r,p))r[p]=f[p]}}return r}),rt=Sa;function Na(r,e,n){if(n!==void 0&&!Cn(r[e],n)||n===void 0&&!(e in r))R(r,e,n)}var Q=Na;function Pa(r,e){if(e==="constructor"&&typeof r[e]==="function")return;if(e=="__proto__")return;return r[e]}var or=Pa;function ka(r){return P(r,L(r))}var et=ka;function Ta(r,e,n,o,a,f,s){var u=or(r,n),c=or(e,n),p=s.get(c);if(p){Q(r,n,p);return}var l=f?f(u,c,n+"",r,e,s):void 0,m=l===void 0;if(m){var h=se(c),v=!h&&Sn(c),y=!h&&!v&&Br(c);if(l=c,h||v||y)if(se(u))l=u;else if(_o(u))l=cr(u);else if(v)m=!1,l=Z(c,!0);else if(y)m=!1,l=vr(c,!0);else l=[];else if(ye(c)||Hn(c)){if(l=u,Hn(u))l=et(u);else if(!Be(u)||tr(u))l=br(c)}else m=!1}if(m)s.set(c,l),a(l,c,o,f,s),s.delete(c);Q(r,n,l)}var tt=Ta;function nt(r,e,n,o,a){if(r===e)return;qa(e,function(f,s){if(a||(a=new ar),Be(f))tt(r,e,s,n,nt,o,a);else{var u=o?o(or(r,s),f,s+"",r,e,a):void 0;if(u===void 0)u=f;Q(r,s,u)}},L)}var ot=nt;function Ca(r){var e=r==null?0:r.length;return e?r[e-1]:void 0}var X=Ca;function Aa(r){return function(e,n,o){var a=Object(e);if(!wt(e)){var f=It(n,3);e=Ke(e),n=function(u){return f(a[u],u,a)}}var s=r(e,n,o);return s>-1?a[f?e[s]:s]:void 0}}var it=Aa;var Ra=Math.max;function Ma(r,e,n){var o=r==null?0:r.length;if(!o)return-1;var a=n==null?0:ce(n);if(a<0)a=Ra(o+a,0);return po(r,It(e,3),a)}var ft=Ma;var Da=it(ft),fr=Da;function Xa(r,e){var n=-1,o=wt(r)?Array(r.length):[];return Hr(r,function(a,f,s){o[++n]=e(a,f,s)}),o}var wr=Xa;function Ya(r,e){var n=se(r)?er:wr;return n(r,It(e,3))}var _=Ya;function Wa(r,e){return r==null?r:qa(r,Ga(e),L)}var st=Wa;function Ka(r,e){return r&&Va(r,Ga(e))}var ut=Ka;function Ja(r,e){return r>e}var dt=Ja;var Za=Object.prototype,Qa=Za.hasOwnProperty;function rf(r,e){return r!=null&&Qa.call(r,e)}var ct=rf;function ef(r,e){return r!=null&&yo(r,e,ct)}var _r=ef;var tf="[object String]";function nf(r){return typeof r=="string"||!se(r)&&at(r)&&Wt(r)==tf}var pt=nf;function of(r,e){return r<e}var Er=of;function af(r,e){var n={};return e=It(e,3),Va(r,function(o,a,f){R(n,a,e(o,a,f))}),n}var W=af;function ff(r,e,n){var o=-1,a=r.length;while(++o<a){var f=r[o],s=e(f);if(s!=null&&(u===void 0?s===s&&!pn(s):n(s,u)))var u=s,c=f}return c}var q=ff;function sf(r){return r&&r.length?q(r,rn,dt):void 0}var I=sf;var uf=me(function(r,e,n){ot(r,e,n)}),sr=uf;function df(r){return r&&r.length?q(r,rn,Er):void 0}var j=df;function cf(r,e){return r&&r.length?q(r,It(e,2),Er):void 0}var H=cf;function pf(r,e,n,o){if(!Be(r))return r;e=Fr(e,r);var a=-1,f=e.length,s=f-1,u=r;while(u!=null&&++a<f){var c=rr(e[a]),p=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return r;if(a!=s){var l=u[c];if(p=o?o(l,c,u):void 0,p===void 0)p=Be(l)?l:Ir(e[a+1])?[]:{}}M(u,c,p),u=u[c]}return r}var lt=pf;function lf(r,e,n){var o=-1,a=e.length,f={};while(++o<a){var s=e[o],u=zr(r,s);if(n(u,s))lt(f,Fr(s,r),u)}return f}var mt=lf;function mf(r,e){var n=r.length;r.sort(e);while(n--)r[n]=r[n].value;return r}var ht=mf;function hf(r,e){if(r!==e){var n=r!==void 0,o=r===null,a=r===r,f=pn(r),s=e!==void 0,u=e===null,c=e===e,p=pn(e);if(!u&&!p&&!f&&r>e||f&&s&&c&&!u&&!p||o&&s&&c||!n&&c||!a)return 1;if(!o&&!f&&!p&&r<e||p&&n&&a&&!o&&!f||u&&n&&a||!s&&a||!c)return-1}return 0}var gt=hf;function gf(r,e,n){var o=-1,a=r.criteria,f=e.criteria,s=a.length,u=n.length;while(++o<s){var c=gt(a[o],f[o]);if(c){if(o>=u)return c;var p=n[o];return c*(p=="desc"?-1:1)}}return r.index-e.index}var vt=gf;function vf(r,e,n){if(e.length)e=er(e,function(f){if(se(f))return function(s){return zr(s,f.length===1?f[0]:f)};return f});else e=[rn];var o=-1;e=er(e,$r(It));var a=wr(r,function(f,s,u){var c=er(e,function(p){return p(f)});return{criteria:c,index:++o,value:f}});return ht(a,function(f,s){return vt(f,s,n)})}var bt=vf;var bf=xo("length"),yt=bf;var xt="\\ud800-\\udfff",yf="\\u0300-\\u036f",wf="\\ufe20-\\ufe2f",_f="\\u20d0-\\u20ff",Ef=yf+wf+_f,xf="\\ufe0e\\ufe0f",Of="["+xt+"]",Pr="["+Ef+"]",kr="\\ud83c[\\udffb-\\udfff]",Lf="(?:"+Pr+"|"+kr+")",Ot="[^"+xt+"]",Lt="(?:\\ud83c[\\udde6-\\uddff]){2}",St="[\\ud800-\\udbff][\\udc00-\\udfff]",If="\\u200d",Nt=Lf+"?",Pt="["+xf+"]?",Sf="(?:"+If+"(?:"+[Ot,Lt,St].join("|")+")"+Pt+Nt+")*",Nf=Pt+Nt+Sf,Pf="(?:"+[Ot+Pr+"?",Pr,Lt,St,Of].join("|")+")",Et=RegExp(kr+"(?="+kr+")|"+Pf+Nf,"g");function kf(r){var e=Et.lastIndex=0;while(Et.test(r))++e;return e}var kt=kf;function Tf(r){return we(r)?kt(r):yt(r)}var Tt=Tf;function Cf(r,e){return mt(r,e,function(n,o){return bo(r,o)})}var Ct=Cf;var Af=ve(function(r,e){return r==null?{}:Ct(r,e)}),K=Af;var{ceil:Rf,max:Mf}=Math;function jf(r,e,n,o){var a=-1,f=Mf(Rf((e-r)/(n||1)),0),s=Array(f);while(f--)s[o?f:++a]=r,r+=n;return s}var At=jf;function Bf(r){return function(e,n,o){if(o&&typeof o!="number"&&T(e,n,o))n=o=void 0;if(e=V(e),n===void 0)n=e,e=0;else n=V(n);return o=o===void 0?e<n?1:-1:V(o),At(e,n,o,r)}}var Rt=Bf;var Df=Rt(),N=Df;var Ff="[object Map]",Gf="[object Set]";function Xf(r){if(r==null)return 0;if(wt(r))return pt(r)?Tt(r):r.length;var e=un(r);if(e==Ff||e==Gf)return r.size;return Fa(r).length}var Mt=Xf;var Uf=Dr(function(r,e){if(r==null)return[];var n=e.length;if(n>1&&T(r,e[0],e[1]))e=[];else if(n>2&&T(e[0],e[1],e[2]))e=[e[0]];return bt(r,Ha(e,1),[])}),C=Uf;var Vf=0;function Yf(r){var e=++Vf;return ho(r)+e}var J=Yf;function zf(r,e,n){var o=-1,a=r.length,f=e.length,s={};while(++o<a){var u=o<f?e[o]:void 0;n(s,r[o],u)}return s}var jt=zf;function Wf(r,e){return jt(r||[],e||[],M)}var Tr=Wf;class Cr{constructor(){var r={};r._next=r._prev=r,this._sentinel=r}dequeue(){var r=this._sentinel,e=r._prev;if(e!==r)return Bt(e),e}enqueue(r){var e=this._sentinel;if(r._prev&&r._next)Bt(r);r._next=e._next,e._next._prev=r,e._next=r,r._prev=e}toString(){var r=[],e=this._sentinel,n=e._prev;while(n!==e)r.push(JSON.stringify(n,qf)),n=n._prev;return"["+r.join(", ")+"]"}}function Bt(r){r._prev._next=r._next,r._next._prev=r._prev,delete r._next,delete r._prev}function qf(r,e){if(r!=="_next"&&r!=="_prev")return e}var Hf=an(1);function Dt(r,e){if(r.nodeCount()<=1)return[];var n=Jf(r,e||Hf),o=Kf(n.graph,n.buckets,n.zeroIdx);return S(_(o,function(a){return r.outEdges(a.v,a.w)}))}function Kf(r,e,n){var o=[],a=e[e.length-1],f=e[0],s;while(r.nodeCount()){while(s=f.dequeue())Ar(r,e,n,s);while(s=a.dequeue())Ar(r,e,n,s);if(r.nodeCount()){for(var u=e.length-2;u>0;--u)if(s=e[u].dequeue(),s){o=o.concat(Ar(r,e,n,s,!0));break}}}return o}function Ar(r,e,n,o,a){var f=a?[]:void 0;return x(r.inEdges(o.v),function(s){var u=r.edge(s),c=r.node(s.v);if(a)f.push({v:s.v,w:s.w});c.out-=u,Rr(e,n,c)}),x(r.outEdges(o.v),function(s){var u=r.edge(s),c=s.w,p=r.node(c);p.in-=u,Rr(e,n,p)}),r.removeNode(o.v),f}function Jf(r,e){var n=new _e,o=0,a=0;x(r.nodes(),function(u){n.setNode(u,{v:u,in:0,out:0})}),x(r.edges(),function(u){var c=n.edge(u.v,u.w)||0,p=e(u),l=c+p;n.setEdge(u.v,u.w,l),a=Math.max(a,n.node(u.v).out+=p),o=Math.max(o,n.node(u.w).in+=p)});var f=N(a+o+3).map(function(){return new Cr}),s=o+1;return x(n.nodes(),function(u){Rr(f,s,n.node(u))}),{graph:n,buckets:f,zeroIdx:s}}function Rr(r,e,n){if(!n.out)r[0].enqueue(n);else if(!n.in)r[r.length-1].enqueue(n);else r[n.out-n.in+e].enqueue(n)}function Ft(r){var e=r.graph().acyclicer==="greedy"?Dt(r,n(r)):Zf(r);x(e,function(o){var a=r.edge(o);r.removeEdge(o),a.forwardName=o.name,a.reversed=!0,r.setEdge(o.w,o.v,a,J("rev"))});function n(o){return function(a){return o.edge(a).weight}}}function Zf(r){var e=[],n={},o={};function a(f){if(Object.prototype.hasOwnProperty.call(o,f))return;o[f]=!0,n[f]=!0,x(r.outEdges(f),function(s){if(Object.prototype.hasOwnProperty.call(n,s.w))e.push(s);else a(s.w)}),delete n[f]}return x(r.nodes(),a),e}function Gt(r){x(r.edges(),function(e){var n=r.edge(e);if(n.reversed){r.removeEdge(e);var o=n.forwardName;delete n.reversed,delete n.forwardName,r.setEdge(e.w,e.v,n,o)}})}function k(r,e,n,o){var a;do a=J(o);while(r.hasNode(a));return n.dummy=e,r.setNode(a,n),a}function Ut(r){var e=new _e().setGraph(r.graph());return x(r.nodes(),function(n){e.setNode(n,r.node(n))}),x(r.edges(),function(n){var o=e.edge(n.v,n.w)||{weight:0,minlen:1},a=r.edge(n);e.setEdge(n.v,n.w,{weight:o.weight+a.weight,minlen:Math.max(o.minlen,a.minlen)})}),e}function xr(r){var e=new _e({multigraph:r.isMultigraph()}).setGraph(r.graph());return x(r.nodes(),function(n){if(!r.children(n).length)e.setNode(n,r.node(n))}),x(r.edges(),function(n){e.setEdge(n,r.edge(n))}),e}function Mr(r,e){var{x:n,y:o}=r,a=e.x-n,f=e.y-o,s=r.width/2,u=r.height/2;if(!a&&!f)throw Error("Not possible to find intersection inside of the rectangle");var c,p;if(Math.abs(f)*s>Math.abs(a)*u){if(f<0)u=-u;c=u*a/f,p=u}else{if(a<0)s=-s;c=s,p=s*f/a}return{x:n+c,y:o+p}}function D(r){var e=_(N(Gr(r)+1),function(){return[]});return x(r.nodes(),function(n){var o=r.node(n),a=o.rank;if(!Ze(a))e[a][o.order]=n}),e}function Vt(r){var e=j(_(r.nodes(),function(n){return r.node(n).rank}));x(r.nodes(),function(n){var o=r.node(n);if(_r(o,"rank"))o.rank-=e})}function zt(r){var e=j(_(r.nodes(),function(f){return r.node(f).rank})),n=[];x(r.nodes(),function(f){var s=r.node(f).rank-e;if(!n[s])n[s]=[];n[s].push(f)});var o=0,a=r.graph().nodeRankFactor;x(n,function(f,s){if(Ze(f)&&s%a!==0)--o;else if(o)x(f,function(u){r.node(u).rank+=o})})}function jr(r,e,n,o){var a={width:0,height:0};if(arguments.length>=4)a.rank=n,a.order=o;return k(r,"border",a,e)}function Gr(r){return I(_(r.nodes(),function(e){var n=r.node(e).rank;if(!Ze(n))return n}))}function qt(r,e){var n={lhs:[],rhs:[]};return x(r,function(o){if(e(o))n.lhs.push(o);else n.rhs.push(o)}),n}function Ht(r,e){var n=Nr();try{return e()}finally{console.log(r+" time: "+(Nr()-n)+"ms")}}function Kt(r,e){return e()}function Zt(r){function e(n){var o=r.children(n),a=r.node(n);if(o.length)x(o,e);if(Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var f=a.minRank,s=a.maxRank+1;f<s;++f)Jt(r,"borderLeft","_bl",n,a,f),Jt(r,"borderRight","_br",n,a,f)}}x(r.children(),e)}function Jt(r,e,n,o,a,f){var s={width:0,height:0,rank:f,borderType:e},u=a[e][f-1],c=k(r,"border",s,n);if(a[e][f]=c,r.setParent(c,o),u)r.setEdge(u,c,{weight:1})}function Qt(r){var e=r.graph().rankdir.toLowerCase();if(e==="lr"||e==="rl")tn(r)}function en(r){var e=r.graph().rankdir.toLowerCase();if(e==="bt"||e==="rl")$f(r);if(e==="lr"||e==="rl")Qf(r),tn(r)}function tn(r){x(r.nodes(),function(e){$t(r.node(e))}),x(r.edges(),function(e){$t(r.edge(e))})}function $t(r){var e=r.width;r.width=r.height,r.height=e}function $f(r){x(r.nodes(),function(e){Xr(r.node(e))}),x(r.edges(),function(e){var n=r.edge(e);if(x(n.points,Xr),Object.prototype.hasOwnProperty.call(n,"y"))Xr(n)})}function Xr(r){r.y=-r.y}function Qf(r){x(r.nodes(),function(e){Ur(r.node(e))}),x(r.edges(),function(e){var n=r.edge(e);if(x(n.points,Ur),Object.prototype.hasOwnProperty.call(n,"x"))Ur(n)})}function Ur(r){var e=r.x;r.x=r.y,r.y=e}function nn(r){r.graph().dummyChains=[],x(r.edges(),function(e){es(r,e)})}function es(r,e){var n=e.v,o=r.node(n).rank,a=e.w,f=r.node(a).rank,s=e.name,u=r.edge(e),c=u.labelRank;if(f===o+1)return;r.removeEdge(e);var p=void 0,l,m;for(m=0,++o;o<f;++m,++o){if(u.points=[],p={width:0,height:0,edgeLabel:u,edgeObj:e,rank:o},l=k(r,"edge",p,"_d"),o===c)p.width=u.width,p.height=u.height,p.dummy="edge-label",p.labelpos=u.labelpos;if(r.setEdge(n,l,{weight:u.weight},s),m===0)r.graph().dummyChains.push(l);n=l}r.setEdge(n,a,{weight:u.weight},s)}function on(r){x(r.graph().dummyChains,function(e){var n=r.node(e),o=n.edgeLabel,a;r.setEdge(n.edgeObj,o);while(n.dummy){if(a=r.successors(e)[0],r.removeNode(e),o.points.push({x:n.x,y:n.y}),n.dummy==="edge-label")o.x=n.x,o.y=n.y,o.width=n.width,o.height=n.height;e=a,n=r.node(e)}})}function ur(r){var e={};function n(o){var a=r.node(o);if(Object.prototype.hasOwnProperty.call(e,o))return a.rank;e[o]=!0;var f=j(_(r.outEdges(o),function(s){return n(s.w)-r.edge(s).minlen}));if(f===Number.POSITIVE_INFINITY||f===void 0||f===null)f=0;return a.rank=f}x(r.sources(),n)}function U(r,e){return r.node(e.w).rank-r.node(e.v).rank-r.edge(e).minlen}function Lr(r){var e=new _e({directed:!1}),n=r.nodes()[0],o=r.nodeCount();e.setNode(n,{});var a,f;while(ts(e,r)<o)a=ns(e,r),f=e.hasNode(a.v)?U(r,a):-U(r,a),os(e,r,f);return e}function ts(r,e){function n(o){x(e.nodeEdges(o),function(a){var f=a.v,s=o===f?a.w:f;if(!r.hasNode(s)&&!U(e,a))r.setNode(s,{}),r.setEdge(o,s,{}),n(s)})}return x(r.nodes(),n),r.nodeCount()}function ns(r,e){return H(e.edges(),function(n){if(r.hasNode(n.v)!==r.hasNode(n.w))return U(e,n)})}function os(r,e,n){x(r.nodes(),function(o){e.node(o).rank+=n})}var dh=an(1);var vh=an(1);Vr.CycleException=dr;function Vr(r){var e={},n={},o=[];function a(f){if(Object.prototype.hasOwnProperty.call(n,f))throw new dr;if(!Object.prototype.hasOwnProperty.call(e,f))n[f]=!0,e[f]=!0,x(r.predecessors(f),a),delete n[f],o.push(f)}if(x(r.sinks(),a),Mt(e)!==r.nodeCount())throw new dr;return o}function dr(){}dr.prototype=Error();function Sr(r,e,n){if(!se(e))e=[e];var o=(r.isDirected()?r.successors:r.neighbors).bind(r),a=[],f={};return x(e,function(s){if(!r.hasNode(s))throw Error("Graph does not have node: "+s);sn(r,s,n==="post",f,o,a)}),a}function sn(r,e,n,o,a,f){if(!Object.prototype.hasOwnProperty.call(o,e)){if(o[e]=!0,!n)f.push(e);if(x(a(e),function(s){sn(r,s,n,o,a,f)}),n)f.push(e)}}function Yr(r,e){return Sr(r,e,"post")}function Wr(r,e){return Sr(r,e,"pre")}G.initLowLimValues=Kr;G.initCutValues=qr;G.calcCutValue=ln;G.leaveEdge=hn;G.enterEdge=vn;G.exchangeEdges=bn;function G(r){r=Ut(r),ur(r);var e=Lr(r);Kr(e),qr(e,r);var n,o;while(n=hn(e))o=vn(e,r,n),bn(e,r,n,o)}function qr(r,e){var n=Yr(r,r.nodes());n=n.slice(0,n.length-1),x(n,function(o){us(r,e,o)})}function us(r,e,n){var o=r.node(n),a=o.parent;r.edge(n,a).cutvalue=ln(r,e,n)}function ln(r,e,n){var o=r.node(n),a=o.parent,f=!0,s=e.edge(n,a),u=0;if(!s)f=!1,s=e.edge(a,n);return u=s.weight,x(e.nodeEdges(n),function(c){var p=c.v===n,l=p?c.w:c.v;if(l!==a){var m=p===f,h=e.edge(c).weight;if(u+=m?h:-h,cs(r,n,l)){var v=r.edge(n,l).cutvalue;u+=m?-v:v}}}),u}function Kr(r,e){if(arguments.length<2)e=r.nodes()[0];mn(r,{},1,e)}function mn(r,e,n,o,a){var f=n,s=r.node(o);if(e[o]=!0,x(r.neighbors(o),function(u){if(!Object.prototype.hasOwnProperty.call(e,u))n=mn(r,e,n,u,o)}),s.low=f,s.lim=n++,a)s.parent=a;else delete s.parent;return n}function hn(r){return fr(r.edges(),function(e){return r.edge(e).cutvalue<0})}function vn(r,e,n){var{v:o,w:a}=n;if(!e.hasEdge(o,a))o=n.w,a=n.v;var f=r.node(o),s=r.node(a),u=f,c=!1;if(f.lim>s.lim)u=s,c=!0;var p=Yt(e.edges(),function(l){return c===cn(r,r.node(l.v),u)&&c!==cn(r,r.node(l.w),u)});return H(p,function(l){return U(e,l)})}function bn(r,e,n,o){var{v:a,w:f}=n;r.removeEdge(a,f),r.setEdge(o.v,o.w,{}),Kr(r),qr(r,e),ds(r,e)}function ds(r,e){var n=fr(r.nodes(),function(a){return!e.node(a).parent}),o=Wr(r,n);o=o.slice(1),x(o,function(a){var f=r.node(a).parent,s=e.edge(a,f),u=!1;if(!s)s=e.edge(f,a),u=!0;e.node(a).rank=e.node(f).rank+(u?s.minlen:-s.minlen)})}function cs(r,e,n){return r.hasEdge(e,n)}function cn(r,e,n){return n.low<=e.lim&&e.lim<=n.lim}function Jr(r){switch(r.graph().ranker){case"network-simplex":yn(r);break;case"tight-tree":ls(r);break;case"longest-path":ps(r);break;default:yn(r)}}var ps=ur;function ls(r){ur(r),Lr(r)}function yn(r){G(r)}function wn(r){var e=k(r,"root",{},"_root"),n=ms(r),o=I(dn(n))-1,a=2*o+1;r.graph().nestingRoot=e,x(r.edges(),function(s){r.edge(s).minlen*=a});var f=hs(r)+1;x(r.children(),function(s){_n(r,e,a,f,o,n,s)}),r.graph().nodeRankFactor=a}function _n(r,e,n,o,a,f,s){var u=r.children(s);if(!u.length){if(s!==e)r.setEdge(e,s,{weight:0,minlen:n});return}var c=jr(r,"_bt"),p=jr(r,"_bb"),l=r.node(s);if(r.setParent(c,s),l.borderTop=c,r.setParent(p,s),l.borderBottom=p,x(u,function(m){_n(r,e,n,o,a,f,m);var h=r.node(m),v=h.borderTop?h.borderTop:m,y=h.borderBottom?h.borderBottom:m,b=h.borderTop?o:2*o,g=v!==y?1:a-f[s]+1;r.setEdge(c,v,{weight:b,minlen:g,nestingEdge:!0}),r.setEdge(y,p,{weight:b,minlen:g,nestingEdge:!0})}),!r.parent(s))r.setEdge(e,c,{weight:0,minlen:a+f[s]})}function ms(r){var e={};function n(o,a){var f=r.children(o);if(f&&f.length)x(f,function(s){n(s,a+1)});e[o]=a}return x(r.children(),function(o){n(o,1)}),e}function hs(r){return ir(r.edges(),function(e,n){return e+r.edge(n).weight},0)}function xn(r){var e=r.graph();r.removeNode(e.nestingRoot),delete e.nestingRoot,x(r.edges(),function(n){var o=r.edge(n);if(o.nestingEdge)r.removeEdge(n)})}function On(r,e,n){var o={},a;x(n,function(f){var s=r.parent(f),u,c;while(s){if(u=r.parent(s),u)c=o[u],o[u]=s;else c=a,a=s;if(c&&c!==s){e.setEdge(c,s);return}s=u}})}function In(r,e,n){var o=vs(r),a=new _e({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(f){return r.node(f)});return x(r.nodes(),function(f){var s=r.node(f),u=r.parent(f);if(s.rank===e||s.minRank<=e&&e<=s.maxRank){if(a.setNode(f),a.setParent(f,u||o),x(r[n](f),function(c){var p=c.v===f?c.w:c.v,l=a.edge(p,f),m=!Ze(l)?l.weight:0;a.setEdge(p,f,{weight:r.edge(c).weight+m})}),Object.prototype.hasOwnProperty.call(s,"minRank"))a.setNode(f,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]})}}),a}function vs(r){var e;while(r.hasNode(e=J("_root")));return e}function Nn(r,e){var n=0;for(var o=1;o<e.length;++o)n+=bs(r,e[o-1],e[o]);return n}function bs(r,e,n){var o=Tr(n,_(n,function(p,l){return l})),a=S(_(e,function(p){return C(_(r.outEdges(p),function(l){return{pos:o[l.w],weight:r.edge(l).weight}}),"pos")})),f=1;while(f<n.length)f<<=1;var s=2*f-1;f-=1;var u=_(Array(s),function(){return 0}),c=0;return x(a.forEach(function(p){var l=p.pos+f;u[l]+=p.weight;var m=0;while(l>0){if(l%2)m+=u[l+1];l=l-1>>1,u[l]+=p.weight}c+=p.weight*m})),c}function Pn(r){var e={},n=Yt(r.nodes(),function(u){return!r.children(u).length}),o=I(_(n,function(u){return r.node(u).rank})),a=_(N(o+1),function(){return[]});function f(u){if(_r(e,u))return;e[u]=!0;var c=r.node(u);a[c.rank].push(u),x(r.successors(u),f)}var s=C(n,function(u){return r.node(u).rank});return x(s,f),a}function kn(r,e){return _(e,function(n){var o=r.inEdges(n);if(!o.length)return{v:n};else{var a=ir(o,function(f,s){var u=r.edge(s),c=r.node(s.v);return{sum:f.sum+u.weight*c.order,weight:f.weight+u.weight}},{sum:0,weight:0});return{v:n,barycenter:a.sum/a.weight,weight:a.weight}}})}function Tn(r,e){var n={};x(r,function(a,f){var s=n[a.v]={indegree:0,in:[],out:[],vs:[a.v],i:f};if(!Ze(a.barycenter))s.barycenter=a.barycenter,s.weight=a.weight}),x(e.edges(),function(a){var f=n[a.v],s=n[a.w];if(!Ze(f)&&!Ze(s))s.indegree++,f.out.push(n[a.w])});var o=Yt(n,function(a){return!a.indegree});return ys(o)}function ys(r){var e=[];function n(f){return function(s){if(s.merged)return;if(Ze(s.barycenter)||Ze(f.barycenter)||s.barycenter>=f.barycenter)ws(f,s)}}function o(f){return function(s){if(s.in.push(f),--s.indegree===0)r.push(s)}}while(r.length){var a=r.pop();e.push(a),x(a.in.reverse(),n(a)),x(a.out,o(a))}return _(Yt(e,function(f){return!f.merged}),function(f){return K(f,["vs","i","barycenter","weight"])})}function ws(r,e){var n=0,o=0;if(r.weight)n+=r.barycenter*r.weight,o+=r.weight;if(e.weight)n+=e.barycenter*e.weight,o+=e.weight;r.vs=e.vs.concat(r.vs),r.barycenter=n/o,r.weight=o,r.i=Math.min(e.i,r.i),e.merged=!0}function Mn(r,e){var n=qt(r,function(l){return Object.prototype.hasOwnProperty.call(l,"barycenter")}),o=n.lhs,a=C(n.rhs,function(l){return-l.i}),f=[],s=0,u=0,c=0;o.sort(_s(!!e)),c=Rn(f,a,c),x(o,function(l){c+=l.vs.length,f.push(l.vs),s+=l.barycenter*l.weight,u+=l.weight,c=Rn(f,a,c)});var p={vs:S(f)};if(u)p.barycenter=s/u,p.weight=u;return p}function Rn(r,e,n){var o;while(e.length&&(o=X(e)).i<=n)e.pop(),r.push(o.vs),n++;return n}function _s(r){return function(e,n){if(e.barycenter<n.barycenter)return-1;else if(e.barycenter>n.barycenter)return 1;return!r?e.i-n.i:n.i-e.i}}function Zr(r,e,n,o){var a=r.children(e),f=r.node(e),s=f?f.borderLeft:void 0,u=f?f.borderRight:void 0,c={};if(s)a=Yt(a,function(y){return y!==s&&y!==u});var p=kn(r,a);x(p,function(y){if(r.children(y.v).length){var b=Zr(r,y.v,n,o);if(c[y.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter"))xs(y,b)}});var l=Tn(p,n);Es(l,c);var m=Mn(l,o);if(s){if(m.vs=S([s,m.vs,u]),r.predecessors(s).length){var h=r.node(r.predecessors(s)[0]),v=r.node(r.predecessors(u)[0]);if(!Object.prototype.hasOwnProperty.call(m,"barycenter"))m.barycenter=0,m.weight=0;m.barycenter=(m.barycenter*m.weight+h.order+v.order)/(m.weight+2),m.weight+=2}}return m}function Es(r,e){x(r,function(n){n.vs=S(n.vs.map(function(o){if(e[o])return e[o].vs;return o}))})}function xs(r,e){if(!Ze(r.barycenter))r.barycenter=(r.barycenter*r.weight+e.barycenter*e.weight)/(r.weight+e.weight),r.weight+=e.weight;else r.barycenter=e.barycenter,r.weight=e.weight}function Dn(r){var e=Gr(r),n=jn(r,N(1,e+1),"inEdges"),o=jn(r,N(e-1,-1,-1),"outEdges"),a=Pn(r);Bn(r,a);var f=Number.POSITIVE_INFINITY,s;for(var u=0,c=0;c<4;++u,++c){Os(u%2?n:o,u%4>=2),a=D(r);var p=Nn(r,a);if(p<f)c=0,s=$e(a),f=p}Bn(r,s)}function jn(r,e,n){return _(e,function(o){return In(r,o,n)})}function Os(r,e){var n=new _e;x(r,function(o){var a=o.graph().root,f=Zr(o,a,n,e);x(f.vs,function(s,u){o.node(s).order=u}),On(o,n,f.vs)})}function Bn(r,e){x(e,function(n){x(n,function(o,a){r.node(o).order=a})})}function Fn(r){var e=Is(r);x(r.graph().dummyChains,function(n){var o=r.node(n),a=o.edgeObj,f=Ls(r,e,a.v,a.w),{path:s,lca:u}=f,c=0,p=s[c],l=!0;while(n!==a.w){if(o=r.node(n),l){while((p=s[c])!==u&&r.node(p).maxRank<o.rank)c++;if(p===u)l=!1}if(!l){while(c<s.length-1&&r.node(p=s[c+1]).minRank<=o.rank)c++;p=s[c]}r.setParent(n,p),n=r.successors(n)[0]}})}function Ls(r,e,n,o){var a=[],f=[],s=Math.min(e[n].low,e[o].low),u=Math.max(e[n].lim,e[o].lim),c,p;c=n;do c=r.parent(c),a.push(c);while(c&&(e[c].low>s||u>e[c].lim));p=c,c=o;while((c=r.parent(c))!==p)f.push(c);return{path:a.concat(f.reverse()),lca:p}}function Is(r){var e={},n=0;function o(a){var f=n;x(r.children(a),o),e[a]={low:f,lim:n++}}return x(r.children(),o),e}function Ss(r,e){var n={};function o(a,f){var s=0,u=0,c=a.length,p=X(f);return x(f,function(l,m){var h=Ps(r,l),v=h?r.node(h).order:c;if(h||l===p)x(f.slice(u,m+1),function(y){x(r.predecessors(y),function(b){var g=r.node(b),w=g.order;if((w<s||v<w)&&!(g.dummy&&r.node(y).dummy))Gn(n,b,y)})}),u=m+1,s=v}),f}return ir(e,o),n}function Ns(r,e){var n={};function o(f,s,u,c,p){var l;x(N(s,u),function(m){if(l=f[m],r.node(l).dummy)x(r.predecessors(l),function(h){var v=r.node(h);if(v.dummy&&(v.order<c||v.order>p))Gn(n,h,l)})})}function a(f,s){var u=-1,c,p=0;return x(s,function(l,m){if(r.node(l).dummy==="border"){var h=r.predecessors(l);if(h.length)c=r.node(h[0]).order,o(s,p,m,u,c),p=m,u=c}o(s,p,s.length,c,f.length)}),s}return ir(e,a),n}function Ps(r,e){if(r.node(e).dummy)return fr(r.predecessors(e),function(n){return r.node(n).dummy})}function Gn(r,e,n){if(e>n){var o=e;e=n,n=o}if(!Object.prototype.hasOwnProperty.call(r,e))Object.defineProperty(r,e,{enumerable:!0,configurable:!0,value:{},writable:!0});var a=r[e];Object.defineProperty(a,n,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function ks(r,e,n){if(e>n){var o=e;e=n,n=o}return!!r[e]&&Object.prototype.hasOwnProperty.call(r[e],n)}function Ts(r,e,n,o){var a={},f={},s={};return x(e,function(u){x(u,function(c,p){a[c]=c,f[c]=c,s[c]=p})}),x(e,function(u){var c=-1;x(u,function(p){var l=o(p);if(l.length){l=C(l,function(b){return s[b]});var m=(l.length-1)/2;for(var h=Math.floor(m),v=Math.ceil(m);h<=v;++h){var y=l[h];if(f[p]===p&&c<s[y]&&!ks(n,p,y))f[y]=p,f[p]=a[p]=a[y],c=s[y]}}})}),{root:a,align:f}}function Cs(r,e,n,o,a){var f={},s=As(r,e,n,a),u=a?"borderLeft":"borderRight";function c(m,h){var v=s.nodes(),y=v.pop(),b={};while(y){if(b[y])m(y);else b[y]=!0,v.push(y),v=v.concat(h(y));y=v.pop()}}function p(m){f[m]=s.inEdges(m).reduce(function(h,v){return Math.max(h,f[v.v]+s.edge(v))},0)}function l(m){var h=s.outEdges(m).reduce(function(y,b){return Math.min(y,f[b.w]-s.edge(b))},Number.POSITIVE_INFINITY),v=r.node(m);if(h!==Number.POSITIVE_INFINITY&&v.borderType!==u)f[m]=Math.max(f[m],h)}return c(p,s.predecessors.bind(s)),c(l,s.successors.bind(s)),x(o,function(m){f[m]=f[n[m]]}),f}function As(r,e,n,o){var a=new _e,f=r.graph(),s=Bs(f.nodesep,f.edgesep,o);return x(e,function(u){var c;x(u,function(p){var l=n[p];if(a.setNode(l),c){var m=n[c],h=a.edge(m,l);a.setEdge(m,l,Math.max(s(r,p,c),h||0))}c=p})}),a}function Rs(r,e){return H(dn(e),function(n){var{NEGATIVE_INFINITY:o,POSITIVE_INFINITY:a}=Number;return st(n,function(f,s){var u=Ds(r,s)/2;o=Math.max(f+u,o),a=Math.min(f-u,a)}),o-a})}function Ms(r,e){var n=dn(e),o=j(n),a=I(n);x(["u","d"],function(f){x(["l","r"],function(s){var u=f+s,c=r[u],p;if(c===e)return;var l=dn(c);if(p=s==="l"?o-j(l):a-I(l),p)r[u]=W(c,function(m){return m+p})})})}function js(r,e){return W(r.ul,function(n,o){if(e)return r[e.toLowerCase()][o];else{var a=C(_(r,o));return(a[1]+a[2])/2}})}function Xn(r){var e=D(r),n=sr(Ss(r,e),Ns(r,e)),o={},a;x(["u","d"],function(s){a=s==="u"?e:dn(e).reverse(),x(["l","r"],function(u){if(u==="r")a=_(a,function(m){return dn(m).reverse()});var c=(s==="u"?r.predecessors:r.successors).bind(r),p=Ts(r,a,n,c),l=Cs(r,a,p.root,p.align,u==="r");if(u==="r")l=W(l,function(m){return-m});o[s+u]=l})});var f=Rs(r,o);return Ms(o,f),js(o,r.graph().align)}function Bs(r,e,n){return function(o,a,f){var s=o.node(a),u=o.node(f),c=0,p;if(c+=s.width/2,Object.prototype.hasOwnProperty.call(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":p=-s.width/2;break;case"r":p=s.width/2;break}if(p)c+=n?p:-p;if(p=0,c+=(s.dummy?e:r)/2,c+=(u.dummy?e:r)/2,c+=u.width/2,Object.prototype.hasOwnProperty.call(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":p=u.width/2;break;case"r":p=-u.width/2;break}if(p)c+=n?p:-p;return p=0,c}}function Ds(r,e){return r.node(e).width}function Un(r){r=xr(r),Fs(r),ut(Xn(r),function(e,n){r.node(n).x=e})}function Fs(r){var e=D(r),n=r.graph().ranksep,o=0;x(e,function(a){var f=I(_(a,function(s){return r.node(s).height}));x(a,function(s){r.node(s).y=o+f/2}),o+=f+n})}function te(r,e){var n=e&&e.debugTiming?Ht:Kt;n("layout",()=>{var o=n(" buildLayoutGraph",()=>Js(r));n(" runLayout",()=>Gs(o,n)),n(" updateInputGraph",()=>Xs(r,o))})}function Gs(r,e){e(" makeSpaceForEdgeLabels",()=>Zs(r)),e(" removeSelfEdges",()=>au(r)),e(" acyclic",()=>Ft(r)),e(" nestingGraph.run",()=>wn(r)),e(" rank",()=>Jr(xr(r))),e(" injectEdgeLabelProxies",()=>$s(r)),e(" removeEmptyRanks",()=>zt(r)),e(" nestingGraph.cleanup",()=>xn(r)),e(" normalizeRanks",()=>Vt(r)),e(" assignRankMinMax",()=>Qs(r)),e(" removeEdgeLabelProxies",()=>ru(r)),e(" normalize.run",()=>nn(r)),e(" parentDummyChains",()=>Fn(r)),e(" addBorderSegments",()=>Zt(r)),e(" order",()=>Dn(r)),e(" insertSelfEdges",()=>fu(r)),e(" adjustCoordinateSystem",()=>Qt(r)),e(" position",()=>Un(r)),e(" positionSelfEdges",()=>su(r)),e(" removeBorderNodes",()=>iu(r)),e(" normalize.undo",()=>on(r)),e(" fixupEdgeLabelCoords",()=>nu(r)),e(" undoCoordinateSystem",()=>en(r)),e(" translateGraph",()=>eu(r)),e(" assignNodeIntersects",()=>tu(r)),e(" reversePoints",()=>ou(r)),e(" acyclic.undo",()=>Gt(r))}function Xs(r,e){x(r.nodes(),function(n){var o=r.node(n),a=e.node(n);if(o){if(o.x=a.x,o.y=a.y,e.children(n).length)o.width=a.width,o.height=a.height}}),x(r.edges(),function(n){var o=r.edge(n),a=e.edge(n);if(o.points=a.points,Object.prototype.hasOwnProperty.call(a,"x"))o.x=a.x,o.y=a.y}),r.graph().width=e.graph().width,r.graph().height=e.graph().height}var Us=["nodesep","edgesep","ranksep","marginx","marginy"],Vs={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Ys=["acyclicer","ranker","rankdir","align"],zs=["width","height"],Ws={width:0,height:0},qs=["minlen","weight","width","height","labeloffset"],Hs={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Ks=["labelpos"];function Js(r){var e=new _e({multigraph:!0,compound:!0}),n=ee(r.graph());return e.setGraph(sr({},Vs,Qr(n,Us),K(n,Ys))),x(r.nodes(),function(o){var a=ee(r.node(o));e.setNode(o,rt(Qr(a,zs),Ws)),e.setParent(o,r.parent(o))}),x(r.edges(),function(o){var a=ee(r.edge(o));e.setEdge(o,sr({},Hs,Qr(a,qs),K(a,Ks)))}),e}function Zs(r){var e=r.graph();e.ranksep/=2,x(r.edges(),function(n){var o=r.edge(n);if(o.minlen*=2,o.labelpos.toLowerCase()!=="c")if(e.rankdir==="TB"||e.rankdir==="BT")o.width+=o.labeloffset;else o.height+=o.labeloffset})}function $s(r){x(r.edges(),function(e){var n=r.edge(e);if(n.width&&n.height){var o=r.node(e.v),a=r.node(e.w),f={rank:(a.rank-o.rank)/2+o.rank,e};k(r,"edge-proxy",f,"_ep")}})}function Qs(r){var e=0;x(r.nodes(),function(n){var o=r.node(n);if(o.borderTop)o.minRank=r.node(o.borderTop).rank,o.maxRank=r.node(o.borderBottom).rank,e=I(e,o.maxRank)}),r.graph().maxRank=e}function ru(r){x(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="edge-proxy")r.edge(n.e).labelRank=n.rank,r.removeNode(e)})}function eu(r){var e=Number.POSITIVE_INFINITY,n=0,o=Number.POSITIVE_INFINITY,a=0,f=r.graph(),s=f.marginx||0,u=f.marginy||0;function c(p){var{x:l,y:m,width:h,height:v}=p;e=Math.min(e,l-h/2),n=Math.max(n,l+h/2),o=Math.min(o,m-v/2),a=Math.max(a,m+v/2)}x(r.nodes(),function(p){c(r.node(p))}),x(r.edges(),function(p){var l=r.edge(p);if(Object.prototype.hasOwnProperty.call(l,"x"))c(l)}),e-=s,o-=u,x(r.nodes(),function(p){var l=r.node(p);l.x-=e,l.y-=o}),x(r.edges(),function(p){var l=r.edge(p);if(x(l.points,function(m){m.x-=e,m.y-=o}),Object.prototype.hasOwnProperty.call(l,"x"))l.x-=e;if(Object.prototype.hasOwnProperty.call(l,"y"))l.y-=o}),f.width=n-e+s,f.height=a-o+u}function tu(r){x(r.edges(),function(e){var n=r.edge(e),o=r.node(e.v),a=r.node(e.w),f,s;if(!n.points)n.points=[],f=a,s=o;else f=n.points[0],s=n.points[n.points.length-1];n.points.unshift(Mr(o,f)),n.points.push(Mr(a,s))})}function nu(r){x(r.edges(),function(e){var n=r.edge(e);if(Object.prototype.hasOwnProperty.call(n,"x")){if(n.labelpos==="l"||n.labelpos==="r")n.width-=n.labeloffset;switch(n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset;break}}})}function ou(r){x(r.edges(),function(e){var n=r.edge(e);if(n.reversed)n.points.reverse()})}function iu(r){x(r.nodes(),function(e){if(r.children(e).length){var n=r.node(e),o=r.node(n.borderTop),a=r.node(n.borderBottom),f=r.node(X(n.borderLeft)),s=r.node(X(n.borderRight));n.width=Math.abs(s.x-f.x),n.height=Math.abs(a.y-o.y),n.x=f.x+n.width/2,n.y=o.y+n.height/2}}),x(r.nodes(),function(e){if(r.node(e).dummy==="border")r.removeNode(e)})}function au(r){x(r.edges(),function(e){if(e.v===e.w){var n=r.node(e.v);if(!n.selfEdges)n.selfEdges=[];n.selfEdges.push({e,label:r.edge(e)}),r.removeEdge(e)}})}function fu(r){var e=D(r);x(e,function(n){var o=0;x(n,function(a,f){var s=r.node(a);s.order=f+o,x(s.selfEdges,function(u){k(r,"selfedge",{width:u.label.width,height:u.label.height,rank:s.rank,order:f+ ++o,e:u.e,label:u.label},"_se")}),delete s.selfEdges})})}function su(r){x(r.nodes(),function(e){var n=r.node(e);if(n.dummy==="selfedge"){var o=r.node(n.e.v),a=o.x+o.width/2,f=o.y,s=n.x-a,u=o.height/2;r.setEdge(n.e,n.label),r.removeNode(e),n.label.points=[{x:a+2*s/3,y:f-u},{x:a+5*s/6,y:f-u},{x:a+s,y:f},{x:a+5*s/6,y:f+u},{x:a+2*s/3,y:f+u}],n.label.x=n.x,n.label.y=n.y}})}function Qr(r,e){return W(K(r,e),Number)}function ee(r){var e={};return x(r,function(n,o){e[o.toLowerCase()]=n}),e}var Vn=t((r,e,n)=>Math.max(e,Math.min(n,r)),"clamp"),Yn=t((r="TB")=>{switch(r){case"BT":return"bottom";case"LR":return"right";case"RL":return"left";case"TB":default:return"top"}},"getDefaultSelfLoopSide"),uu=t((r)=>r==="flowchart"||r==="flowchart-v2"||r==="stateDiagram"||r==="er"||r==="classDiagram","shouldMergeSelfLoopSegments"),du=["x","y","width","height","labelBBox","intersect","calcIntersect","diff","clusterNode"],cu=t((r,e,n,o,a)=>{let f=[],s=new Set;if(n.forEach(({start:l,end:m})=>{if(l!==o)s.add(l);if(m!==o)s.add(m)}),s.forEach((l)=>{let m=r.node(l);if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)}),f.length===0)n.forEach(({edge:l})=>{(l.points??[]).forEach((m)=>{if(typeof m?.x==="number"&&typeof m?.y==="number")f.push(m)})});if(f.length===0)return Yn(a);let u=f.reduce((l,m)=>({x:l.x+m.x/f.length,y:l.y+m.y/f.length}),{x:0,y:0}),c=u.x-e.x,p=u.y-e.y;if(Math.abs(c)>Math.abs(p))return c>0?"right":"left";if(Math.abs(p)>0)return p>0?"bottom":"top";return Yn(a)},"getSelfLoopSide"),pu=t((r,e="top",n=0,o=0)=>{let a=r.x,f=r.y-n,s=r.width/2,u=r.height/2,c=Math.max(36,Math.min(100,r.width*0.8)),p=Vn(Math.max(o,r.width*0.35),36,c),l=Vn(Math.min(r.width,r.height)*0.45,24,48);switch(e){case"bottom":{let m=f+u;return[{x:a-p/2,y:m},{x:a-p/2,y:m+l},{x:a+p/2,y:m+l},{x:a+p/2,y:m}]}case"right":{let m=a+s;return[{x:m,y:f-p/2},{x:m+l,y:f-p/2},{x:m+l,y:f+p/2},{x:m,y:f+p/2}]}case"left":{let m=a-s;return[{x:m,y:f-p/2},{x:m-l,y:f-p/2},{x:m-l,y:f+p/2},{x:m,y:f+p/2}]}case"top":default:{let m=f-u;return[{x:a-p/2,y:m},{x:a-p/2,y:m-l},{x:a+p/2,y:m-l},{x:a+p/2,y:m}]}}},"getSelfLoopPoints"),lu=t((r,e,n="top",o=0,a={})=>{let s=r.x,u=r.y-o,c=a.width??0,p=a.height??0;switch(n){case"bottom":return{x:s,y:Math.max(...e.map((l)=>l.y))+p/2+4};case"right":return{x:Math.max(...e.map((l)=>l.x))+c/2+4,y:u};case"left":return{x:Math.min(...e.map((l)=>l.x))-c/2-4,y:u};case"top":default:return{x:s,y:Math.min(...e.map((l)=>l.y))-p/2-4}}},"getSelfLoopLabelPosition"),vc=t((r,e=0,{mergeSelfLoops:n=!0}={})=>{let o=new Map,a=[],f=r.graph()?.rankdir;return r.edges().forEach((s)=>{let u=r.edge(s);if(n&&u.selfLoop){let c=u.selfLoop.id;if(!o.has(c))o.set(c,[]);o.get(c).push({edge:u,start:s.v,end:s.w})}else a.push({edge:u,start:s.v,end:s.w})}),o.forEach((s)=>{if(s.length!==3){s.forEach((w)=>a.push(w));return}s.sort((w,A)=>w.edge.selfLoop.order-A.edge.selfLoop.order);let[u,c,p]=s,l=u.edge.originalEdge??c.edge.originalEdge??p.edge.originalEdge??c.edge,m=r.node(l.start);if(!m){s.forEach((w)=>a.push(w));return}let h={width:c.edge.width,height:c.edge.height},v=cu(r,m,s,l.start,f),y=pu(m,v,e,h.width??0),b=lu(m,y,v,e,h),g={...c.edge,...l,id:l.id,points:y,start:l.start,end:l.end,x:b.x,y:b.y,width:h.width,height:h.height,labelStyle:c.edge.labelStyle,fromCluster:u.edge.fromCluster??c.edge.fromCluster??p.edge.fromCluster,toCluster:u.edge.toCluster??c.edge.toCluster??p.edge.toCluster};delete g.selfLoop,delete g.originalEdge,a.push({edge:g,start:g.start,end:g.end})}),a},"getEdgesToRender"),Wn=t(async({element:r,graph:e,diagramType:n,id:o,parentCluster:a,siteConfig:f})=>{let s=e.graph().rankdir;i.trace("Dir in recursive render - dir:",s);let{clusters:u,edgePaths:c,edgeLabels:p,nodes:l,rootGroups:m}=io(r,{edgePathsClass:"edgePaths"});if(!e.nodes())i.info("No nodes found for",e);else i.info("Recursive render XXX",e.nodes());if(e.edges().length>0)i.info("Recursive edges",e.edge(e.edges()[0]));let h=uu(n);await Promise.all(e.nodes().map(async function(b){let g=e.node(b);if(a!==void 0){let w=JSON.parse(JSON.stringify(a.clusterData));if(i.trace(`Setting data for parent cluster XXX
|
|
2
|
+
Node.id = `,b,`
|
|
3
|
+
data=`,w.height,`
|
|
4
|
+
Parent cluster`,a.height),e.setNode(a.id,w),!e.parent(b))i.trace("Setting parent",b,a.id),e.setParent(b,a.id,w)}if(i.info("(Insert) Node XXX"+b+": "+JSON.stringify(e.node(b))),g?.clusterNode){i.info("Cluster identified XBX",b,g.width,e.node(b));let{ranksep:w,nodesep:A}=e.graph();g.graph.setGraph({...g.graph.graph(),ranksep:w+25,nodesep:A});let ne=await vu({element:l,graph:g.graph,diagramType:n,id:o,parentCluster:e.node(b),siteConfig:f}),oe=ne.elem;B(g,oe),g.diff=ne.diff||0,i.info("New compound node after recursive render XAX",b,"width",g.width,"height",g.height),Ic(oe,g)}else if(e.children(b).length>0)i.trace("Cluster - the non recursive path XBX",b,g.id,g,g.width,"Graph:",e),i.trace(ia(g.id,e)),re.set(g.id,{id:ia(g.id,e),node:g});else i.trace("Node - the non recursive path XAX",b,l,e.node(b),s),await oo(l,e.node(b),{config:f,dir:s})})),await t(async()=>{let b=e.edges().map(async function(g){let w=e.edge(g.v,g.w,g.name);if(i.info("Edge "+g.v+" -> "+g.w+": "+JSON.stringify(g)),i.info("Edge "+g.v+" -> "+g.w+": ",g," ",JSON.stringify(e.edge(g))),i.info("Fix",re,"ids:",g.v,g.w,"Translating: ",re.get(g.v),re.get(g.w)),h&&w.selfLoop){if(w.selfLoop.order!==1)return;let A={...w.originalEdge,...w,id:w.selfLoop.id,startLabelLeft:w.originalEdge?.startLabelLeft??w.startLabelLeft,startLabelRight:w.originalEdge?.startLabelRight??w.startLabelRight,endLabelLeft:w.originalEdge?.endLabelLeft??w.endLabelLeft,endLabelRight:w.originalEdge?.endLabelRight??w.endLabelRight};await En(p,A),w.width=A.width,w.height=A.height,w.labelStyle=A.labelStyle;return}await En(p,w)});await Promise.all(b)},"processEdges")();let{subGraphTitleTotalMargin:y}=An(f);return{elem:m,graph:e,groups:{clusters:u,edgePaths:c,edgeLabels:p,nodes:l,rootGroups:m},diagramType:n,id:o,mergeSelfLoops:h,subGraphTitleTotalMargin:y}},"measureDagreGraph"),qn=t((r)=>{i.info("############################################# XXX"),i.info("### Layout ### XXX"),i.info("############################################# XXX"),te(r)},"runDagreGraphLayout"),mu=t((r,e,n)=>{let o=r.node(e);if(!o)return;let a={...o};if(o?.clusterNode)a.y=(o.y??0)+n;else if(r.children(e).length>0)a.height=(o.height??0)+n;else a.y=(o.y??0)+n/2;return a},"normalizeDagreNode"),zn=t((r,e)=>{du.forEach((n)=>{if(e[n]!==void 0)r[n]=e[n]})},"applyDagreNodeLayout"),hu=t((r,e,n,o)=>({...r,start:r.start??e,end:r.end??n,points:(r.points??[]).map((a)=>({...a,y:typeof a.y==="number"?a.y+o:a.y}))}),"normalizeDagreEdge"),Qc=t((r,e)=>{let{graph:n,mergeSelfLoops:o,subGraphTitleTotalMargin:a=0}=e,f=new Map(r.nodes.map((u)=>[u.id,u]));so(n).forEach((u)=>{let c=mu(n,u,a);if(!c)return;zn(n.node(u),c);let p=f.get(u);if(p)zn(p,c)});let s=a/2;return r.edges=vc(n,s,{mergeSelfLoops:o}).map(({edge:u,start:c,end:p})=>hu(u,c,p,s)),r},"applyDagreLayoutResult"),gu=t(async({elem:r,graph:e,groups:{clusters:n,edgePaths:o},diagramType:a,id:f,mergeSelfLoops:s,subGraphTitleTotalMargin:u})=>{let c=0;await Promise.all(so(e).map(async function(m){let h=e.node(m);if(i.info("Position XBX => "+m+": ("+h.x,","+h.y,") width: ",h.width," height: ",h.height),h?.clusterNode)h.y+=u,i.info("A tainted cluster node XBX1",m,h.id,h.width,h.height,h.x,h.y,e.parent(m)),re.get(h.id).node=h,gn(h);else if(e.children(m).length>0){i.info("A pure cluster node XBX1",m,h.id,h.x,h.y,h.width,h.height,e.parent(m)),h.height+=u,e.node(h.parentId);let v=h?.padding/2||0,y=h?.labelBBox?.height||0,b=y-v||0;i.debug("OffsetY",b,"labelHeight",y,"halfPadding",v),await lr(n,h),re.get(h.id).node=h}else{let v=e.node(h.parentId);h.y+=u/2,i.info("A regular node XBX1 - using the padding",h.id,"parent",h.parentId,h.width,h.height,h.x,h.y,"offsetY",h.offsetY,"parent",v,v?.offsetY,h),gn(h)}}));let p=u/2;return vc(e,p,{mergeSelfLoops:s}).forEach(function({edge:m,start:h,end:v}){i.info("Edge "+h+" -> "+v+": "+JSON.stringify(m),m),m.points.forEach((w)=>w.y+=p);let y=e.node(h),b=e.node(v),g=pr(o,m,re,a,y,b,f);ha(m,g)}),e.nodes().forEach(function(m){let h=e.node(m);if(i.info(m,h.type,h.diff),h.isGroup)c=h.diff}),i.warn("Returning from recursive render XAX",r,c),{elem:r,diff:c}},"paintDagreLayoutCore"),vu=t(async(r)=>{let e=await Wn(r);return qn(e.graph),await gu(e)},"renderDagreSubgraph"),yc=t((r)=>{let e=new _e({multigraph:!0,compound:!0}).setGraph({rankdir:r.direction,nodesep:r.config?.nodeSpacing||r.nodeSpacing||r.config?.flowchart?.nodeSpacing,ranksep:r.config?.rankSpacing||r.rankSpacing||r.config?.flowchart?.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});return r.nodes.forEach((n)=>{if(e.setNode(n.id,{...n}),n.parentId)e.setParent(n.id,n.parentId)}),i.debug("Edges:",r.edges),r.edges.forEach((n)=>{if(n.start===n.end){let o=n.start,a=o+"---"+o+"---1",f=o+"---"+o+"---2",s=e.node(o);e.setNode(a,{domId:a,id:a,parentId:s.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),e.setParent(a,s.parentId),e.setNode(f,{domId:f,id:f,parentId:s.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),e.setParent(f,s.parentId);let u=structuredClone(n),c=structuredClone(n),p=structuredClone(n),l=structuredClone(n);if(c.originalEdge=u,c.selfLoop={id:u.id,order:0},p.originalEdge=u,p.selfLoop={id:u.id,order:1},l.originalEdge=u,l.selfLoop={id:u.id,order:2},c.label="",c.arrowTypeEnd="none",c.endLabelLeft="",c.endLabelRight="",c.startLabelLeft="",c.id=o+"-cyclic-special-1",p.startLabelRight="",p.startLabelLeft="",p.endLabelLeft="",p.endLabelRight="",p.arrowTypeStart="none",p.arrowTypeEnd="none",p.id=o+"-cyclic-special-mid",l.label="",l.startLabelRight="",l.startLabelLeft="",l.arrowTypeStart="none",s.isGroup)c.fromCluster=o,l.toCluster=o;l.id=o+"-cyclic-special-2",l.arrowTypeStart="none",e.setEdge(o,a,c,o+"-cyclic-special-0"),e.setEdge(a,f,p,o+"-cyclic-special-1"),e.setEdge(f,o,l,o+"-cyclic-special-2")}else e.setEdge(n.start,n.end,{...n},n.id)}),xc(e),{graph:e}},"prepareLayoutForDagre"),Jc=t(async(r,{element:e,preparedLayout:n})=>{let o=n??yc(r),a=d(),f=await Wn({element:e,graph:o.graph,diagramType:r.type,id:r.diagramId,parentCluster:void 0,siteConfig:a});return o.measuredLayout=f,f},"measureDagreLayout"),el=t((r,e)=>{let n=e.preparedLayout?.measuredLayout;if(!n)throw Error("runDagreLayoutCore requires measureDagreLayout to run first");return qn(n.graph),Qc(r,n),n},"runDagreLayoutCore"),bu=t((r,{measure:e})=>so(e.graph).map((n)=>e.graph.node(n)).filter(Boolean),"getDagrePaintNodes"),yu=t((r,e,{measure:n})=>r?n.graph.node(r):void 0,"getDagreEdgeNode"),bc=$a({prepareLayout:yc,measureLayout:Jc,runLayoutCore:el,paintOptions:{clusterDb:re,getNodes:bu,getEdgeNode:yu,skipNode:t((r,{measure:e})=>!e.graph.hasNode(r.id),"skipNode"),isCluster:t((r,{measure:e})=>e.graph.hasNode(r.id)&&(e.graph.children(r.id)??[]).length>0,"isCluster")}});export{vc,Qc,yc,Jc,el,bc};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{E,a,e,n,ot,en,Q,Ce,dc}from"./chunk-9rf2smk2.js";function T(t){let i=E(ot);i?.useTheme?.();let s=t.payload,[o,m]=a(!1);if(!s||s.state==="pending")return null;let h=s.questions.map((r)=>r.header).join(" · "),l=s.state==="answered",u=l?Q:en,d=l?"text-success":"text-faint",f=l?"已回答":s.state==="dismissed"?"已忽略提问":"提问已取消",p=l?g(s):h;if(i){let{Collapsible:r,CollapsibleTrigger:y,CollapsibleContent:N,Chevron:v,cn:b}=i;return n(r,{open:o,onOpenChange:m,className:"w-full text-xs text-ink/90 animate-fade",children:[n(y,{className:i.style("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:b("size-3.5",d)})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(v,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(N,{children:e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:s})})})]})}return n("div",{role:"status",className:"w-full animate-fade",children:[n("button",{type:"button","aria-expanded":o,className:"group -mx-2 flex w-[calc(100%+1rem)] cursor-pointer items-center gap-2 rounded-lg px-2 py-1 text-left text-xs text-faint transition-colors select-none hover:bg-raised/60 hover:text-dim",onClick:()=>m((r)=>!r),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:`size-3.5 shrink-0 ${d}`})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(Ce,{className:`size-3.5 shrink-0 text-faint opacity-0 transition-[opacity,transform] group-hover:opacity-100 ${o?"rotate-180 opacity-100":""}`})]}),o&&e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:s})})]})}function c(t){if(!t)return"未作答";let i=t.selected.map((s)=>dc(s).title);if(t.other)i.push(`其他:${t.other}`);return i.length?i.join("、"):"未作答"}function g(t){if(t.questions.length===1)return`${t.questions[0]?.header??""} · ${c(t.answers?.[0])}`;return t.questions.map((i,s)=>`${i.header} → ${c(t.answers?.[s])}`).join(";")}function x(t){let i=t.question;return e("div",{className:"space-y-2 text-xs",children:i.questions.map((s,o)=>n("div",{className:"space-y-0.5",children:[n("div",{className:"text-dim",children:[e("span",{className:"font-medium text-ink/90",children:s.header})," · ",s.question]}),e("div",{className:"text-ink",children:c(i.answers?.[o])})]},s.header))})}export{T as QuestionCard};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import{ie}from"./chunk-e54b48p5.js";import{t,i,Qe,A,W,N,M,P,R,I,O,D,d,J,Z}from"./chunk-kasv56qe.js";import{fe}from"./chunk-fnzyprme.js";var at=t((a,s)=>{let o=a<=1?a*100:a;if(o<0||o>100)throw Error(`${s} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${a}`);return o},"toPercent"),G=t((a,s,o)=>({x:at(s,`${o} evolution`),y:at(a,`${o} visibility`)}),"toCoordinates"),lt=t((a)=>{if(!a)return;if(a==="+<>")return"bidirectional";if(a==="+<")return"backward";if(a==="+>")return"forward";return},"getFlowFromPort"),Yt=t((a)=>{if(!a?.startsWith("+"))return{};let o=/^\+'([^']*)'/.exec(a)?.[1];if(a.includes("<>"))return{flow:"bidirectional",label:o};if(a.includes("<"))return{flow:"backward",label:o};if(a.includes(">"))return{flow:"forward",label:o};return{label:o}},"extractFlowFromArrow"),It=t((a,s)=>{if(ie(a,s),a.size)s.setSize(a.size.width,a.size.height);if(a.evolution){let o=a.evolution.stages.map((r)=>{if(r.secondName)return`${r.name.trim()} / ${r.secondName.trim()}`;return r.name.trim()}),y=a.evolution.stages.filter((r)=>r.boundary!==void 0).map((r)=>r.boundary);s.updateAxes({stages:o,stageBoundaries:y})}if(a.anchors.forEach((o)=>{let y=G(o.visibility,o.evolution,`Anchor "${o.name}"`);s.addNode(o.name,o.name,y.x,y.y,"anchor")}),a.components.forEach((o)=>{let y=G(o.visibility,o.evolution,`Component "${o.name}"`),r=o.label?(o.label.negX?-1:1)*o.label.offsetX:void 0,p=o.label?(o.label.negY?-1:1)*o.label.offsetY:void 0,k=o.decorator?.strategy;s.addNode(o.name,o.name,y.x,y.y,"component",r,p,o.inertia,k)}),a.notes.forEach((o)=>{let y=G(o.visibility,o.evolution,`Note "${o.text}"`);s.addNote(o.text,y.x,y.y)}),a.pipelines.forEach((o)=>{let y=s.getNode(o.parent);if(!y||typeof y.y!=="number")throw Error(`Pipeline "${o.parent}" must reference an existing component with coordinates.`);let r=y.y;s.startPipeline(o.parent),o.components.forEach((p)=>{let k=`${o.parent}_${p.name}`,T=p.label?(p.label.negX?-1:1)*p.label.offsetX:void 0,w=p.label?(p.label.negY?-1:1)*p.label.offsetY:void 0,K=at(p.evolution,`Pipeline component "${p.name}" evolution`);s.addNode(k,p.name,K,r,"pipeline-component",T,w),s.addPipelineComponent(o.parent,k)})}),a.links.forEach((o)=>{let y=!!o.arrow&&(o.arrow.includes("-.->")||o.arrow.includes(".-.")),r=lt(o.fromPort)??lt(o.toPort),{flow:p,label:k}=Yt(o.arrow);if(!r&&p)r=p;let T=o.linkLabel,w=k??T;s.addLink(s.resolveNodeId(o.from),s.resolveNodeId(o.to),y,w,r)}),a.evolves.forEach((o)=>{let y=s.getNode(o.component);if(y?.y!==void 0){let r=at(o.target,`Evolve target for "${o.component}"`);s.addTrend(o.component,r,y.y)}}),a.annotations.length>0){let o=a.annotations[0],y=G(o.x,o.y,"Annotations box");s.setAnnotationsBox(y.x,y.y)}a.annotation.forEach((o)=>{let y=G(o.x,o.y,`Annotation ${o.number}`);s.addAnnotation(o.number,[{x:y.x,y:y.y}],o.text)}),a.accelerators.forEach((o)=>{let y=G(o.x,o.y,`Accelerator "${o.name}"`);s.addAccelerator(o.name,y.x,y.y)}),a.deaccelerators.forEach((o)=>{let y=G(o.x,o.y,`Deaccelerator "${o.name}"`);s.addDeaccelerator(o.name,y.x,y.y)})},"populateDb"),ct={parser:{yy:void 0},parse:t(async(a)=>{let s=await fe("wardley",a);i.debug(s);let o=ct.parser?.yy;if(!o||typeof o.addNode!=="function")throw Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");It(s,o)},"parse")},Bt=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{t(this,"WardleyBuilder")}addNode(a){let s=this.nodes.get(a.id)??{id:a.id,label:a.label},o={...s,...a,className:a.className??s.className,labelOffsetX:a.labelOffsetX??s.labelOffsetX,labelOffsetY:a.labelOffsetY??s.labelOffsetY};this.nodes.set(a.id,o)}addLink(a){this.links.push(a)}addTrend(a){this.trends.set(a.nodeId,a)}startPipeline(a){this.pipelines.set(a,{nodeId:a,componentIds:[]});let s=this.nodes.get(a);if(s)s.isPipelineParent=!0}addPipelineComponent(a,s){let o=this.pipelines.get(a);if(o)o.componentIds.push(s);let y=this.nodes.get(s);if(y)y.inPipeline=!0}addAnnotation(a){this.annotations.push(a)}addNote(a){this.notes.push(a)}addAccelerator(a){this.accelerators.push(a)}addDeaccelerator(a){this.deaccelerators.push(a)}setAnnotationsBox(a,s){this.annotationsBox={x:a,y:s}}setAxes(a){this.axes={...this.axes,...a}}setSize(a,s){this.size={width:a,height:s}}getNode(a){return this.nodes.get(a)}resolveNodeId(a){if(this.nodes.has(a))return a;for(let[s,o]of this.nodes)if(o.label===a)return s;return a}build(){let a=[];for(let s of this.nodes.values()){if(typeof s.x!=="number"||typeof s.y!=="number")throw Error(`Node "${s.label}" is missing coordinates`);a.push(s)}return{nodes:a,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},v=new Bt;function pt(){return d()["wardley-beta"]}t(pt,"getConfig");function ht(a,s,o,y,r,p,k,T,w){v.addNode({id:a,label:s,x:o,y,className:r,labelOffsetX:p,labelOffsetY:k,inertia:T,sourceStrategy:w})}t(ht,"addNode");function ft(a,s,o=!1,y,r){v.addLink({source:a,target:s,dashed:o,label:y,flow:r})}t(ft,"addLink");function xt(a,s,o){v.addTrend({nodeId:a,targetX:s,targetY:o})}t(xt,"addTrend");function gt(a,s,o){v.addAnnotation({number:a,coordinates:s,text:o})}t(gt,"addAnnotation");function yt(a,s,o){v.addNote({text:a,x:s,y:o})}t(yt,"addNote");function ut(a,s,o){v.addAccelerator({name:a,x:s,y:o})}t(ut,"addAccelerator");function wt(a,s,o){v.addDeaccelerator({name:a,x:s,y:o})}t(wt,"addDeaccelerator");function mt(a,s){v.setAnnotationsBox(a,s)}t(mt,"setAnnotationsBox");function kt(a,s){v.setSize(a,s)}t(kt,"setSize");function bt(a){v.startPipeline(a)}t(bt,"startPipeline");function $t(a,s){v.addPipelineComponent(a,s)}t($t,"addPipelineComponent");function vt(a){v.setAxes(a)}t(vt,"updateAxes");function Pt(a){return v.getNode(a)}t(Pt,"getNode");function Ct(a){return v.resolveNodeId(a)}t(Ct,"resolveNodeId");function St(){return v.build()}t(St,"getWardleyData");function Mt(){v.clear(),N()}t(Mt,"clear");var Ft={getConfig:pt,addNode:ht,addLink:ft,addTrend:xt,addAnnotation:gt,addNote:yt,addAccelerator:ut,addDeaccelerator:wt,setAnnotationsBox:mt,setSize:kt,startPipeline:bt,addPipelineComponent:$t,updateAxes:vt,getNode:Pt,resolveNodeId:Ct,getWardleyData:St,clear:Mt,setAccTitle:M,getAccTitle:P,setDiagramTitle:O,getDiagramTitle:D,getAccDescription:I,setAccDescription:R},Rt=["Genesis","Custom Built","Product","Commodity"],Ot=t(()=>{let{themeVariables:a}=d();return{backgroundColor:a.wardley?.backgroundColor??a.background??"#fff",axisColor:a.wardley?.axisColor??"#000",axisTextColor:a.wardley?.axisTextColor??a.primaryTextColor??"#222",gridColor:a.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:a.wardley?.componentFill??"#fff",componentStroke:a.wardley?.componentStroke??"#000",componentLabelColor:a.wardley?.componentLabelColor??a.primaryTextColor??"#222",linkStroke:a.wardley?.linkStroke??"#000",evolutionStroke:a.wardley?.evolutionStroke??"#dc3545",annotationStroke:a.wardley?.annotationStroke??"#000",annotationTextColor:a.wardley?.annotationTextColor??a.primaryTextColor??"#222",annotationFill:a.wardley?.annotationFill??a.background??"#fff"}},"getTheme"),Dt=t(()=>{let a=d()["wardley-beta"];return{width:a?.width??900,height:a?.height??600,padding:a?.padding??48,nodeRadius:a?.nodeRadius??6,nodeLabelOffset:a?.nodeLabelOffset??8,axisFontSize:a?.axisFontSize??12,labelFontSize:a?.labelFontSize??10,showGrid:a?.showGrid??!1,useMaxWidth:a?.useMaxWidth??!0}},"getConfigValues"),Gt=t((a,s,o,y)=>{i.debug(`Rendering Wardley map
|
|
2
|
+
`+a);let r=Dt(),p=Ot(),k=r.nodeRadius*1.6,T=y.db,w=T.getWardleyData(),K=T.getDiagramTitle(),X=w.size?.width??r.width,C=w.size?.height??r.height,j=J(s);j.selectAll("*").remove(),W(j,C,X,r.useMaxWidth),j.attr("viewBox",`0 0 ${X} ${C}`);let z=j.append("g").attr("class","wardley-map"),rt=j.append("defs");rt.append("marker").attr("id",`arrow-${s}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",p.evolutionStroke).attr("stroke","none"),rt.append("marker").attr("id",`link-arrow-end-${s}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",p.linkStroke).attr("stroke","none"),rt.append("marker").attr("id",`link-arrow-start-${s}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",p.linkStroke).attr("stroke","none"),z.append("rect").attr("class","wardley-background").attr("width",X).attr("height",C).attr("fill",p.backgroundColor);let V=X-r.padding*2,_=C-r.padding*2;if(K)z.append("text").attr("class","wardley-title").attr("x",X/2).attr("y",r.padding/2).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize*1.05).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(K);let Y=t((e)=>r.padding+e/100*V,"projectX"),B=t((e)=>C-r.padding-e/100*_,"projectY"),Q=z.append("g").attr("class","wardley-axes");Q.append("line").attr("x1",r.padding).attr("x2",X-r.padding).attr("y1",C-r.padding).attr("y2",C-r.padding).attr("stroke",p.axisColor).attr("stroke-width",1),Q.append("line").attr("x1",r.padding).attr("x2",r.padding).attr("y1",r.padding).attr("y2",C-r.padding).attr("stroke",p.axisColor).attr("stroke-width",1);let Nt=w.axes.xLabel??"Evolution",zt=w.axes.yLabel??"Visibility";Q.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",r.padding+V/2).attr("y",C-r.padding/4).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(Nt),Q.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",r.padding/3).attr("y",r.padding+_/2).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${r.padding/3} ${r.padding+_/2})`).text(zt);let U=w.axes.stages&&w.axes.stages.length>0?w.axes.stages:Rt;if(U.length>0){let e=z.append("g").attr("class","wardley-stages"),l=w.axes.stageBoundaries,n=[];if(l&&l.length===U.length){let c=0;l.forEach((f)=>{n.push({start:c,end:f}),c=f})}else{let c=1/U.length;U.forEach((f,x)=>{n.push({start:x*c,end:(x+1)*c})})}U.forEach((c,f)=>{let x=n[f],u=r.padding+x.start*V,g=r.padding+x.end*V,m=(u+g)/2;if(f>0)e.append("line").attr("x1",u).attr("x2",u).attr("y1",r.padding).attr("y2",C-r.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",0.8);e.append("text").attr("class","wardley-stage-label").attr("x",m).attr("y",C-r.padding/1.5).attr("fill",p.axisTextColor).attr("font-size",r.axisFontSize-2).attr("text-anchor","middle").text(c)})}if(r.showGrid){let e=z.append("g").attr("class","wardley-grid");for(let l=1;l<4;l++){let n=l/4,c=r.padding+V*n;e.append("line").attr("x1",c).attr("x2",c).attr("y1",r.padding).attr("y2",C-r.padding).attr("stroke",p.gridColor).attr("stroke-dasharray","2 6"),e.append("line").attr("x1",r.padding).attr("x2",X-r.padding).attr("y1",C-r.padding-_*n).attr("y2",C-r.padding-_*n).attr("stroke",p.gridColor).attr("stroke-dasharray","2 6")}}let h=new Map;if(w.nodes.forEach((e)=>{h.set(e.id,{x:Y(e.x),y:B(e.y),node:e})}),w.pipelines.length>0){let e=z.append("g").attr("class","wardley-pipelines"),l=z.append("g").attr("class","wardley-pipeline-links");w.pipelines.forEach((n)=>{if(n.componentIds.length===0)return;let c=n.componentIds.map((g)=>({id:g,pos:h.get(g),node:w.nodes.find((m)=>m.id===g)})).filter((g)=>g.pos&&g.node).sort((g,m)=>g.node.x-m.node.x);for(let g=0;g<c.length-1;g++){let m=c[g],b=c[g+1];l.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",m.pos.x).attr("y1",m.pos.y).attr("x2",b.pos.x).attr("y2",b.pos.y).attr("stroke",p.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let f=1/0,x=-1/0,u=0;if(n.componentIds.forEach((g)=>{let m=h.get(g);if(m)f=Math.min(f,m.x),x=Math.max(x,m.x),u=m.y}),f!==1/0&&x!==-1/0){let m=r.nodeRadius*4,b=u-m/2,L=h.get(n.nodeId);if(L){let H=(f+x)/2;L.x=H,L.y=b-k/6}e.append("rect").attr("class","wardley-pipeline-box").attr("x",f-15).attr("y",b).attr("width",x-f+30).attr("height",m).attr("fill","none").attr("stroke",p.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}let st=z.append("g").attr("class","wardley-links"),it=new Map;w.pipelines.forEach((e)=>{it.set(e.nodeId,new Set(e.componentIds))});let dt=w.links.filter((e)=>{if(!h.has(e.source)||!h.has(e.target))return!1;if(it.get(e.target)?.has(e.source))return!1;return!0});st.selectAll("line").data(dt).enter().append("line").attr("class",(e)=>`wardley-link${e.dashed?" wardley-link--dashed":""}`).attr("x1",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.source).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=n.x-l.x,u=n.y-l.y,g=Math.sqrt(x*x+u*u);return l.x+x/g*f}).attr("y1",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.source).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=n.x-l.x,u=n.y-l.y,g=Math.sqrt(x*x+u*u);return l.y+u/g*f}).attr("x2",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.target).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=l.x-n.x,u=l.y-n.y,g=Math.sqrt(x*x+u*u);return n.x+x/g*f}).attr("y2",(e)=>{let l=h.get(e.source),n=h.get(e.target),f=w.nodes.find((m)=>m.id===e.target).isPipelineParent?k/Math.sqrt(2):r.nodeRadius,x=l.x-n.x,u=l.y-n.y,g=Math.sqrt(x*x+u*u);return n.y+u/g*f}).attr("stroke",p.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",(e)=>e.dashed?"6 6":null).attr("marker-end",(e)=>{if(e.flow==="forward"||e.flow==="bidirectional")return`url(#link-arrow-end-${s})`;return null}).attr("marker-start",(e)=>{if(e.flow==="backward"||e.flow==="bidirectional")return`url(#link-arrow-start-${s})`;return null}),st.selectAll("text").data(dt.filter((e)=>e.label)).enter().append("text").attr("class","wardley-link-label").attr("x",(e)=>{let l=h.get(e.source),n=h.get(e.target),c=(l.x+n.x)/2,f=n.y-l.y,x=n.x-l.x,u=Math.sqrt(x*x+f*f),g=8,m=f/u;return c+m*8}).attr("y",(e)=>{let l=h.get(e.source),n=h.get(e.target),c=(l.y+n.y)/2,f=n.x-l.x,x=n.y-l.y,u=Math.sqrt(f*f+x*x),g=8,m=-f/u;return c+m*8}).attr("fill",p.axisTextColor).attr("font-size",r.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",(e)=>{let l=h.get(e.source),n=h.get(e.target),c=(l.x+n.x)/2,f=(l.y+n.y)/2,x=n.x-l.x,u=n.y-l.y,g=Math.sqrt(x*x+u*u),m=8,b=u/g,L=-x/g,H=c+b*8,tt=f+L*8,q=Math.atan2(u,x)*180/Math.PI;if(q>90||q<-90)q+=180;return`rotate(${q} ${H} ${tt})`}).text((e)=>e.label);let Lt=z.append("g").attr("class","wardley-trends"),Tt=w.trends.map((e)=>{let l=h.get(e.nodeId);if(!l)return null;let n=Y(e.targetX),c=B(e.targetY),f=n-l.x,x=c-l.y,u=Math.sqrt(f*f+x*x),g=r.nodeRadius+2,m=u>g?n-f/u*g:n,b=u>g?c-x/u*g:c;return{origin:l,targetX:n,targetY:c,adjustedX2:m,adjustedY2:b}}).filter((e)=>e!==null);Lt.selectAll("line").data(Tt).enter().append("line").attr("class","wardley-trend").attr("x1",(e)=>e.origin.x).attr("y1",(e)=>e.origin.y).attr("x2",(e)=>e.adjustedX2).attr("y2",(e)=>e.adjustedY2).attr("stroke",p.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${s})`);let E=z.append("g").attr("class","wardley-nodes").selectAll("g").data(w.nodes).enter().append("g").attr("class",(e)=>["wardley-node",e.className?`wardley-node--${e.className}`:""].filter(Boolean).join(" "));E.filter((e)=>e.sourceStrategy==="outsource").append("circle").attr("class","wardley-outsource-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","#666").attr("stroke",p.componentStroke).attr("stroke-width",1),E.filter((e)=>e.sourceStrategy==="buy").append("circle").attr("class","wardley-buy-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","#ccc").attr("stroke",p.componentStroke).attr("stroke-width",1),E.filter((e)=>e.sourceStrategy==="build").append("circle").attr("class","wardley-build-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);let F=E.filter((e)=>e.sourceStrategy==="market");F.append("circle").attr("class","wardley-market-overlay").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius*2).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",1),E.filter((e)=>!e.isPipelineParent&&e.sourceStrategy!=="market"&&e.className!=="anchor").append("circle").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y).attr("r",r.nodeRadius).attr("fill",p.componentFill).attr("stroke",p.componentStroke).attr("stroke-width",1);let ot=r.nodeRadius*0.7,S=r.nodeRadius*1.2;if(F.append("line").attr("class","wardley-market-line").attr("x1",(e)=>h.get(e.id).x).attr("y1",(e)=>h.get(e.id).y-S).attr("x2",(e)=>h.get(e.id).x-S*Math.cos(Math.PI/6)).attr("y2",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("stroke",p.componentStroke).attr("stroke-width",1),F.append("line").attr("class","wardley-market-line").attr("x1",(e)=>h.get(e.id).x-S*Math.cos(Math.PI/6)).attr("y1",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("x2",(e)=>h.get(e.id).x+S*Math.cos(Math.PI/6)).attr("y2",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("stroke",p.componentStroke).attr("stroke-width",1),F.append("line").attr("class","wardley-market-line").attr("x1",(e)=>h.get(e.id).x+S*Math.cos(Math.PI/6)).attr("y1",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("x2",(e)=>h.get(e.id).x).attr("y2",(e)=>h.get(e.id).y-S).attr("stroke",p.componentStroke).attr("stroke-width",1),F.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>h.get(e.id).x).attr("cy",(e)=>h.get(e.id).y-S).attr("r",ot).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",2),F.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>h.get(e.id).x-S*Math.cos(Math.PI/6)).attr("cy",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("r",ot).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",2),F.append("circle").attr("class","wardley-market-dot").attr("cx",(e)=>h.get(e.id).x+S*Math.cos(Math.PI/6)).attr("cy",(e)=>h.get(e.id).y+S*Math.sin(Math.PI/6)).attr("r",ot).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",2),E.filter((e)=>e.isPipelineParent===!0).append("rect").attr("x",(e)=>h.get(e.id).x-k/2).attr("y",(e)=>h.get(e.id).y-k/2).attr("width",k).attr("height",k).attr("fill",p.componentFill).attr("stroke",p.componentStroke).attr("stroke-width",1),E.filter((e)=>e.inertia===!0).append("line").attr("class","wardley-inertia").attr("x1",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k/2+15:r.nodeRadius+15;if(e.sourceStrategy)n+=r.nodeRadius+10;return l.x+n}).attr("y1",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k:r.nodeRadius*2;return l.y-n/2}).attr("x2",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k/2+15:r.nodeRadius+15;if(e.sourceStrategy)n+=r.nodeRadius+10;return l.x+n}).attr("y2",(e)=>{let l=h.get(e.id),n=e.isPipelineParent?k:r.nodeRadius*2;return l.y+n/2}).attr("stroke",p.componentStroke).attr("stroke-width",6),E.append("text").attr("x",(e)=>{let l=h.get(e.id);if(e.className==="anchor")return e.labelOffsetX!==void 0?l.x+e.labelOffsetX:l.x;let n=r.nodeLabelOffset;if(e.sourceStrategy&&e.labelOffsetX===void 0)n+=10;let c=e.labelOffsetX??n;return l.x+c}).attr("y",(e)=>{let l=h.get(e.id);if(e.className==="anchor")return e.labelOffsetY!==void 0?l.y+e.labelOffsetY:l.y-3;let n=-r.nodeLabelOffset;if(e.sourceStrategy&&e.labelOffsetY===void 0)n-=10;let c=e.labelOffsetY??n;return l.y+c}).attr("class","wardley-node-label").attr("fill",(e)=>{if(e.className==="evolved")return p.evolutionStroke;if(e.className==="anchor")return"#000";return p.componentLabelColor}).attr("font-size",r.labelFontSize).attr("font-weight",(e)=>e.className==="anchor"?"bold":"normal").attr("text-anchor",(e)=>e.className==="anchor"?"middle":"start").attr("dominant-baseline",(e)=>e.className==="anchor"?"middle":"auto").text((e)=>e.label),w.annotations.length>0){let e=z.append("g").attr("class","wardley-annotations");if(w.annotations.forEach((l)=>{let n=l.coordinates.map((c)=>({x:Y(c.x),y:B(c.y)}));if(n.length>1)for(let c=0;c<n.length-1;c++)e.append("line").attr("class","wardley-annotation-line").attr("x1",n[c].x).attr("y1",n[c].y).attr("x2",n[c+1].x).attr("y2",n[c+1].y).attr("stroke",p.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");n.forEach((c)=>{let f=e.append("g").attr("class","wardley-annotation");f.append("circle").attr("cx",c.x).attr("cy",c.y).attr("r",10).attr("fill","white").attr("stroke",p.axisColor).attr("stroke-width",1.5),f.append("text").attr("x",c.x).attr("y",c.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.number)})}),w.annotationsBox){let l=Y(w.annotationsBox.x),n=B(w.annotationsBox.y),c=10,f=16,x=11,u=e.append("g").attr("class","wardley-annotations-box"),g=[...w.annotations].filter((b)=>b.text).sort((b,L)=>b.number-L.number),m=[];if(g.forEach((b,L)=>{let H=u.append("text").attr("x",l+c).attr("y",n+c+(L+1)*f).attr("font-size",x).attr("fill",p.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${b.number}. ${b.text}`);m.push(H)}),m.length>0){let b=0,L=0;m.forEach((nt)=>{let et=nt.node(),Et=et.getComputedTextLength();b=Math.max(b,Et);let Ht=et.getBBox();L=Math.max(L,Ht.height)});let H=b+c*2+105,tt=g.length*f+c*2+L/2,q=r.padding,Wt=X-r.padding-H,At=r.padding,Xt=C-r.padding-tt;l=Math.max(q,Math.min(l,Wt)),n=Math.max(At,Math.min(n,Xt)),m.forEach((nt,et)=>{nt.attr("x",l+c).attr("y",n+c+(et+1)*f)}),u.insert("rect","text").attr("x",l).attr("y",n).attr("width",H).attr("height",tt).attr("fill","white").attr("stroke",p.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(w.notes.length>0){let e=z.append("g").attr("class","wardley-notes");w.notes.forEach((l)=>{let n=Y(l.x),c=B(l.y);e.append("text").attr("x",n).attr("y",c).attr("text-anchor","start").attr("font-size",11).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.text)})}if(w.accelerators.length>0){let e=z.append("g").attr("class","wardley-accelerators");w.accelerators.forEach((l)=>{let n=Y(l.x),c=B(l.y),f=60,x=30,u=20,g=`
|
|
3
|
+
M ${n} ${c-15}
|
|
4
|
+
L ${n+60-20} ${c-15}
|
|
5
|
+
L ${n+60-20} ${c-15-8}
|
|
6
|
+
L ${n+60} ${c}
|
|
7
|
+
L ${n+60-20} ${c+15+8}
|
|
8
|
+
L ${n+60-20} ${c+15}
|
|
9
|
+
L ${n} ${c+15}
|
|
10
|
+
Z
|
|
11
|
+
`;e.append("path").attr("d",g).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",1),e.append("text").attr("x",n+30).attr("y",c+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.name)})}if(w.deaccelerators.length>0){let e=z.append("g").attr("class","wardley-deaccelerators");w.deaccelerators.forEach((l)=>{let n=Y(l.x),c=B(l.y),f=60,x=30,u=20,g=`
|
|
12
|
+
M ${n+60} ${c-15}
|
|
13
|
+
L ${n+20} ${c-15}
|
|
14
|
+
L ${n+20} ${c-15-8}
|
|
15
|
+
L ${n} ${c}
|
|
16
|
+
L ${n+20} ${c+15+8}
|
|
17
|
+
L ${n+20} ${c+15}
|
|
18
|
+
L ${n+60} ${c+15}
|
|
19
|
+
Z
|
|
20
|
+
`;e.append("path").attr("d",g).attr("fill","white").attr("stroke",p.componentStroke).attr("stroke-width",1),e.append("text").attr("x",n+30).attr("y",c+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",p.axisTextColor).attr("font-weight","bold").text(l.name)})}},"draw"),qt={draw:Gt},jt=t(({wardley:a}={})=>{let s=Qe(),o=A(),y=Z(s,o.themeVariables),r=Z(y.wardley,a);return`
|
|
21
|
+
.wardley-background {
|
|
22
|
+
fill: ${r.backgroundColor};
|
|
23
|
+
}
|
|
24
|
+
.wardley-axes line, .wardley-axes path {
|
|
25
|
+
stroke: ${r.axisColor};
|
|
26
|
+
}
|
|
27
|
+
.wardley-axis-label {
|
|
28
|
+
fill: ${r.axisTextColor};
|
|
29
|
+
}
|
|
30
|
+
.wardley-stage-label {
|
|
31
|
+
fill: ${r.axisTextColor};
|
|
32
|
+
}
|
|
33
|
+
.wardley-grid line {
|
|
34
|
+
stroke: ${r.gridColor};
|
|
35
|
+
}
|
|
36
|
+
.wardley-node circle {
|
|
37
|
+
fill: ${r.componentFill};
|
|
38
|
+
stroke: ${r.componentStroke};
|
|
39
|
+
}
|
|
40
|
+
.wardley-node-label {
|
|
41
|
+
fill: ${r.componentLabelColor};
|
|
42
|
+
}
|
|
43
|
+
.wardley-link {
|
|
44
|
+
stroke: ${r.linkStroke};
|
|
45
|
+
}
|
|
46
|
+
.wardley-link--dashed {
|
|
47
|
+
stroke-dasharray: 4 4;
|
|
48
|
+
}
|
|
49
|
+
.wardley-link-label {
|
|
50
|
+
fill: ${r.axisTextColor};
|
|
51
|
+
}
|
|
52
|
+
.wardley-trend line {
|
|
53
|
+
stroke: ${r.evolutionStroke};
|
|
54
|
+
}
|
|
55
|
+
.wardley-annotation-line {
|
|
56
|
+
stroke: ${r.annotationStroke};
|
|
57
|
+
}
|
|
58
|
+
.wardley-annotation circle {
|
|
59
|
+
fill: ${r.annotationFill};
|
|
60
|
+
stroke: ${r.annotationStroke};
|
|
61
|
+
}
|
|
62
|
+
.wardley-annotation text {
|
|
63
|
+
fill: ${r.annotationTextColor};
|
|
64
|
+
}
|
|
65
|
+
.wardley-annotations-box rect {
|
|
66
|
+
fill: ${r.annotationFill};
|
|
67
|
+
stroke: ${r.annotationStroke};
|
|
68
|
+
}
|
|
69
|
+
.wardley-annotations-box text {
|
|
70
|
+
fill: ${r.annotationTextColor};
|
|
71
|
+
}
|
|
72
|
+
.wardley-pipeline-box {
|
|
73
|
+
stroke: ${r.componentStroke};
|
|
74
|
+
}
|
|
75
|
+
.wardley-notes text {
|
|
76
|
+
fill: ${r.axisTextColor};
|
|
77
|
+
}
|
|
78
|
+
`},"styles"),ee={parser:ct,db:Ft,renderer:qt,styles:jt};export{ee as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import{Mr}from"./chunk-416ts17x.js";import{ie}from"./chunk-e54b48p5.js";import{t,i,F,A,C,N,M,P,R,I,O,D,d,Za,g,rc,Z,H}from"./chunk-kasv56qe.js";import{fe}from"./chunk-fnzyprme.js";var B={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ce=F.gitGraph,V=t(()=>Z({...Ce,...A().gitGraph}),"getConfig"),m=new Mr(()=>{let e=V(),{mainBranchName:r,mainBranchOrder:a}=e;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function oe(){return rc({length:7})}t(oe,"getID");function pe(e,r){let a=Object.create(null);return e.reduce((n,c)=>{let l=r(c);if(!a[l])a[l]=!0,n.push(c);return n},[])}t(pe,"uniqBy");var ve=t(function(e){m.records.direction=e},"setDirection"),Ee=t(function(e){i.debug("options str",e),e=e?.trim(),e=e||"{}";try{m.records.options=JSON.parse(e)}catch(r){i.error("error while parsing gitGraph options",r.message)}},"setOptions"),Te=t(function(){return m.records.options},"getOptions"),Le=t(function(e){let{msg:r,id:a,type:n,tags:c}=e;i.info("commit",r,a,n,c),i.debug("Entering commit:",r,a,n,c);let l=V();a=C.sanitizeText(a,l),r=C.sanitizeText(r,l),c=c?.map((o)=>C.sanitizeText(o,l));let s={id:a?a:m.records.seq+"-"+oe(),message:r,seq:m.records.seq++,type:n??B.NORMAL,tags:c??[],parents:m.records.head==null?[]:[m.records.head.id],branch:m.records.currBranch};if(m.records.head=s,i.info("main branch",l.mainBranchName),m.records.commits.has(s.id))i.warn(`Commit ID ${s.id} already exists`);m.records.commits.set(s.id,s),m.records.branches.set(m.records.currBranch,s.id),i.debug("in pushCommit "+s.id)},"commit"),Me=t(function(e){let{name:r,order:a}=e;if(r=C.sanitizeText(r,V()),m.records.branches.has(r))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);m.records.branches.set(r,m.records.head!=null?m.records.head.id:null),m.records.branchConfig.set(r,{name:r,order:a}),ye(r),i.debug("in createBranch")},"branch"),Pe=t((e)=>{let{branch:r,id:a,type:n,tags:c}=e,l=V();if(r=C.sanitizeText(r,l),a)a=C.sanitizeText(a,l);let s=m.records.branches.get(m.records.currBranch),o=m.records.branches.get(r),f=s?m.records.commits.get(s):void 0,y=o?m.records.commits.get(o):void 0;if(f&&y&&f.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(m.records.currBranch===r){let h=Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(f===void 0||!f){let h=Error(`Incorrect usage of "merge". Current branch (${m.records.currBranch})has no commits`);throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},h}if(!m.records.branches.has(r)){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},h}if(y===void 0||!y){let h=Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},h}if(f===y){let h=Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},h}if(a&&m.records.commits.has(a)){let h=Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom id");throw h.hash={text:`merge ${r} ${a} ${n} ${c?.join(" ")}`,token:`merge ${r} ${a} ${n} ${c?.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${n} ${c?.join(" ")}`]},h}let x=o?o:"",p={id:a||`${m.records.seq}-${oe()}`,message:`merged branch ${r} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,x],branch:m.records.currBranch,type:B.MERGE,customType:n,customId:a?!0:!1,tags:c??[]};m.records.head=p,m.records.commits.set(p.id,p),m.records.branches.set(m.records.currBranch,p.id),i.debug(m.records.branches),i.debug("in mergeBranch")},"merge"),Re=t(function(e){let{id:r,targetId:a,tags:n,parent:c}=e;i.debug("Entering cherryPick:",r,a,n);let l=V();if(r=C.sanitizeText(r,l),a=C.sanitizeText(a,l),n=n?.map((f)=>C.sanitizeText(f,l)),c=C.sanitizeText(c,l),!r||!m.records.commits.has(r)){let f=Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw f.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},f}let s=m.records.commits.get(r);if(s===void 0||!s)throw Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(c&&!(Array.isArray(s.parents)&&s.parents.includes(c)))throw Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let o=s.branch;if(s.type===B.MERGE&&!c)throw Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!m.records.commits.has(a)){if(o===m.records.currBranch){let p=Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw p.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},p}let f=m.records.branches.get(m.records.currBranch);if(f===void 0||!f){let p=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},p}let y=m.records.commits.get(f);if(y===void 0||!y){let p=Error(`Incorrect usage of "cherry-pick". Current branch (${m.records.currBranch})has no commits`);throw p.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},p}let x={id:m.records.seq+"-"+oe(),message:`cherry-picked ${s?.message} into ${m.records.currBranch}`,seq:m.records.seq++,parents:m.records.head==null?[]:[m.records.head.id,s.id],branch:m.records.currBranch,type:B.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===B.MERGE?`|parent:${c}`:""}`]};m.records.head=x,m.records.commits.set(x.id,x),m.records.branches.set(m.records.currBranch,x.id),i.debug(m.records.branches),i.debug("in cherryPick")}},"cherryPick"),ye=t(function(e){if(e=C.sanitizeText(e,V()),!m.records.branches.has(e)){let r=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}else{m.records.currBranch=e;let r=m.records.branches.get(m.records.currBranch);if(r===void 0||!r)m.records.head=null;else m.records.head=m.records.commits.get(r)??null}},"checkout");function de(e,r,a){let n=e.indexOf(r);if(n===-1)e.push(a);else e.splice(n,1,a)}t(de,"upsert");function le(e){let r=e.reduce((c,l)=>{if(c.seq>l.seq)return c;return l},e[0]),a="";e.forEach(function(c){if(c===r)a+="\t*";else a+="\t|"});let n=[a,r.id,r.seq];for(let c in m.records.branches)if(m.records.branches.get(c)===r.id)n.push(c);if(i.debug(n.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){let c=m.records.commits.get(r.parents[0]);if(de(e,r,c),r.parents[1])e.push(m.records.commits.get(r.parents[1]))}else if(r.parents.length==0)return;else if(r.parents[0]){let c=m.records.commits.get(r.parents[0]);de(e,r,c)}e=pe(e,(c)=>c.id),le(e)}t(le,"prettyPrintCommitHistory");var Oe=t(function(){i.debug(m.records.commits);let e=xe()[0];le([e])},"prettyPrint"),Ie=t(function(){m.reset(),N()},"clear"),_e=t(function(){return[...m.records.branchConfig.values()].map((r,a)=>{if(r.order!==null&&r.order!==void 0)return r;return{...r,order:parseFloat(`0.${a}`)}}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ge=t(function(){return m.records.branches},"getBranches"),De=t(function(){return m.records.commits},"getCommits"),xe=t(function(){let e=[...m.records.commits.values()];return e.forEach(function(r){i.debug(r.id)}),e.sort((r,a)=>r.seq-a.seq),e},"getCommitsArray"),We=t(function(){return m.records.currBranch},"getCurrentBranch"),qe=t(function(){return m.records.direction},"getDirection"),Ae=t(function(){return m.records.head},"getHead"),ue={commitType:B,getConfig:V,setDirection:ve,setOptions:Ee,getOptions:Te,commit:Le,branch:Me,merge:Pe,cherryPick:Re,checkout:ye,prettyPrint:Oe,clear:Ie,getBranchesAsObjArray:_e,getBranches:Ge,getCommits:De,getCommitsArray:xe,getCurrentBranch:We,getDirection:qe,getHead:Ae,setAccTitle:M,getAccTitle:P,getAccDescription:I,setAccDescription:R,setDiagramTitle:O,getDiagramTitle:D},He=t((e,r)=>{if(ie(e,r),e.dir)r.setDirection(e.dir);for(let a of e.statements)Se(a,r)},"populate"),Se=t((e,r)=>{let n={Commit:t((c)=>r.commit(Ne(c)),"Commit"),Branch:t((c)=>r.branch(Fe(c)),"Branch"),Merge:t((c)=>r.merge(ze(c)),"Merge"),Checkout:t((c)=>r.checkout(Ye(c)),"Checkout"),CherryPicking:t((c)=>r.cherryPick(je(c)),"CherryPicking")}[e.$type];if(n)n(e);else i.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ne=t((e)=>({id:e.id,msg:e.message??"",type:e.type!==void 0?B[e.type]:B.NORMAL,tags:e.tags??void 0}),"parseCommit"),Fe=t((e)=>({name:e.name,order:e.order??0}),"parseBranch"),ze=t((e)=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?B[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ye=t((e)=>e.branch,"parseCheckout"),je=t((e)=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ke={parse:t(async(e)=>{let r=await fe("gitGraph",e);i.debug(r),He(r,ue)},"parse")},Y=10,j=40,W=4,S=2,K=8,se=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),he=12,me=new Set(["redux-color","redux-dark-color"]),Ue=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),U=t((e,r,a=!1)=>{if(a&&e>0)return(e-1)%(r-1)+1;return e%r},"calcColorIndex"),L=new Map,_=new Map,re=30,Q=new Map,ae=[],z=0,b="LR",Ve=t(()=>{L.clear(),_.clear(),Q.clear(),z=0,ae=[],b="LR"},"clear"),be=t((e)=>{let r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e==="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach((n)=>{let c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),c.setAttribute("class","row"),c.textContent=n.trim(),r.appendChild(c)}),r},"drawText"),we=t((e)=>{let r,a,n;if(b==="BT")a=t((c,l)=>c<=l,"comparisonFunc"),n=1/0;else a=t((c,l)=>c>=l,"comparisonFunc"),n=0;return e.forEach((c)=>{let l=b==="TB"||b=="BT"?_.get(c)?.y:_.get(c)?.x;if(l!==void 0&&a(l,n))r=c,n=l}),r},"findClosestParent"),Ze=t((e)=>{let r="",a=1/0;return e.forEach((n)=>{let c=_.get(n).y;if(c<=a)r=n,a=c}),r||void 0},"findClosestParentBT"),Xe=t((e,r,a)=>{let n=a,c=a,l=[];e.forEach((s)=>{let o=r.get(s);if(!o)throw Error(`Commit not found for key ${s}`);if(o.parents.length)n=Qe(o),c=Math.max(n,c);else l.push(o);et(o,n)}),n=c,l.forEach((s)=>{tt(s,n,a)}),e.forEach((s)=>{let o=r.get(s);if(o?.parents.length){let f=Ze(o.parents);if(n=_.get(f).y-j,n<=c)c=n;let y=L.get(o.branch).pos,x=n-Y;_.set(o.id,{x:y,y:x})}})},"setParallelBTPos"),Je=t((e)=>{let r=we(e.parents.filter((n)=>n!==null));if(!r)throw Error(`Closest parent not found for commit ${e.id}`);let a=_.get(r)?.y;if(a===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return a},"findClosestParentPos"),Qe=t((e)=>Je(e)+j,"calculateCommitPosition"),et=t((e,r)=>{let a=L.get(e.branch);if(!a)throw Error(`Branch not found for commit ${e.id}`);let n=a.pos,c=r+Y;return _.set(e.id,{x:n,y:c}),{x:n,y:c}},"setCommitPosition"),tt=t((e,r,a)=>{let n=L.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let c=r+a,l=n.pos;_.set(e.id,{x:l,y:c})},"setRootPosition"),rt=t((e,r,a,n,c,l)=>{let{theme:s}=d(),o=se.has(s??""),f=me.has(s??""),y=Ue.has(s??"");if(l===B.HIGHLIGHT)e.append("rect").attr("x",a.x-10+(o?3:0)).attr("y",a.y-10+(o?3:0)).attr("width",o?14:20).attr("height",o?14:20).attr("class",`commit ${r.id} commit-highlight${U(c,K,f)} ${n}-outer`),e.append("rect").attr("x",a.x-6+(o?2:0)).attr("y",a.y-6+(o?2:0)).attr("width",o?8:12).attr("height",o?8:12).attr("class",`commit ${r.id} commit${U(c,K,f)} ${n}-inner`);else if(l===B.CHERRY_PICK)e.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",o?7:10).attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",o?2.5:2.75).attr("fill",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`),e.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke",y?"#000000":"#fff").attr("class",`commit ${r.id} ${n}`);else{let x=e.append("circle");if(x.attr("cx",a.x),x.attr("cy",a.y),x.attr("r",o?7:10),x.attr("class",`commit ${r.id} commit${U(c,K,f)}`),l===B.MERGE){let p=e.append("circle");p.attr("cx",a.x),p.attr("cy",a.y),p.attr("r",o?5:6),p.attr("class",`commit ${n} ${r.id} commit${U(c,K,f)}`)}if(l===B.REVERSE){let p=e.append("path"),h=o?4:5;p.attr("d",`M ${a.x-h},${a.y-h}L${a.x+h},${a.y+h}M${a.x-h},${a.y+h}L${a.x+h},${a.y-h}`).attr("class",`commit ${n} ${r.id} commit${U(c,K,f)}`)}}},"drawCommitBullet"),at=t((e,r,a,n,c)=>{if(r.type!==B.CHERRY_PICK&&(r.customId&&r.type===B.MERGE||r.type!==B.MERGE)&&c.showCommitLabel){let l=e.append("g"),s=l.insert("rect").attr("class","commit-label-bkg"),o=l.append("text").attr("x",n).attr("y",a.y+25).attr("class","commit-label").text(r.id),f=o.node()?.getBBox();if(f){if(s.attr("x",a.posWithOffset-f.width/2-S).attr("y",a.y+13.5).attr("width",f.width+2*S).attr("height",f.height+2*S),b==="TB"||b==="BT")s.attr("x",a.x-(f.width+4*W+5)).attr("y",a.y-12),o.attr("x",a.x-(f.width+4*W)).attr("y",a.y+f.height-12);else o.attr("x",a.posWithOffset-f.width/2);if(c.rotateCommitLabel)if(b==="TB"||b==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),s.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let y=-7.5-(f.width+10)/25*9.5,x=10+f.width/25*8.5;l.attr("transform","translate("+y+", "+x+") rotate(-45, "+n+", "+a.y+")")}}}},"drawCommitLabel"),ot=t((e,r,a,n)=>{if(r.tags.length>0){let c=0,l=0,s=0,o=[];for(let f of r.tags.reverse()){let y=e.insert("polygon"),x=e.append("circle"),p=e.append("text").attr("y",a.y-16-c).attr("class","tag-label").text(f),h=p.node()?.getBBox();if(!h)throw Error("Tag bbox not found");l=Math.max(l,h.width),s=Math.max(s,h.height),p.attr("x",a.posWithOffset-h.width/2),o.push({tag:p,hole:x,rect:y,yOffset:c}),c+=20}for(let{tag:f,hole:y,rect:x,yOffset:p}of o){let h=s/2,w=a.y-19.2-p;if(x.attr("class","tag-label-bkg").attr("points",`
|
|
2
|
+
${n-l/2-W/2},${w+S}
|
|
3
|
+
${n-l/2-W/2},${w-S}
|
|
4
|
+
${a.posWithOffset-l/2-W},${w-h-S}
|
|
5
|
+
${a.posWithOffset+l/2+W},${w-h-S}
|
|
6
|
+
${a.posWithOffset+l/2+W},${w+h+S}
|
|
7
|
+
${a.posWithOffset-l/2-W},${w+h+S}`),y.attr("cy",w).attr("cx",n-l/2+W/2).attr("r",1.5).attr("class","tag-hole"),b==="TB"||b==="BT"){let u=n+p;x.attr("class","tag-label-bkg").attr("points",`
|
|
8
|
+
${a.x},${u+2}
|
|
9
|
+
${a.x},${u-2}
|
|
10
|
+
${a.x+Y},${u-h-2}
|
|
11
|
+
${a.x+Y+l+4},${u-h-2}
|
|
12
|
+
${a.x+Y+l+4},${u+h+2}
|
|
13
|
+
${a.x+Y},${u+h+2}`).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),y.attr("cx",a.x+W/2).attr("cy",u).attr("transform","translate(12,12) rotate(45, "+a.x+","+n+")"),f.attr("x",a.x+5).attr("y",u+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+n+")")}}}},"drawCommitTags"),st=t((e)=>{switch(e.customType??e.type){case B.NORMAL:return"commit-normal";case B.REVERSE:return"commit-reverse";case B.HIGHLIGHT:return"commit-highlight";case B.MERGE:return"commit-merge";case B.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),nt=t((e,r,a,n)=>{let c={x:0,y:0};if(e.parents.length>0){let l=we(e.parents);if(l){let s=n.get(l)??c;if(r==="TB")return s.y+j;else if(r==="BT")return(n.get(e.id)??c).y-j;else return s.x+j}}else if(r==="TB")return re;else if(r==="BT")return(n.get(e.id)??c).y-j;else return 0;return 0},"calculatePosition"),ct=t((e,r,a)=>{let n=b==="BT"&&a?r:r+Y,c=L.get(e.branch)?.pos,l=b==="TB"||b==="BT"?L.get(e.branch)?.pos:n;if(l===void 0||c===void 0)throw Error(`Position were undefined for commit ${e.id}`);let s=se.has(d().theme??""),o=b==="TB"||b==="BT"?n:c+(s?he/2+1:-2);return{x:l,y:o,posWithOffset:n}},"getCommitPosition"),$e=t((e,r,a,n)=>{let c=e.append("g").attr("class","commit-bullets"),l=e.append("g").attr("class","commit-labels"),s=b==="TB"||b==="BT"?re:0,o=[...r.keys()],f=n.parallelCommits??!1,y=t((p,h)=>{let w=r.get(p)?.seq,u=r.get(h)?.seq;return w!==void 0&&u!==void 0?w-u:0},"sortKeys"),x=o.sort(y);if(b==="BT"){if(f)Xe(x,r,s);x=x.reverse()}x.forEach((p)=>{let h=r.get(p);if(!h)throw Error(`Commit not found for key ${p}`);if(f)s=nt(h,b,s,_);let w=ct(h,s,f);if(a){let u=st(h),k=h.customType??h.type,v=L.get(h.branch)?.index??0;rt(c,h,w,u,v,k),at(l,h,w,s,n),ot(l,h,w,s)}if(b==="TB"||b==="BT")_.set(h.id,{x:w.x,y:w.posWithOffset});else _.set(h.id,{x:w.posWithOffset,y:w.y});if(s=b==="BT"&&f?s+j:s+j+Y,s>z)z=s})},"drawCommits"),it=t((e,r,a,n,c)=>{let s=(b==="TB"||b==="BT"?a.x<n.x:a.y<n.y)?r.branch:e.branch,o=t((y)=>y.branch===s,"isOnBranchToGetCurve"),f=t((y)=>y.seq>e.seq&&y.seq<r.seq,"isBetweenCommits");return[...c.values()].some((y)=>f(y)&&o(y))},"shouldRerouteArrow"),ee=t((e,r,a=0)=>{let n=e+Math.abs(e-r)/2;if(a>5)return n;if(ae.every((s)=>Math.abs(s-n)>=10))return ae.push(n),n;let l=Math.abs(e-r);return ee(e,r-l/5,a+1)},"findLane"),dt=t((e,r,a,n)=>{let{theme:c}=d(),l=me.has(c??""),s=_.get(r.id),o=_.get(a.id);if(s===void 0||o===void 0)throw Error(`Commit positions not found for commits ${r.id} and ${a.id}`);let f=it(r,a,s,o,n),y="",x="",p=0,h=0,w=L.get(a.branch)?.index;if(a.type===B.MERGE&&r.id!==a.parents[0])w=L.get(r.branch)?.index;let u;if(f){y="A 10 10, 0, 0, 0,",x="A 10 10, 0, 0, 1,",p=10,h=10;let k=s.y<o.y?ee(s.y,o.y):ee(o.y,s.y),v=s.x<o.x?ee(s.x,o.x):ee(o.x,s.x);if(b==="TB")if(s.x<o.x)u=`M ${s.x} ${s.y} L ${v-p} ${s.y} ${x} ${v} ${s.y+h} L ${v} ${o.y-p} ${y} ${v+h} ${o.y} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${v+p} ${s.y} ${y} ${v} ${s.y+h} L ${v} ${o.y-p} ${x} ${v-h} ${o.y} L ${o.x} ${o.y}`;else if(b==="BT")if(s.x<o.x)u=`M ${s.x} ${s.y} L ${v-p} ${s.y} ${y} ${v} ${s.y-h} L ${v} ${o.y+p} ${x} ${v+h} ${o.y} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${v+p} ${s.y} ${x} ${v} ${s.y-h} L ${v} ${o.y+p} ${y} ${v-h} ${o.y} L ${o.x} ${o.y}`;else if(s.y<o.y)u=`M ${s.x} ${s.y} L ${s.x} ${k-p} ${y} ${s.x+h} ${k} L ${o.x-p} ${k} ${x} ${o.x} ${k+h} L ${o.x} ${o.y}`;else w=L.get(r.branch)?.index,u=`M ${s.x} ${s.y} L ${s.x} ${k+p} ${x} ${s.x+h} ${k} L ${o.x-p} ${k} ${y} ${o.x} ${k-h} L ${o.x} ${o.y}`}else if(y="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",p=20,h=20,b==="TB"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y-p} ${y} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${x} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x>o.x)if(y="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",p=20,h=20,a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y-p} ${x} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x+p} ${s.y} ${y} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;if(s.x===o.x)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else if(b==="BT"){if(s.x<o.x)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y+p} ${x} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${y} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x>o.x)if(y="A 20 20, 0, 0, 0,",x="A 20 20, 0, 0, 1,",p=20,h=20,a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${s.x} ${o.y+p} ${y} ${s.x-h} ${o.y} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${o.x+p} ${s.y} ${x} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;if(s.x===o.x)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}else{if(s.y<o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${x} ${o.x} ${s.y+h} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${s.x} ${o.y-p} ${y} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y>o.y)if(a.type===B.MERGE&&r.id!==a.parents[0])u=`M ${s.x} ${s.y} L ${o.x-p} ${s.y} ${y} ${o.x} ${s.y-h} L ${o.x} ${o.y}`;else u=`M ${s.x} ${s.y} L ${s.x} ${o.y+p} ${x} ${s.x+h} ${o.y} L ${o.x} ${o.y}`;if(s.y===o.y)u=`M ${s.x} ${s.y} L ${o.x} ${o.y}`}if(u===void 0)throw Error("Line definition not found");e.append("path").attr("d",u).attr("class","arrow arrow"+U(w,K,l))},"drawArrow"),ht=t((e,r)=>{let a=e.append("g").attr("class","commit-arrows");[...r.keys()].forEach((n)=>{let c=r.get(n);if(c.parents&&c.parents.length>0)c.parents.forEach((l)=>{dt(a,r.get(l),c,r)})})},"drawArrows"),lt=t((e,r,a,n)=>{let{look:c,theme:l,themeVariables:s}=d(),{dropShadow:o,THEME_COLOR_LIMIT:f}=s,y=se.has(l??""),x=me.has(l??""),p=e.append("g");r.forEach((h,w)=>{let u=U(w,y?f:K,x),k=L.get(h.name)?.pos;if(k===void 0)throw Error(`Position not found for branch ${h.name}`);let v=b==="TB"||b==="BT"?k:y?k+he/2+1:k-2,E=p.append("line");if(E.attr("x1",0),E.attr("y1",v),E.attr("x2",z),E.attr("y2",v),E.attr("class","branch branch"+u),b==="TB")E.attr("y1",re),E.attr("x1",k),E.attr("y2",z),E.attr("x2",k);else if(b==="BT")E.attr("y1",z),E.attr("x1",k),E.attr("y2",re),E.attr("x2",k);ae.push(v);let ne=h.name,J=be(ne),G=p.insert("rect"),q=p.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+u);q.node().appendChild(J);let T=J.getBBox(),ge=y?0:4,te=y?16:0,X=y?he:0;if(c==="neo")G.attr("data-look","neo");if(G.attr("class","branchLabelBkg label"+u).attr("style",c==="neo"?`filter:${y?`url(#${n}-drop-shadow)`:o}`:"").attr("rx",ge).attr("ry",ge).attr("x",-T.width-4-(a.rotateCommitLabel===!0?30:0)).attr("y",-T.height/2+10).attr("width",T.width+18+te).attr("height",T.height+4+X),q.attr("transform","translate("+(-T.width-14-(a.rotateCommitLabel===!0?30:0)+te/2)+", "+(v-T.height/2-2)+")"),b==="TB"){if(G.attr("x",k-T.width/2-10).attr("y",0),q.attr("transform","translate("+(k-T.width/2-5)+", 0)"),y)G.attr("transform",`translate(${-te/2-3}, ${-X-10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(-X*2+7)+")")}else if(b==="BT"){if(G.attr("x",k-T.width/2-10).attr("y",z),q.attr("transform","translate("+(k-T.width/2-5)+", "+z+")"),y)G.attr("transform",`translate(${-te/2-3}, ${X+10})`),q.attr("transform","translate("+(k-T.width/2-5)+", "+(z+X*2+4)+")")}else G.attr("transform","translate(-19, "+(v-12-X/2)+")")})},"drawBranches"),mt=t(function(e,r,a,n,c){return L.set(e,{pos:r,index:a}),r+=50+(c?40:0)+(b==="TB"||b==="BT"?n.width/2:0),r},"setBranchPosition"),gt=t(function(e,r,a,n){Ve(),i.debug("in gitgraph renderer",e+`
|
|
14
|
+
`,"id:",r,a);let c=n.db;if(!c.getConfig){i.error("getConfig method is not available on db");return}let l=c.getConfig(),s=l.rotateCommitLabel??!1;Q=c.getCommits();let o=c.getBranchesAsObjArray();b=c.getDirection();let f=g(`[id="${r}"]`),{look:y,theme:x,themeVariables:p}=d(),{useGradient:h,gradientStart:w,gradientStop:u,filterColor:k}=p;if(h){let E=f.append("defs").append("linearGradient").attr("id",r+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");E.append("stop").attr("offset","0%").attr("stop-color",w).attr("stop-opacity",1),E.append("stop").attr("offset","100%").attr("stop-color",u).attr("stop-opacity",1)}if(y==="neo"&&se.has(x??""))f.append("defs").append("filter").attr("id",r+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",k);let v=0;if(o.forEach((E,ne)=>{let J=be(E.name),G=f.append("g"),ce=G.insert("g").attr("class","branchLabel"),q=ce.insert("g").attr("class","label branch-label");q.node()?.appendChild(J);let T=J.getBBox();v=mt(E.name,v,ne,T,s),q.remove(),ce.remove(),G.remove()}),$e(f,Q,!1,l),l.showBranches)lt(f,o,l,r);ht(f,Q),$e(f,Q,!0,l),H.insertTitle(f,"gitTitleText",l.titleTopMargin??0,c.getDiagramTitle()),Za(void 0,f,l.diagramPadding,l.useMaxWidth)},"draw"),ft={draw:gt},Be=8,ke=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),$t=new Set(["redux-color","redux-dark-color"]),pt=new Set(["neo","neo-dark"]),yt=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),xt=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),ut=t((e)=>{let{svgId:r}=e,a="";if(e.useGradient&&r)for(let n=0;n<e.THEME_COLOR_LIMIT;n++)a+=`
|
|
15
|
+
.label${n} { fill: ${e.mainBkg}; stroke: url(${r}-gradient); stroke-width: ${e.strokeWidth};}
|
|
16
|
+
`;return a},"genGitGraphGradient"),bt=t((e)=>{let r=A(),{theme:a,themeVariables:n}=r,{borderColorArray:c}=n,l=ke.has(a);if(pt.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
|
|
17
|
+
.branch-label${o} { fill: ${e.nodeBorder};}
|
|
18
|
+
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
19
|
+
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
20
|
+
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
21
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
22
|
+
.commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
|
|
23
|
+
${ut(e)}`;else{let f=o%Be;s+=`
|
|
24
|
+
.branch-label${o} { fill: ${e["gitBranchLabel"+f]}; }
|
|
25
|
+
.commit${o} { stroke: ${e["git"+f]}; fill: ${e["git"+f]}; }
|
|
26
|
+
.commit-highlight${o} { stroke: ${e["gitInv"+f]}; fill: ${e["gitInv"+f]}; }
|
|
27
|
+
.arrow${o} { stroke: ${e["git"+f]}; }
|
|
28
|
+
`}return s}else if(!$t.has(a)){let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)s+=`
|
|
29
|
+
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
30
|
+
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
31
|
+
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.nodeBorder}; }
|
|
32
|
+
.label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""}}
|
|
33
|
+
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
34
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
35
|
+
.commit-cherry-pick${o} { stroke: ${e.nodeBorder}; }
|
|
36
|
+
`;return s}else{let s="";for(let o=0;o<e.THEME_COLOR_LIMIT;o++)if(o===0)s+=`
|
|
37
|
+
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
38
|
+
.commit${o} { stroke: ${e.nodeBorder}; }
|
|
39
|
+
.commit-highlight${o} { stroke: ${e.nodeBorder}; fill: ${e.mainBkg}; }
|
|
40
|
+
.label${o} { fill: ${e.mainBkg}; stroke: ${e.nodeBorder}; stroke-width: ${e.strokeWidth}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
41
|
+
.arrow${o} { stroke: ${e.nodeBorder}; }
|
|
42
|
+
.commit-bullets { fill: ${e.nodeBorder}; }
|
|
43
|
+
`;else{let f=o%c.length;s+=`
|
|
44
|
+
.branch-label${o} { fill: ${e.nodeBorder}; ${l?`font-weight:${e.noteFontWeight}`:""} }
|
|
45
|
+
.commit${o} { stroke: ${c[f]}; fill: ${c[f]}; }
|
|
46
|
+
.commit-highlight${o} { stroke: ${c[f]}; fill: ${c[f]}; }
|
|
47
|
+
.label${o} { fill: ${yt.has(a)?e.mainBkg:c[f]}; stroke: ${c[f]}; stroke-width: ${e.strokeWidth}; }
|
|
48
|
+
.arrow${o} { stroke: ${c[f]}; }
|
|
49
|
+
`}return s}},"genColor"),wt=t((e)=>`${Array.from({length:e.THEME_COLOR_LIMIT},(r,a)=>a).map((r)=>{let a=r%Be;return`
|
|
50
|
+
.branch-label${r} { fill: ${e["gitBranchLabel"+a]}; }
|
|
51
|
+
.commit${r} { stroke: ${e["git"+a]}; fill: ${e["git"+a]}; }
|
|
52
|
+
.commit-highlight${r} { stroke: ${e["gitInv"+a]}; fill: ${e["gitInv"+a]}; }
|
|
53
|
+
.label${r} { fill: ${e["git"+a]}; }
|
|
54
|
+
.arrow${r} { stroke: ${e["git"+a]}; }
|
|
55
|
+
`}).join(`
|
|
56
|
+
`)}`,"normalTheme"),Bt=t((e)=>{let r=A(),{theme:a}=r,n=xt.has(a);return`
|
|
57
|
+
.commit-id,
|
|
58
|
+
.commit-msg,
|
|
59
|
+
.branch-label {
|
|
60
|
+
fill: lightgrey;
|
|
61
|
+
color: lightgrey;
|
|
62
|
+
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
63
|
+
font-family: var(--mermaid-font-family);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
${n?bt(e):wt(e)}
|
|
67
|
+
|
|
68
|
+
.branch {
|
|
69
|
+
stroke-width: ${e.strokeWidth};
|
|
70
|
+
stroke: ${e.commitLineColor??e.lineColor};
|
|
71
|
+
stroke-dasharray: ${n?"4 2":"2"};
|
|
72
|
+
}
|
|
73
|
+
.commit-label { font-size: ${e.commitLabelFontSize}; fill: ${n?e.nodeBorder:e.commitLabelColor}; ${n?`font-weight:${e.noteFontWeight};`:""}}
|
|
74
|
+
.commit-label-bkg { font-size: ${e.commitLabelFontSize}; fill: ${n?"transparent":e.commitLabelBackground}; opacity: ${n?"":0.5}; }
|
|
75
|
+
.tag-label { font-size: ${e.tagLabelFontSize}; fill: ${e.tagLabelColor};}
|
|
76
|
+
.tag-label-bkg { fill: ${n?e.mainBkg:e.tagLabelBackground}; stroke: ${n?e.nodeBorder:e.tagLabelBorder}; ${n?`filter:${e.dropShadow}`:""} }
|
|
77
|
+
.tag-hole { fill: ${e.textColor}; }
|
|
78
|
+
|
|
79
|
+
.commit-merge {
|
|
80
|
+
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
81
|
+
fill: ${n?e.mainBkg:e.primaryColor};
|
|
82
|
+
}
|
|
83
|
+
.commit-reverse {
|
|
84
|
+
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
85
|
+
fill: ${n?e.mainBkg:e.primaryColor};
|
|
86
|
+
stroke-width: ${n?e.strokeWidth:3};
|
|
87
|
+
}
|
|
88
|
+
.commit-highlight-outer {
|
|
89
|
+
}
|
|
90
|
+
.commit-highlight-inner {
|
|
91
|
+
stroke: ${n?e.mainBkg:e.primaryColor};
|
|
92
|
+
fill: ${n?e.mainBkg:e.primaryColor};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.arrow {
|
|
96
|
+
/* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
|
|
97
|
+
stroke-width: ${ke.has(a)?e.strokeWidth:8};
|
|
98
|
+
stroke-linecap: round;
|
|
99
|
+
fill: none
|
|
100
|
+
}
|
|
101
|
+
.gitTitleText {
|
|
102
|
+
text-anchor: middle;
|
|
103
|
+
font-size: 18px;
|
|
104
|
+
fill: ${e.textColor};
|
|
105
|
+
}
|
|
106
|
+
`},"getStyles"),kt=Bt,Ot={parser:Ke,db:ue,renderer:ft,styles:kt};export{Ot as diagram};
|
|
Binary file
|
|
Binary file
|