@qitqode/qitqode-android-arm64 0.2.11 → 0.2.14

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 (410) hide show
  1. package/bundle/{chunk-p5p4jh9s.js → chunk-00ft63qn.js} +1 -1
  2. package/bundle/chunk-00r3he5x.js +2 -0
  3. package/bundle/{chunk-bh1zbz62.js → chunk-02tmc2st.js} +1 -1
  4. package/bundle/{chunk-k8zbhj2p.js → chunk-05bkxat0.js} +2 -2
  5. package/bundle/{chunk-wspbjh74.js → chunk-06tgmvh6.js} +2 -2
  6. package/bundle/{chunk-s3hbwksw.js → chunk-07b4pkk6.js} +1 -1
  7. package/bundle/{chunk-fzxqn4j0.js → chunk-0ejx0yqx.js} +1 -1
  8. package/bundle/chunk-0ks20gz1.js +2 -0
  9. package/bundle/{chunk-wdy0fsp8.js → chunk-0m4gvjcv.js} +2 -2
  10. package/bundle/{chunk-jf4zyy7r.js → chunk-0mztgsxp.js} +1 -1
  11. package/bundle/{chunk-075gkea2.js → chunk-10kj86va.js} +1 -1
  12. package/bundle/{chunk-y8tx9x5b.js → chunk-10q04xh5.js} +1 -1
  13. package/bundle/{chunk-pdcj2rfz.js → chunk-175720ws.js} +2 -2
  14. package/bundle/{chunk-r1936yb5.js → chunk-19rs84t8.js} +1 -1
  15. package/bundle/{chunk-bwzbcwff.js → chunk-1a08ffyd.js} +1 -1
  16. package/bundle/{chunk-vbcekkw2.js → chunk-1bq15kf0.js} +2 -2
  17. package/bundle/{chunk-rvev3cy6.js → chunk-1e75j4m1.js} +2 -2
  18. package/bundle/{chunk-n4fwztya.js → chunk-1gdt9q05.js} +1 -1
  19. package/bundle/{chunk-wp0xd7at.js → chunk-1mfdmm2t.js} +1 -1
  20. package/bundle/{chunk-eya9c81t.js → chunk-1pft3sar.js} +1 -1
  21. package/bundle/chunk-1r7anzk5.js +2 -0
  22. package/bundle/{chunk-zr1cvkpb.js → chunk-1ypzf18e.js} +1 -1
  23. package/bundle/chunk-26e51217.js +2 -0
  24. package/bundle/{chunk-tyk97q7c.js → chunk-2ascwm7j.js} +1 -1
  25. package/bundle/{chunk-jfe9f2wv.js → chunk-2d61z24r.js} +1 -1
  26. package/bundle/chunk-2g4kxtz0.js +2 -0
  27. package/bundle/chunk-2jzay8a9.js +2 -0
  28. package/bundle/{chunk-fqvsxg00.js → chunk-2k2szpze.js} +1 -1
  29. package/bundle/chunk-2q78bdtj.js +2 -0
  30. package/bundle/{chunk-c53ev0da.js → chunk-2w3n0q9m.js} +2 -2
  31. package/bundle/{chunk-seda5sfd.js → chunk-2w79k0mh.js} +2 -2
  32. package/bundle/chunk-30rghawe.js +2 -0
  33. package/bundle/{chunk-j7d3v0x2.js → chunk-3152y1q9.js} +1 -1
  34. package/bundle/chunk-31a47ptm.js +10 -0
  35. package/bundle/chunk-33mzqyyb.js +3 -0
  36. package/bundle/chunk-34yk99ep.js +2 -0
  37. package/bundle/{chunk-xf1y0sc6.js → chunk-358wdvj7.js} +2 -2
  38. package/bundle/{chunk-zr89enb8.js → chunk-3c73rngn.js} +1 -1
  39. package/bundle/{chunk-h8yf5e2e.js → chunk-3cs1qf8x.js} +1 -1
  40. package/bundle/chunk-3dajnr1w.js +2 -0
  41. package/bundle/chunk-3ege6krg.js +2 -0
  42. package/bundle/chunk-43vpxggb.js +2 -0
  43. package/bundle/{chunk-5qydhr42.js → chunk-47jkx37s.js} +3 -3
  44. package/bundle/{chunk-wqkvsj5y.js → chunk-48rg4yhk.js} +2 -2
  45. package/bundle/chunk-49y7zg15.js +2 -0
  46. package/bundle/{chunk-e5cds19n.js → chunk-4hvenszg.js} +1 -1
  47. package/bundle/{chunk-9d2mtevw.js → chunk-4p9fny77.js} +1 -1
  48. package/bundle/{chunk-sbj816s8.js → chunk-4ppw719f.js} +1 -1
  49. package/bundle/{chunk-ghdegwnr.js → chunk-4r7fbkcm.js} +1 -1
  50. package/bundle/{chunk-r4qpsa4e.js → chunk-4s1n38ds.js} +2 -2
  51. package/bundle/{chunk-ya6r72ng.js → chunk-4v29ayke.js} +1 -1
  52. package/bundle/{chunk-yvtbt12y.js → chunk-4xqwt6dr.js} +2 -2
  53. package/bundle/{chunk-89b6ttzs.js → chunk-4ycg2c6f.js} +2 -2
  54. package/bundle/{chunk-b79bb2g3.js → chunk-5341jv20.js} +1 -1
  55. package/bundle/{chunk-1dnvdeat.js → chunk-583d91xq.js} +2 -2
  56. package/bundle/{chunk-t7s475b2.js → chunk-5cwy8y78.js} +2 -2
  57. package/bundle/{chunk-x28chfpz.js → chunk-5dvy83ms.js} +2 -2
  58. package/bundle/{chunk-fd6qxjtf.js → chunk-5h1s0akp.js} +1 -1
  59. package/bundle/{chunk-ztjrm8m0.js → chunk-5mf4qrye.js} +2 -2
  60. package/bundle/{chunk-hav9pgf3.js → chunk-5q98z8ck.js} +2 -2
  61. package/bundle/chunk-5qhsfjzq.js +3 -0
  62. package/bundle/{chunk-rpc0he6b.js → chunk-5rvvfgfy.js} +2 -2
  63. package/bundle/chunk-5xxn06g0.js +2 -0
  64. package/bundle/{chunk-tqnf1p88.js → chunk-61b81z2h.js} +1 -1
  65. package/bundle/{chunk-y24yxs9g.js → chunk-62gefpwn.js} +2 -2
  66. package/bundle/{chunk-2h8b0csf.js → chunk-674pexjx.js} +2 -2
  67. package/bundle/{chunk-4805mxf7.js → chunk-69htq8kq.js} +1 -1
  68. package/bundle/{chunk-2ts74cgq.js → chunk-69k7cdtv.js} +2 -2
  69. package/bundle/{chunk-vhh80d5j.js → chunk-6cztstry.js} +2 -2
  70. package/bundle/{chunk-78e76m4h.js → chunk-6d4xc6br.js} +1 -1
  71. package/bundle/{chunk-78yvbv9b.js → chunk-6dd2dx69.js} +2 -2
  72. package/bundle/{chunk-eftk07r3.js → chunk-6j53vtzd.js} +1 -1
  73. package/bundle/{chunk-yg0rs4g1.js → chunk-6kch0q2d.js} +2 -2
  74. package/bundle/{chunk-akrcbxfa.js → chunk-6pt6nqwk.js} +1 -1
  75. package/bundle/{chunk-rkmg0gbq.js → chunk-6wmtbebc.js} +1 -1
  76. package/bundle/{chunk-kr975sx0.js → chunk-6y0wgz2j.js} +1 -1
  77. package/bundle/{chunk-datctfgt.js → chunk-6yshpz0z.js} +2 -2
  78. package/bundle/{chunk-3hawwbw6.js → chunk-71jmhvef.js} +2 -2
  79. package/bundle/{chunk-1pd943m9.js → chunk-73a7ts8r.js} +1 -1
  80. package/bundle/{chunk-vf75j9wd.js → chunk-7a4sb6q7.js} +1 -1
  81. package/bundle/chunk-7cp30q0t.js +2 -0
  82. package/bundle/{chunk-611wfdn3.js → chunk-7s9msscb.js} +1 -1
  83. package/bundle/{chunk-r9ng8xx5.js → chunk-7w571q26.js} +1 -1
  84. package/bundle/chunk-7xc73qb1.js +2 -0
  85. package/bundle/{chunk-k5swnh8m.js → chunk-840mmmzz.js} +4 -4
  86. package/bundle/{chunk-jcn8bg31.js → chunk-86reb44c.js} +1 -1
  87. package/bundle/{chunk-48y4n9ne.js → chunk-86sfzgnf.js} +1 -1
  88. package/bundle/{chunk-bw0951fs.js → chunk-8a9sj8gp.js} +1 -1
  89. package/bundle/{chunk-wzfb19t6.js → chunk-8b9z8j3z.js} +1 -1
  90. package/bundle/{chunk-9d8meavf.js → chunk-8gkz5550.js} +1 -1
  91. package/bundle/chunk-8gz8fk6r.js +2 -0
  92. package/bundle/chunk-8ht7cq3h.js +2 -0
  93. package/bundle/{chunk-r6055kk0.js → chunk-8jkqyf9n.js} +2 -2
  94. package/bundle/{chunk-pfd8gzy4.js → chunk-8qpfphdz.js} +1 -1
  95. package/bundle/chunk-8qv0119d.js +2 -0
  96. package/bundle/{chunk-k558fr15.js → chunk-8zpsgfb6.js} +1 -1
  97. package/bundle/{chunk-tpw1ewqn.js → chunk-96sra8g8.js} +1 -1
  98. package/bundle/{chunk-wkepvmgt.js → chunk-99df6wvm.js} +1 -1
  99. package/bundle/{chunk-t3e19wdp.js → chunk-9amnqaeq.js} +1 -1
  100. package/bundle/{chunk-3tf7xfw5.js → chunk-9gxyt2ay.js} +2 -2
  101. package/bundle/{chunk-tz60e15h.js → chunk-9kc2th5c.js} +2 -2
  102. package/bundle/chunk-9m0eawt5.js +2 -0
  103. package/bundle/{chunk-ph46s66y.js → chunk-9mabvb06.js} +1 -1
  104. package/bundle/chunk-9thgxbze.js +2 -0
  105. package/bundle/{chunk-n230jbn9.js → chunk-9ttebtcf.js} +1 -1
  106. package/bundle/{chunk-ncvr75f6.js → chunk-9z7y4x7q.js} +1 -1
  107. package/bundle/{chunk-1p39y33b.js → chunk-9znfb8f2.js} +2 -2
  108. package/bundle/chunk-9zsp3qkh.js +2 -0
  109. package/bundle/{chunk-wpkr3vzf.js → chunk-a1mbach4.js} +1 -1
  110. package/bundle/chunk-a32y70fe.js +2 -0
  111. package/bundle/{chunk-32x2901e.js → chunk-a3g8de96.js} +1 -1
  112. package/bundle/{chunk-9gs4en9v.js → chunk-a8askx4y.js} +1 -1
  113. package/bundle/{chunk-y8bxvp3c.js → chunk-adws0hhk.js} +2 -2
  114. package/bundle/{chunk-22wa8zty.js → chunk-ae1g5y4r.js} +1 -1
  115. package/bundle/{chunk-ajgwyrcf.js → chunk-ahgb3r1c.js} +2 -2
  116. package/bundle/{chunk-6p848y99.js → chunk-art8gejd.js} +1 -1
  117. package/bundle/{chunk-q8qx38kz.js → chunk-avksqxan.js} +1 -1
  118. package/bundle/chunk-avzaqy6a.js +2 -0
  119. package/bundle/chunk-az12tp53.js +2 -0
  120. package/bundle/{chunk-yhr7s8qm.js → chunk-b350g18y.js} +2 -2
  121. package/bundle/chunk-b5dpzcc7.js +2 -0
  122. package/bundle/chunk-bcgtqx3g.js +2 -0
  123. package/bundle/{chunk-y565z8n2.js → chunk-bdcd2mcb.js} +2 -2
  124. package/bundle/chunk-bde5d507.js +2 -0
  125. package/bundle/{chunk-1rsabv4p.js → chunk-bemyyen3.js} +1 -1
  126. package/bundle/{chunk-xmt17jd4.js → chunk-bga4kqd1.js} +2 -2
  127. package/bundle/{chunk-46ewdxgh.js → chunk-bm8azfnt.js} +1 -1
  128. package/bundle/{chunk-92xxg12q.js → chunk-bmdqb48f.js} +1 -1
  129. package/bundle/{chunk-rxh160jr.js → chunk-bq6cvf16.js} +2 -2
  130. package/bundle/{chunk-cydpdkx7.js → chunk-bxnsrggq.js} +1 -1
  131. package/bundle/{chunk-n2ytaxyn.js → chunk-bzh71a92.js} +1 -1
  132. package/bundle/chunk-bzzggc3s.js +2 -0
  133. package/bundle/{chunk-hts68y73.js → chunk-c5cyt23k.js} +2 -2
  134. package/bundle/chunk-c8qx439t.js +2 -0
  135. package/bundle/{chunk-v5j3ypfv.js → chunk-ch7s512a.js} +1 -1
  136. package/bundle/{chunk-a2pd7nt5.js → chunk-chnr7pe5.js} +1 -1
  137. package/bundle/chunk-ckw51fn6.js +2 -0
  138. package/bundle/{chunk-7wshaze9.js → chunk-crqycrs4.js} +2 -2
  139. package/bundle/{chunk-qsgpbt4t.js → chunk-d10qre1b.js} +1 -1
  140. package/bundle/{chunk-8rc7cvex.js → chunk-d385e2qt.js} +1 -1
  141. package/bundle/{chunk-6xx66mr1.js → chunk-d4faz5xa.js} +1 -1
  142. package/bundle/{chunk-09n24ztn.js → chunk-d7h1dp0h.js} +1 -1
  143. package/bundle/chunk-denp0wrq.js +2 -0
  144. package/bundle/chunk-depxzjer.js +2 -0
  145. package/bundle/chunk-dhvqpcf3.js +2 -0
  146. package/bundle/chunk-dkqqswbv.js +2 -0
  147. package/bundle/{chunk-2vsqsxe1.js → chunk-dmb0ez0m.js} +3 -3
  148. package/bundle/chunk-dn0437c1.js +5 -0
  149. package/bundle/{chunk-xfsccqsm.js → chunk-dvp0r93q.js} +1 -1
  150. package/bundle/{chunk-43x9n8rp.js → chunk-e18hshcg.js} +1 -1
  151. package/bundle/chunk-e5t7jsxa.js +2 -0
  152. package/bundle/{chunk-vm8htc6d.js → chunk-e611m0p4.js} +1 -1
  153. package/bundle/{chunk-zj5snrsa.js → chunk-e8s4mp5n.js} +2 -2
  154. package/bundle/chunk-eb811dt2.js +2 -0
  155. package/bundle/{chunk-50knjq36.js → chunk-edvfqxfr.js} +1 -1
  156. package/bundle/{chunk-cg7zeppb.js → chunk-ej0yzstw.js} +2 -2
  157. package/bundle/{chunk-fsagyvkz.js → chunk-ep4drmt9.js} +1 -1
  158. package/bundle/{chunk-bzz2expb.js → chunk-eqsank84.js} +1 -1
  159. package/bundle/{chunk-czfjmrrq.js → chunk-et3tgx7t.js} +1 -1
  160. package/bundle/{chunk-vamwvx0x.js → chunk-f0dp1tf9.js} +1 -1
  161. package/bundle/chunk-fbz2xv2w.js +2 -0
  162. package/bundle/{chunk-88hmeyf5.js → chunk-fd04358e.js} +375 -305
  163. package/bundle/{chunk-c5n49vrd.js → chunk-fdmz0502.js} +2 -2
  164. package/bundle/{chunk-mnxcykeq.js → chunk-ffx0cr44.js} +2 -2
  165. package/bundle/{chunk-t076hwsv.js → chunk-ffyj5nsg.js} +2 -2
  166. package/bundle/{chunk-fqvrxy41.js → chunk-ffz334ab.js} +1 -1
  167. package/bundle/{chunk-dzw0j790.js → chunk-fkq0v5qv.js} +2 -2
  168. package/bundle/{chunk-mp5m0acf.js → chunk-fmcg649e.js} +1 -1
  169. package/bundle/{chunk-84qx54nf.js → chunk-fp2xgnjn.js} +2 -2
  170. package/bundle/{chunk-k4ajben7.js → chunk-fpzkyzny.js} +2 -2
  171. package/bundle/{chunk-bqqxvagz.js → chunk-g738e799.js} +2 -2
  172. package/bundle/{chunk-g83d3a0t.js → chunk-g77kddrs.js} +2 -2
  173. package/bundle/chunk-gbvcb4k1.js +2 -0
  174. package/bundle/{chunk-d39e4fa8.js → chunk-gd0j16gn.js} +1 -1
  175. package/bundle/chunk-gdtnqzbp.js +2 -0
  176. package/bundle/{chunk-j5dnzqjy.js → chunk-gfvq78gy.js} +1 -1
  177. package/bundle/{chunk-hntsg7q4.js → chunk-gkf7x1yj.js} +1 -1
  178. package/bundle/chunk-gkfvhh28.js +2 -0
  179. package/bundle/chunk-gnh8c49b.js +2 -0
  180. package/bundle/chunk-gvf6ek9f.js +2 -0
  181. package/bundle/chunk-gvx5hmhk.js +2 -0
  182. package/bundle/{chunk-s3zmxfz2.js → chunk-h036zy9e.js} +2 -2
  183. package/bundle/{chunk-0tya4pqb.js → chunk-hf39qx6t.js} +2 -2
  184. package/bundle/chunk-hham7r33.js +2 -0
  185. package/bundle/{chunk-wpx2vmf5.js → chunk-hrcqbadm.js} +1 -1
  186. package/bundle/chunk-hsjbe5zy.js +2 -0
  187. package/bundle/{chunk-jh2za7y4.js → chunk-hx13a8es.js} +3 -3
  188. package/bundle/{chunk-42gd2vx4.js → chunk-j15wejz0.js} +1 -1
  189. package/bundle/{chunk-vyf77kq1.js → chunk-j1bv93m4.js} +12 -10
  190. package/bundle/{chunk-y7cqyeve.js → chunk-j2snkw45.js} +2 -2
  191. package/bundle/{chunk-krk24aqm.js → chunk-j3agzs13.js} +2 -2
  192. package/bundle/{chunk-51vn4f06.js → chunk-j45p2v4a.js} +3 -3
  193. package/bundle/{chunk-7jvx29js.js → chunk-j46bxb1b.js} +1 -1
  194. package/bundle/{chunk-e9vh8d52.js → chunk-jvvctqjd.js} +2 -2
  195. package/bundle/chunk-jvx7jtm4.js +3 -0
  196. package/bundle/{chunk-ex47pb9n.js → chunk-jwv6fda1.js} +2 -2
  197. package/bundle/{chunk-5mgmq6yz.js → chunk-k0chq88p.js} +1 -1
  198. package/bundle/chunk-k6gdmqff.js +2 -0
  199. package/bundle/{chunk-8t17w67q.js → chunk-k769v1ds.js} +1 -1
  200. package/bundle/{chunk-zqzh5hp3.js → chunk-kdqhwa65.js} +1 -1
  201. package/bundle/{chunk-k56zj08h.js → chunk-ky3fhz9z.js} +1 -1
  202. package/bundle/chunk-kzkb4648.js +2 -0
  203. package/bundle/chunk-m2540waa.js +2 -0
  204. package/bundle/{chunk-49we3vy1.js → chunk-m6967jtv.js} +2 -2
  205. package/bundle/{chunk-71h3pmnn.js → chunk-m8kjtp60.js} +1 -1
  206. package/bundle/{chunk-q65qzc9w.js → chunk-mbmaeq0a.js} +1 -1
  207. package/bundle/{chunk-sjtq9bbb.js → chunk-meehnnv9.js} +2 -2
  208. package/bundle/{chunk-vnz9n9z0.js → chunk-mjkwd1sz.js} +1 -1
  209. package/bundle/chunk-mscvm1rm.js +2 -0
  210. package/bundle/chunk-mw3hh526.js +2 -0
  211. package/bundle/chunk-n3nsrk5n.js +2 -0
  212. package/bundle/{chunk-n9969djm.js → chunk-n6pn4f3r.js} +1 -1
  213. package/bundle/{chunk-w32xhz0x.js → chunk-n7zd97hy.js} +2 -2
  214. package/bundle/chunk-n9nmc4q4.js +2 -0
  215. package/bundle/{chunk-d1j8frtq.js → chunk-nb4xtk1n.js} +1 -1
  216. package/bundle/{chunk-pkm3w0ks.js → chunk-ngygp66y.js} +1 -1
  217. package/bundle/chunk-nj4as8vy.js +2 -0
  218. package/bundle/chunk-nrzca9yd.js +2 -0
  219. package/bundle/chunk-nxm6gpyv.js +2 -0
  220. package/bundle/{chunk-pcmsxhrb.js → chunk-nyxn7npc.js} +1 -1
  221. package/bundle/{chunk-k232ny9m.js → chunk-nzz7gzg2.js} +1 -1
  222. package/bundle/{chunk-csmdhh7r.js → chunk-p0852vfn.js} +2 -2
  223. package/bundle/{chunk-nwkp2f8e.js → chunk-p4xqfkbh.js} +1 -1
  224. package/bundle/{chunk-4ngvj758.js → chunk-pdcxmr6x.js} +1 -1
  225. package/bundle/{chunk-bxc3z38f.js → chunk-pp10epga.js} +2 -2
  226. package/bundle/{chunk-gz8k40ty.js → chunk-prz2fkn9.js} +1 -1
  227. package/bundle/{chunk-h6kmpgak.js → chunk-psmwrvqs.js} +2 -2
  228. package/bundle/{chunk-4d9s7cgr.js → chunk-pwq2f75j.js} +1 -1
  229. package/bundle/{chunk-hama2v6a.js → chunk-pwrwb7mn.js} +1 -1
  230. package/bundle/{chunk-1yh1f9yj.js → chunk-px69995t.js} +1 -1
  231. package/bundle/{chunk-1tdy73ha.js → chunk-q1dmxn63.js} +2 -2
  232. package/bundle/chunk-qbjqkezn.js +2 -0
  233. package/bundle/chunk-qhtp1xvx.js +2 -0
  234. package/bundle/chunk-qkztgpay.js +2 -0
  235. package/bundle/{chunk-aykvrqrp.js → chunk-qn1fhqyw.js} +2 -2
  236. package/bundle/{chunk-44685nzw.js → chunk-qpggztkq.js} +2 -2
  237. package/bundle/{chunk-sxtfssjv.js → chunk-qpk7jp6t.js} +1 -1
  238. package/bundle/{chunk-nvvja3ch.js → chunk-qqsj69m2.js} +1 -1
  239. package/bundle/{chunk-4c6d1wy1.js → chunk-qrztx1b4.js} +2 -2
  240. package/bundle/{chunk-e7a50j2w.js → chunk-qz20b42s.js} +1 -1
  241. package/bundle/{chunk-jt7g0r2j.js → chunk-rd08wx37.js} +2 -2
  242. package/bundle/{chunk-cm7yp259.js → chunk-rn3je2hv.js} +1 -1
  243. package/bundle/chunk-rnf3dy0y.js +2 -0
  244. package/bundle/{chunk-3amgvg81.js → chunk-rqap90xh.js} +2 -2
  245. package/bundle/chunk-rry4kq85.js +2 -0
  246. package/bundle/{chunk-rx29zmw2.js → chunk-rws2tsdv.js} +1 -1
  247. package/bundle/{chunk-bd66q24j.js → chunk-rx9eh3db.js} +3 -3
  248. package/bundle/{chunk-g7jwp73v.js → chunk-rxt6gktt.js} +1 -1
  249. package/bundle/chunk-ryfj80q6.js +2 -0
  250. package/bundle/{chunk-gfer8ch3.js → chunk-s0gmxpxm.js} +2 -2
  251. package/bundle/{chunk-vrt8wd3r.js → chunk-s9epttpy.js} +1 -1
  252. package/bundle/{chunk-95tec4gm.js → chunk-sb3cgb4v.js} +1 -1
  253. package/bundle/{chunk-7x4g7h04.js → chunk-set1f1wr.js} +1 -1
  254. package/bundle/{chunk-xphzr4wg.js → chunk-sg9enzsp.js} +2 -2
  255. package/bundle/{chunk-9svh74gt.js → chunk-sh03ka27.js} +1 -1
  256. package/bundle/chunk-snx49w8h.js +2 -0
  257. package/bundle/{chunk-zjfdptdj.js → chunk-spcdwmy4.js} +1 -1
  258. package/bundle/{chunk-a4cmpa56.js → chunk-sy76e7nr.js} +1 -1
  259. package/bundle/{chunk-bffm0wv9.js → chunk-szfqmkj6.js} +1 -1
  260. package/bundle/chunk-t21mdqbb.js +2 -0
  261. package/bundle/{chunk-n5dxwryh.js → chunk-tcyzj3rz.js} +1 -1
  262. package/bundle/chunk-tn2yyqeb.js +2 -0
  263. package/bundle/chunk-ttebf3nt.js +2 -0
  264. package/bundle/chunk-twpfh0mx.js +2 -0
  265. package/bundle/{chunk-fnmq42y5.js → chunk-tz1bzrnh.js} +1 -1
  266. package/bundle/chunk-tzf6d5qy.js +2 -0
  267. package/bundle/{chunk-8y03p2md.js → chunk-v1axkp21.js} +2 -2
  268. package/bundle/chunk-v2mq09wx.js +2 -0
  269. package/bundle/chunk-v59a02aj.js +2 -0
  270. package/bundle/{chunk-8rbbt1s8.js → chunk-v5me0cj9.js} +1 -1
  271. package/bundle/{chunk-49brdmgp.js → chunk-v7v0krrj.js} +1 -1
  272. package/bundle/{chunk-96nmxprr.js → chunk-veptx3fk.js} +1 -1
  273. package/bundle/chunk-vnstr4g1.js +2 -0
  274. package/bundle/{chunk-kxdw2vtq.js → chunk-vr13f6b5.js} +2 -2
  275. package/bundle/chunk-vxr4rzt0.js +2 -0
  276. package/bundle/{chunk-m8phqgxp.js → chunk-vzkdzhn0.js} +1 -1
  277. package/bundle/chunk-w0h9rczg.js +2 -0
  278. package/bundle/{chunk-qtdxy2q1.js → chunk-w136zswr.js} +3 -3
  279. package/bundle/chunk-w214dwws.js +2 -0
  280. package/bundle/{chunk-s6vhscvd.js → chunk-w4fr00s7.js} +2 -2
  281. package/bundle/chunk-w8344et5.js +2 -0
  282. package/bundle/{chunk-b274mb6v.js → chunk-w8nj5ph5.js} +1 -1
  283. package/bundle/chunk-weyg78et.js +2 -0
  284. package/bundle/{chunk-8z65v9c9.js → chunk-wf0n1cs9.js} +1 -1
  285. package/bundle/{chunk-cshsqavb.js → chunk-wfpnv00c.js} +2 -2
  286. package/bundle/{chunk-1h9sc0gy.js → chunk-wmj3xndt.js} +1 -1
  287. package/bundle/{chunk-e6ckxkj8.js → chunk-wrzn87w0.js} +1 -1
  288. package/bundle/{chunk-98z5pfvj.js → chunk-ws720v4j.js} +1 -1
  289. package/bundle/{chunk-63t0rhc9.js → chunk-x0de4z05.js} +2 -2
  290. package/bundle/{chunk-d6qs2pbx.js → chunk-x3dzzq0t.js} +1 -1
  291. package/bundle/{chunk-zskjqrmc.js → chunk-x4jnyj09.js} +1 -1
  292. package/bundle/chunk-xchj8gna.js +2 -0
  293. package/bundle/{chunk-s81ck6bw.js → chunk-xdcwx384.js} +1 -1
  294. package/bundle/{chunk-kt982884.js → chunk-xmf59618.js} +1 -1
  295. package/bundle/chunk-y18ptwk2.js +2 -0
  296. package/bundle/{chunk-ep92grvg.js → chunk-y1v7mf1a.js} +9 -9
  297. package/bundle/chunk-y3dpyz2d.js +2 -0
  298. package/bundle/{chunk-ccghr6pm.js → chunk-y5ydtbpd.js} +1 -1
  299. package/bundle/{chunk-tzwm08yc.js → chunk-yg9n2a2d.js} +1 -1
  300. package/bundle/chunk-ykvgmje9.js +35 -0
  301. package/bundle/chunk-yvjecrjy.js +2 -0
  302. package/bundle/chunk-yw2x6by6.js +2 -0
  303. package/bundle/{chunk-8qbhnwej.js → chunk-z0dj15g9.js} +1 -1
  304. package/bundle/chunk-z0r4syk8.js +2 -0
  305. package/bundle/{chunk-k4d8gwxe.js → chunk-z6qyx227.js} +1 -1
  306. package/bundle/chunk-z7c00g63.js +2 -0
  307. package/bundle/{chunk-pnmadk2h.js → chunk-zgwasq3p.js} +1 -1
  308. package/bundle/{chunk-mazakqr7.js → chunk-zh7e6kqs.js} +1 -1
  309. package/bundle/{chunk-4q14whpc.js → chunk-zjyaze0d.js} +1 -1
  310. package/bundle/chunk-znr0saas.js +2 -0
  311. package/bundle/{chunk-43eqr0ds.js → chunk-zpjtse0z.js} +184 -184
  312. package/bundle/chunk-zqqt7v17.js +2 -0
  313. package/bundle/chunk-zwrgh1hc.js +2 -0
  314. package/bundle/{chunk-8gn7r4kb.js → chunk-zx63mepv.js} +1 -1
  315. package/bundle/index.js +3 -3
  316. package/bundle/parser.worker.js +2 -2
  317. package/bundle/worker.js +1 -1
  318. package/package.json +3 -3
  319. package/bundle/chunk-06j0gaen.js +0 -2
  320. package/bundle/chunk-0bn86djg.js +0 -3
  321. package/bundle/chunk-0mm40z8g.js +0 -2
  322. package/bundle/chunk-1mqfhw0f.js +0 -2
  323. package/bundle/chunk-28kte9rt.js +0 -2
  324. package/bundle/chunk-2dhjehxe.js +0 -2
  325. package/bundle/chunk-2nnfxbd2.js +0 -2
  326. package/bundle/chunk-2w5zmgpb.js +0 -2
  327. package/bundle/chunk-34qt3fqj.js +0 -2
  328. package/bundle/chunk-3p0xvt47.js +0 -2
  329. package/bundle/chunk-3pzx5ret.js +0 -2
  330. package/bundle/chunk-3y4rmqmm.js +0 -2
  331. package/bundle/chunk-486874bd.js +0 -2
  332. package/bundle/chunk-4bcbvfsw.js +0 -2
  333. package/bundle/chunk-4t1ysdag.js +0 -2
  334. package/bundle/chunk-5q7a4h2w.js +0 -2
  335. package/bundle/chunk-63vamhf7.js +0 -2
  336. package/bundle/chunk-6hhv3n7c.js +0 -2
  337. package/bundle/chunk-7a9kfb2n.js +0 -2
  338. package/bundle/chunk-7b5vney6.js +0 -2
  339. package/bundle/chunk-7x9m1smk.js +0 -2
  340. package/bundle/chunk-82mnr6sf.js +0 -2
  341. package/bundle/chunk-8bea2r6p.js +0 -2
  342. package/bundle/chunk-8h6mhzhg.js +0 -2
  343. package/bundle/chunk-8n1cmvr7.js +0 -2
  344. package/bundle/chunk-955zj1y6.js +0 -2
  345. package/bundle/chunk-95vp9bvk.js +0 -2
  346. package/bundle/chunk-9wzxnwv7.js +0 -2
  347. package/bundle/chunk-9zve998d.js +0 -2
  348. package/bundle/chunk-a9bkr9x4.js +0 -2
  349. package/bundle/chunk-ac5vzpzt.js +0 -2
  350. package/bundle/chunk-c1exgasy.js +0 -2
  351. package/bundle/chunk-cgxzmkkf.js +0 -2
  352. package/bundle/chunk-cs3cbfm8.js +0 -2
  353. package/bundle/chunk-d29te4c1.js +0 -2
  354. package/bundle/chunk-d6q42p18.js +0 -2
  355. package/bundle/chunk-dfbexagg.js +0 -2
  356. package/bundle/chunk-dfkcp43a.js +0 -2
  357. package/bundle/chunk-dps1p1g1.js +0 -2
  358. package/bundle/chunk-e1fzgez5.js +0 -2
  359. package/bundle/chunk-egcvm4x2.js +0 -3
  360. package/bundle/chunk-ek3b08ed.js +0 -2
  361. package/bundle/chunk-f78yth0b.js +0 -2
  362. package/bundle/chunk-gamnnfna.js +0 -2
  363. package/bundle/chunk-gjxhz1a6.js +0 -2
  364. package/bundle/chunk-gpm39v12.js +0 -2
  365. package/bundle/chunk-gr8emzzx.js +0 -2
  366. package/bundle/chunk-gt6h68pk.js +0 -2
  367. package/bundle/chunk-hj588j4f.js +0 -2
  368. package/bundle/chunk-hqtex91e.js +0 -2
  369. package/bundle/chunk-jmgpr5th.js +0 -2
  370. package/bundle/chunk-jt79yt0t.js +0 -2
  371. package/bundle/chunk-jtz5re73.js +0 -2
  372. package/bundle/chunk-k4bj677f.js +0 -3
  373. package/bundle/chunk-kw5z5awx.js +0 -2
  374. package/bundle/chunk-mp42gb6q.js +0 -2
  375. package/bundle/chunk-mq0733qh.js +0 -2
  376. package/bundle/chunk-mrcsatmn.js +0 -2
  377. package/bundle/chunk-n24yx79r.js +0 -5
  378. package/bundle/chunk-ng2g9kkk.js +0 -2
  379. package/bundle/chunk-ngfhfyjs.js +0 -2
  380. package/bundle/chunk-nwygsfhk.js +0 -35
  381. package/bundle/chunk-p0dnmrqp.js +0 -2
  382. package/bundle/chunk-p6h2ydcp.js +0 -2
  383. package/bundle/chunk-qhakedgs.js +0 -2
  384. package/bundle/chunk-r18zetwf.js +0 -2
  385. package/bundle/chunk-r6rgrz25.js +0 -2
  386. package/bundle/chunk-rk4vp09j.js +0 -2
  387. package/bundle/chunk-s4jp4zce.js +0 -2
  388. package/bundle/chunk-sec9y622.js +0 -2
  389. package/bundle/chunk-sn7q178t.js +0 -2
  390. package/bundle/chunk-st0h54dm.js +0 -2
  391. package/bundle/chunk-sz75fx13.js +0 -2
  392. package/bundle/chunk-tefh2cgk.js +0 -2
  393. package/bundle/chunk-tfez99qv.js +0 -2
  394. package/bundle/chunk-tjk1hymv.js +0 -2
  395. package/bundle/chunk-v1098rqc.js +0 -2
  396. package/bundle/chunk-v30ezr68.js +0 -11
  397. package/bundle/chunk-v5wn741w.js +0 -2
  398. package/bundle/chunk-vp6ttkct.js +0 -2
  399. package/bundle/chunk-vpcsmwsb.js +0 -2
  400. package/bundle/chunk-x23s1s8k.js +0 -2
  401. package/bundle/chunk-xr6js4ek.js +0 -2
  402. package/bundle/chunk-y078gb3n.js +0 -2
  403. package/bundle/chunk-yewjnqee.js +0 -2
  404. package/bundle/chunk-ykk9e9as.js +0 -2
  405. package/bundle/chunk-yqn88gjf.js +0 -2
  406. package/bundle/chunk-yrxg3dex.js +0 -2
  407. package/bundle/chunk-z1xeqrgd.js +0 -2
  408. package/bundle/chunk-z5j46dem.js +0 -2
  409. package/bundle/chunk-zq0hpja9.js +0 -2
  410. package/bundle/chunk-zv89qwjc.js +0 -2
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-9svh74gt.js";var pr=Object.defineProperty,hr=(e)=>{throw TypeError(e)},cn=(e,t,r)=>(t in e)?pr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dr=(e,t)=>{for(var r in t)pr(e,r,{get:t[r],enumerable:!0})},kt=(e,t,r)=>cn(e,typeof t!="symbol"?t+"":t,r),mr=(e,t,r)=>t.has(e)||hr("Cannot "+r),F=(e,t,r)=>(mr(e,t,"read from private field"),r?r.call(e):t.get(e)),gr=(e,t,r)=>t.has(e)?hr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),pn=(e,t,r,n)=>(mr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),fr={};dr(fr,{languages:()=>ns,options:()=>is,parsers:()=>tn,printers:()=>mu});var hn=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},L=hn,vr="string",Cr="array",yr="cursor",rt="indent",nt="align",Sr="trim",at="group",it="fill",st="if-break",ut="indent-if-break",br="line-suffix",_r="line-suffix-boundary",Z="line",wr="label",ot="break-parent",Ar=new Set([yr,rt,nt,Sr,at,it,st,ut,br,_r,Z,wr,ot]),dn=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},de=dn;function mn(e){if(typeof e=="string")return vr;if(Array.isArray(e))return Cr;if(!e)return;let{type:t}=e;if(Ar.has(t))return t}var kr=mn,gn=(e)=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function fn(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
2
+ import"./chunk-sh03ka27.js";var pr=Object.defineProperty,hr=(e)=>{throw TypeError(e)},cn=(e,t,r)=>(t in e)?pr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dr=(e,t)=>{for(var r in t)pr(e,r,{get:t[r],enumerable:!0})},kt=(e,t,r)=>cn(e,typeof t!="symbol"?t+"":t,r),mr=(e,t,r)=>t.has(e)||hr("Cannot "+r),F=(e,t,r)=>(mr(e,t,"read from private field"),r?r.call(e):t.get(e)),gr=(e,t,r)=>t.has(e)?hr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),pn=(e,t,r,n)=>(mr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),fr={};dr(fr,{languages:()=>ns,options:()=>is,parsers:()=>tn,printers:()=>mu});var hn=(e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},L=hn,vr="string",Cr="array",yr="cursor",rt="indent",nt="align",Sr="trim",at="group",it="fill",st="if-break",ut="indent-if-break",br="line-suffix",_r="line-suffix-boundary",Z="line",wr="label",ot="break-parent",Ar=new Set([yr,rt,nt,Sr,at,it,st,ut,br,_r,Z,wr,ot]),dn=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},de=dn;function mn(e){if(typeof e=="string")return vr;if(Array.isArray(e))return Cr;if(!e)return;let{type:t}=e;if(Ar.has(t))return t}var kr=mn,gn=(e)=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function fn(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
3
3
  Expected it to be 'string' or 'object'.`;if(kr(e))throw Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=gn([...Ar].map((a)=>`'${a}'`));return`Unexpected doc.type '${e.type}'.
4
4
  Expected it to be ${n}.`}var vn=class extends Error{name="InvalidDocError";constructor(e){super(fn(e)),this.doc=e}},Cn=vn;function Er(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let s=a(i);return r.set(i,s),s}function a(i){switch(kr(i)){case Cr:return t(i.map(n));case it:return t({...i,parts:i.parts.map(n)});case st:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case at:{let{expandedStates:s,contents:u}=i;return s?(s=s.map(n),u=s[0]):u=n(u),t({...i,contents:u,expandedStates:s})}case nt:case rt:case ut:case wr:case br:return t({...i,contents:n(i.contents)});case vr:case yr:case Sr:case _r:case Z:case ot:return t(i);default:throw new Cn(i)}}}function P(e,t=kn){return Er(e,(r)=>typeof r=="string"?ee(t,r.split(`
5
5
  `)):r)}var lt=()=>{},$=lt,xr=lt,yn=lt;function H(e){return $(e),{type:rt,contents:e}}function Dr(e,t){return $(t),{type:nt,contents:t,n:e}}function k(e,t={}){return $(e),xr(t.expandedStates,!0),{type:at,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Sn(e){return Dr(Number.NEGATIVE_INFINITY,e)}function bn(e){return Dr({type:"root"},e)}function Tr(e){return yn(e),{type:it,parts:e}}function xe(e,t="",r={}){return $(e),t!==""&&$(t),{type:st,breakContents:e,flatContents:t,groupId:r.groupId}}function _n(e,t){return $(e),{type:ut,contents:e,groupId:t.groupId,negate:t.negate}}var me={type:ot},wn={type:Z,hard:!0},An={type:Z,hard:!0,literal:!0},_={type:Z},D={type:Z,soft:!0},y=[wn,me],kn=[An,me];function ee(e,t){$(e),xr(t);let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}var Se="'",Et='"';function En(e,t){let r=t===!0||t===Se?Se:Et,n=r===Se?Et:Se,a=0,i=0;for(let s of e)s===r?a++:s===n&&i++;return a>i?n:r}var xn=En;function Dn(e){if(typeof e!="string")throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var N,Tn=class{constructor(e){gr(this,N),pn(this,N,new Set(e))}getLeadingWhitespaceCount(e){let t=F(this,N),r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=F(this,N),r=0;for(let n=e.length-1;n>=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return F(this,N).has(e.charAt(0))}hasTrailingWhitespace(e){return F(this,N).has(de(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Dn([...F(this,N)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=F(this,N);return Array.prototype.some.call(e,(r)=>t.has(r))}hasNonWhitespaceCharacter(e){let t=F(this,N);return Array.prototype.some.call(e,(r)=>!t.has(r))}isWhitespaceOnly(e){let t=F(this,N);return Array.prototype.every.call(e,(r)=>t.has(r))}};N=new WeakMap;var Bn=Tn,Ln=["\t",`
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Be as a,Ce as b,De as c,Ee as d,Fe as e,Ge as f,He as g}from"./chunk-set1f1wr.js";import"./chunk-w136zswr.js";import"./chunk-s0gmxpxm.js";import"./chunk-48rg4yhk.js";import"./chunk-sh03ka27.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,3 +1,3 @@
1
1
  // @bun
