nggrouter 0.1.20 → 0.1.21

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 (919) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +16 -16
  3. package/app/.next-cli-build/build-manifest.json +4 -4
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/react-loadable-manifest.json +2 -2
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/addons/page_client-reference-manifest.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/arena/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/system-status/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  35. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  36. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  37. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  38. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  39. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  41. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  42. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  43. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  44. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  45. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  46. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  47. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  48. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  49. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  50. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  51. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  52. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  53. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  54. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  55. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  56. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
  57. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  58. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  59. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  60. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  61. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  62. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  63. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  64. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  65. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  66. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  67. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  68. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  69. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  70. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  71. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  72. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  73. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  74. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
  75. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  76. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  77. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  78. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  79. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  80. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  81. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  82. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  83. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  84. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  85. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  86. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  87. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  88. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  89. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  90. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  91. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  92. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  94. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/providers/bulk-proxy/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  126. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  138. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  152. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  153. package/app/.next-cli-build/server/app/callback.html +1 -1
  154. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  155. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  156. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  157. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  158. package/app/.next-cli-build/server/app/dashboard/arena.html +2 -2
  159. package/app/.next-cli-build/server/app/dashboard/arena.rsc +4 -4
  160. package/app/.next-cli-build/server/app/dashboard/arena.segments/!KGRhc2hib2FyZCk/dashboard/arena/__PAGE__.segment.rsc +4 -4
  161. package/app/.next-cli-build/server/app/dashboard/arena.segments/_full.segment.rsc +4 -4
  162. package/app/.next-cli-build/server/app/dashboard/arena.segments/_tree.segment.rsc +1 -1
  163. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  164. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +4 -4
  165. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +4 -4
  166. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +4 -4
  167. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  168. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  169. package/app/.next-cli-build/server/app/dashboard/combos.rsc +4 -4
  170. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +4 -4
  171. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +4 -4
  172. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  173. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  174. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +4 -4
  175. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +4 -4
  176. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +4 -4
  177. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  178. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  179. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +4 -4
  180. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +4 -4
  181. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +4 -4
  182. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  183. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  184. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +4 -4
  185. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +4 -4
  186. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +4 -4
  187. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  188. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  189. package/app/.next-cli-build/server/app/dashboard/profile.rsc +4 -4
  190. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +4 -4
  191. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +4 -4
  192. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  193. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  194. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +4 -4
  195. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +4 -4
  196. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +4 -4
  197. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  198. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  199. package/app/.next-cli-build/server/app/dashboard/providers.rsc +4 -4
  200. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +4 -4
  201. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +4 -4
  202. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  203. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  204. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +4 -4
  205. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +4 -4
  206. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +4 -4
  207. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  208. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  209. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +4 -4
  210. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +4 -4
  211. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +4 -4
  212. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  213. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  214. package/app/.next-cli-build/server/app/dashboard/quota.rsc +4 -4
  215. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +4 -4
  216. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +4 -4
  217. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  218. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  219. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  220. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  221. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  222. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  223. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
  224. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  225. package/app/.next-cli-build/server/app/dashboard/skills.rsc +4 -4
  226. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +4 -4
  227. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +4 -4
  228. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  229. package/app/.next-cli-build/server/app/dashboard/system-status.html +1 -1
  230. package/app/.next-cli-build/server/app/dashboard/system-status.rsc +4 -4
  231. package/app/.next-cli-build/server/app/dashboard/system-status.segments/!KGRhc2hib2FyZCk/dashboard/system-status/__PAGE__.segment.rsc +4 -4
  232. package/app/.next-cli-build/server/app/dashboard/system-status.segments/_full.segment.rsc +4 -4
  233. package/app/.next-cli-build/server/app/dashboard/system-status.segments/_tree.segment.rsc +1 -1
  234. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  235. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +4 -4
  236. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +4 -4
  237. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +4 -4
  238. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  239. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  240. package/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
  241. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +5 -5
  242. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
  243. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  244. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  245. package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
  246. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +5 -5
  247. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
  248. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  249. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  250. package/app/.next-cli-build/server/app/dashboard.rsc +4 -4
  251. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +4 -4
  252. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +4 -4
  253. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  254. package/app/.next-cli-build/server/app/index.html +1 -1
  255. package/app/.next-cli-build/server/app/index.rsc +4 -4
  256. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  257. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  258. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  259. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  260. package/app/.next-cli-build/server/app/landing.html +1 -1
  261. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  262. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  263. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  264. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  265. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  266. package/app/.next-cli-build/server/app/login.html +1 -1
  267. package/app/.next-cli-build/server/app/login.rsc +4 -4
  268. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
  269. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  270. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  271. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  272. package/app/.next-cli-build/server/app-paths-manifest.json +16 -16
  273. package/app/.next-cli-build/server/chunks/1132.js +1 -1
  274. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  275. package/app/.next-cli-build/server/chunks/1757.js +1 -1
  276. package/app/.next-cli-build/server/chunks/1998.js +1 -1
  277. package/app/.next-cli-build/server/chunks/2430.js +1 -1
  278. package/app/.next-cli-build/server/chunks/2559.js +1 -1
  279. package/app/.next-cli-build/server/chunks/2708.js +1 -1
  280. package/app/.next-cli-build/server/chunks/2970.js +2 -2
  281. package/app/.next-cli-build/server/chunks/3192.js +1 -1
  282. package/app/.next-cli-build/server/chunks/3277.js +1 -1
  283. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  284. package/app/.next-cli-build/server/chunks/412.js +5 -5
  285. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  286. package/app/.next-cli-build/server/chunks/4386.js +1 -1
  287. package/app/.next-cli-build/server/chunks/4827.js +1 -1
  288. package/app/.next-cli-build/server/chunks/5081.js +5 -5
  289. package/app/.next-cli-build/server/chunks/5330.js +1 -1
  290. package/app/.next-cli-build/server/chunks/5390.js +1 -1
  291. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  292. package/app/.next-cli-build/server/chunks/6921.js +22 -24
  293. package/app/.next-cli-build/server/chunks/7373.js +1 -1
  294. package/app/.next-cli-build/server/chunks/7811.js +1 -1
  295. package/app/.next-cli-build/server/chunks/8238.js +1 -1
  296. package/app/.next-cli-build/server/chunks/915.js +1 -1
  297. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  298. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  299. package/app/.next-cli-build/server/middleware.js +3 -3
  300. package/app/.next-cli-build/server/pages/404.html +1 -1
  301. package/app/.next-cli-build/server/pages/500.html +1 -1
  302. package/app/.next-cli-build/server/preview-props.json +3 -3
  303. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  304. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  305. package/app/.next-cli-build/static/chunks/{3794-ba54cbd6a46cf18d.js → 3794-39f2d5bb0d40336b.js} +1 -1
  306. package/app/.next-cli-build/static/chunks/{5497-77c1e669b0fa87b5.js → 5497-bdb464e8bf997966.js} +5 -5
  307. package/app/.next-cli-build/static/chunks/{620-34e54cb68dbd1c04.js → 620-eb4703fefb0a8224.js} +1 -1
  308. package/app/.next-cli-build/static/chunks/{6808-89583fa8f1c517b5.js → 6808-e6340e2d4cfe01fe.js} +1 -1
  309. package/app/.next-cli-build/static/chunks/{8105-e01154a0855d3a4c.js → 8105-5dd3fc022d984a17.js} +1 -1
  310. package/app/.next-cli-build/static/chunks/9233.b5ad25d75f88baa7.js +65 -0
  311. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-b6170c51df54f400.js → page-deb38e87524ff14e.js} +2 -2
  312. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-a7e10190924841de.js → page-e2e50aefcea07c9b.js} +1 -1
  313. package/app/.next-cli-build/static/chunks/{main-39ed0ef7f2dd4724.js → main-00cd8c01f6f6e461.js} +1 -1
  314. package/app/.next-cli-build/static/chunks/{webpack-01342e1402621ba9.js → webpack-c056b5babdc7a81f.js} +1 -1
  315. package/app/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -3
  316. package/app/node_modules/@aws-sdk/core/package.json +1 -1
  317. package/app/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +2 -2
  318. package/app/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  319. package/app/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  320. package/app/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  321. package/app/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  322. package/app/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  323. package/app/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  324. package/app/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  325. package/app/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  326. package/app/node_modules/@aws-sdk/credential-providers/package.json +12 -12
  327. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  328. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  329. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  330. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  331. package/app/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  332. package/app/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  333. package/app/node_modules/@aws-sdk/token-providers/package.json +3 -3
  334. package/app/node_modules/@next/env/package.json +1 -1
  335. package/app/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1695 -3
  336. package/app/node_modules/@smithy/core/package.json +2 -1
  337. package/app/node_modules/caniuse-lite/data/agents.js +1 -1
  338. package/app/node_modules/caniuse-lite/data/features/aac.js +1 -1
  339. package/app/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  340. package/app/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  341. package/app/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  342. package/app/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  343. package/app/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  344. package/app/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  345. package/app/node_modules/caniuse-lite/data/features/apng.js +1 -1
  346. package/app/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  347. package/app/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  348. package/app/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  349. package/app/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  350. package/app/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  351. package/app/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  352. package/app/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  353. package/app/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  354. package/app/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  355. package/app/node_modules/caniuse-lite/data/features/audio.js +1 -1
  356. package/app/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  357. package/app/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  358. package/app/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  359. package/app/node_modules/caniuse-lite/data/features/av1.js +1 -1
  360. package/app/node_modules/caniuse-lite/data/features/avif.js +1 -1
  361. package/app/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  362. package/app/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  363. package/app/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  364. package/app/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  365. package/app/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  366. package/app/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  367. package/app/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  368. package/app/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  369. package/app/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  370. package/app/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  371. package/app/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  372. package/app/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  373. package/app/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  374. package/app/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  375. package/app/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  376. package/app/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  377. package/app/node_modules/caniuse-lite/data/features/calc.js +1 -1
  378. package/app/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  379. package/app/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  380. package/app/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  381. package/app/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  382. package/app/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  383. package/app/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  384. package/app/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  385. package/app/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  386. package/app/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  387. package/app/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  388. package/app/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  389. package/app/node_modules/caniuse-lite/data/features/colr.js +1 -1
  390. package/app/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  391. package/app/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  392. package/app/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  393. package/app/node_modules/caniuse-lite/data/features/const.js +1 -1
  394. package/app/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  395. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  396. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  397. package/app/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  398. package/app/node_modules/caniuse-lite/data/features/cors.js +1 -1
  399. package/app/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  400. package/app/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  401. package/app/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  402. package/app/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  403. package/app/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  404. package/app/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  405. package/app/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  406. package/app/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  407. package/app/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  408. package/app/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  409. package/app/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  410. package/app/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  411. package/app/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  412. package/app/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  413. package/app/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  414. package/app/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  415. package/app/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  416. package/app/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  417. package/app/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  418. package/app/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  419. package/app/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  420. package/app/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  421. package/app/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  422. package/app/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  423. package/app/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  424. package/app/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  425. package/app/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  426. package/app/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  427. package/app/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  428. package/app/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  429. package/app/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  430. package/app/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  431. package/app/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  432. package/app/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  433. package/app/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  434. package/app/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  435. package/app/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  436. package/app/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  437. package/app/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  438. package/app/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  439. package/app/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  440. package/app/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  441. package/app/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  442. package/app/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  443. package/app/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  444. package/app/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  445. package/app/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  446. package/app/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  447. package/app/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  448. package/app/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  449. package/app/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  450. package/app/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  451. package/app/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  452. package/app/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  453. package/app/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  454. package/app/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  455. package/app/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  456. package/app/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  457. package/app/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  458. package/app/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  459. package/app/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  460. package/app/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  461. package/app/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  462. package/app/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  463. package/app/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  464. package/app/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  465. package/app/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  466. package/app/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  467. package/app/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  468. package/app/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  469. package/app/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  470. package/app/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  471. package/app/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  472. package/app/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  473. package/app/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  474. package/app/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  475. package/app/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  476. package/app/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  477. package/app/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  478. package/app/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  479. package/app/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  480. package/app/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  481. package/app/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  482. package/app/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  483. package/app/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  484. package/app/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  485. package/app/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  486. package/app/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  487. package/app/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  488. package/app/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  489. package/app/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  490. package/app/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  491. package/app/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  492. package/app/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  493. package/app/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  494. package/app/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  495. package/app/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  496. package/app/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  497. package/app/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  498. package/app/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  499. package/app/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  500. package/app/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  501. package/app/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  502. package/app/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  503. package/app/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  504. package/app/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  505. package/app/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  506. package/app/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  507. package/app/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  508. package/app/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  509. package/app/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  510. package/app/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  511. package/app/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  512. package/app/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  513. package/app/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  514. package/app/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  515. package/app/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  516. package/app/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  517. package/app/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  518. package/app/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  519. package/app/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  520. package/app/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  521. package/app/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  522. package/app/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  523. package/app/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  524. package/app/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  525. package/app/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  526. package/app/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  527. package/app/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  528. package/app/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  529. package/app/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  530. package/app/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  531. package/app/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  532. package/app/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  533. package/app/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  534. package/app/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  535. package/app/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  536. package/app/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  537. package/app/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  538. package/app/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
  539. package/app/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  540. package/app/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  541. package/app/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  542. package/app/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  543. package/app/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  544. package/app/node_modules/caniuse-lite/data/features/details.js +1 -1
  545. package/app/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  546. package/app/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  547. package/app/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  548. package/app/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  549. package/app/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  550. package/app/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  551. package/app/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  552. package/app/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  553. package/app/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  554. package/app/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  555. package/app/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  556. package/app/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  557. package/app/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  558. package/app/node_modules/caniuse-lite/data/features/download.js +1 -1
  559. package/app/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  560. package/app/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  561. package/app/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  562. package/app/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  563. package/app/node_modules/caniuse-lite/data/features/eme.js +1 -1
  564. package/app/node_modules/caniuse-lite/data/features/eot.js +1 -1
  565. package/app/node_modules/caniuse-lite/data/features/es5.js +1 -1
  566. package/app/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  567. package/app/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  568. package/app/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  569. package/app/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  570. package/app/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  571. package/app/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  572. package/app/node_modules/caniuse-lite/data/features/es6.js +1 -1
  573. package/app/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  574. package/app/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  575. package/app/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  576. package/app/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  577. package/app/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  578. package/app/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  579. package/app/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  580. package/app/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  581. package/app/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  582. package/app/node_modules/caniuse-lite/data/features/flac.js +1 -1
  583. package/app/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  584. package/app/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  585. package/app/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  586. package/app/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  587. package/app/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  588. package/app/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  589. package/app/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  590. package/app/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  591. package/app/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  592. package/app/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  593. package/app/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  594. package/app/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  595. package/app/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  596. package/app/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  597. package/app/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  598. package/app/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  599. package/app/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  600. package/app/node_modules/caniuse-lite/data/features/forms.js +1 -1
  601. package/app/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  602. package/app/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  603. package/app/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  604. package/app/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  605. package/app/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  606. package/app/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  607. package/app/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  608. package/app/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  609. package/app/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  610. package/app/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  611. package/app/node_modules/caniuse-lite/data/features/heif.js +1 -1
  612. package/app/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  613. package/app/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  614. package/app/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  615. package/app/node_modules/caniuse-lite/data/features/history.js +1 -1
  616. package/app/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  617. package/app/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  618. package/app/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  619. package/app/node_modules/caniuse-lite/data/features/http2.js +1 -1
  620. package/app/node_modules/caniuse-lite/data/features/http3.js +1 -1
  621. package/app/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  622. package/app/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  623. package/app/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  624. package/app/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  625. package/app/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  626. package/app/node_modules/caniuse-lite/data/features/imports.js +1 -1
  627. package/app/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  628. package/app/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  629. package/app/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  630. package/app/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  631. package/app/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  632. package/app/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  633. package/app/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  634. package/app/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  635. package/app/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  636. package/app/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  637. package/app/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  638. package/app/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  639. package/app/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  640. package/app/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  641. package/app/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  642. package/app/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  643. package/app/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  644. package/app/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  645. package/app/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  646. package/app/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  647. package/app/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  648. package/app/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  649. package/app/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  650. package/app/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  651. package/app/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  652. package/app/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  653. package/app/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  654. package/app/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  655. package/app/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  656. package/app/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  657. package/app/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  658. package/app/node_modules/caniuse-lite/data/features/json.js +1 -1
  659. package/app/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  660. package/app/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  661. package/app/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  662. package/app/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  663. package/app/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  664. package/app/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  665. package/app/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  666. package/app/node_modules/caniuse-lite/data/features/let.js +1 -1
  667. package/app/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  668. package/app/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  669. package/app/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  670. package/app/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  671. package/app/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  672. package/app/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  673. package/app/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  674. package/app/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  675. package/app/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  676. package/app/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
  677. package/app/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  678. package/app/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  679. package/app/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  680. package/app/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  681. package/app/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  682. package/app/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  683. package/app/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  684. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  685. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  686. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  687. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  688. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  689. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  690. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  691. package/app/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  692. package/app/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  693. package/app/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  694. package/app/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  695. package/app/node_modules/caniuse-lite/data/features/menu.js +1 -1
  696. package/app/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  697. package/app/node_modules/caniuse-lite/data/features/meter.js +1 -1
  698. package/app/node_modules/caniuse-lite/data/features/midi.js +1 -1
  699. package/app/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  700. package/app/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  701. package/app/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  702. package/app/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  703. package/app/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  704. package/app/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  705. package/app/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  706. package/app/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  707. package/app/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  708. package/app/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  709. package/app/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  710. package/app/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  711. package/app/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  712. package/app/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  713. package/app/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  714. package/app/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  715. package/app/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  716. package/app/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  717. package/app/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  718. package/app/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  719. package/app/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  720. package/app/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  721. package/app/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  722. package/app/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  723. package/app/node_modules/caniuse-lite/data/features/opus.js +1 -1
  724. package/app/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  725. package/app/node_modules/caniuse-lite/data/features/outline.js +1 -1
  726. package/app/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  727. package/app/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  728. package/app/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  729. package/app/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  730. package/app/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  731. package/app/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  732. package/app/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  733. package/app/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  734. package/app/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  735. package/app/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  736. package/app/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  737. package/app/node_modules/caniuse-lite/data/features/picture.js +1 -1
  738. package/app/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  739. package/app/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  740. package/app/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  741. package/app/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  742. package/app/node_modules/caniuse-lite/data/features/portals.js +1 -1
  743. package/app/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  744. package/app/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  745. package/app/node_modules/caniuse-lite/data/features/progress.js +1 -1
  746. package/app/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  747. package/app/node_modules/caniuse-lite/data/features/promises.js +1 -1
  748. package/app/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  749. package/app/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  750. package/app/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  751. package/app/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  752. package/app/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  753. package/app/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  754. package/app/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  755. package/app/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  756. package/app/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  757. package/app/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  758. package/app/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  759. package/app/node_modules/caniuse-lite/data/features/rem.js +1 -1
  760. package/app/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  761. package/app/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  762. package/app/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  763. package/app/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  764. package/app/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  765. package/app/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  766. package/app/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  767. package/app/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  768. package/app/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  769. package/app/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  770. package/app/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  771. package/app/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  772. package/app/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  773. package/app/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  774. package/app/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  775. package/app/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  776. package/app/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  777. package/app/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  778. package/app/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  779. package/app/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  780. package/app/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  781. package/app/node_modules/caniuse-lite/data/features/sni.js +1 -1
  782. package/app/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  783. package/app/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  784. package/app/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  785. package/app/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  786. package/app/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  787. package/app/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  788. package/app/node_modules/caniuse-lite/data/features/stream.js +1 -1
  789. package/app/node_modules/caniuse-lite/data/features/streams.js +1 -1
  790. package/app/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  791. package/app/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  792. package/app/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  793. package/app/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  794. package/app/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  795. package/app/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  796. package/app/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  797. package/app/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  798. package/app/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  799. package/app/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  800. package/app/node_modules/caniuse-lite/data/features/svg.js +1 -1
  801. package/app/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  802. package/app/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  803. package/app/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  804. package/app/node_modules/caniuse-lite/data/features/template.js +1 -1
  805. package/app/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  806. package/app/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  807. package/app/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  808. package/app/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  809. package/app/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  810. package/app/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  811. package/app/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  812. package/app/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  813. package/app/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  814. package/app/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  815. package/app/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  816. package/app/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  817. package/app/node_modules/caniuse-lite/data/features/touch.js +1 -1
  818. package/app/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  819. package/app/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  820. package/app/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  821. package/app/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  822. package/app/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  823. package/app/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  824. package/app/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  825. package/app/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  826. package/app/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  827. package/app/node_modules/caniuse-lite/data/features/url.js +1 -1
  828. package/app/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  829. package/app/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  830. package/app/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  831. package/app/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  832. package/app/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  833. package/app/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  834. package/app/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  835. package/app/node_modules/caniuse-lite/data/features/video.js +1 -1
  836. package/app/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  837. package/app/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  838. package/app/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  839. package/app/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  840. package/app/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  841. package/app/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  842. package/app/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  843. package/app/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  844. package/app/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  845. package/app/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  846. package/app/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  847. package/app/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  848. package/app/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  849. package/app/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  850. package/app/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  851. package/app/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  852. package/app/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  853. package/app/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  854. package/app/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  855. package/app/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  856. package/app/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  857. package/app/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  858. package/app/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  859. package/app/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  860. package/app/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  861. package/app/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  862. package/app/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  863. package/app/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  864. package/app/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  865. package/app/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  866. package/app/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  867. package/app/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  868. package/app/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  869. package/app/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  870. package/app/node_modules/caniuse-lite/data/features/webm.js +1 -1
  871. package/app/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  872. package/app/node_modules/caniuse-lite/data/features/webp.js +1 -1
  873. package/app/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  874. package/app/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  875. package/app/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  876. package/app/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  877. package/app/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  878. package/app/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  879. package/app/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  880. package/app/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  881. package/app/node_modules/caniuse-lite/data/features/woff.js +1 -1
  882. package/app/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  883. package/app/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  884. package/app/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  885. package/app/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  886. package/app/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  887. package/app/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  888. package/app/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  889. package/app/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  890. package/app/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  891. package/app/node_modules/caniuse-lite/data/versionGroups.js +1 -1
  892. package/app/node_modules/caniuse-lite/package.json +1 -1
  893. package/app/node_modules/next/dist/build/swc/index.js +1 -1
  894. package/app/node_modules/next/dist/build/webpack-config.js +3 -3
  895. package/app/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +2 -2
  896. package/app/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +2 -2
  897. package/app/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +2 -2
  898. package/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +2 -2
  899. package/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +1 -1
  900. package/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  901. package/app/node_modules/next/dist/server/app-render/async-local-storage.js +1 -1
  902. package/app/node_modules/next/dist/server/config.js +1 -1
  903. package/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
  904. package/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  905. package/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  906. package/app/node_modules/next/dist/server/lib/router-server.js +1 -1
  907. package/app/node_modules/next/dist/server/lib/start-server.js +1 -1
  908. package/app/node_modules/next/dist/server/lib/trace/tracer.js +1 -1
  909. package/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  910. package/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  911. package/app/node_modules/next/dist/telemetry/events/version.js +2 -2
  912. package/app/node_modules/next/package.json +11 -11
  913. package/app/node_modules/sql.js/dist/sql-wasm.js +93 -93
  914. package/app/node_modules/sql.js/package.json +14 -14
  915. package/app/package.json +1 -1
  916. package/package.json +1 -1
  917. package/app/.next-cli-build/static/chunks/9233.e0ace25b5b543835.js +0 -67
  918. /package/app/.next-cli-build/static/{PDpzJec3Lz1lBuf7HCyjQ → -A8yVxeQUhunMwVeISlwZ}/_buildManifest.js +0 -0
  919. /package/app/.next-cli-build/static/{PDpzJec3Lz1lBuf7HCyjQ → -A8yVxeQUhunMwVeISlwZ}/_ssgManifest.js +0 -0
