@qitqode/qitqode-android-arm64 0.1.21 → 0.1.23
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/bundle/{chunk-mbmc1mg0.js → chunk-0136n3jt.js} +1 -1
- package/bundle/{chunk-wm3b050v.js → chunk-05badzhy.js} +1 -1
- package/bundle/{chunk-p64fb4rm.js → chunk-07szgr15.js} +1 -1
- package/bundle/{chunk-jtbf88gw.js → chunk-0svy8w30.js} +2 -2
- package/bundle/{chunk-c88rh38d.js → chunk-0vhsc0yh.js} +1 -1
- package/bundle/{chunk-y0fxwgrv.js → chunk-101y7ce2.js} +1 -1
- package/bundle/{chunk-x6gzygc3.js → chunk-12cd1yj9.js} +1 -1
- package/bundle/chunk-1by6y9tm.js +2 -0
- package/bundle/{chunk-fkdbba26.js → chunk-1eg8mr1q.js} +1 -1
- package/bundle/{chunk-cx0z3mm3.js → chunk-1gg4c0pq.js} +1 -1
- package/bundle/{chunk-q2zk0z41.js → chunk-1gjh45v5.js} +1 -1
- package/bundle/chunk-1p7wqmxp.js +2 -0
- package/bundle/{chunk-w9mdrb90.js → chunk-1v47v7vm.js} +1 -1
- package/bundle/{chunk-zt8kghd2.js → chunk-1vx26nt2.js} +1 -1
- package/bundle/{chunk-ee5r4h0v.js → chunk-1w8b88y5.js} +1 -1
- package/bundle/{chunk-mt8zem33.js → chunk-21hnx8rx.js} +1 -1
- package/bundle/chunk-22pvftx8.js +2 -0
- package/bundle/{chunk-j2k4wxsk.js → chunk-22tf95dw.js} +1 -1
- package/bundle/{chunk-hrnx60em.js → chunk-22vvjp4g.js} +2 -2
- package/bundle/{chunk-3nc9wy1m.js → chunk-24r5h0fx.js} +2 -2
- package/bundle/{chunk-kywg73qz.js → chunk-26m5yn5d.js} +1 -1
- package/bundle/{chunk-n4spe0sv.js → chunk-26mt118z.js} +1 -1
- package/bundle/{chunk-t2n6fmpy.js → chunk-29hmwttd.js} +2 -2
- package/bundle/{chunk-abc7ccfd.js → chunk-2adsn1ca.js} +1 -1
- package/bundle/chunk-2bce1njy.js +2 -0
- package/bundle/{chunk-3gxhdy0c.js → chunk-2e76kpa6.js} +1 -1
- package/bundle/{chunk-7276th89.js → chunk-2e9a9brg.js} +1 -1
- package/bundle/{chunk-ne8ftsv3.js → chunk-2es79khv.js} +3 -3
- package/bundle/{chunk-6v4mhtha.js → chunk-2qj66wf5.js} +1 -1
- package/bundle/{chunk-x1naayst.js → chunk-2qy760rf.js} +1 -1
- package/bundle/{chunk-651fyxmn.js → chunk-2wcwbp3t.js} +152 -152
- package/bundle/{chunk-1b9ey3yh.js → chunk-338hbnza.js} +1 -1
- package/bundle/{chunk-t6dymkmx.js → chunk-36c2avm4.js} +1 -1
- package/bundle/{chunk-9fdv5d8a.js → chunk-381j1hqf.js} +1 -1
- package/bundle/{chunk-y2tnzn1y.js → chunk-3cpqdake.js} +1 -1
- package/bundle/chunk-3gsvbfqz.js +2 -0
- package/bundle/chunk-3j6nrrva.js +4 -0
- package/bundle/{chunk-9g05wsae.js → chunk-3ne6j2h5.js} +1 -1
- package/bundle/{chunk-0czxqcg7.js → chunk-3sem578c.js} +1 -1
- package/bundle/{chunk-cm31dbwq.js → chunk-3vgnqaem.js} +1 -1
- package/bundle/{chunk-c9afcdba.js → chunk-3w9k7yxx.js} +1 -1
- package/bundle/{chunk-xtjsfqam.js → chunk-3wzpdvpg.js} +1 -1
- package/bundle/{chunk-fssswy6j.js → chunk-3xf7q4ww.js} +1 -1
- package/bundle/chunk-3xrhxyz9.js +2 -0
- package/bundle/chunk-3zdyrnvp.js +2 -0
- package/bundle/{chunk-6dznrhs4.js → chunk-44amvtcs.js} +1 -1
- package/bundle/chunk-4nhbgva1.js +2 -0
- package/bundle/{chunk-jwgqpntf.js → chunk-576zfh1s.js} +1 -1
- package/bundle/{chunk-n1wawwry.js → chunk-58w4dhb6.js} +1 -1
- package/bundle/chunk-5ch23jj3.js +2 -0
- package/bundle/{chunk-rvz05kxy.js → chunk-5d18fd4p.js} +1 -1
- package/bundle/{chunk-0942095s.js → chunk-5dpev64z.js} +1 -1
- package/bundle/chunk-5hzkd9te.js +2 -0
- package/bundle/{chunk-t813v629.js → chunk-5vwhfa42.js} +1 -1
- package/bundle/{chunk-gzwcj7c9.js → chunk-5vyper2h.js} +1 -1
- package/bundle/{chunk-bjw39da9.js → chunk-5wr5gpaa.js} +1 -1
- package/bundle/{chunk-w5nwkb0s.js → chunk-5x19yah0.js} +1 -1
- package/bundle/{chunk-zfw873yt.js → chunk-62yja34m.js} +1 -1
- package/bundle/{chunk-h9ftcgs2.js → chunk-63pvqy8n.js} +3 -3
- package/bundle/chunk-662x3gq6.js +2 -0
- package/bundle/{chunk-xa0f5g9z.js → chunk-6an0pk19.js} +1 -1
- package/bundle/{chunk-4gfryje2.js → chunk-6j07cgna.js} +1 -1
- package/bundle/chunk-6ybqwnp7.js +2 -0
- package/bundle/{chunk-4se8cbmb.js → chunk-70gfpkxv.js} +1 -1
- package/bundle/chunk-7365jzj1.js +2 -0
- package/bundle/{chunk-x1dfc7qd.js → chunk-799c17nk.js} +1 -1
- package/bundle/chunk-7amvpgng.js +2 -0
- package/bundle/{chunk-68jsyydc.js → chunk-7bxe5s20.js} +1 -1
- package/bundle/chunk-7dcz5ytp.js +2 -0
- package/bundle/chunk-7h7bwjmm.js +2 -0
- package/bundle/{chunk-ck65rcxb.js → chunk-7m4camry.js} +1 -1
- package/bundle/{chunk-gp6nvjb8.js → chunk-7n994qss.js} +210 -210
- package/bundle/{chunk-s1mx3bkw.js → chunk-7pr4jxkn.js} +1 -1
- package/bundle/{chunk-98nh88th.js → chunk-7tb9fjvq.js} +2 -2
- package/bundle/{chunk-76p9v2jf.js → chunk-7tthc48p.js} +1 -1
- package/bundle/chunk-7vk5fhhv.js +2 -0
- package/bundle/chunk-7vqw9wge.js +2 -0
- package/bundle/chunk-7vxk5t11.js +2 -0
- package/bundle/{chunk-xz7dccwp.js → chunk-83fm5xcn.js} +1 -1
- package/bundle/{chunk-awdpkgxf.js → chunk-863s0tqa.js} +1 -1
- package/bundle/{chunk-3degq6rv.js → chunk-87pzwjjj.js} +3 -3
- package/bundle/{chunk-78wt9ad8.js → chunk-88kt6qmd.js} +1 -1
- package/bundle/chunk-8b644ae2.js +2 -0
- package/bundle/{chunk-4tk4wppp.js → chunk-8e2wwdgb.js} +1 -1
- package/bundle/{chunk-hmm1m733.js → chunk-8hh5ejmr.js} +2 -2
- package/bundle/{chunk-y3x5m3e8.js → chunk-8k4mkrdw.js} +1 -1
- package/bundle/{chunk-j6cpsxva.js → chunk-9jjjzmvn.js} +1 -1
- package/bundle/{chunk-5rcnwm9j.js → chunk-9n6f9n1c.js} +1 -1
- package/bundle/{chunk-pp44xnd7.js → chunk-9tq5yt3t.js} +1 -1
- package/bundle/{chunk-yja3y138.js → chunk-9y65kbcf.js} +2 -2
- package/bundle/{chunk-vqxyph4q.js → chunk-9yaw0hbp.js} +1 -1
- package/bundle/{chunk-hkydp4m3.js → chunk-9zg3y89v.js} +1 -1
- package/bundle/{chunk-bbznk59q.js → chunk-a3te67a5.js} +2 -2
- package/bundle/{chunk-h7rxnbf0.js → chunk-ac69b9tm.js} +1 -1
- package/bundle/{chunk-7skp0dmg.js → chunk-afpwjn78.js} +2 -2
- package/bundle/{chunk-6r4gn18m.js → chunk-agx5m1ev.js} +1 -1
- package/bundle/{chunk-en7nxqvn.js → chunk-agyxa9nj.js} +1 -1
- package/bundle/{chunk-61ndvjmm.js → chunk-an5sr6gw.js} +1 -1
- package/bundle/{chunk-v0jnnpsz.js → chunk-apv1v4tk.js} +2 -2
- package/bundle/{chunk-n9gzj085.js → chunk-ar1by07g.js} +1 -1
- package/bundle/chunk-av2q0ffj.js +2 -0
- package/bundle/{chunk-qy1s81tv.js → chunk-avk3wfch.js} +2 -2
- package/bundle/{chunk-n68xjm4p.js → chunk-ax9yyznf.js} +1 -1
- package/bundle/chunk-azna4wdf.js +2 -0
- package/bundle/chunk-b192q4m0.js +2 -0
- package/bundle/{chunk-b5x3zghc.js → chunk-b2k9yafd.js} +2 -2
- package/bundle/{chunk-fjtq8164.js → chunk-b8z4hgq0.js} +1 -1
- package/bundle/chunk-bh46627y.js +2 -0
- package/bundle/{chunk-6w15nfph.js → chunk-bkaprkf6.js} +1 -1
- package/bundle/{chunk-0ddhkapd.js → chunk-bqeyh2gx.js} +2 -2
- package/bundle/{chunk-hvnhkrd3.js → chunk-brrtcqrc.js} +1 -1
- package/bundle/{chunk-m79gd4yt.js → chunk-bwgnmy92.js} +1 -1
- package/bundle/{chunk-1eqcgkyq.js → chunk-bwvjft74.js} +1 -1
- package/bundle/chunk-c267ggx2.js +2 -0
- package/bundle/{chunk-60dxyp37.js → chunk-c38ppnm8.js} +1 -1
- package/bundle/{chunk-4xpfmpjf.js → chunk-c546xxjk.js} +1 -1
- package/bundle/chunk-c6kxegws.js +2 -0
- package/bundle/{chunk-w8xaw2dv.js → chunk-c7dt464m.js} +1 -1
- package/bundle/{chunk-8fn883z8.js → chunk-cbfjjbfd.js} +1 -1
- package/bundle/chunk-cek3cfz4.js +2 -0
- package/bundle/{chunk-9gfe4wtk.js → chunk-cwkdc1cc.js} +1 -1
- package/bundle/{chunk-jrwfx6d8.js → chunk-cz8nnm2a.js} +1 -1
- package/bundle/{chunk-z9b0ydw1.js → chunk-dn1jryxz.js} +1 -1
- package/bundle/{chunk-s4epqtge.js → chunk-dq1wprmb.js} +1 -1
- package/bundle/{chunk-dhvwrrqx.js → chunk-dsny9dh8.js} +2 -2
- package/bundle/{chunk-db7hykjs.js → chunk-ecczet3b.js} +1 -1
- package/bundle/{chunk-qryeqw9s.js → chunk-ejy5404v.js} +1 -1
- package/bundle/{chunk-7jefvta3.js → chunk-eqed7tvt.js} +1 -1
- package/bundle/{chunk-atg7cn5r.js → chunk-erh9y0sx.js} +1 -1
- package/bundle/{chunk-skjx57kv.js → chunk-ete0y35c.js} +1 -1
- package/bundle/{chunk-qe8zp79w.js → chunk-f1mmzzsn.js} +1 -1
- package/bundle/chunk-f66cvq2q.js +2 -0
- package/bundle/{chunk-bdzgtazc.js → chunk-f958hsha.js} +1 -1
- package/bundle/{chunk-6t70j1wg.js → chunk-febbrhev.js} +1 -1
- package/bundle/{chunk-j1kqhxnq.js → chunk-fhjpfzjc.js} +1 -1
- package/bundle/{chunk-c2w3bqsa.js → chunk-fnect0ny.js} +1 -1
- package/bundle/{chunk-t7v8wzr9.js → chunk-fp5mvrrx.js} +2 -2
- package/bundle/chunk-fq4v97xn.js +2 -0
- package/bundle/{chunk-6nhgkw5r.js → chunk-fvwys8ej.js} +1 -1
- package/bundle/{chunk-21q96fet.js → chunk-fw1f6br4.js} +1 -1
- package/bundle/{chunk-6ba9fc92.js → chunk-fzzze6zd.js} +1 -1
- package/bundle/{chunk-8wzc27e3.js → chunk-g0vzdt58.js} +1 -1
- package/bundle/{chunk-hvqgvsa5.js → chunk-g2ec45xj.js} +1 -1
- package/bundle/chunk-g3pb8rad.js +2 -0
- package/bundle/{chunk-3xbtg0hn.js → chunk-g5g9r3v5.js} +1 -1
- package/bundle/{chunk-yy91rm3y.js → chunk-g6gs7cc6.js} +1 -1
- package/bundle/{chunk-b3721b7c.js → chunk-g6tw5dvr.js} +1 -1
- package/bundle/{chunk-b3x13ndd.js → chunk-g7742sqm.js} +1 -1
- package/bundle/{chunk-5yghd32r.js → chunk-g7g3zm4v.js} +1 -1
- package/bundle/{chunk-ymv05pbt.js → chunk-g8zrn0at.js} +1 -1
- package/bundle/chunk-gc1yetqd.js +2 -0
- package/bundle/{chunk-67wvdfs5.js → chunk-gjsaw7wm.js} +1 -1
- package/bundle/chunk-gtckkn15.js +2 -0
- package/bundle/chunk-gtzreftf.js +2 -0
- package/bundle/{chunk-tepesp0b.js → chunk-gz8x3915.js} +1 -1
- package/bundle/{chunk-zy0zn8yx.js → chunk-gzse9pab.js} +1 -1
- package/bundle/{chunk-sj8py6vk.js → chunk-hg7kfd0t.js} +1 -1
- package/bundle/{chunk-43xq4p51.js → chunk-hk1ha5fj.js} +1 -1
- package/bundle/{chunk-jfy6bfvv.js → chunk-hqv0s6sw.js} +1 -1
- package/bundle/{chunk-xce77xex.js → chunk-hs8qwx4n.js} +1 -1
- package/bundle/{chunk-k19zvbzh.js → chunk-hvcdemxe.js} +1 -1
- package/bundle/chunk-j5vahbw1.js +2 -0
- package/bundle/{chunk-tq258v8s.js → chunk-jazpapb9.js} +1 -1
- package/bundle/chunk-jek1cnfk.js +3 -0
- package/bundle/chunk-jevrajsx.js +2 -0
- package/bundle/{chunk-m9bc5csy.js → chunk-jge74hh4.js} +1 -1
- package/bundle/{chunk-c4vfxy1e.js → chunk-jq6y56m5.js} +1 -1
- package/bundle/{chunk-6emme4kp.js → chunk-jvkqvgae.js} +1 -1
- package/bundle/chunk-jzdks7bv.js +2 -0
- package/bundle/{chunk-hzexvrnj.js → chunk-k0arcqnt.js} +1 -1
- package/bundle/{chunk-f72j5yx8.js → chunk-k0v37hc6.js} +1 -1
- package/bundle/chunk-k1e7w7w5.js +2 -0
- package/bundle/{chunk-5z8gpy3x.js → chunk-k1ht1sjr.js} +1 -1
- package/bundle/{chunk-thbjhgw0.js → chunk-k33xx2z9.js} +1 -1
- package/bundle/{chunk-496rb1e4.js → chunk-k3pvgwgc.js} +1 -1
- package/bundle/{chunk-1123xk5a.js → chunk-k5294ajv.js} +1 -1
- package/bundle/chunk-k6vf6vq6.js +2 -0
- package/bundle/{chunk-ah9cm91p.js → chunk-kbhby60s.js} +1 -1
- package/bundle/{chunk-01gtn79f.js → chunk-kdr6nxmk.js} +2 -2
- package/bundle/{chunk-ng85b73s.js → chunk-kfdqfha0.js} +1 -1
- package/bundle/{chunk-c1dwcsax.js → chunk-kktcccep.js} +1 -1
- package/bundle/chunk-kn391hb2.js +2 -0
- package/bundle/{chunk-aznbvrbm.js → chunk-kn9skc0g.js} +1 -1
- package/bundle/{chunk-q2weasmk.js → chunk-knmba0q6.js} +1 -1
- package/bundle/chunk-knnemqfm.js +3 -0
- package/bundle/{chunk-gvj8qg7x.js → chunk-kpkbyek5.js} +2 -2
- package/bundle/chunk-kx4b39v6.js +2 -0
- package/bundle/{chunk-qafcfb4x.js → chunk-ky840wjj.js} +1 -1
- package/bundle/{chunk-7yw60h8j.js → chunk-m34zrf70.js} +1 -1
- package/bundle/{chunk-pcctf3gs.js → chunk-m3gsrb1x.js} +1 -1
- package/bundle/{chunk-767vf2ha.js → chunk-m81z3zgm.js} +1 -1
- package/bundle/{chunk-30233h8f.js → chunk-m8njvpb8.js} +1 -1
- package/bundle/{chunk-x4c8drpe.js → chunk-m8tfv36b.js} +1 -1
- package/bundle/chunk-mah572rs.js +2 -0
- package/bundle/{chunk-0qmaxpkv.js → chunk-mg03szpz.js} +1 -1
- package/bundle/chunk-mg6nwfw3.js +2 -0
- package/bundle/{chunk-30p5pm3w.js → chunk-mj7rk4xs.js} +1 -1
- package/bundle/{chunk-jatba8z8.js → chunk-mt8btwrv.js} +1 -1
- package/bundle/{chunk-yt6cfsdh.js → chunk-mwbcmvmh.js} +2 -2
- package/bundle/{chunk-pqyds00j.js → chunk-mwjhyj53.js} +1 -1
- package/bundle/{chunk-88ckmmdr.js → chunk-my0kzcby.js} +6 -6
- package/bundle/{chunk-1d6ret10.js → chunk-n889mwgv.js} +1 -1
- package/bundle/{chunk-fa03gsff.js → chunk-naq602da.js} +1 -1
- package/bundle/{chunk-myjbd0vk.js → chunk-nb0gc3sx.js} +1 -1
- package/bundle/{chunk-prrrw8t8.js → chunk-ntfh16rj.js} +1 -1
- package/bundle/{chunk-b4r19v4g.js → chunk-p33fchnf.js} +1 -1
- package/bundle/chunk-pdgrang4.js +2 -0
- package/bundle/{chunk-cpkega70.js → chunk-px15ev1g.js} +1 -1
- package/bundle/{chunk-t4c0zy2s.js → chunk-q1472d56.js} +1 -1
- package/bundle/{chunk-f8xnn26j.js → chunk-q1nvfmrm.js} +1 -1
- package/bundle/{chunk-0vw5a7m9.js → chunk-qkn4039t.js} +1 -1
- package/bundle/{chunk-10qkxzhh.js → chunk-qr2ave8f.js} +1 -1
- package/bundle/{chunk-mqt5qh3t.js → chunk-qx9j6nz1.js} +1 -1
- package/bundle/{chunk-bwyf1bvf.js → chunk-qzd0q1jg.js} +1 -1
- package/bundle/{chunk-7hx0pza2.js → chunk-r0sjwtfc.js} +2 -2
- package/bundle/chunk-r3q82hz3.js +2 -0
- package/bundle/chunk-r4ygs0jv.js +2 -0
- package/bundle/chunk-r6xhxvjv.js +2 -0
- package/bundle/{chunk-djcsvcby.js → chunk-r79mz5kd.js} +1 -1
- package/bundle/chunk-r99pnfra.js +2 -0
- package/bundle/{chunk-qxrjbw22.js → chunk-rjjgnvdk.js} +1 -1
- package/bundle/{chunk-9hrpcnt8.js → chunk-rmmyjyr9.js} +1 -1
- package/bundle/chunk-rq4xdyst.js +2 -0
- package/bundle/chunk-rsd3v7cg.js +2 -0
- package/bundle/{chunk-qh76pgsk.js → chunk-rwanncah.js} +2 -2
- package/bundle/chunk-rxsgbdv0.js +2 -0
- package/bundle/chunk-s4x1jhj3.js +2 -0
- package/bundle/{chunk-ntmn6epc.js → chunk-s75chpxq.js} +1 -1
- package/bundle/{chunk-pkdk0ppc.js → chunk-s7sksztt.js} +2 -2
- package/bundle/{chunk-56cty7nr.js → chunk-scb48j07.js} +2 -2
- package/bundle/{chunk-fgtyrvan.js → chunk-sgq94p3x.js} +1 -1
- package/bundle/{chunk-meaa7wrs.js → chunk-shav33fq.js} +2 -2
- package/bundle/{chunk-zz192a31.js → chunk-shxny9x9.js} +1 -1
- package/bundle/{chunk-t1f7jeat.js → chunk-sjqgmp12.js} +2 -2
- package/bundle/chunk-sx760d9d.js +2 -0
- package/bundle/{chunk-351wfvhp.js → chunk-t42kh492.js} +2 -2
- package/bundle/{chunk-rkb592nb.js → chunk-t66hycva.js} +1 -1
- package/bundle/{chunk-1kje2a6g.js → chunk-t86vj45b.js} +1 -1
- package/bundle/{chunk-fzhgxcej.js → chunk-tfpwfczs.js} +1 -1
- package/bundle/chunk-tmjd3evp.js +8 -0
- package/bundle/chunk-tp1d856p.js +2 -0
- package/bundle/chunk-tpxs00p5.js +2 -0
- package/bundle/chunk-tqk12r89.js +2 -0
- package/bundle/chunk-tycgrqgq.js +2 -0
- package/bundle/{chunk-esjs9s9g.js → chunk-tydvpy1s.js} +2 -2
- package/bundle/{chunk-bzj7yxw6.js → chunk-v1hvnq7y.js} +1 -1
- package/bundle/{chunk-khkv9s5c.js → chunk-v1y3pbfv.js} +1 -1
- package/bundle/chunk-v32cyrg2.js +2 -0
- package/bundle/chunk-v7pypmvk.js +2 -0
- package/bundle/{chunk-mgp034y0.js → chunk-vay29sqp.js} +1 -1
- package/bundle/chunk-vbqyddy8.js +2 -0
- package/bundle/chunk-vgx86f2r.js +2 -0
- package/bundle/{chunk-r8ddb02d.js → chunk-vxc5q0wk.js} +2 -2
- package/bundle/chunk-w0jvqdez.js +2 -0
- package/bundle/{chunk-2qy62cv4.js → chunk-w32tj884.js} +2 -2
- package/bundle/{chunk-8t1whx0k.js → chunk-w6t1qmeg.js} +1 -1
- package/bundle/{chunk-aftpj9fe.js → chunk-w6zgm4vn.js} +1 -1
- package/bundle/chunk-w79yek40.js +2 -0
- package/bundle/chunk-w7nxsfbd.js +3 -0
- package/bundle/{chunk-wfb9dwmc.js → chunk-w8r4gjea.js} +1 -1
- package/bundle/chunk-w9vv1whr.js +2 -0
- package/bundle/chunk-wcea06cr.js +2 -0
- package/bundle/chunk-wcx4bbvn.js +2 -0
- package/bundle/chunk-wdw183vh.js +2 -0
- package/bundle/{chunk-hkmx6w54.js → chunk-wf2mj6de.js} +1 -1
- package/bundle/{chunk-jyh2g13j.js → chunk-wk11xsdh.js} +1 -1
- package/bundle/chunk-wqd3svh6.js +2 -0
- package/bundle/chunk-wqe5spdq.js +2 -0
- package/bundle/chunk-wqww2byk.js +2 -0
- package/bundle/chunk-wybd806z.js +2 -0
- package/bundle/chunk-x1vb00hr.js +2 -0
- package/bundle/chunk-xafh07r3.js +2 -0
- package/bundle/chunk-xgzjcsad.js +2 -0
- package/bundle/{chunk-n5k2c708.js → chunk-xjr0xy58.js} +1 -1
- package/bundle/{chunk-21t254fq.js → chunk-xn0xhd0w.js} +1 -1
- package/bundle/chunk-xnbfy5jy.js +2 -0
- package/bundle/{chunk-bsg92mw7.js → chunk-xqzbcs8x.js} +1 -1
- package/bundle/{chunk-h6htvj2y.js → chunk-xtj5qqsw.js} +1 -1
- package/bundle/chunk-xxed39zx.js +3 -0
- package/bundle/{chunk-7w01dxp9.js → chunk-y0qaz8db.js} +1 -1
- package/bundle/{chunk-s6qdtfty.js → chunk-y2h0adg5.js} +2 -2
- package/bundle/{chunk-adgrn60n.js → chunk-y3qf1kg9.js} +1 -1
- package/bundle/{chunk-h725tttx.js → chunk-y62tnk9q.js} +1 -1
- package/bundle/{chunk-4qegdkss.js → chunk-y68fp4kt.js} +1 -1
- package/bundle/chunk-y6pzag4n.js +2 -0
- package/bundle/chunk-y7w6fjwt.js +2 -0
- package/bundle/{chunk-a2ty2e0g.js → chunk-yccm7cfm.js} +2 -2
- package/bundle/{chunk-5mrjxapq.js → chunk-yffkcska.js} +1 -1
- package/bundle/{chunk-mr7ya5kc.js → chunk-ypff4a5n.js} +1 -1
- package/bundle/{chunk-m7q12naw.js → chunk-yr4evt94.js} +1 -1
- package/bundle/{chunk-b1t8d1s8.js → chunk-yyarzhw3.js} +1 -1
- package/bundle/chunk-z195gv71.js +2 -0
- package/bundle/{chunk-v9sfzkg5.js → chunk-z1hd38wp.js} +1 -1
- package/bundle/{chunk-8rcpj28e.js → chunk-z65snfyw.js} +1 -1
- package/bundle/{chunk-h99n5rv7.js → chunk-zx90w4mt.js} +1 -1
- package/bundle/{chunk-er5q8nhp.js → chunk-zzdbrxkh.js} +1 -1
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-0msr85tj.js +0 -2
- package/bundle/chunk-0w8ztgmg.js +0 -2
- package/bundle/chunk-0y2nwncb.js +0 -2
- package/bundle/chunk-0zh8tykf.js +0 -2
- package/bundle/chunk-21z1vfgm.js +0 -2
- package/bundle/chunk-2db8pn5k.js +0 -2
- package/bundle/chunk-2ec8msmq.js +0 -2
- package/bundle/chunk-2n5m61m9.js +0 -2
- package/bundle/chunk-362z696e.js +0 -2
- package/bundle/chunk-367rm03h.js +0 -2
- package/bundle/chunk-3m0t96kb.js +0 -2
- package/bundle/chunk-43k17qzb.js +0 -2
- package/bundle/chunk-4r574drd.js +0 -2
- package/bundle/chunk-5k1eyz7y.js +0 -2
- package/bundle/chunk-6c2xn1ab.js +0 -2
- package/bundle/chunk-6rak9ez9.js +0 -2
- package/bundle/chunk-71dbq1d0.js +0 -2
- package/bundle/chunk-73r1zvgw.js +0 -2
- package/bundle/chunk-7bm1t462.js +0 -2
- package/bundle/chunk-7hxksr4h.js +0 -2
- package/bundle/chunk-7nq8126b.js +0 -2
- package/bundle/chunk-80a0d0js.js +0 -2
- package/bundle/chunk-9hwsz356.js +0 -2
- package/bundle/chunk-9vvvyk10.js +0 -2
- package/bundle/chunk-9zp746aj.js +0 -2
- package/bundle/chunk-a0vpemkf.js +0 -2
- package/bundle/chunk-atjzxp7b.js +0 -2
- package/bundle/chunk-ax4f4fbm.js +0 -2
- package/bundle/chunk-aybmm0jf.js +0 -2
- package/bundle/chunk-b2scgkye.js +0 -2
- package/bundle/chunk-bbpze4hq.js +0 -2
- package/bundle/chunk-ce3c03mh.js +0 -2
- package/bundle/chunk-cqaw6hka.js +0 -2
- package/bundle/chunk-cxbkhs5y.js +0 -2
- package/bundle/chunk-d9vs6zd0.js +0 -2
- package/bundle/chunk-dj3rct8v.js +0 -2
- package/bundle/chunk-e1zv873k.js +0 -2
- package/bundle/chunk-efxshjyz.js +0 -2
- package/bundle/chunk-enry018j.js +0 -2
- package/bundle/chunk-f2q7cbah.js +0 -2
- package/bundle/chunk-ghtm9598.js +0 -3
- package/bundle/chunk-gkz68a5s.js +0 -2
- package/bundle/chunk-h9a4zzr4.js +0 -2
- package/bundle/chunk-hkqcpdmt.js +0 -3
- package/bundle/chunk-htdpkk8v.js +0 -2
- package/bundle/chunk-js7becx7.js +0 -4
- package/bundle/chunk-jx3kvzka.js +0 -2
- package/bundle/chunk-k44dj66f.js +0 -2
- package/bundle/chunk-kvs7qbga.js +0 -2
- package/bundle/chunk-m3sr6xdg.js +0 -2
- package/bundle/chunk-mc1m6dxk.js +0 -2
- package/bundle/chunk-mmyhzhzt.js +0 -2
- package/bundle/chunk-mw60bmaf.js +0 -2
- package/bundle/chunk-n499tbz0.js +0 -2
- package/bundle/chunk-n6fh34xx.js +0 -2
- package/bundle/chunk-n7a4wpjj.js +0 -2
- package/bundle/chunk-ns0hezdf.js +0 -2
- package/bundle/chunk-ps8xnz0h.js +0 -2
- package/bundle/chunk-pvn4dz8e.js +0 -2
- package/bundle/chunk-pw3tnt2j.js +0 -2
- package/bundle/chunk-pzajshbc.js +0 -2
- package/bundle/chunk-qvcnvqvf.js +0 -2
- package/bundle/chunk-qxtz0tfd.js +0 -8
- package/bundle/chunk-r03jc8xm.js +0 -2
- package/bundle/chunk-r50kjthp.js +0 -2
- package/bundle/chunk-rjdpw6at.js +0 -2
- package/bundle/chunk-s6c5c940.js +0 -2
- package/bundle/chunk-s79zd152.js +0 -2
- package/bundle/chunk-s811ht10.js +0 -2
- package/bundle/chunk-ssfgge5z.js +0 -2
- package/bundle/chunk-tdqbsbyb.js +0 -2
- package/bundle/chunk-th5z0zx7.js +0 -3
- package/bundle/chunk-tk6gjy9d.js +0 -3
- package/bundle/chunk-tnn7hm4v.js +0 -2
- package/bundle/chunk-tsfpkwvr.js +0 -2
- package/bundle/chunk-v7dfqwxx.js +0 -2
- package/bundle/chunk-vdt8dvqs.js +0 -2
- package/bundle/chunk-vf7hhxsa.js +0 -2
- package/bundle/chunk-w2f8sjc4.js +0 -2
- package/bundle/chunk-w6z123g2.js +0 -2
- package/bundle/chunk-y7hkykkj.js +0 -2
- package/bundle/chunk-ye6j8k26.js +0 -2
- package/bundle/chunk-zmqmccbc.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Vq as m}from"./chunk-h6htvj2y.js";var B=Symbol("Let zodToJsonSchema decide on which parser to use"),Zt=(t,n)=>{if(n.description)try{return{...t,...JSON.parse(n.description)}}catch{}return t},M={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},U=(t)=>typeof t==="string"?{...M,name:t}:{...M,...t};var w=(t)=>{let n=U(t),r=n.name!==void 0?[...n.basePath,n.definitionPath,n.name]:n.basePath;return{...n,flags:{hasReferencedOpenAiAnyType:!1},currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(n.definitions).map(([o,p])=>[p._def,{def:p._def,path:[...n.basePath,n.definitionPath,o],jsonSchema:void 0}]))}};function S(t,n,r,o){if(!o?.errorMessages)return;if(r)t.errorMessage={...t.errorMessage,[n]:r}}function e(t,n,r,o,p){t[n]=r,S(t,n,o,p)}var b=(t,n)=>{let r=0;for(;r<t.length&&r<n.length;r++)if(t[r]!==n[r])break;return[(t.length-r).toString(),...n.slice(r)].join("/")};function D(t){if(t.target!=="openAi")return{};let n=[...t.basePath,t.definitionPath,t.openAiAnyTypeName];return t.flags.hasReferencedOpenAiAnyType=!0,{$ref:t.$refStrategy==="relative"?b(n,t.currentPath):n.join("/")}}function E(t,n){let r={type:"array"};if(t.type?._def&&t.type?._def?.typeName!==m.ZodAny)r.items=i(t.type._def,{...n,currentPath:[...n.currentPath,"items"]});if(t.minLength)e(r,"minItems",t.minLength.value,t.minLength.message,n);if(t.maxLength)e(r,"maxItems",t.maxLength.value,t.maxLength.message,n);if(t.exactLength)e(r,"minItems",t.exactLength.value,t.exactLength.message,n),e(r,"maxItems",t.exactLength.value,t.exactLength.message,n);return r}function K(t,n){let r={type:"integer",format:"int64"};if(!t.checks)return r;for(let o of t.checks)switch(o.kind){case"min":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"minimum",o.value,o.message,n);else e(r,"exclusiveMinimum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMinimum=!0;e(r,"minimum",o.value,o.message,n)}break;case"max":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"maximum",o.value,o.message,n);else e(r,"exclusiveMaximum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMaximum=!0;e(r,"maximum",o.value,o.message,n)}break;case"multipleOf":e(r,"multipleOf",o.value,o.message,n);break}return r}function $(){return{type:"boolean"}}function N(t,n){return i(t.type._def,n)}var J=(t,n)=>{return i(t.innerType._def,n)};function O(t,n,r){let o=r??n.dateStrategy;if(Array.isArray(o))return{anyOf:o.map((p,u)=>O(t,n,p))};switch(o){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return ut(t,n)}}var ut=(t,n)=>{let r={type:"integer",format:"unix-time"};if(n.target==="openApi3")return r;for(let o of t.checks)switch(o.kind){case"min":e(r,"minimum",o.value,o.message,n);break;case"max":e(r,"maximum",o.value,o.message,n);break}return r};function q(t,n){return{...i(t.innerType._def,n),default:t.defaultValue()}}function Q(t,n){return n.effectStrategy==="input"?i(t.schema._def,n):D(n)}function X(t){return{type:"string",enum:Array.from(t.values)}}var mt=(t)=>{if("type"in t&&t.type==="string")return!1;return"allOf"in t};function Y(t,n){let r=[i(t.left._def,{...n,currentPath:[...n.currentPath,"allOf","0"]}),i(t.right._def,{...n,currentPath:[...n.currentPath,"allOf","1"]})].filter((u)=>!!u),o=n.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,p=[];return r.forEach((u)=>{if(mt(u)){if(p.push(...u.allOf),u.unevaluatedProperties===void 0)o=void 0}else{let l=u;if("additionalProperties"in u&&u.additionalProperties===!1){let{additionalProperties:y,...a}=u;l=a}else o=void 0;p.push(l)}}),p.length?{allOf:p,...o}:void 0}function H(t,n){let r=typeof t.value;if(r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string")return{type:Array.isArray(t.value)?"array":"object"};if(n.target==="openApi3")return{type:r==="bigint"?"integer":r,enum:[t.value]};return{type:r==="bigint"?"integer":r,const:t.value}}var I=void 0,Z={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(I===void 0)I=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return I},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function A(t,n){let r={type:"string"};if(t.checks)for(let o of t.checks)switch(o.kind){case"min":e(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n);break;case"max":e(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"email":switch(n.emailStrategy){case"format:email":v(r,"email",o.message,n);break;case"format:idn-email":v(r,"idn-email",o.message,n);break;case"pattern:zod":g(r,Z.email,o.message,n);break}break;case"url":v(r,"uri",o.message,n);break;case"uuid":v(r,"uuid",o.message,n);break;case"regex":g(r,o.regex,o.message,n);break;case"cuid":g(r,Z.cuid,o.message,n);break;case"cuid2":g(r,Z.cuid2,o.message,n);break;case"startsWith":g(r,RegExp(`^${L(o.value,n)}`),o.message,n);break;case"endsWith":g(r,RegExp(`${L(o.value,n)}$`),o.message,n);break;case"datetime":v(r,"date-time",o.message,n);break;case"date":v(r,"date",o.message,n);break;case"time":v(r,"time",o.message,n);break;case"duration":v(r,"duration",o.message,n);break;case"length":e(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n),e(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"includes":{g(r,RegExp(L(o.value,n)),o.message,n);break}case"ip":{if(o.version!=="v6")v(r,"ipv4",o.message,n);if(o.version!=="v4")v(r,"ipv6",o.message,n);break}case"base64url":g(r,Z.base64url,o.message,n);break;case"jwt":g(r,Z.jwt,o.message,n);break;case"cidr":{if(o.version!=="v6")g(r,Z.ipv4Cidr,o.message,n);if(o.version!=="v4")g(r,Z.ipv6Cidr,o.message,n);break}case"emoji":g(r,Z.emoji(),o.message,n);break;case"ulid":{g(r,Z.ulid,o.message,n);break}case"base64":{switch(n.base64Strategy){case"format:binary":{v(r,"binary",o.message,n);break}case"contentEncoding:base64":{e(r,"contentEncoding","base64",o.message,n);break}case"pattern:zod":{g(r,Z.base64,o.message,n);break}}break}case"nanoid":g(r,Z.nanoid,o.message,n);case"toLowerCase":case"toUpperCase":case"trim":break;default:((p)=>{})(o)}return r}function L(t,n){return n.patternStrategy==="escape"?et(t):t}var at=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function et(t){let n="";for(let r=0;r<t.length;r++){if(!at.has(t[r]))n+="\\";n+=t[r]}return n}function v(t,n,r,o){if(t.format||t.anyOf?.some((p)=>p.format)){if(!t.anyOf)t.anyOf=[];if(t.format){if(t.anyOf.push({format:t.format,...t.errorMessage&&o.errorMessages&&{errorMessage:{format:t.errorMessage.format}}}),delete t.format,t.errorMessage){if(delete t.errorMessage.format,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.anyOf.push({format:n,...r&&o.errorMessages&&{errorMessage:{format:r}}})}else e(t,"format",n,r,o)}function g(t,n,r,o){if(t.pattern||t.allOf?.some((p)=>p.pattern)){if(!t.allOf)t.allOf=[];if(t.pattern){if(t.allOf.push({pattern:t.pattern,...t.errorMessage&&o.errorMessages&&{errorMessage:{pattern:t.errorMessage.pattern}}}),delete t.pattern,t.errorMessage){if(delete t.errorMessage.pattern,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.allOf.push({pattern:V(n,o),...r&&o.errorMessages&&{errorMessage:{pattern:r}}})}else e(t,"pattern",V(n,o),r,o)}function V(t,n){if(!n.applyRegexFlags||!t.flags)return t.source;let r={i:t.flags.includes("i"),m:t.flags.includes("m"),s:t.flags.includes("s")},o=r.i?t.source.toLowerCase():t.source,p="",u=!1,l=!1,y=!1;for(let a=0;a<o.length;a++){if(u){p+=o[a],u=!1;continue}if(r.i){if(l){if(o[a].match(/[a-z]/)){if(y)p+=o[a],p+=`${o[a-2]}-${o[a]}`.toUpperCase(),y=!1;else if(o[a+1]==="-"&&o[a+2]?.match(/[a-z]/))p+=o[a],y=!0;else p+=`${o[a]}${o[a].toUpperCase()}`;continue}}else if(o[a].match(/[a-z]/)){p+=`[${o[a]}${o[a].toUpperCase()}]`;continue}}if(r.m){if(o[a]==="^"){p+=`(^|(?<=[\r
|
|
2
|
+
import{Xq as m}from"./chunk-xtj5qqsw.js";var B=Symbol("Let zodToJsonSchema decide on which parser to use"),Zt=(t,n)=>{if(n.description)try{return{...t,...JSON.parse(n.description)}}catch{}return t},M={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},U=(t)=>typeof t==="string"?{...M,name:t}:{...M,...t};var w=(t)=>{let n=U(t),r=n.name!==void 0?[...n.basePath,n.definitionPath,n.name]:n.basePath;return{...n,flags:{hasReferencedOpenAiAnyType:!1},currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(n.definitions).map(([o,p])=>[p._def,{def:p._def,path:[...n.basePath,n.definitionPath,o],jsonSchema:void 0}]))}};function S(t,n,r,o){if(!o?.errorMessages)return;if(r)t.errorMessage={...t.errorMessage,[n]:r}}function e(t,n,r,o,p){t[n]=r,S(t,n,o,p)}var b=(t,n)=>{let r=0;for(;r<t.length&&r<n.length;r++)if(t[r]!==n[r])break;return[(t.length-r).toString(),...n.slice(r)].join("/")};function D(t){if(t.target!=="openAi")return{};let n=[...t.basePath,t.definitionPath,t.openAiAnyTypeName];return t.flags.hasReferencedOpenAiAnyType=!0,{$ref:t.$refStrategy==="relative"?b(n,t.currentPath):n.join("/")}}function E(t,n){let r={type:"array"};if(t.type?._def&&t.type?._def?.typeName!==m.ZodAny)r.items=i(t.type._def,{...n,currentPath:[...n.currentPath,"items"]});if(t.minLength)e(r,"minItems",t.minLength.value,t.minLength.message,n);if(t.maxLength)e(r,"maxItems",t.maxLength.value,t.maxLength.message,n);if(t.exactLength)e(r,"minItems",t.exactLength.value,t.exactLength.message,n),e(r,"maxItems",t.exactLength.value,t.exactLength.message,n);return r}function K(t,n){let r={type:"integer",format:"int64"};if(!t.checks)return r;for(let o of t.checks)switch(o.kind){case"min":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"minimum",o.value,o.message,n);else e(r,"exclusiveMinimum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMinimum=!0;e(r,"minimum",o.value,o.message,n)}break;case"max":if(n.target==="jsonSchema7")if(o.inclusive)e(r,"maximum",o.value,o.message,n);else e(r,"exclusiveMaximum",o.value,o.message,n);else{if(!o.inclusive)r.exclusiveMaximum=!0;e(r,"maximum",o.value,o.message,n)}break;case"multipleOf":e(r,"multipleOf",o.value,o.message,n);break}return r}function $(){return{type:"boolean"}}function N(t,n){return i(t.type._def,n)}var J=(t,n)=>{return i(t.innerType._def,n)};function O(t,n,r){let o=r??n.dateStrategy;if(Array.isArray(o))return{anyOf:o.map((p,u)=>O(t,n,p))};switch(o){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return ut(t,n)}}var ut=(t,n)=>{let r={type:"integer",format:"unix-time"};if(n.target==="openApi3")return r;for(let o of t.checks)switch(o.kind){case"min":e(r,"minimum",o.value,o.message,n);break;case"max":e(r,"maximum",o.value,o.message,n);break}return r};function q(t,n){return{...i(t.innerType._def,n),default:t.defaultValue()}}function Q(t,n){return n.effectStrategy==="input"?i(t.schema._def,n):D(n)}function X(t){return{type:"string",enum:Array.from(t.values)}}var mt=(t)=>{if("type"in t&&t.type==="string")return!1;return"allOf"in t};function Y(t,n){let r=[i(t.left._def,{...n,currentPath:[...n.currentPath,"allOf","0"]}),i(t.right._def,{...n,currentPath:[...n.currentPath,"allOf","1"]})].filter((u)=>!!u),o=n.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,p=[];return r.forEach((u)=>{if(mt(u)){if(p.push(...u.allOf),u.unevaluatedProperties===void 0)o=void 0}else{let l=u;if("additionalProperties"in u&&u.additionalProperties===!1){let{additionalProperties:y,...a}=u;l=a}else o=void 0;p.push(l)}}),p.length?{allOf:p,...o}:void 0}function H(t,n){let r=typeof t.value;if(r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string")return{type:Array.isArray(t.value)?"array":"object"};if(n.target==="openApi3")return{type:r==="bigint"?"integer":r,enum:[t.value]};return{type:r==="bigint"?"integer":r,const:t.value}}var I=void 0,Z={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(I===void 0)I=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return I},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function A(t,n){let r={type:"string"};if(t.checks)for(let o of t.checks)switch(o.kind){case"min":e(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n);break;case"max":e(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"email":switch(n.emailStrategy){case"format:email":v(r,"email",o.message,n);break;case"format:idn-email":v(r,"idn-email",o.message,n);break;case"pattern:zod":g(r,Z.email,o.message,n);break}break;case"url":v(r,"uri",o.message,n);break;case"uuid":v(r,"uuid",o.message,n);break;case"regex":g(r,o.regex,o.message,n);break;case"cuid":g(r,Z.cuid,o.message,n);break;case"cuid2":g(r,Z.cuid2,o.message,n);break;case"startsWith":g(r,RegExp(`^${L(o.value,n)}`),o.message,n);break;case"endsWith":g(r,RegExp(`${L(o.value,n)}$`),o.message,n);break;case"datetime":v(r,"date-time",o.message,n);break;case"date":v(r,"date",o.message,n);break;case"time":v(r,"time",o.message,n);break;case"duration":v(r,"duration",o.message,n);break;case"length":e(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,o.value):o.value,o.message,n),e(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,o.value):o.value,o.message,n);break;case"includes":{g(r,RegExp(L(o.value,n)),o.message,n);break}case"ip":{if(o.version!=="v6")v(r,"ipv4",o.message,n);if(o.version!=="v4")v(r,"ipv6",o.message,n);break}case"base64url":g(r,Z.base64url,o.message,n);break;case"jwt":g(r,Z.jwt,o.message,n);break;case"cidr":{if(o.version!=="v6")g(r,Z.ipv4Cidr,o.message,n);if(o.version!=="v4")g(r,Z.ipv6Cidr,o.message,n);break}case"emoji":g(r,Z.emoji(),o.message,n);break;case"ulid":{g(r,Z.ulid,o.message,n);break}case"base64":{switch(n.base64Strategy){case"format:binary":{v(r,"binary",o.message,n);break}case"contentEncoding:base64":{e(r,"contentEncoding","base64",o.message,n);break}case"pattern:zod":{g(r,Z.base64,o.message,n);break}}break}case"nanoid":g(r,Z.nanoid,o.message,n);case"toLowerCase":case"toUpperCase":case"trim":break;default:((p)=>{})(o)}return r}function L(t,n){return n.patternStrategy==="escape"?et(t):t}var at=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function et(t){let n="";for(let r=0;r<t.length;r++){if(!at.has(t[r]))n+="\\";n+=t[r]}return n}function v(t,n,r,o){if(t.format||t.anyOf?.some((p)=>p.format)){if(!t.anyOf)t.anyOf=[];if(t.format){if(t.anyOf.push({format:t.format,...t.errorMessage&&o.errorMessages&&{errorMessage:{format:t.errorMessage.format}}}),delete t.format,t.errorMessage){if(delete t.errorMessage.format,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.anyOf.push({format:n,...r&&o.errorMessages&&{errorMessage:{format:r}}})}else e(t,"format",n,r,o)}function g(t,n,r,o){if(t.pattern||t.allOf?.some((p)=>p.pattern)){if(!t.allOf)t.allOf=[];if(t.pattern){if(t.allOf.push({pattern:t.pattern,...t.errorMessage&&o.errorMessages&&{errorMessage:{pattern:t.errorMessage.pattern}}}),delete t.pattern,t.errorMessage){if(delete t.errorMessage.pattern,Object.keys(t.errorMessage).length===0)delete t.errorMessage}}t.allOf.push({pattern:V(n,o),...r&&o.errorMessages&&{errorMessage:{pattern:r}}})}else e(t,"pattern",V(n,o),r,o)}function V(t,n){if(!n.applyRegexFlags||!t.flags)return t.source;let r={i:t.flags.includes("i"),m:t.flags.includes("m"),s:t.flags.includes("s")},o=r.i?t.source.toLowerCase():t.source,p="",u=!1,l=!1,y=!1;for(let a=0;a<o.length;a++){if(u){p+=o[a],u=!1;continue}if(r.i){if(l){if(o[a].match(/[a-z]/)){if(y)p+=o[a],p+=`${o[a-2]}-${o[a]}`.toUpperCase(),y=!1;else if(o[a+1]==="-"&&o[a+2]?.match(/[a-z]/))p+=o[a],y=!0;else p+=`${o[a]}${o[a].toUpperCase()}`;continue}}else if(o[a].match(/[a-z]/)){p+=`[${o[a]}${o[a].toUpperCase()}]`;continue}}if(r.m){if(o[a]==="^"){p+=`(^|(?<=[\r
|
|
3
3
|
]))`;continue}else if(o[a]==="$"){p+=`($|(?=[\r
|
|
4
4
|
]))`;continue}}if(r.s&&o[a]==="."){p+=l?`${o[a]}\r
|
|
5
5
|
`:`[${o[a]}\r
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Kt as L}from"./chunk-jek1cnfk.js";import{GI as F,bI as M,gC as C}from"./chunk-shav33fq.js";var g=(q)=>(H)=>Object.assign(H,q(H));function k(){return(q,H)=>{class G{static make(J){return J}}return Object.setPrototypeOf(G,H),G}}var y=Symbol.for("effect-zod/override"),A=Symbol.for("effect-zod/preprocess"),B=new WeakMap,N={};function n(q){return V(q.ast)}function V(q){let H=B.get(q);if(H)return H;let G=D(q);return B.set(q,G),G}function D(q){let H=q.annotations?.[y];if(H)return H;let X=q.encoding?.length&&q._tag!=="Declaration"&&!(F.isOptional(q)&&_(q)!==void 0)?I(q):x(q),R=q.checks?.length?E(X,q.checks,q):X,Y=q.annotations?.[A],W=Y?L.preprocess(Y,R):R,U=F.resolveDescription(q),j=F.resolveIdentifier(q),Z=U?W.describe(U):W;return j?Z.meta({ref:j}):Z}function I(q){let H=q.encoding;return H.reduce((G,J)=>G.transform((X)=>P(J.transformation,X)),V(H[0].to))}function P(q,H){let G=M.runSyncExit(q.decode.run(C.some(H),N));if(G._tag==="Failure")throw Error(`effect-zod: transform failed: ${String(G.cause)}`);return C.getOrElse(G.value,()=>H)}function E(q,H,G){let J=[],X=(W)=>{if(W._tag==="FilterGroup")W.checks.forEach(X);else J.push(W)};H.forEach(X);let R=[],Y=J.reduce((W,U)=>{let j=O(W,U);if(j)return j;return R.push(U),W},q);if(R.length===0)return Y;return Y.superRefine((W,U)=>{for(let j of R){let Z=j.run(W,G,N);if(!Z)continue;let Q=b(Z)??j.annotations?.message??"Validation failed";U.addIssue({code:"custom",message:Q})}})}function O(q,H){let G=H.annotations?.meta;if(!G||typeof G._tag!=="string")return;switch(G._tag){case"isInt":return K(q,"int");case"isFinite":return K(q,"finite");case"isGreaterThan":return K(q,"gt",G.exclusiveMinimum);case"isGreaterThanOrEqualTo":return K(q,"gte",G.minimum);case"isLessThan":return K(q,"lt",G.exclusiveMaximum);case"isLessThanOrEqualTo":return K(q,"lte",G.maximum);case"isBetween":{let J=G.exclusiveMinimum?K(q,"gt",G.minimum):K(q,"gte",G.minimum);if(!J)return;return G.exclusiveMaximum?K(J,"lt",G.maximum):K(J,"lte",G.maximum)}case"isMultipleOf":return K(q,"multipleOf",G.divisor);case"isMinLength":return K(q,"min",G.minLength);case"isMaxLength":return K(q,"max",G.maxLength);case"isLengthBetween":{let J=K(q,"min",G.minimum);if(!J)return;return K(J,"max",G.maximum)}case"isPattern":return K(q,"regex",G.regExp);case"isStartsWith":return K(q,"startsWith",G.startsWith);case"isEndsWith":return K(q,"endsWith",G.endsWith);case"isIncludes":return K(q,"includes",G.includes);case"isUUID":return K(q,"uuid");case"isULID":return K(q,"ulid");case"isBase64":return K(q,"base64");case"isBase64Url":return K(q,"base64url")}return}function K(q,H,...G){let J=q[H];return typeof J==="function"?J.apply(q,G):void 0}function b(q){if(typeof q?.annotations?.message==="string")return q.annotations.message;if(typeof q?.message==="string")return q.message;return}function x(q){if(F.isOptional(q))return T(q);switch(q._tag){case"String":return L.string();case"Number":return L.number();case"Boolean":return L.boolean();case"Null":return L.null();case"Undefined":return L.undefined();case"Any":case"Unknown":return L.unknown();case"Never":return L.never();case"Literal":return L.literal(q.literal);case"Union":return v(q);case"Objects":return w(q);case"Arrays":return S(q);case"Declaration":return z(q);default:return $(q)}}function T(q){if(q._tag!=="Union")return $(q);let H=q.types.filter((X)=>X._tag!=="Undefined"),G=H.length===1?V(H[0]):H.length>1?L.union(H.map(V)):L.undefined(),J=_(q);if(J!==void 0)return G.default(J.value);return G.optional()}function _(q){let H=q.encoding;if(!H?.length)return;for(let G of H){let J=M.runSyncExit(G.transformation.decode.run(C.none(),{}));if(J._tag!=="Success")continue;if(C.isSome(J.value))return{value:J.value.value}}return}function v(q){if(q.types.length>=2&&q.types.every((J)=>J._tag==="Literal"&&typeof J.literal==="string"))return L.enum(q.types.map((J)=>J.literal));let H=q.types.map(V);if(H.length===1)return H[0];if(H.length<2)return $(q);let G=q.annotations?.discriminator;if(typeof G==="string")return L.discriminatedUnion(G,H);return L.union(H)}function w(q){if(q.propertySignatures.length===0&&q.indexSignatures.length===1){let G=q.indexSignatures[0];if(G.parameter._tag!=="String")return $(q);return L.record(L.string(),V(G.type))}if(q.indexSignatures.length===0)return L.object(Object.fromEntries(q.propertySignatures.map((G)=>[String(G.name),V(G.type)])));if(q.indexSignatures.length!==1)return $(q);let H=q.indexSignatures[0];if(H.parameter._tag!=="String")return $(q);return L.object(Object.fromEntries(q.propertySignatures.map((G)=>[String(G.name),V(G.type)]))).catchall(V(H.type))}function S(q){if(q.elements.length===0){if(q.rest.length!==1)return $(q);return L.array(V(q.rest[0]))}if(q.rest.length>0)return $(q);let H=q.elements.map(V);return L.tuple(H)}function z(q){if(q.typeParameters.length!==1)return $(q);return V(q.typeParameters[0])}function $(q){let H=F.resolveIdentifier(q);throw Error(`unsupported effect schema: ${H??q._tag}`)}
|
|
3
3
|
export{g as ip,k as jp,y as kp,A as lp,n as mp};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{m as a}from"./chunk-7n994qss.js";import"./chunk-m81z3zgm.js";import"./chunk-hg7kfd0t.js";import"./chunk-3w60y2x5.js";import"./chunk-xn0xhd0w.js";import"./chunk-jj7wrfty.js";import"./chunk-hk1ha5fj.js";import"./chunk-87pzwjjj.js";import"./chunk-g2ec45xj.js";import"./chunk-fd1vbz1f.js";import"./chunk-7b69jj5g.js";import"./chunk-799c17nk.js";import"./chunk-agyxa9nj.js";import"./chunk-z1hd38wp.js";import"./chunk-r79mz5kd.js";import"./chunk-s75chpxq.js";import"./chunk-576zfh1s.js";import"./chunk-1gjh45v5.js";import"./chunk-1v47v7vm.js";import"./chunk-tmjd3evp.js";import"./chunk-tz8qhbk9.js";import"./chunk-2wcwbp3t.js";import"./chunk-3sem578c.js";import"./chunk-fzzze6zd.js";import"./chunk-afpwjn78.js";import"./chunk-c4x99ayd.js";import"./chunk-44amvtcs.js";import"./chunk-cbfjjbfd.js";import"./chunk-c7dt464m.js";import"./chunk-jazpapb9.js";import"./chunk-knnemqfm.js";import"./chunk-hqv0s6sw.js";import"./chunk-apv1v4tk.js";import"./chunk-7tb9fjvq.js";import"./chunk-fp5mvrrx.js";import"./chunk-zzdbrxkh.js";import"./chunk-cqtkxwd8.js";import"./chunk-xtj5qqsw.js";import"./chunk-w32tj884.js";import"./chunk-29hmwttd.js";import"./chunk-2qy760rf.js";import"./chunk-kfdqfha0.js";import"./chunk-mwbcmvmh.js";import"./chunk-9y65kbcf.js";import"./chunk-24r5h0fx.js";import"./chunk-vxc5q0wk.js";import"./chunk-dsny9dh8.js";import"./chunk-scb48j07.js";import"./chunk-k33xx2z9.js";import"./chunk-tydvpy1s.js";import"./chunk-b2k9yafd.js";import"./chunk-sjqgmp12.js";import"./chunk-jek1cnfk.js";import"./chunk-s7sksztt.js";import"./chunk-22vvjp4g.js";import"./chunk-a3te67a5.js";import"./chunk-kdr6nxmk.js";import"./chunk-shav33fq.js";import"./chunk-kpkbyek5.js";import"./chunk-naq602da.js";export{a as tui};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$i as p,Aj as Q,Bj as R,Mi as a,Ni as b,Oi as c,Pi as d,Qi as e,Ri as f,Si as g,Ti as h,Ui as i,Vi as j,Wi as k,Xi as l,Yi as m,Zi as n,_i as o,aj as q,bj as r,cj as s,dj as t,ej as u,fj as v,gj as w,hj as x,ij as y,jj as z,kj as A,lj as B,mj as C,nj as D,oj as E,pj as F,qj as G,rj as H,sj as I,tj as J,uj as K,vj as L,wj as M,xj as N,yj as O,zj as P}from"./chunk-
|
|
2
|
+
import{$i as p,Aj as Q,Bj as R,Mi as a,Ni as b,Oi as c,Pi as d,Qi as e,Ri as f,Si as g,Ti as h,Ui as i,Vi as j,Wi as k,Xi as l,Yi as m,Zi as n,_i as o,aj as q,bj as r,cj as s,dj as t,ej as u,fj as v,gj as w,hj as x,ij as y,jj as z,kj as A,lj as B,mj as C,nj as D,oj as E,pj as F,qj as G,rj as H,sj as I,tj as J,uj as K,vj as L,wj as M,xj as N,yj as O,zj as P}from"./chunk-hvcdemxe.js";import"./chunk-xtj5qqsw.js";import"./chunk-naq602da.js";export{Q as zodToJsonSchema,u as zodPatterns,g as setResponseValueAndErrors,O as selectParser,B as primitiveMappings,M as parseUnknownDef,C as parseUnionDef,L as parseUndefinedDef,K as parseTupleDef,v as parseStringDef,J as parseSetDef,w as parseRecordDef,N as parseReadonlyDef,I as parsePromiseDef,H as parsePipelineDef,G as parseOptionalDef,F as parseObjectDef,E as parseNumberDef,D as parseNullableDef,A as parseNullDef,z as parseNeverDef,y as parseNativeEnumDef,x as parseMapDef,t as parseLiteralDef,s as parseIntersectionDef,r as parseEnumDef,q as parseEffectsDef,p as parseDefaultDef,P as parseDef,o as parseDateDef,n as parseCatchDef,m as parseBrandedDef,l as parseBooleanDef,k as parseBigintDef,j as parseArrayDef,i as parseAnyDef,b as jsonDescription,a as ignoreOverride,h as getRelativePath,e as getRefs,d as getDefaultOptions,c as defaultOptions,R as default,f as addErrorMessage};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Cd as m,Fd as P,Gd as R,Hd as k,Id as O,Kd as q,Ld as $,Md as I}from"./chunk-
|
|
2
|
+
import{Cd as m,Fd as P,Gd as R,Hd as k,Id as O,Kd as q,Ld as $,Md as I}from"./chunk-3ne6j2h5.js";import"./chunk-799c17nk.js";import{Od as h}from"./chunk-wmmck56g.js";import{Sf as r}from"./chunk-s75chpxq.js";import{gh as E,qh as L}from"./chunk-my0kzcby.js";import"./chunk-1v47v7vm.js";import"./chunk-tmjd3evp.js";import"./chunk-q6x5bmc3.js";import"./chunk-n1m5qdf5.js";import"./chunk-zeh3mjgp.js";import"./chunk-ntfh16rj.js";import"./chunk-tz8qhbk9.js";import"./chunk-hvcdemxe.js";import{Kj as N,Vk as x}from"./chunk-2wcwbp3t.js";import"./chunk-3sem578c.js";import{Pl as i}from"./chunk-fzzze6zd.js";import"./chunk-afpwjn78.js";import"./chunk-c4x99ayd.js";import"./chunk-44amvtcs.js";import"./chunk-cbfjjbfd.js";import"./chunk-c7dt464m.js";import"./chunk-jazpapb9.js";import"./chunk-knnemqfm.js";import"./chunk-hqv0s6sw.js";import"./chunk-apv1v4tk.js";import"./chunk-7tb9fjvq.js";import"./chunk-fp5mvrrx.js";import"./chunk-zzdbrxkh.js";import"./chunk-cqtkxwd8.js";import"./chunk-xtj5qqsw.js";import"./chunk-w32tj884.js";import"./chunk-29hmwttd.js";import"./chunk-2qy760rf.js";import"./chunk-kfdqfha0.js";import"./chunk-t42kh492.js";import"./chunk-8hh5ejmr.js";import"./chunk-mwbcmvmh.js";import"./chunk-9y65kbcf.js";import"./chunk-24r5h0fx.js";import"./chunk-vxc5q0wk.js";import"./chunk-dsny9dh8.js";import"./chunk-scb48j07.js";import"./chunk-k33xx2z9.js";import{et as j}from"./chunk-tydvpy1s.js";import{It as C}from"./chunk-b2k9yafd.js";import"./chunk-sjqgmp12.js";import"./chunk-jek1cnfk.js";import"./chunk-s7sksztt.js";import"./chunk-22vvjp4g.js";import"./chunk-a3te67a5.js";import"./chunk-kdr6nxmk.js";import"./chunk-shav33fq.js";import"./chunk-bqeyh2gx.js";import"./chunk-kpkbyek5.js";import{nP as F}from"./chunk-naq602da.js";import u from"path";import U from"fs/promises";var T=F(N(),1);import{EOL as S}from"os";var c=["bash","read","write","edit","glob","grep","webfetch","actor","task"],B=h({command:"create",describe:"create a new agent",builder:(o)=>o.option("path",{type:"string",describe:"directory path to generate the agent file"}).option("description",{type:"string",describe:"what the agent should do"}).option("mode",{type:"string",describe:"agent mode",choices:["all","primary","subagent"]}).option("tools",{type:"string",describe:`comma-separated list of tools to enable (default: all). Available: "${c.join(", ")}"`}).option("model",{type:"string",alias:["m"],describe:"model to use in the format of provider/model"}),async handler(o){await i.provide({directory:process.cwd(),async fn(){let{path:l,description:t,mode:s,tools:p}=o,d=l&&t&&s&&p!==void 0;if(!d)r.empty(),R("Create agent");let D=i.project,g;if(l)g=u.join(l,"agent");else{let e="global";if(D.vcs==="git"){let n=await $({message:"Location",options:[{label:"Current project",value:"project",hint:i.worktree},{label:"Global",value:"global",hint:j.Path.config}]});if(m(n))throw new r.CancelledError;e=n}g=u.join(e==="global"?j.Path.config:u.join(i.worktree,".qitqode"),"agent")}let b;if(t)b=t;else{let e=await I({message:"Description",placeholder:"What should this agent do?",validate:(n)=>n&&n.length>0?void 0:"Required"});if(m(e))throw new r.CancelledError;b=e}let w=q();w.start("Generating agent configuration...");let G=o.model?x.parseModel(o.model):void 0,f=await L.runPromise(E.Service.use((e)=>e.generate({description:b,model:G}))).catch((e)=>{if(w.stop(`LLM failed to generate agent: ${e.message}`,1),d)process.exit(1);throw new r.CancelledError});w.stop(`Agent ${f.identifier} generated`);let y;if(p!==void 0)y=p?p.split(",").map((e)=>e.trim()):c;else{let e=await O({message:"Select tools to enable (Space to toggle)",options:c.map((n)=>({label:n,value:n})),initialValues:c});if(m(e))throw new r.CancelledError;y=e}let v;if(s)v=s;else{let e=await $({message:"Agent mode",options:[{label:"All",value:"all",hint:"Can function in both primary and subagent roles"},{label:"Primary",value:"primary",hint:"Acts as a primary/main agent"},{label:"Subagent",value:"subagent",hint:"Can be used as a subagent by other agents"}],initialValue:"all"});if(m(e))throw new r.CancelledError;v=e}let A={};for(let e of c)if(!y.includes(e))A[e]=!1;let M={description:f.whenToUse,mode:v};if(Object.keys(A).length>0)M.tools=A;let V=T.default.stringify(f.systemPrompt,M),a=u.join(g,`${f.identifier}.md`);if(await U.mkdir(g,{recursive:!0}),await C.exists(a)){if(d)console.error(`Error: Agent file already exists: ${a}`),process.exit(1);throw P.error(`Agent file already exists: ${a}`),new r.CancelledError}if(await C.write(a,V),d)console.log(a);else P.success(`Agent created: ${a}`),k("Done")}})}}),J=h({command:"list",describe:"list all available agents",async handler(){await i.provide({directory:process.cwd(),async fn(){let l=(await L.runPromise(E.Service.use((t)=>t.list()))).sort((t,s)=>{if(t.native!==s.native)return t.native?-1:1;return t.name.localeCompare(s.name)});for(let t of l)process.stdout.write(`${t.name} (${t.mode})`+S),process.stdout.write(` ${JSON.stringify(t.permission,null,2)}`+S)}})}}),ne=h({command:"agent",describe:"manage agents",builder:(o)=>o.command(B).command(J).demandCommand(),async handler(){}});export{ne as AgentCommand};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{ff as BX}from"./chunk-
|
|
2
|
+
import{ff as BX}from"./chunk-y2h0adg5.js";import{Dq as EQ,Ep as p,Gp as mQ,Kp as UQ,Lp as ZQ,Up as r,Yp as gQ,Zp as cQ,cq as AQ,dq as zQ,fq as O,iq as f,pq as i,qq as l,uq as u,vq as yQ,wq as _,xq as qQ,yq as MQ,zq as s}from"./chunk-fp5mvrrx.js";import{Fq as QQ,Qq as uQ,Sq as YQ}from"./chunk-zzdbrxkh.js";import"./chunk-cqtkxwd8.js";import"./chunk-xtj5qqsw.js";import{Eu as Q}from"./chunk-22vvjp4g.js";import"./chunk-a3te67a5.js";import{nP as wX}from"./chunk-naq602da.js";var dQ=wX(BX(),1);function wQ(X){var Y,L,Z,K;if(X==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let U=(Y=X.promptTokenCount)!=null?Y:0,R=(L=X.candidatesTokenCount)!=null?L:0,N=(Z=X.cachedContentTokenCount)!=null?Z:0,z=(K=X.thoughtsTokenCount)!=null?K:0;return{inputTokens:{total:U,noCache:U-N,cacheRead:N,cacheWrite:void 0},outputTokens:{total:R+z,text:R,reasoning:z},raw:X}}function g(X,Y=!0){if(X==null)return;if(iQ(X)){if(Y)return;if(typeof X==="object"&&X.description)return{type:"object",description:X.description};return{type:"object"}}if(typeof X==="boolean")return{type:"boolean",properties:{}};let{type:L,description:Z,required:K,properties:U,items:R,allOf:N,anyOf:z,oneOf:D,format:A,const:V,minLength:W,enum:B}=X,E={};if(Z)E.description=Z;if(K)E.required=K;if(A)E.format=A;if(V!==void 0)E.enum=[V];if(L)if(Array.isArray(L)){let J=L.includes("null"),j=L.filter((w)=>w!=="null");if(j.length===0)E.type="null";else if(E.anyOf=j.map((w)=>({type:w})),J)E.nullable=!0}else E.type=L;if(B!==void 0)E.enum=B;if(U!=null)E.properties=Object.entries(U).reduce((J,[j,w])=>{return J[j]=g(w,!1),J},{});if(R)E.items=Array.isArray(R)?R.map((J)=>g(J,!1)):g(R,!1);if(N)E.allOf=N.map((J)=>g(J,!1));if(z)if(z.some((J)=>typeof J==="object"&&(J==null?void 0:J.type)==="null")){let J=z.filter((j)=>!(typeof j==="object"&&(j==null?void 0:j.type)==="null"));if(J.length===1){let j=g(J[0],!1);if(typeof j==="object")E.nullable=!0,Object.assign(E,j)}else E.anyOf=J.map((j)=>g(j,!1)),E.nullable=!0}else E.anyOf=z.map((J)=>g(J,!1));if(D)E.oneOf=D.map((J)=>g(J,!1));if(W!==void 0)E.minLength=W;return E}function iQ(X){return X!=null&&typeof X==="object"&&X.type==="object"&&(X.properties==null||Object.keys(X.properties).length===0)&&!X.additionalProperties}var lQ=/^data:([^;,]+);base64,(.+)$/s;function sQ(X){let Y=lQ.exec(X);if(Y==null)return;return{mediaType:Y[1],data:Y[2]}}function nQ(X){let Y=sQ(X);if(Y==null)return;return{inlineData:{mimeType:Y.mediaType,data:Y.data}}}function aQ(X,Y,L){let Z=[],K=[];for(let U of L)switch(U.type){case"text":{K.push(U.text);break}case"image-data":case"file-data":{Z.push({inlineData:{mimeType:U.mediaType,data:U.data}});break}case"image-url":case"file-url":{let R=nQ(U.url);if(R!=null)Z.push(R);else K.push(JSON.stringify(U));break}default:{K.push(JSON.stringify(U));break}}X.push({functionResponse:{name:Y,response:{name:Y,content:K.length>0?K.join(`
|
|
3
3
|
`):"Tool executed successfully."},...Z.length>0?{parts:Z}:{}}})}function rQ(X,Y,L){for(let Z of L)switch(Z.type){case"text":X.push({functionResponse:{name:Y,response:{name:Y,content:Z.text}}});break;case"image-data":X.push({inlineData:{mimeType:String(Z.mediaType),data:String(Z.data)}},{text:"Tool executed successfully and returned this image as a response"});break;default:X.push({text:JSON.stringify(Z)});break}}function tQ(X,Y){var L,Z,K,U,R,N,z,D;let A=[],V=[],W=!0,B=(L=Y==null?void 0:Y.isGemmaModel)!=null?L:!1,E=(Z=Y==null?void 0:Y.providerOptionsName)!=null?Z:"google",J=(K=Y==null?void 0:Y.supportsFunctionResponseParts)!=null?K:!0;for(let{role:j,content:w}of X)switch(j){case"system":{if(!W)throw new YQ({functionality:"system messages are only supported at the beginning of the conversation"});A.push({text:w});break}case"user":{W=!1;let q=[];for(let F of w)switch(F.type){case"text":{q.push({text:F.text});break}case"file":{let b=F.mediaType==="image/*"?"image/jpeg":F.mediaType;q.push(F.data instanceof URL?{fileData:{mimeType:b,fileUri:F.data.toString()}}:{inlineData:{mimeType:b,data:ZQ(F.data)}});break}}V.push({role:"user",parts:q});break}case"assistant":{W=!1,V.push({role:"model",parts:w.map((q)=>{var F,b,S,y;let $=(y=(F=q.providerOptions)==null?void 0:F[E])!=null?y:E!=="google"?(b=q.providerOptions)==null?void 0:b.google:(S=q.providerOptions)==null?void 0:S.vertex,P=($==null?void 0:$.thoughtSignature)!=null?String($.thoughtSignature):void 0;switch(q.type){case"text":return q.text.length===0?void 0:{text:q.text,thoughtSignature:P};case"reasoning":return q.text.length===0?void 0:{text:q.text,thought:!0,thoughtSignature:P};case"file":{if(q.data instanceof URL)throw new YQ({functionality:"File data URLs in assistant messages are not supported"});return{inlineData:{mimeType:q.mediaType,data:ZQ(q.data)},...($==null?void 0:$.thought)===!0?{thought:!0}:{},thoughtSignature:P}}case"tool-call":{let x=($==null?void 0:$.serverToolCallId)!=null?String($.serverToolCallId):void 0,k=($==null?void 0:$.serverToolType)!=null?String($.serverToolType):void 0;if(x&&k)return{toolCall:{toolType:k,args:typeof q.input==="string"?JSON.parse(q.input):q.input,id:x},thoughtSignature:P};return{functionCall:{name:q.toolName,args:q.input},thoughtSignature:P}}case"tool-result":{let x=($==null?void 0:$.serverToolCallId)!=null?String($.serverToolCallId):void 0,k=($==null?void 0:$.serverToolType)!=null?String($.serverToolType):void 0;if(x&&k)return{toolResponse:{toolType:k,response:q.output.type==="json"?q.output.value:{},id:x},thoughtSignature:P};return}}}).filter((q)=>q!==void 0)});break}case"tool":{W=!1;let q=[];for(let F of w){if(F.type==="tool-approval-response")continue;let b=(z=(U=F.providerOptions)==null?void 0:U[E])!=null?z:E!=="google"?(R=F.providerOptions)==null?void 0:R.google:(N=F.providerOptions)==null?void 0:N.vertex,S=(b==null?void 0:b.serverToolCallId)!=null?String(b.serverToolCallId):void 0,y=(b==null?void 0:b.serverToolType)!=null?String(b.serverToolType):void 0;if(S&&y){let P=(b==null?void 0:b.thoughtSignature)!=null?String(b.thoughtSignature):void 0;if(V.length>0){let x=V[V.length-1];if(x.role==="model"){x.parts.push({toolResponse:{toolType:y,response:F.output.type==="json"?F.output.value:{},id:S},thoughtSignature:P});continue}}}let $=F.output;if($.type==="content")if(J)aQ(q,F.toolName,$.value);else rQ(q,F.toolName,$.value);else q.push({functionResponse:{name:F.toolName,response:{name:F.toolName,content:$.type==="execution-denied"?(D=$.reason)!=null?D:"Tool execution denied.":$.value}}})}V.push({role:"user",parts:q});break}}if(B&&A.length>0&&V.length>0&&V[0].role==="user"){let j=A.map((w)=>w.text).join(`
|
|
4
4
|
|
|
5
5
|
`);V[0].parts.unshift({text:j+`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ff as i}from"./chunk-
|
|
2
|
+
import{Ff as i}from"./chunk-z1hd38wp.js";import{oP as P,rP as C}from"./chunk-naq602da.js";var h=P((V)=>{var s=V&&V.__createBinding||(Object.create?function(w,z,G,J){if(J===void 0)J=G;var K=Object.getOwnPropertyDescriptor(z,G);if(!K||("get"in K?!z.__esModule:K.writable||K.configurable))K={enumerable:!0,get:function(){return z[G]}};Object.defineProperty(w,J,K)}:function(w,z,G,J){if(J===void 0)J=G;w[J]=z[G]}),t=V&&V.__setModuleDefault||(Object.create?function(w,z){Object.defineProperty(w,"default",{enumerable:!0,value:z})}:function(w,z){w.default=z}),g=V&&V.__importStar||function(w){if(w&&w.__esModule)return w;var z={};if(w!=null){for(var G in w)if(G!=="default"&&Object.prototype.hasOwnProperty.call(w,G))s(z,w,G)}return t(z,w),z};Object.defineProperty(V,"__esModule",{value:!0});V.req=V.json=V.toBuffer=void 0;var o=g(C("http")),e=g(C("https"));async function b(w){let z=0,G=[];for await(let J of w)z+=J.length,G.push(J);return Buffer.concat(G,z)}V.toBuffer=b;async function ww(w){let G=(await b(w)).toString("utf8");try{return JSON.parse(G)}catch(J){let K=J;throw K.message+=` (input: ${G})`,K}}V.json=ww;function zw(w,z={}){let J=((typeof w==="string"?w:w.href).startsWith("https:")?e:o).request(w,z),K=new Promise((X,Q)=>{J.once("response",X).once("error",Q).end()});return J.then=K.then.bind(K),J}V.req=zw});var u=P((W)=>{var _=W&&W.__createBinding||(Object.create?function(w,z,G,J){if(J===void 0)J=G;var K=Object.getOwnPropertyDescriptor(z,G);if(!K||("get"in K?!z.__esModule:K.writable||K.configurable))K={enumerable:!0,get:function(){return z[G]}};Object.defineProperty(w,J,K)}:function(w,z,G,J){if(J===void 0)J=G;w[J]=z[G]}),Gw=W&&W.__setModuleDefault||(Object.create?function(w,z){Object.defineProperty(w,"default",{enumerable:!0,value:z})}:function(w,z){w.default=z}),l=W&&W.__importStar||function(w){if(w&&w.__esModule)return w;var z={};if(w!=null){for(var G in w)if(G!=="default"&&Object.prototype.hasOwnProperty.call(w,G))_(z,w,G)}return Gw(z,w),z},Jw=W&&W.__exportStar||function(w,z){for(var G in w)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(z,G))_(z,w,G)};Object.defineProperty(W,"__esModule",{value:!0});W.Agent=void 0;var Kw=l(C("net")),f=l(C("http")),Qw=C("https");Jw(h(),W);var F=Symbol("AgentBaseInternalState");class x extends f.Agent{constructor(w){super(w);this[F]={}}isSecureEndpoint(w){if(w){if(typeof w.secureEndpoint==="boolean")return w.secureEndpoint;if(typeof w.protocol==="string")return w.protocol==="https:"}let{stack:z}=Error();if(typeof z!=="string")return!1;return z.split(`
|
|
3
3
|
`).some((G)=>G.indexOf("(https.js:")!==-1||G.indexOf("node:https:")!==-1)}incrementSockets(w){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[w])this.sockets[w]=[];let z=new Kw.Socket({writable:!1});return this.sockets[w].push(z),this.totalSocketCount++,z}decrementSockets(w,z){if(!this.sockets[w]||z===null)return;let G=this.sockets[w],J=G.indexOf(z);if(J!==-1){if(G.splice(J,1),this.totalSocketCount--,G.length===0)delete this.sockets[w]}}getName(w){if(this.isSecureEndpoint(w))return Qw.Agent.prototype.getName.call(this,w);return super.getName(w)}createSocket(w,z,G){let J={...z,secureEndpoint:this.isSecureEndpoint(z)},K=this.getName(J),X=this.incrementSockets(K);Promise.resolve().then(()=>this.connect(w,J)).then((Q)=>{if(this.decrementSockets(K,X),Q instanceof f.Agent)try{return Q.addRequest(w,J)}catch(U){return G(U)}this[F].currentSocket=Q,super.createSocket(w,z,G)},(Q)=>{this.decrementSockets(K,X),G(Q)})}createConnection(){let w=this[F].currentSocket;if(this[F].currentSocket=void 0,!w)throw Error("No socket was returned in the `connect()` function");return w}get defaultPort(){return this[F].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(w){if(this[F])this[F].defaultPort=w}get protocol(){return this[F].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(w){if(this[F])this[F].protocol=w}}W.Agent=x});var a=P((B)=>{var Vw=B&&B.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(B,"__esModule",{value:!0});B.parseProxyResponse=void 0;var Ww=Vw(i()),T=(0,Ww.default)("https-proxy-agent:parse-proxy-response");function Xw(w){return new Promise((z,G)=>{let J=0,K=[];function X(){let $=w.read();if($)S($);else w.once("readable",X)}function Q(){w.removeListener("end",U),w.removeListener("error",O),w.removeListener("readable",X)}function U(){Q(),T("onend"),G(Error("Proxy connection ended before receiving CONNECT response"))}function O($){Q(),T("onerror %o",$),G($)}function S($){K.push($),J+=$.length;let Y=Buffer.concat(K,J),N=Y.indexOf(`\r
|
|
4
4
|
\r
|
|
5
5
|
`);if(N===-1){T("have not received end of HTTP headers yet..."),X();return}let v=Y.slice(0,N).toString("ascii").split(`\r
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Cd as n,Fd as p,Gd as e,Hd as i,Kd as m,Ld as c}from"./chunk-
|
|
2
|
+
import{Cd as n,Fd as p,Gd as e,Hd as i,Kd as m,Ld as c}from"./chunk-3ne6j2h5.js";import{bI as o,gC as s}from"./chunk-shav33fq.js";var u=(t)=>o.sync(()=>e(t)),g=(t)=>o.sync(()=>i(t)),y={info:(t)=>o.sync(()=>p.info(t))},x=(t)=>o.tryPromise(()=>c(t)).pipe(o.map((r)=>{if(n(r))return s.none();return s.some(r)})),V=()=>{let t=m();return{start:(r)=>o.sync(()=>t.start(r)),stop:(r,a)=>o.sync(()=>t.stop(r,a))}};
|
|
3
3
|
export{u as h,g as i,y as j,x as k,V as l};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-naq602da.js";function BX(G){if(G===void 0)return{BS_PRIVATE_NESTED_SOME_NONE:0};else if(G!==null&&G.BS_PRIVATE_NESTED_SOME_NONE!==void 0)return{BS_PRIVATE_NESTED_SOME_NONE:G.BS_PRIVATE_NESTED_SOME_NONE+1|0};else return G}function qG(G){if(G===null||G.BS_PRIVATE_NESTED_SOME_NONE===void 0)return G;let Q=G.BS_PRIVATE_NESTED_SOME_NONE;if(Q===0)return;else return{BS_PRIVATE_NESTED_SOME_NONE:Q-1|0}}function _Y(G){if(Array.isArray(G))return{TAG:"Array",_0:G};else return{TAG:"Single",_0:G}}var IY={classify:_Y},MQ={};function vY(G){let Q=MQ[G];if(Q!==void 0){let X=Q+1|0;return MQ[G]=X,G+("/"+X)}return MQ[G]=1,G}var DX={},gQ=[];function OY(G){return G.slice(0,1).toUpperCase()+G.slice(1)}var JQ=(G)=>({...G});function YG(G){let Q=0;while(!0){let X=Q,Y=G[X];if(Y===void 0)return'"'+G+'"';switch(Y){case'"':case`
|
|
3
3
|
`:return JSON.stringify(G);default:Q=X+1|0;continue}}}function WX(G){if(G==="")return[];else return JSON.parse(G.split('"]["').join('","'))}var fQ="sury",HQ=Symbol(fQ),qQ=Symbol(fQ+":item"),jY=vY("Sury.Error"),b="const";function xY(G){switch(G.type){case"undefined":return!0;case"union":return"undefined"in G.has;default:return!1}}function wX(G,Q){return(G&Q)!==0}var y={unknown:1,string:2,number:4,boolean:8,undefined:16,null:32,object:64,array:128,union:256,ref:512,bigint:1024,nan:2048,function:4096,instance:8192,never:16384,symbol:32768};function eG(G){let Q=y[typeof G];if(Q&16)return"undefined";if(!(Q&64))if(Q&2)return'"'+G+'"';else if(Q&1024)return G+"n";else return G.toString();if(G===null)return"null";if(Array.isArray(G)){let Z="[";for(let J=0,H=G.length;J<H;++J){if(J!==0)Z=Z+", ";Z=Z+eG(G[J])}return Z+"]"}if(G.constructor!==Object)return Object.prototype.toString.call(G);let X=Object.keys(G),Y="{ ";for(let Z=0,J=X.length;Z<J;++Z){let H=X[Z],q=G[H];Y=Y+H+": "+eG(q)+"; "}return Y+"}"}function j(G){let{type:Q,const:X,name:Y}=G;if(Y!==void 0)return Y;if(X!==void 0)return eG(X);let{format:Z,anyOf:J}=G;if(J!==void 0)return J.map(j).join(" | ");if(Z!==void 0)return Z;switch(Q){case"nan":return"NaN";case"object":let{additionalItems:H,properties:q}=G,U=Object.keys(q);if(U.length===0)if(typeof H==="object")return"{ [key: string]: "+j(H)+"; }";else return"{}";else return"{ "+U.map((z)=>z+": "+j(q[z])+";").join(" ")+" }";default:if(G.b)return Q;switch(Q){case"instance":return G.class.name;case"array":let{additionalItems:z,items:K}=G;if(typeof z!=="object")return"["+K.map((B)=>j(B.schema)).join(", ")+"]";let D=j(z);return(z.type==="union"?"("+D+")":D)+"[]";default:return Q}}}class BG extends Error{constructor(G,Q,X){super();this.flag=Q,this.code=G,this.path=X}}var TG=Object.defineProperty,dG=BG.prototype;TG(dG,"message",{get(){return LX(this)}});TG(dG,"reason",{get(){return UQ(this)}});TG(dG,"name",{value:"SuryError"});TG(dG,"s",{value:HQ});TG(dG,"_1",{get(){return this}});TG(dG,"RE_EXN_ID",{value:jY});var F=function(G){this.type=G},bQ=Object.create(null);TG(bQ,"with",{get(){return(G,...Q)=>G(this,...Q)}});F.prototype=bQ;function zQ(G){if(G&&G.s===HQ)return G;throw G}function UQ(G,Q){let X=Q!==void 0?Q:0,Y=G.code;if(typeof Y!=="object")return"Encountered unexpected async transform or refine. Use parseAsyncOrThrow operation instead";switch(Y.TAG){case"OperationFailed":return Y._0;case"InvalidOperation":return Y.description;case"InvalidType":let Z=Y.unionErrors,J="Expected "+j(Y.expected)+", received "+eG(Y.received);if(Z!==void 0){let H=`
|
|
4
4
|
`+" ".repeat(X<<1),q={};for(let U=0,z=Z.length;U<z;++U){let K=Z[U],D=UQ(K,X+1),B=K.path,w="- "+(B===""?"":"At "+B+": ")+D;if(!q[w])q[w]=1,J=J+H+w}}return J;case"UnsupportedTransformation":return"Unsupported transformation from "+j(Y.from)+" to "+j(Y.to);case"ExcessField":return'Unrecognized key "'+Y._0+'"';case"InvalidJsonSchema":return j(Y._0)+" is not valid JSON"}}function LX(G){let Q=G.flag,X="Failed ";if(Q&2)X=X+"async ";if(X=X+(Q&1?Q&4?"asserting":"parsing":"converting"),Q&8)X=X+" to JSON"+(Q&16?" string":"");let Y=G.path,Z=Y===""?"":" at "+Y;return X+Z+": "+UQ(G,void 0)}var f={m:LX,d:void 0,a:"strip",n:!1},hG="as",VY={get:(G,Q)=>{let X=G[hG];if(X===void 0)return G[Q];if(Q===hG)return G[Q];let Y=qG(X),Z="Schema S."+Y+" is not enabled. To start using it, add S.enable"+OY(Y)+"() at the project root.";throw Error("[Sury] "+Z)}};function PX(G){let Q=new F("never");return Q[hG]=G,new Proxy(Q,VY)}var ZG=new F("unknown"),KQ=new F("boolean"),RX=new F("symbol"),c=new F("string"),yG=new F("number");yG.format="int32";var AG=new F("number"),EX=new F("bigint"),s=new F("undefined");s.const=void 0;var h=(G)=>{let Q=new F(G.type);for(let X in G)if(X>"a"||X==="$ref"||X==="$defs")Q[X]=G[X];return Q};function n(G,Q){let X=h(G),Y=X;while(Y.to){let Z=h(Y.to);Y.to=Z,Y=Z}return Q(Y),X}var yY=(G)=>{for(let Q in G)if(Number(Q[0]))delete G[Q]},SY=BG;function $Y(G,Q,X){return new BG(G,Q,X)}var NX={value:SY,constructor:$Y};function _(G,Q){let X=G.g.e,Y=X.length;return X[Y]=Q,"e["+Y+"]"}function BQ(G,Q){let X=y[Q.type],Y=Q.const;if(X&16)return"void 0";else if(X&2)return YG(Y);else if(X&1024)return Y+"n";else if(X&45056)return _(G,Q.const);else return Y}function UG(G,Q){let X='"'+Q+'"',Y=G.g[X];if(Y!==void 0)return Y;let Z=YG(Q);return G.g[X]=Z,Z}function gY(G){let Q=this;Q.l=Q.l+","+G}function JG(G){let Q=this;Q.l=G,Q.a=gY}function TX(G,Q){let X={c:"",l:"",a:JG,v:-1,o:G,f:"",e:[],d:Q};return X.g=X,X}function DG(G){delete G.a;let Q=G.l;if(Q==="")return G.f+G.c;else return G.f+"let "+Q+";"+G.c}function u(G){let Q=G.v+1;return G.v=Q,"v"+Q}function EG(G){return this.i}function i(G){let Q=this,X=u(G.g),Y=Q.i;if(Y==="")Q.b.a(X);else if(G.a!==void 0)G.a(X+"="+Y);else G.c=G.c+(X+"="+Y+";"),G.g.a(X);return Q.v=EG,Q.i=X,X}function GQ(G,Q){let X=u(G.g);return G.a(X),{b:G,v:EG,i:X,f:0,type:Q.type}}function $(G,Q,X){return{b:G,v:i,i:Q,f:0,type:X.type}}function RG(G,Q){return{b:G,v:i,i:BQ(G,Q),f:0,type:Q.type,const:Q.const}}function lG(G,Q){return{b:G,v:i,i:Q,f:2,type:"unknown"}}function fY(G,Q){return G+":"+Q+","}function bY(G,Q){return Q+","}function $G(G,Q){return{b:G,v:i,i:"",f:0,type:Q?"array":"object",properties:{},additionalItems:"strict",j:Q?bY:fY,c:0,r:""}}function _G(G,Q,X){let Y=UG(G.b,Q);if(G.properties[Q]=X,X.f&2)G.r=G.r+X.i+",",G.i=G.i+G.j(Y,"a["+G.c+++"]");else G.i=G.i+G.j(Y,X.i)}function dY(G,Q){let X=Object.keys(Q.properties);for(let Y=0,Z=X.length;Y<Z;++Y){let J=X[Y];_G(G,J,Q.properties[J])}}function gG(G,Q){if(G.i=Q?"["+G.i+"]":"{"+G.i+"}",G.c)G.f=G.f|2,G.i="Promise.all(["+G.r+"]).then(a=>("+G.i+"))";return G.additionalItems="strict",G}function dQ(G,Q,X,Y){return Q.v(G)+"["+X+"]="+Y.i}function JX(G,Q,X){if(Q===X)return"";let Y=Q.v(G),Z=Q.f&2,J=X.f&2;if(Z){if(!J)return Y+"=Promise.resolve("+X.i+")"}else if(J)return Q.f=Q.f|2,Y+"="+X.i;return Y+"="+X.i}function fG(G,Q,X){let Y=Q.properties,Z=Y[X];if(Z!==void 0)return Z;let J=Q.additionalItems,H;if(J==="strip"||J==="strict"){if(J==="strip")throw Error("[Sury] The schema doesn't have additional items");throw Error("[Sury] The schema doesn't have additional items")}else H=J;let q={b:G,v:i,i:Q.v(G)+("["+YG(X)+"]"),f:0,type:H.type};return Y[X]=q,q}function lY(G,Q,X){return Q.v(G)+"="+X}function kX(G,Q){return{b:Q.b,v:i,i:G+"("+Q.i+")",f:0,type:"unknown"}}function OG(G,Q,X){throw new BG(Q,G.g.o,X)}function CQ(G,Q,X){if(Q.f&2)return lG(Q.b,Q.i+".then("+_(G,X)+")");else return kX(_(G,X),Q)}function QG(G,Q,X,Y){return _(G,(Z)=>OG(G,X(Z),Q))+"("+Y+")"}function S(G,Q,X){return _(G,()=>OG(G,{TAG:"OperationFailed",_0:Q},X))+"()"}function FQ(G,Q,X){return{schema:Q,fail:(Y,Z)=>{return OG(G,{TAG:"OperationFailed",_0:Y},X+(Z!==void 0?Z:""))}}}function tG(G,Q,X){return OG(G,{TAG:"InvalidOperation",description:X},Q)}function sG(G,Q,X,Y,Z,J){if(X===""&&Y===void 0)return J(G,Q,X);try{let H=(E,N)=>{E.c=N+".path="+YG(X)+"+"+(Y!==void 0?`'["'+`+Y+`+'"]'+`:"")+N+".path"},q=(E)=>J(E,Q,""),U=G.c;G.c="";let z=u(G.g),K=H(G,z),D="if("+(z+"&&"+z+".s===s")+"){"+G.c;G.c="";let B={c:"",l:"",a:JG,f:"",g:G.g},W=q(B);G.c=G.c+DG(B);let w=W.i===Q.i&&G.c==="";if(Z!==void 0)Z(G,W);if(w)return W;let L=W.f&2,R=Q===W?Q:Z!==void 0?W:{b:G,v:i,i:"",f:L?2:0,type:"unknown"},P=K!==void 0?(E)=>D+(E===1?"return "+K.i:JX(G,R,K))+("}else{throw "+z+"}"):(E)=>D+"}throw "+z;return G.c=U+("try{"+G.c+(L?lY(G,R,W.i+".catch("+z+"=>{"+P(1)+"})"):JX(G,R,W))+"}catch("+z+"){"+P(0)+"}"),R}catch(H){let q=zQ(H);throw new BG(q.code,q.flag,X+"[]"+q.path)}}function SG(G,Q,X,Y){let Z=Y?"!==":"===",J=Y?"||":"&&",H=Y?"!":"",q=X.type,U=y[q];if(U&2048)return H+("Number.isNaN("+Q+")");if(b in X)return Q+Z+BQ(G,X);if(U&4)return"typeof "+Q+Z+'"'+q+'"';if(U&64)return"typeof "+Q+Z+'"'+q+'"'+J+H+Q;if(U&128)return H+"Array.isArray("+Q+")";if(!(U&8192))return"typeof "+Q+Z+'"'+q+'"';let z=Q+" instanceof "+_(G,X.class);if(Y)return"!("+z+")";else return z}function oG(G,Q,X,Y){let Z=Y?"!==":"===",J=Y?"||":"&&",H=Y?"":"!",q=Y?">":"<",U=Y?"<":">",z=X.type,K,D=0;if(X.const!==void 0)return"";let W=X.format;if(W!==void 0)switch(W){case"int32":return J+Q+q+"2147483647"+J+Q+U+"-2147483648"+J+Q+"%1"+Z+"0";case"port":case"json":D=2;break}else D=2;if(D===2)switch(z){case"number":if(f.n)return"";else return J+H+"Number.isNaN("+Q+")";case"array":case"object":K=z;break;default:return""}let{additionalItems:w,items:L}=X,R=L.length,P=K==="array"?w==="strip"||w==="strict"?w==="strip"?J+Q+".length"+U+R:J+Q+".length"+Z+R:"":w==="strip"?"":J+H+"Array.isArray("+Q+")";for(let E=0,N=L.length;E<N;++E){let M=L[E],C=M.location,T=M.schema,k;if(b in T||X.unnest){let A=UG(G,C);k=SG(G,Q+("["+A+"]"),T,Y)}else if(T.items){let A=UG(G,C),I=Q+("["+A+"]");k=SG(G,I,T,Y)+oG(G,I,T,Y)}else k="";if(k!=="")P=P+J+k}return P}function MX(G,Q,X){let Y={b:G,v:Q.v,i:Q.i,f:Q.f,type:X.type},Z=(J,H)=>{if(b in H)J.const=H.const;let q=H.items;if(q===void 0)return;let U={};q.forEach((z)=>{let K=z.schema,D=b in K;if(!(D||K.items))return;let B;if(D)B=BQ(G,K);else{let w=UG(G,z.location);B=J.v(G)+("["+w+"]")}let W={b:J.b,v:i,i:B,f:0,type:K.type};Z(W,K),U[z.location]=W}),J.properties=U,J.additionalItems=ZG};return Z(Y,X),Y}function _Q(G,Q,X,Y){if(Q.noValidation||y[Q.type]&17153)return"";let Z=X.v(G);return"if("+SG(G,Z,Q,!0)+oG(G,Z,Q,!0)+"){"+QG(G,Y,(J)=>({TAG:"InvalidType",expected:Q,received:J}),Z)+"}"}function DQ(G,Q,X,Y){return OG(G,{TAG:"UnsupportedTransformation",from:Q,to:X},Y)}function uY(G){return G}function CX(G,Q){G[Q==="union"||Q==="ref"?"unknown":Q]=!0}var LG="JSON",GG=PX("jsonString");function IQ(G,Q){return $(G,'""+'+Q.i,c)}function d(G,Q,X,Y){let Z={c:"",l:"",a:JG,f:"",g:G.g};if(Q.$defs)Z.g.d=Q.$defs;let J=X,H=b in J,q=b in Q,U=J.type===Q.type,z=y[Q.type],K=y[J.type],D=!1;if(!(z&257||Q.format==="json")){if(Q.name===LG&&!(K&1)){if(!(K&14))if(K&1024)J=IQ(Z,J);else D=!0}else if(q)if(H){if(J.const!==Q.const)J=RG(Z,Q)}else if(K&2&&z&3132){let w=J.v(Z);Z.f=Q.noValidation?"":J.i+'==="'+Q.const+'"||'+QG(Z,Y,(L)=>({TAG:"InvalidType",expected:Q,received:L}),w)+";",J=RG(Z,Q)}else if(Q.noValidation)J=RG(Z,Q);else Z.f=_Q(G,Q,J,Y),J.type=Q.type,J.const=Q.const;else if(H&&!q){if(!U)if(z&2&&K&3132){let w=""+J.const;J={b:Z,v:i,i:'"'+w+'"',f:0,type:"string",const:w}}else D=!0}else if(K&1){let w=Q.$ref;if(w!==void 0){let L=Z.g.d,R=w.slice(8),P=L[R],E=Q.noValidation?(Z.g.o|1)^1:Z.g.o,N=P[E],M;if(N!==void 0){let C=qG(N);M=C===0?_(Z,P)+("["+E+"]"):_(Z,C)}else{P[E]=0;let C=AX(P,E,Z.g.d);P[E]=C,M=_(Z,C)}J=sG(Z,J,Y,void 0,void 0,(C,T,k)=>{let A=kX(M,T);if(P.isAsync===void 0){let I=JQ(L);I[R]=ZG,pY(P,I)}if(P.isAsync)A.f=A.f|2;return A}),J.v(Z)}else{if(Z.g.o&1)Z.f=_Q(G,Q,J,Y);let L=MX(Z,J,Q);if(J.type=L.type,J.i=L.i,J.v=L.v,J.additionalItems=L.additionalItems,J.properties=L.properties,b in L)J.const=L.const}}else if(z&2&&K&1036)J=IQ(Z,J);else if(!U)if(K&2){let w=J.v(Z);if(z&8){let L=GQ(Z,Q);Z.c=Z.c+("("+L.i+"="+w+'==="true")||'+w+'==="false"||'+QG(Z,Y,(R)=>({TAG:"InvalidType",expected:Q,received:R}),w)+";"),J=L}else if(z&4){let L=$(Z,"+"+w,Q),R=L.v(Z),P=Q.format;Z.c=Z.c+(P!==void 0?"("+oG(Z,R,Q,!0).slice(2)+")":"Number.isNaN("+R+")")+("&&"+QG(Z,Y,(E)=>({TAG:"InvalidType",expected:Q,received:E}),w)+";"),J=L}else if(z&1024){let L=GQ(Z,Q);Z.c=Z.c+("try{"+L.i+"=BigInt("+w+")}catch(_){"+QG(Z,Y,(R)=>({TAG:"InvalidType",expected:Q,received:R}),w)+"}"),J=L}else D=!0}else if(K&4&&z&1024)J=$(Z,"BigInt("+J.i+")",Q);else D=!0}if(D)DQ(Z,J,Q,Y);let B=Q.compiler;if(B!==void 0)J=B(Z,J,Q,Y);if(J.t!==!0){let w=Q.refiner;if(w!==void 0)Z.c=Z.c+w(Z,J.v(Z),Q,Y)}let W=Q.to;if(W!==void 0){let w=Q.parser;if(w!==void 0)J=w(Z,J,Q,Y);if(J.t!==!0)J=d(Z,W,J,Y)}return G.c=G.c+DG(Z),J}function KG(G){while(!0){let Q=G,X=Q.to;if(X===void 0)return Q;G=X;continue}}function PG(G,Q,X,Y){let Z=y[G.type];if(Z&48129||Z&16&&Q.type!=="object")throw new BG({TAG:"InvalidJsonSchema",_0:Q},Y,X);if(Z&256){G.anyOf.forEach((q)=>PG(q,Q,X,Y));return}if(!(Z&192))return;let J=G.additionalItems;if(J==="strip"||J==="strict");else PG(J,Q,X,Y);let H=G.properties;if(H!==void 0){let q=Object.keys(H);for(let U=0,z=q.length;U<z;++U){let K=q[U];PG(H[K],Q,X,Y)}return}G.items.forEach((q)=>PG(q.schema,G,X+("["+YG(q.location)+"]"),Y))}function XG(G){let Q,X=G;while(X){let Y=h(X),Z=Y.to,J=Q;if(J!==void 0)Y.to=J;else delete Y.to;let{parser:H,serializer:q}=Y;if(q!==void 0)Y.parser=q;else delete Y.parser;if(H!==void 0)Y.serializer=H;else delete Y.serializer;let{fromDefault:U,default:z}=Y;if(z!==void 0)Y.fromDefault=z;else delete Y.fromDefault;if(U!==void 0)Y.default=U;else delete Y.default;let K=Y.items;if(K!==void 0){let W={},w=Array(K.length);for(let R=0,P=K.length;R<P;++R){let E=K[R],N=XG(E.schema),M=E.location,C={schema:N,location:M};if(E.r)C.r=E.r;W[E.location]=N,w[R]=C}if(Y.items=w,Y.properties!==void 0)Y.properties=W}if(typeof Y.additionalItems==="object")Y.additionalItems=XG(Y.additionalItems);let D=Y.anyOf;if(D!==void 0){let W={},w=[];for(let L=0,R=D.length;L<R;++L){let P=D[L],E=XG(P);w.push(E),CX(W,E.type)}Y.has=W,Y.anyOf=w}let B=Y.$defs;if(B!==void 0){let W={};for(let w=0,L=Object.keys(B).length;w<L;++w){let R=Object.keys(B)[w];W[R]=XG(B[R])}Y.$defs=W}Q=Y,X=Z}return Q}function AX(G,Q,X){let Y=TX(Q,X);if(Q&8){let B=XG(G);PG(B,B,"",Q)}let Z={b:Y,v:EG,i:"i",f:0,type:"unknown"},J=Q&4?n(G,(B)=>{let W=new F(s.type);W.const=s.const,W.noValidation=!0,B.to=W}):Q&16?n(G,(B)=>{B.to=GG}):G,H=d(Y,J,Z,""),q=DG(Y),U=wX(H.f,2);if(J.isAsync=U,q===""&&H===Z&&!(Q&2))return uY;let z=H.i;if(Q&2&&!U&&!X)z="Promise.resolve("+z+")";let K="i=>{"+q+"return "+z+"}",D=Y.g.e;return Function("e","s","return "+K)(D,HQ)}function pY(G,Q){try{let X=TX(2,Q),Z=d(X,G,{b:X,v:EG,i:"i",f:0,type:"unknown"},""),J=wX(Z.f,2);return G.isAsync=J,J}catch(X){return zQ(X),!1}}function o(G,Q){if(Q in G)return G[Q];let X=AX(Q&32?XG(G):G,Q,0);return G[Q]=X,X}TG(bQ,"~standard",{get:function(){let G=this;return{version:1,vendor:fQ,validate:(Q)=>{try{return{value:o(G,1)(Q)}}catch(X){let Y=zQ(X);return{issues:[{message:UQ(Y,void 0),path:Y.path===""?void 0:WX(Y.path)}]}}}}}});function FX(G,Q,X,Y,Z){let J=Z!==void 0?Z:!0,H=0,q=0;switch(X){case"Output":case"Input":q=1;break;case"Assert":H=H|4;break;case"Json":H=H|8;break;case"JsonString":H=H|24;break}if(q===1&&X===Q)throw Error("[Sury] Can't compile operation to converting value to self");if(Y!=="Sync")H=H|2;if(J)H=H|1;if(Q==="Output")H=H|32;let U=o(G,H);if(Q!=="JsonString")return U;let z=H;return(K)=>{try{return U(JSON.parse(K))}catch(D){throw new BG({TAG:"OperationFailed",_0:D.message},z,"")}}}function WQ(G,Q){return o(Q,1)(G)}function _X(G,Q){let X;try{X=JSON.parse(G)}catch(Y){throw new BG({TAG:"OperationFailed",_0:Y.message},1,"")}return WQ(X,Q)}function IX(G,Q){return o(Q,3)(G)}function vX(G,Q){return o(Q,0)(G)}function OX(G,Q){return o(Q,8)(G)}function jX(G,Q){return o(Q,24)(G)}function xX(G,Q){return o(Q,32)(G)}function lQ(G,Q){return o(Q,40)(G)}function VX(G,Q,X){let Y=X!==void 0?X:0;return JSON.stringify(lQ(G,Q),null,Y)}function wG(G,Q){return o(Q,5)(G)}var wQ=new F("null");wQ.const=null;function IG(G){if(G===null)return wQ;let Q=typeof G,X;if(Q==="object"){let Y=new F("instance");Y.class=G.constructor,X=Y}else X=Q==="undefined"?s:Q==="number"?Number.isNaN(G)?new F("nan"):new F(Q):new F(Q);return X.const=G,X}function vQ(G){if(G&&G.s===HQ)return{success:!1,error:G};throw G}function yX(G){try{return{success:!0,value:G()}}catch(Q){return vQ(Q)}}function SX(G){try{return G().then((Q)=>({success:!0,value:Q}),vQ)}catch(Q){return Promise.resolve(vQ(Q))}}function uQ(G,Q,X){let Y=h(G);return Y[Q]=X,Y}var pQ="#/$defs/";function $X(G,Q){let X=pQ+G,Y=new F("ref");Y.$ref=X,Y.name=G;let Z=f.d;if(!Z)f.d={};let J=Q(Y);if(J.name)Y.name=J.name;else J.name=G;if(f.d[G]=J,Z)return Y;let H=new F("ref");return H.name=J.name,H.$ref=X,H.$defs=f.d,f.d=void 0,H}function gX(G,Q){let X=h(G);return X.noValidation=Q,X}function fX(G,Q){if(G!==void 0)return(X,Y,Z,J)=>G(X,Y,Z,J)+Q(X,Y,Z,J);else return Q}function rQ(G,Q){return n(G,(X)=>{X.refiner=fX(X.refiner,Q)})}function rG(G,Q){return rQ(G,(X,Y,Z,J)=>_(X,Q(FQ(X,Z,J)))+"("+Y+");")}function g(G,Q,X,Y){let Z=G[Q];return rQ(uQ(G,Q,Z!==void 0?Z.concat(X):[X]),Y)}function LQ(G,Q){return n(G,(X)=>{X.parser=(Z,J,H,q)=>{let U=Q(FQ(Z,H,q)),z=U.p;if(z!==void 0)if(U.a!==void 0)return tG(Z,q,"The S.transform doesn't allow parser and asyncParser at the same time. Remove parser in favor of asyncParser");else return CQ(Z,J,z);let K=U.a;if(K!==void 0){if(!(Z.g.o&2))OG(Z,"UnexpectedAsync","");let D=CQ(Z,J,K);return D.f=D.f|2,D}else if(U.s!==void 0)return tG(Z,q,"The S.transform parser is missing");else return J};let Y=new F("unknown");X.to=(Y.serializer=(Z,J,H,q)=>{let U=Q(FQ(Z,H,q)),z=U.s;if(z!==void 0)return CQ(Z,J,z);else if(U.a!==void 0||U.p!==void 0)return tG(Z,q,"The S.transform serializer is missing");else return J},Y),delete X.isAsync})}var PQ=new F("null");PQ.const=null;PQ.to=s;function OQ(G,Q,X,Y){return G.c=G.c+QG(G,Y,(Z)=>({TAG:"InvalidType",expected:X,received:Z}),Q.i)+";",Q}var RQ=new F("never");RQ.compiler=OQ;var FG="BS_PRIVATE_NESTED_SOME_NONE";function AQ(G,Q,X,Y,Z,J){try{let H=G.g.o;if(Z)G.g.o=H|1;let q={c:"",l:"",a:JG,f:"",g:G.g},U=Z?JQ(X):MX(q,X,Q),z=d(q,Q,U,J);if(z!==U){if(z.b=q,z.f&2)Y.f=Y.f|2;q.c=q.c+(Y.v(G)+"="+z.i)}return G.g.o=H,DG(q)}catch(H){return"throw "+_(G,zQ(H))}}function HX(G,Q){if(G&8320&&"object"in Q)return!0;else if(G&2048)return"number"in Q;else return!1}function rY(G,Q){return Q.every((X,Y)=>{let Z=G[Y];if(Z!==void 0&&!(y[X.type]&9152)&&X.type===Z.type)return X.const===Z.const;else return!1})}function bX(G,Q,X,Y){let Z=X.anyOf,J=Q.anyOf;if(J!==void 0)if(rY(Z,J))return Q;else return DQ(G,Q,X,Y);let H=(T)=>_(G,function(){let k=arguments;return OG(G,{TAG:"InvalidType",expected:X,received:k[0],unionErrors:k.length>1?Array.from(k).slice(1):void 0},Y)})+"("+Q.v(G)+T+")",q=G.g.o&1,U=Q.i,z=-1,K=Z.length-1|0,D={},B=[];for(let T=0;T<=K;++T){let k=X.to,A=k!==void 0&&!X.parser&&k.type!=="union"?n(Z[T],(p)=>{let V=X.refiner;if(V!==void 0)p.refiner=fX(p.refiner,V);p.to=k}):Z[T],I=A.type,x=y[I];if(!(x&16&&("fromDefault"in X)))if(x&17153||!(y[Q.type]&1)&&Q.type!==I)z=T,D={},B=[];else{let p=x&8192?A.class.name:I,V=D[p];if(V!==void 0){if(x&64&&FG in A.properties)V.unshift(A);else if(!(x&2096))V.push(A)}else{if(HX(x,D))B.unshift(p);else B.push(p);D[p]=[A]}}}let W=z,w=D,L=B,R="",P="",E="",N=!1;if(W!==-1){for(let T=0;T<=W;++T)if(!N){let k=Z[T],A=AQ(G,k,Q,Q,!0,Y);if(A){let I="e"+T;R=R+("try{"+A+"}catch("+I+"){"),P="}"+P,E=E+","+I}else N=!0}}if(!N){let T=!1,k="";for(let A=0,I=L.length;A<I;++A){let x=w[L[A]],p=x.length>1,V=x[0],WG=0,kG;if(p){let l=Q.v(G),O="",uG="",HG=!1,a={contents:""},mG="",jG={},MG=0,TQ=x.length-1|0;while(MG<=TQ){let r=x[MG],t=(b in r?SG(G,l,r,!1):"")+oG(G,l,r,!1).slice(2),xG=AQ(G,r,Q,Q,!1,Y);if(t)if(xG){let e=jG[t];if(e!==void 0)if(typeof e==="string")jG[t]=[e,xG];else e.push(xG);else jG[t]=xG}else a.contents=a.contents?a.contents+"||"+t:t;if(!t||MG===TQ){let e=Object.keys(jG);for(let iG=0,CY=e.length;iG<CY;++iG){let YX=e[iG];O=O+(HG?"else if":"if")+("("+YX+"){");let pG=jG[YX];if(typeof pG==="string")O=O+pG+"}";else{let kQ="";for(let aG=0,AY=pG.length;aG<AY;++aG){let FY=pG[aG],ZX="e"+aG;O=O+("try{"+FY+"}catch("+ZX+"){"),kQ=kQ+","+ZX}O=O+H(kQ)+"}".repeat(pG.length)+"}"}HG=!0}jG={}}if(!t)if(xG){if(a.contents)O=O+(HG?"else if":"if")+("(!("+a.contents+")){"),uG="}"+uG,a.contents="",HG=!1;let e="e"+MG;O=O+((HG?"else{":"")+"try{"+xG+"}catch("+e+"){"),uG=(HG?"}":"")+"}"+uG,mG=mG+","+e,HG=!1}else a.contents="",MG=TQ;MG=MG+1}if(WG=(r)=>SG(G,r,{type:V.type,parser:0},!1),a.contents)if(O){if(q)O=O+(HG?"else if":"if")+("(!("+a.contents+")){"+H(mG)+"}")}else{let r=WG;WG=(t)=>r(t)+("&&("+a.contents+")")}else if(q&&O){let r=H(mG);O=O+(HG?"else{"+r+"}":r)}kG=O+uG}else WG=(l)=>SG(G,l,V,!1)+oG(G,l,V,!1),kG=AQ(G,V,Q,Q,!1,Y);if(kG||HX(y[V.type],w))R=R+(T?"else if":"if")+("("+WG(Q.v(G))+"){"+kG+"}"),T=!0;else if(q){let l=WG(Q.v(G));k=k?k+"||"+l:l}}if(q||W===K){let A=H(E),I;if(k)I=(T?"else if":"if")+("(!("+k+")){"+A+"}");else I=T?"else{"+A+"}":A;R=R+I}}G.c=G.c+R+P;let M=Q.f&2?lG(G,"Promise.resolve("+Q.i+")"):Q.v===EG?G.c===""&&Q.b.c===""&&(Q.b.l===Q.i+"="+U||U==="i")?(Q.b.l="",Q.b.a=JG,Q.v=i,Q.i=U,Q):JQ(Q):Q;M.anyOf=X.anyOf;let C=X.to;return M.type=C!==void 0&&C.type!=="union"?(M.t=!0,KG(C).type):"union",M}function zG(G){let Q=G.length;if(Q===1)return G[0];if(Q!==0){let X={},Y=new Set;for(let J=0,H=G.length;J<H;++J){let q=G[J];if(q.type==="union"&&q.to===void 0)q.anyOf.forEach((U)=>{Y.add(U)}),Object.assign(X,q.has);else Y.add(q),CX(X,q.type)}let Z=new F("union");return Z.anyOf=Array.from(Y),Z.compiler=bX,Z.has=X,Z}throw Error("[Sury] S.union requires at least one item")}function hY(){let G=IG(0),Q={schema:G,location:FG},X={};return X[FG]=G,{type:"object",serializer:(Y,Z,J,H)=>RG(Y,J.to),additionalItems:"strip",items:[Q],properties:X}}function oY(G,Q,X,Y){return $(G,"{"+FG+":"+KG(X).items[0].schema.const+"}",X.to)}function qX(G){return n(G,(Q)=>{Q.to=hY(),Q.parser=oY})}function EQ(G,Q){let X=Q!==void 0?Q:s,Y=KG(G);switch(Y.type){case"undefined":return zG([X,qX(G)]);case"union":let{has:J,anyOf:H}=Y;return n(G,(q)=>{let U=JQ(J),z=[];for(let K=0,D=H.length;K<D;++K){let B=H[K],W=KG(B),w=W.type,L;if(w==="undefined")U[X.type]=!0,z.push(X),L=qX(B);else{let R=W.properties;if(R!==void 0){let P=R[FG];L=P!==void 0?n(B,(E)=>{let N={type:P.type,parser:P.parser,const:P.const+1},M={schema:N,location:FG},C={};C[FG]=N,E.items=[M],E.properties=C}):B}else L=B}z.push(L)}if(z.length===H.length)U[X.type]=!0,z.push(X);q.anyOf=z,q.has=U});default:return zG([G,X])}}function vG(G,Q){return n(G,(X)=>{let Y=X.anyOf;if(Y!==void 0){let Z,J;for(let K=0,D=Y.length;K<D;++K){let B=Y[K],W=KG(B);if(W.type!=="undefined"){if(Z!==void 0){let R="Can't set default for "+j(X);throw Error("[Sury] "+R)}Z=B,J=W}}let H=Z,q;if(H!==void 0)q=H;else{let K="Can't set default for "+j(X);throw Error("[Sury] "+K)}X.parser=(K,D,B,W)=>{let w=(N,M)=>{let C=M.v(N),T;return T=Q.TAG==="Value"?BQ(N,IG(Q._0)):_(N,Q._0)+"()",$(N,C+"===void 0?"+T+":"+C,B.to)};if(!(D.f&2))return w(K,D);let L={c:"",l:"",a:JG,f:"",g:K.g},R={b:K,v:EG,i:u(L.g),f:0,type:"unknown"},P=w(L,R),E=DG(L);return lG(D.b,D.i+".then("+R.v(K)+"=>{"+E+"return "+P.i+"})")};let U=h(J),z=U.compiler;if(z!==void 0)U.serializer=z,delete U.compiler;else U.serializer=(K,D,B,W)=>D;if(X.to=U,Q.TAG!=="Value")return;try{X.default=o(q,32)(Q._0);return}catch(K){return}}else{let Z="Can't set default for "+j(X);throw Error("[Sury] "+Z)}})}var NQ="m:Array.refinements";function cY(G){let Q=G[NQ];if(Q!==void 0)return Q;else return[]}function sY(G,Q,X,Y){let Z=X.additionalItems,J=Q.v(G),H=u(G.g),q={c:"",l:"",a:JG,f:"",g:G.g},U=$(q,J+"["+H+"]",ZG),z=sG(q,U,Y,H,void 0,(W,w,L)=>d(W,Z,w,L)),K=DG(q),D=U!==z,B=D?$(G,"new Array("+J+".length)",X):Q;if(B.type=X.type,B.additionalItems=X.additionalItems,D||K!=="")G.c=G.c+("for(let "+H+"=0;"+H+"<"+J+".length;++"+H+"){"+K+(D?dQ(G,B,H,z):"")+"}");if(z.f&2)return lG(B.b,"Promise.all("+B.i+")");else return B}function cG(G){let Q=new F("array");return Q.additionalItems=G,Q.items=gQ,Q.compiler=sY,Q}function nG(G,Q,X){let Y=G.additionalItems;if(Y===void 0)return G;let Z=G.items;if(Y===Q||typeof Y==="object")return G;let J=h(G);if(J.additionalItems=Q,X){let H=[],q={};for(let U=0,z=Z.length;U<z;++U){let K=Z[U],D=nG(K.schema,Q,X),B=D===K.schema?K:{schema:D,location:K.location};q[K.location]=D,H.push(B)}J.items=H,J.properties=q}return J}function dX(G){return nG(G,"strip",!1)}function lX(G){return nG(G,"strip",!0)}function QQ(G){return nG(G,"strict",!1)}function uX(G){return nG(G,"strict",!0)}function nY(G,Q,X,Y){let Z=X.additionalItems,J=Q.v(G),H=u(G.g),q={c:"",l:"",a:JG,f:"",g:G.g},U=$(q,J+"["+H+"]",ZG),z=sG(q,U,Y,H,void 0,(E,N,M)=>d(E,Z,N,M)),K=DG(q),D=U!==z,B=D?$(G,"{}",X):Q;if(B.type=X.type,B.additionalItems=X.additionalItems,D||K!=="")G.c=G.c+("for(let "+H+" in "+J+"){"+K+(D?dQ(G,B,H,z):"")+"}");if(!(z.f&2))return B;let W=u(G.g),w=u(G.g),L=u(G.g),R=u(G.g),P=B.v(G);return lG(G,"new Promise(("+W+","+w+")=>{let "+R+"=Object.keys("+P+").length;for(let "+H+" in "+P+"){"+P+"["+H+"].then("+L+"=>{"+P+"["+H+"]="+L+";if("+R+"--===1){"+W+"("+P+")}},"+w+")}})")}function XQ(G){let Q=new F("object");return Q.properties=DX,Q.items=gQ,Q.additionalItems=G,Q.compiler=nY,Q}var m="m:String.refinements";function mY(G){let Q=G[m];if(Q!==void 0)return Q;else return[]}var iY=/^c[^\s-]{8,}$/i,aY=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,tY=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,eY=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/,v=PX("json");function pX(){if(!v[hG])return;delete v.as;let G=new F("ref");G.$ref=pQ+LG,G.name=LG,v.type=G.type,v.$ref=G.$ref,v.name=LG;let Q={};Q[LG]={type:"union",compiler:bX,name:LG,has:{string:!0,boolean:!0,number:!0,null:!0,object:!0,array:!0},anyOf:[c,KQ,AG,wQ,XQ(G),cG(G)]},v.$defs=Q}function zX(G,Q,X,Y){let Z=y[Q.type],J=Q.const;if(Z&48)return'"null"';else if(Z&2)return JSON.stringify(YG(J));else if(Z&1024)return'"\\"'+J+'\\""';else if(Z&12)return'"'+J+'"';else return DQ(G,Q,X,Y)}function rX(){if(GG[hG]){delete GG.as,GG.type="string",GG.format="json",GG.name=LG+" string",GG.compiler=(G,Q,X,Y)=>{let Z=y[Q.type],J=Q;if(Z&1){let H=X.to;if(H&&b in H){let q=J.v(G);G.f=q+"==="+zX(G,H,X,Y)+"||"+QG(G,Y,(U)=>({TAG:"InvalidType",expected:H,received:U}),q)+";",J=RG(G,H)}else if(!(H&&H.format==="json")){let q=J.v(G),U=G.g.o&1;if(U)G.f=_Q(G,c,J,Y);if(H||U){let z;if(H){PG(H,H,Y,G.g.o);let K=GQ(G,ZG);J=K,z=K.i+"="}else z="";G.c=G.c+("try{"+z+"JSON.parse("+q+")}catch(t){"+QG(G,Y,(K)=>({TAG:"InvalidType",expected:X,received:K}),q)+"}")}}}else{if(b in J)J=$(G,zX(G,J,X,Y),c);else if(Z&2){if(J.format!=="json")J=$(G,"JSON.stringify("+J.i+")",c)}else if(Z&12)J=IQ(G,J);else if(Z&1024)J=$(G,'"\\""+'+J.i+'+"\\""',c);else if(Z&192){PG(J,J,Y,G.g.o);let H=X.space;J=$(G,"JSON.stringify("+J.i+(H!==void 0&&H!==0?",null,"+H:"")+")",c)}else DQ(G,J,X,Y);J.format="json"}return J};return}}function hX(G){let Q=h(GG);return Q.space=G,Q}var hQ="m:Int.refinements";function GZ(G){let Q=G[hQ];if(Q!==void 0)return Q;else return[]}var oQ="m:Float.refinements";function QZ(G){let Q=G[oQ];if(Q!==void 0)return Q;else return[]}function oX(G,Q){if(G===Q)return G;else return n(G,(X)=>{X.to=Q})}function cX(G){let Q=new F("instance");return Q.class=G,Q}function cQ(G,Q){let X=h(G),Y=Q.name;if(Y!==void 0)if(Y==="")X.name=void 0;else X.name=Y;let Z=Q.title;if(Z!==void 0)if(Z==="")X.title=void 0;else X.title=Z;let J=Q.description;if(J!==void 0)if(J==="")X.description=void 0;else X.description=J;let H=Q.deprecated;if(H!==void 0)X.deprecated=H;let q=Q.examples;if(q!==void 0)if(q.length!==0)X.examples=q.map(o(G,32));else X.examples=void 0;return X}function sX(G,Q){let X=h(G);return X.name=Q,X}function nX(G){switch(G.k){case 0:return"["+YG(G.location)+"]";case 1:return nX(G.of)+G.p;case 2:return G.p}}function sQ(G,Q,X,Y){if(b in Y)return RG(G,Y);let Z=Q[qQ];if(Z!==void 0)return X(Z);let J=y[Y.type]&128,H=$G(G,J);return Y.items.forEach((q)=>_G(H,q.location,sQ(G,Q[q.location],X,q.schema))),gG(H,J)}function nQ(G,Q,X,Y,Z){if(!(Y.type==="object"&&Y.additionalItems==="strict"&&G.g.o&1))return;let H=GQ(G,ZG).i;if(G.c=G.c+("for("+H+" in "+Q.v(G)+"){if("),X.length!==0)for(let q=0,U=X.length;q<U;++q){let z=X[q];if(q!==0)G.c=G.c+"&&";G.c=G.c+(H+"!=="+UG(G,z.location))}else G.c=G.c+"true";G.c=G.c+("){"+QG(G,Z,(q)=>({TAG:"ExcessField",_0:q}),H)+"}}")}function bG(G){return new Proxy(DX,{get:(Q,X)=>{if(X===qQ)return G;let Y=YG(X),Z=KG(G.schema),J=Z.items,H=Z.properties,q;if(H!==void 0)q=H[X];else if(J!==void 0){let U=J[X];q=U!==void 0?U.schema:void 0}else q=void 0;if(q===void 0){let U="Cannot read property "+Y+" of "+j(Z);throw Error("[Sury] "+U)}return bG({k:1,location:X,schema:q,of:G,p:"["+Y+"]"})}})}function YQ(G,Q,X,Y){let{additionalItems:Z,items:J}=X,H=y[X.type]&128;if(G.g.o&64){let U=$G(G,H);for(let z=0,K=J.length;z<K;++z){let B=J[z].location;_G(U,B,Q.properties[B])}return gG(U,H)}let q=$G(G,H);for(let U=0,z=J.length;U<z;++U){let K=J[U],D=K.location,B=fG(G,Q,D),W=UG(G,D),w=Y+("["+W+"]");_G(q,D,d(G,K.schema,B,w))}if(nQ(G,Q,J,X,Y),(Z!=="strip"||G.g.o&32)&&J.every((U)=>q.properties[U.location]===Q.properties[U.location]))return Q.additionalItems="strip",Q;else return gG(q,H)}function mX(G){let Q=this,X="~"+G,Y=Q[X];if(Y!==void 0)return qG(Y);let Z={},J=[],H=new F("object");H.items=J,H.properties=Z,H.additionalItems=f.a,H.compiler=YQ;let q=Q.f(G,H)[qQ],U=(W,w)=>{let L=YG(W);if(W in Z)throw Error("[Sury] "+("The field "+L+" defined twice"));let R="["+L+"]",P={k:1,location:W,schema:w,of:q,p:R};return Z[W]=w,J.push(P),bG(P)},B={field:U,f:U,fieldOr:(W,w,L)=>{let R=EQ(w,void 0);return U(W,vG(R,{TAG:"Value",_0:L}))},tag:(W,w)=>{U(W,NG(w))},nested:mX,flatten:(W)=>{if(W.type==="object"){let{to:R,items:P}=W;if(R){let N="Unsupported nested flatten for transformed object schema "+j(W);throw Error("[Sury] "+N)}let E={};for(let N=0,M=P.length;N<M;++N){let C=P[N];E[C.location]=U(C.location,C.schema)}return E}let L="Can't flatten "+j(W)+" schema";throw Error("[Sury] "+L)}};return Q[X]=B,B}function NG(G){if(typeof G!=="object"||G===null)return IG(G);if(G["~standard"])return G;if(Array.isArray(G)){for(let q=0,U=G.length;q<U;++q){let z=NG(G[q]),K=q.toString();G[q]={schema:z,location:K}}let H=new F("array");return H.items=G,H.additionalItems="strict",H.compiler=YQ,H}let Q=G.constructor;if(Q&&Q!==Object)return{type:"instance",const:G,class:Q};let X=Object.keys(G),Y=X.length,Z=[];for(let H=0;H<Y;++H){let q=X[H],U=NG(G[q]),z={schema:U,location:q};G[q]=U,Z[H]=z}let J=new F("object");return J.items=Z,J.properties=G,J.additionalItems=f.a,J.compiler=YQ,J}function jQ(G,Q,X){if(typeof G!=="object"||G===null)return{k:1,p:Q,s:h(IG(G))};let Y=G[qQ];if(Y!==void 0){let U=h(KG(Y.schema));delete U.serializer;let z={k:0,p:Q,s:U};return Y.r=z,X[nX(Y)]=z,z}if(Array.isArray(G)){let U=[];for(let K=0,D=G.length;K<D;++K){let B=K.toString(),W='"'+B+'"',R={schema:jQ(G[K],Q+("["+W+"]"),X).s,location:B};U[K]=R}let z=new F("array");return{k:2,p:Q,s:(z.items=U,z.additionalItems="strict",z.serializer=OQ,z)}}let Z=Object.keys(G),J={},H=[];for(let U=0,z=Z.length;U<z;++U){let K=Z[U],D=YG(K),W=jQ(G[K],Q+("["+D+"]"),X).s,w={schema:W,location:K};H[U]=w,J[K]=W}let q=new F("object");return{k:2,p:Q,s:(q.items=H,q.properties=J,q.additionalItems=f.a,q.serializer=OQ,q)}}function mQ(G,Q,X){let Y={},J=jQ(G,"",Y).s;return delete J.refiner,delete J.compiler,J.serializer=(H,q,U,z)=>{let K=(P)=>{let E=P.p;if(E==="")return q;let N=q,M=WX(E);while(!0){let C=M,T=N;if(C.length===0)return T;let k=C[0];M=C.slice(1),N=fG(H,T,k);continue}},D=(P,E)=>{let N=KG(P);if(b in N)return RG(H,N);if(b in P)return d(H,P,RG(H,P),z);let{type:M,additionalItems:C,items:T}=N;if(T!==void 0&&typeof C==="string"){let A=y[M]&128,I=$G(H,A);for(let x=0,p=T.length;x<p;++x){let V=T[x],WG=UG(H,V.location),kG=E+("["+WG+"]"),l=Y[kG],O=l!==void 0?d(H,V.schema,K(l),l.p):D(V.schema,kG);_G(I,V.location,O)}return gG(I,A)}let k=E===""?"Schema isn't registered":"Schema for "+E+" isn't registered";return tG(H,z,k)},B=(P,E,N)=>{let M=P.r;if(M===void 0)return D(P.schema,E);let C=N?XG(P.schema):E===""?KG(P.schema):P.schema,T=K(M),k=z+M.p;return d(H,C,T,k)};if(Q!==void 0)return B(Q,"",!1);let W=U.to;nQ(H,q,U.items,U,z);let w=W.type==="array",L=W.items,R=$G(H,w);if(X!==void 0)for(let P=0,E=X.length;P<E;++P)dY(R,B(X[P],"",!0));for(let P=0,E=L.length;P<E;++P){let N=L[P];if(!(N.location in R.properties)){let M=UG(H,N.location);_G(R,N.location,B(N,"["+M+"]",!1))}}return gG(R,w)},J}function iX(G,Q){return(X,Y,Z,J)=>{let H=X.g.o&64,q=H?Y.properties:{};if(!H){let z=Z.items;for(let K=0,D=z.length;K<D;++K){let B=z[K],W=B.location,w=fG(X,Y,W),L=UG(X,W),R=J+("["+L+"]");q[W]=d(X,B.schema,w,R)}nQ(X,Y,z,Z,J)}if(Q!==void 0){let z=X.g.o;X.g.o=z|64;for(let K=0,D=Q.length;K<D;++K){let B=Q[K];q[B.i]=d(X,B.schema,Y,J)}X.g.o=z}let U=(z)=>{switch(z.k){case 0:return q[z.location];case 1:return fG(X,U(z.of),z.location);case 2:return q[z.i]}};return sQ(X,G,U,Z.to)}}function aX(G,Q){return n(G,(X)=>{let Y={k:2,schema:G,p:"",i:0},Z=Q(bG(Y));X.parser=(J,H,q,U)=>{let z=(K)=>{switch(K.k){case 1:return fG(J,z(K.of),K.location);case 0:case 2:return H}};return sQ(J,Z,z,q.to)},X.to=mQ(Z,Y,void 0)})}function ZQ(G){let Q=void 0,X=[],Y={},Z=(D)=>{if(D.type==="object"){let w=D.items;for(let E=0,N=w.length;E<N;++E){let M=w[E],C=M.location,T=M.schema,k=Y[C];if(k!==void 0){if(k!==T)throw Error("[Sury] "+('The field "'+C+'" defined twice with incompatible schemas'))}else{let A={k:0,schema:T,location:C};X.push(A),Y[C]=T}}let L=Q||(Q=[]),R=L.length,P={k:2,schema:D,p:"",i:R};return L.push(P),bG(P)}let W="The '"+j(D)+"' schema can't be flattened";throw Error("[Sury] "+W)},J=(D,B)=>{if(D in Y)throw Error("[Sury] "+('The field "'+D+'" defined twice with incompatible schemas'));let W={k:0,schema:B,location:D};return Y[D]=B,X.push(W),bG(W)},z=G({field:J,f:J,fieldOr:(D,B,W)=>{let w=EQ(B,void 0);return J(D,vG(w,{TAG:"Value",_0:W}))},tag:(D,B)=>{J(D,NG(B))},nested:mX,flatten:Z}),K=new F("object");return K.items=X,K.properties=Y,K.additionalItems=f.a,K.parser=iX(z,Q),K.to=mQ(z,void 0,Q),K}function iQ(G){let Q=[],X=(q,U)=>{let z=q.toString();if(Q[q])throw Error("[Sury] "+("The item ["+z+"] is defined multiple times"));let K={k:0,schema:U,location:z};return Q[q]=K,bG(K)},J=G({item:X,tag:(q,U)=>{X(q,NG(U))}});for(let q=0,U=Q.length;q<U;++q)if(!Q[q]){let z=q.toString(),K={schema:s,location:z};Q[q]=K}let H=new F("array");return H.items=Q,H.additionalItems="strict",H.parser=iX(J,void 0),H.to=mQ(J,void 0,void 0),H}function XZ(G){return EQ(G,PQ)}var aQ=NG;function YZ(G,Q,X,Y){let Z=X.additionalItems,J=Z.items,H=Q.v(G),q=u(G.g),U=u(G.g),z={c:"",l:"",a:JG,f:"",g:G.g},K={b:z,v:EG,i:H+"["+q+"]",f:0,type:"unknown"},D=sG(z,K,Y,q,(W,w)=>{let L="",R="";for(let P=0,E=J.length;P<E;++P){let N=J[P];L=L+("new Array("+H+".length),"),R=R+(U+"["+P+"]["+q+"]="+fG(G,w,N.location).i+";")}G.a(U+"=["+L+"]"),W.c=W.c+R},(W,w,L)=>d(W,Z,w,L)),B=DG(z);if(G.c=G.c+("for(let "+q+"=0;"+q+"<"+H+".length;++"+q+"){"+B+"}"),D.f&2)return{b:G,v:i,i:"Promise.all("+U+")",f:2,type:"array"};else return{b:G,v:EG,i:U,f:0,type:"array"}}function tX(G){if(G.type==="object"){let Q=G.items;if(Q.length===0)throw Error("[Sury] Invalid empty object for S.unnest schema.");let X=new F("array");X.items=Q.map((Z,J)=>{let H=J.toString();return{schema:cG(Z.schema),location:H}}),X.additionalItems="strict",X.parser=(Z,J,H,q)=>{let U=J.v(Z),z=u(Z.g),K={c:"",l:"",a:JG,f:"",g:Z.g},D=$G(K,!1),B="";for(let P=0,E=Q.length;P<E;++P){let N=Q[P];_G(D,N.location,$(K,U+"["+P+"]["+z+"]",ZG)),B=B+(U+"["+P+"].length,")}let W=$(Z,"new Array(Math.max("+B+"))",H.to),w=W.v(Z),L=sG(K,gG(D,!1),q,z,(P,E)=>{P.c=P.c+dQ(P,W,z,E)+";"},(P,E,N)=>d(P,G,E,N)),R=DG(K);if(Z.c=Z.c+("for(let "+z+"=0;"+z+"<"+w+".length;++"+z+"){"+R+"}"),L.f&2)return lG(W.b,"Promise.all("+W.i+")");else return W};let Y=new F("array");return Y.items=gQ,Y.additionalItems=G,Y.serializer=YZ,X.unnest=!0,X.to=Y,X}throw Error("[Sury] S.unnest supports only object schemas.")}function UX(G){return EQ(G,s)}function xQ(G,Q,X){let Y=X!==void 0?X:"Number must be greater than or equal to "+Q;return g(G,hQ,{kind:{TAG:"Min",value:Q},message:Y},(Z,J,H,q)=>"if("+J+"<"+_(Z,Q)+"){"+S(Z,Y,q)+"}")}function VQ(G,Q,X){let Y=X!==void 0?X:"Number must be lower than or equal to "+Q;return g(G,hQ,{kind:{TAG:"Max",value:Q},message:Y},(Z,J,H,q)=>"if("+J+">"+_(Z,Q)+"){"+S(Z,Y,q)+"}")}function eX(G,Q){let X=rQ(G,(Y,Z,J,H)=>Z+">0&&"+Z+"<65536&&"+Z+"%1===0||"+(Q!==void 0?S(Y,Q,H):QG(Y,H,(q)=>({TAG:"InvalidType",expected:J,received:q}),Z))+";");return X.format="port",XG(X).format="port",X}function yQ(G,Q,X){let Y=X!==void 0?X:"Number must be greater than or equal to "+Q;return g(G,oQ,{kind:{TAG:"Min",value:Q},message:Y},(Z,J,H,q)=>"if("+J+"<"+_(Z,Q)+"){"+S(Z,Y,q)+"}")}function SQ(G,Q,X){let Y=X!==void 0?X:"Number must be lower than or equal to "+Q;return g(G,oQ,{kind:{TAG:"Max",value:Q},message:Y},(Z,J,H,q)=>"if("+J+">"+_(Z,Q)+"){"+S(Z,Y,q)+"}")}function GY(G,Q,X){let Y=X!==void 0?X:"Array must be "+Q+" or more items long";return g(G,NQ,{kind:{TAG:"Min",length:Q},message:Y},(Z,J,H,q)=>"if("+J+".length<"+_(Z,Q)+"){"+S(Z,Y,q)+"}")}function QY(G,Q,X){let Y=X!==void 0?X:"Array must be "+Q+" or fewer items long";return g(G,NQ,{kind:{TAG:"Max",length:Q},message:Y},(Z,J,H,q)=>"if("+J+".length>"+_(Z,Q)+"){"+S(Z,Y,q)+"}")}function XY(G,Q,X){let Y=X!==void 0?X:"String must be "+Q+" or more characters long";return g(G,m,{kind:{TAG:"Min",length:Q},message:Y},(Z,J,H,q)=>"if("+J+".length<"+_(Z,Q)+"){"+S(Z,Y,q)+"}")}function YY(G,Q,X){let Y=X!==void 0?X:"String must be "+Q+" or fewer characters long";return g(G,m,{kind:{TAG:"Max",length:Q},message:Y},(Z,J,H,q)=>"if("+J+".length>"+_(Z,Q)+"){"+S(Z,Y,q)+"}")}function tQ(G,Q){let X=Q!==void 0?Q:"Invalid email address";return g(G,m,{kind:"Email",message:X},(Y,Z,J,H)=>"if(!"+_(Y,tY)+".test("+Z+")){"+S(Y,X,H)+"}")}function eQ(G,Q){let X=Q!==void 0?Q:"Invalid UUID";return g(G,m,{kind:"Uuid",message:X},(Y,Z,J,H)=>"if(!"+_(Y,aY)+".test("+Z+")){"+S(Y,X,H)+"}")}function ZY(G,Q){let X=Q!==void 0?Q:"Invalid CUID";return g(G,m,{kind:"Cuid",message:X},(Y,Z,J,H)=>"if(!"+_(Y,iY)+".test("+Z+")){"+S(Y,X,H)+"}")}function GX(G,Q){let X=Q!==void 0?Q:"Invalid url";return g(G,m,{kind:"Url",message:X},(Y,Z,J,H)=>"try{new URL("+Z+")}catch(_){"+S(Y,X,H)+"}")}function QX(G,Q,X){let Y=X!==void 0?X:"Invalid";return g(G,m,{kind:{TAG:"Pattern",re:Q},message:Y},(Z,J,H,q)=>(Q.global?_(Z,Q)+".lastIndex=0;":"")+("if(!"+_(Z,Q)+".test("+J+")){"+S(Z,Y,q)+"}"))}function XX(G,Q){let X=Q!==void 0?Q:"Invalid datetime string! Expected UTC",Y={kind:"Datetime",message:X},Z=G[m];return LQ(uQ(G,m,Z!==void 0?Z.concat(Y):[Y]),(J)=>({p:(H)=>{if(!eY.test(H))J.fail(X,void 0);return new Date(H)},s:(H)=>H.toISOString()}))}function JY(G){let Q=(X)=>X.trim();return LQ(G,(X)=>({p:Q,s:Q}))}function HY(G){return zG([G,s,wQ])}function qY(G){return zG(G.map(NG))}function zY(G,Q,X){return LQ(G,(Y)=>({p:Q!==void 0?(Z)=>Q(Z,Y):void 0,s:X!==void 0?(Z)=>X(Z,Y):void 0}))}function UY(G,Q){return rG(G,(X)=>(Y)=>Q(Y,X))}function ZZ(G){return G}function KY(G,Q){return LQ(G,(X)=>({a:(Y)=>Q(Y,X).then(()=>Y),s:ZZ}))}function BY(G,Q){let X=zG([G,s]);if(Q===void 0)return X;let Y=qG(Q);if(typeof Y==="function")return vG(X,{TAG:"Callback",_0:Y});else return vG(X,{TAG:"Value",_0:Y})}function DY(G,Q){let X=zG([G,PQ]);if(Q===void 0)return X;let Y=qG(Q);if(typeof Y==="function")return vG(X,{TAG:"Callback",_0:Y});else return vG(X,{TAG:"Value",_0:Y})}function WY(G,Q){let X;if(G.type==="object"&&Q.type==="object"){let Y=G.additionalItems;if(typeof Y==="string"&&typeof Q.additionalItems==="string"&&!G.to&&!Q.to){let Z=Q.items,J=G.items,H={},q=[],U=[];for(let K=0,D=J.length;K<D;++K){let B=J[K];q.push(B.location),H[B.location]=B.schema}for(let K=0,D=Z.length;K<D;++K){let B=Z[K];if(!(B.location in H))q.push(B.location);H[B.location]=B.schema}for(let K=0,D=q.length;K<D;++K){let B=q[K];U.push({schema:H[B],location:B})}let z=new F("object");z.items=U,z.properties=H,z.additionalItems=Y,z.compiler=YQ,X=z}else X=void 0}else X=void 0;if(X!==void 0)return X;throw Error("[Sury] The merge supports only structured object schemas without transformations")}function wY(G){let Q=G.defaultAdditionalItems;f.a=Q!==void 0?Q:"strip";let X=f.n,Y=G.disableNanNumberValidation;if(f.n=Y!==void 0?Y:!1,X!==f.n)return yY(AG)}var $Q="m:JSONSchema";function CG(G,Q){let X={};switch(G.type){case"never":X.not={};break;case"unknown":break;case"string":let z=G.const;if(X.type="string",mY(G).forEach((T)=>{let k=T.kind;if(typeof k!=="object")switch(k){case"Email":X.format="email";return;case"Uuid":X.format="uuid";return;case"Cuid":return;case"Url":X.format="uri";return;case"Datetime":X.format="date-time";return}else switch(k.TAG){case"Min":X.minLength=k.length;return;case"Max":X.maxLength=k.length;return;case"Length":let A=k.length;X.minLength=A,X.maxLength=A;return;case"Pattern":X.pattern=String(k.re);return}}),z!==void 0)X.const=z;break;case"number":let{format:K,const:D}=G;if(K!==void 0)if(K==="int32")X.type="integer",GZ(G).forEach((T)=>{let k=T.kind;if(k.TAG==="Min")X.minimum=k.value;else X.maximum=k.value});else X.type="integer",X.maximum=65535,X.minimum=0;else X.type="number",QZ(G).forEach((T)=>{let k=T.kind;if(k.TAG==="Min")X.minimum=k.value;else X.maximum=k.value});if(D!==void 0)X.const=D;break;case"boolean":let B=G.const;if(X.type="boolean",B!==void 0)X.const=B;break;case"null":X.type="null";break;case"array":let W=G.additionalItems,w=0;if(W==="strip"||W==="strict")w=1;else X.items=CG(W,Q),X.type="array",cY(G).forEach((T)=>{let k=T.kind;switch(k.TAG){case"Min":X.minItems=k.length;return;case"Max":X.maxItems=k.length;return;case"Length":let A=k.length;X.maxItems=A,X.minItems=A;return}});if(w===1){let T=G.items.map((A)=>CG(A.schema,Q)),k=T.length;X.items=BX(T),X.type="array",X.minItems=k,X.maxItems=k}break;case"object":let L=G.additionalItems,R=0;if(L==="strip"||L==="strict")R=1;else X.type="object",X.additionalProperties=CG(L,Q);if(R===1){let T={},k=[];G.items.forEach((I)=>{let x=CG(I.schema,Q);if(!xY(I.schema))k.push(I.location);T[I.location]=x}),X.type="object",X.properties=T;let A;if(A=L==="strip"||L==="strict"?L==="strip":!0,X.additionalProperties=A,k.length!==0)X.required=k}break;case"union":let P=[],E=[];G.anyOf.forEach((T)=>{if(T.type==="undefined")return;if(E.push(CG(T,Q)),b in T){P.push(T.const);return}});let N=E.length,M=G.default;if(M!==void 0)X.default=qG(M);if(N===1)Object.assign(X,E[0]);else if(P.length===N)X.enum=P;else X.anyOf=E;break;case"ref":let C=G.$ref;if(C===pQ+LG);else X.$ref=C;break;default:throw Error("[Sury] Unexpected schema type")}let Y=G.description;if(Y!==void 0)X.description=Y;let Z=G.title;if(Z!==void 0)X.title=Z;let J=G.deprecated;if(J!==void 0)X.deprecated=J;let H=G.examples;if(H!==void 0)X.examples=H;let q=G.$defs;if(q!==void 0)Object.assign(Q,q);let U=G[$Q];if(U!==void 0)Object.assign(X,U);return X}function LY(G){PG(G,G,"",8);let Q={},X=CG(G,Q);delete Q.JSON;let Y=Object.keys(Q);if(Y.length)Y.forEach((Z)=>{Q[Z]=CG(Q[Z],0)}),X.$defs=Q;return X}function PY(G,Q){let X=G[$Q];return uQ(G,$Q,X!==void 0?Object.assign({},X,Q):Q)}var JZ=IG;function KX(G){let Q=G.minimum,X;if(Q!==void 0)X=xQ(yG,Q|0,void 0);else{let J=G.exclusiveMinimum;X=J!==void 0?xQ(yG,J+1|0,void 0):yG}let Y=G.maximum;if(Y!==void 0)return VQ(X,Y|0,void 0);let Z=G.exclusiveMinimum;if(Z!==void 0)return VQ(X,Z-1|0,void 0);else return X}function HZ(G){if(typeof G!=="object")return;else return G.default}function VG(G){let Q=(H)=>{if(typeof H!=="object")if(H===!1)return RQ;else return v;else return VG(H)},X=G.type,Y,Z=0,J=0;if(G.nullable)Y=XZ(VG(Object.assign({},G,{nullable:!1})));else if(X!==void 0){let H=qG(X);if(H==="object"){let q=G.properties;if(q!==void 0){let U=ZQ((K)=>{let D={};return Object.keys(q).forEach((B)=>{let W=q[B],w=Q(W),L=G.required,R,P=0;if(L!==void 0&&L.includes(B))R=w;else P=1;if(P===1){let E=HZ(W);if(E!==void 0){let N=UX(w);R=vG(N,{TAG:"Value",_0:E})}else R=UX(w)}D[B]=K.f(B,R)}),D});Y=G.additionalProperties===!1?QQ(U):U}else{let U=G.additionalProperties;Y=U!==void 0?typeof U!=="object"?U===!1?QQ(ZQ((z)=>{})):XQ(v):XQ(VG(U)):NG()}}else if(H==="array"){let q=G.items,U;if(q!==void 0){let B=IY.classify(qG(q));if(B.TAG==="Single")U=cG(Q(B._0));else{let W=B._0;U=iQ((w)=>W.map((L,R)=>w.item(R,Q(L))))}}else U=cG(v);let z=G.minItems,K=z!==void 0?GY(U,z,void 0):U,D=G.maxItems;Y=D!==void 0?QY(K,D,void 0):K}else J=2}else J=2;if(J===2){let{enum:H,allOf:q,anyOf:U}=G;if(U!==void 0){let z=U.length;Y=z!==1?z!==0?zG(U.map(Q)):v:Q(U[0])}else if(q!==void 0){let z=q.length;Y=z!==1?z!==0?rG(v,(K)=>(D)=>{q.forEach((B)=>{try{return wG(D,Q(B))}catch(W){return K.fail("Should pass for all schemas of the allOf property.",void 0)}})}):v:Q(q[0])}else{let z=G.oneOf;if(z!==void 0){let K=z.length;Y=K!==1?K!==0?rG(v,(D)=>(B)=>{let W={contents:!1};if(z.forEach((w)=>{let L;try{wG(B,Q(w)),L=!0}catch(R){L=!1}if(L){if(W.contents)D.fail("Should pass single schema according to the oneOf property.",void 0);W.contents=!0;return}}),!W.contents)return D.fail("Should pass at least one schema according to the oneOf property.",void 0)}):v:Q(z[0])}else{let K=G.not;if(K!==void 0)Y=rG(v,(D)=>(B)=>{let W;try{wG(B,Q(K)),W=!0}catch(w){W=!1}if(W)return D.fail("Should NOT be valid against schema in the not property.",void 0)});else if(H!==void 0){let D=H.length;Y=D!==1?D!==0?zG(H.map(JZ)):v:IG(H[0])}else{let D=G.const;if(D!==void 0)Y=IG(D);else if(X!==void 0){let B=qG(X),W=0,w=0;if(Array.isArray(B))Y=zG(B.map((L)=>VG(Object.assign({},G,{type:BX(L)}))));else if(B==="string"){let L=G.pattern,R=L!==void 0?QX(c,new RegExp(L),void 0):c,P=G.minLength,E=P!==void 0?XY(R,P,void 0):R,N=G.maxLength,M=N!==void 0?YY(E,N,void 0):E;switch(G.format){case"date-time":Y=XX(M,void 0);break;case"email":Y=tQ(M,void 0);break;case"uri":Y=GX(M,void 0);break;case"uuid":Y=eQ(M,void 0);break;default:Y=M}}else if(B==="integer"||G.format==="int64"&&B==="number")Y=KX(G);else w=4;if(w===4)if(G.multipleOf!==1||B!=="number")W=3;else Y=KX(G);if(W===3)if(B==="number"){let L=G.minimum,R;if(L!==void 0)R=yQ(AG,L,void 0);else{let E=G.exclusiveMinimum;R=E!==void 0?yQ(AG,E+1,void 0):AG}let P=G.maximum;if(P!==void 0)Y=SQ(R,P,void 0);else{let E=G.exclusiveMinimum;Y=E!==void 0?SQ(R,E-1,void 0):R}}else if(B==="boolean")Y=KQ;else if(B==="null")Y=aQ(null);else Z=1}else Z=1}}}}if(Z===1){let H=G.if;if(H!==void 0){let q=G.then;if(q!==void 0){let U=G.else;if(U!==void 0){let z=Q(H),K=Q(q),D=Q(U);Y=rG(v,(B)=>(W)=>{let w;try{wG(W,z),w=!0}catch(L){w=!1}if(w)return wG(W,K);else return wG(W,D)})}else Y=v}else Y=v}else Y=v}if(G.description===void 0&&G.deprecated===void 0&&G.examples===void 0&&G.title===void 0)return Y;return cQ(Y,{title:G.title,description:G.description,deprecated:G.deprecated,examples:G.examples})}function RY(G,Q,X){switch(G.type){case"string":return XY(G,Q,X);case"number":if(G.format!==void 0)return xQ(G,Q,X);else return yQ(G,Q,X);case"array":return GY(G,Q,X);default:let Y="S.min is not supported for "+j(G)+" schema. Coerce the schema to string, number or array using S.to first.";throw Error("[Sury] "+Y)}}function EY(G,Q,X){switch(G.type){case"string":return YY(G,Q,X);case"number":if(G.format!==void 0)return VQ(G,Q,X);else return SQ(G,Q,X);case"array":return QY(G,Q,X);default:let Y="S.max is not supported for "+j(G)+" schema. Coerce the schema to string, number or array using S.to first.";throw Error("[Sury] "+Y)}}function NY(G,Q,X){switch(G.type){case"string":let Y=X!==void 0?X:"String must be exactly "+Q+" characters long";return g(G,m,{kind:{TAG:"Length",length:Q},message:Y},(H,q,U,z)=>"if("+q+".length!=="+_(H,Q)+"){"+S(H,Y,z)+"}");case"array":let Z=X!==void 0?X:"Array must be exactly "+Q+" items long";return g(G,NQ,{kind:{TAG:"Length",length:Q},message:Z},(H,q,U,z)=>"if("+q+".length!=="+_(H,Q)+"){"+S(H,Z,z)+"}");default:let J="S.length is not supported for "+j(G)+" schema. Coerce the schema to string or array using S.to first.";throw Error("[Sury] "+J)}}var TY=cG,kY=XQ;var MY=WQ;var UZ=NX.value,KZ=c,BZ=KQ,DZ=yG,WZ=AG,wZ=EX,LZ=RX,PZ=v,RZ=RQ,EZ=ZG,NZ=ZG,TZ=BY,kZ=DY,MZ=HY,CZ=TY,AZ=cX,FZ=tX,_Z=kY,IZ=GG,vZ=hX,OZ=qY,jZ=ZQ,xZ=aQ,VZ=yX,yZ=SX,SZ=XG,$Z=vX,gZ=OX,fZ=jX,bZ=xX,dZ=lQ,lZ=VX,uZ=WQ,pZ=MY,rZ=_X,hZ=IX,oZ=wG,cZ=$X,sZ=WY,nZ=QQ,mZ=uX,iZ=dX,aZ=lX,tZ=oX,eZ=LY,G0=VG,Q0=PY,X0=aX,Y0=iQ,Z0=KY,J0=UY,H0=zY,q0=cQ,z0=j,U0=gX,K0=FX,B0=eX,D0=RY,W0=EY,w0=NY,L0=tQ,P0=eQ,R0=ZY,E0=GX,N0=QX,T0=XX,k0=JY,M0=pX,C0=rX,A0=wY,F0=sX;export{s as void,P0 as uuid,E0 as url,FZ as unnest,EZ as unknown,OZ as union,Y0 as tuple,k0 as trim,H0 as transform,eZ as toJSONSchema,z0 as toExpression,tZ as to,LZ as symbol,iZ as strip,KZ as string,nZ as strict,X0 as shape,xZ as schema,yZ as safeAsync,VZ as safe,lZ as reverseConvertToJsonStringOrThrow,dZ as reverseConvertToJsonOrThrow,bZ as reverseConvertOrThrow,SZ as reverse,J0 as refine,cZ as recursive,_Z as record,B0 as port,N0 as pattern,uZ as parseOrThrow,rZ as parseJsonStringOrThrow,pZ as parseJsonOrThrow,hZ as parseAsyncOrThrow,TZ as optional,jZ as object,WZ as number,MZ as nullish,kZ as nullable,U0 as noValidation,RZ as never,D0 as min,q0 as meta,sZ as merge,W0 as max,w0 as length,vZ as jsonStringWithSpace,IZ as jsonString,PZ as json,DZ as int32,AZ as instance,A0 as global,G0 as fromJSONSchema,Q0 as extendJSONSchema,C0 as enableJsonString,M0 as enableJson,L0 as email,aZ as deepStrip,mZ as deepStrict,T0 as datetime,R0 as cuid,fZ as convertToJsonStringOrThrow,gZ as convertToJsonOrThrow,$Z as convertOrThrow,K0 as compile,F0 as brand,BZ as boolean,wZ as bigint,Z0 as asyncParserRefine,oZ as assertOrThrow,CZ as array,NZ as any,UZ as Error};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$t as
|
|
2
|
+
import{$t as H,bu as z,cu as D,du as F,eu as G,fu as V,gu as c}from"./chunk-s7sksztt.js";import{pP as N}from"./chunk-naq602da.js";var $={free:{providerID:"qlex",modelID:"free"},default:{providerID:"qlex",modelID:"default"},fast:{providerID:"qlex",modelID:"fast"},economical:{providerID:"qlex",modelID:"economical"},power:{providerID:"qlex",modelID:"power"}},q={free:"Free (no cost)",default:"Default",fast:"Fast",economical:"Economy",power:"Power"};var C={};N(C,{tiers:()=>P,streamUrl:()=>B,streamBaseUrl:()=>Q,sanitizeUpstreamError:()=>u,qlexProviderMeta:()=>h,omniqueryBaseUrl:()=>X,evaluatePermission:()=>Y,copy:()=>O,bashPrefixWith:()=>m,AGENT_PROMPT_NAMES:()=>S});function P(){return Object.entries($).map(([x,K])=>({id:x,label:q[x]??x,providerID:K.providerID,modelID:K.modelID}))}function Y(x,K,...j){return j.flat().findLast((Z)=>H(x,Z.permission)&&H(K,Z.pattern))??{action:"ask",permission:x,pattern:"*"}}function m(x,K){for(let j=K.length;j>0;j--){let W=K.slice(0,j).join(" "),J=x[W];if(J!==void 0)return K.slice(0,J)}if(K.length===0)return[];return K.slice(0,1)}function B(){return z}function Q(){return D}function X(){return F}function h(){return G}function u(x){return V(x)}function O(){return c}var S=["generate","explore","dream","distill","summary","compaction","title"];export{$ as Gs,C as Hs};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{mP as LC}from"./chunk-fa03gsff.js";var OC=LC((QC,A)=>{var P,h,j,I,b,y,g,k,f,m,u,x,l,D,z,_,d,c,E,v,n,p,i,s,a,o,t,r,w,e,CC,HC;(function(X){var R=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(G){X(q(R,q(G)))});else if(typeof A==="object"&&typeof QC==="object")X(q(R,q(QC)));else X(q(R));function q(G,S){if(G!==R)if(typeof Object.create==="function")Object.defineProperty(G,"__esModule",{value:!0});else G.__esModule=!0;return function(C,H){return G[C]=S?S(C,H):H}}})(function(X){var R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,H){C.__proto__=H}||function(C,H){for(var L in H)if(Object.prototype.hasOwnProperty.call(H,L))C[L]=H[L]};P=function(C,H){if(typeof H!=="function"&&H!==null)throw TypeError("Class extends value "+String(H)+" is not a constructor or null");R(C,H);function L(){this.constructor=C}C.prototype=H===null?Object.create(H):(L.prototype=H.prototype,new L)},h=Object.assign||function(C){for(var H,L=1,O=arguments.length;L<O;L++){H=arguments[L];for(var Q in H)if(Object.prototype.hasOwnProperty.call(H,Q))C[Q]=H[Q]}return C},j=function(C,H){var L={};for(var O in C)if(Object.prototype.hasOwnProperty.call(C,O)&&H.indexOf(O)<0)L[O]=C[O];if(C!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var Q=0,O=Object.getOwnPropertySymbols(C);Q<O.length;Q++)if(H.indexOf(O[Q])<0&&Object.prototype.propertyIsEnumerable.call(C,O[Q]))L[O[Q]]=C[O[Q]]}return L},I=function(C,H,L,O){var Q=arguments.length,T=Q<3?H:O===null?O=Object.getOwnPropertyDescriptor(H,L):O,U;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")T=Reflect.decorate(C,H,L,O);else for(var Y=C.length-1;Y>=0;Y--)if(U=C[Y])T=(Q<3?U(T):Q>3?U(H,L,T):U(H,L))||T;return Q>3&&T&&Object.defineProperty(H,L,T),T},b=function(C,H){return function(L,O){H(L,O,C)}},y=function(C,H,L,O,Q,T){function U(K){if(K!==void 0&&typeof K!=="function")throw TypeError("Function expected");return K}var Y=O.kind,J=Y==="getter"?"get":Y==="setter"?"set":"value",W=!H&&C?O.static?C:C.prototype:null,$=H||(W?Object.getOwnPropertyDescriptor(W,O.name):{}),M,F=!1;for(var Z=L.length-1;Z>=0;Z--){var N={};for(var B in O)N[B]=B==="access"?{}:O[B];for(var B in O.access)N.access[B]=O.access[B];N.addInitializer=function(K){if(F)throw TypeError("Cannot add initializers after decoration has completed");T.push(U(K||null))};var V=(0,L[Z])(Y==="accessor"?{get:$.get,set:$.set}:$[J],N);if(Y==="accessor"){if(V===void 0)continue;if(V===null||typeof V!=="object")throw TypeError("Object expected");if(M=U(V.get))$.get=M;if(M=U(V.set))$.set=M;if(M=U(V.init))Q.unshift(M)}else if(M=U(V))if(Y==="field")Q.unshift(M);else $[J]=M}if(W)Object.defineProperty(W,O.name,$);F=!0},g=function(C,H,L){var O=arguments.length>2;for(var Q=0;Q<H.length;Q++)L=O?H[Q].call(C,L):H[Q].call(C);return O?L:void 0},k=function(C){return typeof C==="symbol"?C:"".concat(C)},f=function(C,H,L){if(typeof H==="symbol")H=H.description?"[".concat(H.description,"]"):"";return Object.defineProperty(C,"name",{configurable:!0,value:L?"".concat(L," ",H):H})},m=function(C,H){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(C,H)},u=function(C,H,L,O){function Q(T){return T instanceof L?T:new L(function(U){U(T)})}return new(L||(L=Promise))(function(T,U){function Y($){try{W(O.next($))}catch(M){U(M)}}function J($){try{W(O.throw($))}catch(M){U(M)}}function W($){$.done?T($.value):Q($.value).then(Y,J)}W((O=O.apply(C,H||[])).next())})},x=function(C,H){var L={label:0,sent:function(){if(T[0]&1)throw T[1];return T[1]},trys:[],ops:[]},O,Q,T,U=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return U.next=Y(0),U.throw=Y(1),U.return=Y(2),typeof Symbol==="function"&&(U[Symbol.iterator]=function(){return this}),U;function Y(W){return function($){return J([W,$])}}function J(W){if(O)throw TypeError("Generator is already executing.");while(U&&(U=0,W[0]&&(L=0)),L)try{if(O=1,Q&&(T=W[0]&2?Q.return:W[0]?Q.throw||((T=Q.return)&&T.call(Q),0):Q.next)&&!(T=T.call(Q,W[1])).done)return T;if(Q=0,T)W=[W[0]&2,T.value];switch(W[0]){case 0:case 1:T=W;break;case 4:return L.label++,{value:W[1],done:!1};case 5:L.label++,Q=W[1],W=[0];continue;case 7:W=L.ops.pop(),L.trys.pop();continue;default:if((T=L.trys,!(T=T.length>0&&T[T.length-1]))&&(W[0]===6||W[0]===2)){L=0;continue}if(W[0]===3&&(!T||W[1]>T[0]&&W[1]<T[3])){L.label=W[1];break}if(W[0]===6&&L.label<T[1]){L.label=T[1],T=W;break}if(T&&L.label<T[2]){L.label=T[2],L.ops.push(W);break}if(T[2])L.ops.pop();L.trys.pop();continue}W=H.call(C,L)}catch($){W=[6,$],Q=0}finally{O=T=0}if(W[0]&5)throw W[1];return{value:W[0]?W[1]:void 0,done:!0}}},l=function(C,H){for(var L in C)if(L!=="default"&&!Object.prototype.hasOwnProperty.call(H,L))w(H,C,L)},w=Object.create?function(C,H,L,O){if(O===void 0)O=L;var Q=Object.getOwnPropertyDescriptor(H,L);if(!Q||("get"in Q?!H.__esModule:Q.writable||Q.configurable))Q={enumerable:!0,get:function(){return H[L]}};Object.defineProperty(C,O,Q)}:function(C,H,L,O){if(O===void 0)O=L;C[O]=H[L]},D=function(C){var H=typeof Symbol==="function"&&Symbol.iterator,L=H&&C[H],O=0;if(L)return L.call(C);if(C&&typeof C.length==="number")return{next:function(){if(C&&O>=C.length)C=void 0;return{value:C&&C[O++],done:!C}}};throw TypeError(H?"Object is not iterable.":"Symbol.iterator is not defined.")},z=function(C,H){var L=typeof Symbol==="function"&&C[Symbol.iterator];if(!L)return C;var O=L.call(C),Q,T=[],U;try{while((H===void 0||H-- >0)&&!(Q=O.next()).done)T.push(Q.value)}catch(Y){U={error:Y}}finally{try{if(Q&&!Q.done&&(L=O.return))L.call(O)}finally{if(U)throw U.error}}return T},_=function(){for(var C=[],H=0;H<arguments.length;H++)C=C.concat(z(arguments[H]));return C},d=function(){for(var C=0,H=0,L=arguments.length;H<L;H++)C+=arguments[H].length;for(var O=Array(C),Q=0,H=0;H<L;H++)for(var T=arguments[H],U=0,Y=T.length;U<Y;U++,Q++)O[Q]=T[U];return O},c=function(C,H,L){if(L||arguments.length===2){for(var O=0,Q=H.length,T;O<Q;O++)if(T||!(O in H)){if(!T)T=Array.prototype.slice.call(H,0,O);T[O]=H[O]}}return C.concat(T||Array.prototype.slice.call(H))},E=function(C){return this instanceof E?(this.v=C,this):new E(C)},v=function(C,H,L){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var O=L.apply(C,H||[]),Q,T=[];return Q=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),Y("next"),Y("throw"),Y("return",U),Q[Symbol.asyncIterator]=function(){return this},Q;function U(Z){return function(N){return Promise.resolve(N).then(Z,M)}}function Y(Z,N){if(O[Z]){if(Q[Z]=function(B){return new Promise(function(V,K){T.push([Z,B,V,K])>1||J(Z,B)})},N)Q[Z]=N(Q[Z])}}function J(Z,N){try{W(O[Z](N))}catch(B){F(T[0][3],B)}}function W(Z){Z.value instanceof E?Promise.resolve(Z.value.v).then($,M):F(T[0][2],Z)}function $(Z){J("next",Z)}function M(Z){J("throw",Z)}function F(Z,N){if(Z(N),T.shift(),T.length)J(T[0][0],T[0][1])}},n=function(C){var H,L;return H={},O("next"),O("throw",function(Q){throw Q}),O("return"),H[Symbol.iterator]=function(){return this},H;function O(Q,T){H[Q]=C[Q]?function(U){return(L=!L)?{value:E(C[Q](U)),done:!1}:T?T(U):U}:T}},p=function(C){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var H=C[Symbol.asyncIterator],L;return H?H.call(C):(C=typeof D==="function"?D(C):C[Symbol.iterator](),L={},O("next"),O("throw"),O("return"),L[Symbol.asyncIterator]=function(){return this},L);function O(T){L[T]=C[T]&&function(U){return new Promise(function(Y,J){U=C[T](U),Q(Y,J,U.done,U.value)})}}function Q(T,U,Y,J){Promise.resolve(J).then(function(W){T({value:W,done:Y})},U)}},i=function(C,H){if(Object.defineProperty)Object.defineProperty(C,"raw",{value:H});else C.raw=H;return C};var q=Object.create?function(C,H){Object.defineProperty(C,"default",{enumerable:!0,value:H})}:function(C,H){C.default=H},G=function(C){return G=Object.getOwnPropertyNames||function(H){var L=[];for(var O in H)if(Object.prototype.hasOwnProperty.call(H,O))L[L.length]=O;return L},G(C)};s=function(C){if(C&&C.__esModule)return C;var H={};if(C!=null){for(var L=G(C),O=0;O<L.length;O++)if(L[O]!=="default")w(H,C,L[O])}return q(H,C),H},a=function(C){return C&&C.__esModule?C:{default:C}},o=function(C,H,L,O){if(L==="a"&&!O)throw TypeError("Private accessor was defined without a getter");if(typeof H==="function"?C!==H||!O:!H.has(C))throw TypeError("Cannot read private member from an object whose class did not declare it");return L==="m"?O:L==="a"?O.call(C):O?O.value:H.get(C)},t=function(C,H,L,O,Q){if(O==="m")throw TypeError("Private method is not writable");if(O==="a"&&!Q)throw TypeError("Private accessor was defined without a setter");if(typeof H==="function"?C!==H||!Q:!H.has(C))throw TypeError("Cannot write private member to an object whose class did not declare it");return O==="a"?Q.call(C,L):Q?Q.value=L:H.set(C,L),L},r=function(C,H){if(H===null||typeof H!=="object"&&typeof H!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof C==="function"?H===C:C.has(H)},e=function(C,H,L){if(H!==null&&H!==void 0){if(typeof H!=="object"&&typeof H!=="function")throw TypeError("Object expected.");var O,Q;if(L){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");O=H[Symbol.asyncDispose]}if(O===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(O=H[Symbol.dispose],L)Q=O}if(typeof O!=="function")throw TypeError("Object not disposable.");if(Q)O=function(){try{Q.call(this)}catch(T){return Promise.reject(T)}};C.stack.push({value:H,dispose:O,async:L})}else if(L)C.stack.push({async:!0});return H};var S=typeof SuppressedError==="function"?SuppressedError:function(C,H,L){var O=Error(L);return O.name="SuppressedError",O.error=C,O.suppressed=H,O};CC=function(C){function H(T){C.error=C.hasError?new S(T,C.error,"An error was suppressed during disposal."):T,C.hasError=!0}var L,O=0;function Q(){while(L=C.stack.pop())try{if(!L.async&&O===1)return O=0,C.stack.push(L),Promise.resolve().then(Q);if(L.dispose){var T=L.dispose.call(L.value);if(L.async)return O|=2,Promise.resolve(T).then(Q,function(U){return H(U),Q()})}else O|=1}catch(U){H(U)}if(O===1)return C.hasError?Promise.reject(C.error):Promise.resolve();if(C.hasError)throw C.error}return Q()},HC=function(C,H){if(typeof C==="string"&&/^\.\.?\//.test(C))return C.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(L,O,Q,T,U){return O?H?".jsx":".js":Q&&(!T||!U)?L:Q+T+"."+U.toLowerCase()+"js"});return C},X("__extends",P),X("__assign",h),X("__rest",j),X("__decorate",I),X("__param",b),X("__esDecorate",y),X("__runInitializers",g),X("__propKey",k),X("__setFunctionName",f),X("__metadata",m),X("__awaiter",u),X("__generator",x),X("__exportStar",l),X("__createBinding",w),X("__values",D),X("__read",z),X("__spread",_),X("__spreadArrays",d),X("__spreadArray",c),X("__await",E),X("__asyncGenerator",v),X("__asyncDelegator",n),X("__asyncValues",p),X("__makeTemplateObject",i),X("__importStar",s),X("__importDefault",a),X("__classPrivateFieldGet",o),X("__classPrivateFieldSet",t),X("__classPrivateFieldIn",r),X("__addDisposableResource",e),X("__disposeResources",CC),X("__rewriteRelativeImportExtension",HC)})});
|
|
2
|
+
import{oP as LC}from"./chunk-naq602da.js";var OC=LC((QC,A)=>{var P,h,j,I,b,y,g,k,f,m,u,x,l,D,z,_,d,c,E,v,n,p,i,s,a,o,t,r,w,e,CC,HC;(function(X){var R=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(G){X(q(R,q(G)))});else if(typeof A==="object"&&typeof QC==="object")X(q(R,q(QC)));else X(q(R));function q(G,S){if(G!==R)if(typeof Object.create==="function")Object.defineProperty(G,"__esModule",{value:!0});else G.__esModule=!0;return function(C,H){return G[C]=S?S(C,H):H}}})(function(X){var R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,H){C.__proto__=H}||function(C,H){for(var L in H)if(Object.prototype.hasOwnProperty.call(H,L))C[L]=H[L]};P=function(C,H){if(typeof H!=="function"&&H!==null)throw TypeError("Class extends value "+String(H)+" is not a constructor or null");R(C,H);function L(){this.constructor=C}C.prototype=H===null?Object.create(H):(L.prototype=H.prototype,new L)},h=Object.assign||function(C){for(var H,L=1,O=arguments.length;L<O;L++){H=arguments[L];for(var Q in H)if(Object.prototype.hasOwnProperty.call(H,Q))C[Q]=H[Q]}return C},j=function(C,H){var L={};for(var O in C)if(Object.prototype.hasOwnProperty.call(C,O)&&H.indexOf(O)<0)L[O]=C[O];if(C!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var Q=0,O=Object.getOwnPropertySymbols(C);Q<O.length;Q++)if(H.indexOf(O[Q])<0&&Object.prototype.propertyIsEnumerable.call(C,O[Q]))L[O[Q]]=C[O[Q]]}return L},I=function(C,H,L,O){var Q=arguments.length,T=Q<3?H:O===null?O=Object.getOwnPropertyDescriptor(H,L):O,U;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")T=Reflect.decorate(C,H,L,O);else for(var Y=C.length-1;Y>=0;Y--)if(U=C[Y])T=(Q<3?U(T):Q>3?U(H,L,T):U(H,L))||T;return Q>3&&T&&Object.defineProperty(H,L,T),T},b=function(C,H){return function(L,O){H(L,O,C)}},y=function(C,H,L,O,Q,T){function U(K){if(K!==void 0&&typeof K!=="function")throw TypeError("Function expected");return K}var Y=O.kind,J=Y==="getter"?"get":Y==="setter"?"set":"value",W=!H&&C?O.static?C:C.prototype:null,$=H||(W?Object.getOwnPropertyDescriptor(W,O.name):{}),M,F=!1;for(var Z=L.length-1;Z>=0;Z--){var N={};for(var B in O)N[B]=B==="access"?{}:O[B];for(var B in O.access)N.access[B]=O.access[B];N.addInitializer=function(K){if(F)throw TypeError("Cannot add initializers after decoration has completed");T.push(U(K||null))};var V=(0,L[Z])(Y==="accessor"?{get:$.get,set:$.set}:$[J],N);if(Y==="accessor"){if(V===void 0)continue;if(V===null||typeof V!=="object")throw TypeError("Object expected");if(M=U(V.get))$.get=M;if(M=U(V.set))$.set=M;if(M=U(V.init))Q.unshift(M)}else if(M=U(V))if(Y==="field")Q.unshift(M);else $[J]=M}if(W)Object.defineProperty(W,O.name,$);F=!0},g=function(C,H,L){var O=arguments.length>2;for(var Q=0;Q<H.length;Q++)L=O?H[Q].call(C,L):H[Q].call(C);return O?L:void 0},k=function(C){return typeof C==="symbol"?C:"".concat(C)},f=function(C,H,L){if(typeof H==="symbol")H=H.description?"[".concat(H.description,"]"):"";return Object.defineProperty(C,"name",{configurable:!0,value:L?"".concat(L," ",H):H})},m=function(C,H){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(C,H)},u=function(C,H,L,O){function Q(T){return T instanceof L?T:new L(function(U){U(T)})}return new(L||(L=Promise))(function(T,U){function Y($){try{W(O.next($))}catch(M){U(M)}}function J($){try{W(O.throw($))}catch(M){U(M)}}function W($){$.done?T($.value):Q($.value).then(Y,J)}W((O=O.apply(C,H||[])).next())})},x=function(C,H){var L={label:0,sent:function(){if(T[0]&1)throw T[1];return T[1]},trys:[],ops:[]},O,Q,T,U=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return U.next=Y(0),U.throw=Y(1),U.return=Y(2),typeof Symbol==="function"&&(U[Symbol.iterator]=function(){return this}),U;function Y(W){return function($){return J([W,$])}}function J(W){if(O)throw TypeError("Generator is already executing.");while(U&&(U=0,W[0]&&(L=0)),L)try{if(O=1,Q&&(T=W[0]&2?Q.return:W[0]?Q.throw||((T=Q.return)&&T.call(Q),0):Q.next)&&!(T=T.call(Q,W[1])).done)return T;if(Q=0,T)W=[W[0]&2,T.value];switch(W[0]){case 0:case 1:T=W;break;case 4:return L.label++,{value:W[1],done:!1};case 5:L.label++,Q=W[1],W=[0];continue;case 7:W=L.ops.pop(),L.trys.pop();continue;default:if((T=L.trys,!(T=T.length>0&&T[T.length-1]))&&(W[0]===6||W[0]===2)){L=0;continue}if(W[0]===3&&(!T||W[1]>T[0]&&W[1]<T[3])){L.label=W[1];break}if(W[0]===6&&L.label<T[1]){L.label=T[1],T=W;break}if(T&&L.label<T[2]){L.label=T[2],L.ops.push(W);break}if(T[2])L.ops.pop();L.trys.pop();continue}W=H.call(C,L)}catch($){W=[6,$],Q=0}finally{O=T=0}if(W[0]&5)throw W[1];return{value:W[0]?W[1]:void 0,done:!0}}},l=function(C,H){for(var L in C)if(L!=="default"&&!Object.prototype.hasOwnProperty.call(H,L))w(H,C,L)},w=Object.create?function(C,H,L,O){if(O===void 0)O=L;var Q=Object.getOwnPropertyDescriptor(H,L);if(!Q||("get"in Q?!H.__esModule:Q.writable||Q.configurable))Q={enumerable:!0,get:function(){return H[L]}};Object.defineProperty(C,O,Q)}:function(C,H,L,O){if(O===void 0)O=L;C[O]=H[L]},D=function(C){var H=typeof Symbol==="function"&&Symbol.iterator,L=H&&C[H],O=0;if(L)return L.call(C);if(C&&typeof C.length==="number")return{next:function(){if(C&&O>=C.length)C=void 0;return{value:C&&C[O++],done:!C}}};throw TypeError(H?"Object is not iterable.":"Symbol.iterator is not defined.")},z=function(C,H){var L=typeof Symbol==="function"&&C[Symbol.iterator];if(!L)return C;var O=L.call(C),Q,T=[],U;try{while((H===void 0||H-- >0)&&!(Q=O.next()).done)T.push(Q.value)}catch(Y){U={error:Y}}finally{try{if(Q&&!Q.done&&(L=O.return))L.call(O)}finally{if(U)throw U.error}}return T},_=function(){for(var C=[],H=0;H<arguments.length;H++)C=C.concat(z(arguments[H]));return C},d=function(){for(var C=0,H=0,L=arguments.length;H<L;H++)C+=arguments[H].length;for(var O=Array(C),Q=0,H=0;H<L;H++)for(var T=arguments[H],U=0,Y=T.length;U<Y;U++,Q++)O[Q]=T[U];return O},c=function(C,H,L){if(L||arguments.length===2){for(var O=0,Q=H.length,T;O<Q;O++)if(T||!(O in H)){if(!T)T=Array.prototype.slice.call(H,0,O);T[O]=H[O]}}return C.concat(T||Array.prototype.slice.call(H))},E=function(C){return this instanceof E?(this.v=C,this):new E(C)},v=function(C,H,L){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var O=L.apply(C,H||[]),Q,T=[];return Q=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),Y("next"),Y("throw"),Y("return",U),Q[Symbol.asyncIterator]=function(){return this},Q;function U(Z){return function(N){return Promise.resolve(N).then(Z,M)}}function Y(Z,N){if(O[Z]){if(Q[Z]=function(B){return new Promise(function(V,K){T.push([Z,B,V,K])>1||J(Z,B)})},N)Q[Z]=N(Q[Z])}}function J(Z,N){try{W(O[Z](N))}catch(B){F(T[0][3],B)}}function W(Z){Z.value instanceof E?Promise.resolve(Z.value.v).then($,M):F(T[0][2],Z)}function $(Z){J("next",Z)}function M(Z){J("throw",Z)}function F(Z,N){if(Z(N),T.shift(),T.length)J(T[0][0],T[0][1])}},n=function(C){var H,L;return H={},O("next"),O("throw",function(Q){throw Q}),O("return"),H[Symbol.iterator]=function(){return this},H;function O(Q,T){H[Q]=C[Q]?function(U){return(L=!L)?{value:E(C[Q](U)),done:!1}:T?T(U):U}:T}},p=function(C){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var H=C[Symbol.asyncIterator],L;return H?H.call(C):(C=typeof D==="function"?D(C):C[Symbol.iterator](),L={},O("next"),O("throw"),O("return"),L[Symbol.asyncIterator]=function(){return this},L);function O(T){L[T]=C[T]&&function(U){return new Promise(function(Y,J){U=C[T](U),Q(Y,J,U.done,U.value)})}}function Q(T,U,Y,J){Promise.resolve(J).then(function(W){T({value:W,done:Y})},U)}},i=function(C,H){if(Object.defineProperty)Object.defineProperty(C,"raw",{value:H});else C.raw=H;return C};var q=Object.create?function(C,H){Object.defineProperty(C,"default",{enumerable:!0,value:H})}:function(C,H){C.default=H},G=function(C){return G=Object.getOwnPropertyNames||function(H){var L=[];for(var O in H)if(Object.prototype.hasOwnProperty.call(H,O))L[L.length]=O;return L},G(C)};s=function(C){if(C&&C.__esModule)return C;var H={};if(C!=null){for(var L=G(C),O=0;O<L.length;O++)if(L[O]!=="default")w(H,C,L[O])}return q(H,C),H},a=function(C){return C&&C.__esModule?C:{default:C}},o=function(C,H,L,O){if(L==="a"&&!O)throw TypeError("Private accessor was defined without a getter");if(typeof H==="function"?C!==H||!O:!H.has(C))throw TypeError("Cannot read private member from an object whose class did not declare it");return L==="m"?O:L==="a"?O.call(C):O?O.value:H.get(C)},t=function(C,H,L,O,Q){if(O==="m")throw TypeError("Private method is not writable");if(O==="a"&&!Q)throw TypeError("Private accessor was defined without a setter");if(typeof H==="function"?C!==H||!Q:!H.has(C))throw TypeError("Cannot write private member to an object whose class did not declare it");return O==="a"?Q.call(C,L):Q?Q.value=L:H.set(C,L),L},r=function(C,H){if(H===null||typeof H!=="object"&&typeof H!=="function")throw TypeError("Cannot use 'in' operator on non-object");return typeof C==="function"?H===C:C.has(H)},e=function(C,H,L){if(H!==null&&H!==void 0){if(typeof H!=="object"&&typeof H!=="function")throw TypeError("Object expected.");var O,Q;if(L){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");O=H[Symbol.asyncDispose]}if(O===void 0){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");if(O=H[Symbol.dispose],L)Q=O}if(typeof O!=="function")throw TypeError("Object not disposable.");if(Q)O=function(){try{Q.call(this)}catch(T){return Promise.reject(T)}};C.stack.push({value:H,dispose:O,async:L})}else if(L)C.stack.push({async:!0});return H};var S=typeof SuppressedError==="function"?SuppressedError:function(C,H,L){var O=Error(L);return O.name="SuppressedError",O.error=C,O.suppressed=H,O};CC=function(C){function H(T){C.error=C.hasError?new S(T,C.error,"An error was suppressed during disposal."):T,C.hasError=!0}var L,O=0;function Q(){while(L=C.stack.pop())try{if(!L.async&&O===1)return O=0,C.stack.push(L),Promise.resolve().then(Q);if(L.dispose){var T=L.dispose.call(L.value);if(L.async)return O|=2,Promise.resolve(T).then(Q,function(U){return H(U),Q()})}else O|=1}catch(U){H(U)}if(O===1)return C.hasError?Promise.reject(C.error):Promise.resolve();if(C.hasError)throw C.error}return Q()},HC=function(C,H){if(typeof C==="string"&&/^\.\.?\//.test(C))return C.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(L,O,Q,T,U){return O?H?".jsx":".js":Q&&(!T||!U)?L:Q+T+"."+U.toLowerCase()+"js"});return C},X("__extends",P),X("__assign",h),X("__rest",j),X("__decorate",I),X("__param",b),X("__esDecorate",y),X("__runInitializers",g),X("__propKey",k),X("__setFunctionName",f),X("__metadata",m),X("__awaiter",u),X("__generator",x),X("__exportStar",l),X("__createBinding",w),X("__values",D),X("__read",z),X("__spread",_),X("__spreadArrays",d),X("__spreadArray",c),X("__await",E),X("__asyncGenerator",v),X("__asyncDelegator",n),X("__asyncValues",p),X("__makeTemplateObject",i),X("__importStar",s),X("__importDefault",a),X("__classPrivateFieldGet",o),X("__classPrivateFieldSet",t),X("__classPrivateFieldIn",r),X("__addDisposableResource",e),X("__disposeResources",CC),X("__rewriteRelativeImportExtension",HC)})});
|
|
3
3
|
export{OC as of};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{ye as oe}from"./chunk-
|
|
2
|
+
import{ye as oe}from"./chunk-yccm7cfm.js";import{tf as _}from"./chunk-c38ppnm8.js";import{nP as m,rP as ee}from"./chunk-naq602da.js";var p=m(_(),1);var K=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string");var R=m(oe(),1);var c=m(_(),1);var b=300000,k="To refresh this SSO session run 'aws sso login' with the corresponding profile.";var H=async(e,o={},r)=>{let{SSOOIDCClient:t}=await import("./chunk-hs8qwx4n.js"),n=(f)=>o.clientConfig?.[f]??o.parentClientConfig?.[f]??r?.[f];return new t(Object.assign({},o.clientConfig??{},{region:e??o.clientConfig?.region,logger:n("logger"),userAgentAppId:n("userAgentAppId")}))};var U=async(e,o,r={},t)=>{let{CreateTokenCommand:n}=await import("./chunk-hs8qwx4n.js");return(await H(o,r,t)).send(new n({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))};var q=m(_(),1);var C=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new q.TokenProviderError(`Token is expired. ${k}`,!1)};var W=m(_(),1);var w=(e,o,r=!1)=>{if(typeof o>"u")throw new W.TokenProviderError(`Value not present for '${e}' in SSO Token${r?". Cannot refresh":""}. ${k}`,!1)};var j=m(_(),1);import{promises as Q}from"fs";var{writeFile:Z}=Q,X=(e,o)=>{let r=j.getSSOTokenFilepath(e),t=JSON.stringify(o,null,2);return Z(r,t)};var z=new Date(0),J=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let r=await c.parseKnownFiles(e),t=c.getProfileName({profile:e.profile??o?.profile}),n=r[t];if(!n)throw new c.TokenProviderError(`Profile '${t}' could not be found in shared credentials file.`,!1);else if(!n.sso_session)throw new c.TokenProviderError(`Profile '${t}' is missing required property 'sso_session'.`);let a=n.sso_session,S=(await c.loadSsoSessionData(e))[a];if(!S)throw new c.TokenProviderError(`Sso session '${a}' could not be found in shared credentials file.`,!1);for(let i of["sso_start_url","sso_region"])if(!S[i])throw new c.TokenProviderError(`Sso session '${a}' is missing required property '${i}'.`,!1);let{sso_start_url:g,sso_region:O}=S,s;try{s=await c.getSSOTokenFromFile(a)}catch(i){throw new c.TokenProviderError(`The SSO session token associated with profile=${t} was not found or is invalid. ${k}`,!1)}w("accessToken",s.accessToken),w("expiresAt",s.expiresAt);let{accessToken:x,expiresAt:T}=s,l={token:x,expiration:new Date(T)};if(l.expiration.getTime()-Date.now()>b)return l;if(Date.now()-z.getTime()<30000)return C(l),l;w("clientId",s.clientId,!0),w("clientSecret",s.clientSecret,!0),w("refreshToken",s.refreshToken,!0);try{z.setTime(Date.now());let i=await U(s,O,e,o);w("accessToken",i.accessToken),w("expiresIn",i.expiresIn);let y=new Date(Date.now()+i.expiresIn*1000);try{await X(a,{...s,accessToken:i.accessToken,expiresAt:y.toISOString(),refreshToken:i.refreshToken})}catch(I){}return{token:i.accessToken,expiration:y}}catch(i){return C(l),l}};var d=m(_(),1),E=!1,v=async({ssoStartUrl:e,ssoSession:o,ssoAccountId:r,ssoRegion:t,ssoRoleName:n,ssoClient:a,clientConfig:f,parentClientConfig:S,callerClientConfig:g,profile:O,filepath:s,configFilepath:x,ignoreCache:T,logger:l})=>{let i,y="To refresh this SSO session run aws sso login with the corresponding profile.";if(o)try{let h=await J({profile:O,filepath:s,configFilepath:x,ignoreCache:T})();i={accessToken:h.token,expiresAt:new Date(h.expiration).toISOString()}}catch(h){throw new d.CredentialsProviderError(h.message,{tryNextLink:E,logger:l})}else try{i=await d.getSSOTokenFromFile(e)}catch(h){throw new d.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l})}if(new Date(i.expiresAt).getTime()-Date.now()<=0)throw new d.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:E,logger:l});let{accessToken:I}=i,{SSOClient:u,GetRoleCredentialsCommand:A}=await import("./chunk-y68fp4kt.js"),B=a||new u(Object.assign({},f??{},{logger:f?.logger??g?.logger??S?.logger,region:f?.region??t,userAgentAppId:f?.userAgentAppId??g?.userAgentAppId??S?.userAgentAppId})),F;try{F=await B.send(new A({accountId:r,roleName:n,accessToken:I}))}catch(h){throw new d.CredentialsProviderError(h,{tryNextLink:E,logger:l})}let{roleCredentials:{accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:L,credentialScope:M,accountId:G}={}}=F;if(!P||!D||!$||!L)throw new d.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:E,logger:l});let N={accessKeyId:P,secretAccessKey:D,sessionToken:$,expiration:new Date(L),...M&&{credentialScope:M},...G&&{accountId:G}};if(o)R.setCredentialFeature(N,"CREDENTIALS_SSO","s");else R.setCredentialFeature(N,"CREDENTIALS_SSO_LEGACY","u");return N};var V=m(_(),1),Y=(e,o)=>{let{sso_start_url:r,sso_account_id:t,sso_region:n,sso_role_name:a}=e;if(!r||!t||!n||!a)throw new V.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
|
|
3
3
|
Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:o});return e};var Oe=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:r,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoSession:f}=e,{ssoClient:S}=e,g=p.getProfileName({profile:e.profile??o?.profile});if(!r&&!t&&!n&&!a&&!f){let s=(await p.parseKnownFiles(e))[g];if(!s)throw new p.CredentialsProviderError(`Profile ${g} was not found.`,{logger:e.logger});if(!K(s))throw new p.CredentialsProviderError(`Profile ${g} is not configured with SSO credentials.`,{logger:e.logger});if(s?.sso_session){let u=(await p.loadSsoSessionData(e))[s.sso_session],A=` configurations in profile ${g} and sso-session ${s.sso_session}`;if(n&&n!==u.sso_region)throw new p.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(r&&r!==u.sso_start_url)throw new p.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});s.sso_region=u.sso_region,s.sso_start_url=u.sso_start_url}let{sso_start_url:x,sso_account_id:T,sso_region:l,sso_role_name:i,sso_session:y}=Y(s,e.logger);return v({ssoStartUrl:x,ssoSession:y,ssoAccountId:T,ssoRegion:l,ssoRoleName:i,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!r||!t||!n||!a)throw new p.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return v({ssoStartUrl:r,ssoSession:f,ssoAccountId:t,ssoRegion:n,ssoRoleName:a,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:g,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})};export{K as Pd,Y as Qd,Oe as Rd};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-7b69jj5g.js";import"./chunk-
|
|
2
|
+
import"./chunk-7b69jj5g.js";import"./chunk-naq602da.js";var e={"ui.sessionReview.title":"\u4F1A\u8BDD\u53D8\u66F4","ui.sessionReview.title.lastTurn":"\u4E0A\u4E00\u8F6E\u53D8\u66F4","ui.sessionReview.diffStyle.unified":"\u7EDF\u4E00","ui.sessionReview.diffStyle.split":"\u62C6\u5206","ui.sessionReview.openFile":"\u6253\u5F00\u6587\u4EF6","ui.sessionReview.selection.line":"\u7B2C {{line}} \u884C","ui.sessionReview.selection.lines":"\u7B2C {{start}}-{{end}} \u884C","ui.sessionReview.expandAll":"\u5168\u90E8\u5C55\u5F00","ui.sessionReview.collapseAll":"\u5168\u90E8\u6536\u8D77","ui.sessionReview.change.added":"\u5DF2\u6DFB\u52A0","ui.sessionReview.change.removed":"\u5DF2\u79FB\u9664","ui.sessionReview.change.modified":"\u5DF2\u4FEE\u6539","ui.sessionReview.image.loading":"\u52A0\u8F7D\u4E2D...","ui.sessionReview.image.placeholder":"\u56FE\u7247","ui.sessionReview.largeDiff.title":"\u5DEE\u5F02\u8FC7\u5927\uFF0C\u65E0\u6CD5\u6E32\u67D3","ui.sessionReview.largeDiff.meta":"\u9650\u5236\uFF1A{{limit}} \u884C\u53D8\u66F4\u3002\u5F53\u524D\uFF1A{{current}} \u884C\u53D8\u66F4\u3002","ui.sessionReview.largeDiff.renderAnyway":"\u4ECD\u7136\u6E32\u67D3","ui.fileMedia.kind.image":"\u56FE\u7247","ui.fileMedia.kind.audio":"\u97F3\u9891","ui.fileMedia.state.removed":"{{kind}}\u5DF2\u79FB\u9664","ui.fileMedia.state.loading":"\u6B63\u5728\u52A0\u8F7D{{kind}}...","ui.fileMedia.state.error":"\u52A0\u8F7D{{kind}}\u5931\u8D25","ui.fileMedia.state.unavailable":"{{kind}}\u4E0D\u53EF\u9884\u89C8","ui.fileMedia.binary.title":"\u4E8C\u8FDB\u5236\u6587\u4EF6","ui.fileMedia.binary.description.path":"\u65E0\u6CD5\u663E\u793A {{path}}\uFF0C\u56E0\u4E3A\u5B83\u662F\u4E8C\u8FDB\u5236\u6587\u4EF6\u3002","ui.fileMedia.binary.description.default":"\u65E0\u6CD5\u663E\u793A\u6B64\u6587\u4EF6\uFF0C\u56E0\u4E3A\u5B83\u662F\u4E8C\u8FDB\u5236\u6587\u4EF6\u3002","ui.lineComment.label.prefix":"\u8BC4\u8BBA ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u6B63\u5728\u8BC4\u8BBA ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u6DFB\u52A0\u8BC4\u8BBA","ui.lineComment.submit":"\u8BC4\u8BBA","ui.sessionTurn.steps.show":"\u663E\u793A\u6B65\u9AA4","ui.sessionTurn.steps.hide":"\u9690\u85CF\u6B65\u9AA4","ui.sessionTurn.summary.response":"\u56DE\u590D","ui.sessionTurn.diff.showMore":"\u663E\u793A\u66F4\u591A\u66F4\u6539\uFF08{{count}}\uFF09","ui.sessionTurn.retry.retrying":"\u91CD\u8BD5\u4E2D","ui.sessionTurn.retry.inSeconds":"{{seconds}} \u79D2\u540E","ui.sessionTurn.retry.attempt":"\u7B2C {{attempt}} \u6B21","ui.sessionTurn.retry.attemptLine":"{{line}} - \u7B2C {{attempt}} \u6B21","ui.sessionTurn.retry.geminiHot":"gemini \u5F53\u524D\u8FC7\u8F7D","ui.sessionTurn.error.freeUsageExceeded":"\u514D\u8D39\u4F7F\u7528\u989D\u5EA6\u5DF2\u7528\u5B8C","ui.sessionTurn.error.addQredits":"\u6DFB\u52A0\u79EF\u5206","ui.sessionTurn.status.delegating":"\u6B63\u5728\u59D4\u6D3E\u5DE5\u4F5C","ui.sessionTurn.status.planning":"\u6B63\u5728\u89C4\u5212\u4E0B\u4E00\u6B65","ui.sessionTurn.status.gatheringContext":"\u6B63\u5728\u63A2\u7D22","ui.sessionTurn.status.gatheredContext":"\u5DF2\u63A2\u7D22","ui.sessionTurn.status.searchingCodebase":"\u6B63\u5728\u641C\u7D22\u4EE3\u7801\u5E93","ui.sessionTurn.status.searchingWeb":"\u6B63\u5728\u641C\u7D22\u7F51\u9875","ui.sessionTurn.status.makingEdits":"\u6B63\u5728\u4FEE\u6539","ui.sessionTurn.status.runningCommands":"\u6B63\u5728\u8FD0\u884C\u547D\u4EE4","ui.sessionTurn.status.thinking":"\u601D\u8003\u4E2D","ui.sessionTurn.status.thinkingWithTopic":"\u601D\u8003\uFF1A{{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u6B63\u5728\u6574\u7406\u601D\u8DEF","ui.sessionTurn.status.consideringNextSteps":"\u6B63\u5728\u8003\u8651\u4E0B\u4E00\u6B65","ui.messagePart.questions.dismissed":"\u95EE\u9898\u5DF2\u5FFD\u7565","ui.messagePart.compaction":"\u4F1A\u8BDD\u5DF2\u538B\u7F29","ui.messagePart.context.read.one":"{{count}} \u6B21\u8BFB\u53D6","ui.messagePart.context.read.other":"{{count}} \u6B21\u8BFB\u53D6","ui.messagePart.context.search.one":"{{count}} \u6B21\u641C\u7D22","ui.messagePart.context.search.other":"{{count}} \u6B21\u641C\u7D22","ui.messagePart.context.list.one":"{{count}} \u4E2A\u5217\u8868","ui.messagePart.context.list.other":"{{count}} \u4E2A\u5217\u8868","ui.messagePart.diagnostic.error":"\u9519\u8BEF","ui.messagePart.title.edit":"\u7F16\u8F91","ui.messagePart.title.write":"\u5199\u5165","ui.messagePart.option.typeOwnAnswer":"\u8F93\u5165\u81EA\u5DF1\u7684\u7B54\u6848","ui.messagePart.review.title":"\u68C0\u67E5\u4F60\u7684\u7B54\u6848","ui.list.loading":"\u52A0\u8F7D\u4E2D","ui.list.empty":"\u65E0\u7ED3\u679C","ui.list.clearFilter":"\u6E05\u9664\u7B5B\u9009","ui.list.emptyWithFilter.prefix":"\u6CA1\u6709\u5173\u4E8E","ui.list.emptyWithFilter.suffix":"\u7684\u7ED3\u679C","ui.messageNav.newMessage":"\u65B0\u6D88\u606F","ui.textField.copyToClipboard":"\u590D\u5236\u5230\u526A\u8D34\u677F","ui.textField.copyLink":"\u590D\u5236\u94FE\u63A5","ui.textField.copied":"\u5DF2\u590D\u5236","ui.imagePreview.alt":"\u56FE\u7247\u9884\u89C8","ui.scrollView.ariaLabel":"\u53EF\u6EDA\u52A8\u5185\u5BB9","ui.tool.read":"\u8BFB\u53D6","ui.tool.loaded":"\u5DF2\u52A0\u8F7D","ui.tool.list":"\u5217\u8868","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"\u7F51\u7EDC\u641C\u7D22","ui.tool.codesearch":"\u4EE3\u7801\u641C\u7D22","ui.tool.shell":"Shell","ui.tool.patch":"\u8865\u4E01","ui.tool.todos":"\u5F85\u529E","ui.tool.todos.read":"\u8BFB\u53D6\u5F85\u529E","ui.tool.questions":"\u95EE\u9898","ui.tool.agent":"{{type}} \u667A\u80FD\u4F53","ui.tool.agent.default":"\u667A\u80FD\u4F53","ui.common.file.one":"\u4E2A\u6587\u4EF6","ui.common.file.other":"\u4E2A\u6587\u4EF6","ui.common.question.one":"\u4E2A\u95EE\u9898","ui.common.question.other":"\u4E2A\u95EE\u9898","ui.common.add":"\u6DFB\u52A0","ui.common.back":"\u8FD4\u56DE","ui.common.cancel":"\u53D6\u6D88","ui.common.confirm":"\u786E\u8BA4","ui.common.dismiss":"\u5FFD\u7565","ui.common.close":"\u5173\u95ED","ui.common.next":"\u4E0B\u4E00\u6B65","ui.common.submit":"\u63D0\u4EA4","ui.permission.deny":"\u62D2\u7EDD","ui.permission.allowAlways":"\u59CB\u7EC8\u5141\u8BB8","ui.permission.allowOnce":"\u5141\u8BB8\u4E00\u6B21","ui.message.expand":"\u5C55\u5F00\u6D88\u606F","ui.message.collapse":"\u6536\u8D77\u6D88\u606F","ui.message.copy":"\u590D\u5236","ui.message.copyMessage":"\u590D\u5236\u6D88\u606F","ui.message.forkMessage":"\u5206\u53C9\u5230\u65B0\u4F1A\u8BDD","ui.message.revertMessage":"\u91CD\u7F6E\u5230\u6B64\u70B9","ui.message.copyResponse":"\u590D\u5236\u56DE\u590D","ui.message.copied":"\u5DF2\u590D\u5236\uFF01","ui.message.interrupted":"\u5DF2\u4E2D\u65AD","ui.message.queued":"\u6392\u961F\u4E2D","ui.message.attachment.alt":"\u9644\u4EF6","ui.patch.action.deleted":"\u5DF2\u5220\u9664","ui.patch.action.created":"\u5DF2\u521B\u5EFA","ui.patch.action.moved":"\u5DF2\u79FB\u52A8","ui.patch.action.patched":"\u5DF2\u5E94\u7528\u8865\u4E01","ui.question.subtitle.answered":"{{count}} \u5DF2\u56DE\u7B54","ui.question.answer.none":"(\u65E0\u7B54\u6848)","ui.question.review.notAnswered":"(\u672A\u56DE\u7B54)","ui.question.multiHint":"\u53EF\u591A\u9009","ui.question.singleHint":"\u9009\u62E9\u4E00\u4E2A\u7B54\u6848","ui.question.custom.placeholder":"\u8F93\u5165\u4F60\u7684\u7B54\u6848...","ui.fileSearch.placeholder":"\u67E5\u627E","ui.fileSearch.previousMatch":"\u4E0A\u4E00\u4E2A","ui.fileSearch.nextMatch":"\u4E0B\u4E00\u4E2A","ui.fileSearch.close":"\u5173\u95ED\u641C\u7D22","ui.tool.task":"\u4EFB\u52A1","ui.tool.skill":"\u6280\u80FD","ui.basicTool.called":"\u8C03\u7528\u4E86 `{{tool}}`","ui.toolErrorCard.failed":"\u5931\u8D25","ui.toolErrorCard.copyError":"\u590D\u5236\u9519\u8BEF","ui.message.duration.seconds":"{{count}}\u79D2","ui.message.duration.minutesSeconds":"{{minutes}}\u5206 {{seconds}}\u79D2"};export{e as dict};
|