@qitqode/qitqode-android-arm64 0.2.6 → 0.2.8
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-03zpnwk2.js +2 -0
- package/bundle/{chunk-p54bzjtv.js → chunk-060wbpz4.js} +1 -1
- package/bundle/{chunk-j0bwa5dk.js → chunk-0a4pmkc9.js} +2 -2
- package/bundle/chunk-0aqdzyar.js +2 -0
- package/bundle/{chunk-vygkwwjd.js → chunk-0egrckx0.js} +2 -2
- package/bundle/{chunk-bwbqkfv0.js → chunk-0ffmwhw7.js} +1 -1
- package/bundle/{chunk-953pqp3w.js → chunk-0tcggtwv.js} +1 -1
- package/bundle/{chunk-tkrwcjkr.js → chunk-0tm6589k.js} +2 -2
- package/bundle/{chunk-y7hgevfv.js → chunk-0w19vmd7.js} +2 -2
- package/bundle/{chunk-ehb4hd9c.js → chunk-0z1keh2w.js} +1 -1
- package/bundle/{chunk-at22twxx.js → chunk-1bxfzd6r.js} +2 -2
- package/bundle/{chunk-48r70n4s.js → chunk-1har4t9a.js} +1 -1
- package/bundle/{chunk-sfw5qddj.js → chunk-1p9s5jj1.js} +1 -1
- package/bundle/{chunk-2md6sx8d.js → chunk-1rgt2vmt.js} +1 -1
- package/bundle/{chunk-ksme3gj1.js → chunk-1v0khv7p.js} +1 -1
- package/bundle/{chunk-a7rp46yt.js → chunk-26cr51wa.js} +5 -5
- package/bundle/{chunk-fhqfqd5v.js → chunk-27saej0r.js} +2 -2
- package/bundle/{chunk-9hz56z6a.js → chunk-29gwtcey.js} +1 -1
- package/bundle/chunk-2a5gjgvp.js +2 -0
- package/bundle/{chunk-venprxdp.js → chunk-2caaqmec.js} +1 -1
- package/bundle/{chunk-ff548b0j.js → chunk-2kh0tg92.js} +2 -2
- package/bundle/{chunk-6evh2ke8.js → chunk-2nheahmq.js} +1 -1
- package/bundle/chunk-2pkfphgb.js +2 -0
- package/bundle/{chunk-99s035f0.js → chunk-2qm46qvn.js} +2 -2
- package/bundle/{chunk-8e4s6nc2.js → chunk-2t5yh25f.js} +1 -1
- package/bundle/{chunk-k1nh5sd2.js → chunk-2vaphpz0.js} +1 -1
- package/bundle/{chunk-f3zmdfqa.js → chunk-33ebjca6.js} +1 -1
- package/bundle/{chunk-2drzgtv3.js → chunk-35fj1sfm.js} +2 -2
- package/bundle/chunk-37cbrnke.js +8 -0
- package/bundle/{chunk-3kpse7zy.js → chunk-3bb4aqh9.js} +1 -1
- package/bundle/chunk-3cx4p07h.js +2 -0
- package/bundle/chunk-3f2cjzb4.js +2 -0
- package/bundle/chunk-3qvap1kv.js +2 -0
- package/bundle/{chunk-p6crzjtf.js → chunk-3va85mbe.js} +2 -2
- package/bundle/{chunk-y67kaj0b.js → chunk-3z2zn8rj.js} +1 -1
- package/bundle/{chunk-bzebyyfr.js → chunk-3zwma68w.js} +4 -4
- package/bundle/{chunk-4pshnq6g.js → chunk-4064rbtp.js} +1 -1
- package/bundle/chunk-42hvspe7.js +2 -0
- package/bundle/chunk-452tk6v3.js +2 -0
- package/bundle/{chunk-ejqzcdcx.js → chunk-48gap82w.js} +1 -1
- package/bundle/{chunk-ycvwpmd9.js → chunk-4aajzxm9.js} +2 -2
- package/bundle/chunk-4gqb1hps.js +2 -0
- package/bundle/{chunk-e8p92vz4.js → chunk-4pmvxnkj.js} +2 -2
- package/bundle/chunk-50qgz5ka.js +2 -0
- package/bundle/{chunk-zc0cdvcv.js → chunk-52xvhxek.js} +2 -2
- package/bundle/{chunk-y0527cg0.js → chunk-56wq8cqj.js} +1 -1
- package/bundle/{chunk-tzb26ntq.js → chunk-58f4y4b7.js} +3 -3
- package/bundle/{chunk-tr6rdr6h.js → chunk-59csnjc3.js} +2 -2
- package/bundle/chunk-5b0xyq5z.js +2 -0
- package/bundle/{chunk-mn9end71.js → chunk-5bv63rqj.js} +1 -1
- package/bundle/{chunk-w4synhfg.js → chunk-5cw8235e.js} +1 -1
- package/bundle/{chunk-5asx1706.js → chunk-5f0nhthe.js} +2 -2
- package/bundle/chunk-5j4nxpdy.js +2 -0
- package/bundle/{chunk-cbnkx933.js → chunk-5nmm1kvx.js} +2 -2
- package/bundle/chunk-5nxgk6hw.js +2 -0
- package/bundle/chunk-5qkvhr6y.js +2 -0
- package/bundle/{chunk-avefgbjg.js → chunk-5r7c6vvx.js} +2 -2
- package/bundle/{chunk-z6sbjvtv.js → chunk-5wx962mw.js} +1 -1
- package/bundle/{chunk-mhhtf0v3.js → chunk-5xkp27b1.js} +1 -1
- package/bundle/chunk-66qmmmdp.js +2 -0
- package/bundle/{chunk-3cr2p4mp.js → chunk-66wv82vf.js} +1 -1
- package/bundle/chunk-6dpdkzrk.js +2 -0
- package/bundle/chunk-6p6m5956.js +3 -0
- package/bundle/{chunk-dnsh1v42.js → chunk-6ps30qax.js} +2 -2
- package/bundle/{chunk-hqbbs9dm.js → chunk-6qwk6z87.js} +3 -3
- package/bundle/{chunk-khzzmyk2.js → chunk-6tqbnxar.js} +1 -1
- package/bundle/chunk-6yhn9syz.js +2 -0
- package/bundle/{chunk-m5dm7a1t.js → chunk-72crs18f.js} +1 -1
- package/bundle/{chunk-hwrrrbqd.js → chunk-7adsab4h.js} +1 -1
- package/bundle/{chunk-97q2t1yz.js → chunk-7b60whxm.js} +1 -1
- package/bundle/chunk-7g59hc61.js +2 -0
- package/bundle/{chunk-5pzs51sp.js → chunk-7jy53zqy.js} +1 -1
- package/bundle/chunk-7p88j56s.js +2 -0
- package/bundle/{chunk-3jf3jhrs.js → chunk-7thhd7ds.js} +1 -1
- package/bundle/chunk-7trngc9g.js +2 -0
- package/bundle/{chunk-5df5aja0.js → chunk-82xrfk5x.js} +2 -2
- package/bundle/{chunk-jqk3v8d6.js → chunk-85wh85pk.js} +1 -1
- package/bundle/chunk-8cebbmtf.js +2 -0
- package/bundle/chunk-8csas2jc.js +2 -0
- package/bundle/chunk-8g4jdqq1.js +2 -0
- package/bundle/chunk-8j1xcdmd.js +2 -0
- package/bundle/{chunk-7vmx8bg9.js → chunk-8jmb5bd4.js} +2 -2
- package/bundle/{chunk-8wwdrwf2.js → chunk-8p0t8qah.js} +1 -1
- package/bundle/{chunk-bbng1cea.js → chunk-8ysp6vf8.js} +1 -1
- package/bundle/{chunk-rn83r0js.js → chunk-8yzghzjq.js} +1 -1
- package/bundle/{chunk-q3nvzhyh.js → chunk-9009v4d0.js} +2 -2
- package/bundle/chunk-90r2z49k.js +2 -0
- package/bundle/{chunk-j164q40b.js → chunk-92r1gw2j.js} +2 -2
- package/bundle/chunk-94mjwy22.js +2 -0
- package/bundle/{chunk-xdteq9bd.js → chunk-9cf2ktyh.js} +1 -1
- package/bundle/{chunk-ngfxxfem.js → chunk-9cn8cmt0.js} +1 -1
- package/bundle/{chunk-55ykn8nz.js → chunk-a1z8rnq7.js} +4 -4
- package/bundle/{chunk-j9h1sp4g.js → chunk-a48mx917.js} +2 -2
- package/bundle/{chunk-et3804wr.js → chunk-a8bjcvda.js} +1 -1
- package/bundle/chunk-aenrd7dk.js +2 -0
- package/bundle/{chunk-cz5vta94.js → chunk-afr8m0q1.js} +1 -1
- package/bundle/{chunk-f31yvp20.js → chunk-ag8wxwwz.js} +1 -1
- package/bundle/chunk-ahmy80vb.js +2 -0
- package/bundle/chunk-avn12jkt.js +2 -0
- package/bundle/{chunk-6scf311w.js → chunk-ax64ngf2.js} +1 -1
- package/bundle/{chunk-43ttzy29.js → chunk-ayb3bdb7.js} +2 -2
- package/bundle/{chunk-dnnkq5y4.js → chunk-az3nss5m.js} +2 -2
- package/bundle/chunk-b7ncyat6.js +2 -0
- package/bundle/{chunk-g3wvtyw3.js → chunk-b7sr9rn3.js} +1 -1
- package/bundle/{chunk-24rkf2gk.js → chunk-bc2krtaf.js} +1 -1
- package/bundle/{chunk-gjd3wf8b.js → chunk-bjv1h2dq.js} +1 -1
- package/bundle/{chunk-cng61dby.js → chunk-bnaj2hh3.js} +1 -1
- package/bundle/{chunk-70q8qcb2.js → chunk-bpfq8fz4.js} +1 -1
- package/bundle/chunk-brk6bge4.js +3 -0
- package/bundle/{chunk-eg3syjtv.js → chunk-bwadggys.js} +2 -2
- package/bundle/chunk-c2a74stf.js +2 -0
- package/bundle/{chunk-q9tgdghx.js → chunk-c3yjbent.js} +1 -1
- package/bundle/{chunk-7x6yrtzn.js → chunk-c76cjhn0.js} +1 -1
- package/bundle/{chunk-21rq4592.js → chunk-ccf4pgkr.js} +2 -2
- package/bundle/chunk-ce5e7j62.js +2 -0
- package/bundle/{chunk-tm34qp8j.js → chunk-cf9m9m9q.js} +1 -1
- package/bundle/{chunk-39z96pc6.js → chunk-cfwz1hgr.js} +3 -3
- package/bundle/{chunk-jww55nk9.js → chunk-cghz0855.js} +1 -1
- package/bundle/{chunk-5c2438af.js → chunk-cr5tknvb.js} +1 -1
- package/bundle/chunk-cw1gwjx9.js +2 -0
- package/bundle/chunk-czw30fjs.js +2 -0
- package/bundle/{chunk-05ck7acg.js → chunk-d30k7dpf.js} +1 -1
- package/bundle/{chunk-mjjaezwq.js → chunk-d839fr0w.js} +2 -2
- package/bundle/{chunk-nmzrrqgb.js → chunk-ddx2pcr4.js} +1 -1
- package/bundle/{chunk-pmg53fdd.js → chunk-dgcannw0.js} +1 -1
- package/bundle/{chunk-vnrjk2be.js → chunk-dhvx9p54.js} +1 -1
- package/bundle/chunk-dmkgjf1v.js +3 -0
- package/bundle/{chunk-nj1ntakd.js → chunk-dt3bsmfe.js} +2 -2
- package/bundle/chunk-dwhsvpag.js +2 -0
- package/bundle/{chunk-0smnwqk6.js → chunk-dwkrqtbc.js} +2 -2
- package/bundle/chunk-e01jgnnm.js +2 -0
- package/bundle/chunk-e0hfpdje.js +2 -0
- package/bundle/{chunk-r9w0thdk.js → chunk-e0vrxetq.js} +1 -1
- package/bundle/{chunk-k4gsktts.js → chunk-e2wfj86b.js} +1 -1
- package/bundle/chunk-e5jk67xh.js +2 -0
- package/bundle/{chunk-wkg3c643.js → chunk-eacpc64g.js} +2 -2
- package/bundle/{chunk-47k5jy1p.js → chunk-eewe7tx1.js} +2 -2
- package/bundle/{chunk-y29ejqg2.js → chunk-eg1m81ax.js} +1 -1
- package/bundle/chunk-eg4pq4hv.js +2 -0
- package/bundle/{chunk-bne5w117.js → chunk-ejhhrece.js} +3 -3
- package/bundle/{chunk-d7nsd979.js → chunk-epmc4aht.js} +1 -1
- package/bundle/chunk-ew3yz97p.js +2 -0
- package/bundle/{chunk-32j0q58h.js → chunk-eyr5ymt8.js} +1 -1
- package/bundle/chunk-ezgfhy4e.js +2 -0
- package/bundle/{chunk-45a4n21f.js → chunk-f2v4g7t1.js} +1 -1
- package/bundle/chunk-f2yfyhh8.js +2 -0
- package/bundle/chunk-f30em1wx.js +2 -0
- package/bundle/{chunk-5w76kdjr.js → chunk-f4mnp6xd.js} +1 -1
- package/bundle/{chunk-bkct64rs.js → chunk-f81kk8ra.js} +1 -1
- package/bundle/{chunk-3ktzxj69.js → chunk-f8cae1ap.js} +1 -1
- package/bundle/{chunk-ybane1en.js → chunk-fa8pwdwv.js} +1 -1
- package/bundle/{chunk-wwdpw27v.js → chunk-fej5x648.js} +1 -1
- package/bundle/{chunk-8yvx3pgy.js → chunk-fge37dke.js} +1 -1
- package/bundle/{chunk-nty5z2cj.js → chunk-fh3d0wce.js} +1 -1
- package/bundle/{chunk-gszvgz76.js → chunk-fjftb2sz.js} +2 -2
- package/bundle/{chunk-c36p881g.js → chunk-fs1vb39f.js} +3 -3
- package/bundle/{chunk-0xrb12s8.js → chunk-ftvvm4r5.js} +2 -2
- package/bundle/{chunk-nrat6ncm.js → chunk-fw1f47de.js} +1 -1
- package/bundle/{chunk-m7ganre7.js → chunk-g26redah.js} +1 -1
- package/bundle/{chunk-7g66qc1v.js → chunk-g3n465ee.js} +2 -2
- package/bundle/{chunk-313zqzc1.js → chunk-g4tyaj0m.js} +1 -1
- package/bundle/{chunk-fjbv3jht.js → chunk-g6y2c5az.js} +1 -1
- package/bundle/{chunk-qnvsqnz5.js → chunk-g7v6sp3c.js} +2 -2
- package/bundle/{chunk-n23d0q00.js → chunk-g878zd6e.js} +1 -1
- package/bundle/{chunk-p5be5ddp.js → chunk-g9nwqwqp.js} +1 -1
- package/bundle/chunk-gbvm6dpv.js +2 -0
- package/bundle/{chunk-fsqses4g.js → chunk-gc5rhnht.js} +2 -2
- package/bundle/{chunk-kengqzja.js → chunk-gefx3n08.js} +2 -2
- package/bundle/{chunk-yz25607t.js → chunk-ggncq8w8.js} +1 -1
- package/bundle/{chunk-7mppvhv9.js → chunk-gsg6zn7e.js} +2 -2
- package/bundle/{chunk-5nrc5rhh.js → chunk-gznt3dv8.js} +1 -1
- package/bundle/{chunk-p169ee92.js → chunk-h1bvqstw.js} +1 -1
- package/bundle/{chunk-pe2xdkez.js → chunk-h4hs2rhf.js} +2 -2
- package/bundle/chunk-h5w91zr4.js +2 -0
- package/bundle/{chunk-d6jhs818.js → chunk-h8mfbbjh.js} +2 -2
- package/bundle/{chunk-hjt94wce.js → chunk-he9kpk9r.js} +282 -276
- package/bundle/chunk-hmpb3c21.js +2 -0
- package/bundle/{chunk-920z7g7j.js → chunk-hz02vrqs.js} +1 -1
- package/bundle/{chunk-68v3b6ns.js → chunk-j10a984e.js} +2 -2
- package/bundle/chunk-j32rr7rt.js +2 -0
- package/bundle/chunk-j871xzr7.js +2 -0
- package/bundle/{chunk-0qd3567w.js → chunk-jmmtcr2r.js} +1 -1
- package/bundle/{chunk-has2rz35.js → chunk-jpn9zfj5.js} +1 -1
- package/bundle/{chunk-vshycswk.js → chunk-jqj1ay7x.js} +1 -1
- package/bundle/{chunk-vsz4s6zt.js → chunk-jr80q31w.js} +1 -1
- package/bundle/chunk-k3hgwszx.js +2 -0
- package/bundle/{chunk-wy3a4cab.js → chunk-kckr30tf.js} +1 -1
- package/bundle/{chunk-z1932c3f.js → chunk-kgv68cpb.js} +1 -1
- package/bundle/{chunk-vkaa7k3e.js → chunk-khpfseej.js} +2 -2
- package/bundle/{chunk-bd21p9zz.js → chunk-kre93a89.js} +2 -2
- package/bundle/{chunk-smznrv7k.js → chunk-kveztc6k.js} +1 -1
- package/bundle/{chunk-jnrnncqc.js → chunk-kwfe4em6.js} +1 -1
- package/bundle/chunk-kx88qekb.js +2 -0
- package/bundle/{chunk-4agaj51z.js → chunk-m4r8sepw.js} +1 -1
- package/bundle/{chunk-bqn6bqws.js → chunk-m7tmgvh6.js} +1 -1
- package/bundle/{chunk-qp1n7kwe.js → chunk-makegrxs.js} +1 -1
- package/bundle/{chunk-yhj01dz9.js → chunk-mr17tppa.js} +2 -2
- package/bundle/{chunk-5pwv2p3s.js → chunk-mv7q6ach.js} +1 -1
- package/bundle/chunk-n61e0znt.js +2 -0
- package/bundle/{chunk-j8fcfhr2.js → chunk-n6tqtk6h.js} +2 -2
- package/bundle/chunk-n6v36np0.js +2 -0
- package/bundle/chunk-ndd4cn3z.js +2 -0
- package/bundle/{chunk-t5r3w9e1.js → chunk-nfafk3ts.js} +1 -1
- package/bundle/{chunk-kth84vdn.js → chunk-nga216dm.js} +1 -1
- package/bundle/{chunk-cj7r8w1e.js → chunk-njsmma3a.js} +1 -1
- package/bundle/chunk-nr2j8ytn.js +3 -0
- package/bundle/{chunk-rrv0n73b.js → chunk-ntr0ezf2.js} +1 -1
- package/bundle/chunk-nwj6mcxz.js +2 -0
- package/bundle/{chunk-t239rvej.js → chunk-p2fte9vz.js} +2 -2
- package/bundle/chunk-p5b5ekhh.js +2 -0
- package/bundle/{chunk-vf492zs6.js → chunk-p8ak162p.js} +1 -1
- package/bundle/chunk-pf23nw4z.js +2 -0
- package/bundle/{chunk-0428v6mw.js → chunk-phf37x1c.js} +1 -1
- package/bundle/{chunk-faee8zgc.js → chunk-phpxxd48.js} +1 -1
- package/bundle/{chunk-5tky3csh.js → chunk-pqg1wjb5.js} +1 -1
- package/bundle/chunk-pw3cv89g.js +2 -0
- package/bundle/{chunk-d51908mv.js → chunk-q3c8mfbq.js} +1 -1
- package/bundle/{chunk-ypdt9mmr.js → chunk-qbnt4ynd.js} +2 -2
- package/bundle/chunk-qc89yj61.js +2 -0
- package/bundle/{chunk-k5q9px67.js → chunk-qgek59e6.js} +1 -1
- package/bundle/{chunk-v6v9xn81.js → chunk-qgfbsmsx.js} +1 -1
- package/bundle/{chunk-450fef7h.js → chunk-qgkb6n8k.js} +2 -2
- package/bundle/{chunk-xe69cnsk.js → chunk-qk1jkc0n.js} +1 -1
- package/bundle/{chunk-w4brava0.js → chunk-qk5vy2pr.js} +1 -1
- package/bundle/chunk-qn8tz704.js +2 -0
- package/bundle/{chunk-k3dacdp5.js → chunk-qq9m8fxv.js} +7 -7
- package/bundle/{chunk-q3h42a94.js → chunk-qxdpgdfk.js} +2 -2
- package/bundle/chunk-qxre2gqn.js +2 -0
- package/bundle/chunk-rdk62809.js +2 -0
- package/bundle/chunk-rew6r516.js +2 -0
- package/bundle/chunk-rjhvdfn5.js +2 -0
- package/bundle/{chunk-wyj8cpx5.js → chunk-rk0fnvp5.js} +1 -1
- package/bundle/{chunk-mh19kwzw.js → chunk-rmsqb6r4.js} +1 -1
- package/bundle/{chunk-jg1ccs3j.js → chunk-rva2ekrt.js} +1 -1
- package/bundle/{chunk-ac7482n2.js → chunk-rwnwjm82.js} +2 -2
- package/bundle/{chunk-ggxzf22k.js → chunk-rye1yjnr.js} +1 -1
- package/bundle/{chunk-s4vx9x1v.js → chunk-ryrxgn6d.js} +1 -1
- package/bundle/{chunk-pxm4qvqk.js → chunk-s2tc3qs0.js} +2 -2
- package/bundle/{chunk-mhtxp66q.js → chunk-s8z7v1me.js} +2 -2
- package/bundle/{chunk-9zm6r55d.js → chunk-sa0rrreh.js} +2 -2
- package/bundle/{chunk-mmjgf680.js → chunk-sbjymf20.js} +2 -2
- package/bundle/{chunk-ptqk1j2r.js → chunk-scnbt714.js} +1 -1
- package/bundle/chunk-skgr9ypq.js +2 -0
- package/bundle/{chunk-tg226j37.js → chunk-sm1g81cv.js} +1 -1
- package/bundle/chunk-sv40pwe2.js +2 -0
- package/bundle/{chunk-3vvd7j14.js → chunk-sy9w1t2y.js} +1 -1
- package/bundle/{chunk-p4027t94.js → chunk-sz0favtz.js} +1 -1
- package/bundle/{chunk-g22e4gw7.js → chunk-t18ka1e7.js} +1 -1
- package/bundle/{chunk-7hvf9dgx.js → chunk-t3w43rft.js} +1 -1
- package/bundle/{chunk-5zkj5xv9.js → chunk-t6zz47zk.js} +2 -2
- package/bundle/{chunk-6m9jb0s9.js → chunk-t8fjgkp8.js} +2 -2
- package/bundle/{chunk-7bcm7gg1.js → chunk-tbx741en.js} +1 -1
- package/bundle/chunk-tfhpjmny.js +2 -0
- package/bundle/chunk-tnete6ye.js +2 -0
- package/bundle/chunk-tpyq7ycb.js +2 -0
- package/bundle/{chunk-ezrqhqkp.js → chunk-trstb8ee.js} +1 -1
- package/bundle/{chunk-h9wh48d0.js → chunk-tsmj98yf.js} +2 -2
- package/bundle/{chunk-m80v76m9.js → chunk-txkdt4ep.js} +1 -1
- package/bundle/chunk-v5h5wxw5.js +2 -0
- package/bundle/chunk-v6141yq1.js +2 -0
- package/bundle/{chunk-cmb62jkt.js → chunk-vbfej8ds.js} +2 -2
- package/bundle/chunk-vfd3azkp.js +3 -0
- package/bundle/chunk-vjs69r6x.js +2 -0
- package/bundle/{chunk-xy0gnpen.js → chunk-vkjqy92f.js} +1 -1
- package/bundle/chunk-vmhar83s.js +2 -0
- package/bundle/{chunk-24ygjbpf.js → chunk-vph4w4yy.js} +2 -2
- package/bundle/chunk-vqvnw12p.js +2 -0
- package/bundle/{chunk-h62chdmw.js → chunk-vr8nwzp0.js} +1 -1
- package/bundle/{chunk-w46g7kdq.js → chunk-vs3s49jw.js} +2 -2
- package/bundle/{chunk-n78f8hfk.js → chunk-vsqvnxbz.js} +1 -1
- package/bundle/{chunk-t8c4cs6z.js → chunk-w0nc0gcx.js} +1 -1
- package/bundle/{chunk-qkvqvgcx.js → chunk-w0sng8a9.js} +1 -1
- package/bundle/chunk-w0sztk4y.js +2 -0
- package/bundle/chunk-w6bb320d.js +2 -0
- package/bundle/{chunk-55fcmswd.js → chunk-w7a33cwa.js} +2 -2
- package/bundle/{chunk-fyhqp4pb.js → chunk-w9qh2479.js} +1 -1
- package/bundle/{chunk-xwdxgg16.js → chunk-waa1ggtj.js} +1 -1
- package/bundle/{chunk-fr34mnyg.js → chunk-wb05bp10.js} +2 -2
- package/bundle/{chunk-gy21fw82.js → chunk-wb47k8ah.js} +2 -2
- package/bundle/{chunk-dxdggn90.js → chunk-wd8f9r4k.js} +1 -1
- package/bundle/chunk-wf41m019.js +2 -0
- package/bundle/{chunk-r5zy4za0.js → chunk-wgkcyqn1.js} +2 -2
- package/bundle/{chunk-ph8hn1wt.js → chunk-wm9nh9nb.js} +2 -2
- package/bundle/{chunk-g42krp0z.js → chunk-wn63q3xp.js} +1 -1
- package/bundle/{chunk-73r8bjjz.js → chunk-wqk1v8t0.js} +2 -2
- package/bundle/chunk-wqw6yjrg.js +2 -0
- package/bundle/{chunk-qey1efpx.js → chunk-wr6rnxr5.js} +1 -1
- package/bundle/chunk-ws08rxge.js +2 -0
- package/bundle/{chunk-xdd3553a.js → chunk-wtt5wms9.js} +1 -1
- package/bundle/{chunk-pb30kkbs.js → chunk-wtxh5m6j.js} +3 -3
- package/bundle/chunk-wz3dvc3g.js +2 -0
- package/bundle/{chunk-p4b0s5td.js → chunk-x00hwy3x.js} +1 -1
- package/bundle/chunk-x2pmqvdc.js +2 -0
- package/bundle/chunk-x4wfq39v.js +2 -0
- package/bundle/{chunk-pt0xphq9.js → chunk-xs6v0r9m.js} +1 -1
- package/bundle/{chunk-d0x5pbkm.js → chunk-xy8arehp.js} +1 -1
- package/bundle/{chunk-0cnwsf8p.js → chunk-y0h3jfkj.js} +1 -1
- package/bundle/{chunk-pr7z5dj8.js → chunk-y3gy62q5.js} +1 -1
- package/bundle/chunk-yb6m08zj.js +2 -0
- package/bundle/chunk-ybcqkgs7.js +2 -0
- package/bundle/{chunk-vcygx6hs.js → chunk-ydgst3h8.js} +2 -2
- package/bundle/{chunk-qxcyz5hc.js → chunk-ykpj10nz.js} +2 -2
- package/bundle/{chunk-t0761rhq.js → chunk-ynf17943.js} +2 -2
- package/bundle/{chunk-da6kggv7.js → chunk-ytyzrqev.js} +2 -2
- package/bundle/{chunk-ztyy3ga3.js → chunk-z0kbyr00.js} +2 -2
- package/bundle/{chunk-65bmsp2t.js → chunk-zfrftgcy.js} +1 -1
- package/bundle/chunk-zj1jc1xt.js +2 -0
- package/bundle/chunk-zm0m0504.js +2 -0
- package/bundle/{chunk-w9gzfsy7.js → chunk-zqdjk4rf.js} +2 -2
- package/bundle/{chunk-ha1w0xzh.js → chunk-zrhw1szj.js} +1 -1
- package/bundle/{chunk-804vmbcd.js → chunk-zsg29gba.js} +1 -1
- package/bundle/{chunk-6ar91jvd.js → chunk-zwhmg9dj.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-0ppnq3a4.js +0 -2
- package/bundle/chunk-0te0vcdn.js +0 -2
- package/bundle/chunk-11h06z17.js +0 -2
- package/bundle/chunk-28yv4fqe.js +0 -2
- package/bundle/chunk-34a52hyr.js +0 -2
- package/bundle/chunk-3d73kfea.js +0 -2
- package/bundle/chunk-3n3gb3vd.js +0 -2
- package/bundle/chunk-3sq60y9f.js +0 -2
- package/bundle/chunk-49mbnqvc.js +0 -2
- package/bundle/chunk-4fr6kae9.js +0 -2
- package/bundle/chunk-516w1nc4.js +0 -2
- package/bundle/chunk-535nm66j.js +0 -2
- package/bundle/chunk-5kpxpm8e.js +0 -2
- package/bundle/chunk-5nm5s0h2.js +0 -2
- package/bundle/chunk-5ysbwr4x.js +0 -3
- package/bundle/chunk-6dvmyeg7.js +0 -2
- package/bundle/chunk-6ex981t8.js +0 -2
- package/bundle/chunk-6gpf2bjs.js +0 -2
- package/bundle/chunk-6jeg2r5j.js +0 -2
- package/bundle/chunk-6nry7tah.js +0 -2
- package/bundle/chunk-7bgzcpdw.js +0 -2
- package/bundle/chunk-7kjvcbwa.js +0 -2
- package/bundle/chunk-7x30x94y.js +0 -2
- package/bundle/chunk-86hsh44c.js +0 -3
- package/bundle/chunk-8jma2btf.js +0 -2
- package/bundle/chunk-8sbb95a4.js +0 -2
- package/bundle/chunk-93e0w75z.js +0 -2
- package/bundle/chunk-97gp818s.js +0 -2
- package/bundle/chunk-9epf2zbh.js +0 -2
- package/bundle/chunk-agv04nt7.js +0 -2
- package/bundle/chunk-be7smmar.js +0 -2
- package/bundle/chunk-bg1t0kke.js +0 -2
- package/bundle/chunk-bryx5cx9.js +0 -2
- package/bundle/chunk-c13rrw41.js +0 -2
- package/bundle/chunk-c2kkv619.js +0 -2
- package/bundle/chunk-c3zge8cg.js +0 -3
- package/bundle/chunk-c5xj1y5v.js +0 -2
- package/bundle/chunk-cfhfc86j.js +0 -8
- package/bundle/chunk-ckpm4dvv.js +0 -2
- package/bundle/chunk-cqkaamvn.js +0 -2
- package/bundle/chunk-ct8twng1.js +0 -2
- package/bundle/chunk-d38y7bvh.js +0 -2
- package/bundle/chunk-d6hxsfm6.js +0 -2
- package/bundle/chunk-descb9jz.js +0 -2
- package/bundle/chunk-dvr2b9r1.js +0 -2
- package/bundle/chunk-ea5fktnn.js +0 -2
- package/bundle/chunk-f0t7rryn.js +0 -3
- package/bundle/chunk-f4mf6tpp.js +0 -2
- package/bundle/chunk-f97k17t8.js +0 -2
- package/bundle/chunk-g4ehhdzp.js +0 -2
- package/bundle/chunk-gd6qpdjw.js +0 -2
- package/bundle/chunk-gdn91t9j.js +0 -2
- package/bundle/chunk-gehn9fd9.js +0 -2
- package/bundle/chunk-hhax4mxw.js +0 -2
- package/bundle/chunk-hjb1etf8.js +0 -2
- package/bundle/chunk-jvkzdap1.js +0 -2
- package/bundle/chunk-kg8fcv91.js +0 -2
- package/bundle/chunk-kgptyf7n.js +0 -3
- package/bundle/chunk-kjjjrjnb.js +0 -2
- package/bundle/chunk-ky88ba80.js +0 -2
- package/bundle/chunk-m5cfmhwh.js +0 -2
- package/bundle/chunk-m7qxxbns.js +0 -2
- package/bundle/chunk-n8wg5h5p.js +0 -2
- package/bundle/chunk-nvs0d8jg.js +0 -2
- package/bundle/chunk-p6hcj3kv.js +0 -2
- package/bundle/chunk-pexmns0j.js +0 -2
- package/bundle/chunk-pt603np4.js +0 -2
- package/bundle/chunk-pz1avwyt.js +0 -2
- package/bundle/chunk-qk5bfcv8.js +0 -2
- package/bundle/chunk-qr06byhp.js +0 -2
- package/bundle/chunk-r7sq3maz.js +0 -2
- package/bundle/chunk-rcrjbhaz.js +0 -2
- package/bundle/chunk-rmgs9nmj.js +0 -2
- package/bundle/chunk-rytavefg.js +0 -2
- package/bundle/chunk-sh9vjnsh.js +0 -2
- package/bundle/chunk-st0c5wwc.js +0 -2
- package/bundle/chunk-teb3k2sf.js +0 -2
- package/bundle/chunk-ts798jvf.js +0 -2
- package/bundle/chunk-tx5aj02v.js +0 -2
- package/bundle/chunk-v1t51rrq.js +0 -2
- package/bundle/chunk-vdrz2t9c.js +0 -2
- package/bundle/chunk-vh9ptqn0.js +0 -2
- package/bundle/chunk-vj4x8hvz.js +0 -2
- package/bundle/chunk-w72rctxz.js +0 -2
- package/bundle/chunk-wbw9zv3h.js +0 -2
- package/bundle/chunk-x6mw98c2.js +0 -2
- package/bundle/chunk-y6p57wgh.js +0 -2
- package/bundle/chunk-y6xs8v17.js +0 -2
- package/bundle/chunk-z3xsfpc6.js +0 -2
- package/bundle/chunk-zkm3yyyf.js +0 -2
- package/bundle/chunk-zn5pw733.js +0 -2
- package/bundle/chunk-zxwvnmea.js +0 -2
|
@@ -5,4 +5,4 @@ Lifetime used`):new P("Lifetime not alive")}},J=class extends Q{constructor(W,Y)
|
|
|
5
5
|
Then, failed to dispose scope: ${Z.message}`,disposeError:Z}),Y;if(Y||Z)throw Y||Z}var z=class W extends q{constructor(){super(...arguments);this._disposables=new Q(new Set),this.manage=(Y)=>(this._disposables.value.add(Y),Y)}static withScope(Y){let Z=new W,$;try{return Y(Z)}catch(X){throw $=X,X}finally{E(Z,$)}}static withScopeMaybeAsync(Y,Z){return XW(void 0,function*($){let X=new W,j;try{return yield*$.of(Z.call(Y,$,X))}catch(G){throw j=G,G}finally{E(X,j)}})}static async withScopeAsync(Y){let Z=new W,$;try{return await Y(Z)}catch(X){throw $=X,X}finally{E(Z,$)}}get alive(){return this._disposables.alive}dispose(){let Y=Array.from(this._disposables.value.values()).reverse();for(let Z of Y)Z.alive&&Z.dispose();this._disposables.dispose()}};function jW(W){let Y=W?Array.from(W):[];function Z(){return Y.forEach((X)=>X.alive?X.dispose():void 0)}function $(){return Y.some((X)=>X.alive)}return Object.defineProperty(Y,S,{configurable:!0,enumerable:!1,value:Z}),Object.defineProperty(Y,"dispose",{configurable:!0,enumerable:!1,value:Z}),Object.defineProperty(Y,"alive",{configurable:!0,enumerable:!1,get:$}),Y}function F(W){return!!(W&&(typeof W=="object"||typeof W=="function")&&("alive"in W)&&typeof W.alive=="boolean"&&("dispose"in W)&&typeof W.dispose=="function")}var f=class W extends q{static success(Y){return new KW(Y)}static fail(Y,Z){return new GW(Y,Z)}static is(Y){return Y instanceof W}},KW=class extends f{constructor(W){super();this.value=W}get alive(){return F(this.value)?this.value.alive:!0}dispose(){F(this.value)&&this.value.dispose()}unwrap(){return this.value}unwrapOr(W){return this.value}},GW=class extends f{constructor(W,Y){super();this.error=W,this.onUnwrap=Y}get alive(){return F(this.error)?this.error.alive:!0}dispose(){F(this.error)&&this.error.dispose()}unwrap(){throw this.onUnwrap(this),this.error}unwrapOr(W){return W}},w=f,VW=class extends q{constructor(W){super();this.resolve=(Y)=>{this.resolveHandle.alive&&(this.context.unwrapResult(this.context.callFunction(this.resolveHandle,this.context.undefined,Y||this.context.undefined)).dispose(),this.disposeResolvers(),this.onSettled())},this.reject=(Y)=>{this.rejectHandle.alive&&(this.context.unwrapResult(this.context.callFunction(this.rejectHandle,this.context.undefined,Y||this.context.undefined)).dispose(),this.disposeResolvers(),this.onSettled())},this.dispose=()=>{this.handle.alive&&this.handle.dispose(),this.disposeResolvers()},this.context=W.context,this.owner=W.context.runtime,this.handle=W.promiseHandle,this.settled=new Promise((Y)=>{this.onSettled=Y}),this.resolveHandle=W.resolveHandle,this.rejectHandle=W.rejectHandle}get alive(){return this.handle.alive||this.resolveHandle.alive||this.rejectHandle.alive}disposeResolvers(){this.resolveHandle.alive&&this.resolveHandle.dispose(),this.rejectHandle.alive&&this.rejectHandle.dispose()}},t=class{constructor(W){this.module=W}toPointerArray(W){let Y=new Int32Array(W.map((X)=>X.value)),Z=Y.length*Y.BYTES_PER_ELEMENT,$=this.module._malloc(Z);return new Uint8Array(this.module.HEAPU8.buffer,$,Z).set(new Uint8Array(Y.buffer)),new Q($,void 0,(X)=>this.module._free(X))}newTypedArray(W,Y){let Z=new W(Array(Y).fill(0)),$=Z.length*Z.BYTES_PER_ELEMENT,X=this.module._malloc($),j=new W(this.module.HEAPU8.buffer,X,Y);return j.set(Z),new Q({typedArray:j,ptr:X},void 0,(G)=>this.module._free(G.ptr))}newMutablePointerArray(W){return this.newTypedArray(Int32Array,W)}newHeapCharPointer(W){let Y=this.module.lengthBytesUTF8(W),Z=Y+1,$=this.module._malloc(Z);return this.module.stringToUTF8(W,$,Z),new Q({ptr:$,strlen:Y},void 0,(X)=>this.module._free(X.ptr))}newHeapBufferPointer(W){let Y=W.byteLength,Z=this.module._malloc(Y);return this.module.HEAPU8.set(W,Z),new Q({pointer:Z,numBytes:Y},void 0,($)=>this.module._free($.pointer))}consumeHeapCharPointer(W){let Y=this.module.UTF8ToString(W);return this.module._free(W),Y}},FW=Symbol("Unstable"),OW=Object.freeze({BaseObjects:!0,Date:!0,Eval:!0,StringNormalize:!0,RegExp:!0,JSON:!0,Proxy:!0,MapSet:!0,TypedArrays:!0,Promise:!0});function TW(W){if(!W)return 0;let Y=0;for(let[Z,$]of Object.entries(W)){if(!(Z in O))throw new n(Z);$&&(Y|=O[Z])}return Y}function QW(W){if(typeof W=="number")return W;if(W===void 0)return 0;let{type:Y,strict:Z,strip:$,compileOnly:X,backtraceBarrier:j}=W,G=0;return Y==="global"&&(G|=L.JS_EVAL_TYPE_GLOBAL),Y==="module"&&(G|=L.JS_EVAL_TYPE_MODULE),Z&&(G|=L.JS_EVAL_FLAG_STRICT),$&&(G|=L.JS_EVAL_FLAG_STRIP),X&&(G|=L.JS_EVAL_FLAG_COMPILE_ONLY),j&&(G|=L.JS_EVAL_FLAG_BACKTRACE_BARRIER),G}function zW(W){if(typeof W=="number")return W;if(W===void 0)return 0;let{strings:Y,symbols:Z,quickjsPrivate:$,onlyEnumerable:X,numbers:j,numbersAsStrings:G}=W,K=0;return Y&&(K|=U.JS_GPN_STRING_MASK),Z&&(K|=U.JS_GPN_SYMBOL_MASK),$&&(K|=U.JS_GPN_PRIVATE_MASK),X&&(K|=U.JS_GPN_ENUM_ONLY),j&&(K|=U.QTS_GPN_NUMBER_MASK),G&&(K|=U.QTS_STANDARD_COMPLIANT_NUMBER),K}function qW(...W){let Y=[];for(let Z of W)Z!==void 0&&(Y=Y.concat(Z));return Y}var CW=class extends q{constructor(W,Y){super();this.handle=W,this.context=Y,this._isDone=!1,this.owner=Y.runtime}[Symbol.iterator](){return this}next(W){if(!this.alive||this._isDone)return{done:!0,value:void 0};let Y=this._next??(this._next=this.context.getProp(this.handle,"next"));return this.callIteratorMethod(Y,W)}return(W){if(!this.alive)return{done:!0,value:void 0};let Y=this.context.getProp(this.handle,"return");if(Y===this.context.undefined&&W===void 0)return this.dispose(),{done:!0,value:void 0};let Z=this.callIteratorMethod(Y,W);return Y.dispose(),this.dispose(),Z}throw(W){if(!this.alive)return{done:!0,value:void 0};let Y=W instanceof Q?W:this.context.newError(W),Z=this.context.getProp(this.handle,"throw"),$=this.callIteratorMethod(Z,W);return Y.alive&&Y.dispose(),Z.dispose(),this.dispose(),$}get alive(){return this.handle.alive}dispose(){this._isDone=!0,this.handle.dispose(),this._next?.dispose()}callIteratorMethod(W,Y){let Z=Y?this.context.callFunction(W,this.handle,Y):this.context.callFunction(W,this.handle);if(Z.error)return this.dispose(),{value:Z};let $=this.context.getProp(Z.value,"done").consume((j)=>this.context.dump(j)),X=this.context.getProp(Z.value,"value");return Z.value.dispose(),$&&this.dispose(),{value:w.success(X),done:$}}},g=-2147483648,m=2147483647,A=0;function H(W){return W>>8}var BW=class{constructor(){this.nextId=g,this.freelist=[],this.groups=new Map}put(W){let Y=this.allocateId(),Z=H(Y),$=this.groups.get(Z);return $||($=new Map,this.groups.set(Z,$)),$.set(Y,W),Y}get(W){if(W===A)throw new C("no host reference id defined");let Y=H(W),Z=this.groups.get(Y);if(!Z)throw new C(`host reference id ${W} is not defined`);let $=Z.get(W);if(!$)throw new C(`host reference id ${W} is not defined`);return $}delete(W){if(W===A)throw new C("no host reference id defined");let Y=H(W),Z=this.groups.get(Y);if(!Z)throw new C(`host reference id ${W} is not defined`);Z.delete(W),Z.size===0&&this.groups.delete(Y),this.freelist.push(W)}allocateId(){if(this.freelist.length>0)return this.freelist.shift();if(this.nextId===A&&this.nextId++,this.nextId>m)throw new s(`HostRefMap: too many host refs created without disposing. Max simultaneous host refs: ${m-g}`);return this.nextId++}},c=class extends q{constructor(W,Y,Z){if(Z===A)throw new C("cannot create HostRef with undefined id");super();this.runtime=W,this.handle=Y,this.id=Z}get alive(){return this.handle.alive}dispose(){this.handle.dispose()}get value(){return this.runtime.hostRefs.get(this.id)}},LW=class extends t{constructor(W){super(W.module);this.scope=new z,this.copyJSValue=(Y)=>this.ffi.QTS_DupValuePointer(this.ctx.value,Y),this.freeJSValue=(Y)=>{this.ffi.QTS_FreeValuePointer(this.ctx.value,Y)},W.ownedLifetimes?.forEach((Y)=>this.scope.manage(Y)),this.owner=W.owner,this.module=W.module,this.ffi=W.ffi,this.rt=W.rt,this.ctx=this.scope.manage(W.ctx)}get alive(){return this.scope.alive}dispose(){return this.scope.dispose()}[Symbol.dispose](){return this.dispose()}manage(W){return this.scope.manage(W)}consumeJSCharPointer(W){let Y=this.module.UTF8ToString(W);return this.ffi.QTS_FreeCString(this.ctx.value,W),Y}heapValueHandle(W,Y){let Z=Y?($)=>{Y(),this.freeJSValue($)}:this.freeJSValue;return new Q(W,this.copyJSValue,Z,this.owner)}staticHeapValueHandle(W){return this.manage(this.heapValueHandle(W)),new J(W,this.owner)}},UW=class extends q{constructor(W){super();this._undefined=void 0,this._null=void 0,this._false=void 0,this._true=void 0,this._global=void 0,this._BigInt=void 0,this._Symbol=void 0,this._SymbolIterator=void 0,this._SymbolAsyncIterator=void 0,this.cToHostCallbacks={callFunction:(Y,Z,$,X,j)=>{if(Y!==this.ctx.value)throw Error("QuickJSContext instance received C -> JS call with mismatched ctx");let G=this.getFunction(j);return z.withScopeMaybeAsync(this,function*(K,V){let B=V.manage(new h(Z,this.memory.copyJSValue,this.memory.freeJSValue,this.runtime)),D=Array($);for(let T=0;T<$;T++){let M=this.ffi.QTS_ArgvGetJSValueConstPointer(X,T);D[T]=V.manage(new h(M,this.memory.copyJSValue,this.memory.freeJSValue,this.runtime))}try{let T=yield*K(G.apply(B,D));if(T){if("error"in T&&T.error)throw this.runtime.debugLog("throw error",T.error),T.error;let M=V.manage(T instanceof Q?T:T.value);return this.ffi.QTS_DupValuePointer(this.ctx.value,M.value)}return 0}catch(T){return this.errorToHandle(T).consume((M)=>this.ffi.QTS_Throw(this.ctx.value,M.value))}})}},this.runtime=W.runtime,this.module=W.module,this.ffi=W.ffi,this.rt=W.rt,this.ctx=W.ctx,this.memory=new LW({...W,owner:this.runtime}),W.callbacks.setContextCallbacks(this.ctx.value,this.cToHostCallbacks),this.dump=this.dump.bind(this),this.getString=this.getString.bind(this),this.getNumber=this.getNumber.bind(this),this.resolvePromise=this.resolvePromise.bind(this),this.uint32Out=this.memory.manage(this.memory.newTypedArray(Uint32Array,1))}get alive(){return this.memory.alive}dispose(){this.memory.dispose()}get undefined(){if(this._undefined)return this._undefined;let W=this.ffi.QTS_GetUndefined();return this._undefined=new J(W)}get null(){if(this._null)return this._null;let W=this.ffi.QTS_GetNull();return this._null=new J(W)}get true(){if(this._true)return this._true;let W=this.ffi.QTS_GetTrue();return this._true=new J(W)}get false(){if(this._false)return this._false;let W=this.ffi.QTS_GetFalse();return this._false=new J(W)}get global(){if(this._global)return this._global;let W=this.ffi.QTS_GetGlobalObject(this.ctx.value);return this._global=this.memory.staticHeapValueHandle(W),this._global}newNumber(W){return this.memory.heapValueHandle(this.ffi.QTS_NewFloat64(this.ctx.value,W))}newString(W){let Y=this.memory.newHeapCharPointer(W).consume((Z)=>this.ffi.QTS_NewString(this.ctx.value,Z.value.ptr));return this.memory.heapValueHandle(Y)}newUniqueSymbol(W){let Y=(typeof W=="symbol"?W.description:W)??"",Z=this.memory.newHeapCharPointer(Y).consume(($)=>this.ffi.QTS_NewSymbol(this.ctx.value,$.value.ptr,0));return this.memory.heapValueHandle(Z)}newSymbolFor(W){let Y=(typeof W=="symbol"?W.description:W)??"",Z=this.memory.newHeapCharPointer(Y).consume(($)=>this.ffi.QTS_NewSymbol(this.ctx.value,$.value.ptr,1));return this.memory.heapValueHandle(Z)}getWellKnownSymbol(W){return this._Symbol??(this._Symbol=this.memory.manage(this.getProp(this.global,"Symbol"))),this.getProp(this._Symbol,W)}newBigInt(W){if(!this._BigInt){let $=this.getProp(this.global,"BigInt");this.memory.manage($),this._BigInt=new J($.value,this.runtime)}let Y=this._BigInt,Z=String(W);return this.newString(Z).consume(($)=>this.unwrapResult(this.callFunction(Y,this.undefined,$)))}newObject(W){W&&this.runtime.assertOwned(W);let Y=W?this.ffi.QTS_NewObjectProto(this.ctx.value,W.value):this.ffi.QTS_NewObject(this.ctx.value);return this.memory.heapValueHandle(Y)}newArray(){let W=this.ffi.QTS_NewArray(this.ctx.value);return this.memory.heapValueHandle(W)}newArrayBuffer(W){let Y=new Uint8Array(W),Z=this.memory.newHeapBufferPointer(Y),$=this.ffi.QTS_NewArrayBuffer(this.ctx.value,Z.value.pointer,Y.length);return this.memory.heapValueHandle($)}newPromise(W){let Y=z.withScope((Z)=>{let $=Z.manage(this.memory.newMutablePointerArray(2)),X=this.ffi.QTS_NewPromiseCapability(this.ctx.value,$.value.ptr),j=this.memory.heapValueHandle(X),[G,K]=Array.from($.value.typedArray).map((V)=>this.memory.heapValueHandle(V));return new VW({context:this,promiseHandle:j,resolveHandle:G,rejectHandle:K})});return W&&typeof W=="function"&&(W=new Promise(W)),W&&Promise.resolve(W).then(Y.resolve,(Z)=>Z instanceof Q?Y.reject(Z):this.newError(Z).consume(Y.reject)),Y}newFunction(W,Y){let Z=typeof W=="function"?W:Y;if(!Z)throw TypeError("Expected a function");return this.newFunctionWithOptions({name:typeof W=="string"?W:void 0,length:Z.length,isConstructor:!1,fn:Z})}newConstructorFunction(W,Y){let Z=typeof W=="function"?W:Y;if(!Z)throw TypeError("Expected a function");return this.newFunctionWithOptions({name:typeof W=="string"?W:void 0,length:Z.length,isConstructor:!0,fn:Z})}newFunctionWithOptions(W){let{name:Y,length:Z,isConstructor:$,fn:X}=W,j=this.runtime.hostRefs.put(X);try{return this.memory.heapValueHandle(this.ffi.QTS_NewFunction(this.ctx.value,Y??"",Z,$,j))}catch(G){throw this.runtime.hostRefs.delete(j),G}}newError(W){let Y=this.memory.heapValueHandle(this.ffi.QTS_NewError(this.ctx.value));return W&&typeof W=="object"?(W.name!==void 0&&this.newString(W.name).consume((Z)=>this.setProp(Y,"name",Z)),W.message!==void 0&&this.newString(W.message).consume((Z)=>this.setProp(Y,"message",Z))):typeof W=="string"?this.newString(W).consume((Z)=>this.setProp(Y,"message",Z)):W!==void 0&&this.newString(String(W)).consume((Z)=>this.setProp(Y,"message",Z)),Y}newHostRef(W){let Y=this.runtime.hostRefs.put(W);try{let Z=this.memory.heapValueHandle(this.ffi.QTS_NewHostRef(this.ctx.value,Y));return new c(this.runtime,Z,Y)}catch(Z){throw this.runtime.hostRefs.delete(Y),Z}}toHostRef(W){let Y=this.ffi.QTS_GetHostRefId(W.value);if(Y!==0)return this.runtime.hostRefs.get(Y),new c(this.runtime,W.dup(),Y)}unwrapHostRef(W){let Y=this.ffi.QTS_GetHostRefId(W.value);if(Y===0)throw new C("handle is not a HostRef");return this.runtime.hostRefs.get(Y)}typeof(W){return this.runtime.assertOwned(W),this.memory.consumeHeapCharPointer(this.ffi.QTS_Typeof(this.ctx.value,W.value))}getNumber(W){return this.runtime.assertOwned(W),this.ffi.QTS_GetFloat64(this.ctx.value,W.value)}getString(W){return this.runtime.assertOwned(W),this.memory.consumeJSCharPointer(this.ffi.QTS_GetString(this.ctx.value,W.value))}getSymbol(W){this.runtime.assertOwned(W);let Y=this.memory.consumeJSCharPointer(this.ffi.QTS_GetSymbolDescriptionOrKey(this.ctx.value,W.value));return this.ffi.QTS_IsGlobalSymbol(this.ctx.value,W.value)?Symbol.for(Y):Symbol(Y)}getBigInt(W){this.runtime.assertOwned(W);let Y=this.getString(W);return BigInt(Y)}getArrayBuffer(W){this.runtime.assertOwned(W);let Y=this.ffi.QTS_GetArrayBufferLength(this.ctx.value,W.value),Z=this.ffi.QTS_GetArrayBuffer(this.ctx.value,W.value);if(!Z)throw Error("Couldn't allocate memory to get ArrayBuffer");return new Q(this.module.HEAPU8.subarray(Z,Z+Y),void 0,()=>this.module._free(Z))}getPromiseState(W){this.runtime.assertOwned(W);let Y=this.ffi.QTS_PromiseState(this.ctx.value,W.value);if(Y<0)return{type:"fulfilled",value:W,notAPromise:!0};if(Y===I.Pending)return{type:"pending",get error(){return new l("Cannot unwrap a pending promise")}};let Z=this.ffi.QTS_PromiseResult(this.ctx.value,W.value),$=this.memory.heapValueHandle(Z);if(Y===I.Fulfilled)return{type:"fulfilled",value:$};if(Y===I.Rejected)return{type:"rejected",error:$};throw $.dispose(),Error(`Unknown JSPromiseStateEnum: ${Y}`)}resolvePromise(W){this.runtime.assertOwned(W);let Y=z.withScope((Z)=>{let $=Z.manage(this.getProp(this.global,"Promise")),X=Z.manage(this.getProp($,"resolve"));return this.callFunction(X,$,W)});return Y.error?Promise.resolve(Y):new Promise((Z)=>{z.withScope(($)=>{let X=$.manage(this.newFunction("resolve",(V)=>{Z(this.success(V&&V.dup()))})),j=$.manage(this.newFunction("reject",(V)=>{Z(this.fail(V&&V.dup()))})),G=$.manage(Y.value),K=$.manage(this.getProp(G,"then"));this.callFunction(K,G,X,j).unwrap().dispose()})})}isEqual(W,Y,Z=R.IsStrictlyEqual){if(W===Y)return!0;this.runtime.assertOwned(W),this.runtime.assertOwned(Y);let $=this.ffi.QTS_IsEqual(this.ctx.value,W.value,Y.value,Z);if($===-1)throw new p("WASM variant does not expose equality");return!!$}eq(W,Y){return this.isEqual(W,Y,R.IsStrictlyEqual)}sameValue(W,Y){return this.isEqual(W,Y,R.IsSameValue)}sameValueZero(W,Y){return this.isEqual(W,Y,R.IsSameValueZero)}getProp(W,Y){this.runtime.assertOwned(W);let Z;return typeof Y=="number"&&Y>=0?Z=this.ffi.QTS_GetPropNumber(this.ctx.value,W.value,Y):Z=this.borrowPropertyKey(Y).consume(($)=>this.ffi.QTS_GetProp(this.ctx.value,W.value,$.value)),this.memory.heapValueHandle(Z)}getLength(W){if(this.runtime.assertOwned(W),!(this.ffi.QTS_GetLength(this.ctx.value,this.uint32Out.value.ptr,W.value)<0))return this.uint32Out.value.typedArray[0]}getOwnPropertyNames(W,Y={strings:!0,numbersAsStrings:!0}){this.runtime.assertOwned(W),W.value;let Z=zW(Y);if(Z===0)throw new o("No options set, will return an empty array");return z.withScope(($)=>{let X=$.manage(this.memory.newMutablePointerArray(1)),j=this.ffi.QTS_GetOwnPropertyNames(this.ctx.value,X.value.ptr,this.uint32Out.value.ptr,W.value,Z);if(j)return this.fail(this.memory.heapValueHandle(j));let G=this.uint32Out.value.typedArray[0],K=X.value.typedArray[0],V=new Uint32Array(this.module.HEAP8.buffer,K,G),B=Array.from(V).map((D)=>this.memory.heapValueHandle(D));return this.ffi.QTS_FreeVoidPointer(this.ctx.value,K),this.success(jW(B))})}getIterator(W){let Y=this._SymbolIterator??(this._SymbolIterator=this.memory.manage(this.getWellKnownSymbol("iterator")));return z.withScope((Z)=>{let $=Z.manage(this.getProp(W,Y)),X=this.callFunction($,W);return X.error?X:this.success(new CW(X.value,this))})}setProp(W,Y,Z){this.runtime.assertOwned(W),this.borrowPropertyKey(Y).consume(($)=>this.ffi.QTS_SetProp(this.ctx.value,W.value,$.value,Z.value))}defineProp(W,Y,Z){this.runtime.assertOwned(W),z.withScope(($)=>{let X=$.manage(this.borrowPropertyKey(Y)),j=Z.value||this.undefined,G=!!Z.configurable,K=!!Z.enumerable,V=!!Z.value,B=Z.get?$.manage(this.newFunction(Z.get.name,Z.get)):this.undefined,D=Z.set?$.manage(this.newFunction(Z.set.name,Z.set)):this.undefined;this.ffi.QTS_DefineProp(this.ctx.value,W.value,X.value,j.value,B.value,D.value,G,K,V)})}callFunction(W,Y,...Z){this.runtime.assertOwned(W);let $,X=Z[0];X===void 0||Array.isArray(X)?$=X??[]:$=Z;let j=this.memory.toPointerArray($).consume((K)=>this.ffi.QTS_Call(this.ctx.value,W.value,Y.value,$.length,K.value)),G=this.ffi.QTS_ResolveException(this.ctx.value,j);return G?(this.ffi.QTS_FreeValuePointer(this.ctx.value,j),this.fail(this.memory.heapValueHandle(G))):this.success(this.memory.heapValueHandle(j))}callMethod(W,Y,Z=[]){return this.getProp(W,Y).consume(($)=>this.callFunction($,W,Z))}evalCode(W,Y="eval.js",Z){let $=Z===void 0?1:0,X=QW(Z),j=this.memory.newHeapCharPointer(W).consume((K)=>this.ffi.QTS_Eval(this.ctx.value,K.value.ptr,K.value.strlen,Y,$,X)),G=this.ffi.QTS_ResolveException(this.ctx.value,j);return G?(this.ffi.QTS_FreeValuePointer(this.ctx.value,j),this.fail(this.memory.heapValueHandle(G))):this.success(this.memory.heapValueHandle(j))}throw(W){return this.errorToHandle(W).consume((Y)=>this.ffi.QTS_Throw(this.ctx.value,Y.value))}borrowPropertyKey(W){return typeof W=="number"?this.newNumber(W):typeof W=="string"?this.newString(W):new J(W.value,this.runtime)}getMemory(W){if(W===this.rt.value)return this.memory;throw Error("Private API. Cannot get memory from a different runtime")}dump(W){this.runtime.assertOwned(W);let Y=this.typeof(W);if(Y==="string")return this.getString(W);if(Y==="number")return this.getNumber(W);if(Y==="bigint")return this.getBigInt(W);if(Y==="undefined")return;if(Y==="symbol")return this.getSymbol(W);let Z=this.getPromiseState(W);if(Z.type==="fulfilled"&&!Z.notAPromise)return W.dispose(),{type:Z.type,value:Z.value.consume(this.dump)};if(Z.type==="pending")return W.dispose(),{type:Z.type};if(Z.type==="rejected")return W.dispose(),{type:Z.type,error:Z.error.consume(this.dump)};let $=this.memory.consumeJSCharPointer(this.ffi.QTS_Dump(this.ctx.value,W.value));try{return JSON.parse($)}catch{return $}}unwrapResult(W){if(W.error){let Y="context"in W.error?W.error.context:this,Z=W.error.consume(($)=>this.dump($));if(Z&&typeof Z=="object"&&typeof Z.message=="string"){let{message:$,name:X,stack:j,...G}=Z,K=new _(Z,Y);typeof X=="string"&&(K.name=Z.name),K.message=$;let V=K.stack;throw typeof j=="string"&&(K.stack=`${X}: ${$}
|
|
6
6
|
${Z.stack}Host: ${V}`),Object.assign(K,G),K}throw new _(Z)}return W.value}[Symbol.for("nodejs.util.inspect.custom")](){return this.alive?`${this.constructor.name} { ctx: ${this.ctx.value} rt: ${this.rt.value} }`:`${this.constructor.name} { disposed }`}getFunction(W){let Y=this.runtime.hostRefs.get(W);if(typeof Y!="function")throw Error(`Host reference ${W} is not a function`);return Y}errorToHandle(W){return W instanceof Q?W:this.newError(W)}encodeBinaryJSON(W){let Y=this.ffi.QTS_bjson_encode(this.ctx.value,W.value);return this.memory.heapValueHandle(Y)}decodeBinaryJSON(W){let Y=this.ffi.QTS_bjson_decode(this.ctx.value,W.value);return this.memory.heapValueHandle(Y)}success(W){return w.success(W)}fail(W){return w.fail(W,(Y)=>this.unwrapResult(Y))}},JW=class extends q{constructor(W){super();this.scope=new z,this.contextMap=new Map,this.hostRefs=new BW,this._debugMode=!1,this.cToHostCallbacks={freeHostRef:(Y,Z)=>{if(Y!==this.rt.value)throw Error("Runtime pointer mismatch");this.hostRefs.delete(Z)},shouldInterrupt:(Y)=>{if(Y!==this.rt.value)throw Error("QuickJSContext instance received C -> JS interrupt with mismatched rt");let Z=this.interruptHandler;if(!Z)throw Error("QuickJSContext had no interrupt handler");return Z(this)?1:0},loadModuleSource:v(this,function*(Y,Z,$,X){let j=this.moduleLoader;if(!j)throw Error("Runtime has no module loader");if(Z!==this.rt.value)throw Error("Runtime pointer mismatch");let G=this.contextMap.get($)??this.newContext({contextPointer:$});try{let K=yield*Y(j(X,G));if(typeof K=="object"&&"error"in K&&K.error)throw this.debugLog("cToHostLoadModule: loader returned error",K.error),K.error;let V=typeof K=="string"?K:("value"in K)?K.value:K;return this.memory.newHeapCharPointer(V).value.ptr}catch(K){return this.debugLog("cToHostLoadModule: caught error",K),G.throw(K),0}}),normalizeModule:v(this,function*(Y,Z,$,X,j){let G=this.moduleNormalizer;if(!G)throw Error("Runtime has no module normalizer");if(Z!==this.rt.value)throw Error("Runtime pointer mismatch");let K=this.contextMap.get($)??this.newContext({contextPointer:$});try{let V=yield*Y(G(X,j,K));if(typeof V=="object"&&"error"in V&&V.error)throw this.debugLog("cToHostNormalizeModule: normalizer returned error",V.error),V.error;let B=typeof V=="string"?V:V.value;return K.getMemory(this.rt.value).newHeapCharPointer(B).value.ptr}catch(V){return this.debugLog("normalizeModule: caught error",V),K.throw(V),0}})},W.ownedLifetimes?.forEach((Y)=>this.scope.manage(Y)),this.module=W.module,this.memory=new t(this.module),this.ffi=W.ffi,this.rt=W.rt,this.callbacks=W.callbacks,this.scope.manage(this.rt),this.callbacks.setRuntimeCallbacks(this.rt.value,this.cToHostCallbacks),this.executePendingJobs=this.executePendingJobs.bind(this),x&&this.setDebugMode(!0)}get alive(){return this.scope.alive}dispose(){return this.scope.dispose()}newContext(W={}){let Y=TW(W.intrinsics),Z=new Q(W.contextPointer||this.ffi.QTS_NewContext(this.rt.value,Y),void 0,(X)=>{this.contextMap.delete(X),this.callbacks.deleteContext(X),this.ffi.QTS_FreeContext(X)}),$=new UW({module:this.module,ctx:Z,ffi:this.ffi,rt:this.rt,ownedLifetimes:W.ownedLifetimes,runtime:this,callbacks:this.callbacks});return this.contextMap.set(Z.value,$),$}setModuleLoader(W,Y){this.moduleLoader=W,this.moduleNormalizer=Y,this.ffi.QTS_RuntimeEnableModuleLoader(this.rt.value,this.moduleNormalizer?1:0)}removeModuleLoader(){this.moduleLoader=void 0,this.ffi.QTS_RuntimeDisableModuleLoader(this.rt.value)}hasPendingJob(){return!!this.ffi.QTS_IsJobPending(this.rt.value)}setInterruptHandler(W){let Y=this.interruptHandler;this.interruptHandler=W,Y||this.ffi.QTS_RuntimeEnableInterruptHandler(this.rt.value)}removeInterruptHandler(){this.interruptHandler&&(this.ffi.QTS_RuntimeDisableInterruptHandler(this.rt.value),this.interruptHandler=void 0)}executePendingJobs(W=-1){let Y=this.memory.newMutablePointerArray(1),Z=this.ffi.QTS_ExecutePendingJob(this.rt.value,W??-1,Y.value.ptr),$=Y.value.typedArray[0];if(Y.dispose(),$===0)return this.ffi.QTS_FreeValuePointerRuntime(this.rt.value,Z),w.success(0);let X=this.contextMap.get($)??this.newContext({contextPointer:$}),j=X.getMemory(this.rt.value).heapValueHandle(Z);if(X.typeof(j)==="number"){let G=X.getNumber(j);return j.dispose(),w.success(G)}else{let G=Object.assign(j,{context:X});return w.fail(G,(K)=>X.unwrapResult(K))}}setMemoryLimit(W){if(W<0&&W!==-1)throw Error("Cannot set memory limit to negative number. To unset, pass -1");this.ffi.QTS_RuntimeSetMemoryLimit(this.rt.value,W)}computeMemoryUsage(){let W=this.getSystemContext().getMemory(this.rt.value);return W.heapValueHandle(this.ffi.QTS_RuntimeComputeMemoryUsage(this.rt.value,W.ctx.value))}dumpMemoryUsage(){return this.memory.consumeHeapCharPointer(this.ffi.QTS_RuntimeDumpMemoryUsage(this.rt.value))}setMaxStackSize(W){if(W<0)throw Error("Cannot set memory limit to negative number. To unset, pass 0.");this.ffi.QTS_RuntimeSetMaxStackSize(this.rt.value,W)}assertOwned(W){if(W.owner&&W.owner.rt!==this.rt)throw new u(`Handle is not owned by this runtime: ${W.owner.rt.value} != ${this.rt.value}`)}setDebugMode(W){this._debugMode=W,this.ffi.DEBUG&&this.rt.alive&&this.ffi.QTS_SetDebugLogEnabled(this.rt.value,W?1:0)}isDebugMode(){return this._debugMode}debugLog(...W){this._debugMode&&console.log("quickjs-emscripten:",...W)}[Symbol.for("nodejs.util.inspect.custom")](){return this.alive?`${this.constructor.name} { rt: ${this.rt.value} }`:`${this.constructor.name} { disposed }`}getSystemContext(){return this.context||(this.context=this.scope.manage(this.newContext())),this.context}},DW=class{constructor(W){this.freeHostRef=W.freeHostRef,this.callFunction=W.callFunction,this.shouldInterrupt=W.shouldInterrupt,this.loadModuleSource=W.loadModuleSource,this.normalizeModule=W.normalizeModule}},wW=class{constructor(W){this.contextCallbacks=new Map,this.runtimeCallbacks=new Map,this.suspendedCount=0,this.cToHostCallbacks=new DW({freeHostRef:(Y,Z,$)=>{let X=this.runtimeCallbacks.get(Z);if(!X)throw Error(`QuickJSRuntime(rt = ${Z}) not found when trying to free HostRef(id = ${$})`);X.freeHostRef(Z,$)},callFunction:(Y,Z,$,X,j,G)=>this.handleAsyncify(Y,()=>{try{let K=this.contextCallbacks.get(Z);if(!K)throw Error(`QuickJSContext(ctx = ${Z}) not found for C function call "${G}"`);return K.callFunction(Z,$,X,j,G)}catch(K){return console.error("[C to host error: returning null]",K),0}}),shouldInterrupt:(Y,Z)=>this.handleAsyncify(Y,()=>{try{let $=this.runtimeCallbacks.get(Z);if(!$)throw Error(`QuickJSRuntime(rt = ${Z}) not found for C interrupt`);return $.shouldInterrupt(Z)}catch($){return console.error("[C to host interrupt: returning error]",$),1}}),loadModuleSource:(Y,Z,$,X)=>this.handleAsyncify(Y,()=>{try{let j=this.runtimeCallbacks.get(Z);if(!j)throw Error(`QuickJSRuntime(rt = ${Z}) not found for C module loader`);let G=j.loadModuleSource;if(!G)throw Error(`QuickJSRuntime(rt = ${Z}) does not support module loading`);return G(Z,$,X)}catch(j){return console.error("[C to host module loader error: returning null]",j),0}}),normalizeModule:(Y,Z,$,X,j)=>this.handleAsyncify(Y,()=>{try{let G=this.runtimeCallbacks.get(Z);if(!G)throw Error(`QuickJSRuntime(rt = ${Z}) not found for C module loader`);let K=G.normalizeModule;if(!K)throw Error(`QuickJSRuntime(rt = ${Z}) does not support module loading`);return K(Z,$,X,j)}catch(G){return console.error("[C to host module loader error: returning null]",G),0}})}),this.module=W,this.module.callbacks=this.cToHostCallbacks}setRuntimeCallbacks(W,Y){this.runtimeCallbacks.set(W,Y)}deleteRuntime(W){this.runtimeCallbacks.delete(W)}setContextCallbacks(W,Y){this.contextCallbacks.set(W,Y)}deleteContext(W){this.contextCallbacks.delete(W)}handleAsyncify(W,Y){if(W)return W.handleSleep(($)=>{try{let X=Y();if(!(X instanceof Promise)){N("asyncify.handleSleep: not suspending:",X),$(X);return}if(this.suspended)throw new d(`Already suspended at: ${this.suspended.stack}
|
|
7
7
|
Attempted to suspend at:`);this.suspended=new i(`(${this.suspendedCount++})`),N("asyncify.handleSleep: suspending:",this.suspended),X.then((j)=>{this.suspended=void 0,N("asyncify.handleSleep: resolved:",j),$(j)},(j)=>{N("asyncify.handleSleep: rejected:",j),console.error("QuickJS: cannot handle error in suspended function",j),this.suspended=void 0})}catch(X){throw N("asyncify.handleSleep: error:",X),this.suspended=void 0,X}});let Z=Y();if(Z instanceof Promise)throw Error("Promise return value not supported in non-asyncify context.");return Z}};function MW(W,Y){Y.interruptHandler&&W.setInterruptHandler(Y.interruptHandler),Y.maxStackSizeBytes!==void 0&&W.setMaxStackSize(Y.maxStackSizeBytes),Y.memoryLimitBytes!==void 0&&W.setMemoryLimit(Y.memoryLimitBytes)}function RW(W,Y){Y.moduleLoader&&W.setModuleLoader(Y.moduleLoader),Y.shouldInterrupt&&W.setInterruptHandler(Y.shouldInterrupt),Y.memoryLimitBytes!==void 0&&W.setMemoryLimit(Y.memoryLimitBytes),Y.maxStackSizeBytes!==void 0&&W.setMaxStackSize(Y.maxStackSizeBytes)}var EW=class{constructor(W,Y){this.module=W,this.ffi=Y,this.callbacks=new wW(W)}newRuntime(W={}){let Y=new Q(this.ffi.QTS_NewRuntime(),void 0,($)=>{this.ffi.QTS_FreeRuntime($),this.callbacks.deleteRuntime($)}),Z=new JW({module:this.module,callbacks:this.callbacks,ffi:this.ffi,rt:Y});return MW(Z,W),W.moduleLoader&&Z.setModuleLoader(W.moduleLoader),Z}newContext(W={}){let Y=this.newRuntime(),Z=Y.newContext({...W,ownedLifetimes:qW(Y,W.ownedLifetimes)});return Y.context=Z,Z}evalCode(W,Y={}){return z.withScope((Z)=>{let $=Z.manage(this.newContext());RW($.runtime,Y);let X=$.evalCode(W,"eval.js");if(Y.memoryLimitBytes!==void 0&&$.runtime.setMemoryLimit(-1),X.error)throw $.dump(Z.manage(X.error));return $.dump(Z.manage(X.value))})}getWasmMemory(){let W=this.module.quickjsEmscriptenInit?.(()=>{})?.getWasmMemory?.();if(!W)throw Error("Variant does not support getting WebAssembly.Memory");return W}getFFI(){return this.ffi}};
|
|
8
|
-
export{p as
|
|
8
|
+
export{p as Fh,Q as Gh,z as Hh,TW as Ih,QW as Jh,UW as Kh,JW as Lh,wW as Mh,MW as Nh,RW as Oh,EW as Ph};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Df as q,Ef as i,Ff as y,Jf as n}from"./chunk-2drzgtv3.js";import{tO as o}from"./chunk-r9w0thdk.js";var Ej=o((wj)=>{var M=n(),U=y(),V=i(),a=q(),X=async(j=new Uint8Array,m)=>{if(j instanceof Uint8Array)return M.Uint8ArrayBlobAdapter.mutate(j);if(!j)return M.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let w=m.streamCollector(j);return M.Uint8ArrayBlobAdapter.mutate(await w)};function _(j){return encodeURIComponent(j).replace(/[!'()*]/g,function(m){return"%"+m.charCodeAt(0).toString(16).toUpperCase()})}class Y{serdeContext;setSerdeContext(j){this.serdeContext=j}}class f extends Y{options;compositeErrorRegistry;constructor(j){super();this.options=j,this.compositeErrorRegistry=U.TypeRegistry.for(j.defaultNamespace);for(let m of j.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(m)}getRequestType(){return V.HttpRequest}getResponseType(){return V.HttpResponse}setSerdeContext(j){if(this.serdeContext=j,this.serializer.setSerdeContext(j),this.deserializer.setSerdeContext(j),this.getPayloadCodec())this.getPayloadCodec().setSerdeContext(j)}updateServiceEndpoint(j,m){if("url"in m){if(j.protocol=m.url.protocol,j.hostname=m.url.hostname,j.port=m.url.port?Number(m.url.port):void 0,j.path=m.url.pathname,j.fragment=m.url.hash||void 0,j.username=m.url.username||void 0,j.password=m.url.password||void 0,!j.query)j.query={};for(let[w,z]of m.url.searchParams.entries())j.query[w]=z;if(m.headers)for(let w in m.headers)j.headers[w]=m.headers[w].join(", ");return j}else{if(j.protocol=m.protocol,j.hostname=m.hostname,j.port=m.port?Number(m.port):void 0,j.path=m.path,j.query={...m.query},m.headers)for(let w in m.headers)j.headers[w]=m.headers[w];return j}}setHostPrefix(j,m,w){if(this.serdeContext?.disableHostPrefix)return;let z=U.NormalizedSchema.of(m.input),A=U.translateTraits(m.traits??{});if(A.endpoint){let B=A.endpoint?.[0];if(typeof B==="string"){for(let[F,D]of z.structIterator()){if(!D.getMergedTraits().hostLabel)continue;let J=w[F];if(typeof J!=="string")throw Error(`@smithy/core/schema - ${F} in input must be a string as hostLabel.`);B=B.replace(`{${F}}`,J)}j.hostname=B+j.hostname}}}deserializeMetadata(j){return{httpStatusCode:j.statusCode,requestId:j.headers["x-amzn-requestid"]??j.headers["x-amzn-request-id"]??j.headers["x-amz-request-id"],extendedRequestId:j.headers["x-amz-id-2"],cfId:j.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:j,requestSchema:m,initialRequest:w}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:j,requestSchema:m,initialRequest:w})}async deserializeEventStream({response:j,responseSchema:m,initialResponseContainer:w}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:j,responseSchema:m,initialResponseContainer:w})}async loadEventStreamCapability(){let{EventStreamSerde:j}=await import("./chunk-48r70n4s.js");return new j({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(j,m,w,z,A){return[]}getEventStreamMarshaller(){let j=this.serdeContext;if(!j.eventStreamMarshaller)throw Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return j.eventStreamMarshaller}}class b extends f{async serializeRequest(j,m,w){let z=m&&typeof m==="object"?m:{},A=this.serializer,B={},F={},D=await w.endpoint(),J=U.NormalizedSchema.of(j?.input),T=[],N=[],O=!1,P,I=new V.HttpRequest({protocol:"",hostname:"",port:void 0,path:"",fragment:void 0,query:B,headers:F,body:void 0});if(D){this.updateServiceEndpoint(I,D),this.setHostPrefix(I,j,z);let G=U.translateTraits(j.traits);if(G.http){I.method=G.http[0];let[K,Q]=G.http[1].split("?");if(I.path=="/")I.path=K;else I.path+=K;let R=new URLSearchParams(Q??"");for(let[W,$]of R)B[W]=$}}for(let[G,K]of J.structIterator()){let Q=K.getMergedTraits()??{},R=z[G];if(R==null&&!K.isIdempotencyToken()){if(Q.httpLabel){if(I.path.includes(`{${G}+}`)||I.path.includes(`{${G}}`))throw Error(`No value provided for input HTTP label: ${G}.`)}continue}if(Q.httpPayload)if(K.isStreaming())if(K.isStructSchema()){if(z[G])P=await this.serializeEventStream({eventStream:z[G],requestSchema:J})}else P=R;else A.write(K,R),P=A.flush();else if(Q.httpLabel){A.write(K,R);let W=A.flush();if(I.path.includes(`{${G}+}`))I.path=I.path.replace(`{${G}+}`,W.split("/").map(_).join("/"));else if(I.path.includes(`{${G}}`))I.path=I.path.replace(`{${G}}`,_(W))}else if(Q.httpHeader)A.write(K,R),F[Q.httpHeader.toLowerCase()]=String(A.flush());else if(typeof Q.httpPrefixHeaders==="string")for(let W in R){let $=R[W],E=Q.httpPrefixHeaders+W;A.write([K.getValueSchema(),{httpHeader:E}],$),F[E.toLowerCase()]=A.flush()}else if(Q.httpQuery||Q.httpQueryParams)this.serializeQuery(K,R,B);else O=!0,T.push(G),N.push(K)}if(O&&z){let[G,K]=(J.getName(!0)??"#Unknown").split("#"),Q=J.getSchema()[6],R=[3,G,K,J.getMergedTraits(),T,N,void 0];if(Q)R[6]=Q;else R.pop();A.write(R,z),P=A.flush()}return I.headers=F,I.query=B,I.body=P,I}serializeQuery(j,m,w){let z=this.serializer,A=j.getMergedTraits();if(A.httpQueryParams){for(let B in m)if(!(B in w)){let F=m[B],D=j.getValueSchema();Object.assign(D.getMergedTraits(),{...A,httpQuery:B,httpQueryParams:void 0}),this.serializeQuery(D,F,w)}return}if(j.isListSchema()){let B=!!j.getMergedTraits().sparse,F=[];for(let D of m){z.write([j.getValueSchema(),A],D);let J=z.flush();if(B||J!==void 0)F.push(J)}w[A.httpQuery]=F}else z.write([j,A],m),w[A.httpQuery]=z.flush()}async deserializeResponse(j,m,w){let z=this.deserializer,A=U.NormalizedSchema.of(j.output),B={};if(w.statusCode>=300){let D=await X(w.body,m);if(D.byteLength>0)Object.assign(B,await z.read(15,D));throw await this.handleError(j,m,w,B,this.deserializeMetadata(w)),Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(let D in w.headers){let J=w.headers[D];delete w.headers[D],w.headers[D.toLowerCase()]=J}let F=await this.deserializeHttpMessage(A,m,w,B);if(F.length){let D=await X(w.body,m);if(D.byteLength>0){let J=await z.read(A,D);for(let T of F)if(J[T]!=null)B[T]=J[T]}}else if(F.discardResponseBody)await X(w.body,m);return B.$metadata=this.deserializeMetadata(w),B}async deserializeHttpMessage(j,m,w,z,A){let B;if(z instanceof Set)B=A;else B=z;let F=!0,D=this.deserializer,J=U.NormalizedSchema.of(j),T=[];for(let[N,O]of J.structIterator()){let P=O.getMemberTraits();if(P.httpPayload){if(F=!1,O.isStreaming())if(O.isStructSchema())B[N]=await this.deserializeEventStream({response:w,responseSchema:J});else B[N]=M.sdkStreamMixin(w.body);else if(w.body){let G=await X(w.body,m);if(G.byteLength>0)B[N]=await D.read(O,G)}}else if(P.httpHeader){let I=String(P.httpHeader).toLowerCase(),G=w.headers[I];if(G!=null)if(O.isListSchema()){let K=O.getValueSchema();K.getMergedTraits().httpHeader=I;let Q;if(K.isTimestampSchema()&&K.getSchema()===4)Q=M.splitEvery(G,",",2);else Q=M.splitHeader(G);let R=[];for(let W of Q)R.push(await D.read(K,W.trim()));B[N]=R}else B[N]=await D.read(O,G)}else if(P.httpPrefixHeaders!==void 0){B[N]={};for(let I in w.headers)if(I.startsWith(P.httpPrefixHeaders)){let G=w.headers[I],K=O.getValueSchema();K.getMergedTraits().httpHeader=I,B[N][I.slice(P.httpPrefixHeaders.length)]=await D.read(K,G)}}else if(P.httpResponseCode)B[N]=w.statusCode;else T.push(N)}return T.discardResponseBody=F,T}}class d extends f{async serializeRequest(j,m,w){let z=this.serializer,A={},B={},F=await w.endpoint(),D=U.NormalizedSchema.of(j?.input),J=D.getSchema(),T,N=m&&typeof m==="object"?m:{},O=new V.HttpRequest({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:A,headers:B,body:void 0});if(F)this.updateServiceEndpoint(O,F),this.setHostPrefix(O,j,N);if(N){let P=D.getEventStreamMember();if(P){if(N[P]){let I={};for(let[G,K]of D.structIterator())if(G!==P&&N[G])z.write(K,N[G]),I[G]=z.flush();T=await this.serializeEventStream({eventStream:N[P],requestSchema:D,initialRequest:I})}}else z.write(J,N),T=z.flush()}return O.headers=Object.assign(O.headers,B),O.query=A,O.body=T,O.method="POST",O}async deserializeResponse(j,m,w){let z=this.deserializer,A=U.NormalizedSchema.of(j.output),B={};if(w.statusCode>=300){let D=await X(w.body,m);if(D.byteLength>0)Object.assign(B,await z.read(15,D));throw await this.handleError(j,m,w,B,this.deserializeMetadata(w)),Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(let D in w.headers){let J=w.headers[D];delete w.headers[D],w.headers[D.toLowerCase()]=J}let F=A.getEventStreamMember();if(F)B[F]=await this.deserializeEventStream({response:w,responseSchema:A,initialResponseContainer:B});else{let D=await X(w.body,m);if(D.byteLength>0)Object.assign(B,await z.read(A,D))}return B.$metadata=this.deserializeMetadata(w),B}}var p=(j,m,w,z,A,B)=>{if(m!=null&&m[w]!==void 0){let F=z();if(F==null||F.length<=0)throw Error("Empty value provided for input HTTP label: "+w+".");j=j.replace(A,B?F.split("/").map((D)=>_(D)).join("/"):_(F))}else throw Error("No value provided for input HTTP label: "+w+".");return j};function s(j,m){return new H(j,m)}class H{input;context;query={};method="";headers={};path="";body=null;hostname="";resolvePathStack=[];constructor(j,m){this.input=j,this.context=m}async build(){let{hostname:j,protocol:m="https",port:w,path:z}=await this.context.endpoint();this.path=z;for(let A of this.resolvePathStack)A(this.path);return new V.HttpRequest({protocol:m,hostname:this.hostname||j,port:w,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(j){return this.hostname=j,this}bp(j){return this.resolvePathStack.push((m)=>{this.path=`${m?.endsWith("/")?m.slice(0,-1):m||""}`+j}),this}p(j,m,w,z){return this.resolvePathStack.push((A)=>{this.path=p(A,this.input,j,m,w,z)}),this}h(j){return this.headers=j,this}q(j){return this.query=j,this}b(j){return this.body=j,this}m(j){return this.method=j,this}}function S(j,m){if(m.timestampFormat.useTrait){if(j.isTimestampSchema()&&(j.getSchema()===5||j.getSchema()===6||j.getSchema()===7))return j.getSchema()}let{httpLabel:w,httpPrefixHeaders:z,httpHeader:A,httpQuery:B}=j.getMergedTraits();return(m.httpBindings?typeof z==="string"||Boolean(A)?6:Boolean(B)||Boolean(w)?5:void 0:void 0)??m.timestampFormat.default}class x extends Y{settings;constructor(j){super();this.settings=j}read(j,m){let w=U.NormalizedSchema.of(j);if(w.isListSchema())return M.splitHeader(m).map((z)=>this.read(w.getValueSchema(),z));if(w.isBlobSchema())return(this.serdeContext?.base64Decoder??M.fromBase64)(m);if(w.isTimestampSchema())switch(S(w,this.settings)){case 5:return M._parseRfc3339DateTimeWithOffset(m);case 6:return M._parseRfc7231DateTime(m);case 7:return M._parseEpochTimestamp(m);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",m),new Date(m)}if(w.isStringSchema()){let z=w.getMergedTraits().mediaType,A=m;if(z){if(w.getMergedTraits().httpHeader)A=this.base64ToUtf8(A);if(z==="application/json"||z.endsWith("+json"))A=M.LazyJsonString.from(A);return A}}if(w.isNumericSchema())return Number(m);if(w.isBigIntegerSchema())return BigInt(m);if(w.isBigDecimalSchema())return new M.NumericValue(m,"bigDecimal");if(w.isBooleanSchema())return String(m).toLowerCase()==="true";return m}base64ToUtf8(j){return(this.serdeContext?.utf8Encoder??M.toUtf8)((this.serdeContext?.base64Decoder??M.fromBase64)(j))}}class v extends Y{codecDeserializer;stringDeserializer;constructor(j,m){super();this.codecDeserializer=j,this.stringDeserializer=new x(m)}setSerdeContext(j){this.stringDeserializer.setSerdeContext(j),this.codecDeserializer.setSerdeContext(j),this.serdeContext=j}read(j,m){let w=U.NormalizedSchema.of(j),z=w.getMergedTraits(),A=this.serdeContext?.utf8Encoder??M.toUtf8;if(z.httpHeader||z.httpResponseCode)return this.stringDeserializer.read(w,A(m));if(z.httpPayload){if(w.isBlobSchema()){let B=this.serdeContext?.utf8Decoder??M.fromUtf8;if(typeof m==="string")return B(m);return m}else if(w.isStringSchema()){if("byteLength"in m)return A(m);return m}}return this.codecDeserializer.read(w,m)}}class C extends Y{settings;stringBuffer="";constructor(j){super();this.settings=j}write(j,m){let w=U.NormalizedSchema.of(j);switch(typeof m){case"object":if(m===null){this.stringBuffer="null";return}if(w.isTimestampSchema()){if(!(m instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${m} when schema expected Date in ${w.getName(!0)}`);switch(S(w,this.settings)){case 5:this.stringBuffer=m.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=M.dateToUtcString(m);break;case 7:this.stringBuffer=String(m.getTime()/1000);break;default:console.warn("Missing timestamp format, using epoch seconds",m),this.stringBuffer=String(m.getTime()/1000)}return}if(w.isBlobSchema()&&"byteLength"in m){this.stringBuffer=(this.serdeContext?.base64Encoder??M.toBase64)(m);return}if(w.isListSchema()&&Array.isArray(m)){let B="";for(let F of m){this.write([w.getValueSchema(),w.getMergedTraits()],F);let D=this.flush(),J=w.getValueSchema().isTimestampSchema()?D:M.quoteHeader(D);if(B!=="")B+=", ";B+=J}this.stringBuffer=B;return}this.stringBuffer=JSON.stringify(m,null,2);break;case"string":let z=w.getMergedTraits().mediaType,A=m;if(z){if(z==="application/json"||z.endsWith("+json"))A=M.LazyJsonString.from(A);if(w.getMergedTraits().httpHeader){this.stringBuffer=(this.serdeContext?.base64Encoder??M.toBase64)(A.toString());return}}this.stringBuffer=m;break;default:if(w.isIdempotencyToken())this.stringBuffer=M.generateIdempotencyToken();else this.stringBuffer=String(m)}}flush(){let j=this.stringBuffer;return this.stringBuffer="",j}}class h{codecSerializer;stringSerializer;buffer;constructor(j,m,w=new C(m)){this.codecSerializer=j,this.stringSerializer=w}setSerdeContext(j){this.codecSerializer.setSerdeContext(j),this.stringSerializer.setSerdeContext(j)}write(j,m){let w=U.NormalizedSchema.of(j),z=w.getMergedTraits();if(z.httpHeader||z.httpLabel||z.httpQuery){this.stringSerializer.write(w,m),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(w,m)}flush(){if(this.buffer!==void 0){let j=this.buffer;return this.buffer=void 0,j}return this.codecSerializer.flush()}}class c{name;kind;values;constructor({name:j,kind:m=a.FieldPosition.HEADER,values:w=[]}){this.name=j,this.kind=m,this.values=w}add(j){this.values.push(j)}set(j){this.values=j}remove(j){this.values=this.values.filter((m)=>m!==j)}toString(){return this.values.map((j)=>j.includes(",")||j.includes(" ")?`"${j}"`:j).join(", ")}get(){return this.values}}class g{entries={};encoding;constructor({fields:j=[],encoding:m="utf-8"}){j.forEach(this.setField.bind(this)),this.encoding=m}setField(j){this.entries[j.name.toLowerCase()]=j}getField(j){return this.entries[j.toLowerCase()]}removeField(j){delete this.entries[j.toLowerCase()]}getByType(j){return Object.values(this.entries).filter((m)=>m.kind===j)}}var u=(j)=>{return{setHttpHandler(m){j.httpHandler=m},httpHandler(){return j.httpHandler},updateHttpClientConfig(m,w){j.httpHandler?.updateHttpClientConfig(m,w)},httpHandlerConfigs(){return j.httpHandler.httpHandlerConfigs()}}},t=(j)=>{return{httpHandler:j.httpHandler()}},L="content-length";function k(j){return(m)=>async(w)=>{let z=w.request;if(V.HttpRequest.isInstance(z)){let{body:A,headers:B}=z;if(A&&Object.keys(B).map((F)=>F.toLowerCase()).indexOf(L)===-1)try{let F=j(A);z.headers={...z.headers,[L]:String(F)}}catch(F){}}return m({...w,request:z})}}var l={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},r=(j)=>({applyToStack:(m)=>{m.add(k(j.bodyLengthChecker),l)}}),Z=(j)=>encodeURIComponent(j).replace(/[!'()*]/g,e),e=(j)=>`%${j.charCodeAt(0).toString(16).toUpperCase()}`,jj=(j)=>j.split("/").map(Z).join("/");function mj(j){let m=[];for(let w of Object.keys(j).sort()){let z=j[w];if(w=Z(w),Array.isArray(z))for(let A=0,B=z.length;A<B;A++)m.push(`${w}=${Z(z[A])}`);else{let A=w;if(z||typeof z==="string")A+=`=${Z(z)}`;m.push(A)}}return m.join("&")}wj.HttpRequest=V.HttpRequest;wj.HttpResponse=V.HttpResponse;wj.isValidHostname=V.isValidHostname;wj.parseQueryString=V.parseQueryString;wj.parseUrl=V.parseUrl;wj.Field=c;wj.Fields=g;wj.FromStringShapeDeserializer=x;wj.HttpBindingProtocol=b;wj.HttpInterceptingShapeDeserializer=v;wj.HttpInterceptingShapeSerializer=h;wj.HttpProtocol=f;wj.RequestBuilder=H;wj.RpcProtocol=d;wj.SerdeContext=Y;wj.ToStringShapeSerializer=C;wj.buildQueryString=mj;wj.collectBody=X;wj.contentLengthMiddleware=k;wj.contentLengthMiddlewareOptions=l;wj.determineTimestampFormat=S;wj.escapeUri=Z;wj.escapeUriPath=jj;wj.extendedEncodeURIComponent=_;wj.getContentLengthPlugin=r;wj.getHttpHandlerExtensionConfiguration=u;wj.requestBuilder=s;wj.resolveHttpHandlerRuntimeConfig=t;wj.resolvedPath=p});
|
|
3
|
-
export{Ej as
|
|
2
|
+
import{Ef as q,Ff as i,Gf as y,Kf as n}from"./chunk-35fj1sfm.js";import{uO as o}from"./chunk-e0vrxetq.js";var Ej=o((wj)=>{var M=n(),U=y(),V=i(),a=q(),X=async(j=new Uint8Array,m)=>{if(j instanceof Uint8Array)return M.Uint8ArrayBlobAdapter.mutate(j);if(!j)return M.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let w=m.streamCollector(j);return M.Uint8ArrayBlobAdapter.mutate(await w)};function _(j){return encodeURIComponent(j).replace(/[!'()*]/g,function(m){return"%"+m.charCodeAt(0).toString(16).toUpperCase()})}class Y{serdeContext;setSerdeContext(j){this.serdeContext=j}}class f extends Y{options;compositeErrorRegistry;constructor(j){super();this.options=j,this.compositeErrorRegistry=U.TypeRegistry.for(j.defaultNamespace);for(let m of j.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(m)}getRequestType(){return V.HttpRequest}getResponseType(){return V.HttpResponse}setSerdeContext(j){if(this.serdeContext=j,this.serializer.setSerdeContext(j),this.deserializer.setSerdeContext(j),this.getPayloadCodec())this.getPayloadCodec().setSerdeContext(j)}updateServiceEndpoint(j,m){if("url"in m){if(j.protocol=m.url.protocol,j.hostname=m.url.hostname,j.port=m.url.port?Number(m.url.port):void 0,j.path=m.url.pathname,j.fragment=m.url.hash||void 0,j.username=m.url.username||void 0,j.password=m.url.password||void 0,!j.query)j.query={};for(let[w,z]of m.url.searchParams.entries())j.query[w]=z;if(m.headers)for(let w in m.headers)j.headers[w]=m.headers[w].join(", ");return j}else{if(j.protocol=m.protocol,j.hostname=m.hostname,j.port=m.port?Number(m.port):void 0,j.path=m.path,j.query={...m.query},m.headers)for(let w in m.headers)j.headers[w]=m.headers[w];return j}}setHostPrefix(j,m,w){if(this.serdeContext?.disableHostPrefix)return;let z=U.NormalizedSchema.of(m.input),A=U.translateTraits(m.traits??{});if(A.endpoint){let B=A.endpoint?.[0];if(typeof B==="string"){for(let[F,D]of z.structIterator()){if(!D.getMergedTraits().hostLabel)continue;let J=w[F];if(typeof J!=="string")throw Error(`@smithy/core/schema - ${F} in input must be a string as hostLabel.`);B=B.replace(`{${F}}`,J)}j.hostname=B+j.hostname}}}deserializeMetadata(j){return{httpStatusCode:j.statusCode,requestId:j.headers["x-amzn-requestid"]??j.headers["x-amzn-request-id"]??j.headers["x-amz-request-id"],extendedRequestId:j.headers["x-amz-id-2"],cfId:j.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:j,requestSchema:m,initialRequest:w}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:j,requestSchema:m,initialRequest:w})}async deserializeEventStream({response:j,responseSchema:m,initialResponseContainer:w}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:j,responseSchema:m,initialResponseContainer:w})}async loadEventStreamCapability(){let{EventStreamSerde:j}=await import("./chunk-1har4t9a.js");return new j({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(j,m,w,z,A){return[]}getEventStreamMarshaller(){let j=this.serdeContext;if(!j.eventStreamMarshaller)throw Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return j.eventStreamMarshaller}}class b extends f{async serializeRequest(j,m,w){let z=m&&typeof m==="object"?m:{},A=this.serializer,B={},F={},D=await w.endpoint(),J=U.NormalizedSchema.of(j?.input),T=[],N=[],O=!1,P,I=new V.HttpRequest({protocol:"",hostname:"",port:void 0,path:"",fragment:void 0,query:B,headers:F,body:void 0});if(D){this.updateServiceEndpoint(I,D),this.setHostPrefix(I,j,z);let G=U.translateTraits(j.traits);if(G.http){I.method=G.http[0];let[K,Q]=G.http[1].split("?");if(I.path=="/")I.path=K;else I.path+=K;let R=new URLSearchParams(Q??"");for(let[W,$]of R)B[W]=$}}for(let[G,K]of J.structIterator()){let Q=K.getMergedTraits()??{},R=z[G];if(R==null&&!K.isIdempotencyToken()){if(Q.httpLabel){if(I.path.includes(`{${G}+}`)||I.path.includes(`{${G}}`))throw Error(`No value provided for input HTTP label: ${G}.`)}continue}if(Q.httpPayload)if(K.isStreaming())if(K.isStructSchema()){if(z[G])P=await this.serializeEventStream({eventStream:z[G],requestSchema:J})}else P=R;else A.write(K,R),P=A.flush();else if(Q.httpLabel){A.write(K,R);let W=A.flush();if(I.path.includes(`{${G}+}`))I.path=I.path.replace(`{${G}+}`,W.split("/").map(_).join("/"));else if(I.path.includes(`{${G}}`))I.path=I.path.replace(`{${G}}`,_(W))}else if(Q.httpHeader)A.write(K,R),F[Q.httpHeader.toLowerCase()]=String(A.flush());else if(typeof Q.httpPrefixHeaders==="string")for(let W in R){let $=R[W],E=Q.httpPrefixHeaders+W;A.write([K.getValueSchema(),{httpHeader:E}],$),F[E.toLowerCase()]=A.flush()}else if(Q.httpQuery||Q.httpQueryParams)this.serializeQuery(K,R,B);else O=!0,T.push(G),N.push(K)}if(O&&z){let[G,K]=(J.getName(!0)??"#Unknown").split("#"),Q=J.getSchema()[6],R=[3,G,K,J.getMergedTraits(),T,N,void 0];if(Q)R[6]=Q;else R.pop();A.write(R,z),P=A.flush()}return I.headers=F,I.query=B,I.body=P,I}serializeQuery(j,m,w){let z=this.serializer,A=j.getMergedTraits();if(A.httpQueryParams){for(let B in m)if(!(B in w)){let F=m[B],D=j.getValueSchema();Object.assign(D.getMergedTraits(),{...A,httpQuery:B,httpQueryParams:void 0}),this.serializeQuery(D,F,w)}return}if(j.isListSchema()){let B=!!j.getMergedTraits().sparse,F=[];for(let D of m){z.write([j.getValueSchema(),A],D);let J=z.flush();if(B||J!==void 0)F.push(J)}w[A.httpQuery]=F}else z.write([j,A],m),w[A.httpQuery]=z.flush()}async deserializeResponse(j,m,w){let z=this.deserializer,A=U.NormalizedSchema.of(j.output),B={};if(w.statusCode>=300){let D=await X(w.body,m);if(D.byteLength>0)Object.assign(B,await z.read(15,D));throw await this.handleError(j,m,w,B,this.deserializeMetadata(w)),Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(let D in w.headers){let J=w.headers[D];delete w.headers[D],w.headers[D.toLowerCase()]=J}let F=await this.deserializeHttpMessage(A,m,w,B);if(F.length){let D=await X(w.body,m);if(D.byteLength>0){let J=await z.read(A,D);for(let T of F)if(J[T]!=null)B[T]=J[T]}}else if(F.discardResponseBody)await X(w.body,m);return B.$metadata=this.deserializeMetadata(w),B}async deserializeHttpMessage(j,m,w,z,A){let B;if(z instanceof Set)B=A;else B=z;let F=!0,D=this.deserializer,J=U.NormalizedSchema.of(j),T=[];for(let[N,O]of J.structIterator()){let P=O.getMemberTraits();if(P.httpPayload){if(F=!1,O.isStreaming())if(O.isStructSchema())B[N]=await this.deserializeEventStream({response:w,responseSchema:J});else B[N]=M.sdkStreamMixin(w.body);else if(w.body){let G=await X(w.body,m);if(G.byteLength>0)B[N]=await D.read(O,G)}}else if(P.httpHeader){let I=String(P.httpHeader).toLowerCase(),G=w.headers[I];if(G!=null)if(O.isListSchema()){let K=O.getValueSchema();K.getMergedTraits().httpHeader=I;let Q;if(K.isTimestampSchema()&&K.getSchema()===4)Q=M.splitEvery(G,",",2);else Q=M.splitHeader(G);let R=[];for(let W of Q)R.push(await D.read(K,W.trim()));B[N]=R}else B[N]=await D.read(O,G)}else if(P.httpPrefixHeaders!==void 0){B[N]={};for(let I in w.headers)if(I.startsWith(P.httpPrefixHeaders)){let G=w.headers[I],K=O.getValueSchema();K.getMergedTraits().httpHeader=I,B[N][I.slice(P.httpPrefixHeaders.length)]=await D.read(K,G)}}else if(P.httpResponseCode)B[N]=w.statusCode;else T.push(N)}return T.discardResponseBody=F,T}}class d extends f{async serializeRequest(j,m,w){let z=this.serializer,A={},B={},F=await w.endpoint(),D=U.NormalizedSchema.of(j?.input),J=D.getSchema(),T,N=m&&typeof m==="object"?m:{},O=new V.HttpRequest({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:A,headers:B,body:void 0});if(F)this.updateServiceEndpoint(O,F),this.setHostPrefix(O,j,N);if(N){let P=D.getEventStreamMember();if(P){if(N[P]){let I={};for(let[G,K]of D.structIterator())if(G!==P&&N[G])z.write(K,N[G]),I[G]=z.flush();T=await this.serializeEventStream({eventStream:N[P],requestSchema:D,initialRequest:I})}}else z.write(J,N),T=z.flush()}return O.headers=Object.assign(O.headers,B),O.query=A,O.body=T,O.method="POST",O}async deserializeResponse(j,m,w){let z=this.deserializer,A=U.NormalizedSchema.of(j.output),B={};if(w.statusCode>=300){let D=await X(w.body,m);if(D.byteLength>0)Object.assign(B,await z.read(15,D));throw await this.handleError(j,m,w,B,this.deserializeMetadata(w)),Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(let D in w.headers){let J=w.headers[D];delete w.headers[D],w.headers[D.toLowerCase()]=J}let F=A.getEventStreamMember();if(F)B[F]=await this.deserializeEventStream({response:w,responseSchema:A,initialResponseContainer:B});else{let D=await X(w.body,m);if(D.byteLength>0)Object.assign(B,await z.read(A,D))}return B.$metadata=this.deserializeMetadata(w),B}}var p=(j,m,w,z,A,B)=>{if(m!=null&&m[w]!==void 0){let F=z();if(F==null||F.length<=0)throw Error("Empty value provided for input HTTP label: "+w+".");j=j.replace(A,B?F.split("/").map((D)=>_(D)).join("/"):_(F))}else throw Error("No value provided for input HTTP label: "+w+".");return j};function s(j,m){return new H(j,m)}class H{input;context;query={};method="";headers={};path="";body=null;hostname="";resolvePathStack=[];constructor(j,m){this.input=j,this.context=m}async build(){let{hostname:j,protocol:m="https",port:w,path:z}=await this.context.endpoint();this.path=z;for(let A of this.resolvePathStack)A(this.path);return new V.HttpRequest({protocol:m,hostname:this.hostname||j,port:w,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(j){return this.hostname=j,this}bp(j){return this.resolvePathStack.push((m)=>{this.path=`${m?.endsWith("/")?m.slice(0,-1):m||""}`+j}),this}p(j,m,w,z){return this.resolvePathStack.push((A)=>{this.path=p(A,this.input,j,m,w,z)}),this}h(j){return this.headers=j,this}q(j){return this.query=j,this}b(j){return this.body=j,this}m(j){return this.method=j,this}}function S(j,m){if(m.timestampFormat.useTrait){if(j.isTimestampSchema()&&(j.getSchema()===5||j.getSchema()===6||j.getSchema()===7))return j.getSchema()}let{httpLabel:w,httpPrefixHeaders:z,httpHeader:A,httpQuery:B}=j.getMergedTraits();return(m.httpBindings?typeof z==="string"||Boolean(A)?6:Boolean(B)||Boolean(w)?5:void 0:void 0)??m.timestampFormat.default}class x extends Y{settings;constructor(j){super();this.settings=j}read(j,m){let w=U.NormalizedSchema.of(j);if(w.isListSchema())return M.splitHeader(m).map((z)=>this.read(w.getValueSchema(),z));if(w.isBlobSchema())return(this.serdeContext?.base64Decoder??M.fromBase64)(m);if(w.isTimestampSchema())switch(S(w,this.settings)){case 5:return M._parseRfc3339DateTimeWithOffset(m);case 6:return M._parseRfc7231DateTime(m);case 7:return M._parseEpochTimestamp(m);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",m),new Date(m)}if(w.isStringSchema()){let z=w.getMergedTraits().mediaType,A=m;if(z){if(w.getMergedTraits().httpHeader)A=this.base64ToUtf8(A);if(z==="application/json"||z.endsWith("+json"))A=M.LazyJsonString.from(A);return A}}if(w.isNumericSchema())return Number(m);if(w.isBigIntegerSchema())return BigInt(m);if(w.isBigDecimalSchema())return new M.NumericValue(m,"bigDecimal");if(w.isBooleanSchema())return String(m).toLowerCase()==="true";return m}base64ToUtf8(j){return(this.serdeContext?.utf8Encoder??M.toUtf8)((this.serdeContext?.base64Decoder??M.fromBase64)(j))}}class v extends Y{codecDeserializer;stringDeserializer;constructor(j,m){super();this.codecDeserializer=j,this.stringDeserializer=new x(m)}setSerdeContext(j){this.stringDeserializer.setSerdeContext(j),this.codecDeserializer.setSerdeContext(j),this.serdeContext=j}read(j,m){let w=U.NormalizedSchema.of(j),z=w.getMergedTraits(),A=this.serdeContext?.utf8Encoder??M.toUtf8;if(z.httpHeader||z.httpResponseCode)return this.stringDeserializer.read(w,A(m));if(z.httpPayload){if(w.isBlobSchema()){let B=this.serdeContext?.utf8Decoder??M.fromUtf8;if(typeof m==="string")return B(m);return m}else if(w.isStringSchema()){if("byteLength"in m)return A(m);return m}}return this.codecDeserializer.read(w,m)}}class C extends Y{settings;stringBuffer="";constructor(j){super();this.settings=j}write(j,m){let w=U.NormalizedSchema.of(j);switch(typeof m){case"object":if(m===null){this.stringBuffer="null";return}if(w.isTimestampSchema()){if(!(m instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${m} when schema expected Date in ${w.getName(!0)}`);switch(S(w,this.settings)){case 5:this.stringBuffer=m.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=M.dateToUtcString(m);break;case 7:this.stringBuffer=String(m.getTime()/1000);break;default:console.warn("Missing timestamp format, using epoch seconds",m),this.stringBuffer=String(m.getTime()/1000)}return}if(w.isBlobSchema()&&"byteLength"in m){this.stringBuffer=(this.serdeContext?.base64Encoder??M.toBase64)(m);return}if(w.isListSchema()&&Array.isArray(m)){let B="";for(let F of m){this.write([w.getValueSchema(),w.getMergedTraits()],F);let D=this.flush(),J=w.getValueSchema().isTimestampSchema()?D:M.quoteHeader(D);if(B!=="")B+=", ";B+=J}this.stringBuffer=B;return}this.stringBuffer=JSON.stringify(m,null,2);break;case"string":let z=w.getMergedTraits().mediaType,A=m;if(z){if(z==="application/json"||z.endsWith("+json"))A=M.LazyJsonString.from(A);if(w.getMergedTraits().httpHeader){this.stringBuffer=(this.serdeContext?.base64Encoder??M.toBase64)(A.toString());return}}this.stringBuffer=m;break;default:if(w.isIdempotencyToken())this.stringBuffer=M.generateIdempotencyToken();else this.stringBuffer=String(m)}}flush(){let j=this.stringBuffer;return this.stringBuffer="",j}}class h{codecSerializer;stringSerializer;buffer;constructor(j,m,w=new C(m)){this.codecSerializer=j,this.stringSerializer=w}setSerdeContext(j){this.codecSerializer.setSerdeContext(j),this.stringSerializer.setSerdeContext(j)}write(j,m){let w=U.NormalizedSchema.of(j),z=w.getMergedTraits();if(z.httpHeader||z.httpLabel||z.httpQuery){this.stringSerializer.write(w,m),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(w,m)}flush(){if(this.buffer!==void 0){let j=this.buffer;return this.buffer=void 0,j}return this.codecSerializer.flush()}}class c{name;kind;values;constructor({name:j,kind:m=a.FieldPosition.HEADER,values:w=[]}){this.name=j,this.kind=m,this.values=w}add(j){this.values.push(j)}set(j){this.values=j}remove(j){this.values=this.values.filter((m)=>m!==j)}toString(){return this.values.map((j)=>j.includes(",")||j.includes(" ")?`"${j}"`:j).join(", ")}get(){return this.values}}class g{entries={};encoding;constructor({fields:j=[],encoding:m="utf-8"}){j.forEach(this.setField.bind(this)),this.encoding=m}setField(j){this.entries[j.name.toLowerCase()]=j}getField(j){return this.entries[j.toLowerCase()]}removeField(j){delete this.entries[j.toLowerCase()]}getByType(j){return Object.values(this.entries).filter((m)=>m.kind===j)}}var u=(j)=>{return{setHttpHandler(m){j.httpHandler=m},httpHandler(){return j.httpHandler},updateHttpClientConfig(m,w){j.httpHandler?.updateHttpClientConfig(m,w)},httpHandlerConfigs(){return j.httpHandler.httpHandlerConfigs()}}},t=(j)=>{return{httpHandler:j.httpHandler()}},L="content-length";function k(j){return(m)=>async(w)=>{let z=w.request;if(V.HttpRequest.isInstance(z)){let{body:A,headers:B}=z;if(A&&Object.keys(B).map((F)=>F.toLowerCase()).indexOf(L)===-1)try{let F=j(A);z.headers={...z.headers,[L]:String(F)}}catch(F){}}return m({...w,request:z})}}var l={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},r=(j)=>({applyToStack:(m)=>{m.add(k(j.bodyLengthChecker),l)}}),Z=(j)=>encodeURIComponent(j).replace(/[!'()*]/g,e),e=(j)=>`%${j.charCodeAt(0).toString(16).toUpperCase()}`,jj=(j)=>j.split("/").map(Z).join("/");function mj(j){let m=[];for(let w of Object.keys(j).sort()){let z=j[w];if(w=Z(w),Array.isArray(z))for(let A=0,B=z.length;A<B;A++)m.push(`${w}=${Z(z[A])}`);else{let A=w;if(z||typeof z==="string")A+=`=${Z(z)}`;m.push(A)}}return m.join("&")}wj.HttpRequest=V.HttpRequest;wj.HttpResponse=V.HttpResponse;wj.isValidHostname=V.isValidHostname;wj.parseQueryString=V.parseQueryString;wj.parseUrl=V.parseUrl;wj.Field=c;wj.Fields=g;wj.FromStringShapeDeserializer=x;wj.HttpBindingProtocol=b;wj.HttpInterceptingShapeDeserializer=v;wj.HttpInterceptingShapeSerializer=h;wj.HttpProtocol=f;wj.RequestBuilder=H;wj.RpcProtocol=d;wj.SerdeContext=Y;wj.ToStringShapeSerializer=C;wj.buildQueryString=mj;wj.collectBody=X;wj.contentLengthMiddleware=k;wj.contentLengthMiddlewareOptions=l;wj.determineTimestampFormat=S;wj.escapeUri=Z;wj.escapeUriPath=jj;wj.extendedEncodeURIComponent=_;wj.getContentLengthPlugin=r;wj.getHttpHandlerExtensionConfiguration=u;wj.requestBuilder=s;wj.resolveHttpHandlerRuntimeConfig=t;wj.resolvedPath=p});
|
|
3
|
+
export{Ej as Oe};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Ae as d,Be as e,Ce as f,De as g,xe as a,ye as b,ze as c}from"./chunk-rye1yjnr.js";import"./chunk-ejhhrece.js";import"./chunk-0a4pmkc9.js";import"./chunk-35fj1sfm.js";import"./chunk-e0vrxetq.js";export{g as fromEnv,c as ENV_SESSION,b as ENV_SECRET,a as ENV_KEY,d as ENV_EXPIRATION,e as ENV_CREDENTIAL_SCOPE,f as ENV_ACCOUNT_ID};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{_p as m}from"./chunk-pr7z5dj8.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{$p as m}from"./chunk-y3gy62q5.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
|
|
6
6
|
]`;continue}if(p+=o[a],o[a]==="\\")u=!0;else if(l&&o[a]==="]")l=!1;else if(!l&&o[a]==="[")l=!0}try{new RegExp(p)}catch{return console.warn(`Could not convert regex pattern at ${n.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),t.source}return p}function P(t,n){if(n.target==="openAi")console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");if(n.target==="openApi3"&&t.keyType?._def.typeName===m.ZodEnum)return{type:"object",required:t.keyType._def.values,properties:t.keyType._def.values.reduce((o,p)=>({...o,[p]:i(t.valueType._def,{...n,currentPath:[...n.currentPath,"properties",p]})??D(n)}),{}),additionalProperties:n.rejectedAdditionalProperties};let r={type:"object",additionalProperties:i(t.valueType._def,{...n,currentPath:[...n.currentPath,"additionalProperties"]})??n.allowedAdditionalProperties};if(n.target==="openApi3")return r;if(t.keyType?._def.typeName===m.ZodString&&t.keyType._def.checks?.length){let{type:o,...p}=A(t.keyType._def,n);return{...r,propertyNames:p}}else if(t.keyType?._def.typeName===m.ZodEnum)return{...r,propertyNames:{enum:t.keyType._def.values}};else if(t.keyType?._def.typeName===m.ZodBranded&&t.keyType._def.type._def.typeName===m.ZodString&&t.keyType._def.type._def.checks?.length){let{type:o,...p}=N(t.keyType._def,n);return{...r,propertyNames:p}}return r}function W(t,n){if(n.mapStrategy==="record")return P(t,n);let r=i(t.keyType._def,{...n,currentPath:[...n.currentPath,"items","items","0"]})||D(n),o=i(t.valueType._def,{...n,currentPath:[...n.currentPath,"items","items","1"]})||D(n);return{type:"array",maxItems:125,items:{type:"array",items:[r,o],minItems:2,maxItems:2}}}function z(t){let n=t.values,o=Object.keys(t.values).filter((u)=>{return typeof n[n[u]]!=="number"}).map((u)=>n[u]),p=Array.from(new Set(o.map((u)=>typeof u)));return{type:p.length===1?p[0]==="string"?"string":"number":["string","number"],enum:o}}function F(t){return t.target==="openAi"?void 0:{not:D({...t,currentPath:[...t.currentPath,"not"]})}}function d(t){return t.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var _={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function j(t,n){if(n.target==="openApi3")return G(t,n);let r=t.options instanceof Map?Array.from(t.options.values()):t.options;if(r.every((o)=>(o._def.typeName in _)&&(!o._def.checks||!o._def.checks.length))){let o=r.reduce((p,u)=>{let l=_[u._def.typeName];return l&&!p.includes(l)?[...p,l]:p},[]);return{type:o.length>1?o:o[0]}}else if(r.every((o)=>o._def.typeName==="ZodLiteral"&&!o.description)){let o=r.reduce((p,u)=>{let l=typeof u._def.value;switch(l){case"string":case"number":case"boolean":return[...p,l];case"bigint":return[...p,"integer"];case"object":if(u._def.value===null)return[...p,"null"];case"symbol":case"undefined":case"function":default:return p}},[]);if(o.length===r.length){let p=o.filter((u,l,y)=>y.indexOf(u)===l);return{type:p.length>1?p:p[0],enum:r.reduce((u,l)=>{return u.includes(l._def.value)?u:[...u,l._def.value]},[])}}}else if(r.every((o)=>o._def.typeName==="ZodEnum"))return{type:"string",enum:r.reduce((o,p)=>[...o,...p._def.values.filter((u)=>!o.includes(u))],[])};return G(t,n)}var G=(t,n)=>{let r=(t.options instanceof Map?Array.from(t.options.values()):t.options).map((o,p)=>i(o._def,{...n,currentPath:[...n.currentPath,"anyOf",`${p}`]})).filter((o)=>!!o&&(!n.strictUnions||typeof o==="object"&&Object.keys(o).length>0));return r.length?{anyOf:r}:void 0};function C(t,n){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(t.innerType._def.typeName)&&(!t.innerType._def.checks||!t.innerType._def.checks.length)){if(n.target==="openApi3")return{type:_[t.innerType._def.typeName],nullable:!0};return{type:[_[t.innerType._def.typeName],"null"]}}if(n.target==="openApi3"){let o=i(t.innerType._def,{...n,currentPath:[...n.currentPath]});if(o&&"$ref"in o)return{allOf:[o],nullable:!0};return o&&{...o,nullable:!0}}let r=i(t.innerType._def,{...n,currentPath:[...n.currentPath,"anyOf","0"]});return r&&{anyOf:[r,{type:"null"}]}}function R(t,n){let r={type:"number"};if(!t.checks)return r;for(let o of t.checks)switch(o.kind){case"int":r.type="integer",S(r,"type",o.message,n);break;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 k(t,n){let r=n.target==="openAi",o={type:"object",properties:{}},p=[],u=t.shape();for(let y in u){let a=u[y];if(a===void 0||a._def===void 0)continue;let x=yt(a);if(x&&r){if(a._def.typeName==="ZodOptional")a=a._def.innerType;if(!a.isNullable())a=a.nullable();x=!1}let T=i(a._def,{...n,currentPath:[...n.currentPath,"properties",y],propertyPath:[...n.currentPath,"properties",y]});if(T===void 0)continue;if(o.properties[y]=T,!x)p.push(y)}if(p.length)o.required=p;let l=lt(t,n);if(l!==void 0)o.additionalProperties=l;return o}function lt(t,n){if(t.catchall._def.typeName!=="ZodNever")return i(t.catchall._def,{...n,currentPath:[...n.currentPath,"additionalProperties"]});switch(t.unknownKeys){case"passthrough":return n.allowedAdditionalProperties;case"strict":return n.rejectedAdditionalProperties;case"strip":return n.removeAdditionalStrategy==="strict"?n.allowedAdditionalProperties:n.rejectedAdditionalProperties}}function yt(t){try{return t.isOptional()}catch{return!0}}var c=(t,n)=>{if(n.currentPath.toString()===n.propertyPath?.toString())return i(t.innerType._def,n);let r=i(t.innerType._def,{...n,currentPath:[...n.currentPath,"anyOf","1"]});return r?{anyOf:[{not:D(n)},r]}:D(n)};var h=(t,n)=>{if(n.pipeStrategy==="input")return i(t.in._def,n);else if(n.pipeStrategy==="output")return i(t.out._def,n);let r=i(t.in._def,{...n,currentPath:[...n.currentPath,"allOf","0"]}),o=i(t.out._def,{...n,currentPath:[...n.currentPath,"allOf",r?"1":"0"]});return{allOf:[r,o].filter((p)=>p!==void 0)}};function f(t,n){return i(t.type._def,n)}function s(t,n){let o={type:"array",uniqueItems:!0,items:i(t.valueType._def,{...n,currentPath:[...n.currentPath,"items"]})};if(t.minSize)e(o,"minItems",t.minSize.value,t.minSize.message,n);if(t.maxSize)e(o,"maxItems",t.maxSize.value,t.maxSize.message,n);return o}function tt(t,n){if(t.rest)return{type:"array",minItems:t.items.length,items:t.items.map((r,o)=>i(r._def,{...n,currentPath:[...n.currentPath,"items",`${o}`]})).reduce((r,o)=>o===void 0?r:[...r,o],[]),additionalItems:i(t.rest._def,{...n,currentPath:[...n.currentPath,"additionalItems"]})};else return{type:"array",minItems:t.items.length,maxItems:t.items.length,items:t.items.map((r,o)=>i(r._def,{...n,currentPath:[...n.currentPath,"items",`${o}`]})).reduce((r,o)=>o===void 0?r:[...r,o],[])}}function nt(t){return{not:D(t)}}function rt(t){return D(t)}var ot=(t,n)=>{return i(t.innerType._def,n)};var pt=(t,n,r)=>{switch(n){case m.ZodString:return A(t,r);case m.ZodNumber:return R(t,r);case m.ZodObject:return k(t,r);case m.ZodBigInt:return K(t,r);case m.ZodBoolean:return $();case m.ZodDate:return O(t,r);case m.ZodUndefined:return nt(r);case m.ZodNull:return d(r);case m.ZodArray:return E(t,r);case m.ZodUnion:case m.ZodDiscriminatedUnion:return j(t,r);case m.ZodIntersection:return Y(t,r);case m.ZodTuple:return tt(t,r);case m.ZodRecord:return P(t,r);case m.ZodLiteral:return H(t,r);case m.ZodEnum:return X(t);case m.ZodNativeEnum:return z(t);case m.ZodNullable:return C(t,r);case m.ZodOptional:return c(t,r);case m.ZodMap:return W(t,r);case m.ZodSet:return s(t,r);case m.ZodLazy:return()=>t.getter()._def;case m.ZodPromise:return f(t,r);case m.ZodNaN:case m.ZodNever:return F(r);case m.ZodEffects:return Q(t,r);case m.ZodAny:return D(r);case m.ZodUnknown:return rt(r);case m.ZodDefault:return q(t,r);case m.ZodBranded:return N(t,r);case m.ZodReadonly:return ot(t,r);case m.ZodCatch:return J(t,r);case m.ZodPipeline:return h(t,r);case m.ZodFunction:case m.ZodVoid:case m.ZodSymbol:return;default:return((o)=>{return})(n)}};function i(t,n,r=!1){let o=n.seen.get(t);if(n.override){let y=n.override?.(t,n,o,r);if(y!==B)return y}if(o&&!r){let y=Dt(o,n);if(y!==void 0)return y}let p={def:t,path:n.currentPath,jsonSchema:void 0};n.seen.set(t,p);let u=pt(t,t.typeName,n),l=typeof u==="function"?i(u(),n):u;if(l)gt(t,n,l);if(n.postProcess){let y=n.postProcess(l,t,n);return p.jsonSchema=l,y}return p.jsonSchema=l,l}var Dt=(t,n)=>{switch(n.$refStrategy){case"root":return{$ref:t.path.join("/")};case"relative":return{$ref:b(n.currentPath,t.path)};case"none":case"seen":{if(t.path.length<n.currentPath.length&&t.path.every((r,o)=>n.currentPath[o]===r))return console.warn(`Recursive reference detected at ${n.currentPath.join("/")}! Defaulting to any`),D(n);return n.$refStrategy==="seen"?D(n):void 0}}},gt=(t,n,r)=>{if(t.description){if(r.description=t.description,n.markdownDescription)r.markdownDescription=t.description}return r};var it=(t,n)=>{let r=w(n),o=typeof n==="object"&&n.definitions?Object.entries(n.definitions).reduce((a,[x,T])=>({...a,[x]:i(T._def,{...r,currentPath:[...r.basePath,r.definitionPath,x]},!0)??D(r)}),{}):void 0,p=typeof n==="string"?n:n?.nameStrategy==="title"?void 0:n?.name,u=i(t._def,p===void 0?r:{...r,currentPath:[...r.basePath,r.definitionPath,p]},!1)??D(r),l=typeof n==="object"&&n.name!==void 0&&n.nameStrategy==="title"?n.name:void 0;if(l!==void 0)u.title=l;if(r.flags.hasReferencedOpenAiAnyType){if(!o)o={};if(!o[r.openAiAnyTypeName])o[r.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:r.$refStrategy==="relative"?"1":[...r.basePath,r.definitionPath,r.openAiAnyTypeName].join("/")}}}let y=p===void 0?o?{...u,[r.definitionPath]:o}:u:{$ref:[...r.$refStrategy==="relative"?[]:r.basePath,r.definitionPath,p].join("/"),[r.definitionPath]:{...o,[p]:u}};if(r.target==="jsonSchema7")y.$schema="http://json-schema.org/draft-07/schema#";else if(r.target==="jsonSchema2019-09"||r.target==="openAi")y.$schema="https://json-schema.org/draft/2019-09/schema#";if(r.target==="openAi"&&(("anyOf"in y)||("oneOf"in y)||("allOf"in y)||("type"in y)&&Array.isArray(y.type)))console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.");return y};var mo=it;
|
|
7
|
-
export{B as
|
|
7
|
+
export{B as Hi,Zt as Ii,M as Ji,U as Ki,w as Li,S as Mi,e as Ni,b as Oi,D as Pi,E as Qi,K as Ri,$ as Si,N as Ti,J as Ui,O as Vi,q as Wi,Q as Xi,X as Yi,Y as Zi,H as _i,Z as $i,A as aj,P as bj,W as cj,z as dj,F as ej,d as fj,_ as gj,j as hj,C as ij,R as jj,k as kj,c as lj,h as mj,f as nj,s as oj,tt as pj,nt as qj,rt as rj,ot as sj,pt as tj,i as uj,it as vj,mo as wj};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var f={"language.en":"English","language.zh":"\u7B80\u4F53\u4E2D\u6587","language.zht":"\u7E41\u9AD4\u4E2D\u6587","language.ko":"\uD55C\uAD6D\uC5B4","language.de":"Deutsch","language.es":"Espa\xF1ol","language.fr":"Fran\xE7ais","language.da":"Dansk","language.ja":"\u65E5\u672C\u8A9E","language.pl":"Polski","language.ru":"\u0420\u0443\u0441\u0441\u043A\u0438\u0439","language.ar":"\u0627\u0644\u0639\u0631\u0628\u064A\u0629","language.no":"Norsk","language.br":"Portugu\xEAs (Brasil)","language.pt":"Portugu\xEAs","language.bs":"Bosanski","language.th":"\u0E44\u0E17\u0E22","language.tr":"T\xFCrk\xE7e","tui.prompt.placeholder.normal":'\u4F55\u3067\u3082\u805E\u3044\u3066\u304F\u3060\u3055\u3044... "{{example}}"',"tui.prompt.placeholder.shell":'\u30B3\u30DE\u30F3\u30C9\u3092\u5B9F\u884C... "{{example}}"',"tui.prompt.ghost":"{{prediction}} (Tab \u3067\u78BA\u5B9A)","tui.home.placeholder.example.todo":"\u30B3\u30FC\u30C9\u30D9\u30FC\u30B9\u5185\u306E TODO \u3092\u4FEE\u6B63","tui.home.placeholder.example.stack":"\u3053\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u6280\u8853\u30B9\u30BF\u30C3\u30AF\u306F\uFF1F","tui.home.placeholder.example.tests":"\u58CA\u308C\u305F\u30C6\u30B9\u30C8\u3092\u4FEE\u6B63","tui.home.agreement.prefix":"QitQode \u3092\u3054\u5229\u7528\u3044\u305F\u3060\u304F\u3053\u3068\u3067\u3001","tui.home.agreement.terms":"\u5229\u7528\u898F\u7D04","tui.home.agreement.separator":"\u304A\u3088\u3073","tui.home.agreement.privacy":"\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC","tui.home.agreement.suffix":"\u306B\u540C\u610F\u3057\u305F\u3082\u306E\u3068\u307F\u306A\u3055\u308C\u307E\u3059","tui.prompt.hint.attach_file":"\u30D5\u30A1\u30A4\u30EB\u6DFB\u4ED8","tui.prompt.hint.subagent":"\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","tui.prompt.hint.commands":"\u30B3\u30DE\u30F3\u30C9","tui.prompt.hint.switch_mode":"\u30E2\u30FC\u30C9\u5207\u66FF","tui.prompt.hint.settings":"\u8A2D\u5B9A","tui.tips.label":"\u30D2\u30F3\u30C8","tui.tips.plain_terminal":"iTerm \u307E\u305F\u306F VS Code \u30BF\u30FC\u30DF\u30CA\u30EB\u306E\u4F7F\u7528\u3092\u304A\u3059\u3059\u3081\u3057\u307E\u3059","tui.tips.attach_file":"{highlight}@{/highlight} \u306E\u5F8C\u306B\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u5165\u529B\u3059\u308B\u3068\u30D5\u30A1\u30B8\u30FC\u691C\u7D22\u3067\u30D5\u30A1\u30A4\u30EB\u3092\u6DFB\u4ED8\u3067\u304D\u307E\u3059","tui.tips.shell_prefix":"\u30E1\u30C3\u30BB\u30FC\u30B8\u3092 {highlight}!{/highlight} \u3067\u59CB\u3081\u308B\u3068\u30B7\u30A7\u30EB\u30B3\u30DE\u30F3\u30C9\u3092\u76F4\u63A5\u5B9F\u884C\u3067\u304D\u307E\u3059\uFF08\u4F8B\uFF1A{highlight}!ls -la{/highlight}\uFF09","tui.tips.tab_agent":"{highlight}Tab{/highlight} \u307E\u305F\u306F {highlight}Shift+Tab{/highlight} \u3067 Build / Plan / Compose \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.theme_mode":"{highlight}/dark{/highlight} \u3067\u30C0\u30FC\u30AF\u30E2\u30FC\u30C9\u3001{highlight}/light{/highlight} \u3067\u30E9\u30A4\u30C8\u30E2\u30FC\u30C9\u306B\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.doc":"{highlight}/doc{/highlight} \u3092\u5B9F\u884C\u3057\u3066\u30E6\u30FC\u30B6\u30FC\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u958B\u304D\u307E\u3059","tui.tips.undo":"{highlight}/undo{/highlight} \u3067\u76F4\u524D\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3068\u30D5\u30A1\u30A4\u30EB\u5909\u66F4\u3092\u53D6\u308A\u6D88\u3057\u307E\u3059","tui.tips.redo":"{highlight}/redo{/highlight} \u3067\u53D6\u308A\u6D88\u3057\u305F\u30E1\u30C3\u30BB\u30FC\u30B8\u3068\u30D5\u30A1\u30A4\u30EB\u5909\u66F4\u3092\u5FA9\u5143\u3057\u307E\u3059","tui.tips.drag_drop":"\u753B\u50CF\u3084 PDF \u3092\u30BF\u30FC\u30DF\u30CA\u30EB\u306B\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7\u3057\u3066\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u306B\u8FFD\u52A0\u3067\u304D\u307E\u3059","tui.tips.paste_image":"{highlight}Ctrl+V{/highlight} \u3067\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306E\u753B\u50CF\u3092\u30D7\u30ED\u30F3\u30D7\u30C8\u306B\u8CBC\u308A\u4ED8\u3051\u307E\u3059","tui.tips.editor":"{highlight}Ctrl+X E{/highlight} \u307E\u305F\u306F {highlight}/editor{/highlight} \u3067\u5916\u90E8\u30A8\u30C7\u30A3\u30BF\u304B\u3089\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u66F8\u3051\u307E\u3059","tui.tips.init":"{highlight}/init{/highlight} \u3092\u5B9F\u884C\u3059\u308B\u3068\u30B3\u30FC\u30C9\u30D9\u30FC\u30B9\u3092\u57FA\u306B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u30EB\u30FC\u30EB\u3092\u81EA\u52D5\u751F\u6210\u3057\u307E\u3059","tui.tips.models":"{highlight}/models{/highlight} \u307E\u305F\u306F {highlight}Ctrl+X M{/highlight} \u3067\u5229\u7528\u53EF\u80FD\u306A\u30E2\u30C7\u30EB\u3092\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.theme":'\u30BF\u30FC\u30DF\u30CA\u30EB\u306E\u80CC\u666F\u306B\u5408\u308F\u305B\u3066\u30C6\u30FC\u30DE\u30E2\u30FC\u30C9\u3092\u56FA\u5B9A\u3059\u308B\u306B\u306F\u3001\u30B3\u30DE\u30F3\u30C9\u30D1\u30EC\u30C3\u30C8\uFF08{highlight}Ctrl+P{/highlight}\uFF09\u3067 "lock" \u3092\u691C\u7D22\u3057\u307E\u3059',"tui.tips.new_session":"{highlight}Ctrl+X N{/highlight} \u307E\u305F\u306F {highlight}/new{/highlight} \u3067\u65B0\u3057\u3044\u4F1A\u8A71\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB\u3057\u307E\u3059","tui.tips.sessions":"{highlight}/sessions{/highlight} \u307E\u305F\u306F {highlight}Ctrl+X L{/highlight} \u3067\u904E\u53BB\u306E\u4F1A\u8A71\u3092\u4E00\u89A7\u8868\u793A\u30FB\u7D99\u7D9A\u3057\u307E\u3059","tui.tips.compact":"{highlight}/compact{/highlight} \u3067\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u4E0A\u9650\u8FD1\u304F\u306E\u9577\u3044\u4F1A\u8A71\u3092\u8981\u7D04\u3067\u304D\u307E\u3059","tui.tips.export":"{highlight}Ctrl+X X{/highlight} \u307E\u305F\u306F {highlight}/export{/highlight} \u3067\u4F1A\u8A71\u3092 Markdown \u3068\u3057\u3066\u4FDD\u5B58\u3057\u307E\u3059","tui.tips.copy_last":"{highlight}Ctrl+X Y{/highlight} \u3067\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u306E\u6700\u5F8C\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3059","tui.tips.command_palette":"{highlight}Ctrl+P{/highlight} \u3067\u5229\u7528\u53EF\u80FD\u306A\u3059\u3079\u3066\u306E\u30B3\u30DE\u30F3\u30C9\u3092\u8868\u793A\u3057\u307E\u3059","tui.tips.leader":"\u30EA\u30FC\u30C0\u30FC\u30AD\u30FC\u306F {highlight}Ctrl+X{/highlight}\u3002\u4ED6\u306E\u30AD\u30FC\u3068\u7D44\u307F\u5408\u308F\u305B\u3066\u30AF\u30A4\u30C3\u30AF\u64CD\u4F5C\u304C\u3067\u304D\u307E\u3059","tui.tips.f2":"{highlight}F2{/highlight} \u3067\u6700\u8FD1\u4F7F\u3063\u305F\u30E2\u30C7\u30EB\u3092\u7D20\u65E9\u304F\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.sidebar":"{highlight}Ctrl+X B{/highlight} \u3067\u30B5\u30A4\u30C9\u30D0\u30FC\u30D1\u30CD\u30EB\u306E\u8868\u793A/\u975E\u8868\u793A\u3092\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.history":"{highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} \u3067\u4F1A\u8A71\u5C65\u6B74\u3092\u79FB\u52D5\u3057\u307E\u3059","tui.tips.jump_first":"{highlight}Ctrl+G{/highlight} \u307E\u305F\u306F {highlight}Home{/highlight} \u3067\u4F1A\u8A71\u306E\u5148\u982D\u306B\u30B8\u30E3\u30F3\u30D7\u3057\u307E\u3059","tui.tips.jump_last":"{highlight}Ctrl+Alt+G{/highlight} \u307E\u305F\u306F {highlight}End{/highlight} \u3067\u6700\u65B0\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u30B8\u30E3\u30F3\u30D7\u3057\u307E\u3059","tui.tips.newline":"{highlight}Shift+Enter{/highlight} \u307E\u305F\u306F {highlight}Ctrl+J{/highlight} \u3067\u30D7\u30ED\u30F3\u30D7\u30C8\u306B\u6539\u884C\u3092\u5165\u308C\u307E\u3059","tui.tips.clear_input":"\u5165\u529B\u4E2D\u306B {highlight}Ctrl+C{/highlight} \u3092\u62BC\u3059\u3068\u5165\u529B\u6B04\u3092\u30AF\u30EA\u30A2\u3057\u307E\u3059","tui.tips.escape":"{highlight}Escape{/highlight} \u3067 AI \u306E\u5FDC\u7B54\u3092\u9014\u4E2D\u3067\u505C\u6B62\u3057\u307E\u3059","tui.tips.plan_agent":"{highlight}Plan{/highlight} \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306B\u5207\u308A\u66FF\u3048\u308B\u3068\u5B9F\u969B\u306E\u5909\u66F4\u306A\u3057\u3067\u63D0\u6848\u3060\u3051\u5F97\u3089\u308C\u307E\u3059","tui.tips.subagent":"\u30D7\u30ED\u30F3\u30D7\u30C8\u5185\u3067 {highlight}@agent-name{/highlight} \u3092\u4F7F\u3046\u3068\u5C02\u7528\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u547C\u3073\u51FA\u3057\u307E\u3059","tui.tips.cycle_sessions":"{highlight}Ctrl+X Right/Left{/highlight} \u3067\u89AA\u5B50\u30BB\u30C3\u30B7\u30E7\u30F3\u9593\u3092\u79FB\u52D5\u3057\u307E\u3059","tui.tips.config_files":"\u30B5\u30FC\u30D0\u8A2D\u5B9A\u306F {highlight}qitqode.json{/highlight}\u3001TUI \u8A2D\u5B9A\u306F {highlight}tui.json{/highlight} \u3092\u4F5C\u6210\u3057\u307E\u3059","tui.tips.global_config":"TUI \u8A2D\u5B9A\u3092\u30B0\u30ED\u30FC\u30D0\u30EB\u306B\u7F6E\u304F\u306A\u3089 {highlight}~/.config/qitqode/tui.json{/highlight} \u3092\u4F7F\u3044\u307E\u3059","tui.tips.schema":"\u8A2D\u5B9A\u306B {highlight}$schema{/highlight} \u3092\u52A0\u3048\u308B\u3068\u30A8\u30C7\u30A3\u30BF\u3067\u81EA\u52D5\u88DC\u5B8C\u3055\u308C\u307E\u3059","tui.tips.default_model":"\u8A2D\u5B9A\u306E {highlight}model{/highlight} \u3067\u30C7\u30D5\u30A9\u30EB\u30C8\u30E2\u30C7\u30EB\u3092\u6307\u5B9A\u3057\u307E\u3059","tui.tips.keybinds":"{highlight}tui.json{/highlight} \u306E {highlight}keybinds{/highlight} \u30BB\u30AF\u30B7\u30E7\u30F3\u3067\u4EFB\u610F\u306E\u30AD\u30FC\u30D0\u30A4\u30F3\u30C9\u3092\u4E0A\u66F8\u304D\u3067\u304D\u307E\u3059","tui.tips.disable_keybind":"\u4EFB\u610F\u306E\u30AD\u30FC\u30D0\u30A4\u30F3\u30C9\u3092 {highlight}none{/highlight} \u306B\u3059\u308B\u3068\u5B8C\u5168\u306B\u7121\u52B9\u5316\u3067\u304D\u307E\u3059","tui.tips.mcp_config":"{highlight}mcp{/highlight} \u8A2D\u5B9A\u30BB\u30AF\u30B7\u30E7\u30F3\u3067\u30ED\u30FC\u30AB\u30EB/\u30EA\u30E2\u30FC\u30C8 MCP \u30B5\u30FC\u30D0\u3092\u8A2D\u5B9A\u3057\u307E\u3059","tui.tips.mcp_oauth":"QitQode \u306F\u8A8D\u8A3C\u304C\u5FC5\u8981\u306A\u30EA\u30E2\u30FC\u30C8 MCP \u30B5\u30FC\u30D0\u306E OAuth \u3092\u81EA\u52D5\u51E6\u7406\u3057\u307E\u3059","tui.tips.custom_command":"{highlight}.qitqode/command/{/highlight} \u306B {highlight}.md{/highlight} \u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0\u3059\u308B\u3068\u518D\u5229\u7528\u53EF\u80FD\u306A\u30AB\u30B9\u30BF\u30E0\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u5B9A\u7FA9\u3067\u304D\u307E\u3059","tui.tips.command_args":"\u30AB\u30B9\u30BF\u30E0\u30B3\u30DE\u30F3\u30C9\u3067 {highlight}$ARGUMENTS{/highlight}\u3001{highlight}$1{/highlight}\u3001{highlight}$2{/highlight} \u3092\u4F7F\u3046\u3068\u52D5\u7684\u306A\u5165\u529B\u3092\u53D7\u3051\u53D6\u308C\u307E\u3059","tui.tips.command_backticks":"\u30B3\u30DE\u30F3\u30C9\u5185\u3067\u30D0\u30C3\u30AF\u30AF\u30A9\u30FC\u30C8\u3092\u4F7F\u3046\u3068\u30B7\u30A7\u30EB\u51FA\u529B\u3092\u57CB\u3081\u8FBC\u3081\u307E\u3059\uFF08\u4F8B\uFF1A{highlight}`git status`{/highlight}\uFF09","tui.tips.custom_agent":"{highlight}.qitqode/agent/{/highlight} \u306B {highlight}.md{/highlight} \u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0\u3057\u3066\u5C02\u7528 AI \u30DA\u30EB\u30BD\u30CA\u3092\u4F5C\u308C\u307E\u3059","tui.tips.agent_perms":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3054\u3068\u306B {highlight}edit{/highlight}\u3001{highlight}bash{/highlight}\u3001{highlight}webfetch{/highlight} \u30C4\u30FC\u30EB\u306E\u6A29\u9650\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u3059","tui.tips.bash_allow":'{highlight}"git *": "allow"{/highlight} \u306E\u3088\u3046\u306A\u30D1\u30BF\u30FC\u30F3\u3067 bash \u6A29\u9650\u3092\u7D30\u304B\u304F\u5236\u5FA1\u3067\u304D\u307E\u3059',"tui.tips.bash_deny":'{highlight}"rm -rf *": "deny"{/highlight} \u3092\u8A2D\u5B9A\u3057\u3066\u7834\u58CA\u7684\u306A\u30B3\u30DE\u30F3\u30C9\u3092\u30D6\u30ED\u30C3\u30AF\u3057\u307E\u3059',"tui.tips.bash_ask":'{highlight}"git push": "ask"{/highlight} \u3092\u8A2D\u5B9A\u3059\u308B\u3068 push \u524D\u306B\u627F\u8A8D\u3092\u6C42\u3081\u307E\u3059',"tui.tips.formatter":"QitQode \u306F prettier\u3001gofmt\u3001ruff \u306A\u3069\u3067\u30D5\u30A1\u30A4\u30EB\u3092\u81EA\u52D5\u6574\u5F62\u3057\u307E\u3059","tui.tips.disable_formatter":'\u8A2D\u5B9A\u3067 {highlight}"formatter": false{/highlight} \u306B\u3059\u308B\u3068\u3059\u3079\u3066\u306E\u81EA\u52D5\u6574\u5F62\u3092\u7121\u52B9\u5316\u3067\u304D\u307E\u3059',"tui.tips.custom_formatter":"\u62E1\u5F35\u5B50\u3054\u3068\u306E\u30AB\u30B9\u30BF\u30E0\u6574\u5F62\u30B3\u30DE\u30F3\u30C9\u3092\u8A2D\u5B9A\u3067\u5B9A\u7FA9\u3067\u304D\u307E\u3059","tui.tips.lsp":"QitQode \u306F\u30A4\u30F3\u30C6\u30EA\u30B8\u30A7\u30F3\u30C8\u306A\u30B3\u30FC\u30C9\u89E3\u6790\u306B LSP \u30B5\u30FC\u30D0\u3092\u4F7F\u3044\u307E\u3059","tui.tips.custom_tool":"{highlight}.qitqode/tools/{/highlight} \u306B {highlight}.ts{/highlight} \u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u3063\u3066\u65B0\u3057\u3044 LLM \u30C4\u30FC\u30EB\u3092\u5B9A\u7FA9\u3057\u307E\u3059","tui.tips.tool_scripts":"\u30C4\u30FC\u30EB\u5B9A\u7FA9\u304B\u3089 Python\u3001Go \u306A\u3069\u306E\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u547C\u3073\u51FA\u305B\u307E\u3059","tui.tips.plugins":"{highlight}.qitqode/plugin/{/highlight} \u306B {highlight}.ts{/highlight} \u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0\u3057\u3066\u30A4\u30D9\u30F3\u30C8\u30D5\u30C3\u30AF\u3092\u5B9F\u88C5\u3067\u304D\u307E\u3059","tui.tips.plugin_notify":"\u30D7\u30E9\u30B0\u30A4\u30F3\u3067\u30BB\u30C3\u30B7\u30E7\u30F3\u5B8C\u4E86\u6642\u306B OS \u901A\u77E5\u3092\u9001\u308C\u307E\u3059","tui.tips.plugin_protect":"\u30D7\u30E9\u30B0\u30A4\u30F3\u3092\u66F8\u3044\u3066 QitQode \u304C\u6A5F\u5BC6\u30D5\u30A1\u30A4\u30EB\u3092\u8AAD\u307E\u306A\u3044\u3088\u3046\u306B\u3067\u304D\u307E\u3059","tui.tips.run":"{highlight}qitqode run{/highlight} \u3067\u975E\u5BFE\u8A71\u7684\u306A\u30B9\u30AF\u30EA\u30D7\u30C8\u5B9F\u884C\u304C\u3067\u304D\u307E\u3059","tui.tips.continue":"{highlight}qitqode --continue{/highlight} \u3067\u524D\u56DE\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u518D\u958B\u3057\u307E\u3059","tui.tips.attach_cli":"{highlight}qitqode run -f file.ts{/highlight} \u3067 CLI \u304B\u3089\u30D5\u30A1\u30A4\u30EB\u3092\u6DFB\u4ED8\u3067\u304D\u307E\u3059","tui.tips.format_json":"{highlight}--format json{/highlight} \u3092\u4F7F\u3046\u3068\u30B9\u30AF\u30EA\u30D7\u30C8\u3067\u6A5F\u68B0\u53EF\u8AAD\u306A\u51FA\u529B\u3092\u5F97\u3089\u308C\u307E\u3059","tui.tips.auth_list":"{highlight}qitqode auth status{/highlight} \u3067\u73FE\u5728\u306E\u30B5\u30A4\u30F3\u30A4\u30F3\u72B6\u614B\u3092\u78BA\u8A8D\u3057\u307E\u3059","tui.tips.agent_create":"{highlight}qitqode agent create{/highlight} \u3067\u30AC\u30A4\u30C9\u4ED8\u304D\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u4F5C\u6210\u3092\u884C\u3044\u307E\u3059","tui.tips.theme_system":'{highlight}"theme": "system"{/highlight} \u3067\u30BF\u30FC\u30DF\u30CA\u30EB\u306E\u914D\u8272\u306B\u5408\u308F\u305B\u307E\u3059',"tui.tips.theme_files":"{highlight}.qitqode/themes/{/highlight} \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B JSON \u30C6\u30FC\u30DE\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u307E\u3059","tui.tips.theme_variants":"\u30C6\u30FC\u30DE\u306F\u30C0\u30FC\u30AF/\u30E9\u30A4\u30C8\u306E\u30D0\u30EA\u30A2\u30F3\u30C8\u3092\u30B5\u30DD\u30FC\u30C8\u3057\u307E\u3059","tui.tips.theme_ansi":"\u30AB\u30B9\u30BF\u30E0\u30C6\u30FC\u30DE\u3067 ANSI \u30AB\u30E9\u30FC 0-255 \u3092\u53C2\u7167\u3067\u304D\u307E\u3059","tui.tips.env_var":"\u8A2D\u5B9A\u3067 {highlight}{env:VAR_NAME}{/highlight} \u69CB\u6587\u3092\u4F7F\u3046\u3068\u74B0\u5883\u5909\u6570\u3092\u53C2\u7167\u3067\u304D\u307E\u3059","tui.tips.file_var":"{highlight}{file:path}{/highlight} \u3067\u8A2D\u5B9A\u5024\u306B\u30D5\u30A1\u30A4\u30EB\u5185\u5BB9\u3092\u57CB\u3081\u8FBC\u3081\u307E\u3059","tui.tips.instructions":"\u8A2D\u5B9A\u306E {highlight}instructions{/highlight} \u3067\u8FFD\u52A0\u306E\u30EB\u30FC\u30EB\u30D5\u30A1\u30A4\u30EB\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u3059","tui.tips.temperature":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306E {highlight}temperature{/highlight} \u3092 0.0\uFF08\u53B3\u5BC6\uFF09\u304B\u3089 1.0\uFF08\u5275\u9020\u7684\uFF09\u307E\u3067\u8ABF\u6574\u3057\u307E\u3059","tui.tips.steps":"{highlight}steps{/highlight} \u3092\u8A2D\u5B9A\u3059\u308B\u3068\u30EA\u30AF\u30A8\u30B9\u30C8\u3054\u3068\u306E\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u53CD\u5FA9\u56DE\u6570\u3092\u5236\u9650\u3057\u307E\u3059","tui.tips.disable_tool":'{highlight}"tools": {"bash": false}{/highlight} \u3067\u7279\u5B9A\u306E\u30C4\u30FC\u30EB\u3092\u7121\u52B9\u5316\u3067\u304D\u307E\u3059',"tui.tips.disable_mcp_tools":'{highlight}"mcp_*": false{/highlight} \u3067 MCP \u30B5\u30FC\u30D0\u7531\u6765\u306E\u30C4\u30FC\u30EB\u3092\u3059\u3079\u3066\u7121\u52B9\u5316\u3067\u304D\u307E\u3059',"tui.tips.tool_override":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3054\u3068\u306E\u8A2D\u5B9A\u3067\u30B0\u30ED\u30FC\u30D0\u30EB\u306A\u30C4\u30FC\u30EB\u8A2D\u5B9A\u3092\u4E0A\u66F8\u304D\u3067\u304D\u307E\u3059","tui.tips.doom_loop":"\u6A29\u9650 {highlight}doom_loop{/highlight} \u304C\u30C4\u30FC\u30EB\u547C\u3073\u51FA\u3057\u306E\u7121\u9650\u30EB\u30FC\u30D7\u3092\u9632\u304E\u307E\u3059","tui.tips.external_dir":"\u6A29\u9650 {highlight}external_directory{/highlight} \u304C\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u5916\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u8B77\u3057\u307E\u3059","tui.tips.debug_config":"{highlight}qitqode debug config{/highlight} \u3067\u8A2D\u5B9A\u306E\u554F\u984C\u3092\u8ABF\u67FB\u3057\u307E\u3059","tui.tips.print_logs":"{highlight}--print-logs{/highlight} \u30D5\u30E9\u30B0\u3067 stderr \u306B\u8A73\u7D30\u30ED\u30B0\u3092\u51FA\u529B\u3057\u307E\u3059","tui.tips.timeline":"{highlight}Ctrl+X G{/highlight} \u307E\u305F\u306F {highlight}/timeline{/highlight} \u3067\u7279\u5B9A\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u30B8\u30E3\u30F3\u30D7\u3057\u307E\u3059","tui.tips.toggle_code":"{highlight}Ctrl+X H{/highlight} \u3067\u30E1\u30C3\u30BB\u30FC\u30B8\u5185\u30B3\u30FC\u30C9\u30D6\u30ED\u30C3\u30AF\u306E\u8868\u793A\u3092\u5207\u308A\u66FF\u3048\u307E\u3059","tui.tips.status":"{highlight}Ctrl+X S{/highlight} \u307E\u305F\u306F {highlight}/status{/highlight} \u3067\u30B7\u30B9\u30C6\u30E0\u72B6\u614B\u3092\u8868\u793A\u3057\u307E\u3059","tui.tips.scroll_accel":"{highlight}tui.json{/highlight} \u306E {highlight}scroll_acceleration{/highlight} \u3092\u6709\u52B9\u306B\u3059\u308B\u3068 macOS \u98A8\u306E\u306A\u3081\u3089\u304B\u306A\u30B9\u30AF\u30ED\u30FC\u30EB\u306B\u306A\u308A\u307E\u3059","tui.tips.agents_md":"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E {highlight}AGENTS.md{/highlight} \u3092 Git \u306B\u30B3\u30DF\u30C3\u30C8\u3057\u3066\u30C1\u30FC\u30E0\u3067\u5171\u6709\u3057\u307E\u3059","tui.tips.review":"{highlight}/review{/highlight} \u3067\u672A\u30B3\u30DF\u30C3\u30C8\u5909\u66F4\u3001\u30D6\u30E9\u30F3\u30C1\u3001PR \u3092\u30EC\u30D3\u30E5\u30FC\u3057\u307E\u3059","tui.tips.help":"{highlight}/help{/highlight} \u307E\u305F\u306F {highlight}Ctrl+X H{/highlight} \u3067\u30D8\u30EB\u30D7\u3092\u8868\u793A\u3057\u307E\u3059","tui.tips.rename":"{highlight}/rename{/highlight} \u3067\u73FE\u5728\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u30EA\u30CD\u30FC\u30E0\u3057\u307E\u3059","tui.tips.suspend.unix":"{highlight}Ctrl+Z{/highlight} \u3067\u30BF\u30FC\u30DF\u30CA\u30EB\u3092\u30B5\u30B9\u30DA\u30F3\u30C9\u3057\u30B7\u30A7\u30EB\u306B\u623B\u308A\u307E\u3059","tui.tips.suspend.win":"{highlight}Ctrl+Z{/highlight} \u3067\u30D7\u30ED\u30F3\u30D7\u30C8\u306E\u5165\u529B\u3092\u53D6\u308A\u6D88\u3057\u307E\u3059","tui.command.palette.title":"\u30B3\u30DE\u30F3\u30C9","tui.command.palette.suggested":"\u304A\u3059\u3059\u3081","tui.command.category.session":"\u30BB\u30C3\u30B7\u30E7\u30F3","tui.command.category.agent":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","tui.command.category.provider":"\u30D7\u30ED\u30D0\u30A4\u30C0","tui.command.category.system":"\u30B7\u30B9\u30C6\u30E0","tui.command.category.prompt":"\u30D7\u30ED\u30F3\u30D7\u30C8","tui.command.category.internal":"\u7D44\u307F\u8FBC\u307F","tui.command.category.external":"\u5916\u90E8","tui.slash.init.description":"AGENTS.md \u3092\u30AC\u30A4\u30C9\u4ED8\u304D\u3067\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7","tui.slash.review.description":"\u5909\u66F4\u3092\u30EC\u30D3\u30E5\u30FC [commit|branch|pr]\u3001\u30C7\u30D5\u30A9\u30EB\u30C8\u306F\u672A\u30B3\u30DF\u30C3\u30C8","tui.slash.dream.description":"memory \u30D5\u30A1\u30A4\u30EB\u3068\u751F\u306E\u8ECC\u8DE1\u304B\u3089\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30E1\u30E2\u30EA\u3092\u624B\u52D5\u3067\u7D71\u5408","tui.slash.distill.description":"\u6700\u8FD1\u306E\u4F5C\u696D\u304B\u3089\u7E70\u308A\u8FD4\u3057\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u898B\u3064\u3051\u3001skill\u30FB\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30B3\u30DE\u30F3\u30C9\u306B\u30D1\u30C3\u30B1\u30FC\u30B8\u5316","tui.slash.goal.description":"\u505C\u6B62\u6761\u4EF6\u4ED8\u304D\u30B4\u30FC\u30EB\u3092\u8A2D\u5B9A\uFF1B\u5224\u5B9A\u304C\u9054\u6210\u3068\u8A00\u3046\u307E\u3067\u5B9F\u884C\u3002/goal clear \u3067\u4E2D\u6B62","tui.slash.deep-research.description":"\u6DF1\u3044\u591A\u30BD\u30FC\u30B9\u30FB\u30D5\u30A1\u30AF\u30C8\u30C1\u30A7\u30C3\u30AF\u6E08\u307F\u8ABF\u67FB\u30EC\u30DD\u30FC\u30C8\uFF08deep-research \u30EF\u30FC\u30AF\u30D5\u30ED\u30FC\u3092\u5B9F\u884C\uFF09","tui.command.language.switch.title":"\u8A00\u8A9E\u3092\u5207\u308A\u66FF\u3048","tui.command.language.switch.description":"\u8868\u793A\u8A00\u8A9E\u3092\u5909\u66F4\u3057\u307E\u3059","tui.command.language.dialog.title":"\u8A00\u8A9E\u3092\u5207\u308A\u66FF\u3048","tui.language.auto":"\u81EA\u52D5\uFF08\u30B7\u30B9\u30C6\u30E0\uFF09","tui.language.current":"\u73FE\u5728","tui.command.session.list.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5207\u308A\u66FF\u3048","tui.command.session.new.title":"\u65B0\u898F\u30BB\u30C3\u30B7\u30E7\u30F3","tui.command.workflow.list.title":"\u30EF\u30FC\u30AF\u30D5\u30ED\u30FC","tui.command.model.list.title":"\u30E2\u30C7\u30EB\u3092\u5207\u308A\u66FF\u3048","tui.command.model.cycle_recent.title":"\u30E2\u30C7\u30EB\u3092\u5FAA\u74B0","tui.command.model.cycle_recent_reverse.title":"\u30E2\u30C7\u30EB\u3092\u9006\u5FAA\u74B0","tui.command.model.cycle_favorite.title":"\u304A\u6C17\u306B\u5165\u308A\u3092\u5FAA\u74B0","tui.command.model.cycle_favorite_reverse.title":"\u304A\u6C17\u306B\u5165\u308A\u3092\u9006\u5FAA\u74B0","tui.command.agent.list.title":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u5207\u308A\u66FF\u3048","tui.command.mcp.list.title":"MCP \u3092\u5207\u308A\u66FF\u3048","tui.command.never_ask.title_on":"\u8CEA\u554F\u3057\u306A\u3044\uFF1A\u30AA\u30F3\uFF08\u81EA\u52D5\u5224\u65AD\u3001\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u9664\u304F\uFF09 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u30AA\u30D5\u306B","tui.command.never_ask.title_off":"\u8CEA\u554F\u3057\u306A\u3044\uFF1A\u30AA\u30D5 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u30AA\u30F3\u306B\uFF08\u81EA\u52D5\u5224\u65AD\u3001\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u9664\u304F\uFF09","tui.command.never_ask.toast_on":"\u8CEA\u554F\u3057\u306A\u3044\u3092\u30AA\u30F3\u306B\u3057\u307E\u3057\u305F \u2014 \u3042\u306A\u305F\u306B\u8CEA\u554F\u305B\u305A\u3001\u30AA\u30D5\u306B\u3059\u308B\uFF08/never-ask\uFF09\u307E\u3067\u81EA\u5206\u3067\u6700\u9069\u306A\u9078\u629E\u80A2\u3092\u9078\u3073\u307E\u3059\u3002\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u5F15\u304D\u7D9A\u304D\u3042\u306A\u305F\u306E\u627F\u8A8D\u304C\u5FC5\u8981\u3067\u3059\u3002","tui.command.never_ask.toast_off":"\u8CEA\u554F\u3057\u306A\u3044\u3092\u30AA\u30D5\u306B\u3057\u307E\u3057\u305F \u2014 \u5224\u65AD\u30DD\u30A4\u30F3\u30C8\u3067\u518D\u3073\u3042\u306A\u305F\u306B\u8CEA\u554F\u3057\u307E\u3059\u3002","tui.command.never_ask.title_on_fullauto":"\u8CEA\u554F\u3057\u306A\u3044\uFF1A\u30AA\u30F3\uFF08\u81EA\u52D5\u5224\u65AD\u3002\u30D5\u30EB\u30AA\u30FC\u30C8\u306B\u3088\u308A\u6A29\u9650\u3082\u81EA\u52D5\u627F\u8A8D\u4E2D\uFF09 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u30AA\u30D5\u306B","tui.command.never_ask.title_off_fullauto":"\u8CEA\u554F\u3057\u306A\u3044\uFF1A\u30AA\u30D5 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u30AA\u30F3\u306B\uFF08\u81EA\u52D5\u5224\u65AD\u3002\u30D5\u30EB\u30AA\u30FC\u30C8\u306B\u3088\u308B\u6A29\u9650\u306E\u81EA\u52D5\u627F\u8A8D\u306F\u7D99\u7D9A\u4E2D\uFF09","tui.command.never_ask.toast_on_fullauto":"\u8CEA\u554F\u3057\u306A\u3044\u3092\u30AA\u30F3\u306B\u3057\u307E\u3057\u305F \u2014 \u3042\u306A\u305F\u306B\u8CEA\u554F\u305B\u305A\u3001\u30AA\u30D5\u306B\u3059\u308B\uFF08/never-ask\uFF09\u307E\u3067\u81EA\u5206\u3067\u6700\u9069\u306A\u9078\u629E\u80A2\u3092\u9078\u3073\u307E\u3059\u3002\u30D5\u30EB\u30AA\u30FC\u30C8\u304C\u6709\u52B9\u306A\u305F\u3081\u3001\u30C4\u30FC\u30EB\u306E\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8\u3082\u81EA\u52D5\u7684\u306B\u627F\u8A8D\u3055\u308C\u307E\u3059\u3002","tui.command.agent.cycle.title":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u5FAA\u74B0","tui.command.variant.cycle.title":"\u30D0\u30EA\u30A2\u30F3\u30C8\u3092\u5FAA\u74B0","tui.command.variant.list.title":"\u30E2\u30C7\u30EB\u30D0\u30EA\u30A2\u30F3\u30C8\u3092\u5207\u308A\u66FF\u3048","tui.command.agent.cycle.reverse.title":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u9006\u5FAA\u74B0","tui.command.provider.login.title":"\u30ED\u30B0\u30A4\u30F3","tui.command.provider.logout.title":"\u30ED\u30B0\u30A2\u30A6\u30C8","tui.command.console.org.switch.title":"\u7D44\u7E54\u3092\u5207\u308A\u66FF\u3048","tui.command.qitqode.status.title":"\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u8868\u793A","tui.command.theme.switch.title":"\u30C6\u30FC\u30DE\u3092\u5207\u308A\u66FF\u3048","tui.command.theme.switch_mode.to_light":"\u30E9\u30A4\u30C8\u30E2\u30FC\u30C9\u306B\u5207\u66FF","tui.command.theme.switch_mode.to_dark":"\u30C0\u30FC\u30AF\u30E2\u30FC\u30C9\u306B\u5207\u66FF","tui.command.theme.mode.unlock":"\u30C6\u30FC\u30DE\u30E2\u30FC\u30C9\u306E\u30ED\u30C3\u30AF\u89E3\u9664","tui.command.theme.mode.lock":"\u30C6\u30FC\u30DE\u30E2\u30FC\u30C9\u3092\u30ED\u30C3\u30AF","tui.command.help.show.title":"\u30D8\u30EB\u30D7","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"\u30A2\u30AF\u30BB\u30B7\u30D3\u30EA\u30C6\u30A3: \u30B3\u30DE\u30F3\u30C9\u30EA\u30B9\u30C8\u304B\u3089\u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u3068\u30B5\u30A6\u30F3\u30C9\u3092\u5207\u308A\u66FF\u3048\u3089\u308C\u307E\u3059\u3002\u74B0\u5883\u5909\u6570: NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND\u3002","tui.dialog.help.announcements":"\u30A2\u30CA\u30A6\u30F3\u30B9: \u30A2\u30AF\u30BB\u30B7\u30D6\u30EB\u30E2\u30FC\u30C9\u3067\u306F\u3001\u30B9\u30AF\u30EA\u30FC\u30F3\u30EA\u30FC\u30C0\u30FC\u5411\u3051\u30A2\u30CA\u30A6\u30F3\u30B9\u306E\u8A73\u7D30\u5EA6(\u7C21\u6F54\u30FB\u6A19\u6E96\u30FB\u8A73\u7D30)\u3092\u30B3\u30DE\u30F3\u30C9\u30EA\u30B9\u30C8\u307E\u305F\u306F QITQODE_TUI_ANNOUNCEMENTS \u3067\u9078\u3079\u307E\u3059\u3002\u30A8\u30E9\u30FC\u306F\u5E38\u306B\u8AAD\u307F\u4E0A\u3052\u3089\u308C\u307E\u3059\u3002","tui.dialog.help.dialog_keys":"\u30C0\u30A4\u30A2\u30ED\u30B0: \u3059\u3079\u3066\u306E\u30C0\u30A4\u30A2\u30ED\u30B0\u306F\u30AD\u30FC\u30DC\u30FC\u30C9\u3060\u3051\u3067\u64CD\u4F5C\u3067\u304D\u307E\u3059 \u2014 Esc \u3067\u9589\u3058\u308B\u3001Tab \u3084\u77E2\u5370\u30AD\u30FC\u3067\u30D5\u30A9\u30FC\u30AB\u30B9\u79FB\u52D5\u3001Enter \u307E\u305F\u306F Space \u3067\u9078\u629E\u4E2D\u306E\u9805\u76EE\u3092\u5B9F\u884C\u3057\u307E\u3059\u3002","tui.command.app.announcements.cycle":"\u30A2\u30CA\u30A6\u30F3\u30B9: {{level}}(\u9078\u629E\u3057\u3066\u5909\u66F4)","tui.announcements.level.quiet":"\u7C21\u6F54","tui.announcements.level.normal":"\u6A19\u6E96","tui.announcements.level.verbose":"\u8A73\u7D30","tui.app.terminal_too_small":"\u30BF\u30FC\u30DF\u30CA\u30EB\u304C\u5C0F\u3055\u3059\u304E\u307E\u3059 ({{width}}x{{height}})\u300240x8 \u4EE5\u4E0A\u306B\u30EA\u30B5\u30A4\u30BA\u3057\u3066\u304F\u3060\u3055\u3044\u3002","tui.dialog.help.command_list":"{{keybind}} \u3092\u62BC\u3059\u3068\u3001\u4EFB\u610F\u306E\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3067\u5229\u7528\u3067\u304D\u308B\u3059\u3079\u3066\u306E\u64CD\u4F5C\u3068\u30B3\u30DE\u30F3\u30C9\u3092\u8868\u793A\u3067\u304D\u307E\u3059\u3002","tui.dialog.help.ok":"OK","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 \u30B9\u30AF\u30ED\u30FC\u30EB \xB7 PgUp/PgDn \u30DA\u30FC\u30B8 \xB7 esc \u9589\u3058\u308B","tui.dialog.ok":"OK","tui.dialog.confirm.cancel":"\u30AD\u30E3\u30F3\u30BB\u30EB","tui.dialog.confirm.confirm":"\u78BA\u8A8D","tui.dialog.agreement.title":"\u5229\u7528\u898F\u7D04\u3068\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC","tui.dialog.agreement.message":"\u5185\u5BB9\u3092\u78BA\u8A8D\u3057\u3001\u540C\u610F\u306E\u3046\u3048\u3067\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002","tui.dialog.agreement.confirm":"\u540C\u610F\u3057\u3066\u7D9A\u884C","tui.command.docs.terms.title":"\u5229\u7528\u898F\u7D04\u3092\u8868\u793A","tui.command.docs.privacy.title":"\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC\u3092\u8868\u793A","tui.command.consent.revoke.title":"\u7121\u6599\u30E2\u30C7\u30EB\u306E\u540C\u610F\u3092\u53D6\u308A\u6D88\u3059","tui.consent.revoked":"\u7121\u6599\u30E2\u30C7\u30EB\u306E\u540C\u610F\u3092\u53D6\u308A\u6D88\u3057\u307E\u3057\u305F \u2014 \u6B21\u56DE\u5229\u7528\u6642\u306B\u518D\u5EA6\u540C\u610F\u3092\u6C42\u3081\u307E\u3059","tui.dialog.select.placeholder":"\u691C\u7D22","tui.dialog.select.no_results":"\u7D50\u679C\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","tui.dialog.prompt.placeholder":"\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B","tui.dialog.prompt.busy":"\u51E6\u7406\u4E2D...","tui.dialog.prompt.processing":"\u51E6\u7406\u4E2D...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"\u9001\u4FE1","tui.dialog.export.title":"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u30AA\u30D7\u30B7\u30E7\u30F3","tui.dialog.export.filename":"\u30D5\u30A1\u30A4\u30EB\u540D:","tui.dialog.export.filename_placeholder":"\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u5165\u529B","tui.dialog.export.include_thinking":"\u601D\u8003\u904E\u7A0B\u3092\u542B\u3081\u308B","tui.dialog.export.include_tool_details":"\u30C4\u30FC\u30EB\u8A73\u7D30\u3092\u542B\u3081\u308B","tui.dialog.export.include_assistant_metadata":"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u30E1\u30BF\u30C7\u30FC\u30BF\u3092\u542B\u3081\u308B","tui.dialog.export.open_without_saving":"\u4FDD\u5B58\u305B\u305A\u306B\u958B\u304F","tui.dialog.export.hint.toggle_prefix":"\u62BC\u3059","tui.dialog.export.hint.toggle_action":"\u5207\u308A\u66FF\u3048","tui.dialog.export.hint.confirm_action":"\u78BA\u8A8D","tui.dialog.export.hint.options_action":"\u30AA\u30D7\u30B7\u30E7\u30F3","tui.toast.copied_to_clipboard":"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F","tui.toast.instructions_loaded":"{{files}} \u3092\u8AAD\u307F\u8FBC\u307F\u307E\u3057\u305F","tui.toast.update_available.title":"\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u304C\u3042\u308A\u307E\u3059","tui.toast.update_available.confirm":"\u65B0\u3057\u3044\u30D0\u30FC\u30B8\u30E7\u30F3 v{{version}} \u304C\u5229\u7528\u53EF\u80FD\u3067\u3059\u3002\u4ECA\u3059\u3050\u66F4\u65B0\u3057\u307E\u3059\u304B\uFF1F","tui.toast.update_available.updating":"v{{version}} \u306B\u66F4\u65B0\u4E2D...","tui.toast.update_available.failed":"\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F","tui.toast.update_available.success":"QitQode v{{version}} \u306B\u66F4\u65B0\u3057\u307E\u3057\u305F\u3002\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3092\u518D\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002","tui.toast.updated.title":"\u81EA\u52D5\u66F4\u65B0\u6E08\u307F","tui.toast.updated.message":"\u30D1\u30C3\u30C1\u66F4\u65B0\u3092\u81EA\u52D5\u9069\u7528\u3057\u307E\u3057\u305F\uFF1Av{{version}}\u3002\u518D\u8D77\u52D5\u5F8C\u306B\u6709\u52B9\u306B\u306A\u308A\u307E\u3059\u3002\u8A2D\u5B9A\u3067 autoupdate: false \u3092\u6307\u5B9A\u3059\u308B\u3068\u7121\u52B9\u306B\u3067\u304D\u307E\u3059\u3002","tui.sidebar.instructions":"\u30A4\u30F3\u30B9\u30C8\u30E9\u30AF\u30B7\u30E7\u30F3","tui.sidebar.cwd":"\u4F5C\u696D\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA","tui.toast.unknown_error":"\u4E0D\u660E\u306A\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F","tui.command.docs.open.title":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u958B\u304F","tui.command.app.exit.title":"\u30A2\u30D7\u30EA\u3092\u7D42\u4E86","tui.command.app.debug.title":"\u30C7\u30D0\u30C3\u30B0\u30D1\u30CD\u30EB\u3092\u5207\u66FF","tui.command.app.console.title":"\u30B3\u30F3\u30BD\u30FC\u30EB\u3092\u5207\u66FF","tui.command.app.heap_snapshot.title":"\u30D2\u30FC\u30D7\u30B9\u30CA\u30C3\u30D7\u30B7\u30E7\u30C3\u30C8\u3092\u66F8\u304D\u51FA\u3057","tui.command.terminal.suspend.title":"\u30BF\u30FC\u30DF\u30CA\u30EB\u3092\u30B5\u30B9\u30DA\u30F3\u30C9","tui.command.terminal.title.disable":"\u30BF\u30FC\u30DF\u30CA\u30EB\u30BF\u30A4\u30C8\u30EB\u3092\u7121\u52B9\u5316","tui.command.terminal.title.enable":"\u30BF\u30FC\u30DF\u30CA\u30EB\u30BF\u30A4\u30C8\u30EB\u3092\u6709\u52B9\u5316","tui.command.app.toggle.animations.disable":"\u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u5316","tui.command.app.toggle.animations.enable":"\u30A2\u30CB\u30E1\u30FC\u30B7\u30E7\u30F3\u3092\u6709\u52B9\u5316","tui.command.app.toggle.diffwrap.disable":"diff \u306E\u6298\u308A\u8FD4\u3057\u3092\u7121\u52B9\u5316","tui.command.app.toggle.diffwrap.enable":"diff \u306E\u6298\u308A\u8FD4\u3057\u3092\u6709\u52B9\u5316","tui.command.app.toggle.sound.disable":"\u30B5\u30A6\u30F3\u30C9\u3092\u7121\u52B9\u5316","tui.command.app.toggle.sound.enable":"\u30B5\u30A6\u30F3\u30C9\u3092\u6709\u52B9\u5316","tui.command.logout.toast":"\u30ED\u30B0\u30A2\u30A6\u30C8\u3057\u307E\u3057\u305F","tui.command.session.share.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5171\u6709","tui.command.session.share.copy_link":"\u5171\u6709\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC","tui.command.session.rename.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u30EA\u30CD\u30FC\u30E0","tui.command.session.timeline.title":"\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u30B8\u30E3\u30F3\u30D7","tui.command.session.fork.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5206\u5C90","tui.command.session.compact.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u5727\u7E2E","tui.command.session.unshare.title":"\u5171\u6709\u3092\u89E3\u9664","tui.command.session.undo.title":"\u76F4\u524D\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D6\u308A\u6D88\u3059","tui.command.session.redo.title":"\u3084\u308A\u76F4\u3057","tui.command.session.sidebar.show":"\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u8868\u793A","tui.command.session.sidebar.hide":"\u30B5\u30A4\u30C9\u30D0\u30FC\u3092\u975E\u8868\u793A","tui.command.session.conceal.disable":"\u30B3\u30FC\u30C9\u96A0\u853D\u3092\u7121\u52B9\u5316","tui.command.session.conceal.enable":"\u30B3\u30FC\u30C9\u96A0\u853D\u3092\u6709\u52B9\u5316","tui.command.session.timestamps.show":"\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u3092\u8868\u793A","tui.command.session.timestamps.hide":"\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u3092\u975E\u8868\u793A","tui.command.session.thinking.expand":"\u601D\u8003\u904E\u7A0B\u3092\u5C55\u958B","tui.command.session.thinking.collapse":"\u601D\u8003\u904E\u7A0B\u3092\u6298\u308A\u305F\u305F\u3080","tui.command.session.tool_details.show":"\u30C4\u30FC\u30EB\u8A73\u7D30\u3092\u8868\u793A","tui.command.session.tool_details.hide":"\u30C4\u30FC\u30EB\u8A73\u7D30\u3092\u975E\u8868\u793A","tui.command.session.scrollbar.toggle":"\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u3092\u5207\u66FF","tui.command.session.generic_tool_output.show":"\u6C4E\u7528\u30C4\u30FC\u30EB\u51FA\u529B\u3092\u8868\u793A","tui.command.session.generic_tool_output.hide":"\u6C4E\u7528\u30C4\u30FC\u30EB\u51FA\u529B\u3092\u975E\u8868\u793A","tui.command.session.page_up.title":"1 \u30DA\u30FC\u30B8\u4E0A","tui.command.session.page_down.title":"1 \u30DA\u30FC\u30B8\u4E0B","tui.command.session.line_up.title":"1 \u884C\u4E0A","tui.command.session.line_down.title":"1 \u884C\u4E0B","tui.command.session.half_page_up.title":"\u534A\u30DA\u30FC\u30B8\u4E0A","tui.command.session.half_page_down.title":"\u534A\u30DA\u30FC\u30B8\u4E0B","tui.command.session.first.title":"\u6700\u521D\u306E\u30E1\u30C3\u30BB\u30FC\u30B8","tui.command.session.last.title":"\u6700\u5F8C\u306E\u30E1\u30C3\u30BB\u30FC\u30B8","tui.command.session.last_user.title":"\u6700\u5F8C\u306E\u30E6\u30FC\u30B6\u30FC\u30E1\u30C3\u30BB\u30FC\u30B8\u3078","tui.command.session.message_next.title":"\u6B21\u306E\u30E1\u30C3\u30BB\u30FC\u30B8","tui.command.session.message_previous.title":"\u524D\u306E\u30E1\u30C3\u30BB\u30FC\u30B8","tui.command.messages.copy.title":"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u306E\u6700\u5F8C\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u30B3\u30D4\u30FC","tui.command.session.copy.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u30C8\u30E9\u30F3\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u30B3\u30D4\u30FC","tui.command.session.export.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u30C8\u30E9\u30F3\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8","tui.command.session.child_first.title":"\u5B50\u30BB\u30C3\u30B7\u30E7\u30F3\u3078\u79FB\u52D5","tui.command.session.parent.title":"\u89AA\u30BB\u30C3\u30B7\u30E7\u30F3\u3078\u623B\u308B","tui.command.session.child_next.title":"\u6B21\u306E\u5B50\u30BB\u30C3\u30B7\u30E7\u30F3","tui.command.session.child_previous.title":"\u524D\u306E\u5B50\u30BB\u30C3\u30B7\u30E7\u30F3","tui.command.prompt.clear.title":"\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u30AF\u30EA\u30A2","tui.command.prompt.submit.title":"\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u9001\u4FE1","tui.command.prompt.paste.title":"\u8CBC\u308A\u4ED8\u3051","tui.command.session.interrupt.title":"\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u4E2D\u65AD","tui.command.prompt.editor.title":"\u30A8\u30C7\u30A3\u30BF\u3092\u958B\u304F","tui.command.prompt.skills.title":"\u30B9\u30AD\u30EB","tui.command.voice.toggle.title":"\u97F3\u58F0\u5165\u529B\u306E\u5207\u308A\u66FF\u3048","tui.command.voice.toggle.title_on":"\u97F3\u58F0\u5165\u529B\uFF1A\u6709\u52B9 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u7121\u52B9\u5316","tui.command.voice.toggle.title_off":"\u97F3\u58F0\u5165\u529B\uFF1A\u7121\u52B9 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u6709\u52B9\u5316","tui.voice.enabled":"\u97F3\u58F0\u5165\u529B\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3057\u305F\uFF08\u4E2D\u56FD\u8A9E/\u82F1\u8A9E\uFF09\u2014 [Voice] \u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u9332\u97F3","tui.voice.disabled":"\u97F3\u58F0\u5165\u529B\u304C\u7121\u52B9\u306B\u306A\u308A\u307E\u3057\u305F","tui.voice.send.enabled":'\u97F3\u58F0\u9001\u4FE1\u304C\u6709\u52B9 \u2014 \u300C\u53D1\u9001\u300D\u307E\u305F\u306F "send it" \u3067\u9001\u4FE1',"tui.voice.send.disabled":"\u97F3\u58F0\u9001\u4FE1\u304C\u7121\u52B9\u306B\u306A\u308A\u307E\u3057\u305F","tui.command.voice.send.title":"\u97F3\u58F0\u9001\u4FE1\u3092\u5207\u308A\u66FF\u3048","tui.command.voice.send.title_on":"\u97F3\u58F0\u9001\u4FE1\uFF1A\u6709\u52B9 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u7121\u52B9\u5316","tui.command.voice.send.title_off":"\u97F3\u58F0\u9001\u4FE1\uFF1A\u7121\u52B9 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u6709\u52B9\u5316","tui.voice.control.enabled":"\u97F3\u58F0\u5236\u5FA1\u304C\u6709\u52B9 \u2014 \u30DE\u30EB\u30C1\u30E2\u30FC\u30C0\u30EB\u30E2\u30C7\u30EB\u306B\u3088\u308B\u30A4\u30F3\u30C6\u30EA\u30B8\u30A7\u30F3\u30C8\u7DE8\u96C6\uFF08\u9045\u3081\uFF09","tui.voice.control.disabled":"\u97F3\u58F0\u5236\u5FA1\u304C\u7121\u52B9 \u2014 \u9AD8\u901FASR\u8EE2\u5199\u3092\u4F7F\u7528","tui.command.voice.control.title":"\u97F3\u58F0\u5236\u5FA1\u3092\u5207\u308A\u66FF\u3048\uFF08\u30DE\u30EB\u30C1\u30E2\u30FC\u30C0\u30EB\uFF09","tui.command.voice.control.title_on":"\u97F3\u58F0\u5236\u5FA1\uFF1A\u6709\u52B9\uFF08\u30DE\u30EB\u30C1\u30E2\u30FC\u30C0\u30EB\uFF09 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u7121\u52B9\u5316","tui.command.voice.control.title_off":"\u97F3\u58F0\u5236\u5FA1\uFF1A\u7121\u52B9\uFF08\u9AD8\u901FASR\uFF09 \u2014 \u30AF\u30EA\u30C3\u30AF\u3067\u6709\u52B9\u5316","tui.voice.error.no_auth":"/connect \u3067 QitQode \u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u63A5\u7D9A\u3059\u308B\u304B\u3001voice.asr_model \u3067\u5225\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.no_auth_provider":"\u97F3\u58F0\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u300C{{provider}}\u300D\u304C\u8A8D\u8A3C\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002apiKey \u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.provider_not_found":"\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u300C{{provider}}\u300D\u304C\u5229\u7528\u3067\u304D\u307E\u305B\u3093 \u2014 /connect \u3067\u63A5\u7D9A\u3059\u308B\u304B\u3001\u30AB\u30B9\u30BF\u30E0\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u306E\u5834\u5408\u306F\u8A2D\u5B9A\u3067 models \u3092\u5BA3\u8A00\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.no_url":"\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u300C{{provider}}\u300D\u306B baseURL \u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093 \u2014 options.baseURL \u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.no_device":"\u30DE\u30A4\u30AF/\u30AA\u30FC\u30C7\u30A3\u30AA\u30C7\u30D0\u30A4\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 \u2014 \u30B7\u30B9\u30C6\u30E0\u306E\u30AA\u30FC\u30C7\u30A3\u30AA\u8A2D\u5B9A\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.recorder_failed":"\u9332\u97F3\u306B\u5931\u6557\u3057\u307E\u3057\u305F","tui.voice.error.no_recorder":"\u9332\u97F3\u30C4\u30FC\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002sox \u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u3066\u304F\u3060\u3055\u3044","tui.voice.error.too_short":"\u9332\u97F3\u6642\u9593\u304C\u77ED\u3059\u304E\u307E\u3059","tui.voice.error.network":"\u6587\u5B57\u8D77\u3053\u3057\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","tui.command.prompt.stash.title":"\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u9000\u907F","tui.command.prompt.stash.pop.title":"\u9000\u907F\u304B\u3089\u5FA9\u5143","tui.command.prompt.stash.list.title":"\u9000\u907F\u4E00\u89A7","tui.command.tips.toggle.show":"\u30D2\u30F3\u30C8\u3092\u8868\u793A","tui.command.tips.toggle.hide":"\u30D2\u30F3\u30C8\u3092\u975E\u8868\u793A","tui.command.plugins.list.title":"\u30D7\u30E9\u30B0\u30A4\u30F3","tui.command.plugins.install.title":"\u30D7\u30E9\u30B0\u30A4\u30F3\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB","cli.providers.select":"\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u9078\u629E","cli.providers.other":"\u305D\u306E\u4ED6\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC","tui.question.plan_enter.question":"\u69CB\u9020\u5316\u3055\u308C\u305F\u8A08\u753B\u306E\u305F\u3081\u306B plan \u30E2\u30FC\u30C9\u306B\u5207\u308A\u66FF\u3048\u307E\u3059\u304B\uFF1F","tui.question.plan_enter.header":"\u8A08\u753B\u958B\u59CB","tui.question.plan_enter.option.0.label":"\u306F\u3044","tui.question.plan_enter.option.0.description":"\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u306E\u8A08\u753B\u306E\u305F\u3081\u306B plan \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306B\u5207\u308A\u66FF\u3048","tui.question.plan_enter.option.1.label":"\u3044\u3044\u3048","tui.question.plan_enter.option.1.description":"\u73FE\u5728\u306E\u30E2\u30FC\u30C9\u306B\u3068\u3069\u307E\u308B","tui.question.plan_exit.question":"{{plan}} \u306E\u8A08\u753B\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002build \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306B\u5207\u308A\u66FF\u3048\u3066\u5B9F\u88C5\u3092\u958B\u59CB\u3057\u307E\u3059\u304B\uFF1F","tui.question.plan_exit.header":"\u8A08\u753B\u7D42\u4E86","tui.question.plan_exit.option.0.label":"\u306F\u3044","tui.question.plan_exit.option.0.description":"build \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306B\u5207\u308A\u66FF\u3048\u3066\u8A08\u753B\u306E\u5B9F\u88C5\u3092\u958B\u59CB","tui.question.plan_exit.option.1.label":"\u3044\u3044\u3048","tui.question.plan_exit.option.1.description":"plan \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3067\u8A08\u753B\u306E\u6539\u5584\u3092\u7D9A\u3051\u308B","tui.session.badge.auto":"\u81EA\u52D5","trust.title":"\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306B\u30A2\u30AF\u30BB\u30B9\u4E2D\uFF1A","trust.safety_check":"\u5B89\u5168\u78BA\u8A8D\uFF1A\u3053\u308C\u306F\u3042\u306A\u305F\u304C\u4F5C\u6210\u3057\u305F\u3001\u307E\u305F\u306F\u4FE1\u983C\u3057\u3066\u3044\u308B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3067\u3059\u304B\uFF1F\uFF08\u81EA\u5206\u306E\u30B3\u30FC\u30C9\u3001\u6709\u540D\u306A\u30AA\u30FC\u30D7\u30F3\u30BD\u30FC\u30B9\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3001\u30C1\u30FC\u30E0\u306E\u4F5C\u696D\u306A\u3069\uFF09\u3002\u305D\u3046\u3067\u306A\u3044\u5834\u5408\u306F\u3001\u307E\u305A\u3053\u306E\u30D5\u30A9\u30EB\u30C0\u306E\u5185\u5BB9\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002","trust.capabilities":"QitQode \u306F\u3053\u3053\u3067\u30D5\u30A1\u30A4\u30EB\u306E\u8AAD\u307F\u53D6\u308A\u3001\u7DE8\u96C6\u3001\u5B9F\u884C\u304C\u53EF\u80FD\u306B\u306A\u308A\u307E\u3059\u3002","trust.plugin_warn":"\u3053\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u60AA\u610F\u3042\u308B\u30D7\u30E9\u30B0\u30A4\u30F3\u304C\u5B58\u5728\u3059\u308B\u5834\u5408\u3001\u4EFB\u610F\u306E\u30B3\u30FC\u30C9\u3092\u5B9F\u884C\u3057\u3001\u30D5\u30A1\u30A4\u30EB\u3092\u8AAD\u307F\u53D6\u308A\u3001\u5909\u66F4\u3001\u307E\u305F\u306F\u6D41\u51FA\u3055\u305B\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002","trust.option.yes":"\u306F\u3044\u3001\u3053\u306E\u30D5\u30A9\u30EB\u30C0\u3092\u4FE1\u983C\u3057\u307E\u3059","trust.option.no":"\u3044\u3044\u3048\u3001\u7D42\u4E86","trust.dangerous.title_home":"\u8B66\u544A\uFF1A\u30DB\u30FC\u30E0\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u958B\u3053\u3046\u3068\u3057\u3066\u3044\u307E\u3059\u3002","trust.dangerous.title_root":"\u8B66\u544A\uFF1A\u30D5\u30A1\u30A4\u30EB\u30B7\u30B9\u30C6\u30E0\u306E\u30EB\u30FC\u30C8\u3092\u958B\u3053\u3046\u3068\u3057\u3066\u3044\u307E\u3059\u3002","trust.dangerous.body_home":"\u30E2\u30C7\u30EB\u304C\u30DB\u30FC\u30E0\u30D5\u30A9\u30EB\u30C0\u914D\u4E0B\u306E\u3059\u3079\u3066\u306E\u500B\u4EBA\u30D5\u30A1\u30A4\u30EB\uFF08SSH\u9375\u3001\u8A8D\u8A3C\u60C5\u5831\u3001\u30D6\u30E9\u30A6\u30B6\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u306A\u3069\uFF09\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3059\u3002","trust.dangerous.body_root":"\u30E2\u30C7\u30EB\u304C\u30D5\u30A1\u30A4\u30EB\u30B7\u30B9\u30C6\u30E0\u5168\u4F53\uFF08\u30B7\u30B9\u30C6\u30E0\u30D5\u30A1\u30A4\u30EB\u3001\u5168\u30E6\u30FC\u30B6\u30FC\u30C7\u30FC\u30BF\u3001\u8A8D\u8A3C\u60C5\u5831\u3001\u3053\u306E\u30DE\u30B7\u30F3\u4E0A\u306E\u3059\u3079\u3066\uFF09\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3059\u3002","trust.dangerous.advice_home":"\u660E\u78BA\u306A\u7406\u7531\u304C\u306A\u3044\u9650\u308A\u3001\u30DB\u30FC\u30E0\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u5168\u4F53\u3092\u4FE1\u983C\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002","trust.dangerous.advice_root":"\u660E\u78BA\u306A\u7406\u7531\u304C\u306A\u3044\u9650\u308A\u3001\u30D5\u30A1\u30A4\u30EB\u30B7\u30B9\u30C6\u30E0\u306E\u30EB\u30FC\u30C8\u3092\u4FE1\u983C\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002","trust.dangerous.option.yes":"\u30EA\u30B9\u30AF\u3092\u7406\u89E3\u3057\u305F\u4E0A\u3067\u3001\u4ECA\u56DE\u306E\u307F\u4FE1\u983C\u3059\u308B","trust.dangerous.option.no":"\u7D42\u4E86\uFF08\u63A8\u5968\uFF09"};
|
|
3
|
-
export{f as
|
|
3
|
+
export{f as Id};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-r9w0thdk.js";function K(Q,Z,H){return typeof Q.default==="function"?Q.default(Z,H):Q.default}function J(Q,Z){if(Q)return Q.push(Z),Q;return[Z]}var q=/[.*+?^${}()|[\]\\]/g;function X(Q){return Q.replace(q,"\\$&")}function T(Q,Z){switch(Z?.errorMode){case"ignore":break;case"warn":console.warn(Q);break;default:throw Error(Q)}}function V(Q){return typeof Q==="boolean"||typeof Q==="number"&&Number.isFinite(Q)||typeof Q==="string"}function w(Q){return Q.every(V)}function x(Q,Z,H){if(H?.ignoreActions?.includes(Z.type))return Q;let Y;switch(Z.type){case"base64":Q.contentEncoding="base64";break;case"bic":case"cuid2":case"decimal":case"digits":case"domain":case"emoji":case"hash":case"hexadecimal":case"hex_color":case"isrc":case"iso_time_second":case"iso_week":case"mac":case"mac48":case"mac64":case"nanoid":case"octal":case"slug":case"ulid":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"description":Q.description=Z.description;break;case"email":case"rfc_email":Q.format="email";break;case"ends_with":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=`${X(Z.requirement)}$`;break;case"empty":if(Q.type==="array")Q.maxItems=0;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.maxLength=0}break;case"entries":Q.minProperties=Z.requirement,Q.maxProperties=Z.requirement;break;case"examples":if(Array.isArray(Q.examples))Q.examples=[...Q.examples,...Z.examples];else Q.examples=Z.examples;break;case"gt_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "gt_value" action is not supported on type "${Q.type}".`);if(H?.target==="openapi-3.0"){Y=J(Y,'The "gt_value" action is not supported for OpenAPI 3.0.');break}Q.exclusiveMinimum=Z.requirement;break;case"includes":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=X(Z.requirement);break;case"integer":Q.type="integer";break;case"ipv4":Q.format="ipv4";break;case"ipv6":Q.format="ipv6";break;case"iso_date":Q.format="date";break;case"iso_date_time":case"iso_timestamp":Q.format="date-time";break;case"iso_time":Q.format="time";break;case"jws_compact":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"length":if(Q.type==="array")Q.minItems=Z.requirement,Q.maxItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=Z.requirement,Q.maxLength=Z.requirement}break;case"lt_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "lt_value" action is not supported on type "${Q.type}".`);if(H?.target==="openapi-3.0"){Y=J(Y,'The "lt_value" action is not supported for OpenAPI 3.0.');break}Q.exclusiveMaximum=Z.requirement;break;case"max_entries":Q.maxProperties=Z.requirement;break;case"max_length":if(Q.type==="array")Q.maxItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.maxLength=Z.requirement}break;case"max_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "max_value" action is not supported on type "${Q.type}".`);Q.maximum=Z.requirement;break;case"metadata":if(typeof Z.metadata.title==="string")Q.title=Z.metadata.title;if(typeof Z.metadata.description==="string")Q.description=Z.metadata.description;if(Array.isArray(Z.metadata.examples))if(Array.isArray(Q.examples))Q.examples=[...Q.examples,...Z.metadata.examples];else Q.examples=Z.metadata.examples;break;case"min_entries":Q.minProperties=Z.requirement;break;case"min_length":if(Q.type==="array")Q.minItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=Z.requirement}break;case"min_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "min_value" action is not supported on type "${Q.type}".`);Q.minimum=Z.requirement;break;case"multiple_of":Q.multipleOf=Z.requirement;break;case"non_empty":if(Q.type==="array")Q.minItems=1;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=1}break;case"not_value":if(!V(Z.requirement)){Y=J(Y,'The requirement of the "not_value" action is not JSON compatible.');break}if(H?.target==="openapi-3.0")Q.not={enum:[Z.requirement]};else Q.not={const:Z.requirement};break;case"not_values":if(!w(Z.requirement)){Y=J(Y,'A requirement of the "not_values" action is not JSON compatible.');break}Q.not={enum:Z.requirement};break;case"regex":if(Z.requirement.flags)Y=J(Y,"RegExp flags are not supported by JSON Schema.");if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"safe_integer":if(Q.type="integer",typeof Q.minimum!=="number"||Q.minimum<Number.MIN_SAFE_INTEGER)Q.minimum=Number.MIN_SAFE_INTEGER;if(typeof Q.maximum!=="number"||Q.maximum>Number.MAX_SAFE_INTEGER)Q.maximum=Number.MAX_SAFE_INTEGER;break;case"starts_with":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=`^${X(Z.requirement)}`;break;case"title":Q.title=Z.title;break;case"url":Q.format="uri";break;case"uuid":Q.format="uuid";break;case"value":if(!V(Z.requirement)){Y=J(Y,'The requirement of the "value" action is not JSON compatible.');break}if(H?.target==="openapi-3.0")Q.enum=[Z.requirement];else Q.const=Z.requirement;break;case"values":if(!w(Z.requirement)){Y=J(Y,'A requirement of the "values" action is not JSON compatible.');break}Q.enum=Z.requirement;break;default:Y=J(Y,`The "${Z.type}" action cannot be converted to JSON Schema.`)}if(H?.overrideAction){let F=H.overrideAction({valibotAction:Z,jsonSchema:Q,errors:Y});if(F)return{...F}}if(Y)for(let F of Y)T(F,H);return Q}function R(Q){return Q.flatMap((Z)=>("pipe"in Z)?R(Z.pipe):Z)}var A=0;function B(Q,Z,H,Y,F=!1){if(!F){let U=Y.referenceMap.get(Z);if(U){if(Q.$ref=`#/$defs/${U}`,H?.overrideRef){let z=H.overrideRef({...Y,referenceId:U,valibotSchema:Z,jsonSchema:Q});if(z)Q.$ref=z}return Q}}if("pipe"in Z){let U=R(Z.pipe),z=0,M=U.length-1;if(H?.typeMode==="input"){let L=U.slice(1).findIndex((W)=>W.kind==="schema"||W.kind==="transformation"&&(W.type==="find_item"||W.type==="parse_json"||W.type==="raw_transform"||W.type==="reduce_items"||W.type==="stringify_json"||W.type==="to_bigint"||W.type==="to_boolean"||W.type==="to_date"||W.type==="to_number"||W.type==="to_string"||W.type==="transform"));if(L!==-1)M=L}else if(H?.typeMode==="output"){let L=U.findLastIndex((W)=>W.kind==="schema");if(L!==-1)z=L}for(let L=z;L<=M;L++){let W=U[L];if(W.kind==="schema"){if(L>z)T('Set the "typeMode" config to "input" or "output" to convert pipelines with multiple schemas.',H);Q=B(Q,W,H,Y,!0)}else Q=x(Q,W,H)}return Q}let N;switch(Z.type){case"boolean":Q.type="boolean";break;case"null":if(H?.target==="openapi-3.0")Q.enum=[null];else Q.type="null";break;case"number":Q.type="number";break;case"string":Q.type="string";break;case"array":Q.type="array",Q.items=B({},Z.item,H,Y);break;case"tuple":case"tuple_with_rest":case"loose_tuple":case"strict_tuple":if(Q.type="array",H?.target==="openapi-3.0"){Q.items={anyOf:[]},Q.minItems=Z.items.length;for(let U of Z.items)Q.items.anyOf.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.items.anyOf.push(B({},Z.rest,H,Y));else if(Z.type==="strict_tuple"||Z.type==="tuple")Q.maxItems=Z.items.length}else if(H?.target==="draft-2020-12"){Q.prefixItems=[],Q.minItems=Z.items.length;for(let U of Z.items)Q.prefixItems.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.items=B({},Z.rest,H,Y);else if(Z.type==="strict_tuple")Q.items=!1}else{Q.items=[],Q.minItems=Z.items.length;for(let U of Z.items)Q.items.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.additionalItems=B({},Z.rest,H,Y);else if(Z.type==="strict_tuple")Q.additionalItems=!1}break;case"object":case"object_with_rest":case"loose_object":case"strict_object":Q.type="object",Q.properties={},Q.required=[];for(let U in Z.entries){let z=Z.entries[U];if(Q.properties[U]=B({},z,H,Y),z.type!=="exact_optional"&&z.type!=="nullish"&&z.type!=="optional")Q.required.push(U)}if(Z.type==="object_with_rest")Q.additionalProperties=B({},Z.rest,H,Y);else if(Z.type==="strict_object")Q.additionalProperties=!1;break;case"record":if(H?.target==="openapi-3.0"&&"pipe"in Z.key)N=J(N,'The "record" schema with a schema for the key that contains a "pipe" cannot be converted to JSON Schema.');if(Z.key.type!=="string")N=J(N,`The "record" schema with the "${Z.key.type}" schema for the key cannot be converted to JSON Schema.`);if(Q.type="object",H?.target!=="openapi-3.0")Q.propertyNames=B({},Z.key,H,Y);Q.additionalProperties=B({},Z.value,H,Y);break;case"any":case"unknown":break;case"never":Q.not={};break;case"nullable":case"nullish":if(H?.target==="openapi-3.0"){let U=B({},Z.wrapped,H,Y);Object.assign(Q,U),Q.nullable=!0}else Q.anyOf=[B({},Z.wrapped,H,Y),{type:"null"}];if(Z.default!==void 0)Q.default=K(Z);break;case"exact_optional":case"optional":case"undefinedable":if(Q=B(Q,Z.wrapped,H,Y),Z.default!==void 0)Q.default=K(Z);break;case"literal":if(typeof Z.literal!=="boolean"&&typeof Z.literal!=="number"&&typeof Z.literal!=="string")N=J(N,'The value of the "literal" schema is not JSON compatible.');if(H?.target==="openapi-3.0")Q.enum=[Z.literal];else Q.const=Z.literal;break;case"enum":if(Q.enum=Z.options,Z.options.every((U)=>typeof U==="string"))Q.type="string";else if(Z.options.every((U)=>typeof U==="number"))Q.type="number";else if(H?.target!=="openapi-3.0")Q.type=["string","number"];break;case"picklist":{let U=Z.options.some((z)=>typeof z!=="number"&&typeof z!=="string");if(U)N=J(N,'An option of the "picklist" schema is not JSON compatible.');if(Q.enum=Z.options,Z.options.every((z)=>typeof z==="string"))Q.type="string";else if(Z.options.every((z)=>typeof z==="number"))Q.type="number";else if(!U&&H?.target!=="openapi-3.0")Q.type=["string","number"];break}case"union":Q.anyOf=Z.options.map((U)=>B({},U,H,Y));break;case"variant":Q.oneOf=Z.options.map((U)=>B({},U,H,Y));break;case"intersect":Q.allOf=Z.options.map((U)=>B({},U,H,Y));break;case"lazy":{let U=Y.getterMap.get(Z.getter);if(!U)U=Z.getter(void 0),Y.getterMap.set(Z.getter,U);let z=Y.referenceMap.get(U);if(!z)z=`${A++}`,Y.referenceMap.set(U,z),Y.definitions[z]=B({},U,H,Y,!0);if(Q.$ref=`#/$defs/${z}`,H?.overrideRef){let M=H.overrideRef({...Y,referenceId:z,valibotSchema:U,jsonSchema:Q});if(M)Q.$ref=M}break}default:N=J(N,`The "${Z.type}" schema cannot be converted to JSON Schema.`)}if(H?.overrideSchema){let U=H.overrideSchema({...Y,referenceId:Y.referenceMap.get(Z),valibotSchema:Z,jsonSchema:Q,errors:N});if(U)return{...U}}if(N)for(let U of N)T(U,H);return Q}var O;function b(Q){O={...O??{},...Q}}function E(){return O}function G(Q,Z){let H={definitions:{},referenceMap:new Map,getterMap:new Map},Y=Z?.definitions??E();if(Y){for(let U in Y)H.referenceMap.set(Y[U],U);for(let U in Y)H.definitions[U]=B({},Y[U],Z,H,!0)}let F=B({},Q,Z,H),N=Z?.target??"draft-07";if(N==="draft-2020-12")F.$schema="https://json-schema.org/draft/2020-12/schema";else if(N==="draft-07")F.$schema="http://json-schema.org/draft-07/schema#";if(H.referenceMap.size)F.$defs=H.definitions;return F}function I(Q,Z){let H={definitions:{},referenceMap:new Map,getterMap:new Map};for(let Y in Q)H.referenceMap.set(Q[Y],Y);for(let Y in Q)H.definitions[Y]=B({},Q[Y],Z,H,!0);return H.definitions}var C=["draft-07","draft-2020-12","openapi-3.0"];function j(Q){return{"~standard":{...Q["~standard"],jsonSchema:{input(Z){if(C.includes(Z.target))return G(Q,{typeMode:"input",target:Z.target,...Z.libraryOptions});throw Error(`Unsupported target: ${Z.target}`)},output(Z){if(C.includes(Z.target))return G(Q,{typeMode:"output",target:Z.target,...Z.libraryOptions});throw Error(`Unsupported target: ${Z.target}`)}}}}}export{j as toStandardJsonSchema,I as toJsonSchemaDefs,G as toJsonSchema,E as getGlobalDefs,b as addGlobalDefs};
|
|
2
|
+
import"./chunk-e0vrxetq.js";function K(Q,Z,H){return typeof Q.default==="function"?Q.default(Z,H):Q.default}function J(Q,Z){if(Q)return Q.push(Z),Q;return[Z]}var q=/[.*+?^${}()|[\]\\]/g;function X(Q){return Q.replace(q,"\\$&")}function T(Q,Z){switch(Z?.errorMode){case"ignore":break;case"warn":console.warn(Q);break;default:throw Error(Q)}}function V(Q){return typeof Q==="boolean"||typeof Q==="number"&&Number.isFinite(Q)||typeof Q==="string"}function w(Q){return Q.every(V)}function x(Q,Z,H){if(H?.ignoreActions?.includes(Z.type))return Q;let Y;switch(Z.type){case"base64":Q.contentEncoding="base64";break;case"bic":case"cuid2":case"decimal":case"digits":case"domain":case"emoji":case"hash":case"hexadecimal":case"hex_color":case"isrc":case"iso_time_second":case"iso_week":case"mac":case"mac48":case"mac64":case"nanoid":case"octal":case"slug":case"ulid":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"description":Q.description=Z.description;break;case"email":case"rfc_email":Q.format="email";break;case"ends_with":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=`${X(Z.requirement)}$`;break;case"empty":if(Q.type==="array")Q.maxItems=0;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.maxLength=0}break;case"entries":Q.minProperties=Z.requirement,Q.maxProperties=Z.requirement;break;case"examples":if(Array.isArray(Q.examples))Q.examples=[...Q.examples,...Z.examples];else Q.examples=Z.examples;break;case"gt_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "gt_value" action is not supported on type "${Q.type}".`);if(H?.target==="openapi-3.0"){Y=J(Y,'The "gt_value" action is not supported for OpenAPI 3.0.');break}Q.exclusiveMinimum=Z.requirement;break;case"includes":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=X(Z.requirement);break;case"integer":Q.type="integer";break;case"ipv4":Q.format="ipv4";break;case"ipv6":Q.format="ipv6";break;case"iso_date":Q.format="date";break;case"iso_date_time":case"iso_timestamp":Q.format="date-time";break;case"iso_time":Q.format="time";break;case"jws_compact":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"length":if(Q.type==="array")Q.minItems=Z.requirement,Q.maxItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=Z.requirement,Q.maxLength=Z.requirement}break;case"lt_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "lt_value" action is not supported on type "${Q.type}".`);if(H?.target==="openapi-3.0"){Y=J(Y,'The "lt_value" action is not supported for OpenAPI 3.0.');break}Q.exclusiveMaximum=Z.requirement;break;case"max_entries":Q.maxProperties=Z.requirement;break;case"max_length":if(Q.type==="array")Q.maxItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.maxLength=Z.requirement}break;case"max_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "max_value" action is not supported on type "${Q.type}".`);Q.maximum=Z.requirement;break;case"metadata":if(typeof Z.metadata.title==="string")Q.title=Z.metadata.title;if(typeof Z.metadata.description==="string")Q.description=Z.metadata.description;if(Array.isArray(Z.metadata.examples))if(Array.isArray(Q.examples))Q.examples=[...Q.examples,...Z.metadata.examples];else Q.examples=Z.metadata.examples;break;case"min_entries":Q.minProperties=Z.requirement;break;case"min_length":if(Q.type==="array")Q.minItems=Z.requirement;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=Z.requirement}break;case"min_value":if(Q.type!=="number"&&Q.type!=="integer")Y=J(Y,`The "min_value" action is not supported on type "${Q.type}".`);Q.minimum=Z.requirement;break;case"multiple_of":Q.multipleOf=Z.requirement;break;case"non_empty":if(Q.type==="array")Q.minItems=1;else{if(Q.type!=="string")Y=J(Y,`The "${Z.type}" action is not supported on type "${Q.type}".`);Q.minLength=1}break;case"not_value":if(!V(Z.requirement)){Y=J(Y,'The requirement of the "not_value" action is not JSON compatible.');break}if(H?.target==="openapi-3.0")Q.not={enum:[Z.requirement]};else Q.not={const:Z.requirement};break;case"not_values":if(!w(Z.requirement)){Y=J(Y,'A requirement of the "not_values" action is not JSON compatible.');break}Q.not={enum:Z.requirement};break;case"regex":if(Z.requirement.flags)Y=J(Y,"RegExp flags are not supported by JSON Schema.");if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=Z.requirement.source;break;case"safe_integer":if(Q.type="integer",typeof Q.minimum!=="number"||Q.minimum<Number.MIN_SAFE_INTEGER)Q.minimum=Number.MIN_SAFE_INTEGER;if(typeof Q.maximum!=="number"||Q.maximum>Number.MAX_SAFE_INTEGER)Q.maximum=Number.MAX_SAFE_INTEGER;break;case"starts_with":if(Q.pattern)Y=J(Y,`The "${Z.type}" action is not supported in combination with another regex action.`);else Q.pattern=`^${X(Z.requirement)}`;break;case"title":Q.title=Z.title;break;case"url":Q.format="uri";break;case"uuid":Q.format="uuid";break;case"value":if(!V(Z.requirement)){Y=J(Y,'The requirement of the "value" action is not JSON compatible.');break}if(H?.target==="openapi-3.0")Q.enum=[Z.requirement];else Q.const=Z.requirement;break;case"values":if(!w(Z.requirement)){Y=J(Y,'A requirement of the "values" action is not JSON compatible.');break}Q.enum=Z.requirement;break;default:Y=J(Y,`The "${Z.type}" action cannot be converted to JSON Schema.`)}if(H?.overrideAction){let F=H.overrideAction({valibotAction:Z,jsonSchema:Q,errors:Y});if(F)return{...F}}if(Y)for(let F of Y)T(F,H);return Q}function R(Q){return Q.flatMap((Z)=>("pipe"in Z)?R(Z.pipe):Z)}var A=0;function B(Q,Z,H,Y,F=!1){if(!F){let U=Y.referenceMap.get(Z);if(U){if(Q.$ref=`#/$defs/${U}`,H?.overrideRef){let z=H.overrideRef({...Y,referenceId:U,valibotSchema:Z,jsonSchema:Q});if(z)Q.$ref=z}return Q}}if("pipe"in Z){let U=R(Z.pipe),z=0,M=U.length-1;if(H?.typeMode==="input"){let L=U.slice(1).findIndex((W)=>W.kind==="schema"||W.kind==="transformation"&&(W.type==="find_item"||W.type==="parse_json"||W.type==="raw_transform"||W.type==="reduce_items"||W.type==="stringify_json"||W.type==="to_bigint"||W.type==="to_boolean"||W.type==="to_date"||W.type==="to_number"||W.type==="to_string"||W.type==="transform"));if(L!==-1)M=L}else if(H?.typeMode==="output"){let L=U.findLastIndex((W)=>W.kind==="schema");if(L!==-1)z=L}for(let L=z;L<=M;L++){let W=U[L];if(W.kind==="schema"){if(L>z)T('Set the "typeMode" config to "input" or "output" to convert pipelines with multiple schemas.',H);Q=B(Q,W,H,Y,!0)}else Q=x(Q,W,H)}return Q}let N;switch(Z.type){case"boolean":Q.type="boolean";break;case"null":if(H?.target==="openapi-3.0")Q.enum=[null];else Q.type="null";break;case"number":Q.type="number";break;case"string":Q.type="string";break;case"array":Q.type="array",Q.items=B({},Z.item,H,Y);break;case"tuple":case"tuple_with_rest":case"loose_tuple":case"strict_tuple":if(Q.type="array",H?.target==="openapi-3.0"){Q.items={anyOf:[]},Q.minItems=Z.items.length;for(let U of Z.items)Q.items.anyOf.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.items.anyOf.push(B({},Z.rest,H,Y));else if(Z.type==="strict_tuple"||Z.type==="tuple")Q.maxItems=Z.items.length}else if(H?.target==="draft-2020-12"){Q.prefixItems=[],Q.minItems=Z.items.length;for(let U of Z.items)Q.prefixItems.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.items=B({},Z.rest,H,Y);else if(Z.type==="strict_tuple")Q.items=!1}else{Q.items=[],Q.minItems=Z.items.length;for(let U of Z.items)Q.items.push(B({},U,H,Y));if(Z.type==="tuple_with_rest")Q.additionalItems=B({},Z.rest,H,Y);else if(Z.type==="strict_tuple")Q.additionalItems=!1}break;case"object":case"object_with_rest":case"loose_object":case"strict_object":Q.type="object",Q.properties={},Q.required=[];for(let U in Z.entries){let z=Z.entries[U];if(Q.properties[U]=B({},z,H,Y),z.type!=="exact_optional"&&z.type!=="nullish"&&z.type!=="optional")Q.required.push(U)}if(Z.type==="object_with_rest")Q.additionalProperties=B({},Z.rest,H,Y);else if(Z.type==="strict_object")Q.additionalProperties=!1;break;case"record":if(H?.target==="openapi-3.0"&&"pipe"in Z.key)N=J(N,'The "record" schema with a schema for the key that contains a "pipe" cannot be converted to JSON Schema.');if(Z.key.type!=="string")N=J(N,`The "record" schema with the "${Z.key.type}" schema for the key cannot be converted to JSON Schema.`);if(Q.type="object",H?.target!=="openapi-3.0")Q.propertyNames=B({},Z.key,H,Y);Q.additionalProperties=B({},Z.value,H,Y);break;case"any":case"unknown":break;case"never":Q.not={};break;case"nullable":case"nullish":if(H?.target==="openapi-3.0"){let U=B({},Z.wrapped,H,Y);Object.assign(Q,U),Q.nullable=!0}else Q.anyOf=[B({},Z.wrapped,H,Y),{type:"null"}];if(Z.default!==void 0)Q.default=K(Z);break;case"exact_optional":case"optional":case"undefinedable":if(Q=B(Q,Z.wrapped,H,Y),Z.default!==void 0)Q.default=K(Z);break;case"literal":if(typeof Z.literal!=="boolean"&&typeof Z.literal!=="number"&&typeof Z.literal!=="string")N=J(N,'The value of the "literal" schema is not JSON compatible.');if(H?.target==="openapi-3.0")Q.enum=[Z.literal];else Q.const=Z.literal;break;case"enum":if(Q.enum=Z.options,Z.options.every((U)=>typeof U==="string"))Q.type="string";else if(Z.options.every((U)=>typeof U==="number"))Q.type="number";else if(H?.target!=="openapi-3.0")Q.type=["string","number"];break;case"picklist":{let U=Z.options.some((z)=>typeof z!=="number"&&typeof z!=="string");if(U)N=J(N,'An option of the "picklist" schema is not JSON compatible.');if(Q.enum=Z.options,Z.options.every((z)=>typeof z==="string"))Q.type="string";else if(Z.options.every((z)=>typeof z==="number"))Q.type="number";else if(!U&&H?.target!=="openapi-3.0")Q.type=["string","number"];break}case"union":Q.anyOf=Z.options.map((U)=>B({},U,H,Y));break;case"variant":Q.oneOf=Z.options.map((U)=>B({},U,H,Y));break;case"intersect":Q.allOf=Z.options.map((U)=>B({},U,H,Y));break;case"lazy":{let U=Y.getterMap.get(Z.getter);if(!U)U=Z.getter(void 0),Y.getterMap.set(Z.getter,U);let z=Y.referenceMap.get(U);if(!z)z=`${A++}`,Y.referenceMap.set(U,z),Y.definitions[z]=B({},U,H,Y,!0);if(Q.$ref=`#/$defs/${z}`,H?.overrideRef){let M=H.overrideRef({...Y,referenceId:z,valibotSchema:U,jsonSchema:Q});if(M)Q.$ref=M}break}default:N=J(N,`The "${Z.type}" schema cannot be converted to JSON Schema.`)}if(H?.overrideSchema){let U=H.overrideSchema({...Y,referenceId:Y.referenceMap.get(Z),valibotSchema:Z,jsonSchema:Q,errors:N});if(U)return{...U}}if(N)for(let U of N)T(U,H);return Q}var O;function b(Q){O={...O??{},...Q}}function E(){return O}function G(Q,Z){let H={definitions:{},referenceMap:new Map,getterMap:new Map},Y=Z?.definitions??E();if(Y){for(let U in Y)H.referenceMap.set(Y[U],U);for(let U in Y)H.definitions[U]=B({},Y[U],Z,H,!0)}let F=B({},Q,Z,H),N=Z?.target??"draft-07";if(N==="draft-2020-12")F.$schema="https://json-schema.org/draft/2020-12/schema";else if(N==="draft-07")F.$schema="http://json-schema.org/draft-07/schema#";if(H.referenceMap.size)F.$defs=H.definitions;return F}function I(Q,Z){let H={definitions:{},referenceMap:new Map,getterMap:new Map};for(let Y in Q)H.referenceMap.set(Q[Y],Y);for(let Y in Q)H.definitions[Y]=B({},Q[Y],Z,H,!0);return H.definitions}var C=["draft-07","draft-2020-12","openapi-3.0"];function j(Q){return{"~standard":{...Q["~standard"],jsonSchema:{input(Z){if(C.includes(Z.target))return G(Q,{typeMode:"input",target:Z.target,...Z.libraryOptions});throw Error(`Unsupported target: ${Z.target}`)},output(Z){if(C.includes(Z.target))return G(Q,{typeMode:"output",target:Z.target,...Z.libraryOptions});throw Error(`Unsupported target: ${Z.target}`)}}}}}export{j as toStandardJsonSchema,I as toJsonSchemaDefs,G as toJsonSchema,E as getGlobalDefs,b as addGlobalDefs};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{r as
|
|
2
|
+
import{mt as e}from"./chunk-6p6m5956.js";class r extends Error{static hasName(t,n){return typeof t==="object"&&t!==null&&"name"in t&&t.name===n}static create(t,n){let s=e.object({name:e.literal(t),data:n}).meta({ref:t}),o=class extends r{data;static Schema=s;name=t;constructor(a,c){super(t,c);this.data=a;this.name=t}static isInstance(a){return typeof a==="object"&&"name"in a&&a.name===t}schema(){return s}toObject(){return{name:t,data:this.data}}};return Object.defineProperty(o,"name",{value:t}),o}static Unknown=r.create("UnknownError",e.object({message:e.string(),diagnostic:e.object({errorID:e.string(),errorName:e.string(),logFile:e.string()}).optional()}))}
|
|
3
|
+
export{r as bs};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{l as
|
|
2
|
+
import{Zr as i}from"./chunk-vbfej8ds.js";import{lt as o}from"./chunk-1bxfzd6r.js";import{tO as c}from"./chunk-e0vrxetq.js";var e=c(i(),1);import p from"path";function l(n,t){let r=t?.PATH??t?.Path??process.env.PATH??process.env.Path??"",h=r?r+p.delimiter+o.Path.bin:o.Path.bin,s=e.default.sync(n,{nothrow:!0,path:h,pathExt:t?.PATHEXT??t?.PathExt??process.env.PATHEXT??process.env.PathExt});return typeof s==="string"?s:null}
|
|
3
|
+
export{l as Rn};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Rd as n,Ud as p,Vd as e,Wd as i,Zd as m,_d as c}from"./chunk-2kh0tg92.js";import{fH as o,mB as s}from"./chunk-g7v6sp3c.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 i,g as j,y as k,x as l,V as m};
|