gemi 0.4.69 → 0.4.71

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 (763) hide show
  1. package/dist/{chunk-f5a531a49e7591bd.js → chunk-2895a97b65e7107b.js} +1 -1
  2. package/dist/{chunk-8884e59809021f5f.js → chunk-2dd61d279d9f0b13.js} +1 -1
  3. package/dist/{chunk-100b76ab0ca3e14d.js → chunk-448c9eceacddef90.js} +1 -1
  4. package/dist/{chunk-a4b231bf6d911e01.js → chunk-466213c5585251ad.js} +1 -1
  5. package/dist/{chunk-edfc3362e0d21dab.js → chunk-4b8da0fabb3539db.js} +5 -5
  6. package/dist/{chunk-1bd88dc9c4475e1d.js → chunk-4bc3b71775040cb9.js} +1 -1
  7. package/dist/{chunk-00935722c776a294.js → chunk-af7d1951242b1c6e.js} +1 -1
  8. package/dist/{chunk-1d2c062034e3ed2d.js → chunk-b6a64bf9af2e91be.js} +2 -2
  9. package/dist/{chunk-a35eb04f0c7c9944.js → chunk-b8176bf532f59485.js} +1 -1
  10. package/dist/{chunk-545989119755857f.js → chunk-cca33e85bf87b3b3.js} +1 -1
  11. package/dist/{chunk-a1efc60864e65ef2.js → chunk-de75d134f236f4bb.js} +1 -1
  12. package/dist/{chunk-107dbe753ed86605.js → chunk-e344c95f8ae7a124.js} +2 -2
  13. package/dist/{chunk-f5200f44395bf49d.js → chunk-e565da7343a33b65.js} +2 -2
  14. package/dist/{chunk-3330ff12936f5a2e.js → chunk-e912bf7c7a0e988a.js} +1 -1
  15. package/dist/{chunk-210fc3731e7d2299.js → chunk-f22ac1ec6c3f782b.js} +1 -1
  16. package/dist/{chunk-1b3b7c2c9ae041ca.js → chunk-fe65548818651cb5.js} +1 -1
  17. package/dist/client/ClientRouterContext.d.ts.map +1 -1
  18. package/dist/client/HttpReload.d.ts.map +1 -1
  19. package/dist/client/index.js +19 -5
  20. package/dist/server/index.js +1 -1
  21. package/dist/storage/index.js +1 -1
  22. package/dist/vite/{index-D9QWnghl.mjs → index-BbySvAwL.mjs} +3 -3
  23. package/dist/vite/index.mjs +1 -1
  24. package/dist/vite/{typescript-DADBvwYC.mjs → typescript-CeZcXBr-.mjs} +1 -1
  25. package/package.json +1 -1
  26. package/dist/app/App.test.d.ts +0 -20
  27. package/dist/app/App.test.d.ts.map +0 -1
  28. package/dist/app/createComponentTree.test.d.ts +0 -2
  29. package/dist/app/createComponentTree.test.d.ts.map +0 -1
  30. package/dist/app/createFlatApiRoutes.test.d.ts +0 -2
  31. package/dist/app/createFlatApiRoutes.test.d.ts.map +0 -1
  32. package/dist/app/createFlatViewRoutes.test.d.ts +0 -2
  33. package/dist/app/createFlatViewRoutes.test.d.ts.map +0 -1
  34. package/dist/app/createRouteManifest.test.d.ts +0 -2
  35. package/dist/app/createRouteManifest.test.d.ts.map +0 -1
  36. package/dist/chunk-00234eac874c2722.js +0 -2
  37. package/dist/chunk-00cb9f80352454dd.js +0 -1
  38. package/dist/chunk-00e9dad0734d9761.js +0 -2
  39. package/dist/chunk-00ecc27f03e2e84a.js +0 -2
  40. package/dist/chunk-00f16704831dd8b0.js +0 -2
  41. package/dist/chunk-01052ff9d1c07ef8.js +0 -2
  42. package/dist/chunk-0113570164c56f57.js +0 -2
  43. package/dist/chunk-0130e95410edb036.js +0 -18
  44. package/dist/chunk-01e07763e3e32710.js +0 -2
  45. package/dist/chunk-01e1579811beb424.js +0 -2
  46. package/dist/chunk-01ffccc19e8ef862.js +0 -3
  47. package/dist/chunk-02118fc60206588d.js +0 -2
  48. package/dist/chunk-0306d8fccec5104e.js +0 -2
  49. package/dist/chunk-030b4fb955329860.js +0 -16
  50. package/dist/chunk-03227f4a68e038f4.js +0 -2
  51. package/dist/chunk-03a72299591d45a7.js +0 -18
  52. package/dist/chunk-03c8e645c994d40a.js +0 -2
  53. package/dist/chunk-04aa62521338e3ab.js +0 -18
  54. package/dist/chunk-04d6b88ed6d3f076.js +0 -6
  55. package/dist/chunk-0557700bf68e85d4.js +0 -18
  56. package/dist/chunk-05fa767ab29abb0f.js +0 -2
  57. package/dist/chunk-061d95b15c00e38b.js +0 -9
  58. package/dist/chunk-069fcad61c8841dc.js +0 -1
  59. package/dist/chunk-06b83143607ebdc8.js +0 -6
  60. package/dist/chunk-06eebef7eb056baa.js +0 -2
  61. package/dist/chunk-073f5b81e98d91fe.js +0 -3
  62. package/dist/chunk-08539d08fa7362f7.js +0 -2
  63. package/dist/chunk-088b47e135832170.js +0 -1
  64. package/dist/chunk-088ed28ebed2b009.js +0 -5
  65. package/dist/chunk-08e9ab1091d7383e.js +0 -3
  66. package/dist/chunk-0909c7f6b64b8806.js +0 -2
  67. package/dist/chunk-095848ccb81718bf.js +0 -2
  68. package/dist/chunk-09dd89e1046786a5.js +0 -2
  69. package/dist/chunk-0a6614fbd65524af.js +0 -2
  70. package/dist/chunk-0a9ae42aae6f406e.js +0 -2
  71. package/dist/chunk-0b1b4e4e251ffe01.js +0 -2
  72. package/dist/chunk-0b46ec66d2c3d5f3.js +0 -2
  73. package/dist/chunk-0b5fb4e0c7de8316.js +0 -2
  74. package/dist/chunk-0b7a7410fce0b12e.js +0 -9
  75. package/dist/chunk-0b8dc3d1ff94a0fa.js +0 -6
  76. package/dist/chunk-0b99ba34351bde91.js +0 -3
  77. package/dist/chunk-0d0f764773c0f6b8.js +0 -2
  78. package/dist/chunk-0d8ab901365b9696.js +0 -2
  79. package/dist/chunk-0db33ac43bd1d504.js +0 -2
  80. package/dist/chunk-0de36a7e51fbd11b.js +0 -9
  81. package/dist/chunk-0e125593337a68aa.js +0 -18
  82. package/dist/chunk-0e3473f7e43f4876.js +0 -2
  83. package/dist/chunk-0e99fe5c976c8ea2.js +0 -6
  84. package/dist/chunk-0f8e80862546cbc5.js +0 -18
  85. package/dist/chunk-0ffc38ed09847e35.js +0 -2
  86. package/dist/chunk-1062b3156a49fabc.js +0 -2
  87. package/dist/chunk-1084614a350762fb.js +0 -2
  88. package/dist/chunk-10a623a23a65bb20.js +0 -18
  89. package/dist/chunk-1109657ed53fbdc9.js +0 -2
  90. package/dist/chunk-11323d7a5d9219ce.js +0 -2
  91. package/dist/chunk-1171d9afbbfe827b.js +0 -2
  92. package/dist/chunk-119ffcaf1c463b8d.js +0 -6
  93. package/dist/chunk-11a75566ff74db17.js +0 -6
  94. package/dist/chunk-11d1336f6de61f45.js +0 -16
  95. package/dist/chunk-11fb7f7f30378785.js +0 -2
  96. package/dist/chunk-12b4f44a2beae19b.js +0 -2
  97. package/dist/chunk-12ca7224eb6ccf72.js +0 -9
  98. package/dist/chunk-132c71db605759c9.js +0 -2
  99. package/dist/chunk-1334ee957ff9058c.js +0 -2
  100. package/dist/chunk-136896e8038083a1.js +0 -2
  101. package/dist/chunk-13801a8f811f0461.js +0 -2
  102. package/dist/chunk-13e45ce3460f6375.js +0 -2
  103. package/dist/chunk-14d5491e97673c7d.js +0 -2
  104. package/dist/chunk-14e60554a2e78f4a.js +0 -2
  105. package/dist/chunk-159f5b922269aef1.js +0 -2
  106. package/dist/chunk-15e9771e524c5726.js +0 -2
  107. package/dist/chunk-16a63b2fee0ce9e2.js +0 -2
  108. package/dist/chunk-16dbe3a15379140b.js +0 -2
  109. package/dist/chunk-176e5ded5ed33d4d.js +0 -2
  110. package/dist/chunk-1838696dc4e7a115.js +0 -2
  111. package/dist/chunk-1874b66d572fb0db.js +0 -6
  112. package/dist/chunk-1875b98b6a064557.js +0 -2
  113. package/dist/chunk-187a09f46e2b36e5.js +0 -2
  114. package/dist/chunk-18c32b54097c580e.js +0 -2
  115. package/dist/chunk-18d87123ae525263.js +0 -2
  116. package/dist/chunk-1900e90c372bb1d6.js +0 -2
  117. package/dist/chunk-1976eef63d2e56d5.js +0 -18
  118. package/dist/chunk-197fca66ec324ed9.js +0 -2
  119. package/dist/chunk-1ad1795e55abfdb5.js +0 -2
  120. package/dist/chunk-1b0afbf1baeeaa37.js +0 -2
  121. package/dist/chunk-1b71d04a15bfa432.js +0 -2
  122. package/dist/chunk-1b8acf308a3dc9ec.js +0 -1
  123. package/dist/chunk-1c439804a4c5f8e7.js +0 -18
  124. package/dist/chunk-1cc0d1072ee4a92b.js +0 -2
  125. package/dist/chunk-1d6e287ca9c14fef.js +0 -9
  126. package/dist/chunk-1efe790f8b4ad86d.js +0 -2
  127. package/dist/chunk-1fab30ab853c48cc.js +0 -2
  128. package/dist/chunk-2081b862587086df.js +0 -2
  129. package/dist/chunk-216cc6dcf17534ba.js +0 -2
  130. package/dist/chunk-21b1f7ac5f75cd26.js +0 -2
  131. package/dist/chunk-21e105fb2b3d36d7.js +0 -799
  132. package/dist/chunk-21fe96d1a3bb5a27.js +0 -2
  133. package/dist/chunk-223b0aac9e62386a.js +0 -2
  134. package/dist/chunk-226243dd851d2050.js +0 -2
  135. package/dist/chunk-22773aec8cc230c6.js +0 -6
  136. package/dist/chunk-2279c382943fca51.js +0 -2
  137. package/dist/chunk-22ec1973752a5488.js +0 -2
  138. package/dist/chunk-2335866508ec8b1b.js +0 -2
  139. package/dist/chunk-23c287376e277e1d.js +0 -6
  140. package/dist/chunk-241584e48397dda8.js +0 -2
  141. package/dist/chunk-24e01cba9fc81ed1.js +0 -2
  142. package/dist/chunk-25dd80c6d9144f89.js +0 -2
  143. package/dist/chunk-2665dffd37ead1d9.js +0 -2
  144. package/dist/chunk-2672477bf396bad8.js +0 -2
  145. package/dist/chunk-269dd2cd89aa1c32.js +0 -2
  146. package/dist/chunk-26a5c9db5d17f5e7.js +0 -3
  147. package/dist/chunk-26d58ddc3a89234f.js +0 -2
  148. package/dist/chunk-27484e5ca3244aea.js +0 -6
  149. package/dist/chunk-281226b6c79ebf8b.js +0 -2
  150. package/dist/chunk-285299d784985340.js +0 -3
  151. package/dist/chunk-28bb1e70f39736ee.js +0 -2
  152. package/dist/chunk-28e02c9b9c46a167.js +0 -2
  153. package/dist/chunk-293d8be91a9ad4f9.js +0 -2
  154. package/dist/chunk-29a0dbe3c8eb87d4.js +0 -6
  155. package/dist/chunk-29bc27c5e126c304.js +0 -18
  156. package/dist/chunk-29c46abebbc0f09b.js +0 -2
  157. package/dist/chunk-2a0d1475ac05027d.js +0 -2
  158. package/dist/chunk-2a0e8565f874d787.js +0 -18
  159. package/dist/chunk-2a101fb25d52469b.js +0 -2
  160. package/dist/chunk-2a328e3beda74e4f.js +0 -2
  161. package/dist/chunk-2a48e0098ccd4249.js +0 -2
  162. package/dist/chunk-2a5b4dfab2e26e21.js +0 -1
  163. package/dist/chunk-2b2764983015552e.js +0 -2
  164. package/dist/chunk-2b3eabd01b2ae3f8.js +0 -2
  165. package/dist/chunk-2bfbc777c6995d9a.js +0 -18
  166. package/dist/chunk-2cf271e24c26b0ee.js +0 -2
  167. package/dist/chunk-2db6c9bb69bb27aa.js +0 -1
  168. package/dist/chunk-2e34b856e195c353.js +0 -2
  169. package/dist/chunk-2e447b50094b2862.js +0 -2
  170. package/dist/chunk-2ec287222364c6b6.js +0 -2
  171. package/dist/chunk-2ecc077efab285b4.js +0 -2
  172. package/dist/chunk-2f6867d08b95f2d2.js +0 -2
  173. package/dist/chunk-2f7091b9e4f728c7.js +0 -2
  174. package/dist/chunk-2f7aac67f16768a5.js +0 -1
  175. package/dist/chunk-3042abeb18cf180e.js +0 -2
  176. package/dist/chunk-30622b4547786346.js +0 -2
  177. package/dist/chunk-30f854fb2ba73268.js +0 -2
  178. package/dist/chunk-322e991c2b56a79d.js +0 -2
  179. package/dist/chunk-3258ba57992f25bb.js +0 -6
  180. package/dist/chunk-328c98321c6ba3d6.js +0 -2
  181. package/dist/chunk-32af3a3a1c95157f.js +0 -2
  182. package/dist/chunk-32f06f9ad00aaabd.js +0 -2
  183. package/dist/chunk-32f3d5e11b4bc87d.js +0 -2
  184. package/dist/chunk-339dd63e93f196b7.js +0 -16
  185. package/dist/chunk-345f66382cf35683.js +0 -2
  186. package/dist/chunk-34786cd9bc9be20b.js +0 -18
  187. package/dist/chunk-3567e8e424a60c99.js +0 -18
  188. package/dist/chunk-35ab4be8ca6c67ee.js +0 -2
  189. package/dist/chunk-361f806684fe532e.js +0 -6
  190. package/dist/chunk-36ab979dae2a2094.js +0 -2
  191. package/dist/chunk-36b8e37ca93fcc67.js +0 -2
  192. package/dist/chunk-370389a68668658a.js +0 -2
  193. package/dist/chunk-3728fa21e6931333.js +0 -2
  194. package/dist/chunk-378a050132886d17.js +0 -2
  195. package/dist/chunk-38237d1b01b0db25.js +0 -3
  196. package/dist/chunk-382a513747a9aa52.js +0 -6
  197. package/dist/chunk-38fc9d258dbe62fd.js +0 -18
  198. package/dist/chunk-3a3092db69408490.js +0 -2
  199. package/dist/chunk-3a9fcddbd219223b.js +0 -3
  200. package/dist/chunk-3ab807ceccde81f3.js +0 -3
  201. package/dist/chunk-3abb49bba3da7231.js +0 -1
  202. package/dist/chunk-3aecba8553e036bf.js +0 -6
  203. package/dist/chunk-3afa6cad1106f55a.js +0 -2
  204. package/dist/chunk-3b235fc8816ff5e6.js +0 -2
  205. package/dist/chunk-3b6df70b3d01d442.js +0 -3
  206. package/dist/chunk-3bd48fb5397a155b.js +0 -5
  207. package/dist/chunk-3bedef94ef8dba4a.js +0 -2
  208. package/dist/chunk-3bf6f8c8e8589e3d.js +0 -2
  209. package/dist/chunk-3c83d6762f7e56b3.js +0 -2
  210. package/dist/chunk-3cbc1c9cdc091b43.js +0 -2
  211. package/dist/chunk-3d7556bb2f665f61.js +0 -2
  212. package/dist/chunk-3dbf073642b377eb.js +0 -1
  213. package/dist/chunk-3e3078cae755e834.js +0 -2
  214. package/dist/chunk-3f1eaa4b49aa9a15.js +0 -3
  215. package/dist/chunk-40111275eef9f7b3.js +0 -6
  216. package/dist/chunk-408fb31b8b0f97ee.js +0 -2
  217. package/dist/chunk-40942fb138dcd780.js +0 -9
  218. package/dist/chunk-40c21fe243675250.js +0 -2
  219. package/dist/chunk-40f4bfe67d75f2ec.js +0 -6
  220. package/dist/chunk-412ad792487747bc.js +0 -2
  221. package/dist/chunk-415d564ff61a8fe6.js +0 -2
  222. package/dist/chunk-42097f79deccd5b7.js +0 -2
  223. package/dist/chunk-4272071146eb5eb2.js +0 -1
  224. package/dist/chunk-42aa6e3d42149620.js +0 -2
  225. package/dist/chunk-432bbd1d38ff3b52.js +0 -2
  226. package/dist/chunk-437335670ad9059d.js +0 -2
  227. package/dist/chunk-442a5b1ec74c72f8.js +0 -2
  228. package/dist/chunk-4432f8d8567e682b.js +0 -9
  229. package/dist/chunk-4548da0edd8c39ed.js +0 -2
  230. package/dist/chunk-45badde289996d82.js +0 -9
  231. package/dist/chunk-464cce477d8a56e0.js +0 -2
  232. package/dist/chunk-46528bdbb2218772.js +0 -2
  233. package/dist/chunk-477a4d3115b9703e.js +0 -2
  234. package/dist/chunk-47c4cec992af0689.js +0 -2
  235. package/dist/chunk-487b7c0cb388d533.js +0 -6
  236. package/dist/chunk-488b4db0c522d44a.js +0 -1
  237. package/dist/chunk-489125d86cd75e69.js +0 -9
  238. package/dist/chunk-4960e27e19bbe42a.js +0 -2
  239. package/dist/chunk-4b201cccdf6d290f.js +0 -2
  240. package/dist/chunk-4b4ea80149bba4e6.js +0 -2
  241. package/dist/chunk-4bbeb47cc6137c49.js +0 -2
  242. package/dist/chunk-4cb19a9e82653084.js +0 -2
  243. package/dist/chunk-4cb5f3feff1a81c5.js +0 -2
  244. package/dist/chunk-4cc2463d985f6882.js +0 -9
  245. package/dist/chunk-4d19e16340534ed0.js +0 -2
  246. package/dist/chunk-4d46e390f99b97e0.js +0 -2
  247. package/dist/chunk-4d80485e7efb826f.js +0 -2
  248. package/dist/chunk-4e023976eb557258.js +0 -2
  249. package/dist/chunk-4e5485d3cfe9dc4e.js +0 -2
  250. package/dist/chunk-4e9167391dd0d15f.js +0 -2
  251. package/dist/chunk-4e9d5acfa5541d1b.js +0 -2
  252. package/dist/chunk-4eeee2f82b1fa8bb.js +0 -2
  253. package/dist/chunk-4f01c5a98726e704.js +0 -2
  254. package/dist/chunk-4f1b43f5232b3e65.js +0 -6
  255. package/dist/chunk-4f5b07a6a6fd5cc6.js +0 -2
  256. package/dist/chunk-4ffecff075e73d43.js +0 -2
  257. package/dist/chunk-50b440397d41ab5a.js +0 -2
  258. package/dist/chunk-50ea27a13eb62b5e.js +0 -2
  259. package/dist/chunk-5128de1a65ba6ce1.js +0 -2
  260. package/dist/chunk-514f8554fb446139.js +0 -9
  261. package/dist/chunk-515c26d532207095.js +0 -2
  262. package/dist/chunk-516c6b67d6e3d041.js +0 -18
  263. package/dist/chunk-5190b38f06507ee1.js +0 -18
  264. package/dist/chunk-51bad63147c3be4e.js +0 -6
  265. package/dist/chunk-51c21d2a3c45fbe1.js +0 -2
  266. package/dist/chunk-51e930ef29de215b.js +0 -1
  267. package/dist/chunk-51ee928673a12486.js +0 -2
  268. package/dist/chunk-521750cca5e03c65.js +0 -2
  269. package/dist/chunk-5290ecaf429d5a61.js +0 -2
  270. package/dist/chunk-52e76204b898931e.js +0 -18
  271. package/dist/chunk-53b7d6267c9172bc.js +0 -2
  272. package/dist/chunk-53c39aca36ece018.js +0 -2
  273. package/dist/chunk-543013123141745c.js +0 -2
  274. package/dist/chunk-54c03438ff1f41e5.js +0 -2
  275. package/dist/chunk-552bdaee8c03e091.js +0 -9
  276. package/dist/chunk-55f76d4f6116f296.js +0 -9
  277. package/dist/chunk-5656abf3151c8fa2.js +0 -2
  278. package/dist/chunk-56f6f8c2162dcf1c.js +0 -2
  279. package/dist/chunk-57a61e580c4adf80.js +0 -2
  280. package/dist/chunk-581e0d46235dbf7c.js +0 -2
  281. package/dist/chunk-584e33c96b1a78e4.js +0 -2
  282. package/dist/chunk-5852c4da08af607f.js +0 -2
  283. package/dist/chunk-589f4b330dd6d32e.js +0 -2
  284. package/dist/chunk-590bd43a75f48606.js +0 -18
  285. package/dist/chunk-590cd512f9e72880.js +0 -18
  286. package/dist/chunk-596024c880387c2f.js +0 -2
  287. package/dist/chunk-597d5c6772b14a85.js +0 -9
  288. package/dist/chunk-59980167a4c574b3.js +0 -2
  289. package/dist/chunk-59da8b8ab8add738.js +0 -16
  290. package/dist/chunk-59e951812cb019e6.js +0 -2
  291. package/dist/chunk-59fe590e19085858.js +0 -18
  292. package/dist/chunk-5a2d89fce13094a9.js +0 -2
  293. package/dist/chunk-5a66922d5981afc8.js +0 -18
  294. package/dist/chunk-5a75eae6c32c2ba3.js +0 -2
  295. package/dist/chunk-5a9fa677066f72ac.js +0 -2
  296. package/dist/chunk-5b54843712abde58.js +0 -2
  297. package/dist/chunk-5b836c769c5dad2a.js +0 -2
  298. package/dist/chunk-5c2a5156f6bef0f5.js +0 -2
  299. package/dist/chunk-5c3681fb029d7588.js +0 -1
  300. package/dist/chunk-5cd0a98345a5d57a.js +0 -2
  301. package/dist/chunk-5d3431e9686096af.js +0 -18
  302. package/dist/chunk-5d51afe60efaf99e.js +0 -2
  303. package/dist/chunk-5d86d49d66db1c22.js +0 -2
  304. package/dist/chunk-5defd55c3c97bdb2.js +0 -2
  305. package/dist/chunk-5e13846c554dc272.js +0 -2
  306. package/dist/chunk-5fb9d31b7b4629e9.js +0 -1
  307. package/dist/chunk-5fbde192153a2a50.js +0 -2
  308. package/dist/chunk-5fd67245740e3908.js +0 -9
  309. package/dist/chunk-6003411eae26f246.js +0 -3
  310. package/dist/chunk-60d70dcbf4e79276.js +0 -2
  311. package/dist/chunk-60f3b8242209ac3e.js +0 -18
  312. package/dist/chunk-61973614facb50a8.js +0 -2
  313. package/dist/chunk-61abf77c3eee8698.js +0 -2
  314. package/dist/chunk-61fc22887a7be6f9.js +0 -3
  315. package/dist/chunk-62144f9c5008bd47.js +0 -1
  316. package/dist/chunk-625025af819f55f5.js +0 -2
  317. package/dist/chunk-6259cd13f53334df.js +0 -2
  318. package/dist/chunk-62b2777c629d5157.js +0 -2
  319. package/dist/chunk-62c0f9a87ad8a46b.js +0 -2
  320. package/dist/chunk-634c80cac76d9080.js +0 -18
  321. package/dist/chunk-63ad0436d3d896b5.js +0 -3
  322. package/dist/chunk-63c5605bcce508ea.js +0 -1
  323. package/dist/chunk-640e4bdae1671873.js +0 -1
  324. package/dist/chunk-648dff766091372e.js +0 -2
  325. package/dist/chunk-64a5b833cef67725.js +0 -2
  326. package/dist/chunk-64c89cee4d4bd9a9.js +0 -2
  327. package/dist/chunk-65626c3d72d4e071.js +0 -2
  328. package/dist/chunk-65c413665a7cf876.js +0 -2
  329. package/dist/chunk-6605e290c4de1f0e.js +0 -6
  330. package/dist/chunk-66ab377654806d08.js +0 -2
  331. package/dist/chunk-670d2c924e80cb33.js +0 -3
  332. package/dist/chunk-67351e678a7ccc10.js +0 -2
  333. package/dist/chunk-6766e66417809e1a.js +0 -2
  334. package/dist/chunk-6821bb0ff6ed2452.js +0 -18
  335. package/dist/chunk-682b01231754a121.js +0 -2
  336. package/dist/chunk-68af0a6f6be163ce.js +0 -2
  337. package/dist/chunk-6921ba2fa2e1adea.js +0 -2
  338. package/dist/chunk-6943b50bd0a3ac84.js +0 -1
  339. package/dist/chunk-699957e6eb705a81.js +0 -2
  340. package/dist/chunk-69ff5047661fe699.js +0 -2
  341. package/dist/chunk-6a28d299b5726bba.js +0 -2
  342. package/dist/chunk-6ac91c66919b5ddd.js +0 -2
  343. package/dist/chunk-6afe097e13ebdf55.js +0 -2
  344. package/dist/chunk-6c345dba15e1c3f2.js +0 -2
  345. package/dist/chunk-6c461d293fa213f1.js +0 -2
  346. package/dist/chunk-6caabea5fcbc9cf7.js +0 -2
  347. package/dist/chunk-6d04c1ccb3ca8c74.js +0 -1
  348. package/dist/chunk-6e06660ab4e9d4da.js +0 -6
  349. package/dist/chunk-6e415d0e12fc9539.js +0 -1
  350. package/dist/chunk-6f78f2a54491595d.js +0 -2
  351. package/dist/chunk-700835a3a709b370.js +0 -2
  352. package/dist/chunk-70bb003c03f21dad.js +0 -2
  353. package/dist/chunk-711f86b9d50d45fe.js +0 -18
  354. package/dist/chunk-71820a3186a38543.js +0 -6
  355. package/dist/chunk-7195a8718fcd8215.js +0 -1
  356. package/dist/chunk-722f2aeae58daaa3.js +0 -18
  357. package/dist/chunk-72821f055108528e.js +0 -2
  358. package/dist/chunk-72add10919c9d7ae.js +0 -2
  359. package/dist/chunk-731f30522682483a.js +0 -2
  360. package/dist/chunk-733513f9c9e8b50f.js +0 -2
  361. package/dist/chunk-733688c7851fffd1.js +0 -2
  362. package/dist/chunk-7336bd3f3b799e3e.js +0 -1
  363. package/dist/chunk-7399f06d840a1449.js +0 -2
  364. package/dist/chunk-73c97da8ac4f1d30.js +0 -1
  365. package/dist/chunk-73c9d39f58a30fe2.js +0 -6
  366. package/dist/chunk-73eed146ee78f681.js +0 -1
  367. package/dist/chunk-73fb3bb4d001bb2e.js +0 -1
  368. package/dist/chunk-7431d60af8814bc8.js +0 -2
  369. package/dist/chunk-74802f454b9972eb.js +0 -2
  370. package/dist/chunk-74ab9c225bfe0eaa.js +0 -2
  371. package/dist/chunk-74db07ba7b97d1c1.js +0 -2
  372. package/dist/chunk-76a525af0575486d.js +0 -5
  373. package/dist/chunk-76db0552d2492ee7.js +0 -3
  374. package/dist/chunk-774337ca540a856d.js +0 -2
  375. package/dist/chunk-77c89e3c8a03f91e.js +0 -2
  376. package/dist/chunk-77d1b26236f5feec.js +0 -2
  377. package/dist/chunk-77d5bbc7a9117c21.js +0 -2
  378. package/dist/chunk-782dde0748025b5a.js +0 -2
  379. package/dist/chunk-78534576cf359780.js +0 -2
  380. package/dist/chunk-7898dd7609f163e8.js +0 -2
  381. package/dist/chunk-78ab7bcbe6104c5f.js +0 -2
  382. package/dist/chunk-78d6df0054754d5d.js +0 -2
  383. package/dist/chunk-795a1bd1d89efce1.js +0 -2
  384. package/dist/chunk-797430f55303e6b5.js +0 -2
  385. package/dist/chunk-7975e27df461cbfb.js +0 -6
  386. package/dist/chunk-798f550643937b6d.js +0 -2
  387. package/dist/chunk-79b438007611560a.js +0 -2
  388. package/dist/chunk-79f7d7d90c4fb51a.js +0 -2
  389. package/dist/chunk-7a318e738fec6c2b.js +0 -3
  390. package/dist/chunk-7aa7f7e219919c4d.js +0 -2
  391. package/dist/chunk-7abc696047809312.js +0 -6
  392. package/dist/chunk-7afdc0ba5afe109a.js +0 -21
  393. package/dist/chunk-7b3bbc8a88aee78c.js +0 -1
  394. package/dist/chunk-7b8e777f7353b492.js +0 -2
  395. package/dist/chunk-7c0fd956d14fc327.js +0 -2
  396. package/dist/chunk-7c62e9d6edc4b418.js +0 -2
  397. package/dist/chunk-7c670baec90faacb.js +0 -2
  398. package/dist/chunk-7d7b2c1f2a8dd018.js +0 -6
  399. package/dist/chunk-7de7f34d46c76019.js +0 -18
  400. package/dist/chunk-7dfb17814922ade0.js +0 -2
  401. package/dist/chunk-7e9d5eea3aa359ad.js +0 -2
  402. package/dist/chunk-7ea1baca4032004f.js +0 -2
  403. package/dist/chunk-7eb54149dff25532.js +0 -2
  404. package/dist/chunk-7ec30fbbbdf89272.js +0 -2
  405. package/dist/chunk-7fadaab2fa180ca9.js +0 -6
  406. package/dist/chunk-7fef11f59982b1f6.js +0 -2
  407. package/dist/chunk-7ffe2ce59a054e35.js +0 -2
  408. package/dist/chunk-80b17f9853d76e98.js +0 -2
  409. package/dist/chunk-8133ed564834cff3.js +0 -2
  410. package/dist/chunk-8163d4f4c2c91caf.js +0 -2
  411. package/dist/chunk-817aad76d1e8eecc.js +0 -6
  412. package/dist/chunk-81938d68b172446d.js +0 -2
  413. package/dist/chunk-81a00ae1b3ea4824.js +0 -2
  414. package/dist/chunk-81ce9b491b290639.js +0 -1
  415. package/dist/chunk-81f5123a24c19089.js +0 -2
  416. package/dist/chunk-827d2c67c03d1a52.js +0 -2
  417. package/dist/chunk-8295e42bcfc910ff.js +0 -16
  418. package/dist/chunk-82f72dfc6e27be04.js +0 -1
  419. package/dist/chunk-8401f0f53dc26633.js +0 -1
  420. package/dist/chunk-8450a38607a86896.js +0 -2
  421. package/dist/chunk-847629c9a7550cc3.js +0 -2
  422. package/dist/chunk-84b129a5185ac24d.js +0 -2
  423. package/dist/chunk-84c7f86a97d17f53.js +0 -2
  424. package/dist/chunk-84f1b068dc7fc8b7.js +0 -2
  425. package/dist/chunk-8581aa9e876d46fb.js +0 -2
  426. package/dist/chunk-85a1f8fb96fd9473.js +0 -2
  427. package/dist/chunk-85d5e5d7ff832255.js +0 -2
  428. package/dist/chunk-860f5fcef7074193.js +0 -9
  429. package/dist/chunk-869d80d2e475b938.js +0 -3
  430. package/dist/chunk-880273a32da461fd.js +0 -9
  431. package/dist/chunk-88103b9d011960db.js +0 -5
  432. package/dist/chunk-89187bbdf6945131.js +0 -2
  433. package/dist/chunk-89291b5eb2bbd0b4.js +0 -2
  434. package/dist/chunk-895d9b1ef7a65211.js +0 -2
  435. package/dist/chunk-897773d66a89947a.js +0 -2
  436. package/dist/chunk-89c6080d4a693ddf.js +0 -2
  437. package/dist/chunk-8a993922ea970923.js +0 -2
  438. package/dist/chunk-8aa3e0e20e411d11.js +0 -2
  439. package/dist/chunk-8af626a703659719.js +0 -18
  440. package/dist/chunk-8b3d411f441a43ce.js +0 -2
  441. package/dist/chunk-8b40d6a498f8bf81.js +0 -2
  442. package/dist/chunk-8b944ecefa1b832c.js +0 -18
  443. package/dist/chunk-8bb91c504b9ca45e.js +0 -2
  444. package/dist/chunk-8bf925705fdcef0c.js +0 -2
  445. package/dist/chunk-8c2b349a7198788f.js +0 -6
  446. package/dist/chunk-8c3e0f5d4a0d6e53.js +0 -2
  447. package/dist/chunk-8c8c8fd3646b76a1.js +0 -2
  448. package/dist/chunk-8caa0abe673f5d41.js +0 -2
  449. package/dist/chunk-8d8666b73758171e.js +0 -2
  450. package/dist/chunk-8e72aa06d4e47eca.js +0 -2
  451. package/dist/chunk-8ef8222b34d8f63f.js +0 -2
  452. package/dist/chunk-8f24cd33e07d02f3.js +0 -2
  453. package/dist/chunk-8f547b919361fdf4.js +0 -2
  454. package/dist/chunk-8f986f307ff91bd3.js +0 -2
  455. package/dist/chunk-901e700a2c2d43f3.js +0 -18
  456. package/dist/chunk-90c5196ff1f827a8.js +0 -2
  457. package/dist/chunk-9113f22a5215c639.js +0 -3
  458. package/dist/chunk-915c050c94553981.js +0 -2
  459. package/dist/chunk-9238196d4889d660.js +0 -1
  460. package/dist/chunk-92a55add20b5d7ac.js +0 -9
  461. package/dist/chunk-92f6095a3be7f459.js +0 -1
  462. package/dist/chunk-9326224d1e4c1a64.js +0 -2
  463. package/dist/chunk-933845e73519b4c5.js +0 -2
  464. package/dist/chunk-934ebff128f86ef1.js +0 -1
  465. package/dist/chunk-9350baa090b5a424.js +0 -2
  466. package/dist/chunk-938fed005335132e.js +0 -9
  467. package/dist/chunk-93b6f53456c1251b.js +0 -2
  468. package/dist/chunk-94578320d28e33ad.js +0 -2
  469. package/dist/chunk-9501e589e3e86a96.js +0 -2
  470. package/dist/chunk-955e2bfcdb7a7e71.js +0 -2
  471. package/dist/chunk-96b635a3bdba7415.js +0 -2
  472. package/dist/chunk-970e033f764e29fc.js +0 -19
  473. package/dist/chunk-98126e4b5bd19831.js +0 -2
  474. package/dist/chunk-9938e9a4fe25dda5.js +0 -2
  475. package/dist/chunk-99ba9dfd7c11383b.js +0 -18
  476. package/dist/chunk-9a622a10e7764b23.js +0 -2
  477. package/dist/chunk-9b5649697d59dfb4.js +0 -2
  478. package/dist/chunk-9bd00e182ac2f8a6.js +0 -6
  479. package/dist/chunk-9bd90ecd4ddde546.js +0 -18
  480. package/dist/chunk-9c3b4dd1591053c5.js +0 -18
  481. package/dist/chunk-9c4a4b4bd266869d.js +0 -2
  482. package/dist/chunk-9d069ba29a122630.js +0 -1
  483. package/dist/chunk-9d1337fc9976354d.js +0 -2
  484. package/dist/chunk-9d2777df26b445e4.js +0 -2
  485. package/dist/chunk-9d2af1a704b857ee.js +0 -2
  486. package/dist/chunk-9d6cc631cdabbe35.js +0 -9
  487. package/dist/chunk-9d714f87e4e3e250.js +0 -18
  488. package/dist/chunk-9ee2118bd4eb34ae.js +0 -9
  489. package/dist/chunk-9f6199bc705fc395.js +0 -18
  490. package/dist/chunk-a0003b7feea6fae6.js +0 -2
  491. package/dist/chunk-a004fce37a0f5a65.js +0 -2
  492. package/dist/chunk-a02b2d564bdb603d.js +0 -6
  493. package/dist/chunk-a095821ffc039b99.js +0 -18
  494. package/dist/chunk-a10ae1a06a28aaab.js +0 -2
  495. package/dist/chunk-a13ab30c392c3563.js +0 -9
  496. package/dist/chunk-a14516ac5e6f78aa.js +0 -1
  497. package/dist/chunk-a14b8af8b2a8d0b0.js +0 -2
  498. package/dist/chunk-a210ec2b987fa5f7.js +0 -2
  499. package/dist/chunk-a2fcc46e344ae7ae.js +0 -2
  500. package/dist/chunk-a3526e321ac9d173.js +0 -1
  501. package/dist/chunk-a3f85d0d3261ae44.js +0 -9
  502. package/dist/chunk-a4862acc0c3fed7d.js +0 -6
  503. package/dist/chunk-a50b9cd348c3e882.js +0 -9
  504. package/dist/chunk-a57ecc74c0fb9045.js +0 -2
  505. package/dist/chunk-a5c18c07abe8fd9c.js +0 -2
  506. package/dist/chunk-a63e13c410e92923.js +0 -2
  507. package/dist/chunk-a693f8ec2e8af8ca.js +0 -2
  508. package/dist/chunk-a719a1f305964521.js +0 -2
  509. package/dist/chunk-a7a144f5e4772c35.js +0 -2
  510. package/dist/chunk-a7f3e9d5b7cf7c42.js +0 -2
  511. package/dist/chunk-a816613f5321b9db.js +0 -1
  512. package/dist/chunk-a8310ad9bad32329.js +0 -2
  513. package/dist/chunk-a885dc5561caa8e0.js +0 -3
  514. package/dist/chunk-a88c3919c74b7877.js +0 -18
  515. package/dist/chunk-a9625dd807cb668e.js +0 -2
  516. package/dist/chunk-a991fdce275f1256.js +0 -2
  517. package/dist/chunk-aa1b1fb08828cb24.js +0 -2
  518. package/dist/chunk-aad7af5112f0f4f2.js +0 -2
  519. package/dist/chunk-aaf5855c5199efe9.js +0 -2
  520. package/dist/chunk-aaf70ff16705d558.js +0 -2
  521. package/dist/chunk-aafdd9bfb5bde8bf.js +0 -2
  522. package/dist/chunk-ab0c3f72f95cb4f4.js +0 -3
  523. package/dist/chunk-ab79a2f0d89fbeae.js +0 -1
  524. package/dist/chunk-ab7b6ceb26aca9b1.js +0 -3
  525. package/dist/chunk-abb2f588bd34adff.js +0 -2
  526. package/dist/chunk-abd0b68c299eebfc.js +0 -2
  527. package/dist/chunk-ac32b3d9dda47756.js +0 -9
  528. package/dist/chunk-acd4530b2ff92aff.js +0 -18
  529. package/dist/chunk-ad656a60ce7912bb.js +0 -2
  530. package/dist/chunk-ad8e7de66d8bf8c5.js +0 -2
  531. package/dist/chunk-adb4e1e222eb1d20.js +0 -2
  532. package/dist/chunk-ae373c8ae2d526ae.js +0 -18
  533. package/dist/chunk-ae50ef54d7de9179.js +0 -2
  534. package/dist/chunk-ae7b1bdf00266d88.js +0 -2
  535. package/dist/chunk-aef3f1c1429e6058.js +0 -2
  536. package/dist/chunk-af6b79a6ce7388ee.js +0 -18
  537. package/dist/chunk-afbf69daa7589a52.js +0 -2
  538. package/dist/chunk-b009482e01114059.js +0 -3
  539. package/dist/chunk-b031077f0a783b82.js +0 -2
  540. package/dist/chunk-b05cb7ef4546980d.js +0 -2
  541. package/dist/chunk-b05e4833f4bb2f8f.js +0 -9
  542. package/dist/chunk-b06168e5d3080486.js +0 -1
  543. package/dist/chunk-b07249c949a284d2.js +0 -16
  544. package/dist/chunk-b0cc82fa84d5362d.js +0 -2
  545. package/dist/chunk-b0f453845cad4e6e.js +0 -2
  546. package/dist/chunk-b13cfa16a8a18324.js +0 -3
  547. package/dist/chunk-b1918e88103a8501.js +0 -2
  548. package/dist/chunk-b2bc43f60314d1a9.js +0 -2
  549. package/dist/chunk-b2d07c19a78dc397.js +0 -2
  550. package/dist/chunk-b3bfe533d66f6a17.js +0 -2
  551. package/dist/chunk-b3e27ec4b56a20ac.js +0 -2
  552. package/dist/chunk-b558c43783464f1b.js +0 -2
  553. package/dist/chunk-b5d6eb761760b2a7.js +0 -6
  554. package/dist/chunk-b66a9e50afbac035.js +0 -9
  555. package/dist/chunk-b7b365f7e6038104.js +0 -2
  556. package/dist/chunk-b7c4dc1136fcaeb7.js +0 -2
  557. package/dist/chunk-b7da6c96acf0478f.js +0 -18
  558. package/dist/chunk-b7f9e29074a9f36a.js +0 -2
  559. package/dist/chunk-b80a86610158cbfd.js +0 -1
  560. package/dist/chunk-b855e71b162ce5a2.js +0 -2
  561. package/dist/chunk-b8d3d76e1dd9affe.js +0 -2
  562. package/dist/chunk-b97189ea9588db36.js +0 -9
  563. package/dist/chunk-b9cba2a8bd5bcd3e.js +0 -2
  564. package/dist/chunk-b9e4546aaa58319c.js +0 -2
  565. package/dist/chunk-b9f4c1fce7152fc8.js +0 -9
  566. package/dist/chunk-ba051a98cd651063.js +0 -1
  567. package/dist/chunk-bb72c8820407f3a6.js +0 -2
  568. package/dist/chunk-bbd36ce62b950ee5.js +0 -2
  569. package/dist/chunk-bbdd098f2a2cd820.js +0 -18
  570. package/dist/chunk-bcd70a6fc2fd359c.js +0 -1
  571. package/dist/chunk-bd2888a454e50cfd.js +0 -1
  572. package/dist/chunk-bd52b3f25b928eb1.js +0 -2
  573. package/dist/chunk-bdc34785363e3f34.js +0 -2
  574. package/dist/chunk-bdf4f2b1862899bb.js +0 -2
  575. package/dist/chunk-be095501304df604.js +0 -9
  576. package/dist/chunk-beca91bf7cc216cd.js +0 -2
  577. package/dist/chunk-bee6075c5738d87a.js +0 -2
  578. package/dist/chunk-bf14cc3e71fcd2d8.js +0 -2
  579. package/dist/chunk-bf4fa1d9864332a8.js +0 -2
  580. package/dist/chunk-bf92f3127474b56a.js +0 -3
  581. package/dist/chunk-bfccfb070c1630e9.js +0 -2
  582. package/dist/chunk-bffb8d677e1424a9.js +0 -6
  583. package/dist/chunk-c041f058dc3d571b.js +0 -1
  584. package/dist/chunk-c0bd8e19395d722b.js +0 -2
  585. package/dist/chunk-c124bf801cec12d9.js +0 -2
  586. package/dist/chunk-c153b192112b0d44.js +0 -2
  587. package/dist/chunk-c1813278ccdc04b8.js +0 -2
  588. package/dist/chunk-c210f6ae6276ebe8.js +0 -1
  589. package/dist/chunk-c29701ffef4ca07a.js +0 -2
  590. package/dist/chunk-c2d1f66cf8468e71.js +0 -1
  591. package/dist/chunk-c2fe378a1764eb92.js +0 -2
  592. package/dist/chunk-c3e4a396dc7a5fe7.js +0 -2
  593. package/dist/chunk-c3eaa877d3aab9db.js +0 -18
  594. package/dist/chunk-c45e1427f48008f0.js +0 -2
  595. package/dist/chunk-c4f342e09d9b2f23.js +0 -2
  596. package/dist/chunk-c50ff3cf3c78af79.js +0 -2
  597. package/dist/chunk-c609d06153ed09ce.js +0 -2
  598. package/dist/chunk-c62b5c4cec67029c.js +0 -1
  599. package/dist/chunk-c675395110f371b1.js +0 -6
  600. package/dist/chunk-c675f193d459818e.js +0 -2
  601. package/dist/chunk-c6846df9c8456b20.js +0 -3
  602. package/dist/chunk-c6d988f5928a4df1.js +0 -2
  603. package/dist/chunk-c72bfaa252a03f6f.js +0 -2
  604. package/dist/chunk-c7b024c7bd4cffc9.js +0 -3
  605. package/dist/chunk-c7e2acfd5087fb30.js +0 -2
  606. package/dist/chunk-c83b39b7178003da.js +0 -2
  607. package/dist/chunk-c85fc7168a708cb6.js +0 -3
  608. package/dist/chunk-c8631aa6bbb62e13.js +0 -2
  609. package/dist/chunk-c864ab57913d658f.js +0 -1
  610. package/dist/chunk-c882d0c175c22c17.js +0 -2
  611. package/dist/chunk-c8b00b645df96ed5.js +0 -2
  612. package/dist/chunk-c8f1115d77efc1c0.js +0 -2
  613. package/dist/chunk-c9707ae8f1d346ff.js +0 -3
  614. package/dist/chunk-c99b8c3d6bda27b0.js +0 -2
  615. package/dist/chunk-cb65fe402653c65e.js +0 -2
  616. package/dist/chunk-cb69e9621a60d310.js +0 -1
  617. package/dist/chunk-cca1f3ae7ec0dee1.js +0 -2
  618. package/dist/chunk-ccb551ce4fd177fe.js +0 -2
  619. package/dist/chunk-cce7de7e81895807.js +0 -2
  620. package/dist/chunk-ccfd101ce72e80bf.js +0 -1
  621. package/dist/chunk-cd1636884486d7b3.js +0 -1
  622. package/dist/chunk-cdfa2adeddc1a8e1.js +0 -2
  623. package/dist/chunk-ceb94e70091088e5.js +0 -2
  624. package/dist/chunk-cf3d1744ea801f48.js +0 -6
  625. package/dist/chunk-cf7dde2ab1be3a3c.js +0 -1
  626. package/dist/chunk-cf8b1c7a4e9fc32d.js +0 -18
  627. package/dist/chunk-cfa9a65fae5ddaf4.js +0 -2
  628. package/dist/chunk-d0757747d9cc2e47.js +0 -2
  629. package/dist/chunk-d0806df6defd9dce.js +0 -2
  630. package/dist/chunk-d12b578765686adb.js +0 -6
  631. package/dist/chunk-d16ef78d852a6856.js +0 -1
  632. package/dist/chunk-d22136d39cf8465f.js +0 -2
  633. package/dist/chunk-d26ffb7722e6df54.js +0 -1
  634. package/dist/chunk-d27588325ae2c0f3.js +0 -2
  635. package/dist/chunk-d2e057b6f3f9d500.js +0 -2
  636. package/dist/chunk-d3033805e98482dc.js +0 -6
  637. package/dist/chunk-d33a0e61ccf1bab5.js +0 -2
  638. package/dist/chunk-d3765f96a689a0c1.js +0 -2
  639. package/dist/chunk-d37757ffee07b05f.js +0 -6
  640. package/dist/chunk-d3b4a3c778c23705.js +0 -2
  641. package/dist/chunk-d3e039d010842a3f.js +0 -2
  642. package/dist/chunk-d43b3f444e738dd1.js +0 -1
  643. package/dist/chunk-d445af84de70bf7e.js +0 -2
  644. package/dist/chunk-d535b1e3078465f8.js +0 -2
  645. package/dist/chunk-d54843c1d8516c75.js +0 -2
  646. package/dist/chunk-d5709251a0493152.js +0 -6
  647. package/dist/chunk-d5ddfacbfc84a47d.js +0 -6
  648. package/dist/chunk-d665d3ee2a62d48b.js +0 -2
  649. package/dist/chunk-d7457cb6aae3b29b.js +0 -2
  650. package/dist/chunk-d850d83873a89e2b.js +0 -18
  651. package/dist/chunk-d93a6531661d56b5.js +0 -9
  652. package/dist/chunk-d93cbffc712a052f.js +0 -2
  653. package/dist/chunk-d950bbcb684a11ef.js +0 -2
  654. package/dist/chunk-d9577d79d4b718a6.js +0 -2
  655. package/dist/chunk-d9762bab5df03532.js +0 -2
  656. package/dist/chunk-d9968563c6c84405.js +0 -3
  657. package/dist/chunk-d9a84b9122601b72.js +0 -2
  658. package/dist/chunk-da1c673d9685624e.js +0 -2
  659. package/dist/chunk-dab2dde8cc9da99b.js +0 -9
  660. package/dist/chunk-dac0e2ef13060d02.js +0 -1
  661. package/dist/chunk-dac9276e506d125d.js +0 -2
  662. package/dist/chunk-dad55fcc32d05b69.js +0 -2
  663. package/dist/chunk-db2270bbca7854fe.js +0 -2
  664. package/dist/chunk-db65c75cda396f98.js +0 -2
  665. package/dist/chunk-dba84b47adec2108.js +0 -2
  666. package/dist/chunk-dc23bfb4fd92e2f0.js +0 -2
  667. package/dist/chunk-dc7b0cf226ba3afa.js +0 -2
  668. package/dist/chunk-dcc432bd72fb7e46.js +0 -3
  669. package/dist/chunk-dd211856e049a67f.js +0 -9
  670. package/dist/chunk-dd21f367f8029793.js +0 -2
  671. package/dist/chunk-dd8b042837b4d5f1.js +0 -2
  672. package/dist/chunk-ddef8961cbf08a05.js +0 -6
  673. package/dist/chunk-de0784c3310db458.js +0 -5
  674. package/dist/chunk-de39fc86bbd37240.js +0 -1
  675. package/dist/chunk-de3ec02f9d17c2c9.js +0 -2
  676. package/dist/chunk-def30dbcb4c6aceb.js +0 -2
  677. package/dist/chunk-df55f07f8adf212f.js +0 -2
  678. package/dist/chunk-df926b342440f55f.js +0 -5
  679. package/dist/chunk-dfadfa4e09b4db22.js +0 -2
  680. package/dist/chunk-dfc390f0bbdf5a81.js +0 -1
  681. package/dist/chunk-e05db2eae976681b.js +0 -3
  682. package/dist/chunk-e06fbc8e70a88f07.js +0 -2
  683. package/dist/chunk-e0a028ef931a3eb1.js +0 -18
  684. package/dist/chunk-e0e0f2ee626a6fb3.js +0 -18
  685. package/dist/chunk-e0ffb920c65ebf44.js +0 -2
  686. package/dist/chunk-e11c7f3abcf2269f.js +0 -2
  687. package/dist/chunk-e16b252158474b8c.js +0 -1
  688. package/dist/chunk-e19064e9f1d5faed.js +0 -2
  689. package/dist/chunk-e1a08bb52ee7ea09.js +0 -2
  690. package/dist/chunk-e1e84c38542d78ec.js +0 -2
  691. package/dist/chunk-e33c33445a92adf1.js +0 -1
  692. package/dist/chunk-e3acd3561fe1342c.js +0 -18
  693. package/dist/chunk-e3e996b3821027e1.js +0 -2
  694. package/dist/chunk-e3ef81776c8f2d28.js +0 -2
  695. package/dist/chunk-e4869466459233fa.js +0 -16
  696. package/dist/chunk-e4f28182cf5f6e1d.js +0 -2
  697. package/dist/chunk-e53fdd0a1888c5e8.js +0 -2
  698. package/dist/chunk-e5a95230e0858544.js +0 -3
  699. package/dist/chunk-e64d5a7b7e0fa2c5.js +0 -6
  700. package/dist/chunk-e755f2c1c7ad3912.js +0 -2
  701. package/dist/chunk-e8159722d49ad044.js +0 -2
  702. package/dist/chunk-e86269d01f94404c.js +0 -2
  703. package/dist/chunk-e9275fb341d2cdd9.js +0 -2
  704. package/dist/chunk-e9c96f9b825f8de7.js +0 -2
  705. package/dist/chunk-ea9b86cf2edd807b.js +0 -18
  706. package/dist/chunk-ec24a0767aa58f1f.js +0 -18
  707. package/dist/chunk-ed21fb7d8c4b675e.js +0 -3
  708. package/dist/chunk-ed589d4e4c575de7.js +0 -2
  709. package/dist/chunk-edba144b170cd87e.js +0 -6
  710. package/dist/chunk-edeefd833c30a5ed.js +0 -2
  711. package/dist/chunk-ee35048642cfe9d8.js +0 -2
  712. package/dist/chunk-ee4ff285d7f4ccdf.js +0 -2
  713. package/dist/chunk-ee604d0215ea07e6.js +0 -1
  714. package/dist/chunk-ee92e80230ce02ec.js +0 -2
  715. package/dist/chunk-eea1d6f60a6875d5.js +0 -2
  716. package/dist/chunk-eeb3b193701aec43.js +0 -1
  717. package/dist/chunk-ef1ebd10affe5726.js +0 -2
  718. package/dist/chunk-ef30aafcfd40dc07.js +0 -2
  719. package/dist/chunk-f077321ef55ea627.js +0 -1
  720. package/dist/chunk-f08ca4bd263b132b.js +0 -2
  721. package/dist/chunk-f0d3ed16a520ecf1.js +0 -18
  722. package/dist/chunk-f117757df00aa18d.js +0 -2
  723. package/dist/chunk-f13fd46441a58606.js +0 -2
  724. package/dist/chunk-f1ac22ad55dbab7a.js +0 -9
  725. package/dist/chunk-f1dfc76a05462dde.js +0 -2
  726. package/dist/chunk-f1e28c4c1a227c27.js +0 -2
  727. package/dist/chunk-f2428c56f532e719.js +0 -3
  728. package/dist/chunk-f256432c3e5819d0.js +0 -2
  729. package/dist/chunk-f2dca6305fcba70b.js +0 -2
  730. package/dist/chunk-f316793e4ec0f386.js +0 -2
  731. package/dist/chunk-f32726d374c6bee5.js +0 -1
  732. package/dist/chunk-f34a78d9e3a62c43.js +0 -3
  733. package/dist/chunk-f404a785b581d029.js +0 -2
  734. package/dist/chunk-f5910f2c8a3f6974.js +0 -2
  735. package/dist/chunk-f5a4295176f9b1c1.js +0 -2
  736. package/dist/chunk-f5b888aa9ac4e20f.js +0 -2
  737. package/dist/chunk-f5e313cc7d724fbe.js +0 -2
  738. package/dist/chunk-f67aa3e46d73674e.js +0 -2
  739. package/dist/chunk-f69bcbd7998553cb.js +0 -2
  740. package/dist/chunk-f74928c3f9ae5359.js +0 -2
  741. package/dist/chunk-f7796c3724a35057.js +0 -2
  742. package/dist/chunk-f84049d82d29bd9e.js +0 -2
  743. package/dist/chunk-f868cdf653dbe87e.js +0 -2
  744. package/dist/chunk-f8823a1ede83155e.js +0 -2
  745. package/dist/chunk-f8ad65b3a07ce3c4.js +0 -6
  746. package/dist/chunk-f900b5868b14827e.js +0 -2
  747. package/dist/chunk-f9084650419a23c4.js +0 -2
  748. package/dist/chunk-f95f5e3439539ca5.js +0 -2
  749. package/dist/chunk-f99bdfc336b2ac57.js +0 -9
  750. package/dist/chunk-f9a17b871b527bff.js +0 -2
  751. package/dist/chunk-f9e6a0a946ebb032.js +0 -2
  752. package/dist/chunk-fa40971555060604.js +0 -81
  753. package/dist/chunk-fa6bdfb32d2f97fb.js +0 -2
  754. package/dist/chunk-faa8c62bfa11f9d5.js +0 -2
  755. package/dist/chunk-fb25896f1638ca8e.js +0 -3
  756. package/dist/chunk-fc165cee61f6efe8.js +0 -6
  757. package/dist/chunk-fd5ffee329d6f29b.js +0 -2
  758. package/dist/chunk-feaaa37d30cd1e9b.js +0 -2
  759. package/dist/chunk-fec9f0b0b0319f3b.js +0 -2
  760. package/dist/chunk-ff086fe014985526.js +0 -1
  761. package/dist/chunk-ff1bbce70d726bc6.js +0 -9
  762. package/dist/chunk-ff9a2d6d503e6db6.js +0 -18
  763. package/dist/chunk-ffe161a589b4c44b.js +0 -1
