@beesolve/analytics-dashboard 0.2.4 → 0.2.5

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 (493) hide show
  1. package/dist/authConsumer/authConsumer.mjs +9 -9
  2. package/dist/authConsumer/authConsumer.mjs.map +4 -4
  3. package/dist/authConsumer/chunk-3S5KJWAE.mjs +2 -0
  4. package/dist/authConsumer/chunk-3S5KJWAE.mjs.map +7 -0
  5. package/dist/authConsumer/{chunk-SHDTR6JV.mjs → chunk-4PYK4FZX.mjs} +1 -1
  6. package/dist/authConsumer/{chunk-SHDTR6JV.mjs.map → chunk-4PYK4FZX.mjs.map} +1 -1
  7. package/dist/authConsumer/{chunk-WWJVMT5K.mjs → chunk-6RAJDVUB.mjs} +1 -1
  8. package/dist/authConsumer/{chunk-WWJVMT5K.mjs.map → chunk-6RAJDVUB.mjs.map} +1 -1
  9. package/dist/authConsumer/{chunk-HGD7WY52.mjs → chunk-BH7ZEBAB.mjs} +1 -1
  10. package/dist/authConsumer/{chunk-HGD7WY52.mjs.map → chunk-BH7ZEBAB.mjs.map} +2 -2
  11. package/dist/authConsumer/chunk-JSOGST6X.mjs +2 -0
  12. package/dist/authConsumer/{chunk-UVVOS55R.mjs.map → chunk-JSOGST6X.mjs.map} +2 -2
  13. package/dist/authConsumer/chunk-NUIBX5W7.mjs +19 -0
  14. package/dist/authConsumer/chunk-NUIBX5W7.mjs.map +7 -0
  15. package/dist/authConsumer/chunk-PWZOA5VW.mjs +10 -0
  16. package/dist/authConsumer/chunk-PWZOA5VW.mjs.map +7 -0
  17. package/dist/authConsumer/{chunk-BTFKTGDG.mjs → chunk-QR32HOJH.mjs} +1 -1
  18. package/dist/authConsumer/{chunk-XU7UBKPR.mjs → chunk-TCNXZIUB.mjs} +1 -1
  19. package/dist/authConsumer/{chunk-XU7UBKPR.mjs.map → chunk-TCNXZIUB.mjs.map} +1 -1
  20. package/dist/authConsumer/chunk-WB5AJPQ2.mjs +16 -0
  21. package/dist/authConsumer/chunk-WB5AJPQ2.mjs.map +7 -0
  22. package/dist/authConsumer/dist-es-6AUF7FZL.mjs +2 -0
  23. package/dist/authConsumer/{dist-es-SJXVMHWV.mjs.map → dist-es-6AUF7FZL.mjs.map} +2 -2
  24. package/dist/authConsumer/{dist-es-ICRQP6OY.mjs → dist-es-BU5HCSDG.mjs} +1 -1
  25. package/dist/authConsumer/{dist-es-ICRQP6OY.mjs.map → dist-es-BU5HCSDG.mjs.map} +2 -2
  26. package/dist/authConsumer/dist-es-CEAB4NMQ.mjs +3 -0
  27. package/dist/authConsumer/dist-es-CEAB4NMQ.mjs.map +7 -0
  28. package/dist/authConsumer/{dist-es-X5OVBSBE.mjs → dist-es-GX4US2QT.mjs} +1 -1
  29. package/dist/authConsumer/dist-es-NA6UM26S.mjs +2 -0
  30. package/dist/authConsumer/{dist-es-A3KZDGFL.mjs.map → dist-es-NA6UM26S.mjs.map} +2 -2
  31. package/dist/authConsumer/dist-es-OTRTP4WM.mjs +3 -0
  32. package/dist/authConsumer/{dist-es-YZCOQZO5.mjs.map → dist-es-OTRTP4WM.mjs.map} +2 -2
  33. package/dist/authConsumer/{dist-es-BARSD4VH.mjs → dist-es-S7KAW5J3.mjs} +1 -1
  34. package/dist/authConsumer/{dist-es-BARSD4VH.mjs.map → dist-es-S7KAW5J3.mjs.map} +1 -1
  35. package/dist/authConsumer/dist-es-WX6RQPFR.mjs +2 -0
  36. package/dist/authConsumer/{dist-es-5RMISOKM.mjs.map → dist-es-WX6RQPFR.mjs.map} +2 -2
  37. package/dist/authConsumer/event-streams-DVQ62UKN.mjs +2 -0
  38. package/dist/authConsumer/loadSso-VHLX35FP.mjs +2 -0
  39. package/dist/authConsumer/loadSso-VHLX35FP.mjs.map +7 -0
  40. package/dist/authConsumer/signin-5KFDBHUN.mjs +2 -0
  41. package/dist/authConsumer/signin-5KFDBHUN.mjs.map +7 -0
  42. package/dist/authConsumer/sso-oidc-RZOVPPPV.mjs +2 -0
  43. package/dist/authConsumer/sso-oidc-RZOVPPPV.mjs.map +7 -0
  44. package/dist/authConsumer/sts-IVUWNF4P.mjs +2 -0
  45. package/dist/authConsumer/sts-IVUWNF4P.mjs.map +7 -0
  46. package/dist/build/client/_app/immutable/chunks/{RsrLknAJ.js → B3ZA6VhK.js} +1 -1
  47. package/dist/build/client/_app/immutable/chunks/B3ZA6VhK.js.br +0 -0
  48. package/dist/build/client/_app/immutable/chunks/B3ZA6VhK.js.gz +0 -0
  49. package/dist/build/client/_app/immutable/chunks/BXOt9aqj.js +1 -0
  50. package/dist/build/client/_app/immutable/chunks/BXOt9aqj.js.br +0 -0
  51. package/dist/build/client/_app/immutable/chunks/BXOt9aqj.js.gz +0 -0
  52. package/dist/build/client/_app/immutable/chunks/BvjHF9MR.js +1 -0
  53. package/dist/build/client/_app/immutable/chunks/BvjHF9MR.js.br +2 -0
  54. package/dist/build/client/_app/immutable/chunks/BvjHF9MR.js.gz +0 -0
  55. package/dist/build/client/_app/immutable/chunks/{CI6ywtCd.js → COtDwN08.js} +2 -2
  56. package/dist/build/client/_app/immutable/chunks/COtDwN08.js.br +0 -0
  57. package/dist/build/client/_app/immutable/chunks/COtDwN08.js.gz +0 -0
  58. package/dist/build/client/_app/immutable/chunks/CRzLMJPS.js +1 -0
  59. package/dist/build/client/_app/immutable/chunks/CRzLMJPS.js.br +0 -0
  60. package/dist/build/client/_app/immutable/chunks/CRzLMJPS.js.gz +0 -0
  61. package/dist/build/client/_app/immutable/chunks/{CSvV6lTB.js → Cv8eBUo8.js} +1 -1
  62. package/dist/build/client/_app/immutable/chunks/Cv8eBUo8.js.br +0 -0
  63. package/dist/build/client/_app/immutable/chunks/Cv8eBUo8.js.gz +0 -0
  64. package/dist/build/client/_app/immutable/chunks/DHrecHaa.js +3 -0
  65. package/dist/build/client/_app/immutable/chunks/DHrecHaa.js.br +0 -0
  66. package/dist/build/client/_app/immutable/chunks/DHrecHaa.js.gz +0 -0
  67. package/dist/build/client/_app/immutable/chunks/DLaiP6eW.js +1 -0
  68. package/dist/build/client/_app/immutable/chunks/DLaiP6eW.js.br +0 -0
  69. package/dist/build/client/_app/immutable/chunks/DLaiP6eW.js.gz +0 -0
  70. package/dist/build/client/_app/immutable/chunks/{DzNyqKSt.js → DQZh743B.js} +1 -1
  71. package/dist/build/client/_app/immutable/chunks/DQZh743B.js.br +0 -0
  72. package/dist/build/client/_app/immutable/chunks/DQZh743B.js.gz +0 -0
  73. package/dist/build/client/_app/immutable/chunks/DTudfEaJ.js +1 -0
  74. package/dist/build/client/_app/immutable/chunks/DTudfEaJ.js.br +1 -0
  75. package/dist/build/client/_app/immutable/chunks/DTudfEaJ.js.gz +0 -0
  76. package/dist/build/client/_app/immutable/entry/app.-M7IMNvV.js +2 -0
  77. package/dist/build/client/_app/immutable/entry/app.-M7IMNvV.js.br +0 -0
  78. package/dist/build/client/_app/immutable/entry/app.-M7IMNvV.js.gz +0 -0
  79. package/dist/build/client/_app/immutable/entry/start.zN21KAqj.js +2 -0
  80. package/dist/build/client/_app/immutable/entry/start.zN21KAqj.js.br +0 -0
  81. package/dist/build/client/_app/immutable/entry/start.zN21KAqj.js.gz +0 -0
  82. package/dist/build/client/_app/immutable/nodes/{0.jy0BlCX0.js → 0.BqIAlUpB.js} +1 -1
  83. package/dist/build/client/_app/immutable/nodes/0.BqIAlUpB.js.br +0 -0
  84. package/dist/build/client/_app/immutable/nodes/0.BqIAlUpB.js.gz +0 -0
  85. package/dist/build/client/_app/immutable/nodes/{1.0LAtJInZ.js → 1.C7yMciR0.js} +1 -1
  86. package/dist/build/client/_app/immutable/nodes/1.C7yMciR0.js.br +0 -0
  87. package/dist/build/client/_app/immutable/nodes/1.C7yMciR0.js.gz +0 -0
  88. package/dist/build/client/_app/immutable/nodes/{10.C7ib9SAf.js → 10.CRepHR_W.js} +1 -1
  89. package/dist/build/client/_app/immutable/nodes/10.CRepHR_W.js.br +0 -0
  90. package/dist/build/client/_app/immutable/nodes/10.CRepHR_W.js.gz +0 -0
  91. package/dist/build/client/_app/immutable/nodes/2.B6Kfw0Qm.js +1 -0
  92. package/dist/build/client/_app/immutable/nodes/2.B6Kfw0Qm.js.br +0 -0
  93. package/dist/build/client/_app/immutable/nodes/2.B6Kfw0Qm.js.gz +0 -0
  94. package/dist/build/client/_app/immutable/nodes/{3.yf_BSypc.js → 3.CLsU2RIN.js} +1 -1
  95. package/dist/build/client/_app/immutable/nodes/3.CLsU2RIN.js.br +0 -0
  96. package/dist/build/client/_app/immutable/nodes/3.CLsU2RIN.js.gz +0 -0
  97. package/dist/build/client/_app/immutable/nodes/4.C2b2aM5d.js +3 -0
  98. package/dist/build/client/_app/immutable/nodes/4.C2b2aM5d.js.br +0 -0
  99. package/dist/build/client/_app/immutable/nodes/4.C2b2aM5d.js.gz +0 -0
  100. package/dist/build/client/_app/immutable/nodes/{5.Bnv17IW5.js → 5.ClA7jwA2.js} +1 -1
  101. package/dist/build/client/_app/immutable/nodes/5.ClA7jwA2.js.br +0 -0
  102. package/dist/build/client/_app/immutable/nodes/5.ClA7jwA2.js.gz +0 -0
  103. package/dist/build/client/_app/immutable/nodes/{6.BzMUTdRA.js → 6.A29y7GUg.js} +1 -1
  104. package/dist/build/client/_app/immutable/nodes/6.A29y7GUg.js.br +5 -0
  105. package/dist/build/client/_app/immutable/nodes/6.A29y7GUg.js.gz +0 -0
  106. package/dist/build/client/_app/immutable/nodes/7.0rweJz62.js +1 -0
  107. package/dist/build/client/_app/immutable/nodes/7.0rweJz62.js.br +0 -0
  108. package/dist/build/client/_app/immutable/nodes/7.0rweJz62.js.gz +0 -0
  109. package/dist/build/client/_app/immutable/nodes/{8.DBrComIy.js → 8.CCyY_UnS.js} +1 -1
  110. package/dist/build/client/_app/immutable/nodes/8.CCyY_UnS.js.br +0 -0
  111. package/dist/build/client/_app/immutable/nodes/8.CCyY_UnS.js.gz +0 -0
  112. package/dist/build/client/_app/immutable/nodes/{9.CozJkzSE.js → 9.C5dZKwA7.js} +1 -1
  113. package/dist/build/client/_app/immutable/nodes/9.C5dZKwA7.js.br +0 -0
  114. package/dist/build/client/_app/immutable/nodes/9.C5dZKwA7.js.gz +0 -0
  115. package/dist/build/client/_app/version.json +1 -1
  116. package/dist/build/client/_app/version.json.br +0 -0
  117. package/dist/build/client/_app/version.json.gz +0 -0
  118. package/dist/build/server/0-ULAUXYFQ.js +3 -0
  119. package/dist/build/server/1-4N7QEADL.js +3 -0
  120. package/dist/build/server/10-NTAJBX6S.js +3 -0
  121. package/dist/build/server/{2-XRUNWLSZ.js → 2-TF7W5YNS.js} +2 -2
  122. package/dist/build/server/3-MP2BLLHA.js +3 -0
  123. package/dist/build/server/4-SBDUJ2OZ.js +3 -0
  124. package/dist/build/server/{4-BR5QT6OO.js.map → 4-SBDUJ2OZ.js.map} +1 -1
  125. package/dist/build/server/5-OANEFQFK.js +3 -0
  126. package/dist/build/server/6-LAAOXUHK.js +3 -0
  127. package/dist/build/server/7-ZQ6GMAP3.js +3 -0
  128. package/dist/build/server/8-5VHNK3C2.js +3 -0
  129. package/dist/build/server/9-AHHUFLK7.js +3 -0
  130. package/dist/build/server/{_layout.svelte-CKXMSCZZ.js → _layout.svelte-74KBVZ7D.js} +1 -1
  131. package/dist/build/server/_layout.svelte-74KBVZ7D.js.map +6 -0
  132. package/dist/build/server/_page.svelte-J6NCTPOX.js +3 -0
  133. package/dist/build/server/_page.svelte-J6NCTPOX.js.map +6 -0
  134. package/dist/build/server/{_page.svelte-WPZPALIR.js → _page.svelte-JYRAD76J.js} +1 -1
  135. package/dist/build/server/{_page.svelte-WPZPALIR.js.map → _page.svelte-JYRAD76J.js.map} +1 -1
  136. package/dist/build/server/_page.svelte-MHI5PDFG.js +3 -0
  137. package/dist/build/server/{_page.svelte-7X2ABGWT.js.map → _page.svelte-MHI5PDFG.js.map} +1 -1
  138. package/dist/build/server/{_page.svelte-YR5ZRVJB.js → _page.svelte-N55XG5XZ.js} +2 -2
  139. package/dist/build/server/_page.svelte-ODWUHBKH.js +3 -0
  140. package/dist/build/server/{_page.svelte-HLCZLXXC.js.map → _page.svelte-ODWUHBKH.js.map} +1 -1
  141. package/dist/build/server/{_page.svelte-G3BO4MSP.js → _page.svelte-OGXCI7AZ.js} +2 -2
  142. package/dist/build/server/{_page.svelte-G3BO4MSP.js.map → _page.svelte-OGXCI7AZ.js.map} +1 -1
  143. package/dist/build/server/_page.svelte-RWJQND4F.js +3 -0
  144. package/dist/build/server/{_page.svelte-W6HUV742.js.map → _page.svelte-RWJQND4F.js.map} +1 -1
  145. package/dist/build/server/_page.svelte-XQN4WGIG.js +3 -0
  146. package/dist/build/server/{_page.svelte-5TZTM4DX.js.map → _page.svelte-XQN4WGIG.js.map} +1 -1
  147. package/dist/build/server/chunk-3BGHO5XO.js +3 -0
  148. package/dist/build/server/chunk-3BGHO5XO.js.map +6 -0
  149. package/dist/build/server/{chunk-7ZHFURWS.js → chunk-3E3P2GJ5.js} +3 -3
  150. package/dist/build/server/{chunk-7ZHFURWS.js.map → chunk-3E3P2GJ5.js.map} +1 -1
  151. package/dist/build/server/chunk-43RL3564.js +3 -0
  152. package/dist/build/server/chunk-43RL3564.js.map +6 -0
  153. package/dist/build/server/{chunk-EV3SFPHU.js → chunk-4B4T2UH4.js} +2 -2
  154. package/dist/build/server/{chunk-EV3SFPHU.js.map → chunk-4B4T2UH4.js.map} +1 -1
  155. package/dist/build/server/{chunk-XYYC33WE.js → chunk-53BPHZUZ.js} +2 -2
  156. package/dist/build/server/{chunk-XYYC33WE.js.map → chunk-53BPHZUZ.js.map} +1 -1
  157. package/dist/build/server/chunk-5CIVNFOJ.js +4 -0
  158. package/dist/build/server/chunk-5CIVNFOJ.js.map +6 -0
  159. package/dist/build/server/{chunk-KFOZ3QDS.js → chunk-6TVTN2TB.js} +2 -2
  160. package/dist/build/server/{chunk-M5VLIKDC.js → chunk-7JGJUCTW.js} +2 -2
  161. package/dist/build/server/{chunk-M5VLIKDC.js.map → chunk-7JGJUCTW.js.map} +1 -1
  162. package/dist/build/server/{chunk-2UKVXESP.js → chunk-ADH4AESU.js} +2 -2
  163. package/dist/build/server/{chunk-2UKVXESP.js.map → chunk-ADH4AESU.js.map} +1 -1
  164. package/dist/build/server/chunk-AHIUOSMB.js +3 -0
  165. package/dist/build/server/{chunk-EN7Z5YF5.js.map → chunk-AHIUOSMB.js.map} +3 -3
  166. package/dist/build/server/chunk-BG6ZI4RE.js +3 -0
  167. package/dist/build/server/chunk-BG6ZI4RE.js.map +6 -0
  168. package/dist/build/server/chunk-C6TRVSKL.js +3 -0
  169. package/dist/build/server/chunk-C6TRVSKL.js.map +6 -0
  170. package/dist/build/server/chunk-DPUQTFWE.js +9 -0
  171. package/dist/build/server/chunk-DPUQTFWE.js.map +6 -0
  172. package/dist/build/server/chunk-DTOBRG36.js +11 -0
  173. package/dist/build/server/chunk-DTOBRG36.js.map +6 -0
  174. package/dist/build/server/{chunk-OWM5LWOG.js → chunk-EOQRMBYM.js} +2 -2
  175. package/dist/build/server/{chunk-OWM5LWOG.js.map → chunk-EOQRMBYM.js.map} +1 -1
  176. package/dist/build/server/{chunk-SJUJQEPJ.js → chunk-EVIGPWHP.js} +2 -2
  177. package/dist/build/server/{chunk-JLDSEZUK.js → chunk-HDDB3KK4.js} +2 -2
  178. package/dist/build/server/{chunk-JLDSEZUK.js.map → chunk-HDDB3KK4.js.map} +1 -1
  179. package/dist/build/server/{chunk-45OCATQP.js → chunk-JCFNPLVP.js} +2 -2
  180. package/dist/build/server/chunk-KEUQSJPJ.js +11 -0
  181. package/dist/build/server/chunk-KEUQSJPJ.js.map +6 -0
  182. package/dist/build/server/{chunk-U7NJH7YG.js → chunk-KFH7SXQF.js} +2 -2
  183. package/dist/build/server/{chunk-U7NJH7YG.js.map → chunk-KFH7SXQF.js.map} +1 -1
  184. package/dist/build/server/{chunk-CSRMCT5X.js → chunk-MBQXHKWR.js} +2 -2
  185. package/dist/build/server/{chunk-JOH2QUXW.js → chunk-MD2LEBUO.js} +2 -2
  186. package/dist/build/server/{chunk-JOH2QUXW.js.map → chunk-MD2LEBUO.js.map} +1 -1
  187. package/dist/build/server/{chunk-GLKH6VBF.js → chunk-MJMQIEJ2.js} +2 -2
  188. package/dist/build/server/{chunk-GLKH6VBF.js.map → chunk-MJMQIEJ2.js.map} +1 -1
  189. package/dist/build/server/{chunk-CTC7EH5D.js → chunk-NFXTMZA7.js} +1 -1
  190. package/dist/build/server/{chunk-CTC7EH5D.js.map → chunk-NFXTMZA7.js.map} +1 -1
  191. package/dist/build/server/{chunk-XHZNAFX4.js → chunk-NJKO6IPW.js} +2 -2
  192. package/dist/build/server/chunk-NJKO6IPW.js.map +6 -0
  193. package/dist/build/server/{chunk-3JTX6M3H.js → chunk-NZ6PNOO5.js} +3 -3
  194. package/dist/build/server/{chunk-PWME7NGZ.js → chunk-OBZVF2XZ.js} +1 -1
  195. package/dist/build/server/{chunk-PWME7NGZ.js.map → chunk-OBZVF2XZ.js.map} +1 -1
  196. package/dist/build/server/{chunk-MFLM3JS7.js → chunk-OFLJNUV4.js} +1 -1
  197. package/dist/build/server/{chunk-MFLM3JS7.js.map → chunk-OFLJNUV4.js.map} +1 -1
  198. package/dist/build/server/chunk-OOIAME7K.js +3 -0
  199. package/dist/build/server/{chunk-JBGJIY2K.js.map → chunk-OOIAME7K.js.map} +2 -2
  200. package/dist/build/server/chunk-OQJSPX7Y.js +23 -0
  201. package/dist/build/server/chunk-OQJSPX7Y.js.map +6 -0
  202. package/dist/build/server/chunk-OS5FKECH.js +7 -0
  203. package/dist/build/server/chunk-OS5FKECH.js.map +6 -0
  204. package/dist/build/server/{chunk-V4WLSBDY.js → chunk-PP45JSQD.js} +2 -2
  205. package/dist/build/server/{chunk-V4WLSBDY.js.map → chunk-PP45JSQD.js.map} +1 -1
  206. package/dist/build/server/{chunk-VKYMR5UJ.js → chunk-QDCEVKAE.js} +1 -1
  207. package/dist/build/server/{chunk-VKYMR5UJ.js.map → chunk-QDCEVKAE.js.map} +1 -1
  208. package/dist/build/server/chunk-QGEWUMO5.js +20 -0
  209. package/dist/build/server/chunk-QGEWUMO5.js.map +6 -0
  210. package/dist/build/server/chunk-QSQEGXG3.js +24 -0
  211. package/dist/build/server/chunk-QSQEGXG3.js.map +6 -0
  212. package/dist/build/server/{chunk-JUDBP2XJ.js → chunk-SQWNF2DJ.js} +1 -1
  213. package/dist/build/server/{chunk-JUDBP2XJ.js.map → chunk-SQWNF2DJ.js.map} +1 -1
  214. package/dist/build/server/{chunk-P343QKP7.js → chunk-TCJYKD7V.js} +2 -2
  215. package/dist/build/server/{chunk-LBNNT2QS.js → chunk-TJZ6HGW5.js} +2 -2
  216. package/dist/build/server/{chunk-LBNNT2QS.js.map → chunk-TJZ6HGW5.js.map} +1 -1
  217. package/dist/build/server/{chunk-ULOSRW2D.js → chunk-UC3X4RFE.js} +2 -2
  218. package/dist/build/server/{chunk-ULOSRW2D.js.map → chunk-UC3X4RFE.js.map} +1 -1
  219. package/dist/build/server/chunk-UDPZL5PC.js +3 -0
  220. package/dist/build/server/chunk-UDPZL5PC.js.map +6 -0
  221. package/dist/build/server/{chunk-Q4AJF75K.js → chunk-UJIDWYJH.js} +2 -2
  222. package/dist/build/server/chunk-XFQVNJEJ.js +7 -0
  223. package/dist/build/server/chunk-XFQVNJEJ.js.map +6 -0
  224. package/dist/build/server/{chunk-EFZAFSVU.js → chunk-XKIT3LV2.js} +1 -1
  225. package/dist/build/server/{chunk-EFZAFSVU.js.map → chunk-XKIT3LV2.js.map} +1 -1
  226. package/dist/build/server/dist-es-3X6N7W7Q.js +4 -0
  227. package/dist/build/server/dist-es-3X6N7W7Q.js.map +6 -0
  228. package/dist/build/server/dist-es-4BUGLU6F.js +4 -0
  229. package/dist/build/server/{dist-es-6AEKBKLO.js.map → dist-es-4BUGLU6F.js.map} +2 -2
  230. package/dist/build/server/dist-es-4GPVOL42.js +3 -0
  231. package/dist/build/server/dist-es-4M35WAYW.js +3 -0
  232. package/dist/build/server/{dist-es-7VEQXIE2.js.map → dist-es-4M35WAYW.js.map} +2 -2
  233. package/dist/{authConsumer/dist-es-SJXVMHWV.mjs → build/server/dist-es-GARJRC2E.js} +2 -1
  234. package/dist/build/server/{dist-es-2BUR2XC3.js.map → dist-es-GARJRC2E.js.map} +2 -2
  235. package/dist/build/server/{dist-es-BATVHFG5.js → dist-es-HDYWVDAJ.js} +2 -2
  236. package/dist/build/server/{dist-es-BATVHFG5.js.map → dist-es-HDYWVDAJ.js.map} +2 -2
  237. package/dist/build/server/{dist-es-SRGFDDYG.js → dist-es-I3FVMWDI.js} +2 -2
  238. package/dist/build/server/{dist-es-SRGFDDYG.js.map → dist-es-I3FVMWDI.js.map} +1 -1
  239. package/dist/build/server/{dist-es-KTHQ5GFH.js → dist-es-Q7RPQXG7.js} +2 -2
  240. package/dist/build/server/dist-es-ZWKLHY7T.js +3 -0
  241. package/dist/build/server/{dist-es-PFWLVSUH.js.map → dist-es-ZWKLHY7T.js.map} +2 -2
  242. package/dist/build/server/{dist-es2-N6B2SB7P.js → dist-es2-22Z5CJRZ.js} +5 -5
  243. package/dist/build/server/{dist-es2-N6B2SB7P.js.map → dist-es2-22Z5CJRZ.js.map} +2 -2
  244. package/dist/build/server/dist-es3-ORZNCZID.js +3 -0
  245. package/dist/build/server/dist-es3-ORZNCZID.js.map +6 -0
  246. package/dist/build/server/dist-es4-AJZGVNX3.js +3 -0
  247. package/dist/build/server/{dist-es4-HWRJJ4KU.js.map → dist-es4-AJZGVNX3.js.map} +3 -3
  248. package/dist/build/server/dist-es5-KVZQJJU3.js +3 -0
  249. package/dist/build/server/{dist-es5-CNJWR77J.js.map → dist-es5-KVZQJJU3.js.map} +2 -2
  250. package/dist/build/server/{dist-es6-3H546ZJB.js → dist-es6-D6XKPBT7.js} +2 -2
  251. package/dist/build/server/{dist-es6-3H546ZJB.js.map → dist-es6-D6XKPBT7.js.map} +1 -1
  252. package/dist/build/server/dist-es7-ARQCNXW6.js +3 -0
  253. package/dist/build/server/{dist-es7-GBNLQKWI.js.map → dist-es7-ARQCNXW6.js.map} +2 -2
  254. package/dist/build/server/dist-es8-RD2V4NV2.js +4 -0
  255. package/dist/build/server/dist-es8-RD2V4NV2.js.map +6 -0
  256. package/dist/build/server/{error.svelte-6ET2IFRD.js → error.svelte-VOI3YSNX.js} +2 -2
  257. package/dist/build/server/{error.svelte-6ET2IFRD.js.map → error.svelte-VOI3YSNX.js.map} +1 -1
  258. package/dist/build/server/event-streams-AAVZQPFV.js +3 -0
  259. package/dist/build/server/event-streams-UWY5KXPD.js +3 -0
  260. package/dist/build/server/{event-streams-4E4LBL7I.js.map → event-streams-UWY5KXPD.js.map} +2 -2
  261. package/dist/build/server/handler.js +1 -1
  262. package/dist/build/server/handler.js.map +2 -2
  263. package/dist/build/server/hooks.server-PME7CMRC.js +3 -0
  264. package/dist/build/server/{instance-KWDMHEDF.js → instance-DRUHX2BL.js} +17 -17
  265. package/dist/build/server/instance-DRUHX2BL.js.map +6 -0
  266. package/dist/build/server/{layout.svelte-2JY65LGT.js → layout.svelte-L4JHDKZR.js} +1 -1
  267. package/dist/build/server/{layout.svelte-2JY65LGT.js.map → layout.svelte-L4JHDKZR.js.map} +2 -2
  268. package/dist/build/server/loadSso-J3WZTBYP.js +3 -0
  269. package/dist/build/server/loadSso-J3WZTBYP.js.map +6 -0
  270. package/dist/build/server/loadSso-X4TW5QF5.js +3 -0
  271. package/dist/build/server/{loadSso-IHGCKVPZ.js.map → loadSso-X4TW5QF5.js.map} +2 -2
  272. package/dist/build/server/remote-14csdey-OW75IYDI.js +3 -0
  273. package/dist/build/server/{remote-14csdey-SB6EANOS.js.map → remote-14csdey-OW75IYDI.js.map} +1 -1
  274. package/dist/build/server/remote-1tatjnv-HNCNG2YP.js +3 -0
  275. package/dist/build/server/{remote-1tatjnv-YZKAKQCT.js.map → remote-1tatjnv-HNCNG2YP.js.map} +1 -1
  276. package/dist/build/server/remote-nc6tv3-3SQWURAE.js +3 -0
  277. package/dist/build/server/remote-qvubti-WVGLY73O.js +3 -0
  278. package/dist/build/server/{remote-qvubti-NITJK3PD.js.map → remote-qvubti-WVGLY73O.js.map} +1 -1
  279. package/dist/build/server/signin-2VEBNXOJ.js +3 -0
  280. package/dist/build/server/{signin-DR2A7DIJ.js.map → signin-2VEBNXOJ.js.map} +2 -2
  281. package/dist/build/server/signin-5DFPRZMC.js +3 -0
  282. package/dist/build/server/{signin-OFY7FSKY.js.map → signin-5DFPRZMC.js.map} +3 -3
  283. package/dist/build/server/sso-oidc-5SJSZS5E.js +3 -0
  284. package/dist/build/server/sso-oidc-5SJSZS5E.js.map +6 -0
  285. package/dist/build/server/sso-oidc-LSDZI4SX.js +3 -0
  286. package/dist/build/server/sso-oidc-LSDZI4SX.js.map +6 -0
  287. package/dist/build/server/stream.js +1 -1
  288. package/dist/build/server/stream.js.map +2 -2
  289. package/dist/build/server/sts-DYCC57XB.js +3 -0
  290. package/dist/build/server/{sts-LINENT6I.js.map → sts-DYCC57XB.js.map} +2 -2
  291. package/dist/build/server/sts-PFRB2WIT.js +3 -0
  292. package/dist/build/server/sts-PFRB2WIT.js.map +6 -0
  293. package/package.json +12 -11
  294. package/dist/authConsumer/chunk-5FKPGIT4.mjs +0 -19
  295. package/dist/authConsumer/chunk-5FKPGIT4.mjs.map +0 -7
  296. package/dist/authConsumer/chunk-C2HKOC4G.mjs +0 -16
  297. package/dist/authConsumer/chunk-C2HKOC4G.mjs.map +0 -7
  298. package/dist/authConsumer/chunk-CJTIV5DQ.mjs +0 -2
  299. package/dist/authConsumer/chunk-CJTIV5DQ.mjs.map +0 -7
  300. package/dist/authConsumer/chunk-JJCR37FH.mjs +0 -10
  301. package/dist/authConsumer/chunk-JJCR37FH.mjs.map +0 -7
  302. package/dist/authConsumer/chunk-NX6AKUU3.mjs +0 -2
  303. package/dist/authConsumer/chunk-NX6AKUU3.mjs.map +0 -7
  304. package/dist/authConsumer/chunk-OQ6H2FAT.mjs +0 -2
  305. package/dist/authConsumer/chunk-OQ6H2FAT.mjs.map +0 -7
  306. package/dist/authConsumer/chunk-UVVOS55R.mjs +0 -2
  307. package/dist/authConsumer/chunk-VVQ6TCBE.mjs +0 -2
  308. package/dist/authConsumer/chunk-VVQ6TCBE.mjs.map +0 -7
  309. package/dist/authConsumer/dist-es-5RMISOKM.mjs +0 -2
  310. package/dist/authConsumer/dist-es-A3KZDGFL.mjs +0 -2
  311. package/dist/authConsumer/dist-es-NSKORCUT.mjs +0 -3
  312. package/dist/authConsumer/dist-es-NSKORCUT.mjs.map +0 -7
  313. package/dist/authConsumer/dist-es-YZCOQZO5.mjs +0 -3
  314. package/dist/authConsumer/event-streams-HKJTV7SP.mjs +0 -2
  315. package/dist/authConsumer/event-streams-WPTL7RJA.mjs +0 -2
  316. package/dist/authConsumer/event-streams-WPTL7RJA.mjs.map +0 -7
  317. package/dist/authConsumer/loadSso-4CGEWHWX.mjs +0 -2
  318. package/dist/authConsumer/loadSso-4CGEWHWX.mjs.map +0 -7
  319. package/dist/authConsumer/signin-FWYC566H.mjs +0 -2
  320. package/dist/authConsumer/signin-FWYC566H.mjs.map +0 -7
  321. package/dist/authConsumer/sso-oidc-7RHBKIHO.mjs +0 -2
  322. package/dist/authConsumer/sso-oidc-7RHBKIHO.mjs.map +0 -7
  323. package/dist/authConsumer/sts-CPERFVPD.mjs +0 -2
  324. package/dist/authConsumer/sts-CPERFVPD.mjs.map +0 -7
  325. package/dist/build/client/_app/immutable/chunks/BaNbYf_w.js +0 -1
  326. package/dist/build/client/_app/immutable/chunks/BaNbYf_w.js.br +0 -0
  327. package/dist/build/client/_app/immutable/chunks/BaNbYf_w.js.gz +0 -0
  328. package/dist/build/client/_app/immutable/chunks/Bbj_adPZ.js +0 -1
  329. package/dist/build/client/_app/immutable/chunks/Bbj_adPZ.js.br +0 -2
  330. package/dist/build/client/_app/immutable/chunks/Bbj_adPZ.js.gz +0 -0
  331. package/dist/build/client/_app/immutable/chunks/BjDtInFk.js +0 -1
  332. package/dist/build/client/_app/immutable/chunks/BjDtInFk.js.br +0 -0
  333. package/dist/build/client/_app/immutable/chunks/BjDtInFk.js.gz +0 -0
  334. package/dist/build/client/_app/immutable/chunks/BsZAT_sO.js +0 -1
  335. package/dist/build/client/_app/immutable/chunks/BsZAT_sO.js.br +0 -0
  336. package/dist/build/client/_app/immutable/chunks/BsZAT_sO.js.gz +0 -0
  337. package/dist/build/client/_app/immutable/chunks/C65wlWj3.js +0 -3
  338. package/dist/build/client/_app/immutable/chunks/C65wlWj3.js.br +0 -0
  339. package/dist/build/client/_app/immutable/chunks/C65wlWj3.js.gz +0 -0
  340. package/dist/build/client/_app/immutable/chunks/CI6ywtCd.js.br +0 -0
  341. package/dist/build/client/_app/immutable/chunks/CI6ywtCd.js.gz +0 -0
  342. package/dist/build/client/_app/immutable/chunks/CSvV6lTB.js.br +0 -0
  343. package/dist/build/client/_app/immutable/chunks/CSvV6lTB.js.gz +0 -0
  344. package/dist/build/client/_app/immutable/chunks/DzNyqKSt.js.br +0 -0
  345. package/dist/build/client/_app/immutable/chunks/DzNyqKSt.js.gz +0 -0
  346. package/dist/build/client/_app/immutable/chunks/RsrLknAJ.js.br +0 -0
  347. package/dist/build/client/_app/immutable/chunks/RsrLknAJ.js.gz +0 -0
  348. package/dist/build/client/_app/immutable/chunks/kEdGpB3n.js +0 -1
  349. package/dist/build/client/_app/immutable/chunks/kEdGpB3n.js.br +0 -0
  350. package/dist/build/client/_app/immutable/chunks/kEdGpB3n.js.gz +0 -0
  351. package/dist/build/client/_app/immutable/entry/app.prk0UIKZ.js +0 -2
  352. package/dist/build/client/_app/immutable/entry/app.prk0UIKZ.js.br +0 -0
  353. package/dist/build/client/_app/immutable/entry/app.prk0UIKZ.js.gz +0 -0
  354. package/dist/build/client/_app/immutable/entry/start.Dxjvp0la.js +0 -2
  355. package/dist/build/client/_app/immutable/entry/start.Dxjvp0la.js.br +0 -0
  356. package/dist/build/client/_app/immutable/entry/start.Dxjvp0la.js.gz +0 -0
  357. package/dist/build/client/_app/immutable/nodes/0.jy0BlCX0.js.br +0 -0
  358. package/dist/build/client/_app/immutable/nodes/0.jy0BlCX0.js.gz +0 -0
  359. package/dist/build/client/_app/immutable/nodes/1.0LAtJInZ.js.br +0 -0
  360. package/dist/build/client/_app/immutable/nodes/1.0LAtJInZ.js.gz +0 -0
  361. package/dist/build/client/_app/immutable/nodes/10.C7ib9SAf.js.br +0 -0
  362. package/dist/build/client/_app/immutable/nodes/10.C7ib9SAf.js.gz +0 -0
  363. package/dist/build/client/_app/immutable/nodes/2.xIoVI8Pt.js +0 -1
  364. package/dist/build/client/_app/immutable/nodes/2.xIoVI8Pt.js.br +0 -0
  365. package/dist/build/client/_app/immutable/nodes/2.xIoVI8Pt.js.gz +0 -0
  366. package/dist/build/client/_app/immutable/nodes/3.yf_BSypc.js.br +0 -0
  367. package/dist/build/client/_app/immutable/nodes/3.yf_BSypc.js.gz +0 -0
  368. package/dist/build/client/_app/immutable/nodes/4.DcPD8uRH.js +0 -3
  369. package/dist/build/client/_app/immutable/nodes/4.DcPD8uRH.js.br +0 -0
  370. package/dist/build/client/_app/immutable/nodes/4.DcPD8uRH.js.gz +0 -0
  371. package/dist/build/client/_app/immutable/nodes/5.Bnv17IW5.js.br +0 -0
  372. package/dist/build/client/_app/immutable/nodes/5.Bnv17IW5.js.gz +0 -0
  373. package/dist/build/client/_app/immutable/nodes/6.BzMUTdRA.js.br +0 -0
  374. package/dist/build/client/_app/immutable/nodes/6.BzMUTdRA.js.gz +0 -0
  375. package/dist/build/client/_app/immutable/nodes/7.axFX3R7h.js +0 -1
  376. package/dist/build/client/_app/immutable/nodes/7.axFX3R7h.js.br +0 -0
  377. package/dist/build/client/_app/immutable/nodes/7.axFX3R7h.js.gz +0 -0
  378. package/dist/build/client/_app/immutable/nodes/8.DBrComIy.js.br +0 -0
  379. package/dist/build/client/_app/immutable/nodes/8.DBrComIy.js.gz +0 -0
  380. package/dist/build/client/_app/immutable/nodes/9.CozJkzSE.js.br +0 -0
  381. package/dist/build/client/_app/immutable/nodes/9.CozJkzSE.js.gz +0 -0
  382. package/dist/build/server/0-ZBLOQKP7.js +0 -3
  383. package/dist/build/server/1-5WYCLPWK.js +0 -3
  384. package/dist/build/server/10-QBJY3LJT.js +0 -3
  385. package/dist/build/server/3-ONCV5SOG.js +0 -3
  386. package/dist/build/server/4-BR5QT6OO.js +0 -3
  387. package/dist/build/server/5-LYFV6YVT.js +0 -3
  388. package/dist/build/server/6-6KBB7U66.js +0 -3
  389. package/dist/build/server/7-ZA6GJPFX.js +0 -3
  390. package/dist/build/server/8-OPEWEPKN.js +0 -3
  391. package/dist/build/server/9-27SN4YQW.js +0 -3
  392. package/dist/build/server/_layout.svelte-CKXMSCZZ.js.map +0 -6
  393. package/dist/build/server/_page.svelte-5TZTM4DX.js +0 -3
  394. package/dist/build/server/_page.svelte-7X2ABGWT.js +0 -3
  395. package/dist/build/server/_page.svelte-COE5H2VV.js +0 -3
  396. package/dist/build/server/_page.svelte-COE5H2VV.js.map +0 -6
  397. package/dist/build/server/_page.svelte-HLCZLXXC.js +0 -3
  398. package/dist/build/server/_page.svelte-W6HUV742.js +0 -3
  399. package/dist/build/server/chunk-4ZFJD7V4.js +0 -9
  400. package/dist/build/server/chunk-4ZFJD7V4.js.map +0 -6
  401. package/dist/build/server/chunk-6CUGABU3.js +0 -3
  402. package/dist/build/server/chunk-6CUGABU3.js.map +0 -6
  403. package/dist/build/server/chunk-6ZFGHU6W.js +0 -3
  404. package/dist/build/server/chunk-6ZFGHU6W.js.map +0 -6
  405. package/dist/build/server/chunk-7H7K7YVM.js +0 -23
  406. package/dist/build/server/chunk-7H7K7YVM.js.map +0 -6
  407. package/dist/build/server/chunk-7LPGCU4C.js +0 -11
  408. package/dist/build/server/chunk-7LPGCU4C.js.map +0 -6
  409. package/dist/build/server/chunk-COXRAWZU.js +0 -7
  410. package/dist/build/server/chunk-COXRAWZU.js.map +0 -6
  411. package/dist/build/server/chunk-DVLTINVM.js +0 -24
  412. package/dist/build/server/chunk-DVLTINVM.js.map +0 -6
  413. package/dist/build/server/chunk-EN7Z5YF5.js +0 -3
  414. package/dist/build/server/chunk-FQR3U6BT.js +0 -3
  415. package/dist/build/server/chunk-FQR3U6BT.js.map +0 -6
  416. package/dist/build/server/chunk-FX527VAY.js +0 -3
  417. package/dist/build/server/chunk-FX527VAY.js.map +0 -6
  418. package/dist/build/server/chunk-ITKWJ7NY.js +0 -3
  419. package/dist/build/server/chunk-ITKWJ7NY.js.map +0 -6
  420. package/dist/build/server/chunk-JBGJIY2K.js +0 -3
  421. package/dist/build/server/chunk-MLC2CEYH.js +0 -7
  422. package/dist/build/server/chunk-MLC2CEYH.js.map +0 -6
  423. package/dist/build/server/chunk-SVLGZRKZ.js +0 -20
  424. package/dist/build/server/chunk-SVLGZRKZ.js.map +0 -6
  425. package/dist/build/server/chunk-WV6QT4WX.js +0 -3
  426. package/dist/build/server/chunk-WV6QT4WX.js.map +0 -6
  427. package/dist/build/server/chunk-XHZNAFX4.js.map +0 -6
  428. package/dist/build/server/chunk-XQGDXRCJ.js +0 -4
  429. package/dist/build/server/chunk-XQGDXRCJ.js.map +0 -6
  430. package/dist/build/server/chunk-ZBF6TCMI.js +0 -11
  431. package/dist/build/server/chunk-ZBF6TCMI.js.map +0 -6
  432. package/dist/build/server/dist-es-2BUR2XC3.js +0 -3
  433. package/dist/build/server/dist-es-4AKCON7Z.js +0 -4
  434. package/dist/build/server/dist-es-4AKCON7Z.js.map +0 -6
  435. package/dist/build/server/dist-es-6AEKBKLO.js +0 -4
  436. package/dist/build/server/dist-es-7VEQXIE2.js +0 -3
  437. package/dist/build/server/dist-es-PFWLVSUH.js +0 -3
  438. package/dist/build/server/dist-es-SRLXROG6.js +0 -3
  439. package/dist/build/server/dist-es3-DKADLFA6.js +0 -3
  440. package/dist/build/server/dist-es3-DKADLFA6.js.map +0 -6
  441. package/dist/build/server/dist-es4-HWRJJ4KU.js +0 -3
  442. package/dist/build/server/dist-es5-CNJWR77J.js +0 -3
  443. package/dist/build/server/dist-es7-GBNLQKWI.js +0 -3
  444. package/dist/build/server/dist-es8-XKF26QFV.js +0 -4
  445. package/dist/build/server/dist-es8-XKF26QFV.js.map +0 -6
  446. package/dist/build/server/event-streams-4E4LBL7I.js +0 -3
  447. package/dist/build/server/event-streams-P6EJEFOZ.js +0 -3
  448. package/dist/build/server/event-streams-P6EJEFOZ.js.map +0 -6
  449. package/dist/build/server/event-streams-Y2DDNV3W.js +0 -3
  450. package/dist/build/server/hooks.server-DUGXMI46.js +0 -3
  451. package/dist/build/server/instance-KWDMHEDF.js.map +0 -6
  452. package/dist/build/server/loadSso-G3UDUWRB.js +0 -3
  453. package/dist/build/server/loadSso-G3UDUWRB.js.map +0 -6
  454. package/dist/build/server/loadSso-IHGCKVPZ.js +0 -3
  455. package/dist/build/server/remote-14csdey-SB6EANOS.js +0 -3
  456. package/dist/build/server/remote-1tatjnv-YZKAKQCT.js +0 -3
  457. package/dist/build/server/remote-nc6tv3-WOTC3EBW.js +0 -3
  458. package/dist/build/server/remote-qvubti-NITJK3PD.js +0 -3
  459. package/dist/build/server/signin-DR2A7DIJ.js +0 -3
  460. package/dist/build/server/signin-OFY7FSKY.js +0 -3
  461. package/dist/build/server/sso-oidc-3ERD4PTK.js +0 -3
  462. package/dist/build/server/sso-oidc-3ERD4PTK.js.map +0 -6
  463. package/dist/build/server/sso-oidc-NILKGEWO.js +0 -3
  464. package/dist/build/server/sso-oidc-NILKGEWO.js.map +0 -6
  465. package/dist/build/server/sts-LINENT6I.js +0 -3
  466. package/dist/build/server/sts-ZU7KLM25.js +0 -3
  467. package/dist/build/server/sts-ZU7KLM25.js.map +0 -6
  468. /package/dist/authConsumer/{chunk-BTFKTGDG.mjs.map → chunk-QR32HOJH.mjs.map} +0 -0
  469. /package/dist/authConsumer/{dist-es-X5OVBSBE.mjs.map → dist-es-GX4US2QT.mjs.map} +0 -0
  470. /package/dist/authConsumer/{event-streams-HKJTV7SP.mjs.map → event-streams-DVQ62UKN.mjs.map} +0 -0
  471. /package/dist/build/server/{0-ZBLOQKP7.js.map → 0-ULAUXYFQ.js.map} +0 -0
  472. /package/dist/build/server/{1-5WYCLPWK.js.map → 1-4N7QEADL.js.map} +0 -0
  473. /package/dist/build/server/{10-QBJY3LJT.js.map → 10-NTAJBX6S.js.map} +0 -0
  474. /package/dist/build/server/{2-XRUNWLSZ.js.map → 2-TF7W5YNS.js.map} +0 -0
  475. /package/dist/build/server/{3-ONCV5SOG.js.map → 3-MP2BLLHA.js.map} +0 -0
  476. /package/dist/build/server/{5-LYFV6YVT.js.map → 5-OANEFQFK.js.map} +0 -0
  477. /package/dist/build/server/{6-6KBB7U66.js.map → 6-LAAOXUHK.js.map} +0 -0
  478. /package/dist/build/server/{7-ZA6GJPFX.js.map → 7-ZQ6GMAP3.js.map} +0 -0
  479. /package/dist/build/server/{8-OPEWEPKN.js.map → 8-5VHNK3C2.js.map} +0 -0
  480. /package/dist/build/server/{9-27SN4YQW.js.map → 9-AHHUFLK7.js.map} +0 -0
  481. /package/dist/build/server/{_page.svelte-YR5ZRVJB.js.map → _page.svelte-N55XG5XZ.js.map} +0 -0
  482. /package/dist/build/server/{chunk-KFOZ3QDS.js.map → chunk-6TVTN2TB.js.map} +0 -0
  483. /package/dist/build/server/{chunk-SJUJQEPJ.js.map → chunk-EVIGPWHP.js.map} +0 -0
  484. /package/dist/build/server/{chunk-45OCATQP.js.map → chunk-JCFNPLVP.js.map} +0 -0
  485. /package/dist/build/server/{chunk-CSRMCT5X.js.map → chunk-MBQXHKWR.js.map} +0 -0
  486. /package/dist/build/server/{chunk-3JTX6M3H.js.map → chunk-NZ6PNOO5.js.map} +0 -0
  487. /package/dist/build/server/{chunk-P343QKP7.js.map → chunk-TCJYKD7V.js.map} +0 -0
  488. /package/dist/build/server/{chunk-Q4AJF75K.js.map → chunk-UJIDWYJH.js.map} +0 -0
  489. /package/dist/build/server/{dist-es-KTHQ5GFH.js.map → dist-es-4GPVOL42.js.map} +0 -0
  490. /package/dist/build/server/{dist-es-SRLXROG6.js.map → dist-es-Q7RPQXG7.js.map} +0 -0
  491. /package/dist/build/server/{event-streams-Y2DDNV3W.js.map → event-streams-AAVZQPFV.js.map} +0 -0
  492. /package/dist/build/server/{hooks.server-DUGXMI46.js.map → hooks.server-PME7CMRC.js.map} +0 -0
  493. /package/dist/build/server/{remote-nc6tv3-WOTC3EBW.js.map → remote-nc6tv3-3SQWURAE.js.map} +0 -0