@@ -1,12 +1,12 @@
1
- const { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader } = require("@smithy/core/serde");
2
- const { HttpRequest, HttpResponse, hasOwn, isValidHostname } = require("@smithy/core/transport");
1
+ const { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader, parseEpochTimestamp, parseRfc7231DateTime, parseRfc3339DateTimeWithOffset } = require("@smithy/core/serde");
2
+ const { HttpRequest, HttpResponse, hasOwn, isValidHostname, getSmithyContext } = require("@smithy/core/transport");
3
3
  const { parseQueryString, parseUrl } = require("@smithy/core/transport");
4
4
  exports.HttpRequest = HttpRequest;
5
5
  exports.HttpResponse = HttpResponse;
6
6
  exports.isValidHostname = isValidHostname;
7
7
  exports.parseQueryString = parseQueryString;
8
8
  exports.parseUrl = parseUrl;
9
- const { TypeRegistry, NormalizedSchema, translateTraits } = require("@smithy/core/schema");
9
+ const { TypeRegistry, NormalizedSchema, translateTraits, deref } = require("@smithy/core/schema");
10
10
  const { FieldPosition } = require("@smithy/types");
11
11
 
12
12
  const collectBody = async (streamBody = new Uint8Array(), context) => {
@@ -1073,6 +1073,1686 @@ function buildQueryString(query) {
1073
1073
  return parts.join("&");
1074
1074
  }
1075
1075
 
1076
+ class SerdeContextConfig {
1077
+ serdeContext;
1078
+ setSerdeContext(serdeContext) {
1079
+ this.serdeContext = serdeContext;
1080
+ }
1081
+ }
1082
+
1083
+ class UnionSerde {
1084
+ from;
1085
+ to;
1086
+ keys;
1087
+ constructor(from, to) {
1088
+ this.from = from;
1089
+ this.to = to;
1090
+ const keys = Object.keys(this.from);
1091
+ const set = new Set(keys);
1092
+ set.delete("__type");
1093
+ this.keys = set;
1094
+ }
1095
+ mark(key) {
1096
+ this.keys.delete(key);
1097
+ }
1098
+ hasUnknown() {
1099
+ return this.keys.size === 1 && Object.keys(this.to).length === 0;
1100
+ }
1101
+ writeUnknown() {
1102
+ if (this.hasUnknown()) {
1103
+ const k = this.keys.values().next().value;
1104
+ const v = this.from[k];
1105
+ this.to.$unknown = [k, v];
1106
+ }
1107
+ }
1108
+ }
1109
+
1110
+ let canParseBuffer;
1111
+ function detectBufferParsing() {
1112
+ if (canParseBuffer === undefined) {
1113
+ try {
1114
+ if (typeof Buffer !== "function") {
1115
+ canParseBuffer = false;
1116
+ }
1117
+ else {
1118
+ const result = JSON.parse(Buffer.from([0x7b, 0x7d]));
1119
+ canParseBuffer = result !== null && typeof result === "object";
1120
+ }
1121
+ }
1122
+ catch {
1123
+ canParseBuffer = false;
1124
+ }
1125
+ }
1126
+ return canParseBuffer;
1127
+ }
1128
+
1129
+ function jsonReviver(key, value, context) {
1130
+ if (context?.source) {
1131
+ const numericString = context.source;
1132
+ if (typeof value === "number") {
1133
+ const inSafeRange = value <= Number.MAX_SAFE_INTEGER && value >= Number.MIN_SAFE_INTEGER;
1134
+ if (inSafeRange) {
1135
+ if (isRepresentable(numericString, value)) {
1136
+ return value;
1137
+ }
1138
+ return new NumericValue(numericString, "bigDecimal");
1139
+ }
1140
+ else {
1141
+ if (isFractionalBigNumeric(numericString)) {
1142
+ return new NumericValue(numericString, "bigDecimal");
1143
+ }
1144
+ if (/[eE]/.test(numericString)) {
1145
+ return expandExponentToBigInt(numericString);
1146
+ }
1147
+ return BigInt(numericString);
1148
+ }
1149
+ }
1150
+ }
1151
+ return value;
1152
+ }
1153
+ function isFractionalBigNumeric(s) {
1154
+ const dotIndex = s.indexOf(".");
1155
+ if (dotIndex === -1) {
1156
+ return false;
1157
+ }
1158
+ const eIndex = s.search(/[eE]/);
1159
+ if (eIndex === -1) {
1160
+ return true;
1161
+ }
1162
+ const fracDigits = eIndex - dotIndex - 1;
1163
+ const exp = parseInt(s.slice(eIndex + 1), 10);
1164
+ return exp < fracDigits;
1165
+ }
1166
+ function isRepresentable(numericString, value) {
1167
+ if (numericString === String(value)) {
1168
+ return true;
1169
+ }
1170
+ if (Object.is(value, -0)) {
1171
+ return true;
1172
+ }
1173
+ if (/[eE]/.test(numericString)) {
1174
+ return expandToDecimal(numericString) === expandToDecimal(String(value));
1175
+ }
1176
+ const normalized = numericString.replace(/(\.\d*?)0+$/, "$1").replace(/\.$/, "");
1177
+ const canonical = String(value);
1178
+ if (normalized === canonical) {
1179
+ return true;
1180
+ }
1181
+ if (/[eE]/.test(canonical)) {
1182
+ return normalized === expandToDecimal(canonical);
1183
+ }
1184
+ return false;
1185
+ }
1186
+ function expandToDecimal(s) {
1187
+ const negative = s.startsWith("-");
1188
+ const abs = negative ? s.slice(1) : s;
1189
+ const eIndex = abs.search(/[eE]/);
1190
+ let result;
1191
+ if (eIndex === -1) {
1192
+ result = abs;
1193
+ }
1194
+ else {
1195
+ const exp = parseInt(abs.slice(eIndex + 1), 10);
1196
+ const mantissa = abs.slice(0, eIndex);
1197
+ const dotIndex = mantissa.indexOf(".");
1198
+ let digits;
1199
+ let intLen;
1200
+ if (dotIndex === -1) {
1201
+ digits = mantissa;
1202
+ intLen = mantissa.length;
1203
+ }
1204
+ else {
1205
+ digits = mantissa.slice(0, dotIndex) + mantissa.slice(dotIndex + 1);
1206
+ intLen = dotIndex;
1207
+ }
1208
+ digits = digits.replace(/0+$/, "") || "0";
1209
+ const newDotPos = intLen + exp;
1210
+ if (digits === "0") {
1211
+ result = "0";
1212
+ }
1213
+ else if (newDotPos <= 0) {
1214
+ result = "0." + "0".repeat(-newDotPos) + digits;
1215
+ }
1216
+ else if (newDotPos >= digits.length) {
1217
+ result = digits + "0".repeat(newDotPos - digits.length);
1218
+ }
1219
+ else {
1220
+ result = digits.slice(0, newDotPos) + "." + digits.slice(newDotPos);
1221
+ }
1222
+ }
1223
+ if (result.includes(".")) {
1224
+ result = result.replace(/(\.\d*?)0+$/, "$1").replace(/\.$/, "");
1225
+ }
1226
+ return (negative ? "-" : "") + result;
1227
+ }
1228
+ function expandExponentToBigInt(s) {
1229
+ const eIndex = s.search(/[eE]/);
1230
+ const exp = parseInt(s.slice(eIndex + 1), 10);
1231
+ const negative = s.startsWith("-");
1232
+ const mantissa = s.slice(negative ? 1 : 0, eIndex);
1233
+ const dotIndex = mantissa.indexOf(".");
1234
+ let digits;
1235
+ let shift;
1236
+ if (dotIndex === -1) {
1237
+ digits = mantissa;
1238
+ shift = exp;
1239
+ }
1240
+ else {
1241
+ digits = mantissa.slice(0, dotIndex) + mantissa.slice(dotIndex + 1);
1242
+ const fracDigits = mantissa.length - dotIndex - 1;
1243
+ shift = exp - fracDigits;
1244
+ }
1245
+ digits = digits.replace(/0+$/, "") || "0";
1246
+ const result = BigInt(digits) * 10n ** BigInt(shift + (mantissa.replace(".", "").length - digits.length));
1247
+ return negative ? -result : result;
1248
+ }
1249
+
1250
+ const REVIVER_SYMBOL = Symbol.for("@aws-sdk/reviver");
1251
+ function needsReviver(schema) {
1252
+ const ns = NormalizedSchema.of(schema);
1253
+ const raw = ns.getSchema();
1254
+ if (Array.isArray(raw) && ns.isStructSchema()) {
1255
+ if (REVIVER_SYMBOL in raw) {
1256
+ return raw[REVIVER_SYMBOL];
1257
+ }
1258
+ const result = _check(ns, new Set());
1259
+ raw[REVIVER_SYMBOL] = result;
1260
+ return result;
1261
+ }
1262
+ return _check(ns, new Set());
1263
+ }
1264
+ function _check(ns, seen) {
1265
+ const raw = ns.getSchema();
1266
+ if (seen.has(raw)) {
1267
+ return false;
1268
+ }
1269
+ seen.add(raw);
1270
+ if (ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {
1271
+ return true;
1272
+ }
1273
+ if (ns.isStructSchema()) {
1274
+ for (const [, memberSchema] of ns.structIterator()) {
1275
+ if (_check(memberSchema, seen)) {
1276
+ return true;
1277
+ }
1278
+ }
1279
+ }
1280
+ else if (ns.isListSchema() || ns.isMapSchema()) {
1281
+ if (_check(ns.getValueSchema(), seen)) {
1282
+ return true;
1283
+ }
1284
+ }
1285
+ else if (ns.isDocumentSchema()) {
1286
+ return true;
1287
+ }
1288
+ return false;
1289
+ }
1290
+
1291
+ const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? toUtf8)(body));
1292
+
1293
+ async function parseJsonBody(streamBody, context, schema) {
1294
+ let parsingInput;
1295
+ if (detectBufferParsing() && typeof streamBody?.[Symbol.asyncIterator] === "function") {
1296
+ const buffer = await collectBody(streamBody, context);
1297
+ if (typeof Buffer === "function") {
1298
+ if (Buffer.isBuffer(buffer)) {
1299
+ parsingInput = buffer;
1300
+ }
1301
+ else {
1302
+ parsingInput = Buffer.from(buffer.buffer, buffer.byteOffset, buffer.byteLength);
1303
+ }
1304
+ }
1305
+ }
1306
+ if (!parsingInput) {
1307
+ parsingInput = await collectBodyString(streamBody, context);
1308
+ }
1309
+ if (parsingInput.length === 0) {
1310
+ return {};
1311
+ }
1312
+ const reviver = schema && needsReviver(schema) ? jsonReviver : undefined;
1313
+ try {
1314
+ return JSON.parse(parsingInput, reviver);
1315
+ }
1316
+ catch (e) {
1317
+ if (e?.name === "SyntaxError") {
1318
+ Object.defineProperty(e, "$responseBodyText", {
1319
+ value: typeof parsingInput === "string" ? parsingInput : parsingInput.toString("utf8"),
1320
+ });
1321
+ }
1322
+ throw e;
1323
+ }
1324
+ }
1325
+ const parseJsonErrorBody = async (errorBody, context) => {
1326
+ const value = await parseJsonBody(errorBody, context);
1327
+ value.message = value.message ?? value.Message;
1328
+ return value;
1329
+ };
1330
+ const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
1331
+ const sanitizeErrorCode = (rawValue) => {
1332
+ let cleanValue = rawValue;
1333
+ if (typeof cleanValue === "number") {
1334
+ cleanValue = cleanValue.toString();
1335
+ }
1336
+ if (cleanValue.indexOf(",") >= 0) {
1337
+ cleanValue = cleanValue.split(",")[0];
1338
+ }
1339
+ if (cleanValue.indexOf(":") >= 0) {
1340
+ cleanValue = cleanValue.split(":")[0];
1341
+ }
1342
+ if (cleanValue.indexOf("#") >= 0) {
1343
+ cleanValue = cleanValue.split("#")[1];
1344
+ }
1345
+ return cleanValue;
1346
+ };
1347
+ const loadRestJsonErrorCode = (output, data) => {
1348
+ return loadErrorCode(output, data, ["header", "code", "type"]);
1349
+ };
1350
+ const loadJsonRpcErrorCode = (output, data, queryCompat = false) => {
1351
+ return loadErrorCode(output, data, queryCompat ? ["code", "header", "type"] : ["type", "code", "header"]);
1352
+ };
1353
+ const loadSmithyRpcV2JsonErrorCode = (output, data) => {
1354
+ if (data?.__type !== undefined) {
1355
+ let cleanValue = data.__type;
1356
+ if (typeof cleanValue === "number") {
1357
+ cleanValue = cleanValue.toString();
1358
+ }
1359
+ if (cleanValue.indexOf(",") >= 0) {
1360
+ cleanValue = cleanValue.split(",")[0];
1361
+ }
1362
+ if (cleanValue.indexOf(":") >= 0) {
1363
+ cleanValue = cleanValue.split(":")[0];
1364
+ }
1365
+ return cleanValue;
1366
+ }
1367
+ };
1368
+ const loadErrorCode = ({ headers }, data, order) => {
1369
+ while (order.length > 0) {
1370
+ const location = order.shift();
1371
+ switch (location) {
1372
+ case "header":
1373
+ const headerKey = findKey(headers ?? {}, "x-amzn-errortype");
1374
+ if (headerKey !== undefined) {
1375
+ return sanitizeErrorCode(headers[headerKey]);
1376
+ }
1377
+ break;
1378
+ case "code":
1379
+ const codeKey = findKey(data ?? {}, "code");
1380
+ if (codeKey && data[codeKey] !== undefined) {
1381
+ return sanitizeErrorCode(data[codeKey]);
1382
+ }
1383
+ break;
1384
+ case "type":
1385
+ if (data?.__type !== undefined) {
1386
+ return sanitizeErrorCode(data.__type);
1387
+ }
1388
+ break;
1389
+ }
1390
+ }
1391
+ };
1392
+
1393
+ function writeKey(obj) {
1394
+ Object.defineProperty(obj, "__proto__", { value: undefined, writable: true, enumerable: true, configurable: true });
1395
+ }
1396
+
1397
+ class JsonShapeDeserializer2 extends SerdeContextConfig {
1398
+ settings;
1399
+ constructor(settings) {
1400
+ super();
1401
+ this.settings = settings;
1402
+ }
1403
+ async read(schema, data) {
1404
+ const reviver = needsReviver(schema) ? jsonReviver : undefined;
1405
+ let parsed;
1406
+ if (typeof data === "string") {
1407
+ if (data.length === 0) {
1408
+ return {};
1409
+ }
1410
+ parsed = JSON.parse(data, reviver);
1411
+ }
1412
+ else if (data instanceof Uint8Array && detectBufferParsing()) {
1413
+ if (data.byteLength === 0) {
1414
+ return {};
1415
+ }
1416
+ const buf = Buffer.isBuffer(data) ? data : Buffer.from(data.buffer, data.byteOffset, data.byteLength);
1417
+ parsed = JSON.parse(buf, reviver);
1418
+ }
1419
+ else {
1420
+ parsed = await parseJsonBody(data, this.serdeContext, schema);
1421
+ }
1422
+ return this._read(schema, parsed);
1423
+ }
1424
+ readObject(schema, data) {
1425
+ return this._read(schema, data);
1426
+ }
1427
+ _read(schema, value) {
1428
+ const isObject = value !== null && typeof value === "object";
1429
+ const ns = NormalizedSchema.of(schema);
1430
+ if (isObject) {
1431
+ if (ns.isStructSchema()) {
1432
+ return this._readStruct(ns, value);
1433
+ }
1434
+ if (Array.isArray(value) && ns.isListSchema()) {
1435
+ const listMember = ns.getValueSchema();
1436
+ if (this.needsTransform(listMember)) {
1437
+ for (let i = 0; i < value.length; ++i) {
1438
+ value[i] = this._read(listMember, value[i]);
1439
+ }
1440
+ }
1441
+ return value;
1442
+ }
1443
+ if (ns.isMapSchema()) {
1444
+ const mapMember = ns.getValueSchema();
1445
+ const map = value;
1446
+ if (this.needsTransform(mapMember)) {
1447
+ for (const k in map) {
1448
+ if (!hasOwn(map, k))
1449
+ continue;
1450
+ if (k === "__proto__") {
1451
+ writeKey(map);
1452
+ }
1453
+ map[k] = this._read(mapMember, map[k]);
1454
+ }
1455
+ }
1456
+ return map;
1457
+ }
1458
+ }
1459
+ if (ns.isBlobSchema() && typeof value === "string") {
1460
+ return fromBase64(value);
1461
+ }
1462
+ const mediaType = ns.getMergedTraits().mediaType;
1463
+ if (ns.isStringSchema() && typeof value === "string" && mediaType) {
1464
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
1465
+ if (isJson) {
1466
+ return LazyJsonString.from(value);
1467
+ }
1468
+ return value;
1469
+ }
1470
+ if (ns.isTimestampSchema() && value != null) {
1471
+ const format = determineTimestampFormat(ns, this.settings);
1472
+ switch (format) {
1473
+ case 5:
1474
+ return parseRfc3339DateTimeWithOffset(value);
1475
+ case 6:
1476
+ return parseRfc7231DateTime(value);
1477
+ case 7:
1478
+ return parseEpochTimestamp(value);
1479
+ default:
1480
+ console.warn("Missing timestamp format, parsing value with Date constructor:", value);
1481
+ return new Date(value);
1482
+ }
1483
+ }
1484
+ if (ns.isBigIntegerSchema() && (typeof value === "number" || typeof value === "string")) {
1485
+ return BigInt(value);
1486
+ }
1487
+ if (ns.isBigDecimalSchema() && value != undefined) {
1488
+ if (value instanceof NumericValue) {
1489
+ return value;
1490
+ }
1491
+ const untyped = value;
1492
+ if (untyped.type === "bigDecimal" && "string" in untyped) {
1493
+ return new NumericValue(untyped.string, untyped.type);
1494
+ }
1495
+ return new NumericValue(String(value), "bigDecimal");
1496
+ }
1497
+ if (ns.isNumericSchema() && typeof value === "string") {
1498
+ switch (value) {
1499
+ case "Infinity":
1500
+ return Infinity;
1501
+ case "-Infinity":
1502
+ return -Infinity;
1503
+ case "NaN":
1504
+ return NaN;
1505
+ }
1506
+ return value;
1507
+ }
1508
+ if (ns.isDocumentSchema()) {
1509
+ if (isObject) {
1510
+ if (Array.isArray(value)) {
1511
+ for (let i = 0; i < value.length; ++i) {
1512
+ const v = value[i];
1513
+ if (!(v instanceof NumericValue)) {
1514
+ value[i] = this._read(ns, v);
1515
+ }
1516
+ }
1517
+ }
1518
+ else {
1519
+ const doc = value;
1520
+ for (const k in doc) {
1521
+ if (!hasOwn(doc, k))
1522
+ continue;
1523
+ if (k === "__proto__") {
1524
+ writeKey(doc);
1525
+ }
1526
+ const v = doc[k];
1527
+ if (!(v instanceof NumericValue)) {
1528
+ doc[k] = this._read(ns, v);
1529
+ }
1530
+ }
1531
+ }
1532
+ }
1533
+ }
1534
+ return value;
1535
+ }
1536
+ _readStruct(ns, record) {
1537
+ const union = ns.isUnionSchema();
1538
+ const out = {};
1539
+ let nameMap;
1540
+ const hasType = typeof record.__type === "string";
1541
+ const { jsonName } = this.settings;
1542
+ if (jsonName && hasType) {
1543
+ nameMap = {};
1544
+ }
1545
+ let unionSerde;
1546
+ if (union) {
1547
+ unionSerde = new UnionSerde(record, out);
1548
+ }
1549
+ for (const [memberName, memberSchema] of ns.structIterator()) {
1550
+ let fromKey = memberName;
1551
+ if (jsonName) {
1552
+ fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
1553
+ if (hasType) {
1554
+ nameMap[fromKey] = memberName;
1555
+ }
1556
+ }
1557
+ if (union) {
1558
+ unionSerde.mark(fromKey);
1559
+ }
1560
+ if (record[fromKey] != null) {
1561
+ out[memberName] = this._read(memberSchema, record[fromKey]);
1562
+ }
1563
+ }
1564
+ if (union) {
1565
+ unionSerde.writeUnknown();
1566
+ }
1567
+ else if (hasType) {
1568
+ for (const k in record) {
1569
+ if (!hasOwn(record, k))
1570
+ continue;
1571
+ const v = record[k];
1572
+ const t = jsonName ? (nameMap[k] ?? k) : k;
1573
+ if (!(t in out)) {
1574
+ out[t] = v;
1575
+ }
1576
+ }
1577
+ }
1578
+ return out;
1579
+ }
1580
+ needsTransform(ns) {
1581
+ if (ns.isBlobSchema() ||
1582
+ ns.isTimestampSchema() ||
1583
+ ns.isBigIntegerSchema() ||
1584
+ ns.isBigDecimalSchema() ||
1585
+ ns.isNumericSchema()) {
1586
+ return true;
1587
+ }
1588
+ if (ns.isDocumentSchema() || ns.isStructSchema() || ns.isListSchema() || ns.isMapSchema()) {
1589
+ return true;
1590
+ }
1591
+ if (ns.isStringSchema() && ns.getMergedTraits().mediaType) {
1592
+ return true;
1593
+ }
1594
+ return false;
1595
+ }
1596
+ }
1597
+
1598
+ class JsonBytesStringAdapter extends Uint8Array {
1599
+ string = null;
1600
+ static allocUnsafe(bytes) {
1601
+ if (typeof Buffer === "function") {
1602
+ const buffer = Buffer.allocUnsafe(bytes);
1603
+ return new JsonBytesStringAdapter(buffer.buffer, buffer.byteOffset, buffer.byteLength);
1604
+ }
1605
+ return new JsonBytesStringAdapter(bytes);
1606
+ }
1607
+ toString() {
1608
+ return this.s();
1609
+ }
1610
+ valueOf() {
1611
+ return this.s();
1612
+ }
1613
+ includes(searchString, position) {
1614
+ if (typeof searchString === "string") {
1615
+ return this.s().includes(searchString, position);
1616
+ }
1617
+ return Uint8Array.prototype.includes.call(this, searchString, position);
1618
+ }
1619
+ indexOf(searchString, position) {
1620
+ if (typeof searchString === "string") {
1621
+ return this.s().indexOf(searchString, position);
1622
+ }
1623
+ return Uint8Array.prototype.indexOf.call(this, searchString, position);
1624
+ }
1625
+ lastIndexOf(searchString, position) {
1626
+ if (typeof searchString === "string") {
1627
+ return this.s().lastIndexOf(searchString, position);
1628
+ }
1629
+ const fn = Uint8Array.prototype.lastIndexOf;
1630
+ if (position !== undefined) {
1631
+ return fn.call(this, searchString, position);
1632
+ }
1633
+ return fn.call(this, searchString);
1634
+ }
1635
+ startsWith(searchString, position) {
1636
+ return this.s().startsWith(searchString, position);
1637
+ }
1638
+ endsWith(searchString, endPosition) {
1639
+ return this.s().endsWith(searchString, endPosition);
1640
+ }
1641
+ match(regexp) {
1642
+ return this.s().match(regexp);
1643
+ }
1644
+ replace(searchValue, replaceValue) {
1645
+ return this.s().replace(searchValue, replaceValue);
1646
+ }
1647
+ search(regexp) {
1648
+ return this.s().search(regexp);
1649
+ }
1650
+ split(separator, limit) {
1651
+ return this.s().split(separator, limit);
1652
+ }
1653
+ substring(start, end) {
1654
+ return this.s().substring(start, end);
1655
+ }
1656
+ trim() {
1657
+ return this.s().trim();
1658
+ }
1659
+ trimStart() {
1660
+ return this.s().trimStart();
1661
+ }
1662
+ trimEnd() {
1663
+ return this.s().trimEnd();
1664
+ }
1665
+ charAt(pos) {
1666
+ return this.s().charAt(pos);
1667
+ }
1668
+ charCodeAt(index) {
1669
+ return this.s().charCodeAt(index);
1670
+ }
1671
+ padStart(maxLength, fillString) {
1672
+ return this.s().padStart(maxLength, fillString);
1673
+ }
1674
+ padEnd(maxLength, fillString) {
1675
+ return this.s().padEnd(maxLength, fillString);
1676
+ }
1677
+ repeat(count) {
1678
+ return this.s().repeat(count);
1679
+ }
1680
+ toUpperCase() {
1681
+ return this.s().toUpperCase();
1682
+ }
1683
+ toLowerCase() {
1684
+ return this.s().toLowerCase();
1685
+ }
1686
+ s() {
1687
+ if (this.string == null) {
1688
+ const n = Date.now();
1689
+ if (n > warned + 60_000) {
1690
+ console.warn("@aws-sdk/core/protocols - WARN - JsonCodec2: you have called a string method on a Uint8Array request body. " +
1691
+ "It has been automatically converted to string. In a future version this will throw an error.");
1692
+ warned = n;
1693
+ }
1694
+ this.string = toUtf8(this);
1695
+ }
1696
+ return this.string;
1697
+ }
1698
+ }
1699
+ var warned = 0;
1700
+
1701
+ const encoder = new TextEncoder();
1702
+ const OPEN_BRACE = 0x7b;
1703
+ const CLOSE_BRACE = 0x7d;
1704
+ const OPEN_BRACKET = 0x5b;
1705
+ const CLOSE_BRACKET = 0x5d;
1706
+ const QUOTE = 0x22;
1707
+ const COLON = 0x3a;
1708
+ const COMMA = 0x2c;
1709
+ const BACKSLASH = 0x5c;
1710
+ const TRUE = new Uint8Array([0x74, 0x72, 0x75, 0x65]);
1711
+ const FALSE = new Uint8Array([0x66, 0x61, 0x6c, 0x73, 0x65]);
1712
+ const NULL = new Uint8Array([0x6e, 0x75, 0x6c, 0x6c]);
1713
+ const ESCAPE_TABLE = new Array(128).fill(null);
1714
+ ESCAPE_TABLE[0x08] = "b";
1715
+ ESCAPE_TABLE[0x09] = "t";
1716
+ ESCAPE_TABLE[0x0a] = "n";
1717
+ ESCAPE_TABLE[0x0c] = "f";
1718
+ ESCAPE_TABLE[0x0d] = "r";
1719
+ ESCAPE_TABLE[0x22] = '"';
1720
+ ESCAPE_TABLE[0x5c] = "\\";
1721
+ for (let i = 0; i < 0x20; i++) {
1722
+ if (ESCAPE_TABLE[i] === null) {
1723
+ ESCAPE_TABLE[i] = "u00" + i.toString(16).padStart(2, "0");
1724
+ }
1725
+ }
1726
+ const INITIAL_BUFFER_SIZE = 2048;
1727
+ function alloc(size) {
1728
+ return JsonBytesStringAdapter.allocUnsafe(size);
1729
+ }
1730
+ class JsonShapeSerializer2 extends SerdeContextConfig {
1731
+ settings;
1732
+ json;
1733
+ i = 0;
1734
+ rootSchema;
1735
+ rawValue;
1736
+ passthrough = false;
1737
+ constructor(settings) {
1738
+ super();
1739
+ this.settings = settings;
1740
+ this.json = alloc(INITIAL_BUFFER_SIZE);
1741
+ }
1742
+ write(schema, value) {
1743
+ this.i = 0;
1744
+ this.rawValue = value;
1745
+ this.rootSchema = NormalizedSchema.of(schema);
1746
+ this.passthrough = this.rootSchema.isBlobSchema() || this.rootSchema.isStringSchema();
1747
+ if (!this.passthrough) {
1748
+ this.writeValue(this.rootSchema, value, undefined);
1749
+ }
1750
+ }
1751
+ writeDiscriminatedDocument(schema, value) {
1752
+ this.i = 0;
1753
+ this.rootSchema = NormalizedSchema.of(schema);
1754
+ const ns = this.rootSchema;
1755
+ if (ns.isStructSchema() && value != null && typeof value === "object") {
1756
+ this.writeValue(ns, value, undefined);
1757
+ const prefix = `"__type":"${ns.getName(true) ?? "Unknown"}",`;
1758
+ const z = prefix.length;
1759
+ this.ensure(z);
1760
+ this.json.copyWithin(1 + z, 1, this.i);
1761
+ encoder.encodeInto(prefix, this.json.subarray(1));
1762
+ this.i += z;
1763
+ }
1764
+ else {
1765
+ this.writeValue(ns, value, undefined);
1766
+ }
1767
+ }
1768
+ flush() {
1769
+ this.rootSchema = undefined;
1770
+ const finalPosition = this.i;
1771
+ this.i = 0;
1772
+ const raw = this.rawValue;
1773
+ this.rawValue = undefined;
1774
+ if (finalPosition === 0) {
1775
+ return raw;
1776
+ }
1777
+ const result = this.json.subarray(0, finalPosition);
1778
+ this.json = alloc(INITIAL_BUFFER_SIZE);
1779
+ return result;
1780
+ }
1781
+ ensure(byteCount) {
1782
+ const { i, json } = this;
1783
+ if (i + byteCount > json.length) {
1784
+ let newSize = json.length * 2;
1785
+ while (newSize < i + byteCount) {
1786
+ newSize *= 2;
1787
+ }
1788
+ const next = alloc(newSize);
1789
+ next.set(this.json);
1790
+ this.json = next;
1791
+ }
1792
+ }
1793
+ writeAscii(s) {
1794
+ const z = s.length;
1795
+ this.ensure(z);
1796
+ let { i, json } = this;
1797
+ for (let j = 0; j < z; ++j) {
1798
+ json[i] = s.charCodeAt(j);
1799
+ i += 1;
1800
+ }
1801
+ this.i = i;
1802
+ }
1803
+ writeAsciiQuoted(s) {
1804
+ const z = s.length;
1805
+ this.ensure(z + 4);
1806
+ let { json, i } = this;
1807
+ json[i++] = QUOTE;
1808
+ for (let j = 0; j < z; ++j) {
1809
+ json[i++] = s.charCodeAt(j);
1810
+ }
1811
+ json[i++] = QUOTE;
1812
+ this.i = i;
1813
+ }
1814
+ writeJsonString(s) {
1815
+ this.ensure(s.length * 3 + 2);
1816
+ this.json[this.i++] = QUOTE;
1817
+ const z = s.length;
1818
+ for (let j = 0; j < z; ++j) {
1819
+ const c = s.charCodeAt(j);
1820
+ if (c > 0x22 && c < 0x5c) {
1821
+ this.json[this.i++] = c;
1822
+ }
1823
+ else if (c < 0x80) {
1824
+ const esc = ESCAPE_TABLE[c];
1825
+ if (esc !== null) {
1826
+ this.ensure(esc.length + 1);
1827
+ this.json[this.i++] = BACKSLASH;
1828
+ for (let k = 0; k < esc.length; k++) {
1829
+ this.json[this.i++] = esc.charCodeAt(k);
1830
+ }
1831
+ }
1832
+ else {
1833
+ this.json[this.i++] = c;
1834
+ }
1835
+ }
1836
+ else if (c >= 0xd800 && c <= 0xdbff) {
1837
+ const next = j + 1 < z ? s.charCodeAt(j + 1) : 0;
1838
+ if (next >= 0xdc00 && next <= 0xdfff) {
1839
+ this.ensure(4);
1840
+ const { written } = encoder.encodeInto(s.substring(j, j + 2), this.json.subarray(this.i));
1841
+ this.i += written;
1842
+ ++j;
1843
+ }
1844
+ else {
1845
+ this.ensure(6);
1846
+ this.writeUnicodeEscape(c);
1847
+ }
1848
+ }
1849
+ else if (c >= 0xdc00 && c <= 0xdfff) {
1850
+ this.ensure(6);
1851
+ this.writeUnicodeEscape(c);
1852
+ }
1853
+ else {
1854
+ let { i, json } = this;
1855
+ if (c < 0x800) {
1856
+ json[i++] = 0xc0 | (c >> 6);
1857
+ json[i++] = 0x80 | (c & 0x3f);
1858
+ }
1859
+ else {
1860
+ json[i++] = 0xe0 | (c >> 12);
1861
+ json[i++] = 0x80 | ((c >> 6) & 0x3f);
1862
+ json[i++] = 0x80 | (c & 0x3f);
1863
+ }
1864
+ this.i = i;
1865
+ }
1866
+ }
1867
+ this.json[this.i++] = QUOTE;
1868
+ }
1869
+ writeUnicodeEscape(code) {
1870
+ let { json, i } = this;
1871
+ json[i++] = BACKSLASH;
1872
+ json[i++] = 0x75;
1873
+ const hex = code.toString(16).padStart(4, "0");
1874
+ for (let j = 0; j < 4; ++j) {
1875
+ json[i++] = hex.charCodeAt(j);
1876
+ }
1877
+ this.i = i;
1878
+ }
1879
+ static B64 = (() => {
1880
+ const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
1881
+ const table = new Uint8Array(64);
1882
+ for (let i = 0; i < 64; ++i) {
1883
+ table[i] = chars.charCodeAt(i);
1884
+ }
1885
+ return table;
1886
+ })();
1887
+ writeBase64(data) {
1888
+ const b64Len = Math.ceil(data.length / 3) * 4;
1889
+ this.ensure(b64Len + 2);
1890
+ const json = this.json;
1891
+ const B64 = JsonShapeSerializer2.B64;
1892
+ let i = this.i;
1893
+ json[i++] = QUOTE;
1894
+ const len = data.length;
1895
+ const remainder = len % 3;
1896
+ const mainLen = len - remainder;
1897
+ for (let j = 0; j < mainLen; j += 3) {
1898
+ const a = data[j];
1899
+ const b = data[j + 1];
1900
+ const c = data[j + 2];
1901
+ json[i++] = B64[a >> 2];
1902
+ json[i++] = B64[((a & 0x03) << 4) | (b >> 4)];
1903
+ json[i++] = B64[((b & 0x0f) << 2) | (c >> 6)];
1904
+ json[i++] = B64[c & 0x3f];
1905
+ }
1906
+ if (remainder === 2) {
1907
+ const a = data[mainLen];
1908
+ const b = data[mainLen + 1];
1909
+ json[i++] = B64[a >> 2];
1910
+ json[i++] = B64[((a & 0x03) << 4) | (b >> 4)];
1911
+ json[i++] = B64[(b & 0x0f) << 2];
1912
+ json[i++] = 0x3d;
1913
+ }
1914
+ else if (remainder === 1) {
1915
+ const a = data[mainLen];
1916
+ json[i++] = B64[a >> 2];
1917
+ json[i++] = B64[(a & 0x03) << 4];
1918
+ json[i++] = 0x3d;
1919
+ json[i++] = 0x3d;
1920
+ }
1921
+ json[i++] = QUOTE;
1922
+ this.i = i;
1923
+ }
1924
+ writeValue(schema, value, container) {
1925
+ if (value == null) {
1926
+ if (container?.isStructSchema()) {
1927
+ if (value === undefined) {
1928
+ const ns = NormalizedSchema.of(schema);
1929
+ if (ns.isIdempotencyToken()) {
1930
+ this.writeAsciiQuoted(generateIdempotencyToken());
1931
+ return;
1932
+ }
1933
+ }
1934
+ return;
1935
+ }
1936
+ this.ensure(4);
1937
+ this.json.set(NULL, this.i);
1938
+ this.i += 4;
1939
+ return;
1940
+ }
1941
+ const ns = NormalizedSchema.of(schema);
1942
+ const isObject = typeof value === "object";
1943
+ if (ns.isStringSchema()) {
1944
+ const mediaType = ns.getMergedTraits().mediaType;
1945
+ if (mediaType) {
1946
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
1947
+ if (isJson) {
1948
+ this.writeJsonString(LazyJsonString.from(value).toString());
1949
+ return;
1950
+ }
1951
+ }
1952
+ }
1953
+ if (this.settings.bigNumberAsString && value != null && (ns.isBigIntegerSchema() || ns.isBigDecimalSchema())) {
1954
+ const asString = value instanceof NumericValue ? value.string : String(value);
1955
+ this.writeAsciiQuoted(asString);
1956
+ return;
1957
+ }
1958
+ if (isObject) {
1959
+ if (ns.isStructSchema()) {
1960
+ this.writeStruct(ns, value);
1961
+ return;
1962
+ }
1963
+ if (Array.isArray(value) && (ns.isListSchema() || ns.isDocumentSchema())) {
1964
+ this.writeList(ns, value, ns.isDocumentSchema());
1965
+ return;
1966
+ }
1967
+ if (ns.isMapSchema()) {
1968
+ this.writeMap(ns, value, false);
1969
+ return;
1970
+ }
1971
+ if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) {
1972
+ this.writeBase64(value);
1973
+ return;
1974
+ }
1975
+ if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) {
1976
+ this.writeTimestamp(ns, value);
1977
+ return;
1978
+ }
1979
+ if (value instanceof NumericValue) {
1980
+ this.writeAscii(value.string);
1981
+ return;
1982
+ }
1983
+ if (ns.isDocumentSchema()) {
1984
+ if (Array.isArray(value)) {
1985
+ this.writeList(ns, value, true);
1986
+ }
1987
+ else {
1988
+ this.writeMap(ns, value, true);
1989
+ }
1990
+ return;
1991
+ }
1992
+ const json = JSON.stringify(value);
1993
+ this.writeAscii(json);
1994
+ return;
1995
+ }
1996
+ if (typeof value === "string") {
1997
+ if (ns.isBlobSchema()) {
1998
+ const b64 = (this.serdeContext?.base64Encoder ?? toBase64)(value);
1999
+ this.writeAsciiQuoted(b64);
2000
+ return;
2001
+ }
2002
+ this.writeJsonString(value);
2003
+ return;
2004
+ }
2005
+ if (typeof value === "number") {
2006
+ if (Math.abs(value) === Infinity || Number.isNaN(value)) {
2007
+ this.writeAsciiQuoted(String(value));
2008
+ return;
2009
+ }
2010
+ const numStr = String(value);
2011
+ this.writeAscii(numStr);
2012
+ return;
2013
+ }
2014
+ if (typeof value === "boolean") {
2015
+ this.ensure(5);
2016
+ let { i, json } = this;
2017
+ if (value) {
2018
+ json.set(TRUE, i);
2019
+ i += 4;
2020
+ }
2021
+ else {
2022
+ json.set(FALSE, i);
2023
+ i += 5;
2024
+ }
2025
+ this.i = i;
2026
+ return;
2027
+ }
2028
+ if (typeof value === "bigint") {
2029
+ this.writeAscii(value.toString());
2030
+ return;
2031
+ }
2032
+ this.writeAscii(String(value));
2033
+ }
2034
+ writeStruct(ns, value) {
2035
+ this.ensure(2);
2036
+ this.json[this.i++] = OPEN_BRACE;
2037
+ let wroteAny = false;
2038
+ const hasType = typeof value.__type === "string";
2039
+ let writtenKeys;
2040
+ if (hasType) {
2041
+ writtenKeys = new Set();
2042
+ }
2043
+ for (const [memberName, memberSchema] of ns.structIterator()) {
2044
+ const item = value[memberName];
2045
+ if (item == null && !memberSchema.isIdempotencyToken()) {
2046
+ continue;
2047
+ }
2048
+ if (wroteAny) {
2049
+ this.ensure(1);
2050
+ this.json[this.i++] = COMMA;
2051
+ }
2052
+ wroteAny = true;
2053
+ const targetKey = this.settings.jsonName ? (memberSchema.getMergedTraits().jsonName ?? memberName) : memberName;
2054
+ if (writtenKeys) {
2055
+ writtenKeys.add(memberName);
2056
+ writtenKeys.add(targetKey);
2057
+ }
2058
+ this.writeAsciiQuoted(targetKey);
2059
+ this.json[this.i++] = COLON;
2060
+ this.writeValue(memberSchema, item, ns);
2061
+ }
2062
+ if (!wroteAny && ns.isUnionSchema()) {
2063
+ const { $unknown } = value;
2064
+ if (Array.isArray($unknown)) {
2065
+ const [k, v] = $unknown;
2066
+ this.writeAsciiQuoted(k);
2067
+ this.ensure(1);
2068
+ this.json[this.i++] = COLON;
2069
+ this.writeValue(15, v, ns);
2070
+ }
2071
+ }
2072
+ else if (hasType) {
2073
+ for (const k in value) {
2074
+ if (writtenKeys.has(k)) {
2075
+ continue;
2076
+ }
2077
+ writtenKeys.add(k);
2078
+ const v = value[k];
2079
+ if (wroteAny) {
2080
+ this.ensure(1);
2081
+ this.json[this.i++] = COMMA;
2082
+ }
2083
+ wroteAny = true;
2084
+ this.writeAsciiQuoted(k);
2085
+ this.ensure(1);
2086
+ this.json[this.i++] = COLON;
2087
+ this.writeValue(15, v, undefined);
2088
+ }
2089
+ }
2090
+ this.ensure(1);
2091
+ this.json[this.i++] = CLOSE_BRACE;
2092
+ }
2093
+ writeList(ns, value, isDocument) {
2094
+ const sparse = !!ns.getMergedTraits().sparse;
2095
+ const valueSchema = ns.getValueSchema();
2096
+ if (!isDocument) {
2097
+ if (valueSchema.isStringSchema() || valueSchema.isNumericSchema() || valueSchema.isBooleanSchema()) {
2098
+ let hasSpecials = false;
2099
+ for (let i = 0; i < value.length; ++i) {
2100
+ const v = value[i];
2101
+ if (Number.isNaN(v) || v === Infinity || v === -Infinity || (v == null && !sparse)) {
2102
+ hasSpecials = true;
2103
+ break;
2104
+ }
2105
+ }
2106
+ let json;
2107
+ if (!hasSpecials) {
2108
+ json = JSON.stringify(value);
2109
+ }
2110
+ else {
2111
+ const out = [];
2112
+ for (let i = 0; i < value.length; ++i) {
2113
+ const v = value[i];
2114
+ if (v == null && !sparse)
2115
+ continue;
2116
+ if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
2117
+ out.push(String(v));
2118
+ }
2119
+ else {
2120
+ out.push(v);
2121
+ }
2122
+ }
2123
+ json = JSON.stringify(out);
2124
+ }
2125
+ this.ensure(json.length * 3);
2126
+ this.i += encoder.encodeInto(json, this.json.subarray(this.i)).written;
2127
+ return;
2128
+ }
2129
+ }
2130
+ this.ensure(2);
2131
+ this.json[this.i++] = OPEN_BRACKET;
2132
+ let wroteFirstItem = false;
2133
+ for (let i = 0; i < value.length; ++i) {
2134
+ const item = value[i];
2135
+ if (isDocument ? item === undefined : item == null && !sparse) {
2136
+ continue;
2137
+ }
2138
+ if (wroteFirstItem) {
2139
+ this.ensure(1);
2140
+ this.json[this.i++] = COMMA;
2141
+ }
2142
+ this.writeValue(valueSchema, item, undefined);
2143
+ wroteFirstItem = true;
2144
+ }
2145
+ this.ensure(1);
2146
+ this.json[this.i++] = CLOSE_BRACKET;
2147
+ }
2148
+ writeMap(ns, value, isDocument) {
2149
+ const sparse = !!ns.getMergedTraits().sparse;
2150
+ const valueSchema = ns.getValueSchema();
2151
+ if (!isDocument) {
2152
+ if (valueSchema.isStringSchema() || valueSchema.isNumericSchema() || valueSchema.isBooleanSchema()) {
2153
+ let modifications;
2154
+ for (const k in value) {
2155
+ if (!hasOwn(value, k))
2156
+ continue;
2157
+ const v = value[k];
2158
+ if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
2159
+ (modifications ??= {})[k] = v;
2160
+ value[k] = String(v);
2161
+ }
2162
+ else if (v === null && !sparse) {
2163
+ (modifications ??= {})[k] = null;
2164
+ value[k] = undefined;
2165
+ }
2166
+ }
2167
+ const json = JSON.stringify(value);
2168
+ if (modifications) {
2169
+ Object.assign(value, modifications);
2170
+ }
2171
+ this.ensure(json.length * 3);
2172
+ this.i += encoder.encodeInto(json, this.json.subarray(this.i)).written;
2173
+ return;
2174
+ }
2175
+ }
2176
+ this.ensure(2);
2177
+ this.json[this.i++] = OPEN_BRACE;
2178
+ let first = true;
2179
+ for (const k in value) {
2180
+ if (!hasOwn(value, k))
2181
+ continue;
2182
+ const v = value[k];
2183
+ if (isDocument ? v === undefined : v == null && !sparse) {
2184
+ continue;
2185
+ }
2186
+ if (!first) {
2187
+ this.ensure(1);
2188
+ this.json[this.i++] = COMMA;
2189
+ }
2190
+ first = false;
2191
+ this.writeJsonString(k);
2192
+ this.ensure(1);
2193
+ this.json[this.i++] = COLON;
2194
+ this.writeValue(valueSchema, v, undefined);
2195
+ }
2196
+ this.ensure(1);
2197
+ this.json[this.i++] = CLOSE_BRACE;
2198
+ }
2199
+ writeTimestamp(ns, value) {
2200
+ const format = determineTimestampFormat(ns, this.settings);
2201
+ switch (format) {
2202
+ case 5: {
2203
+ const iso = value.toISOString().replace(".000Z", "Z");
2204
+ this.writeAsciiQuoted(iso);
2205
+ return;
2206
+ }
2207
+ case 6: {
2208
+ this.writeAsciiQuoted(dateToUtcString(value));
2209
+ return;
2210
+ }
2211
+ case 7: {
2212
+ const epochSecs = String(value.getTime() / 1000);
2213
+ this.writeAscii(epochSecs);
2214
+ return;
2215
+ }
2216
+ default: {
2217
+ const epochSecs = String(value.getTime() / 1000);
2218
+ this.writeAscii(epochSecs);
2219
+ return;
2220
+ }
2221
+ }
2222
+ }
2223
+ }
2224
+
2225
+ class JsonCodec2 extends SerdeContextConfig {
2226
+ settings;
2227
+ constructor(settings) {
2228
+ super();
2229
+ this.settings = settings;
2230
+ }
2231
+ createSerializer() {
2232
+ const serializer = new JsonShapeSerializer2(this.settings);
2233
+ serializer.setSerdeContext(this.serdeContext);
2234
+ return serializer;
2235
+ }
2236
+ createDeserializer() {
2237
+ const deserializer = new JsonShapeDeserializer2(this.settings);
2238
+ deserializer.setSerdeContext(this.serdeContext);
2239
+ return deserializer;
2240
+ }
2241
+ }
2242
+
2243
+ class SmithyRpcV2JsonProtocol extends RpcProtocol {
2244
+ codec = new JsonCodec2({
2245
+ timestampFormat: {
2246
+ useTrait: false,
2247
+ default: 7,
2248
+ },
2249
+ jsonName: false,
2250
+ bigNumberAsString: true,
2251
+ });
2252
+ serializer = this.codec.createSerializer();
2253
+ deserializer = this.codec.createDeserializer();
2254
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
2255
+ super({ defaultNamespace, errorTypeRegistries });
2256
+ }
2257
+ getShapeId() {
2258
+ return "smithy.protocols#rpcv2Json";
2259
+ }
2260
+ getPayloadCodec() {
2261
+ return this.codec;
2262
+ }
2263
+ async serializeRequest(operationSchema, input, context) {
2264
+ const request = await super.serializeRequest(operationSchema, input, context);
2265
+ Object.assign(request.headers, {
2266
+ "content-type": this.getDefaultContentType(),
2267
+ "smithy-protocol": "rpc-v2-json",
2268
+ accept: this.getDefaultContentType(),
2269
+ });
2270
+ if (deref(operationSchema.input) === "unit") {
2271
+ delete request.body;
2272
+ delete request.headers["content-type"];
2273
+ }
2274
+ else if (!request.body) {
2275
+ request.body = "{}";
2276
+ }
2277
+ const { service, operation } = getSmithyContext(context);
2278
+ const path = `/service/${service}/operation/${operation}`;
2279
+ if (request.path.endsWith("/")) {
2280
+ request.path += path.slice(1);
2281
+ }
2282
+ else {
2283
+ request.path += path;
2284
+ }
2285
+ return request;
2286
+ }
2287
+ async deserializeResponse(operationSchema, context, response) {
2288
+ return super.deserializeResponse(operationSchema, context, response);
2289
+ }
2290
+ async handleError(operationSchema, context, response, dataObject, metadata) {
2291
+ const errorName = loadSmithyRpcV2JsonErrorCode(response, dataObject) ?? "Unknown";
2292
+ const errorMetadata = {
2293
+ $metadata: metadata,
2294
+ $fault: response.statusCode <= 500 ? "client" : "server",
2295
+ };
2296
+ let namespace = this.options.defaultNamespace;
2297
+ if (errorName.includes("#")) {
2298
+ [namespace] = errorName.split("#");
2299
+ }
2300
+ const registry = this.compositeErrorRegistry;
2301
+ const nsRegistry = TypeRegistry.for(namespace);
2302
+ registry.copyFrom(nsRegistry);
2303
+ let errorSchema;
2304
+ try {
2305
+ errorSchema = registry.getSchema(errorName);
2306
+ }
2307
+ catch (ignored) {
2308
+ if (dataObject.Message) {
2309
+ dataObject.message = dataObject.Message;
2310
+ }
2311
+ const syntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
2312
+ registry.copyFrom(syntheticRegistry);
2313
+ const baseExceptionSchema = registry.getBaseException();
2314
+ if (baseExceptionSchema) {
2315
+ const ErrorCtor = registry.getErrorCtor(baseExceptionSchema);
2316
+ throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
2317
+ }
2318
+ throw Object.assign(new Error(errorName), errorMetadata, dataObject);
2319
+ }
2320
+ const ns = NormalizedSchema.of(errorSchema);
2321
+ const ErrorCtor = registry.getErrorCtor(errorSchema);
2322
+ const message = dataObject.message ?? dataObject.Message ?? "Unknown";
2323
+ const exception = new ErrorCtor({});
2324
+ const output = {};
2325
+ const errorDeserializer = this.codec.createDeserializer();
2326
+ for (const [name, member] of ns.structIterator()) {
2327
+ if (dataObject[name] != null) {
2328
+ output[name] = errorDeserializer.readObject(member, dataObject[name]);
2329
+ }
2330
+ }
2331
+ throw Object.assign(exception, errorMetadata, {
2332
+ $fault: ns.getMergedTraits().error,
2333
+ message,
2334
+ }, output);
2335
+ }
2336
+ getDefaultContentType() {
2337
+ return "application/json";
2338
+ }
2339
+ }
2340
+
2341
+ class JsonShapeDeserializer extends SerdeContextConfig {
2342
+ settings;
2343
+ constructor(settings) {
2344
+ super();
2345
+ this.settings = settings;
2346
+ }
2347
+ async read(schema, data) {
2348
+ const reviver = needsReviver(schema) ? jsonReviver : undefined;
2349
+ return this._read(schema, typeof data === "string" ? JSON.parse(data, reviver) : await parseJsonBody(data, this.serdeContext, schema));
2350
+ }
2351
+ readObject(schema, data) {
2352
+ return this._read(schema, data);
2353
+ }
2354
+ _read(schema, value) {
2355
+ const isObject = value !== null && typeof value === "object";
2356
+ const ns = NormalizedSchema.of(schema);
2357
+ if (isObject) {
2358
+ if (ns.isStructSchema()) {
2359
+ const record = value;
2360
+ const union = ns.isUnionSchema();
2361
+ const out = {};
2362
+ let nameMap = void 0;
2363
+ const { jsonName } = this.settings;
2364
+ if (jsonName) {
2365
+ nameMap = {};
2366
+ }
2367
+ let unionSerde;
2368
+ if (union) {
2369
+ unionSerde = new UnionSerde(record, out);
2370
+ }
2371
+ for (const [memberName, memberSchema] of ns.structIterator()) {
2372
+ let fromKey = memberName;
2373
+ if (jsonName) {
2374
+ fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
2375
+ nameMap[fromKey] = memberName;
2376
+ }
2377
+ if (union) {
2378
+ unionSerde.mark(fromKey);
2379
+ }
2380
+ if (record[fromKey] != null) {
2381
+ out[memberName] = this._read(memberSchema, record[fromKey]);
2382
+ }
2383
+ }
2384
+ if (union) {
2385
+ unionSerde.writeUnknown();
2386
+ }
2387
+ else if (typeof record.__type === "string") {
2388
+ for (const k in record) {
2389
+ if (!hasOwn(record, k))
2390
+ continue;
2391
+ const v = record[k];
2392
+ const t = jsonName ? (nameMap[k] ?? k) : k;
2393
+ if (!(t in out)) {
2394
+ out[t] = v;
2395
+ }
2396
+ }
2397
+ }
2398
+ return out;
2399
+ }
2400
+ if (Array.isArray(value) && ns.isListSchema()) {
2401
+ const listMember = ns.getValueSchema();
2402
+ const out = [];
2403
+ for (const item of value) {
2404
+ out.push(this._read(listMember, item));
2405
+ }
2406
+ return out;
2407
+ }
2408
+ if (ns.isMapSchema()) {
2409
+ const mapMember = ns.getValueSchema();
2410
+ const out = {};
2411
+ for (const _k in value) {
2412
+ if (!hasOwn(value, _k))
2413
+ continue;
2414
+ if (_k === "__proto__") {
2415
+ writeKey(out);
2416
+ }
2417
+ out[_k] = this._read(mapMember, value[_k]);
2418
+ }
2419
+ return out;
2420
+ }
2421
+ }
2422
+ if (ns.isBlobSchema() && typeof value === "string") {
2423
+ return fromBase64(value);
2424
+ }
2425
+ const mediaType = ns.getMergedTraits().mediaType;
2426
+ if (ns.isStringSchema() && typeof value === "string" && mediaType) {
2427
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
2428
+ if (isJson) {
2429
+ return LazyJsonString.from(value);
2430
+ }
2431
+ return value;
2432
+ }
2433
+ if (ns.isTimestampSchema() && value != null) {
2434
+ const format = determineTimestampFormat(ns, this.settings);
2435
+ switch (format) {
2436
+ case 5:
2437
+ return parseRfc3339DateTimeWithOffset(value);
2438
+ case 6:
2439
+ return parseRfc7231DateTime(value);
2440
+ case 7:
2441
+ return parseEpochTimestamp(value);
2442
+ default:
2443
+ console.warn("Missing timestamp format, parsing value with Date constructor:", value);
2444
+ return new Date(value);
2445
+ }
2446
+ }
2447
+ if (ns.isBigIntegerSchema() && (typeof value === "number" || typeof value === "string")) {
2448
+ return BigInt(value);
2449
+ }
2450
+ if (ns.isBigDecimalSchema() && value != undefined) {
2451
+ if (value instanceof NumericValue) {
2452
+ return value;
2453
+ }
2454
+ const untyped = value;
2455
+ if (untyped.type === "bigDecimal" && "string" in untyped) {
2456
+ return new NumericValue(untyped.string, untyped.type);
2457
+ }
2458
+ return new NumericValue(String(value), "bigDecimal");
2459
+ }
2460
+ if (ns.isNumericSchema() && typeof value === "string") {
2461
+ switch (value) {
2462
+ case "Infinity":
2463
+ return Infinity;
2464
+ case "-Infinity":
2465
+ return -Infinity;
2466
+ case "NaN":
2467
+ return NaN;
2468
+ }
2469
+ return value;
2470
+ }
2471
+ if (ns.isDocumentSchema()) {
2472
+ if (isObject) {
2473
+ const out = Array.isArray(value) ? [] : {};
2474
+ for (const k in value) {
2475
+ if (!hasOwn(value, k))
2476
+ continue;
2477
+ if (k === "__proto__") {
2478
+ writeKey(out);
2479
+ }
2480
+ const v = value[k];
2481
+ if (v instanceof NumericValue) {
2482
+ out[k] = v;
2483
+ }
2484
+ else {
2485
+ out[k] = this._read(ns, v);
2486
+ }
2487
+ }
2488
+ return out;
2489
+ }
2490
+ else {
2491
+ return structuredClone(value);
2492
+ }
2493
+ }
2494
+ return value;
2495
+ }
2496
+ }
2497
+
2498
+ const NUMERIC_CONTROL_CHAR = String.fromCharCode(925);
2499
+ class JsonReplacer {
2500
+ values = new Map();
2501
+ counter = 0;
2502
+ stage = 0;
2503
+ createReplacer() {
2504
+ if (this.stage === 1) {
2505
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");
2506
+ }
2507
+ if (this.stage === 2) {
2508
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
2509
+ }
2510
+ this.stage = 1;
2511
+ return (key, value) => {
2512
+ if (value instanceof NumericValue) {
2513
+ const v = `${NUMERIC_CONTROL_CHAR + "nv" + this.counter++}_` + value.string;
2514
+ this.values.set(`"${v}"`, value.string);
2515
+ return v;
2516
+ }
2517
+ if (typeof value === "bigint") {
2518
+ const s = value.toString();
2519
+ const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s;
2520
+ this.values.set(`"${v}"`, s);
2521
+ return v;
2522
+ }
2523
+ return value;
2524
+ };
2525
+ }
2526
+ replaceInJson(json) {
2527
+ if (this.stage === 0) {
2528
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");
2529
+ }
2530
+ if (this.stage === 2) {
2531
+ throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
2532
+ }
2533
+ this.stage = 2;
2534
+ if (this.counter === 0) {
2535
+ return json;
2536
+ }
2537
+ for (const [key, value] of this.values) {
2538
+ json = json.replace(key, value);
2539
+ }
2540
+ return json;
2541
+ }
2542
+ }
2543
+
2544
+ class JsonShapeSerializer extends SerdeContextConfig {
2545
+ settings;
2546
+ buffer;
2547
+ useReplacer = false;
2548
+ rootSchema;
2549
+ constructor(settings) {
2550
+ super();
2551
+ this.settings = settings;
2552
+ }
2553
+ write(schema, value) {
2554
+ this.rootSchema = NormalizedSchema.of(schema);
2555
+ this.buffer = this._write(this.rootSchema, value);
2556
+ }
2557
+ flush() {
2558
+ const { rootSchema, useReplacer } = this;
2559
+ this.rootSchema = undefined;
2560
+ this.useReplacer = false;
2561
+ if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) {
2562
+ if (!useReplacer) {
2563
+ return JSON.stringify(this.buffer);
2564
+ }
2565
+ const replacer = new JsonReplacer();
2566
+ return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));
2567
+ }
2568
+ return this.buffer;
2569
+ }
2570
+ writeDiscriminatedDocument(schema, value) {
2571
+ this.write(schema, value);
2572
+ if (typeof this.buffer === "object") {
2573
+ this.buffer.__type = NormalizedSchema.of(schema).getName(true);
2574
+ }
2575
+ }
2576
+ _write(schema, value, container) {
2577
+ const isObject = value !== null && typeof value === "object";
2578
+ const ns = NormalizedSchema.of(schema);
2579
+ if (isObject) {
2580
+ if (ns.isStructSchema()) {
2581
+ const record = value;
2582
+ const out = {};
2583
+ const { jsonName } = this.settings;
2584
+ let nameMap = void 0;
2585
+ if (jsonName) {
2586
+ nameMap = {};
2587
+ }
2588
+ let outCount = 0;
2589
+ for (const [memberName, memberSchema] of ns.structIterator()) {
2590
+ const serializableValue = this._write(memberSchema, record[memberName], ns);
2591
+ if (serializableValue !== undefined) {
2592
+ let targetKey = memberName;
2593
+ if (jsonName) {
2594
+ targetKey = memberSchema.getMergedTraits().jsonName ?? memberName;
2595
+ nameMap[memberName] = targetKey;
2596
+ }
2597
+ out[targetKey] = serializableValue;
2598
+ outCount++;
2599
+ }
2600
+ }
2601
+ if (ns.isUnionSchema() && outCount === 0) {
2602
+ const { $unknown } = record;
2603
+ if (Array.isArray($unknown)) {
2604
+ const [k, v] = $unknown;
2605
+ if (k === "__proto__") {
2606
+ writeKey(out);
2607
+ }
2608
+ out[k] = this._write(15, v);
2609
+ }
2610
+ }
2611
+ else if (typeof record.__type === "string") {
2612
+ for (const k in record) {
2613
+ if (!hasOwn(record, k))
2614
+ continue;
2615
+ const v = record[k];
2616
+ const targetKey = jsonName ? (nameMap[k] ?? k) : k;
2617
+ if (!(targetKey in out)) {
2618
+ out[targetKey] = this._write(15, v);
2619
+ }
2620
+ }
2621
+ }
2622
+ return out;
2623
+ }
2624
+ if (Array.isArray(value) && ns.isListSchema()) {
2625
+ const listMember = ns.getValueSchema();
2626
+ const out = [];
2627
+ const sparse = !!ns.getMergedTraits().sparse;
2628
+ for (const item of value) {
2629
+ if (sparse || item != null) {
2630
+ out.push(this._write(listMember, item));
2631
+ }
2632
+ }
2633
+ return out;
2634
+ }
2635
+ if (ns.isMapSchema()) {
2636
+ const mapMember = ns.getValueSchema();
2637
+ const out = {};
2638
+ const sparse = !!ns.getMergedTraits().sparse;
2639
+ for (const _k in value) {
2640
+ if (!hasOwn(value, _k))
2641
+ continue;
2642
+ const _v = value[_k];
2643
+ if (sparse || _v != null) {
2644
+ if (_k === "__proto__") {
2645
+ writeKey(out);
2646
+ }
2647
+ out[_k] = this._write(mapMember, _v);
2648
+ }
2649
+ }
2650
+ return out;
2651
+ }
2652
+ if (value instanceof Uint8Array && ns.isBlobSchema()) {
2653
+ if (ns === this.rootSchema) {
2654
+ return value;
2655
+ }
2656
+ return (this.serdeContext?.base64Encoder ?? toBase64)(value);
2657
+ }
2658
+ if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) {
2659
+ const format = determineTimestampFormat(ns, this.settings);
2660
+ switch (format) {
2661
+ case 5:
2662
+ return value.toISOString().replace(".000Z", "Z");
2663
+ case 6:
2664
+ return dateToUtcString(value);
2665
+ case 7:
2666
+ return value.getTime() / 1000;
2667
+ default:
2668
+ console.warn("Missing timestamp format, using epoch seconds", value);
2669
+ return value.getTime() / 1000;
2670
+ }
2671
+ }
2672
+ if (value instanceof NumericValue) {
2673
+ this.useReplacer = true;
2674
+ }
2675
+ }
2676
+ if (value === null && container?.isStructSchema()) {
2677
+ return void 0;
2678
+ }
2679
+ if (ns.isStringSchema()) {
2680
+ if (typeof value === "undefined" && ns.isIdempotencyToken()) {
2681
+ return generateIdempotencyToken();
2682
+ }
2683
+ const mediaType = ns.getMergedTraits().mediaType;
2684
+ if (value != null && mediaType) {
2685
+ const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
2686
+ if (isJson) {
2687
+ return LazyJsonString.from(value);
2688
+ }
2689
+ }
2690
+ return value;
2691
+ }
2692
+ if (typeof value === "number") {
2693
+ if (Math.abs(value) === Infinity || isNaN(value)) {
2694
+ return String(value);
2695
+ }
2696
+ return value;
2697
+ }
2698
+ if (typeof value === "string" && ns.isBlobSchema()) {
2699
+ if (ns === this.rootSchema) {
2700
+ return value;
2701
+ }
2702
+ return (this.serdeContext?.base64Encoder ?? toBase64)(value);
2703
+ }
2704
+ if (typeof value === "bigint") {
2705
+ this.useReplacer = true;
2706
+ }
2707
+ if (ns.isDocumentSchema()) {
2708
+ if (isObject) {
2709
+ if (value instanceof Uint8Array) {
2710
+ return (this.serdeContext?.base64Encoder ?? toBase64)(value);
2711
+ }
2712
+ const out = Array.isArray(value) ? [] : {};
2713
+ for (const k in value) {
2714
+ if (!hasOwn(value, k))
2715
+ continue;
2716
+ const v = value[k];
2717
+ if (k === "__proto__") {
2718
+ writeKey(out);
2719
+ }
2720
+ if (v instanceof NumericValue) {
2721
+ this.useReplacer = true;
2722
+ out[k] = v;
2723
+ }
2724
+ else {
2725
+ out[k] = this._write(ns, v);
2726
+ }
2727
+ }
2728
+ return out;
2729
+ }
2730
+ else {
2731
+ return structuredClone(value);
2732
+ }
2733
+ }
2734
+ return value;
2735
+ }
2736
+ }
2737
+
2738
+ class JsonCodec extends SerdeContextConfig {
2739
+ settings;
2740
+ constructor(settings) {
2741
+ super();
2742
+ this.settings = settings;
2743
+ }
2744
+ createSerializer() {
2745
+ const serializer = new JsonShapeSerializer(this.settings);
2746
+ serializer.setSerdeContext(this.serdeContext);
2747
+ return serializer;
2748
+ }
2749
+ createDeserializer() {
2750
+ const deserializer = new JsonShapeDeserializer(this.settings);
2751
+ deserializer.setSerdeContext(this.serdeContext);
2752
+ return deserializer;
2753
+ }
2754
+ }
2755
+
1076
2756
  exports.Field = Field;
