@beesolve/analytics-processor 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (410) hide show
  1. package/dist/dailyRollup/chunk-2C6L2MOS.mjs +19 -0
  2. package/dist/dailyRollup/chunk-2C6L2MOS.mjs.map +7 -0
  3. package/dist/{monthlyRollup/chunk-MATUPZWL.mjs → dailyRollup/chunk-3UGRDNDZ.mjs} +4 -4
  4. package/dist/{monthlyRollup/chunk-MATUPZWL.mjs.map → dailyRollup/chunk-3UGRDNDZ.mjs.map} +2 -2
  5. package/dist/{hourly/chunk-SEATMW6H.mjs → dailyRollup/chunk-BH7ZEBAB.mjs} +1 -1
  6. package/dist/{hourly/chunk-SEATMW6H.mjs.map → dailyRollup/chunk-BH7ZEBAB.mjs.map} +2 -2
  7. package/dist/dailyRollup/chunk-C3D3OF2Y.mjs +10 -0
  8. package/dist/dailyRollup/chunk-C3D3OF2Y.mjs.map +7 -0
  9. package/dist/dailyRollup/chunk-KRS5YV2Z.mjs +2 -0
  10. package/dist/{hourly/chunk-ZH5DZOB5.mjs.map → dailyRollup/chunk-KRS5YV2Z.mjs.map} +2 -2
  11. package/dist/{hourly/chunk-LK4IXOEA.mjs → dailyRollup/chunk-LB33VBGK.mjs} +1 -1
  12. package/dist/dailyRollup/chunk-OC3UN3OS.mjs +2 -0
  13. package/dist/dailyRollup/chunk-OC3UN3OS.mjs.map +7 -0
  14. package/dist/dailyRollup/chunk-RDUXRFVO.mjs +2 -0
  15. package/dist/{monthlyRollup/sts-AQIPDWOX.mjs.map → dailyRollup/chunk-RDUXRFVO.mjs.map} +2 -2
  16. package/dist/{hourly/chunk-5EEREEGM.mjs → dailyRollup/chunk-U7KUF4SE.mjs} +2 -2
  17. package/dist/{monthlyRollup/chunk-PBJCPHYW.mjs.map → dailyRollup/chunk-U7KUF4SE.mjs.map} +1 -1
  18. package/dist/{hourly/chunk-UEL4UF23.mjs → dailyRollup/chunk-VYXCTSUL.mjs} +1 -1
  19. package/dist/dailyRollup/{chunk-KT7DZL3D.mjs.map → chunk-VYXCTSUL.mjs.map} +1 -1
  20. package/dist/dailyRollup/chunk-YMGL4RSC.mjs +2 -0
  21. package/dist/dailyRollup/chunk-YMGL4RSC.mjs.map +7 -0
  22. package/dist/{hourly/chunk-FLISSIFQ.mjs → dailyRollup/chunk-YY2HYMK3.mjs} +1 -1
  23. package/dist/dailyRollup/client-WC6TZ4NN.mjs +2 -0
  24. package/dist/dailyRollup/dailyRollup.mjs +1 -1
  25. package/dist/dailyRollup/dailyRollup.mjs.map +3 -3
  26. package/dist/dailyRollup/dist-es-7HAYKJOC.mjs +3 -0
  27. package/dist/dailyRollup/{dist-es-YRXTT57X.mjs.map → dist-es-7HAYKJOC.mjs.map} +2 -2
  28. package/dist/dailyRollup/dist-es-ABUQ5KNX.mjs +2 -0
  29. package/dist/dailyRollup/{dist-es-4375P743.mjs.map → dist-es-ABUQ5KNX.mjs.map} +2 -2
  30. package/dist/dailyRollup/dist-es-EWVH3BDI.mjs +2 -0
  31. package/dist/dailyRollup/dist-es-F7GXZJIC.mjs +3 -0
  32. package/dist/dailyRollup/dist-es-F7GXZJIC.mjs.map +7 -0
  33. package/dist/dailyRollup/dist-es-N76XORNU.mjs +2 -0
  34. package/dist/{hourly/dist-es-ARVZEK2B.mjs.map → dailyRollup/dist-es-N76XORNU.mjs.map} +2 -2
  35. package/dist/dailyRollup/dist-es-QDUO3DDE.mjs +2 -0
  36. package/dist/{hourly/dist-es-4JJUYAKR.mjs.map → dailyRollup/dist-es-QDUO3DDE.mjs.map} +2 -2
  37. package/dist/dailyRollup/dist-es-RVE4ILPH.mjs +2 -0
  38. package/dist/dailyRollup/dist-es-SXLXEBAC.mjs +2 -0
  39. package/dist/dailyRollup/{dist-es-FPBJ7DAB.mjs.map → dist-es-SXLXEBAC.mjs.map} +2 -2
  40. package/dist/dailyRollup/dist-es-TRCPUDRV.mjs +2 -0
  41. package/dist/dailyRollup/{dist-es-6SRW3I3T.mjs.map → dist-es-TRCPUDRV.mjs.map} +2 -2
  42. package/dist/{monthlyRollup/dist-es-UGFAGDM2.mjs → dailyRollup/dist-es-YM7ZWFZQ.mjs} +1 -1
  43. package/dist/dailyRollup/{dist-es-G4DL2UUB.mjs.map → dist-es-YM7ZWFZQ.mjs.map} +2 -2
  44. package/dist/dailyRollup/event-streams-6V3Q6GHC.mjs +2 -0
  45. package/dist/dailyRollup/{event-streams-H4LI66VS.mjs.map → event-streams-6V3Q6GHC.mjs.map} +1 -1
  46. package/dist/dailyRollup/loadCognitoIdentity-UVKK4YA5.mjs +2 -0
  47. package/dist/dailyRollup/loadCognitoIdentity-UVKK4YA5.mjs.map +7 -0
  48. package/dist/dailyRollup/loadSso-LWXYD4LE.mjs +2 -0
  49. package/dist/{hourly/loadSso-HHJP34KX.mjs.map → dailyRollup/loadSso-LWXYD4LE.mjs.map} +2 -2
  50. package/dist/dailyRollup/loadSts-XSHGTWHG.mjs +2 -0
  51. package/dist/dailyRollup/signin-PO6GVO2S.mjs +2 -0
  52. package/dist/{monthlyRollup/signin-ZKLDJEMJ.mjs.map → dailyRollup/signin-PO6GVO2S.mjs.map} +2 -2
  53. package/dist/dailyRollup/sso-oidc-BKKWADQK.mjs +2 -0
  54. package/dist/{hourly/sso-oidc-63EGB35D.mjs.map → dailyRollup/sso-oidc-BKKWADQK.mjs.map} +2 -2
  55. package/dist/dailyRollup/sts-EOIPDLUH.mjs +2 -0
  56. package/dist/{dailyRollup/chunk-MATUPZWL.mjs → hourly/chunk-3UGRDNDZ.mjs} +4 -4
  57. package/dist/hourly/{chunk-MATUPZWL.mjs.map → chunk-3UGRDNDZ.mjs.map} +2 -2
  58. package/dist/{monthlyRollup/chunk-HGD7WY52.mjs → hourly/chunk-BH7ZEBAB.mjs} +1 -1
  59. package/dist/hourly/{chunk-HGD7WY52.mjs.map → chunk-BH7ZEBAB.mjs.map} +2 -2
  60. package/dist/hourly/chunk-KRS5YV2Z.mjs +2 -0
  61. package/dist/{dailyRollup/chunk-ZH5DZOB5.mjs.map → hourly/chunk-KRS5YV2Z.mjs.map} +2 -2
  62. package/dist/{dailyRollup/chunk-LK4IXOEA.mjs → hourly/chunk-LB33VBGK.mjs} +1 -1
  63. package/dist/hourly/chunk-OC3UN3OS.mjs +2 -0
  64. package/dist/hourly/chunk-OC3UN3OS.mjs.map +7 -0
  65. package/dist/hourly/chunk-PD2XGJQD.mjs +10 -0
  66. package/dist/hourly/chunk-PD2XGJQD.mjs.map +7 -0
  67. package/dist/{dailyRollup/chunk-KT7DZL3D.mjs → hourly/chunk-QPD5NJHJ.mjs} +1 -1
  68. package/dist/{monthlyRollup/chunk-KT7DZL3D.mjs.map → hourly/chunk-QPD5NJHJ.mjs.map} +1 -1
  69. package/dist/hourly/chunk-REMPUQ6B.mjs +19 -0
  70. package/dist/hourly/chunk-REMPUQ6B.mjs.map +7 -0
  71. package/dist/hourly/chunk-SNCZ4GCT.mjs +2 -0
  72. package/dist/hourly/{sts-YXUOYWFS.mjs.map → chunk-SNCZ4GCT.mjs.map} +2 -2
  73. package/dist/{dailyRollup/chunk-PBJCPHYW.mjs → hourly/chunk-TZ6TJSKE.mjs} +2 -2
  74. package/dist/{dailyRollup/chunk-PBJCPHYW.mjs.map → hourly/chunk-TZ6TJSKE.mjs.map} +1 -1
  75. package/dist/hourly/chunk-YMGL4RSC.mjs +2 -0
  76. package/dist/hourly/chunk-YMGL4RSC.mjs.map +7 -0
  77. package/dist/{monthlyRollup/chunk-FLISSIFQ.mjs → hourly/chunk-YY2HYMK3.mjs} +1 -1
  78. package/dist/hourly/client-WGCJRHWA.mjs +2 -0
  79. package/dist/hourly/dist-es-3FAKVHIH.mjs +2 -0
  80. package/dist/hourly/{dist-es-PV5J6DAM.mjs.map → dist-es-3FAKVHIH.mjs.map} +2 -2
  81. package/dist/hourly/dist-es-A36NQ5CO.mjs +2 -0
  82. package/dist/hourly/{dist-es-ETNPEJSC.mjs.map → dist-es-A36NQ5CO.mjs.map} +2 -2
  83. package/dist/hourly/dist-es-F7GXZJIC.mjs +3 -0
  84. package/dist/hourly/dist-es-F7GXZJIC.mjs.map +7 -0
  85. package/dist/hourly/dist-es-GRXF7RTK.mjs +2 -0
  86. package/dist/hourly/dist-es-OKUHAI6O.mjs +2 -0
  87. package/dist/{dailyRollup/dist-es-OY2VA72W.mjs.map → hourly/dist-es-OKUHAI6O.mjs.map} +2 -2
  88. package/dist/hourly/dist-es-P7BXOYHO.mjs +2 -0
  89. package/dist/hourly/{dist-es-VDZMHJW2.mjs → dist-es-SQ53M5JX.mjs} +1 -1
  90. package/dist/hourly/{dist-es-VDZMHJW2.mjs.map → dist-es-SQ53M5JX.mjs.map} +2 -2
  91. package/dist/hourly/dist-es-TCGA3UGX.mjs +2 -0
  92. package/dist/hourly/{dist-es-LONCZIHI.mjs.map → dist-es-TCGA3UGX.mjs.map} +2 -2
  93. package/dist/hourly/dist-es-UXKF5GQY.mjs +3 -0
  94. package/dist/hourly/{dist-es-4NUPISR6.mjs.map → dist-es-UXKF5GQY.mjs.map} +2 -2
  95. package/dist/hourly/dist-es-YJ4PQZC7.mjs +2 -0
  96. package/dist/hourly/{dist-es-D46ET7B3.mjs.map → dist-es-YJ4PQZC7.mjs.map} +2 -2
  97. package/dist/hourly/event-streams-6V3Q6GHC.mjs +2 -0
  98. package/dist/{monthlyRollup/event-streams-H4LI66VS.mjs.map → hourly/event-streams-6V3Q6GHC.mjs.map} +1 -1
  99. package/dist/hourly/hourly.mjs +2 -10
  100. package/dist/hourly/hourly.mjs.map +4 -4
  101. package/dist/hourly/loadCognitoIdentity-RIENBHOX.mjs +2 -0
  102. package/dist/hourly/loadCognitoIdentity-RIENBHOX.mjs.map +7 -0
  103. package/dist/hourly/loadSso-DTQ4R4CV.mjs +2 -0
  104. package/dist/{monthlyRollup/loadSso-6KWTKR23.mjs.map → hourly/loadSso-DTQ4R4CV.mjs.map} +2 -2
  105. package/dist/hourly/loadSts-GZDTRQPT.mjs +2 -0
  106. package/dist/hourly/signin-6D536OAO.mjs +2 -0
  107. package/dist/hourly/{signin-WDXS6SW2.mjs.map → signin-6D536OAO.mjs.map} +2 -2
  108. package/dist/hourly/sso-oidc-T5CK3NX3.mjs +2 -0
  109. package/dist/{dailyRollup/sso-oidc-MI4NLGSV.mjs.map → hourly/sso-oidc-T5CK3NX3.mjs.map} +2 -2
  110. package/dist/hourly/sts-62ECLMPL.mjs +2 -0
  111. package/dist/monthlyRollup/chunk-2C6L2MOS.mjs +19 -0
  112. package/dist/monthlyRollup/chunk-2C6L2MOS.mjs.map +7 -0
  113. package/dist/{hourly/chunk-MATUPZWL.mjs → monthlyRollup/chunk-3UGRDNDZ.mjs} +4 -4
  114. package/dist/{dailyRollup/chunk-MATUPZWL.mjs.map → monthlyRollup/chunk-3UGRDNDZ.mjs.map} +2 -2
  115. package/dist/{dailyRollup/chunk-HGD7WY52.mjs → monthlyRollup/chunk-BH7ZEBAB.mjs} +1 -1
  116. package/dist/{dailyRollup/chunk-HGD7WY52.mjs.map → monthlyRollup/chunk-BH7ZEBAB.mjs.map} +2 -2
  117. package/dist/monthlyRollup/chunk-C3D3OF2Y.mjs +10 -0
  118. package/dist/monthlyRollup/chunk-C3D3OF2Y.mjs.map +7 -0
  119. package/dist/monthlyRollup/chunk-KRS5YV2Z.mjs +2 -0
  120. package/dist/monthlyRollup/{chunk-ZH5DZOB5.mjs.map → chunk-KRS5YV2Z.mjs.map} +2 -2
  121. package/dist/{dailyRollup/chunk-RU3KGSS6.mjs → monthlyRollup/chunk-LB33VBGK.mjs} +1 -1
  122. package/dist/monthlyRollup/chunk-OC3UN3OS.mjs +2 -0
  123. package/dist/monthlyRollup/chunk-OC3UN3OS.mjs.map +7 -0
  124. package/dist/monthlyRollup/chunk-RDUXRFVO.mjs +2 -0
  125. package/dist/{dailyRollup/sts-AQIPDWOX.mjs.map → monthlyRollup/chunk-RDUXRFVO.mjs.map} +2 -2
  126. package/dist/monthlyRollup/{chunk-PBJCPHYW.mjs → chunk-U7KUF4SE.mjs} +2 -2
  127. package/dist/{hourly/chunk-5EEREEGM.mjs.map → monthlyRollup/chunk-U7KUF4SE.mjs.map} +1 -1
  128. package/dist/monthlyRollup/{chunk-KT7DZL3D.mjs → chunk-VYXCTSUL.mjs} +1 -1
  129. package/dist/{hourly/chunk-UEL4UF23.mjs.map → monthlyRollup/chunk-VYXCTSUL.mjs.map} +1 -1
  130. package/dist/monthlyRollup/chunk-YMGL4RSC.mjs +2 -0
  131. package/dist/monthlyRollup/chunk-YMGL4RSC.mjs.map +7 -0
  132. package/dist/{dailyRollup/chunk-FLISSIFQ.mjs → monthlyRollup/chunk-YY2HYMK3.mjs} +1 -1
  133. package/dist/monthlyRollup/client-WC6TZ4NN.mjs +2 -0
  134. package/dist/monthlyRollup/dist-es-7HAYKJOC.mjs +3 -0
  135. package/dist/{hourly/dist-es-DQHOM6HA.mjs.map → monthlyRollup/dist-es-7HAYKJOC.mjs.map} +2 -2
  136. package/dist/monthlyRollup/dist-es-ABUQ5KNX.mjs +2 -0
  137. package/dist/{dailyRollup/dist-es-CFDT5MDO.mjs.map → monthlyRollup/dist-es-ABUQ5KNX.mjs.map} +2 -2
  138. package/dist/monthlyRollup/dist-es-EWVH3BDI.mjs +2 -0
  139. package/dist/monthlyRollup/dist-es-F7GXZJIC.mjs +3 -0
  140. package/dist/monthlyRollup/dist-es-F7GXZJIC.mjs.map +7 -0
  141. package/dist/monthlyRollup/dist-es-N76XORNU.mjs +2 -0
  142. package/dist/{dailyRollup/dist-es-SJKDRHZJ.mjs.map → monthlyRollup/dist-es-N76XORNU.mjs.map} +2 -2
  143. package/dist/monthlyRollup/dist-es-QDUO3DDE.mjs +2 -0
  144. package/dist/{dailyRollup/dist-es-NMUDTELL.mjs.map → monthlyRollup/dist-es-QDUO3DDE.mjs.map} +2 -2
  145. package/dist/monthlyRollup/dist-es-RVE4ILPH.mjs +2 -0
  146. package/dist/monthlyRollup/dist-es-SXLXEBAC.mjs +2 -0
  147. package/dist/monthlyRollup/{dist-es-FPBJ7DAB.mjs.map → dist-es-SXLXEBAC.mjs.map} +2 -2
  148. package/dist/monthlyRollup/dist-es-TRCPUDRV.mjs +2 -0
  149. package/dist/{dailyRollup/dist-es-L5F6PNYU.mjs.map → monthlyRollup/dist-es-TRCPUDRV.mjs.map} +2 -2
  150. package/dist/{dailyRollup/dist-es-UGFAGDM2.mjs → monthlyRollup/dist-es-YM7ZWFZQ.mjs} +1 -1
  151. package/dist/{hourly/dist-es-2QGRGQLF.mjs.map → monthlyRollup/dist-es-YM7ZWFZQ.mjs.map} +2 -2
  152. package/dist/monthlyRollup/event-streams-6V3Q6GHC.mjs +2 -0
  153. package/dist/{hourly/event-streams-H4LI66VS.mjs.map → monthlyRollup/event-streams-6V3Q6GHC.mjs.map} +1 -1
  154. package/dist/monthlyRollup/loadCognitoIdentity-UVKK4YA5.mjs +2 -0
  155. package/dist/monthlyRollup/loadCognitoIdentity-UVKK4YA5.mjs.map +7 -0
  156. package/dist/monthlyRollup/loadSso-LWXYD4LE.mjs +2 -0
  157. package/dist/{dailyRollup/loadSso-6KWTKR23.mjs.map → monthlyRollup/loadSso-LWXYD4LE.mjs.map} +2 -2
  158. package/dist/monthlyRollup/loadSts-XSHGTWHG.mjs +2 -0
  159. package/dist/monthlyRollup/monthlyRollup.mjs +1 -1
  160. package/dist/monthlyRollup/monthlyRollup.mjs.map +3 -3
  161. package/dist/monthlyRollup/signin-PO6GVO2S.mjs +2 -0
  162. package/dist/{dailyRollup/signin-ZKLDJEMJ.mjs.map → monthlyRollup/signin-PO6GVO2S.mjs.map} +2 -2
  163. package/dist/monthlyRollup/sso-oidc-BKKWADQK.mjs +2 -0
  164. package/dist/monthlyRollup/{sso-oidc-MI4NLGSV.mjs.map → sso-oidc-BKKWADQK.mjs.map} +2 -2
  165. package/dist/monthlyRollup/sts-EOIPDLUH.mjs +2 -0
  166. package/package.json +8 -8
  167. package/dist/dailyRollup/chunk-3GD7PA4I.mjs +0 -2
  168. package/dist/dailyRollup/chunk-3GD7PA4I.mjs.map +0 -7
  169. package/dist/dailyRollup/chunk-3YRRUMLY.mjs +0 -10
  170. package/dist/dailyRollup/chunk-3YRRUMLY.mjs.map +0 -7
  171. package/dist/dailyRollup/chunk-5JDAL5HL.mjs +0 -2
  172. package/dist/dailyRollup/chunk-5JDAL5HL.mjs.map +0 -7
  173. package/dist/dailyRollup/chunk-C4CD3R2M.mjs +0 -2
  174. package/dist/dailyRollup/chunk-C4CD3R2M.mjs.map +0 -7
  175. package/dist/dailyRollup/chunk-G7FCKJTE.mjs +0 -8
  176. package/dist/dailyRollup/chunk-G7FCKJTE.mjs.map +0 -7
  177. package/dist/dailyRollup/chunk-GHMUY3QB.mjs +0 -13
  178. package/dist/dailyRollup/chunk-GHMUY3QB.mjs.map +0 -7
  179. package/dist/dailyRollup/chunk-IHCR62UU.mjs +0 -6
  180. package/dist/dailyRollup/chunk-IHCR62UU.mjs.map +0 -7
  181. package/dist/dailyRollup/chunk-LK4IXOEA.mjs.map +0 -7
  182. package/dist/dailyRollup/chunk-NX6AKUU3.mjs +0 -2
  183. package/dist/dailyRollup/chunk-NX6AKUU3.mjs.map +0 -7
  184. package/dist/dailyRollup/chunk-PNUYSX4A.mjs +0 -2
  185. package/dist/dailyRollup/chunk-PNUYSX4A.mjs.map +0 -7
  186. package/dist/dailyRollup/chunk-RO44VKXZ.mjs +0 -2
  187. package/dist/dailyRollup/chunk-RO44VKXZ.mjs.map +0 -7
  188. package/dist/dailyRollup/chunk-VG37NXBO.mjs +0 -2
  189. package/dist/dailyRollup/chunk-VG37NXBO.mjs.map +0 -7
  190. package/dist/dailyRollup/chunk-VVG5B2RA.mjs +0 -13
  191. package/dist/dailyRollup/chunk-VVG5B2RA.mjs.map +0 -7
  192. package/dist/dailyRollup/chunk-YIZKQ2WK.mjs +0 -10
  193. package/dist/dailyRollup/chunk-YIZKQ2WK.mjs.map +0 -7
  194. package/dist/dailyRollup/chunk-ZH5DZOB5.mjs +0 -2
  195. package/dist/dailyRollup/client-7VYWT6KE.mjs +0 -2
  196. package/dist/dailyRollup/dist-es-3PO6WBRA.mjs +0 -2
  197. package/dist/dailyRollup/dist-es-3PO6WBRA.mjs.map +0 -7
  198. package/dist/dailyRollup/dist-es-4375P743.mjs +0 -2
  199. package/dist/dailyRollup/dist-es-43J27JDM.mjs +0 -3
  200. package/dist/dailyRollup/dist-es-43J27JDM.mjs.map +0 -7
  201. package/dist/dailyRollup/dist-es-6SRW3I3T.mjs +0 -2
  202. package/dist/dailyRollup/dist-es-BMGNYEV6.mjs +0 -3
  203. package/dist/dailyRollup/dist-es-BMGNYEV6.mjs.map +0 -7
  204. package/dist/dailyRollup/dist-es-BQ5OLCIJ.mjs +0 -2
  205. package/dist/dailyRollup/dist-es-BQ5OLCIJ.mjs.map +0 -7
  206. package/dist/dailyRollup/dist-es-CFDT5MDO.mjs +0 -2
  207. package/dist/dailyRollup/dist-es-FPBJ7DAB.mjs +0 -2
  208. package/dist/dailyRollup/dist-es-G4DL2UUB.mjs +0 -7
  209. package/dist/dailyRollup/dist-es-IRYFH3EH.mjs +0 -2
  210. package/dist/dailyRollup/dist-es-L5F6PNYU.mjs +0 -2
  211. package/dist/dailyRollup/dist-es-LEKBJS4E.mjs +0 -2
  212. package/dist/dailyRollup/dist-es-NMUDTELL.mjs +0 -2
  213. package/dist/dailyRollup/dist-es-OY2VA72W.mjs +0 -2
  214. package/dist/dailyRollup/dist-es-SJKDRHZJ.mjs +0 -2
  215. package/dist/dailyRollup/dist-es-UGFAGDM2.mjs.map +0 -7
  216. package/dist/dailyRollup/dist-es-YRXTT57X.mjs +0 -3
  217. package/dist/dailyRollup/event-streams-G2EZD32F.mjs +0 -2
  218. package/dist/dailyRollup/event-streams-G2EZD32F.mjs.map +0 -7
  219. package/dist/dailyRollup/event-streams-H4LI66VS.mjs +0 -2
  220. package/dist/dailyRollup/event-streams-U52YN65T.mjs +0 -2
  221. package/dist/dailyRollup/event-streams-U52YN65T.mjs.map +0 -7
  222. package/dist/dailyRollup/loadCognitoIdentity-3OXED256.mjs +0 -2
  223. package/dist/dailyRollup/loadCognitoIdentity-3OXED256.mjs.map +0 -7
  224. package/dist/dailyRollup/loadSso-6KWTKR23.mjs +0 -2
  225. package/dist/dailyRollup/loadSso-AITTIS6M.mjs +0 -2
  226. package/dist/dailyRollup/loadSso-AITTIS6M.mjs.map +0 -7
  227. package/dist/dailyRollup/loadSts-LQCNCE76.mjs +0 -2
  228. package/dist/dailyRollup/signin-THWW5VM5.mjs +0 -2
  229. package/dist/dailyRollup/signin-THWW5VM5.mjs.map +0 -7
  230. package/dist/dailyRollup/signin-ZKLDJEMJ.mjs +0 -2
  231. package/dist/dailyRollup/sso-oidc-MI4NLGSV.mjs +0 -2
  232. package/dist/dailyRollup/sso-oidc-OWLWHDBI.mjs +0 -2
  233. package/dist/dailyRollup/sso-oidc-OWLWHDBI.mjs.map +0 -7
  234. package/dist/dailyRollup/sts-AQIPDWOX.mjs +0 -2
  235. package/dist/dailyRollup/sts-EN7K54DW.mjs +0 -2
  236. package/dist/hourly/chunk-2LV65MUY.mjs +0 -2
  237. package/dist/hourly/chunk-2LV65MUY.mjs.map +0 -7
  238. package/dist/hourly/chunk-3GD7PA4I.mjs +0 -2
  239. package/dist/hourly/chunk-3GD7PA4I.mjs.map +0 -7
  240. package/dist/hourly/chunk-4X6M4ZIM.mjs +0 -13
  241. package/dist/hourly/chunk-4X6M4ZIM.mjs.map +0 -7
  242. package/dist/hourly/chunk-5JDAL5HL.mjs +0 -2
  243. package/dist/hourly/chunk-5JDAL5HL.mjs.map +0 -7
  244. package/dist/hourly/chunk-C4CD3R2M.mjs +0 -2
  245. package/dist/hourly/chunk-C4CD3R2M.mjs.map +0 -7
  246. package/dist/hourly/chunk-CDK2TDZ3.mjs +0 -2
  247. package/dist/hourly/chunk-CDK2TDZ3.mjs.map +0 -7
  248. package/dist/hourly/chunk-DDOSB7QU.mjs +0 -10
  249. package/dist/hourly/chunk-DDOSB7QU.mjs.map +0 -7
  250. package/dist/hourly/chunk-G7FCKJTE.mjs +0 -8
  251. package/dist/hourly/chunk-G7FCKJTE.mjs.map +0 -7
  252. package/dist/hourly/chunk-HGD7WY52.mjs +0 -2
  253. package/dist/hourly/chunk-IHCR62UU.mjs +0 -6
  254. package/dist/hourly/chunk-IHCR62UU.mjs.map +0 -7
  255. package/dist/hourly/chunk-LK4IXOEA.mjs.map +0 -7
  256. package/dist/hourly/chunk-NX6AKUU3.mjs +0 -2
  257. package/dist/hourly/chunk-NX6AKUU3.mjs.map +0 -7
  258. package/dist/hourly/chunk-OV75J3RB.mjs +0 -10
  259. package/dist/hourly/chunk-OV75J3RB.mjs.map +0 -7
  260. package/dist/hourly/chunk-RO44VKXZ.mjs +0 -2
  261. package/dist/hourly/chunk-RO44VKXZ.mjs.map +0 -7
  262. package/dist/hourly/chunk-RU3KGSS6.mjs +0 -2
  263. package/dist/hourly/chunk-VG37NXBO.mjs +0 -2
  264. package/dist/hourly/chunk-VG37NXBO.mjs.map +0 -7
  265. package/dist/hourly/chunk-YLTURKBY.mjs +0 -13
  266. package/dist/hourly/chunk-YLTURKBY.mjs.map +0 -7
  267. package/dist/hourly/chunk-ZH5DZOB5.mjs +0 -2
  268. package/dist/hourly/client-YFAS5DGU.mjs +0 -2
  269. package/dist/hourly/dist-es-2QGRGQLF.mjs +0 -7
  270. package/dist/hourly/dist-es-4JJUYAKR.mjs +0 -2
  271. package/dist/hourly/dist-es-4NUPISR6.mjs +0 -3
  272. package/dist/hourly/dist-es-4PFASTED.mjs +0 -2
  273. package/dist/hourly/dist-es-ARVZEK2B.mjs +0 -2
  274. package/dist/hourly/dist-es-BH4D2XQ2.mjs +0 -2
  275. package/dist/hourly/dist-es-BH4D2XQ2.mjs.map +0 -7
  276. package/dist/hourly/dist-es-D46ET7B3.mjs +0 -2
  277. package/dist/hourly/dist-es-DQHOM6HA.mjs +0 -3
  278. package/dist/hourly/dist-es-ETNPEJSC.mjs +0 -2
  279. package/dist/hourly/dist-es-HCGEEOBW.mjs +0 -2
  280. package/dist/hourly/dist-es-HCGEEOBW.mjs.map +0 -7
  281. package/dist/hourly/dist-es-LONCZIHI.mjs +0 -2
  282. package/dist/hourly/dist-es-PV5J6DAM.mjs +0 -2
  283. package/dist/hourly/dist-es-S4EGUNEL.mjs +0 -2
  284. package/dist/hourly/dist-es-WBVL2T3J.mjs +0 -2
  285. package/dist/hourly/dist-es-YFKUCAP2.mjs +0 -2
  286. package/dist/hourly/dist-es-YFKUCAP2.mjs.map +0 -7
  287. package/dist/hourly/dist-es-YZBMXOS5.mjs +0 -3
  288. package/dist/hourly/dist-es-YZBMXOS5.mjs.map +0 -7
  289. package/dist/hourly/event-streams-G2EZD32F.mjs +0 -2
  290. package/dist/hourly/event-streams-G2EZD32F.mjs.map +0 -7
  291. package/dist/hourly/event-streams-H4LI66VS.mjs +0 -2
  292. package/dist/hourly/event-streams-U52YN65T.mjs +0 -2
  293. package/dist/hourly/event-streams-U52YN65T.mjs.map +0 -7
  294. package/dist/hourly/loadCognitoIdentity-KHSY4IOA.mjs +0 -2
  295. package/dist/hourly/loadCognitoIdentity-KHSY4IOA.mjs.map +0 -7
  296. package/dist/hourly/loadSso-HHJP34KX.mjs +0 -2
  297. package/dist/hourly/loadSso-R47RBCPJ.mjs +0 -2
  298. package/dist/hourly/loadSso-R47RBCPJ.mjs.map +0 -7
  299. package/dist/hourly/loadSts-5X55AJY5.mjs +0 -2
  300. package/dist/hourly/signin-F7JF6BF6.mjs +0 -2
  301. package/dist/hourly/signin-F7JF6BF6.mjs.map +0 -7
  302. package/dist/hourly/signin-WDXS6SW2.mjs +0 -2
  303. package/dist/hourly/sso-oidc-63EGB35D.mjs +0 -2
  304. package/dist/hourly/sso-oidc-UVLJZI2R.mjs +0 -2
  305. package/dist/hourly/sso-oidc-UVLJZI2R.mjs.map +0 -7
  306. package/dist/hourly/sts-4M7S3GN4.mjs +0 -2
  307. package/dist/hourly/sts-YXUOYWFS.mjs +0 -2
  308. package/dist/monthlyRollup/chunk-3GD7PA4I.mjs +0 -2
  309. package/dist/monthlyRollup/chunk-3GD7PA4I.mjs.map +0 -7
  310. package/dist/monthlyRollup/chunk-3YRRUMLY.mjs +0 -10
  311. package/dist/monthlyRollup/chunk-3YRRUMLY.mjs.map +0 -7
  312. package/dist/monthlyRollup/chunk-5JDAL5HL.mjs +0 -2
  313. package/dist/monthlyRollup/chunk-5JDAL5HL.mjs.map +0 -7
  314. package/dist/monthlyRollup/chunk-C4CD3R2M.mjs +0 -2
  315. package/dist/monthlyRollup/chunk-C4CD3R2M.mjs.map +0 -7
  316. package/dist/monthlyRollup/chunk-G7FCKJTE.mjs +0 -8
  317. package/dist/monthlyRollup/chunk-G7FCKJTE.mjs.map +0 -7
  318. package/dist/monthlyRollup/chunk-GHMUY3QB.mjs +0 -13
  319. package/dist/monthlyRollup/chunk-GHMUY3QB.mjs.map +0 -7
  320. package/dist/monthlyRollup/chunk-HGD7WY52.mjs.map +0 -7
  321. package/dist/monthlyRollup/chunk-IHCR62UU.mjs +0 -6
  322. package/dist/monthlyRollup/chunk-IHCR62UU.mjs.map +0 -7
  323. package/dist/monthlyRollup/chunk-LK4IXOEA.mjs +0 -2
  324. package/dist/monthlyRollup/chunk-LK4IXOEA.mjs.map +0 -7
  325. package/dist/monthlyRollup/chunk-NX6AKUU3.mjs +0 -2
  326. package/dist/monthlyRollup/chunk-NX6AKUU3.mjs.map +0 -7
  327. package/dist/monthlyRollup/chunk-PNUYSX4A.mjs +0 -2
  328. package/dist/monthlyRollup/chunk-PNUYSX4A.mjs.map +0 -7
  329. package/dist/monthlyRollup/chunk-RO44VKXZ.mjs +0 -2
  330. package/dist/monthlyRollup/chunk-RO44VKXZ.mjs.map +0 -7
  331. package/dist/monthlyRollup/chunk-RU3KGSS6.mjs +0 -2
  332. package/dist/monthlyRollup/chunk-VG37NXBO.mjs +0 -2
  333. package/dist/monthlyRollup/chunk-VG37NXBO.mjs.map +0 -7
  334. package/dist/monthlyRollup/chunk-VVG5B2RA.mjs +0 -13
  335. package/dist/monthlyRollup/chunk-VVG5B2RA.mjs.map +0 -7
  336. package/dist/monthlyRollup/chunk-YIZKQ2WK.mjs +0 -10
  337. package/dist/monthlyRollup/chunk-YIZKQ2WK.mjs.map +0 -7
  338. package/dist/monthlyRollup/chunk-ZH5DZOB5.mjs +0 -2
  339. package/dist/monthlyRollup/client-7VYWT6KE.mjs +0 -2
  340. package/dist/monthlyRollup/dist-es-3PO6WBRA.mjs +0 -2
  341. package/dist/monthlyRollup/dist-es-3PO6WBRA.mjs.map +0 -7
  342. package/dist/monthlyRollup/dist-es-4375P743.mjs +0 -2
  343. package/dist/monthlyRollup/dist-es-4375P743.mjs.map +0 -7
  344. package/dist/monthlyRollup/dist-es-43J27JDM.mjs +0 -3
  345. package/dist/monthlyRollup/dist-es-43J27JDM.mjs.map +0 -7
  346. package/dist/monthlyRollup/dist-es-6SRW3I3T.mjs +0 -2
  347. package/dist/monthlyRollup/dist-es-6SRW3I3T.mjs.map +0 -7
  348. package/dist/monthlyRollup/dist-es-BMGNYEV6.mjs +0 -3
  349. package/dist/monthlyRollup/dist-es-BMGNYEV6.mjs.map +0 -7
  350. package/dist/monthlyRollup/dist-es-BQ5OLCIJ.mjs +0 -2
  351. package/dist/monthlyRollup/dist-es-BQ5OLCIJ.mjs.map +0 -7
  352. package/dist/monthlyRollup/dist-es-CFDT5MDO.mjs +0 -2
  353. package/dist/monthlyRollup/dist-es-CFDT5MDO.mjs.map +0 -7
  354. package/dist/monthlyRollup/dist-es-FPBJ7DAB.mjs +0 -2
  355. package/dist/monthlyRollup/dist-es-G4DL2UUB.mjs +0 -7
  356. package/dist/monthlyRollup/dist-es-G4DL2UUB.mjs.map +0 -7
  357. package/dist/monthlyRollup/dist-es-IRYFH3EH.mjs +0 -2
  358. package/dist/monthlyRollup/dist-es-L5F6PNYU.mjs +0 -2
  359. package/dist/monthlyRollup/dist-es-L5F6PNYU.mjs.map +0 -7
  360. package/dist/monthlyRollup/dist-es-LEKBJS4E.mjs +0 -2
  361. package/dist/monthlyRollup/dist-es-NMUDTELL.mjs +0 -2
  362. package/dist/monthlyRollup/dist-es-NMUDTELL.mjs.map +0 -7
  363. package/dist/monthlyRollup/dist-es-OY2VA72W.mjs +0 -2
  364. package/dist/monthlyRollup/dist-es-OY2VA72W.mjs.map +0 -7
  365. package/dist/monthlyRollup/dist-es-SJKDRHZJ.mjs +0 -2
  366. package/dist/monthlyRollup/dist-es-SJKDRHZJ.mjs.map +0 -7
  367. package/dist/monthlyRollup/dist-es-UGFAGDM2.mjs.map +0 -7
  368. package/dist/monthlyRollup/dist-es-YRXTT57X.mjs +0 -3
  369. package/dist/monthlyRollup/dist-es-YRXTT57X.mjs.map +0 -7
  370. package/dist/monthlyRollup/event-streams-G2EZD32F.mjs +0 -2
  371. package/dist/monthlyRollup/event-streams-G2EZD32F.mjs.map +0 -7
  372. package/dist/monthlyRollup/event-streams-H4LI66VS.mjs +0 -2
  373. package/dist/monthlyRollup/event-streams-U52YN65T.mjs +0 -2
  374. package/dist/monthlyRollup/event-streams-U52YN65T.mjs.map +0 -7
  375. package/dist/monthlyRollup/loadCognitoIdentity-3OXED256.mjs +0 -2
  376. package/dist/monthlyRollup/loadCognitoIdentity-3OXED256.mjs.map +0 -7
  377. package/dist/monthlyRollup/loadSso-6KWTKR23.mjs +0 -2
  378. package/dist/monthlyRollup/loadSso-AITTIS6M.mjs +0 -2
  379. package/dist/monthlyRollup/loadSso-AITTIS6M.mjs.map +0 -7
  380. package/dist/monthlyRollup/loadSts-LQCNCE76.mjs +0 -2
  381. package/dist/monthlyRollup/signin-THWW5VM5.mjs +0 -2
  382. package/dist/monthlyRollup/signin-THWW5VM5.mjs.map +0 -7
  383. package/dist/monthlyRollup/signin-ZKLDJEMJ.mjs +0 -2
  384. package/dist/monthlyRollup/sso-oidc-MI4NLGSV.mjs +0 -2
  385. package/dist/monthlyRollup/sso-oidc-OWLWHDBI.mjs +0 -2
  386. package/dist/monthlyRollup/sso-oidc-OWLWHDBI.mjs.map +0 -7
  387. package/dist/monthlyRollup/sts-AQIPDWOX.mjs +0 -2
  388. package/dist/monthlyRollup/sts-EN7K54DW.mjs +0 -2
  389. package/dist/monthlyRollup/sts-EN7K54DW.mjs.map +0 -7
  390. /package/dist/dailyRollup/{chunk-RU3KGSS6.mjs.map → chunk-LB33VBGK.mjs.map} +0 -0
  391. /package/dist/dailyRollup/{chunk-FLISSIFQ.mjs.map → chunk-YY2HYMK3.mjs.map} +0 -0
  392. /package/dist/dailyRollup/{client-7VYWT6KE.mjs.map → client-WC6TZ4NN.mjs.map} +0 -0
  393. /package/dist/dailyRollup/{dist-es-IRYFH3EH.mjs.map → dist-es-EWVH3BDI.mjs.map} +0 -0
  394. /package/dist/dailyRollup/{dist-es-LEKBJS4E.mjs.map → dist-es-RVE4ILPH.mjs.map} +0 -0
  395. /package/dist/dailyRollup/{loadSts-LQCNCE76.mjs.map → loadSts-XSHGTWHG.mjs.map} +0 -0
  396. /package/dist/dailyRollup/{sts-EN7K54DW.mjs.map → sts-EOIPDLUH.mjs.map} +0 -0
  397. /package/dist/hourly/{chunk-RU3KGSS6.mjs.map → chunk-LB33VBGK.mjs.map} +0 -0
  398. /package/dist/hourly/{chunk-FLISSIFQ.mjs.map → chunk-YY2HYMK3.mjs.map} +0 -0
  399. /package/dist/hourly/{client-YFAS5DGU.mjs.map → client-WGCJRHWA.mjs.map} +0 -0
  400. /package/dist/hourly/{dist-es-4PFASTED.mjs.map → dist-es-GRXF7RTK.mjs.map} +0 -0
  401. /package/dist/hourly/{dist-es-S4EGUNEL.mjs.map → dist-es-P7BXOYHO.mjs.map} +0 -0
  402. /package/dist/hourly/{dist-es-WBVL2T3J.mjs.map → loadSts-GZDTRQPT.mjs.map} +0 -0
  403. /package/dist/hourly/{loadSts-5X55AJY5.mjs.map → sts-62ECLMPL.mjs.map} +0 -0
  404. /package/dist/monthlyRollup/{chunk-RU3KGSS6.mjs.map → chunk-LB33VBGK.mjs.map} +0 -0
  405. /package/dist/monthlyRollup/{chunk-FLISSIFQ.mjs.map → chunk-YY2HYMK3.mjs.map} +0 -0
  406. /package/dist/{hourly/sts-4M7S3GN4.mjs.map → monthlyRollup/client-WC6TZ4NN.mjs.map} +0 -0
  407. /package/dist/monthlyRollup/{client-7VYWT6KE.mjs.map → dist-es-EWVH3BDI.mjs.map} +0 -0
  408. /package/dist/monthlyRollup/{dist-es-IRYFH3EH.mjs.map → dist-es-RVE4ILPH.mjs.map} +0 -0
  409. /package/dist/monthlyRollup/{dist-es-LEKBJS4E.mjs.map → loadSts-XSHGTWHG.mjs.map} +0 -0
  410. /package/dist/monthlyRollup/{loadSts-LQCNCE76.mjs.map → sts-EOIPDLUH.mjs.map} +0 -0