@@ -0,0 +1,24 @@
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{c as Vs,j as Qs}from"./chunk-MBQXHKWR.js";import{a as Hs,b as js,c as qs,f as Ks,h as ya}from"./chunk-KEUQSJPJ.js";import{a as Be}from"./chunk-4B4T2UH4.js";import{c as Fs,d as Dr,f as yt,h as Oe,i as Bs,j as de,m as re,n as Lr,o as Ur,p as zs}from"./chunk-EPPCNHKZ.js";import{c as ga}from"./chunk-43RL3564.js";import{a as la,b as pa,c as ma,d as ha,e as va,f as fa}from"./chunk-TJZ6HGW5.js";import{a as ua,b as da}from"./chunk-5CIVNFOJ.js";import{a as aa,b as na,c as ia,d as oa,e as ca,f as Hr}from"./chunk-DPUQTFWE.js";import{$ as Xt,A as st,B as Nt,Ba as hr,C as kt,D as $t,E as Ot,F as Dt,G as Lt,H as ea,I as Ut,J as Ft,K as Bt,L as zt,M as Ht,N as jt,O as ta,T as ra,V as qt,W as Kt,X as Vt,Y as Qt,Z as Wt,_ as Gt,a as Pe,aa as Jt,b as Ze,ba as le,c as et,ca as Yt,d as bt,da as Zt,e as ze,ea as er,f as xe,fa as tr,g as wt,ga as sa,h as Ys,ha as rr,i as It,ja as sr,k as Te,ka as ar,l as Ct,la as nr,m as At,ma as ir,n as Rt,na as or,o as _t,oa as cr,p as Pt,pa as ur,q as He,qa as dr,r as Tt,s as tt,t as je,ta as lr,ua as pr,w as Zs,wa as mr,x as Mt,xa as Br,y as Le,ya as zr,z as rt}from"./chunk-OQJSPX7Y.js";import{a as xt,c as U}from"./chunk-BG6ZI4RE.js";import{a as Js}from"./chunk-53BPHZUZ.js";import{a as Xe,b as Ws,e as Gs,f as _e,g as Xs,h as Fr,m as Je,o as Et,q as St}from"./chunk-OS5FKECH.js";import{a as De}from"./chunk-QDCEVKAE.js";import{b as Ye}from"./chunk-AHIUOSMB.js";import{b as Ps,d as Ts,h as Ms,i as Ns,j as ks}from"./chunk-Q2IEUOHW.js";import{i as $s,j as Os,m as Ds,n as Ls,q as Us}from"./chunk-NFXTMZA7.js";import{a as n}from"./chunk-WFJCOJII.js";import{Readable as vt,Writable as Zc}from"node:stream";import{createHash as dt,createHmac as e0,randomBytes as Ea}from"node:crypto";import*as us from"node:zlib";function jr(...t){let e=t.length;return e?({event:r,resolve:s})=>{let{state:a}=$s();return i(0,r,{});function i(o,c,u){let p=t[o];return Ds({name:`sveltekit.handle.sequenced.${p.name?p.name:o}`,attributes:{},fn:n(async d=>{let l=Ls(c,d);return await Os({event:l,state:a},()=>p({event:l,resolve:n((m,v)=>{let g=n(async({html:M,done:H})=>(v?.transformPageChunk&&(M=await v.transformPageChunk({html:M,done:H})??""),u?.transformPageChunk&&(M=await u.transformPageChunk({html:M,done:H})??""),M),"transformPageChunk"),_=u?.filterSerializedResponseHeaders??v?.filterSerializedResponseHeaders,I=u?.preload??v?.preload;return o<e-1?i(o+1,m,{transformPageChunk:g,filterSerializedResponseHeaders:_,preload:I}):s(m,{transformPageChunk:g,filterSerializedResponseHeaders:_,preload:I})},"resolve")}))},"fn")})}}:({event:r,resolve:s})=>s(r)}n(jr,"sequence");var pe={null:"_n",undefined:"_u",positiveInfinity:"_pi",negativeInfinity:"_ni",nan:"_nan",string:"s",number:"n",boolean:"b",date:"d",bigInt:"B",buffer:"p",formData:"f"},Sa=30;function t0(t){return{encodedValue:ds(t),___encoded:"v1"}}n(t0,"encodeToStringifiable");function ds(t,e=0){if(e>Sa)throw Error(`Cannot encode - max object depth (${Sa}) reached.`);if(typeof t=="function")throw Error("Cannot encode function");if(typeof t=="symbol")throw Error("Cannot encode symbol");if(t===null)return pe.null;if(t===void 0)return pe.undefined;if(typeof t=="boolean")return`${pe.boolean}${t}`;if(typeof t=="string")return`${pe.string}${t}`;if(typeof t=="number"){if(Number.isFinite(t))return`${pe.number}${t}`;if(t>0)return pe.positiveInfinity;if(t<0)return pe.negativeInfinity}if(Number.isNaN(t))return pe.nan;if(typeof t=="bigint")return`${pe.bigInt}${t}`;if(t instanceof Date)return`${pe.date}${t.toISOString()}`;if(globalThis.Buffer!=null&&Buffer.isBuffer(t))return`${pe.buffer}${t.toString("base64url")}`;if(Array.isArray(t))return t.map(r=>ds(r,e+1));if(t instanceof FormData)return`${pe.formData}${JSON.stringify(Object.fromEntries(t.entries()))}`;if(r0(t))return Object.entries(t).reduce((r,[s,a])=>(r[s]=ds(a,e+1),r),{});throw Error(`Cannot encode - unsupported value ${typeof t}: "${t}"`)}n(ds,"encodeValue");function r0(t){return typeof t=="object"&&t!==null&&t.constructor===Object}n(r0,"isPlainObject");function s0(t,e=JSON.stringify(t)){throw Error(`An unreachable state reached!
3
+ `+e)}n(s0,"assertUnreachable");function a0(t){return t()}n(a0,"call");var n0=class extends vt{static{n(this,"ChecksumStream$1")}expectedChecksum;checksumSourceLocation;checksum;source;base64Encoder;constructor({expectedChecksum:t,checksum:e,source:r,checksumSourceLocation:s,base64Encoder:a}){if(super(),typeof r.pipe!="function")throw new Error(`@smithy/util-stream: unsupported source type ${r?.constructor?.name??r} in ChecksumStream.`);this.source=r,this.base64Encoder=a??je,this.expectedChecksum=t,this.checksum=e,this.checksumSourceLocation=s,this.source.on("data",this.onSourceData),this.source.on("end",this.onSourceEnd),this.source.on("error",this.onSourceError),this.source.on("close",this.onSourceClose),this.source.pause()}onSourceData=n(t=>{if(!this.destroyed){try{this.checksum.update(t)}catch(e){this.destroy(e);return}this.push(t)||this.source.pause()}},"onSourceData");onSourceEnd=n(async()=>{if(!this.destroyed){try{let t=await this.checksum.digest(),e=this.base64Encoder(t);if(this.expectedChecksum!==e){this.destroy(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${e}" in response header "${this.checksumSourceLocation}".`));return}}catch(t){this.destroy(t);return}this.push(null)}},"onSourceEnd");onSourceError=n(t=>{this.destroy(t)},"onSourceError");onSourceClose=n(()=>{!this.destroyed&&!this.source.readableEnded&&this.destroy(new Error("Connection lost or stream closed before all data was received."))},"onSourceClose");_read(t){this.source.resume()}_destroy(t,e){this.source?.removeListener("data",this.onSourceData),this.source?.removeListener("end",this.onSourceEnd),this.source?.removeListener("error",this.onSourceError),this.source?.removeListener("close",this.onSourceClose),this.source?.destroy(),e(t)}},i0=typeof ReadableStream=="function"?ReadableStream:function(){},o0=class extends i0{static{n(this,"ChecksumStream")}},c0=n(({expectedChecksum:t,checksum:e,source:r,checksumSourceLocation:s,base64Encoder:a})=>{if(!Je(r))throw new Error(`@smithy/util-stream: unsupported source type ${r?.constructor?.name??r} in ChecksumStream.`);let i=a??ua;if(typeof TransformStream!="function")throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");let o=new TransformStream({start(){},async transform(u,p){e.update(u),p.enqueue(u)},async flush(u){let p=await e.digest(),d=i(p);if(t!==d){let l=new Error(`Checksum mismatch: expected "${t}" but received "${d}" in response header "${s}".`);u.error(l)}else u.terminate()}});r.pipeThrough(o);let c=o.readable;return Object.setPrototypeOf(c,o0.prototype),c},"createChecksumStream$1");function u0(t){return typeof ReadableStream=="function"&&Je(t.source)?c0(t):new n0(t)}n(u0,"createChecksumStream");var ls=class{static{n(this,"ByteArrayCollector")}allocByteArray;byteLength=0;byteArrays=[];constructor(t){this.allocByteArray=t}push(t){this.byteArrays.push(t),this.byteLength+=t.byteLength}flush(){if(this.byteArrays.length===1){let r=this.byteArrays[0];return this.reset(),r}let t=this.allocByteArray(this.byteLength),e=0;for(let r=0;r<this.byteArrays.length;++r){let s=this.byteArrays[r];t.set(s,e),e+=s.byteLength}return this.reset(),t}reset(){this.byteArrays=[],this.byteLength=0}};function d0(t,e,r){let s=t.getReader(),a=!1,i=0,o=["",new ls(p=>new Uint8Array(p))],c=-1,u=n(async p=>{let{value:d,done:l}=await s.read(),m=d;if(l){if(c!==-1){let v=Qe(o,c);Ne(v)>0&&p.enqueue(v)}p.close()}else{let v=Pn(m,!1);if(c!==v&&(c>=0&&p.enqueue(Qe(o,c)),c=v),c===-1){p.enqueue(m);return}let g=Ne(m);i+=g;let _=Ne(o[c]);if(g>=e&&_===0)p.enqueue(m);else{let I=_n(o,c,m);!a&&i>e*2&&(a=!0,r?.warn(`@smithy/util-stream - stream chunk size ${g} is below threshold of ${e}, automatically buffering.`)),I>=e?p.enqueue(Qe(o,c)):await u(p)}}},"pull");return new ReadableStream({pull:u})}n(d0,"createBufferedReadableStream");function _n(t,e,r){switch(e){case 0:return t[0]+=r,Ne(t[0]);case 1:case 2:return t[e].push(r),Ne(t[e])}}n(_n,"merge");function Qe(t,e){switch(e){case 0:let r=t[0];return t[0]="",r;case 1:case 2:return t[e].flush()}throw new Error(`@smithy/util-stream - invalid index ${e} given to flush()`)}n(Qe,"flush");function Ne(t){return t?.byteLength??t?.length??0}n(Ne,"sizeOf");function Pn(t,e=!0){return e&&typeof Buffer<"u"&&t instanceof Buffer?2:t instanceof Uint8Array?1:typeof t=="string"?0:-1}n(Pn,"modeOf");function l0(t,e,r){if(Je(t))return d0(t,e,r);let s=new vt({read(){}}),a=!1,i=0,o=["",new ls(u=>new Uint8Array(u)),new ls(u=>Buffer.from(new Uint8Array(u)))],c=-1;return t.on("data",u=>{let p=Pn(u,!0);if(c!==p&&(c>=0&&s.push(Qe(o,c)),c=p),c===-1){s.push(u);return}let d=Ne(u);i+=d;let l=Ne(o[c]);if(d>=e&&l===0)s.push(u);else{let m=_n(o,c,u);!a&&i>e*2&&(a=!0,r?.warn(`@smithy/util-stream - stream chunk size ${d} is below threshold of ${e}, automatically buffering.`)),m>=e&&s.push(Qe(o,c))}}),t.on("end",()=>{if(c!==-1){let u=Qe(o,c);Ne(u)>0&&s.push(u)}s.push(null)}),s}n(l0,"createBufferedReadable");var p0=n((t,e)=>{let{base64Encoder:r,bodyLengthChecker:s,checksumAlgorithmFn:a,checksumLocationName:i,streamHasher:o}=e,c=r!==void 0&&s!==void 0&&a!==void 0&&i!==void 0&&o!==void 0,u=c?o(a,t):void 0;Promise.resolve(u).catch(()=>{});let p=t.getReader();return new ReadableStream({async pull(d){let{value:l,done:m}=await p.read();if(m){if(d.enqueue(`0\r
4
+ `),c){let v=r(await u);d.enqueue(`${i}:${v}\r
5
+ `),d.enqueue(`\r
6
+ `)}d.close()}else d.enqueue(`${(s(l)||0).toString(16)}\r
7
+ ${l}\r
8
+ `)}})},"getAwsChunkedEncodingStream$1");function m0(t,e){let r=t,s=t;if(Je(s))return p0(s,e);let{base64Encoder:a,bodyLengthChecker:i,checksumAlgorithmFn:o,checksumLocationName:c,streamHasher:u}=e,p=a!==void 0&&o!==void 0&&c!==void 0&&u!==void 0,d=p?u(o,r):void 0;Promise.resolve(d).catch(()=>{});let l=new vt({read(){r.resume()}});return r.on("data",m=>{let v=i(m)||0;v!==0&&(l.push(`${v.toString(16)}\r
9
+ `),l.push(m),l.push(`\r
10
+ `)||r.pause())}),r.on("error",m=>{l.destroy(m)}),r.pause(),r.on("end",async()=>{try{if(l.push(`0\r
11
+ `),p){let m=a(await d);l.push(`${c}:${m}\r
12
+ `),l.push(`\r
13
+ `)}l.push(null)}catch(m){l.destroy(m)}}),l}n(m0,"getAwsChunkedEncodingStream");var h0=n(async t=>{let{ENV_CMDS_FULL_URI:e,ENV_CMDS_RELATIVE_URI:r,fromContainerMetadata:s,fromInstanceMetadata:a}=await import("./dist-es8-RD2V4NV2.js");if(process.env[r]||process.env[e]){t.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");let{fromHttp:i}=await import("./dist-es2-22Z5CJRZ.js");return Js(i(t),s(t))}return process.env.AWS_EC2_METADATA_DISABLED&&process.env.AWS_EC2_METADATA_DISABLED!=="false"?async()=>{throw new Ye("EC2 Instance Metadata Service access disabled",{logger:t.logger})}:(t.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),a(t))},"remoteProvider");function v0(t,e){let r=f0(t),s,a,i,o,c=n(async u=>{if(u?.forceRefresh)return o||(o=r(u).then(p=>{i=p}).finally(()=>{o=void 0})),await o,i;if(i?.expiration&&i?.expiration?.getTime()<Date.now()&&(i=void 0),s)await s;else if(!i||e?.(i))if(i)a||(a=r(u).then(p=>{i=p}).catch(()=>{}).finally(()=>{a=void 0}));else return s=r(u).then(p=>{i=p}).finally(()=>{s=void 0}),c(u);return i},"provider");return c}n(v0,"memoizeChain");var f0=n(t=>async e=>{let r;for(let s of t)try{return await s(e)}catch(a){if(r=a,a?.tryNextLink)continue;throw a}throw r},"internalCreateChain"),xa=!1,bs=n((t={})=>v0([async()=>{if(t.profile??process.env.AWS_PROFILE)throw process.env.AWS_ACCESS_KEY_ID&&process.env.AWS_SECRET_ACCESS_KEY&&(xa||((t.logger?.warn&&t.logger?.constructor?.name!=="NoOpLogger"?t.logger.warn.bind(t.logger):console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
14
+ Multiple credential sources detected:
15
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
16
+ This SDK will proceed with the AWS_PROFILE value.
17
+
18
+ However, a future version may change this behavior to prefer the ENV static credentials.
19
+ Please ensure that your environment only sets either the AWS_PROFILE or the
20
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
21
+ `),xa=!0)),new Ye("AWS_PROFILE is set, skipping fromEnv provider.",{logger:t.logger,tryNextLink:!0});return t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),ga(t)()},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");let{ssoStartUrl:r,ssoAccountId:s,ssoRegion:a,ssoRoleName:i,ssoSession:o}=t;if(!r&&!s&&!a&&!i&&!o)throw new Ye("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:t.logger});let{fromSSO:c}=await import("./dist-es6-D6XKPBT7.js");return c(t)(e)},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");let{fromIni:r}=await import("./dist-es3-ORZNCZID.js");return r(t)(e)},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");let{fromProcess:r}=await import("./dist-es5-KVZQJJU3.js");return r(t)(e)},async e=>{t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");let{fromTokenFile:r}=await import("./dist-es7-ARQCNXW6.js");return r(t)(e)},async()=>(t.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await h0(t))()),async()=>{throw new Ye("Could not load credentials from any providers",{tryNextLink:!1,logger:t.logger})}],g0),"defaultProvider"),g0=n(t=>t?.expiration!==void 0&&t.expiration.getTime()-Date.now()<3e5,"credentialsTreatedAsExpired"),y0=class extends aa{static{n(this,"AwsJsonRpcProtocol")}serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:t,errorTypeRegistries:e,serviceTarget:r,awsQueryCompatible:s,jsonCodec:a}){super({defaultNamespace:t,errorTypeRegistries:e}),this.serviceTarget=r,this.codec=a??new va({timestampFormat:{useTrait:!0,default:7},jsonName:!1}),this.serializer=this.codec.createSerializer(),this.deserializer=this.codec.createDeserializer(),this.awsQueryCompatible=!!s,this.mixin=new Br(this.awsQueryCompatible)}async serializeRequest(t,e,r){let s=await super.serializeRequest(t,e,r);return s.path.endsWith("/")||(s.path+="/"),s.headers["content-type"]=`application/x-amz-json-${this.getJsonRpcVersion()}`,s.headers["x-amz-target"]=`${this.serviceTarget}.${t.name}`,this.awsQueryCompatible&&(s.headers["x-amzn-query-mode"]="true"),(Ys(t.input)==="unit"||!s.body)&&(s.body="{}"),s}getPayloadCodec(){return this.codec}async handleError(t,e,r,s,a){let{awsQueryCompatible:i}=this;i&&this.mixin.setQueryCompatError(s,r);let o=ha(r,s,i)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:c,errorMetadata:u}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,r,s,a,i?this.mixin.findQueryCompatibleError:void 0),p=Te.of(c),d=s.message??s.Message??"UnknownError",l=new(this.compositeErrorRegistry.getErrorCtor(c)??Error)({}),m={},v=this.codec.createDeserializer();for(let[g,_]of p.structIterator())s[g]!=null&&(m[g]=v.readObject(_,s[g]));throw i&&this.mixin.queryCompatOutput(s,m),this.mixin.decorateServiceException(Object.assign(l,u,{$fault:p.getMergedTraits().error,message:d},m),s)}},E0=class extends y0{static{n(this,"AwsJson1_0Protocol")}constructor({defaultNamespace:t,errorTypeRegistries:e,serviceTarget:r,awsQueryCompatible:s,jsonCodec:a}){super({defaultNamespace:t,errorTypeRegistries:e,serviceTarget:r,awsQueryCompatible:s,jsonCodec:a})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}},S0=/[&<>"]/g,x0={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function b0(t){return t.replace(S0,e=>x0[e])}n(b0,"escapeAttribute");var w0=/[&"'<>\r\n\u0085\u2028]/g,I0={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;","\r":"&#x0D;","\n":"&#x0A;","…":"&#x85;","\u2028":"&#x2028;"};function C0(t){return t.replace(w0,e=>I0[e])}n(C0,"escapeElement");var ps=class{static{n(this,"XmlText")}value;constructor(t){this.value=t}toString(){return C0(""+this.value)}},ge=class Ir{static{n(this,"XmlNode")}name;children;attributes={};static of(e,r,s){let a=new Ir(e);return r!==void 0&&a.addChildNode(new ps(r)),s!==void 0&&a.withName(s),a}constructor(e,r=[]){this.name=e,this.children=r}withName(e){return this.name=e,this}addAttribute(e,r){return this.attributes[e]=r,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,r){return r!=null&&(this.attributes[e]=r),this}cc(e,r,s=r){if(e[r]!=null){let a=Ir.of(r,e[r]).withName(s);this.c(a)}}l(e,r,s,a){e[r]!=null&&a().map(i=>{i.withName(s),this.c(i)})}lc(e,r,s,a){if(e[r]!=null){let i=a(),o=new Ir(s);i.map(c=>{o.c(c)}),this.c(o)}}toString(){let e=!!this.children.length,r=`<${this.name}`,s=this.attributes;for(let a of Object.keys(s)){let i=s[a];i!=null&&(r+=` ${a}="${b0(""+i)}"`)}return r+=e?`>${this.children.map(a=>a.toString()).join("")}</${this.name}>`:"/>"}},A0=n((t,e)=>{if(e?.Error?.Code!==void 0)return e.Error.Code;if(e?.Code!==void 0)return e.Code;if(t.statusCode==404)return"NotFound"},"loadRestXmlErrorCode"),R0=class extends zr{static{n(this,"XmlShapeSerializer")}settings;stringBuffer;byteBuffer;buffer;constructor(t){super(),this.settings=t}write(t,e){let r=Te.of(t);if(r.isStringSchema()&&typeof e=="string")this.stringBuffer=e;else if(r.isBlobSchema())this.byteBuffer="byteLength"in e?e:(this.serdeContext?.base64Decoder??tt)(e);else{this.buffer=this.writeStruct(r,e,void 0);let s=r.getMergedTraits();s.httpPayload&&!s.xmlName&&this.buffer.withName(r.getName())}}flush(){if(this.byteBuffer!==void 0){let e=this.byteBuffer;return delete this.byteBuffer,e}if(this.stringBuffer!==void 0){let e=this.stringBuffer;return delete this.stringBuffer,e}let t=this.buffer;return this.settings.xmlNamespace&&(t?.attributes?.xmlns||t.addAttribute("xmlns",this.settings.xmlNamespace)),delete this.buffer,t.toString()}writeStruct(t,e,r){let s=t.getMergedTraits(),a=t.isMemberSchema()&&!s.httpPayload?t.getMemberTraits().xmlName??t.getMemberName():s.xmlName??t.getName();if(!a||!t.isStructSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${t.getName(!0)}.`);let i=ge.of(a),[o,c]=this.getXmlnsAttribute(t,r);for(let[p,d]of t.structIterator()){let l=e[p];if(l!=null||d.isIdempotencyToken()){if(d.getMergedTraits().xmlAttribute){i.addAttribute(d.getMergedTraits().xmlName??p,this.writeSimple(d,l));continue}if(d.isListSchema())this.writeList(d,l,i,c);else if(d.isMapSchema())this.writeMap(d,l,i,c);else if(d.isStructSchema())i.addChildNode(this.writeStruct(d,l,c));else{let m=ge.of(d.getMergedTraits().xmlName??d.getMemberName());this.writeSimpleInto(d,l,m,c),i.addChildNode(m)}}}let{$unknown:u}=e;if(u&&t.isUnionSchema()&&Array.isArray(u)&&Object.keys(e).length===1){let[p,d]=u,l=ge.of(p);if(typeof d!="string")if(e instanceof ge||e instanceof ps)i.addChildNode(e);else throw new Error("@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.");this.writeSimpleInto(0,d,l,c),i.addChildNode(l)}return c&&i.addAttribute(o,c),i}writeList(t,e,r,s){if(!t.isMemberSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${t.getName(!0)}`);let a=t.getMergedTraits(),i=t.getValueSchema(),o=i.getMergedTraits(),c=!!o.sparse,u=!!a.xmlFlattened,[p,d]=this.getXmlnsAttribute(t,s),l=n((m,v)=>{if(i.isListSchema())this.writeList(i,Array.isArray(v)?v:[v],m,d);else if(i.isMapSchema())this.writeMap(i,v,m,d);else if(i.isStructSchema()){let g=this.writeStruct(i,v,d);m.addChildNode(g.withName(u?a.xmlName??t.getMemberName():o.xmlName??"member"))}else{let g=ge.of(u?a.xmlName??t.getMemberName():o.xmlName??"member");this.writeSimpleInto(i,v,g,d),m.addChildNode(g)}},"writeItem");if(u)for(let m of e)(c||m!=null)&&l(r,m);else{let m=ge.of(a.xmlName??t.getMemberName());d&&m.addAttribute(p,d);for(let v of e)(c||v!=null)&&l(m,v);r.addChildNode(m)}}writeMap(t,e,r,s,a=!1){if(!t.isMemberSchema())throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${t.getName(!0)}`);let i=t.getMergedTraits(),o=t.getKeySchema(),c=o.getMergedTraits().xmlName??"key",u=t.getValueSchema(),p=u.getMergedTraits(),d=p.xmlName??"value",l=!!p.sparse,m=!!i.xmlFlattened,[v,g]=this.getXmlnsAttribute(t,s),_=n((I,M,H)=>{let X=ge.of(c,M),[Re,ce]=this.getXmlnsAttribute(o,g);ce&&X.addAttribute(Re,ce),I.addChildNode(X);let $e=ge.of(d);u.isListSchema()?this.writeList(u,H,$e,g):u.isMapSchema()?this.writeMap(u,H,$e,g,!0):u.isStructSchema()?$e=this.writeStruct(u,H,g):this.writeSimpleInto(u,H,$e,g),I.addChildNode($e)},"addKeyValue");if(m)for(let I in e){let M=e[I];if(l||M!=null){let H=ge.of(i.xmlName??t.getMemberName());_(H,I,M),r.addChildNode(H)}}else{let I;a||(I=ge.of(i.xmlName??t.getMemberName()),g&&I.addAttribute(v,g),r.addChildNode(I));for(let M in e){let H=e[M];if(l||H!=null){let X=ge.of("entry");_(X,M,H),(a?r:I).addChildNode(X)}}}}writeSimple(t,e){if(e===null)throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");let r=Te.of(t),s=null;if(e&&typeof e=="object")if(r.isBlobSchema())s=(this.serdeContext?.base64Encoder??je)(e);else if(r.isTimestampSchema()&&e instanceof Date)switch(ra(r,this.settings)){case 5:s=e.toISOString().replace(".000Z","Z");break;case 6:s=Fr(e);break;case 7:s=String(e.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",e),s=Fr(e)}else{if(r.isBigDecimalSchema()&&e)return e instanceof Zs?e.string:String(e);throw r.isMapSchema()||r.isListSchema()?new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead."):new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${r.getName(!0)}`)}if((r.isBooleanSchema()||r.isNumericSchema()||r.isBigIntegerSchema()||r.isBigDecimalSchema())&&(s=String(e)),r.isStringSchema()&&(e===void 0&&r.isIdempotencyToken()?s=ta():s=String(e)),s===null)throw new Error(`Unhandled schema-value pair ${r.getName(!0)}=${e}`);return s}writeSimpleInto(t,e,r,s){let a=this.writeSimple(t,e),i=Te.of(t),o=new ps(a),[c,u]=this.getXmlnsAttribute(i,s);u&&r.addAttribute(c,u),r.addChildNode(o)}getXmlnsAttribute(t,e){let[r,s]=t.getMergedTraits().xmlNamespace??[];return s&&s!==e?[r?`xmlns:${r}`:"xmlns",s]:[void 0,void 0]}},_0=class extends zr{static{n(this,"XmlCodec")}settings;constructor(t){super(),this.settings=t}createSerializer(){let t=new R0(this.settings);return t.setSerdeContext(this.serdeContext),t}createDeserializer(){let t=new ca(this.settings);return t.setSerdeContext(this.serdeContext),t}},P0=class extends la{static{n(this,"AwsRestXmlProtocol")}codec;serializer;deserializer;mixin=new Br;constructor(t){super(t);let e={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:t.xmlNamespace,serviceNamespace:t.defaultNamespace};this.codec=new _0(e),this.serializer=new ma(this.codec.createSerializer(),e),this.deserializer=new pa(this.codec.createDeserializer(),e)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(t,e,r){let s=await super.serializeRequest(t,e,r),a=Te.of(t.input);if(!s.headers["content-type"]){let i=this.mixin.resolveRestContentType(this.getDefaultContentType(),a);i&&(s.headers["content-type"]=i)}return typeof s.body=="string"&&s.headers["content-type"]===this.getDefaultContentType()&&!s.body.startsWith("<?xml ")&&!this.hasUnstructuredPayloadBinding(a)&&(s.body='<?xml version="1.0" encoding="UTF-8"?>'+s.body),s}async deserializeResponse(t,e,r){return super.deserializeResponse(t,e,r)}async handleError(t,e,r,s,a){let i=A0(r,s)??"Unknown";if(this.mixin.compose(this.compositeErrorRegistry,i,this.options.defaultNamespace),s.Error&&typeof s.Error=="object")for(let v of Object.keys(s.Error))s[v]=s.Error[v],v.toLowerCase()==="message"&&(s.message=s.Error[v]);s.RequestId&&!a.requestId&&(a.requestId=s.RequestId);let{errorSchema:o,errorMetadata:c}=await this.mixin.getErrorSchemaOrThrowBaseException(i,this.options.defaultNamespace,r,s,a),u=Te.of(o),p=s.Error?.message??s.Error?.Message??s.message??s.Message??"UnknownError",d=new(this.compositeErrorRegistry.getErrorCtor(o)??Error)({});await this.deserializeHttpMessage(o,e,r,s);let l={},m=this.codec.createDeserializer();for(let[v,g]of u.structIterator()){let _=g.getMergedTraits().xmlName??v,I=s.Error?.[_]??s[_];l[v]=m.readSchema(g,I)}throw this.mixin.decorateServiceException(Object.assign(d,c,{$fault:u.getMergedTraits().error,message:p},l),s)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(t){for(let[,e]of t.structIterator())if(e.getMergedTraits().httpPayload)return!(e.isStructSchema()||e.isMapSchema()||e.isListSchema());return!1}},T0=class extends Zc{static{n(this,"HashCalculator")}hash;constructor(t,e){super(e),this.hash=t}_write(t,e,r){try{this.hash.update(Le(t))}catch(s){return r(s)}r()}},M0=n((t,e)=>{if(e.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let r=new t,s=new T0(r);return e.pipe(s),new Promise((a,i)=>{e.on("error",o=>{s.end(),i(o)}),s.on("error",i),s.on("finish",()=>{r.digest().then(a).catch(i)})})},"readableStreamHasher"),N0=class{static{n(this,"Md5Js")}digestLength=16;state=Uint32Array.from(ba);writeBuffer=new DataView(new ArrayBuffer(64));bufferLength=0;bytesHashed=0;update(t){let e=Le(t),r=0,s=e.byteLength;for(this.bytesHashed+=s;s>0;)this.writeBuffer.setUint8(this.bufferLength++,e[r++]),--s,this.bufferLength===64&&(qr(this.state,this.writeBuffer),this.bufferLength=0)}async digest(){let t=Uint32Array.from(this.state),e=new DataView(this.writeBuffer.buffer.slice(0)),r=this.bufferLength,s=this.bytesHashed*8;if(e.setUint8(r++,128),this.bufferLength%64>=56){for(let o=r;o<64;++o)e.setUint8(o,0);qr(t,e),r=0}for(let o=r;o<56;++o)e.setUint8(o,0);e.setUint32(56,s>>>0,!0),e.setUint32(60,Math.floor(s/2**32),!0),qr(t,e);let a=new Uint8Array(16),i=new DataView(a.buffer);for(let o=0;o<4;++o)i.setUint32(o*4,t[o],!0);return a}reset(){this.state.set(ba),this.writeBuffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0}},ba=[1732584193,4023233417,2562383102,271733878],Me=4294967295,k0=Uint8Array.of(7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21),$0=Array.from({length:64},(t,e)=>Math.abs(Math.sin(e+1))*2**32>>>0);function qr(t,e){let r=t[0],s=t[1],a=t[2],i=t[3];for(let o=0;o<64;++o){let c,u;o<16?(c=s&a|~s&i,u=o):o<32?(c=i&s|a&~i,u=(5*o+1)%16):o<48?(c=s^a^i,u=(3*o+5)%16):(c=a^(s|~i),u=7*o%16);let p=e.getUint32(u*4,!0),d=i;i=a,a=s;let l=k0[(o>>4)*4+(o&3)],m=(r+c&Me)+(p+$0[o]&Me)&Me;s=s+((m<<l|m>>>32-l)>>>0)&Me,r=d}t[0]=t[0]+r&Me,t[1]=t[1]+s&Me,t[2]=t[2]+a&Me,t[3]=t[3]+i&Me}n(qr,"compress");var Tn=(()=>{try{return dt("md5"),!0}catch{return!1}})()?O0():N0;function O0(){return class{static{n(this,"Md5Node")}digestLength=16;hash=dt("md5");update(e){this.hash.update(Le(e))}async digest(){let e=this.hash.copy().digest();return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}reset(){this.hash=dt("md5")}}}n(O0,"buildNativeClass$2");var Mn=new Uint32Array(256);for(let t=0;t<256;++t){let e=t;for(let r=0;r<8;++r)e=e&1?3988292384^e>>>1:e>>>1;Mn[t]=e>>>0}var Kr=4294967295,D0=class{static{n(this,"Crc32Js")}digestLength=4;checksum=Kr;update(t){for(let e=0;e<t.length;++e)this.checksum=this.checksum>>>8^Mn[(this.checksum^t[e])&255]}digestSync(){return(this.checksum^Kr)>>>0}async digest(){let t=this.digestSync(),e=new Uint8Array(4);return new DataView(e.buffer).setUint32(0,t,!1),e}reset(){this.checksum=Kr}},wa=typeof us.crc32=="function"?us.crc32:void 0,ws=wa?L0(wa):D0;function L0(t){return class{static{n(this,"Crc32Node")}digestLength=4;value=0;update(r){this.value=t(r,this.value)}digestSync(){return this.value>>>0}async digest(){let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,this.digestSync(),!1),r}reset(){this.value=0}}}n(L0,"buildNativeClass$1");var Nn=Be.ANALYTICS_TABLE_NAME,kn=Be.ANALYTICS_REVERSE_INDEX,$n=Be.ANALYTICS_USERS_TABLE,U0=Be.ANALYTICS_USERS_REVERSE_INDEX;Be.IPINFO_API_KEY;var Vr=class On{static{n(this,"Int64")}bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776e3||e<-9223372036854776e3)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let r=new Uint8Array(8);for(let s=7,a=Math.abs(Math.round(e));s>-1&&a>0;s--,a/=256)r[s]=a;return e<0&&Ia(r),new On(r)}valueOf(){let e=this.bytes.slice(0),r=e[0]&128;return r&&Ia(e),parseInt(_e(e),16)*(r?-1:1)}toString(){return String(this.valueOf())}};function Ia(t){for(let e=0;e<8;e++)t[e]^=255;for(let e=7;e>-1&&(t[e]++,t[e]===0);e--);}n(Ia,"negate");var F0=class{static{n(this,"HeaderMarshaller")}toUtf8;fromUtf8;constructor(t,e){this.toUtf8=t,this.fromUtf8=e}format(t){let e=[];for(let a in t){if(!Xe(t,a))continue;let i=this.fromUtf8(a);e.push(Uint8Array.from([i.byteLength]),i,this.formatHeaderValue(t[a]))}let r=new Uint8Array(e.reduce((a,i)=>a+i.byteLength,0)),s=0;for(let a of e)r.set(a,s),s+=a.byteLength;return r}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?0:1]);case"byte":return Uint8Array.from([2,t.value]);case"short":let e=new DataView(new ArrayBuffer(3));return e.setUint8(0,3),e.setInt16(1,t.value,!1),new Uint8Array(e.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,t.value,!1),new Uint8Array(r.buffer);case"long":let s=new Uint8Array(9);return s[0]=5,s.set(t.value.bytes,1),s;case"binary":let a=new DataView(new ArrayBuffer(3+t.value.byteLength));a.setUint8(0,6),a.setUint16(1,t.value.byteLength,!1);let i=new Uint8Array(a.buffer);return i.set(t.value,3),i;case"string":let o=this.fromUtf8(t.value),c=new DataView(new ArrayBuffer(3+o.byteLength));c.setUint8(0,7),c.setUint16(1,o.byteLength,!1);let u=new Uint8Array(c.buffer);return u.set(o,3),u;case"timestamp":let p=new Uint8Array(9);return p[0]=8,p.set(Vr.fromNumber(t.value.valueOf()).bytes,1),p;case"uuid":if(!W0.test(t.value))throw new Error(`Invalid UUID received: ${t.value}`);let d=new Uint8Array(17);return d[0]=9,d.set(Gs(t.value.replace(/-/g,"")),1),d}}parse(t){let e={},r=0;for(;r<t.byteLength;){let s=t.getUint8(r++),a=this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+r,s));switch(r+=s,t.getUint8(r++)){case 0:e[a]={type:Aa,value:!0};break;case 1:e[a]={type:Aa,value:!1};break;case 2:e[a]={type:B0,value:t.getInt8(r++)};break;case 3:e[a]={type:z0,value:t.getInt16(r,!1)},r+=2;break;case 4:e[a]={type:H0,value:t.getInt32(r,!1)},r+=4;break;case 5:e[a]={type:j0,value:new Vr(new Uint8Array(t.buffer,t.byteOffset+r,8))},r+=8;break;case 6:let i=t.getUint16(r,!1);r+=2,e[a]={type:q0,value:new Uint8Array(t.buffer,t.byteOffset+r,i)},r+=i;break;case 7:let o=t.getUint16(r,!1);r+=2,e[a]={type:K0,value:this.toUtf8(new Uint8Array(t.buffer,t.byteOffset+r,o))},r+=o;break;case 8:e[a]={type:V0,value:new Date(new Vr(new Uint8Array(t.buffer,t.byteOffset+r,8)).valueOf())},r+=8;break;case 9:let c=new Uint8Array(t.buffer,t.byteOffset+r,16);r+=16,e[a]={type:Q0,value:`${_e(c.subarray(0,4))}-${_e(c.subarray(4,6))}-${_e(c.subarray(6,8))}-${_e(c.subarray(8,10))}-${_e(c.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return e}},Ca;(function(t){t[t.boolTrue=0]="boolTrue",t[t.boolFalse=1]="boolFalse",t[t.byte=2]="byte",t[t.short=3]="short",t[t.integer=4]="integer",t[t.long=5]="long",t[t.byteArray=6]="byteArray",t[t.string=7]="string",t[t.timestamp=8]="timestamp",t[t.uuid=9]="uuid"})(Ca||(Ca={}));var Aa="boolean",B0="byte",z0="short",H0="integer",j0="long",q0="binary",K0="string",V0="timestamp",Q0="uuid",W0=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,G0=4,at=8,Qr=4,X0=16;function J0({byteLength:t,byteOffset:e,buffer:r}){if(t<X0)throw new Error("Provided message too short to accommodate event stream message overhead");let s=new DataView(r,e,t),a=s.getUint32(0,!1);if(t!==a)throw new Error("Reported message length does not match received message length");let i=s.getUint32(G0,!1),o=s.getUint32(at,!1),c=s.getUint32(t-Qr,!1),u=new ws;if(u.update(new Uint8Array(r,e,at)),o!==u.digestSync())throw new Error(`The prelude checksum specified in the message (${o}) does not match the calculated CRC32 checksum (${u.digestSync()})`);if(u.update(new Uint8Array(r,e+at,t-12)),c!==u.digestSync())throw new Error(`The message checksum (${u.digestSync()}) did not match the expected value of ${c}`);return{headers:new DataView(r,e+at+Qr,i),body:new Uint8Array(r,e+at+Qr+i,a-i-16)}}n(J0,"splitMessage");var Y0=class{static{n(this,"EventStreamCodec")}headerMarshaller;messageBuffer;isEndOfStream;constructor(t,e){this.headerMarshaller=new F0(t,e),this.messageBuffer=[],this.isEndOfStream=!1}feed(t){this.messageBuffer.push(this.decode(t))}endOfStream(){this.isEndOfStream=!0}getMessage(){let t=this.messageBuffer.pop(),e=this.isEndOfStream;return{getMessage(){return t},isEndOfStream(){return e}}}getAvailableMessages(){let t=this.messageBuffer;this.messageBuffer=[];let e=this.isEndOfStream;return{getMessages(){return t},isEndOfStream(){return e}}}encode({headers:t,body:e}){let r=this.headerMarshaller.format(t),s=r.byteLength+e.byteLength+16,a=new Uint8Array(s),i=new DataView(a.buffer,a.byteOffset,a.byteLength),o=new ws;return i.setUint32(0,s,!1),i.setUint32(4,r.byteLength,!1),o.update(a.subarray(0,8)),i.setUint32(8,o.digestSync(),!1),a.set(r,12),a.set(e,r.byteLength+12),o.update(a.subarray(8,s-4)),i.setUint32(s-4,o.digestSync(),!1),a}decode(t){let{headers:e,body:r}=J0(t);return{headers:this.headerMarshaller.parse(e),body:r}}formatHeaders(t){return this.headerMarshaller.format(t)}},Z0=class{static{n(this,"MessageDecoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.inputStream)yield this.options.decoder.decode(t)}},eu=class{static{n(this,"MessageEncoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.messageStream)yield this.options.encoder.encode(t);this.options.includeEndFrame&&(yield new Uint8Array(0))}},tu=class{static{n(this,"SmithyMessageDecoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.messageStream){let e=await this.options.deserializer(t);e!==void 0&&(yield e)}}},ru=class{static{n(this,"SmithyMessageEncoderStream")}options;constructor(t){this.options=t}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let t of this.options.inputStream)yield this.options.serializer(t)}};function su(t){let e=0,r=0,s=null,a=null,i=n(c=>{if(typeof c!="number")throw new Error("Attempted to allocate an event message where size was not a number: "+c);e=c,r=4,s=new Uint8Array(c),new DataView(s.buffer).setUint32(0,c,!1)},"allocateMessage"),o=n(async function*(){let c=t[Symbol.asyncIterator]();for(;;){let{value:u,done:p}=await c.next();if(p){if(e)if(e===r)yield s;else throw new Error("Truncated event message received.");else return;return}let d=u.length,l=0;for(;l<d;){if(!s){let v=d-l;a||(a=new Uint8Array(4));let g=Math.min(4-r,v);if(a.set(u.slice(l,l+g),r),r+=g,l+=g,r<4)break;i(new DataView(a.buffer).getUint32(0,!1)),a=null}let m=Math.min(e-r,d-l);s.set(u.slice(l,l+m),r),r+=m,l+=m,e&&e===r&&(yield s,s=null,e=0,r=0)}}},"iterator");return{[Symbol.asyncIterator]:o}}n(su,"getChunkedStream");function au(t,e){return async function(r){let{value:s}=r.headers[":message-type"];if(s==="error"){let a=new Error(r.headers[":error-message"].value||"UnknownError");throw a.name=r.headers[":error-code"].value,a}else if(s==="exception"){let a=r.headers[":exception-type"].value,i=await t({[a]:r});if(i.$unknown){let o=new Error(e(r.body));throw o.name=a,o}throw i[a]}else if(s==="event"){let a=await t({[r.headers[":event-type"].value]:r});return a.$unknown?void 0:a}else throw Error(`Unrecognizable event type: ${r.headers[":event-type"].value}`)}}n(au,"getMessageUnmarshaller");var nu=class{static{n(this,"EventStreamMarshaller$1")}eventStreamCodec;utfEncoder;constructor({utf8Encoder:t,utf8Decoder:e}){this.eventStreamCodec=new Y0(t,e),this.utfEncoder=t}deserialize(t,e){return new tu({messageStream:new Z0({inputStream:su(t),decoder:this.eventStreamCodec}),deserializer:au(e,this.utfEncoder)})}serialize(t,e){return new eu({messageStream:new ru({inputStream:t,serializer:e}),encoder:this.eventStreamCodec,includeEndFrame:!0})}},iu=class{static{n(this,"EventStreamMarshaller")}universalMarshaller;constructor({utf8Encoder:t,utf8Decoder:e}){this.universalMarshaller=new nu({utf8Decoder:e,utf8Encoder:t})}deserialize(t,e){let r=typeof t[Symbol.asyncIterator]=="function"?t:ou(t);return this.universalMarshaller.deserialize(r,e)}serialize(t,e){return vt.from(this.universalMarshaller.serialize(t,e))}},Dn=n(t=>new iu(t),"eventStreamSerdeProvider");async function*ou(t){let e=!1,r=!1,s=new Array;for(t.on("error",a=>{if(e||(e=!0),a)throw a}),t.on("data",a=>{s.push(a)}),t.on("end",()=>{e=!0});!r;){let a=await new Promise(i=>setTimeout(()=>i(s.shift()),0));a&&(yield a),r=e&&s.length===0}}n(ou,"readableToIterable");var Ln=n(t=>Object.assign(t,{eventStreamMarshaller:t.eventStreamSerdeProvider(t)}),"resolveEventStreamSerdeConfig"),tx=class{static{n(this,"EventStreamSerde")}marshaller;serializer;deserializer;serdeContext;defaultContentType;compositeErrorRegistry;constructor({marshaller:t,serializer:e,deserializer:r,serdeContext:s,defaultContentType:a,compositeErrorRegistry:i}){this.marshaller=t,this.serializer=e,this.deserializer=r,this.serdeContext=s,this.defaultContentType=a,this.compositeErrorRegistry=i}async serializeEventStream({eventStream:t,requestSchema:e,initialRequest:r,initialMessageType:s}){let a=this.marshaller,i=e.getEventStreamMember(),o=e.getMemberSchema(i),c=this.serializer,u=this.defaultContentType,p=Symbol("initialRequestMarker"),d={async*[Symbol.asyncIterator](){if(r){let l={":event-type":{type:"string",value:s??"initial-request"},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:u}};c.write(e,r);let m=c.flush();yield{[p]:!0,headers:l,body:m}}for await(let l of t)yield l}};return a.serialize(d,l=>{if(l[p])return{headers:l.headers,body:l.body};let m="";for(let M in l)if(Xe(l,M)&&M!=="__type"){m=M;break}let{additionalHeaders:v,body:g,eventType:_,explicitPayloadContentType:I}=this.writeEventBody(m,o,l);return{headers:{":event-type":{type:"string",value:_},":message-type":{type:"string",value:"event"},":content-type":{type:"string",value:I??u},...v},body:g}})}async deserializeEventStream({response:t,responseSchema:e,initialResponseContainer:r,initialMessageType:s}){let a=this.marshaller,i=e.getEventStreamMember(),o=e.getMemberSchema(i).getMemberSchemas(),c=Symbol("initialResponseMarker"),u=a.deserialize(t.body,async l=>{let m="";for(let g in l)if(Xe(l,g)&&g!=="__type"){m=g;break}let v=l[m].body;if(m===(s??"initial-response")){let g=await this.deserializer.read(e,v);return delete g[i],{[c]:!0,...g}}else if(m in o){let g=o[m];if(g.isStructSchema()){let _={},I=!1;for(let[M,H]of g.structIterator()){let{eventHeader:X,eventPayload:Re}=H.getMergedTraits();if(I=I||!!(X||Re),Re)H.isBlobSchema()?_[M]=v:H.isStringSchema()?_[M]=(this.serdeContext?.utf8Encoder??et)(v):H.isStructSchema()&&(_[M]=await this.deserializer.read(H,v));else if(X){let ce=l[m].headers[M]?.value;ce!=null&&(H.isNumericSchema()?ce&&typeof ce=="object"&&"bytes"in ce?_[M]=BigInt(ce.toString()):_[M]=Number(ce):_[M]=ce)}}return{[m]:await this.readEventMember(g,v,I,_)}}return{[m]:await this.deserializer.read(g,v)}}else return{$unknown:l}}),p=u[Symbol.asyncIterator](),d=await p.next();if(d.done)return u;if(d.value?.[c]){if(!e)throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");for(let l in d.value)Xe(d.value,l)&&(r[l]=d.value[l])}return{async*[Symbol.asyncIterator](){for(d?.value?.[c]||(yield d.value);;){let{done:l,value:m}=await p.next();if(l)break;yield m}}}}async readEventMember(t,e,r,s){let a,i=t.getSchema();if(Array.isArray(i)&&i[0]===-3){let c=i[1],u=Pe.for(c);this.compositeErrorRegistry?.copyFrom(u),a=(this.compositeErrorRegistry??u)?.getErrorCtor(i)}let o=r?s:e.byteLength===0?{}:await this.deserializer.read(t,e);if(a){let c=o.message??o.Message??"Unknown",u={},p=t.getMergedTraits().error;return p&&(u.$fault=p),Object.assign(new a({}),u,{message:c},o)}return o}writeEventBody(t,e,r){let s=this.serializer,a=t,i=null,o,c=e.getSchema()[4].includes(t),u={};if(c){let d=e.getMemberSchema(t);if(d.isStructSchema()){for(let[l,m]of d.structIterator()){let{eventHeader:v,eventPayload:g}=m.getMergedTraits();if(g)i=l;else if(v){let _=r[t][l],I="binary";m.isNumericSchema()?(-2)**31<=_&&_<=2**31-1?I="integer":I="long":m.isTimestampSchema()?I="timestamp":m.isStringSchema()?I="string":m.isBooleanSchema()&&(I="boolean"),_!=null&&(u[l]={type:I,value:_},delete r[t][l])}}if(i!==null){let l=d.getMemberSchema(i);l.isBlobSchema()?o="application/octet-stream":l.isStringSchema()&&(o="text/plain"),s.write(l,r[t][i])}else s.write(d,r[t])}else if(d.isUnitSchema())s.write(d,{});else throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.")}else{let[d,l]=r[t];a=d,s.write(15,l)}let p=s.flush()??new Uint8Array;return{body:typeof p=="string"?(this.serdeContext?.utf8Decoder??Ze)(p):p,eventType:a,explicitPayloadContentType:o,additionalHeaders:u}}},cu=n(async(t,e,r)=>({operation:ze(e).operation,region:await xe(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultLambdaHttpAuthSchemeParametersProvider");function uu(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"lambda",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(uu,"createAwsAuthSigv4HttpAuthOption$2");var du=n(t=>{let e=[];switch(t.operation){default:e.push(uu(t))}return e},"defaultLambdaHttpAuthSchemeProvider"),lu=n(t=>{let e=mr(t);return Object.assign(e,{authSchemePreference:xe(t.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig$2"),pu=n(t=>Object.assign(t,{useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,defaultSigningName:"lambda"}),"resolveClientEndpointParameters$2"),mu={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},hu={name:"@aws-sdk/client-lambda",version:"3.1150.0",description:"AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lambda",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-lambda"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/core":"^3.978.3","@aws-sdk/credential-provider-node":"^3.972.86","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.2","@smithy/fetch-http-handler":"^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{"@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}},lt="ref",Ue=-1,vr=!0,Ra="isSet",Un="PartitionResult",fr="booleanEquals",_a="getAttr",Pa={[lt]:"Endpoint"},Ta={[lt]:Un},nt={},Ma=[{[lt]:"Region"}],Na={conditions:[[Ra,[Pa]],[Ra,Ma],["aws.partition",Ma,Un],[fr,[{[lt]:"UseFIPS"},vr]],[fr,[{[lt]:"UseDualStack"},vr]],[fr,[{fn:_a,argv:[Ta,"supportsDualStack"]},vr]],[fr,[{fn:_a,argv:[Ta,"supportsFIPS"]},vr]]],results:[[Ue],[Ue,"Invalid Configuration: FIPS and custom endpoint are not supported"],[Ue,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Pa,nt],["https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",nt],[Ue,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}",nt],[Ue,"FIPS is enabled but this partition does not support FIPS"],["https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}",nt],[Ue,"DualStack is enabled but this partition does not support DualStack"],["https://lambda.{Region}.{PartitionResult#dnsSuffix}",nt],[Ue,"Invalid Configuration: Missing Region"]]},vu=2,fu=new Int32Array([-1,1,-1,0,12,3,1,4,100000011,2,5,100000011,3,8,6,4,7,100000010,5,100000008,100000009,4,10,9,6,100000006,100000007,5,11,100000005,6,100000004,100000005,3,100000001,13,4,100000002,100000003]),gu=Ut.from(fu,vu,Na.conditions,Na.results),yu=new Ft({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Eu=n((t,e={})=>yu.get(t,()=>zt(gu,{endpointParams:t,logger:e.logger})),"defaultEndpointResolver$2");Bt.aws=cr;var y=class Fn extends Ct{static{n(this,"LambdaServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.lambda#LambdaServiceException";constructor(e){super(e),Object.setPrototypeOf(this,Fn.prototype)}},Su=class Bn extends y{static{n(this,"InvalidParameterValueException")}static shapeId="com.amazonaws.lambda#InvalidParameterValueException";name="InvalidParameterValueException";$fault="client";Type;constructor(e){super({name:"InvalidParameterValueException",$fault:"client",...e}),Object.setPrototypeOf(this,Bn.prototype),this.Type=e.Type}},xu=class zn extends y{static{n(this,"PolicyLengthExceededException")}static shapeId="com.amazonaws.lambda#PolicyLengthExceededException";name="PolicyLengthExceededException";$fault="client";Type;constructor(e){super({name:"PolicyLengthExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,zn.prototype),this.Type=e.Type}},bu=class Hn extends y{static{n(this,"PreconditionFailedException")}static shapeId="com.amazonaws.lambda#PreconditionFailedException";name="PreconditionFailedException";$fault="client";Type;constructor(e){super({name:"PreconditionFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,Hn.prototype),this.Type=e.Type}},wu=class jn extends y{static{n(this,"ResourceConflictException")}static shapeId="com.amazonaws.lambda#ResourceConflictException";name="ResourceConflictException";$fault="client";Type;constructor(e){super({name:"ResourceConflictException",$fault:"client",...e}),Object.setPrototypeOf(this,jn.prototype),this.Type=e.Type}},Iu=class qn extends y{static{n(this,"ResourceNotFoundException$1")}static shapeId="com.amazonaws.lambda#ResourceNotFoundException";name="ResourceNotFoundException";$fault="client";Type;Message;constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,qn.prototype),this.Type=e.Type,this.Message=e.Message}},Cu=class Kn extends y{static{n(this,"ServiceException")}static shapeId="com.amazonaws.lambda#ServiceException";name="ServiceException";$fault="server";Type;Message;constructor(e){super({name:"ServiceException",$fault:"server",...e}),Object.setPrototypeOf(this,Kn.prototype),this.Type=e.Type,this.Message=e.Message}},Au=class Vn extends y{static{n(this,"TooManyRequestsException")}static shapeId="com.amazonaws.lambda#TooManyRequestsException";name="TooManyRequestsException";$fault="client";retryAfterSeconds;Type;Reason;constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e}),Object.setPrototypeOf(this,Vn.prototype),this.retryAfterSeconds=e.retryAfterSeconds,this.Type=e.Type,this.Reason=e.Reason}},Ru=class Qn extends y{static{n(this,"PublicPolicyException")}static shapeId="com.amazonaws.lambda#PublicPolicyException";name="PublicPolicyException";$fault="client";Type;Message;constructor(e){super({name:"PublicPolicyException",$fault:"client",...e}),Object.setPrototypeOf(this,Qn.prototype),this.Type=e.Type,this.Message=e.Message}},_u=class Wn extends y{static{n(this,"AliasLimitExceededException")}static shapeId="com.amazonaws.lambda#AliasLimitExceededException";name="AliasLimitExceededException";$fault="client";Type;constructor(e){super({name:"AliasLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Wn.prototype),this.Type=e.Type}},Pu=class Gn extends y{static{n(this,"CapacityProviderLimitExceededException")}static shapeId="com.amazonaws.lambda#CapacityProviderLimitExceededException";name="CapacityProviderLimitExceededException";$fault="client";Type;constructor(e){super({name:"CapacityProviderLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,Gn.prototype),this.Type=e.Type}},Tu=class Xn extends y{static{n(this,"KMSAccessDeniedException")}static shapeId="com.amazonaws.lambda#KMSAccessDeniedException";name="KMSAccessDeniedException";$fault="server";Type;Message;constructor(e){super({name:"KMSAccessDeniedException",$fault:"server",...e}),Object.setPrototypeOf(this,Xn.prototype),this.Type=e.Type,this.Message=e.Message}},Mu=class Jn extends y{static{n(this,"KMSDisabledException")}static shapeId="com.amazonaws.lambda#KMSDisabledException";name="KMSDisabledException";$fault="server";Type;Message;constructor(e){super({name:"KMSDisabledException",$fault:"server",...e}),Object.setPrototypeOf(this,Jn.prototype),this.Type=e.Type,this.Message=e.Message}},Nu=class Yn extends y{static{n(this,"KMSInvalidStateException")}static shapeId="com.amazonaws.lambda#KMSInvalidStateException";name="KMSInvalidStateException";$fault="server";Type;Message;constructor(e){super({name:"KMSInvalidStateException",$fault:"server",...e}),Object.setPrototypeOf(this,Yn.prototype),this.Type=e.Type,this.Message=e.Message}},ku=class Zn extends y{static{n(this,"KMSNotFoundException")}static shapeId="com.amazonaws.lambda#KMSNotFoundException";name="KMSNotFoundException";$fault="server";Type;Message;constructor(e){super({name:"KMSNotFoundException",$fault:"server",...e}),Object.setPrototypeOf(this,Zn.prototype),this.Type=e.Type,this.Message=e.Message}},$u=class ei extends y{static{n(this,"ResourceInUseException")}static shapeId="com.amazonaws.lambda#ResourceInUseException";name="ResourceInUseException";$fault="client";Type;Message;constructor(e){super({name:"ResourceInUseException",$fault:"client",...e}),Object.setPrototypeOf(this,ei.prototype),this.Type=e.Type,this.Message=e.Message}},Ou=class ti extends y{static{n(this,"CodeSigningConfigNotFoundException")}static shapeId="com.amazonaws.lambda#CodeSigningConfigNotFoundException";name="CodeSigningConfigNotFoundException";$fault="client";Type;Message;constructor(e){super({name:"CodeSigningConfigNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,ti.prototype),this.Type=e.Type,this.Message=e.Message}},Du=class ri extends y{static{n(this,"CodeStorageExceededException")}static shapeId="com.amazonaws.lambda#CodeStorageExceededException";name="CodeStorageExceededException";$fault="client";Type;constructor(e){super({name:"CodeStorageExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,ri.prototype),this.Type=e.Type}},Lu=class si extends y{static{n(this,"CodeVerificationFailedException")}static shapeId="com.amazonaws.lambda#CodeVerificationFailedException";name="CodeVerificationFailedException";$fault="client";Type;Message;constructor(e){super({name:"CodeVerificationFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,si.prototype),this.Type=e.Type,this.Message=e.Message}},Uu=class ai extends y{static{n(this,"FunctionVersionsPerCapacityProviderLimitExceededException")}static shapeId="com.amazonaws.lambda#FunctionVersionsPerCapacityProviderLimitExceededException";name="FunctionVersionsPerCapacityProviderLimitExceededException";$fault="client";Type;constructor(e){super({name:"FunctionVersionsPerCapacityProviderLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,ai.prototype),this.Type=e.Type}},Fu=class ni extends y{static{n(this,"InvalidCodeSignatureException")}static shapeId="com.amazonaws.lambda#InvalidCodeSignatureException";name="InvalidCodeSignatureException";$fault="client";Type;Message;constructor(e){super({name:"InvalidCodeSignatureException",$fault:"client",...e}),Object.setPrototypeOf(this,ni.prototype),this.Type=e.Type,this.Message=e.Message}},Bu=class ii extends y{static{n(this,"CodeArtifactUserDeletedException")}static shapeId="com.amazonaws.lambda#CodeArtifactUserDeletedException";name="CodeArtifactUserDeletedException";$fault="client";Type;constructor(e){super({name:"CodeArtifactUserDeletedException",$fault:"client",...e}),Object.setPrototypeOf(this,ii.prototype),this.Type=e.Type}},zu=class oi extends y{static{n(this,"CodeArtifactUserFailedException")}static shapeId="com.amazonaws.lambda#CodeArtifactUserFailedException";name="CodeArtifactUserFailedException";$fault="client";Type;constructor(e){super({name:"CodeArtifactUserFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,oi.prototype),this.Type=e.Type}},Hu=class ci extends y{static{n(this,"CodeArtifactUserPendingException")}static shapeId="com.amazonaws.lambda#CodeArtifactUserPendingException";name="CodeArtifactUserPendingException";$fault="client";Type;constructor(e){super({name:"CodeArtifactUserPendingException",$fault:"client",...e}),Object.setPrototypeOf(this,ci.prototype),this.Type=e.Type}},ju=class ui extends y{static{n(this,"DurableExecutionAlreadyStartedException")}static shapeId="com.amazonaws.lambda#DurableExecutionAlreadyStartedException";name="DurableExecutionAlreadyStartedException";$fault="client";Type;Message;constructor(e){super({name:"DurableExecutionAlreadyStartedException",$fault:"client",...e}),Object.setPrototypeOf(this,ui.prototype),this.Type=e.Type,this.Message=e.Message}},qu=class di extends y{static{n(this,"EC2AccessDeniedException")}static shapeId="com.amazonaws.lambda#EC2AccessDeniedException";name="EC2AccessDeniedException";$fault="server";Type;Message;constructor(e){super({name:"EC2AccessDeniedException",$fault:"server",...e}),Object.setPrototypeOf(this,di.prototype),this.Type=e.Type,this.Message=e.Message}},Ku=class li extends y{static{n(this,"EC2ThrottledException")}static shapeId="com.amazonaws.lambda#EC2ThrottledException";name="EC2ThrottledException";$fault="server";Type;Message;constructor(e){super({name:"EC2ThrottledException",$fault:"server",...e}),Object.setPrototypeOf(this,li.prototype),this.Type=e.Type,this.Message=e.Message}},Vu=class pi extends y{static{n(this,"EC2UnexpectedException")}static shapeId="com.amazonaws.lambda#EC2UnexpectedException";name="EC2UnexpectedException";$fault="server";Type;Message;EC2ErrorCode;constructor(e){super({name:"EC2UnexpectedException",$fault:"server",...e}),Object.setPrototypeOf(this,pi.prototype),this.Type=e.Type,this.Message=e.Message,this.EC2ErrorCode=e.EC2ErrorCode}},Qu=class mi extends y{static{n(this,"EFSIOException")}static shapeId="com.amazonaws.lambda#EFSIOException";name="EFSIOException";$fault="client";Type;Message;constructor(e){super({name:"EFSIOException",$fault:"client",...e}),Object.setPrototypeOf(this,mi.prototype),this.Type=e.Type,this.Message=e.Message}},Wu=class hi extends y{static{n(this,"EFSMountConnectivityException")}static shapeId="com.amazonaws.lambda#EFSMountConnectivityException";name="EFSMountConnectivityException";$fault="client";Type;Message;constructor(e){super({name:"EFSMountConnectivityException",$fault:"client",...e}),Object.setPrototypeOf(this,hi.prototype),this.Type=e.Type,this.Message=e.Message}},Gu=class vi extends y{static{n(this,"EFSMountFailureException")}static shapeId="com.amazonaws.lambda#EFSMountFailureException";name="EFSMountFailureException";$fault="client";Type;Message;constructor(e){super({name:"EFSMountFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,vi.prototype),this.Type=e.Type,this.Message=e.Message}},Xu=class fi extends y{static{n(this,"EFSMountTimeoutException")}static shapeId="com.amazonaws.lambda#EFSMountTimeoutException";name="EFSMountTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"EFSMountTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,fi.prototype),this.Type=e.Type,this.Message=e.Message}},Ju=class gi extends y{static{n(this,"ENILimitReachedException")}static shapeId="com.amazonaws.lambda#ENILimitReachedException";name="ENILimitReachedException";$fault="server";Type;Message;constructor(e){super({name:"ENILimitReachedException",$fault:"server",...e}),Object.setPrototypeOf(this,gi.prototype),this.Type=e.Type,this.Message=e.Message}},Yu=class yi extends y{static{n(this,"ENINotReadyException")}static shapeId="com.amazonaws.lambda#ENINotReadyException";name="ENINotReadyException";$fault="server";Type;Message;constructor(e){super({name:"ENINotReadyException",$fault:"server",...e}),Object.setPrototypeOf(this,yi.prototype),this.Type=e.Type,this.Message=e.Message}},Zu=class Ei extends y{static{n(this,"InvalidRequestContentException")}static shapeId="com.amazonaws.lambda#InvalidRequestContentException";name="InvalidRequestContentException";$fault="client";Type;constructor(e){super({name:"InvalidRequestContentException",$fault:"client",...e}),Object.setPrototypeOf(this,Ei.prototype),this.Type=e.Type}},ed=class Si extends y{static{n(this,"InvalidRuntimeException")}static shapeId="com.amazonaws.lambda#InvalidRuntimeException";name="InvalidRuntimeException";$fault="server";Type;Message;constructor(e){super({name:"InvalidRuntimeException",$fault:"server",...e}),Object.setPrototypeOf(this,Si.prototype),this.Type=e.Type,this.Message=e.Message}},td=class xi extends y{static{n(this,"InvalidSecurityGroupIDException")}static shapeId="com.amazonaws.lambda#InvalidSecurityGroupIDException";name="InvalidSecurityGroupIDException";$fault="server";Type;Message;constructor(e){super({name:"InvalidSecurityGroupIDException",$fault:"server",...e}),Object.setPrototypeOf(this,xi.prototype),this.Type=e.Type,this.Message=e.Message}},rd=class bi extends y{static{n(this,"InvalidSubnetIDException")}static shapeId="com.amazonaws.lambda#InvalidSubnetIDException";name="InvalidSubnetIDException";$fault="server";Type;Message;constructor(e){super({name:"InvalidSubnetIDException",$fault:"server",...e}),Object.setPrototypeOf(this,bi.prototype),this.Type=e.Type,this.Message=e.Message}},sd=class wi extends y{static{n(this,"InvalidZipFileException")}static shapeId="com.amazonaws.lambda#InvalidZipFileException";name="InvalidZipFileException";$fault="server";Type;Message;constructor(e){super({name:"InvalidZipFileException",$fault:"server",...e}),Object.setPrototypeOf(this,wi.prototype),this.Type=e.Type,this.Message=e.Message}},ad=class Ii extends y{static{n(this,"ModeNotSupportedException")}static shapeId="com.amazonaws.lambda#ModeNotSupportedException";name="ModeNotSupportedException";$fault="client";Type;constructor(e){super({name:"ModeNotSupportedException",$fault:"client",...e}),Object.setPrototypeOf(this,Ii.prototype),this.Type=e.Type}},nd=class Ci extends y{static{n(this,"NoPublishedVersionException")}static shapeId="com.amazonaws.lambda#NoPublishedVersionException";name="NoPublishedVersionException";$fault="client";Type;Message;constructor(e){super({name:"NoPublishedVersionException",$fault:"client",...e}),Object.setPrototypeOf(this,Ci.prototype),this.Type=e.Type,this.Message=e.Message}},id=class Ai extends y{static{n(this,"RecursiveInvocationException")}static shapeId="com.amazonaws.lambda#RecursiveInvocationException";name="RecursiveInvocationException";$fault="client";Type;Message;constructor(e){super({name:"RecursiveInvocationException",$fault:"client",...e}),Object.setPrototypeOf(this,Ai.prototype),this.Type=e.Type,this.Message=e.Message}},od=class Ri extends y{static{n(this,"RequestTooLargeException")}static shapeId="com.amazonaws.lambda#RequestTooLargeException";name="RequestTooLargeException";$fault="client";Type;constructor(e){super({name:"RequestTooLargeException",$fault:"client",...e}),Object.setPrototypeOf(this,Ri.prototype),this.Type=e.Type}},cd=class _i extends y{static{n(this,"ResourceNotReadyException")}static shapeId="com.amazonaws.lambda#ResourceNotReadyException";name="ResourceNotReadyException";$fault="server";Type;constructor(e){super({name:"ResourceNotReadyException",$fault:"server",...e}),Object.setPrototypeOf(this,_i.prototype),this.Type=e.Type}},ud=class Pi extends y{static{n(this,"S3FilesMountConnectivityException")}static shapeId="com.amazonaws.lambda#S3FilesMountConnectivityException";name="S3FilesMountConnectivityException";$fault="client";Type;Message;constructor(e){super({name:"S3FilesMountConnectivityException",$fault:"client",...e}),Object.setPrototypeOf(this,Pi.prototype),this.Type=e.Type,this.Message=e.Message}},dd=class Ti extends y{static{n(this,"S3FilesMountFailureException")}static shapeId="com.amazonaws.lambda#S3FilesMountFailureException";name="S3FilesMountFailureException";$fault="client";Type;Message;constructor(e){super({name:"S3FilesMountFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,Ti.prototype),this.Type=e.Type,this.Message=e.Message}},ld=class Mi extends y{static{n(this,"S3FilesMountTimeoutException")}static shapeId="com.amazonaws.lambda#S3FilesMountTimeoutException";name="S3FilesMountTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"S3FilesMountTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,Mi.prototype),this.Type=e.Type,this.Message=e.Message}},pd=class Ni extends y{static{n(this,"SerializedRequestEntityTooLargeException")}static shapeId="com.amazonaws.lambda#SerializedRequestEntityTooLargeException";name="SerializedRequestEntityTooLargeException";$fault="client";Type;constructor(e){super({name:"SerializedRequestEntityTooLargeException",$fault:"client",...e}),Object.setPrototypeOf(this,Ni.prototype),this.Type=e.Type}},md=class ki extends y{static{n(this,"ServiceQuotaExceededException")}static shapeId="com.amazonaws.lambda#ServiceQuotaExceededException";name="ServiceQuotaExceededException";$fault="client";Type;Message;constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,ki.prototype),this.Type=e.Type,this.Message=e.Message}},hd=class $i extends y{static{n(this,"SnapStartException")}static shapeId="com.amazonaws.lambda#SnapStartException";name="SnapStartException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartException",$fault:"client",...e}),Object.setPrototypeOf(this,$i.prototype),this.Type=e.Type,this.Message=e.Message}},vd=class Oi extends y{static{n(this,"SnapStartNotReadyException")}static shapeId="com.amazonaws.lambda#SnapStartNotReadyException";name="SnapStartNotReadyException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartNotReadyException",$fault:"client",...e}),Object.setPrototypeOf(this,Oi.prototype),this.Type=e.Type,this.Message=e.Message}},fd=class Di extends y{static{n(this,"SnapStartRegenerationFailureException")}static shapeId="com.amazonaws.lambda#SnapStartRegenerationFailureException";name="SnapStartRegenerationFailureException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartRegenerationFailureException",$fault:"client",...e}),Object.setPrototypeOf(this,Di.prototype),this.Type=e.Type,this.Message=e.Message}},gd=class Li extends y{static{n(this,"SnapStartTimeoutException")}static shapeId="com.amazonaws.lambda#SnapStartTimeoutException";name="SnapStartTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"SnapStartTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,Li.prototype),this.Type=e.Type,this.Message=e.Message}},yd=class Ui extends y{static{n(this,"SubnetIPAddressLimitReachedException")}static shapeId="com.amazonaws.lambda#SubnetIPAddressLimitReachedException";name="SubnetIPAddressLimitReachedException";$fault="server";Type;Message;constructor(e){super({name:"SubnetIPAddressLimitReachedException",$fault:"server",...e}),Object.setPrototypeOf(this,Ui.prototype),this.Type=e.Type,this.Message=e.Message}},Ed=class Fi extends y{static{n(this,"UnsupportedMediaTypeException")}static shapeId="com.amazonaws.lambda#UnsupportedMediaTypeException";name="UnsupportedMediaTypeException";$fault="client";Type;constructor(e){super({name:"UnsupportedMediaTypeException",$fault:"client",...e}),Object.setPrototypeOf(this,Fi.prototype),this.Type=e.Type}},Sd=class Bi extends y{static{n(this,"ProvisionedConcurrencyConfigNotFoundException")}static shapeId="com.amazonaws.lambda#ProvisionedConcurrencyConfigNotFoundException";name="ProvisionedConcurrencyConfigNotFoundException";$fault="client";Type;constructor(e){super({name:"ProvisionedConcurrencyConfigNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,Bi.prototype),this.Type=e.Type}},xd=class zi extends y{static{n(this,"CallbackTimeoutException")}static shapeId="com.amazonaws.lambda#CallbackTimeoutException";name="CallbackTimeoutException";$fault="client";Type;Message;constructor(e){super({name:"CallbackTimeoutException",$fault:"client",...e}),Object.setPrototypeOf(this,zi.prototype),this.Type=e.Type,this.Message=e.Message}},bd="AliasLimitExceededException",wd="Blob",Id="CodeArtifactUserDeletedException",Cd="CodeArtifactUserFailedException",Ad="CodeArtifactUserPendingException",Rd="ClientContext",_d="CapacityProviderLimitExceededException",Pd="CodeSigningConfigNotFoundException",Td="CodeStorageExceededException",Md="CallbackTimeoutException",Nd="CodeVerificationFailedException",kd="DurableExecutionArn",$d="DurableExecutionAlreadyStartedException",Od="DurableExecutionName",Dd="EC2AccessDeniedException",Ld="EC2ErrorCode",Ud="EC2ThrottledException",Fd="EC2UnexpectedException",Bd="EFSIOException",zd="EFSMountConnectivityException",Hd="EFSMountFailureException",jd="EFSMountTimeoutException",qd="ENILimitReachedException",Kd="ENINotReadyException",Vd="ExecutedVersion",Qd="FunctionError",Wd="FunctionName",Gd="FunctionVersionsPerCapacityProviderLimitExceededException",Xd="InvalidCodeSignatureException",Jd="InvalidParameterValueException",Yd="InvalidRequestContentException",Zd="InvalidRuntimeException",el="InvocationRequest",tl="InvocationResponse",rl="InvalidSecurityGroupIDException",sl="InvalidSubnetIDException",al="InvocationType",nl="InvalidZipFileException",il="Invoke",ol="KMSAccessDeniedException",cl="KMSDisabledException",ul="KMSInvalidStateException",dl="KMSNotFoundException",ll="LogResult",pl="LogType",R="Message",ml="ModeNotSupportedException",hl="NoPublishedVersionException",vl="ProvisionedConcurrencyConfigNotFoundException",fl="PreconditionFailedException",gl="PolicyLengthExceededException",yl="PublicPolicyException",Hi="Payload",ka="Qualifier",El="Reason",Sl="Retry-After",xl="ResourceConflictException",bl="RecursiveInvocationException",wl="ResourceInUseException",Il="ResourceNotFoundException",Cl="ResourceNotReadyException",Al="RequestTooLargeException",Rl="StatusCode",_l="ServiceException",Pl="S3FilesMountConnectivityException",Tl="S3FilesMountFailureException",Ml="S3FilesMountTimeoutException",Nl="SubnetIPAddressLimitReachedException",kl="ServiceQuotaExceededException",$l="SerializedRequestEntityTooLargeException",Ol="SnapStartException",Dl="SnapStartNotReadyException",Ll="SnapStartRegenerationFailureException",Ul="SnapStartTimeoutException",S="Type",Fl="TenantId",Bl="TooManyRequestsException",zl="UnsupportedMediaTypeException",Hl="X-Amz-Client-Context",jl="X-Amz-Durable-Execution-Arn",ql="X-Amz-Durable-Execution-Name",Kl="X-Amz-Executed-Version",Vl="X-Amz-Function-Error",Ql="X-Amz-Invocation-Type",Wl="X-Amz-Log-Result",Gl="X-Amz-Log-Type",Xl="X-Amz-Tenant-Id",C="client",x="error",Jl="http",b="httpError",Ee="httpHeader",Yl="httpQuery",Z="message",Zl="retryAfterSeconds",ji="smithy.ts.sdk.synthetic.com.amazonaws.lambda",ne="server",f="com.amazonaws.lambda",qi=new Pe(ji),ep=[-3,ji,"LambdaServiceException",0,[],[]];qi.registerError(ep,y);var E=new Pe(f),tp=[-3,f,bd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(tp,_u);var rp=[-3,f,Md,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(rp,xd);var sp=[-3,f,_d,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(sp,Pu);var ap=[-3,f,Id,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(ap,Bu);var np=[-3,f,Cd,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(np,zu);var ip=[-3,f,Ad,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(ip,Hu);var op=[-3,f,Pd,{[x]:C,[b]:404},[S,R],[0,0]];E.registerError(op,Ou);var cp=[-3,f,Td,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(cp,Du);var up=[-3,f,Nd,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(up,Lu);var dp=[-3,f,$d,{[x]:C,[b]:409},[S,R],[0,0]];E.registerError(dp,ju);var lp=[-3,f,Dd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(lp,qu);var pp=[-3,f,Ud,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(pp,Ku);var mp=[-3,f,Fd,{[x]:ne,[b]:502},[S,R,Ld],[0,0,0]];E.registerError(mp,Vu);var hp=[-3,f,Bd,{[x]:C,[b]:410},[S,R],[0,0]];E.registerError(hp,Qu);var vp=[-3,f,zd,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(vp,Wu);var fp=[-3,f,Hd,{[x]:C,[b]:403},[S,R],[0,0]];E.registerError(fp,Gu);var gp=[-3,f,jd,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(gp,Xu);var yp=[-3,f,qd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(yp,Ju);var Ep=[-3,f,Kd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Ep,Yu);var Sp=[-3,f,Gd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(Sp,Uu);var xp=[-3,f,Xd,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(xp,Fu);var bp=[-3,f,Jd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(bp,Su);var wp=[-3,f,Yd,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(wp,Zu);var Ip=[-3,f,Zd,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Ip,ed);var Cp=[-3,f,rl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Cp,td);var Ap=[-3,f,sl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Ap,rd);var Rp=[-3,f,nl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Rp,sd);var _p=[-3,f,ol,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(_p,Tu);var Pp=[-3,f,cl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Pp,Mu);var Tp=[-3,f,ul,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Tp,Nu);var Mp=[-3,f,dl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(Mp,ku);var Np=[-3,f,ml,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError(Np,ad);var kp=[-3,f,hl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(kp,nd);var $p=[-3,f,gl,{[x]:C,[b]:400},[S,Z],[0,0]];E.registerError($p,xu);var Op=[-3,f,fl,{[x]:C,[b]:412},[S,Z],[0,0]];E.registerError(Op,bu);var Dp=[-3,f,vl,{[x]:C,[b]:404},[S,Z],[0,0]];E.registerError(Dp,Sd);var Lp=[-3,f,yl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Lp,Ru);var Up=[-3,f,bl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Up,id);var Fp=[-3,f,Al,{[x]:C,[b]:413},[S,Z],[0,0]];E.registerError(Fp,od);var Bp=[-3,f,xl,{[x]:C,[b]:409},[S,Z],[0,0]];E.registerError(Bp,wu);var zp=[-3,f,wl,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(zp,$u);var Hp=[-3,f,Il,{[x]:C,[b]:404},[S,R],[0,0]];E.registerError(Hp,Iu);var jp=[-3,f,Cl,{[x]:ne,[b]:502},[S,Z],[0,0]];E.registerError(jp,cd);var qp=[-3,f,Pl,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(qp,ud);var Kp=[-3,f,Tl,{[x]:C,[b]:403},[S,R],[0,0]];E.registerError(Kp,dd);var Vp=[-3,f,Ml,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(Vp,ld);var Qp=[-3,f,$l,{[x]:C,[b]:413},[S,Z],[0,0]];E.registerError(Qp,pd);var Wp=[-3,f,_l,{[x]:ne,[b]:500},[S,R],[0,0]];E.registerError(Wp,Cu);var Gp=[-3,f,kl,{[x]:C,[b]:402},[S,R],[0,0]];E.registerError(Gp,md);var Xp=[-3,f,Ol,{[x]:C,[b]:400},[S,R],[0,0]];E.registerError(Xp,hd);var Jp=[-3,f,Dl,{[x]:C,[b]:409},[S,R],[0,0]];E.registerError(Jp,vd);var Yp=[-3,f,Ll,{[x]:C,[b]:409},[S,R],[0,0]];E.registerError(Yp,fd);var Zp=[-3,f,Ul,{[x]:C,[b]:408},[S,R],[0,0]];E.registerError(Zp,gd);var em=[-3,f,Nl,{[x]:ne,[b]:502},[S,R],[0,0]];E.registerError(em,yd);var tm=[-3,f,Bl,{[x]:C,[b]:429},[Zl,S,Z,El],[[0,{[Ee]:Sl}],0,0,0]];E.registerError(tm,Au);var rm=[-3,f,zl,{[x]:C,[b]:415},[S,Z],[0,0]];E.registerError(rm,Ed);var sm=[qi,E],Ki=[0,f,wd,8,21],am=[3,f,el,0,[Wd,al,pl,Rd,Od,Hi,ka,Fl],[[0,1],[0,{[Ee]:Ql}],[0,{[Ee]:Gl}],[0,{[Ee]:Hl}],[0,{[Ee]:ql}],[()=>Ki,16],[0,{[Yl]:ka}],[0,{[Ee]:Xl}]],1],nm=[3,f,tl,0,[Rl,Qd,ll,Hi,Vd,kd],[[1,32],[0,{[Ee]:Vl}],[0,{[Ee]:Wl}],[()=>Ki,16],[0,{[Ee]:Kl}],[0,{[Ee]:jl}]]],im=[9,f,il,{[Jl]:["POST","/2015-03-31/functions/{FunctionName}/invocations",200]},()=>am,()=>nm],om=n(t=>({apiVersion:"2015-03-31",base64Decoder:t?.base64Decoder??tt,base64Encoder:t?.base64Encoder??je,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??Eu,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??du,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new lr}],logger:t?.logger??new He,protocol:t?.protocol??fa,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.lambda",errorTypeRegistries:sm,version:"2015-03-31",serviceTarget:"AWSGirApiService"},serviceId:t?.serviceId??"Lambda",sha256:t?.sha256??hr,urlParser:t?.urlParser??xt,utf8Decoder:t?.utf8Decoder??Ze,utf8Encoder:t?.utf8Encoder??et}),"getRuntimeConfig$5"),cm=n(t=>{Rt(process.version);let e=Lt(t),r=n(()=>e().then(At),"defaultConfigProvider"),s=om(t);bt(process.version);let a={profile:t?.profile,logger:s.logger};return{...s,...t,runtime:"node",defaultsMode:e,authSchemePreference:t?.authSchemePreference??U(pr,a),bodyLengthChecker:t?.bodyLengthChecker??Mt,credentialDefaultProvider:t?.credentialDefaultProvider??bs,defaultUserAgentProvider:t?.defaultUserAgentProvider??ir({serviceId:s.serviceId,clientVersion:hu.version}),eventStreamSerdeProvider:t?.eventStreamSerdeProvider??Dn,maxAttempts:t?.maxAttempts??U(Wt,t),region:t?.region??U($t,{...Ot,...a}),requestHandler:St.create(t?.requestHandler??r),retryMode:t?.retryMode??U({...Xt,default:n(async()=>(await r()).retryMode||Qt,"default")},t),streamCollector:t?.streamCollector??Et,useDualstackEndpoint:t?.useDualstackEndpoint??U(Nt,a),useFipsEndpoint:t?.useFipsEndpoint??U(kt,a),userAgentAppId:t?.userAgentAppId??U(or,a)}},"getRuntimeConfig$4"),um=n(t=>{let e=t.httpAuthSchemes,r=t.httpAuthSchemeProvider,s=t.credentials;return{setHttpAuthScheme(a){let i=e.findIndex(o=>o.schemeId===a.schemeId);i===-1?e.push(a):e.splice(i,1,a)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(a){r=a},httpAuthSchemeProvider(){return r},setCredentials(a){s=a},credentials(){return s}}},"getHttpAuthExtensionConfiguration$2"),dm=n(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}),"resolveHttpAuthRuntimeConfig$2"),lm=n((t,e)=>{let r=Object.assign(ur(t),_t(t),qt(t),um(t));return e.forEach(s=>s.configure(r)),Object.assign(t,dr(r),Pt(r),Kt(r),dm(r))},"resolveRuntimeExtensions$2"),pm=class extends wt{static{n(this,"LambdaClient")}config;constructor(...[t]){let e=cm(t||{});super(e),this.initConfig=e;let r=pu(e),s=ar(r),a=Gt(s),i=Dt(a),o=i,c=lm(lu(Ln(Ht(o))),t?.extensions||[]);this.config=c,this.middlewareStack.use(It(this.config)),this.middlewareStack.use(nr(this.config)),this.middlewareStack.use(Jt(this.config)),this.middlewareStack.use(Vt(this.config)),this.middlewareStack.use(Yt(this.config)),this.middlewareStack.use(Zt(this.config)),this.middlewareStack.use(er(this.config)),this.middlewareStack.use(tr(this.config,{httpAuthSchemeParametersProvider:cu,identityProviderConfigProvider:n(async u=>new sr({"aws.auth#sigv4":u.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(rr(this.config))}destroy(){super.destroy()}},mm=Tt(mu,"AWSGirApiService","LambdaClient",jt),hm={},vm=n((t,e,r,s)=>[],"_mw0$1"),fm=class extends mm(hm,vm,"Invoke",im){static{n(this,"InvokeCommand")}},gm={DryRun:"DryRun",Event:"Event",RequestResponse:"RequestResponse"},ym=de({BEESOLVE_AUTH_SDK_HANDLER_ARN:re()}),Em=Ur(ym,process.env),Sm=class{static{n(this,"AuthClient")}props;lambdaArn;lambdaClient;constructor(t={}){this.props=t,this.lambdaArn=t.lambdaArn??Em.BEESOLVE_AUTH_SDK_HANDLER_ARN,this.lambdaClient=t.lambdaClient??new pm}invoke=n(async t=>this.invokeLambda(t),"invoke");invokeLambda=n(async t=>{let{Payload:e,StatusCode:r,FunctionError:s}=await this.lambdaClient.send(new fm({FunctionName:this.lambdaArn,InvocationType:gm.RequestResponse,Payload:JSON.stringify(t0(t))}));if(r!==200)throw new Error(`Cannot invoke synchronous action: ${s}`);let a=JSON.parse(e?.transformToString()??"null");if(a!=null&&typeof a=="object"&&"errorMessage"in a)throw new Error(`SDK handler error: ${a.errorMessage}`);return a},"invokeLambda")},xm=Lr("impersonating",[de({userId:re(),sessionId:re(),expiresAt:re(),impersonating:Oe(!1)}),de({userId:re(),sessionId:re(),expiresAt:re(),impersonating:Oe(!0),impersonatedBy:re()})]),Wr=de({sid:re(),maxAge:Bs()}),bm=Lr("type",[de({type:Oe("none")}),de({type:Oe("invalid"),error:re(),setCookiesParams:yt(Wr)}),de({type:Oe("expired"),expiredSession:de({userId:re(),sessionId:re(),expiredAt:re()}),setCookiesParams:yt(Wr)}),de({type:Oe("valid"),validSession:xm,setCookiesParams:yt(Wr)})]),wm=zs(re(),Fs(t=>JSON.parse(t)),bm),$a=de({session:wm});async function Im(){if(!Ms())return{type:"none"};let t=Ts();return Ps(t)?(await Ns($a)).session:(await ks($a)).session}n(Im,"getSessionContext2");function Cm(t){for(let{sid:e,maxAge:r}of t.cookies)[`__Host-SID=${e}; HttpOnly; Max-Age=${r}; SameSite=Strict; Secure; Path=/`,`aSID=${r>0?1:0}; Max-Age=${r}; SameSite=Strict; Secure; Path=/`].forEach(s=>t.headers.append("Set-Cookie",s));return t.headers}n(Cm,"addSetCookies2");var Am={type:"valid",validSession:{userId:"dev-user",sessionId:"dev-session",expiresAt:new Date(Date.now()+2592e6).toISOString(),impersonating:!1},setCookiesParams:[]};new Date(Date.now()-36e5).toISOString();var Rm=process.env.LAMBDA_TASK_ROOT!=null;function _m(t){return Rm?async({event:e,resolve:r})=>{let s=await Im();e.locals.session=s;let a=await r(e);return s.type!=="none"&&s.setCookiesParams.length>0&&Cm({headers:a.headers,cookies:s.setCookiesParams}),a}:Pm(t?.fallbackSession??Am)}n(_m,"createSessionHandle");function Pm(t){return async({event:e,resolve:r})=>(e.locals.session=t,r(e))}n(Pm,"createFallbackHandle");var ke={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},Vi=ke.WHEN_SUPPORTED,ut={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},Qi=ke.WHEN_SUPPORTED,B;(function(t){t.MD5="MD5",t.CRC32="CRC32",t.CRC32C="CRC32C",t.CRC64NVME="CRC64NVME",t.SHA1="SHA1",t.SHA256="SHA256"})(B||(B={}));var Oa;(function(t){t.HEADER="header",t.TRAILER="trailer"})(Oa||(Oa={}));var ms=B.CRC32,We;(function(t){t.ENV="env",t.CONFIG="shared config entry"})(We||(We={}));var Cr=n((t,e,r,s)=>{if(!(e in t))return;let a=t[e].toUpperCase();if(!Object.values(r).includes(a))throw new TypeError(`Cannot load ${s} '${e}'. Expected one of ${Object.values(r)}, got '${t[e]}'.`);return a},"stringUnionSelector"),Tm="AWS_REQUEST_CHECKSUM_CALCULATION",Mm="request_checksum_calculation",Nm={environmentVariableSelector:n(t=>Cr(t,Tm,ke,We.ENV),"environmentVariableSelector"),configFileSelector:n(t=>Cr(t,Mm,ke,We.CONFIG),"configFileSelector"),default:Vi},km="AWS_RESPONSE_CHECKSUM_VALIDATION",$m="response_checksum_validation",Om={environmentVariableSelector:n(t=>Cr(t,km,ut,We.ENV),"environmentVariableSelector"),configFileSelector:n(t=>Cr(t,$m,ut,We.CONFIG),"configFileSelector"),default:Qi},Dm=n((t,{requestChecksumRequired:e,requestAlgorithmMember:r,requestChecksumCalculation:s})=>{if(!r)return s===ke.WHEN_SUPPORTED||e?ms:void 0;if(t[r])return t[r]},"getChecksumAlgorithmForRequest"),Ar=n(t=>t===B.MD5?"content-md5":`x-amz-checksum-${t.toLowerCase()}`,"getChecksumLocationName"),Lm=n((t,e)=>{let r=t.toLowerCase();for(let s of Object.keys(e))if(r===s.toLowerCase())return!0;return!1},"hasHeader"),Um=n((t,e)=>{let r=t.toLowerCase();for(let s of Object.keys(e))if(s.toLowerCase().startsWith(r))return!0;return!1},"hasHeaderWithPrefix"),Wi=n(t=>t!==void 0&&typeof t!="string"&&!ArrayBuffer.isView(t)&&!Ws(t),"isStreaming"),Gi=new Uint32Array(256);for(let t=0;t<256;++t){let e=t;for(let r=0;r<8;++r)e=e&1?2197175160^e>>>1:e>>>1;Gi[t]=e>>>0}var Fm=class{static{n(this,"Crc32cJs")}digestLength=4;crc=4294967295;update(t){let e=this.crc;for(let r=0;r<t.length;++r)e=e>>>8^Gi[(e^t[r])&255];this.crc=e}async digest(){let t=(this.crc^4294967295)>>>0,e=new Uint8Array(4);return e[0]=t>>>24,e[1]=t>>>16&255,e[2]=t>>>8&255,e[3]=t&255,e}reset(){this.crc=4294967295}},Bm=Fm,zm={CrtCrc64Nvme:null},Hm=n(()=>{let e=new Array(8);for(let r=0;r<8;r++){let s=new Array(512);for(let a=0;a<256;a++){let i=BigInt(a);for(let o=0;o<8*(r+1);o++)i&1n?i=i>>1n^11127430586519243189n:i=i>>1n;s[a*2]=Number(i>>32n&4294967295n),s[a*2+1]=Number(i&4294967295n)}e[r]=new Uint32Array(s)}return e},"generateCRC64NVMETable"),Gr,ot,hs,vs,fs,gs,ys,Es,Ss,jm=n(()=>{Gr||(Gr=Hm(),[ot,hs,vs,fs,gs,ys,Es,Ss]=Gr)},"ensureTablesInitialized"),qm=class{static{n(this,"Crc64NvmeJs")}c1=0;c2=0;constructor(){jm(),this.reset()}update(t){let e=t.length,r=0,s=this.c1,a=this.c2;for(;r+8<=e;){let i=((a^t[r++])&255)<<1,o=((a>>>8^t[r++])&255)<<1,c=((a>>>16^t[r++])&255)<<1,u=((a>>>24^t[r++])&255)<<1,p=((s^t[r++])&255)<<1,d=((s>>>8^t[r++])&255)<<1,l=((s>>>16^t[r++])&255)<<1,m=((s>>>24^t[r++])&255)<<1;s=Ss[i]^Es[o]^ys[c]^gs[u]^fs[p]^vs[d]^hs[l]^ot[m],a=Ss[i+1]^Es[o+1]^ys[c+1]^gs[u+1]^fs[p+1]^vs[d+1]^hs[l+1]^ot[m+1]}for(;r<e;){let i=((a^t[r])&255)<<1;a=(a>>>8|(s&255)<<24)>>>0,s=s>>>8^ot[i],a^=ot[i+1],++r}this.c1=s,this.c2=a}async digest(){let t=this.c1^4294967295,e=this.c2^4294967295;return new Uint8Array([t>>>24,t>>>16&255,t>>>8&255,t&255,e>>>24,e>>>16&255,e>>>8&255,e&255])}reset(){this.c1=4294967295,this.c2=4294967295}},Km=class{static{n(this,"Crc64Nvme")}impl;constructor(){let t=zm.CrtCrc64Nvme;this.impl=t?new t:new qm}update(t){this.impl.update(t)}async digest(){return this.impl.digest()}reset(){this.impl.reset()}},Vm=[B.CRC32,B.CRC32C,B.CRC64NVME,B.SHA1,B.SHA256],Da=[B.SHA256,B.SHA1,B.CRC32,B.CRC32C,B.CRC64NVME],Xi=n((t,e)=>{let{checksumAlgorithms:r={}}=e;switch(t){case B.MD5:return r?.MD5??e.md5;case B.CRC32:return r?.CRC32??ws;case B.CRC32C:return r?.CRC32C??Bm;case B.CRC64NVME:return r?.CRC64NVME??Km;case B.SHA1:return r?.SHA1??e.sha1;case B.SHA256:return r?.SHA256??e.sha256;default:if(r?.[t])return r[t];throw new Error(`The checksum algorithm "${t}" is not supported by the client. Select one of ${Vm}, or provide an implementation to the client constructor checksums field.`)}},"selectChecksumAlgorithmFunction"),Ji=n((t,e)=>{let r=new t;return r.update(Le(e||"")),r.digest()},"stringHasher"),Qm={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},Wm=n((t,e)=>(r,s)=>async a=>{if(!De.isInstance(a.request)||Um("x-amz-checksum-",a.request.headers))return r(a);let{request:i,input:o}=a,{body:c,headers:u}=i,{base64Encoder:p,streamHasher:d}=t,{requestChecksumRequired:l,requestAlgorithmMember:m}=e,v=await t.requestChecksumCalculation(),g=m?.name,_=m?.httpHeader;g&&!o[g]&&(v===ke.WHEN_SUPPORTED||l)&&(o[g]=ms,_&&(u[_]=ms));let I=Dm(o,{requestChecksumRequired:l,requestAlgorithmMember:m?.name,requestChecksumCalculation:v}),M=c,H=u;if(I){switch(I){case B.CRC32:le(s,"FLEXIBLE_CHECKSUMS_REQ_CRC32","U");break;case B.CRC32C:le(s,"FLEXIBLE_CHECKSUMS_REQ_CRC32C","V");break;case B.CRC64NVME:le(s,"FLEXIBLE_CHECKSUMS_REQ_CRC64","W");break;case B.SHA1:le(s,"FLEXIBLE_CHECKSUMS_REQ_SHA1","X");break;case B.SHA256:le(s,"FLEXIBLE_CHECKSUMS_REQ_SHA256","Y")}let X=Ar(I),Re=Xi(I,t);if(Wi(c)){let{getAwsChunkedEncodingStream:ce,bodyLengthChecker:$e}=t;M=ce(typeof t.requestStreamBufferSize=="number"&&t.requestStreamBufferSize>=8192?l0(c,t.requestStreamBufferSize,s.logger):c,{base64Encoder:p,bodyLengthChecker:$e,checksumLocationName:X,checksumAlgorithmFn:Re,streamHasher:d}),H={...u,"content-encoding":u["content-encoding"]?`${u["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":u["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":X},delete H["content-length"]}else if(!Lm(X,u)){let ce=await Ji(Re,c);H={...u,[X]:p(ce)}}}try{return await r({...a,request:{...i,headers:H,body:M}})}catch(X){if(X instanceof Error&&X.name==="InvalidChunkSizeError")try{X.message.endsWith(".")||(X.message+="."),X.message+=" Set [requestStreamBufferSize=number e.g. 65_536] in client constructor to instruct AWS SDK to buffer your input stream."}catch{}throw X}},"flexibleChecksumsMiddleware"),Gm={name:"flexibleChecksumsInputMiddleware",toMiddleware:"serializerMiddleware",relation:"before",tags:["BODY_CHECKSUM"],override:!0},Xm=n((t,e)=>(r,s)=>async a=>{let i=a.input,{requestValidationModeMember:o}=e,c=await t.requestChecksumCalculation(),u=await t.responseChecksumValidation();switch(c){case ke.WHEN_REQUIRED:le(s,"FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED","a");break;case ke.WHEN_SUPPORTED:le(s,"FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED","Z")}switch(u){case ut.WHEN_REQUIRED:le(s,"FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED","c");break;case ut.WHEN_SUPPORTED:le(s,"FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED","b")}return o&&!i[o]&&u===ut.WHEN_SUPPORTED&&(i[o]="ENABLED"),r(a)},"flexibleChecksumsInputMiddleware"),Yi=n((t=[])=>{let e=[],r=Da.length;for(let s of t){let a=Da.indexOf(s);a!==-1?e[a]=s:e[r++]=s}return e.filter(Boolean)},"getChecksumAlgorithmListForResponse"),Jm=n(t=>{let e=t.lastIndexOf("-");if(e!==-1){let r=t.slice(e+1);if(!r.startsWith("0")){let s=parseInt(r,10);if(!isNaN(s)&&s>=1&&s<=1e4)return!0}}return!1},"isChecksumWithPartNumber"),Ym=n(async(t,{checksumAlgorithmFn:e,base64Encoder:r})=>r(await Ji(e,t)),"getChecksum"),Zm=n(async(t,{config:e,responseAlgorithms:r,logger:s})=>{let a=Yi(r),{body:i,headers:o}=t;for(let c of a){let u=Ar(c),p=o[u];if(p){let d;try{d=Xi(c,e)}catch(v){if(c===B.CRC64NVME){s?.warn(`Skipping ${B.CRC64NVME} checksum validation: ${v.message}`);continue}throw v}let{base64Encoder:l}=e;if(Wi(i)){t.body=u0({expectedChecksum:p,checksumSourceLocation:u,checksum:new d,source:i,base64Encoder:l});return}let m=await Ym(i,{checksumAlgorithmFn:d,base64Encoder:l});if(m===p)break;throw new Error(`Checksum mismatch: expected "${m}" but received "${p}" in response header "${u}".`)}}},"validateChecksumFromResponse"),eh={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},th=n((t,e)=>(r,s)=>async a=>{if(!De.isInstance(a.request))return r(a);let i=a.input,o=await r(a),c=o.response,{requestValidationModeMember:u,responseAlgorithms:p}=e;if(u&&i[u]==="ENABLED"){let{clientName:d,commandName:l}=s,m=Object.keys(t.checksumAlgorithms??{}).filter(g=>{let _=Ar(g);return c.headers[_]!==void 0}),v=Yi([...p??[],...m]);if(d==="S3Client"&&l==="GetObjectCommand"&&v.every(g=>{let _=Ar(g),I=c.headers[_];return!I||Jm(I)}))return o;await Zm(c,{config:t,responseAlgorithms:v,logger:s.logger})}return o},"flexibleChecksumsResponseMiddleware"),rh=n((t,e)=>({applyToStack:n(r=>{r.add(Wm(t,e),Qm),r.addRelativeTo(Xm(t,e),Gm),r.addRelativeTo(th(t,e),eh)},"applyToStack")}),"getFlexibleChecksumsPlugin"),sh=n(t=>{let{requestChecksumCalculation:e,responseChecksumValidation:r,requestStreamBufferSize:s}=t;return Object.assign(t,{requestChecksumCalculation:xe(e??Vi),responseChecksumValidation:xe(r??Qi),requestStreamBufferSize:Number(s??0),checksumAlgorithms:t.checksumAlgorithms??{}})},"resolveFlexibleChecksumsConfig"),ah="content-length",nh="x-amz-decoded-content-length";function ih(){return(t,e)=>async r=>{let{request:s}=r;if(De.isInstance(s)&&!(ah in s.headers)&&!(nh in s.headers)){let a="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";typeof e?.logger?.warn=="function"&&!(e.logger instanceof He)?e.logger.warn(a):console.warn(a)}return t({...r})}}n(ih,"checkContentLengthHeader");var oh={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},ch=n(t=>({applyToStack:n(e=>{e.add(ih(),oh)},"applyToStack")}),"getCheckContentLengthHeaderPlugin"),uh=n(t=>(e,r)=>async s=>{let a=await t.region(),i=t.region,o=n(()=>{},"unlock");r.__s3RegionRedirect&&(Object.defineProperty(t,"region",{writable:!1,value:n(async()=>r.__s3RegionRedirect,"value")}),o=n(()=>Object.defineProperty(t,"region",{writable:!0,value:i}),"unlock"));try{let c=await e(s);if(r.__s3RegionRedirect&&(o(),a!==await t.region()))throw new Error("Region was not restored following S3 region redirect.");return c}catch(c){throw o(),c}},"regionRedirectEndpointMiddleware"),dh={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function lh(t){return(e,r)=>async s=>{try{return await e(s)}catch(a){if(t.followRegionRedirects){let i=a?.$metadata?.httpStatusCode,o=r.commandName==="HeadBucketCommand",c=a?.$response?.headers?.["x-amz-bucket-region"];if(c&&(i===301||i===400&&(a?.name==="IllegalLocationConstraintException"||o))){try{let u=c;r.logger?.debug(`Redirecting from ${await t.region()} to ${u}`),r.__s3RegionRedirect=u,le(r,"S3_REGION_REDIRECT","Ah")}catch(u){throw new Error("Region redirect failed: "+u)}return e(s)}}throw a}}}n(lh,"regionRedirectMiddleware");var ph={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},mh=n(t=>({applyToStack:n(e=>{e.add(lh(t),ph),e.addRelativeTo(uh(t),dh)},"applyToStack")}),"getRegionRedirectMiddlewarePlugin"),hh=class Zi{static{n(this,"S3ExpressIdentityCache")}data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){let r=this.data[e];if(r)return r}set(e,r){return this.data[e]=r,r}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(!(this.lastPurgeTime+Zi.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e))for(let r in this.data){let s=this.data[r];if(!s.isRefreshing){let a=await s.identity;a.expiration&&a.expiration.getTime()<e&&delete this.data[r]}}}},Xr=class{static{n(this,"S3ExpressIdentityCacheEntry")}_identity;isRefreshing;accessed;constructor(t,e=!1,r=Date.now()){this._identity=t,this.isRefreshing=e,this.accessed=r}get identity(){return this.accessed=Date.now(),this._identity}},vh=class eo{static{n(this,"S3ExpressIdentityProviderImpl")}createSessionFn;cache;static REFRESH_WINDOW_MS=6e4;constructor(e,r=new hh){this.createSessionFn=e,this.cache=r}async getS3ExpressIdentity(e,r){let s=r.Bucket,{cache:a}=this,i=a.get(s);return i?i.identity.then(o=>(o.expiration?.getTime()??0)<Date.now()?a.set(s,new Xr(this.getIdentity(s))).identity:((o.expiration?.getTime()??0)<Date.now()+eo.REFRESH_WINDOW_MS&&!i.isRefreshing&&(i.isRefreshing=!0,this.getIdentity(s).then(c=>{a.set(s,new Xr(Promise.resolve(c)))})),o)):a.set(s,new Xr(this.getIdentity(s))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(s=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache:
22
+ `+s)});let r=await this.createSessionFn(e);if(!r.Credentials?.AccessKeyId||!r.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:r.Credentials.AccessKeyId,secretAccessKey:r.Credentials.SecretAccessKey,sessionToken:r.Credentials.SessionToken,expiration:r.Credentials.Expiration?new Date(r.Credentials.Expiration):void 0}}},fh=n((t,{session:e})=>{let[r,s]=e,{forcePathStyle:a,useAccelerateEndpoint:i,disableMultiregionAccessPoints:o,followRegionRedirects:c,s3ExpressIdentityProvider:u,bucketEndpoint:p,expectContinueHeader:d}=t;return Object.assign(t,{forcePathStyle:a??!1,useAccelerateEndpoint:i??!1,disableMultiregionAccessPoints:o??!1,followRegionRedirects:c??!1,s3ExpressIdentityProvider:u??new vh(async l=>r().send(new s({Bucket:l}))),bucketEndpoint:p??!1,expectContinueHeader:d??2097152})},"resolveS3Config"),gh="sigv4-s3express",yh="X-Amz-S3session-Token".toLowerCase(),Eh="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",Sh="s3_disable_express_session_auth",xh={environmentVariableSelector:n(t=>rt(t,Eh,st.ENV),"environmentVariableSelector"),configFileSelector:n(t=>rt(t,Sh,st.CONFIG),"configFileSelector"),default:!1},bh=n(t=>(e,r)=>async s=>{if(r.endpointV2){let a=r.endpointV2,i=a.properties?.authSchemes?.[0]?.name===gh;if((a.properties?.backend==="S3Express"||a.properties?.bucketType==="Directory")&&(le(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0),i){let o=s.input.Bucket;if(o){let c=await t.s3ExpressIdentityProvider.getS3ExpressIdentity(await t.credentials(),{Bucket:o});r.s3ExpressIdentity=c,De.isInstance(s.request)&&c.sessionToken&&(s.request.headers[yh]=c.sessionToken)}}}return e(s)},"s3ExpressMiddleware"),wh={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},Ih=n(t=>({applyToStack:n(e=>{e.add(bh(t),wh)},"applyToStack")}),"getS3ExpressPlugin"),Ch=n(async(t,e,r,s)=>{let a=await s.signWithCredentials(r,t,{});if(a.headers["X-Amz-Security-Token"]||a.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return a},"signS3Express"),Ah=n(t=>e=>{throw e},"defaultErrorHandler"),Rh=n((t,e)=>{},"defaultSuccessHandler"),_h=n(t=>(e,r)=>async s=>{if(!De.isInstance(s.request))return e(s);let a=ze(r).selectedHttpAuthScheme;if(!a)throw new Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:i={}},identity:o,signer:c}=a,u;r.s3ExpressIdentity?u=await Ch(r.s3ExpressIdentity,i,s.request,await t.signer()):u=await c.sign(s.request,o,i);let p=await e({...s,request:u}).catch((c.errorHandler||Ah)(i));return(c.successHandler||Rh)(p.response,i),p},"s3ExpressHttpSigningMiddleware"),Ph=n(t=>({applyToStack:n(e=>{e.addRelativeTo(_h(t),sa)},"applyToStack")}),"getS3ExpressHttpSigningPlugin");function Th(t){return vt.from(Buffer.from(t))}n(Th,"toStream");var Mh={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},Nh=n(t=>(e,r)=>async s=>{let a=await e(s),{response:i}=a;if(!Xs.isInstance(i))return a;let{statusCode:o,body:c}=i;if(o<200||o>=300)return a;let u=await kh(c,t);if(i.body=Th(u),u.length===0&&Mh[r.commandName]){let d=new Error("S3 aborted request");throw d.$metadata={httpStatusCode:503},d.name="InternalError",d}let p=t.utf8Encoder(u.subarray(u.length-16));return p&&p.endsWith("</Error>")&&(i.statusCode=503),a},"throw200ExceptionsMiddleware"),kh=n((t=new Uint8Array,e)=>t instanceof Uint8Array?Promise.resolve(t):e.streamCollector(t)||Promise.resolve(new Uint8Array),"collectBody"),$h={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},to=n(t=>({applyToStack:n(e=>{e.addRelativeTo(Nh(t),$h)},"applyToStack")}),"getThrow200ExceptionsPlugin"),Oh=n(t=>typeof t=="string"&&t.indexOf("arn:")===0&&t.split(":").length>=6,"validate");function Dh(t){return(e,r)=>async s=>{if(t.bucketEndpoint){let a=r.endpointV2;if(a){let i=s.input.Bucket;if(typeof i=="string")try{let o=new URL(i);r.endpointV2={...a,url:o}}catch(o){let c=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${i} could not be parsed as URL.`;throw r.logger?.constructor?.name==="NoOpLogger"?console.warn(c):r.logger?.warn?.(c),o}}}return e(s)}}n(Dh,"bucketEndpointMiddleware");var Lh={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function Uh({bucketEndpoint:t}){return e=>async r=>{let{input:{Bucket:s}}=r;if(!t&&typeof s=="string"&&!Oh(s)&&s.indexOf("/")>=0){let a=new Error(`Bucket name shouldn't contain '/', received '${s}'`);throw a.name="InvalidBucketName",a}return e({...r})}}n(Uh,"validateBucketNameMiddleware");var Fh={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},Bh=n(t=>({applyToStack:n(e=>{e.add(Uh(t),Fh),e.addRelativeTo(Dh(t),Lh)},"applyToStack")}),"getValidateBucketNamePlugin"),zh=class extends P0{static{n(this,"S3RestXmlProtocol")}async serializeRequest(t,e,r){let s=await super.serializeRequest(t,e,r),a=Te.of(t.input),i=a.getSchema(),o=0,c=i[6]??0;if(e&&typeof e=="object")for(let[u,p]of a.structIterator()){if(++o>c)break;if(u==="Bucket"){if(!e.Bucket&&p.getMergedTraits().httpLabel)throw new Error("No value provided for input HTTP label: Bucket.");break}}return s}},Hh="AWS_S3_USE_ARN_REGION",jh="s3_use_arn_region",qh={environmentVariableSelector:n(t=>rt(t,Hh,st.ENV),"environmentVariableSelector"),configFileSelector:n(t=>rt(t,jh,st.CONFIG),"configFileSelector"),default:void 0};function Kh(t){return e=>async r=>{let{request:s}=r;if(t.expectContinueHeader!==!1&&De.isInstance(s)&&s.body&&t.runtime==="node"&&t.requestHandler?.constructor?.name!=="FetchHttpHandler"){let a=!0;if(typeof t.expectContinueHeader=="number")try{a=(Number(s.headers?.["content-length"])??t.bodyLengthChecker?.(s.body)??1/0)>=t.expectContinueHeader}catch{}else a=!!t.expectContinueHeader;a&&(s.headers.Expect="100-continue")}return e({...r,request:s})}}n(Kh,"addExpectContinueMiddleware");var Vh={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},Qh=n(t=>({applyToStack:n(e=>{e.add(Kh(t),Vh)},"applyToStack")}),"getAddExpectContinuePlugin");function Wh(t){return e=>async r=>{let s={...r.input};for(let a of[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}]){let i=s[a.target];if(i){let o;typeof i=="string"?Jh(i,t)?o=t.base64Decoder(i):(o=t.utf8Decoder(i),s[a.target]=t.base64Encoder(o)):(o=ArrayBuffer.isView(i)?new Uint8Array(i.buffer,i.byteOffset,i.byteLength):new Uint8Array(i),s[a.target]=t.base64Encoder(o));let c=new t.md5;c.update(o),s[a.hash]=t.base64Encoder(await c.digest())}}return e({...r,input:s})}}n(Wh,"ssecMiddleware");var Gh={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},Xh=n(t=>({applyToStack:n(e=>{e.add(Wh(t),Gh)},"applyToStack")}),"getSsecPlugin");function Jh(t,e){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t))return!1;try{return e.base64Decoder(t).length===32}catch{return!1}}n(Jh,"isValidBase64EncodedSSECustomerKey");var F="ref",P="argv",ro="backend",Se="authSchemes",he="disableDoubleEncoding",ve="signingName",Ce="signingRegion",Is="signingRegionSet",w=-1,k=!0,me=!1,Jr="isSet",ye="booleanEquals",N="stringEquals",se="coalesce",ie="substring",Y="",La="aws.partition",so="partitionResult",Ua="accessPointSuffix",Fa="regionPrefix",gr=n(t=>"outpostId_ssa_"+t+Y,"n"),ao="hardwareType",Yr="ite",be="isValidHostLabel",Ae="sigv4",Ba="aws.isVirtualHostableS3Bucket",no="url",oe="getAttr",io="bucketArn",we="--",oo="arnType",za="accesspoint",Zr=n(t=>"accessPointName_ssa_"+t+Y,"A"),Cs="s3-object-lambda",pt="s3-outposts",Ha="bucketPartition",co="us-east-1",ja="outpostType",ue="name",mt="s3",es="{url#scheme}://{Bucket}.{url#authority}{url#path}",yr="{url#scheme}://{url#authority}{url#path}",qa="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",Ka="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",Va="https://{Bucket}.s3.{partitionResult#dnsSuffix}",Qa=n(t=>"{url#scheme}://{accessPointName_ssa_"+t+"}-{bucketArn#accountId}.{url#authority}{url#path}","N"),Wa=n(t=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_"+t+"}`","O"),As="sigv4a",Ga="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",Xa="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Ja="https://s3.{partitionResult#dnsSuffix}",Ya={[F]:"UseFIPS"},Za={[F]:"UseDualStack"},te={[F]:"Bucket"},ts={fn:oe,[P]:[{[F]:so},ue]},en={[F]:no},Ke={[F]:"Region"},Ie={[F]:io},tn={[F]:oo},rs={[F]:"accessPointName_ssa_1"},Er={fn:oe,[P]:[Ie,"region"]},rn={[F]:ao},ss={fn:oe,[P]:[Ie,"service"]},sn={fn:oe,[P]:[Ie,"accountId"]},Sr={[ro]:"S3Express",[Se]:[{[he]:!0,[ue]:"{_s3e_auth}",[ve]:"s3express",[Ce]:"{Region}"}]},an={[ro]:"S3Express",[Se]:[{[he]:!0,[ue]:Ae,[ve]:"s3express",[Ce]:"{Region}"}]},xr={[Se]:[{[he]:!0,[ue]:As,[ve]:pt,[Is]:["*"]},{[he]:!0,[ue]:Ae,[ve]:pt,[Ce]:"{Region}"}]},ee={[Se]:[{[he]:!0,[ue]:Ae,[ve]:mt,[Ce]:co}]},Q={[Se]:[{[he]:!0,[ue]:Ae,[ve]:mt,[Ce]:"{Region}"}]},as={[Se]:[{[he]:!0,[ue]:Ae,[ve]:Cs,[Ce]:"{bucketArn#region}"}]},it={[Se]:[{[he]:!0,[ue]:Ae,[ve]:mt,[Ce]:"{bucketArn#region}"}]},nn={[Se]:[{[he]:!0,[ue]:As,[ve]:pt,[Is]:["*"]},{[he]:!0,[ue]:Ae,[ve]:pt,[Ce]:"{bucketArn#region}"}]},ns={[Se]:[{[he]:!0,[ue]:Ae,[ve]:Cs,[Ce]:"{Region}"}]},on=[Ke],cn=[{[F]:"Endpoint"}],is=[te],un=[te,0,7,!0],dn=[Ie,"resourceId[1]"],Yh=["*"],ln={conditions:[[Jr,on],[ye,[{[F]:"Accelerate"},k]],[ye,[Ya,k]],[ye,[Za,k]],[Jr,cn],[Jr,is],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,0,6,k]},Y]},"--x-s3"]],[N,[{fn:se,[P]:[{fn:ie,[P]:un},Y]},"--xa-s3"]],[La,on,so],[ie,un,Ua],[N,[{[F]:Ua},"--op-s3"]],[ie,[te,8,12,k],Fa],[ie,[te,32,49,k],gr(2)],[ie,[te,49,50,k],ao],[ye,[{[F]:"ForcePathStyle"},k]],[N,[ts,"aws-cn"]],[Yr,[Za,".dualstack",Y],"_s3e_ds"],[be,[{[F]:gr(2)},me]],[Yr,[Ya,"-fips",Y],"_s3e_fips"],[Yr,[{fn:se,[P]:[{[F]:"DisableS3ExpressSessionAuth"},me]},Ae,"sigv4-s3express"],"_s3e_auth"],[Ba,[te,me]],["parseURL",cn,no],[ye,[{fn:se,[P]:[{[F]:"UseS3ExpressControlEndpoint"},me]},k]],[Ba,[te,k]],[N,[{fn:oe,[P]:[en,"scheme"]},"http"]],[be,[Ke,me]],["aws.parseArn",is,io],[oe,[{fn:"split",[P]:[te,we,0]},"[-2]"],"s3expressAvailabilityZoneId"],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,0,4,me]},Y]},"arn:"]],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,16,18,k]},Y]},we]],[ye,[{fn:oe,[P]:[en,"isIp"]},k]],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,21,23,k]},Y]},we]],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,27,29,k]},Y]},we]],[N,[{[F]:Fa},"beta"]],["uriEncode",is,"uri_encoded_bucket"],[be,[Ke,k]],[ye,[{fn:se,[P]:[{[F]:"UseObjectLambdaEndpoint"},me]},k]],[oe,[Ie,"resourceId[0]"],oo],[N,[tn,Y]],[N,[tn,za]],[oe,dn,Zr(1)],[N,[rs,Y]],[N,[Er,Y]],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,14,16,k]},Y]},we]],[N,[rn,"e"]],[N,[rn,"o"]],[N,[Ke,"aws-global"]],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,19,21,k]},Y]},we]],[N,[ss,Cs]],[ye,[{fn:se,[P]:[{[F]:"DisableAccessPoints"},me]},k]],[N,[ss,pt]],[La,[Er],Ha],[be,[rs,k]],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,26,28,k]},Y]},we]],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,15,17,k]},Y]},we]],[oe,[Ie,"resourceId[4]"]],[N,[{fn:se,[P]:[{fn:ie,[P]:[te,20,22,k]},Y]},we]],[ye,[{[F]:"UseGlobalEndpoint"},k]],[N,[Ke,co]],[oe,dn,gr(1)],[ye,[{fn:se,[P]:[{[F]:"UseArnRegion"},k]},k]],[be,[{[F]:gr(1)},me]],[oe,[Ie,"resourceId[2]"],ja],[N,[Ke,Er]],[N,[{fn:oe,[P]:[{[F]:Ha},ue]},ts]],[ye,[{[F]:"DisableMultiRegionAccessPoints"},k]],[be,[Er,k]],[N,[{fn:oe,[P]:[Ie,"partition"]},ts]],[N,[sn,Y]],[N,[ss,mt]],[be,[sn,me]],[oe,[Ie,"resourceId[3]"],Zr(2)],[be,[rs,me]],[N,[{[F]:ja},za]],[be,[{[F]:Zr(2)},me]]],results:[[w],[w,"Accelerate cannot be used with FIPS"],[w,"Cannot set dual-stack in combination with a custom endpoint."],[w,"A custom endpoint cannot be combined with FIPS"],[w,"A custom endpoint cannot be combined with S3 Accelerate"],[w,"Partition does not support FIPS"],[w,"S3Express does not support S3 Accelerate."],["{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",Sr],[es,Sr],[w,"S3Express bucket name is not a valid virtual hostable name."],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",an],["https://{Bucket}.s3express{_s3e_fips}-{s3expressAvailabilityZoneId}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",Sr],[w,"Unrecognized S3Express bucket name format."],[yr,Sr],["https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}",an],[w,"Expected a endpoint to be specified but no endpoint was found"],["https://{Bucket}.ec2.{url#authority}",xr],["https://{Bucket}.ec2.s3-outposts.{Region}.{partitionResult#dnsSuffix}",xr],["https://{Bucket}.op-{outpostId_ssa_2}.{url#authority}",xr],["https://{Bucket}.op-{outpostId_ssa_2}.s3-outposts.{Region}.{partitionResult#dnsSuffix}",xr],[w,'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"'],[w,"Invalid Outposts Bucket alias - it must be a valid bucket name."],[w,"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."],[w,"Custom endpoint `{Endpoint}` was not a valid URI"],[w,"S3 Accelerate cannot be used in this region"],["https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],["https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",Q],["https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",Q],["https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],[qa,ee],[es,ee],[qa,Q],[es,Q],[Ka,ee],[Ka,Q],[Va,ee],[Va,Q],["https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",Q],[w,"Invalid region: region was not a valid DNS name."],[w,"S3 Object Lambda does not support Dual-stack"],[w,"S3 Object Lambda does not support S3 Accelerate"],[w,"Access points are not supported for this operation"],[w,"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`"],[w,"Invalid ARN: Missing account id"],[Qa(1),as],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",as],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",as],[w,Wa(1)],[w,"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`"],[w,"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)"],[w,"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`"],[w,"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."],[w,"Invalid ARN: bucket ARN is missing a region"],[w,"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided"],[w,"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`"],[w,"Access Points do not support S3 Accelerate"],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",it],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",it],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",it],[Qa(1),it],["https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",it],[w,"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}"],[w,"S3 MRAP does not support dual-stack"],[w,"S3 MRAP does not support FIPS"],[w,"S3 MRAP does not support S3 Accelerate"],[w,"Invalid configuration: Multi-Region Access Point ARNs are disabled."],["https://{accessPointName_ssa_1}.accesspoint.s3-global.{partitionResult#dnsSuffix}",{[Se]:[{[he]:k,name:As,[ve]:mt,[Is]:Yh}]}],[w,"Client was configured for partition `{partitionResult#name}` but bucket referred to partition `{bucketArn#partition}`"],[w,"Invalid Access Point Name"],[w,"S3 Outposts does not support Dual-stack"],[w,"S3 Outposts does not support FIPS"],[w,"S3 Outposts does not support S3 Accelerate"],[w,"Invalid Arn: Outpost Access Point ARN contains sub resources"],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.{url#authority}",nn],["https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",nn],[w,Wa(2)],[w,"Expected an outpost type `accesspoint`, found {outpostType}"],[w,"Invalid ARN: expected an access point name"],[w,"Invalid ARN: Expected a 4-component resource"],[w,"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId_ssa_1}`"],[w,"Invalid ARN: The Outpost Id was not set"],[w,"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})"],[w,"Invalid ARN: No ARN type specified"],[w,"Invalid ARN: `{Bucket}` was not a valid ARN"],[w,"Path-style addressing cannot be used with ARN buckets"],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ee],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ee],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",ee],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],[Ga,ee],[Ga,Q],[Xa,ee],[Xa,Q],["https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",Q],[w,"Path-style addressing cannot be used with S3 Accelerate"],[yr,ns],["https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",ns],["https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",ns],["https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],["https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",ee],["https://s3-fips.{Region}.{partitionResult#dnsSuffix}",Q],["https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",ee],["https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",Q],[yr,ee],[yr,Q],[Ja,ee],[Ja,Q],["https://s3.{Region}.{partitionResult#dnsSuffix}",Q],[w,"A region must be set when sending requests to S3."]]},Zh=2,ev=new Int32Array([-1,1,-1,0,3,100000115,1,424,4,2,272,5,3,233,6,4,85,7,5,15,8,8,9,100000115,16,10,13,18,11,13,19,12,13,22,100000014,13,35,14,100000042,36,100000103,435,6,271,16,7,270,17,8,19,18,14,501,106,9,20,24,10,21,24,11,22,24,12,23,24,13,547,24,14,77,25,20,73,26,26,27,78,37,28,100000086,38,100000086,29,39,47,30,48,100000058,31,50,32,100000085,51,33,136,55,100000076,34,59,35,100000084,60,39,36,61,37,100000083,62,38,146,63,41,100000046,61,40,100000083,62,41,150,64,42,100000054,66,43,100000053,70,44,100000052,71,45,100000081,73,46,100000080,74,100000078,100000079,40,48,100000057,41,100000057,49,42,185,50,48,62,51,49,100000045,52,51,53,526,60,56,54,62,100000055,55,63,57,100000046,62,100000055,57,64,58,100000054,66,59,100000053,69,60,100000065,70,61,100000052,72,100000064,100000051,49,100000045,63,51,64,526,60,67,65,62,100000055,66,63,68,100000046,62,100000055,68,64,69,100000054,66,70,100000053,68,100000047,71,70,72,100000052,72,100000050,100000051,25,74,100000042,46,100000039,75,57,76,100000041,58,100000040,100000041,26,100000088,78,28,100000087,79,34,82,80,35,81,545,36,100000103,100000115,46,100000097,83,57,84,100000099,58,100000098,100000099,5,101,86,8,87,100000115,16,88,89,18,91,89,19,90,92,21,97,95,19,93,92,21,98,95,21,97,94,22,100000014,95,35,96,100000042,36,100000103,100000042,22,100000013,98,35,99,100000042,36,100000101,100,46,100000110,100000111,6,214,102,7,208,103,8,119,104,14,118,105,21,106,100000023,26,107,502,37,108,100000086,38,100000086,109,39,112,110,48,100000058,111,50,136,100000085,40,113,100000057,41,100000057,114,42,115,500,48,100000056,116,52,117,100000072,65,100000069,100000072,21,501,100000023,9,120,124,10,121,124,11,122,124,12,123,124,13,202,124,14,195,125,20,190,126,21,127,100000023,23,128,129,24,189,129,26,130,197,37,131,100000086,38,100000086,132,39,159,133,48,100000058,134,50,135,100000085,51,141,136,55,100000076,137,59,138,100000084,60,100000083,139,61,140,100000083,63,100000083,100000046,55,100000076,142,59,143,100000084,60,148,144,61,145,100000083,62,147,146,63,150,100000046,63,153,100000046,61,149,100000083,62,153,150,64,151,100000054,66,152,100000053,70,100000082,100000052,64,154,100000054,66,155,100000053,70,156,100000052,71,157,100000081,73,158,100000080,74,100000077,100000079,40,160,100000057,41,100000057,161,42,185,162,48,174,163,49,100000045,164,51,165,526,60,168,166,62,100000055,167,63,169,100000046,62,100000055,169,64,170,100000054,66,171,100000053,69,172,100000065,70,173,100000052,72,100000063,100000051,49,100000045,175,51,176,526,60,179,177,62,100000055,178,63,180,100000046,62,100000055,180,64,181,100000054,66,182,100000053,68,100000047,183,70,184,100000052,72,100000048,100000051,48,100000056,186,52,187,100000072,65,100000069,188,67,100000070,100000071,25,100000036,100000042,21,191,100000023,25,192,100000042,30,194,193,46,100000034,100000036,46,100000033,100000035,21,196,100000023,26,100000088,197,28,100000087,198,34,201,199,35,200,545,36,100000101,100000115,46,100000095,100000096,17,203,100000022,20,204,100000021,21,205,550,33,206,550,44,100000016,207,45,100000018,100000020,8,209,215,16,210,220,18,211,220,19,212,224,20,213,227,21,231,401,8,218,215,19,216,100000009,20,217,227,21,231,100000009,16,219,220,18,223,220,19,221,224,20,222,227,21,231,100000012,19,226,224,20,225,100000009,21,100000009,100000012,20,230,227,21,228,100000009,30,229,100000009,34,100000007,100000009,21,231,415,30,232,100000008,34,100000007,100000008,4,100000002,234,5,235,480,6,271,236,7,270,237,8,238,491,9,239,243,10,240,243,11,241,243,12,242,243,13,547,243,14,266,244,20,264,245,26,246,267,37,247,100000086,38,100000086,248,39,249,518,40,250,100000057,41,100000057,251,42,538,252,48,100000043,253,49,100000045,254,51,255,526,60,258,256,62,100000055,257,63,259,100000046,62,100000055,259,64,260,100000054,66,261,100000053,69,262,100000065,70,263,100000052,72,100000062,100000051,25,265,100000042,46,100000031,100000032,26,100000088,267,28,100000087,268,34,269,544,46,100000093,100000094,8,397,100000009,8,407,100000009,3,346,273,4,100000003,274,5,284,275,8,276,100000115,15,100000005,277,16,278,281,18,279,281,19,280,281,22,100000014,281,35,282,100000042,36,100000102,283,46,100000106,100000107,6,405,285,7,395,286,8,295,287,14,501,288,26,289,502,37,290,100000086,38,100000086,291,39,292,307,40,293,100000057,41,100000057,294,42,335,500,9,296,300,10,297,300,11,298,300,12,299,300,13,394,300,14,339,301,15,100000005,302,20,337,303,26,304,341,37,305,100000086,38,100000086,306,39,309,307,48,100000058,308,50,100000074,100000085,40,310,100000057,41,100000057,311,42,335,312,48,324,313,49,100000045,314,51,315,526,60,318,316,62,100000055,317,63,319,100000046,62,100000055,319,64,320,100000054,66,321,100000053,69,322,100000065,70,323,100000052,72,100000061,100000051,49,100000045,325,51,326,526,60,329,327,62,100000055,328,63,330,100000046,62,100000055,330,64,331,100000054,66,332,100000053,68,100000047,333,70,334,100000052,72,100000049,100000051,48,100000056,336,52,100000067,100000072,25,338,100000042,46,100000027,100000028,15,100000005,340,26,100000088,341,28,100000087,342,34,345,343,35,344,545,36,100000102,100000115,46,100000091,100000092,4,100000002,347,5,357,348,8,349,100000115,15,100000005,350,16,351,354,18,352,354,19,353,354,22,100000014,354,35,355,100000042,36,100000043,356,46,100000104,100000105,6,405,358,7,395,359,8,360,491,9,361,365,10,362,365,11,363,365,12,364,365,13,394,365,14,389,366,15,100000005,367,20,387,368,26,369,391,37,370,100000086,38,100000086,371,39,372,518,40,373,100000057,41,100000057,374,42,538,375,48,100000043,376,49,100000045,377,51,378,526,60,381,379,62,100000055,380,63,382,100000046,62,100000055,382,64,383,100000054,66,384,100000053,69,385,100000065,70,386,100000052,72,100000060,100000051,25,388,100000042,46,100000025,100000026,15,100000005,390,26,100000088,391,28,100000087,392,34,393,544,46,100000089,100000090,15,100000005,547,8,396,100000009,15,100000005,397,16,398,410,18,399,410,19,400,410,20,401,100000009,27,402,100000012,29,100000011,403,31,100000011,404,32,100000011,422,8,406,100000009,15,100000005,407,16,408,410,18,409,410,19,411,410,20,100000012,100000009,20,414,412,22,413,100000009,34,100000010,100000009,22,416,415,27,419,100000012,27,418,417,34,100000010,100000012,34,100000010,419,43,100000011,420,47,100000011,421,53,100000011,422,54,100000011,423,56,100000011,100000012,2,100000001,425,3,478,426,4,100000004,427,5,438,428,8,429,100000115,16,430,433,18,431,433,19,432,433,22,100000014,433,35,434,100000042,36,100000044,435,46,100000112,436,57,437,100000114,58,100000113,100000114,6,100000006,439,7,100000006,440,8,450,441,14,501,442,26,443,502,37,444,100000086,38,100000086,445,39,446,465,40,447,100000057,41,100000057,448,42,471,449,48,100000044,500,9,451,455,10,452,455,11,453,455,12,454,455,13,547,455,14,473,456,15,460,457,20,458,461,25,459,100000042,46,100000037,100000038,20,540,461,26,462,474,37,463,100000086,38,100000086,464,39,467,465,48,100000058,466,50,100000075,100000085,40,468,100000057,41,100000057,469,42,471,470,48,100000044,524,48,100000044,472,52,100000068,100000072,26,100000088,474,28,100000087,475,34,100000100,476,35,477,545,36,100000044,100000115,4,100000002,479,5,488,480,8,481,100000115,16,482,485,18,483,485,19,484,485,22,100000014,485,35,486,100000042,36,100000043,487,46,100000108,100000109,6,100000006,489,7,100000006,490,8,503,491,14,501,492,26,493,502,37,494,100000086,38,100000086,495,39,496,518,40,497,100000057,41,100000057,498,42,538,499,48,100000043,500,49,100000045,526,26,100000088,502,28,100000087,100000115,9,504,508,10,505,508,11,506,508,12,507,508,13,547,508,14,541,509,15,513,510,20,511,514,25,512,100000042,46,100000029,100000030,20,540,514,26,515,542,37,516,100000086,38,100000086,517,39,520,518,48,100000058,519,50,100000073,100000085,40,521,100000057,41,100000057,522,42,538,523,48,100000043,524,49,100000045,525,51,529,526,60,100000055,527,62,100000055,528,63,100000055,100000046,60,532,530,62,100000055,531,63,533,100000046,62,100000055,533,64,534,100000054,66,535,100000053,69,536,100000065,70,537,100000052,72,100000059,100000051,48,100000043,539,52,100000066,100000072,25,100000024,100000042,26,100000088,542,28,100000087,543,34,100000100,544,35,546,545,36,100000042,100000115,36,100000043,100000115,17,548,100000022,20,549,100000021,33,552,550,44,100000017,551,45,100000019,100000020,44,100000015,553,45,100000015,100000020]),tv=Ut.from(ev,Zh,ln.conditions,ln.results),rv=new Ft({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),uo=n((t,e={})=>rv.get(t,()=>zt(tv,{endpointParams:t,logger:e.logger})),"defaultEndpointResolver$1");Bt.aws=cr;var sv=n(t=>async(e,r,s)=>{if(!s)throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let a=await t(e,r,s),i=ze(r)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!i)throw new Error(`getEndpointParameterInstructions() is not defined on '${r.commandName}'`);let o=await ea(s,{getEndpointParameterInstructions:i},e);return Object.assign(a,o)},"createEndpointRuleSetHttpAuthSchemeParametersProvider"),av=n(async(t,e,r)=>({operation:ze(e).operation,region:await xe(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"_defaultS3HttpAuthSchemeParametersProvider"),nv=sv(av);function lo(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(lo,"createAwsAuthSigv4HttpAuthOption$1");function po(t){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(po,"createAwsAuthSigv4aHttpAuthOption");var iv=n((t,e,r)=>n(a=>{let i=t(a).properties?.authSchemes;if(!i)return e(a);let o=[];for(let c of i){let{name:u,properties:p={},...d}=c,l=u.toLowerCase();u!==l&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${u}' to '${l}'`);let m;if(l==="sigv4a"){m="aws.auth#sigv4a";let _=i.find(I=>{let M=I.name.toLowerCase();return M!=="sigv4a"&&M.startsWith("sigv4")});if(Hr.sigv4aDependency()==="none"&&_)continue}else if(l.startsWith("sigv4"))m="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${l}'`);let v=r[m];if(!v)throw new Error(`Could not find HttpAuthOption create function for '${m}'`);let g=v(a);g.schemeId=m,g.signingProperties={...g.signingProperties||{},...d,...p},o.push(g)}return o},"endpointRuleSetHttpAuthSchemeProvider"),"createEndpointRuleSetHttpAuthSchemeProvider"),ov=n(t=>{let e=[];switch(t.operation){default:e.push(lo(t)),e.push(po(t))}return e},"_defaultS3HttpAuthSchemeProvider"),cv=iv(uo,ov,{"aws.auth#sigv4":lo,"aws.auth#sigv4a":po}),uv=n(t=>{let e=mr(t),r=ia(e);return Object.assign(r,{authSchemePreference:xe(t.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig$1"),dv=n(t=>Object.assign(t,{useFipsEndpoint:t.useFipsEndpoint??!1,useDualstackEndpoint:t.useDualstackEndpoint??!1,forcePathStyle:t.forcePathStyle??!1,useAccelerateEndpoint:t.useAccelerateEndpoint??!1,useGlobalEndpoint:t.useGlobalEndpoint??!1,disableMultiregionAccessPoints:t.disableMultiregionAccessPoints??!1,defaultSigningName:"s3",clientContextParams:t.clientContextParams??{}}),"resolveClientEndpointParameters$1"),mo=Tt({ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},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"}},"AmazonS3","S3Client",jt),lv={Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}},pv={DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}},mv=n((t,e,r,s)=>[to(r)],"_mw0"),hv=n((t,e,r,s)=>[rh(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1}),ch(r),to(r),Xh(r)],"_mw11"),K=class ho extends Ct{static{n(this,"S3ServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.s3#S3ServiceException";constructor(e){super(e),Object.setPrototypeOf(this,ho.prototype)}},vv=class vo extends K{static{n(this,"NoSuchUpload")}static shapeId="com.amazonaws.s3#NoSuchUpload";name="NoSuchUpload";$fault="client";constructor(e){super({name:"NoSuchUpload",$fault:"client",...e}),Object.setPrototypeOf(this,vo.prototype)}},fv=class fo extends K{static{n(this,"AccessDenied")}static shapeId="com.amazonaws.s3#AccessDenied";name="AccessDenied";$fault="client";constructor(e){super({name:"AccessDenied",$fault:"client",...e}),Object.setPrototypeOf(this,fo.prototype)}},gv=class go extends K{static{n(this,"ObjectNotInActiveTierError")}static shapeId="com.amazonaws.s3#ObjectNotInActiveTierError";name="ObjectNotInActiveTierError";$fault="client";constructor(e){super({name:"ObjectNotInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,go.prototype)}},yv=class yo extends K{static{n(this,"BucketAlreadyExists")}static shapeId="com.amazonaws.s3#BucketAlreadyExists";name="BucketAlreadyExists";$fault="client";constructor(e){super({name:"BucketAlreadyExists",$fault:"client",...e}),Object.setPrototypeOf(this,yo.prototype)}},Ev=class Eo extends K{static{n(this,"BucketAlreadyOwnedByYou")}static shapeId="com.amazonaws.s3#BucketAlreadyOwnedByYou";name="BucketAlreadyOwnedByYou";$fault="client";constructor(e){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...e}),Object.setPrototypeOf(this,Eo.prototype)}},Sv=class So extends K{static{n(this,"NoSuchBucket")}static shapeId="com.amazonaws.s3#NoSuchBucket";name="NoSuchBucket";$fault="client";constructor(e){super({name:"NoSuchBucket",$fault:"client",...e}),Object.setPrototypeOf(this,So.prototype)}},xv=class xo extends K{static{n(this,"NoSuchKey")}static shapeId="com.amazonaws.s3#NoSuchKey";name="NoSuchKey";$fault="client";constructor(e){super({name:"NoSuchKey",$fault:"client",...e}),Object.setPrototypeOf(this,xo.prototype)}},bv=class bo extends K{static{n(this,"InvalidObjectState")}static shapeId="com.amazonaws.s3#InvalidObjectState";name="InvalidObjectState";$fault="client";StorageClass;AccessTier;constructor(e){super({name:"InvalidObjectState",$fault:"client",...e}),Object.setPrototypeOf(this,bo.prototype),this.StorageClass=e.StorageClass,this.AccessTier=e.AccessTier}},wv=class wo extends K{static{n(this,"NoSuchAnnotation")}static shapeId="com.amazonaws.s3#NoSuchAnnotation";name="NoSuchAnnotation";$fault="client";constructor(e){super({name:"NoSuchAnnotation",$fault:"client",...e}),Object.setPrototypeOf(this,wo.prototype)}},Iv=class Io extends K{static{n(this,"NotFound")}static shapeId="com.amazonaws.s3#NotFound";name="NotFound";$fault="client";constructor(e){super({name:"NotFound",$fault:"client",...e}),Object.setPrototypeOf(this,Io.prototype)}},Cv=class Co extends K{static{n(this,"InvalidPrefix")}static shapeId="com.amazonaws.s3#InvalidPrefix";name="InvalidPrefix";$fault="client";constructor(e){super({name:"InvalidPrefix",$fault:"client",...e}),Object.setPrototypeOf(this,Co.prototype)}},Av=class Ao extends K{static{n(this,"EncryptionTypeMismatch")}static shapeId="com.amazonaws.s3#EncryptionTypeMismatch";name="EncryptionTypeMismatch";$fault="client";constructor(e){super({name:"EncryptionTypeMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,Ao.prototype)}},Rv=class Ro extends K{static{n(this,"InvalidRequest")}static shapeId="com.amazonaws.s3#InvalidRequest";name="InvalidRequest";$fault="client";constructor(e){super({name:"InvalidRequest",$fault:"client",...e}),Object.setPrototypeOf(this,Ro.prototype)}},_v=class _o extends K{static{n(this,"InvalidWriteOffset")}static shapeId="com.amazonaws.s3#InvalidWriteOffset";name="InvalidWriteOffset";$fault="client";constructor(e){super({name:"InvalidWriteOffset",$fault:"client",...e}),Object.setPrototypeOf(this,_o.prototype)}},Pv=class Po extends K{static{n(this,"TooManyParts")}static shapeId="com.amazonaws.s3#TooManyParts";name="TooManyParts";$fault="client";constructor(e){super({name:"TooManyParts",$fault:"client",...e}),Object.setPrototypeOf(this,Po.prototype)}},Tv=class To extends K{static{n(this,"AnnotationLimitExceeded")}static shapeId="com.amazonaws.s3#AnnotationLimitExceeded";name="AnnotationLimitExceeded";$fault="client";constructor(e){super({name:"AnnotationLimitExceeded",$fault:"client",...e}),Object.setPrototypeOf(this,To.prototype)}},Mv=class Mo extends K{static{n(this,"AnnotationNameTooLong")}static shapeId="com.amazonaws.s3#AnnotationNameTooLong";name="AnnotationNameTooLong";$fault="client";constructor(e){super({name:"AnnotationNameTooLong",$fault:"client",...e}),Object.setPrototypeOf(this,Mo.prototype)}},Nv=class No extends K{static{n(this,"InvalidAnnotationName")}static shapeId="com.amazonaws.s3#InvalidAnnotationName";name="InvalidAnnotationName";$fault="client";constructor(e){super({name:"InvalidAnnotationName",$fault:"client",...e}),Object.setPrototypeOf(this,No.prototype)}},kv=class ko extends K{static{n(this,"UnsupportedMediaType")}static shapeId="com.amazonaws.s3#UnsupportedMediaType";name="UnsupportedMediaType";$fault="client";constructor(e){super({name:"UnsupportedMediaType",$fault:"client",...e}),Object.setPrototypeOf(this,ko.prototype)}},$v=class $o extends K{static{n(this,"IdempotencyParameterMismatch")}static shapeId="com.amazonaws.s3#IdempotencyParameterMismatch";name="IdempotencyParameterMismatch";$fault="client";constructor(e){super({name:"IdempotencyParameterMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,$o.prototype)}},Ov=class Oo extends K{static{n(this,"ObjectAlreadyInActiveTierError")}static shapeId="com.amazonaws.s3#ObjectAlreadyInActiveTierError";name="ObjectAlreadyInActiveTierError";$fault="client";constructor(e){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,Oo.prototype)}},Dv="ACL",Lv="AccessDenied",pn="AccessKeyId",Uv="AnnotationLimitExceeded",Fv="AnnotationNameTooLong",Bv="AccessTier",Do="Bucket",zv="BucketAlreadyExists",Hv="BucketAlreadyOwnedByYou",Rr="BucketKeyEnabled",jv="Body",qv="ChecksumAlgorithm",Kv="CacheControl",Lo="ChecksumCRC32",Uo="ChecksumCRC32C",Fo="ChecksumCRC64NVME",Vv="Cache-Control",Qv="Content-Disposition",Wv="ContentDisposition",Gv="Content-Encoding",Xv="ContentEncoding",Jv="ContentLanguage",Yv="Content-Language",Zv="Content-Length",ef="ContentLength",tf="Content-MD5",Bo="ChecksumMD5",rf="ContentMD5",zo="ChecksumSHA1",Ho="ChecksumSHA256",jo="ChecksumSHA512",sf="CreateSessionOutput",af="CreateSessionResult",nf="CreateSessionRequest",of="CreateSession",cf="ChecksumType",uf="Content-Type",df="ContentType",qo="ChecksumXXHASH64",Ko="ChecksumXXHASH3",Vo="ChecksumXXHASH128",mn="Credentials",lf="ExpectedBucketOwner",hn="ETag",pf="EncryptionTypeMismatch",xs="Expiration",vn="Expires",mf="GrantFullControl",hf="GrantRead",vf="GrantReadACP",ff="GrantWriteACP",gf="InvalidAnnotationName",yf="IfMatch",Ef="If-Match",Sf="IfNoneMatch",xf="If-None-Match",bf="InvalidObjectState",wf="InvalidPrefix",If="IdempotencyParameterMismatch",Cf="InvalidRequest",Af="InvalidWriteOffset",Rf="Key",_f="Metadata",Pf="NotFound",Tf="NoSuchAnnotation",Mf="NoSuchBucket",Nf="NoSuchKey",kf="NoSuchUpload",$f="ObjectAlreadyInActiveTierError",Of="ObjectLockEventHold",Df="ObjectLockEventHoldDurationDays",Lf="ObjectLockEventHoldDurationYears",Uf="ObjectLockLegalHoldStatus",Ff="ObjectLockMode",Bf="ObjectLockRetainUntilDate",zf="ObjectNotInActiveTierError",Hf="PutObject",jf="PutObjectOutput",qf="PutObjectRequest",Kf="RequestCharged",Vf="RequestPayer",fn="SecretAccessKey",Qf="StreamingBlob",Qo="StorageClass",Wf="SessionCredentialValue",Gf="SessionCredentials",Xf="SessionMode",_r="ServerSideEncryption",Wo="SSECustomerAlgorithm",Go="SSECustomerKey",Xo="SSECustomerKeyMD5",ft="SSEKMSEncryptionContext",gt="SSEKMSKeyId",gn="SessionToken",Jf="Size",Yf="TooManyParts",Zf="Tagging",eg="UnsupportedMediaType",tg="VersionId",rg="WriteOffsetBytes",sg="WebsiteRedirectLocation",W="client",G="error",Jo="http",ag="httpChecksum",J="httpError",h="httpHeader",ng="httpPrefixHeaders",Yo="smithy.ts.sdk.synthetic.com.amazonaws.s3",ig="streaming",Ve="xmlName",og="x-amz-acl",Zo="x-amz-checksum-crc32",ec="x-amz-checksum-crc32c",tc="x-amz-checksum-crc64nvme",rc="x-amz-checksum-md5",sc="x-amz-checksum-sha1",ac="x-amz-checksum-sha256",nc="x-amz-checksum-sha512",cg="x-amz-create-session-mode",ug="x-amz-checksum-type",ic="x-amz-checksum-xxhash64",oc="x-amz-checksum-xxhash3",cc="x-amz-checksum-xxhash128",dg="x-amz-expiration",lg="x-amz-expected-bucket-owner",pg="x-amz-grant-full-control",mg="x-amz-grant-read",hg="x-amz-grant-read-acp",vg="x-amz-grant-write-acp",fg="x-amz-meta-",gg="x-amz-object-lock-event-hold",yg="x-amz-object-lock-event-hold-duration-days",Eg="x-amz-object-lock-event-hold-duration-years",Sg="x-amz-object-lock-legal-hold",xg="x-amz-object-lock-mode",bg="x-amz-object-lock-retain-until-date",wg="x-amz-object-size",Ig="x-amz-request-charged",Cg="x-amz-request-payer",Ag="x-amz-storage-class",Rg="x-amz-sdk-checksum-algorithm",Pr="x-amz-server-side-encryption",Tr="x-amz-server-side-encryption-aws-kms-key-id",Mr="x-amz-server-side-encryption-bucket-key-enabled",Nr="x-amz-server-side-encryption-context",uc="x-amz-server-side-encryption-customer-algorithm",_g="x-amz-server-side-encryption-customer-key",dc="x-amz-server-side-encryption-customer-key-MD5",Pg="x-amz-tagging",Tg="x-amz-version-id",Mg="x-amz-write-offset-bytes",Ng="x-amz-website-redirect-location",T="com.amazonaws.s3",lc=new Pe(Yo),kg=[-3,Yo,"S3ServiceException",0,[],[]];lc.registerError(kg,K);var V=new Pe(T),$g=[-3,T,Lv,{[G]:W,[J]:403},[],[]];V.registerError($g,fv);var Og=[-3,T,Uv,{[G]:W,[J]:400},[],[]];V.registerError(Og,Tv);var Dg=[-3,T,Fv,{[G]:W,[J]:400},[],[]];V.registerError(Dg,Mv);var Lg=[-3,T,zv,{[G]:W,[J]:409},[],[]];V.registerError(Lg,yv);var Ug=[-3,T,Hv,{[G]:W,[J]:409},[],[]];V.registerError(Ug,Ev);var Fg=[-3,T,pf,{[G]:W,[J]:400},[],[]];V.registerError(Fg,Av);var Bg=[-3,T,If,{[G]:W,[J]:400},[],[]];V.registerError(Bg,$v);var zg=[-3,T,gf,{[G]:W,[J]:400},[],[]];V.registerError(zg,Nv);var Hg=[-3,T,bf,{[G]:W,[J]:403},[Qo,Bv],[0,0]];V.registerError(Hg,bv);var jg=[-3,T,wf,{[G]:W,[J]:400},[],[]];V.registerError(jg,Cv);var qg=[-3,T,Cf,{[G]:W,[J]:400},[],[]];V.registerError(qg,Rv);var Kg=[-3,T,Af,{[G]:W,[J]:400},[],[]];V.registerError(Kg,_v);var Vg=[-3,T,Tf,{[G]:W,[J]:404},[],[]];V.registerError(Vg,wv);var Qg=[-3,T,Mf,{[G]:W,[J]:404},[],[]];V.registerError(Qg,Sv);var Wg=[-3,T,Nf,{[G]:W,[J]:404},[],[]];V.registerError(Wg,xv);var Gg=[-3,T,kf,{[G]:W,[J]:404},[],[]];V.registerError(Gg,vv);var Xg=[-3,T,Pf,{[G]:W},[],[]];V.registerError(Xg,Iv);var Jg=[-3,T,$f,{[G]:W,[J]:403},[],[]];V.registerError(Jg,Ov);var Yg=[-3,T,zf,{[G]:W,[J]:403},[],[]];V.registerError(Yg,gv);var Zg=[-3,T,Yf,{[G]:W,[J]:400},[],[]];V.registerError(Zg,Pv);var ey=[-3,T,eg,{[G]:W,[J]:415},[],[]];V.registerError(ey,kv);var ty=[lc,V],yn=[0,T,Wf,8,0],ry=[0,T,Go,8,0],kr=[0,T,ft,8,0],$r=[0,T,gt,8,0],sy=[0,T,Qf,{[ig]:1},42],ay=[3,T,sf,{[Ve]:af},[mn,_r,gt,ft,Rr],[[()=>cy,{[Ve]:mn}],[0,{[h]:Pr}],[()=>$r,{[h]:Tr}],[()=>kr,{[h]:Nr}],[2,{[h]:Mr}]],1],ny=[3,T,nf,0,[Do,Xf,_r,gt,ft,Rr],[[0,1],[0,{[h]:cg}],[0,{[h]:Pr}],[()=>$r,{[h]:Tr}],[()=>kr,{[h]:Nr}],[2,{[h]:Mr}]],1],iy=[3,T,jf,0,[xs,hn,Lo,Uo,Fo,zo,Ho,jo,Bo,qo,Ko,Vo,cf,_r,tg,Wo,Xo,gt,ft,Rr,Jf,Kf],[[0,{[h]:dg}],[0,{[h]:hn}],[0,{[h]:Zo}],[0,{[h]:ec}],[0,{[h]:tc}],[0,{[h]:sc}],[0,{[h]:ac}],[0,{[h]:nc}],[0,{[h]:rc}],[0,{[h]:ic}],[0,{[h]:oc}],[0,{[h]:cc}],[0,{[h]:ug}],[0,{[h]:Pr}],[0,{[h]:Tg}],[0,{[h]:uc}],[0,{[h]:dc}],[()=>$r,{[h]:Tr}],[()=>kr,{[h]:Nr}],[2,{[h]:Mr}],[1,{[h]:wg}],[0,{[h]:Ig}]]],oy=[3,T,qf,0,[Do,Rf,Dv,jv,Kv,Wv,Xv,Jv,ef,rf,df,qv,Lo,Uo,Fo,zo,Ho,jo,Bo,qo,Ko,Vo,vn,yf,Sf,mf,hf,vf,ff,rg,_f,_r,Qo,sg,Wo,Go,Xo,gt,ft,Rr,Vf,Zf,Ff,Bf,Uf,Of,Df,Lf,lf],[[0,1],[0,1],[0,{[h]:og}],[()=>sy,16],[0,{[h]:Vv}],[0,{[h]:Qv}],[0,{[h]:Gv}],[0,{[h]:Yv}],[1,{[h]:Zv}],[0,{[h]:tf}],[0,{[h]:uf}],[0,{[h]:Rg}],[0,{[h]:Zo}],[0,{[h]:ec}],[0,{[h]:tc}],[0,{[h]:sc}],[0,{[h]:ac}],[0,{[h]:nc}],[0,{[h]:rc}],[0,{[h]:ic}],[0,{[h]:oc}],[0,{[h]:cc}],[4,{[h]:vn}],[0,{[h]:Ef}],[0,{[h]:xf}],[0,{[h]:pg}],[0,{[h]:mg}],[0,{[h]:hg}],[0,{[h]:vg}],[1,{[h]:Mg}],[128,{[ng]:fg}],[0,{[h]:Pr}],[0,{[h]:Ag}],[0,{[h]:Ng}],[0,{[h]:uc}],[()=>ry,{[h]:_g}],[0,{[h]:dc}],[()=>$r,{[h]:Tr}],[()=>kr,{[h]:Nr}],[2,{[h]:Mr}],[0,{[h]:Cg}],[0,{[h]:Pg}],[0,{[h]:xg}],[5,{[h]:bg}],[0,{[h]:Sg}],[0,{[h]:gg}],[1,{[h]:yg}],[1,{[h]:Eg}],[0,{[h]:lg}]],2],cy=[3,T,Gf,0,[pn,fn,gn,xs],[[0,{[Ve]:pn}],[()=>yn,{[Ve]:fn}],[()=>yn,{[Ve]:gn}],[4,{[Ve]:xs}]],4],uy=[9,T,of,{[Jo]:["GET","/?session",200]},()=>ny,()=>ay],dy=[9,T,Hf,{[ag]:"-",[Jo]:["PUT","/{Key+}?x-id=PutObject",200]},()=>oy,()=>iy],ly=class extends mo(pv,mv,"CreateSession",uy){static{n(this,"CreateSessionCommand")}},py={name:"@aws-sdk/client-s3",version:"3.1150.0",description:"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:browser":"yarn g:vitest run -c vitest.config.browser.mts","test:browser:watch":"yarn g:vitest watch -c vitest.config.browser.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/checksums":"^3.1001.3","@aws-sdk/core":"^3.978.3","@aws-sdk/credential-provider-node":"^3.972.86","@aws-sdk/middleware-sdk-s3":"^3.972.79","@aws-sdk/signature-v4-multi-region":"^3.996.48","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.2","@smithy/fetch-http-handler":"^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{"@aws-sdk/signature-v4-crt":"3.1150.0","@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}},ae=64,En=20,Sn=new Int32Array([1732584193,4023233417,2562383102,271733878,3285377520]),my=new Int32Array([1518500249,1859775393,2400959708,3395469782]),hy=class ct{static{n(this,"Sha1Js")}digestLength=En;state=Int32Array.from(Sn);w;buffer=new Uint8Array(ae);bufferLength=0;bytesHashed=0;finished=!1;inner;outer;constructor(e){if(e){let r=ct.normalizeKey(e);this.inner=new ct,this.outer=new ct;let s=new Uint8Array(128);for(let a=0;a<ae;++a)s[a]=54^r[a],s[a+ae]=92^r[a];this.inner.update(s.subarray(0,ae)),this.outer.update(s.subarray(ae))}}update(e){if(this.finished)throw new Error("Attempted to update an already finished HMAC.");if(this.inner){this.inner.update(e);return}let r=0,{length:s}=e;if(this.bytesHashed+=s,this.bufferLength>0){for(;s>0&&this.bufferLength<ae;)this.buffer[this.bufferLength++]=e[r++],--s;this.bufferLength===ae&&(this.hashBuffer(this.buffer,0),this.bufferLength=0)}for(;s>=ae;)this.hashBuffer(e,r),r+=ae,s-=ae;for(;s>0;)this.buffer[this.bufferLength++]=e[r++],--s}async digest(){if(this.inner&&this.outer){if(this.finished)throw new Error("Attempted to digest an already finished HMAC.");this.finished=!0;let e=this.inner.digestSync();return this.outer.update(e),this.outer.digestSync()}return this.digestSync()}reset(){this.state=Int32Array.from(Sn),this.buffer=new Uint8Array(ae),this.bufferLength=0,this.bytesHashed=0}digestSync(){let e=this.state.slice(),r=this.buffer.slice(),s=this.bufferLength,a=this.bytesHashed/536870912|0,i=this.bytesHashed<<3;if(r[s++]=128,s>56){for(let u=s;u<ae;++u)r[u]=0;this.hashBufferWith(e,r,0),s=0}for(let u=s;u<56;++u)r[u]=0;let o=new DataView(r.buffer,r.byteOffset,ae);o.setUint32(56,a,!1),o.setUint32(60,i,!1),this.hashBufferWith(e,r,0);let c=new Uint8Array(En);return c[0]=e[0]>>>24&255,c[1]=e[0]>>>16&255,c[2]=e[0]>>>8&255,c[3]=e[0]&255,c[4]=e[1]>>>24&255,c[5]=e[1]>>>16&255,c[6]=e[1]>>>8&255,c[7]=e[1]&255,c[8]=e[2]>>>24&255,c[9]=e[2]>>>16&255,c[10]=e[2]>>>8&255,c[11]=e[2]&255,c[12]=e[3]>>>24&255,c[13]=e[3]>>>16&255,c[14]=e[3]>>>8&255,c[15]=e[3]&255,c[16]=e[4]>>>24&255,c[17]=e[4]>>>16&255,c[18]=e[4]>>>8&255,c[19]=e[4]&255,c}static normalizeKey(e){let r=Le(e);if(r.byteLength>ae){let a=new ct;a.update(r);let i=a.digestSync(),o=new Uint8Array(ae);return o.set(i),o}let s=new Uint8Array(ae);return s.set(r),s}hashBuffer(e,r){this.hashBufferWith(this.state,e,r)}hashBufferWith(e,r,s){let a=this.w??=new Int32Array(80),i=e[0],o=e[1],c=e[2],u=e[3],p=e[4];for(let d=0;d<16;++d)a[d]=(r[s+d*4]&255)<<24|(r[s+d*4+1]&255)<<16|(r[s+d*4+2]&255)<<8|r[s+d*4+3]&255;for(let d=16;d<80;++d){let l=a[d-3]^a[d-8]^a[d-14]^a[d-16];a[d]=l<<1|l>>>31}for(let d=0;d<80;++d){let l=d<20?0:d<40?1:d<60?2:3,m=((i<<5|i>>>27)+(l===0?o&c^~o&u:l===2?o&c^o&u^c&u:o^c^u)|0)+(p+(my[l]+a[d]|0)|0)|0;p=u,u=c,c=o<<30|o>>>2,o=i,i=m}e[0]=e[0]+i|0,e[1]=e[1]+o|0,e[2]=e[2]+c|0,e[3]=e[3]+u|0,e[4]=e[4]+p|0}},vy=(()=>{try{return dt("sha1"),!0}catch{return!1}})()?fy():hy;function fy(){return class{static{n(this,"Sha1Node")}digestLength=20;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?e0("sha1",gy(this.secret)):dt("sha1")}}}n(fy,"buildNativeClass");function gy(t){return typeof t=="string"?t:ArrayBuffer.isView(t)?Buffer.from(t.buffer,t.byteOffset,t.byteLength):Buffer.from(t)}n(gy,"toBuffer");var yy=n(t=>({apiVersion:"2006-03-01",base64Decoder:t?.base64Decoder??tt,base64Encoder:t?.base64Encoder??je,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??uo,extensions:t?.extensions??[],getAwsChunkedEncodingStream:t?.getAwsChunkedEncodingStream??m0,httpAuthSchemeProvider:t?.httpAuthSchemeProvider??cv,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new lr},{schemeId:"aws.auth#sigv4a",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4a"),"identityProvider"),signer:new na}],logger:t?.logger??new He,md5:t?.md5??Tn,protocol:t?.protocol??zh,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.s3",errorTypeRegistries:ty,xmlNamespace:"http://s3.amazonaws.com/doc/2006-03-01/",version:"2006-03-01",serviceTarget:"AmazonS3"},sdkStreamMixin:t?.sdkStreamMixin??da,serviceId:t?.serviceId??"S3",sha1:t?.sha1??vy,sha256:t?.sha256??hr,signerConstructor:t?.signerConstructor??Hr,signingEscapePath:t?.signingEscapePath??!1,urlParser:t?.urlParser??xt,useArnRegion:t?.useArnRegion??void 0,utf8Decoder:t?.utf8Decoder??Ze,utf8Encoder:t?.utf8Encoder??et}),"getRuntimeConfig$3"),Ey=n(t=>{Rt(process.version);let e=Lt(t),r=n(()=>e().then(At),"defaultConfigProvider"),s=yy(t);bt(process.version);let a={profile:t?.profile,logger:s.logger};return{...s,...t,runtime:"node",defaultsMode:e,authSchemePreference:t?.authSchemePreference??U(pr,a),bodyLengthChecker:t?.bodyLengthChecker??Mt,credentialDefaultProvider:t?.credentialDefaultProvider??bs,defaultUserAgentProvider:t?.defaultUserAgentProvider??ir({serviceId:s.serviceId,clientVersion:py.version}),disableS3ExpressSessionAuth:t?.disableS3ExpressSessionAuth??U(xh,a),eventStreamSerdeProvider:t?.eventStreamSerdeProvider??Dn,maxAttempts:t?.maxAttempts??U(Wt,t),region:t?.region??U($t,{...Ot,...a}),requestChecksumCalculation:t?.requestChecksumCalculation??U(Nm,a),requestHandler:St.create(t?.requestHandler??r),responseChecksumValidation:t?.responseChecksumValidation??U(Om,a),retryMode:t?.retryMode??U({...Xt,default:n(async()=>(await r()).retryMode||Qt,"default")},t),sigv4aSigningRegionSet:t?.sigv4aSigningRegionSet??U(oa,a),streamCollector:t?.streamCollector??Et,streamHasher:t?.streamHasher??M0,useArnRegion:t?.useArnRegion??U(qh,a),useDualstackEndpoint:t?.useDualstackEndpoint??U(Nt,a),useFipsEndpoint:t?.useFipsEndpoint??U(kt,a),userAgentAppId:t?.userAgentAppId??U(or,a)}},"getRuntimeConfig$2"),Sy=n(t=>{let e=t.httpAuthSchemes,r=t.httpAuthSchemeProvider,s=t.credentials;return{setHttpAuthScheme(a){let i=e.findIndex(o=>o.schemeId===a.schemeId);i===-1?e.push(a):e.splice(i,1,a)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(a){r=a},httpAuthSchemeProvider(){return r},setCredentials(a){s=a},credentials(){return s}}},"getHttpAuthExtensionConfiguration$1"),xy=n(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}),"resolveHttpAuthRuntimeConfig$1"),by=n((t,e)=>{let r=Object.assign(ur(t),_t(t),qt(t),Sy(t));return e.forEach(s=>s.configure(r)),Object.assign(t,dr(r),Pt(r),Kt(r),xy(r))},"resolveRuntimeExtensions$1"),wy=class extends wt{static{n(this,"S3Client")}config;constructor(...[t]){let e=Ey(t||{});super(e),this.initConfig=e;let r=dv(e),s=sh(ar(r)),a=Gt(s),i=Dt(a),o=i,c=by(fh(uv(Ln(Ht(o))),{session:[()=>this,ly]}),t?.extensions||[]);this.config=c,this.middlewareStack.use(It(this.config)),this.middlewareStack.use(nr(this.config)),this.middlewareStack.use(Jt(this.config)),this.middlewareStack.use(Vt(this.config)),this.middlewareStack.use(Yt(this.config)),this.middlewareStack.use(Zt(this.config)),this.middlewareStack.use(er(this.config)),this.middlewareStack.use(tr(this.config,{httpAuthSchemeParametersProvider:nv,identityProviderConfigProvider:n(async u=>new sr({"aws.auth#sigv4":u.credentials,"aws.auth#sigv4a":u.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(rr(this.config)),this.middlewareStack.use(Bh(this.config)),this.middlewareStack.use(Qh(this.config)),this.middlewareStack.use(mh(this.config)),this.middlewareStack.use(Ih(this.config)),this.middlewareStack.use(Ph(this.config))}destroy(){super.destroy()}},Iy=class extends mo(lv,hv,"PutObject",dy){static{n(this,"PutObjectCommand")}},Cy=n(t=>Object.assign(t,{useQueueUrlAsEndpoint:t.useQueueUrlAsEndpoint??!0}),"resolveQueueUrlConfig");function Ay({useQueueUrlAsEndpoint:t,endpoint:e}){return(r,s)=>async a=>{let{input:i}=a,o=s.endpointV2;if(!e&&i.QueueUrl&&o&&t){let c=s.logger instanceof He||!s.logger?.warn?console:s.logger;try{let u=new URL(i.QueueUrl),p=new URL(u.origin);o.url.origin!==p.origin&&(c.warn(`QueueUrl=${i.QueueUrl} differs from SQSClient resolved endpoint=${o.url.toString()}, using QueueUrl host as endpoint.
23
+ Set [endpoint=string] or [useQueueUrlAsEndpoint=false] on the SQSClient.`),s.endpointV2={...o,url:p})}catch(u){c.warn(u)}}return r(a)}}n(Ay,"queueUrlMiddleware");var Ry={name:"queueUrlMiddleware",relation:"after",toMiddleware:"endpointV2Middleware",override:!0},_y=n(t=>({applyToStack:n(e=>{e.addRelativeTo(Ay(t),Ry)},"applyToStack")}),"getQueueUrlPlugin"),Py=n(t=>e=>async r=>{let s=await e({...r});if(t.md5===!1)return s;let a=s.output,i=new t.md5;if(i.update(Le(r.input.MessageBody||"")),a.MD5OfMessageBody!==_e(await i.digest()))throw new Error("InvalidChecksumError");return s},"sendMessageMiddleware"),Ty={step:"initialize",tags:["VALIDATE_BODY_MD5"],name:"sendMessageMiddleware",override:!0},My=n(t=>({applyToStack:n(e=>{e.add(Py(t),Ty)},"applyToStack")}),"getSendMessagePlugin"),Ny=n(async(t,e,r)=>({operation:ze(e).operation,region:await xe(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),"defaultSQSHttpAuthSchemeParametersProvider");function ky(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sqs",region:t.region},propertiesExtractor:n((e,r)=>({signingProperties:{config:e,context:r}}),"propertiesExtractor")}}n(ky,"createAwsAuthSigv4HttpAuthOption");var $y=n(t=>{let e=[];switch(t.operation){default:e.push(ky(t))}return e},"defaultSQSHttpAuthSchemeProvider"),Oy=n(t=>{let e=mr(t);return Object.assign(e,{authSchemePreference:xe(t.authSchemePreference??[])})},"resolveHttpAuthSchemeConfig"),Dy=n(t=>Object.assign(t,{useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,defaultSigningName:"sqs"}),"resolveClientEndpointParameters"),Ly={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Uy={name:"@aws-sdk/client-sqs",version:"3.1150.0",description:"AWS SDK for JavaScript Sqs Client for Node.js, Browser and React Native",homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sqs",license:"Apache-2.0",author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/sdk-for-javascript/"},repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sqs"},files:["dist-*/**"],sideEffects:!1,main:"./dist-cjs/index.js",module:"./dist-es/index.js",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},types:"./dist-types/index.d.ts",typesVersions:{"<4.5":{"dist-types/*":["dist-types/ts3.4/*"]}},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},scripts:{build:"concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline","build:es":"premove dist-es && tsc -p tsconfig.es.json","build:include:deps":'yarn g:turbo run build -F="$npm_package_name"',"build:types":"premove dist-types && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"premove dist-cjs dist-es dist-types","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service",test:"yarn g:vitest run --passWithNoTests","test:watch":"yarn g:vitest watch --passWithNoTests","test:integration":"yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts","test:integration:watch":"yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:browser":"yarn g:vitest run -c vitest.config.browser.e2e.mts","test:browser:watch":"yarn g:vitest watch -c vitest.config.browser.e2e.mts","test:index":"tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"},dependencies:{"@aws-sdk/core":"^3.978.3","@aws-sdk/credential-provider-node":"^3.972.86","@aws-sdk/middleware-sdk-sqs":"^3.972.44","@aws-sdk/types":"^3.974.6","@smithy/core":"^3.35.2","@smithy/fetch-http-handler":"^5.8.0","@smithy/node-http-handler":"^4.12.1","@smithy/types":"^4.19.0",tslib:"^2.6.2"},devDependencies:{"@smithy/snapshot-testing":"^2.3.2","@tsconfig/node20":"20.1.8","@types/node":"^20.14.8",concurrently:"7.0.0","downlevel-dts":"0.10.1",premove:"4.0.0",typescript:"~7.0.2",vitest:"^4.0.17"},engines:{node:">=20.0.0"}},ht="ref",Fe=-1,br=!0,xn="isSet",pc="PartitionResult",wr="booleanEquals",os="getAttr",bn={[ht]:"Endpoint"},cs={[ht]:pc},qe={},wn=[{[ht]:"Region"}],In={conditions:[[xn,[bn]],[xn,wn],["aws.partition",wn,pc],[wr,[{[ht]:"UseFIPS"},br]],[wr,[{[ht]:"UseDualStack"},br]],[wr,[{fn:os,argv:[cs,"supportsDualStack"]},br]],[wr,[{fn:os,argv:[cs,"supportsFIPS"]},br]],["stringEquals",[{fn:os,argv:[cs,"name"]},"aws-us-gov"]]],results:[[Fe],[Fe,"Invalid Configuration: FIPS and custom endpoint are not supported"],[Fe,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[bn,qe],["https://sqs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",qe],[Fe,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sqs.{Region}.amazonaws.com",qe],["https://sqs-fips.{Region}.{PartitionResult#dnsSuffix}",qe],[Fe,"FIPS is enabled but this partition does not support FIPS"],["https://sqs.{Region}.{PartitionResult#dualStackDnsSuffix}",qe],[Fe,"DualStack is enabled but this partition does not support DualStack"],["https://sqs.{Region}.{PartitionResult#dnsSuffix}",qe],[Fe,"Invalid Configuration: Missing Region"]]},Fy=2,By=new Int32Array([-1,1,-1,0,13,3,1,4,100000012,2,5,100000012,3,8,6,4,7,100000011,5,100000009,100000010,4,11,9,6,10,100000008,7,100000006,100000007,5,12,100000005,6,100000004,100000005,3,100000001,14,4,100000002,100000003]),zy=Ut.from(By,Fy,In.conditions,In.results),Hy=new Ft({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),jy=n((t,e={})=>Hy.get(t,()=>zt(zy,{endpointParams:t,logger:e.logger})),"defaultEndpointResolver");Bt.aws=cr;var $=class mc extends Ct{static{n(this,"SQSServiceException")}static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.sqs#SQSServiceException";constructor(e){super(e),Object.setPrototypeOf(this,mc.prototype)}},qy=class hc extends ${static{n(this,"InvalidAddress")}static shapeId="com.amazonaws.sqs#InvalidAddress";name="InvalidAddress";$fault="client";constructor(e){super({name:"InvalidAddress",$fault:"client",...e}),Object.setPrototypeOf(this,hc.prototype)}},Ky=class vc extends ${static{n(this,"InvalidSecurity")}static shapeId="com.amazonaws.sqs#InvalidSecurity";name="InvalidSecurity";$fault="client";constructor(e){super({name:"InvalidSecurity",$fault:"client",...e}),Object.setPrototypeOf(this,vc.prototype)}},Vy=class fc extends ${static{n(this,"OverLimit")}static shapeId="com.amazonaws.sqs#OverLimit";name="OverLimit";$fault="client";constructor(e){super({name:"OverLimit",$fault:"client",...e}),Object.setPrototypeOf(this,fc.prototype)}},Qy=class gc extends ${static{n(this,"QueueDoesNotExist")}static shapeId="com.amazonaws.sqs#QueueDoesNotExist";name="QueueDoesNotExist";$fault="client";constructor(e){super({name:"QueueDoesNotExist",$fault:"client",...e}),Object.setPrototypeOf(this,gc.prototype)}},Wy=class yc extends ${static{n(this,"RequestThrottled")}static shapeId="com.amazonaws.sqs#RequestThrottled";name="RequestThrottled";$fault="client";constructor(e){super({name:"RequestThrottled",$fault:"client",...e}),Object.setPrototypeOf(this,yc.prototype)}},Gy=class Ec extends ${static{n(this,"UnsupportedOperation")}static shapeId="com.amazonaws.sqs#UnsupportedOperation";name="UnsupportedOperation";$fault="client";constructor(e){super({name:"UnsupportedOperation",$fault:"client",...e}),Object.setPrototypeOf(this,Ec.prototype)}},Xy=class Sc extends ${static{n(this,"ResourceNotFoundException")}static shapeId="com.amazonaws.sqs#ResourceNotFoundException";name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,Sc.prototype)}},Jy=class xc extends ${static{n(this,"MessageNotInflight")}static shapeId="com.amazonaws.sqs#MessageNotInflight";name="MessageNotInflight";$fault="client";constructor(e){super({name:"MessageNotInflight",$fault:"client",...e}),Object.setPrototypeOf(this,xc.prototype)}},Yy=class bc extends ${static{n(this,"ReceiptHandleIsInvalid")}static shapeId="com.amazonaws.sqs#ReceiptHandleIsInvalid";name="ReceiptHandleIsInvalid";$fault="client";constructor(e){super({name:"ReceiptHandleIsInvalid",$fault:"client",...e}),Object.setPrototypeOf(this,bc.prototype)}},Zy=class wc extends ${static{n(this,"BatchEntryIdsNotDistinct")}static shapeId="com.amazonaws.sqs#BatchEntryIdsNotDistinct";name="BatchEntryIdsNotDistinct";$fault="client";constructor(e){super({name:"BatchEntryIdsNotDistinct",$fault:"client",...e}),Object.setPrototypeOf(this,wc.prototype)}},eE=class Ic extends ${static{n(this,"EmptyBatchRequest")}static shapeId="com.amazonaws.sqs#EmptyBatchRequest";name="EmptyBatchRequest";$fault="client";constructor(e){super({name:"EmptyBatchRequest",$fault:"client",...e}),Object.setPrototypeOf(this,Ic.prototype)}},tE=class Cc extends ${static{n(this,"InvalidBatchEntryId")}static shapeId="com.amazonaws.sqs#InvalidBatchEntryId";name="InvalidBatchEntryId";$fault="client";constructor(e){super({name:"InvalidBatchEntryId",$fault:"client",...e}),Object.setPrototypeOf(this,Cc.prototype)}},rE=class Ac extends ${static{n(this,"TooManyEntriesInBatchRequest")}static shapeId="com.amazonaws.sqs#TooManyEntriesInBatchRequest";name="TooManyEntriesInBatchRequest";$fault="client";constructor(e){super({name:"TooManyEntriesInBatchRequest",$fault:"client",...e}),Object.setPrototypeOf(this,Ac.prototype)}},sE=class Rc extends ${static{n(this,"InvalidAttributeName")}static shapeId="com.amazonaws.sqs#InvalidAttributeName";name="InvalidAttributeName";$fault="client";constructor(e){super({name:"InvalidAttributeName",$fault:"client",...e}),Object.setPrototypeOf(this,Rc.prototype)}},aE=class _c extends ${static{n(this,"InvalidAttributeValue")}static shapeId="com.amazonaws.sqs#InvalidAttributeValue";name="InvalidAttributeValue";$fault="client";constructor(e){super({name:"InvalidAttributeValue",$fault:"client",...e}),Object.setPrototypeOf(this,_c.prototype)}},nE=class Pc extends ${static{n(this,"QueueDeletedRecently")}static shapeId="com.amazonaws.sqs#QueueDeletedRecently";name="QueueDeletedRecently";$fault="client";constructor(e){super({name:"QueueDeletedRecently",$fault:"client",...e}),Object.setPrototypeOf(this,Pc.prototype)}},iE=class Tc extends ${static{n(this,"QueueNameExists")}static shapeId="com.amazonaws.sqs#QueueNameExists";name="QueueNameExists";$fault="client";constructor(e){super({name:"QueueNameExists",$fault:"client",...e}),Object.setPrototypeOf(this,Tc.prototype)}},oE=class Mc extends ${static{n(this,"InvalidIdFormat")}static shapeId="com.amazonaws.sqs#InvalidIdFormat";name="InvalidIdFormat";$fault="client";constructor(e){super({name:"InvalidIdFormat",$fault:"client",...e}),Object.setPrototypeOf(this,Mc.prototype)}},cE=class Nc extends ${static{n(this,"PurgeQueueInProgress")}static shapeId="com.amazonaws.sqs#PurgeQueueInProgress";name="PurgeQueueInProgress";$fault="client";constructor(e){super({name:"PurgeQueueInProgress",$fault:"client",...e}),Object.setPrototypeOf(this,Nc.prototype)}},uE=class kc extends ${static{n(this,"KmsAccessDenied")}static shapeId="com.amazonaws.sqs#KmsAccessDenied";name="KmsAccessDenied";$fault="client";constructor(e){super({name:"KmsAccessDenied",$fault:"client",...e}),Object.setPrototypeOf(this,kc.prototype)}},dE=class $c extends ${static{n(this,"KmsDisabled")}static shapeId="com.amazonaws.sqs#KmsDisabled";name="KmsDisabled";$fault="client";constructor(e){super({name:"KmsDisabled",$fault:"client",...e}),Object.setPrototypeOf(this,$c.prototype)}},lE=class Oc extends ${static{n(this,"KmsInvalidKeyUsage")}static shapeId="com.amazonaws.sqs#KmsInvalidKeyUsage";name="KmsInvalidKeyUsage";$fault="client";constructor(e){super({name:"KmsInvalidKeyUsage",$fault:"client",...e}),Object.setPrototypeOf(this,Oc.prototype)}},pE=class Dc extends ${static{n(this,"KmsInvalidState")}static shapeId="com.amazonaws.sqs#KmsInvalidState";name="KmsInvalidState";$fault="client";constructor(e){super({name:"KmsInvalidState",$fault:"client",...e}),Object.setPrototypeOf(this,Dc.prototype)}},mE=class Lc extends ${static{n(this,"KmsNotFound")}static shapeId="com.amazonaws.sqs#KmsNotFound";name="KmsNotFound";$fault="client";constructor(e){super({name:"KmsNotFound",$fault:"client",...e}),Object.setPrototypeOf(this,Lc.prototype)}},hE=class Uc extends ${static{n(this,"KmsOptInRequired")}static shapeId="com.amazonaws.sqs#KmsOptInRequired";name="KmsOptInRequired";$fault="client";constructor(e){super({name:"KmsOptInRequired",$fault:"client",...e}),Object.setPrototypeOf(this,Uc.prototype)}},vE=class Fc extends ${static{n(this,"KmsThrottled")}static shapeId="com.amazonaws.sqs#KmsThrottled";name="KmsThrottled";$fault="client";constructor(e){super({name:"KmsThrottled",$fault:"client",...e}),Object.setPrototypeOf(this,Fc.prototype)}},fE=class Bc extends ${static{n(this,"InvalidMessageContents")}static shapeId="com.amazonaws.sqs#InvalidMessageContents";name="InvalidMessageContents";$fault="client";constructor(e){super({name:"InvalidMessageContents",$fault:"client",...e}),Object.setPrototypeOf(this,Bc.prototype)}},gE=class zc extends ${static{n(this,"BatchRequestTooLong")}static shapeId="com.amazonaws.sqs#BatchRequestTooLong";name="BatchRequestTooLong";$fault="client";constructor(e){super({name:"BatchRequestTooLong",$fault:"client",...e}),Object.setPrototypeOf(this,zc.prototype)}},yE="BatchEntryIdsNotDistinct",EE="BinaryList",Hc="BinaryListValues",Rs="BinaryListValue",SE="BatchRequestTooLong",jc="BinaryValue",xE="DelaySeconds",qc="DataType",bE="EmptyBatchRequest",wE="InvalidAddress",IE="InvalidAttributeName",CE="InvalidAttributeValue",AE="InvalidBatchEntryId",RE="InvalidIdFormat",_E="InvalidMessageContents",PE="InvalidSecurity",TE="KmsAccessDenied",ME="KmsDisabled",NE="KmsInvalidKeyUsage",kE="KmsInvalidState",$E="KmsNotFound",OE="KmsOptInRequired",DE="KmsThrottled",LE="MessageAttributes",UE="MessageAttributeValue",FE="MessageAttribute",BE="MessageBody",zE="MessageBodyAttributeMap",HE="MessageBodySystemAttributeMap",jE="MessageDeduplicationId",qE="MD5OfMessageAttributes",KE="MD5OfMessageBody",VE="MD5OfMessageSystemAttributes",QE="MessageGroupId",WE="MessageId",GE="MessageNotInflight",XE="MessageSystemAttributes",JE="MessageSystemAttributeValue",YE="MessageSystemAttribute",Kc="Name",ZE="OverLimit",eS="PurgeQueueInProgress",tS="QueueDoesNotExist",rS="QueueDeletedRecently",sS="QueueNameExists",aS="QueueUrl",nS="ReceiptHandleIsInvalid",iS="ResourceNotFoundException",oS="RequestThrottled",cS="StringList",Vc="StringListValues",_s="StringListValue",uS="SendMessage",dS="SendMessageRequest",lS="SendMessageResult",pS="SequenceNumber",Qc="StringValue",mS="TooManyEntriesInBatchRequest",hS="UnsupportedOperation",Wc="Value",j="awsQueryError",D="client",L="error",q="httpError",z="message",Gc="smithy.ts.sdk.synthetic.com.amazonaws.sqs",Ge="xmlFlattened",fe="xmlName",A="com.amazonaws.sqs",Xc=new Pe(Gc),vS=[-3,Gc,"SQSServiceException",0,[],[]];Xc.registerError(vS,$);var O=new Pe(A),fS=[-3,A,yE,{[j]:["AWS.SimpleQueueService.BatchEntryIdsNotDistinct",400],[L]:D,[q]:400},[z],[0]];O.registerError(fS,Zy);var gS=[-3,A,SE,{[j]:["AWS.SimpleQueueService.BatchRequestTooLong",400],[L]:D,[q]:400},[z],[0]];O.registerError(gS,gE);var yS=[-3,A,bE,{[j]:["AWS.SimpleQueueService.EmptyBatchRequest",400],[L]:D,[q]:400},[z],[0]];O.registerError(yS,eE);var ES=[-3,A,wE,{[j]:["InvalidAddress",404],[L]:D,[q]:404},[z],[0]];O.registerError(ES,qy);var SS=[-3,A,IE,{[L]:D},[z],[0]];O.registerError(SS,sE);var xS=[-3,A,CE,{[L]:D},[z],[0]];O.registerError(xS,aE);var bS=[-3,A,AE,{[j]:["AWS.SimpleQueueService.InvalidBatchEntryId",400],[L]:D,[q]:400},[z],[0]];O.registerError(bS,tE);var wS=[-3,A,RE,{[L]:D},[],[]];O.registerError(wS,oE);var IS=[-3,A,_E,{[L]:D},[z],[0]];O.registerError(IS,fE);var CS=[-3,A,PE,{[j]:["InvalidSecurity",403],[L]:D,[q]:403},[z],[0]];O.registerError(CS,Ky);var AS=[-3,A,TE,{[j]:["KMS.AccessDeniedException",400],[L]:D,[q]:400},[z],[0]];O.registerError(AS,uE);var RS=[-3,A,ME,{[j]:["KMS.DisabledException",400],[L]:D,[q]:400},[z],[0]];O.registerError(RS,dE);var _S=[-3,A,NE,{[j]:["KMS.InvalidKeyUsageException",400],[L]:D,[q]:400},[z],[0]];O.registerError(_S,lE);var PS=[-3,A,kE,{[j]:["KMS.InvalidStateException",400],[L]:D,[q]:400},[z],[0]];O.registerError(PS,pE);var TS=[-3,A,$E,{[j]:["KMS.NotFoundException",400],[L]:D,[q]:400},[z],[0]];O.registerError(TS,mE);var MS=[-3,A,OE,{[j]:["KMS.OptInRequired",403],[L]:D,[q]:403},[z],[0]];O.registerError(MS,hE);var NS=[-3,A,DE,{[j]:["KMS.ThrottlingException",400],[L]:D,[q]:400},[z],[0]];O.registerError(NS,vE);var kS=[-3,A,GE,{[j]:["AWS.SimpleQueueService.MessageNotInflight",400],[L]:D,[q]:400},[],[]];O.registerError(kS,Jy);var $S=[-3,A,ZE,{[j]:["OverLimit",403],[L]:D,[q]:403},[z],[0]];O.registerError($S,Vy);var OS=[-3,A,eS,{[j]:["AWS.SimpleQueueService.PurgeQueueInProgress",403],[L]:D,[q]:403},[z],[0]];O.registerError(OS,cE);var DS=[-3,A,rS,{[j]:["AWS.SimpleQueueService.QueueDeletedRecently",400],[L]:D,[q]:400},[z],[0]];O.registerError(DS,nE);var LS=[-3,A,tS,{[j]:["AWS.SimpleQueueService.NonExistentQueue",400],[L]:D,[q]:400},[z],[0]];O.registerError(LS,Qy);var US=[-3,A,sS,{[j]:["QueueAlreadyExists",400],[L]:D,[q]:400},[z],[0]];O.registerError(US,iE);var FS=[-3,A,nS,{[j]:["ReceiptHandleIsInvalid",404],[L]:D,[q]:404},[z],[0]];O.registerError(FS,Yy);var BS=[-3,A,oS,{[j]:["RequestThrottled",403],[L]:D,[q]:403},[z],[0]];O.registerError(BS,Wy);var zS=[-3,A,iS,{[j]:["ResourceNotFoundException",404],[L]:D,[q]:404},[z],[0]];O.registerError(zS,Xy);var HS=[-3,A,mS,{[j]:["AWS.SimpleQueueService.TooManyEntriesInBatchRequest",400],[L]:D,[q]:400},[z],[0]];O.registerError(HS,rE);var jS=[-3,A,hS,{[j]:["AWS.SimpleQueueService.UnsupportedOperation",400],[L]:D,[q]:400},[z],[0]];O.registerError(jS,Gy);var qS=[Xc,O],KS=[3,A,UE,0,[qc,Qc,jc,Vc,Hc],[0,0,21,[()=>Yc,{[Ge]:1,[fe]:_s}],[()=>Jc,{[Ge]:1,[fe]:Rs}]],1],VS=[3,A,JE,0,[qc,Qc,jc,Vc,Hc],[0,0,21,[()=>Yc,{[Ge]:1,[fe]:_s}],[()=>Jc,{[Ge]:1,[fe]:Rs}]],1],QS=[3,A,dS,0,[aS,BE,xE,LE,XE,jE,QE],[0,0,1,[()=>GS,{[Ge]:1,[fe]:FE}],[()=>XS,{[Ge]:1,[fe]:YE}],0,0],2],WS=[3,A,lS,0,[KE,qE,VE,WE,pS],[0,0,0,0,0]],Jc=[1,A,EE,0,[21,{[fe]:Rs}]],Yc=[1,A,cS,0,[0,{[fe]:_s}]],GS=[2,A,zE,0,[0,{[fe]:Kc}],[()=>KS,{[fe]:Wc}]],XS=[2,A,HE,0,[0,{[fe]:Kc}],[()=>VS,{[fe]:Wc}]],JS=[9,A,uS,0,()=>QS,()=>WS],YS=n(t=>({apiVersion:"2012-11-05",base64Decoder:t?.base64Decoder??tt,base64Encoder:t?.base64Encoder??je,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??jy,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??$y,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:n(e=>e.getIdentityProvider("aws.auth#sigv4"),"identityProvider"),signer:new lr}],logger:t?.logger??new He,md5:t?.md5??Tn,protocol:t?.protocol??E0,protocolSettings:t?.protocolSettings??{defaultNamespace:"com.amazonaws.sqs",errorTypeRegistries:qS,version:"2012-11-05",serviceTarget:"AmazonSQS",awsQueryCompatible:!0},serviceId:t?.serviceId??"SQS",sha256:t?.sha256??hr,urlParser:t?.urlParser??xt,utf8Decoder:t?.utf8Decoder??Ze,utf8Encoder:t?.utf8Encoder??et}),"getRuntimeConfig$1"),ZS=n(t=>{Rt(process.version);let e=Lt(t),r=n(()=>e().then(At),"defaultConfigProvider"),s=YS(t);bt(process.version);let a={profile:t?.profile,logger:s.logger};return{...s,...t,runtime:"node",defaultsMode:e,authSchemePreference:t?.authSchemePreference??U(pr,a),bodyLengthChecker:t?.bodyLengthChecker??Mt,credentialDefaultProvider:t?.credentialDefaultProvider??bs,defaultUserAgentProvider:t?.defaultUserAgentProvider??ir({serviceId:s.serviceId,clientVersion:Uy.version}),maxAttempts:t?.maxAttempts??U(Wt,t),region:t?.region??U($t,{...Ot,...a}),requestHandler:St.create(t?.requestHandler??r),retryMode:t?.retryMode??U({...Xt,default:n(async()=>(await r()).retryMode||Qt,"default")},t),streamCollector:t?.streamCollector??Et,useDualstackEndpoint:t?.useDualstackEndpoint??U(Nt,a),useFipsEndpoint:t?.useFipsEndpoint??U(kt,a),userAgentAppId:t?.userAgentAppId??U(or,a)}},"getRuntimeConfig"),e1=n(t=>{let e=t.httpAuthSchemes,r=t.httpAuthSchemeProvider,s=t.credentials;return{setHttpAuthScheme(a){let i=e.findIndex(o=>o.schemeId===a.schemeId);i===-1?e.push(a):e.splice(i,1,a)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(a){r=a},httpAuthSchemeProvider(){return r},setCredentials(a){s=a},credentials(){return s}}},"getHttpAuthExtensionConfiguration"),t1=n(t=>({httpAuthSchemes:t.httpAuthSchemes(),httpAuthSchemeProvider:t.httpAuthSchemeProvider(),credentials:t.credentials()}),"resolveHttpAuthRuntimeConfig"),r1=n((t,e)=>{let r=Object.assign(ur(t),_t(t),qt(t),e1(t));return e.forEach(s=>s.configure(r)),Object.assign(t,dr(r),Pt(r),Kt(r),t1(r))},"resolveRuntimeExtensions"),s1=class extends wt{static{n(this,"SQSClient")}config;constructor(...[t]){let e=ZS(t||{});super(e),this.initConfig=e;let r=Dy(e),s=ar(r),a=Gt(s),i=Dt(a),o=i,c=r1(Oy(Cy(Ht(o))),t?.extensions||[]);this.config=c,this.middlewareStack.use(It(this.config)),this.middlewareStack.use(nr(this.config)),this.middlewareStack.use(Jt(this.config)),this.middlewareStack.use(Vt(this.config)),this.middlewareStack.use(Yt(this.config)),this.middlewareStack.use(Zt(this.config)),this.middlewareStack.use(er(this.config)),this.middlewareStack.use(_y(this.config)),this.middlewareStack.use(tr(this.config,{httpAuthSchemeParametersProvider:Ny,identityProviderConfigProvider:n(async u=>new sr({"aws.auth#sigv4":u.credentials}),"identityProviderConfigProvider")})),this.middlewareStack.use(rr(this.config))}destroy(){super.destroy()}},a1=Tt(Ly,"AmazonSQS","SQSClient",jt),n1={},i1=n((t,e,r,s)=>[My(r)],"_mw3"),o1=class extends a1(n1,i1,"SendMessage",JS){static{n(this,"SendMessageCommand")}},Cn="It seems that Emails service has not been set up correctly. Please make sure you've used official CDK construct and that you've granted access to your labmda function.",c1=de({BEESOLVE_EMAILS_QUEUE_URL:Dr(re(),{message:Cn}),BEESOLVE_EMAILS_ATTACHMENTS_BUCKET:Dr(re(),{message:Cn})}),An=Ur(c1,process.env),u1=new wy,d1=new s1({}),l1=class{static{n(this,"Email")}props;s3Client;sqsClient;constructor(t={}){this.props=t,this.s3Client=t.s3Client??u1,this.sqsClient=t.sqsClient??d1}sendEmail=n(async t=>{let e=Ea(32).toString("base64url"),{attachments:r,...s}=t,a=r?await a0(async()=>Promise.all(r.map(async i=>{if(i.type==="public")return i;if(i.type==="s3"){let o=Ea(32).toString("base64url"),{body:c,...u}=i;return await this.s3Client.send(new Iy({Bucket:An.BEESOLVE_EMAILS_ATTACHMENTS_BUCKET,Key:o,Body:c})),{...u,fileId:o}}s0(i)}))):void 0;return await this.sqsClient.send(new o1({QueueUrl:An.BEESOLVE_EMAILS_QUEUE_URL,MessageBody:JSON.stringify({id:e,...s,attachments:a})})),{requestId:e}},"sendEmail")},p1=class{static{n(this,"Setup")}props;constructor(t){this.props=t}isComplete=n(async()=>{let{Item:t}=await this.props.dynamo.send(new js({TableName:this.props.tableName,Key:{pk:"system#config",sk:"setup"}}));return t!=null},"isComplete");markComplete=n(async({adminEmail:t})=>{await this.props.dynamo.send(new qs({TableName:this.props.tableName,Item:{pk:"system#config",sk:"setup",completedAt:new Date().toISOString(),adminEmail:t},ConditionExpression:"attribute_not_exists(pk) AND attribute_not_exists(sk)"}))},"markComplete")},Or=Ks.from(new Hs,{marshallOptions:{removeUndefinedValues:!0,convertEmptyValues:!1}}),m1=new Qs({dynamo:Or,tableName:Nn,reverseIndexName:kn}),h1=new Vs({dynamo:Or,tableName:Nn,reverseIndexName:kn}),Rn=new ya({dynamo:Or,tableName:$n,reverseIndexName:U0}),v1=new p1({dynamo:Or,tableName:$n}),f1=new Sm,g1=new l1,y1=new Set(["/sign-in","/sign-in/verify","/setup"]),E1=n(async({event:t,resolve:e})=>{t.locals.services={totals:m1,breakdowns:h1,users:Rn,setup:v1,authClient:f1,email:g1};let r=y1.has(t.url.pathname);if(t.locals.session.type!=="valid"&&!r&&Us(303,"/sign-in"),t.locals.session.type==="valid"&&!r)try{let s=await Rn.getByEmail({email:t.locals.session.validSession.userId});t.locals.user={email:s.email,type:s.type,domains:s.domains}}catch{t.locals.user=null}else t.locals.user=null;return e(t)},"authGuard");process.env.DEV_USER_EMAIL;var sx=jr(_m({fallbackSession:void 0}),E1);export{Vr as a,F0 as b,Y0 as c,Z0 as d,eu as e,tu as f,ru as g,su as h,au as i,nu as j,iu as k,Dn as l,Ln as m,tx as n,sx as o};
24
+ //# sourceMappingURL=chunk-QSQEGXG3.js.map