@slycode/slycode 0.2.10 → 0.2.12

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 (366) hide show
  1. package/dist/messaging/index.js +4 -2
  2. package/dist/messaging/index.js.map +1 -1
  3. package/dist/messaging/stt.d.ts +1 -0
  4. package/dist/messaging/stt.js +66 -57
  5. package/dist/messaging/stt.js.map +1 -1
  6. package/dist/messaging/types.d.ts +1 -0
  7. package/dist/web/.next/BUILD_ID +1 -1
  8. package/dist/web/.next/build-manifest.json +2 -2
  9. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  10. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/endpointResolver.js +33 -0
  11. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/endpoint/ruleset.js +7 -0
  12. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/index.js +3057 -0
  13. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/S3ServiceException.js +12 -0
  14. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/models/errors.js +203 -0
  15. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.js +67 -0
  16. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/runtimeConfig.shared.js +56 -0
  17. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/dist-cjs/schemas/schemas_0.js +3258 -0
  18. package/dist/web/.next/node_modules/@aws-sdk/client-s3-ecbef8e33fd0b8f0/package.json +127 -0
  19. package/dist/web/.next/prerender-manifest.json +3 -3
  20. package/dist/web/.next/server/app/_global-error.html +2 -2
  21. package/dist/web/.next/server/app/_global-error.rsc +1 -1
  22. package/dist/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  23. package/dist/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  24. package/dist/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  25. package/dist/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  26. package/dist/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  27. package/dist/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  28. package/dist/web/.next/server/app/_not-found.html +1 -1
  29. package/dist/web/.next/server/app/_not-found.rsc +2 -2
  30. package/dist/web/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  31. package/dist/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  32. package/dist/web/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  33. package/dist/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  34. package/dist/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  35. package/dist/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  36. package/dist/web/.next/server/app/api/cli-assets/assistant/route.js.nft.json +1 -1
  37. package/dist/web/.next/server/app/api/cli-assets/fix/route.js.nft.json +1 -1
  38. package/dist/web/.next/server/app/api/cli-assets/import/route.js.nft.json +1 -1
  39. package/dist/web/.next/server/app/api/cli-assets/route.js.nft.json +1 -1
  40. package/dist/web/.next/server/app/api/cli-assets/store/preview/route.js.nft.json +1 -1
  41. package/dist/web/.next/server/app/api/cli-assets/store/route.js.nft.json +1 -1
  42. package/dist/web/.next/server/app/api/cli-assets/sync/route.js.nft.json +1 -1
  43. package/dist/web/.next/server/app/api/cli-assets/updates/route.js.nft.json +1 -1
  44. package/dist/web/.next/server/app/api/dashboard/route.js.nft.json +1 -1
  45. package/dist/web/.next/server/app/api/file/route.js.nft.json +1 -1
  46. package/dist/web/.next/server/app/api/git-status/route.js.nft.json +1 -1
  47. package/dist/web/.next/server/app/api/kanban/route.js.nft.json +1 -1
  48. package/dist/web/.next/server/app/api/kanban/stream/route.js.nft.json +1 -1
  49. package/dist/web/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
  50. package/dist/web/.next/server/app/api/projects/reorder/route.js.nft.json +1 -1
  51. package/dist/web/.next/server/app/api/projects/route.js.nft.json +1 -1
  52. package/dist/web/.next/server/app/api/scheduler/route.js.nft.json +1 -1
  53. package/dist/web/.next/server/app/api/search/route.js.nft.json +1 -1
  54. package/dist/web/.next/server/app/api/sly-actions/invalidate/route.js.nft.json +1 -1
  55. package/dist/web/.next/server/app/api/sly-actions/route.js.nft.json +1 -1
  56. package/dist/web/.next/server/app/api/transcribe/route.js +5 -5
  57. package/dist/web/.next/server/app/api/transcribe/route.js.nft.json +1 -1
  58. package/dist/web/.next/server/app/api/version-check/route.js.nft.json +1 -1
  59. package/dist/web/.next/server/app/page.js.nft.json +1 -1
  60. package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
  61. package/dist/web/.next/server/app/project/[id]/page.js.nft.json +1 -1
  62. package/dist/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
  63. package/dist/web/.next/server/chunks/[root-of-the-server]__1b9e0d6e._.js +19 -0
  64. package/dist/web/.next/server/chunks/{[root-of-the-server]__104b2da3._.js → [root-of-the-server]__4297cb97._.js} +3 -3
  65. package/dist/web/.next/server/chunks/[root-of-the-server]__52da7fe0._.js +5 -0
  66. package/dist/web/.next/server/chunks/{[root-of-the-server]__41df0777._.js → [root-of-the-server]__cf14e306._.js} +2 -2
  67. package/dist/web/.next/server/chunks/[root-of-the-server]__d5272169._.js +3 -0
  68. package/dist/web/.next/server/chunks/[root-of-the-server]__d56e68cb._.js +3 -0
  69. package/dist/web/.next/server/chunks/[root-of-the-server]__f5dae2ad._.js +3 -0
  70. package/dist/web/.next/server/chunks/{node_modules_ec9ae6c4._.js → node_modules_269a84e6._.js} +5 -5
  71. package/dist/web/.next/server/chunks/node_modules_9fc3887b._.js +3 -0
  72. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_credential-provider-sso_dist-es_loadSso_570f147e.js +3 -0
  73. package/dist/web/.next/server/chunks/node_modules_@aws-sdk_nested-clients_dist-es_submodules_sts_index_c78619b3.js +1 -1
  74. package/dist/web/.next/server/chunks/node_modules_@smithy_smithy-client_dist-es_create-aggregated-client_db42850b.js +3 -0
  75. package/dist/web/.next/server/chunks/node_modules_c58ca22f._.js +3 -0
  76. package/dist/web/.next/server/chunks/node_modules_f96dfac4._.js +7 -0
  77. package/dist/web/.next/server/pages/404.html +1 -1
  78. package/dist/web/.next/server/pages/500.html +2 -2
  79. package/dist/web/.next/server/server-reference-manifest.js +1 -1
  80. package/dist/web/.next/server/server-reference-manifest.json +1 -1
  81. package/dist/web/.next/static/chunks/{0bab8c7c82cef548.js → 17bf7ad67057dc74.js} +1 -1
  82. package/dist/web/.next/static/chunks/{1b46e836090e130b.js → 29b5d391d655a999.js} +1 -1
  83. package/dist/web/.next/static/chunks/3df3846316317676.css +1 -0
  84. package/dist/web/.next/static/chunks/{345c46e638c28d26.js → 8cb404d087e9f3c7.js} +1 -1
  85. package/dist/web/.next/static/chunks/{de965b463aff71a9.js → e8b318caa49fce00.js} +1 -1
  86. package/dist/web/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +119 -0
  87. package/dist/web/node_modules/@aws/lambda-invoke-store/package.json +55 -0
  88. package/dist/web/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +31 -0
  89. package/dist/web/node_modules/@aws-crypto/crc32/build/main/index.js +108 -0
  90. package/dist/web/node_modules/@aws-crypto/crc32/package.json +32 -0
  91. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js +31 -0
  92. package/dist/web/node_modules/@aws-crypto/crc32c/build/main/index.js +78 -0
  93. package/dist/web/node_modules/@aws-crypto/crc32c/package.json +32 -0
  94. package/dist/web/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
  95. package/dist/web/node_modules/@aws-crypto/util/build/main/index.js +14 -0
  96. package/dist/web/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
  97. package/dist/web/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
  98. package/dist/web/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
  99. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  100. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
  101. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  102. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
  103. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  104. package/dist/web/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
  105. package/dist/web/node_modules/@aws-crypto/util/package.json +32 -0
  106. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
  107. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
  108. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
  109. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3057 -0
  110. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
  111. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
  112. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +67 -0
  113. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
  114. package/dist/web/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
  115. package/dist/web/node_modules/@aws-sdk/client-s3/package.json +127 -0
  116. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/index.js +2212 -0
  117. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -0
  118. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +307 -0
  119. package/dist/web/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1859 -0
  120. package/dist/web/node_modules/@aws-sdk/core/package.json +121 -0
  121. package/dist/web/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
  122. package/dist/web/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
  123. package/dist/web/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +41 -0
  124. package/dist/web/node_modules/@aws-sdk/credential-provider-env/package.json +63 -0
  125. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
  126. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +70 -0
  127. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +53 -0
  128. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
  129. package/dist/web/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
  130. package/dist/web/node_modules/@aws-sdk/credential-provider-http/package.json +70 -0
  131. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +224 -0
  132. package/dist/web/node_modules/@aws-sdk/credential-provider-ini/package.json +74 -0
  133. package/dist/web/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +286 -0
  134. package/dist/web/node_modules/@aws-sdk/credential-provider-login/package.json +68 -0
  135. package/dist/web/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +156 -0
  136. package/dist/web/node_modules/@aws-sdk/credential-provider-node/package.json +72 -0
  137. package/dist/web/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +79 -0
  138. package/dist/web/node_modules/@aws-sdk/credential-provider-process/package.json +64 -0
  139. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +192 -0
  140. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  141. package/dist/web/node_modules/@aws-sdk/credential-provider-sso/package.json +66 -0
  142. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +34 -0
  143. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +62 -0
  144. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +27 -0
  145. package/dist/web/node_modules/@aws-sdk/credential-provider-web-identity/package.json +73 -0
  146. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +352 -0
  147. package/dist/web/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +60 -0
  148. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +48 -0
  149. package/dist/web/node_modules/@aws-sdk/middleware-expect-continue/package.json +58 -0
  150. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +26 -0
  151. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +451 -0
  152. package/dist/web/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +78 -0
  153. package/dist/web/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +41 -0
  154. package/dist/web/node_modules/@aws-sdk/middleware-host-header/package.json +59 -0
  155. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +30 -0
  156. package/dist/web/node_modules/@aws-sdk/middleware-location-constraint/package.json +57 -0
  157. package/dist/web/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +48 -0
  158. package/dist/web/node_modules/@aws-sdk/middleware-logger/package.json +59 -0
  159. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +29 -0
  160. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +33 -0
  161. package/dist/web/node_modules/@aws-sdk/middleware-recursion-detection/package.json +63 -0
  162. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +570 -0
  163. package/dist/web/node_modules/@aws-sdk/middleware-sdk-s3/package.json +72 -0
  164. package/dist/web/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +73 -0
  165. package/dist/web/node_modules/@aws-sdk/middleware-ssec/package.json +57 -0
  166. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +194 -0
  167. package/dist/web/node_modules/@aws-sdk/middleware-user-agent/package.json +63 -0
  168. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
  169. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
  170. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +133 -0
  171. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +170 -0
  172. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  173. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  174. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +53 -0
  175. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +49 -0
  176. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  177. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
  178. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  179. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  180. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
  181. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
  182. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
  183. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  184. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
  185. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  186. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
  187. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
  188. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
  189. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +172 -0
  190. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  191. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  192. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +53 -0
  193. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +49 -0
  194. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  195. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +54 -0
  196. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
  197. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +62 -0
  198. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +19 -0
  199. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
  200. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
  201. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +202 -0
  202. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  203. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  204. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +67 -0
  205. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +50 -0
  206. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +13 -0
  207. package/dist/web/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  208. package/dist/web/node_modules/@aws-sdk/nested-clients/package.json +147 -0
  209. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +38 -0
  210. package/dist/web/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +20 -0
  211. package/dist/web/node_modules/@aws-sdk/region-config-resolver/package.json +62 -0
  212. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
  213. package/dist/web/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
  214. package/dist/web/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
  215. package/dist/web/node_modules/@aws-sdk/token-providers/package.json +70 -0
  216. package/dist/web/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
  217. package/dist/web/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
  218. package/dist/web/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +406 -0
  219. package/dist/web/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  220. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +185 -0
  221. package/dist/web/node_modules/@aws-sdk/util-user-agent-node/package.json +69 -0
  222. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +131 -0
  223. package/dist/web/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +23 -0
  224. package/dist/web/node_modules/@aws-sdk/xml-builder/package.json +63 -0
  225. package/dist/web/node_modules/@smithy/config-resolver/dist-cjs/index.js +198 -0
  226. package/dist/web/node_modules/@smithy/config-resolver/package.json +66 -0
  227. package/dist/web/node_modules/@smithy/core/dist-cjs/index.js +345 -0
  228. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1096 -0
  229. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  230. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +259 -0
  231. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +884 -0
  232. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +698 -0
  233. package/dist/web/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +694 -0
  234. package/dist/web/node_modules/@smithy/core/package.json +146 -0
  235. package/dist/web/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
  236. package/dist/web/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  237. package/dist/web/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +388 -0
  238. package/dist/web/node_modules/@smithy/eventstream-codec/package.json +65 -0
  239. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +7 -0
  240. package/dist/web/node_modules/@smithy/eventstream-serde-config-resolver/package.json +62 -0
  241. package/dist/web/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +53 -0
  242. package/dist/web/node_modules/@smithy/eventstream-serde-node/package.json +62 -0
  243. package/dist/web/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +132 -0
  244. package/dist/web/node_modules/@smithy/eventstream-serde-universal/package.json +66 -0
  245. package/dist/web/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +233 -0
  246. package/dist/web/node_modules/@smithy/fetch-http-handler/package.json +69 -0
  247. package/dist/web/node_modules/@smithy/hash-node/dist-cjs/index.js +42 -0
  248. package/dist/web/node_modules/@smithy/hash-node/package.json +65 -0
  249. package/dist/web/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +67 -0
  250. package/dist/web/node_modules/@smithy/hash-stream-node/package.json +65 -0
  251. package/dist/web/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +6 -0
  252. package/dist/web/node_modules/@smithy/is-array-buffer/package.json +61 -0
  253. package/dist/web/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +46 -0
  254. package/dist/web/node_modules/@smithy/middleware-content-length/package.json +64 -0
  255. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +7 -0
  256. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js +35 -0
  257. package/dist/web/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +264 -0
  258. package/dist/web/node_modules/@smithy/middleware-endpoint/package.json +75 -0
  259. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/index.js +355 -0
  260. package/dist/web/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
  261. package/dist/web/node_modules/@smithy/middleware-retry/package.json +79 -0
  262. package/dist/web/node_modules/@smithy/middleware-serde/dist-cjs/index.js +104 -0
  263. package/dist/web/node_modules/@smithy/middleware-serde/package.json +66 -0
  264. package/dist/web/node_modules/@smithy/middleware-stack/dist-cjs/index.js +285 -0
  265. package/dist/web/node_modules/@smithy/middleware-stack/package.json +64 -0
  266. package/dist/web/node_modules/@smithy/node-config-provider/dist-cjs/index.js +62 -0
  267. package/dist/web/node_modules/@smithy/node-config-provider/package.json +66 -0
  268. package/dist/web/node_modules/@smithy/node-http-handler/dist-cjs/index.js +762 -0
  269. package/dist/web/node_modules/@smithy/node-http-handler/package.json +68 -0
  270. package/dist/web/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  271. package/dist/web/node_modules/@smithy/property-provider/package.json +61 -0
  272. package/dist/web/node_modules/@smithy/protocol-http/dist-cjs/index.js +169 -0
  273. package/dist/web/node_modules/@smithy/protocol-http/package.json +62 -0
  274. package/dist/web/node_modules/@smithy/querystring-builder/dist-cjs/index.js +26 -0
  275. package/dist/web/node_modules/@smithy/querystring-builder/package.json +61 -0
  276. package/dist/web/node_modules/@smithy/querystring-parser/dist-cjs/index.js +27 -0
  277. package/dist/web/node_modules/@smithy/querystring-parser/package.json +61 -0
  278. package/dist/web/node_modules/@smithy/service-error-classification/dist-cjs/index.js +77 -0
  279. package/dist/web/node_modules/@smithy/service-error-classification/package.json +60 -0
  280. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  281. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  282. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +15 -0
  283. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +196 -0
  284. package/dist/web/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +16 -0
  285. package/dist/web/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  286. package/dist/web/node_modules/@smithy/signature-v4/dist-cjs/index.js +556 -0
  287. package/dist/web/node_modules/@smithy/signature-v4/package.json +70 -0
  288. package/dist/web/node_modules/@smithy/smithy-client/dist-cjs/index.js +635 -0
  289. package/dist/web/node_modules/@smithy/smithy-client/package.json +70 -0
  290. package/dist/web/node_modules/@smithy/types/dist-cjs/index.js +91 -0
  291. package/dist/web/node_modules/@smithy/types/package.json +61 -0
  292. package/dist/web/node_modules/@smithy/url-parser/dist-cjs/index.js +23 -0
  293. package/dist/web/node_modules/@smithy/url-parser/package.json +62 -0
  294. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
  295. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
  296. package/dist/web/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
  297. package/dist/web/node_modules/@smithy/util-base64/package.json +74 -0
  298. package/dist/web/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +30 -0
  299. package/dist/web/node_modules/@smithy/util-body-length-browser/package.json +61 -0
  300. package/dist/web/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +32 -0
  301. package/dist/web/node_modules/@smithy/util-body-length-node/package.json +62 -0
  302. package/dist/web/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +20 -0
  303. package/dist/web/node_modules/@smithy/util-buffer-from/package.json +62 -0
  304. package/dist/web/node_modules/@smithy/util-config-provider/dist-cjs/index.js +30 -0
  305. package/dist/web/node_modules/@smithy/util-config-provider/package.json +63 -0
  306. package/dist/web/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +74 -0
  307. package/dist/web/node_modules/@smithy/util-defaults-mode-node/package.json +67 -0
  308. package/dist/web/node_modules/@smithy/util-endpoints/dist-cjs/index.js +472 -0
  309. package/dist/web/node_modules/@smithy/util-endpoints/package.json +69 -0
  310. package/dist/web/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +38 -0
  311. package/dist/web/node_modules/@smithy/util-hex-encoding/package.json +61 -0
  312. package/dist/web/node_modules/@smithy/util-middleware/dist-cjs/index.js +15 -0
  313. package/dist/web/node_modules/@smithy/util-middleware/package.json +67 -0
  314. package/dist/web/node_modules/@smithy/util-retry/dist-cjs/index.js +278 -0
  315. package/dist/web/node_modules/@smithy/util-retry/package.json +71 -0
  316. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js +36 -0
  317. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
  318. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +64 -0
  319. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +39 -0
  320. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +12 -0
  321. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +60 -0
  322. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +103 -0
  323. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js +31 -0
  324. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +41 -0
  325. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +34 -0
  326. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/headStream.js +42 -0
  327. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/index.js +108 -0
  328. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +68 -0
  329. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +54 -0
  330. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +10 -0
  331. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +16 -0
  332. package/dist/web/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +10 -0
  333. package/dist/web/node_modules/@smithy/util-stream/package.json +99 -0
  334. package/dist/web/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +9 -0
  335. package/dist/web/node_modules/@smithy/util-uri-escape/package.json +60 -0
  336. package/dist/web/node_modules/@smithy/util-utf8/dist-cjs/index.js +32 -0
  337. package/dist/web/node_modules/@smithy/util-utf8/package.json +67 -0
  338. package/dist/web/node_modules/@smithy/util-waiter/dist-cjs/index.js +179 -0
  339. package/dist/web/node_modules/@smithy/util-waiter/package.json +63 -0
  340. package/dist/web/node_modules/@smithy/uuid/dist-cjs/index.js +36 -0
  341. package/dist/web/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
  342. package/dist/web/node_modules/@smithy/uuid/package.json +66 -0
  343. package/dist/web/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  344. package/dist/web/node_modules/fast-xml-parser/package.json +94 -0
  345. package/dist/web/node_modules/tslib/package.json +47 -0
  346. package/dist/web/node_modules/tslib/tslib.js +484 -0
  347. package/dist/web/package-lock.json +470 -161
  348. package/dist/web/package.json +3 -1
  349. package/dist/web/src/app/api/transcribe/route.ts +84 -68
  350. package/dist/web/src/components/VoiceControlBar.tsx +1 -0
  351. package/dist/web/src/lib/webm-to-ogg-opus.ts +254 -0
  352. package/dist/web/tsconfig.tsbuildinfo +1 -1
  353. package/package.json +1 -1
  354. package/templates/kanban-seed.json +1 -1
  355. package/dist/web/.next/server/chunks/[root-of-the-server]__0f8687da._.js +0 -3
  356. package/dist/web/.next/server/chunks/[root-of-the-server]__1cdc76ef._.js +0 -3
  357. package/dist/web/.next/server/chunks/[root-of-the-server]__3998d59e._.js +0 -19
  358. package/dist/web/.next/server/chunks/[root-of-the-server]__3dc5531f._.js +0 -5
  359. package/dist/web/.next/server/chunks/[root-of-the-server]__403750fd._.js +0 -3
  360. package/dist/web/.next/server/chunks/[root-of-the-server]__934c9bb4._.js +0 -5
  361. package/dist/web/.next/server/chunks/[root-of-the-server]__e00fb85f._.js +0 -9
  362. package/dist/web/.next/server/chunks/a9bf9_@aws-sdk_core_dist-es_submodules_protocols_json_AwsRestJsonProtocol_764d7a83.js +0 -3
  363. package/dist/web/.next/static/chunks/f3d7065d54a0b9ac.css +0 -1
  364. /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_buildManifest.js +0 -0
  365. /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_clientMiddlewareManifest.json +0 -0
  366. /package/dist/web/.next/static/{_fCicMElBguqtWA_EpzdZ → rlJUIaeDUP-JDj2nvHySS}/_ssgManifest.js +0 -0
