@bkm016/basalt 0.1.18 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/chunk-0b2brwjc.js +3 -0
- package/chunk-13pbt8mn.js +2 -0
- package/chunk-14085qqt.js +8 -0
- package/chunk-2dph65ye.js +3 -0
- package/chunk-2v8anxgd.js +9 -0
- package/chunk-37f4ks5f.js +3 -0
- package/chunk-3q1hxwxb.js +5 -0
- package/chunk-3qs33s9g.js +2 -0
- package/chunk-53m94h0b.js +7 -0
- package/chunk-5jy2cnyr.js +18 -0
- package/chunk-5wfyn3k0.js +3 -0
- package/chunk-69v706tc.js +5 -0
- package/chunk-79h4rzza.js +2 -0
- package/chunk-7xfde6se.js +3 -0
- package/chunk-8bf4g2d7.js +3 -0
- package/chunk-adq8c7vt.js +25 -0
- package/chunk-ahpg469e.js +3 -0
- package/chunk-ary9gky8.js +7 -0
- package/chunk-becsymjn.js +2 -0
- package/chunk-beqps81c.js +4 -0
- package/chunk-bnvynyww.js +3 -0
- package/chunk-c785tr0e.js +4078 -0
- package/chunk-cc19pbgm.js +12 -0
- package/chunk-d6g5m56z.js +2 -0
- package/chunk-etkktxdc.js +2 -0
- package/chunk-etxsj2ey.js +10 -0
- package/chunk-f2ajxymw.js +2 -0
- package/chunk-f2bcfa6z.js +7 -0
- package/chunk-f47qdrkp.js +2 -0
- package/chunk-f5yg6yd0.js +3 -0
- package/chunk-fjk9ztjc.js +11 -0
- package/chunk-g99n5ywc.js +3 -0
- package/chunk-grwavjp7.js +2 -0
- package/chunk-gsek3gpd.js +3 -0
- package/chunk-gv9hbv9j.js +2 -0
- package/chunk-h045t6f1.js +2 -0
- package/chunk-h4g1tzk6.js +11 -0
- package/chunk-had2k7b9.js +20 -0
- package/chunk-hbm45044.js +25 -0
- package/chunk-hd2hars5.js +3 -0
- package/chunk-hfh230tm.js +2 -0
- package/chunk-hkx7d1j9.js +7 -0
- package/chunk-jbk2tmza.js +5 -0
- package/chunk-jv9sy0np.js +2 -0
- package/chunk-kdc8tq70.js +2 -0
- package/chunk-m1nevdw6.js +3 -0
- package/chunk-m6yrpt1f.js +5 -0
- package/chunk-mrchbvsy.js +4 -0
- package/chunk-n9x6akk3.js +2 -0
- package/chunk-ne94brn4.js +3 -0
- package/chunk-nv1jg79d.js +2 -0
- package/chunk-pvdt969t.js +59 -0
- package/chunk-q22dnah8.js +3 -0
- package/chunk-q2zayphb.js +10 -0
- package/chunk-q4h6djtp.js +2 -0
- package/chunk-qa8mne61.js +2 -0
- package/chunk-r9z9m75h.js +16 -0
- package/chunk-rmyzxqkd.js +467 -0
- package/chunk-rq647zmf.js +2 -0
- package/chunk-sj4jvm9p.js +2 -0
- package/chunk-sq0ra5m8.js +4 -0
- package/chunk-sxg03n4v.js +2 -0
- package/chunk-t0m1wjrn.js +3 -0
- package/chunk-td52edcm.js +31 -0
- package/chunk-tdnwaaw4.js +12 -0
- package/chunk-teky87xx.js +3 -0
- package/chunk-v1avwm7q.js +3 -0
- package/chunk-wcmk8ee3.js +3 -0
- package/chunk-wf9r0frb.js +3 -0
- package/chunk-wx697mre.js +2 -0
- package/chunk-wzz64ygm.js +2 -0
- package/chunk-xb9mwt5a.js +2 -0
- package/chunk-xbkbaa84.js +2 -0
- package/chunk-xjy31n64.js +3 -0
- package/chunk-xzn34n38.js +389 -0
- package/chunk-yprp5s5v.js +3 -0
- package/chunk-yyhdabhq.js +15 -0
- package/chunk-z2jp61ze.js +39 -0
- package/chunk-zt5szcek.js +3 -0
- package/chunk-zxb6cg3m.js +2 -0
- package/compiled.js +9 -9
- package/package.json +1 -1
- package/ui-test-worker.js +21 -21
- package/web/chunk-0ays2hhj.js +41 -0
- package/web/chunk-0ays2hhj.js.br +0 -0
- package/web/chunk-0ays2hhj.js.gz +0 -0
- package/web/chunk-0na4c1bp.js +139 -0
- package/web/chunk-0na4c1bp.js.br +0 -0
- package/web/chunk-0na4c1bp.js.gz +0 -0
- package/web/chunk-0y0p0ct0.js +1 -0
- package/web/chunk-0y0p0ct0.js.br +0 -0
- package/web/chunk-0y0p0ct0.js.gz +0 -0
- package/web/chunk-191v8amv.js +1 -0
- package/web/chunk-191v8amv.js.br +0 -0
- package/web/chunk-191v8amv.js.gz +0 -0
- package/web/chunk-1c6rhsft.js +200 -0
- package/web/chunk-1c6rhsft.js.br +0 -0
- package/web/chunk-1c6rhsft.js.gz +0 -0
- package/web/chunk-1mwkrh5f.js +370 -0
- package/web/chunk-1mwkrh5f.js.br +0 -0
- package/web/chunk-1mwkrh5f.js.gz +0 -0
- package/web/chunk-1q4r17he.js +2 -0
- package/web/chunk-1q4r17he.js.br +0 -0
- package/web/chunk-1q4r17he.js.gz +0 -0
- package/web/chunk-1sm3c8an.js +8 -0
- package/web/chunk-1sm3c8an.js.br +0 -0
- package/web/chunk-1sm3c8an.js.gz +0 -0
- package/web/chunk-1vmjpvy5.js +1 -0
- package/web/chunk-1vmjpvy5.js.br +0 -0
- package/web/chunk-1vmjpvy5.js.gz +0 -0
- package/web/chunk-1x4z5w5e.js +1 -0
- package/web/chunk-1x4z5w5e.js.br +2 -0
- package/web/chunk-1x4z5w5e.js.gz +0 -0
- package/web/chunk-22ncha3b.js +142 -0
- package/web/chunk-22ncha3b.js.br +0 -0
- package/web/chunk-22ncha3b.js.gz +0 -0
- package/web/chunk-239rqgmj.js +24 -0
- package/web/chunk-239rqgmj.js.br +0 -0
- package/web/chunk-239rqgmj.js.gz +0 -0
- package/web/chunk-2c6zessc.js +2 -0
- package/web/chunk-2c6zessc.js.br +0 -0
- package/web/chunk-2c6zessc.js.gz +0 -0
- package/web/chunk-2m7b1wmp.js +1 -0
- package/web/chunk-2m7b1wmp.js.br +0 -0
- package/web/chunk-2m7b1wmp.js.gz +0 -0
- package/web/chunk-2qncw4c0.js +2 -0
- package/web/chunk-2qncw4c0.js.br +0 -0
- package/web/chunk-2qncw4c0.js.gz +0 -0
- package/web/chunk-2r497559.js +2 -0
- package/web/chunk-2r497559.js.br +0 -0
- package/web/chunk-2r497559.js.gz +0 -0
- package/web/chunk-2t43cra8.js +1 -0
- package/web/chunk-2t43cra8.js.br +0 -0
- package/web/chunk-2t43cra8.js.gz +0 -0
- package/web/chunk-2v379e1v.js +1 -0
- package/web/chunk-2v379e1v.js.br +2 -0
- package/web/chunk-2v379e1v.js.gz +0 -0
- package/web/chunk-2ywd0vz2.js +1 -0
- package/web/chunk-2ywd0vz2.js.br +0 -0
- package/web/chunk-2ywd0vz2.js.gz +0 -0
- package/web/chunk-3626tdgf.js +1 -0
- package/web/chunk-3626tdgf.js.br +0 -0
- package/web/chunk-3626tdgf.js.gz +0 -0
- package/web/chunk-3fq54zbf.js +2 -0
- package/web/chunk-3fq54zbf.js.br +0 -0
- package/web/chunk-3fq54zbf.js.gz +0 -0
- package/web/chunk-3jptvn0z.js +1 -0
- package/web/chunk-3jptvn0z.js.br +0 -0
- package/web/chunk-3jptvn0z.js.gz +0 -0
- package/web/chunk-3k31m9yk.js +7 -0
- package/web/chunk-3k31m9yk.js.br +0 -0
- package/web/chunk-3k31m9yk.js.gz +0 -0
- package/web/chunk-3wrebqcz.js +1 -0
- package/web/chunk-3wrebqcz.js.br +0 -0
- package/web/chunk-3wrebqcz.js.gz +0 -0
- package/web/chunk-42z866aa.js +1 -0
- package/web/chunk-42z866aa.js.br +0 -0
- package/web/chunk-42z866aa.js.gz +0 -0
- package/web/chunk-46r5s1ag.js +1 -0
- package/web/chunk-46r5s1ag.js.br +2 -0
- package/web/chunk-46r5s1ag.js.gz +0 -0
- package/web/chunk-4h8kxmac.js +1 -0
- package/web/chunk-4h8kxmac.js.br +2 -0
- package/web/chunk-4h8kxmac.js.gz +0 -0
- package/web/chunk-4hmp8qcv.js +1 -0
- package/web/chunk-4hmp8qcv.js.br +0 -0
- package/web/chunk-4hmp8qcv.js.gz +0 -0
- package/web/chunk-4ryyn6k5.js +1 -0
- package/web/chunk-4ryyn6k5.js.br +0 -0
- package/web/chunk-4ryyn6k5.js.gz +0 -0
- package/web/chunk-4zp7b44y.js +78 -0
- package/web/chunk-4zp7b44y.js.br +0 -0
- package/web/chunk-4zp7b44y.js.gz +0 -0
- package/web/chunk-52n1enqe.js +1 -0
- package/web/chunk-52n1enqe.js.br +0 -0
- package/web/chunk-52n1enqe.js.gz +0 -0
- package/web/chunk-5m5jve5q.js +2 -0
- package/web/chunk-5m5jve5q.js.br +0 -0
- package/web/chunk-5m5jve5q.js.gz +0 -0
- package/web/chunk-62ssrwet.js +1 -0
- package/web/chunk-62ssrwet.js.br +0 -0
- package/web/chunk-62ssrwet.js.gz +0 -0
- package/web/chunk-6e14fdx8.js +1 -0
- package/web/chunk-6e14fdx8.js.br +0 -0
- package/web/chunk-6e14fdx8.js.gz +0 -0
- package/web/chunk-6kckk3j9.js +1 -0
- package/web/chunk-6kckk3j9.js.br +2 -0
- package/web/chunk-6kckk3j9.js.gz +0 -0
- package/web/chunk-6vdh5wx5.js +1 -0
- package/web/chunk-6vdh5wx5.js.br +0 -0
- package/web/chunk-6vdh5wx5.js.gz +0 -0
- package/web/chunk-6wyrfrh1.js +1 -0
- package/web/chunk-6wyrfrh1.js.br +0 -0
- package/web/chunk-6wyrfrh1.js.gz +0 -0
- package/web/chunk-77pcpdb5.js +303 -0
- package/web/chunk-77pcpdb5.js.br +0 -0
- package/web/chunk-77pcpdb5.js.gz +0 -0
- package/web/chunk-7dq3x88k.js +120 -0
- package/web/chunk-7dq3x88k.js.br +0 -0
- package/web/chunk-7dq3x88k.js.gz +0 -0
- package/web/chunk-7ebwmmjn.js +34 -0
- package/web/chunk-7ebwmmjn.js.br +0 -0
- package/web/chunk-7ebwmmjn.js.gz +0 -0
- package/web/chunk-7jra5kj0.js +1 -0
- package/web/chunk-7jra5kj0.js.br +0 -0
- package/web/chunk-7jra5kj0.js.gz +0 -0
- package/web/chunk-8dgtprxa.js +2 -0
- package/web/chunk-8dgtprxa.js.br +0 -0
- package/web/chunk-8dgtprxa.js.gz +0 -0
- package/web/chunk-8mrw5mgn.js +1 -0
- package/web/chunk-8mrw5mgn.js.br +0 -0
- package/web/chunk-8mrw5mgn.js.gz +0 -0
- package/web/chunk-8n1cyb8k.js +99 -0
- package/web/chunk-8n1cyb8k.js.br +0 -0
- package/web/chunk-8n1cyb8k.js.gz +0 -0
- package/web/chunk-8ssjqdky.js +1 -0
- package/web/chunk-8ssjqdky.js.br +2 -0
- package/web/chunk-8ssjqdky.js.gz +0 -0
- package/web/chunk-90k6xrsa.js +2 -0
- package/web/chunk-90k6xrsa.js.br +0 -0
- package/web/chunk-90k6xrsa.js.gz +0 -0
- package/web/chunk-926v5sg8.js +24 -0
- package/web/chunk-926v5sg8.js.br +0 -0
- package/web/chunk-926v5sg8.js.gz +0 -0
- package/web/chunk-9kvr6dkh.js +106 -0
- package/web/chunk-9kvr6dkh.js.br +0 -0
- package/web/chunk-9kvr6dkh.js.gz +0 -0
- package/web/chunk-9s6zj1sh.js +217 -0
- package/web/chunk-9s6zj1sh.js.br +0 -0
- package/web/chunk-9s6zj1sh.js.gz +0 -0
- package/web/chunk-acpyx69f.js +1 -0
- package/web/chunk-acpyx69f.js.br +0 -0
- package/web/chunk-acpyx69f.js.gz +0 -0
- package/web/chunk-amch1hp8.js +1 -0
- package/web/chunk-amch1hp8.js.br +0 -0
- package/web/chunk-amch1hp8.js.gz +0 -0
- package/web/chunk-azjpkz26.js +38 -0
- package/web/chunk-azjpkz26.js.br +0 -0
- package/web/chunk-azjpkz26.js.gz +0 -0
- package/web/chunk-b2zmxzm0.js +2 -0
- package/web/chunk-b2zmxzm0.js.br +0 -0
- package/web/chunk-b2zmxzm0.js.gz +0 -0
- package/web/chunk-bgn0bkad.js +98 -0
- package/web/chunk-bgn0bkad.js.br +0 -0
- package/web/chunk-bgn0bkad.js.gz +0 -0
- package/web/chunk-bka3pbzn.js +4 -0
- package/web/chunk-bka3pbzn.js.br +0 -0
- package/web/chunk-bka3pbzn.js.gz +0 -0
- package/web/chunk-ck23t8as.js +2 -0
- package/web/chunk-ck23t8as.js.br +0 -0
- package/web/chunk-ck23t8as.js.gz +0 -0
- package/web/chunk-cp5ec63g.js +30 -0
- package/web/chunk-cp5ec63g.js.br +0 -0
- package/web/chunk-cp5ec63g.js.gz +0 -0
- package/web/chunk-cw21gjwg.js +39 -0
- package/web/chunk-cw21gjwg.js.br +0 -0
- package/web/chunk-cw21gjwg.js.gz +0 -0
- package/web/chunk-cxcpk0qt.js +2 -0
- package/web/chunk-cxcpk0qt.js.br +0 -0
- package/web/chunk-cxcpk0qt.js.gz +0 -0
- package/web/chunk-d3s30py8.js +1 -0
- package/web/chunk-d3s30py8.js.br +0 -0
- package/web/chunk-d3s30py8.js.gz +0 -0
- package/web/chunk-dj4jc1ec.js +1 -0
- package/web/chunk-dj4jc1ec.js.br +0 -0
- package/web/chunk-dj4jc1ec.js.gz +0 -0
- package/web/chunk-ef2xw0kb.js +1 -0
- package/web/chunk-ef2xw0kb.js.br +0 -0
- package/web/chunk-ef2xw0kb.js.gz +0 -0
- package/web/chunk-fek0yrg5.js +2 -0
- package/web/chunk-fek0yrg5.js.br +0 -0
- package/web/chunk-fek0yrg5.js.gz +0 -0
- package/web/chunk-fgm2r34b.js +36 -0
- package/web/chunk-fgm2r34b.js.br +0 -0
- package/web/chunk-fgm2r34b.js.gz +0 -0
- package/web/chunk-fpqs301q.js +2 -0
- package/web/chunk-fpqs301q.js.br +0 -0
- package/web/chunk-fpqs301q.js.gz +0 -0
- package/web/chunk-fv6se8xf.js +1 -0
- package/web/chunk-fv6se8xf.js.br +2 -0
- package/web/chunk-fv6se8xf.js.gz +0 -0
- package/web/chunk-g0nagyx2.js +1 -0
- package/web/chunk-g0nagyx2.js.br +0 -0
- package/web/chunk-g0nagyx2.js.gz +0 -0
- package/web/chunk-g5fp9ep9.js +1 -0
- package/web/chunk-g5fp9ep9.js.br +0 -0
- package/web/chunk-g5fp9ep9.js.gz +0 -0
- package/web/chunk-gh1fmd3j.js +3 -0
- package/web/chunk-gh1fmd3j.js.br +0 -0
- package/web/chunk-gh1fmd3j.js.gz +0 -0
- package/web/chunk-gq5825re.js +70 -0
- package/web/chunk-gq5825re.js.br +0 -0
- package/web/chunk-gq5825re.js.gz +0 -0
- package/web/chunk-gy57dyny.js +1 -0
- package/web/chunk-gy57dyny.js.br +0 -0
- package/web/chunk-gy57dyny.js.gz +0 -0
- package/web/chunk-j7p6xhe2.js +1 -0
- package/web/chunk-j7p6xhe2.js.br +0 -0
- package/web/chunk-j7p6xhe2.js.gz +0 -0
- package/web/chunk-jb8xfsc6.js +2 -0
- package/web/chunk-jb8xfsc6.js.br +0 -0
- package/web/chunk-jb8xfsc6.js.gz +0 -0
- package/web/chunk-jqyxnnn0.js +1 -0
- package/web/chunk-jqyxnnn0.js.br +0 -0
- package/web/chunk-jqyxnnn0.js.gz +0 -0
- package/web/chunk-jtwct1bx.js +1133 -0
- package/web/chunk-jtwct1bx.js.br +0 -0
- package/web/chunk-jtwct1bx.js.gz +0 -0
- package/web/chunk-k22kq2t7.js +12 -0
- package/web/chunk-k22kq2t7.js.br +0 -0
- package/web/chunk-k22kq2t7.js.gz +0 -0
- package/web/chunk-k2ry7k7s.js +1 -0
- package/web/chunk-k2ry7k7s.js.br +0 -0
- package/web/chunk-k2ry7k7s.js.gz +0 -0
- package/web/chunk-kdbrrecz.js +332 -0
- package/web/chunk-kdbrrecz.js.br +0 -0
- package/web/chunk-kdbrrecz.js.gz +0 -0
- package/web/chunk-kes2tf1q.js +2 -0
- package/web/chunk-kes2tf1q.js.br +3 -0
- package/web/chunk-kes2tf1q.js.gz +0 -0
- package/web/chunk-ksrzt6c5.js +1 -0
- package/web/chunk-ksrzt6c5.js.br +0 -0
- package/web/chunk-ksrzt6c5.js.gz +0 -0
- package/web/chunk-m2ethr1n.js +84 -0
- package/web/chunk-m2ethr1n.js.br +0 -0
- package/web/chunk-m2ethr1n.js.gz +0 -0
- package/web/chunk-m7tcm69z.js +292 -0
- package/web/chunk-m7tcm69z.js.br +0 -0
- package/web/chunk-m7tcm69z.js.gz +0 -0
- package/web/chunk-m8bz4e6n.js +2 -0
- package/web/chunk-m8bz4e6n.js.br +0 -0
- package/web/chunk-m8bz4e6n.js.gz +0 -0
- package/web/chunk-mva687p4.js +1 -0
- package/web/chunk-mva687p4.js.br +0 -0
- package/web/chunk-mva687p4.js.gz +0 -0
- package/web/chunk-n8fe9j5b.js +214 -0
- package/web/chunk-n8fe9j5b.js.br +0 -0
- package/web/chunk-n8fe9j5b.js.gz +0 -0
- package/web/chunk-nckx4yfd.js +62 -0
- package/web/chunk-nckx4yfd.js.br +0 -0
- package/web/chunk-nckx4yfd.js.gz +0 -0
- package/web/chunk-ncynjha5.js +2 -0
- package/web/chunk-ncynjha5.js.br +0 -0
- package/web/chunk-ncynjha5.js.gz +0 -0
- package/web/chunk-nq7dp0wj.js +291 -0
- package/web/chunk-nq7dp0wj.js.br +0 -0
- package/web/chunk-nq7dp0wj.js.gz +0 -0
- package/web/chunk-pagep4k3.js +1 -0
- package/web/chunk-pagep4k3.js.br +0 -0
- package/web/chunk-pagep4k3.js.gz +0 -0
- package/web/chunk-pbrk7zdw.js +1 -0
- package/web/chunk-pbrk7zdw.js.br +0 -0
- package/web/chunk-pbrk7zdw.js.gz +0 -0
- package/web/chunk-q0cs1bhg.js +2 -0
- package/web/chunk-q0cs1bhg.js.br +0 -0
- package/web/chunk-q0cs1bhg.js.gz +0 -0
- package/web/chunk-q749pgke.js +1 -0
- package/web/chunk-q749pgke.js.br +0 -0
- package/web/chunk-q749pgke.js.gz +0 -0
- package/web/chunk-q7yry602.js +1 -0
- package/web/chunk-q7yry602.js.br +0 -0
- package/web/chunk-q7yry602.js.gz +0 -0
- package/web/chunk-qkeaa97s.js +1 -0
- package/web/chunk-qkeaa97s.js.br +0 -0
- package/web/chunk-qkeaa97s.js.gz +0 -0
- package/web/chunk-qx7afyba.js +1 -0
- package/web/chunk-qx7afyba.js.br +0 -0
- package/web/chunk-qx7afyba.js.gz +0 -0
- package/web/chunk-rcaqmcm4.js +40 -0
- package/web/chunk-rcaqmcm4.js.br +0 -0
- package/web/chunk-rcaqmcm4.js.gz +0 -0
- package/web/chunk-s5kbbker.js +89 -0
- package/web/chunk-s5kbbker.js.br +0 -0
- package/web/chunk-s5kbbker.js.gz +0 -0
- package/web/chunk-sdq69ysp.js +2 -0
- package/web/chunk-sdq69ysp.js.br +0 -0
- package/web/chunk-sdq69ysp.js.gz +0 -0
- package/web/chunk-sk0cmsbx.js +7 -0
- package/web/chunk-sk0cmsbx.js.br +0 -0
- package/web/chunk-sk0cmsbx.js.gz +0 -0
- package/web/chunk-smmcx1z4.js +324 -0
- package/web/chunk-smmcx1z4.js.br +0 -0
- package/web/chunk-smmcx1z4.js.gz +0 -0
- package/web/chunk-sq7ntjp0.js +16 -0
- package/web/chunk-sq7ntjp0.js.br +0 -0
- package/web/chunk-sq7ntjp0.js.gz +0 -0
- package/web/chunk-st27df9w.js +2 -0
- package/web/chunk-st27df9w.js.br +0 -0
- package/web/chunk-st27df9w.js.gz +0 -0
- package/web/chunk-svxkg8n3.js +2 -0
- package/web/chunk-svxkg8n3.js.br +0 -0
- package/web/chunk-svxkg8n3.js.gz +0 -0
- package/web/chunk-t9nzrp2p.js +1 -0
- package/web/chunk-t9nzrp2p.js.br +0 -0
- package/web/chunk-t9nzrp2p.js.gz +0 -0
- package/web/chunk-t9t9v1r8.js +55 -0
- package/web/chunk-t9t9v1r8.js.br +0 -0
- package/web/chunk-t9t9v1r8.js.gz +0 -0
- package/web/chunk-tzpv48j3.js +2 -0
- package/web/chunk-tzpv48j3.js.br +0 -0
- package/web/chunk-tzpv48j3.js.gz +0 -0
- package/web/chunk-vgsk4ppw.js +7 -0
- package/web/chunk-vgsk4ppw.js.br +0 -0
- package/web/chunk-vgsk4ppw.js.gz +0 -0
- package/web/chunk-vq41ta7n.js +4 -0
- package/web/chunk-vq41ta7n.js.br +0 -0
- package/web/chunk-vq41ta7n.js.gz +0 -0
- package/web/chunk-w08egbqf.js +1 -0
- package/web/chunk-w08egbqf.js.br +0 -0
- package/web/chunk-w08egbqf.js.gz +0 -0
- package/web/chunk-wcmq0qgh.js +1 -0
- package/web/chunk-wcmq0qgh.js.br +0 -0
- package/web/chunk-wcmq0qgh.js.gz +0 -0
- package/web/chunk-wctq02yb.js +2 -0
- package/web/chunk-wctq02yb.js.br +0 -0
- package/web/chunk-wctq02yb.js.gz +0 -0
- package/web/chunk-wfwadf3r.js +2 -0
- package/web/chunk-wfwadf3r.js.br +0 -0
- package/web/chunk-wfwadf3r.js.gz +0 -0
- package/web/chunk-wgas5t5y.js +1 -0
- package/web/chunk-wgas5t5y.js.br +0 -0
- package/web/chunk-wgas5t5y.js.gz +0 -0
- package/web/chunk-x7k4eyee.js +21 -0
- package/web/chunk-x7k4eyee.js.br +0 -0
- package/web/chunk-x7k4eyee.js.gz +0 -0
- package/web/chunk-xpv38q1f.js +140 -0
- package/web/chunk-xpv38q1f.js.br +0 -0
- package/web/chunk-xpv38q1f.js.gz +0 -0
- package/web/chunk-xt671z8e.js +1 -0
- package/web/chunk-xt671z8e.js.br +0 -0
- package/web/chunk-xt671z8e.js.gz +0 -0
- package/web/chunk-xwrrkwwx.css +1 -0
- package/web/chunk-xwrrkwwx.css.br +0 -0
- package/web/chunk-xwrrkwwx.css.gz +0 -0
- package/web/chunk-xwy3gth5.js +89 -0
- package/web/chunk-xwy3gth5.js.br +0 -0
- package/web/chunk-xwy3gth5.js.gz +0 -0
- package/web/chunk-xwyadj9p.js +2 -0
- package/web/chunk-xwyadj9p.js.br +0 -0
- package/web/chunk-xwyadj9p.js.gz +0 -0
- package/web/chunk-xzgvnd23.js +1 -0
- package/web/chunk-xzgvnd23.js.br +0 -0
- package/web/chunk-xzgvnd23.js.gz +0 -0
- package/web/chunk-y05m6rvz.js +1 -0
- package/web/chunk-y05m6rvz.js.br +2 -0
- package/web/chunk-y05m6rvz.js.gz +0 -0
- package/web/chunk-z51mtwh3.js +169 -0
- package/web/chunk-z51mtwh3.js.br +0 -0
- package/web/chunk-z51mtwh3.js.gz +0 -0
- package/web/chunk-z77xrqc1.js +1 -0
- package/web/chunk-z77xrqc1.js.br +0 -0
- package/web/chunk-z77xrqc1.js.gz +0 -0
- package/web/chunk-z946nbmn.js +2 -0
- package/web/chunk-z946nbmn.js.br +0 -0
- package/web/chunk-z946nbmn.js.gz +0 -0
- package/web/index.html +1 -1
- package/web/index.html.br +0 -0
- package/web/index.html.gz +0 -0
- package/worker.js +1 -1
- package/chunk-02q61grt.js +0 -3
- package/chunk-03r6s8pm.js +0 -2
- package/chunk-09fsdkd3.js +0 -5
- package/chunk-0bg4w7ht.js +0 -3
- package/chunk-0s4r7k7j.js +0 -2
- package/chunk-27kw4nth.js +0 -2
- package/chunk-2ag9mvms.js +0 -10
- package/chunk-2shwjp8q.js +0 -3
- package/chunk-3114vstw.js +0 -2
- package/chunk-31meb34a.js +0 -2
- package/chunk-34w345mt.js +0 -2
- package/chunk-3amfr8zp.js +0 -7
- package/chunk-40nk2jjt.js +0 -2
- package/chunk-49bz6hg5.js +0 -25
- package/chunk-4hgkwa4k.js +0 -3
- package/chunk-4wfd77kc.js +0 -2
- package/chunk-55kpabb3.js +0 -2
- package/chunk-5p2asrj6.js +0 -2
- package/chunk-65hg0v7e.js +0 -2
- package/chunk-67qw30cj.js +0 -3770
- package/chunk-6rehcf49.js +0 -12
- package/chunk-6vkz3wqz.js +0 -25
- package/chunk-81yk0kj2.js +0 -3
- package/chunk-885vf5kb.js +0 -2
- package/chunk-8wy08x0d.js +0 -2
- package/chunk-9cqa9trx.js +0 -4
- package/chunk-ae45qq4z.js +0 -2
- package/chunk-ag3em5yv.js +0 -4
- package/chunk-b5k5p49x.js +0 -2
- package/chunk-b84vbfjc.js +0 -2
- package/chunk-dkpgstr2.js +0 -18
- package/chunk-dzn4c87v.js +0 -3
- package/chunk-e5xsyr0n.js +0 -3
- package/chunk-f97ma522.js +0 -3
- package/chunk-f9yneea6.js +0 -3
- package/chunk-fk43jgwe.js +0 -31
- package/chunk-frjqjdkx.js +0 -11
- package/chunk-fycz7ap5.js +0 -2
- package/chunk-fzefs6kn.js +0 -3
- package/chunk-g1n8k4dg.js +0 -5
- package/chunk-g5mdw639.js +0 -3
- package/chunk-gnvx44kj.js +0 -10
- package/chunk-gpympx0t.js +0 -467
- package/chunk-gyp2jn7d.js +0 -3
- package/chunk-hambwbfz.js +0 -7
- package/chunk-j02kqpvq.js +0 -5
- package/chunk-j1h7pabk.js +0 -7
- package/chunk-j6hn9qz6.js +0 -3
- package/chunk-jfx4c32t.js +0 -8
- package/chunk-jjj8a18b.js +0 -59
- package/chunk-k3c32v59.js +0 -3
- package/chunk-k8j3fvx5.js +0 -2
- package/chunk-kcn3af9r.js +0 -12
- package/chunk-m45dpnd1.js +0 -16
- package/chunk-m4wf04dz.js +0 -15
- package/chunk-m8k6t63k.js +0 -2
- package/chunk-nrggp4x6.js +0 -2
- package/chunk-nt549hv5.js +0 -2
- package/chunk-pg4mtrdy.js +0 -3
- package/chunk-psr4rxnn.js +0 -20
- package/chunk-qhhv81gd.js +0 -2
- package/chunk-qprms4rt.js +0 -2
- package/chunk-r0pm6dap.js +0 -3
- package/chunk-rck0kx09.js +0 -2
- package/chunk-rsn8ad6s.js +0 -2
- package/chunk-skzh3q1s.js +0 -2
- package/chunk-sm4b3q49.js +0 -3
- package/chunk-ste3ek53.js +0 -3
- package/chunk-trw86cmb.js +0 -11
- package/chunk-tv7met41.js +0 -3
- package/chunk-w33aapmk.js +0 -39
- package/chunk-wkqrsfrb.js +0 -389
- package/chunk-wxngqzqs.js +0 -3
- package/chunk-xafx1p7z.js +0 -3
- package/chunk-xgfqmm46.js +0 -2
- package/chunk-xr77j4f8.js +0 -9
- package/chunk-ykstnss8.js +0 -3
- package/chunk-yqv7ej5r.js +0 -5
- package/chunk-z97bcdg2.js +0 -3
- package/chunk-z9s7pwv5.js +0 -7
- package/web/chunk-013et20n.js +0 -2
- package/web/chunk-013et20n.js.br +0 -0
- package/web/chunk-013et20n.js.gz +0 -0
- package/web/chunk-0ernj3c0.js +0 -1
- package/web/chunk-0ernj3c0.js.br +0 -0
- package/web/chunk-0ernj3c0.js.gz +0 -0
- package/web/chunk-0j65yg1p.js +0 -1
- package/web/chunk-0j65yg1p.js.br +0 -0
- package/web/chunk-0j65yg1p.js.gz +0 -0
- package/web/chunk-0khcpaa8.js +0 -1
- package/web/chunk-0khcpaa8.js.br +0 -0
- package/web/chunk-0khcpaa8.js.gz +0 -0
- package/web/chunk-0wbdd74r.js +0 -1
- package/web/chunk-0wbdd74r.js.br +0 -2
- package/web/chunk-0wbdd74r.js.gz +0 -0
- package/web/chunk-1f2wvhq9.js +0 -1
- package/web/chunk-1f2wvhq9.js.br +0 -0
- package/web/chunk-1f2wvhq9.js.gz +0 -0
- package/web/chunk-1q2kmv35.js +0 -332
- package/web/chunk-1q2kmv35.js.br +0 -0
- package/web/chunk-1q2kmv35.js.gz +0 -0
- package/web/chunk-1tfrm3pk.js +0 -2
- package/web/chunk-1tfrm3pk.js.br +0 -0
- package/web/chunk-1tfrm3pk.js.gz +0 -0
- package/web/chunk-2qt5fy5n.js +0 -1
- package/web/chunk-2qt5fy5n.js.br +0 -0
- package/web/chunk-2qt5fy5n.js.gz +0 -0
- package/web/chunk-2sxtb709.js +0 -1
- package/web/chunk-2sxtb709.js.br +0 -0
- package/web/chunk-2sxtb709.js.gz +0 -0
- package/web/chunk-2wrwm0qe.js +0 -1
- package/web/chunk-2wrwm0qe.js.br +0 -0
- package/web/chunk-2wrwm0qe.js.gz +0 -0
- package/web/chunk-2wwj27b9.js +0 -7
- package/web/chunk-2wwj27b9.js.br +0 -0
- package/web/chunk-2wwj27b9.js.gz +0 -0
- package/web/chunk-33mmrjdp.js +0 -1
- package/web/chunk-33mmrjdp.js.br +0 -2
- package/web/chunk-33mmrjdp.js.gz +0 -0
- package/web/chunk-33tb7q04.js +0 -2
- package/web/chunk-33tb7q04.js.br +0 -0
- package/web/chunk-33tb7q04.js.gz +0 -0
- package/web/chunk-3txb4sha.js +0 -1
- package/web/chunk-3txb4sha.js.br +0 -0
- package/web/chunk-3txb4sha.js.gz +0 -0
- package/web/chunk-3xgfsx7y.js +0 -2
- package/web/chunk-3xgfsx7y.js.br +0 -0
- package/web/chunk-3xgfsx7y.js.gz +0 -0
- package/web/chunk-40jka4r7.js +0 -2
- package/web/chunk-40jka4r7.js.br +0 -0
- package/web/chunk-40jka4r7.js.gz +0 -0
- package/web/chunk-41vh5n86.js +0 -1
- package/web/chunk-41vh5n86.js.br +0 -0
- package/web/chunk-41vh5n86.js.gz +0 -0
- package/web/chunk-5kz048x3.js +0 -2
- package/web/chunk-5kz048x3.js.br +0 -0
- package/web/chunk-5kz048x3.js.gz +0 -0
- package/web/chunk-5mbz8yj9.js +0 -3
- package/web/chunk-5mbz8yj9.js.br +0 -0
- package/web/chunk-5mbz8yj9.js.gz +0 -0
- package/web/chunk-6024wfxb.js +0 -30
- package/web/chunk-6024wfxb.js.br +0 -0
- package/web/chunk-6024wfxb.js.gz +0 -0
- package/web/chunk-6ey4c6gw.js +0 -2
- package/web/chunk-6ey4c6gw.js.br +0 -0
- package/web/chunk-6ey4c6gw.js.gz +0 -0
- package/web/chunk-6q3p851n.js +0 -1
- package/web/chunk-6q3p851n.js.br +0 -2
- package/web/chunk-6q3p851n.js.gz +0 -0
- package/web/chunk-74g3wh08.js +0 -2
- package/web/chunk-74g3wh08.js.br +0 -0
- package/web/chunk-74g3wh08.js.gz +0 -0
- package/web/chunk-78akzkgs.js +0 -84
- package/web/chunk-78akzkgs.js.br +0 -0
- package/web/chunk-78akzkgs.js.gz +0 -0
- package/web/chunk-7ck99bsp.js +0 -62
- package/web/chunk-7ck99bsp.js.br +0 -0
- package/web/chunk-7ck99bsp.js.gz +0 -0
- package/web/chunk-7fjbyns9.js +0 -1
- package/web/chunk-7fjbyns9.js.br +0 -0
- package/web/chunk-7fjbyns9.js.gz +0 -0
- package/web/chunk-7n6b2xra.js +0 -21
- package/web/chunk-7n6b2xra.js.br +0 -0
- package/web/chunk-7n6b2xra.js.gz +0 -0
- package/web/chunk-7p4mcqkd.js +0 -78
- package/web/chunk-7p4mcqkd.js.br +0 -0
- package/web/chunk-7p4mcqkd.js.gz +0 -0
- package/web/chunk-7ztwkhg5.js +0 -1
- package/web/chunk-7ztwkhg5.js.br +0 -0
- package/web/chunk-7ztwkhg5.js.gz +0 -0
- package/web/chunk-823etvc3.js +0 -99
- package/web/chunk-823etvc3.js.br +0 -0
- package/web/chunk-823etvc3.js.gz +0 -0
- package/web/chunk-8ec53vjd.js +0 -1
- package/web/chunk-8ec53vjd.js.br +0 -0
- package/web/chunk-8ec53vjd.js.gz +0 -0
- package/web/chunk-8g55ytgz.js +0 -1
- package/web/chunk-8g55ytgz.js.br +0 -0
- package/web/chunk-8g55ytgz.js.gz +0 -0
- package/web/chunk-8q76yd76.js +0 -291
- package/web/chunk-8q76yd76.js.br +0 -0
- package/web/chunk-8q76yd76.js.gz +0 -0
- package/web/chunk-9kbrjmtz.js +0 -1
- package/web/chunk-9kbrjmtz.js.br +0 -0
- package/web/chunk-9kbrjmtz.js.gz +0 -0
- package/web/chunk-9s4bh6qm.js +0 -40
- package/web/chunk-9s4bh6qm.js.br +0 -0
- package/web/chunk-9s4bh6qm.js.gz +0 -0
- package/web/chunk-a449xjq6.js +0 -7
- package/web/chunk-a449xjq6.js.br +0 -0
- package/web/chunk-a449xjq6.js.gz +0 -0
- package/web/chunk-b05eay33.js +0 -1
- package/web/chunk-b05eay33.js.br +0 -0
- package/web/chunk-b05eay33.js.gz +0 -0
- package/web/chunk-bdypt5mj.js +0 -142
- package/web/chunk-bdypt5mj.js.br +0 -0
- package/web/chunk-bdypt5mj.js.gz +0 -0
- package/web/chunk-ccy2q2z0.js +0 -2
- package/web/chunk-ccy2q2z0.js.br +0 -0
- package/web/chunk-ccy2q2z0.js.gz +0 -0
- package/web/chunk-ceg13tma.js +0 -2
- package/web/chunk-ceg13tma.js.br +0 -0
- package/web/chunk-ceg13tma.js.gz +0 -0
- package/web/chunk-ch60a61d.js +0 -2
- package/web/chunk-ch60a61d.js.br +0 -0
- package/web/chunk-ch60a61d.js.gz +0 -0
- package/web/chunk-czvdg0c5.js +0 -1
- package/web/chunk-czvdg0c5.js.br +0 -0
- package/web/chunk-czvdg0c5.js.gz +0 -0
- package/web/chunk-dsa5m3h6.js +0 -200
- package/web/chunk-dsa5m3h6.js.br +0 -0
- package/web/chunk-dsa5m3h6.js.gz +0 -0
- package/web/chunk-dww3grm3.js +0 -24
- package/web/chunk-dww3grm3.js.br +0 -0
- package/web/chunk-dww3grm3.js.gz +0 -0
- package/web/chunk-e187gt5x.js +0 -1
- package/web/chunk-e187gt5x.js.br +0 -0
- package/web/chunk-e187gt5x.js.gz +0 -0
- package/web/chunk-ey0zwvbx.js +0 -1
- package/web/chunk-ey0zwvbx.js.br +0 -0
- package/web/chunk-ey0zwvbx.js.gz +0 -0
- package/web/chunk-ey14knbn.js +0 -2
- package/web/chunk-ey14knbn.js.br +0 -0
- package/web/chunk-ey14knbn.js.gz +0 -0
- package/web/chunk-fba06jm8.js +0 -1132
- package/web/chunk-fba06jm8.js.br +0 -0
- package/web/chunk-fba06jm8.js.gz +0 -0
- package/web/chunk-fh56vgfx.js +0 -39
- package/web/chunk-fh56vgfx.js.br +0 -0
- package/web/chunk-fh56vgfx.js.gz +0 -0
- package/web/chunk-ft05x3my.js +0 -169
- package/web/chunk-ft05x3my.js.br +0 -0
- package/web/chunk-ft05x3my.js.gz +0 -0
- package/web/chunk-fzmrnh17.js +0 -303
- package/web/chunk-fzmrnh17.js.br +0 -0
- package/web/chunk-fzmrnh17.js.gz +0 -0
- package/web/chunk-gbt7asd7.js +0 -2
- package/web/chunk-gbt7asd7.js.br +0 -0
- package/web/chunk-gbt7asd7.js.gz +0 -0
- package/web/chunk-gh9fkn3t.js +0 -1
- package/web/chunk-gh9fkn3t.js.br +0 -2
- package/web/chunk-gh9fkn3t.js.gz +0 -0
- package/web/chunk-h1syyjqq.js +0 -2
- package/web/chunk-h1syyjqq.js.br +0 -0
- package/web/chunk-h1syyjqq.js.gz +0 -0
- package/web/chunk-h7byk4z3.js +0 -140
- package/web/chunk-h7byk4z3.js.br +0 -0
- package/web/chunk-h7byk4z3.js.gz +0 -0
- package/web/chunk-hby0hkv4.js +0 -1
- package/web/chunk-hby0hkv4.js.br +0 -0
- package/web/chunk-hby0hkv4.js.gz +0 -0
- package/web/chunk-hjvsp2yx.js +0 -1
- package/web/chunk-hjvsp2yx.js.br +0 -0
- package/web/chunk-hjvsp2yx.js.gz +0 -0
- package/web/chunk-hpjzy5ww.js +0 -1
- package/web/chunk-hpjzy5ww.js.br +0 -0
- package/web/chunk-hpjzy5ww.js.gz +0 -0
- package/web/chunk-hzfp8kqx.js +0 -217
- package/web/chunk-hzfp8kqx.js.br +0 -0
- package/web/chunk-hzfp8kqx.js.gz +0 -0
- package/web/chunk-j8f0m1dq.js +0 -1
- package/web/chunk-j8f0m1dq.js.br +0 -0
- package/web/chunk-j8f0m1dq.js.gz +0 -0
- package/web/chunk-jc178ad5.js +0 -2
- package/web/chunk-jc178ad5.js.br +0 -0
- package/web/chunk-jc178ad5.js.gz +0 -0
- package/web/chunk-jcsf0ke5.js +0 -41
- package/web/chunk-jcsf0ke5.js.br +0 -0
- package/web/chunk-jcsf0ke5.js.gz +0 -0
- package/web/chunk-jg43a2xk.js +0 -139
- package/web/chunk-jg43a2xk.js.br +0 -0
- package/web/chunk-jg43a2xk.js.gz +0 -0
- package/web/chunk-jrgdxqtq.js +0 -7
- package/web/chunk-jrgdxqtq.js.br +0 -0
- package/web/chunk-jrgdxqtq.js.gz +0 -0
- package/web/chunk-js8dvtfg.js +0 -2
- package/web/chunk-js8dvtfg.js.br +0 -0
- package/web/chunk-js8dvtfg.js.gz +0 -0
- package/web/chunk-jt0s9qs7.js +0 -1
- package/web/chunk-jt0s9qs7.js.br +0 -0
- package/web/chunk-jt0s9qs7.js.gz +0 -0
- package/web/chunk-jv5faf88.js +0 -34
- package/web/chunk-jv5faf88.js.br +0 -0
- package/web/chunk-jv5faf88.js.gz +0 -0
- package/web/chunk-k295x81w.js +0 -370
- package/web/chunk-k295x81w.js.br +0 -0
- package/web/chunk-k295x81w.js.gz +0 -0
- package/web/chunk-k6wxwgp1.js +0 -55
- package/web/chunk-k6wxwgp1.js.br +0 -0
- package/web/chunk-k6wxwgp1.js.gz +0 -0
- package/web/chunk-k9vc7kp2.js +0 -292
- package/web/chunk-k9vc7kp2.js.br +0 -0
- package/web/chunk-k9vc7kp2.js.gz +0 -0
- package/web/chunk-kxyws7q7.js +0 -1
- package/web/chunk-kxyws7q7.js.br +0 -0
- package/web/chunk-kxyws7q7.js.gz +0 -0
- package/web/chunk-mcgf645h.js +0 -1
- package/web/chunk-mcgf645h.js.br +0 -4
- package/web/chunk-mcgf645h.js.gz +0 -0
- package/web/chunk-mj3tshy8.js +0 -214
- package/web/chunk-mj3tshy8.js.br +0 -0
- package/web/chunk-mj3tshy8.js.gz +0 -0
- package/web/chunk-mnb2wdvy.js +0 -24
- package/web/chunk-mnb2wdvy.js.br +0 -0
- package/web/chunk-mnb2wdvy.js.gz +0 -0
- package/web/chunk-ndf58dgc.js +0 -1
- package/web/chunk-ndf58dgc.js.br +0 -0
- package/web/chunk-ndf58dgc.js.gz +0 -0
- package/web/chunk-nhpm5nd5.js +0 -2
- package/web/chunk-nhpm5nd5.js.br +0 -0
- package/web/chunk-nhpm5nd5.js.gz +0 -0
- package/web/chunk-nwxjdetb.js +0 -1
- package/web/chunk-nwxjdetb.js.br +0 -0
- package/web/chunk-nwxjdetb.js.gz +0 -0
- package/web/chunk-nyjfcard.js +0 -106
- package/web/chunk-nyjfcard.js.br +0 -0
- package/web/chunk-nyjfcard.js.gz +0 -0
- package/web/chunk-pcfjcy3a.js +0 -324
- package/web/chunk-pcfjcy3a.js.br +0 -0
- package/web/chunk-pcfjcy3a.js.gz +0 -0
- package/web/chunk-pry6wdbe.js +0 -1
- package/web/chunk-pry6wdbe.js.br +0 -0
- package/web/chunk-pry6wdbe.js.gz +0 -0
- package/web/chunk-pvahdcgy.js +0 -2
- package/web/chunk-pvahdcgy.js.br +0 -0
- package/web/chunk-pvahdcgy.js.gz +0 -0
- package/web/chunk-q3njnnef.js +0 -16
- package/web/chunk-q3njnnef.js.br +0 -0
- package/web/chunk-q3njnnef.js.gz +0 -0
- package/web/chunk-rbmp2e4b.js +0 -1
- package/web/chunk-rbmp2e4b.js.br +0 -0
- package/web/chunk-rbmp2e4b.js.gz +0 -0
- package/web/chunk-rcre1stj.js +0 -1
- package/web/chunk-rcre1stj.js.br +0 -0
- package/web/chunk-rcre1stj.js.gz +0 -0
- package/web/chunk-rdb6091n.js +0 -89
- package/web/chunk-rdb6091n.js.br +0 -0
- package/web/chunk-rdb6091n.js.gz +0 -0
- package/web/chunk-ryw7xnab.js +0 -1
- package/web/chunk-ryw7xnab.js.br +0 -0
- package/web/chunk-ryw7xnab.js.gz +0 -0
- package/web/chunk-sbbmy02e.js +0 -2
- package/web/chunk-sbbmy02e.js.br +0 -0
- package/web/chunk-sbbmy02e.js.gz +0 -0
- package/web/chunk-sydy10mb.js +0 -1
- package/web/chunk-sydy10mb.js.br +0 -0
- package/web/chunk-sydy10mb.js.gz +0 -0
- package/web/chunk-t0ywnp5e.js +0 -1
- package/web/chunk-t0ywnp5e.js.br +0 -0
- package/web/chunk-t0ywnp5e.js.gz +0 -0
- package/web/chunk-t72jq97z.js +0 -2
- package/web/chunk-t72jq97z.js.br +0 -0
- package/web/chunk-t72jq97z.js.gz +0 -0
- package/web/chunk-tfcc9bcz.js +0 -4
- package/web/chunk-tfcc9bcz.js.br +0 -0
- package/web/chunk-tfcc9bcz.js.gz +0 -0
- package/web/chunk-v2bvbgfc.js +0 -2
- package/web/chunk-v2bvbgfc.js.br +0 -0
- package/web/chunk-v2bvbgfc.js.gz +0 -0
- package/web/chunk-v7zq4vc9.js +0 -12
- package/web/chunk-v7zq4vc9.js.br +0 -0
- package/web/chunk-v7zq4vc9.js.gz +0 -0
- package/web/chunk-vh8pkcem.css +0 -1
- package/web/chunk-vh8pkcem.css.br +0 -0
- package/web/chunk-vh8pkcem.css.gz +0 -0
- package/web/chunk-vq3sby7x.js +0 -1
- package/web/chunk-vq3sby7x.js.br +0 -0
- package/web/chunk-vq3sby7x.js.gz +0 -0
- package/web/chunk-was9xf03.js +0 -8
- package/web/chunk-was9xf03.js.br +0 -0
- package/web/chunk-was9xf03.js.gz +0 -0
- package/web/chunk-we1v1829.js +0 -2
- package/web/chunk-we1v1829.js.br +0 -0
- package/web/chunk-we1v1829.js.gz +0 -0
- package/web/chunk-wg2exnxe.js +0 -1
- package/web/chunk-wg2exnxe.js.br +0 -2
- package/web/chunk-wg2exnxe.js.gz +0 -0
- package/web/chunk-wvd3zj1m.js +0 -70
- package/web/chunk-wvd3zj1m.js.br +0 -0
- package/web/chunk-wvd3zj1m.js.gz +0 -0
- package/web/chunk-wzmxtr30.js +0 -1
- package/web/chunk-wzmxtr30.js.br +0 -0
- package/web/chunk-wzmxtr30.js.gz +0 -0
- package/web/chunk-x815g7yp.js +0 -1
- package/web/chunk-x815g7yp.js.br +0 -0
- package/web/chunk-x815g7yp.js.gz +0 -0
- package/web/chunk-x8ps0p82.js +0 -98
- package/web/chunk-x8ps0p82.js.br +0 -0
- package/web/chunk-x8ps0p82.js.gz +0 -0
- package/web/chunk-xea3snym.js +0 -1
- package/web/chunk-xea3snym.js.br +0 -0
- package/web/chunk-xea3snym.js.gz +0 -0
- package/web/chunk-xg4v60m7.js +0 -1
- package/web/chunk-xg4v60m7.js.br +0 -0
- package/web/chunk-xg4v60m7.js.gz +0 -0
- package/web/chunk-xhr9jrjt.js +0 -89
- package/web/chunk-xhr9jrjt.js.br +0 -0
- package/web/chunk-xhr9jrjt.js.gz +0 -0
- package/web/chunk-xp90g2e7.js +0 -36
- package/web/chunk-xp90g2e7.js.br +0 -0
- package/web/chunk-xp90g2e7.js.gz +0 -0
- package/web/chunk-xs1g97qa.js +0 -2
- package/web/chunk-xs1g97qa.js.br +0 -0
- package/web/chunk-xs1g97qa.js.gz +0 -0
- package/web/chunk-xyk1wpr4.js +0 -1
- package/web/chunk-xyk1wpr4.js.br +0 -3
- package/web/chunk-xyk1wpr4.js.gz +0 -0
- package/web/chunk-yavbdwyt.js +0 -1
- package/web/chunk-yavbdwyt.js.br +0 -0
- package/web/chunk-yavbdwyt.js.gz +0 -0
- package/web/chunk-yfnhnsxe.js +0 -4
- package/web/chunk-yfnhnsxe.js.br +0 -0
- package/web/chunk-yfnhnsxe.js.gz +0 -0
- package/web/chunk-yk965yth.js +0 -1
- package/web/chunk-yk965yth.js.br +0 -0
- package/web/chunk-yk965yth.js.gz +0 -0
- package/web/chunk-ynhcjhsx.js +0 -2
- package/web/chunk-ynhcjhsx.js.br +0 -0
- package/web/chunk-ynhcjhsx.js.gz +0 -0
- package/web/chunk-ypmm1gts.js +0 -1
- package/web/chunk-ypmm1gts.js.br +0 -0
- package/web/chunk-ypmm1gts.js.gz +0 -0
- package/web/chunk-yssx5a5q.js +0 -1
- package/web/chunk-yssx5a5q.js.br +0 -0
- package/web/chunk-yssx5a5q.js.gz +0 -0
- package/web/chunk-z0a8cnq8.js +0 -1
- package/web/chunk-z0a8cnq8.js.br +0 -0
- package/web/chunk-z0a8cnq8.js.gz +0 -0
- package/web/chunk-z1afsvbv.js +0 -2
- package/web/chunk-z1afsvbv.js.br +0 -0
- package/web/chunk-z1afsvbv.js.gz +0 -0
- package/web/chunk-z1ka8jtd.js +0 -2
- package/web/chunk-z1ka8jtd.js.br +0 -0
- package/web/chunk-z1ka8jtd.js.gz +0 -0
- package/web/chunk-z7tdzen9.js +0 -1
- package/web/chunk-z7tdzen9.js.br +0 -0
- package/web/chunk-z7tdzen9.js.gz +0 -0
- package/web/chunk-zbwjj06m.js +0 -38
- package/web/chunk-zbwjj06m.js.br +0 -0
- package/web/chunk-zbwjj06m.js.gz +0 -0
- package/web/chunk-zd2j189j.js +0 -1
- package/web/chunk-zd2j189j.js.br +0 -0
- package/web/chunk-zd2j189j.js.gz +0 -0
- package/web/chunk-zfgpq4n4.js +0 -120
- package/web/chunk-zfgpq4n4.js.br +0 -0
- package/web/chunk-zfgpq4n4.js.gz +0 -0
- package/web/chunk-zgas56xw.js +0 -1
- package/web/chunk-zgas56xw.js.br +0 -0
- package/web/chunk-zgas56xw.js.gz +0 -0
- package/web/chunk-zkfepf91.js +0 -1
- package/web/chunk-zkfepf91.js.br +0 -0
- package/web/chunk-zkfepf91.js.gz +0 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import{t,a,nt,k,A,R,I,L,D,P,N,u,f,Us,F,Ie,Te,Ee,cn,Fe,ze}from"./chunk-77pcpdb5.js";import{Dn}from"./chunk-cxcpk0qt.js";import{Be}from"./chunk-b2zmxzm0.js";import{Re}from"./chunk-ck23t8as.js";var Pt=function(){var e=t(function(Q,c,S,n){for(S=S||{},n=Q.length;n--;S[Q[n]]=c);return S},"o"),s=[1,2],l=[1,3],r=[1,4],d=[2,4],p=[1,9],y=[1,11],m=[1,16],o=[1,17],E=[1,18],_=[1,19],Y=[1,33],V=[1,20],j=[1,21],w=[1,22],g=[1,23],M=[1,24],O=[1,26],z=[1,27],W=[1,28],K=[1,29],x=[1,30],st=[1,31],St=[1,32],gt=[1,35],yt=[1,36],mt=[1,37],bt=[1,38],rt=[1,34],b=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],kt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Lt={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(c,S,n,T,v,i,it){var h=i.length-1;switch(v){case 3:return T.setRootDoc(i[h]),i[h];break;case 4:this.$=[];break;case 5:if(i[h]!="nl")i[h-1].push(i[h]),this.$=i[h-1];break;case 6:case 7:this.$=i[h];break;case 8:this.$="nl";break;case 12:this.$=i[h];break;case 13:let Et=i[h-1];Et.description=T.trimColon(i[h]),this.$=Et;break;case 14:this.$={stmt:"relation",state1:i[h-2],state2:i[h]};break;case 15:let _t=T.trimColon(i[h]);this.$={stmt:"relation",state1:i[h-3],state2:i[h-1],description:_t};break;case 19:this.$={stmt:"state",id:i[h-3],type:"default",description:"",doc:i[h-1]};break;case 20:var X=i[h],J=i[h-2].trim();if(i[h].match(":")){var ct=i[h].split(":");X=ct[0],J=[J,ct[1]]}this.$={stmt:"state",id:X,type:"default",description:J};break;case 21:this.$={stmt:"state",id:i[h-3],type:"default",description:i[h-5],doc:i[h-1]};break;case 22:this.$={stmt:"state",id:i[h],type:"fork"};break;case 23:this.$={stmt:"state",id:i[h],type:"join"};break;case 24:this.$={stmt:"state",id:i[h],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[h-1].trim(),note:{position:i[h-2].trim(),text:i[h].trim()}};break;case 29:this.$=i[h].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[h].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[h-3],url:i[h-2],tooltip:i[h-1]};break;case 33:this.$={stmt:"click",id:i[h-3],url:i[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[h-1].trim(),classes:i[h].trim()};break;case 36:this.$={stmt:"style",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 37:this.$={stmt:"applyClass",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:s,5:l,6:r},{1:[3]},{3:5,4:s,5:l,6:r},{3:6,4:s,5:l,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:m,17:o,19:E,22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,7]),e(b,[2,8]),e(b,[2,9]),e(b,[2,10]),e(b,[2,11]),e(b,[2,12],{14:[1,40],15:[1,41]}),e(b,[2,16]),{18:[1,42]},e(b,[2,18],{20:[1,43]}),{23:[1,44]},e(b,[2,22]),e(b,[2,23]),e(b,[2,24]),e(b,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(b,[2,28]),{34:[1,49]},{36:[1,50]},e(b,[2,31]),{13:51,24:Y,57:rt},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(kt,[2,44],{58:[1,56]}),e(kt,[2,45],{58:[1,57]}),e(b,[2,38]),e(b,[2,39]),e(b,[2,40]),e(b,[2,41]),e(b,[2,6]),e(b,[2,13]),{13:58,24:Y,57:rt},e(b,[2,17]),e(Vt,d,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(b,[2,29]),e(b,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(b,[2,14],{14:[1,71]}),{4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,21:[1,72],22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(b,[2,34]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(kt,[2,46]),e(kt,[2,47]),e(b,[2,15]),e(b,[2,19]),e(Vt,d,{7:78}),e(b,[2,26]),e(b,[2,27]),{5:[1,79]},{5:[1,80]},{4:p,5:y,8:8,9:10,10:12,11:13,12:14,13:15,16:m,17:o,19:E,21:[1,81],22:_,24:Y,25:V,26:j,27:w,28:g,29:M,32:25,33:O,35:z,37:W,38:K,41:x,45:st,48:St,51:gt,52:yt,53:mt,54:bt,57:rt},e(b,[2,32]),e(b,[2,33]),e(b,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(c,S){if(S.recoverable)this.trace(c);else{var n=Error(c);throw n.hash=S,n}},"parseError"),parse:t(function(c){var S=this,n=[0],T=[],v=[null],i=[],it=this.table,h="",X=0,J=0,ct=0,Et=2,_t=1,de=i.slice.call(arguments,1),C=Object.create(this.lexer),tt={yy:{}};for(var wt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,wt))tt.yy[wt]=this.yy[wt];if(C.setInput(c,tt.yy),tt.yy.lexer=C,tt.yy.parser=this,typeof C.yylloc>"u")C.yylloc={};var It=C.yylloc;i.push(It);var ue=C.options&&C.options.ranges;if(typeof tt.yy.parseError==="function")this.parseError=tt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(H){n.length=n.length-2*H,v.length=v.length-H,i.length=i.length-H}t(fe,"popStack");function Mt(){var H=T.pop()||C.lex()||_t;if(typeof H!=="number"){if(H instanceof Array)T=H,H=T.pop();H=S.symbols_[H]||H}return H}t(Mt,"lex");var B,Nt,et,U,Qe,Ot,at={},vt,q,Wt,Dt;while(!0){if(et=n[n.length-1],this.defaultActions[et])U=this.defaultActions[et];else{if(B===null||typeof B>"u")B=Mt();U=it[et]&&it[et][B]}if(typeof U>"u"||!U.length||!U[0]){var Rt="";Dt=[];for(vt in it[et])if(this.terminals_[vt]&&vt>Et)Dt.push("'"+this.terminals_[vt]+"'");if(C.showPosition)Rt="Parse error on line "+(X+1)+`:
|
|
2
|
+
`+C.showPosition()+`
|
|
3
|
+
Expecting `+Dt.join(", ")+", got '"+(this.terminals_[B]||B)+"'";else Rt="Parse error on line "+(X+1)+": Unexpected "+(B==_t?"end of input":"'"+(this.terminals_[B]||B)+"'");this.parseError(Rt,{text:C.match,token:this.terminals_[B]||B,line:C.yylineno,loc:It,expected:Dt})}if(U[0]instanceof Array&&U.length>1)throw Error("Parse Error: multiple actions possible at state: "+et+", token: "+B);switch(U[0]){case 1:if(n.push(B),v.push(C.yytext),i.push(C.yylloc),n.push(U[1]),B=null,!Nt){if(J=C.yyleng,h=C.yytext,X=C.yylineno,It=C.yylloc,ct>0)ct--}else B=Nt,Nt=null;break;case 2:if(q=this.productions_[U[1]][1],at.$=v[v.length-q],at._$={first_line:i[i.length-(q||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(q||1)].first_column,last_column:i[i.length-1].last_column},ue)at._$.range=[i[i.length-(q||1)].range[0],i[i.length-1].range[1]];if(Ot=this.performAction.apply(at,[h,J,X,tt.yy,U[1],v,i].concat(de)),typeof Ot<"u")return Ot;if(q)n=n.slice(0,-1*q*2),v=v.slice(0,-1*q),i=i.slice(0,-1*q);n.push(this.productions_[U[1]][0]),v.push(at.$),i.push(at._$),Wt=it[n[n.length-2]][n[n.length-1]],n.push(Wt);break;case 3:return!0}}return!0},"parse")},he=function(){var Q={EOF:1,parseError:t(function(S,n){if(this.yy.parser)this.yy.parser.parseError(S,n);else throw Error(S)},"parseError"),setInput:t(function(c,S){if(this.yy=S||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var S=c.match(/(?:\r\n?|\n).*/g);if(S)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),c},"input"),unput:t(function(c){var S=c.length,n=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var T=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1)this.yylineno-=n.length-1;var v=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===T.length?this.yylloc.first_column:0)+T[T.length-n.length].length-n[0].length:this.yylloc.first_column-S},this.options.ranges)this.yylloc.range=[v[0],v[0]+this.yyleng-S];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(c){this.unput(this.match.slice(c))},"less"),pastInput:t(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var c=this.match;if(c.length<20)c+=this._input.substr(0,20-c.length);return(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var c=this.pastInput(),S=Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
|
5
|
+
`+S+"^"},"showPosition"),test_match:t(function(c,S){var n,T,v;if(this.options.backtrack_lexer){if(v={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)v.yylloc.range=this.yylloc.range.slice(0)}if(T=c[0].match(/(?:\r\n?|\n).*/g),T)this.yylineno+=T.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:T?T[T.length-1].length-T[T.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(c[0].length),this.matched+=c[0],n=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(n)return n;else if(this._backtrack){for(var i in v)this[i]=v[i];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var c,S,n,T;if(!this._more)this.yytext="",this.match="";var v=this._currentRules();for(var i=0;i<v.length;i++)if(n=this._input.match(this.rules[v[i]]),n&&(!S||n[0].length>S[0].length)){if(S=n,T=i,this.options.backtrack_lexer)if(c=this.test_match(n,v[i]),c!==!1)return c;else if(this._backtrack){S=!1;continue}else return!1;else if(!this.options.flex)break}if(S){if(c=this.test_match(S,v[T]),c!==!1)return c;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var S=this.next();if(S)return S;else return this.lex()},"lex"),begin:t(function(S){this.conditionStack.push(S)},"begin"),popState:t(function(){var S=this.conditionStack.length-1;if(S>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(S){if(S=this.conditionStack.length-1-Math.abs(S||0),S>=0)return this.conditionStack[S];else return"INITIAL"},"topState"),pushState:t(function(S){this.begin(S)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(S,n,T,v){function i(){let h=n.yytext.indexOf("%%");if(h===0)return!1;if(h>0){let X=n.yytext.slice(0,h),J=n.yytext.slice(h);if(J)S.lexer.unput(J);n.yytext=X}return!0}t(i,"processId");var it=v;switch(T){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState("SCALE"),17;break;case 14:return 18;case 15:this.popState();break;case 16:return this.begin("acc_title"),33;break;case 17:return this.popState(),"acc_title_value";break;case 18:return this.begin("acc_descr"),35;break;case 19:return this.popState(),"acc_descr_value";break;case 20:this.begin("acc_descr_multiline");break;case 21:this.popState();break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;break;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";break;case 25:return this.popState(),this.pushState("CLASSDEFID"),42;break;case 26:return this.popState(),43;break;case 27:return this.pushState("CLASS"),48;break;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;break;case 29:return this.popState(),50;break;case 30:return this.pushState("STYLE"),45;break;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;break;case 32:return this.popState(),47;break;case 33:return this.pushState("SCALE"),17;break;case 34:return 18;case 35:this.popState();break;case 36:this.pushState("STATE");break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;break;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;break;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;break;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";break;case 49:if(!i())return;return this.popState(),"ID";break;case 50:this.popState();break;case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+n.yytext.trim()+'"');case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState("struct"),20;break;case 56:return this.popState(),21;break;case 57:break;case 58:return this.begin("NOTE"),29;break;case 59:return this.popState(),this.pushState("NOTE_ID"),59;break;case 60:return this.popState(),this.pushState("NOTE_ID"),60;break;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";break;case 63:break;case 64:return"NOTE_TEXT";case 65:if(!i())return;return this.popState(),"ID";break;case 66:if(!i())return;return this.popState(),this.pushState("NOTE_TEXT"),24;break;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;break;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;break;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!i())return;return 24;case 74:return n.yytext=n.yytext.trim(),14;break;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}};return Q}();Lt.lexer=he;function Tt(){this.yy={}}return t(Tt,"Parser"),Tt.prototype=Lt,Lt.Parser=Tt,new Tt}();Pt.parser=Pt;var pe=Pt,Se="TB",Jt="TB",jt="dir",lt="state",ot="root",Bt="relation",ge="classDef",ye="style",me="applyClass",ft="default",qt="divider",Qt="fill:none",Zt="fill: #333",te="c",ee="markdown",se="normal",$t="rect",Ft="rectWithTitle",be="stateStart",ke="stateEnd",Gt="divider",Ut="roundedWithTitle",_e="note",ve="noteGroup",pt="statediagram",De="state",Ce=`${pt}-${De}`,re="transition",Ae="note",xe="note-edge",Le=`${re} ${xe}`,we=`${pt}-${Ae}`,Ne="cluster",Oe=`${pt}-${Ne}`,$e="cluster-alt",Pe=`${pt}-${$e}`,ie="parent",ae="note",Ge="state",Yt="----",Ye=`${Yt}${ae}`,Ht=`${Yt}${ie}`,At=new Map,Z=0,ne=0,ht=new Map,Ve=t((e,s,l,r)=>{if(e===Gt&&l?.id!==void 0&&ht.has(l.id)){let y=ht.get(l.id);return ht.set(s,y),y}let d=ne++,p=r?void 0:d;return ht.set(s,p),p},"colorSlotFor");function xt(e="",s=0,l="",r=Yt){let d=l!==null&&l.length>0?`${r}${l}`:"";return`${Ge}-${e}${d}-${s}`}t(xt,"stateDomId");var Me=t((e,s,l,r,d,p,y,m)=>{a.trace("items",s),s.forEach((o)=>{switch(o.stmt){case lt:ut(e,o,l,r,d,p,y,m);break;case ft:ut(e,o,l,r,d,p,y,m);break;case Bt:{ut(e,o.state1,l,r,d,p,y,m),ut(e,o.state2,l,r,d,p,y,m);let E=y==="neo",_={id:"edge"+Z,start:o.state1.id,end:o.state2.id,arrowhead:"normal",arrowTypeEnd:E?"arrow_barb_neo":"arrow_barb",style:Qt,labelStyle:"",label:k.sanitizeText(o.description??"",u()),arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,classes:re,look:y};d.push(_),Z++}break}})},"setupDoc"),zt=t((e,s=Jt)=>{let l=s;if(e.doc){for(let r of e.doc)if(r.stmt==="dir")l=r.value}return l},"getDir");function dt(e,s,l){if(!s.id||s.id==="</join></fork>"||s.id==="</choice>")return;if(s.cssClasses){if(!Array.isArray(s.cssCompiledStyles))s.cssCompiledStyles=[];s.cssClasses.split(" ").forEach((d)=>{let p=l.get(d);if(p)s.cssCompiledStyles=[...s.cssCompiledStyles??[],...p.styles]})}let r=e.find((d)=>d.id===s.id);if(r)Object.assign(r,s);else e.push(s)}t(dt,"insertOrUpdateNode");function oe(e){return e?.classes?.join(" ")??""}t(oe,"getClassesFromDbInfo");function le(e){return e?.styles??[]}t(le,"getStylesFromDbInfo");var ut=t((e,s,l,r,d,p,y,m)=>{let o=s.id,E=l.get(o),_=oe(E),Y=le(E),V=u(),j=_.trim()!==""||Y.length>0;if(a.info("dataFetcher parsedItem",s,E,Y),o!=="root"){let w=$t;if(s.start===!0)w=be;else if(s.start===!1)w=ke;if(s.type!==ft)w=s.type;if(!At.get(o))At.set(o,{id:o,shape:w,description:k.sanitizeText(o,V),cssClasses:`${_} ${Ce}`,cssStyles:Y});let g=At.get(o);if(s.description){if(Array.isArray(g.description))g.shape=Ft,g.description.push(s.description);else if(g.description?.length&&g.description.length>0)if(g.shape=Ft,g.description===o)g.description=[s.description];else g.description=[g.description,s.description];else g.shape=$t,g.description=s.description;g.description=k.sanitizeTextOrArray(g.description,V)}if(g.description?.length===1&&g.shape===Ft)if(g.type==="group")g.shape=Ut;else g.shape=$t;if(!g.type&&s.doc)a.info("Setting cluster for XCX",o,zt(s)),g.type="group",g.isGroup=!0,g.dir=zt(s),g.shape=s.type===qt?Gt:Ut,g.colorIndex=Ve(g.shape,o,e,j),g.cssClasses=`${g.cssClasses} ${Oe} ${p?Pe:""}`;let M={labelStyle:"",shape:g.shape,label:g.description,cssClasses:g.cssClasses,cssCompiledStyles:[],cssStyles:g.cssStyles,id:o,dir:g.dir,domId:xt(o,Z),type:g.type,isGroup:g.type==="group",colorIndex:g.colorIndex,padding:8,rx:10,ry:10,look:y,labelType:"markdown"};if(M.shape===Gt)M.label="";if(e&&e.id!=="root")a.trace("Setting node ",o," to be child of its parent ",e.id),M.parentId=e.id;if(M.centerLabel=!0,s.note){let O={labelStyle:"",shape:_e,label:s.note.text,labelType:"markdown",cssClasses:we,cssStyles:[],cssCompiledStyles:[],id:o+Ye+"-"+Z,domId:xt(o,Z,ae),type:"node",isGroup:!1,padding:V.flowchart?.padding,look:y,position:s.note.position},z=o+Ht,W={labelStyle:"",shape:ve,label:s.note.text,cssClasses:g.cssClasses,cssStyles:[],id:o+Ht,domId:xt(o,Z,ie),type:"group",isGroup:!0,padding:16,look:y,position:s.note.position};Z++,W.id=z,O.parentId=z,dt(r,W,m),dt(r,O,m),dt(r,M,m);let K=o,x=O.id;if(s.note.position==="left of")K=O.id,x=o;d.push({id:K+"-"+x,start:K,end:x,arrowhead:"none",arrowTypeEnd:"",style:Qt,labelStyle:"",classes:Le,pattern:"dashed",arrowheadStyle:Zt,labelpos:te,labelType:ee,thickness:se,look:y})}else dt(r,M,m)}if(s.doc)a.trace("Adding nodes children "),Me(s,s.doc,l,r,d,!p,y,m)},"dataFetcher"),We=t(()=>{At.clear(),Z=0,ne=0,ht.clear()},"reset"),ce=t((e,s=Jt)=>{if(!e.doc)return s;let l=s;for(let r of e.doc)if(r.stmt==="dir")l=r.value;return l},"getDir"),je=t(function(e,s){return s.db.getClasses()},"getClasses"),Ue=t(async function(e,s,l,r){a.info("REF0:"),a.info("Drawing state diagram (v2)",s);let{securityLevel:d,state:p,layout:y}=u();r.db.extract(r.db.getRootDocV2());let m=r.db.getData(),o=Be(s,d);if(m.type=r.type,m.layoutAlgorithm=ze(y),m.nodeSpacing=p?.nodeSpacing||50,m.rankSpacing=p?.rankSpacing||50,u().look==="neo")m.markers=["barbNeo"];else m.markers=["barb"];m.diagramId=s,await Fe(m,o);let _=8;try{(typeof r.db.getLinks==="function"?r.db.getLinks():new Map).forEach((V,j)=>{let w=typeof j==="string"?j:typeof j?.id==="string"?j.id:"",g=m.nodes.find((x)=>x.id===w);if(!w){a.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(j));return}let M=o.node()?.querySelectorAll("g.node, g.rough-node"),O;if(M?.forEach((x)=>{let st=x.textContent?.trim();if(x.id===g?.domId||st===w)O=x}),!O){a.warn("⚠️ Could not find node matching text:",w);return}let z=O.parentNode;if(!z){a.warn("⚠️ Node has no parent, cannot wrap:",w);return}let W=document.createElementNS("http://www.w3.org/2000/svg","a"),K=V.url.replace(/^"+|"+$/g,"");if(W.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",K),W.setAttribute("target","_blank"),V.tooltip){let x=V.tooltip.replace(/^"+|"+$/g,"");W.setAttribute("title",x),O.setAttribute("title",x)}z.replaceChild(W,O),W.appendChild(O),a.info("\uD83D\uDD17 Wrapped node in <a> tag for:",w,V.url)})}catch(Y){a.error("❌ Error injecting clickable links:",Y)}F.insertTitle(o,"statediagramTitleText",p?.titleTopMargin??25,r.db.getDiagramTitle()),Re(o,_,pt,p?.useMaxWidth??!0)},"draw"),He={getClasses:je,draw:Ue,getDir:ce},G={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},Kt=t(()=>new Map,"newClassesList"),Xt=t(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),Ct=t((e)=>JSON.parse(JSON.stringify(e)),"clone"),Ke=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=Kt(),this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=I,this.setAccTitle=R,this.getAccDescription=D,this.setAccDescription=L,this.setDiagramTitle=P,this.getDiagramTitle=N,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{t(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let r of Array.isArray(e)?e:e.doc)switch(r.stmt){case lt:this.addState(r.id.trim(),r.type,r.doc,r.description,r.note);break;case Bt:this.addRelation(r.state1,r.state2,r.description);break;case ge:this.addStyleClass(r.id.trim(),r.classes);break;case ye:this.handleStyleDef(r);break;case me:this.setCssClass(r.id.trim(),r.styleClass);break;case"click":this.addLink(r.id,r.url,r.tooltip);break}let s=this.getStates(),l=u();We(),ut(void 0,this.getRootDocV2(),s,this.nodes,this.edges,!0,l.look,this.classes);for(let r of this.nodes){if(!Array.isArray(r.label))continue;if(r.description=r.label.slice(1),r.isGroup&&r.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${r.id}]`);r.label=r.label[0]}}handleStyleDef(e){let s=e.id.trim().split(","),l=e.styleClass.split(",");for(let r of s){let d=this.getState(r);if(!d){let p=r.trim();this.addState(p),d=this.getState(p)}if(d)d.styles=l.map((p)=>p.replace(/;/g,"")?.trim())}}setRootDoc(e){if(a.info("Setting root doc",e),this.rootDoc=e,this.version===1)this.extract(e);else this.extract(this.getRootDocV2())}docTranslator(e,s,l){if(s.stmt===Bt){this.docTranslator(e,s.state1,!0),this.docTranslator(e,s.state2,!1);return}if(s.stmt===lt)if(s.id===G.START_NODE)s.id=e.id+(l?"_start":"_end"),s.start=l;else s.id=s.id.trim();if(s.stmt!==ot&&s.stmt!==lt||!s.doc)return;let r=[],d=[];for(let p of s.doc)if(p.type===qt){let y=Ct(p);y.doc=Ct(d),r.push(y),d=[]}else d.push(p);if(r.length>0&&d.length>0){let p={stmt:lt,id:Us(),type:"divider",doc:Ct(d)};r.push(Ct(p)),s.doc=r}s.doc.forEach((p)=>this.docTranslator(s,p,!0))}getRootDocV2(){return this.docTranslator({id:ot,stmt:ot},{id:ot,stmt:ot,doc:this.rootDoc},!0),{id:ot,doc:this.rootDoc}}addState(e,s=ft,l=void 0,r=void 0,d=void 0,p=void 0,y=void 0,m=void 0){let o=e?.trim();if(!this.currentDocument.states.has(o))a.info("Adding state ",o,r),this.currentDocument.states.set(o,{stmt:lt,id:o,descriptions:[],type:s,doc:l,note:d,classes:[],styles:[],textStyles:[]});else{let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);if(!E.doc)E.doc=l;if(!E.type)E.type=s}if(r)a.info("Setting state description",o,r),(Array.isArray(r)?r:[r]).forEach((_)=>this.addDescription(o,_.trim()));if(d){let E=this.currentDocument.states.get(o);if(!E)throw Error(`State not found: ${o}`);E.note=d,E.note.text=k.sanitizeText(E.note.text,u())}if(p)a.info("Setting state classes",o,p),(Array.isArray(p)?p:[p]).forEach((_)=>this.setCssClass(o,_.trim()));if(y)a.info("Setting state styles",o,y),(Array.isArray(y)?y:[y]).forEach((_)=>this.setStyle(o,_.trim()));if(m)a.info("Setting state styles",o,y),(Array.isArray(m)?m:[m]).forEach((_)=>this.setTextStyle(o,_.trim()))}clear(e){if(this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:Xt()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=Kt(),!e)this.links=new Map,A()}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){a.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,s,l){this.links.set(e,{url:s,tooltip:l}),a.warn("Adding link",e,s,l)}getLinks(){return this.links}startIdIfNeeded(e=""){if(e===G.START_NODE)return this.startEndCount++,`${G.START_TYPE}${this.startEndCount}`;return e}startTypeIfNeeded(e="",s=ft){return e===G.START_NODE?G.START_TYPE:s}endIdIfNeeded(e=""){if(e===G.END_NODE)return this.startEndCount++,`${G.END_TYPE}${this.startEndCount}`;return e}endTypeIfNeeded(e="",s=ft){return e===G.END_NODE?G.END_TYPE:s}addRelationObjs(e,s,l=""){let r=this.startIdIfNeeded(e.id.trim()),d=this.startTypeIfNeeded(e.id.trim(),e.type),p=this.startIdIfNeeded(s.id.trim()),y=this.startTypeIfNeeded(s.id.trim(),s.type);this.addState(r,d,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(p,y,s.doc,s.description,s.note,s.classes,s.styles,s.textStyles),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:k.sanitizeText(l,u())})}addRelation(e,s,l){if(typeof e==="object"&&typeof s==="object")this.addRelationObjs(e,s,l);else if(typeof e==="string"&&typeof s==="string"){let r=this.startIdIfNeeded(e.trim()),d=this.startTypeIfNeeded(e),p=this.endIdIfNeeded(s.trim()),y=this.endTypeIfNeeded(s);this.addState(r,d),this.addState(p,y),this.currentDocument.relations.push({id1:r,id2:p,relationTitle:l?k.sanitizeText(l,u()):void 0})}}addDescription(e,s){let l=this.currentDocument.states.get(e),r=s.startsWith(":")?s.replace(":","").trim():s;l?.descriptions?.push(k.sanitizeText(r,u()))}cleanupLabel(e){return e.startsWith(":")?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,s=""){if(!this.classes.has(e))this.classes.set(e,{id:e,styles:[],textStyles:[]});let l=this.classes.get(e);if(s&&l)s.split(G.STYLECLASS_SEP).forEach((r)=>{let d=r.replace(/([^;]*);/,"$1").trim();if(RegExp(G.COLOR_KEYWORD).exec(r)){let y=d.replace(G.FILL_KEYWORD,G.BG_FILL).replace(G.COLOR_KEYWORD,G.FILL_KEYWORD);l.textStyles.push(y)}l.styles.push(d)})}getClasses(){return this.classes}setupToolTips(e){let s=Dn();f(e).select("svg").selectAll("g.node, g.rough-node").on("mouseover",(d)=>{let p=f(d.currentTarget),y=p.attr("title");if(y===null)return;let m=d.currentTarget?.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),s.html(nt.sanitize(y)),p.classed("hover",!0)}).on("mouseout",(d)=>{s.transition().duration(500).style("opacity",0),f(d.currentTarget).classed("hover",!1)})}setCssClass(e,s){e.split(",").forEach((l)=>{let r=this.getState(l);if(!r){let d=l.trim();this.addState(d),r=this.getState(d)}r?.classes?.push(s)})}setStyle(e,s){this.getState(e)?.styles?.push(s)}setTextStyle(e,s){this.getState(e)?.textStyles?.push(s)}bindFunctions(e){this.funs.forEach((s)=>{s(e)})}getDirectionStatement(){return this.rootDoc.find((e)=>e.stmt===jt)}getDirection(){return this.getDirectionStatement()?.value??Se}setDirection(e){let s=this.getDirectionStatement();if(s)s.value=e;else this.rootDoc.unshift({stmt:jt,value:e})}trimColon(e){return e.startsWith(":")?e.slice(1).trim():e.trim()}getData(){let e=u();for(let s of this.nodes)if(s.wrappingWidth??=e.state?.wrappingWidth,!s.isGroup)s.minWidth??=e.state?.minNodeWidth;return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:ce(this.getRootDocV2())}}getConfig(){return u().state}},Xe=t((e)=>{let{theme:s,bkgColorArray:l,borderColorArray:r}=e;if(!Te(s,r))return"";let d=Ee(e.look),p=Ie(l),y="";for(let m=0;m<cn(r);m++){let o=r[m],E=p?`fill: ${l[m%l.length]};`:"",_=`[data-look="${d}"][data-color-id="color-${m}"]`;y+=`
|
|
7
|
+
|
|
8
|
+
/* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
|
|
9
|
+
the body, so what stays visible of \`outer\` is the band behind the label. */
|
|
10
|
+
${_}.statediagram-cluster rect.outer {
|
|
11
|
+
stroke: ${o};
|
|
12
|
+
${E}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
${_}.statediagram-cluster rect.inner {
|
|
16
|
+
stroke: ${o};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Concurrency regions. Siblings of one composite share a slot, so a divided composite
|
|
20
|
+
reads as one thing split into parts rather than as several composites. */
|
|
21
|
+
${_}.statediagram-cluster rect.divider {
|
|
22
|
+
stroke: ${o};
|
|
23
|
+
${E}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* handDrawn draws the same container as roughjs shapes rather than plain rects, so it
|
|
27
|
+
needs its own rules. \`roundedWithTitle\` and \`divider\` name those groups \`outer\`,
|
|
28
|
+
\`inner\` and \`divider\` to match the classic branch, which is what lets these
|
|
29
|
+
discriminate -- a bare \`.statediagram-cluster path\` rule reached the body as well and
|
|
30
|
+
tinted the whole composite, losing \`compositeBackground\` and diverging from what
|
|
31
|
+
classic and neo do.
|
|
32
|
+
|
|
33
|
+
roughjs emits two paths per shape and marks them: the filled shape carries
|
|
34
|
+
\`stroke="none"\` and the sketched outline carries \`fill="none"\`. Splitting on that is
|
|
35
|
+
what keeps \`fill\` off the outline -- a rough outline is open squiggles, not a closed
|
|
36
|
+
region, so filling it produces smears -- and keeps \`stroke\` off the fill shape, which
|
|
37
|
+
would otherwise gain an edge it was drawn without. */
|
|
38
|
+
${_}.statediagram-cluster .outer path[stroke='none'] {
|
|
39
|
+
${E}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
${_}.statediagram-cluster .outer path[fill='none'] {
|
|
43
|
+
stroke: ${o};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* No \`.inner\` rule on purpose. The body shape is left entirely alone under handDrawn,
|
|
47
|
+
where a rect's \`inner\` counterpart cannot be recoloured safely: roughjs draws a
|
|
48
|
+
hachure fill as *stroked* lines, so its fill paths carry \`fill="none"\` exactly like
|
|
49
|
+
the outline and no selector separates them. An \`.inner\` stroke rule therefore
|
|
50
|
+
repainted the hatching of every alt composite in the palette colour instead of
|
|
51
|
+
leaving it on \`altBackground\`. The container still reads as palette-coloured: the
|
|
52
|
+
\`outer\` shape spans the whole composite, so its outline already frames the body. */
|
|
53
|
+
|
|
54
|
+
/* Regions split the same way, which is why \`divider\` fills solid rather than taking
|
|
55
|
+
roughjs's default hachure -- see the note on that call. Hatched, both of its paths
|
|
56
|
+
carried \`fill="none"\` and these two rules degenerated: the tint matched nothing and
|
|
57
|
+
the border rule repainted the hatching. */
|
|
58
|
+
${_}.statediagram-cluster .divider path[stroke='none'] {
|
|
59
|
+
${E}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
${_}.statediagram-cluster .divider path[fill='none'] {
|
|
63
|
+
stroke: ${o};
|
|
64
|
+
}
|
|
65
|
+
`}return y},"genColor"),Je=t((e)=>`
|
|
66
|
+
${Xe(e)}
|
|
67
|
+
defs [id$="-barbEnd"] {
|
|
68
|
+
fill: ${e.transitionColor};
|
|
69
|
+
stroke: ${e.transitionColor};
|
|
70
|
+
}
|
|
71
|
+
g.stateGroup text {
|
|
72
|
+
fill: ${e.nodeBorder};
|
|
73
|
+
stroke: none;
|
|
74
|
+
font-size: 10px;
|
|
75
|
+
}
|
|
76
|
+
g.stateGroup text {
|
|
77
|
+
fill: ${e.textColor};
|
|
78
|
+
stroke: none;
|
|
79
|
+
font-size: 10px;
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
g.stateGroup .state-title {
|
|
83
|
+
font-weight: bolder;
|
|
84
|
+
fill: ${e.stateLabelColor};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
g.stateGroup rect {
|
|
88
|
+
fill: ${e.mainBkg};
|
|
89
|
+
stroke: ${e.nodeBorder};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
g.stateGroup line {
|
|
93
|
+
stroke: ${e.lineColor};
|
|
94
|
+
stroke-width: ${e.strokeWidth||1};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.transition {
|
|
98
|
+
stroke: ${e.transitionColor};
|
|
99
|
+
stroke-width: ${e.strokeWidth||1};
|
|
100
|
+
fill: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.stateGroup .composit {
|
|
104
|
+
fill: ${e.background};
|
|
105
|
+
border-bottom: 1px
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.stateGroup .alt-composit {
|
|
109
|
+
fill: #e0e0e0;
|
|
110
|
+
border-bottom: 1px
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.state-note {
|
|
114
|
+
stroke: ${e.noteBorderColor};
|
|
115
|
+
fill: ${e.noteBkgColor};
|
|
116
|
+
|
|
117
|
+
text {
|
|
118
|
+
fill: ${e.noteTextColor};
|
|
119
|
+
stroke: none;
|
|
120
|
+
font-size: 10px;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.stateLabel .box {
|
|
125
|
+
stroke: none;
|
|
126
|
+
stroke-width: 0;
|
|
127
|
+
fill: ${e.mainBkg};
|
|
128
|
+
opacity: 0.5;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.edgeLabel .label rect {
|
|
132
|
+
fill: ${e.labelBackgroundColor};
|
|
133
|
+
opacity: 0.5;
|
|
134
|
+
}
|
|
135
|
+
.edgeLabel {
|
|
136
|
+
background-color: ${e.edgeLabelBackground};
|
|
137
|
+
p {
|
|
138
|
+
background-color: ${e.edgeLabelBackground};
|
|
139
|
+
}
|
|
140
|
+
rect {
|
|
141
|
+
opacity: 0.5;
|
|
142
|
+
background-color: ${e.edgeLabelBackground};
|
|
143
|
+
fill: ${e.edgeLabelBackground};
|
|
144
|
+
}
|
|
145
|
+
text-align: center;
|
|
146
|
+
}
|
|
147
|
+
.edgeLabel .label text {
|
|
148
|
+
fill: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
149
|
+
}
|
|
150
|
+
.label div .edgeLabel {
|
|
151
|
+
color: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.stateLabel text {
|
|
155
|
+
fill: ${e.stateLabelColor};
|
|
156
|
+
font-size: 10px;
|
|
157
|
+
font-weight: bold;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.node circle.state-start {
|
|
161
|
+
fill: ${e.specialStateColor};
|
|
162
|
+
stroke: ${e.specialStateColor};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.node .fork-join {
|
|
166
|
+
fill: ${e.specialStateColor};
|
|
167
|
+
stroke: ${e.specialStateColor};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.node circle.state-end {
|
|
171
|
+
fill: ${e.innerEndBackground};
|
|
172
|
+
stroke: ${e.background};
|
|
173
|
+
stroke-width: 1.5
|
|
174
|
+
}
|
|
175
|
+
.end-state-inner {
|
|
176
|
+
fill: ${e.compositeBackground||e.background};
|
|
177
|
+
// stroke: ${e.background};
|
|
178
|
+
stroke-width: 1.5
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.node rect {
|
|
182
|
+
fill: ${e.stateBkg||e.mainBkg};
|
|
183
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
184
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
185
|
+
}
|
|
186
|
+
.node polygon {
|
|
187
|
+
fill: ${e.mainBkg};
|
|
188
|
+
stroke: ${e.stateBorder||e.nodeBorder};;
|
|
189
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
190
|
+
}
|
|
191
|
+
[id$="-barbEnd"] {
|
|
192
|
+
fill: ${e.lineColor};
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.statediagram-cluster rect {
|
|
196
|
+
fill: ${e.compositeTitleBackground};
|
|
197
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
198
|
+
stroke-width: ${e.strokeWidth||1}px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.cluster-label, .nodeLabel {
|
|
202
|
+
color: ${e.stateLabelColor};
|
|
203
|
+
// line-height: 1;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.statediagram-cluster rect.outer {
|
|
207
|
+
rx: 5px;
|
|
208
|
+
ry: 5px;
|
|
209
|
+
}
|
|
210
|
+
.statediagram-state .divider {
|
|
211
|
+
stroke: ${e.stateBorder||e.nodeBorder};
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.statediagram-state .title-state {
|
|
215
|
+
rx: 5px;
|
|
216
|
+
ry: 5px;
|
|
217
|
+
}
|
|
218
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
219
|
+
fill: ${e.compositeBackground||e.background};
|
|
220
|
+
}
|
|
221
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
222
|
+
fill: ${e.altBackground?e.altBackground:"#efefef"};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.statediagram-cluster .inner {
|
|
226
|
+
rx:0;
|
|
227
|
+
ry:0;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.statediagram-state rect.basic {
|
|
231
|
+
rx: 5px;
|
|
232
|
+
ry: 5px;
|
|
233
|
+
}
|
|
234
|
+
.statediagram-state rect.divider {
|
|
235
|
+
stroke-dasharray: 10,10;
|
|
236
|
+
fill: ${e.altBackground?e.altBackground:"#efefef"};
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.note-edge {
|
|
240
|
+
stroke-dasharray: 5;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.statediagram-note rect {
|
|
244
|
+
fill: ${e.noteBkgColor};
|
|
245
|
+
stroke: ${e.noteBorderColor};
|
|
246
|
+
stroke-width: 1px;
|
|
247
|
+
rx: 0;
|
|
248
|
+
ry: 0;
|
|
249
|
+
}
|
|
250
|
+
.statediagram-note rect {
|
|
251
|
+
fill: ${e.noteBkgColor};
|
|
252
|
+
stroke: ${e.noteBorderColor};
|
|
253
|
+
stroke-width: 1px;
|
|
254
|
+
rx: 0;
|
|
255
|
+
ry: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.statediagram-note text {
|
|
259
|
+
fill: ${e.noteTextColor};
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.statediagram-note .nodeLabel {
|
|
263
|
+
color: ${e.noteTextColor};
|
|
264
|
+
}
|
|
265
|
+
.statediagram .edgeLabel {
|
|
266
|
+
color: red; // ${e.noteTextColor};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
270
|
+
fill: ${e.lineColor};
|
|
271
|
+
stroke: ${e.lineColor};
|
|
272
|
+
stroke-width: ${e.strokeWidth||1};
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.statediagramTitleText {
|
|
276
|
+
text-anchor: middle;
|
|
277
|
+
font-size: 18px;
|
|
278
|
+
fill: ${e.textColor};
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
[data-look="neo"].statediagram-cluster rect {
|
|
282
|
+
fill: ${e.mainBkg};
|
|
283
|
+
stroke: ${e.useGradient?"url("+e.svgId+"-gradient)":e.stateBorder||e.nodeBorder};
|
|
284
|
+
stroke-width: ${e.strokeWidth??1};
|
|
285
|
+
}
|
|
286
|
+
[data-look="neo"].statediagram-cluster rect.outer {
|
|
287
|
+
rx: ${e.radius}px;
|
|
288
|
+
ry: ${e.radius}px;
|
|
289
|
+
filter: ${e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${e.svgId}-drop-shadow)`):"none"}
|
|
290
|
+
}
|
|
291
|
+
`,"getStyles"),qe=Je,ms={parser:pe,get db(){return new Ke(2)},renderer:He,styles:qe,init:t((e)=>{if(!e.state)e.state={};e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{ms as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_a}from"./chunk-22ncha3b.js";export{_a as createRailroadServices};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ka}from"./chunk-22ncha3b.js";export{ka as createRailroadAbnfServices};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.freeze(JSON.parse('{"displayName":"YAML","fileTypes":["yaml","yml","rviz","reek","clang-format","yaml-tmlanguage","syntax","sublime-syntax"],"firstLineMatch":"^%YAML( ?1.\\\\d+)?","name":"yaml","patterns":[{"include":"#comment"},{"include":"#property"},{"include":"#directive"},{"match":"^---","name":"entity.other.document.begin.yaml"},{"match":"^\\\\.{3}","name":"entity.other.document.end.yaml"},{"include":"#node"}],"repository":{"block-collection":{"patterns":[{"include":"#block-sequence"},{"include":"#block-mapping"}]},"block-mapping":{"patterns":[{"include":"#block-pair"}]},"block-node":{"patterns":[{"include":"#prototype"},{"include":"#block-scalar"},{"include":"#block-collection"},{"include":"#flow-scalar-plain-out"},{"include":"#flow-node"}]},"block-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"1":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=\\\\?)|^ *(:)|(:)","endCaptures":{"1":{"name":"punctuation.separator.key-value.mapping.yaml"},"2":{"name":"invalid.illegal.expected-newline.yaml"}},"name":"meta.block-mapping.yaml","patterns":[{"include":"#block-node"}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&\'*,:>?@\\\\[`{|}\\\\s]|[-:?]\\\\S)([^:\\\\s]|:\\\\S|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&\'*,:>?@\\\\[`{|}\\\\s]|[-:?]\\\\S","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},{"match":":(?=\\\\s|$)","name":"punctuation.separator.key-value.mapping.yaml"}]},"block-scalar":{"begin":"(?:(\\\\|)|(>))([1-9])?([-+])?(.*\\\\n?)","beginCaptures":{"1":{"name":"keyword.control.flow.block-scalar.literal.yaml"},"2":{"name":"keyword.control.flow.block-scalar.folded.yaml"},"3":{"name":"constant.numeric.indentation-indicator.yaml"},"4":{"name":"storage.modifier.chomping-indicator.yaml"},"5":{"patterns":[{"include":"#comment"},{"match":".+","name":"invalid.illegal.expected-comment-or-newline.yaml"}]}},"end":"^(?=\\\\S)|(?!\\\\G)","patterns":[{"begin":"^( +)(?! )","end":"^(?!\\\\1|\\\\s*$)","name":"string.unquoted.block.yaml"}]},"block-sequence":{"match":"(-)(?!\\\\S)","name":"punctuation.definition.block.sequence.item.yaml"},"comment":{"begin":"(?:^([\\\\t ]*)|[\\\\t ]+)(?=#\\\\p{print}*$)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.yaml"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.yaml"}},"end":"\\\\n","name":"comment.line.number-sign.yaml"}]},"directive":{"begin":"^%","beginCaptures":{"0":{"name":"punctuation.definition.directive.begin.yaml"}},"end":"(?=$|[\\\\t ]+($|#))","name":"meta.directive.yaml","patterns":[{"captures":{"1":{"name":"keyword.other.directive.yaml.yaml"},"2":{"name":"constant.numeric.yaml-version.yaml"}},"match":"\\\\G(YAML)[\\\\t ]+(\\\\d+\\\\.\\\\d+)"},{"captures":{"1":{"name":"keyword.other.directive.tag.yaml"},"2":{"name":"storage.type.tag-handle.yaml"},"3":{"name":"support.type.tag-prefix.yaml"}},"match":"\\\\G(TAG)(?:[\\\\t ]+(!(?:[-0-9A-Za-z]*!)?)(?:[\\\\t ]+(!(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])*|(?![]!,\\\\[{}])(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+))?)?"},{"captures":{"1":{"name":"support.other.directive.reserved.yaml"},"2":{"name":"string.unquoted.directive-name.yaml"},"3":{"name":"string.unquoted.directive-parameter.yaml"}},"match":"\\\\G(\\\\w+)(?:[\\\\t ]+(\\\\w+)(?:[\\\\t ]+(\\\\w+))?)?"},{"match":"\\\\S+","name":"invalid.illegal.unrecognized.yaml"}]},"flow-alias":{"captures":{"1":{"name":"keyword.control.flow.alias.yaml"},"2":{"name":"punctuation.definition.alias.yaml"},"3":{"name":"variable.other.alias.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"((\\\\*))([^],/\\\\[{}\\\\s]+)([^],}\\\\s]\\\\S*)?"},"flow-collection":{"patterns":[{"include":"#flow-sequence"},{"include":"#flow-mapping"}]},"flow-mapping":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.mapping.begin.yaml"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.mapping.end.yaml"}},"name":"meta.flow-mapping.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.mapping.yaml"},{"include":"#flow-pair"}]},"flow-node":{"patterns":[{"include":"#prototype"},{"include":"#flow-alias"},{"include":"#flow-collection"},{"include":"#flow-scalar"}]},"flow-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.explicit.yaml","patterns":[{"include":"#prototype"},{"include":"#flow-pair"},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","beginCaptures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","patterns":[{"include":"#flow-value"}]}]},{"begin":"(?=(?:[^-\\\\]!\\"#%\\\\&\'*,:>?@\\\\[`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s])([^],:\\\\[{}\\\\s]|:[^],\\\\[{}\\\\s]|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"meta.flow-pair.key.yaml","patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&\'*,:>?@\\\\[`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[],\\\\[{}])","captures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[],}])","name":"meta.flow-pair.yaml","patterns":[{"include":"#flow-value"}]}]},"flow-scalar":{"patterns":[{"include":"#flow-scalar-double-quoted"},{"include":"#flow-scalar-single-quoted"},{"include":"#flow-scalar-plain-in"}]},"flow-scalar-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.double.yaml","patterns":[{"match":"\\\\\\\\([ \\"/0LN\\\\\\\\_abefnprtv]|x\\\\d\\\\d|u\\\\d{4}|U\\\\d{8})","name":"constant.character.escape.yaml"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.double-quoted.newline.yaml"}]},"flow-scalar-plain-in":{"patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&\'*,:>?@\\\\[`{|}\\\\s]|[-:?][^],\\\\[{}\\\\s]","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])","name":"string.unquoted.plain.in.yaml"}]},"flow-scalar-plain-in-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$)|\\\\s*:[],\\\\[{}]|\\\\s*[],\\\\[{}])"}]},"flow-scalar-plain-out":{"patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^-\\\\]!\\"#%\\\\&\'*,:>?@\\\\[`{|}\\\\s]|[-:?]\\\\S","end":"(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},"flow-scalar-plain-out-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|([Yy]|yes|Yes|YES|[Nn]|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|([-+]?0b[01_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[_\\\\h]+|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)|([-+]?(?:[0-9][0-9_]*)?\\\\.[.0-9]*(?:[Ee][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))|(\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[\\\\t ]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:[\\\\t ]*Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?)|(=)|(<<))(?=\\\\s*$|\\\\s+#|\\\\s*:(\\\\s|$))"}]},"flow-scalar-single-quoted":{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"\'(?!\')","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.single.yaml","patterns":[{"match":"\'\'","name":"constant.character.escape.single-quoted.yaml"}]},"flow-sequence":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.sequence.begin.yaml"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.sequence.end.yaml"}},"name":"meta.flow-sequence.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.sequence.yaml"},{"include":"#flow-pair"},{"include":"#flow-node"}]},"flow-value":{"patterns":[{"begin":"\\\\G(?![],}])","end":"(?=[],}])","name":"meta.flow-pair.value.yaml","patterns":[{"include":"#flow-node"}]}]},"node":{"patterns":[{"include":"#block-node"}]},"property":{"begin":"(?=[!\\\\&])","end":"(?!\\\\G)","name":"meta.property.yaml","patterns":[{"captures":{"1":{"name":"keyword.control.property.anchor.yaml"},"2":{"name":"punctuation.definition.anchor.yaml"},"3":{"name":"entity.name.type.anchor.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"\\\\G((&))([^],/\\\\[{}\\\\s]+)(\\\\S+)?"},{"match":"\\\\G!(?:<(?:%\\\\h{2}|[]!#$\\\\&-;=?-\\\\[_a-z~])+>|(?:[-0-9A-Za-z]*!)?(?:%\\\\h{2}|[#$\\\\&-+\\\\--;=?-Z_a-z~])+|)(?=[\\\\t ]|$)","name":"storage.type.tag-handle.yaml"},{"match":"\\\\S+","name":"invalid.illegal.tag-handle.yaml"}]},"prototype":{"patterns":[{"include":"#comment"},{"include":"#property"}]}},"scopeName":"source.yaml","aliases":["yml"]}')),Wo=[e];
|
|
2
|
+
export{Wo};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ee,e,n,b}from"./chunk-jtwct1bx.js";import{On,$r}from"./chunk-2qncw4c0.js";import"./chunk-jb8xfsc6.js";var s="session";function f({connection:d}){let{ModelSelector:a,SettingGroup:m,SettingRow:g}=b(),r=ee(),t=$r({connection:d,endpoint:"/api/plugins/title-generator/settings",loadError:"读取标题生成设置失败",toBody:(o)=>({schemaVersion:1,revision:o.revision,model:o.model}),differs:(o,i)=>o.model!==i.model}),l=t.settings?.model??null,c={models:[{id:s,name:"跟随会话模型"},...t.modelList.models.filter((o)=>o.available===!0||o.id===l)]};return n("form",{id:r,onSubmit:t.save,className:"min-w-0 space-y-5",children:[e(m,{title:"标题生成",children:e(g,{title:"标题模型",description:"首次输入直接命名;后续输入识别为独立需求时自动改名。请求始终使用 None 思考。",children:e("div",{className:"w-56",children:e(a,{variant:"field",models:c,value:l??s,onChange:(o)=>t.edit((i)=>({...i,model:o===s?null:o}))})})})}),e(On,{formID:r,notice:t.notice,dirty:t.dirty,busy:t.loading||t.saving,saving:t.saving,onReset:t.reset})]})}export{f as TitleGeneratorSettingsSection};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o,ee,i,r,h,e,n,b,be,ye}from"./chunk-jtwct1bx.js";import{Ai}from"./chunk-jb8xfsc6.js";var T=[{id:"exa",name:"Exa",description:"免密钥 · 综合搜索"},{id:"tavily",name:"Tavily",description:"免密钥 · 支持域名筛选"},{id:"parallel",name:"Parallel",description:"免密钥 · 网页搜索"},{id:"firecrawl",name:"Firecrawl",description:"免密钥 · 网页内容"},{id:"tinyfish",name:"TinyFish",description:"免密钥 · 搜索摘要"},{id:"searxng",name:"SearXNG",description:"免密钥 · 需自建服务"},{id:"brave",name:"Brave",description:"需密钥 · 独立搜索引擎"}];function D(t){return{enabled:t.search.provider!=="off",provider:t.search.provider==="off"?"auto":t.search.provider,searxngUrl:t.search.searxngUrl??"",proxy:t.proxy??"",acceptLanguage:t.acceptLanguage??""}}function G(t,c){return{search:{provider:t.enabled?t.provider:"off",searxngUrl:t.searxngUrl},keys:{...c},proxy:t.proxy,acceptLanguage:t.acceptLanguage}}function A(t,c,u){let p=D(t);if(c.enabled!==p.enabled)return!0;if(c.enabled&&c.provider!==p.provider)return!0;return c.searxngUrl!==p.searxngUrl||c.proxy!==p.proxy||c.acceptLanguage!==p.acceptLanguage||Object.keys(u).length>0}function z({notice:t}){let{cn:c}=b();if(!t)return null;let u=t.type==="success"?Ai:be;return n("div",{role:t.type==="error"?"alert":"status",className:c("flex items-start gap-2 text-xs",t.type==="success"?"text-success":"text-danger"),children:[e(u,{className:"mt-0.5 size-4 shrink-0","aria-hidden":"true"}),e("span",{className:"min-w-0 break-words",children:t.text})]})}function I(t){let{Button:c,Input:u,Switch:p,Select:x,StatusChip:S,SettingActions:R,SettingGroup:P,SettingRow:C,cn:w}=b(),y=ee(),l=t.busy!==void 0;return n("form",{id:`${y}-form`,className:"min-w-0 space-y-5",onSubmit:async(s)=>{s.preventDefault(),await t.onSave()},children:[n(P,{title:"联网搜索",children:[e(C,{title:"启用搜索",description:"查询会发送至所选搜索服务",children:e(p,{label:"启用联网搜索",disabled:l,checked:t.draft.enabled,onCheckedChange:(s)=>t.onDraft({...t.draft,enabled:s})})}),e(C,{title:"搜索渠道",description:"自动:Exa → Tavily → Parallel → Firecrawl → TinyFish",children:e("div",{className:"w-48",children:e(x,{id:`${y}-provider`,value:t.draft.provider,disabled:l||!t.draft.enabled,className:"min-w-0",groups:[{options:[{value:"auto",label:"自动",description:"失败时依次切换渠道"},...T.map((s)=>({value:s.id,label:s.name}))]}],onValueChange:(s)=>{let a=s==="auto"?s:T.find((k)=>k.id===s)?.id;if(a)t.onDraft({...t.draft,provider:a})}})})}),(t.draft.provider==="searxng"||t.draft.searxngUrl)&&e(C,{vertical:!0,title:"自建 SearXNG 地址",children:e(u,{id:`${y}-searxng`,"aria-label":"自建 SearXNG 地址",type:"url",maxLength:2000,disabled:l||!t.draft.enabled,value:t.draft.searxngUrl,placeholder:"https://search.example.com",onChange:(s)=>t.onDraft({...t.draft,searxngUrl:s.target.value})})})]}),e(P,{title:"渠道与密钥",description:"检测使用已保存的配置",action:n(c,{type:"button",size:"sm",variant:"ghost",disabled:l,className:"text-dim",onClick:async()=>await t.onCheck("all"),children:[e(ye,{className:w("size-3.5",t.checking==="all"&&"animate-spin"),"aria-hidden":"true"}),t.checking==="all"?"正在检测…":"全部检测"]}),children:T.map((s)=>{let a=s.id,k=a==="searxng"?void 0:t.saved.keys[a],K=k?.source==="environment",W=a==="searxng"?void 0:t.keys[a],v=W==="",m=t.checks[a],L=t.checking==="all"||t.checking===a,f=k?.configured?"已配置密钥":"未配置";if(a==="searxng")f=t.saved.search.searxngUrl?"已配置地址":"未配置地址";if(K)f="来自环境变量";if(v)f="待移除";if(W)f="待保存密钥";let E=m&&!m.ok&&!L?m.error??(m.kind==="search"?m.meta?.failed[0]?.error:m.meta?.error)??"检测失败,请检查配置。":void 0;return n("div",{className:"min-w-0",children:[n(C,{title:s.name,description:n(h,{children:[s.description,K&&" · 请在服务端环境变量中更换或移除",E&&e("span",{role:"status",className:"block break-words text-danger",children:E})]}),children:[L?e(S,{tone:"neutral",pulse:!0,children:"检测中"}):m?e(S,{tone:m.ok?"success":"danger",children:m.ok?`可用 ${m.elapsedMs} ms`:"不可用"}):e("span",{className:w("text-xs",W!==void 0?"text-warning":"text-faint"),children:f}),a!=="searxng"&&!K&&n(h,{children:[e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`${k?.configured?"更换":"设置"} ${s.name} 密钥`,"aria-expanded":t.editingKey===a,"aria-controls":`${y}-${a}-key-editor`,onClick:()=>t.onEditKey(t.editingKey===a?void 0:a),children:k?.configured?"更换":"设置密钥"}),k?.configured&&!v&&e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`移除 ${s.name} 密钥`,onClick:()=>{t.onKeys({...t.keys,[a]:""}),t.onEditKey(void 0)},children:"移除"})]}),e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,"aria-label":`检测 ${s.name}`,onClick:async()=>await t.onCheck(a),children:"检测"})]}),a!=="searxng"&&t.editingKey===a&&n("div",{id:`${y}-${a}-key-editor`,className:"flex items-center gap-2 pb-3",children:[e(u,{id:`${y}-${a}-key`,"aria-label":`${s.name} API 密钥`,type:"password",autoComplete:"new-password",maxLength:4000,disabled:l,value:t.keys[a]??"",placeholder:"输入新密钥,保存后生效;只写入,不回显",onChange:(N)=>{let d={...t.keys};if(N.target.value.trim())d[a]=N.target.value;else delete d[a];t.onKeys(d)}}),e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,onClick:()=>{let N={...t.keys};delete N[a],t.onKeys(N),t.onEditKey(void 0)},children:"取消"})]})]},a)})}),n(P,{title:"网络",children:[e(C,{vertical:!0,title:"代理 URL",description:"留空使用服务端环境代理",children:e(u,{id:`${y}-proxy`,"aria-label":"代理 URL",type:"url",maxLength:2000,disabled:l,value:t.draft.proxy,placeholder:"http://127.0.0.1:7890",onChange:(s)=>t.onDraft({...t.draft,proxy:s.target.value})})}),e(C,{vertical:!0,title:"Accept-Language",children:e(u,{id:`${y}-language`,"aria-label":"Accept-Language",maxLength:200,disabled:l,value:t.draft.acceptLanguage,placeholder:"en-US,en;q=0.9",onChange:(s)=>t.onDraft({...t.draft,acceptLanguage:s.target.value})})})]}),n(R,{children:[e("div",{className:"mr-auto min-w-0",children:e(z,{notice:t.notice})}),t.dirty&&e(c,{type:"button",size:"sm",variant:"ghost",disabled:l,onClick:t.onRestore,children:"撤销更改"}),e(c,{form:`${y}-form`,type:"submit",size:"sm",variant:"primary",disabled:l||!t.dirty,children:t.busy==="save"?"保存中…":"保存"})]})]})}function M({connection:t}){let{Button:c}=b(),[u,p]=r(),[x,S]=r(),[R,P]=r({}),[C,w]=r(),[y,l]=r("load"),[s,a]=r(),[k,K]=r({}),[W,v]=r(),[m,L]=r(0),f=i(void 0);o(()=>{let d=new AbortController;return f.current=d,l("load"),v(void 0),p(void 0),S(void 0),P({}),w(void 0),K({}),t.request("/api/plugins/webfetch/settings",{signal:d.signal,cache:m>0?"reload":"default"}).then((g)=>{if(d.signal.aborted)return;p(g),S(D(g))}).catch((g)=>{if(!d.signal.aborted)v({type:"error",text:g instanceof Error?g.message:"加载设置失败,请重试。"})}).finally(()=>{if(!d.signal.aborted)f.current=void 0,l(void 0)}),()=>{d.abort(),f.current?.abort(),f.current=void 0}},[t,m]);async function E(){if(f.current||!u||!x||!A(u,x,R))return;let d=new AbortController;f.current=d,l("save"),v(void 0);try{let g=await t.request("/api/plugins/webfetch/settings",{method:"PATCH",signal:d.signal,headers:{"Content-Type":"application/json"},body:JSON.stringify(G(x,R))});if(d.signal.aborted)return;p(g),S(D(g)),P({}),w(void 0),K({}),v({type:"success",text:"设置已保存。"})}catch(g){if(!d.signal.aborted)v({type:"error",text:g instanceof Error?g.message:"保存失败,请重试。"})}finally{if(!d.signal.aborted)f.current=void 0,l(void 0)}}async function N(d){if(f.current||!u)return;let g=new AbortController;f.current=g,l("test"),a(d),v(void 0);try{let U=await t.request(`/api/plugins/webfetch/test?provider=${d}`,{method:"POST",signal:g.signal});if(g.signal.aborted)return;K((q)=>{let F={...q};for(let B of U.checks)if(B.kind==="search"&&B.provider)F[B.provider]=B;return F})}catch(U){if(!g.signal.aborted)v({type:"error",text:U instanceof Error?U.message:"检测失败,请重试。"})}finally{if(!g.signal.aborted)f.current=void 0,l(void 0),a(void 0)}}if(!u||!x)return n("div",{className:"min-w-0 space-y-3",children:[y==="load"&&e("p",{role:"status",className:"text-sm text-dim",children:"正在加载设置…"}),e(z,{notice:W}),y!=="load"&&e(c,{type:"button",size:"sm",variant:"ghost",onClick:()=>L(m+1),children:"重新加载"})]});return e(I,{saved:u,draft:x,keys:R,editingKey:C,dirty:A(u,x,R),busy:y==="load"?void 0:y,checking:s,checks:k,notice:W,onDraft:(d)=>{S(d),v(void 0)},onKeys:(d)=>{P(d),v(void 0)},onEditKey:w,onSave:E,onCheck:N,onRestore:()=>{S(D(u)),P({}),w(void 0),v(void 0)}})}export{M as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y,o,ee,i,r,h,e,n,b,rr,ca,dt,Br,et,hr,we,pe,Ii,Sl,Di}from"./chunk-jtwct1bx.js";function le(d){let{Button:v,confirm:L,PageLayout:x,Switch:_,cn:F,style:z}=b(),{connection:u,onOpen:O}=d,[D,f]=r([]),[w,H]=r([]),[q,J]=r([]),[I,T]=r(),[B,U]=r([]),[A,V]=r(!0),[k,N]=r(),[C,R]=r(),[W,P]=r(!1),[G,c]=r({}),s=i(0),E=y(async()=>{let t=++s.current;try{let[a,l,m,p]=await Promise.all([u.request("/api/automations"),u.request("/api/projects").catch(()=>[]),u.request("/api/info").catch(()=>{return}),u.request("/api/models").catch(()=>({models:[]}))]),Z=[...new Set(a.flatMap((g)=>g.lastSessionID?[g.lastSessionID]:[]))],te=(await Promise.all(Z.map(async(g)=>u.request(`/api/sessions/${encodeURIComponent(g)}`).catch((j)=>{if(j instanceof Error&&"status"in j&&j.status===404)return;throw j})))).filter((g)=>g!==void 0);if(t!==s.current)return;if(f(a.sort((g,j)=>g.created-j.created)),H(l),J(te),T(m),p?.models)U(p.models.map((g)=>g.id));N(void 0)}catch(a){if(t===s.current)N(a instanceof Error?a.message:"加载失败")}finally{if(t===s.current)V(!1)}},[u]);o(()=>(E(),()=>{s.current++}),[E]);let S=(t)=>{R(t),P(!0)},Q=async(t)=>{c((a)=>({...a,[t.id]:!0}));try{let a=await u.request(`/api/automations/${t.id}/run`,{method:"POST"});O(a.id)}catch(a){N(a instanceof Error?a.message:"运行失败")}finally{c((a)=>({...a,[t.id]:!1}))}},X=async(t)=>{if(!await L({title:`删除自动化「${t.name}」?`,description:"已经跑出来的会话会保留。",action:"删除",danger:!0}))return;try{await u.request(`/api/automations/${t.id}`,{method:"DELETE"}),f((l)=>l.filter((m)=>m.id!==t.id))}catch(l){N(l instanceof Error?l.message:"删除失败")}},Y=async(t,a)=>{try{let l=await u.request(`/api/automations/${t.id}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({enabled:a})});f((m)=>m.map((p)=>p.id===t.id?l:p))}catch(l){N(l instanceof Error?l.message:"状态切换失败")}};return n(x,{title:"自动化",description:n(h,{children:["到点自动开一个新会话执行提示词,跑完的结果在会话里查看。",I?.timezone&&n("span",{className:"text-faint",children:["按服务器时区 ",I.timezone,"。"]})]}),actions:n(v,{variant:"primary",onClick:()=>S(null),children:[e(we,{className:"size-4"}),"新建"]}),children:[k&&e("div",{className:"mb-4 rounded-lg bg-danger/10 px-3 py-2 text-xs text-danger",children:k}),A?e("div",{className:"flex justify-center py-12 text-xs text-faint",children:"正在加载自动化…"}):D.length===0?n("div",{className:z("surface.emptyDashed","animate-fade"),children:[e("div",{className:"grid size-11 place-items-center rounded-xl bg-raised text-dim",children:e(rr,{className:"size-5"})}),n("div",{children:[e("p",{className:"text-[15px] font-medium",children:"还没有自动化"}),e("p",{className:"mt-1 text-sm text-dim",children:"比如「每个工作日 9 点总结昨天的提交」。"})]}),n(v,{size:"sm",onClick:()=>S(null),className:"mt-1",children:[e(we,{className:"size-3.5"}),"新建自动化"]})]}):e("ul",{className:"flex animate-fade flex-col gap-3",children:D.map((t)=>{let a=t.projectID?w.find((p)=>p.id===t.projectID):void 0,l=t.lastSessionID?q.find((p)=>p.id===t.lastSessionID):void 0,m=Boolean(G[t.id]);return e("li",{children:n("article",{className:z("surface.card","group p-4 transition-[border-color,box-shadow] duration-200 hover:border-line-strong hover:shadow-composer"),children:[n("div",{className:"flex items-start gap-3",children:[n("div",{className:F("min-w-0 flex-1 transition-opacity duration-200",!t.enabled&&"opacity-55"),children:[e("h2",{className:"truncate text-[15px] font-medium",children:t.name}),n("div",{className:"mt-1 flex flex-wrap items-center gap-x-3.5 gap-y-1 text-[13px] text-dim",children:[n("span",{className:"flex items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:text-faint",children:[e(rr,{}),Sl(t.schedule)]}),n("span",{className:"flex items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:text-faint",children:[a?e(dt,{}):e(Br,{}),a?a.name:"聊天"]}),t.enabled&&t.nextRun!==null&&n("span",{className:"flex items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:text-faint",children:[e(ca,{}),"下次 ",Di(t.nextRun)]})]})]}),e(_,{checked:t.enabled,label:t.enabled?"停用":"启用",onCheckedChange:(p)=>Y(t,p),className:"mt-0.5"})]}),e("p",{className:F("mt-3 line-clamp-2 text-sm leading-6 whitespace-pre-wrap text-faint transition-opacity duration-200",!t.enabled&&"opacity-55"),children:t.prompt}),n("div",{className:"mt-3 -mb-1 flex items-center gap-1",children:[n(v,{size:"sm",onClick:()=>Q(t),disabled:m,children:[e(hr,{className:"size-3.5"}),m?"正在启动…":"立即运行"]}),n(v,{size:"sm",variant:"ghost",onClick:()=>S(t),children:[e(et,{className:"size-3.5"}),"编辑"]}),n(v,{size:"sm",variant:"danger-ghost",onClick:()=>X(t),children:[e(pe,{className:"size-3.5"}),"删除"]}),e("div",{className:"flex-1"}),t.lastRun!==null&&n("button",{type:"button",disabled:!l,onClick:()=>l&&O(l.id),className:"rounded-md px-1.5 py-1 text-[13px] text-faint transition-colors enabled:hover:bg-raised enabled:hover:text-ink",children:["上次运行 ",Di(t.lastRun),l?.archivedAt!=null?" · 已归档":"",!l?" · 会话已删除":""]})]})]})},t.id)})}),C!==void 0&&e(ne,{open:W,onOpenChange:P,automation:C??void 0,projects:w,models:B,timezone:I?.timezone,onSaved:(t)=>{f((a)=>{let l=a.findIndex((m)=>m.id===t.id);if(l>=0){let m=[...a];return m[l]=t,m}return[...a,t].sort((m,p)=>m.created-p.created)}),P(!1)},connection:u},C?.id??"new")]})}var M="custom",K="chat";function ne(d){let{Button:v,Dialog:L,Field:x,Form:_,FormError:F,Input:z,Select:u,Textarea:O}=b(),D=ee(),f=d.automation,[w,H]=r(f?.name??""),[q,J]=r(f?.prompt??""),[I,T]=r(f?.schedule??Ii[0]?.cron??"0 9 * * *"),[B,U]=r(()=>!Ii.some((c)=>c.cron===I)),[A,V]=r(f?.projectID??K),[k,N]=r(f?.model??""),[C,R]=r(!1),[W,P]=r();async function G(c){c.preventDefault(),R(!0),P(void 0);try{let s=A===K?void 0:A,E={name:w,prompt:q,schedule:I,model:k||void 0},S;if(f)S=await d.connection.request(`/api/automations/${f.id}`,{method:"PATCH",headers:{"content-type":"application/json"},body:JSON.stringify({...E,projectID:s??null})});else S=await d.connection.request("/api/automations",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({...E,projectID:s})});d.onSaved(S)}catch(s){P(s instanceof Error?s.message:"保存失败")}finally{R(!1)}}return e(L,{open:d.open,onOpenChange:d.onOpenChange,title:d.automation?"编辑自动化":"新建自动化",size:"lg",footer:n(h,{children:[e("div",{className:"flex-1 max-sm:hidden"}),e(v,{onClick:()=>d.onOpenChange(!1),children:"取消"}),e(v,{type:"submit",form:D,variant:"primary",disabled:C,children:C?"正在保存…":d.automation?"保存":"创建"})]}),children:n(_,{id:D,onSubmit:G,children:[e(x,{label:"名称",children:(c)=>e(z,{id:c,autoFocus:!f,required:!0,value:w,onChange:(s)=>H(s.target.value),placeholder:"例如:每日提交总结"})}),e(x,{label:"提示词",hint:"没人盯着运行,写清楚要做什么、结果怎么汇报。",children:(c)=>e(O,{id:c,required:!0,value:q,onChange:(s)=>J(s.target.value),rows:5,placeholder:"总结昨天到现在的 git 提交,按模块分组,列出需要我关注的改动。"})}),n("div",{className:"grid gap-x-3 gap-y-4 sm:grid-cols-2",children:[e(x,{label:"时间",children:(c)=>e(u,{id:c,value:B?M:I,onValueChange:(s)=>{if(U(s===M),s!==M)T(s)},groups:[{options:Ii.map((s)=>({value:s.cron,label:s.label}))},{options:[{value:M,label:"自定义(cron)"}]}]})}),e(x,{label:"在哪里运行",children:(c)=>e(u,{id:c,value:A,onValueChange:V,groups:[{options:[{value:K,label:"聊天",description:"不绑定目录",icon:e(Br,{})}]},...d.projects.length?[{label:"项目",options:d.projects.map((s)=>({value:s.id,label:s.name,icon:e(dt,{})}))}]:[]]})})]}),B&&e(x,{label:"cron 表达式",hint:`分 时 日 月 周,例如 30 8 * * 1-5 是工作日 8:30。${d.timezone?`按 ${d.timezone} 时间。`:""}`,children:(c)=>e(z,{id:c,required:!0,value:I,onChange:(s)=>T(s.target.value),spellCheck:!1,className:"font-mono"})}),d.models.length>0&&e(x,{label:"模型",children:(c)=>e(u,{id:c,value:k||"default",onValueChange:(s)=>N(s==="default"?"":s),groups:[{options:[{value:"default",label:"默认模型"},...d.models.map((s)=>({value:s,label:s}))]}]})}),e(F,{children:W})]})})}export{le as AutomationsPage};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{xs}from"./chunk-22ncha3b.js";export{xs as createCynefinServices};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import{t,k,ln,A,R,I,L,D,P,N,u,Lr,f,_e,Jr,fl,yo,vo,ta}from"./chunk-77pcpdb5.js";import{Hr,br}from"./chunk-emxa4wv3.js";import{$t}from"./chunk-k3aa37pw.js";function nt(n,l){let y=0;if(l===void 0){for(let g of n)if(g=+g)y+=g}else{let g=-1;for(let _ of n)if(_=+l(_,++g,n))y+=_}return y}function ht(n){var l=n.length/6|0,y=Array(l),g=0;while(g<l)y[g]="#"+n.slice(g*6,++g*6);return y}var dt=ht("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function Lt(n){return n.source}function Et(n){return n.target}function Pt(n){let l=Lt,y=Et,g=yo,_=vo,w=null,m=null,B=Jr(i);function i(){let o,h=fl.call(arguments),v=l.apply(this,h),x=y.apply(this,h);if(w==null)m=n(o=B());if(m.lineStart(),h[0]=v,m.point(+g.apply(this,h),+_.apply(this,h)),h[0]=x,m.point(+g.apply(this,h),+_.apply(this,h)),m.lineEnd(),o)return m=null,o+""||null}return i.source=function(o){return arguments.length?(l=o,i):l},i.target=function(o){return arguments.length?(y=o,i):y},i.x=function(o){return arguments.length?(g=typeof o==="function"?o:_e(+o),i):g},i.y=function(o){return arguments.length?(_=typeof o==="function"?o:_e(+o),i):_},i.context=function(o){return arguments.length?(o==null?w=m=null:m=n(w=o),i):w},i}function kt(){return Pt(ta)}function At(n){return n.target.depth}function pt(n){return n.depth}function yt(n,l){return l-1-n.height}function rt(n,l){return n.sourceLinks.length?n.depth:l-1}function mt(n){return n.targetLinks.length?n.depth:n.sourceLinks.length?br(n.sourceLinks,At)-1:0}function tt(n){return function(){return n}}function bt(n,l){return st(n.source,l.source)||n.index-l.index}function vt(n,l){return st(n.target,l.target)||n.index-l.index}function st(n,l){return n.y0-l.y0}function gt(n){return n.value}function Tt(n){return n.index}function Ct(n){return n.nodes}function Bt(n){return n.links}function _t(n,l){let y=n.get(l);if(!y)throw Error("missing: "+l);return y}function St({nodes:n}){for(let l of n){let y=l.y0,g=y;for(let _ of l.sourceLinks)_.y0=y+_.width/2,y+=_.width;for(let _ of l.targetLinks)_.y1=g+_.width/2,g+=_.width}}function ot(){let n=0,l=0,y=1,g=1,_=24,w=8,m,B=Tt,i=rt,o,h,v=Ct,x=Bt,d=6;function S(){let e={nodes:v.apply(null,arguments),links:x.apply(null,arguments)};return O(e),G(e),W(e),U(e),z(e),St(e),e}S.update=function(e){return St(e),e},S.nodeId=function(e){return arguments.length?(B=typeof e==="function"?e:tt(e),S):B},S.nodeAlign=function(e){return arguments.length?(i=typeof e==="function"?e:tt(e),S):i},S.nodeSort=function(e){return arguments.length?(o=e,S):o},S.nodeWidth=function(e){return arguments.length?(_=+e,S):_},S.nodePadding=function(e){return arguments.length?(w=m=+e,S):w},S.nodes=function(e){return arguments.length?(v=typeof e==="function"?e:tt(e),S):v},S.links=function(e){return arguments.length?(x=typeof e==="function"?e:tt(e),S):x},S.linkSort=function(e){return arguments.length?(h=e,S):h},S.size=function(e){return arguments.length?(n=l=0,y=+e[0],g=+e[1],S):[y-n,g-l]},S.extent=function(e){return arguments.length?(n=+e[0][0],y=+e[1][0],l=+e[0][1],g=+e[1][1],S):[[n,l],[y,g]]},S.iterations=function(e){return arguments.length?(d=+e,S):d};function O({nodes:e,links:a}){for(let[r,s]of e.entries())s.index=r,s.sourceLinks=[],s.targetLinks=[];let c=new Map(e.map((r,s)=>[B(r,s,e),r]));for(let[r,s]of a.entries()){s.index=r;let{source:p,target:b}=s;if(typeof p!=="object")p=s.source=_t(c,p);if(typeof b!=="object")b=s.target=_t(c,b);p.sourceLinks.push(s),b.targetLinks.push(s)}if(h!=null)for(let{sourceLinks:r,targetLinks:s}of e)r.sort(h),s.sort(h)}function G({nodes:e}){for(let a of e)a.value=a.fixedValue===void 0?Math.max(nt(a.sourceLinks,gt),nt(a.targetLinks,gt)):a.fixedValue}function W({nodes:e}){let a=e.length,c=new Set(e),r=new Set,s=0;while(c.size){for(let p of c){p.depth=s;for(let{target:b}of p.sourceLinks)r.add(b)}if(++s>a)throw Error("circular link");c=r,r=new Set}}function U({nodes:e}){let a=e.length,c=new Set(e),r=new Set,s=0;while(c.size){for(let p of c){p.height=s;for(let{source:b}of p.targetLinks)r.add(b)}if(++s>a)throw Error("circular link");c=r,r=new Set}}function Q({nodes:e}){let a=Hr(e,(s)=>s.depth)+1,c=(y-n-_)/(a-1),r=Array(a);for(let s of e){let p=Math.max(0,Math.min(a-1,Math.floor(i.call(null,s,a))));if(s.layer=p,s.x0=n+p*c,s.x1=s.x0+_,r[p])r[p].push(s);else r[p]=[s]}if(o)for(let s of r)s.sort(o);return r}function q(e){let a=br(e,(c)=>(g-l-(c.length-1)*m)/nt(c,gt));for(let c of e){let r=l;for(let s of c){s.y0=r,s.y1=r+s.value*a,r=s.y1+m;for(let p of s.sourceLinks)p.width=p.value*a}r=(g-r+m)/(c.length+1);for(let s=0;s<c.length;++s){let p=c[s];p.y0+=r*(s+1),p.y1+=r*(s+1)}K(c)}}function z(e){let a=Q(e);m=Math.min(w,(g-l)/(Hr(a,(c)=>c.length)-1)),q(a);for(let c=0;c<d;++c){let r=Math.pow(0.99,c),s=Math.max(1-r,(c+1)/d);Y(a,r,s),E(a,r,s)}}function E(e,a,c){for(let r=1,s=e.length;r<s;++r){let p=e[r];for(let b of p){let J=0,M=0;for(let{source:C,value:ft}of b.targetLinks){let et=ft*(b.layer-C.layer);J+=T(C,b)*et,M+=et}if(!(M>0))continue;let F=(J/M-b.y0)*a;b.y0+=F,b.y1+=F,Z(b)}if(o===void 0)p.sort(st);H(p,c)}}function Y(e,a,c){for(let r=e.length,s=r-2;s>=0;--s){let p=e[s];for(let b of p){let J=0,M=0;for(let{target:C,value:ft}of b.sourceLinks){let et=ft*(C.layer-b.layer);J+=V(b,C)*et,M+=et}if(!(M>0))continue;let F=(J/M-b.y0)*a;b.y0+=F,b.y1+=F,Z(b)}if(o===void 0)p.sort(st);H(p,c)}}function H(e,a){let c=e.length>>1,r=e[c];j(e,r.y0-m,c-1,a),X(e,r.y1+m,c+1,a),j(e,g,e.length-1,a),X(e,l,0,a)}function X(e,a,c,r){for(;c<e.length;++c){let s=e[c],p=(a-s.y0)*r;if(p>0.000001)s.y0+=p,s.y1+=p;a=s.y1+m}}function j(e,a,c,r){for(;c>=0;--c){let s=e[c],p=(s.y1-a)*r;if(p>0.000001)s.y0-=p,s.y1-=p;a=s.y0-m}}function Z({sourceLinks:e,targetLinks:a}){if(h===void 0){for(let{source:{sourceLinks:c}}of a)c.sort(vt);for(let{target:{targetLinks:c}}of e)c.sort(bt)}}function K(e){if(h===void 0)for(let{sourceLinks:a,targetLinks:c}of e)a.sort(vt),c.sort(bt)}function T(e,a){let c=e.y0-(e.sourceLinks.length-1)*m/2;for(let{target:r,width:s}of e.sourceLinks){if(r===a)break;c+=s+m}for(let{source:r,width:s}of a.targetLinks){if(r===e)break;c-=s}return c}function V(e,a){let c=a.y0-(a.targetLinks.length-1)*m/2;for(let{source:r,width:s}of a.targetLinks){if(r===e)break;c+=s+m}for(let{target:r,width:s}of e.sourceLinks){if(r===a)break;c-=s}return c}return S}function Ot(n){return[n.source.x1,n.y0]}function Rt(n){return[n.target.x0,n.y1]}function it(){return kt().source(Ot).target(Rt)}var xt=function(){var n=t(function(B,i,o,h){for(o=o||{},h=B.length;h--;o[B[h]]=i);return o},"o"),l=[1,9],y=[1,10],g=[1,5,10,12],_={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:t(function(i,o,h,v,x,d,S){var O=d.length-1;switch(x){case 7:let G=v.findOrCreateNode(d[O-4].trim().replaceAll('""','"')),W=v.findOrCreateNode(d[O-2].trim().replaceAll('""','"')),U=parseFloat(d[O].trim());v.addLink(G,W,U);break;case 8:case 9:case 11:this.$=d[O];break;case 10:this.$=d[O-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:l,20:y},{1:[2,6],7:11,10:[1,12]},n(y,[2,4],{9:13,5:[1,14]}),{12:[1,15]},n(g,[2,8]),n(g,[2,9]),{19:[1,16]},n(g,[2,11]),{1:[2,1]},{1:[2,5]},n(y,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:l,20:y},{15:18,16:7,17:8,18:l,20:y},{18:[1,19]},n(y,[2,3]),{12:[1,20]},n(g,[2,10]),{15:21,16:7,17:8,18:l,20:y},n([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:t(function(i,o){if(o.recoverable)this.trace(i);else{var h=Error(i);throw h.hash=o,h}},"parseError"),parse:t(function(i){var o=this,h=[0],v=[],x=[null],d=[],S=this.table,O="",G=0,W=0,U=0,Q=2,q=1,z=d.slice.call(arguments,1),E=Object.create(this.lexer),Y={yy:{}};for(var H in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,H))Y.yy[H]=this.yy[H];if(E.setInput(i,Y.yy),Y.yy.lexer=E,Y.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var X=E.yylloc;d.push(X);var j=E.options&&E.options.ranges;if(typeof Y.yy.parseError==="function")this.parseError=Y.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Z(C){h.length=h.length-2*C,x.length=x.length-C,d.length=d.length-C}t(Z,"popStack");function K(){var C=v.pop()||E.lex()||q;if(typeof C!=="number"){if(C instanceof Array)v=C,C=v.pop();C=o.symbols_[C]||C}return C}t(K,"lex");var T,V,e,a,c,r,s={},p,b,J,M;while(!0){if(e=h[h.length-1],this.defaultActions[e])a=this.defaultActions[e];else{if(T===null||typeof T>"u")T=K();a=S[e]&&S[e][T]}if(typeof a>"u"||!a.length||!a[0]){var F="";M=[];for(p in S[e])if(this.terminals_[p]&&p>Q)M.push("'"+this.terminals_[p]+"'");if(E.showPosition)F="Parse error on line "+(G+1)+`:
|
|
2
|
+
`+E.showPosition()+`
|
|
3
|
+
Expecting `+M.join(", ")+", got '"+(this.terminals_[T]||T)+"'";else F="Parse error on line "+(G+1)+": Unexpected "+(T==q?"end of input":"'"+(this.terminals_[T]||T)+"'");this.parseError(F,{text:E.match,token:this.terminals_[T]||T,line:E.yylineno,loc:X,expected:M})}if(a[0]instanceof Array&&a.length>1)throw Error("Parse Error: multiple actions possible at state: "+e+", token: "+T);switch(a[0]){case 1:if(h.push(T),x.push(E.yytext),d.push(E.yylloc),h.push(a[1]),T=null,!V){if(W=E.yyleng,O=E.yytext,G=E.yylineno,X=E.yylloc,U>0)U--}else T=V,V=null;break;case 2:if(b=this.productions_[a[1]][1],s.$=x[x.length-b],s._$={first_line:d[d.length-(b||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(b||1)].first_column,last_column:d[d.length-1].last_column},j)s._$.range=[d[d.length-(b||1)].range[0],d[d.length-1].range[1]];if(r=this.performAction.apply(s,[O,W,G,Y.yy,a[1],x,d].concat(z)),typeof r<"u")return r;if(b)h=h.slice(0,-1*b*2),x=x.slice(0,-1*b),d=d.slice(0,-1*b);h.push(this.productions_[a[1]][0]),x.push(s.$),d.push(s._$),J=S[h[h.length-2]][h[h.length-1]],h.push(J);break;case 3:return!0}}return!0},"parse")},w=function(){var B={EOF:1,parseError:t(function(o,h){if(this.yy.parser)this.yy.parser.parseError(o,h);else throw Error(o)},"parseError"),setInput:t(function(i,o){if(this.yy=o||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:t(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);if(o)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),i},"input"),unput:t(function(i){var o=i.length,h=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var v=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1)this.yylineno-=h.length-1;var x=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===v.length?this.yylloc.first_column:0)+v[v.length-h.length].length-h[0].length:this.yylloc.first_column-o},this.options.ranges)this.yylloc.range=[x[0],x[0]+this.yyleng-o];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(i){this.unput(this.match.slice(i))},"less"),pastInput:t(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var i=this.match;if(i.length<20)i+=this._input.substr(0,20-i.length);return(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var i=this.pastInput(),o=Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
5
|
+
`+o+"^"},"showPosition"),test_match:t(function(i,o){var h,v,x;if(this.options.backtrack_lexer){if(x={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges)x.yylloc.range=this.yylloc.range.slice(0)}if(v=i[0].match(/(?:\r\n?|\n).*/g),v)this.yylineno+=v.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:v?v[v.length-1].length-v[v.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],h=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(h)return h;else if(this._backtrack){for(var d in x)this[d]=x[d];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var i,o,h,v;if(!this._more)this.yytext="",this.match="";var x=this._currentRules();for(var d=0;d<x.length;d++)if(h=this._input.match(this.rules[x[d]]),h&&(!o||h[0].length>o[0].length)){if(o=h,v=d,this.options.backtrack_lexer)if(i=this.test_match(h,x[d]),i!==!1)return i;else if(this._backtrack){o=!1;continue}else return!1;else if(!this.options.flex)break}if(o){if(i=this.test_match(o,x[v]),i!==!1)return i;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var o=this.next();if(o)return o;else return this.lex()},"lex"),begin:t(function(o){this.conditionStack.push(o)},"begin"),popState:t(function(){var o=this.conditionStack.length-1;if(o>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(o){if(o=this.conditionStack.length-1-Math.abs(o||0),o>=0)return this.conditionStack[o];else return"INITIAL"},"topState"),pushState:t(function(o){this.begin(o)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(o,h,v,x){var d=x;switch(v){case 0:return this.pushState("csv"),4;break;case 1:return this.pushState("csv"),4;break;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;break;case 6:return 20;case 7:return this.popState("escaped_text"),18;break;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}};return B}();_.lexer=w;function m(){this.yy={}}return t(m,"Parser"),m.prototype=_,_.Parser=m,new m}();xt.parser=xt;var at=xt,ct=[],ut=[],lt=new Map,Nt=t(()=>{ct=[],ut=[],lt=new Map,A()},"clear"),Gt=class{constructor(n,l,y=0){this.source=n,this.target=l,this.value=y}static{t(this,"SankeyLink")}},It=t((n,l,y)=>{ct.push(new Gt(n,l,y))},"addLink"),Mt=class{constructor(n){this.ID=n}static{t(this,"SankeyNode")}},Yt=t((n)=>{n=k.sanitizeText(n,u());let l=lt.get(n);if(l===void 0)l=new Mt(n),lt.set(n,l),ut.push(l);return l},"findOrCreateNode"),Dt=t(()=>ut,"getNodes"),jt=t(()=>ct,"getLinks"),zt=t(()=>({nodes:ut.map((n)=>({id:n.ID})),links:ct.map((n)=>({source:n.source.ID,target:n.target.ID,value:n.value}))}),"getGraph"),Vt={nodesMap:lt,getConfig:t(()=>u().sankey,"getConfig"),getNodes:Dt,getLinks:jt,getGraph:zt,addLink:It,findOrCreateNode:Yt,getAccTitle:I,setAccTitle:R,getAccDescription:D,setAccDescription:L,getDiagramTitle:N,setDiagramTitle:P,clear:Nt},wt=class n{static{t(this,"Uid")}static{this.count=0}static next(l){return new n(l+ ++n.count)}constructor(l){this.id=l,this.href=`#${l}`}toString(){return"url("+this.href+")"}},Ft={left:pt,right:yt,center:mt,justify:rt},Wt=t((n)=>{let l=0,y=0;for(let g of n){let _=g.value??0;if(_>l)l=_,y=g.layer??0}return y},"findCentralNodeLayer"),Ut=t(function(n,l,y,g){let{securityLevel:_,sankey:w}=u(),m=Lr.sankey,B;if(_==="sandbox")B=f("#i"+l);let i=_==="sandbox"?f(B.nodes()[0].contentDocument.body):f("body"),o=_==="sandbox"?i.select(`[id="${l}"]`):f(`[id="${l}"]`),h=w?.width??m.width,v=w?.height??m.width,x=w?.useMaxWidth??m.useMaxWidth,d=w?.nodeAlignment??m.nodeAlignment,S=w?.prefix??m.prefix,O=w?.suffix??m.suffix,G=w?.showValues??m.showValues,W=w?.nodeWidth??m.nodeWidth??10,U=w?.nodePadding??m.nodePadding??12,Q=w?.labelStyle??m.labelStyle??"legacy",q=w?.nodeColors??{},z=g.db.getGraph(),E=Ft[d];ot().nodeId((r)=>r.id).nodeWidth(W).nodePadding(U+(G?15:0)).nodeAlign(E).extent([[0,0],[h,v]])(z);let H=Wt(z.nodes),X=$t(dt),j=t((r)=>q[r]??X(r),"getNodeColor");o.append("g").attr("class","nodes").selectAll(".node").data(z.nodes).join("g").attr("class","node").attr("id",(r)=>(r.uid=wt.next("node-")).id).attr("transform",function(r){return"translate("+r.x0+","+r.y0+")"}).attr("x",(r)=>r.x0).attr("y",(r)=>r.y0).append("rect").attr("height",(r)=>r.y1-r.y0).attr("width",(r)=>r.x1-r.x0).attr("fill",(r)=>j(r.id));let Z=t(({id:r,value:s})=>{if(!G)return r;return`${r}
|
|
7
|
+
${S}${Math.round(s*100)/100}${O}`},"getText"),K=t((r)=>{if(Q==="outlined"){if((r.layer??0)<H)return{x:r.x0-6,anchor:"end"};return{x:r.x1+6,anchor:"start"}}if(r.x0<h/2)return{x:r.x1+6,anchor:"start"};return{x:r.x0-6,anchor:"end"}},"getLabelPosition"),T=o.append("g").attr("class","node-labels").attr("font-size",14),V=t((r)=>T.selectAll(r?`.${r}`:"text").data(z.nodes).join("text").attr("class",r??null).attr("x",(s)=>K(s).x).attr("y",(s)=>(s.y1+s.y0)/2).attr("dy",`${G?"0":"0.35"}em`).attr("text-anchor",(s)=>K(s).anchor).text(Z),"appendLabel");if(Q==="outlined")V("sankey-label-bg"),V("sankey-label-fg");else V();let e=o.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",0.5).selectAll(".link").data(z.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),a=w?.linkColor??"gradient";if(a==="gradient"){let r=e.append("linearGradient").attr("id",(s)=>(s.uid=wt.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",(s)=>s.source.x1).attr("x2",(s)=>s.target.x0);r.append("stop").attr("offset","0%").attr("stop-color",(s)=>j(s.source.id)),r.append("stop").attr("offset","100%").attr("stop-color",(s)=>j(s.target.id))}let c;switch(a){case"gradient":c=t((r)=>r.uid,"coloring");break;case"source":c=t((r)=>j(r.source.id),"coloring");break;case"target":c=t((r)=>j(r.target.id),"coloring");break;default:c=a}e.append("path").attr("d",it()).attr("stroke",c).attr("stroke-width",(r)=>Math.max(1,r.width)),ln(void 0,o,0,x)},"draw"),Ht={draw:Ut},Xt=t((n)=>n.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,`
|
|
8
|
+
`).trim(),"prepareTextForParsing"),Jt=t((n)=>`.label {
|
|
9
|
+
font-family: ${n.fontFamily};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.node-labels {
|
|
13
|
+
font-family: ${n.fontFamily};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Outlined label style - background stroke for better readability */
|
|
17
|
+
.sankey-label-bg {
|
|
18
|
+
stroke: ${n.mainBkg||n.background||"#fff"};
|
|
19
|
+
stroke-width: 4px;
|
|
20
|
+
stroke-linejoin: round;
|
|
21
|
+
paint-order: stroke;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Foreground label text */
|
|
25
|
+
.sankey-label-fg {
|
|
26
|
+
fill: ${n.textColor};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Node styling */
|
|
30
|
+
.node rect {
|
|
31
|
+
shape-rendering: crispEdges;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Link styling */
|
|
35
|
+
.link {
|
|
36
|
+
fill: none;
|
|
37
|
+
stroke-opacity: 0.5;
|
|
38
|
+
mix-blend-mode: multiply;
|
|
39
|
+
}
|
|
40
|
+
`,"getStyles"),Kt=Jt,Qt=at.parse.bind(at);at.parse=(n)=>Qt(Xt(n));var Be={styles:Kt,parser:at,db:Vt,renderer:Ht};export{Be as diagram};
|
|
Binary file
|
|
Binary file
|