@bkm016/basalt 0.1.24 → 0.1.26

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 (901) hide show
  1. package/chunk-05bkyxh9.js +3 -0
  2. package/chunk-080kr9ct.js +15 -0
  3. package/chunk-1a4rrb2v.js +10 -0
  4. package/chunk-1s560041.js +2 -0
  5. package/chunk-2expw9m3.js +3 -0
  6. package/chunk-2fm6g0ga.js +3 -0
  7. package/chunk-2scbc5yh.js +3 -0
  8. package/chunk-33jk5rw1.js +3 -0
  9. package/chunk-377w9fhp.js +3 -0
  10. package/chunk-3wqncn58.js +3 -0
  11. package/chunk-43n3k72q.js +2 -0
  12. package/chunk-44pv8c0b.js +5 -0
  13. package/chunk-5gk93yp2.js +3 -0
  14. package/chunk-5z5sbry2.js +7 -0
  15. package/chunk-6qvg49rk.js +51 -0
  16. package/chunk-7d6fdzs3.js +50 -0
  17. package/chunk-7h6k7vac.js +3 -0
  18. package/chunk-7t5yqsgn.js +5 -0
  19. package/chunk-7th9y456.js +2 -0
  20. package/chunk-7v98r8ft.js +2 -0
  21. package/chunk-82bb3whz.js +3 -0
  22. package/chunk-8e061pr3.js +2 -0
  23. package/chunk-8n83nvpa.js +7 -0
  24. package/chunk-9nng543t.js +3 -0
  25. package/chunk-a0ex6znf.js +18 -0
  26. package/chunk-a25etmgf.js +3 -0
  27. package/chunk-awzaxv88.js +2 -0
  28. package/chunk-b2s9aksm.js +2 -0
  29. package/chunk-bfrpy5jd.js +4 -0
  30. package/chunk-br64f072.js +2 -0
  31. package/chunk-btza2hna.js +5 -0
  32. package/chunk-c9bjdydc.js +3 -0
  33. package/chunk-cww7drfr.js +2 -0
  34. package/chunk-d0az9pq0.js +2 -0
  35. package/chunk-d47bpkyz.js +12 -0
  36. package/chunk-dkfpqbcr.js +3 -0
  37. package/chunk-dsk3r1s8.js +2 -0
  38. package/chunk-dw8p4zcz.js +2 -0
  39. package/chunk-edz2cxtp.js +5 -0
  40. package/chunk-epqgd8d0.js +3 -0
  41. package/chunk-f7tn67ff.js +2 -0
  42. package/chunk-fevkmd0j.js +3 -0
  43. package/chunk-fzdvrsvn.js +482 -0
  44. package/chunk-ghat319t.js +25 -0
  45. package/chunk-h19mfxzq.js +7 -0
  46. package/chunk-h6sh9pkr.js +2 -0
  47. package/chunk-jdazqwft.js +2 -0
  48. package/chunk-je52rmxs.js +9 -0
  49. package/chunk-jj5pkfgm.js +2 -0
  50. package/chunk-jp7f2kak.js +2 -0
  51. package/chunk-jqpb4q7h.js +3 -0
  52. package/chunk-jzf3qp0g.js +2 -0
  53. package/chunk-k5qg9az8.js +8 -0
  54. package/chunk-m51tryxx.js +3 -0
  55. package/chunk-mna7mgdw.js +3 -0
  56. package/chunk-nfgg1ksw.js +3 -0
  57. package/chunk-npd8k692.js +2 -0
  58. package/chunk-nqzqm9ad.js +3 -0
  59. package/chunk-nsrdzz1p.js +20 -0
  60. package/chunk-qdwzmvcq.js +3923 -0
  61. package/chunk-qgyjffh0.js +16 -0
  62. package/chunk-qnq3xa4h.js +286 -0
  63. package/chunk-r0gyd40q.js +2 -0
  64. package/chunk-ra4kx253.js +7 -0
  65. package/chunk-rq2b2a6n.js +11 -0
  66. package/chunk-s1m4dt0z.js +3 -0
  67. package/chunk-s78m24h4.js +2 -0
  68. package/chunk-sd9r82h2.js +3 -0
  69. package/chunk-smygzsyr.js +10 -0
  70. package/chunk-t0zexn7n.js +2 -0
  71. package/chunk-t2s0yyw0.js +3 -0
  72. package/chunk-v9a2y9rn.js +3 -0
  73. package/chunk-vkn4bfyp.js +2 -0
  74. package/chunk-vpzs9trn.js +3 -0
  75. package/chunk-w3tzsrkw.js +12 -0
  76. package/chunk-x0t8h6vv.js +5 -0
  77. package/chunk-x23g9em9.js +39 -0
  78. package/chunk-x316ag7c.js +25 -0
  79. package/chunk-x5zgyewh.js +2 -0
  80. package/chunk-xr35av3b.js +59 -0
  81. package/chunk-yd190t0s.js +31 -0
  82. package/chunk-zhvw8efz.js +3 -0
  83. package/chunk-zyqsqwn7.js +2 -0
  84. package/compiled.js +10 -10
  85. package/package.json +1 -1
  86. package/ui-test-worker.js +37 -37
  87. package/web/chunk-08tgd17j.js +12 -0
  88. package/web/chunk-08tgd17j.js.br +0 -0
  89. package/web/chunk-08tgd17j.js.gz +0 -0
  90. package/web/chunk-0mqyt9m7.js +1 -0
  91. package/web/chunk-0mqyt9m7.js.br +0 -0
  92. package/web/chunk-0mqyt9m7.js.gz +0 -0
  93. package/web/chunk-0n99y9n5.js +1 -0
  94. package/web/chunk-0n99y9n5.js.br +0 -0
  95. package/web/chunk-0n99y9n5.js.gz +0 -0
  96. package/web/chunk-0qjj75v7.js +1 -0
  97. package/web/chunk-0qjj75v7.js.br +0 -0
  98. package/web/chunk-0qjj75v7.js.gz +0 -0
  99. package/web/chunk-0x3wtwhf.js +291 -0
  100. package/web/chunk-0x3wtwhf.js.br +0 -0
  101. package/web/chunk-0x3wtwhf.js.gz +0 -0
  102. package/web/chunk-0zd5g2yw.js +1 -0
  103. package/web/chunk-0zd5g2yw.js.br +0 -0
  104. package/web/chunk-0zd5g2yw.js.gz +0 -0
  105. package/web/chunk-146ww24y.js +55 -0
  106. package/web/chunk-146ww24y.js.br +0 -0
  107. package/web/chunk-146ww24y.js.gz +0 -0
  108. package/web/chunk-1d8r3aeh.js +3 -0
  109. package/web/chunk-1d8r3aeh.js.br +0 -0
  110. package/web/chunk-1d8r3aeh.js.gz +0 -0
  111. package/web/chunk-1qs4nh4c.js +1 -0
  112. package/web/chunk-1qs4nh4c.js.br +0 -0
  113. package/web/chunk-1qs4nh4c.js.gz +0 -0
  114. package/web/chunk-1v13225a.js +1 -0
  115. package/web/chunk-1v13225a.js.br +2 -0
  116. package/web/chunk-1v13225a.js.gz +0 -0
  117. package/web/chunk-22caavs1.js +1 -0
  118. package/web/chunk-22caavs1.js.br +0 -0
  119. package/web/chunk-22caavs1.js.gz +0 -0
  120. package/web/chunk-28e0vn8m.js +1 -0
  121. package/web/chunk-28e0vn8m.js.br +0 -0
  122. package/web/chunk-28e0vn8m.js.gz +0 -0
  123. package/web/chunk-28sta4gj.js +142 -0
  124. package/web/chunk-28sta4gj.js.br +0 -0
  125. package/web/chunk-28sta4gj.js.gz +0 -0
  126. package/web/chunk-3781tgyt.js +21 -0
  127. package/web/chunk-3781tgyt.js.br +0 -0
  128. package/web/chunk-3781tgyt.js.gz +0 -0
  129. package/web/chunk-3gt60qmf.js +370 -0
  130. package/web/chunk-3gt60qmf.js.br +0 -0
  131. package/web/chunk-3gt60qmf.js.gz +0 -0
  132. package/web/chunk-3rg8d23d.js +2 -0
  133. package/web/chunk-3rg8d23d.js.br +0 -0
  134. package/web/chunk-3rg8d23d.js.gz +0 -0
  135. package/web/chunk-40wx2kxh.js +1 -0
  136. package/web/chunk-40wx2kxh.js.br +0 -0
  137. package/web/chunk-40wx2kxh.js.gz +0 -0
  138. package/web/chunk-44kgdrrk.js +1 -0
  139. package/web/chunk-44kgdrrk.js.br +0 -0
  140. package/web/chunk-44kgdrrk.js.gz +0 -0
  141. package/web/chunk-4vqmgjbf.js +1 -0
  142. package/web/chunk-4vqmgjbf.js.br +0 -0
  143. package/web/chunk-4vqmgjbf.js.gz +0 -0
  144. package/web/chunk-55h6ya95.js +1 -0
  145. package/web/chunk-55h6ya95.js.br +2 -0
  146. package/web/chunk-55h6ya95.js.gz +0 -0
  147. package/web/chunk-5fed8tt3.js +1 -0
  148. package/web/chunk-5fed8tt3.js.br +0 -0
  149. package/web/chunk-5fed8tt3.js.gz +0 -0
  150. package/web/chunk-5y1v9ycq.js +2 -0
  151. package/web/chunk-5y1v9ycq.js.br +0 -0
  152. package/web/chunk-5y1v9ycq.js.gz +0 -0
  153. package/web/chunk-61wasm9a.js +1 -0
  154. package/web/chunk-61wasm9a.js.br +0 -0
  155. package/web/chunk-61wasm9a.js.gz +0 -0
  156. package/web/chunk-66mcaz0p.js +7 -0
  157. package/web/chunk-66mcaz0p.js.br +0 -0
  158. package/web/chunk-66mcaz0p.js.gz +0 -0
  159. package/web/chunk-6ew2qvxb.js +1 -0
  160. package/web/chunk-6ew2qvxb.js.br +0 -0
  161. package/web/chunk-6ew2qvxb.js.gz +0 -0
  162. package/web/chunk-6hkgy8ej.js +36 -0
  163. package/web/chunk-6hkgy8ej.js.br +0 -0
  164. package/web/chunk-6hkgy8ej.js.gz +0 -0
  165. package/web/chunk-75v6mnzm.js +40 -0
  166. package/web/chunk-75v6mnzm.js.br +0 -0
  167. package/web/chunk-75v6mnzm.js.gz +0 -0
  168. package/web/chunk-7ddgm832.js +41 -0
  169. package/web/chunk-7ddgm832.js.br +0 -0
  170. package/web/chunk-7ddgm832.js.gz +0 -0
  171. package/web/chunk-80htbw45.js +1 -0
  172. package/web/chunk-80htbw45.js.br +0 -0
  173. package/web/chunk-80htbw45.js.gz +0 -0
  174. package/web/chunk-8304998z.js +1 -0
  175. package/web/chunk-8304998z.js.br +0 -0
  176. package/web/chunk-8304998z.js.gz +0 -0
  177. package/web/chunk-84wf0ej8.js +2 -0
  178. package/web/chunk-84wf0ej8.js.br +0 -0
  179. package/web/chunk-84wf0ej8.js.gz +0 -0
  180. package/web/chunk-859ry2p4.js +1 -0
  181. package/web/chunk-859ry2p4.js.br +0 -0
  182. package/web/chunk-859ry2p4.js.gz +0 -0
  183. package/web/chunk-883weqxg.js +2 -0
  184. package/web/chunk-883weqxg.js.br +0 -0
  185. package/web/chunk-883weqxg.js.gz +0 -0
  186. package/web/chunk-8a46b2ww.js +303 -0
  187. package/web/chunk-8a46b2ww.js.br +0 -0
  188. package/web/chunk-8a46b2ww.js.gz +0 -0
  189. package/web/chunk-8cajyrkw.js +1 -0
  190. package/web/chunk-8cajyrkw.js.br +0 -0
  191. package/web/chunk-8cajyrkw.js.gz +0 -0
  192. package/web/chunk-8ejwy8g3.js +30 -0
  193. package/web/chunk-8ejwy8g3.js.br +0 -0
  194. package/web/chunk-8ejwy8g3.js.gz +0 -0
  195. package/web/chunk-951dg5kq.js +8 -0
  196. package/web/chunk-951dg5kq.js.br +1 -0
  197. package/web/chunk-951dg5kq.js.gz +0 -0
  198. package/web/chunk-97ccteq4.js +106 -0
  199. package/web/chunk-97ccteq4.js.br +0 -0
  200. package/web/chunk-97ccteq4.js.gz +0 -0
  201. package/web/chunk-98kr0bw8.js +98 -0
  202. package/web/chunk-98kr0bw8.js.br +0 -0
  203. package/web/chunk-98kr0bw8.js.gz +0 -0
  204. package/web/chunk-9bq7xgjz.js +1 -0
  205. package/web/chunk-9bq7xgjz.js.br +0 -0
  206. package/web/chunk-9bq7xgjz.js.gz +0 -0
  207. package/web/chunk-9g5jgnfe.js +2 -0
  208. package/web/chunk-9g5jgnfe.js.br +0 -0
  209. package/web/chunk-9g5jgnfe.js.gz +0 -0
  210. package/web/chunk-an6adjgz.js +24 -0
  211. package/web/chunk-an6adjgz.js.br +0 -0
  212. package/web/chunk-an6adjgz.js.gz +0 -0
  213. package/web/chunk-arp4g43b.js +1 -0
  214. package/web/chunk-arp4g43b.js.br +0 -0
  215. package/web/chunk-arp4g43b.js.gz +0 -0
  216. package/web/chunk-b2ads9ra.js +1 -0
  217. package/web/chunk-b2ads9ra.js.br +0 -0
  218. package/web/chunk-b2ads9ra.js.gz +0 -0
  219. package/web/chunk-bd90pxqc.js +169 -0
  220. package/web/chunk-bd90pxqc.js.br +0 -0
  221. package/web/chunk-bd90pxqc.js.gz +0 -0
  222. package/web/chunk-bmtzds29.js +1 -0
  223. package/web/chunk-bmtzds29.js.br +0 -0
  224. package/web/chunk-bmtzds29.js.gz +0 -0
  225. package/web/chunk-brsvdef4.js +1 -0
  226. package/web/chunk-brsvdef4.js.br +0 -0
  227. package/web/chunk-brsvdef4.js.gz +0 -0
  228. package/web/chunk-bv0vs331.js +332 -0
  229. package/web/chunk-bv0vs331.js.br +0 -0
  230. package/web/chunk-bv0vs331.js.gz +0 -0
  231. package/web/chunk-bzvserky.js +89 -0
  232. package/web/chunk-bzvserky.js.br +0 -0
  233. package/web/chunk-bzvserky.js.gz +0 -0
  234. package/web/chunk-cd3hhgn9.js +2 -0
  235. package/web/chunk-cd3hhgn9.js.br +0 -0
  236. package/web/chunk-cd3hhgn9.js.gz +0 -0
  237. package/web/chunk-cdwn0hd1.js +2 -0
  238. package/web/chunk-cdwn0hd1.js.br +0 -0
  239. package/web/chunk-cdwn0hd1.js.gz +0 -0
  240. package/web/chunk-ckpx6ky8.js +2 -0
  241. package/web/chunk-ckpx6ky8.js.br +0 -0
  242. package/web/chunk-ckpx6ky8.js.gz +0 -0
  243. package/web/chunk-d11xvhrx.js +140 -0
  244. package/web/chunk-d11xvhrx.js.br +0 -0
  245. package/web/chunk-d11xvhrx.js.gz +0 -0
  246. package/web/chunk-d25jazap.js +89 -0
  247. package/web/chunk-d25jazap.js.br +0 -0
  248. package/web/chunk-d25jazap.js.gz +0 -0
  249. package/web/chunk-d5jk5ftp.js +2 -0
  250. package/web/chunk-d5jk5ftp.js.br +0 -0
  251. package/web/chunk-d5jk5ftp.js.gz +0 -0
  252. package/web/chunk-dkdedpn5.js +1 -0
  253. package/web/chunk-dkdedpn5.js.br +0 -0
  254. package/web/chunk-dkdedpn5.js.gz +0 -0
  255. package/web/chunk-dxejr2wc.js +7 -0
  256. package/web/chunk-dxejr2wc.js.br +0 -0
  257. package/web/chunk-dxejr2wc.js.gz +0 -0
  258. package/web/chunk-dym50nnh.js +292 -0
  259. package/web/chunk-dym50nnh.js.br +0 -0
  260. package/web/chunk-dym50nnh.js.gz +0 -0
  261. package/web/chunk-e1fv9zdp.js +1 -0
  262. package/web/chunk-e1fv9zdp.js.br +0 -0
  263. package/web/chunk-e1fv9zdp.js.gz +0 -0
  264. package/web/chunk-e9ycc491.js +120 -0
  265. package/web/chunk-e9ycc491.js.br +0 -0
  266. package/web/chunk-e9ycc491.js.gz +0 -0
  267. package/web/chunk-eww9ygx5.js +2 -0
  268. package/web/chunk-eww9ygx5.js.br +0 -0
  269. package/web/chunk-eww9ygx5.js.gz +0 -0
  270. package/web/chunk-ey2fy3vm.js +4 -0
  271. package/web/chunk-ey2fy3vm.js.br +0 -0
  272. package/web/chunk-ey2fy3vm.js.gz +0 -0
  273. package/web/chunk-ez498328.js +39 -0
  274. package/web/chunk-ez498328.js.br +0 -0
  275. package/web/chunk-ez498328.js.gz +0 -0
  276. package/web/chunk-f0x62xvv.js +84 -0
  277. package/web/chunk-f0x62xvv.js.br +0 -0
  278. package/web/chunk-f0x62xvv.js.gz +0 -0
  279. package/web/chunk-f1z92c2d.js +1 -0
  280. package/web/chunk-f1z92c2d.js.br +2 -0
  281. package/web/chunk-f1z92c2d.js.gz +0 -0
  282. package/web/chunk-fwvar7a7.js +1 -0
  283. package/web/chunk-fwvar7a7.js.br +0 -0
  284. package/web/chunk-fwvar7a7.js.gz +0 -0
  285. package/web/chunk-g8bw60t3.js +324 -0
  286. package/web/chunk-g8bw60t3.js.br +0 -0
  287. package/web/chunk-g8bw60t3.js.gz +0 -0
  288. package/web/chunk-g8se5rtx.js +2 -0
  289. package/web/chunk-g8se5rtx.js.br +0 -0
  290. package/web/chunk-g8se5rtx.js.gz +0 -0
  291. package/web/chunk-gkwkbkr4.js +217 -0
  292. package/web/chunk-gkwkbkr4.js.br +0 -0
  293. package/web/chunk-gkwkbkr4.js.gz +0 -0
  294. package/web/chunk-h50zbzfg.js +24 -0
  295. package/web/chunk-h50zbzfg.js.br +0 -0
  296. package/web/chunk-h50zbzfg.js.gz +0 -0
  297. package/web/chunk-j3vqhfgg.js +1 -0
  298. package/web/chunk-j3vqhfgg.js.br +0 -0
  299. package/web/chunk-j3vqhfgg.js.gz +0 -0
  300. package/web/chunk-jk6j68wv.js +1 -0
  301. package/web/chunk-jk6j68wv.js.br +0 -0
  302. package/web/chunk-jk6j68wv.js.gz +0 -0
  303. package/web/chunk-jrdx4yfq.js +2 -0
  304. package/web/chunk-jrdx4yfq.js.br +0 -0
  305. package/web/chunk-jrdx4yfq.js.gz +0 -0
  306. package/web/chunk-k2by2sj0.css +1 -0
  307. package/web/chunk-k2by2sj0.css.br +0 -0
  308. package/web/chunk-k2by2sj0.css.gz +0 -0
  309. package/web/chunk-kc4ymfvv.js +2 -0
  310. package/web/chunk-kc4ymfvv.js.br +1 -0
  311. package/web/chunk-kc4ymfvv.js.gz +0 -0
  312. package/web/chunk-kh9d9x20.js +1 -0
  313. package/web/chunk-kh9d9x20.js.br +0 -0
  314. package/web/chunk-kh9d9x20.js.gz +0 -0
  315. package/web/chunk-kkv1h28t.js +2 -0
  316. package/web/chunk-kkv1h28t.js.br +0 -0
  317. package/web/chunk-kkv1h28t.js.gz +0 -0
  318. package/web/chunk-kzkjfngw.js +7 -0
  319. package/web/chunk-kzkjfngw.js.br +0 -0
  320. package/web/chunk-kzkjfngw.js.gz +0 -0
  321. package/web/chunk-mj8xb4z9.js +2 -0
  322. package/web/chunk-mj8xb4z9.js.br +0 -0
  323. package/web/chunk-mj8xb4z9.js.gz +0 -0
  324. package/web/chunk-mv0pwdz6.js +1 -0
  325. package/web/chunk-mv0pwdz6.js.br +0 -0
  326. package/web/chunk-mv0pwdz6.js.gz +0 -0
  327. package/web/chunk-n8qc0chz.js +34 -0
  328. package/web/chunk-n8qc0chz.js.br +0 -0
  329. package/web/chunk-n8qc0chz.js.gz +0 -0
  330. package/web/chunk-nf83ezt5.js +1136 -0
  331. package/web/chunk-nf83ezt5.js.br +0 -0
  332. package/web/chunk-nf83ezt5.js.gz +0 -0
  333. package/web/chunk-nh3m09b1.js +1 -0
  334. package/web/chunk-nh3m09b1.js.br +0 -0
  335. package/web/chunk-nh3m09b1.js.gz +0 -0
  336. package/web/chunk-nqvjw71s.js +1 -0
  337. package/web/chunk-nqvjw71s.js.br +0 -0
  338. package/web/chunk-nqvjw71s.js.gz +0 -0
  339. package/web/chunk-nyydkfyf.js +1 -0
  340. package/web/chunk-nyydkfyf.js.br +0 -0
  341. package/web/chunk-nyydkfyf.js.gz +0 -0
  342. package/web/chunk-p0zneef1.js +2 -0
  343. package/web/chunk-p0zneef1.js.br +0 -0
  344. package/web/chunk-p0zneef1.js.gz +0 -0
  345. package/web/chunk-pjd16rfv.js +1 -0
  346. package/web/chunk-pjd16rfv.js.br +0 -0
  347. package/web/chunk-pjd16rfv.js.gz +0 -0
  348. package/web/chunk-praang0j.js +214 -0
  349. package/web/chunk-praang0j.js.br +0 -0
  350. package/web/chunk-praang0j.js.gz +0 -0
  351. package/web/chunk-prynwp2t.js +1 -0
  352. package/web/chunk-prynwp2t.js.br +0 -0
  353. package/web/chunk-prynwp2t.js.gz +0 -0
  354. package/web/chunk-qd3x1kbw.js +1 -0
  355. package/web/chunk-qd3x1kbw.js.br +2 -0
  356. package/web/chunk-qd3x1kbw.js.gz +0 -0
  357. package/web/chunk-qgqg2kr5.js +1 -0
  358. package/web/chunk-qgqg2kr5.js.br +0 -0
  359. package/web/chunk-qgqg2kr5.js.gz +0 -0
  360. package/web/chunk-qha5j25q.js +2 -0
  361. package/web/chunk-qha5j25q.js.br +0 -0
  362. package/web/chunk-qha5j25q.js.gz +0 -0
  363. package/web/chunk-qhf717ek.js +2 -0
  364. package/web/chunk-qhf717ek.js.br +0 -0
  365. package/web/chunk-qhf717ek.js.gz +0 -0
  366. package/web/chunk-qt2ktkps.js +1 -0
  367. package/web/chunk-qt2ktkps.js.br +0 -0
  368. package/web/chunk-qt2ktkps.js.gz +0 -0
  369. package/web/chunk-scnew5q6.js +1 -0
  370. package/web/chunk-scnew5q6.js.br +0 -0
  371. package/web/chunk-scnew5q6.js.gz +0 -0
  372. package/web/chunk-scrrgk6n.js +2 -0
  373. package/web/chunk-scrrgk6n.js.br +0 -0
  374. package/web/chunk-scrrgk6n.js.gz +0 -0
  375. package/web/chunk-sy1ta5rp.js +1 -0
  376. package/web/chunk-sy1ta5rp.js.br +0 -0
  377. package/web/chunk-sy1ta5rp.js.gz +0 -0
  378. package/web/chunk-t092etr1.js +2 -0
  379. package/web/chunk-t092etr1.js.br +0 -0
  380. package/web/chunk-t092etr1.js.gz +0 -0
  381. package/web/chunk-t34g8qj4.js +2 -0
  382. package/web/chunk-t34g8qj4.js.br +0 -0
  383. package/web/chunk-t34g8qj4.js.gz +0 -0
  384. package/web/chunk-tfdwgjr1.js +2 -0
  385. package/web/chunk-tfdwgjr1.js.br +0 -0
  386. package/web/chunk-tfdwgjr1.js.gz +0 -0
  387. package/web/chunk-ty54ph0y.js +1 -0
  388. package/web/chunk-ty54ph0y.js.br +2 -0
  389. package/web/chunk-ty54ph0y.js.gz +0 -0
  390. package/web/chunk-v7nv1ve8.js +1 -0
  391. package/web/chunk-v7nv1ve8.js.br +0 -0
  392. package/web/chunk-v7nv1ve8.js.gz +0 -0
  393. package/web/chunk-vchzf900.js +2 -0
  394. package/web/chunk-vchzf900.js.br +0 -0
  395. package/web/chunk-vchzf900.js.gz +0 -0
  396. package/web/chunk-vtn7g6n0.js +2 -0
  397. package/web/chunk-vtn7g6n0.js.br +0 -0
  398. package/web/chunk-vtn7g6n0.js.gz +0 -0
  399. package/web/chunk-w1bp9wwx.js +1 -0
  400. package/web/chunk-w1bp9wwx.js.br +0 -0
  401. package/web/chunk-w1bp9wwx.js.gz +0 -0
  402. package/web/chunk-w4h1c0eb.js +200 -0
  403. package/web/chunk-w4h1c0eb.js.br +0 -0
  404. package/web/chunk-w4h1c0eb.js.gz +0 -0
  405. package/web/chunk-wx0jmdbq.js +62 -0
  406. package/web/chunk-wx0jmdbq.js.br +0 -0
  407. package/web/chunk-wx0jmdbq.js.gz +0 -0
  408. package/web/chunk-xdns99dp.js +99 -0
  409. package/web/chunk-xdns99dp.js.br +0 -0
  410. package/web/chunk-xdns99dp.js.gz +0 -0
  411. package/web/chunk-xnhzragz.js +1 -0
  412. package/web/chunk-xnhzragz.js.br +0 -0
  413. package/web/chunk-xnhzragz.js.gz +0 -0
  414. package/web/chunk-xq241z8c.js +38 -0
  415. package/web/chunk-xq241z8c.js.br +0 -0
  416. package/web/chunk-xq241z8c.js.gz +0 -0
  417. package/web/chunk-xve7x5x1.js +2 -0
  418. package/web/chunk-xve7x5x1.js.br +0 -0
  419. package/web/chunk-xve7x5x1.js.gz +0 -0
  420. package/web/chunk-xvn1wg8g.js +2 -0
  421. package/web/chunk-xvn1wg8g.js.br +0 -0
  422. package/web/chunk-xvn1wg8g.js.gz +0 -0
  423. package/web/chunk-xwy6m9v6.js +1 -0
  424. package/web/chunk-xwy6m9v6.js.br +0 -0
  425. package/web/chunk-xwy6m9v6.js.gz +0 -0
  426. package/web/chunk-y7zvyd6m.js +1 -0
  427. package/web/chunk-y7zvyd6m.js.br +0 -0
  428. package/web/chunk-y7zvyd6m.js.gz +0 -0
  429. package/web/chunk-yh07726r.js +78 -0
  430. package/web/chunk-yh07726r.js.br +0 -0
  431. package/web/chunk-yh07726r.js.gz +0 -0
  432. package/web/chunk-yr94dbhk.js +1 -0
  433. package/web/chunk-yr94dbhk.js.br +0 -0
  434. package/web/chunk-yr94dbhk.js.gz +0 -0
  435. package/web/chunk-ysqfkg2v.js +70 -0
  436. package/web/chunk-ysqfkg2v.js.br +0 -0
  437. package/web/chunk-ysqfkg2v.js.gz +0 -0
  438. package/web/chunk-yxax25q6.js +4 -0
  439. package/web/chunk-yxax25q6.js.br +0 -0
  440. package/web/chunk-yxax25q6.js.gz +0 -0
  441. package/web/chunk-z7024nm8.js +16 -0
  442. package/web/chunk-z7024nm8.js.br +0 -0
  443. package/web/chunk-z7024nm8.js.gz +0 -0
  444. package/web/chunk-z91sdj83.js +139 -0
  445. package/web/chunk-z91sdj83.js.br +0 -0
  446. package/web/chunk-z91sdj83.js.gz +0 -0
  447. package/web/chunk-zw958xwq.js +1 -0
  448. package/web/chunk-zw958xwq.js.br +0 -0
  449. package/web/chunk-zw958xwq.js.gz +0 -0
  450. package/web/index.html +1 -1
  451. package/web/index.html.br +0 -0
  452. package/web/index.html.gz +0 -0
  453. package/worker.js +1 -1
  454. package/chunk-0ecs4nme.js +0 -18
  455. package/chunk-0mrd775t.js +0 -3
  456. package/chunk-0nxcbf6d.js +0 -472
  457. package/chunk-0p12aad6.js +0 -3
  458. package/chunk-0vdz9j55.js +0 -7
  459. package/chunk-1v0dv855.js +0 -3
  460. package/chunk-2jeg8h8d.js +0 -3
  461. package/chunk-2q3tewbg.js +0 -59
  462. package/chunk-3hqka8zs.js +0 -2
  463. package/chunk-3ktcgaec.js +0 -2
  464. package/chunk-3v0ezmaw.js +0 -39
  465. package/chunk-3zv7ryz0.js +0 -2
  466. package/chunk-4x7xnfw1.js +0 -2
  467. package/chunk-5h96jz3p.js +0 -3
  468. package/chunk-5kd940f5.js +0 -3
  469. package/chunk-628vymvd.js +0 -3
  470. package/chunk-6h9dxrr4.js +0 -2
  471. package/chunk-6ka4m0ax.js +0 -2
  472. package/chunk-6q0ak8d1.js +0 -12
  473. package/chunk-768vwfc3.js +0 -3
  474. package/chunk-7k4xghss.js +0 -5
  475. package/chunk-8jv34hrx.js +0 -7
  476. package/chunk-8np9b2y8.js +0 -3
  477. package/chunk-8yv55y6g.js +0 -3
  478. package/chunk-95rqa8r8.js +0 -2
  479. package/chunk-979mxkzt.js +0 -2
  480. package/chunk-9y8v1vrt.js +0 -15
  481. package/chunk-akf8x16s.js +0 -5
  482. package/chunk-bdr1170y.js +0 -3
  483. package/chunk-bkmd5d8p.js +0 -3
  484. package/chunk-c4nxr37s.js +0 -3566
  485. package/chunk-cte9wd9x.js +0 -4
  486. package/chunk-df7ye0xb.js +0 -9
  487. package/chunk-drbd6485.js +0 -3
  488. package/chunk-dsd6pd2m.js +0 -2
  489. package/chunk-eejgn4ye.js +0 -2
  490. package/chunk-eek8fqvj.js +0 -2
  491. package/chunk-ewjrnvjb.js +0 -10
  492. package/chunk-f4tqhvff.js +0 -3
  493. package/chunk-gha8wd63.js +0 -11
  494. package/chunk-gwrpahes.js +0 -2
  495. package/chunk-hz92pdms.js +0 -2
  496. package/chunk-jepxf22f.js +0 -7
  497. package/chunk-keq5kv9b.js +0 -3
  498. package/chunk-kh4yq4rd.js +0 -4
  499. package/chunk-khdch9sx.js +0 -25
  500. package/chunk-m1w7f6d3.js +0 -5
  501. package/chunk-ma91f4qj.js +0 -2
  502. package/chunk-mah60ek9.js +0 -3
  503. package/chunk-mmm1jh57.js +0 -20
  504. package/chunk-mmt11y21.js +0 -2
  505. package/chunk-mny4xyb0.js +0 -3
  506. package/chunk-mq0p4ssz.js +0 -3
  507. package/chunk-mzta1jts.js +0 -10
  508. package/chunk-n0qwj5gm.js +0 -12
  509. package/chunk-n19ec95n.js +0 -3
  510. package/chunk-n5b822pn.js +0 -3
  511. package/chunk-nvxx397h.js +0 -2
  512. package/chunk-nwfhbcme.js +0 -4
  513. package/chunk-pcd14q8r.js +0 -390
  514. package/chunk-pr1hfw3a.js +0 -2
  515. package/chunk-q2re8mn9.js +0 -31
  516. package/chunk-qgg3wk8h.js +0 -2
  517. package/chunk-r9gkfk6f.js +0 -16
  518. package/chunk-rjfph4m5.js +0 -3
  519. package/chunk-rmy489b1.js +0 -7
  520. package/chunk-sf2cp0m6.js +0 -8
  521. package/chunk-sfwy8rqg.js +0 -3
  522. package/chunk-sj2q2amm.js +0 -11
  523. package/chunk-sqfs6z7c.js +0 -3
  524. package/chunk-sy980cjq.js +0 -2
  525. package/chunk-t64hda7b.js +0 -2
  526. package/chunk-tbhqhejq.js +0 -2
  527. package/chunk-trxaygjr.js +0 -5
  528. package/chunk-v7ehjbxx.js +0 -2
  529. package/chunk-vjegsy9q.js +0 -2
  530. package/chunk-vt4xyc4q.js +0 -2
  531. package/chunk-w430z452.js +0 -25
  532. package/chunk-xycq2q8m.js +0 -2
  533. package/chunk-y16fqzad.js +0 -3
  534. package/chunk-y6mng74k.js +0 -2
  535. package/chunk-y8aq7mb7.js +0 -3
  536. package/chunk-ynt6najh.js +0 -3
  537. package/chunk-z1y43t2s.js +0 -3
  538. package/chunk-z6v2pcc0.js +0 -3
  539. package/web/chunk-085ttz7c.js +0 -84
  540. package/web/chunk-085ttz7c.js.br +0 -0
  541. package/web/chunk-085ttz7c.js.gz +0 -0
  542. package/web/chunk-0g9ycv0h.js +0 -2
  543. package/web/chunk-0g9ycv0h.js.br +0 -0
  544. package/web/chunk-0g9ycv0h.js.gz +0 -0
  545. package/web/chunk-13x3xyyh.js +0 -7
  546. package/web/chunk-13x3xyyh.js.br +0 -0
  547. package/web/chunk-13x3xyyh.js.gz +0 -0
  548. package/web/chunk-172gywq4.js +0 -214
  549. package/web/chunk-172gywq4.js.br +0 -0
  550. package/web/chunk-172gywq4.js.gz +0 -0
  551. package/web/chunk-176tsg6e.js +0 -2
  552. package/web/chunk-176tsg6e.js.br +0 -0
  553. package/web/chunk-176tsg6e.js.gz +0 -0
  554. package/web/chunk-17d30546.js +0 -38
  555. package/web/chunk-17d30546.js.br +0 -0
  556. package/web/chunk-17d30546.js.gz +0 -0
  557. package/web/chunk-1k6jx4hs.js +0 -1
  558. package/web/chunk-1k6jx4hs.js.br +0 -0
  559. package/web/chunk-1k6jx4hs.js.gz +0 -0
  560. package/web/chunk-1kts05s6.css +0 -1
  561. package/web/chunk-1kts05s6.css.br +0 -0
  562. package/web/chunk-1kts05s6.css.gz +0 -0
  563. package/web/chunk-1z0x1j6q.js +0 -1
  564. package/web/chunk-1z0x1j6q.js.br +0 -0
  565. package/web/chunk-1z0x1j6q.js.gz +0 -0
  566. package/web/chunk-290wy4yk.js +0 -1
  567. package/web/chunk-290wy4yk.js.br +0 -0
  568. package/web/chunk-290wy4yk.js.gz +0 -0
  569. package/web/chunk-2cdw1299.js +0 -1
  570. package/web/chunk-2cdw1299.js.br +0 -0
  571. package/web/chunk-2cdw1299.js.gz +0 -0
  572. package/web/chunk-2fms67zg.js +0 -332
  573. package/web/chunk-2fms67zg.js.br +0 -0
  574. package/web/chunk-2fms67zg.js.gz +0 -0
  575. package/web/chunk-2psxv4dk.js +0 -120
  576. package/web/chunk-2psxv4dk.js.br +0 -0
  577. package/web/chunk-2psxv4dk.js.gz +0 -0
  578. package/web/chunk-2z4zhtw4.js +0 -142
  579. package/web/chunk-2z4zhtw4.js.br +0 -0
  580. package/web/chunk-2z4zhtw4.js.gz +0 -0
  581. package/web/chunk-39rtp0f4.js +0 -1
  582. package/web/chunk-39rtp0f4.js.br +0 -0
  583. package/web/chunk-39rtp0f4.js.gz +0 -0
  584. package/web/chunk-3sszg3gr.js +0 -24
  585. package/web/chunk-3sszg3gr.js.br +0 -0
  586. package/web/chunk-3sszg3gr.js.gz +0 -0
  587. package/web/chunk-3vdw9nn7.js +0 -62
  588. package/web/chunk-3vdw9nn7.js.br +0 -0
  589. package/web/chunk-3vdw9nn7.js.gz +0 -0
  590. package/web/chunk-43shp7zx.js +0 -2
  591. package/web/chunk-43shp7zx.js.br +0 -0
  592. package/web/chunk-43shp7zx.js.gz +0 -0
  593. package/web/chunk-4cbcqcd2.js +0 -1
  594. package/web/chunk-4cbcqcd2.js.br +0 -0
  595. package/web/chunk-4cbcqcd2.js.gz +0 -0
  596. package/web/chunk-4v6n6b36.js +0 -1
  597. package/web/chunk-4v6n6b36.js.br +0 -0
  598. package/web/chunk-4v6n6b36.js.gz +0 -0
  599. package/web/chunk-54vdfmx0.js +0 -2
  600. package/web/chunk-54vdfmx0.js.br +0 -0
  601. package/web/chunk-54vdfmx0.js.gz +0 -0
  602. package/web/chunk-59ybhv47.js +0 -1
  603. package/web/chunk-59ybhv47.js.br +0 -0
  604. package/web/chunk-59ybhv47.js.gz +0 -0
  605. package/web/chunk-5zkw2kkb.js +0 -140
  606. package/web/chunk-5zkw2kkb.js.br +0 -0
  607. package/web/chunk-5zkw2kkb.js.gz +0 -0
  608. package/web/chunk-634vc92s.js +0 -70
  609. package/web/chunk-634vc92s.js.br +0 -0
  610. package/web/chunk-634vc92s.js.gz +0 -0
  611. package/web/chunk-6n3cwe1h.js +0 -169
  612. package/web/chunk-6n3cwe1h.js.br +0 -0
  613. package/web/chunk-6n3cwe1h.js.gz +0 -0
  614. package/web/chunk-6zr2j7xj.js +0 -1
  615. package/web/chunk-6zr2j7xj.js.br +0 -0
  616. package/web/chunk-6zr2j7xj.js.gz +0 -0
  617. package/web/chunk-713ygtrs.js +0 -200
  618. package/web/chunk-713ygtrs.js.br +0 -0
  619. package/web/chunk-713ygtrs.js.gz +0 -0
  620. package/web/chunk-7m4gmjvp.js +0 -1
  621. package/web/chunk-7m4gmjvp.js.br +0 -0
  622. package/web/chunk-7m4gmjvp.js.gz +0 -0
  623. package/web/chunk-7x90pq42.js +0 -1
  624. package/web/chunk-7x90pq42.js.br +0 -0
  625. package/web/chunk-7x90pq42.js.gz +0 -0
  626. package/web/chunk-7ycp549b.js +0 -2
  627. package/web/chunk-7ycp549b.js.br +0 -0
  628. package/web/chunk-7ycp549b.js.gz +0 -0
  629. package/web/chunk-811qc5bs.js +0 -1
  630. package/web/chunk-811qc5bs.js.br +0 -0
  631. package/web/chunk-811qc5bs.js.gz +0 -0
  632. package/web/chunk-82gjgy45.js +0 -1
  633. package/web/chunk-82gjgy45.js.br +0 -0
  634. package/web/chunk-82gjgy45.js.gz +0 -0
  635. package/web/chunk-8de69eyx.js +0 -2
  636. package/web/chunk-8de69eyx.js.br +0 -0
  637. package/web/chunk-8de69eyx.js.gz +0 -0
  638. package/web/chunk-91s1ns6b.js +0 -55
  639. package/web/chunk-91s1ns6b.js.br +0 -0
  640. package/web/chunk-91s1ns6b.js.gz +0 -0
  641. package/web/chunk-921qw2jf.js +0 -1
  642. package/web/chunk-921qw2jf.js.br +0 -0
  643. package/web/chunk-921qw2jf.js.gz +0 -0
  644. package/web/chunk-96n0nem7.js +0 -2
  645. package/web/chunk-96n0nem7.js.br +0 -0
  646. package/web/chunk-96n0nem7.js.gz +0 -0
  647. package/web/chunk-9k9p5dat.js +0 -1
  648. package/web/chunk-9k9p5dat.js.br +0 -0
  649. package/web/chunk-9k9p5dat.js.gz +0 -0
  650. package/web/chunk-a529550j.js +0 -1
  651. package/web/chunk-a529550j.js.br +0 -0
  652. package/web/chunk-a529550j.js.gz +0 -0
  653. package/web/chunk-abvtsz6z.js +0 -2
  654. package/web/chunk-abvtsz6z.js.br +0 -0
  655. package/web/chunk-abvtsz6z.js.gz +0 -0
  656. package/web/chunk-ac8vmj54.js +0 -1
  657. package/web/chunk-ac8vmj54.js.br +0 -0
  658. package/web/chunk-ac8vmj54.js.gz +0 -0
  659. package/web/chunk-amrt87c9.js +0 -1
  660. package/web/chunk-amrt87c9.js.br +0 -0
  661. package/web/chunk-amrt87c9.js.gz +0 -0
  662. package/web/chunk-b2t33c3t.js +0 -2
  663. package/web/chunk-b2t33c3t.js.br +0 -0
  664. package/web/chunk-b2t33c3t.js.gz +0 -0
  665. package/web/chunk-b9fqnzqd.js +0 -217
  666. package/web/chunk-b9fqnzqd.js.br +0 -0
  667. package/web/chunk-b9fqnzqd.js.gz +0 -0
  668. package/web/chunk-bbs6yq60.js +0 -99
  669. package/web/chunk-bbs6yq60.js.br +0 -0
  670. package/web/chunk-bbs6yq60.js.gz +0 -0
  671. package/web/chunk-bbyqcvdz.js +0 -2
  672. package/web/chunk-bbyqcvdz.js.br +0 -0
  673. package/web/chunk-bbyqcvdz.js.gz +0 -0
  674. package/web/chunk-bg2ps35t.js +0 -2
  675. package/web/chunk-bg2ps35t.js.br +0 -0
  676. package/web/chunk-bg2ps35t.js.gz +0 -0
  677. package/web/chunk-bh0a254y.js +0 -30
  678. package/web/chunk-bh0a254y.js.br +0 -0
  679. package/web/chunk-bh0a254y.js.gz +0 -0
  680. package/web/chunk-bvmvj35k.js +0 -1
  681. package/web/chunk-bvmvj35k.js.br +0 -0
  682. package/web/chunk-bvmvj35k.js.gz +0 -0
  683. package/web/chunk-c2eqwepm.js +0 -2
  684. package/web/chunk-c2eqwepm.js.br +0 -0
  685. package/web/chunk-c2eqwepm.js.gz +0 -0
  686. package/web/chunk-ca8hnmmv.js +0 -34
  687. package/web/chunk-ca8hnmmv.js.br +0 -0
  688. package/web/chunk-ca8hnmmv.js.gz +0 -0
  689. package/web/chunk-ced8pdbc.js +0 -1
  690. package/web/chunk-ced8pdbc.js.br +0 -0
  691. package/web/chunk-ced8pdbc.js.gz +0 -0
  692. package/web/chunk-cj0cmvbm.js +0 -89
  693. package/web/chunk-cj0cmvbm.js.br +0 -0
  694. package/web/chunk-cj0cmvbm.js.gz +0 -0
  695. package/web/chunk-cqr2kq2c.js +0 -1
  696. package/web/chunk-cqr2kq2c.js.br +0 -0
  697. package/web/chunk-cqr2kq2c.js.gz +0 -0
  698. package/web/chunk-crhbhsrh.js +0 -2
  699. package/web/chunk-crhbhsrh.js.br +0 -0
  700. package/web/chunk-crhbhsrh.js.gz +0 -0
  701. package/web/chunk-cxhcrhqc.js +0 -1
  702. package/web/chunk-cxhcrhqc.js.br +0 -0
  703. package/web/chunk-cxhcrhqc.js.gz +0 -0
  704. package/web/chunk-e3d6kvwm.js +0 -1
  705. package/web/chunk-e3d6kvwm.js.br +0 -0
  706. package/web/chunk-e3d6kvwm.js.gz +0 -0
  707. package/web/chunk-ee67ps6t.js +0 -1
  708. package/web/chunk-ee67ps6t.js.br +0 -0
  709. package/web/chunk-ee67ps6t.js.gz +0 -0
  710. package/web/chunk-ef0wf92p.js +0 -2
  711. package/web/chunk-ef0wf92p.js.br +0 -0
  712. package/web/chunk-ef0wf92p.js.gz +0 -0
  713. package/web/chunk-ekwmp0s0.js +0 -1
  714. package/web/chunk-ekwmp0s0.js.br +0 -0
  715. package/web/chunk-ekwmp0s0.js.gz +0 -0
  716. package/web/chunk-eq28qb33.js +0 -2
  717. package/web/chunk-eq28qb33.js.br +0 -3
  718. package/web/chunk-eq28qb33.js.gz +0 -0
  719. package/web/chunk-f8ac76br.js +0 -2
  720. package/web/chunk-f8ac76br.js.br +0 -3
  721. package/web/chunk-f8ac76br.js.gz +0 -0
  722. package/web/chunk-fp7q643n.js +0 -36
  723. package/web/chunk-fp7q643n.js.br +0 -0
  724. package/web/chunk-fp7q643n.js.gz +0 -0
  725. package/web/chunk-g1penf6y.js +0 -2
  726. package/web/chunk-g1penf6y.js.br +0 -0
  727. package/web/chunk-g1penf6y.js.gz +0 -0
  728. package/web/chunk-g7t1bvvx.js +0 -2
  729. package/web/chunk-g7t1bvvx.js.br +0 -0
  730. package/web/chunk-g7t1bvvx.js.gz +0 -0
  731. package/web/chunk-gf4ky7tp.js +0 -8
  732. package/web/chunk-gf4ky7tp.js.br +0 -0
  733. package/web/chunk-gf4ky7tp.js.gz +0 -0
  734. package/web/chunk-gtcjwz0j.js +0 -1
  735. package/web/chunk-gtcjwz0j.js.br +0 -2
  736. package/web/chunk-gtcjwz0j.js.gz +0 -0
  737. package/web/chunk-gy2y4zfa.js +0 -21
  738. package/web/chunk-gy2y4zfa.js.br +0 -0
  739. package/web/chunk-gy2y4zfa.js.gz +0 -0
  740. package/web/chunk-h1cv1kke.js +0 -16
  741. package/web/chunk-h1cv1kke.js.br +0 -0
  742. package/web/chunk-h1cv1kke.js.gz +0 -0
  743. package/web/chunk-h6k80vqf.js +0 -1
  744. package/web/chunk-h6k80vqf.js.br +0 -0
  745. package/web/chunk-h6k80vqf.js.gz +0 -0
  746. package/web/chunk-hqtm67yw.js +0 -24
  747. package/web/chunk-hqtm67yw.js.br +0 -0
  748. package/web/chunk-hqtm67yw.js.gz +0 -0
  749. package/web/chunk-hsgtzrkh.js +0 -1
  750. package/web/chunk-hsgtzrkh.js.br +0 -0
  751. package/web/chunk-hsgtzrkh.js.gz +0 -0
  752. package/web/chunk-htn0dt64.js +0 -2
  753. package/web/chunk-htn0dt64.js.br +0 -0
  754. package/web/chunk-htn0dt64.js.gz +0 -0
  755. package/web/chunk-j7phw79h.js +0 -1
  756. package/web/chunk-j7phw79h.js.br +0 -0
  757. package/web/chunk-j7phw79h.js.gz +0 -0
  758. package/web/chunk-k69ysa0v.js +0 -1
  759. package/web/chunk-k69ysa0v.js.br +0 -0
  760. package/web/chunk-k69ysa0v.js.gz +0 -0
  761. package/web/chunk-k7h5g8qj.js +0 -1
  762. package/web/chunk-k7h5g8qj.js.br +0 -2
  763. package/web/chunk-k7h5g8qj.js.gz +0 -0
  764. package/web/chunk-k8x1xbf6.js +0 -1
  765. package/web/chunk-k8x1xbf6.js.br +0 -0
  766. package/web/chunk-k8x1xbf6.js.gz +0 -0
  767. package/web/chunk-k8yyb4wc.js +0 -2
  768. package/web/chunk-k8yyb4wc.js.br +0 -0
  769. package/web/chunk-k8yyb4wc.js.gz +0 -0
  770. package/web/chunk-kbvzxsz7.js +0 -324
  771. package/web/chunk-kbvzxsz7.js.br +0 -0
  772. package/web/chunk-kbvzxsz7.js.gz +0 -0
  773. package/web/chunk-kn9bc5z2.js +0 -291
  774. package/web/chunk-kn9bc5z2.js.br +0 -0
  775. package/web/chunk-kn9bc5z2.js.gz +0 -0
  776. package/web/chunk-ksr360js.js +0 -4
  777. package/web/chunk-ksr360js.js.br +0 -0
  778. package/web/chunk-ksr360js.js.gz +0 -0
  779. package/web/chunk-m5nt857c.js +0 -1
  780. package/web/chunk-m5nt857c.js.br +0 -0
  781. package/web/chunk-m5nt857c.js.gz +0 -0
  782. package/web/chunk-mbaw66b5.js +0 -2
  783. package/web/chunk-mbaw66b5.js.br +0 -0
  784. package/web/chunk-mbaw66b5.js.gz +0 -0
  785. package/web/chunk-ms7cscs9.js +0 -1
  786. package/web/chunk-ms7cscs9.js.br +0 -0
  787. package/web/chunk-ms7cscs9.js.gz +0 -0
  788. package/web/chunk-n59nyqcr.js +0 -303
  789. package/web/chunk-n59nyqcr.js.br +0 -0
  790. package/web/chunk-n59nyqcr.js.gz +0 -0
  791. package/web/chunk-n9npqkxf.js +0 -1
  792. package/web/chunk-n9npqkxf.js.br +0 -0
  793. package/web/chunk-n9npqkxf.js.gz +0 -0
  794. package/web/chunk-nb3jk1wk.js +0 -1
  795. package/web/chunk-nb3jk1wk.js.br +0 -0
  796. package/web/chunk-nb3jk1wk.js.gz +0 -0
  797. package/web/chunk-ny87aq2j.js +0 -1
  798. package/web/chunk-ny87aq2j.js.br +0 -0
  799. package/web/chunk-ny87aq2j.js.gz +0 -0
  800. package/web/chunk-phr7yps3.js +0 -3
  801. package/web/chunk-phr7yps3.js.br +0 -0
  802. package/web/chunk-phr7yps3.js.gz +0 -0
  803. package/web/chunk-ppccb30x.js +0 -78
  804. package/web/chunk-ppccb30x.js.br +0 -0
  805. package/web/chunk-ppccb30x.js.gz +0 -0
  806. package/web/chunk-q17rem99.js +0 -89
  807. package/web/chunk-q17rem99.js.br +0 -0
  808. package/web/chunk-q17rem99.js.gz +0 -0
  809. package/web/chunk-qdq6wvgt.js +0 -139
  810. package/web/chunk-qdq6wvgt.js.br +0 -0
  811. package/web/chunk-qdq6wvgt.js.gz +0 -0
  812. package/web/chunk-qhr6hegh.js +0 -1
  813. package/web/chunk-qhr6hegh.js.br +0 -0
  814. package/web/chunk-qhr6hegh.js.gz +0 -0
  815. package/web/chunk-qqtj88e0.js +0 -2
  816. package/web/chunk-qqtj88e0.js.br +0 -0
  817. package/web/chunk-qqtj88e0.js.gz +0 -0
  818. package/web/chunk-r165xpp5.js +0 -1
  819. package/web/chunk-r165xpp5.js.br +0 -0
  820. package/web/chunk-r165xpp5.js.gz +0 -0
  821. package/web/chunk-r4cr8rvt.js +0 -1
  822. package/web/chunk-r4cr8rvt.js.br +0 -0
  823. package/web/chunk-r4cr8rvt.js.gz +0 -0
  824. package/web/chunk-sapy54hm.js +0 -106
  825. package/web/chunk-sapy54hm.js.br +0 -0
  826. package/web/chunk-sapy54hm.js.gz +0 -0
  827. package/web/chunk-sarkb4p9.js +0 -12
  828. package/web/chunk-sarkb4p9.js.br +0 -0
  829. package/web/chunk-sarkb4p9.js.gz +0 -0
  830. package/web/chunk-t7vwsg9r.js +0 -292
  831. package/web/chunk-t7vwsg9r.js.br +0 -0
  832. package/web/chunk-t7vwsg9r.js.gz +0 -0
  833. package/web/chunk-ta913rgd.js +0 -2
  834. package/web/chunk-ta913rgd.js.br +0 -0
  835. package/web/chunk-ta913rgd.js.gz +0 -0
  836. package/web/chunk-tt7j0m6m.js +0 -7
  837. package/web/chunk-tt7j0m6m.js.br +0 -0
  838. package/web/chunk-tt7j0m6m.js.gz +0 -0
  839. package/web/chunk-va1rkfan.js +0 -1
  840. package/web/chunk-va1rkfan.js.br +0 -0
  841. package/web/chunk-va1rkfan.js.gz +0 -0
  842. package/web/chunk-vb3sy3hv.js +0 -39
  843. package/web/chunk-vb3sy3hv.js.br +0 -0
  844. package/web/chunk-vb3sy3hv.js.gz +0 -0
  845. package/web/chunk-vgpyff03.js +0 -41
  846. package/web/chunk-vgpyff03.js.br +0 -0
  847. package/web/chunk-vgpyff03.js.gz +0 -0
  848. package/web/chunk-vrtdjg91.js +0 -1
  849. package/web/chunk-vrtdjg91.js.br +0 -0
  850. package/web/chunk-vrtdjg91.js.gz +0 -0
  851. package/web/chunk-vx6qbmd7.js +0 -2
  852. package/web/chunk-vx6qbmd7.js.br +0 -0
  853. package/web/chunk-vx6qbmd7.js.gz +0 -0
  854. package/web/chunk-w563538j.js +0 -370
  855. package/web/chunk-w563538j.js.br +0 -0
  856. package/web/chunk-w563538j.js.gz +0 -0
  857. package/web/chunk-w71t7mes.js +0 -1
  858. package/web/chunk-w71t7mes.js.br +0 -0
  859. package/web/chunk-w71t7mes.js.gz +0 -0
  860. package/web/chunk-w96etr1w.js +0 -1
  861. package/web/chunk-w96etr1w.js.br +0 -0
  862. package/web/chunk-w96etr1w.js.gz +0 -0
  863. package/web/chunk-wrqazg2v.js +0 -2
  864. package/web/chunk-wrqazg2v.js.br +0 -0
  865. package/web/chunk-wrqazg2v.js.gz +0 -0
  866. package/web/chunk-xsyrxa45.js +0 -2
  867. package/web/chunk-xsyrxa45.js.br +0 -0
  868. package/web/chunk-xsyrxa45.js.gz +0 -0
  869. package/web/chunk-xv1d350x.js +0 -1
  870. package/web/chunk-xv1d350x.js.br +0 -0
  871. package/web/chunk-xv1d350x.js.gz +0 -0
  872. package/web/chunk-xw8tzrmm.js +0 -1135
  873. package/web/chunk-xw8tzrmm.js.br +0 -0
  874. package/web/chunk-xw8tzrmm.js.gz +0 -0
  875. package/web/chunk-xwsh4jx7.js +0 -1
  876. package/web/chunk-xwsh4jx7.js.br +0 -2
  877. package/web/chunk-xwsh4jx7.js.gz +0 -0
  878. package/web/chunk-xxk7xkrs.js +0 -1
  879. package/web/chunk-xxk7xkrs.js.br +0 -0
  880. package/web/chunk-xxk7xkrs.js.gz +0 -0
  881. package/web/chunk-y5zd05mz.js +0 -40
  882. package/web/chunk-y5zd05mz.js.br +0 -0
  883. package/web/chunk-y5zd05mz.js.gz +0 -0
  884. package/web/chunk-yg9a23mv.js +0 -1
  885. package/web/chunk-yg9a23mv.js.br +0 -0
  886. package/web/chunk-yg9a23mv.js.gz +0 -0
  887. package/web/chunk-ygzgrjj7.js +0 -7
  888. package/web/chunk-ygzgrjj7.js.br +0 -0
  889. package/web/chunk-ygzgrjj7.js.gz +0 -0
  890. package/web/chunk-yp75a6yh.js +0 -4
  891. package/web/chunk-yp75a6yh.js.br +0 -0
  892. package/web/chunk-yp75a6yh.js.gz +0 -0
  893. package/web/chunk-yygayy5a.js +0 -1
  894. package/web/chunk-yygayy5a.js.br +0 -0
  895. package/web/chunk-yygayy5a.js.gz +0 -0
  896. package/web/chunk-zs7c2db4.js +0 -1
  897. package/web/chunk-zs7c2db4.js.br +0 -0
  898. package/web/chunk-zs7c2db4.js.gz +0 -0
  899. package/web/chunk-zsae1tn8.js +0 -98
  900. package/web/chunk-zsae1tn8.js.br +0 -0
  901. package/web/chunk-zsae1tn8.js.gz +0 -0
