@qitqode/qitqode-android-arm64 0.2.7 → 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.
Files changed (386) hide show
  1. package/bundle/{chunk-ga6wc979.js → chunk-03zpnwk2.js} +1 -1
  2. package/bundle/{chunk-qdvnscxm.js → chunk-0a4pmkc9.js} +1 -1
  3. package/bundle/chunk-0aqdzyar.js +2 -0
  4. package/bundle/{chunk-drnj1a14.js → chunk-0egrckx0.js} +1 -1
  5. package/bundle/{chunk-368jx5dp.js → chunk-0tcggtwv.js} +1 -1
  6. package/bundle/{chunk-0qpqd7nz.js → chunk-0tm6589k.js} +2 -2
  7. package/bundle/{chunk-0gsw04hw.js → chunk-0w19vmd7.js} +2 -2
  8. package/bundle/{chunk-j6xmgn63.js → chunk-0z1keh2w.js} +1 -1
  9. package/bundle/{chunk-aa2n02qk.js → chunk-1bxfzd6r.js} +2 -2
  10. package/bundle/{chunk-hrtze4c5.js → chunk-1har4t9a.js} +1 -1
  11. package/bundle/{chunk-33jcxsbe.js → chunk-1p9s5jj1.js} +1 -1
  12. package/bundle/{chunk-p40z6510.js → chunk-1v0khv7p.js} +1 -1
  13. package/bundle/{chunk-2c26kxp4.js → chunk-26cr51wa.js} +1 -1
  14. package/bundle/{chunk-eeq0krp7.js → chunk-27saej0r.js} +2 -2
  15. package/bundle/{chunk-ppy0jy6j.js → chunk-29gwtcey.js} +1 -1
  16. package/bundle/chunk-2a5gjgvp.js +2 -0
  17. package/bundle/{chunk-bn71wqqf.js → chunk-2caaqmec.js} +1 -1
  18. package/bundle/{chunk-hhk2sp5n.js → chunk-2kh0tg92.js} +1 -1
  19. package/bundle/{chunk-bd505nsd.js → chunk-2nheahmq.js} +1 -1
  20. package/bundle/chunk-2pkfphgb.js +2 -0
  21. package/bundle/{chunk-jxkrhrp0.js → chunk-2qm46qvn.js} +1 -1
  22. package/bundle/{chunk-ajp53ksp.js → chunk-2t5yh25f.js} +1 -1
  23. package/bundle/{chunk-4fy08jcj.js → chunk-2vaphpz0.js} +1 -1
  24. package/bundle/{chunk-5nhwqg7c.js → chunk-33ebjca6.js} +1 -1
  25. package/bundle/{chunk-yxttz5z5.js → chunk-35fj1sfm.js} +1 -1
  26. package/bundle/{chunk-makecdh6.js → chunk-37cbrnke.js} +5 -5
  27. package/bundle/{chunk-1vpx7szf.js → chunk-3bb4aqh9.js} +1 -1
  28. package/bundle/chunk-3cx4p07h.js +2 -0
  29. package/bundle/chunk-3f2cjzb4.js +2 -0
  30. package/bundle/chunk-3qvap1kv.js +2 -0
  31. package/bundle/{chunk-c8prg3jx.js → chunk-3va85mbe.js} +2 -2
  32. package/bundle/{chunk-wvb17w0z.js → chunk-3z2zn8rj.js} +1 -1
  33. package/bundle/{chunk-ghap1n1m.js → chunk-3zwma68w.js} +4 -4
  34. package/bundle/{chunk-abv0fskc.js → chunk-4064rbtp.js} +1 -1
  35. package/bundle/{chunk-84pjdenq.js → chunk-42hvspe7.js} +1 -1
  36. package/bundle/chunk-452tk6v3.js +2 -0
  37. package/bundle/{chunk-w3zhy5vq.js → chunk-48gap82w.js} +1 -1
  38. package/bundle/{chunk-q87fw8dk.js → chunk-4aajzxm9.js} +1 -1
  39. package/bundle/{chunk-4ftjx7ss.js → chunk-4gqb1hps.js} +1 -1
  40. package/bundle/{chunk-gww0skmn.js → chunk-4pmvxnkj.js} +1 -1
  41. package/bundle/chunk-50qgz5ka.js +2 -0
  42. package/bundle/{chunk-4zhrg3rv.js → chunk-52xvhxek.js} +1 -1
  43. package/bundle/{chunk-8hmt3avx.js → chunk-56wq8cqj.js} +1 -1
  44. package/bundle/{chunk-5r05d901.js → chunk-58f4y4b7.js} +2 -2
  45. package/bundle/{chunk-mbbxedsq.js → chunk-59csnjc3.js} +2 -2
  46. package/bundle/chunk-5b0xyq5z.js +2 -0
  47. package/bundle/{chunk-0ggvqmnm.js → chunk-5bv63rqj.js} +1 -1
  48. package/bundle/{chunk-vfb72vdy.js → chunk-5cw8235e.js} +1 -1
  49. package/bundle/{chunk-yd94wz5v.js → chunk-5f0nhthe.js} +1 -1
  50. package/bundle/chunk-5j4nxpdy.js +2 -0
  51. package/bundle/{chunk-r4kg0z96.js → chunk-5nmm1kvx.js} +1 -1
  52. package/bundle/chunk-5nxgk6hw.js +2 -0
  53. package/bundle/chunk-5qkvhr6y.js +2 -0
  54. package/bundle/{chunk-5zh91zk2.js → chunk-5r7c6vvx.js} +1 -1
  55. package/bundle/{chunk-c6cajbyj.js → chunk-5wx962mw.js} +1 -1
  56. package/bundle/{chunk-7sq5dyv1.js → chunk-5xkp27b1.js} +1 -1
  57. package/bundle/chunk-66qmmmdp.js +2 -0
  58. package/bundle/{chunk-vhzx5bxd.js → chunk-66wv82vf.js} +1 -1
  59. package/bundle/chunk-6dpdkzrk.js +2 -0
  60. package/bundle/chunk-6p6m5956.js +3 -0
  61. package/bundle/{chunk-n4qxj391.js → chunk-6ps30qax.js} +1 -1
  62. package/bundle/{chunk-gbxf6e5d.js → chunk-6qwk6z87.js} +3 -3
  63. package/bundle/{chunk-kmzpeq8k.js → chunk-6tqbnxar.js} +1 -1
  64. package/bundle/{chunk-gdew7bwm.js → chunk-6yhn9syz.js} +1 -1
  65. package/bundle/{chunk-2pex3ak9.js → chunk-72crs18f.js} +1 -1
  66. package/bundle/{chunk-mghnkwp8.js → chunk-7adsab4h.js} +1 -1
  67. package/bundle/{chunk-aqcpk2vg.js → chunk-7b60whxm.js} +1 -1
  68. package/bundle/chunk-7g59hc61.js +2 -0
  69. package/bundle/{chunk-52rdms56.js → chunk-7jy53zqy.js} +1 -1
  70. package/bundle/chunk-7p88j56s.js +2 -0
  71. package/bundle/{chunk-t4b2fm7z.js → chunk-7thhd7ds.js} +1 -1
  72. package/bundle/chunk-7trngc9g.js +2 -0
  73. package/bundle/{chunk-yjqww6ag.js → chunk-82xrfk5x.js} +2 -2
  74. package/bundle/{chunk-4fvbexr8.js → chunk-85wh85pk.js} +1 -1
  75. package/bundle/chunk-8cebbmtf.js +2 -0
  76. package/bundle/chunk-8csas2jc.js +2 -0
  77. package/bundle/chunk-8g4jdqq1.js +2 -0
  78. package/bundle/chunk-8j1xcdmd.js +2 -0
  79. package/bundle/{chunk-ntpn0w9m.js → chunk-8jmb5bd4.js} +2 -2
  80. package/bundle/{chunk-pf3nqf00.js → chunk-8ysp6vf8.js} +1 -1
  81. package/bundle/{chunk-3k7016c2.js → chunk-8yzghzjq.js} +1 -1
  82. package/bundle/{chunk-73xryfgn.js → chunk-9009v4d0.js} +2 -2
  83. package/bundle/chunk-90r2z49k.js +2 -0
  84. package/bundle/{chunk-amp6mvbp.js → chunk-92r1gw2j.js} +1 -1
  85. package/bundle/{chunk-ktp2b4t4.js → chunk-94mjwy22.js} +1 -1
  86. package/bundle/{chunk-f84hw65n.js → chunk-9cf2ktyh.js} +1 -1
  87. package/bundle/{chunk-16srrzjr.js → chunk-9cn8cmt0.js} +1 -1
  88. package/bundle/{chunk-x55h5qdc.js → chunk-a1z8rnq7.js} +3 -3
  89. package/bundle/{chunk-c3szabpf.js → chunk-a48mx917.js} +2 -2
  90. package/bundle/{chunk-prbxhnza.js → chunk-a8bjcvda.js} +1 -1
  91. package/bundle/chunk-aenrd7dk.js +2 -0
  92. package/bundle/{chunk-dw70wds9.js → chunk-afr8m0q1.js} +1 -1
  93. package/bundle/{chunk-7p6mxch0.js → chunk-ag8wxwwz.js} +1 -1
  94. package/bundle/{chunk-22qetqnp.js → chunk-ahmy80vb.js} +1 -1
  95. package/bundle/chunk-avn12jkt.js +2 -0
  96. package/bundle/{chunk-tc9xbn1t.js → chunk-ax64ngf2.js} +1 -1
  97. package/bundle/{chunk-4ngmjk8j.js → chunk-ayb3bdb7.js} +1 -1
  98. package/bundle/{chunk-0crgymtr.js → chunk-az3nss5m.js} +2 -2
  99. package/bundle/chunk-b7ncyat6.js +2 -0
  100. package/bundle/{chunk-dt1wwt7m.js → chunk-b7sr9rn3.js} +1 -1
  101. package/bundle/{chunk-9qzwmt76.js → chunk-bc2krtaf.js} +1 -1
  102. package/bundle/{chunk-0bgssfvq.js → chunk-bjv1h2dq.js} +1 -1
  103. package/bundle/{chunk-8jvfqh3b.js → chunk-bnaj2hh3.js} +1 -1
  104. package/bundle/{chunk-twvmjsxf.js → chunk-bpfq8fz4.js} +1 -1
  105. package/bundle/chunk-brk6bge4.js +3 -0
  106. package/bundle/{chunk-s06t769q.js → chunk-bwadggys.js} +1 -1
  107. package/bundle/chunk-c2a74stf.js +2 -0
  108. package/bundle/{chunk-76h0f86f.js → chunk-c3yjbent.js} +1 -1
  109. package/bundle/{chunk-spzd8rev.js → chunk-c76cjhn0.js} +1 -1
  110. package/bundle/{chunk-705xnxbc.js → chunk-ccf4pgkr.js} +1 -1
  111. package/bundle/chunk-ce5e7j62.js +2 -0
  112. package/bundle/{chunk-2bjfz4fb.js → chunk-cf9m9m9q.js} +1 -1
  113. package/bundle/{chunk-z7kswv9r.js → chunk-cfwz1hgr.js} +3 -3
  114. package/bundle/{chunk-dgva3y5v.js → chunk-cghz0855.js} +1 -1
  115. package/bundle/{chunk-a76w2jwm.js → chunk-cr5tknvb.js} +1 -1
  116. package/bundle/chunk-cw1gwjx9.js +2 -0
  117. package/bundle/chunk-czw30fjs.js +2 -0
  118. package/bundle/{chunk-x80d0zh7.js → chunk-d30k7dpf.js} +1 -1
  119. package/bundle/{chunk-x9fyt3vx.js → chunk-d839fr0w.js} +1 -1
  120. package/bundle/{chunk-n0g4983e.js → chunk-ddx2pcr4.js} +1 -1
  121. package/bundle/{chunk-4byvnx78.js → chunk-dgcannw0.js} +1 -1
  122. package/bundle/{chunk-4rpgwgx9.js → chunk-dhvx9p54.js} +1 -1
  123. package/bundle/chunk-dmkgjf1v.js +3 -0
  124. package/bundle/{chunk-z744mz4w.js → chunk-dt3bsmfe.js} +2 -2
  125. package/bundle/chunk-dwhsvpag.js +2 -0
  126. package/bundle/{chunk-4j76bf4j.js → chunk-dwkrqtbc.js} +1 -1
  127. package/bundle/chunk-e01jgnnm.js +2 -0
  128. package/bundle/chunk-e0hfpdje.js +2 -0
  129. package/bundle/{chunk-f2pv705d.js → chunk-e0vrxetq.js} +1 -1
  130. package/bundle/{chunk-59kk0mce.js → chunk-e2wfj86b.js} +1 -1
  131. package/bundle/chunk-e5jk67xh.js +2 -0
  132. package/bundle/{chunk-ae7b11np.js → chunk-eacpc64g.js} +2 -2
  133. package/bundle/{chunk-hqjc4wgg.js → chunk-eewe7tx1.js} +2 -2
  134. package/bundle/{chunk-etv6c77a.js → chunk-eg1m81ax.js} +1 -1
  135. package/bundle/chunk-eg4pq4hv.js +2 -0
  136. package/bundle/{chunk-9xxnwb33.js → chunk-ejhhrece.js} +3 -3
  137. package/bundle/{chunk-nfzpegqx.js → chunk-epmc4aht.js} +1 -1
  138. package/bundle/chunk-ew3yz97p.js +2 -0
  139. package/bundle/chunk-ezgfhy4e.js +2 -0
  140. package/bundle/{chunk-19pspc1p.js → chunk-f2v4g7t1.js} +1 -1
  141. package/bundle/chunk-f2yfyhh8.js +2 -0
  142. package/bundle/chunk-f30em1wx.js +2 -0
  143. package/bundle/{chunk-k3g28tbw.js → chunk-f81kk8ra.js} +1 -1
  144. package/bundle/{chunk-p847g35y.js → chunk-f8cae1ap.js} +1 -1
  145. package/bundle/{chunk-vp3yf46q.js → chunk-fa8pwdwv.js} +1 -1
  146. package/bundle/{chunk-dz3bec8g.js → chunk-fej5x648.js} +1 -1
  147. package/bundle/{chunk-14d301ze.js → chunk-fge37dke.js} +1 -1
  148. package/bundle/{chunk-0tqmm8b8.js → chunk-fh3d0wce.js} +1 -1
  149. package/bundle/{chunk-twd6r7nf.js → chunk-fjftb2sz.js} +1 -1
  150. package/bundle/{chunk-xhh70g8j.js → chunk-fs1vb39f.js} +2 -2
  151. package/bundle/{chunk-9g9katgy.js → chunk-ftvvm4r5.js} +2 -2
  152. package/bundle/{chunk-ptwex14s.js → chunk-fw1f47de.js} +1 -1
  153. package/bundle/{chunk-y2t5pmqw.js → chunk-g26redah.js} +1 -1
  154. package/bundle/{chunk-acd72413.js → chunk-g3n465ee.js} +1 -1
  155. package/bundle/{chunk-hfefq104.js → chunk-g4tyaj0m.js} +1 -1
  156. package/bundle/{chunk-a610qd3x.js → chunk-g6y2c5az.js} +1 -1
  157. package/bundle/{chunk-tezrgfc6.js → chunk-g7v6sp3c.js} +2 -2
  158. package/bundle/{chunk-4bewbvvr.js → chunk-g878zd6e.js} +1 -1
  159. package/bundle/{chunk-na1wr2qf.js → chunk-g9nwqwqp.js} +1 -1
  160. package/bundle/chunk-gbvm6dpv.js +2 -0
  161. package/bundle/{chunk-ns8xnkjb.js → chunk-gc5rhnht.js} +1 -1
  162. package/bundle/{chunk-q6p92zyn.js → chunk-gefx3n08.js} +1 -1
  163. package/bundle/{chunk-xcxqt8ag.js → chunk-ggncq8w8.js} +1 -1
  164. package/bundle/{chunk-gwrnxcdn.js → chunk-gsg6zn7e.js} +1 -1
  165. package/bundle/{chunk-4jpab7ag.js → chunk-gznt3dv8.js} +1 -1
  166. package/bundle/{chunk-defj5zs6.js → chunk-h1bvqstw.js} +1 -1
  167. package/bundle/{chunk-dd4qnh8s.js → chunk-h4hs2rhf.js} +1 -1
  168. package/bundle/chunk-h5w91zr4.js +2 -0
  169. package/bundle/{chunk-qp3hxqg5.js → chunk-h8mfbbjh.js} +1 -1
  170. package/bundle/{chunk-w43kmnm9.js → chunk-he9kpk9r.js} +357 -357
  171. package/bundle/chunk-hmpb3c21.js +2 -0
  172. package/bundle/{chunk-6gqs1k7m.js → chunk-hz02vrqs.js} +1 -1
  173. package/bundle/{chunk-3xdmxm5t.js → chunk-j10a984e.js} +1 -1
  174. package/bundle/chunk-j32rr7rt.js +2 -0
  175. package/bundle/chunk-j871xzr7.js +2 -0
  176. package/bundle/{chunk-kfj37631.js → chunk-jmmtcr2r.js} +1 -1
  177. package/bundle/{chunk-h7658zxy.js → chunk-jpn9zfj5.js} +1 -1
  178. package/bundle/{chunk-wgt1tqw9.js → chunk-jqj1ay7x.js} +1 -1
  179. package/bundle/{chunk-e4g4mvak.js → chunk-jr80q31w.js} +1 -1
  180. package/bundle/chunk-k3hgwszx.js +2 -0
  181. package/bundle/{chunk-k6zwfstj.js → chunk-kckr30tf.js} +1 -1
  182. package/bundle/{chunk-8rfqv5he.js → chunk-kgv68cpb.js} +1 -1
  183. package/bundle/{chunk-tkzctbxq.js → chunk-khpfseej.js} +2 -2
  184. package/bundle/{chunk-55way0em.js → chunk-kveztc6k.js} +1 -1
  185. package/bundle/{chunk-znmbfx70.js → chunk-kwfe4em6.js} +1 -1
  186. package/bundle/chunk-kx88qekb.js +2 -0
  187. package/bundle/{chunk-nbckdba0.js → chunk-m4r8sepw.js} +1 -1
  188. package/bundle/{chunk-6ychs4wx.js → chunk-m7tmgvh6.js} +1 -1
  189. package/bundle/{chunk-egkhynj5.js → chunk-makegrxs.js} +1 -1
  190. package/bundle/{chunk-438faz6b.js → chunk-mr17tppa.js} +1 -1
  191. package/bundle/{chunk-yzpc5kj2.js → chunk-mv7q6ach.js} +1 -1
  192. package/bundle/chunk-n61e0znt.js +2 -0
  193. package/bundle/{chunk-kry4vcrf.js → chunk-n6tqtk6h.js} +2 -2
  194. package/bundle/chunk-n6v36np0.js +2 -0
  195. package/bundle/chunk-ndd4cn3z.js +2 -0
  196. package/bundle/{chunk-d1tb1jd0.js → chunk-nfafk3ts.js} +1 -1
  197. package/bundle/{chunk-b6eypnbj.js → chunk-nga216dm.js} +1 -1
  198. package/bundle/{chunk-qbrj9wzd.js → chunk-njsmma3a.js} +1 -1
  199. package/bundle/{chunk-bk7f59fn.js → chunk-ntr0ezf2.js} +1 -1
  200. package/bundle/chunk-nwj6mcxz.js +2 -0
  201. package/bundle/{chunk-cth373se.js → chunk-p2fte9vz.js} +2 -2
  202. package/bundle/chunk-p5b5ekhh.js +2 -0
  203. package/bundle/chunk-pf23nw4z.js +2 -0
  204. package/bundle/{chunk-whw18cn9.js → chunk-phf37x1c.js} +1 -1
  205. package/bundle/{chunk-r73e8gsp.js → chunk-phpxxd48.js} +1 -1
  206. package/bundle/{chunk-1ay97v74.js → chunk-pqg1wjb5.js} +1 -1
  207. package/bundle/chunk-pw3cv89g.js +2 -0
  208. package/bundle/{chunk-77h8tytk.js → chunk-q3c8mfbq.js} +1 -1
  209. package/bundle/{chunk-0am156m5.js → chunk-qbnt4ynd.js} +1 -1
  210. package/bundle/chunk-qc89yj61.js +2 -0
  211. package/bundle/{chunk-mjrqhbp2.js → chunk-qgek59e6.js} +1 -1
  212. package/bundle/{chunk-npzx3yd5.js → chunk-qgfbsmsx.js} +1 -1
  213. package/bundle/{chunk-v9w88wpy.js → chunk-qgkb6n8k.js} +1 -1
  214. package/bundle/{chunk-2c41dncf.js → chunk-qk1jkc0n.js} +1 -1
  215. package/bundle/{chunk-wb1d3mqw.js → chunk-qk5vy2pr.js} +1 -1
  216. package/bundle/chunk-qn8tz704.js +2 -0
  217. package/bundle/{chunk-9a6p1gdn.js → chunk-qq9m8fxv.js} +7 -7
  218. package/bundle/{chunk-5b3v1x2c.js → chunk-qxdpgdfk.js} +2 -2
  219. package/bundle/chunk-qxre2gqn.js +2 -0
  220. package/bundle/chunk-rdk62809.js +2 -0
  221. package/bundle/chunk-rew6r516.js +2 -0
  222. package/bundle/chunk-rjhvdfn5.js +2 -0
  223. package/bundle/chunk-rmsqb6r4.js +10 -0
  224. package/bundle/{chunk-qph2c2v7.js → chunk-rva2ekrt.js} +1 -1
  225. package/bundle/{chunk-7z96r2px.js → chunk-rwnwjm82.js} +1 -1
  226. package/bundle/{chunk-tz3s8dvy.js → chunk-rye1yjnr.js} +1 -1
  227. package/bundle/{chunk-t9qyzzsz.js → chunk-ryrxgn6d.js} +1 -1
  228. package/bundle/{chunk-wjz42325.js → chunk-s2tc3qs0.js} +2 -2
  229. package/bundle/{chunk-djqxbnwc.js → chunk-s8z7v1me.js} +1 -1
  230. package/bundle/{chunk-msh249db.js → chunk-sa0rrreh.js} +2 -2
  231. package/bundle/{chunk-dbpkq7ba.js → chunk-sbjymf20.js} +2 -2
  232. package/bundle/{chunk-n5p7cn4w.js → chunk-scnbt714.js} +1 -1
  233. package/bundle/chunk-skgr9ypq.js +2 -0
  234. package/bundle/{chunk-rhrcgvb8.js → chunk-sm1g81cv.js} +1 -1
  235. package/bundle/chunk-sv40pwe2.js +2 -0
  236. package/bundle/{chunk-qprbef09.js → chunk-sy9w1t2y.js} +1 -1
  237. package/bundle/{chunk-bd84t3fb.js → chunk-sz0favtz.js} +1 -1
  238. package/bundle/{chunk-xb3sxa6f.js → chunk-t18ka1e7.js} +1 -1
  239. package/bundle/{chunk-va2qfh0x.js → chunk-t3w43rft.js} +1 -1
  240. package/bundle/{chunk-n9twhc5d.js → chunk-t6zz47zk.js} +1 -1
  241. package/bundle/{chunk-wd8hbven.js → chunk-t8fjgkp8.js} +1 -1
  242. package/bundle/{chunk-6r48fje7.js → chunk-tbx741en.js} +1 -1
  243. package/bundle/chunk-tfhpjmny.js +2 -0
  244. package/bundle/chunk-tnete6ye.js +2 -0
  245. package/bundle/{chunk-2y87m7pe.js → chunk-tpyq7ycb.js} +1 -1
  246. package/bundle/{chunk-nftbj8g9.js → chunk-trstb8ee.js} +1 -1
  247. package/bundle/chunk-tsmj98yf.js +5 -0
  248. package/bundle/{chunk-skxg3s8z.js → chunk-txkdt4ep.js} +1 -1
  249. package/bundle/chunk-v5h5wxw5.js +2 -0
  250. package/bundle/chunk-v6141yq1.js +2 -0
  251. package/bundle/{chunk-vjn54xj5.js → chunk-vbfej8ds.js} +2 -2
  252. package/bundle/{chunk-9aafddkw.js → chunk-vfd3azkp.js} +1 -1
  253. package/bundle/chunk-vjs69r6x.js +2 -0
  254. package/bundle/{chunk-ts2k13g0.js → chunk-vkjqy92f.js} +1 -1
  255. package/bundle/chunk-vmhar83s.js +2 -0
  256. package/bundle/{chunk-zp5sr5nx.js → chunk-vph4w4yy.js} +1 -1
  257. package/bundle/chunk-vqvnw12p.js +2 -0
  258. package/bundle/{chunk-0g0jpw0z.js → chunk-vr8nwzp0.js} +1 -1
  259. package/bundle/{chunk-nrk29616.js → chunk-vs3s49jw.js} +1 -1
  260. package/bundle/{chunk-v0c3k797.js → chunk-vsqvnxbz.js} +1 -1
  261. package/bundle/{chunk-rqedtjz9.js → chunk-w0nc0gcx.js} +1 -1
  262. package/bundle/{chunk-y5q9v80n.js → chunk-w0sng8a9.js} +1 -1
  263. package/bundle/chunk-w0sztk4y.js +2 -0
  264. package/bundle/chunk-w6bb320d.js +2 -0
  265. package/bundle/{chunk-t8sy5sgx.js → chunk-w7a33cwa.js} +2 -2
  266. package/bundle/{chunk-2cjfezfr.js → chunk-w9qh2479.js} +1 -1
  267. package/bundle/{chunk-42q8vj0w.js → chunk-waa1ggtj.js} +1 -1
  268. package/bundle/{chunk-v3nmnm57.js → chunk-wb05bp10.js} +2 -2
  269. package/bundle/{chunk-agqss9ga.js → chunk-wb47k8ah.js} +2 -2
  270. package/bundle/{chunk-rfzra502.js → chunk-wd8f9r4k.js} +1 -1
  271. package/bundle/chunk-wf41m019.js +2 -0
  272. package/bundle/{chunk-hwsqqkrv.js → chunk-wgkcyqn1.js} +2 -2
  273. package/bundle/{chunk-dy2k5rdx.js → chunk-wm9nh9nb.js} +2 -2
  274. package/bundle/{chunk-6nxebcf8.js → chunk-wn63q3xp.js} +1 -1
  275. package/bundle/{chunk-z6kcnpsj.js → chunk-wqk1v8t0.js} +2 -2
  276. package/bundle/chunk-wqw6yjrg.js +2 -0
  277. package/bundle/{chunk-q3pt4p9f.js → chunk-wr6rnxr5.js} +1 -1
  278. package/bundle/chunk-ws08rxge.js +2 -0
  279. package/bundle/{chunk-dw7yrk1g.js → chunk-wtt5wms9.js} +1 -1
  280. package/bundle/{chunk-93pmbdz7.js → chunk-wtxh5m6j.js} +6 -6
  281. package/bundle/chunk-wz3dvc3g.js +2 -0
  282. package/bundle/{chunk-vzrc2fmt.js → chunk-x00hwy3x.js} +1 -1
  283. package/bundle/chunk-x2pmqvdc.js +2 -0
  284. package/bundle/chunk-x4wfq39v.js +2 -0
  285. package/bundle/{chunk-q6mcnq9p.js → chunk-xs6v0r9m.js} +1 -1
  286. package/bundle/{chunk-3623jvcm.js → chunk-xy8arehp.js} +1 -1
  287. package/bundle/{chunk-mhxyv9c8.js → chunk-y3gy62q5.js} +1 -1
  288. package/bundle/chunk-yb6m08zj.js +2 -0
  289. package/bundle/{chunk-b79z8f94.js → chunk-ybcqkgs7.js} +1 -1
  290. package/bundle/{chunk-95am490c.js → chunk-ydgst3h8.js} +2 -2
  291. package/bundle/{chunk-twfvrafb.js → chunk-ykpj10nz.js} +1 -1
  292. package/bundle/{chunk-e0zb6sw6.js → chunk-ynf17943.js} +1 -1
  293. package/bundle/{chunk-yy7r3t3w.js → chunk-ytyzrqev.js} +1 -1
  294. package/bundle/{chunk-01e3v1xz.js → chunk-z0kbyr00.js} +2 -2
  295. package/bundle/{chunk-4vzjdmts.js → chunk-zfrftgcy.js} +1 -1
  296. package/bundle/chunk-zj1jc1xt.js +2 -0
  297. package/bundle/{chunk-9sv53kb4.js → chunk-zm0m0504.js} +1 -1
  298. package/bundle/{chunk-gdj7mqrd.js → chunk-zqdjk4rf.js} +1 -1
  299. package/bundle/{chunk-7x2q1w0f.js → chunk-zsg29gba.js} +1 -1
  300. package/bundle/{chunk-1c0yp2gv.js → chunk-zwhmg9dj.js} +1 -1
  301. package/bundle/index.js +3 -3
  302. package/bundle/parser.worker.js +2 -2
  303. package/bundle/worker.js +1 -1
  304. package/package.json +1 -1
  305. package/bundle/chunk-0dzpjk7x.js +0 -2
  306. package/bundle/chunk-12fwmmcp.js +0 -2
  307. package/bundle/chunk-1a95ysv3.js +0 -2
  308. package/bundle/chunk-1akh8pk2.js +0 -2
  309. package/bundle/chunk-2d2a92kj.js +0 -2
  310. package/bundle/chunk-2qrvkef8.js +0 -2
  311. package/bundle/chunk-2tppw8j9.js +0 -2
  312. package/bundle/chunk-3ft1dn9j.js +0 -2
  313. package/bundle/chunk-3rgct4bd.js +0 -11
  314. package/bundle/chunk-4656qm05.js +0 -2
  315. package/bundle/chunk-46knch5z.js +0 -2
  316. package/bundle/chunk-4sgy87h5.js +0 -2
  317. package/bundle/chunk-54hktc8h.js +0 -2
  318. package/bundle/chunk-59m55866.js +0 -2
  319. package/bundle/chunk-5js5nw7r.js +0 -2
  320. package/bundle/chunk-61jn7908.js +0 -2
  321. package/bundle/chunk-61txdqz1.js +0 -2
  322. package/bundle/chunk-668g9wkg.js +0 -2
  323. package/bundle/chunk-6frhjpmt.js +0 -2
  324. package/bundle/chunk-6k14c8x1.js +0 -5
  325. package/bundle/chunk-6r1jpj0h.js +0 -2
  326. package/bundle/chunk-73fn4dqd.js +0 -2
  327. package/bundle/chunk-78j2c2je.js +0 -2
  328. package/bundle/chunk-78jt24ht.js +0 -2
  329. package/bundle/chunk-7j2vpavd.js +0 -2
  330. package/bundle/chunk-7nkxgm72.js +0 -2
  331. package/bundle/chunk-859pkecc.js +0 -2
  332. package/bundle/chunk-8p249svd.js +0 -2
  333. package/bundle/chunk-8rqbx4jw.js +0 -2
  334. package/bundle/chunk-8s3krfsm.js +0 -2
  335. package/bundle/chunk-9wbe0dkx.js +0 -2
  336. package/bundle/chunk-aj5z8qd5.js +0 -2
  337. package/bundle/chunk-b0c2mvc0.js +0 -2
  338. package/bundle/chunk-bbwcsdy9.js +0 -2
  339. package/bundle/chunk-bbzjdbb9.js +0 -2
  340. package/bundle/chunk-bh4s1yct.js +0 -2
  341. package/bundle/chunk-crqcppwq.js +0 -2
  342. package/bundle/chunk-d09zpgj1.js +0 -2
  343. package/bundle/chunk-dexcptaz.js +0 -3
  344. package/bundle/chunk-dgqkak21.js +0 -2
  345. package/bundle/chunk-dhgvh7c3.js +0 -2
  346. package/bundle/chunk-dmd101ja.js +0 -2
  347. package/bundle/chunk-dwb39jdf.js +0 -2
  348. package/bundle/chunk-dx4zxex7.js +0 -2
  349. package/bundle/chunk-e2pqvscp.js +0 -2
  350. package/bundle/chunk-efe6kj3d.js +0 -2
  351. package/bundle/chunk-emac0dss.js +0 -2
  352. package/bundle/chunk-encfnt6w.js +0 -2
  353. package/bundle/chunk-fg2nyz2x.js +0 -2
  354. package/bundle/chunk-ge19ff9d.js +0 -2
  355. package/bundle/chunk-gt0q07xq.js +0 -2
  356. package/bundle/chunk-h4dnjfr2.js +0 -2
  357. package/bundle/chunk-h8fx619t.js +0 -2
  358. package/bundle/chunk-jnvb3s7f.js +0 -2
  359. package/bundle/chunk-jrq2xw6e.js +0 -2
  360. package/bundle/chunk-jwckmhjm.js +0 -2
  361. package/bundle/chunk-jz27ypm5.js +0 -2
  362. package/bundle/chunk-jzrs878d.js +0 -2
  363. package/bundle/chunk-jzx700tb.js +0 -2
  364. package/bundle/chunk-k1x8469r.js +0 -3
  365. package/bundle/chunk-m483jvn8.js +0 -2
  366. package/bundle/chunk-menbcmkq.js +0 -2
  367. package/bundle/chunk-np8h66t0.js +0 -2
  368. package/bundle/chunk-nwwmns3w.js +0 -2
  369. package/bundle/chunk-pe5dpzec.js +0 -2
  370. package/bundle/chunk-q8f6a074.js +0 -2
  371. package/bundle/chunk-qqaevt32.js +0 -2
  372. package/bundle/chunk-qzpvz708.js +0 -2
  373. package/bundle/chunk-reyjr2e0.js +0 -2
  374. package/bundle/chunk-t178njgb.js +0 -2
  375. package/bundle/chunk-tjpev5t6.js +0 -2
  376. package/bundle/chunk-tzq7wjgv.js +0 -3
  377. package/bundle/chunk-v1s16wwd.js +0 -2
  378. package/bundle/chunk-v6b29nx4.js +0 -2
  379. package/bundle/chunk-v6rgd1j5.js +0 -2
  380. package/bundle/chunk-v9dnetq8.js +0 -2
  381. package/bundle/chunk-vd5mpvcc.js +0 -2
  382. package/bundle/chunk-wwct4z7j.js +0 -2
  383. package/bundle/chunk-xr9wz961.js +0 -2
  384. package/bundle/chunk-zfegnt1e.js +0 -2
  385. package/bundle/chunk-zg7kesbp.js +0 -2
  386. package/bundle/chunk-zy06fe4r.js +0 -2