@@ -0,0 +1,694 @@
1
+ 'use strict';
2
+
3
+ var uuid = require('@smithy/uuid');
4
+
5
+ const copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;
6
+
7
+ const parseBoolean = (value) => {
8
+ switch (value) {
9
+ case "true":
10
+ return true;
11
+ case "false":
12
+ return false;
13
+ default:
14
+ throw new Error(`Unable to parse boolean value "${value}"`);
15
+ }
16
+ };
17
+ const expectBoolean = (value) => {
18
+ if (value === null || value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (typeof value === "number") {
22
+ if (value === 0 || value === 1) {
23
+ logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));
24
+ }
25
+ if (value === 0) {
26
+ return false;
27
+ }
28
+ if (value === 1) {
29
+ return true;
30
+ }
31
+ }
32
+ if (typeof value === "string") {
33
+ const lower = value.toLowerCase();
34
+ if (lower === "false" || lower === "true") {
35
+ logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));
36
+ }
37
+ if (lower === "false") {
38
+ return false;
39
+ }
40
+ if (lower === "true") {
41
+ return true;
42
+ }
43
+ }
44
+ if (typeof value === "boolean") {
45
+ return value;
46
+ }
47
+ throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`);
48
+ };
49
+ const expectNumber = (value) => {
50
+ if (value === null || value === undefined) {
51
+ return undefined;
52
+ }
53
+ if (typeof value === "string") {
54
+ const parsed = parseFloat(value);
55
+ if (!Number.isNaN(parsed)) {
56
+ if (String(parsed) !== String(value)) {
57
+ logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`));
58
+ }
59
+ return parsed;
60
+ }
61
+ }
62
+ if (typeof value === "number") {
63
+ return value;
64
+ }
65
+ throw new TypeError(`Expected number, got ${typeof value}: ${value}`);
66
+ };
67
+ const MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23));
68
+ const expectFloat32 = (value) => {
69
+ const expected = expectNumber(value);
70
+ if (expected !== undefined && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) {
71
+ if (Math.abs(expected) > MAX_FLOAT) {
72
+ throw new TypeError(`Expected 32-bit float, got ${value}`);
73
+ }
74
+ }
75
+ return expected;
76
+ };
77
+ const expectLong = (value) => {
78
+ if (value === null || value === undefined) {
79
+ return undefined;
80
+ }
81
+ if (Number.isInteger(value) && !Number.isNaN(value)) {
82
+ return value;
83
+ }
84
+ throw new TypeError(`Expected integer, got ${typeof value}: ${value}`);
85
+ };
86
+ const expectInt = expectLong;
87
+ const expectInt32 = (value) => expectSizedInt(value, 32);
88
+ const expectShort = (value) => expectSizedInt(value, 16);
89
+ const expectByte = (value) => expectSizedInt(value, 8);
90
+ const expectSizedInt = (value, size) => {
91
+ const expected = expectLong(value);
92
+ if (expected !== undefined && castInt(expected, size) !== expected) {
93
+ throw new TypeError(`Expected ${size}-bit integer, got ${value}`);
94
+ }
95
+ return expected;
96
+ };
97
+ const castInt = (value, size) => {
98
+ switch (size) {
99
+ case 32:
100
+ return Int32Array.of(value)[0];
101
+ case 16:
102
+ return Int16Array.of(value)[0];
103
+ case 8:
104
+ return Int8Array.of(value)[0];
105
+ }
106
+ };
107
+ const expectNonNull = (value, location) => {
108
+ if (value === null || value === undefined) {
109
+ if (location) {
110
+ throw new TypeError(`Expected a non-null value for ${location}`);
111
+ }
112
+ throw new TypeError("Expected a non-null value");
113
+ }
114
+ return value;
115
+ };
116
+ const expectObject = (value) => {
117
+ if (value === null || value === undefined) {
118
+ return undefined;
119
+ }
120
+ if (typeof value === "object" && !Array.isArray(value)) {
121
+ return value;
122
+ }
123
+ const receivedType = Array.isArray(value) ? "array" : typeof value;
124
+ throw new TypeError(`Expected object, got ${receivedType}: ${value}`);
125
+ };
126
+ const expectString = (value) => {
127
+ if (value === null || value === undefined) {
128
+ return undefined;
129
+ }
130
+ if (typeof value === "string") {
131
+ return value;
132
+ }
133
+ if (["boolean", "number", "bigint"].includes(typeof value)) {
134
+ logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`));
135
+ return String(value);
136
+ }
137
+ throw new TypeError(`Expected string, got ${typeof value}: ${value}`);
138
+ };
139
+ const expectUnion = (value) => {
140
+ if (value === null || value === undefined) {
141
+ return undefined;
142
+ }
143
+ const asObject = expectObject(value);
144
+ const setKeys = Object.entries(asObject)
145
+ .filter(([, v]) => v != null)
146
+ .map(([k]) => k);
147
+ if (setKeys.length === 0) {
148
+ throw new TypeError(`Unions must have exactly one non-null member. None were found.`);
149
+ }
150
+ if (setKeys.length > 1) {
151
+ throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`);
152
+ }
153
+ return asObject;
154
+ };
155
+ const strictParseDouble = (value) => {
156
+ if (typeof value == "string") {
157
+ return expectNumber(parseNumber(value));
158
+ }
159
+ return expectNumber(value);
160
+ };
161
+ const strictParseFloat = strictParseDouble;
162
+ const strictParseFloat32 = (value) => {
163
+ if (typeof value == "string") {
164
+ return expectFloat32(parseNumber(value));
165
+ }
166
+ return expectFloat32(value);
167
+ };
168
+ const NUMBER_REGEX = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g;
169
+ const parseNumber = (value) => {
170
+ const matches = value.match(NUMBER_REGEX);
171
+ if (matches === null || matches[0].length !== value.length) {
172
+ throw new TypeError(`Expected real number, got implicit NaN`);
173
+ }
174
+ return parseFloat(value);
175
+ };
176
+ const limitedParseDouble = (value) => {
177
+ if (typeof value == "string") {
178
+ return parseFloatString(value);
179
+ }
180
+ return expectNumber(value);
181
+ };
182
+ const handleFloat = limitedParseDouble;
183
+ const limitedParseFloat = limitedParseDouble;
184
+ const limitedParseFloat32 = (value) => {
185
+ if (typeof value == "string") {
186
+ return parseFloatString(value);
187
+ }
188
+ return expectFloat32(value);
189
+ };
190
+ const parseFloatString = (value) => {
191
+ switch (value) {
192
+ case "NaN":
193
+ return NaN;
194
+ case "Infinity":
195
+ return Infinity;
196
+ case "-Infinity":
197
+ return -Infinity;
198
+ default:
199
+ throw new Error(`Unable to parse float value: ${value}`);
200
+ }
201
+ };
202
+ const strictParseLong = (value) => {
203
+ if (typeof value === "string") {
204
+ return expectLong(parseNumber(value));
205
+ }
206
+ return expectLong(value);
207
+ };
208
+ const strictParseInt = strictParseLong;
209
+ const strictParseInt32 = (value) => {
210
+ if (typeof value === "string") {
211
+ return expectInt32(parseNumber(value));
212
+ }
213
+ return expectInt32(value);
214
+ };
215
+ const strictParseShort = (value) => {
216
+ if (typeof value === "string") {
217
+ return expectShort(parseNumber(value));
218
+ }
219
+ return expectShort(value);
220
+ };
221
+ const strictParseByte = (value) => {
222
+ if (typeof value === "string") {
223
+ return expectByte(parseNumber(value));
224
+ }
225
+ return expectByte(value);
226
+ };
227
+ const stackTraceWarning = (message) => {
228
+ return String(new TypeError(message).stack || message)
229
+ .split("\n")
230
+ .slice(0, 5)
231
+ .filter((s) => !s.includes("stackTraceWarning"))
232
+ .join("\n");
233
+ };
234
+ const logger = {
235
+ warn: console.warn,
236
+ };
237
+
238
+ const DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
239
+ const MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
240
+ function dateToUtcString(date) {
241
+ const year = date.getUTCFullYear();
242
+ const month = date.getUTCMonth();
243
+ const dayOfWeek = date.getUTCDay();
244
+ const dayOfMonthInt = date.getUTCDate();
245
+ const hoursInt = date.getUTCHours();
246
+ const minutesInt = date.getUTCMinutes();
247
+ const secondsInt = date.getUTCSeconds();
248
+ const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`;
249
+ const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`;
250
+ const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`;
251
+ const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`;
252
+ return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`;
253
+ }
254
+ const RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);
255
+ const parseRfc3339DateTime = (value) => {
256
+ if (value === null || value === undefined) {
257
+ return undefined;
258
+ }
259
+ if (typeof value !== "string") {
260
+ throw new TypeError("RFC-3339 date-times must be expressed as strings");
261
+ }
262
+ const match = RFC3339.exec(value);
263
+ if (!match) {
264
+ throw new TypeError("Invalid RFC-3339 date-time value");
265
+ }
266
+ const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match;
267
+ const year = strictParseShort(stripLeadingZeroes(yearStr));
268
+ const month = parseDateValue(monthStr, "month", 1, 12);
269
+ const day = parseDateValue(dayStr, "day", 1, 31);
270
+ return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });
271
+ };
272
+ const RFC3339_WITH_OFFSET$1 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/);
273
+ const parseRfc3339DateTimeWithOffset = (value) => {
274
+ if (value === null || value === undefined) {
275
+ return undefined;
276
+ }
277
+ if (typeof value !== "string") {
278
+ throw new TypeError("RFC-3339 date-times must be expressed as strings");
279
+ }
280
+ const match = RFC3339_WITH_OFFSET$1.exec(value);
281
+ if (!match) {
282
+ throw new TypeError("Invalid RFC-3339 date-time value");
283
+ }
284
+ const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match;
285
+ const year = strictParseShort(stripLeadingZeroes(yearStr));
286
+ const month = parseDateValue(monthStr, "month", 1, 12);
287
+ const day = parseDateValue(dayStr, "day", 1, 31);
288
+ const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds });
289
+ if (offsetStr.toUpperCase() != "Z") {
290
+ date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr));
291
+ }
292
+ return date;
293
+ };
294
+ const IMF_FIXDATE$1 = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);
295
+ const RFC_850_DATE$1 = new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/);
296
+ const ASC_TIME$1 = new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/);
297
+ const parseRfc7231DateTime = (value) => {
298
+ if (value === null || value === undefined) {
299
+ return undefined;
300
+ }
301
+ if (typeof value !== "string") {
302
+ throw new TypeError("RFC-7231 date-times must be expressed as strings");
303
+ }
304
+ let match = IMF_FIXDATE$1.exec(value);
305
+ if (match) {
306
+ const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;
307
+ return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });
308
+ }
309
+ match = RFC_850_DATE$1.exec(value);
310
+ if (match) {
311
+ const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match;
312
+ return adjustRfc850Year(buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), {
313
+ hours,
314
+ minutes,
315
+ seconds,
316
+ fractionalMilliseconds,
317
+ }));
318
+ }
319
+ match = ASC_TIME$1.exec(value);
320
+ if (match) {
321
+ const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match;
322
+ return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseMonthByShortName(monthStr), parseDateValue(dayStr.trimLeft(), "day", 1, 31), { hours, minutes, seconds, fractionalMilliseconds });
323
+ }
324
+ throw new TypeError("Invalid RFC-7231 date-time value");
325
+ };
326
+ const parseEpochTimestamp = (value) => {
327
+ if (value === null || value === undefined) {
328
+ return undefined;
329
+ }
330
+ let valueAsDouble;
331
+ if (typeof value === "number") {
332
+ valueAsDouble = value;
333
+ }
334
+ else if (typeof value === "string") {
335
+ valueAsDouble = strictParseDouble(value);
336
+ }
337
+ else if (typeof value === "object" && value.tag === 1) {
338
+ valueAsDouble = value.value;
339
+ }
340
+ else {
341
+ throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");
342
+ }
343
+ if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) {
344
+ throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");
345
+ }
346
+ return new Date(Math.round(valueAsDouble * 1000));
347
+ };
348
+ const buildDate = (year, month, day, time) => {
349
+ const adjustedMonth = month - 1;
350
+ validateDayOfMonth(year, adjustedMonth, day);
351
+ return new Date(Date.UTC(year, adjustedMonth, day, parseDateValue(time.hours, "hour", 0, 23), parseDateValue(time.minutes, "minute", 0, 59), parseDateValue(time.seconds, "seconds", 0, 60), parseMilliseconds(time.fractionalMilliseconds)));
352
+ };
353
+ const parseTwoDigitYear = (value) => {
354
+ const thisYear = new Date().getUTCFullYear();
355
+ const valueInThisCentury = Math.floor(thisYear / 100) * 100 + strictParseShort(stripLeadingZeroes(value));
356
+ if (valueInThisCentury < thisYear) {
357
+ return valueInThisCentury + 100;
358
+ }
359
+ return valueInThisCentury;
360
+ };
361
+ const FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1000;
362
+ const adjustRfc850Year = (input) => {
363
+ if (input.getTime() - new Date().getTime() > FIFTY_YEARS_IN_MILLIS) {
364
+ return new Date(Date.UTC(input.getUTCFullYear() - 100, input.getUTCMonth(), input.getUTCDate(), input.getUTCHours(), input.getUTCMinutes(), input.getUTCSeconds(), input.getUTCMilliseconds()));
365
+ }
366
+ return input;
367
+ };
368
+ const parseMonthByShortName = (value) => {
369
+ const monthIdx = MONTHS.indexOf(value);
370
+ if (monthIdx < 0) {
371
+ throw new TypeError(`Invalid month: ${value}`);
372
+ }
373
+ return monthIdx + 1;
374
+ };
375
+ const DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
376
+ const validateDayOfMonth = (year, month, day) => {
377
+ let maxDays = DAYS_IN_MONTH[month];
378
+ if (month === 1 && isLeapYear(year)) {
379
+ maxDays = 29;
380
+ }
381
+ if (day > maxDays) {
382
+ throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`);
383
+ }
384
+ };
385
+ const isLeapYear = (year) => {
386
+ return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
387
+ };
388
+ const parseDateValue = (value, type, lower, upper) => {
389
+ const dateVal = strictParseByte(stripLeadingZeroes(value));
390
+ if (dateVal < lower || dateVal > upper) {
391
+ throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`);
392
+ }
393
+ return dateVal;
394
+ };
395
+ const parseMilliseconds = (value) => {
396
+ if (value === null || value === undefined) {
397
+ return 0;
398
+ }
399
+ return strictParseFloat32("0." + value) * 1000;
400
+ };
401
+ const parseOffsetToMilliseconds = (value) => {
402
+ const directionStr = value[0];
403
+ let direction = 1;
404
+ if (directionStr == "+") {
405
+ direction = 1;
406
+ }
407
+ else if (directionStr == "-") {
408
+ direction = -1;
409
+ }
410
+ else {
411
+ throw new TypeError(`Offset direction, ${directionStr}, must be "+" or "-"`);
412
+ }
413
+ const hour = Number(value.substring(1, 3));
414
+ const minute = Number(value.substring(4, 6));
415
+ return direction * (hour * 60 + minute) * 60 * 1000;
416
+ };
417
+ const stripLeadingZeroes = (value) => {
418
+ let idx = 0;
419
+ while (idx < value.length - 1 && value.charAt(idx) === "0") {
420
+ idx++;
421
+ }
422
+ if (idx === 0) {
423
+ return value;
424
+ }
425
+ return value.slice(idx);
426
+ };
427
+
428
+ const LazyJsonString = function LazyJsonString(val) {
429
+ const str = Object.assign(new String(val), {
430
+ deserializeJSON() {
431
+ return JSON.parse(String(val));
432
+ },
433
+ toString() {
434
+ return String(val);
435
+ },
436
+ toJSON() {
437
+ return String(val);
438
+ },
439
+ });
440
+ return str;
441
+ };
442
+ LazyJsonString.from = (object) => {
443
+ if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) {
444
+ return object;
445
+ }
446
+ else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) {
447
+ return LazyJsonString(String(object));
448
+ }
449
+ return LazyJsonString(JSON.stringify(object));
450
+ };
451
+ LazyJsonString.fromObject = LazyJsonString.from;
452
+
453
+ function quoteHeader(part) {
454
+ if (part.includes(",") || part.includes('"')) {
455
+ part = `"${part.replace(/"/g, '\\"')}"`;
456
+ }
457
+ return part;
458
+ }
459
+
460
+ const ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
461
+ const mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
462
+ const time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
463
+ const date = `(\\d?\\d)`;
464
+ const year = `(\\d{4})`;
465
+ const RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/);
466
+ const IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time} GMT$`);
467
+ const RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\d\\d) ${time} GMT$`);
468
+ const ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\d\\d) ${time} ${year}$`);
469
+ const months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
470
+ const _parseEpochTimestamp = (value) => {
471
+ if (value == null) {
472
+ return void 0;
473
+ }
474
+ let num = NaN;
475
+ if (typeof value === "number") {
476
+ num = value;
477
+ }
478
+ else if (typeof value === "string") {
479
+ if (!/^-?\d*\.?\d+$/.test(value)) {
480
+ throw new TypeError(`parseEpochTimestamp - numeric string invalid.`);
481
+ }
482
+ num = Number.parseFloat(value);
483
+ }
484
+ else if (typeof value === "object" && value.tag === 1) {
485
+ num = value.value;
486
+ }
487
+ if (isNaN(num) || Math.abs(num) === Infinity) {
488
+ throw new TypeError("Epoch timestamps must be valid finite numbers.");
489
+ }
490
+ return new Date(Math.round(num * 1000));
491
+ };
492
+ const _parseRfc3339DateTimeWithOffset = (value) => {
493
+ if (value == null) {
494
+ return void 0;
495
+ }
496
+ if (typeof value !== "string") {
497
+ throw new TypeError("RFC3339 timestamps must be strings");
498
+ }
499
+ const matches = RFC3339_WITH_OFFSET.exec(value);
500
+ if (!matches) {
501
+ throw new TypeError(`Invalid RFC3339 timestamp format ${value}`);
502
+ }
503
+ const [, yearStr, monthStr, dayStr, hours, minutes, seconds, , ms, offsetStr] = matches;
504
+ range(monthStr, 1, 12);
505
+ range(dayStr, 1, 31);
506
+ range(hours, 0, 23);
507
+ range(minutes, 0, 59);
508
+ range(seconds, 0, 60);
509
+ const date = new Date(Date.UTC(Number(yearStr), Number(monthStr) - 1, Number(dayStr), Number(hours), Number(minutes), Number(seconds), Number(ms) ? Math.round(parseFloat(`0.${ms}`) * 1000) : 0));
510
+ date.setUTCFullYear(Number(yearStr));
511
+ if (offsetStr.toUpperCase() != "Z") {
512
+ const [, sign, offsetH, offsetM] = /([+-])(\d\d):(\d\d)/.exec(offsetStr) || [void 0, "+", 0, 0];
513
+ const scalar = sign === "-" ? 1 : -1;
514
+ date.setTime(date.getTime() + scalar * (Number(offsetH) * 60 * 60 * 1000 + Number(offsetM) * 60 * 1000));
515
+ }
516
+ return date;
517
+ };
518
+ const _parseRfc7231DateTime = (value) => {
519
+ if (value == null) {
520
+ return void 0;
521
+ }
522
+ if (typeof value !== "string") {
523
+ throw new TypeError("RFC7231 timestamps must be strings.");
524
+ }
525
+ let day;
526
+ let month;
527
+ let year;
528
+ let hour;
529
+ let minute;
530
+ let second;
531
+ let fraction;
532
+ let matches;
533
+ if ((matches = IMF_FIXDATE.exec(value))) {
534
+ [, day, month, year, hour, minute, second, fraction] = matches;
535
+ }
536
+ else if ((matches = RFC_850_DATE.exec(value))) {
537
+ [, day, month, year, hour, minute, second, fraction] = matches;
538
+ year = (Number(year) + 1900).toString();
539
+ }
540
+ else if ((matches = ASC_TIME.exec(value))) {
541
+ [, month, day, hour, minute, second, fraction, year] = matches;
542
+ }
543
+ if (year && second) {
544
+ const timestamp = Date.UTC(Number(year), months.indexOf(month), Number(day), Number(hour), Number(minute), Number(second), fraction ? Math.round(parseFloat(`0.${fraction}`) * 1000) : 0);
545
+ range(day, 1, 31);
546
+ range(hour, 0, 23);
547
+ range(minute, 0, 59);
548
+ range(second, 0, 60);
549
+ const date = new Date(timestamp);
550
+ date.setUTCFullYear(Number(year));
551
+ return date;
552
+ }
553
+ throw new TypeError(`Invalid RFC7231 date-time value ${value}.`);
554
+ };
555
+ function range(v, min, max) {
556
+ const _v = Number(v);
557
+ if (_v < min || _v > max) {
558
+ throw new Error(`Value ${_v} out of range [${min}, ${max}]`);
559
+ }
560
+ }
561
+
562
+ function splitEvery(value, delimiter, numDelimiters) {
563
+ if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {
564
+ throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");
565
+ }
566
+ const segments = value.split(delimiter);
567
+ if (numDelimiters === 1) {
568
+ return segments;
569
+ }
570
+ const compoundSegments = [];
571
+ let currentSegment = "";
572
+ for (let i = 0; i < segments.length; i++) {
573
+ if (currentSegment === "") {
574
+ currentSegment = segments[i];
575
+ }
576
+ else {
577
+ currentSegment += delimiter + segments[i];
578
+ }
579
+ if ((i + 1) % numDelimiters === 0) {
580
+ compoundSegments.push(currentSegment);
581
+ currentSegment = "";
582
+ }
583
+ }
584
+ if (currentSegment !== "") {
585
+ compoundSegments.push(currentSegment);
586
+ }
587
+ return compoundSegments;
588
+ }
589
+
590
+ const splitHeader = (value) => {
591
+ const z = value.length;
592
+ const values = [];
593
+ let withinQuotes = false;
594
+ let prevChar = undefined;
595
+ let anchor = 0;
596
+ for (let i = 0; i < z; ++i) {
597
+ const char = value[i];
598
+ switch (char) {
599
+ case `"`:
600
+ if (prevChar !== "\\") {
601
+ withinQuotes = !withinQuotes;
602
+ }
603
+ break;
604
+ case ",":
605
+ if (!withinQuotes) {
606
+ values.push(value.slice(anchor, i));
607
+ anchor = i + 1;
608
+ }
609
+ break;
610
+ }
611
+ prevChar = char;
612
+ }
613
+ values.push(value.slice(anchor));
614
+ return values.map((v) => {
615
+ v = v.trim();
616
+ const z = v.length;
617
+ if (z < 2) {
618
+ return v;
619
+ }
620
+ if (v[0] === `"` && v[z - 1] === `"`) {
621
+ v = v.slice(1, z - 1);
622
+ }
623
+ return v.replace(/\\"/g, '"');
624
+ });
625
+ };
626
+
627
+ const format = /^-?\d*(\.\d+)?$/;
628
+ class NumericValue {
629
+ string;
630
+ type;
631
+ constructor(string, type) {
632
+ this.string = string;
633
+ this.type = type;
634
+ if (!format.test(string)) {
635
+ throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`);
636
+ }
637
+ }
638
+ toString() {
639
+ return this.string;
640
+ }
641
+ static [Symbol.hasInstance](object) {
642
+ if (!object || typeof object !== "object") {
643
+ return false;
644
+ }
645
+ const _nv = object;
646
+ return NumericValue.prototype.isPrototypeOf(object) || (_nv.type === "bigDecimal" && format.test(_nv.string));
647
+ }
648
+ }
649
+ function nv(input) {
650
+ return new NumericValue(String(input), "bigDecimal");
651
+ }
652
+
653
+ exports.generateIdempotencyToken = uuid.v4;
654
+ exports.LazyJsonString = LazyJsonString;
655
+ exports.NumericValue = NumericValue;
656
+ exports._parseEpochTimestamp = _parseEpochTimestamp;
657
+ exports._parseRfc3339DateTimeWithOffset = _parseRfc3339DateTimeWithOffset;
658
+ exports._parseRfc7231DateTime = _parseRfc7231DateTime;
659
+ exports.copyDocumentWithTransform = copyDocumentWithTransform;
660
+ exports.dateToUtcString = dateToUtcString;
661
+ exports.expectBoolean = expectBoolean;
662
+ exports.expectByte = expectByte;
663
+ exports.expectFloat32 = expectFloat32;
664
+ exports.expectInt = expectInt;
665
+ exports.expectInt32 = expectInt32;
666
+ exports.expectLong = expectLong;
667
+ exports.expectNonNull = expectNonNull;
668
+ exports.expectNumber = expectNumber;
669
+ exports.expectObject = expectObject;
670
+ exports.expectShort = expectShort;
671
+ exports.expectString = expectString;
672
+ exports.expectUnion = expectUnion;
673
+ exports.handleFloat = handleFloat;
674
+ exports.limitedParseDouble = limitedParseDouble;
675
+ exports.limitedParseFloat = limitedParseFloat;
676
+ exports.limitedParseFloat32 = limitedParseFloat32;
677
+ exports.logger = logger;
678
+ exports.nv = nv;
679
+ exports.parseBoolean = parseBoolean;
680
+ exports.parseEpochTimestamp = parseEpochTimestamp;
681
+ exports.parseRfc3339DateTime = parseRfc3339DateTime;
682
+ exports.parseRfc3339DateTimeWithOffset = parseRfc3339DateTimeWithOffset;
683
+ exports.parseRfc7231DateTime = parseRfc7231DateTime;
684
+ exports.quoteHeader = quoteHeader;
685
+ exports.splitEvery = splitEvery;
686
+ exports.splitHeader = splitHeader;
687
+ exports.strictParseByte = strictParseByte;
688
+ exports.strictParseDouble = strictParseDouble;
689
+ exports.strictParseFloat = strictParseFloat;
690
+ exports.strictParseFloat32 = strictParseFloat32;
691
+ exports.strictParseInt = strictParseInt;
692
+ exports.strictParseInt32 = strictParseInt32;
693
+ exports.strictParseLong = strictParseLong;
694
+ exports.strictParseShort = strictParseShort;