jialing-code 1.1.0

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 (460) hide show
  1. package/README.md +97 -0
  2. package/dist/chunk-065m026w.js +97 -0
  3. package/dist/chunk-06saje2v.js +39 -0
  4. package/dist/chunk-0731m51q.js +8 -0
  5. package/dist/chunk-0975ccyw.js +265 -0
  6. package/dist/chunk-09n3fjx5.js +67 -0
  7. package/dist/chunk-0bdjdzew.js +41 -0
  8. package/dist/chunk-0ce6kd7y.js +212 -0
  9. package/dist/chunk-0e1xsncc.js +969 -0
  10. package/dist/chunk-0m2861gw.js +154 -0
  11. package/dist/chunk-0paqc2yw.js +15 -0
  12. package/dist/chunk-0rg6yrhy.js +99 -0
  13. package/dist/chunk-0sakxrcf.js +643 -0
  14. package/dist/chunk-0v9hwxvz.js +105 -0
  15. package/dist/chunk-0vkfrmqm.js +690 -0
  16. package/dist/chunk-0vvfnhhv.js +248 -0
  17. package/dist/chunk-0w4rsycj.js +145 -0
  18. package/dist/chunk-0x9b2nmd.js +63 -0
  19. package/dist/chunk-0xjaqda8.js +1124 -0
  20. package/dist/chunk-1141xmr4.js +8 -0
  21. package/dist/chunk-13d1842d.js +154 -0
  22. package/dist/chunk-1921a6yb.js +32 -0
  23. package/dist/chunk-1ad8mk9g.js +527 -0
  24. package/dist/chunk-1ax41pws.js +28 -0
  25. package/dist/chunk-1c8z1b5v.js +16 -0
  26. package/dist/chunk-1cbn5kxf.js +7 -0
  27. package/dist/chunk-1eapde8a.js +726 -0
  28. package/dist/chunk-1h2famwb.js +49 -0
  29. package/dist/chunk-1jggnf7z.js +85 -0
  30. package/dist/chunk-1k92pn9c.js +32 -0
  31. package/dist/chunk-1qakq4sn.js +802 -0
  32. package/dist/chunk-1rvz0433.js +722 -0
  33. package/dist/chunk-1xkekb9y.js +19 -0
  34. package/dist/chunk-238g70xa.js +36 -0
  35. package/dist/chunk-24ge0eqa.js +106 -0
  36. package/dist/chunk-278vghwm.js +5395 -0
  37. package/dist/chunk-27xc1csx.js +104 -0
  38. package/dist/chunk-2a42s11t.js +412 -0
  39. package/dist/chunk-2aa02aw6.js +438 -0
  40. package/dist/chunk-2eykm0j0.js +20 -0
  41. package/dist/chunk-2gzv8nrw.js +205 -0
  42. package/dist/chunk-2k995y2x.js +880 -0
  43. package/dist/chunk-2nayx6q1.js +63 -0
  44. package/dist/chunk-2sd2w2h4.js +44 -0
  45. package/dist/chunk-2tw2ve8h.js +145 -0
  46. package/dist/chunk-30rst83v.js +168 -0
  47. package/dist/chunk-3aavh06g.js +1581 -0
  48. package/dist/chunk-3b0yvt2h.js +469 -0
  49. package/dist/chunk-3be7ka25.js +56 -0
  50. package/dist/chunk-3c25bcsw.js +17 -0
  51. package/dist/chunk-3dyxka97.js +584 -0
  52. package/dist/chunk-3f7rypmf.js +16544 -0
  53. package/dist/chunk-3fsd7f51.js +93 -0
  54. package/dist/chunk-3gqdqmzb.js +75 -0
  55. package/dist/chunk-3h8a89gy.js +46 -0
  56. package/dist/chunk-3m84sret.js +71 -0
  57. package/dist/chunk-3nb7j3js.js +96 -0
  58. package/dist/chunk-3p08nvn2.js +98 -0
  59. package/dist/chunk-3r09htpc.js +318 -0
  60. package/dist/chunk-3r24h7t6.js +113 -0
  61. package/dist/chunk-3rkfxjtq.js +80 -0
  62. package/dist/chunk-3tmk7dc2.js +604 -0
  63. package/dist/chunk-3w6s9m5w.js +16 -0
  64. package/dist/chunk-43qjymy5.js +92 -0
  65. package/dist/chunk-44fpr6jq.js +434 -0
  66. package/dist/chunk-45kxdsp8.js +444 -0
  67. package/dist/chunk-495d85x1.js +8066 -0
  68. package/dist/chunk-4ba796se.js +1095 -0
  69. package/dist/chunk-4g3v8y12.js +23 -0
  70. package/dist/chunk-4h53xj8n.js +3445 -0
  71. package/dist/chunk-4jm600zv.js +13 -0
  72. package/dist/chunk-4jy9dtwk.js +116 -0
  73. package/dist/chunk-4p60dd45.js +55 -0
  74. package/dist/chunk-4z0jsrqg.js +81 -0
  75. package/dist/chunk-4zfkzkt6.js +37 -0
  76. package/dist/chunk-55wgxwa9.js +13877 -0
  77. package/dist/chunk-5dbk24zg.js +890 -0
  78. package/dist/chunk-5hzvp4va.js +115 -0
  79. package/dist/chunk-5kbt1mbt.js +500 -0
  80. package/dist/chunk-5pen7vr8.js +176 -0
  81. package/dist/chunk-5r280eng.js +198 -0
  82. package/dist/chunk-5srym52s.js +88 -0
  83. package/dist/chunk-600kg7k6.js +41 -0
  84. package/dist/chunk-616w0qj3.js +160 -0
  85. package/dist/chunk-62jw1t8c.js +94 -0
  86. package/dist/chunk-62xmt9mk.js +372 -0
  87. package/dist/chunk-64bvg7c3.js +229 -0
  88. package/dist/chunk-65yhe4s0.js +281 -0
  89. package/dist/chunk-6aewh27m.js +102 -0
  90. package/dist/chunk-6bd8brc4.js +48 -0
  91. package/dist/chunk-6dj5t602.js +341 -0
  92. package/dist/chunk-6exxdk1p.js +6956 -0
  93. package/dist/chunk-6f5j8fs0.js +752 -0
  94. package/dist/chunk-6g62sjpf.js +328 -0
  95. package/dist/chunk-6gecq2ta.js +1493 -0
  96. package/dist/chunk-6gr3c3w9.js +378 -0
  97. package/dist/chunk-6kpbgc5w.js +23 -0
  98. package/dist/chunk-6kseqw79.js +154 -0
  99. package/dist/chunk-6mxm1qd0.js +40764 -0
  100. package/dist/chunk-6n2qgm9v.js +8 -0
  101. package/dist/chunk-6tq2v3rk.js +186 -0
  102. package/dist/chunk-6wsdhj3v.js +93 -0
  103. package/dist/chunk-6zw9fhgb.js +4389 -0
  104. package/dist/chunk-71grc1mw.js +111 -0
  105. package/dist/chunk-73rpbt04.js +1947 -0
  106. package/dist/chunk-748feghg.js +604 -0
  107. package/dist/chunk-75e8gtg9.js +84 -0
  108. package/dist/chunk-75th4717.js +780 -0
  109. package/dist/chunk-760252na.js +101 -0
  110. package/dist/chunk-7739pg2c.js +4261 -0
  111. package/dist/chunk-778fnx46.js +472 -0
  112. package/dist/chunk-77g09znh.js +391 -0
  113. package/dist/chunk-7aw745vx.js +40175 -0
  114. package/dist/chunk-7m2nd8da.js +110 -0
  115. package/dist/chunk-7n35vjtw.js +444 -0
  116. package/dist/chunk-7n5ss4sh.js +144 -0
  117. package/dist/chunk-7rjnxcfe.js +107 -0
  118. package/dist/chunk-7sb5axvf.js +122 -0
  119. package/dist/chunk-7wm5s02e.js +216 -0
  120. package/dist/chunk-7ymfj7m3.js +151 -0
  121. package/dist/chunk-7z8j9qfn.js +121 -0
  122. package/dist/chunk-7zsapntc.js +216 -0
  123. package/dist/chunk-805fhkfh.js +908 -0
  124. package/dist/chunk-80k1nj24.js +253 -0
  125. package/dist/chunk-83hfzbx3.js +10 -0
  126. package/dist/chunk-85cypsdd.js +92 -0
  127. package/dist/chunk-8760caxf.js +2644 -0
  128. package/dist/chunk-88f6egg6.js +387 -0
  129. package/dist/chunk-88r7kwgj.js +22 -0
  130. package/dist/chunk-89e1v45e.js +463 -0
  131. package/dist/chunk-8bedvdm1.js +32 -0
  132. package/dist/chunk-8c4x4vdz.js +177 -0
  133. package/dist/chunk-8hq5kk3y.js +44 -0
  134. package/dist/chunk-8ngxagxq.js +18 -0
  135. package/dist/chunk-8tnsngw2.js +31 -0
  136. package/dist/chunk-8wjnca8h.js +307 -0
  137. package/dist/chunk-8y12jxg8.js +10 -0
  138. package/dist/chunk-8ymf4e6z.js +48 -0
  139. package/dist/chunk-90wp6wez.js +10510 -0
  140. package/dist/chunk-92bp5bnf.js +650 -0
  141. package/dist/chunk-92q8sx5z.js +90 -0
  142. package/dist/chunk-958rtmtx.js +10476 -0
  143. package/dist/chunk-9e2kqv5g.js +125 -0
  144. package/dist/chunk-9f4f1hy5.js +281 -0
  145. package/dist/chunk-9gbamk79.js +93 -0
  146. package/dist/chunk-9k5s3ryh.js +167 -0
  147. package/dist/chunk-9xzfqm15.js +97 -0
  148. package/dist/chunk-9zgdvbm6.js +110 -0
  149. package/dist/chunk-a0p3q8jw.js +24 -0
  150. package/dist/chunk-a22sayzp.js +220 -0
  151. package/dist/chunk-a8ejc632.js +3094 -0
  152. package/dist/chunk-a8gj9d9z.js +120 -0
  153. package/dist/chunk-a9vdeb6y.js +258 -0
  154. package/dist/chunk-a9yev47v.js +674 -0
  155. package/dist/chunk-a9zh40sj.js +48 -0
  156. package/dist/chunk-ack5mfba.js +105 -0
  157. package/dist/chunk-ae76ded0.js +30 -0
  158. package/dist/chunk-akjw4dh6.js +538 -0
  159. package/dist/chunk-asc6wz4q.js +1188 -0
  160. package/dist/chunk-atqejh3p.js +273 -0
  161. package/dist/chunk-atv2e6b7.js +61 -0
  162. package/dist/chunk-axvvkwz8.js +1551 -0
  163. package/dist/chunk-azgz7kj9.js +38 -0
  164. package/dist/chunk-b3zave8q.js +275 -0
  165. package/dist/chunk-b4wg70y1.js +54 -0
  166. package/dist/chunk-b8b13qn2.js +100 -0
  167. package/dist/chunk-bg3mt9bm.js +28 -0
  168. package/dist/chunk-bh4jvcjn.js +91 -0
  169. package/dist/chunk-bhdt6k7w.js +15 -0
  170. package/dist/chunk-bm1qb16p.js +17 -0
  171. package/dist/chunk-bpvsd1j1.js +266 -0
  172. package/dist/chunk-bqfnp99q.js +477 -0
  173. package/dist/chunk-bsbmmfyt.js +17 -0
  174. package/dist/chunk-bsbt34jm.js +42 -0
  175. package/dist/chunk-c78akdhr.js +458 -0
  176. package/dist/chunk-cdz5yb0r.js +57 -0
  177. package/dist/chunk-cfv996bs.js +22 -0
  178. package/dist/chunk-cgfdkzhb.js +12 -0
  179. package/dist/chunk-ckh4r5er.js +257 -0
  180. package/dist/chunk-cmgjnvn9.js +89 -0
  181. package/dist/chunk-cpjgvay8.js +687 -0
  182. package/dist/chunk-crfryjx9.js +276 -0
  183. package/dist/chunk-ctw5jwcd.js +213 -0
  184. package/dist/chunk-cvy3vntc.js +65 -0
  185. package/dist/chunk-cwbzz504.js +94 -0
  186. package/dist/chunk-cy2hswr1.js +15 -0
  187. package/dist/chunk-cyejkay3.js +222 -0
  188. package/dist/chunk-d18z9pna.js +106 -0
  189. package/dist/chunk-d5cq0n0v.js +162 -0
  190. package/dist/chunk-db45aryp.js +50 -0
  191. package/dist/chunk-de8nqh0z.js +790 -0
  192. package/dist/chunk-dfw6h350.js +2336 -0
  193. package/dist/chunk-dgqrcy74.js +48 -0
  194. package/dist/chunk-dn75ptgd.js +184 -0
  195. package/dist/chunk-dnh7jtpb.js +37 -0
  196. package/dist/chunk-dpshyv9m.js +90 -0
  197. package/dist/chunk-dt8cdvnm.js +642 -0
  198. package/dist/chunk-dtxby6fr.js +306 -0
  199. package/dist/chunk-dv1wfr85.js +6373 -0
  200. package/dist/chunk-dw363edx.js +1154 -0
  201. package/dist/chunk-dwrdacck.js +62 -0
  202. package/dist/chunk-dxnnv5e3.js +276 -0
  203. package/dist/chunk-e3g8q4cn.js +1646 -0
  204. package/dist/chunk-e3m9k9s2.js +542 -0
  205. package/dist/chunk-e4q49asn.js +155 -0
  206. package/dist/chunk-e5pntxye.js +37 -0
  207. package/dist/chunk-e7393td6.js +42 -0
  208. package/dist/chunk-ead42yrh.js +87 -0
  209. package/dist/chunk-eb90vwvr.js +152 -0
  210. package/dist/chunk-ecvwk9hg.js +250 -0
  211. package/dist/chunk-edjd6aay.js +173 -0
  212. package/dist/chunk-eg0h8mtm.js +130 -0
  213. package/dist/chunk-ehtwnxpg.js +1591 -0
  214. package/dist/chunk-ek686gx1.js +94 -0
  215. package/dist/chunk-eqp1rfft.js +17 -0
  216. package/dist/chunk-evhwt0ar.js +1015 -0
  217. package/dist/chunk-ewadzrm8.js +103 -0
  218. package/dist/chunk-ewsgsw9h.js +172291 -0
  219. package/dist/chunk-f0pa0r7e.js +3198 -0
  220. package/dist/chunk-f2mhrmww.js +62 -0
  221. package/dist/chunk-f39zxvwn.js +401 -0
  222. package/dist/chunk-f46z54tq.js +374 -0
  223. package/dist/chunk-f5ma3nh5.js +3436 -0
  224. package/dist/chunk-f60q23az.js +3038 -0
  225. package/dist/chunk-f6v2nz57.js +107 -0
  226. package/dist/chunk-f6yjan38.js +38 -0
  227. package/dist/chunk-fbv4apne.js +51 -0
  228. package/dist/chunk-fem4s778.js +70 -0
  229. package/dist/chunk-fezm1kn8.js +376 -0
  230. package/dist/chunk-fm1n3ysp.js +6108 -0
  231. package/dist/chunk-frg83bfw.js +225 -0
  232. package/dist/chunk-fscm8db0.js +692 -0
  233. package/dist/chunk-fyc5fepv.js +10 -0
  234. package/dist/chunk-g0j0t6qk.js +26 -0
  235. package/dist/chunk-g0nc1ftf.js +849 -0
  236. package/dist/chunk-g338npwr.js +1061 -0
  237. package/dist/chunk-g3t0act8.js +8 -0
  238. package/dist/chunk-g75w4hw3.js +26 -0
  239. package/dist/chunk-g8vp82en.js +1866 -0
  240. package/dist/chunk-gax0fcbx.js +182 -0
  241. package/dist/chunk-gsz4dh3y.js +606 -0
  242. package/dist/chunk-gtfffm7h.js +440 -0
  243. package/dist/chunk-gver9zb9.js +420 -0
  244. package/dist/chunk-gyj242zr.js +20 -0
  245. package/dist/chunk-h0qngp9w.js +157 -0
  246. package/dist/chunk-h14kemnk.js +123 -0
  247. package/dist/chunk-h8wj1a74.js +8960 -0
  248. package/dist/chunk-h9mcb2eg.js +87 -0
  249. package/dist/chunk-h9nh2980.js +91 -0
  250. package/dist/chunk-hakdhagh.js +16606 -0
  251. package/dist/chunk-hbc6ymdv.js +55 -0
  252. package/dist/chunk-hh7cmy4k.js +20 -0
  253. package/dist/chunk-hjhc4cpt.js +69 -0
  254. package/dist/chunk-hjwez8qc.js +5018 -0
  255. package/dist/chunk-hk9xz7gk.js +118 -0
  256. package/dist/chunk-hqmz36b3.js +552 -0
  257. package/dist/chunk-hrzerbfw.js +1299 -0
  258. package/dist/chunk-hs8ph4p8.js +8 -0
  259. package/dist/chunk-ht1xwrnd.js +716 -0
  260. package/dist/chunk-hvmfg2dc.js +338 -0
  261. package/dist/chunk-hx2tr4ep.js +7189 -0
  262. package/dist/chunk-hzhe8ygc.js +547 -0
  263. package/dist/chunk-j2k4p94p.js +55 -0
  264. package/dist/chunk-j3a4p81y.js +184 -0
  265. package/dist/chunk-j49g6g3s.js +57 -0
  266. package/dist/chunk-j5d5hp9h.js +71 -0
  267. package/dist/chunk-j64ga6ta.js +8035 -0
  268. package/dist/chunk-j7tyxan1.js +116 -0
  269. package/dist/chunk-j8v4774z.js +424 -0
  270. package/dist/chunk-jafes477.js +29 -0
  271. package/dist/chunk-jd32zbps.js +15 -0
  272. package/dist/chunk-jdgeec04.js +4249 -0
  273. package/dist/chunk-jftd4jq5.js +4521 -0
  274. package/dist/chunk-jkxqhv6y.js +812 -0
  275. package/dist/chunk-jmfr6h0n.js +120 -0
  276. package/dist/chunk-jn4aabmx.js +40 -0
  277. package/dist/chunk-jnhkref0.js +30 -0
  278. package/dist/chunk-jsbpm1gz.js +27 -0
  279. package/dist/chunk-jtcyjc3k.js +5802 -0
  280. package/dist/chunk-jx817w05.js +11 -0
  281. package/dist/chunk-jzmz18nn.js +65 -0
  282. package/dist/chunk-k0p9w03v.js +4957 -0
  283. package/dist/chunk-k3dcdnck.js +89 -0
  284. package/dist/chunk-k3wadzcd.js +88 -0
  285. package/dist/chunk-kaeshsk1.js +713 -0
  286. package/dist/chunk-kbkey9ed.js +522 -0
  287. package/dist/chunk-kcwfhqbb.js +196 -0
  288. package/dist/chunk-key6jr7p.js +224 -0
  289. package/dist/chunk-knay8cy9.js +173 -0
  290. package/dist/chunk-kr3rg2y1.js +95 -0
  291. package/dist/chunk-kwekc97v.js +18 -0
  292. package/dist/chunk-m06q12hg.js +61 -0
  293. package/dist/chunk-m2mcpbhk.js +43 -0
  294. package/dist/chunk-m8v220gz.js +71 -0
  295. package/dist/chunk-mgpqy78h.js +208 -0
  296. package/dist/chunk-mkejwh4t.js +16 -0
  297. package/dist/chunk-mptyw5n1.js +107 -0
  298. package/dist/chunk-mqajm0dp.js +66 -0
  299. package/dist/chunk-mrksbgxj.js +490 -0
  300. package/dist/chunk-msjfc5ba.js +246 -0
  301. package/dist/chunk-mt25echc.js +6157 -0
  302. package/dist/chunk-mt3jfnr8.js +277 -0
  303. package/dist/chunk-mtn242d4.js +9300 -0
  304. package/dist/chunk-mzfkvave.js +169 -0
  305. package/dist/chunk-n0qaeaa5.js +256 -0
  306. package/dist/chunk-n1erf6kh.js +22820 -0
  307. package/dist/chunk-n2avk1r2.js +61 -0
  308. package/dist/chunk-n6atnpcq.js +765 -0
  309. package/dist/chunk-n7ttdtk0.js +641 -0
  310. package/dist/chunk-ncnfzby5.js +822 -0
  311. package/dist/chunk-ncnr1jtf.js +2058 -0
  312. package/dist/chunk-nerv0jvx.js +74 -0
  313. package/dist/chunk-ngd2abep.js +90 -0
  314. package/dist/chunk-nka1g8f4.js +773 -0
  315. package/dist/chunk-nnaxkc2z.js +128 -0
  316. package/dist/chunk-npyrtj8j.js +691 -0
  317. package/dist/chunk-nq0fxyxh.js +752 -0
  318. package/dist/chunk-nrmffak7.js +114 -0
  319. package/dist/chunk-nsz546wq.js +1170 -0
  320. package/dist/chunk-nt837qt9.js +21 -0
  321. package/dist/chunk-nv64x1z5.js +86 -0
  322. package/dist/chunk-nxsh6de2.js +1711 -0
  323. package/dist/chunk-nz4getcr.js +40 -0
  324. package/dist/chunk-p1f607pa.js +83 -0
  325. package/dist/chunk-p2816w9z.js +1486 -0
  326. package/dist/chunk-p2d5nh3g.js +342 -0
  327. package/dist/chunk-p4r5y02t.js +90 -0
  328. package/dist/chunk-p7g7pf3f.js +336 -0
  329. package/dist/chunk-pb4ad8r2.js +110 -0
  330. package/dist/chunk-pbrhz0zr.js +716 -0
  331. package/dist/chunk-ps49ymvj.js +43 -0
  332. package/dist/chunk-pwnt3veb.js +103 -0
  333. package/dist/chunk-pwwa7s62.js +11 -0
  334. package/dist/chunk-px3w0kde.js +299 -0
  335. package/dist/chunk-pzn777jb.js +756 -0
  336. package/dist/chunk-q25bjaev.js +15 -0
  337. package/dist/chunk-q5by3da6.js +8 -0
  338. package/dist/chunk-q6av622g.js +38 -0
  339. package/dist/chunk-q6xkvtf2.js +1318 -0
  340. package/dist/chunk-q81jx1tq.js +476 -0
  341. package/dist/chunk-qehb6fk5.js +339 -0
  342. package/dist/chunk-qj1avx1q.js +87 -0
  343. package/dist/chunk-qn2dxr66.js +105 -0
  344. package/dist/chunk-qnfx3qtx.js +617 -0
  345. package/dist/chunk-qp18kd4h.js +48 -0
  346. package/dist/chunk-qp2qdcda.js +100 -0
  347. package/dist/chunk-qpjy9tcf.js +133 -0
  348. package/dist/chunk-qqfa0dqg.js +2343 -0
  349. package/dist/chunk-qwh3htcz.js +202 -0
  350. package/dist/chunk-qz2x630m.js +49145 -0
  351. package/dist/chunk-r3vakcs1.js +496 -0
  352. package/dist/chunk-r66hz8j6.js +34 -0
  353. package/dist/chunk-r6b58y3x.js +17 -0
  354. package/dist/chunk-rekp48rk.js +62 -0
  355. package/dist/chunk-rn0v1hk8.js +34 -0
  356. package/dist/chunk-rs1xrs6m.js +534 -0
  357. package/dist/chunk-rs45skes.js +123 -0
  358. package/dist/chunk-rzszqp82.js +524 -0
  359. package/dist/chunk-s274nv8k.js +8 -0
  360. package/dist/chunk-s3pzvdss.js +50 -0
  361. package/dist/chunk-s9mesaw0.js +26840 -0
  362. package/dist/chunk-sd36yzx8.js +954 -0
  363. package/dist/chunk-sdj9b9wh.js +782 -0
  364. package/dist/chunk-sdw2q69p.js +227 -0
  365. package/dist/chunk-sfgp9cc0.js +130 -0
  366. package/dist/chunk-spqaamnc.js +63 -0
  367. package/dist/chunk-spzrs4df.js +73 -0
  368. package/dist/chunk-sxkr7k43.js +55 -0
  369. package/dist/chunk-szj5wvdy.js +28 -0
  370. package/dist/chunk-t0rgmccj.js +39 -0
  371. package/dist/chunk-t1nnzjgg.js +17 -0
  372. package/dist/chunk-t94fcnt8.js +566 -0
  373. package/dist/chunk-tjaqa99q.js +125 -0
  374. package/dist/chunk-tjq2evtw.js +328 -0
  375. package/dist/chunk-ts2p6bv1.js +224 -0
  376. package/dist/chunk-ttk5dzz8.js +25 -0
  377. package/dist/chunk-tw0q7ynt.js +59 -0
  378. package/dist/chunk-v02jkvgy.js +131 -0
  379. package/dist/chunk-v084bqt3.js +1529 -0
  380. package/dist/chunk-v0amythm.js +164 -0
  381. package/dist/chunk-v1kzp02e.js +785 -0
  382. package/dist/chunk-v1mgv1et.js +15 -0
  383. package/dist/chunk-v399mzxk.js +58 -0
  384. package/dist/chunk-v3gm2day.js +8 -0
  385. package/dist/chunk-v43hrrxp.js +71 -0
  386. package/dist/chunk-v6aqb2aj.js +102 -0
  387. package/dist/chunk-v78fj8by.js +145 -0
  388. package/dist/chunk-v7qmhjdn.js +1921 -0
  389. package/dist/chunk-v9smspw2.js +4301 -0
  390. package/dist/chunk-vdw93s4h.js +2431 -0
  391. package/dist/chunk-vest0y6x.js +3830 -0
  392. package/dist/chunk-vf5sd1nq.js +12 -0
  393. package/dist/chunk-vratq94g.js +349 -0
  394. package/dist/chunk-vrz7t3m3.js +20 -0
  395. package/dist/chunk-vtb185z9.js +70 -0
  396. package/dist/chunk-vx01rvg8.js +654 -0
  397. package/dist/chunk-vyc0rjyx.js +31 -0
  398. package/dist/chunk-vyjeh50y.js +2149 -0
  399. package/dist/chunk-vzpffsza.js +269 -0
  400. package/dist/chunk-w2ef3kxk.js +3353 -0
  401. package/dist/chunk-w2z5pqd3.js +336 -0
  402. package/dist/chunk-w3whm4mn.js +432 -0
  403. package/dist/chunk-w7wgpqcp.js +157 -0
  404. package/dist/chunk-waa00cvb.js +301 -0
  405. package/dist/chunk-wb0qm4es.js +155 -0
  406. package/dist/chunk-wbkahkdc.js +27 -0
  407. package/dist/chunk-wfz0qffj.js +3939 -0
  408. package/dist/chunk-wn0cx0pt.js +283 -0
  409. package/dist/chunk-wv6gzt9c.js +726 -0
  410. package/dist/chunk-wx42ycm4.js +998 -0
  411. package/dist/chunk-wxkpgy05.js +268 -0
  412. package/dist/chunk-wzpdet3m.js +843 -0
  413. package/dist/chunk-x0mwzt38.js +714 -0
  414. package/dist/chunk-x592wbfh.js +244 -0
  415. package/dist/chunk-x5pqsp9r.js +100 -0
  416. package/dist/chunk-x679thag.js +825 -0
  417. package/dist/chunk-x8b7vft8.js +132 -0
  418. package/dist/chunk-x8cftch7.js +119 -0
  419. package/dist/chunk-x9q7r885.js +348 -0
  420. package/dist/chunk-xawkt0vb.js +1585 -0
  421. package/dist/chunk-xdw5dv00.js +8 -0
  422. package/dist/chunk-xe9cc860.js +287 -0
  423. package/dist/chunk-xjr9c3vt.js +101 -0
  424. package/dist/chunk-xk7zaqta.js +21933 -0
  425. package/dist/chunk-xktbmawc.js +678 -0
  426. package/dist/chunk-xn6yw46v.js +140 -0
  427. package/dist/chunk-xsq9ae7x.js +90 -0
  428. package/dist/chunk-xszk7n10.js +14358 -0
  429. package/dist/chunk-xt8a5r1t.js +84 -0
  430. package/dist/chunk-xydyndkv.js +195 -0
  431. package/dist/chunk-xzt10yc5.js +60 -0
  432. package/dist/chunk-y04y95dr.js +91 -0
  433. package/dist/chunk-y1784krc.js +19 -0
  434. package/dist/chunk-y1x32h3x.js +128 -0
  435. package/dist/chunk-y3s7aww5.js +99 -0
  436. package/dist/chunk-y47cg3kz.js +42 -0
  437. package/dist/chunk-y7kzvepn.js +469 -0
  438. package/dist/chunk-y89kbsyc.js +287 -0
  439. package/dist/chunk-yd87p1c3.js +159 -0
  440. package/dist/chunk-yf3yw8fw.js +105 -0
  441. package/dist/chunk-ygbf0ezx.js +1391 -0
  442. package/dist/chunk-yjbxnshv.js +208 -0
  443. package/dist/chunk-ynednmqd.js +192 -0
  444. package/dist/chunk-yvhez44y.js +259 -0
  445. package/dist/chunk-ywxd4qw4.js +22 -0
  446. package/dist/chunk-yzrmgpy4.js +117 -0
  447. package/dist/chunk-z0b2vb24.js +862 -0
  448. package/dist/chunk-z1zj044v.js +655 -0
  449. package/dist/chunk-z2dp53wn.js +17 -0
  450. package/dist/chunk-z3w0xasa.js +165 -0
  451. package/dist/chunk-z7ycmrb3.js +644 -0
  452. package/dist/chunk-zh11tdkb.js +347 -0
  453. package/dist/chunk-zk2wsm7d.js +15 -0
  454. package/dist/chunk-zqfqcf22.js +229 -0
  455. package/dist/chunk-zqk2j8px.js +699 -0
  456. package/dist/chunk-zqvsc10j.js +2833 -0
  457. package/dist/chunk-zsfxha74.js +17655 -0
  458. package/dist/chunk-zvc4snyb.js +117 -0
  459. package/dist/cli.js +194 -0
  460. package/package.json +173 -0
