@bkm016/basalt 0.1.31 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunk-3dtgkgam.js +4064 -0
- package/chunk-54qzhq9t.js +50 -0
- package/chunk-9vth0w8q.js +2 -0
- package/chunk-jqtdf0ym.js +63 -0
- package/chunk-n3hfhbe4.js +498 -0
- package/chunk-nzpzjbpp.js +51 -0
- package/chunk-p23eqet9.js +2 -0
- package/chunk-qqs9fqsy.js +4 -0
- package/chunk-scq1dz62.js +8 -0
- package/chunk-x83syrhw.js +44 -0
- package/compiled.js +1 -1
- package/package.json +1 -1
- package/ui-test-worker.js +1 -1
- package/web/chunk-02v1btpv.js +2 -0
- package/web/chunk-02v1btpv.js.br +0 -0
- package/web/chunk-02v1btpv.js.gz +0 -0
- package/web/chunk-02xgh26g.js +1 -0
- package/web/chunk-02xgh26g.js.br +0 -0
- package/web/chunk-02xgh26g.js.gz +0 -0
- package/web/chunk-0n134mev.js +140 -0
- package/web/chunk-0n134mev.js.br +0 -0
- package/web/chunk-0n134mev.js.gz +0 -0
- package/web/chunk-14t6ms50.js +16 -0
- package/web/chunk-14t6ms50.js.br +0 -0
- package/web/chunk-14t6ms50.js.gz +0 -0
- package/web/chunk-17j1pnvx.js +1 -0
- package/web/chunk-17j1pnvx.js.br +0 -0
- package/web/chunk-17j1pnvx.js.gz +0 -0
- package/web/chunk-19qs8qhf.js +2 -0
- package/web/chunk-19qs8qhf.js.br +0 -0
- package/web/chunk-19qs8qhf.js.gz +0 -0
- package/web/chunk-1c1jdx2r.js +332 -0
- package/web/chunk-1c1jdx2r.js.br +0 -0
- package/web/chunk-1c1jdx2r.js.gz +0 -0
- package/web/chunk-1fp0r6da.js +2 -0
- package/web/chunk-1fp0r6da.js.br +0 -0
- package/web/chunk-1fp0r6da.js.gz +0 -0
- package/web/chunk-1fv6rp41.js +2 -0
- package/web/chunk-1fv6rp41.js.br +0 -0
- package/web/chunk-1fv6rp41.js.gz +0 -0
- package/web/chunk-1mkzfr1m.js +2 -0
- package/web/chunk-1mkzfr1m.js.br +0 -0
- package/web/chunk-1mkzfr1m.js.gz +0 -0
- package/web/chunk-1r8npw1h.js +1 -0
- package/web/chunk-1r8npw1h.js.br +0 -0
- package/web/chunk-1r8npw1h.js.gz +0 -0
- package/web/chunk-215gszpx.js +1 -0
- package/web/chunk-215gszpx.js.br +0 -0
- package/web/chunk-215gszpx.js.gz +0 -0
- package/web/chunk-2372y9qw.css +1 -0
- package/web/chunk-2372y9qw.css.br +0 -0
- package/web/chunk-2372y9qw.css.gz +0 -0
- package/web/chunk-24syb9ar.js +1 -0
- package/web/chunk-24syb9ar.js.br +0 -0
- package/web/chunk-24syb9ar.js.gz +0 -0
- package/web/chunk-26y868vk.js +214 -0
- package/web/chunk-26y868vk.js.br +0 -0
- package/web/chunk-26y868vk.js.gz +0 -0
- package/web/chunk-29mff7z7.js +34 -0
- package/web/chunk-29mff7z7.js.br +0 -0
- package/web/chunk-29mff7z7.js.gz +0 -0
- package/web/chunk-2vh05ags.js +2 -0
- package/web/chunk-2vh05ags.js.br +0 -0
- package/web/chunk-2vh05ags.js.gz +0 -0
- package/web/chunk-2z5tpzd0.js +2 -0
- package/web/chunk-2z5tpzd0.js.br +2 -0
- package/web/chunk-2z5tpzd0.js.gz +0 -0
- package/web/chunk-35zjz7ms.js +99 -0
- package/web/chunk-35zjz7ms.js.br +0 -0
- package/web/chunk-35zjz7ms.js.gz +0 -0
- package/web/chunk-3q8tjjp1.js +1 -0
- package/web/chunk-3q8tjjp1.js.br +2 -0
- package/web/chunk-3q8tjjp1.js.gz +0 -0
- package/web/chunk-3s4mqjna.js +4 -0
- package/web/chunk-3s4mqjna.js.br +0 -0
- package/web/chunk-3s4mqjna.js.gz +0 -0
- package/web/chunk-3srybd24.js +41 -0
- package/web/chunk-3srybd24.js.br +0 -0
- package/web/chunk-3srybd24.js.gz +0 -0
- package/web/chunk-3zsfd0hv.js +1 -0
- package/web/chunk-3zsfd0hv.js.br +0 -0
- package/web/chunk-3zsfd0hv.js.gz +0 -0
- package/web/chunk-43h0rwsj.js +1 -0
- package/web/chunk-43h0rwsj.js.br +0 -0
- package/web/chunk-43h0rwsj.js.gz +0 -0
- package/web/chunk-4gehgwdn.js +1 -0
- package/web/chunk-4gehgwdn.js.br +0 -0
- package/web/chunk-4gehgwdn.js.gz +0 -0
- package/web/chunk-4q1j0ehq.js +1 -0
- package/web/chunk-4q1j0ehq.js.br +2 -0
- package/web/chunk-4q1j0ehq.js.gz +0 -0
- package/web/chunk-4rbzcphw.js +7 -0
- package/web/chunk-4rbzcphw.js.br +0 -0
- package/web/chunk-4rbzcphw.js.gz +0 -0
- package/web/chunk-4xvh57dr.js +1 -0
- package/web/chunk-4xvh57dr.js.br +0 -0
- package/web/chunk-4xvh57dr.js.gz +0 -0
- package/web/chunk-54cy79n2.js +291 -0
- package/web/chunk-54cy79n2.js.br +0 -0
- package/web/chunk-54cy79n2.js.gz +0 -0
- package/web/chunk-5v7dyp6t.js +2 -0
- package/web/chunk-5v7dyp6t.js.br +0 -0
- package/web/chunk-5v7dyp6t.js.gz +0 -0
- package/web/chunk-5xm6c0r0.js +1 -0
- package/web/chunk-5xm6c0r0.js.br +0 -0
- package/web/chunk-5xm6c0r0.js.gz +0 -0
- package/web/chunk-67pmbk1h.js +324 -0
- package/web/chunk-67pmbk1h.js.br +0 -0
- package/web/chunk-67pmbk1h.js.gz +0 -0
- package/web/chunk-6ebp7qd7.js +169 -0
- package/web/chunk-6ebp7qd7.js.br +0 -0
- package/web/chunk-6ebp7qd7.js.gz +0 -0
- package/web/chunk-6k8me9kr.js +1 -0
- package/web/chunk-6k8me9kr.js.br +0 -0
- package/web/chunk-6k8me9kr.js.gz +0 -0
- package/web/chunk-7aqr59hm.js +1 -0
- package/web/chunk-7aqr59hm.js.br +0 -0
- package/web/chunk-7aqr59hm.js.gz +0 -0
- package/web/chunk-7qnxv6xx.js +1 -0
- package/web/chunk-7qnxv6xx.js.br +0 -0
- package/web/chunk-7qnxv6xx.js.gz +0 -0
- package/web/chunk-7yb2g5zs.js +1 -0
- package/web/chunk-7yb2g5zs.js.br +0 -0
- package/web/chunk-7yb2g5zs.js.gz +0 -0
- package/web/chunk-86f9x5fs.js +24 -0
- package/web/chunk-86f9x5fs.js.br +0 -0
- package/web/chunk-86f9x5fs.js.gz +0 -0
- package/web/chunk-8gvxttsz.js +39 -0
- package/web/chunk-8gvxttsz.js.br +0 -0
- package/web/chunk-8gvxttsz.js.gz +0 -0
- package/web/chunk-8kjx7nve.js +1 -0
- package/web/chunk-8kjx7nve.js.br +0 -0
- package/web/chunk-8kjx7nve.js.gz +0 -0
- package/web/chunk-8qda1pw3.js +2 -0
- package/web/chunk-8qda1pw3.js.br +0 -0
- package/web/chunk-8qda1pw3.js.gz +0 -0
- package/web/chunk-98zd6fb7.js +40 -0
- package/web/chunk-98zd6fb7.js.br +0 -0
- package/web/chunk-98zd6fb7.js.gz +0 -0
- package/web/chunk-9b43td2b.js +24 -0
- package/web/chunk-9b43td2b.js.br +0 -0
- package/web/chunk-9b43td2b.js.gz +0 -0
- package/web/chunk-9hkz2jgq.js +303 -0
- package/web/chunk-9hkz2jgq.js.br +0 -0
- package/web/chunk-9hkz2jgq.js.gz +0 -0
- package/web/chunk-a3qa5c8q.js +292 -0
- package/web/chunk-a3qa5c8q.js.br +0 -0
- package/web/chunk-a3qa5c8q.js.gz +0 -0
- package/web/chunk-ads3r60t.js +70 -0
- package/web/chunk-ads3r60t.js.br +0 -0
- package/web/chunk-ads3r60t.js.gz +0 -0
- package/web/chunk-ax4wvgv9.js +38 -0
- package/web/chunk-ax4wvgv9.js.br +0 -0
- package/web/chunk-ax4wvgv9.js.gz +0 -0
- package/web/chunk-b9knvs0r.js +1 -0
- package/web/chunk-b9knvs0r.js.br +0 -0
- package/web/chunk-b9knvs0r.js.gz +0 -0
- package/web/chunk-batey85v.js +2 -0
- package/web/chunk-batey85v.js.br +0 -0
- package/web/chunk-batey85v.js.gz +0 -0
- package/web/chunk-ccdww2gj.js +2 -0
- package/web/chunk-ccdww2gj.js.br +0 -0
- package/web/chunk-ccdww2gj.js.gz +0 -0
- package/web/chunk-cgbz97dr.js +2 -0
- package/web/chunk-cgbz97dr.js.br +0 -0
- package/web/chunk-cgbz97dr.js.gz +0 -0
- package/web/chunk-cjbqey5q.js +1 -0
- package/web/chunk-cjbqey5q.js.br +0 -0
- package/web/chunk-cjbqey5q.js.gz +0 -0
- package/web/chunk-cm5cmpxr.js +1 -0
- package/web/chunk-cm5cmpxr.js.br +0 -0
- package/web/chunk-cm5cmpxr.js.gz +0 -0
- package/web/chunk-cqce094e.js +55 -0
- package/web/chunk-cqce094e.js.br +0 -0
- package/web/chunk-cqce094e.js.gz +0 -0
- package/web/chunk-ct6hkz49.js +7 -0
- package/web/chunk-ct6hkz49.js.br +0 -0
- package/web/chunk-ct6hkz49.js.gz +0 -0
- package/web/chunk-d0qb5kr7.js +1 -0
- package/web/chunk-d0qb5kr7.js.br +0 -0
- package/web/chunk-d0qb5kr7.js.gz +0 -0
- package/web/chunk-d9c65yrg.js +1 -0
- package/web/chunk-d9c65yrg.js.br +0 -0
- package/web/chunk-d9c65yrg.js.gz +0 -0
- package/web/chunk-dfv95z6w.js +1 -0
- package/web/chunk-dfv95z6w.js.br +0 -0
- package/web/chunk-dfv95z6w.js.gz +0 -0
- package/web/chunk-ece0ex2b.js +2 -0
- package/web/chunk-ece0ex2b.js.br +0 -0
- package/web/chunk-ece0ex2b.js.gz +0 -0
- package/web/chunk-ejrsh0nz.js +1 -0
- package/web/chunk-ejrsh0nz.js.br +2 -0
- package/web/chunk-ejrsh0nz.js.gz +0 -0
- package/web/chunk-ekcnhcm0.js +1 -0
- package/web/chunk-ekcnhcm0.js.br +0 -0
- package/web/chunk-ekcnhcm0.js.gz +0 -0
- package/web/chunk-eq4skc30.js +1 -0
- package/web/chunk-eq4skc30.js.br +0 -0
- package/web/chunk-eq4skc30.js.gz +0 -0
- package/web/chunk-ev6xj0qs.js +1142 -0
- package/web/chunk-ev6xj0qs.js.br +0 -0
- package/web/chunk-ev6xj0qs.js.gz +0 -0
- package/web/chunk-ezx3f7hw.js +1 -0
- package/web/chunk-ezx3f7hw.js.br +0 -0
- package/web/chunk-ezx3f7hw.js.gz +0 -0
- package/web/chunk-f0kc6vf9.js +2 -0
- package/web/chunk-f0kc6vf9.js.br +0 -0
- package/web/chunk-f0kc6vf9.js.gz +0 -0
- package/web/chunk-fabemrkx.js +1 -0
- package/web/chunk-fabemrkx.js.br +0 -0
- package/web/chunk-fabemrkx.js.gz +0 -0
- package/web/chunk-faestmhg.js +89 -0
- package/web/chunk-faestmhg.js.br +0 -0
- package/web/chunk-faestmhg.js.gz +0 -0
- package/web/chunk-g5ngaf53.js +2 -0
- package/web/chunk-g5ngaf53.js.br +0 -0
- package/web/chunk-g5ngaf53.js.gz +0 -0
- package/web/chunk-gcyhcbej.js +1 -0
- package/web/chunk-gcyhcbej.js.br +2 -0
- package/web/chunk-gcyhcbej.js.gz +0 -0
- package/web/chunk-ggfwnr7a.js +1 -0
- package/web/chunk-ggfwnr7a.js.br +0 -0
- package/web/chunk-ggfwnr7a.js.gz +0 -0
- package/web/chunk-gp3356tf.js +2 -0
- package/web/chunk-gp3356tf.js.br +0 -0
- package/web/chunk-gp3356tf.js.gz +0 -0
- package/web/chunk-gw1d4wmd.js +1 -0
- package/web/chunk-gw1d4wmd.js.br +0 -0
- package/web/chunk-gw1d4wmd.js.gz +0 -0
- package/web/chunk-hmc93mm5.js +1 -0
- package/web/chunk-hmc93mm5.js.br +0 -0
- package/web/chunk-hmc93mm5.js.gz +0 -0
- package/web/chunk-hn9rxtn8.js +8 -0
- package/web/chunk-hn9rxtn8.js.br +0 -0
- package/web/chunk-hn9rxtn8.js.gz +0 -0
- package/web/chunk-hrng3h6w.js +1 -0
- package/web/chunk-hrng3h6w.js.br +2 -0
- package/web/chunk-hrng3h6w.js.gz +0 -0
- package/web/chunk-hxyxfhhs.js +1 -0
- package/web/chunk-hxyxfhhs.js.br +2 -0
- package/web/chunk-hxyxfhhs.js.gz +0 -0
- package/web/chunk-j94hffw3.js +2 -0
- package/web/chunk-j94hffw3.js.br +0 -0
- package/web/chunk-j94hffw3.js.gz +0 -0
- package/web/chunk-jrh3s3f5.js +370 -0
- package/web/chunk-jrh3s3f5.js.br +0 -0
- package/web/chunk-jrh3s3f5.js.gz +0 -0
- package/web/chunk-jw830br8.js +106 -0
- package/web/chunk-jw830br8.js.br +0 -0
- package/web/chunk-jw830br8.js.gz +0 -0
- package/web/chunk-k3whmjng.js +1 -0
- package/web/chunk-k3whmjng.js.br +0 -0
- package/web/chunk-k3whmjng.js.gz +0 -0
- package/web/chunk-kgfzf3q8.js +1 -0
- package/web/chunk-kgfzf3q8.js.br +0 -0
- package/web/chunk-kgfzf3q8.js.gz +0 -0
- package/web/chunk-kqpj6dnm.js +2 -0
- package/web/chunk-kqpj6dnm.js.br +0 -0
- package/web/chunk-kqpj6dnm.js.gz +0 -0
- package/web/chunk-kvz46sd7.js +2 -0
- package/web/chunk-kvz46sd7.js.br +0 -0
- package/web/chunk-kvz46sd7.js.gz +0 -0
- package/web/chunk-magq6xms.js +36 -0
- package/web/chunk-magq6xms.js.br +0 -0
- package/web/chunk-magq6xms.js.gz +0 -0
- package/web/chunk-mtzj1zyw.js +2 -0
- package/web/chunk-mtzj1zyw.js.br +0 -0
- package/web/chunk-mtzj1zyw.js.gz +0 -0
- package/web/chunk-my778zsk.js +1 -0
- package/web/chunk-my778zsk.js.br +0 -0
- package/web/chunk-my778zsk.js.gz +0 -0
- package/web/chunk-mzevfdmp.js +1 -0
- package/web/chunk-mzevfdmp.js.br +0 -0
- package/web/chunk-mzevfdmp.js.gz +0 -0
- package/web/chunk-n5hvbjdt.js +3 -0
- package/web/chunk-n5hvbjdt.js.br +0 -0
- package/web/chunk-n5hvbjdt.js.gz +0 -0
- package/web/chunk-n6wz1xv2.js +84 -0
- package/web/chunk-n6wz1xv2.js.br +0 -0
- package/web/chunk-n6wz1xv2.js.gz +0 -0
- package/web/chunk-nfz5qmem.js +1 -0
- package/web/chunk-nfz5qmem.js.br +0 -0
- package/web/chunk-nfz5qmem.js.gz +0 -0
- package/web/chunk-p01t2t8w.js +1 -0
- package/web/chunk-p01t2t8w.js.br +0 -0
- package/web/chunk-p01t2t8w.js.gz +0 -0
- package/web/chunk-pa0sqjjk.js +1 -0
- package/web/chunk-pa0sqjjk.js.br +0 -0
- package/web/chunk-pa0sqjjk.js.gz +0 -0
- package/web/chunk-pczbf6w0.js +200 -0
- package/web/chunk-pczbf6w0.js.br +0 -0
- package/web/chunk-pczbf6w0.js.gz +0 -0
- package/web/chunk-pss11x84.js +7 -0
- package/web/chunk-pss11x84.js.br +0 -0
- package/web/chunk-pss11x84.js.gz +0 -0
- package/web/chunk-psymen6a.js +1 -0
- package/web/chunk-psymen6a.js.br +0 -0
- package/web/chunk-psymen6a.js.gz +0 -0
- package/web/chunk-q5rd9d4z.js +1 -0
- package/web/chunk-q5rd9d4z.js.br +0 -0
- package/web/chunk-q5rd9d4z.js.gz +0 -0
- package/web/chunk-qb820yv8.js +1 -0
- package/web/chunk-qb820yv8.js.br +0 -0
- package/web/chunk-qb820yv8.js.gz +0 -0
- package/web/chunk-qcacb7rs.js +1 -0
- package/web/chunk-qcacb7rs.js.br +0 -0
- package/web/chunk-qcacb7rs.js.gz +0 -0
- package/web/chunk-qhwsegs1.js +1 -0
- package/web/chunk-qhwsegs1.js.br +0 -0
- package/web/chunk-qhwsegs1.js.gz +0 -0
- package/web/chunk-qm88s0at.js +30 -0
- package/web/chunk-qm88s0at.js.br +0 -0
- package/web/chunk-qm88s0at.js.gz +0 -0
- package/web/chunk-qpmyxj27.js +1 -0
- package/web/chunk-qpmyxj27.js.br +0 -0
- package/web/chunk-qpmyxj27.js.gz +0 -0
- package/web/chunk-qxyanf4n.js +98 -0
- package/web/chunk-qxyanf4n.js.br +0 -0
- package/web/chunk-qxyanf4n.js.gz +0 -0
- package/web/chunk-qz8yct8b.js +62 -0
- package/web/chunk-qz8yct8b.js.br +0 -0
- package/web/chunk-qz8yct8b.js.gz +0 -0
- package/web/chunk-qzeb7kj6.js +78 -0
- package/web/chunk-qzeb7kj6.js.br +0 -0
- package/web/chunk-qzeb7kj6.js.gz +0 -0
- package/web/chunk-r827h2kc.js +1 -0
- package/web/chunk-r827h2kc.js.br +2 -0
- package/web/chunk-r827h2kc.js.gz +0 -0
- package/web/chunk-r992px5p.js +4 -0
- package/web/chunk-r992px5p.js.br +0 -0
- package/web/chunk-r992px5p.js.gz +0 -0
- package/web/chunk-rvgx4jhr.js +1 -0
- package/web/chunk-rvgx4jhr.js.br +0 -0
- package/web/chunk-rvgx4jhr.js.gz +0 -0
- package/web/chunk-rxadtk6j.js +12 -0
- package/web/chunk-rxadtk6j.js.br +0 -0
- package/web/chunk-rxadtk6j.js.gz +0 -0
- package/web/chunk-sk3ssmwp.js +2 -0
- package/web/chunk-sk3ssmwp.js.br +0 -0
- package/web/chunk-sk3ssmwp.js.gz +0 -0
- package/web/chunk-snvwfzxt.js +2 -0
- package/web/chunk-snvwfzxt.js.br +0 -0
- package/web/chunk-snvwfzxt.js.gz +0 -0
- package/web/chunk-szfzt9ph.js +217 -0
- package/web/chunk-szfzt9ph.js.br +0 -0
- package/web/chunk-szfzt9ph.js.gz +0 -0
- package/web/chunk-t9hnp1zd.js +2 -0
- package/web/chunk-t9hnp1zd.js.br +3 -0
- package/web/chunk-t9hnp1zd.js.gz +0 -0
- package/web/chunk-tanv869p.js +120 -0
- package/web/chunk-tanv869p.js.br +0 -0
- package/web/chunk-tanv869p.js.gz +0 -0
- package/web/chunk-tpps3mfw.js +139 -0
- package/web/chunk-tpps3mfw.js.br +0 -0
- package/web/chunk-tpps3mfw.js.gz +0 -0
- package/web/chunk-txb5yf8n.js +1 -0
- package/web/chunk-txb5yf8n.js.br +0 -0
- package/web/chunk-txb5yf8n.js.gz +0 -0
- package/web/chunk-v3vqv74s.js +1 -0
- package/web/chunk-v3vqv74s.js.br +0 -0
- package/web/chunk-v3vqv74s.js.gz +0 -0
- package/web/chunk-v5q92q5d.js +1 -0
- package/web/chunk-v5q92q5d.js.br +0 -0
- package/web/chunk-v5q92q5d.js.gz +0 -0
- package/web/chunk-vrakntde.js +21 -0
- package/web/chunk-vrakntde.js.br +0 -0
- package/web/chunk-vrakntde.js.gz +0 -0
- package/web/chunk-we9q8a9q.js +2 -0
- package/web/chunk-we9q8a9q.js.br +0 -0
- package/web/chunk-we9q8a9q.js.gz +0 -0
- package/web/chunk-wgezeg5k.js +2 -0
- package/web/chunk-wgezeg5k.js.br +0 -0
- package/web/chunk-wgezeg5k.js.gz +0 -0
- package/web/chunk-wh028xj6.js +142 -0
- package/web/chunk-wh028xj6.js.br +0 -0
- package/web/chunk-wh028xj6.js.gz +0 -0
- package/web/chunk-whprx2wg.js +1 -0
- package/web/chunk-whprx2wg.js.br +0 -0
- package/web/chunk-whprx2wg.js.gz +0 -0
- package/web/chunk-wjv2q7b1.js +2 -0
- package/web/chunk-wjv2q7b1.js.br +0 -0
- package/web/chunk-wjv2q7b1.js.gz +0 -0
- package/web/chunk-wydnkdtp.js +89 -0
- package/web/chunk-wydnkdtp.js.br +0 -0
- package/web/chunk-wydnkdtp.js.gz +0 -0
- package/web/chunk-x0zvwdq6.js +2 -0
- package/web/chunk-x0zvwdq6.js.br +0 -0
- package/web/chunk-x0zvwdq6.js.gz +0 -0
- package/web/chunk-x9b1052x.js +2 -0
- package/web/chunk-x9b1052x.js.br +0 -0
- package/web/chunk-x9b1052x.js.gz +0 -0
- package/web/chunk-xwyvptzt.js +2 -0
- package/web/chunk-xwyvptzt.js.br +0 -0
- package/web/chunk-xwyvptzt.js.gz +0 -0
- package/web/chunk-ya7gs2bv.js +1 -0
- package/web/chunk-ya7gs2bv.js.br +0 -0
- package/web/chunk-ya7gs2bv.js.gz +0 -0
- package/web/chunk-yjan9xfw.js +2 -0
- package/web/chunk-yjan9xfw.js.br +0 -0
- package/web/chunk-yjan9xfw.js.gz +0 -0
- package/web/chunk-yqzsx086.js +2 -0
- package/web/chunk-yqzsx086.js.br +0 -0
- package/web/chunk-yqzsx086.js.gz +0 -0
- package/web/chunk-zcetrm2j.js +1 -0
- package/web/chunk-zcetrm2j.js.br +3 -0
- package/web/chunk-zcetrm2j.js.gz +0 -0
- package/web/chunk-zk1ddepw.js +1 -0
- package/web/chunk-zk1ddepw.js.br +0 -0
- package/web/chunk-zk1ddepw.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/chunk-0er07d2g.js +0 -51
- package/chunk-0ge4k9gq.js +0 -2
- package/chunk-1t0yzkg7.js +0 -4
- package/chunk-3gw871zb.js +0 -2
- package/chunk-6gzvp0f6.js +0 -50
- package/chunk-71pz02bd.js +0 -8
- package/chunk-khy3j5kp.js +0 -63
- package/chunk-vx4v71t4.js +0 -498
- package/chunk-wvn68m5f.js +0 -4058
- package/chunk-x2ry671h.js +0 -44
- package/web/chunk-01mrggts.js +0 -1
- package/web/chunk-01mrggts.js.br +0 -0
- package/web/chunk-01mrggts.js.gz +0 -0
- package/web/chunk-0b25tje3.js +0 -1
- package/web/chunk-0b25tje3.js.br +0 -0
- package/web/chunk-0b25tje3.js.gz +0 -0
- package/web/chunk-0g46ww9d.js +0 -1
- package/web/chunk-0g46ww9d.js.br +0 -0
- package/web/chunk-0g46ww9d.js.gz +0 -0
- package/web/chunk-0grg8w51.js +0 -200
- package/web/chunk-0grg8w51.js.br +0 -0
- package/web/chunk-0grg8w51.js.gz +0 -0
- package/web/chunk-0qf3m69c.js +0 -24
- package/web/chunk-0qf3m69c.js.br +0 -0
- package/web/chunk-0qf3m69c.js.gz +0 -0
- package/web/chunk-14yejkcn.js +0 -7
- package/web/chunk-14yejkcn.js.br +0 -0
- package/web/chunk-14yejkcn.js.gz +0 -0
- package/web/chunk-1ffzwm6m.js +0 -106
- package/web/chunk-1ffzwm6m.js.br +0 -0
- package/web/chunk-1ffzwm6m.js.gz +0 -0
- package/web/chunk-1ncaw3hk.js +0 -3
- package/web/chunk-1ncaw3hk.js.br +0 -0
- package/web/chunk-1ncaw3hk.js.gz +0 -0
- package/web/chunk-1pffd2va.js +0 -2
- package/web/chunk-1pffd2va.js.br +0 -0
- package/web/chunk-1pffd2va.js.gz +0 -0
- package/web/chunk-1x2kh4he.js +0 -1
- package/web/chunk-1x2kh4he.js.br +0 -0
- package/web/chunk-1x2kh4he.js.gz +0 -0
- package/web/chunk-23atmwvk.js +0 -2
- package/web/chunk-23atmwvk.js.br +0 -0
- package/web/chunk-23atmwvk.js.gz +0 -0
- package/web/chunk-2gfgrjy6.js +0 -142
- package/web/chunk-2gfgrjy6.js.br +0 -0
- package/web/chunk-2gfgrjy6.js.gz +0 -0
- package/web/chunk-2ttatv42.js +0 -2
- package/web/chunk-2ttatv42.js.br +0 -0
- package/web/chunk-2ttatv42.js.gz +0 -0
- package/web/chunk-2vqn82nw.js +0 -139
- package/web/chunk-2vqn82nw.js.br +0 -0
- package/web/chunk-2vqn82nw.js.gz +0 -0
- package/web/chunk-2wzvn2ne.js +0 -1
- package/web/chunk-2wzvn2ne.js.br +0 -0
- package/web/chunk-2wzvn2ne.js.gz +0 -0
- package/web/chunk-3at8qbcv.js +0 -89
- package/web/chunk-3at8qbcv.js.br +0 -0
- package/web/chunk-3at8qbcv.js.gz +0 -0
- package/web/chunk-3b97pd97.js +0 -120
- package/web/chunk-3b97pd97.js.br +0 -0
- package/web/chunk-3b97pd97.js.gz +0 -0
- package/web/chunk-3q5j14ah.js +0 -1
- package/web/chunk-3q5j14ah.js.br +0 -0
- package/web/chunk-3q5j14ah.js.gz +0 -0
- package/web/chunk-45xqp3dn.js +0 -1
- package/web/chunk-45xqp3dn.js.br +0 -0
- package/web/chunk-45xqp3dn.js.gz +0 -0
- package/web/chunk-4fdgpye3.js +0 -2
- package/web/chunk-4fdgpye3.js.br +0 -0
- package/web/chunk-4fdgpye3.js.gz +0 -0
- package/web/chunk-4wpvkw6b.js +0 -1141
- package/web/chunk-4wpvkw6b.js.br +0 -0
- package/web/chunk-4wpvkw6b.js.gz +0 -0
- package/web/chunk-51m79xhr.js +0 -2
- package/web/chunk-51m79xhr.js.br +0 -2
- package/web/chunk-51m79xhr.js.gz +0 -0
- package/web/chunk-5c6q7asc.js +0 -1
- package/web/chunk-5c6q7asc.js.br +0 -0
- package/web/chunk-5c6q7asc.js.gz +0 -0
- package/web/chunk-5vbnqhs0.js +0 -38
- package/web/chunk-5vbnqhs0.js.br +0 -0
- package/web/chunk-5vbnqhs0.js.gz +0 -0
- package/web/chunk-688a15p4.js +0 -2
- package/web/chunk-688a15p4.js.br +0 -0
- package/web/chunk-688a15p4.js.gz +0 -0
- package/web/chunk-6f9btq4p.js +0 -1
- package/web/chunk-6f9btq4p.js.br +0 -0
- package/web/chunk-6f9btq4p.js.gz +0 -0
- package/web/chunk-6geede02.js +0 -217
- package/web/chunk-6geede02.js.br +0 -0
- package/web/chunk-6geede02.js.gz +0 -0
- package/web/chunk-6j37ynfq.js +0 -1
- package/web/chunk-6j37ynfq.js.br +0 -0
- package/web/chunk-6j37ynfq.js.gz +0 -0
- package/web/chunk-7j7btfha.js +0 -292
- package/web/chunk-7j7btfha.js.br +0 -0
- package/web/chunk-7j7btfha.js.gz +0 -0
- package/web/chunk-8299qcyc.js +0 -1
- package/web/chunk-8299qcyc.js.br +0 -0
- package/web/chunk-8299qcyc.js.gz +0 -0
- package/web/chunk-8mncz9c6.js +0 -89
- package/web/chunk-8mncz9c6.js.br +0 -0
- package/web/chunk-8mncz9c6.js.gz +0 -0
- package/web/chunk-8pygn7wf.js +0 -1
- package/web/chunk-8pygn7wf.js.br +0 -0
- package/web/chunk-8pygn7wf.js.gz +0 -0
- package/web/chunk-8ye62j8m.js +0 -2
- package/web/chunk-8ye62j8m.js.br +0 -3
- package/web/chunk-8ye62j8m.js.gz +0 -0
- package/web/chunk-982457hh.js +0 -1
- package/web/chunk-982457hh.js.br +0 -2
- package/web/chunk-982457hh.js.gz +0 -0
- package/web/chunk-9f9pp12b.js +0 -1
- package/web/chunk-9f9pp12b.js.br +0 -0
- package/web/chunk-9f9pp12b.js.gz +0 -0
- package/web/chunk-9j7v0e4v.js +0 -2
- package/web/chunk-9j7v0e4v.js.br +0 -0
- package/web/chunk-9j7v0e4v.js.gz +0 -0
- package/web/chunk-9k6d95ab.js +0 -1
- package/web/chunk-9k6d95ab.js.br +0 -0
- package/web/chunk-9k6d95ab.js.gz +0 -0
- package/web/chunk-9z4tf6fd.js +0 -1
- package/web/chunk-9z4tf6fd.js.br +0 -0
- package/web/chunk-9z4tf6fd.js.gz +0 -0
- package/web/chunk-a11ev6ff.js +0 -1
- package/web/chunk-a11ev6ff.js.br +0 -0
- package/web/chunk-a11ev6ff.js.gz +0 -0
- package/web/chunk-ayamka39.js +0 -1
- package/web/chunk-ayamka39.js.br +0 -0
- package/web/chunk-ayamka39.js.gz +0 -0
- package/web/chunk-b6k80wbw.js +0 -1
- package/web/chunk-b6k80wbw.js.br +0 -0
- package/web/chunk-b6k80wbw.js.gz +0 -0
- package/web/chunk-b6w2gmw0.js +0 -2
- package/web/chunk-b6w2gmw0.js.br +0 -0
- package/web/chunk-b6w2gmw0.js.gz +0 -0
- package/web/chunk-ba22js10.js +0 -84
- package/web/chunk-ba22js10.js.br +0 -0
- package/web/chunk-ba22js10.js.gz +0 -0
- package/web/chunk-bq7y294e.js +0 -34
- package/web/chunk-bq7y294e.js.br +0 -0
- package/web/chunk-bq7y294e.js.gz +0 -0
- package/web/chunk-bw9crrb4.js +0 -1
- package/web/chunk-bw9crrb4.js.br +0 -0
- package/web/chunk-bw9crrb4.js.gz +0 -0
- package/web/chunk-c0vc50pd.js +0 -4
- package/web/chunk-c0vc50pd.js.br +0 -0
- package/web/chunk-c0vc50pd.js.gz +0 -0
- package/web/chunk-c2vtzhbs.js +0 -1
- package/web/chunk-c2vtzhbs.js.br +0 -0
- package/web/chunk-c2vtzhbs.js.gz +0 -0
- package/web/chunk-cf9886tj.js +0 -2
- package/web/chunk-cf9886tj.js.br +0 -0
- package/web/chunk-cf9886tj.js.gz +0 -0
- package/web/chunk-cqf4fzk6.js +0 -16
- package/web/chunk-cqf4fzk6.js.br +0 -0
- package/web/chunk-cqf4fzk6.js.gz +0 -0
- package/web/chunk-ct9sq4ka.js +0 -1
- package/web/chunk-ct9sq4ka.js.br +0 -0
- package/web/chunk-ct9sq4ka.js.gz +0 -0
- package/web/chunk-cy60hc6q.js +0 -2
- package/web/chunk-cy60hc6q.js.br +0 -0
- package/web/chunk-cy60hc6q.js.gz +0 -0
- package/web/chunk-cygtgz2r.js +0 -2
- package/web/chunk-cygtgz2r.js.br +0 -0
- package/web/chunk-cygtgz2r.js.gz +0 -0
- package/web/chunk-dgf0f0er.js +0 -214
- package/web/chunk-dgf0f0er.js.br +0 -0
- package/web/chunk-dgf0f0er.js.gz +0 -0
- package/web/chunk-dscn4mpq.js +0 -4
- package/web/chunk-dscn4mpq.js.br +0 -0
- package/web/chunk-dscn4mpq.js.gz +0 -0
- package/web/chunk-e7683p83.js +0 -1
- package/web/chunk-e7683p83.js.br +0 -0
- package/web/chunk-e7683p83.js.gz +0 -0
- package/web/chunk-eanfvatc.js +0 -1
- package/web/chunk-eanfvatc.js.br +0 -0
- package/web/chunk-eanfvatc.js.gz +0 -0
- package/web/chunk-egfn5522.js +0 -1
- package/web/chunk-egfn5522.js.br +0 -3
- package/web/chunk-egfn5522.js.gz +0 -0
- package/web/chunk-ejk5ec5n.js +0 -1
- package/web/chunk-ejk5ec5n.js.br +0 -0
- package/web/chunk-ejk5ec5n.js.gz +0 -0
- package/web/chunk-fzffxer1.js +0 -41
- package/web/chunk-fzffxer1.js.br +0 -0
- package/web/chunk-fzffxer1.js.gz +0 -0
- package/web/chunk-g19dt2gr.js +0 -55
- package/web/chunk-g19dt2gr.js.br +0 -0
- package/web/chunk-g19dt2gr.js.gz +0 -0
- package/web/chunk-g6cj4czr.js +0 -2
- package/web/chunk-g6cj4czr.js.br +0 -0
- package/web/chunk-g6cj4czr.js.gz +0 -0
- package/web/chunk-gbv8v3z7.js +0 -78
- package/web/chunk-gbv8v3z7.js.br +0 -0
- package/web/chunk-gbv8v3z7.js.gz +0 -0
- package/web/chunk-h1w081tm.js +0 -12
- package/web/chunk-h1w081tm.js.br +0 -0
- package/web/chunk-h1w081tm.js.gz +0 -0
- package/web/chunk-h47k4j7f.js +0 -1
- package/web/chunk-h47k4j7f.js.br +0 -0
- package/web/chunk-h47k4j7f.js.gz +0 -0
- package/web/chunk-h87t8gsr.js +0 -1
- package/web/chunk-h87t8gsr.js.br +0 -0
- package/web/chunk-h87t8gsr.js.gz +0 -0
- package/web/chunk-haewrbm7.js +0 -1
- package/web/chunk-haewrbm7.js.br +0 -0
- package/web/chunk-haewrbm7.js.gz +0 -0
- package/web/chunk-hahz28y7.js +0 -2
- package/web/chunk-hahz28y7.js.br +0 -0
- package/web/chunk-hahz28y7.js.gz +0 -0
- package/web/chunk-hqz75fkz.js +0 -1
- package/web/chunk-hqz75fkz.js.br +0 -0
- package/web/chunk-hqz75fkz.js.gz +0 -0
- package/web/chunk-hr4fa514.js +0 -2
- package/web/chunk-hr4fa514.js.br +0 -0
- package/web/chunk-hr4fa514.js.gz +0 -0
- package/web/chunk-j7vtqbbc.js +0 -1
- package/web/chunk-j7vtqbbc.js.br +0 -0
- package/web/chunk-j7vtqbbc.js.gz +0 -0
- package/web/chunk-jt33d37t.js +0 -1
- package/web/chunk-jt33d37t.js.br +0 -0
- package/web/chunk-jt33d37t.js.gz +0 -0
- package/web/chunk-k3qt0rx5.js +0 -2
- package/web/chunk-k3qt0rx5.js.br +0 -0
- package/web/chunk-k3qt0rx5.js.gz +0 -0
- package/web/chunk-kgmw7sh4.js +0 -1
- package/web/chunk-kgmw7sh4.js.br +0 -0
- package/web/chunk-kgmw7sh4.js.gz +0 -0
- package/web/chunk-kjvk8prw.js +0 -1
- package/web/chunk-kjvk8prw.js.br +0 -0
- package/web/chunk-kjvk8prw.js.gz +0 -0
- package/web/chunk-kq7snx3t.js +0 -1
- package/web/chunk-kq7snx3t.js.br +0 -0
- package/web/chunk-kq7snx3t.js.gz +0 -0
- package/web/chunk-kvteqhz2.js +0 -1
- package/web/chunk-kvteqhz2.js.br +0 -2
- package/web/chunk-kvteqhz2.js.gz +0 -0
- package/web/chunk-kypct03a.js +0 -169
- package/web/chunk-kypct03a.js.br +0 -0
- package/web/chunk-kypct03a.js.gz +0 -0
- package/web/chunk-m4hz4v80.js +0 -370
- package/web/chunk-m4hz4v80.js.br +0 -0
- package/web/chunk-m4hz4v80.js.gz +0 -0
- package/web/chunk-m5k8jhya.js +0 -40
- package/web/chunk-m5k8jhya.js.br +0 -0
- package/web/chunk-m5k8jhya.js.gz +0 -0
- package/web/chunk-mfsdyw6v.js +0 -2
- package/web/chunk-mfsdyw6v.js.br +0 -0
- package/web/chunk-mfsdyw6v.js.gz +0 -0
- package/web/chunk-mr38k717.js +0 -140
- package/web/chunk-mr38k717.js.br +0 -0
- package/web/chunk-mr38k717.js.gz +0 -0
- package/web/chunk-mtcet6gc.js +0 -2
- package/web/chunk-mtcet6gc.js.br +0 -0
- package/web/chunk-mtcet6gc.js.gz +0 -0
- package/web/chunk-mtfv8gjh.js +0 -291
- package/web/chunk-mtfv8gjh.js.br +0 -0
- package/web/chunk-mtfv8gjh.js.gz +0 -0
- package/web/chunk-nnyjx4ef.js +0 -1
- package/web/chunk-nnyjx4ef.js.br +0 -0
- package/web/chunk-nnyjx4ef.js.gz +0 -0
- package/web/chunk-npn3fk69.js +0 -1
- package/web/chunk-npn3fk69.js.br +0 -2
- package/web/chunk-npn3fk69.js.gz +0 -0
- package/web/chunk-p2gdfpjs.js +0 -2
- package/web/chunk-p2gdfpjs.js.br +0 -0
- package/web/chunk-p2gdfpjs.js.gz +0 -0
- package/web/chunk-q0by2m1w.js +0 -21
- package/web/chunk-q0by2m1w.js.br +0 -0
- package/web/chunk-q0by2m1w.js.gz +0 -0
- package/web/chunk-q5hj3y5k.js +0 -2
- package/web/chunk-q5hj3y5k.js.br +0 -0
- package/web/chunk-q5hj3y5k.js.gz +0 -0
- package/web/chunk-q6k872kv.js +0 -7
- package/web/chunk-q6k872kv.js.br +0 -0
- package/web/chunk-q6k872kv.js.gz +0 -0
- package/web/chunk-q7krdwy7.js +0 -332
- package/web/chunk-q7krdwy7.js.br +0 -0
- package/web/chunk-q7krdwy7.js.gz +0 -0
- package/web/chunk-q7wbksg4.js +0 -1
- package/web/chunk-q7wbksg4.js.br +0 -0
- package/web/chunk-q7wbksg4.js.gz +0 -0
- package/web/chunk-qdxa0c4c.js +0 -1
- package/web/chunk-qdxa0c4c.js.br +0 -0
- package/web/chunk-qdxa0c4c.js.gz +0 -0
- package/web/chunk-r9m8jh7x.js +0 -2
- package/web/chunk-r9m8jh7x.js.br +0 -0
- package/web/chunk-r9m8jh7x.js.gz +0 -0
- package/web/chunk-rnhbck1h.js +0 -99
- package/web/chunk-rnhbck1h.js.br +0 -0
- package/web/chunk-rnhbck1h.js.gz +0 -0
- package/web/chunk-rxtzde6n.js +0 -62
- package/web/chunk-rxtzde6n.js.br +0 -0
- package/web/chunk-rxtzde6n.js.gz +0 -0
- package/web/chunk-ryds6qnb.js +0 -2
- package/web/chunk-ryds6qnb.js.br +0 -0
- package/web/chunk-ryds6qnb.js.gz +0 -0
- package/web/chunk-shc8bv2k.js +0 -2
- package/web/chunk-shc8bv2k.js.br +0 -0
- package/web/chunk-shc8bv2k.js.gz +0 -0
- package/web/chunk-stnwzrqv.js +0 -98
- package/web/chunk-stnwzrqv.js.br +0 -0
- package/web/chunk-stnwzrqv.js.gz +0 -0
- package/web/chunk-sy28z9pe.js +0 -2
- package/web/chunk-sy28z9pe.js.br +0 -2
- package/web/chunk-sy28z9pe.js.gz +0 -0
- package/web/chunk-t60hp0qs.js +0 -36
- package/web/chunk-t60hp0qs.js.br +0 -0
- package/web/chunk-t60hp0qs.js.gz +0 -0
- package/web/chunk-t9twwgfe.js +0 -1
- package/web/chunk-t9twwgfe.js.br +0 -0
- package/web/chunk-t9twwgfe.js.gz +0 -0
- package/web/chunk-tbgavq0t.js +0 -2
- package/web/chunk-tbgavq0t.js.br +0 -0
- package/web/chunk-tbgavq0t.js.gz +0 -0
- package/web/chunk-tjma3e4d.js +0 -7
- package/web/chunk-tjma3e4d.js.br +0 -0
- package/web/chunk-tjma3e4d.js.gz +0 -0
- package/web/chunk-tv9rz73h.js +0 -30
- package/web/chunk-tv9rz73h.js.br +0 -0
- package/web/chunk-tv9rz73h.js.gz +0 -0
- package/web/chunk-twgzayjk.js +0 -1
- package/web/chunk-twgzayjk.js.br +0 -0
- package/web/chunk-twgzayjk.js.gz +0 -0
- package/web/chunk-tz4w2nh2.js +0 -303
- package/web/chunk-tz4w2nh2.js.br +0 -0
- package/web/chunk-tz4w2nh2.js.gz +0 -0
- package/web/chunk-v0egh6d3.js +0 -1
- package/web/chunk-v0egh6d3.js.br +0 -0
- package/web/chunk-v0egh6d3.js.gz +0 -0
- package/web/chunk-vcawg8d2.js +0 -1
- package/web/chunk-vcawg8d2.js.br +0 -0
- package/web/chunk-vcawg8d2.js.gz +0 -0
- package/web/chunk-vh8s2rek.js +0 -1
- package/web/chunk-vh8s2rek.js.br +0 -2
- package/web/chunk-vh8s2rek.js.gz +0 -0
- package/web/chunk-vns6bpqm.js +0 -2
- package/web/chunk-vns6bpqm.js.br +0 -0
- package/web/chunk-vns6bpqm.js.gz +0 -0
- package/web/chunk-vvbte0a5.css +0 -1
- package/web/chunk-vvbte0a5.css.br +0 -0
- package/web/chunk-vvbte0a5.css.gz +0 -0
- package/web/chunk-vxzw2t1r.js +0 -1
- package/web/chunk-vxzw2t1r.js.br +0 -0
- package/web/chunk-vxzw2t1r.js.gz +0 -0
- package/web/chunk-w40atygt.js +0 -2
- package/web/chunk-w40atygt.js.br +0 -0
- package/web/chunk-w40atygt.js.gz +0 -0
- package/web/chunk-w4bxgcwm.js +0 -1
- package/web/chunk-w4bxgcwm.js.br +0 -0
- package/web/chunk-w4bxgcwm.js.gz +0 -0
- package/web/chunk-w5t00pns.js +0 -70
- package/web/chunk-w5t00pns.js.br +0 -0
- package/web/chunk-w5t00pns.js.gz +0 -0
- package/web/chunk-wpmzdqba.js +0 -324
- package/web/chunk-wpmzdqba.js.br +0 -0
- package/web/chunk-wpmzdqba.js.gz +0 -0
- package/web/chunk-x9mexzav.js +0 -2
- package/web/chunk-x9mexzav.js.br +0 -0
- package/web/chunk-x9mexzav.js.gz +0 -0
- package/web/chunk-xc74f1nj.js +0 -1
- package/web/chunk-xc74f1nj.js.br +0 -0
- package/web/chunk-xc74f1nj.js.gz +0 -0
- package/web/chunk-xk8637wb.js +0 -1
- package/web/chunk-xk8637wb.js.br +0 -0
- package/web/chunk-xk8637wb.js.gz +0 -0
- package/web/chunk-xs4cyb71.js +0 -1
- package/web/chunk-xs4cyb71.js.br +0 -0
- package/web/chunk-xs4cyb71.js.gz +0 -0
- package/web/chunk-xthg4efe.js +0 -1
- package/web/chunk-xthg4efe.js.br +0 -0
- package/web/chunk-xthg4efe.js.gz +0 -0
- package/web/chunk-y48mj5d7.js +0 -1
- package/web/chunk-y48mj5d7.js.br +0 -0
- package/web/chunk-y48mj5d7.js.gz +0 -0
- package/web/chunk-yet0bbyh.js +0 -1
- package/web/chunk-yet0bbyh.js.br +0 -0
- package/web/chunk-yet0bbyh.js.gz +0 -0
- package/web/chunk-yzcxmqy3.js +0 -1
- package/web/chunk-yzcxmqy3.js.br +0 -0
- package/web/chunk-yzcxmqy3.js.gz +0 -0
- package/web/chunk-z2a9zwwx.js +0 -24
- package/web/chunk-z2a9zwwx.js.br +0 -0
- package/web/chunk-z2a9zwwx.js.gz +0 -0
- package/web/chunk-z8fgdsx5.js +0 -1
- package/web/chunk-z8fgdsx5.js.br +0 -0
- package/web/chunk-z8fgdsx5.js.gz +0 -0
- package/web/chunk-zeyw59b9.js +0 -2
- package/web/chunk-zeyw59b9.js.br +0 -0
- package/web/chunk-zeyw59b9.js.gz +0 -0
- package/web/chunk-zftk5ww7.js +0 -8
- package/web/chunk-zftk5ww7.js.br +0 -0
- package/web/chunk-zftk5ww7.js.gz +0 -0
- package/web/chunk-zmbp3phd.js +0 -2
- package/web/chunk-zmbp3phd.js.br +0 -0
- package/web/chunk-zmbp3phd.js.gz +0 -0
- package/web/chunk-zpxh70dj.js +0 -1
- package/web/chunk-zpxh70dj.js.br +0 -0
- package/web/chunk-zpxh70dj.js.gz +0 -0
- package/web/chunk-zqhdf12s.js +0 -39
- package/web/chunk-zqhdf12s.js.br +0 -0
- package/web/chunk-zqhdf12s.js.gz +0 -0
- package/web/chunk-zr2xst5w.js +0 -1
- package/web/chunk-zr2xst5w.js.br +0 -0
- package/web/chunk-zr2xst5w.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import{Mr}from"./chunk-ccdww2gj.js";import{t,i,Ae,A,q,Ys,Fe,Ya,Xa,C,W,N,M,P,R,I,O,D,d,xr,g,Xt,Kt,ma,Js,Mt,H}from"./chunk-9hkz2jgq.js";import{vr,Ti,to,no,Gt,ro}from"./chunk-j94hffw3.js";import{et}from"./chunk-ev6xj0qs.js";var be=et(ma(),1),_e=function(){var r=t(function(At,F,Q,G){for(Q=Q||{},G=At.length;G--;Q[At[G]]=F);return Q},"o"),e=[1,2],s=[1,3],a=[1,4],o=[2,4],h=[1,9],n=[1,11],c=[1,12],f=[1,14],E=[1,15],_=[1,17],x=[1,18],b=[1,19],v=[1,25],y=[1,26],k=[1,27],p=[1,28],w=[1,29],L=[1,30],Y=[1,31],K=[1,32],B=[1,33],z=[1,34],U=[1,35],Z=[1,36],tt=[1,37],at=[1,38],ct=[1,39],ht=[1,40],ut=[1,42],ft=[1,43],lt=[1,44],xt=[1,45],_t=[1,46],rt=[1,47],J=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Tt=[1,56],Qt=[1,75],V=[1,81],X=[1,82],Rt=[1,83],gt=[1,84],st=[1,85],Yt=[1,86],ye=[1,87],Re=[1,88],Oe=[1,89],Le=[1,90],me=[1,91],Se=[1,92],ke=[1,93],Ne=[1,94],we=[1,95],Pe=[1,96],De=[1,97],ve=[1,98],Ce=[1,99],Me=[1,100],Be=[1,101],Ye=[1,102],Ve=[1,103],We=[1,104],Ke=[1,105],He=[1,106],qe=[2,79],ze=[2,78],Ft=[4,5,17,51,53,54],Jt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ue=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Ge=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],le=[5,52],it=[62,70,71,72,73],Xe=[62,73],bt=[1,152],he={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:t(function(F,Q,G,m,nt,l,qt){var u=l.length-1;switch(nt){case 3:return m.apply(l[u]),l[u];break;case 4:case 10:this.$=[];break;case 5:case 11:l[u-1].push(l[u]),this.$=l[u-1];break;case 6:case 7:case 12:case 13:this.$=l[u];break;case 8:case 9:case 14:this.$=[];break;case 16:l[u].type="createParticipant",this.$=l[u];break;case 17:l[u-1].unshift({type:"boxStart",boxData:m.parseBoxData(l[u-2])}),l[u-1].push({type:"boxEnd",boxText:l[u-2]}),this.$=l[u-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-2]),sequenceIndexStep:Number(l[u-1]),sequenceVisible:!0,signalType:m.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:m.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:m.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:m.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:m.LINETYPE.ACTIVE_START,actor:l[u-1].actor};break;case 24:this.$={type:"activeEnd",signalType:m.LINETYPE.ACTIVE_END,actor:l[u-1].actor};break;case 30:m.setDiagramTitle(l[u].substring(6)),this.$=l[u].substring(6);break;case 31:m.setDiagramTitle(l[u].substring(7)),this.$=l[u].substring(7);break;case 32:this.$=l[u].trim(),m.setAccTitle(this.$);break;case 33:case 34:this.$=l[u].trim(),m.setAccDescription(this.$);break;case 35:l[u-1].unshift({type:"loopStart",loopText:m.parseMessage(l[u-2]),signalType:m.LINETYPE.LOOP_START}),l[u-1].push({type:"loopEnd",loopText:l[u-2],signalType:m.LINETYPE.LOOP_END}),this.$=l[u-1];break;case 36:l[u-1].unshift({type:"rectStart",color:m.parseMessage(l[u-2]),signalType:m.LINETYPE.RECT_START}),l[u-1].push({type:"rectEnd",color:m.parseMessage(l[u-2]),signalType:m.LINETYPE.RECT_END}),this.$=l[u-1];break;case 37:l[u-1].unshift({type:"optStart",optText:m.parseMessage(l[u-2]),signalType:m.LINETYPE.OPT_START}),l[u-1].push({type:"optEnd",optText:m.parseMessage(l[u-2]),signalType:m.LINETYPE.OPT_END}),this.$=l[u-1];break;case 38:l[u-1].unshift({type:"altStart",altText:m.parseMessage(l[u-2]),signalType:m.LINETYPE.ALT_START}),l[u-1].push({type:"altEnd",signalType:m.LINETYPE.ALT_END}),this.$=l[u-1];break;case 39:l[u-1].unshift({type:"parStart",parText:m.parseMessage(l[u-2]),signalType:m.LINETYPE.PAR_START}),l[u-1].push({type:"parEnd",signalType:m.LINETYPE.PAR_END}),this.$=l[u-1];break;case 40:l[u-1].unshift({type:"parStart",parText:m.parseMessage(l[u-2]),signalType:m.LINETYPE.PAR_OVER_START}),l[u-1].push({type:"parEnd",signalType:m.LINETYPE.PAR_END}),this.$=l[u-1];break;case 41:l[u-1].unshift({type:"criticalStart",criticalText:m.parseMessage(l[u-2]),signalType:m.LINETYPE.CRITICAL_START}),l[u-1].push({type:"criticalEnd",signalType:m.LINETYPE.CRITICAL_END}),this.$=l[u-1];break;case 42:l[u-1].unshift({type:"breakStart",breakText:m.parseMessage(l[u-2]),signalType:m.LINETYPE.BREAK_START}),l[u-1].push({type:"breakEnd",optText:m.parseMessage(l[u-2]),signalType:m.LINETYPE.BREAK_END}),this.$=l[u-1];break;case 44:this.$=l[u-3].concat([{type:"option",optionText:m.parseMessage(l[u-1]),signalType:m.LINETYPE.CRITICAL_OPTION},l[u]]);break;case 46:this.$=l[u-3].concat([{type:"and",parText:m.parseMessage(l[u-1]),signalType:m.LINETYPE.PAR_AND},l[u]]);break;case 48:this.$=l[u-3].concat([{type:"else",altText:m.parseMessage(l[u-1]),signalType:m.LINETYPE.ALT_ELSE},l[u]]);break;case 49:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=m.parseMessage(l[u-1]),this.$=l[u-3];break;case 50:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 51:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=m.parseMessage(l[u-1]),this.$=l[u-3];break;case 52:case 57:l[u-1].draw="actor",l[u-1].type="addParticipant",this.$=l[u-1];break;case 53:l[u-1].type="destroyParticipant",this.$=l[u-1];break;case 54:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=m.parseMessage(l[u-1]),this.$=l[u-3];break;case 55:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 56:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=m.parseMessage(l[u-1]),this.$=l[u-3];break;case 58:this.$=[l[u-1],{type:"addNote",placement:l[u-2],actor:l[u-1].actor,text:l[u]}];break;case 59:l[u-2]=[].concat(l[u-1],l[u-1]).slice(0,2),l[u-2][0]=l[u-2][0].actor,l[u-2][1]=l[u-2][1].actor,this.$=[l[u-1],{type:"addNote",placement:m.PLACEMENT.OVER,actor:l[u-2].slice(0,2),text:l[u]}];break;case 60:this.$=[l[u-1],{type:"addLinks",actor:l[u-1].actor,text:l[u]}];break;case 61:this.$=[l[u-1],{type:"addALink",actor:l[u-1].actor,text:l[u]}];break;case 62:this.$=[l[u-1],{type:"addProperties",actor:l[u-1].actor,text:l[u]}];break;case 63:this.$=[l[u-1],{type:"addDetails",actor:l[u-1].actor,text:l[u]}];break;case 66:this.$=[l[u-2],l[u]];break;case 67:this.$=l[u];break;case 68:this.$=m.PLACEMENT.LEFTOF;break;case 69:this.$=m.PLACEMENT.RIGHTOF;break;case 70:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0},{type:"activeStart",signalType:m.LINETYPE.ACTIVE_START,actor:l[u-1].actor}];break;case 71:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u]},{type:"activeEnd",signalType:m.LINETYPE.ACTIVE_END,actor:l[u-4].actor}];break;case 72:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0,centralConnection:m.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:m.LINETYPE.CENTRAL_CONNECTION,actor:l[u-1].actor}];break;case 73:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u],activate:!1,centralConnection:m.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:m.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:l[u-4].actor}];break;case 74:this.$=[l[u-5],l[u-1],{type:"addMessage",from:l[u-5].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0,centralConnection:m.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:m.LINETYPE.CENTRAL_CONNECTION,actor:l[u-1].actor},{type:"centralConnectionReverse",signalType:m.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:l[u-5].actor}];break;case 75:this.$=[l[u-3],l[u-1],{type:"addMessage",from:l[u-3].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u]}];break;case 76:this.$={type:"addParticipant",actor:l[u-1],config:l[u]};break;case 77:this.$=l[u-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:l[u]};break;case 80:this.$=m.LINETYPE.SOLID_OPEN;break;case 81:this.$=m.LINETYPE.DOTTED_OPEN;break;case 82:this.$=m.LINETYPE.SOLID;break;case 83:this.$=m.LINETYPE.SOLID_TOP;break;case 84:this.$=m.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=m.LINETYPE.STICK_TOP;break;case 86:this.$=m.LINETYPE.STICK_BOTTOM;break;case 87:this.$=m.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=m.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=m.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=m.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=m.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=m.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=m.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=m.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=m.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=m.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=m.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=m.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=m.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=m.LINETYPE.DOTTED;break;case 101:this.$=m.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=m.LINETYPE.SOLID_CROSS;break;case 103:this.$=m.LINETYPE.DOTTED_CROSS;break;case 104:this.$=m.LINETYPE.SOLID_POINT;break;case 105:this.$=m.LINETYPE.DOTTED_POINT;break;case 106:this.$=m.parseMessage(l[u].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:s,6:a},{1:[3]},{3:5,4:e,5:s,6:a},{3:6,4:e,5:s,6:a},r([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],o,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:h,5:n,8:8,9:10,10:c,13:13,14:f,15:E,18:16,19:_,22:x,23:41,24:b,25:20,26:21,27:22,28:23,29:24,30:v,31:y,32:k,34:p,36:w,37:L,38:Y,39:K,40:B,42:z,44:U,45:Z,47:tt,51:at,53:ct,54:ht,56:ut,61:ft,62:lt,63:xt,64:_t,73:rt},r(J,[2,5]),{9:48,13:13,14:f,15:E,18:16,19:_,22:x,23:41,24:b,25:20,26:21,27:22,28:23,29:24,30:v,31:y,32:k,34:p,36:w,37:L,38:Y,39:K,40:B,42:z,44:U,45:Z,47:tt,51:at,53:ct,54:ht,56:ut,61:ft,62:lt,63:xt,64:_t,73:rt},r(J,[2,7]),r(J,[2,8]),r(J,[2,9]),r(J,[2,15]),{13:49,51:at,53:ct,54:ht},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Tt,73:rt},{23:57,62:Tt,73:rt},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},r(J,[2,30]),r(J,[2,31]),{33:[1,63]},{35:[1,64]},r(J,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Tt,73:Qt},{23:76,55:77,62:Tt,73:Qt},{23:78,62:Tt,73:rt},{69:79,72:[1,80],78:V,79:X,80:Rt,81:gt,82:st,83:Yt,84:ye,85:Re,86:Oe,87:Le,88:me,89:Se,90:ke,91:Ne,92:we,93:Pe,94:De,95:ve,96:Ce,97:Me,98:Be,99:Ye,100:Ve,101:We,102:Ke,103:He},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Tt,73:rt},r([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],qe,{23:112,62:Tt,73:rt}),{23:113,62:Tt,73:rt},{23:114,62:Tt,73:rt},r([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ze),r(J,[2,6]),r(J,[2,16]),r(Ft,[2,10],{11:115}),r(J,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},r(J,[2,22]),{5:[1,119]},r([5,52,66,104],qe),{5:[1,120]},r(J,[2,25]),r(J,[2,26]),r(J,[2,27]),r(J,[2,28]),r(J,[2,29]),r(J,[2,32]),r(J,[2,33]),r(Jt,o,{7:121}),r(Jt,o,{7:122}),r(Jt,o,{7:123}),r(Ue,o,{41:124,7:125}),r(ce,o,{43:126,7:127}),r(ce,o,{7:127,43:128}),r(Ge,o,{46:129,7:130}),r(Jt,o,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},r(le,ze,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Tt,70:[1,143],71:[1,144],72:[1,145],73:rt},{69:147,78:V,79:X,80:Rt,81:gt,82:st,83:Yt,84:ye,85:Re,86:Oe,87:Le,88:me,89:Se,90:ke,91:Ne,92:we,93:Pe,94:De,95:ve,96:Ce,97:Me,98:Be,99:Ye,100:Ve,101:We,102:Ke,103:He},r(it,[2,80]),r(it,[2,81]),r(it,[2,82]),r(it,[2,83]),r(it,[2,84]),r(it,[2,85]),r(it,[2,86]),r(it,[2,87]),r(it,[2,88]),r(it,[2,89]),r(it,[2,90]),r(it,[2,91]),r(it,[2,92]),r(it,[2,93]),r(it,[2,94]),r(it,[2,95]),r(it,[2,96]),r(it,[2,97]),r(it,[2,98]),r(it,[2,99]),r(it,[2,100]),r(it,[2,101]),r(it,[2,102]),r(it,[2,103]),r(it,[2,104]),r(it,[2,105]),{23:148,62:Tt,73:rt},{23:150,60:149,62:Tt,73:rt},r(Xe,[2,68]),r(Xe,[2,69]),{58:151,104:bt},{58:153,104:bt},{58:154,104:bt},{58:155,104:bt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:at,53:ct,54:ht},{5:[1,161]},r(J,[2,20]),r(J,[2,21]),r(J,[2,23]),r(J,[2,24]),{4:h,5:n,8:8,9:10,10:c,13:13,14:f,15:E,17:[1,162],18:16,19:_,22:x,23:41,24:b,25:20,26:21,27:22,28:23,29:24,30:v,31:y,32:k,34:p,36:w,37:L,38:Y,39:K,40:B,42:z,44:U,45:Z,47:tt,51:at,53:ct,54:ht,56:ut,61:ft,62:lt,63:xt,64:_t,73:rt},{4:h,5:n,8:8,9:10,10:c,13:13,14:f,15:E,17:[1,163],18:16,19:_,22:x,23:41,24:b,25:20,26:21,27:22,28:23,29:24,30:v,31:y,32:k,34:p,36:w,37:L,38:Y,39:K,40:B,42:z,44:U,45:Z,47:tt,51:at,53:ct,54:ht,56:ut,61:ft,62:lt,63:xt,64:_t,73:rt},{4:h,5:n,8:8,9:10,10:c,13:13,14:f,15:E,17:[1,164],18:16,19:_,22:x,23:41,24:b,25:20,26:21,27:22,28:23,29:24,30:v,31:y,32:k,34:p,36:w,37:L,38:Y,39:K,40:B,42:z,44:U,45:Z,47:tt,51:at,53:ct,54:ht,56:ut,61:ft,62:lt,63:xt,64:_t,73:rt},{17:[1,165]},{4:h,5:n,8:8,9:10,10:c,13:13,14:f,15:E,17:[2,47],18:16,19:_,22:x,23:41,24:b,25:20,26:21,27:22,28:23,29:24,30:v,31:y,32:k,34:p,36:w,37:L,38:Y,39:K,40:B,42:z,44:U,45:Z,47:tt,50:[1,166],51:at,53:ct,54:ht,56:ut,61:ft,62:lt,63:xt,64:_t,73:rt},{17:[1,167]},{4:h,5:n,8:8,9:10,10:c,13:13,14:f,15:E,17:[2,45],18:16,19:_,22:x,23:41,24:b,25:20,26:21,27:22,28:23,29:24,30:v,31:y,32:k,34:p,36:w,37:L,38:Y,39:K,40:B,42:z,44:U,45:Z,47:tt,49:[1,168],51:at,53:ct,54:ht,56:ut,61:ft,62:lt,63:xt,64:_t,73:rt},{17:[1,169]},{17:[1,170]},{4:h,5:n,8:8,9:10,10:c,13:13,14:f,15:E,17:[2,43],18:16,19:_,22:x,23:41,24:b,25:20,26:21,27:22,28:23,29:24,30:v,31:y,32:k,34:p,36:w,37:L,38:Y,39:K,40:B,42:z,44:U,45:Z,47:tt,48:[1,171],51:at,53:ct,54:ht,56:ut,61:ft,62:lt,63:xt,64:_t,73:rt},{4:h,5:n,8:8,9:10,10:c,13:13,14:f,15:E,17:[1,172],18:16,19:_,22:x,23:41,24:b,25:20,26:21,27:22,28:23,29:24,30:v,31:y,32:k,34:p,36:w,37:L,38:Y,39:K,40:B,42:z,44:U,45:Z,47:tt,51:at,53:ct,54:ht,56:ut,61:ft,62:lt,63:xt,64:_t,73:rt},{16:[1,173]},r(J,[2,50]),{16:[1,174]},r(J,[2,55]),r(le,[2,76]),{76:[1,175]},{16:[1,176]},r(J,[2,52]),{16:[1,177]},r(J,[2,57]),r(J,[2,53]),{23:178,62:Tt,73:rt},{23:179,62:Tt,73:rt},{23:180,62:Tt,73:rt},{58:181,104:bt},{23:182,62:Tt,72:[1,183],73:rt},{58:184,104:bt},{58:185,104:bt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},r(J,[2,17]),r(Ft,[2,11]),{13:187,51:at,53:ct,54:ht},r(Ft,[2,13]),r(Ft,[2,14]),r(J,[2,19]),r(J,[2,35]),r(J,[2,36]),r(J,[2,37]),r(J,[2,38]),{16:[1,188]},r(J,[2,39]),{16:[1,189]},r(J,[2,40]),r(J,[2,41]),{16:[1,190]},r(J,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:bt},{58:197,104:bt},{58:198,104:bt},{5:[2,75]},{58:199,104:bt},{23:200,62:Tt,73:rt},{5:[2,58]},{5:[2,59]},{23:201,62:Tt,73:rt},r(Ft,[2,12]),r(Ue,o,{7:125,41:202}),r(ce,o,{7:127,43:203}),r(Ge,o,{7:130,46:204}),r(J,[2,49]),r(J,[2,54]),r(le,[2,77]),r(J,[2,51]),r(J,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:bt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:t(function(F,Q){if(Q.recoverable)this.trace(F);else{var G=Error(F);throw G.hash=Q,G}},"parseError"),parse:t(function(F){var Q=this,G=[0],m=[],nt=[null],l=[],qt=this.table,u="",$t=0,Qe=0,Je=0,_r=2,Ze=1,gr=l.slice.call(arguments,1),pt=Object.create(this.lexer),Pt={yy:{}};for(var de in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,de))Pt.yy[de]=this.yy[de];if(pt.setInput(F,Pt.yy),Pt.yy.lexer=pt,Pt.yy.parser=this,typeof pt.yylloc>"u")pt.yylloc={};var Te=pt.yylloc;l.push(Te);var br=pt.options&&pt.options.ranges;if(typeof Pt.yy.parseError==="function")this.parseError=Pt.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function Ir(yt){G.length=G.length-2*yt,nt.length=nt.length-yt,l.length=l.length-yt}t(Ir,"popStack");function $e(){var yt=m.pop()||pt.lex()||Ze;if(typeof yt!=="number"){if(yt instanceof Array)m=yt,yt=m.pop();yt=Q.symbols_[yt]||yt}return yt}t($e,"lex");var Et,pe,Dt,It,ya,Ee,Vt={},jt,Lt,je,te;while(!0){if(Dt=G[G.length-1],this.defaultActions[Dt])It=this.defaultActions[Dt];else{if(Et===null||typeof Et>"u")Et=$e();It=qt[Dt]&&qt[Dt][Et]}if(typeof It>"u"||!It.length||!It[0]){var ue="";te=[];for(jt in qt[Dt])if(this.terminals_[jt]&&jt>_r)te.push("'"+this.terminals_[jt]+"'");if(pt.showPosition)ue="Parse error on line "+($t+1)+`:
|
|
2
|
+
`+pt.showPosition()+`
|
|
3
|
+
Expecting `+te.join(", ")+", got '"+(this.terminals_[Et]||Et)+"'";else ue="Parse error on line "+($t+1)+": Unexpected "+(Et==Ze?"end of input":"'"+(this.terminals_[Et]||Et)+"'");this.parseError(ue,{text:pt.match,token:this.terminals_[Et]||Et,line:pt.yylineno,loc:Te,expected:te})}if(It[0]instanceof Array&&It.length>1)throw Error("Parse Error: multiple actions possible at state: "+Dt+", token: "+Et);switch(It[0]){case 1:if(G.push(Et),nt.push(pt.yytext),l.push(pt.yylloc),G.push(It[1]),Et=null,!pe){if(Qe=pt.yyleng,u=pt.yytext,$t=pt.yylineno,Te=pt.yylloc,Je>0)Je--}else Et=pe,pe=null;break;case 2:if(Lt=this.productions_[It[1]][1],Vt.$=nt[nt.length-Lt],Vt._$={first_line:l[l.length-(Lt||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(Lt||1)].first_column,last_column:l[l.length-1].last_column},br)Vt._$.range=[l[l.length-(Lt||1)].range[0],l[l.length-1].range[1]];if(Ee=this.performAction.apply(Vt,[u,Qe,$t,Pt.yy,It[1],nt,l].concat(gr)),typeof Ee<"u")return Ee;if(Lt)G=G.slice(0,-1*Lt*2),nt=nt.slice(0,-1*Lt),l=l.slice(0,-1*Lt);G.push(this.productions_[It[1]][0]),nt.push(Vt.$),l.push(Vt._$),je=qt[G[G.length-2]][G[G.length-1]],G.push(je);break;case 3:return!0}}return!0},"parse")},fr=function(){var At={EOF:1,parseError:t(function(Q,G){if(this.yy.parser)this.yy.parser.parseError(Q,G);else throw Error(Q)},"parseError"),setInput:t(function(F,Q){if(this.yy=Q||this.yy||{},this._input=F,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 F=this._input[0];this.yytext+=F,this.yyleng++,this.offset++,this.match+=F,this.matched+=F;var Q=F.match(/(?:\r\n?|\n).*/g);if(Q)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),F},"input"),unput:t(function(F){var Q=F.length,G=F.split(/(?:\r\n?|\n)/g);this._input=F+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-Q),this.offset-=Q;var m=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),G.length-1)this.yylineno-=G.length-1;var nt=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:G?(G.length===m.length?this.yylloc.first_column:0)+m[m.length-G.length].length-G[0].length:this.yylloc.first_column-Q},this.options.ranges)this.yylloc.range=[nt[0],nt[0]+this.yyleng-Q];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(F){this.unput(this.match.slice(F))},"less"),pastInput:t(function(){var F=this.matched.substr(0,this.matched.length-this.match.length);return(F.length>20?"...":"")+F.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var F=this.match;if(F.length<20)F+=this._input.substr(0,20-F.length);return(F.substr(0,20)+(F.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var F=this.pastInput(),Q=Array(F.length+1).join("-");return F+this.upcomingInput()+`
|
|
5
|
+
`+Q+"^"},"showPosition"),test_match:t(function(F,Q){var G,m,nt;if(this.options.backtrack_lexer){if(nt={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)nt.yylloc.range=this.yylloc.range.slice(0)}if(m=F[0].match(/(?:\r\n?|\n).*/g),m)this.yylineno+=m.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+F[0].length},this.yytext+=F[0],this.match+=F[0],this.matches=F,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(F[0].length),this.matched+=F[0],G=this.performAction.call(this,this.yy,this,Q,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(G)return G;else if(this._backtrack){for(var l in nt)this[l]=nt[l];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var F,Q,G,m;if(!this._more)this.yytext="",this.match="";var nt=this._currentRules();for(var l=0;l<nt.length;l++)if(G=this._input.match(this.rules[nt[l]]),G&&(!Q||G[0].length>Q[0].length)){if(Q=G,m=l,this.options.backtrack_lexer)if(F=this.test_match(G,nt[l]),F!==!1)return F;else if(this._backtrack){Q=!1;continue}else return!1;else if(!this.options.flex)break}if(Q){if(F=this.test_match(Q,nt[m]),F!==!1)return F;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 Q=this.next();if(Q)return Q;else return this.lex()},"lex"),begin:t(function(Q){this.conditionStack.push(Q)},"begin"),popState:t(function(){var Q=this.conditionStack.length-1;if(Q>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(Q){if(Q=this.conditionStack.length-1-Math.abs(Q||0),Q>=0)return this.conditionStack[Q];else return"INITIAL"},"topState"),pushState:t(function(Q){this.begin(Q)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(Q,G,m,nt){var l=nt;switch(m){case 0:return 5;case 1:break;case 2:break;case 3:break;case 4:break;case 5:break;case 6:return 20;case 7:return this.begin("CONFIG"),75;break;case 8:return 76;case 9:return this.popState(),this.begin("ALIAS"),77;break;case 10:return this.popState(),this.popState(),77;break;case 11:return G.yytext=G.yytext.trim(),73;break;case 12:return G.yytext=G.yytext.trim(),this.begin("ALIAS"),73;break;case 13:return G.yytext=G.yytext.trim(),this.popState(),73;break;case 14:return this.popState(),10;break;case 15:return G.yytext=G.yytext.trim(),this.popState(),10;break;case 16:return this.begin("LINE"),15;break;case 17:return this.begin("ID"),51;break;case 18:return this.begin("ID"),53;break;case 19:return 14;case 20:return this.begin("ID"),54;break;case 21:return this.popState(),this.popState(),this.begin("LINE"),52;break;case 22:return this.popState(),this.popState(),5;break;case 23:return this.begin("LINE"),37;break;case 24:return this.begin("LINE"),38;break;case 25:return this.begin("LINE"),39;break;case 26:return this.begin("LINE"),40;break;case 27:return this.begin("LINE"),50;break;case 28:return this.begin("LINE"),42;break;case 29:return this.begin("LINE"),44;break;case 30:return this.begin("LINE"),49;break;case 31:return this.begin("LINE"),45;break;case 32:return this.begin("LINE"),48;break;case 33:return this.begin("LINE"),47;break;case 34:return this.popState(),16;break;case 35:return 17;case 36:return 67;case 37:return 68;case 38:return 61;case 39:return 62;case 40:return 63;case 41:return 64;case 42:return 59;case 43:return 56;case 44:return this.begin("ID"),22;break;case 45:return this.begin("ID"),24;break;case 46:return 30;case 47:return 31;case 48:return this.begin("acc_title"),32;break;case 49:return this.popState(),"acc_title_value";break;case 50:return this.begin("acc_descr"),34;break;case 51:return this.popState(),"acc_descr_value";break;case 52:this.begin("acc_descr_multiline");break;case 53:this.popState();break;case 54:return"acc_descr_multiline_value";case 55:return 6;case 56:return 19;case 57:return 21;case 58:return 66;case 59:return 5;case 60:return G.yytext=G.yytext.trim(),73;break;case 61:return 80;case 62:return 97;case 63:return 98;case 64:return 99;case 65:return 78;case 66:return 79;case 67:return 100;case 68:return 101;case 69:return 102;case 70:return 103;case 71:return 85;case 72:return 86;case 73:return 87;case 74:return 88;case 75:return 93;case 76:return 94;case 77:return 95;case 78:return 96;case 79:return 81;case 80:return 82;case 81:return 83;case 82:return 84;case 83:return 89;case 84:return 90;case 85:return 91;case 86:return 92;case 87:return 104;case 88:return 104;case 89:return 70;case 90:return 71;case 91:return 72;case 92:return 5;case 93:return 10}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:([0-9]+(\.[0-9]{1,2})?|\.[0-9]{1,2})(?=[ \n]+))/i,/^(?:@\{)/i,/^(?:[^\}]+)/i,/^(?:\}(?=\s+as\s))/i,/^(?:\})/i,/^(?:[^<>:\n,;@\s]+(?=\s*@\{))/i,/^(?:[^<>:\n,;@\s]+(?=\s+as\s))/i,/^(?:[^<>:\n,;@]+(?=\s*[\n;#]|$))/i,/^(?:[^<>:\n,;@]*<[^\n]*)/i,/^(?:[^\n]+)/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links(?=[ \t]+[^\/\\\+\(\)<>:\n,;\s\-]))/i,/^(?:link(?=[ \t]+[^\/\\\+\(\)<>:\n,;\s\-]))/i,/^(?:properties(?=[ \t]+[^\/\\\+\(\)<>:\n,;\s\-]))/i,/^(?:details(?=[ \t]+[^\/\\\+\(\)<>:\n,;\s\-]))/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\/\\\+\()\+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)|-\|\\|-\\|-\/|-\/\/|-\|\/|\/\|-|\\\|-|\/\/-|\\\\-|\/\|-|--\|\\|--|\(\)))[\-]*[^\+<\->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?:--\|\\)/i,/^(?:--\|\/)/i,/^(?:--\\\\)/i,/^(?:--\/\/)/i,/^(?:\/\|--)/i,/^(?:\\\|--)/i,/^(?:\/\/--)/i,/^(?:\\\\--)/i,/^(?:-\|\\)/i,/^(?:-\|\/)/i,/^(?:-\\\\)/i,/^(?:-\/\/)/i,/^(?:\/\|-)/i,/^(?:\\\|-)/i,/^(?:\/\/-)/i,/^(?:\\\\-)/i,/^(?::(?:(?:no)?wrap)?[^#\n;]*)/i,/^(?::)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:\(\))/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[53,54],inclusive:!1},acc_descr:{rules:[51],inclusive:!1},acc_title:{rules:[49],inclusive:!1},ID:{rules:[2,3,7,11,12,13,14,15],inclusive:!1},ALIAS:{rules:[2,3,21,22],inclusive:!1},LINE:{rules:[2,3,34],inclusive:!1},CONFIG:{rules:[8,9,10],inclusive:!1},CONFIG_DATA:{rules:[],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,16,17,18,19,20,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,52,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],inclusive:!0}}};return At}();he.lexer=fr;function Zt(){this.yy={}}return t(Zt,"Parser"),Zt.prototype=he,he.Parser=Zt,new Zt}();_e.parser=_e;var yr=_e,Rr={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34,SOLID_TOP:41,SOLID_BOTTOM:42,STICK_TOP:43,STICK_BOTTOM:44,SOLID_ARROW_TOP_REVERSE:45,SOLID_ARROW_BOTTOM_REVERSE:46,STICK_ARROW_TOP_REVERSE:47,STICK_ARROW_BOTTOM_REVERSE:48,SOLID_TOP_DOTTED:51,SOLID_BOTTOM_DOTTED:52,STICK_TOP_DOTTED:53,STICK_BOTTOM_DOTTED:54,SOLID_ARROW_TOP_REVERSE_DOTTED:55,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:56,STICK_ARROW_TOP_REVERSE_DOTTED:57,STICK_ARROW_BOTTOM_REVERSE_DOTTED:58,CENTRAL_CONNECTION:59,CENTRAL_CONNECTION_REVERSE:60,CENTRAL_CONNECTION_DUAL:61},Or={FILLED:0,OPEN:1},Lr={LEFTOF:0,RIGHTOF:1,OVER:2},ee={ACTOR:"actor",BOUNDARY:"boundary",COLLECTIONS:"collections",CONTROL:"control",DATABASE:"database",ENTITY:"entity",PARTICIPANT:"participant",QUEUE:"queue"},mr=class{constructor(){this.state=new Mr(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),this.setAccTitle=M,this.setAccDescription=R,this.setDiagramTitle=O,this.getAccTitle=P,this.getAccDescription=I,this.getDiagramTitle=D,this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap(d().wrap),this.LINETYPE=Rr,this.ARROWTYPE=Or,this.PLACEMENT=Lr}static{t(this,"SequenceDB")}addBox(r){this.state.records.boxes.push({name:r.text,wrap:r.wrap??this.autoWrap(),fill:r.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(r,e,s,a,o){let h=this.state.records.currentBox,n;if(o!==void 0){let f;if(!o.includes(`
|
|
7
|
+
`))f=`{
|
|
8
|
+
`+o+`
|
|
9
|
+
}`;else f=o+`
|
|
10
|
+
`;n=Kt(f,{schema:Xt})}if(a=n?.type??a,n?.alias&&(!s||s.text===e))s={text:n.alias,wrap:s?.wrap,type:a};let c=this.state.records.actors.get(r);if(c){if(this.state.records.currentBox&&c.box&&this.state.records.currentBox!==c.box)throw Error(`A same participant should only be defined in one Box: ${c.name} can't be in '${c.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(h=c.box?c.box:this.state.records.currentBox,c.box=h,c&&e===c.name&&s==null)return}if(s?.text==null)s={text:e,type:a};if(a==null||s.text==null)s={text:e,type:a};if(this.state.records.actors.set(r,{box:h,name:e,description:s.text,wrap:s.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:a??"participant"}),this.state.records.prevActor){let f=this.state.records.actors.get(this.state.records.prevActor);if(f)f.nextActor=r}if(this.state.records.currentBox)this.state.records.currentBox.actorKeys.push(r);this.state.records.prevActor=r}activationCount(r){let e,s=0;if(!r)return 0;for(e=0;e<this.state.records.messages.length;e++){if(this.state.records.messages[e].type===this.LINETYPE.ACTIVE_START&&this.state.records.messages[e].from===r)s++;if(this.state.records.messages[e].type===this.LINETYPE.ACTIVE_END&&this.state.records.messages[e].from===r)s--}return s}addMessage(r,e,s,a){this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:r,to:e,message:s.text,wrap:s.wrap??this.autoWrap(),answer:a})}addSignal(r,e,s,a,o=!1,h){if(a===this.LINETYPE.ACTIVE_END){if(this.activationCount(r??"")<1){let c=Error("Trying to inactivate an inactive participant ("+r+")");throw c.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},c}}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:r,to:e,message:s?.text??"",wrap:s?.wrap??this.autoWrap(),type:a,activate:o,centralConnection:h??0}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some((r)=>r.name)}getMessages(){return this.state.records.messages}getBoxes(){return this.state.records.boxes}getActors(){return this.state.records.actors}getCreatedActors(){return this.state.records.createdActors}getDestroyedActors(){return this.state.records.destroyedActors}getActor(r){return this.state.records.actors.get(r)}getActorKeys(){return[...this.state.records.actors.keys()]}enableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!0}disableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!1}showSequenceNumbers(){return this.state.records.sequenceNumbersEnabled}setWrap(r){this.state.records.wrapEnabled=r}extractWrap(r){if(r===void 0)return{};r=r.trim();let e=/^:?wrap:/.exec(r)!==null?!0:/^:?nowrap:/.exec(r)!==null?!1:void 0;return{cleanedText:(e===void 0?r:r.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:e}}autoWrap(){if(this.state.records.wrapEnabled!==void 0)return this.state.records.wrapEnabled;return d().sequence?.wrap??!1}clear(){this.state.reset(),N()}parseMessage(r){let e=r.trim(),{wrap:s,cleanedText:a}=this.extractWrap(e),o={text:a,wrap:s};return i.debug(`parseMessage: ${JSON.stringify(o)}`),o}parseBoxData(r){let e=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(r),s=e?.[1]?e[1].trim():"transparent",a=e?.[2]?e[2].trim():void 0;if(window?.CSS){if(!window.CSS.supports("color",s))s="transparent",a=r.trim()}else{let n=new Option().style;if(n.color=s,n.color!==s)s="transparent",a=r.trim()}let{wrap:o,cleanedText:h}=this.extractWrap(a);return{text:h?q(h,d()):void 0,color:s,wrap:o}}addNote(r,e,s){let a={actor:r,placement:e,message:s.text,wrap:s.wrap??this.autoWrap()},o=[].concat(r,r);this.state.records.notes.push(a),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:o[0],to:o[1],message:s.text,wrap:s.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:e})}addLinks(r,e){let s=this.getActor(r);try{let a=q(e.text,d());a=a.replace(/=/g,"="),a=a.replace(/&/g,"&");let o=JSON.parse(a);this.insertLinks(s,o)}catch(a){i.error("error while parsing actor link text",a)}}addALink(r,e){let s=this.getActor(r);try{let a={},o=q(e.text,d()),h=o.indexOf("@");o=o.replace(/=/g,"="),o=o.replace(/&/g,"&");let n=o.slice(0,h-1).trim(),c=o.slice(h+1).trim();a[n]=c,this.insertLinks(s,a)}catch(a){i.error("error while parsing actor link text",a)}}insertLinks(r,e){if(r.links==null)r.links=e;else for(let s in e)r.links[s]=e[s]}addProperties(r,e){let s=this.getActor(r);try{let a=q(e.text,d()),o=JSON.parse(a);this.insertProperties(s,o)}catch(a){i.error("error while parsing actor properties text",a)}}insertProperties(r,e){if(r.properties==null)r.properties=e;else for(let s in e)r.properties[s]=e[s]}boxEnd(){this.state.records.currentBox=void 0}addDetails(r,e){let s=this.getActor(r),a=document.getElementById(e.text);try{let o=a.innerHTML,h=JSON.parse(o);if(h.properties)this.insertProperties(s,h.properties);if(h.links)this.insertLinks(s,h.links)}catch(o){i.error("error while parsing actor details text",o)}}getActorProperty(r,e){if(r?.properties!==void 0)return r.properties[e];return}apply(r){if(Array.isArray(r))r.forEach((e)=>{this.apply(e)});else switch(r.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:r.sequenceIndex,step:r.sequenceIndexStep,visible:r.sequenceVisible},wrap:!1,type:r.signalType});break;case"addParticipant":this.addActor(r.actor,r.actor,r.description,r.draw,r.config);break;case"createParticipant":if(this.state.records.actors.has(r.actor))throw Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");this.state.records.lastCreated=r.actor,this.addActor(r.actor,r.actor,r.description,r.draw,r.config),this.state.records.createdActors.set(r.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=r.actor,this.state.records.destroyedActors.set(r.actor,this.state.records.messages.length);break;case"activeStart":this.addSignal(r.actor,void 0,void 0,r.signalType);break;case"centralConnection":this.addSignal(r.actor,void 0,void 0,r.signalType);break;case"centralConnectionReverse":this.addSignal(r.actor,void 0,void 0,r.signalType);break;case"activeEnd":this.addSignal(r.actor,void 0,void 0,r.signalType);break;case"addNote":this.addNote(r.actor,r.placement,r.text);break;case"addLinks":this.addLinks(r.actor,r.text);break;case"addALink":this.addALink(r.actor,r.text);break;case"addProperties":this.addProperties(r.actor,r.text);break;case"addDetails":this.addDetails(r.actor,r.text);break;case"addMessage":if(this.state.records.lastCreated)if(r.to!==this.state.records.lastCreated)throw Error("The created participant "+this.state.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");else this.state.records.lastCreated=void 0;else if(this.state.records.lastDestroyed)if(r.to!==this.state.records.lastDestroyed&&r.from!==this.state.records.lastDestroyed)throw Error("The destroyed participant "+this.state.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");else this.state.records.lastDestroyed=void 0;this.addSignal(r.from,r.to,r.msg,r.signalType,r.activate,r.centralConnection);break;case"boxStart":this.addBox(r.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,r.loopText,r.signalType);break;case"loopEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"rectStart":this.addSignal(void 0,void 0,r.color,r.signalType);break;case"rectEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"optStart":this.addSignal(void 0,void 0,r.optText,r.signalType);break;case"optEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"altStart":this.addSignal(void 0,void 0,r.altText,r.signalType);break;case"else":this.addSignal(void 0,void 0,r.altText,r.signalType);break;case"altEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"setAccTitle":M(r.text);break;case"parStart":this.addSignal(void 0,void 0,r.parText,r.signalType);break;case"and":this.addSignal(void 0,void 0,r.parText,r.signalType);break;case"parEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,r.criticalText,r.signalType);break;case"option":this.addSignal(void 0,void 0,r.optionText,r.signalType);break;case"criticalEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break;case"breakStart":this.addSignal(void 0,void 0,r.breakText,r.signalType);break;case"breakEnd":this.addSignal(void 0,void 0,void 0,r.signalType);break}}getConfig(){return d().sequence}},Sr=t((r)=>{let e=r.dropShadow??"none",{look:s}=d();return`.actor {
|
|
11
|
+
stroke: ${r.actorBorder};
|
|
12
|
+
fill: ${r.actorBkg};
|
|
13
|
+
stroke-width: ${r.strokeWidth??1};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
rect.actor.outer-path[data-look="neo"] {
|
|
17
|
+
filter: ${e};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
rect.note[data-look="neo"] {
|
|
21
|
+
stroke:${r.noteBorderColor};
|
|
22
|
+
fill:${r.noteBkgColor};
|
|
23
|
+
filter: ${e};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
text.actor > tspan {
|
|
27
|
+
fill: ${r.actorTextColor};
|
|
28
|
+
stroke: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.actor-line {
|
|
32
|
+
stroke: ${r.actorLineColor};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.innerArc {
|
|
36
|
+
stroke-width: 1.5;
|
|
37
|
+
stroke-dasharray: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.messageLine0 {
|
|
41
|
+
stroke-width: 1.5;
|
|
42
|
+
stroke-dasharray: none;
|
|
43
|
+
stroke: ${r.signalColor};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.messageLine1 {
|
|
47
|
+
stroke-width: 1.5;
|
|
48
|
+
stroke-dasharray: 2, 2;
|
|
49
|
+
stroke: ${r.signalColor};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
[id$="-arrowhead"] path {
|
|
53
|
+
fill: ${r.signalColor};
|
|
54
|
+
stroke: ${r.signalColor};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.sequenceNumber {
|
|
58
|
+
fill: ${r.sequenceNumberColor};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[id$="-sequencenumber"] {
|
|
62
|
+
fill: ${r.signalColor};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
[id$="-crosshead"] path {
|
|
66
|
+
fill: ${r.signalColor};
|
|
67
|
+
stroke: ${r.signalColor};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.messageText {
|
|
71
|
+
fill: ${r.signalTextColor};
|
|
72
|
+
stroke: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.labelBox {
|
|
76
|
+
stroke: ${r.labelBoxBorderColor};
|
|
77
|
+
fill: ${r.labelBoxBkgColor};
|
|
78
|
+
filter: ${s==="neo"?e:"none"};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.labelText, .labelText > tspan {
|
|
82
|
+
fill: ${r.labelTextColor};
|
|
83
|
+
stroke: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.loopText, .loopText > tspan {
|
|
87
|
+
fill: ${r.loopTextColor};
|
|
88
|
+
stroke: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.sectionTitle, .sectionTitle > tspan {
|
|
92
|
+
fill: ${r.loopTextColor};
|
|
93
|
+
stroke: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.loopLine {
|
|
97
|
+
stroke-width: 2px;
|
|
98
|
+
stroke-dasharray: 2, 2;
|
|
99
|
+
stroke: ${r.labelBoxBorderColor};
|
|
100
|
+
fill: ${r.labelBoxBorderColor};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.note {
|
|
104
|
+
//stroke: #decc93;
|
|
105
|
+
stroke: ${r.noteBorderColor};
|
|
106
|
+
fill: ${r.noteBkgColor};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
* No font-weight here, deliberately. Note text renders inside tspan elements, and a weight emitted at
|
|
111
|
+
* tspan level outranks the inline style drawText puts on the parent text element from the
|
|
112
|
+
* sequence.noteFontWeight config key -- so that documented key would never reach the glyphs.
|
|
113
|
+
* The theme variable formerly emitted here is a different value from that config key, and
|
|
114
|
+
* git/styles.js reads it as its own bold-label weight under redux and neo, so it cannot be
|
|
115
|
+
* lowered there either.
|
|
116
|
+
*/
|
|
117
|
+
.noteText, .noteText > tspan {
|
|
118
|
+
fill: ${r.noteTextColor};
|
|
119
|
+
stroke: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.activation0 {
|
|
123
|
+
fill: ${r.activationBkgColor};
|
|
124
|
+
stroke: ${r.activationBorderColor};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.activation1 {
|
|
128
|
+
fill: ${r.activationBkgColor};
|
|
129
|
+
stroke: ${r.activationBorderColor};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.activation2 {
|
|
133
|
+
fill: ${r.activationBkgColor};
|
|
134
|
+
stroke: ${r.activationBorderColor};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.actorPopupMenu {
|
|
138
|
+
position: absolute;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.actorPopupMenuPanel {
|
|
142
|
+
position: absolute;
|
|
143
|
+
fill: ${r.actorBkg};
|
|
144
|
+
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
|
145
|
+
filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
|
|
146
|
+
}
|
|
147
|
+
.actor-man circle, line {
|
|
148
|
+
fill: ${r.actorBkg};
|
|
149
|
+
stroke-width: 2px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
g rect.rect {
|
|
153
|
+
filter: ${e};
|
|
154
|
+
stroke: ${r.nodeBorder};
|
|
155
|
+
}
|
|
156
|
+
`},"getStyles"),Ar=Sr,se=44,Ie=6,re=6,kr=t((r,e)=>r.actorTextHeight??H.calculateTextDimensions(r.description??"",{fontFamily:e.actorFontFamily,fontSize:e.actorFontSize,fontWeight:e.actorFontWeight}).height,"actorLabelHeight"),ar=t((r)=>se+Ie+r+re,"actorStackHeight"),Nr=t((r,e,s)=>{let a=r+e,o=a-re-s/2;return{lifelineStartY:a,glyphBottomY:a-re-s-Ie,labelCenterY:o}},"headerBands"),wr=t((r,e)=>{let s=r+re,a=s+se;return{glyphTopY:s,glyphBottomY:a,labelCenterY:a+Ie+e/2,stackHeight:ar(e)}},"footerBands"),vt=36,Pr=-5,sr=60,tr=sr-Pr,Ut=t((r,e,s,a)=>{if(e.look!=="neo")return null;let o=kr(r,e);return s?wr(a,o):Nr(a,r.height,o)},"neoBands"),kt="actor-top",Nt="actor-bottom",ie="actor-box",Ct="actor-man",mt=new Set(["redux-color","redux-dark-color"]),dt=t((r,e)=>r?.length?r[e%r.length]:void 0,"paletteColor"),zt=t(function(r,e){let s=vr(r,e);if(A().look==="neo")s.attr("data-look","neo");return s},"drawRect"),Dr=t(function(r,e,s,a,o){if(e.links===void 0||e.links===null||Object.keys(e.links).length===0)return{height:0,width:0};let{links:h,actorCnt:n,rectData:c}=e;var f="none";if(o)f="block !important";let E=r.append("g");E.attr("id","actor"+n+"_popup"),E.attr("class","actorPopupMenu"),E.attr("display",f);var _="";if(c.class!==void 0)_=" "+c.class;let x=c.width>s?c.width:s,b=E.append("rect");if(b.attr("class","actorPopupMenuPanel"+_),b.attr("x",c.x),b.attr("y",c.height),b.attr("fill",c.fill),b.attr("stroke",c.stroke),b.attr("width",x),b.attr("height",c.height),b.attr("rx",c.rx),b.attr("ry",c.ry),h!=null){var v=20;for(let p in h){var y=E.append("a"),k=be.sanitizeUrl(h[p]);y.attr("xlink:href",k),y.attr("target","_blank"),sa(a)(p,y,c.x+10,c.height+v,x,20,{class:"actor"},a),v+=30}}return b.attr("height",v),{height:c.height+v,width:x}},"drawPopup"),ne=t(function(r){return"var pu = document.getElementById('"+r+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),ae=t(async function(r,e,s=null){let a=r.append("foreignObject"),o=await Xa(e.text,A()),n=a.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(o).node().getBoundingClientRect();if(a.attr("height",Math.round(n.height)).attr("width",Math.round(n.width)),e.class==="noteText"){let c=r.node().firstChild;c.setAttribute("height",n.height+2*e.textMargin);let f=c.getBBox();a.attr("x",Math.round(f.x+f.width/2-n.width/2)).attr("y",Math.round(f.y+f.height/2-n.height/2))}else if(s){let{startx:c,stopx:f,starty:E}=s;if(c>f){let _=c;c=f,f=_}if(a.attr("x",Math.round(c+Math.abs(c-f)/2-n.width/2)),e.class==="loopText")a.attr("y",Math.round(E));else a.attr("y",Math.round(E-n.height))}return[a]},"drawKatex"),Ht=t(function(r,e){let s=0,a=0,o=e.text.split(C.lineBreakRegex),[h,n]=Mt(e.fontSize),c=[],f=0,E=t(()=>e.y,"yfunc");if(e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0)switch(e.valign){case"top":case"start":E=t(()=>Math.round(e.y+e.textMargin),"yfunc");break;case"middle":case"center":E=t(()=>Math.round(e.y+(s+a+e.textMargin)/2),"yfunc");break;case"bottom":case"end":E=t(()=>Math.round(e.y+(s+a+2*e.textMargin)-e.textMargin),"yfunc");break}if(e.anchor!==void 0&&e.textMargin!==void 0&&e.width!==void 0)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle";break}for(let[_,x]of o.entries()){if(e.textMargin!==void 0&&e.textMargin===0&&h!==void 0)f=_*h;let b=r.append("text");if(b.attr("x",e.x),b.attr("y",E()),e.anchor!==void 0)b.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline);if(e.fontFamily!==void 0)b.style("font-family",e.fontFamily);if(n!==void 0)b.style("font-size",n);if(e.fontWeight!==void 0)b.style("font-weight",e.fontWeight);if(e.fill!==void 0)b.attr("fill",e.fill);if(e.class!==void 0)b.attr("class",e.class);if(e.dy!==void 0)b.attr("dy",e.dy);else if(f!==0)b.attr("dy",f);let v=x||Js;if(e.tspan){let y=b.append("tspan");if(y.attr("x",e.x),e.fill!==void 0)y.attr("fill",e.fill);y.text(v)}else b.text(v);if(e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0)a+=(b._groups||b)[0][0].getBBox().height,s=a;c.push(b)}return c},"drawText"),ir=t(function(r,e){function s(o,h,n,c,f){return o+","+h+" "+(o+n)+","+h+" "+(o+n)+","+(h+c-f)+" "+(o+n-f*1.2)+","+(h+c)+" "+o+","+(h+c)}t(s,"genPoints");let a=r.append("polygon");return a.attr("points",s(e.x,e.y,e.width,e.height,7)),a.attr("class","labelBox"),e.y=e.y+e.height/2,Ht(r,e),a},"drawLabel"),j=-1,nr=t((r,e,s,a)=>{if(!r.select)return;s.forEach((o)=>{let h=e.get(o),n=r.select("#actor"+h.actorCnt);if(!a.mirrorActors&&h.stopy)n.attr("y2",h.stopy+h.height/2);else if(a.mirrorActors)n.attr("y2",h.stopy)})},"fixLifeLineHeights"),Cr=t(function(r,e,s,a,o,h){let n=a?e.stopy:e.starty,c=e.x+e.width/2,f=n+e.height,{look:E,theme:_,themeVariables:x}=s,{bkgColorArray:b,borderColorArray:v}=x,y=r.append("g").lower();var k=y;if(!a){if(j++,Object.keys(e.links||{}).length&&!s.forceMenus)k.attr("onclick",ne(`actor${j}_popup`)).attr("cursor","pointer");if(k.append("line").attr("id","actor"+j).attr("x1",c).attr("y1",f).attr("x2",c).attr("y2",2000).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),k=y.append("g"),e.actorCnt=j,e.links!=null)k.attr("id","root-"+j);if(E==="neo")k.attr("data-look","neo")}let p=Gt();var w="actor";if(e.properties?.class)w=e.properties.class;else p.fill="#eaeaea";if(a)w+=` ${Nt}`;else w+=` ${kt}`;if(p.x=e.x,p.y=n,p.width=e.width,p.height=e.height,p.class=w,p.rx=3,p.ry=3,p.name=e.name,E==="neo")p.rx=6,p.ry=6;let L=zt(k,p),Y=h.get(e.name)??0;if(mt.has(_))L.style("stroke",dt(v,Y)),L.style("fill",dt(b,Y));if(E==="neo")L.attr("filter",`url(#${wt(o)})`);if(e.rectData=p,e.properties?.icon){let B=e.properties.icon.trim();if(B.charAt(0)==="@")no(k,p.x+p.width-20,p.y+10,B.substr(1));else to(k,p.x+p.width-20,p.y+10,B)}if(!a)k.attr("data-et","participant"),k.attr("data-type","participant"),k.attr("data-id",e.name);St(s,Fe(e.description))(e.description,k,p.x,p.y,p.width,p.height,{class:`actor ${ie}`},s);let K=e.height;if(L.node){let B=L.node().getBBox();if(s.look!=="neo")e.height=B.height,K=B.height}return K},"drawActorTypeParticipant"),Br=t(function(r,e,s,a,o,h){let n=a?e.stopy:e.starty,c=e.x+e.width/2,f=n+e.height,{look:E,theme:_,themeVariables:x}=s,{bkgColorArray:b,borderColorArray:v}=x,y=r.append("g").lower();var k=y;if(!a){if(j++,Object.keys(e.links||{}).length&&!s.forceMenus)k.attr("onclick",ne(`actor${j}_popup`)).attr("cursor","pointer");if(k.append("line").attr("id","actor"+j).attr("x1",c).attr("y1",f).attr("x2",c).attr("y2",2000).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),k=y.append("g"),e.actorCnt=j,e.links!=null)k.attr("id","root-"+j);if(E==="neo")k.attr("data-look","neo")}let p=Gt();var w="actor";if(e.properties?.class)w=e.properties.class;else p.fill="#eaeaea";if(a)w+=` ${Nt}`;else w+=` ${kt}`;p.x=e.x,p.y=n,p.width=e.width,p.height=e.height,p.class=w,p.name=e.name;let L=6;if(s.look==="neo")p.height=e.height-L;let Y={...p,x:p.x+(a?-L:-L),y:p.y+(a?+L:+L),class:"actor"},K=zt(k,p),B=zt(k,Y);if(e.rectData=p,E==="neo")k.attr("filter",`url(#${wt(o)})`);let z=h.get(e.name)??0;if(mt.has(_))K.style("stroke",dt(v,z)),K.style("fill",dt(b,z)),B.style("stroke",dt(v,z)),B.style("fill",dt(b,z));if(e.properties?.icon){let Z=e.properties.icon.trim();if(Z.charAt(0)==="@")no(k,p.x+p.width-20,p.y+10,Z.substr(1));else to(k,p.x+p.width-20,p.y+10,Z)}St(s,Fe(e.description))(e.description,k,p.x-L,p.y+L,p.width,p.height,{class:`actor ${ie}`},s);let U=e.height;if(K.node){let Z=K.node().getBBox();if(s.look!=="neo")e.height=Z.height,U=Z.height}if(!a)k.attr("data-et","participant"),k.attr("data-type","collections"),k.attr("data-id",e.name);return U},"drawActorTypeCollections"),Yr=t(function(r,e,s,a,o,h){let n=a?e.stopy:e.starty,c=e.x+e.width/2,f=n+e.height,{look:E,theme:_,themeVariables:x}=s,{bkgColorArray:b,borderColorArray:v}=x,y=r.append("g").lower(),k=y;if(!a){if(j++,Object.keys(e.links||{}).length&&!s.forceMenus)k.attr("onclick",ne(`actor${j}_popup`)).attr("cursor","pointer");if(k.append("line").attr("id","actor"+j).attr("x1",c).attr("y1",f).attr("x2",c).attr("y2",2000).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),k=y.append("g"),e.actorCnt=j,e.links!=null)k.attr("id","root-"+j);if(E==="neo")k.attr("data-look","neo")}let p=Gt(),w="actor";if(e.properties?.class)w=e.properties.class;else p.fill="#eaeaea";if(a)w+=` ${Nt}`;else w+=` ${kt}`;k.attr("class",w),p.x=e.x,p.y=n,p.width=e.width,p.height=e.height,p.name=e.name;let L=p.height/2,Y=L/(2.5+p.height/50),K=k.append("g"),B=k.append("g"),z=`M ${p.x},${p.y+L}
|
|
157
|
+
a ${Y},${L} 0 0 0 0,${p.height}
|
|
158
|
+
h ${p.width-2*Y}
|
|
159
|
+
a ${Y},${L} 0 0 0 0,-${p.height}
|
|
160
|
+
Z
|
|
161
|
+
`;if(K.append("path").attr("d",z),B.append("path").attr("d",`M ${p.x},${p.y+L}
|
|
162
|
+
a ${Y},${L} 0 0 0 0,${p.height}`),K.attr("transform",`translate(${Y}, ${-(p.height/2)})`),B.attr("transform",`translate(${p.width-Y}, ${-p.height/2})`),e.rectData=p,E==="neo")K.attr("filter",`url(#${wt(o)})`);let U=h.get(e.name)??0;if(mt.has(_))K.style("stroke",dt(v,U)),K.style("fill",dt(b,U)),B.style("stroke",dt(v,U)),B.style("fill",dt(b,U));if(e.properties?.icon){let at=e.properties.icon.trim(),ct=p.x+p.width-20,ht=p.y+10;if(at.charAt(0)==="@")no(k,ct,ht,at.substr(1));else to(k,ct,ht,at)}St(s,Fe(e.description))(e.description,k,p.x,p.y,p.width,p.height,{class:`actor ${ie}`},s);let Z=e.height,tt=K.select("path:last-child");if(tt.node()){let at=tt.node().getBBox();if(s.look!=="neo")e.height=at.height,Z=at.height}if(!a)k.attr("data-et","participant"),k.attr("data-type","queue"),k.attr("data-id",e.name);return Z},"drawActorTypeQueue"),Vr=t(function(r,e,s,a,o,h){let n=a?e.stopy:e.starty,c=e.x+e.width/2,f=Ut(e,s,a,n),E=f?f.lifelineStartY:n+75,{look:_,theme:x,themeVariables:b}=s,{bkgColorArray:v,borderColorArray:y,actorBorder:k,actorBkg:p}=b,w=r.append("g").lower();if(!a)j++,w.append("line").attr("id","actor"+j).attr("x1",c).attr("y1",E).attr("x2",c).attr("y2",2000).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),e.actorCnt=j;let L=r.append("g"),Y=Ct;if(a)Y+=` ${Nt}`;else Y+=` ${kt}`;L.attr("class",Y),L.attr("name",e.name);let K=Gt();K.x=e.x,K.y=n,K.fill="#eaeaea",K.width=e.width,K.height=e.height,K.class="actor";let B=e.x+e.width/2,z=f?f.glyphBottomY-22:n+32,U=22;L.append("defs").append("marker").attr("id",o+"-filled-head-control").attr("refX",11).attr("refY",5.8).attr("markerWidth",20).attr("markerHeight",28).attr("orient","172.5").attr("stroke-width",1.2).append("path").attr("d","M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z"),L.append("circle").attr("cx",B).attr("cy",z).attr("r",U).attr("filter",`${_==="neo"?`url(#${wt(o)})`:""}`),L.append("line").attr("marker-end","url(#"+o+"-filled-head-control)").attr("transform",`translate(${B}, ${z-U})`);let Z=h.get(e.name)??0;if(mt.has(x))L.style("stroke",dt(y,Z)),L.style("fill",dt(v,Z));else L.style("stroke",k),L.style("fill",p);if(!f){let tt=L.node().getBBox();e.height=tt.height+2*(s?.sequence?.labelBoxHeight??0)}if(St(s,Fe(e.description))(e.description,L,K.x,f?f.labelCenterY-K.height/2:K.y+U+(!a?12:5),K.width,K.height,{class:`actor ${Ct}`},s),!a)L.attr("data-et","participant"),L.attr("data-type","control"),L.attr("data-id",e.name);return e.height},"drawActorTypeControl"),Wr=t(function(r,e,s,a,o,h){let n=a?e.stopy:e.starty,c=e.x+e.width/2,f=Ut(e,s,a,n),E=f?f.lifelineStartY:n+75,{look:_,theme:x,themeVariables:b}=s,{bkgColorArray:v,borderColorArray:y}=b,k=r.append("g").lower(),p=r.append("g"),w="actor";if(a)w+=` ${Nt}`;else w+=` ${kt}`;p.attr("class",w),p.attr("name",e.name);let L=Gt();L.x=e.x,L.y=n,L.fill="#eaeaea",L.width=e.width,L.height=e.height,L.class="actor";let Y=e.x+e.width/2,K=f?f.glyphBottomY-22:n+(!a?25:10),B=22;if(p.append("circle").attr("cx",Y).attr("cy",K).attr("r",B).attr("width",e.width).attr("height",e.height),p.append("line").attr("x1",Y-B).attr("x2",Y+B).attr("y1",K+B).attr("y2",K+B).attr("stroke-width",2),_==="neo")p.attr("filter",`url(#${wt(o)})`);let z=h.get(e.name)??0;if(mt.has(x))p.style("stroke",dt(y,z)),p.style("fill",dt(v,z));if(!f){let U=p.node().getBBox();e.height=U.height+(s?.sequence?.labelBoxHeight??0)}if(!a)j++,k.append("line").attr("id","actor"+j).attr("x1",c).attr("y1",E).attr("x2",c).attr("y2",2000).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),e.actorCnt=j;if(St(s,Fe(e.description))(e.description,p,L.x,f?f.labelCenterY-L.height/2:L.y+(!a?30:15),L.width,L.height,{class:`actor ${Ct}`},s),!f)p.attr("transform",`translate(0, ${a?B:B/2-5})`);if(!a)p.attr("data-et","participant"),p.attr("data-type","entity"),p.attr("data-id",e.name);return e.height},"drawActorTypeEntity"),Kr=t(function(r,e,s,a,o,h){let n=a?e.stopy:e.starty,c=e.x+e.width/2,f=Ut(e,s,a,n),E=f?f.lifelineStartY:n+e.height+2*s.boxTextMargin,{theme:_,themeVariables:x,look:b}=s,{bkgColorArray:v,borderColorArray:y,actorBorder:k}=x,p=r.append("g").lower(),w=p;if(!a){if(j++,Object.keys(e.links||{}).length&&!s.forceMenus)w.attr("onclick",ne(`actor${j}_popup`)).attr("cursor","pointer");if(w.append("line").attr("id","actor"+j).attr("x1",c).attr("y1",E).attr("x2",c).attr("y2",2000).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),w=p.append("g"),e.actorCnt=j,e.links!=null)w.attr("id","root-"+j);if(b==="neo")w.attr("data-look","neo")}let L=Gt(),Y="actor";if(e.properties?.class)Y=e.properties.class;else L.fill="#eaeaea";if(a)Y+=` ${Nt}`;else Y+=` ${kt}`;L.x=e.x,L.y=n,L.width=e.width,L.height=e.height,L.class=Y,L.name=e.name,L.x=e.x,L.y=n;let K=L.width/3,B=K/2,z=B/(2.5+K/50),U=f?se:L.width/3,Z=f?f.glyphBottomY-U-z:L.y,tt=w.append("g");tt.attr("class",Y);let at=`
|
|
163
|
+
M ${L.x},${Z+z}
|
|
164
|
+
a ${B},${z} 0 0 0 ${K},0
|
|
165
|
+
a ${B},${z} 0 0 0 -${K},0
|
|
166
|
+
l 0,${U-2*z}
|
|
167
|
+
a ${B},${z} 0 0 0 ${K},0
|
|
168
|
+
l 0,-${U-2*z}
|
|
169
|
+
`;if(tt.append("path").attr("d",at),b==="neo")tt.attr("filter",`url(#${wt(o)})`);let ct=h.get(e.name)??0;if(mt.has(_))tt.style("stroke",dt(y,ct)),tt.style("fill",dt(v,ct));else tt.style("stroke",k);if(tt.attr("transform",`translate(${K}, ${z})`),e.rectData=L,St(s,Fe(e.description))(e.description,w,L.x,f?f.labelCenterY-L.height/2:L.y+35,L.width,L.height,{class:`actor ${ie}`},s),!f){let ht=tt.select("path:last-child");if(ht.node()){let ut=ht.node().getBBox();e.height=ut.height+(s.sequence.labelBoxHeight??0)}}if(!a)w.attr("data-et","participant"),w.attr("data-type","database"),w.attr("data-id",e.name);return e.height},"drawActorTypeDatabase"),Hr=t(function(r,e,s,a,o,h){let n=a?e.stopy:e.starty,c=e.x+e.width/2,f=Ut(e,s,a,n),E=f?f.lifelineStartY:n+80,_=22,x=f?f.glyphBottomY-22:n+12,b=r.append("g").lower(),{look:v,theme:y,themeVariables:k}=s,{bkgColorArray:p,borderColorArray:w,actorBorder:L}=k;if(!a)j++,b.append("line").attr("id","actor"+j).attr("x1",c).attr("y1",E).attr("x2",c).attr("y2",2000).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),e.actorCnt=j;let Y=r.append("g"),K=Ct;if(a)K+=` ${Nt}`;else K+=` ${kt}`;Y.attr("class",K),Y.attr("name",e.name);let B=Gt();if(B.x=e.x,B.y=n,B.fill="#eaeaea",B.width=e.width,B.height=e.height,B.class="actor",Y.append("line").attr("id","actor-man-torso"+j).attr("x1",e.x+e.width/2-55).attr("y1",x).attr("x2",e.x+e.width/2-15).attr("y2",x),Y.append("line").attr("id","actor-man-arms"+j).attr("x1",e.x+e.width/2-55).attr("y1",x-10).attr("x2",e.x+e.width/2-55).attr("y2",x+10),Y.append("circle").attr("cx",e.x+e.width/2).attr("cy",x).attr("r",22),v==="neo")Y.attr("filter",`url(#${wt(o)})`);let z=h.get(e.name)??0;if(mt.has(y))Y.style("stroke",dt(w,z)),Y.style("fill",dt(p,z));else Y.style("stroke",L);if(!f){let U=Y.node().getBBox();e.height=U.height+(s.sequence.labelBoxHeight??0)}if(St(s,Fe(e.description))(e.description,Y,B.x,f?f.labelCenterY-B.height/2:B.y+15,B.width,B.height,{class:`actor ${Ct}`},s),!f)Y.attr("transform","translate(0,21)");if(!a)Y.attr("data-et","participant"),Y.attr("data-type","boundary"),Y.attr("data-id",e.name);return e.height},"drawActorTypeBoundary"),Fr=t(function(r,e,s,a,o){let h=a?e.stopy:e.starty,n=e.x+e.width/2,c=Ut(e,s,a,h),f=c?c.lifelineStartY:h+80,{theme:E,themeVariables:_}=s,{bkgColorArray:x,borderColorArray:b,actorBorder:v}=_,y=r.append("g").lower();if(!a)j++,y.append("line").attr("id","actor"+j).attr("x1",n).attr("y1",f).attr("x2",n).attr("y2",2000).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name).attr("data-et","life-line").attr("data-id",e.name),e.actorCnt=j;let k=r.append("g"),p=Ct;if(a)p+=` ${Nt}`;else p+=` ${kt}`;if(k.attr("class",p),k.attr("name",e.name),!a)k.attr("data-et","participant").attr("data-type","actor").attr("data-id",e.name);let w=c?se/tr:1,L=t((U)=>c?c.glyphBottomY-(sr-U)*w:h+U,"gy"),Y=t((U)=>n+U*w,"gx");k.append("line").attr("id","actor-man-torso"+j).attr("x1",n).attr("y1",L(25)).attr("x2",n).attr("y2",L(45)),k.append("line").attr("id","actor-man-arms"+j).attr("x1",Y(-vt/2)).attr("y1",L(33)).attr("x2",Y(vt/2)).attr("y2",L(33)),k.append("line").attr("x1",Y(-vt/2)).attr("y1",L(60)).attr("x2",n).attr("y2",L(45)),k.append("line").attr("x1",n).attr("y1",L(45)).attr("x2",Y(vt/2-2)).attr("y2",L(60));let K=k.append("circle");if(K.attr("cx",e.x+e.width/2),K.attr("cy",L(10)),K.attr("r",15*w),K.attr("width",e.width),K.attr("height",e.height),!c)e.height=tr;let B=Gt();B.x=e.x,B.y=h,B.fill="#eaeaea",B.width=e.width,B.height=e.height,B.class="actor",B.rx=3,B.ry=3;let z=o.get(e.name)??0;if(mt.has(E))k.style("stroke",dt(b,z)),k.style("fill",dt(x,z));else k.style("stroke",v);return St(s,Fe(e.description))(e.description,k,B.x,c?c.labelCenterY-B.height/2:h+35,B.width,B.height,{class:`actor ${Ct}`},s),e.height},"drawActorTypeActor"),qr=t(async function(r,e,s,a,o,h,n){let c=n??new Map([...h.db.getActors().values()].map((f,E)=>[f.name,E]));switch(e.type){case"actor":return await Fr(r,e,s,a,c);case"participant":return await Cr(r,e,s,a,o,c);case"boundary":return await Hr(r,e,s,a,o,c);case"control":return await Vr(r,e,s,a,o,c);case"entity":return await Wr(r,e,s,a,o,c);case"database":return await Kr(r,e,s,a,o,c);case"collections":return await Br(r,e,s,a,o,c);case"queue":return await Yr(r,e,s,a,o,c)}},"drawActor"),zr=t(function(r,e,s){let o=r.append("g");if(or(o,e),e.name)St(s)(e.name,o,e.x,e.y+s.boxTextMargin+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},s);o.lower()},"drawBox"),Ur=t(function(r){return r.append("g")},"anchorElement"),Gr=t(function(r,e,s,a,o,h,n){let{theme:c,themeVariables:f}=a,{bkgColorArray:E,borderColorArray:_,mainBkg:x}=f,b=Gt(),{anchored:v,actor:y}=e;b.x=e.startx,b.y=e.starty,b.class="activation"+o%3,b.width=e.stopx-e.startx,b.height=s-e.starty;let k=zt(v,b),w=(n??new Map([...h.db.getActors().values()].map((L,Y)=>[L.name,Y]))).get(y)??0;if(mt.has(c))k.style("stroke",dt(_,w)),k.style("fill",dt(E,w)??x)},"drawActivation"),Xr=t(async function(r,e,s,a,o){let{boxMargin:h,boxTextMargin:n,labelBoxHeight:c,labelBoxWidth:f,messageFontFamily:E,messageFontSize:_,messageFontWeight:x}=a,b=r.append("g").attr("data-et","control-structure").attr("data-id","i"+o.id),v=t(function(p,w,L,Y){return b.append("line").attr("x1",p).attr("y1",w).attr("x2",L).attr("y2",Y).attr("class","loopLine")},"drawLoopLine");if(v(e.startx,e.starty,e.stopx,e.starty),v(e.stopx,e.starty,e.stopx,e.stopy),v(e.startx,e.stopy,e.stopx,e.stopy),v(e.startx,e.starty,e.startx,e.stopy),e.sections!==void 0)e.sections.forEach(function(p){v(e.startx,p.y,e.stopx,p.y).style("stroke-dasharray","3, 3")});let y=ro();y.text=s,y.x=e.startx,y.y=e.starty,y.fontFamily=E,y.fontSize=_,y.fontWeight=x,y.anchor="middle",y.valign="middle",y.tspan=!1,y.width=Math.max(f??0,50),y.height=c+(a.look==="neo"?15:0)||20,y.textMargin=n,y.class="labelText",ir(b,y),y=cr(),y.text=e.title,y.x=e.startx+f/2+(e.stopx-e.startx)/2,y.y=e.starty+h+n,y.anchor="middle",y.valign="middle",y.textMargin=n,y.class="loopText",y.fontFamily=E,y.fontSize=_,y.fontWeight=x,y.wrap=!0;let k=Fe(y.text)?await ae(b,y,e):Ht(b,y);if(e.sectionTitles!==void 0){for(let[p,w]of Object.entries(e.sectionTitles))if(w.message){if(y.text=w.message,y.x=e.startx+(e.stopx-e.startx)/2,y.y=e.sections[p].y+h+n,y.class="sectionTitle",y.anchor="middle",y.valign="middle",y.tspan=!1,y.fontFamily=E,y.fontSize=_,y.fontWeight=x,y.wrap=e.wrap,Fe(y.text))e.starty=e.sections[p].y,await ae(b,y,e);else Ht(b,y);let L=Math.round(k.map((Y)=>(Y._groups||Y)[0][0].getBBox().height).reduce((Y,K)=>Y+K));e.sections[p].height+=L-(h+n)}}return e.height=Math.round(e.stopy-e.starty),b},"drawLoop"),or=t(function(r,e){Ti(r,e)},"drawBackgroundRect"),Qr=t(function(r,e){r.append("defs").append("symbol").attr("id",e+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),Jr=t(function(r,e){r.append("defs").append("symbol").attr("id",e+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),Zr=t(function(r,e){r.append("defs").append("symbol").attr("id",e+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),$r=t(function(r,e){r.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")},"insertArrowHead"),jr=t(function(r,e){r.append("defs").append("marker").attr("id",e+"-filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),ta=t(function(r,e){r.append("defs").append("marker").attr("id",e+"-sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},"insertSequenceNumber"),ea=t(function(r,e){r.append("defs").append("marker").attr("id",e+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},"insertArrowCrossHead"),wt=t((r)=>r?`${r}-drop-shadow`:"drop-shadow","dropShadowId"),ra=t(function(r,e,s){let{theme:a}=e;r.append("defs").append("filter").attr("id",wt(s)).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${a==="redux"||a==="redux-color"?"#000000":"#FFFFFF"}`)},"insertDropShadow"),cr=t(function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},"getTextObj"),aa=t(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),St=function(){function r(h,n,c,f,E,_,x){let b=n.append("text").attr("x",c+E/2).attr("y",f+_/2+5).style("text-anchor","middle").text(h);o(b,x)}t(r,"byText");function e(h,n,c,f,E,_,x,b){let{actorFontSize:v,actorFontFamily:y,actorFontWeight:k}=b,[p,w]=Mt(v),L=h.split(C.lineBreakRegex);for(let Y=0;Y<L.length;Y++){let K=Y*p-p*(L.length-1)/2,B=n.append("text").attr("x",c+E/2).attr("y",f).style("text-anchor","middle").style("font-size",w).style("font-weight",k).style("font-family",y);B.append("tspan").attr("x",c+E/2).attr("dy",K).text(L[Y]),B.attr("y",f+_/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),o(B,x)}}t(e,"byTspan");function s(h,n,c,f,E,_,x,b){let v=n.append("switch"),k=v.append("foreignObject").attr("x",c).attr("y",f).attr("width",E).attr("height",_).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");k.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(h),e(h,v,c,f,E,_,x,b),o(k,x)}t(s,"byFo");async function a(h,n,c,f,E,_,x,b){let v=await Ya(h,A()),y=n.append("switch"),p=y.append("foreignObject").attr("x",c+E/2-v.width/2).attr("y",f+_/2-v.height/2).attr("width",v.width).attr("height",v.height).append("xhtml:div").style("height","100%").style("width","100%");p.append("div").style("text-align","center").style("vertical-align","middle").html(await Xa(h,A())),e(h,y,c,f,E,_,x,b),o(p,x)}t(a,"byKatex");function o(h,n){for(let c in n)if(n.hasOwnProperty(c))h.attr(c,n[c])}return t(o,"_setTextAttrs"),function(h,n=!1){if(n)return a;return h.textPlacement==="fo"?s:h.textPlacement==="old"?r:e}}(),sa=function(){function r(o,h,n,c,f,E,_){let x=h.append("text").attr("x",n).attr("y",c).style("text-anchor","start").text(o);a(x,_)}t(r,"byText");function e(o,h,n,c,f,E,_,x){let{actorFontSize:b,actorFontFamily:v,actorFontWeight:y}=x,k=o.split(C.lineBreakRegex);for(let p=0;p<k.length;p++){let w=p*b-b*(k.length-1)/2,L=h.append("text").attr("x",n).attr("y",c).style("text-anchor","start").style("font-size",b).style("font-weight",y).style("font-family",v);L.append("tspan").attr("x",n).attr("dy",w).text(k[p]),L.attr("y",c+E/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),a(L,_)}}t(e,"byTspan");function s(o,h,n,c,f,E,_,x){let b=h.append("switch"),y=b.append("foreignObject").attr("x",n).attr("y",c).attr("width",f).attr("height",E).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");y.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(o),e(o,b,n,c,f,E,_,x),a(y,_)}t(s,"byFo");function a(o,h){for(let n in h)if(h.hasOwnProperty(n))o.attr(n,h[n])}return t(a,"_setTextAttrs"),function(o){return o.textPlacement==="fo"?s:o.textPlacement==="old"?r:e}}(),ia=t(function(r,e){r.append("defs").append("marker").attr("id",e+"-solidTopArrowHead").attr("refX",7.9).attr("refY",7.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 8 L 0 8 z")},"insertSolidTopArrowHead"),na=t(function(r,e){r.append("defs").append("marker").attr("id",e+"-solidBottomArrowHead").attr("refX",7.9).attr("refY",0.75).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 0 L 0 8 z")},"insertSolidBottomArrowHead"),oa=t(function(r,e){r.append("defs").append("marker").attr("id",e+"-stickTopArrowHead").attr("refX",7.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 7 7").attr("stroke","black").attr("stroke-width",1.5).attr("fill","none")},"insertStickTopArrowHead"),ca=t(function(r,e){r.append("defs").append("marker").attr("id",e+"-stickBottomArrowHead").attr("refX",7.5).attr("refY",0).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 7 L 7 0").attr("stroke","black").attr("stroke-width",1.5).attr("fill","none")},"insertStickBottomArrowHead"),ot={drawRect:zt,drawText:Ht,drawLabel:ir,drawActor:qr,drawBox:zr,drawPopup:Dr,anchorElement:Ur,drawActivation:Gr,drawLoop:Xr,drawBackgroundRect:or,insertArrowHead:$r,insertArrowFilledHead:jr,insertSequenceNumber:ta,insertArrowCrossHead:ea,insertDatabaseIcon:Qr,insertComputerIcon:Jr,insertClockIcon:Zr,getTextObj:cr,getNoteRect:aa,fixLifeLineHeights:nr,sanitizeUrl:be.sanitizeUrl,insertDropShadow:ra,insertSolidTopArrowHead:ia,insertSolidBottomArrowHead:na,insertStickTopArrowHead:oa,insertStickBottomArrowHead:ca},T={},S={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:t(function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map((r)=>r.height||0))+(this.loops.length===0?0:this.loops.map((r)=>r.height||0).reduce((r,e)=>r+e))+(this.messages.length===0?0:this.messages.map((r)=>r.height||0).reduce((r,e)=>r+e))+(this.notes.length===0?0:this.notes.map((r)=>r.height||0).reduce((r,e)=>r+e))},"getHeight"),clear:t(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:t(function(r){this.boxes.push(r)},"addBox"),addActor:t(function(r){this.actors.push(r)},"addActor"),addLoop:t(function(r){this.loops.push(r)},"addLoop"),addMessage:t(function(r){this.messages.push(r)},"addMessage"),addNote:t(function(r){this.notes.push(r)},"addNote"),lastActor:t(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:t(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:t(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:t(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:t(function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,dr(d())},"init"),updateVal:t(function(r,e,s,a){if(r[e]===void 0)r[e]=s;else r[e]=a(s,r[e])},"updateVal"),updateBounds:t(function(r,e,s,a){let o=this,h=0;function n(c){return t(function(E){h++;let _=o.sequenceItems.length-h+1;if(o.updateVal(E,"starty",e-_*T.boxMargin,Math.min),o.updateVal(E,"stopy",a+_*T.boxMargin,Math.max),o.updateVal(S.data,"startx",r-_*T.boxMargin,Math.min),o.updateVal(S.data,"stopx",s+_*T.boxMargin,Math.max),c!=="activation")o.updateVal(E,"startx",r-_*T.boxMargin,Math.min),o.updateVal(E,"stopx",s+_*T.boxMargin,Math.max),o.updateVal(S.data,"starty",e-_*T.boxMargin,Math.min),o.updateVal(S.data,"stopy",a+_*T.boxMargin,Math.max)},"updateItemBounds")}t(n,"updateFn"),this.sequenceItems.forEach(n()),this.activations.forEach(n("activation"))},"updateBounds"),insert:t(function(r,e,s,a){let o=C.getMin(r,s),h=C.getMax(r,s),n=C.getMin(e,a),c=C.getMax(e,a);this.updateVal(S.data,"startx",o,Math.min),this.updateVal(S.data,"starty",n,Math.min),this.updateVal(S.data,"stopx",h,Math.max),this.updateVal(S.data,"stopy",c,Math.max),this.updateBounds(o,n,h,c)},"insert"),newActivation:t(function(r,e,s){let a=s.get(r.from),o=oe(r.from).length||0,h=a.x+a.width/2+(o-1)*T.activationWidth/2;this.activations.push({startx:h,starty:this.verticalPos+2,stopx:h+T.activationWidth,stopy:void 0,actor:r.from,anchored:ot.anchorElement(e)})},"newActivation"),endActivation:t(function(r){let e=this.activations.map(function(s){return s.actor}).lastIndexOf(r.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:t(function(r={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:r.message,wrap:r.wrap,width:r.width,height:0,fill:e}},"createLoop"),newLoop:t(function(r={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(r,e))},"newLoop"),endLoop:t(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:t(function(){return this.sequenceItems.length?this.sequenceItems[this.sequenceItems.length-1].overlap:!1},"isLoopOverlap"),addSectionToLoop:t(function(r){let e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:S.getVerticalPos(),height:0}),e.sectionTitles.push(r),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:t(function(){if(this.isLoopOverlap())this.savedVerticalPos=this.verticalPos},"saveVerticalPos"),resetVerticalPos:t(function(){if(this.isLoopOverlap())this.verticalPos=this.savedVerticalPos},"resetVerticalPos"),bumpVerticalPos:t(function(r){this.verticalPos=this.verticalPos+r,this.data.stopy=C.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:t(function(){return this.verticalPos},"getVerticalPos"),getBounds:t(function(){return{bounds:this.data,models:this.models}},"getBounds")},la=t(async function(r,e,s){S.bumpVerticalPos(T.boxMargin),e.height=T.boxMargin,e.starty=S.getVerticalPos();let a=Gt();a.x=e.startx,a.y=e.starty,a.width=e.width||T.width,a.class="note";let o=r.append("g");o.attr("data-et","note"),o.attr("data-id","i"+s);let h=ot.drawRect(o,a),n=ro();n.x=e.startx,n.y=e.starty,n.width=a.width,n.dy="1em",n.text=e.message,n.class="noteText",n.fontFamily=T.noteFontFamily,n.fontSize=T.noteFontSize,n.fontWeight=T.noteFontWeight,n.anchor=T.noteAlign,n.textMargin=T.noteMargin,n.valign="center";let c=Fe(n.text)?await ae(o,n):Ht(o,n),f=Math.round(c.map((E)=>(E._groups||E)[0][0].getBBox().height).reduce((E,_)=>E+_));h.attr("height",f+2*T.noteMargin),e.height+=f+2*T.noteMargin,S.bumpVerticalPos(f+2*T.noteMargin),e.stopy=e.starty+f+2*T.noteMargin,e.stopx=e.startx+a.width,S.insert(e.startx,e.starty,e.stopx,e.stopy),S.models.addNote(e)},"drawNote"),er=t(function(r,e,s,a,o,h,n){let c=a.db.getActors(),f=c.get(e.from),E=c.get(e.to),_=s.sequenceVisible,x=f.x+f.width/2,b=E.x+E.width/2,v=x<=b,y=ur(e,a),k=r.append("g"),p=16.5,w=t((z,U)=>{let Z=z?p:-p;return U?-Z:Z},"getCircleOffset"),L=t((z)=>{k.append("circle").attr("cx",z).attr("cy",n).attr("r",5).attr("width",10).attr("height",10)},"drawCircle"),{CENTRAL_CONNECTION:Y,CENTRAL_CONNECTION_REVERSE:K,CENTRAL_CONNECTION_DUAL:B}=a.db.LINETYPE;if(_)switch(e.centralConnection){case Y:if(y)b+=w(v,!0);break;case K:if(!y)x+=w(v,!1);break;case B:if(y)b+=w(v,!0);else x+=w(v,!1);break}switch(e.centralConnection){case Y:L(b);break;case K:L(x);break;case B:L(x),L(b);break}},"drawCentralConnection"),Bt=t((r)=>({fontFamily:r.messageFontFamily,fontSize:r.messageFontSize,fontWeight:r.messageFontWeight}),"messageFont"),Wt=t((r)=>({fontFamily:r.noteFontFamily,fontSize:r.noteFontSize,fontWeight:r.noteFontWeight}),"noteFont"),ge=t((r)=>({fontFamily:r.actorFontFamily,fontSize:r.actorFontSize,fontWeight:r.actorFontWeight}),"actorFont");async function lr(r,e){S.bumpVerticalPos(10);let{startx:s,stopx:a,message:o}=e,h=C.splitBreaks(o).length,n=Fe(o),c=n?await Ya(o,d()):H.calculateTextDimensions(o,Bt(T));if(!n){let x=c.height/h;e.height+=x,S.bumpVerticalPos(x)}let f,E=c.height-10,_=c.width;if(s===a){if(f=S.getVerticalPos()+E,!T.rightAngles)E+=T.boxMargin,f=S.getVerticalPos()+E;E+=30;let x=C.getMax(_/2,T.width/2);S.insert(s-x,S.getVerticalPos()-10+E,a+x,S.getVerticalPos()+30+E)}else E+=T.boxMargin,f=S.getVerticalPos()+E,S.insert(s,f-10,a,f);return S.bumpVerticalPos(E),e.height+=E,e.stopy=e.starty+e.height,S.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),f}t(lr,"boundMessage");var ha=t(async function(r,e,s,a,o,h){let{startx:n,stopx:c,starty:f,message:E,type:_,sequenceIndex:x,sequenceVisible:b}=e,v=H.calculateTextDimensions(E,Bt(T)),y=ro();if(y.x=Math.min(n,c),y.y=f+10,y.width=Math.abs(c-n),y.class="messageText",y.dy="1em",y.text=E,y.fontFamily=T.messageFontFamily,y.fontSize=T.messageFontSize,y.fontWeight=T.messageFontWeight,y.anchor=T.messageAlign,y.valign="center",y.textMargin=T.wrapPadding,y.tspan=!1,Fe(y.text))await ae(r,y,{startx:n,stopx:c,starty:s});else Ht(r,y);let k=v.width,p;if(n===c){let L=b||T.showSequenceNumbers,Y=ur(o,a),K=ga(o,a),B=n+(L&&(Y||K)?10:0);if(T.rightAngles)p=r.append("path").attr("d",`M ${B},${s} H ${n+C.getMax(T.width/2,k/2)} V ${s+25} H ${n}`);else p=r.append("path").attr("d","M "+B+","+s+" C "+(B+60)+","+(s-10)+" "+(n+60)+","+(s+30)+" "+n+","+(s+20));if(fe(o,a))er(r,o,e,a,n,c,s)}else if(p=r.append("line"),p.attr("x1",n),p.attr("y1",s),p.attr("x2",c),p.attr("y2",s),fe(o,a))er(r,o,e,a,n,c,s);if(_===a.db.LINETYPE.DOTTED||_===a.db.LINETYPE.DOTTED_CROSS||_===a.db.LINETYPE.DOTTED_POINT||_===a.db.LINETYPE.DOTTED_OPEN||_===a.db.LINETYPE.BIDIRECTIONAL_DOTTED||_===a.db.LINETYPE.SOLID_TOP_DOTTED||_===a.db.LINETYPE.SOLID_BOTTOM_DOTTED||_===a.db.LINETYPE.STICK_TOP_DOTTED||_===a.db.LINETYPE.STICK_BOTTOM_DOTTED||_===a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED||_===a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED||_===a.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED||_===a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED)p.style("stroke-dasharray","3, 3"),p.attr("class","messageLine1");else p.attr("class","messageLine0");p.attr("data-et","message"),p.attr("data-id","i"+e.id),p.attr("data-from",e.from),p.attr("data-to",e.to);let w="";if(T.arrowMarkerAbsolute)w=Ys(!0);if(p.attr("stroke-width",2),p.attr("stroke","none"),p.style("fill","none"),_===a.db.LINETYPE.SOLID_TOP||_===a.db.LINETYPE.SOLID_TOP_DOTTED)p.attr("marker-end","url("+w+"#"+h+"-solidTopArrowHead)");if(_===a.db.LINETYPE.SOLID_BOTTOM||_===a.db.LINETYPE.SOLID_BOTTOM_DOTTED)p.attr("marker-end","url("+w+"#"+h+"-solidBottomArrowHead)");if(_===a.db.LINETYPE.STICK_TOP||_===a.db.LINETYPE.STICK_TOP_DOTTED)p.attr("marker-end","url("+w+"#"+h+"-stickTopArrowHead)");if(_===a.db.LINETYPE.STICK_BOTTOM||_===a.db.LINETYPE.STICK_BOTTOM_DOTTED)p.attr("marker-end","url("+w+"#"+h+"-stickBottomArrowHead)");if(_===a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE||_===a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED)p.attr("marker-start","url("+w+"#"+h+"-solidBottomArrowHead)");if(_===a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE||_===a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED)p.attr("marker-start","url("+w+"#"+h+"-solidTopArrowHead)");if(_===a.db.LINETYPE.STICK_ARROW_TOP_REVERSE||_===a.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED)p.attr("marker-start","url("+w+"#"+h+"-stickBottomArrowHead)");if(_===a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE||_===a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED)p.attr("marker-start","url("+w+"#"+h+"-stickTopArrowHead)");if(_===a.db.LINETYPE.SOLID||_===a.db.LINETYPE.DOTTED)p.attr("marker-end","url("+w+"#"+h+"-arrowhead)");if(_===a.db.LINETYPE.BIDIRECTIONAL_SOLID||_===a.db.LINETYPE.BIDIRECTIONAL_DOTTED)p.attr("marker-start","url("+w+"#"+h+"-arrowhead)"),p.attr("marker-end","url("+w+"#"+h+"-arrowhead)");if(_===a.db.LINETYPE.SOLID_POINT||_===a.db.LINETYPE.DOTTED_POINT)p.attr("marker-end","url("+w+"#"+h+"-filled-head)");if(_===a.db.LINETYPE.SOLID_CROSS||_===a.db.LINETYPE.DOTTED_CROSS)p.attr("marker-end","url("+w+"#"+h+"-crosshead)");if(b||T.showSequenceNumbers){let L=_===a.db.LINETYPE.BIDIRECTIONAL_SOLID||_===a.db.LINETYPE.BIDIRECTIONAL_DOTTED,Y=_===a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE||_===a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED||_===a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE||_===a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED||_===a.db.LINETYPE.STICK_ARROW_TOP_REVERSE||_===a.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED||_===a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE||_===a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,K=6,B=fe(o,a),z=n,U=c;if(L){if(n<c)z=n+12;else z=n-6+(B?-5:0),z+=o?.centralConnection===a.db.LINETYPE.CENTRAL_CONNECTION_DUAL||o?.centralConnection===a.db.LINETYPE.CENTRAL_CONNECTION_REVERSE?-7.5:0;p.attr("x1",z)}else if(Y){if(c>n)U=c-12;else U=c-6,z+=o?.centralConnection===a.db.LINETYPE.CENTRAL_CONNECTION_DUAL||o?.centralConnection===a.db.LINETYPE.CENTRAL_CONNECTION_REVERSE?-7.5:0;U+=B?15:0,p.attr("x2",U),p.attr("x1",z)}else p.attr("x1",n+6);let Z=0,tt=n===c,at=n<=c;if(tt)Z=e.fromBounds+1;else if(Y)Z=at?e.toBounds-1:e.fromBounds+1;else Z=at?e.fromBounds+1:e.toBounds-1;let ct="12px",ht=x.toString().length;if(ht>5)ct="7px";else if(ht>3)ct="9px";r.append("line").attr("x1",Z).attr("y1",s).attr("x2",Z).attr("y2",s).attr("stroke-width",0).attr("marker-start","url("+w+"#"+h+"-sequencenumber)"),r.append("text").attr("x",Z).attr("y",s+4).attr("font-family","sans-serif").attr("font-size",ct).attr("text-anchor","middle").attr("class","sequenceNumber").text(x)}},"drawMessage"),da=t(function(r,e,s,a,o,h,n){let c=0,f=0,E=void 0,_=0;for(let x of a){let b=e.get(x),v=b.box;if(E&&E!=v){if(!n)S.models.addBox(E);f+=T.boxMargin+E.margin}if(v&&v!=E){if(!n)v.x=c+f,v.y=o;f+=v.margin}if(b.width=C.getMax(b.width||T.width,T.width),b.height=C.getMax(b.height||T.height,T.height),b.margin=b.margin||T.actorMargin,_=C.getMax(_,b.height),s.get(b.name))f+=b.width/2;if(b.x=c+f,b.starty=S.getVerticalPos(),S.insert(b.x,o,b.x+b.width,b.height),c+=b.width+f,b.box)b.box.width=c+v.margin-b.box.x;f=b.margin,E=b.box,S.models.addActor(b)}if(E&&!n)S.models.addBox(E);S.bumpVerticalPos(_)},"addActorRenderingData"),xe=t(async function(r,e,s,a,o,h,n){if(!a)for(let c of s){let f=e.get(c);await ot.drawActor(r,f,T,!1,o,h,n)}else{let c=0;S.bumpVerticalPos(T.boxMargin*2);for(let f of s){let E=e.get(f);if(!E.stopy)E.stopy=S.getVerticalPos();let _=await ot.drawActor(r,E,T,!0,o,h,n);c=C.getMax(c,_)}S.bumpVerticalPos(c+T.boxMargin)}},"drawActors"),hr=t(function(r,e,s,a){let o=0,h=0;for(let n of s){let c=e.get(n),f=pa(c),E=ot.drawPopup(r,c,f,T,T.forceMenus,a);if(E.height>o)o=E.height;if(E.width+c.x>h)h=E.width+c.x}return{maxHeight:o,maxWidth:h}},"drawActorsPopup"),dr=t(function(r){if(Ae(T,r),r.fontFamily)T.actorFontFamily=T.noteFontFamily=T.messageFontFamily=r.fontFamily;if(r.fontSize)T.actorFontSize=T.noteFontSize=T.messageFontSize=r.fontSize;if(r.fontWeight)T.actorFontWeight=T.noteFontWeight=T.messageFontWeight=r.fontWeight},"setConf"),oe=t(function(r){return S.activations.filter(function(e){return e.actor===r})},"actorActivations"),rr=t(function(r,e){let s=e.get(r),a=oe(r),o=a.reduce(function(n,c){return C.getMin(n,c.startx)},s.x+s.width/2-1),h=a.reduce(function(n,c){return C.getMax(n,c.stopx)},s.x+s.width/2+1);return[o,h]},"activationBounds");function Ot(r,e,s,a,o){S.bumpVerticalPos(s);let h=a;if(e.id&&e.message&&r[e.id]){let n=r[e.id].width,c=Bt(T);e.message=H.wrapLabel(`[${e.message}]`,n-2*T.wrapPadding,c),e.width=n,e.wrap=!0;let f=H.calculateTextDimensions(e.message,c),E=C.getMax(f.height,T.labelBoxHeight);h=a+E,i.debug(`${E} - ${e.message}`)}o(e),S.bumpVerticalPos(h)}t(Ot,"adjustLoopHeightForWrap");function Tr(r,e,s,a,o,h,n){function c(_,x){if(_.x<o.get(r.from).x)S.insert(e.stopx-x,e.starty,e.startx,e.stopy+_.height/2+T.noteMargin),e.stopx=e.stopx+x;else S.insert(e.startx,e.starty,e.stopx+x,e.stopy+_.height/2+T.noteMargin),e.stopx=e.stopx-x}t(c,"receiverAdjustment");function f(_,x){if(_.x<o.get(r.to).x)S.insert(e.startx-x,e.starty,e.stopx,e.stopy+_.height/2+T.noteMargin),e.startx=e.startx+x;else S.insert(e.stopx,e.starty,e.startx+x,e.stopy+_.height/2+T.noteMargin),e.startx=e.startx-x}t(f,"senderAdjustment");let E=[ee.ACTOR,ee.CONTROL,ee.ENTITY,ee.DATABASE];if(h.get(r.to)==a){let _=o.get(r.to),x=E.includes(_.type)?vt/2+3:_.width/2+3;c(_,x),_.starty=s-_.height/2,S.bumpVerticalPos(_.height/2)}else if(n.get(r.from)==a){let _=o.get(r.from);if(T.mirrorActors){let x=E.includes(_.type)?vt/2:_.width/2;f(_,x)}_.stopy=s-_.height/2,S.bumpVerticalPos(_.height/2)}else if(n.get(r.to)==a){let _=o.get(r.to);if(T.mirrorActors){let x=E.includes(_.type)?vt/2+3:_.width/2+3;c(_,x)}_.stopy=s-_.height/2,S.bumpVerticalPos(_.height/2)}}t(Tr,"adjustCreatedDestroyedData");var Ta=t(async function(r,e,s,a){let{securityLevel:o,sequence:h,look:n,themeVariables:c}=d();T=h;let f;if(o==="sandbox")f=g("#i"+e);let E=o==="sandbox"?g(f.nodes()[0].contentDocument.body):g("body"),_=o==="sandbox"?f.nodes()[0].contentDocument:document;S.init(),i.debug(a.db);let x=o==="sandbox"?E.select(`[id="${e}"]`):g(`[id="${e}"]`),b=a.db.getActors(),v=a.db.getCreatedActors(),y=a.db.getDestroyedActors(),k=a.db.getBoxes(),p=a.db.getActorKeys(),w=a.db.getMessages(),L=a.db.getDiagramTitle(),Y=a.db.hasAtLeastOneBox(),K=a.db.hasAtLeastOneBoxWithTitle(),B=await pr(b,w,a);if(T.height=await Er(b,B,k),ot.insertComputerIcon(x,e),ot.insertDatabaseIcon(x,e),ot.insertClockIcon(x,e),Y){if(S.bumpVerticalPos(T.boxMargin),K)S.bumpVerticalPos(k[0].textMaxHeight)}if(T.hideUnusedParticipants===!0){let V=new Set;w.forEach((X)=>{V.add(X.from),V.add(X.to)}),p=p.filter((X)=>V.has(X))}let z=new Map(p.map((V,X)=>[b.get(V)?.name??V,X]));da(x,b,v,p,0,w,!1);let U=await ba(w,b,B,a);if(ot.insertArrowHead(x,e),ot.insertArrowCrossHead(x,e),ot.insertArrowFilledHead(x,e),ot.insertSequenceNumber(x,e),ot.insertSolidTopArrowHead(x,e),ot.insertSolidBottomArrowHead(x,e),ot.insertStickTopArrowHead(x,e),ot.insertStickBottomArrowHead(x,e),n==="neo")ot.insertDropShadow(x,T,e);function Z(V,X){let Rt=S.endActivation(V);if(Rt.starty+18>X)Rt.starty=X-6,X+=12;ot.drawActivation(x,Rt,X,T,oe(V.from).length,a,z),S.insert(Rt.startx,X-10,Rt.stopx,X)}t(Z,"activeEnd");let tt=1,at=1,ct=[],ht=[],ut=0;for(let V of w){let X,Rt,gt;switch(V.type){case a.db.LINETYPE.NOTE:S.resetVerticalPos(),Rt=V.noteModel,await la(x,Rt,V.id);break;case a.db.LINETYPE.ACTIVE_START:S.newActivation(V,x,b);break;case a.db.LINETYPE.CENTRAL_CONNECTION:S.newActivation(V,x,b);break;case a.db.LINETYPE.CENTRAL_CONNECTION_REVERSE:S.newActivation(V,x,b);break;case a.db.LINETYPE.ACTIVE_END:Z(V,S.getVerticalPos());break;case a.db.LINETYPE.LOOP_START:Ot(U,V,T.boxMargin,T.boxMargin+T.boxTextMargin,(st)=>S.newLoop(st));break;case a.db.LINETYPE.LOOP_END:X=S.endLoop(),await ot.drawLoop(x,X,"loop",T,V),S.bumpVerticalPos(X.stopy-S.getVerticalPos()),S.models.addLoop(X);break;case a.db.LINETYPE.RECT_START:Ot(U,V,T.boxMargin,T.boxMargin,(st)=>{let Yt=st.message;if(!Yt)Yt=c?.rectBkgColor||c?.actorBkg||"rgba(128, 128, 128, 0.5)";S.newLoop(void 0,Yt)});break;case a.db.LINETYPE.RECT_END:X=S.endLoop(),ht.push(X),S.models.addLoop(X),S.bumpVerticalPos(X.stopy-S.getVerticalPos());break;case a.db.LINETYPE.OPT_START:Ot(U,V,T.boxMargin,T.boxMargin+T.boxTextMargin,(st)=>S.newLoop(st));break;case a.db.LINETYPE.OPT_END:X=S.endLoop(),await ot.drawLoop(x,X,"opt",T,V),S.bumpVerticalPos(X.stopy-S.getVerticalPos()),S.models.addLoop(X);break;case a.db.LINETYPE.ALT_START:Ot(U,V,T.boxMargin,T.boxMargin+T.boxTextMargin,(st)=>S.newLoop(st));break;case a.db.LINETYPE.ALT_ELSE:Ot(U,V,T.boxMargin+T.boxTextMargin,T.boxMargin,(st)=>S.addSectionToLoop(st));break;case a.db.LINETYPE.ALT_END:X=S.endLoop(),await ot.drawLoop(x,X,"alt",T,V),S.bumpVerticalPos(X.stopy-S.getVerticalPos()),S.models.addLoop(X);break;case a.db.LINETYPE.PAR_START:case a.db.LINETYPE.PAR_OVER_START:Ot(U,V,T.boxMargin,T.boxMargin+T.boxTextMargin,(st)=>S.newLoop(st)),S.saveVerticalPos();break;case a.db.LINETYPE.PAR_AND:Ot(U,V,T.boxMargin+T.boxTextMargin,T.boxMargin,(st)=>S.addSectionToLoop(st));break;case a.db.LINETYPE.PAR_END:X=S.endLoop(),await ot.drawLoop(x,X,"par",T,V),S.bumpVerticalPos(X.stopy-S.getVerticalPos()),S.models.addLoop(X);break;case a.db.LINETYPE.AUTONUMBER:if(tt=V.message.start||tt,at=V.message.step||at,V.message.visible)a.db.enableSequenceNumbers();else a.db.disableSequenceNumbers();break;case a.db.LINETYPE.CRITICAL_START:Ot(U,V,T.boxMargin,T.boxMargin+T.boxTextMargin,(st)=>S.newLoop(st));break;case a.db.LINETYPE.CRITICAL_OPTION:Ot(U,V,T.boxMargin+T.boxTextMargin,T.boxMargin,(st)=>S.addSectionToLoop(st));break;case a.db.LINETYPE.CRITICAL_END:X=S.endLoop(),await ot.drawLoop(x,X,"critical",T,V),S.bumpVerticalPos(X.stopy-S.getVerticalPos()),S.models.addLoop(X);break;case a.db.LINETYPE.BREAK_START:Ot(U,V,T.boxMargin,T.boxMargin+T.boxTextMargin,(st)=>S.newLoop(st));break;case a.db.LINETYPE.BREAK_END:X=S.endLoop(),await ot.drawLoop(x,X,"break",T,V),S.bumpVerticalPos(X.stopy-S.getVerticalPos()),S.models.addLoop(X);break;default:try{gt=V.msgModel,gt.starty=S.getVerticalPos(),gt.sequenceIndex=tt,gt.sequenceVisible=a.db.showSequenceNumbers(),gt.id=V.id,gt.from=V.from,gt.to=V.to;let st=await lr(x,gt);Tr(V,gt,st,ut,b,v,y),ct.push({messageModel:gt,lineStartY:st,msg:V}),S.models.addMessage(gt)}catch(st){i.error("error while drawing message",st)}}if([a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.SOLID,a.db.LINETYPE.SOLID_TOP,a.db.LINETYPE.SOLID_BOTTOM,a.db.LINETYPE.STICK_TOP,a.db.LINETYPE.STICK_BOTTOM,a.db.LINETYPE.SOLID_TOP_DOTTED,a.db.LINETYPE.SOLID_BOTTOM_DOTTED,a.db.LINETYPE.STICK_TOP_DOTTED,a.db.LINETYPE.STICK_BOTTOM_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,a.db.LINETYPE.STICK_ARROW_TOP_REVERSE,a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.DOTTED,a.db.LINETYPE.SOLID_CROSS,a.db.LINETYPE.DOTTED_CROSS,a.db.LINETYPE.SOLID_POINT,a.db.LINETYPE.DOTTED_POINT,a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(V.type))tt=Math.round((tt+at)*100)/100;ut++}i.debug("createdActors",v),i.debug("destroyedActors",y),await xe(x,b,p,!1,e,a,z);for(let V of ct)await ha(x,V.messageModel,V.lineStartY,a,V.msg,e);if(T.mirrorActors)await xe(x,b,p,!0,e,a,z);ht.forEach((V)=>ot.drawBackgroundRect(x,V)),nr(x,b,p,T);for(let V of S.models.boxes){V.height=S.getVerticalPos()-V.y,S.insert(V.x,V.y,V.x+V.width,V.height);let X=T.boxMargin*2;V.startx=V.x-X,V.starty=V.y-X*0.25,V.stopx=V.startx+V.width+2*X,V.stopy=V.starty+V.height+X*0.75,V.stroke="rgb(0,0,0, 0.5)",ot.drawBox(x,V,T)}if(Y)S.bumpVerticalPos(T.boxMargin);let ft=hr(x,b,p,_),{bounds:lt}=S.getBounds();if(lt.startx===void 0)lt.startx=0;if(lt.starty===void 0)lt.starty=0;if(lt.stopx===void 0)lt.stopx=0;if(lt.stopy===void 0)lt.stopy=0;let xt=lt.stopy-lt.starty;if(xt<ft.maxHeight)xt=ft.maxHeight;let _t=xt+2*T.diagramMarginY;if(T.mirrorActors)_t=_t-T.boxMargin+T.bottomMarginAdj;let rt=lt.stopx-lt.startx;if(rt<ft.maxWidth)rt=ft.maxWidth;let J=rt+2*T.diagramMarginX;if(L)x.append("text").text(L).attr("x",(lt.stopx-lt.startx)/2-2*T.diagramMarginX).attr("y",-25);W(x,_t,J,T.useMaxWidth);let Tt=L?40:0,Qt=b.size&&n==="neo"?30:0;x.attr("viewBox",lt.startx-T.diagramMarginX+" -"+(T.diagramMarginY+Tt)+" "+J+" "+(_t+Tt+Qt)),i.debug("models:",S.models)},"draw");async function pr(r,e,s){let a={};for(let o of e)if(r.get(o.to)&&r.get(o.from)){let h=r.get(o.to);if(o.placement===s.db.PLACEMENT.LEFTOF&&!h.prevActor)continue;if(o.placement===s.db.PLACEMENT.RIGHTOF&&!h.nextActor)continue;let n=o.placement!==void 0,c=!n,f=n?Wt(T):Bt(T),E=o.wrap?H.wrapLabel(o.message,T.width-2*T.wrapPadding,f):o.message,x=(Fe(E)?await Ya(o.message,d()):H.calculateTextDimensions(E,f)).width+2*T.wrapPadding;if(c&&o.from===h.nextActor)a[o.to]=C.getMax(a[o.to]||0,x);else if(c&&o.from===h.prevActor)a[o.from]=C.getMax(a[o.from]||0,x);else if(c&&o.from===o.to)a[o.from]=C.getMax(a[o.from]||0,x/2),a[o.to]=C.getMax(a[o.to]||0,x/2);else if(o.placement===s.db.PLACEMENT.RIGHTOF)a[o.from]=C.getMax(a[o.from]||0,x);else if(o.placement===s.db.PLACEMENT.LEFTOF)a[h.prevActor]=C.getMax(a[h.prevActor]||0,x);else if(o.placement===s.db.PLACEMENT.OVER){if(h.prevActor)a[h.prevActor]=C.getMax(a[h.prevActor]||0,x/2);if(h.nextActor)a[o.from]=C.getMax(a[o.from]||0,x/2)}}return i.debug("maxMessageWidthPerActor:",a),a}t(pr,"getMaxMessageWidthPerActor");var pa=t(function(r){let e=0,s=ge(T);for(let a in r.links){let h=H.calculateTextDimensions(a,s).width+2*T.wrapPadding+2*T.boxMargin;if(e<h)e=h}return e},"getRequiredPopupWidth");async function Er(r,e,s){let a=0;for(let h of r.keys()){let n=r.get(h);if(n.wrap)n.description=H.wrapLabel(n.description,T.width-2*T.wrapPadding,ge(T));let c=Fe(n.description)?await Ya(n.description,d()):H.calculateTextDimensions(n.description,ge(T));if(n.width=n.wrap?T.width:C.getMax(T.width,c.width+2*T.wrapPadding),d().look==="neo")n.actorTextHeight=c.height,n.height=C.getMax(ar(c.height),T.height);else n.height=n.wrap?C.getMax(c.height,T.height):T.height;a=C.getMax(a,n.height)}for(let h in e){let n=r.get(h);if(!n)continue;let c=r.get(n.nextActor);if(!c){let x=e[h]+T.actorMargin-n.width/2;n.margin=C.getMax(x,T.actorMargin);continue}let E=e[h]+T.actorMargin-n.width/2-c.width/2;n.margin=C.getMax(E,T.actorMargin)}let o=0;return s.forEach((h)=>{let n=Bt(T),c=h.actorKeys.reduce((x,b)=>x+=r.get(b).width+(r.get(b).margin||0),0),f=T.boxMargin*8;if(c+=f,c-=2*T.boxTextMargin,h.wrap)h.name=H.wrapLabel(h.name,c-2*T.wrapPadding,n);let E=H.calculateTextDimensions(h.name,n);o=C.getMax(E.height,o);let _=C.getMax(c,E.width+2*T.wrapPadding);if(h.margin=T.boxTextMargin,c<_){let x=(_-c)/2;h.margin+=x}}),s.forEach((h)=>h.textMaxHeight=o),C.getMax(a,T.height)}t(Er,"calculateActorMargins");var Ea=t(async function(r,e,s){let a=e.get(r.from),o=e.get(r.to),h=a.x,n=o.x,c=r.wrap&&r.message,f=Fe(r.message)?await Ya(r.message,d()):H.calculateTextDimensions(c?H.wrapLabel(r.message,T.width,Wt(T)):r.message,Wt(T)),E={width:c?T.width:C.getMax(T.width,f.width+2*T.noteMargin),height:0,startx:a.x,stopx:0,starty:0,stopy:0,message:r.message};if(r.placement===s.db.PLACEMENT.RIGHTOF)E.width=c?C.getMax(T.width,f.width):C.getMax(a.width/2+o.width/2,f.width+2*T.noteMargin),E.startx=h+(a.width+T.actorMargin)/2;else if(r.placement===s.db.PLACEMENT.LEFTOF)E.width=c?C.getMax(T.width,f.width+2*T.noteMargin):C.getMax(a.width/2+o.width/2,f.width+2*T.noteMargin),E.startx=h-E.width+(a.width-T.actorMargin)/2;else if(r.to===r.from)f=H.calculateTextDimensions(c?H.wrapLabel(r.message,C.getMax(T.width,a.width),Wt(T)):r.message,Wt(T)),E.width=c?C.getMax(T.width,a.width):C.getMax(a.width,T.width,f.width+2*T.noteMargin),E.startx=h+(a.width-E.width)/2;else E.width=Math.abs(h+a.width/2-(n+o.width/2))+T.actorMargin,E.startx=h<n?h+a.width/2-T.actorMargin/2:n+o.width/2-T.actorMargin/2;if(c)E.message=H.wrapLabel(r.message,E.width-2*T.wrapPadding,Wt(T));return i.debug(`NM:[${E.startx},${E.stopx},${E.starty},${E.stopy}:${E.width},${E.height}=${r.message}]`),E},"buildNoteModel"),ua=4,fa=6,fe=t(function(r,e){let{CENTRAL_CONNECTION:s,CENTRAL_CONNECTION_REVERSE:a,CENTRAL_CONNECTION_DUAL:o}=e.db.LINETYPE;return[s,a,o].includes(r.centralConnection)},"hasCentralConnection"),_a=t(function(r,e,s){let{CENTRAL_CONNECTION_REVERSE:a,CENTRAL_CONNECTION_DUAL:o,BIDIRECTIONAL_SOLID:h,BIDIRECTIONAL_DOTTED:n}=e.db.LINETYPE,c=0;if(r.centralConnection===a||r.centralConnection===o)c+=ua;if((r.centralConnection===a||r.centralConnection===o)&&(r.type===h||r.type===n))c+=s?0:-fa;return c},"calculateCentralConnectionOffset"),ur=t(function(r,e){let{SOLID_ARROW_TOP_REVERSE:s,SOLID_ARROW_TOP_REVERSE_DOTTED:a,SOLID_ARROW_BOTTOM_REVERSE:o,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:h,STICK_ARROW_TOP_REVERSE:n,STICK_ARROW_TOP_REVERSE_DOTTED:c,STICK_ARROW_BOTTOM_REVERSE:f,STICK_ARROW_BOTTOM_REVERSE_DOTTED:E}=e.db.LINETYPE;return[s,a,o,h,n,c,f,E].includes(r.type)},"isReverseArrowType"),ga=t(function(r,e){let{BIDIRECTIONAL_SOLID:s,BIDIRECTIONAL_DOTTED:a}=e.db.LINETYPE;return[s,a].includes(r.type)},"isBidirectionalArrowType"),xa=t(function(r,e,s){let{look:a}=d();if(![s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN,s.db.LINETYPE.SOLID,s.db.LINETYPE.SOLID_TOP,s.db.LINETYPE.SOLID_BOTTOM,s.db.LINETYPE.STICK_TOP,s.db.LINETYPE.STICK_BOTTOM,s.db.LINETYPE.SOLID_TOP_DOTTED,s.db.LINETYPE.SOLID_BOTTOM_DOTTED,s.db.LINETYPE.STICK_TOP_DOTTED,s.db.LINETYPE.STICK_BOTTOM_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,s.db.LINETYPE.STICK_ARROW_TOP_REVERSE,s.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.DOTTED,s.db.LINETYPE.SOLID_CROSS,s.db.LINETYPE.DOTTED_CROSS,s.db.LINETYPE.SOLID_POINT,s.db.LINETYPE.DOTTED_POINT,s.db.LINETYPE.BIDIRECTIONAL_SOLID,s.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(r.type))return{};let[o,h]=rr(r.from,e),[n,c]=rr(r.to,e),f=o<=n,E=f?h:o,_=f?n:c;if(a==="neo"){if(r.type!==s.db.LINETYPE.SOLID_OPEN)_+=f?-3:3;if(r.type===s.db.LINETYPE.BIDIRECTIONAL_SOLID||r.type===s.db.LINETYPE.BIDIRECTIONAL_DOTTED)E+=f?3:-3}E+=_a(r,s,f);let x=Math.abs(n-c)>2,b=t((p)=>f?-p:p,"adjustValue");if(r.from===r.to)_=E;else{if(r.activate&&!x)_+=b(T.activationWidth/2-1);if(![s.db.LINETYPE.SOLID_OPEN,s.db.LINETYPE.DOTTED_OPEN,s.db.LINETYPE.STICK_TOP,s.db.LINETYPE.STICK_BOTTOM,s.db.LINETYPE.STICK_TOP_DOTTED,s.db.LINETYPE.STICK_BOTTOM_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.STICK_ARROW_TOP_REVERSE,s.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,s.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE].includes(r.type))_+=b(3);if([s.db.LINETYPE.BIDIRECTIONAL_SOLID,s.db.LINETYPE.BIDIRECTIONAL_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,s.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,s.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE].includes(r.type))E-=b(3)}let v=[o,h,n,c],y=Math.abs(E-_);if(r.wrap&&r.message)r.message=H.wrapLabel(r.message,C.getMax(y+2*T.wrapPadding,T.width),Bt(T));let k=H.calculateTextDimensions(r.message,Bt(T));return{width:C.getMax(r.wrap?0:k.width+2*T.wrapPadding,y+2*T.wrapPadding,T.width),height:0,startx:E,stopx:_,starty:0,stopy:0,message:r.message,type:r.type,wrap:r.wrap,fromBounds:Math.min.apply(null,v),toBounds:Math.max.apply(null,v)}},"buildMessageModel"),ba=t(async function(r,e,s,a){let o={},h=[],n,c,f;for(let E of r){switch(E.type){case a.db.LINETYPE.LOOP_START:case a.db.LINETYPE.ALT_START:case a.db.LINETYPE.OPT_START:case a.db.LINETYPE.PAR_START:case a.db.LINETYPE.PAR_OVER_START:case a.db.LINETYPE.CRITICAL_START:case a.db.LINETYPE.BREAK_START:h.push({id:E.id,msg:E.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case a.db.LINETYPE.ALT_ELSE:case a.db.LINETYPE.PAR_AND:case a.db.LINETYPE.CRITICAL_OPTION:if(E.message)n=h.pop(),o[n.id]=n,o[E.id]=n,h.push(n);break;case a.db.LINETYPE.LOOP_END:case a.db.LINETYPE.ALT_END:case a.db.LINETYPE.OPT_END:case a.db.LINETYPE.PAR_END:case a.db.LINETYPE.CRITICAL_END:case a.db.LINETYPE.BREAK_END:n=h.pop(),o[n.id]=n;break;case a.db.LINETYPE.ACTIVE_START:{let x=e.get(E.from?E.from:E.to.actor),b=oe(E.from?E.from:E.to.actor).length,v=x.x+x.width/2+(b-1)*T.activationWidth/2,y={startx:v,stopx:v+T.activationWidth,actor:E.from,enabled:!0};S.activations.push(y)}break;case a.db.LINETYPE.ACTIVE_END:{let x=S.activations.map((b)=>b.actor).lastIndexOf(E.from);S.activations.splice(x,1).splice(0,1)}break}if(E.placement!==void 0)c=await Ea(E,e,a),E.noteModel=c,h.forEach((x)=>{n=x,n.from=C.getMin(n.from,c.startx),n.to=C.getMax(n.to,c.startx+c.width),n.width=C.getMax(n.width,Math.abs(n.from-n.to))-T.labelBoxWidth});else if(f=xa(E,e,a),E.msgModel=f,f.startx&&f.stopx&&h.length>0)h.forEach((x)=>{if(n=x,f.startx===f.stopx){let b=e.get(E.from),v=e.get(E.to);n.from=C.getMin(b.x-f.width/2,b.x-b.width/2,n.from),n.to=C.getMax(v.x+f.width/2,v.x+b.width/2,n.to),n.width=C.getMax(n.width,Math.abs(n.to-n.from))-T.labelBoxWidth}else n.from=C.getMin(f.startx,n.from),n.to=C.getMax(f.stopx,n.to),n.width=C.getMax(n.width,f.width)-T.labelBoxWidth})}return S.activations=[],i.debug("Loop type widths:",o),o},"calculateLoopBounds"),Ia={bounds:S,drawActors:xe,drawActorsPopup:hr,setConf:dr,draw:Ta},Pa={parser:yr,get db(){return new mr},renderer:Ia,styles:Ar,init:t((r)=>{if(!r.sequence)r.sequence={};if(r.wrap)r.sequence.wrap=r.wrap,xr({sequence:{wrap:r.wrap}})},"init")};export{Pa as diagram};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Bs}from"./chunk-wh028xj6.js";export{Bs as createArchitectureServices};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{v,s,o,a,m,e,n,b,l,ye,zt,$e,be,ge,vt,jt,xe,ce,Vc,di,mi,fi,cs}from"./chunk-ev6xj0qs.js";import{_i,wi,ki}from"./chunk-mtzj1zyw.js";var Ce=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],ue=l("rotate-cw",Ce);function pe(i){let{ApprovalPanel:P,Button:S,CopyButton:H,DetailChip:R,DetailList:g,DetailRow:p,DetailTitle:M,Dialog:D,Switch:Z,Tooltip:u,cn:te,confirm:w,useTheme:ne}=b();ne();let{info:r,connection:j}=i,N=i.projectID?`?projectID=${encodeURIComponent(i.projectID)}`:"",[G,se]=a(),[J,z]=a(),[h,T]=a(!1),[y,E]=a(),[B,O]=a(),Y=r.status.status==="connected",ee=r.status.status==="needs_auth",A=r.status.status==="failed",t=r.config.type==="remote"&&Boolean(r.config.oauth),I=r.projectID!==(i.projectID??null);s(()=>{function d(k){if(k&&k!==r.name)return;j.request(`/api/mcp/${encodeURIComponent(r.name)}/connect${N}`,{method:"POST"}).then((C)=>i.onChanged(C)).catch((C)=>{z(C instanceof Error?C.message:"授权后重新连接失败")})}function c(k){if(k.origin!==window.location.origin)return;if(k.data?.type==="mcp-oauth-success")d(k.data.name)}function f(k){if(k.key==="basalt-mcp-oauth-event"&&k.newValue)try{let C=JSON.parse(k.newValue);d(C.name)}catch(C){}}window.addEventListener("message",c),window.addEventListener("storage",f);let K;if("BroadcastChannel"in window)K=new BroadcastChannel("basalt-mcp-oauth"),K.onmessage=(k)=>{if(k.data?.type==="mcp-oauth-success")d(k.data.name)};return()=>{window.removeEventListener("message",c),window.removeEventListener("storage",f),K?.close()}},[j,r.name,N,i]),s(()=>{if(r.status.status!=="connected")return;j.request(`/api/mcp/${encodeURIComponent(r.name)}/tools${N}`).then((d)=>{if(Array.isArray(d))se(d),z(void 0)}).catch((d)=>{z(d instanceof Error?d.message:"获取工具失败")})},[j,r.name,N,r.status.status]);async function x(d){T(!0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/${d}${N}`,{method:"POST"});i.onChanged(c)}catch{}finally{T(!1)}}async function F(){if(!y||h)return;let d=y.fingerprint;O(void 0),T(!0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/trust${N}`,{method:"POST",body:JSON.stringify({fingerprint:d})});i.onChanged(c),E(void 0)}catch(c){O(c instanceof Error?c.message:"确认失败,请刷新配置")}finally{T(!1)}}async function U(){let d=window.open("about:blank","_blank","width=600,height=700");if(!d){z("授权窗口被浏览器拦截,请允许弹出窗口后重试");return}T(!0),z(void 0);try{let c=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/oauth/authorize${N}`,{method:"POST"}),f=new URL(c.authorizationUrl);if(f.protocol!=="https:"&&f.protocol!=="http:")throw Error("授权服务返回了不支持的链接协议");d.location.href=f.href}catch(c){d.close(),z(c instanceof Error?c.message:"获取授权链接失败")}finally{T(!1)}}async function ie(){T(!0);try{let d=await j.request(`/api/mcp/${encodeURIComponent(r.name)}/oauth/clear${N}`,{method:"POST"});i.onChanged(d)}finally{T(!1)}}async function _(){if(!await w({title:`删除 ${r.name}?`,description:"删除后将断开连接并不再向会话提供其工具。",action:"删除",danger:!0}))return;T(!0);try{await j.request(`/api/mcp/${encodeURIComponent(r.name)}${N}`,{method:"DELETE"}),i.onChanged(),i.onClose()}finally{T(!1)}}let ae=r.config,re=fi(ae),V="error"in r.status?r.status.error:void 0,oe=ae.enabled===!1,le=!oe&&!ee&&r.status.status!=="needs_trust";if(y)return e(D,{open:!0,onOpenChange:(d)=>{if(!d&&!h)E(void 0)},title:`信任 ${r.name}?`,size:"lg",children:n(P,{hideTitle:!0,title:"信任项目本地命令",command:y.command,approveLabel:"信任并连接",busy:h?"approve":void 0,error:B,onDecision:(d)=>{if(d)F();else E(void 0)},description:"项目命令将以你的权限运行,请确认来源可信。",children:[n("div",{className:"flex min-w-0 items-start gap-2 text-xs text-dim",children:[e("span",{className:"shrink-0 leading-5",children:"目录"}),e("code",{className:"min-w-0 flex-1 leading-5 [overflow-wrap:anywhere]",children:y.cwd}),e(H,{text:y.cwd,label:"复制工作目录",size:"icon-xs"})]}),n("section",{className:"min-w-0 space-y-2",children:[e("h3",{className:"text-xs font-medium text-dim",children:"环境变量"}),y.variables.length?e("div",{className:"flex min-w-0 flex-wrap gap-2",children:y.variables.map((d)=>e("span",{className:"max-w-full rounded-md bg-raised px-2 py-1 font-mono text-xs text-dim [overflow-wrap:anywhere]",children:d},d))}):e("p",{className:"text-xs text-faint",children:"无"})]}),e("p",{className:"text-xs leading-5 text-faint",children:"配置变更后需重新确认。"})]})});return e(D,{open:!0,onOpenChange:(d)=>{if(!d&&!h)i.onClose()},title:e(M,{icon:ae.type==="local"?e(jt,{}):e($e,{}),name:r.name,meta:[ae.type==="local"?"本地命令":"远程服务",mi(r.scope),t&&"OAuth 2.0"]}),size:"lg",footer:n("div",{className:"flex w-full items-center justify-between gap-2 max-sm:[&>*]:flex-none",children:[n("div",{className:"inline-flex items-center gap-2.5 text-ui text-dim",children:[!I&&e(Z,{label:`启用 ${r.name}`,checked:!oe,disabled:h||i.toggling,onCheckedChange:i.onToggle}),e(cs,{info:r,tools:!0})]}),n("div",{className:"flex items-center gap-1.5",children:[r.status.status==="needs_trust"&&e(S,{type:"button",size:"sm",onClick:()=>{if(r.status.status!=="needs_trust"||r.config.type!=="local")return;O(void 0),E({fingerprint:r.status.fingerprint,cwd:r.status.cwd,command:fi(r.config),variables:Object.keys(r.config.environment??{})})},disabled:h,children:"信任并连接"}),t&&e(S,{type:"button",variant:"ghost",size:"sm",onClick:ie,disabled:h,children:"清除凭据"}),!I&&e(u,{label:"删除服务器",children:e(S,{type:"button",variant:"danger-ghost",size:"icon","aria-label":"删除服务器",onClick:_,disabled:h,children:e(xe,{className:"size-4"})})}),le&&e(u,{label:"终止服务进程并重新启动,让更新后的代码生效",children:e(S,{type:"button",variant:"ghost",size:"icon","aria-label":"重启",onClick:()=>x("restart"),disabled:h,children:e(ue,{className:te("size-4",h&&"animate-spin")})})}),le&&e(S,{type:"button",size:"sm",onClick:()=>x(Y?"disconnect":"connect"),disabled:h,children:Y?"断开连接":"连接"}),!I&&n(S,{type:"button",size:"sm",onClick:i.onEdit,disabled:h,children:[e(vt,{className:"size-3.5"}),e("span",{children:"编辑配置"})]})]})]}),children:n(g,{children:[n(p,{label:ae.type==="local"?"命令":"地址",children:[e("span",{className:"min-w-0 font-mono text-xs text-dim leading-5.5 [overflow-wrap:anywhere]",children:re}),e(H,{text:re,label:"复制",size:"icon-xs",className:"shrink-0 text-faint hover:text-ink"})]}),ee&&n("div",{className:"flex items-center justify-between gap-4 py-3.5 max-sm:flex-col max-sm:items-start max-sm:gap-2.5",children:[n("div",{className:"min-w-0 space-y-1",children:[e("p",{className:"text-ui text-ink leading-5",children:"需要授权"}),e("p",{className:"text-xs text-faint leading-5",children:"完成授权后即可使用,凭据自动保存。"})]}),e(S,{type:"button",size:"sm",className:"shrink-0",onClick:U,disabled:h,children:h?"正在连接…":"连接账户"})]}),A&&e(p,{label:"错误",children:e("p",{className:"min-w-0 font-mono text-xs text-danger leading-5 [overflow-wrap:anywhere]",children:V})}),e(p,{label:"工具",children:J?e("span",{className:"text-danger",children:J}):!Y?e("span",{className:"text-faint",children:"连接后列出工具"}):!G?e("span",{role:"status",className:"text-faint",children:"正在获取"}):G.length===0?e("span",{className:"text-faint",children:"服务器没有声明任何工具"}):G.map((d)=>e(R,{mono:!0,title:d.description,children:d.name},d.name))})]})})}var we=/^[A-Za-z0-9_-]{1,64}$/;function Q(i){return e("span",{className:"truncate text-xs text-faint",children:i.children})}function fe(i){let{pairs:P,onChange:S,InputComponent:H}=i,R=(g,p)=>S(P.map((M,D)=>D===g?{...M,...p}:M));return n("div",{className:"space-y-2",children:[n("div",{className:"flex min-h-7 items-center gap-2",children:[e("span",{className:"shrink-0 text-ui font-medium text-dim",children:i.label}),e(Q,{children:i.tip}),n("button",{type:"button",className:"ml-auto inline-flex h-7 shrink-0 cursor-pointer items-center gap-1 rounded-lg px-2 text-xs font-medium text-dim transition-colors hover:bg-raised hover:text-ink",onClick:()=>S([...P,{key:"",value:"",saved:!1}]),children:[e(be,{className:"size-3.5"}),"添加"]})]}),P.map((g,p)=>n("div",{className:"flex min-w-0 items-center gap-1.5",children:[e(H,{"aria-label":`${i.keyLabel} ${p+1}`,placeholder:i.keyLabel,value:g.key,readOnly:g.saved,onChange:(M)=>R(p,{key:M.target.value}),className:"min-w-0 flex-[2] font-mono text-xs"}),e(H,{"aria-label":`${i.keyLabel} ${g.key||p+1} 的值`,type:"password",autoComplete:"off",placeholder:g.saved?"已保存,留空保持不变":"值",value:g.value,onChange:(M)=>R(p,{value:M.target.value}),className:"min-w-0 flex-[3] font-mono text-xs"}),e("button",{type:"button","aria-label":`删除 ${g.key||"该项"}`,className:"flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg text-faint transition-colors hover:bg-danger/10 hover:text-danger",onClick:()=>S(P.filter((M,D)=>D!==p)),children:e(ce,{className:"size-4"})})]},p))]})}function he(i){return Object.keys(i??{}).map((P)=>({key:P,value:"",saved:!0}))}function ve(i){let{Button:P,Segmented:S,Dialog:H,Form:R,Field:g,Input:p,Switch:M,style:D,useTheme:Z}=b();Z();let{existing:u}=i,[te,w]=a(u?.config.type??"local"),[ne,r]=a(u?.name??""),[j,N]=a(u?.config.type==="local"?di(u.config.command):""),[G,se]=a(u?.config.type==="remote"?u.config.url:""),[J,z]=a(he(u?.config.type==="local"?u.config.environment:void 0)),[h,T]=a(he(u?.config.type==="remote"?u.config.headers:void 0)),y=u?.config.type==="remote"?u.config.oauth:void 0,[E,B]=a(Boolean(y)),[O,Y]=a(typeof y==="object"&&y.clientId?y.clientId:""),[ee,A]=a(""),[t,I]=a(typeof y==="object"&&y.scope?y.scope:""),[x,F]=a(u?.config.defer??"default"),[U,ie]=a(u?.config.timeout!==void 0?String(u.config.timeout):""),[_,ae]=a(u?.config.defer!==void 0||u?.config.timeout!==void 0),[re,V]=a(),[oe,le]=a(!1);async function d(c){c.preventDefault(),V(void 0);let f=ne.trim();if(!u&&!we.test(f)){V("名称只能包含英文字母、数字、下划线与中划线,长度 1-64");return}if(!u&&i.taken.includes(f)){V("同名服务器已存在");return}let K=U.trim()?Number.parseInt(U.trim(),10):void 0;if(K!==void 0&&(!Number.isFinite(K)||K<=0)){V("超时时间须为大于 0 的毫秒数");return}let k;if(te==="local"){let C=Vc(j.trim());if(!C.length){V("请输入启动命令");return}let W={};for(let q of J){let L=q.key.trim();if(!L)continue;if(!q.saved||q.value)W[L]=q.value}k={type:"local",command:C,environment:Object.keys(W).length?W:void 0,enabled:u?u.config.enabled:!0,defer:x==="default"?void 0:x,timeout:K}}else{let C=G.trim();try{let L=new URL(C);if(L.protocol!=="http:"&&L.protocol!=="https:")throw Error("bad protocol")}catch{V("请输入合法的 HTTP 或 HTTPS 地址");return}let W={};for(let L of h){let de=L.key.trim();if(!de)continue;if(!L.saved||L.value)W[de]=L.value}let q;if(E){let L=O.trim(),de=ee.trim(),me=t.trim();if(L||de||me)q={clientId:L||void 0,clientSecret:de||void 0,scope:me||void 0};else q=!0}else q=!1;k={type:"remote",url:C,headers:Object.keys(W).length?W:void 0,oauth:q,enabled:u?u.config.enabled:!0,defer:x==="default"?void 0:x,timeout:K}}le(!0);try{let C=u?.name??f,W=u?u.projectID:i.projectID,q=W?`?projectID=${encodeURIComponent(W)}`:"";await i.connection.request(`/api/mcp/${encodeURIComponent(C)}${q}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify(k)}),i.onSaved()}catch(C){V(C instanceof Error?C.message:"保存失败")}finally{le(!1)}}return e(H,{open:!0,onOpenChange:(c)=>{if(!c&&!oe)i.onClose()},title:u?`编辑 ${u.name}`:"添加 MCP 服务器",size:"lg",footer:n("div",{className:"flex w-full justify-end gap-2.5",children:[e(P,{type:"button",variant:"ghost",onClick:i.onClose,disabled:oe,className:"min-w-20",children:"取消"}),e(P,{type:"submit",form:"mcp-server-form",variant:"primary",disabled:oe,className:"min-w-24",children:oe?"保存中...":"保存"})]}),children:n(R,{id:"mcp-server-form",onSubmit:d,children:[e(S,{value:te,onChange:(c)=>w(c),className:"w-full [&>button]:flex-1",options:[{value:"local",label:"本地(标准输入输出)"},{value:"remote",label:"远程(HTTP / SSE)"}]}),!u&&e(g,{label:"名称",aside:e(Q,{children:"唯一标识,如 postgres"}),children:(c)=>e(p,{id:c,value:ne,onChange:(f)=>r(f.target.value),placeholder:"postgres",className:"font-mono text-xs"})}),te==="local"?n(m,{children:[e(g,{label:"启动命令",aside:e(Q,{children:"完整命令及参数"}),children:(c)=>e(p,{id:c,value:j,onChange:(f)=>N(f.target.value),placeholder:"npx -y @modelcontextprotocol/server-postgres ...",className:"font-mono text-xs"})}),e(fe,{label:"环境变量",tip:"启动进程时注入",keyLabel:"变量名",pairs:J,onChange:z,InputComponent:p})]}):n(m,{children:[e(g,{label:"服务地址",aside:e(Q,{children:"HTTP / HTTPS 端点"}),children:(c)=>e(p,{id:c,value:G,onChange:(f)=>se(f.target.value),placeholder:"https://example.com/mcp",className:"font-mono text-xs"})}),e(fe,{label:"请求头",tip:"随每次请求发送",keyLabel:"头字段",pairs:h,onChange:T,InputComponent:p}),n("div",{className:"flex items-center justify-between gap-4",children:[n("div",{className:"min-w-0",children:[e("span",{className:"block text-ui font-medium text-dim",children:"OAuth 2.0 认证"}),e("span",{className:"block truncate text-xs text-faint",children:"自动发现授权端点,使用 PKCE 并刷新令牌"})]}),e(M,{checked:E,onCheckedChange:B,label:"启用 OAuth 2.0"})]}),E&&n(m,{children:[e(g,{label:"Client ID",aside:e(Q,{children:"留空自动动态注册(DCR)"}),children:(c)=>e(p,{id:c,value:O,onChange:(f)=>Y(f.target.value),placeholder:"留空自动动态注册",className:"font-mono text-xs"})}),e(g,{label:"Client Secret",aside:e(Q,{children:"留空保持不变"}),children:(c)=>e(p,{id:c,type:"password",autoComplete:"off",value:ee,onChange:(f)=>A(f.target.value),placeholder:"••••••••",className:"font-mono text-xs"})}),e(g,{label:"Scope",aside:e(Q,{children:"选填授权范围"}),children:(c)=>e(p,{id:c,value:t,onChange:(f)=>I(f.target.value),placeholder:"repo read:org",className:"font-mono text-xs"})})]})]}),n("div",{className:"space-y-3 border-t border-line/60 pt-3",children:[n("button",{type:"button","aria-expanded":_,className:"flex w-full cursor-pointer items-center gap-1.5 text-ui font-medium text-dim transition-colors hover:text-ink",onClick:()=>ae(!_),children:[e(zt,{className:`size-3.5 transition-transform ${_?"rotate-90":""}`}),"高级设置",e("span",{className:"truncate text-xs font-normal text-faint",children:"加载时机、超时"})]}),_&&n("div",{className:"grid grid-cols-2 gap-3 max-sm:grid-cols-1",children:[e(g,{label:"加载时机",aside:e(Q,{children:"延迟 = 按需加载"}),children:()=>e(S,{value:x,onChange:(c)=>F(c),className:"w-full [&>button]:flex-1",options:[{value:"default",label:"默认"},{value:"defer",label:"延迟"},{value:"always",label:"常驻"}]})}),e(g,{label:"超时(毫秒)",aside:e(Q,{children:"留空用默认"}),children:(c)=>e(p,{id:c,value:U,onChange:(f)=>ie(f.target.value),placeholder:"默认",className:"font-mono text-xs"})})]})]}),re&&n("div",{role:"alert",className:D("callout.base",D("callout.danger"),"px-3 py-2.5 text-xs"),children:[e(ye,{className:"mt-0.5 size-3.5 shrink-0"}),e("span",{className:"min-w-0 break-words",children:re})]})]})})}var X="global";function He({connection:i}){let{Button:P,Select:S,CatalogRow:H,style:R,useTheme:g}=b();g();let[p,M]=a(""),[D,Z]=a(),[u,te]=a([]),[w,ne]=a(X),[r,j]=a(),[N,G]=a(!1),[se,J]=a(),[z,h]=a(!1),T=o(!1),[y,E]=a(),B=o(0),O=v(async()=>{let t=++B.current;G(!0);try{let I=w===X?"":`?projectID=${encodeURIComponent(w)}`,[x,F]=await Promise.all([i.request(`/api/mcp${I}`),i.request("/api/mcp/projects")]);if(t!==B.current)return;if(Z(x),te(F),w!==X&&!F.some((U)=>U.id===w))ne(X);j(void 0)}catch(I){if(t===B.current)j(I instanceof Error?I.message:"读取失败")}finally{if(t===B.current)G(!1)}},[i,w]);s(()=>(O(),()=>{B.current++}),[O]);async function Y(t,I){if(T.current)return;T.current=!0,h(!0);let x=B.current;try{let F=t.projectID?`?projectID=${encodeURIComponent(t.projectID)}`:"",U=await i.request(`/api/mcp/${encodeURIComponent(t.name)}${F}`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({...t.config,enabled:I})});if(x===B.current)Z((ie)=>ie?.map((_)=>_.name===U.name&&_.projectID===U.projectID?U:_))}finally{T.current=!1,h(!1)}}let ee=D?.filter((t)=>`${t.name} ${fi(t.config)}`.toLowerCase().includes(p.trim().toLowerCase())),A=D?.find((t)=>t.name===se);return n("div",{className:"min-w-0 space-y-6",children:[n("section",{className:"min-w-0",children:[n("div",{className:"mb-2.5 flex flex-wrap items-end justify-between gap-3 px-0.5",children:[n("div",{className:"min-w-0 flex-1 basis-48",children:[e("h2",{className:R("settings.groupTitle"),children:"MCP 服务器"}),e("p",{className:R("settings.groupDesc"),children:"外部工具与数据源管理"})]}),n("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[e(S,{value:w,disabled:N,onValueChange:(t)=>{J(void 0),E(void 0),Z(void 0),ne(t)},groups:[{options:[{value:X,label:"全局"}]},..._i(u)],className:"w-44"}),e(P,{variant:"ghost",disabled:N,onClick:O,className:"h-9 px-2.5 text-xs",children:e(ge,{className:`size-3.5 ${N?"animate-spin":""}`})}),n(P,{variant:"secondary",onClick:()=>E({}),className:"h-9 px-2.5 text-xs",children:[e(be,{className:"size-3.5 mr-1"}),"添加服务器"]})]})]}),r&&n("div",{role:"alert",className:R("callout.base",R("callout.danger"),"mb-3 flex-wrap items-center justify-between"),children:[n("p",{className:"min-w-0 flex-1 break-words text-sm text-danger",children:["无法读取 MCP 服务器:",r]}),e(P,{disabled:N,onClick:O,children:"重试"})]}),e(wi,{label:"搜索 MCP 服务器",placeholder:"搜索服务器",value:p,onChange:M}),e("div",{className:R("settings.groupBox"),children:!D?e(ki,{}):ee?.length===0?e("p",{className:"p-4 text-sm text-dim",children:"没有匹配的 MCP 服务器"}):e("ul",{className:"divide-y divide-line",children:ee?.map((t)=>{let I=t.config.enabled===!1,x=t.projectID!==(w===X?null:w);return e("li",{children:e(H,{name:t.name,selectLabel:`查看 ${t.name}`,onSelect:()=>J(t.name),title:x?"继承的全局配置,请切换到全局范围编辑":void 0,description:e("span",{className:"font-mono text-2xs",children:fi(t.config)}),icon:t.config.type==="local"?e(jt,{}):e($e,{}),inactive:I,aside:n(m,{children:[e("span",{className:R("control.badge"),children:mi(t.scope)}),e(cs,{info:t})]}),toggle:x?void 0:{checked:!I,label:`启用服务器 ${t.name}`,disabled:z||N,onCheckedChange:(F)=>Y(t,F)}})},t.name)})})})]}),A&&!y&&e(pe,{connection:i,info:A,toggling:z,onToggle:(t)=>Y(A,t),projectID:w===X?void 0:w,onClose:()=>J(void 0),onEdit:()=>E({info:A}),onChanged:(t)=>t?Z((I)=>I?.map((x)=>x.name===t.name?t:x)):O()},`${A.projectID}:${A.name}`),y&&e(ve,{connection:i,projectID:w===X?void 0:w,existing:y.info,taken:(D??[]).filter((t)=>t.scope===(w===X?"global":"project")).map((t)=>t.name),onClose:()=>E(void 0),onSaved:()=>{E(void 0),O()}})]})}export{He as McpSection};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{L,a,e,n,ot,en,Q,Ce,pc}from"./chunk-ev6xj0qs.js";function T(t){let i=L(ot);i?.useTheme?.();let s=t.payload,[o,m]=a(!1);if(!s||s.state==="pending")return null;let h=s.questions.map((r)=>r.header).join(" · "),l=s.state==="answered",u=l?Q:en,d=l?"text-success":"text-faint",f=l?"已回答":s.state==="dismissed"?"已忽略提问":"提问已取消",p=l?g(s):h;if(i){let{Collapsible:r,CollapsibleTrigger:y,CollapsibleContent:N,Chevron:v,cn:b}=i;return n(r,{open:o,onOpenChange:m,className:"w-full text-xs text-ink/90 animate-fade",children:[n(y,{className:i.style("chat.timelineRow","cursor-pointer select-none"),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:b("size-3.5",d)})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(v,{className:"size-3.5 shrink-0 text-faint opacity-0 transition-opacity group-hover/collapsible:opacity-100 group-data-[state=open]/collapsible:opacity-100"})]}),e(N,{children:e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:s})})})]})}return n("div",{role:"status",className:"w-full animate-fade",children:[n("button",{type:"button","aria-expanded":o,className:"group -mx-2 flex w-[calc(100%+1rem)] cursor-pointer items-center gap-2 rounded-lg px-2 py-1 text-left text-xs text-faint transition-colors select-none hover:bg-raised/60 hover:text-dim",onClick:()=>m((r)=>!r),children:[e("span",{className:"flex size-4 shrink-0 items-center justify-center",children:e(u,{className:`size-3.5 shrink-0 ${d}`})}),e("span",{className:"shrink-0",children:f}),e("span",{className:"min-w-0 flex-1 truncate opacity-80",title:p,children:p}),e(Ce,{className:`size-3.5 shrink-0 text-faint opacity-0 transition-[opacity,transform] group-hover:opacity-100 ${o?"rotate-180 opacity-100":""}`})]}),o&&e("div",{className:"mt-0.5 mb-1.5 ml-2 border-l border-line py-1 pl-[15px]",children:e(x,{question:s})})]})}function c(t){if(!t)return"未作答";let i=t.selected.map((s)=>pc(s).title);if(t.other)i.push(`其他:${t.other}`);return i.length?i.join("、"):"未作答"}function g(t){if(t.questions.length===1)return`${t.questions[0]?.header??""} · ${c(t.answers?.[0])}`;return t.questions.map((i,s)=>`${i.header} → ${c(t.answers?.[s])}`).join(";")}function x(t){let i=t.question;return e("div",{className:"space-y-2 text-xs",children:i.questions.map((s,o)=>n("div",{className:"space-y-0.5",children:[n("div",{className:"text-dim",children:[e("span",{className:"font-medium text-ink/90",children:s.header})," · ",s.question]}),e("div",{className:"text-ink",children:c(i.answers?.[o])})]},s.header))})}export{T as QuestionCard};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ia}from"./chunk-wh028xj6.js";export{Ia as createRailroadAbnfServices};
|
|
Binary file
|
|
Binary file
|