@qitqode/qitqode-android-arm64 0.2.2 → 0.2.4

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 (427) hide show
  1. package/bun +2 -2
  2. package/bundle/{chunk-2hv2c8d5.js → chunk-0428v6mw.js} +1 -1
  3. package/bundle/{chunk-0f3ft9dh.js → chunk-05ck7acg.js} +1 -1
  4. package/bundle/{chunk-xmjntwjc.js → chunk-09geev0j.js} +2 -2
  5. package/bundle/{chunk-j5ymkhry.js → chunk-0cnwsf8p.js} +1 -1
  6. package/bundle/chunk-0ppnq3a4.js +2 -0
  7. package/bundle/{chunk-6kf4vw2g.js → chunk-0qd3567w.js} +1 -1
  8. package/bundle/{chunk-jw114bbt.js → chunk-0smnwqk6.js} +2 -2
  9. package/bundle/chunk-0te0vcdn.js +2 -0
  10. package/bundle/{chunk-q4fn41ex.js → chunk-0xrb12s8.js} +2 -2
  11. package/bundle/chunk-11h06z17.js +2 -0
  12. package/bundle/{chunk-vyh300ac.js → chunk-1rtx2zsc.js} +2 -2
  13. package/bundle/{chunk-3jms025t.js → chunk-1t0c86bz.js} +1 -1
  14. package/bundle/{chunk-6dfjtzqb.js → chunk-21rq4592.js} +2 -2
  15. package/bundle/{chunk-y3dfk6n5.js → chunk-24rkf2gk.js} +1 -1
  16. package/bundle/{chunk-rdwma0de.js → chunk-24ygjbpf.js} +2 -2
  17. package/bundle/{chunk-q46pzk9z.js → chunk-25ganjcn.js} +2 -2
  18. package/bundle/chunk-28yv4fqe.js +2 -0
  19. package/bundle/{chunk-3tmq81kq.js → chunk-2drzgtv3.js} +2 -2
  20. package/bundle/{chunk-xd3xc1vv.js → chunk-2md6sx8d.js} +1 -1
  21. package/bundle/chunk-2mm37s1w.js +2 -0
  22. package/bundle/chunk-2prf30p3.js +2 -0
  23. package/bundle/{chunk-v9rg0a8g.js → chunk-313zqzc1.js} +1 -1
  24. package/bundle/{chunk-zfd70p01.js → chunk-32j0q58h.js} +1 -1
  25. package/bundle/chunk-34a52hyr.js +2 -0
  26. package/bundle/{chunk-86jsqc7d.js → chunk-39z96pc6.js} +3 -3
  27. package/bundle/chunk-3hcr2bzt.js +2 -0
  28. package/bundle/{chunk-e6wp96vm.js → chunk-3jf3jhrs.js} +1 -1
  29. package/bundle/{chunk-4sxg9cgr.js → chunk-3kpse7zy.js} +1 -1
  30. package/bundle/chunk-3n3gb3vd.js +2 -0
  31. package/bundle/chunk-3sq60y9f.js +2 -0
  32. package/bundle/{chunk-2qwmrp16.js → chunk-3vvd7j14.js} +1 -1
  33. package/bundle/{chunk-h10wjk96.js → chunk-3zrr4n6k.js} +2 -2
  34. package/bundle/{chunk-rcyzqa3g.js → chunk-450fef7h.js} +2 -2
  35. package/bundle/{chunk-kxjrrdj0.js → chunk-45a4n21f.js} +1 -1
  36. package/bundle/{chunk-xny5ecn0.js → chunk-47k5jy1p.js} +2 -2
  37. package/bundle/{chunk-0gab4v98.js → chunk-48r70n4s.js} +1 -1
  38. package/bundle/chunk-49mbnqvc.js +2 -0
  39. package/bundle/{chunk-t9zbp2qw.js → chunk-4agaj51z.js} +1 -1
  40. package/bundle/chunk-4fr6kae9.js +2 -0
  41. package/bundle/chunk-4v2pzx22.js +2 -0
  42. package/bundle/chunk-516w1nc4.js +2 -0
  43. package/bundle/chunk-535nm66j.js +2 -0
  44. package/bundle/{chunk-1p6jjrea.js → chunk-55fcmswd.js} +2 -2
  45. package/bundle/{chunk-n7kqdqkh.js → chunk-55ykn8nz.js} +4 -4
  46. package/bundle/chunk-58dpxf8r.js +2 -0
  47. package/bundle/chunk-58w8c6c2.js +2 -0
  48. package/bundle/{chunk-as845ya4.js → chunk-5c2438af.js} +1 -1
  49. package/bundle/chunk-5kpxpm8e.js +2 -0
  50. package/bundle/chunk-5nm5s0h2.js +2 -0
  51. package/bundle/{chunk-07s30fpb.js → chunk-5nrc5rhh.js} +1 -1
  52. package/bundle/{chunk-jwph7tpc.js → chunk-5pwv2p3s.js} +1 -1
  53. package/bundle/{chunk-q5abwn50.js → chunk-5pzs51sp.js} +1 -1
  54. package/bundle/{chunk-r0s28gnb.js → chunk-5tky3csh.js} +1 -1
  55. package/bundle/{chunk-yajd975f.js → chunk-5w76kdjr.js} +1 -1
  56. package/bundle/{chunk-wcqfr8vr.js → chunk-5ysbwr4x.js} +1 -1
  57. package/bundle/{chunk-85xh72hk.js → chunk-5zkj5xv9.js} +2 -2
  58. package/bundle/chunk-620dpezx.js +5 -0
  59. package/bundle/{chunk-fgn83bs7.js → chunk-65bmsp2t.js} +1 -1
  60. package/bundle/{chunk-9jrxrjzt.js → chunk-68v3b6ns.js} +2 -2
  61. package/bundle/{chunk-7ntw4rrn.js → chunk-6ar91jvd.js} +1 -1
  62. package/bundle/{chunk-bbbh69ys.js → chunk-6evh2ke8.js} +1 -1
  63. package/bundle/{chunk-9bm9z52r.js → chunk-6fc3gw3e.js} +1 -1
  64. package/bundle/chunk-6gpf2bjs.js +2 -0
  65. package/bundle/{chunk-a2dz9nqh.js → chunk-6m9jb0s9.js} +2 -2
  66. package/bundle/{chunk-e374shb8.js → chunk-6pe60dsw.js} +2 -2
  67. package/bundle/{chunk-yvjke593.js → chunk-6scf311w.js} +1 -1
  68. package/bundle/{chunk-epa576pa.js → chunk-6v5867cy.js} +3 -3
  69. package/bundle/{chunk-5wwd40t3.js → chunk-70q8qcb2.js} +1 -1
  70. package/bundle/{chunk-pfkm3j8g.js → chunk-73r8bjjz.js} +2 -2
  71. package/bundle/{chunk-hs3vfhar.js → chunk-7bcm7gg1.js} +1 -1
  72. package/bundle/chunk-7bgzcpdw.js +2 -0
  73. package/bundle/{chunk-ezfzb8qc.js → chunk-7g66qc1v.js} +2 -2
  74. package/bundle/{chunk-fd7fmvyw.js → chunk-7hvf9dgx.js} +1 -1
  75. package/bundle/{chunk-7zc04q43.js → chunk-7j4qne3q.js} +2 -2
  76. package/bundle/chunk-7kjvcbwa.js +2 -0
  77. package/bundle/{chunk-6j339s7a.js → chunk-7mppvhv9.js} +2 -2
  78. package/bundle/{chunk-7z884mz2.js → chunk-7msfwk15.js} +2 -2
  79. package/bundle/{chunk-kmwy6c9g.js → chunk-7vmx8bg9.js} +2 -2
  80. package/bundle/{chunk-7njz51r4.js → chunk-7x6yrtzn.js} +1 -1
  81. package/bundle/{chunk-yhsnmpzv.js → chunk-7zx1ve4w.js} +1 -1
  82. package/bundle/{chunk-skv9ww0s.js → chunk-804vmbcd.js} +1 -1
  83. package/bundle/chunk-8jma2btf.js +2 -0
  84. package/bundle/{chunk-543pt030.js → chunk-8q38721t.js} +2 -2
  85. package/bundle/{chunk-kdcnder5.js → chunk-8wwdrwf2.js} +1 -1
  86. package/bundle/{chunk-4fk46ngj.js → chunk-920z7g7j.js} +1 -1
  87. package/bundle/chunk-93e0w75z.js +2 -0
  88. package/bundle/{chunk-pzefsndd.js → chunk-953pqp3w.js} +1 -1
  89. package/bundle/chunk-97gp818s.js +2 -0
  90. package/bundle/chunk-9epf2zbh.js +2 -0
  91. package/bundle/{chunk-4hd3v58j.js → chunk-9hz56z6a.js} +1 -1
  92. package/bundle/chunk-9pmmf4k1.js +2 -0
  93. package/bundle/chunk-9y03z65a.js +2 -0
  94. package/bundle/{chunk-rk2bk4s7.js → chunk-9zm6r55d.js} +2 -2
  95. package/bundle/{chunk-t1475j9f.js → chunk-a3edstpn.js} +1 -1
  96. package/bundle/{chunk-8d6e4jg7.js → chunk-ab4dq1bn.js} +2 -2
  97. package/bundle/{chunk-w7em72p8.js → chunk-ac7482n2.js} +2 -2
  98. package/bundle/chunk-agv04nt7.js +2 -0
  99. package/bundle/{chunk-sjreby6e.js → chunk-aj1sgq1d.js} +1 -1
  100. package/bundle/chunk-ak8e1nrf.js +2 -0
  101. package/bundle/{chunk-cbmwhvxw.js → chunk-at22twxx.js} +2 -2
  102. package/bundle/{chunk-frsd6e1h.js → chunk-avefgbjg.js} +2 -2
  103. package/bundle/chunk-b034nf8g.js +2 -0
  104. package/bundle/chunk-b2p54yka.js +2 -0
  105. package/bundle/{chunk-z2h1gxyx.js → chunk-bbng1cea.js} +1 -1
  106. package/bundle/{chunk-5az84brc.js → chunk-bd21p9zz.js} +2 -2
  107. package/bundle/chunk-be7smmar.js +2 -0
  108. package/bundle/chunk-bghqsh7r.js +2 -0
  109. package/bundle/{chunk-y4e7e42x.js → chunk-bne5w117.js} +4 -4
  110. package/bundle/{chunk-j3jqk62r.js → chunk-bqn6bqws.js} +1 -1
  111. package/bundle/chunk-bryx5cx9.js +2 -0
  112. package/bundle/{chunk-tge53d52.js → chunk-bwbqkfv0.js} +1 -1
  113. package/bundle/chunk-c13rrw41.js +2 -0
  114. package/bundle/chunk-c2kkv619.js +2 -0
  115. package/bundle/{chunk-64c8q9zg.js → chunk-c36p881g.js} +3 -3
  116. package/bundle/chunk-c5xj1y5v.js +2 -0
  117. package/bundle/{chunk-91z7azf7.js → chunk-cdja76vj.js} +1 -1
  118. package/bundle/{chunk-7ab3yw9j.js → chunk-ckb1y6gv.js} +2 -2
  119. package/bundle/chunk-ckpm4dvv.js +2 -0
  120. package/bundle/{chunk-732yr6qq.js → chunk-cmb62jkt.js} +2 -2
  121. package/bundle/chunk-ct8twng1.js +2 -0
  122. package/bundle/{chunk-s77qktcn.js → chunk-cx78hhbx.js} +2 -2
  123. package/bundle/{chunk-1q1cddy4.js → chunk-cz5vta94.js} +1 -1
  124. package/bundle/{chunk-fpm2vgz6.js → chunk-d0x5pbkm.js} +1 -1
  125. package/bundle/chunk-d38y7bvh.js +2 -0
  126. package/bundle/chunk-d5qgc18n.js +2 -0
  127. package/bundle/chunk-d6hxsfm6.js +2 -0
  128. package/bundle/{chunk-29zm623f.js → chunk-d6jhs818.js} +2 -2
  129. package/bundle/chunk-descb9jz.js +2 -0
  130. package/bundle/{chunk-ssdw9zre.js → chunk-dj1jen1p.js} +1 -1
  131. package/bundle/{chunk-mswx4k75.js → chunk-dnnkq5y4.js} +2 -2
  132. package/bundle/{chunk-6pcmv8vs.js → chunk-dnsh1v42.js} +2 -2
  133. package/bundle/chunk-dvr2b9r1.js +2 -0
  134. package/bundle/chunk-dwhjgd8j.js +2 -0
  135. package/bundle/{chunk-s0ty36qg.js → chunk-dxdggn90.js} +1 -1
  136. package/bundle/chunk-dypdyrmy.js +2 -0
  137. package/bundle/{chunk-w30b563s.js → chunk-e8p92vz4.js} +2 -2
  138. package/bundle/chunk-ea5fktnn.js +2 -0
  139. package/bundle/{chunk-t1jgx17a.js → chunk-eg3syjtv.js} +2 -2
  140. package/bundle/{chunk-2a9rzgk6.js → chunk-ehb4hd9c.js} +1 -1
  141. package/bundle/{chunk-9jsgs71h.js → chunk-ejqzcdcx.js} +1 -1
  142. package/bundle/{chunk-5t0w9ecw.js → chunk-et3804wr.js} +1 -1
  143. package/bundle/{chunk-yd8bzhv6.js → chunk-ezrqhqkp.js} +1 -1
  144. package/bundle/chunk-f0t7rryn.js +3 -0
  145. package/bundle/{chunk-p635phfw.js → chunk-f31yvp20.js} +1 -1
  146. package/bundle/chunk-f4mf6tpp.js +2 -0
  147. package/bundle/chunk-f97k17t8.js +2 -0
  148. package/bundle/{chunk-yx1h0b5v.js → chunk-faee8zgc.js} +1 -1
  149. package/bundle/{chunk-p9mj4zyk.js → chunk-ff548b0j.js} +2 -2
  150. package/bundle/{chunk-bgng3rdj.js → chunk-fhqfqd5v.js} +2 -2
  151. package/bundle/{chunk-zek5c15t.js → chunk-fjbv3jht.js} +1 -1
  152. package/bundle/{chunk-hq9bgnqb.js → chunk-g22e4gw7.js} +1 -1
  153. package/bundle/chunk-g26tersc.js +2 -0
  154. package/bundle/{chunk-s0ptrw0z.js → chunk-g3wvtyw3.js} +1 -1
  155. package/bundle/{chunk-x4pdpka8.js → chunk-g42krp0z.js} +1 -1
  156. package/bundle/chunk-g4ehhdzp.js +2 -0
  157. package/bundle/{chunk-a9y27zd2.js → chunk-gbkz04ke.js} +1 -1
  158. package/bundle/chunk-gd6qpdjw.js +2 -0
  159. package/bundle/chunk-gehn9fd9.js +2 -0
  160. package/bundle/{chunk-0zxwjsvz.js → chunk-ggxzf22k.js} +1 -1
  161. package/bundle/{chunk-45fyv9f1.js → chunk-grnjm8ev.js} +2 -2
  162. package/bundle/{chunk-kzvvvj79.js → chunk-gszvgz76.js} +2 -2
  163. package/bundle/{chunk-g3kd4957.js → chunk-gy21fw82.js} +2 -2
  164. package/bundle/{chunk-cbf1y12x.js → chunk-h62chdmw.js} +1 -1
  165. package/bundle/{chunk-c1g8n10t.js → chunk-ha1w0xzh.js} +1 -1
  166. package/bundle/{chunk-rpfhgncs.js → chunk-has2rz35.js} +1 -1
  167. package/bundle/{chunk-6f8qqbac.js → chunk-hg4039nz.js} +166 -205
  168. package/bundle/chunk-hhax4mxw.js +2 -0
  169. package/bundle/{chunk-087tnr8a.js → chunk-hwrrrbqd.js} +1 -1
  170. package/bundle/chunk-hz3h6e19.js +2 -0
  171. package/bundle/{chunk-yd2emszh.js → chunk-j0bwa5dk.js} +2 -2
  172. package/bundle/{chunk-9b4aqcde.js → chunk-j164q40b.js} +2 -2
  173. package/bundle/{chunk-et5dnymk.js → chunk-j4ad3mde.js} +2 -2
  174. package/bundle/{chunk-qhnpq5gb.js → chunk-j8fcfhr2.js} +2 -2
  175. package/bundle/chunk-j8nkz81m.js +7 -0
  176. package/bundle/{chunk-9ea1n338.js → chunk-j9h1sp4g.js} +2 -2
  177. package/bundle/{chunk-zcp0wx4j.js → chunk-jdx3jshm.js} +2 -2
  178. package/bundle/chunk-jebss7x8.js +2 -0
  179. package/bundle/{chunk-yrfq22a5.js → chunk-jg1ccs3j.js} +1 -1
  180. package/bundle/chunk-jqekpprn.js +3 -0
  181. package/bundle/{chunk-d307vb2d.js → chunk-jqk3v8d6.js} +1 -1
  182. package/bundle/chunk-jvkzdap1.js +2 -0
  183. package/bundle/{chunk-pp9neaaz.js → chunk-jww55nk9.js} +1 -1
  184. package/bundle/{chunk-fvy24yhq.js → chunk-k1nh5sd2.js} +1 -1
  185. package/bundle/chunk-k2g8346v.js +3 -0
  186. package/bundle/chunk-k2vsezeb.js +2 -0
  187. package/bundle/{chunk-wfggztm4.js → chunk-k4gsktts.js} +1 -1
  188. package/bundle/{chunk-qaz100ht.js → chunk-k5q9px67.js} +1 -1
  189. package/bundle/{chunk-mrn44msr.js → chunk-k6y2vw0d.js} +2 -2
  190. package/bundle/chunk-kg8fcv91.js +2 -0
  191. package/bundle/chunk-kgptyf7n.js +3 -0
  192. package/bundle/{chunk-b50t4jc5.js → chunk-khzzmyk2.js} +1 -1
  193. package/bundle/chunk-kjjjrjnb.js +2 -0
  194. package/bundle/{chunk-dbztxdea.js → chunk-kp6gh35c.js} +2 -2
  195. package/bundle/{chunk-g7k6ecb2.js → chunk-kqhczjf6.js} +1 -1
  196. package/bundle/{chunk-jvjq554f.js → chunk-ksme3gj1.js} +1 -1
  197. package/bundle/chunk-m5cfmhwh.js +2 -0
  198. package/bundle/{chunk-4v61ysex.js → chunk-m5dm7a1t.js} +1 -1
  199. package/bundle/{chunk-yr35q7q1.js → chunk-m7ganre7.js} +1 -1
  200. package/bundle/chunk-m7qxxbns.js +2 -0
  201. package/bundle/{chunk-y287zwkr.js → chunk-mh19kwzw.js} +1 -1
  202. package/bundle/{chunk-7my2231h.js → chunk-mhhtf0v3.js} +1 -1
  203. package/bundle/{chunk-grw4gg9j.js → chunk-mjjaezwq.js} +2 -2
  204. package/bundle/{chunk-03mbn7nj.js → chunk-mmjgf680.js} +2 -2
  205. package/bundle/{chunk-jv4th87b.js → chunk-mn9end71.js} +1 -1
  206. package/bundle/{chunk-3h49k2ck.js → chunk-n23d0q00.js} +1 -1
  207. package/bundle/{chunk-mpe8zxc0.js → chunk-n78f8hfk.js} +1 -1
  208. package/bundle/chunk-n8wg5h5p.js +2 -0
  209. package/bundle/{chunk-gr4bctqj.js → chunk-nj1ntakd.js} +2 -2
  210. package/bundle/{chunk-wdaf713t.js → chunk-nrat6ncm.js} +1 -1
  211. package/bundle/{chunk-rm5ntsvn.js → chunk-nty5z2cj.js} +1 -1
  212. package/bundle/{chunk-rp8asmq7.js → chunk-p169ee92.js} +1 -1
  213. package/bundle/{chunk-fbm6qczy.js → chunk-p4027t94.js} +1 -1
  214. package/bundle/{chunk-94qhpkfx.js → chunk-p54bzjtv.js} +1 -1
  215. package/bundle/{chunk-cp39f96a.js → chunk-p5be5ddp.js} +1 -1
  216. package/bundle/{chunk-ngvp6zc2.js → chunk-p6crzjtf.js} +2 -2
  217. package/bundle/chunk-p6hcj3kv.js +2 -0
  218. package/bundle/{chunk-p4ewy9xh.js → chunk-pb30kkbs.js} +6 -6
  219. package/bundle/chunk-pdjafjry.js +3 -0
  220. package/bundle/chunk-pexmns0j.js +2 -0
  221. package/bundle/{chunk-my3cswnp.js → chunk-ph8hn1wt.js} +2 -2
  222. package/bundle/chunk-pkn85169.js +2 -0
  223. package/bundle/{chunk-99148b1k.js → chunk-pmg53fdd.js} +1 -1
  224. package/bundle/{chunk-wf4x5cjc.js → chunk-pr7z5dj8.js} +1 -1
  225. package/bundle/chunk-pt603np4.js +2 -0
  226. package/bundle/{chunk-4mvg7jt1.js → chunk-ptqk1j2r.js} +1 -1
  227. package/bundle/{chunk-a92hh67a.js → chunk-pxm4qvqk.js} +2 -2
  228. package/bundle/{chunk-3qfpw8f6.js → chunk-qey1efpx.js} +1 -1
  229. package/bundle/chunk-qk5bfcv8.js +2 -0
  230. package/bundle/{chunk-9s785py4.js → chunk-qk9x8j8d.js} +1 -1
  231. package/bundle/chunk-qnaw8k98.js +2 -0
  232. package/bundle/{chunk-ks1cs80p.js → chunk-qnvsqnz5.js} +2 -2
  233. package/bundle/{chunk-bcx2vkv4.js → chunk-qp1n7kwe.js} +1 -1
  234. package/bundle/chunk-qr06byhp.js +2 -0
  235. package/bundle/{chunk-gtjn3yc4.js → chunk-qxcyz5hc.js} +2 -2
  236. package/bundle/{chunk-tj3rem3q.js → chunk-r5zy4za0.js} +2 -2
  237. package/bundle/chunk-r6p0bd2w.js +8251 -0
  238. package/bundle/chunk-r7sq3maz.js +2 -0
  239. package/bundle/{chunk-f83wv08n.js → chunk-r9w0thdk.js} +1 -1
  240. package/bundle/chunk-rmgs9nmj.js +2 -0
  241. package/bundle/{chunk-p887g1xj.js → chunk-rn83r0js.js} +1 -1
  242. package/bundle/{chunk-n90eh3e7.js → chunk-rrv0n73b.js} +1 -1
  243. package/bundle/chunk-rv08wm9j.js +2 -0
  244. package/bundle/chunk-rytavefg.js +2 -0
  245. package/bundle/{chunk-yz0pwv2m.js → chunk-s4vx9x1v.js} +1 -1
  246. package/bundle/{chunk-x2cavpa9.js → chunk-sfw5qddj.js} +1 -1
  247. package/bundle/chunk-sh9vjnsh.js +2 -0
  248. package/bundle/{chunk-6avjq7my.js → chunk-smznrv7k.js} +1 -1
  249. package/bundle/{chunk-vtw0wwch.js → chunk-snqa3zsm.js} +3 -3
  250. package/bundle/chunk-st0c5wwc.js +2 -0
  251. package/bundle/{chunk-vqss3e48.js → chunk-t0761rhq.js} +2 -2
  252. package/bundle/{chunk-vqpfpmha.js → chunk-t239rvej.js} +2 -2
  253. package/bundle/{chunk-5js6a6gf.js → chunk-t2n7vgsq.js} +1 -1
  254. package/bundle/chunk-t6yzrmww.js +2 -0
  255. package/bundle/{chunk-bggybm9k.js → chunk-t8c4cs6z.js} +1 -1
  256. package/bundle/chunk-teb3k2sf.js +2 -0
  257. package/bundle/{chunk-ve3np791.js → chunk-tg226j37.js} +1 -1
  258. package/bundle/chunk-thrfabyv.js +35 -0
  259. package/bundle/{chunk-73fz0cf4.js → chunk-tkrwcjkr.js} +2 -2
  260. package/bundle/{chunk-v5z6sx6j.js → chunk-tm34qp8j.js} +1 -1
  261. package/bundle/chunk-tr6rdr6h.js +4 -0
  262. package/bundle/chunk-ts798jvf.js +2 -0
  263. package/bundle/{chunk-a550vst5.js → chunk-twp3mjj0.js} +9 -9
  264. package/bundle/chunk-tx5aj02v.js +2 -0
  265. package/bundle/chunk-v1t51rrq.js +2 -0
  266. package/bundle/{chunk-vk88jj60.js → chunk-v3arcn10.js} +1 -1
  267. package/bundle/{chunk-e586sjb0.js → chunk-vcygx6hs.js} +2 -2
  268. package/bundle/{chunk-86yk21g4.js → chunk-venprxdp.js} +1 -1
  269. package/bundle/{chunk-ywkvq7zb.js → chunk-vf492zs6.js} +1 -1
  270. package/bundle/chunk-vh9ptqn0.js +2 -0
  271. package/bundle/{chunk-w79jzf8w.js → chunk-vnrjk2be.js} +1 -1
  272. package/bundle/{chunk-8q5ns61h.js → chunk-vshycswk.js} +1 -1
  273. package/bundle/{chunk-8e6gx3gg.js → chunk-vsz4s6zt.js} +1 -1
  274. package/bundle/{chunk-vhe92p7a.js → chunk-vygkwwjd.js} +2 -2
  275. package/bundle/{chunk-9rxyq6f9.js → chunk-w46g7kdq.js} +2 -2
  276. package/bundle/{chunk-q128vfc6.js → chunk-w4brava0.js} +1 -1
  277. package/bundle/{chunk-drwqag0f.js → chunk-w4synhfg.js} +1 -1
  278. package/bundle/chunk-w72rctxz.js +2 -0
  279. package/bundle/{chunk-h2bmss2m.js → chunk-w88ve2pm.js} +1 -1
  280. package/bundle/{chunk-mxhb5adq.js → chunk-w9gzfsy7.js} +2 -2
  281. package/bundle/chunk-wbw9zv3h.js +2 -0
  282. package/bundle/{chunk-1sfcxdbw.js → chunk-wkg3c643.js} +2 -2
  283. package/bundle/{chunk-2bgqy6z7.js → chunk-wwdpw27v.js} +1 -1
  284. package/bundle/{chunk-km1n4ttr.js → chunk-wy3a4cab.js} +1 -1
  285. package/bundle/{chunk-tczbhj0e.js → chunk-wyj8cpx5.js} +1 -1
  286. package/bundle/{chunk-3888asr7.js → chunk-x65xbskr.js} +1 -1
  287. package/bundle/chunk-x6mw98c2.js +2 -0
  288. package/bundle/chunk-x749e61j.js +2 -0
  289. package/bundle/{chunk-8rh0femq.js → chunk-xdd3553a.js} +1 -1
  290. package/bundle/{chunk-2jpmxt4v.js → chunk-xdteq9bd.js} +1 -1
  291. package/bundle/{chunk-9y15zjxa.js → chunk-xe69cnsk.js} +1 -1
  292. package/bundle/chunk-xpjhe9gz.js +2 -0
  293. package/bundle/{chunk-8v6x712g.js → chunk-xv5z1bj6.js} +2 -2
  294. package/bundle/{chunk-bk3z400e.js → chunk-y0527cg0.js} +1 -1
  295. package/bundle/{chunk-hrw5rmj1.js → chunk-y29ejqg2.js} +1 -1
  296. package/bundle/{chunk-42r7z6sq.js → chunk-y67kaj0b.js} +1 -1
  297. package/bundle/chunk-y6p57wgh.js +2 -0
  298. package/bundle/chunk-y6xs8v17.js +2 -0
  299. package/bundle/{chunk-zdzxsyxs.js → chunk-y7hgevfv.js} +2 -2
  300. package/bundle/{chunk-k1gddnkm.js → chunk-ybane1en.js} +1 -1
  301. package/bundle/{chunk-k6cbfrzc.js → chunk-yhj01dz9.js} +2 -2
  302. package/bundle/chunk-ym09zrxe.js +3 -0
  303. package/bundle/{chunk-2xqqkf86.js → chunk-ypdt9mmr.js} +2 -2
  304. package/bundle/chunk-ytetprwr.js +2 -0
  305. package/bundle/{chunk-vm1ek7yf.js → chunk-yz25607t.js} +1 -1
  306. package/bundle/{chunk-ypcc3cnb.js → chunk-z1932c3f.js} +1 -1
  307. package/bundle/chunk-z3xsfpc6.js +2 -0
  308. package/bundle/{chunk-6ypafpg8.js → chunk-z6sbjvtv.js} +1 -1
  309. package/bundle/{chunk-ta7mfkms.js → chunk-zc0cdvcv.js} +2 -2
  310. package/bundle/chunk-zn5pw733.js +2 -0
  311. package/bundle/chunk-ztn9e8g1.js +2 -0
  312. package/bundle/{chunk-ywdtp534.js → chunk-ztyy3ga3.js} +2 -2
  313. package/bundle/chunk-zxwvnmea.js +2 -0
  314. package/bundle/chunk-zzznad30.js +2 -0
  315. package/bundle/index.js +18 -18
  316. package/bundle/parser.worker.js +2 -2
  317. package/bundle/qffi-compat.so +0 -0
  318. package/bundle/qffi.node +0 -0
  319. package/bundle/worker.js +1 -1
  320. package/package.json +1 -1
  321. package/bundle/chunk-0cdtq1r3.js +0 -2
  322. package/bundle/chunk-0ych0f5w.js +0 -2
  323. package/bundle/chunk-0yjdatm6.js +0 -3
  324. package/bundle/chunk-0ykeedfm.js +0 -2
  325. package/bundle/chunk-22hr3ndh.js +0 -2
  326. package/bundle/chunk-23tyxyyj.js +0 -2
  327. package/bundle/chunk-2517cev8.js +0 -2
  328. package/bundle/chunk-28g1ndpx.js +0 -2
  329. package/bundle/chunk-2avxtbv3.js +0 -2
  330. package/bundle/chunk-2faah8w1.js +0 -2
  331. package/bundle/chunk-2qk0k2eb.js +0 -2
  332. package/bundle/chunk-3c3xzz0g.js +0 -3
  333. package/bundle/chunk-42wdfks8.js +0 -2
  334. package/bundle/chunk-44y6dffe.js +0 -2
  335. package/bundle/chunk-4f19vqxf.js +0 -2
  336. package/bundle/chunk-4m3k1atq.js +0 -2
  337. package/bundle/chunk-4n2ytddp.js +0 -2
  338. package/bundle/chunk-4yg42p6y.js +0 -2
  339. package/bundle/chunk-4zx3ze68.js +0 -2
  340. package/bundle/chunk-637sjdzq.js +0 -2
  341. package/bundle/chunk-6h8f89tt.js +0 -2
  342. package/bundle/chunk-6sjj203r.js +0 -2
  343. package/bundle/chunk-79aka9xe.js +0 -2
  344. package/bundle/chunk-7nqdhe7x.js +0 -2
  345. package/bundle/chunk-7q003wdd.js +0 -4
  346. package/bundle/chunk-7x88b2n2.js +0 -2
  347. package/bundle/chunk-8apeexas.js +0 -3
  348. package/bundle/chunk-8mthftwc.js +0 -2
  349. package/bundle/chunk-8wdara3b.js +0 -2
  350. package/bundle/chunk-8xhzpnph.js +0 -2
  351. package/bundle/chunk-96sqbyvf.js +0 -2
  352. package/bundle/chunk-9akz8w0d.js +0 -2
  353. package/bundle/chunk-9etpppyv.js +0 -3
  354. package/bundle/chunk-9pnpmtb2.js +0 -2
  355. package/bundle/chunk-a5pbvp1f.js +0 -7
  356. package/bundle/chunk-a7p0x4sw.js +0 -2
  357. package/bundle/chunk-ae0a496j.js +0 -2
  358. package/bundle/chunk-aq1j9y18.js +0 -2
  359. package/bundle/chunk-aq8nz9hp.js +0 -2
  360. package/bundle/chunk-b4zy78be.js +0 -2
  361. package/bundle/chunk-basjzwqp.js +0 -2
  362. package/bundle/chunk-bhetpmgq.js +0 -3
  363. package/bundle/chunk-bm7xpjh6.js +0 -2
  364. package/bundle/chunk-c1bw1q75.js +0 -2
  365. package/bundle/chunk-c2k556rk.js +0 -2
  366. package/bundle/chunk-c47vp7ne.js +0 -2
  367. package/bundle/chunk-cbhgf058.js +0 -2
  368. package/bundle/chunk-d41mg7at.js +0 -2
  369. package/bundle/chunk-d50kpss6.js +0 -2
  370. package/bundle/chunk-day0rb5p.js +0 -2
  371. package/bundle/chunk-dp7cww4v.js +0 -2
  372. package/bundle/chunk-dy31mchw.js +0 -3
  373. package/bundle/chunk-e5rda9mx.js +0 -2
  374. package/bundle/chunk-e999xtfj.js +0 -2
  375. package/bundle/chunk-ehfxypks.js +0 -7610
  376. package/bundle/chunk-eyr0vf92.js +0 -2
  377. package/bundle/chunk-gbmmbhy4.js +0 -2
  378. package/bundle/chunk-gp877cq5.js +0 -2
  379. package/bundle/chunk-h4f582d6.js +0 -2
  380. package/bundle/chunk-h57c6ne3.js +0 -2
  381. package/bundle/chunk-hk8vvc10.js +0 -2
  382. package/bundle/chunk-hnrqhcgq.js +0 -2
  383. package/bundle/chunk-hwavzxdm.js +0 -2
  384. package/bundle/chunk-hwnc2sa5.js +0 -2
  385. package/bundle/chunk-hy86wfad.js +0 -2
  386. package/bundle/chunk-j17421hz.js +0 -2
  387. package/bundle/chunk-j2gvpa15.js +0 -2
  388. package/bundle/chunk-j7n8khk7.js +0 -2
  389. package/bundle/chunk-jkh98wby.js +0 -2
  390. package/bundle/chunk-k5a652s4.js +0 -2
  391. package/bundle/chunk-k6w32q2p.js +0 -2
  392. package/bundle/chunk-kghwk0yh.js +0 -2
  393. package/bundle/chunk-kh8de8re.js +0 -2
  394. package/bundle/chunk-mce8aa9y.js +0 -2
  395. package/bundle/chunk-me1ja46g.js +0 -2
  396. package/bundle/chunk-mgadsp7r.js +0 -2
  397. package/bundle/chunk-n0k0pp4k.js +0 -2
  398. package/bundle/chunk-n393nnh5.js +0 -2
  399. package/bundle/chunk-n5vyed7w.js +0 -2
  400. package/bundle/chunk-pasm65wq.js +0 -2
  401. package/bundle/chunk-phpmxjf8.js +0 -2
  402. package/bundle/chunk-q2q3dmg3.js +0 -2
  403. package/bundle/chunk-qvzvxsjw.js +0 -2
  404. package/bundle/chunk-racrb1b3.js +0 -2
  405. package/bundle/chunk-s0c0t6qr.js +0 -5
  406. package/bundle/chunk-sghy9s7m.js +0 -2
  407. package/bundle/chunk-skpkjnyy.js +0 -2
  408. package/bundle/chunk-skxhg212.js +0 -2
  409. package/bundle/chunk-snt4kwab.js +0 -2
  410. package/bundle/chunk-sq47t8f1.js +0 -2
  411. package/bundle/chunk-sqhgnvvs.js +0 -2
  412. package/bundle/chunk-t114r59h.js +0 -2
  413. package/bundle/chunk-t1f56k0j.js +0 -2
  414. package/bundle/chunk-t69jx6fz.js +0 -2
  415. package/bundle/chunk-tsb3jsx4.js +0 -2
  416. package/bundle/chunk-ttpbpzbh.js +0 -2
  417. package/bundle/chunk-v667egp5.js +0 -2
  418. package/bundle/chunk-vrv67tt0.js +0 -2
  419. package/bundle/chunk-wcx7hc2p.js +0 -635
  420. package/bundle/chunk-wv8qx8sa.js +0 -2
  421. package/bundle/chunk-xxrtr6sd.js +0 -2
  422. package/bundle/chunk-y2ptjam9.js +0 -3
  423. package/bundle/chunk-y6h35v4a.js +0 -2
  424. package/bundle/chunk-y72p79v2.js +0 -2
  425. package/bundle/chunk-y8eggnrr.js +0 -2
  426. package/bundle/chunk-y9q0f9qz.js +0 -2
  427. package/bundle/chunk-yck5h49c.js +0 -2
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-kdcnder5.js";import"./chunk-f83wv08n.js";var e={"ui.sessionReview.title":"Sitzungs\xE4nderungen","ui.sessionReview.title.lastTurn":"\xC4nderungen der letzten Runde","ui.sessionReview.diffStyle.unified":"Vereinheitlicht","ui.sessionReview.diffStyle.split":"Geteilt","ui.sessionReview.openFile":"Datei \xF6ffnen","ui.sessionReview.selection.line":"Zeile {{line}}","ui.sessionReview.selection.lines":"Zeilen {{start}}-{{end}}","ui.sessionReview.expandAll":"Alle erweitern","ui.sessionReview.collapseAll":"Alle reduzieren","ui.sessionReview.change.added":"Hinzugef\xFCgt","ui.sessionReview.change.removed":"Entfernt","ui.sessionReview.change.modified":"Ge\xE4ndert","ui.sessionReview.image.loading":"Wird geladen...","ui.sessionReview.image.placeholder":"Bild","ui.sessionReview.largeDiff.title":"Diff zu gro\xDF zum Rendern","ui.sessionReview.largeDiff.meta":"Limit: {{limit}} ge\xE4nderte Zeilen. Aktuell: {{current}} ge\xE4nderte Zeilen.","ui.sessionReview.largeDiff.renderAnyway":"Trotzdem rendern","ui.fileMedia.kind.image":"bild","ui.fileMedia.kind.audio":"audio","ui.fileMedia.state.removed":"{{kind}} entfernt","ui.fileMedia.state.loading":"{{kind}} wird geladen","ui.fileMedia.state.error":"Fehler bei {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} nicht verf\xFCgbar","ui.fileMedia.binary.title":"Bin\xE4rdatei","ui.fileMedia.binary.description.path":"{{path}} kann nicht angezeigt werden, da es sich um eine Bin\xE4rdatei handelt.","ui.fileMedia.binary.description.default":"Diese Datei kann nicht angezeigt werden, da es sich um eine Bin\xE4rdatei handelt.","ui.lineComment.label.prefix":"Kommentar zu ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Kommentiere ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Kommentar hinzuf\xFCgen","ui.lineComment.submit":"Kommentieren","ui.sessionTurn.steps.show":"Schritte anzeigen","ui.sessionTurn.steps.hide":"Schritte ausblenden","ui.sessionTurn.summary.response":"Antwort","ui.sessionTurn.diff.showMore":"Weitere \xC4nderungen anzeigen ({{count}})","ui.sessionTurn.retry.retrying":"erneuter Versuch","ui.sessionTurn.retry.inSeconds":"in {{seconds}}s","ui.sessionTurn.retry.attempt":"Versuch #{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - Versuch #{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini ist gerade sehr \xFCberlastet","ui.sessionTurn.error.freeUsageExceeded":"Kostenloses Nutzungslimit \xFCberschritten","ui.sessionTurn.error.addQredits":"Guthaben aufladen","ui.sessionTurn.status.delegating":"Arbeit delegieren","ui.sessionTurn.status.planning":"N\xE4chste Schritte planen","ui.sessionTurn.status.gatheringContext":"Erkunden","ui.sessionTurn.status.gatheredContext":"Erkundet","ui.sessionTurn.status.searchingCodebase":"Codebasis durchsuchen","ui.sessionTurn.status.searchingWeb":"Web durchsuchen","ui.sessionTurn.status.makingEdits":"\xC4nderungen vornehmen","ui.sessionTurn.status.runningCommands":"Befehle ausf\xFChren","ui.sessionTurn.status.thinking":"Denken","ui.sessionTurn.status.thinkingWithTopic":"Denken - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"Gedanken sammeln","ui.sessionTurn.status.consideringNextSteps":"N\xE4chste Schritte erw\xE4gen","ui.messagePart.questions.dismissed":"Fragen verworfen","ui.messagePart.compaction":"Sitzung komprimiert","ui.messagePart.context.read.one":"{{count}} Lesevorgang","ui.messagePart.context.read.other":"{{count}} Lesevorg\xE4nge","ui.messagePart.context.search.one":"{{count}} Suche","ui.messagePart.context.search.other":"{{count}} Suchen","ui.messagePart.context.list.one":"{{count}} Liste","ui.messagePart.context.list.other":"{{count}} Listen","ui.messagePart.diagnostic.error":"Fehler","ui.messagePart.title.edit":"Bearbeiten","ui.messagePart.title.write":"Schreiben","ui.messagePart.option.typeOwnAnswer":"Eigene Antwort eingeben","ui.messagePart.review.title":"Antworten \xFCberpr\xFCfen","ui.list.loading":"Laden","ui.list.empty":"Keine Ergebnisse","ui.list.clearFilter":"Filter l\xF6schen","ui.list.emptyWithFilter.prefix":"Keine Ergebnisse f\xFCr","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Neue Nachricht","ui.textField.copyToClipboard":"In die Zwischenablage kopieren","ui.textField.copyLink":"Link kopieren","ui.textField.copied":"Kopiert","ui.imagePreview.alt":"Bildvorschau","ui.scrollView.ariaLabel":"scrollbarer Inhalt","ui.tool.read":"Lesen","ui.tool.loaded":"Geladen","ui.tool.list":"Auflisten","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webabruf","ui.tool.websearch":"Websuche","ui.tool.codesearch":"Codesuche","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"Aufgaben","ui.tool.todos.read":"Aufgaben lesen","ui.tool.questions":"Fragen","ui.tool.agent":"{{type}} Agent","ui.tool.agent.default":"Agent","ui.common.file.one":"Datei","ui.common.file.other":"Dateien","ui.common.question.one":"Frage","ui.common.question.other":"Fragen","ui.common.add":"Hinzuf\xFCgen","ui.common.back":"Zur\xFCck","ui.common.cancel":"Abbrechen","ui.common.confirm":"Best\xE4tigen","ui.common.dismiss":"Verwerfen","ui.common.close":"Schlie\xDFen","ui.common.next":"Weiter","ui.common.submit":"Absenden","ui.permission.deny":"Verweigern","ui.permission.allowAlways":"Immer erlauben","ui.permission.allowOnce":"Einmal erlauben","ui.message.expand":"Nachricht erweitern","ui.message.collapse":"Nachricht reduzieren","ui.message.copy":"Kopieren","ui.message.copyMessage":"Nachricht kopieren","ui.message.forkMessage":"In neue Sitzung abzweigen","ui.message.revertMessage":"Auf diesen Punkt zur\xFCcksetzen","ui.message.copyResponse":"Antwort kopieren","ui.message.copied":"Kopiert!","ui.message.interrupted":"Unterbrochen","ui.message.queued":"In Warteschlange","ui.message.attachment.alt":"Anhang","ui.patch.action.deleted":"Gel\xF6scht","ui.patch.action.created":"Erstellt","ui.patch.action.moved":"Verschoben","ui.patch.action.patched":"Gepatched","ui.question.subtitle.answered":"{{count}} beantwortet","ui.question.answer.none":"(keine Antwort)","ui.question.review.notAnswered":"(nicht beantwortet)","ui.question.multiHint":"Alle zutreffenden ausw\xE4hlen","ui.question.singleHint":"Eine Antwort ausw\xE4hlen","ui.question.custom.placeholder":"Geben Sie Ihre Antwort ein...","ui.fileSearch.placeholder":"Suchen","ui.fileSearch.previousMatch":"Vorheriges Ergebnis","ui.fileSearch.nextMatch":"N\xE4chstes Ergebnis","ui.fileSearch.close":"Suche schlie\xDFen","ui.tool.task":"Aufgabe","ui.tool.skill":"F\xE4higkeit","ui.basicTool.called":"`{{tool}}` aufgerufen","ui.toolErrorCard.failed":"Fehlgeschlagen","ui.toolErrorCard.copyError":"Fehler kopieren","ui.message.duration.seconds":"{{count}}s","ui.message.duration.minutesSeconds":"{{minutes}}m {{seconds}}s"};export{e as dict};
2
+ import"./chunk-8wwdrwf2.js";import"./chunk-r9w0thdk.js";var e={"ui.sessionReview.title":"Sitzungs\xE4nderungen","ui.sessionReview.title.lastTurn":"\xC4nderungen der letzten Runde","ui.sessionReview.diffStyle.unified":"Vereinheitlicht","ui.sessionReview.diffStyle.split":"Geteilt","ui.sessionReview.openFile":"Datei \xF6ffnen","ui.sessionReview.selection.line":"Zeile {{line}}","ui.sessionReview.selection.lines":"Zeilen {{start}}-{{end}}","ui.sessionReview.expandAll":"Alle erweitern","ui.sessionReview.collapseAll":"Alle reduzieren","ui.sessionReview.change.added":"Hinzugef\xFCgt","ui.sessionReview.change.removed":"Entfernt","ui.sessionReview.change.modified":"Ge\xE4ndert","ui.sessionReview.image.loading":"Wird geladen...","ui.sessionReview.image.placeholder":"Bild","ui.sessionReview.largeDiff.title":"Diff zu gro\xDF zum Rendern","ui.sessionReview.largeDiff.meta":"Limit: {{limit}} ge\xE4nderte Zeilen. Aktuell: {{current}} ge\xE4nderte Zeilen.","ui.sessionReview.largeDiff.renderAnyway":"Trotzdem rendern","ui.fileMedia.kind.image":"bild","ui.fileMedia.kind.audio":"audio","ui.fileMedia.state.removed":"{{kind}} entfernt","ui.fileMedia.state.loading":"{{kind}} wird geladen","ui.fileMedia.state.error":"Fehler bei {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} nicht verf\xFCgbar","ui.fileMedia.binary.title":"Bin\xE4rdatei","ui.fileMedia.binary.description.path":"{{path}} kann nicht angezeigt werden, da es sich um eine Bin\xE4rdatei handelt.","ui.fileMedia.binary.description.default":"Diese Datei kann nicht angezeigt werden, da es sich um eine Bin\xE4rdatei handelt.","ui.lineComment.label.prefix":"Kommentar zu ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Kommentiere ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Kommentar hinzuf\xFCgen","ui.lineComment.submit":"Kommentieren","ui.sessionTurn.steps.show":"Schritte anzeigen","ui.sessionTurn.steps.hide":"Schritte ausblenden","ui.sessionTurn.summary.response":"Antwort","ui.sessionTurn.diff.showMore":"Weitere \xC4nderungen anzeigen ({{count}})","ui.sessionTurn.retry.retrying":"erneuter Versuch","ui.sessionTurn.retry.inSeconds":"in {{seconds}}s","ui.sessionTurn.retry.attempt":"Versuch #{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - Versuch #{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini ist gerade sehr \xFCberlastet","ui.sessionTurn.error.freeUsageExceeded":"Kostenloses Nutzungslimit \xFCberschritten","ui.sessionTurn.error.addQredits":"Guthaben aufladen","ui.sessionTurn.status.delegating":"Arbeit delegieren","ui.sessionTurn.status.planning":"N\xE4chste Schritte planen","ui.sessionTurn.status.gatheringContext":"Erkunden","ui.sessionTurn.status.gatheredContext":"Erkundet","ui.sessionTurn.status.searchingCodebase":"Codebasis durchsuchen","ui.sessionTurn.status.searchingWeb":"Web durchsuchen","ui.sessionTurn.status.makingEdits":"\xC4nderungen vornehmen","ui.sessionTurn.status.runningCommands":"Befehle ausf\xFChren","ui.sessionTurn.status.thinking":"Denken","ui.sessionTurn.status.thinkingWithTopic":"Denken - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"Gedanken sammeln","ui.sessionTurn.status.consideringNextSteps":"N\xE4chste Schritte erw\xE4gen","ui.messagePart.questions.dismissed":"Fragen verworfen","ui.messagePart.compaction":"Sitzung komprimiert","ui.messagePart.context.read.one":"{{count}} Lesevorgang","ui.messagePart.context.read.other":"{{count}} Lesevorg\xE4nge","ui.messagePart.context.search.one":"{{count}} Suche","ui.messagePart.context.search.other":"{{count}} Suchen","ui.messagePart.context.list.one":"{{count}} Liste","ui.messagePart.context.list.other":"{{count}} Listen","ui.messagePart.diagnostic.error":"Fehler","ui.messagePart.title.edit":"Bearbeiten","ui.messagePart.title.write":"Schreiben","ui.messagePart.option.typeOwnAnswer":"Eigene Antwort eingeben","ui.messagePart.review.title":"Antworten \xFCberpr\xFCfen","ui.list.loading":"Laden","ui.list.empty":"Keine Ergebnisse","ui.list.clearFilter":"Filter l\xF6schen","ui.list.emptyWithFilter.prefix":"Keine Ergebnisse f\xFCr","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Neue Nachricht","ui.textField.copyToClipboard":"In die Zwischenablage kopieren","ui.textField.copyLink":"Link kopieren","ui.textField.copied":"Kopiert","ui.imagePreview.alt":"Bildvorschau","ui.scrollView.ariaLabel":"scrollbarer Inhalt","ui.tool.read":"Lesen","ui.tool.loaded":"Geladen","ui.tool.list":"Auflisten","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webabruf","ui.tool.websearch":"Websuche","ui.tool.codesearch":"Codesuche","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"Aufgaben","ui.tool.todos.read":"Aufgaben lesen","ui.tool.questions":"Fragen","ui.tool.agent":"{{type}} Agent","ui.tool.agent.default":"Agent","ui.common.file.one":"Datei","ui.common.file.other":"Dateien","ui.common.question.one":"Frage","ui.common.question.other":"Fragen","ui.common.add":"Hinzuf\xFCgen","ui.common.back":"Zur\xFCck","ui.common.cancel":"Abbrechen","ui.common.confirm":"Best\xE4tigen","ui.common.dismiss":"Verwerfen","ui.common.close":"Schlie\xDFen","ui.common.next":"Weiter","ui.common.submit":"Absenden","ui.permission.deny":"Verweigern","ui.permission.allowAlways":"Immer erlauben","ui.permission.allowOnce":"Einmal erlauben","ui.message.expand":"Nachricht erweitern","ui.message.collapse":"Nachricht reduzieren","ui.message.copy":"Kopieren","ui.message.copyMessage":"Nachricht kopieren","ui.message.forkMessage":"In neue Sitzung abzweigen","ui.message.revertMessage":"Auf diesen Punkt zur\xFCcksetzen","ui.message.copyResponse":"Antwort kopieren","ui.message.copied":"Kopiert!","ui.message.interrupted":"Unterbrochen","ui.message.queued":"In Warteschlange","ui.message.attachment.alt":"Anhang","ui.patch.action.deleted":"Gel\xF6scht","ui.patch.action.created":"Erstellt","ui.patch.action.moved":"Verschoben","ui.patch.action.patched":"Gepatched","ui.question.subtitle.answered":"{{count}} beantwortet","ui.question.answer.none":"(keine Antwort)","ui.question.review.notAnswered":"(nicht beantwortet)","ui.question.multiHint":"Alle zutreffenden ausw\xE4hlen","ui.question.singleHint":"Eine Antwort ausw\xE4hlen","ui.question.custom.placeholder":"Geben Sie Ihre Antwort ein...","ui.fileSearch.placeholder":"Suchen","ui.fileSearch.previousMatch":"Vorheriges Ergebnis","ui.fileSearch.nextMatch":"N\xE4chstes Ergebnis","ui.fileSearch.close":"Suche schlie\xDFen","ui.tool.task":"Aufgabe","ui.tool.skill":"F\xE4higkeit","ui.basicTool.called":"`{{tool}}` aufgerufen","ui.toolErrorCard.failed":"Fehlgeschlagen","ui.toolErrorCard.copyError":"Fehler kopieren","ui.message.duration.seconds":"{{count}}s","ui.message.duration.minutesSeconds":"{{minutes}}m {{seconds}}s"};export{e as dict};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{A as g,u as a,v as b,w as c,x as d,y as e,z as f}from"./chunk-aj1sgq1d.js";import"./chunk-7j4qne3q.js";import"./chunk-snqa3zsm.js";import"./chunk-9zm6r55d.js";import"./chunk-vcygx6hs.js";import"./chunk-xv5z1bj6.js";import"./chunk-73r8bjjz.js";import"./chunk-w88ve2pm.js";import"./chunk-ztyy3ga3.js";import"./chunk-mmjgf680.js";import"./chunk-nj1ntakd.js";import"./chunk-tkrwcjkr.js";import"./chunk-09geev0j.js";import"./chunk-r5zy4za0.js";import"./chunk-tr6rdr6h.js";import"./chunk-at22twxx.js";import"./chunk-kgptyf7n.js";import"./chunk-j9h1sp4g.js";import"./chunk-p6crzjtf.js";import"./chunk-55fcmswd.js";import"./chunk-qnvsqnz5.js";import"./chunk-r9w0thdk.js";export{e as waitForDependencies,c as layer,f as get,d as defaultLayer,g as TuiConfig,b as Service,a as Info};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{if as j}from"./chunk-64c8q9zg.js";import{Af as w,Bf as D}from"./chunk-grw4gg9j.js";import{Qp as Z,Xp as $,wp as Q}from"./chunk-my3cswnp.js";import{hq as P}from"./chunk-4mvg7jt1.js";import"./chunk-cqtkxwd8.js";import"./chunk-wf4x5cjc.js";import"./chunk-9ea1n338.js";import"./chunk-ngvp6zc2.js";import{LO as G}from"./chunk-f83wv08n.js";var y=G(j(),1);var K=null,Y=null;function E(f){if(!K||f!==Y)K=new y.GoogleAuth({scopes:["https://www.googleapis.com/auth/cloud-platform"],...f}),Y=f;return K}async function N(f){let q=await(await E(f||{}).getClient()).getAccessToken();return(q==null?void 0:q.token)||null}var b={bash_20241022:D.bash_20241022,bash_20250124:D.bash_20250124,textEditor_20241022:D.textEditor_20241022,textEditor_20250124:D.textEditor_20250124,textEditor_20250429:D.textEditor_20250429,textEditor_20250728:D.textEditor_20250728,computer_20241022:D.computer_20241022,webSearch_20250305:D.webSearch_20250305,toolSearchRegex_20251119:D.toolSearchRegex_20251119,toolSearchBm25_20251119:D.toolSearchBm25_20251119};function V(f={}){let W=()=>{var z;let F=Q({settingValue:f.location,environmentVariableName:"GOOGLE_VERTEX_LOCATION"}),J=Q({settingValue:f.project,environmentVariableName:"GOOGLE_VERTEX_PROJECT"});return(z=$(f.baseURL))!=null?z:`https://${F==="global"?"":F+"-"}aiplatform.googleapis.com/v1/projects/${J}/locations/${F}/publishers/anthropic/models`},H=(z)=>{var F;return new w(z,{provider:"vertex.anthropic.messages",baseURL:W(),headers:(F=f.headers)!=null?F:{},fetch:f.fetch,buildRequestUrl:(J,X)=>`${J}/${z}:${X?"streamRawPredict":"rawPredict"}`,transformRequestBody:(J)=>{let{model:X,...B}=J;return{...B,anthropic_version:"vertex-2023-10-16"}},supportedUrls:()=>({}),supportsNativeStructuredOutput:!1,supportsStrictTools:!1})},q=function(z){if(new.target)throw Error("The Anthropic model function cannot be called with the new keyword.");return H(z)};return q.specificationVersion="v3",q.languageModel=H,q.chat=H,q.messages=H,q.embeddingModel=(z)=>{throw new P({modelId:z,modelType:"embeddingModel"})},q.textEmbeddingModel=q.embeddingModel,q.imageModel=(z)=>{throw new P({modelId:z,modelType:"imageModel"})},q.tools=b,q}function C(f={}){return V({...f,headers:async()=>({Authorization:`Bearer ${await N(f.googleAuthOptions)}`,...await Z(f.headers)})})}var L=C();export{L as vertexAnthropic,C as createVertexAnthropic};
2
+ import{tf as j}from"./chunk-c36p881g.js";import{Lf as w,Mf as D}from"./chunk-mjjaezwq.js";import{Gp as $,fp as Q,zp as Z}from"./chunk-ph8hn1wt.js";import{Sp as P}from"./chunk-ptqk1j2r.js";import"./chunk-cqtkxwd8.js";import"./chunk-pr7z5dj8.js";import"./chunk-j9h1sp4g.js";import"./chunk-p6crzjtf.js";import{sO as G}from"./chunk-r9w0thdk.js";var y=G(j(),1);var K=null,Y=null;function E(f){if(!K||f!==Y)K=new y.GoogleAuth({scopes:["https://www.googleapis.com/auth/cloud-platform"],...f}),Y=f;return K}async function N(f){let q=await(await E(f||{}).getClient()).getAccessToken();return(q==null?void 0:q.token)||null}var b={bash_20241022:D.bash_20241022,bash_20250124:D.bash_20250124,textEditor_20241022:D.textEditor_20241022,textEditor_20250124:D.textEditor_20250124,textEditor_20250429:D.textEditor_20250429,textEditor_20250728:D.textEditor_20250728,computer_20241022:D.computer_20241022,webSearch_20250305:D.webSearch_20250305,toolSearchRegex_20251119:D.toolSearchRegex_20251119,toolSearchBm25_20251119:D.toolSearchBm25_20251119};function V(f={}){let W=()=>{var z;let F=Q({settingValue:f.location,environmentVariableName:"GOOGLE_VERTEX_LOCATION"}),J=Q({settingValue:f.project,environmentVariableName:"GOOGLE_VERTEX_PROJECT"});return(z=$(f.baseURL))!=null?z:`https://${F==="global"?"":F+"-"}aiplatform.googleapis.com/v1/projects/${J}/locations/${F}/publishers/anthropic/models`},H=(z)=>{var F;return new w(z,{provider:"vertex.anthropic.messages",baseURL:W(),headers:(F=f.headers)!=null?F:{},fetch:f.fetch,buildRequestUrl:(J,X)=>`${J}/${z}:${X?"streamRawPredict":"rawPredict"}`,transformRequestBody:(J)=>{let{model:X,...B}=J;return{...B,anthropic_version:"vertex-2023-10-16"}},supportedUrls:()=>({}),supportsNativeStructuredOutput:!1,supportsStrictTools:!1})},q=function(z){if(new.target)throw Error("The Anthropic model function cannot be called with the new keyword.");return H(z)};return q.specificationVersion="v3",q.languageModel=H,q.chat=H,q.messages=H,q.embeddingModel=(z)=>{throw new P({modelId:z,modelType:"embeddingModel"})},q.textEmbeddingModel=q.embeddingModel,q.imageModel=(z)=>{throw new P({modelId:z,modelType:"imageModel"})},q.tools=b,q}function C(f={}){return V({...f,headers:async()=>({Authorization:`Bearer ${await N(f.googleAuthOptions)}`,...await Z(f.headers)})})}var L=C();export{L as vertexAnthropic,C as createVertexAnthropic};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$i as e,Aj as F,Bj as G,Cj as H,Dj as I,Ej as J,Fj as K,Gj as L,Hj as M,Ij as N,Jj as O,Kj as P,Lj as Q,Mj as R,Xi as a,Yi as b,Zi as c,_i as d,aj as f,bj as g,cj as h,dj as i,ej as j,fj as k,gj as l,hj as m,ij as n,jj as o,kj as p,lj as q,mj as r,nj as s,oj as t,pj as u,qj as v,rj as w,sj as x,tj as y,uj as z,vj as A,wj as B,xj as C,yj as D,zj as E}from"./chunk-vhe92p7a.js";import"./chunk-wf4x5cjc.js";import"./chunk-f83wv08n.js";export{Q as zodToJsonSchema,u as zodPatterns,g as setResponseValueAndErrors,O as selectParser,B as primitiveMappings,M as parseUnknownDef,C as parseUnionDef,L as parseUndefinedDef,K as parseTupleDef,v as parseStringDef,J as parseSetDef,w as parseRecordDef,N as parseReadonlyDef,I as parsePromiseDef,H as parsePipelineDef,G as parseOptionalDef,F as parseObjectDef,E as parseNumberDef,D as parseNullableDef,A as parseNullDef,z as parseNeverDef,y as parseNativeEnumDef,x as parseMapDef,t as parseLiteralDef,s as parseIntersectionDef,r as parseEnumDef,q as parseEffectsDef,p as parseDefaultDef,P as parseDef,o as parseDateDef,n as parseCatchDef,m as parseBrandedDef,l as parseBooleanDef,k as parseBigintDef,j as parseArrayDef,i as parseAnyDef,b as jsonDescription,a as ignoreOverride,h as getRelativePath,e as getRefs,d as getDefaultOptions,c as defaultOptions,R as default,f as addErrorMessage};
2
+ import{$i as v,Gi as a,Hi as b,Ii as c,Ji as d,Ki as e,Li as f,Mi as g,Ni as h,Oi as i,Pi as j,Qi as k,Ri as l,Si as m,Ti as n,Ui as o,Vi as p,Wi as q,Xi as r,Yi as s,Zi as t,_i as u,aj as w,bj as x,cj as y,dj as z,ej as A,fj as B,gj as C,hj as D,ij as E,jj as F,kj as G,lj as H,mj as I,nj as J,oj as K,pj as L,qj as M,rj as N,sj as O,tj as P,uj as Q,vj as R}from"./chunk-vygkwwjd.js";import"./chunk-pr7z5dj8.js";import"./chunk-r9w0thdk.js";export{Q as zodToJsonSchema,u as zodPatterns,g as setResponseValueAndErrors,O as selectParser,B as primitiveMappings,M as parseUnknownDef,C as parseUnionDef,L as parseUndefinedDef,K as parseTupleDef,v as parseStringDef,J as parseSetDef,w as parseRecordDef,N as parseReadonlyDef,I as parsePromiseDef,H as parsePipelineDef,G as parseOptionalDef,F as parseObjectDef,E as parseNumberDef,D as parseNullableDef,A as parseNullDef,z as parseNeverDef,y as parseNativeEnumDef,x as parseMapDef,t as parseLiteralDef,s as parseIntersectionDef,r as parseEnumDef,q as parseEffectsDef,p as parseDefaultDef,P as parseDef,o as parseDateDef,n as parseCatchDef,m as parseBrandedDef,l as parseBooleanDef,k as parseBigintDef,j as parseArrayDef,i as parseAnyDef,b as jsonDescription,a as ignoreOverride,h as getRelativePath,e as getRefs,d as getDefaultOptions,c as defaultOptions,R as default,f as addErrorMessage};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{wO as t}from"./chunk-r9w0thdk.js";var e=await import("./chunk-rmgs9nmj.js",{with:{type:"file"}}),a=e.default;export{a as default};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  var o=[{test:(a)=>a.startsWith("en"),locale:"en"},{test:(a)=>a.startsWith("zh")&&/(hant|tw|hk|mo)/.test(a),locale:"zht"},{test:(a)=>a.startsWith("zh"),locale:"zh"},{test:(a)=>a.startsWith("ko"),locale:"ko"},{test:(a)=>a.startsWith("de"),locale:"de"},{test:(a)=>a.startsWith("es"),locale:"es"},{test:(a)=>a.startsWith("fr"),locale:"fr"},{test:(a)=>a.startsWith("da"),locale:"da"},{test:(a)=>a.startsWith("ja"),locale:"ja"},{test:(a)=>a.startsWith("pl"),locale:"pl"},{test:(a)=>a.startsWith("ru"),locale:"ru"},{test:(a)=>a.startsWith("ar"),locale:"ar"},{test:(a)=>/^(no|nb|nn)/.test(a),locale:"no"},{test:(a)=>a.startsWith("pt")&&/br/.test(a),locale:"br"},{test:(a)=>a.startsWith("pt"),locale:"pt"},{test:(a)=>a.startsWith("th"),locale:"th"},{test:(a)=>a.startsWith("bs"),locale:"bs"},{test:(a)=>a.startsWith("tr"),locale:"tr"}],s=new Set(["Asia/Shanghai","Asia/Chongqing","Asia/Harbin","Asia/Urumqi","Asia/Kashgar"]),A=new Set(["Asia/Hong_Kong","Asia/Macau","Asia/Macao","Asia/Taipei"]),m=new Set(["Asia/Tokyo"]),l=new Set(["Europe/Paris","Europe/Monaco","Indian/Reunion","Indian/Mayotte","Pacific/Noumea","Pacific/Tahiti","Pacific/Marquesas","Pacific/Gambier","America/Martinique","America/Guadeloupe","America/St_Barthelemy","America/Cayenne","America/Miquelon"]),u=new Set(["Europe/Moscow","Europe/Kaliningrad","Europe/Samara","Europe/Volgograd","Europe/Saratov","Europe/Astrakhan","Europe/Kirov","Europe/Ulyanovsk","Europe/Simferopol","Europe/Minsk","Asia/Yekaterinburg","Asia/Omsk","Asia/Novosibirsk","Asia/Novokuznetsk","Asia/Krasnoyarsk","Asia/Irkutsk","Asia/Chita","Asia/Yakutsk","Asia/Khandyga","Asia/Vladivostok","Asia/Ust-Nera","Asia/Magadan","Asia/Sakhalin","Asia/Srednekolymsk","Asia/Kamchatka","Asia/Anadyr","Asia/Barnaul","Asia/Tomsk"]),h=new Set(["Europe/Madrid","Atlantic/Canary","Africa/Ceuta","America/Mexico_City","America/Tijuana","America/Hermosillo","America/Mazatlan","America/Chihuahua","America/Monterrey","America/Cancun","America/Merida","America/Matamoros","America/Bahia_Banderas","America/Ojinaga","America/Havana","America/Santo_Domingo","America/Puerto_Rico","America/Panama","America/Guatemala","America/Tegucigalpa","America/Managua","America/Costa_Rica","America/El_Salvador","America/Bogota","America/Caracas","America/Guayaquil","America/Lima","America/La_Paz","America/Asuncion","America/Montevideo","America/Santiago","America/Punta_Arenas","Pacific/Easter","America/Argentina/Buenos_Aires","America/Argentina/Cordoba","America/Argentina/Salta","America/Argentina/Jujuy","America/Argentina/Tucuman","America/Argentina/Catamarca","America/Argentina/La_Rioja","America/Argentina/San_Juan","America/Argentina/Mendoza","America/Argentina/San_Luis","America/Argentina/Rio_Gallegos","America/Argentina/Ushuaia"]),d=new Set(["America/New_York","America/Detroit","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Indiana/Indianapolis","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Vevay","America/Indiana/Tell_City","America/Indiana/Knox","America/Chicago","America/Menominee","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/North_Dakota/Beulah","America/Denver","America/Boise","America/Phoenix","America/Los_Angeles","America/Anchorage","America/Juneau","America/Sitka","America/Metlakatla","America/Yakutat","America/Nome","America/Adak","Pacific/Honolulu","America/Toronto","America/Vancouver","America/Edmonton","America/Winnipeg","America/Halifax","America/St_Johns","America/Regina","America/Whitehorse","Europe/London","Europe/Belfast","Europe/Dublin","Australia/Sydney","Australia/Melbourne","Australia/Brisbane","Australia/Perth","Australia/Adelaide","Australia/Hobart","Australia/Darwin","Pacific/Auckland"]);function g(){try{let a=Intl.DateTimeFormat().resolvedOptions().timeZone;if(!a)return;if(A.has(a))return"zht";if(s.has(a))return"zh";if(m.has(a))return"ja";if(u.has(a))return"ru";if(l.has(a))return"fr";if(h.has(a))return"es";if(d.has(a))return"en"}catch{}return}function f(){let a=g();if(a)return a;for(let t of["LC_ALL","LC_MESSAGES","LANG","LANGUAGE"]){let e=process.env[t];if(!e)continue;for(let r of e.split(":")){let i=r.replace(/[.@].*$/,"").replace(/_/g,"-").toLowerCase();if(!i||i==="c"||i==="posix")continue;let n=o.find((c)=>c.test(i));if(n)return n.locale}}try{let t=Intl.DateTimeFormat().resolvedOptions().locale.toLowerCase(),e=o.find((r)=>r.test(t));if(e)return e.locale}catch{}return"en"}
3
- export{f as I};
3
+ export{f as T};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-r9w0thdk.js";var l="./tree-sitter-javascript-nd0q4pe9.wasm";export{l as default};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import"./chunk-r9w0thdk.js";var E="./tree-sitter-markdown_inline-j5349f42.wasm";export{E as default};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Be as C}from"./chunk-y4e7e42x.js";import{wf as A}from"./chunk-3tmq81kq.js";import{LO as _}from"./chunk-f83wv08n.js";var S=_(C(),1),p=_(A(),1),N="AWS_ACCESS_KEY_ID",a="AWS_SECRET_ACCESS_KEY",i="AWS_SESSION_TOKEN",I="AWS_CREDENTIAL_EXPIRATION",d="AWS_CREDENTIAL_SCOPE",v="AWS_ACCOUNT_ID",T=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let o=process.env[N],r=process.env[a],n=process.env[i],s=process.env[I],t=process.env[d],E=process.env[v];if(o&&r){let c={accessKeyId:o,secretAccessKey:r,...n&&{sessionToken:n},...s&&{expiration:new Date(s)},...t&&{credentialScope:t},...E&&{accountId:E}};return S.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new p.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};export{N as le,a as me,i as ne,I as oe,d as pe,v as qe,T as re};
2
+ import{Me as C}from"./chunk-bne5w117.js";import{Hf as A}from"./chunk-2drzgtv3.js";import{sO as _}from"./chunk-r9w0thdk.js";var S=_(C(),1),p=_(A(),1),N="AWS_ACCESS_KEY_ID",a="AWS_SECRET_ACCESS_KEY",i="AWS_SESSION_TOKEN",I="AWS_CREDENTIAL_EXPIRATION",d="AWS_CREDENTIAL_SCOPE",v="AWS_ACCOUNT_ID",T=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let o=process.env[N],r=process.env[a],n=process.env[i],s=process.env[I],t=process.env[d],E=process.env[v];if(o&&r){let c={accessKeyId:o,secretAccessKey:r,...n&&{sessionToken:n},...s&&{expiration:new Date(s)},...t&&{credentialScope:t},...E&&{accountId:E}};return S.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new p.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};export{N as we,a as xe,i as ye,I as ze,d as Ae,v as Be,T as Ce};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{rs as A}from"./chunk-73fz0cf4.js";import{ts as B}from"./chunk-0cdtq1r3.js";import{Ws as O,Xs as Q,Ys as X}from"./chunk-tj3rem3q.js";function W(j,z){return typeof j==="object"&&j!==null&&"_tag"in j&&j._tag===z}function f(j){let z=O(j),J=typeof j==="object"&&j!==null&&"name"in j&&typeof j.name==="string"?j.name:z?.errorName,K=typeof j==="object"&&j!==null&&"data"in j&&typeof j.data==="object"&&j.data!==null&&"message"in j.data&&typeof j.data.message==="string"?j.data.message:void 0;if(J==="UnknownError"||z){let v=z??Q(j,J??"UnknownError"),G=K&&!K.startsWith("{")?K:"QitQode could not explain this failure.",L=v?` [${v.errorName}, error id ${v.errorID}${v.logFile?`; log: ${v.logFile}`:""}]`:"";return G+L}if(A.hasName(j,"MCPFailed"))return`MCP server "${j.data?.name}" failed. Note, qitqode does not support MCP authentication yet.`;if(W(j,"AccountServiceError")||W(j,"AccountTransportError"))return j.message??"";if(A.hasName(j,"ProviderModelNotFoundError")){let v=j.data,G=Array.isArray(v?.suggestions)?v.suggestions:[];return[`Model not found: ${v?.providerID}/${v?.modelID}`,...G.length?["Did you mean: "+G.join(", ")]:[],"Try: `qitqode models` to list available models","Or check your config (qitqode.json) provider/model names"].join(`
2
+ import{as as A}from"./chunk-tkrwcjkr.js";import{cs as B}from"./chunk-ztn9e8g1.js";import{Fs as O,Gs as Q,Hs as X}from"./chunk-r5zy4za0.js";function W(j,z){return typeof j==="object"&&j!==null&&"_tag"in j&&j._tag===z}function f(j){let z=O(j),J=typeof j==="object"&&j!==null&&"name"in j&&typeof j.name==="string"?j.name:z?.errorName,K=typeof j==="object"&&j!==null&&"data"in j&&typeof j.data==="object"&&j.data!==null&&"message"in j.data&&typeof j.data.message==="string"?j.data.message:void 0;if(J==="UnknownError"||z){let v=z??Q(j,J??"UnknownError"),G=K&&!K.startsWith("{")?K:"QitQode could not explain this failure.",L=v?` [${v.errorName}, error id ${v.errorID}${v.logFile?`; log: ${v.logFile}`:""}]`:"";return G+L}if(A.hasName(j,"MCPFailed"))return`MCP server "${j.data?.name}" failed. Note, qitqode does not support MCP authentication yet.`;if(W(j,"AccountServiceError")||W(j,"AccountTransportError"))return j.message??"";if(A.hasName(j,"ProviderModelNotFoundError")){let v=j.data,G=Array.isArray(v?.suggestions)?v.suggestions:[];return[`Model not found: ${v?.providerID}/${v?.modelID}`,...G.length?["Did you mean: "+G.join(", ")]:[],"Try: `qitqode models` to list available models","Or check your config (qitqode.json) provider/model names"].join(`
3
3
  `)}if(A.hasName(j,"ProviderInitError"))return`Failed to initialize provider "${j.data?.providerID}". Check credentials and configuration.`;if(A.hasName(j,"ConfigJsonError")){let v=j.data;return`Config file at ${v?.path} is not valid JSON(C)`+(v?.message?`: ${v.message}`:"")}if(A.hasName(j,"ConfigDirectoryTypoError")){let v=j.data;return`Directory "${v?.dir}" in ${v?.path} is not valid. Rename the directory to "${v?.suggestion}" or remove it. This is a common typo.`}if(A.hasName(j,"ConfigFrontmatterError"))return j.data?.message??"";if(A.hasName(j,"ConfigInvalidError")){let v=j.data,G=v?.path,L=v?.message,Y=Array.isArray(v?.issues)?v.issues:[];return[`Configuration is invalid${G&&G!=="config"?` at ${G}`:""}`+(L?`: ${L}`:""),...Y.map((V)=>"\u21B3 "+V.message+" "+V.path.join("."))].join(`
4
4
  `)}if(A.hasName(j,"UICancelledError"))return"";let H=typeof j==="object"&&j!==null&&"name"in j?j.name:void 0;if(H==="QlexNotLoggedInError")return B.copy().notLoggedIn;if(H==="QlexInsufficientBalanceError")return(j.message??B.copy().insufficientBalanceFallback)+B.copy().insufficientBalanceCliSuffix;if(H==="QlexRateLimitError")return B.copy().rateLimit;if(H==="BackendInsufficientBalanceError")return(j.message??B.copy().insufficientBalanceFallback)+B.copy().insufficientBalanceCliSuffix;if(H==="BackendRateLimitError")return j.message??B.copy().rateLimit;if(H==="QlexInvalidCredentialsError")return j.message??B.copy().invalidCredentialsFallback}function q(j){let z=O(j)??Q(j);return`${X(j)}${z?` [${z.errorName}, error id ${z.errorID}; log: ${z.logFile}]`:""}`}function U({onlyFirst:j=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",j?void 0:"g")}var Z=U();function _(j){if(typeof j!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof j}\``);return j.replace(Z,"")}
5
- export{_ as If,f as Jf,q as Kf};
5
+ export{_ as Tf,f as Uf,q as Vf};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{Ce as mt}from"./chunk-yd2emszh.js";import{uf as fr,vf as pt,yf as ft}from"./chunk-3tmq81kq.js";import{MO as xe}from"./chunk-f83wv08n.js";var br=xe((Ti)=>{var re=ft(),_e=mt(),oi=pt(),be=fr(),Oe=0,Ue=1,me=2,ce=3,Pe=4,ke=5,mr=6,ct=7,gr=20,ut=21,yr=22,ai=23,gt=24,ge=25,ye=26,he=27,yt=31;function Ae(r){return typeof Buffer<"u"?Buffer.alloc(r):new Uint8Array(r)}var xt=Symbol("@smithy/core/cbor::tagSymbol");function wt(r){return r[xt]=!0,r}var ci=typeof TextDecoder<"u",hi=typeof Buffer<"u",O=Ae(0),oe=new DataView(O.buffer,O.byteOffset,O.byteLength),ur=ci?new TextDecoder:null,D=0;function li(r){O=r,oe=new DataView(O.buffer,O.byteOffset,O.byteLength)}function ae(r,t){if(r>=t)throw Error("unexpected end of (decode) payload.");let i=(O[r]&224)>>5,n=O[r]&31;switch(i){case Oe:case Ue:case mr:let l,c;if(n<24)l=n,c=1;else switch(n){case gt:case ge:case ye:case he:let d=wr[n],f=d+1;if(c=f,t-r<f)throw Error(`countLength ${d} greater than remaining buf len.`);let m=r+1;if(d===1)l=O[m];else if(d===2)l=oe.getUint16(m);else if(d===4)l=oe.getUint32(m);else l=oe.getBigUint64(m);break;default:throw Error(`unexpected minor value ${n}.`)}if(i===Oe)return D=c,ht(l);else if(i===Ue){let d;if(typeof l==="bigint")d=BigInt(-1)-l;else d=-1-l;return D=c,ht(d)}else if(n===2||n===3){let d=$e(r+c,t),f=BigInt(0),m=r+c+D;for(let w=m;w<m+d;++w)f=f<<BigInt(8)|BigInt(O[w]);return D=c+D+d,n===3?-f-BigInt(1):f}else if(n===4){let d=ae(r+c,t),[f,m]=d,w=m<0?-1:1,E="0".repeat(Math.abs(f)+1)+String(BigInt(w)*BigInt(m)),S,_=m<0?"-":"";if(S=f===0?E:E.slice(0,E.length+f)+"."+E.slice(f),S=S.replace(/^0+/g,""),S==="")S="0";if(S[0]===".")S="0"+S;return S=_+S,D=c+D,re.nv(S)}else{let d=ae(r+c,t);return D=c+D,wt({tag:ht(l),value:d})}case ce:case ke:case Pe:case me:if(n===yt)switch(i){case ce:return fi(r,t);case ke:return wi(r,t);case Pe:return yi(r,t);case me:return mi(r,t)}else switch(i){case ce:return pi(r,t);case ke:return xi(r,t);case Pe:return gi(r,t);case me:return Et(r,t)}default:return Ei(r,t)}}function xr(r,t,i){if(hi&&r.constructor?.name==="Buffer")return r.toString("utf-8",t,i);if(ur)return ur.decode(r.subarray(t,i));return re.toUtf8(r.subarray(t,i))}function ui(r){let t=Number(r);if(t<Number.MIN_SAFE_INTEGER||Number.MAX_SAFE_INTEGER<t)console.warn(Error(`@smithy/core/cbor - truncating BigInt(${r}) to ${t} with loss of precision.`));return t}var wr={[gt]:1,[ge]:2,[ye]:4,[he]:8};function di(r,t){let i=r>>7,n=(r&124)>>2,l=(r&3)<<8|t,c=i===0?1:-1,d,f;if(n===0)if(l===0)return 0;else d=Math.pow(2,-14),f=0;else if(n===31)if(l===0)return c*(1/0);else return NaN;else d=Math.pow(2,n-15),f=1;return f+=l/1024,c*(d*f)}function $e(r,t){let i=O[r]&31;if(i<24)return D=1,i;if(i===gt||i===ge||i===ye||i===he){let n=wr[i];if(D=n+1,t-r<D)throw Error(`countLength ${n} greater than remaining buf len.`);let l=r+1;if(n===1)return O[l];else if(n===2)return oe.getUint16(l);else if(n===4)return oe.getUint32(l);return ui(oe.getBigUint64(l))}throw Error(`unexpected minor value ${i}.`)}function pi(r,t){let i=$e(r,t),n=D;if(r+=n,t-r<i)throw Error(`string len ${i} greater than remaining buf len.`);let l=xr(O,r,r+i);return D=n+i,l}function fi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255){let m=Ae(i.length);return m.set(i,0),D=r-n+2,xr(m,0,m.length)}let l=(O[r]&224)>>5,c=O[r]&31;if(l!==ce)throw Error(`unexpected major type ${l} in indefinite string.`);if(c===yt)throw Error("nested indefinite string.");let d=Et(r,t);r+=D;for(let m=0;m<d.length;++m)i.push(d[m])}throw Error("expected break marker.")}function Et(r,t){let i=$e(r,t),n=D;if(r+=n,t-r<i)throw Error(`unstructured byte string len ${i} greater than remaining buf len.`);let l=O.subarray(r,r+i);return D=n+i,l}function mi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255){let m=Ae(i.length);return m.set(i,0),D=r-n+2,m}let l=(O[r]&224)>>5,c=O[r]&31;if(l!==me)throw Error(`unexpected major type ${l} in indefinite string.`);if(c===yt)throw Error("nested indefinite string.");let d=Et(r,t);r+=D;for(let m=0;m<d.length;++m)i.push(d[m])}throw Error("expected break marker.")}function gi(r,t){let i=$e(r,t),n=D;r+=n;let l=r,c=Array(i);for(let d=0;d<i;++d){let f=ae(r,t),m=D;c[d]=f,r+=m}return D=n+(r-l),c}function yi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255)return D=r-n+2,i;let l=ae(r,t);r+=D,i.push(l)}throw Error("expected break marker.")}function xi(r,t){let i=$e(r,t),n=D;r+=n;let l=r,c={};for(let d=0;d<i;++d){if(r>=t)throw Error("unexpected end of map payload.");let f=(O[r]&224)>>5;if(f!==ce)throw Error(`unexpected major type ${f} for map key at index ${r}.`);let m=ae(r,t);r+=D;let w=ae(r,t);r+=D,c[m]=w}return D=n+(r-l),c}function wi(r,t){r+=1;let i=r,n={};for(;r<t;){if(r>=t)throw Error("unexpected end of map payload.");if(O[r]===255)return D=r-i+2,n;let l=(O[r]&224)>>5;if(l!==ce)throw Error(`unexpected major type ${l} for map key.`);let c=ae(r,t);r+=D;let d=ae(r,t);r+=D,n[c]=d}throw Error("expected break marker.")}function Ei(r,t){let i=O[r]&31;switch(i){case ut:case gr:return D=1,i===ut;case yr:return D=1,null;case ai:return D=1,null;case ge:if(t-r<3)throw Error("incomplete float16 at end of buf.");return D=3,di(O[r+1],O[r+2]);case ye:if(t-r<5)throw Error("incomplete float32 at end of buf.");return D=5,oe.getFloat32(r+1);case he:if(t-r<9)throw Error("incomplete float64 at end of buf.");return D=9,oe.getFloat64(r+1);default:throw Error(`unexpected minor value ${i}.`)}}function ht(r){if(typeof r==="number")return r;let t=Number(r);if(Number.MIN_SAFE_INTEGER<=t&&t<=Number.MAX_SAFE_INTEGER)return t;return r}var dr=typeof Buffer<"u",Ni=2048,$=Ae(Ni),ne=new DataView($.buffer,$.byteOffset,$.byteLength),C=0;function lt(r){if($.byteLength-C<r)if(C<16000000)dt(Math.max($.byteLength*4,$.byteLength+r));else dt($.byteLength+r+16000000)}function pr(){let r=Ae(C);return r.set($.subarray(0,C),0),C=0,r}function dt(r){let t=$;if($=Ae(r),t)if(t.copy)t.copy($,0,0,t.byteLength);else $.set(t,0);ne=new DataView($.buffer,$.byteOffset,$.byteLength)}function ie(r,t){if(t<24)$[C++]=r<<5|t;else if(t<256)$[C++]=r<<5|24,$[C++]=t;else if(t<65536)$[C++]=r<<5|ge,ne.setUint16(C,t),C+=2;else if(t<4294967296)$[C++]=r<<5|ye,ne.setUint32(C,t),C+=4;else $[C++]=r<<5|he,ne.setBigUint64(C,typeof t==="bigint"?t:BigInt(t)),C+=8}function Si(r){let t=[r];while(t.length){let i=t.pop();if(lt(typeof i==="string"?i.length*4:64),typeof i==="string"){if(dr)ie(ce,Buffer.byteLength(i)),C+=$.write(i,C);else{let n=re.fromUtf8(i);ie(ce,n.byteLength),$.set(n,C),C+=n.byteLength}continue}else if(typeof i==="number"){if(Number.isInteger(i)){let n=i>=0,l=n?Oe:Ue,c=n?i:-i-1;if(c<24)$[C++]=l<<5|c;else if(c<256)$[C++]=l<<5|24,$[C++]=c;else if(c<65536)$[C++]=l<<5|ge,$[C++]=c>>8,$[C++]=c;else if(c<4294967296)$[C++]=l<<5|ye,ne.setUint32(C,c),C+=4;else $[C++]=l<<5|he,ne.setBigUint64(C,BigInt(c)),C+=8;continue}$[C++]=ct<<5|he,ne.setFloat64(C,i),C+=8;continue}else if(typeof i==="bigint"){let n=i>=0,l=n?Oe:Ue,c=n?i:-i-BigInt(1),d=Number(c);if(d<24)$[C++]=l<<5|d;else if(d<256)$[C++]=l<<5|24,$[C++]=d;else if(d<65536)$[C++]=l<<5|ge,$[C++]=d>>8,$[C++]=d&255;else if(d<4294967296)$[C++]=l<<5|ye,ne.setUint32(C,d),C+=4;else if(c<BigInt("18446744073709551616"))$[C++]=l<<5|he,ne.setBigUint64(C,c),C+=8;else{let f=c.toString(2),m=new Uint8Array(Math.ceil(f.length/8)),w=c,E=0;while(m.byteLength-++E>=0)m[m.byteLength-E]=Number(w&BigInt(255)),w>>=BigInt(8);if(lt(m.byteLength*2),$[C++]=n?194:195,dr)ie(me,Buffer.byteLength(m));else ie(me,m.byteLength);$.set(m,C),C+=m.byteLength}continue}else if(i===null){$[C++]=ct<<5|yr;continue}else if(typeof i==="boolean"){$[C++]=ct<<5|(i?ut:gr);continue}else if(typeof i>"u")throw Error("@smithy/core/cbor: client may not serialize undefined value.");else if(Array.isArray(i)){for(let n=i.length-1;n>=0;--n)t.push(i[n]);ie(Pe,i.length);continue}else if(typeof i.byteLength==="number"){lt(i.length*2),ie(me,i.length),$.set(i,C),C+=i.byteLength;continue}else if(typeof i==="object"){if(i instanceof re.NumericValue){let l=i.string.indexOf("."),c=l===-1?0:l-i.string.length+1,d=BigInt(i.string.replace(".",""));$[C++]=196,t.push(d),t.push(c),ie(Pe,2);continue}if(i[xt])if("tag"in i&&"value"in i){t.push(i.value),ie(mr,i.tag);continue}else throw Error("tag encountered with missing fields, need 'tag' and 'value', found: "+JSON.stringify(i));let n=Object.keys(i);for(let l=n.length-1;l>=0;--l){let c=n[l];t.push(i[c]),t.push(c)}ie(ke,n.length);continue}throw Error(`data type ${i?.constructor?.name??typeof i} not compatible for encoding.`)}}var Ve={deserialize(r){return li(r),ae(0,r.length)},serialize(r){try{return Si(r),pr()}catch(t){throw pr(),t}},resizeEncodingBuffer(r){dt(r)}},Er=(r,t)=>{return _e.collectBody(r,t).then(async(i)=>{if(i.length)try{return Ve.deserialize(i)}catch(n){throw Object.defineProperty(n,"$responseBodyText",{value:t.utf8Encoder(i)}),n}return{}})},ze=(r)=>{return wt({tag:1,value:r.getTime()/1000})},bi=async(r,t)=>{let i=await Er(r,t);return i.message=i.message??i.Message,i},Nr=(r,t)=>{let i=(l)=>{let c=l;if(typeof c==="number")c=c.toString();if(c.indexOf(",")>=0)c=c.split(",")[0];if(c.indexOf(":")>=0)c=c.split(":")[0];if(c.indexOf("#")>=0)c=c.split("#")[1];return c};if(t.__type!==void 0)return i(t.__type);let n;for(let l in t)if(l.toLowerCase()==="code"){n=l;break}if(n&&t[n]!==void 0)return i(t[n])},_i=(r)=>{if(String(r.headers["smithy-protocol"]).toLowerCase()!=="rpc-v2-cbor")throw Error("Malformed RPCv2 CBOR response, status: "+r.statusCode)},Ai=async(r,t,i,n,l)=>{let c=await r.endpoint(),{hostname:d,protocol:f="https",port:m,path:w}=c,E={protocol:f,hostname:d,port:m,method:"POST",path:w.endsWith("/")?w.slice(0,-1)+i:w+i,headers:{...t}};if(n!==void 0)E.hostname=n;if(c.headers)for(let S in c.headers)E.headers[S]=c.headers[S];if(l!==void 0){E.body=l;try{E.headers["content-length"]=String(re.calculateBodyLength(l))}catch(S){}}return new _e.HttpRequest(E)};class Nt extends _e.SerdeContext{createSerializer(){let r=new St;return r.setSerdeContext(this.serdeContext),r}createDeserializer(){let r=new bt;return r.setSerdeContext(this.serdeContext),r}}class St extends _e.SerdeContext{value;write(r,t){this.value=this.serialize(r,t)}serialize(r,t){let i=be.NormalizedSchema.of(r);if(t==null){if(i.isIdempotencyToken())return re.generateIdempotencyToken();return t}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??re.fromBase64)(t);return t}if(i.isTimestampSchema()){if(typeof t==="number"||typeof t==="bigint")return ze(new Date(Number(t)/1000|0));return ze(t)}if(typeof t==="function"||typeof t==="object"){let n=t;if(i.isListSchema()&&Array.isArray(n)){let c=!!i.getMergedTraits().sparse,d=[],f=0;for(let m of n){let w=this.serialize(i.getValueSchema(),m);if(w!=null||c)d[f++]=w}return d}if(n instanceof Date)return ze(n);let l={};if(i.isMapSchema()){let c=!!i.getMergedTraits().sparse;for(let d in n){let f=this.serialize(i.getValueSchema(),n[d]);if(f!=null||c)l[d]=f}}else if(i.isStructSchema()){for(let[d,f]of i.structIterator()){let m=this.serialize(f,n[d]);if(m!=null)l[d]=m}if(i.isUnionSchema()&&Array.isArray(n.$unknown)){let[d,f]=n.$unknown;l[d]=f}else if(typeof n.__type==="string"){for(let d in n)if(!(d in l))l[d]=this.serialize(15,n[d])}}else if(i.isDocumentSchema())for(let c in n)l[c]=this.serialize(i.getValueSchema(),n[c]);else if(i.isBigDecimalSchema())return n;return l}return t}flush(){let r=Ve.serialize(this.value);return this.value=void 0,r}}class bt extends _e.SerdeContext{read(r,t){let i=Ve.deserialize(t);return this.readValue(r,i)}readValue(r,t){let i=be.NormalizedSchema.of(r);if(i.isTimestampSchema()){if(typeof t==="number")return re._parseEpochTimestamp(t);if(typeof t==="object"){if(t.tag===1&&"value"in t)return re._parseEpochTimestamp(t.value)}}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??re.fromBase64)(t);return t}if(typeof t>"u"||typeof t==="boolean"||typeof t==="number"||typeof t==="string"||typeof t==="bigint"||typeof t==="symbol")return t;else if(typeof t==="object"){if(t===null)return null;if("byteLength"in t)return t;if(t instanceof Date)return t;if(i.isDocumentSchema())return t;if(i.isListSchema()){let l=[],c=i.getValueSchema();for(let d of t){let f=this.readValue(c,d);l.push(f)}return l}let n={};if(i.isMapSchema()){let l=i.getValueSchema();for(let c in t){let d=this.readValue(l,t[c]);n[c]=d}}else if(i.isStructSchema()){let l=i.isUnionSchema(),c;if(l){c=new Set;for(let d in t)if(d!=="__type")c.add(d)}for(let[d,f]of i.structIterator()){if(l)c.delete(d);if(t[d]!=null)n[d]=this.readValue(f,t[d])}if(l&&c?.size===1){let d=!0;for(let f in n){d=!1;break}if(d){let f=c.values().next().value;n.$unknown=[f,t[f]]}}else if(typeof t.__type==="string"){for(let d in t)if(!(d in n))n[d]=t[d]}}else if(t instanceof re.NumericValue)return t;return n}else return t}}class Sr extends _e.RpcProtocol{codec=new Nt;serializer=this.codec.createSerializer();deserializer=this.codec.createDeserializer();constructor({defaultNamespace:r,errorTypeRegistries:t}){super({defaultNamespace:r,errorTypeRegistries:t})}getShapeId(){return"smithy.protocols#rpcv2Cbor"}getPayloadCodec(){return this.codec}async serializeRequest(r,t,i){let n=await super.serializeRequest(r,t,i);if(Object.assign(n.headers,{"content-type":this.getDefaultContentType(),"smithy-protocol":"rpc-v2-cbor",accept:this.getDefaultContentType()}),be.deref(r.input)==="unit")delete n.body,delete n.headers["content-type"];else{if(!n.body)this.serializer.write(15,{}),n.body=this.serializer.flush();try{n.headers["content-length"]=String(n.body.byteLength)}catch(f){}}let{service:l,operation:c}=oi.getSmithyContext(i),d=`/service/${l}/operation/${c}`;if(n.path.endsWith("/"))n.path+=d.slice(1);else n.path+=d;return n}async deserializeResponse(r,t,i){return super.deserializeResponse(r,t,i)}async handleError(r,t,i,n,l){let c=Nr(i,n)??"Unknown",d={$metadata:l,$fault:i.statusCode<=500?"client":"server"},f=this.options.defaultNamespace;if(c.includes("#"))[f]=c.split("#");let m=this.compositeErrorRegistry,w=be.TypeRegistry.for(f);m.copyFrom(w);let E;try{E=m.getSchema(c)}catch(V){if(n.Message)n.message=n.Message;let B=be.TypeRegistry.for("smithy.ts.sdk.synthetic."+f);m.copyFrom(B);let Z=m.getBaseException();if(Z){let L=m.getErrorCtor(Z);throw Object.assign(new L({name:c}),d,n)}throw Object.assign(Error(c),d,n)}let S=be.NormalizedSchema.of(E),_=m.getErrorCtor(E),A=n.message??n.Message??"Unknown",I=new _({}),P={};for(let[V,B]of S.structIterator())P[V]=this.deserializer.readValue(B,n[V]);throw Object.assign(I,d,{$fault:S.getMergedTraits().error,message:A},P)}getDefaultContentType(){return"application/cbor"}}Ti.CborCodec=Nt;Ti.CborShapeDeserializer=bt;Ti.CborShapeSerializer=St;Ti.SmithyRpcV2CborProtocol=Sr;Ti.buildHttpRpcRequest=Ai;Ti.cbor=Ve;Ti.checkCborResponse=_i;Ti.dateToTag=ze;Ti.loadSmithyRpcV2CborErrorCode=Nr;Ti.parseCborBody=Er;Ti.parseCborErrorBody=bi;Ti.tag=wt;Ti.tagSymbol=xt});var Ar=xe((vo,_r)=>{(()=>{var r={d:(e,s)=>{for(var o in s)r.o(s,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:s[o]})},o:(e,s)=>Object.prototype.hasOwnProperty.call(e,s),r:(e)=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};r.r(t),r.d(t,{XMLBuilder:()=>ii,XMLParser:()=>ir,XMLValidator:()=>ni});let i=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+i+"]["+i+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function l(e,s){let o=[],a=s.exec(e);for(;a;){let h=[];h.startIndex=s.lastIndex-a[0].length;let u=a.length;for(let x=0;x<u;x++)h.push(a[x]);o.push(h),a=s.exec(e)}return o}let c=function(e){return n.exec(e)!=null},d=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],f=["__proto__","constructor","prototype"],m={allowBooleanAttributes:!1,unpairedTags:[]};function w(e,s){s=Object.assign({},m,s);let o=[],a=!1,h=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let u=0;u<e.length;u++)if(e[u]==="<"&&e[u+1]==="?"){if(u+=2,u=S(e,u),u.err)return u}else{if(e[u]!=="<"){if(E(e[u]))continue;return L("InvalidChar","char '"+e[u]+"' is not expected.",F(e,u))}{let x=u;if(u++,e[u]==="!"){u=_(e,u);continue}{let p=!1;e[u]==="/"&&(p=!0,u++);let y="";for(;u<e.length&&e[u]!==">"&&e[u]!==" "&&e[u]!=="\t"&&e[u]!==`
2
+ import{Ne as mt}from"./chunk-j0bwa5dk.js";import{Ff as fr,Gf as pt,Jf as ft}from"./chunk-2drzgtv3.js";import{tO as xe}from"./chunk-r9w0thdk.js";var br=xe((Ti)=>{var re=ft(),_e=mt(),oi=pt(),be=fr(),Oe=0,Ue=1,me=2,ce=3,Pe=4,ke=5,mr=6,ct=7,gr=20,ut=21,yr=22,ai=23,gt=24,ge=25,ye=26,he=27,yt=31;function Ae(r){return typeof Buffer<"u"?Buffer.alloc(r):new Uint8Array(r)}var xt=Symbol("@smithy/core/cbor::tagSymbol");function wt(r){return r[xt]=!0,r}var ci=typeof TextDecoder<"u",hi=typeof Buffer<"u",O=Ae(0),oe=new DataView(O.buffer,O.byteOffset,O.byteLength),ur=ci?new TextDecoder:null,D=0;function li(r){O=r,oe=new DataView(O.buffer,O.byteOffset,O.byteLength)}function ae(r,t){if(r>=t)throw Error("unexpected end of (decode) payload.");let i=(O[r]&224)>>5,n=O[r]&31;switch(i){case Oe:case Ue:case mr:let l,c;if(n<24)l=n,c=1;else switch(n){case gt:case ge:case ye:case he:let d=wr[n],f=d+1;if(c=f,t-r<f)throw Error(`countLength ${d} greater than remaining buf len.`);let m=r+1;if(d===1)l=O[m];else if(d===2)l=oe.getUint16(m);else if(d===4)l=oe.getUint32(m);else l=oe.getBigUint64(m);break;default:throw Error(`unexpected minor value ${n}.`)}if(i===Oe)return D=c,ht(l);else if(i===Ue){let d;if(typeof l==="bigint")d=BigInt(-1)-l;else d=-1-l;return D=c,ht(d)}else if(n===2||n===3){let d=$e(r+c,t),f=BigInt(0),m=r+c+D;for(let w=m;w<m+d;++w)f=f<<BigInt(8)|BigInt(O[w]);return D=c+D+d,n===3?-f-BigInt(1):f}else if(n===4){let d=ae(r+c,t),[f,m]=d,w=m<0?-1:1,E="0".repeat(Math.abs(f)+1)+String(BigInt(w)*BigInt(m)),S,_=m<0?"-":"";if(S=f===0?E:E.slice(0,E.length+f)+"."+E.slice(f),S=S.replace(/^0+/g,""),S==="")S="0";if(S[0]===".")S="0"+S;return S=_+S,D=c+D,re.nv(S)}else{let d=ae(r+c,t);return D=c+D,wt({tag:ht(l),value:d})}case ce:case ke:case Pe:case me:if(n===yt)switch(i){case ce:return fi(r,t);case ke:return wi(r,t);case Pe:return yi(r,t);case me:return mi(r,t)}else switch(i){case ce:return pi(r,t);case ke:return xi(r,t);case Pe:return gi(r,t);case me:return Et(r,t)}default:return Ei(r,t)}}function xr(r,t,i){if(hi&&r.constructor?.name==="Buffer")return r.toString("utf-8",t,i);if(ur)return ur.decode(r.subarray(t,i));return re.toUtf8(r.subarray(t,i))}function ui(r){let t=Number(r);if(t<Number.MIN_SAFE_INTEGER||Number.MAX_SAFE_INTEGER<t)console.warn(Error(`@smithy/core/cbor - truncating BigInt(${r}) to ${t} with loss of precision.`));return t}var wr={[gt]:1,[ge]:2,[ye]:4,[he]:8};function di(r,t){let i=r>>7,n=(r&124)>>2,l=(r&3)<<8|t,c=i===0?1:-1,d,f;if(n===0)if(l===0)return 0;else d=Math.pow(2,-14),f=0;else if(n===31)if(l===0)return c*(1/0);else return NaN;else d=Math.pow(2,n-15),f=1;return f+=l/1024,c*(d*f)}function $e(r,t){let i=O[r]&31;if(i<24)return D=1,i;if(i===gt||i===ge||i===ye||i===he){let n=wr[i];if(D=n+1,t-r<D)throw Error(`countLength ${n} greater than remaining buf len.`);let l=r+1;if(n===1)return O[l];else if(n===2)return oe.getUint16(l);else if(n===4)return oe.getUint32(l);return ui(oe.getBigUint64(l))}throw Error(`unexpected minor value ${i}.`)}function pi(r,t){let i=$e(r,t),n=D;if(r+=n,t-r<i)throw Error(`string len ${i} greater than remaining buf len.`);let l=xr(O,r,r+i);return D=n+i,l}function fi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255){let m=Ae(i.length);return m.set(i,0),D=r-n+2,xr(m,0,m.length)}let l=(O[r]&224)>>5,c=O[r]&31;if(l!==ce)throw Error(`unexpected major type ${l} in indefinite string.`);if(c===yt)throw Error("nested indefinite string.");let d=Et(r,t);r+=D;for(let m=0;m<d.length;++m)i.push(d[m])}throw Error("expected break marker.")}function Et(r,t){let i=$e(r,t),n=D;if(r+=n,t-r<i)throw Error(`unstructured byte string len ${i} greater than remaining buf len.`);let l=O.subarray(r,r+i);return D=n+i,l}function mi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255){let m=Ae(i.length);return m.set(i,0),D=r-n+2,m}let l=(O[r]&224)>>5,c=O[r]&31;if(l!==me)throw Error(`unexpected major type ${l} in indefinite string.`);if(c===yt)throw Error("nested indefinite string.");let d=Et(r,t);r+=D;for(let m=0;m<d.length;++m)i.push(d[m])}throw Error("expected break marker.")}function gi(r,t){let i=$e(r,t),n=D;r+=n;let l=r,c=Array(i);for(let d=0;d<i;++d){let f=ae(r,t),m=D;c[d]=f,r+=m}return D=n+(r-l),c}function yi(r,t){r+=1;let i=[];for(let n=r;r<t;){if(O[r]===255)return D=r-n+2,i;let l=ae(r,t);r+=D,i.push(l)}throw Error("expected break marker.")}function xi(r,t){let i=$e(r,t),n=D;r+=n;let l=r,c={};for(let d=0;d<i;++d){if(r>=t)throw Error("unexpected end of map payload.");let f=(O[r]&224)>>5;if(f!==ce)throw Error(`unexpected major type ${f} for map key at index ${r}.`);let m=ae(r,t);r+=D;let w=ae(r,t);r+=D,c[m]=w}return D=n+(r-l),c}function wi(r,t){r+=1;let i=r,n={};for(;r<t;){if(r>=t)throw Error("unexpected end of map payload.");if(O[r]===255)return D=r-i+2,n;let l=(O[r]&224)>>5;if(l!==ce)throw Error(`unexpected major type ${l} for map key.`);let c=ae(r,t);r+=D;let d=ae(r,t);r+=D,n[c]=d}throw Error("expected break marker.")}function Ei(r,t){let i=O[r]&31;switch(i){case ut:case gr:return D=1,i===ut;case yr:return D=1,null;case ai:return D=1,null;case ge:if(t-r<3)throw Error("incomplete float16 at end of buf.");return D=3,di(O[r+1],O[r+2]);case ye:if(t-r<5)throw Error("incomplete float32 at end of buf.");return D=5,oe.getFloat32(r+1);case he:if(t-r<9)throw Error("incomplete float64 at end of buf.");return D=9,oe.getFloat64(r+1);default:throw Error(`unexpected minor value ${i}.`)}}function ht(r){if(typeof r==="number")return r;let t=Number(r);if(Number.MIN_SAFE_INTEGER<=t&&t<=Number.MAX_SAFE_INTEGER)return t;return r}var dr=typeof Buffer<"u",Ni=2048,$=Ae(Ni),ne=new DataView($.buffer,$.byteOffset,$.byteLength),C=0;function lt(r){if($.byteLength-C<r)if(C<16000000)dt(Math.max($.byteLength*4,$.byteLength+r));else dt($.byteLength+r+16000000)}function pr(){let r=Ae(C);return r.set($.subarray(0,C),0),C=0,r}function dt(r){let t=$;if($=Ae(r),t)if(t.copy)t.copy($,0,0,t.byteLength);else $.set(t,0);ne=new DataView($.buffer,$.byteOffset,$.byteLength)}function ie(r,t){if(t<24)$[C++]=r<<5|t;else if(t<256)$[C++]=r<<5|24,$[C++]=t;else if(t<65536)$[C++]=r<<5|ge,ne.setUint16(C,t),C+=2;else if(t<4294967296)$[C++]=r<<5|ye,ne.setUint32(C,t),C+=4;else $[C++]=r<<5|he,ne.setBigUint64(C,typeof t==="bigint"?t:BigInt(t)),C+=8}function Si(r){let t=[r];while(t.length){let i=t.pop();if(lt(typeof i==="string"?i.length*4:64),typeof i==="string"){if(dr)ie(ce,Buffer.byteLength(i)),C+=$.write(i,C);else{let n=re.fromUtf8(i);ie(ce,n.byteLength),$.set(n,C),C+=n.byteLength}continue}else if(typeof i==="number"){if(Number.isInteger(i)){let n=i>=0,l=n?Oe:Ue,c=n?i:-i-1;if(c<24)$[C++]=l<<5|c;else if(c<256)$[C++]=l<<5|24,$[C++]=c;else if(c<65536)$[C++]=l<<5|ge,$[C++]=c>>8,$[C++]=c;else if(c<4294967296)$[C++]=l<<5|ye,ne.setUint32(C,c),C+=4;else $[C++]=l<<5|he,ne.setBigUint64(C,BigInt(c)),C+=8;continue}$[C++]=ct<<5|he,ne.setFloat64(C,i),C+=8;continue}else if(typeof i==="bigint"){let n=i>=0,l=n?Oe:Ue,c=n?i:-i-BigInt(1),d=Number(c);if(d<24)$[C++]=l<<5|d;else if(d<256)$[C++]=l<<5|24,$[C++]=d;else if(d<65536)$[C++]=l<<5|ge,$[C++]=d>>8,$[C++]=d&255;else if(d<4294967296)$[C++]=l<<5|ye,ne.setUint32(C,d),C+=4;else if(c<BigInt("18446744073709551616"))$[C++]=l<<5|he,ne.setBigUint64(C,c),C+=8;else{let f=c.toString(2),m=new Uint8Array(Math.ceil(f.length/8)),w=c,E=0;while(m.byteLength-++E>=0)m[m.byteLength-E]=Number(w&BigInt(255)),w>>=BigInt(8);if(lt(m.byteLength*2),$[C++]=n?194:195,dr)ie(me,Buffer.byteLength(m));else ie(me,m.byteLength);$.set(m,C),C+=m.byteLength}continue}else if(i===null){$[C++]=ct<<5|yr;continue}else if(typeof i==="boolean"){$[C++]=ct<<5|(i?ut:gr);continue}else if(typeof i>"u")throw Error("@smithy/core/cbor: client may not serialize undefined value.");else if(Array.isArray(i)){for(let n=i.length-1;n>=0;--n)t.push(i[n]);ie(Pe,i.length);continue}else if(typeof i.byteLength==="number"){lt(i.length*2),ie(me,i.length),$.set(i,C),C+=i.byteLength;continue}else if(typeof i==="object"){if(i instanceof re.NumericValue){let l=i.string.indexOf("."),c=l===-1?0:l-i.string.length+1,d=BigInt(i.string.replace(".",""));$[C++]=196,t.push(d),t.push(c),ie(Pe,2);continue}if(i[xt])if("tag"in i&&"value"in i){t.push(i.value),ie(mr,i.tag);continue}else throw Error("tag encountered with missing fields, need 'tag' and 'value', found: "+JSON.stringify(i));let n=Object.keys(i);for(let l=n.length-1;l>=0;--l){let c=n[l];t.push(i[c]),t.push(c)}ie(ke,n.length);continue}throw Error(`data type ${i?.constructor?.name??typeof i} not compatible for encoding.`)}}var Ve={deserialize(r){return li(r),ae(0,r.length)},serialize(r){try{return Si(r),pr()}catch(t){throw pr(),t}},resizeEncodingBuffer(r){dt(r)}},Er=(r,t)=>{return _e.collectBody(r,t).then(async(i)=>{if(i.length)try{return Ve.deserialize(i)}catch(n){throw Object.defineProperty(n,"$responseBodyText",{value:t.utf8Encoder(i)}),n}return{}})},ze=(r)=>{return wt({tag:1,value:r.getTime()/1000})},bi=async(r,t)=>{let i=await Er(r,t);return i.message=i.message??i.Message,i},Nr=(r,t)=>{let i=(l)=>{let c=l;if(typeof c==="number")c=c.toString();if(c.indexOf(",")>=0)c=c.split(",")[0];if(c.indexOf(":")>=0)c=c.split(":")[0];if(c.indexOf("#")>=0)c=c.split("#")[1];return c};if(t.__type!==void 0)return i(t.__type);let n;for(let l in t)if(l.toLowerCase()==="code"){n=l;break}if(n&&t[n]!==void 0)return i(t[n])},_i=(r)=>{if(String(r.headers["smithy-protocol"]).toLowerCase()!=="rpc-v2-cbor")throw Error("Malformed RPCv2 CBOR response, status: "+r.statusCode)},Ai=async(r,t,i,n,l)=>{let c=await r.endpoint(),{hostname:d,protocol:f="https",port:m,path:w}=c,E={protocol:f,hostname:d,port:m,method:"POST",path:w.endsWith("/")?w.slice(0,-1)+i:w+i,headers:{...t}};if(n!==void 0)E.hostname=n;if(c.headers)for(let S in c.headers)E.headers[S]=c.headers[S];if(l!==void 0){E.body=l;try{E.headers["content-length"]=String(re.calculateBodyLength(l))}catch(S){}}return new _e.HttpRequest(E)};class Nt extends _e.SerdeContext{createSerializer(){let r=new St;return r.setSerdeContext(this.serdeContext),r}createDeserializer(){let r=new bt;return r.setSerdeContext(this.serdeContext),r}}class St extends _e.SerdeContext{value;write(r,t){this.value=this.serialize(r,t)}serialize(r,t){let i=be.NormalizedSchema.of(r);if(t==null){if(i.isIdempotencyToken())return re.generateIdempotencyToken();return t}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??re.fromBase64)(t);return t}if(i.isTimestampSchema()){if(typeof t==="number"||typeof t==="bigint")return ze(new Date(Number(t)/1000|0));return ze(t)}if(typeof t==="function"||typeof t==="object"){let n=t;if(i.isListSchema()&&Array.isArray(n)){let c=!!i.getMergedTraits().sparse,d=[],f=0;for(let m of n){let w=this.serialize(i.getValueSchema(),m);if(w!=null||c)d[f++]=w}return d}if(n instanceof Date)return ze(n);let l={};if(i.isMapSchema()){let c=!!i.getMergedTraits().sparse;for(let d in n){let f=this.serialize(i.getValueSchema(),n[d]);if(f!=null||c)l[d]=f}}else if(i.isStructSchema()){for(let[d,f]of i.structIterator()){let m=this.serialize(f,n[d]);if(m!=null)l[d]=m}if(i.isUnionSchema()&&Array.isArray(n.$unknown)){let[d,f]=n.$unknown;l[d]=f}else if(typeof n.__type==="string"){for(let d in n)if(!(d in l))l[d]=this.serialize(15,n[d])}}else if(i.isDocumentSchema())for(let c in n)l[c]=this.serialize(i.getValueSchema(),n[c]);else if(i.isBigDecimalSchema())return n;return l}return t}flush(){let r=Ve.serialize(this.value);return this.value=void 0,r}}class bt extends _e.SerdeContext{read(r,t){let i=Ve.deserialize(t);return this.readValue(r,i)}readValue(r,t){let i=be.NormalizedSchema.of(r);if(i.isTimestampSchema()){if(typeof t==="number")return re._parseEpochTimestamp(t);if(typeof t==="object"){if(t.tag===1&&"value"in t)return re._parseEpochTimestamp(t.value)}}if(i.isBlobSchema()){if(typeof t==="string")return(this.serdeContext?.base64Decoder??re.fromBase64)(t);return t}if(typeof t>"u"||typeof t==="boolean"||typeof t==="number"||typeof t==="string"||typeof t==="bigint"||typeof t==="symbol")return t;else if(typeof t==="object"){if(t===null)return null;if("byteLength"in t)return t;if(t instanceof Date)return t;if(i.isDocumentSchema())return t;if(i.isListSchema()){let l=[],c=i.getValueSchema();for(let d of t){let f=this.readValue(c,d);l.push(f)}return l}let n={};if(i.isMapSchema()){let l=i.getValueSchema();for(let c in t){let d=this.readValue(l,t[c]);n[c]=d}}else if(i.isStructSchema()){let l=i.isUnionSchema(),c;if(l){c=new Set;for(let d in t)if(d!=="__type")c.add(d)}for(let[d,f]of i.structIterator()){if(l)c.delete(d);if(t[d]!=null)n[d]=this.readValue(f,t[d])}if(l&&c?.size===1){let d=!0;for(let f in n){d=!1;break}if(d){let f=c.values().next().value;n.$unknown=[f,t[f]]}}else if(typeof t.__type==="string"){for(let d in t)if(!(d in n))n[d]=t[d]}}else if(t instanceof re.NumericValue)return t;return n}else return t}}class Sr extends _e.RpcProtocol{codec=new Nt;serializer=this.codec.createSerializer();deserializer=this.codec.createDeserializer();constructor({defaultNamespace:r,errorTypeRegistries:t}){super({defaultNamespace:r,errorTypeRegistries:t})}getShapeId(){return"smithy.protocols#rpcv2Cbor"}getPayloadCodec(){return this.codec}async serializeRequest(r,t,i){let n=await super.serializeRequest(r,t,i);if(Object.assign(n.headers,{"content-type":this.getDefaultContentType(),"smithy-protocol":"rpc-v2-cbor",accept:this.getDefaultContentType()}),be.deref(r.input)==="unit")delete n.body,delete n.headers["content-type"];else{if(!n.body)this.serializer.write(15,{}),n.body=this.serializer.flush();try{n.headers["content-length"]=String(n.body.byteLength)}catch(f){}}let{service:l,operation:c}=oi.getSmithyContext(i),d=`/service/${l}/operation/${c}`;if(n.path.endsWith("/"))n.path+=d.slice(1);else n.path+=d;return n}async deserializeResponse(r,t,i){return super.deserializeResponse(r,t,i)}async handleError(r,t,i,n,l){let c=Nr(i,n)??"Unknown",d={$metadata:l,$fault:i.statusCode<=500?"client":"server"},f=this.options.defaultNamespace;if(c.includes("#"))[f]=c.split("#");let m=this.compositeErrorRegistry,w=be.TypeRegistry.for(f);m.copyFrom(w);let E;try{E=m.getSchema(c)}catch(V){if(n.Message)n.message=n.Message;let B=be.TypeRegistry.for("smithy.ts.sdk.synthetic."+f);m.copyFrom(B);let Z=m.getBaseException();if(Z){let L=m.getErrorCtor(Z);throw Object.assign(new L({name:c}),d,n)}throw Object.assign(Error(c),d,n)}let S=be.NormalizedSchema.of(E),_=m.getErrorCtor(E),A=n.message??n.Message??"Unknown",I=new _({}),P={};for(let[V,B]of S.structIterator())P[V]=this.deserializer.readValue(B,n[V]);throw Object.assign(I,d,{$fault:S.getMergedTraits().error,message:A},P)}getDefaultContentType(){return"application/cbor"}}Ti.CborCodec=Nt;Ti.CborShapeDeserializer=bt;Ti.CborShapeSerializer=St;Ti.SmithyRpcV2CborProtocol=Sr;Ti.buildHttpRpcRequest=Ai;Ti.cbor=Ve;Ti.checkCborResponse=_i;Ti.dateToTag=ze;Ti.loadSmithyRpcV2CborErrorCode=Nr;Ti.parseCborBody=Er;Ti.parseCborErrorBody=bi;Ti.tag=wt;Ti.tagSymbol=xt});var Ar=xe((vo,_r)=>{(()=>{var r={d:(e,s)=>{for(var o in s)r.o(s,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:s[o]})},o:(e,s)=>Object.prototype.hasOwnProperty.call(e,s),r:(e)=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};r.r(t),r.d(t,{XMLBuilder:()=>ii,XMLParser:()=>ir,XMLValidator:()=>ni});let i=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("^["+i+"]["+i+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function l(e,s){let o=[],a=s.exec(e);for(;a;){let h=[];h.startIndex=s.lastIndex-a[0].length;let u=a.length;for(let x=0;x<u;x++)h.push(a[x]);o.push(h),a=s.exec(e)}return o}let c=function(e){return n.exec(e)!=null},d=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],f=["__proto__","constructor","prototype"],m={allowBooleanAttributes:!1,unpairedTags:[]};function w(e,s){s=Object.assign({},m,s);let o=[],a=!1,h=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let u=0;u<e.length;u++)if(e[u]==="<"&&e[u+1]==="?"){if(u+=2,u=S(e,u),u.err)return u}else{if(e[u]!=="<"){if(E(e[u]))continue;return L("InvalidChar","char '"+e[u]+"' is not expected.",F(e,u))}{let x=u;if(u++,e[u]==="!"){u=_(e,u);continue}{let p=!1;e[u]==="/"&&(p=!0,u++);let y="";for(;u<e.length&&e[u]!==">"&&e[u]!==" "&&e[u]!=="\t"&&e[u]!==`
3
3
  `&&e[u]!=="\r";u++)y+=e[u];if(y=y.trim(),y[y.length-1]==="/"&&(y=y.substring(0,y.length-1),u--),!Ye(y)){let b;return b=y.trim().length===0?"Invalid space after '<'.":"Tag '"+y+"' is an invalid name.",L("InvalidTag",b,F(e,u))}let g=P(e,u);if(g===!1)return L("InvalidAttr","Attributes for '"+y+"' have open quote.",F(e,u));let N=g.value;if(u=g.index,N[N.length-1]==="/"){let b=u-N.length;N=N.substring(0,N.length-1);let T=B(N,s);if(T!==!0)return L(T.err.code,T.err.msg,F(e,b+T.err.line));a=!0}else if(p){if(!g.tagClosed)return L("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",F(e,u));if(N.trim().length>0)return L("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",F(e,x));if(o.length===0)return L("InvalidTag","Closing tag '"+y+"' has not been opened.",F(e,x));{let b=o.pop();if(y!==b.tagName){let T=F(e,b.tagStartPos);return L("InvalidTag","Expected closing tag '"+b.tagName+"' (opened in line "+T.line+", col "+T.col+") instead of closing tag '"+y+"'.",F(e,x))}o.length==0&&(h=!0)}}else{let b=B(N,s);if(b!==!0)return L(b.err.code,b.err.msg,F(e,u-N.length+b.err.line));if(h===!0)return L("InvalidXml","Multiple possible root nodes found.",F(e,u));s.unpairedTags.indexOf(y)!==-1||o.push({tagName:y,tagStartPos:x}),a=!0}for(u++;u<e.length;u++)if(e[u]==="<"){if(e[u+1]==="!"){u++,u=_(e,u);continue}if(e[u+1]!=="?")break;if(u=S(e,++u),u.err)return u}else if(e[u]==="&"){let b=Z(e,u);if(b==-1)return L("InvalidChar","char '&' is not expected.",F(e,u));u=b}else if(h===!0&&!E(e[u]))return L("InvalidXml","Extra text at the end",F(e,u));e[u]==="<"&&u--}}}return a?o.length==1?L("InvalidTag","Unclosed tag '"+o[0].tagName+"'.",F(e,o[0].tagStartPos)):!(o.length>0)||L("InvalidXml","Invalid '"+JSON.stringify(o.map((u)=>u.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):L("InvalidXml","Start tag expected.",1)}function E(e){return e===" "||e==="\t"||e===`
4
4
  `||e==="\r"}function S(e,s){let o=s;for(;s<e.length;s++)if(e[s]=="?"||e[s]==" "){let a=e.substr(o,s-o);if(s>5&&a==="xml")return L("InvalidXml","XML declaration allowed only at the start of the document.",F(e,s));if(e[s]=="?"&&e[s+1]==">"){s++;break}continue}return s}function _(e,s){if(e.length>s+5&&e[s+1]==="-"&&e[s+2]==="-"){for(s+=3;s<e.length;s++)if(e[s]==="-"&&e[s+1]==="-"&&e[s+2]===">"){s+=2;break}}else if(e.length>s+8&&e[s+1]==="D"&&e[s+2]==="O"&&e[s+3]==="C"&&e[s+4]==="T"&&e[s+5]==="Y"&&e[s+6]==="P"&&e[s+7]==="E"){let o=1;for(s+=8;s<e.length;s++)if(e[s]==="<")o++;else if(e[s]===">"&&(o--,o===0))break}else if(e.length>s+9&&e[s+1]==="["&&e[s+2]==="C"&&e[s+3]==="D"&&e[s+4]==="A"&&e[s+5]==="T"&&e[s+6]==="A"&&e[s+7]==="["){for(s+=8;s<e.length;s++)if(e[s]==="]"&&e[s+1]==="]"&&e[s+2]===">"){s+=2;break}}return s}let A='"',I="'";function P(e,s){let o="",a="",h=!1;for(;s<e.length;s++){if(e[s]===A||e[s]===I)a===""?a=e[s]:a!==e[s]||(a="");else if(e[s]===">"&&a===""){h=!0;break}o+=e[s]}return a===""&&{value:o,index:s,tagClosed:h}}let V=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function B(e,s){let o=l(e,V),a={};for(let h=0;h<o.length;h++){if(o[h][1].length===0)return L("InvalidAttr","Attribute '"+o[h][2]+"' has no space in starting.",te(o[h]));if(o[h][3]!==void 0&&o[h][4]===void 0)return L("InvalidAttr","Attribute '"+o[h][2]+"' is without value.",te(o[h]));if(o[h][3]===void 0&&!s.allowBooleanAttributes)return L("InvalidAttr","boolean attribute '"+o[h][2]+"' is not allowed.",te(o[h]));let u=o[h][2];if(!ue(u))return L("InvalidAttr","Attribute '"+u+"' is an invalid name.",te(o[h]));if(Object.prototype.hasOwnProperty.call(a,u))return L("InvalidAttr","Attribute '"+u+"' is repeated.",te(o[h]));a[u]=1}return!0}function Z(e,s){if(e[++s]===";")return-1;if(e[s]==="#")return function(a,h){let u=/\d/;for(a[h]==="x"&&(h++,u=/[\da-fA-F]/);h<a.length;h++){if(a[h]===";")return h;if(!a[h].match(u))break}return-1}(e,++s);let o=0;for(;s<e.length;s++,o++)if(!(e[s].match(/\w/)&&o<20)){if(e[s]===";")break;return-1}return s}function L(e,s,o){return{err:{code:e,msg:s,line:o.line||o,col:o.col}}}function ue(e){return c(e)}function Ye(e){return c(e)}function F(e,s){let o=e.substring(0,s).split(/\r?\n/);return{line:o.length,col:o[o.length-1].length+1}}function te(e){return e.startIndex+e[1].length}let Qt=(e)=>d.includes(e)?"__"+e:e,Ns={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,s){return s},attributeValueProcessor:function(e,s){return s},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,s,o){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Qt};function Ss(e,s){if(typeof e!="string")return;let o=e.toLowerCase();if(d.some((a)=>o===a.toLowerCase()))throw Error(`[SECURITY] Invalid ${s}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);if(f.some((a)=>o===a.toLowerCase()))throw Error(`[SECURITY] Invalid ${s}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}function Kt(e,s){return typeof e=="boolean"?{enabled:e,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1000,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof e=="object"&&e!==null?{enabled:e.enabled!==!1,maxEntitySize:Math.max(1,e.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,e.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,e.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,e.maxExpandedLength??1e5),maxEntityCount:Math.max(1,e.maxEntityCount??1000),allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null,appliesTo:e.appliesTo??"all"}:Kt(!0)}let bs=function(e){let s=Object.assign({},Ns,e),o=[{value:s.attributeNamePrefix,name:"attributeNamePrefix"},{value:s.attributesGroupName,name:"attributesGroupName"},{value:s.textNodeName,name:"textNodeName"},{value:s.cdataPropName,name:"cdataPropName"},{value:s.commentPropName,name:"commentPropName"}];for(let{value:a,name:h}of o)a&&Ss(a,h);return s.onDangerousProperty===null&&(s.onDangerousProperty=Qt),s.processEntities=Kt(s.processEntities,s.htmlEntities),s.unpairedTagsSet=new Set(s.unpairedTags),s.stopNodes&&Array.isArray(s.stopNodes)&&(s.stopNodes=s.stopNodes.map((a)=>typeof a=="string"&&a.startsWith("*.")?".."+a.substring(2):a)),s},Ze;Ze=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class se{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,s){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:s})}addChild(e,s){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),s!==void 0&&(this.child[this.child.length-1][Ze]={startIndex:s})}static getMetaDataSymbol(){return Ze}}class Gt{constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,s){let o=Object.create(null),a=0;if(e[s+3]!=="O"||e[s+4]!=="C"||e[s+5]!=="T"||e[s+6]!=="Y"||e[s+7]!=="P"||e[s+8]!=="E")throw Error("Invalid Tag instead of DOCTYPE");{s+=9;let h=1,u=!1,x=!1,p="";for(;s<e.length;s++)if(e[s]!=="<"||x)if(e[s]===">"){if(x?e[s-1]==="-"&&e[s-2]==="-"&&(x=!1,h--):h--,h===0)break}else e[s]==="["?u=!0:p+=e[s];else{if(u&&de(e,"!ENTITY",s)){let y,g;if(s+=7,[y,g,s]=this.readEntityExp(e,s+1,this.suppressValidationErr),g.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&a>=this.options.maxEntityCount)throw Error(`Entity count (${a+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);o[y]=g,a++}}else if(u&&de(e,"!ELEMENT",s)){s+=8;let{index:y}=this.readElementExp(e,s+1);s=y}else if(u&&de(e,"!ATTLIST",s))s+=8;else if(u&&de(e,"!NOTATION",s)){s+=9;let{index:y}=this.readNotationExp(e,s+1,this.suppressValidationErr);s=y}else{if(!de(e,"!--",s))throw Error("Invalid DOCTYPE");x=!0}h++,p=""}if(h!==0)throw Error("Unclosed DOCTYPE")}return{entities:o,i:s}}readEntityExp(e,s){let o=s=J(e,s);for(;s<e.length&&!/\s/.test(e[s])&&e[s]!=='"'&&e[s]!=="'";)s++;let a=e.substring(o,s);if(Re(a),s=J(e,s),!this.suppressValidationErr){if(e.substring(s,s+6).toUpperCase()==="SYSTEM")throw Error("External entities are not supported");if(e[s]==="%")throw Error("Parameter entities are not supported")}let h="";if([s,h]=this.readIdentifierVal(e,s,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize!=null&&h.length>this.options.maxEntitySize)throw Error(`Entity "${a}" size (${h.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[a,h,--s]}readNotationExp(e,s){let o=s=J(e,s);for(;s<e.length&&!/\s/.test(e[s]);)s++;let a=e.substring(o,s);!this.suppressValidationErr&&Re(a),s=J(e,s);let h=e.substring(s,s+6).toUpperCase();if(!this.suppressValidationErr&&h!=="SYSTEM"&&h!=="PUBLIC")throw Error(`Expected SYSTEM or PUBLIC, found "${h}"`);s+=h.length,s=J(e,s);let u=null,x=null;if(h==="PUBLIC")[s,u]=this.readIdentifierVal(e,s,"publicIdentifier"),e[s=J(e,s)]!=='"'&&e[s]!=="'"||([s,x]=this.readIdentifierVal(e,s,"systemIdentifier"));else if(h==="SYSTEM"&&([s,x]=this.readIdentifierVal(e,s,"systemIdentifier"),!this.suppressValidationErr&&!x))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:a,publicIdentifier:u,systemIdentifier:x,index:--s}}readIdentifierVal(e,s,o){let a="",h=e[s];if(h!=='"'&&h!=="'")throw Error(`Expected quoted string, found "${h}"`);let u=++s;for(;s<e.length&&e[s]!==h;)s++;if(a=e.substring(u,s),e[s]!==h)throw Error(`Unterminated ${o} value`);return[++s,a]}readElementExp(e,s){let o=s=J(e,s);for(;s<e.length&&!/\s/.test(e[s]);)s++;let a=e.substring(o,s);if(!this.suppressValidationErr&&!c(a))throw Error(`Invalid element name: "${a}"`);let h="";if(e[s=J(e,s)]==="E"&&de(e,"MPTY",s))s+=4;else if(e[s]==="A"&&de(e,"NY",s))s+=2;else if(e[s]==="("){let u=++s;for(;s<e.length&&e[s]!==")";)s++;if(h=e.substring(u,s),e[s]!==")")throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[s]}"`);return{elementName:a,contentModel:h.trim(),index:s}}readAttlistExp(e,s){let o=s=J(e,s);for(;s<e.length&&!/\s/.test(e[s]);)s++;let a=e.substring(o,s);for(Re(a),o=s=J(e,s);s<e.length&&!/\s/.test(e[s]);)s++;let h=e.substring(o,s);if(!Re(h))throw Error(`Invalid attribute name: "${h}"`);s=J(e,s);let u="";if(e.substring(s,s+8).toUpperCase()==="NOTATION"){if(u="NOTATION",e[s=J(e,s+=8)]!=="(")throw Error(`Expected '(', found "${e[s]}"`);s++;let p=[];for(;s<e.length&&e[s]!==")";){let y=s;for(;s<e.length&&e[s]!=="|"&&e[s]!==")";)s++;let g=e.substring(y,s);if(g=g.trim(),!Re(g))throw Error(`Invalid notation name: "${g}"`);p.push(g),e[s]==="|"&&(s++,s=J(e,s))}if(e[s]!==")")throw Error("Unterminated list of notations");s++,u+=" ("+p.join("|")+")"}else{let p=s;for(;s<e.length&&!/\s/.test(e[s]);)s++;u+=e.substring(p,s);let y=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!y.includes(u.toUpperCase()))throw Error(`Invalid attribute type: "${u}"`)}s=J(e,s);let x="";return e.substring(s,s+8).toUpperCase()==="#REQUIRED"?(x="#REQUIRED",s+=8):e.substring(s,s+7).toUpperCase()==="#IMPLIED"?(x="#IMPLIED",s+=7):[s,x]=this.readIdentifierVal(e,s,"ATTLIST"),{elementName:a,attributeName:h,attributeType:u,defaultValue:x,index:s}}}let J=(e,s)=>{for(;s<e.length&&/\s/.test(e[s]);)s++;return s};function de(e,s,o){for(let a=0;a<s.length;a++)if(s[a]!==e[o+a+1])return!1;return!0}function Re(e){if(c(e))return e;throw Error(`Invalid entity name ${e}`)}let _s=/^[-+]?0x[a-fA-F0-9]+$/,As=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,Ts={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original"},Cs=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;class Wt{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let s=this._matcher.path;if(s.length!==0)return s[s.length-1].values?.[e]}hasAttr(e){let s=this._matcher.path;if(s.length===0)return!1;let o=s[s.length-1];return o.values!==void 0&&e in o.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,s=!0){return this._matcher.toString(e,s)}toArray(){return this._matcher.path.map((e)=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class De{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Wt(this)}push(e,s=null,o=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let a=this.path.length;this.siblingStacks[a]||(this.siblingStacks[a]=new Map);let h=this.siblingStacks[a],u=o?`${o}:${e}`:e,x=h.get(u)||0,p=0;for(let g of h.values())p+=g;h.set(u,x+1);let y={tag:e,position:p,counter:x};o!=null&&(y.namespace=o),s!=null&&(y.values=s),this.path.push(y)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let s=this.path[this.path.length-1];e!=null&&(s.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let s=this.path[this.path.length-1];return s.values!==void 0&&e in s.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,s=!0){let o=e||this.separator;if(o===this.separator&&s===!0){if(this._pathStringCache!==null)return this._pathStringCache;let a=this.path.map((h)=>h.namespace?`${h.namespace}:${h.tag}`:h.tag).join(o);return this._pathStringCache=a,a}return this.path.map((a)=>s&&a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(o)}toArray(){return this.path.map((e)=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let s=e.segments;return s.length!==0&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(s):this._matchSimple(s))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let s=0;s<e.length;s++)if(!this._matchSegment(e[s],this.path[s],s===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let s=this.path.length-1,o=e.length-1;for(;o>=0&&s>=0;){let a=e[o];if(a.type==="deep-wildcard"){if(o--,o<0)return!0;let h=e[o],u=!1;for(let x=s;x>=0;x--)if(this._matchSegment(h,this.path[x],x===this.path.length-1)){s=x-1,o--,u=!0;break}if(!u)return!1}else{if(!this._matchSegment(a,this.path[s],s===this.path.length-1))return!1;s--,o--}}return o<0}_matchSegment(e,s,o){if(e.tag!=="*"&&e.tag!==s.tag)return!1;if(e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==s.namespace)return!1;if(e.attrName!==void 0){if(!o)return!1;if(!s.values||!(e.attrName in s.values))return!1;if(e.attrValue!==void 0&&String(s.values[e.attrName])!==String(e.attrValue))return!1}if(e.position!==void 0){if(!o)return!1;let a=s.counter??0;if(e.position==="first"&&a!==0)return!1;if(e.position==="odd"&&a%2!=1)return!1;if(e.position==="even"&&a%2!=0)return!1;if(e.position==="nth"&&a!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map((e)=>({...e})),siblingStacks:this.siblingStacks.map((e)=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map((s)=>({...s})),this.siblingStacks=e.siblingStacks.map((s)=>new Map(s))}readOnly(){return this._view}}class pe{constructor(e,s={},o){this.pattern=e,this.separator=s.separator||".",this.segments=this._parse(e),this.data=o,this._hasDeepWildcard=this.segments.some((a)=>a.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some((a)=>a.attrName!==void 0),this._hasPositionSelector=this.segments.some((a)=>a.position!==void 0)}_parse(e){let s=[],o=0,a="";for(;o<e.length;)e[o]===this.separator?o+1<e.length&&e[o+1]===this.separator?(a.trim()&&(s.push(this._parseSegment(a.trim())),a=""),s.push({type:"deep-wildcard"}),o+=2):(a.trim()&&s.push(this._parseSegment(a.trim())),a="",o++):(a+=e[o],o++);return a.trim()&&s.push(this._parseSegment(a.trim())),s}_parseSegment(e){let s={type:"tag"},o=null,a=e,h=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(h&&(a=h[1]+h[3],h[2])){let g=h[2].slice(1,-1);g&&(o=g)}let u,x,p=a;if(a.includes("::")){let g=a.indexOf("::");if(u=a.substring(0,g).trim(),p=a.substring(g+2).trim(),!u)throw Error(`Invalid namespace in pattern: ${e}`)}let y=null;if(p.includes(":")){let g=p.lastIndexOf(":"),N=p.substring(0,g).trim(),b=p.substring(g+1).trim();["first","last","odd","even"].includes(b)||/^nth\(\d+\)$/.test(b)?(x=N,y=b):x=p}else x=p;if(!x)throw Error(`Invalid segment pattern: ${e}`);if(s.tag=x,u&&(s.namespace=u),o)if(o.includes("=")){let g=o.indexOf("=");s.attrName=o.substring(0,g).trim(),s.attrValue=o.substring(g+1).trim()}else s.attrName=o.trim();if(y){let g=y.match(/^nth\((\d+)\)$/);g?(s.position="nth",s.positionValue=parseInt(g[1],10)):s.position=y}return s}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class Jt{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard())return this._deepWildcards.push(e),this;let s=e.length,o=e.segments[e.segments.length-1],a=o?.tag;if(a&&a!=="*"){let h=`${s}:${a}`;this._byDepthAndTag.has(h)||this._byDepthAndTag.set(h,[]),this._byDepthAndTag.get(h).push(e)}else this._wildcardByDepth.has(s)||this._wildcardByDepth.set(s,[]),this._wildcardByDepth.get(s).push(e);return this}addAll(e){for(let s of e)this.add(s);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return this.findMatch(e)!==null}findMatch(e){let s=e.getDepth(),o=`${s}:${e.getCurrentTag()}`,a=this._byDepthAndTag.get(o);if(a){for(let u=0;u<a.length;u++)if(e.matches(a[u]))return a[u]}let h=this._wildcardByDepth.get(s);if(h){for(let u=0;u<h.length;u++)if(e.matches(h[u]))return h[u]}for(let u=0;u<this._deepWildcards.length;u++)if(e.matches(this._deepWildcards[u]))return this._deepWildcards[u];return null}}let Ms={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",euro:"\u20AC",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"},jt={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Rs={nbsp:"\xA0",copy:"\xA9",reg:"\xAE",trade:"\u2122",mdash:"\u2014",ndash:"\u2013",hellip:"\u2026",laquo:"\xAB",raquo:"\xBB",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",bull:"\u2022",para:"\xB6",sect:"\xA7",deg:"\xB0",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE"},Ps=new Set("!?\\\\/[]$%{}^&*()<>|+");function Yt(e){if(e[0]==="#")throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let s of e)if(Ps.has(s))throw Error(`[EntityReplacer] Invalid character '${s}' in entity name: "${e}"`);return e}function et(...e){let s=Object.create(null);for(let o of e)if(o)for(let a of Object.keys(o)){let h=o[a];if(typeof h=="string")s[a]=h;else if(h&&typeof h=="object"&&h.val!==void 0){let u=h.val;typeof u=="string"&&(s[a]=u)}}return s}let fe="external",Le="base",tt="all",Y=Object.freeze({allow:0,leave:1,remove:2,throw:3}),$s=new Set([9,10,13]);class Zt{constructor(e={}){var s;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck=="function"?e.postCheck:(a)=>a,this._limitTiers=(s=this._limit.applyLimitsTo??fe)&&s!==fe?s===tt?new Set([tt]):s===Le?new Set([Le]):Array.isArray(s)?new Set(s):new Set([fe]):new Set([fe]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=et(jt,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let o=function(a){if(!a)return{xmlVersion:1,onLevel:Y.allow,nullLevel:Y.remove};let h=a.xmlVersion===1.1?1.1:1,u=Y[a.onNCR]??Y.allow,x=Y[a.nullNCR]??Y.remove;return{xmlVersion:h,onLevel:u,nullLevel:Math.max(x,Y.remove)}}(e.ncr);this._ncrXmlVersion=o.xmlVersion,this._ncrOnLevel=o.onLevel,this._ncrNullLevel=o.nullLevel}setExternalEntities(e){if(e)for(let s of Object.keys(e))Yt(s);this._externalMap=et(e)}addExternalEntity(e,s){Yt(e),typeof s=="string"&&s.indexOf("&")===-1&&(this._externalMap[e]=s)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=et(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!="string"||e.length===0)return e;let s=e,o=[],a=e.length,h=0,u=0,x=this._maxTotalExpansions>0,p=this._maxExpandedLength>0,y=x||p;for(;u<a;){if(e.charCodeAt(u)!==38){u++;continue}let N=u+1;for(;N<a&&e.charCodeAt(N)!==59&&N-u<=32;)N++;if(N>=a||e.charCodeAt(N)!==59){u++;continue}let b=e.slice(u+1,N);if(b.length===0){u++;continue}let T,M;if(this._removeSet.has(b))T="",M===void 0&&(M=fe);else{if(this._leaveSet.has(b)){u++;continue}if(b.charCodeAt(0)===35){let R=this._resolveNCR(b);if(R===void 0){u++;continue}T=R,M=Le}else{let R=this._resolveName(b);T=R?.value,M=R?.tier}}if(T!==void 0){if(u>h&&o.push(e.slice(h,u)),o.push(T),h=N+1,u=h,y&&this._tierCounts(M)){if(x&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(p){let R=T.length-(b.length+2);if(R>0&&(this._expandedLength+=R,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}else u++}h<a&&o.push(e.slice(h));let g=o.length===0?e:o.join("");return this._postCheck(g,s)}_tierCounts(e){return!!this._limitTiers.has(tt)||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:fe}:(e in this._externalMap)?{value:this._externalMap[e],tier:fe}:(e in this._baseMap)?{value:this._baseMap[e],tier:Le}:void 0}_classifyNCR(e){return e===0?this._ncrNullLevel:e>=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!$s.has(e)?Y.remove:-1}_applyNCRAction(e,s,o){switch(e){case Y.allow:return String.fromCodePoint(o);case Y.remove:return"";case Y.leave:return;case Y.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${s}; (U+${o.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(o)}}_resolveNCR(e){let s=e.charCodeAt(1),o;if(o=s===120||s===88?parseInt(e.slice(2),16):parseInt(e.slice(1),10),Number.isNaN(o)||o<0||o>1114111)return;let a=this._classifyNCR(o);if(!this._numericAllowed&&a<Y.remove)return;let h=a===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,a);return this._applyNCRAction(h,e,o)}}function Is(e,s){if(!e)return{};let o=s.attributesGroupName?e[s.attributesGroupName]:e;if(!o)return{};let a={};for(let h in o)h.startsWith(s.attributeNamePrefix)?a[h.substring(s.attributeNamePrefix.length)]=o[h]:a[h]=o[h];return a}function Ds(e){if(!e||typeof e!="string")return;let s=e.indexOf(":");if(s!==-1&&s>0){let o=e.substring(0,s);if(o!=="xmlns")return o}}class er{constructor(e,s){var o;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Us,this.parseTextData=Ls,this.resolveNameSpace=ks,this.buildAttributesMap=Os,this.isItStopNode=vs,this.replaceEntitiesValue=Bs,this.readStopNodeData=Hs,this.saveTextToParentTag=Xs,this.addChild=Vs,this.ignoreAttributesFn=typeof(o=this.options.ignoreAttributes)=="function"?o:Array.isArray(o)?(u)=>{for(let x of o){if(typeof x=="string"&&u===x)return!0;if(x instanceof RegExp&&x.test(u))return!0}}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0;let a={...jt};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?a=this.options.htmlEntities:this.options.htmlEntities===!0&&(a={...Rs,...Ms}),this.entityDecoder=new Zt({namedEntities:{...a,...s},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new De,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Jt;let h=this.options.stopNodes;if(h&&h.length>0){for(let u=0;u<h.length;u++){let x=h[u];typeof x=="string"?this.stopNodeExpressionsSet.add(new pe(x)):x instanceof pe&&this.stopNodeExpressionsSet.add(x)}this.stopNodeExpressionsSet.seal()}}}function Ls(e,s,o,a,h,u,x){let p=this.options;if(e!==void 0&&(p.trimValues&&!a&&(e=e.trim()),e.length>0)){x||(e=this.replaceEntitiesValue(e,s,o));let y=p.jPath?o.toString():o,g=p.tagValueProcessor(s,e,y,h,u);return g==null?e:typeof g!=typeof e||g!==e?g:p.trimValues||e.trim()===e?tr(e,p.parseTagValue,p.numberParseOptions):e}}function ks(e){if(this.options.removeNSPrefix){let s=e.split(":"),o=e.charAt(0)==="/"?"/":"";if(s[0]==="xmlns")return"";s.length===2&&(e=o+s[1])}return e}let zs=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Os(e,s,o,a=!1){let h=this.options;if(a===!0||h.ignoreAttributes!==!0&&typeof e=="string"){let u=l(e,zs),x=u.length,p={},y=Array(x),g=!1,N={};for(let M=0;M<x;M++){let R=this.resolveNameSpace(u[M][1]),z=u[M][4];if(R.length&&z!==void 0){let v=z;h.trimValues&&(v=v.trim()),v=this.replaceEntitiesValue(v,o,this.readonlyMatcher),y[M]=v,N[R]=v,g=!0}}g&&typeof s=="object"&&s.updateCurrent&&s.updateCurrent(N);let b=h.jPath?s.toString():this.readonlyMatcher,T=!1;for(let M=0;M<x;M++){let R=this.resolveNameSpace(u[M][1]);if(this.ignoreAttributesFn(R,b))continue;let z=h.attributeNamePrefix+R;if(R.length)if(h.transformAttributeName&&(z=h.transformAttributeName(z)),z=rr(z,h),u[M][4]!==void 0){let v=y[M],K=h.attributeValueProcessor(R,v,b);p[z]=K==null?v:typeof K!=typeof v||K!==v?K:tr(v,h.parseAttributeValue,h.numberParseOptions),T=!0}else h.allowBooleanAttributes&&(p[z]=!0,T=!0)}if(!T)return;if(h.attributesGroupName&&!h.preserveOrder){let M={};return M[h.attributesGroupName]=p,M}return p}}let Us=function(e){e=e.replace(/\r\n?/g,`
5
5
  `);let s=new se("!xml"),o=s,a="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let h=this.options,u=new Gt(h.processEntities),x=e.length;for(let p=0;p<x;p++)if(e[p]==="<"){let y=e.charCodeAt(p+1);if(y===47){let g=Ee(e,">",p,"Closing Tag is not closed."),N=e.substring(p+2,g).trim();if(h.removeNSPrefix){let T=N.indexOf(":");T!==-1&&(N=N.substr(T+1))}N=st(h.transformTagName,N,"",h).tagName,o&&(a=this.saveTextToParentTag(a,o,this.readonlyMatcher));let b=this.matcher.getCurrentTag();if(N&&h.unpairedTagsSet.has(N))throw Error(`Unpaired tag can not be used as closing tag: </${N}>`);b&&h.unpairedTagsSet.has(b)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,o=this.tagsNodeStack.pop(),a="",p=g}else if(y===63){let g=rt(e,p,!1,"?>");if(!g)throw Error("Pi Tag is not closed.");a=this.saveTextToParentTag(a,o,this.readonlyMatcher);let N=this.buildAttributesMap(g.tagExp,this.matcher,g.tagName,!0);if(N){let b=N[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(b)||1)}if(h.ignoreDeclaration&&g.tagName==="?xml"||h.ignorePiTags);else{let b=new se(g.tagName);b.add(h.textNodeName,""),g.tagName!==g.tagExp&&g.attrExpPresent&&h.ignoreAttributes!==!0&&(b[":@"]=N),this.addChild(o,b,this.readonlyMatcher,p)}p=g.closeIndex+1}else if(y===33&&e.charCodeAt(p+2)===45&&e.charCodeAt(p+3)===45){let g=Ee(e,"-->",p+4,"Comment is not closed.");if(h.commentPropName){let N=e.substring(p+4,g-2);a=this.saveTextToParentTag(a,o,this.readonlyMatcher),o.add(h.commentPropName,[{[h.textNodeName]:N}])}p=g}else if(y===33&&e.charCodeAt(p+2)===68){let g=u.readDocType(e,p);this.entityDecoder.addInputEntities(g.entities),p=g.i}else if(y===33&&e.charCodeAt(p+2)===91){let g=Ee(e,"]]>",p,"CDATA is not closed.")-2,N=e.substring(p+9,g);a=this.saveTextToParentTag(a,o,this.readonlyMatcher);let b=this.parseTextData(N,o.tagname,this.readonlyMatcher,!0,!1,!0,!0);b==null&&(b=""),h.cdataPropName?o.add(h.cdataPropName,[{[h.textNodeName]:N}]):o.add(h.textNodeName,b),p=g+2}else{let g=rt(e,p,h.removeNSPrefix);if(!g){let X=e.substring(Math.max(0,p-50),Math.min(x,p+50));throw Error(`readTagExp returned undefined at position ${p}. Context: "${X}"`)}let{tagName:N,rawTagName:b,tagExp:T,attrExpPresent:M,closeIndex:R}=g;if({tagName:N,tagExp:T}=st(h.transformTagName,N,T,h),h.strictReservedNames&&(N===h.commentPropName||N===h.cdataPropName||N===h.textNodeName||N===h.attributesGroupName))throw Error(`Invalid tag name: ${N}`);o&&a&&o.tagname!=="!xml"&&(a=this.saveTextToParentTag(a,o,this.readonlyMatcher,!1));let z=o;z&&h.unpairedTagsSet.has(z.tagname)&&(o=this.tagsNodeStack.pop(),this.matcher.pop());let v=!1;T.length>0&&T.lastIndexOf("/")===T.length-1&&(v=!0,N[N.length-1]==="/"?(N=N.substr(0,N.length-1),T=N):T=T.substr(0,T.length-1),M=N!==T);let K,q=null,Se={};K=Ds(b),N!==s.tagname&&this.matcher.push(N,{},K),N!==T&&M&&(q=this.buildAttributesMap(T,this.matcher,N),q&&(Se=Is(q,h))),N!==s.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let G=p;if(this.isCurrentNodeStopNode){let X="";if(v)p=g.closeIndex;else if(h.unpairedTagsSet.has(N))p=g.closeIndex;else{let at=this.readStopNodeData(e,b,R+1);if(!at)throw Error(`Unexpected end of ${b}`);p=at.i,X=at.tagContent}let ot=new se(N);q&&(ot[":@"]=q),ot.add(h.textNodeName,X),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(o,ot,this.readonlyMatcher,G)}else{if(v){({tagName:N,tagExp:T}=st(h.transformTagName,N,T,h));let X=new se(N);q&&(X[":@"]=q),this.addChild(o,X,this.readonlyMatcher,G),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(h.unpairedTagsSet.has(N)){let X=new se(N);q&&(X[":@"]=q),this.addChild(o,X,this.readonlyMatcher,G),this.matcher.pop(),this.isCurrentNodeStopNode=!1,p=g.closeIndex;continue}{let X=new se(N);if(this.tagsNodeStack.length>h.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(o),q&&(X[":@"]=q),this.addChild(o,X,this.readonlyMatcher,G),o=X}}a="",p=R}}}else a+=e[p];return s.child};function Vs(e,s,o,a){this.options.captureMetaData||(a=void 0);let h=this.options.jPath?o.toString():o,u=this.options.updateTag(s.tagname,h,s[":@"]);u===!1||(typeof u=="string"?(s.tagname=u,e.addChild(s,a)):e.addChild(s,a))}function Bs(e,s,o){let a=this.options.processEntities;if(!a||!a.enabled)return e;if(a.allowedTags){let h=this.options.jPath?o.toString():o;if(!(Array.isArray(a.allowedTags)?a.allowedTags.includes(s):a.allowedTags(s,h)))return e}if(a.tagFilter){let h=this.options.jPath?o.toString():o;if(!a.tagFilter(s,h))return e}return this.entityDecoder.decode(e)}function Xs(e,s,o,a){return e&&(a===void 0&&(a=s.child.length===0),(e=this.parseTextData(e,s.tagname,o,!1,!!s[":@"]&&Object.keys(s[":@"]).length!==0,a))!==void 0&&e!==""&&s.add(this.options.textNodeName,e),e=""),e}function vs(){return this.stopNodeExpressionsSet.size!==0&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Ee(e,s,o,a){let h=e.indexOf(s,o);if(h===-1)throw Error(a);return h+s.length-1}function Fs(e,s,o,a){let h=e.indexOf(s,o);if(h===-1)throw Error(a);return h}function rt(e,s,o,a=">"){let h=function(b,T,M=">"){let R=0,z=b.length,v=M.charCodeAt(0),K=M.length>1?M.charCodeAt(1):-1,q="",Se=T;for(let G=T;G<z;G++){let X=b.charCodeAt(G);if(R)X===R&&(R=0);else if(X===34||X===39)R=X;else if(X===v){if(K===-1)return q+=b.substring(Se,G),{data:q,index:G};if(b.charCodeAt(G+1)===K)return q+=b.substring(Se,G),{data:q,index:G}}else X!==9||R||(q+=b.substring(Se,G)+" ",Se=G+1)}}(e,s+1,a);if(!h)return;let{data:u,index:x}=h,p=u.search(/\s/),y=u,g=!0;p!==-1&&(y=u.substring(0,p),u=u.substring(p+1).trimStart());let N=y;if(o){let b=y.indexOf(":");b!==-1&&(y=y.substr(b+1),g=y!==h.data.substr(b+1))}return{tagName:y,tagExp:u,closeIndex:x,attrExpPresent:g,rawTagName:N}}function Hs(e,s,o){let a=o,h=1,u=e.length;for(;o<u;o++)if(e[o]==="<"){let x=e.charCodeAt(o+1);if(x===47){let p=Fs(e,">",o,`${s} is not closed`);if(e.substring(o+2,p).trim()===s&&(h--,h===0))return{tagContent:e.substring(a,o),i:p};o=p}else if(x===63)o=Ee(e,"?>",o+1,"StopNode is not closed.");else if(x===33&&e.charCodeAt(o+2)===45&&e.charCodeAt(o+3)===45)o=Ee(e,"-->",o+3,"StopNode is not closed.");else if(x===33&&e.charCodeAt(o+2)===91)o=Ee(e,"]]>",o,"StopNode is not closed.")-2;else{let p=rt(e,o,!1);p&&((p&&p.tagName)===s&&p.tagExp[p.tagExp.length-1]!=="/"&&h++,o=p.closeIndex)}}}function tr(e,s,o){if(s&&typeof e=="string"){let a=e.trim();return a==="true"||a!=="false"&&function(h,u={}){if(u=Object.assign({},Ts,u),!h||typeof h!="string")return h;let x=h.trim();if(x.length===0)return h;if(u.skipLike!==void 0&&u.skipLike.test(x))return h;if(x==="0")return 0;if(u.hex&&_s.test(x))return function(y){if(parseInt)return parseInt(y,16);if(Number.parseInt)return Number.parseInt(y,16);if(window&&window.parseInt)return window.parseInt(y,16);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}(x);if(isFinite(x)){if(x.includes("e")||x.includes("E"))return function(y,g,N){if(!N.eNotation)return y;let b=g.match(Cs);if(b){let T=b[1]||"",M=b[3].indexOf("e")===-1?"E":"e",R=b[2],z=T?y[R.length+1]===M:y[R.length]===M;return R.length>1&&z?y:(R.length!==1||!b[3].startsWith(`.${M}`)&&b[3][0]!==M)&&R.length>0?N.leadingZeros&&!z?(g=(b[1]||"")+b[3],Number(g)):y:Number(g)}return y}(h,x,u);{let y=As.exec(x);if(y){let g=y[1]||"",N=y[2],b=(p=y[3])&&p.indexOf(".")!==-1?((p=p.replace(/0+$/,""))==="."?p="0":p[0]==="."?p="0"+p:p[p.length-1]==="."&&(p=p.substring(0,p.length-1)),p):p,T=g?h[N.length+1]===".":h[N.length]===".";if(!u.leadingZeros&&(N.length>1||N.length===1&&!T))return h;{let M=Number(x),R=String(M);if(M===0)return M;if(R.search(/[eE]/)!==-1)return u.eNotation?M:h;if(x.indexOf(".")!==-1)return R==="0"||R===b||R===`${g}${b}`?M:h;let z=N?b:x;return N?z===R||g+z===R?M:h:z===R||z===g+R?M:h}}return h}}var p;return function(y,g,N){let b=g===1/0;switch(N.infinity.toLowerCase()){case"null":return null;case"infinity":return g;case"string":return b?"Infinity":"-Infinity";default:return y}}(h,Number(x),u)}(e,o)}return e!==void 0?e:""}function st(e,s,o,a){if(e){let h=e(s);o===s&&(o=h),s=h}return{tagName:s=rr(s,a),tagExp:o}}function rr(e,s){if(f.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return d.includes(e)?s.onDangerousProperty(e):e}let it=se.getMetaDataSymbol();function qs(e,s){if(!e||typeof e!="object")return{};if(!s)return e;let o={};for(let a in e)a.startsWith(s)?o[a.substring(s.length)]=e[a]:o[a]=e[a];return o}function Qs(e,s,o,a){return sr(e,s,o,a)}function sr(e,s,o,a){let h,u={};for(let x=0;x<e.length;x++){let p=e[x],y=Ks(p);if(y!==void 0&&y!==s.textNodeName){let g=qs(p[":@"]||{},s.attributeNamePrefix);o.push(y,g)}if(y===s.textNodeName)h===void 0?h=p[y]:h+=""+p[y];else{if(y===void 0)continue;if(p[y]){let g=sr(p[y],s,o,a),N=Ws(g,s);if(Object.keys(g).length===0&&s.alwaysCreateTextNode&&(g[s.textNodeName]=""),p[":@"]?Gs(g,p[":@"],a,s):Object.keys(g).length!==1||g[s.textNodeName]===void 0||s.alwaysCreateTextNode?Object.keys(g).length===0&&(s.alwaysCreateTextNode?g[s.textNodeName]="":g=""):g=g[s.textNodeName],p[it]!==void 0&&typeof g=="object"&&g!==null&&(g[it]=p[it]),u[y]!==void 0&&Object.prototype.hasOwnProperty.call(u,y))Array.isArray(u[y])||(u[y]=[u[y]]),u[y].push(g);else{let b=s.jPath?a.toString():a;s.isArray(y,b,N)?u[y]=[g]:u[y]=g}y!==void 0&&y!==s.textNodeName&&o.pop()}}}return typeof h=="string"?h.length>0&&(u[s.textNodeName]=h):h!==void 0&&(u[s.textNodeName]=h),u}function Ks(e){let s=Object.keys(e);for(let o=0;o<s.length;o++){let a=s[o];if(a!==":@")return a}}function Gs(e,s,o,a){if(s){let h=Object.keys(s),u=h.length;for(let x=0;x<u;x++){let p=h[x],y=p.startsWith(a.attributeNamePrefix)?p.substring(a.attributeNamePrefix.length):p,g=a.jPath?o.toString()+"."+y:o;a.isArray(p,g,!0,!0)?e[p]=[s[p]]:e[p]=s[p]}}}function Ws(e,s){let{textNodeName:o}=s,a=Object.keys(e).length;return a===0||!(a!==1||!e[o]&&typeof e[o]!="boolean"&&e[o]!==0)}class ir{constructor(e){this.externalEntities={},this.options=bs(e)}parse(e,s){if(typeof e!="string"&&e.toString)e=e.toString();else if(typeof e!="string")throw Error("XML data is accepted in String or Bytes[] form.");if(s){s===!0&&(s={});let h=w(e,s);if(h!==!0)throw Error(`${h.err.msg}:${h.err.line}:${h.err.col}`)}let o=new er(this.options,this.externalEntities),a=o.parseXml(e);return this.options.preserveOrder||a===void 0?a:Qs(a,this.options,o.matcher,o.readonlyMatcher)}addEntity(e,s){if(s.indexOf("&")!==-1)throw Error("Entity value can't have '&'");if(e.indexOf("&")!==-1||e.indexOf(";")!==-1)throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(s==="&")throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=s}static getMetaDataSymbol(){return se.getMetaDataSymbol()}}function nr(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function or(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function Ne(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function Js(e,s){let o="";s.format&&s.indentBy.length>0&&(o=`
@@ -18,4 +18,4 @@ ${r}
18
18
  ${t}
19
19
  ${Q.toHex(c)}`}getCanonicalPath({path:r}){if(this.uriEscapePath){let t=[];for(let l of r.split("/")){if(l?.length===0)continue;if(l===".")continue;if(l==="..")t.pop();else t.push(l)}let i=`${r?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&r?.endsWith("/")?"/":""}`;return Me.escapeUri(i).replace(/%2F/g,"/")}return r}validateResolvedCredentials(r){if(typeof r!=="object"||typeof r.accessKeyId!=="string"||typeof r.secretAccessKey!=="string")throw Error("Resolved credential object is not valid")}formatDate(r){let t=Wn(r).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(r){return Object.keys(r).sort().join(";")}}var Ce={},Ge=[],We=(r,t,i)=>`${r}/${t}/${i}/${Ht}`,ys=async(r,t,i,n,l)=>{let c=await Zr(r,t.secretAccessKey,t.accessKeyId),d=`${i}:${n}:${l}:${Q.toHex(c)}:${t.sessionToken}`;if(d in Ce)return Ce[d];Ge.push(d);while(Ge.length>fs)delete Ce[Ge.shift()];let f=`AWS4${t.secretAccessKey}`;for(let m of[i,n,l,Ht])f=await Zr(r,f,m);return Ce[d]=f},jn=()=>{Ge.length=0,Object.keys(Ce).forEach((r)=>{delete Ce[r]})},Zr=(r,t,i)=>{let n=new r(t);return n.update(Q.toUint8Array(i)),n.digest()},zt=({headers:r},t,i)=>{let n={};for(let l of Object.keys(r).sort()){if(r[l]==null)continue;let c=l.toLowerCase();if(c in hs||t?.has(c)||ls.test(c)||us.test(c)){if(!i||i&&!i.has(c))continue}n[c]=r[l].trim().replace(/\s+/g," ")}return n},Je=async({headers:r,body:t},i)=>{for(let n of Object.keys(r))if(n.toLowerCase()===je)return r[n];if(t==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof t==="string"||ArrayBuffer.isView(t)||Q.isArrayBuffer(t)){let n=new i;return n.update(Q.toUint8Array(t)),Q.toHex(await n.digest())}return ps},xs=(r,t)=>{r=r.toLowerCase();for(let i of Object.keys(t))if(r===i.toLowerCase())return!0;return!1},ws=(r,t={})=>{let{headers:i,query:n={}}=Me.HttpRequest.clone(r);for(let l of Object.keys(i)){let c=l.toLowerCase();if(c.slice(0,6)==="x-amz-"&&!t.unhoistableHeaders?.has(c)||t.hoistableHeaders?.has(c))n[l]=i[l],delete i[l]}return{...r,headers:i,query:n}},Ot=(r)=>{r=Me.HttpRequest.clone(r);for(let t of Object.keys(r.headers))if(os.indexOf(t.toLowerCase())>-1)delete r.headers[t];return r};class Es extends qt{headerFormatter=new es;constructor({applyChecksum:r,credentials:t,region:i,service:n,sha256:l,uriEscapePath:c=!0}){super({applyChecksum:r,credentials:t,region:i,service:n,sha256:l,uriEscapePath:c})}async presign(r,t={}){let{signingDate:i=new Date,expiresIn:n=3600,unsignableHeaders:l,unhoistableHeaders:c,signableHeaders:d,hoistableHeaders:f,signingRegion:m,signingService:w}=t,E=await this.credentialProvider();this.validateResolvedCredentials(E);let S=m??await this.regionProvider(),{longDate:_,shortDate:A}=this.formatDate(i);if(n>ms)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let I=We(A,S,w??this.service),P=ws(Ot(r),{unhoistableHeaders:c,hoistableHeaders:f});if(E.sessionToken)P.query[Xt]=E.sessionToken;P.query[ts]=Ke,P.query[rs]=`${E.accessKeyId}/${I}`,P.query[Vt]=_,P.query[is]=n.toString(10);let V=zt(P,l,d);return P.query[ss]=this.getCanonicalHeaderList(V),P.query[Bt]=await this.getSignature(_,I,this.getSigningKey(E,S,A,w),this.createCanonicalRequest(P,V,await Je(r,this.sha256))),P}async sign(r,t){if(typeof r==="string")return this.signString(r,t);else if(r.headers&&r.payload)return this.signEvent(r,t);else if(r.message)return this.signMessage(r,t);else return this.signRequest(r,t)}async signEvent({headers:r,payload:t},{signingDate:i=new Date,priorSignature:n,signingRegion:l,signingService:c,eventStreamCredentials:d}){let f=l??await this.regionProvider(),{shortDate:m,longDate:w}=this.formatDate(i),E=We(m,f,c??this.service),S=await Je({headers:{},body:t},this.sha256),_=new this.sha256;_.update(r);let A=Q.toHex(await _.digest()),I=[ds,w,E,n,A,S].join(`
20
20
  `);return this.signString(I,{signingDate:i,signingRegion:f,signingService:c,eventStreamCredentials:d})}async signMessage(r,{signingDate:t=new Date,signingRegion:i,signingService:n,eventStreamCredentials:l}){return this.signEvent({headers:this.headerFormatter.format(r.message.headers),payload:r.message.body},{signingDate:t,signingRegion:i,signingService:n,priorSignature:r.priorSignature,eventStreamCredentials:l}).then((d)=>{return{message:r.message,signature:d}})}async signString(r,{signingDate:t=new Date,signingRegion:i,signingService:n,eventStreamCredentials:l}={}){let c=l??await this.credentialProvider();this.validateResolvedCredentials(c);let d=i??await this.regionProvider(),{shortDate:f}=this.formatDate(t),m=new this.sha256(await this.getSigningKey(c,d,f,n));return m.update(Q.toUint8Array(r)),Q.toHex(await m.digest())}async signRequest(r,{signingDate:t=new Date,signableHeaders:i,unsignableHeaders:n,signingRegion:l,signingService:c}={}){let d=await this.credentialProvider();this.validateResolvedCredentials(d);let f=l??await this.regionProvider(),m=Ot(r),{longDate:w,shortDate:E}=this.formatDate(t),S=We(E,f,c??this.service);if(m.headers[Ft]=w,d.sessionToken)m.headers[cs]=d.sessionToken;let _=await Je(m,this.sha256);if(!xs(je,m.headers)&&this.applyChecksum)m.headers[je]=_;let A=zt(m,n,i),I=await this.getSignature(w,S,this.getSigningKey(d,f,E,c),this.createCanonicalRequest(m,A,_));return m.headers[vt]=`${Ke} Credential=${d.accessKeyId}/${S}, SignedHeaders=${this.getCanonicalHeaderList(A)}, Signature=${I}`,m}async getSignature(r,t,i,n){let l=await this.createStringToSign(r,t,n,Ke),c=new this.sha256(await i);return c.update(Q.toUint8Array(l)),Q.toHex(await c.digest())}getSigningKey(r,t,i,n){return ys(this.sha256,r,i,t,n||this.service)}}var Yn={SignatureV4a:null};Zn.ALGORITHM_IDENTIFIER=Ke;Zn.ALGORITHM_IDENTIFIER_V4A=Gn;Zn.ALGORITHM_QUERY_PARAM=ts;Zn.ALWAYS_UNSIGNABLE_HEADERS=hs;Zn.AMZ_DATE_HEADER=Ft;Zn.AMZ_DATE_QUERY_PARAM=Vt;Zn.AUTH_HEADER=vt;Zn.CREDENTIAL_QUERY_PARAM=rs;Zn.DATE_HEADER=ns;Zn.EVENT_ALGORITHM_IDENTIFIER=ds;Zn.EXPIRES_QUERY_PARAM=is;Zn.GENERATED_HEADERS=os;Zn.HOST_HEADER=Qn;Zn.KEY_TYPE_IDENTIFIER=Ht;Zn.MAX_CACHE_SIZE=fs;Zn.MAX_PRESIGNED_TTL=ms;Zn.PROXY_HEADER_PATTERN=ls;Zn.REGION_SET_PARAM=qn;Zn.SEC_HEADER_PATTERN=us;Zn.SHA256_HEADER=je;Zn.SIGNATURE_HEADER=as;Zn.SIGNATURE_QUERY_PARAM=Bt;Zn.SIGNED_HEADERS_QUERY_PARAM=ss;Zn.SignatureV4=Es;Zn.SignatureV4Base=qt;Zn.TOKEN_HEADER=cs;Zn.TOKEN_QUERY_PARAM=Xt;Zn.UNSIGNABLE_PATTERNS=Kn;Zn.UNSIGNED_PAYLOAD=ps;Zn.clearCredentialCache=jn;Zn.createScope=We;Zn.getCanonicalHeaders=zt;Zn.getCanonicalQuery=gs;Zn.getPayloadHash=Je;Zn.getSigningKey=ys;Zn.hasHeader=xs;Zn.moveHeadersToQuery=ws;Zn.prepareRequest=Ot;Zn.signatureV4aContainer=Yn});
21
- export{Bo as ue,br as ve,Dr as we,Fn as xe};
21
+ export{Bo as Fe,br as Ge,Dr as He,Fn as Ie};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{MO as q,PO as b}from"./chunk-f83wv08n.js";var z=q((f)=>{Object.defineProperty(f,"__esModule",{value:!0});f.execAsync=void 0;var v=b("child_process"),w=b("util");f.execAsync=w.promisify(v.exec)});
3
- export{z as JO};
2
+ import{tO as q,wO as b}from"./chunk-r9w0thdk.js";var z=q((f)=>{Object.defineProperty(f,"__esModule",{value:!0});f.execAsync=void 0;var v=b("child_process"),w=b("util");f.execAsync=w.promisify(v.exec)});
3
+ export{z as qO};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"./chunk-f83wv08n.js";var e={"ui.sessionReview.title":"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u062C\u0644\u0633\u0629","ui.sessionReview.title.lastTurn":"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0622\u062E\u0631 \u062F\u0648\u0631","ui.sessionReview.diffStyle.unified":"\u0645\u0648\u062D\u062F","ui.sessionReview.diffStyle.split":"\u0645\u0646\u0642\u0633\u0645","ui.sessionReview.openFile":"\u0641\u062A\u062D \u0645\u0644\u0641","ui.sessionReview.selection.line":"\u0633\u0637\u0631 {{line}}","ui.sessionReview.selection.lines":"\u0627\u0644\u0623\u0633\u0637\u0631 {{start}}-{{end}}","ui.sessionReview.expandAll":"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0643\u0644","ui.sessionReview.collapseAll":"\u0637\u064A \u0627\u0644\u0643\u0644","ui.sessionReview.change.added":"\u0645\u0636\u0627\u0641","ui.sessionReview.change.removed":"\u0645\u062D\u0630\u0648\u0641","ui.sessionReview.change.modified":"\u0645\u0639\u062F\u0644","ui.sessionReview.image.loading":"\u062C\u0627\u0631 \u0627\u0644\u062A\u062D\u0645\u064A\u0644...","ui.sessionReview.image.placeholder":"\u0635\u0648\u0631\u0629","ui.sessionReview.largeDiff.title":"Diff \u0643\u0628\u064A\u0631 \u062C\u062F\u0627 \u0644\u0639\u0631\u0636\u0647","ui.sessionReview.largeDiff.meta":"\u0627\u0644\u062D\u062F: {{limit}} \u0633\u0637\u0631\u064B\u0627 \u0645\u062A\u063A\u064A\u0631\u064B\u0627. \u0627\u0644\u062D\u0627\u0644\u064A: {{current}} \u0633\u0637\u0631\u064B\u0627 \u0645\u062A\u063A\u064A\u0631\u064B\u0627.","ui.sessionReview.largeDiff.renderAnyway":"\u0627\u0639\u0631\u0636 \u0639\u0644\u0649 \u0623\u064A \u062D\u0627\u0644","ui.fileMedia.kind.image":"\u0635\u0648\u0631\u0629","ui.fileMedia.kind.audio":"\u0635\u0648\u062A","ui.fileMedia.state.removed":"\u062A\u0645\u062A \u0625\u0632\u0627\u0644\u0629 {{kind}}","ui.fileMedia.state.loading":"\u062C\u0627\u0631\u064A \u062A\u062D\u0645\u064A\u0644 {{kind}}...","ui.fileMedia.state.error":"\u062E\u0637\u0623 \u0641\u064A \u062A\u062D\u0645\u064A\u0644 {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} \u063A\u064A\u0631 \u0645\u062A\u0648\u0641\u0631","ui.fileMedia.binary.title":"\u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A","ui.fileMedia.binary.description.path":"{{path}} \u0639\u0628\u0627\u0631\u0629 \u0639\u0646 \u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A \u0648\u0644\u0627 \u064A\u0645\u0643\u0646 \u0639\u0631\u0636\u0647.","ui.fileMedia.binary.description.default":"\u0647\u0630\u0627 \u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A \u0648\u0644\u0627 \u064A\u0645\u0643\u0646 \u0639\u0631\u0636\u0647.","ui.lineComment.label.prefix":"\u062A\u0639\u0644\u064A\u0642 \u0639\u0644\u0649 ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0639\u0644\u064A\u0642 \u0639\u0644\u0649 ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u0623\u0636\u0641 \u062A\u0639\u0644\u064A\u0642\u064B\u0627","ui.lineComment.submit":"\u062A\u0639\u0644\u064A\u0642","ui.sessionTurn.steps.show":"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u062E\u0637\u0648\u0627\u062A","ui.sessionTurn.steps.hide":"\u0625\u062E\u0641\u0627\u0621 \u0627\u0644\u062E\u0637\u0648\u0627\u062A","ui.sessionTurn.summary.response":"\u0627\u0633\u062A\u062C\u0627\u0628\u0629","ui.sessionTurn.diff.showMore":"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u062A\u063A\u064A\u064A\u0631\u0627\u062A ({{count}})","ui.sessionTurn.retry.retrying":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629","ui.sessionTurn.retry.inSeconds":"\u062E\u0644\u0627\u0644 {{seconds}} \u062B\u0648\u0627\u0646\u064A","ui.sessionTurn.retry.attempt":"\u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0631\u0642\u0645 {{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0631\u0642\u0645 {{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u0645\u0632\u062F\u062D\u0645 \u062D\u0627\u0644\u064A\u0627","ui.sessionTurn.error.freeUsageExceeded":"\u062A\u0645 \u062A\u062C\u0627\u0648\u0632 \u062D\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0645\u062C\u0627\u0646\u064A","ui.sessionTurn.error.addQredits":"\u0625\u0636\u0627\u0641\u0629 \u0631\u0635\u064A\u062F","ui.sessionTurn.status.delegating":"\u062A\u0641\u0648\u064A\u0636 \u0627\u0644\u0639\u0645\u0644","ui.sessionTurn.status.planning":"\u062A\u062E\u0637\u064A\u0637 \u0627\u0644\u062E\u0637\u0648\u0627\u062A \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.sessionTurn.status.gatheringContext":"\u0627\u0633\u062A\u0643\u0634\u0627\u0641","ui.sessionTurn.status.gatheredContext":"\u062A\u0645 \u0627\u0644\u0627\u0633\u062A\u0643\u0634\u0627\u0641","ui.sessionTurn.status.searchingCodebase":"\u0627\u0644\u0628\u062D\u062B \u0641\u064A \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u062A\u0639\u0644\u064A\u0645\u0627\u062A \u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0629","ui.sessionTurn.status.searchingWeb":"\u0627\u0644\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0648\u064A\u0628","ui.sessionTurn.status.makingEdits":"\u0625\u062C\u0631\u0627\u0621 \u062A\u0639\u062F\u064A\u0644\u0627\u062A","ui.sessionTurn.status.runningCommands":"\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0623\u0648\u0627\u0645\u0631","ui.sessionTurn.status.thinking":"\u062A\u0641\u0643\u064A\u0631","ui.sessionTurn.status.thinkingWithTopic":"\u062A\u0641\u0643\u064A\u0631 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u062C\u0645\u0639 \u0627\u0644\u0623\u0641\u0643\u0627\u0631","ui.sessionTurn.status.consideringNextSteps":"\u0627\u0644\u0646\u0638\u0631 \u0641\u064A \u0627\u0644\u062E\u0637\u0648\u0627\u062A \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.messagePart.questions.dismissed":"\u062A\u0645 \u0631\u0641\u0636 \u0627\u0644\u0623\u0633\u0626\u0644\u0629","ui.messagePart.compaction":"\u062A\u0645 \u0636\u063A\u0637 \u0627\u0644\u062C\u0644\u0633\u0629","ui.messagePart.context.read.one":"{{count}} \u0642\u0631\u0627\u0621\u0629","ui.messagePart.context.read.other":"{{count}} \u0642\u0631\u0627\u0621\u0627\u062A","ui.messagePart.context.search.one":"{{count}} \u0628\u062D\u062B","ui.messagePart.context.search.other":"{{count}} \u0639\u0645\u0644\u064A\u0627\u062A \u0628\u062D\u062B","ui.messagePart.context.list.one":"{{count}} \u0642\u0627\u0626\u0645\u0629","ui.messagePart.context.list.other":"{{count}} \u0642\u0648\u0627\u0626\u0645","ui.messagePart.diagnostic.error":"\u062E\u0637\u0623","ui.messagePart.title.edit":"\u062A\u062D\u0631\u064A\u0631","ui.messagePart.title.write":"\u0643\u062A\u0627\u0628\u0629","ui.messagePart.option.typeOwnAnswer":"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643 \u0627\u0644\u062E\u0627\u0635\u0629","ui.messagePart.review.title":"\u0645\u0631\u0627\u062C\u0639\u0629 \u0625\u062C\u0627\u0628\u0627\u062A\u0643","ui.list.loading":"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u0645\u064A\u0644","ui.list.empty":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C","ui.list.clearFilter":"\u0645\u0633\u062D \u0639\u0627\u0645\u0644 \u0627\u0644\u062A\u0635\u0641\u064A\u0629","ui.list.emptyWithFilter.prefix":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0644\u0640","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u0631\u0633\u0627\u0644\u0629 \u062C\u062F\u064A\u062F\u0629","ui.textField.copyToClipboard":"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629","ui.textField.copyLink":"\u0646\u0633\u062E \u0627\u0644\u0631\u0627\u0628\u0637","ui.textField.copied":"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E","ui.imagePreview.alt":"\u0645\u0639\u0627\u064A\u0646\u0629 \u0627\u0644\u0635\u0648\u0631\u0629","ui.scrollView.ariaLabel":"\u0645\u062D\u062A\u0648\u0649 \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0645\u0631\u064A\u0631","ui.tool.read":"\u0642\u0631\u0627\u0621\u0629","ui.tool.loaded":"\u062A\u0645 \u0627\u0644\u062A\u062D\u0645\u064A\u0644","ui.tool.list":"\u0642\u0627\u0626\u0645\u0629","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"\u062C\u0644\u0628 \u0627\u0644\u0648\u064A\u0628","ui.tool.websearch":"\u0628\u062D\u062B \u0627\u0644\u0648\u064A\u0628","ui.tool.codesearch":"\u0628\u062D\u062B \u0627\u0644\u0643\u0648\u062F","ui.tool.shell":"Shell","ui.tool.patch":"\u062A\u0635\u062D\u064A\u062D","ui.tool.todos":"\u0627\u0644\u0645\u0647\u0627\u0645","ui.tool.todos.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0647\u0627\u0645","ui.tool.questions":"\u0623\u0633\u0626\u0644\u0629","ui.tool.agent":"\u0648\u0643\u064A\u0644 {{type}}","ui.tool.agent.default":"\u0648\u0643\u064A\u0644","ui.common.file.one":"\u0645\u0644\u0641","ui.common.file.other":"\u0645\u0644\u0641\u0627\u062A","ui.common.question.one":"\u0633\u0624\u0627\u0644","ui.common.question.other":"\u0623\u0633\u0626\u0644\u0629","ui.common.add":"\u0625\u0636\u0627\u0641\u0629","ui.common.back":"\u0631\u062C\u0648\u0639","ui.common.cancel":"\u0625\u0644\u063A\u0627\u0621","ui.common.confirm":"\u062A\u0623\u0643\u064A\u062F","ui.common.dismiss":"\u0631\u0641\u0636","ui.common.close":"\u0625\u063A\u0644\u0627\u0642","ui.common.next":"\u0627\u0644\u062A\u0627\u0644\u064A","ui.common.submit":"\u0625\u0631\u0633\u0627\u0644","ui.permission.deny":"\u0631\u0641\u0636","ui.permission.allowAlways":"\u0627\u0644\u0633\u0645\u0627\u062D \u062F\u0627\u0626\u0645\u064B\u0627","ui.permission.allowOnce":"\u0627\u0644\u0633\u0645\u0627\u062D \u0645\u0631\u0629 \u0648\u0627\u062D\u062F\u0629","ui.message.expand":"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.collapse":"\u0637\u064A \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.copy":"\u0646\u0633\u062E","ui.message.copyMessage":"\u0646\u0633\u062E \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.forkMessage":"\u062A\u0634\u0639\u0628 \u0625\u0644\u0649 \u062C\u0644\u0633\u0629 \u062C\u062F\u064A\u062F\u0629","ui.message.revertMessage":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646 \u0625\u0644\u0649 \u0647\u0630\u0647 \u0627\u0644\u0646\u0642\u0637\u0629","ui.message.copyResponse":"\u0646\u0633\u062E \u0627\u0644\u0631\u062F","ui.message.copied":"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E!","ui.message.interrupted":"\u062A\u0645\u062A \u0627\u0644\u0645\u0642\u0627\u0637\u0639\u0629","ui.message.queued":"\u0641\u064A \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631","ui.message.attachment.alt":"\u0645\u0631\u0641\u0642","ui.patch.action.deleted":"\u0645\u062D\u0630\u0648\u0641","ui.patch.action.created":"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621","ui.patch.action.moved":"\u0645\u0646\u0642\u0648\u0644","ui.patch.action.patched":"\u0645\u0635\u062D\u062D","ui.question.subtitle.answered":"{{count}} \u0623\u062C\u064A\u0628","ui.question.answer.none":"(\u0644\u0627 \u062A\u0648\u062C\u062F \u0625\u062C\u0627\u0628\u0629)","ui.question.review.notAnswered":"(\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0631\u062F)","ui.question.multiHint":"\u062D\u062F\u062F \u0643\u0644 \u0645\u0627 \u064A\u0646\u0637\u0628\u0642","ui.question.singleHint":"\u062D\u062F\u062F \u0625\u062C\u0627\u0628\u0629 \u0648\u0627\u062D\u062F\u0629","ui.question.custom.placeholder":"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643...","ui.fileSearch.placeholder":"\u0628\u062D\u062B","ui.fileSearch.previousMatch":"\u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629","ui.fileSearch.nextMatch":"\u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.fileSearch.close":"\u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u0628\u062D\u062B","ui.tool.task":"\u0645\u0647\u0645\u0629","ui.tool.skill":"\u0645\u0647\u0627\u0631\u0629","ui.basicTool.called":"\u062A\u0645 \u0627\u0633\u062A\u062F\u0639\u0627\u0621 `{{tool}}`","ui.toolErrorCard.failed":"\u0641\u0634\u0644","ui.toolErrorCard.copyError":"\u0646\u0633\u062E \u0627\u0644\u062E\u0637\u0623","ui.message.duration.seconds":"{{count}}\u062B","ui.message.duration.minutesSeconds":"{{minutes}}\u062F {{seconds}}\u062B"};export{e as dict};
2
+ import"./chunk-r9w0thdk.js";var e={"ui.sessionReview.title":"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0627\u0644\u062C\u0644\u0633\u0629","ui.sessionReview.title.lastTurn":"\u062A\u063A\u064A\u064A\u0631\u0627\u062A \u0622\u062E\u0631 \u062F\u0648\u0631","ui.sessionReview.diffStyle.unified":"\u0645\u0648\u062D\u062F","ui.sessionReview.diffStyle.split":"\u0645\u0646\u0642\u0633\u0645","ui.sessionReview.openFile":"\u0641\u062A\u062D \u0645\u0644\u0641","ui.sessionReview.selection.line":"\u0633\u0637\u0631 {{line}}","ui.sessionReview.selection.lines":"\u0627\u0644\u0623\u0633\u0637\u0631 {{start}}-{{end}}","ui.sessionReview.expandAll":"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0643\u0644","ui.sessionReview.collapseAll":"\u0637\u064A \u0627\u0644\u0643\u0644","ui.sessionReview.change.added":"\u0645\u0636\u0627\u0641","ui.sessionReview.change.removed":"\u0645\u062D\u0630\u0648\u0641","ui.sessionReview.change.modified":"\u0645\u0639\u062F\u0644","ui.sessionReview.image.loading":"\u062C\u0627\u0631 \u0627\u0644\u062A\u062D\u0645\u064A\u0644...","ui.sessionReview.image.placeholder":"\u0635\u0648\u0631\u0629","ui.sessionReview.largeDiff.title":"Diff \u0643\u0628\u064A\u0631 \u062C\u062F\u0627 \u0644\u0639\u0631\u0636\u0647","ui.sessionReview.largeDiff.meta":"\u0627\u0644\u062D\u062F: {{limit}} \u0633\u0637\u0631\u064B\u0627 \u0645\u062A\u063A\u064A\u0631\u064B\u0627. \u0627\u0644\u062D\u0627\u0644\u064A: {{current}} \u0633\u0637\u0631\u064B\u0627 \u0645\u062A\u063A\u064A\u0631\u064B\u0627.","ui.sessionReview.largeDiff.renderAnyway":"\u0627\u0639\u0631\u0636 \u0639\u0644\u0649 \u0623\u064A \u062D\u0627\u0644","ui.fileMedia.kind.image":"\u0635\u0648\u0631\u0629","ui.fileMedia.kind.audio":"\u0635\u0648\u062A","ui.fileMedia.state.removed":"\u062A\u0645\u062A \u0625\u0632\u0627\u0644\u0629 {{kind}}","ui.fileMedia.state.loading":"\u062C\u0627\u0631\u064A \u062A\u062D\u0645\u064A\u0644 {{kind}}...","ui.fileMedia.state.error":"\u062E\u0637\u0623 \u0641\u064A \u062A\u062D\u0645\u064A\u0644 {{kind}}","ui.fileMedia.state.unavailable":"{{kind}} \u063A\u064A\u0631 \u0645\u062A\u0648\u0641\u0631","ui.fileMedia.binary.title":"\u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A","ui.fileMedia.binary.description.path":"{{path}} \u0639\u0628\u0627\u0631\u0629 \u0639\u0646 \u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A \u0648\u0644\u0627 \u064A\u0645\u0643\u0646 \u0639\u0631\u0636\u0647.","ui.fileMedia.binary.description.default":"\u0647\u0630\u0627 \u0645\u0644\u0641 \u062B\u0646\u0627\u0626\u064A \u0648\u0644\u0627 \u064A\u0645\u0643\u0646 \u0639\u0631\u0636\u0647.","ui.lineComment.label.prefix":"\u062A\u0639\u0644\u064A\u0642 \u0639\u0644\u0649 ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0639\u0644\u064A\u0642 \u0639\u0644\u0649 ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u0623\u0636\u0641 \u062A\u0639\u0644\u064A\u0642\u064B\u0627","ui.lineComment.submit":"\u062A\u0639\u0644\u064A\u0642","ui.sessionTurn.steps.show":"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u062E\u0637\u0648\u0627\u062A","ui.sessionTurn.steps.hide":"\u0625\u062E\u0641\u0627\u0621 \u0627\u0644\u062E\u0637\u0648\u0627\u062A","ui.sessionTurn.summary.response":"\u0627\u0633\u062A\u062C\u0627\u0628\u0629","ui.sessionTurn.diff.showMore":"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u062A\u063A\u064A\u064A\u0631\u0627\u062A ({{count}})","ui.sessionTurn.retry.retrying":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629","ui.sessionTurn.retry.inSeconds":"\u062E\u0644\u0627\u0644 {{seconds}} \u062B\u0648\u0627\u0646\u064A","ui.sessionTurn.retry.attempt":"\u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0631\u0642\u0645 {{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0631\u0642\u0645 {{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u0645\u0632\u062F\u062D\u0645 \u062D\u0627\u0644\u064A\u0627","ui.sessionTurn.error.freeUsageExceeded":"\u062A\u0645 \u062A\u062C\u0627\u0648\u0632 \u062D\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0645\u062C\u0627\u0646\u064A","ui.sessionTurn.error.addQredits":"\u0625\u0636\u0627\u0641\u0629 \u0631\u0635\u064A\u062F","ui.sessionTurn.status.delegating":"\u062A\u0641\u0648\u064A\u0636 \u0627\u0644\u0639\u0645\u0644","ui.sessionTurn.status.planning":"\u062A\u062E\u0637\u064A\u0637 \u0627\u0644\u062E\u0637\u0648\u0627\u062A \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.sessionTurn.status.gatheringContext":"\u0627\u0633\u062A\u0643\u0634\u0627\u0641","ui.sessionTurn.status.gatheredContext":"\u062A\u0645 \u0627\u0644\u0627\u0633\u062A\u0643\u0634\u0627\u0641","ui.sessionTurn.status.searchingCodebase":"\u0627\u0644\u0628\u062D\u062B \u0641\u064A \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u062A\u0639\u0644\u064A\u0645\u0627\u062A \u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0629","ui.sessionTurn.status.searchingWeb":"\u0627\u0644\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0648\u064A\u0628","ui.sessionTurn.status.makingEdits":"\u0625\u062C\u0631\u0627\u0621 \u062A\u0639\u062F\u064A\u0644\u0627\u062A","ui.sessionTurn.status.runningCommands":"\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0623\u0648\u0627\u0645\u0631","ui.sessionTurn.status.thinking":"\u062A\u0641\u0643\u064A\u0631","ui.sessionTurn.status.thinkingWithTopic":"\u062A\u0641\u0643\u064A\u0631 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u062C\u0645\u0639 \u0627\u0644\u0623\u0641\u0643\u0627\u0631","ui.sessionTurn.status.consideringNextSteps":"\u0627\u0644\u0646\u0638\u0631 \u0641\u064A \u0627\u0644\u062E\u0637\u0648\u0627\u062A \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.messagePart.questions.dismissed":"\u062A\u0645 \u0631\u0641\u0636 \u0627\u0644\u0623\u0633\u0626\u0644\u0629","ui.messagePart.compaction":"\u062A\u0645 \u0636\u063A\u0637 \u0627\u0644\u062C\u0644\u0633\u0629","ui.messagePart.context.read.one":"{{count}} \u0642\u0631\u0627\u0621\u0629","ui.messagePart.context.read.other":"{{count}} \u0642\u0631\u0627\u0621\u0627\u062A","ui.messagePart.context.search.one":"{{count}} \u0628\u062D\u062B","ui.messagePart.context.search.other":"{{count}} \u0639\u0645\u0644\u064A\u0627\u062A \u0628\u062D\u062B","ui.messagePart.context.list.one":"{{count}} \u0642\u0627\u0626\u0645\u0629","ui.messagePart.context.list.other":"{{count}} \u0642\u0648\u0627\u0626\u0645","ui.messagePart.diagnostic.error":"\u062E\u0637\u0623","ui.messagePart.title.edit":"\u062A\u062D\u0631\u064A\u0631","ui.messagePart.title.write":"\u0643\u062A\u0627\u0628\u0629","ui.messagePart.option.typeOwnAnswer":"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643 \u0627\u0644\u062E\u0627\u0635\u0629","ui.messagePart.review.title":"\u0645\u0631\u0627\u062C\u0639\u0629 \u0625\u062C\u0627\u0628\u0627\u062A\u0643","ui.list.loading":"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u0645\u064A\u0644","ui.list.empty":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C","ui.list.clearFilter":"\u0645\u0633\u062D \u0639\u0627\u0645\u0644 \u0627\u0644\u062A\u0635\u0641\u064A\u0629","ui.list.emptyWithFilter.prefix":"\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0644\u0640","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u0631\u0633\u0627\u0644\u0629 \u062C\u062F\u064A\u062F\u0629","ui.textField.copyToClipboard":"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629","ui.textField.copyLink":"\u0646\u0633\u062E \u0627\u0644\u0631\u0627\u0628\u0637","ui.textField.copied":"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E","ui.imagePreview.alt":"\u0645\u0639\u0627\u064A\u0646\u0629 \u0627\u0644\u0635\u0648\u0631\u0629","ui.scrollView.ariaLabel":"\u0645\u062D\u062A\u0648\u0649 \u0642\u0627\u0628\u0644 \u0644\u0644\u062A\u0645\u0631\u064A\u0631","ui.tool.read":"\u0642\u0631\u0627\u0621\u0629","ui.tool.loaded":"\u062A\u0645 \u0627\u0644\u062A\u062D\u0645\u064A\u0644","ui.tool.list":"\u0642\u0627\u0626\u0645\u0629","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"\u062C\u0644\u0628 \u0627\u0644\u0648\u064A\u0628","ui.tool.websearch":"\u0628\u062D\u062B \u0627\u0644\u0648\u064A\u0628","ui.tool.codesearch":"\u0628\u062D\u062B \u0627\u0644\u0643\u0648\u062F","ui.tool.shell":"Shell","ui.tool.patch":"\u062A\u0635\u062D\u064A\u062D","ui.tool.todos":"\u0627\u0644\u0645\u0647\u0627\u0645","ui.tool.todos.read":"\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0647\u0627\u0645","ui.tool.questions":"\u0623\u0633\u0626\u0644\u0629","ui.tool.agent":"\u0648\u0643\u064A\u0644 {{type}}","ui.tool.agent.default":"\u0648\u0643\u064A\u0644","ui.common.file.one":"\u0645\u0644\u0641","ui.common.file.other":"\u0645\u0644\u0641\u0627\u062A","ui.common.question.one":"\u0633\u0624\u0627\u0644","ui.common.question.other":"\u0623\u0633\u0626\u0644\u0629","ui.common.add":"\u0625\u0636\u0627\u0641\u0629","ui.common.back":"\u0631\u062C\u0648\u0639","ui.common.cancel":"\u0625\u0644\u063A\u0627\u0621","ui.common.confirm":"\u062A\u0623\u0643\u064A\u062F","ui.common.dismiss":"\u0631\u0641\u0636","ui.common.close":"\u0625\u063A\u0644\u0627\u0642","ui.common.next":"\u0627\u0644\u062A\u0627\u0644\u064A","ui.common.submit":"\u0625\u0631\u0633\u0627\u0644","ui.permission.deny":"\u0631\u0641\u0636","ui.permission.allowAlways":"\u0627\u0644\u0633\u0645\u0627\u062D \u062F\u0627\u0626\u0645\u064B\u0627","ui.permission.allowOnce":"\u0627\u0644\u0633\u0645\u0627\u062D \u0645\u0631\u0629 \u0648\u0627\u062D\u062F\u0629","ui.message.expand":"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.collapse":"\u0637\u064A \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.copy":"\u0646\u0633\u062E","ui.message.copyMessage":"\u0646\u0633\u062E \u0627\u0644\u0631\u0633\u0627\u0644\u0629","ui.message.forkMessage":"\u062A\u0634\u0639\u0628 \u0625\u0644\u0649 \u062C\u0644\u0633\u0629 \u062C\u062F\u064A\u062F\u0629","ui.message.revertMessage":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646 \u0625\u0644\u0649 \u0647\u0630\u0647 \u0627\u0644\u0646\u0642\u0637\u0629","ui.message.copyResponse":"\u0646\u0633\u062E \u0627\u0644\u0631\u062F","ui.message.copied":"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E!","ui.message.interrupted":"\u062A\u0645\u062A \u0627\u0644\u0645\u0642\u0627\u0637\u0639\u0629","ui.message.queued":"\u0641\u064A \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631","ui.message.attachment.alt":"\u0645\u0631\u0641\u0642","ui.patch.action.deleted":"\u0645\u062D\u0630\u0648\u0641","ui.patch.action.created":"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621","ui.patch.action.moved":"\u0645\u0646\u0642\u0648\u0644","ui.patch.action.patched":"\u0645\u0635\u062D\u062D","ui.question.subtitle.answered":"{{count}} \u0623\u062C\u064A\u0628","ui.question.answer.none":"(\u0644\u0627 \u062A\u0648\u062C\u062F \u0625\u062C\u0627\u0628\u0629)","ui.question.review.notAnswered":"(\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0631\u062F)","ui.question.multiHint":"\u062D\u062F\u062F \u0643\u0644 \u0645\u0627 \u064A\u0646\u0637\u0628\u0642","ui.question.singleHint":"\u062D\u062F\u062F \u0625\u062C\u0627\u0628\u0629 \u0648\u0627\u062D\u062F\u0629","ui.question.custom.placeholder":"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643...","ui.fileSearch.placeholder":"\u0628\u062D\u062B","ui.fileSearch.previousMatch":"\u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629","ui.fileSearch.nextMatch":"\u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629","ui.fileSearch.close":"\u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u0628\u062D\u062B","ui.tool.task":"\u0645\u0647\u0645\u0629","ui.tool.skill":"\u0645\u0647\u0627\u0631\u0629","ui.basicTool.called":"\u062A\u0645 \u0627\u0633\u062A\u062F\u0639\u0627\u0621 `{{tool}}`","ui.toolErrorCard.failed":"\u0641\u0634\u0644","ui.toolErrorCard.copyError":"\u0646\u0633\u062E \u0627\u0644\u062E\u0637\u0623","ui.message.duration.seconds":"{{count}}\u062B","ui.message.duration.minutesSeconds":"{{minutes}}\u062F {{seconds}}\u062B"};export{e as dict};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
2
  var x=Object.defineProperty,z=(t,q,w)=>(q in t)?x(t,q,{enumerable:!0,configurable:!0,writable:!0,value:w}):t[q]=w,A=(t,q,w)=>(z(t,typeof q!="symbol"?q+"":q,w),w);
3
- export{A as ei};
3
+ export{A as Ph};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{te as _w}from"./chunk-6pcmv8vs.js";import{ue as Mw,xe as Aw}from"./chunk-kzvvvj79.js";import{ye as Ww}from"./chunk-9jrxrjzt.js";import{Ae as hw,Be as fw,ze as Iw}from"./chunk-y4e7e42x.js";import{Ce as Pw}from"./chunk-yd2emszh.js";import{uf as kw,vf as Uw,wf as Jw,xf as Hw,yf as bw}from"./chunk-3tmq81kq.js";import{MO as $w}from"./chunk-f83wv08n.js";var zj=$w((Dw)=>{var jj=Mw(),m={CrtSignerV4:null},wj="X-Amz-S3session-Token",Mj=wj.toLowerCase();class xj extends jj.SignatureV4{async signWithCredentials(j,w,x){let E=Dj(w);j.headers[Mj]=w.sessionToken;let B=this;return yj(B,E),B.signRequest(j,x??{})}async presignWithCredentials(j,w,x){let E=Dj(w);return delete j.headers[Mj],j.headers[wj]=w.sessionToken,j.query=j.query??{},j.query[wj]=w.sessionToken,yj(this,E),this.presign(j,x)}}function Dj(j){return{accessKeyId:j.accessKeyId,secretAccessKey:j.secretAccessKey,expiration:j.expiration}}function yj(j,w){let x=j.credentialProvider;j.credentialProvider=()=>{return j.credentialProvider=x,Promise.resolve(w)}}class Lj{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof m.CrtSignerV4==="function")return"crt";else if(typeof jj.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(j){this.sigv4Signer=new xj(j),this.signerOptions=j}async sign(j,w={}){if(w.signingRegion==="*")return this.getSigv4aSigner().sign(j,w);return this.sigv4Signer.sign(j,w)}async signWithCredentials(j,w,x={}){if(x.signingRegion==="*"){let E=this.getSigv4aSigner(),B=m.CrtSignerV4;if(B&&E instanceof B)return E.signWithCredentials(j,w,x);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(j,w,x)}async presign(j,w={}){if(w.signingRegion==="*"){let x=this.getSigv4aSigner(),E=m.CrtSignerV4;if(E&&x instanceof E)return x.presign(j,w);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(j,w)}async presignWithCredentials(j,w,x={}){if(x.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(j,w,x)}getSigv4aSigner(){if(!this.sigv4aSigner){let j=m.CrtSignerV4,w=jj.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!j&&!w)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(j&&typeof j==="function")this.sigv4aSigner=new j({...this.signerOptions,signingAlgorithm:1});else if(w&&typeof w==="function")this.sigv4aSigner=new w({...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(!w||typeof w!=="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 w({...this.signerOptions})}}return this.sigv4aSigner}}Dw.SignatureV4MultiRegion=Lj;Dw.SignatureV4SignWithCredentials=xj;Dw.signatureV4CrtContainer=m});var Y=fw(),S=hw(),Z=Uw(),$=Jw(),b=Hw(),d=Pw(),c=Iw(),Gj=kw(),H=_w(),_j=zj(),O=bw(),kj=Ww(),vw=Aw(),T="ref",h=-1,q=!0,Uj="isSet",Wj="PartitionResult",C="booleanEquals",Q="stringEquals",Bj="getAttr",Jj="us-east-1",Hj="sigv4",bj="sts",Pj="https://sts.{Region}.{PartitionResult#dnsSuffix}",Ij={[T]:"Endpoint"},X={[T]:"Region"},Ej={[T]:Wj},R={},hj=[X],fj={conditions:[[Uj,[Ij]],[Uj,hj],["aws.partition",hj,Wj],[C,[{[T]:"UseFIPS"},q]],[C,[{[T]:"UseDualStack"},q]],[Q,[X,"aws-global"]],[C,[{[T]:"UseGlobalEndpoint"},q]],[Q,[X,"eu-central-1"]],[C,[{fn:Bj,argv:[Ej,"supportsDualStack"]},q]],[C,[{fn:Bj,argv:[Ej,"supportsFIPS"]},q]],[Q,[X,"ap-south-1"]],[Q,[X,"eu-north-1"]],[Q,[X,"eu-west-1"]],[Q,[X,"eu-west-2"]],[Q,[X,"eu-west-3"]],[Q,[X,"sa-east-1"]],[Q,[X,Jj]],[Q,[X,"us-east-2"]],[Q,[X,"us-west-2"]],[Q,[X,"us-west-1"]],[Q,[X,"ca-central-1"]],[Q,[X,"ap-southeast-1"]],[Q,[X,"ap-northeast-1"]],[Q,[X,"ap-southeast-2"]],[Q,[{fn:Bj,argv:[Ej,"name"]},"aws-us-gov"]]],results:[[h],["https://sts.amazonaws.com",{authSchemes:[{name:Hj,signingName:bj,signingRegion:Jj}]}],[Pj,{authSchemes:[{name:Hj,signingName:bj,signingRegion:"{Region}"}]}],[h,"Invalid Configuration: FIPS and custom endpoint are not supported"],[h,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Ij,R],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",R],[h,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",R],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",R],[h,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",R],[h,"DualStack is enabled but this partition does not support DualStack"],[Pj,R],[h,"Invalid Configuration: Missing Region"]]},Vw=2,F=1e8,Rw=new Int32Array([-1,1,-1,0,30,3,1,4,F+14,2,5,F+14,3,25,6,4,24,7,5,F+1,8,6,9,F+13,7,F+1,10,10,F+1,11,11,F+1,12,12,F+1,13,13,F+1,14,14,F+1,15,15,F+1,16,16,F+1,17,17,F+1,18,18,F+1,19,19,F+1,20,20,F+1,21,21,F+1,22,22,F+1,23,23,F+1,F+2,8,F+11,F+12,4,28,26,9,27,F+10,24,F+8,F+9,8,29,F+7,9,F+6,F+7,3,F+3,31,4,F+4,F+5]),Ow=b.BinaryDecisionDiagram.from(Rw,Vw,fj.conditions,fj.results),Tw=new b.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),Aj=(j,w={})=>{return Tw.get(j,()=>b.decideEndpoint(Ow,{endpointParams:j,logger:w.logger}))};b.customEndpointFunctions.aws=Y.awsEndpointFunctions;var mw=(j)=>async(w,x,E)=>{if(!E)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let B=await j(w,x,E),N=Z.getSmithyContext(x)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!N)throw Error(`getEndpointParameterInstructions() is not defined on '${x.commandName}'`);let G=await b.resolveParams(E,{getEndpointParameterInstructions:N},w);return Object.assign(B,G)},qw=async(j,w,x)=>{return{operation:Z.getSmithyContext(w).operation,region:await Z.normalizeProvider(j.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},Cw=mw(qw);function vj(j){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:j.region},propertiesExtractor:(w,x)=>({signingProperties:{config:w,context:x}})}}function Fj(j){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:j.region},propertiesExtractor:(w,x)=>({signingProperties:{config:w,context:x}})}}function Vj(j){return{schemeId:"smithy.api#noAuth"}}var Sw=(j,w,x)=>{return(B)=>{let G=j(B).properties?.authSchemes;if(!G)return w(B);let M=[];for(let z of G){let{name:D,properties:k={},...I}=z,U=D.toLowerCase();if(D!==U)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${D}' to '${U}'`);let L;if(U==="sigv4a"){L="aws.auth#sigv4a";let s=G.find((e)=>{let $j=e.name.toLowerCase();return $j!=="sigv4a"&&$j.startsWith("sigv4")});if(_j.SignatureV4MultiRegion.sigv4aDependency()==="none"&&s)continue}else if(U.startsWith("sigv4"))L="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${U}'`);let V=x[L];if(!V)throw Error(`Could not find HttpAuthOption create function for '${L}'`);let J=V(B);J.schemeId=L,J.signingProperties={...J.signingProperties||{},...I,...k},M.push(J)}return M}},cw=(j)=>{let w=[];switch(j.operation){case"AssumeRoleWithWebIdentity":{w.push(Vj()),w.push(Fj(j));break}default:w.push(vj(j)),w.push(Fj(j))}return w},uw=Sw(Aj,cw,{"aws.auth#sigv4":vj,"aws.auth#sigv4a":Fj,"smithy.api#noAuth":Vj}),dw=(j)=>{let w=H.resolveAwsSdkSigV4Config(j),x=H.resolveAwsSdkSigV4AConfig(w);return Object.assign(x,{authSchemePreference:Z.normalizeProvider(j.authSchemePreference??[])})},pw=(j)=>{return Object.assign(j,{useDualstackEndpoint:j.useDualstackEndpoint??!1,useFipsEndpoint:j.useFipsEndpoint??!1,useGlobalEndpoint:j.useGlobalEndpoint??!1,defaultSigningName:"sts"})},Rj={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"}},lw="3.997.14",gw={version:lw};class y extends Z.ServiceException{constructor(j){super(j);Object.setPrototypeOf(this,y.prototype)}}class p extends y{name="ExpiredTokenException";$fault="client";constructor(j){super({name:"ExpiredTokenException",$fault:"client",...j});Object.setPrototypeOf(this,p.prototype)}}class l extends y{name="MalformedPolicyDocumentException";$fault="client";constructor(j){super({name:"MalformedPolicyDocumentException",$fault:"client",...j});Object.setPrototypeOf(this,l.prototype)}}class g extends y{name="PackedPolicyTooLargeException";$fault="client";constructor(j){super({name:"PackedPolicyTooLargeException",$fault:"client",...j});Object.setPrototypeOf(this,g.prototype)}}class a extends y{name="RegionDisabledException";$fault="client";constructor(j){super({name:"RegionDisabledException",$fault:"client",...j});Object.setPrototypeOf(this,a.prototype)}}class r extends y{name="IDPRejectedClaimException";$fault="client";constructor(j){super({name:"IDPRejectedClaimException",$fault:"client",...j});Object.setPrototypeOf(this,r.prototype)}}class o extends y{name="InvalidIdentityTokenException";$fault="client";constructor(j){super({name:"InvalidIdentityTokenException",$fault:"client",...j});Object.setPrototypeOf(this,o.prototype)}}class n extends y{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(j){super({name:"IDPCommunicationErrorException",$fault:"client",...j});Object.setPrototypeOf(this,n.prototype)}}var aw="Arn",rw="AccessKeyId",ow="AssumeRole",nw="AssumedRoleId",iw="AssumeRoleRequest",tw="AssumeRoleResponse",Kj="AssumedRoleUser",sw="AssumeRoleWithWebIdentity",ew="AssumeRoleWithWebIdentityRequest",jx="AssumeRoleWithWebIdentityResponse",wx="Audience",Nj="Credentials",xx="ContextAssertion",Oj="DurationSeconds",Bx="Expiration",Ex="ExternalId",Fx="ExpiredTokenException",Gx="IDPCommunicationErrorException",Kx="IDPRejectedClaimException",Nx="InvalidIdentityTokenException",Qx="Key",Xx="MalformedPolicyDocumentException",Tj="Policy",mj="PolicyArns",Yx="ProviderArn",Zx="ProvidedContexts",$x="ProvidedContextsListType",Mx="ProvidedContext",Dx="PolicyDescriptorType",yx="ProviderId",qj="PackedPolicySize",Lx="PackedPolicyTooLargeException",zx="Provider",Cj="RoleArn",kx="RegionDisabledException",Sj="RoleSessionName",Ux="SecretAccessKey",Jx="SubjectFromWebIdentityToken",Qj="SourceIdentity",Hx="SerialNumber",bx="SessionToken",Px="Tags",Ix="TokenCode",hx="TransitiveTagKeys",fx="Tag",_x="Value",Wx="WebIdentityToken",Ax="arn",vx="accessKeySecretType",f="awsQueryError",_="client",Vx="clientTokenType",W="error",A="httpError",v="message",Rx="policyDescriptorListType",cj="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ox="tagListType",K="com.amazonaws.sts",uj=Gj.TypeRegistry.for(cj),dj=[-3,cj,"STSServiceException",0,[],[]];uj.registerError(dj,y);var P=Gj.TypeRegistry.for(K),pj=[-3,K,Fx,{[f]:["ExpiredTokenException",400],[W]:_,[A]:400},[v],[0]];P.registerError(pj,p);var lj=[-3,K,Gx,{[f]:["IDPCommunicationError",400],[W]:_,[A]:400},[v],[0]];P.registerError(lj,n);var gj=[-3,K,Kx,{[f]:["IDPRejectedClaim",403],[W]:_,[A]:403},[v],[0]];P.registerError(gj,r);var aj=[-3,K,Nx,{[f]:["InvalidIdentityToken",400],[W]:_,[A]:400},[v],[0]];P.registerError(aj,o);var rj=[-3,K,Xx,{[f]:["MalformedPolicyDocument",400],[W]:_,[A]:400},[v],[0]];P.registerError(rj,l);var oj=[-3,K,Lx,{[f]:["PackedPolicyTooLarge",400],[W]:_,[A]:400},[v],[0]];P.registerError(oj,g);var nj=[-3,K,kx,{[f]:["RegionDisabledException",403],[W]:_,[A]:403},[v],[0]];P.registerError(nj,a);var ij=[uj,P],Tx=[0,K,vx,8,0],mx=[0,K,Vx,8,0],Xj=[3,K,Kj,0,[nw,aw],[0,0],2],tj=[3,K,iw,0,[Cj,Sj,mj,Tj,Oj,Px,hx,Ex,Hx,Ix,Qj,Zx],[0,0,()=>Ew,0,1,()=>Cx,64,0,0,0,0,()=>qx],2],sj=[3,K,tw,0,[Nj,Kj,qj,Qj],[[()=>Yj,0],()=>Xj,1,0]],ej=[3,K,ew,0,[Cj,Sj,Wx,yx,mj,Tj,Oj],[0,0,[()=>mx,0],0,()=>Ew,0,1],3],jw=[3,K,jx,0,[Nj,Jx,Kj,qj,zx,wx,Qj],[[()=>Yj,0],0,()=>Xj,1,0,0,0]],Yj=[3,K,Nj,0,[rw,Ux,bx,Bx],[0,[()=>Tx,0],0,4],4],ww=[3,K,Dx,0,[Ax],[0]],xw=[3,K,Mx,0,[Yx,xx],[0,0]],Bw=[3,K,fx,0,[Qx,_x],[0,0],2],Ew=[1,K,Rx,0,()=>ww],qx=[1,K,$x,0,()=>xw],Cx=[1,K,Ox,0,()=>Bw],Fw=[9,K,ow,0,()=>tj,()=>sj],Gw=[9,K,sw,0,()=>ej,()=>jw],Sx=(j)=>{return{apiVersion:"2011-06-15",base64Decoder:j?.base64Decoder??O.fromBase64,base64Encoder:j?.base64Encoder??O.toBase64,disableHostPrefix:j?.disableHostPrefix??!1,endpointProvider:j?.endpointProvider??Aj,extensions:j?.extensions??[],httpAuthSchemeProvider:j?.httpAuthSchemeProvider??uw,httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(w)=>w.getIdentityProvider("aws.auth#sigv4"),signer:new H.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(w)=>w.getIdentityProvider("aws.auth#sigv4a"),signer:new H.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(w)=>w.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new S.NoAuthSigner}],logger:j?.logger??new Z.NoOpLogger,protocol:j?.protocol??vw.AwsQueryProtocol,protocolSettings:j?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:ij,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:j?.serviceId??"STS",signerConstructor:j?.signerConstructor??_j.SignatureV4MultiRegion,urlParser:j?.urlParser??d.parseUrl,utf8Decoder:j?.utf8Decoder??O.fromUtf8,utf8Encoder:j?.utf8Encoder??O.toUtf8}},cx=(j)=>{Z.emitWarningIfUnsupportedVersion(process.version);let w=$.resolveDefaultsModeConfig(j),x=()=>w().then(Z.loadConfigsForDefaultMode),E=Sx(j);Y.emitWarningIfUnsupportedVersion(process.version);let B={profile:j?.profile,logger:E.logger};return{...E,...j,runtime:"node",defaultsMode:w,authSchemePreference:j?.authSchemePreference??$.loadConfig(H.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,B),bodyLengthChecker:j?.bodyLengthChecker??O.calculateBodyLength,defaultUserAgentProvider:j?.defaultUserAgentProvider??Y.createDefaultUserAgentProvider({serviceId:E.serviceId,clientVersion:gw.version}),httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(N)=>N.getIdentityProvider("aws.auth#sigv4")||(async(G)=>await j.credentialDefaultProvider(G?.__config||{})()),signer:new H.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(N)=>N.getIdentityProvider("aws.auth#sigv4a"),signer:new H.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(N)=>N.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new S.NoAuthSigner}],maxAttempts:j?.maxAttempts??$.loadConfig(c.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,j),region:j?.region??$.loadConfig($.NODE_REGION_CONFIG_OPTIONS,{...$.NODE_REGION_CONFIG_FILE_OPTIONS,...B}),requestHandler:kj.NodeHttpHandler.create(j?.requestHandler??x),retryMode:j?.retryMode??$.loadConfig({...c.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await x()).retryMode||c.DEFAULT_RETRY_MODE},j),sha256:j?.sha256??O.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:j?.sigv4aSigningRegionSet??$.loadConfig(H.NODE_SIGV4A_CONFIG_OPTIONS,B),streamCollector:j?.streamCollector??kj.streamCollector,useDualstackEndpoint:j?.useDualstackEndpoint??$.loadConfig($.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,B),useFipsEndpoint:j?.useFipsEndpoint??$.loadConfig($.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,B),userAgentAppId:j?.userAgentAppId??$.loadConfig(Y.NODE_APP_ID_CONFIG_OPTIONS,B)}},ux=(j)=>{let{httpAuthSchemes:w,httpAuthSchemeProvider:x,credentials:E}=j;return{setHttpAuthScheme(B){let N=w.findIndex((G)=>G.schemeId===B.schemeId);if(N===-1)w.push(B);else w.splice(N,1,B)},httpAuthSchemes(){return w},setHttpAuthSchemeProvider(B){x=B},httpAuthSchemeProvider(){return x},setCredentials(B){E=B},credentials(){return E}}},dx=(j)=>{return{httpAuthSchemes:j.httpAuthSchemes(),httpAuthSchemeProvider:j.httpAuthSchemeProvider(),credentials:j.credentials()}},px=(j,w)=>{let x=Object.assign(Y.getAwsRegionExtensionConfiguration(j),Z.getDefaultExtensionConfiguration(j),d.getHttpHandlerExtensionConfiguration(j),ux(j));return w.forEach((E)=>E.configure(x)),Object.assign(j,Y.resolveAwsRegionExtensionConfiguration(x),Z.resolveDefaultRuntimeConfig(x),d.resolveHttpHandlerRuntimeConfig(x),dx(x))};class u extends Z.Client{config;constructor(...[j]){let w=cx(j||{});super(w);this.initConfig=w;let x=pw(w),E=Y.resolveUserAgentConfig(x),B=c.resolveRetryConfig(E),N=$.resolveRegionConfig(B),G=Y.resolveHostHeaderConfig(N),M=b.resolveEndpointConfig(G),z=dw(M),D=px(z,j?.extensions||[]);this.config=D,this.middlewareStack.use(Gj.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Y.getUserAgentPlugin(this.config)),this.middlewareStack.use(c.getRetryPlugin(this.config)),this.middlewareStack.use(d.getContentLengthPlugin(this.config)),this.middlewareStack.use(Y.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Y.getLoggerPlugin(this.config)),this.middlewareStack.use(Y.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(S.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Cw,identityProviderConfigProvider:async(k)=>new S.DefaultIdentityProviderConfig({"aws.auth#sigv4":k.credentials,"aws.auth#sigv4a":k.credentials})})),this.middlewareStack.use(S.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class i extends Z.Command.classBuilder().ep(Rj).m(function(j,w,x,E){return[b.getEndpointPlugin(x,j.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Fw).build(){}class t extends Z.Command.classBuilder().ep(Rj).m(function(j,w,x,E){return[b.getEndpointPlugin(x,j.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Gw).build(){}var lx={AssumeRoleCommand:i,AssumeRoleWithWebIdentityCommand:t};class Zj extends u{}Z.createAggregatedClient(lx,Zj);var Kw=(j)=>{if(typeof j?.Arn==="string"){let w=j.Arn.split(":");if(w.length>4&&w[4]!=="")return w[4]}return},Nw=async(j,w,x,E={})=>{let B=typeof j==="function"?await j():j,N=typeof w==="function"?await w():w,G="",M=B??N??(G=await Y.stsRegionDefaultResolver(E)());return x?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${B} (credential provider clientConfig)`,`${N} (contextual client)`,`${G} (STS default: AWS_REGION, profile region, or us-east-1)`),M},gx=(j,w)=>{let x,E;return async(B,N)=>{if(E=B,!x){let{logger:k=j?.parentClientConfig?.logger,profile:I=j?.parentClientConfig?.profile,region:U,requestHandler:L=j?.parentClientConfig?.requestHandler,credentialProviderLogger:V,userAgentAppId:J=j?.parentClientConfig?.userAgentAppId}=j,s=await Nw(U,j?.parentClientConfig?.region,V,{logger:k,profile:I}),e=!Qw(L);x=new w({...j,userAgentAppId:J,profile:I,credentialDefaultProvider:()=>async()=>E,region:s,requestHandler:e?L:void 0,logger:k})}let{Credentials:G,AssumedRoleUser:M}=await x.send(new i(N));if(!G||!G.AccessKeyId||!G.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${N.RoleArn}`);let z=Kw(M),D={accessKeyId:G.AccessKeyId,secretAccessKey:G.SecretAccessKey,sessionToken:G.SessionToken,expiration:G.Expiration,...G.CredentialScope&&{credentialScope:G.CredentialScope},...z&&{accountId:z}};return Y.setCredentialFeature(D,"CREDENTIALS_STS_ASSUME_ROLE","i"),D}},ax=(j,w)=>{let x;return async(E)=>{if(!x){let{logger:z=j?.parentClientConfig?.logger,profile:D=j?.parentClientConfig?.profile,region:k,requestHandler:I=j?.parentClientConfig?.requestHandler,credentialProviderLogger:U,userAgentAppId:L=j?.parentClientConfig?.userAgentAppId}=j,V=await Nw(k,j?.parentClientConfig?.region,U,{logger:z,profile:D}),J=!Qw(I);x=new w({...j,userAgentAppId:L,profile:D,region:V,requestHandler:J?I:void 0,logger:z})}let{Credentials:B,AssumedRoleUser:N}=await x.send(new t(E));if(!B||!B.AccessKeyId||!B.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${E.RoleArn}`);let G=Kw(N),M={accessKeyId:B.AccessKeyId,secretAccessKey:B.SecretAccessKey,sessionToken:B.SessionToken,expiration:B.Expiration,...B.CredentialScope&&{credentialScope:B.CredentialScope},...G&&{accountId:G}};if(G)Y.setCredentialFeature(M,"RESOLVED_ACCOUNT_ID","T");return Y.setCredentialFeature(M,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),M}},Qw=(j)=>{return j?.metadata?.handlerProtocol==="h2"},Xw=(j,w)=>{if(!w)return j;else return class extends j{constructor(E){super(E);for(let B of w)this.middlewareStack.use(B)}}},Yw=(j={},w)=>gx(j,Xw(u,w)),Zw=(j={},w)=>ax(j,Xw(u,w)),rx=(j)=>(w)=>j({roleAssumer:Yw(w),roleAssumerWithWebIdentity:Zw(w),...w});var{Command:ox,Client:nx}=Z,ix=Fw,tx=i,sx=tj,ex=sj,jB=Gw,wB=t,xB=ej,BB=jw,EB=Xj,FB=Yj,GB=p,KB=pj,NB=n,QB=lj,XB=r,YB=gj,ZB=o,$B=aj,MB=l,DB=rj,yB=g,LB=oj,zB=ww,kB=xw,UB=a,JB=nj,HB=Zj,bB=u,PB=y,IB=dj,hB=Bw,fB=rx,_B=ij,WB=Yw,AB=Zw;export{AB as getDefaultRoleAssumerWithWebIdentity,WB as getDefaultRoleAssumer,_B as errorTypeRegistries,fB as decorateDefaultCredentialProvider,nx as __Client,hB as Tag$,IB as STSServiceException$,PB as STSServiceException,bB as STSClient,HB as STS,JB as RegionDisabledException$,UB as RegionDisabledException,kB as ProvidedContext$,zB as PolicyDescriptorType$,LB as PackedPolicyTooLargeException$,yB as PackedPolicyTooLargeException,DB as MalformedPolicyDocumentException$,MB as MalformedPolicyDocumentException,$B as InvalidIdentityTokenException$,ZB as InvalidIdentityTokenException,YB as IDPRejectedClaimException$,XB as IDPRejectedClaimException,QB as IDPCommunicationErrorException$,NB as IDPCommunicationErrorException,KB as ExpiredTokenException$,GB as ExpiredTokenException,FB as Credentials$,EB as AssumedRoleUser$,BB as AssumeRoleWithWebIdentityResponse$,xB as AssumeRoleWithWebIdentityRequest$,wB as AssumeRoleWithWebIdentityCommand,jB as AssumeRoleWithWebIdentity$,ex as AssumeRoleResponse$,sx as AssumeRoleRequest$,tx as AssumeRoleCommand,ix as AssumeRole$,ox as $Command};export default {get getDefaultRoleAssumerWithWebIdentity(){return AB},get getDefaultRoleAssumer(){return WB},get errorTypeRegistries(){return _B},get decorateDefaultCredentialProvider(){return fB},get __Client(){return nx},get Tag$(){return hB},get STSServiceException$(){return IB},get STSServiceException(){return PB},get STSClient(){return bB},get STS(){return HB},get RegionDisabledException$(){return JB},get RegionDisabledException(){return UB},get ProvidedContext$(){return kB},get PolicyDescriptorType$(){return zB},get PackedPolicyTooLargeException$(){return LB},get PackedPolicyTooLargeException(){return yB},get MalformedPolicyDocumentException$(){return DB},get MalformedPolicyDocumentException(){return MB},get InvalidIdentityTokenException$(){return $B},get InvalidIdentityTokenException(){return ZB},get IDPRejectedClaimException$(){return YB},get IDPRejectedClaimException(){return XB},get IDPCommunicationErrorException$(){return QB},get IDPCommunicationErrorException(){return NB},get ExpiredTokenException$(){return KB},get ExpiredTokenException(){return GB},get Credentials$(){return FB},get AssumedRoleUser$(){return EB},get AssumeRoleWithWebIdentityResponse$(){return BB},get AssumeRoleWithWebIdentityRequest$(){return xB},get AssumeRoleWithWebIdentityCommand(){return wB},get AssumeRoleWithWebIdentity$(){return jB},get AssumeRoleResponse$(){return ex},get AssumeRoleRequest$(){return sx},get AssumeRoleCommand(){return tx},get AssumeRole$(){return ix},get $Command(){return ox}};
2
+ import{Ee as _w}from"./chunk-dnsh1v42.js";import{Fe as Mw,Ie as Aw}from"./chunk-gszvgz76.js";import{Je as Ww}from"./chunk-68v3b6ns.js";import{Ke as Iw,Le as hw,Me as fw}from"./chunk-bne5w117.js";import{Ne as Pw}from"./chunk-j0bwa5dk.js";import{Ff as kw,Gf as Uw,Hf as Jw,If as Hw,Jf as bw}from"./chunk-2drzgtv3.js";import{tO as $w}from"./chunk-r9w0thdk.js";var zj=$w((Dw)=>{var jj=Mw(),m={CrtSignerV4:null},wj="X-Amz-S3session-Token",Mj=wj.toLowerCase();class xj extends jj.SignatureV4{async signWithCredentials(j,w,x){let E=Dj(w);j.headers[Mj]=w.sessionToken;let B=this;return yj(B,E),B.signRequest(j,x??{})}async presignWithCredentials(j,w,x){let E=Dj(w);return delete j.headers[Mj],j.headers[wj]=w.sessionToken,j.query=j.query??{},j.query[wj]=w.sessionToken,yj(this,E),this.presign(j,x)}}function Dj(j){return{accessKeyId:j.accessKeyId,secretAccessKey:j.secretAccessKey,expiration:j.expiration}}function yj(j,w){let x=j.credentialProvider;j.credentialProvider=()=>{return j.credentialProvider=x,Promise.resolve(w)}}class Lj{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof m.CrtSignerV4==="function")return"crt";else if(typeof jj.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(j){this.sigv4Signer=new xj(j),this.signerOptions=j}async sign(j,w={}){if(w.signingRegion==="*")return this.getSigv4aSigner().sign(j,w);return this.sigv4Signer.sign(j,w)}async signWithCredentials(j,w,x={}){if(x.signingRegion==="*"){let E=this.getSigv4aSigner(),B=m.CrtSignerV4;if(B&&E instanceof B)return E.signWithCredentials(j,w,x);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(j,w,x)}async presign(j,w={}){if(w.signingRegion==="*"){let x=this.getSigv4aSigner(),E=m.CrtSignerV4;if(E&&x instanceof E)return x.presign(j,w);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(j,w)}async presignWithCredentials(j,w,x={}){if(x.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(j,w,x)}getSigv4aSigner(){if(!this.sigv4aSigner){let j=m.CrtSignerV4,w=jj.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!j&&!w)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(j&&typeof j==="function")this.sigv4aSigner=new j({...this.signerOptions,signingAlgorithm:1});else if(w&&typeof w==="function")this.sigv4aSigner=new w({...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(!w||typeof w!=="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 w({...this.signerOptions})}}return this.sigv4aSigner}}Dw.SignatureV4MultiRegion=Lj;Dw.SignatureV4SignWithCredentials=xj;Dw.signatureV4CrtContainer=m});var Y=fw(),S=hw(),Z=Uw(),$=Jw(),b=Hw(),d=Pw(),c=Iw(),Gj=kw(),H=_w(),_j=zj(),O=bw(),kj=Ww(),vw=Aw(),T="ref",h=-1,q=!0,Uj="isSet",Wj="PartitionResult",C="booleanEquals",Q="stringEquals",Bj="getAttr",Jj="us-east-1",Hj="sigv4",bj="sts",Pj="https://sts.{Region}.{PartitionResult#dnsSuffix}",Ij={[T]:"Endpoint"},X={[T]:"Region"},Ej={[T]:Wj},R={},hj=[X],fj={conditions:[[Uj,[Ij]],[Uj,hj],["aws.partition",hj,Wj],[C,[{[T]:"UseFIPS"},q]],[C,[{[T]:"UseDualStack"},q]],[Q,[X,"aws-global"]],[C,[{[T]:"UseGlobalEndpoint"},q]],[Q,[X,"eu-central-1"]],[C,[{fn:Bj,argv:[Ej,"supportsDualStack"]},q]],[C,[{fn:Bj,argv:[Ej,"supportsFIPS"]},q]],[Q,[X,"ap-south-1"]],[Q,[X,"eu-north-1"]],[Q,[X,"eu-west-1"]],[Q,[X,"eu-west-2"]],[Q,[X,"eu-west-3"]],[Q,[X,"sa-east-1"]],[Q,[X,Jj]],[Q,[X,"us-east-2"]],[Q,[X,"us-west-2"]],[Q,[X,"us-west-1"]],[Q,[X,"ca-central-1"]],[Q,[X,"ap-southeast-1"]],[Q,[X,"ap-northeast-1"]],[Q,[X,"ap-southeast-2"]],[Q,[{fn:Bj,argv:[Ej,"name"]},"aws-us-gov"]]],results:[[h],["https://sts.amazonaws.com",{authSchemes:[{name:Hj,signingName:bj,signingRegion:Jj}]}],[Pj,{authSchemes:[{name:Hj,signingName:bj,signingRegion:"{Region}"}]}],[h,"Invalid Configuration: FIPS and custom endpoint are not supported"],[h,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Ij,R],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",R],[h,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",R],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",R],[h,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",R],[h,"DualStack is enabled but this partition does not support DualStack"],[Pj,R],[h,"Invalid Configuration: Missing Region"]]},Vw=2,F=1e8,Rw=new Int32Array([-1,1,-1,0,30,3,1,4,F+14,2,5,F+14,3,25,6,4,24,7,5,F+1,8,6,9,F+13,7,F+1,10,10,F+1,11,11,F+1,12,12,F+1,13,13,F+1,14,14,F+1,15,15,F+1,16,16,F+1,17,17,F+1,18,18,F+1,19,19,F+1,20,20,F+1,21,21,F+1,22,22,F+1,23,23,F+1,F+2,8,F+11,F+12,4,28,26,9,27,F+10,24,F+8,F+9,8,29,F+7,9,F+6,F+7,3,F+3,31,4,F+4,F+5]),Ow=b.BinaryDecisionDiagram.from(Rw,Vw,fj.conditions,fj.results),Tw=new b.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),Aj=(j,w={})=>{return Tw.get(j,()=>b.decideEndpoint(Ow,{endpointParams:j,logger:w.logger}))};b.customEndpointFunctions.aws=Y.awsEndpointFunctions;var mw=(j)=>async(w,x,E)=>{if(!E)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let B=await j(w,x,E),N=Z.getSmithyContext(x)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!N)throw Error(`getEndpointParameterInstructions() is not defined on '${x.commandName}'`);let G=await b.resolveParams(E,{getEndpointParameterInstructions:N},w);return Object.assign(B,G)},qw=async(j,w,x)=>{return{operation:Z.getSmithyContext(w).operation,region:await Z.normalizeProvider(j.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},Cw=mw(qw);function vj(j){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:j.region},propertiesExtractor:(w,x)=>({signingProperties:{config:w,context:x}})}}function Fj(j){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:j.region},propertiesExtractor:(w,x)=>({signingProperties:{config:w,context:x}})}}function Vj(j){return{schemeId:"smithy.api#noAuth"}}var Sw=(j,w,x)=>{return(B)=>{let G=j(B).properties?.authSchemes;if(!G)return w(B);let M=[];for(let z of G){let{name:D,properties:k={},...I}=z,U=D.toLowerCase();if(D!==U)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${D}' to '${U}'`);let L;if(U==="sigv4a"){L="aws.auth#sigv4a";let s=G.find((e)=>{let $j=e.name.toLowerCase();return $j!=="sigv4a"&&$j.startsWith("sigv4")});if(_j.SignatureV4MultiRegion.sigv4aDependency()==="none"&&s)continue}else if(U.startsWith("sigv4"))L="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${U}'`);let V=x[L];if(!V)throw Error(`Could not find HttpAuthOption create function for '${L}'`);let J=V(B);J.schemeId=L,J.signingProperties={...J.signingProperties||{},...I,...k},M.push(J)}return M}},cw=(j)=>{let w=[];switch(j.operation){case"AssumeRoleWithWebIdentity":{w.push(Vj()),w.push(Fj(j));break}default:w.push(vj(j)),w.push(Fj(j))}return w},uw=Sw(Aj,cw,{"aws.auth#sigv4":vj,"aws.auth#sigv4a":Fj,"smithy.api#noAuth":Vj}),dw=(j)=>{let w=H.resolveAwsSdkSigV4Config(j),x=H.resolveAwsSdkSigV4AConfig(w);return Object.assign(x,{authSchemePreference:Z.normalizeProvider(j.authSchemePreference??[])})},pw=(j)=>{return Object.assign(j,{useDualstackEndpoint:j.useDualstackEndpoint??!1,useFipsEndpoint:j.useFipsEndpoint??!1,useGlobalEndpoint:j.useGlobalEndpoint??!1,defaultSigningName:"sts"})},Rj={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"}},lw="3.997.14",gw={version:lw};class y extends Z.ServiceException{constructor(j){super(j);Object.setPrototypeOf(this,y.prototype)}}class p extends y{name="ExpiredTokenException";$fault="client";constructor(j){super({name:"ExpiredTokenException",$fault:"client",...j});Object.setPrototypeOf(this,p.prototype)}}class l extends y{name="MalformedPolicyDocumentException";$fault="client";constructor(j){super({name:"MalformedPolicyDocumentException",$fault:"client",...j});Object.setPrototypeOf(this,l.prototype)}}class g extends y{name="PackedPolicyTooLargeException";$fault="client";constructor(j){super({name:"PackedPolicyTooLargeException",$fault:"client",...j});Object.setPrototypeOf(this,g.prototype)}}class a extends y{name="RegionDisabledException";$fault="client";constructor(j){super({name:"RegionDisabledException",$fault:"client",...j});Object.setPrototypeOf(this,a.prototype)}}class r extends y{name="IDPRejectedClaimException";$fault="client";constructor(j){super({name:"IDPRejectedClaimException",$fault:"client",...j});Object.setPrototypeOf(this,r.prototype)}}class o extends y{name="InvalidIdentityTokenException";$fault="client";constructor(j){super({name:"InvalidIdentityTokenException",$fault:"client",...j});Object.setPrototypeOf(this,o.prototype)}}class n extends y{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(j){super({name:"IDPCommunicationErrorException",$fault:"client",...j});Object.setPrototypeOf(this,n.prototype)}}var aw="Arn",rw="AccessKeyId",ow="AssumeRole",nw="AssumedRoleId",iw="AssumeRoleRequest",tw="AssumeRoleResponse",Kj="AssumedRoleUser",sw="AssumeRoleWithWebIdentity",ew="AssumeRoleWithWebIdentityRequest",jx="AssumeRoleWithWebIdentityResponse",wx="Audience",Nj="Credentials",xx="ContextAssertion",Oj="DurationSeconds",Bx="Expiration",Ex="ExternalId",Fx="ExpiredTokenException",Gx="IDPCommunicationErrorException",Kx="IDPRejectedClaimException",Nx="InvalidIdentityTokenException",Qx="Key",Xx="MalformedPolicyDocumentException",Tj="Policy",mj="PolicyArns",Yx="ProviderArn",Zx="ProvidedContexts",$x="ProvidedContextsListType",Mx="ProvidedContext",Dx="PolicyDescriptorType",yx="ProviderId",qj="PackedPolicySize",Lx="PackedPolicyTooLargeException",zx="Provider",Cj="RoleArn",kx="RegionDisabledException",Sj="RoleSessionName",Ux="SecretAccessKey",Jx="SubjectFromWebIdentityToken",Qj="SourceIdentity",Hx="SerialNumber",bx="SessionToken",Px="Tags",Ix="TokenCode",hx="TransitiveTagKeys",fx="Tag",_x="Value",Wx="WebIdentityToken",Ax="arn",vx="accessKeySecretType",f="awsQueryError",_="client",Vx="clientTokenType",W="error",A="httpError",v="message",Rx="policyDescriptorListType",cj="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ox="tagListType",K="com.amazonaws.sts",uj=Gj.TypeRegistry.for(cj),dj=[-3,cj,"STSServiceException",0,[],[]];uj.registerError(dj,y);var P=Gj.TypeRegistry.for(K),pj=[-3,K,Fx,{[f]:["ExpiredTokenException",400],[W]:_,[A]:400},[v],[0]];P.registerError(pj,p);var lj=[-3,K,Gx,{[f]:["IDPCommunicationError",400],[W]:_,[A]:400},[v],[0]];P.registerError(lj,n);var gj=[-3,K,Kx,{[f]:["IDPRejectedClaim",403],[W]:_,[A]:403},[v],[0]];P.registerError(gj,r);var aj=[-3,K,Nx,{[f]:["InvalidIdentityToken",400],[W]:_,[A]:400},[v],[0]];P.registerError(aj,o);var rj=[-3,K,Xx,{[f]:["MalformedPolicyDocument",400],[W]:_,[A]:400},[v],[0]];P.registerError(rj,l);var oj=[-3,K,Lx,{[f]:["PackedPolicyTooLarge",400],[W]:_,[A]:400},[v],[0]];P.registerError(oj,g);var nj=[-3,K,kx,{[f]:["RegionDisabledException",403],[W]:_,[A]:403},[v],[0]];P.registerError(nj,a);var ij=[uj,P],Tx=[0,K,vx,8,0],mx=[0,K,Vx,8,0],Xj=[3,K,Kj,0,[nw,aw],[0,0],2],tj=[3,K,iw,0,[Cj,Sj,mj,Tj,Oj,Px,hx,Ex,Hx,Ix,Qj,Zx],[0,0,()=>Ew,0,1,()=>Cx,64,0,0,0,0,()=>qx],2],sj=[3,K,tw,0,[Nj,Kj,qj,Qj],[[()=>Yj,0],()=>Xj,1,0]],ej=[3,K,ew,0,[Cj,Sj,Wx,yx,mj,Tj,Oj],[0,0,[()=>mx,0],0,()=>Ew,0,1],3],jw=[3,K,jx,0,[Nj,Jx,Kj,qj,zx,wx,Qj],[[()=>Yj,0],0,()=>Xj,1,0,0,0]],Yj=[3,K,Nj,0,[rw,Ux,bx,Bx],[0,[()=>Tx,0],0,4],4],ww=[3,K,Dx,0,[Ax],[0]],xw=[3,K,Mx,0,[Yx,xx],[0,0]],Bw=[3,K,fx,0,[Qx,_x],[0,0],2],Ew=[1,K,Rx,0,()=>ww],qx=[1,K,$x,0,()=>xw],Cx=[1,K,Ox,0,()=>Bw],Fw=[9,K,ow,0,()=>tj,()=>sj],Gw=[9,K,sw,0,()=>ej,()=>jw],Sx=(j)=>{return{apiVersion:"2011-06-15",base64Decoder:j?.base64Decoder??O.fromBase64,base64Encoder:j?.base64Encoder??O.toBase64,disableHostPrefix:j?.disableHostPrefix??!1,endpointProvider:j?.endpointProvider??Aj,extensions:j?.extensions??[],httpAuthSchemeProvider:j?.httpAuthSchemeProvider??uw,httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(w)=>w.getIdentityProvider("aws.auth#sigv4"),signer:new H.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(w)=>w.getIdentityProvider("aws.auth#sigv4a"),signer:new H.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(w)=>w.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new S.NoAuthSigner}],logger:j?.logger??new Z.NoOpLogger,protocol:j?.protocol??vw.AwsQueryProtocol,protocolSettings:j?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:ij,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:j?.serviceId??"STS",signerConstructor:j?.signerConstructor??_j.SignatureV4MultiRegion,urlParser:j?.urlParser??d.parseUrl,utf8Decoder:j?.utf8Decoder??O.fromUtf8,utf8Encoder:j?.utf8Encoder??O.toUtf8}},cx=(j)=>{Z.emitWarningIfUnsupportedVersion(process.version);let w=$.resolveDefaultsModeConfig(j),x=()=>w().then(Z.loadConfigsForDefaultMode),E=Sx(j);Y.emitWarningIfUnsupportedVersion(process.version);let B={profile:j?.profile,logger:E.logger};return{...E,...j,runtime:"node",defaultsMode:w,authSchemePreference:j?.authSchemePreference??$.loadConfig(H.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,B),bodyLengthChecker:j?.bodyLengthChecker??O.calculateBodyLength,defaultUserAgentProvider:j?.defaultUserAgentProvider??Y.createDefaultUserAgentProvider({serviceId:E.serviceId,clientVersion:gw.version}),httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(N)=>N.getIdentityProvider("aws.auth#sigv4")||(async(G)=>await j.credentialDefaultProvider(G?.__config||{})()),signer:new H.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(N)=>N.getIdentityProvider("aws.auth#sigv4a"),signer:new H.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(N)=>N.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new S.NoAuthSigner}],maxAttempts:j?.maxAttempts??$.loadConfig(c.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,j),region:j?.region??$.loadConfig($.NODE_REGION_CONFIG_OPTIONS,{...$.NODE_REGION_CONFIG_FILE_OPTIONS,...B}),requestHandler:kj.NodeHttpHandler.create(j?.requestHandler??x),retryMode:j?.retryMode??$.loadConfig({...c.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await x()).retryMode||c.DEFAULT_RETRY_MODE},j),sha256:j?.sha256??O.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:j?.sigv4aSigningRegionSet??$.loadConfig(H.NODE_SIGV4A_CONFIG_OPTIONS,B),streamCollector:j?.streamCollector??kj.streamCollector,useDualstackEndpoint:j?.useDualstackEndpoint??$.loadConfig($.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,B),useFipsEndpoint:j?.useFipsEndpoint??$.loadConfig($.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,B),userAgentAppId:j?.userAgentAppId??$.loadConfig(Y.NODE_APP_ID_CONFIG_OPTIONS,B)}},ux=(j)=>{let{httpAuthSchemes:w,httpAuthSchemeProvider:x,credentials:E}=j;return{setHttpAuthScheme(B){let N=w.findIndex((G)=>G.schemeId===B.schemeId);if(N===-1)w.push(B);else w.splice(N,1,B)},httpAuthSchemes(){return w},setHttpAuthSchemeProvider(B){x=B},httpAuthSchemeProvider(){return x},setCredentials(B){E=B},credentials(){return E}}},dx=(j)=>{return{httpAuthSchemes:j.httpAuthSchemes(),httpAuthSchemeProvider:j.httpAuthSchemeProvider(),credentials:j.credentials()}},px=(j,w)=>{let x=Object.assign(Y.getAwsRegionExtensionConfiguration(j),Z.getDefaultExtensionConfiguration(j),d.getHttpHandlerExtensionConfiguration(j),ux(j));return w.forEach((E)=>E.configure(x)),Object.assign(j,Y.resolveAwsRegionExtensionConfiguration(x),Z.resolveDefaultRuntimeConfig(x),d.resolveHttpHandlerRuntimeConfig(x),dx(x))};class u extends Z.Client{config;constructor(...[j]){let w=cx(j||{});super(w);this.initConfig=w;let x=pw(w),E=Y.resolveUserAgentConfig(x),B=c.resolveRetryConfig(E),N=$.resolveRegionConfig(B),G=Y.resolveHostHeaderConfig(N),M=b.resolveEndpointConfig(G),z=dw(M),D=px(z,j?.extensions||[]);this.config=D,this.middlewareStack.use(Gj.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Y.getUserAgentPlugin(this.config)),this.middlewareStack.use(c.getRetryPlugin(this.config)),this.middlewareStack.use(d.getContentLengthPlugin(this.config)),this.middlewareStack.use(Y.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Y.getLoggerPlugin(this.config)),this.middlewareStack.use(Y.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(S.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Cw,identityProviderConfigProvider:async(k)=>new S.DefaultIdentityProviderConfig({"aws.auth#sigv4":k.credentials,"aws.auth#sigv4a":k.credentials})})),this.middlewareStack.use(S.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class i extends Z.Command.classBuilder().ep(Rj).m(function(j,w,x,E){return[b.getEndpointPlugin(x,j.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Fw).build(){}class t extends Z.Command.classBuilder().ep(Rj).m(function(j,w,x,E){return[b.getEndpointPlugin(x,j.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Gw).build(){}var lx={AssumeRoleCommand:i,AssumeRoleWithWebIdentityCommand:t};class Zj extends u{}Z.createAggregatedClient(lx,Zj);var Kw=(j)=>{if(typeof j?.Arn==="string"){let w=j.Arn.split(":");if(w.length>4&&w[4]!=="")return w[4]}return},Nw=async(j,w,x,E={})=>{let B=typeof j==="function"?await j():j,N=typeof w==="function"?await w():w,G="",M=B??N??(G=await Y.stsRegionDefaultResolver(E)());return x?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${B} (credential provider clientConfig)`,`${N} (contextual client)`,`${G} (STS default: AWS_REGION, profile region, or us-east-1)`),M},gx=(j,w)=>{let x,E;return async(B,N)=>{if(E=B,!x){let{logger:k=j?.parentClientConfig?.logger,profile:I=j?.parentClientConfig?.profile,region:U,requestHandler:L=j?.parentClientConfig?.requestHandler,credentialProviderLogger:V,userAgentAppId:J=j?.parentClientConfig?.userAgentAppId}=j,s=await Nw(U,j?.parentClientConfig?.region,V,{logger:k,profile:I}),e=!Qw(L);x=new w({...j,userAgentAppId:J,profile:I,credentialDefaultProvider:()=>async()=>E,region:s,requestHandler:e?L:void 0,logger:k})}let{Credentials:G,AssumedRoleUser:M}=await x.send(new i(N));if(!G||!G.AccessKeyId||!G.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${N.RoleArn}`);let z=Kw(M),D={accessKeyId:G.AccessKeyId,secretAccessKey:G.SecretAccessKey,sessionToken:G.SessionToken,expiration:G.Expiration,...G.CredentialScope&&{credentialScope:G.CredentialScope},...z&&{accountId:z}};return Y.setCredentialFeature(D,"CREDENTIALS_STS_ASSUME_ROLE","i"),D}},ax=(j,w)=>{let x;return async(E)=>{if(!x){let{logger:z=j?.parentClientConfig?.logger,profile:D=j?.parentClientConfig?.profile,region:k,requestHandler:I=j?.parentClientConfig?.requestHandler,credentialProviderLogger:U,userAgentAppId:L=j?.parentClientConfig?.userAgentAppId}=j,V=await Nw(k,j?.parentClientConfig?.region,U,{logger:z,profile:D}),J=!Qw(I);x=new w({...j,userAgentAppId:L,profile:D,region:V,requestHandler:J?I:void 0,logger:z})}let{Credentials:B,AssumedRoleUser:N}=await x.send(new t(E));if(!B||!B.AccessKeyId||!B.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${E.RoleArn}`);let G=Kw(N),M={accessKeyId:B.AccessKeyId,secretAccessKey:B.SecretAccessKey,sessionToken:B.SessionToken,expiration:B.Expiration,...B.CredentialScope&&{credentialScope:B.CredentialScope},...G&&{accountId:G}};if(G)Y.setCredentialFeature(M,"RESOLVED_ACCOUNT_ID","T");return Y.setCredentialFeature(M,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),M}},Qw=(j)=>{return j?.metadata?.handlerProtocol==="h2"},Xw=(j,w)=>{if(!w)return j;else return class extends j{constructor(E){super(E);for(let B of w)this.middlewareStack.use(B)}}},Yw=(j={},w)=>gx(j,Xw(u,w)),Zw=(j={},w)=>ax(j,Xw(u,w)),rx=(j)=>(w)=>j({roleAssumer:Yw(w),roleAssumerWithWebIdentity:Zw(w),...w});var{Command:ox,Client:nx}=Z,ix=Fw,tx=i,sx=tj,ex=sj,jB=Gw,wB=t,xB=ej,BB=jw,EB=Xj,FB=Yj,GB=p,KB=pj,NB=n,QB=lj,XB=r,YB=gj,ZB=o,$B=aj,MB=l,DB=rj,yB=g,LB=oj,zB=ww,kB=xw,UB=a,JB=nj,HB=Zj,bB=u,PB=y,IB=dj,hB=Bw,fB=rx,_B=ij,WB=Yw,AB=Zw;export{AB as getDefaultRoleAssumerWithWebIdentity,WB as getDefaultRoleAssumer,_B as errorTypeRegistries,fB as decorateDefaultCredentialProvider,nx as __Client,hB as Tag$,IB as STSServiceException$,PB as STSServiceException,bB as STSClient,HB as STS,JB as RegionDisabledException$,UB as RegionDisabledException,kB as ProvidedContext$,zB as PolicyDescriptorType$,LB as PackedPolicyTooLargeException$,yB as PackedPolicyTooLargeException,DB as MalformedPolicyDocumentException$,MB as MalformedPolicyDocumentException,$B as InvalidIdentityTokenException$,ZB as InvalidIdentityTokenException,YB as IDPRejectedClaimException$,XB as IDPRejectedClaimException,QB as IDPCommunicationErrorException$,NB as IDPCommunicationErrorException,KB as ExpiredTokenException$,GB as ExpiredTokenException,FB as Credentials$,EB as AssumedRoleUser$,BB as AssumeRoleWithWebIdentityResponse$,xB as AssumeRoleWithWebIdentityRequest$,wB as AssumeRoleWithWebIdentityCommand,jB as AssumeRoleWithWebIdentity$,ex as AssumeRoleResponse$,sx as AssumeRoleRequest$,tx as AssumeRoleCommand,ix as AssumeRole$,ox as $Command};export default {get getDefaultRoleAssumerWithWebIdentity(){return AB},get getDefaultRoleAssumer(){return WB},get errorTypeRegistries(){return _B},get decorateDefaultCredentialProvider(){return fB},get __Client(){return nx},get Tag$(){return hB},get STSServiceException$(){return IB},get STSServiceException(){return PB},get STSClient(){return bB},get STS(){return HB},get RegionDisabledException$(){return JB},get RegionDisabledException(){return UB},get ProvidedContext$(){return kB},get PolicyDescriptorType$(){return zB},get PackedPolicyTooLargeException$(){return LB},get PackedPolicyTooLargeException(){return yB},get MalformedPolicyDocumentException$(){return DB},get MalformedPolicyDocumentException(){return MB},get InvalidIdentityTokenException$(){return $B},get InvalidIdentityTokenException(){return ZB},get IDPRejectedClaimException$(){return YB},get IDPRejectedClaimException(){return XB},get IDPCommunicationErrorException$(){return QB},get IDPCommunicationErrorException(){return NB},get ExpiredTokenException$(){return KB},get ExpiredTokenException(){return GB},get Credentials$(){return FB},get AssumedRoleUser$(){return EB},get AssumeRoleWithWebIdentityResponse$(){return BB},get AssumeRoleWithWebIdentityRequest$(){return xB},get AssumeRoleWithWebIdentityCommand(){return wB},get AssumeRoleWithWebIdentity$(){return jB},get AssumeRoleResponse$(){return ex},get AssumeRoleRequest$(){return sx},get AssumeRoleCommand(){return tx},get AssumeRole$(){return ix},get $Command(){return ox}};