@@ -0,0 +1,4521 @@
1
+ // @bun
2
+ import {
3
+ defaultProvider,
4
+ init_dist_es as init_dist_es2
5
+ } from "./chunk-edjd6aay.js";
6
+ import {
7
+ fromEnvSigningName,
8
+ init_dist_es,
9
+ nodeProvider
10
+ } from "./chunk-yjbxnshv.js";
11
+ import {
12
+ require_dist_cjs as require_dist_cjs11,
13
+ require_dist_cjs1 as require_dist_cjs12,
14
+ require_dist_cjs10 as require_dist_cjs23,
15
+ require_dist_cjs11 as require_dist_cjs24,
16
+ require_dist_cjs12 as require_dist_cjs25,
17
+ require_dist_cjs13 as require_dist_cjs26,
18
+ require_dist_cjs2 as require_dist_cjs13,
19
+ require_dist_cjs3 as require_dist_cjs15,
20
+ require_dist_cjs4 as require_dist_cjs16,
21
+ require_dist_cjs5 as require_dist_cjs17,
22
+ require_dist_cjs6 as require_dist_cjs19,
23
+ require_dist_cjs7 as require_dist_cjs20,
24
+ require_dist_cjs8 as require_dist_cjs21,
25
+ require_dist_cjs9 as require_dist_cjs22,
26
+ require_protocols
27
+ } from "./chunk-6exxdk1p.js";
28
+ import {
29
+ require_dist_cjs as require_dist_cjs14,
30
+ require_dist_cjs2 as require_dist_cjs18
31
+ } from "./chunk-n7ttdtk0.js";
32
+ import {
33
+ require_httpAuthSchemes
34
+ } from "./chunk-wzpdet3m.js";
35
+ import {
36
+ require_dist_cjs as require_dist_cjs10
37
+ } from "./chunk-p2d5nh3g.js";
38
+ import {
39
+ require_dist_cjs as require_dist_cjs3
40
+ } from "./chunk-jzmz18nn.js";
41
+ import {
42
+ require_dist_cjs as require_dist_cjs9
43
+ } from "./chunk-2k995y2x.js";
44
+ import {
45
+ require_dist_cjs as require_dist_cjs6,
46
+ require_dist_cjs2 as require_dist_cjs7,
47
+ require_dist_cjs4 as require_dist_cjs8,
48
+ require_schema,
49
+ require_tslib
50
+ } from "./chunk-wfz0qffj.js";
51
+ import {
52
+ require_client
53
+ } from "./chunk-b4wg70y1.js";
54
+ import {
55
+ require_dist_cjs2
56
+ } from "./chunk-nka1g8f4.js";
57
+ import {
58
+ require_dist_cjs
59
+ } from "./chunk-30rst83v.js";
60
+ import {
61
+ require_dist_cjs as require_dist_cjs4
62
+ } from "./chunk-j2k4p94p.js";
63
+ import {
64
+ require_dist_cjs2 as require_dist_cjs5
65
+ } from "./chunk-2nayx6q1.js";
66
+ import {
67
+ __esm,
68
+ __toESM
69
+ } from "./chunk-qp2qdcda.js";
70
+
71
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamConfiguration.js
72
+ function resolveEventStreamConfig(input) {
73
+ const eventSigner = input.signer;
74
+ const messageSigner = input.signer;
75
+ const newInput = Object.assign(input, {
76
+ eventSigner,
77
+ messageSigner
78
+ });
79
+ const eventStreamPayloadHandler = newInput.eventStreamPayloadHandlerProvider(newInput);
80
+ return Object.assign(newInput, {
81
+ eventStreamPayloadHandler
82
+ });
83
+ }
84
+ var init_eventStreamConfiguration = () => {};
85
+
86
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js
87
+ var import_protocol_http, eventStreamHandlingMiddleware = (options) => (next, context) => async (args) => {
88
+ const { request } = args;
89
+ if (!import_protocol_http.HttpRequest.isInstance(request))
90
+ return next(args);
91
+ return options.eventStreamPayloadHandler.handle(next, args, context);
92
+ }, eventStreamHandlingMiddlewareOptions;
93
+ var init_eventStreamHandlingMiddleware = __esm(() => {
94
+ import_protocol_http = __toESM(require_dist_cjs(), 1);
95
+ eventStreamHandlingMiddlewareOptions = {
96
+ tags: ["EVENT_STREAM", "SIGNATURE", "HANDLE"],
97
+ name: "eventStreamHandlingMiddleware",
98
+ relation: "after",
99
+ toMiddleware: "awsAuthMiddleware",
100
+ override: true
101
+ };
102
+ });
103
+
104
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js
105
+ var import_protocol_http2, eventStreamHeaderMiddleware = (next) => async (args) => {
106
+ const { request } = args;
107
+ if (!import_protocol_http2.HttpRequest.isInstance(request))
108
+ return next(args);
109
+ request.headers = {
110
+ ...request.headers,
111
+ "content-type": "application/vnd.amazon.eventstream",
112
+ "x-amz-content-sha256": "STREAMING-AWS4-HMAC-SHA256-EVENTS"
113
+ };
114
+ return next({
115
+ ...args,
116
+ request
117
+ });
118
+ }, eventStreamHeaderMiddlewareOptions;
119
+ var init_eventStreamHeaderMiddleware = __esm(() => {
120
+ import_protocol_http2 = __toESM(require_dist_cjs(), 1);
121
+ eventStreamHeaderMiddlewareOptions = {
122
+ step: "build",
123
+ tags: ["EVENT_STREAM", "HEADER", "CONTENT_TYPE", "CONTENT_SHA256"],
124
+ name: "eventStreamHeaderMiddleware",
125
+ override: true
126
+ };
127
+ });
128
+
129
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/getEventStreamPlugin.js
130
+ var getEventStreamPlugin = (options) => ({
131
+ applyToStack: (clientStack) => {
132
+ clientStack.addRelativeTo(eventStreamHandlingMiddleware(options), eventStreamHandlingMiddlewareOptions);
133
+ clientStack.add(eventStreamHeaderMiddleware, eventStreamHeaderMiddlewareOptions);
134
+ }
135
+ });
136
+ var init_getEventStreamPlugin = __esm(() => {
137
+ init_eventStreamHandlingMiddleware();
138
+ init_eventStreamHeaderMiddleware();
139
+ });
140
+
141
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/index.js
142
+ var init_dist_es3 = __esm(() => {
143
+ init_eventStreamConfiguration();
144
+ init_eventStreamHandlingMiddleware();
145
+ init_eventStreamHeaderMiddleware();
146
+ init_getEventStreamPlugin();
147
+ });
148
+
149
+ // node_modules/.bun/tslib@2.8.1/node_modules/tslib/modules/index.js
150
+ var import_tslib, __extends, __assign, __rest, __decorate, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __exportStar, __createBinding, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, __rewriteRelativeImportExtension;
151
+ var init_modules = __esm(() => {
152
+ import_tslib = __toESM(require_tslib(), 1);
153
+ ({
154
+ __extends,
155
+ __assign,
156
+ __rest,
157
+ __decorate,
158
+ __param,
159
+ __esDecorate,
160
+ __runInitializers,
161
+ __propKey,
162
+ __setFunctionName,
163
+ __metadata,
164
+ __awaiter,
165
+ __generator,
166
+ __exportStar,
167
+ __createBinding,
168
+ __values,
169
+ __read,
170
+ __spread,
171
+ __spreadArrays,
172
+ __spreadArray,
173
+ __await,
174
+ __asyncGenerator,
175
+ __asyncDelegator,
176
+ __asyncValues,
177
+ __makeTemplateObject,
178
+ __importStar,
179
+ __importDefault,
180
+ __classPrivateFieldGet,
181
+ __classPrivateFieldSet,
182
+ __classPrivateFieldIn,
183
+ __addDisposableResource,
184
+ __disposeResources,
185
+ __rewriteRelativeImportExtension
186
+ } = import_tslib.default);
187
+ });
188
+
189
+ // node_modules/.bun/@smithy+is-array-buffer@2.2.0/node_modules/@smithy/is-array-buffer/dist-es/index.js
190
+ var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
191
+ var init_dist_es4 = () => {};
192
+
193
+ // node_modules/.bun/@smithy+util-buffer-from@2.2.0/node_modules/@smithy/util-buffer-from/dist-es/index.js
194
+ import { Buffer as Buffer2 } from "buffer";
195
+ var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
196
+ if (!isArrayBuffer(input)) {
197
+ throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
198
+ }
199
+ return Buffer2.from(input, offset, length);
200
+ }, fromString = (input, encoding) => {
201
+ if (typeof input !== "string") {
202
+ throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`);
203
+ }
204
+ return encoding ? Buffer2.from(input, encoding) : Buffer2.from(input);
205
+ };
206
+ var init_dist_es5 = __esm(() => {
207
+ init_dist_es4();
208
+ });
209
+
210
+ // node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js
211
+ var fromUtf8 = (input) => {
212
+ const buf = fromString(input, "utf8");
213
+ return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
214
+ };
215
+ var init_fromUtf8 = __esm(() => {
216
+ init_dist_es5();
217
+ });
218
+
219
+ // node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
220
+ var init_toUint8Array = __esm(() => {
221
+ init_fromUtf8();
222
+ });
223
+
224
+ // node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/toUtf8.js
225
+ var toUtf8 = (input) => {
226
+ if (typeof input === "string") {
227
+ return input;
228
+ }
229
+ if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
230
+ throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");
231
+ }
232
+ return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
233
+ };
234
+ var init_toUtf8 = __esm(() => {
235
+ init_dist_es5();
236
+ });
237
+
238
+ // node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/index.js
239
+ var init_dist_es6 = __esm(() => {
240
+ init_fromUtf8();
241
+ init_toUint8Array();
242
+ init_toUtf8();
243
+ });
244
+
245
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/convertToBuffer.js
246
+ function convertToBuffer(data) {
247
+ if (data instanceof Uint8Array)
248
+ return data;
249
+ if (typeof data === "string") {
250
+ return fromUtf83(data);
251
+ }
252
+ if (ArrayBuffer.isView(data)) {
253
+ return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
254
+ }
255
+ return new Uint8Array(data);
256
+ }
257
+ var fromUtf83;
258
+ var init_convertToBuffer = __esm(() => {
259
+ init_dist_es6();
260
+ fromUtf83 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
261
+ return Buffer.from(input, "utf8");
262
+ } : fromUtf8;
263
+ });
264
+
265
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/isEmptyData.js
266
+ function isEmptyData(data) {
267
+ if (typeof data === "string") {
268
+ return data.length === 0;
269
+ }
270
+ return data.byteLength === 0;
271
+ }
272
+ var init_isEmptyData = () => {};
273
+
274
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/numToUint8.js
275
+ function numToUint8(num) {
276
+ return new Uint8Array([
277
+ (num & 4278190080) >> 24,
278
+ (num & 16711680) >> 16,
279
+ (num & 65280) >> 8,
280
+ num & 255
281
+ ]);
282
+ }
283
+ var init_numToUint8 = () => {};
284
+
285
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js
286
+ function uint32ArrayFrom(a_lookUpTable) {
287
+ if (!Uint32Array.from) {
288
+ var return_array = new Uint32Array(a_lookUpTable.length);
289
+ var a_index = 0;
290
+ while (a_index < a_lookUpTable.length) {
291
+ return_array[a_index] = a_lookUpTable[a_index];
292
+ a_index += 1;
293
+ }
294
+ return return_array;
295
+ }
296
+ return Uint32Array.from(a_lookUpTable);
297
+ }
298
+ var init_uint32ArrayFrom = () => {};
299
+
300
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/index.js
301
+ var init_module = __esm(() => {
302
+ init_convertToBuffer();
303
+ init_isEmptyData();
304
+ init_numToUint8();
305
+ init_uint32ArrayFrom();
306
+ });
307
+
308
+ // node_modules/.bun/@aws-crypto+crc32@5.2.0/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js
309
+ var AwsCrc32;
310
+ var init_aws_crc32 = __esm(() => {
311
+ init_modules();
312
+ init_module();
313
+ init_module2();
314
+ AwsCrc32 = function() {
315
+ function AwsCrc322() {
316
+ this.crc32 = new Crc32;
317
+ }
318
+ AwsCrc322.prototype.update = function(toHash) {
319
+ if (isEmptyData(toHash))
320
+ return;
321
+ this.crc32.update(convertToBuffer(toHash));
322
+ };
323
+ AwsCrc322.prototype.digest = function() {
324
+ return __awaiter(this, undefined, undefined, function() {
325
+ return __generator(this, function(_a) {
326
+ return [2, numToUint8(this.crc32.digest())];
327
+ });
328
+ });
329
+ };
330
+ AwsCrc322.prototype.reset = function() {
331
+ this.crc32 = new Crc32;
332
+ };
333
+ return AwsCrc322;
334
+ }();
335
+ });
336
+
337
+ // node_modules/.bun/@aws-crypto+crc32@5.2.0/node_modules/@aws-crypto/crc32/build/module/index.js
338
+ var Crc32, a_lookUpTable, lookupTable;
339
+ var init_module2 = __esm(() => {
340
+ init_modules();
341
+ init_module();
342
+ init_aws_crc32();
343
+ Crc32 = function() {
344
+ function Crc322() {
345
+ this.checksum = 4294967295;
346
+ }
347
+ Crc322.prototype.update = function(data) {
348
+ var e_1, _a;
349
+ try {
350
+ for (var data_1 = __values(data), data_1_1 = data_1.next();!data_1_1.done; data_1_1 = data_1.next()) {
351
+ var byte = data_1_1.value;
352
+ this.checksum = this.checksum >>> 8 ^ lookupTable[(this.checksum ^ byte) & 255];
353
+ }
354
+ } catch (e_1_1) {
355
+ e_1 = { error: e_1_1 };
356
+ } finally {
357
+ try {
358
+ if (data_1_1 && !data_1_1.done && (_a = data_1.return))
359
+ _a.call(data_1);
360
+ } finally {
361
+ if (e_1)
362
+ throw e_1.error;
363
+ }
364
+ }
365
+ return this;
366
+ };
367
+ Crc322.prototype.digest = function() {
368
+ return (this.checksum ^ 4294967295) >>> 0;
369
+ };
370
+ return Crc322;
371
+ }();
372
+ a_lookUpTable = [
373
+ 0,
374
+ 1996959894,
375
+ 3993919788,
376
+ 2567524794,
377
+ 124634137,
378
+ 1886057615,
379
+ 3915621685,
380
+ 2657392035,
381
+ 249268274,
382
+ 2044508324,
383
+ 3772115230,
384
+ 2547177864,
385
+ 162941995,
386
+ 2125561021,
387
+ 3887607047,
388
+ 2428444049,
389
+ 498536548,
390
+ 1789927666,
391
+ 4089016648,
392
+ 2227061214,
393
+ 450548861,
394
+ 1843258603,
395
+ 4107580753,
396
+ 2211677639,
397
+ 325883990,
398
+ 1684777152,
399
+ 4251122042,
400
+ 2321926636,
401
+ 335633487,
402
+ 1661365465,
403
+ 4195302755,
404
+ 2366115317,
405
+ 997073096,
406
+ 1281953886,
407
+ 3579855332,
408
+ 2724688242,
409
+ 1006888145,
410
+ 1258607687,
411
+ 3524101629,
412
+ 2768942443,
413
+ 901097722,
414
+ 1119000684,
415
+ 3686517206,
416
+ 2898065728,
417
+ 853044451,
418
+ 1172266101,
419
+ 3705015759,
420
+ 2882616665,
421
+ 651767980,
422
+ 1373503546,
423
+ 3369554304,
424
+ 3218104598,
425
+ 565507253,
426
+ 1454621731,
427
+ 3485111705,
428
+ 3099436303,
429
+ 671266974,
430
+ 1594198024,
431
+ 3322730930,
432
+ 2970347812,
433
+ 795835527,
434
+ 1483230225,
435
+ 3244367275,
436
+ 3060149565,
437
+ 1994146192,
438
+ 31158534,
439
+ 2563907772,
440
+ 4023717930,
441
+ 1907459465,
442
+ 112637215,
443
+ 2680153253,
444
+ 3904427059,
445
+ 2013776290,
446
+ 251722036,
447
+ 2517215374,
448
+ 3775830040,
449
+ 2137656763,
450
+ 141376813,
451
+ 2439277719,
452
+ 3865271297,
453
+ 1802195444,
454
+ 476864866,
455
+ 2238001368,
456
+ 4066508878,
457
+ 1812370925,
458
+ 453092731,
459
+ 2181625025,
460
+ 4111451223,
461
+ 1706088902,
462
+ 314042704,
463
+ 2344532202,
464
+ 4240017532,
465
+ 1658658271,
466
+ 366619977,
467
+ 2362670323,
468
+ 4224994405,
469
+ 1303535960,
470
+ 984961486,
471
+ 2747007092,
472
+ 3569037538,
473
+ 1256170817,
474
+ 1037604311,
475
+ 2765210733,
476
+ 3554079995,
477
+ 1131014506,
478
+ 879679996,
479
+ 2909243462,
480
+ 3663771856,
481
+ 1141124467,
482
+ 855842277,
483
+ 2852801631,
484
+ 3708648649,
485
+ 1342533948,
486
+ 654459306,
487
+ 3188396048,
488
+ 3373015174,
489
+ 1466479909,
490
+ 544179635,
491
+ 3110523913,
492
+ 3462522015,
493
+ 1591671054,
494
+ 702138776,
495
+ 2966460450,
496
+ 3352799412,
497
+ 1504918807,
498
+ 783551873,
499
+ 3082640443,
500
+ 3233442989,
501
+ 3988292384,
502
+ 2596254646,
503
+ 62317068,
504
+ 1957810842,
505
+ 3939845945,
506
+ 2647816111,
507
+ 81470997,
508
+ 1943803523,
509
+ 3814918930,
510
+ 2489596804,
511
+ 225274430,
512
+ 2053790376,
513
+ 3826175755,
514
+ 2466906013,
515
+ 167816743,
516
+ 2097651377,
517
+ 4027552580,
518
+ 2265490386,
519
+ 503444072,
520
+ 1762050814,
521
+ 4150417245,
522
+ 2154129355,
523
+ 426522225,
524
+ 1852507879,
525
+ 4275313526,
526
+ 2312317920,
527
+ 282753626,
528
+ 1742555852,
529
+ 4189708143,
530
+ 2394877945,
531
+ 397917763,
532
+ 1622183637,
533
+ 3604390888,
534
+ 2714866558,
535
+ 953729732,
536
+ 1340076626,
537
+ 3518719985,
538
+ 2797360999,
539
+ 1068828381,
540
+ 1219638859,
541
+ 3624741850,
542
+ 2936675148,
543
+ 906185462,
544
+ 1090812512,
545
+ 3747672003,
546
+ 2825379669,
547
+ 829329135,
548
+ 1181335161,
549
+ 3412177804,
550
+ 3160834842,
551
+ 628085408,
552
+ 1382605366,
553
+ 3423369109,
554
+ 3138078467,
555
+ 570562233,
556
+ 1426400815,
557
+ 3317316542,
558
+ 2998733608,
559
+ 733239954,
560
+ 1555261956,
561
+ 3268935591,
562
+ 3050360625,
563
+ 752459403,
564
+ 1541320221,
565
+ 2607071920,
566
+ 3965973030,
567
+ 1969922972,
568
+ 40735498,
569
+ 2617837225,
570
+ 3943577151,
571
+ 1913087877,
572
+ 83908371,
573
+ 2512341634,
574
+ 3803740692,
575
+ 2075208622,
576
+ 213261112,
577
+ 2463272603,
578
+ 3855990285,
579
+ 2094854071,
580
+ 198958881,
581
+ 2262029012,
582
+ 4057260610,
583
+ 1759359992,
584
+ 534414190,
585
+ 2176718541,
586
+ 4139329115,
587
+ 1873836001,
588
+ 414664567,
589
+ 2282248934,
590
+ 4279200368,
591
+ 1711684554,
592
+ 285281116,
593
+ 2405801727,
594
+ 4167216745,
595
+ 1634467795,
596
+ 376229701,
597
+ 2685067896,
598
+ 3608007406,
599
+ 1308918612,
600
+ 956543938,
601
+ 2808555105,
602
+ 3495958263,
603
+ 1231636301,
604
+ 1047427035,
605
+ 2932959818,
606
+ 3654703836,
607
+ 1088359270,
608
+ 936918000,
609
+ 2847714899,
610
+ 3736837829,
611
+ 1202900863,
612
+ 817233897,
613
+ 3183342108,
614
+ 3401237130,
615
+ 1404277552,
616
+ 615818150,
617
+ 3134207493,
618
+ 3453421203,
619
+ 1423857449,
620
+ 601450431,
621
+ 3009837614,
622
+ 3294710456,
623
+ 1567103746,
624
+ 711928724,
625
+ 3020668471,
626
+ 3272380065,
627
+ 1510334235,
628
+ 755167117
629
+ ];
630
+ lookupTable = uint32ArrayFrom(a_lookUpTable);
631
+ });
632
+
633
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
634
+ class Int64 {
635
+ bytes;
636
+ constructor(bytes) {
637
+ this.bytes = bytes;
638
+ if (bytes.byteLength !== 8) {
639
+ throw new Error("Int64 buffers must be exactly 8 bytes");
640
+ }
641
+ }
642
+ static fromNumber(number) {
643
+ if (number > 9223372036854776000 || number < -9223372036854776000) {
644
+ throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
645
+ }
646
+ const bytes = new Uint8Array(8);
647
+ for (let i = 7, remaining = Math.abs(Math.round(number));i > -1 && remaining > 0; i--, remaining /= 256) {
648
+ bytes[i] = remaining;
649
+ }
650
+ if (number < 0) {
651
+ negate(bytes);
652
+ }
653
+ return new Int64(bytes);
654
+ }
655
+ valueOf() {
656
+ const bytes = this.bytes.slice(0);
657
+ const negative = bytes[0] & 128;
658
+ if (negative) {
659
+ negate(bytes);
660
+ }
661
+ return parseInt(import_util_hex_encoding.toHex(bytes), 16) * (negative ? -1 : 1);
662
+ }
663
+ toString() {
664
+ return String(this.valueOf());
665
+ }
666
+ }
667
+ function negate(bytes) {
668
+ for (let i = 0;i < 8; i++) {
669
+ bytes[i] ^= 255;
670
+ }
671
+ for (let i = 7;i > -1; i--) {
672
+ bytes[i]++;
673
+ if (bytes[i] !== 0)
674
+ break;
675
+ }
676
+ }
677
+ var import_util_hex_encoding;
678
+ var init_Int64 = __esm(() => {
679
+ import_util_hex_encoding = __toESM(require_dist_cjs7(), 1);
680
+ });
681
+
682
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
683
+ class HeaderMarshaller {
684
+ toUtf8;
685
+ fromUtf8;
686
+ constructor(toUtf83, fromUtf84) {
687
+ this.toUtf8 = toUtf83;
688
+ this.fromUtf8 = fromUtf84;
689
+ }
690
+ format(headers) {
691
+ const chunks = [];
692
+ for (const headerName of Object.keys(headers)) {
693
+ const bytes = this.fromUtf8(headerName);
694
+ chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
695
+ }
696
+ const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
697
+ let position = 0;
698
+ for (const chunk of chunks) {
699
+ out.set(chunk, position);
700
+ position += chunk.byteLength;
701
+ }
702
+ return out;
703
+ }
704
+ formatHeaderValue(header) {
705
+ switch (header.type) {
706
+ case "boolean":
707
+ return Uint8Array.from([header.value ? 0 : 1]);
708
+ case "byte":
709
+ return Uint8Array.from([2, header.value]);
710
+ case "short":
711
+ const shortView = new DataView(new ArrayBuffer(3));
712
+ shortView.setUint8(0, 3);
713
+ shortView.setInt16(1, header.value, false);
714
+ return new Uint8Array(shortView.buffer);
715
+ case "integer":
716
+ const intView = new DataView(new ArrayBuffer(5));
717
+ intView.setUint8(0, 4);
718
+ intView.setInt32(1, header.value, false);
719
+ return new Uint8Array(intView.buffer);
720
+ case "long":
721
+ const longBytes = new Uint8Array(9);
722
+ longBytes[0] = 5;
723
+ longBytes.set(header.value.bytes, 1);
724
+ return longBytes;
725
+ case "binary":
726
+ const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
727
+ binView.setUint8(0, 6);
728
+ binView.setUint16(1, header.value.byteLength, false);
729
+ const binBytes = new Uint8Array(binView.buffer);
730
+ binBytes.set(header.value, 3);
731
+ return binBytes;
732
+ case "string":
733
+ const utf8Bytes = this.fromUtf8(header.value);
734
+ const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
735
+ strView.setUint8(0, 7);
736
+ strView.setUint16(1, utf8Bytes.byteLength, false);
737
+ const strBytes = new Uint8Array(strView.buffer);
738
+ strBytes.set(utf8Bytes, 3);
739
+ return strBytes;
740
+ case "timestamp":
741
+ const tsBytes = new Uint8Array(9);
742
+ tsBytes[0] = 8;
743
+ tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
744
+ return tsBytes;
745
+ case "uuid":
746
+ if (!UUID_PATTERN.test(header.value)) {
747
+ throw new Error(`Invalid UUID received: ${header.value}`);
748
+ }
749
+ const uuidBytes = new Uint8Array(17);
750
+ uuidBytes[0] = 9;
751
+ uuidBytes.set(import_util_hex_encoding2.fromHex(header.value.replace(/\-/g, "")), 1);
752
+ return uuidBytes;
753
+ }
754
+ }
755
+ parse(headers) {
756
+ const out = {};
757
+ let position = 0;
758
+ while (position < headers.byteLength) {
759
+ const nameLength = headers.getUint8(position++);
760
+ const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
761
+ position += nameLength;
762
+ switch (headers.getUint8(position++)) {
763
+ case 0:
764
+ out[name] = {
765
+ type: BOOLEAN_TAG,
766
+ value: true
767
+ };
768
+ break;
769
+ case 1:
770
+ out[name] = {
771
+ type: BOOLEAN_TAG,
772
+ value: false
773
+ };
774
+ break;
775
+ case 2:
776
+ out[name] = {
777
+ type: BYTE_TAG,
778
+ value: headers.getInt8(position++)
779
+ };
780
+ break;
781
+ case 3:
782
+ out[name] = {
783
+ type: SHORT_TAG,
784
+ value: headers.getInt16(position, false)
785
+ };
786
+ position += 2;
787
+ break;
788
+ case 4:
789
+ out[name] = {
790
+ type: INT_TAG,
791
+ value: headers.getInt32(position, false)
792
+ };
793
+ position += 4;
794
+ break;
795
+ case 5:
796
+ out[name] = {
797
+ type: LONG_TAG,
798
+ value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
799
+ };
800
+ position += 8;
801
+ break;
802
+ case 6:
803
+ const binaryLength = headers.getUint16(position, false);
804
+ position += 2;
805
+ out[name] = {
806
+ type: BINARY_TAG,
807
+ value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
808
+ };
809
+ position += binaryLength;
810
+ break;
811
+ case 7:
812
+ const stringLength = headers.getUint16(position, false);
813
+ position += 2;
814
+ out[name] = {
815
+ type: STRING_TAG,
816
+ value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
817
+ };
818
+ position += stringLength;
819
+ break;
820
+ case 8:
821
+ out[name] = {
822
+ type: TIMESTAMP_TAG,
823
+ value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
824
+ };
825
+ position += 8;
826
+ break;
827
+ case 9:
828
+ const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
829
+ position += 16;
830
+ out[name] = {
831
+ type: UUID_TAG,
832
+ value: `${import_util_hex_encoding2.toHex(uuidBytes.subarray(0, 4))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(4, 6))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(6, 8))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(8, 10))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(10))}`
833
+ };
834
+ break;
835
+ default:
836
+ throw new Error(`Unrecognized header type tag`);
837
+ }
838
+ }
839
+ return out;
840
+ }
841
+ }
842
+ var import_util_hex_encoding2, HEADER_VALUE_TYPE, BOOLEAN_TAG = "boolean", BYTE_TAG = "byte", SHORT_TAG = "short", INT_TAG = "integer", LONG_TAG = "long", BINARY_TAG = "binary", STRING_TAG = "string", TIMESTAMP_TAG = "timestamp", UUID_TAG = "uuid", UUID_PATTERN;
843
+ var init_HeaderMarshaller = __esm(() => {
844
+ init_Int64();
845
+ import_util_hex_encoding2 = __toESM(require_dist_cjs7(), 1);
846
+ (function(HEADER_VALUE_TYPE2) {
847
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolTrue"] = 0] = "boolTrue";
848
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolFalse"] = 1] = "boolFalse";
849
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["byte"] = 2] = "byte";
850
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["short"] = 3] = "short";
851
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["integer"] = 4] = "integer";
852
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["long"] = 5] = "long";
853
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["byteArray"] = 6] = "byteArray";
854
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["string"] = 7] = "string";
855
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["timestamp"] = 8] = "timestamp";
856
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["uuid"] = 9] = "uuid";
857
+ })(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {}));
858
+ UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
859
+ });
860
+
861
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
862
+ function splitMessage({ byteLength, byteOffset, buffer }) {
863
+ if (byteLength < MINIMUM_MESSAGE_LENGTH) {
864
+ throw new Error("Provided message too short to accommodate event stream message overhead");
865
+ }
866
+ const view = new DataView(buffer, byteOffset, byteLength);
867
+ const messageLength = view.getUint32(0, false);
868
+ if (byteLength !== messageLength) {
869
+ throw new Error("Reported message length does not match received message length");
870
+ }
871
+ const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
872
+ const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
873
+ const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
874
+ const checksummer = new Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
875
+ if (expectedPreludeChecksum !== checksummer.digest()) {
876
+ throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
877
+ }
878
+ checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
879
+ if (expectedMessageChecksum !== checksummer.digest()) {
880
+ throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
881
+ }
882
+ return {
883
+ headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
884
+ body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH))
885
+ };
886
+ }
887
+ var PRELUDE_MEMBER_LENGTH = 4, PRELUDE_LENGTH, CHECKSUM_LENGTH = 4, MINIMUM_MESSAGE_LENGTH;
888
+ var init_splitMessage = __esm(() => {
889
+ init_module2();
890
+ PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
891
+ MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
892
+ });
893
+
894
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
895
+ class EventStreamCodec {
896
+ headerMarshaller;
897
+ messageBuffer;
898
+ isEndOfStream;
899
+ constructor(toUtf83, fromUtf84) {
900
+ this.headerMarshaller = new HeaderMarshaller(toUtf83, fromUtf84);
901
+ this.messageBuffer = [];
902
+ this.isEndOfStream = false;
903
+ }
904
+ feed(message) {
905
+ this.messageBuffer.push(this.decode(message));
906
+ }
907
+ endOfStream() {
908
+ this.isEndOfStream = true;
909
+ }
910
+ getMessage() {
911
+ const message = this.messageBuffer.pop();
912
+ const isEndOfStream = this.isEndOfStream;
913
+ return {
914
+ getMessage() {
915
+ return message;
916
+ },
917
+ isEndOfStream() {
918
+ return isEndOfStream;
919
+ }
920
+ };
921
+ }
922
+ getAvailableMessages() {
923
+ const messages = this.messageBuffer;
924
+ this.messageBuffer = [];
925
+ const isEndOfStream = this.isEndOfStream;
926
+ return {
927
+ getMessages() {
928
+ return messages;
929
+ },
930
+ isEndOfStream() {
931
+ return isEndOfStream;
932
+ }
933
+ };
934
+ }
935
+ encode({ headers: rawHeaders, body }) {
936
+ const headers = this.headerMarshaller.format(rawHeaders);
937
+ const length = headers.byteLength + body.byteLength + 16;
938
+ const out = new Uint8Array(length);
939
+ const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
940
+ const checksum = new Crc32;
941
+ view.setUint32(0, length, false);
942
+ view.setUint32(4, headers.byteLength, false);
943
+ view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
944
+ out.set(headers, 12);
945
+ out.set(body, headers.byteLength + 12);
946
+ view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
947
+ return out;
948
+ }
949
+ decode(message) {
950
+ const { headers, body } = splitMessage(message);
951
+ return { headers: this.headerMarshaller.parse(headers), body };
952
+ }
953
+ formatHeaders(rawHeaders) {
954
+ return this.headerMarshaller.format(rawHeaders);
955
+ }
956
+ }
957
+ var init_EventStreamCodec = __esm(() => {
958
+ init_module2();
959
+ init_HeaderMarshaller();
960
+ init_splitMessage();
961
+ });
962
+
963
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/Message.js
964
+ var init_Message = () => {};
965
+
966
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js
967
+ var MessageDecoderStream;
968
+ var init_MessageDecoderStream = __esm(() => {
969
+ MessageDecoderStream = class MessageDecoderStream {
970
+ options;
971
+ constructor(options) {
972
+ this.options = options;
973
+ }
974
+ [Symbol.asyncIterator]() {
975
+ return this.asyncIterator();
976
+ }
977
+ async* asyncIterator() {
978
+ for await (const bytes of this.options.inputStream) {
979
+ const decoded = this.options.decoder.decode(bytes);
980
+ yield decoded;
981
+ }
982
+ }
983
+ };
984
+ });
985
+
986
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js
987
+ var MessageEncoderStream;
988
+ var init_MessageEncoderStream = __esm(() => {
989
+ MessageEncoderStream = class MessageEncoderStream {
990
+ options;
991
+ constructor(options) {
992
+ this.options = options;
993
+ }
994
+ [Symbol.asyncIterator]() {
995
+ return this.asyncIterator();
996
+ }
997
+ async* asyncIterator() {
998
+ for await (const msg of this.options.messageStream) {
999
+ const encoded = this.options.encoder.encode(msg);
1000
+ yield encoded;
1001
+ }
1002
+ if (this.options.includeEndFrame) {
1003
+ yield new Uint8Array(0);
1004
+ }
1005
+ }
1006
+ };
1007
+ });
1008
+
1009
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js
1010
+ var SmithyMessageDecoderStream;
1011
+ var init_SmithyMessageDecoderStream = __esm(() => {
1012
+ SmithyMessageDecoderStream = class SmithyMessageDecoderStream {
1013
+ options;
1014
+ constructor(options) {
1015
+ this.options = options;
1016
+ }
1017
+ [Symbol.asyncIterator]() {
1018
+ return this.asyncIterator();
1019
+ }
1020
+ async* asyncIterator() {
1021
+ for await (const message of this.options.messageStream) {
1022
+ const deserialized = await this.options.deserializer(message);
1023
+ if (deserialized === undefined)
1024
+ continue;
1025
+ yield deserialized;
1026
+ }
1027
+ }
1028
+ };
1029
+ });
1030
+
1031
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js
1032
+ var SmithyMessageEncoderStream;
1033
+ var init_SmithyMessageEncoderStream = __esm(() => {
1034
+ SmithyMessageEncoderStream = class SmithyMessageEncoderStream {
1035
+ options;
1036
+ constructor(options) {
1037
+ this.options = options;
1038
+ }
1039
+ [Symbol.asyncIterator]() {
1040
+ return this.asyncIterator();
1041
+ }
1042
+ async* asyncIterator() {
1043
+ for await (const chunk of this.options.inputStream) {
1044
+ const payloadBuf = this.options.serializer(chunk);
1045
+ yield payloadBuf;
1046
+ }
1047
+ }
1048
+ };
1049
+ });
1050
+
1051
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/index.js
1052
+ var init_dist_es7 = __esm(() => {
1053
+ init_EventStreamCodec();
1054
+ init_HeaderMarshaller();
1055
+ init_Int64();
1056
+ init_Message();
1057
+ init_MessageDecoderStream();
1058
+ init_MessageEncoderStream();
1059
+ init_SmithyMessageDecoderStream();
1060
+ init_SmithyMessageEncoderStream();
1061
+ });
1062
+
1063
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js
1064
+ function getChunkedStream(source) {
1065
+ let currentMessageTotalLength = 0;
1066
+ let currentMessagePendingLength = 0;
1067
+ let currentMessage = null;
1068
+ let messageLengthBuffer = null;
1069
+ const allocateMessage = (size) => {
1070
+ if (typeof size !== "number") {
1071
+ throw new Error("Attempted to allocate an event message where size was not a number: " + size);
1072
+ }
1073
+ currentMessageTotalLength = size;
1074
+ currentMessagePendingLength = 4;
1075
+ currentMessage = new Uint8Array(size);
1076
+ const currentMessageView = new DataView(currentMessage.buffer);
1077
+ currentMessageView.setUint32(0, size, false);
1078
+ };
1079
+ const iterator = async function* () {
1080
+ const sourceIterator = source[Symbol.asyncIterator]();
1081
+ while (true) {
1082
+ const { value, done } = await sourceIterator.next();
1083
+ if (done) {
1084
+ if (!currentMessageTotalLength) {
1085
+ return;
1086
+ } else if (currentMessageTotalLength === currentMessagePendingLength) {
1087
+ yield currentMessage;
1088
+ } else {
1089
+ throw new Error("Truncated event message received.");
1090
+ }
1091
+ return;
1092
+ }
1093
+ const chunkLength = value.length;
1094
+ let currentOffset = 0;
1095
+ while (currentOffset < chunkLength) {
1096
+ if (!currentMessage) {
1097
+ const bytesRemaining = chunkLength - currentOffset;
1098
+ if (!messageLengthBuffer) {
1099
+ messageLengthBuffer = new Uint8Array(4);
1100
+ }
1101
+ const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining);
1102
+ messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength);
1103
+ currentMessagePendingLength += numBytesForTotal;
1104
+ currentOffset += numBytesForTotal;
1105
+ if (currentMessagePendingLength < 4) {
1106
+ break;
1107
+ }
1108
+ allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false));
1109
+ messageLengthBuffer = null;
1110
+ }
1111
+ const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset);
1112
+ currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength);
1113
+ currentMessagePendingLength += numBytesToWrite;
1114
+ currentOffset += numBytesToWrite;
1115
+ if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) {
1116
+ yield currentMessage;
1117
+ currentMessage = null;
1118
+ currentMessageTotalLength = 0;
1119
+ currentMessagePendingLength = 0;
1120
+ }
1121
+ }
1122
+ }
1123
+ };
1124
+ return {
1125
+ [Symbol.asyncIterator]: iterator
1126
+ };
1127
+ }
1128
+ var init_getChunkedStream = () => {};
1129
+
1130
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js
1131
+ function getMessageUnmarshaller(deserializer, toUtf83) {
1132
+ return async function(message) {
1133
+ const { value: messageType } = message.headers[":message-type"];
1134
+ if (messageType === "error") {
1135
+ const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError");
1136
+ unmodeledError.name = message.headers[":error-code"].value;
1137
+ throw unmodeledError;
1138
+ } else if (messageType === "exception") {
1139
+ const code = message.headers[":exception-type"].value;
1140
+ const exception = { [code]: message };
1141
+ const deserializedException = await deserializer(exception);
1142
+ if (deserializedException.$unknown) {
1143
+ const error = new Error(toUtf83(message.body));
1144
+ error.name = code;
1145
+ throw error;
1146
+ }
1147
+ throw deserializedException[code];
1148
+ } else if (messageType === "event") {
1149
+ const event = {
1150
+ [message.headers[":event-type"].value]: message
1151
+ };
1152
+ const deserialized = await deserializer(event);
1153
+ if (deserialized.$unknown)
1154
+ return;
1155
+ return deserialized;
1156
+ } else {
1157
+ throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`);
1158
+ }
1159
+ };
1160
+ }
1161
+ var init_getUnmarshalledStream = () => {};
1162
+
1163
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js
1164
+ class EventStreamMarshaller {
1165
+ eventStreamCodec;
1166
+ utfEncoder;
1167
+ constructor({ utf8Encoder, utf8Decoder }) {
1168
+ this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder);
1169
+ this.utfEncoder = utf8Encoder;
1170
+ }
1171
+ deserialize(body, deserializer) {
1172
+ const inputStream = getChunkedStream(body);
1173
+ return new SmithyMessageDecoderStream({
1174
+ messageStream: new MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }),
1175
+ deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder)
1176
+ });
1177
+ }
1178
+ serialize(inputStream, serializer) {
1179
+ return new MessageEncoderStream({
1180
+ messageStream: new SmithyMessageEncoderStream({ inputStream, serializer }),
1181
+ encoder: this.eventStreamCodec,
1182
+ includeEndFrame: true
1183
+ });
1184
+ }
1185
+ }
1186
+ var init_EventStreamMarshaller = __esm(() => {
1187
+ init_dist_es7();
1188
+ init_getChunkedStream();
1189
+ init_getUnmarshalledStream();
1190
+ });
1191
+
1192
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js
1193
+ var init_provider = () => {};
1194
+
1195
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js
1196
+ var init_dist_es8 = __esm(() => {
1197
+ init_EventStreamMarshaller();
1198
+ init_provider();
1199
+ });
1200
+
1201
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/utils.js
1202
+ var isWebSocketRequest = (request) => request.protocol === "ws:" || request.protocol === "wss:";
1203
+ var init_utils = () => {};
1204
+
1205
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js
1206
+ var init_WebSocketFetchHandler = () => {};
1207
+
1208
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js
1209
+ var import_protocol_http3, websocketEndpointMiddleware = (config, options) => (next) => (args) => {
1210
+ const { request } = args;
1211
+ if (import_protocol_http3.HttpRequest.isInstance(request) && config.requestHandler.metadata?.handlerProtocol?.toLowerCase().includes("websocket")) {
1212
+ request.protocol = "wss:";
1213
+ request.method = "GET";
1214
+ request.path = `${request.path}-websocket`;
1215
+ const { headers } = request;
1216
+ delete headers["content-type"];
1217
+ delete headers["x-amz-content-sha256"];
1218
+ for (const name of Object.keys(headers)) {
1219
+ if (name.indexOf(options.headerPrefix) === 0) {
1220
+ const chunkedName = name.replace(options.headerPrefix, "");
1221
+ request.query[chunkedName] = headers[name];
1222
+ }
1223
+ }
1224
+ if (headers["x-amz-user-agent"]) {
1225
+ request.query["user-agent"] = headers["x-amz-user-agent"];
1226
+ }
1227
+ request.headers = { host: headers.host ?? request.hostname };
1228
+ }
1229
+ return next(args);
1230
+ }, websocketEndpointMiddlewareOptions;
1231
+ var init_websocketEndpointMiddleware = __esm(() => {
1232
+ import_protocol_http3 = __toESM(require_dist_cjs(), 1);
1233
+ websocketEndpointMiddlewareOptions = {
1234
+ name: "websocketEndpointMiddleware",
1235
+ tags: ["WEBSOCKET", "EVENT_STREAM"],
1236
+ relation: "after",
1237
+ toMiddleware: "eventStreamHeaderMiddleware",
1238
+ override: true
1239
+ };
1240
+ });
1241
+
1242
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketInjectSessionIdMiddleware.js
1243
+ var injectSessionIdMiddleware = () => (next) => async (args) => {
1244
+ const requestParams = {
1245
+ ...args.input
1246
+ };
1247
+ const response = await next(args);
1248
+ const output = response.output;
1249
+ if (requestParams.SessionId && output.SessionId == null) {
1250
+ output.SessionId = requestParams.SessionId;
1251
+ }
1252
+ return response;
1253
+ }, injectSessionIdMiddlewareOptions;
1254
+ var init_websocketInjectSessionIdMiddleware = __esm(() => {
1255
+ injectSessionIdMiddlewareOptions = {
1256
+ step: "initialize",
1257
+ name: "injectSessionIdMiddleware",
1258
+ tags: ["WEBSOCKET", "EVENT_STREAM"],
1259
+ override: true
1260
+ };
1261
+ });
1262
+
1263
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/getWebSocketPlugin.js
1264
+ var getWebSocketPlugin = (config, options) => ({
1265
+ applyToStack: (clientStack) => {
1266
+ clientStack.addRelativeTo(websocketEndpointMiddleware(config, options), websocketEndpointMiddlewareOptions);
1267
+ clientStack.add(injectSessionIdMiddleware(), injectSessionIdMiddlewareOptions);
1268
+ }
1269
+ });
1270
+ var init_getWebSocketPlugin = __esm(() => {
1271
+ init_websocketEndpointMiddleware();
1272
+ init_websocketInjectSessionIdMiddleware();
1273
+ });
1274
+
1275
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js
1276
+ class WebsocketSignatureV4 {
1277
+ signer;
1278
+ constructor(options) {
1279
+ this.signer = options.signer;
1280
+ }
1281
+ presign(originalRequest, options = {}) {
1282
+ return this.signer.presign(originalRequest, options);
1283
+ }
1284
+ async sign(toSign, options) {
1285
+ if (import_protocol_http4.HttpRequest.isInstance(toSign) && isWebSocketRequest(toSign)) {
1286
+ const signedRequest = await this.signer.presign({ ...toSign, body: "" }, {
1287
+ ...options,
1288
+ expiresIn: 60,
1289
+ unsignableHeaders: new Set(Object.keys(toSign.headers).filter((header) => header !== "host"))
1290
+ });
1291
+ return {
1292
+ ...signedRequest,
1293
+ body: toSign.body
1294
+ };
1295
+ } else {
1296
+ return this.signer.sign(toSign, options);
1297
+ }
1298
+ }
1299
+ signMessage(message, args) {
1300
+ return this.signer.signMessage(message, args);
1301
+ }
1302
+ }
1303
+ var import_protocol_http4;
1304
+ var init_WebsocketSignatureV4 = __esm(() => {
1305
+ init_utils();
1306
+ import_protocol_http4 = __toESM(require_dist_cjs(), 1);
1307
+ });
1308
+
1309
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/resolveWebSocketConfig.js
1310
+ var resolveWebSocketConfig = (input) => {
1311
+ const { signer } = input;
1312
+ return Object.assign(input, {
1313
+ signer: async (authScheme) => {
1314
+ const signerObj = await signer(authScheme);
1315
+ if (validateSigner(signerObj)) {
1316
+ return new WebsocketSignatureV4({ signer: signerObj });
1317
+ }
1318
+ throw new Error("Expected WebsocketSignatureV4 signer, please check the client constructor.");
1319
+ }
1320
+ });
1321
+ }, validateSigner = (signer) => !!signer;
1322
+ var init_resolveWebSocketConfig = __esm(() => {
1323
+ init_WebsocketSignatureV4();
1324
+ });
1325
+
1326
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/eventStreamPayloadHandlerProvider.js
1327
+ var init_eventStreamPayloadHandlerProvider = () => {};
1328
+
1329
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/index.js
1330
+ var init_dist_es9 = __esm(() => {
1331
+ init_WebSocketFetchHandler();
1332
+ init_getWebSocketPlugin();
1333
+ init_resolveWebSocketConfig();
1334
+ init_eventStreamPayloadHandlerProvider();
1335
+ });
1336
+
1337
+ // node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.12/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js
1338
+ var resolveEventStreamSerdeConfig = (input) => Object.assign(input, {
1339
+ eventStreamMarshaller: input.eventStreamSerdeProvider(input)
1340
+ });
1341
+ var init_EventStreamSerdeConfig = () => {};
1342
+
1343
+ // node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.12/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js
1344
+ var init_dist_es10 = __esm(() => {
1345
+ init_EventStreamSerdeConfig();
1346
+ });
1347
+
1348
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js
1349
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
1350
+ return {
1351
+ schemeId: "aws.auth#sigv4",
1352
+ signingProperties: {
1353
+ name: "bedrock",
1354
+ region: authParameters.region
1355
+ },
1356
+ propertiesExtractor: (config, context) => ({
1357
+ signingProperties: {
1358
+ config,
1359
+ context
1360
+ }
1361
+ })
1362
+ };
1363
+ }
1364
+ function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
1365
+ return {
1366
+ schemeId: "smithy.api#httpBearerAuth",
1367
+ propertiesExtractor: ({ profile, filepath, configFilepath, ignoreCache }, context) => ({
1368
+ identityProperties: {
1369
+ profile,
1370
+ filepath,
1371
+ configFilepath,
1372
+ ignoreCache
1373
+ }
1374
+ })
1375
+ };
1376
+ }
1377
+ var import_httpAuthSchemes, import_core, import_util_middleware, defaultBedrockRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
1378
+ return {
1379
+ operation: import_util_middleware.getSmithyContext(context).operation,
1380
+ region: await import_util_middleware.normalizeProvider(config.region)() || (() => {
1381
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
1382
+ })()
1383
+ };
1384
+ }, defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
1385
+ const options = [];
1386
+ switch (authParameters.operation) {
1387
+ default: {
1388
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
1389
+ options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
1390
+ }
1391
+ }
1392
+ return options;
1393
+ }, resolveHttpAuthSchemeConfig = (config) => {
1394
+ const token = import_core.memoizeIdentityProvider(config.token, import_core.isIdentityExpired, import_core.doesIdentityRequireRefresh);
1395
+ const config_0 = import_httpAuthSchemes.resolveAwsSdkSigV4Config(config);
1396
+ return Object.assign(config_0, {
1397
+ authSchemePreference: import_util_middleware.normalizeProvider(config.authSchemePreference ?? []),
1398
+ token
1399
+ });
1400
+ };
1401
+ var init_httpAuthSchemeProvider = __esm(() => {
1402
+ import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
1403
+ import_core = __toESM(require_dist_cjs10(), 1);
1404
+ import_util_middleware = __toESM(require_dist_cjs8(), 1);
1405
+ });
1406
+
1407
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/EndpointParameters.js
1408
+ var resolveClientEndpointParameters = (options) => {
1409
+ return Object.assign(options, {
1410
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
1411
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
1412
+ defaultSigningName: "bedrock"
1413
+ });
1414
+ }, commonParams;
1415
+ var init_EndpointParameters = __esm(() => {
1416
+ commonParams = {
1417
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
1418
+ Endpoint: { type: "builtInParams", name: "endpoint" },
1419
+ Region: { type: "builtInParams", name: "region" },
1420
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1421
+ };
1422
+ });
1423
+
1424
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/package.json
1425
+ var package_default;
1426
+ var init_package = __esm(() => {
1427
+ package_default = {
1428
+ name: "@aws-sdk/client-bedrock-runtime",
1429
+ description: "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
1430
+ version: "3.1020.0",
1431
+ scripts: {
1432
+ build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
1433
+ "build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
1434
+ "build:es": "tsc -p tsconfig.es.json",
1435
+ "build:include:deps": 'yarn g:turbo run build -F="$npm_package_name"',
1436
+ "build:types": "tsc -p tsconfig.types.json",
1437
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
1438
+ clean: "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
1439
+ "extract:docs": "api-extractor run --local",
1440
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo bedrock-runtime",
1441
+ test: "yarn g:vitest run --passWithNoTests",
1442
+ "test:browser": "yarn g:vitest run -c vitest.config.browser.e2e.mts",
1443
+ "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.e2e.mts",
1444
+ "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
1445
+ "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
1446
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
1447
+ "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
1448
+ "test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
1449
+ "test:watch": "yarn g:vitest watch --passWithNoTests"
1450
+ },
1451
+ main: "./dist-cjs/index.js",
1452
+ types: "./dist-types/index.d.ts",
1453
+ module: "./dist-es/index.js",
1454
+ sideEffects: false,
1455
+ dependencies: {
1456
+ "@aws-crypto/sha256-browser": "5.2.0",
1457
+ "@aws-crypto/sha256-js": "5.2.0",
1458
+ "@aws-sdk/core": "^3.973.26",
1459
+ "@aws-sdk/credential-provider-node": "^3.972.28",
1460
+ "@aws-sdk/eventstream-handler-node": "^3.972.12",
1461
+ "@aws-sdk/middleware-eventstream": "^3.972.8",
1462
+ "@aws-sdk/middleware-host-header": "^3.972.8",
1463
+ "@aws-sdk/middleware-logger": "^3.972.8",
1464
+ "@aws-sdk/middleware-recursion-detection": "^3.972.9",
1465
+ "@aws-sdk/middleware-user-agent": "^3.972.27",
1466
+ "@aws-sdk/middleware-websocket": "^3.972.14",
1467
+ "@aws-sdk/region-config-resolver": "^3.972.10",
1468
+ "@aws-sdk/token-providers": "3.1020.0",
1469
+ "@aws-sdk/types": "^3.973.6",
1470
+ "@aws-sdk/util-endpoints": "^3.996.5",
1471
+ "@aws-sdk/util-user-agent-browser": "^3.972.8",
1472
+ "@aws-sdk/util-user-agent-node": "^3.973.13",
1473
+ "@smithy/config-resolver": "^4.4.13",
1474
+ "@smithy/core": "^3.23.13",
1475
+ "@smithy/eventstream-serde-browser": "^4.2.12",
1476
+ "@smithy/eventstream-serde-config-resolver": "^4.3.12",
1477
+ "@smithy/eventstream-serde-node": "^4.2.12",
1478
+ "@smithy/fetch-http-handler": "^5.3.15",
1479
+ "@smithy/hash-node": "^4.2.12",
1480
+ "@smithy/invalid-dependency": "^4.2.12",
1481
+ "@smithy/middleware-content-length": "^4.2.12",
1482
+ "@smithy/middleware-endpoint": "^4.4.28",
1483
+ "@smithy/middleware-retry": "^4.4.45",
1484
+ "@smithy/middleware-serde": "^4.2.16",
1485
+ "@smithy/middleware-stack": "^4.2.12",
1486
+ "@smithy/node-config-provider": "^4.3.12",
1487
+ "@smithy/node-http-handler": "^4.5.1",
1488
+ "@smithy/protocol-http": "^5.3.12",
1489
+ "@smithy/smithy-client": "^4.12.8",
1490
+ "@smithy/types": "^4.13.1",
1491
+ "@smithy/url-parser": "^4.2.12",
1492
+ "@smithy/util-base64": "^4.3.2",
1493
+ "@smithy/util-body-length-browser": "^4.2.2",
1494
+ "@smithy/util-body-length-node": "^4.2.3",
1495
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
1496
+ "@smithy/util-defaults-mode-node": "^4.2.48",
1497
+ "@smithy/util-endpoints": "^3.3.3",
1498
+ "@smithy/util-middleware": "^4.2.12",
1499
+ "@smithy/util-retry": "^4.2.12",
1500
+ "@smithy/util-stream": "^4.5.21",
1501
+ "@smithy/util-utf8": "^4.2.2",
1502
+ tslib: "^2.6.2"
1503
+ },
1504
+ devDependencies: {
1505
+ "@smithy/snapshot-testing": "^2.0.4",
1506
+ "@tsconfig/node20": "20.1.8",
1507
+ "@types/node": "^20.14.8",
1508
+ concurrently: "7.0.0",
1509
+ "downlevel-dts": "0.10.1",
1510
+ premove: "4.0.0",
1511
+ typescript: "~5.8.3",
1512
+ vitest: "^4.0.17"
1513
+ },
1514
+ engines: {
1515
+ node: ">=20.0.0"
1516
+ },
1517
+ typesVersions: {
1518
+ "<4.5": {
1519
+ "dist-types/*": [
1520
+ "dist-types/ts3.4/*"
1521
+ ]
1522
+ }
1523
+ },
1524
+ files: [
1525
+ "dist-*/**"
1526
+ ],
1527
+ author: {
1528
+ name: "AWS SDK for JavaScript Team",
1529
+ url: "https://aws.amazon.com/javascript/"
1530
+ },
1531
+ license: "Apache-2.0",
1532
+ browser: {
1533
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
1534
+ },
1535
+ "react-native": {
1536
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
1537
+ },
1538
+ homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-runtime",
1539
+ repository: {
1540
+ type: "git",
1541
+ url: "https://github.com/aws/aws-sdk-js-v3.git",
1542
+ directory: "clients/client-bedrock-runtime"
1543
+ }
1544
+ };
1545
+ });
1546
+
1547
+ // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.12/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventSigningTransformStream.js
1548
+ import { Transform } from "stream";
1549
+ function getSignatureBinary(signature) {
1550
+ const buf = Buffer.from(signature, "hex");
1551
+ return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
1552
+ }
1553
+ var EventSigningTransformStream;
1554
+ var init_EventSigningTransformStream = __esm(() => {
1555
+ EventSigningTransformStream = class EventSigningTransformStream extends Transform {
1556
+ priorSignature;
1557
+ messageSigner;
1558
+ eventStreamCodec;
1559
+ systemClockOffsetProvider;
1560
+ constructor(options) {
1561
+ super({
1562
+ autoDestroy: true,
1563
+ readableObjectMode: true,
1564
+ writableObjectMode: true,
1565
+ ...options
1566
+ });
1567
+ this.priorSignature = options.priorSignature;
1568
+ this.eventStreamCodec = options.eventStreamCodec;
1569
+ this.messageSigner = options.messageSigner;
1570
+ this.systemClockOffsetProvider = options.systemClockOffsetProvider;
1571
+ }
1572
+ async _transform(chunk, encoding, callback) {
1573
+ try {
1574
+ const now = new Date(Date.now() + await this.systemClockOffsetProvider());
1575
+ const dateHeader = {
1576
+ ":date": { type: "timestamp", value: now }
1577
+ };
1578
+ const signedMessage = await this.messageSigner.sign({
1579
+ message: {
1580
+ body: chunk,
1581
+ headers: dateHeader
1582
+ },
1583
+ priorSignature: this.priorSignature
1584
+ }, {
1585
+ signingDate: now
1586
+ });
1587
+ this.priorSignature = signedMessage.signature;
1588
+ const serializedSigned = this.eventStreamCodec.encode({
1589
+ headers: {
1590
+ ...dateHeader,
1591
+ ":chunk-signature": {
1592
+ type: "binary",
1593
+ value: getSignatureBinary(signedMessage.signature)
1594
+ }
1595
+ },
1596
+ body: chunk
1597
+ });
1598
+ this.push(serializedSigned);
1599
+ return callback();
1600
+ } catch (err) {
1601
+ callback(err);
1602
+ }
1603
+ }
1604
+ };
1605
+ });
1606
+
1607
+ // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.12/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js
1608
+ import { PassThrough, pipeline, Readable } from "stream";
1609
+
1610
+ class EventStreamPayloadHandler {
1611
+ messageSigner;
1612
+ eventStreamCodec;
1613
+ systemClockOffsetProvider;
1614
+ constructor(options) {
1615
+ this.messageSigner = options.messageSigner;
1616
+ this.eventStreamCodec = new EventStreamCodec(options.utf8Encoder, options.utf8Decoder);
1617
+ this.systemClockOffsetProvider = async () => options.systemClockOffset ?? 0;
1618
+ }
1619
+ async handle(next, args, context = {}) {
1620
+ const request = args.request;
1621
+ const { body: payload, query } = request;
1622
+ if (!(payload instanceof Readable)) {
1623
+ throw new Error("Eventstream payload must be a Readable stream.");
1624
+ }
1625
+ const payloadStream = payload;
1626
+ request.body = new PassThrough({
1627
+ objectMode: true
1628
+ });
1629
+ const match = request.headers?.authorization?.match(/Signature=([\w]+)$/);
1630
+ let priorSignature = match?.[1] ?? query?.["X-Amz-Signature"] ?? "";
1631
+ if (context.__staticSignature) {
1632
+ priorSignature = "";
1633
+ }
1634
+ const signingStream = new EventSigningTransformStream({
1635
+ priorSignature,
1636
+ eventStreamCodec: this.eventStreamCodec,
1637
+ messageSigner: await this.messageSigner(),
1638
+ systemClockOffsetProvider: this.systemClockOffsetProvider
1639
+ });
1640
+ let resolvePipeline;
1641
+ const pipelineError = new Promise((resolve, reject) => {
1642
+ resolvePipeline = () => resolve(undefined);
1643
+ pipeline(payloadStream, signingStream, request.body, (err) => {
1644
+ if (err) {
1645
+ reject(new Error(`Pipeline error in @aws-sdk/eventstream-handler-node: ${err.message}`, { cause: err }));
1646
+ }
1647
+ });
1648
+ });
1649
+ let result;
1650
+ try {
1651
+ result = await Promise.race([next(args), pipelineError]);
1652
+ } catch (e) {
1653
+ request.body.end();
1654
+ throw e;
1655
+ } finally {
1656
+ resolvePipeline();
1657
+ }
1658
+ return result;
1659
+ }
1660
+ }
1661
+ var init_EventStreamPayloadHandler = __esm(() => {
1662
+ init_dist_es7();
1663
+ init_EventSigningTransformStream();
1664
+ });
1665
+
1666
+ // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.12/node_modules/@aws-sdk/eventstream-handler-node/dist-es/eventStreamPayloadHandlerProvider.js
1667
+ var eventStreamPayloadHandlerProvider2 = (options) => new EventStreamPayloadHandler(options);
1668
+ var init_eventStreamPayloadHandlerProvider2 = __esm(() => {
1669
+ init_EventStreamPayloadHandler();
1670
+ });
1671
+
1672
+ // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.12/node_modules/@aws-sdk/eventstream-handler-node/dist-es/index.js
1673
+ var init_dist_es11 = __esm(() => {
1674
+ init_eventStreamPayloadHandlerProvider2();
1675
+ });
1676
+
1677
+ // node_modules/.bun/@smithy+eventstream-serde-node@4.2.12/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js
1678
+ async function* readabletoIterable(readStream) {
1679
+ let streamEnded = false;
1680
+ let generationEnded = false;
1681
+ const records = new Array;
1682
+ readStream.on("error", (err) => {
1683
+ if (!streamEnded) {
1684
+ streamEnded = true;
1685
+ }
1686
+ if (err) {
1687
+ throw err;
1688
+ }
1689
+ });
1690
+ readStream.on("data", (data) => {
1691
+ records.push(data);
1692
+ });
1693
+ readStream.on("end", () => {
1694
+ streamEnded = true;
1695
+ });
1696
+ while (!generationEnded) {
1697
+ const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0));
1698
+ if (value) {
1699
+ yield value;
1700
+ }
1701
+ generationEnded = streamEnded && records.length === 0;
1702
+ }
1703
+ }
1704
+ var init_utils2 = () => {};
1705
+
1706
+ // node_modules/.bun/@smithy+eventstream-serde-node@4.2.12/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js
1707
+ import { Readable as Readable2 } from "stream";
1708
+
1709
+ class EventStreamMarshaller3 {
1710
+ universalMarshaller;
1711
+ constructor({ utf8Encoder, utf8Decoder }) {
1712
+ this.universalMarshaller = new EventStreamMarshaller({
1713
+ utf8Decoder,
1714
+ utf8Encoder
1715
+ });
1716
+ }
1717
+ deserialize(body, deserializer) {
1718
+ const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readabletoIterable(body);
1719
+ return this.universalMarshaller.deserialize(bodyIterable, deserializer);
1720
+ }
1721
+ serialize(input, serializer) {
1722
+ return Readable2.from(this.universalMarshaller.serialize(input, serializer));
1723
+ }
1724
+ }
1725
+ var init_EventStreamMarshaller2 = __esm(() => {
1726
+ init_dist_es8();
1727
+ init_utils2();
1728
+ });
1729
+
1730
+ // node_modules/.bun/@smithy+eventstream-serde-node@4.2.12/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js
1731
+ var eventStreamSerdeProvider = (options) => new EventStreamMarshaller3(options);
1732
+ var init_provider2 = __esm(() => {
1733
+ init_EventStreamMarshaller2();
1734
+ });
1735
+
1736
+ // node_modules/.bun/@smithy+eventstream-serde-node@4.2.12/node_modules/@smithy/eventstream-serde-node/dist-es/index.js
1737
+ var init_dist_es12 = __esm(() => {
1738
+ init_EventStreamMarshaller2();
1739
+ init_provider2();
1740
+ });
1741
+
1742
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/ruleset.js
1743
+ var s = "required", t = "fn", u = "argv", v = "ref", a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h, i, j, k, l, m, n, o, p, q, r, _data, ruleSet;
1744
+ var init_ruleset = __esm(() => {
1745
+ h = { [s]: false, type: "string" };
1746
+ i = { [s]: true, default: false, type: "boolean" };
1747
+ j = { [v]: "Endpoint" };
1748
+ k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] };
1749
+ l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] };
1750
+ m = {};
1751
+ n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] };
1752
+ o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] };
1753
+ p = [k];
1754
+ q = [l];
1755
+ r = [{ [v]: "Region" }];
1756
+ _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
1757
+ ruleSet = _data;
1758
+ });
1759
+
1760
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js
1761
+ var import_util_endpoints, import_util_endpoints2, cache, defaultEndpointResolver = (endpointParams, context = {}) => {
1762
+ return cache.get(endpointParams, () => import_util_endpoints2.resolveEndpoint(ruleSet, {
1763
+ endpointParams,
1764
+ logger: context.logger
1765
+ }));
1766
+ };
1767
+ var init_endpointResolver = __esm(() => {
1768
+ init_ruleset();
1769
+ import_util_endpoints = __toESM(require_dist_cjs15(), 1);
1770
+ import_util_endpoints2 = __toESM(require_dist_cjs14(), 1);
1771
+ cache = new import_util_endpoints2.EndpointCache({
1772
+ size: 50,
1773
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
1774
+ });
1775
+ import_util_endpoints2.customEndpointFunctions.aws = import_util_endpoints.awsEndpointFunctions;
1776
+ });
1777
+
1778
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js
1779
+ var import_smithy_client, BedrockRuntimeServiceException;
1780
+ var init_BedrockRuntimeServiceException = __esm(() => {
1781
+ import_smithy_client = __toESM(require_dist_cjs9(), 1);
1782
+ BedrockRuntimeServiceException = class BedrockRuntimeServiceException extends import_smithy_client.ServiceException {
1783
+ constructor(options) {
1784
+ super(options);
1785
+ Object.setPrototypeOf(this, BedrockRuntimeServiceException.prototype);
1786
+ }
1787
+ };
1788
+ });
1789
+
1790
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/errors.js
1791
+ var AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ModelErrorException, ModelNotReadyException, ModelTimeoutException, ModelStreamErrorException;
1792
+ var init_errors = __esm(() => {
1793
+ init_BedrockRuntimeServiceException();
1794
+ AccessDeniedException = class AccessDeniedException extends BedrockRuntimeServiceException {
1795
+ name = "AccessDeniedException";
1796
+ $fault = "client";
1797
+ constructor(opts) {
1798
+ super({
1799
+ name: "AccessDeniedException",
1800
+ $fault: "client",
1801
+ ...opts
1802
+ });
1803
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
1804
+ }
1805
+ };
1806
+ InternalServerException = class InternalServerException extends BedrockRuntimeServiceException {
1807
+ name = "InternalServerException";
1808
+ $fault = "server";
1809
+ constructor(opts) {
1810
+ super({
1811
+ name: "InternalServerException",
1812
+ $fault: "server",
1813
+ ...opts
1814
+ });
1815
+ Object.setPrototypeOf(this, InternalServerException.prototype);
1816
+ }
1817
+ };
1818
+ ThrottlingException = class ThrottlingException extends BedrockRuntimeServiceException {
1819
+ name = "ThrottlingException";
1820
+ $fault = "client";
1821
+ constructor(opts) {
1822
+ super({
1823
+ name: "ThrottlingException",
1824
+ $fault: "client",
1825
+ ...opts
1826
+ });
1827
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
1828
+ }
1829
+ };
1830
+ ValidationException = class ValidationException extends BedrockRuntimeServiceException {
1831
+ name = "ValidationException";
1832
+ $fault = "client";
1833
+ constructor(opts) {
1834
+ super({
1835
+ name: "ValidationException",
1836
+ $fault: "client",
1837
+ ...opts
1838
+ });
1839
+ Object.setPrototypeOf(this, ValidationException.prototype);
1840
+ }
1841
+ };
1842
+ ConflictException = class ConflictException extends BedrockRuntimeServiceException {
1843
+ name = "ConflictException";
1844
+ $fault = "client";
1845
+ constructor(opts) {
1846
+ super({
1847
+ name: "ConflictException",
1848
+ $fault: "client",
1849
+ ...opts
1850
+ });
1851
+ Object.setPrototypeOf(this, ConflictException.prototype);
1852
+ }
1853
+ };
1854
+ ResourceNotFoundException = class ResourceNotFoundException extends BedrockRuntimeServiceException {
1855
+ name = "ResourceNotFoundException";
1856
+ $fault = "client";
1857
+ constructor(opts) {
1858
+ super({
1859
+ name: "ResourceNotFoundException",
1860
+ $fault: "client",
1861
+ ...opts
1862
+ });
1863
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
1864
+ }
1865
+ };
1866
+ ServiceQuotaExceededException = class ServiceQuotaExceededException extends BedrockRuntimeServiceException {
1867
+ name = "ServiceQuotaExceededException";
1868
+ $fault = "client";
1869
+ constructor(opts) {
1870
+ super({
1871
+ name: "ServiceQuotaExceededException",
1872
+ $fault: "client",
1873
+ ...opts
1874
+ });
1875
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
1876
+ }
1877
+ };
1878
+ ServiceUnavailableException = class ServiceUnavailableException extends BedrockRuntimeServiceException {
1879
+ name = "ServiceUnavailableException";
1880
+ $fault = "server";
1881
+ constructor(opts) {
1882
+ super({
1883
+ name: "ServiceUnavailableException",
1884
+ $fault: "server",
1885
+ ...opts
1886
+ });
1887
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
1888
+ }
1889
+ };
1890
+ ModelErrorException = class ModelErrorException extends BedrockRuntimeServiceException {
1891
+ name = "ModelErrorException";
1892
+ $fault = "client";
1893
+ originalStatusCode;
1894
+ resourceName;
1895
+ constructor(opts) {
1896
+ super({
1897
+ name: "ModelErrorException",
1898
+ $fault: "client",
1899
+ ...opts
1900
+ });
1901
+ Object.setPrototypeOf(this, ModelErrorException.prototype);
1902
+ this.originalStatusCode = opts.originalStatusCode;
1903
+ this.resourceName = opts.resourceName;
1904
+ }
1905
+ };
1906
+ ModelNotReadyException = class ModelNotReadyException extends BedrockRuntimeServiceException {
1907
+ name = "ModelNotReadyException";
1908
+ $fault = "client";
1909
+ $retryable = {};
1910
+ constructor(opts) {
1911
+ super({
1912
+ name: "ModelNotReadyException",
1913
+ $fault: "client",
1914
+ ...opts
1915
+ });
1916
+ Object.setPrototypeOf(this, ModelNotReadyException.prototype);
1917
+ }
1918
+ };
1919
+ ModelTimeoutException = class ModelTimeoutException extends BedrockRuntimeServiceException {
1920
+ name = "ModelTimeoutException";
1921
+ $fault = "client";
1922
+ constructor(opts) {
1923
+ super({
1924
+ name: "ModelTimeoutException",
1925
+ $fault: "client",
1926
+ ...opts
1927
+ });
1928
+ Object.setPrototypeOf(this, ModelTimeoutException.prototype);
1929
+ }
1930
+ };
1931
+ ModelStreamErrorException = class ModelStreamErrorException extends BedrockRuntimeServiceException {
1932
+ name = "ModelStreamErrorException";
1933
+ $fault = "client";
1934
+ originalStatusCode;
1935
+ originalMessage;
1936
+ constructor(opts) {
1937
+ super({
1938
+ name: "ModelStreamErrorException",
1939
+ $fault: "client",
1940
+ ...opts
1941
+ });
1942
+ Object.setPrototypeOf(this, ModelStreamErrorException.prototype);
1943
+ this.originalStatusCode = opts.originalStatusCode;
1944
+ this.originalMessage = opts.originalMessage;
1945
+ }
1946
+ };
1947
+ });
1948
+
1949
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js
1950
+ var import_schema, _A = "Accept", _AB = "AudioBlock", _ADE = "AccessDeniedException", _AG = "ApplyGuardrail", _AGD = "AppliedGuardrailDetails", _AGR = "ApplyGuardrailRequest", _AGRp = "ApplyGuardrailResponse", _AIM = "AsyncInvokeMessage", _AIODC = "AsyncInvokeOutputDataConfig", _AIS = "AsyncInvokeSummary", _AISODC = "AsyncInvokeS3OutputDataConfig", _AISs = "AsyncInvokeSummaries", _AS = "AudioSource", _ATC = "AnyToolChoice", _ATCu = "AutoToolChoice", _B = "Body", _BIPP = "BidirectionalInputPayloadPart", _BOPP = "BidirectionalOutputPayloadPart", _C = "Citation", _CB = "ContentBlocks", _CBD = "ContentBlockDelta", _CBDE = "ContentBlockDeltaEvent", _CBS = "ContentBlockStart", _CBSE = "ContentBlockStartEvent", _CBSEo = "ContentBlockStopEvent", _CBo = "ContentBlock", _CC = "CitationsConfig", _CCB = "CitationsContentBlock", _CD = "CacheDetail", _CDL = "CacheDetailsList", _CDi = "CitationsDelta", _CE = "ConflictException", _CGC = "CitationGeneratedContent", _CGCL = "CitationGeneratedContentList", _CL = "CitationLocation", _CM = "ConverseMetrics", _CO = "ConverseOutput", _CPB = "CachePointBlock", _CR = "ConverseRequest", _CRo = "ConverseResponse", _CS = "ConverseStream", _CSC = "CitationSourceContent", _CSCD = "CitationSourceContentDelta", _CSCL = "CitationSourceContentList", _CSCLD = "CitationSourceContentListDelta", _CSM = "ConverseStreamMetrics", _CSME = "ConverseStreamMetadataEvent", _CSO = "ConverseStreamOutput", _CSR = "ConverseStreamRequest", _CSRo = "ConverseStreamResponse", _CST = "ConverseStreamTrace", _CT = "ConverseTrace", _CTI = "CountTokensInput", _CTR = "ConverseTokensRequest", _CTRo = "CountTokensRequest", _CTRou = "CountTokensResponse", _CT_ = "Content-Type", _CTo = "CountTokens", _Ci = "Citations", _Co = "Converse", _DB = "DocumentBlock", _DCB = "DocumentContentBlocks", _DCBo = "DocumentContentBlock", _DCL = "DocumentCharLocation", _DCLo = "DocumentChunkLocation", _DPL = "DocumentPageLocation", _DS = "DocumentSource", _EB = "ErrorBlock", _GA = "GuardrailAssessment", _GAI = "GetAsyncInvoke", _GAIR = "GetAsyncInvokeRequest", _GAIRe = "GetAsyncInvokeResponse", _GAL = "GuardrailAssessmentList", _GALM = "GuardrailAssessmentListMap", _GAM = "GuardrailAssessmentMap", _GARDSL = "GuardrailAutomatedReasoningDifferenceScenarioList", _GARF = "GuardrailAutomatedReasoningFinding", _GARFL = "GuardrailAutomatedReasoningFindingList", _GARIF = "GuardrailAutomatedReasoningImpossibleFinding", _GARIFu = "GuardrailAutomatedReasoningInvalidFinding", _GARITR = "GuardrailAutomatedReasoningInputTextReference", _GARITRL = "GuardrailAutomatedReasoningInputTextReferenceList", _GARLW = "GuardrailAutomatedReasoningLogicWarning", _GARNTF = "GuardrailAutomatedReasoningNoTranslationsFinding", _GARPA = "GuardrailAutomatedReasoningPolicyAssessment", _GARR = "GuardrailAutomatedReasoningRule", _GARRL = "GuardrailAutomatedReasoningRuleList", _GARS = "GuardrailAutomatedReasoningScenario", _GARSF = "GuardrailAutomatedReasoningSatisfiableFinding", _GARSL = "GuardrailAutomatedReasoningStatementList", _GARSLC = "GuardrailAutomatedReasoningStatementLogicContent", _GARSNLC = "GuardrailAutomatedReasoningStatementNaturalLanguageContent", _GARSu = "GuardrailAutomatedReasoningStatement", _GART = "GuardrailAutomatedReasoningTranslation", _GARTAF = "GuardrailAutomatedReasoningTranslationAmbiguousFinding", _GARTCF = "GuardrailAutomatedReasoningTooComplexFinding", _GARTL = "GuardrailAutomatedReasoningTranslationList", _GARTO = "GuardrailAutomatedReasoningTranslationOption", _GARTOL = "GuardrailAutomatedReasoningTranslationOptionList", _GARVF = "GuardrailAutomatedReasoningValidFinding", _GC = "GuardrailConfiguration", _GCB = "GuardrailContentBlock", _GCBL = "GuardrailContentBlockList", _GCCB = "GuardrailConverseContentBlock", _GCF = "GuardrailContentFilter", _GCFL = "GuardrailContentFilterList", _GCGF = "GuardrailContextualGroundingFilter", _GCGFu = "GuardrailContextualGroundingFilters", _GCGPA = "GuardrailContextualGroundingPolicyAssessment", _GCIB = "GuardrailConverseImageBlock", _GCIS = "GuardrailConverseImageSource", _GCPA = "GuardrailContentPolicyAssessment", _GCTB = "GuardrailConverseTextBlock", _GCW = "GuardrailCustomWord", _GCWL = "GuardrailCustomWordList", _GCu = "GuardrailCoverage", _GIB = "GuardrailImageBlock", _GIC = "GuardrailImageCoverage", _GIM = "GuardrailInvocationMetrics", _GIS = "GuardrailImageSource", _GMW = "GuardrailManagedWord", _GMWL = "GuardrailManagedWordList", _GOC = "GuardrailOutputContent", _GOCL = "GuardrailOutputContentList", _GPEF = "GuardrailPiiEntityFilter", _GPEFL = "GuardrailPiiEntityFilterList", _GRF = "GuardrailRegexFilter", _GRFL = "GuardrailRegexFilterList", _GSC = "GuardrailStreamConfiguration", _GSIPA = "GuardrailSensitiveInformationPolicyAssessment", _GT = "GuardrailTopic", _GTA = "GuardrailTraceAssessment", _GTB = "GuardrailTextBlock", _GTCC = "GuardrailTextCharactersCoverage", _GTL = "GuardrailTopicList", _GTPA = "GuardrailTopicPolicyAssessment", _GU = "GuardrailUsage", _GWPA = "GuardrailWordPolicyAssessment", _IB = "ImageBlock", _IBD = "ImageBlockDelta", _IBS = "ImageBlockStart", _IC = "InferenceConfiguration", _IM = "InvokeModel", _IMR = "InvokeModelRequest", _IMRn = "InvokeModelResponse", _IMTR = "InvokeModelTokensRequest", _IMWBS = "InvokeModelWithBidirectionalStream", _IMWBSI = "InvokeModelWithBidirectionalStreamInput", _IMWBSO = "InvokeModelWithBidirectionalStreamOutput", _IMWBSR = "InvokeModelWithBidirectionalStreamRequest", _IMWBSRn = "InvokeModelWithBidirectionalStreamResponse", _IMWRS = "InvokeModelWithResponseStream", _IMWRSR = "InvokeModelWithResponseStreamRequest", _IMWRSRn = "InvokeModelWithResponseStreamResponse", _IS = "ImageSource", _ISE = "InternalServerException", _JSD = "JsonSchemaDefinition", _LAI = "ListAsyncInvokes", _LAIR = "ListAsyncInvokesRequest", _LAIRi = "ListAsyncInvokesResponse", _M = "Message", _MEE = "ModelErrorException", _MIP = "ModelInputPayload", _MNRE = "ModelNotReadyException", _MSE = "MessageStartEvent", _MSEE = "ModelStreamErrorException", _MSEe = "MessageStopEvent", _MTE = "ModelTimeoutException", _Me = "Messages", _OC = "OutputConfig", _OF = "OutputFormat", _OFS = "OutputFormatStructure", _PB = "PartBody", _PC = "PerformanceConfiguration", _PP = "PayloadPart", _PRT = "PromptRouterTrace", _PVM = "PromptVariableMap", _PVV = "PromptVariableValues", _RCB = "ReasoningContentBlock", _RCBD = "ReasoningContentBlockDelta", _RM = "RequestMetadata", _RNFE = "ResourceNotFoundException", _RS = "ResponseStream", _RTB = "ReasoningTextBlock", _SAI = "StartAsyncInvoke", _SAIR = "StartAsyncInvokeRequest", _SAIRt = "StartAsyncInvokeResponse", _SCB = "SystemContentBlocks", _SCBy = "SystemContentBlock", _SL = "S3Location", _SQEE = "ServiceQuotaExceededException", _SRB = "SearchResultBlock", _SRCB = "SearchResultContentBlock", _SRCBe = "SearchResultContentBlocks", _SRL = "SearchResultLocation", _ST = "ServiceTier", _STC = "SpecificToolChoice", _STy = "SystemTool", _SUE = "ServiceUnavailableException", _T = "Tag", _TC = "ToolConfiguration", _TCo = "ToolChoice", _TE = "ThrottlingException", _TIS = "ToolInputSchema", _TL = "TagList", _TRB = "ToolResultBlock", _TRBD = "ToolResultBlocksDelta", _TRBDo = "ToolResultBlockDelta", _TRBS = "ToolResultBlockStart", _TRCB = "ToolResultContentBlocks", _TRCBo = "ToolResultContentBlock", _TS = "ToolSpecification", _TU = "TokenUsage", _TUB = "ToolUseBlock", _TUBD = "ToolUseBlockDelta", _TUBS = "ToolUseBlockStart", _To = "Tools", _Too = "Tool", _VB = "VideoBlock", _VE = "ValidationException", _VS = "VideoSource", _WL = "WebLocation", _XABA = "X-Amzn-Bedrock-Accept", _XABCT = "X-Amzn-Bedrock-Content-Type", _XABG = "X-Amzn-Bedrock-GuardrailIdentifier", _XABG_ = "X-Amzn-Bedrock-GuardrailVersion", _XABPL = "X-Amzn-Bedrock-PerformanceConfig-Latency", _XABST = "X-Amzn-Bedrock-Service-Tier", _XABT = "X-Amzn-Bedrock-Trace", _a = "action", _aGD = "appliedGuardrailDetails", _aIS = "asyncInvokeSummaries", _aMRF = "additionalModelRequestFields", _aMRFP = "additionalModelResponseFieldPaths", _aMRFd = "additionalModelResponseFields", _aR = "actionReason", _aRP = "automatedReasoningPolicy", _aRPU = "automatedReasoningPolicyUnits", _aRPu = "automatedReasoningPolicies", _ac = "accept", _an = "any", _as = "assessments", _au = "audio", _aut = "auto", _b = "bytes", _bO = "bucketOwner", _bo = "body", _c = "client", _cBD = "contentBlockDelta", _cBI = "contentBlockIndex", _cBS = "contentBlockStart", _cBSo = "contentBlockStop", _cC = "citationsContent", _cD = "cacheDetails", _cFS = "claimsFalseScenario", _cGP = "contextualGroundingPolicy", _cGPU = "contextualGroundingPolicyUnits", _cP = "contentPolicy", _cPIU = "contentPolicyImageUnits", _cPU = "contentPolicyUnits", _cPa = "cachePoint", _cR = "contradictingRules", _cRIT = "cacheReadInputTokens", _cRT = "clientRequestToken", _cT = "contentType", _cTS = "claimsTrueScenario", _cW = "customWords", _cWIT = "cacheWriteInputTokens", _ch = "chunk", _ci = "citations", _cit = "citation", _cl = "claims", _co = "content", _con = "context", _conf = "confidence", _conv = "converse", _d = "delta", _dC = "documentChar", _dCo = "documentChunk", _dI = "documentIndex", _dP = "documentPage", _dS = "differenceScenarios", _de = "detected", _des = "description", _do = "domain", _doc = "document", _e = "error", _eT = "endTime", _en = "enabled", _end = "end", _f = "format", _fM = "failureMessage", _fS = "filterStrength", _fi = "findings", _fil = "filters", _g = "guardrail", _gA = "guardrailArn", _gC = "guardrailCoverage", _gCu = "guardrailConfig", _gCua = "guardContent", _gI = "guardrailId", _gIu = "guardrailIdentifier", _gO = "guardrailOrigin", _gOu = "guardrailOwnership", _gPL = "guardrailProcessingLatency", _gV = "guardrailVersion", _gu = "guarded", _h = "http", _hE = "httpError", _hH = "httpHeader", _hQ = "httpQuery", _i = "input", _iA = "invocationArn", _iAn = "inputAssessment", _iC = "inferenceConfig", _iM = "invocationMetrics", _iMI = "invokedModelId", _iMn = "invokeModel", _iS = "inputSchema", _iSE = "internalServerException", _iT = "inputTokens", _id = "identifier", _im = "images", _ima = "image", _imp = "impossible", _in = "invalid", _j = "json", _jS = "jsonSchema", _k = "key", _kKI = "kmsKeyId", _l = "location", _lM = "latencyMs", _lMT = "lastModifiedTime", _lW = "logicWarning", _la = "latency", _lo = "logic", _m = "message", _mA = "modelArn", _mI = "modelId", _mIo = "modelInput", _mO = "modelOutput", _mR = "maxResults", _mS = "messageStart", _mSEE = "modelStreamErrorException", _mSe = "messageStop", _mT = "maxTokens", _mTE = "modelTimeoutException", _mWL = "managedWordLists", _ma = "match", _me = "messages", _met = "metrics", _meta = "metadata", _n = "name", _nL = "naturalLanguage", _nT = "nextToken", _nTo = "noTranslations", _o = "outputs", _oA = "outputAssessments", _oC = "outputConfig", _oDC = "outputDataConfig", _oM = "originalMessage", _oS = "outputScope", _oSC = "originalStatusCode", _oT = "outputTokens", _op = "options", _ou = "output", _p = "premises", _pC = "performanceConfig", _pCL = "performanceConfigLatency", _pE = "piiEntities", _pR = "promptRouter", _pV = "promptVariables", _pVA = "policyVersionArn", _q = "qualifiers", _r = "regex", _rC = "reasoningContent", _rCe = "redactedContent", _rM = "requestMetadata", _rN = "resourceName", _rT = "reasoningText", _re = "regexes", _ro = "role", _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime", _sB = "sortBy", _sC = "sourceContent", _sE = "statusEquals", _sIP = "sensitiveInformationPolicy", _sIPFU = "sensitiveInformationPolicyFreeUnits", _sIPU = "sensitiveInformationPolicyUnits", _sL = "s3Location", _sO = "sortOrder", _sODC = "s3OutputDataConfig", _sPM = "streamProcessingMode", _sR = "stopReason", _sRI = "searchResultIndex", _sRL = "searchResultLocation", _sRe = "searchResult", _sRu = "supportingRules", _sS = "stopSequences", _sT = "submitTime", _sTA = "submitTimeAfter", _sTB = "submitTimeBefore", _sTe = "serviceTier", _sTy = "systemTool", _sU = "s3Uri", _sUE = "serviceUnavailableException", _sa = "satisfiable", _sc = "score", _sch = "schema", _se = "server", _si = "signature", _so = "source", _st = "status", _sta = "start", _stat = "statements", _str = "stream", _stre = "streaming", _stri = "strict", _stru = "structure", _sy = "system", _t = "ttl", _tA = "translationAmbiguous", _tC = "toolConfig", _tCe = "textCharacters", _tCo = "toolChoice", _tCoo = "tooComplex", _tE = "throttlingException", _tF = "textFormat", _tP = "topicPolicy", _tPU = "topicPolicyUnits", _tPo = "topP", _tR = "toolResult", _tS = "toolSpec", _tT = "totalTokens", _tU = "toolUse", _tUI = "toolUseId", _ta = "tags", _te = "text", _tem = "temperature", _th = "threshold", _ti = "title", _to = "total", _too = "tools", _tool = "tool", _top = "topics", _tr = "trace", _tra = "translation", _tran = "translations", _ty = "type", _u = "usage", _uC = "untranslatedClaims", _uP = "untranslatedPremises", _ur = "uri", _url = "url", _v = "value", _vE = "validationException", _va = "valid", _vi = "video", _w = "web", _wP = "wordPolicy", _wPU = "wordPolicyUnits", n0 = "com.amazonaws.bedrockruntime", _s_registry, BedrockRuntimeServiceException$, n0_registry, AccessDeniedException$, ConflictException$, InternalServerException$, ModelErrorException$, ModelNotReadyException$, ModelStreamErrorException$, ModelTimeoutException$, ResourceNotFoundException$, ServiceQuotaExceededException$, ServiceUnavailableException$, ThrottlingException$, ValidationException$, errorTypeRegistries, AsyncInvokeMessage, Body, GuardrailAutomatedReasoningStatementLogicContent, GuardrailAutomatedReasoningStatementNaturalLanguageContent, ModelInputPayload, PartBody, AnyToolChoice$, AppliedGuardrailDetails$, ApplyGuardrailRequest$, ApplyGuardrailResponse$, AsyncInvokeS3OutputDataConfig$, AsyncInvokeSummary$, AudioBlock$, AutoToolChoice$, BidirectionalInputPayloadPart$, BidirectionalOutputPayloadPart$, CacheDetail$, CachePointBlock$, Citation$, CitationsConfig$, CitationsContentBlock$, CitationsDelta$, CitationSourceContentDelta$, ContentBlockDeltaEvent$, ContentBlockStartEvent$, ContentBlockStopEvent$, ConverseMetrics$, ConverseRequest$, ConverseResponse$, ConverseStreamMetadataEvent$, ConverseStreamMetrics$, ConverseStreamRequest$, ConverseStreamResponse$, ConverseStreamTrace$, ConverseTokensRequest$, ConverseTrace$, CountTokensRequest$, CountTokensResponse$, DocumentBlock$, DocumentCharLocation$, DocumentChunkLocation$, DocumentPageLocation$, ErrorBlock$, GetAsyncInvokeRequest$, GetAsyncInvokeResponse$, GuardrailAssessment$, GuardrailAutomatedReasoningImpossibleFinding$, GuardrailAutomatedReasoningInputTextReference$, GuardrailAutomatedReasoningInvalidFinding$, GuardrailAutomatedReasoningLogicWarning$, GuardrailAutomatedReasoningNoTranslationsFinding$, GuardrailAutomatedReasoningPolicyAssessment$, GuardrailAutomatedReasoningRule$, GuardrailAutomatedReasoningSatisfiableFinding$, GuardrailAutomatedReasoningScenario$, GuardrailAutomatedReasoningStatement$, GuardrailAutomatedReasoningTooComplexFinding$, GuardrailAutomatedReasoningTranslation$, GuardrailAutomatedReasoningTranslationAmbiguousFinding$, GuardrailAutomatedReasoningTranslationOption$, GuardrailAutomatedReasoningValidFinding$, GuardrailConfiguration$, GuardrailContentFilter$, GuardrailContentPolicyAssessment$, GuardrailContextualGroundingFilter$, GuardrailContextualGroundingPolicyAssessment$, GuardrailConverseImageBlock$, GuardrailConverseTextBlock$, GuardrailCoverage$, GuardrailCustomWord$, GuardrailImageBlock$, GuardrailImageCoverage$, GuardrailInvocationMetrics$, GuardrailManagedWord$, GuardrailOutputContent$, GuardrailPiiEntityFilter$, GuardrailRegexFilter$, GuardrailSensitiveInformationPolicyAssessment$, GuardrailStreamConfiguration$, GuardrailTextBlock$, GuardrailTextCharactersCoverage$, GuardrailTopic$, GuardrailTopicPolicyAssessment$, GuardrailTraceAssessment$, GuardrailUsage$, GuardrailWordPolicyAssessment$, ImageBlock$, ImageBlockDelta$, ImageBlockStart$, InferenceConfiguration$, InvokeModelRequest$, InvokeModelResponse$, InvokeModelTokensRequest$, InvokeModelWithBidirectionalStreamRequest$, InvokeModelWithBidirectionalStreamResponse$, InvokeModelWithResponseStreamRequest$, InvokeModelWithResponseStreamResponse$, JsonSchemaDefinition$, ListAsyncInvokesRequest$, ListAsyncInvokesResponse$, Message$, MessageStartEvent$, MessageStopEvent$, OutputConfig$, OutputFormat$, PayloadPart$, PerformanceConfiguration$, PromptRouterTrace$, ReasoningTextBlock$, S3Location$, SearchResultBlock$, SearchResultContentBlock$, SearchResultLocation$, ServiceTier$, SpecificToolChoice$, StartAsyncInvokeRequest$, StartAsyncInvokeResponse$, SystemTool$, Tag$, TokenUsage$, ToolConfiguration$, ToolResultBlock$, ToolResultBlockStart$, ToolSpecification$, ToolUseBlock$, ToolUseBlockDelta$, ToolUseBlockStart$, VideoBlock$, WebLocation$, AdditionalModelResponseFieldPaths, AsyncInvokeSummaries, CacheDetailsList, CitationGeneratedContentList, Citations, CitationSourceContentList, CitationSourceContentListDelta, ContentBlocks, DocumentContentBlocks, GuardrailAssessmentList, GuardrailAutomatedReasoningDifferenceScenarioList, GuardrailAutomatedReasoningFindingList, GuardrailAutomatedReasoningInputTextReferenceList, GuardrailAutomatedReasoningRuleList, GuardrailAutomatedReasoningStatementList, GuardrailAutomatedReasoningTranslationList, GuardrailAutomatedReasoningTranslationOptionList, GuardrailContentBlockList, GuardrailContentFilterList, GuardrailContentQualifierList, GuardrailContextualGroundingFilters, GuardrailConverseContentQualifierList, GuardrailCustomWordList, GuardrailManagedWordList, GuardrailOriginList, GuardrailOutputContentList, GuardrailPiiEntityFilterList, GuardrailRegexFilterList, GuardrailTopicList, Messages, ModelOutputs, NonEmptyStringList, SearchResultContentBlocks, SystemContentBlocks, TagList, ToolResultBlocksDelta, ToolResultContentBlocks, Tools, GuardrailAssessmentListMap, GuardrailAssessmentMap, PromptVariableMap, RequestMetadata, AsyncInvokeOutputDataConfig$, AudioSource$, CitationGeneratedContent$, CitationLocation$, CitationSourceContent$, ContentBlock$, ContentBlockDelta$, ContentBlockStart$, ConverseOutput$, ConverseStreamOutput$, CountTokensInput$, DocumentContentBlock$, DocumentSource$, GuardrailAutomatedReasoningFinding$, GuardrailContentBlock$, GuardrailConverseContentBlock$, GuardrailConverseImageSource$, GuardrailImageSource$, ImageSource$, InvokeModelWithBidirectionalStreamInput$, InvokeModelWithBidirectionalStreamOutput$, OutputFormatStructure$, PromptVariableValues$, ReasoningContentBlock$, ReasoningContentBlockDelta$, ResponseStream$, SystemContentBlock$, Tool$, ToolChoice$, ToolInputSchema$, ToolResultBlockDelta$, ToolResultContentBlock$, VideoSource$, ApplyGuardrail$, Converse$, ConverseStream$, CountTokens$, GetAsyncInvoke$, InvokeModel$, InvokeModelWithBidirectionalStream$, InvokeModelWithResponseStream$, ListAsyncInvokes$, StartAsyncInvoke$;
1951
+ var init_schemas_0 = __esm(() => {
1952
+ init_BedrockRuntimeServiceException();
1953
+ init_errors();
1954
+ import_schema = __toESM(require_schema(), 1);
1955
+ _s_registry = import_schema.TypeRegistry.for(_s);
1956
+ BedrockRuntimeServiceException$ = [-3, _s, "BedrockRuntimeServiceException", 0, [], []];
1957
+ _s_registry.registerError(BedrockRuntimeServiceException$, BedrockRuntimeServiceException);
1958
+ n0_registry = import_schema.TypeRegistry.for(n0);
1959
+ AccessDeniedException$ = [
1960
+ -3,
1961
+ n0,
1962
+ _ADE,
1963
+ { [_e]: _c, [_hE]: 403 },
1964
+ [_m],
1965
+ [0]
1966
+ ];
1967
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
1968
+ ConflictException$ = [
1969
+ -3,
1970
+ n0,
1971
+ _CE,
1972
+ { [_e]: _c, [_hE]: 400 },
1973
+ [_m],
1974
+ [0]
1975
+ ];
1976
+ n0_registry.registerError(ConflictException$, ConflictException);
1977
+ InternalServerException$ = [
1978
+ -3,
1979
+ n0,
1980
+ _ISE,
1981
+ { [_e]: _se, [_hE]: 500 },
1982
+ [_m],
1983
+ [0]
1984
+ ];
1985
+ n0_registry.registerError(InternalServerException$, InternalServerException);
1986
+ ModelErrorException$ = [
1987
+ -3,
1988
+ n0,
1989
+ _MEE,
1990
+ { [_e]: _c, [_hE]: 424 },
1991
+ [_m, _oSC, _rN],
1992
+ [0, 1, 0]
1993
+ ];
1994
+ n0_registry.registerError(ModelErrorException$, ModelErrorException);
1995
+ ModelNotReadyException$ = [
1996
+ -3,
1997
+ n0,
1998
+ _MNRE,
1999
+ { [_e]: _c, [_hE]: 429 },
2000
+ [_m],
2001
+ [0]
2002
+ ];
2003
+ n0_registry.registerError(ModelNotReadyException$, ModelNotReadyException);
2004
+ ModelStreamErrorException$ = [
2005
+ -3,
2006
+ n0,
2007
+ _MSEE,
2008
+ { [_e]: _c, [_hE]: 424 },
2009
+ [_m, _oSC, _oM],
2010
+ [0, 1, 0]
2011
+ ];
2012
+ n0_registry.registerError(ModelStreamErrorException$, ModelStreamErrorException);
2013
+ ModelTimeoutException$ = [
2014
+ -3,
2015
+ n0,
2016
+ _MTE,
2017
+ { [_e]: _c, [_hE]: 408 },
2018
+ [_m],
2019
+ [0]
2020
+ ];
2021
+ n0_registry.registerError(ModelTimeoutException$, ModelTimeoutException);
2022
+ ResourceNotFoundException$ = [
2023
+ -3,
2024
+ n0,
2025
+ _RNFE,
2026
+ { [_e]: _c, [_hE]: 404 },
2027
+ [_m],
2028
+ [0]
2029
+ ];
2030
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
2031
+ ServiceQuotaExceededException$ = [
2032
+ -3,
2033
+ n0,
2034
+ _SQEE,
2035
+ { [_e]: _c, [_hE]: 400 },
2036
+ [_m],
2037
+ [0]
2038
+ ];
2039
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
2040
+ ServiceUnavailableException$ = [
2041
+ -3,
2042
+ n0,
2043
+ _SUE,
2044
+ { [_e]: _se, [_hE]: 503 },
2045
+ [_m],
2046
+ [0]
2047
+ ];
2048
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
2049
+ ThrottlingException$ = [
2050
+ -3,
2051
+ n0,
2052
+ _TE,
2053
+ { [_e]: _c, [_hE]: 429 },
2054
+ [_m],
2055
+ [0]
2056
+ ];
2057
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
2058
+ ValidationException$ = [
2059
+ -3,
2060
+ n0,
2061
+ _VE,
2062
+ { [_e]: _c, [_hE]: 400 },
2063
+ [_m],
2064
+ [0]
2065
+ ];
2066
+ n0_registry.registerError(ValidationException$, ValidationException);
2067
+ errorTypeRegistries = [
2068
+ _s_registry,
2069
+ n0_registry
2070
+ ];
2071
+ AsyncInvokeMessage = [0, n0, _AIM, 8, 0];
2072
+ Body = [0, n0, _B, 8, 21];
2073
+ GuardrailAutomatedReasoningStatementLogicContent = [0, n0, _GARSLC, 8, 0];
2074
+ GuardrailAutomatedReasoningStatementNaturalLanguageContent = [0, n0, _GARSNLC, 8, 0];
2075
+ ModelInputPayload = [0, n0, _MIP, 8, 15];
2076
+ PartBody = [0, n0, _PB, 8, 21];
2077
+ AnyToolChoice$ = [
2078
+ 3,
2079
+ n0,
2080
+ _ATC,
2081
+ 0,
2082
+ [],
2083
+ []
2084
+ ];
2085
+ AppliedGuardrailDetails$ = [
2086
+ 3,
2087
+ n0,
2088
+ _AGD,
2089
+ 0,
2090
+ [_gI, _gV, _gA, _gO, _gOu],
2091
+ [0, 0, 0, 64 | 0, 0]
2092
+ ];
2093
+ ApplyGuardrailRequest$ = [
2094
+ 3,
2095
+ n0,
2096
+ _AGR,
2097
+ 0,
2098
+ [_gIu, _gV, _so, _co, _oS],
2099
+ [[0, 1], [0, 1], 0, [() => GuardrailContentBlockList, 0], 0],
2100
+ 4
2101
+ ];
2102
+ ApplyGuardrailResponse$ = [
2103
+ 3,
2104
+ n0,
2105
+ _AGRp,
2106
+ 0,
2107
+ [_u, _a, _o, _as, _aR, _gC],
2108
+ [() => GuardrailUsage$, 0, () => GuardrailOutputContentList, [() => GuardrailAssessmentList, 0], 0, () => GuardrailCoverage$],
2109
+ 4
2110
+ ];
2111
+ AsyncInvokeS3OutputDataConfig$ = [
2112
+ 3,
2113
+ n0,
2114
+ _AISODC,
2115
+ 0,
2116
+ [_sU, _kKI, _bO],
2117
+ [0, 0, 0],
2118
+ 1
2119
+ ];
2120
+ AsyncInvokeSummary$ = [
2121
+ 3,
2122
+ n0,
2123
+ _AIS,
2124
+ 0,
2125
+ [_iA, _mA, _sT, _oDC, _cRT, _st, _fM, _lMT, _eT],
2126
+ [0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, 0, [() => AsyncInvokeMessage, 0], 5, 5],
2127
+ 4
2128
+ ];
2129
+ AudioBlock$ = [
2130
+ 3,
2131
+ n0,
2132
+ _AB,
2133
+ 0,
2134
+ [_f, _so, _e],
2135
+ [0, [() => AudioSource$, 0], [() => ErrorBlock$, 0]],
2136
+ 2
2137
+ ];
2138
+ AutoToolChoice$ = [
2139
+ 3,
2140
+ n0,
2141
+ _ATCu,
2142
+ 0,
2143
+ [],
2144
+ []
2145
+ ];
2146
+ BidirectionalInputPayloadPart$ = [
2147
+ 3,
2148
+ n0,
2149
+ _BIPP,
2150
+ 8,
2151
+ [_b],
2152
+ [[() => PartBody, 0]]
2153
+ ];
2154
+ BidirectionalOutputPayloadPart$ = [
2155
+ 3,
2156
+ n0,
2157
+ _BOPP,
2158
+ 8,
2159
+ [_b],
2160
+ [[() => PartBody, 0]]
2161
+ ];
2162
+ CacheDetail$ = [
2163
+ 3,
2164
+ n0,
2165
+ _CD,
2166
+ 0,
2167
+ [_t, _iT],
2168
+ [0, 1],
2169
+ 2
2170
+ ];
2171
+ CachePointBlock$ = [
2172
+ 3,
2173
+ n0,
2174
+ _CPB,
2175
+ 0,
2176
+ [_ty, _t],
2177
+ [0, 0],
2178
+ 1
2179
+ ];
2180
+ Citation$ = [
2181
+ 3,
2182
+ n0,
2183
+ _C,
2184
+ 0,
2185
+ [_ti, _so, _sC, _l],
2186
+ [0, 0, () => CitationSourceContentList, () => CitationLocation$]
2187
+ ];
2188
+ CitationsConfig$ = [
2189
+ 3,
2190
+ n0,
2191
+ _CC,
2192
+ 0,
2193
+ [_en],
2194
+ [2],
2195
+ 1
2196
+ ];
2197
+ CitationsContentBlock$ = [
2198
+ 3,
2199
+ n0,
2200
+ _CCB,
2201
+ 0,
2202
+ [_co, _ci],
2203
+ [() => CitationGeneratedContentList, () => Citations]
2204
+ ];
2205
+ CitationsDelta$ = [
2206
+ 3,
2207
+ n0,
2208
+ _CDi,
2209
+ 0,
2210
+ [_ti, _so, _sC, _l],
2211
+ [0, 0, () => CitationSourceContentListDelta, () => CitationLocation$]
2212
+ ];
2213
+ CitationSourceContentDelta$ = [
2214
+ 3,
2215
+ n0,
2216
+ _CSCD,
2217
+ 0,
2218
+ [_te],
2219
+ [0]
2220
+ ];
2221
+ ContentBlockDeltaEvent$ = [
2222
+ 3,
2223
+ n0,
2224
+ _CBDE,
2225
+ 0,
2226
+ [_d, _cBI],
2227
+ [[() => ContentBlockDelta$, 0], 1],
2228
+ 2
2229
+ ];
2230
+ ContentBlockStartEvent$ = [
2231
+ 3,
2232
+ n0,
2233
+ _CBSE,
2234
+ 0,
2235
+ [_sta, _cBI],
2236
+ [() => ContentBlockStart$, 1],
2237
+ 2
2238
+ ];
2239
+ ContentBlockStopEvent$ = [
2240
+ 3,
2241
+ n0,
2242
+ _CBSEo,
2243
+ 0,
2244
+ [_cBI],
2245
+ [1],
2246
+ 1
2247
+ ];
2248
+ ConverseMetrics$ = [
2249
+ 3,
2250
+ n0,
2251
+ _CM,
2252
+ 0,
2253
+ [_lM],
2254
+ [1],
2255
+ 1
2256
+ ];
2257
+ ConverseRequest$ = [
2258
+ 3,
2259
+ n0,
2260
+ _CR,
2261
+ 0,
2262
+ [_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
2263
+ [[0, 1], [() => Messages, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]],
2264
+ 1
2265
+ ];
2266
+ ConverseResponse$ = [
2267
+ 3,
2268
+ n0,
2269
+ _CRo,
2270
+ 0,
2271
+ [_ou, _sR, _u, _met, _aMRFd, _tr, _pC, _sTe],
2272
+ [[() => ConverseOutput$, 0], 0, () => TokenUsage$, () => ConverseMetrics$, 15, [() => ConverseTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$],
2273
+ 4
2274
+ ];
2275
+ ConverseStreamMetadataEvent$ = [
2276
+ 3,
2277
+ n0,
2278
+ _CSME,
2279
+ 0,
2280
+ [_u, _met, _tr, _pC, _sTe],
2281
+ [() => TokenUsage$, () => ConverseStreamMetrics$, [() => ConverseStreamTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$],
2282
+ 2
2283
+ ];
2284
+ ConverseStreamMetrics$ = [
2285
+ 3,
2286
+ n0,
2287
+ _CSM,
2288
+ 0,
2289
+ [_lM],
2290
+ [1],
2291
+ 1
2292
+ ];
2293
+ ConverseStreamRequest$ = [
2294
+ 3,
2295
+ n0,
2296
+ _CSR,
2297
+ 0,
2298
+ [_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
2299
+ [[0, 1], [() => Messages, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailStreamConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]],
2300
+ 1
2301
+ ];
2302
+ ConverseStreamResponse$ = [
2303
+ 3,
2304
+ n0,
2305
+ _CSRo,
2306
+ 0,
2307
+ [_str],
2308
+ [[() => ConverseStreamOutput$, 16]]
2309
+ ];
2310
+ ConverseStreamTrace$ = [
2311
+ 3,
2312
+ n0,
2313
+ _CST,
2314
+ 0,
2315
+ [_g, _pR],
2316
+ [[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
2317
+ ];
2318
+ ConverseTokensRequest$ = [
2319
+ 3,
2320
+ n0,
2321
+ _CTR,
2322
+ 0,
2323
+ [_me, _sy, _tC, _aMRF],
2324
+ [[() => Messages, 0], [() => SystemContentBlocks, 0], () => ToolConfiguration$, 15]
2325
+ ];
2326
+ ConverseTrace$ = [
2327
+ 3,
2328
+ n0,
2329
+ _CT,
2330
+ 0,
2331
+ [_g, _pR],
2332
+ [[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
2333
+ ];
2334
+ CountTokensRequest$ = [
2335
+ 3,
2336
+ n0,
2337
+ _CTRo,
2338
+ 0,
2339
+ [_mI, _i],
2340
+ [[0, 1], [() => CountTokensInput$, 0]],
2341
+ 2
2342
+ ];
2343
+ CountTokensResponse$ = [
2344
+ 3,
2345
+ n0,
2346
+ _CTRou,
2347
+ 0,
2348
+ [_iT],
2349
+ [1],
2350
+ 1
2351
+ ];
2352
+ DocumentBlock$ = [
2353
+ 3,
2354
+ n0,
2355
+ _DB,
2356
+ 0,
2357
+ [_n, _so, _f, _con, _ci],
2358
+ [0, () => DocumentSource$, 0, 0, () => CitationsConfig$],
2359
+ 2
2360
+ ];
2361
+ DocumentCharLocation$ = [
2362
+ 3,
2363
+ n0,
2364
+ _DCL,
2365
+ 0,
2366
+ [_dI, _sta, _end],
2367
+ [1, 1, 1]
2368
+ ];
2369
+ DocumentChunkLocation$ = [
2370
+ 3,
2371
+ n0,
2372
+ _DCLo,
2373
+ 0,
2374
+ [_dI, _sta, _end],
2375
+ [1, 1, 1]
2376
+ ];
2377
+ DocumentPageLocation$ = [
2378
+ 3,
2379
+ n0,
2380
+ _DPL,
2381
+ 0,
2382
+ [_dI, _sta, _end],
2383
+ [1, 1, 1]
2384
+ ];
2385
+ ErrorBlock$ = [
2386
+ 3,
2387
+ n0,
2388
+ _EB,
2389
+ 8,
2390
+ [_m],
2391
+ [0]
2392
+ ];
2393
+ GetAsyncInvokeRequest$ = [
2394
+ 3,
2395
+ n0,
2396
+ _GAIR,
2397
+ 0,
2398
+ [_iA],
2399
+ [[0, 1]],
2400
+ 1
2401
+ ];
2402
+ GetAsyncInvokeResponse$ = [
2403
+ 3,
2404
+ n0,
2405
+ _GAIRe,
2406
+ 0,
2407
+ [_iA, _mA, _st, _sT, _oDC, _cRT, _fM, _lMT, _eT],
2408
+ [0, 0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, [() => AsyncInvokeMessage, 0], 5, 5],
2409
+ 5
2410
+ ];
2411
+ GuardrailAssessment$ = [
2412
+ 3,
2413
+ n0,
2414
+ _GA,
2415
+ 0,
2416
+ [_tP, _cP, _wP, _sIP, _cGP, _aRP, _iM, _aGD],
2417
+ [() => GuardrailTopicPolicyAssessment$, () => GuardrailContentPolicyAssessment$, () => GuardrailWordPolicyAssessment$, () => GuardrailSensitiveInformationPolicyAssessment$, () => GuardrailContextualGroundingPolicyAssessment$, [() => GuardrailAutomatedReasoningPolicyAssessment$, 0], () => GuardrailInvocationMetrics$, () => AppliedGuardrailDetails$]
2418
+ ];
2419
+ GuardrailAutomatedReasoningImpossibleFinding$ = [
2420
+ 3,
2421
+ n0,
2422
+ _GARIF,
2423
+ 0,
2424
+ [_tra, _cR, _lW],
2425
+ [[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
2426
+ ];
2427
+ GuardrailAutomatedReasoningInputTextReference$ = [
2428
+ 3,
2429
+ n0,
2430
+ _GARITR,
2431
+ 0,
2432
+ [_te],
2433
+ [[() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
2434
+ ];
2435
+ GuardrailAutomatedReasoningInvalidFinding$ = [
2436
+ 3,
2437
+ n0,
2438
+ _GARIFu,
2439
+ 0,
2440
+ [_tra, _cR, _lW],
2441
+ [[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
2442
+ ];
2443
+ GuardrailAutomatedReasoningLogicWarning$ = [
2444
+ 3,
2445
+ n0,
2446
+ _GARLW,
2447
+ 0,
2448
+ [_ty, _p, _cl],
2449
+ [0, [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0]]
2450
+ ];
2451
+ GuardrailAutomatedReasoningNoTranslationsFinding$ = [
2452
+ 3,
2453
+ n0,
2454
+ _GARNTF,
2455
+ 0,
2456
+ [],
2457
+ []
2458
+ ];
2459
+ GuardrailAutomatedReasoningPolicyAssessment$ = [
2460
+ 3,
2461
+ n0,
2462
+ _GARPA,
2463
+ 0,
2464
+ [_fi],
2465
+ [[() => GuardrailAutomatedReasoningFindingList, 0]]
2466
+ ];
2467
+ GuardrailAutomatedReasoningRule$ = [
2468
+ 3,
2469
+ n0,
2470
+ _GARR,
2471
+ 0,
2472
+ [_id, _pVA],
2473
+ [0, 0]
2474
+ ];
2475
+ GuardrailAutomatedReasoningSatisfiableFinding$ = [
2476
+ 3,
2477
+ n0,
2478
+ _GARSF,
2479
+ 0,
2480
+ [_tra, _cTS, _cFS, _lW],
2481
+ [[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
2482
+ ];
2483
+ GuardrailAutomatedReasoningScenario$ = [
2484
+ 3,
2485
+ n0,
2486
+ _GARS,
2487
+ 0,
2488
+ [_stat],
2489
+ [[() => GuardrailAutomatedReasoningStatementList, 0]]
2490
+ ];
2491
+ GuardrailAutomatedReasoningStatement$ = [
2492
+ 3,
2493
+ n0,
2494
+ _GARSu,
2495
+ 0,
2496
+ [_lo, _nL],
2497
+ [[() => GuardrailAutomatedReasoningStatementLogicContent, 0], [() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
2498
+ ];
2499
+ GuardrailAutomatedReasoningTooComplexFinding$ = [
2500
+ 3,
2501
+ n0,
2502
+ _GARTCF,
2503
+ 0,
2504
+ [],
2505
+ []
2506
+ ];
2507
+ GuardrailAutomatedReasoningTranslation$ = [
2508
+ 3,
2509
+ n0,
2510
+ _GART,
2511
+ 0,
2512
+ [_p, _cl, _uP, _uC, _conf],
2513
+ [[() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], 1]
2514
+ ];
2515
+ GuardrailAutomatedReasoningTranslationAmbiguousFinding$ = [
2516
+ 3,
2517
+ n0,
2518
+ _GARTAF,
2519
+ 0,
2520
+ [_op, _dS],
2521
+ [[() => GuardrailAutomatedReasoningTranslationOptionList, 0], [() => GuardrailAutomatedReasoningDifferenceScenarioList, 0]]
2522
+ ];
2523
+ GuardrailAutomatedReasoningTranslationOption$ = [
2524
+ 3,
2525
+ n0,
2526
+ _GARTO,
2527
+ 0,
2528
+ [_tran],
2529
+ [[() => GuardrailAutomatedReasoningTranslationList, 0]]
2530
+ ];
2531
+ GuardrailAutomatedReasoningValidFinding$ = [
2532
+ 3,
2533
+ n0,
2534
+ _GARVF,
2535
+ 0,
2536
+ [_tra, _cTS, _sRu, _lW],
2537
+ [[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
2538
+ ];
2539
+ GuardrailConfiguration$ = [
2540
+ 3,
2541
+ n0,
2542
+ _GC,
2543
+ 0,
2544
+ [_gIu, _gV, _tr],
2545
+ [0, 0, 0]
2546
+ ];
2547
+ GuardrailContentFilter$ = [
2548
+ 3,
2549
+ n0,
2550
+ _GCF,
2551
+ 0,
2552
+ [_ty, _conf, _a, _fS, _de],
2553
+ [0, 0, 0, 0, 2],
2554
+ 3
2555
+ ];
2556
+ GuardrailContentPolicyAssessment$ = [
2557
+ 3,
2558
+ n0,
2559
+ _GCPA,
2560
+ 0,
2561
+ [_fil],
2562
+ [() => GuardrailContentFilterList],
2563
+ 1
2564
+ ];
2565
+ GuardrailContextualGroundingFilter$ = [
2566
+ 3,
2567
+ n0,
2568
+ _GCGF,
2569
+ 0,
2570
+ [_ty, _th, _sc, _a, _de],
2571
+ [0, 1, 1, 0, 2],
2572
+ 4
2573
+ ];
2574
+ GuardrailContextualGroundingPolicyAssessment$ = [
2575
+ 3,
2576
+ n0,
2577
+ _GCGPA,
2578
+ 0,
2579
+ [_fil],
2580
+ [() => GuardrailContextualGroundingFilters]
2581
+ ];
2582
+ GuardrailConverseImageBlock$ = [
2583
+ 3,
2584
+ n0,
2585
+ _GCIB,
2586
+ 8,
2587
+ [_f, _so],
2588
+ [0, [() => GuardrailConverseImageSource$, 0]],
2589
+ 2
2590
+ ];
2591
+ GuardrailConverseTextBlock$ = [
2592
+ 3,
2593
+ n0,
2594
+ _GCTB,
2595
+ 0,
2596
+ [_te, _q],
2597
+ [0, 64 | 0],
2598
+ 1
2599
+ ];
2600
+ GuardrailCoverage$ = [
2601
+ 3,
2602
+ n0,
2603
+ _GCu,
2604
+ 0,
2605
+ [_tCe, _im],
2606
+ [() => GuardrailTextCharactersCoverage$, () => GuardrailImageCoverage$]
2607
+ ];
2608
+ GuardrailCustomWord$ = [
2609
+ 3,
2610
+ n0,
2611
+ _GCW,
2612
+ 0,
2613
+ [_ma, _a, _de],
2614
+ [0, 0, 2],
2615
+ 2
2616
+ ];
2617
+ GuardrailImageBlock$ = [
2618
+ 3,
2619
+ n0,
2620
+ _GIB,
2621
+ 8,
2622
+ [_f, _so],
2623
+ [0, [() => GuardrailImageSource$, 0]],
2624
+ 2
2625
+ ];
2626
+ GuardrailImageCoverage$ = [
2627
+ 3,
2628
+ n0,
2629
+ _GIC,
2630
+ 0,
2631
+ [_gu, _to],
2632
+ [1, 1]
2633
+ ];
2634
+ GuardrailInvocationMetrics$ = [
2635
+ 3,
2636
+ n0,
2637
+ _GIM,
2638
+ 0,
2639
+ [_gPL, _u, _gC],
2640
+ [1, () => GuardrailUsage$, () => GuardrailCoverage$]
2641
+ ];
2642
+ GuardrailManagedWord$ = [
2643
+ 3,
2644
+ n0,
2645
+ _GMW,
2646
+ 0,
2647
+ [_ma, _ty, _a, _de],
2648
+ [0, 0, 0, 2],
2649
+ 3
2650
+ ];
2651
+ GuardrailOutputContent$ = [
2652
+ 3,
2653
+ n0,
2654
+ _GOC,
2655
+ 0,
2656
+ [_te],
2657
+ [0]
2658
+ ];
2659
+ GuardrailPiiEntityFilter$ = [
2660
+ 3,
2661
+ n0,
2662
+ _GPEF,
2663
+ 0,
2664
+ [_ma, _ty, _a, _de],
2665
+ [0, 0, 0, 2],
2666
+ 3
2667
+ ];
2668
+ GuardrailRegexFilter$ = [
2669
+ 3,
2670
+ n0,
2671
+ _GRF,
2672
+ 0,
2673
+ [_a, _n, _ma, _r, _de],
2674
+ [0, 0, 0, 0, 2],
2675
+ 1
2676
+ ];
2677
+ GuardrailSensitiveInformationPolicyAssessment$ = [
2678
+ 3,
2679
+ n0,
2680
+ _GSIPA,
2681
+ 0,
2682
+ [_pE, _re],
2683
+ [() => GuardrailPiiEntityFilterList, () => GuardrailRegexFilterList],
2684
+ 2
2685
+ ];
2686
+ GuardrailStreamConfiguration$ = [
2687
+ 3,
2688
+ n0,
2689
+ _GSC,
2690
+ 0,
2691
+ [_gIu, _gV, _tr, _sPM],
2692
+ [0, 0, 0, 0]
2693
+ ];
2694
+ GuardrailTextBlock$ = [
2695
+ 3,
2696
+ n0,
2697
+ _GTB,
2698
+ 0,
2699
+ [_te, _q],
2700
+ [0, 64 | 0],
2701
+ 1
2702
+ ];
2703
+ GuardrailTextCharactersCoverage$ = [
2704
+ 3,
2705
+ n0,
2706
+ _GTCC,
2707
+ 0,
2708
+ [_gu, _to],
2709
+ [1, 1]
2710
+ ];
2711
+ GuardrailTopic$ = [
2712
+ 3,
2713
+ n0,
2714
+ _GT,
2715
+ 0,
2716
+ [_n, _ty, _a, _de],
2717
+ [0, 0, 0, 2],
2718
+ 3
2719
+ ];
2720
+ GuardrailTopicPolicyAssessment$ = [
2721
+ 3,
2722
+ n0,
2723
+ _GTPA,
2724
+ 0,
2725
+ [_top],
2726
+ [() => GuardrailTopicList],
2727
+ 1
2728
+ ];
2729
+ GuardrailTraceAssessment$ = [
2730
+ 3,
2731
+ n0,
2732
+ _GTA,
2733
+ 0,
2734
+ [_mO, _iAn, _oA, _aR],
2735
+ [64 | 0, [() => GuardrailAssessmentMap, 0], [() => GuardrailAssessmentListMap, 0], 0]
2736
+ ];
2737
+ GuardrailUsage$ = [
2738
+ 3,
2739
+ n0,
2740
+ _GU,
2741
+ 0,
2742
+ [_tPU, _cPU, _wPU, _sIPU, _sIPFU, _cGPU, _cPIU, _aRPU, _aRPu],
2743
+ [1, 1, 1, 1, 1, 1, 1, 1, 1],
2744
+ 6
2745
+ ];
2746
+ GuardrailWordPolicyAssessment$ = [
2747
+ 3,
2748
+ n0,
2749
+ _GWPA,
2750
+ 0,
2751
+ [_cW, _mWL],
2752
+ [() => GuardrailCustomWordList, () => GuardrailManagedWordList],
2753
+ 2
2754
+ ];
2755
+ ImageBlock$ = [
2756
+ 3,
2757
+ n0,
2758
+ _IB,
2759
+ 0,
2760
+ [_f, _so, _e],
2761
+ [0, [() => ImageSource$, 0], [() => ErrorBlock$, 0]],
2762
+ 2
2763
+ ];
2764
+ ImageBlockDelta$ = [
2765
+ 3,
2766
+ n0,
2767
+ _IBD,
2768
+ 0,
2769
+ [_so, _e],
2770
+ [[() => ImageSource$, 0], [() => ErrorBlock$, 0]]
2771
+ ];
2772
+ ImageBlockStart$ = [
2773
+ 3,
2774
+ n0,
2775
+ _IBS,
2776
+ 0,
2777
+ [_f],
2778
+ [0],
2779
+ 1
2780
+ ];
2781
+ InferenceConfiguration$ = [
2782
+ 3,
2783
+ n0,
2784
+ _IC,
2785
+ 0,
2786
+ [_mT, _tem, _tPo, _sS],
2787
+ [1, 1, 1, 64 | 0]
2788
+ ];
2789
+ InvokeModelRequest$ = [
2790
+ 3,
2791
+ n0,
2792
+ _IMR,
2793
+ 0,
2794
+ [_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe],
2795
+ [[0, 1], [() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _A }], [0, { [_hH]: _XABT }], [0, { [_hH]: _XABG }], [0, { [_hH]: _XABG_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
2796
+ 1
2797
+ ];
2798
+ InvokeModelResponse$ = [
2799
+ 3,
2800
+ n0,
2801
+ _IMRn,
2802
+ 0,
2803
+ [_bo, _cT, _pCL, _sTe],
2804
+ [[() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
2805
+ 2
2806
+ ];
2807
+ InvokeModelTokensRequest$ = [
2808
+ 3,
2809
+ n0,
2810
+ _IMTR,
2811
+ 0,
2812
+ [_bo],
2813
+ [[() => Body, 0]],
2814
+ 1
2815
+ ];
2816
+ InvokeModelWithBidirectionalStreamRequest$ = [
2817
+ 3,
2818
+ n0,
2819
+ _IMWBSR,
2820
+ 0,
2821
+ [_mI, _bo],
2822
+ [[0, 1], [() => InvokeModelWithBidirectionalStreamInput$, 16]],
2823
+ 2
2824
+ ];
2825
+ InvokeModelWithBidirectionalStreamResponse$ = [
2826
+ 3,
2827
+ n0,
2828
+ _IMWBSRn,
2829
+ 0,
2830
+ [_bo],
2831
+ [[() => InvokeModelWithBidirectionalStreamOutput$, 16]],
2832
+ 1
2833
+ ];
2834
+ InvokeModelWithResponseStreamRequest$ = [
2835
+ 3,
2836
+ n0,
2837
+ _IMWRSR,
2838
+ 0,
2839
+ [_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe],
2840
+ [[0, 1], [() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XABA }], [0, { [_hH]: _XABT }], [0, { [_hH]: _XABG }], [0, { [_hH]: _XABG_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
2841
+ 1
2842
+ ];
2843
+ InvokeModelWithResponseStreamResponse$ = [
2844
+ 3,
2845
+ n0,
2846
+ _IMWRSRn,
2847
+ 0,
2848
+ [_bo, _cT, _pCL, _sTe],
2849
+ [[() => ResponseStream$, 16], [0, { [_hH]: _XABCT }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
2850
+ 2
2851
+ ];
2852
+ JsonSchemaDefinition$ = [
2853
+ 3,
2854
+ n0,
2855
+ _JSD,
2856
+ 0,
2857
+ [_sch, _n, _des],
2858
+ [0, 0, 0],
2859
+ 1
2860
+ ];
2861
+ ListAsyncInvokesRequest$ = [
2862
+ 3,
2863
+ n0,
2864
+ _LAIR,
2865
+ 0,
2866
+ [_sTA, _sTB, _sE, _mR, _nT, _sB, _sO],
2867
+ [[5, { [_hQ]: _sTA }], [5, { [_hQ]: _sTB }], [0, { [_hQ]: _sE }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _sB }], [0, { [_hQ]: _sO }]]
2868
+ ];
2869
+ ListAsyncInvokesResponse$ = [
2870
+ 3,
2871
+ n0,
2872
+ _LAIRi,
2873
+ 0,
2874
+ [_nT, _aIS],
2875
+ [0, [() => AsyncInvokeSummaries, 0]]
2876
+ ];
2877
+ Message$ = [
2878
+ 3,
2879
+ n0,
2880
+ _M,
2881
+ 0,
2882
+ [_ro, _co],
2883
+ [0, [() => ContentBlocks, 0]],
2884
+ 2
2885
+ ];
2886
+ MessageStartEvent$ = [
2887
+ 3,
2888
+ n0,
2889
+ _MSE,
2890
+ 0,
2891
+ [_ro],
2892
+ [0],
2893
+ 1
2894
+ ];
2895
+ MessageStopEvent$ = [
2896
+ 3,
2897
+ n0,
2898
+ _MSEe,
2899
+ 0,
2900
+ [_sR, _aMRFd],
2901
+ [0, 15],
2902
+ 1
2903
+ ];
2904
+ OutputConfig$ = [
2905
+ 3,
2906
+ n0,
2907
+ _OC,
2908
+ 0,
2909
+ [_tF],
2910
+ [[() => OutputFormat$, 0]]
2911
+ ];
2912
+ OutputFormat$ = [
2913
+ 3,
2914
+ n0,
2915
+ _OF,
2916
+ 0,
2917
+ [_ty, _stru],
2918
+ [0, [() => OutputFormatStructure$, 0]],
2919
+ 2
2920
+ ];
2921
+ PayloadPart$ = [
2922
+ 3,
2923
+ n0,
2924
+ _PP,
2925
+ 8,
2926
+ [_b],
2927
+ [[() => PartBody, 0]]
2928
+ ];
2929
+ PerformanceConfiguration$ = [
2930
+ 3,
2931
+ n0,
2932
+ _PC,
2933
+ 0,
2934
+ [_la],
2935
+ [0]
2936
+ ];
2937
+ PromptRouterTrace$ = [
2938
+ 3,
2939
+ n0,
2940
+ _PRT,
2941
+ 0,
2942
+ [_iMI],
2943
+ [0]
2944
+ ];
2945
+ ReasoningTextBlock$ = [
2946
+ 3,
2947
+ n0,
2948
+ _RTB,
2949
+ 8,
2950
+ [_te, _si],
2951
+ [0, 0],
2952
+ 1
2953
+ ];
2954
+ S3Location$ = [
2955
+ 3,
2956
+ n0,
2957
+ _SL,
2958
+ 0,
2959
+ [_ur, _bO],
2960
+ [0, 0],
2961
+ 1
2962
+ ];
2963
+ SearchResultBlock$ = [
2964
+ 3,
2965
+ n0,
2966
+ _SRB,
2967
+ 0,
2968
+ [_so, _ti, _co, _ci],
2969
+ [0, 0, () => SearchResultContentBlocks, () => CitationsConfig$],
2970
+ 3
2971
+ ];
2972
+ SearchResultContentBlock$ = [
2973
+ 3,
2974
+ n0,
2975
+ _SRCB,
2976
+ 0,
2977
+ [_te],
2978
+ [0],
2979
+ 1
2980
+ ];
2981
+ SearchResultLocation$ = [
2982
+ 3,
2983
+ n0,
2984
+ _SRL,
2985
+ 0,
2986
+ [_sRI, _sta, _end],
2987
+ [1, 1, 1]
2988
+ ];
2989
+ ServiceTier$ = [
2990
+ 3,
2991
+ n0,
2992
+ _ST,
2993
+ 0,
2994
+ [_ty],
2995
+ [0],
2996
+ 1
2997
+ ];
2998
+ SpecificToolChoice$ = [
2999
+ 3,
3000
+ n0,
3001
+ _STC,
3002
+ 0,
3003
+ [_n],
3004
+ [0],
3005
+ 1
3006
+ ];
3007
+ StartAsyncInvokeRequest$ = [
3008
+ 3,
3009
+ n0,
3010
+ _SAIR,
3011
+ 0,
3012
+ [_mI, _mIo, _oDC, _cRT, _ta],
3013
+ [0, [() => ModelInputPayload, 0], () => AsyncInvokeOutputDataConfig$, [0, 4], () => TagList],
3014
+ 3
3015
+ ];
3016
+ StartAsyncInvokeResponse$ = [
3017
+ 3,
3018
+ n0,
3019
+ _SAIRt,
3020
+ 0,
3021
+ [_iA],
3022
+ [0],
3023
+ 1
3024
+ ];
3025
+ SystemTool$ = [
3026
+ 3,
3027
+ n0,
3028
+ _STy,
3029
+ 0,
3030
+ [_n],
3031
+ [0],
3032
+ 1
3033
+ ];
3034
+ Tag$ = [
3035
+ 3,
3036
+ n0,
3037
+ _T,
3038
+ 0,
3039
+ [_k, _v],
3040
+ [0, 0],
3041
+ 2
3042
+ ];
3043
+ TokenUsage$ = [
3044
+ 3,
3045
+ n0,
3046
+ _TU,
3047
+ 0,
3048
+ [_iT, _oT, _tT, _cRIT, _cWIT, _cD],
3049
+ [1, 1, 1, 1, 1, () => CacheDetailsList],
3050
+ 3
3051
+ ];
3052
+ ToolConfiguration$ = [
3053
+ 3,
3054
+ n0,
3055
+ _TC,
3056
+ 0,
3057
+ [_too, _tCo],
3058
+ [() => Tools, () => ToolChoice$],
3059
+ 1
3060
+ ];
3061
+ ToolResultBlock$ = [
3062
+ 3,
3063
+ n0,
3064
+ _TRB,
3065
+ 0,
3066
+ [_tUI, _co, _st, _ty],
3067
+ [0, [() => ToolResultContentBlocks, 0], 0, 0],
3068
+ 2
3069
+ ];
3070
+ ToolResultBlockStart$ = [
3071
+ 3,
3072
+ n0,
3073
+ _TRBS,
3074
+ 0,
3075
+ [_tUI, _ty, _st],
3076
+ [0, 0, 0],
3077
+ 1
3078
+ ];
3079
+ ToolSpecification$ = [
3080
+ 3,
3081
+ n0,
3082
+ _TS,
3083
+ 0,
3084
+ [_n, _iS, _des, _stri],
3085
+ [0, () => ToolInputSchema$, 0, 2],
3086
+ 2
3087
+ ];
3088
+ ToolUseBlock$ = [
3089
+ 3,
3090
+ n0,
3091
+ _TUB,
3092
+ 0,
3093
+ [_tUI, _n, _i, _ty],
3094
+ [0, 0, 15, 0],
3095
+ 3
3096
+ ];
3097
+ ToolUseBlockDelta$ = [
3098
+ 3,
3099
+ n0,
3100
+ _TUBD,
3101
+ 0,
3102
+ [_i],
3103
+ [0],
3104
+ 1
3105
+ ];
3106
+ ToolUseBlockStart$ = [
3107
+ 3,
3108
+ n0,
3109
+ _TUBS,
3110
+ 0,
3111
+ [_tUI, _n, _ty],
3112
+ [0, 0, 0],
3113
+ 2
3114
+ ];
3115
+ VideoBlock$ = [
3116
+ 3,
3117
+ n0,
3118
+ _VB,
3119
+ 0,
3120
+ [_f, _so],
3121
+ [0, () => VideoSource$],
3122
+ 2
3123
+ ];
3124
+ WebLocation$ = [
3125
+ 3,
3126
+ n0,
3127
+ _WL,
3128
+ 0,
3129
+ [_url, _do],
3130
+ [0, 0]
3131
+ ];
3132
+ AdditionalModelResponseFieldPaths = 64 | 0;
3133
+ AsyncInvokeSummaries = [
3134
+ 1,
3135
+ n0,
3136
+ _AISs,
3137
+ 0,
3138
+ [
3139
+ () => AsyncInvokeSummary$,
3140
+ 0
3141
+ ]
3142
+ ];
3143
+ CacheDetailsList = [
3144
+ 1,
3145
+ n0,
3146
+ _CDL,
3147
+ 0,
3148
+ () => CacheDetail$
3149
+ ];
3150
+ CitationGeneratedContentList = [
3151
+ 1,
3152
+ n0,
3153
+ _CGCL,
3154
+ 0,
3155
+ () => CitationGeneratedContent$
3156
+ ];
3157
+ Citations = [
3158
+ 1,
3159
+ n0,
3160
+ _Ci,
3161
+ 0,
3162
+ () => Citation$
3163
+ ];
3164
+ CitationSourceContentList = [
3165
+ 1,
3166
+ n0,
3167
+ _CSCL,
3168
+ 0,
3169
+ () => CitationSourceContent$
3170
+ ];
3171
+ CitationSourceContentListDelta = [
3172
+ 1,
3173
+ n0,
3174
+ _CSCLD,
3175
+ 0,
3176
+ () => CitationSourceContentDelta$
3177
+ ];
3178
+ ContentBlocks = [
3179
+ 1,
3180
+ n0,
3181
+ _CB,
3182
+ 0,
3183
+ [
3184
+ () => ContentBlock$,
3185
+ 0
3186
+ ]
3187
+ ];
3188
+ DocumentContentBlocks = [
3189
+ 1,
3190
+ n0,
3191
+ _DCB,
3192
+ 0,
3193
+ () => DocumentContentBlock$
3194
+ ];
3195
+ GuardrailAssessmentList = [
3196
+ 1,
3197
+ n0,
3198
+ _GAL,
3199
+ 0,
3200
+ [
3201
+ () => GuardrailAssessment$,
3202
+ 0
3203
+ ]
3204
+ ];
3205
+ GuardrailAutomatedReasoningDifferenceScenarioList = [
3206
+ 1,
3207
+ n0,
3208
+ _GARDSL,
3209
+ 0,
3210
+ [
3211
+ () => GuardrailAutomatedReasoningScenario$,
3212
+ 0
3213
+ ]
3214
+ ];
3215
+ GuardrailAutomatedReasoningFindingList = [
3216
+ 1,
3217
+ n0,
3218
+ _GARFL,
3219
+ 0,
3220
+ [
3221
+ () => GuardrailAutomatedReasoningFinding$,
3222
+ 0
3223
+ ]
3224
+ ];
3225
+ GuardrailAutomatedReasoningInputTextReferenceList = [
3226
+ 1,
3227
+ n0,
3228
+ _GARITRL,
3229
+ 0,
3230
+ [
3231
+ () => GuardrailAutomatedReasoningInputTextReference$,
3232
+ 0
3233
+ ]
3234
+ ];
3235
+ GuardrailAutomatedReasoningRuleList = [
3236
+ 1,
3237
+ n0,
3238
+ _GARRL,
3239
+ 0,
3240
+ () => GuardrailAutomatedReasoningRule$
3241
+ ];
3242
+ GuardrailAutomatedReasoningStatementList = [
3243
+ 1,
3244
+ n0,
3245
+ _GARSL,
3246
+ 0,
3247
+ [
3248
+ () => GuardrailAutomatedReasoningStatement$,
3249
+ 0
3250
+ ]
3251
+ ];
3252
+ GuardrailAutomatedReasoningTranslationList = [
3253
+ 1,
3254
+ n0,
3255
+ _GARTL,
3256
+ 0,
3257
+ [
3258
+ () => GuardrailAutomatedReasoningTranslation$,
3259
+ 0
3260
+ ]
3261
+ ];
3262
+ GuardrailAutomatedReasoningTranslationOptionList = [
3263
+ 1,
3264
+ n0,
3265
+ _GARTOL,
3266
+ 0,
3267
+ [
3268
+ () => GuardrailAutomatedReasoningTranslationOption$,
3269
+ 0
3270
+ ]
3271
+ ];
3272
+ GuardrailContentBlockList = [
3273
+ 1,
3274
+ n0,
3275
+ _GCBL,
3276
+ 0,
3277
+ [
3278
+ () => GuardrailContentBlock$,
3279
+ 0
3280
+ ]
3281
+ ];
3282
+ GuardrailContentFilterList = [
3283
+ 1,
3284
+ n0,
3285
+ _GCFL,
3286
+ 0,
3287
+ () => GuardrailContentFilter$
3288
+ ];
3289
+ GuardrailContentQualifierList = 64 | 0;
3290
+ GuardrailContextualGroundingFilters = [
3291
+ 1,
3292
+ n0,
3293
+ _GCGFu,
3294
+ 0,
3295
+ () => GuardrailContextualGroundingFilter$
3296
+ ];
3297
+ GuardrailConverseContentQualifierList = 64 | 0;
3298
+ GuardrailCustomWordList = [
3299
+ 1,
3300
+ n0,
3301
+ _GCWL,
3302
+ 0,
3303
+ () => GuardrailCustomWord$
3304
+ ];
3305
+ GuardrailManagedWordList = [
3306
+ 1,
3307
+ n0,
3308
+ _GMWL,
3309
+ 0,
3310
+ () => GuardrailManagedWord$
3311
+ ];
3312
+ GuardrailOriginList = 64 | 0;
3313
+ GuardrailOutputContentList = [
3314
+ 1,
3315
+ n0,
3316
+ _GOCL,
3317
+ 0,
3318
+ () => GuardrailOutputContent$
3319
+ ];
3320
+ GuardrailPiiEntityFilterList = [
3321
+ 1,
3322
+ n0,
3323
+ _GPEFL,
3324
+ 0,
3325
+ () => GuardrailPiiEntityFilter$
3326
+ ];
3327
+ GuardrailRegexFilterList = [
3328
+ 1,
3329
+ n0,
3330
+ _GRFL,
3331
+ 0,
3332
+ () => GuardrailRegexFilter$
3333
+ ];
3334
+ GuardrailTopicList = [
3335
+ 1,
3336
+ n0,
3337
+ _GTL,
3338
+ 0,
3339
+ () => GuardrailTopic$
3340
+ ];
3341
+ Messages = [
3342
+ 1,
3343
+ n0,
3344
+ _Me,
3345
+ 0,
3346
+ [
3347
+ () => Message$,
3348
+ 0
3349
+ ]
3350
+ ];
3351
+ ModelOutputs = 64 | 0;
3352
+ NonEmptyStringList = 64 | 0;
3353
+ SearchResultContentBlocks = [
3354
+ 1,
3355
+ n0,
3356
+ _SRCBe,
3357
+ 0,
3358
+ () => SearchResultContentBlock$
3359
+ ];
3360
+ SystemContentBlocks = [
3361
+ 1,
3362
+ n0,
3363
+ _SCB,
3364
+ 0,
3365
+ [
3366
+ () => SystemContentBlock$,
3367
+ 0
3368
+ ]
3369
+ ];
3370
+ TagList = [
3371
+ 1,
3372
+ n0,
3373
+ _TL,
3374
+ 0,
3375
+ () => Tag$
3376
+ ];
3377
+ ToolResultBlocksDelta = [
3378
+ 1,
3379
+ n0,
3380
+ _TRBD,
3381
+ 0,
3382
+ () => ToolResultBlockDelta$
3383
+ ];
3384
+ ToolResultContentBlocks = [
3385
+ 1,
3386
+ n0,
3387
+ _TRCB,
3388
+ 0,
3389
+ [
3390
+ () => ToolResultContentBlock$,
3391
+ 0
3392
+ ]
3393
+ ];
3394
+ Tools = [
3395
+ 1,
3396
+ n0,
3397
+ _To,
3398
+ 0,
3399
+ () => Tool$
3400
+ ];
3401
+ GuardrailAssessmentListMap = [
3402
+ 2,
3403
+ n0,
3404
+ _GALM,
3405
+ 0,
3406
+ [
3407
+ 0,
3408
+ 0
3409
+ ],
3410
+ [
3411
+ () => GuardrailAssessmentList,
3412
+ 0
3413
+ ]
3414
+ ];
3415
+ GuardrailAssessmentMap = [
3416
+ 2,
3417
+ n0,
3418
+ _GAM,
3419
+ 0,
3420
+ [
3421
+ 0,
3422
+ 0
3423
+ ],
3424
+ [
3425
+ () => GuardrailAssessment$,
3426
+ 0
3427
+ ]
3428
+ ];
3429
+ PromptVariableMap = [
3430
+ 2,
3431
+ n0,
3432
+ _PVM,
3433
+ 8,
3434
+ 0,
3435
+ () => PromptVariableValues$
3436
+ ];
3437
+ RequestMetadata = [
3438
+ 2,
3439
+ n0,
3440
+ _RM,
3441
+ 8,
3442
+ 0,
3443
+ 0
3444
+ ];
3445
+ AsyncInvokeOutputDataConfig$ = [
3446
+ 4,
3447
+ n0,
3448
+ _AIODC,
3449
+ 0,
3450
+ [_sODC],
3451
+ [() => AsyncInvokeS3OutputDataConfig$]
3452
+ ];
3453
+ AudioSource$ = [
3454
+ 4,
3455
+ n0,
3456
+ _AS,
3457
+ 8,
3458
+ [_b, _sL],
3459
+ [21, () => S3Location$]
3460
+ ];
3461
+ CitationGeneratedContent$ = [
3462
+ 4,
3463
+ n0,
3464
+ _CGC,
3465
+ 0,
3466
+ [_te],
3467
+ [0]
3468
+ ];
3469
+ CitationLocation$ = [
3470
+ 4,
3471
+ n0,
3472
+ _CL,
3473
+ 0,
3474
+ [_w, _dC, _dP, _dCo, _sRL],
3475
+ [() => WebLocation$, () => DocumentCharLocation$, () => DocumentPageLocation$, () => DocumentChunkLocation$, () => SearchResultLocation$]
3476
+ ];
3477
+ CitationSourceContent$ = [
3478
+ 4,
3479
+ n0,
3480
+ _CSC,
3481
+ 0,
3482
+ [_te],
3483
+ [0]
3484
+ ];
3485
+ ContentBlock$ = [
3486
+ 4,
3487
+ n0,
3488
+ _CBo,
3489
+ 0,
3490
+ [_te, _ima, _doc, _vi, _au, _tU, _tR, _gCua, _cPa, _rC, _cC, _sRe],
3491
+ [0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, [() => AudioBlock$, 0], () => ToolUseBlock$, [() => ToolResultBlock$, 0], [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$, [() => ReasoningContentBlock$, 0], () => CitationsContentBlock$, () => SearchResultBlock$]
3492
+ ];
3493
+ ContentBlockDelta$ = [
3494
+ 4,
3495
+ n0,
3496
+ _CBD,
3497
+ 0,
3498
+ [_te, _tU, _tR, _rC, _cit, _ima],
3499
+ [0, () => ToolUseBlockDelta$, () => ToolResultBlocksDelta, [() => ReasoningContentBlockDelta$, 0], () => CitationsDelta$, [() => ImageBlockDelta$, 0]]
3500
+ ];
3501
+ ContentBlockStart$ = [
3502
+ 4,
3503
+ n0,
3504
+ _CBS,
3505
+ 0,
3506
+ [_tU, _tR, _ima],
3507
+ [() => ToolUseBlockStart$, () => ToolResultBlockStart$, () => ImageBlockStart$]
3508
+ ];
3509
+ ConverseOutput$ = [
3510
+ 4,
3511
+ n0,
3512
+ _CO,
3513
+ 0,
3514
+ [_m],
3515
+ [[() => Message$, 0]]
3516
+ ];
3517
+ ConverseStreamOutput$ = [
3518
+ 4,
3519
+ n0,
3520
+ _CSO,
3521
+ { [_stre]: 1 },
3522
+ [_mS, _cBS, _cBD, _cBSo, _mSe, _meta, _iSE, _mSEE, _vE, _tE, _sUE],
3523
+ [() => MessageStartEvent$, () => ContentBlockStartEvent$, [() => ContentBlockDeltaEvent$, 0], () => ContentBlockStopEvent$, () => MessageStopEvent$, [() => ConverseStreamMetadataEvent$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ServiceUnavailableException$, 0]]
3524
+ ];
3525
+ CountTokensInput$ = [
3526
+ 4,
3527
+ n0,
3528
+ _CTI,
3529
+ 0,
3530
+ [_iMn, _conv],
3531
+ [[() => InvokeModelTokensRequest$, 0], [() => ConverseTokensRequest$, 0]]
3532
+ ];
3533
+ DocumentContentBlock$ = [
3534
+ 4,
3535
+ n0,
3536
+ _DCBo,
3537
+ 0,
3538
+ [_te],
3539
+ [0]
3540
+ ];
3541
+ DocumentSource$ = [
3542
+ 4,
3543
+ n0,
3544
+ _DS,
3545
+ 0,
3546
+ [_b, _sL, _te, _co],
3547
+ [21, () => S3Location$, 0, () => DocumentContentBlocks]
3548
+ ];
3549
+ GuardrailAutomatedReasoningFinding$ = [
3550
+ 4,
3551
+ n0,
3552
+ _GARF,
3553
+ 0,
3554
+ [_va, _in, _sa, _imp, _tA, _tCoo, _nTo],
3555
+ [[() => GuardrailAutomatedReasoningValidFinding$, 0], [() => GuardrailAutomatedReasoningInvalidFinding$, 0], [() => GuardrailAutomatedReasoningSatisfiableFinding$, 0], [() => GuardrailAutomatedReasoningImpossibleFinding$, 0], [() => GuardrailAutomatedReasoningTranslationAmbiguousFinding$, 0], () => GuardrailAutomatedReasoningTooComplexFinding$, () => GuardrailAutomatedReasoningNoTranslationsFinding$]
3556
+ ];
3557
+ GuardrailContentBlock$ = [
3558
+ 4,
3559
+ n0,
3560
+ _GCB,
3561
+ 0,
3562
+ [_te, _ima],
3563
+ [() => GuardrailTextBlock$, [() => GuardrailImageBlock$, 0]]
3564
+ ];
3565
+ GuardrailConverseContentBlock$ = [
3566
+ 4,
3567
+ n0,
3568
+ _GCCB,
3569
+ 0,
3570
+ [_te, _ima],
3571
+ [() => GuardrailConverseTextBlock$, [() => GuardrailConverseImageBlock$, 0]]
3572
+ ];
3573
+ GuardrailConverseImageSource$ = [
3574
+ 4,
3575
+ n0,
3576
+ _GCIS,
3577
+ 8,
3578
+ [_b],
3579
+ [21]
3580
+ ];
3581
+ GuardrailImageSource$ = [
3582
+ 4,
3583
+ n0,
3584
+ _GIS,
3585
+ 8,
3586
+ [_b],
3587
+ [21]
3588
+ ];
3589
+ ImageSource$ = [
3590
+ 4,
3591
+ n0,
3592
+ _IS,
3593
+ 8,
3594
+ [_b, _sL],
3595
+ [21, () => S3Location$]
3596
+ ];
3597
+ InvokeModelWithBidirectionalStreamInput$ = [
3598
+ 4,
3599
+ n0,
3600
+ _IMWBSI,
3601
+ { [_stre]: 1 },
3602
+ [_ch],
3603
+ [[() => BidirectionalInputPayloadPart$, 0]]
3604
+ ];
3605
+ InvokeModelWithBidirectionalStreamOutput$ = [
3606
+ 4,
3607
+ n0,
3608
+ _IMWBSO,
3609
+ { [_stre]: 1 },
3610
+ [_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
3611
+ [[() => BidirectionalOutputPayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
3612
+ ];
3613
+ OutputFormatStructure$ = [
3614
+ 4,
3615
+ n0,
3616
+ _OFS,
3617
+ 8,
3618
+ [_jS],
3619
+ [() => JsonSchemaDefinition$]
3620
+ ];
3621
+ PromptVariableValues$ = [
3622
+ 4,
3623
+ n0,
3624
+ _PVV,
3625
+ 0,
3626
+ [_te],
3627
+ [0]
3628
+ ];
3629
+ ReasoningContentBlock$ = [
3630
+ 4,
3631
+ n0,
3632
+ _RCB,
3633
+ 8,
3634
+ [_rT, _rCe],
3635
+ [[() => ReasoningTextBlock$, 0], 21]
3636
+ ];
3637
+ ReasoningContentBlockDelta$ = [
3638
+ 4,
3639
+ n0,
3640
+ _RCBD,
3641
+ 8,
3642
+ [_te, _rCe, _si],
3643
+ [0, 21, 0]
3644
+ ];
3645
+ ResponseStream$ = [
3646
+ 4,
3647
+ n0,
3648
+ _RS,
3649
+ { [_stre]: 1 },
3650
+ [_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
3651
+ [[() => PayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
3652
+ ];
3653
+ SystemContentBlock$ = [
3654
+ 4,
3655
+ n0,
3656
+ _SCBy,
3657
+ 0,
3658
+ [_te, _gCua, _cPa],
3659
+ [0, [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$]
3660
+ ];
3661
+ Tool$ = [
3662
+ 4,
3663
+ n0,
3664
+ _Too,
3665
+ 0,
3666
+ [_tS, _sTy, _cPa],
3667
+ [() => ToolSpecification$, () => SystemTool$, () => CachePointBlock$]
3668
+ ];
3669
+ ToolChoice$ = [
3670
+ 4,
3671
+ n0,
3672
+ _TCo,
3673
+ 0,
3674
+ [_aut, _an, _tool],
3675
+ [() => AutoToolChoice$, () => AnyToolChoice$, () => SpecificToolChoice$]
3676
+ ];
3677
+ ToolInputSchema$ = [
3678
+ 4,
3679
+ n0,
3680
+ _TIS,
3681
+ 0,
3682
+ [_j],
3683
+ [15]
3684
+ ];
3685
+ ToolResultBlockDelta$ = [
3686
+ 4,
3687
+ n0,
3688
+ _TRBDo,
3689
+ 0,
3690
+ [_te, _j],
3691
+ [0, 15]
3692
+ ];
3693
+ ToolResultContentBlock$ = [
3694
+ 4,
3695
+ n0,
3696
+ _TRCBo,
3697
+ 0,
3698
+ [_j, _te, _ima, _doc, _vi, _sRe],
3699
+ [15, 0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, () => SearchResultBlock$]
3700
+ ];
3701
+ VideoSource$ = [
3702
+ 4,
3703
+ n0,
3704
+ _VS,
3705
+ 0,
3706
+ [_b, _sL],
3707
+ [21, () => S3Location$]
3708
+ ];
3709
+ ApplyGuardrail$ = [
3710
+ 9,
3711
+ n0,
3712
+ _AG,
3713
+ { [_h]: ["POST", "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", 200] },
3714
+ () => ApplyGuardrailRequest$,
3715
+ () => ApplyGuardrailResponse$
3716
+ ];
3717
+ Converse$ = [
3718
+ 9,
3719
+ n0,
3720
+ _Co,
3721
+ { [_h]: ["POST", "/model/{modelId}/converse", 200] },
3722
+ () => ConverseRequest$,
3723
+ () => ConverseResponse$
3724
+ ];
3725
+ ConverseStream$ = [
3726
+ 9,
3727
+ n0,
3728
+ _CS,
3729
+ { [_h]: ["POST", "/model/{modelId}/converse-stream", 200] },
3730
+ () => ConverseStreamRequest$,
3731
+ () => ConverseStreamResponse$
3732
+ ];
3733
+ CountTokens$ = [
3734
+ 9,
3735
+ n0,
3736
+ _CTo,
3737
+ { [_h]: ["POST", "/model/{modelId}/count-tokens", 200] },
3738
+ () => CountTokensRequest$,
3739
+ () => CountTokensResponse$
3740
+ ];
3741
+ GetAsyncInvoke$ = [
3742
+ 9,
3743
+ n0,
3744
+ _GAI,
3745
+ { [_h]: ["GET", "/async-invoke/{invocationArn}", 200] },
3746
+ () => GetAsyncInvokeRequest$,
3747
+ () => GetAsyncInvokeResponse$
3748
+ ];
3749
+ InvokeModel$ = [
3750
+ 9,
3751
+ n0,
3752
+ _IM,
3753
+ { [_h]: ["POST", "/model/{modelId}/invoke", 200] },
3754
+ () => InvokeModelRequest$,
3755
+ () => InvokeModelResponse$
3756
+ ];
3757
+ InvokeModelWithBidirectionalStream$ = [
3758
+ 9,
3759
+ n0,
3760
+ _IMWBS,
3761
+ { [_h]: ["POST", "/model/{modelId}/invoke-with-bidirectional-stream", 200] },
3762
+ () => InvokeModelWithBidirectionalStreamRequest$,
3763
+ () => InvokeModelWithBidirectionalStreamResponse$
3764
+ ];
3765
+ InvokeModelWithResponseStream$ = [
3766
+ 9,
3767
+ n0,
3768
+ _IMWRS,
3769
+ { [_h]: ["POST", "/model/{modelId}/invoke-with-response-stream", 200] },
3770
+ () => InvokeModelWithResponseStreamRequest$,
3771
+ () => InvokeModelWithResponseStreamResponse$
3772
+ ];
3773
+ ListAsyncInvokes$ = [
3774
+ 9,
3775
+ n0,
3776
+ _LAI,
3777
+ { [_h]: ["GET", "/async-invoke", 200] },
3778
+ () => ListAsyncInvokesRequest$,
3779
+ () => ListAsyncInvokesResponse$
3780
+ ];
3781
+ StartAsyncInvoke$ = [
3782
+ 9,
3783
+ n0,
3784
+ _SAI,
3785
+ { [_h]: ["POST", "/async-invoke", 200] },
3786
+ () => StartAsyncInvokeRequest$,
3787
+ () => StartAsyncInvokeResponse$
3788
+ ];
3789
+ });
3790
+
3791
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js
3792
+ var import_httpAuthSchemes2, import_protocols, import_core2, import_smithy_client2, import_url_parser, import_util_base64, import_util_utf82, getRuntimeConfig = (config) => {
3793
+ return {
3794
+ apiVersion: "2023-09-30",
3795
+ base64Decoder: config?.base64Decoder ?? import_util_base64.fromBase64,
3796
+ base64Encoder: config?.base64Encoder ?? import_util_base64.toBase64,
3797
+ disableHostPrefix: config?.disableHostPrefix ?? false,
3798
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
3799
+ extensions: config?.extensions ?? [],
3800
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBedrockRuntimeHttpAuthSchemeProvider,
3801
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
3802
+ {
3803
+ schemeId: "aws.auth#sigv4",
3804
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
3805
+ signer: new import_httpAuthSchemes2.AwsSdkSigV4Signer
3806
+ },
3807
+ {
3808
+ schemeId: "smithy.api#httpBearerAuth",
3809
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
3810
+ signer: new import_core2.HttpBearerAuthSigner
3811
+ }
3812
+ ],
3813
+ logger: config?.logger ?? new import_smithy_client2.NoOpLogger,
3814
+ protocol: config?.protocol ?? import_protocols.AwsRestJsonProtocol,
3815
+ protocolSettings: config?.protocolSettings ?? {
3816
+ defaultNamespace: "com.amazonaws.bedrockruntime",
3817
+ errorTypeRegistries,
3818
+ version: "2023-09-30",
3819
+ serviceTarget: "AmazonBedrockFrontendService"
3820
+ },
3821
+ serviceId: config?.serviceId ?? "Bedrock Runtime",
3822
+ urlParser: config?.urlParser ?? import_url_parser.parseUrl,
3823
+ utf8Decoder: config?.utf8Decoder ?? import_util_utf82.fromUtf8,
3824
+ utf8Encoder: config?.utf8Encoder ?? import_util_utf82.toUtf8
3825
+ };
3826
+ };
3827
+ var init_runtimeConfig_shared = __esm(() => {
3828
+ init_httpAuthSchemeProvider();
3829
+ init_endpointResolver();
3830
+ init_schemas_0();
3831
+ import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
3832
+ import_protocols = __toESM(require_protocols(), 1);
3833
+ import_core2 = __toESM(require_dist_cjs10(), 1);
3834
+ import_smithy_client2 = __toESM(require_dist_cjs9(), 1);
3835
+ import_url_parser = __toESM(require_dist_cjs4(), 1);
3836
+ import_util_base64 = __toESM(require_dist_cjs6(), 1);
3837
+ import_util_utf82 = __toESM(require_dist_cjs5(), 1);
3838
+ });
3839
+
3840
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js
3841
+ var import_client, import_httpAuthSchemes3, import_util_user_agent_node, import_config_resolver, import_core3, import_hash_node, import_middleware_retry, import_node_config_provider, import_node_http_handler, import_smithy_client3, import_util_body_length_node, import_util_defaults_mode_node, import_util_retry, getRuntimeConfig2 = (config) => {
3842
+ import_smithy_client3.emitWarningIfUnsupportedVersion(process.version);
3843
+ const defaultsMode = import_util_defaults_mode_node.resolveDefaultsModeConfig(config);
3844
+ const defaultConfigProvider = () => defaultsMode().then(import_smithy_client3.loadConfigsForDefaultMode);
3845
+ const clientSharedValues = getRuntimeConfig(config);
3846
+ import_client.emitWarningIfUnsupportedVersion(process.version);
3847
+ const loaderConfig = {
3848
+ profile: config?.profile,
3849
+ logger: clientSharedValues.logger,
3850
+ signingName: "bedrock"
3851
+ };
3852
+ return {
3853
+ ...clientSharedValues,
3854
+ ...config,
3855
+ runtime: "node",
3856
+ defaultsMode,
3857
+ authSchemePreference: config?.authSchemePreference ?? import_node_config_provider.loadConfig(import_httpAuthSchemes3.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
3858
+ bodyLengthChecker: config?.bodyLengthChecker ?? import_util_body_length_node.calculateBodyLength,
3859
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
3860
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? import_util_user_agent_node.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
3861
+ eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? eventStreamPayloadHandlerProvider2,
3862
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
3863
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
3864
+ {
3865
+ schemeId: "aws.auth#sigv4",
3866
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
3867
+ signer: new import_httpAuthSchemes3.AwsSdkSigV4Signer
3868
+ },
3869
+ {
3870
+ schemeId: "smithy.api#httpBearerAuth",
3871
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth") || (async (idProps) => {
3872
+ try {
3873
+ return await fromEnvSigningName({ signingName: "bedrock" })();
3874
+ } catch (error) {
3875
+ return await nodeProvider(idProps)(idProps);
3876
+ }
3877
+ }),
3878
+ signer: new import_core3.HttpBearerAuthSigner
3879
+ }
3880
+ ],
3881
+ maxAttempts: config?.maxAttempts ?? import_node_config_provider.loadConfig(import_middleware_retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
3882
+ region: config?.region ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_REGION_CONFIG_OPTIONS, { ...import_config_resolver.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
3883
+ requestHandler: import_node_http_handler.NodeHttp2Handler.create(config?.requestHandler ?? (async () => ({
3884
+ ...await defaultConfigProvider(),
3885
+ disableConcurrentStreams: true
3886
+ }))),
3887
+ retryMode: config?.retryMode ?? import_node_config_provider.loadConfig({
3888
+ ...import_middleware_retry.NODE_RETRY_MODE_CONFIG_OPTIONS,
3889
+ default: async () => (await defaultConfigProvider()).retryMode || import_util_retry.DEFAULT_RETRY_MODE
3890
+ }, config),
3891
+ sha256: config?.sha256 ?? import_hash_node.Hash.bind(null, "sha256"),
3892
+ streamCollector: config?.streamCollector ?? import_node_http_handler.streamCollector,
3893
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
3894
+ useFipsEndpoint: config?.useFipsEndpoint ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
3895
+ userAgentAppId: config?.userAgentAppId ?? import_node_config_provider.loadConfig(import_util_user_agent_node.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
3896
+ };
3897
+ };
3898
+ var init_runtimeConfig = __esm(() => {
3899
+ init_package();
3900
+ init_dist_es2();
3901
+ init_dist_es11();
3902
+ init_dist_es();
3903
+ init_dist_es12();
3904
+ init_runtimeConfig_shared();
3905
+ import_client = __toESM(require_client(), 1);
3906
+ import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
3907
+ import_util_user_agent_node = __toESM(require_dist_cjs22(), 1);
3908
+ import_config_resolver = __toESM(require_dist_cjs18(), 1);
3909
+ import_core3 = __toESM(require_dist_cjs10(), 1);
3910
+ import_hash_node = __toESM(require_dist_cjs23(), 1);
3911
+ import_middleware_retry = __toESM(require_dist_cjs21(), 1);
3912
+ import_node_config_provider = __toESM(require_dist_cjs3(), 1);
3913
+ import_node_http_handler = __toESM(require_dist_cjs2(), 1);
3914
+ import_smithy_client3 = __toESM(require_dist_cjs9(), 1);
3915
+ import_util_body_length_node = __toESM(require_dist_cjs24(), 1);
3916
+ import_util_defaults_mode_node = __toESM(require_dist_cjs25(), 1);
3917
+ import_util_retry = __toESM(require_dist_cjs16(), 1);
3918
+ });
3919
+
3920
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthExtensionConfiguration.js
3921
+ var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
3922
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3923
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
3924
+ let _credentials = runtimeConfig.credentials;
3925
+ let _token = runtimeConfig.token;
3926
+ return {
3927
+ setHttpAuthScheme(httpAuthScheme) {
3928
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
3929
+ if (index === -1) {
3930
+ _httpAuthSchemes.push(httpAuthScheme);
3931
+ } else {
3932
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
3933
+ }
3934
+ },
3935
+ httpAuthSchemes() {
3936
+ return _httpAuthSchemes;
3937
+ },
3938
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
3939
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
3940
+ },
3941
+ httpAuthSchemeProvider() {
3942
+ return _httpAuthSchemeProvider;
3943
+ },
3944
+ setCredentials(credentials) {
3945
+ _credentials = credentials;
3946
+ },
3947
+ credentials() {
3948
+ return _credentials;
3949
+ },
3950
+ setToken(token) {
3951
+ _token = token;
3952
+ },
3953
+ token() {
3954
+ return _token;
3955
+ }
3956
+ };
3957
+ }, resolveHttpAuthRuntimeConfig = (config) => {
3958
+ return {
3959
+ httpAuthSchemes: config.httpAuthSchemes(),
3960
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
3961
+ credentials: config.credentials(),
3962
+ token: config.token()
3963
+ };
3964
+ };
3965
+ var init_httpAuthExtensionConfiguration = () => {};
3966
+
3967
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js
3968
+ var import_region_config_resolver, import_protocol_http5, import_smithy_client4, resolveRuntimeExtensions = (runtimeConfig, extensions) => {
3969
+ const extensionConfiguration = Object.assign(import_region_config_resolver.getAwsRegionExtensionConfiguration(runtimeConfig), import_smithy_client4.getDefaultExtensionConfiguration(runtimeConfig), import_protocol_http5.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
3970
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
3971
+ return Object.assign(runtimeConfig, import_region_config_resolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_smithy_client4.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocol_http5.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
3972
+ };
3973
+ var init_runtimeExtensions = __esm(() => {
3974
+ init_httpAuthExtensionConfiguration();
3975
+ import_region_config_resolver = __toESM(require_dist_cjs26(), 1);
3976
+ import_protocol_http5 = __toESM(require_dist_cjs(), 1);
3977
+ import_smithy_client4 = __toESM(require_dist_cjs9(), 1);
3978
+ });
3979
+
3980
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js
3981
+ var import_middleware_host_header, import_middleware_logger, import_middleware_recursion_detection, import_middleware_user_agent, import_config_resolver2, import_core4, import_schema2, import_middleware_content_length, import_middleware_endpoint, import_middleware_retry2, import_smithy_client5, BedrockRuntimeClient;
3982
+ var init_BedrockRuntimeClient = __esm(() => {
3983
+ init_dist_es3();
3984
+ init_dist_es9();
3985
+ init_dist_es10();
3986
+ init_httpAuthSchemeProvider();
3987
+ init_EndpointParameters();
3988
+ init_runtimeConfig();
3989
+ init_runtimeExtensions();
3990
+ import_middleware_host_header = __toESM(require_dist_cjs11(), 1);
3991
+ import_middleware_logger = __toESM(require_dist_cjs12(), 1);
3992
+ import_middleware_recursion_detection = __toESM(require_dist_cjs13(), 1);
3993
+ import_middleware_user_agent = __toESM(require_dist_cjs17(), 1);
3994
+ import_config_resolver2 = __toESM(require_dist_cjs18(), 1);
3995
+ import_core4 = __toESM(require_dist_cjs10(), 1);
3996
+ import_schema2 = __toESM(require_schema(), 1);
3997
+ import_middleware_content_length = __toESM(require_dist_cjs19(), 1);
3998
+ import_middleware_endpoint = __toESM(require_dist_cjs20(), 1);
3999
+ import_middleware_retry2 = __toESM(require_dist_cjs21(), 1);
4000
+ import_smithy_client5 = __toESM(require_dist_cjs9(), 1);
4001
+ BedrockRuntimeClient = class BedrockRuntimeClient extends import_smithy_client5.Client {
4002
+ config;
4003
+ constructor(...[configuration]) {
4004
+ const _config_0 = getRuntimeConfig2(configuration || {});
4005
+ super(_config_0);
4006
+ this.initConfig = _config_0;
4007
+ const _config_1 = resolveClientEndpointParameters(_config_0);
4008
+ const _config_2 = import_middleware_user_agent.resolveUserAgentConfig(_config_1);
4009
+ const _config_3 = import_middleware_retry2.resolveRetryConfig(_config_2);
4010
+ const _config_4 = import_config_resolver2.resolveRegionConfig(_config_3);
4011
+ const _config_5 = import_middleware_host_header.resolveHostHeaderConfig(_config_4);
4012
+ const _config_6 = import_middleware_endpoint.resolveEndpointConfig(_config_5);
4013
+ const _config_7 = resolveEventStreamSerdeConfig(_config_6);
4014
+ const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
4015
+ const _config_9 = resolveEventStreamConfig(_config_8);
4016
+ const _config_10 = resolveWebSocketConfig(_config_9);
4017
+ const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
4018
+ this.config = _config_11;
4019
+ this.middlewareStack.use(import_schema2.getSchemaSerdePlugin(this.config));
4020
+ this.middlewareStack.use(import_middleware_user_agent.getUserAgentPlugin(this.config));
4021
+ this.middlewareStack.use(import_middleware_retry2.getRetryPlugin(this.config));
4022
+ this.middlewareStack.use(import_middleware_content_length.getContentLengthPlugin(this.config));
4023
+ this.middlewareStack.use(import_middleware_host_header.getHostHeaderPlugin(this.config));
4024
+ this.middlewareStack.use(import_middleware_logger.getLoggerPlugin(this.config));
4025
+ this.middlewareStack.use(import_middleware_recursion_detection.getRecursionDetectionPlugin(this.config));
4026
+ this.middlewareStack.use(import_core4.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
4027
+ httpAuthSchemeParametersProvider: defaultBedrockRuntimeHttpAuthSchemeParametersProvider,
4028
+ identityProviderConfigProvider: async (config) => new import_core4.DefaultIdentityProviderConfig({
4029
+ "aws.auth#sigv4": config.credentials,
4030
+ "smithy.api#httpBearerAuth": config.token
4031
+ })
4032
+ }));
4033
+ this.middlewareStack.use(import_core4.getHttpSigningPlugin(this.config));
4034
+ }
4035
+ destroy() {
4036
+ super.destroy();
4037
+ }
4038
+ };
4039
+ });
4040
+
4041
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js
4042
+ var import_middleware_endpoint2, import_smithy_client6, ApplyGuardrailCommand;
4043
+ var init_ApplyGuardrailCommand = __esm(() => {
4044
+ init_EndpointParameters();
4045
+ init_schemas_0();
4046
+ import_middleware_endpoint2 = __toESM(require_dist_cjs20(), 1);
4047
+ import_smithy_client6 = __toESM(require_dist_cjs9(), 1);
4048
+ ApplyGuardrailCommand = class ApplyGuardrailCommand extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4049
+ return [import_middleware_endpoint2.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4050
+ }).s("AmazonBedrockFrontendService", "ApplyGuardrail", {}).n("BedrockRuntimeClient", "ApplyGuardrailCommand").sc(ApplyGuardrail$).build() {
4051
+ };
4052
+ });
4053
+
4054
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js
4055
+ var import_middleware_endpoint3, import_smithy_client7, ConverseCommand;
4056
+ var init_ConverseCommand = __esm(() => {
4057
+ init_EndpointParameters();
4058
+ init_schemas_0();
4059
+ import_middleware_endpoint3 = __toESM(require_dist_cjs20(), 1);
4060
+ import_smithy_client7 = __toESM(require_dist_cjs9(), 1);
4061
+ ConverseCommand = class ConverseCommand extends import_smithy_client7.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4062
+ return [import_middleware_endpoint3.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4063
+ }).s("AmazonBedrockFrontendService", "Converse", {}).n("BedrockRuntimeClient", "ConverseCommand").sc(Converse$).build() {
4064
+ };
4065
+ });
4066
+
4067
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js
4068
+ var import_middleware_endpoint4, import_smithy_client8, ConverseStreamCommand;
4069
+ var init_ConverseStreamCommand = __esm(() => {
4070
+ init_EndpointParameters();
4071
+ init_schemas_0();
4072
+ import_middleware_endpoint4 = __toESM(require_dist_cjs20(), 1);
4073
+ import_smithy_client8 = __toESM(require_dist_cjs9(), 1);
4074
+ ConverseStreamCommand = class ConverseStreamCommand extends import_smithy_client8.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4075
+ return [import_middleware_endpoint4.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4076
+ }).s("AmazonBedrockFrontendService", "ConverseStream", {
4077
+ eventStream: {
4078
+ output: true
4079
+ }
4080
+ }).n("BedrockRuntimeClient", "ConverseStreamCommand").sc(ConverseStream$).build() {
4081
+ };
4082
+ });
4083
+
4084
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js
4085
+ var import_middleware_endpoint5, import_smithy_client9, CountTokensCommand;
4086
+ var init_CountTokensCommand = __esm(() => {
4087
+ init_EndpointParameters();
4088
+ init_schemas_0();
4089
+ import_middleware_endpoint5 = __toESM(require_dist_cjs20(), 1);
4090
+ import_smithy_client9 = __toESM(require_dist_cjs9(), 1);
4091
+ CountTokensCommand = class CountTokensCommand extends import_smithy_client9.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4092
+ return [import_middleware_endpoint5.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4093
+ }).s("AmazonBedrockFrontendService", "CountTokens", {}).n("BedrockRuntimeClient", "CountTokensCommand").sc(CountTokens$).build() {
4094
+ };
4095
+ });
4096
+
4097
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js
4098
+ var import_middleware_endpoint6, import_smithy_client10, GetAsyncInvokeCommand;
4099
+ var init_GetAsyncInvokeCommand = __esm(() => {
4100
+ init_EndpointParameters();
4101
+ init_schemas_0();
4102
+ import_middleware_endpoint6 = __toESM(require_dist_cjs20(), 1);
4103
+ import_smithy_client10 = __toESM(require_dist_cjs9(), 1);
4104
+ GetAsyncInvokeCommand = class GetAsyncInvokeCommand extends import_smithy_client10.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4105
+ return [import_middleware_endpoint6.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4106
+ }).s("AmazonBedrockFrontendService", "GetAsyncInvoke", {}).n("BedrockRuntimeClient", "GetAsyncInvokeCommand").sc(GetAsyncInvoke$).build() {
4107
+ };
4108
+ });
4109
+
4110
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js
4111
+ var import_middleware_endpoint7, import_smithy_client11, InvokeModelCommand;
4112
+ var init_InvokeModelCommand = __esm(() => {
4113
+ init_EndpointParameters();
4114
+ init_schemas_0();
4115
+ import_middleware_endpoint7 = __toESM(require_dist_cjs20(), 1);
4116
+ import_smithy_client11 = __toESM(require_dist_cjs9(), 1);
4117
+ InvokeModelCommand = class InvokeModelCommand extends import_smithy_client11.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4118
+ return [import_middleware_endpoint7.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4119
+ }).s("AmazonBedrockFrontendService", "InvokeModel", {}).n("BedrockRuntimeClient", "InvokeModelCommand").sc(InvokeModel$).build() {
4120
+ };
4121
+ });
4122
+
4123
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js
4124
+ var import_middleware_endpoint8, import_smithy_client12, InvokeModelWithBidirectionalStreamCommand;
4125
+ var init_InvokeModelWithBidirectionalStreamCommand = __esm(() => {
4126
+ init_dist_es3();
4127
+ init_dist_es9();
4128
+ init_EndpointParameters();
4129
+ init_schemas_0();
4130
+ import_middleware_endpoint8 = __toESM(require_dist_cjs20(), 1);
4131
+ import_smithy_client12 = __toESM(require_dist_cjs9(), 1);
4132
+ InvokeModelWithBidirectionalStreamCommand = class InvokeModelWithBidirectionalStreamCommand extends import_smithy_client12.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4133
+ return [
4134
+ import_middleware_endpoint8.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
4135
+ getEventStreamPlugin(config),
4136
+ getWebSocketPlugin(config, {
4137
+ headerPrefix: "x-amz-bedrock-"
4138
+ })
4139
+ ];
4140
+ }).s("AmazonBedrockFrontendService", "InvokeModelWithBidirectionalStream", {
4141
+ eventStream: {
4142
+ input: true,
4143
+ output: true
4144
+ }
4145
+ }).n("BedrockRuntimeClient", "InvokeModelWithBidirectionalStreamCommand").sc(InvokeModelWithBidirectionalStream$).build() {
4146
+ };
4147
+ });
4148
+
4149
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js
4150
+ var import_middleware_endpoint9, import_smithy_client13, InvokeModelWithResponseStreamCommand;
4151
+ var init_InvokeModelWithResponseStreamCommand = __esm(() => {
4152
+ init_EndpointParameters();
4153
+ init_schemas_0();
4154
+ import_middleware_endpoint9 = __toESM(require_dist_cjs20(), 1);
4155
+ import_smithy_client13 = __toESM(require_dist_cjs9(), 1);
4156
+ InvokeModelWithResponseStreamCommand = class InvokeModelWithResponseStreamCommand extends import_smithy_client13.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4157
+ return [import_middleware_endpoint9.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4158
+ }).s("AmazonBedrockFrontendService", "InvokeModelWithResponseStream", {
4159
+ eventStream: {
4160
+ output: true
4161
+ }
4162
+ }).n("BedrockRuntimeClient", "InvokeModelWithResponseStreamCommand").sc(InvokeModelWithResponseStream$).build() {
4163
+ };
4164
+ });
4165
+
4166
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js
4167
+ var import_middleware_endpoint10, import_smithy_client14, ListAsyncInvokesCommand;
4168
+ var init_ListAsyncInvokesCommand = __esm(() => {
4169
+ init_EndpointParameters();
4170
+ init_schemas_0();
4171
+ import_middleware_endpoint10 = __toESM(require_dist_cjs20(), 1);
4172
+ import_smithy_client14 = __toESM(require_dist_cjs9(), 1);
4173
+ ListAsyncInvokesCommand = class ListAsyncInvokesCommand extends import_smithy_client14.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4174
+ return [import_middleware_endpoint10.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4175
+ }).s("AmazonBedrockFrontendService", "ListAsyncInvokes", {}).n("BedrockRuntimeClient", "ListAsyncInvokesCommand").sc(ListAsyncInvokes$).build() {
4176
+ };
4177
+ });
4178
+
4179
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js
4180
+ var import_middleware_endpoint11, import_smithy_client15, StartAsyncInvokeCommand;
4181
+ var init_StartAsyncInvokeCommand = __esm(() => {
4182
+ init_EndpointParameters();
4183
+ init_schemas_0();
4184
+ import_middleware_endpoint11 = __toESM(require_dist_cjs20(), 1);
4185
+ import_smithy_client15 = __toESM(require_dist_cjs9(), 1);
4186
+ StartAsyncInvokeCommand = class StartAsyncInvokeCommand extends import_smithy_client15.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
4187
+ return [import_middleware_endpoint11.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4188
+ }).s("AmazonBedrockFrontendService", "StartAsyncInvoke", {}).n("BedrockRuntimeClient", "StartAsyncInvokeCommand").sc(StartAsyncInvoke$).build() {
4189
+ };
4190
+ });
4191
+
4192
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/ListAsyncInvokesPaginator.js
4193
+ var import_core5, paginateListAsyncInvokes;
4194
+ var init_ListAsyncInvokesPaginator = __esm(() => {
4195
+ init_BedrockRuntimeClient();
4196
+ init_ListAsyncInvokesCommand();
4197
+ import_core5 = __toESM(require_dist_cjs10(), 1);
4198
+ paginateListAsyncInvokes = import_core5.createPaginator(BedrockRuntimeClient, ListAsyncInvokesCommand, "nextToken", "nextToken", "maxResults");
4199
+ });
4200
+
4201
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js
4202
+ var import_smithy_client16, commands, paginators, BedrockRuntime;
4203
+ var init_BedrockRuntime = __esm(() => {
4204
+ init_BedrockRuntimeClient();
4205
+ init_ApplyGuardrailCommand();
4206
+ init_ConverseCommand();
4207
+ init_ConverseStreamCommand();
4208
+ init_CountTokensCommand();
4209
+ init_GetAsyncInvokeCommand();
4210
+ init_InvokeModelCommand();
4211
+ init_InvokeModelWithBidirectionalStreamCommand();
4212
+ init_InvokeModelWithResponseStreamCommand();
4213
+ init_ListAsyncInvokesCommand();
4214
+ init_StartAsyncInvokeCommand();
4215
+ init_ListAsyncInvokesPaginator();
4216
+ import_smithy_client16 = __toESM(require_dist_cjs9(), 1);
4217
+ commands = {
4218
+ ApplyGuardrailCommand,
4219
+ ConverseCommand,
4220
+ ConverseStreamCommand,
4221
+ CountTokensCommand,
4222
+ GetAsyncInvokeCommand,
4223
+ InvokeModelCommand,
4224
+ InvokeModelWithBidirectionalStreamCommand,
4225
+ InvokeModelWithResponseStreamCommand,
4226
+ ListAsyncInvokesCommand,
4227
+ StartAsyncInvokeCommand
4228
+ };
4229
+ paginators = {
4230
+ paginateListAsyncInvokes
4231
+ };
4232
+ BedrockRuntime = class BedrockRuntime extends BedrockRuntimeClient {
4233
+ };
4234
+ import_smithy_client16.createAggregatedClient(commands, BedrockRuntime, { paginators });
4235
+ });
4236
+
4237
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/index.js
4238
+ var init_commands = __esm(() => {
4239
+ init_ApplyGuardrailCommand();
4240
+ init_ConverseCommand();
4241
+ init_ConverseStreamCommand();
4242
+ init_CountTokensCommand();
4243
+ init_GetAsyncInvokeCommand();
4244
+ init_InvokeModelCommand();
4245
+ init_InvokeModelWithBidirectionalStreamCommand();
4246
+ init_InvokeModelWithResponseStreamCommand();
4247
+ init_ListAsyncInvokesCommand();
4248
+ init_StartAsyncInvokeCommand();
4249
+ });
4250
+
4251
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/Interfaces.js
4252
+ var init_Interfaces = () => {};
4253
+
4254
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/index.js
4255
+ var init_pagination = __esm(() => {
4256
+ init_Interfaces();
4257
+ init_ListAsyncInvokesPaginator();
4258
+ });
4259
+
4260
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js
4261
+ var AsyncInvokeStatus, SortAsyncInvocationBy, SortOrder, GuardrailImageFormat, GuardrailContentQualifier, GuardrailOutputScope, GuardrailContentSource, GuardrailAction, GuardrailOrigin, GuardrailOwnership, GuardrailAutomatedReasoningLogicWarningType, GuardrailContentPolicyAction, GuardrailContentFilterConfidence, GuardrailContentFilterStrength, GuardrailContentFilterType, GuardrailContextualGroundingPolicyAction, GuardrailContextualGroundingFilterType, GuardrailSensitiveInformationPolicyAction, GuardrailPiiEntityType, GuardrailTopicPolicyAction, GuardrailTopicType, GuardrailWordPolicyAction, GuardrailManagedWordType, GuardrailTrace, AudioFormat, CacheTTL, CachePointType, DocumentFormat, GuardrailConverseImageFormat, GuardrailConverseContentQualifier, ImageFormat, VideoFormat, ToolResultStatus, ToolUseType, ConversationRole, OutputFormatType, PerformanceConfigLatency, ServiceTierType, StopReason, GuardrailStreamProcessingMode, Trace;
4262
+ var init_enums = __esm(() => {
4263
+ AsyncInvokeStatus = {
4264
+ COMPLETED: "Completed",
4265
+ FAILED: "Failed",
4266
+ IN_PROGRESS: "InProgress"
4267
+ };
4268
+ SortAsyncInvocationBy = {
4269
+ SUBMISSION_TIME: "SubmissionTime"
4270
+ };
4271
+ SortOrder = {
4272
+ ASCENDING: "Ascending",
4273
+ DESCENDING: "Descending"
4274
+ };
4275
+ GuardrailImageFormat = {
4276
+ JPEG: "jpeg",
4277
+ PNG: "png"
4278
+ };
4279
+ GuardrailContentQualifier = {
4280
+ GROUNDING_SOURCE: "grounding_source",
4281
+ GUARD_CONTENT: "guard_content",
4282
+ QUERY: "query"
4283
+ };
4284
+ GuardrailOutputScope = {
4285
+ FULL: "FULL",
4286
+ INTERVENTIONS: "INTERVENTIONS"
4287
+ };
4288
+ GuardrailContentSource = {
4289
+ INPUT: "INPUT",
4290
+ OUTPUT: "OUTPUT"
4291
+ };
4292
+ GuardrailAction = {
4293
+ GUARDRAIL_INTERVENED: "GUARDRAIL_INTERVENED",
4294
+ NONE: "NONE"
4295
+ };
4296
+ GuardrailOrigin = {
4297
+ ACCOUNT_ENFORCED: "ACCOUNT_ENFORCED",
4298
+ ORGANIZATION_ENFORCED: "ORGANIZATION_ENFORCED",
4299
+ REQUEST: "REQUEST"
4300
+ };
4301
+ GuardrailOwnership = {
4302
+ CROSS_ACCOUNT: "CROSS_ACCOUNT",
4303
+ SELF: "SELF"
4304
+ };
4305
+ GuardrailAutomatedReasoningLogicWarningType = {
4306
+ ALWAYS_FALSE: "ALWAYS_FALSE",
4307
+ ALWAYS_TRUE: "ALWAYS_TRUE"
4308
+ };
4309
+ GuardrailContentPolicyAction = {
4310
+ BLOCKED: "BLOCKED",
4311
+ NONE: "NONE"
4312
+ };
4313
+ GuardrailContentFilterConfidence = {
4314
+ HIGH: "HIGH",
4315
+ LOW: "LOW",
4316
+ MEDIUM: "MEDIUM",
4317
+ NONE: "NONE"
4318
+ };
4319
+ GuardrailContentFilterStrength = {
4320
+ HIGH: "HIGH",
4321
+ LOW: "LOW",
4322
+ MEDIUM: "MEDIUM",
4323
+ NONE: "NONE"
4324
+ };
4325
+ GuardrailContentFilterType = {
4326
+ HATE: "HATE",
4327
+ INSULTS: "INSULTS",
4328
+ MISCONDUCT: "MISCONDUCT",
4329
+ PROMPT_ATTACK: "PROMPT_ATTACK",
4330
+ SEXUAL: "SEXUAL",
4331
+ VIOLENCE: "VIOLENCE"
4332
+ };
4333
+ GuardrailContextualGroundingPolicyAction = {
4334
+ BLOCKED: "BLOCKED",
4335
+ NONE: "NONE"
4336
+ };
4337
+ GuardrailContextualGroundingFilterType = {
4338
+ GROUNDING: "GROUNDING",
4339
+ RELEVANCE: "RELEVANCE"
4340
+ };
4341
+ GuardrailSensitiveInformationPolicyAction = {
4342
+ ANONYMIZED: "ANONYMIZED",
4343
+ BLOCKED: "BLOCKED",
4344
+ NONE: "NONE"
4345
+ };
4346
+ GuardrailPiiEntityType = {
4347
+ ADDRESS: "ADDRESS",
4348
+ AGE: "AGE",
4349
+ AWS_ACCESS_KEY: "AWS_ACCESS_KEY",
4350
+ AWS_SECRET_KEY: "AWS_SECRET_KEY",
4351
+ CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER",
4352
+ CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER",
4353
+ CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV",
4354
+ CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY",
4355
+ CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER",
4356
+ DRIVER_ID: "DRIVER_ID",
4357
+ EMAIL: "EMAIL",
4358
+ INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
4359
+ IP_ADDRESS: "IP_ADDRESS",
4360
+ LICENSE_PLATE: "LICENSE_PLATE",
4361
+ MAC_ADDRESS: "MAC_ADDRESS",
4362
+ NAME: "NAME",
4363
+ PASSWORD: "PASSWORD",
4364
+ PHONE: "PHONE",
4365
+ PIN: "PIN",
4366
+ SWIFT_CODE: "SWIFT_CODE",
4367
+ UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
4368
+ UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER",
4369
+ UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
4370
+ URL: "URL",
4371
+ USERNAME: "USERNAME",
4372
+ US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER",
4373
+ US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER",
4374
+ US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
4375
+ US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER",
4376
+ US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER",
4377
+ VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER"
4378
+ };
4379
+ GuardrailTopicPolicyAction = {
4380
+ BLOCKED: "BLOCKED",
4381
+ NONE: "NONE"
4382
+ };
4383
+ GuardrailTopicType = {
4384
+ DENY: "DENY"
4385
+ };
4386
+ GuardrailWordPolicyAction = {
4387
+ BLOCKED: "BLOCKED",
4388
+ NONE: "NONE"
4389
+ };
4390
+ GuardrailManagedWordType = {
4391
+ PROFANITY: "PROFANITY"
4392
+ };
4393
+ GuardrailTrace = {
4394
+ DISABLED: "disabled",
4395
+ ENABLED: "enabled",
4396
+ ENABLED_FULL: "enabled_full"
4397
+ };
4398
+ AudioFormat = {
4399
+ AAC: "aac",
4400
+ FLAC: "flac",
4401
+ M4A: "m4a",
4402
+ MKA: "mka",
4403
+ MKV: "mkv",
4404
+ MP3: "mp3",
4405
+ MP4: "mp4",
4406
+ MPEG: "mpeg",
4407
+ MPGA: "mpga",
4408
+ OGG: "ogg",
4409
+ OPUS: "opus",
4410
+ PCM: "pcm",
4411
+ WAV: "wav",
4412
+ WEBM: "webm",
4413
+ X_AAC: "x-aac"
4414
+ };
4415
+ CacheTTL = {
4416
+ FIVE_MINUTES: "5m",
4417
+ ONE_HOUR: "1h"
4418
+ };
4419
+ CachePointType = {
4420
+ DEFAULT: "default"
4421
+ };
4422
+ DocumentFormat = {
4423
+ CSV: "csv",
4424
+ DOC: "doc",
4425
+ DOCX: "docx",
4426
+ HTML: "html",
4427
+ MD: "md",
4428
+ PDF: "pdf",
4429
+ TXT: "txt",
4430
+ XLS: "xls",
4431
+ XLSX: "xlsx"
4432
+ };
4433
+ GuardrailConverseImageFormat = {
4434
+ JPEG: "jpeg",
4435
+ PNG: "png"
4436
+ };
4437
+ GuardrailConverseContentQualifier = {
4438
+ GROUNDING_SOURCE: "grounding_source",
4439
+ GUARD_CONTENT: "guard_content",
4440
+ QUERY: "query"
4441
+ };
4442
+ ImageFormat = {
4443
+ GIF: "gif",
4444
+ JPEG: "jpeg",
4445
+ PNG: "png",
4446
+ WEBP: "webp"
4447
+ };
4448
+ VideoFormat = {
4449
+ FLV: "flv",
4450
+ MKV: "mkv",
4451
+ MOV: "mov",
4452
+ MP4: "mp4",
4453
+ MPEG: "mpeg",
4454
+ MPG: "mpg",
4455
+ THREE_GP: "three_gp",
4456
+ WEBM: "webm",
4457
+ WMV: "wmv"
4458
+ };
4459
+ ToolResultStatus = {
4460
+ ERROR: "error",
4461
+ SUCCESS: "success"
4462
+ };
4463
+ ToolUseType = {
4464
+ SERVER_TOOL_USE: "server_tool_use"
4465
+ };
4466
+ ConversationRole = {
4467
+ ASSISTANT: "assistant",
4468
+ USER: "user"
4469
+ };
4470
+ OutputFormatType = {
4471
+ JSON_SCHEMA: "json_schema"
4472
+ };
4473
+ PerformanceConfigLatency = {
4474
+ OPTIMIZED: "optimized",
4475
+ STANDARD: "standard"
4476
+ };
4477
+ ServiceTierType = {
4478
+ DEFAULT: "default",
4479
+ FLEX: "flex",
4480
+ PRIORITY: "priority",
4481
+ RESERVED: "reserved"
4482
+ };
4483
+ StopReason = {
4484
+ CONTENT_FILTERED: "content_filtered",
4485
+ END_TURN: "end_turn",
4486
+ GUARDRAIL_INTERVENED: "guardrail_intervened",
4487
+ MALFORMED_MODEL_OUTPUT: "malformed_model_output",
4488
+ MALFORMED_TOOL_USE: "malformed_tool_use",
4489
+ MAX_TOKENS: "max_tokens",
4490
+ MODEL_CONTEXT_WINDOW_EXCEEDED: "model_context_window_exceeded",
4491
+ STOP_SEQUENCE: "stop_sequence",
4492
+ TOOL_USE: "tool_use"
4493
+ };
4494
+ GuardrailStreamProcessingMode = {
4495
+ ASYNC: "async",
4496
+ SYNC: "sync"
4497
+ };
4498
+ Trace = {
4499
+ DISABLED: "DISABLED",
4500
+ ENABLED: "ENABLED",
4501
+ ENABLED_FULL: "ENABLED_FULL"
4502
+ };
4503
+ });
4504
+
4505
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/models_0.js
4506
+ var init_models_0 = () => {};
4507
+
4508
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/index.js
4509
+ var init_dist_es13 = __esm(() => {
4510
+ init_BedrockRuntimeServiceException();
4511
+ init_BedrockRuntimeClient();
4512
+ init_BedrockRuntime();
4513
+ init_commands();
4514
+ init_schemas_0();
4515
+ init_pagination();
4516
+ init_enums();
4517
+ init_errors();
4518
+ init_models_0();
4519
+ });
4520
+
4521
+ export { fromArrayBuffer, fromString, init_dist_es5 as init_dist_es, fromUtf8, toUtf8, init_dist_es6 as init_dist_es1, BedrockRuntimeServiceException, AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ModelErrorException, ModelNotReadyException, ModelTimeoutException, ModelStreamErrorException, BedrockRuntimeServiceException$, AccessDeniedException$, ConflictException$, InternalServerException$, ModelErrorException$, ModelNotReadyException$, ModelStreamErrorException$, ModelTimeoutException$, ResourceNotFoundException$, ServiceQuotaExceededException$, ServiceUnavailableException$, ThrottlingException$, ValidationException$, errorTypeRegistries, AnyToolChoice$, AppliedGuardrailDetails$, ApplyGuardrailRequest$, ApplyGuardrailResponse$, AsyncInvokeS3OutputDataConfig$, AsyncInvokeSummary$, AudioBlock$, AutoToolChoice$, BidirectionalInputPayloadPart$, BidirectionalOutputPayloadPart$, CacheDetail$, CachePointBlock$, Citation$, CitationsConfig$, CitationsContentBlock$, CitationsDelta$, CitationSourceContentDelta$, ContentBlockDeltaEvent$, ContentBlockStartEvent$, ContentBlockStopEvent$, ConverseMetrics$, ConverseRequest$, ConverseResponse$, ConverseStreamMetadataEvent$, ConverseStreamMetrics$, ConverseStreamRequest$, ConverseStreamResponse$, ConverseStreamTrace$, ConverseTokensRequest$, ConverseTrace$, CountTokensRequest$, CountTokensResponse$, DocumentBlock$, DocumentCharLocation$, DocumentChunkLocation$, DocumentPageLocation$, ErrorBlock$, GetAsyncInvokeRequest$, GetAsyncInvokeResponse$, GuardrailAssessment$, GuardrailAutomatedReasoningImpossibleFinding$, GuardrailAutomatedReasoningInputTextReference$, GuardrailAutomatedReasoningInvalidFinding$, GuardrailAutomatedReasoningLogicWarning$, GuardrailAutomatedReasoningNoTranslationsFinding$, GuardrailAutomatedReasoningPolicyAssessment$, GuardrailAutomatedReasoningRule$, GuardrailAutomatedReasoningSatisfiableFinding$, GuardrailAutomatedReasoningScenario$, GuardrailAutomatedReasoningStatement$, GuardrailAutomatedReasoningTooComplexFinding$, GuardrailAutomatedReasoningTranslation$, GuardrailAutomatedReasoningTranslationAmbiguousFinding$, GuardrailAutomatedReasoningTranslationOption$, GuardrailAutomatedReasoningValidFinding$, GuardrailConfiguration$, GuardrailContentFilter$, GuardrailContentPolicyAssessment$, GuardrailContextualGroundingFilter$, GuardrailContextualGroundingPolicyAssessment$, GuardrailConverseImageBlock$, GuardrailConverseTextBlock$, GuardrailCoverage$, GuardrailCustomWord$, GuardrailImageBlock$, GuardrailImageCoverage$, GuardrailInvocationMetrics$, GuardrailManagedWord$, GuardrailOutputContent$, GuardrailPiiEntityFilter$, GuardrailRegexFilter$, GuardrailSensitiveInformationPolicyAssessment$, GuardrailStreamConfiguration$, GuardrailTextBlock$, GuardrailTextCharactersCoverage$, GuardrailTopic$, GuardrailTopicPolicyAssessment$, GuardrailTraceAssessment$, GuardrailUsage$, GuardrailWordPolicyAssessment$, ImageBlock$, ImageBlockDelta$, ImageBlockStart$, InferenceConfiguration$, InvokeModelRequest$, InvokeModelResponse$, InvokeModelTokensRequest$, InvokeModelWithBidirectionalStreamRequest$, InvokeModelWithBidirectionalStreamResponse$, InvokeModelWithResponseStreamRequest$, InvokeModelWithResponseStreamResponse$, JsonSchemaDefinition$, ListAsyncInvokesRequest$, ListAsyncInvokesResponse$, Message$, MessageStartEvent$, MessageStopEvent$, OutputConfig$, OutputFormat$, PayloadPart$, PerformanceConfiguration$, PromptRouterTrace$, ReasoningTextBlock$, S3Location$, SearchResultBlock$, SearchResultContentBlock$, SearchResultLocation$, ServiceTier$, SpecificToolChoice$, StartAsyncInvokeRequest$, StartAsyncInvokeResponse$, SystemTool$, Tag$, TokenUsage$, ToolConfiguration$, ToolResultBlock$, ToolResultBlockStart$, ToolSpecification$, ToolUseBlock$, ToolUseBlockDelta$, ToolUseBlockStart$, VideoBlock$, WebLocation$, AsyncInvokeOutputDataConfig$, AudioSource$, CitationGeneratedContent$, CitationLocation$, CitationSourceContent$, ContentBlock$, ContentBlockDelta$, ContentBlockStart$, ConverseOutput$, ConverseStreamOutput$, CountTokensInput$, DocumentContentBlock$, DocumentSource$, GuardrailAutomatedReasoningFinding$, GuardrailContentBlock$, GuardrailConverseContentBlock$, GuardrailConverseImageSource$, GuardrailImageSource$, ImageSource$, InvokeModelWithBidirectionalStreamInput$, InvokeModelWithBidirectionalStreamOutput$, OutputFormatStructure$, PromptVariableValues$, ReasoningContentBlock$, ReasoningContentBlockDelta$, ResponseStream$, SystemContentBlock$, Tool$, ToolChoice$, ToolInputSchema$, ToolResultBlockDelta$, ToolResultContentBlock$, VideoSource$, ApplyGuardrail$, Converse$, ConverseStream$, CountTokens$, GetAsyncInvoke$, InvokeModel$, InvokeModelWithBidirectionalStream$, InvokeModelWithResponseStream$, ListAsyncInvokes$, StartAsyncInvoke$, import_smithy_client5 as import_smithy_client, BedrockRuntimeClient, ApplyGuardrailCommand, ConverseCommand, ConverseStreamCommand, CountTokensCommand, GetAsyncInvokeCommand, InvokeModelCommand, InvokeModelWithBidirectionalStreamCommand, InvokeModelWithResponseStreamCommand, ListAsyncInvokesCommand, StartAsyncInvokeCommand, paginateListAsyncInvokes, BedrockRuntime, AsyncInvokeStatus, SortAsyncInvocationBy, SortOrder, GuardrailImageFormat, GuardrailContentQualifier, GuardrailOutputScope, GuardrailContentSource, GuardrailAction, GuardrailOrigin, GuardrailOwnership, GuardrailAutomatedReasoningLogicWarningType, GuardrailContentPolicyAction, GuardrailContentFilterConfidence, GuardrailContentFilterStrength, GuardrailContentFilterType, GuardrailContextualGroundingPolicyAction, GuardrailContextualGroundingFilterType, GuardrailSensitiveInformationPolicyAction, GuardrailPiiEntityType, GuardrailTopicPolicyAction, GuardrailTopicType, GuardrailWordPolicyAction, GuardrailManagedWordType, GuardrailTrace, AudioFormat, CacheTTL, CachePointType, DocumentFormat, GuardrailConverseImageFormat, GuardrailConverseContentQualifier, ImageFormat, VideoFormat, ToolResultStatus, ToolUseType, ConversationRole, OutputFormatType, PerformanceConfigLatency, ServiceTierType, StopReason, GuardrailStreamProcessingMode, Trace, init_dist_es13 as init_dist_es2 };