@@ -1,7 +1,7 @@
1
1
  // @bun
2
- import{gr as k,hr as C,ir as t,kr as V,nr as B,or as A,pr as H,sr as I,xr as o}from"./chunk-n5p7cn4w.js";import{yr as w}from"./chunk-mhxyv9c8.js";import{Nu as f}from"./chunk-c3szabpf.js";import{Xz as n}from"./chunk-c8prg3jx.js";function RJ(...F){return F.reduce((J,Q)=>({...J,...Q!=null?Q:{}}),{})}function NJ({tools:F=[],providerToolNames:J,resolveProviderToolName:Q}){var W;let X={},Y={};for(let Z of F)if(Z.type==="provider"){let $=(W=Q==null?void 0:Q(Z))!=null?W:(Z.id in J)?J[Z.id]:void 0;if($==null)continue;X[Z.name]=$,Y[$]=Z.name}return{toProviderToolName:(Z)=>{var $;return($=X[Z])!=null?$:Z},toCustomToolName:(Z)=>{var $;return($=Y[Z])!=null?$:Z}}}async function VJ(F,J){if(F==null)return Promise.resolve();let Q=J==null?void 0:J.abortSignal;return new Promise((W,X)=>{if(Q==null?void 0:Q.aborted){X(m());return}let Y=setTimeout(()=>{Z(),W()},F),Z=()=>{clearTimeout(Y),Q==null||Q.removeEventListener("abort",$)},$=()=>{Z(),X(m())};Q==null||Q.addEventListener("abort",$)})}function m(){return new DOMException("Delay was aborted","AbortError")}var TJ=class{constructor(){this.status={type:"pending"},this._resolve=void 0,this._reject=void 0}get promise(){if(this._promise)return this._promise;return this._promise=new Promise((F,J)=>{if(this.status.type==="resolved")F(this.status.value);else if(this.status.type==="rejected")J(this.status.error);this._resolve=F,this._reject=J}),this._promise}resolve(F){var J;if(this.status={type:"resolved",value:F},this._promise)(J=this._resolve)==null||J.call(this,F)}reject(F){var J;if(this.status={type:"rejected",error:F},this._promise)(J=this._reject)==null||J.call(this,F)}isResolved(){return this.status.type==="resolved"}isRejected(){return this.status.type==="rejected"}isPending(){return this.status.type==="pending"}};function z(F){return Object.fromEntries([...F.headers])}var{btoa:GF,atob:CF}=globalThis;function _J(F){let J=F.replace(/-/g,"+").replace(/_/g,"/"),Q=CF(J);return Uint8Array.from(Q,(W)=>W.codePointAt(0))}function a(F){let J="";for(let Q=0;Q<F.length;Q++)J+=String.fromCodePoint(F[Q]);return GF(J)}function jJ(F){return F instanceof Uint8Array?a(F):F}function kJ(F){if(F.type==="url")return F.url;return`data:${F.mediaType};base64,${typeof F.data==="string"?F.data:a(F.data)}`}function bJ(F,J={}){let{useArrayBrackets:Q=!0}=J,W=new FormData;for(let[X,Y]of Object.entries(F)){if(Y==null)continue;if(Array.isArray(Y)){if(Y.length===1){W.append(X,Y[0]);continue}let Z=Q?`${X}[]`:X;for(let $ of Y)W.append(Z,$);continue}W.append(X,Y)}return W}var s="AI_DownloadError",r=`vercel.ai.error.${s}`,MF=Symbol.for(r),u,i,O=class extends(i=k,u=MF,i){constructor({url:F,statusCode:J,statusText:Q,cause:W,message:X=W==null?`Failed to download ${F}: ${J} ${Q}`:`Failed to download ${F}: ${W}`}){super({name:s,message:X,cause:W});this[u]=!0,this.url=F,this.statusCode=J,this.statusText=Q}static isInstance(F){return k.hasMarker(F,r)}},e=2147483648;async function KF({response:F,url:J,maxBytes:Q=e}){let W=F.headers.get("content-length");if(W!=null){let G=parseInt(W,10);if(!isNaN(G)&&G>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes (Content-Length: ${G}).`})}let X=F.body;if(X==null)return new Uint8Array(0);let Y=X.getReader(),Z=[],$=0;try{while(!0){let{done:G,value:N}=await Y.read();if(G)break;if($+=N.length,$>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes.`});Z.push(N)}}finally{try{await Y.cancel()}finally{Y.releaseLock()}}let U=new Uint8Array($),L=0;for(let G of Z)U.set(G,L),L+=G.length;return U}function p(F){let J;try{J=new URL(F)}catch(W){throw new O({url:F,message:`Invalid URL: ${F}`})}if(J.protocol==="data:")return;if(J.protocol!=="http:"&&J.protocol!=="https:")throw new O({url:F,message:`URL scheme must be http, https, or data, got ${J.protocol}`});let Q=J.hostname;if(!Q)throw new O({url:F,message:"URL must have a hostname"});if(Q==="localhost"||Q.endsWith(".local")||Q.endsWith(".localhost"))throw new O({url:F,message:`URL with hostname ${Q} is not allowed`});if(Q.startsWith("[")&&Q.endsWith("]")){let W=Q.slice(1,-1);if(qF(W))throw new O({url:F,message:`URL with IPv6 address ${Q} is not allowed`});return}if(FF(Q)){if(b(Q))throw new O({url:F,message:`URL with IP address ${Q} is not allowed`});return}}function FF(F){let J=F.split(".");if(J.length!==4)return!1;return J.every((Q)=>{let W=Number(Q);return Number.isInteger(W)&&W>=0&&W<=255&&String(W)===Q})}function b(F){let J=F.split(".").map(Number),[Q,W]=J;if(Q===0)return!0;if(Q===10)return!0;if(Q===127)return!0;if(Q===169&&W===254)return!0;if(Q===172&&W>=16&&W<=31)return!0;if(Q===192&&W===168)return!0;return!1}function qF(F){let J=F.toLowerCase();if(J==="::1")return!0;if(J==="::")return!0;if(J.startsWith("::ffff:")){let Q=J.slice(7);if(FF(Q))return b(Q);let W=Q.split(":");if(W.length===2){let X=parseInt(W[0],16),Y=parseInt(W[1],16);if(!isNaN(X)&&!isNaN(Y)){let Z=X>>8&255,$=X&255,U=Y>>8&255,L=Y&255;return b(`${Z}.${$}.${U}.${L}`)}}}if(J.startsWith("fc")||J.startsWith("fd"))return!0;if(J.startsWith("fe80"))return!0;return!1}async function gJ(F,J){var Q,W;p(F);try{let X=await fetch(F,{signal:J==null?void 0:J.abortSignal});if(X.redirected)p(X.url);if(!X.ok)throw new O({url:F,statusCode:X.status,statusText:X.statusText});let Y=await KF({response:X,url:F,maxBytes:(Q=J==null?void 0:J.maxBytes)!=null?Q:e}),Z=(W=X.headers.get("content-type"))!=null?W:void 0;return new Blob([Y],Z?{type:Z}:void 0)}catch(X){if(O.isInstance(X))throw X;throw new O({url:F,cause:X})}}var DF=({prefix:F,size:J=16,alphabet:Q="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:W="-"}={})=>{let X=()=>{let Y=Q.length,Z=Array(J);for(let $=0;$<J;$++)Z[$]=Q[Math.random()*Y|0];return Z.join("")};if(F==null)return X;if(Q.includes(W))throw new V({argument:"separator",message:`The separator "${W}" must not be part of the alphabet "${Q}".`});return()=>`${F}${W}${X()}`},vJ=DF();function yJ(F){if(F==null)return"unknown error";if(typeof F==="string")return F;if(F instanceof Error)return F.message;return JSON.stringify(F)}function R(F){return(F instanceof Error||F instanceof DOMException)&&(F.name==="AbortError"||F.name==="ResponseAborted"||F.name==="TimeoutError")}var OF=["fetch failed","failed to fetch"],IF=["ConnectionRefused","ConnectionClosed","FailedToOpenSocket","ECONNRESET","ECONNREFUSED","ETIMEDOUT","EPIPE"];function PF(F){if(!(F instanceof Error))return!1;let J=F.code;if(typeof J==="string"&&IF.includes(J))return!0;return!1}function JF({error:F,url:J,requestBodyValues:Q}){if(R(F))return F;if(F instanceof TypeError&&OF.includes(F.message.toLowerCase())){let W=F.cause;if(W!=null)return new C({message:`Cannot connect to API: ${W.message}`,cause:W,url:J,requestBodyValues:Q,isRetryable:!0})}if(PF(F))return new C({message:`Cannot connect to API: ${F.message}`,cause:F,url:J,requestBodyValues:Q,isRetryable:!0});return F}function QF(F=globalThis){var J,Q,W;if(F.window)return"runtime/browser";if((J=F.navigator)==null?void 0:J.userAgent)return`runtime/${F.navigator.userAgent.toLowerCase()}`;if((W=(Q=F.process)==null?void 0:Q.versions)==null?void 0:W.node)return`runtime/node.js/${F.process.version.substring(0)}`;if(F.EdgeRuntime)return"runtime/vercel-edge";return"runtime/unknown"}function zF(F){if(F==null)return{};let J={};if(F instanceof Headers)F.forEach((Q,W)=>{J[W.toLowerCase()]=Q});else{if(!Array.isArray(F))F=Object.entries(F);for(let[Q,W]of F)if(W!=null)J[Q.toLowerCase()]=W}return J}function WF(F,...J){let Q=new Headers(zF(F)),W=Q.get("user-agent")||"";return Q.set("user-agent",[W,...J].filter(Boolean).join(" ")),Object.fromEntries(Q.entries())}var XF="4.0.23",AF=()=>globalThis.fetch,uJ=async({url:F,headers:J={},successfulResponseHandler:Q,failedResponseHandler:W,abortSignal:X,fetch:Y=AF()})=>{try{let Z=await Y(F,{method:"GET",headers:WF(J,`ai-sdk/provider-utils/${XF}`,QF()),signal:X}),$=z(Z);if(!Z.ok){let U;try{U=await W({response:Z,url:F,requestBodyValues:{}})}catch(L){if(R(L)||C.isInstance(L))throw L;throw new C({message:"Failed to process error response",cause:L,statusCode:Z.status,url:F,responseHeaders:$,requestBodyValues:{}})}throw U.value}try{return await Q({response:Z,url:F,requestBodyValues:{}})}catch(U){if(U instanceof Error){if(R(U)||C.isInstance(U))throw U}throw new C({message:"Failed to process successful response",cause:U,statusCode:Z.status,url:F,responseHeaders:$,requestBodyValues:{}})}}catch(Z){throw JF({error:Z,url:F,requestBodyValues:{}})}};function iJ(F){return F!=null}function pJ({mediaType:F,url:J,supportedUrls:Q}){return J=J.toLowerCase(),F=F.toLowerCase(),Object.entries(Q).map(([W,X])=>{let Y=W.toLowerCase();return Y==="*"||Y==="*/*"?{mediaTypePrefix:"",regexes:X}:{mediaTypePrefix:Y.replace(/\*/,""),regexes:X}}).filter(({mediaTypePrefix:W})=>F.startsWith(W)).flatMap(({regexes:W})=>W).some((W)=>W.test(J))}function cJ({apiKey:F,environmentVariableName:J,apiKeyParameterName:Q="apiKey",description:W}){if(typeof F==="string")return F;if(F!=null)throw new A({message:`${W} API key must be a string.`});if(typeof process>"u")throw new A({message:`${W} API key is missing. Pass it using the '${Q}' parameter. Environment variables are not supported in this environment.`});if(F=process.env[J],F==null)throw new A({message:`${W} API key is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new A({message:`${W} API key must be a string. The value of the ${J} environment variable is not a string.`});return F}function dJ({settingValue:F,environmentVariableName:J}){if(typeof F==="string")return F;if(F!=null||typeof process>"u")return;if(F=process.env[J],F==null||typeof F!=="string")return;return F}function fJ({settingValue:F,environmentVariableName:J,settingName:Q,description:W}){if(typeof F==="string")return F;if(F!=null)throw new H({message:`${W} setting must be a string.`});if(typeof process>"u")throw new H({message:`${W} setting is missing. Pass it using the '${Q}' parameter. Environment variables are not supported in this environment.`});if(F=process.env[J],F==null)throw new H({message:`${W} setting is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new H({message:`${W} setting must be a string. The value of the ${J} environment variable is not a string.`});return F}function tJ(F){var J;let[Q,W=""]=F.toLowerCase().split("/");return(J={mpeg:"mp3","x-wav":"wav",opus:"ogg",mp4:"m4a","x-m4a":"m4a"}[W])!=null?J:W}var HF=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,BF=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function l(F){let J=JSON.parse(F);if(J===null||typeof J!=="object")return J;if(HF.test(F)===!1&&BF.test(F)===!1)return J;return RF(J)}function RF(F){let J=[F];while(J.length){let Q=J;J=[];for(let W of Q){if(Object.prototype.hasOwnProperty.call(W,"__proto__"))throw SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(W,"constructor")&&W.constructor!==null&&typeof W.constructor==="object"&&Object.prototype.hasOwnProperty.call(W.constructor,"prototype"))throw SyntaxError("Object contains forbidden prototype property");for(let X in W){let Y=W[X];if(Y&&typeof Y==="object")J.push(Y)}}}return F}function x(F){let{stackTraceLimit:J}=Error;try{Error.stackTraceLimit=0}catch(Q){return l(F)}try{return l(F)}finally{Error.stackTraceLimit=J}}function v(F){if(F.type==="object"||Array.isArray(F.type)&&F.type.includes("object")){F.additionalProperties=!1;let{properties:Q}=F;if(Q!=null)for(let W of Object.keys(Q))Q[W]=P(Q[W])}if(F.items!=null)F.items=Array.isArray(F.items)?F.items.map(P):P(F.items);if(F.anyOf!=null)F.anyOf=F.anyOf.map(P);if(F.allOf!=null)F.allOf=F.allOf.map(P);if(F.oneOf!=null)F.oneOf=F.oneOf.map(P);let{definitions:J}=F;if(J!=null)for(let Q of Object.keys(J))J[Q]=P(J[Q]);return F}function P(F){if(typeof F==="boolean")return F;return v(F)}var NF=Symbol("Let zodToJsonSchema decide on which parser to use"),c={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},VF=(F)=>typeof F==="string"?{...c,name:F}:{...c,...F};function K(){return{}}function TF(F,J){var Q,W,X;let Y={type:"array"};if(((Q=F.type)==null?void 0:Q._def)&&((X=(W=F.type)==null?void 0:W._def)==null?void 0:X.typeName)!==w.ZodAny)Y.items=E(F.type._def,{...J,currentPath:[...J.currentPath,"items"]});if(F.minLength)Y.minItems=F.minLength.value;if(F.maxLength)Y.maxItems=F.maxLength.value;if(F.exactLength)Y.minItems=F.exactLength.value,Y.maxItems=F.exactLength.value;return Y}function _F(F){let J={type:"integer",format:"int64"};if(!F.checks)return J;for(let Q of F.checks)switch(Q.kind){case"min":if(Q.inclusive)J.minimum=Q.value;else J.exclusiveMinimum=Q.value;break;case"max":if(Q.inclusive)J.maximum=Q.value;else J.exclusiveMaximum=Q.value;break;case"multipleOf":J.multipleOf=Q.value;break}return J}function jF(){return{type:"boolean"}}function YF(F,J){return E(F.type._def,J)}var kF=(F,J)=>{return E(F.innerType._def,J)};function ZF(F,J,Q){let W=Q!=null?Q:J.dateStrategy;if(Array.isArray(W))return{anyOf:W.map((X,Y)=>ZF(F,J,X))};switch(W){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return bF(F)}}var bF=(F)=>{let J={type:"integer",format:"unix-time"};for(let Q of F.checks)switch(Q.kind){case"min":J.minimum=Q.value;break;case"max":J.maximum=Q.value;break}return J};function SF(F,J){return{...E(F.innerType._def,J),default:F.defaultValue()}}function gF(F,J){return J.effectStrategy==="input"?E(F.schema._def,J):K()}function xF(F){return{type:"string",enum:Array.from(F.values)}}var vF=(F)=>{if("type"in F&&F.type==="string")return!1;return"allOf"in F};function yF(F,J){let Q=[E(F.left._def,{...J,currentPath:[...J.currentPath,"allOf","0"]}),E(F.right._def,{...J,currentPath:[...J.currentPath,"allOf","1"]})].filter((X)=>!!X),W=[];return Q.forEach((X)=>{if(vF(X))W.push(...X.allOf);else{let Y=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Z,...$}=X;Y=$}W.push(Y)}}),W.length?{allOf:W}:void 0}function hF(F){let J=typeof F.value;if(J!=="bigint"&&J!=="number"&&J!=="boolean"&&J!=="string")return{type:Array.isArray(F.value)?"array":"object"};return{type:J==="bigint"?"integer":J,const:F.value}}var _=void 0,q={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(_===void 0)_=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return _},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 $F(F,J){let Q={type:"string"};if(F.checks)for(let W of F.checks)switch(W.kind){case"min":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value;break;case"max":Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"email":switch(J.emailStrategy){case"format:email":D(Q,"email",W.message,J);break;case"format:idn-email":D(Q,"idn-email",W.message,J);break;case"pattern:zod":M(Q,q.email,W.message,J);break}break;case"url":D(Q,"uri",W.message,J);break;case"uuid":D(Q,"uuid",W.message,J);break;case"regex":M(Q,W.regex,W.message,J);break;case"cuid":M(Q,q.cuid,W.message,J);break;case"cuid2":M(Q,q.cuid2,W.message,J);break;case"startsWith":M(Q,RegExp(`^${j(W.value,J)}`),W.message,J);break;case"endsWith":M(Q,RegExp(`${j(W.value,J)}$`),W.message,J);break;case"datetime":D(Q,"date-time",W.message,J);break;case"date":D(Q,"date",W.message,J);break;case"time":D(Q,"time",W.message,J);break;case"duration":D(Q,"duration",W.message,J);break;case"length":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value,Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"includes":{M(Q,RegExp(j(W.value,J)),W.message,J);break}case"ip":{if(W.version!=="v6")D(Q,"ipv4",W.message,J);if(W.version!=="v4")D(Q,"ipv6",W.message,J);break}case"base64url":M(Q,q.base64url,W.message,J);break;case"jwt":M(Q,q.jwt,W.message,J);break;case"cidr":{if(W.version!=="v6")M(Q,q.ipv4Cidr,W.message,J);if(W.version!=="v4")M(Q,q.ipv6Cidr,W.message,J);break}case"emoji":M(Q,q.emoji(),W.message,J);break;case"ulid":{M(Q,q.ulid,W.message,J);break}case"base64":{switch(J.base64Strategy){case"format:binary":{D(Q,"binary",W.message,J);break}case"contentEncoding:base64":{Q.contentEncoding="base64";break}case"pattern:zod":{M(Q,q.base64,W.message,J);break}}break}case"nanoid":M(Q,q.nanoid,W.message,J);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return Q}function j(F,J){return J.patternStrategy==="escape"?uF(F):F}var mF=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function uF(F){let J="";for(let Q=0;Q<F.length;Q++){if(!mF.has(F[Q]))J+="\\";J+=F[Q]}return J}function D(F,J,Q,W){var X;if(F.format||((X=F.anyOf)==null?void 0:X.some((Y)=>Y.format))){if(!F.anyOf)F.anyOf=[];if(F.format)F.anyOf.push({format:F.format}),delete F.format;F.anyOf.push({format:J,...Q&&W.errorMessages&&{errorMessage:{format:Q}}})}else F.format=J}function M(F,J,Q,W){var X;if(F.pattern||((X=F.allOf)==null?void 0:X.some((Y)=>Y.pattern))){if(!F.allOf)F.allOf=[];if(F.pattern)F.allOf.push({pattern:F.pattern}),delete F.pattern;F.allOf.push({pattern:d(J,W),...Q&&W.errorMessages&&{errorMessage:{pattern:Q}}})}else F.pattern=d(J,W)}function d(F,J){var Q;if(!J.applyRegexFlags||!F.flags)return F.source;let W={i:F.flags.includes("i"),m:F.flags.includes("m"),s:F.flags.includes("s")},X=W.i?F.source.toLowerCase():F.source,Y="",Z=!1,$=!1,U=!1;for(let L=0;L<X.length;L++){if(Z){Y+=X[L],Z=!1;continue}if(W.i){if($){if(X[L].match(/[a-z]/)){if(U)Y+=X[L],Y+=`${X[L-2]}-${X[L]}`.toUpperCase(),U=!1;else if(X[L+1]==="-"&&((Q=X[L+2])==null?void 0:Q.match(/[a-z]/)))Y+=X[L],U=!0;else Y+=`${X[L]}${X[L].toUpperCase()}`;continue}}else if(X[L].match(/[a-z]/)){Y+=`[${X[L]}${X[L].toUpperCase()}]`;continue}}if(W.m){if(X[L]==="^"){Y+=`(^|(?<=[\r
2
+ import{Jp as k,Kp as C,Lp as t,Np as V,Qp as B,Rp as A,Sp as H,Vp as I,_p as o}from"./chunk-scnbt714.js";import{$p as w}from"./chunk-y3gy62q5.js";import{ot as f}from"./chunk-a48mx917.js";import{yy as n}from"./chunk-3va85mbe.js";function RJ(...F){return F.reduce((J,Q)=>({...J,...Q!=null?Q:{}}),{})}function NJ({tools:F=[],providerToolNames:J,resolveProviderToolName:Q}){var W;let X={},Y={};for(let Z of F)if(Z.type==="provider"){let $=(W=Q==null?void 0:Q(Z))!=null?W:(Z.id in J)?J[Z.id]:void 0;if($==null)continue;X[Z.name]=$,Y[$]=Z.name}return{toProviderToolName:(Z)=>{var $;return($=X[Z])!=null?$:Z},toCustomToolName:(Z)=>{var $;return($=Y[Z])!=null?$:Z}}}async function VJ(F,J){if(F==null)return Promise.resolve();let Q=J==null?void 0:J.abortSignal;return new Promise((W,X)=>{if(Q==null?void 0:Q.aborted){X(m());return}let Y=setTimeout(()=>{Z(),W()},F),Z=()=>{clearTimeout(Y),Q==null||Q.removeEventListener("abort",$)},$=()=>{Z(),X(m())};Q==null||Q.addEventListener("abort",$)})}function m(){return new DOMException("Delay was aborted","AbortError")}var TJ=class{constructor(){this.status={type:"pending"},this._resolve=void 0,this._reject=void 0}get promise(){if(this._promise)return this._promise;return this._promise=new Promise((F,J)=>{if(this.status.type==="resolved")F(this.status.value);else if(this.status.type==="rejected")J(this.status.error);this._resolve=F,this._reject=J}),this._promise}resolve(F){var J;if(this.status={type:"resolved",value:F},this._promise)(J=this._resolve)==null||J.call(this,F)}reject(F){var J;if(this.status={type:"rejected",error:F},this._promise)(J=this._reject)==null||J.call(this,F)}isResolved(){return this.status.type==="resolved"}isRejected(){return this.status.type==="rejected"}isPending(){return this.status.type==="pending"}};function z(F){return Object.fromEntries([...F.headers])}var{btoa:GF,atob:CF}=globalThis;function _J(F){let J=F.replace(/-/g,"+").replace(/_/g,"/"),Q=CF(J);return Uint8Array.from(Q,(W)=>W.codePointAt(0))}function a(F){let J="";for(let Q=0;Q<F.length;Q++)J+=String.fromCodePoint(F[Q]);return GF(J)}function jJ(F){return F instanceof Uint8Array?a(F):F}function kJ(F){if(F.type==="url")return F.url;return`data:${F.mediaType};base64,${typeof F.data==="string"?F.data:a(F.data)}`}function bJ(F,J={}){let{useArrayBrackets:Q=!0}=J,W=new FormData;for(let[X,Y]of Object.entries(F)){if(Y==null)continue;if(Array.isArray(Y)){if(Y.length===1){W.append(X,Y[0]);continue}let Z=Q?`${X}[]`:X;for(let $ of Y)W.append(Z,$);continue}W.append(X,Y)}return W}var s="AI_DownloadError",r=`vercel.ai.error.${s}`,MF=Symbol.for(r),u,i,O=class extends(i=k,u=MF,i){constructor({url:F,statusCode:J,statusText:Q,cause:W,message:X=W==null?`Failed to download ${F}: ${J} ${Q}`:`Failed to download ${F}: ${W}`}){super({name:s,message:X,cause:W});this[u]=!0,this.url=F,this.statusCode=J,this.statusText=Q}static isInstance(F){return k.hasMarker(F,r)}},e=2147483648;async function KF({response:F,url:J,maxBytes:Q=e}){let W=F.headers.get("content-length");if(W!=null){let G=parseInt(W,10);if(!isNaN(G)&&G>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes (Content-Length: ${G}).`})}let X=F.body;if(X==null)return new Uint8Array(0);let Y=X.getReader(),Z=[],$=0;try{while(!0){let{done:G,value:N}=await Y.read();if(G)break;if($+=N.length,$>Q)throw new O({url:J,message:`Download of ${J} exceeded maximum size of ${Q} bytes.`});Z.push(N)}}finally{try{await Y.cancel()}finally{Y.releaseLock()}}let U=new Uint8Array($),L=0;for(let G of Z)U.set(G,L),L+=G.length;return U}function p(F){let J;try{J=new URL(F)}catch(W){throw new O({url:F,message:`Invalid URL: ${F}`})}if(J.protocol==="data:")return;if(J.protocol!=="http:"&&J.protocol!=="https:")throw new O({url:F,message:`URL scheme must be http, https, or data, got ${J.protocol}`});let Q=J.hostname;if(!Q)throw new O({url:F,message:"URL must have a hostname"});if(Q==="localhost"||Q.endsWith(".local")||Q.endsWith(".localhost"))throw new O({url:F,message:`URL with hostname ${Q} is not allowed`});if(Q.startsWith("[")&&Q.endsWith("]")){let W=Q.slice(1,-1);if(qF(W))throw new O({url:F,message:`URL with IPv6 address ${Q} is not allowed`});return}if(FF(Q)){if(b(Q))throw new O({url:F,message:`URL with IP address ${Q} is not allowed`});return}}function FF(F){let J=F.split(".");if(J.length!==4)return!1;return J.every((Q)=>{let W=Number(Q);return Number.isInteger(W)&&W>=0&&W<=255&&String(W)===Q})}function b(F){let J=F.split(".").map(Number),[Q,W]=J;if(Q===0)return!0;if(Q===10)return!0;if(Q===127)return!0;if(Q===169&&W===254)return!0;if(Q===172&&W>=16&&W<=31)return!0;if(Q===192&&W===168)return!0;return!1}function qF(F){let J=F.toLowerCase();if(J==="::1")return!0;if(J==="::")return!0;if(J.startsWith("::ffff:")){let Q=J.slice(7);if(FF(Q))return b(Q);let W=Q.split(":");if(W.length===2){let X=parseInt(W[0],16),Y=parseInt(W[1],16);if(!isNaN(X)&&!isNaN(Y)){let Z=X>>8&255,$=X&255,U=Y>>8&255,L=Y&255;return b(`${Z}.${$}.${U}.${L}`)}}}if(J.startsWith("fc")||J.startsWith("fd"))return!0;if(J.startsWith("fe80"))return!0;return!1}async function gJ(F,J){var Q,W;p(F);try{let X=await fetch(F,{signal:J==null?void 0:J.abortSignal});if(X.redirected)p(X.url);if(!X.ok)throw new O({url:F,statusCode:X.status,statusText:X.statusText});let Y=await KF({response:X,url:F,maxBytes:(Q=J==null?void 0:J.maxBytes)!=null?Q:e}),Z=(W=X.headers.get("content-type"))!=null?W:void 0;return new Blob([Y],Z?{type:Z}:void 0)}catch(X){if(O.isInstance(X))throw X;throw new O({url:F,cause:X})}}var DF=({prefix:F,size:J=16,alphabet:Q="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:W="-"}={})=>{let X=()=>{let Y=Q.length,Z=Array(J);for(let $=0;$<J;$++)Z[$]=Q[Math.random()*Y|0];return Z.join("")};if(F==null)return X;if(Q.includes(W))throw new V({argument:"separator",message:`The separator "${W}" must not be part of the alphabet "${Q}".`});return()=>`${F}${W}${X()}`},vJ=DF();function yJ(F){if(F==null)return"unknown error";if(typeof F==="string")return F;if(F instanceof Error)return F.message;return JSON.stringify(F)}function R(F){return(F instanceof Error||F instanceof DOMException)&&(F.name==="AbortError"||F.name==="ResponseAborted"||F.name==="TimeoutError")}var OF=["fetch failed","failed to fetch"],IF=["ConnectionRefused","ConnectionClosed","FailedToOpenSocket","ECONNRESET","ECONNREFUSED","ETIMEDOUT","EPIPE"];function PF(F){if(!(F instanceof Error))return!1;let J=F.code;if(typeof J==="string"&&IF.includes(J))return!0;return!1}function JF({error:F,url:J,requestBodyValues:Q}){if(R(F))return F;if(F instanceof TypeError&&OF.includes(F.message.toLowerCase())){let W=F.cause;if(W!=null)return new C({message:`Cannot connect to API: ${W.message}`,cause:W,url:J,requestBodyValues:Q,isRetryable:!0})}if(PF(F))return new C({message:`Cannot connect to API: ${F.message}`,cause:F,url:J,requestBodyValues:Q,isRetryable:!0});return F}function QF(F=globalThis){var J,Q,W;if(F.window)return"runtime/browser";if((J=F.navigator)==null?void 0:J.userAgent)return`runtime/${F.navigator.userAgent.toLowerCase()}`;if((W=(Q=F.process)==null?void 0:Q.versions)==null?void 0:W.node)return`runtime/node.js/${F.process.version.substring(0)}`;if(F.EdgeRuntime)return"runtime/vercel-edge";return"runtime/unknown"}function zF(F){if(F==null)return{};let J={};if(F instanceof Headers)F.forEach((Q,W)=>{J[W.toLowerCase()]=Q});else{if(!Array.isArray(F))F=Object.entries(F);for(let[Q,W]of F)if(W!=null)J[Q.toLowerCase()]=W}return J}function WF(F,...J){let Q=new Headers(zF(F)),W=Q.get("user-agent")||"";return Q.set("user-agent",[W,...J].filter(Boolean).join(" ")),Object.fromEntries(Q.entries())}var XF="4.0.23",AF=()=>globalThis.fetch,uJ=async({url:F,headers:J={},successfulResponseHandler:Q,failedResponseHandler:W,abortSignal:X,fetch:Y=AF()})=>{try{let Z=await Y(F,{method:"GET",headers:WF(J,`ai-sdk/provider-utils/${XF}`,QF()),signal:X}),$=z(Z);if(!Z.ok){let U;try{U=await W({response:Z,url:F,requestBodyValues:{}})}catch(L){if(R(L)||C.isInstance(L))throw L;throw new C({message:"Failed to process error response",cause:L,statusCode:Z.status,url:F,responseHeaders:$,requestBodyValues:{}})}throw U.value}try{return await Q({response:Z,url:F,requestBodyValues:{}})}catch(U){if(U instanceof Error){if(R(U)||C.isInstance(U))throw U}throw new C({message:"Failed to process successful response",cause:U,statusCode:Z.status,url:F,responseHeaders:$,requestBodyValues:{}})}}catch(Z){throw JF({error:Z,url:F,requestBodyValues:{}})}};function iJ(F){return F!=null}function pJ({mediaType:F,url:J,supportedUrls:Q}){return J=J.toLowerCase(),F=F.toLowerCase(),Object.entries(Q).map(([W,X])=>{let Y=W.toLowerCase();return Y==="*"||Y==="*/*"?{mediaTypePrefix:"",regexes:X}:{mediaTypePrefix:Y.replace(/\*/,""),regexes:X}}).filter(({mediaTypePrefix:W})=>F.startsWith(W)).flatMap(({regexes:W})=>W).some((W)=>W.test(J))}function cJ({apiKey:F,environmentVariableName:J,apiKeyParameterName:Q="apiKey",description:W}){if(typeof F==="string")return F;if(F!=null)throw new A({message:`${W} API key must be a string.`});if(typeof process>"u")throw new A({message:`${W} API key is missing. Pass it using the '${Q}' parameter. Environment variables are not supported in this environment.`});if(F=process.env[J],F==null)throw new A({message:`${W} API key is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new A({message:`${W} API key must be a string. The value of the ${J} environment variable is not a string.`});return F}function dJ({settingValue:F,environmentVariableName:J}){if(typeof F==="string")return F;if(F!=null||typeof process>"u")return;if(F=process.env[J],F==null||typeof F!=="string")return;return F}function fJ({settingValue:F,environmentVariableName:J,settingName:Q,description:W}){if(typeof F==="string")return F;if(F!=null)throw new H({message:`${W} setting must be a string.`});if(typeof process>"u")throw new H({message:`${W} setting is missing. Pass it using the '${Q}' parameter. Environment variables are not supported in this environment.`});if(F=process.env[J],F==null)throw new H({message:`${W} setting is missing. Pass it using the '${Q}' parameter or the ${J} environment variable.`});if(typeof F!=="string")throw new H({message:`${W} setting must be a string. The value of the ${J} environment variable is not a string.`});return F}function tJ(F){var J;let[Q,W=""]=F.toLowerCase().split("/");return(J={mpeg:"mp3","x-wav":"wav",opus:"ogg",mp4:"m4a","x-m4a":"m4a"}[W])!=null?J:W}var HF=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,BF=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function l(F){let J=JSON.parse(F);if(J===null||typeof J!=="object")return J;if(HF.test(F)===!1&&BF.test(F)===!1)return J;return RF(J)}function RF(F){let J=[F];while(J.length){let Q=J;J=[];for(let W of Q){if(Object.prototype.hasOwnProperty.call(W,"__proto__"))throw SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(W,"constructor")&&W.constructor!==null&&typeof W.constructor==="object"&&Object.prototype.hasOwnProperty.call(W.constructor,"prototype"))throw SyntaxError("Object contains forbidden prototype property");for(let X in W){let Y=W[X];if(Y&&typeof Y==="object")J.push(Y)}}}return F}function x(F){let{stackTraceLimit:J}=Error;try{Error.stackTraceLimit=0}catch(Q){return l(F)}try{return l(F)}finally{Error.stackTraceLimit=J}}function v(F){if(F.type==="object"||Array.isArray(F.type)&&F.type.includes("object")){F.additionalProperties=!1;let{properties:Q}=F;if(Q!=null)for(let W of Object.keys(Q))Q[W]=P(Q[W])}if(F.items!=null)F.items=Array.isArray(F.items)?F.items.map(P):P(F.items);if(F.anyOf!=null)F.anyOf=F.anyOf.map(P);if(F.allOf!=null)F.allOf=F.allOf.map(P);if(F.oneOf!=null)F.oneOf=F.oneOf.map(P);let{definitions:J}=F;if(J!=null)for(let Q of Object.keys(J))J[Q]=P(J[Q]);return F}function P(F){if(typeof F==="boolean")return F;return v(F)}var NF=Symbol("Let zodToJsonSchema decide on which parser to use"),c={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},VF=(F)=>typeof F==="string"?{...c,name:F}:{...c,...F};function K(){return{}}function TF(F,J){var Q,W,X;let Y={type:"array"};if(((Q=F.type)==null?void 0:Q._def)&&((X=(W=F.type)==null?void 0:W._def)==null?void 0:X.typeName)!==w.ZodAny)Y.items=E(F.type._def,{...J,currentPath:[...J.currentPath,"items"]});if(F.minLength)Y.minItems=F.minLength.value;if(F.maxLength)Y.maxItems=F.maxLength.value;if(F.exactLength)Y.minItems=F.exactLength.value,Y.maxItems=F.exactLength.value;return Y}function _F(F){let J={type:"integer",format:"int64"};if(!F.checks)return J;for(let Q of F.checks)switch(Q.kind){case"min":if(Q.inclusive)J.minimum=Q.value;else J.exclusiveMinimum=Q.value;break;case"max":if(Q.inclusive)J.maximum=Q.value;else J.exclusiveMaximum=Q.value;break;case"multipleOf":J.multipleOf=Q.value;break}return J}function jF(){return{type:"boolean"}}function YF(F,J){return E(F.type._def,J)}var kF=(F,J)=>{return E(F.innerType._def,J)};function ZF(F,J,Q){let W=Q!=null?Q:J.dateStrategy;if(Array.isArray(W))return{anyOf:W.map((X,Y)=>ZF(F,J,X))};switch(W){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return bF(F)}}var bF=(F)=>{let J={type:"integer",format:"unix-time"};for(let Q of F.checks)switch(Q.kind){case"min":J.minimum=Q.value;break;case"max":J.maximum=Q.value;break}return J};function SF(F,J){return{...E(F.innerType._def,J),default:F.defaultValue()}}function gF(F,J){return J.effectStrategy==="input"?E(F.schema._def,J):K()}function xF(F){return{type:"string",enum:Array.from(F.values)}}var vF=(F)=>{if("type"in F&&F.type==="string")return!1;return"allOf"in F};function yF(F,J){let Q=[E(F.left._def,{...J,currentPath:[...J.currentPath,"allOf","0"]}),E(F.right._def,{...J,currentPath:[...J.currentPath,"allOf","1"]})].filter((X)=>!!X),W=[];return Q.forEach((X)=>{if(vF(X))W.push(...X.allOf);else{let Y=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Z,...$}=X;Y=$}W.push(Y)}}),W.length?{allOf:W}:void 0}function hF(F){let J=typeof F.value;if(J!=="bigint"&&J!=="number"&&J!=="boolean"&&J!=="string")return{type:Array.isArray(F.value)?"array":"object"};return{type:J==="bigint"?"integer":J,const:F.value}}var _=void 0,q={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(_===void 0)_=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return _},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 $F(F,J){let Q={type:"string"};if(F.checks)for(let W of F.checks)switch(W.kind){case"min":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value;break;case"max":Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"email":switch(J.emailStrategy){case"format:email":D(Q,"email",W.message,J);break;case"format:idn-email":D(Q,"idn-email",W.message,J);break;case"pattern:zod":M(Q,q.email,W.message,J);break}break;case"url":D(Q,"uri",W.message,J);break;case"uuid":D(Q,"uuid",W.message,J);break;case"regex":M(Q,W.regex,W.message,J);break;case"cuid":M(Q,q.cuid,W.message,J);break;case"cuid2":M(Q,q.cuid2,W.message,J);break;case"startsWith":M(Q,RegExp(`^${j(W.value,J)}`),W.message,J);break;case"endsWith":M(Q,RegExp(`${j(W.value,J)}$`),W.message,J);break;case"datetime":D(Q,"date-time",W.message,J);break;case"date":D(Q,"date",W.message,J);break;case"time":D(Q,"time",W.message,J);break;case"duration":D(Q,"duration",W.message,J);break;case"length":Q.minLength=typeof Q.minLength==="number"?Math.max(Q.minLength,W.value):W.value,Q.maxLength=typeof Q.maxLength==="number"?Math.min(Q.maxLength,W.value):W.value;break;case"includes":{M(Q,RegExp(j(W.value,J)),W.message,J);break}case"ip":{if(W.version!=="v6")D(Q,"ipv4",W.message,J);if(W.version!=="v4")D(Q,"ipv6",W.message,J);break}case"base64url":M(Q,q.base64url,W.message,J);break;case"jwt":M(Q,q.jwt,W.message,J);break;case"cidr":{if(W.version!=="v6")M(Q,q.ipv4Cidr,W.message,J);if(W.version!=="v4")M(Q,q.ipv6Cidr,W.message,J);break}case"emoji":M(Q,q.emoji(),W.message,J);break;case"ulid":{M(Q,q.ulid,W.message,J);break}case"base64":{switch(J.base64Strategy){case"format:binary":{D(Q,"binary",W.message,J);break}case"contentEncoding:base64":{Q.contentEncoding="base64";break}case"pattern:zod":{M(Q,q.base64,W.message,J);break}}break}case"nanoid":M(Q,q.nanoid,W.message,J);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return Q}function j(F,J){return J.patternStrategy==="escape"?uF(F):F}var mF=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function uF(F){let J="";for(let Q=0;Q<F.length;Q++){if(!mF.has(F[Q]))J+="\\";J+=F[Q]}return J}function D(F,J,Q,W){var X;if(F.format||((X=F.anyOf)==null?void 0:X.some((Y)=>Y.format))){if(!F.anyOf)F.anyOf=[];if(F.format)F.anyOf.push({format:F.format}),delete F.format;F.anyOf.push({format:J,...Q&&W.errorMessages&&{errorMessage:{format:Q}}})}else F.format=J}function M(F,J,Q,W){var X;if(F.pattern||((X=F.allOf)==null?void 0:X.some((Y)=>Y.pattern))){if(!F.allOf)F.allOf=[];if(F.pattern)F.allOf.push({pattern:F.pattern}),delete F.pattern;F.allOf.push({pattern:d(J,W),...Q&&W.errorMessages&&{errorMessage:{pattern:Q}}})}else F.pattern=d(J,W)}function d(F,J){var Q;if(!J.applyRegexFlags||!F.flags)return F.source;let W={i:F.flags.includes("i"),m:F.flags.includes("m"),s:F.flags.includes("s")},X=W.i?F.source.toLowerCase():F.source,Y="",Z=!1,$=!1,U=!1;for(let L=0;L<X.length;L++){if(Z){Y+=X[L],Z=!1;continue}if(W.i){if($){if(X[L].match(/[a-z]/)){if(U)Y+=X[L],Y+=`${X[L-2]}-${X[L]}`.toUpperCase(),U=!1;else if(X[L+1]==="-"&&((Q=X[L+2])==null?void 0:Q.match(/[a-z]/)))Y+=X[L],U=!0;else Y+=`${X[L]}${X[L].toUpperCase()}`;continue}}else if(X[L].match(/[a-z]/)){Y+=`[${X[L]}${X[L].toUpperCase()}]`;continue}}if(W.m){if(X[L]==="^"){Y+=`(^|(?<=[\r
3
3
  ]))`;continue}else if(X[L]==="$"){Y+=`($|(?=[\r
4
4
  ]))`;continue}}if(W.s&&X[L]==="."){Y+=$?`${X[L]}\r
5
5
  `:`[${X[L]}\r
6
6
  ]`;continue}if(Y+=X[L],X[L]==="\\")Z=!0;else if($&&X[L]==="]")$=!1;else if(!$&&X[L]==="[")$=!0}try{new RegExp(Y)}catch(L){return console.warn(`Could not convert regex pattern at ${J.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),F.source}return Y}function LF(F,J){var Q,W,X,Y,Z,$;let U={type:"object",additionalProperties:(Q=E(F.valueType._def,{...J,currentPath:[...J.currentPath,"additionalProperties"]}))!=null?Q:J.allowedAdditionalProperties};if(((W=F.keyType)==null?void 0:W._def.typeName)===w.ZodString&&((X=F.keyType._def.checks)==null?void 0:X.length)){let{type:L,...G}=$F(F.keyType._def,J);return{...U,propertyNames:G}}else if(((Y=F.keyType)==null?void 0:Y._def.typeName)===w.ZodEnum)return{...U,propertyNames:{enum:F.keyType._def.values}};else if(((Z=F.keyType)==null?void 0:Z._def.typeName)===w.ZodBranded&&F.keyType._def.type._def.typeName===w.ZodString&&(($=F.keyType._def.type._def.checks)==null?void 0:$.length)){let{type:L,...G}=YF(F.keyType._def,J);return{...U,propertyNames:G}}return U}function iF(F,J){if(J.mapStrategy==="record")return LF(F,J);let Q=E(F.keyType._def,{...J,currentPath:[...J.currentPath,"items","items","0"]})||K(),W=E(F.valueType._def,{...J,currentPath:[...J.currentPath,"items","items","1"]})||K();return{type:"array",maxItems:125,items:{type:"array",items:[Q,W],minItems:2,maxItems:2}}}function pF(F){let J=F.values,W=Object.keys(F.values).filter((Y)=>{return typeof J[J[Y]]!=="number"}).map((Y)=>J[Y]),X=Array.from(new Set(W.map((Y)=>typeof Y)));return{type:X.length===1?X[0]==="string"?"string":"number":["string","number"],enum:W}}function lF(){return{not:K()}}function cF(){return{type:"null"}}var S={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function dF(F,J){let Q=F.options instanceof Map?Array.from(F.options.values()):F.options;if(Q.every((W)=>(W._def.typeName in S)&&(!W._def.checks||!W._def.checks.length))){let W=Q.reduce((X,Y)=>{let Z=S[Y._def.typeName];return Z&&!X.includes(Z)?[...X,Z]:X},[]);return{type:W.length>1?W:W[0]}}else if(Q.every((W)=>W._def.typeName==="ZodLiteral"&&!W.description)){let W=Q.reduce((X,Y)=>{let Z=typeof Y._def.value;switch(Z){case"string":case"number":case"boolean":return[...X,Z];case"bigint":return[...X,"integer"];case"object":if(Y._def.value===null)return[...X,"null"];case"symbol":case"undefined":case"function":default:return X}},[]);if(W.length===Q.length){let X=W.filter((Y,Z,$)=>$.indexOf(Y)===Z);return{type:X.length>1?X:X[0],enum:Q.reduce((Y,Z)=>{return Y.includes(Z._def.value)?Y:[...Y,Z._def.value]},[])}}}else if(Q.every((W)=>W._def.typeName==="ZodEnum"))return{type:"string",enum:Q.reduce((W,X)=>[...W,...X._def.values.filter((Y)=>!W.includes(Y))],[])};return nF(F,J)}var nF=(F,J)=>{let Q=(F.options instanceof Map?Array.from(F.options.values()):F.options).map((W,X)=>E(W._def,{...J,currentPath:[...J.currentPath,"anyOf",`${X}`]})).filter((W)=>!!W&&(!J.strictUnions||typeof W==="object"&&Object.keys(W).length>0));return Q.length?{anyOf:Q}:void 0};function fF(F,J){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(F.innerType._def.typeName)&&(!F.innerType._def.checks||!F.innerType._def.checks.length))return{type:[S[F.innerType._def.typeName],"null"]};let Q=E(F.innerType._def,{...J,currentPath:[...J.currentPath,"anyOf","0"]});return Q&&{anyOf:[Q,{type:"null"}]}}function tF(F){let J={type:"number"};if(!F.checks)return J;for(let Q of F.checks)switch(Q.kind){case"int":J.type="integer";break;case"min":if(Q.inclusive)J.minimum=Q.value;else J.exclusiveMinimum=Q.value;break;case"max":if(Q.inclusive)J.maximum=Q.value;else J.exclusiveMaximum=Q.value;break;case"multipleOf":J.multipleOf=Q.value;break}return J}function oF(F,J){let Q={type:"object",properties:{}},W=[],X=F.shape();for(let Z in X){let $=X[Z];if($===void 0||$._def===void 0)continue;let U=sF($),L=E($._def,{...J,currentPath:[...J.currentPath,"properties",Z],propertyPath:[...J.currentPath,"properties",Z]});if(L===void 0)continue;if(Q.properties[Z]=L,!U)W.push(Z)}if(W.length)Q.required=W;let Y=aF(F,J);if(Y!==void 0)Q.additionalProperties=Y;return Q}function aF(F,J){if(F.catchall._def.typeName!=="ZodNever")return E(F.catchall._def,{...J,currentPath:[...J.currentPath,"additionalProperties"]});switch(F.unknownKeys){case"passthrough":return J.allowedAdditionalProperties;case"strict":return J.rejectedAdditionalProperties;case"strip":return J.removeAdditionalStrategy==="strict"?J.allowedAdditionalProperties:J.rejectedAdditionalProperties}}function sF(F){try{return F.isOptional()}catch(J){return!0}}var rF=(F,J)=>{var Q;if(J.currentPath.toString()===((Q=J.propertyPath)==null?void 0:Q.toString()))return E(F.innerType._def,J);let W=E(F.innerType._def,{...J,currentPath:[...J.currentPath,"anyOf","1"]});return W?{anyOf:[{not:K()},W]}:K()},eF=(F,J)=>{if(J.pipeStrategy==="input")return E(F.in._def,J);else if(J.pipeStrategy==="output")return E(F.out._def,J);let Q=E(F.in._def,{...J,currentPath:[...J.currentPath,"allOf","0"]}),W=E(F.out._def,{...J,currentPath:[...J.currentPath,"allOf",Q?"1":"0"]});return{allOf:[Q,W].filter((X)=>X!==void 0)}};function FJ(F,J){return E(F.type._def,J)}function JJ(F,J){let W={type:"array",uniqueItems:!0,items:E(F.valueType._def,{...J,currentPath:[...J.currentPath,"items"]})};if(F.minSize)W.minItems=F.minSize.value;if(F.maxSize)W.maxItems=F.maxSize.value;return W}function QJ(F,J){if(F.rest)return{type:"array",minItems:F.items.length,items:F.items.map((Q,W)=>E(Q._def,{...J,currentPath:[...J.currentPath,"items",`${W}`]})).reduce((Q,W)=>W===void 0?Q:[...Q,W],[]),additionalItems:E(F.rest._def,{...J,currentPath:[...J.currentPath,"additionalItems"]})};else return{type:"array",minItems:F.items.length,maxItems:F.items.length,items:F.items.map((Q,W)=>E(Q._def,{...J,currentPath:[...J.currentPath,"items",`${W}`]})).reduce((Q,W)=>W===void 0?Q:[...Q,W],[])}}function WJ(){return{not:K()}}function XJ(){return K()}var YJ=(F,J)=>{return E(F.innerType._def,J)},ZJ=(F,J,Q)=>{switch(J){case w.ZodString:return $F(F,Q);case w.ZodNumber:return tF(F);case w.ZodObject:return oF(F,Q);case w.ZodBigInt:return _F(F);case w.ZodBoolean:return jF();case w.ZodDate:return ZF(F,Q);case w.ZodUndefined:return WJ();case w.ZodNull:return cF();case w.ZodArray:return TF(F,Q);case w.ZodUnion:case w.ZodDiscriminatedUnion:return dF(F,Q);case w.ZodIntersection:return yF(F,Q);case w.ZodTuple:return QJ(F,Q);case w.ZodRecord:return LF(F,Q);case w.ZodLiteral:return hF(F);case w.ZodEnum:return xF(F);case w.ZodNativeEnum:return pF(F);case w.ZodNullable:return fF(F,Q);case w.ZodOptional:return rF(F,Q);case w.ZodMap:return iF(F,Q);case w.ZodSet:return JJ(F,Q);case w.ZodLazy:return()=>F.getter()._def;case w.ZodPromise:return FJ(F,Q);case w.ZodNaN:case w.ZodNever:return lF();case w.ZodEffects:return gF(F,Q);case w.ZodAny:return K();case w.ZodUnknown:return XJ();case w.ZodDefault:return SF(F,Q);case w.ZodBranded:return YF(F,Q);case w.ZodReadonly:return YJ(F,Q);case w.ZodCatch:return kF(F,Q);case w.ZodPipeline:return eF(F,Q);case w.ZodFunction:case w.ZodVoid:case w.ZodSymbol:return;default:return((W)=>{return})(J)}},$J=(F,J)=>{let Q=0;for(;Q<F.length&&Q<J.length;Q++)if(F[Q]!==J[Q])break;return[(F.length-Q).toString(),...J.slice(Q)].join("/")};function E(F,J,Q=!1){var W;let X=J.seen.get(F);if(J.override){let U=(W=J.override)==null?void 0:W.call(J,F,J,X,Q);if(U!==NF)return U}if(X&&!Q){let U=LJ(X,J);if(U!==void 0)return U}let Y={def:F,path:J.currentPath,jsonSchema:void 0};J.seen.set(F,Y);let Z=ZJ(F,F.typeName,J),$=typeof Z==="function"?E(Z(),J):Z;if($)UJ(F,J,$);if(J.postProcess){let U=J.postProcess($,F,J);return Y.jsonSchema=$,U}return Y.jsonSchema=$,$}var LJ=(F,J)=>{switch(J.$refStrategy){case"root":return{$ref:F.path.join("/")};case"relative":return{$ref:$J(J.currentPath,F.path)};case"none":case"seen":{if(F.path.length<J.currentPath.length&&F.path.every((Q,W)=>J.currentPath[W]===Q))return console.warn(`Recursive reference detected at ${J.currentPath.join("/")}! Defaulting to any`),K();return J.$refStrategy==="seen"?K():void 0}}},UJ=(F,J,Q)=>{if(F.description)Q.description=F.description;return Q},wJ=(F)=>{let J=VF(F),Q=J.name!==void 0?[...J.basePath,J.definitionPath,J.name]:J.basePath;return{...J,currentPath:Q,propertyPath:void 0,seen:new Map(Object.entries(J.definitions).map(([W,X])=>[X._def,{def:X._def,path:[...J.basePath,J.definitionPath,W],jsonSchema:void 0}]))}},EJ=(F,J)=>{var Q;let W=wJ(J),X=typeof J==="object"&&J.definitions?Object.entries(J.definitions).reduce((L,[G,N])=>{var h;return{...L,[G]:(h=E(N._def,{...W,currentPath:[...W.basePath,W.definitionPath,G]},!0))!=null?h:K()}},{}):void 0,Y=typeof J==="string"?J:(J==null?void 0:J.nameStrategy)==="title"?void 0:J==null?void 0:J.name,Z=(Q=E(F._def,Y===void 0?W:{...W,currentPath:[...W.basePath,W.definitionPath,Y]},!1))!=null?Q:K(),$=typeof J==="object"&&J.name!==void 0&&J.nameStrategy==="title"?J.name:void 0;if($!==void 0)Z.title=$;let U=Y===void 0?X?{...Z,[W.definitionPath]:X}:Z:{$ref:[...W.$refStrategy==="relative"?[]:W.basePath,W.definitionPath,Y].join("/"),[W.definitionPath]:{...X,[Y]:Z}};return U.$schema="http://json-schema.org/draft-07/schema#",U},g=Symbol.for("vercel.ai.schema");function JQ(F){let J;return()=>{if(J==null)J=F();return J}}function T(F,{validate:J}={}){return{[g]:!0,_type:void 0,get jsonSchema(){if(typeof F==="function")F=F();return F},validate:J}}function GJ(F){return typeof F==="object"&&F!==null&&g in F&&F[g]===!0&&"jsonSchema"in F&&"validate"in F}function CJ(F){return F==null?T({properties:{},additionalProperties:!1}):GJ(F)?F:("~standard"in F)?F["~standard"].vendor==="zod"?OJ(F):MJ(F):F()}function MJ(F){return T(()=>v(F["~standard"].jsonSchema.input({target:"draft-07"})),{validate:async(J)=>{let Q=await F["~standard"].validate(J);return"value"in Q?{success:!0,value:Q.value}:{success:!1,error:new I({value:J,cause:Q.issues})}}})}function KJ(F,J){var Q;let W=(Q=J==null?void 0:J.useReferences)!=null?Q:!1;return T(()=>EJ(F,{$refStrategy:W?"root":"none"}),{validate:async(X)=>{let Y=await F.safeParseAsync(X);return Y.success?{success:!0,value:Y.data}:{success:!1,error:Y.error}}})}function qJ(F,J){var Q;let W=(Q=J==null?void 0:J.useReferences)!=null?Q:!1;return T(()=>v(n(F,{target:"draft-7",io:"input",reused:W?"ref":"inline"})),{validate:async(X)=>{let Y=await f(F,X);return Y.success?{success:!0,value:Y.data}:{success:!1,error:Y.error}}})}function DJ(F){return"_zod"in F}function OJ(F,J){if(DJ(F))return qJ(F,J);else return KJ(F,J)}async function IJ({value:F,schema:J,context:Q}){let W=await y({value:F,schema:J,context:Q});if(!W.success)throw I.wrap({value:F,cause:W.error,context:Q});return W.value}async function y({value:F,schema:J,context:Q}){let W=CJ(J);try{if(W.validate==null)return{success:!0,value:F,rawValue:F};let X=await W.validate(F);if(X.success)return{success:!0,value:X.value,rawValue:F};return{success:!1,error:I.wrap({value:F,cause:X.error,context:Q}),rawValue:F}}catch(X){return{success:!1,error:I.wrap({value:F,cause:X,context:Q}),rawValue:F}}}async function PJ({text:F,schema:J}){try{let Q=x(F);if(J==null)return Q;return IJ({value:Q,schema:J})}catch(Q){if(B.isInstance(Q)||I.isInstance(Q))throw Q;throw new B({text:F,cause:Q})}}async function UF({text:F,schema:J}){try{let Q=x(F);if(J==null)return{success:!0,value:Q,rawValue:Q};return await y({value:Q,schema:J})}catch(Q){return{success:!1,error:B.isInstance(Q)?Q:new B({text:F,cause:Q}),rawValue:void 0}}}function QQ(F){try{return x(F),!0}catch(J){return!1}}function zJ({stream:F,schema:J}){return F.pipeThrough(new TextDecoderStream).pipeThrough(new o).pipeThrough(new TransformStream({async transform({data:Q},W){if(Q==="[DONE]")return;W.enqueue(await UF({text:Q,schema:J}))}}))}async function YQ({provider:F,providerOptions:J,schema:Q}){if((J==null?void 0:J[F])==null)return;let W=await y({value:J[F],schema:Q});if(!W.success)throw new V({argument:"providerOptions",message:`invalid ${F} provider options`,cause:W.error});return W.value}var AJ=()=>globalThis.fetch,$Q=async({url:F,headers:J,body:Q,failedResponseHandler:W,successfulResponseHandler:X,abortSignal:Y,fetch:Z})=>wF({url:F,headers:{"Content-Type":"application/json",...J},body:{content:JSON.stringify(Q),values:Q},failedResponseHandler:W,successfulResponseHandler:X,abortSignal:Y,fetch:Z}),LQ=async({url:F,headers:J,formData:Q,failedResponseHandler:W,successfulResponseHandler:X,abortSignal:Y,fetch:Z})=>wF({url:F,headers:J,body:{content:Q,values:Object.fromEntries(Q.entries())},failedResponseHandler:W,successfulResponseHandler:X,abortSignal:Y,fetch:Z}),wF=async({url:F,headers:J={},body:Q,successfulResponseHandler:W,failedResponseHandler:X,abortSignal:Y,fetch:Z=AJ()})=>{try{let $=await Z(F,{method:"POST",headers:WF(J,`ai-sdk/provider-utils/${XF}`,QF()),body:Q.content,signal:Y}),U=z($);if(!$.ok){let L;try{L=await X({response:$,url:F,requestBodyValues:Q.values})}catch(G){if(R(G)||C.isInstance(G))throw G;throw new C({message:"Failed to process error response",cause:G,statusCode:$.status,url:F,responseHeaders:U,requestBodyValues:Q.values})}throw L.value}try{return await W({response:$,url:F,requestBodyValues:Q.values})}catch(L){if(L instanceof Error){if(R(L)||C.isInstance(L))throw L}throw new C({message:"Failed to process successful response",cause:L,statusCode:$.status,url:F,responseHeaders:U,requestBodyValues:Q.values})}}catch($){throw JF({error:$,url:F,requestBodyValues:Q.values})}};function EF(F){return F}function UQ(F){return{...F,type:"dynamic"}}function wQ({id:F,inputSchema:J}){return({execute:Q,outputSchema:W,needsApproval:X,toModelOutput:Y,onInputStart:Z,onInputDelta:$,onInputAvailable:U,...L})=>EF({type:"provider",id:F,args:L,inputSchema:J,outputSchema:W,execute:Q,needsApproval:X,toModelOutput:Y,onInputStart:Z,onInputDelta:$,onInputAvailable:U})}function EQ({id:F,inputSchema:J,outputSchema:Q,supportsDeferredResults:W}){return({execute:X,needsApproval:Y,toModelOutput:Z,onInputStart:$,onInputDelta:U,onInputAvailable:L,...G})=>EF({type:"provider",id:F,args:G,inputSchema:J,outputSchema:Q,execute:X,needsApproval:Y,toModelOutput:Z,onInputStart:$,onInputDelta:U,onInputAvailable:L,supportsDeferredResults:W})}async function GQ(F){if(typeof F==="function")F=F();return Promise.resolve(F)}var MQ=({errorSchema:F,errorToMessage:J,isRetryable:Q})=>async({response:W,url:X,requestBodyValues:Y})=>{let Z=await W.text(),$=z(W);if(Z.trim()==="")return{responseHeaders:$,value:new C({message:W.statusText,url:X,requestBodyValues:Y,statusCode:W.status,responseHeaders:$,responseBody:Z,isRetryable:Q==null?void 0:Q(W)})};try{let U=await PJ({text:Z,schema:F});return{responseHeaders:$,value:new C({message:J(U),url:X,requestBodyValues:Y,statusCode:W.status,responseHeaders:$,responseBody:Z,data:U,isRetryable:Q==null?void 0:Q(W,U)})}}catch(U){return{responseHeaders:$,value:new C({message:W.statusText,url:X,requestBodyValues:Y,statusCode:W.status,responseHeaders:$,responseBody:Z,isRetryable:Q==null?void 0:Q(W)})}}},KQ=(F)=>async({response:J})=>{let Q=z(J);if(J.body==null)throw new t({});return{responseHeaders:Q,value:zJ({stream:J.body,schema:F})}},qQ=(F)=>async({response:J,url:Q,requestBodyValues:W})=>{let X=await J.text(),Y=await UF({text:X,schema:F}),Z=z(J);if(!Y.success)throw new C({message:"Invalid JSON response",cause:Y.error,statusCode:J.status,responseHeaders:Z,responseBody:X,url:Q,requestBodyValues:W});return{responseHeaders:Z,value:Y.value,rawValue:Y.rawValue}},DQ=()=>async({response:F,url:J,requestBodyValues:Q})=>{let W=z(F);if(!F.body)throw new C({message:"Response body is empty",url:J,requestBodyValues:Q,statusCode:F.status,responseHeaders:W,responseBody:void 0});try{let X=await F.arrayBuffer();return{responseHeaders:W,value:new Uint8Array(X)}}catch(X){throw new C({message:"Failed to read response as array buffer",url:J,requestBodyValues:Q,statusCode:F.status,responseHeaders:W,responseBody:void 0,cause:X})}},OQ=()=>async({response:F,url:J,requestBodyValues:Q})=>{let W=z(F),X=await F.text();return{responseHeaders:W,value:new C({message:F.statusText,url:J,requestBodyValues:Q,statusCode:F.status,responseHeaders:W,responseBody:X})}};function IQ(F){let J=F.indexOf(".");return J===-1?F:F.slice(0,J)}function PQ(F){return F==null?void 0:F.replace(/\/$/,"")}function HJ(F){return F!=null&&typeof F[Symbol.asyncIterator]==="function"}async function*zQ({execute:F,input:J,options:Q}){let W=F(J,Q);if(HJ(W)){let X;for await(let Y of W)X=Y,yield{type:"preliminary",output:Y};yield{type:"final",output:X}}else yield{type:"final",output:await W}}
7
- export{RJ as fq,NJ as gq,VJ as hq,TJ as iq,z as jq,_J as kq,a as lq,jJ as mq,kJ as nq,bJ as oq,O as pq,e as qq,KF as rq,p as sq,gJ as tq,DF as uq,vJ as vq,yJ as wq,R as xq,QF as yq,zF as zq,WF as Aq,uJ as Bq,iJ as Cq,pJ as Dq,cJ as Eq,dJ as Fq,fJ as Gq,tJ as Hq,JQ as Iq,T as Jq,CJ as Kq,OJ as Lq,IJ as Mq,y as Nq,PJ as Oq,UF as Pq,QQ as Qq,zJ as Rq,YQ as Sq,$Q as Tq,LQ as Uq,EF as Vq,UQ as Wq,wQ as Xq,EQ as Yq,GQ as Zq,MQ as _q,KQ as $q,qQ as ar,DQ as br,OQ as cr,IQ as dr,PQ as er,zQ as fr};
7
+ export{RJ as Io,NJ as Jo,VJ as Ko,TJ as Lo,z as Mo,_J as No,a as Oo,jJ as Po,kJ as Qo,bJ as Ro,O as So,e as To,KF as Uo,p as Vo,gJ as Wo,DF as Xo,vJ as Yo,yJ as Zo,R as _o,QF as $o,zF as ap,WF as bp,uJ as cp,iJ as dp,pJ as ep,cJ as fp,dJ as gp,fJ as hp,tJ as ip,JQ as jp,T as kp,CJ as lp,OJ as mp,IJ as np,y as op,PJ as pp,UF as qp,QQ as rp,zJ as sp,YQ as tp,$Q as up,LQ as vp,EF as wp,UQ as xp,wQ as yp,EQ as zp,GQ as Ap,MQ as Bp,KQ as Cp,qQ as Dp,DQ as Ep,OQ as Fp,IQ as Gp,PQ as Hp,zQ as Ip};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$i as u,Hi as a,Ii as b,Ji as c,Ki as d,Li as e,Mi as f,Ni as g,Oi as h,Pi as i,Qi as j,Ri as k,Si as l,Ti as m,Ui as n,Vi as o,Wi as p,Xi as q,Yi as r,Zi as s,_i as t,aj as v,bj as w,cj as x,dj as y,ej as z,fj as A,gj as B,hj as C,ij as D,jj as E,kj as F,lj as G,mj as H,nj as I,oj as J,pj as K,qj as L,rj as M,sj as N,tj as O,uj as P,vj as Q,wj as R}from"./chunk-drnj1a14.js";import"./chunk-mhxyv9c8.js";import"./chunk-f2pv705d.js";export{Q as zodToJsonSchema,u as zodPatterns,g as setResponseValueAndErrors,O as selectParser,B as primitiveMappings,M as parseUnknownDef,C as parseUnionDef,L as parseUndefinedDef,K as parseTupleDef,v as parseStringDef,J as parseSetDef,w as parseRecordDef,N as parseReadonlyDef,I as parsePromiseDef,H as parsePipelineDef,G as parseOptionalDef,F as parseObjectDef,E as parseNumberDef,D as parseNullableDef,A as parseNullDef,z as parseNeverDef,y as parseNativeEnumDef,x as parseMapDef,t as parseLiteralDef,s as parseIntersectionDef,r as parseEnumDef,q as parseEffectsDef,p as parseDefaultDef,P as parseDef,o as parseDateDef,n as parseCatchDef,m as parseBrandedDef,l as parseBooleanDef,k as parseBigintDef,j as parseArrayDef,i as parseAnyDef,b as jsonDescription,a as ignoreOverride,h as getRelativePath,e as getRefs,d as getDefaultOptions,c as defaultOptions,R as default,f as addErrorMessage};
2
+ import{$i as u,Hi as a,Ii as b,Ji as c,Ki as d,Li as e,Mi as f,Ni as g,Oi as h,Pi as i,Qi as j,Ri as k,Si as l,Ti as m,Ui as n,Vi as o,Wi as p,Xi as q,Yi as r,Zi as s,_i as t,aj as v,bj as w,cj as x,dj as y,ej as z,fj as A,gj as B,hj as C,ij as D,jj as E,kj as F,lj as G,mj as H,nj as I,oj as J,pj as K,qj as L,rj as M,sj as N,tj as O,uj as P,vj as Q,wj as R}from"./chunk-0egrckx0.js";import"./chunk-y3gy62q5.js";import"./chunk-e0vrxetq.js";export{Q as zodToJsonSchema,u as zodPatterns,g as setResponseValueAndErrors,O as selectParser,B as primitiveMappings,M as parseUnknownDef,C as parseUnionDef,L as parseUndefinedDef,K as parseTupleDef,v as parseStringDef,J as parseSetDef,w as parseRecordDef,N as parseReadonlyDef,I as parsePromiseDef,H as parsePipelineDef,G as parseOptionalDef,F as parseObjectDef,E as parseNumberDef,D as parseNullableDef,A as parseNullDef,z as parseNeverDef,y as parseNativeEnumDef,x as parseMapDef,t as parseLiteralDef,s as parseIntersectionDef,r as parseEnumDef,q as parseEffectsDef,p as parseDefaultDef,P as parseDef,o as parseDateDef,n as parseCatchDef,m as parseBrandedDef,l as parseBooleanDef,k as parseBigintDef,j as parseArrayDef,i as parseAnyDef,b as jsonDescription,a as ignoreOverride,h as getRelativePath,e as getRefs,d as getDefaultOptions,c as defaultOptions,R as default,f as addErrorMessage};