2
- import{Af as q,Bf as i,Cf as y,Gf as n}from"./chunk-wqkvsj5y.js";import{RQ as o}from"./chunk-9svh74gt.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-rx29zmw2.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 Qe};
2
+ import{Cf as q,Df as i,Ef as y,If as n}from"./chunk-48rg4yhk.js";import{vP as o}from"./chunk-sh03ka27.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-rws2tsdv.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 Se};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$w as U,$x as Ua,$y as Tb,$z as Tc,AA as sd,Aw as t,Ax as ta,Ay as tb,Az as sc,BA as td,Bw as u,Bx as ua,By as ub,Bz as tc,CA as ud,Cw as v,Cx as va,Cy as vb,Cz as uc,DA as vd,Dw as w,Dx as wa,Dy as wb,Dz as vc,EA as wd,Ew as x,Ex as xa,Ey as xb,Ez as wc,FA as xd,Fw as y,Fx as ya,Fy as yb,Fz as xc,GA as yd,Gw as z,Gx as za,Gy as zb,Gz as yc,HA as zd,Hw as A,Hx as Aa,Hy as Ab,Hz as zc,IA as Ad,Iw as B,Ix as Ba,Iy as Bb,Iz as Ac,JA as Bd,Jw as C,Jx as Ca,Jy as Cb,Jz as Bc,KA as Cd,Kw as D,Kx as Da,Ky as Db,Kz as Cc,LA as Dd,Lw as E,Lx as Ea,Lz as Dc,MA as Ed,Mw as F,Mx as Fa,My as Eb,Mz as Ec,NA as Fd,Nw as G,Nx as Ga,Ny as Fb,Nz as Fc,OA as Gd,Ow as H,Ox as Ha,Oy as Gb,Oz as Gc,PA as Hd,Pw as I,Px as Ia,Py as Hb,Pz as Hc,QA as Id,Qw as J,Qx as Ja,Qy as Ib,Qz as Ic,RA as Jd,Rw as K,Rx as Ka,Ry as Jb,Rz as Jc,SA as Kd,Sw as L,Sx as La,Sy as Kb,Sz as Kc,TA as Ld,Tw as M,Tx as Ma,Ty as Lb,Tz as Lc,UA as Md,Uw as N,Ux as Na,Uy as Mb,Uz as Mc,VA as Nd,Vw as O,Vx as Oa,Vy as Nb,Vz as Nc,WA as Od,Ww as P,Wx as Pa,Wy as Ob,Wz as Oc,Xw as Q,Xx as Qa,Xy as Pb,Xz as Pc,Yw as R,Yx as Ra,Yy as Qb,Yz as Qc,Zw as S,Zx as Sa,Zy as Rb,Zz as Rc,_w as T,_x as Ta,_y as Sb,_z as Sc,aA as Uc,ax as V,ay as Va,az as Ub,bA as Vc,bx as W,by as Wa,bz as Vb,cA as Wc,cx as X,cy as Xa,cz as Wb,dA as Xc,dx as Y,dy as Ya,dz as Xb,eA as Yc,ex as Z,ey as Za,ez as Yb,fA as Zc,fx as _,fy as _a,fz as Zb,gA as _c,gw as a,gx as $,gy as $a,gz as _b,hA as $c,hw as b,hx as aa,hy as ab,hz as $b,iA as ad,iw as c,ix as ba,iy as bb,iz as ac,jA as bd,jw as d,jx as ca,jy as cb,jz as bc,kA as cd,kw as e,kx as da,ky as db,kz as cc,lA as dd,lw as f,lx as ea,ly as eb,lz as dc,mA as ed,mw as g,mx as fa,my as fb,mz as ec,nA as fd,nx as ga,ny as gb,nz as fc,oA as gd,ow as h,ox as ha,oy as hb,oz as gc,pA as hd,pw as i,px as ia,py as ib,pz as hc,qA as id,qw as j,qx as ja,qy as jb,qz as ic,rA as jd,rw as k,rx as ka,ry as kb,rz as jc,sA as kd,sw as l,sx as la,sy as lb,sz as kc,tA as ld,tw as m,tx as ma,ty as mb,tz as lc,uA as md,uw as n,ux as na,uy as nb,uz as mc,vA as nd,vw as o,vx as oa,vy as ob,vz as nc,wA as od,ww as p,wx as pa,wy as pb,wz as oc,xA as pd,xw as q,xx as qa,xy as qb,xz as pc,yA as qd,yw as r,yx as ra,yy as rb,yz as qc,zA as rd,zw as s,zx as sa,zy as sb,zz as rc}from"./chunk-hav9pgf3.js";import"./chunk-9svh74gt.js";export{ka as version,i as util,n as treeifyError,Nd as toJSONSchema,o as toDotPath,x as safeParseAsync,v as safeParse,L as safeEncodeAsync,H as safeEncode,N as safeDecodeAsync,J as safeDecode,Ib as registry,O as regexes,p as prettifyError,t as parseAsync,r as parse,Eb as locales,Ma as isValidJWT,Ja as isValidBase64URL,Ha as isValidBase64,Jb as globalRegistry,f as globalConfig,m as formatError,l as flattenError,D as encodeAsync,z as encode,F as decodeAsync,B as decode,g as config,h as clone,Yb as _xid,Ec as _void,Rb as _uuidv7,Qb as _uuidv6,Pb as _uuidv4,Ob as _uuid,Sb as _url,Zc as _uppercase,Cc as _unknown,jd as _union,zc as _undefined,Xb as _ulid,xc as _uint64,rc as _uint32,md as _tuple,fd as _trim,ud as _transform,hd as _toUpperCase,gd as _toLowerCase,Dd as _templateLiteral,yc as _symbol,Id as _superRefine,zd as _success,Kd as _stringbool,Ld as _stringFormat,Kb as _string,$c as _startsWith,Tc as _size,pd as _set,w as _safeParseAsync,u as _safeParse,K as _safeEncodeAsync,G as _safeEncode,M as _safeDecodeAsync,I as _safeDecode,Xc as _regex,Hd as _refine,nd as _record,Cd as _readonly,bd as _property,Fd as _promise,Mc as _positive,Bd as _pipe,s as _parseAsync,q as _parse,dd as _overwrite,vd as _optional,lc as _number,wd as _nullable,Ac as _null,ed as _normalize,Oc as _nonpositive,yd as _nonoptional,Pc as _nonnegative,Dc as _never,Nc as _negative,rd as _nativeEnum,Ub as _nanoid,Hc as _nan,Qc as _multipleOf,Sc as _minSize,Vc as _minLength,Lc as _min,cd as _mime,Rc as _maxSize,Uc as _maxLength,Jc as _max,od as _map,Jc as _lte,Ic as _lt,Yc as _lowercase,sd as _literal,Wc as _length,Ed as _lazy,Zb as _ksuid,fc as _jwt,jc as _isoTime,kc as _isoDuration,hc as _isoDateTime,ic as _isoDate,$b as _ipv6,_b as _ipv4,ld as _intersection,wc as _int64,qc as _int32,nc as _int,_c as _includes,Nb as _guid,Lc as _gte,Kc as _gt,pc as _float64,oc as _float32,td as _file,qd as _enum,ad as _endsWith,C as _encodeAsync,y as _encode,Tb as _emoji,Mb as _email,ec as _e164,kd as _discriminatedUnion,xd as _default,E as _decodeAsync,A as _decode,Fc as _date,Gd as _custom,Wb as _cuid2,Vb as _cuid,Lb as _coercedString,mc as _coercedNumber,Gc as _coercedDate,tc as _coercedBoolean,vc as _coercedBigint,bc as _cidrv6,ac as _cidrv4,Jd as _check,Ad as _catch,sc as _boolean,uc as _bigint,dc as _base64url,cc as _base64,id as _array,Bc as _any,gc as TimePrecision,a as NEVER,Md as JSONSchemaGenerator,Od as JSONSchema,ja as Doc,Fb as $output,Gb as $input,b as $constructor,c as $brand,xa as $ZodXID,_a as $ZodVoid,Ya as $ZodUnknown,db as $ZodUnion,Va as $ZodUndefined,pa as $ZodUUID,ra as $ZodURL,wa as $ZodULID,la as $ZodType,gb as $ZodTuple,nb as $ZodTransform,zb as $ZodTemplateLiteral,Ua as $ZodSymbol,tb as $ZodSuccess,na as $ZodStringFormat,ma as $ZodString,jb as $ZodSet,Hb as $ZodRegistry,hb as $ZodRecord,k as $ZodRealError,yb as $ZodReadonly,Bb as $ZodPromise,rb as $ZodPrefault,wb as $ZodPipe,ob as $ZodOptional,cb as $ZodObjectJIT,bb as $ZodObject,Qa as $ZodNumberFormat,Pa as $ZodNumber,pb as $ZodNullable,Wa as $ZodNull,sb as $ZodNonOptional,Za as $ZodNever,ta as $ZodNanoID,vb as $ZodNaN,ib as $ZodMap,lb as $ZodLiteral,Cb as $ZodLazy,ya as $ZodKSUID,Na as $ZodJWT,fb as $ZodIntersection,Ba as $ZodISOTime,Ca as $ZodISODuration,za as $ZodISODateTime,Aa as $ZodISODate,Ea as $ZodIPv6,Da as $ZodIPv4,oa as $ZodGUID,Ab as $ZodFunction,mb as $ZodFile,j as $ZodError,kb as $ZodEnum,e as $ZodEncodeError,sa as $ZodEmoji,qa as $ZodEmail,La as $ZodE164,eb as $ZodDiscriminatedUnion,qb as $ZodDefault,$a as $ZodDate,Oa as $ZodCustomStringFormat,Db as $ZodCustom,xb as $ZodCodec,ca as $ZodCheckUpperCase,$ as $ZodCheckStringFormat,ea as $ZodCheckStartsWith,X as $ZodCheckSizeEquals,aa as $ZodCheckRegex,ga as $ZodCheckProperty,ia as $ZodCheckOverwrite,T as $ZodCheckNumberFormat,S as $ZodCheckMultipleOf,W as $ZodCheckMinSize,Z as $ZodCheckMinLength,ha as $ZodCheckMimeType,V as $ZodCheckMaxSize,Y as $ZodCheckMaxLength,ba as $ZodCheckLowerCase,Q as $ZodCheckLessThan,_ as $ZodCheckLengthEquals,da as $ZodCheckIncludes,R as $ZodCheckGreaterThan,fa as $ZodCheckEndsWith,U as $ZodCheckBigIntFormat,P as $ZodCheck,ub as $ZodCatch,va as $ZodCUID2,ua as $ZodCUID,Ga as $ZodCIDRv6,Fa as $ZodCIDRv4,Ra as $ZodBoolean,Ta as $ZodBigIntFormat,Sa as $ZodBigInt,Ka as $ZodBase64URL,Ia as $ZodBase64,d as $ZodAsyncError,ab as $ZodArray,Xa as $ZodAny};
2
+ import{$u as o,$v as oa,$w as ob,$x as nc,$y as nd,Av as P,Aw as Pa,Ax as Ob,Ay as Oc,Az as Od,Bv as Q,Bw as Qa,Bx as Pb,By as Pc,Cv as R,Cw as Ra,Cx as Qb,Cy as Qc,Dv as S,Dw as Sa,Dx as Rb,Dy as Rc,Ev as T,Ew as Ta,Ex as Sb,Ey as Sc,Fv as U,Fw as Ua,Fx as Tb,Fy as Tc,Gv as V,Gw as Va,Gx as Ub,Gy as Uc,Hv as W,Hw as Wa,Hx as Vb,Hy as Vc,Iv as X,Iw as Xa,Ix as Wb,Iy as Wc,Jv as Y,Jw as Ya,Jx as Xb,Jy as Xc,Kv as Z,Kw as Za,Kx as Yb,Ky as Yc,Lv as _,Lw as _a,Lx as Zb,Ly as Zc,Mu as a,Mv as $,Mw as $a,Mx as _b,My as _c,Nu as b,Nv as aa,Nw as ab,Nx as $b,Ny as $c,Ou as c,Ov as ba,Ow as bb,Ox as ac,Oy as ad,Pu as d,Pv as ca,Pw as cb,Px as bc,Py as bd,Qu as e,Qv as da,Qw as db,Qx as cc,Qy as cd,Ru as f,Rv as ea,Rw as eb,Rx as dc,Ry as dd,Su as g,Sv as fa,Sw as fb,Sx as ec,Sy as ed,Tv as ga,Tw as gb,Tx as fc,Ty as fd,Uu as h,Uv as ha,Uw as hb,Ux as gc,Uy as gd,Vu as i,Vv as ia,Vw as ib,Vx as hc,Vy as hd,Wu as j,Wv as ja,Ww as jb,Wx as ic,Wy as id,Xu as k,Xv as ka,Xw as kb,Xx as jc,Xy as jd,Yu as l,Yv as la,Yw as lb,Yx as kc,Yy as kd,Zu as m,Zv as ma,Zw as mb,Zx as lc,Zy as ld,_u as n,_v as na,_w as nb,_x as mc,_y as md,av as p,aw as pa,ax as pb,ay as oc,az as od,bv as q,bw as qa,bx as qb,by as pc,bz as pd,cv as r,cw as ra,cx as rb,cy as qc,cz as qd,dv as s,dw as sa,dx as sb,dy as rc,dz as rd,ev as t,ew as ta,ex as tb,ey as sc,ez as sd,fv as u,fw as ua,fx as ub,fy as tc,fz as td,gv as v,gw as va,gx as vb,gy as uc,gz as ud,hv as w,hw as wa,hx as wb,hy as vc,hz as vd,iv as x,iw as xa,ix as xb,iy as wc,iz as wd,jv as y,jw as ya,jx as yb,jy as xc,jz as xd,kv as z,kw as za,kx as zb,ky as yc,kz as yd,lv as A,lw as Aa,lx as Ab,ly as zc,lz as zd,mv as B,mw as Ba,mx as Bb,my as Ac,mz as Ad,nv as C,nw as Ca,nx as Cb,ny as Bc,nz as Bd,ov as D,ow as Da,ox as Db,oy as Cc,oz as Cd,pv as E,pw as Ea,py as Dc,pz as Dd,qv as F,qw as Fa,qx as Eb,qy as Ec,qz as Ed,rv as G,rw as Ga,rx as Fb,ry as Fc,rz as Fd,sv as H,sw as Ha,sx as Gb,sy as Gc,sz as Gd,tv as I,tw as Ia,tx as Hb,ty as Hc,tz as Hd,uv as J,uw as Ja,ux as Ib,uy as Ic,uz as Id,vv as K,vw as Ka,vx as Jb,vy as Jc,vz as Jd,wv as L,ww as La,wx as Kb,wy as Kc,wz as Kd,xv as M,xw as Ma,xx as Lb,xy as Lc,xz as Ld,yv as N,yw as Na,yx as Mb,yy as Mc,yz as Md,zv as O,zw as Oa,zx as Nb,zy as Nc,zz as Nd}from"./chunk-5q98z8ck.js";import"./chunk-sh03ka27.js";export{ka as version,i as util,n as treeifyError,Nd as toJSONSchema,o as toDotPath,x as safeParseAsync,v as safeParse,L as safeEncodeAsync,H as safeEncode,N as safeDecodeAsync,J as safeDecode,Ib as registry,O as regexes,p as prettifyError,t as parseAsync,r as parse,Eb as locales,Ma as isValidJWT,Ja as isValidBase64URL,Ha as isValidBase64,Jb as globalRegistry,f as globalConfig,m as formatError,l as flattenError,D as encodeAsync,z as encode,F as decodeAsync,B as decode,g as config,h as clone,Yb as _xid,Ec as _void,Rb as _uuidv7,Qb as _uuidv6,Pb as _uuidv4,Ob as _uuid,Sb as _url,Zc as _uppercase,Cc as _unknown,jd as _union,zc as _undefined,Xb as _ulid,xc as _uint64,rc as _uint32,md as _tuple,fd as _trim,ud as _transform,hd as _toUpperCase,gd as _toLowerCase,Dd as _templateLiteral,yc as _symbol,Id as _superRefine,zd as _success,Kd as _stringbool,Ld as _stringFormat,Kb as _string,$c as _startsWith,Tc as _size,pd as _set,w as _safeParseAsync,u as _safeParse,K as _safeEncodeAsync,G as _safeEncode,M as _safeDecodeAsync,I as _safeDecode,Xc as _regex,Hd as _refine,nd as _record,Cd as _readonly,bd as _property,Fd as _promise,Mc as _positive,Bd as _pipe,s as _parseAsync,q as _parse,dd as _overwrite,vd as _optional,lc as _number,wd as _nullable,Ac as _null,ed as _normalize,Oc as _nonpositive,yd as _nonoptional,Pc as _nonnegative,Dc as _never,Nc as _negative,rd as _nativeEnum,Ub as _nanoid,Hc as _nan,Qc as _multipleOf,Sc as _minSize,Vc as _minLength,Lc as _min,cd as _mime,Rc as _maxSize,Uc as _maxLength,Jc as _max,od as _map,Jc as _lte,Ic as _lt,Yc as _lowercase,sd as _literal,Wc as _length,Ed as _lazy,Zb as _ksuid,fc as _jwt,jc as _isoTime,kc as _isoDuration,hc as _isoDateTime,ic as _isoDate,$b as _ipv6,_b as _ipv4,ld as _intersection,wc as _int64,qc as _int32,nc as _int,_c as _includes,Nb as _guid,Lc as _gte,Kc as _gt,pc as _float64,oc as _float32,td as _file,qd as _enum,ad as _endsWith,C as _encodeAsync,y as _encode,Tb as _emoji,Mb as _email,ec as _e164,kd as _discriminatedUnion,xd as _default,E as _decodeAsync,A as _decode,Fc as _date,Gd as _custom,Wb as _cuid2,Vb as _cuid,Lb as _coercedString,mc as _coercedNumber,Gc as _coercedDate,tc as _coercedBoolean,vc as _coercedBigint,bc as _cidrv6,ac as _cidrv4,Jd as _check,Ad as _catch,sc as _boolean,uc as _bigint,dc as _base64url,cc as _base64,id as _array,Bc as _any,gc as TimePrecision,a as NEVER,Md as JSONSchemaGenerator,Od as JSONSchema,ja as Doc,Fb as $output,Gb as $input,b as $constructor,c as $brand,xa as $ZodXID,_a as $ZodVoid,Ya as $ZodUnknown,db as $ZodUnion,Va as $ZodUndefined,pa as $ZodUUID,ra as $ZodURL,wa as $ZodULID,la as $ZodType,gb as $ZodTuple,nb as $ZodTransform,zb as $ZodTemplateLiteral,Ua as $ZodSymbol,tb as $ZodSuccess,na as $ZodStringFormat,ma as $ZodString,jb as $ZodSet,Hb as $ZodRegistry,hb as $ZodRecord,k as $ZodRealError,yb as $ZodReadonly,Bb as $ZodPromise,rb as $ZodPrefault,wb as $ZodPipe,ob as $ZodOptional,cb as $ZodObjectJIT,bb as $ZodObject,Qa as $ZodNumberFormat,Pa as $ZodNumber,pb as $ZodNullable,Wa as $ZodNull,sb as $ZodNonOptional,Za as $ZodNever,ta as $ZodNanoID,vb as $ZodNaN,ib as $ZodMap,lb as $ZodLiteral,Cb as $ZodLazy,ya as $ZodKSUID,Na as $ZodJWT,fb as $ZodIntersection,Ba as $ZodISOTime,Ca as $ZodISODuration,za as $ZodISODateTime,Aa as $ZodISODate,Ea as $ZodIPv6,Da as $ZodIPv4,oa as $ZodGUID,Ab as $ZodFunction,mb as $ZodFile,j as $ZodError,kb as $ZodEnum,e as $ZodEncodeError,sa as $ZodEmoji,qa as $ZodEmail,La as $ZodE164,eb as $ZodDiscriminatedUnion,qb as $ZodDefault,$a as $ZodDate,Oa as $ZodCustomStringFormat,Db as $ZodCustom,xb as $ZodCodec,ca as $ZodCheckUpperCase,$ as $ZodCheckStringFormat,ea as $ZodCheckStartsWith,X as $ZodCheckSizeEquals,aa as $ZodCheckRegex,ga as $ZodCheckProperty,ia as $ZodCheckOverwrite,T as $ZodCheckNumberFormat,S as $ZodCheckMultipleOf,W as $ZodCheckMinSize,Z as $ZodCheckMinLength,ha as $ZodCheckMimeType,V as $ZodCheckMaxSize,Y as $ZodCheckMaxLength,ba as $ZodCheckLowerCase,Q as $ZodCheckLessThan,_ as $ZodCheckLengthEquals,da as $ZodCheckIncludes,R as $ZodCheckGreaterThan,fa as $ZodCheckEndsWith,U as $ZodCheckBigIntFormat,P as $ZodCheck,ub as $ZodCatch,va as $ZodCUID2,ua as $ZodCUID,Ga as $ZodCIDRv6,Fa as $ZodCIDRv4,Ra as $ZodBoolean,Ta as $ZodBigIntFormat,Sa as $ZodBigInt,Ka as $ZodBase64URL,Ia as $ZodBase64,d as $ZodAsyncError,ab as $ZodArray,Xa as $ZodAny};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-9svh74gt.js";var e={"ui.sessionReview.title":"Altera\xE7\xF5es da sess\xE3o","ui.sessionReview.title.lastTurn":"Altera\xE7\xF5es do \xFAltimo turno","ui.sessionReview.diffStyle.unified":"Unificado","ui.sessionReview.diffStyle.split":"Dividido","ui.sessionReview.openFile":"Abrir arquivo","ui.sessionReview.selection.line":"linha {{line}}","ui.sessionReview.selection.lines":"linhas {{start}}-{{end}}","ui.sessionReview.expandAll":"Expandir tudo","ui.sessionReview.collapseAll":"Recolher tudo","ui.sessionReview.change.added":"Adicionado","ui.sessionReview.change.removed":"Removido","ui.sessionReview.change.modified":"Modificado","ui.sessionReview.image.loading":"Carregando...","ui.sessionReview.image.placeholder":"Imagem","ui.sessionReview.largeDiff.title":"Diff grande demais para renderizar","ui.sessionReview.largeDiff.meta":"Limite: {{limit}} linhas alteradas. Atual: {{current}} linhas alteradas.","ui.sessionReview.largeDiff.renderAnyway":"Renderizar mesmo assim","ui.fileMedia.kind.image":"imagem","ui.fileMedia.kind.audio":"\xE1udio","ui.fileMedia.state.removed":"Removido: {{kind}}","ui.fileMedia.state.loading":"Carregando {{kind}}...","ui.fileMedia.state.error":"Erro ao carregar {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} indispon\xEDvel","ui.fileMedia.binary.title":"Arquivo bin\xE1rio","ui.fileMedia.binary.description.path":"N\xE3o \xE9 poss\xEDvel exibir {{path}} porque \xE9 um arquivo bin\xE1rio.","ui.fileMedia.binary.description.default":"N\xE3o \xE9 poss\xEDvel exibir o arquivo porque ele \xE9 bin\xE1rio.","ui.lineComment.label.prefix":"Comentar em ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Comentando em ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Adicionar coment\xE1rio","ui.lineComment.submit":"Comentar","ui.sessionTurn.steps.show":"Mostrar passos","ui.sessionTurn.steps.hide":"Ocultar passos","ui.sessionTurn.summary.response":"Resposta","ui.sessionTurn.diff.showMore":"Mostrar mais altera\xE7\xF5es ({{count}})","ui.sessionTurn.retry.retrying":"tentando novamente","ui.sessionTurn.retry.inSeconds":"em {{seconds}}s","ui.sessionTurn.retry.attempt":"tentativa #{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - tentativa #{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini est\xE1 muito sobrecarregado agora","ui.sessionTurn.error.freeUsageExceeded":"Limite de uso gratuito excedido","ui.sessionTurn.error.addQredits":"Adicionar cr\xE9ditos","ui.sessionTurn.status.delegating":"Delegando trabalho","ui.sessionTurn.status.planning":"Planejando pr\xF3ximos passos","ui.sessionTurn.status.gatheringContext":"Explorando","ui.sessionTurn.status.gatheredContext":"Explorado","ui.sessionTurn.status.searchingCodebase":"Pesquisando no c\xF3digo","ui.sessionTurn.status.searchingWeb":"Pesquisando na web","ui.sessionTurn.status.makingEdits":"Fazendo edi\xE7\xF5es","ui.sessionTurn.status.runningCommands":"Executando comandos","ui.sessionTurn.status.thinking":"Pensando","ui.sessionTurn.status.thinkingWithTopic":"Pensando - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"Organizando pensamentos","ui.sessionTurn.status.consideringNextSteps":"Considerando pr\xF3ximos passos","ui.messagePart.questions.dismissed":"Perguntas descartadas","ui.messagePart.compaction":"Sess\xE3o compactada","ui.messagePart.context.read.one":"{{count}} leitura","ui.messagePart.context.read.other":"{{count}} leituras","ui.messagePart.context.search.one":"{{count}} pesquisa","ui.messagePart.context.search.other":"{{count}} pesquisas","ui.messagePart.context.list.one":"{{count}} lista","ui.messagePart.context.list.other":"{{count}} listas","ui.messagePart.diagnostic.error":"Erro","ui.messagePart.title.edit":"Editar","ui.messagePart.title.write":"Escrever","ui.messagePart.option.typeOwnAnswer":"Digite sua pr\xF3pria resposta","ui.messagePart.review.title":"Revise suas respostas","ui.list.loading":"Carregando","ui.list.empty":"Nenhum resultado","ui.list.clearFilter":"Limpar filtro","ui.list.emptyWithFilter.prefix":"Nenhum resultado para","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Nova mensagem","ui.textField.copyToClipboard":"Copiar para \xE1rea de transfer\xEAncia","ui.textField.copyLink":"Copiar link","ui.textField.copied":"Copiado","ui.imagePreview.alt":"Visualiza\xE7\xE3o de imagem","ui.scrollView.ariaLabel":"conte\xFAdo rol\xE1vel","ui.tool.read":"Ler","ui.tool.loaded":"Carregado","ui.tool.list":"Listar","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Buscar Web","ui.tool.websearch":"Pesquisa na Web","ui.tool.codesearch":"Pesquisa de C\xF3digo","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"Tarefas","ui.tool.todos.read":"Ler tarefas","ui.tool.questions":"Perguntas","ui.tool.agent":"Agente {{type}}","ui.tool.agent.default":"Agente","ui.common.file.one":"arquivo","ui.common.file.other":"arquivos","ui.common.question.one":"pergunta","ui.common.question.other":"perguntas","ui.common.add":"Adicionar","ui.common.back":"Voltar","ui.common.cancel":"Cancelar","ui.common.confirm":"Confirmar","ui.common.dismiss":"Descartar","ui.common.close":"Fechar","ui.common.next":"Pr\xF3ximo","ui.common.submit":"Enviar","ui.permission.deny":"Negar","ui.permission.allowAlways":"Permitir sempre","ui.permission.allowOnce":"Permitir uma vez","ui.message.expand":"Expandir mensagem","ui.message.collapse":"Recolher mensagem","ui.message.copy":"Copiar","ui.message.copyMessage":"Copiar mensagem","ui.message.forkMessage":"Bifurcar para nova sess\xE3o","ui.message.revertMessage":"Redefinir para este ponto","ui.message.copyResponse":"Copiar resposta","ui.message.copied":"Copiado!","ui.message.interrupted":"Interrompido","ui.message.queued":"Na fila","ui.message.attachment.alt":"anexo","ui.patch.action.deleted":"Exclu\xEDdo","ui.patch.action.created":"Criado","ui.patch.action.moved":"Movido","ui.patch.action.patched":"Patch aplicado","ui.question.subtitle.answered":"{{count}} respondidas","ui.question.answer.none":"(sem resposta)","ui.question.review.notAnswered":"(n\xE3o respondida)","ui.question.multiHint":"Selecione todas que se aplicam","ui.question.singleHint":"Selecione uma resposta","ui.question.custom.placeholder":"Digite sua resposta...","ui.fileSearch.placeholder":"Localizar","ui.fileSearch.previousMatch":"Ocorr\xEAncia anterior","ui.fileSearch.nextMatch":"Pr\xF3xima ocorr\xEAncia","ui.fileSearch.close":"Fechar busca","ui.tool.task":"Tarefa","ui.tool.skill":"Habilidade","ui.basicTool.called":"Chamou `{{tool}}`","ui.toolErrorCard.failed":"Falhou","ui.toolErrorCard.copyError":"Copiar erro","ui.message.duration.seconds":"{{count}}s","ui.message.duration.minutesSeconds":"{{minutes}}m {{seconds}}s"};export{e as dict};
2
+ import"./chunk-sh03ka27.js";var e={"ui.sessionReview.title":"Altera\xE7\xF5es da sess\xE3o","ui.sessionReview.title.lastTurn":"Altera\xE7\xF5es do \xFAltimo turno","ui.sessionReview.diffStyle.unified":"Unificado","ui.sessionReview.diffStyle.split":"Dividido","ui.sessionReview.openFile":"Abrir arquivo","ui.sessionReview.selection.line":"linha {{line}}","ui.sessionReview.selection.lines":"linhas {{start}}-{{end}}","ui.sessionReview.expandAll":"Expandir tudo","ui.sessionReview.collapseAll":"Recolher tudo","ui.sessionReview.change.added":"Adicionado","ui.sessionReview.change.removed":"Removido","ui.sessionReview.change.modified":"Modificado","ui.sessionReview.image.loading":"Carregando...","ui.sessionReview.image.placeholder":"Imagem","ui.sessionReview.largeDiff.title":"Diff grande demais para renderizar","ui.sessionReview.largeDiff.meta":"Limite: {{limit}} linhas alteradas. Atual: {{current}} linhas alteradas.","ui.sessionReview.largeDiff.renderAnyway":"Renderizar mesmo assim","ui.fileMedia.kind.image":"imagem","ui.fileMedia.kind.audio":"\xE1udio","ui.fileMedia.state.removed":"Removido: {{kind}}","ui.fileMedia.state.loading":"Carregando {{kind}}...","ui.fileMedia.state.error":"Erro ao carregar {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} indispon\xEDvel","ui.fileMedia.binary.title":"Arquivo bin\xE1rio","ui.fileMedia.binary.description.path":"N\xE3o \xE9 poss\xEDvel exibir {{path}} porque \xE9 um arquivo bin\xE1rio.","ui.fileMedia.binary.description.default":"N\xE3o \xE9 poss\xEDvel exibir o arquivo porque ele \xE9 bin\xE1rio.","ui.lineComment.label.prefix":"Comentar em ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Comentando em ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Adicionar coment\xE1rio","ui.lineComment.submit":"Comentar","ui.sessionTurn.steps.show":"Mostrar passos","ui.sessionTurn.steps.hide":"Ocultar passos","ui.sessionTurn.summary.response":"Resposta","ui.sessionTurn.diff.showMore":"Mostrar mais altera\xE7\xF5es ({{count}})","ui.sessionTurn.retry.retrying":"tentando novamente","ui.sessionTurn.retry.inSeconds":"em {{seconds}}s","ui.sessionTurn.retry.attempt":"tentativa #{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - tentativa #{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini est\xE1 muito sobrecarregado agora","ui.sessionTurn.error.freeUsageExceeded":"Limite de uso gratuito excedido","ui.sessionTurn.error.addQredits":"Adicionar cr\xE9ditos","ui.sessionTurn.status.delegating":"Delegando trabalho","ui.sessionTurn.status.planning":"Planejando pr\xF3ximos passos","ui.sessionTurn.status.gatheringContext":"Explorando","ui.sessionTurn.status.gatheredContext":"Explorado","ui.sessionTurn.status.searchingCodebase":"Pesquisando no c\xF3digo","ui.sessionTurn.status.searchingWeb":"Pesquisando na web","ui.sessionTurn.status.makingEdits":"Fazendo edi\xE7\xF5es","ui.sessionTurn.status.runningCommands":"Executando comandos","ui.sessionTurn.status.thinking":"Pensando","ui.sessionTurn.status.thinkingWithTopic":"Pensando - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"Organizando pensamentos","ui.sessionTurn.status.consideringNextSteps":"Considerando pr\xF3ximos passos","ui.messagePart.questions.dismissed":"Perguntas descartadas","ui.messagePart.compaction":"Sess\xE3o compactada","ui.messagePart.context.read.one":"{{count}} leitura","ui.messagePart.context.read.other":"{{count}} leituras","ui.messagePart.context.search.one":"{{count}} pesquisa","ui.messagePart.context.search.other":"{{count}} pesquisas","ui.messagePart.context.list.one":"{{count}} lista","ui.messagePart.context.list.other":"{{count}} listas","ui.messagePart.diagnostic.error":"Erro","ui.messagePart.title.edit":"Editar","ui.messagePart.title.write":"Escrever","ui.messagePart.option.typeOwnAnswer":"Digite sua pr\xF3pria resposta","ui.messagePart.review.title":"Revise suas respostas","ui.list.loading":"Carregando","ui.list.empty":"Nenhum resultado","ui.list.clearFilter":"Limpar filtro","ui.list.emptyWithFilter.prefix":"Nenhum resultado para","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Nova mensagem","ui.textField.copyToClipboard":"Copiar para \xE1rea de transfer\xEAncia","ui.textField.copyLink":"Copiar link","ui.textField.copied":"Copiado","ui.imagePreview.alt":"Visualiza\xE7\xE3o de imagem","ui.scrollView.ariaLabel":"conte\xFAdo rol\xE1vel","ui.tool.read":"Ler","ui.tool.loaded":"Carregado","ui.tool.list":"Listar","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Buscar Web","ui.tool.websearch":"Pesquisa na Web","ui.tool.codesearch":"Pesquisa de C\xF3digo","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"Tarefas","ui.tool.todos.read":"Ler tarefas","ui.tool.questions":"Perguntas","ui.tool.agent":"Agente {{type}}","ui.tool.agent.default":"Agente","ui.common.file.one":"arquivo","ui.common.file.other":"arquivos","ui.common.question.one":"pergunta","ui.common.question.other":"perguntas","ui.common.add":"Adicionar","ui.common.back":"Voltar","ui.common.cancel":"Cancelar","ui.common.confirm":"Confirmar","ui.common.dismiss":"Descartar","ui.common.close":"Fechar","ui.common.next":"Pr\xF3ximo","ui.common.submit":"Enviar","ui.permission.deny":"Negar","ui.permission.allowAlways":"Permitir sempre","ui.permission.allowOnce":"Permitir uma vez","ui.message.expand":"Expandir mensagem","ui.message.collapse":"Recolher mensagem","ui.message.copy":"Copiar","ui.message.copyMessage":"Copiar mensagem","ui.message.forkMessage":"Bifurcar para nova sess\xE3o","ui.message.revertMessage":"Redefinir para este ponto","ui.message.copyResponse":"Copiar resposta","ui.message.copied":"Copiado!","ui.message.interrupted":"Interrompido","ui.message.queued":"Na fila","ui.message.attachment.alt":"anexo","ui.patch.action.deleted":"Exclu\xEDdo","ui.patch.action.created":"Criado","ui.patch.action.moved":"Movido","ui.patch.action.patched":"Patch aplicado","ui.question.subtitle.answered":"{{count}} respondidas","ui.question.answer.none":"(sem resposta)","ui.question.review.notAnswered":"(n\xE3o respondida)","ui.question.multiHint":"Selecione todas que se aplicam","ui.question.singleHint":"Selecione uma resposta","ui.question.custom.placeholder":"Digite sua resposta...","ui.fileSearch.placeholder":"Localizar","ui.fileSearch.previousMatch":"Ocorr\xEAncia anterior","ui.fileSearch.nextMatch":"Pr\xF3xima ocorr\xEAncia","ui.fileSearch.close":"Fechar busca","ui.tool.task":"Tarefa","ui.tool.skill":"Habilidade","ui.basicTool.called":"Chamou `{{tool}}`","ui.toolErrorCard.failed":"Falhou","ui.toolErrorCard.copyError":"Copiar erro","ui.message.duration.seconds":"{{count}}s","ui.message.duration.minutesSeconds":"{{minutes}}m {{seconds}}s"};export{e as dict};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Pe as C}from"./chunk-qtdxy2q1.js";import{Ef as A}from"./chunk-wqkvsj5y.js";import{QQ as _}from"./chunk-9svh74gt.js";var S=_(C(),1),p=_(A(),1),N="AWS_ACCESS_KEY_ID",a="AWS_SECRET_ACCESS_KEY",i="AWS_SESSION_TOKEN",I="AWS_CREDENTIAL_EXPIRATION",d="AWS_CREDENTIAL_SCOPE",v="AWS_ACCOUNT_ID",T=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let o=process.env[N],r=process.env[a],n=process.env[i],s=process.env[I],t=process.env[d],E=process.env[v];if(o&&r){let c={accessKeyId:o,secretAccessKey:r,...n&&{sessionToken:n},...s&&{expiration:new Date(s)},...t&&{credentialScope:t},...E&&{accountId:E}};return S.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new p.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};export{N as ze,a as Ae,i as Be,I as Ce,d as De,v as Ee,T as Fe};
2
+ import{Re as C}from"./chunk-w136zswr.js";import{Gf as A}from"./chunk-48rg4yhk.js";import{uP as _}from"./chunk-sh03ka27.js";var S=_(C(),1),p=_(A(),1),N="AWS_ACCESS_KEY_ID",a="AWS_SECRET_ACCESS_KEY",i="AWS_SESSION_TOKEN",I="AWS_CREDENTIAL_EXPIRATION",d="AWS_CREDENTIAL_SCOPE",v="AWS_ACCOUNT_ID",T=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let o=process.env[N],r=process.env[a],n=process.env[i],s=process.env[I],t=process.env[d],E=process.env[v];if(o&&r){let c={accessKeyId:o,secretAccessKey:r,...n&&{sessionToken:n},...s&&{expiration:new Date(s)},...t&&{credentialScope:t},...E&&{accountId:E}};return S.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new p.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};export{N as Be,a as Ce,i as De,I as Ee,d as Fe,v as Ge,T as He};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{$x as U$,$y as uA,$z as Z,Ax as M$,Ay as qc,Az as Sc,BA as yc,Bw as vx,Bx as w$,By as Hc,Bz as jW,Cx as z$,Cy as Qc,Cz as Cc,Dw as gx,Dx as K$,Dy as Yc,Dz as hW,Ex as B$,Ey as Oc,Ez as Vc,Fw as yx,Fx as P$,Fy as Jc,Fz as Rc,Gx as ix,Gy as Xc,Gz as Ic,Hw as Zx,Hx as tx,Hy as Gc,Hz as kc,Ix as sx,Iy as Mc,Iz as bc,Jw as ox,Jx as A$,Jy as wc,Jz as Fc,Kx as L$,Ky as zc,Kz as jc,Lw as ux,Lx as E$,Ly as ZW,Lz as hc,Mx as D$,My as oW,Mz as Uc,Nw as lx,Nx as N$,Ny as uW,Nz as Tc,OA as Zc,Oy as lW,Oz as UW,PA as oc,Pw as fx,Px as S$,Pz as vc,QA as uc,Qy as fW,Qz as z,Rw as mx,Rx as C$,Ry as P,Rz as G,SA as lc,Sx as V$,Sy as Kc,Sz as K,TA as F,Tw as rx,Ty as bW,Tz as X,Ux as R$,Uy as vA,Uz as px,VA as rW,Vw as L,Vx as I$,Vy as cA,Vz as ex,Ww as H$,Wx as k$,Wy as gA,Wz as dx,XA as w,Xx as b$,Xy as yA,Xz as ax,Yx as F$,Yy as ZA,Yz as D,Zx as j$,Zy as oA,Zz as V,_x as h$,_y as QA,_z as N,aA as R,ay as T$,az as lA,bA as B,by as v$,bz as fA,cA as I,cy as g$,cz as mA,dA as o,dy as y$,dz as rA,eA as u,ey as Z$,ez as pA,fA as l,fy as o$,fz as eA,gA as f,gw as TW,gy as u$,gz as dA,hA as m,hw as W,hy as l$,hz as aA,iA as r,iw as vW,iz as nA,jA as nx,jy as f$,jz as iA,kA as p,kw as q$,ky as m$,kz as tA,lA as e,ly as r$,lz as sA,mA as d,mw as E,my as p$,mz as Ax,nA as a,nw as MA,ny as e$,nz as xx,oA as n,ow as b,oy as d$,oz as mW,pA as i,pw as q,py as a$,pz as x$,qA as gc,qw as jx,qy as n$,qz as $$,ry as i$,rz as c$,sw as g,sx as UA,sy as t$,sz as W$,tw as y,tx as TA,ty as s$,tz as Bc,uw as gW,ux as Q$,uy as Ac,uz as FW,vx as Y$,vy as xc,vz as Pc,ww as yW,wx as O$,wy as $c,wz as Lc,xw as Ux,xx as J$,xy as cc,xz as Ec,yx as X$,yy as Wc,yz as Dc,zw as Tx,zx as G$,zy as _c,zz as Nc}from"./chunk-hav9pgf3.js";import{SQ as RA}from"./chunk-9svh74gt.js";var hx=(A,x)=>{jx.init(A,x),A.name="ZodError",Object.defineProperties(A,{format:{value:($)=>y(A,$)},flatten:{value:($)=>g(A,$)},addIssue:{value:($)=>{A.issues.push($),A.message=JSON.stringify(A.issues,MA,2)}},addIssues:{value:($)=>{A.issues.push(...$),A.message=JSON.stringify(A.issues,MA,2)}},isEmpty:{get(){return A.issues.length===0}}})},pW=W("ZodError",hx),O=W("ZodError",hx,{Parent:Error});var wA=Ux(O),zA=Tx(O),KA=vx(O),BA=gx(O),PA=yx(O),LA=Zx(O),EA=ox(O),DA=ux(O),NA=lx(O),SA=fx(O),CA=mx(O),VA=rx(O);var Xq={};RA(Xq,{xid:()=>Q_,void:()=>j_,uuidv7:()=>A_,uuidv6:()=>sW,uuidv4:()=>tW,uuid:()=>iW,util:()=>q,url:()=>x_,uppercase:()=>l,unknown:()=>S,union:()=>Dx,undefined:()=>b_,ulid:()=>H_,uint64:()=>I_,uint32:()=>C_,tuple:()=>WW,trim:()=>a,treeifyError:()=>gW,transform:()=>Cx,toUpperCase:()=>i,toLowerCase:()=>n,toJSONSchema:()=>rW,templateLiteral:()=>a_,symbol:()=>k_,superRefine:()=>kW,success:()=>p_,stringbool:()=>xq,stringFormat:()=>B_,string:()=>jA,strictObject:()=>v_,startsWith:()=>m,size:()=>Z,setErrorMap:()=>_q,set:()=>u_,safeParseAsync:()=>BA,safeParse:()=>KA,safeEncodeAsync:()=>CA,safeEncode:()=>NA,safeDecodeAsync:()=>VA,safeDecode:()=>SA,registry:()=>fW,regexes:()=>L,regex:()=>o,refine:()=>IW,record:()=>_W,readonly:()=>DW,property:()=>nx,promise:()=>n_,prettifyError:()=>yW,preprocess:()=>cq,prefault:()=>wW,positive:()=>px,pipe:()=>HA,partialRecord:()=>Z_,parseAsync:()=>zA,parse:()=>wA,overwrite:()=>e,optional:()=>_A,object:()=>T_,number:()=>fc,nullish:()=>r_,nullable:()=>qA,null:()=>dc,normalize:()=>d,nonpositive:()=>dx,nonoptional:()=>zW,nonnegative:()=>ax,never:()=>Lx,negative:()=>ex,nativeEnum:()=>l_,nanoid:()=>W_,nan:()=>e_,multipleOf:()=>D,minSize:()=>N,minLength:()=>B,mime:()=>p,maxSize:()=>V,maxLength:()=>R,map:()=>o_,lte:()=>G,lt:()=>z,lowercase:()=>u,looseObject:()=>g_,locales:()=>oW,literal:()=>f_,length:()=>I,lazy:()=>CW,ksuid:()=>Y_,keyof:()=>U_,jwt:()=>K_,json:()=>$q,iso:()=>$A,ipv6:()=>J_,ipv4:()=>O_,intersection:()=>$W,int64:()=>R_,int32:()=>S_,int:()=>hA,instanceof:()=>Aq,includes:()=>f,httpUrl:()=>$_,hostname:()=>P_,hex:()=>L_,hash:()=>E_,guid:()=>nW,gte:()=>X,gt:()=>K,globalRegistry:()=>P,getErrorMap:()=>qq,function:()=>i_,formatError:()=>y,float64:()=>N_,float32:()=>D_,flattenError:()=>g,file:()=>m_,enum:()=>Sx,endsWith:()=>r,encodeAsync:()=>EA,encode:()=>PA,emoji:()=>c_,email:()=>aW,e164:()=>z_,discriminatedUnion:()=>y_,decodeAsync:()=>DA,decode:()=>LA,date:()=>h_,custom:()=>s_,cuid2:()=>q_,cuid:()=>__,core:()=>w,config:()=>E,coerce:()=>Fx,codec:()=>d_,clone:()=>b,cidrv6:()=>G_,cidrv4:()=>X_,check:()=>t_,catch:()=>PW,boolean:()=>mc,bigint:()=>V_,base64url:()=>w_,base64:()=>M_,array:()=>JA,any:()=>F_,_function:()=>i_,_default:()=>GW,_ZodString:()=>$x,ZodXID:()=>Yx,ZodVoid:()=>tc,ZodUnknown:()=>nc,ZodUnion:()=>Ex,ZodUndefined:()=>pc,ZodUUID:()=>M,ZodURL:()=>YA,ZodULID:()=>Qx,ZodType:()=>H,ZodTuple:()=>cW,ZodTransform:()=>OW,ZodTemplateLiteral:()=>NW,ZodSymbol:()=>rc,ZodSuccess:()=>KW,ZodStringFormat:()=>Q,ZodString:()=>j,ZodSet:()=>HW,ZodRecord:()=>Nx,ZodRealError:()=>O,ZodReadonly:()=>EW,ZodPromise:()=>VW,ZodPrefault:()=>MW,ZodPipe:()=>Ix,ZodOptional:()=>Vx,ZodObject:()=>XA,ZodNumberFormat:()=>C,ZodNumber:()=>U,ZodNullable:()=>JW,ZodNull:()=>ec,ZodNonOptional:()=>Rx,ZodNever:()=>ic,ZodNanoID:()=>_x,ZodNaN:()=>LW,ZodMap:()=>qW,ZodLiteral:()=>QW,ZodLazy:()=>SW,ZodKSUID:()=>Ox,ZodJWT:()=>Bx,ZodIssueCode:()=>Wq,ZodIntersection:()=>xW,ZodISOTime:()=>AA,ZodISODuration:()=>xA,ZodISODateTime:()=>t,ZodISODate:()=>s,ZodIPv6:()=>Xx,ZodIPv4:()=>Jx,ZodGUID:()=>WA,ZodFunction:()=>RW,ZodFirstPartyTypeKind:()=>bx,ZodFile:()=>YW,ZodError:()=>pW,ZodEnum:()=>k,ZodEmoji:()=>Wx,ZodEmail:()=>cx,ZodE164:()=>Kx,ZodDiscriminatedUnion:()=>AW,ZodDefault:()=>XW,ZodDate:()=>OA,ZodCustomStringFormat:()=>h,ZodCustom:()=>GA,ZodCodec:()=>kx,ZodCatch:()=>BW,ZodCUID2:()=>Hx,ZodCUID:()=>qx,ZodCIDRv6:()=>Mx,ZodCIDRv4:()=>Gx,ZodBoolean:()=>T,ZodBigIntFormat:()=>Px,ZodBigInt:()=>v,ZodBase64URL:()=>zx,ZodBase64:()=>wx,ZodArray:()=>sc,ZodAny:()=>ac,TimePrecision:()=>mW,NEVER:()=>TW,$output:()=>uW,$input:()=>lW,$brand:()=>vW});var $A={};RA($A,{time:()=>bA,duration:()=>FA,datetime:()=>IA,date:()=>kA,ZodISOTime:()=>AA,ZodISODuration:()=>xA,ZodISODateTime:()=>t,ZodISODate:()=>s});var t=W("ZodISODateTime",(A,x)=>{ix.init(A,x),Q.init(A,x)});function IA(A){return x$(t,A)}var s=W("ZodISODate",(A,x)=>{tx.init(A,x),Q.init(A,x)});function kA(A){return $$(s,A)}var AA=W("ZodISOTime",(A,x)=>{sx.init(A,x),Q.init(A,x)});function bA(A){return c$(AA,A)}var xA=W("ZodISODuration",(A,x)=>{A$.init(A,x),Q.init(A,x)});function FA(A){return W$(xA,A)}var H=W("ZodType",(A,x)=>{return UA.init(A,x),A.def=x,A.type=x.type,Object.defineProperty(A,"_def",{value:x}),A.check=(...$)=>{return A.clone({...x,checks:[...x.checks??[],...$.map((c)=>typeof c==="function"?{_zod:{check:c,def:{check:"custom"},onattach:[]}}:c)]})},A.clone=($,c)=>b(A,$,c),A.brand=()=>A,A.register=($,c)=>{return $.add(A,c),A},A.parse=($,c)=>wA(A,$,c,{callee:A.parse}),A.safeParse=($,c)=>KA(A,$,c),A.parseAsync=async($,c)=>zA(A,$,c,{callee:A.parseAsync}),A.safeParseAsync=async($,c)=>BA(A,$,c),A.spa=A.safeParseAsync,A.encode=($,c)=>PA(A,$,c),A.decode=($,c)=>LA(A,$,c),A.encodeAsync=async($,c)=>EA(A,$,c),A.decodeAsync=async($,c)=>DA(A,$,c),A.safeEncode=($,c)=>NA(A,$,c),A.safeDecode=($,c)=>SA(A,$,c),A.safeEncodeAsync=async($,c)=>CA(A,$,c),A.safeDecodeAsync=async($,c)=>VA(A,$,c),A.refine=($,c)=>A.check(IW($,c)),A.superRefine=($)=>A.check(kW($)),A.overwrite=($)=>A.check(e($)),A.optional=()=>_A(A),A.nullable=()=>qA(A),A.nullish=()=>_A(qA(A)),A.nonoptional=($)=>zW(A,$),A.array=()=>JA(A),A.or=($)=>Dx([A,$]),A.and=($)=>$W(A,$),A.transform=($)=>HA(A,Cx($)),A.default=($)=>GW(A,$),A.prefault=($)=>wW(A,$),A.catch=($)=>PW(A,$),A.pipe=($)=>HA(A,$),A.readonly=()=>DW(A),A.describe=($)=>{let c=A.clone();return P.add(c,{description:$}),c},Object.defineProperty(A,"description",{get(){return P.get(A)?.description},configurable:!0}),A.meta=(...$)=>{if($.length===0)return P.get(A);let c=A.clone();return P.add(c,$[0]),c},A.isOptional=()=>A.safeParse(void 0).success,A.isNullable=()=>A.safeParse(null).success,A}),$x=W("_ZodString",(A,x)=>{TA.init(A,x),H.init(A,x);let $=A._zod.bag;A.format=$.format??null,A.minLength=$.minimum??null,A.maxLength=$.maximum??null,A.regex=(...c)=>A.check(o(...c)),A.includes=(...c)=>A.check(f(...c)),A.startsWith=(...c)=>A.check(m(...c)),A.endsWith=(...c)=>A.check(r(...c)),A.min=(...c)=>A.check(B(...c)),A.max=(...c)=>A.check(R(...c)),A.length=(...c)=>A.check(I(...c)),A.nonempty=(...c)=>A.check(B(1,...c)),A.lowercase=(c)=>A.check(u(c)),A.uppercase=(c)=>A.check(l(c)),A.trim=()=>A.check(a()),A.normalize=(...c)=>A.check(d(...c)),A.toLowerCase=()=>A.check(n()),A.toUpperCase=()=>A.check(i())}),j=W("ZodString",(A,x)=>{TA.init(A,x),$x.init(A,x),A.email=($)=>A.check(vA(cx,$)),A.url=($)=>A.check(QA(YA,$)),A.jwt=($)=>A.check(xx(Bx,$)),A.emoji=($)=>A.check(uA(Wx,$)),A.guid=($)=>A.check(cA(WA,$)),A.uuid=($)=>A.check(gA(M,$)),A.uuidv4=($)=>A.check(yA(M,$)),A.uuidv6=($)=>A.check(ZA(M,$)),A.uuidv7=($)=>A.check(oA(M,$)),A.nanoid=($)=>A.check(lA(_x,$)),A.guid=($)=>A.check(cA(WA,$)),A.cuid=($)=>A.check(fA(qx,$)),A.cuid2=($)=>A.check(mA(Hx,$)),A.ulid=($)=>A.check(rA(Qx,$)),A.base64=($)=>A.check(tA(wx,$)),A.base64url=($)=>A.check(sA(zx,$)),A.xid=($)=>A.check(pA(Yx,$)),A.ksuid=($)=>A.check(eA(Ox,$)),A.ipv4=($)=>A.check(dA(Jx,$)),A.ipv6=($)=>A.check(aA(Xx,$)),A.cidrv4=($)=>A.check(nA(Gx,$)),A.cidrv6=($)=>A.check(iA(Mx,$)),A.e164=($)=>A.check(Ax(Kx,$)),A.datetime=($)=>A.check(IA($)),A.date=($)=>A.check(kA($)),A.time=($)=>A.check(bA($)),A.duration=($)=>A.check(FA($))});function jA(A){return Kc(j,A)}var Q=W("ZodStringFormat",(A,x)=>{Q$.init(A,x),$x.init(A,x)}),cx=W("ZodEmail",(A,x)=>{J$.init(A,x),Q.init(A,x)});function aW(A){return vA(cx,A)}var WA=W("ZodGUID",(A,x)=>{Y$.init(A,x),Q.init(A,x)});function nW(A){return cA(WA,A)}var M=W("ZodUUID",(A,x)=>{O$.init(A,x),Q.init(A,x)});function iW(A){return gA(M,A)}function tW(A){return yA(M,A)}function sW(A){return ZA(M,A)}function A_(A){return oA(M,A)}var YA=W("ZodURL",(A,x)=>{X$.init(A,x),Q.init(A,x)});function x_(A){return QA(YA,A)}function $_(A){return QA(YA,{protocol:/^https?$/,hostname:L.domain,...q.normalizeParams(A)})}var Wx=W("ZodEmoji",(A,x)=>{G$.init(A,x),Q.init(A,x)});function c_(A){return uA(Wx,A)}var _x=W("ZodNanoID",(A,x)=>{M$.init(A,x),Q.init(A,x)});function W_(A){return lA(_x,A)}var qx=W("ZodCUID",(A,x)=>{w$.init(A,x),Q.init(A,x)});function __(A){return fA(qx,A)}var Hx=W("ZodCUID2",(A,x)=>{z$.init(A,x),Q.init(A,x)});function q_(A){return mA(Hx,A)}var Qx=W("ZodULID",(A,x)=>{K$.init(A,x),Q.init(A,x)});function H_(A){return rA(Qx,A)}var Yx=W("ZodXID",(A,x)=>{B$.init(A,x),Q.init(A,x)});function Q_(A){return pA(Yx,A)}var Ox=W("ZodKSUID",(A,x)=>{P$.init(A,x),Q.init(A,x)});function Y_(A){return eA(Ox,A)}var Jx=W("ZodIPv4",(A,x)=>{L$.init(A,x),Q.init(A,x)});function O_(A){return dA(Jx,A)}var Xx=W("ZodIPv6",(A,x)=>{E$.init(A,x),Q.init(A,x)});function J_(A){return aA(Xx,A)}var Gx=W("ZodCIDRv4",(A,x)=>{D$.init(A,x),Q.init(A,x)});function X_(A){return nA(Gx,A)}var Mx=W("ZodCIDRv6",(A,x)=>{N$.init(A,x),Q.init(A,x)});function G_(A){return iA(Mx,A)}var wx=W("ZodBase64",(A,x)=>{S$.init(A,x),Q.init(A,x)});function M_(A){return tA(wx,A)}var zx=W("ZodBase64URL",(A,x)=>{C$.init(A,x),Q.init(A,x)});function w_(A){return sA(zx,A)}var Kx=W("ZodE164",(A,x)=>{V$.init(A,x),Q.init(A,x)});function z_(A){return Ax(Kx,A)}var Bx=W("ZodJWT",(A,x)=>{R$.init(A,x),Q.init(A,x)});function K_(A){return xx(Bx,A)}var h=W("ZodCustomStringFormat",(A,x)=>{I$.init(A,x),Q.init(A,x)});function B_(A,x,$={}){return F(h,A,x,$)}function P_(A){return F(h,"hostname",L.hostname,A)}function L_(A){return F(h,"hex",L.hex,A)}function E_(A,x){let $=x?.enc??"hex",c=`${A}_${$}`,_=L[c];if(!_)throw Error(`Unrecognized hash format: ${c}`);return F(h,c,_,x)}var U=W("ZodNumber",(A,x)=>{k$.init(A,x),H.init(A,x),A.gt=(c,_)=>A.check(K(c,_)),A.gte=(c,_)=>A.check(X(c,_)),A.min=(c,_)=>A.check(X(c,_)),A.lt=(c,_)=>A.check(z(c,_)),A.lte=(c,_)=>A.check(G(c,_)),A.max=(c,_)=>A.check(G(c,_)),A.int=(c)=>A.check(hA(c)),A.safe=(c)=>A.check(hA(c)),A.positive=(c)=>A.check(K(0,c)),A.nonnegative=(c)=>A.check(X(0,c)),A.negative=(c)=>A.check(z(0,c)),A.nonpositive=(c)=>A.check(G(0,c)),A.multipleOf=(c,_)=>A.check(D(c,_)),A.step=(c,_)=>A.check(D(c,_)),A.finite=()=>A;let $=A._zod.bag;A.minValue=Math.max($.minimum??Number.NEGATIVE_INFINITY,$.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,A.maxValue=Math.min($.maximum??Number.POSITIVE_INFINITY,$.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,A.isInt=($.format??"").includes("int")||Number.isSafeInteger($.multipleOf??0.5),A.isFinite=!0,A.format=$.format??null});function fc(A){return Bc(U,A)}var C=W("ZodNumberFormat",(A,x)=>{b$.init(A,x),U.init(A,x)});function hA(A){return Pc(C,A)}function D_(A){return Lc(C,A)}function N_(A){return Ec(C,A)}function S_(A){return Dc(C,A)}function C_(A){return Nc(C,A)}var T=W("ZodBoolean",(A,x)=>{F$.init(A,x),H.init(A,x)});function mc(A){return Sc(T,A)}var v=W("ZodBigInt",(A,x)=>{j$.init(A,x),H.init(A,x),A.gte=(c,_)=>A.check(X(c,_)),A.min=(c,_)=>A.check(X(c,_)),A.gt=(c,_)=>A.check(K(c,_)),A.gte=(c,_)=>A.check(X(c,_)),A.min=(c,_)=>A.check(X(c,_)),A.lt=(c,_)=>A.check(z(c,_)),A.lte=(c,_)=>A.check(G(c,_)),A.max=(c,_)=>A.check(G(c,_)),A.positive=(c)=>A.check(K(BigInt(0),c)),A.negative=(c)=>A.check(z(BigInt(0),c)),A.nonpositive=(c)=>A.check(G(BigInt(0),c)),A.nonnegative=(c)=>A.check(X(BigInt(0),c)),A.multipleOf=(c,_)=>A.check(D(c,_));let $=A._zod.bag;A.minValue=$.minimum??null,A.maxValue=$.maximum??null,A.format=$.format??null});function V_(A){return Cc(v,A)}var Px=W("ZodBigIntFormat",(A,x)=>{h$.init(A,x),v.init(A,x)});function R_(A){return Vc(Px,A)}function I_(A){return Rc(Px,A)}var rc=W("ZodSymbol",(A,x)=>{U$.init(A,x),H.init(A,x)});function k_(A){return Ic(rc,A)}var pc=W("ZodUndefined",(A,x)=>{T$.init(A,x),H.init(A,x)});function b_(A){return kc(pc,A)}var ec=W("ZodNull",(A,x)=>{v$.init(A,x),H.init(A,x)});function dc(A){return bc(ec,A)}var ac=W("ZodAny",(A,x)=>{g$.init(A,x),H.init(A,x)});function F_(){return Fc(ac)}var nc=W("ZodUnknown",(A,x)=>{y$.init(A,x),H.init(A,x)});function S(){return jc(nc)}var ic=W("ZodNever",(A,x)=>{Z$.init(A,x),H.init(A,x)});function Lx(A){return hc(ic,A)}var tc=W("ZodVoid",(A,x)=>{o$.init(A,x),H.init(A,x)});function j_(A){return Uc(tc,A)}var OA=W("ZodDate",(A,x)=>{u$.init(A,x),H.init(A,x),A.min=(c,_)=>A.check(X(c,_)),A.max=(c,_)=>A.check(G(c,_));let $=A._zod.bag;A.minDate=$.minimum?new Date($.minimum):null,A.maxDate=$.maximum?new Date($.maximum):null});function h_(A){return Tc(OA,A)}var sc=W("ZodArray",(A,x)=>{l$.init(A,x),H.init(A,x),A.element=x.element,A.min=($,c)=>A.check(B($,c)),A.nonempty=($)=>A.check(B(1,$)),A.max=($,c)=>A.check(R($,c)),A.length=($,c)=>A.check(I($,c)),A.unwrap=()=>A.element});function JA(A,x){return gc(sc,A,x)}function U_(A){let x=A._zod.def.shape;return Sx(Object.keys(x))}var XA=W("ZodObject",(A,x)=>{f$.init(A,x),H.init(A,x),q.defineLazy(A,"shape",()=>x.shape),A.keyof=()=>Sx(Object.keys(A._zod.def.shape)),A.catchall=($)=>A.clone({...A._zod.def,catchall:$}),A.passthrough=()=>A.clone({...A._zod.def,catchall:S()}),A.loose=()=>A.clone({...A._zod.def,catchall:S()}),A.strict=()=>A.clone({...A._zod.def,catchall:Lx()}),A.strip=()=>A.clone({...A._zod.def,catchall:void 0}),A.extend=($)=>{return q.extend(A,$)},A.safeExtend=($)=>{return q.safeExtend(A,$)},A.merge=($)=>q.merge(A,$),A.pick=($)=>q.pick(A,$),A.omit=($)=>q.omit(A,$),A.partial=(...$)=>q.partial(Vx,A,$[0]),A.required=(...$)=>q.required(Rx,A,$[0])});function T_(A,x){let $={type:"object",get shape(){return q.assignProp(this,"shape",A?q.objectClone(A):{}),this.shape},...q.normalizeParams(x)};return new XA($)}function v_(A,x){return new XA({type:"object",get shape(){return q.assignProp(this,"shape",q.objectClone(A)),this.shape},catchall:Lx(),...q.normalizeParams(x)})}function g_(A,x){return new XA({type:"object",get shape(){return q.assignProp(this,"shape",q.objectClone(A)),this.shape},catchall:S(),...q.normalizeParams(x)})}var Ex=W("ZodUnion",(A,x)=>{m$.init(A,x),H.init(A,x),A.options=x.options});function Dx(A,x){return new Ex({type:"union",options:A,...q.normalizeParams(x)})}var AW=W("ZodDiscriminatedUnion",(A,x)=>{Ex.init(A,x),r$.init(A,x)});function y_(A,x,$){return new AW({type:"union",options:x,discriminator:A,...q.normalizeParams($)})}var xW=W("ZodIntersection",(A,x)=>{p$.init(A,x),H.init(A,x)});function $W(A,x){return new xW({type:"intersection",left:A,right:x})}var cW=W("ZodTuple",(A,x)=>{e$.init(A,x),H.init(A,x),A.rest=($)=>A.clone({...A._zod.def,rest:$})});function WW(A,x,$){let c=x instanceof UA,_=c?$:x;return new cW({type:"tuple",items:A,rest:c?x:null,...q.normalizeParams(_)})}var Nx=W("ZodRecord",(A,x)=>{d$.init(A,x),H.init(A,x),A.keyType=x.keyType,A.valueType=x.valueType});function _W(A,x,$){return new Nx({type:"record",keyType:A,valueType:x,...q.normalizeParams($)})}function Z_(A,x,$){let c=b(A);return c._zod.values=void 0,new Nx({type:"record",keyType:c,valueType:x,...q.normalizeParams($)})}var qW=W("ZodMap",(A,x)=>{a$.init(A,x),H.init(A,x),A.keyType=x.keyType,A.valueType=x.valueType});function o_(A,x,$){return new qW({type:"map",keyType:A,valueType:x,...q.normalizeParams($)})}var HW=W("ZodSet",(A,x)=>{n$.init(A,x),H.init(A,x),A.min=(...$)=>A.check(N(...$)),A.nonempty=($)=>A.check(N(1,$)),A.max=(...$)=>A.check(V(...$)),A.size=(...$)=>A.check(Z(...$))});function u_(A,x){return new HW({type:"set",valueType:A,...q.normalizeParams(x)})}var k=W("ZodEnum",(A,x)=>{i$.init(A,x),H.init(A,x),A.enum=x.entries,A.options=Object.values(x.entries);let $=new Set(Object.keys(x.entries));A.extract=(c,_)=>{let J={};for(let Y of c)if($.has(Y))J[Y]=x.entries[Y];else throw Error(`Key ${Y} not found in enum`);return new k({...x,checks:[],...q.normalizeParams(_),entries:J})},A.exclude=(c,_)=>{let J={...x.entries};for(let Y of c)if($.has(Y))delete J[Y];else throw Error(`Key ${Y} not found in enum`);return new k({...x,checks:[],...q.normalizeParams(_),entries:J})}});function Sx(A,x){let $=Array.isArray(A)?Object.fromEntries(A.map((c)=>[c,c])):A;return new k({type:"enum",entries:$,...q.normalizeParams(x)})}function l_(A,x){return new k({type:"enum",entries:A,...q.normalizeParams(x)})}var QW=W("ZodLiteral",(A,x)=>{t$.init(A,x),H.init(A,x),A.values=new Set(x.values),Object.defineProperty(A,"value",{get(){if(x.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return x.values[0]}})});function f_(A,x){return new QW({type:"literal",values:Array.isArray(A)?A:[A],...q.normalizeParams(x)})}var YW=W("ZodFile",(A,x)=>{s$.init(A,x),H.init(A,x),A.min=($,c)=>A.check(N($,c)),A.max=($,c)=>A.check(V($,c)),A.mime=($,c)=>A.check(p(Array.isArray($)?$:[$],c))});function m_(A){return yc(YW,A)}var OW=W("ZodTransform",(A,x)=>{Ac.init(A,x),H.init(A,x),A._zod.parse=($,c)=>{if(c.direction==="backward")throw new q$(A.constructor.name);$.addIssue=(J)=>{if(typeof J==="string")$.issues.push(q.issue(J,$.value,x));else{let Y=J;if(Y.fatal)Y.continue=!1;Y.code??(Y.code="custom"),Y.input??(Y.input=$.value),Y.inst??(Y.inst=A),$.issues.push(q.issue(Y))}};let _=x.transform($.value,$);if(_ instanceof Promise)return _.then((J)=>{return $.value=J,$});return $.value=_,$}});function Cx(A){return new OW({type:"transform",transform:A})}var Vx=W("ZodOptional",(A,x)=>{xc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function _A(A){return new Vx({type:"optional",innerType:A})}var JW=W("ZodNullable",(A,x)=>{$c.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function qA(A){return new JW({type:"nullable",innerType:A})}function r_(A){return _A(qA(A))}var XW=W("ZodDefault",(A,x)=>{cc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType,A.removeDefault=A.unwrap});function GW(A,x){return new XW({type:"default",innerType:A,get defaultValue(){return typeof x==="function"?x():q.shallowClone(x)}})}var MW=W("ZodPrefault",(A,x)=>{Wc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function wW(A,x){return new MW({type:"prefault",innerType:A,get defaultValue(){return typeof x==="function"?x():q.shallowClone(x)}})}var Rx=W("ZodNonOptional",(A,x)=>{_c.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function zW(A,x){return new Rx({type:"nonoptional",innerType:A,...q.normalizeParams(x)})}var KW=W("ZodSuccess",(A,x)=>{qc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function p_(A){return new KW({type:"success",innerType:A})}var BW=W("ZodCatch",(A,x)=>{Hc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType,A.removeCatch=A.unwrap});function PW(A,x){return new BW({type:"catch",innerType:A,catchValue:typeof x==="function"?x:()=>x})}var LW=W("ZodNaN",(A,x)=>{Qc.init(A,x),H.init(A,x)});function e_(A){return vc(LW,A)}var Ix=W("ZodPipe",(A,x)=>{Yc.init(A,x),H.init(A,x),A.in=x.in,A.out=x.out});function HA(A,x){return new Ix({type:"pipe",in:A,out:x})}var kx=W("ZodCodec",(A,x)=>{Ix.init(A,x),Oc.init(A,x)});function d_(A,x,$){return new kx({type:"pipe",in:A,out:x,transform:$.decode,reverseTransform:$.encode})}var EW=W("ZodReadonly",(A,x)=>{Jc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function DW(A){return new EW({type:"readonly",innerType:A})}var NW=W("ZodTemplateLiteral",(A,x)=>{Xc.init(A,x),H.init(A,x)});function a_(A,x){return new NW({type:"template_literal",parts:A,...q.normalizeParams(x)})}var SW=W("ZodLazy",(A,x)=>{wc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.getter()});function CW(A){return new SW({type:"lazy",getter:A})}var VW=W("ZodPromise",(A,x)=>{Mc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function n_(A){return new VW({type:"promise",innerType:A})}var RW=W("ZodFunction",(A,x)=>{Gc.init(A,x),H.init(A,x)});function i_(A){return new RW({type:"function",input:Array.isArray(A?.input)?WW(A?.input):A?.input??JA(S()),output:A?.output??S()})}var GA=W("ZodCustom",(A,x)=>{zc.init(A,x),H.init(A,x)});function t_(A){let x=new H$({check:"custom"});return x._zod.check=A,x}function s_(A,x){return Zc(GA,A??(()=>!0),x)}function IW(A,x={}){return oc(GA,A,x)}function kW(A){return uc(A)}function Aq(A,x={error:`Input not instance of ${A.name}`}){let $=new GA({type:"custom",check:"custom",fn:(c)=>c instanceof A,abort:!0,...q.normalizeParams(x)});return $._zod.bag.Class=A,$}var xq=(...A)=>lc({Codec:kx,Boolean:T,String:j},...A);function $q(A){let x=CW(()=>{return Dx([jA(A),fc(),mc(),dc(),JA(x),_W(jA(),x)])});return x}function cq(A,x){return HA(Cx(A),x)}var Wq={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function _q(A){E({customError:A})}function qq(){return E().customError}var bx;(function(A){})(bx||(bx={}));var Fx={};RA(Fx,{string:()=>Hq,number:()=>Qq,date:()=>Jq,boolean:()=>Yq,bigint:()=>Oq});function Hq(A){return bW(j,A)}function Qq(A){return FW(U,A)}function Yq(A){return jW(T,A)}function Oq(A){return hW(v,A)}function Jq(A){return UW(OA,A)}E(ZW());
3
- export{$A as Kv,BA as Lv,jA as Mv,x_ as Nv,fc as Ov,mc as Pv,dc as Qv,F_ as Rv,S as Sv,JA as Tv,T_ as Uv,g_ as Vv,Dx as Wv,y_ as Xv,$W as Yv,_W as Zv,Sx as _v,f_ as $v,_A as aw,s_ as bw,cq as cw,Wq as dw,Fx as ew,Xq as fw};
2
+ import{$v as Y$,$w as xc,$x as Pc,Av as H$,Aw as k$,Ax as gA,Ay as dx,Bw as b$,Bx as yA,By as ax,Bz as w,Cw as F$,Cx as ZA,Cy as D,Dw as j$,Dx as oA,Dy as V,Ew as h$,Ex as QA,Ey as N,Fw as U$,Fx as uA,Fy as Z,Gw as T$,Gx as lA,Gy as R,Hw as v$,Hx as fA,Hy as B,Iw as g$,Ix as mA,Iy as I,Jw as y$,Jx as rA,Jy as o,Kw as Z$,Kx as pA,Ky as u,Lw as o$,Lx as eA,Ly as l,Mu as TW,Mw as u$,Mx as dA,My as f,Nu as W,Nw as l$,Nx as aA,Ny as m,Ou as vW,Ox as nA,Oy as r,Pw as f$,Px as iA,Py as nx,Qu as q$,Qw as m$,Qx as tA,Qy as p,Rw as r$,Rx as sA,Ry as e,Su as E,Sw as p$,Sx as Ax,Sy as d,Tu as MA,Tw as e$,Tx as xx,Ty as a,Uu as b,Uw as d$,Ux as mW,Uy as n,Vu as q,Vw as a$,Vx as x$,Vy as i,Wu as jx,Ww as n$,Wx as $$,Wy as gc,Xw as i$,Xx as c$,Yu as g,Yv as UA,Yw as t$,Yx as W$,Zu as y,Zv as TA,Zw as s$,Zx as Bc,_u as gW,_v as Q$,_w as Ac,_x as FW,av as yW,aw as O$,ax as $c,ay as Lc,bv as Ux,bw as J$,bx as cc,by as Ec,cw as X$,cx as Wc,cy as Dc,dv as Tx,dw as G$,dx as _c,dy as Nc,ew as M$,ex as qc,ey as Sc,fv as vx,fw as w$,fx as Hc,fy as jW,fz as yc,gw as z$,gx as Qc,gy as Cc,hv as gx,hw as K$,hx as Yc,hy as hW,iw as B$,ix as Oc,iy as Vc,jv as yx,jw as P$,jx as Jc,jy as Rc,kw as ix,kx as Xc,ky as Ic,lv as Zx,lw as tx,lx as Gc,ly as kc,mw as sx,mx as Mc,my as bc,nv as ox,nw as A$,nx as wc,ny as Fc,ow as L$,ox as zc,oy as jc,pv as ux,pw as E$,px as ZW,py as hc,qw as D$,qx as oW,qy as Uc,rv as lx,rw as N$,rx as uW,ry as Tc,sx as lW,sy as UW,sz as Zc,tv as fx,tw as S$,ty as vc,tz as oc,ux as fW,uy as z,uz as uc,vv as mx,vw as C$,vx as P,vy as G,ww as V$,wx as Kc,wy as K,wz as lc,xv as rx,xx as bW,xy as X,xz as F,yw as R$,yx as vA,yy as px,zv as L,zw as I$,zx as cA,zy as ex,zz as rW}from"./chunk-5q98z8ck.js";import{wP as RA}from"./chunk-sh03ka27.js";var hx=(A,x)=>{jx.init(A,x),A.name="ZodError",Object.defineProperties(A,{format:{value:($)=>y(A,$)},flatten:{value:($)=>g(A,$)},addIssue:{value:($)=>{A.issues.push($),A.message=JSON.stringify(A.issues,MA,2)}},addIssues:{value:($)=>{A.issues.push(...$),A.message=JSON.stringify(A.issues,MA,2)}},isEmpty:{get(){return A.issues.length===0}}})},pW=W("ZodError",hx),O=W("ZodError",hx,{Parent:Error});var wA=Ux(O),zA=Tx(O),KA=vx(O),BA=gx(O),PA=yx(O),LA=Zx(O),EA=ox(O),DA=ux(O),NA=lx(O),SA=fx(O),CA=mx(O),VA=rx(O);var Xq={};RA(Xq,{xid:()=>Q_,void:()=>j_,uuidv7:()=>A_,uuidv6:()=>sW,uuidv4:()=>tW,uuid:()=>iW,util:()=>q,url:()=>x_,uppercase:()=>l,unknown:()=>S,union:()=>Dx,undefined:()=>b_,ulid:()=>H_,uint64:()=>I_,uint32:()=>C_,tuple:()=>WW,trim:()=>a,treeifyError:()=>gW,transform:()=>Cx,toUpperCase:()=>i,toLowerCase:()=>n,toJSONSchema:()=>rW,templateLiteral:()=>a_,symbol:()=>k_,superRefine:()=>kW,success:()=>p_,stringbool:()=>xq,stringFormat:()=>B_,string:()=>jA,strictObject:()=>v_,startsWith:()=>m,size:()=>Z,setErrorMap:()=>_q,set:()=>u_,safeParseAsync:()=>BA,safeParse:()=>KA,safeEncodeAsync:()=>CA,safeEncode:()=>NA,safeDecodeAsync:()=>VA,safeDecode:()=>SA,registry:()=>fW,regexes:()=>L,regex:()=>o,refine:()=>IW,record:()=>_W,readonly:()=>DW,property:()=>nx,promise:()=>n_,prettifyError:()=>yW,preprocess:()=>cq,prefault:()=>wW,positive:()=>px,pipe:()=>HA,partialRecord:()=>Z_,parseAsync:()=>zA,parse:()=>wA,overwrite:()=>e,optional:()=>_A,object:()=>T_,number:()=>fc,nullish:()=>r_,nullable:()=>qA,null:()=>dc,normalize:()=>d,nonpositive:()=>dx,nonoptional:()=>zW,nonnegative:()=>ax,never:()=>Lx,negative:()=>ex,nativeEnum:()=>l_,nanoid:()=>W_,nan:()=>e_,multipleOf:()=>D,minSize:()=>N,minLength:()=>B,mime:()=>p,maxSize:()=>V,maxLength:()=>R,map:()=>o_,lte:()=>G,lt:()=>z,lowercase:()=>u,looseObject:()=>g_,locales:()=>oW,literal:()=>f_,length:()=>I,lazy:()=>CW,ksuid:()=>Y_,keyof:()=>U_,jwt:()=>K_,json:()=>$q,iso:()=>$A,ipv6:()=>J_,ipv4:()=>O_,intersection:()=>$W,int64:()=>R_,int32:()=>S_,int:()=>hA,instanceof:()=>Aq,includes:()=>f,httpUrl:()=>$_,hostname:()=>P_,hex:()=>L_,hash:()=>E_,guid:()=>nW,gte:()=>X,gt:()=>K,globalRegistry:()=>P,getErrorMap:()=>qq,function:()=>i_,formatError:()=>y,float64:()=>N_,float32:()=>D_,flattenError:()=>g,file:()=>m_,enum:()=>Sx,endsWith:()=>r,encodeAsync:()=>EA,encode:()=>PA,emoji:()=>c_,email:()=>aW,e164:()=>z_,discriminatedUnion:()=>y_,decodeAsync:()=>DA,decode:()=>LA,date:()=>h_,custom:()=>s_,cuid2:()=>q_,cuid:()=>__,core:()=>w,config:()=>E,coerce:()=>Fx,codec:()=>d_,clone:()=>b,cidrv6:()=>G_,cidrv4:()=>X_,check:()=>t_,catch:()=>PW,boolean:()=>mc,bigint:()=>V_,base64url:()=>w_,base64:()=>M_,array:()=>JA,any:()=>F_,_function:()=>i_,_default:()=>GW,_ZodString:()=>$x,ZodXID:()=>Yx,ZodVoid:()=>tc,ZodUnknown:()=>nc,ZodUnion:()=>Ex,ZodUndefined:()=>pc,ZodUUID:()=>M,ZodURL:()=>YA,ZodULID:()=>Qx,ZodType:()=>H,ZodTuple:()=>cW,ZodTransform:()=>OW,ZodTemplateLiteral:()=>NW,ZodSymbol:()=>rc,ZodSuccess:()=>KW,ZodStringFormat:()=>Q,ZodString:()=>j,ZodSet:()=>HW,ZodRecord:()=>Nx,ZodRealError:()=>O,ZodReadonly:()=>EW,ZodPromise:()=>VW,ZodPrefault:()=>MW,ZodPipe:()=>Ix,ZodOptional:()=>Vx,ZodObject:()=>XA,ZodNumberFormat:()=>C,ZodNumber:()=>U,ZodNullable:()=>JW,ZodNull:()=>ec,ZodNonOptional:()=>Rx,ZodNever:()=>ic,ZodNanoID:()=>_x,ZodNaN:()=>LW,ZodMap:()=>qW,ZodLiteral:()=>QW,ZodLazy:()=>SW,ZodKSUID:()=>Ox,ZodJWT:()=>Bx,ZodIssueCode:()=>Wq,ZodIntersection:()=>xW,ZodISOTime:()=>AA,ZodISODuration:()=>xA,ZodISODateTime:()=>t,ZodISODate:()=>s,ZodIPv6:()=>Xx,ZodIPv4:()=>Jx,ZodGUID:()=>WA,ZodFunction:()=>RW,ZodFirstPartyTypeKind:()=>bx,ZodFile:()=>YW,ZodError:()=>pW,ZodEnum:()=>k,ZodEmoji:()=>Wx,ZodEmail:()=>cx,ZodE164:()=>Kx,ZodDiscriminatedUnion:()=>AW,ZodDefault:()=>XW,ZodDate:()=>OA,ZodCustomStringFormat:()=>h,ZodCustom:()=>GA,ZodCodec:()=>kx,ZodCatch:()=>BW,ZodCUID2:()=>Hx,ZodCUID:()=>qx,ZodCIDRv6:()=>Mx,ZodCIDRv4:()=>Gx,ZodBoolean:()=>T,ZodBigIntFormat:()=>Px,ZodBigInt:()=>v,ZodBase64URL:()=>zx,ZodBase64:()=>wx,ZodArray:()=>sc,ZodAny:()=>ac,TimePrecision:()=>mW,NEVER:()=>TW,$output:()=>uW,$input:()=>lW,$brand:()=>vW});var $A={};RA($A,{time:()=>bA,duration:()=>FA,datetime:()=>IA,date:()=>kA,ZodISOTime:()=>AA,ZodISODuration:()=>xA,ZodISODateTime:()=>t,ZodISODate:()=>s});var t=W("ZodISODateTime",(A,x)=>{ix.init(A,x),Q.init(A,x)});function IA(A){return x$(t,A)}var s=W("ZodISODate",(A,x)=>{tx.init(A,x),Q.init(A,x)});function kA(A){return $$(s,A)}var AA=W("ZodISOTime",(A,x)=>{sx.init(A,x),Q.init(A,x)});function bA(A){return c$(AA,A)}var xA=W("ZodISODuration",(A,x)=>{A$.init(A,x),Q.init(A,x)});function FA(A){return W$(xA,A)}var H=W("ZodType",(A,x)=>{return UA.init(A,x),A.def=x,A.type=x.type,Object.defineProperty(A,"_def",{value:x}),A.check=(...$)=>{return A.clone({...x,checks:[...x.checks??[],...$.map((c)=>typeof c==="function"?{_zod:{check:c,def:{check:"custom"},onattach:[]}}:c)]})},A.clone=($,c)=>b(A,$,c),A.brand=()=>A,A.register=($,c)=>{return $.add(A,c),A},A.parse=($,c)=>wA(A,$,c,{callee:A.parse}),A.safeParse=($,c)=>KA(A,$,c),A.parseAsync=async($,c)=>zA(A,$,c,{callee:A.parseAsync}),A.safeParseAsync=async($,c)=>BA(A,$,c),A.spa=A.safeParseAsync,A.encode=($,c)=>PA(A,$,c),A.decode=($,c)=>LA(A,$,c),A.encodeAsync=async($,c)=>EA(A,$,c),A.decodeAsync=async($,c)=>DA(A,$,c),A.safeEncode=($,c)=>NA(A,$,c),A.safeDecode=($,c)=>SA(A,$,c),A.safeEncodeAsync=async($,c)=>CA(A,$,c),A.safeDecodeAsync=async($,c)=>VA(A,$,c),A.refine=($,c)=>A.check(IW($,c)),A.superRefine=($)=>A.check(kW($)),A.overwrite=($)=>A.check(e($)),A.optional=()=>_A(A),A.nullable=()=>qA(A),A.nullish=()=>_A(qA(A)),A.nonoptional=($)=>zW(A,$),A.array=()=>JA(A),A.or=($)=>Dx([A,$]),A.and=($)=>$W(A,$),A.transform=($)=>HA(A,Cx($)),A.default=($)=>GW(A,$),A.prefault=($)=>wW(A,$),A.catch=($)=>PW(A,$),A.pipe=($)=>HA(A,$),A.readonly=()=>DW(A),A.describe=($)=>{let c=A.clone();return P.add(c,{description:$}),c},Object.defineProperty(A,"description",{get(){return P.get(A)?.description},configurable:!0}),A.meta=(...$)=>{if($.length===0)return P.get(A);let c=A.clone();return P.add(c,$[0]),c},A.isOptional=()=>A.safeParse(void 0).success,A.isNullable=()=>A.safeParse(null).success,A}),$x=W("_ZodString",(A,x)=>{TA.init(A,x),H.init(A,x);let $=A._zod.bag;A.format=$.format??null,A.minLength=$.minimum??null,A.maxLength=$.maximum??null,A.regex=(...c)=>A.check(o(...c)),A.includes=(...c)=>A.check(f(...c)),A.startsWith=(...c)=>A.check(m(...c)),A.endsWith=(...c)=>A.check(r(...c)),A.min=(...c)=>A.check(B(...c)),A.max=(...c)=>A.check(R(...c)),A.length=(...c)=>A.check(I(...c)),A.nonempty=(...c)=>A.check(B(1,...c)),A.lowercase=(c)=>A.check(u(c)),A.uppercase=(c)=>A.check(l(c)),A.trim=()=>A.check(a()),A.normalize=(...c)=>A.check(d(...c)),A.toLowerCase=()=>A.check(n()),A.toUpperCase=()=>A.check(i())}),j=W("ZodString",(A,x)=>{TA.init(A,x),$x.init(A,x),A.email=($)=>A.check(vA(cx,$)),A.url=($)=>A.check(QA(YA,$)),A.jwt=($)=>A.check(xx(Bx,$)),A.emoji=($)=>A.check(uA(Wx,$)),A.guid=($)=>A.check(cA(WA,$)),A.uuid=($)=>A.check(gA(M,$)),A.uuidv4=($)=>A.check(yA(M,$)),A.uuidv6=($)=>A.check(ZA(M,$)),A.uuidv7=($)=>A.check(oA(M,$)),A.nanoid=($)=>A.check(lA(_x,$)),A.guid=($)=>A.check(cA(WA,$)),A.cuid=($)=>A.check(fA(qx,$)),A.cuid2=($)=>A.check(mA(Hx,$)),A.ulid=($)=>A.check(rA(Qx,$)),A.base64=($)=>A.check(tA(wx,$)),A.base64url=($)=>A.check(sA(zx,$)),A.xid=($)=>A.check(pA(Yx,$)),A.ksuid=($)=>A.check(eA(Ox,$)),A.ipv4=($)=>A.check(dA(Jx,$)),A.ipv6=($)=>A.check(aA(Xx,$)),A.cidrv4=($)=>A.check(nA(Gx,$)),A.cidrv6=($)=>A.check(iA(Mx,$)),A.e164=($)=>A.check(Ax(Kx,$)),A.datetime=($)=>A.check(IA($)),A.date=($)=>A.check(kA($)),A.time=($)=>A.check(bA($)),A.duration=($)=>A.check(FA($))});function jA(A){return Kc(j,A)}var Q=W("ZodStringFormat",(A,x)=>{Q$.init(A,x),$x.init(A,x)}),cx=W("ZodEmail",(A,x)=>{J$.init(A,x),Q.init(A,x)});function aW(A){return vA(cx,A)}var WA=W("ZodGUID",(A,x)=>{Y$.init(A,x),Q.init(A,x)});function nW(A){return cA(WA,A)}var M=W("ZodUUID",(A,x)=>{O$.init(A,x),Q.init(A,x)});function iW(A){return gA(M,A)}function tW(A){return yA(M,A)}function sW(A){return ZA(M,A)}function A_(A){return oA(M,A)}var YA=W("ZodURL",(A,x)=>{X$.init(A,x),Q.init(A,x)});function x_(A){return QA(YA,A)}function $_(A){return QA(YA,{protocol:/^https?$/,hostname:L.domain,...q.normalizeParams(A)})}var Wx=W("ZodEmoji",(A,x)=>{G$.init(A,x),Q.init(A,x)});function c_(A){return uA(Wx,A)}var _x=W("ZodNanoID",(A,x)=>{M$.init(A,x),Q.init(A,x)});function W_(A){return lA(_x,A)}var qx=W("ZodCUID",(A,x)=>{w$.init(A,x),Q.init(A,x)});function __(A){return fA(qx,A)}var Hx=W("ZodCUID2",(A,x)=>{z$.init(A,x),Q.init(A,x)});function q_(A){return mA(Hx,A)}var Qx=W("ZodULID",(A,x)=>{K$.init(A,x),Q.init(A,x)});function H_(A){return rA(Qx,A)}var Yx=W("ZodXID",(A,x)=>{B$.init(A,x),Q.init(A,x)});function Q_(A){return pA(Yx,A)}var Ox=W("ZodKSUID",(A,x)=>{P$.init(A,x),Q.init(A,x)});function Y_(A){return eA(Ox,A)}var Jx=W("ZodIPv4",(A,x)=>{L$.init(A,x),Q.init(A,x)});function O_(A){return dA(Jx,A)}var Xx=W("ZodIPv6",(A,x)=>{E$.init(A,x),Q.init(A,x)});function J_(A){return aA(Xx,A)}var Gx=W("ZodCIDRv4",(A,x)=>{D$.init(A,x),Q.init(A,x)});function X_(A){return nA(Gx,A)}var Mx=W("ZodCIDRv6",(A,x)=>{N$.init(A,x),Q.init(A,x)});function G_(A){return iA(Mx,A)}var wx=W("ZodBase64",(A,x)=>{S$.init(A,x),Q.init(A,x)});function M_(A){return tA(wx,A)}var zx=W("ZodBase64URL",(A,x)=>{C$.init(A,x),Q.init(A,x)});function w_(A){return sA(zx,A)}var Kx=W("ZodE164",(A,x)=>{V$.init(A,x),Q.init(A,x)});function z_(A){return Ax(Kx,A)}var Bx=W("ZodJWT",(A,x)=>{R$.init(A,x),Q.init(A,x)});function K_(A){return xx(Bx,A)}var h=W("ZodCustomStringFormat",(A,x)=>{I$.init(A,x),Q.init(A,x)});function B_(A,x,$={}){return F(h,A,x,$)}function P_(A){return F(h,"hostname",L.hostname,A)}function L_(A){return F(h,"hex",L.hex,A)}function E_(A,x){let $=x?.enc??"hex",c=`${A}_${$}`,_=L[c];if(!_)throw Error(`Unrecognized hash format: ${c}`);return F(h,c,_,x)}var U=W("ZodNumber",(A,x)=>{k$.init(A,x),H.init(A,x),A.gt=(c,_)=>A.check(K(c,_)),A.gte=(c,_)=>A.check(X(c,_)),A.min=(c,_)=>A.check(X(c,_)),A.lt=(c,_)=>A.check(z(c,_)),A.lte=(c,_)=>A.check(G(c,_)),A.max=(c,_)=>A.check(G(c,_)),A.int=(c)=>A.check(hA(c)),A.safe=(c)=>A.check(hA(c)),A.positive=(c)=>A.check(K(0,c)),A.nonnegative=(c)=>A.check(X(0,c)),A.negative=(c)=>A.check(z(0,c)),A.nonpositive=(c)=>A.check(G(0,c)),A.multipleOf=(c,_)=>A.check(D(c,_)),A.step=(c,_)=>A.check(D(c,_)),A.finite=()=>A;let $=A._zod.bag;A.minValue=Math.max($.minimum??Number.NEGATIVE_INFINITY,$.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,A.maxValue=Math.min($.maximum??Number.POSITIVE_INFINITY,$.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,A.isInt=($.format??"").includes("int")||Number.isSafeInteger($.multipleOf??0.5),A.isFinite=!0,A.format=$.format??null});function fc(A){return Bc(U,A)}var C=W("ZodNumberFormat",(A,x)=>{b$.init(A,x),U.init(A,x)});function hA(A){return Pc(C,A)}function D_(A){return Lc(C,A)}function N_(A){return Ec(C,A)}function S_(A){return Dc(C,A)}function C_(A){return Nc(C,A)}var T=W("ZodBoolean",(A,x)=>{F$.init(A,x),H.init(A,x)});function mc(A){return Sc(T,A)}var v=W("ZodBigInt",(A,x)=>{j$.init(A,x),H.init(A,x),A.gte=(c,_)=>A.check(X(c,_)),A.min=(c,_)=>A.check(X(c,_)),A.gt=(c,_)=>A.check(K(c,_)),A.gte=(c,_)=>A.check(X(c,_)),A.min=(c,_)=>A.check(X(c,_)),A.lt=(c,_)=>A.check(z(c,_)),A.lte=(c,_)=>A.check(G(c,_)),A.max=(c,_)=>A.check(G(c,_)),A.positive=(c)=>A.check(K(BigInt(0),c)),A.negative=(c)=>A.check(z(BigInt(0),c)),A.nonpositive=(c)=>A.check(G(BigInt(0),c)),A.nonnegative=(c)=>A.check(X(BigInt(0),c)),A.multipleOf=(c,_)=>A.check(D(c,_));let $=A._zod.bag;A.minValue=$.minimum??null,A.maxValue=$.maximum??null,A.format=$.format??null});function V_(A){return Cc(v,A)}var Px=W("ZodBigIntFormat",(A,x)=>{h$.init(A,x),v.init(A,x)});function R_(A){return Vc(Px,A)}function I_(A){return Rc(Px,A)}var rc=W("ZodSymbol",(A,x)=>{U$.init(A,x),H.init(A,x)});function k_(A){return Ic(rc,A)}var pc=W("ZodUndefined",(A,x)=>{T$.init(A,x),H.init(A,x)});function b_(A){return kc(pc,A)}var ec=W("ZodNull",(A,x)=>{v$.init(A,x),H.init(A,x)});function dc(A){return bc(ec,A)}var ac=W("ZodAny",(A,x)=>{g$.init(A,x),H.init(A,x)});function F_(){return Fc(ac)}var nc=W("ZodUnknown",(A,x)=>{y$.init(A,x),H.init(A,x)});function S(){return jc(nc)}var ic=W("ZodNever",(A,x)=>{Z$.init(A,x),H.init(A,x)});function Lx(A){return hc(ic,A)}var tc=W("ZodVoid",(A,x)=>{o$.init(A,x),H.init(A,x)});function j_(A){return Uc(tc,A)}var OA=W("ZodDate",(A,x)=>{u$.init(A,x),H.init(A,x),A.min=(c,_)=>A.check(X(c,_)),A.max=(c,_)=>A.check(G(c,_));let $=A._zod.bag;A.minDate=$.minimum?new Date($.minimum):null,A.maxDate=$.maximum?new Date($.maximum):null});function h_(A){return Tc(OA,A)}var sc=W("ZodArray",(A,x)=>{l$.init(A,x),H.init(A,x),A.element=x.element,A.min=($,c)=>A.check(B($,c)),A.nonempty=($)=>A.check(B(1,$)),A.max=($,c)=>A.check(R($,c)),A.length=($,c)=>A.check(I($,c)),A.unwrap=()=>A.element});function JA(A,x){return gc(sc,A,x)}function U_(A){let x=A._zod.def.shape;return Sx(Object.keys(x))}var XA=W("ZodObject",(A,x)=>{f$.init(A,x),H.init(A,x),q.defineLazy(A,"shape",()=>x.shape),A.keyof=()=>Sx(Object.keys(A._zod.def.shape)),A.catchall=($)=>A.clone({...A._zod.def,catchall:$}),A.passthrough=()=>A.clone({...A._zod.def,catchall:S()}),A.loose=()=>A.clone({...A._zod.def,catchall:S()}),A.strict=()=>A.clone({...A._zod.def,catchall:Lx()}),A.strip=()=>A.clone({...A._zod.def,catchall:void 0}),A.extend=($)=>{return q.extend(A,$)},A.safeExtend=($)=>{return q.safeExtend(A,$)},A.merge=($)=>q.merge(A,$),A.pick=($)=>q.pick(A,$),A.omit=($)=>q.omit(A,$),A.partial=(...$)=>q.partial(Vx,A,$[0]),A.required=(...$)=>q.required(Rx,A,$[0])});function T_(A,x){let $={type:"object",get shape(){return q.assignProp(this,"shape",A?q.objectClone(A):{}),this.shape},...q.normalizeParams(x)};return new XA($)}function v_(A,x){return new XA({type:"object",get shape(){return q.assignProp(this,"shape",q.objectClone(A)),this.shape},catchall:Lx(),...q.normalizeParams(x)})}function g_(A,x){return new XA({type:"object",get shape(){return q.assignProp(this,"shape",q.objectClone(A)),this.shape},catchall:S(),...q.normalizeParams(x)})}var Ex=W("ZodUnion",(A,x)=>{m$.init(A,x),H.init(A,x),A.options=x.options});function Dx(A,x){return new Ex({type:"union",options:A,...q.normalizeParams(x)})}var AW=W("ZodDiscriminatedUnion",(A,x)=>{Ex.init(A,x),r$.init(A,x)});function y_(A,x,$){return new AW({type:"union",options:x,discriminator:A,...q.normalizeParams($)})}var xW=W("ZodIntersection",(A,x)=>{p$.init(A,x),H.init(A,x)});function $W(A,x){return new xW({type:"intersection",left:A,right:x})}var cW=W("ZodTuple",(A,x)=>{e$.init(A,x),H.init(A,x),A.rest=($)=>A.clone({...A._zod.def,rest:$})});function WW(A,x,$){let c=x instanceof UA,_=c?$:x;return new cW({type:"tuple",items:A,rest:c?x:null,...q.normalizeParams(_)})}var Nx=W("ZodRecord",(A,x)=>{d$.init(A,x),H.init(A,x),A.keyType=x.keyType,A.valueType=x.valueType});function _W(A,x,$){return new Nx({type:"record",keyType:A,valueType:x,...q.normalizeParams($)})}function Z_(A,x,$){let c=b(A);return c._zod.values=void 0,new Nx({type:"record",keyType:c,valueType:x,...q.normalizeParams($)})}var qW=W("ZodMap",(A,x)=>{a$.init(A,x),H.init(A,x),A.keyType=x.keyType,A.valueType=x.valueType});function o_(A,x,$){return new qW({type:"map",keyType:A,valueType:x,...q.normalizeParams($)})}var HW=W("ZodSet",(A,x)=>{n$.init(A,x),H.init(A,x),A.min=(...$)=>A.check(N(...$)),A.nonempty=($)=>A.check(N(1,$)),A.max=(...$)=>A.check(V(...$)),A.size=(...$)=>A.check(Z(...$))});function u_(A,x){return new HW({type:"set",valueType:A,...q.normalizeParams(x)})}var k=W("ZodEnum",(A,x)=>{i$.init(A,x),H.init(A,x),A.enum=x.entries,A.options=Object.values(x.entries);let $=new Set(Object.keys(x.entries));A.extract=(c,_)=>{let J={};for(let Y of c)if($.has(Y))J[Y]=x.entries[Y];else throw Error(`Key ${Y} not found in enum`);return new k({...x,checks:[],...q.normalizeParams(_),entries:J})},A.exclude=(c,_)=>{let J={...x.entries};for(let Y of c)if($.has(Y))delete J[Y];else throw Error(`Key ${Y} not found in enum`);return new k({...x,checks:[],...q.normalizeParams(_),entries:J})}});function Sx(A,x){let $=Array.isArray(A)?Object.fromEntries(A.map((c)=>[c,c])):A;return new k({type:"enum",entries:$,...q.normalizeParams(x)})}function l_(A,x){return new k({type:"enum",entries:A,...q.normalizeParams(x)})}var QW=W("ZodLiteral",(A,x)=>{t$.init(A,x),H.init(A,x),A.values=new Set(x.values),Object.defineProperty(A,"value",{get(){if(x.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return x.values[0]}})});function f_(A,x){return new QW({type:"literal",values:Array.isArray(A)?A:[A],...q.normalizeParams(x)})}var YW=W("ZodFile",(A,x)=>{s$.init(A,x),H.init(A,x),A.min=($,c)=>A.check(N($,c)),A.max=($,c)=>A.check(V($,c)),A.mime=($,c)=>A.check(p(Array.isArray($)?$:[$],c))});function m_(A){return yc(YW,A)}var OW=W("ZodTransform",(A,x)=>{Ac.init(A,x),H.init(A,x),A._zod.parse=($,c)=>{if(c.direction==="backward")throw new q$(A.constructor.name);$.addIssue=(J)=>{if(typeof J==="string")$.issues.push(q.issue(J,$.value,x));else{let Y=J;if(Y.fatal)Y.continue=!1;Y.code??(Y.code="custom"),Y.input??(Y.input=$.value),Y.inst??(Y.inst=A),$.issues.push(q.issue(Y))}};let _=x.transform($.value,$);if(_ instanceof Promise)return _.then((J)=>{return $.value=J,$});return $.value=_,$}});function Cx(A){return new OW({type:"transform",transform:A})}var Vx=W("ZodOptional",(A,x)=>{xc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function _A(A){return new Vx({type:"optional",innerType:A})}var JW=W("ZodNullable",(A,x)=>{$c.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function qA(A){return new JW({type:"nullable",innerType:A})}function r_(A){return _A(qA(A))}var XW=W("ZodDefault",(A,x)=>{cc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType,A.removeDefault=A.unwrap});function GW(A,x){return new XW({type:"default",innerType:A,get defaultValue(){return typeof x==="function"?x():q.shallowClone(x)}})}var MW=W("ZodPrefault",(A,x)=>{Wc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function wW(A,x){return new MW({type:"prefault",innerType:A,get defaultValue(){return typeof x==="function"?x():q.shallowClone(x)}})}var Rx=W("ZodNonOptional",(A,x)=>{_c.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function zW(A,x){return new Rx({type:"nonoptional",innerType:A,...q.normalizeParams(x)})}var KW=W("ZodSuccess",(A,x)=>{qc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function p_(A){return new KW({type:"success",innerType:A})}var BW=W("ZodCatch",(A,x)=>{Hc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType,A.removeCatch=A.unwrap});function PW(A,x){return new BW({type:"catch",innerType:A,catchValue:typeof x==="function"?x:()=>x})}var LW=W("ZodNaN",(A,x)=>{Qc.init(A,x),H.init(A,x)});function e_(A){return vc(LW,A)}var Ix=W("ZodPipe",(A,x)=>{Yc.init(A,x),H.init(A,x),A.in=x.in,A.out=x.out});function HA(A,x){return new Ix({type:"pipe",in:A,out:x})}var kx=W("ZodCodec",(A,x)=>{Ix.init(A,x),Oc.init(A,x)});function d_(A,x,$){return new kx({type:"pipe",in:A,out:x,transform:$.decode,reverseTransform:$.encode})}var EW=W("ZodReadonly",(A,x)=>{Jc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function DW(A){return new EW({type:"readonly",innerType:A})}var NW=W("ZodTemplateLiteral",(A,x)=>{Xc.init(A,x),H.init(A,x)});function a_(A,x){return new NW({type:"template_literal",parts:A,...q.normalizeParams(x)})}var SW=W("ZodLazy",(A,x)=>{wc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.getter()});function CW(A){return new SW({type:"lazy",getter:A})}var VW=W("ZodPromise",(A,x)=>{Mc.init(A,x),H.init(A,x),A.unwrap=()=>A._zod.def.innerType});function n_(A){return new VW({type:"promise",innerType:A})}var RW=W("ZodFunction",(A,x)=>{Gc.init(A,x),H.init(A,x)});function i_(A){return new RW({type:"function",input:Array.isArray(A?.input)?WW(A?.input):A?.input??JA(S()),output:A?.output??S()})}var GA=W("ZodCustom",(A,x)=>{zc.init(A,x),H.init(A,x)});function t_(A){let x=new H$({check:"custom"});return x._zod.check=A,x}function s_(A,x){return Zc(GA,A??(()=>!0),x)}function IW(A,x={}){return oc(GA,A,x)}function kW(A){return uc(A)}function Aq(A,x={error:`Input not instance of ${A.name}`}){let $=new GA({type:"custom",check:"custom",fn:(c)=>c instanceof A,abort:!0,...q.normalizeParams(x)});return $._zod.bag.Class=A,$}var xq=(...A)=>lc({Codec:kx,Boolean:T,String:j},...A);function $q(A){let x=CW(()=>{return Dx([jA(A),fc(),mc(),dc(),JA(x),_W(jA(),x)])});return x}function cq(A,x){return HA(Cx(A),x)}var Wq={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function _q(A){E({customError:A})}function qq(){return E().customError}var bx;(function(A){})(bx||(bx={}));var Fx={};RA(Fx,{string:()=>Hq,number:()=>Qq,date:()=>Jq,boolean:()=>Yq,bigint:()=>Oq});function Hq(A){return bW(j,A)}function Qq(A){return FW(U,A)}function Yq(A){return jW(T,A)}function Oq(A){return hW(v,A)}function Jq(A){return UW(OA,A)}E(ZW());
3
+ export{$A as ou,BA as pu,jA as qu,x_ as ru,fc as su,mc as tu,dc as uu,F_ as vu,S as wu,JA as xu,T_ as yu,g_ as zu,Dx as Au,y_ as Bu,$W as Cu,_W as Du,Sx as Eu,f_ as Fu,_A as Gu,s_ as Hu,cq as Iu,Wq as Ju,Fx as Ku,Xq as Lu};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  var j=Object.create;var{getPrototypeOf:k,defineProperty:i,getOwnPropertyNames:l}=Object;var m=Object.prototype.hasOwnProperty;function n(a){return this[a]}var o,p,s=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var g=b?o??=new WeakMap:p??=new WeakMap,e=g.get(a);if(e)return e}c=a!=null?j(k(a)):{};let h=b||!a||!a.__esModule?i(c,"default",{value:a,enumerable:!0}):c;for(let f of l(a))if(!m.call(h,f))i(h,f,{get:n.bind(a,f),enumerable:!0});if(d)g.set(a,h);return h};var t=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var q=(a)=>a;function r(a,b){this[a]=q.bind(null,b)}var u=(a,b)=>{for(var c in b)i(a,c,{get:b[c],enumerable:!0,configurable:!0,set:r.bind(b,c)})};var v=(a,b)=>()=>(a&&(b=a(a=0)),b);var w=import.meta.require,x=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');let d;if(c)d=b[Symbol.asyncDispose];if(d===void 0)d=b[Symbol.dispose];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},y=(a,b,c)=>{let d=(e)=>b=c?new SuppressedError(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var h=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(h).then(g,(f)=>(d(f),g()))}catch(f){d(f)}if(c)throw b};return g()};
3
- export{s as QQ,t as RQ,u as SQ,v as TQ,w as UQ,x as VQ,y as WQ};
3
+ export{s as uP,t as vP,u as wP,v as xP,w as yP,x as zP,y as AP};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-sh03ka27.js";var R="./libopentui-c8ye7mqw.dylib";export{R as default};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Uv as k}from"./chunk-xphzr4wg.js";import{Qy as j,Ry as z,VA as u}from"./chunk-hav9pgf3.js";import"./chunk-9svh74gt.js";var q=(Q)=>typeof Q==="object"&&Q!==null&&("_zod"in Q),b=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addExample(W,[...X,K]);return Y},y=(Q,G,X)=>{let{schema:Y,examples:K,...W}=Q,F=W;if(q(Y))F.schema=G.registry.addSchema(Y,[...X,"schema"],{io:G.io,source:{type:"mediaType"}});else F.schema=Y;if(K)F.examples=b(K,G.registry,[...X,"examples"]);return F},C=(Q,G,X)=>{let Y={};for(let[K,W]of Object.entries(Q))if(W)Y[K]=y(W,G,[...X,K]);return Y},E=(Q,G,X)=>{let Y=Q._zod.def;switch(Y.type){case"object":return Q;case"lazy":return E(Y.getter(),G,X);case"pipe":if(G==="input")return E(Y.in,G,X);return E(Y.out,G,X)}throw Error(`Failed to unwrap ZodObject from type: ${Q._zod.def.type} at ${X.join(" > ")}`)},f=(Q,G)=>{if(G==="input")return Q._zod.optin===void 0;return Q._zod.optout===void 0},m=(Q,G,X)=>{if(!Q)return;if(q(Q)){let Y=E(Q,"output",X),K={};for(let[W,F]of Object.entries(Y._zod.def.shape))K[W]=G.addHeader(F,[...X,W]);return K}return Q},p=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addLink(W,[...X,K]);return Y},$=(Q,G,X)=>{if(!Q)return;let Y=[];for(let K of Q){if(q(K)){let W=G.addParameter(K,[...X,"parameters"]);Y.push(W);continue}Y.push(K)}return Y},i=(Q,G,X)=>{if(!Q)return;let Y=[];for(let[K,W]of Object.entries(Q??{})){let F=E(W,"input",X);for(let[V,L]of Object.entries(F._zod.def.shape)){let M=G.addParameter(L,[...X,K,V],{location:{in:K,name:V}});Y.push(M)}}return Y},T=(Q)=>Q.startsWith("x-"),n=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addCallback(W,[...X,K])}return Y},o=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(!W)continue;if(T(K)){Y[K]=W;continue}if("$ref"in W){Y[K]=W;continue}Y[K]=G.addResponse(W,[...X,K])}return Y},c=(Q,G,X)=>{let{parameters:Y,requestParams:K,requestBody:W,responses:F,callbacks:V,...L}=Q,M=L,H=$(Y,G,[...X,"parameters"]),N=i(K,G,[...X,"requestParams"]);if(N||H)M.parameters=[...N??[],...H??[]];let A=W&&G.addRequestBody(W,X);if(A)M.requestBody=A;let Z=o(F,G,[...X,"responses"]);if(Z)M.responses=Z;let J=n(V,G,[...X,"callbacks"]);if(J)M.callbacks=J;return M},R=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addPathItem(W,[...X,K])}return Y},S=["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1"],_=(Q,G)=>S.indexOf(Q)>=S.indexOf(G),a=(Q)=>{let G=Q.zodSchema._zod.def;switch(G.type){case"bigint":Q.jsonSchema.type="integer",Q.jsonSchema.format="int64";break;case"union":{if("discriminator"in G&&typeof G.discriminator==="string"){Q.jsonSchema.oneOf??=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf,Q.jsonSchema.type="object",Q.jsonSchema.discriminator={propertyName:G.discriminator};let Y={};for(let[K,W]of Object.entries(Q.jsonSchema.oneOf)){let F=W.$ref;if(!F){delete Q.jsonSchema.discriminator;return}let V=G.options[Number(K)]._zod.propValues?.[G.discriminator];if(!V?.size)return;for(let L of[...V??[]]){if(typeof L!=="string"&&typeof L!=="number"&&typeof L!=="boolean")return;Y[String(L)]=F}}Q.jsonSchema.discriminator.mapping=Y}let X=z.get(Q.zodSchema);if(typeof X?.unionOneOf==="boolean"){if(X.unionOneOf)Q.jsonSchema.oneOf=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf;delete Q.jsonSchema.unionOneOf}break}case"date":Q.jsonSchema.type="string";break;case"literal":if(G.values.includes(void 0))break;break;case"undefined":Q.jsonSchema.not={};break}},l=(Q,G,X)=>{if(X.context&&Q.zodSchema._zod.parent!==X.context.zodSchema){if(X.context.zodSchema._zod.def.type==="pipe")throw Error(`Zod transform found at ${X.context.path.join(" > ")} are not supported in output schemas. Please use \`.overwrite()\` or wrap the schema in a \`.pipe()\` or assign it manual metadata with \`.meta()\``);throw Error(`Zod schema of type \`${X.context.zodSchema._zod.def.type}\` at ${X.context?.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)}if(X.context=void 0,Object.keys(Q.jsonSchema).length)return;let Y=Q.zodSchema._zod.def,K=G.allowEmptySchema?.[Y.type];if(K===!0||K?.[Q.io])return;switch(Y.type){case"optional":l({...Q,zodSchema:Y.innerType},G,X);return;case"any":return;case"unknown":return;case"pipe":if(Q.io==="output"){if(!Q.zodSchema._zod.parent){X.context=Q;return}}return;case"transform":if(Q.io==="output")return;break;case"literal":if(Y.values.includes(void 0))throw Error(`Zod literal at ${Q.path.join(" > ")} cannot include \`undefined\` as a value. Please use \`z.undefined()\` or \`.optional()\` instead.`);return;case"custom":if(!Q.zodSchema._zod.parent){X.context=Q;return}}throw Error(`Zod schema of type \`${Y.type}\` at ${Q.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)},r=(Q,G,X,Y)=>{let K=new Map;if(X.io==="input")return K;let W=new Map,F=new Map;for(let[V,L]of Object.entries(Q)){let M=JSON.stringify(L),H=new RegExp(`"${Y}([^"]+)"`,"g"),N=M.matchAll(H),A=new Set;for(let Z of N){let J=Z[1];if(J!==V)A.add(J)}F.set(V,M),W.set(V,{dependencies:A})}for(let[V]of F){if(!X.registry.components.schemas.ids.get(V))continue;if(x(W,F,X.registry,V))continue;let L=G.get(V)??`${V}${X.opts.outputIdSuffix??"Output"}`;K.set(V,L),Q[L]=Q[V],delete Q[V]}return K},x=(Q,G,X,Y,K=new Set)=>{if(K.has(Y))return!0;let W=Q.get(Y);if(W.pure!==void 0)return W.pure;let F=G.get(Y),V=X.components.schemas.ids.get(Y);if(V&&F!==JSON.stringify(V))return W.pure=!1,!1;K.add(Y);let L=[...W.dependencies].every((M)=>x(Q,G,X,M,new Set(K)));return W.pure=L,L},s=(Q,G={})=>{G.registry??=P({schemas:G.schemaComponents}),G.opts??={},G.io??="output";let X=Object.fromEntries(G.registry.components.schemas[G.io]),Y={zodOpenApiCreateSchema:{zodType:Q}};Object.assign(Y,X);let K=g(Y,{registry:G.registry,io:G.io,opts:{...G.opts,schemaRefPath:G.schemaRefPath},openapiVersion:G.openapiVersion});return{schema:K.schemas.zodOpenApiCreateSchema,components:K.components}},t=["param","header","unusedIO","override","outputId"],e=(Q)=>{t.forEach((G)=>{delete Q[G]})},v=(Q)=>{delete Q.$schema,delete Q.id,delete Q.$id},g=(Q,G)=>{let X=G.opts.schemaRefPath??"#/components/schemas/",Y={};for(let[D,{zodType:w}]of Object.entries(Q))Y[D]=w;let K=j();K.add(k(Y),{id:"zodOpenApiCreateSchema"});for(let[D,{zodType:w}]of G.registry.components.schemas.manual)K.add(w,{id:D});let W=new Map,F=_(G.openapiVersion??"3.1.0","3.1.0")?"$defs":"definitions",V={},L=u(K,{override(D){let w=z.get(D.zodSchema);if(w?.outputId&&w?.id)W.set(w.id,w.outputId);if(D.jsonSchema.$ref)return;let B={...D,io:G.io};if(a(B),typeof G.opts.override==="function")G.opts.override(B);if(typeof w?.override==="function")w.override(B),delete D.jsonSchema.override;if(typeof w?.override==="object"&&w.override!==null)Object.assign(D.jsonSchema,w.override),delete D.jsonSchema.override;v(D.jsonSchema),e(D.jsonSchema),l(B,G.opts,V)},io:G.io,unrepresentable:"any",reused:G.opts.reused,cycles:G.opts.cycles,target:_(G.openapiVersion??"3.1.0","3.1.0")?void 0:"openapi-3.0",uri:(D)=>D==="__shared"?`#ZOD_OPENAPI/${D}`:`#ZOD_OPENAPI/__shared#/${F}/${D}`}),M=L.schemas.__shared?.[F]??{};L.schemas.__shared??={[F]:M};let H=new Map;for(let[D,w]of Object.entries(M))if(v(w),/^schema\d+$/.test(D)){let B=`__schema${G.registry.components.schemas.dynamicSchemaCount++}`;if(H.set(D,`"${X}${B}"`),B!==D)M[B]=w,delete M[D]}for(let[D]of G.registry.components.schemas.manual){let w=L.schemas[D];if(!w)continue;v(w)}let N={},A=JSON.parse(JSON.stringify(L).replace(/"#ZOD_OPENAPI\/__shared#\/(?:\$defs|definitions)\/([^"]+)"/g,(D,w)=>{let B=H.get(w);if(B)return B;if(G.registry.components.schemas.manual.get(w))N[w]=!0;return`"${X}${w}"`})),Z=A.schemas.__shared?.[F]??{};A.schemas.__shared??={[F]:Z};for(let[D]of G.registry.components.schemas.manual){let w=A.schemas[D];if(!w)continue;if(N[D]){if(Z[D])throw Error(`Component "${D}" is already registered as a component in the registry`);Z[D]=w}}let J=r(Z,W,G,X);if(!J.size){let D=A.schemas.zodOpenApiCreateSchema?.properties;return delete A.schemas.zodOpenApiCreateSchema,delete A.schemas.__shared,{schemas:D,components:Z,manual:A.schemas}}let U=JSON.parse(JSON.stringify(A).replace(new RegExp(`"${X}([^"]+)"`,"g"),(D,w)=>{let B=J.get(w);if(B)return`"${X}${B}"`;return`"${X}${w}"`})),I=U.schemas.zodOpenApiCreateSchema?.properties,h=U.schemas.__shared?.[F]??{};return delete U.schemas.zodOpenApiCreateSchema,delete U.schemas.__shared,{schemas:I,components:h,manual:U.schemas}},P=(Q)=>{let G={components:{schemas:{dynamicSchemaCount:0,input:new Map,output:new Map,ids:new Map,manual:new Map},headers:{ids:new Map,seen:new WeakMap},requestBodies:{ids:new Map,seen:new WeakMap},responses:{ids:new Map,seen:new WeakMap},parameters:{ids:new Map,seen:new WeakMap},callbacks:{ids:new Map,seen:new WeakMap},pathItems:{ids:new Map,seen:new WeakMap},securitySchemes:{ids:new Map,seen:new WeakMap},links:{ids:new Map,seen:new WeakMap},examples:{ids:new Map,seen:new WeakMap}},addSchema:(X,Y,K)=>{let W={};return G.components.schemas[K.io].set(Y.join(" > "),{schemaObject:W,zodType:X,source:{path:Y,...K?.source}}),W},addParameter:(X,Y,K)=>{let W=G.components.parameters.seen.get(X);if(W)return W;let F=z.get(X),V=K?.location?.name??F?.param?.name,L=K?.location?.in??F?.param?.in;if(K?.location?.name&&F?.param?.name||K?.location?.in&&F?.param?.in)throw Error(`Parameter at ${Y.join(" > ")} has both \`.meta({ param: { name, in } })\` and \`.meta({ param: { location: { in, name } } })\` information`);if(!V||!L)throw Error(`Parameter at ${Y.join(" > ")} is missing \`.meta({ param: { name, in } })\` information`);let M=G.addSchema(X,[...Y,L,V,"schema"],{io:"input",source:{type:"parameter",location:{in:L,name:V}}}),{id:H,examples:N,...A}=F?.param??{},Z={in:L,name:V,schema:M,...A},J=b(N,G,[...Y,L,V,"examples"]);if(J)Z.examples=J;if(f(X,"input"))Z.required=!0;if(!Z.description&&F?.description)Z.description=F.description;let U=H??K?.manualId;if(U){if(G.components.parameters.ids.has(U))throw Error(`Schema "${U}" at ${Y.join(" > ")} is already registered`);let I={$ref:`#/components/parameters/${U}`};if(G.components.parameters.seen.set(X,I),G.components.parameters.ids.set(U,Z),K?.manualId)return Z;return I}if(K?.location?.name||K?.location?.in)return Z;return G.components.parameters.seen.set(X,Z),Z},addHeader:(X,Y,K)=>{let W=G.components.headers.seen.get(X);if(W)return W;let F=z.get(X),{id:V,...L}=F?.header??{},M=V??K?.manualId,H=L;if(f(X,"output"))H.required=!0;if(!H.description&&F?.description)H.description=F.description;if(H.schema=G.addSchema(X,[...Y,"schema"],{io:"output",source:{type:"header"}}),M){if(G.components.schemas.ids.has(M))throw Error(`Schema "${M}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/headers/${M}`};if(G.components.headers.ids.set(M,H),G.components.headers.seen.set(X,N),K?.manualId)return H;return N}return G.components.headers.seen.set(X,H),H},addRequestBody:(X,Y,K)=>{let W=G.components.requestBodies.seen.get(X);if(W)return W;let{content:F,id:V,...L}=X,M={...L,content:C(F,{registry:G,io:"input"},[...Y,"content"])},H=V??K?.manualId;if(H){if(G.components.requestBodies.ids.has(H))throw Error(`RequestBody "${H}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/requestBodies/${H}`};if(G.components.requestBodies.ids.set(H,M),G.components.requestBodies.seen.set(X,N),K?.manualId)return M;return N}return G.components.requestBodies.seen.set(X,M),M},addPathItem:(X,Y,K)=>{let W=G.components.pathItems.seen.get(X);if(W)return W;let F={},{id:V,...L}=X,M=V??K?.manualId;for(let[H,N]of Object.entries(L)){if(T(H)){F[H]=N;continue}if(H==="get"||H==="put"||H==="post"||H==="delete"||H==="options"||H==="head"||H==="patch"||H==="trace"){F[H]=c(N,G,[...Y,H]);continue}if(H==="parameters"){F[H]=$(N,G,[...Y,H]);continue}F[H]=N}if(M){if(G.components.pathItems.ids.has(M))throw Error(`PathItem "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/pathItems/${M}`};if(G.components.pathItems.ids.set(M,F),G.components.pathItems.seen.set(X,H),K?.manualId)return F;return H}return G.components.pathItems.seen.set(X,F),F},addResponse:(X,Y,K)=>{let W=G.components.responses.seen.get(X);if(W)return W;let{content:F,headers:V,links:L,id:M,...H}=X,N=H,A=m(V,G,[...Y,"headers"]);if(A)N.headers=A;if(F)N.content=C(F,{registry:G,io:"output"},[...Y,"content"]);if(L)N.links=p(L,G,[...Y,"links"]);let Z=M??K?.manualId;if(Z){if(G.components.responses.ids.has(Z))throw Error(`Response "${Z}" at ${Y.join(" > ")} is already registered`);let J={$ref:`#/components/responses/${Z}`};if(G.components.responses.ids.set(Z,N),G.components.responses.seen.set(X,J),K?.manualId)return N;return J}return G.components.responses.seen.set(X,N),N},addCallback:(X,Y,K)=>{let W=G.components.callbacks.seen.get(X);if(W)return W;let{id:F,...V}=X,L={};for(let[H,N]of Object.entries(V)){if(T(H)){L[H]=N;continue}L[H]=G.addPathItem(N,[...Y,H])}let M=F??K?.manualId;if(M){if(G.components.callbacks.ids.has(M))throw Error(`Callback "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/callbacks/${M}`};if(G.components.callbacks.ids.set(M,L),G.components.callbacks.seen.set(X,H),K?.manualId)return L;return H}return G.components.callbacks.seen.set(X,L),L},addSecurityScheme:(X,Y,K)=>{let W=G.components.securitySchemes.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.securitySchemes.ids.has(M))throw Error(`SecurityScheme "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/securitySchemes/${M}`};if(G.components.securitySchemes.ids.set(M,L),G.components.securitySchemes.seen.set(X,H),K?.manualId)return L;return H}return G.components.securitySchemes.seen.set(X,L),L},addLink:(X,Y,K)=>{let W=G.components.links.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.links.ids.has(M))throw Error(`Link "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/links/${M}`};if(G.components.links.ids.set(M,L),G.components.links.seen.set(X,H),K?.manualId)return L;return H}return G.components.links.seen.set(X,L),L},addExample:(X,Y,K)=>{let W=G.components.examples.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.examples.ids.has(M))throw Error(`Example "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/examples/${M}`};if(G.components.examples.ids.set(M,L),G.components.examples.seen.set(X,H),K?.manualId)return L;return H}return G.components.examples.seen.set(X,L),L}};return GG(Q?.schemas,G),QG(Q?.parameters,G),XG(Q?.headers,G),YG(Q?.responses,G),FG(Q?.pathItems,G),KG(Q?.requestBodies,G),WG(Q?.callbacks,G),HG(Q?.securitySchemes,G),MG(Q?.links,G),LG(Q?.examples,G),G},GG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=z.get(Y)?.id??X;G.components.schemas.manual.set(K,{input:{schemaObject:{}},output:{schemaObject:{}},zodType:Y});continue}G.components.schemas.ids.set(X,Y)}},QG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","parameters",X];G.addParameter(Y,K,{manualId:X});continue}G.components.parameters.ids.set(X,Y)}},XG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","headers",X];G.addHeader(Y,K,{manualId:X});continue}G.components.headers.ids.set(X,Y)}},YG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){let K=G.addResponse(Y,["components","responses",X],{manualId:X});G.components.responses.ids.set(X,K),G.components.responses.seen.set(Y,K)}},KG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){G.addRequestBody(Y,["components","requestBodies",X],{manualId:X});continue}G.components.requestBodies.ids.set(X,Y)}},WG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addCallback(Y,["components","callbacks",X],{manualId:X})},FG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addPathItem(Y,["components","pathItems",X],{manualId:X})},HG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addSecurityScheme(Y,["components","securitySchemes",X],{manualId:X})},MG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addLink(Y,["components","links",X],{manualId:X})},LG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.components.examples.ids.set(X,Y)},O=(Q)=>{let{schemas:G,components:X,manual:Y}=g(Object.fromEntries(Q.registry.components.schemas[Q.io]),Q);for(let[K,W]of Object.entries(X))Q.registry.components.schemas.ids.set(K,W);for(let[K,W]of Object.entries(G)){let F=Q.registry.components.schemas[Q.io].get(K);if(F)Object.assign(F.schemaObject,W)}for(let[K,W]of Object.entries(Y)){let F=Q.registry.components.schemas.manual.get(K);if(!F)continue;if(X[K])F[Q.io].used=!0;Object.assign(F[Q.io].schemaObject,W)}},VG=(Q)=>{for(let[G,X]of Q.components.schemas.manual)if(!X.input.used){let Y=X[z.get(X.zodType)?.unusedIO??"output"].schemaObject;Q.components.schemas.ids.set(G,Y)}},d=(Q,G,X)=>{O({registry:Q,io:"input",opts:G,openapiVersion:X}),O({registry:Q,io:"output",opts:G,openapiVersion:X}),VG(Q);let Y={};if(Q.components.schemas.ids.size>0)Y.schemas=Object.fromEntries(Q.components.schemas.ids);if(Q.components.headers.ids.size>0)Y.headers=Object.fromEntries(Q.components.headers.ids);if(Q.components.requestBodies.ids.size>0)Y.requestBodies=Object.fromEntries(Q.components.requestBodies.ids);if(Q.components.responses.ids.size>0)Y.responses=Object.fromEntries(Q.components.responses.ids);if(Q.components.parameters.ids.size>0)Y.parameters=Object.fromEntries(Q.components.parameters.ids);if(Q.components.callbacks.ids.size>0)Y.callbacks=Object.fromEntries(Q.components.callbacks.ids);if(Q.components.pathItems.ids.size>0)Y.pathItems=Object.fromEntries(Q.components.pathItems.ids);if(Q.components.securitySchemes.ids.size>0)Y.securitySchemes=Object.fromEntries(Q.components.securitySchemes.ids);if(Q.components.links.ids.size>0)Y.links=Object.fromEntries(Q.components.links.ids);if(Q.components.examples.ids.size>0)Y.examples=Object.fromEntries(Q.components.examples.ids);return Y};var AG=(Q,G={})=>{let{paths:X,webhooks:Y,components:K,...W}=Q,F=W,V=P(K),L=R(X,V,["paths"]);if(L)F.paths=L;let M=R(Y,V,["webhooks"]);if(M)F.webhooks=M;let H=d(V,G,Q.openapi);if(Object.keys(H).length>0)F.components=H;return F},JG={};export{JG as oas31,s as createSchema,AG as createDocument};
2
+ import{yu as k}from"./chunk-sg9enzsp.js";import{ux as j,vx as z,zz as u}from"./chunk-5q98z8ck.js";import"./chunk-sh03ka27.js";var q=(Q)=>typeof Q==="object"&&Q!==null&&("_zod"in Q),b=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addExample(W,[...X,K]);return Y},y=(Q,G,X)=>{let{schema:Y,examples:K,...W}=Q,F=W;if(q(Y))F.schema=G.registry.addSchema(Y,[...X,"schema"],{io:G.io,source:{type:"mediaType"}});else F.schema=Y;if(K)F.examples=b(K,G.registry,[...X,"examples"]);return F},C=(Q,G,X)=>{let Y={};for(let[K,W]of Object.entries(Q))if(W)Y[K]=y(W,G,[...X,K]);return Y},E=(Q,G,X)=>{let Y=Q._zod.def;switch(Y.type){case"object":return Q;case"lazy":return E(Y.getter(),G,X);case"pipe":if(G==="input")return E(Y.in,G,X);return E(Y.out,G,X)}throw Error(`Failed to unwrap ZodObject from type: ${Q._zod.def.type} at ${X.join(" > ")}`)},f=(Q,G)=>{if(G==="input")return Q._zod.optin===void 0;return Q._zod.optout===void 0},m=(Q,G,X)=>{if(!Q)return;if(q(Q)){let Y=E(Q,"output",X),K={};for(let[W,F]of Object.entries(Y._zod.def.shape))K[W]=G.addHeader(F,[...X,W]);return K}return Q},p=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addLink(W,[...X,K]);return Y},$=(Q,G,X)=>{if(!Q)return;let Y=[];for(let K of Q){if(q(K)){let W=G.addParameter(K,[...X,"parameters"]);Y.push(W);continue}Y.push(K)}return Y},i=(Q,G,X)=>{if(!Q)return;let Y=[];for(let[K,W]of Object.entries(Q??{})){let F=E(W,"input",X);for(let[V,L]of Object.entries(F._zod.def.shape)){let M=G.addParameter(L,[...X,K,V],{location:{in:K,name:V}});Y.push(M)}}return Y},T=(Q)=>Q.startsWith("x-"),n=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addCallback(W,[...X,K])}return Y},o=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(!W)continue;if(T(K)){Y[K]=W;continue}if("$ref"in W){Y[K]=W;continue}Y[K]=G.addResponse(W,[...X,K])}return Y},c=(Q,G,X)=>{let{parameters:Y,requestParams:K,requestBody:W,responses:F,callbacks:V,...L}=Q,M=L,H=$(Y,G,[...X,"parameters"]),N=i(K,G,[...X,"requestParams"]);if(N||H)M.parameters=[...N??[],...H??[]];let A=W&&G.addRequestBody(W,X);if(A)M.requestBody=A;let Z=o(F,G,[...X,"responses"]);if(Z)M.responses=Z;let J=n(V,G,[...X,"callbacks"]);if(J)M.callbacks=J;return M},R=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addPathItem(W,[...X,K])}return Y},S=["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1"],_=(Q,G)=>S.indexOf(Q)>=S.indexOf(G),a=(Q)=>{let G=Q.zodSchema._zod.def;switch(G.type){case"bigint":Q.jsonSchema.type="integer",Q.jsonSchema.format="int64";break;case"union":{if("discriminator"in G&&typeof G.discriminator==="string"){Q.jsonSchema.oneOf??=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf,Q.jsonSchema.type="object",Q.jsonSchema.discriminator={propertyName:G.discriminator};let Y={};for(let[K,W]of Object.entries(Q.jsonSchema.oneOf)){let F=W.$ref;if(!F){delete Q.jsonSchema.discriminator;return}let V=G.options[Number(K)]._zod.propValues?.[G.discriminator];if(!V?.size)return;for(let L of[...V??[]]){if(typeof L!=="string"&&typeof L!=="number"&&typeof L!=="boolean")return;Y[String(L)]=F}}Q.jsonSchema.discriminator.mapping=Y}let X=z.get(Q.zodSchema);if(typeof X?.unionOneOf==="boolean"){if(X.unionOneOf)Q.jsonSchema.oneOf=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf;delete Q.jsonSchema.unionOneOf}break}case"date":Q.jsonSchema.type="string";break;case"literal":if(G.values.includes(void 0))break;break;case"undefined":Q.jsonSchema.not={};break}},l=(Q,G,X)=>{if(X.context&&Q.zodSchema._zod.parent!==X.context.zodSchema){if(X.context.zodSchema._zod.def.type==="pipe")throw Error(`Zod transform found at ${X.context.path.join(" > ")} are not supported in output schemas. Please use \`.overwrite()\` or wrap the schema in a \`.pipe()\` or assign it manual metadata with \`.meta()\``);throw Error(`Zod schema of type \`${X.context.zodSchema._zod.def.type}\` at ${X.context?.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)}if(X.context=void 0,Object.keys(Q.jsonSchema).length)return;let Y=Q.zodSchema._zod.def,K=G.allowEmptySchema?.[Y.type];if(K===!0||K?.[Q.io])return;switch(Y.type){case"optional":l({...Q,zodSchema:Y.innerType},G,X);return;case"any":return;case"unknown":return;case"pipe":if(Q.io==="output"){if(!Q.zodSchema._zod.parent){X.context=Q;return}}return;case"transform":if(Q.io==="output")return;break;case"literal":if(Y.values.includes(void 0))throw Error(`Zod literal at ${Q.path.join(" > ")} cannot include \`undefined\` as a value. Please use \`z.undefined()\` or \`.optional()\` instead.`);return;case"custom":if(!Q.zodSchema._zod.parent){X.context=Q;return}}throw Error(`Zod schema of type \`${Y.type}\` at ${Q.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)},r=(Q,G,X,Y)=>{let K=new Map;if(X.io==="input")return K;let W=new Map,F=new Map;for(let[V,L]of Object.entries(Q)){let M=JSON.stringify(L),H=new RegExp(`"${Y}([^"]+)"`,"g"),N=M.matchAll(H),A=new Set;for(let Z of N){let J=Z[1];if(J!==V)A.add(J)}F.set(V,M),W.set(V,{dependencies:A})}for(let[V]of F){if(!X.registry.components.schemas.ids.get(V))continue;if(x(W,F,X.registry,V))continue;let L=G.get(V)??`${V}${X.opts.outputIdSuffix??"Output"}`;K.set(V,L),Q[L]=Q[V],delete Q[V]}return K},x=(Q,G,X,Y,K=new Set)=>{if(K.has(Y))return!0;let W=Q.get(Y);if(W.pure!==void 0)return W.pure;let F=G.get(Y),V=X.components.schemas.ids.get(Y);if(V&&F!==JSON.stringify(V))return W.pure=!1,!1;K.add(Y);let L=[...W.dependencies].every((M)=>x(Q,G,X,M,new Set(K)));return W.pure=L,L},s=(Q,G={})=>{G.registry??=P({schemas:G.schemaComponents}),G.opts??={},G.io??="output";let X=Object.fromEntries(G.registry.components.schemas[G.io]),Y={zodOpenApiCreateSchema:{zodType:Q}};Object.assign(Y,X);let K=g(Y,{registry:G.registry,io:G.io,opts:{...G.opts,schemaRefPath:G.schemaRefPath},openapiVersion:G.openapiVersion});return{schema:K.schemas.zodOpenApiCreateSchema,components:K.components}},t=["param","header","unusedIO","override","outputId"],e=(Q)=>{t.forEach((G)=>{delete Q[G]})},v=(Q)=>{delete Q.$schema,delete Q.id,delete Q.$id},g=(Q,G)=>{let X=G.opts.schemaRefPath??"#/components/schemas/",Y={};for(let[D,{zodType:w}]of Object.entries(Q))Y[D]=w;let K=j();K.add(k(Y),{id:"zodOpenApiCreateSchema"});for(let[D,{zodType:w}]of G.registry.components.schemas.manual)K.add(w,{id:D});let W=new Map,F=_(G.openapiVersion??"3.1.0","3.1.0")?"$defs":"definitions",V={},L=u(K,{override(D){let w=z.get(D.zodSchema);if(w?.outputId&&w?.id)W.set(w.id,w.outputId);if(D.jsonSchema.$ref)return;let B={...D,io:G.io};if(a(B),typeof G.opts.override==="function")G.opts.override(B);if(typeof w?.override==="function")w.override(B),delete D.jsonSchema.override;if(typeof w?.override==="object"&&w.override!==null)Object.assign(D.jsonSchema,w.override),delete D.jsonSchema.override;v(D.jsonSchema),e(D.jsonSchema),l(B,G.opts,V)},io:G.io,unrepresentable:"any",reused:G.opts.reused,cycles:G.opts.cycles,target:_(G.openapiVersion??"3.1.0","3.1.0")?void 0:"openapi-3.0",uri:(D)=>D==="__shared"?`#ZOD_OPENAPI/${D}`:`#ZOD_OPENAPI/__shared#/${F}/${D}`}),M=L.schemas.__shared?.[F]??{};L.schemas.__shared??={[F]:M};let H=new Map;for(let[D,w]of Object.entries(M))if(v(w),/^schema\d+$/.test(D)){let B=`__schema${G.registry.components.schemas.dynamicSchemaCount++}`;if(H.set(D,`"${X}${B}"`),B!==D)M[B]=w,delete M[D]}for(let[D]of G.registry.components.schemas.manual){let w=L.schemas[D];if(!w)continue;v(w)}let N={},A=JSON.parse(JSON.stringify(L).replace(/"#ZOD_OPENAPI\/__shared#\/(?:\$defs|definitions)\/([^"]+)"/g,(D,w)=>{let B=H.get(w);if(B)return B;if(G.registry.components.schemas.manual.get(w))N[w]=!0;return`"${X}${w}"`})),Z=A.schemas.__shared?.[F]??{};A.schemas.__shared??={[F]:Z};for(let[D]of G.registry.components.schemas.manual){let w=A.schemas[D];if(!w)continue;if(N[D]){if(Z[D])throw Error(`Component "${D}" is already registered as a component in the registry`);Z[D]=w}}let J=r(Z,W,G,X);if(!J.size){let D=A.schemas.zodOpenApiCreateSchema?.properties;return delete A.schemas.zodOpenApiCreateSchema,delete A.schemas.__shared,{schemas:D,components:Z,manual:A.schemas}}let U=JSON.parse(JSON.stringify(A).replace(new RegExp(`"${X}([^"]+)"`,"g"),(D,w)=>{let B=J.get(w);if(B)return`"${X}${B}"`;return`"${X}${w}"`})),I=U.schemas.zodOpenApiCreateSchema?.properties,h=U.schemas.__shared?.[F]??{};return delete U.schemas.zodOpenApiCreateSchema,delete U.schemas.__shared,{schemas:I,components:h,manual:U.schemas}},P=(Q)=>{let G={components:{schemas:{dynamicSchemaCount:0,input:new Map,output:new Map,ids:new Map,manual:new Map},headers:{ids:new Map,seen:new WeakMap},requestBodies:{ids:new Map,seen:new WeakMap},responses:{ids:new Map,seen:new WeakMap},parameters:{ids:new Map,seen:new WeakMap},callbacks:{ids:new Map,seen:new WeakMap},pathItems:{ids:new Map,seen:new WeakMap},securitySchemes:{ids:new Map,seen:new WeakMap},links:{ids:new Map,seen:new WeakMap},examples:{ids:new Map,seen:new WeakMap}},addSchema:(X,Y,K)=>{let W={};return G.components.schemas[K.io].set(Y.join(" > "),{schemaObject:W,zodType:X,source:{path:Y,...K?.source}}),W},addParameter:(X,Y,K)=>{let W=G.components.parameters.seen.get(X);if(W)return W;let F=z.get(X),V=K?.location?.name??F?.param?.name,L=K?.location?.in??F?.param?.in;if(K?.location?.name&&F?.param?.name||K?.location?.in&&F?.param?.in)throw Error(`Parameter at ${Y.join(" > ")} has both \`.meta({ param: { name, in } })\` and \`.meta({ param: { location: { in, name } } })\` information`);if(!V||!L)throw Error(`Parameter at ${Y.join(" > ")} is missing \`.meta({ param: { name, in } })\` information`);let M=G.addSchema(X,[...Y,L,V,"schema"],{io:"input",source:{type:"parameter",location:{in:L,name:V}}}),{id:H,examples:N,...A}=F?.param??{},Z={in:L,name:V,schema:M,...A},J=b(N,G,[...Y,L,V,"examples"]);if(J)Z.examples=J;if(f(X,"input"))Z.required=!0;if(!Z.description&&F?.description)Z.description=F.description;let U=H??K?.manualId;if(U){if(G.components.parameters.ids.has(U))throw Error(`Schema "${U}" at ${Y.join(" > ")} is already registered`);let I={$ref:`#/components/parameters/${U}`};if(G.components.parameters.seen.set(X,I),G.components.parameters.ids.set(U,Z),K?.manualId)return Z;return I}if(K?.location?.name||K?.location?.in)return Z;return G.components.parameters.seen.set(X,Z),Z},addHeader:(X,Y,K)=>{let W=G.components.headers.seen.get(X);if(W)return W;let F=z.get(X),{id:V,...L}=F?.header??{},M=V??K?.manualId,H=L;if(f(X,"output"))H.required=!0;if(!H.description&&F?.description)H.description=F.description;if(H.schema=G.addSchema(X,[...Y,"schema"],{io:"output",source:{type:"header"}}),M){if(G.components.schemas.ids.has(M))throw Error(`Schema "${M}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/headers/${M}`};if(G.components.headers.ids.set(M,H),G.components.headers.seen.set(X,N),K?.manualId)return H;return N}return G.components.headers.seen.set(X,H),H},addRequestBody:(X,Y,K)=>{let W=G.components.requestBodies.seen.get(X);if(W)return W;let{content:F,id:V,...L}=X,M={...L,content:C(F,{registry:G,io:"input"},[...Y,"content"])},H=V??K?.manualId;if(H){if(G.components.requestBodies.ids.has(H))throw Error(`RequestBody "${H}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/requestBodies/${H}`};if(G.components.requestBodies.ids.set(H,M),G.components.requestBodies.seen.set(X,N),K?.manualId)return M;return N}return G.components.requestBodies.seen.set(X,M),M},addPathItem:(X,Y,K)=>{let W=G.components.pathItems.seen.get(X);if(W)return W;let F={},{id:V,...L}=X,M=V??K?.manualId;for(let[H,N]of Object.entries(L)){if(T(H)){F[H]=N;continue}if(H==="get"||H==="put"||H==="post"||H==="delete"||H==="options"||H==="head"||H==="patch"||H==="trace"){F[H]=c(N,G,[...Y,H]);continue}if(H==="parameters"){F[H]=$(N,G,[...Y,H]);continue}F[H]=N}if(M){if(G.components.pathItems.ids.has(M))throw Error(`PathItem "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/pathItems/${M}`};if(G.components.pathItems.ids.set(M,F),G.components.pathItems.seen.set(X,H),K?.manualId)return F;return H}return G.components.pathItems.seen.set(X,F),F},addResponse:(X,Y,K)=>{let W=G.components.responses.seen.get(X);if(W)return W;let{content:F,headers:V,links:L,id:M,...H}=X,N=H,A=m(V,G,[...Y,"headers"]);if(A)N.headers=A;if(F)N.content=C(F,{registry:G,io:"output"},[...Y,"content"]);if(L)N.links=p(L,G,[...Y,"links"]);let Z=M??K?.manualId;if(Z){if(G.components.responses.ids.has(Z))throw Error(`Response "${Z}" at ${Y.join(" > ")} is already registered`);let J={$ref:`#/components/responses/${Z}`};if(G.components.responses.ids.set(Z,N),G.components.responses.seen.set(X,J),K?.manualId)return N;return J}return G.components.responses.seen.set(X,N),N},addCallback:(X,Y,K)=>{let W=G.components.callbacks.seen.get(X);if(W)return W;let{id:F,...V}=X,L={};for(let[H,N]of Object.entries(V)){if(T(H)){L[H]=N;continue}L[H]=G.addPathItem(N,[...Y,H])}let M=F??K?.manualId;if(M){if(G.components.callbacks.ids.has(M))throw Error(`Callback "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/callbacks/${M}`};if(G.components.callbacks.ids.set(M,L),G.components.callbacks.seen.set(X,H),K?.manualId)return L;return H}return G.components.callbacks.seen.set(X,L),L},addSecurityScheme:(X,Y,K)=>{let W=G.components.securitySchemes.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.securitySchemes.ids.has(M))throw Error(`SecurityScheme "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/securitySchemes/${M}`};if(G.components.securitySchemes.ids.set(M,L),G.components.securitySchemes.seen.set(X,H),K?.manualId)return L;return H}return G.components.securitySchemes.seen.set(X,L),L},addLink:(X,Y,K)=>{let W=G.components.links.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.links.ids.has(M))throw Error(`Link "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/links/${M}`};if(G.components.links.ids.set(M,L),G.components.links.seen.set(X,H),K?.manualId)return L;return H}return G.components.links.seen.set(X,L),L},addExample:(X,Y,K)=>{let W=G.components.examples.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.examples.ids.has(M))throw Error(`Example "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/examples/${M}`};if(G.components.examples.ids.set(M,L),G.components.examples.seen.set(X,H),K?.manualId)return L;return H}return G.components.examples.seen.set(X,L),L}};return GG(Q?.schemas,G),QG(Q?.parameters,G),XG(Q?.headers,G),YG(Q?.responses,G),FG(Q?.pathItems,G),KG(Q?.requestBodies,G),WG(Q?.callbacks,G),HG(Q?.securitySchemes,G),MG(Q?.links,G),LG(Q?.examples,G),G},GG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=z.get(Y)?.id??X;G.components.schemas.manual.set(K,{input:{schemaObject:{}},output:{schemaObject:{}},zodType:Y});continue}G.components.schemas.ids.set(X,Y)}},QG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","parameters",X];G.addParameter(Y,K,{manualId:X});continue}G.components.parameters.ids.set(X,Y)}},XG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","headers",X];G.addHeader(Y,K,{manualId:X});continue}G.components.headers.ids.set(X,Y)}},YG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){let K=G.addResponse(Y,["components","responses",X],{manualId:X});G.components.responses.ids.set(X,K),G.components.responses.seen.set(Y,K)}},KG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){G.addRequestBody(Y,["components","requestBodies",X],{manualId:X});continue}G.components.requestBodies.ids.set(X,Y)}},WG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addCallback(Y,["components","callbacks",X],{manualId:X})},FG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addPathItem(Y,["components","pathItems",X],{manualId:X})},HG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addSecurityScheme(Y,["components","securitySchemes",X],{manualId:X})},MG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addLink(Y,["components","links",X],{manualId:X})},LG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.components.examples.ids.set(X,Y)},O=(Q)=>{let{schemas:G,components:X,manual:Y}=g(Object.fromEntries(Q.registry.components.schemas[Q.io]),Q);for(let[K,W]of Object.entries(X))Q.registry.components.schemas.ids.set(K,W);for(let[K,W]of Object.entries(G)){let F=Q.registry.components.schemas[Q.io].get(K);if(F)Object.assign(F.schemaObject,W)}for(let[K,W]of Object.entries(Y)){let F=Q.registry.components.schemas.manual.get(K);if(!F)continue;if(X[K])F[Q.io].used=!0;Object.assign(F[Q.io].schemaObject,W)}},VG=(Q)=>{for(let[G,X]of Q.components.schemas.manual)if(!X.input.used){let Y=X[z.get(X.zodType)?.unusedIO??"output"].schemaObject;Q.components.schemas.ids.set(G,Y)}},d=(Q,G,X)=>{O({registry:Q,io:"input",opts:G,openapiVersion:X}),O({registry:Q,io:"output",opts:G,openapiVersion:X}),VG(Q);let Y={};if(Q.components.schemas.ids.size>0)Y.schemas=Object.fromEntries(Q.components.schemas.ids);if(Q.components.headers.ids.size>0)Y.headers=Object.fromEntries(Q.components.headers.ids);if(Q.components.requestBodies.ids.size>0)Y.requestBodies=Object.fromEntries(Q.components.requestBodies.ids);if(Q.components.responses.ids.size>0)Y.responses=Object.fromEntries(Q.components.responses.ids);if(Q.components.parameters.ids.size>0)Y.parameters=Object.fromEntries(Q.components.parameters.ids);if(Q.components.callbacks.ids.size>0)Y.callbacks=Object.fromEntries(Q.components.callbacks.ids);if(Q.components.pathItems.ids.size>0)Y.pathItems=Object.fromEntries(Q.components.pathItems.ids);if(Q.components.securitySchemes.ids.size>0)Y.securitySchemes=Object.fromEntries(Q.components.securitySchemes.ids);if(Q.components.links.ids.size>0)Y.links=Object.fromEntries(Q.components.links.ids);if(Q.components.examples.ids.size>0)Y.examples=Object.fromEntries(Q.components.examples.ids);return Y};var AG=(Q,G={})=>{let{paths:X,webhooks:Y,components:K,...W}=Q,F=W,V=P(K),L=R(X,V,["paths"]);if(L)F.paths=L;let M=R(Y,V,["webhooks"]);if(M)F.webhooks=M;let H=d(V,G,Q.openapi);if(Object.keys(H).length>0)F.components=H;return F},JG={};export{JG as oas31,s as createSchema,AG as createDocument};