@@ -1,18 +0,0 @@
1
- import{y as W0,z as K} from"./chunk-7ce930fe69575c87.js";import{C as x,D as uU,E as Yf,H as Uw,I as XZ,L as FZ} from"./chunk-6003411eae26f246.js";import{ib as Y0} from"./chunk-09dd89e1046786a5.js";import{jb as J0,kb as SU} from"./chunk-d33a0e61ccf1bab5.js";import{lb as T$} from"./chunk-c72bfaa252a03f6f.js";import{rb as PU} from"./chunk-ffe161a589b4c44b.js";var v0=K((BR,Xw)=>{var{defineProperty:L1,getOwnPropertyDescriptor:CZ,getOwnPropertyNames:NZ}=Object,qZ=Object.prototype.hasOwnProperty,Lw=($,U)=>L1($,"name",{value:U,configurable:!0}),jZ=($,U)=>{for(var w in U)L1($,w,{get:U[w],enumerable:!0})},PZ=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of NZ(U))if(!qZ.call($,G)&&G!==w)L1($,G,{get:()=>U[G],enumerable:!(W=CZ(U,G))||W.enumerable})}return $},SZ=($)=>PZ(L1({},"__esModule",{value:!0}),$),Zw={};jZ(Zw,{getSmithyContext:()=>bZ,normalizeProvider:()=>hZ});Xw.exports=SZ(Zw);var fw=Y0(),bZ=Lw(($)=>$[fw.SMITHY_CONTEXT_KEY]||($[fw.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),hZ=Lw(($)=>{if(typeof $==="function")return $;const U=Promise.resolve($);return()=>U},"normalizeProvider")});var B0=K((Fw)=>{Object.defineProperty(Fw,"__esModule",{value:!0});Fw.getHomeDir=void 0;var DZ=import.meta.require("os"),kZ=import.meta.require("path"),E$={},vZ=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},cZ=()=>{const{HOME:$,USERPROFILE:U,HOMEPATH:w,HOMEDRIVE:W=`C:${kZ.sep}`}=process.env;if($)return $;if(U)return U;if(w)return`${W}${w}`;const G=vZ();if(!E$[G])E$[G]=DZ.homedir();return E$[G]};Fw.getHomeDir=cZ});var R$=K((Iw)=>{Object.defineProperty(Iw,"__esModule",{value:!0});Iw.getSSOTokenFilepath=void 0;var xZ=import.meta.require("crypto"),uZ=import.meta.require("path"),yZ=B0(),_Z=($)=>{const w=xZ.createHash("sha1").update($).digest("hex");return uZ.join(yZ.getHomeDir(),".aws","sso","cache",`${w}.json`)};Iw.getSSOTokenFilepath=_Z});var Rw=K((zw)=>{Object.defineProperty(zw,"__esModule",{value:!0});zw.getSSOTokenFromFile=void 0;var dZ=import.meta.require("fs"),pZ=R$(),{readFile:gZ}=dZ.promises,lZ=async($)=>{const U=pZ.getSSOTokenFilepath($),w=await gZ(U,"utf8");return JSON.parse(w)};zw.getSSOTokenFromFile=lZ});var K$=K((Jw)=>{Object.defineProperty(Jw,"__esModule",{value:!0});Jw.slurpFile=void 0;var sZ=import.meta.require("fs"),{readFile:nZ}=sZ.promises,J$={},mZ=($,U)=>{if(!J$[$]||(U===null||U===void 0?void 0:U.ignoreCache))J$[$]=nZ($,"utf8");return J$[$]};Jw.slurpFile=mZ});var B$=K((NR,x0)=>{var{defineProperty:F1,getOwnPropertyDescriptor:iZ,getOwnPropertyNames:rZ}=Object,oZ=Object.prototype.hasOwnProperty,u=($,U)=>F1($,"name",{value:U,configurable:!0}),aZ=($,U)=>{for(var w in U)F1($,w,{get:U[w],enumerable:!0})},M$=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of rZ(U))if(!oZ.call($,G)&&G!==w)F1($,G,{get:()=>U[G],enumerable:!(W=iZ(U,G))||W.enumerable})}return $},A$=($,U,w)=>(M$($,U,"default"),w&&M$(w,U,"default")),tZ=($)=>M$(F1({},"__esModule",{value:!0}),$),c0={};aZ(c0,{CONFIG_PREFIX_SEPARATOR:()=>I0,DEFAULT_PROFILE:()=>Bw,ENV_PROFILE:()=>Aw,getProfileName:()=>eZ,loadSharedConfigFiles:()=>Ow,loadSsoSessionData:()=>QX,parseKnownFiles:()=>EX});x0.exports=tZ(c0);A$(c0,B0(),x0.exports);var Aw="AWS_PROFILE",Bw="default",eZ=u(($)=>$.profile||process.env[Aw]||Bw,"getProfileName");A$(c0,R$(),x0.exports);A$(c0,Rw(),x0.exports);var Z1=Y0(),$X=u(($)=>Object.entries($).filter(([U])=>{const w=U.indexOf(I0);if(w===-1)return!1;return Object.values(Z1.IniSectionType).includes(U.substring(0,w))}).reduce((U,[w,W])=>{const G=w.indexOf(I0),f=w.substring(0,G)===Z1.IniSectionType.PROFILE?w.substring(G+1):w;return U[f]=W,U},{...$.default&&{default:$.default}}),"getConfigData"),X1=import.meta.require("path"),UX=B0(),wX="AWS_CONFIG_FILE",Tw=u(()=>process.env[wX]||X1.join(UX.getHomeDir(),".aws","config"),"getConfigFilepath"),GX=B0(),WX="AWS_SHARED_CREDENTIALS_FILE",fX=u(()=>process.env[WX]||X1.join(GX.getHomeDir(),".aws","credentials"),"getCredentialsFilepath"),LX=B0(),ZX=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,XX=["__proto__","profile __proto__"],V$=u(($)=>{const U={};let w,W;for(let G of $.split(/\r?\n/)){const f=G.split(/(^|\s)[;#]/)[0].trim();if(f[0]==="["&&f[f.length-1]==="]"){w=void 0,W=void 0;const Z=f.substring(1,f.length-1),X=ZX.exec(Z);if(X){const[,F,,Y]=X;if(Object.values(Z1.IniSectionType).includes(F))w=[F,Y].join(I0)}else w=Z;if(XX.includes(Z))throw new Error(`Found invalid profile name "${Z}"`)}else if(w){const Z=f.indexOf("=");if(![0,-1].includes(Z)){const[X,F]=[f.substring(0,Z).trim(),f.substring(Z+1).trim()];if(F==="")W=X;else{if(W&&G.trimStart()===G)W=void 0;U[w]=U[w]||{};const Y=W?[W,X].join(I0):X;U[w][Y]=F}}}}return U},"parseIni"),Mw=K$(),Vw=u(()=>({}),"swallowError"),I0=".",Ow=u(async($={})=>{const{filepath:U=fX(),configFilepath:w=Tw()}=$,W=LX.getHomeDir();let f=U;if(U.startsWith("~/"))f=X1.join(W,U.slice(2));let L=w;if(w.startsWith("~/"))L=X1.join(W,w.slice(2));const Z=await Promise.all([Mw.slurpFile(L,{ignoreCache:$.ignoreCache}).then(V$).then($X).catch(Vw),Mw.slurpFile(f,{ignoreCache:$.ignoreCache}).then(V$).catch(Vw)]);return{configFile:Z[0],credentialsFile:Z[1]}},"loadSharedConfigFiles"),FX=u(($)=>Object.entries($).filter(([U])=>U.startsWith(Z1.IniSectionType.SSO_SESSION+I0)).reduce((U,[w,W])=>({...U,[w.substring(w.indexOf(I0)+1)]:W}),{}),"getSsoSessionData"),YX=K$(),IX=u(()=>({}),"swallowError"),QX=u(async($={})=>YX.slurpFile($.configFilepath??Tw()).then(V$).then(FX).catch(IX),"loadSsoSessionData"),zX=u((...$)=>{const U={};for(let w of $)for(let[W,G]of Object.entries(w))if(U[W]!==void 0)Object.assign(U[W],G);else U[W]=G;return U},"mergeConfigFiles"),EX=u(async($)=>{const U=await Ow($);return zX(U.configFile,U.credentialsFile)},"parseKnownFiles")});var qw=K((qR,Nw)=>{var O$=function($){try{const U=new Set(Array.from($.match(/([A-Z_]){3,}/g)??[]));return U.delete("CONFIG"),U.delete("CONFIG_PREFIX_SEPARATOR"),U.delete("ENV"),[...U].join(", ")}catch(U){return $}},Y1=Object.defineProperty,RX=Object.getOwnPropertyDescriptor,JX=Object.getOwnPropertyNames,KX=Object.prototype.hasOwnProperty,T0=($,U)=>Y1($,"name",{value:U,configurable:!0}),MX=($,U)=>{for(var w in U)Y1($,w,{get:U[w],enumerable:!0})},VX=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of JX(U))if(!KX.call($,G)&&G!==w)Y1($,G,{get:()=>U[G],enumerable:!(W=RX(U,G))||W.enumerable})}return $},AX=($)=>VX(Y1({},"__esModule",{value:!0}),$),Cw={};MX(Cw,{loadConfig:()=>CX});Nw.exports=AX(Cw);var u0=T$();T0(O$,"getSelectorName");var BX=T0(($,U)=>async()=>{try{const w=$(process.env);if(w===void 0)throw new Error;return w}catch(w){throw new u0.CredentialsProviderError(w.message||`Not found in ENV: ${O$($.toString())}`,{logger:U})}},"fromEnv"),Hw=B$(),TX=T0(($,{preferredFile:U="config",...w}={})=>async()=>{const W=Hw.getProfileName(w),{configFile:G,credentialsFile:f}=await Hw.loadSharedConfigFiles(w),L=f[W]||{},Z=G[W]||{},X=U==="config"?{...L,...Z}:{...Z,...L};try{const Y=$(X,U==="config"?G:f);if(Y===void 0)throw new Error;return Y}catch(F){throw new u0.CredentialsProviderError(F.message||`Not found in config files w/ profile [${W}]: ${O$($.toString())}`,{logger:w.logger})}},"fromSharedConfigFiles"),OX=T0(($)=>typeof $==="function","isFunction"),HX=T0(($)=>OX($)?async()=>await $():u0.fromStatic($),"fromStatic"),CX=T0(({environmentVariableSelector:$,configFileSelector:U,default:w},W={})=>u0.memoize(u0.chain(BX($),TX(U,W),HX(w))),"loadConfig")});var Dw=K((bw)=>{Object.defineProperty(bw,"__esModule",{value:!0});bw.getEndpointUrlConfig=void 0;var jw=B$(),Pw="AWS_ENDPOINT_URL",Sw="endpoint_url",NX=($)=>({environmentVariableSelector:(U)=>{const w=$.split(" ").map((f)=>f.toUpperCase()),W=U[[Pw,...w].join("_")];if(W)return W;const G=U[Pw];if(G)return G;return},configFileSelector:(U,w)=>{if(w&&U.services){const G=w[["services",U.services].join(jw.CONFIG_PREFIX_SEPARATOR)];if(G){const f=$.split(" ").map((Z)=>Z.toLowerCase()),L=G[[f.join("_"),Sw].join(jw.CONFIG_PREFIX_SEPARATOR)];if(L)return L}}const W=U[Sw];if(W)return W;return},default:void 0});bw.getEndpointUrlConfig=NX});var cw=K((kw)=>{Object.defineProperty(kw,"__esModule",{value:!0});kw.getEndpointFromConfig=void 0;var qX=qw(),jX=Dw(),PX=async($)=>qX.loadConfig(jX.getEndpointUrlConfig($))();kw.getEndpointFromConfig=PX});var _w=K((SR,yw)=>{var uw=function($){const U={};if($=$.replace(/^\?/,""),$)for(let w of $.split("&")){let[W,G=null]=w.split("=");if(W=decodeURIComponent(W),G)G=decodeURIComponent(G);if(!(W in U))U[W]=G;else if(Array.isArray(U[W]))U[W].push(G);else U[W]=[U[W],G]}return U},I1=Object.defineProperty,SX=Object.getOwnPropertyDescriptor,bX=Object.getOwnPropertyNames,hX=Object.prototype.hasOwnProperty,DX=($,U)=>I1($,"name",{value:U,configurable:!0}),kX=($,U)=>{for(var w in U)I1($,w,{get:U[w],enumerable:!0})},vX=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of bX(U))if(!hX.call($,G)&&G!==w)I1($,G,{get:()=>U[G],enumerable:!(W=SX(U,G))||W.enumerable})}return $},cX=($)=>vX(I1({},"__esModule",{value:!0}),$),xw={};kX(xw,{parseQueryString:()=>uw});yw.exports=cX(xw);DX(uw,"parseQueryString")});var lw=K((bR,gw)=>{var{defineProperty:Q1,getOwnPropertyDescriptor:xX,getOwnPropertyNames:uX}=Object,yX=Object.prototype.hasOwnProperty,_X=($,U)=>Q1($,"name",{value:U,configurable:!0}),dX=($,U)=>{for(var w in U)Q1($,w,{get:U[w],enumerable:!0})},pX=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of uX(U))if(!yX.call($,G)&&G!==w)Q1($,G,{get:()=>U[G],enumerable:!(W=xX(U,G))||W.enumerable})}return $},gX=($)=>pX(Q1({},"__esModule",{value:!0}),$),dw={};dX(dw,{parseUrl:()=>pw});gw.exports=gX(dw);var lX=_w(),pw=_X(($)=>{if(typeof $==="string")return pw(new URL($));const{hostname:U,pathname:w,port:W,protocol:G,search:f}=$;let L;if(f)L=lX.parseQueryString(f);return{hostname:U,port:W?parseInt(W):void 0,protocol:G,path:w,query:L}},"parseUrl")});var C$=K((hR,aw)=>{var ow=function($,U,w){return{applyToStack:(W)=>{W.add(nw($,w),iw),W.add(mw($,U),rw)}}},z1=Object.defineProperty,sX=Object.getOwnPropertyDescriptor,nX=Object.getOwnPropertyNames,mX=Object.prototype.hasOwnProperty,H$=($,U)=>z1($,"name",{value:U,configurable:!0}),iX=($,U)=>{for(var w in U)z1($,w,{get:U[w],enumerable:!0})},rX=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of nX(U))if(!mX.call($,G)&&G!==w)z1($,G,{get:()=>U[G],enumerable:!(W=sX(U,G))||W.enumerable})}return $},oX=($)=>rX(z1({},"__esModule",{value:!0}),$),sw={};iX(sw,{deserializerMiddleware:()=>nw,deserializerMiddlewareOption:()=>iw,getSerdePlugin:()=>ow,serializerMiddleware:()=>mw,serializerMiddlewareOption:()=>rw});aw.exports=oX(sw);var nw=H$(($,U)=>(w)=>async(W)=>{const{response:G}=await w(W);try{const f=await U(G,$);return{response:G,output:f}}catch(f){if(Object.defineProperty(f,"$response",{value:G}),!("$metadata"in f)){if(f.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.",typeof f.$responseBodyText!=="undefined"){if(f.$response)f.$response.body=f.$responseBodyText}}throw f}},"deserializerMiddleware"),mw=H$(($,U)=>(w,W)=>async(G)=>{var f;const L=((f=W.endpointV2)==null?void 0:f.url)&&$.urlParser?async()=>$.urlParser(W.endpointV2.url):$.endpoint;if(!L)throw new Error("No valid endpoint provider available.");const Z=await U(G.input,{...$,endpoint:L});return w({...G,request:Z})},"serializerMiddleware"),iw={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},rw={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};H$(ow,"getSerdePlugin")});var fG=K((DR,WG)=>{var{defineProperty:R1,getOwnPropertyDescriptor:aX,getOwnPropertyNames:tX}=Object,eX=Object.prototype.hasOwnProperty,p=($,U)=>R1($,"name",{value:U,configurable:!0}),$2=($,U)=>{for(var w in U)R1($,w,{get:U[w],enumerable:!0})},U2=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of tX(U))if(!eX.call($,G)&&G!==w)R1($,G,{get:()=>U[G],enumerable:!(W=aX(U,G))||W.enumerable})}return $},w2=($)=>U2(R1({},"__esModule",{value:!0}),$),ew={};$2(ew,{endpointMiddleware:()=>wG,endpointMiddlewareOptions:()=>GG,getEndpointFromInstructions:()=>$G,getEndpointPlugin:()=>Q2,resolveEndpointConfig:()=>z2,resolveParams:()=>UG,toEndpointV1:()=>N$});WG.exports=w2(ew);var G2=p(async($)=>{const U=($==null?void 0:$.Bucket)||"";if(typeof $.Bucket==="string")$.Bucket=U.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(X2(U)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!Z2(U)||U.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||U.toLowerCase()!==U||U.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},"resolveParamsForS3"),W2=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,f2=/(\d+\.){3}\d+/,L2=/\.\./,Z2=p(($)=>W2.test($)&&!f2.test($)&&!L2.test($),"isDnsCompatibleBucketName"),X2=p(($)=>{const[U,w,W,,,G]=$.split(":"),f=U==="arn"&&$.split(":").length>=6,L=Boolean(f&&w&&W&&G);if(f&&!L)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return L},"isArnBucketName"),F2=p(($,U,w)=>{const W=p(async()=>{const G=w[$]??w[U];if(typeof G==="function")return G();return G},"configProvider");if($==="credentialScope"||U==="CredentialScope")return async()=>{const G=typeof w.credentials==="function"?await w.credentials():w.credentials;return(G==null?void 0:G.credentialScope)??(G==null?void 0:G.CredentialScope)};if($==="accountId"||U==="AccountId")return async()=>{const G=typeof w.credentials==="function"?await w.credentials():w.credentials;return(G==null?void 0:G.accountId)??(G==null?void 0:G.AccountId)};if($==="endpoint"||U==="endpoint")return async()=>{const G=await W();if(G&&typeof G==="object"){if("url"in G)return G.url.href;if("hostname"in G){const{protocol:f,hostname:L,port:Z,path:X}=G;return`${f}//${L}${Z?":"+Z:""}${X}`}}return G};return W},"createConfigValueProvider"),Y2=cw(),tw=lw(),N$=p(($)=>{if(typeof $==="object"){if("url"in $)return tw.parseUrl($.url);return $}return tw.parseUrl($)},"toEndpointV1"),$G=p(async($,U,w,W)=>{if(!w.endpoint){const L=await Y2.getEndpointFromConfig(w.serviceId||"");if(L)w.endpoint=()=>Promise.resolve(N$(L))}const G=await UG($,U,w);if(typeof w.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return w.endpointProvider(G,W)},"getEndpointFromInstructions"),UG=p(async($,U,w)=>{var W;const G={},f=((W=U==null?void 0:U.getEndpointParameterInstructions)==null?void 0:W.call(U))||{};for(let[L,Z]of Object.entries(f))switch(Z.type){case"staticContextParams":G[L]=Z.value;break;case"contextParams":G[L]=$[Z.name];break;case"clientContextParams":case"builtInParams":G[L]=await F2(Z.name,L,w)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(Z))}if(Object.keys(f).length===0)Object.assign(G,w);if(String(w.serviceId).toLowerCase()==="s3")await G2(G);return G},"resolveParams"),E1=v0(),wG=p(({config:$,instructions:U})=>{return(w,W)=>async(G)=>{var f,L,Z;const X=await $G(G.input,{getEndpointParameterInstructions(){return U}},{...$},W);W.endpointV2=X,W.authSchemes=(f=X.properties)==null?void 0:f.authSchemes;const F=(L=W.authSchemes)==null?void 0:L[0];if(F){W.signing_region=F.signingRegion,W.signing_service=F.signingName;const Y=E1.getSmithyContext(W),I=(Z=Y==null?void 0:Y.selectedHttpAuthScheme)==null?void 0:Z.httpAuthOption;if(I)I.signingProperties=Object.assign(I.signingProperties||{},{signing_region:F.signingRegion,signingRegion:F.signingRegion,signing_service:F.signingName,signingName:F.signingName,signingRegionSet:F.signingRegionSet},F.properties)}return w({...G})}},"endpointMiddleware"),I2=C$(),GG={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:I2.serializerMiddlewareOption.name},Q2=p(($,U)=>({applyToStack:(w)=>{w.addRelativeTo(wG({config:$,instructions:U}),GG)}}),"getEndpointPlugin"),z2=p(($)=>{const U=$.tls??!0,{endpoint:w}=$,W=w!=null?async()=>N$(await E1.normalizeProvider(w)()):void 0;return{...$,endpoint:W,tls:U,isCustomEndpoint:!!w,useDualstackEndpoint:E1.normalizeProvider($.useDualstackEndpoint??!1),useFipsEndpoint:E1.normalizeProvider($.useFipsEndpoint??!1)}},"resolveEndpointConfig")});var i=K((kR,EG)=>{var IG=function($){return Object.keys($).reduce((U,w)=>{const W=$[w];return{...U,[w]:Array.isArray(W)?[...W]:W}},{})},zG=function($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)},J1=Object.defineProperty,E2=Object.getOwnPropertyDescriptor,R2=Object.getOwnPropertyNames,J2=Object.prototype.hasOwnProperty,$0=($,U)=>J1($,"name",{value:U,configurable:!0}),K2=($,U)=>{for(var w in U)J1($,w,{get:U[w],enumerable:!0})},M2=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of R2(U))if(!J2.call($,G)&&G!==w)J1($,G,{get:()=>U[G],enumerable:!(W=E2(U,G))||W.enumerable})}return $},V2=($)=>M2(J1({},"__esModule",{value:!0}),$),LG={};K2(LG,{Field:()=>T2,Fields:()=>O2,HttpRequest:()=>H2,HttpResponse:()=>C2,IHttpRequest:()=>ZG.HttpRequest,getHttpHandlerExtensionConfiguration:()=>A2,isValidHostname:()=>zG,resolveHttpHandlerRuntimeConfig:()=>B2});EG.exports=V2(LG);var A2=$0(($)=>{let U=$.httpHandler;return{setHttpHandler(w){U=w},httpHandler(){return U},updateHttpClientConfig(w,W){U.updateHttpClientConfig(w,W)},httpHandlerConfigs(){return U.httpHandlerConfigs()}}},"getHttpHandlerExtensionConfiguration"),B2=$0(($)=>{return{httpHandler:$.httpHandler()}},"resolveHttpHandlerRuntimeConfig"),ZG=Y0(),XG=class ${constructor({name:U,kind:w=ZG.FieldPosition.HEADER,values:W=[]}){this.name=U,this.kind=w,this.values=W}add(U){this.values.push(U)}set(U){this.values=U}remove(U){this.values=this.values.filter((w)=>w!==U)}toString(){return this.values.map((U)=>U.includes(",")||U.includes(" ")?`"${U}"`:U).join(", ")}get(){return this.values}};$0(XG,"Field");var T2=XG,FG=class ${constructor({fields:U=[],encoding:w="utf-8"}){this.entries={},U.forEach(this.setField.bind(this)),this.encoding=w}setField(U){this.entries[U.name.toLowerCase()]=U}getField(U){return this.entries[U.toLowerCase()]}removeField(U){delete this.entries[U.toLowerCase()]}getByType(U){return Object.values(this.entries).filter((w)=>w.kind===U)}};$0(FG,"Fields");var O2=FG,YG=class ${constructor(U){this.method=U.method||"GET",this.hostname=U.hostname||"localhost",this.port=U.port,this.query=U.query||{},this.headers=U.headers||{},this.body=U.body,this.protocol=U.protocol?U.protocol.slice(-1)!==":"?`${U.protocol}:`:U.protocol:"https:",this.path=U.path?U.path.charAt(0)!=="/"?`/${U.path}`:U.path:"/",this.username=U.username,this.password=U.password,this.fragment=U.fragment}static clone(U){const w=new $({...U,headers:{...U.headers}});if(w.query)w.query=IG(w.query);return w}static isInstance(U){if(!U)return!1;const w=U;return"method"in w&&"protocol"in w&&"hostname"in w&&"path"in w&&typeof w.query==="object"&&typeof w.headers==="object"}clone(){return $.clone(this)}};$0(YG,"HttpRequest");var H2=YG;$0(IG,"cloneQuery");var QG=class ${constructor(U){this.statusCode=U.statusCode,this.reason=U.reason,this.headers=U.headers||{},this.body=U.body}static isInstance(U){if(!U)return!1;const w=U;return typeof w.statusCode==="number"&&typeof w.headers==="object"}};$0(QG,"HttpResponse");var C2=QG;$0(zG,"isValidHostname")});var q$=K((RG)=>{var q2=function($){return $&&$.__esModule?$:{default:$}},j2=function(){if(K1>M1.length-16)N2.default.randomFillSync(M1),K1=0;return M1.slice(K1,K1+=16)};Object.defineProperty(RG,"__esModule",{value:!0});RG.default=j2;var N2=q2(import.meta.require("crypto")),M1=new Uint8Array(256),K1=M1.length});var MG=K((JG)=>{Object.defineProperty(JG,"__esModule",{value:!0});JG.default=void 0;var S2=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;JG.default=S2});var y0=K((VG)=>{var h2=function($){return $&&$.__esModule?$:{default:$}},D2=function($){return typeof $==="string"&&b2.default.test($)};Object.defineProperty(VG,"__esModule",{value:!0});VG.default=void 0;var b2=h2(MG()),k2=D2;VG.default=k2});var _0=K((TG)=>{var c2=function($){return $&&$.__esModule?$:{default:$}},BG=function($,U=0){return h[$[U+0]]+h[$[U+1]]+h[$[U+2]]+h[$[U+3]]+"-"+h[$[U+4]]+h[$[U+5]]+"-"+h[$[U+6]]+h[$[U+7]]+"-"+h[$[U+8]]+h[$[U+9]]+"-"+h[$[U+10]]+h[$[U+11]]+h[$[U+12]]+h[$[U+13]]+h[$[U+14]]+h[$[U+15]]},x2=function($,U=0){const w=BG($,U);if(!v2.default(w))throw TypeError("Stringified UUID is invalid");return w};Object.defineProperty(TG,"__esModule",{value:!0});TG.default=void 0;TG.unsafeStringify=BG;var v2=c2(y0()),h=[];for(let $=0;$<256;++$)h.push(($+256).toString(16).slice(1));var u2=x2;TG.default=u2});var qG=K((CG)=>{var p2=function($){return $&&$.__esModule?$:{default:$}},g2=function($,U,w){let W=U&&w||0;const G=U||new Array(16);$=$||{};let f=$.node||HG,L=$.clockseq!==void 0?$.clockseq:j$;if(f==null||L==null){const z=$.random||($.rng||_2.default)();if(f==null)f=HG=[z[0]|1,z[1],z[2],z[3],z[4],z[5]];if(L==null)L=j$=(z[6]<<8|z[7])&16383}let Z=$.msecs!==void 0?$.msecs:Date.now(),X=$.nsecs!==void 0?$.nsecs:S$+1;const F=Z-P$+(X-S$)/1e4;if(F<0&&$.clockseq===void 0)L=L+1&16383;if((F<0||Z>P$)&&$.nsecs===void 0)X=0;if(X>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");P$=Z,S$=X,j$=L,Z+=12219292800000;const Y=((Z&268435455)*1e4+X)%4294967296;G[W++]=Y>>>24&255,G[W++]=Y>>>16&255,G[W++]=Y>>>8&255,G[W++]=Y&255;const I=Z/4294967296*1e4&268435455;G[W++]=I>>>8&255,G[W++]=I&255,G[W++]=I>>>24&15|16,G[W++]=I>>>16&255,G[W++]=L>>>8|128,G[W++]=L&255;for(let z=0;z<6;++z)G[W+z]=f[z];return U||d2.unsafeStringify(G)};Object.defineProperty(CG,"__esModule",{value:!0});CG.default=void 0;var _2=p2(q$()),d2=_0(),HG,j$,P$=0,S$=0,l2=g2;CG.default=l2});var b$=K((jG)=>{var n2=function($){return $&&$.__esModule?$:{default:$}},m2=function($){if(!s2.default($))throw TypeError("Invalid UUID");let U;const w=new Uint8Array(16);return w[0]=(U=parseInt($.slice(0,8),16))>>>24,w[1]=U>>>16&255,w[2]=U>>>8&255,w[3]=U&255,w[4]=(U=parseInt($.slice(9,13),16))>>>8,w[5]=U&255,w[6]=(U=parseInt($.slice(14,18),16))>>>8,w[7]=U&255,w[8]=(U=parseInt($.slice(19,23),16))>>>8,w[9]=U&255,w[10]=(U=parseInt($.slice(24,36),16))/1099511627776&255,w[11]=U/4294967296&255,w[12]=U>>>24&255,w[13]=U>>>16&255,w[14]=U>>>8&255,w[15]=U&255,w};Object.defineProperty(jG,"__esModule",{value:!0});jG.default=void 0;var s2=n2(y0()),i2=m2;jG.default=i2});var h$=K((hG)=>{var a2=function($){return $&&$.__esModule?$:{default:$}},t2=function($){$=unescape(encodeURIComponent($));const U=[];for(let w=0;w<$.length;++w)U.push($.charCodeAt(w));return U},e2=function($,U,w){function W(G,f,L,Z){var X;if(typeof G==="string")G=t2(G);if(typeof f==="string")f=o2.default(f);if(((X=f)===null||X===void 0?void 0:X.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let F=new Uint8Array(16+G.length);if(F.set(f),F.set(G,f.length),F=w(F),F[6]=F[6]&15|U,F[8]=F[8]&63|128,L){Z=Z||0;for(let Y=0;Y<16;++Y)L[Z+Y]=F[Y];return L}return r2.unsafeStringify(F)}try{W.name=$}catch(G){}return W.DNS=SG,W.URL=bG,W};Object.defineProperty(hG,"__esModule",{value:!0});hG.URL=hG.DNS=void 0;hG.default=e2;var r2=_0(),o2=a2(b$()),SG="6ba7b810-9dad-11d1-80b4-00c04fd430c8";hG.DNS=SG;var bG="6ba7b811-9dad-11d1-80b4-00c04fd430c8";hG.URL=bG});var cG=K((kG)=>{var GF=function($){return $&&$.__esModule?$:{default:$}},WF=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return wF.default.createHash("md5").update($).digest()};Object.defineProperty(kG,"__esModule",{value:!0});kG.default=void 0;var wF=GF(import.meta.require("crypto")),fF=WF;kG.default=fF});var _G=K((uG)=>{var xG=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(uG,"__esModule",{value:!0});uG.default=void 0;var LF=xG(h$()),ZF=xG(cG()),XF=LF.default("v3",48,ZF.default),FF=XF;uG.default=FF});var gG=K((dG)=>{var IF=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(dG,"__esModule",{value:!0});dG.default=void 0;var YF=IF(import.meta.require("crypto")),QF={randomUUID:YF.default.randomUUID};dG.default=QF});var iG=K((nG)=>{var sG=function($){return $&&$.__esModule?$:{default:$}},RF=function($,U,w){if(lG.default.randomUUID&&!U&&!$)return lG.default.randomUUID();$=$||{};const W=$.random||($.rng||zF.default)();if(W[6]=W[6]&15|64,W[8]=W[8]&63|128,U){w=w||0;for(let G=0;G<16;++G)U[w+G]=W[G];return U}return EF.unsafeStringify(W)};Object.defineProperty(nG,"__esModule",{value:!0});nG.default=void 0;var lG=sG(gG()),zF=sG(q$()),EF=_0(),JF=RF;nG.default=JF});var aG=K((rG)=>{var MF=function($){return $&&$.__esModule?$:{default:$}},VF=function($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return KF.default.createHash("sha1").update($).digest()};Object.defineProperty(rG,"__esModule",{value:!0});rG.default=void 0;var KF=MF(import.meta.require("crypto")),AF=VF;rG.default=AF});var U8=K((eG)=>{var tG=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(eG,"__esModule",{value:!0});eG.default=void 0;var BF=tG(h$()),TF=tG(aG()),OF=BF.default("v5",80,TF.default),HF=OF;eG.default=HF});var W8=K((w8)=>{Object.defineProperty(w8,"__esModule",{value:!0});w8.default=void 0;var CF="00000000-0000-0000-0000-000000000000";w8.default=CF});var Z8=K((f8)=>{var qF=function($){return $&&$.__esModule?$:{default:$}},jF=function($){if(!NF.default($))throw TypeError("Invalid UUID");return parseInt($.slice(14,15),16)};Object.defineProperty(f8,"__esModule",{value:!0});f8.default=void 0;var NF=qF(y0()),PF=jF;f8.default=PF});var D$=K((g)=>{var r=function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(g,"__esModule",{value:!0});Object.defineProperty(g,"NIL",{enumerable:!0,get:function(){return kF.default}});Object.defineProperty(g,"parse",{enumerable:!0,get:function(){return uF.default}});Object.defineProperty(g,"stringify",{enumerable:!0,get:function(){return xF.default}});Object.defineProperty(g,"v1",{enumerable:!0,get:function(){return SF.default}});Object.defineProperty(g,"v3",{enumerable:!0,get:function(){return bF.default}});Object.defineProperty(g,"v4",{enumerable:!0,get:function(){return hF.default}});Object.defineProperty(g,"v5",{enumerable:!0,get:function(){return DF.default}});Object.defineProperty(g,"validate",{enumerable:!0,get:function(){return cF.default}});Object.defineProperty(g,"version",{enumerable:!0,get:function(){return vF.default}});var SF=r(qG()),bF=r(_G()),hF=r(iG()),DF=r(U8()),kF=r(W8()),vF=r(Z8()),cF=r(y0()),xF=r(_0()),uF=r(b$())});var Q0=K((aR,I8)=>{var{defineProperty:V1,getOwnPropertyDescriptor:yF,getOwnPropertyNames:_F}=Object,dF=Object.prototype.hasOwnProperty,O0=($,U)=>V1($,"name",{value:U,configurable:!0}),pF=($,U)=>{for(var w in U)V1($,w,{get:U[w],enumerable:!0})},gF=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of _F(U))if(!dF.call($,G)&&G!==w)V1($,G,{get:()=>U[G],enumerable:!(W=yF(U,G))||W.enumerable})}return $},lF=($)=>gF(V1({},"__esModule",{value:!0}),$),X8={};pF(X8,{isClockSkewCorrectedError:()=>F8,isClockSkewError:()=>aF,isRetryableByTrait:()=>oF,isServerError:()=>eF,isThrottlingError:()=>tF,isTransientError:()=>Y8});I8.exports=lF(X8);var sF=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],nF=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],mF=["TimeoutError","RequestTimeout","RequestTimeoutException"],iF=[500,502,503,504],rF=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],oF=O0(($)=>$.$retryable!==void 0,"isRetryableByTrait"),aF=O0(($)=>sF.includes($.name),"isClockSkewError"),F8=O0(($)=>{var U;return(U=$.$metadata)==null?void 0:U.clockSkewCorrected},"isClockSkewCorrectedError"),tF=O0(($)=>{var U,w;return((U=$.$metadata)==null?void 0:U.httpStatusCode)===429||nF.includes($.name)||((w=$.$retryable)==null?void 0:w.throttling)==!0},"isThrottlingError"),Y8=O0(($)=>{var U;return F8($)||mF.includes($.name)||rF.includes(($==null?void 0:$.code)||"")||iF.includes(((U=$.$metadata)==null?void 0:U.httpStatusCode)||0)},"isTransientError"),eF=O0(($)=>{var U;if(((U=$.$metadata)==null?void 0:U.httpStatusCode)!==void 0){const w=$.$metadata.httpStatusCode;if(500<=w&&w<=599&&!Y8($))return!0;return!1}return!1},"isServerError")});var C8=K((tR,H8)=>{var{defineProperty:A1,getOwnPropertyDescriptor:$Y,getOwnPropertyNames:UY}=Object,wY=Object.prototype.hasOwnProperty,l=($,U)=>A1($,"name",{value:U,configurable:!0}),GY=($,U)=>{for(var w in U)A1($,w,{get:U[w],enumerable:!0})},WY=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of UY(U))if(!wY.call($,G)&&G!==w)A1($,G,{get:()=>U[G],enumerable:!(W=$Y(U,G))||W.enumerable})}return $},fY=($)=>WY(A1({},"__esModule",{value:!0}),$),z8={};GY(z8,{AdaptiveRetryStrategy:()=>IY,ConfiguredRetryStrategy:()=>QY,DEFAULT_MAX_ATTEMPTS:()=>k$,DEFAULT_RETRY_DELAY_BASE:()=>d0,DEFAULT_RETRY_MODE:()=>LY,DefaultRateLimiter:()=>J8,INITIAL_RETRY_TOKENS:()=>v$,INVOCATION_ID_HEADER:()=>XY,MAXIMUM_RETRY_DELAY:()=>c$,NO_RETRY_INCREMENT:()=>A8,REQUEST_HEADER:()=>FY,RETRY_COST:()=>M8,RETRY_MODES:()=>E8,StandardRetryStrategy:()=>x$,THROTTLING_RETRY_DELAY_BASE:()=>K8,TIMEOUT_RETRY_COST:()=>V8});H8.exports=fY(z8);var E8=(($)=>{return $.STANDARD="standard",$.ADAPTIVE="adaptive",$})(E8||{}),k$=3,LY="standard",ZY=Q0(),R8=class ${constructor(U){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(U==null?void 0:U.beta)??0.7,this.minCapacity=(U==null?void 0:U.minCapacity)??1,this.minFillRate=(U==null?void 0:U.minFillRate)??0.5,this.scaleConstant=(U==null?void 0:U.scaleConstant)??0.4,this.smooth=(U==null?void 0:U.smooth)??0.8;const w=this.getCurrentTimeInSeconds();this.lastThrottleTime=w,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(U){if(!this.enabled)return;if(this.refillTokenBucket(),U>this.currentCapacity){const w=(U-this.currentCapacity)/this.fillRate*1000;await new Promise((W)=>setTimeout(W,w))}this.currentCapacity=this.currentCapacity-U}refillTokenBucket(){const U=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=U;return}const w=(U-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+w),this.lastTimestamp=U}updateClientSendingRate(U){let w;if(this.updateMeasuredRate(),ZY.isThrottlingError(U)){const G=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=G,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),w=this.cubicThrottle(G),this.enableTokenBucket()}else this.calculateTimeWindow(),w=this.cubicSuccess(this.getCurrentTimeInSeconds());const W=Math.min(w,2*this.measuredTxRate);this.updateTokenBucketRate(W)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(U){return this.getPrecise(U*this.beta)}cubicSuccess(U){return this.getPrecise(this.scaleConstant*Math.pow(U-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(U){this.refillTokenBucket(),this.fillRate=Math.max(U,this.minFillRate),this.maxCapacity=Math.max(U,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const U=this.getCurrentTimeInSeconds(),w=Math.floor(U*2)/2;if(this.requestCount++,w>this.lastTxRateBucket){const W=this.requestCount/(w-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(W*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=w}}getPrecise(U){return parseFloat(U.toFixed(8))}};l(R8,"DefaultRateLimiter");var J8=R8,d0=100,c$=20000,K8=500,v$=500,M8=5,V8=10,A8=1,XY="amz-sdk-invocation-id",FY="amz-sdk-request",YY=l(()=>{let $=d0;return{computeNextBackoffDelay:l((W)=>{return Math.floor(Math.min(c$,Math.random()*2**W*$))},"computeNextBackoffDelay"),setDelayBase:l((W)=>{$=W},"setDelayBase")}},"getDefaultRetryBackoffStrategy"),Q8=l(({retryDelay:$,retryCount:U,retryCost:w})=>{return{getRetryCount:l(()=>U,"getRetryCount"),getRetryDelay:l(()=>Math.min(c$,$),"getRetryDelay"),getRetryCost:l(()=>w,"getRetryCost")}},"createDefaultRetryToken"),B8=class ${constructor(U){this.maxAttempts=U,this.mode="standard",this.capacity=v$,this.retryBackoffStrategy=YY(),this.maxAttemptsProvider=typeof U==="function"?U:async()=>U}async acquireInitialRetryToken(U){return Q8({retryDelay:d0,retryCount:0})}async refreshRetryTokenForRetry(U,w){const W=await this.getMaxAttempts();if(this.shouldRetry(U,w,W)){const G=w.errorType;this.retryBackoffStrategy.setDelayBase(G==="THROTTLING"?K8:d0);const f=this.retryBackoffStrategy.computeNextBackoffDelay(U.getRetryCount()),L=w.retryAfterHint?Math.max(w.retryAfterHint.getTime()-Date.now()||0,f):f,Z=this.getCapacityCost(G);return this.capacity-=Z,Q8({retryDelay:L,retryCount:U.getRetryCount()+1,retryCost:Z})}throw new Error("No retry token available")}recordSuccess(U){this.capacity=Math.max(v$,this.capacity+(U.getRetryCost()??A8))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(U){return console.warn(`Max attempts provider could not resolve. Using default of ${k$}`),k$}}shouldRetry(U,w,W){return U.getRetryCount()+1<W&&this.capacity>=this.getCapacityCost(w.errorType)&&this.isRetryableError(w.errorType)}getCapacityCost(U){return U==="TRANSIENT"?V8:M8}isRetryableError(U){return U==="THROTTLING"||U==="TRANSIENT"}};l(B8,"StandardRetryStrategy");var x$=B8,T8=class ${constructor(U,w){this.maxAttemptsProvider=U,this.mode="adaptive";const{rateLimiter:W}=w??{};this.rateLimiter=W??new J8,this.standardRetryStrategy=new x$(U)}async acquireInitialRetryToken(U){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(U)}async refreshRetryTokenForRetry(U,w){return this.rateLimiter.updateClientSendingRate(w),this.standardRetryStrategy.refreshRetryTokenForRetry(U,w)}recordSuccess(U){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(U)}};l(T8,"AdaptiveRetryStrategy");var IY=T8,O8=class $ extends x${constructor(U,w=d0){super(typeof U==="function"?U:async()=>U);if(typeof w==="number")this.computeNextBackoffDelay=()=>w;else this.computeNextBackoffDelay=w}async refreshRetryTokenForRetry(U,w){const W=await super.refreshRetryTokenForRetry(U,w);return W.getRetryDelay=()=>this.computeNextBackoffDelay(W.getRetryCount()),W}};l(O8,"ConfiguredRetryStrategy");var QY=O8});var S8=K((eR,P8)=>{var{defineProperty:B1,getOwnPropertyDescriptor:zY,getOwnPropertyNames:EY}=Object,RY=Object.prototype.hasOwnProperty,y=($,U)=>B1($,"name",{value:U,configurable:!0}),JY=($,U)=>{for(var w in U)B1($,w,{get:U[w],enumerable:!0})},KY=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of EY(U))if(!RY.call($,G)&&G!==w)B1($,G,{get:()=>U[G],enumerable:!(W=zY(U,G))||W.enumerable})}return $},MY=($)=>KY(B1({},"__esModule",{value:!0}),$),j8={};JY(j8,{constructStack:()=>u$});P8.exports=MY(j8);var z0=y(($,U)=>{const w=[];if($)w.push($);if(U)for(let W of U)w.push(W);return w},"getAllAliases"),U0=y(($,U)=>{return`${$||"anonymous"}${U&&U.length>0?` (a.k.a. ${U.join(",")})`:""}`},"getMiddlewareNameWithAliases"),u$=y(()=>{let $=[],U=[],w=!1;const W=new Set,G=y((I)=>I.sort((z,Q)=>N8[Q.step]-N8[z.step]||q8[Q.priority||"normal"]-q8[z.priority||"normal"]),"sort"),f=y((I)=>{let z=!1;const Q=y((E)=>{const A=z0(E.name,E.aliases);if(A.includes(I)){z=!0;for(let M of A)W.delete(M);return!1}return!0},"filterCb");return $=$.filter(Q),U=U.filter(Q),z},"removeByName"),L=y((I)=>{let z=!1;const Q=y((E)=>{if(E.middleware===I){z=!0;for(let A of z0(E.name,E.aliases))W.delete(A);return!1}return!0},"filterCb");return $=$.filter(Q),U=U.filter(Q),z},"removeByReference"),Z=y((I)=>{var z;return $.forEach((Q)=>{I.add(Q.middleware,{...Q})}),U.forEach((Q)=>{I.addRelativeTo(Q.middleware,{...Q})}),(z=I.identifyOnResolve)==null||z.call(I,Y.identifyOnResolve()),I},"cloneTo"),X=y((I)=>{const z=[];return I.before.forEach((Q)=>{if(Q.before.length===0&&Q.after.length===0)z.push(Q);else z.push(...X(Q))}),z.push(I),I.after.reverse().forEach((Q)=>{if(Q.before.length===0&&Q.after.length===0)z.push(Q);else z.push(...X(Q))}),z},"expandRelativeMiddlewareList"),F=y((I=!1)=>{const z=[],Q=[],E={};return $.forEach((M)=>{const R={...M,before:[],after:[]};for(let V of z0(R.name,R.aliases))E[V]=R;z.push(R)}),U.forEach((M)=>{const R={...M,before:[],after:[]};for(let V of z0(R.name,R.aliases))E[V]=R;Q.push(R)}),Q.forEach((M)=>{if(M.toMiddleware){const R=E[M.toMiddleware];if(R===void 0){if(I)return;throw new Error(`${M.toMiddleware} is not found when adding ${U0(M.name,M.aliases)} middleware ${M.relation} ${M.toMiddleware}`)}if(M.relation==="after")R.after.push(M);if(M.relation==="before")R.before.push(M)}}),G(z).map(X).reduce((M,R)=>{return M.push(...R),M},[])},"getMiddlewareList"),Y={add:(I,z={})=>{const{name:Q,override:E,aliases:A}=z,M={step:"initialize",priority:"normal",middleware:I,...z},R=z0(Q,A);if(R.length>0){if(R.some((V)=>W.has(V))){if(!E)throw new Error(`Duplicate middleware name '${U0(Q,A)}'`);for(let V of R){const B=$.findIndex((O)=>{var e;return O.name===V||((e=O.aliases)==null?void 0:e.some((F0)=>F0===V))});if(B===-1)continue;const T=$[B];if(T.step!==M.step||M.priority!==T.priority)throw new Error(`"${U0(T.name,T.aliases)}" middleware with ${T.priority} priority in ${T.step} step cannot be overridden by "${U0(Q,A)}" middleware with ${M.priority} priority in ${M.step} step.`);$.splice(B,1)}}for(let V of R)W.add(V)}$.push(M)},addRelativeTo:(I,z)=>{const{name:Q,override:E,aliases:A}=z,M={middleware:I,...z},R=z0(Q,A);if(R.length>0){if(R.some((V)=>W.has(V))){if(!E)throw new Error(`Duplicate middleware name '${U0(Q,A)}'`);for(let V of R){const B=U.findIndex((O)=>{var e;return O.name===V||((e=O.aliases)==null?void 0:e.some((F0)=>F0===V))});if(B===-1)continue;const T=U[B];if(T.toMiddleware!==M.toMiddleware||T.relation!==M.relation)throw new Error(`"${U0(T.name,T.aliases)}" middleware ${T.relation} "${T.toMiddleware}" middleware cannot be overridden by "${U0(Q,A)}" middleware ${M.relation} "${M.toMiddleware}" middleware.`);U.splice(B,1)}}for(let V of R)W.add(V)}U.push(M)},clone:()=>Z(u$()),use:(I)=>{I.applyToStack(Y)},remove:(I)=>{if(typeof I==="string")return f(I);else return L(I)},removeByTag:(I)=>{let z=!1;const Q=y((E)=>{const{tags:A,name:M,aliases:R}=E;if(A&&A.includes(I)){const V=z0(M,R);for(let B of V)W.delete(B);return z=!0,!1}return!0},"filterCb");return $=$.filter(Q),U=U.filter(Q),z},concat:(I)=>{var z;const Q=Z(u$());return Q.use(I),Q.identifyOnResolve(w||Q.identifyOnResolve()||(((z=I.identifyOnResolve)==null?void 0:z.call(I))??!1)),Q},applyToStack:Z,identify:()=>{return F(!0).map((I)=>{const z=I.step??I.relation+" "+I.toMiddleware;return U0(I.name,I.aliases)+" - "+z})},identifyOnResolve(I){if(typeof I==="boolean")w=I;return w},resolve:(I,z)=>{for(let Q of F().map((E)=>E.middleware).reverse())I=Q(I,z);if(w)console.log(Y.identify());return I}};return Y},"constructStack"),N8={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},q8={high:3,normal:2,low:1}});var y$=K(($J,h8)=>{var{defineProperty:T1,getOwnPropertyDescriptor:VY,getOwnPropertyNames:AY}=Object,BY=Object.prototype.hasOwnProperty,TY=($,U)=>T1($,"name",{value:U,configurable:!0}),OY=($,U)=>{for(var w in U)T1($,w,{get:U[w],enumerable:!0})},HY=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of AY(U))if(!BY.call($,G)&&G!==w)T1($,G,{get:()=>U[G],enumerable:!(W=VY(U,G))||W.enumerable})}return $},CY=($)=>HY(T1({},"__esModule",{value:!0}),$),b8={};OY(b8,{isArrayBuffer:()=>NY});h8.exports=CY(b8);var NY=TY(($)=>typeof ArrayBuffer==="function"&&$ instanceof ArrayBuffer||Object.prototype.toString.call($)==="[object ArrayBuffer]","isArrayBuffer")});var p0=K((UJ,v8)=>{var{defineProperty:O1,getOwnPropertyDescriptor:qY,getOwnPropertyNames:jY}=Object,PY=Object.prototype.hasOwnProperty,D8=($,U)=>O1($,"name",{value:U,configurable:!0}),SY=($,U)=>{for(var w in U)O1($,w,{get:U[w],enumerable:!0})},bY=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of jY(U))if(!PY.call($,G)&&G!==w)O1($,G,{get:()=>U[G],enumerable:!(W=qY(U,G))||W.enumerable})}return $},hY=($)=>bY(O1({},"__esModule",{value:!0}),$),k8={};SY(k8,{fromArrayBuffer:()=>kY,fromString:()=>vY});v8.exports=hY(k8);var DY=y$(),_$=import.meta.require("buffer"),kY=D8(($,U=0,w=$.byteLength-U)=>{if(!DY.isArrayBuffer($))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof $} (${$})`);return _$.Buffer.from($,U,w)},"fromArrayBuffer"),vY=D8(($,U)=>{if(typeof $!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof $} (${$})`);return U?_$.Buffer.from($,U):_$.Buffer.from($)},"fromString")});var u8=K((c8)=>{Object.defineProperty(c8,"__esModule",{value:!0});c8.fromBase64=void 0;var cY=p0(),xY=/^[A-Za-z0-9+/]*={0,2}$/,uY=($)=>{if($.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!xY.exec($))throw new TypeError("Invalid base64 string.");const U=cY.fromString($,"base64");return new Uint8Array(U.buffer,U.byteOffset,U.byteLength)};c8.fromBase64=uY});var w0=K((GJ,p8)=>{var{defineProperty:H1,getOwnPropertyDescriptor:yY,getOwnPropertyNames:_Y}=Object,dY=Object.prototype.hasOwnProperty,d$=($,U)=>H1($,"name",{value:U,configurable:!0}),pY=($,U)=>{for(var w in U)H1($,w,{get:U[w],enumerable:!0})},gY=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of _Y(U))if(!dY.call($,G)&&G!==w)H1($,G,{get:()=>U[G],enumerable:!(W=yY(U,G))||W.enumerable})}return $},lY=($)=>gY(H1({},"__esModule",{value:!0}),$),y8={};pY(y8,{fromUtf8:()=>d8,toUint8Array:()=>sY,toUtf8:()=>nY});p8.exports=lY(y8);var _8=p0(),d8=d$(($)=>{const U=_8.fromString($,"utf8");return new Uint8Array(U.buffer,U.byteOffset,U.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),sY=d$(($)=>{if(typeof $==="string")return d8($);if(ArrayBuffer.isView($))return new Uint8Array($.buffer,$.byteOffset,$.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array($)},"toUint8Array"),nY=d$(($)=>{if(typeof $==="string")return $;if(typeof $!=="object"||typeof $.byteOffset!=="number"||typeof $.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return _8.fromArrayBuffer($.buffer,$.byteOffset,$.byteLength).toString("utf8")},"toUtf8")});var s8=K((g8)=>{Object.defineProperty(g8,"__esModule",{value:!0});g8.toBase64=void 0;var mY=p0(),iY=w0(),rY=($)=>{let U;if(typeof $==="string")U=iY.fromUtf8($);else U=$;if(typeof U!=="object"||typeof U.byteOffset!=="number"||typeof U.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return mY.fromArrayBuffer(U.buffer,U.byteOffset,U.byteLength).toString("base64")};g8.toBase64=rY});var N1=K((fJ,C1)=>{var{defineProperty:n8,getOwnPropertyDescriptor:oY,getOwnPropertyNames:aY}=Object,tY=Object.prototype.hasOwnProperty,p$=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of aY(U))if(!tY.call($,G)&&G!==w)n8($,G,{get:()=>U[G],enumerable:!(W=oY(U,G))||W.enumerable})}return $},m8=($,U,w)=>(p$($,U,"default"),w&&p$(w,U,"default")),eY=($)=>p$(n8({},"__esModule",{value:!0}),$),g$={};C1.exports=eY(g$);m8(g$,u8(),C1.exports);m8(g$,s8(),C1.exports)});var o8=K((i8)=>{Object.defineProperty(i8,"__esModule",{value:!0});i8.getAwsChunkedEncodingStream=void 0;var $I=import.meta.require("stream"),UI=($,U)=>{const{base64Encoder:w,bodyLengthChecker:W,checksumAlgorithmFn:G,checksumLocationName:f,streamHasher:L}=U,Z=w!==void 0&&G!==void 0&&f!==void 0&&L!==void 0,X=Z?L(G,$):void 0,F=new $I.Readable({read:()=>{}});return $.on("data",(Y)=>{const I=W(Y)||0;F.push(`${I.toString(16)}\r\n`),F.push(Y),F.push("\r\n")}),$.on("end",async()=>{if(F.push("0\r\n"),Z){const Y=w(await X);F.push(`${f}:${Y}\r\n`),F.push("\r\n")}F.push(null)}),F};i8.getAwsChunkedEncodingStream=UI});var s$=K((ZJ,e8)=>{var{defineProperty:q1,getOwnPropertyDescriptor:wI,getOwnPropertyNames:GI}=Object,WI=Object.prototype.hasOwnProperty,l$=($,U)=>q1($,"name",{value:U,configurable:!0}),fI=($,U)=>{for(var w in U)q1($,w,{get:U[w],enumerable:!0})},LI=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of GI(U))if(!WI.call($,G)&&G!==w)q1($,G,{get:()=>U[G],enumerable:!(W=wI(U,G))||W.enumerable})}return $},ZI=($)=>LI(q1({},"__esModule",{value:!0}),$),a8={};fI(a8,{escapeUri:()=>t8,escapeUriPath:()=>FI});e8.exports=ZI(a8);var t8=l$(($)=>encodeURIComponent($).replace(/[!'()*]/g,XI),"escapeUri"),XI=l$(($)=>`%${$.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),FI=l$(($)=>$.split("/").map(t8).join("/"),"escapeUriPath")});var m$=K((XJ,wW)=>{var UW=function($){const U=[];for(let w of Object.keys($).sort()){const W=$[w];if(w=n$.escapeUri(w),Array.isArray(W))for(let G=0,f=W.length;G<f;G++)U.push(`${w}=${n$.escapeUri(W[G])}`);else{let G=w;if(W||typeof W==="string")G+=`=${n$.escapeUri(W)}`;U.push(G)}}return U.join("&")},j1=Object.defineProperty,YI=Object.getOwnPropertyDescriptor,II=Object.getOwnPropertyNames,QI=Object.prototype.hasOwnProperty,zI=($,U)=>j1($,"name",{value:U,configurable:!0}),EI=($,U)=>{for(var w in U)j1($,w,{get:U[w],enumerable:!0})},RI=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of II(U))if(!QI.call($,G)&&G!==w)j1($,G,{get:()=>U[G],enumerable:!(W=YI(U,G))||W.enumerable})}return $},JI=($)=>RI(j1({},"__esModule",{value:!0}),$),$W={};EI($W,{buildQueryString:()=>UW});wW.exports=JI($W);var n$=s$();zI(UW,"buildQueryString")});var VW=K((FJ,MW)=>{async function o$($,U,w=GW){const W=U.headers??{},G=W.Expect||W.expect;let f=-1,L=!1;if(G==="100-continue")await Promise.race([new Promise((Z)=>{f=Number(setTimeout(Z,Math.max(GW,w)))}),new Promise((Z)=>{$.on("continue",()=>{clearTimeout(f),Z()}),$.on("error",()=>{L=!0,clearTimeout(f),Z()})})]);if(!L)IW($,U.body)}var IW=function($,U){if(U instanceof YW.Readable){U.pipe($);return}if(U){if(Buffer.isBuffer(U)||typeof U==="string"){$.end(U);return}const w=U;if(typeof w==="object"&&w.buffer&&typeof w.byteOffset==="number"&&typeof w.byteLength==="number"){$.end(Buffer.from(w.buffer,w.byteOffset,w.byteLength));return}$.end(Buffer.from(U));return}$.end()};async function KW($){const U=[],w=$.getReader();let W=!1,G=0;while(!W){const{done:Z,value:X}=await w.read();if(X)U.push(X),G+=X.length;W=Z}const f=new Uint8Array(G);let L=0;for(let Z of U)f.set(Z,L),L+=Z.length;return f}var{create:KI,defineProperty:g0,getOwnPropertyDescriptor:MI,getOwnPropertyNames:VI,getPrototypeOf:AI}=Object,BI=Object.prototype.hasOwnProperty,j=($,U)=>g0($,"name",{value:U,configurable:!0}),TI=($,U)=>{for(var w in U)g0($,w,{get:U[w],enumerable:!0})},fW=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of VI(U))if(!BI.call($,G)&&G!==w)g0($,G,{get:()=>U[G],enumerable:!(W=MI(U,G))||W.enumerable})}return $},OI=($,U,w)=>(w=$!=null?KI(AI($)):{},fW(U||!$||!$.__esModule?g0(w,"default",{value:$,enumerable:!0}):w,$)),HI=($)=>fW(g0({},"__esModule",{value:!0}),$),LW={};TI(LW,{DEFAULT_REQUEST_TIMEOUT:()=>PI,NodeHttp2Handler:()=>kI,NodeHttpHandler:()=>SI,streamCollector:()=>cI});MW.exports=HI(LW);var ZW=i(),XW=m$(),i$=import.meta.require("http"),r$=import.meta.require("https"),CI=["ECONNRESET","EPIPE","ETIMEDOUT"],FW=j(($)=>{const U={};for(let w of Object.keys($)){const W=$[w];U[w]=Array.isArray(W)?W.join(","):W}return U},"getTransformedHeaders"),NI=j(($,U,w=0)=>{if(!w)return;const W=setTimeout(()=>{$.destroy(),U(Object.assign(new Error(`Socket timed out without establishing a connection within ${w} ms`),{name:"TimeoutError"}))},w);$.on("socket",(G)=>{if(G.connecting)G.on("connect",()=>{clearTimeout(W)});else clearTimeout(W)})},"setConnectionTimeout"),qI=j(($,{keepAlive:U,keepAliveMsecs:w})=>{if(U!==!0)return;$.on("socket",(W)=>{W.setKeepAlive(U,w||0)})},"setSocketKeepAlive"),jI=j(($,U,w=0)=>{$.setTimeout(w,()=>{$.destroy(),U(Object.assign(new Error(`Connection timed out after ${w} ms`),{name:"TimeoutError"}))})},"setSocketTimeout"),YW=import.meta.require("stream"),GW=1000;j(o$,"writeRequestBody");j(IW,"writeBody");var PI=0,QW=class ${constructor(U){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((w,W)=>{if(typeof U==="function")U().then((G)=>{w(this.resolveDefaultConfig(G))}).catch(W);else w(this.resolveDefaultConfig(U))})}static create(U){if(typeof(U==null?void 0:U.handle)==="function")return U;return new $(U)}static checkSocketUsage(U,w,W=console){var G,f,L;const{sockets:Z,requests:X,maxSockets:F}=U;if(typeof F!=="number"||F===Infinity)return w;const Y=15000;if(Date.now()-Y<w)return w;if(Z&&X)for(let I in Z){const z=((G=Z[I])==null?void 0:G.length)??0,Q=((f=X[I])==null?void 0:f.length)??0;if(z>=F&&Q>=2*F)return(L=W==null?void 0:W.warn)==null||L.call(W,`@smithy/node-http-handler:WARN - socket usage at capacity=${z} and ${Q} additional requests are enqueued.
2
- See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
- or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return w}resolveDefaultConfig(U){const{requestTimeout:w,connectionTimeout:W,socketTimeout:G,httpAgent:f,httpsAgent:L}=U||{};return{connectionTimeout:W,requestTimeout:w??G,httpAgent:(()=>{if(f instanceof i$.Agent||typeof(f==null?void 0:f.destroy)==="function")return f;return new i$.Agent({keepAlive:!0,maxSockets:50,...f})})(),httpsAgent:(()=>{if(L instanceof r$.Agent||typeof(L==null?void 0:L.destroy)==="function")return L;return new r$.Agent({keepAlive:!0,maxSockets:50,...L})})(),logger:console}}destroy(){var U,w,W,G;(w=(U=this.config)==null?void 0:U.httpAgent)==null||w.destroy(),(G=(W=this.config)==null?void 0:W.httpsAgent)==null||G.destroy()}async handle(U,{abortSignal:w}={}){if(!this.config)this.config=await this.configProvider;let W;return new Promise((G,f)=>{let L=void 0;const Z=j(async(V)=>{await L,clearTimeout(W),G(V)},"resolve"),X=j(async(V)=>{await L,clearTimeout(W),f(V)},"reject");if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(w==null?void 0:w.aborted){const V=new Error("Request aborted");V.name="AbortError",X(V);return}const F=U.protocol==="https:",Y=F?this.config.httpsAgent:this.config.httpAgent;W=setTimeout(()=>{this.socketWarningTimestamp=$.checkSocketUsage(Y,this.socketWarningTimestamp,this.config.logger)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));const I=XW.buildQueryString(U.query||{});let z=void 0;if(U.username!=null||U.password!=null){const V=U.username??"",B=U.password??"";z=`${V}:${B}`}let Q=U.path;if(I)Q+=`?${I}`;if(U.fragment)Q+=`#${U.fragment}`;const E={headers:U.headers,host:U.hostname,method:U.method,path:Q,port:U.port,agent:Y,auth:z},M=(F?r$.request:i$.request)(E,(V)=>{const B=new ZW.HttpResponse({statusCode:V.statusCode||-1,reason:V.statusMessage,headers:FW(V.headers),body:V});Z({response:B})});if(M.on("error",(V)=>{if(CI.includes(V.code))X(Object.assign(V,{name:"TimeoutError"}));else X(V)}),NI(M,X,this.config.connectionTimeout),jI(M,X,this.config.requestTimeout),w){const V=j(()=>{M.destroy();const B=new Error("Request aborted");B.name="AbortError",X(B)},"onAbort");if(typeof w.addEventListener==="function"){const B=w;B.addEventListener("abort",V,{once:!0}),M.once("close",()=>B.removeEventListener("abort",V))}else w.onabort=V}const R=E.agent;if(typeof R==="object"&&"keepAlive"in R)qI(M,{keepAlive:R.keepAlive,keepAliveMsecs:R.keepAliveMsecs});L=o$(M,U,this.config.requestTimeout).catch((V)=>{return clearTimeout(W),f(V)})})}updateHttpClientConfig(U,w){this.config=void 0,this.configProvider=this.configProvider.then((W)=>{return{...W,[U]:w}})}httpHandlerConfigs(){return this.config??{}}};j(QW,"NodeHttpHandler");var SI=QW,WW=import.meta.require("http2"),bI=OI(import.meta.require("http2")),zW=class ${constructor(U){this.sessions=[],this.sessions=U??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(U){this.sessions.push(U)}contains(U){return this.sessions.includes(U)}remove(U){this.sessions=this.sessions.filter((w)=>w!==U)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(U){for(let w of this.sessions)if(w===U){if(!w.destroyed)w.destroy()}}};j(zW,"NodeHttp2ConnectionPool");var hI=zW,EW=class ${constructor(U){if(this.sessionCache=new Map,this.config=U,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrency must be greater than zero.")}lease(U,w){const W=this.getUrlString(U),G=this.sessionCache.get(W);if(G){const X=G.poll();if(X&&!this.config.disableConcurrency)return X}const f=bI.default.connect(W);if(this.config.maxConcurrency)f.settings({maxConcurrentStreams:this.config.maxConcurrency},(X)=>{if(X)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+U.destination.toString())});f.unref();const L=j(()=>{f.destroy(),this.deleteSession(W,f)},"destroySessionCb");if(f.on("goaway",L),f.on("error",L),f.on("frameError",L),f.on("close",()=>this.deleteSession(W,f)),w.requestTimeout)f.setTimeout(w.requestTimeout,L);const Z=this.sessionCache.get(W)||new hI;return Z.offerLast(f),this.sessionCache.set(W,Z),f}deleteSession(U,w){const W=this.sessionCache.get(U);if(!W)return;if(!W.contains(w))return;W.remove(w),this.sessionCache.set(U,W)}release(U,w){var W;const G=this.getUrlString(U);(W=this.sessionCache.get(G))==null||W.offerLast(w)}destroy(){for(let[U,w]of this.sessionCache){for(let W of w){if(!W.destroyed)W.destroy();w.remove(W)}this.sessionCache.delete(U)}}setMaxConcurrentStreams(U){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=U}setDisableConcurrentStreams(U){this.config.disableConcurrency=U}getUrlString(U){return U.destination.toString()}};j(EW,"NodeHttp2ConnectionManager");var DI=EW,RW=class ${constructor(U){this.metadata={handlerProtocol:"h2"},this.connectionManager=new DI({}),this.configProvider=new Promise((w,W)=>{if(typeof U==="function")U().then((G)=>{w(G||{})}).catch(W);else w(U||{})})}static create(U){if(typeof(U==null?void 0:U.handle)==="function")return U;return new $(U)}destroy(){this.connectionManager.destroy()}async handle(U,{abortSignal:w}={}){if(!this.config){if(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||!1),this.config.maxConcurrentStreams)this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}const{requestTimeout:W,disableConcurrentStreams:G}=this.config;return new Promise((f,L)=>{var Z;let X=!1,F=void 0;const Y=j(async(q)=>{await F,f(q)},"resolve"),I=j(async(q)=>{await F,L(q)},"reject");if(w==null?void 0:w.aborted){X=!0;const q=new Error("Request aborted");q.name="AbortError",I(q);return}const{hostname:z,method:Q,port:E,protocol:A,query:M}=U;let R="";if(U.username!=null||U.password!=null){const q=U.username??"",d=U.password??"";R=`${q}:${d}@`}const V=`${A}//${R}${z}${E?`:${E}`:""}`,B={destination:new URL(V)},T=this.connectionManager.lease(B,{requestTimeout:(Z=this.config)==null?void 0:Z.sessionTimeout,disableConcurrentStreams:G||!1}),O=j((q)=>{if(G)this.destroySession(T);X=!0,I(q)},"rejectWithDestroy"),e=XW.buildQueryString(M||{});let F0=U.path;if(e)F0+=`?${e}`;if(U.fragment)F0+=`#${U.fragment}`;const c=T.request({...U.headers,[WW.constants.HTTP2_HEADER_PATH]:F0,[WW.constants.HTTP2_HEADER_METHOD]:Q});if(T.ref(),c.on("response",(q)=>{const d=new ZW.HttpResponse({statusCode:q[":status"]||-1,headers:FW(q),body:c});if(X=!0,Y({response:d}),G)T.close(),this.connectionManager.deleteSession(V,T)}),W)c.setTimeout(W,()=>{c.close();const q=new Error(`Stream timed out because of no activity for ${W} ms`);q.name="TimeoutError",O(q)});if(w){const q=j(()=>{c.close();const d=new Error("Request aborted");d.name="AbortError",O(d)},"onAbort");if(typeof w.addEventListener==="function"){const d=w;d.addEventListener("abort",q,{once:!0}),c.once("close",()=>d.removeEventListener("abort",q))}else w.onabort=q}c.on("frameError",(q,d,JZ)=>{O(new Error(`Frame type id ${q} in stream id ${JZ} has failed with code ${d}.`))}),c.on("error",O),c.on("aborted",()=>{O(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${c.rstCode}.`))}),c.on("close",()=>{if(T.unref(),G)T.destroy();if(!X)O(new Error("Unexpected error: http2 request did not get a response"))}),F=o$(c,U,W)})}updateHttpClientConfig(U,w){this.config=void 0,this.configProvider=this.configProvider.then((W)=>{return{...W,[U]:w}})}httpHandlerConfigs(){return this.config??{}}destroySession(U){if(!U.destroyed)U.destroy()}};j(RW,"NodeHttp2Handler");var kI=RW,JW=class $ extends YW.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(U,w,W){this.bufferedBytes.push(U),W()}};j(JW,"Collector");var vI=JW,cI=j(($)=>{if(xI($))return KW($);return new Promise((U,w)=>{const W=new vI;$.pipe(W),$.on("error",(G)=>{W.end(),w(G)}),W.on("error",w),W.on("finish",function(){const G=new Uint8Array(Buffer.concat(this.bufferedBytes));U(G)})})},"streamCollector"),xI=j(($)=>typeof ReadableStream==="function"&&$ instanceof ReadableStream,"isReadableStreamInstance");j(KW,"collectReadableStream")});var jW=K((YJ,qW)=>{var TW=function($=0){return new Promise((U,w)=>{if($)setTimeout(()=>{const W=new Error(`Request did not complete within ${$} ms`);W.name="TimeoutError",w(W)},$)})};async function HW($){const U=await NW($),w=nI.fromBase64(U);return new Uint8Array(w)}async function CW($){const U=[],w=$.getReader();let W=!1,G=0;while(!W){const{done:Z,value:X}=await w.read();if(X)U.push(X),G+=X.length;W=Z}const f=new Uint8Array(G);let L=0;for(let Z of U)f.set(Z,L),L+=Z.length;return f}var NW=function($){return new Promise((U,w)=>{const W=new FileReader;W.onloadend=()=>{if(W.readyState!==2)return w(new Error("Reader aborted too early"));const G=W.result??"",f=G.indexOf(","),L=f>-1?f+1:G.length;U(G.substring(L))},W.onabort=()=>w(new Error("Read aborted")),W.onerror=()=>w(W.error),W.readAsDataURL($)})},S1=Object.defineProperty,uI=Object.getOwnPropertyDescriptor,yI=Object.getOwnPropertyNames,_I=Object.prototype.hasOwnProperty,o=($,U)=>S1($,"name",{value:U,configurable:!0}),dI=($,U)=>{for(var w in U)S1($,w,{get:U[w],enumerable:!0})},pI=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of yI(U))if(!_I.call($,G)&&G!==w)S1($,G,{get:()=>U[G],enumerable:!(W=uI(U,G))||W.enumerable})}return $},gI=($)=>pI(S1({},"__esModule",{value:!0}),$),BW={};dI(BW,{FetchHttpHandler:()=>sI,keepAliveSupport:()=>P1,streamCollector:()=>mI});qW.exports=gI(BW);var AW=i(),lI=m$();o(TW,"requestTimeout");var P1={supported:void 0},OW=class ${static create(U){if(typeof(U==null?void 0:U.handle)==="function")return U;return new $(U)}constructor(U){if(typeof U==="function")this.configProvider=U().then((w)=>w||{});else this.config=U??{},this.configProvider=Promise.resolve(this.config);if(P1.supported===void 0)P1.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))}destroy(){}async handle(U,{abortSignal:w}={}){if(!this.config)this.config=await this.configProvider;const W=this.config.requestTimeout,G=this.config.keepAlive===!0,f=this.config.credentials;if(w==null?void 0:w.aborted){const R=new Error("Request aborted");return R.name="AbortError",Promise.reject(R)}let L=U.path;const Z=lI.buildQueryString(U.query||{});if(Z)L+=`?${Z}`;if(U.fragment)L+=`#${U.fragment}`;let X="";if(U.username!=null||U.password!=null){const R=U.username??"",V=U.password??"";X=`${R}:${V}@`}const{port:F,method:Y}=U,I=`${U.protocol}//${X}${U.hostname}${F?`:${F}`:""}${L}`,z=Y==="GET"||Y==="HEAD"?void 0:U.body,Q={body:z,headers:new Headers(U.headers),method:Y,credentials:f};if(z)Q.duplex="half";if(typeof AbortController!=="undefined")Q.signal=w;if(P1.supported)Q.keepalive=G;let E=o(()=>{},"removeSignalEventListener");const A=new Request(I,Q),M=[fetch(A).then((R)=>{const V=R.headers,B={};for(let O of V.entries())B[O[0]]=O[1];if(R.body==null)return R.blob().then((O)=>({response:new AW.HttpResponse({headers:B,reason:R.statusText,statusCode:R.status,body:O})}));return{response:new AW.HttpResponse({headers:B,reason:R.statusText,statusCode:R.status,body:R.body})}}),TW(W)];if(w)M.push(new Promise((R,V)=>{const B=o(()=>{const T=new Error("Request aborted");T.name="AbortError",V(T)},"onAbort");if(typeof w.addEventListener==="function"){const T=w;T.addEventListener("abort",B,{once:!0}),E=o(()=>T.removeEventListener("abort",B),"removeSignalEventListener")}else w.onabort=B}));return Promise.race(M).finally(E)}updateHttpClientConfig(U,w){this.config=void 0,this.configProvider=this.configProvider.then((W)=>{return W[U]=w,W})}httpHandlerConfigs(){return this.config??{}}};o(OW,"FetchHttpHandler");var sI=OW,nI=N1(),mI=o(($)=>{if(typeof Blob==="function"&&$ instanceof Blob)return HW($);return CW($)},"streamCollector");o(HW,"collectBlob");o(CW,"collectStream");o(NW,"readToBase64")});var t$=K((IJ,kW)=>{var hW=function($){if($.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const U=new Uint8Array($.length/2);for(let w=0;w<$.length;w+=2){const W=$.slice(w,w+2).toLowerCase();if(W in a$)U[w/2]=a$[W];else throw new Error(`Cannot decode unrecognized sequence ${W} as hexadecimal`)}return U},DW=function($){let U="";for(let w=0;w<$.byteLength;w++)U+=bW[$[w]];return U},b1=Object.defineProperty,iI=Object.getOwnPropertyDescriptor,rI=Object.getOwnPropertyNames,oI=Object.prototype.hasOwnProperty,PW=($,U)=>b1($,"name",{value:U,configurable:!0}),aI=($,U)=>{for(var w in U)b1($,w,{get:U[w],enumerable:!0})},tI=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of rI(U))if(!oI.call($,G)&&G!==w)b1($,G,{get:()=>U[G],enumerable:!(W=iI(U,G))||W.enumerable})}return $},eI=($)=>tI(b1({},"__esModule",{value:!0}),$),SW={};aI(SW,{fromHex:()=>hW,toHex:()=>DW});kW.exports=eI(SW);var bW={},a$={};for(let $=0;$<256;$++){let U=$.toString(16).toLowerCase();if(U.length===1)U=`0${U}`;bW[$]=U,a$[U]=$}PW(hW,"fromHex");PW(DW,"toHex")});var l0=K((vW)=>{Object.defineProperty(vW,"__esModule",{value:!0});vW.isReadableStream=void 0;var $5=($)=>{var U;return typeof ReadableStream==="function"&&(((U=$===null||$===void 0?void 0:$.constructor)===null||U===void 0?void 0:U.name)===ReadableStream.name||$ instanceof ReadableStream)};vW.isReadableStream=$5});var pW=K((_W)=>{Object.defineProperty(_W,"__esModule",{value:!0});_W.sdkStreamMixin=void 0;var U5=jW(),w5=N1(),G5=t$(),W5=w0(),xW=l0(),uW="The stream has already been transformed.",f5=($)=>{var U,w;if(!yW($)&&!xW.isReadableStream($)){const L=((w=(U=$===null||$===void 0?void 0:$.__proto__)===null||U===void 0?void 0:U.constructor)===null||w===void 0?void 0:w.name)||$;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${L}`)}let W=!1;const G=async()=>{if(W)throw new Error(uW);return W=!0,await U5.streamCollector($)},f=(L)=>{if(typeof L.stream!=="function")throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return L.stream()};return Object.assign($,{transformToByteArray:G,transformToString:async(L)=>{const Z=await G();if(L==="base64")return w5.toBase64(Z);else if(L==="hex")return G5.toHex(Z);else if(L===void 0||L==="utf8"||L==="utf-8")return W5.toUtf8(Z);else if(typeof TextDecoder==="function")return new TextDecoder(L).decode(Z);else throw new Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(W)throw new Error(uW);if(W=!0,yW($))return f($);else if(xW.isReadableStream($))return $;else throw new Error(`Cannot transform payload to web stream, got ${$}`)}})};_W.sdkStreamMixin=f5;var yW=($)=>typeof Blob==="function"&&$ instanceof Blob});var nW=K((lW)=>{Object.defineProperty(lW,"__esModule",{value:!0});lW.sdkStreamMixin=void 0;var L5=VW(),Z5=p0(),e$=import.meta.require("stream"),X5=import.meta.require("util"),F5=pW(),gW="The stream has already been transformed.",Y5=($)=>{var U,w;if(!($ instanceof e$.Readable))try{return F5.sdkStreamMixin($)}catch(f){const L=((w=(U=$===null||$===void 0?void 0:$.__proto__)===null||U===void 0?void 0:U.constructor)===null||w===void 0?void 0:w.name)||$;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${L}`)}let W=!1;const G=async()=>{if(W)throw new Error(gW);return W=!0,await L5.streamCollector($)};return Object.assign($,{transformToByteArray:G,transformToString:async(f)=>{const L=await G();if(f===void 0||Buffer.isEncoding(f))return Z5.fromArrayBuffer(L.buffer,L.byteOffset,L.byteLength).toString(f);else return new X5.TextDecoder(f).decode(L)},transformToWebStream:()=>{if(W)throw new Error(gW);if($.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof e$.Readable.toWeb!=="function")throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");return W=!0,e$.Readable.toWeb($)}})};lW.sdkStreamMixin=Y5});var rW=K((mW)=>{async function I5($){if(typeof $.stream==="function")$=$.stream();return $.tee()}Object.defineProperty(mW,"__esModule",{value:!0});mW.splitStream=void 0;mW.splitStream=I5});var eW=K((aW)=>{async function E5($){if(z5.isReadableStream($))return Q5.splitStream($);const U=new oW.PassThrough,w=new oW.PassThrough;return $.pipe(U),$.pipe(w),[U,w]}Object.defineProperty(aW,"__esModule",{value:!0});aW.splitStream=void 0;var oW=import.meta.require("stream"),Q5=rW(),z5=l0();aW.splitStream=E5});var w4=K(($4)=>{async function R5($,U){var w;let W=0;const G=[],f=$.getReader();let L=!1;while(!L){const{done:F,value:Y}=await f.read();if(Y)G.push(Y),W+=(w=Y===null||Y===void 0?void 0:Y.byteLength)!==null&&w!==void 0?w:0;if(W>=U)break;L=F}f.releaseLock();const Z=new Uint8Array(Math.min(U,W));let X=0;for(let F of G){if(F.byteLength>Z.byteLength-X){Z.set(F.subarray(0,Z.byteLength-X),X);break}else Z.set(F,X);X+=F.length}return Z}Object.defineProperty($4,"__esModule",{value:!0});$4.headStream=void 0;$4.headStream=R5});var L4=K((W4)=>{Object.defineProperty(W4,"__esModule",{value:!0});W4.headStream=void 0;var J5=import.meta.require("stream"),K5=w4(),M5=l0(),V5=($,U)=>{if(M5.isReadableStream($))return K5.headStream($,U);return new Promise((w,W)=>{const G=new G4;G.limit=U,$.pipe(G),$.on("error",(f)=>{G.end(),W(f)}),G.on("error",W),G.on("finish",function(){const f=new Uint8Array(Buffer.concat(this.buffers));w(f)})})};W4.headStream=V5;class G4 extends J5.Writable{constructor(){super(...arguments);this.buffers=[],this.limit=Infinity,this.bytesBuffered=0}_write($,U,w){var W;if(this.buffers.push($),this.bytesBuffered+=(W=$.byteLength)!==null&&W!==void 0?W:0,this.bytesBuffered>=this.limit){const G=this.bytesBuffered-this.limit,f=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=f.subarray(0,f.byteLength-G),this.emit("finish")}w()}}});var Q4=K((VJ,R0)=>{var F4=function($,U="utf-8"){if(U==="base64")return Z4.toBase64($);return X4.toUtf8($)},Y4=function($,U){if(U==="base64")return UU.mutate(Z4.fromBase64($));return UU.mutate(X4.fromUtf8($))},h1=Object.defineProperty,A5=Object.getOwnPropertyDescriptor,B5=Object.getOwnPropertyNames,T5=Object.prototype.hasOwnProperty,wU=($,U)=>h1($,"name",{value:U,configurable:!0}),O5=($,U)=>{for(var w in U)h1($,w,{get:U[w],enumerable:!0})},$U=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of B5(U))if(!T5.call($,G)&&G!==w)h1($,G,{get:()=>U[G],enumerable:!(W=A5(U,G))||W.enumerable})}return $},s0=($,U,w)=>($U($,U,"default"),w&&$U(w,U,"default")),H5=($)=>$U(h1({},"__esModule",{value:!0}),$),E0={};O5(E0,{Uint8ArrayBlobAdapter:()=>UU});R0.exports=H5(E0);var Z4=N1(),X4=w0();wU(F4,"transformToString");wU(Y4,"transformFromString");var I4=class $ extends Uint8Array{static fromString(U,w="utf-8"){switch(typeof U){case"string":return Y4(U,w);default:throw new Error(`Unsupported conversion from ${typeof U} to Uint8ArrayBlobAdapter.`)}}static mutate(U){return Object.setPrototypeOf(U,$.prototype),U}transformToString(U="utf-8"){return F4(this,U)}};wU(I4,"Uint8ArrayBlobAdapter");var UU=I4;s0(E0,o8(),R0.exports);s0(E0,nW(),R0.exports);s0(E0,eW(),R0.exports);s0(E0,L4(),R0.exports);s0(E0,l0(),R0.exports)});var q0=K((AJ,v4)=>{var N4=function($){const U=$.getUTCFullYear(),w=$.getUTCMonth(),W=$.getUTCDay(),G=$.getUTCDate(),f=$.getUTCHours(),L=$.getUTCMinutes(),Z=$.getUTCSeconds(),X=G<10?`0${G}`:`${G}`,F=f<10?`0${f}`:`${f}`,Y=L<10?`0${L}`:`${L}`,I=Z<10?`0${Z}`:`${Z}`;return`${t5[W]}, ${X} ${zU[w]} ${U} ${F}:${Y}:${I} GMT`},v1=function($){return encodeURIComponent($).replace(/[!'()*]/g,function(U){return"%"+U.charCodeAt(0).toString(16).toUpperCase()})},EU=function($,U,w){let W,G,f;if(typeof U==="undefined"&&typeof w==="undefined")W={},f=$;else if(W=$,typeof U==="function")return G=U,f=w,b9(W,G,f);else f=U;for(let L of Object.keys(f)){if(!Array.isArray(f[L])){W[L]=f[L];continue}D4(W,null,f,L)}return W},k4=function($,U,w){if(w<=0||!Number.isInteger(w))throw new Error("Invalid number of delimiters ("+w+") for splitEvery.");const W=$.split(U);if(w===1)return W;const G=[];let f="";for(let L=0;L<W.length;L++){if(f==="")f=W[L];else f+=U+W[L];if((L+1)%w===0)G.push(f),f=""}if(f!=="")G.push(f);return G},c1=Object.defineProperty,C5=Object.getOwnPropertyDescriptor,N5=Object.getOwnPropertyNames,q5=Object.prototype.hasOwnProperty,J=($,U)=>c1($,"name",{value:U,configurable:!0}),j5=($,U)=>{for(var w in U)c1($,w,{get:U[w],enumerable:!0})},P5=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of N5(U))if(!q5.call($,G)&&G!==w)c1($,G,{get:()=>U[G],enumerable:!(W=C5(U,G))||W.enumerable})}return $},S5=($)=>P5(c1({},"__esModule",{value:!0}),$),E4={};j5(E4,{Client:()=>h5,Command:()=>V4,LazyJsonString:()=>j9,NoOpLogger:()=>b5,SENSITIVE_STRING:()=>v5,ServiceException:()=>J9,StringWrapper:()=>o0,_json:()=>FU,collectBody:()=>D5,convertMap:()=>P9,createAggregatedClient:()=>c5,dateToUtcString:()=>N4,decorateServiceException:()=>j4,emitWarningIfUnsupportedVersion:()=>A9,expectBoolean:()=>u5,expectByte:()=>XU,expectFloat32:()=>D1,expectInt:()=>_5,expectInt32:()=>LU,expectLong:()=>i0,expectNonNull:()=>p5,expectNumber:()=>m0,expectObject:()=>B4,expectShort:()=>ZU,expectString:()=>g5,expectUnion:()=>l5,extendedEncodeURIComponent:()=>v1,getArrayIfSingleItem:()=>q9,getDefaultClientConfiguration:()=>C9,getDefaultExtensionConfiguration:()=>S4,getValueFromTextNode:()=>b4,handleFloat:()=>m5,limitedParseDouble:()=>QU,limitedParseFloat:()=>i5,limitedParseFloat32:()=>r5,loadConfigsForDefaultMode:()=>V9,logger:()=>r0,map:()=>EU,parseBoolean:()=>x5,parseEpochTimestamp:()=>Z9,parseRfc3339DateTime:()=>$9,parseRfc3339DateTimeWithOffset:()=>w9,parseRfc7231DateTime:()=>L9,resolveDefaultRuntimeConfig:()=>N9,resolvedPath:()=>k9,serializeDateTime:()=>c9,serializeFloat:()=>v9,splitEvery:()=>k4,strictParseByte:()=>C4,strictParseDouble:()=>IU,strictParseFloat:()=>s5,strictParseFloat32:()=>T4,strictParseInt:()=>o5,strictParseInt32:()=>a5,strictParseLong:()=>H4,strictParseShort:()=>H0,take:()=>S9,throwDefaultError:()=>P4,withBaseException:()=>K9});v4.exports=S5(E4);var R4=class ${trace(){}debug(){}info(){}warn(){}error(){}};J(R4,"NoOpLogger");var b5=R4,J4=S8(),K4=class ${constructor(U){this.middlewareStack=J4.constructStack(),this.config=U}send(U,w,W){const G=typeof w!=="function"?w:void 0,f=typeof w==="function"?w:W,L=U.resolveMiddleware(this.middlewareStack,this.config,G);if(f)L(U).then((Z)=>f(null,Z.output),(Z)=>f(Z)).catch(()=>{});else return L(U).then((Z)=>Z.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}};J(K4,"Client");var h5=K4,GU=Q4(),D5=J(async($=new Uint8Array,U)=>{if($ instanceof Uint8Array)return GU.Uint8ArrayBlobAdapter.mutate($);if(!$)return GU.Uint8ArrayBlobAdapter.mutate(new Uint8Array);const w=U.streamCollector($);return GU.Uint8ArrayBlobAdapter.mutate(await w)},"collectBody"),fU=Y0(),M4=class ${constructor(){this.middlewareStack=J4.constructStack()}static classBuilder(){return new k5}resolveMiddlewareWithContext(U,w,W,{middlewareFn:G,clientName:f,commandName:L,inputFilterSensitiveLog:Z,outputFilterSensitiveLog:X,smithyContext:F,additionalContext:Y,CommandCtor:I}){for(let M of G.bind(this)(I,U,w,W))this.middlewareStack.use(M);const z=U.concat(this.middlewareStack),{logger:Q}=w,E={logger:Q,clientName:f,commandName:L,inputFilterSensitiveLog:Z,outputFilterSensitiveLog:X,[fU.SMITHY_CONTEXT_KEY]:{commandInstance:this,...F},...Y},{requestHandler:A}=w;return z.resolve((M)=>A.handle(M.request,W||{}),E)}};J(M4,"Command");var V4=M4,A4=class ${constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(U)=>U,this._outputFilterSensitiveLog=(U)=>U,this._serializer=null,this._deserializer=null}init(U){this._init=U}ep(U){return this._ep=U,this}m(U){return this._middlewareFn=U,this}s(U,w,W={}){return this._smithyContext={service:U,operation:w,...W},this}c(U={}){return this._additionalContext=U,this}n(U,w){return this._clientName=U,this._commandName=w,this}f(U=(W)=>W,w=(W)=>W){return this._inputFilterSensitiveLog=U,this._outputFilterSensitiveLog=w,this}ser(U){return this._serializer=U,this}de(U){return this._deserializer=U,this}build(){var U;const w=this;let W;return W=(U=class extends V4{constructor(...[G]){super();this.serialize=w._serializer,this.deserialize=w._deserializer,this.input=G??{},w._init(this)}static getEndpointParameterInstructions(){return w._ep}resolveMiddleware(G,f,L){return this.resolveMiddlewareWithContext(G,f,L,{CommandCtor:W,middlewareFn:w._middlewareFn,clientName:w._clientName,commandName:w._commandName,inputFilterSensitiveLog:w._inputFilterSensitiveLog,outputFilterSensitiveLog:w._outputFilterSensitiveLog,smithyContext:w._smithyContext,additionalContext:w._additionalContext})}},J(U,"CommandRef"),U)}};J(A4,"ClassBuilder");var k5=A4,v5="***SensitiveInformation***",c5=J(($,U)=>{for(let w of Object.keys($)){const W=$[w],G=J(async function(L,Z,X){const F=new W(L);if(typeof Z==="function")this.send(F,Z);else if(typeof X==="function"){if(typeof Z!=="object")throw new Error(`Expected http options but got ${typeof Z}`);this.send(F,Z||{},X)}else return this.send(F,Z)},"methodImpl"),f=(w[0].toLowerCase()+w.slice(1)).replace(/Command$/,"");U.prototype[f]=G}},"createAggregatedClient"),x5=J(($)=>{switch($){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${$}"`)}},"parseBoolean"),u5=J(($)=>{if($===null||$===void 0)return;if(typeof $==="number"){if($===0||$===1)r0.warn(k1(`Expected boolean, got ${typeof $}: ${$}`));if($===0)return!1;if($===1)return!0}if(typeof $==="string"){const U=$.toLowerCase();if(U==="false"||U==="true")r0.warn(k1(`Expected boolean, got ${typeof $}: ${$}`));if(U==="false")return!1;if(U==="true")return!0}if(typeof $==="boolean")return $;throw new TypeError(`Expected boolean, got ${typeof $}: ${$}`)},"expectBoolean"),m0=J(($)=>{if($===null||$===void 0)return;if(typeof $==="string"){const U=parseFloat($);if(!Number.isNaN(U)){if(String(U)!==String($))r0.warn(k1(`Expected number but observed string: ${$}`));return U}}if(typeof $==="number")return $;throw new TypeError(`Expected number, got ${typeof $}: ${$}`)},"expectNumber"),y5=Math.ceil(340282346638528860000000000000000000000),D1=J(($)=>{const U=m0($);if(U!==void 0&&!Number.isNaN(U)&&U!==Infinity&&U!==(-Infinity)){if(Math.abs(U)>y5)throw new TypeError(`Expected 32-bit float, got ${$}`)}return U},"expectFloat32"),i0=J(($)=>{if($===null||$===void 0)return;if(Number.isInteger($)&&!Number.isNaN($))return $;throw new TypeError(`Expected integer, got ${typeof $}: ${$}`)},"expectLong"),_5=i0,LU=J(($)=>YU($,32),"expectInt32"),ZU=J(($)=>YU($,16),"expectShort"),XU=J(($)=>YU($,8),"expectByte"),YU=J(($,U)=>{const w=i0($);if(w!==void 0&&d5(w,U)!==w)throw new TypeError(`Expected ${U}-bit integer, got ${$}`);return w},"expectSizedInt"),d5=J(($,U)=>{switch(U){case 32:return Int32Array.of($)[0];case 16:return Int16Array.of($)[0];case 8:return Int8Array.of($)[0]}},"castInt"),p5=J(($,U)=>{if($===null||$===void 0){if(U)throw new TypeError(`Expected a non-null value for ${U}`);throw new TypeError("Expected a non-null value")}return $},"expectNonNull"),B4=J(($)=>{if($===null||$===void 0)return;if(typeof $==="object"&&!Array.isArray($))return $;const U=Array.isArray($)?"array":typeof $;throw new TypeError(`Expected object, got ${U}: ${$}`)},"expectObject"),g5=J(($)=>{if($===null||$===void 0)return;if(typeof $==="string")return $;if(["boolean","number","bigint"].includes(typeof $))return r0.warn(k1(`Expected string, got ${typeof $}: ${$}`)),String($);throw new TypeError(`Expected string, got ${typeof $}: ${$}`)},"expectString"),l5=J(($)=>{if($===null||$===void 0)return;const U=B4($),w=Object.entries(U).filter(([,W])=>W!=null).map(([W])=>W);if(w.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(w.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${w} were not null.`);return U},"expectUnion"),IU=J(($)=>{if(typeof $=="string")return m0(N0($));return m0($)},"strictParseDouble"),s5=IU,T4=J(($)=>{if(typeof $=="string")return D1(N0($));return D1($)},"strictParseFloat32"),n5=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,N0=J(($)=>{const U=$.match(n5);if(U===null||U[0].length!==$.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat($)},"parseNumber"),QU=J(($)=>{if(typeof $=="string")return O4($);return m0($)},"limitedParseDouble"),m5=QU,i5=QU,r5=J(($)=>{if(typeof $=="string")return O4($);return D1($)},"limitedParseFloat32"),O4=J(($)=>{switch($){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return (-Infinity);default:throw new Error(`Unable to parse float value: ${$}`)}},"parseFloatString"),H4=J(($)=>{if(typeof $==="string")return i0(N0($));return i0($)},"strictParseLong"),o5=H4,a5=J(($)=>{if(typeof $==="string")return LU(N0($));return LU($)},"strictParseInt32"),H0=J(($)=>{if(typeof $==="string")return ZU(N0($));return ZU($)},"strictParseShort"),C4=J(($)=>{if(typeof $==="string")return XU(N0($));return XU($)},"strictParseByte"),k1=J(($)=>{return String(new TypeError($).stack||$).split("\n").slice(0,5).filter((U)=>!U.includes("stackTraceWarning")).join("\n")},"stackTraceWarning"),r0={warn:console.warn},t5=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],zU=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];J(N4,"dateToUtcString");var e5=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),$9=J(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const U=e5.exec($);if(!U)throw new TypeError("Invalid RFC-3339 date-time value");const[w,W,G,f,L,Z,X,F]=U,Y=H0(C0(W)),I=n(G,"month",1,12),z=n(f,"day",1,31);return n0(Y,I,z,{hours:L,minutes:Z,seconds:X,fractionalMilliseconds:F})},"parseRfc3339DateTime"),U9=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),w9=J(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");const U=U9.exec($);if(!U)throw new TypeError("Invalid RFC-3339 date-time value");const[w,W,G,f,L,Z,X,F,Y]=U,I=H0(C0(W)),z=n(G,"month",1,12),Q=n(f,"day",1,31),E=n0(I,z,Q,{hours:L,minutes:Z,seconds:X,fractionalMilliseconds:F});if(Y.toUpperCase()!="Z")E.setTime(E.getTime()-R9(Y));return E},"parseRfc3339DateTimeWithOffset"),G9=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),W9=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),f9=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),L9=J(($)=>{if($===null||$===void 0)return;if(typeof $!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let U=G9.exec($);if(U){const[w,W,G,f,L,Z,X,F]=U;return n0(H0(C0(f)),WU(G),n(W,"day",1,31),{hours:L,minutes:Z,seconds:X,fractionalMilliseconds:F})}if(U=W9.exec($),U){const[w,W,G,f,L,Z,X,F]=U;return Y9(n0(X9(f),WU(G),n(W,"day",1,31),{hours:L,minutes:Z,seconds:X,fractionalMilliseconds:F}))}if(U=f9.exec($),U){const[w,W,G,f,L,Z,X,F]=U;return n0(H0(C0(F)),WU(W),n(G.trimLeft(),"day",1,31),{hours:f,minutes:L,seconds:Z,fractionalMilliseconds:X})}throw new TypeError("Invalid RFC-7231 date-time value")},"parseRfc7231DateTime"),Z9=J(($)=>{if($===null||$===void 0)return;let U;if(typeof $==="number")U=$;else if(typeof $==="string")U=IU($);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(U)||U===Infinity||U===(-Infinity))throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(U*1000))},"parseEpochTimestamp"),n0=J(($,U,w,W)=>{const G=U-1;return Q9($,G,w),new Date(Date.UTC($,G,w,n(W.hours,"hour",0,23),n(W.minutes,"minute",0,59),n(W.seconds,"seconds",0,60),E9(W.fractionalMilliseconds)))},"buildDate"),X9=J(($)=>{const U=(new Date()).getUTCFullYear(),w=Math.floor(U/100)*100+H0(C0($));if(w<U)return w+100;return w},"parseTwoDigitYear"),F9=1576800000000,Y9=J(($)=>{if($.getTime()-(new Date()).getTime()>F9)return new Date(Date.UTC($.getUTCFullYear()-100,$.getUTCMonth(),$.getUTCDate(),$.getUTCHours(),$.getUTCMinutes(),$.getUTCSeconds(),$.getUTCMilliseconds()));return $},"adjustRfc850Year"),WU=J(($)=>{const U=zU.indexOf($);if(U<0)throw new TypeError(`Invalid month: ${$}`);return U+1},"parseMonthByShortName"),I9=[31,28,31,30,31,30,31,31,30,31,30,31],Q9=J(($,U,w)=>{let W=I9[U];if(U===1&&z9($))W=29;if(w>W)throw new TypeError(`Invalid day for ${zU[U]} in ${$}: ${w}`)},"validateDayOfMonth"),z9=J(($)=>{return $%4===0&&($%100!==0||$%400===0)},"isLeapYear"),n=J(($,U,w,W)=>{const G=C4(C0($));if(G<w||G>W)throw new TypeError(`${U} must be between ${w} and ${W}, inclusive`);return G},"parseDateValue"),E9=J(($)=>{if($===null||$===void 0)return 0;return T4("0."+$)*1000},"parseMilliseconds"),R9=J(($)=>{const U=$[0];let w=1;if(U=="+")w=1;else if(U=="-")w=-1;else throw new TypeError(`Offset direction, ${U}, must be "+" or "-"`);const W=Number($.substring(1,3)),G=Number($.substring(4,6));return w*(W*60+G)*60*1000},"parseOffsetToMilliseconds"),C0=J(($)=>{let U=0;while(U<$.length-1&&$.charAt(U)==="0")U++;if(U===0)return $;return $.slice(U)},"stripLeadingZeroes"),q4=class $ extends Error{constructor(U){super(U.message);Object.setPrototypeOf(this,$.prototype),this.name=U.name,this.$fault=U.$fault,this.$metadata=U.$metadata}};J(q4,"ServiceException");var J9=q4,j4=J(($,U={})=>{Object.entries(U).filter(([,W])=>W!==void 0).forEach(([W,G])=>{if($[W]==null||$[W]==="")$[W]=G});const w=$.message||$.Message||"UnknownError";return $.message=w,delete $.Message,$},"decorateServiceException"),P4=J(({output:$,parsedBody:U,exceptionCtor:w,errorCode:W})=>{const G=M9($),f=G.httpStatusCode?G.httpStatusCode+"":void 0,L=new w({name:(U==null?void 0:U.code)||(U==null?void 0:U.Code)||W||f||"UnknownError",$fault:"client",$metadata:G});throw j4(L,U)},"throwDefaultError"),K9=J(($)=>{return({output:U,parsedBody:w,errorCode:W})=>{P4({output:U,parsedBody:w,exceptionCtor:$,errorCode:W})}},"withBaseException"),M9=J(($)=>({httpStatusCode:$.statusCode,requestId:$.headers["x-amzn-requestid"]??$.headers["x-amzn-request-id"]??$.headers["x-amz-request-id"],extendedRequestId:$.headers["x-amz-id-2"],cfId:$.headers["x-amz-cf-id"]}),"deserializeMetadata"),V9=J(($)=>{switch($){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}},"loadConfigsForDefaultMode"),z4=!1,A9=J(($)=>{if($&&!z4&&parseInt($.substring(1,$.indexOf(".")))<16)z4=!0},"emitWarningIfUnsupportedVersion"),B9=J(($)=>{const U=[];for(let w in fU.AlgorithmId){const W=fU.AlgorithmId[w];if($[W]===void 0)continue;U.push({algorithmId:()=>W,checksumConstructor:()=>$[W]})}return{_checksumAlgorithms:U,addChecksumAlgorithm(w){this._checksumAlgorithms.push(w)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),T9=J(($)=>{const U={};return $.checksumAlgorithms().forEach((w)=>{U[w.algorithmId()]=w.checksumConstructor()}),U},"resolveChecksumRuntimeConfig"),O9=J(($)=>{let U=$.retryStrategy;return{setRetryStrategy(w){U=w},retryStrategy(){return U}}},"getRetryConfiguration"),H9=J(($)=>{const U={};return U.retryStrategy=$.retryStrategy(),U},"resolveRetryRuntimeConfig"),S4=J(($)=>{return{...B9($),...O9($)}},"getDefaultExtensionConfiguration"),C9=S4,N9=J(($)=>{return{...T9($),...H9($)}},"resolveDefaultRuntimeConfig");J(v1,"extendedEncodeURIComponent");var q9=J(($)=>Array.isArray($)?$:[$],"getArrayIfSingleItem"),b4=J(($)=>{for(let w in $)if($.hasOwnProperty(w)&&$[w]["#text"]!==void 0)$[w]=$[w]["#text"];else if(typeof $[w]==="object"&&$[w]!==null)$[w]=b4($[w]);return $},"getValueFromTextNode"),o0=J(function(){const $=Object.getPrototypeOf(this).constructor,w=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(w,$.prototype),w},"StringWrapper");o0.prototype=Object.create(String.prototype,{constructor:{value:o0,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(o0,String);var h4=class $ extends o0{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(U){if(U instanceof $)return U;else if(U instanceof String||typeof U==="string")return new $(U);return new $(JSON.stringify(U))}};J(h4,"LazyJsonString");var j9=h4;J(EU,"map");var P9=J(($)=>{const U={};for(let[w,W]of Object.entries($||{}))U[w]=[,W];return U},"convertMap"),S9=J(($,U)=>{const w={};for(let W in U)D4(w,$,U,W);return w},"take"),b9=J(($,U,w)=>{return EU($,Object.entries(w).reduce((W,[G,f])=>{if(Array.isArray(f))W[G]=f;else if(typeof f==="function")W[G]=[U,f()];else W[G]=[U,f];return W},{}))},"mapWithFilter"),D4=J(($,U,w,W)=>{if(U!==null){let L=w[W];if(typeof L==="function")L=[,L];const[Z=h9,X=D9,F=W]=L;if(typeof Z==="function"&&Z(U[F])||typeof Z!=="function"&&!!Z)$[W]=X(U[F]);return}let[G,f]=w[W];if(typeof f==="function"){let L;const Z=G===void 0&&(L=f())!=null,X=typeof G==="function"&&!!G(void 0)||typeof G!=="function"&&!!G;if(Z)$[W]=L;else if(X)$[W]=f()}else{const L=G===void 0&&f!=null,Z=typeof G==="function"&&!!G(f)||typeof G!=="function"&&!!G;if(L||Z)$[W]=f}},"applyInstruction"),h9=J(($)=>$!=null,"nonNullish"),D9=J(($)=>$,"pass"),k9=J(($,U,w,W,G,f)=>{if(U!=null&&U[w]!==void 0){const L=W();if(L.length<=0)throw new Error("Empty value provided for input HTTP label: "+w+".");$=$.replace(G,f?L.split("/").map((Z)=>v1(Z)).join("/"):v1(L))}else throw new Error("No value provided for input HTTP label: "+w+".");return $},"resolvedPath"),v9=J(($)=>{if($!==$)return"NaN";switch($){case Infinity:return"Infinity";case (-Infinity):return"-Infinity";default:return $}},"serializeFloat"),c9=J(($)=>$.toISOString().replace(".000Z","Z"),"serializeDateTime"),FU=J(($)=>{if($==null)return{};if(Array.isArray($))return $.filter((U)=>U!=null).map(FU);if(typeof $==="object"){const U={};for(let w of Object.keys($)){if($[w]==null)continue;U[w]=FU($[w])}return U}return $},"_json");J(k4,"splitEvery")});var u4=K((c4)=>{Object.defineProperty(c4,"__esModule",{value:!0});c4.isStreamingPayload=void 0;var x9=import.meta.require("stream"),u9=($)=>($===null||$===void 0?void 0:$.body)instanceof x9.Readable||typeof ReadableStream!=="undefined"&&($===null||$===void 0?void 0:$.body)instanceof ReadableStream;c4.isStreamingPayload=u9});var w6=K((OJ,U6)=>{var{defineProperty:x1,getOwnPropertyDescriptor:y9,getOwnPropertyNames:_9}=Object,d9=Object.prototype.hasOwnProperty,S=($,U)=>x1($,"name",{value:U,configurable:!0}),p9=($,U)=>{for(var w in U)x1($,w,{get:U[w],enumerable:!0})},g9=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of _9(U))if(!d9.call($,G)&&G!==w)x1($,G,{get:()=>U[G],enumerable:!(W=y9(U,G))||W.enumerable})}return $},l9=($)=>g9(x1({},"__esModule",{value:!0}),$),_4={};p9(_4,{AdaptiveRetryStrategy:()=>m9,CONFIG_MAX_ATTEMPTS:()=>JU,CONFIG_RETRY_MODE:()=>r4,ENV_MAX_ATTEMPTS:()=>RU,ENV_RETRY_MODE:()=>i4,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:()=>i9,NODE_RETRY_MODE_CONFIG_OPTIONS:()=>o9,StandardRetryStrategy:()=>n4,defaultDelayDecider:()=>p4,defaultRetryDecider:()=>g4,getOmitRetryHeadersPlugin:()=>a9,getRetryAfterHint:()=>$6,getRetryPlugin:()=>GQ,omitRetryHeadersMiddleware:()=>o4,omitRetryHeadersMiddlewareOptions:()=>a4,resolveRetryConfig:()=>r9,retryMiddleware:()=>t4,retryMiddlewareOptions:()=>e4});U6.exports=l9(_4);var j0=i(),d4=D$(),N=C8(),s9=S(($,U)=>{const w=$,W=(U==null?void 0:U.noRetryIncrement)??N.NO_RETRY_INCREMENT,G=(U==null?void 0:U.retryCost)??N.RETRY_COST,f=(U==null?void 0:U.timeoutRetryCost)??N.TIMEOUT_RETRY_COST;let L=$;const Z=S((I)=>I.name==="TimeoutError"?f:G,"getCapacityAmount"),X=S((I)=>Z(I)<=L,"hasRetryTokens");return Object.freeze({hasRetryTokens:X,retrieveRetryTokens:S((I)=>{if(!X(I))throw new Error("No retry token available");const z=Z(I);return L-=z,z},"retrieveRetryTokens"),releaseRetryTokens:S((I)=>{L+=I??W,L=Math.min(L,w)},"releaseRetryTokens")})},"getDefaultRetryQuota"),p4=S(($,U)=>Math.floor(Math.min(N.MAXIMUM_RETRY_DELAY,Math.random()*2**U*$)),"defaultDelayDecider"),G0=Q0(),g4=S(($)=>{if(!$)return!1;return G0.isRetryableByTrait($)||G0.isClockSkewError($)||G0.isThrottlingError($)||G0.isTransientError($)},"defaultRetryDecider"),l4=S(($)=>{if($ instanceof Error)return $;if($ instanceof Object)return Object.assign(new Error,$);if(typeof $==="string")return new Error($);return new Error(`AWS SDK error wrapper for ${$}`)},"asSdkError"),s4=class ${constructor(U,w){this.maxAttemptsProvider=U,this.mode=N.RETRY_MODES.STANDARD,this.retryDecider=(w==null?void 0:w.retryDecider)??g4,this.delayDecider=(w==null?void 0:w.delayDecider)??p4,this.retryQuota=(w==null?void 0:w.retryQuota)??s9(N.INITIAL_RETRY_TOKENS)}shouldRetry(U,w,W){return w<W&&this.retryDecider(U)&&this.retryQuota.hasRetryTokens(U)}async getMaxAttempts(){let U;try{U=await this.maxAttemptsProvider()}catch(w){U=N.DEFAULT_MAX_ATTEMPTS}return U}async retry(U,w,W){let G,f=0,L=0;const Z=await this.getMaxAttempts(),{request:X}=w;if(j0.HttpRequest.isInstance(X))X.headers[N.INVOCATION_ID_HEADER]=d4.v4();while(!0)try{if(j0.HttpRequest.isInstance(X))X.headers[N.REQUEST_HEADER]=`attempt=${f+1}; max=${Z}`;if(W==null?void 0:W.beforeRequest)await W.beforeRequest();const{response:F,output:Y}=await U(w);if(W==null?void 0:W.afterRequest)W.afterRequest(F);return this.retryQuota.releaseRetryTokens(G),Y.$metadata.attempts=f+1,Y.$metadata.totalRetryDelay=L,{response:F,output:Y}}catch(F){const Y=l4(F);if(f++,this.shouldRetry(Y,f,Z)){G=this.retryQuota.retrieveRetryTokens(Y);const I=this.delayDecider(G0.isThrottlingError(Y)?N.THROTTLING_RETRY_DELAY_BASE:N.DEFAULT_RETRY_DELAY_BASE,f),z=n9(Y.$response),Q=Math.max(z||0,I);L+=Q,await new Promise((E)=>setTimeout(E,Q));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=f,Y.$metadata.totalRetryDelay=L,Y}}};S(s4,"StandardRetryStrategy");var n4=s4,n9=S(($)=>{if(!j0.HttpResponse.isInstance($))return;const U=Object.keys($.headers).find((f)=>f.toLowerCase()==="retry-after");if(!U)return;const w=$.headers[U],W=Number(w);if(!Number.isNaN(W))return W*1000;return new Date(w).getTime()-Date.now()},"getDelayFromRetryAfterHeader"),m4=class $ extends n4{constructor(U,w){const{rateLimiter:W,...G}=w??{};super(U,G);this.rateLimiter=W??new N.DefaultRateLimiter,this.mode=N.RETRY_MODES.ADAPTIVE}async retry(U,w){return super.retry(U,w,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(W)=>{this.rateLimiter.updateClientSendingRate(W)}})}};S(m4,"AdaptiveRetryStrategy");var m9=m4,y4=v0(),RU="AWS_MAX_ATTEMPTS",JU="max_attempts",i9={environmentVariableSelector:($)=>{const U=$[RU];if(!U)return;const w=parseInt(U);if(Number.isNaN(w))throw new Error(`Environment variable ${RU} mast be a number, got "${U}"`);return w},configFileSelector:($)=>{const U=$[JU];if(!U)return;const w=parseInt(U);if(Number.isNaN(w))throw new Error(`Shared config file entry ${JU} mast be a number, got "${U}"`);return w},default:N.DEFAULT_MAX_ATTEMPTS},r9=S(($)=>{const{retryStrategy:U}=$,w=y4.normalizeProvider($.maxAttempts??N.DEFAULT_MAX_ATTEMPTS);return{...$,maxAttempts:w,retryStrategy:async()=>{if(U)return U;if(await y4.normalizeProvider($.retryMode)()===N.RETRY_MODES.ADAPTIVE)return new N.AdaptiveRetryStrategy(w);return new N.StandardRetryStrategy(w)}}},"resolveRetryConfig"),i4="AWS_RETRY_MODE",r4="retry_mode",o9={environmentVariableSelector:($)=>$[i4],configFileSelector:($)=>$[r4],default:N.DEFAULT_RETRY_MODE},o4=S(()=>($)=>async(U)=>{const{request:w}=U;if(j0.HttpRequest.isInstance(w))delete w.headers[N.INVOCATION_ID_HEADER],delete w.headers[N.REQUEST_HEADER];return $(U)},"omitRetryHeadersMiddleware"),a4={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},a9=S(($)=>({applyToStack:(U)=>{U.addRelativeTo(o4(),a4)}}),"getOmitRetryHeadersPlugin"),t9=q0(),e9=u4(),t4=S(($)=>(U,w)=>async(W)=>{var G;let f=await $.retryStrategy();const L=await $.maxAttempts();if($Q(f)){f=f;let Z=await f.acquireInitialRetryToken(w.partition_id),X=new Error,F=0,Y=0;const{request:I}=W,z=j0.HttpRequest.isInstance(I);if(z)I.headers[N.INVOCATION_ID_HEADER]=d4.v4();while(!0)try{if(z)I.headers[N.REQUEST_HEADER]=`attempt=${F+1}; max=${L}`;const{response:Q,output:E}=await U(W);return f.recordSuccess(Z),E.$metadata.attempts=F+1,E.$metadata.totalRetryDelay=Y,{response:Q,output:E}}catch(Q){const E=UQ(Q);if(X=l4(Q),z&&e9.isStreamingPayload(I))throw(G=w.logger instanceof t9.NoOpLogger?console:w.logger)==null||G.warn("An error was encountered in a non-retryable streaming request."),X;try{Z=await f.refreshRetryTokenForRetry(Z,E)}catch(M){if(!X.$metadata)X.$metadata={};throw X.$metadata.attempts=F+1,X.$metadata.totalRetryDelay=Y,X}F=Z.getRetryCount();const A=Z.getRetryDelay();Y+=A,await new Promise((M)=>setTimeout(M,A))}}else{if(f=f,f==null?void 0:f.mode)w.userAgent=[...w.userAgent||[],["cfg/retry-mode",f.mode]];return f.retry(U,W)}},"retryMiddleware"),$Q=S(($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined","isRetryStrategyV2"),UQ=S(($)=>{const U={error:$,errorType:wQ($)},w=$6($.$response);if(w)U.retryAfterHint=w;return U},"getRetryErrorInfo"),wQ=S(($)=>{if(G0.isThrottlingError($))return"THROTTLING";if(G0.isTransientError($))return"TRANSIENT";if(G0.isServerError($))return"SERVER_ERROR";return"CLIENT_ERROR"},"getRetryErrorType"),e4={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},GQ=S(($)=>({applyToStack:(U)=>{U.add(t4($),e4)}}),"getRetryPlugin"),$6=S(($)=>{if(!j0.HttpResponse.isInstance($))return;const U=Object.keys($.headers).find((f)=>f.toLowerCase()==="retry-after");if(!U)return;const w=$.headers[U],W=Number(w);if(!Number.isNaN(W))return new Date(W*1000);return new Date(w)},"getRetryAfterHint")});var MU=K((HJ,B6)=>{var f6=function($){const U=new Map;for(let w of $)U.set(w.schemeId,w);return U},K6=function($,U){return new V6($,U)},A6=function($,U,w,W,G){return C(async function*f(L,Z,...X){let F=L.startingToken||void 0,Y=!0,I;while(Y){if(Z[w]=F,G)Z[G]=Z[G]??L.pageSize;if(L.client instanceof $)I=await qQ(U,L.client,Z,...X);else throw new Error(`Invalid client, expected instance of ${$.name}`);yield I;const z=F;F=jQ(I,W),Y=!!(F&&(!L.stopOnSameToken||F!==z))}return},"paginateOperation")},y1=Object.defineProperty,WQ=Object.getOwnPropertyDescriptor,fQ=Object.getOwnPropertyNames,LQ=Object.prototype.hasOwnProperty,C=($,U)=>y1($,"name",{value:U,configurable:!0}),ZQ=($,U)=>{for(var w in U)y1($,w,{get:U[w],enumerable:!0})},XQ=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of fQ(U))if(!LQ.call($,G)&&G!==w)y1($,G,{get:()=>U[G],enumerable:!(W=WQ(U,G))||W.enumerable})}return $},FQ=($)=>XQ(y1({},"__esModule",{value:!0}),$),G6={};ZQ(G6,{DefaultIdentityProviderConfig:()=>MQ,EXPIRATION_MS:()=>R6,HttpApiKeyAuthSigner:()=>VQ,HttpBearerAuthSigner:()=>AQ,NoAuthSigner:()=>BQ,RequestBuilder:()=>V6,createIsIdentityExpiredFunction:()=>E6,createPaginator:()=>A6,doesIdentityRequireRefresh:()=>J6,getHttpAuthSchemeEndpointRuleSetPlugin:()=>IQ,getHttpAuthSchemePlugin:()=>zQ,getHttpSigningPlugin:()=>KQ,getSmithyContext:()=>HQ,httpAuthSchemeEndpointRuleSetMiddlewareOptions:()=>L6,httpAuthSchemeMiddleware:()=>KU,httpAuthSchemeMiddlewareOptions:()=>Z6,httpSigningMiddleware:()=>X6,httpSigningMiddlewareOptions:()=>F6,isIdentityExpired:()=>TQ,memoizeIdentityProvider:()=>OQ,normalizeProvider:()=>CQ,requestBuilder:()=>K6});B6.exports=FQ(G6);var W6=v0();C(f6,"convertHttpAuthSchemesToMap");var KU=C(($,U)=>(w,W)=>async(G)=>{var f;const L=$.httpAuthSchemeProvider(await U.httpAuthSchemeParametersProvider($,W,G.input)),Z=f6($.httpAuthSchemes),X=W6.getSmithyContext(W),F=[];for(let Y of L){const I=Z.get(Y.schemeId);if(!I){F.push(`HttpAuthScheme \`${Y.schemeId}\` was not enabled for this service.`);continue}const z=I.identityProvider(await U.identityProviderConfigProvider($));if(!z){F.push(`HttpAuthScheme \`${Y.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:Q={},signingProperties:E={}}=((f=Y.propertiesExtractor)==null?void 0:f.call(Y,$,W))||{};Y.identityProperties=Object.assign(Y.identityProperties||{},Q),Y.signingProperties=Object.assign(Y.signingProperties||{},E),X.selectedHttpAuthScheme={httpAuthOption:Y,identity:await z(Y.identityProperties),signer:I.signer};break}if(!X.selectedHttpAuthScheme)throw new Error(F.join("\n"));return w(G)},"httpAuthSchemeMiddleware"),YQ=fG(),L6={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:YQ.endpointMiddlewareOptions.name},IQ=C(($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:w})=>({applyToStack:(W)=>{W.addRelativeTo(KU($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:w}),L6)}}),"getHttpAuthSchemeEndpointRuleSetPlugin"),QQ=C$(),Z6={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:QQ.serializerMiddlewareOption.name},zQ=C(($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:w})=>({applyToStack:(W)=>{W.addRelativeTo(KU($,{httpAuthSchemeParametersProvider:U,identityProviderConfigProvider:w}),Z6)}}),"getHttpAuthSchemePlugin"),_1=i(),EQ=C(($)=>(U)=>{throw U},"defaultErrorHandler"),RQ=C(($,U)=>{},"defaultSuccessHandler"),X6=C(($)=>(U,w)=>async(W)=>{if(!_1.HttpRequest.isInstance(W.request))return U(W);const f=W6.getSmithyContext(w).selectedHttpAuthScheme;if(!f)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:L={}},identity:Z,signer:X}=f,F=await U({...W,request:await X.sign(W.request,Z,L)}).catch((X.errorHandler||EQ)(L));return(X.successHandler||RQ)(F.response,L),F},"httpSigningMiddleware"),JQ=w6(),F6={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:JQ.retryMiddlewareOptions.name},KQ=C(($)=>({applyToStack:(U)=>{U.addRelativeTo(X6($),F6)}}),"getHttpSigningPlugin"),Y6=class ${constructor(U){this.authSchemes=new Map;for(let[w,W]of Object.entries(U))if(W!==void 0)this.authSchemes.set(w,W)}getIdentityProvider(U){return this.authSchemes.get(U)}};C(Y6,"DefaultIdentityProviderConfig");var MQ=Y6,u1=Y0(),I6=class ${async sign(U,w,W){if(!W)throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!W.name)throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!W.in)throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!w.apiKey)throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");const G=_1.HttpRequest.clone(U);if(W.in===u1.HttpApiKeyAuthLocation.QUERY)G.query[W.name]=w.apiKey;else if(W.in===u1.HttpApiKeyAuthLocation.HEADER)G.headers[W.name]=W.scheme?`${W.scheme} ${w.apiKey}`:w.apiKey;else throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+W.in+"`");return G}};C(I6,"HttpApiKeyAuthSigner");var VQ=I6,Q6=class ${async sign(U,w,W){const G=_1.HttpRequest.clone(U);if(!w.token)throw new Error("request could not be signed with `token` since the `token` is not defined");return G.headers.Authorization=`Bearer ${w.token}`,G}};C(Q6,"HttpBearerAuthSigner");var AQ=Q6,z6=class ${async sign(U,w,W){return U}};C(z6,"NoAuthSigner");var BQ=z6,E6=C(($)=>(U)=>J6(U)&&U.expiration.getTime()-Date.now()<$,"createIsIdentityExpiredFunction"),R6=300000,TQ=E6(R6),J6=C(($)=>$.expiration!==void 0,"doesIdentityRequireRefresh"),OQ=C(($,U,w)=>{if($===void 0)return;const W=typeof $!=="function"?async()=>Promise.resolve($):$;let G,f,L,Z=!1;const X=C(async(F)=>{if(!f)f=W(F);try{G=await f,L=!0,Z=!1}finally{f=void 0}return G},"coalesceProvider");if(U===void 0)return async(F)=>{if(!L||(F==null?void 0:F.forceRefresh))G=await X(F);return G};return async(F)=>{if(!L||(F==null?void 0:F.forceRefresh))G=await X(F);if(Z)return G;if(!w(G))return Z=!0,G;if(U(G))return await X(F),G;return G}},"memoizeIdentityProvider"),HQ=C(($)=>$[u1.SMITHY_CONTEXT_KEY]||($[u1.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),CQ=C(($)=>{if(typeof $==="function")return $;const U=Promise.resolve($);return()=>U},"normalizeProvider"),NQ=q0();C(K6,"requestBuilder");var M6=class ${constructor(U,w){this.input=U,this.context=w,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:U,protocol:w="https",port:W,path:G}=await this.context.endpoint();this.path=G;for(let f of this.resolvePathStack)f(this.path);return new _1.HttpRequest({protocol:w,hostname:this.hostname||U,port:W,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(U){return this.hostname=U,this}bp(U){return this.resolvePathStack.push((w)=>{this.path=`${(w==null?void 0:w.endsWith("/"))?w.slice(0,-1):w||""}`+U}),this}p(U,w,W,G){return this.resolvePathStack.push((f)=>{this.path=NQ.resolvedPath(f,this.input,U,w,W,G)}),this}h(U){return this.headers=U,this}q(U){return this.query=U,this}b(U){return this.body=U,this}m(U){return this.method=U,this}};C(M6,"RequestBuilder");var V6=M6,qQ=C(async($,U,w,...W)=>{return await U.send(new $(w),...W)},"makePagedClientRequest");C(A6,"createPaginator");var jQ=C(($,U)=>{let w=$;const W=U.split(".");for(let G of W){if(!w||typeof w!=="object")return;w=w[G]}return w},"get")});var uf=K((pB,W$)=>{var If,Qf,zf,Ef,Rf,Jf,Kf,Mf,Vf,Af,Bf,Tf,Of,w$,yU,Hf,Cf,Nf,D0,qf,jf,Pf,Sf,bf,hf,Df,kf,vf,G$,cf,xf;(function($){var U=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(W){$(w(U,w(W)))});else if(typeof W$==="object"&&typeof pB==="object")$(w(U,w(pB)));else $(w(U));function w(W,G){if(W!==U)if(typeof Object.create==="function")Object.defineProperty(W,"__esModule",{value:!0});else W.__esModule=!0;return function(f,L){return W[f]=G?G(f,L):L}}})(function($){var U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,f){G.__proto__=f}||function(G,f){for(var L in f)if(Object.prototype.hasOwnProperty.call(f,L))G[L]=f[L]};If=function(G,f){if(typeof f!=="function"&&f!==null)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");U(G,f);function L(){this.constructor=G}G.prototype=f===null?Object.create(f):(L.prototype=f.prototype,new L)},Qf=Object.assign||function(G){for(var f,L=1,Z=arguments.length;L<Z;L++){f=arguments[L];for(var X in f)if(Object.prototype.hasOwnProperty.call(f,X))G[X]=f[X]}return G},zf=function(G,f){var L={};for(var Z in G)if(Object.prototype.hasOwnProperty.call(G,Z)&&f.indexOf(Z)<0)L[Z]=G[Z];if(G!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var X=0,Z=Object.getOwnPropertySymbols(G);X<Z.length;X++)if(f.indexOf(Z[X])<0&&Object.prototype.propertyIsEnumerable.call(G,Z[X]))L[Z[X]]=G[Z[X]]}return L},Ef=function(G,f,L,Z){var X=arguments.length,F=X<3?f:Z===null?Z=Object.getOwnPropertyDescriptor(f,L):Z,Y;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")F=Reflect.decorate(G,f,L,Z);else for(var I=G.length-1;I>=0;I--)if(Y=G[I])F=(X<3?Y(F):X>3?Y(f,L,F):Y(f,L))||F;return X>3&&F&&Object.defineProperty(f,L,F),F},Rf=function(G,f){return function(L,Z){f(L,Z,G)}},Jf=function(G,f,L,Z,X,F){function Y(O){if(O!==void 0&&typeof O!=="function")throw new TypeError("Function expected");return O}var I=Z.kind,z=I==="getter"?"get":I==="setter"?"set":"value",Q=!f&&G?Z.static?G:G.prototype:null,E=f||(Q?Object.getOwnPropertyDescriptor(Q,Z.name):{}),A,M=!1;for(var R=L.length-1;R>=0;R--){var V={};for(var B in Z)V[B]=B==="access"?{}:Z[B];for(var B in Z.access)V.access[B]=Z.access[B];V.addInitializer=function(O){if(M)throw new TypeError("Cannot add initializers after decoration has completed");F.push(Y(O||null))};var T=L[R](I==="accessor"?{get:E.get,set:E.set}:E[z],V);if(I==="accessor"){if(T===void 0)continue;if(T===null||typeof T!=="object")throw new TypeError("Object expected");if(A=Y(T.get))E.get=A;if(A=Y(T.set))E.set=A;if(A=Y(T.init))X.unshift(A)}else if(A=Y(T))if(I==="field")X.unshift(A);else E[z]=A}if(Q)Object.defineProperty(Q,Z.name,E);M=!0},Kf=function(G,f,L){var Z=arguments.length>2;for(var X=0;X<f.length;X++)L=Z?f[X].call(G,L):f[X].call(G);return Z?L:void 0},Mf=function(G){return typeof G==="symbol"?G:"".concat(G)},Vf=function(G,f,L){if(typeof f==="symbol")f=f.description?"[".concat(f.description,"]"):"";return Object.defineProperty(G,"name",{configurable:!0,value:L?"".concat(L," ",f):f})},Af=function(G,f){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(G,f)},Bf=function(G,f,L,Z){function X(F){return F instanceof L?F:new L(function(Y){Y(F)})}return new(L||(L=Promise))(function(F,Y){function I(E){try{Q(Z.next(E))}catch(A){Y(A)}}function z(E){try{Q(Z.throw(E))}catch(A){Y(A)}}function Q(E){E.done?F(E.value):X(E.value).then(I,z)}Q((Z=Z.apply(G,f||[])).next())})},Tf=function(G,f){var L={label:0,sent:function(){if(F[0]&1)throw F[1];return F[1]},trys:[],ops:[]},Z,X,F,Y;return Y={next:I(0),throw:I(1),return:I(2)},typeof Symbol==="function"&&(Y[Symbol.iterator]=function(){return this}),Y;function I(Q){return function(E){return z([Q,E])}}function z(Q){if(Z)throw new TypeError("Generator is already executing.");while(Y&&(Y=0,Q[0]&&(L=0)),L)try{if(Z=1,X&&(F=Q[0]&2?X.return:Q[0]?X.throw||((F=X.return)&&F.call(X),0):X.next)&&!(F=F.call(X,Q[1])).done)return F;if(X=0,F)Q=[Q[0]&2,F.value];switch(Q[0]){case 0:case 1:F=Q;break;case 4:return L.label++,{value:Q[1],done:!1};case 5:L.label++,X=Q[1],Q=[0];continue;case 7:Q=L.ops.pop(),L.trys.pop();continue;default:if((F=L.trys,!(F=F.length>0&&F[F.length-1]))&&(Q[0]===6||Q[0]===2)){L=0;continue}if(Q[0]===3&&(!F||Q[1]>F[0]&&Q[1]<F[3])){L.label=Q[1];break}if(Q[0]===6&&L.label<F[1]){L.label=F[1],F=Q;break}if(F&&L.label<F[2]){L.label=F[2],L.ops.push(Q);break}if(F[2])L.ops.pop();L.trys.pop();continue}Q=f.call(G,L)}catch(E){Q=[6,E],X=0}finally{Z=F=0}if(Q[0]&5)throw Q[1];return{value:Q[0]?Q[1]:void 0,done:!0}}},Of=function(G,f){for(var L in G)if(L!=="default"&&!Object.prototype.hasOwnProperty.call(f,L))G$(f,G,L)},G$=Object.create?function(G,f,L,Z){if(Z===void 0)Z=L;var X=Object.getOwnPropertyDescriptor(f,L);if(!X||("get"in X?!f.__esModule:X.writable||X.configurable))X={enumerable:!0,get:function(){return f[L]}};Object.defineProperty(G,Z,X)}:function(G,f,L,Z){if(Z===void 0)Z=L;G[Z]=f[L]},w$=function(G){var f=typeof Symbol==="function"&&Symbol.iterator,L=f&&G[f],Z=0;if(L)return L.call(G);if(G&&typeof G.length==="number")return{next:function(){if(G&&Z>=G.length)G=void 0;return{value:G&&G[Z++],done:!G}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},yU=function(G,f){var L=typeof Symbol==="function"&&G[Symbol.iterator];if(!L)return G;var Z=L.call(G),X,F=[],Y;try{while((f===void 0||f-- >0)&&!(X=Z.next()).done)F.push(X.value)}catch(I){Y={error:I}}finally{try{if(X&&!X.done&&(L=Z.return))L.call(Z)}finally{if(Y)throw Y.error}}return F},Hf=function(){for(var G=[],f=0;f<arguments.length;f++)G=G.concat(yU(arguments[f]));return G},Cf=function(){for(var G=0,f=0,L=arguments.length;f<L;f++)G+=arguments[f].length;for(var Z=Array(G),X=0,f=0;f<L;f++)for(var F=arguments[f],Y=0,I=F.length;Y<I;Y++,X++)Z[X]=F[Y];return Z},Nf=function(G,f,L){if(L||arguments.length===2){for(var Z=0,X=f.length,F;Z<X;Z++)if(F||!(Z in f)){if(!F)F=Array.prototype.slice.call(f,0,Z);F[Z]=f[Z]}}return G.concat(F||Array.prototype.slice.call(f))},D0=function(G){return this instanceof D0?(this.v=G,this):new D0(G)},qf=function(G,f,L){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Z=L.apply(G,f||[]),X,F=[];return X={},I("next"),I("throw"),I("return",Y),X[Symbol.asyncIterator]=function(){return this},X;function Y(R){return function(V){return Promise.resolve(V).then(R,A)}}function I(R,V){if(Z[R]){if(X[R]=function(B){return new Promise(function(T,O){F.push([R,B,T,O])>1||z(R,B)})},V)X[R]=V(X[R])}}function z(R,V){try{Q(Z[R](V))}catch(B){M(F[0][3],B)}}function Q(R){R.value instanceof D0?Promise.resolve(R.value.v).then(E,A):M(F[0][2],R)}function E(R){z("next",R)}function A(R){z("throw",R)}function M(R,V){if(R(V),F.shift(),F.length)z(F[0][0],F[0][1])}},jf=function(G){var f,L;return f={},Z("next"),Z("throw",function(X){throw X}),Z("return"),f[Symbol.iterator]=function(){return this},f;function Z(X,F){f[X]=G[X]?function(Y){return(L=!L)?{value:D0(G[X](Y)),done:!1}:F?F(Y):Y}:F}},Pf=function(G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var f=G[Symbol.asyncIterator],L;return f?f.call(G):(G=typeof w$==="function"?w$(G):G[Symbol.iterator](),L={},Z("next"),Z("throw"),Z("return"),L[Symbol.asyncIterator]=function(){return this},L);function Z(F){L[F]=G[F]&&function(Y){return new Promise(function(I,z){Y=G[F](Y),X(I,z,Y.done,Y.value)})}}function X(F,Y,I,z){Promise.resolve(z).then(function(Q){F({value:Q,done:I})},Y)}},Sf=function(G,f){if(Object.defineProperty)Object.defineProperty(G,"raw",{value:f});else G.raw=f;return G};var w=Object.create?function(G,f){Object.defineProperty(G,"default",{enumerable:!0,value:f})}:function(G,f){G.default=f};bf=function(G){if(G&&G.__esModule)return G;var f={};if(G!=null){for(var L in G)if(L!=="default"&&Object.prototype.hasOwnProperty.call(G,L))G$(f,G,L)}return w(f,G),f},hf=function(G){return G&&G.__esModule?G:{default:G}},Df=function(G,f,L,Z){if(L==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof f==="function"?G!==f||!Z:!f.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return L==="m"?Z:L==="a"?Z.call(G):Z?Z.value:f.get(G)},kf=function(G,f,L,Z,X){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!X)throw new TypeError("Private accessor was defined without a setter");if(typeof f==="function"?G!==f||!X:!f.has(G))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?X.call(G,L):X?X.value=L:f.set(G,L),L},vf=function(G,f){if(f===null||typeof f!=="object"&&typeof f!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof G==="function"?f===G:G.has(f)},cf=function(G,f,L){if(f!==null&&f!==void 0){if(typeof f!=="object"&&typeof f!=="function")throw new TypeError("Object expected.");var Z,X;if(L){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");Z=f[Symbol.asyncDispose]}if(Z===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");if(Z=f[Symbol.dispose],L)X=Z}if(typeof Z!=="function")throw new TypeError("Object not disposable.");if(X)Z=function(){try{X.call(this)}catch(F){return Promise.reject(F)}};G.stack.push({value:f,dispose:Z,async:L})}else if(L)G.stack.push({async:!0});return f};var W=typeof SuppressedError==="function"?SuppressedError:function(G,f,L){var Z=new Error(L);return Z.name="SuppressedError",Z.error=G,Z.suppressed=f,Z};xf=function(G){function f(Z){G.error=G.hasError?new W(Z,G.error,"An error was suppressed during disposal."):Z,G.hasError=!0}function L(){while(G.stack.length){var Z=G.stack.pop();try{var X=Z.dispose&&Z.dispose.call(Z.value);if(Z.async)return Promise.resolve(X).then(L,function(F){return f(F),L()})}catch(F){f(F)}}if(G.hasError)throw G.error}return L()},$("__extends",If),$("__assign",Qf),$("__rest",zf),$("__decorate",Ef),$("__param",Rf),$("__esDecorate",Jf),$("__runInitializers",Kf),$("__propKey",Mf),$("__setFunctionName",Vf),$("__metadata",Af),$("__awaiter",Bf),$("__generator",Tf),$("__exportStar",Of),$("__createBinding",G$),$("__values",w$),$("__read",yU),$("__spread",Hf),$("__spreadArrays",Cf),$("__spreadArray",Nf),$("__await",D0),$("__asyncGenerator",qf),$("__asyncDelegator",jf),$("__asyncValues",Pf),$("__makeTemplateObject",Sf),$("__importStar",bf),$("__importDefault",hf),$("__classPrivateFieldGet",Df),$("__classPrivateFieldSet",kf),$("__classPrivateFieldIn",vf),$("__addDisposableResource",cf),$("__disposeResources",xf)})});var pf=K((gB,df)=>{var{defineProperty:f$,getOwnPropertyDescriptor:X7,getOwnPropertyNames:F7}=Object,Y7=Object.prototype.hasOwnProperty,I7=($,U)=>f$($,"name",{value:U,configurable:!0}),Q7=($,U)=>{for(var w in U)f$($,w,{get:U[w],enumerable:!0})},z7=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of F7(U))if(!Y7.call($,G)&&G!==w)f$($,G,{get:()=>U[G],enumerable:!(W=X7(U,G))||W.enumerable})}return $},E7=($)=>z7(f$({},"__esModule",{value:!0}),$),_f={};Q7(_f,{emitWarningIfUnsupportedVersion:()=>R7});df.exports=E7(_f);var yf=!1,R7=I7(($)=>{if($&&!yf&&parseInt($.substring(1,$.indexOf(".")))<18)yf=!0,process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
4
- no longer support Node.js 16.x on January 6, 2025.
5
-
6
- To continue receiving updates to AWS services, bug fixes, and security
7
- updates please upgrade to a supported Node.js LTS version.
8
-
9
- More information can be found at: https://a.co/74kJMmI`)},"emitWarningIfUnsupportedVersion")});var FL=K((lB,XL)=>{var lU=function($){for(let U=0;U<8;U++)$[U]^=255;for(let U=7;U>-1;U--)if($[U]++,$[U]!==0)break},Y$=Object.defineProperty,J7=Object.getOwnPropertyDescriptor,K7=Object.getOwnPropertyNames,M7=Object.prototype.hasOwnProperty,b=($,U)=>Y$($,"name",{value:U,configurable:!0}),V7=($,U)=>{for(var w in U)Y$($,w,{get:U[w],enumerable:!0})},A7=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of K7(U))if(!M7.call($,G)&&G!==w)Y$($,G,{get:()=>U[G],enumerable:!(W=J7(U,G))||W.enumerable})}return $},B7=($)=>A7(Y$({},"__esModule",{value:!0}),$),mf={};V7(mf,{SignatureV4:()=>m7,clearCredentialCache:()=>u7,createScope:()=>X$,getCanonicalHeaders:()=>gU,getCanonicalQuery:()=>wL,getPayloadHash:()=>F$,getSigningKey:()=>UL,moveHeadersToQuery:()=>LL,prepareRequest:()=>sU});XL.exports=B7(mf);var gf=v0(),_U=w0(),T7="X-Amz-Algorithm",O7="X-Amz-Credential",rf="X-Amz-Date",H7="X-Amz-SignedHeaders",C7="X-Amz-Expires",of="X-Amz-Signature",af="X-Amz-Security-Token",tf="authorization",ef=rf.toLowerCase(),N7="date",q7=[tf,ef,N7],j7=of.toLowerCase(),pU="x-amz-content-sha256",P7=af.toLowerCase(),S7={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},b7=/^proxy-/,h7=/^sec-/,dU="AWS4-HMAC-SHA256",D7="AWS4-HMAC-SHA256-PAYLOAD",k7="UNSIGNED-PAYLOAD",v7=50,$L="aws4_request",c7=604800,Z0=t$(),x7=w0(),k0={},Z$=[],X$=b(($,U,w)=>`${$}/${U}/${w}/${$L}`,"createScope"),UL=b(async($,U,w,W,G)=>{const f=await lf($,U.secretAccessKey,U.accessKeyId),L=`${w}:${W}:${G}:${Z0.toHex(f)}:${U.sessionToken}`;if(L in k0)return k0[L];Z$.push(L);while(Z$.length>v7)delete k0[Z$.shift()];let Z=`AWS4${U.secretAccessKey}`;for(let X of[w,W,G,$L])Z=await lf($,Z,X);return k0[L]=Z},"getSigningKey"),u7=b(()=>{Z$.length=0,Object.keys(k0).forEach(($)=>{delete k0[$]})},"clearCredentialCache"),lf=b(($,U,w)=>{const W=new $(U);return W.update(x7.toUint8Array(w)),W.digest()},"hmac"),gU=b(({headers:$},U,w)=>{const W={};for(let G of Object.keys($).sort()){if($[G]==null)continue;const f=G.toLowerCase();if(f in S7||(U==null?void 0:U.has(f))||b7.test(f)||h7.test(f)){if(!w||w&&!w.has(f))continue}W[f]=$[G].trim().replace(/\s+/g," ")}return W},"getCanonicalHeaders"),U1=s$(),wL=b(({query:$={}})=>{const U=[],w={};for(let W of Object.keys($).sort()){if(W.toLowerCase()===j7)continue;U.push(W);const G=$[W];if(typeof G==="string")w[W]=`${U1.escapeUri(W)}=${U1.escapeUri(G)}`;else if(Array.isArray(G))w[W]=G.slice(0).reduce((f,L)=>f.concat([`${U1.escapeUri(W)}=${U1.escapeUri(L)}`]),[]).sort().join("&")}return U.map((W)=>w[W]).filter((W)=>W).join("&")},"getCanonicalQuery"),y7=y$(),_7=w0(),F$=b(async({headers:$,body:U},w)=>{for(let W of Object.keys($))if(W.toLowerCase()===pU)return $[W];if(U==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof U==="string"||ArrayBuffer.isView(U)||y7.isArrayBuffer(U)){const W=new w;return W.update(_7.toUint8Array(U)),Z0.toHex(await W.digest())}return k7},"getPayloadHash"),sf=w0(),GL=class ${format(U){const w=[];for(let f of Object.keys(U)){const L=sf.fromUtf8(f);w.push(Uint8Array.from([L.byteLength]),L,this.formatHeaderValue(U[f]))}const W=new Uint8Array(w.reduce((f,L)=>f+L.byteLength,0));let G=0;for(let f of w)W.set(f,G),G+=f.byteLength;return W}formatHeaderValue(U){switch(U.type){case"boolean":return Uint8Array.from([U.value?0:1]);case"byte":return Uint8Array.from([2,U.value]);case"short":const w=new DataView(new ArrayBuffer(3));return w.setUint8(0,3),w.setInt16(1,U.value,!1),new Uint8Array(w.buffer);case"integer":const W=new DataView(new ArrayBuffer(5));return W.setUint8(0,4),W.setInt32(1,U.value,!1),new Uint8Array(W.buffer);case"long":const G=new Uint8Array(9);return G[0]=5,G.set(U.value.bytes,1),G;case"binary":const f=new DataView(new ArrayBuffer(3+U.value.byteLength));f.setUint8(0,6),f.setUint16(1,U.value.byteLength,!1);const L=new Uint8Array(f.buffer);return L.set(U.value,3),L;case"string":const Z=sf.fromUtf8(U.value),X=new DataView(new ArrayBuffer(3+Z.byteLength));X.setUint8(0,7),X.setUint16(1,Z.byteLength,!1);const F=new Uint8Array(X.buffer);return F.set(Z,3),F;case"timestamp":const Y=new Uint8Array(9);return Y[0]=8,Y.set(g7.fromNumber(U.value.valueOf()).bytes,1),Y;case"uuid":if(!p7.test(U.value))throw new Error(`Invalid UUID received: ${U.value}`);const I=new Uint8Array(17);return I[0]=9,I.set(Z0.fromHex(U.value.replace(/\-/g,"")),1),I}}};b(GL,"HeaderFormatter");var d7=GL,p7=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,WL=class ${constructor(U){if(this.bytes=U,U.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(U){if(U>9223372036854776000||U<-9223372036854776000)throw new Error(`${U} is too large (or, if negative, too small) to represent as an Int64`);const w=new Uint8Array(8);for(let W=7,G=Math.abs(Math.round(U));W>-1&&G>0;W--,G/=256)w[W]=G;if(U<0)lU(w);return new $(w)}valueOf(){const U=this.bytes.slice(0),w=U[0]&128;if(w)lU(U);return parseInt(Z0.toHex(U),16)*(w?-1:1)}toString(){return String(this.valueOf())}};b(WL,"Int64");var g7=WL;b(lU,"negate");var l7=b(($,U)=>{$=$.toLowerCase();for(let w of Object.keys(U))if($===w.toLowerCase())return!0;return!1},"hasHeader"),fL=i(),LL=b(($,U={})=>{var w;const{headers:W,query:G={}}=fL.HttpRequest.clone($);for(let f of Object.keys(W)){const L=f.toLowerCase();if(L.slice(0,6)==="x-amz-"&&!((w=U.unhoistableHeaders)==null?void 0:w.has(L)))G[f]=W[f],delete W[f]}return{...$,headers:W,query:G}},"moveHeadersToQuery"),sU=b(($)=>{$=fL.HttpRequest.clone($);for(let U of Object.keys($.headers))if(q7.indexOf(U.toLowerCase())>-1)delete $.headers[U];return $},"prepareRequest"),s7=b(($)=>n7($).toISOString().replace(/\.\d{3}Z$/,"Z"),"iso8601"),n7=b(($)=>{if(typeof $==="number")return new Date($*1000);if(typeof $==="string"){if(Number($))return new Date(Number($)*1000);return new Date($)}return $},"toDate"),ZL=class ${constructor({applyChecksum:U,credentials:w,region:W,service:G,sha256:f,uriEscapePath:L=!0}){this.headerFormatter=new d7,this.service=G,this.sha256=f,this.uriEscapePath=L,this.applyChecksum=typeof U==="boolean"?U:!0,this.regionProvider=gf.normalizeProvider(W),this.credentialProvider=gf.normalizeProvider(w)}async presign(U,w={}){const{signingDate:W=new Date,expiresIn:G=3600,unsignableHeaders:f,unhoistableHeaders:L,signableHeaders:Z,signingRegion:X,signingService:F}=w,Y=await this.credentialProvider();this.validateResolvedCredentials(Y);const I=X??await this.regionProvider(),{longDate:z,shortDate:Q}=L$(W);if(G>c7)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const E=X$(Q,I,F??this.service),A=LL(sU(U),{unhoistableHeaders:L});if(Y.sessionToken)A.query[af]=Y.sessionToken;A.query[T7]=dU,A.query[O7]=`${Y.accessKeyId}/${E}`,A.query[rf]=z,A.query[C7]=G.toString(10);const M=gU(A,f,Z);return A.query[H7]=nf(M),A.query[of]=await this.getSignature(z,E,this.getSigningKey(Y,I,Q,F),this.createCanonicalRequest(A,M,await F$(U,this.sha256))),A}async sign(U,w){if(typeof U==="string")return this.signString(U,w);else if(U.headers&&U.payload)return this.signEvent(U,w);else if(U.message)return this.signMessage(U,w);else return this.signRequest(U,w)}async signEvent({headers:U,payload:w},{signingDate:W=new Date,priorSignature:G,signingRegion:f,signingService:L}){const Z=f??await this.regionProvider(),{shortDate:X,longDate:F}=L$(W),Y=X$(X,Z,L??this.service),I=await F$({headers:{},body:w},this.sha256),z=new this.sha256;z.update(U);const Q=Z0.toHex(await z.digest()),E=[D7,F,Y,G,Q,I].join("\n");return this.signString(E,{signingDate:W,signingRegion:Z,signingService:L})}async signMessage(U,{signingDate:w=new Date,signingRegion:W,signingService:G}){return this.signEvent({headers:this.headerFormatter.format(U.message.headers),payload:U.message.body},{signingDate:w,signingRegion:W,signingService:G,priorSignature:U.priorSignature}).then((L)=>{return{message:U.message,signature:L}})}async signString(U,{signingDate:w=new Date,signingRegion:W,signingService:G}={}){const f=await this.credentialProvider();this.validateResolvedCredentials(f);const L=W??await this.regionProvider(),{shortDate:Z}=L$(w),X=new this.sha256(await this.getSigningKey(f,L,Z,G));return X.update(_U.toUint8Array(U)),Z0.toHex(await X.digest())}async signRequest(U,{signingDate:w=new Date,signableHeaders:W,unsignableHeaders:G,signingRegion:f,signingService:L}={}){const Z=await this.credentialProvider();this.validateResolvedCredentials(Z);const X=f??await this.regionProvider(),F=sU(U),{longDate:Y,shortDate:I}=L$(w),z=X$(I,X,L??this.service);if(F.headers[ef]=Y,Z.sessionToken)F.headers[P7]=Z.sessionToken;const Q=await F$(F,this.sha256);if(!l7(pU,F.headers)&&this.applyChecksum)F.headers[pU]=Q;const E=gU(F,G,W),A=await this.getSignature(Y,z,this.getSigningKey(Z,X,I,L),this.createCanonicalRequest(F,E,Q));return F.headers[tf]=`${dU} Credential=${Z.accessKeyId}/${z}, SignedHeaders=${nf(E)}, Signature=${A}`,F}createCanonicalRequest(U,w,W){const G=Object.keys(w).sort();return`${U.method}
10
- ${this.getCanonicalPath(U)}
11
- ${wL(U)}
12
- ${G.map((f)=>`${f}:${w[f]}`).join("\n")}
13
-
14
- ${G.join(";")}
15
- ${W}`}async createStringToSign(U,w,W){const G=new this.sha256;G.update(_U.toUint8Array(W));const f=await G.digest();return`${dU}
16
- ${U}
17
- ${w}
18
- ${Z0.toHex(f)}`}getCanonicalPath({path:U}){if(this.uriEscapePath){const w=[];for(let f of U.split("/")){if((f==null?void 0:f.length)===0)continue;if(f===".")continue;if(f==="..")w.pop();else w.push(f)}const W=`${(U==null?void 0:U.startsWith("/"))?"/":""}${w.join("/")}${w.length>0&&(U==null?void 0:U.endsWith("/"))?"/":""}`;return U1.escapeUri(W).replace(/%2F/g,"/")}return U}async getSignature(U,w,W,G){const f=await this.createStringToSign(U,w,G),L=new this.sha256(await W);return L.update(_U.toUint8Array(f)),Z0.toHex(await L.digest())}getSigningKey(U,w,W,G){return UL(this.sha256,U,W,w,G||this.service)}validateResolvedCredentials(U){if(typeof U!=="object"||typeof U.accessKeyId!=="string"||typeof U.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}};b(ZL,"SignatureV4");var m7=ZL,L$=b(($)=>{const U=s7($).replace(/[\-:]/g,"");return{longDate:U,shortDate:U.slice(0,8)}},"formatDate"),nf=b(($)=>Object.keys($).sort().join(";"),"getCanonicalHeaderList")});var VL=K((sB,ML)=>{var{defineProperty:I$,getOwnPropertyDescriptor:i7,getOwnPropertyNames:r7}=Object,o7=Object.prototype.hasOwnProperty,k=($,U)=>I$($,"name",{value:U,configurable:!0}),a7=($,U)=>{for(var w in U)I$($,w,{get:U[w],enumerable:!0})},t7=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of r7(U))if(!o7.call($,G)&&G!==w)I$($,G,{get:()=>U[G],enumerable:!(W=i7(U,G))||W.enumerable})}return $},e7=($)=>t7(I$({},"__esModule",{value:!0}),$),EL={};a7(EL,{AWSSDKSigV4Signer:()=>Gz,AwsSdkSigV4ASigner:()=>fz,AwsSdkSigV4Signer:()=>iU,NODE_SIGV4A_CONFIG_OPTIONS:()=>Xz,resolveAWSSDKSigV4Config:()=>Fz,resolveAwsSdkSigV4AConfig:()=>Zz,resolveAwsSdkSigV4Config:()=>KL,validateSigningProperties:()=>mU});ML.exports=e7(EL);var $z=i(),Uz=i(),YL=k(($)=>{var U,w;return Uz.HttpResponse.isInstance($)?((U=$.headers)==null?void 0:U.date)??((w=$.headers)==null?void 0:w.Date):void 0},"getDateHeader"),nU=k(($)=>new Date(Date.now()+$),"getSkewCorrectedDate"),wz=k(($,U)=>Math.abs(nU(U).getTime()-$)>=300000,"isClockSkewed"),IL=k(($,U)=>{const w=Date.parse($);if(wz(w,U))return w-Date.now();return U},"getUpdatedSystemClockOffset"),w1=k(($,U)=>{if(!U)throw new Error(`Property \`${$}\` is not resolved for AWS SDK SigV4Auth`);return U},"throwSigningPropertyError"),mU=k(async($)=>{var U,w,W;const G=w1("context",$.context),f=w1("config",$.config),L=(W=(w=(U=G.endpointV2)==null?void 0:U.properties)==null?void 0:w.authSchemes)==null?void 0:W[0],X=await w1("signer",f.signer)(L),F=$==null?void 0:$.signingRegion,Y=$==null?void 0:$.signingRegionSet,I=$==null?void 0:$.signingName;return{config:f,signer:X,signingRegion:F,signingRegionSet:Y,signingName:I}},"validateSigningProperties"),RL=class ${async sign(U,w,W){var G;if(!$z.HttpRequest.isInstance(U))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const f=await mU(W),{config:L,signer:Z}=f;let{signingRegion:X,signingName:F}=f;const Y=W.context;if(((G=Y==null?void 0:Y.authSchemes)==null?void 0:G.length)??0>1){const[z,Q]=Y.authSchemes;if((z==null?void 0:z.name)==="sigv4a"&&(Q==null?void 0:Q.name)==="sigv4")X=(Q==null?void 0:Q.signingRegion)??X,F=(Q==null?void 0:Q.signingName)??F}return await Z.sign(U,{signingDate:nU(L.systemClockOffset),signingRegion:X,signingService:F})}errorHandler(U){return(w)=>{const W=w.ServerTime??YL(w.$response);if(W){const G=w1("config",U.config),f=G.systemClockOffset;if(G.systemClockOffset=IL(W,G.systemClockOffset),G.systemClockOffset!==f&&w.$metadata)w.$metadata.clockSkewCorrected=!0}throw w}}successHandler(U,w){const W=YL(U);if(W){const G=w1("config",w.config);G.systemClockOffset=IL(W,G.systemClockOffset)}}};k(RL,"AwsSdkSigV4Signer");var iU=RL,Gz=iU,Wz=i(),JL=class $ extends iU{async sign(U,w,W){var G;if(!Wz.HttpRequest.isInstance(U))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:f,signer:L,signingRegion:Z,signingRegionSet:X,signingName:F}=await mU(W),I=(await((G=f.sigv4aSigningRegionSet)==null?void 0:G.call(f))??X??[Z]).join(",");return await L.sign(U,{signingDate:nU(f.systemClockOffset),signingRegion:I,signingService:F})}};k(JL,"AwsSdkSigV4ASigner");var fz=JL,Lz=MU(),QL=T$(),Zz=k(($)=>{return $.sigv4aSigningRegionSet=Lz.normalizeProvider($.sigv4aSigningRegionSet),$},"resolveAwsSdkSigV4AConfig"),Xz={environmentVariableSelector($){if($.AWS_SIGV4A_SIGNING_REGION_SET)return $.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((U)=>U.trim());throw new QL.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:!0})},configFileSelector($){if($.sigv4a_signing_region_set)return($.sigv4a_signing_region_set??"").split(",").map((U)=>U.trim());throw new QL.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:!0})},default:void 0},V0=MU(),zL=FL(),KL=k(($)=>{let U;if($.credentials)U=V0.memoizeIdentityProvider($.credentials,V0.isIdentityExpired,V0.doesIdentityRequireRefresh);if(!U)if($.credentialDefaultProvider)U=V0.normalizeProvider($.credentialDefaultProvider(Object.assign({},$,{parentClientConfig:$})));else U=k(async()=>{throw new Error("`credentials` is missing")},"normalizedCreds");const{signingEscapePath:w=!0,systemClockOffset:W=$.systemClockOffset||0,sha256:G}=$;let f;if($.signer)f=V0.normalizeProvider($.signer);else if($.regionInfoProvider)f=k(()=>V0.normalizeProvider($.region)().then(async(L)=>[await $.regionInfoProvider(L,{useFipsEndpoint:await $.useFipsEndpoint(),useDualstackEndpoint:await $.useDualstackEndpoint()})||{},L]).then(([L,Z])=>{const{signingRegion:X,signingService:F}=L;$.signingRegion=$.signingRegion||X||Z,$.signingName=$.signingName||F||$.serviceId;const Y={...$,credentials:U,region:$.signingRegion,service:$.signingName,sha256:G,uriEscapePath:w};return new($.signerConstructor||zL.SignatureV4)(Y)}),"signer");else f=k(async(L)=>{L=Object.assign({},{name:"sigv4",signingName:$.signingName||$.defaultSigningName,signingRegion:await V0.normalizeProvider($.region)(),properties:{}},L);const{signingRegion:Z,signingName:X}=L;$.signingRegion=$.signingRegion||Z,$.signingName=$.signingName||X||$.serviceId;const F={...$,credentials:U,region:$.signingRegion,service:$.signingName,sha256:G,uriEscapePath:w};return new($.signerConstructor||zL.SignatureV4)(F)},"signer");return{...$,systemClockOffset:W,signingEscapePath:w,credentials:U,signer:f}},"resolveAwsSdkSigV4Config"),Fz=KL});var Q$=K((Ez)=>{var Yz=":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\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",AL="[: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]["+Yz+"]*",Iz=new RegExp("^"+AL+"$"),Qz=function($,U){const w=[];let W=U.exec($);while(W){const G=[];G.startIndex=U.lastIndex-W[0].length;const f=W.length;for(let L=0;L<f;L++)G.push(W[L]);w.push(G),W=U.exec($)}return w},zz=function($){const U=Iz.exec($);return!(U===null||typeof U==="undefined")};Ez.isExist=function($){return typeof $!=="undefined"};Ez.isEmptyObject=function($){return Object.keys($).length===0};Ez.merge=function($,U,w){if(U){const W=Object.keys(U),G=W.length;for(let f=0;f<G;f++)if(w==="strict")$[W[f]]=[U[W[f]]];else $[W[f]]=U[W[f]]}};Ez.getValue=function($){if(Ez.isExist($))return $;else return""};Ez.isName=zz;Ez.getAllMatches=Qz;Ez.nameRegexp=AL});var oU=K((Sz)=>{var TL=function($){return $===" "||$==="\t"||$==="\n"||$==="\r"},OL=function($,U){const w=U;for(;U<$.length;U++)if($[U]=="?"||$[U]==" "){const W=$.substr(w,U-w);if(U>5&&W==="xml")return P("InvalidXml","XML declaration allowed only at the start of the document.",D($,U));else if($[U]=="?"&&$[U+1]==">"){U++;break}else continue}return U},HL=function($,U){if($.length>U+5&&$[U+1]==="-"&&$[U+2]==="-"){for(U+=3;U<$.length;U++)if($[U]==="-"&&$[U+1]==="-"&&$[U+2]===">"){U+=2;break}}else if($.length>U+8&&$[U+1]==="D"&&$[U+2]==="O"&&$[U+3]==="C"&&$[U+4]==="T"&&$[U+5]==="Y"&&$[U+6]==="P"&&$[U+7]==="E"){let w=1;for(U+=8;U<$.length;U++)if($[U]==="<")w++;else if($[U]===">"){if(w--,w===0)break}}else if($.length>U+9&&$[U+1]==="["&&$[U+2]==="C"&&$[U+3]==="D"&&$[U+4]==="A"&&$[U+5]==="T"&&$[U+6]==="A"&&$[U+7]==="["){for(U+=8;U<$.length;U++)if($[U]==="]"&&$[U+1]==="]"&&$[U+2]===">"){U+=2;break}}return U},Hz=function($,U){let w="",W="",G=!1;for(;U<$.length;U++){if($[U]===Tz||$[U]===Oz)if(W==="")W=$[U];else if(W!==$[U]);else W="";else if($[U]===">"){if(W===""){G=!0;break}}w+=$[U]}if(W!=="")return!1;return{value:w,index:U,tagClosed:G}},CL=function($,U){const w=rU.getAllMatches($,Cz),W={};for(let G=0;G<w.length;G++){if(w[G][1].length===0)return P("InvalidAttr","Attribute '"+w[G][2]+"' has no space in starting.",G1(w[G]));else if(w[G][3]!==void 0&&w[G][4]===void 0)return P("InvalidAttr","Attribute '"+w[G][2]+"' is without value.",G1(w[G]));else if(w[G][3]===void 0&&!U.allowBooleanAttributes)return P("InvalidAttr","boolean attribute '"+w[G][2]+"' is not allowed.",G1(w[G]));const f=w[G][2];if(!jz(f))return P("InvalidAttr","Attribute '"+f+"' is an invalid name.",G1(w[G]));if(!W.hasOwnProperty(f))W[f]=1;else return P("InvalidAttr","Attribute '"+f+"' is repeated.",G1(w[G]))}return!0},Nz=function($,U){let w=/\d/;if($[U]==="x")U++,w=/[\da-fA-F]/;for(;U<$.length;U++){if($[U]===";")return U;if(!$[U].match(w))break}return-1},qz=function($,U){if(U++,$[U]===";")return-1;if($[U]==="#")return U++,Nz($,U);let w=0;for(;U<$.length;U++,w++){if($[U].match(/\w/)&&w<20)continue;if($[U]===";")break;return-1}return U},P=function($,U,w){return{err:{code:$,msg:U,line:w.line||w,col:w.col}}},jz=function($){return rU.isName($)},Pz=function($){return rU.isName($)},D=function($,U){const w=$.substring(0,U).split(/\r?\n/);return{line:w.length,col:w[w.length-1].length+1}},G1=function($){return $.startIndex+$[1].length},rU=Q$(),Bz={allowBooleanAttributes:!1,unpairedTags:[]};Sz.validate=function($,U){U=Object.assign({},Bz,U);const w=[];let W=!1,G=!1;if($[0]==="\uFEFF")$=$.substr(1);for(let f=0;f<$.length;f++)if($[f]==="<"&&$[f+1]==="?"){if(f+=2,f=OL($,f),f.err)return f}else if($[f]==="<"){let L=f;if(f++,$[f]==="!"){f=HL($,f);continue}else{let Z=!1;if($[f]==="/")Z=!0,f++;let X="";for(;f<$.length&&$[f]!==">"&&$[f]!==" "&&$[f]!=="\t"&&$[f]!=="\n"&&$[f]!=="\r";f++)X+=$[f];if(X=X.trim(),X[X.length-1]==="/")X=X.substring(0,X.length-1),f--;if(!Pz(X)){let I;if(X.trim().length===0)I="Invalid space after '<'.";else I="Tag '"+X+"' is an invalid name.";return P("InvalidTag",I,D($,f))}const F=Hz($,f);if(F===!1)return P("InvalidAttr","Attributes for '"+X+"' have open quote.",D($,f));let Y=F.value;if(f=F.index,Y[Y.length-1]==="/"){const I=f-Y.length;Y=Y.substring(0,Y.length-1);const z=CL(Y,U);if(z===!0)W=!0;else return P(z.err.code,z.err.msg,D($,I+z.err.line))}else if(Z)if(!F.tagClosed)return P("InvalidTag","Closing tag '"+X+"' doesn't have proper closing.",D($,f));else if(Y.trim().length>0)return P("InvalidTag","Closing tag '"+X+"' can't have attributes or invalid starting.",D($,L));else if(w.length===0)return P("InvalidTag","Closing tag '"+X+"' has not been opened.",D($,L));else{const I=w.pop();if(X!==I.tagName){let z=D($,I.tagStartPos);return P("InvalidTag","Expected closing tag '"+I.tagName+"' (opened in line "+z.line+", col "+z.col+") instead of closing tag '"+X+"'.",D($,L))}if(w.length==0)G=!0}else{const I=CL(Y,U);if(I!==!0)return P(I.err.code,I.err.msg,D($,f-Y.length+I.err.line));if(G===!0)return P("InvalidXml","Multiple possible root nodes found.",D($,f));else if(U.unpairedTags.indexOf(X)!==-1);else w.push({tagName:X,tagStartPos:L});W=!0}for(f++;f<$.length;f++)if($[f]==="<")if($[f+1]==="!"){f++,f=HL($,f);continue}else if($[f+1]==="?"){if(f=OL($,++f),f.err)return f}else break;else if($[f]==="&"){const I=qz($,f);if(I==-1)return P("InvalidChar","char '&' is not expected.",D($,f));f=I}else if(G===!0&&!TL($[f]))return P("InvalidXml","Extra text at the end",D($,f));if($[f]==="<")f--}}else{if(TL($[f]))continue;return P("InvalidChar","char '"+$[f]+"' is not expected.",D($,f))}if(!W)return P("InvalidXml","Start tag expected.",1);else if(w.length==1)return P("InvalidTag","Unclosed tag '"+w[0].tagName+"'.",D($,w[0].tagStartPos));else if(w.length>0)return P("InvalidXml","Invalid '"+JSON.stringify(w.map((f)=>f.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1});return!0};var Tz='"',Oz="'",Cz=new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?',"g")});var qL=K((Dz)=>{var NL={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($,U){return U},attributeValueProcessor:function($,U){return U},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function($,U,w){return $}},hz=function($){return Object.assign({},NL,$)};Dz.buildOptions=hz;Dz.defaultOptions=NL});var SL=K((rB,PL)=>{class jL{constructor($){this.tagname=$,this.child=[],this[":@"]={}}add($,U){if($==="__proto__")$="#__proto__";this.child.push({[$]:U})}addChild($){if($.tagname==="__proto__")$.tagname="#__proto__";if($[":@"]&&Object.keys($[":@"]).length>0)this.child.push({[$.tagname]:$.child,[":@"]:$[":@"]});else this.child.push({[$.tagname]:$.child})}}PL.exports=jL});var hL=K((oB,bL)=>{var xz=function($,U){const w={};if($[U+3]==="O"&&$[U+4]==="C"&&$[U+5]==="T"&&$[U+6]==="Y"&&$[U+7]==="P"&&$[U+8]==="E"){U=U+9;let W=1,G=!1,f=!1,L="";for(;U<$.length;U++)if($[U]==="<"&&!f){if(G&&_z($,U)){if(U+=7,[entityName,val,U]=uz($,U+1),val.indexOf("&")===-1)w[lz(entityName)]={regx:RegExp(`&${entityName};`,"g"),val}}else if(G&&dz($,U))U+=8;else if(G&&pz($,U))U+=8;else if(G&&gz($,U))U+=9;else if(yz)f=!0;else throw new Error("Invalid DOCTYPE");W++,L=""}else if($[U]===">"){if(f){if($[U-1]==="-"&&$[U-2]==="-")f=!1,W--}else W--;if(W===0)break}else if($[U]==="[")G=!0;else L+=$[U];if(W!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:w,i:U}},uz=function($,U){let w="";for(;U<$.length&&($[U]!=="'"&&$[U]!=='"');U++)w+=$[U];if(w=w.trim(),w.indexOf(" ")!==-1)throw new Error("External entites are not supported");const W=$[U++];let G="";for(;U<$.length&&$[U]!==W;U++)G+=$[U];return[w,G,U]},yz=function($,U){if($[U+1]==="!"&&$[U+2]==="-"&&$[U+3]==="-")return!0;return!1},_z=function($,U){if($[U+1]==="!"&&$[U+2]==="E"&&$[U+3]==="N"&&$[U+4]==="T"&&$[U+5]==="I"&&$[U+6]==="T"&&$[U+7]==="Y")return!0;return!1},dz=function($,U){if($[U+1]==="!"&&$[U+2]==="E"&&$[U+3]==="L"&&$[U+4]==="E"&&$[U+5]==="M"&&$[U+6]==="E"&&$[U+7]==="N"&&$[U+8]==="T")return!0;return!1},pz=function($,U){if($[U+1]==="!"&&$[U+2]==="A"&&$[U+3]==="T"&&$[U+4]==="T"&&$[U+5]==="L"&&$[U+6]==="I"&&$[U+7]==="S"&&$[U+8]==="T")return!0;return!1},gz=function($,U){if($[U+1]==="!"&&$[U+2]==="N"&&$[U+3]==="O"&&$[U+4]==="T"&&$[U+5]==="A"&&$[U+6]==="T"&&$[U+7]==="I"&&$[U+8]==="O"&&$[U+9]==="N")return!0;return!1},lz=function($){if(cz.isName($))return $;else throw new Error(`Invalid entity name ${$}`)},cz=Q$();bL.exports=xz});var kL=K((aB,DL)=>{var iz=function($,U={}){if(U=Object.assign({},mz,U),!$||typeof $!=="string")return $;let w=$.trim();if(U.skipLike!==void 0&&U.skipLike.test(w))return $;else if(U.hex&&sz.test(w))return Number.parseInt(w,16);else{const W=nz.exec(w);if(W){const G=W[1],f=W[2];let L=rz(W[3]);const Z=W[4]||W[6];if(!U.leadingZeros&&f.length>0&&G&&w[2]!==".")return $;else if(!U.leadingZeros&&f.length>0&&!G&&w[1]!==".")return $;else{const X=Number(w),F=""+X;if(F.search(/[eE]/)!==-1)if(U.eNotation)return X;else return $;else if(Z)if(U.eNotation)return X;else return $;else if(w.indexOf(".")!==-1)if(F==="0"&&L==="")return X;else if(F===L)return X;else if(G&&F==="-"+L)return X;else return $;if(f)if(L===F)return X;else if(G+L===F)return X;else return $;if(w===F)return X;else if(w===G+F)return X;return $}}else return $}},rz=function($){if($&&$.indexOf(".")!==-1){if($=$.replace(/0+$/,""),$===".")$="0";else if($[0]===".")$="0"+$;else if($[$.length-1]===".")$=$.substr(0,$.length-1);return $}return $},sz=/^[-+]?0x[a-fA-F0-9]+$/,nz=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;if(!Number.parseInt&&window.parseInt)Number.parseInt=window.parseInt;if(!Number.parseFloat&&window.parseFloat)Number.parseFloat=window.parseFloat;var mz={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};DL.exports=iz});var uL=K((tB,xL)=>{var tz=function($){const U=Object.keys($);for(let w=0;w<U.length;w++){const W=U[w];this.lastEntities[W]={regex:new RegExp("&"+W+";","g"),val:$[W]}}},ez=function($,U,w,W,G,f,L){if($!==void 0){if(this.options.trimValues&&!W)$=$.trim();if($.length>0){if(!L)$=this.replaceEntitiesValue($);const Z=this.options.tagValueProcessor(U,$,w,G,f);if(Z===null||Z===void 0)return $;else if(typeof Z!==typeof $||Z!==$)return Z;else if(this.options.trimValues)return tU($,this.options.parseTagValue,this.options.numberParseOptions);else if($.trim()===$)return tU($,this.options.parseTagValue,this.options.numberParseOptions);else return $}}},$E=function($){if(this.options.removeNSPrefix){const U=$.split(":"),w=$.charAt(0)==="/"?"/":"";if(U[0]==="xmlns")return"";if(U.length===2)$=w+U[1]}return $},wE=function($,U,w){if(!this.options.ignoreAttributes&&typeof $==="string"){const W=vL.getAllMatches($,UE),G=W.length,f={};for(let L=0;L<G;L++){const Z=this.resolveNameSpace(W[L][1]);let X=W[L][4],F=this.options.attributeNamePrefix+Z;if(Z.length){if(this.options.transformAttributeName)F=this.options.transformAttributeName(F);if(F==="__proto__")F="#__proto__";if(X!==void 0){if(this.options.trimValues)X=X.trim();X=this.replaceEntitiesValue(X);const Y=this.options.attributeValueProcessor(Z,X,U);if(Y===null||Y===void 0)f[F]=X;else if(typeof Y!==typeof X||Y!==X)f[F]=Y;else f[F]=tU(X,this.options.parseAttributeValue,this.options.numberParseOptions)}else if(this.options.allowBooleanAttributes)f[F]=!0}}if(!Object.keys(f).length)return;if(this.options.attributesGroupName){const L={};return L[this.options.attributesGroupName]=f,L}return f}},WE=function($,U,w){const W=this.options.updateTag(U.tagname,w,U[":@"]);if(W===!1);else if(typeof W==="string")U.tagname=W,$.addChild(U);else $.addChild(U)},LE=function($,U,w,W){if($){if(W===void 0)W=Object.keys(U.child).length===0;if($=this.parseTextData($,U.tagname,w,!1,U[":@"]?Object.keys(U[":@"]).length!==0:!1,W),$!==void 0&&$!=="")U.add(this.options.textNodeName,$);$=""}return $},ZE=function($,U,w){const W="*."+w;for(let G in $){const f=$[G];if(W===f||U===f)return!0}return!1},XE=function($,U,w=">"){let W,G="";for(let f=U;f<$.length;f++){let L=$[f];if(W){if(L===W)W=""}else if(L==='"'||L==="'")W=L;else if(L===w[0])if(w[1]){if($[f+1]===w[1])return{data:G,index:f}}else return{data:G,index:f};else if(L==="\t")L=" ";G+=L}},A0=function($,U,w,W){const G=$.indexOf(U,w);if(G===-1)throw new Error(W);else return G+U.length-1},aU=function($,U,w,W=">"){const G=XE($,U+1,W);if(!G)return;let f=G.data;const L=G.index,Z=f.search(/\s/);let X=f,F=!0;if(Z!==-1)X=f.substring(0,Z),f=f.substring(Z+1).trimStart();const Y=X;if(w){const I=X.indexOf(":");if(I!==-1)X=X.substr(I+1),F=X!==G.data.substr(I+1)}return{tagName:X,tagExp:f,closeIndex:L,attrExpPresent:F,rawTagName:Y}},FE=function($,U,w){const W=w;let G=1;for(;w<$.length;w++)if($[w]==="<")if($[w+1]==="/"){const f=A0($,">",w,`${U} is not closed`);if($.substring(w+2,f).trim()===U){if(G--,G===0)return{tagContent:$.substring(W,w),i:f}}w=f}else if($[w+1]==="?")w=A0($,"?>",w+1,"StopNode is not closed.");else if($.substr(w+1,3)==="!--")w=A0($,"-->",w+3,"StopNode is not closed.");else if($.substr(w+1,2)==="![")w=A0($,"]]>",w,"StopNode is not closed.")-2;else{const f=aU($,w,">");if(f){if((f&&f.tagName)===U&&f.tagExp[f.tagExp.length-1]!=="/")G++;w=f.closeIndex}}},tU=function($,U,w){if(U&&typeof $==="string"){const W=$.trim();if(W==="true")return!0;else if(W==="false")return!1;else return az($,w)}else if(vL.isExist($))return $;else return""},vL=Q$(),W1=SL(),oz=hL(),az=kL();class cL{constructor($){this.options=$,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:"\""}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(U,w)=>String.fromCharCode(Number.parseInt(w,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(U,w)=>String.fromCharCode(Number.parseInt(w,16))}},this.addExternalEntities=tz,this.parseXml=GE,this.parseTextData=ez,this.resolveNameSpace=$E,this.buildAttributesMap=wE,this.isItStopNode=ZE,this.replaceEntitiesValue=fE,this.readStopNodeData=FE,this.saveTextToParentTag=LE,this.addChild=WE}}var UE=new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?',"gm"),GE=function($){$=$.replace(/\r\n?/g,"\n");const U=new W1("!xml");let w=U,W="",G="";for(let f=0;f<$.length;f++)if($[f]==="<")if($[f+1]==="/"){const Z=A0($,">",f,"Closing Tag is not closed.");let X=$.substring(f+2,Z).trim();if(this.options.removeNSPrefix){const I=X.indexOf(":");if(I!==-1)X=X.substr(I+1)}if(this.options.transformTagName)X=this.options.transformTagName(X);if(w)W=this.saveTextToParentTag(W,w,G);const F=G.substring(G.lastIndexOf(".")+1);if(X&&this.options.unpairedTags.indexOf(X)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${X}>`);let Y=0;if(F&&this.options.unpairedTags.indexOf(F)!==-1)Y=G.lastIndexOf(".",G.lastIndexOf(".")-1),this.tagsNodeStack.pop();else Y=G.lastIndexOf(".");G=G.substring(0,Y),w=this.tagsNodeStack.pop(),W="",f=Z}else if($[f+1]==="?"){let Z=aU($,f,!1,"?>");if(!Z)throw new Error("Pi Tag is not closed.");if(W=this.saveTextToParentTag(W,w,G),this.options.ignoreDeclaration&&Z.tagName==="?xml"||this.options.ignorePiTags);else{const X=new W1(Z.tagName);if(X.add(this.options.textNodeName,""),Z.tagName!==Z.tagExp&&Z.attrExpPresent)X[":@"]=this.buildAttributesMap(Z.tagExp,G,Z.tagName);this.addChild(w,X,G)}f=Z.closeIndex+1}else if($.substr(f+1,3)==="!--"){const Z=A0($,"-->",f+4,"Comment is not closed.");if(this.options.commentPropName){const X=$.substring(f+4,Z-2);W=this.saveTextToParentTag(W,w,G),w.add(this.options.commentPropName,[{[this.options.textNodeName]:X}])}f=Z}else if($.substr(f+1,2)==="!D"){const Z=oz($,f);this.docTypeEntities=Z.entities,f=Z.i}else if($.substr(f+1,2)==="!["){const Z=A0($,"]]>",f,"CDATA is not closed.")-2,X=$.substring(f+9,Z);W=this.saveTextToParentTag(W,w,G);let F=this.parseTextData(X,w.tagname,G,!0,!1,!0,!0);if(F==null)F="";if(this.options.cdataPropName)w.add(this.options.cdataPropName,[{[this.options.textNodeName]:X}]);else w.add(this.options.textNodeName,F);f=Z+2}else{let Z=aU($,f,this.options.removeNSPrefix),X=Z.tagName;const F=Z.rawTagName;let{tagExp:Y,attrExpPresent:I,closeIndex:z}=Z;if(this.options.transformTagName)X=this.options.transformTagName(X);if(w&&W){if(w.tagname!=="!xml")W=this.saveTextToParentTag(W,w,G,!1)}const Q=w;if(Q&&this.options.unpairedTags.indexOf(Q.tagname)!==-1)w=this.tagsNodeStack.pop(),G=G.substring(0,G.lastIndexOf("."));if(X!==U.tagname)G+=G?"."+X:X;if(this.isItStopNode(this.options.stopNodes,G,X)){let E="";if(Y.length>0&&Y.lastIndexOf("/")===Y.length-1){if(X[X.length-1]==="/")X=X.substr(0,X.length-1),G=G.substr(0,G.length-1),Y=X;else Y=Y.substr(0,Y.length-1);f=Z.closeIndex}else if(this.options.unpairedTags.indexOf(X)!==-1)f=Z.closeIndex;else{const M=this.readStopNodeData($,F,z+1);if(!M)throw new Error(`Unexpected end of ${F}`);f=M.i,E=M.tagContent}const A=new W1(X);if(X!==Y&&I)A[":@"]=this.buildAttributesMap(Y,G,X);if(E)E=this.parseTextData(E,X,G,!0,I,!0,!0);G=G.substr(0,G.lastIndexOf(".")),A.add(this.options.textNodeName,E),this.addChild(w,A,G)}else{if(Y.length>0&&Y.lastIndexOf("/")===Y.length-1){if(X[X.length-1]==="/")X=X.substr(0,X.length-1),G=G.substr(0,G.length-1),Y=X;else Y=Y.substr(0,Y.length-1);if(this.options.transformTagName)X=this.options.transformTagName(X);const E=new W1(X);if(X!==Y&&I)E[":@"]=this.buildAttributesMap(Y,G,X);this.addChild(w,E,G),G=G.substr(0,G.lastIndexOf("."))}else{const E=new W1(X);if(this.tagsNodeStack.push(w),X!==Y&&I)E[":@"]=this.buildAttributesMap(Y,G,X);this.addChild(w,E,G),w=E}W="",f=z}}else W+=$[f];return U.child},fE=function($){if(this.options.processEntities){for(let U in this.docTypeEntities){const w=this.docTypeEntities[U];$=$.replace(w.regx,w.val)}for(let U in this.lastEntities){const w=this.lastEntities[U];$=$.replace(w.regex,w.val)}if(this.options.htmlEntities)for(let U in this.htmlEntities){const w=this.htmlEntities[U];$=$.replace(w.regex,w.val)}$=$.replace(this.ampEntity.regex,this.ampEntity.val)}return $};xL.exports=cL});var _L=K((EE)=>{var YE=function($,U){return yL($,U)},yL=function($,U,w){let W;const G={};for(let f=0;f<$.length;f++){const L=$[f],Z=IE(L);let X="";if(w===void 0)X=Z;else X=w+"."+Z;if(Z===U.textNodeName)if(W===void 0)W=L[Z];else W+=""+L[Z];else if(Z===void 0)continue;else if(L[Z]){let F=yL(L[Z],U,X);const Y=zE(F,U);if(L[":@"])QE(F,L[":@"],X,U);else if(Object.keys(F).length===1&&F[U.textNodeName]!==void 0&&!U.alwaysCreateTextNode)F=F[U.textNodeName];else if(Object.keys(F).length===0)if(U.alwaysCreateTextNode)F[U.textNodeName]="";else F="";if(G[Z]!==void 0&&G.hasOwnProperty(Z)){if(!Array.isArray(G[Z]))G[Z]=[G[Z]];G[Z].push(F)}else if(U.isArray(Z,X,Y))G[Z]=[F];else G[Z]=F}}if(typeof W==="string"){if(W.length>0)G[U.textNodeName]=W}else if(W!==void 0)G[U.textNodeName]=W;return G},IE=function($){const U=Object.keys($);for(let w=0;w<U.length;w++){const W=U[w];if(W!==":@")return W}},QE=function($,U,w,W){if(U){const G=Object.keys(U),f=G.length;for(let L=0;L<f;L++){const Z=G[L];if(W.isArray(Z,w+"."+Z,!0,!0))$[Z]=[U[Z]];else $[Z]=U[Z]}}},zE=function($,U){const{textNodeName:w}=U,W=Object.keys($).length;if(W===0)return!0;if(W===1&&($[w]||typeof $[w]==="boolean"||$[w]===0))return!0;return!1};EE.prettify=YE});var gL=K(($T,pL)=>{var{buildOptions:JE}=qL(),KE=uL(),{prettify:ME}=_L(),VE=oU();class dL{constructor($){this.externalEntities={},this.options=JE($)}parse($,U){if(typeof $==="string");else if($.toString)$=$.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(U){if(U===!0)U={};const G=VE.validate($,U);if(G!==!0)throw Error(`${G.err.msg}:${G.err.line}:${G.err.col}`)}const w=new KE(this.options);w.addExternalEntities(this.externalEntities);const W=w.parseXml($);if(this.options.preserveOrder||W===void 0)return W;else return ME(W,this.options)}addEntity($,U){if(U.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");else if($.indexOf("&")!==-1||$.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");else if(U==="&")throw new Error("An entity with value '&' is not permitted");else this.externalEntities[$]=U}}pL.exports=dL});var iL=K((UT,mL)=>{var AE=function($,U){let w="";if(U.format&&U.indentBy.length>0)w="\n";return sL($,U,"",w)},sL=function($,U,w,W){let G="",f=!1;for(let L=0;L<$.length;L++){const Z=$[L],X=BE(Z);if(X===void 0)continue;let F="";if(w.length===0)F=X;else F=`${w}.${X}`;if(X===U.textNodeName){let E=Z[X];if(!TE(F,U))E=U.tagValueProcessor(X,E),E=nL(E,U);if(f)G+=W;G+=E,f=!1;continue}else if(X===U.cdataPropName){if(f)G+=W;G+=`<![CDATA[${Z[X][0][U.textNodeName]}]]>`,f=!1;continue}else if(X===U.commentPropName){G+=W+`<!--${Z[X][0][U.textNodeName]}-->`,f=!0;continue}else if(X[0]==="?"){const E=lL(Z[":@"],U),A=X==="?xml"?"":W;let M=Z[X][0][U.textNodeName];M=M.length!==0?" "+M:"",G+=A+`<${X}${M}${E}?>`,f=!0;continue}let Y=W;if(Y!=="")Y+=U.indentBy;const I=lL(Z[":@"],U),z=W+`<${X}${I}`,Q=sL(Z[X],U,F,Y);if(U.unpairedTags.indexOf(X)!==-1)if(U.suppressUnpairedNode)G+=z+">";else G+=z+"/>";else if((!Q||Q.length===0)&&U.suppressEmptyNode)G+=z+"/>";else if(Q&&Q.endsWith(">"))G+=z+`>${Q}${W}</${X}>`;else{if(G+=z+">",Q&&W!==""&&(Q.includes("/>")||Q.includes("</")))G+=W+U.indentBy+Q+W;else G+=Q;G+=`</${X}>`}f=!0}return G},BE=function($){const U=Object.keys($);for(let w=0;w<U.length;w++){const W=U[w];if(!$.hasOwnProperty(W))continue;if(W!==":@")return W}},lL=function($,U){let w="";if($&&!U.ignoreAttributes)for(let W in $){if(!$.hasOwnProperty(W))continue;let G=U.attributeValueProcessor(W,$[W]);if(G=nL(G,U),G===!0&&U.suppressBooleanAttributes)w+=` ${W.substr(U.attributeNamePrefix.length)}`;else w+=` ${W.substr(U.attributeNamePrefix.length)}="${G}"`}return w},TE=function($,U){$=$.substr(0,$.length-U.textNodeName.length-1);let w=$.substr($.lastIndexOf(".")+1);for(let W in U.stopNodes)if(U.stopNodes[W]===$||U.stopNodes[W]==="*."+w)return!0;return!1},nL=function($,U){if($&&$.length>0&&U.processEntities)for(let w=0;w<U.entities.length;w++){const W=U.entities[w];$=$.replace(W.regex,W.val)}return $};mL.exports=AE});var oL=K((wT,rL)=>{var X0=function($){if(this.options=Object.assign({},HE,$),this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=qE;if(this.processTextOrObjNode=CE,this.options.format)this.indentate=NE,this.tagEndChar=">\n",this.newLine="\n";else this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""},CE=function($,U,w){const W=this.j2x($,w+1);if($[this.options.textNodeName]!==void 0&&Object.keys($).length===1)return this.buildTextValNode($[this.options.textNodeName],U,W.attrStr,w);else return this.buildObjectNode(W.val,U,W.attrStr,w)},NE=function($){return this.options.indentBy.repeat($)},qE=function($){if($.startsWith(this.options.attributeNamePrefix)&&$!==this.options.textNodeName)return $.substr(this.attrPrefixLen);else return!1},OE=iL(),HE={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function($,U){return U},attributeValueProcessor:function($,U){return U},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("\'","g"),val:"&apos;"},{regex:new RegExp("\"","g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};X0.prototype.build=function($){if(this.options.preserveOrder)return OE($,this.options);else{if(Array.isArray($)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1)$={[this.options.arrayNodeName]:$};return this.j2x($,0).val}};X0.prototype.j2x=function($,U){let w="",W="";for(let G in $){if(!Object.prototype.hasOwnProperty.call($,G))continue;if(typeof $[G]==="undefined"){if(this.isAttribute(G))W+=""}else if($[G]===null)if(this.isAttribute(G))W+="";else if(G[0]==="?")W+=this.indentate(U)+"<"+G+"?"+this.tagEndChar;else W+=this.indentate(U)+"<"+G+"/"+this.tagEndChar;else if($[G]instanceof Date)W+=this.buildTextValNode($[G],G,"",U);else if(typeof $[G]!=="object"){const f=this.isAttribute(G);if(f)w+=this.buildAttrPairStr(f,""+$[G]);else if(G===this.options.textNodeName){let L=this.options.tagValueProcessor(G,""+$[G]);W+=this.replaceEntitiesValue(L)}else W+=this.buildTextValNode($[G],G,"",U)}else if(Array.isArray($[G])){const f=$[G].length;let L="",Z="";for(let X=0;X<f;X++){const F=$[G][X];if(typeof F==="undefined");else if(F===null)if(G[0]==="?")W+=this.indentate(U)+"<"+G+"?"+this.tagEndChar;else W+=this.indentate(U)+"<"+G+"/"+this.tagEndChar;else if(typeof F==="object")if(this.options.oneListGroup){const Y=this.j2x(F,U+1);if(L+=Y.val,this.options.attributesGroupName&&F.hasOwnProperty(this.options.attributesGroupName))Z+=Y.attrStr}else L+=this.processTextOrObjNode(F,G,U);else if(this.options.oneListGroup){let Y=this.options.tagValueProcessor(G,F);Y=this.replaceEntitiesValue(Y),L+=Y}else L+=this.buildTextValNode(F,G,"",U)}if(this.options.oneListGroup)L=this.buildObjectNode(L,G,Z,U);W+=L}else if(this.options.attributesGroupName&&G===this.options.attributesGroupName){const f=Object.keys($[G]),L=f.length;for(let Z=0;Z<L;Z++)w+=this.buildAttrPairStr(f[Z],""+$[G][f[Z]])}else W+=this.processTextOrObjNode($[G],G,U)}return{attrStr:w,val:W}};X0.prototype.buildAttrPairStr=function($,U){if(U=this.options.attributeValueProcessor($,""+U),U=this.replaceEntitiesValue(U),this.options.suppressBooleanAttributes&&U==="true")return" "+$;else return" "+$+'="'+U+'"'};X0.prototype.buildObjectNode=function($,U,w,W){if($==="")if(U[0]==="?")return this.indentate(W)+"<"+U+w+"?"+this.tagEndChar;else return this.indentate(W)+"<"+U+w+this.closeTag(U)+this.tagEndChar;else{let G="</"+U+this.tagEndChar,f="";if(U[0]==="?")f="?",G="";if((w||w==="")&&$.indexOf("<")===-1)return this.indentate(W)+"<"+U+w+f+">"+$+G;else if(this.options.commentPropName!==!1&&U===this.options.commentPropName&&f.length===0)return this.indentate(W)+`<!--${$}-->`+this.newLine;else return this.indentate(W)+"<"+U+w+f+this.tagEndChar+$+this.indentate(W)+G}};X0.prototype.closeTag=function($){let U="";if(this.options.unpairedTags.indexOf($)!==-1){if(!this.options.suppressUnpairedNode)U="/"}else if(this.options.suppressEmptyNode)U="/";else U=`></${$}`;return U};X0.prototype.buildTextValNode=function($,U,w,W){if(this.options.cdataPropName!==!1&&U===this.options.cdataPropName)return this.indentate(W)+`<![CDATA[${$}]]>`+this.newLine;else if(this.options.commentPropName!==!1&&U===this.options.commentPropName)return this.indentate(W)+`<!--${$}-->`+this.newLine;else if(U[0]==="?")return this.indentate(W)+"<"+U+w+"?"+this.tagEndChar;else{let G=this.options.tagValueProcessor(U,$);if(G=this.replaceEntitiesValue(G),G==="")return this.indentate(W)+"<"+U+w+this.closeTag(U)+this.tagEndChar;else return this.indentate(W)+"<"+U+w+">"+G+"</"+U+this.tagEndChar}};X0.prototype.replaceEntitiesValue=function($){if($&&$.length>0&&this.options.processEntities)for(let U=0;U<this.options.entities.length;U++){const w=this.options.entities[U];$=$.replace(w.regex,w.val)}return $};rL.exports=X0});var tL=K((GT,aL)=>{var jE=oU(),PE=gL(),SE=oL();aL.exports={XMLParser:PE,XMLValidator:jE,XMLBuilder:SE}});var WZ=K((WT,GZ)=>{var{defineProperty:z$,getOwnPropertyDescriptor:bE,getOwnPropertyNames:hE}=Object,DE=Object.prototype.hasOwnProperty,v=($,U)=>z$($,"name",{value:U,configurable:!0}),kE=($,U)=>{for(var w in U)z$($,w,{get:U[w],enumerable:!0})},vE=($,U,w,W)=>{if(U&&typeof U==="object"||typeof U==="function"){for(let G of hE(U))if(!DE.call($,G)&&G!==w)z$($,G,{get:()=>U[G],enumerable:!(W=bE(U,G))||W.enumerable})}return $},cE=($)=>vE(z$({},"__esModule",{value:!0}),$),eL={};kE(eL,{_toBool:()=>uE,_toNum:()=>yE,_toStr:()=>xE,awsExpectUnion:()=>dE,loadRestJsonErrorCode:()=>lE,loadRestXmlErrorCode:()=>iE,parseJsonBody:()=>UZ,parseJsonErrorBody:()=>gE,parseXmlBody:()=>wZ,parseXmlErrorBody:()=>mE});GZ.exports=cE(eL);var xE=v(($)=>{if($==null)return $;if(typeof $==="number"||typeof $==="bigint"){const U=new Error(`Received number ${$} where a string was expected.`);return U.name="Warning",console.warn(U),String($)}if(typeof $==="boolean"){const U=new Error(`Received boolean ${$} where a string was expected.`);return U.name="Warning",console.warn(U),String($)}return $},"_toStr"),uE=v(($)=>{if($==null)return $;if(typeof $==="string"){const U=$.toLowerCase();if($!==""&&U!=="false"&&U!=="true"){const w=new Error(`Received string "${$}" where a boolean was expected.`);w.name="Warning",console.warn(w)}return $!==""&&U!=="false"}return $},"_toBool"),yE=v(($)=>{if($==null)return $;if(typeof $==="string"){const U=Number($);if(U.toString()!==$){const w=new Error(`Received string "${$}" where a number was expected.`);return w.name="Warning",console.warn(w),$}return U}return $},"_toNum"),_E=q0(),dE=v(($)=>{if($==null)return;if(typeof $==="object"&&"__type"in $)delete $.__type;return _E.expectUnion($)},"awsExpectUnion"),pE=q0(),$Z=v(($,U)=>pE.collectBody($,U).then((w)=>U.utf8Encoder(w)),"collectBodyString"),UZ=v(($,U)=>$Z($,U).then((w)=>{if(w.length)try{return JSON.parse(w)}catch(W){if((W==null?void 0:W.name)==="SyntaxError")Object.defineProperty(W,"$responseBodyText",{value:w});throw W}return{}}),"parseJsonBody"),gE=v(async($,U)=>{const w=await UZ($,U);return w.message=w.message??w.Message,w},"parseJsonErrorBody"),lE=v(($,U)=>{const w=v((f,L)=>Object.keys(f).find((Z)=>Z.toLowerCase()===L.toLowerCase()),"findKey"),W=v((f)=>{let L=f;if(typeof L==="number")L=L.toString();if(L.indexOf(",")>=0)L=L.split(",")[0];if(L.indexOf(":")>=0)L=L.split(":")[0];if(L.indexOf("#")>=0)L=L.split("#")[1];return L},"sanitizeErrorCode"),G=w($.headers,"x-amzn-errortype");if(G!==void 0)return W($.headers[G]);if(U.code!==void 0)return W(U.code);if(U.__type!==void 0)return W(U.__type)},"loadRestJsonErrorCode"),sE=q0(),nE=tL(),wZ=v(($,U)=>$Z($,U).then((w)=>{if(w.length){const W=new nE.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(X,F)=>F.trim()===""&&F.includes("\n")?"":void 0});W.addEntity("#xD","\r"),W.addEntity("#10","\n");let G;try{G=W.parse(w,!0)}catch(X){if(X&&typeof X==="object")Object.defineProperty(X,"$responseBodyText",{value:w});throw X}const f="#text",L=Object.keys(G)[0],Z=G[L];if(Z[f])Z[L]=Z[f],delete Z[f];return sE.getValueFromTextNode(Z)}return{}}),"parseXmlBody"),mE=v(async($,U)=>{const w=await wZ($,U);if(w.Error)w.Error.message=w.Error.message??w.Error.Message;return w},"parseXmlErrorBody"),iE=v(($,U)=>{var w;if(((w=U==null?void 0:U.Error)==null?void 0:w.Code)!==void 0)return U.Error.Code;if((U==null?void 0:U.Code)!==void 0)return U.Code;if($.statusCode==404)return"NotFound"},"loadRestXmlErrorCode")});var rE=K((f1)=>{Object.defineProperty(f1,"__esModule",{value:!0});var eU=uf();eU.__exportStar(pf(),f1);eU.__exportStar(VL(),f1);eU.__exportStar(WZ(),f1)});function IR($){return $}var KZ=($)=>(U)=>async(w)=>{if(!x.isInstance(w.request))return U(w);const{request:W}=w,{handlerProtocol:G=""}=$.requestHandler.metadata||{};if(G.indexOf("h2")>=0&&!W.headers[":authority"])delete W.headers.host,W.headers[":authority"]=W.hostname+(W.port?":"+W.port:"");else if(!W.headers.host){let f=W.hostname;if(W.port!=null)f+=`:${W.port}`;W.headers.host=f}return U(w)},MZ={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},QR=($)=>({applyToStack:(U)=>{U.add(KZ($),MZ)}});var VZ=()=>($,U)=>async(w)=>{try{const W=await $(w),{clientName:G,commandName:f,logger:L,dynamoDbDocumentClientOptions:Z={}}=U,{overrideInputFilterSensitiveLog:X,overrideOutputFilterSensitiveLog:F}=Z,Y=X??U.inputFilterSensitiveLog,I=F??U.outputFilterSensitiveLog,{$metadata:z,...Q}=W.output;return L?.info?.({clientName:G,commandName:f,input:Y(w.input),output:I(Q),metadata:z}),W}catch(W){const{clientName:G,commandName:f,logger:L,dynamoDbDocumentClientOptions:Z={}}=U,{overrideInputFilterSensitiveLog:X}=Z,F=X??U.inputFilterSensitiveLog;throw L?.error?.({clientName:G,commandName:f,input:F(w.input),error:W,metadata:W.$metadata}),W}},AZ={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},ER=($)=>({applyToStack:(U)=>{U.add(VZ(),AZ)}});var Ww="X-Amzn-Trace-Id",BZ="AWS_LAMBDA_FUNCTION_NAME",TZ="_X_AMZN_TRACE_ID",OZ=($)=>(U)=>async(w)=>{const{request:W}=w;if(!x.isInstance(W)||$.runtime!=="node"||W.headers.hasOwnProperty(Ww))return U(w);const G=process.env[BZ],f=process.env[TZ],L=(Z)=>typeof Z==="string"&&Z.length>0;if(L(G)&&L(f))W.headers[Ww]=f;return U({...w,request:W})},HZ={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},VR=($)=>({applyToStack:(U)=>{U.add(OZ($),HZ)}});function CJ($){return{...$,customUserAgent:typeof $.customUserAgent==="string"?[[$.customUserAgent]]:$.customUserAgent}}var PQ=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),a0=($)=>PQ.test($)||$.startsWith("[")&&$.endsWith("]");var SQ=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),t0=($,U=!1)=>{if(!U)return SQ.test($);const w=$.split(".");for(let W of w)if(!t0(W))return!1;return!0};var e0={};var a="endpoints";function _($){if(typeof $!=="object"||$==null)return $;if("ref"in $)return`\$${_($.ref)}`;if("fn"in $)return`${$.fn}(${($.argv||[]).map(_).join(", ")})`;return JSON.stringify($,null,2)}class H extends Error{constructor($){super($);this.name="EndpointError"}}var T6=($,U)=>$===U;var O6=($)=>{const U=$.split("."),w=[];for(let W of U){const G=W.indexOf("[");if(G!==-1){if(W.indexOf("]")!==W.length-1)throw new H(`Path: '${$}' does not end with ']'`);const f=W.slice(G+1,-1);if(Number.isNaN(parseInt(f)))throw new H(`Invalid array index: '${f}' in path: '${$}'`);if(G!==0)w.push(W.slice(0,G));w.push(f)}else w.push(W)}return w};var d1=($,U)=>O6(U).reduce((w,W)=>{if(typeof w!=="object")throw new H(`Index '${W}' in '${U}' not found in '${JSON.stringify($)}'`);else if(Array.isArray(w))return w[parseInt(W)];return w[W]},$);var H6=($)=>$!=null;var C6=($)=>!$;var p1=W0(Y0(),1);var VU={[p1.EndpointURLScheme.HTTP]:80,[p1.EndpointURLScheme.HTTPS]:443},N6=($)=>{const U=(()=>{try{if($ instanceof URL)return $;if(typeof $==="object"&&"hostname"in $){const{hostname:z,port:Q,protocol:E="",path:A="",query:M={}}=$,R=new URL(`${E}//${z}${Q?`:${Q}`:""}${A}`);return R.search=Object.entries(M).map(([V,B])=>`${V}=${B}`).join("&"),R}return new URL($)}catch(z){return null}})();if(!U)return console.error(`Unable to parse ${JSON.stringify($)} as a whatwg URL.`),null;const w=U.href,{host:W,hostname:G,pathname:f,protocol:L,search:Z}=U;if(Z)return null;const X=L.slice(0,-1);if(!Object.values(p1.EndpointURLScheme).includes(X))return null;const F=a0(G),Y=w.includes(`${W}:${VU[X]}`)||typeof $==="string"&&$.includes(`${W}:${VU[X]}`),I=`${W}${Y?`:${VU[X]}`:""}`;return{scheme:X,authority:I,path:f,normalizedPath:f.endsWith("/")?f:`${f}/`,isIp:F}};var q6=($,U)=>$===U;var j6=($,U,w,W)=>{if(U>=w||$.length<w)return null;if(!W)return $.substring(U,w);return $.substring($.length-w,$.length-U)};var P6=($)=>encodeURIComponent($).replace(/[!*'()]/g,(U)=>`%${U.charCodeAt(0).toString(16).toUpperCase()}`);var S6={booleanEquals:T6,getAttr:d1,isSet:H6,isValidHostLabel:t0,not:C6,parseURL:N6,stringEquals:q6,substring:j6,uriEncode:P6};var g1=($,U)=>{const w=[],W={...U.endpointParams,...U.referenceRecord};let G=0;while(G<$.length){const f=$.indexOf("{",G);if(f===-1){w.push($.slice(G));break}w.push($.slice(G,f));const L=$.indexOf("}",f);if(L===-1){w.push($.slice(f));break}if($[f+1]==="{"&&$[L+1]==="}")w.push($.slice(f+1,L)),G=L+2;const Z=$.substring(f+1,L);if(Z.includes("#")){const[X,F]=Z.split("#");w.push(d1(W[X],F))}else w.push(W[Z]);G=L+1}return w.join("")};var b6=({ref:$},U)=>{return{...U.endpointParams,...U.referenceRecord}[$]};var f0=($,U,w)=>{if(typeof $==="string")return g1($,w);else if($.fn)return l1($,w);else if($.ref)return b6($,w);throw new H(`'${U}': ${String($)} is not a string, function or reference.`)};var l1=({fn:$,argv:U},w)=>{const W=U.map((f)=>["boolean","number"].includes(typeof f)?f:f0(f,"arg",w)),G=$.split(".");if(G[0]in e0&&G[1]!=null)return e0[G[0]][G[1]](...W);return S6[$](...W)};var h6=({assign:$,...U},w)=>{if($&&$ in w.referenceRecord)throw new H(`'${$}' is already defined in Reference Record.`);const W=l1(U,w);return w.logger?.debug?.(`${a} evaluateCondition: ${_(U)} = ${_(W)}`),{result:W===""?!0:!!W,...$!=null&&{toAssign:{name:$,value:W}}}};var P0=($=[],U)=>{const w={};for(let W of $){const{result:G,toAssign:f}=h6(W,{...U,referenceRecord:{...U.referenceRecord,...w}});if(!G)return{result:G};if(f)w[f.name]=f.value,U.logger?.debug?.(`${a} assign: ${f.name} := ${_(f.value)}`)}return{result:!0,referenceRecord:w}};var D6=($,U)=>Object.entries($).reduce((w,[W,G])=>({...w,[W]:G.map((f)=>{const L=f0(f,"Header value entry",U);if(typeof L!=="string")throw new H(`Header '${W}' value '${L}' is not a string`);return L})}),{});var AU=($,U)=>{if(Array.isArray($))return $.map((w)=>AU(w,U));switch(typeof $){case"string":return g1($,U);case"object":if($===null)throw new H(`Unexpected endpoint property: ${$}`);return s1($,U);case"boolean":return $;default:throw new H(`Unexpected endpoint property type: ${typeof $}`)}};var s1=($,U)=>Object.entries($).reduce((w,[W,G])=>({...w,[W]:AU(G,U)}),{});var k6=($,U)=>{const w=f0($,"Endpoint URL",U);if(typeof w==="string")try{return new URL(w)}catch(W){throw console.error(`Failed to construct URL with ${w}`,W),W}throw new H(`Endpoint URL must be a string, got ${typeof w}`)};var v6=($,U)=>{const{conditions:w,endpoint:W}=$,{result:G,referenceRecord:f}=P0(w,U);if(!G)return;const L={...U,referenceRecord:{...U.referenceRecord,...f}},{url:Z,properties:X,headers:F}=W;return U.logger?.debug?.(`${a} Resolving endpoint from template: ${_(W)}`),{...F!=null&&{headers:D6(F,L)},...X!=null&&{properties:s1(X,L)},url:k6(Z,L)}};var c6=($,U)=>{const{conditions:w,error:W}=$,{result:G,referenceRecord:f}=P0(w,U);if(!G)return;throw new H(f0(W,"Error",{...U,referenceRecord:{...U.referenceRecord,...f}}))};var x6=($,U)=>{const{conditions:w,rules:W}=$,{result:G,referenceRecord:f}=P0(w,U);if(!G)return;return n1(W,{...U,referenceRecord:{...U.referenceRecord,...f}})};var n1=($,U)=>{for(let w of $)if(w.type==="endpoint"){const W=v6(w,U);if(W)return W}else if(w.type==="error")c6(w,U);else if(w.type==="tree"){const W=x6(w,U);if(W)return W}else throw new H(`Unknown endpoint rule: ${w}`);throw new H("Rules evaluation failed")};var bQ=($,U)=>{const{endpointParams:w,logger:W}=U,{parameters:G,rules:f}=$;U.logger?.debug?.(`${a} Initial EndpointParams: ${_(w)}`);const L=Object.entries(G).filter(([,F])=>F.default!=null).map(([F,Y])=>[F,Y.default]);if(L.length>0)for(let[F,Y]of L)w[F]=w[F]??Y;const Z=Object.entries(G).filter(([,F])=>F.required).map(([F])=>F);for(let F of Z)if(w[F]==null)throw new H(`Missing required parameter: '${F}'`);const X=n1(f,{endpointParams:w,logger:W,referenceRecord:{}});if(U.endpointParams?.Endpoint)try{const F=new URL(U.endpointParams.Endpoint),{protocol:Y,port:I}=F;X.url.protocol=Y,X.url.port=I}catch(F){}return U.logger?.debug?.(`${a} Resolved endpoint: ${_(X)}`),X};var BU=($,U=!1)=>{if(U){for(let w of $.split("."))if(!BU(w))return!1;return!0}if(!t0($))return!1;if($.length<3||$.length>63)return!1;if($!==$.toLowerCase())return!1;if(a0($))return!1;return!0};var u6=($)=>{const U=$.split(":");if(U.length<6)return null;const[w,W,G,f,L,...Z]=U;if(w!=="arn"||W===""||G===""||Z[0]==="")return null;return{partition:W,service:G,region:f,accountId:L,resourceId:Z[0].includes("/")?Z[0].split("/"):Z}};var y6={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"};var DQ=y6,kQ="",_6=($)=>{const{partitions:U}=DQ;for(let W of U){const{regions:G,outputs:f}=W;for(let[L,Z]of Object.entries(G))if(L===$)return{...f,...Z}}for(let W of U){const{regionRegex:G,outputs:f}=W;if(new RegExp(G).test($))return{...f}}const w=U.find((W)=>W.id==="aws");if(!w)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...w.outputs}};var d6=()=>kQ;var vQ={isVirtualHostableS3Bucket:BU,parseArn:u6,partition:_6};e0.aws=vQ;var TU="user-agent",m1="x-amz-user-agent",OU=" ",i1="/",p6=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,g6=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,HU="-";var cQ=($)=>(U,w)=>async(W)=>{const{request:G}=W;if(!x.isInstance(G))return U(W);const{headers:f}=G,L=w?.userAgent?.map(CU)||[],Z=(await $.defaultUserAgentProvider()).map(CU),X=$?.customUserAgent?.map(CU)||[],F=d6(),Y=(F?[F]:[]).concat([...Z,...L,...X]).join(OU),I=[...Z.filter((z)=>z.startsWith("aws-sdk-")),...X].join(OU);if($.runtime!=="browser"){if(I)f[m1]=f[m1]?`${f[TU]} ${I}`:I;f[TU]=Y}else f[m1]=Y;return U({...W,request:G})},CU=($)=>{const U=$[0].split(i1).map((L)=>L.replace(p6,HU)).join(i1),w=$[1]?.replace(g6,HU),W=U.indexOf(i1),G=U.substring(0,W);let f=U.substring(W+1);if(G==="api")f=f.toLowerCase();return[G,f,w].filter((L)=>L&&L.length>0).reduce((L,Z,X)=>{switch(X){case 0:return Z;case 1:return`${L}/${Z}`;default:return`${L}#${Z}`}},"")},xQ={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},W3=($)=>({applyToStack:(U)=>{U.add(cQ($),xQ)}});var r1=($)=>typeof $==="string"&&($.startsWith("fips-")||$.endsWith("-fips"));var NU=($)=>r1($)?["fips-aws-global","aws-fips"].includes($)?"us-east-1":$.replace(/fips-(dkr-|prod-)?|-fips/,""):$;var E3=($)=>{const{region:U,useFipsEndpoint:w}=$;if(!U)throw new Error("Region is missing");return{...$,region:async()=>{if(typeof U==="string")return NU(U);const W=await U();return NU(W)},useFipsEndpoint:async()=>{const W=typeof U==="string"?U:await U();if(r1(W))return!0;return typeof w!=="function"?Promise.resolve(!!w):w()}}};var S0=($,U,w)=>{if(!(U in $))return;if($[U]==="true")return!0;if($[U]==="false")return!1;throw new Error(`Cannot load ${w} "${U}". Expected "true" or "false", got ${$[U]}.`)};var L0;(function($){$.ENV="env",$.CONFIG="shared config entry"})(L0||(L0={}));var uQ="AWS_USE_DUALSTACK_ENDPOINT",yQ="use_dualstack_endpoint";var H3={environmentVariableSelector:($)=>S0($,uQ,L0.ENV),configFileSelector:($)=>S0($,yQ,L0.CONFIG),default:!1};var _Q="AWS_USE_FIPS_ENDPOINT",dQ="use_fips_endpoint";var q3={environmentVariableSelector:($)=>S0($,_Q,L0.ENV),configFileSelector:($)=>S0($,dQ,L0.CONFIG),default:!1};var qU=W0(Y0(),1),l6=($)=>$[qU.SMITHY_CONTEXT_KEY]||($[qU.SMITHY_CONTEXT_KEY]={});var t=($)=>{if(typeof $==="function")return $;const U=Promise.resolve($);return()=>U};var s6={environmentVariableSelector:($)=>$["AWS_REGION"],configFileSelector:($)=>$["region"],default:()=>{throw new Error("Region is missing")}},n3={preferredFile:"credentials"};function pQ($){return(U)=>async(w)=>{const W=w.request;if(x.isInstance(W)){const{body:G,headers:f}=W;if(G&&Object.keys(f).map((L)=>L.toLowerCase()).indexOf(n6)===-1)try{const L=$(G);W.headers={...W.headers,[n6]:String(L)}}catch(L){}}return U({...w,request:W})}}var n6="content-length",gQ={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},VV=($)=>({applyToStack:(U)=>{U.add(pQ($.bodyLengthChecker),gQ)}});var m6=($,U)=>(w)=>async(W)=>{const{response:G}=await w(W);try{const f=await U(G,$);return{response:G,output:f}}catch(f){if(Object.defineProperty(f,"$response",{value:G}),!("$metadata"in f)){if(f.message+="\n Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.",typeof f.$responseBodyText!=="undefined"){if(f.$response)f.$response.body=f.$responseBodyText}}throw f}};var i6=($,U)=>(w,W)=>async(G)=>{const f=W.endpointV2?.url&&$.urlParser?async()=>$.urlParser(W.endpointV2.url):$.endpoint;if(!f)throw new Error("No valid endpoint provider available.");const L=await U(G.input,{...$,endpoint:f});return w({...G,request:L})};function CV($,U,w){return{applyToStack:(W)=>{W.add(m6($,w),lQ),W.add(i6($,U),jU)}}}var lQ={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},jU={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};var r6=async($)=>{const U=$?.Bucket||"";if(typeof $.Bucket==="string")$.Bucket=U.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(rQ(U)){if($.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!iQ(U)||U.indexOf(".")!==-1&&!String($.Endpoint).startsWith("http:")||U.toLowerCase()!==U||U.length<3)$.ForcePathStyle=!0;if($.DisableMultiRegionAccessPoints)$.disableMultiRegionAccessPoints=!0,$.DisableMRAP=!0;return $},sQ=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,nQ=/(\d+\.){3}\d+/,mQ=/\.\./;var iQ=($)=>sQ.test($)&&!nQ.test($)&&!mQ.test($),rQ=($)=>{const[U,w,W,,,G]=$.split(":"),f=U==="arn"&&$.split(":").length>=6,L=Boolean(f&&w&&W&&G);if(f&&!L)throw new Error(`Invalid ARN: ${$} was an invalid ARN.`);return L};var o6=($,U,w)=>{const W=async()=>{const G=w[$]??w[U];if(typeof G==="function")return G();return G};if($==="credentialScope"||U==="CredentialScope")return async()=>{const G=typeof w.credentials==="function"?await w.credentials():w.credentials;return G?.credentialScope??G?.CredentialScope};if($==="accountId"||U==="AccountId")return async()=>{const G=typeof w.credentials==="function"?await w.credentials():w.credentials;return G?.accountId??G?.AccountId};if($==="endpoint"||U==="endpoint")return async()=>{const G=await W();if(G&&typeof G==="object"){if("url"in G)return G.url.href;if("hostname"in G){const{protocol:f,hostname:L,port:Z,path:X}=G;return`${f}//${L}${Z?":"+Z:""}${X}`}}return G};return W};var a6="AWS_ENDPOINT_URL",t6="endpoint_url",e6=($)=>({environmentVariableSelector:(U)=>{const w=$.split(" ").map((f)=>f.toUpperCase()),W=U[[a6,...w].join("_")];if(W)return W;const G=U[a6];if(G)return G;return},configFileSelector:(U,w)=>{if(w&&U.services){const G=w[["services",U.services].join(PU)];if(G){const f=$.split(" ").map((Z)=>Z.toLowerCase()),L=G[[f.join("_"),t6].join(PU)];if(L)return L}}const W=U[t6];if(W)return W;return},default:void 0});var $f=async($)=>J0(e6($))();var o1=($)=>{if(typeof $==="object"){if("url"in $)return SU($.url);return $}return SU($)};var Uf=async($,U,w,W)=>{if(!w.endpoint){const L=await $f(w.serviceId||"");if(L)w.endpoint=()=>Promise.resolve(o1(L))}const G=await oQ($,U,w);if(typeof w.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return w.endpointProvider(G,W)},oQ=async($,U,w)=>{const W={},G=U?.getEndpointParameterInstructions?.()||{};for(let[f,L]of Object.entries(G))switch(L.type){case"staticContextParams":W[f]=L.value;break;case"contextParams":W[f]=$[L.name];break;case"clientContextParams":case"builtInParams":W[f]=await o6(L.name,f,w)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(L))}if(Object.keys(G).length===0)Object.assign(W,w);if(String(w.serviceId).toLowerCase()==="s3")await r6(W);return W};var wf=({config:$,instructions:U})=>{return(w,W)=>async(G)=>{const f=await Uf(G.input,{getEndpointParameterInstructions(){return U}},{...$},W);W.endpointV2=f,W.authSchemes=f.properties?.authSchemes;const L=W.authSchemes?.[0];if(L){W.signing_region=L.signingRegion,W.signing_service=L.signingName;const X=l6(W)?.selectedHttpAuthScheme?.httpAuthOption;if(X)X.signingProperties=Object.assign(X.signingProperties||{},{signing_region:L.signingRegion,signingRegion:L.signingRegion,signing_service:L.signingName,signingName:L.signingName,signingRegionSet:L.signingRegionSet},L.properties)}return w({...G})}};var aQ={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:jU.name},tV=($,U)=>({applyToStack:(w)=>{w.addRelativeTo(wf({config:$,instructions:U}),aQ)}});var wA=($)=>{const U=$.tls??!0,{endpoint:w}=$,W=w!=null?async()=>o1(await t(w)()):void 0;return{...$,endpoint:W,tls:U,isCustomEndpoint:!!w,useDualstackEndpoint:t($.useDualstackEndpoint??!1),useFipsEndpoint:t($.useFipsEndpoint??!1)}};var m=W0(D$(),1),zA=m.default.v1,EA=m.default.v3,Gf=m.default.v4,RA=m.default.v5,JA=m.default.NIL,KA=m.default.version,MA=m.default.validate,VA=m.default.stringify,AA=m.default.parse;var s;(function($){$.STANDARD="standard",$.ADAPTIVE="adaptive"})(s||(s={}));var K0=3,Wf=s.STANDARD;var ff=W0(Q0(),1);class a1{constructor($){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=$?.beta??0.7,this.minCapacity=$?.minCapacity??1,this.minFillRate=$?.minFillRate??0.5,this.scaleConstant=$?.scaleConstant??0.4,this.smooth=$?.smooth??0.8;const U=this.getCurrentTimeInSeconds();this.lastThrottleTime=U,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket($){if(!this.enabled)return;if(this.refillTokenBucket(),$>this.currentCapacity){const U=($-this.currentCapacity)/this.fillRate*1000;await new Promise((w)=>setTimeout(w,U))}this.currentCapacity=this.currentCapacity-$}refillTokenBucket(){const $=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=$;return}const U=($-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+U),this.lastTimestamp=$}updateClientSendingRate($){let U;if(this.updateMeasuredRate(),ff.isThrottlingError($)){const W=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=W,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),U=this.cubicThrottle(W),this.enableTokenBucket()}else this.calculateTimeWindow(),U=this.cubicSuccess(this.getCurrentTimeInSeconds());const w=Math.min(U,2*this.measuredTxRate);this.updateTokenBucketRate(w)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle($){return this.getPrecise($*this.beta)}cubicSuccess($){return this.getPrecise(this.scaleConstant*Math.pow($-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate($){this.refillTokenBucket(),this.fillRate=Math.max($,this.minFillRate),this.maxCapacity=Math.max($,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const $=this.getCurrentTimeInSeconds(),U=Math.floor($*2)/2;if(this.requestCount++,U>this.lastTxRateBucket){const w=this.requestCount/(U-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(w*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=U}}getPrecise($){return parseFloat($.toFixed(8))}}var M0=100,$1=20000,bU=500,t1=500,hU=5,DU=10,kU=1,e1="amz-sdk-invocation-id",$$="amz-sdk-request";var Lf=()=>{let $=M0;return{computeNextBackoffDelay:(W)=>{return Math.floor(Math.min($1,Math.random()*2**W*$))},setDelayBase:(W)=>{$=W}}};var vU=({retryDelay:$,retryCount:U,retryCost:w})=>{return{getRetryCount:()=>U,getRetryDelay:()=>Math.min($1,$),getRetryCost:()=>w}};class b0{constructor($){this.maxAttempts=$,this.mode=s.STANDARD,this.capacity=t1,this.retryBackoffStrategy=Lf(),this.maxAttemptsProvider=typeof $==="function"?$:async()=>$}async acquireInitialRetryToken($){return vU({retryDelay:M0,retryCount:0})}async refreshRetryTokenForRetry($,U){const w=await this.getMaxAttempts();if(this.shouldRetry($,U,w)){const W=U.errorType;this.retryBackoffStrategy.setDelayBase(W==="THROTTLING"?bU:M0);const G=this.retryBackoffStrategy.computeNextBackoffDelay($.getRetryCount()),f=U.retryAfterHint?Math.max(U.retryAfterHint.getTime()-Date.now()||0,G):G,L=this.getCapacityCost(W);return this.capacity-=L,vU({retryDelay:f,retryCount:$.getRetryCount()+1,retryCost:L})}throw new Error("No retry token available")}recordSuccess($){this.capacity=Math.max(t1,this.capacity+($.getRetryCost()??kU))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch($){return console.warn(`Max attempts provider could not resolve. Using default of ${K0}`),K0}}shouldRetry($,U,w){return $.getRetryCount()+1<w&&this.capacity>=this.getCapacityCost(U.errorType)&&this.isRetryableError(U.errorType)}getCapacityCost($){return $==="TRANSIENT"?DU:hU}isRetryableError($){return $==="THROTTLING"||$==="TRANSIENT"}}class cU{constructor($,U){this.maxAttemptsProvider=$,this.mode=s.ADAPTIVE;const{rateLimiter:w}=U??{};this.rateLimiter=w??new a1,this.standardRetryStrategy=new b0($)}async acquireInitialRetryToken($){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken($)}async refreshRetryTokenForRetry($,U){return this.rateLimiter.updateClientSendingRate(U),this.standardRetryStrategy.refreshRetryTokenForRetry($,U)}recordSuccess($){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess($)}}var Zf="AWS_MAX_ATTEMPTS",Xf="max_attempts",aA={environmentVariableSelector:($)=>{const U=$[Zf];if(!U)return;const w=parseInt(U);if(Number.isNaN(w))throw new Error(`Environment variable ${Zf} mast be a number, got "${U}"`);return w},configFileSelector:($)=>{const U=$[Xf];if(!U)return;const w=parseInt(U);if(Number.isNaN(w))throw new Error(`Shared config file entry ${Xf} mast be a number, got "${U}"`);return w},default:K0},tA=($)=>{const{retryStrategy:U}=$,w=t($.maxAttempts??K0);return{...$,maxAttempts:w,retryStrategy:async()=>{if(U)return U;if(await t($.retryMode)()===s.ADAPTIVE)return new cU(w);return new b0(w)}}},tQ="AWS_RETRY_MODE",eQ="retry_mode",eA={environmentVariableSelector:($)=>$[tQ],configFileSelector:($)=>$[eQ],default:Wf};var h0=W0(Q0(),1);import{Readable as $7} from"stream";var Ff=($)=>$?.body instanceof $7||typeof ReadableStream!=="undefined"&&$?.body instanceof ReadableStream;var xU=($)=>{if($ instanceof Error)return $;if($ instanceof Object)return Object.assign(new Error,$);if(typeof $==="string")return new Error($);return new Error(`AWS SDK error wrapper for ${$}`)};var U7=($)=>(U,w)=>async(W)=>{let G=await $.retryStrategy();const f=await $.maxAttempts();if(w7(G)){G=G;let L=await G.acquireInitialRetryToken(w.partition_id),Z=new Error,X=0,F=0;const{request:Y}=W,I=x.isInstance(Y);if(I)Y.headers[e1]=Gf();while(!0)try{if(I)Y.headers[$$]=`attempt=${X+1}; max=${f}`;const{response:z,output:Q}=await U(W);return G.recordSuccess(L),Q.$metadata.attempts=X+1,Q.$metadata.totalRetryDelay=F,{response:z,output:Q}}catch(z){const Q=G7(z);if(Z=xU(z),I&&Ff(Y))throw(w.logger instanceof Yf?console:w.logger)?.warn("An error was encountered in a non-retryable streaming request."),Z;try{L=await G.refreshRetryTokenForRetry(L,Q)}catch(A){if(!Z.$metadata)Z.$metadata={};throw Z.$metadata.attempts=X+1,Z.$metadata.totalRetryDelay=F,Z}X=L.getRetryCount();const E=L.getRetryDelay();F+=E,await new Promise((A)=>setTimeout(A,E))}}else{if(G=G,G?.mode)w.userAgent=[...w.userAgent||[],["cfg/retry-mode",G.mode]];return G.retry(U,W)}},w7=($)=>typeof $.acquireInitialRetryToken!=="undefined"&&typeof $.refreshRetryTokenForRetry!=="undefined"&&typeof $.recordSuccess!=="undefined",G7=($)=>{const U={error:$,errorType:W7($)},w=L7($.$response);if(w)U.retryAfterHint=w;return U},W7=($)=>{if(h0.isThrottlingError($))return"THROTTLING";if(h0.isTransientError($))return"TRANSIENT";if(h0.isServerError($))return"SERVER_ERROR";return"CLIENT_ERROR"},f7={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},YB=($)=>({applyToStack:(U)=>{U.add(U7($),f7)}}),L7=($)=>{if(!uU.isInstance($))return;const U=Object.keys($.headers).find((f)=>f.toLowerCase()==="retry-after");if(!U)return;const w=$.headers[U],W=Number(w);if(!Number.isNaN(W))return new Date(W*1000);return new Date(w)};var Z7=W0(Q0(),1);var U$=W0(Q0(),1);import{platform as oE,release as aE} from"os";import{env as LZ,versions as tE} from"process";var $w={isCrtAvailable:!1};var fZ=()=>{if($w.isCrtAvailable)return["md/crt-avail"];return null};var eE="AWS_SDK_UA_APP_ID",$R="sdk-ua-app-id",zT=({serviceId:$,clientVersion:U})=>{const w=[["aws-sdk-js",U],["ua","2.0"],[`os/${oE()}`,aE()],["lang/js"],["md/nodejs",`${tE.node}`]],W=fZ();if(W)w.push(W);if($)w.push([`api/${$}`,U]);if(LZ.AWS_EXECUTION_ENV)w.push([`exec-env/${LZ.AWS_EXECUTION_ENV}`]);const G=J0({environmentVariableSelector:(L)=>L[eE],configFileSelector:(L)=>L[$R],default:void 0})();let f=void 0;return async()=>{if(!f){const L=await G;f=L?[...w,[`app/${L}`]]:[...w]}return f}};import{Buffer as UR} from"buffer";import{createHash as wR,createHmac as GR} from"crypto";var ZZ=function($,U){if(UR.isBuffer($))return $;if(typeof $==="string")return XZ($,U);if(ArrayBuffer.isView($))return Uw($.buffer,$.byteOffset,$.byteLength);return Uw($)};class WR{constructor($,U){this.algorithmIdentifier=$,this.secret=U,this.reset()}update($,U){this.hash.update(FZ(ZZ($,U)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?GR(this.algorithmIdentifier,ZZ(this.secret)):wR(this.algorithmIdentifier)}}import{fstatSync as fR,lstatSync as LR} from"fs";var TT=($)=>{if(!$)return 0;if(typeof $==="string")return Buffer.byteLength($);else if(typeof $.byteLength==="number")return $.byteLength;else if(typeof $.size==="number")return $.size;else if(typeof $.start==="number"&&typeof $.end==="number")return $.end+1-$.start;else if(typeof $.path==="string"||Buffer.isBuffer($.path))return LR($.path).size;else if(typeof $.fd==="number")return fR($.fd).size;throw new Error(`Body Length computation failed for ${$}`)};var RZ=W0(T$(),1);var YZ="AWS_EXECUTION_ENV",ww="AWS_REGION",Gw="AWS_DEFAULT_REGION",IZ="AWS_EC2_METADATA_DISABLED",QZ=["in-region","cross-region","mobile","standard","legacy"],zZ="/latest/meta-data/placement/region";var EZ={environmentVariableSelector:($)=>{return $["AWS_DEFAULTS_MODE"]},configFileSelector:($)=>{return $["defaults_mode"]},default:"legacy"};var hT=({region:$=J0(s6),defaultsMode:U=J0(EZ)}={})=>RZ.memoize(async()=>{const w=typeof U==="function"?await U():U;switch(w?.toLowerCase()){case"auto":return ZR($);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(w?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${QZ.join(", ")}, got ${w}`)}}),ZR=async($)=>{if($){const U=typeof $==="function"?await $():$,w=await XR();if(!w)return"standard";if(U===w)return"in-region";else return"cross-region"}return"standard"},XR=async()=>{if(process.env[YZ]&&(process.env[ww]||process.env[Gw]))return process.env[ww]??process.env[Gw];if(!process.env[IZ])try{const{getInstanceMetadataEndpoint:$,httpRequest:U}=await import("./chunk-8133ed564834cff3.js"),w=await $();return(await U({...w,path:zZ})).toString()}catch($){}};var cT=($)=>{let U=async()=>{if($.region===void 0)throw new Error("Region is missing from runtimeConfig");const w=$.region;if(typeof w==="string")return w;return w()};return{setRegion(w){U=w},region(){return U}}},xT=($)=>{return{region:$.region()}};export{IR as ya,QR as za,ER as Aa,VR as Ba,l6 as Ca,t as Da,S0 as Ea,L0 as Fa,MU as Ga,CJ as Ha,e0 as Ia,bQ as Ja,vQ as Ka,W3 as La,H3 as Ma,q3 as Na,s6 as Oa,n3 as Pa,E3 as Qa,VV as Ra,oQ as Sa,CV as Ta,tV as Ua,wA as Va,Wf as Wa,Gf as Xa,aA as Ya,tA as Za,eA as _a,YB as $a,uf as ab,rE as bb,zT as cb,WR as db,TT as eb,hT as fb,cT as gb,xT as hb};
@@ -1,9 +0,0 @@
1
- import{s as $,t as w,u as z} from"./chunk-70bb003c03f21dad.js";import{sb as q,ub as G,wb as Y} from"./chunk-100b76ab0ca3e14d.js";import{yb as Z} from"./chunk-e16b252158474b8c.js";var H="AWS_EC2_METADATA_DISABLED",Q=async(b)=>{const{ENV_CMDS_FULL_URI:j,ENV_CMDS_RELATIVE_URI:x,fromContainerMetadata:y,fromInstanceMetadata:J}=await import("./chunk-370389a68668658a.js");if(process.env[x]||process.env[j]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:K}=await import("./chunk-c675395110f371b1.js");return G(K(b),y(b))}if(process.env[H])return async()=>{throw new q("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),J(b)};var X=!1,W=(b={})=>Y(G(async()=>{if(b.profile??process.env[Z]){if(process.env[$]&&process.env[w]){if(!X)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn:console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
2
- Multiple credential sources detected:
3
- Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
4
- This SDK will proceed with the AWS_PROFILE value.
5
-
6
- However, a future version may change this behavior to prefer the ENV static credentials.
7
- Please ensure that your environment only sets either the AWS_PROFILE or the
8
- AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
9
- `),X=!0}throw new q("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),z(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:j,ssoAccountId:x,ssoRegion:y,ssoRoleName:J,ssoSession:K}=b;if(!j&&!x&&!y&&!J&&!K)throw new q("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});const{fromSSO:B}=await import("./chunk-8c3e0f5d4a0d6e53.js");return B(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:j}=await import("./chunk-7c62e9d6edc4b418.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:j}=await import("./chunk-5cd0a98345a5d57a.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:j}=await import("./chunk-c8b00b645df96ed5.js");return j(b)()},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await Q(b))()},async()=>{throw new q("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}),v,k),k=(b)=>b?.expiration!==void 0,v=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000;export{W as xb};