@@ -0,0 +1,2 @@
1
+ /* CommonJS polyfills */import { fileURLToPath } from 'node:url';import { createRequire } from 'node:module';const __filename = fileURLToPath(import.meta.url);const __dirname = fileURLToPath(new URL('.', import.meta.url));const require = createRequire(import.meta.url);/* end of CommonJS polyfills */
2
+ import{d,i as M}from"./chunk-OC3UN3OS.mjs";import{a as r}from"./chunk-CFZ5JWD3.mjs";var W="AWS_EXECUTION_ENV",R="AWS_REGION",v="AWS_DEFAULT_REGION",k="AWS_EC2_METADATA_DISABLED",H=["in-region","cross-region","mobile","standard","legacy"],K="/latest/meta-data/placement/region",$="/latest/api/token",j="x-aws-ec2-metadata-token",X="x-aws-ec2-metadata-token-ttl-seconds";var B=1e3,ge=6e4,J=0,T=r(async()=>{if(!process.env[k]&&!(Date.now()<J))try{let e=Oe(),o=(await q({...e,path:$,method:"PUT",headers:{[X]:"21600"}})).toString();return(await q({...e,path:K,method:"GET",headers:{[j]:o}})).toString().trim()||z()}catch{return z()}},"getInstanceMetadataRegion"),z=r(()=>{J=Date.now()+ge},"cacheNegativeAndReturnUndefined"),Oe=r(()=>{let e=process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;if(e){let o=new URL(e);return{hostname:o.hostname.replace(/^\[(.+)]$/,"$1"),port:o.port?Number(o.port):void 0}}return process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE==="IPv6"?{hostname:"fd00:ec2::254"}:{hostname:"169.254.169.254"}},"resolveImdsEndpoint"),q=r(async e=>{let{request:o}=await import("node:http");return new Promise((t,n)=>{let i=o({hostname:e.hostname,port:e.port,path:e.path,method:e.method,headers:e.headers,timeout:B,signal:AbortSignal.timeout(B)});i.on("error",s=>{n(s),i.destroy()}),i.on("timeout",()=>{n(new Error("TimeoutError from instance metadata service")),i.destroy()}),i.on("response",s=>{let{statusCode:c=400}=s;if(c<200||c>=300){n(Object.assign(new Error("Error response received from instance metadata service"),{statusCode:c})),i.destroy();return}let a=[];s.on("data",f=>a.push(f)),s.on("end",()=>{t(Buffer.concat(a)),i.destroy()})}),i.end()})},"imdsRequest");var Z="AWS_REGION",Q="region",w={environmentVariableSelector:r(e=>e[Z],"environmentVariableSelector"),configFileSelector:r(e=>e[Q],"configFileSelector"),default:r(async()=>{let e=await T();if(e)return e;throw new Error("Region is missing")},"default")},Ie={preferredFile:"credentials"};var Y=new Set,ee=r((e,o=M)=>{if(!Y.has(e)&&!o(e))if(e==="*")console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.');else throw new Error(`Region not accepted: region="${e}" is not a valid hostname component.`);else Y.add(e)},"checkRegion");var x=r(e=>typeof e=="string"&&(e.startsWith("fips-")||e.endsWith("-fips")),"isFipsRegion");var oe=r(e=>x(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e,"getRealRegion");var Fe=r(e=>{let{region:o,useFipsEndpoint:t}=e;if(!o)throw new Error("Region is missing");return Object.assign(e,{region:r(async()=>{let n=typeof o=="function"?await o():o,i=oe(n);return ee(i),i},"region"),useFipsEndpoint:r(async()=>{let n=typeof o=="string"?o:await o();return x(n)?!0:typeof t!="function"?Promise.resolve(!!t):t()},"useFipsEndpoint")})},"resolveRegionConfig");var p=class e extends Error{static{r(this,"ProviderError")}name="ProviderError";tryNextLink;constructor(o,t=!0){let n,i=!0;typeof t=="boolean"?(n=void 0,i=t):t!=null&&typeof t=="object"&&(n=t.logger,i=t.tryNextLink??!0),super(o),this.tryNextLink=i,Object.setPrototypeOf(this,e.prototype),n?.debug?.(`@smithy/property-provider ${i?"->":"(!)"} ${o}`)}static from(o,t=!0){return Object.assign(new this(o.message,t),o)}};var _=class e extends p{static{r(this,"CredentialsProviderError")}name="CredentialsProviderError";constructor(o,t=!0){super(o,t),Object.setPrototypeOf(this,e.prototype)}};var y=class e extends p{static{r(this,"TokenProviderError")}name="TokenProviderError";constructor(o,t=!0){super(o,t),Object.setPrototypeOf(this,e.prototype)}};var L=r((...e)=>async()=>{if(e.length===0)throw new p("No providers in chain");let o;for(let t of e)try{return await t()}catch(n){if(o=n,n?.tryNextLink)continue;throw n}throw o},"chain");var re=r(e=>()=>Promise.resolve(e),"fromValue");var h=r((e,o,t)=>{let n,i,s,c=!1,a=r(async()=>{i||(i=e());try{n=await i,s=!0,c=!1}finally{i=void 0}return n},"coalesceProvider");return o===void 0?async f=>((!s||f?.forceRefresh)&&(n=await a()),n):async f=>((!s||f?.forceRefresh)&&(n=await a()),c?n:t&&!t(n)?(c=!0,n):(o(n)&&await a(),n))},"memoize");var u=r((e,o,t)=>{if(o in e){if(e[o]==="true")return!0;if(e[o]==="false")return!1;throw new Error(`Cannot load ${t} "${o}". Expected "true" or "false", got ${e[o]}.`)}},"booleanSelector");var m;(function(e){e.ENV="env",e.CONFIG="shared config entry"})(m||(m={}));import{homedir as Te}from"node:os";import{sep as xe}from"node:path";var U={},he=r(()=>process&&process.geteuid?`${process.geteuid()}`:"DEFAULT","getHomeDirCacheKey"),E=r(()=>{let{HOME:e,USERPROFILE:o,HOMEPATH:t,HOMEDRIVE:n=`C:${xe}`}=process.env;if(e)return e;if(o)return o;if(t)return`${n}${t}`;let i=he();return U[i]||(U[i]=Te()),U[i]},"getHomeDir");var te="AWS_PROFILE",ne="default",G=r(e=>e.profile||process.env[te]||ne,"getProfileName");import{createHash as Ae}from"node:crypto";import{join as De}from"node:path";var b=r(e=>{let t=Ae("sha1").update(e).digest("hex");return De(E(),".aws","sso","cache",`${t}.json`)},"getSSOTokenFilepath");import{readFile as Ce}from"node:fs/promises";var S={},Pe=r(async e=>{if(S[e])return S[e];let o=b(e),t=await Ce(o,"utf8");return JSON.parse(t)},"getSSOTokenFromFile");import{join as ae}from"node:path";var ie=r(e=>Object.entries(e).filter(([o])=>{let t=o.indexOf(".");return t===-1?!1:Object.values(d).includes(o.substring(0,t))}).reduce((o,[t,n])=>{let i=t.indexOf("."),s=t.substring(0,i)===d.PROFILE?t.substring(i+1):t;return o[s]=n,o},{...e.default&&{default:e.default}}),"getConfigData");import{join as Re}from"node:path";var ve="AWS_CONFIG_FILE",A=r(()=>process.env[ve]||Re(E(),".aws","config"),"getConfigFilepath");import{join as we}from"node:path";var ye="AWS_SHARED_CREDENTIALS_FILE",se=r(()=>process.env[ye]||we(E(),".aws","credentials"),"getCredentialsFilepath");var Le=/^([\w-]+)\s(["'])?([\w-@+.%:/]+)\2$/,Ue=["__proto__","profile __proto__"],O=r(e=>{let o={},t,n;for(let i of e.split(/\r?\n/)){let s=i.split(/(^|\s)[;#]/)[0].trim();if(s[0]==="["&&s[s.length-1]==="]"){t=void 0,n=void 0;let a=s.substring(1,s.length-1),f=Le.exec(a);if(f){let[,l,,N]=f;Object.values(d).includes(l)&&(t=[l,N].join("."))}else t=a;if(Ue.includes(a))throw new Error(`Found invalid profile name "${a}"`)}else if(t){let a=s.indexOf("=");if(![0,-1].includes(a)){let[f,l]=[s.substring(0,a).trim(),s.substring(a+1).trim()];if(l==="")n=f;else{n&&i.trimStart()===i&&(n=void 0),o[t]=o[t]||{};let N=n?[n,f].join("."):f;o[t][N]=l}}}}return o},"parseIni");import{readFile as Ge}from"node:fs/promises";var V={},I={},F=r((e,o)=>I[e]!==void 0?I[e]:((!V[e]||o?.ignoreCache)&&(V[e]=Ge(e,"utf8")),V[e]),"readFile");var ce=r(()=>({}),"swallowError"),D=r(async(e={})=>{let{filepath:o=se(),configFilepath:t=A()}=e,n=E(),i="~/",s=o;o.startsWith(i)&&(s=ae(n,o.slice(2)));let c=t;t.startsWith(i)&&(c=ae(n,t.slice(2)));let a=await Promise.all([F(c,{ignoreCache:e.ignoreCache}).then(O).then(ie).catch(ce),F(s,{ignoreCache:e.ignoreCache}).then(O).catch(ce)]);return{configFile:a[0],credentialsFile:a[1]}},"loadSharedConfigFiles");var fe=r(e=>Object.entries(e).filter(([o])=>o.startsWith(d.SSO_SESSION+".")).reduce((o,[t,n])=>({...o,[t.substring(t.indexOf(".")+1)]:n}),{}),"getSsoSessionData");var be=r(()=>({}),"swallowError"),Ve=r(async(e={})=>F(e.configFilepath??A()).then(O).then(fe).catch(be),"loadSsoSessionData");var pe=r((...e)=>{let o={};for(let t of e)for(let[n,i]of Object.entries(t))o[n]!==void 0?Object.assign(o[n],i):o[n]=i;return o},"mergeConfigFiles");var Me=r(async e=>{let o=await D(e);return pe(o.configFile,o.credentialsFile)},"parseKnownFiles");var We={getFileRecord(){return I},interceptFile(e,o){I[e]=Promise.resolve(o)},getTokenRecord(){return S},interceptToken(e,o){S[e]=o}};function C(e){try{let o=new Set(Array.from(e.match(/([A-Z_]){3,}/g)??[]));return o.delete("CONFIG"),o.delete("CONFIG_PREFIX_SEPARATOR"),o.delete("ENV"),[...o].join(", ")}catch{return e}}r(C,"getSelectorName");var me=r((e,o)=>async()=>{try{let t=e(process.env,o);if(t===void 0)throw new Error;return t}catch(t){throw new _(t.message||`Not found in ENV: ${C(e.toString())}`,{logger:o?.logger})}},"fromEnv");var le=r((e,{preferredFile:o="config",...t}={})=>async()=>{let n=G(t),{configFile:i,credentialsFile:s}=await D(t),c=s[n]||{},a=i[n]||{},f=o==="config"?{...c,...a}:{...a,...c};try{let N=e(f,o==="config"?i:s);if(N===void 0)throw new Error;return N}catch(l){throw new _(l.message||`Not found in config files w/ profile [${n}]: ${C(e.toString())}`,{logger:t.logger})}},"fromSharedConfigFiles");var ke=r(e=>typeof e=="function","isFunction"),Ee=r(e=>ke(e)?async()=>await e():re(e),"fromStatic");var P=r(({environmentVariableSelector:e,configFileSelector:o,default:t},n={})=>{let{signingName:i,logger:s}=n;return h(L(me(e,{signingName:i,logger:s}),le(o,n),Ee(t)))},"loadConfig");var de="AWS_USE_DUALSTACK_ENDPOINT",_e="use_dualstack_endpoint";var He={environmentVariableSelector:r(e=>u(e,de,m.ENV),"environmentVariableSelector"),configFileSelector:r(e=>u(e,_e,m.CONFIG),"configFileSelector"),default:!1};var ue="AWS_USE_FIPS_ENDPOINT",Ne="use_fips_endpoint";var Ke={environmentVariableSelector:r(e=>u(e,ue,m.ENV),"environmentVariableSelector"),configFileSelector:r(e=>u(e,Ne,m.CONFIG),"configFileSelector"),default:!1};var $e="AWS_DEFAULTS_MODE",je="defaults_mode",Se={environmentVariableSelector:r(e=>e[$e],"environmentVariableSelector"),configFileSelector:r(e=>e[je],"configFileSelector"),default:"legacy"};var Xe=r(({region:e=P(w),defaultsMode:o=P(Se)}={})=>h(async()=>{let t=typeof o=="function"?await o():o;switch(t?.toLowerCase()){case"auto":return Be(e);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${H.join(", ")}, got ${t}`)}}),"resolveDefaultsModeConfig"),Be=r(async e=>{if(e){let o=typeof e=="function"?await e():e,t=await ze();return t?o===t?"in-region":"cross-region":"standard"}return"standard"},"resolveNodeDefaultsModeAuto"),ze=r(async()=>process.env[W]&&(process.env[R]||process.env[v])?process.env[R]??process.env[v]:T(),"inferPhysicalRegion");export{p as a,_ as b,y as c,L as d,u as e,m as f,te as g,G as h,b as i,Pe as j,Ve as k,Me as l,We as m,P as n,He as o,Ke as p,Z as q,Q as r,w as s,Ie as t,Fe as u,Xe as v};
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/TokenProviderError.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js", "../../../../node_modules/.bun/@smithy+core@3.35.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js"],
3
+ "sources": ["../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/TokenProviderError.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js"],
4
4
  "sourcesContent": ["export const AWS_EXECUTION_ENV = \"AWS_EXECUTION_ENV\";\nexport const AWS_REGION_ENV = \"AWS_REGION\";\nexport const AWS_DEFAULT_REGION_ENV = \"AWS_DEFAULT_REGION\";\nexport const ENV_IMDS_DISABLED = \"AWS_EC2_METADATA_DISABLED\";\nexport const DEFAULTS_MODE_OPTIONS = [\"in-region\", \"cross-region\", \"mobile\", \"standard\", \"legacy\"];\nexport const IMDS_REGION_PATH = \"/latest/meta-data/placement/region\";\nexport const IMDS_TOKEN_PATH = \"/latest/api/token\";\nexport const X_AWS_EC2_METADATA_TOKEN = \"x-aws-ec2-metadata-token\";\nexport const X_AWS_EC2_METADATA_TOKEN_TTL = \"x-aws-ec2-metadata-token-ttl-seconds\";\n", "import { ENV_IMDS_DISABLED, IMDS_REGION_PATH, IMDS_TOKEN_PATH, X_AWS_EC2_METADATA_TOKEN, X_AWS_EC2_METADATA_TOKEN_TTL, } from \"../../defaults-mode/constants\";\nconst TIMEOUT_MS = 1000;\nconst NEG_CACHE_TTL_MS = 60_000;\nlet negativeCacheUntil = 0;\nexport const getInstanceMetadataRegion = async () => {\n if (process.env[ENV_IMDS_DISABLED]) {\n return undefined;\n }\n if (Date.now() < negativeCacheUntil) {\n return undefined;\n }\n try {\n const endpoint = resolveImdsEndpoint();\n const token = (await imdsRequest({\n ...endpoint,\n path: IMDS_TOKEN_PATH,\n method: \"PUT\",\n headers: {\n [X_AWS_EC2_METADATA_TOKEN_TTL]: \"21600\",\n },\n })).toString();\n const region = (await imdsRequest({\n ...endpoint,\n path: IMDS_REGION_PATH,\n method: \"GET\",\n headers: {\n [X_AWS_EC2_METADATA_TOKEN]: token,\n },\n }))\n .toString()\n .trim();\n return region || cacheNegativeAndReturnUndefined();\n }\n catch {\n return cacheNegativeAndReturnUndefined();\n }\n};\nconst cacheNegativeAndReturnUndefined = () => {\n negativeCacheUntil = Date.now() + NEG_CACHE_TTL_MS;\n return undefined;\n};\nconst resolveImdsEndpoint = () => {\n const envEndpoint = process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;\n if (envEndpoint) {\n const url = new URL(envEndpoint);\n return {\n hostname: url.hostname.replace(/^\\[(.+)]$/, \"$1\"),\n port: url.port ? Number(url.port) : undefined,\n };\n }\n if (process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE === \"IPv6\") {\n return { hostname: \"fd00:ec2::254\" };\n }\n return { hostname: \"169.254.169.254\" };\n};\nconst imdsRequest = async (options) => {\n const { request } = await import(\"node:http\");\n return new Promise((resolve, reject) => {\n const req = request({\n hostname: options.hostname,\n port: options.port,\n path: options.path,\n method: options.method,\n headers: options.headers,\n timeout: TIMEOUT_MS,\n signal: AbortSignal.timeout(TIMEOUT_MS),\n });\n req.on(\"error\", (err) => {\n reject(err);\n req.destroy();\n });\n req.on(\"timeout\", () => {\n reject(new Error(\"TimeoutError from instance metadata service\"));\n req.destroy();\n });\n req.on(\"response\", (res) => {\n const { statusCode = 400 } = res;\n if (statusCode < 200 || statusCode >= 300) {\n reject(Object.assign(new Error(\"Error response received from instance metadata service\"), { statusCode }));\n req.destroy();\n return;\n }\n const chunks = [];\n res.on(\"data\", (chunk) => chunks.push(chunk));\n res.on(\"end\", () => {\n resolve(Buffer.concat(chunks));\n req.destroy();\n });\n });\n req.end();\n });\n};\n", "import { getInstanceMetadataRegion } from \"./getInstanceMetadataRegion\";\nexport const REGION_ENV_NAME = \"AWS_REGION\";\nexport const REGION_INI_NAME = \"region\";\nexport const NODE_REGION_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[REGION_ENV_NAME],\n configFileSelector: (profile) => profile[REGION_INI_NAME],\n default: async () => {\n const region = await getInstanceMetadataRegion();\n if (region) {\n return region;\n }\n throw new Error(\"Region is missing\");\n },\n};\nexport const NODE_REGION_CONFIG_FILE_OPTIONS = {\n preferredFile: \"credentials\",\n};\n", "import { isValidHostLabel } from \"@smithy/core/transport\";\nconst validRegions = new Set();\nexport const checkRegion = (region, check = isValidHostLabel) => {\n if (!validRegions.has(region) && !check(region)) {\n if (region === \"*\") {\n console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of \"*\". See \"sigv4a\" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);\n }\n else {\n throw new Error(`Region not accepted: region=\"${region}\" is not a valid hostname component.`);\n }\n }\n else {\n validRegions.add(region);\n }\n};\n", "export const isFipsRegion = (region) => typeof region === \"string\" && (region.startsWith(\"fips-\") || region.endsWith(\"-fips\"));\n", "import { isFipsRegion } from \"./isFipsRegion\";\nexport const getRealRegion = (region) => isFipsRegion(region)\n ? [\"fips-aws-global\", \"aws-fips\"].includes(region)\n ? \"us-east-1\"\n : region.replace(/fips-(dkr-|prod-)?|-fips/, \"\")\n : region;\n", "import { checkRegion } from \"./checkRegion\";\nimport { getRealRegion } from \"./getRealRegion\";\nimport { isFipsRegion } from \"./isFipsRegion\";\nexport const resolveRegionConfig = (input) => {\n const { region, useFipsEndpoint } = input;\n if (!region) {\n throw new Error(\"Region is missing\");\n }\n return Object.assign(input, {\n region: async () => {\n const providedRegion = typeof region === \"function\" ? await region() : region;\n const realRegion = getRealRegion(providedRegion);\n checkRegion(realRegion);\n return realRegion;\n },\n useFipsEndpoint: async () => {\n const providedRegion = typeof region === \"string\" ? region : await region();\n if (isFipsRegion(providedRegion)) {\n return true;\n }\n return typeof useFipsEndpoint !== \"function\" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();\n },\n });\n};\n", "export class ProviderError extends Error {\n name = \"ProviderError\";\n tryNextLink;\n constructor(message, options = true) {\n let logger;\n let tryNextLink = true;\n if (typeof options === \"boolean\") {\n logger = undefined;\n tryNextLink = options;\n }\n else if (options != null && typeof options === \"object\") {\n logger = options.logger;\n tryNextLink = options.tryNextLink ?? true;\n }\n super(message);\n this.tryNextLink = tryNextLink;\n Object.setPrototypeOf(this, ProviderError.prototype);\n logger?.debug?.(`@smithy/property-provider ${tryNextLink ? \"->\" : \"(!)\"} ${message}`);\n }\n static from(error, options = true) {\n return Object.assign(new this(error.message, options), error);\n }\n}\n", "import { ProviderError } from \"./ProviderError\";\nexport class CredentialsProviderError extends ProviderError {\n name = \"CredentialsProviderError\";\n constructor(message, options = true) {\n super(message, options);\n Object.setPrototypeOf(this, CredentialsProviderError.prototype);\n }\n}\n", "import { ProviderError } from \"./ProviderError\";\nexport class TokenProviderError extends ProviderError {\n name = \"TokenProviderError\";\n constructor(message, options = true) {\n super(message, options);\n Object.setPrototypeOf(this, TokenProviderError.prototype);\n }\n}\n", "import { ProviderError } from \"./ProviderError\";\nexport const chain = (...providers) => async () => {\n if (providers.length === 0) {\n throw new ProviderError(\"No providers in chain\");\n }\n let lastProviderError;\n for (const provider of providers) {\n try {\n const credentials = await provider();\n return credentials;\n }\n catch (err) {\n lastProviderError = err;\n if (err?.tryNextLink) {\n continue;\n }\n throw err;\n }\n }\n throw lastProviderError;\n};\n", "export const fromValue = (staticValue) => () => Promise.resolve(staticValue);\n", "export const memoize = (provider, isExpired, requiresRefresh) => {\n let resolved;\n let pending;\n let hasResult;\n let isConstant = false;\n const coalesceProvider = async () => {\n if (!pending) {\n pending = provider();\n }\n try {\n resolved = await pending;\n hasResult = true;\n isConstant = false;\n }\n finally {\n pending = undefined;\n }\n return resolved;\n };\n if (isExpired === undefined) {\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider();\n }\n return resolved;\n };\n }\n return async (options) => {\n if (!hasResult || options?.forceRefresh) {\n resolved = await coalesceProvider();\n }\n if (isConstant) {\n return resolved;\n }\n if (requiresRefresh && !requiresRefresh(resolved)) {\n isConstant = true;\n return resolved;\n }\n if (isExpired(resolved)) {\n await coalesceProvider();\n return resolved;\n }\n return resolved;\n };\n};\n", "export const booleanSelector = (obj, key, type) => {\n if (!(key in obj))\n return undefined;\n if (obj[key] === \"true\")\n return true;\n if (obj[key] === \"false\")\n return false;\n throw new Error(`Cannot load ${type} \"${key}\". Expected \"true\" or \"false\", got ${obj[key]}.`);\n};\n", "export var SelectorType;\n(function (SelectorType) {\n SelectorType[\"ENV\"] = \"env\";\n SelectorType[\"CONFIG\"] = \"shared config entry\";\n})(SelectorType || (SelectorType = {}));\n", "import { homedir } from \"node:os\";\nimport { sep } from \"node:path\";\nconst homeDirCache = {};\nconst getHomeDirCacheKey = () => {\n if (process && process.geteuid) {\n return `${process.geteuid()}`;\n }\n return \"DEFAULT\";\n};\nexport const getHomeDir = () => {\n const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;\n if (HOME)\n return HOME;\n if (USERPROFILE)\n return USERPROFILE;\n if (HOMEPATH)\n return `${HOMEDRIVE}${HOMEPATH}`;\n const homeDirCacheKey = getHomeDirCacheKey();\n if (!homeDirCache[homeDirCacheKey])\n homeDirCache[homeDirCacheKey] = homedir();\n return homeDirCache[homeDirCacheKey];\n};\n", "export const ENV_PROFILE = \"AWS_PROFILE\";\nexport const DEFAULT_PROFILE = \"default\";\nexport const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;\n", "import { createHash } from \"node:crypto\";\nimport { join } from \"node:path\";\nimport { getHomeDir } from \"./getHomeDir\";\nexport const getSSOTokenFilepath = (id) => {\n const hasher = createHash(\"sha1\");\n const cacheName = hasher.update(id).digest(\"hex\");\n return join(getHomeDir(), \".aws\", \"sso\", \"cache\", `${cacheName}.json`);\n};\n", "import { readFile } from \"node:fs/promises\";\nimport { getSSOTokenFilepath } from \"./getSSOTokenFilepath\";\nexport const tokenIntercept = {};\nexport const getSSOTokenFromFile = async (id) => {\n if (tokenIntercept[id]) {\n return tokenIntercept[id];\n }\n const ssoTokenFilepath = getSSOTokenFilepath(id);\n const ssoTokenText = await readFile(ssoTokenFilepath, \"utf8\");\n return JSON.parse(ssoTokenText);\n};\n", "import { join } from \"node:path\";\nimport { getConfigData } from \"./getConfigData\";\nimport { getConfigFilepath } from \"./getConfigFilepath\";\nimport { getCredentialsFilepath } from \"./getCredentialsFilepath\";\nimport { getHomeDir } from \"./getHomeDir\";\nimport { parseIni } from \"./parseIni\";\nimport { readFile } from \"./readFile\";\nconst swallowError = () => ({});\nexport { CONFIG_PREFIX_SEPARATOR } from \"./constants\";\nexport const loadSharedConfigFiles = async (init = {}) => {\n const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;\n const homeDir = getHomeDir();\n const relativeHomeDirPrefix = \"~/\";\n let resolvedFilepath = filepath;\n if (filepath.startsWith(relativeHomeDirPrefix)) {\n resolvedFilepath = join(homeDir, filepath.slice(2));\n }\n let resolvedConfigFilepath = configFilepath;\n if (configFilepath.startsWith(relativeHomeDirPrefix)) {\n resolvedConfigFilepath = join(homeDir, configFilepath.slice(2));\n }\n const parsedFiles = await Promise.all([\n readFile(resolvedConfigFilepath, {\n ignoreCache: init.ignoreCache,\n })\n .then(parseIni)\n .then(getConfigData)\n .catch(swallowError),\n readFile(resolvedFilepath, {\n ignoreCache: init.ignoreCache,\n })\n .then(parseIni)\n .catch(swallowError),\n ]);\n return {\n configFile: parsedFiles[0],\n credentialsFile: parsedFiles[1],\n };\n};\n", "import { IniSectionType } from \"@smithy/types\";\nimport { CONFIG_PREFIX_SEPARATOR } from \"./constants\";\nexport const getConfigData = (data) => Object.entries(data)\n .filter(([key]) => {\n const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);\n if (indexOfSeparator === -1) {\n return false;\n }\n return Object.values(IniSectionType).includes(key.substring(0, indexOfSeparator));\n})\n .reduce((acc, [key, value]) => {\n const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);\n const updatedKey = key.substring(0, indexOfSeparator) === IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key;\n acc[updatedKey] = value;\n return acc;\n}, {\n ...(data.default && { default: data.default }),\n});\n", "import { join } from \"node:path\";\nimport { getHomeDir } from \"./getHomeDir\";\nexport const ENV_CONFIG_PATH = \"AWS_CONFIG_FILE\";\nexport const getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join(getHomeDir(), \".aws\", \"config\");\n", "import { join } from \"node:path\";\nimport { getHomeDir } from \"./getHomeDir\";\nexport const ENV_CREDENTIALS_PATH = \"AWS_SHARED_CREDENTIALS_FILE\";\nexport const getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join(getHomeDir(), \".aws\", \"credentials\");\n", "import { IniSectionType } from \"@smithy/types\";\nimport { CONFIG_PREFIX_SEPARATOR } from \"./constants\";\nconst prefixKeyRegex = /^([\\w-]+)\\s([\"'])?([\\w-@+.%:/]+)\\2$/;\nconst profileNameBlockList = [\"__proto__\", \"profile __proto__\"];\nexport const parseIni = (iniData) => {\n const map = {};\n let currentSection;\n let currentSubSection;\n for (const iniLine of iniData.split(/\\r?\\n/)) {\n const trimmedLine = iniLine.split(/(^|\\s)[;#]/)[0].trim();\n const isSection = trimmedLine[0] === \"[\" && trimmedLine[trimmedLine.length - 1] === \"]\";\n if (isSection) {\n currentSection = undefined;\n currentSubSection = undefined;\n const sectionName = trimmedLine.substring(1, trimmedLine.length - 1);\n const matches = prefixKeyRegex.exec(sectionName);\n if (matches) {\n const [, prefix, , name] = matches;\n if (Object.values(IniSectionType).includes(prefix)) {\n currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR);\n }\n }\n else {\n currentSection = sectionName;\n }\n if (profileNameBlockList.includes(sectionName)) {\n throw new Error(`Found invalid profile name \"${sectionName}\"`);\n }\n }\n else if (currentSection) {\n const indexOfEqualsSign = trimmedLine.indexOf(\"=\");\n if (![0, -1].includes(indexOfEqualsSign)) {\n const [name, value] = [\n trimmedLine.substring(0, indexOfEqualsSign).trim(),\n trimmedLine.substring(indexOfEqualsSign + 1).trim(),\n ];\n if (value === \"\") {\n currentSubSection = name;\n }\n else {\n if (currentSubSection && iniLine.trimStart() === iniLine) {\n currentSubSection = undefined;\n }\n map[currentSection] = map[currentSection] || {};\n const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name;\n map[currentSection][key] = value;\n }\n }\n }\n }\n return map;\n};\n", "import { readFile as fsReadFile } from \"node:fs/promises\";\nexport const filePromises = {};\nexport const fileIntercept = {};\nexport const readFile = (path, options) => {\n if (fileIntercept[path] !== undefined) {\n return fileIntercept[path];\n }\n if (!filePromises[path] || options?.ignoreCache) {\n filePromises[path] = fsReadFile(path, \"utf8\");\n }\n return filePromises[path];\n};\n", "import { IniSectionType } from \"@smithy/types\";\nimport { CONFIG_PREFIX_SEPARATOR } from \"./loadSharedConfigFiles\";\nexport const getSsoSessionData = (data) => Object.entries(data)\n .filter(([key]) => key.startsWith(IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR))\n .reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});\n", "import { getConfigFilepath } from \"./getConfigFilepath\";\nimport { getSsoSessionData } from \"./getSsoSessionData\";\nimport { parseIni } from \"./parseIni\";\nimport { readFile } from \"./readFile\";\nconst swallowError = () => ({});\nexport const loadSsoSessionData = async (init = {}) => readFile(init.configFilepath ?? getConfigFilepath())\n .then(parseIni)\n .then(getSsoSessionData)\n .catch(swallowError);\n", "export const mergeConfigFiles = (...files) => {\n const merged = {};\n for (const file of files) {\n for (const [key, values] of Object.entries(file)) {\n if (merged[key] !== undefined) {\n Object.assign(merged[key], values);\n }\n else {\n merged[key] = values;\n }\n }\n }\n return merged;\n};\n", "import { loadSharedConfigFiles } from \"./loadSharedConfigFiles\";\nimport { mergeConfigFiles } from \"./mergeConfigFiles\";\nexport const parseKnownFiles = async (init) => {\n const parsedFiles = await loadSharedConfigFiles(init);\n return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);\n};\n", "import { tokenIntercept } from \"./getSSOTokenFromFile\";\nimport { fileIntercept } from \"./readFile\";\nexport const externalDataInterceptor = {\n getFileRecord() {\n return fileIntercept;\n },\n interceptFile(path, contents) {\n fileIntercept[path] = Promise.resolve(contents);\n },\n getTokenRecord() {\n return tokenIntercept;\n },\n interceptToken(id, contents) {\n tokenIntercept[id] = contents;\n },\n};\n", "export function getSelectorName(functionString) {\n try {\n const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));\n constants.delete(\"CONFIG\");\n constants.delete(\"CONFIG_PREFIX_SEPARATOR\");\n constants.delete(\"ENV\");\n return [...constants].join(\", \");\n }\n catch (ignored) {\n return functionString;\n }\n}\n", "import { CredentialsProviderError } from \"../property-provider/CredentialsProviderError\";\nimport { getSelectorName } from \"./getSelectorName\";\nexport const fromEnv = (envVarSelector, options) => async () => {\n try {\n const config = envVarSelector(process.env, options);\n if (config === undefined) {\n throw new Error();\n }\n return config;\n }\n catch (e) {\n throw new CredentialsProviderError(e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, { logger: options?.logger });\n }\n};\n", "import { CredentialsProviderError } from \"../property-provider/CredentialsProviderError\";\nimport { getProfileName } from \"../shared-ini-file-loader/getProfileName\";\nimport { loadSharedConfigFiles } from \"../shared-ini-file-loader/loadSharedConfigFiles\";\nimport { getSelectorName } from \"./getSelectorName\";\nexport const fromSharedConfigFiles = (configSelector, { preferredFile = \"config\", ...init } = {}) => async () => {\n const profile = getProfileName(init);\n const { configFile, credentialsFile } = await loadSharedConfigFiles(init);\n const profileFromCredentials = credentialsFile[profile] || {};\n const profileFromConfig = configFile[profile] || {};\n const mergedProfile = preferredFile === \"config\"\n ? { ...profileFromCredentials, ...profileFromConfig }\n : { ...profileFromConfig, ...profileFromCredentials };\n try {\n const cfgFile = preferredFile === \"config\" ? configFile : credentialsFile;\n const configValue = configSelector(mergedProfile, cfgFile);\n if (configValue === undefined) {\n throw new Error();\n }\n return configValue;\n }\n catch (e) {\n throw new CredentialsProviderError(e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`, { logger: init.logger });\n }\n};\n", "import { fromValue } from \"../property-provider/fromValue\";\nconst isFunction = (func) => typeof func === \"function\";\nexport const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : fromValue(defaultValue);\n", "import { chain } from \"../property-provider/chain\";\nimport { memoize } from \"../property-provider/memoize\";\nimport { fromEnv } from \"./fromEnv\";\nimport { fromSharedConfigFiles } from \"./fromSharedConfigFiles\";\nimport { fromStatic } from \"./fromStatic\";\nexport const loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => {\n const { signingName, logger } = configuration;\n const envOptions = { signingName, logger };\n return memoize(chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue)));\n};\n", "import { booleanSelector } from \"../../util-config-provider/booleanSelector\";\nimport { SelectorType } from \"../../util-config-provider/types\";\nexport const ENV_USE_DUALSTACK_ENDPOINT = \"AWS_USE_DUALSTACK_ENDPOINT\";\nexport const CONFIG_USE_DUALSTACK_ENDPOINT = \"use_dualstack_endpoint\";\nexport const DEFAULT_USE_DUALSTACK_ENDPOINT = false;\nexport const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, SelectorType.ENV),\n configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG),\n default: false,\n};\nexport const nodeDualstackConfigSelectors = {\n environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, SelectorType.ENV),\n configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG),\n default: undefined,\n};\n", "import { booleanSelector } from \"../../util-config-provider/booleanSelector\";\nimport { SelectorType } from \"../../util-config-provider/types\";\nexport const ENV_USE_FIPS_ENDPOINT = \"AWS_USE_FIPS_ENDPOINT\";\nexport const CONFIG_USE_FIPS_ENDPOINT = \"use_fips_endpoint\";\nexport const DEFAULT_USE_FIPS_ENDPOINT = false;\nexport const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_FIPS_ENDPOINT, SelectorType.ENV),\n configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG),\n default: false,\n};\nexport const nodeFipsConfigSelectors = {\n environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_FIPS_ENDPOINT, SelectorType.ENV),\n configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG),\n default: undefined,\n};\n", "const AWS_DEFAULTS_MODE_ENV = \"AWS_DEFAULTS_MODE\";\nconst AWS_DEFAULTS_MODE_CONFIG = \"defaults_mode\";\nexport const NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => {\n return env[AWS_DEFAULTS_MODE_ENV];\n },\n configFileSelector: (profile) => {\n return profile[AWS_DEFAULTS_MODE_CONFIG];\n },\n default: \"legacy\",\n};\n", "import { NODE_REGION_CONFIG_OPTIONS } from \"../config-resolver/regionConfig/config\";\nimport { getInstanceMetadataRegion } from \"../config-resolver/regionConfig/getInstanceMetadataRegion\";\nimport { loadConfig } from \"../node-config-provider/configLoader\";\nimport { memoize } from \"../property-provider/memoize\";\nimport { AWS_DEFAULT_REGION_ENV, AWS_EXECUTION_ENV, AWS_REGION_ENV, DEFAULTS_MODE_OPTIONS } from \"./constants\";\nimport { NODE_DEFAULTS_MODE_CONFIG_OPTIONS } from \"./defaultsModeConfig\";\nexport const resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS), } = {}) => memoize(async () => {\n const mode = typeof defaultsMode === \"function\" ? await defaultsMode() : defaultsMode;\n switch (mode?.toLowerCase()) {\n case \"auto\":\n return resolveNodeDefaultsModeAuto(region);\n case \"in-region\":\n case \"cross-region\":\n case \"mobile\":\n case \"standard\":\n case \"legacy\":\n return Promise.resolve(mode?.toLocaleLowerCase());\n case undefined:\n return Promise.resolve(\"legacy\");\n default:\n throw new Error(`Invalid parameter for \"defaultsMode\", expect ${DEFAULTS_MODE_OPTIONS.join(\", \")}, got ${mode}`);\n }\n});\nconst resolveNodeDefaultsModeAuto = async (clientRegion) => {\n if (clientRegion) {\n const resolvedRegion = typeof clientRegion === \"function\" ? await clientRegion() : clientRegion;\n const inferredRegion = await inferPhysicalRegion();\n if (!inferredRegion) {\n return \"standard\";\n }\n if (resolvedRegion === inferredRegion) {\n return \"in-region\";\n }\n else {\n return \"cross-region\";\n }\n }\n return \"standard\";\n};\nconst inferPhysicalRegion = async () => {\n if (process.env[AWS_EXECUTION_ENV] && (process.env[AWS_REGION_ENV] || process.env[AWS_DEFAULT_REGION_ENV])) {\n return process.env[AWS_REGION_ENV] ?? process.env[AWS_DEFAULT_REGION_ENV];\n }\n return getInstanceMetadataRegion();\n};\n"],
5
- "mappings": ";sHAAO,IAAMA,EAAoB,oBACpBC,EAAiB,aACjBC,EAAyB,qBACzBC,EAAoB,4BACpBC,EAAwB,CAAC,YAAa,eAAgB,SAAU,WAAY,QAAQ,EACpFC,EAAmB,qCACnBC,EAAkB,oBAClBC,EAA2B,2BAC3BC,EAA+B,uCCP5C,IAAMC,EAAa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AAsB,KAAK,IAAI,CAAC,SAASF,CAAI,EAAE,CACvH,CACJ,CAAC,EAhBwC,6BAiBnCC,GAA8BR,EAAA,MAAOU,GAAiB,CACxD,GAAIA,EAAc,CACd,IAAMC,EAAiB,OAAOD,GAAiB,WAAa,MAAMA,EAAa,EAAIA,EAC7EE,EAAiB,MAAMC,GAAoB,EACjD,OAAKD,EAGDD,IAAmBC,EACZ,YAGA,eANA,UAQf,CACA,MAAO,UACX,EAfoC,+BAgB9BC,GAAsBb,EAAA,SACpB,QAAQ,IAAIc,CAAiB,IAAM,QAAQ,IAAIC,CAAc,GAAK,QAAQ,IAAIC,CAAsB,GAC7F,QAAQ,IAAID,CAAc,GAAK,QAAQ,IAAIC,CAAsB,EAErEC,EAA0B,EAJT",
6
6
  "names": ["AWS_EXECUTION_ENV", "AWS_REGION_ENV", "AWS_DEFAULT_REGION_ENV", "ENV_IMDS_DISABLED", "DEFAULTS_MODE_OPTIONS", "IMDS_REGION_PATH", "IMDS_TOKEN_PATH", "X_AWS_EC2_METADATA_TOKEN", "X_AWS_EC2_METADATA_TOKEN_TTL", "TIMEOUT_MS", "NEG_CACHE_TTL_MS", "negativeCacheUntil", "getInstanceMetadataRegion", "__name", "ENV_IMDS_DISABLED", "endpoint", "resolveImdsEndpoint", "token", "imdsRequest", "IMDS_TOKEN_PATH", "X_AWS_EC2_METADATA_TOKEN_TTL", "IMDS_REGION_PATH", "X_AWS_EC2_METADATA_TOKEN", "cacheNegativeAndReturnUndefined", "envEndpoint", "url", "options", "request", "resolve", "reject", "req", "err", "res", "statusCode", "chunks", "chunk", "REGION_ENV_NAME", "REGION_INI_NAME", "NODE_REGION_CONFIG_OPTIONS", "__name", "env", "profile", "region", "getInstanceMetadataRegion", "NODE_REGION_CONFIG_FILE_OPTIONS", "validRegions", "checkRegion", "__name", "region", "check", "isValidHostLabel", "isFipsRegion", "__name", "region", "getRealRegion", "__name", "region", "isFipsRegion", "resolveRegionConfig", "__name", "input", "region", "useFipsEndpoint", "providedRegion", "realRegion", "getRealRegion", "checkRegion", "isFipsRegion", "ProviderError", "_ProviderError", "__name", "message", "options", "logger", "tryNextLink", "error", "CredentialsProviderError", "_CredentialsProviderError", "ProviderError", "__name", "message", "options", "TokenProviderError", "_TokenProviderError", "ProviderError", "__name", "message", "options", "chain", "__name", "providers", "ProviderError", "lastProviderError", "provider", "err", "fromValue", "__name", "staticValue", "memoize", "__name", "provider", "isExpired", "requiresRefresh", "resolved", "pending", "hasResult", "isConstant", "coalesceProvider", "options", "booleanSelector", "__name", "obj", "key", "type", "SelectorType", "homedir", "sep", "homeDirCache", "getHomeDirCacheKey", "__name", "getHomeDir", "HOME", "USERPROFILE", "HOMEPATH", "HOMEDRIVE", "sep", "homeDirCacheKey", "homedir", "ENV_PROFILE", "DEFAULT_PROFILE", "getProfileName", "__name", "init", "createHash", "join", "getSSOTokenFilepath", "__name", "id", "cacheName", "createHash", "join", "getHomeDir", "readFile", "tokenIntercept", "getSSOTokenFromFile", "__name", "id", "ssoTokenFilepath", "getSSOTokenFilepath", "ssoTokenText", "readFile", "join", "getConfigData", "__name", "data", "key", "indexOfSeparator", "IniSectionType", "acc", "value", "updatedKey", "join", "ENV_CONFIG_PATH", "getConfigFilepath", "__name", "join", "getHomeDir", "join", "ENV_CREDENTIALS_PATH", "getCredentialsFilepath", "__name", "join", "getHomeDir", "prefixKeyRegex", "profileNameBlockList", "parseIni", "__name", "iniData", "map", "currentSection", "currentSubSection", "iniLine", "trimmedLine", "sectionName", "matches", "prefix", "name", "IniSectionType", "indexOfEqualsSign", "value", "key", "fsReadFile", "filePromises", "fileIntercept", "readFile", "__name", "path", "options", "fsReadFile", "swallowError", "__name", "loadSharedConfigFiles", "init", "filepath", "getCredentialsFilepath", "configFilepath", "getConfigFilepath", "homeDir", "getHomeDir", "relativeHomeDirPrefix", "resolvedFilepath", "join", "resolvedConfigFilepath", "parsedFiles", "readFile", "parseIni", "getConfigData", "getSsoSessionData", "__name", "data", "key", "IniSectionType", "acc", "value", "swallowError", "__name", "loadSsoSessionData", "init", "readFile", "getConfigFilepath", "parseIni", "getSsoSessionData", "mergeConfigFiles", "__name", "files", "merged", "file", "key", "values", "parseKnownFiles", "__name", "init", "parsedFiles", "loadSharedConfigFiles", "mergeConfigFiles", "externalDataInterceptor", "fileIntercept", "path", "contents", "tokenIntercept", "id", "getSelectorName", "functionString", "constants", "__name", "fromEnv", "__name", "envVarSelector", "options", "config", "e", "CredentialsProviderError", "getSelectorName", "fromSharedConfigFiles", "__name", "configSelector", "preferredFile", "init", "profile", "getProfileName", "configFile", "credentialsFile", "loadSharedConfigFiles", "profileFromCredentials", "profileFromConfig", "mergedProfile", "configValue", "e", "CredentialsProviderError", "getSelectorName", "isFunction", "__name", "func", "fromStatic", "defaultValue", "fromValue", "loadConfig", "__name", "environmentVariableSelector", "configFileSelector", "defaultValue", "configuration", "signingName", "logger", "memoize", "chain", "fromEnv", "fromSharedConfigFiles", "fromStatic", "ENV_USE_DUALSTACK_ENDPOINT", "CONFIG_USE_DUALSTACK_ENDPOINT", "NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS", "__name", "env", "booleanSelector", "ENV_USE_DUALSTACK_ENDPOINT", "SelectorType", "profile", "CONFIG_USE_DUALSTACK_ENDPOINT", "ENV_USE_FIPS_ENDPOINT", "CONFIG_USE_FIPS_ENDPOINT", "NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS", "__name", "env", "booleanSelector", "ENV_USE_FIPS_ENDPOINT", "SelectorType", "profile", "CONFIG_USE_FIPS_ENDPOINT", "AWS_DEFAULTS_MODE_ENV", "AWS_DEFAULTS_MODE_CONFIG", "NODE_DEFAULTS_MODE_CONFIG_OPTIONS", "__name", "env", "profile", "resolveDefaultsModeConfig", "__name", "region", "loadConfig", "NODE_REGION_CONFIG_OPTIONS", "defaultsMode", "NODE_DEFAULTS_MODE_CONFIG_OPTIONS", "memoize", "mode", "resolveNodeDefaultsModeAuto", "DEFAULTS_MODE_OPTIONS", "clientRegion", "resolvedRegion", "inferredRegion", "inferPhysicalRegion", "AWS_EXECUTION_ENV", "AWS_REGION_ENV", "AWS_DEFAULT_REGION_ENV", "getInstanceMetadataRegion"]
7
7
  }
@@ -1,2 +1,2 @@
1
1
  /* CommonJS polyfills */import { fileURLToPath } from 'node:url';import { createRequire } from 'node:module';const __filename = fileURLToPath(import.meta.url);const __dirname = fileURLToPath(new URL('.', import.meta.url));const require = createRequire(import.meta.url);/* end of CommonJS polyfills */
2
- import{z as m}from"./chunk-MATUPZWL.mjs";import{a as d}from"./chunk-CFZ5JWD3.mjs";import*as w from"node:zlib";var H=new Uint32Array(256);for(let f=0;f<256;++f){let e=f;for(let t=0;t<8;++t)e=e&1?3988292384^e>>>1:e>>>1;H[f]=e>>>0}var g=4294967295,y=class{static{d(this,"Crc32Js")}digestLength=4;checksum=g;update(e){for(let t=0;t<e.length;++t)this.checksum=this.checksum>>>8^H[(this.checksum^e[t])&255]}digestSync(){return(this.checksum^g)>>>0}async digest(){let e=this.digestSync(),t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!1),t}reset(){this.checksum=g}};var L=typeof w.crc32=="function"?w.crc32:void 0,S=L?I(L):y;function I(f){return class{static{d(this,"Crc32Node")}digestLength=4;value=0;update(t){this.value=f(t,this.value)}digestSync(){return this.value>>>0}async digest(){let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,this.digestSync(),!1),t}reset(){this.value=0}}}d(I,"buildNativeClass");var a=64,U=32,M=2**53-1,l=class f{static{d(this,"Sha256Js")}digestLength=U;state=Int32Array.from(C);w;buffer=new Uint8Array(64);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(e){if(e){let t=f.normalizeKey(e);this.inner=new f,this.outer=new f;let{inner:s,outer:r}=this,n=new Uint8Array(a*2);for(let h=0;h<a;++h)n[h]=54^t[h],n[h+a]=92^t[h];s.update(n.subarray(0,a)),r.update(n.subarray(a))}}update(e){if(this.finished)throw new Error("Attempted to update an already finished HMAC.");if(this.inner){this.inner.update(e);return}let t=m(e),s=0,{byteLength:r}=t;if(this.bytesHashed+=r,this.bytesHashed*8>M)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=t[s++],r--,this.bufferLength===a&&(this.hashBuffer(),this.bufferLength=0)}async digest(){let{inner:e,outer:t}=this;if(e&&t){if(this.finished)throw new Error("Attempted to digest an already finished HMAC.");this.finished=!0;let s=e.digestSync();return t.update(s),t.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from(C),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0}digestSync(){let e=this.state.slice(),t=this.buffer.slice(),s=this.bufferLength,r=this.bytesHashed*8,n=new DataView(t.buffer,t.byteOffset,t.byteLength);if(n.setUint8(s++,128),(s-1)%a>=a-8){for(let i=s;i<a;++i)n.setUint8(i,0);this.hashBufferWith(e,t),s=0}for(let i=s;i<a-8;++i)n.setUint8(i,0);n.setUint32(a-8,Math.floor(r/4294967296),!1),n.setUint32(a-4,r,!1),this.hashBufferWith(e,t);let h=new Uint8Array(U);for(let i=0;i<8;++i)h[i*4]=e[i]>>>24&255,h[i*4+1]=e[i]>>>16&255,h[i*4+2]=e[i]>>>8&255,h[i*4+3]=e[i]>>>0&255;return h}static normalizeKey(e){let t=m(e);if(t.byteLength>a){let s=new f;s.update(t);let r=s.digestSync(),n=new Uint8Array(a);return n.set(r),n}if(t.byteLength<a){let s=new Uint8Array(a);return s.set(t),s}return t}hashBuffer(){this.hashBufferWith(this.state,this.buffer)}hashBufferWith(e,t){let s=this.w??=new Int32Array(64),r=e[0],n=e[1],h=e[2],i=e[3],o=e[4],u=e[5],b=e[6],p=e[7];for(let c=0;c<a;++c){if(c<16)s[c]=(t[c*4]&255)<<24|(t[c*4+1]&255)<<16|(t[c*4+2]&255)<<8|t[c*4+3]&255;else{let x=s[c-2],k=(x>>>17|x<<15)^(x>>>19|x<<13)^x>>>10;x=s[c-15];let v=(x>>>7|x<<25)^(x>>>18|x<<14)^x>>>3;s[c]=(k+s[c-7]|0)+(v+s[c-16]|0)}let A=(((o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7))+(o&u^~o&b)|0)+(p+(z[c]+s[c]|0)|0)|0,E=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&h^n&h)|0;p=b,b=u,u=o,o=i+A|0,i=h,h=n,n=r,r=A+E|0}e[0]+=r,e[1]+=n,e[2]+=h,e[3]+=i,e[4]+=o,e[5]+=u,e[6]+=b,e[7]+=p}},C=new Int32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),z=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);import{createHash as N,createHmac as D}from"node:crypto";var O=(()=>{try{return N("sha256"),!0}catch{return!1}})(),B=O?T():l;function T(){return class{static{d(this,"Sha256Node")}digestLength=32;secret;hash;isHmac;finished=!1;constructor(e){this.secret=e,this.isHmac=!!e,this.hash=this.createHash()}update(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");this.hash.update(e)}async digest(){let e;return this.isHmac?(this.finished=!0,e=this.hash.digest()):e=this.hash.copy().digest(),new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}reset(){this.hash=this.createHash(),this.finished=!1}createHash(){return this.secret?D("sha256",V(this.secret)):N("sha256")}}}d(T,"buildNativeClass");function V(f){return typeof f=="string"?f:ArrayBuffer.isView(f)?Buffer.from(f.buffer,f.byteOffset,f.byteLength):Buffer.from(f)}d(V,"toBuffer");export{S as a,B as b};
2
+ import{A as m}from"./chunk-3UGRDNDZ.mjs";import{a as d}from"./chunk-CFZ5JWD3.mjs";import*as w from"node:zlib";var H=new Uint32Array(256);for(let f=0;f<256;++f){let e=f;for(let t=0;t<8;++t)e=e&1?3988292384^e>>>1:e>>>1;H[f]=e>>>0}var g=4294967295,y=class{static{d(this,"Crc32Js")}digestLength=4;checksum=g;update(e){for(let t=0;t<e.length;++t)this.checksum=this.checksum>>>8^H[(this.checksum^e[t])&255]}digestSync(){return(this.checksum^g)>>>0}async digest(){let e=this.digestSync(),t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!1),t}reset(){this.checksum=g}};var L=typeof w.crc32=="function"?w.crc32:void 0,S=L?I(L):y;function I(f){return class{static{d(this,"Crc32Node")}digestLength=4;value=0;update(t){this.value=f(t,this.value)}digestSync(){return this.value>>>0}async digest(){let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,this.digestSync(),!1),t}reset(){this.value=0}}}d(I,"buildNativeClass");var a=64,U=32,M=2**53-1,l=class f{static{d(this,"Sha256Js")}digestLength=U;state=Int32Array.from(C);w;buffer=new Uint8Array(64);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(e){if(e){let t=f.normalizeKey(e);this.inner=new f,this.outer=new f;let{inner:s,outer:r}=this,n=new Uint8Array(a*2);for(let h=0;h<a;++h)n[h]=54^t[h],n[h+a]=92^t[h];s.update(n.subarray(0,a)),r.update(n.subarray(a))}}update(e){if(this.finished)throw new Error("Attempted to update an already finished HMAC.");if(this.inner){this.inner.update(e);return}let t=m(e),s=0,{byteLength:r}=t;if(this.bytesHashed+=r,this.bytesHashed*8>M)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=t[s++],r--,this.bufferLength===a&&(this.hashBuffer(),this.bufferLength=0)}async digest(){let{inner:e,outer:t}=this;if(e&&t){if(this.finished)throw new Error("Attempted to digest an already finished HMAC.");this.finished=!0;let s=e.digestSync();return t.update(s),t.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from(C),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0}digestSync(){let e=this.state.slice(),t=this.buffer.slice(),s=this.bufferLength,r=this.bytesHashed*8,n=new DataView(t.buffer,t.byteOffset,t.byteLength);if(n.setUint8(s++,128),(s-1)%a>=a-8){for(let i=s;i<a;++i)n.setUint8(i,0);this.hashBufferWith(e,t),s=0}for(let i=s;i<a-8;++i)n.setUint8(i,0);n.setUint32(a-8,Math.floor(r/4294967296),!1),n.setUint32(a-4,r,!1),this.hashBufferWith(e,t);let h=new Uint8Array(U);for(let i=0;i<8;++i)h[i*4]=e[i]>>>24&255,h[i*4+1]=e[i]>>>16&255,h[i*4+2]=e[i]>>>8&255,h[i*4+3]=e[i]>>>0&255;return h}static normalizeKey(e){let t=m(e);if(t.byteLength>a){let s=new f;s.update(t);let r=s.digestSync(),n=new Uint8Array(a);return n.set(r),n}if(t.byteLength<a){let s=new Uint8Array(a);return s.set(t),s}return t}hashBuffer(){this.hashBufferWith(this.state,this.buffer)}hashBufferWith(e,t){let s=this.w??=new Int32Array(64),r=e[0],n=e[1],h=e[2],i=e[3],o=e[4],u=e[5],b=e[6],p=e[7];for(let c=0;c<a;++c){if(c<16)s[c]=(t[c*4]&255)<<24|(t[c*4+1]&255)<<16|(t[c*4+2]&255)<<8|t[c*4+3]&255;else{let x=s[c-2],k=(x>>>17|x<<15)^(x>>>19|x<<13)^x>>>10;x=s[c-15];let v=(x>>>7|x<<25)^(x>>>18|x<<14)^x>>>3;s[c]=(k+s[c-7]|0)+(v+s[c-16]|0)}let A=(((o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7))+(o&u^~o&b)|0)+(p+(z[c]+s[c]|0)|0)|0,E=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&h^n&h)|0;p=b,b=u,u=o,o=i+A|0,i=h,h=n,n=r,r=A+E|0}e[0]+=r,e[1]+=n,e[2]+=h,e[3]+=i,e[4]+=o,e[5]+=u,e[6]+=b,e[7]+=p}},C=new Int32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),z=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);import{createHash as N,createHmac as D}from"node:crypto";var O=(()=>{try{return N("sha256"),!0}catch{return!1}})(),B=O?T():l;function T(){return class{static{d(this,"Sha256Node")}digestLength=32;secret;hash;isHmac;finished=!1;constructor(e){this.secret=e,this.isHmac=!!e,this.hash=this.createHash()}update(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");this.hash.update(e)}async digest(){let e;return this.isHmac?(this.finished=!0,e=this.hash.digest()):e=this.hash.copy().digest(),new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}reset(){this.hash=this.createHash(),this.finished=!1}createHash(){return this.secret?D("sha256",V(this.secret)):N("sha256")}}}d(T,"buildNativeClass");function V(f){return typeof f=="string"?f:ArrayBuffer.isView(f)?Buffer.from(f.buffer,f.byteOffset,f.byteLength):Buffer.from(f)}d(V,"toBuffer");export{S as a,B as b};
@@ -0,0 +1,2 @@
1
+ /* CommonJS polyfills */import { fileURLToPath } from 'node:url';import { createRequire } from 'node:module';const __filename = fileURLToPath(import.meta.url);const __dirname = fileURLToPath(new URL('.', import.meta.url));const require = createRequire(import.meta.url);/* end of CommonJS polyfills */
2
+ import{a as o}from"./chunk-CFZ5JWD3.mjs";var c;(function(t){t.MD5="md5",t.CRC32="crc32",t.CRC32C="crc32c",t.SHA1="sha1",t.SHA256="sha256"})(c||(c={}));var h="__smithy_context";var i;(function(t){t.HTTP="http",t.HTTPS="https"})(i||(i={}));var f;(function(t){t.PROFILE="profile",t.SSO_SESSION="sso-session",t.SERVICES="services"})(f||(f={}));var C=o(t=>t[h]||(t[h]={}),"getSmithyContext");function u(t,e){return Object.prototype.hasOwnProperty.call(t,e)}o(u,"hasOwn");var p=class t{static{o(this,"HttpRequest")}method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?e.protocol.slice(-1)!==":"?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?e.path.charAt(0)!=="/"?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){let r=new t({...e,headers:{...e.headers}});return r.query&&(r.query=S(r.query)),r}static isInstance(e){if(!e)return!1;let r=e;return"method"in r&&"protocol"in r&&"hostname"in r&&"path"in r&&typeof r.query=="object"&&typeof r.headers=="object"}clone(){return t.clone(this)}};function S(t){return Object.keys(t).reduce((e,r)=>{let s=t[r];return{...e,[r]:Array.isArray(s)?[...s]:s}},{})}o(S,"cloneQuery");var E=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),x=o((t,e=!1)=>{if(!e)return E.test(t);let r=t.split(".");for(let s of r)if(!x(s))return!1;return!0},"isValidHostLabel");var g=o(t=>{if(typeof t=="function")return t;let e=Promise.resolve(t);return()=>e},"normalizeProvider");function y(t){let e={};if(t=t.replace(/^\?/,""),t)for(let r of t.split("&")){let[s,a=null]=r.split("=");s=decodeURIComponent(s),a&&(a=decodeURIComponent(a)),s in e?Array.isArray(e[s])?e[s].push(a):e[s]=[e[s],a]:e[s]=a}return e}o(y,"parseQueryString");var n=o(t=>{if(typeof t=="string")return n(new URL(t));let{hostname:e,pathname:r,port:s,protocol:a,search:l}=t,d;return l&&(d=y(l)),{hostname:e,port:s?parseInt(s):void 0,protocol:a,path:r,query:d}},"parseUrl");var b=o(t=>{if(typeof t=="object"){if("url"in t){let e=n(t.url);if(t.headers){e.headers={};for(let r in t.headers)u(t.headers,r)&&(e.headers[r.toLowerCase()]=t.headers[r].join(", "))}return e}return t}return n(t)},"toEndpointV1");var m=class{static{o(this,"HttpResponse")}statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;let r=e;return typeof r.statusCode=="number"&&typeof r.headers=="object"}};function A(t){return/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(t)}o(A,"isValidHostname");export{i as a,c as b,h as c,f as d,C as e,u as f,p as g,m as h,x as i,A as j,g as k,n as l,b as m};
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../node_modules/.bun/@smithy+types@4.19.0/node_modules/@smithy/types/dist-es/extensions/checksum.js", "../../../../node_modules/.bun/@smithy+types@4.19.0/node_modules/@smithy/types/dist-es/middleware.js", "../../../../node_modules/.bun/@smithy+types@4.19.0/node_modules/@smithy/types/dist-es/endpoint.js", "../../../../node_modules/.bun/@smithy+types@4.19.0/node_modules/@smithy/types/dist-es/profile.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js", "../../../../node_modules/.bun/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js"],
4
+ "sourcesContent": ["export var AlgorithmId;\n(function (AlgorithmId) {\n AlgorithmId[\"MD5\"] = \"md5\";\n AlgorithmId[\"CRC32\"] = \"crc32\";\n AlgorithmId[\"CRC32C\"] = \"crc32c\";\n AlgorithmId[\"SHA1\"] = \"sha1\";\n AlgorithmId[\"SHA256\"] = \"sha256\";\n})(AlgorithmId || (AlgorithmId = {}));\nexport const getChecksumConfiguration = (runtimeConfig) => {\n const checksumAlgorithms = [];\n if (runtimeConfig.sha256 !== undefined) {\n checksumAlgorithms.push({\n algorithmId: () => AlgorithmId.SHA256,\n checksumConstructor: () => runtimeConfig.sha256,\n });\n }\n if (runtimeConfig.md5 != undefined) {\n checksumAlgorithms.push({\n algorithmId: () => AlgorithmId.MD5,\n checksumConstructor: () => runtimeConfig.md5,\n });\n }\n return {\n addChecksumAlgorithm(algo) {\n checksumAlgorithms.push(algo);\n },\n checksumAlgorithms() {\n return checksumAlgorithms;\n },\n };\n};\nexport const resolveChecksumRuntimeConfig = (clientConfig) => {\n const runtimeConfig = {};\n clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {\n runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();\n });\n return runtimeConfig;\n};\n", "export const SMITHY_CONTEXT_KEY = \"__smithy_context\";\n", "export var EndpointURLScheme;\n(function (EndpointURLScheme) {\n EndpointURLScheme[\"HTTP\"] = \"http\";\n EndpointURLScheme[\"HTTPS\"] = \"https\";\n})(EndpointURLScheme || (EndpointURLScheme = {}));\n", "export var IniSectionType;\n(function (IniSectionType) {\n IniSectionType[\"PROFILE\"] = \"profile\";\n IniSectionType[\"SSO_SESSION\"] = \"sso-session\";\n IniSectionType[\"SERVICES\"] = \"services\";\n})(IniSectionType || (IniSectionType = {}));\n", "import { SMITHY_CONTEXT_KEY } from \"@smithy/types\";\nexport const getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});\n", "export function hasOwn(o, k) {\n return Object.prototype.hasOwnProperty.call(o, k);\n}\n", "export class HttpRequest {\n method;\n protocol;\n hostname;\n port;\n path;\n query;\n headers;\n username;\n password;\n fragment;\n body;\n constructor(options) {\n this.method = options.method || \"GET\";\n this.hostname = options.hostname || \"localhost\";\n this.port = options.port;\n this.query = options.query || {};\n this.headers = options.headers || {};\n this.body = options.body;\n this.protocol = options.protocol\n ? options.protocol.slice(-1) !== \":\"\n ? `${options.protocol}:`\n : options.protocol\n : \"https:\";\n this.path = options.path ? (options.path.charAt(0) !== \"/\" ? `/${options.path}` : options.path) : \"/\";\n this.username = options.username;\n this.password = options.password;\n this.fragment = options.fragment;\n }\n static clone(request) {\n const cloned = new HttpRequest({\n ...request,\n headers: { ...request.headers },\n });\n if (cloned.query) {\n cloned.query = cloneQuery(cloned.query);\n }\n return cloned;\n }\n static isInstance(request) {\n if (!request) {\n return false;\n }\n const req = request;\n return (\"method\" in req &&\n \"protocol\" in req &&\n \"hostname\" in req &&\n \"path\" in req &&\n typeof req[\"query\"] === \"object\" &&\n typeof req[\"headers\"] === \"object\");\n }\n clone() {\n return HttpRequest.clone(this);\n }\n}\nfunction cloneQuery(query) {\n return Object.keys(query).reduce((carry, paramName) => {\n const param = query[paramName];\n return {\n ...carry,\n [paramName]: Array.isArray(param) ? [...param] : param,\n };\n }, {});\n}\n", "const VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);\nexport const isValidHostLabel = (value, allowSubDomains = false) => {\n if (!allowSubDomains) {\n return VALID_HOST_LABEL_REGEX.test(value);\n }\n const labels = value.split(\".\");\n for (const label of labels) {\n if (!isValidHostLabel(label)) {\n return false;\n }\n }\n return true;\n};\n", "export const normalizeProvider = (input) => {\n if (typeof input === \"function\")\n return input;\n const promisified = Promise.resolve(input);\n return () => promisified;\n};\n", "export function parseQueryString(querystring) {\n const query = {};\n querystring = querystring.replace(/^\\?/, \"\");\n if (querystring) {\n for (const pair of querystring.split(\"&\")) {\n let [key, value = null] = pair.split(\"=\");\n key = decodeURIComponent(key);\n if (value) {\n value = decodeURIComponent(value);\n }\n if (!(key in query)) {\n query[key] = value;\n }\n else if (Array.isArray(query[key])) {\n query[key].push(value);\n }\n else {\n query[key] = [query[key], value];\n }\n }\n }\n return query;\n}\n", "import { parseQueryString } from \"./parseQueryString\";\nexport const parseUrl = (url) => {\n if (typeof url === \"string\") {\n return parseUrl(new URL(url));\n }\n const { hostname, pathname, port, protocol, search } = url;\n let query;\n if (search) {\n query = parseQueryString(search);\n }\n return {\n hostname,\n port: port ? parseInt(port) : undefined,\n protocol,\n path: pathname,\n query,\n };\n};\n", "import { hasOwn } from \"./hasOwn\";\nimport { parseUrl } from \"./parseUrl\";\nexport const toEndpointV1 = (endpoint) => {\n if (typeof endpoint === \"object\") {\n if (\"url\" in endpoint) {\n const v1Endpoint = parseUrl(endpoint.url);\n if (endpoint.headers) {\n v1Endpoint.headers = {};\n for (const name in endpoint.headers) {\n if (!hasOwn(endpoint.headers, name))\n continue;\n v1Endpoint.headers[name.toLowerCase()] = endpoint.headers[name].join(\", \");\n }\n }\n return v1Endpoint;\n }\n return endpoint;\n }\n return parseUrl(endpoint);\n};\n", "export class HttpResponse {\n statusCode;\n reason;\n headers;\n body;\n constructor(options) {\n this.statusCode = options.statusCode;\n this.reason = options.reason;\n this.headers = options.headers || {};\n this.body = options.body;\n }\n static isInstance(response) {\n if (!response)\n return false;\n const resp = response;\n return typeof resp.statusCode === \"number\" && typeof resp.headers === \"object\";\n }\n}\n", "export function isValidHostname(hostname) {\n const hostPattern = /^[a-z0-9][a-z0-9.-]*[a-z0-9]$/;\n return hostPattern.test(hostname);\n}\n"],
5
+ "mappings": ";yCAAO,IAAIA,GACV,SAAUA,EAAa,CACpBA,EAAY,IAAS,MACrBA,EAAY,MAAW,QACvBA,EAAY,OAAY,SACxBA,EAAY,KAAU,OACtBA,EAAY,OAAY,QAC5B,GAAGA,IAAgBA,EAAc,CAAC,EAAE,ECP7B,IAAMC,EAAqB,mBCA3B,IAAIC,GACV,SAAUA,EAAmB,CAC1BA,EAAkB,KAAU,OAC5BA,EAAkB,MAAW,OACjC,GAAGA,IAAsBA,EAAoB,CAAC,EAAE,ECJzC,IAAIC,GACV,SAAUA,EAAgB,CACvBA,EAAe,QAAa,UAC5BA,EAAe,YAAiB,cAChCA,EAAe,SAAc,UACjC,GAAGA,IAAmBA,EAAiB,CAAC,EAAE,ECJnC,IAAMC,EAAmBC,EAACC,GAAYA,EAAQC,CAAkB,IAAMD,EAAQC,CAAkB,EAAI,CAAC,GAA5E,oBCDzB,SAASC,EAAOC,EAAGC,EAAG,CACzB,OAAO,OAAO,UAAU,eAAe,KAAKD,EAAGC,CAAC,CACpD,CAFgBC,EAAAH,EAAA,UCAT,IAAMI,EAAN,MAAMC,CAAY,CAAzB,MAAyB,CAAAC,EAAA,oBACrB,OACA,SACA,SACA,KACA,KACA,MACA,QACA,SACA,SACA,SACA,KACA,YAAYC,EAAS,CACjB,KAAK,OAASA,EAAQ,QAAU,MAChC,KAAK,SAAWA,EAAQ,UAAY,YACpC,KAAK,KAAOA,EAAQ,KACpB,KAAK,MAAQA,EAAQ,OAAS,CAAC,EAC/B,KAAK,QAAUA,EAAQ,SAAW,CAAC,EACnC,KAAK,KAAOA,EAAQ,KACpB,KAAK,SAAWA,EAAQ,SAClBA,EAAQ,SAAS,MAAM,EAAE,IAA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QAASG,CAAI,IAElCF,EAAW,QAAQE,EAAK,YAAY,CAAC,EAAIH,EAAS,QAAQG,CAAI,EAAE,KAAK,IAAI,EAEjF,CACA,OAAOF,CACX,CACA,OAAOD,CACX,CACA,OAAOE,EAASF,CAAQ,CAC5B,EAjB4B,gBCFrB,IAAMK,EAAN,KAAmB,CAA1B,MAA0B,CAAAC,EAAA,qBACtB,WACA,OACA,QACA,KACA,YAAYC,EAAS,CACjB,KAAK,WAAaA,EAAQ,WAC1B,KAAK,OAASA,EAAQ,OACtB,KAAK,QAAUA,EAAQ,SAAW,CAAC,EACnC,KAAK,KAAOA,EAAQ,IACxB,CACA,OAAO,WAAWC,EAAU,CACxB,GAAI,CAACA,EACD,MAAO,GACX,IAAMC,EAAOD,EACb,OAAO,OAAOC,EAAK,YAAe,UAAY,OAAOA,EAAK,SAAY,QAC1E,CACJ,ECjBO,SAASC,EAAgBC,EAAU,CAEtC,MADoB,gCACD,KAAKA,CAAQ,CACpC,CAHgBC,EAAAF,EAAA",
6
+ "names": ["AlgorithmId", "SMITHY_CONTEXT_KEY", "EndpointURLScheme", "IniSectionType", "getSmithyContext", "__name", "context", "SMITHY_CONTEXT_KEY", "hasOwn", "o", "k", "__name", "HttpRequest", "_HttpRequest", "__name", "options", "request", "cloned", "cloneQuery", "req", "query", "carry", "paramName", "param", "VALID_HOST_LABEL_REGEX", "isValidHostLabel", "__name", "value", "allowSubDomains", "labels", "label", "normalizeProvider", "__name", "input", "promisified", "parseQueryString", "querystring", "query", "pair", "key", "value", "__name", "parseUrl", "__name", "url", "hostname", "pathname", "port", "protocol", "search", "query", "parseQueryString", "toEndpointV1", "__name", "endpoint", "v1Endpoint", "parseUrl", "name", "hasOwn", "HttpResponse", "__name", "options", "response", "resp", "isValidHostname", "hostname", "__name"]
7
+ }
@@ -0,0 +1,2 @@
1
+ /* CommonJS polyfills */import { fileURLToPath } from 'node:url';import { createRequire } from 'node:module';const __filename = fileURLToPath(import.meta.url);const __dirname = fileURLToPath(new URL('.', import.meta.url));const require = createRequire(import.meta.url);/* end of CommonJS polyfills */
2
+ import{a as At}from"./chunk-BH7ZEBAB.mjs";import{a as U,b as K,c as ft,d as St,e as vt,f as Et,g as ie,h as yt,o as xt}from"./chunk-2C6L2MOS.mjs";import{b as Ge}from"./chunk-LB33VBGK.mjs";import{a as Pt}from"./chunk-YY2HYMK3.mjs";import{B as Je,C as Xe,D as Ze,E as et,F as tt,L as ot,O as rt,R as nt,S as st,T as it,W as at,X as L,a as Se,aa as ct,c as Ee,d as ye,f as Pe,g as Ae,h as xe,ha as pt,i as Ce,ja as ut,k as we,l as Ie,n as Re,na as lt,p as F,q as Fe,r as Le,s as Ue,sa as dt,u as Ke,va as mt,w as Me,xa as gt,y as je,ya as ht,z as ze}from"./chunk-C3D3OF2Y.mjs";import{i as Be,j as Ye,k as Qe}from"./chunk-YMGL4RSC.mjs";import{n as E,o as Oe,p as We,s as Ne,t as He,u as $e,v as Ve}from"./chunk-KRS5YV2Z.mjs";import{B as qe,b as ve,e as se,g as _e,h as Te,i as ke,j as De,z as be}from"./chunk-3UGRDNDZ.mjs";import{e as re,k as ne,l as fe}from"./chunk-OC3UN3OS.mjs";import{a as o}from"./chunk-CFZ5JWD3.mjs";var H={CrtSignerV4:null};var ae="X-Amz-S3session-Token",Ct=ae.toLowerCase(),M=class extends Et{static{o(this,"SignatureV4SignWithCredentials")}async signWithCredentials(t,r,s){let n=wt(r);t.headers[Ct]=r.sessionToken;let a=this;return It(a,n),a.signRequest(t,s??{})}async presignWithCredentials(t,r,s){let n=wt(r);return delete t.headers[Ct],t.headers[ae]=r.sessionToken,t.query=t.query??{},t.query[ae]=r.sessionToken,It(this,n),this.presign(t,s)}};function wt(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}o(wt,"getCredentialsWithoutSessionToken");function It(e,t){let r=e.credentialProvider;e.credentialProvider=()=>(e.credentialProvider=r,Promise.resolve(t))}o(It,"setSingleOverride");var x=class{static{o(this,"SignatureV4MultiRegion")}sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){return typeof H.CrtSignerV4=="function"?"crt":typeof ie.SignatureV4a=="function"?"js":"none"}constructor(t){this.sigv4Signer=new M(t),this.signerOptions=t}async sign(t,r={}){return r.signingRegion==="*"?this.getSigv4aSigner().sign(t,r):this.sigv4Signer.sign(t,r)}async signWithCredentials(t,r,s={}){if(s.signingRegion==="*"){let n=this.getSigv4aSigner(),a=H.CrtSignerV4;if(a&&n instanceof a)return n.signWithCredentials(t,r,s);throw new Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(t,r,s)}async presign(t,r={}){if(r.signingRegion==="*"){let s=this.getSigv4aSigner(),n=H.CrtSignerV4;if(n&&s instanceof n)return s.presign(t,r);throw new Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(t,r)}async presignWithCredentials(t,r,s={}){if(s.signingRegion==="*")throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(t,r,s)}getSigv4aSigner(){if(!this.sigv4aSigner){let t=H.CrtSignerV4,r=ie.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!t&&!r)throw new Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(t&&typeof t=="function")this.sigv4aSigner=new t({...this.signerOptions,signingAlgorithm:1});else if(r&&typeof r=="function")this.sigv4aSigner=new r({...this.signerOptions});else throw new Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!r||typeof r!="function")throw new Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new r({...this.signerOptions})}}return this.sigv4aSigner}};var O="ref",C=-1,$=!0,Rt="isSet",Nt="PartitionResult",V="booleanEquals",u="stringEquals",ce="getAttr",_t="us-east-1",Tt="sigv4",kt="sts",Dt="https://sts.{Region}.{PartitionResult#dnsSuffix}",bt={[O]:"Endpoint"},l={[O]:"Region"},pe={[O]:Nt},b={},Ot=[l],Wt={conditions:[[Rt,[bt]],[Rt,Ot],["aws.partition",Ot,Nt],[V,[{[O]:"UseFIPS"},$]],[V,[{[O]:"UseDualStack"},$]],[u,[l,"aws-global"]],[V,[{[O]:"UseGlobalEndpoint"},$]],[u,[l,"eu-central-1"]],[V,[{fn:ce,argv:[pe,"supportsDualStack"]},$]],[V,[{fn:ce,argv:[pe,"supportsFIPS"]},$]],[u,[l,"ap-south-1"]],[u,[l,"eu-north-1"]],[u,[l,"eu-west-1"]],[u,[l,"eu-west-2"]],[u,[l,"eu-west-3"]],[u,[l,"sa-east-1"]],[u,[l,_t]],[u,[l,"us-east-2"]],[u,[l,"us-west-2"]],[u,[l,"us-west-1"]],[u,[l,"ca-central-1"]],[u,[l,"ap-southeast-1"]],[u,[l,"ap-northeast-1"]],[u,[l,"ap-southeast-2"]],[u,[{fn:ce,argv:[pe,"name"]},"aws-us-gov"]]],results:[[C],["https://sts.amazonaws.com",{authSchemes:[{name:Tt,signingName:kt,signingRegion:_t}]}],[Dt,{authSchemes:[{name:Tt,signingName:kt,signingRegion:"{Region}"}]}],[C,"Invalid Configuration: FIPS and custom endpoint are not supported"],[C,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[bt,b],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",b],[C,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",b],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",b],[C,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",b],[C,"DualStack is enabled but this partition does not support DualStack"],[Dt,b],[C,"Invalid Configuration: Missing Region"]]},Eo=2,i=1e8,yo=new Int32Array([-1,1,-1,0,30,3,1,4,i+14,2,5,i+14,3,25,6,4,24,7,5,i+1,8,6,9,i+13,7,i+1,10,10,i+1,11,11,i+1,12,12,i+1,13,13,i+1,14,14,i+1,15,15,i+1,16,16,i+1,17,17,i+1,18,18,i+1,19,19,i+1,20,20,i+1,21,21,i+1,22,22,i+1,23,23,i+1,i+2,8,i+11,i+12,4,28,26,9,27,i+10,24,i+8,i+9,8,29,i+7,9,i+6,i+7,3,i+3,31,4,i+4,i+5]),Ht=Le.from(yo,Eo,Wt.conditions,Wt.results);var Po=new Ue({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),j=o((e,t={})=>Po.get(e,()=>Me(Ht,{endpointParams:e,logger:t.logger})),"defaultEndpointResolver");Ke.aws=dt;var Ao=o(e=>async(t,r,s)=>{if(!s)throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let n=await e(t,r,s),a=re(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!a)throw new Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let c=await Fe(s,{getEndpointParameterInstructions:a},t);return Object.assign(n,c)},"createEndpointRuleSetHttpAuthSchemeParametersProvider"),xo=o(async(e,t,r)=>({operation:re(t).operation,region:await ne(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"_defaultSTSHttpAuthSchemeParametersProvider"),$t=Ao(xo);function Vt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:o((t,r)=>({signingProperties:{config:t,context:r}}),"propertiesExtractor")}}o(Vt,"createAwsAuthSigv4HttpAuthOption");function ue(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:e.region},propertiesExtractor:o((t,r)=>({signingProperties:{config:t,context:r}}),"propertiesExtractor")}}o(ue,"createAwsAuthSigv4aHttpAuthOption");function Ft(e){return{schemeId:"smithy.api#noAuth"}}o(Ft,"createSmithyApiNoAuthHttpAuthOption");var Co=o((e,t,r)=>o(n=>{let c=e(n).properties?.authSchemes;if(!c)return t(n);let m=[];for(let S of c){let{name:g,properties:y={},...h}=S,v=g.toLowerCase();g!==v&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${g}' to '${v}'`);let f;if(v==="sigv4a"){f="aws.auth#sigv4a";let te=c.find(oe=>{let he=oe.name.toLowerCase();return he!=="sigv4a"&&he.startsWith("sigv4")});if(x.sigv4aDependency()==="none"&&te)continue}else if(v.startsWith("sigv4"))f="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${v}'`);let D=r[f];if(!D)throw new Error(`Could not find HttpAuthOption create function for '${f}'`);let P=D(n);P.schemeId=f,P.signingProperties={...P.signingProperties||{},...h,...y},m.push(P)}return m},"endpointRuleSetHttpAuthSchemeProvider"),"createEndpointRuleSetHttpAuthSchemeProvider"),wo=o(e=>{let t=[];return e.operation==="AssumeRoleWithWebIdentity"?(t.push(Ft(e)),t.push(ue(e))):(t.push(Vt(e)),t.push(ue(e))),t},"_defaultSTSHttpAuthSchemeProvider"),Lt=Co(j,wo,{"aws.auth#sigv4":Vt,"aws.auth#sigv4a":ue,"smithy.api#noAuth":Ft}),Ut=o(e=>{let t=yt(e),r=St(t);return Object.assign(r,{authSchemePreference:ne(e.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig");var Kt=o(e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,defaultSigningName:"sts"}),"resolveClientEndpointParameters"),Mt={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};var d=class e extends ye{static{o(this,"STSServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.sts#STSServiceException";constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}};var z=class e extends d{static{o(this,"ExpiredTokenException")}static shapeId="com.amazonaws.sts#ExpiredTokenException";name="ExpiredTokenException";$fault="client";constructor(t){super({name:"ExpiredTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},q=class e extends d{static{o(this,"MalformedPolicyDocumentException")}static shapeId="com.amazonaws.sts#MalformedPolicyDocumentException";name="MalformedPolicyDocumentException";$fault="client";constructor(t){super({name:"MalformedPolicyDocumentException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},G=class e extends d{static{o(this,"PackedPolicyTooLargeException")}static shapeId="com.amazonaws.sts#PackedPolicyTooLargeException";name="PackedPolicyTooLargeException";$fault="client";constructor(t){super({name:"PackedPolicyTooLargeException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},B=class e extends d{static{o(this,"RegionDisabledException")}static shapeId="com.amazonaws.sts#RegionDisabledException";name="RegionDisabledException";$fault="client";constructor(t){super({name:"RegionDisabledException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},Y=class e extends d{static{o(this,"IDPRejectedClaimException")}static shapeId="com.amazonaws.sts#IDPRejectedClaimException";name="IDPRejectedClaimException";$fault="client";constructor(t){super({name:"IDPRejectedClaimException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},Q=class e extends d{static{o(this,"InvalidIdentityTokenException")}static shapeId="com.amazonaws.sts#InvalidIdentityTokenException";name="InvalidIdentityTokenException";$fault="client";constructor(t){super({name:"InvalidIdentityTokenException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}},J=class e extends d{static{o(this,"IDPCommunicationErrorException")}static shapeId="com.amazonaws.sts#IDPCommunicationErrorException";name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(t){super({name:"IDPCommunicationErrorException",$fault:"client",...t}),Object.setPrototypeOf(this,e.prototype)}};var Io="Arn",Ro="AccessKeyId",_o="AssumeRole",To="AssumedRoleId",ko="AssumeRoleRequest",Do="AssumeRoleResponse",le="AssumedRoleUser",bo="AssumeRoleWithWebIdentity",Oo="AssumeRoleWithWebIdentityRequest",Wo="AssumeRoleWithWebIdentityResponse",No="Audience",de="Credentials",Ho="ContextAssertion",jt="DurationSeconds",$o="Expiration",Vo="ExternalId",Fo="ExpiredTokenException",Lo="IDPCommunicationErrorException",Uo="IDPRejectedClaimException",Ko="InvalidIdentityTokenException",Mo="Key",jo="MalformedPolicyDocumentException",zt="MinimumSessionTokenSize",qt="Policy",Gt="PolicyArns",zo="ProviderArn",qo="ProvidedContexts",Go="ProvidedContextsListType",Bo="ProvidedContext",Yo="PolicyDescriptorType",Qo="ProviderId",Bt="PackedPolicySize",Jo="PackedPolicyTooLargeException",Xo="Provider",Yt="RoleArn",Zo="RegionDisabledException",Qt="RoleSessionName",er="SecretAccessKey",tr="SubjectFromWebIdentityToken",me="SourceIdentity",or="SerialNumber",rr="SessionToken",Jt="SessionTokenSize",Xt="SessionTokenUtilization",nr="Tags",sr="TokenCode",ir="TransitiveTagKeys",ar="Tag",cr="Value",pr="WebIdentityToken",ur="arn",lr="accessKeySecretType",w="awsQueryError",I="client",dr="clientTokenType",R="error",_="httpError",T="message",mr="policyDescriptorListType",Zt="smithy.ts.sdk.synthetic.com.amazonaws.sts",gr="tagListType",p="com.amazonaws.sts",eo=new se(Zt),hr=[-3,Zt,"STSServiceException",0,[],[]];eo.registerError(hr,d);var A=new se(p),fr=[-3,p,Fo,{[w]:["ExpiredTokenException",400],[R]:I,[_]:400},[T],[0]];A.registerError(fr,z);var Sr=[-3,p,Lo,{[w]:["IDPCommunicationError",400],[R]:I,[_]:400},[T],[0]];A.registerError(Sr,J);var vr=[-3,p,Uo,{[w]:["IDPRejectedClaim",403],[R]:I,[_]:403},[T],[0]];A.registerError(vr,Y);var Er=[-3,p,Ko,{[w]:["InvalidIdentityToken",400],[R]:I,[_]:400},[T],[0]];A.registerError(Er,Q);var yr=[-3,p,jo,{[w]:["MalformedPolicyDocument",400],[R]:I,[_]:400},[T],[0]];A.registerError(yr,q);var Pr=[-3,p,Jo,{[w]:["PackedPolicyTooLarge",400],[R]:I,[_]:400},[T],[0]];A.registerError(Pr,G);var Ar=[-3,p,Zo,{[w]:["RegionDisabledException",403],[R]:I,[_]:403},[T],[0]];A.registerError(Ar,B);var to=[eo,A],xr=[0,p,lr,8,0],Cr=[0,p,dr,8,0],oo=[3,p,le,0,[To,Io],[0,0],2],wr=[3,p,ko,0,[Yt,Qt,Gt,qt,jt,nr,ir,Vo,or,sr,me,qo,zt],[0,0,()=>no,0,1,()=>Or,64,0,0,0,0,()=>br,1],2],Ir=[3,p,Do,0,[de,le,Bt,me,Xt,Jt],[[()=>ro,0],()=>oo,1,0,1,1]],Rr=[3,p,Oo,0,[Yt,Qt,pr,Qo,Gt,qt,jt,zt],[0,0,[()=>Cr,0],0,()=>no,0,1,1],3],_r=[3,p,Wo,0,[de,tr,le,Bt,Xo,No,me,Xt,Jt],[[()=>ro,0],0,()=>oo,1,0,0,0,1,1]],ro=[3,p,de,0,[Ro,er,rr,$o],[0,[()=>xr,0],0,4],4],Tr=[3,p,Yo,0,[ur],[0]],kr=[3,p,Bo,0,[zo,Ho],[0,0]],Dr=[3,p,ar,0,[Mo,cr],[0,0],2],no=[1,p,mr,0,()=>Tr],br=[1,p,Go,0,()=>kr];var Or=[1,p,gr,0,()=>Dr],so=[9,p,_o,0,()=>wr,()=>Ir],io=[9,p,bo,0,()=>Rr,()=>_r];var ao=o(e=>({apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??_e,base64Encoder:e?.base64Encoder??ke,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??j,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Lt,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:o(t=>t.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new U},{schemeId:"aws.auth#sigv4a",identityProvider:o(t=>t.getIdentityProvider("aws.auth#sigv4a"),"identityProvider"),signer:new K},{schemeId:"smithy.api#noAuth",identityProvider:o(t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),"identityProvider"),signer:new L}],logger:e?.logger??new we,protocol:e?.protocol??xt,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:to,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:e?.serviceId??"STS",sha256:e?.sha256??Ge,signerConstructor:e?.signerConstructor??x,urlParser:e?.urlParser??fe,utf8Decoder:e?.utf8Decoder??Te,utf8Encoder:e?.utf8Encoder??De}),"getRuntimeConfig");var co=o(e=>{Ae(process.version);let t=Ve(e),r=o(()=>t().then(Pe),"defaultConfigProvider"),s=ao(e);Re(process.version);let n={profile:e?.profile,logger:s.logger};return{...s,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??E(ft,n),bodyLengthChecker:e?.bodyLengthChecker??be,defaultUserAgentProvider:e?.defaultUserAgentProvider??ut({serviceId:s.serviceId,clientVersion:At.version}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:o(a=>a.getIdentityProvider("aws.auth#sigv4")||(async c=>await e.credentialDefaultProvider(c?.__config||{})()),"identityProvider"),signer:new U},{schemeId:"aws.auth#sigv4a",identityProvider:o(a=>a.getIdentityProvider("aws.auth#sigv4a"),"identityProvider"),signer:new K},{schemeId:"smithy.api#noAuth",identityProvider:o(a=>a.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),"identityProvider"),signer:new L}],maxAttempts:e?.maxAttempts??E(Xe,e),region:e?.region??E(Ne,{...He,...n}),requestHandler:Pt.create(e?.requestHandler??r),retryMode:e?.retryMode??E({...et,default:o(async()=>(await r()).retryMode||Je,"default")},e),sigv4aSigningRegionSet:e?.sigv4aSigningRegionSet??E(vt,n),streamCollector:e?.streamCollector??qe,useDualstackEndpoint:e?.useDualstackEndpoint??E(Oe,n),useFipsEndpoint:e?.useFipsEndpoint??E(We,n),userAgentAppId:e?.userAgentAppId??E(lt,n)}},"getRuntimeConfig");var po=o(e=>{let t=e.httpAuthSchemes,r=e.httpAuthSchemeProvider,s=e.credentials;return{setHttpAuthScheme(n){let a=t.findIndex(c=>c.schemeId===n.schemeId);a===-1?t.push(n):t.splice(a,1,n)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(n){r=n},httpAuthSchemeProvider(){return r},setCredentials(n){s=n},credentials(){return s}}},"getHttpAuthExtensionConfiguration"),uo=o(e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),"resolveHttpAuthRuntimeConfig");var lo=o((e,t)=>{let r=Object.assign(gt(e),xe(e),Be(e),po(e));return t.forEach(s=>s.configure(r)),Object.assign(e,ht(r),Ce(r),Ye(r),uo(r))},"resolveRuntimeExtensions");var k=class extends Se{static{o(this,"STSClient")}config;constructor(...[t]){let r=co(t||{});super(r),this.initConfig=r;let s=Kt(r),n=ct(s),a=Ze(n),c=$e(a),m=c,S=je(m),g=Ut(S),y=lo(g,t?.extensions||[]);this.config=y,this.middlewareStack.use(ve(this.config)),this.middlewareStack.use(pt(this.config)),this.middlewareStack.use(tt(this.config)),this.middlewareStack.use(Qe(this.config)),this.middlewareStack.use(ot(this.config)),this.middlewareStack.use(rt(this.config)),this.middlewareStack.use(nt(this.config)),this.middlewareStack.use(st(this.config,{httpAuthSchemeParametersProvider:$t,identityProviderConfigProvider:o(async h=>new at({"aws.auth#sigv4":h.credentials,"aws.auth#sigv4a":h.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(it(this.config))}destroy(){super.destroy()}};var X=Ie(Mt,"AWSSecurityTokenServiceV20110615","STSClient",ze),Z={},ee=o((e,t,r,s)=>[],"_mw0");var W=class extends X(Z,ee,"AssumeRole",so){static{o(this,"AssumeRoleCommand")}};var N=class extends X(Z,ee,"AssumeRoleWithWebIdentity",io){static{o(this,"AssumeRoleWithWebIdentityCommand")}};var Wr={AssumeRoleCommand:W,AssumeRoleWithWebIdentityCommand:N},ge=class extends k{static{o(this,"STS")}};Ee(Wr,ge);var mo=o(e=>{if(typeof e?.Arn=="string"){let t=e.Arn.split(":");if(t.length>4&&t[4]!=="")return t[4]}},"getAccountIdFromAssumedRoleUser"),go=o(async(e,t,r,s={})=>{let n=typeof e=="function"?await e():e,a=typeof t=="function"?await t():t,c="",m=n??a??(c=await mt(s)());return r?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${n} (credential provider clientConfig)`,`${a} (contextual client)`,`${c} (STS default: AWS_REGION, profile region, or us-east-1)`),m},"resolveRegion"),ho=o((e,t)=>{let r,s;return async(n,a)=>{if(s=n,!r){let{logger:y=e?.parentClientConfig?.logger,profile:h=e?.parentClientConfig?.profile,region:v,requestHandler:f=e?.parentClientConfig?.requestHandler,credentialProviderLogger:D,userAgentAppId:P=e?.parentClientConfig?.userAgentAppId}=e,te=await go(v,e?.parentClientConfig?.region,D,{logger:y,profile:h}),oe=!So(f);r=new t({...e,userAgentAppId:P,profile:h,credentialDefaultProvider:o(()=>async()=>s,"credentialDefaultProvider"),region:te,requestHandler:oe?f:void 0,logger:y})}let{Credentials:c,AssumedRoleUser:m}=await r.send(new W(a));if(!c||!c.AccessKeyId||!c.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${a.RoleArn}`);let S=mo(m),g={accessKeyId:c.AccessKeyId,secretAccessKey:c.SecretAccessKey,sessionToken:c.SessionToken,expiration:c.Expiration,...c.CredentialScope&&{credentialScope:c.CredentialScope},...S&&{accountId:S}};return F(g,"CREDENTIALS_STS_ASSUME_ROLE","i"),g}},"getDefaultRoleAssumer"),fo=o((e,t)=>{let r;return async s=>{if(!r){let{logger:S=e?.parentClientConfig?.logger,profile:g=e?.parentClientConfig?.profile,region:y,requestHandler:h=e?.parentClientConfig?.requestHandler,credentialProviderLogger:v,userAgentAppId:f=e?.parentClientConfig?.userAgentAppId}=e,D=await go(y,e?.parentClientConfig?.region,v,{logger:S,profile:g}),P=!So(h);r=new t({...e,userAgentAppId:f,profile:g,region:D,requestHandler:P?h:void 0,logger:S})}let{Credentials:n,AssumedRoleUser:a}=await r.send(new N(s));if(!n||!n.AccessKeyId||!n.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${s.RoleArn}`);let c=mo(a),m={accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,sessionToken:n.SessionToken,expiration:n.Expiration,...n.CredentialScope&&{credentialScope:n.CredentialScope},...c&&{accountId:c}};return c&&F(m,"RESOLVED_ACCOUNT_ID","T"),F(m,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),m}},"getDefaultRoleAssumerWithWebIdentity"),So=o(e=>e?.metadata?.handlerProtocol==="h2","isH2");var vo=o((e,t)=>t?class extends e{static{o(this,"CustomizableSTSClient")}constructor(s){super(s);for(let n of t)this.middlewareStack.use(n)}}:e,"getCustomizableStsClientCtor"),Nr=o((e={},t)=>ho(e,vo(k,t)),"getDefaultRoleAssumer"),Hr=o((e={},t)=>fo(e,vo(k,t)),"getDefaultRoleAssumerWithWebIdentity"),Ks=o(e=>t=>e({roleAssumer:Nr(t),roleAssumerWithWebIdentity:Hr(t),...t}),"decorateDefaultCredentialProvider");export{d as a,z as b,q as c,G as d,B as e,Y as f,Q as g,J as h,hr as i,fr as j,Sr as k,vr as l,Er as m,yr as n,Pr as o,Ar as p,to as q,oo as r,wr as s,Ir as t,Rr as u,_r as v,ro as w,Tr as x,kr as y,Dr as z,so as A,io as B,k as C,W as D,N as E,ge as F,Nr as G,Hr as H,Ks as I};