@bkm016/basalt 0.1.30 → 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/README.md +1 -0
- package/chunk-04326385.js +39 -0
- package/chunk-11zc1b2w.js +3 -0
- package/chunk-12203fgm.js +2 -0
- package/chunk-194d4z7x.js +7 -0
- package/chunk-1apm7p2e.js +2 -0
- package/chunk-2csz31nh.js +2 -0
- package/chunk-2rqpfv4h.js +3 -0
- package/chunk-39cfcar4.js +3 -0
- package/chunk-3dtgkgam.js +4064 -0
- package/chunk-4a5xttdp.js +3 -0
- package/chunk-4st5xeee.js +2 -0
- package/chunk-54qzhq9t.js +50 -0
- package/chunk-5h17n6g1.js +3 -0
- package/chunk-5rn18vrq.js +5 -0
- package/chunk-5tdnvdmz.js +2 -0
- package/chunk-6qavr39k.js +2 -0
- package/chunk-6xn0r0dd.js +3 -0
- package/chunk-7h76jrss.js +7 -0
- package/chunk-7hss4hs3.js +7 -0
- package/chunk-7vdq0wye.js +2 -0
- package/chunk-7w187ycz.js +10 -0
- package/chunk-81s7mvf2.js +16 -0
- package/chunk-8j8acxde.js +2 -0
- package/chunk-9nfz04yr.js +2 -0
- package/chunk-9nkb5q43.js +3 -0
- package/chunk-9vth0w8q.js +2 -0
- package/chunk-9zcfam20.js +2 -0
- package/chunk-a6zvmsbh.js +12 -0
- package/chunk-anr8aghq.js +59 -0
- package/chunk-av8zh9yp.js +2 -0
- package/chunk-bwv97dtf.js +2 -0
- package/chunk-cjy4rssa.js +10 -0
- package/chunk-dmdyqq1k.js +2 -0
- package/chunk-dzvq7vt6.js +2 -0
- package/chunk-ejrksf6g.js +3 -0
- package/chunk-erxka5vh.js +18 -0
- package/chunk-fc41dvhp.js +12 -0
- package/chunk-fsekbhqb.js +3 -0
- package/chunk-fwcqcecb.js +8 -0
- package/chunk-hhwnmhbb.js +2 -0
- package/chunk-jm2bn5mq.js +3 -0
- package/chunk-jm5j5jfy.js +3 -0
- package/chunk-jqtdf0ym.js +63 -0
- package/chunk-jsvr3s4q.js +5 -0
- package/chunk-jwk5a5tk.js +25 -0
- package/chunk-mwc59w50.js +31 -0
- package/chunk-mypbpphn.js +3 -0
- package/chunk-n3hfhbe4.js +498 -0
- package/chunk-ng5ncy65.js +2 -0
- package/chunk-nmvayfq3.js +3 -0
- package/chunk-nw4h0wm9.js +2 -0
- package/chunk-nzpzjbpp.js +51 -0
- package/chunk-p23eqet9.js +2 -0
- package/chunk-pxsgm6ff.js +2 -0
- package/chunk-qqs9fqsy.js +4 -0
- package/chunk-rbfpa63e.js +3 -0
- package/chunk-rsrh5dgx.js +2 -0
- package/chunk-s2pm97nk.js +286 -0
- package/chunk-s6tnmg6x.js +3 -0
- package/chunk-scq1dz62.js +8 -0
- package/chunk-se548edt.js +20 -0
- package/chunk-tsdeeqb8.js +3 -0
- package/chunk-vnv3a6t2.js +3 -0
- package/chunk-vrsh8cx1.js +3 -0
- package/chunk-w3v8zahw.js +2 -0
- package/chunk-w6m8c4vf.js +11 -0
- package/chunk-wd7sj5cv.js +2 -0
- package/chunk-we8v9wkw.js +9 -0
- package/chunk-x055cas0.js +5 -0
- package/chunk-x5vrtxkj.js +3 -0
- package/chunk-x83syrhw.js +44 -0
- package/chunk-xedzsj31.js +5 -0
- package/chunk-xp83v3zm.js +2 -0
- package/chunk-ykzm5g1b.js +25 -0
- package/chunk-yq2bwebb.js +3 -0
- package/chunk-yygcpnwc.js +3 -0
- package/chunk-zjf34acb.js +2 -0
- package/compiled.js +8 -8
- package/package.json +1 -1
- package/ui-test-worker.js +18 -18
- 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-en5n60qw.js +2 -0
- package/web/chunk-en5n60qw.js.br +0 -0
- package/web/chunk-en5n60qw.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-r76we294.js +1 -0
- package/web/chunk-r76we294.js.br +0 -0
- package/web/chunk-r76we294.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-szwh742y.js +2 -0
- package/web/chunk-szwh742y.js.br +0 -0
- package/web/chunk-szwh742y.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-tn39vbcz.js +2 -0
- package/web/chunk-tn39vbcz.js.br +0 -0
- package/web/chunk-tn39vbcz.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-vayamfxv.js +1 -0
- package/web/chunk-vayamfxv.js.br +0 -0
- package/web/chunk-vayamfxv.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/worker.js +1 -1
- package/chunk-01xyv3ct.js +0 -7
- package/chunk-06gjy5s2.js +0 -5
- package/chunk-0pztrs5x.js +0 -11
- package/chunk-0v6seb9q.js +0 -20
- package/chunk-0z138vnr.js +0 -12
- package/chunk-1c8yqctx.js +0 -3
- package/chunk-1wt8pbns.js +0 -2
- package/chunk-1yvgmxew.js +0 -2
- package/chunk-229men2n.js +0 -31
- package/chunk-29x35nj4.js +0 -5
- package/chunk-3ee7dyh4.js +0 -18
- package/chunk-3gf3g0xt.js +0 -3
- package/chunk-3gts3ja0.js +0 -8
- package/chunk-4stj480w.js +0 -3
- package/chunk-4t2t0hcp.js +0 -3
- package/chunk-57b764s0.js +0 -5
- package/chunk-63mr2aa2.js +0 -50
- package/chunk-64h4gw8d.js +0 -3
- package/chunk-7gxx6829.js +0 -2
- package/chunk-898tss1j.js +0 -51
- package/chunk-9em1sne5.js +0 -2
- package/chunk-9p8n1xjn.js +0 -4048
- package/chunk-a0h0x1dn.js +0 -3
- package/chunk-a2r89pk2.js +0 -12
- package/chunk-a5mtw4y5.js +0 -2
- package/chunk-aq6xkc1w.js +0 -3
- package/chunk-bbqhx91f.js +0 -3
- package/chunk-c9q0y8hp.js +0 -4
- package/chunk-cgzez9a5.js +0 -2
- package/chunk-drjajr57.js +0 -3
- package/chunk-dsnz6mzt.js +0 -25
- package/chunk-ee18zzzv.js +0 -3
- package/chunk-eg161ep9.js +0 -3
- package/chunk-ej42zg82.js +0 -2
- package/chunk-ejw7k7nn.js +0 -2
- package/chunk-et2s8y6a.js +0 -3
- package/chunk-f95j1a8x.js +0 -3
- package/chunk-fnxstmm5.js +0 -2
- package/chunk-gtjtkfjk.js +0 -3
- package/chunk-h4rve6x4.js +0 -63
- package/chunk-hp9bcx4x.js +0 -2
- package/chunk-je4cjwhm.js +0 -3
- package/chunk-jn1zdamp.js +0 -9
- package/chunk-jpah46d1.js +0 -2
- package/chunk-jvsrda4n.js +0 -16
- package/chunk-jyhsae16.js +0 -2
- package/chunk-k7n6bhkz.js +0 -3
- package/chunk-kvv3mvk5.js +0 -2
- package/chunk-kzv5cgqz.js +0 -286
- package/chunk-mz3zt06w.js +0 -7
- package/chunk-n4crb1x3.js +0 -2
- package/chunk-nmmf0w14.js +0 -5
- package/chunk-nr5p4pvp.js +0 -3
- package/chunk-p39fex1r.js +0 -2
- package/chunk-pefgy360.js +0 -7
- package/chunk-psr71nf8.js +0 -2
- package/chunk-qsgc7b7x.js +0 -3
- package/chunk-qygv2jqa.js +0 -2
- package/chunk-r449z8pj.js +0 -2
- package/chunk-rd52y45c.js +0 -8
- package/chunk-repjnwda.js +0 -10
- package/chunk-rh6yvdwz.js +0 -3
- package/chunk-s2d5zp37.js +0 -44
- package/chunk-s68eamf1.js +0 -2
- package/chunk-sacdpkwc.js +0 -3
- package/chunk-tey1hftz.js +0 -490
- package/chunk-vhvzyxx5.js +0 -25
- package/chunk-vytm86v0.js +0 -2
- package/chunk-x4bc1xkx.js +0 -39
- package/chunk-xa23zmzv.js +0 -2
- package/chunk-xq7zspqs.js +0 -3
- package/chunk-xqz8ac7j.js +0 -2
- package/chunk-ycce2a81.js +0 -2
- package/chunk-z99s31w5.js +0 -2
- package/chunk-zs6ytk7b.js +0 -59
- package/chunk-ztm5hqwh.js +0 -2
- package/chunk-zv29qg1q.js +0 -10
- package/web/chunk-02z3bqps.js +0 -1
- package/web/chunk-02z3bqps.js.br +0 -0
- package/web/chunk-02z3bqps.js.gz +0 -0
- package/web/chunk-0dg4qqe3.js +0 -1
- package/web/chunk-0dg4qqe3.js.br +0 -2
- package/web/chunk-0dg4qqe3.js.gz +0 -0
- package/web/chunk-0qar8vwc.js +0 -2
- package/web/chunk-0qar8vwc.js.br +0 -0
- package/web/chunk-0qar8vwc.js.gz +0 -0
- package/web/chunk-0qmgmqzd.js +0 -2
- package/web/chunk-0qmgmqzd.js.br +0 -0
- package/web/chunk-0qmgmqzd.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-1q82849a.js +0 -1
- package/web/chunk-1q82849a.js.br +0 -0
- package/web/chunk-1q82849a.js.gz +0 -0
- package/web/chunk-2ajkzs3d.js +0 -12
- package/web/chunk-2ajkzs3d.js.br +0 -0
- package/web/chunk-2ajkzs3d.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-2xrkfj8n.js +0 -291
- package/web/chunk-2xrkfj8n.js.br +0 -0
- package/web/chunk-2xrkfj8n.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-4fzpmw3f.js +0 -89
- package/web/chunk-4fzpmw3f.js.br +0 -0
- package/web/chunk-4fzpmw3f.js.gz +0 -0
- package/web/chunk-51njd9f8.js +0 -89
- package/web/chunk-51njd9f8.js.br +0 -0
- package/web/chunk-51njd9f8.js.gz +0 -0
- package/web/chunk-66zw8mqe.js +0 -2
- package/web/chunk-66zw8mqe.js.br +0 -0
- package/web/chunk-66zw8mqe.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-6x73jtw7.js +0 -7
- package/web/chunk-6x73jtw7.js.br +0 -0
- package/web/chunk-6x73jtw7.js.gz +0 -0
- package/web/chunk-6y389kg6.js +0 -1
- package/web/chunk-6y389kg6.js.br +0 -0
- package/web/chunk-6y389kg6.js.gz +0 -0
- package/web/chunk-73peavw3.js +0 -1
- package/web/chunk-73peavw3.js.br +0 -0
- package/web/chunk-73peavw3.js.gz +0 -0
- package/web/chunk-7p7qtp6d.js +0 -1
- package/web/chunk-7p7qtp6d.js.br +0 -0
- package/web/chunk-7p7qtp6d.js.gz +0 -0
- package/web/chunk-81zj375g.js +0 -1
- package/web/chunk-81zj375g.js.br +0 -0
- package/web/chunk-81zj375g.js.gz +0 -0
- package/web/chunk-89dwrkrr.js +0 -1
- package/web/chunk-89dwrkrr.js.br +0 -0
- package/web/chunk-89dwrkrr.js.gz +0 -0
- package/web/chunk-8e829p0a.css +0 -1
- package/web/chunk-8e829p0a.css.br +0 -0
- package/web/chunk-8e829p0a.css.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-9mgqrwwh.js +0 -1
- package/web/chunk-9mgqrwwh.js.br +0 -0
- package/web/chunk-9mgqrwwh.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-ag97fhx1.js +0 -1
- package/web/chunk-ag97fhx1.js.br +0 -0
- package/web/chunk-ag97fhx1.js.gz +0 -0
- package/web/chunk-anm2706b.js +0 -139
- package/web/chunk-anm2706b.js.br +0 -0
- package/web/chunk-anm2706b.js.gz +0 -0
- package/web/chunk-aqz2exas.js +0 -142
- package/web/chunk-aqz2exas.js.br +0 -0
- package/web/chunk-aqz2exas.js.gz +0 -0
- package/web/chunk-at6wp72y.js +0 -1
- package/web/chunk-at6wp72y.js.br +0 -0
- package/web/chunk-at6wp72y.js.gz +0 -0
- package/web/chunk-ayfqxte8.js +0 -1
- package/web/chunk-ayfqxte8.js.br +0 -2
- package/web/chunk-ayfqxte8.js.gz +0 -0
- package/web/chunk-b564qxgk.js +0 -98
- package/web/chunk-b564qxgk.js.br +0 -0
- package/web/chunk-b564qxgk.js.gz +0 -0
- package/web/chunk-b9atg5sw.js +0 -1
- package/web/chunk-b9atg5sw.js.br +0 -0
- package/web/chunk-b9atg5sw.js.gz +0 -0
- package/web/chunk-bg2k54a5.js +0 -70
- package/web/chunk-bg2k54a5.js.br +0 -0
- package/web/chunk-bg2k54a5.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-c2vtzhbs.js +0 -1
- package/web/chunk-c2vtzhbs.js.br +0 -0
- package/web/chunk-c2vtzhbs.js.gz +0 -0
- package/web/chunk-cb0g87b5.js +0 -2
- package/web/chunk-cb0g87b5.js.br +0 -3
- package/web/chunk-cb0g87b5.js.gz +0 -0
- package/web/chunk-cgm44rx8.js +0 -2
- package/web/chunk-cgm44rx8.js.br +0 -0
- package/web/chunk-cgm44rx8.js.gz +0 -0
- package/web/chunk-ctckn7gz.js +0 -2
- package/web/chunk-ctckn7gz.js.br +0 -0
- package/web/chunk-ctckn7gz.js.gz +0 -0
- package/web/chunk-def5mk0w.js +0 -2
- package/web/chunk-def5mk0w.js.br +0 -0
- package/web/chunk-def5mk0w.js.gz +0 -0
- package/web/chunk-e2nhv6bb.js +0 -2
- package/web/chunk-e2nhv6bb.js.br +0 -0
- package/web/chunk-e2nhv6bb.js.gz +0 -0
- package/web/chunk-e7djq8rb.js +0 -2
- package/web/chunk-e7djq8rb.js.br +0 -0
- package/web/chunk-e7djq8rb.js.gz +0 -0
- package/web/chunk-eagbq8k2.js +0 -1
- package/web/chunk-eagbq8k2.js.br +0 -0
- package/web/chunk-eagbq8k2.js.gz +0 -0
- package/web/chunk-fbxw7w0z.js +0 -1
- package/web/chunk-fbxw7w0z.js.br +0 -0
- package/web/chunk-fbxw7w0z.js.gz +0 -0
- package/web/chunk-fn95dxq2.js +0 -1
- package/web/chunk-fn95dxq2.js.br +0 -0
- package/web/chunk-fn95dxq2.js.gz +0 -0
- package/web/chunk-g3n4tbbv.js +0 -1
- package/web/chunk-g3n4tbbv.js.br +0 -2
- package/web/chunk-g3n4tbbv.js.gz +0 -0
- package/web/chunk-gp0xqyh2.js +0 -62
- package/web/chunk-gp0xqyh2.js.br +0 -0
- package/web/chunk-gp0xqyh2.js.gz +0 -0
- package/web/chunk-h2rv3exr.js +0 -84
- package/web/chunk-h2rv3exr.js.br +0 -0
- package/web/chunk-h2rv3exr.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-h888hb33.js +0 -41
- package/web/chunk-h888hb33.js.br +0 -0
- package/web/chunk-h888hb33.js.gz +0 -0
- package/web/chunk-hc9ep8b0.js +0 -4
- package/web/chunk-hc9ep8b0.js.br +0 -0
- package/web/chunk-hc9ep8b0.js.gz +0 -0
- package/web/chunk-hp0jfbty.js +0 -1
- package/web/chunk-hp0jfbty.js.br +0 -0
- package/web/chunk-hp0jfbty.js.gz +0 -0
- package/web/chunk-hx7rh5c1.js +0 -2
- package/web/chunk-hx7rh5c1.js.br +0 -0
- package/web/chunk-hx7rh5c1.js.gz +0 -0
- package/web/chunk-hzxz7smg.js +0 -24
- package/web/chunk-hzxz7smg.js.br +0 -0
- package/web/chunk-hzxz7smg.js.gz +0 -0
- package/web/chunk-j4w9gj2v.js +0 -1
- package/web/chunk-j4w9gj2v.js.br +0 -0
- package/web/chunk-j4w9gj2v.js.gz +0 -0
- package/web/chunk-j8m3c1s4.js +0 -2
- package/web/chunk-j8m3c1s4.js.br +0 -0
- package/web/chunk-j8m3c1s4.js.gz +0 -0
- package/web/chunk-jamb9e79.js +0 -1
- package/web/chunk-jamb9e79.js.br +0 -0
- package/web/chunk-jamb9e79.js.gz +0 -0
- package/web/chunk-jg19frxn.js +0 -55
- package/web/chunk-jg19frxn.js.br +0 -0
- package/web/chunk-jg19frxn.js.gz +0 -0
- package/web/chunk-jm2pevt8.js +0 -1
- package/web/chunk-jm2pevt8.js.br +0 -0
- package/web/chunk-jm2pevt8.js.gz +0 -0
- package/web/chunk-jmr00kdm.js +0 -214
- package/web/chunk-jmr00kdm.js.br +0 -0
- package/web/chunk-jmr00kdm.js.gz +0 -0
- package/web/chunk-jsff72z2.js +0 -1
- package/web/chunk-jsff72z2.js.br +0 -0
- package/web/chunk-jsff72z2.js.gz +0 -0
- package/web/chunk-jv83dscd.js +0 -1
- package/web/chunk-jv83dscd.js.br +0 -0
- package/web/chunk-jv83dscd.js.gz +0 -0
- package/web/chunk-k0da3cb3.js +0 -1
- package/web/chunk-k0da3cb3.js.br +0 -0
- package/web/chunk-k0da3cb3.js.gz +0 -0
- package/web/chunk-k6ks8zqg.js +0 -1
- package/web/chunk-k6ks8zqg.js.br +0 -0
- package/web/chunk-k6ks8zqg.js.gz +0 -0
- package/web/chunk-kdzew6g1.js +0 -1
- package/web/chunk-kdzew6g1.js.br +0 -2
- package/web/chunk-kdzew6g1.js.gz +0 -0
- package/web/chunk-ktmnzrpf.js +0 -1
- package/web/chunk-ktmnzrpf.js.br +0 -2
- package/web/chunk-ktmnzrpf.js.gz +0 -0
- package/web/chunk-kxezmcn5.js +0 -30
- package/web/chunk-kxezmcn5.js.br +0 -0
- package/web/chunk-kxezmcn5.js.gz +0 -0
- package/web/chunk-kyj99nqq.js +0 -2
- package/web/chunk-kyj99nqq.js.br +0 -0
- package/web/chunk-kyj99nqq.js.gz +0 -0
- package/web/chunk-m1009k4x.js +0 -16
- package/web/chunk-m1009k4x.js.br +0 -0
- package/web/chunk-m1009k4x.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-mgr8wt71.js +0 -370
- package/web/chunk-mgr8wt71.js.br +0 -0
- package/web/chunk-mgr8wt71.js.gz +0 -0
- package/web/chunk-mya0w8tm.js +0 -1
- package/web/chunk-mya0w8tm.js.br +0 -0
- package/web/chunk-mya0w8tm.js.gz +0 -0
- package/web/chunk-n1wgda90.js +0 -7
- package/web/chunk-n1wgda90.js.br +0 -0
- package/web/chunk-n1wgda90.js.gz +0 -0
- package/web/chunk-n7hk5sxm.js +0 -120
- package/web/chunk-n7hk5sxm.js.br +0 -0
- package/web/chunk-n7hk5sxm.js.gz +0 -0
- package/web/chunk-n99yz498.js +0 -36
- package/web/chunk-n99yz498.js.br +0 -0
- package/web/chunk-n99yz498.js.gz +0 -0
- package/web/chunk-nnvqz2dh.js +0 -1
- package/web/chunk-nnvqz2dh.js.br +0 -0
- package/web/chunk-nnvqz2dh.js.gz +0 -0
- package/web/chunk-nx439rde.js +0 -1
- package/web/chunk-nx439rde.js.br +0 -0
- package/web/chunk-nx439rde.js.gz +0 -0
- package/web/chunk-pn50cj2y.js +0 -1
- package/web/chunk-pn50cj2y.js.br +0 -0
- package/web/chunk-pn50cj2y.js.gz +0 -0
- package/web/chunk-pph3x232.js +0 -38
- package/web/chunk-pph3x232.js.br +0 -0
- package/web/chunk-pph3x232.js.gz +0 -0
- package/web/chunk-pt2vfgkr.js +0 -1
- package/web/chunk-pt2vfgkr.js.br +0 -0
- package/web/chunk-pt2vfgkr.js.gz +0 -0
- package/web/chunk-pzvg5xnk.js +0 -21
- package/web/chunk-pzvg5xnk.js.br +0 -0
- package/web/chunk-pzvg5xnk.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-qafnz668.js +0 -1
- package/web/chunk-qafnz668.js.br +0 -0
- package/web/chunk-qafnz668.js.gz +0 -0
- package/web/chunk-qkfqcr10.js +0 -1
- package/web/chunk-qkfqcr10.js.br +0 -0
- package/web/chunk-qkfqcr10.js.gz +0 -0
- package/web/chunk-qkgp0da2.js +0 -1
- package/web/chunk-qkgp0da2.js.br +0 -0
- package/web/chunk-qkgp0da2.js.gz +0 -0
- package/web/chunk-qpqdn0a8.js +0 -1
- package/web/chunk-qpqdn0a8.js.br +0 -0
- package/web/chunk-qpqdn0a8.js.gz +0 -0
- package/web/chunk-r0ch05x8.js +0 -3
- package/web/chunk-r0ch05x8.js.br +0 -0
- package/web/chunk-r0ch05x8.js.gz +0 -0
- package/web/chunk-r6s2vcby.js +0 -8
- package/web/chunk-r6s2vcby.js.br +0 -6
- package/web/chunk-r6s2vcby.js.gz +0 -0
- package/web/chunk-r71mdnq3.js +0 -1
- package/web/chunk-r71mdnq3.js.br +0 -0
- package/web/chunk-r71mdnq3.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-rd60971b.js +0 -2
- package/web/chunk-rd60971b.js.br +0 -0
- package/web/chunk-rd60971b.js.gz +0 -0
- package/web/chunk-rdz21xd5.js +0 -99
- package/web/chunk-rdz21xd5.js.br +0 -0
- package/web/chunk-rdz21xd5.js.gz +0 -0
- package/web/chunk-rmzb9edh.js +0 -303
- package/web/chunk-rmzb9edh.js.br +0 -0
- package/web/chunk-rmzb9edh.js.gz +0 -0
- package/web/chunk-rqkd1h2n.js +0 -2
- package/web/chunk-rqkd1h2n.js.br +0 -0
- package/web/chunk-rqkd1h2n.js.gz +0 -0
- package/web/chunk-rz2cq4g2.js +0 -2
- package/web/chunk-rz2cq4g2.js.br +0 -0
- package/web/chunk-rz2cq4g2.js.gz +0 -0
- package/web/chunk-rzeh9b1q.js +0 -2
- package/web/chunk-rzeh9b1q.js.br +0 -0
- package/web/chunk-rzeh9b1q.js.gz +0 -0
- package/web/chunk-s6ax6yty.js +0 -1
- package/web/chunk-s6ax6yty.js.br +0 -0
- package/web/chunk-s6ax6yty.js.gz +0 -0
- package/web/chunk-s75zvbh9.js +0 -1
- package/web/chunk-s75zvbh9.js.br +0 -0
- package/web/chunk-s75zvbh9.js.gz +0 -0
- package/web/chunk-s7cz1q7g.js +0 -324
- package/web/chunk-s7cz1q7g.js.br +0 -0
- package/web/chunk-s7cz1q7g.js.gz +0 -0
- package/web/chunk-sh6xh1kh.js +0 -1
- package/web/chunk-sh6xh1kh.js.br +0 -0
- package/web/chunk-sh6xh1kh.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-sqa50cfh.js +0 -2
- package/web/chunk-sqa50cfh.js.br +0 -0
- package/web/chunk-sqa50cfh.js.gz +0 -0
- package/web/chunk-stp6j8y9.js +0 -39
- package/web/chunk-stp6j8y9.js.br +0 -0
- package/web/chunk-stp6j8y9.js.gz +0 -0
- package/web/chunk-t7wae2xz.js +0 -332
- package/web/chunk-t7wae2xz.js.br +0 -0
- package/web/chunk-t7wae2xz.js.gz +0 -0
- package/web/chunk-t8p7d5vk.js +0 -2
- package/web/chunk-t8p7d5vk.js.br +0 -0
- package/web/chunk-t8p7d5vk.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-tbj4d6qe.js +0 -292
- package/web/chunk-tbj4d6qe.js.br +0 -0
- package/web/chunk-tbj4d6qe.js.gz +0 -0
- package/web/chunk-v0wb751t.js +0 -2
- package/web/chunk-v0wb751t.js.br +0 -0
- package/web/chunk-v0wb751t.js.gz +0 -0
- package/web/chunk-v1vghfec.js +0 -1
- package/web/chunk-v1vghfec.js.br +0 -0
- package/web/chunk-v1vghfec.js.gz +0 -0
- package/web/chunk-v890rh1e.js +0 -2
- package/web/chunk-v890rh1e.js.br +0 -0
- package/web/chunk-v890rh1e.js.gz +0 -0
- package/web/chunk-vd2kng8p.js +0 -4
- package/web/chunk-vd2kng8p.js.br +0 -0
- package/web/chunk-vd2kng8p.js.gz +0 -0
- package/web/chunk-vfqmec16.js +0 -217
- package/web/chunk-vfqmec16.js.br +0 -0
- package/web/chunk-vfqmec16.js.gz +0 -0
- package/web/chunk-vhmcx472.js +0 -1
- package/web/chunk-vhmcx472.js.br +0 -0
- package/web/chunk-vhmcx472.js.gz +0 -0
- package/web/chunk-vtvf1x6b.js +0 -2
- package/web/chunk-vtvf1x6b.js.br +0 -0
- package/web/chunk-vtvf1x6b.js.gz +0 -0
- package/web/chunk-w0ae9ggt.js +0 -40
- package/web/chunk-w0ae9ggt.js.br +0 -0
- package/web/chunk-w0ae9ggt.js.gz +0 -0
- package/web/chunk-ws8rv0tb.js +0 -1141
- package/web/chunk-ws8rv0tb.js.br +0 -0
- package/web/chunk-ws8rv0tb.js.gz +0 -0
- package/web/chunk-wvnvh4a5.js +0 -78
- package/web/chunk-wvnvh4a5.js.br +0 -0
- package/web/chunk-wvnvh4a5.js.gz +0 -0
- package/web/chunk-x11ewabg.js +0 -1
- package/web/chunk-x11ewabg.js.br +0 -0
- package/web/chunk-x11ewabg.js.gz +0 -0
- package/web/chunk-x2tcf0r1.js +0 -1
- package/web/chunk-x2tcf0r1.js.br +0 -2
- package/web/chunk-x2tcf0r1.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-xbrj4mk1.js +0 -140
- package/web/chunk-xbrj4mk1.js.br +0 -0
- package/web/chunk-xbrj4mk1.js.gz +0 -0
- package/web/chunk-xh8q1bcj.js +0 -34
- package/web/chunk-xh8q1bcj.js.br +0 -0
- package/web/chunk-xh8q1bcj.js.gz +0 -0
- package/web/chunk-xha3t633.js +0 -1
- package/web/chunk-xha3t633.js.br +0 -0
- package/web/chunk-xha3t633.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-xmr18f18.js +0 -1
- package/web/chunk-xmr18f18.js.br +0 -0
- package/web/chunk-xmr18f18.js.gz +0 -0
- package/web/chunk-y372dg1e.js +0 -7
- package/web/chunk-y372dg1e.js.br +0 -0
- package/web/chunk-y372dg1e.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-y778wckc.js +0 -24
- package/web/chunk-y778wckc.js.br +0 -0
- package/web/chunk-y778wckc.js.gz +0 -0
- package/web/chunk-yerpvhym.js +0 -169
- package/web/chunk-yerpvhym.js.br +0 -0
- package/web/chunk-yerpvhym.js.gz +0 -0
- package/web/chunk-yrhe7a7c.js +0 -106
- package/web/chunk-yrhe7a7c.js.br +0 -0
- package/web/chunk-yrhe7a7c.js.gz +0 -0
- package/web/chunk-z2aazpzj.js +0 -2
- package/web/chunk-z2aazpzj.js.br +0 -0
- package/web/chunk-z2aazpzj.js.gz +0 -0
- package/web/chunk-z43td5ad.js +0 -1
- package/web/chunk-z43td5ad.js.br +0 -0
- package/web/chunk-z43td5ad.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-zf42y65m.js +0 -1
- package/web/chunk-zf42y65m.js.br +0 -0
- package/web/chunk-zf42y65m.js.gz +0 -0
- package/web/chunk-zj2rhf4b.js +0 -200
- package/web/chunk-zj2rhf4b.js.br +0 -0
- package/web/chunk-zj2rhf4b.js.gz +0 -0
- package/web/chunk-zkn84jhm.js +0 -2
- package/web/chunk-zkn84jhm.js.br +0 -0
- package/web/chunk-zkn84jhm.js.gz +0 -0
package/chunk-rd52y45c.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{q,Zr,Vn,st,at,t,m}from"./chunk-s2d5zp37.js";import{ot,Et,H,n,c,X,w,i,s,h,it,Be,ke,k,F,ds,ms,Ze,Le,l,pe,mt,Vr,Kr,Qr,oi,Yt,Hn,fr,ht,P,$e,O,z,Xt,he,et,hs,At,gr,ii,zn,Tt,Xr,si,De,fe,qn,Gn,Jt,ai,li,yr,wr,ft,re,Sr,xr,Z}from"./chunk-tey1hftz.js";import{ct}from"./chunk-drjajr57.js";var ls={};ct(ls,{ArchivedError:()=>ft,BadRequestError:()=>t,BusyError:()=>re,DEFAULT_TIMEOUT:()=>Vr,FoldingPolicy:()=>Gn,MAX_ATTACHMENTS:()=>ot,MAX_TIMEOUT:()=>Kr,MAX_TOOL_OUTPUT:()=>Le,NotFoundError:()=>m,PluginCheckError:()=>ht,ProcessRegistry:()=>dr,RemoteHost:()=>Zr,SshHost:()=>st,Type:()=>Be,aliased:()=>ke,budget:()=>qn,calls:()=>$e,clip:()=>pe,clipSaved:()=>mt,connectCommand:()=>Vn,dataDir:()=>at,definePlugin:()=>P,estimateMessage:()=>z,estimateTokens:()=>O,estimateTools:()=>Xt,extensionTranscript:()=>li,findWindowsBash:()=>Qr,foldPoint:()=>zn,foldedThrough:()=>At,formatLines:()=>yr,gateShellCommand:()=>Ze,groupRuns:()=>et,hasFoldedHistory:()=>Xr,historyTodos:()=>xr,localHost:()=>q,newID:()=>Z,normalizeRunRecords:()=>hs,preview:()=>he,processRegistry:()=>jr,project:()=>De,projectUserText:()=>Tt,releaseProcesses:()=>Hr,requestBody:()=>L,resolveShellCommand:()=>Yt,retainProcesses:()=>Wr,routeParam:()=>v,runShell:()=>fr,sealPoint:()=>gr,selectHistory:()=>Sr,sessionTools:()=>wr,shellSpawnOptions:()=>Hn,staleFold:()=>ii,text:()=>l,timerClock:()=>ze,tool:()=>k,toolSession:()=>F,transcript:()=>Jt,usable:()=>fe,userTranscript:()=>ai,validAttachment:()=>Et,workState:()=>si});var ze={now:()=>Date.now(),after(e,o){let r=setTimeout(o,e);return()=>clearTimeout(r)}};var Mr=1048576,ha=262144,Tr=8,xa=32,va=4096;class dr{cwd;outputLimit;terminal;shellPreference;extraPath;host;jobs=new Map;closed=!1;constructor(e,o=30000,r,f,a,d=q){this.cwd=e;this.outputLimit=o;this.terminal=r;this.shellPreference=f;this.extraPath=a;this.host=d}dialect(){let e=typeof this.shellPreference==="function"?this.shellPreference():this.shellPreference;return Yt("",e,this.host).shellName}setTerminalObserver(e){this.terminal=e}start(e,o,r){let f=r?.observer,a=r?.clock??ze;if(this.closed)throw Error("\u540E\u53F0\u4EFB\u52A1\u6CE8\u518C\u8868\u5DF2\u5173\u95ED");if(!r?.shellGuardApproved){let A=ds(e,this.dialect());if(A.length>0)throw Error(ms(A))}if(this.list().filter((A)=>A.state==="running").length>=Tr)throw Error(`\u540E\u53F0\u4EFB\u52A1\u5E76\u53D1\u6570\u5DF2\u8FBE\u4E0A\u9650\uFF08${Tr}\uFF09`);let p=[...this.jobs.values()].filter((A)=>A.state!=="running");for(let A of p.slice(0,Math.max(0,p.length-xa+1)))this.jobs.delete(A.id);let u=typeof this.shellPreference==="function"?this.shellPreference():this.shellPreference,{argv:y,isWindows:R}=Yt(e,u,this.host),S=this.host.spawn(y,{...Hn(this.cwd,this.extraPath,this.host),stdin:r?.stdin}),g={id:`j${crypto.randomUUID()}`,command:e,cwd:this.cwd,proc:S,stdin:Boolean(r?.stdin),started:a.now(),state:"running",code:null,output:"",outputBytes:0,readAt:0,dropped:0,unreadDroppedBytes:0,done:Promise.resolve(),waiters:[]};this.jobs.set(g.id,g);let T=()=>{for(let A of g.waiters.splice(0))A()},M=async(A,J)=>{let U=new oi(R);for await(let Q of A){let ge=U.decode(Q);if(g.output+=ge,g.outputBytes+=Buffer.byteLength(ge),f?.output(ge,J),g.outputBytes>Mr+ha){let se=Buffer.from(g.output),de=se.length-Mr;while(de<se.length&&(se[de]??0)>>6===2)de++;let ye=se.subarray(de).toString(),ve=g.output.length-ye.length;g.unreadDroppedBytes+=Buffer.byteLength(g.output.slice(Math.max(0,g.readAt-g.dropped),ve)),g.output=ye,g.outputBytes=se.length-de,g.dropped+=ve}T()}let V=U.flush();if(g.output+=V,g.outputBytes+=Buffer.byteLength(V),V)f?.output(V,J)},C,N=Promise.all([M(S.stdout,"stdout"),M(S.stderr,"stderr")]).catch((A)=>{C=A,g.proc.kill().catch(()=>{})}),j=!1;if(g.done=(async()=>{if(g.code=await S.exited,g.timer?.(),await Mt(g.proc.kill(),12000,"\u6E05\u7406\u540E\u53F0\u4EFB\u52A1\u8FDB\u7A0B\u6811\u8D85\u65F6"),await Mt(N,2000,"\u540E\u53F0\u4EFB\u52A1\u8F93\u51FA\u7BA1\u9053\u672A\u5173\u95ED\uFF0C\u53EF\u80FD\u4ECD\u6709\u6B8B\u7559\u8FDB\u7A0B"),C)throw C;if(g.state==="running")g.state="exited";if(j=!0,f?.end(g.state,g.code),!f&&g.state!=="killed")this.terminal?.(g);T()})().catch((A)=>{g.error=A,g.state="exited",g.output+=`
|
|
3
|
-
[\u540E\u53F0\u4EFB\u52A1\u5904\u7406\u5931\u8D25: ${String(A)}]`;try{if(!j)f?.end(g.state,g.code)}catch{}if(!f)this.terminal?.(g,A);T()}),o!==void 0)g.timer=a.after(o,()=>{if(g.state==="running")g.state="timeout",g.proc.kill().catch(()=>{})});return g}find(e){let o=this.jobs.get(e);if(!o)throw Error(`\u540E\u53F0\u4EFB\u52A1\u4E0D\u5B58\u5728: ${e}`);return o}list(){return[...this.jobs.values()].map((e)=>({id:e.id,command:e.command,state:e.state,code:e.code,started:e.started}))}peek(e,o=0,r=64000){let f=this.find(e),a=f.output.slice(Math.max(0,o-f.dropped));return{id:f.id,command:f.command,state:f.state,code:f.code,output:a.slice(-r),next:f.dropped+f.output.length,truncated:o<f.dropped||a.length>r}}async read(e,o,r=0,f=!1,a,d){let p=this.find(e),u=o?new RegExp(o):void 0,y=Date.now()+r;a?.throwIfAborted();let R=p.readAt;while(p.state==="running"){a?.throwIfAborted();let C=Math.max(p.readAt,R-va),N=p.output.slice(Math.max(0,C-p.dropped));if(R=p.dropped+p.output.length,(u?u.test(N):!f)||Date.now()>=y||d?.aborted)break;await new Promise((j,A)=>{let J=()=>{clearTimeout(V),d?.removeEventListener("abort",U);let Q=p.waiters.indexOf(U);if(Q>=0)p.waiters.splice(Q,1);A(a?.reason)},U=()=>{clearTimeout(V),a?.removeEventListener("abort",J),d?.removeEventListener("abort",U);let Q=p.waiters.indexOf(U);if(Q>=0)p.waiters.splice(Q,1);j()},V=setTimeout(U,Math.max(0,y-Date.now()));p.waiters.push(U),a?.addEventListener("abort",J,{once:!0}),d?.addEventListener("abort",U,{once:!0})})}a?.throwIfAborted();let S=p.unreadDroppedBytes;p.unreadDroppedBytes=0;let g=p.output.slice(Math.max(0,p.readAt-p.dropped));p.readAt=p.dropped+p.output.length;let T=g.slice(-this.outputLimit),M=S+Buffer.byteLength(g.slice(0,g.length-T.length));return{job:p,output:`${M?`[truncated ${M} bytes]
|
|
4
|
-
`:""}${T}`,stopped:p.state==="running"&&d?.aborted===!0}}async write(e,o,r=!1,f){let a=this.find(e);if(a.state!=="running")throw Error(`\u540E\u53F0\u4EFB\u52A1\u5DF2\u7ED3\u675F: ${e}`);if(!a.stdin)throw Error(`\u540E\u53F0\u4EFB\u52A1\u672A\u5F00\u653E stdin: ${e}`);if(o){let d=await Ze(o,f,this.dialect());if(d)throw Error(d);await a.proc.write(o)}if(r)await a.proc.end()}async stop(e){let o=this.find(e);if(o.state==="running"||o.error)await Mt(o.proc.kill(),12000,"\u7EC8\u6B62\u540E\u53F0\u4EFB\u52A1\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u76EE\u6807\u673A\u5668\u7684\u8FDE\u63A5\u4E0E\u8FDB\u7A0B\u6743\u9650"),o.error=void 0,o.state="killed";if(await Mt(o.done,15000,"\u540E\u53F0\u4EFB\u52A1\u672A\u5B8C\u6210\u9000\u51FA\uFF0C\u8BF7\u68C0\u67E5\u662F\u5426\u6709\u6B8B\u7559\u8FDB\u7A0B"),o.error)throw o.error;return{id:o.id,state:o.state,code:o.code}}async idle(){await Promise.all([...this.jobs.values()].map((e)=>e.done))}close(){this.closed=!0;for(let e of this.jobs.values())if(e.state==="running")e.state="killed",e.proc.kill().catch(()=>{})}}async function Mt(e,o,r){let f;try{return await Promise.race([e,new Promise((a,d)=>{f=setTimeout(()=>d(Error(r)),o)})])}finally{clearTimeout(f)}}var wt=new WeakMap,Lt=new WeakMap;function jr(e,o){let r=wt.get(e);if(!r)r=o(),wt.set(e,r);return r}function Wr(e){Lt.set(e,(Lt.get(e)??0)+1)}function Hr(e,o){let r=(Lt.get(o)??1)-1;if(Lt.set(o,r),r>0)return!1;if(o.close(),wt.get(e)===o)wt.delete(e);return!0}async function L(e){let o=await e.json();if(!o||typeof o!=="object"||Array.isArray(o))throw new t("expected a JSON object");return o}function v(e,o){let r=e[o];if(!r)throw new t(`${o} is required`);return r}var ei=100,zr=1e4,ka=60000,Ma=200,W=()=>s(),Lr=()=>n(w({minimum:1,maximum:zr})),Qe=()=>n(s({minLength:1,maxLength:128})),wa=h([c({click:h([W(),c({selector:W()})])}),c({type:c({label:W(),text:W()})}),c({waitText:W(),timeoutMs:Lr()}),c({expectText:W(),within:n(W())}),c({waitSelector:W(),timeoutMs:Lr()}),c({expectCount:c({selector:W(),n:w({minimum:0})})}),c({snapshot:c({selector:W(),depth:n(w({minimum:0,maximum:Ma}))})}),c({expectCalls:c({onOpen:n(H(W())),onClose:n(w({minimum:0}))})}),c({expectValue:c({label:W(),value:W()})})]),Ta=c({status:w({minimum:100,maximum:599}),body:X(),delayMs:n(w({minimum:0,maximum:zr}))}),La=h([i("paths"),i("request"),i("verify"),i("ui_test"),i("list"),i("docs"),i("check"),i("load"),i("reload"),i("enable"),i("disable")]),za=h([i("page"),i("tab"),i("card"),i("sidebar")]),fa=c({action:La,path:n(s({minLength:1,maxLength:4096})),method:n(W()),body:n(it(W(),X())),importTimeoutMs:n(w({minimum:1,maximum:zr})),timeoutMs:n(w({minimum:1,maximum:ka})),sessionID:Qe(),scope:n(h([i("user"),i("all")])),id:Qe(),slot:Qe(),view:Qe(),codeBlock:Qe(),kind:n(za),props:n(it(W(),X())),context:n(it(W(),X())),steps:n(H(wa,{maxItems:ei})),mockRoutes:n(it(W(),Ta)),topic:n(s({maxLength:100})),grep:n(s({minLength:1,maxLength:200}))});var Ra=(e,o)=>{if(typeof e!=="number")return;if(o===3)return{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|e&240)/255,b:(e&15|e<<4&240)/255};if(o===4)return{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|e&240)/255,alpha:(e&15|e<<4&240)/255};if(o===6)return{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(e&255)/255};if(o===8)return{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(e&255)/255}},zt=Ra;var Sa={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Rr=Sa;var _a=(e)=>zt(Rr[e.toLowerCase()],6),_r=_a;var Pa=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,Ha=(e)=>{let o;return(o=e.match(Pa))?zt(parseInt(o[1],16),o[1].length):void 0},Pr=Ha;var Rt="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)";var Ae="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%";var tt="(?:([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%|([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?))";var Or="(?:([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)(deg|grad|rad|turn)|([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?))";var Me="\\s*,\\s*";var q0=new RegExp("^(?:([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%|([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)|none)$");var Xa=new RegExp(`^rgba?\\(\\s*${Rt}${Me}${Rt}${Me}${Rt}\\s*(?:,\\s*${tt}\\s*)?\\)$`),Oa=new RegExp(`^rgba?\\(\\s*${Ae}${Me}${Ae}${Me}${Ae}\\s*(?:,\\s*${tt}\\s*)?\\)$`),Ca=(e)=>{let o={mode:"rgb"},r;if(r=e.match(Xa)){if(r[1]!==void 0)o.r=r[1]/255;if(r[2]!==void 0)o.g=r[2]/255;if(r[3]!==void 0)o.b=r[3]/255}else if(r=e.match(Oa)){if(r[1]!==void 0)o.r=r[1]/100;if(r[2]!==void 0)o.g=r[2]/100;if(r[3]!==void 0)o.b=r[3]/100}else return;if(r[4]!==void 0)o.alpha=Math.max(0,Math.min(1,r[4]/100));else if(r[5]!==void 0)o.alpha=Math.max(0,Math.min(1,+r[5]));return o},Cr=Ca;var Aa=(e,o)=>e===void 0?void 0:typeof e!=="object"?nt(e):e.mode!==void 0?e:o?{...e,mode:o}:void 0,rt=Aa;var Ia=(e="rgb")=>(o)=>(o=rt(o,e))!==void 0?o.mode===e?o:me[o.mode][e]?me[o.mode][e](o):e==="rgb"?me[o.mode].rgb(o):me.rgb[e](me[o.mode].rgb(o)):void 0,ce=Ia;var me={},Ar={},lt=[],vo={},$a=(e)=>e,D=(e)=>{if(me[e.mode]={...me[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach((o)=>{if(!me[o])me[o]={};me[o][e.mode]=e.fromMode[o]}),!e.ranges)e.ranges={};if(!e.difference)e.difference={};return e.channels.forEach((o)=>{if(e.ranges[o]===void 0)e.ranges[o]=[0,1];if(!e.interpolate[o])throw Error(`Missing interpolator for: ${o}`);if(typeof e.interpolate[o]==="function")e.interpolate[o]={use:e.interpolate[o]};if(!e.interpolate[o].fixup)e.interpolate[o].fixup=$a}),Ar[e.mode]=e,(e.parse||[]).forEach((o)=>{Na(o,e.mode)}),ce(e.mode)},Ie=(e)=>Ar[e],Na=(e,o)=>{if(typeof e==="string"){if(!o)throw Error("'mode' required when 'parser' is a string");vo[e]=o}else if(typeof e==="function"){if(lt.indexOf(e)<0)lt.push(e)}};var yo=/[^\x00-\x7F]|[a-zA-Z_]/,qa=/[^\x00-\x7F]|[-\w]/,b={Function:"function",Ident:"ident",Number:"number",Percentage:"percentage",ParenClose:")",None:"none",Hue:"hue",Alpha:"alpha"},_=0;function St(e){let o=e[_],r=e[_+1];if(o==="-"||o==="+")return/\d/.test(r)||r==="."&&/\d/.test(e[_+2]);if(o===".")return/\d/.test(r);return/\d/.test(o)}function ko(e){if(_>=e.length)return!1;let o=e[_];if(yo.test(o))return!0;if(o==="-"){if(e.length-_<2)return!1;let r=e[_+1];if(r==="-"||yo.test(r))return!0;return!1}return!1}var ja={deg:1,rad:180/Math.PI,grad:0.9,turn:360};function dt(e){let o="";if(e[_]==="-"||e[_]==="+")o+=e[_++];if(o+=_t(e),e[_]==="."&&/\d/.test(e[_+1]))o+=e[_++]+_t(e);if(e[_]==="e"||e[_]==="E"){if((e[_+1]==="-"||e[_+1]==="+")&&/\d/.test(e[_+2]))o+=e[_++]+e[_++]+_t(e);else if(/\d/.test(e[_+1]))o+=e[_++]+_t(e)}if(ko(e)){let r=Pt(e);if(r==="deg"||r==="rad"||r==="turn"||r==="grad")return{type:b.Hue,value:o*ja[r]};return}if(e[_]==="%")return _++,{type:b.Percentage,value:+o};return{type:b.Number,value:+o}}function _t(e){let o="";while(/\d/.test(e[_]))o+=e[_++];return o}function Pt(e){let o="";while(_<e.length&&qa.test(e[_]))o+=e[_++];return o}function Da(e){let o=Pt(e);if(e[_]==="(")return _++,{type:b.Function,value:o};if(o==="none")return{type:b.None,value:void 0};return{type:b.Ident,value:o}}function Ea(e=""){let o=e.trim(),r=[],f;_=0;while(_<o.length){if(f=o[_++],f===`
|
|
5
|
-
`||f==="\t"||f===" "){while(_<o.length&&(o[_]===`
|
|
6
|
-
`||o[_]==="\t"||o[_]===" "))_++;continue}if(f===",")return;if(f===")"){r.push({type:b.ParenClose});continue}if(f==="+"){if(_--,St(o)){r.push(dt(o));continue}return}if(f==="-"){if(_--,St(o)){r.push(dt(o));continue}if(ko(o)){r.push({type:b.Ident,value:Pt(o)});continue}return}if(f==="."){if(_--,St(o)){r.push(dt(o));continue}return}if(f==="/"){while(_<o.length&&(o[_]===`
|
|
7
|
-
`||o[_]==="\t"||o[_]===" "))_++;let a;if(St(o)){if(a=dt(o),a.type!==b.Hue){r.push({type:b.Alpha,value:a});continue}}if(ko(o)){if(Pt(o)==="none"){r.push({type:b.Alpha,value:{type:b.None,value:void 0}});continue}}return}if(/\d/.test(f)){_--,r.push(dt(o));continue}if(yo.test(f)){_--,r.push(Da(o));continue}return}return r}function Ja(e){e._i=0;let o=e[e._i++];if(!o||o.type!==b.Function||o.value!=="color")return;if(o=e[e._i++],o.type!==b.Ident)return;let r=vo[o.value];if(!r)return;let f={mode:r},a=Ir(e,!1);if(!a)return;let d=Ie(r).channels;for(let p=0,u,y;p<d.length;p++)if(u=a[p],y=d[p],u.type!==b.None){if(f[y]=u.type===b.Number?u.value:u.value/100,y==="alpha")f[y]=Math.max(0,Math.min(1,f[y]))}return f}function Ir(e,o){let r=[],f;while(e._i<e.length){if(f=e[e._i++],f.type===b.None||f.type===b.Number||f.type===b.Alpha||f.type===b.Percentage||o&&f.type===b.Hue){r.push(f);continue}if(f.type===b.ParenClose){if(e._i<e.length)return;continue}return}if(r.length<3||r.length>4)return;if(r.length===4){if(r[3].type!==b.Alpha)return;r[3]=r[3].value}if(r.length===3)r.push({type:b.None,value:void 0});return r.every((a)=>a.type!==b.Alpha)?r:void 0}function Ba(e,o){e._i=0;let r=e[e._i++];if(!r||r.type!==b.Function)return;let f=Ir(e,o);if(!f)return;return f.unshift(r.value),f}var Fa=(e)=>{if(typeof e!=="string")return;let o=Ea(e),r=o?Ba(o,!0):void 0,f=void 0,a=0,d=lt.length;while(a<d)if((f=lt[a++](e,r))!==void 0)return f;return o?Ja(o):void 0},nt=Fa;function Ua(e,o){if(!o||o[0]!=="rgb"&&o[0]!=="rgba")return;let r={mode:"rgb"},[,f,a,d,p]=o;if(f.type===b.Hue||a.type===b.Hue||d.type===b.Hue)return;if(f.type!==b.None)r.r=f.type===b.Number?f.value/255:f.value/100;if(a.type!==b.None)r.g=a.type===b.Number?a.value/255:a.value/100;if(d.type!==b.None)r.b=d.type===b.Number?d.value/255:d.value/100;if(p.type!==b.None)r.alpha=Math.min(1,Math.max(0,p.type===b.Number?p.value:p.value/100));return r}var $r=Ua;var Ya=(e)=>e==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,Nr=Ya;var qr=(e,o,r)=>e+r*(o-e);var Wa=(e)=>{let o=[];for(let r=0;r<e.length-1;r++){let f=e[r],a=e[r+1];if(f===void 0&&a===void 0)o.push(void 0);else if(f!==void 0&&a!==void 0)o.push([f,a]);else o.push(f!==void 0?[f,f]:[a,a])}return o},Dr=(e)=>(o)=>{let r=Wa(o);return(f)=>{let a=f*r.length,d=f>=1?r.length-1:Math.max(Math.floor(a),0),p=r[d];return p===void 0?void 0:e(p[0],p[1],a-d)}};var x=Dr(qr);var I=(e)=>{let o=!1,r=e.map((f)=>{if(f!==void 0)return o=!0,f;return 1});return o?r:e};var Ga={mode:"rgb",channels:["r","g","b","alpha"],parse:[$r,Pr,Cr,_r,Nr,"srgb"],serialize:"srgb",interpolate:{r:x,g:x,b:x,alpha:{use:x,fixup:I}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},ae=Ga;var Mo=(e=0)=>Math.pow(Math.abs(e),2.19921875)*Math.sign(e),Za=(e)=>{let o=Mo(e.r),r=Mo(e.g),f=Mo(e.b),a={mode:"xyz65",x:0.5766690429101305*o+0.1855582379065463*r+0.1882286462349947*f,y:0.297344975250536*o+0.6273635662554661*r+0.0752914584939979*f,z:0.0270313613864123*o+0.0706888525358272*r+0.9913375368376386*f};if(e.alpha!==void 0)a.alpha=e.alpha;return a},wo=Za;var To=(e)=>Math.pow(Math.abs(e),0.4547069271758437)*Math.sign(e),Ka=({x:e,y:o,z:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a={mode:"a98",r:To(e*2.0415879038107465-o*0.5650069742788597-0.3447313507783297*r),g:To(e*-0.9692436362808798+o*1.8759675015077206+0.0415550574071756*r),b:To(e*0.0134442806320312-o*0.1183623922310184+1.0151749943912058*r)};if(f!==void 0)a.alpha=f;return a},Lo=Ka;var zo=(e=0)=>{let o=Math.abs(e);if(o<=0.04045)return e/12.92;return(Math.sign(e)||1)*Math.pow((o+0.055)/1.055,2.4)},Va=({r:e,g:o,b:r,alpha:f})=>{let a={mode:"lrgb",r:zo(e),g:zo(o),b:zo(r)};if(f!==void 0)a.alpha=f;return a},ie=Va;var Qa=(e)=>{let{r:o,g:r,b:f,alpha:a}=ie(e),d={mode:"xyz65",x:0.4123907992659593*o+0.357584339383878*r+0.1804807884018343*f,y:0.2126390058715102*o+0.715168678767756*r+0.0721923153607337*f,z:0.0193308187155918*o+0.119194779794626*r+0.9505321522496607*f};if(a!==void 0)d.alpha=a;return d},ee=Qa;var Ro=(e=0)=>{let o=Math.abs(e);if(o>0.0031308)return(Math.sign(e)||1)*(1.055*Math.pow(o,0.4166666666666667)-0.055);return e*12.92},ri=({r:e,g:o,b:r,alpha:f},a="rgb")=>{let d={mode:a,r:Ro(e),g:Ro(o),b:Ro(r)};if(f!==void 0)d.alpha=f;return d},le=ri;var ni=({x:e,y:o,z:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=le({r:e*3.2409699419045226-o*1.537383177570094-0.4986107602930034*r,g:e*-0.9692436362808796+o*1.8759675015077204+0.0415550574071756*r,b:e*0.0556300796969936-o*0.2039769588889765+1.0569715142428784*r});if(f!==void 0)a.alpha=f;return a},te=ni;var fi={...ae,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:(e)=>Lo(ee(e)),xyz65:Lo},toMode:{rgb:(e)=>te(wo(e)),xyz65:wo}},Er=fi;var di=(e)=>(e=e%360)<0?e+360:e,E=di;var pi=(e,o)=>e.map((r,f,a)=>{if(r===void 0)return r;let d=E(r);if(f===0||e[f-1]===void 0)return d;return o(d-E(a[f-1]))}).reduce((r,f)=>{if(!r.length||f===void 0||r[r.length-1]===void 0)return r.push(f),r;return r.push(f+r[r.length-1]),r},[]),G=(e)=>pi(e,(o)=>Math.abs(o)<=180?o:o-360*Math.sign(o));var Y=[-0.14861,1.78277,-0.29227,-0.90649,1.97294,0],Jr=Math.PI/180,Br=180/Math.PI;var Fr=Y[3]*Y[4],Ur=Y[1]*Y[4],Yr=Y[1]*Y[2]-Y[0]*Y[3],mi=({r:e,g:o,b:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=(Yr*r+e*Fr-o*Ur)/(Yr+Fr-Ur),d=r-a,p=(Y[4]*(o-a)-Y[2]*d)/Y[3],u={mode:"cubehelix",l:a,s:a===0||a===1?void 0:Math.sqrt(d*d+p*p)/(Y[4]*a*(1-a))};if(u.s)u.h=Math.atan2(p,d)*Br-120;if(f!==void 0)u.alpha=f;return u},Gr=mi;var ci=({h:e,s:o,l:r,alpha:f})=>{let a={mode:"rgb"};if(e=(e===void 0?0:e+120)*Jr,r===void 0)r=0;let d=o===void 0?0:o*r*(1-r),p=Math.cos(e),u=Math.sin(e);if(a.r=r+d*(Y[0]*p+Y[1]*u),a.g=r+d*(Y[2]*p+Y[3]*u),a.b=r+d*(Y[4]*p+Y[5]*u),f!==void 0)a.alpha=f;return a},en=ci;var we=(e,o)=>{if(e.h===void 0||o.h===void 0||!e.s||!o.s)return 0;let r=E(e.h),f=E(o.h),a=Math.sin((f-r+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*o.s)*a},tn=(e,o)=>{if(e.h===void 0||o.h===void 0)return 0;let r=E(e.h),f=E(o.h);if(Math.abs(f-r)>180)return r-(f-360*Math.sign(f-r));return f-r},Te=(e,o)=>{if(e.h===void 0||o.h===void 0||!e.c||!o.c)return 0;let r=E(e.h),f=E(o.h),a=Math.sin((f-r+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*o.c)*a};var K=(e)=>{let o=e.reduce((f,a)=>{if(a!==void 0){let d=a*Math.PI/180;f.sin+=Math.sin(d),f.cos+=Math.cos(d)}return f},{sin:0,cos:0}),r=Math.atan2(o.sin,o.cos)*180/Math.PI;return r<0?360+r:r};var ui={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:Gr},toMode:{rgb:en},interpolate:{h:{use:x,fixup:G},s:x,l:x,alpha:{use:x,fixup:I}},difference:{h:we},average:{h:K}},on=ui;var hi=({l:e,a:o,b:r,alpha:f},a="lch")=>{if(o===void 0)o=0;if(r===void 0)r=0;let d=Math.sqrt(o*o+r*r),p={mode:a,l:e,c:d};if(d)p.h=E(Math.atan2(r,o)*180/Math.PI);if(f!==void 0)p.alpha=f;return p},oe=hi;var bi=({l:e,c:o,h:r,alpha:f},a="lab")=>{if(r===void 0)r=0;let d={mode:a,l:e,a:o?o*Math.cos(r/180*Math.PI):0,b:o?o*Math.sin(r/180*Math.PI):0};if(f!==void 0)d.alpha=f;return d},ne=bi;var Ht=Math.pow(29,3)/Math.pow(3,3),Ot=Math.pow(6,3)/Math.pow(29,3);var B={X:0.9642956764295677,Y:1,Z:0.8251046025104602},Re={X:0.9504559270516716,Y:1,Z:1.0890577507598784},Qf=Math.pow(29,3)/Math.pow(3,3),es=Math.pow(6,3)/Math.pow(29,3);var So=(e)=>Math.pow(e,3)>Ot?Math.pow(e,3):(116*e-16)/Ht,xi=({l:e,a:o,b:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=(e+16)/116,d=o/500+a,p=a-r/200,u={mode:"xyz65",x:So(d)*Re.X,y:So(a)*Re.Y,z:So(p)*Re.Z};if(f!==void 0)u.alpha=f;return u},Ct=xi;var gi=(e)=>te(Ct(e)),Se=gi;var _o=(e)=>e>Ot?Math.cbrt(e):(Ht*e+16)/116,vi=({x:e,y:o,z:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=_o(e/Re.X),d=_o(o/Re.Y),p=_o(r/Re.Z),u={mode:"lab65",l:116*d-16,a:500*(a-d),b:200*(d-p)};if(f!==void 0)u.alpha=f;return u},It=vi;var yi=(e)=>{let o=It(ee(e));if(e.r===e.b&&e.b===e.g)o.a=o.b=0;return o},_e=yi;var Ee=1,$t=1,Ne=0.14444444444444443*Math.PI,Je=Math.cos(Ne),Fe=Math.sin(Ne),Nt=100/Math.log(1.39);var ki=({l:e,c:o,h:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a={mode:"lab65",l:(Math.exp(e*Ee/Nt)-1)/0.0039},d=(Math.exp(0.0435*o*$t*Ee)-1)/0.075,p=d*Math.cos(r/180*Math.PI-Ne),u=d*Math.sin(r/180*Math.PI-Ne);if(a.a=p*Je-u/0.83*Fe,a.b=p*Fe+u/0.83*Je,f!==void 0)a.alpha=f;return a},pt=ki;var Mi=({l:e,a:o,b:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=o*Je+r*Fe,d=0.83*(r*Je-o*Fe),p=Math.sqrt(a*a+d*d),u={mode:"dlch",l:Nt/Ee*Math.log(1+0.0039*e),c:Math.log(1+0.075*p)/(0.0435*$t*Ee)};if(u.c)u.h=E((Math.atan2(d,a)+Ne)/Math.PI*180);if(f!==void 0)u.alpha=f;return u},ut=Mi;var rn=(e)=>pt(oe(e,"dlch")),nn=(e)=>ne(ut(e),"dlab"),wi={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:rn,rgb:(e)=>Se(rn(e))},fromMode:{lab65:nn,rgb:(e)=>nn(_e(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:x,a:x,b:x,alpha:{use:x,fixup:I}}},an=wi;var Ti={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:pt,dlab:(e)=>ne(e,"dlab"),rgb:(e)=>Se(pt(e))},fromMode:{lab65:ut,dlab:(e)=>oe(e,"dlch"),rgb:(e)=>ut(_e(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:x,c:x,h:{use:x,fixup:G},alpha:{use:x,fixup:I}},difference:{h:Te},average:{h:K}},ln=Ti;function Po({h:e,s:o,i:r,alpha:f}){if(e=E(e!==void 0?e:0),o===void 0)o=0;if(r===void 0)r=0;let a=Math.abs(e/60%2-1),d;switch(Math.floor(e/60)){case 0:d={r:r*(1+o*(3/(2-a)-1)),g:r*(1+o*(3*(1-a)/(2-a)-1)),b:r*(1-o)};break;case 1:d={r:r*(1+o*(3*(1-a)/(2-a)-1)),g:r*(1+o*(3/(2-a)-1)),b:r*(1-o)};break;case 2:d={r:r*(1-o),g:r*(1+o*(3/(2-a)-1)),b:r*(1+o*(3*(1-a)/(2-a)-1))};break;case 3:d={r:r*(1-o),g:r*(1+o*(3*(1-a)/(2-a)-1)),b:r*(1+o*(3/(2-a)-1))};break;case 4:d={r:r*(1+o*(3*(1-a)/(2-a)-1)),g:r*(1-o),b:r*(1+o*(3/(2-a)-1))};break;case 5:d={r:r*(1+o*(3/(2-a)-1)),g:r*(1-o),b:r*(1+o*(3*(1-a)/(2-a)-1))};break;default:d={r:r*(1-o),g:r*(1-o),b:r*(1-o)}}if(d.mode="rgb",f!==void 0)d.alpha=f;return d}function Ho({r:e,g:o,b:r,alpha:f}){if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=Math.max(e,o,r),d=Math.min(e,o,r),p={mode:"hsi",s:e+o+r===0?0:1-3*d/(e+o+r),i:(e+o+r)/3};if(a-d!==0)p.h=(a===e?(o-r)/(a-d)+(o<r)*6:a===o?(r-e)/(a-d)+2:(e-o)/(a-d)+4)*60;if(f!==void 0)p.alpha=f;return p}var Li={mode:"hsi",toMode:{rgb:Po},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:Ho},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:x,fixup:G},s:x,i:x,alpha:{use:x,fixup:I}},difference:{h:we},average:{h:K}},fn=Li;function Xo({h:e,s:o,l:r,alpha:f}){if(e=E(e!==void 0?e:0),o===void 0)o=0;if(r===void 0)r=0;let a=r+o*(r<0.5?r:1-r),d=a-(a-r)*2*Math.abs(e/60%2-1),p;switch(Math.floor(e/60)){case 0:p={r:a,g:d,b:2*r-a};break;case 1:p={r:d,g:a,b:2*r-a};break;case 2:p={r:2*r-a,g:a,b:d};break;case 3:p={r:2*r-a,g:d,b:a};break;case 4:p={r:d,g:2*r-a,b:a};break;case 5:p={r:a,g:2*r-a,b:d};break;default:p={r:2*r-a,g:2*r-a,b:2*r-a}}if(p.mode="rgb",f!==void 0)p.alpha=f;return p}function Oo({r:e,g:o,b:r,alpha:f}){if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=Math.max(e,o,r),d=Math.min(e,o,r),p={mode:"hsl",s:a===d?0:(a-d)/(1-Math.abs(a+d-1)),l:0.5*(a+d)};if(a-d!==0)p.h=(a===e?(o-r)/(a-d)+(o<r)*6:a===o?(r-e)/(a-d)+2:(e-o)/(a-d)+4)*60;if(f!==void 0)p.alpha=f;return p}var zi=(e,o)=>{switch(o){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return e*360}},sn=zi;var Ri=new RegExp(`^hsla?\\(\\s*${Or}${Me}${Ae}${Me}${Ae}\\s*(?:,\\s*${tt}\\s*)?\\)$`),Si=(e)=>{let o=e.match(Ri);if(!o)return;let r={mode:"hsl"};if(o[3]!==void 0)r.h=+o[3];else if(o[1]!==void 0&&o[2]!==void 0)r.h=sn(o[1],o[2]);if(o[4]!==void 0)r.s=Math.min(Math.max(0,o[4]/100),1);if(o[5]!==void 0)r.l=Math.min(Math.max(0,o[5]/100),1);if(o[6]!==void 0)r.alpha=Math.max(0,Math.min(1,o[6]/100));else if(o[7]!==void 0)r.alpha=Math.max(0,Math.min(1,+o[7]));return r},dn=Si;function _i(e,o){if(!o||o[0]!=="hsl"&&o[0]!=="hsla")return;let r={mode:"hsl"},[,f,a,d,p]=o;if(f.type!==b.None){if(f.type===b.Percentage)return;r.h=f.value}if(a.type!==b.None){if(a.type===b.Hue)return;r.s=a.value/100}if(d.type!==b.None){if(d.type===b.Hue)return;r.l=d.value/100}if(p.type!==b.None)r.alpha=Math.min(1,Math.max(0,p.type===b.Number?p.value:p.value/100));return r}var pn=_i;var Pi={mode:"hsl",toMode:{rgb:Xo},fromMode:{rgb:Oo},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[pn,dn],serialize:(e)=>`hsl(${e.h!==void 0?e.h:"none"} ${e.s!==void 0?e.s*100+"%":"none"} ${e.l!==void 0?e.l*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:x,fixup:G},s:x,l:x,alpha:{use:x,fixup:I}},difference:{h:we},average:{h:K}},qt=Pi;function bt({h:e,s:o,v:r,alpha:f}){if(e=E(e!==void 0?e:0),o===void 0)o=0;if(r===void 0)r=0;let a=Math.abs(e/60%2-1),d;switch(Math.floor(e/60)){case 0:d={r,g:r*(1-o*a),b:r*(1-o)};break;case 1:d={r:r*(1-o*a),g:r,b:r*(1-o)};break;case 2:d={r:r*(1-o),g:r,b:r*(1-o*a)};break;case 3:d={r:r*(1-o),g:r*(1-o*a),b:r};break;case 4:d={r:r*(1-o*a),g:r*(1-o),b:r};break;case 5:d={r,g:r*(1-o),b:r*(1-o*a)};break;default:d={r:r*(1-o),g:r*(1-o),b:r*(1-o)}}if(d.mode="rgb",f!==void 0)d.alpha=f;return d}function xt({r:e,g:o,b:r,alpha:f}){if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=Math.max(e,o,r),d=Math.min(e,o,r),p={mode:"hsv",s:a===0?0:1-d/a,v:a};if(a-d!==0)p.h=(a===e?(o-r)/(a-d)+(o<r)*6:a===o?(r-e)/(a-d)+2:(e-o)/(a-d)+4)*60;if(f!==void 0)p.alpha=f;return p}var Hi={mode:"hsv",toMode:{rgb:bt},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:xt},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:x,fixup:G},s:x,v:x,alpha:{use:x,fixup:I}},difference:{h:we},average:{h:K}},jt=Hi;function Co({h:e,w:o,b:r,alpha:f}){if(o===void 0)o=0;if(r===void 0)r=0;if(o+r>1){let a=o+r;o/=a,r/=a}return bt({h:e,s:r===1?1:1-o/(1-r),v:1-r,alpha:f})}function Ao(e){let o=xt(e);if(o===void 0)return;let r=o.s!==void 0?o.s:0,f=o.v!==void 0?o.v:0,a={mode:"hwb",w:(1-r)*f,b:1-f};if(o.h!==void 0)a.h=o.h;if(o.alpha!==void 0)a.alpha=o.alpha;return a}function Xi(e,o){if(!o||o[0]!=="hwb")return;let r={mode:"hwb"},[,f,a,d,p]=o;if(f.type!==b.None){if(f.type===b.Percentage)return;r.h=f.value}if(a.type!==b.None){if(a.type===b.Hue)return;r.w=a.value/100}if(d.type!==b.None){if(d.type===b.Hue)return;r.b=d.value/100}if(p.type!==b.None)r.alpha=Math.min(1,Math.max(0,p.type===b.Number?p.value:p.value/100));return r}var mn=Xi;var Oi={mode:"hwb",toMode:{rgb:Co},fromMode:{rgb:Ao},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[mn],serialize:(e)=>`hwb(${e.h!==void 0?e.h:"none"} ${e.w!==void 0?e.w*100+"%":"none"} ${e.b!==void 0?e.b*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:x,fixup:G},w:x,b:x,alpha:{use:x,fixup:I}},difference:{h:tn},average:{h:K}},cn=Oi;var Dt=203;var Bt=0.1593017578125;var Ft=0.8359375,Ut=18.8515625,Wt=18.6875;function Gt(e){if(e<0)return 0;let o=Math.pow(e,0.012683313515655966);return 1e4*Math.pow(Math.max(0,o-0.8359375)/(18.8515625-18.6875*o),6.277394636015326)}function Zt(e){if(e<0)return 0;let o=Math.pow(e/1e4,0.1593017578125);return Math.pow((0.8359375+18.8515625*o)/(1+18.6875*o),78.84375)}var Io=(e)=>Math.max(e/Dt,0),Ci=({i:e,t:o,p:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=Gt(e+0.008609037037932761*o+0.11102962500302593*r),d=Gt(e-0.00860903703793275*o-0.11102962500302599*r),p=Gt(e+0.5600313357106791*o-0.32062717498731885*r),u={mode:"xyz65",x:Io(2.070152218389422*a-1.3263473389671556*d+0.2066510476294051*p),y:Io(0.3647385209748074*a+0.680566024947227*d-0.0453045459220346*p),z:Io(-0.049747207535812*a-0.0492609666966138*d+1.1880659249923042*p)};if(f!==void 0)u.alpha=f;return u},$o=Ci;var No=(e=0)=>Math.max(e*Dt,0),Ai=({x:e,y:o,z:r,alpha:f})=>{let a=No(e),d=No(o),p=No(r),u=Zt(0.3592832590121217*a+0.6976051147779502*d-0.0358915932320289*p),y=Zt(-0.1920808463704995*a+1.1004767970374323*d+0.0753748658519118*p),R=Zt(0.0070797844607477*a+0.0748396662186366*d+0.8433265453898765*p),S=0.5*u+0.5*y,g=1.61376953125*u-3.323486328125*y+1.709716796875*R,T=4.378173828125*u-4.24560546875*y-0.132568359375*R,M={mode:"itp",i:S,t:g,p:T};if(f!==void 0)M.alpha=f;return M},qo=Ai;var Ii={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:$o,rgb:(e)=>te($o(e))},fromMode:{xyz65:qo,rgb:(e)=>qo(ee(e))},ranges:{i:[0,0.581],t:[-0.369,0.272],p:[-0.164,0.331]},interpolate:{i:x,t:x,p:x,alpha:{use:x,fixup:I}}},un=Ii;var $i=134.03437499999998,Ni=0.000000000016295499532821565,jo=(e)=>{if(e<0)return 0;let o=Math.pow(e/1e4,Bt);return Math.pow((Ft+Ut*o)/(1+Wt*o),$i)},Do=(e=0)=>Math.max(e*203,0),qi=({x:e,y:o,z:r,alpha:f})=>{e=Do(e),o=Do(o),r=Do(r);let a=1.15*e-0.15*r,d=0.66*o+0.34*e,p=jo(0.41478972*a+0.579999*d+0.014648*r),u=jo(-0.20151*a+1.120649*d+0.0531008*r),y=jo(-0.0166008*a+0.2648*d+0.6684799*r),R=(p+u)/2,S={mode:"jab",j:0.44*R/(1-0.56*R)-Ni,a:3.524*p-4.066708*u+0.542708*y,b:0.199076*p+1.096799*u-1.295875*y};if(f!==void 0)S.alpha=f;return S},Kt=qi;var ji=134.03437499999998,hn=0.000000000016295499532821565,Eo=(e)=>{if(e<0)return 0;let o=Math.pow(e,1/ji);return 1e4*Math.pow((Ft-o)/(Wt*o-Ut),1/Bt)},Jo=(e)=>e/203,Di=({j:e,a:o,b:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=(e+hn)/(0.44+0.56*(e+hn)),d=Eo(a+0.13860504*o+0.058047316*r),p=Eo(a-0.13860504*o-0.058047316*r),u=Eo(a-0.096019242*o-0.8118919*r),y={mode:"xyz65",x:Jo(1.661373024652174*d-0.914523081304348*p+0.23136208173913045*u),y:Jo(-0.3250758611844533*d+1.571847026732543*p-0.21825383453227928*u),z:Jo(-0.090982811*d-0.31272829*p+1.5227666*u)};if(f!==void 0)y.alpha=f;return y},Vt=Di;var Ei=(e)=>{let o=Kt(ee(e));if(e.r===e.b&&e.b===e.g)o.a=o.b=0;return o},Qt=Ei;var Ji=(e)=>te(Vt(e)),eo=Ji;var Bi={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:Qt,xyz65:Kt},toMode:{rgb:eo,xyz65:Vt},ranges:{j:[0,0.222],a:[-0.109,0.129],b:[-0.185,0.134]},interpolate:{j:x,a:x,b:x,alpha:{use:x,fixup:I}}},bn=Bi;var Fi=({j:e,a:o,b:r,alpha:f})=>{if(o===void 0)o=0;if(r===void 0)r=0;let a=Math.sqrt(o*o+r*r),d={mode:"jch",j:e,c:a};if(a)d.h=E(Math.atan2(r,o)*180/Math.PI);if(f!==void 0)d.alpha=f;return d},Bo=Fi;var Ui=({j:e,c:o,h:r,alpha:f})=>{if(r===void 0)r=0;let a={mode:"jab",j:e,a:o?o*Math.cos(r/180*Math.PI):0,b:o?o*Math.sin(r/180*Math.PI):0};if(f!==void 0)a.alpha=f;return a},Fo=Ui;var Yi={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:Fo,rgb:(e)=>eo(Fo(e))},fromMode:{rgb:(e)=>Bo(Qt(e)),jab:Bo},channels:["j","c","h","alpha"],ranges:{j:[0,0.221],c:[0,0.19],h:[0,360]},interpolate:{h:{use:x,fixup:G},c:x,j:x,alpha:{use:x,fixup:I}},difference:{h:Te},average:{h:K}},xn=Yi;var Pe=Math.pow(29,3)/Math.pow(3,3),Ue=Math.pow(6,3)/Math.pow(29,3);var Uo=(e)=>Math.pow(e,3)>Ue?Math.pow(e,3):(116*e-16)/Pe,Wi=({l:e,a:o,b:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=(e+16)/116,d=o/500+a,p=a-r/200,u={mode:"xyz50",x:Uo(d)*B.X,y:Uo(a)*B.Y,z:Uo(p)*B.Z};if(f!==void 0)u.alpha=f;return u},Ye=Wi;var Gi=({x:e,y:o,z:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=le({r:e*3.1341359569958707-o*1.6173863321612538-0.4906619460083532*r,g:e*-0.978795502912089+o*1.916254567259524+0.03344273116131949*r,b:e*0.07195537988411677-o*0.2289768264158322+1.405386058324125*r});if(f!==void 0)a.alpha=f;return a},ue=Gi;var Zi=(e)=>ue(Ye(e)),to=Zi;var Ki=(e)=>{let{r:o,g:r,b:f,alpha:a}=ie(e),d={mode:"xyz50",x:0.436065742824811*o+0.3851514688337912*r+0.14307845442264197*f,y:0.22249319175623702*o+0.7168870538238823*r+0.06061979053616537*f,z:0.013923904500943465*o+0.09708128566574634*r+0.7140993584005155*f};if(a!==void 0)d.alpha=a;return d},be=Ki;var Yo=(e)=>e>Ue?Math.cbrt(e):(Pe*e+16)/116,Vi=({x:e,y:o,z:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=Yo(e/B.X),d=Yo(o/B.Y),p=Yo(r/B.Z),u={mode:"lab",l:116*d-16,a:500*(a-d),b:200*(d-p)};if(f!==void 0)u.alpha=f;return u},We=Vi;var Qi=(e)=>{let o=We(be(e));if(e.r===e.b&&e.b===e.g)o.a=o.b=0;return o},oo=Qi;function el(e,o){if(!o||o[0]!=="lab")return;let r={mode:"lab"},[,f,a,d,p]=o;if(f.type===b.Hue||a.type===b.Hue||d.type===b.Hue)return;if(f.type!==b.None)r.l=Math.min(Math.max(0,f.value),100);if(a.type!==b.None)r.a=a.type===b.Number?a.value:a.value*125/100;if(d.type!==b.None)r.b=d.type===b.Number?d.value:d.value*125/100;if(p.type!==b.None)r.alpha=Math.min(1,Math.max(0,p.type===b.Number?p.value:p.value/100));return r}var gn=el;var tl={mode:"lab",toMode:{xyz50:Ye,rgb:to},fromMode:{xyz50:We,rgb:oo},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-100,100],b:[-100,100]},parse:[gn],serialize:(e)=>`lab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:x,a:x,b:x,alpha:{use:x,fixup:I}}},Ge=tl;var ol={...Ge,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:Ct,rgb:Se},fromMode:{xyz65:It,rgb:_e},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}},vn=ol;function rl(e,o){if(!o||o[0]!=="lch")return;let r={mode:"lch"},[,f,a,d,p]=o;if(f.type!==b.None){if(f.type===b.Hue)return;r.l=Math.min(Math.max(0,f.value),100)}if(a.type!==b.None)r.c=Math.max(0,a.type===b.Number?a.value:a.value*150/100);if(d.type!==b.None){if(d.type===b.Percentage)return;r.h=d.value}if(p.type!==b.None)r.alpha=Math.min(1,Math.max(0,p.type===b.Number?p.value:p.value/100));return r}var yn=rl;var nl={mode:"lch",toMode:{lab:ne,rgb:(e)=>to(ne(e))},fromMode:{rgb:(e)=>oe(oo(e)),lab:oe},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[yn],serialize:(e)=>`lch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:x,fixup:G},c:x,l:x,alpha:{use:x,fixup:I}},difference:{h:Te},average:{h:K}},Ke=nl;var al={...Ke,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:(e)=>ne(e,"lab65"),rgb:(e)=>Se(ne(e,"lab65"))},fromMode:{rgb:(e)=>oe(_e(e),"lch65"),lab65:(e)=>oe(e,"lch65")},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}},kn=al;var il=({l:e,u:o,v:r,alpha:f})=>{if(o===void 0)o=0;if(r===void 0)r=0;let a=Math.sqrt(o*o+r*r),d={mode:"lchuv",l:e,c:a};if(a)d.h=E(Math.atan2(r,o)*180/Math.PI);if(f!==void 0)d.alpha=f;return d},Wo=il;var ll=({l:e,c:o,h:r,alpha:f})=>{if(r===void 0)r=0;let a={mode:"luv",l:e,u:o?o*Math.cos(r/180*Math.PI):0,v:o?o*Math.sin(r/180*Math.PI):0};if(f!==void 0)a.alpha=f;return a},Go=ll;var Mn=(e,o,r)=>4*e/(e+15*o+3*r),wn=(e,o,r)=>9*o/(e+15*o+3*r),fl=Mn(B.X,B.Y,B.Z),sl=wn(B.X,B.Y,B.Z),dl=(e)=>e<=Ue?Pe*e:116*Math.cbrt(e)-16,pl=({x:e,y:o,z:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=dl(o/B.Y),d=Mn(e,o,r),p=wn(e,o,r);if(!isFinite(d)||!isFinite(p))a=d=p=0;else d=13*a*(d-fl),p=13*a*(p-sl);let u={mode:"luv",l:a,u:d,v:p};if(f!==void 0)u.alpha=f;return u},gt=pl;var ml=(e,o,r)=>4*e/(e+15*o+3*r),cl=(e,o,r)=>9*o/(e+15*o+3*r),ul=ml(B.X,B.Y,B.Z),hl=cl(B.X,B.Y,B.Z),bl=({l:e,u:o,v:r,alpha:f})=>{if(e===void 0)e=0;if(e===0)return{mode:"xyz50",x:0,y:0,z:0};if(o===void 0)o=0;if(r===void 0)r=0;let a=o/(13*e)+ul,d=r/(13*e)+hl,p=B.Y*(e<=8?e/Pe:Math.pow((e+16)/116,3)),u=p*(9*a)/(4*d),y=p*(12-3*a-20*d)/(4*d),R={mode:"xyz50",x:u,y:p,z:y};if(f!==void 0)R.alpha=f;return R},vt=bl;var xl=(e)=>Wo(gt(be(e))),gl=(e)=>ue(vt(Go(e))),vl={mode:"lchuv",toMode:{luv:Go,rgb:gl},fromMode:{rgb:xl,luv:Wo},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:x,fixup:G},c:x,l:x,alpha:{use:x,fixup:I}},difference:{h:Te},average:{h:K}},Tn=vl;var yl={...ae,mode:"lrgb",toMode:{rgb:le},fromMode:{rgb:ie},parse:["srgb-linear"],serialize:"srgb-linear"},Ln=yl;var kl={mode:"luv",toMode:{xyz50:vt,rgb:(e)=>ue(vt(e))},fromMode:{xyz50:gt,rgb:(e)=>gt(be(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:x,u:x,v:x,alpha:{use:x,fixup:I}}},Rn=kl;var Ml=({r:e,g:o,b:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=Math.cbrt(0.41222147079999993*e+0.5363325363*o+0.0514459929*r),d=Math.cbrt(0.2119034981999999*e+0.6806995450999999*o+0.1073969566*r),p=Math.cbrt(0.08830246189999998*e+0.2817188376*o+0.6299787005000002*r),u={mode:"oklab",l:0.2104542553*a+0.793617785*d-0.0040720468*p,a:1.9779984951*a-2.428592205*d+0.4505937099*p,b:0.0259040371*a+0.7827717662*d-0.808675766*p};if(f!==void 0)u.alpha=f;return u},ro=Ml;var wl=(e)=>{let o=ro(ie(e));if(e.r===e.b&&e.b===e.g)o.a=o.b=0;return o},He=wl;var Tl=({l:e,a:o,b:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=Math.pow(e*0.9999999984505198+0.39633779217376786*o+0.2158037580607588*r,3),d=Math.pow(e*1.0000000088817609-0.10556134232365635*o-0.06385417477170591*r,3),p=Math.pow(e*1.0000000546724108-0.08948418209496575*o-1.2914855378640917*r,3),u={mode:"lrgb",r:4.076741661347994*a-3.307711590408193*d+0.230969928729428*p,g:-1.2684380040921763*a+2.6097574006633715*d-0.3413193963102197*p,b:-0.004196086541837188*a-0.7034186144594493*d+1.7076147009309444*p};if(f!==void 0)u.alpha=f;return u},xe=Tl;var Ll=(e)=>le(xe(e)),Xe=Ll;function yt(e){return 0.5*(1.170873786407767*e-0.206+Math.sqrt((1.170873786407767*e-0.206)*(1.170873786407767*e-0.206)+0.14050485436893204*e))}function qe(e){return(e*e+0.206*e)/(1.170873786407767*(e+0.03))}function zl(e,o){let r,f,a,d,p,u,y,R;if(-1.88170328*e-0.80936493*o>1)r=1.19086277,f=1.76576728,a=0.59662641,d=0.75515197,p=0.56771245,u=4.0767416621,y=-3.3077115913,R=0.2309699292;else if(1.81444104*e-1.19445276*o>1)r=0.73956515,f=-0.45954404,a=0.08285427,d=0.1254107,p=0.14503204,u=-1.2684380046,y=2.6097574011,R=-0.3413193965;else r=1.35733652,f=-0.00915799,a=-1.1513021,d=-0.50559606,p=0.00692167,u=-0.0041960863,y=-0.7034186147,R=1.707614701;let S=r+f*e+a*o+d*e*e+p*e*o,g=0.3963377774*e+0.2158037573*o,T=-0.1055613458*e-0.0638541728*o,M=-0.0894841775*e-1.291485548*o;{let C=1+S*g,N=1+S*T,j=1+S*M,A=C*C*C,J=N*N*N,U=j*j*j,V=3*g*C*C,Q=3*T*N*N,ge=3*M*j*j,se=6*g*g*C,de=6*T*T*N,ye=6*M*M*j,ve=u*A+y*J+R*U,Ce=u*V+y*Q+R*ge,Ve=u*se+y*de+R*ye;S=S-ve*Ce/(Ce*Ce-0.5*ve*Ve)}return S}function Zo(e,o){let r=zl(e,o),f=xe({l:1,a:r*e,b:r*o}),a=Math.cbrt(1/Math.max(f.r,f.g,f.b)),d=a*r;return[a,d]}function Rl(e,o,r,f,a,d=null){if(!d)d=Zo(e,o);let p;if((r-a)*d[1]-(d[0]-a)*f<=0)p=d[1]*a/(f*d[0]+d[1]*(a-r));else{p=d[1]*(a-1)/(f*(d[0]-1)+d[1]*(a-r));{let u=r-a,y=f,R=0.3963377774*e+0.2158037573*o,S=-0.1055613458*e-0.0638541728*o,g=-0.0894841775*e-1.291485548*o,T=u+y*R,M=u+y*S,C=u+y*g;{let N=a*(1-p)+p*r,j=p*f,A=N+j*R,J=N+j*S,U=N+j*g,V=A*A*A,Q=J*J*J,ge=U*U*U,se=3*T*A*A,de=3*M*J*J,ye=3*C*U*U,ve=6*T*T*A,Ce=6*M*M*J,Ve=6*C*C*U,cr=4.0767416621*V-3.3077115913*Q+0.2309699292*ge-1,co=4.0767416621*se-3.3077115913*de+0.2309699292*ye,ma=4.0767416621*ve-3.3077115913*Ce+0.2309699292*Ve,ur=co/(co*co-0.5*cr*ma),uo=-cr*ur,hr=-1.2684380046*V+2.6097574011*Q-0.3413193965*ge-1,ho=-1.2684380046*se+2.6097574011*de-0.3413193965*ye,ca=-1.2684380046*ve+2.6097574011*Ce-0.3413193965*Ve,br=ho/(ho*ho-0.5*hr*ca),bo=-hr*br,vr=-0.0041960863*V-0.7034186147*Q+1.707614701*ge-1,xo=-0.0041960863*se-0.7034186147*de+1.707614701*ye,ua=-0.0041960863*ve-0.7034186147*Ce+1.707614701*Ve,kr=xo/(xo*xo-0.5*vr*ua),go=-vr*kr;uo=ur>=0?uo:1e6,bo=br>=0?bo:1e6,go=kr>=0?go:1e6,p+=Math.min(uo,Math.min(bo,go))}}}return p}function kt(e,o,r=null){if(!r)r=Zo(e,o);let f=r[0],a=r[1];return[a/f,a/(1-f)]}function no(e,o,r){let f=Zo(o,r),a=Rl(o,r,e,1,e,f),d=kt(o,r,f),p=0.11516993+1/(7.4477897+4.1590124*r+o*(-2.19557347+1.75198401*r+o*(-2.13704948-10.02301043*r+o*(-4.24894561+5.38770819*r+4.69891013*o)))),u=0.11239642+1/(1.6132032-0.68124379*r+o*(0.40370612+0.90148123*r+o*(-0.27087943+0.6122399*r+o*(0.00299215-0.45399568*r-0.14661872*o)))),y=a/Math.min(e*d[0],(1-e)*d[1]),R=e*p,S=(1-e)*u,g=0.9*y*Math.sqrt(Math.sqrt(1/(1/(R*R*R*R)+1/(S*S*S*S))));return R=e*0.4,S=(1-e)*0.8,[Math.sqrt(1/(1/(R*R)+1/(S*S))),g,a]}function ao(e){let o=e.l!==void 0?e.l:0,r=e.a!==void 0?e.a:0,f=e.b!==void 0?e.b:0,a={mode:"okhsl",l:yt(o)};if(e.alpha!==void 0)a.alpha=e.alpha;let d=Math.sqrt(r*r+f*f);if(!d)return a.s=0,a;let[p,u,y]=no(o,r/d,f/d),R;if(d<u){let S=0,g=0.8*p,T=1-g/u;R=(d-S)/(g+T*(d-S))*0.8}else{let S=u,g=0.2*u*u*1.25*1.25/p,T=1-g/(y-u);R=0.8+0.2*((d-S)/(g+T*(d-S)))}if(R)a.s=R,a.h=E(Math.atan2(f,r)*180/Math.PI);return a}function io(e){let o=e.h!==void 0?e.h:0,r=e.s!==void 0?e.s:0,f=e.l!==void 0?e.l:0,a={mode:"oklab",l:qe(f)};if(e.alpha!==void 0)a.alpha=e.alpha;if(!r||f===1)return a.a=a.b=0,a;let d=Math.cos(o/180*Math.PI),p=Math.sin(o/180*Math.PI),[u,y,R]=no(a.l,d,p),S,g,T,M;if(r<0.8)S=1.25*r,g=0,T=0.8*u,M=1-T/y;else S=5*(r-0.8),g=y,T=0.2*y*y*1.25*1.25/u,M=1-T/(R-y);let C=g+S*T/(1-M*S);return a.a=C*d,a.b=C*p,a}var Sl={...qt,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:ao,rgb:(e)=>ao(He(e))},toMode:{oklab:io,rgb:(e)=>Xe(io(e))}},Sn=Sl;function lo(e){let o=e.l!==void 0?e.l:0,r=e.a!==void 0?e.a:0,f=e.b!==void 0?e.b:0,a=Math.sqrt(r*r+f*f),d=a?r/a:1,p=a?f/a:1,[u,y]=kt(d,p),R=0.5,S=1-R/u,g=y/(a+o*y),T=g*o,M=g*a,C=qe(T),N=M*C/T,j=xe({l:C,a:d*N,b:p*N}),A=Math.cbrt(1/Math.max(j.r,j.g,j.b,0));o=o/A,a=a/A*yt(o)/o,o=yt(o);let J={mode:"okhsv",s:a?(R+y)*M/(y*R+y*S*M):0,v:o?o/T:0};if(J.s)J.h=E(Math.atan2(f,r)*180/Math.PI);if(e.alpha!==void 0)J.alpha=e.alpha;return J}function fo(e){let o={mode:"oklab"};if(e.alpha!==void 0)o.alpha=e.alpha;let r=e.h!==void 0?e.h:0,f=e.s!==void 0?e.s:0,a=e.v!==void 0?e.v:0,d=Math.cos(r/180*Math.PI),p=Math.sin(r/180*Math.PI),[u,y]=kt(d,p),R=0.5,S=1-R/u,g=1-f*R/(R+y-y*S*f),T=f*y*R/(R+y-y*S*f),M=qe(g),C=T*M/g,N=xe({l:M,a:d*C,b:p*C}),j=Math.cbrt(1/Math.max(N.r,N.g,N.b,0)),A=qe(a*g),J=T*A/g;return o.l=A*j,o.a=J*d*j,o.b=J*p*j,o}var _l={...jt,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:lo,rgb:(e)=>lo(He(e))},toMode:{oklab:fo,rgb:(e)=>Xe(fo(e))}},_n=_l;function Pl(e,o){if(!o||o[0]!=="oklab")return;let r={mode:"oklab"},[,f,a,d,p]=o;if(f.type===b.Hue||a.type===b.Hue||d.type===b.Hue)return;if(f.type!==b.None)r.l=Math.min(Math.max(0,f.type===b.Number?f.value:f.value/100),1);if(a.type!==b.None)r.a=a.type===b.Number?a.value:a.value*0.4/100;if(d.type!==b.None)r.b=d.type===b.Number?d.value:d.value*0.4/100;if(p.type!==b.None)r.alpha=Math.min(1,Math.max(0,p.type===b.Number?p.value:p.value/100));return r}var Pn=Pl;var Hl={...Ge,mode:"oklab",toMode:{lrgb:xe,rgb:Xe},fromMode:{lrgb:ro,rgb:He},ranges:{l:[0,1],a:[-0.4,0.4],b:[-0.4,0.4]},parse:[Pn],serialize:(e)=>`oklab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`},Xn=Hl;function Xl(e,o){if(!o||o[0]!=="oklch")return;let r={mode:"oklch"},[,f,a,d,p]=o;if(f.type!==b.None){if(f.type===b.Hue)return;r.l=Math.min(Math.max(0,f.type===b.Number?f.value:f.value/100),1)}if(a.type!==b.None)r.c=Math.max(0,a.type===b.Number?a.value:a.value*0.4/100);if(d.type!==b.None){if(d.type===b.Percentage)return;r.h=d.value}if(p.type!==b.None)r.alpha=Math.min(1,Math.max(0,p.type===b.Number?p.value:p.value/100));return r}var On=Xl;var Ol={...Ke,mode:"oklch",toMode:{oklab:(e)=>ne(e,"oklab"),rgb:(e)=>Xe(ne(e,"oklab"))},fromMode:{rgb:(e)=>oe(He(e),"oklch"),oklab:(e)=>oe(e,"oklch")},parse:[On],serialize:(e)=>`oklch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,0.4],h:[0,360]}},Cn=Ol;var Cl=(e)=>{let{r:o,g:r,b:f,alpha:a}=ie(e),d={mode:"xyz65",x:0.486570948648216*o+0.265667693169093*r+0.1982172852343625*f,y:0.2289745640697487*o+0.6917385218365062*r+0.079286914093745*f,z:0*o+0.0451133818589026*r+1.043944368900976*f};if(a!==void 0)d.alpha=a;return d},Ko=Cl;var Al=({x:e,y:o,z:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=le({r:e*2.4934969119414263-o*0.9313836179191242-0.402710784450717*r,g:e*-0.8294889695615749+o*1.7626640603183465+0.0236246858419436*r,b:e*0.0358458302437845-o*0.0761723892680418+0.9568845240076871*r},"p3");if(f!==void 0)a.alpha=f;return a},Vo=Al;var Il={...ae,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:(e)=>Vo(ee(e)),xyz65:Vo},toMode:{rgb:(e)=>te(Ko(e)),xyz65:Ko}},An=Il;var Qo=(e)=>{let o=Math.abs(e);if(o>=0.001953125)return Math.sign(e)*Math.pow(o,0.5555555555555556);return 16*e},$l=({x:e,y:o,z:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a={mode:"prophoto",r:Qo(e*1.3457868816471585-o*0.2555720873797946-0.0511018649755453*r),g:Qo(e*-0.5446307051249019+o*1.5082477428451466+0.0205274474364214*r),b:Qo(e*0+o*0+1.2119675456389452*r)};if(f!==void 0)a.alpha=f;return a},er=$l;var tr=(e=0)=>{let o=Math.abs(e);if(o>=0.03125)return Math.sign(e)*Math.pow(o,1.8);return e/16},Nl=(e)=>{let o=tr(e.r),r=tr(e.g),f=tr(e.b),a={mode:"xyz50",x:0.7977666449006423*o+0.1351812974005331*r+0.0313477341283922*f,y:0.2880748288194013*o+0.7118352342418731*r+0.0000899369387256*f,z:0*o+0*r+0.8251046025104602*f};if(e.alpha!==void 0)a.alpha=e.alpha;return a},or=Nl;var ql={...ae,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:er,rgb:(e)=>er(be(e))},toMode:{xyz50:or,rgb:(e)=>ue(or(e))}},In=ql;var rr=(e)=>{let o=Math.abs(e);if(o>0.018053968510807)return(Math.sign(e)||1)*(1.09929682680944*Math.pow(o,0.45)-0.09929682680944008);return 4.5*e},jl=({x:e,y:o,z:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a={mode:"rec2020",r:rr(e*1.7166511879712683-o*0.3556707837763925-0.2533662813736599*r),g:rr(e*-0.6666843518324893+o*1.6164812366349395+0.0157685458139111*r),b:rr(e*0.0176398574453108-o*0.0427706132578085+0.9421031212354739*r)};if(f!==void 0)a.alpha=f;return a},nr=jl;var ar=(e=0)=>{let o=Math.abs(e);if(o<0.08124285829863151)return e/4.5;return(Math.sign(e)||1)*Math.pow((o+1.09929682680944-1)/1.09929682680944,2.2222222222222223)},Dl=(e)=>{let o=ar(e.r),r=ar(e.g),f=ar(e.b),a={mode:"xyz65",x:0.6369580483012911*o+0.1446169035862083*r+0.1688809751641721*f,y:0.262700212011267*o+0.6779980715188708*r+0.059301716469862*f,z:0*o+0.0280726930490874*r+1.0609850577107909*f};if(e.alpha!==void 0)a.alpha=e.alpha;return a},ir=Dl;var El={...ae,mode:"rec2020",fromMode:{xyz65:nr,rgb:(e)=>nr(ee(e))},toMode:{xyz65:ir,rgb:(e)=>te(ir(e))},parse:["rec2020"],serialize:"rec2020"},Nn=El;var Oe=0.0037930732552754493,so=Math.cbrt(0.0037930732552754493);var lr=(e)=>Math.cbrt(e)-so,Jl=(e)=>{let{r:o,g:r,b:f,alpha:a}=ie(e),d=lr(0.3*o+0.622*r+0.078*f+Oe),p=lr(0.23*o+0.692*r+0.078*f+Oe),u=lr(0.2434226892454782*o+0.2047674442449682*r+0.5518098665095535*f+Oe),y={mode:"xyb",x:(d-p)/2,y:(d+p)/2,b:u-(d+p)/2};if(a!==void 0)y.alpha=a;return y},jn=Jl;var sr=(e)=>Math.pow(e+so,3),Bl=({x:e,y:o,b:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a=sr(e+o)-Oe,d=sr(o-e)-Oe,p=sr(r+o)-Oe,u=le({r:11.031566904639861*a-9.866943908131562*d-0.16462299650829934*p,g:-3.2541473810744237*a+4.418770377582723*d-0.16462299650829934*p,b:-3.6588512867136815*a+2.7129230459360922*d+1.9459282407775895*p});if(f!==void 0)u.alpha=f;return u},Dn=Bl;var Fl={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:Dn},fromMode:{rgb:jn},ranges:{x:[-0.0154,0.0281],y:[0,0.8453],b:[-0.2778,0.388]},interpolate:{x,y:x,b:x,alpha:{use:x,fixup:I}}},En=Fl;var Ul={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:ue,lab:We},fromMode:{rgb:be,lab:Ye},channels:["x","y","z","alpha"],ranges:{x:[0,0.964],y:[0,0.999],z:[0,0.825]},interpolate:{x,y:x,z:x,alpha:{use:x,fixup:I}}},Jn=Ul;var Yl=(e)=>{let{x:o,y:r,z:f,alpha:a}=e;if(o===void 0)o=0;if(r===void 0)r=0;if(f===void 0)f=0;let d={mode:"xyz50",x:1.0479298208405488*o+0.0229467933410191*r-0.0501922295431356*f,y:0.0296278156881593*o+0.990434484573249*r-0.0170738250293851*f,z:-0.0092430581525912*o+0.0150551448965779*r+0.7518742899580008*f};if(a!==void 0)d.alpha=a;return d},Bn=Yl;var Wl=(e)=>{let{x:o,y:r,z:f,alpha:a}=e;if(o===void 0)o=0;if(r===void 0)r=0;if(f===void 0)f=0;let d={mode:"xyz65",x:0.9554734527042182*o-0.0230985368742614*r+0.0632593086610217*f,y:-0.0283697069632081*o+1.0099954580058226*r+0.021041398966943*f,z:0.0123140016883199*o-0.0205076964334779*r+1.3303659366080753*f};if(a!==void 0)d.alpha=a;return d},Fn=Wl;var Gl={mode:"xyz65",toMode:{rgb:te,xyz50:Bn},fromMode:{rgb:ee,xyz50:Fn},ranges:{x:[0,0.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x,y:x,z:x,alpha:{use:x,fixup:I}}},Un=Gl;var Zl=({r:e,g:o,b:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a={mode:"yiq",y:0.29889531*e+0.58662247*o+0.11448223*r,i:0.59597799*e-0.2741761*o-0.32180189*r,q:0.21147017*e-0.52261711*o+0.31114694*r};if(f!==void 0)a.alpha=f;return a},Yn=Zl;var Kl=({y:e,i:o,q:r,alpha:f})=>{if(e===void 0)e=0;if(o===void 0)o=0;if(r===void 0)r=0;let a={mode:"rgb",r:e+0.95608445*o+0.6208885*r,g:e-0.27137664*o-0.6486059*r,b:e-1.10561724*o+1.70250126*r};if(f!==void 0)a.alpha=f;return a},Wn=Kl;var Vl={mode:"yiq",toMode:{rgb:Wn},fromMode:{rgb:Yn},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-0.595,0.595],q:[-0.522,0.522]},interpolate:{y:x,i:x,q:x,alpha:{use:x,fixup:I}}},Zn=Vl;var Ql=(e,o)=>Math.round(e*(o=Math.pow(10,o)))/o,e0=(e=4)=>(o)=>typeof o==="number"?Ql(o,e):o,Kn=e0;var Mh=Kn(2),t0=(e)=>Math.max(0,Math.min(1,e||0)),pr=(e)=>Math.round(t0(e)*255),o0=ce("rgb"),wh=ce("hsl"),Qn=(e)=>{if(e===void 0)return;let o=pr(e.r),r=pr(e.g),f=pr(e.b);return"#"+(16777216|o<<16|r<<8|f).toString(16).slice(1)};var po=(e)=>Qn(o0(e));var ea=(e,o="rgb",r=!1)=>{let f=o?Ie(o).channels:null,a=o?ce(o):rt;return(d)=>{let p=a(d);if(!p)return;let u=(f||Ie(p.mode).channels).reduce((R,S)=>{let g=e(p[S],S,p,o);if(g!==void 0&&!isNaN(g))R[S]=g;return R},{mode:p.mode});if(!r)return u;let y=rt(d);if(y&&y.mode!==u.mode)return ce(y.mode)(u);return u}},ta=(e,o,r)=>{if(o!=="alpha")return(e||0)*(r.alpha!==void 0?r.alpha:1);return e},oa=(e,o,r)=>{if(o!=="alpha"&&r.alpha!==0)return(e||0)/(r.alpha!==void 0?r.alpha:1);return e};var r0=(e)=>{if(e[0]===void 0)e[0]=0;if(e[e.length-1]===void 0)e[e.length-1]=1;let o=1,r,f,a,d;while(o<e.length){if(e[o]===void 0){f=o,a=e[o-1],r=o;while(e[r]===void 0)r++;d=(e[r]-a)/(r-o+1);while(o<r)e[o]=a+(o+1-f)*d,o++}else if(e[o]<e[o-1])e[o]=e[o-1];o++}return e},ra=r0;var n0=(e=0.5)=>(o)=>e<=0?1:e>=1?0:Math.pow(o,Math.log(0.5)/Math.log(e)),na=n0;var mo=(e)=>typeof e==="function",je=(e)=>e&&typeof e==="object",aa=(e)=>typeof e==="number",ia=(e,o="rgb",r,f)=>{let a=Ie(o),d=ce(o),p=[],u=[],y={};e.forEach((T)=>{if(Array.isArray(T))p.push(d(T[0])),u.push(T[1]);else if(aa(T)||mo(T))y[u.length]=T;else p.push(d(T)),u.push(void 0)}),ra(u);let R=a.channels.reduce((T,M)=>{let C;if(je(r)&&je(r[M])&&r[M].fixup)C=r[M].fixup;else if(je(a.interpolate[M])&&a.interpolate[M].fixup)C=a.interpolate[M].fixup;else C=(N)=>N;return T[M]=C(p.map((N)=>N[M])),T},{});if(f){let T=p.map((M,C)=>a.channels.reduce((N,j)=>(N[j]=R[j][C],N),{mode:o}));R=a.channels.reduce((M,C)=>(M[C]=T.map((N)=>{let j=f(N[C],C,N,o);return isNaN(j)?void 0:j}),M),{})}let S=a.channels.reduce((T,M)=>{let C;if(mo(r))C=r;else if(je(r)&&mo(r[M]))C=r[M];else if(je(r)&&je(r[M])&&r[M].use)C=r[M].use;else if(mo(a.interpolate[M]))C=a.interpolate[M];else if(je(a.interpolate[M]))C=a.interpolate[M].use;return T[M]=C(R[M]),T},{}),g=p.length-1;return(T)=>{if(T=Math.min(Math.max(0,T),1),T<=u[0])return p[0];if(T>u[g])return p[g];let M=0;while(u[M]<T)M++;let C=u[M-1],N=u[M]-C,j=(T-C)/N,A=y[M]||y[0];if(A!==void 0){if(aa(A))A=na((A-C)/N);j=A(j)}let J=(M-1+j)/g;return a.channels.reduce((U,V)=>{let Q=S[V](J);if(Q!==void 0)U[V]=Q;return U},{mode:o})}},mr=(e,o="rgb",r)=>ia(e,o,r),la=(e,o)=>(r,f="rgb",a)=>{let d=o?ea(o,f):void 0,p=ia(r,f,a,e);return d?(u)=>d(p(u)):p},a0=la(ta,oa);var k1=D(Er),M1=D(on),w1=D(an),T1=D(ln),L1=D(fn),z1=D(qt),R1=D(jt),S1=D(cn),_1=D(un),P1=D(bn),H1=D(xn),X1=D(Ge),O1=D(vn),C1=D(Ke),A1=D(kn),I1=D(Tn),$1=D(Ln),N1=D(Rn),q1=D(Sn),j1=D(_n),D1=D(Xn),E1=D(Cn),J1=D(An),B1=D(In),F1=D(Nn),U1=D(ae),Y1=D(En),W1=D(Jn),G1=D(Un),Z1=D(Zn);function ti(e){let o=nt(e.trim());return o&&po(o)}function ga(e,o,r){return po(mr([e,o],"rgb")(r))}var sa={sans:'"Inter Variable", ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif',serif:'"Source Serif 4 Variable", "Iowan Old Style", Georgia, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", serif',mono:'"JetBrains Mono Variable", ui-monospace, "SF Mono", Menlo, Consolas, monospace'},da={sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem",field:"10px",dock:"20px",sheet:"28px"},$n={scheme:"light",colors:pa({bg:"oklch(0.984 0.002 95)",sidebar:"oklch(0.966 0.003 95)",panel:"oklch(1 0 0)",raised:"oklch(0.94 0.004 95)",bubble:"oklch(0.948 0.004 95)",line:"oklch(0.905 0.005 95)",lineStrong:"oklch(0.84 0.006 95)",ink:"oklch(0.22 0.006 250)",dim:"oklch(0.47 0.008 250)",faint:"oklch(0.63 0.008 250)",accent:"oklch(0.53 0.085 172)",accentStrong:"oklch(0.47 0.085 172)",accentInk:"oklch(0.99 0.01 172)",accentSoft:"oklch(0.53 0.085 172 / 0.11)",danger:"oklch(0.55 0.17 27)",dangerFill:"oklch(0.52 0.17 27)",dangerFillHover:"oklch(0.47 0.17 27)",dangerInk:"oklch(1 0 0)",success:"oklch(0.56 0.11 155)",warning:"oklch(0.7 0.14 70)",overlay:"oklch(0.2 0.01 250 / 0.32)",scrim:"oklch(0.16 0.005 250 / 0.6)",scrimInk:"oklch(1 0 0)",knob:"oklch(1 0 0)",highlight:"oklch(0.85 0.15 90 / 0.65)",facet:"oklch(0.32 0.012 240)",facetLit:"oklch(0.46 0.012 240)",facetShade:"oklch(0.27 0.01 240)",syntax:{foreground:"#393a34",comment:"#a0ada0",punctuation:"#999999",keyword:"#1e754f",storage:"#ab5959",string:"#b56959",regexp:"#ab5e3f",number:"#2f798a",constant:"#a65e2b",function:"#59873a",type:"#2e8f82",property:"#998418",variable:"#b07d48",namespace:"#b05a78",link:"#393a34",inserted:"#22863a",deleted:"#b31d28",changed:"#e36209"},chartPalette:["#2a78d6","#eb6834","#1baf7a","#eda100","#e87ba4","#008300","#4a3aa7","#e34948"],chartSequential:["#cde2fb","#86b6ef","#3987e5","#1c5cab","#0d366b"]}),fonts:sa,shadows:{float:"0 1px 2px oklch(0.2 0.01 250 / 0.05), 0 8px 28px -6px oklch(0.2 0.01 250 / 0.14)",composer:"0 1px 2px oklch(0.2 0.01 250 / 0.04), 0 6px 24px -8px oklch(0.2 0.01 250 / 0.1)",sheen:"inset 0 1px 0 oklch(1 0 0 / 0.05)",sheenFill:"inset 0 1px 0 oklch(1 0 0 / 0.12)",knob:"0 0 0 0.5px oklch(0 0 0 / 0.1), 0 1px 1px oklch(0 0 0 / 0.08), 0 3px 8px -1px oklch(0 0 0 / 0.18)",groove:"inset 0 1px 1.5px oklch(0 0 0 / 0.12), inset 0 0 0 0.5px oklch(0 0 0 / 0.05)"},radii:da},ya={scheme:"dark",colors:pa({bg:"oklch(0.215 0.005 250)",sidebar:"oklch(0.19 0.005 250)",panel:"oklch(0.248 0.006 250)",raised:"oklch(0.285 0.006 250)",bubble:"oklch(0.27 0.006 250)",line:"oklch(0.3 0.006 250)",lineStrong:"oklch(0.37 0.007 250)",ink:"oklch(0.94 0.003 250)",dim:"oklch(0.77 0.005 250)",faint:"oklch(0.6 0.006 250)",accent:"oklch(0.76 0.085 172)",accentStrong:"oklch(0.82 0.08 172)",accentInk:"oklch(0.22 0.03 172)",accentSoft:"oklch(0.76 0.085 172 / 0.13)",danger:"oklch(0.72 0.14 27)",dangerFill:"oklch(0.5 0.165 25)",dangerFillHover:"oklch(0.55 0.175 25)",dangerInk:"oklch(1 0 0)",success:"oklch(0.76 0.12 155)",warning:"oklch(0.8 0.13 75)",overlay:"oklch(0.1 0.005 250 / 0.55)",scrim:"oklch(0.1 0.005 250 / 0.7)",scrimInk:"oklch(1 0 0)",knob:"oklch(1 0 0)",highlight:"oklch(0.62 0.13 90 / 0.55)",facet:"oklch(0.76 0.01 240)",facetLit:"oklch(0.91 0.006 240)",facetShade:"oklch(0.64 0.012 240)",syntax:{foreground:"#dbd7ca",comment:"#758575",punctuation:"#666666",keyword:"#4d9375",storage:"#cb7676",string:"#c98a7d",regexp:"#c4704f",number:"#4c9a91",constant:"#c99076",function:"#80a665",type:"#5da994",property:"#b8a965",variable:"#bd976a",namespace:"#db889a",link:"#dedcd5",inserted:"#85e89d",deleted:"#fdaeb7",changed:"#ffab70"},chartPalette:["#3987e5","#d95926","#199e70","#c98500","#d55181","#008300","#9085e9","#e66767"],chartSequential:["#184f95","#2a78d6","#5598e7","#9ec5f4","#cde2fb"]}),fonts:sa,shadows:{float:"0 1px 2px oklch(0 0 0 / 0.3), 0 10px 32px -6px oklch(0 0 0 / 0.5)",composer:"0 1px 2px oklch(0 0 0 / 0.25), 0 8px 28px -8px oklch(0 0 0 / 0.45)",sheen:"inset 0 1px 0 oklch(1 0 0 / 0.05)",sheenFill:"inset 0 1px 0 oklch(1 0 0 / 0.12)",knob:"0 0 0 0.5px oklch(0 0 0 / 0.1), 0 1px 1px oklch(0 0 0 / 0.08), 0 3px 8px -1px oklch(0 0 0 / 0.18)",groove:"inset 0 1px 1.5px oklch(0 0 0 / 0.12), inset 0 0 0 0.5px oklch(0 0 0 / 0.05)"},radii:da};function pa(e,o,r){let a=Object.fromEntries(["bg","sidebar","panel","raised","bubble","ink","dim","faint","line","lineStrong","accent","danger","success","warning"].map((d)=>[d,ti(e[d])??o?.[d]??"#808080"]));return{...e,hex:{...a,...r}}}var ba={"surface.panel":"overflow-hidden rounded-xl border border-line bg-panel text-ink","surface.card":"rounded-2xl border border-line bg-panel text-ink","surface.subtle":"rounded-xl border border-line/60 bg-raised/25","surface.interactive":"overflow-hidden rounded-xl border border-line bg-panel/70 transition-colors hover:border-line-strong hover:bg-panel","surface.dock":"relative flex flex-col overflow-hidden rounded-dock border border-line bg-panel shadow-[var(--shadow-sheen),var(--shadow-composer)] outline-none","surface.empty":"py-8 text-center text-xs text-faint","surface.emptyDashed":"flex flex-col items-center gap-3 rounded-2xl border border-dashed border-line-strong/70 px-6 py-16 text-center","surface.floating":"z-50 min-w-40 overflow-hidden rounded-xl border border-line bg-panel p-1 text-ink shadow-float outline-none data-[state=closed]:animate-float-out data-[state=open]:animate-float-in","surface.floatingItem":"relative flex min-h-8 w-full cursor-default items-center gap-2.5 rounded-lg px-2 py-1.5 text-left text-ui outline-none select-none transition-colors duration-100 data-highlighted:bg-raised data-[selected=true]:bg-raised [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-faint","surface.floatingLabel":"px-2 pt-1.5 pb-1 text-xs font-medium text-faint","surface.floatingSeparator":"-mx-1 my-1 h-px bg-line","surface.toolbarFloating":"flex items-center gap-0.5 rounded-lg border border-line/70 bg-panel/85 p-0.5 shadow-xs backdrop-blur-sm","surface.tooltip":"z-50 flex origin-(--radix-tooltip-content-transform-origin) items-center gap-1.5 rounded-md bg-ink px-2 py-1 text-xs font-medium text-bg shadow-float select-none data-[state=closed]:animate-float-out data-[state=delayed-open]:animate-float-in data-[state=instant-open]:animate-fade","surface.dialog":"fixed z-50 flex max-h-[min(92dvh,48rem)] w-full flex-col border border-line bg-panel shadow-float outline-none max-sm:sheet-surface max-sm:data-[state=closed]:animate-sheet-out max-sm:data-[state=open]:animate-sheet-in sm:top-1/2 sm:left-1/2 sm:-translate-x-1/2 sm:-translate-y-1/2 sm:rounded-2xl sm:data-[state=closed]:animate-dialog-out sm:data-[state=open]:animate-dialog-in","surface.overlay":"fixed inset-0 z-40 bg-overlay backdrop-blur-[2px] data-[state=closed]:animate-overlay-out data-[state=open]:animate-overlay-in","toast.item":"pointer-events-auto flex w-full items-start gap-2.5 rounded-xl border border-line bg-panel px-3.5 py-2.5 text-ui leading-5 text-ink shadow-float outline-none data-[state=closed]:animate-float-out data-[state=open]:animate-rise data-[swipe=end]:animate-float-out data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)]","toast.danger":"border-danger/35","button.base":"relative inline-flex shrink-0 items-center justify-center gap-1.5 font-medium whitespace-nowrap transition-[background-color,border-color,color,box-shadow,scale,opacity] duration-150 ease-out-quint select-none active:scale-[0.96] data-[state=open]:scale-100 data-[state=open]:active:scale-100 disabled:pointer-events-none disabled:opacity-45 [&_svg]:shrink-0","button.primary":"bg-accent text-accent-ink shadow-sheen-fill hover:bg-accent-strong","button.secondary":"border border-line bg-panel text-ink shadow-xs hover:border-line-strong hover:bg-raised/60","button.ghost":"text-dim hover:bg-raised hover:text-ink data-[state=open]:bg-raised data-[state=open]:text-ink","button.danger":"bg-danger-fill text-danger-ink shadow-sheen-fill hover:bg-danger-fill-hover","button.dangerGhost":"text-danger hover:bg-danger/10","button.inverse":"bg-ink text-bg hover:bg-ink/85","control.input":"w-full rounded-field border border-line bg-bg px-3 text-sm text-ink outline-none transition-[border-color,box-shadow] duration-150 placeholder:text-faint hover:border-line-strong focus:border-accent/60 focus:shadow-[0_0_0_3px_var(--color-accent-soft)] disabled:opacity-50 aria-invalid:border-danger/60","control.chipTrigger":"inline-flex h-8 max-w-full min-w-0 items-center gap-1.5 rounded-full border border-line bg-panel px-3 text-xs text-dim shadow-xs transition-[background-color,border-color,color,scale] duration-150 ease-out-quint select-none hover:border-line-strong hover:bg-raised/60 hover:text-ink active:scale-[0.97] data-[state=open]:border-line-strong data-[state=open]:bg-raised data-[state=open]:text-ink disabled:pointer-events-none disabled:opacity-45","control.fieldTrigger":"inline-flex h-9 w-full min-w-0 items-center gap-2 rounded-field border border-line bg-bg px-3 text-sm text-ink transition-[border-color,box-shadow] duration-150 select-none hover:border-line-strong data-[state=open]:border-accent/60 data-[state=open]:shadow-[0_0_0_3px_var(--color-accent-soft)] disabled:pointer-events-none disabled:opacity-50","control.segmented":"relative inline-flex rounded-xl bg-raised p-1","control.segmentedPill":"pointer-events-none absolute top-0 left-0 rounded-lg bg-panel opacity-0 shadow-xs will-change-transform","control.switch":"group/switch relative inline-flex h-5.5 w-9.5 shrink-0 items-center rounded-full p-0.5 transition-colors duration-200 disabled:opacity-45 data-[state=checked]:bg-accent data-[state=unchecked]:bg-line-strong","control.switchThumb":"block h-4.5 w-4.5 rounded-full bg-knob shadow-knob transition-[translate,width] duration-300 ease-spring group-active/switch:w-5.5 data-[state=checked]:translate-x-4 group-active/switch:data-[state=checked]:translate-x-3","control.kbd":"inline-flex h-4.5 min-w-4.5 items-center justify-center rounded border border-line bg-raised px-1 font-sans text-2xs leading-none font-medium text-faint","control.badge":"inline-flex items-center rounded-md bg-raised px-1.5 py-0.5 text-2xs leading-none font-medium text-faint","control.badgeAccent":"inline-flex shrink-0 items-center rounded-md bg-accent-soft px-1.5 py-0.5 text-2xs leading-none font-medium text-accent","control.iconCircle":"group relative flex size-7 items-center justify-center rounded-full border border-line bg-raised/40 text-dim transition-all duration-200 hover:border-accent hover:bg-accent/10 hover:text-accent disabled:opacity-35","command.inputWrap":"flex shrink-0 items-center gap-2 border-b border-line px-3","command.input":"h-11 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-faint","command.group":"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:pt-1.5 [&_[cmdk-group-heading]]:pb-1 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-faint","command.row":"relative flex w-full cursor-default gap-3 rounded-lg px-2.5 py-2 text-left outline-none select-none transition-colors duration-100 data-[selected=true]:bg-raised","code.base":"overflow-x-auto font-mono text-xs leading-[1.65] [&_pre]:bg-transparent! [&_pre]:outline-none","code.block":"group/code my-4 font-sans not-italic first:mt-0 last:mb-0","page.container":"mx-auto max-w-3xl animate-fade px-4 pt-6 pb-16 sm:px-6 sm:pt-10","page.title":"min-w-0 flex-1 font-serif text-title leading-tight tracking-[-0.015em]","page.description":"mb-8 text-sm text-dim","workspace.header":"box-content flex h-12 shrink-0 items-center gap-2 border-b border-line/60 px-3 pt-[env(safe-area-inset-top)]","settings.groupTitle":"text-ui font-medium text-dim","settings.groupDesc":"mt-0.5 text-xs text-faint","settings.groupBox":"divide-y divide-line overflow-hidden rounded-2xl border border-line bg-panel","settings.row":"flex flex-wrap items-center justify-between gap-4 p-4","settings.rowTitle":"text-sm font-medium text-ink","settings.rowDesc":"mt-0.5 text-xs leading-5 break-words text-dim","status.base":"inline-flex shrink-0 items-center gap-1.5 rounded-full px-2 py-1 text-2xs leading-none font-medium","status.success":"bg-success/10 text-success","status.warning":"bg-warning/10 text-warning","status.danger":"bg-danger/10 text-danger","status.neutral":"bg-raised text-dim","callout.base":"flex animate-rise items-start gap-2.5 rounded-xl border px-3.5 py-2.5 text-ui leading-5","callout.info":"border-line bg-raised/40 text-dim","callout.danger":"border-danger/25 bg-danger/6 text-danger","chat.banner":"flex shrink-0 flex-wrap items-center justify-between gap-2 border-b border-line bg-raised/45 px-4 py-2 text-xs text-dim","chat.dockBanner":"flex shrink-0 flex-wrap items-center justify-between gap-2 rounded-dock border border-line bg-raised/55 px-4 py-3 text-xs text-dim","chat.userBubble":"rounded-dock rounded-br-md bg-bubble px-4 py-2.5 text-body leading-[1.6] text-ink break-words whitespace-pre-wrap","chat.attachmentCard":"flex h-8 items-center gap-1.5 rounded-xl border border-line bg-panel px-2.5 text-xs text-dim","chat.prose":"font-serif text-body leading-[1.78] tracking-[0.005em] break-words text-ink/84 [font-optical-sizing:auto]","chat.metaBadge":"inline-flex cursor-default select-none items-center gap-1 rounded-md border border-line/60 bg-raised/60 px-1.5 py-0.5 text-2xs text-faint transition-colors hover:border-line hover:bg-raised hover:text-dim","chat.stepRow":"group/collapsible -mx-2 flex w-[calc(100%+1rem)] items-center gap-2 rounded-lg px-2 py-1.5 text-left text-ui transition-colors hover:bg-raised/60","chat.timelineRow":"group/collapsible -mx-2 flex w-[calc(100%+1rem)] items-center gap-2 rounded-lg px-2 py-1 text-left text-xs text-faint transition-colors enabled:hover:bg-raised/60 enabled:hover:text-dim","chat.thinkingBody":"mt-1.5 mb-2.5 font-serif text-ui leading-[1.65] text-dim italic [&_code]:font-mono [&_code]:text-xs [&_code]:not-italic [&_pre]:not-italic","chat.toolOutput":"max-h-80 overflow-auto px-4 py-3 font-mono text-xs leading-[1.65] whitespace-pre-wrap break-words","chat.diffAdd":"bg-success/10 text-success","chat.diffRemove":"bg-danger/9 text-danger","chat.foldPill":"group/fold flex cursor-pointer select-none items-center gap-2 rounded-full border border-line/70 bg-panel/90 px-3.5 py-1 text-xs text-faint transition-all hover:border-line hover:bg-raised/80 hover:text-dim active:scale-[0.98]","chat.scrollBottomBtn":"flex h-8 items-center gap-1.5 rounded-full border border-line bg-panel/95 px-3 text-xs font-medium text-dim shadow-float backdrop-blur-sm transition-[color,background-color,border-color,transform] hover:border-line-strong hover:bg-raised/80 hover:text-ink active:scale-95","search.highlight":"rounded-sm bg-accent-soft px-0.5 font-medium text-ink","search.filterChip":"inline-flex h-6 items-center gap-1 rounded-md border border-line bg-panel px-2 text-xs text-dim transition-colors hover:border-line-strong hover:bg-raised/60 hover:text-ink data-[state=open]:border-line-strong data-[state=open]:bg-raised","search.filterChipActive":"inline-flex h-6 items-center gap-1 rounded-md border border-accent/35 bg-accent-soft pl-2 pr-1 text-xs font-medium text-accent transition-colors hover:border-accent/55","composer.box":"group/composer relative min-w-0 rounded-dock border border-line bg-panel shadow-[var(--shadow-sheen),var(--shadow-composer)] transition-[border-color,box-shadow] duration-300 focus-within:border-line-strong focus-within:shadow-[var(--shadow-sheen),0_14px_38px_-10px_color-mix(in_oklch,var(--color-accent)_14%,transparent),var(--shadow-composer)]","composer.input":"relative block min-h-13 w-full resize-none bg-transparent px-4 pt-3.5 pb-1.5 text-md leading-6 outline-none placeholder:text-faint","composer.attachment":"group/att flex h-9 items-center gap-2 rounded-xl border border-line bg-raised/60 pr-1.5 pl-2.5 text-xs","sidebar.shell":"flex h-full flex-col bg-sidebar pt-[env(safe-area-inset-top)]","sidebar.drawer":"fixed inset-y-0 left-0 z-0 flex w-[min(86vw,24rem)] flex-col bg-sidebar outline-none transition-[translate,opacity] duration-380 ease-out-quint md:hidden","sidebar.rightShell":"flex h-full w-full flex-col border-l border-line bg-bg","sidebar.rightDrawer":"fixed inset-y-0 right-0 z-50 flex w-[min(24rem,90vw)] flex-col border-l border-line bg-sidebar shadow-float outline-none","sidebar.navItem":"group flex h-9 w-full items-center gap-2.5 rounded-lg px-2 text-left text-sm select-none transition-colors duration-150 ease-out-quint max-md:h-10 max-md:rounded-xl max-md:text-md","sidebar.sectionTitle":"flex-1 text-xs font-medium text-faint","sidebar.hoverPill":"pointer-events-none absolute top-0 left-0 rounded-lg bg-raised/65 opacity-0 will-change-transform max-md:rounded-xl","sidebar.activePill":"pointer-events-none absolute top-0 left-0 rounded-lg bg-raised opacity-0 max-md:rounded-xl shadow-sheen will-change-transform","markdown.p":"my-4 in-data-[streaming]:animate-stream-block first:mt-0 last:mb-0 [&:has(+ol)]:mb-1.5 [&:has(+ul)]:mb-1.5","markdown.strong":"font-semibold text-ink","markdown.a":"font-medium text-accent underline decoration-accent/40 underline-offset-[3px] transition-colors hover:text-accent-strong hover:decoration-accent","markdown.fileChip":"mx-[0.18em] inline-flex max-w-full cursor-pointer items-baseline gap-1 rounded-md bg-raised/85 px-[0.42em] py-[0.08em] align-baseline font-mono text-[0.84em] leading-[1.4] text-ink/92 no-underline transition-colors hover:bg-accent-soft hover:text-accent active:scale-[0.99]","markdown.h1":"mt-6 mb-2.5 in-data-[streaming]:animate-stream-block text-[1.28em] leading-snug font-semibold text-ink first:mt-0","markdown.h2":"mt-6 mb-2.5 in-data-[streaming]:animate-stream-block text-[1.16em] leading-snug font-semibold text-ink first:mt-0","markdown.h3":"mt-5.5 mb-2 in-data-[streaming]:animate-stream-block text-[1.06em] font-semibold text-ink first:mt-0","markdown.h4":"mt-4.5 mb-1.5 in-data-[streaming]:animate-stream-block font-semibold text-ink first:mt-0","markdown.ul":"mt-1.5 mb-5 list-disc pl-[1.5em] marker:text-faint first:mt-0 last:mb-0","markdown.ol":"mt-1.5 mb-5 list-decimal pl-[1.6em] marker:text-[0.9em] marker:text-faint first:mt-0 last:mb-0","markdown.li":"my-2 in-data-[streaming]:animate-stream-block pl-1 [&>blockquote]:my-2.5 [&>div]:my-2.5 [&>div:first-child]:mt-2 [&>ol]:mt-1.5 [&>ol]:mb-3 [&>ol:first-child]:mt-1.5 [&>ol:last-child]:mb-3 [&>p]:my-2 [&>p:first-child]:mt-0 [&>p:last-child]:mb-0 [&>ul]:mt-1.5 [&>ul]:mb-3 [&>ul:first-child]:mt-1.5 [&>ul:last-child]:mb-3","markdown.blockquote":"my-3.5 in-data-[streaming]:animate-stream-block border-l-[3px] border-line-strong pl-3.5 text-dim italic","markdown.hr":"my-5 in-data-[streaming]:animate-stream-block border-line","markdown.inlineCode":"mx-[0.18em] rounded-md bg-raised/85 px-[0.38em] py-[0.12em] font-mono text-[0.84em] text-ink/95 break-words","markdown.details":"my-3.5 in-data-[streaming]:animate-stream-block overflow-hidden rounded-xl border border-line bg-raised/25 not-italic first:mt-0 last:mb-0","markdown.detailsTrigger":"group/collapsible flex w-full cursor-pointer items-center gap-2 px-3.5 py-2.5 text-left font-sans text-ui leading-snug font-medium text-ink transition-colors hover:bg-raised/55 data-[state=open]:bg-raised/35","markdown.detailsContent":"border-t border-line px-3.5 py-3 [&>*:first-child]:mt-0 [&>*:last-child]:mb-0","markdown.imageButton":"my-3 block cursor-zoom-in overflow-hidden rounded-xl border border-line bg-panel text-left transition-[transform,filter] hover:brightness-95 active:scale-[0.99] focus-visible:ring-2 focus-visible:ring-accent outline-none","markdown.tableWrap":"my-4 in-data-[streaming]:animate-stream-block overflow-x-auto rounded-xl border border-line font-sans not-italic first:mt-0 last:mb-0","markdown.table":"w-full border-collapse text-ui","markdown.thead":"bg-raised/50","markdown.th":"min-w-24 border-b border-line px-3 py-2 text-left font-semibold","markdown.td":"min-w-24 border-t border-line px-3 py-2 align-top [&_code]:wrap-anywhere"};
|
|
8
|
-
export{ze,dr,jr,Wr,Hr,L,v,ls,ei,zr,fa,ti,ga,$n,ya,ba};
|
package/chunk-repjnwda.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import"./chunk-k7n6bhkz.js";import"./chunk-06gjy5s2.js";import{mn}from"./chunk-fdgrayj5.js";import{It,xt,Mt}from"./chunk-a2r89pk2.js";import{pt}from"./chunk-aq6xkc1w.js";import{ce}from"./chunk-54zpktrq.js";import{In}from"./chunk-1c8yqctx.js";import{Q,ee}from"./chunk-fgpzy3fe.js";import{Fe,te}from"./chunk-64h4gw8d.js";import{J}from"./chunk-eg161ep9.js";import{yi,Jn}from"./chunk-je4cjwhm.js";import{G,Ut,xe,ue,Pe,Ce,Y}from"./chunk-0z138vnr.js";import{j,gt,Er,We}from"./chunk-xq7zspqs.js";var Se="https://chatgpt.com/backend-api",Ee="https://api.openai.com/auth",_e=0,X=1000,ke=60000,Te=15000,ve=3,ae=new Set(["openai","openai-codex","opencode"]),Re=1009,Oe="websocket_connection_limit_reached",Ae="previous_response_not_found",Me=new Set(["completed","incomplete","failed","cancelled","queued","in_progress"]);function Z(e){if(e.stopReason==="pending")throw Error("Codex stream ended without a stop reason");if(e.stopReason==="error"||e.stopReason==="aborted")throw Error(e.errorMessage||"An unknown error occurred")}function Le(e){return/GoUsageLimitError|FreeUsageLimitError|Monthly usage limit reached|available balance|insufficient_quota|out of budget|quota exceeded|billing/i.test(e)}function De(e,r){if(e===429&&Le(r))return!1;if(e===429||e===500||e===502||e===503||e===504)return!0;return/rate.?limit|overloaded|service.?unavailable|upstream.?connect|connection.?refused/i.test(r)}function Ne(e){let r=e.get("retry-after-ms");if(r!==null){let s=Number(r);if(Number.isFinite(s))return Math.max(0,s)}let t=e.get("retry-after");if(!t)return;let n=Number(t);if(Number.isFinite(n))return Math.max(0,n*1000);let o=Date.parse(t);if(!Number.isNaN(o))return Math.max(0,o-Date.now());return}class H extends Error{}function qe(e,r){let t=r?.maxRetryDelayMs??ke;if(t>0&&e>t)throw new H(`Server requested ${Math.ceil(e/1000)}s retry delay (max: ${Math.ceil(t/1000)}s)`);return e}function re(e,r){return new Promise((t,n)=>{if(r?.aborted){n(Error("Request was aborted"));return}let o=setTimeout(t,e);r?.addEventListener("abort",()=>{clearTimeout(o),n(Error("Request was aborted"))})})}function ne(e){if(e===void 0)return;if(!Number.isFinite(e)||e<0)throw Error(`Invalid timeoutMs: ${String(e)}`);return Math.floor(e)}function Be(){if(typeof process>"u"||!(process.versions?.node||process.versions?.bun))return null;return process.getBuiltinModule?.("node:zlib")??null}function Ie(e){let r=Be();if(!r||typeof r.zstdCompressSync!=="function")return null;try{let t=r.zstdCompressSync(e,{params:{[r.constants.ZSTD_c_compressionLevel]:ve}});return new Uint8Array(t)}catch{return null}}var Ue=(e,r,t)=>{let n=new j,o=ue(r,e.compat?.supportsMidConvoSystemMessages);return(async()=>{let s={role:"assistant",content:[],api:"openai-codex-responses",provider:e.provider,model:e.id,usage:{input:0,output:0,cacheRead:0,cacheWrite:0,totalTokens:0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}},stopReason:"pending",timestamp:Date.now()};try{let i=t?.apiKey;if(!i)throw Error(`No API key for provider: ${e.provider}`);let u=ht(i),a=Fe(Pe(o.messages),e.compat?.supportsOpenAIGrammarTools??!1),d=t?.cacheRetention==="none"?void 0:t?.sessionId,p=pt(d),c=$e(e,o,t,p,a),l=await t?.onPayload?.(c,e);if(l!==void 0)c=l;let f=p||Jn(),m=wt(e.headers,t?.headers,u,i,p),b=St(e.headers,t?.headers,u,i,f),h=JSON.stringify(c),E=ne(t?.timeoutMs),w=ne(t?.websocketConnectTimeoutMs),v=t?.transport||"auto",T=!1,y=v!=="sse"&&me(d);if(y)se(d);if(v!=="sse"&&!y){let S=!1,k=!1,O=!1;while(!0){S=!1;try{if(await yt(Je(e.baseUrl),c,b,s,n,e,()=>{if(S=!0,!T)T=!0,n.push({type:"start",partial:s})},E,w,d,u,a,t),t?.signal?.aborted)throw Error("Request was aborted");Z(s),n.push({type:"done",reason:s.stopReason,message:s}),n.end();return}catch(R){let D=t?.signal?.aborted,N=!S&&Ge(R),M=je(R);if(!D&&M&&!O){O=!0;continue}if(!D&&N&&!k){k=!0;continue}if(D||Ke(R)&&!N)throw R;if(We(s,Er("provider_transport_failure",R,{configuredTransport:v,...S?{}:{fallbackTransport:"sse"},eventsEmitted:S,phase:S?"after_message_stream_start":"before_message_stream_start",requestBytes:new TextEncoder().encode(h).byteLength})),rt(d,R),S)throw R;se(d);break}}}let x=Ie(h);if(x)m.set("content-encoding","zstd");let A=x??h,_,L,F=t?.maxRetries??_e;for(let S=0;S<=F;S++){if(t?.signal?.aborted)throw Error("Request was aborted");try{let k=E!==void 0&&E>0?AbortSignal.timeout(E):void 0,O=mn([t?.signal,k]);try{_=await(t?.fetch??globalThis.fetch)(de(e.baseUrl),{method:"POST",headers:m,body:A,signal:O.signal})}catch(M){if(k?.aborted&&!t?.signal?.aborted)throw Error(`Codex SSE response headers timed out after ${E}ms`);throw M}finally{O.cleanup()}if(await t?.onResponse?.({status:_.status,headers:J(_.headers)},e),_.ok)break;let R=await _.text();if(S<F&&De(_.status,R)){let M=Ne(_.headers),ge=M===void 0?X*2**S:qe(M,t);await re(ge,t?.signal);continue}let D=new Response(R,{status:_.status,statusText:_.statusText}),N=await bt(D);throw Error(N.friendlyMessage||N.message)}catch(k){if(k instanceof Error){if(k.name==="AbortError"||k.message==="Request was aborted")throw Error("Request was aborted")}if(L=k instanceof Error?k:Error(String(k)),S<F&&!(L instanceof H)&&!L.message.includes("usage limit")){let O=X*2**S;await re(O,t?.signal);continue}throw L}}if(!_?.ok)throw L??Error("Failed after retries");if(!_.body)throw Error("No response body");if(!T)T=!0,n.push({type:"start",partial:s});if(await He(_,s,n,e,a,t),t?.signal?.aborted)throw Error("Request was aborted");Z(s),n.push({type:"done",reason:s.stopReason,message:s}),n.end()}catch(i){for(let u of s.content)delete u.partialJson,delete u.customInput;s.stopReason=t?.signal?.aborted?"aborted":"error",s.errorMessage=ee(Q(i)),n.push({type:"error",reason:s.stopReason,error:s}),n.end()}})(),n},Ft=(e,r,t)=>{let n=t?.apiKey;if(!n)throw Error(`No API key for provider: ${e.provider}`);let o={...te(e,r,t,n),toolChoice:t?.toolChoice},s=t?.reasoning?Y(e,t.reasoning):void 0;return Ue(e,r,{...o,reasoningEffort:s==="off"?void 0:s})};function $e(e,r,t,n,o=Fe(Pe(r.messages),e.compat?.supportsOpenAIGrammarTools??!1)){let s=e.compat?.supportsStrictMode??!0,i=e.compat?.supportsOpenAIGrammarTools??!1,u=e.compat?.supportsAdditionalTools??!1,a=e.compat?.supportsToolSearch??!1,d=Ce(r.messages,u||a),p=It(e,r,ae,{includeSystemPrompt:!1,grammarToolInputProperties:o,supportsMidConvoSystemMessages:e.compat?.supportsMidConvoSystemMessages??!1,supportsAdditionalTools:u,supportsToolSearch:a,toolOptions:{strict:null,supportsStrictMode:s,supportsOpenAIGrammarTools:i}}),c=xe(r.messages),l=c?G(c):"",f={model:e.id,store:!1,stream:!0,instructions:l||"You are a helpful assistant.",input:p,text:{verbosity:t?.textVerbosity||"low"},include:["reasoning.encrypted_content"],prompt_cache_key:n,tool_choice:t?.toolChoice??"auto",parallel_tool_calls:!0};if(t?.temperature!==void 0)f.temperature=t.temperature;if(t?.serviceTier!==void 0)f.service_tier=t.serviceTier;if(d.requestTools.length>0)f.tools=xt(d.requestTools,{strict:null,supportsStrictMode:s,supportsOpenAIGrammarTools:i});if(t?.reasoningEffort!==void 0){let m=t.reasoningEffort==="none"?e.thinkingLevelMap?.off===void 0?"none":e.thinkingLevelMap.off:e.thinkingLevelMap?.[t.reasoningEffort]??t.reasoningEffort;if(m!==null)f.reasoning={effort:m,summary:t.reasoningSummary??"auto"}}else if(e.reasoning&&e.thinkingLevelMap?.off!==null)f.reasoning={effort:e.thinkingLevelMap?.off??"none"};return f}function ze(e,r){switch(r){case"flex":return 0.5;case"priority":return e.id==="gpt-5.5"?2.5:2;default:return 1}}function fe(e,r,t){let n=ze(t,r);if(n===1)return;e.cost.input*=n,e.cost.output*=n,e.cost.cacheRead*=n,e.cost.cacheWrite*=n,e.cost.total=e.cost.input+e.cost.output+e.cost.cacheRead+e.cost.cacheWrite}function le(e,r){if(e==="default"&&(r==="flex"||r==="priority"))return r;return e??r}function de(e){let t=(e&&e.trim().length>0?e:Se).replace(/\/+$/,"");if(t.endsWith("/codex/responses"))return t;if(t.endsWith("/codex"))return`${t}/responses`;return`${t}/codex/responses`}function Je(e){let r=new URL(de(e));if(r.protocol==="https:")r.protocol="wss:";if(r.protocol==="http:")r.protocol="ws:";return r.toString()}async function He(e,r,t,n,o,s){await Mt(pe(Ye(e,s?.signal),r,n,s?.onProviderStreamEvent),r,t,n,{serviceTier:s?.serviceTier,grammarToolInputProperties:o,resolveServiceTier:le,applyServiceTierPricing:(i,u)=>fe(i,u,n)})}class W extends Error{code;payload;constructor(e,r){super(e);this.name="CodexApiError",this.code=r?.code,this.payload=r?.payload,this.cause=r?.cause}}class I extends Error{payload;constructor(e,r){super(e);this.name="CodexProtocolError",this.payload=r?.payload,this.cause=r?.cause}}class K extends Error{constructor(e){super(gt(e));this.name="ProviderStreamEventCallbackError",this.cause=e}}function Ke(e){return e instanceof W||e instanceof I||e instanceof K}function Ge(e){return e instanceof W&&e.code===Oe}function je(e){return e instanceof W&&e.code===Ae}function Ve(e){let r=e.error&&typeof e.error==="object"?e.error:void 0;return{code:typeof e.code==="string"?e.code:typeof r?.code==="string"?r.code:void 0,message:typeof e.message==="string"?e.message:typeof r?.message==="string"?r.message:void 0}}async function*pe(e,r,t,n){for await(let o of e){try{await n?.(o,t)}catch(i){throw new K(i)}let s=typeof o.type==="string"?o.type:void 0;if(!s)continue;if(s==="error"){let{code:i,message:u}=Ve(o);throw new W(`Codex error: ${u||i||JSON.stringify(o)}`,{code:i,payload:o})}if(s==="response.failed"){let i=o.response,u=i?.error?.code,a=i?.error?.message;throw new W(a||"Codex response failed",{code:u,payload:o})}if(s==="response.done"||s==="response.completed"||s==="response.incomplete"){let i=o.response;if(typeof i?.end_turn==="boolean")r.endTurn=i.end_turn;let u=i?{...i,status:Xe(i.status)}:i;yield{...o,type:"response.completed",response:u};return}yield o}}function Xe(e){if(typeof e!=="string")return;return Me.has(e)?e:void 0}async function*Ye(e,r){if(!e.body)return;let t=e.body.getReader(),n=new TextDecoder,o="",s=()=>{t.cancel().catch(()=>{})};r?.addEventListener("abort",s,{once:!0});try{while(!0){if(r?.aborted)throw Error("Request was aborted");let{done:i,value:u}=await t.read();if(r?.aborted)throw Error("Request was aborted");if(o+=i?n.decode():n.decode(u,{stream:!0}),i&&o.trim())o+=`
|
|
3
|
-
|
|
4
|
-
`;let a=o.indexOf(`
|
|
5
|
-
|
|
6
|
-
`);while(a!==-1){let d=o.slice(0,a);o=o.slice(a+2);let p=d.split(`
|
|
7
|
-
`).filter((c)=>c.startsWith("data:")).map((c)=>c.slice(5).trim());if(p.length>0){let c=p.join(`
|
|
8
|
-
`).trim();if(c&&c!=="[DONE]")try{yield JSON.parse(c)}catch(l){throw new I(`Invalid Codex SSE JSON: ${gt(l)}`,{cause:l,payload:c})}}a=o.indexOf(`
|
|
9
|
-
|
|
10
|
-
`)}if(i)break}}finally{r?.removeEventListener("abort",s);try{await t.cancel()}catch{}try{t.releaseLock()}catch{}}}var Ze="responses_websockets=2026-02-06",Qe=300000,et=3300000,g=new Map,q=new Map,P=new Set;function V(e){let r=q.get(e);if(!r)r={requests:0,connectionsCreated:0,connectionsReused:0,cachedContextRequests:0,storeTrueRequests:0,fullContextRequests:0,deltaRequests:0,lastInputItems:0,websocketFailures:0,sseFallbacks:0},q.set(e,r);return r}function $t(e){let r=q.get(e);return r?{...r}:void 0}function zt(e){if(e){q.delete(e),P.delete(e);return}q.clear(),P.clear()}function tt(e){let r=(t)=>{if(t.idleTimer)clearTimeout(t.idleTimer);C(t.socket,1000,"debug_close")};if(e){for(let t of g.get(e)?.values()??[])r(t);g.delete(e);return}for(let t of g.values())for(let n of t.values())r(n);g.clear()}yi(tt);function me(e){return e?P.has(e):!1}function se(e){if(!e)return;let r=V(e);r.sseFallbacks++,r.websocketFallbackActive=me(e)}function rt(e,r){if(!e)return;P.add(e);let t=V(e);t.websocketFailures++,t.lastWebSocketError=gt(r),t.websocketFallbackActive=!0}var U=null;async function nt(e){if(!e&&U)return U;if(typeof process<"u"&&process.versions?.bun){let t=class extends WebSocket{constructor(n,o){let s={};if(Array.isArray(o)||typeof o==="string")s={protocols:o};else s={...o};let i=In(n.toString().replace(/^wss:/,"https:").replace(/^ws:/,"http:"),e);super(n,{...s,...i?{proxy:i.toString()}:{}})}};if(!e)U=t;return t}let r=globalThis.WebSocket;if(typeof r!=="function")return null;return r}class ye extends Error{code;reason;wasClean;constructor(e,r){super(e);this.name="WebSocketCloseError",this.code=r?.code,this.reason=r?.reason,this.wasClean=r?.wasClean}}function st(e){let r=e.readyState;return typeof r==="number"?r:void 0}function B(e){let r=st(e);return r===void 0||r===1}function ot(e){return Date.now()-e.createdAt>=et}function C(e,r=1000,t="done"){try{e.close(r,t)}catch{}}function oe(e,r,t){if(t.idleTimer)clearTimeout(t.idleTimer);t.idleTimer=setTimeout(()=>{if(t.busy)return;C(t.socket,1000,"idle_timeout");let n=g.get(e);if(n?.get(r)===t)n.delete(r);if(n?.size===0)g.delete(e)},Qe)}async function z(e,r,t,n=Te,o){let s=await nt(o);if(!s)throw Error("WebSocket transport is not available in this runtime");let i=J(r);return delete i["OpenAI-Beta"],new Promise((u,a)=>{let d=!1,p,c;try{c=new s(e,{headers:i})}catch(w){a(w instanceof Error?w:Error(String(w)));return}let l=()=>{if(p)clearTimeout(p),p=void 0;c.removeEventListener("open",m),c.removeEventListener("error",b),c.removeEventListener("close",h),t?.removeEventListener("abort",E)},f=(w,v)=>{if(d)return;if(d=!0,l(),v)C(c,1000,v);a(w)},m=()=>{if(d)return;d=!0,l(),u(c)},b=(w)=>{f(be(w))},h=(w)=>{f(he(w))},E=()=>{f(Error("Request was aborted"),"aborted")};if(c.addEventListener("open",m),c.addEventListener("error",b),c.addEventListener("close",h),t?.addEventListener("abort",E),n>0)p=setTimeout(()=>{f(Error(`WebSocket connect timeout after ${n}ms`),"connect_timeout")},n);if(t?.aborted)E()})}async function it(e,r,t,n,o,s,i){if(!t){let c=await z(e,r,o,s,i);return{socket:c,reused:!1,release:()=>C(c)}}let u=g.get(t),a=u?.get(n);if(a){if(a.idleTimer)clearTimeout(a.idleTimer),a.idleTimer=void 0;if(!a.busy&&ot(a)){if(C(a.socket,1000,"connection_age_limit"),u?.delete(n),u?.size===0)g.delete(t)}else if(!a.busy&&B(a.socket))return a.busy=!0,{socket:a.socket,entry:a,reused:!0,release:({keep:c}={})=>{if(!c||!B(a.socket)){C(a.socket);let l=g.get(t);if(l?.get(n)===a)l.delete(n);if(l?.size===0)g.delete(t);return}a.busy=!1,oe(t,n,a)}};if(a.busy){let c=await z(e,r,o,s,i);return{socket:c,reused:!1,release:()=>{C(c)}}}if(!B(a.socket)){if(C(a.socket),u?.delete(n),u?.size===0)g.delete(t)}}let d=await z(e,r,o,s,i),p={socket:d,busy:!0,createdAt:Date.now()};if(u=g.get(t),!u)u=new Map,g.set(t,u);return u.set(n,p),{socket:d,entry:p,reused:!1,release:({keep:c}={})=>{if(!c||!B(p.socket)){if(C(p.socket),p.idleTimer)clearTimeout(p.idleTimer);let l=g.get(t);if(l?.get(n)===p)l.delete(n);if(l?.size===0)g.delete(t);return}p.busy=!1,oe(t,n,p)}}}function be(e){if(e&&typeof e==="object"){let r="message"in e?e.message:void 0;if(typeof r==="string"&&r.length>0)return Error(r);let t="error"in e?e.error:void 0;if(t instanceof Error&&t.message.length>0)return t;if(t&&typeof t==="object"&&"message"in t){let n=t.message;if(typeof n==="string"&&n.length>0)return Error(n)}}return Error("WebSocket error")}function he(e){if(e&&typeof e==="object"){let r="code"in e?e.code:void 0,t="reason"in e?e.reason:void 0,n="wasClean"in e?e.wasClean:void 0,o=typeof r==="number"?` ${r}`:"",s=typeof t==="string"&&t.length>0?` ${t}`:"";if(!s&&r===Re)s=" message too big";return new ye(`WebSocket closed${o}${s}`.trim(),{code:typeof r==="number"?r:void 0,reason:typeof t==="string"&&t.length>0?t:void 0,wasClean:typeof n==="boolean"?n:void 0})}return Error("WebSocket closed")}async function at(e){if(typeof e==="string")return e;if(e instanceof ArrayBuffer)return new TextDecoder().decode(new Uint8Array(e));if(ArrayBuffer.isView(e)){let r=e;return new TextDecoder().decode(new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}if(e&&typeof e==="object"&&"arrayBuffer"in e){let t=await e.arrayBuffer();return new TextDecoder().decode(new Uint8Array(t))}return null}async function*ct(e,r,t){let n=[],o=null,s=!1,i=null,u=!1,a=()=>{if(!o)return;let f=o;o=null,f()},d=(f)=>{(async()=>{let m=null;try{if(!f||typeof f!=="object"||!("data"in f))return;if(m=await at(f.data),!m)return;let b=JSON.parse(m),h=typeof b.type==="string"?b.type:"";if(h==="response.completed"||h==="response.done"||h==="response.incomplete")u=!0,s=!0;n.push(b),a()}catch(b){i=new I(`Invalid Codex WebSocket JSON: ${gt(b)}`,{cause:b,payload:m}),s=!0,a()}})()},p=(f)=>{i=be(f),s=!0,a()},c=(f)=>{if(u){s=!0,a();return}if(!i)i=he(f);s=!0,a()},l=()=>{i=Error("Request was aborted"),s=!0,a()};e.addEventListener("message",d),e.addEventListener("error",p),e.addEventListener("close",c),r?.addEventListener("abort",l);try{while(!0){if(r?.aborted)throw Error("Request was aborted");if(n.length>0){yield n.shift();continue}if(s)break;let f;await new Promise((m,b)=>{if(o=m,t!==void 0&&t>0)f=setTimeout(()=>{let h=Error(`WebSocket idle timeout after ${t}ms`);i=h,s=!0,o=null,C(e,1000,"idle_timeout"),b(h)},t)}).finally(()=>{if(f)clearTimeout(f)})}if(i)throw i;if(!u)throw Error("WebSocket stream closed before response.completed")}finally{e.removeEventListener("message",d),e.removeEventListener("error",p),e.removeEventListener("close",c),r?.removeEventListener("abort",l)}}function ie(e){let{input:r,previous_response_id:t,...n}=e;return n}function ut(e,r){return JSON.stringify(e??[])===JSON.stringify(r??[])}function ft(e,r){return JSON.stringify(ie(e))===JSON.stringify(ie(r))}function lt(e,r){if(!ft(e,r.lastRequestBody))return;let t=e.input??[],n=[...r.lastRequestBody.input??[],...r.lastResponseItems];if(t.length<n.length)return;let o=t.slice(0,n.length);if(!ut(o,n))return;return t.slice(n.length)}function dt(e,r){let t=e.continuation;if(!t)return r;let n=lt(r,t);if(!n||!t.lastResponseId)return e.continuation=void 0,r;return{...r,previous_response_id:t.lastResponseId,input:n}}async function*mt(e,r){let t=!1;for await(let n of e){if(!t)t=!0,r();yield n}}async function yt(e,r,t,n,o,s,i,u,a,d,p,c,l){let{socket:f,entry:m,reused:b,release:h}=await it(e,t,d,p,l?.signal,a,l?.env),E=!0,w=l?.transport==="websocket-cached"||l?.transport==="auto",v=r,T=w&&m?dt(m,v):v,y=d?V(d):void 0;if(y){if(y.requests++,b)y.connectionsReused++;else y.connectionsCreated++;if(w)y.cachedContextRequests++;if(T.store===!0)y.storeTrueRequests++;if(y.lastInputItems=T.input?.length??0,T.previous_response_id)y.deltaRequests++,y.lastDeltaInputItems=T.input?.length??0,y.lastPreviousResponseId=T.previous_response_id;else y.fullContextRequests++,y.lastDeltaInputItems=void 0,y.lastPreviousResponseId=void 0}try{if(f.send(JSON.stringify({type:"response.create",...T})),await Mt(mt(pe(ct(f,l?.signal,u),n,s,l?.onProviderStreamEvent),i),n,o,s,{serviceTier:l?.serviceTier,grammarToolInputProperties:c,resolveServiceTier:le,applyServiceTierPricing:(x,A)=>fe(x,A,s)}),l?.signal?.aborted)E=!1;else if(w&&m&&n.responseId){let x=It(s,Ut({messages:[n]}),ae,{includeSystemPrompt:!1,grammarToolInputProperties:c}).filter((A)=>A.type!=="function_call_output"&&A.type!=="custom_tool_call_output");m.continuation={lastRequestBody:v,lastResponseId:n.responseId,lastResponseItems:x}}}catch(x){if(m)m.continuation=void 0;throw E=!1,x}finally{h({keep:E})}}async function bt(e){let r=await e.text(),t=r||e.statusText||"Request failed",n;try{let s=JSON.parse(r)?.error;if(s){let i=s.code||s.type||"";if(/usage_limit_reached|usage_not_included|rate_limit_exceeded/i.test(i)||e.status===429){let u=s.plan_type?` (${s.plan_type.toLowerCase()} plan)`:"",a=s.resets_at?Math.max(0,Math.round((s.resets_at*1000-Date.now())/60000)):void 0,d=a!==void 0?` Try again in ~${a} min.`:"";n=`You have hit your ChatGPT usage limit${u}.${d}`.trim()}t=s.message||n||t}}catch{}return{message:t,friendlyMessage:n}}function ht(e){try{let r=e.split(".");if(r.length!==3)throw Error("Invalid token");let n=JSON.parse(atob(r[1]))?.[Ee]?.chatgpt_account_id;if(!n)throw Error("No account ID in token");return n}catch{throw Error("Failed to extract accountId from token")}}function we(e,r,t,n){let o=new Headers({originator:"pi","User-Agent":ce()});for(let[s,i]of Object.entries(e||{}))o.set(s,i);for(let[s,i]of Object.entries(r||{}))if(i===null)o.delete(s);else o.set(s,i);return o.set("Authorization",`Bearer ${n}`),o.set("chatgpt-account-id",t),o}function wt(e,r,t,n,o){let s=we(e,r,t,n);if(s.set("OpenAI-Beta","responses=experimental"),s.set("accept","text/event-stream"),s.set("content-type","application/json"),o)s.set("session-id",o),s.set("x-client-request-id",o);return s}function St(e,r,t,n,o){let s=we(e,r,t,n);return s.delete("accept"),s.delete("content-type"),s.delete("OpenAI-Beta"),s.delete("openai-beta"),s.set("OpenAI-Beta",Ze),s.set("x-client-request-id",o),s.set("session-id",o),s}export{tt as closeOpenAICodexWebSocketSessions,$t as getOpenAICodexWebSocketDebugStats,zt as resetOpenAICodexWebSocketDebugStats,Ue as stream,Ft as streamSimple};
|
package/chunk-rh6yvdwz.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{be,Xe,En,An}from"./chunk-4t2t0hcp.js";import{Q,ee}from"./chunk-fgpzy3fe.js";function a(r,o,s){if(!be(o))throw Error(`${r} returned invalid probabilities for ${s}`);return Object.fromEntries(Object.entries(o).map(([t,e])=>[t,Xe(r,e,`probability for ${s}.${t}`)]))}function f(r,o,s){if(!be(o))throw Error(`${r} returned an unexpected response`);let t=[];for(let[e,n]of Object.entries(s.questions)){let i=o[e];if(!be(i))throw Error(`${r} did not return an answer for ${e}`);if(n.type==="choice"){if(i.type!=="choice"||typeof i.choice!=="string")throw Error(`${r} did not return a choice answer for ${e}`);t.push([e,{type:"choice",choice:i.choice,probabilities:a(r,i.probabilities,e),confidence:Xe(r,i.confidence,`confidence for ${e}`)}])}else if(n.type==="score"){if(i.type!=="score")throw Error(`${r} did not return a score answer for ${e}`);t.push([e,{type:"score",score:Xe(r,i.score,`score for ${e}`),confidence:Xe(r,i.confidence,`confidence for ${e}`)}])}else{if(i.type!=="noul")throw Error(`${r} did not return a bool answer for ${e}`);t.push([e,{type:"bool",probability:Xe(r,i.noul,`probability for ${e}`)}])}}return Object.fromEntries(t)}function p(r){return{state:r.state,questions:Object.fromEntries(Object.entries(r.questions).map(([o,s])=>[o,s.type==="bool"?{...s,type:"noul"}:s]))}}async function _n(r,o,s,t){let e={api:o.api,provider:o.provider,model:o.id,answers:{},stopReason:"stop",timestamp:Date.now()};try{if(o.api!==r.api)throw Error(`Unsupported classifier API: ${o.api}`);if(s.images?.length)throw Error(`${r.label} does not support image input`);let n=await En(r.label,r.url(o),o,r.payload(o,p(s)),t),i=r.output(n),c=An(i.usage,o);if(c)e.usage=c;return e.answers=f(r.label,i.answers,s),e}catch(n){return e.stopReason=t?.signal?.aborted?"aborted":"error",e.errorMessage=ee(Q(n),`${r.label} error`),e}}
|
|
3
|
-
export{_n};
|
package/chunk-s2d5zp37.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{posix as pe,win32 as me}from"path";import{execFile as N,spawn as U}from"child_process";import{existsSync as x,mkdirSync as B,writeFileSync as F}from"fs";import{mkdir as A,open as j,readdir as v,readFile as G,realpath as W,stat as z,writeFile as K}from"fs/promises";import{constants as X,homedir as V,tmpdir as Y}from"os";import{delimiter as J,dirname as S,join as b,matchesGlob as Z,relative as Q}from"path";import{Readable as ee}from"stream";class E{info={platform:process.platform,arch:process.arch,env:process.env,home:V(),tmpdir:Y(),pty:typeof Bun<"u",rg:se("rg"),windowsBash:process.platform==="win32"?ie():void 0};async stat(e){try{let r=await z(e);return{kind:r.isFile()?"file":r.isDirectory()?"directory":"other",size:r.size,mtimeMs:r.mtimeMs}}catch(r){if(w(r)==="ENOENT"||w(r)==="ENOTDIR")return;throw r}}realpath(e){return W(e)}async readdir(e){return(await v(e,{withFileTypes:!0})).map((r)=>({name:r.name,directory:r.isDirectory()}))}async readFile(e,r){if(!r)return G(e);let n=await j(e,"r");try{let s=Buffer.alloc(Math.max(0,r.end-r.start)),o=await n.read(s,0,s.length,r.start);return s.subarray(0,o.bytesRead)}finally{await n.close()}}async writeFile(e,r){await A(S(e),{recursive:!0}),await K(e,r)}async mkdir(e){await A(e,{recursive:!0})}async glob(e,r){if(typeof Bun<"u")return(await Array.fromAsync(new Bun.Glob(e).scan({cwd:r,dot:!0}))).map((o)=>o.replaceAll("\\","/"));let n=(o)=>o.replace(/(^|\/)\./g,"$1\x00");return(await v(r,{recursive:!0,withFileTypes:!0})).filter((o)=>o.isFile()).map((o)=>Q(r,b(o.parentPath,o.name)).replaceAll("\\","/")).filter((o)=>Z(n(o),n(e)))}spawn(e,r){return r.pty?re(e,r,r.pty):te(e,r)}close(){}}var q=new E;function te(e,r){let n=process.platform==="win32",s=Date.now(),o=U(e[0]??"",e.slice(1),{cwd:r.cwd,env:_({...I(r.tmpdir),...r.env},r.inheritEnv),stdio:[r.stdin?"pipe":"ignore","pipe","pipe"],detached:Boolean(r.group)&&!n,windowsHide:!0}),i=Date.now(),a,c=new Promise((l,d)=>{o.once("error",d),o.once("exit",(u,p)=>l(p?128+(X.signals[p]??0):u??0))});c.catch(()=>{});let f=(l)=>{try{return ee.toWeb(l)}catch{return new ReadableStream({start:(d)=>d.close()})}};return{stdout:f(o.stdout),stderr:f(o.stderr),exited:c,write:(l)=>new Promise((d,u)=>{if(!o.stdin)return u(Error("stdin is not open"));o.stdin.write(l,(p)=>p?u(p):d())}),end:()=>new Promise((l)=>o.stdin?o.stdin.end(l):l()),kill:async()=>{if(o.pid===void 0)return;let l=o.exitCode!==null||o.signalCode!==null;if(n){if(l){if(await new Promise((d)=>setTimeout(d,50)),o.stdout?.readableEnded&&o.stderr?.readableEnded)return}a??=oe(o.pid,s,i).catch((d)=>{throw a=void 0,d}),await a;return}if(!r.group&&l)return;ne(o.pid,Boolean(r.group),()=>o.kill("SIGKILL"))},resize:()=>{}}}function re(e,r,n){if(typeof Bun>"u")throw Error("PTY requires the host to run on Bun");let s=new TransformStream,o=s.writable.getWriter(),i=Bun.spawn(e,{cwd:r.cwd,env:_({...I(r.tmpdir),...r.env},r.inheritEnv),terminal:{cols:n.cols,rows:n.rows,name:"xterm-256color",data:(c,f)=>void o.write(f),exit:()=>void o.close().catch(()=>{})}}),a=i.exited.then((c)=>(setTimeout(()=>{i.terminal?.close(),o.close().catch(()=>{})},1000),c));return{stdout:s.readable,stderr:new ReadableStream({start:(c)=>c.close()}),exited:a,write:async(c)=>{i.terminal?.write(c)},end:async()=>{},kill:async()=>{if(i.exitCode===null)i.kill()},resize:(c,f)=>i.terminal?.resize(c,f)}}function ne(e,r,n){try{if(r)process.kill(-e,"SIGKILL");else n()}catch(s){if(w(s)!=="ESRCH")throw s}}async function oe(e,r,n){let s=`
|
|
3
|
-
$ErrorActionPreference = 'Stop'
|
|
4
|
-
$floor = [DateTimeOffset]::FromUnixTimeMilliseconds(${r}).UtcDateTime
|
|
5
|
-
$all = @(Get-CimInstance Win32_Process)
|
|
6
|
-
$root = $all | Where-Object { $_.ProcessId -eq ${e} }
|
|
7
|
-
$ceiling = [DateTimeOffset]::FromUnixTimeMilliseconds(${n+1}).UtcDateTime
|
|
8
|
-
if ($root -and ($root.CreationDate.ToUniversalTime() -lt $floor -or $root.CreationDate.ToUniversalTime() -ge $ceiling)) { throw 'Process identity changed' }
|
|
9
|
-
$tree = @{}
|
|
10
|
-
$tree[${e}] = $floor
|
|
11
|
-
do {
|
|
12
|
-
$changed = $false
|
|
13
|
-
foreach ($p in $all) {
|
|
14
|
-
$id = [int]$p.ProcessId
|
|
15
|
-
$parent = [int]$p.ParentProcessId
|
|
16
|
-
if (!$p.CreationDate) { continue }
|
|
17
|
-
$created = $p.CreationDate.ToUniversalTime()
|
|
18
|
-
if (!$tree.ContainsKey($id) -and $tree.ContainsKey($parent) -and $created -ge $tree[$parent]) {
|
|
19
|
-
$tree[$id] = $created
|
|
20
|
-
$changed = $true
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
} while ($changed)
|
|
24
|
-
foreach ($p in @($all | Where-Object { $tree.ContainsKey([int]$_.ProcessId) } | Sort-Object CreationDate -Descending)) {
|
|
25
|
-
$live = $null
|
|
26
|
-
try { $live = [System.Diagnostics.Process]::GetProcessById([int]$p.ProcessId) }
|
|
27
|
-
catch { continue }
|
|
28
|
-
try {
|
|
29
|
-
if ([Math]::Abs(($live.StartTime.ToUniversalTime() - $p.CreationDate.ToUniversalTime()).TotalMilliseconds) -ge 1) { throw 'Process identity changed' }
|
|
30
|
-
if (!$live.HasExited) {
|
|
31
|
-
& taskkill.exe /PID $live.Id /F | Out-Null
|
|
32
|
-
if ($LASTEXITCODE -ne 0 -and !$live.HasExited) { throw 'Process termination failed' }
|
|
33
|
-
}
|
|
34
|
-
if (!$live.WaitForExit(2000)) { throw 'Process did not exit' }
|
|
35
|
-
} finally { $live.Dispose() }
|
|
36
|
-
}
|
|
37
|
-
exit 0
|
|
38
|
-
`;await new Promise((o,i)=>{N("powershell.exe",["-NoProfile","-NonInteractive","-Command",s],{windowsHide:!0,timeout:1e4,maxBuffer:64000},(a)=>{if(a)i(Error(`\u65E0\u6CD5\u7EC8\u6B62 Windows \u8FDB\u7A0B\u6811 ${e}\uFF0C\u8BF7\u68C0\u67E5\u8FDB\u7A0B\u6743\u9650\u6216\u7CFB\u7EDF\u7BA1\u7406\u670D\u52A1`,{cause:a}));else o()})})}function I(e){if(!e)return{};try{B(e,{recursive:!0});let r=b(e,".gitignore");if(!x(r))F(r,`*
|
|
39
|
-
!.gitignore
|
|
40
|
-
`);return{TMPDIR:e,TEMP:e,TMP:e}}catch{return{}}}function _(e={},r){let s={...r===void 0?process.env:Object.fromEntries(Object.entries(process.env).filter(([o,i])=>r.includes(o)&&!i?.startsWith("()"))),...e};return Object.fromEntries(Object.entries(s).filter((o)=>o[1]!==void 0))}function w(e){return e instanceof Error&&"code"in e?e.code:void 0}function se(e){if(typeof Bun<"u")return Bun.which(e)??void 0;let r=process.platform==="win32"?(process.env.PATHEXT??".EXE").split(";"):[""];for(let n of(process.env.PATH??"").split(J).filter(Boolean))for(let s of r)if(x(b(n,e+s)))return b(n,e+s);return}function ie(){let e=(process.env.PATH??"").split(";").map((o)=>o.trim()).filter(Boolean),r=(o)=>{let i=o.replaceAll("\\","/").toLowerCase();return/\/windows\/(system32|sysnative|syswow64)\/bash\.exe$/.test(i)||i.includes("/windowsapps/")},n=process.env.LOCALAPPDATA;return[...e.map((o)=>b(o,"bash.exe")).filter((o)=>!r(o)),...e.filter((o)=>x(b(o,"git.exe"))).flatMap((o)=>[b(S(o),"bin","bash.exe"),b(S(o),"usr","bin","bash.exe")]),"C:\\Program Files\\Git\\bin\\bash.exe","C:\\Program Files\\Git\\usr\\bin\\bash.exe","C:\\Program Files (x86)\\Git\\bin\\bash.exe","C:\\Program Files (x86)\\Git\\usr\\bin\\bash.exe",...n?[b(n,"Programs","Git","bin","bash.exe"),b(n,"Programs","Git","usr","bin","bash.exe")]:[],"C:\\msys64\\usr\\bin\\bash.exe"].find((o)=>x(o))}import{join as le}from"path";class Zr{channel;info;messages;nextID=0;calls=new Map;procs=new Map;closed;constructor(e,r,n){this.channel=e;this.info=r;this.messages=n;this.listen()}static async connect(e,r=30000){let n=ae(e.readable)[Symbol.asyncIterator](),s;try{let o=await Promise.race([n.next(),new Promise((i,a)=>{s=setTimeout(()=>a(Error("host handshake timed out")),r)})]);if(o.done||o.value.t!=="hello")throw Error("host process exited before it was ready");return new Zr(e,o.value.info,n)}catch(o){throw e.close(),o}finally{clearTimeout(s)}}stat(e){return this.call("stat",e)}realpath(e){return this.call("realpath",e)}readdir(e){return this.call("readdir",e)}readFile(e,r){return this.call("readFile",e,r)}async writeFile(e,r){await this.call("writeFile",e,r)}async mkdir(e){await this.call("mkdir",e)}glob(e,r){return this.call("glob",e,r)}spawn(e,r){let n=this.nextID++,s=new k((o,...i)=>this.call(o,n,...i));if(this.closed)s.fail(this.closed);else{this.procs.set(n,s);let o=Object.entries(r.env??{}).filter(([,i])=>i===void 0).map(([i])=>i);this.send({t:"spawn",h:n,argv:e,options:r,unsetEnv:o})}return s}get connected(){return this.closed===void 0}close(){this.shutdown(Error("host connection closed"))}call(e,...r){if(this.closed)return Promise.reject(this.closed);let n=this.nextID++,s=Promise.withResolvers();return this.calls.set(n,s),this.send({t:"call",id:n,op:e,args:r.map(ce)}),s.promise}send(e){try{Promise.resolve(this.channel.write(`${JSON.stringify(e)}
|
|
41
|
-
`)).catch((r)=>{this.shutdown(r instanceof Error?r:Error(String(r)))})}catch(r){this.shutdown(r instanceof Error?r:Error(String(r)))}}async listen(){try{for(let e=await this.messages.next();!e.done;e=await this.messages.next()){let r=e.value;if(r.t==="ret"||r.t==="err"){let o=this.calls.get(r.id);if(this.calls.delete(r.id),r.t==="ret")o?.resolve(O(r.value));else o?.reject(Object.assign(Error(r.message),{code:r.code}))}let n="h"in r?r.h:-1,s=this.procs.get(n);if(!s)continue;if(r.t==="out")s.push(r.s,O(r.d));if(r.t==="eof")s.eof(r.s);if(r.t==="exit"&&r.message!==void 0)s.fail(Object.assign(Error(r.message),{code:r.errorCode}));if(r.t==="exit"&&r.code!==void 0)s.exit(r.code);if(s.finished)this.procs.delete(n)}this.shutdown(Error("host process disconnected"))}catch(e){this.shutdown(e instanceof Error?e:Error(String(e)))}}shutdown(e){if(this.closed)return;this.closed=e;for(let r of this.calls.values())r.reject(e);this.calls.clear();for(let r of this.procs.values())r.fail(e);this.procs.clear(),this.channel.close()}}class k{control;stdout;stderr;sinks=[];done=Promise.withResolvers();exited=this.done.promise;constructor(e){this.control=e;this.stdout=new ReadableStream({start:(r)=>{this.sinks[1]=r}},{highWaterMark:8388608,size:(r)=>r?.byteLength??0}),this.stderr=new ReadableStream({start:(r)=>{this.sinks[2]=r}},{highWaterMark:8388608,size:(r)=>r?.byteLength??0}),this.exited.catch(()=>{})}async write(e){await this.control("write",e)}async end(){await this.control("end")}async kill(){await this.control("kill").catch((e)=>{if(!(e instanceof Error&&e.message==="process not found"))throw e})}resize(e,r){this.control("resize",e,r).catch(()=>{})}push(e,r){let n=this.sinks[e];if(n?.desiredSize!==null&&n?.desiredSize!==void 0&&r.byteLength>n.desiredSize){this.fail(Error("remote process output exceeded the 8 MiB unread buffer")),this.kill().catch(()=>{});return}try{n?.enqueue(r)}catch{}}open=2;ended=!1;get finished(){return this.ended&&this.open===0}eof(e){this.open--;try{this.sinks[e]?.close()}catch{}}exit(e){this.ended=!0,this.done.resolve(e)}fail(e){this.ended=!0,this.open=0;for(let r of this.sinks)try{r?.error(e)}catch{}this.done.reject(e)}}async function Vn(e,r=q.info.home){let n=q.spawn(e,{cwd:r,stdin:!0}),s=new Response(n.stderr).text();try{return await Zr.connect({readable:n.stdout,write:(o)=>n.write(o),close:()=>void n.kill().catch(()=>{})})}catch(o){await n.kill().catch(()=>{});let i=(await Promise.race([s,Bun.sleep(1000).then(()=>"")])).trim();throw Error(i?`${o.message}: ${i}`:o.message)}}async function*ae(e){let r=new TextDecoder,n=[],s=100663296,o=0;for await(let i of e){let a=0;for(let c=i.indexOf(10);c!==-1;c=i.indexOf(10,a)){if(o+=c-a,o>100663296)throw Error("host protocol message exceeds 96 MiB");n.push(i.subarray(a,c));let f=r.decode(n.length===1?n[0]:Buffer.concat(n));if(n.length=0,o=0,a=c+1,f)yield JSON.parse(f)}if(a<i.length){if(o+=i.length-a,o>100663296)throw Error("host protocol message exceeds 96 MiB");n.push(i.subarray(a))}}}function ce(e){return e instanceof Uint8Array?{$b:Buffer.from(e).toString("base64")}:e}function O(e){return e&&typeof e==="object"&&"$b"in e&&typeof e.$b==="string"?new Uint8Array(Buffer.from(e.$b,"base64")):e}var T;function C(){return Promise.resolve('var b=require("node:child_process"),p=require("node:fs"),m=require("node:fs/promises"),y=require("node:os"),l=require("node:path"),k=require("node:stream");class E{info={platform:process.platform,arch:process.arch,env:process.env,home:y.homedir(),tmpdir:y.tmpdir(),pty:typeof Bun<"u",rg:F("rg"),windowsBash:process.platform==="win32"?B():void 0};async stat(e){try{let r=await m.stat(e);return{kind:r.isFile()?"file":r.isDirectory()?"directory":"other",size:r.size,mtimeMs:r.mtimeMs}}catch(r){if(x(r)==="ENOENT"||x(r)==="ENOTDIR")return;throw r}}realpath(e){return m.realpath(e)}async readdir(e){return(await m.readdir(e,{withFileTypes:!0})).map((r)=>({name:r.name,directory:r.isDirectory()}))}async readFile(e,r){if(!r)return m.readFile(e);let n=await m.open(e,"r");try{let i=Buffer.alloc(Math.max(0,r.end-r.start)),t=await n.read(i,0,i.length,r.start);return i.subarray(0,t.bytesRead)}finally{await n.close()}}async writeFile(e,r){await m.mkdir(l.dirname(e),{recursive:!0}),await m.writeFile(e,r)}async mkdir(e){await m.mkdir(e,{recursive:!0})}async glob(e,r){if(typeof Bun<"u")return(await Array.fromAsync(new Bun.Glob(e).scan({cwd:r,dot:!0}))).map((t)=>t.replaceAll("\\\\","/"));let n=(t)=>t.replace(/(^|\\/)\\./g,"$1\\x00");return(await m.readdir(r,{recursive:!0,withFileTypes:!0})).filter((t)=>t.isFile()).map((t)=>l.relative(r,l.join(t.parentPath,t.name)).replaceAll("\\\\","/")).filter((t)=>l.matchesGlob(n(t),n(e)))}spawn(e,r){return r.pty?I(e,r,r.pty):H(e,r)}close(){}}var S=new E;function H(e,r){let n=process.platform==="win32",i=Date.now(),t=b.spawn(e[0]??"",e.slice(1),{cwd:r.cwd,env:A({...T(r.tmpdir),...r.env},r.inheritEnv),stdio:[r.stdin?"pipe":"ignore","pipe","pipe"],detached:Boolean(r.group)&&!n,windowsHide:!0}),o=Date.now(),u,d=new Promise((h,s)=>{t.once("error",s),t.once("exit",(c,a)=>h(a?128+(y.constants.signals[a]??0):c??0))});d.catch(()=>{});let w=(h)=>{try{return k.Readable.toWeb(h)}catch{return new ReadableStream({start:(s)=>s.close()})}};return{stdout:w(t.stdout),stderr:w(t.stderr),exited:d,write:(h)=>new Promise((s,c)=>{if(!t.stdin)return c(Error("stdin is not open"));t.stdin.write(h,(a)=>a?c(a):s())}),end:()=>new Promise((h)=>t.stdin?t.stdin.end(h):h()),kill:async()=>{if(t.pid===void 0)return;let h=t.exitCode!==null||t.signalCode!==null;if(n){if(h){if(await new Promise((s)=>setTimeout(s,50)),t.stdout?.readableEnded&&t.stderr?.readableEnded)return}u??=R(t.pid,i,o).catch((s)=>{throw u=void 0,s}),await u;return}if(!r.group&&h)return;U(t.pid,Boolean(r.group),()=>t.kill("SIGKILL"))},resize:()=>{}}}function I(e,r,n){if(typeof Bun>"u")throw Error("PTY requires the host to run on Bun");let i=new TransformStream,t=i.writable.getWriter(),o=Bun.spawn(e,{cwd:r.cwd,env:A({...T(r.tmpdir),...r.env},r.inheritEnv),terminal:{cols:n.cols,rows:n.rows,name:"xterm-256color",data:(d,w)=>void t.write(w),exit:()=>void t.close().catch(()=>{})}}),u=o.exited.then((d)=>(setTimeout(()=>{o.terminal?.close(),t.close().catch(()=>{})},1000),d));return{stdout:i.readable,stderr:new ReadableStream({start:(d)=>d.close()}),exited:u,write:async(d)=>{o.terminal?.write(d)},end:async()=>{},kill:async()=>{if(o.exitCode===null)o.kill()},resize:(d,w)=>o.terminal?.resize(d,w)}}function U(e,r,n){try{if(r)process.kill(-e,"SIGKILL");else n()}catch(i){if(x(i)!=="ESRCH")throw i}}async function R(e,r,n){let i=`\n$ErrorActionPreference = \'Stop\'\n$floor = [DateTimeOffset]::FromUnixTimeMilliseconds(${r}).UtcDateTime\n$all = @(Get-CimInstance Win32_Process)\n$root = $all | Where-Object { $_.ProcessId -eq ${e} }\n$ceiling = [DateTimeOffset]::FromUnixTimeMilliseconds(${n+1}).UtcDateTime\nif ($root -and ($root.CreationDate.ToUniversalTime() -lt $floor -or $root.CreationDate.ToUniversalTime() -ge $ceiling)) { throw \'Process identity changed\' }\n$tree = @{}\n$tree[${e}] = $floor\ndo {\n $changed = $false\n foreach ($p in $all) {\n $id = [int]$p.ProcessId\n $parent = [int]$p.ParentProcessId\n if (!$p.CreationDate) { continue }\n $created = $p.CreationDate.ToUniversalTime()\n if (!$tree.ContainsKey($id) -and $tree.ContainsKey($parent) -and $created -ge $tree[$parent]) {\n $tree[$id] = $created\n $changed = $true\n }\n }\n} while ($changed)\nforeach ($p in @($all | Where-Object { $tree.ContainsKey([int]$_.ProcessId) } | Sort-Object CreationDate -Descending)) {\n $live = $null\n try { $live = [System.Diagnostics.Process]::GetProcessById([int]$p.ProcessId) }\n catch { continue }\n try {\n if ([Math]::Abs(($live.StartTime.ToUniversalTime() - $p.CreationDate.ToUniversalTime()).TotalMilliseconds) -ge 1) { throw \'Process identity changed\' }\n if (!$live.HasExited) {\n & taskkill.exe /PID $live.Id /F | Out-Null\n if ($LASTEXITCODE -ne 0 -and !$live.HasExited) { throw \'Process termination failed\' }\n }\n if (!$live.WaitForExit(2000)) { throw \'Process did not exit\' }\n } finally { $live.Dispose() }\n}\nexit 0\n`;await new Promise((t,o)=>{b.execFile("powershell.exe",["-NoProfile","-NonInteractive","-Command",i],{windowsHide:!0,timeout:1e4,maxBuffer:64000},(u)=>{if(u)o(Error(`\u65E0\u6CD5\u7EC8\u6B62 Windows \u8FDB\u7A0B\u6811 ${e}\uFF0C\u8BF7\u68C0\u67E5\u8FDB\u7A0B\u6743\u9650\u6216\u7CFB\u7EDF\u7BA1\u7406\u670D\u52A1`,{cause:u}));else t()})})}function T(e){if(!e)return{};try{p.mkdirSync(e,{recursive:!0});let r=l.join(e,".gitignore");if(!p.existsSync(r))p.writeFileSync(r,`*\n!.gitignore\n`);return{TMPDIR:e,TEMP:e,TMP:e}}catch{return{}}}function A(e={},r){let i={...r===void 0?process.env:Object.fromEntries(Object.entries(process.env).filter(([t,o])=>r.includes(t)&&!o?.startsWith("()"))),...e};return Object.fromEntries(Object.entries(i).filter((t)=>t[1]!==void 0))}function x(e){return e instanceof Error&&"code"in e?e.code:void 0}function F(e){if(typeof Bun<"u")return Bun.which(e)??void 0;let r=process.platform==="win32"?(process.env.PATHEXT??".EXE").split(";"):[""];for(let n of(process.env.PATH??"").split(l.delimiter).filter(Boolean))for(let i of r)if(p.existsSync(l.join(n,e+i)))return l.join(n,e+i);return}function B(){let e=(process.env.PATH??"").split(";").map((t)=>t.trim()).filter(Boolean),r=(t)=>{let o=t.replaceAll("\\\\","/").toLowerCase();return/\\/windows\\/(system32|sysnative|syswow64)\\/bash\\.exe$/.test(o)||o.includes("/windowsapps/")},n=process.env.LOCALAPPDATA;return[...e.map((t)=>l.join(t,"bash.exe")).filter((t)=>!r(t)),...e.filter((t)=>p.existsSync(l.join(t,"git.exe"))).flatMap((t)=>[l.join(l.dirname(t),"bin","bash.exe"),l.join(l.dirname(t),"usr","bin","bash.exe")]),"C:\\\\Program Files\\\\Git\\\\bin\\\\bash.exe","C:\\\\Program Files\\\\Git\\\\usr\\\\bin\\\\bash.exe","C:\\\\Program Files (x86)\\\\Git\\\\bin\\\\bash.exe","C:\\\\Program Files (x86)\\\\Git\\\\usr\\\\bin\\\\bash.exe",...n?[l.join(n,"Programs","Git","bin","bash.exe"),l.join(n,"Programs","Git","usr","bin","bash.exe")]:[],"C:\\\\msys64\\\\usr\\\\bin\\\\bash.exe"].find((t)=>p.existsSync(t))}var D=["stat","realpath","readdir","readFile","writeFile","mkdir","glob"];async function O(e,r,n=S){let i=Promise.withResolvers(),t=async(s)=>{try{await r(`${JSON.stringify(s)}\n`)}catch(c){i.reject(c)}},o=new Map;i.promise.catch(()=>{});let u=Object.fromEntries(Object.entries(n.info.env).filter(([s,c])=>["path","shell","lang"].includes(s.toLowerCase())&&!c?.startsWith("()")));await t({t:"hello",info:{...n.info,env:u}});let d=async(s,c)=>{if(D.includes(s))return n[s].apply(n,c);let a=o.get(c[0]);if(!a)throw Error("process not found");if(s==="write")return a.write(c[1]);if(s==="end")return a.end();if(s==="kill")return a.kill();if(s==="resize")return a.resize(c[1],c[2]);throw Error(`unknown op ${s}`)},w=async(s,c,a)=>{for await(let f of c)await t({t:"out",h:s,s:a,d:C(f)});await t({t:"eof",h:s,s:a})},h=(s,c,a)=>{try{let f=n.spawn(c,a);o.set(s,f);let g=Promise.all([w(s,f.stdout,1),w(s,f.stderr,2)]).catch(()=>{});f.exited.then((v)=>{t({t:"exit",h:s,code:v}),g.then(()=>o.delete(s))},(v)=>{o.delete(s),t({t:"exit",h:s,...P(v)})})}catch(f){t({t:"exit",h:s,...P(f)})}};try{let s=M(e)[Symbol.asyncIterator]();for(;;){let c=await Promise.race([s.next(),i.promise]);if(c.done)break;let a=c.value;if(a.t==="spawn"){let f={...a.options.env};for(let g of a.unsetEnv??[])f[g]=void 0;h(a.h,a.argv,{...a.options,env:f})}if(a.t!=="call")continue;d(a.op,a.args.map(j)).then((f)=>t({t:"ret",id:a.id,value:C(f)}),(f)=>{let g=P(f);t({t:"err",id:a.id,message:g.message,code:g.errorCode})})}}finally{await Promise.all([...o.values()].map((s)=>s.kill().catch(()=>{})))}}async function*M(e){let r=new TextDecoder,n=[],i=100663296,t=0;for await(let o of e){let u=0;for(let d=o.indexOf(10);d!==-1;d=o.indexOf(10,u)){if(t+=d-u,t>100663296)throw Error("host protocol message exceeds 96 MiB");n.push(o.subarray(u,d));let w=r.decode(n.length===1?n[0]:Buffer.concat(n));if(n.length=0,t=0,u=d+1,w)yield JSON.parse(w)}if(u<o.length){if(t+=o.length-u,t>100663296)throw Error("host protocol message exceeds 96 MiB");n.push(o.subarray(u))}}}function C(e){return e instanceof Uint8Array?{$b:Buffer.from(e).toString("base64")}:e}function j(e){return e&&typeof e==="object"&&"$b"in e&&typeof e.$b==="string"?new Uint8Array(Buffer.from(e.$b,"base64")):e}function P(e){if(!(e instanceof Error))return{message:String(e)};return{message:e.message,errorCode:"code"in e&&typeof e.code==="string"?e.code:void 0}}O(process.stdin,(e)=>new Promise((r,n)=>{process.stdout.write(e,(i)=>i?n(i):r())})).then(()=>process.exit(0),(e)=>{console.error(e instanceof Error?e.message:String(e)),process.exit(1)});\n')}async function M(e,r="ssh"){if(!e.trim()||e.startsWith("-"))throw Error(`invalid ssh destination: ${e}`);let s=`import{createRequire}from"node:module";const require=createRequire(import.meta.url);eval(Buffer.from("${Buffer.from(await C()).toString("base64")}","base64").toString())`;return[r,"-T","-o","BatchMode=yes","-o","ForwardAgent=no","-o","ForwardX11=no","-o","ClearAllForwardings=yes","-o","ControlPath=none","-o","StrictHostKeyChecking=yes","-o","ConnectTimeout=15","-o","ServerAliveInterval=15","-o","ServerAliveCountMax=3",e,`sh -c '${'PATH="$HOME/.bun/bin:$PATH"; if command -v bun >/dev/null 2>&1; then exec bun -e "$0"; fi; if command -v node >/dev/null 2>&1; then exec node --input-type=module -e "$0"; fi; echo "basalt: bun or node is required on the remote host" >&2; exit 127'}' '${s}'`]}class st{destination;connect;connection;snapshot;disposed=!1;constructor(e,r=async(n)=>Vn(await M(n))){this.destination=e;this.connect=r}get info(){if(!this.snapshot)throw Error(`remote host ${this.destination} is not connected yet`);return this.snapshot}async ready(){return await this.remote(),this}async stat(e){return(await this.remote()).stat(e)}async realpath(e){return(await this.remote()).realpath(e)}async readdir(e){return(await this.remote()).readdir(e)}async readFile(e,r){return(await this.remote()).readFile(e,r)}async writeFile(e,r){return(await this.remote()).writeFile(e,r)}async mkdir(e){return(await this.remote()).mkdir(e)}async glob(e,r){return(await this.remote()).glob(e,r)}spawn(e,r){return ue(this.remote(),(n)=>n.spawn(e,r))}close(){this.disposed=!0;let e=this.connection;this.connection=void 0,e?.then((r)=>r.close()).catch(()=>{})}remote(){if(this.disposed)return Promise.reject(Error(`remote host ${this.destination} is closed`));let e=this.connection;if(e)return e.then((r)=>r.connected?r:this.reconnect(e));return this.reconnect(void 0)}reconnect(e){if(this.connection!==e&&this.connection)return this.remote();let r=this.connect(this.destination).then((n)=>{if(this.disposed)throw n.close(),Error(`remote host ${this.destination} is closed`);return this.snapshot=n.info,n});return this.connection=r,r.catch(()=>{if(this.connection===r)this.connection=void 0}),r}}function ue(e,r){let n=!1,s,o=Promise.withResolvers(),i=Promise.race([e.then((l)=>{if(n)throw Error("process cancelled before start");return s=r(l),s}),o.promise]),a=new TransformStream,c=new TransformStream;i.then((l)=>{l.stdout.pipeTo(a.writable).catch(()=>{}),l.stderr.pipeTo(c.writable).catch(()=>{})},(l)=>{a.writable.abort(l).catch(()=>{}),c.writable.abort(l).catch(()=>{})});let f=i.then((l)=>l.exited);return f.catch(()=>{}),{stdout:a.readable,stderr:c.readable,exited:f,write:async(l)=>(await i).write(l),end:async()=>(await i).end(),kill:async()=>{if(n=!0,s)await s.kill();else o.reject(Error("process cancelled before start"))},resize:(l,d)=>void i.then((u)=>u.resize(l,d)).catch(()=>{})}}function de(e){return e.info.platform==="win32"?me:pe}var pi="basalt.digest",di="basalt.notice",Kn="shell-guard",Sa=["done","error","aborted","interrupted","waiting_user"];class t extends Error{constructor(e){super(e);this.name="BadRequestError"}}class m extends Error{constructor(e){super(e);this.name="NotFoundError"}}var Dt="chatgpt:subscription";function D(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,"")}function L(e){return new Set(e.toLowerCase().split(/[^a-z0-9]+/).filter(Boolean))}function fe(e,r){if(e===r)return 0;let n=Array.from({length:r.length+1},(s,o)=>o);for(let s=1;s<=e.length;s++){let o=n[0]??0;n[0]=s;for(let i=1;i<=r.length;i++){let a=n[i]??0;n[i]=Math.min((n[i]??0)+1,(n[i-1]??0)+1,o+(e[s-1]===r[i-1]?0:1)),o=a}}return n[r.length]??0}function H(e,r){let n=D(e);if(!n)return[];let s=L(e),o=[];for(let i of r){let a=i.id.indexOf("/"),c=a>=0?i.id.slice(a+1):"",l=[i.id,i.name,c].filter(Boolean).map((u)=>({compact:D(u),tokens:L(u)})).filter((u)=>u.compact.length>0),d=Number.POSITIVE_INFINITY;for(let u of l)if(u.compact===n)d=Math.min(d,0);else if(u.compact.includes(n)||n.includes(u.compact)){let p=Math.abs(u.compact.length-n.length);d=Math.min(d,1+p/Math.max(u.compact.length,n.length))}else{let p=0;for(let g of s)if(u.tokens.has(g))p++;if(p>0){let g=p/Math.max(s.size,u.tokens.size);d=Math.min(d,10+(1-g)*10)}}if(!Number.isFinite(d)&&n.length>=4){let u=Math.max(2,Math.floor(n.length*0.34));for(let p of l){if(Math.abs(p.compact.length-n.length)>u)continue;let g=fe(n,p.compact);if(g<=u)d=Math.min(d,100+g)}}if(Number.isFinite(d))o.push({model:i,score:d})}return o.sort((i,a)=>i.score-a.score||i.model.id.localeCompare(a.model.id))}function ge(e,r,n=5){return H(e,r).slice(0,Math.max(1,n)).map((s)=>s.model)}function xa(e,r){let n=H(e,r);if(n.length===0)return;let s=n.filter((i)=>i.score===0);if(s.length===1&&s[0])return s[0].model;if(s.length>1)return;let o=n.filter((i)=>i.score<10);if(o.length===1&&o[0])return o[0].model;return}function va(e,r){let n=[...r].sort((a,c)=>a.id.localeCompare(c.id)),s=(a)=>a.name===a.id?a.id:`${a.id} (${a.name})`,o=ge(e,n).map(s),i=n.map(s);return[`unknown model ${e}`,`closest matches: ${o.length>0?o.join(", "):"none"}`,`available models (${i.length}): ${i.length>0?i.join(", "):"none"}`,"Use one of the listed provider/model IDs."].join(`
|
|
42
|
-
`)}var _a=["openai-completions","openai-responses","anthropic-messages"];function Qn(e){if(typeof e==="number")return Number.isFinite(e)&&e>0?Math.round(e):void 0;if(typeof e!=="string")return;let r=e.trim().toLowerCase();if(!r)return;let n=r.match(/^(\d+(?:\.\d+)?)\s*(k|m)?(?:i?b|tokens?)?$/);if(!n)return;let s=Number.parseFloat(n[1]??"");if(!Number.isFinite(s)||s<=0)return;let o=n[2];if(o==="k")return Math.round(s*1000);if(o==="m")return Math.round(s*1e6);return Math.round(s)}function P(e){if(e>=1e6&&e%1e5===0)return`${e/1e6}m`;if(e>=1000&&e%1000===0)return`${e/1000}k`;return String(e)}function he(e){let r=e.trim();if(!r)return;let n,s,o=r,i=o.match(/\s*\[(.*?)\]\s*$/);if(i&&i.index!==void 0){o=o.slice(0,i.index).trim();let d=i[1]?.split(",").map((p)=>p.trim()).filter(Boolean)??[],u=0;for(let p of d){let g=p.indexOf("=");if(g>=0){let h=p.slice(0,g).trim().toLowerCase(),R=Qn(p.slice(g+1).trim());if(h==="context"||h==="ctx"||h==="window"||h==="contextwindow")n=R;else if(h==="max"||h==="output"||h==="maxtokens")s=R}else{let h=Qn(p);if(u===0)n=h;else if(u===1)s=h;u++}}}else{let d=o.match(/^(.*?=.*?):(\d+(?:\.\d+)?[kmKM]?|\d{5,})\s*$/);if(d?.[1]&&d[2])o=d[1].trim(),n=Qn(d[2])}let a=o.indexOf("="),c,f;if(a<0)c=o.trim(),f=c;else c=o.slice(0,a).trim(),f=o.slice(a+1).trim()||c;if(!c)return;let l={id:c,name:f};if(n!==void 0)l.contextWindow=n;if(s!==void 0)l.maxTokens=s;return l}function en(e){return e.split(/\r?\n/).map(he).filter((r)=>r!==void 0)}function gs(e){return e.map((r)=>{let n=r.name===r.id?r.id:`${r.id}=${r.name}`,s=[];if(r.contextWindow!==void 0)s.push(P(r.contextWindow));if(r.maxTokens!==void 0)if(r.contextWindow!==void 0)s.push(P(r.maxTokens));else s.push(`max=${P(r.maxTokens)}`);return s.length>0?`${n} [${s.join(", ")}]`:n}).join(`
|
|
43
|
-
`)}var Ea=["react","react-dom","react/jsx-runtime","react/jsx-dev-runtime","@basalt/plugin/web","@basalt/ui"];var be=["http","https"];var Aa="provider:",Ta="oauth:openai",tn="update:registry";function ys(e){let r=e.trim();if(!r)throw Error("\u8BF7\u8F93\u5165\u4EE3\u7406\u4E3B\u673A\u6216\u5B8C\u6574\u5730\u5740");let n;try{n=new URL(/^[a-z][a-z\d+.-]*:\/\//i.test(r)?r:`http://${r}`)}catch{throw Error("\u4EE3\u7406\u5730\u5740\u65E0\u6548")}if(!ye(n.protocol))throw Error("\u4EC5\u652F\u6301 http:// \u6216 https:// \u4EE3\u7406");if(n.username||n.password||n.pathname!=="/"||n.search||n.hash)throw Error("\u4EE3\u7406\u5730\u5740\u53EA\u80FD\u5305\u542B\u534F\u8BAE\u3001\u4E3B\u673A\u548C\u7AEF\u53E3\uFF1B\u8D26\u53F7\u5BC6\u7801\u8BF7\u5355\u72EC\u586B\u5199");return{protocol:n.protocol==="https:"?"https":"http",hostname:n.hostname.replace(/^\[|\]$/g,""),port:n.port?Number(n.port):n.protocol==="https:"?443:8080}}function ye(e){return be.some((r)=>`${r}:`===e)}function ka(e){return e.startsWith("provider:")&&e.length>9}var Yn=["user","assistant","thinking","tool_input","tool_output","error","attachment","notice","extension","title"],Pa=["text","regex"],Ca=["best","recent"],Ra=["session","none"];var vr=4,Ia="https://basalt.work",Ma=["https://basalt.work","https://www.basalt.work"],mi=7420;var bs=["auto","bash","powershell","cmd"];var ws=["active","archived","all"],Oa="session.group";var hi=["pending","in_progress","completed"],Ss="basalt-session",fi=["image","text","path"],Xn="@blob:";var La=["defer","always"],Da=["global","tool","source"];function je(e,r){if(e.toLowerCase()!=="tool_call"||!r||typeof r!=="object")return{name:e,input:r};let n=r;if(typeof n.name!=="string"||!n.name.trim())return{name:e,input:r};if(n.arguments===void 0)return{name:n.name,input:{},source:{name:"tool_call",input:r}};if(!n.arguments||typeof n.arguments!=="object"||Array.isArray(n.arguments))return{name:e,input:r};return{name:n.name,input:n.arguments,source:{name:"tool_call",input:r}}}function Na(e){return/eyJ[A-Za-z0-9+/=_-]{16,}/.exec(e)?.[0]}var xs="x-basalt-remote-authorization",gi="cf-access-token";import{homedir as xe}from"os";import{join as y}from"path";function at(e=process.env){if(e.BASALT_HOME)return e.BASALT_HOME;let r=xe();if(process.platform==="win32")return y(e.LOCALAPPDATA??y(r,"AppData","Local"),"basalt");if(process.platform==="darwin")return y(r,"Library","Application Support","basalt");return y(e.XDG_DATA_HOME??y(r,".local","share"),"basalt")}function ui(e,r=q){return de(r).join(e,".basalt","tmp")}
|
|
44
|
-
export{q,Zr,Vn,st,de,at,ui,pi,di,Kn,Sa,t,m,Dt,xa,va,_a,Qn,en,gs,Ea,Aa,Ta,tn,ys,ka,Yn,Pa,Ca,Ra,vr,Ia,Ma,mi,bs,ws,Oa,hi,Ss,fi,Xn,La,Da,je,Na,xs,gi};
|
package/chunk-s68eamf1.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{so}from"./chunk-f95j1a8x.js";import{realpath as b}from"fs/promises";import{basename as w,dirname as h,isAbsolute as v,join as y,relative as R}from"path";var k="**/*.{ts,tsx,js,jsx,mjs,cjs}",I=["node_modules",".git","dist"],E=/\b(?:FROM|JOIN|INTO|UPDATE)\s+(?:sessions|entries|projects|plugin_\w+)\b/i,m=(s)=>s instanceof Error?s.message:String(s);async function N(s,t,r){let u=await s.webBundle(t);if(!u)throw Error("Web bundle became unavailable during verification");let e=await so(u,t,{signal:r});if(!("slots"in e))throw Error("Invalid module inspection report");let i=[];if(e.pageNav){let{viewID:n,kind:o}=e.pageNav;if(!e.views.includes(n))i.push(`pageNav.viewID is missing from views: ${n}`);else if(o!=="page")i.push(`pageNav.viewID must reference a page view: ${n}`)}return{slots:e.slots,views:e.views,codeBlocks:e.codeBlocks,pageNav:e.pageNav??null,themes:e.themes??[],hints:i}}function B(s,t){if(!/^index\.[^.]+$/.test(w(t)))return[w(t)];return new Bun.Glob(k).scan({cwd:s,onlyFiles:!0,followSymlinks:!1})}async function W(s,t){let r=await b(h(s));for await(let u of B(r,s)){if(t?.throwIfAborted(),u.split("/").some((n)=>I.includes(n)))continue;let e=await b(y(r,u)),i=R(r,e);if(i.startsWith("..")||v(i))continue;if(E.test(await Bun.file(e).text()))return!0}return!1}async function A(s,t,r,u,e){let i=[],n={status:"skipped",errors:[]},o=[],l=[],p=[],g=null,a=[],c=null;if(t.status!=="enabled")n.reason=`Plugin is ${t.status}; enable or repair it before building.`,i.push(n.reason);else if(!t.webBundle){if(n.reason="No dynamic Web entry is declared or discovered.",r.length&&!t.builtin)i.push("Web views are registered but no Web bundle is available.")}else{let d=u??await s.buildWeb(t.id);if(!d.ok){if(n.status="failed",n.errors=d.errors,i.push("Web build failed; fix the reported errors before testing the UI."),r.length)i.push("Registered Web views cannot render while their bundle fails to build.")}else{n.status="passed";try{let f=await N(s,t.id,e);({slots:o,views:l,codeBlocks:p,pageNav:g,themes:a}=f),i.push(...f.hints)}catch(f){e?.throwIfAborted(),c=m(f),i.push(`Web module inspection failed: ${c}`)}}}if(n.status==="passed"&&!c){for(let{view:d}of r)if(d&&!l.includes(d))i.push(`Registered view is missing from Web module: ${d}`)}return{build:n,slots:o,views:l,codeBlocks:p,pageNav:g,themes:a,moduleError:c,hints:i}}async function D(s,t,r,u){r?.throwIfAborted();let e=s.list().find((a)=>a.id===t);if(!e)throw Error(`Unknown plugin: ${t}. Load the plugin before verifying it.`);let i=(e.web??[]).map(({id:a,kind:c,view:d,title:f})=>({id:a,kind:c,view:d,title:f})),n=e.registrations.filter((a)=>a.kind==="route"||a.kind==="websocket"),o=await A(s,e,i,u,r),l=[...o.hints],p=s.sourceEntry(t);if(p&&!e.builtin)try{if(await W(p,r))l.push("\u5BBF\u4E3B\u8868\u4E0D\u662F\u7A33\u5B9A\u5951\u7EA6\uFF0C\u6539\u7528 b.sessions")}catch(a){r?.throwIfAborted(),l.push(`Plugin source scan failed: ${m(a)}`)}if(e.error)l.push("The host reports a plugin error; a previous generation may still be active.");if(n.length)l.push("Routes were not invoked. Use request with explicit inputs to check status and JSON responses.");let g=s.list().find((a)=>a.id===t);if(g?.webRevision!==e.webRevision||g?.status!==e.status)l.push("The plugin changed during verification; rerun verify for a consistent generation.");return{id:t,setup:{ok:e.status==="enabled"&&!e.error,status:e.status,error:e.error??null},registrations:e.registrations,web:{bundle:e.webBundle??!1,build:o.build,slots:o.slots,views:o.views,codeBlocks:o.codeBlocks,pageNav:o.pageNav,themes:o.themes,contributions:i,moduleError:o.moduleError},routes:n,hints:l}}export{D as verifyPlugin};
|
package/chunk-sacdpkwc.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{f,g,y}from"./chunk-3gf3g0xt.js";import{ae}from"./chunk-0z138vnr.js";var c=function(t,i){if(typeof t==="string"&&/^\.\.?\//.test(t))return t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,a,o,s,p){return a?i?".jsx":".js":o&&(!s||!p)?e:o+s+"."+p.toLowerCase()+"js"});return t},h=(t)=>{let i=import.meta.url.endsWith(".js")?t.replace(/\.ts$/,".js"):t;return import(c(i))},r;function ta(t){r=t}var ra=()=>ae(async()=>r??await h("./bedrock-converse-stream.ts"));var n={"anthropic-messages":{"chat:claude-fable-5":{id:"claude-fable-5",name:"Claude Fable 5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:10,output:50,cacheRead:1,cacheWrite:12.5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0},thinkingLevelMap:{off:null,xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-fable-5.1":{id:"claude-fable-5.1",name:"Claude Fable 5.1",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:10,output:50,cacheRead:0.25,cacheWrite:12.5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0},thinkingLevelMap:{off:null,xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-haiku-4.5":{id:"claude-haiku-4.5",name:"Claude Haiku 4.5 (latest)",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},contextWindow:200000,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsEagerToolInputStreaming:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-haiku-5.5":{id:"claude-haiku-5.5",name:"Claude Haiku 5.5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.1,output:0.5,cacheRead:0.01,cacheWrite:0.125,tiers:[{inputTokensAbove:1e5,input:0.5,output:2.5,cacheRead:0.05,cacheWrite:0.625}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-opus-4.7":{id:"claude-opus-4.7",name:"Claude Opus 4.7",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},contextWindow:1e6,maxTokens:32000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{xhigh:"xhigh",max:"max",minimal:"low"},compat:{forceAdaptiveThinking:!0,supportsTemperature:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-opus-4.8":{id:"claude-opus-4.8",name:"Claude Opus 4.8",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{xhigh:"xhigh",max:"max",minimal:"low"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-opus-5":{id:"claude-opus-5",name:"Claude Opus 5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{xhigh:"xhigh",max:"max",minimal:"low"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-opus-5.5":{id:"claude-opus-5.5",name:"Claude Opus 5.5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:4,output:20,cacheRead:0.2,cacheWrite:5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-sonnet-4.6":{id:"claude-sonnet-4.6",name:"Claude Sonnet 4.6",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},contextWindow:1e6,maxTokens:32000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{max:"max",minimal:"low"},compat:{forceAdaptiveThinking:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-sonnet-5":{id:"claude-sonnet-5",name:"Claude Sonnet 5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{xhigh:"xhigh",max:"max"},compat:{forceAdaptiveThinking:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-sonnet-5.5":{id:"claude-sonnet-5.5",name:"Claude Sonnet 5.5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:10,cacheRead:0.1,cacheWrite:2.5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"}},"openai-completions":{"chat:gemini-3.5-flash":{id:"gemini-3.5-flash",name:"Gemini 3.5 Flash",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0},contextWindow:200000,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gemini-3.6-flash":{id:"gemini-3.6-flash",name:"Gemini 3.6 Flash",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.75,output:3.75,cacheRead:0.075,cacheWrite:0},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gemini-3.7-flash":{id:"gemini-3.7-flash",name:"Gemini 3.7 Flash",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.75,output:3.75,cacheRead:0.075,cacheWrite:0},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gemini-3.8-flash":{id:"gemini-3.8-flash",name:"Gemini 3.8 Flash",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.75,output:3.75,cacheRead:0.075,cacheWrite:0},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:kimi-k2.7-code":{id:"kimi-k2.7-code",name:"Kimi K2.7 Code",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},contextWindow:256000,maxTokens:32000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:kimi-k3":{id:"kimi-k3",name:"Kimi K3",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:3,output:15,cacheRead:0.3,cacheWrite:0},contextWindow:1048576,maxTokens:131072,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1,supportsMidConvoSystemMessages:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"}},"openai-responses":{"chat:gpt-5-mini":{id:"gpt-5-mini",name:"GPT-5 Mini",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},contextWindow:264000,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:null,max:null},compat:{supportsOpenAIGrammarTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.3-codex":{id:"gpt-5.3-codex",name:"GPT-5.3 Codex",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},compat:{supportsOpenAIGrammarTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.4":{id:"gpt-5.4",name:"GPT-5.4",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0,tiers:[{inputTokensAbove:272000,input:5,output:22.5,cacheRead:0.5,cacheWrite:0}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.4-mini":{id:"gpt-5.4-mini",name:"GPT-5.4 mini",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},contextWindow:400000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.4-nano":{id:"gpt-5.4-nano",name:"GPT-5.4 nano",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},contextWindow:400000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",xhigh:"xhigh"},compat:{supportsOpenAIGrammarTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.5":{id:"gpt-5.5",name:"GPT-5.5",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:5,output:30,cacheRead:0.5,cacheWrite:0,tiers:[{inputTokensAbove:272000,input:10,output:45,cacheRead:1,cacheWrite:0}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.6-luna":{id:"gpt-5.6-luna",name:"GPT-5.6 Luna",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.2,output:1.2,cacheRead:0.02,cacheWrite:0.25,tiers:[{inputTokensAbove:200000,input:0.4,output:1.8,cacheRead:0.04,cacheWrite:0.5}]},contextWindow:1050000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.6-sol":{id:"gpt-5.6-sol",name:"GPT-5.6 Sol",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:4,output:20,cacheRead:0.4,cacheWrite:5,tiers:[{inputTokensAbove:272000,input:8,output:30,cacheRead:0.8,cacheWrite:10}]},contextWindow:1050000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.6-terra":{id:"gpt-5.6-terra",name:"GPT-5.6 Terra",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:12,cacheRead:0.2,cacheWrite:2.5,tiers:[{inputTokensAbove:272000,input:4,output:18,cacheRead:0.4,cacheWrite:5}]},contextWindow:1050000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-6-astra":{id:"gpt-6-astra",name:"GPT-6 Astra",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:10,output:50,cacheRead:1,cacheWrite:12.5,tiers:[{inputTokensAbove:272000,input:20,output:75,cacheRead:2,cacheWrite:25}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-6-luna":{id:"gpt-6-luna",name:"GPT-6 Luna",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.1,output:0.5,cacheRead:0.01,cacheWrite:0.125,tiers:[{inputTokensAbove:272000,input:0.2,output:0.75,cacheRead:0.02,cacheWrite:0.25}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:"none",minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-6-sol":{id:"gpt-6-sol",name:"GPT-6 Sol",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5,tiers:[{inputTokensAbove:272000,input:4,output:15,cacheRead:0.4,cacheWrite:5}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:"none",minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-6.1-sol":{id:"gpt-6.1-sol",name:"GPT-6.1 Sol",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:10,cacheRead:0.1,cacheWrite:2.5,tiers:[{inputTokensAbove:272000,input:4,output:15,cacheRead:0.2,cacheWrite:5}]},contextWindow:1050000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:grok-4.5":{id:"grok-4.5",name:"Grok 4.5",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:6,cacheRead:0.5,cacheWrite:0,tiers:[{inputTokensAbove:200000,input:4,output:12,cacheRead:1,cacheWrite:0}]},contextWindow:500000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:null,max:null},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:grok-4.6":{id:"grok-4.6",name:"Grok 4.6",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:6,cacheRead:0.5,cacheWrite:0,tiers:[{inputTokensAbove:200000,input:4,output:12,cacheRead:1,cacheWrite:0}]},contextWindow:500000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:grok-4.7":{id:"grok-4.7",name:"Grok 4.7",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:6,cacheRead:0.5,cacheWrite:0,tiers:[{inputTokensAbove:200000,input:4,output:12,cacheRead:1,cacheWrite:0}]},contextWindow:500000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:mai-code-1-flash-picker":{id:"mai-code-1-flash-picker",name:"MAI-Code-1-Flash",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text"],cost:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},contextWindow:256000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:null,max:null},type:"chat"},"chat:mai-code-1.1-flash":{id:"mai-code-1.1-flash",name:"MAI-Code-1.1-Flash",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.2,output:1.2,cacheRead:0.02,cacheWrite:0},contextWindow:256000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:null,max:null},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"}}};var Mn=f("github-copilot",n),T=g("github-copilot",n),w=y("github-copilot",n);var ns="https://radius.pi.dev";function d(t){if(typeof t!=="object"||t===null||Array.isArray(t))return!1;let i=t;return typeof i.id==="string"&&typeof i.name==="string"&&typeof i.reasoning==="boolean"&&Array.isArray(i.input)&&typeof i.cost==="object"&&i.cost!==null&&!Array.isArray(i.cost)&&typeof i.contextWindow==="number"&&typeof i.maxTokens==="number"}function u(t){if(typeof t!=="object"||t===null||Array.isArray(t))return;let{baseUrl:i,models:e}=t;if(typeof i!=="string"||!Array.isArray(e))return;return{baseUrl:i,models:e.filter(d).map((a)=>({...a}))}}function Nr(t){return(/^https?:\/\//iu.test(t)?t:`https://${t}`).replace(/\/+$/u,"")}function m(t){return u(t?.gatewayConfig)}function os(t,i){return i.models.map((e)=>({...e,api:"pi-messages",provider:t,baseUrl:i.baseUrl}))}function na(t,i){let e=m(i);return e?os(t,e):[]}function x(t){let i=t.trim();return i.length>512?`${i.slice(0,512)}\u2026`:i}async function oa(t,i,e){let a={accept:"application/json"};if(i)a.authorization=`Bearer ${i}`;let o=await fetch(new URL("/v1/config",t),{headers:a,signal:e});if(!o.ok)throw Error(`Could not load Radius config from ${t}: ${o.status}: ${x(await o.text())}`);let s=u(await o.json());if(!s)throw Error(`Invalid Radius config from ${t}`);return s}
|
|
3
|
-
export{ta,ra,Mn,ns,Nr,os,na,oa};
|