package/chunk-4x7xnfw1.js DELETED
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{vi,_s,_i,As,Ai,Es,Jr}from"./chunk-9y8v1vrt.js";import"./chunk-mah60ek9.js";import"./chunk-khdch9sx.js";import"./chunk-628vymvd.js";import"./chunk-0nxcbf6d.js";import"./chunk-m1w7f6d3.js";import"./chunk-w430z452.js";export{vi as ModelProviderManager,_i as NetworkManager,Ai as ProviderAuthManager,Jr as TunnelManager,As as chatGPTProvider,_s as resolveNetworkHost,Es as startServer};
package/chunk-5h96jz3p.js DELETED
@@ -1,3 +0,0 @@
1
- // @bun
2
- function Y(r){let e={};for(let[n,o]of r.entries())e[n]=o;return e}function ve(...r){let e=new Map;for(let n of r)for(let[o,t]of Object.entries(n??{})){let s=o.toLowerCase();if(e.delete(s),t!==null)e.set(s,[o,t])}return e.size>0?Object.fromEntries(e.values()):void 0}
3
- export{Y,ve};
package/chunk-5kd940f5.js DELETED
@@ -1,3 +0,0 @@
1
- // @bun
2
- import{_,j}from"./chunk-0ecs4nme.js";import{a}from"./chunk-sfwy8rqg.js";var T=a(_());var C=(e)=>Boolean(e)&&typeof e==="object"&&typeof e.AccessKeyId==="string"&&typeof e.SecretAccessKey==="string"&&typeof e.Token==="string"&&typeof e.Expiration==="string",v=(e)=>({accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,sessionToken:e.Token,expiration:new Date(e.Expiration),...e.AccountId&&{accountId:e.AccountId}});var g=({maxRetries:e=0,timeout:t=1000})=>({maxRetries:e,timeout:t});var O=a(_());import P from"http";function I(e){return new Promise((t,n)=>{let o=P.request({method:"GET",...e,hostname:e.hostname?.replace(/^\[(.+)\]$/,"$1")});o.on("error",(r)=>{n(Object.assign(new O.ProviderError("Unable to connect to instance metadata service"),r)),o.destroy()}),o.on("timeout",()=>{n(new O.ProviderError("TimeoutError from instance metadata service")),o.destroy()}),o.on("response",(r)=>{let{statusCode:s=400}=r;if(s<200||300<=s)n(Object.assign(new O.ProviderError("Error response received from instance metadata service"),{statusCode:s})),o.destroy();let m=[];r.on("data",(i)=>{m.push(i)}),r.on("end",()=>{t(Buffer.concat(m)),o.destroy()})}),o.end()})}var S=(e,t)=>{let n=e();for(let o=0;o<t;o++)n=n.catch(e);return n};var u="AWS_CONTAINER_CREDENTIALS_FULL_URI",D="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",M="AWS_CONTAINER_AUTHORIZATION_TOKEN",q=(e={})=>{let{timeout:t,maxRetries:n}=g(e);return()=>S(async()=>{let o=await Z({logger:e.logger}),r=JSON.parse(await Y(t,o));if(!C(r))throw new T.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:e.logger});return v(r)},n)},Y=async(e,t)=>{if(process.env[M])t.headers={...t.headers,Authorization:process.env[M]};return(await I({...t,timeout:e})).toString()},J="169.254.170.2",X=new Set(["localhost","127.0.0.1"]),z=new Set(["http:","https:"]),Z=async({logger:e})=>{if(process.env[D])return{hostname:J,path:process.env[D]};if(process.env[u]){let t;try{t=new URL(process.env[u])}catch{throw new T.CredentialsProviderError(`${process.env[u]} is not a valid container metadata service URL`,{tryNextLink:!1,logger:e})}if(!t.hostname||!X.has(t.hostname))throw new T.CredentialsProviderError(`${t.hostname} is not a valid container metadata service hostname`,{tryNextLink:!1,logger:e});if(!t.protocol||!z.has(t.protocol))throw new T.CredentialsProviderError(`${t.protocol} is not a valid container metadata service protocol`,{tryNextLink:!1,logger:e});return{protocol:t.protocol,hostname:t.hostname,path:t.pathname+t.search,port:t.port?parseInt(t.port,10):void 0}}throw new T.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${D} or ${u} environment variable is set`,{tryNextLink:!1,logger:e})};var h=a(_());var L=a(_());class w extends L.CredentialsProviderError{tryNextLink;name="InstanceMetadataV1FallbackError";constructor(e,t=!0){super(e,t);this.tryNextLink=t,Object.setPrototypeOf(this,w.prototype)}}var x=a(_()),V=a(j());var N;(function(e){e.IPv4="http://169.254.169.254",e.IPv6="http://[fd00:ec2::254]"})(N||(N={}));var F={environmentVariableSelector:(e)=>e.AWS_EC2_METADATA_SERVICE_ENDPOINT,configFileSelector:(e)=>e.ec2_metadata_service_endpoint,default:void 0};var p;(function(e){e.IPv4="IPv4",e.IPv6="IPv6"})(p||(p={}));var Q="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE",ee="ec2_metadata_service_endpoint_mode",b={environmentVariableSelector:(e)=>e[Q],configFileSelector:(e)=>e[ee],default:p.IPv4};var k=async()=>V.parseUrl(await te()||await oe()),te=async()=>x.loadConfig(F)(),oe=async()=>{let e=await x.loadConfig(b)();switch(e){case p.IPv4:return N.IPv4;case p.IPv6:return N.IPv6;default:throw Error(`Unsupported endpoint mode: ${e}. Select from ${Object.values(p)}`)}};var R=(e,t)=>{let n=300+Math.floor(Math.random()*300),o=new Date(Date.now()+n*1000);t.warn(`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(o)}.
3
- For more information, please visit: https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html`);let r=e.originalExpiration??e.expiration;return{...e,...r?{originalExpiration:r}:{},expiration:o}};var U=(e,t={})=>{let n=t?.logger||console,o;return async()=>{let r;try{if(r=await e(),r.expiration&&r.expiration.getTime()<Date.now())r=R(r,n)}catch(s){if(o)n.warn("Credential renew failed: ",s),r=R(o,n);else throw s}return o=r,r}};var B="/latest/meta-data/iam/security-credentials/",re="/latest/api/token",y="AWS_EC2_METADATA_V1_DISABLED",W="ec2_metadata_v1_disabled",K="x-aws-ec2-metadata-token",ne=(e={})=>U(ae(e),{logger:e.logger}),ae=(e={})=>{let t=!1,{logger:n,profile:o}=e,{timeout:r,maxRetries:s}=g(e),m=async(i,f)=>{if(t||f.headers?.[K]==null){let c=!1,d=!1,H=await h.loadConfig({environmentVariableSelector:(l)=>{let E=l[y];if(d=!!E&&E!=="false",E===void 0)throw new h.CredentialsProviderError(`${y} not set in env, checking config file next.`,{logger:e.logger});return d},configFileSelector:(l)=>{let E=l[W];return c=!!E&&E!=="false",c},default:!1},{profile:o})();if(e.ec2MetadataV1Disabled||H){let l=[];if(e.ec2MetadataV1Disabled)l.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(c)l.push(`config file profile (${W})`);if(d)l.push(`process environment variable (${y})`);throw new w(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${l.join(", ")}].`)}}let G=(await S(async()=>{let c;try{c=await ie(f)}catch(d){if(d.statusCode===401)t=!1;throw d}return c},i)).trim();return S(async()=>{let c;try{c=await ce(G,f,e)}catch(d){if(d.statusCode===401)t=!1;throw d}return c},i)};return async()=>{let i=await k();if(t)return n?.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)"),m(s,{...i,timeout:r});else{let f;try{f=(await se({...i,timeout:r})).toString()}catch(A){if(A?.statusCode===400)throw Object.assign(A,{message:"EC2 Metadata token request returned error"});else if(A.message==="TimeoutError"||[403,404,405].includes(A.statusCode))t=!0;return n?.debug("AWS SDK Instance Metadata","using v1 fallback (initial)"),m(s,{...i,timeout:r})}return m(s,{...i,headers:{[K]:f},timeout:r})}}},se=async(e)=>I({...e,path:re,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),ie=async(e)=>(await I({...e,path:B})).toString(),ce=async(e,t,n)=>{let o=JSON.parse((await I({...t,path:B+e})).toString());if(!C(o))throw new h.CredentialsProviderError("Invalid response received from instance metadata service.",{logger:n.logger});return v(o)};export{u as ENV_CMDS_FULL_URI,D as ENV_CMDS_RELATIVE_URI,q as fromContainerMetadata,ne as fromInstanceMetadata};
package/chunk-628vymvd.js DELETED
@@ -1,3 +0,0 @@
1
- // @bun
2
- import{u}from"./chunk-sfwy8rqg.js";var s=null;function d(t){if(typeof process>"u"||!process.versions?.bun||Object.keys(process.env).length>0)return;if(s===null){s=new Map;try{let{readFileSync:r}=u("fs"),n=r("/proc/self/environ","utf-8");for(let a of n.split("\x00")){let i=a.indexOf("=");if(i>0)s.set(a.slice(0,i),a.slice(i+1))}}catch{}}return s.get(t)}function E(t,r){return r?.[t]||(typeof process<"u"?process.env[t]:void 0)||d(t)||void 0}function c(t,r){return Object.fromEntries(Object.values(t).flatMap((n)=>Object.values(n)).filter((n)=>n.type===r).map((n)=>[n.id,n]))}function h(t,r){return c(r,"chat")}function f(t,r){return c(r,"image")}function g(t,r){return c(r,"classifier")}var O=function(t,r){if(typeof t==="string"&&/^\.\.?\//.test(t))return t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(n,a,i,p,l){return a?r?".jsx":".js":i&&(!p||!l)?n:i+p+"."+l.toLowerCase()+"js"});return t},o=(t)=>{let r=import.meta.url.endsWith(".js")?t.replace(/\.ts$/,".js"):t;return import(O(r))},e;function Ii(t){e=t}var Mi=async()=>{if(e)return e.anthropic();return(await o("./anthropic.ts")).anthropicOAuth},Li=async()=>{if(e)return e.openaiCodex();return(await o("./openai-codex.ts")).openaiCodexOAuth},Oi=async()=>{if(e)return e.openaiChatGPT();return(await o("./openai-chatgpt.ts")).openaiChatGPTOAuth},Ni=async()=>{if(e)return e.githubCopilot();return(await o("./github-copilot.ts")).githubCopilotOAuth},Di=async()=>{if(e)return e.openrouter();return(await o("./openrouter.ts")).openRouterOAuth},Ui=async()=>{if(e)return e.kimiCoding();return(await o("./kimi-coding.ts")).kimiCodingOAuth},Bi=async()=>{if(e)return e.meta();return(await o("./meta.ts")).metaOAuth},Fi=async()=>{if(e)return e.xai();return(await o("./xai.ts")).xaiOAuth},$i=async(t)=>{if(e)return e.radius(t);return(await o("./radius.ts")).createRadiusOAuth(t)};
3
- export{E,h,f,g,Ii,Mi,Li,Oi,Ni,Di,Ui,Bi,Fi,$i};
package/chunk-6h9dxrr4.js DELETED
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{mi,Ve,ft}from"./chunk-mmm1jh57.js";import{Ke}from"./chunk-akf8x16s.js";import{et,Ce,F}from"./chunk-sj2q2amm.js";import{Te,te,_,Pe,re,at,j}from"./chunk-0ecs4nme.js";import{r}from"./chunk-sfwy8rqg.js";var Se=r(function(Dt){var{SignatureV4:kt,signatureV4aContainer:de}=mi(),O={CrtSignerV4:null},ge="X-Amz-S3session-Token".toLowerCase();class J extends kt{async signWithCredentials(e,t,s){let o=pe(t);e.headers[ge]=t.sessionToken;let n=this;return he(n,o),n.signRequest(e,s??{})}async presignWithCredentials(e,t,s){let o=pe(t);return delete e.headers[ge],e.headers["X-Amz-S3session-Token"]=t.sessionToken,e.query=e.query??{},e.query["X-Amz-S3session-Token"]=t.sessionToken,he(this,o),this.presign(e,s)}}function pe(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function he(e,t){let s=e.credentialProvider;e.credentialProvider=()=>(e.credentialProvider=s,Promise.resolve(t))}class me{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof O.CrtSignerV4==="function")return"crt";else if(typeof de.SignatureV4a==="function")return"js";return"none"}constructor(e){this.sigv4Signer=new J(e),this.signerOptions=e}async sign(e,t={}){if(t.signingRegion==="*")return this.getSigv4aSigner().sign(e,t);return this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,s={}){if(s.signingRegion==="*"){let o=this.getSigv4aSigner(),n=O.CrtSignerV4;if(n&&o instanceof n)return o.signWithCredentials(e,t,s);else throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,s)}async presign(e,t={}){if(t.signingRegion==="*"){let s=this.getSigv4aSigner(),o=O.CrtSignerV4;if(o&&s instanceof o)return s.presign(e,t);else throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,s={}){if(s.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,s)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=O.CrtSignerV4,t=de.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!e&&!t)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&typeof e==="function")this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==="function")this.sigv4aSigner=new t({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!t||typeof t!=="function")throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}Dt.SignatureV4MultiRegion=me;Dt.SignatureV4SignWithCredentials=J;Dt.signatureV4CrtContainer=O});var{awsEndpointFunctions:Nt,emitWarningIfUnsupportedVersion:Wt,createDefaultUserAgentProvider:Ht,NODE_APP_ID_CONFIG_OPTIONS:Ut,getAwsRegionExtensionConfiguration:qt,resolveAwsRegionExtensionConfiguration:Ft,resolveUserAgentConfig:Vt,resolveHostHeaderConfig:Lt,getUserAgentPlugin:Kt,getHostHeaderPlugin:Mt,getLoggerPlugin:jt,getRecursionDetectionPlugin:zt,setCredentialFeature:ee,stsRegionDefaultResolver:Gt}=F(),{NoAuthSigner:_e,getHttpAuthSchemeEndpointRuleSetPlugin:Yt,DefaultIdentityProviderConfig:Qt,getHttpSigningPlugin:Bt}=Ce(),{normalizeProvider:xe,getSmithyContext:ke,ServiceException:Jt,NoOpLogger:Xt,emitWarningIfUnsupportedVersion:Zt,loadConfigsForDefaultMode:es,getDefaultExtensionConfiguration:ts,resolveDefaultRuntimeConfig:ss,Client:De,makeBuilder:ns,createAggregatedClient:os}=te(),{Command:rs}=te();var io=rs,ao=De;var{resolveDefaultsModeConfig:is,loadConfig:y,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS:as,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS:cs,NODE_REGION_CONFIG_OPTIONS:us,NODE_REGION_CONFIG_FILE_OPTIONS:ls,resolveRegionConfig:ds}=_(),{BinaryDecisionDiagram:gs,EndpointCache:ps,decideEndpoint:hs,customEndpointFunctions:ms,resolveParams:Ss,resolveEndpointConfig:vs,getEndpointPlugin:fs}=Pe(),{parseUrl:Ps,getHttpHandlerExtensionConfiguration:ys,resolveHttpHandlerRuntimeConfig:Es,getContentLengthPlugin:As}=j(),{DEFAULT_RETRY_MODE:Is,NODE_RETRY_MODE_CONFIG_OPTIONS:ws,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:Rs,resolveRetryConfig:Cs,getRetryPlugin:_s}=et(),{TypeRegistry:be,getSchemaSerdePlugin:xs}=Te(),{resolveAwsSdkSigV4Config:Ts,resolveAwsSdkSigV4AConfig:ks,AwsSdkSigV4Signer:Oe,AwsSdkSigV4ASigner:$e,NODE_SIGV4A_CONFIG_OPTIONS:Ds,NODE_AUTH_SCHEME_PREFERENCE_OPTIONS:bs}=Ve(),{SignatureV4MultiRegion:Ne}=Se(),{toUtf8:Os,fromUtf8:$s,toBase64:Ns,fromBase64:Ws,calculateBodyLength:Hs}=re(),{streamCollector:Us,NodeHttpHandler:qs}=Ke(),{AwsQueryProtocol:Fs}=ft(),{Sha256:Vs}=at(),b="ref",I=-1,N=!0,ve="isSet",We="PartitionResult",W="booleanEquals",l="stringEquals",X="getAttr",fe="us-east-1",ye="sigv4",Ee="sts",Ae="https://sts.{Region}.{PartitionResult#dnsSuffix}",Ie={[b]:"Endpoint"},d={[b]:"Region"},Z={[b]:We},D={},we=[d],Re={conditions:[[ve,[Ie]],[ve,we],["aws.partition",we,We],[W,[{[b]:"UseFIPS"},N]],[W,[{[b]:"UseDualStack"},N]],[l,[d,"aws-global"]],[W,[{[b]:"UseGlobalEndpoint"},N]],[l,[d,"eu-central-1"]],[W,[{fn:X,argv:[Z,"supportsDualStack"]},N]],[W,[{fn:X,argv:[Z,"supportsFIPS"]},N]],[l,[d,"ap-south-1"]],[l,[d,"eu-north-1"]],[l,[d,"eu-west-1"]],[l,[d,"eu-west-2"]],[l,[d,"eu-west-3"]],[l,[d,"sa-east-1"]],[l,[d,fe]],[l,[d,"us-east-2"]],[l,[d,"us-west-2"]],[l,[d,"us-west-1"]],[l,[d,"ca-central-1"]],[l,[d,"ap-southeast-1"]],[l,[d,"ap-northeast-1"]],[l,[d,"ap-southeast-2"]],[l,[{fn:X,argv:[Z,"name"]},"aws-us-gov"]]],results:[[I],["https://sts.amazonaws.com",{authSchemes:[{name:ye,signingName:Ee,signingRegion:fe}]}],[Ae,{authSchemes:[{name:ye,signingName:Ee,signingRegion:"{Region}"}]}],[I,"Invalid Configuration: FIPS and custom endpoint are not supported"],[I,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Ie,D],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",D],[I,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",D],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",D],[I,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",D],[I,"DualStack is enabled but this partition does not support DualStack"],[Ae,D],[I,"Invalid Configuration: Missing Region"]]},Ls=2,i=1e8,Ks=new Int32Array([-1,1,-1,0,30,3,1,4,i+14,2,5,i+14,3,25,6,4,24,7,5,i+1,8,6,9,i+13,7,i+1,10,10,i+1,11,11,i+1,12,12,i+1,13,13,i+1,14,14,i+1,15,15,i+1,16,16,i+1,17,17,i+1,18,18,i+1,19,19,i+1,20,20,i+1,21,21,i+1,22,22,i+1,23,23,i+1,i+2,8,i+11,i+12,4,28,26,9,27,i+10,24,i+8,i+9,8,29,i+7,9,i+6,i+7,3,i+3,31,4,i+4,i+5]),Ms=gs.from(Ks,Ls,Re.conditions,Re.results),js=new ps({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),He=(e,t={})=>js.get(e,()=>hs(Ms,{endpointParams:e,logger:t.logger}));ms.aws=Nt;var zs=(e)=>async(t,s,o)=>{if(!o)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let n=await e(t,s,o),u=ke(s)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!u)throw Error(`getEndpointParameterInstructions() is not defined on '${s.commandName}'`);let a=await Ss(o,{getEndpointParameterInstructions:u},t);return Object.assign(n,a)},Gs=async(e,t,s)=>({operation:ke(t).operation,region:await xe(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),Ys=zs(Gs);function Ue(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,s)=>({signingProperties:{config:t,context:s}})}}function se(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(t,s)=>({signingProperties:{config:t,context:s}})}}function qe(e){return{schemeId:"smithy.api#noAuth"}}var Qs=(e,t,s)=>(n)=>{let a=e(n).properties?.authSchemes;if(!a)return t(n);let g=[];for(let S of a){let{name:p,properties:v={},...A}=S,f=p.toLowerCase();if(p!==f)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${p}' to '${f}'`);let m;if(f==="sigv4a"){m="aws.auth#sigv4a";let Q=a.find((B)=>{let le=B.name.toLowerCase();return le!=="sigv4a"&&le.startsWith("sigv4")});if(Ne.sigv4aDependency()==="none"&&Q)continue}else if(f.startsWith("sigv4"))m="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${f}'`);let k=s[m];if(!k)throw Error(`Could not find HttpAuthOption create function for '${m}'`);let P=k(n);P.schemeId=m,P.signingProperties={...P.signingProperties||{},...A,...v},g.push(P)}return g},Bs=(e)=>{let t=[];switch(e.operation){case"AssumeRoleWithWebIdentity":{t.push(qe()),t.push(se(e));break}default:t.push(Ue(e)),t.push(se(e))}return t},Js=Qs(He,Bs,{"aws.auth#sigv4":Ue,"aws.auth#sigv4a":se,"smithy.api#noAuth":qe}),Xs=(e)=>{let t=Ts(e),s=ks(t);return Object.assign(s,{authSchemePreference:xe(e.authSchemePreference??[])})},Zs=(e)=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"}),en={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},tn="3.997.47",sn={version:tn};class h extends Jt{static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.sts#STSServiceException";constructor(e){super(e);Object.setPrototypeOf(this,h.prototype)}}class U extends h{static shapeId="com.amazonaws.sts#ExpiredTokenException";name="ExpiredTokenException";$fault="client";constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,U.prototype)}}class q extends h{static shapeId="com.amazonaws.sts#MalformedPolicyDocumentException";name="MalformedPolicyDocumentException";$fault="client";constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e});Object.setPrototypeOf(this,q.prototype)}}class V extends h{static shapeId="com.amazonaws.sts#PackedPolicyTooLargeException";name="PackedPolicyTooLargeException";$fault="client";constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e});Object.setPrototypeOf(this,V.prototype)}}class L extends h{static shapeId="com.amazonaws.sts#RegionDisabledException";name="RegionDisabledException";$fault="client";constructor(e){super({name:"RegionDisabledException",$fault:"client",...e});Object.setPrototypeOf(this,L.prototype)}}class K extends h{static shapeId="com.amazonaws.sts#IDPRejectedClaimException";name="IDPRejectedClaimException";$fault="client";constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e});Object.setPrototypeOf(this,K.prototype)}}class M extends h{static shapeId="com.amazonaws.sts#InvalidIdentityTokenException";name="InvalidIdentityTokenException";$fault="client";constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e});Object.setPrototypeOf(this,M.prototype)}}class z extends h{static shapeId="com.amazonaws.sts#IDPCommunicationErrorException";name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e});Object.setPrototypeOf(this,z.prototype)}}var nn="Arn",on="AccessKeyId",rn="AssumeRole",an="AssumedRoleId",cn="AssumeRoleRequest",un="AssumeRoleResponse",ne="AssumedRoleUser",ln="AssumeRoleWithWebIdentity",dn="AssumeRoleWithWebIdentityRequest",gn="AssumeRoleWithWebIdentityResponse",pn="Audience",oe="Credentials",hn="ContextAssertion",Fe="DurationSeconds",mn="Expiration",Sn="ExternalId",vn="ExpiredTokenException",fn="IDPCommunicationErrorException",Pn="IDPRejectedClaimException",yn="InvalidIdentityTokenException",En="Key",An="MalformedPolicyDocumentException",Le="MinimumSessionTokenSize",Me="Policy",je="PolicyArns",In="ProviderArn",wn="ProvidedContexts",Rn="ProvidedContextsListType",Cn="ProvidedContext",_n="PolicyDescriptorType",xn="ProviderId",ze="PackedPolicySize",Tn="PackedPolicyTooLargeException",kn="Provider",Ge="RoleArn",Dn="RegionDisabledException",Ye="RoleSessionName",bn="SecretAccessKey",On="SubjectFromWebIdentityToken",ie="SourceIdentity",$n="SerialNumber",Nn="SessionToken",Qe="SessionTokenSize",Be="SessionTokenUtilization",Wn="Tags",Hn="TokenCode",Un="TransitiveTagKeys",qn="Tag",Fn="Value",Vn="WebIdentityToken",Ln="arn",Kn="accessKeySecretType",w="awsQueryError",R="client",Mn="clientTokenType",C="error",x="httpError",T="message",jn="policyDescriptorListType",Je="smithy.ts.sdk.synthetic.com.amazonaws.sts",zn="tagListType",c="com.amazonaws.sts",Xe=new be(Je),Ze=[-3,Je,"STSServiceException",0,[],[]];Xe.registerError(Ze,h);var E=new be(c),tt=[-3,c,vn,{[w]:["ExpiredTokenException",400],[C]:R,[x]:400},[T],[0]];E.registerError(tt,U);var st=[-3,c,fn,{[w]:["IDPCommunicationError",400],[C]:R,[x]:400},[T],[0]];E.registerError(st,z);var nt=[-3,c,Pn,{[w]:["IDPRejectedClaim",403],[C]:R,[x]:403},[T],[0]];E.registerError(nt,K);var ot=[-3,c,yn,{[w]:["InvalidIdentityToken",400],[C]:R,[x]:400},[T],[0]];E.registerError(ot,M);var rt=[-3,c,An,{[w]:["MalformedPolicyDocument",400],[C]:R,[x]:400},[T],[0]];E.registerError(rt,q);var it=[-3,c,Tn,{[w]:["PackedPolicyTooLarge",400],[C]:R,[x]:400},[T],[0]];E.registerError(it,V);var ct=[-3,c,Dn,{[w]:["RegionDisabledException",403],[C]:R,[x]:403},[T],[0]];E.registerError(ct,L);var ut=[Xe,E],Gn=[0,c,Kn,8,0],Yn=[0,c,Mn,8,0],ae=[3,c,ne,0,[an,nn],[0,0],2],lt=[3,c,cn,0,[Ge,Ye,je,Me,Fe,Wn,Un,Sn,$n,Hn,ie,wn,Le],[0,0,()=>vt,0,1,()=>Bn,64,0,0,0,0,()=>Qn,1],2],dt=[3,c,un,0,[oe,ne,ze,ie,Be,Qe],[[()=>ce,0],()=>ae,1,0,1,1]],gt=[3,c,dn,0,[Ge,Ye,Vn,xn,je,Me,Fe,Le],[0,0,[()=>Yn,0],0,()=>vt,0,1,1],3],pt=[3,c,gn,0,[oe,On,ne,ze,kn,pn,ie,Be,Qe],[[()=>ce,0],0,()=>ae,1,0,0,0,1,1]],ce=[3,c,oe,0,[on,bn,Nn,mn],[0,[()=>Gn,0],0,4],4],ht=[3,c,_n,0,[Ln],[0]],mt=[3,c,Cn,0,[In,hn],[0,0]],St=[3,c,qn,0,[En,Fn],[0,0],2],vt=[1,c,jn,0,()=>ht],Qn=[1,c,Rn,0,()=>mt],Bn=[1,c,zn,0,()=>St],Pt=[9,c,rn,0,()=>lt,()=>dt],yt=[9,c,ln,0,()=>gt,()=>pt],Jn=(e)=>({apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??Ws,base64Encoder:e?.base64Encoder??Ns,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??He,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Js,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new Oe},{schemeId:"aws.auth#sigv4a",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4a"),signer:new $e},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new _e}],logger:e?.logger??new Xt,protocol:e?.protocol??Fs,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:ut,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",sha256:e?.sha256??Vs,signerConstructor:e?.signerConstructor??Ne,urlParser:e?.urlParser??Ps,utf8Decoder:e?.utf8Decoder??$s,utf8Encoder:e?.utf8Encoder??Os}),Xn=(e)=>{Zt(process.version);let t=is(e),s=()=>t().then(es),o=Jn(e);Wt(process.version);let n={profile:e?.profile,logger:o.logger};return{...o,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??y(bs,n),bodyLengthChecker:e?.bodyLengthChecker??Hs,defaultUserAgentProvider:e?.defaultUserAgentProvider??Ht({serviceId:o.serviceId,clientVersion:sn.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(u)=>u.getIdentityProvider("aws.auth#sigv4")||(async(a)=>await e.credentialDefaultProvider(a?.__config||{})()),signer:new Oe},{schemeId:"aws.auth#sigv4a",identityProvider:(u)=>u.getIdentityProvider("aws.auth#sigv4a"),signer:new $e},{schemeId:"smithy.api#noAuth",identityProvider:(u)=>u.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new _e}],maxAttempts:e?.maxAttempts??y(Rs,e),region:e?.region??y(us,{...ls,...n}),requestHandler:qs.create(e?.requestHandler??s),retryMode:e?.retryMode??y({...ws,default:async()=>(await s()).retryMode||Is},e),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??y(Ds,n),streamCollector:e?.streamCollector??Us,useDualstackEndpoint:e?.useDualstackEndpoint??y(cs,n),useFipsEndpoint:e?.useFipsEndpoint??y(as,n),userAgentAppId:e?.userAgentAppId??y(Ut,n)}},Zn=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:s,credentials:o}=e;return{setHttpAuthScheme(n){let u=t.findIndex((a)=>a.schemeId===n.schemeId);if(u===-1)t.push(n);else t.splice(u,1,n)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(n){s=n},httpAuthSchemeProvider(){return s},setCredentials(n){o=n},credentials(){return o}}},eo=(e)=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),to=(e,t)=>{let s=Object.assign(qt(e),ts(e),ys(e),Zn(e));return t.forEach((o)=>o.configure(s)),Object.assign(e,Ft(s),ss(s),Es(s),eo(s))};class H extends De{config;constructor(...[e]){let t=Xn(e||{});super(t);this.initConfig=t;let s=Zs(t),o=Vt(s),n=Cs(o),u=ds(n),a=Lt(u),g=vs(a),S=Xs(g),p=to(S,e?.extensions||[]);this.config=p,this.middlewareStack.use(xs(this.config)),this.middlewareStack.use(Kt(this.config)),this.middlewareStack.use(_s(this.config)),this.middlewareStack.use(As(this.config)),this.middlewareStack.use(Mt(this.config)),this.middlewareStack.use(jt(this.config)),this.middlewareStack.use(zt(this.config)),this.middlewareStack.use(Yt(this.config,{httpAuthSchemeParametersProvider:Ys,identityProviderConfigProvider:async(v)=>new Qt({"aws.auth#sigv4":v.credentials,"aws.auth#sigv4a":v.credentials})})),this.middlewareStack.use(Bt(this.config))}destroy(){super.destroy()}}var Et=ns(en,"AWSSecurityTokenServiceV20110615","STSClient",fs),At={},It=(e,t,s,o)=>[];class G extends Et(At,It,"AssumeRole",Pt){}class Y extends Et(At,It,"AssumeRoleWithWebIdentity",yt){}var so={AssumeRoleCommand:G,AssumeRoleWithWebIdentityCommand:Y};class ue extends H{}os(so,ue);var wt=(e)=>{if(typeof e?.Arn==="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}return},Rt=async(e,t,s,o={})=>{let n=typeof e==="function"?await e():e,u=typeof t==="function"?await t():t,a="",g=n??u??(a=await Gt(o)());return s?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${n} (credential provider clientConfig)`,`${u} (contextual client)`,`${a} (STS default: AWS_REGION, profile region, or us-east-1)`),g},no=(e,t)=>{let s,o;return async(n,u)=>{if(o=n,!s){let{logger:v=e?.parentClientConfig?.logger,profile:A=e?.parentClientConfig?.profile,region:f,requestHandler:m=e?.parentClientConfig?.requestHandler,credentialProviderLogger:k,userAgentAppId:P=e?.parentClientConfig?.userAgentAppId}=e,Q=await Rt(f,e?.parentClientConfig?.region,k,{logger:v,profile:A}),B=!Ct(m);s=new t({...e,userAgentAppId:P,profile:A,credentialDefaultProvider:()=>async()=>o,region:Q,requestHandler:B?m:void 0,logger:v})}let{Credentials:a,AssumedRoleUser:g}=await s.send(new G(u));if(!a||!a.AccessKeyId||!a.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${u.RoleArn}`);let S=wt(g),p={accessKeyId:a.AccessKeyId,secretAccessKey:a.SecretAccessKey,sessionToken:a.SessionToken,expiration:a.Expiration,...a.CredentialScope&&{credentialScope:a.CredentialScope},...S&&{accountId:S}};return ee(p,"CREDENTIALS_STS_ASSUME_ROLE","i"),p}},oo=(e,t)=>{let s;return async(o)=>{if(!s){let{logger:S=e?.parentClientConfig?.logger,profile:p=e?.parentClientConfig?.profile,region:v,requestHandler:A=e?.parentClientConfig?.requestHandler,credentialProviderLogger:f,userAgentAppId:m=e?.parentClientConfig?.userAgentAppId}=e,k=await Rt(v,e?.parentClientConfig?.region,f,{logger:S,profile:p}),P=!Ct(A);s=new t({...e,userAgentAppId:m,profile:p,region:k,requestHandler:P?A:void 0,logger:S})}let{Credentials:n,AssumedRoleUser:u}=await s.send(new Y(o));if(!n||!n.AccessKeyId||!n.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${o.RoleArn}`);let a=wt(u),g={accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,sessionToken:n.SessionToken,expiration:n.Expiration,...n.CredentialScope&&{credentialScope:n.CredentialScope},...a&&{accountId:a}};if(a)ee(g,"RESOLVED_ACCOUNT_ID","T");return ee(g,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),g}},Ct=(e)=>e?.metadata?.handlerProtocol==="h2",_t=(e,t)=>{if(!t)return e;else return class extends e{constructor(o){super(o);for(let n of t)this.middlewareStack.use(n)}}},xt=(e={},t)=>no(e,_t(H,t)),Tt=(e={},t)=>oo(e,_t(H,t)),ro=(e)=>(t)=>e({roleAssumer:xt(t),roleAssumerWithWebIdentity:Tt(t),...t});var co=Pt,uo=G,lo=lt,go=dt,po=yt,ho=Y,mo=gt,So=pt,vo=ae,fo=ce,Po=U,yo=tt,Eo=z,Ao=st,Io=K,wo=nt,Ro=M,Co=ot,_o=q,xo=rt,To=V,ko=it,Do=ht,bo=mt,Oo=L,$o=ct,No=ue,Wo=H,Ho=h,Uo=Ze,qo=St,Fo=ro,Vo=ut,Lo=xt,Ko=Tt;export{io as $Command,ao as __Client,co as AssumeRole$,uo as AssumeRoleCommand,lo as AssumeRoleRequest$,go as AssumeRoleResponse$,po as AssumeRoleWithWebIdentity$,ho as AssumeRoleWithWebIdentityCommand,mo as AssumeRoleWithWebIdentityRequest$,So as AssumeRoleWithWebIdentityResponse$,vo as AssumedRoleUser$,fo as Credentials$,Po as ExpiredTokenException,yo as ExpiredTokenException$,Eo as IDPCommunicationErrorException,Ao as IDPCommunicationErrorException$,Io as IDPRejectedClaimException,wo as IDPRejectedClaimException$,Ro as InvalidIdentityTokenException,Co as InvalidIdentityTokenException$,_o as MalformedPolicyDocumentException,xo as MalformedPolicyDocumentException$,To as PackedPolicyTooLargeException,ko as PackedPolicyTooLargeException$,Do as PolicyDescriptorType$,bo as ProvidedContext$,Oo as RegionDisabledException,$o as RegionDisabledException$,No as STS,Wo as STSClient,Ho as STSServiceException,Uo as STSServiceException$,qo as Tag$,Fo as decorateDefaultCredentialProvider,Vo as errorTypeRegistries,Lo as getDefaultRoleAssumer,Ko as getDefaultRoleAssumerWithWebIdentity};
package/chunk-6ka4m0ax.js DELETED
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Ve,ft}from"./chunk-mmm1jh57.js";import{Ke}from"./chunk-akf8x16s.js";import{et,Ce,F}from"./chunk-sj2q2amm.js";import{Te,te,_,Pe,re,at,j}from"./chunk-0ecs4nme.js";var{awsEndpointFunctions:ve,emitWarningIfUnsupportedVersion:Ae,createDefaultUserAgentProvider:ye,NODE_APP_ID_CONFIG_OPTIONS:Oe,getAwsRegionExtensionConfiguration:we,resolveAwsRegionExtensionConfiguration:De,resolveUserAgentConfig:Re,resolveHostHeaderConfig:ke,getUserAgentPlugin:$e,getHostHeaderPlugin:Ne,getLoggerPlugin:be,getRecursionDetectionPlugin:Ue}=F(),{NoAuthSigner:Fe,getHttpAuthSchemeEndpointRuleSetPlugin:qe,DefaultIdentityProviderConfig:ze,getHttpSigningPlugin:He}=Ce(),{normalizeProvider:V,getSmithyContext:Ge,ServiceException:Me,NoOpLogger:je,emitWarningIfUnsupportedVersion:Le,loadConfigsForDefaultMode:Be,getDefaultExtensionConfiguration:We,resolveDefaultRuntimeConfig:Ye,Client:L,makeBuilder:Je,createAggregatedClient:Xe}=te(),{Command:Qe}=te();var Kr=Qe,Vr=L;var{resolveDefaultsModeConfig:Ze,loadConfig:h,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS:tt,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS:rt,NODE_REGION_CONFIG_OPTIONS:ot,NODE_REGION_CONFIG_FILE_OPTIONS:nt,resolveRegionConfig:st}=_(),{BinaryDecisionDiagram:it,EndpointCache:ct,decideEndpoint:dt,customEndpointFunctions:pt,resolveEndpointConfig:ut,getEndpointPlugin:lt}=Pe(),{parseUrl:ht,getHttpHandlerExtensionConfiguration:Et,resolveHttpHandlerRuntimeConfig:gt,getContentLengthPlugin:_t}=j(),{DEFAULT_RETRY_MODE:mt,NODE_RETRY_MODE_CONFIG_OPTIONS:xt,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:St,resolveRetryConfig:It,getRetryPlugin:vt}=et(),{TypeRegistry:B,getSchemaSerdePlugin:Pt}=Te(),{resolveAwsSdkSigV4Config:Ct,AwsSdkSigV4Signer:At,NODE_AUTH_SCHEME_PREFERENCE_OPTIONS:yt}=Ve(),{toUtf8:Tt,fromUtf8:Ot,toBase64:wt,fromBase64:Dt,calculateBodyLength:Rt}=re(),{streamCollector:kt,NodeHttpHandler:$t}=Ke(),{AwsRestJsonProtocol:Nt}=ft(),{Sha256:bt}=at(),Ut=async(e,t,n)=>({operation:Ge(t).operation,region:await V(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function Ft(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(t,n)=>({signingProperties:{config:t,context:n}})}}function qt(e){return{schemeId:"smithy.api#noAuth"}}var zt=(e)=>{let t=[];switch(e.operation){case"CreateToken":{t.push(qt());break}default:t.push(Ft(e))}return t},Ht=(e)=>{let t=Ct(e);return Object.assign(t,{authSchemePreference:V(e.authSchemePreference??[])})},Gt=(e)=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"}),Mt={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},jt="3.997.47",Kt={version:jt},m="ref",E=-1,S=!0,H="isSet",W="PartitionResult",f="booleanEquals",N="getAttr",G={[m]:"Endpoint"},b={[m]:W},g={},M=[{[m]:"Region"}],K={conditions:[[H,[G]],[H,M],["aws.partition",M,W],[f,[{[m]:"UseFIPS"},S]],[f,[{[m]:"UseDualStack"},S]],[f,[{fn:N,argv:[b,"supportsDualStack"]},S]],[f,[{fn:N,argv:[b,"supportsFIPS"]},S]],["stringEquals",[{fn:N,argv:[b,"name"]},"aws-us-gov"]]],results:[[E],[E,"Invalid Configuration: FIPS and custom endpoint are not supported"],[E,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[G,g],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[E,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",g],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",g],[E,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[E,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",g],[E,"Invalid Configuration: Missing Region"]]},Vt=2,c=1e8,Lt=new Int32Array([-1,1,-1,0,13,3,1,4,c+12,2,5,c+12,3,8,6,4,7,c+11,5,c+9,c+10,4,11,9,6,10,c+8,7,c+6,c+7,5,12,c+5,6,c+4,c+5,3,c+1,14,4,c+2,c+3]),Bt=it.from(Lt,Vt,K.conditions,K.results),Wt=new ct({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Yt=(e,t={})=>Wt.get(e,()=>dt(Bt,{endpointParams:e,logger:t.logger}));pt.aws=ve;class i extends Me{static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc#SSOOIDCServiceException";constructor(e){super(e);Object.setPrototypeOf(this,i.prototype)}}class I extends i{static shapeId="com.amazonaws.ssooidc#AccessDeniedException";name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,I.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}class v extends i{static shapeId="com.amazonaws.ssooidc#AuthorizationPendingException";name="AuthorizationPendingException";$fault="client";error;error_description;constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});Object.setPrototypeOf(this,v.prototype),this.error=e.error,this.error_description=e.error_description}}class P extends i{static shapeId="com.amazonaws.ssooidc#ExpiredTokenException";name="ExpiredTokenException";$fault="client";error;error_description;constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,P.prototype),this.error=e.error,this.error_description=e.error_description}}class C extends i{static shapeId="com.amazonaws.ssooidc#InternalServerException";name="InternalServerException";$fault="server";error;error_description;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,C.prototype),this.error=e.error,this.error_description=e.error_description}}class A extends i{static shapeId="com.amazonaws.ssooidc#InvalidClientException";name="InvalidClientException";$fault="client";error;error_description;constructor(e){super({name:"InvalidClientException",$fault:"client",...e});Object.setPrototypeOf(this,A.prototype),this.error=e.error,this.error_description=e.error_description}}class y extends i{static shapeId="com.amazonaws.ssooidc#InvalidGrantException";name="InvalidGrantException";$fault="client";error;error_description;constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});Object.setPrototypeOf(this,y.prototype),this.error=e.error,this.error_description=e.error_description}}class T extends i{static shapeId="com.amazonaws.ssooidc#InvalidRequestException";name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,T.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}class O extends i{static shapeId="com.amazonaws.ssooidc#InvalidScopeException";name="InvalidScopeException";$fault="client";error;error_description;constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});Object.setPrototypeOf(this,O.prototype),this.error=e.error,this.error_description=e.error_description}}class w extends i{static shapeId="com.amazonaws.ssooidc#SlowDownException";name="SlowDownException";$fault="client";error;error_description;constructor(e){super({name:"SlowDownException",$fault:"client",...e});Object.setPrototypeOf(this,w.prototype),this.error=e.error,this.error_description=e.error_description}}class D extends i{static shapeId="com.amazonaws.ssooidc#UnauthorizedClientException";name="UnauthorizedClientException";$fault="client";error;error_description;constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});Object.setPrototypeOf(this,D.prototype),this.error=e.error,this.error_description=e.error_description}}class R extends i{static shapeId="com.amazonaws.ssooidc#UnsupportedGrantTypeException";name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});Object.setPrototypeOf(this,R.prototype),this.error=e.error,this.error_description=e.error_description}}var Jt="AccessDeniedException",Xt="AuthorizationPendingException",Qt="AccessToken",Zt="ClientSecret",er="CreateToken",tr="CreateTokenRequest",rr="CreateTokenResponse",or="CodeVerifier",nr="ExpiredTokenException",sr="InvalidClientException",ir="InvalidGrantException",cr="InvalidRequestException",ar="InternalServerException",dr="InvalidScopeException",pr="IdToken",ur="RefreshToken",lr="SlowDownException",hr="UnauthorizedClientException",Er="UnsupportedGrantTypeException",gr="accessToken",l="client",_r="clientId",mr="clientSecret",xr="codeVerifier",Sr="code",fr="deviceCode",r="error",Ir="expiresIn",p="error_description",vr="grantType",Pr="http",u="httpError",Cr="idToken",Y="reason",J="refreshToken",Ar="redirectUri",X="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",yr="scope",Tr="server",Or="tokenType",o="com.amazonaws.ssooidc",Q=new B(X),Z=[-3,X,"SSOOIDCServiceException",0,[],[]];Q.registerError(Z,i);var a=new B(o),ee=[-3,o,Jt,{[r]:l,[u]:400},[r,Y,p],[0,0,0]];a.registerError(ee,I);var oe=[-3,o,Xt,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(oe,v);var ne=[-3,o,nr,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(ne,P);var se=[-3,o,ar,{[r]:Tr,[u]:500},[r,p],[0,0]];a.registerError(se,C);var ie=[-3,o,sr,{[r]:l,[u]:401},[r,p],[0,0]];a.registerError(ie,A);var ce=[-3,o,ir,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(ce,y);var ae=[-3,o,cr,{[r]:l,[u]:400},[r,Y,p],[0,0,0]];a.registerError(ae,T);var de=[-3,o,dr,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(de,O);var pe=[-3,o,lr,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(pe,w);var ue=[-3,o,hr,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(ue,D);var le=[-3,o,Er,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(le,R);var he=[Q,a],wr=[0,o,Qt,8,0],Dr=[0,o,Zt,8,0],Rr=[0,o,or,8,0],kr=[0,o,pr,8,0],Ee=[0,o,ur,8,0],ge=[3,o,tr,0,[_r,mr,vr,fr,Sr,J,yr,Ar,xr],[0,[()=>Dr,0],0,0,0,[()=>Ee,0],64,0,[()=>Rr,0]],3],_e=[3,o,rr,0,[gr,Or,Ir,J,Cr],[[()=>wr,0],0,1,[()=>Ee,0],[()=>kr,0]]],me=[9,o,er,{[Pr]:["POST","/token",200]},()=>ge,()=>_e],$r=(e)=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??Dt,base64Encoder:e?.base64Encoder??wt,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Yt,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??zt,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new At},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Fe}],logger:e?.logger??new je,protocol:e?.protocol??Nt,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:he,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",sha256:e?.sha256??bt,urlParser:e?.urlParser??ht,utf8Decoder:e?.utf8Decoder??Ot,utf8Encoder:e?.utf8Encoder??Tt}),Nr=(e)=>{Le(process.version);let t=Ze(e),n=()=>t().then(Be),d=$r(e);Ae(process.version);let s={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??h(yt,s),bodyLengthChecker:e?.bodyLengthChecker??Rt,defaultUserAgentProvider:e?.defaultUserAgentProvider??ye({serviceId:d.serviceId,clientVersion:Kt.version}),maxAttempts:e?.maxAttempts??h(St,e),region:e?.region??h(ot,{...nt,...s}),requestHandler:$t.create(e?.requestHandler??n),retryMode:e?.retryMode??h({...xt,default:async()=>(await n()).retryMode||mt},e),streamCollector:e?.streamCollector??kt,useDualstackEndpoint:e?.useDualstackEndpoint??h(rt,s),useFipsEndpoint:e?.useFipsEndpoint??h(tt,s),userAgentAppId:e?.userAgentAppId??h(Oe,s)}},br=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:n,credentials:d}=e;return{setHttpAuthScheme(s){let x=t.findIndex((k)=>k.schemeId===s.schemeId);if(x===-1)t.push(s);else t.splice(x,1,s)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(s){n=s},httpAuthSchemeProvider(){return n},setCredentials(s){d=s},credentials(){return d}}},Ur=(e)=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),Fr=(e,t)=>{let n=Object.assign(we(e),We(e),Et(e),br(e));return t.forEach((d)=>d.configure(n)),Object.assign(e,De(n),Ye(n),gt(n),Ur(n))};class U extends L{config;constructor(...[e]){let t=Nr(e||{});super(t);this.initConfig=t;let n=Gt(t),d=Re(n),s=It(d),x=st(s),k=ke(x),xe=ut(k),Se=Ht(xe),fe=Fr(Se,e?.extensions||[]);this.config=fe,this.middlewareStack.use(Pt(this.config)),this.middlewareStack.use($e(this.config)),this.middlewareStack.use(vt(this.config)),this.middlewareStack.use(_t(this.config)),this.middlewareStack.use(Ne(this.config)),this.middlewareStack.use(be(this.config)),this.middlewareStack.use(Ue(this.config)),this.middlewareStack.use(qe(this.config,{httpAuthSchemeParametersProvider:Ut,identityProviderConfigProvider:async(Ie)=>new ze({"aws.auth#sigv4":Ie.credentials})})),this.middlewareStack.use(He(this.config))}destroy(){super.destroy()}}var qr=Je(Mt,"AWSSSOOIDCService","SSOOIDCClient",lt),zr={},Hr=(e,t,n,d)=>[];class q extends qr(zr,Hr,"CreateToken",me){}var Gr={CreateTokenCommand:q};class z extends U{}Xe(Gr,z);var Mr={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},jr={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};var Lr=I,Br=ee,Wr=Mr,Yr=v,Jr=oe,Xr=me,Qr=q,Zr=ge,eo=_e,to=P,ro=ne,oo=C,no=se,so=A,io=ie,co=y,ao=ce,po=T,uo=ae,lo=jr,ho=O,Eo=de,go=z,_o=U,mo=i,xo=Z,So=w,fo=pe,Io=D,vo=ue,Po=R,Co=le,Ao=he;export{Kr as $Command,Vr as __Client,Lr as AccessDeniedException,Br as AccessDeniedException$,Wr as AccessDeniedExceptionReason,Yr as AuthorizationPendingException,Jr as AuthorizationPendingException$,Xr as CreateToken$,Qr as CreateTokenCommand,Zr as CreateTokenRequest$,eo as CreateTokenResponse$,to as ExpiredTokenException,ro as ExpiredTokenException$,oo as InternalServerException,no as InternalServerException$,so as InvalidClientException,io as InvalidClientException$,co as InvalidGrantException,ao as InvalidGrantException$,po as InvalidRequestException,uo as InvalidRequestException$,lo as InvalidRequestExceptionReason,ho as InvalidScopeException,Eo as InvalidScopeException$,go as SSOOIDC,_o as SSOOIDCClient,mo as SSOOIDCServiceException,xo as SSOOIDCServiceException$,So as SlowDownException,fo as SlowDownException$,Io as UnauthorizedClientException,vo as UnauthorizedClientException$,Po as UnsupportedGrantTypeException,Co as UnsupportedGrantTypeException$,Ao as errorTypeRegistries};
package/chunk-6q0ak8d1.js DELETED
@@ -1,12 +0,0 @@
1
- // @bun
2
- import{z}from"./chunk-m1w7f6d3.js";import{ct}from"./chunk-drbd6485.js";import{we,an,ln,fe,br,xe}from"./chunk-z6v2pcc0.js";import{x}from"./chunk-chfzk1fx.js";import{G,$e,le,Ee,ee}from"./chunk-n0qwj5gm.js";function E(a,o){let l={v:1,id:a};if(o)l.phase=o;return JSON.stringify(l)}function N(a){if(!a)return;if(a.startsWith("{"))try{let o=JSON.parse(a);if(o.v===1&&typeof o.id==="string"){if(o.phase==="commentary"||o.phase==="final_answer")return{id:o.id,phase:o.phase};return{id:o.id}}}catch{}return{id:a}}function W(a,o){let l=o.filter((c)=>c.type==="text").map((c)=>c.text).join(`
3
- `),d=o.filter((c)=>c.type==="image"),u=l.length>0;if(d.length===0||!a.input.includes("image"))return x(u?l:d.length>0?"(see attached image)":"(no tool output)");let p=[];if(u)p.push({type:"input_text",text:x(l)});for(let c of d)p.push({type:"input_image",detail:"auto",image_url:`data:${c.mimeType};base64,${c.data}`});return p}function St(a,o,l,d){let u=le(o,d?.supportsMidConvoSystemMessages),p=[],c=(n)=>{let s=n.replace(/[^a-zA-Z0-9_-]/g,"_");return(s.length>64?s.slice(0,64):s).replace(/_+$/,"")},b=(n)=>{let s=`fc_${ct(n)}`;return s.length>64?s.slice(0,64):s},k=(n,s,i)=>{if(!l.has(a.provider))return c(n);if(!n.includes("|"))return c(n);let[r,g]=n.split("|"),h=c(r),y=i.provider!==a.provider||i.api!==a.api?b(g):c(g);if(!y.startsWith("fc_"))y=c(`fc_${y}`);return`${h}|${y}`},m=xe(u.messages,a,k),I=Ee(u.messages,(d?.supportsAdditionalTools??!1)||(d?.supportsToolSearch??!1)),v=(n,s)=>{let i=I.anchorsAdditions?n.toolsAdded??[]:[];if(i.length===0)return;if(d?.supportsAdditionalTools){p.push({type:"additional_tools",role:"developer",tools:lt(i,d.toolOptions)});return}if(!d?.supportsToolSearch)return;let r=i.map((h)=>h.name),g=`pi_tool_load_${ct(`${s}:${r.join(",")}`)}`;p.push({type:"tool_search_call",call_id:g,execution:"client",status:"completed",arguments:{query:r.join(" "),limit:r.length}}),p.push({type:"tool_search_output",call_id:g,execution:"client",status:"completed",tools:lt(i,{...d.toolOptions,toolSearchResult:!0})})},C=d?.includeSystemPrompt??!0,w=a.compat,M=a.reasoning&&w?.supportsDeveloperRole!==!1?"developer":"system",t=0,e=0;for(let n of m){let s=e++===0&&n.role==="system";if(n.role==="system"){if(!s)v(n,`system:${t}`);if(!s||C){let i=s?G(n):$e(n);if(i.length>0)p.push({role:M,content:x(i)})}}else if(n.role==="user")if(typeof n.content==="string")p.push({role:"user",content:[{type:"input_text",text:x(n.content)}]});else{let i=n.content.map((r)=>{if(r.type==="text")return{type:"input_text",text:x(r.text)};return{type:"input_image",detail:"auto",image_url:`data:${r.mimeType};base64,${r.data}`}});if(i.length===0)continue;p.push({role:"user",content:i})}else if(n.role==="assistant"){let i=[],r=n,g=r.provider===a.provider&&r.api===a.api,h=g&&r.model===a.id,P=g&&r.model!==a.id,y=0;for(let S of n.content)if(S.type==="thinking"){if(S.thinkingSignature){let f=JSON.parse(S.thinkingSignature);i.push(f)}}else if(S.type==="text"){let f=S,T=N(f.textSignature),J=y===0?`msg_pi_${t}`:`msg_pi_${t}_${y}`;y++;let _=T?.id;if(!_)_=J;else if(_.length>64)_=`msg_${ct(_)}`;i.push({type:"message",role:"assistant",content:[{type:"output_text",text:x(f.text),annotations:[]}],status:"completed",id:_,phase:T?.phase})}else if(S.type==="toolCall"){let f=S,[T,J]=f.id.split("|"),_=d?.grammarToolInputProperties?.get(f.name),R=J,j=_===void 0?"fc_":"ctc_";if(P||!R?.startsWith(j))R=void 0;if(_!==void 0)i.push({type:"custom_tool_call",id:R,call_id:T,name:f.name,input:x(an(f.name,f.arguments,_)),...h&&f.namespace!==void 0?{namespace:f.namespace}:{}});else i.push({type:"function_call",id:R,call_id:T,name:f.name,arguments:JSON.stringify(f.arguments),...h&&f.namespace!==void 0?{namespace:f.namespace}:{}})}if(i.length===0)continue;p.push(...i)}else if(n.role==="toolResult"){let[i]=n.toolCallId.split("|"),r=W(a,n.content);if(d?.grammarToolInputProperties?.has(n.toolName))p.push({type:"custom_tool_call_output",call_id:i,output:r});else p.push({type:"function_call_output",call_id:i,output:r})}if(!s)t++}return p}function lt(a,o){let l=o?.strict===void 0?!1:o.strict,d=o?.supportsStrictMode??!0,u=o?.supportsOpenAIGrammarTools??!1;return a.map((p)=>{let c=br(p,u);if(c)return{type:"custom",name:p.name,description:p.description,format:{type:"grammar",syntax:c.format,definition:c.definition},...o?.toolSearchResult?{defer_loading:!0}:{}};let k=fe(p,d)??l,m={type:"function",name:p.name,description:p.description,parameters:we(p,k===!0),...o?.toolSearchResult?{defer_loading:!0}:{}};if(d)m.strict=k;return m})}function A(a){let o=a.customInput?.property;if(o===void 0)return"";let l=a.arguments[o];return typeof l==="string"?l:""}function O(a,o,l){let d=a.customInput;if(!d)return;let u=ln(d.jsonBuffer,d.property,o,l);return a.arguments={[d.property]:o},u}async function wt(a,o,l,d,u){let p=!1,c=new Map,b=new Map,k=(t)=>{if(t.type==="message"&&t.phase==="final_answer")o.stopReason="stop"},m=(t,e)=>{let n=c.get(t);return n?.type===e?n:void 0},I=(t,e)=>{if(e===void 0)return;l.push({type:"toolcall_delta",contentIndex:t.contentIndex,delta:e,partial:o})},v=(t,e)=>{if(e.type==="reasoning"){let n={type:"thinking",thinking:""};o.content.push(n);let s={type:"thinking",block:n,contentIndex:o.content.length-1};return c.set(t,s),l.push({type:"thinking_start",contentIndex:s.contentIndex,partial:o}),s}if(e.type==="message"){k(e);let n={type:"text",text:""};o.content.push(n);let s={type:"text",block:n,contentIndex:o.content.length-1};return c.set(t,s),l.push({type:"text_start",contentIndex:s.contentIndex,partial:o}),s}if(e.type==="function_call"){let n={type:"toolCall",id:`${e.call_id}|${e.id}`,name:e.name,arguments:{},...e.namespace!==void 0?{namespace:e.namespace}:{},partialJson:e.arguments||""};o.content.push(n);let s={type:"toolCall",block:n,contentIndex:o.content.length-1};return c.set(t,s),l.push({type:"toolcall_start",contentIndex:s.contentIndex,partial:o}),s}if(e.type==="custom_tool_call"){let n=u?.grammarToolInputProperties?.get(e.name)??"input",s=e.input||"",i={type:"toolCall",id:`${e.call_id}|${e.id}`,name:e.name,arguments:{[n]:s},...e.namespace!==void 0?{namespace:e.namespace}:{},customInput:{property:n,jsonBuffer:{input:"",started:!1,closed:!1}}};o.content.push(i);let r={type:"toolCall",block:i,contentIndex:o.content.length-1};return c.set(t,r),l.push({type:"toolcall_start",contentIndex:r.contentIndex,partial:o}),r}return},C=(t,e)=>c.get(t)??v(t,e),w=(t)=>{for(let e of t){if(e.type!=="reasoning"||!e.encrypted_content)continue;let n=b.get(e.id);if(!n?.thinkingSignature)continue;let s=JSON.parse(n.thinkingSignature);if(s.encrypted_content)continue;n.thinkingSignature=JSON.stringify({...s,encrypted_content:e.encrypted_content})}},M=(t)=>{if(p=!0,w(t.output??[]),t?.id)o.responseId=t.id;if(t?.usage){let r=t.usage.input_tokens_details,g=r?.cached_tokens||0,h=r?.cache_write_tokens||0;o.usage={input:Math.max(0,(t.usage.input_tokens||0)-g-h),output:t.usage.output_tokens||0,cacheRead:g,cacheWrite:h,reasoning:t.usage.output_tokens_details?.reasoning_tokens||0,totalTokens:t.usage.total_tokens||0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}}}if(ee(d,o.usage),u?.applyServiceTierPricing){let r=u.resolveServiceTier?u.resolveServiceTier(t?.service_tier,u.serviceTier):t?.service_tier??u.serviceTier;u.applyServiceTierPricing(o.usage,r)}let e=t?.status,n=t?.incomplete_details,s=typeof n?.reason==="string"?n.reason:void 0;o.rawStopReason=s?`${e}.${s}`:e;let i=B(e,s);if(o.stopReason=i.stopReason,i.errorMessage===void 0)delete o.errorMessage;else o.errorMessage=i.errorMessage;if(o.content.some((r)=>r.type==="toolCall")&&o.stopReason==="stop")o.stopReason="toolUse"};for await(let t of a)if(await u?.onProviderStreamEvent?.(t,d),t.type==="response.created")o.responseId=t.response.id;else if(t.type==="response.output_item.added")v(t.output_index,t.item);else if(t.type==="response.reasoning_summary_text.delta"){let e=m(t.output_index,"thinking");if(!e)continue;e.block.thinking+=t.delta,l.push({type:"thinking_delta",contentIndex:e.contentIndex,delta:t.delta,partial:o})}else if(t.type==="response.reasoning_summary_part.done"){let e=m(t.output_index,"thinking");if(!e)continue;e.block.thinking+=`
4
-
5
- `,l.push({type:"thinking_delta",contentIndex:e.contentIndex,delta:`
6
-
7
- `,partial:o})}else if(t.type==="response.reasoning_text.delta"){let e=m(t.output_index,"thinking");if(!e)continue;e.block.thinking+=t.delta,l.push({type:"thinking_delta",contentIndex:e.contentIndex,delta:t.delta,partial:o})}else if(t.type==="response.output_text.delta"){let e=m(t.output_index,"text");if(!e)continue;e.block.text+=t.delta,l.push({type:"text_delta",contentIndex:e.contentIndex,delta:t.delta,partial:o})}else if(t.type==="response.refusal.delta"){let e=m(t.output_index,"text");if(!e)continue;e.block.text+=t.delta,l.push({type:"text_delta",contentIndex:e.contentIndex,delta:t.delta,partial:o})}else if(t.type==="response.function_call_arguments.delta"){let e=m(t.output_index,"toolCall");if(!e||e.block.partialJson===void 0)continue;e.block.partialJson+=t.delta,e.block.arguments=z(e.block.partialJson),I(e,t.delta)}else if(t.type==="response.function_call_arguments.done"){let e=m(t.output_index,"toolCall");if(!e||e.block.partialJson===void 0)continue;let n=e.block.partialJson;if(e.block.partialJson=t.arguments,e.block.arguments=z(e.block.partialJson),t.arguments.startsWith(n)){let s=t.arguments.slice(n.length);if(s.length>0)I(e,s)}}else if(t.type==="response.custom_tool_call_input.delta"){let e=m(t.output_index,"toolCall");if(!e||!e.block.customInput)continue;I(e,O(e.block,A(e.block)+t.delta,!1))}else if(t.type==="response.custom_tool_call_input.done"){let e=m(t.output_index,"toolCall");if(!e||!e.block.customInput)continue;I(e,O(e.block,t.input,!0))}else if(t.type==="response.output_item.done"){let e=t.item;k(e);let n=C(t.output_index,e);if(e.type==="reasoning"&&n?.type==="thinking"){let s=e.summary?.map((r)=>r.text).join(`
8
-
9
- `)||"",i=e.content?.map((r)=>r.text).join(`
10
-
11
- `)||"";n.block.thinking=s||i||n.block.thinking,n.block.thinkingSignature=JSON.stringify(e),b.set(e.id,n.block),l.push({type:"thinking_end",contentIndex:n.contentIndex,content:n.block.thinking,partial:o}),c.delete(t.output_index)}else if(e.type==="message"&&n?.type==="text")n.block.text=e.content?.map((s)=>s.type==="output_text"?s.text:s.refusal).join("")||"",n.block.textSignature=E(e.id,e.phase??void 0),l.push({type:"text_end",contentIndex:n.contentIndex,content:n.block.text,partial:o}),c.delete(t.output_index);else if(e.type==="function_call"&&n?.type==="toolCall"&&n.block.partialJson!==void 0){if(n.block.arguments=z(e.arguments||n.block.partialJson||"{}"),e.namespace!==void 0)n.block.namespace=e.namespace;delete n.block.partialJson,l.push({type:"toolcall_end",contentIndex:n.contentIndex,toolCall:n.block,partial:o}),c.delete(t.output_index)}else if(e.type==="custom_tool_call"&&n?.type==="toolCall"&&n.block.customInput){if(I(n,O(n.block,e.input??A(n.block),!0)),e.namespace!==void 0)n.block.namespace=e.namespace;delete n.block.customInput,l.push({type:"toolcall_end",contentIndex:n.contentIndex,toolCall:n.block,partial:o}),c.delete(t.output_index)}}else if(t.type==="response.completed"||t.type==="response.incomplete")M(t.response);else if(t.type==="error")throw Error(`Error Code ${t.code}: ${t.message}`||"Unknown error");else if(t.type==="response.failed"){p=!0,o.rawStopReason=t.response?.status;let e=t.response?.error,n=t.response?.incomplete_details,s=e?`${e.code||"unknown"}: ${e.message||"no message"}`:n?.reason?`incomplete: ${n.reason}`:"Unknown error (no error details in response)";throw Error(s)}if(!p)throw Error("OpenAI Responses stream ended before a terminal response event");if(o.stopReason==="toolUse")for(let t of o.content){if(t.type!=="toolCall")continue;let e=t;if(e.partialJson!==void 0||e.customInput!==void 0)throw Error(`OpenAI Responses stream completed with an unfinished tool call: ${e.name} (${e.id})`)}}function B(a,o){if(!a)return{stopReason:"stop"};switch(a){case"completed":return{stopReason:"stop"};case"incomplete":if(o==="max_output_tokens")return{stopReason:"length"};return{stopReason:"error",errorMessage:o?`Response incomplete: ${o}`:"Response incomplete without a provider reason"};case"failed":case"cancelled":return{stopReason:"error"};case"in_progress":case"queued":return{stopReason:"stop"};default:throw Error(`Unhandled stop reason: ${a}`)}}
12
- export{St,lt,wt};
package/chunk-768vwfc3.js DELETED
@@ -1,3 +0,0 @@
1
- // @bun
2
- import{F}from"./chunk-sj2q2amm.js";import{_}from"./chunk-0ecs4nme.js";import{a}from"./chunk-sfwy8rqg.js";var g=a(_());var U=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string");var v=a(F());var f=a(_());var j=300000,T="To refresh this SSO session run 'aws sso login' with the corresponding profile.";var q=async(e,o={},r)=>{let{SSOOIDCClient:t}=await import("./chunk-6ka4m0ax.js"),n=(p)=>o.clientConfig?.[p]??o.parentClientConfig?.[p]??r?.[p];return new t(Object.assign({},o.clientConfig??{},{region:e??o.clientConfig?.region,logger:n("logger"),userAgentAppId:n("userAgentAppId")}))};var W=async(e,o,r={},t)=>{let{CreateTokenCommand:n}=await import("./chunk-6ka4m0ax.js");return(await q(o,r,t)).send(new n({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))};var X=a(_());var N=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new X.TokenProviderError(`Token is expired. ${T}`,!1)};var z=a(_());var w=(e,o,r=!1)=>{if(typeof o>"u")throw new z.TokenProviderError(`Value not present for '${e}' in SSO Token${r?". Cannot refresh":""}. ${T}`,!1)};var J=a(_());import{promises as ee}from"fs";var{writeFile:oe}=ee,V=(e,o)=>{let r=J.getSSOTokenFilepath(e),t=JSON.stringify(o,null,2);return oe(r,t)};var Y=new Map,R=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");let r=await f.parseKnownFiles(e),t=f.getProfileName({profile:e.profile??o?.profile}),n=r[t];if(!n)throw new f.TokenProviderError(`Profile '${t}' could not be found in shared credentials file.`,!1);else if(!n.sso_session)throw new f.TokenProviderError(`Profile '${t}' is missing required property 'sso_session'.`);let i=n.sso_session,S=(await f.loadSsoSessionData(e))[i];if(!S)throw new f.TokenProviderError(`Sso session '${i}' could not be found in shared credentials file.`,!1);for(let c of["sso_start_url","sso_region"])if(!S[c])throw new f.TokenProviderError(`Sso session '${i}' is missing required property '${c}'.`,!1);let{sso_start_url:d,sso_region:E}=S,s;try{s=await f.getSSOTokenFromFile(i)}catch(c){throw new f.TokenProviderError(`The SSO session token associated with profile=${t} was not found or is invalid. ${T}`,!1)}w("accessToken",s.accessToken),w("expiresAt",s.expiresAt);let{accessToken:x,expiresAt:C}=s,l={token:x,expiration:new Date(C)};if(l.expiration.getTime()-Date.now()>j)return l;let m=Y.get(i)??0;if(Date.now()-m<30000)return N(l),l;w("clientId",s.clientId,!0),w("clientSecret",s.clientSecret,!0),w("refreshToken",s.refreshToken,!0);try{Y.set(i,Date.now());let c=await W(s,E,e,o);w("accessToken",c.accessToken),w("expiresIn",c.expiresIn);let O=new Date(Date.now()+c.expiresIn*1000);try{await V(i,{...s,accessToken:c.accessToken,expiresAt:O.toISOString(),refreshToken:c.refreshToken})}catch(u){}return{token:c.accessToken,expiration:O}}catch(c){return N(l),l}};var h=a(_()),y=!1,P=async({ssoStartUrl:e,ssoSession:o,ssoAccountId:r,ssoRegion:t,ssoRoleName:n,ssoClient:i,clientConfig:p,parentClientConfig:S,callerClientConfig:d,profile:E,filepath:s,configFilepath:x,ignoreCache:C,logger:l})=>{let m,c="To refresh this SSO session run aws sso login with the corresponding profile.";if(o)try{let k=await R({profile:E,filepath:s,configFilepath:x,ignoreCache:C,clientConfig:p,parentClientConfig:S,logger:l})({callerClientConfig:d});m={accessToken:k.token,expiresAt:new Date(k.expiration).toISOString()}}catch(k){throw new h.CredentialsProviderError(k.message,{tryNextLink:y,logger:l})}else try{m=await h.getSSOTokenFromFile(e)}catch(k){throw new h.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:y,logger:l})}if(new Date(m.expiresAt).getTime()-Date.now()<=0)throw new h.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:y,logger:l});let{accessToken:O}=m,{SSOClient:u,GetRoleCredentialsCommand:A}=await import("./chunk-hz92pdms.js"),Z=i||new u(Object.assign({},p??{},{logger:p?.logger??d?.logger??S?.logger,region:p?.region??t,userAgentAppId:p?.userAgentAppId??d?.userAgentAppId??S?.userAgentAppId})),D;try{D=await Z.send(new A({accountId:r,roleName:n,accessToken:O}))}catch(k){throw new h.CredentialsProviderError(k,{tryNextLink:y,logger:l})}let{roleCredentials:{accessKeyId:L,secretAccessKey:M,sessionToken:b,expiration:G,credentialScope:K,accountId:H}={}}=D;if(!L||!M||!b||!G)throw new h.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:y,logger:l});let I={accessKeyId:L,secretAccessKey:M,sessionToken:b,expiration:new Date(G),...K&&{credentialScope:K},...H&&{accountId:H}};if(o)v.setCredentialFeature(I,"CREDENTIALS_SSO","s");else v.setCredentialFeature(I,"CREDENTIALS_SSO_LEGACY","u");return I};var B=a(_()),Q=(e,o)=>{let{sso_start_url:r,sso_account_id:t,sso_region:n,sso_role_name:i}=e;if(!r||!t||!n||!i)throw new B.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}
3
- Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:o});return e};var se=(e={})=>async({callerClientConfig:o}={})=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");let{ssoStartUrl:r,ssoAccountId:t,ssoRegion:n,ssoRoleName:i,ssoSession:p}=e,{ssoClient:S}=e,d=g.getProfileName({profile:e.profile??o?.profile});if(!r&&!t&&!n&&!i&&!p){let s=(await g.parseKnownFiles(e))[d];if(!s)throw new g.CredentialsProviderError(`Profile ${d} was not found.`,{logger:e.logger});if(!U(s))throw new g.CredentialsProviderError(`Profile ${d} is not configured with SSO credentials.`,{logger:e.logger});if(s?.sso_session){let u=(await g.loadSsoSessionData(e))[s.sso_session],A=` configurations in profile ${d} and sso-session ${s.sso_session}`;if(n&&n!==u.sso_region)throw new g.CredentialsProviderError("Conflicting SSO region"+A,{tryNextLink:!1,logger:e.logger});if(r&&r!==u.sso_start_url)throw new g.CredentialsProviderError("Conflicting SSO start_url"+A,{tryNextLink:!1,logger:e.logger});s.sso_region=u.sso_region,s.sso_start_url=u.sso_start_url}let{sso_start_url:x,sso_account_id:C,sso_region:l,sso_role_name:m,sso_session:c}=Q(s,e.logger);return P({ssoStartUrl:x,ssoSession:c,ssoAccountId:C,ssoRegion:l,ssoRoleName:m,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})}else if(!r||!t||!n||!i)throw new g.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return P({ssoStartUrl:r,ssoSession:p,ssoAccountId:t,ssoRegion:n,ssoRoleName:i,ssoClient:S,clientConfig:e.clientConfig,parentClientConfig:e.parentClientConfig,callerClientConfig:e.callerClientConfig,profile:d,filepath:e.filepath,configFilepath:e.configFilepath,ignoreCache:e.ignoreCache,logger:e.logger})};export{se as fromSSO};
package/chunk-7k4xghss.js DELETED
@@ -1,5 +0,0 @@
1
- // @bun
2
- import{he,Ge,Qr,Yr}from"./chunk-bkmd5d8p.js";import{V,J}from"./chunk-8np9b2y8.js";var o="OpenAI Decisions",a=128;function f(r){let t=[r.criteria.true?`True means: ${r.criteria.true}`:"",r.criteria.false?`False means: ${r.criteria.false}`:""].filter(Boolean);return t.length>0?`${r.instructions}
3
-
4
- ${t.join(`
5
- `)}`:r.instructions}function u(r,t){if(t.type==="choice")return{type:"choice",name:r,instructions:t.instructions,choices:Object.entries(t.criteria).map(([e,i])=>i?{value:e,description:i}:{value:e})};if(t.type==="score")return{type:"score",name:r,instructions:t.instructions,levels:t.criteria.map((e)=>({label:e}))};return{type:"predicate",name:r,instructions:f(t)}}function y(r){let t=JSON.stringify(r.state),e=r.images??[];if(e.length===0)return t;if(e.length>a)throw Error(`${o} accepts at most ${a} images, got ${e.length}`);return[{role:"user",content:[{type:"input_text",text:t},...e.map((i)=>({type:"input_image",image_url:`data:${i.mimeType};base64,${i.data}`}))]}]}function b(r,t){if(!Array.isArray(r))throw Error(`${o} returned invalid probabilities for ${t}`);return Object.fromEntries(r.map((e)=>{if(!he(e)||typeof e.value!=="string")throw Error(`${o} returned invalid probabilities for ${t}`);return[e.value,Ge(o,e.probability,`probability for ${t}.${e.value}`)]}))}function l(r,t,e){if(e.type==="refusal")throw Error(`${o} refused to answer ${r}`);if(t.type==="choice"){if(e.type!=="choice"||typeof e.choice!=="string")throw Error(`${o} did not return a choice answer for ${r}`);return{type:"choice",choice:e.choice,probabilities:b(e.probabilities,r),confidence:Ge(o,e.confidence,`confidence for ${r}`)}}if(t.type==="score"){if(e.type!=="score")throw Error(`${o} did not return a score answer for ${r}`);return{type:"score",score:Ge(o,e.score,`score for ${r}`),confidence:Ge(o,e.confidence,`confidence for ${r}`)}}if(e.type!=="predicate")throw Error(`${o} did not return a predicate answer for ${r}`);return{type:"bool",probability:Ge(o,e.probability,`probability for ${r}`)}}function w(r,t){if(!Array.isArray(r))throw Error(`${o} returned an unexpected response`);let e=new Map;for(let i of r)if(he(i)&&typeof i.name==="string")e.set(i.name,i);return Object.fromEntries(Object.entries(t.questions).map(([i,n])=>{let s=e.get(i);if(!s)throw Error(`${o} did not return an answer for ${i}`);return[i,l(i,n,s)]}))}var h=[504];function d(r){if(r.status===504)return`${o} error (504): the request timed out at the gateway. Very large inputs (above roughly 600K tokens) currently exceed its time limit.`;return J(V(r),`${o} error`)}var E=async(r,t,e)=>{let i={api:r.api,provider:r.provider,model:r.id,answers:{},stopReason:"stop",timestamp:Date.now()};try{if(r.api!=="openai-decisions")throw Error(`Unsupported classifier API: ${r.api}`);let n=await Qr(o,new URL("decisions",`${r.baseUrl.replace(/\/+$/u,"")}/`),r,{model:r.id,input:y(t),questions:Object.entries(t.questions).map(([c,p])=>u(c,p))},e,h);if(!he(n))throw Error(`${o} returned an unexpected response`);let s=Yr(n.usage,r);if(s)i.usage=s;return i.answers=w(n.answers,t),i}catch(n){return i.answers={},i.stopReason=e?.signal?.aborted?"aborted":"error",i.errorMessage=d(n),i}};export{E as classify};
package/chunk-8jv34hrx.js DELETED
@@ -1,7 +0,0 @@
1
- // @bun
2
- import{r,u}from"./chunk-sfwy8rqg.js";var U=r(function(De,S){var y=1000,x=y*60,b=x*60,m=b*24,R=m*7,V=m*365.25;S.exports=function(e,s){s=s||{};var t=typeof e;if(t==="string"&&e.length>0)return X(e);else if(t==="number"&&isFinite(e))return s.long?ee(e):Y(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function X(e){if(e=String(e),e.length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var t=parseFloat(s[1]),i=(s[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return t*V;case"weeks":case"week":case"w":return t*R;case"days":case"day":case"d":return t*m;case"hours":case"hour":case"hrs":case"hr":case"h":return t*b;case"minutes":case"minute":case"mins":case"min":case"m":return t*x;case"seconds":case"second":case"secs":case"sec":case"s":return t*y;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}function Y(e){var s=Math.abs(e);if(s>=m)return Math.round(e/m)+"d";if(s>=b)return Math.round(e/b)+"h";if(s>=x)return Math.round(e/x)+"m";if(s>=y)return Math.round(e/y)+"s";return e+"ms"}function ee(e){var s=Math.abs(e);if(s>=m)return A(e,s,m,"day");if(s>=b)return A(e,s,b,"hour");if(s>=x)return A(e,s,x,"minute");if(s>=y)return A(e,s,y,"second");return e+" ms"}function A(e,s,t,i){var d=s>=t*1.5;return Math.round(e/t)+" "+i+(d?"s":"")}});var E=r(function(Be,_){function te(e){t.debug=t,t.default=t,t.coerce=W,t.disable=P,t.enable=d,t.enabled=T,t.humanize=U(),t.destroy=Z,Object.keys(e).forEach((n)=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={};function s(n){let o=0;for(let c=0;c<n.length;c++)o=(o<<5)-o+n.charCodeAt(c),o|=0;return t.colors[Math.abs(o)%t.colors.length]}t.selectColor=s;function t(n){let o,c=null,a,g;function l(...f){if(!l.enabled)return;let h=l,v=Number(new Date),H=v-(o||v);if(h.diff=H,h.prev=o,h.curr=v,o=v,f[0]=t.coerce(f[0]),typeof f[0]!=="string")f.unshift("%O");let O=0;f[0]=f[0].replace(/%([a-zA-Z%])/g,(j,K)=>{if(j==="%%")return"%";O++;let M=t.formatters[K];if(typeof M==="function"){let Q=f[O];j=M.call(h,Q),f.splice(O,1),O--}return j}),t.formatArgs.call(h,f),(h.log||t.log).apply(h,f)}if(l.namespace=n,l.useColors=t.useColors(),l.color=t.selectColor(n),l.extend=i,l.destroy=t.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(c!==null)return c;if(a!==t.namespaces)a=t.namespaces,g=t.enabled(n);return g},set:(f)=>{c=f}}),typeof t.init==="function")t.init(l);return l}function i(n,o){let c=t(this.namespace+(typeof o>"u"?":":o)+n);return c.log=this.log,c}function d(n){t.save(n),t.namespaces=n,t.names=[],t.skips=[];let o=(typeof n==="string"?n:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let c of o)if(c[0]==="-")t.skips.push(c.slice(1));else t.names.push(c)}function C(n,o){let c=0,a=0,g=-1,l=0;while(c<n.length)if(a<o.length&&(o[a]===n[c]||o[a]==="*"))if(o[a]==="*")g=a,l=c,a++;else c++,a++;else if(g!==-1)a=g+1,l++,c=l;else return!1;while(a<o.length&&o[a]==="*")a++;return a===o.length}function P(){let n=[...t.names,...t.skips.map((o)=>"-"+o)].join(",");return t.enable(""),n}function T(n){for(let o of t.skips)if(C(n,o))return!1;for(let o of t.names)if(C(n,o))return!0;return!1}function W(n){if(n instanceof Error)return n.stack||n.message;return n}function Z(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return t.enable(t.load()),t}_.exports=te});var z=r(function(D,I){D.formatArgs=se;D.save=ne;D.load=oe;D.useColors=re;D.storage=ie();D.destroy=(()=>{let e=!1;return()=>{if(!e)e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();D.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function re(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function se(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+I.exports.humanize(this.diff),!this.useColors)return;let s="color: "+this.color;e.splice(1,0,s,"color: inherit");let t=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(d)=>{if(d==="%%")return;if(t++,d==="%c")i=t}),e.splice(i,0,s)}D.log=console.debug||console.log||(()=>{});function ne(e){try{if(e)D.storage.setItem("debug",e);else D.storage.removeItem("debug")}catch(s){}}function oe(){let e;try{e=D.storage.getItem("debug")||D.storage.getItem("DEBUG")}catch(s){}if(!e&&typeof process<"u"&&"env"in process)e=process.env.DEBUG;return e}function ie(){try{return localStorage}catch(e){}}I.exports=E()(D);var{formatters:ce}=I.exports;ce.j=function(e){try{return JSON.stringify(e)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}});var J=r(function(B,k){var L=u("tty"),p=u("util");B.init=be;B.log=ge;B.formatArgs=me;B.save=ye;B.load=xe;B.useColors=he;B.destroy=p.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");B.colors=[6,2,3,4,5,1];try{let e=(()=>{throw new Error("Cannot require module "+"supports-color");})();if(e&&(e.stderr||e).level>=2)B.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(e){}B.inspectOpts=Object.keys(process.env).filter((e)=>/^debug_/i.test(e)).reduce((e,s)=>{let t=s.substring(6).toLowerCase().replace(/_([a-z])/g,(d,C)=>C.toUpperCase()),i=process.env[s];if(/^(yes|on|true|enabled)$/i.test(i))i=!0;else if(/^(no|off|false|disabled)$/i.test(i))i=!1;else if(i==="null")i=null;else i=Number(i);return e[t]=i,e},{});function he(){return"colors"in B.inspectOpts?Boolean(B.inspectOpts.colors):L.isatty(process.stderr.fd)}function me(e){let{namespace:s,useColors:t}=this;if(t){let i=this.color,d="\x1B[3"+(i<8?i:"8;5;"+i),C=` ${d};1m${s} \x1B[0m`;e[0]=C+e[0].split(`
3
- `).join(`
4
- `+C),e.push(d+"m+"+k.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Fe()+s+" "+e[0]}function Fe(){if(B.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function ge(...e){return process.stderr.write(p.formatWithOptions(B.inspectOpts,...e)+`
5
- `)}function ye(e){if(e)process.env.DEBUG=e;else delete process.env.DEBUG}function xe(){return process.env.DEBUG}function be(e){e.inspectOpts={};let s=Object.keys(B.inspectOpts);for(let t=0;t<s.length;t++)e.inspectOpts[s[t]]=B.inspectOpts[s[t]]}k.exports=E()(B);var{formatters:G}=k.exports;G.o=function(e){return this.inspectOpts.colors=this.useColors,p.inspect(e,this.inspectOpts).split(`
6
- `).map((s)=>s.trim()).join(" ")};G.O=function(e){return this.inspectOpts.colors=this.useColors,p.inspect(e,this.inspectOpts)}});var jt=r(function(Se,q){if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)q.exports=z();else q.exports=J()});
7
- export{jt};
package/chunk-8np9b2y8.js DELETED
@@ -1,3 +0,0 @@
1
- // @bun
2
- function V(t){if(!(t instanceof Error))return{message:u(t),messageCarriesBody:!1};let e=t,n=d(e),s=o(e),r=s===void 0||t.message.includes(s);return{status:n,body:s,message:t.message,messageCarriesBody:r}}function d(t){if(typeof t.statusCode==="number")return t.statusCode;if(typeof t.status==="number")return t.status;if(typeof t.$metadata?.httpStatusCode==="number")return t.$metadata.httpStatusCode;if(typeof t.$response?.statusCode==="number")return t.$response.statusCode;return}function o(t){let e=f(t);if(e===void 0)return;let n=e.trim();if(n.length===0)return;return c(n,4000)}function f(t){if(typeof t.body==="string")return t.body;if(i(t.error))return u(t.error);let e=t.$response?.body;if(typeof e==="string")return e;if(a(e))return;if(i(e))return u(e);return}function a(t){return typeof t==="object"&&t!==null&&"pipe"in t&&typeof t.pipe==="function"}function i(t){if(typeof t!=="object"||t===null)return!1;let e=Object.getPrototypeOf(t);if(e!==Object.prototype&&e!==null)return!1;return Object.keys(t).length>0}function J(t,e){if(t.messageCarriesBody||t.status===void 0||t.body===void 0)return e!==void 0&&t.status!==void 0?`${e} (${t.status}): ${t.message}`:t.message;return e!==void 0?`${e} (${t.status}): ${t.body}`:`${t.status}: ${t.body}`}function c(t,e){if(t.length<=e)return t;return`${t.slice(0,e)}... [truncated ${t.length-e} chars]`}function u(t){try{let e=JSON.stringify(t);return e===void 0?String(t):e}catch{return String(t)}}
3
- export{V,J};
package/chunk-8yv55y6g.js DELETED
@@ -1,3 +0,0 @@
1
- // @bun
2
- function Ne(o){return o==="127.0.0.1"||o==="localhost"||o==="[::1]"||o==="::1"}
3
- export{Ne};
package/chunk-95rqa8r8.js DELETED
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{F}from"./chunk-sj2q2amm.js";import{_}from"./chunk-0ecs4nme.js";import{a}from"./chunk-sfwy8rqg.js";var i=a(_());var t=a(_());import{exec as w}from"child_process";import{promisify as P}from"util";var p=a(F()),f=(r,e,o)=>{if(e.Version!==1)throw Error(`Profile ${r} credential_process did not return Version 1.`);if(e.AccessKeyId===void 0||e.SecretAccessKey===void 0)throw Error(`Profile ${r} credential_process returned invalid credentials.`);if(e.Expiration){let d=new Date;if(new Date(e.Expiration)<d)throw Error(`Profile ${r} credential_process returned expired credentials.`)}let s=e.AccountId;if(!s&&o?.[r]?.aws_account_id)s=o[r].aws_account_id;let n={accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,...e.SessionToken&&{sessionToken:e.SessionToken},...e.Expiration&&{expiration:new Date(e.Expiration)},...e.CredentialScope&&{credentialScope:e.CredentialScope},...s&&{accountId:s}};return p.setCredentialFeature(n,"CREDENTIALS_PROCESS","w"),n};var u=async(r,e,o)=>{let s=e[r];if(e[r]){let n=s.credential_process;if(n!==void 0){let d=P(t.externalDataInterceptor?.getTokenRecord?.().exec??w);try{let{stdout:c}=await d(n),l;try{l=JSON.parse(c.trim())}catch{throw Error(`Profile ${r} credential_process returned invalid JSON.`)}return f(r,l,e)}catch(c){throw new t.CredentialsProviderError(c.message,{logger:o})}}else throw new t.CredentialsProviderError(`Profile ${r} did not contain credential_process.`,{logger:o})}else throw new t.CredentialsProviderError(`Profile ${r} could not be found in shared credentials file.`,{logger:o})};var m=(r={})=>async({callerClientConfig:e}={})=>{r.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");let o=await i.parseKnownFiles(r);return u(i.getProfileName({profile:r.profile??e?.profile}),o,r.logger)};export{m as fromProcess};
package/chunk-979mxkzt.js DELETED
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{Ye,ut,Hi,Jn,ze,pt,nt,R,qi,Yt,Ts,it,Z,no,yn,Cr,oo,ti}from"./chunk-0nxcbf6d.js";import{Xe,t,m}from"./chunk-rmy489b1.js";import"./chunk-m1w7f6d3.js";import"./chunk-w430z452.js";export{it as ArchivedError,t as BadRequestError,Z as BusyError,Hi as FileCredentialStore,Ye as MAX_ATTACHMENTS,m as NotFoundError,nt as PluginCheckError,qi as ProxyManager,ti as Runtime,Jn as answerShellApproval,Xe as dataDir,R as definePlugin,ze as gateShellCommand,pt as modelID,no as parseSessionImport,Yt as providerProxyScope,Ts as proxyTargets,yn as readSearchCursor,Cr as search,oo as searchSuggestions,ut as validAttachment};