1077
2757
  exports.Fields = Fields;
1078
2758
  exports.FromStringShapeDeserializer = FromStringShapeDeserializer;
@@ -1080,9 +2760,16 @@ exports.HttpBindingProtocol = HttpBindingProtocol;
1080
2760
  exports.HttpInterceptingShapeDeserializer = HttpInterceptingShapeDeserializer;
1081
2761
  exports.HttpInterceptingShapeSerializer = HttpInterceptingShapeSerializer;
1082
2762
  exports.HttpProtocol = HttpProtocol;
2763
+ exports.JsonCodec = JsonCodec;
2764
+ exports.JsonCodec2 = JsonCodec2;
2765
+ exports.JsonShapeDeserializer = JsonShapeDeserializer;
2766
+ exports.JsonShapeDeserializer2 = JsonShapeDeserializer2;
2767
+ exports.JsonShapeSerializer = JsonShapeSerializer;
2768
+ exports.JsonShapeSerializer2 = JsonShapeSerializer2;
1083
2769
  exports.RequestBuilder = RequestBuilder;
1084
2770
  exports.RpcProtocol = RpcProtocol;
1085
2771
  exports.SerdeContext = SerdeContext;
2772
+ exports.SmithyRpcV2JsonProtocol = SmithyRpcV2JsonProtocol;
1086
2773
  exports.ToStringShapeSerializer = ToStringShapeSerializer;
1087
2774
  exports.buildQueryString = buildQueryString;
1088
2775
  exports.collectBody = collectBody;
@@ -1094,6 +2781,11 @@ exports.escapeUriPath = escapeUriPath;
1094
2781
  exports.extendedEncodeURIComponent = extendedEncodeURIComponent;
1095
2782
  exports.getContentLengthPlugin = getContentLengthPlugin;
1096
2783
  exports.getHttpHandlerExtensionConfiguration = getHttpHandlerExtensionConfiguration;
2784
+ exports.loadJsonRpcErrorCode = loadJsonRpcErrorCode;
2785
+ exports.loadRestJsonErrorCode = loadRestJsonErrorCode;
2786
+ exports.loadSmithyRpcV2JsonErrorCode = loadSmithyRpcV2JsonErrorCode;
2787
+ exports.parseJsonBody = parseJsonBody;
2788
+ exports.parseJsonErrorBody = parseJsonErrorBody;
1097
2789
  exports.requestBuilder = requestBuilder;
1098
2790
  exports.resolveHttpHandlerRuntimeConfig = resolveHttpHandlerRuntimeConfig;
1099
2791
  exports.resolvedPath = resolvedPath;