omniroute 2.8.5 → 2.8.7

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 (255) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/build-manifest.json +2 -2
  3. package/app/.next/prerender-manifest.json +3 -3
  4. package/app/.next/server/app/(dashboard)/dashboard/a2a/page_client-reference-manifest.js +1 -1
  5. package/app/.next/server/app/(dashboard)/dashboard/agents/page_client-reference-manifest.js +1 -1
  6. package/app/.next/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
  7. package/app/.next/server/app/(dashboard)/dashboard/api-manager/page_client-reference-manifest.js +1 -1
  8. package/app/.next/server/app/(dashboard)/dashboard/audit-log/page_client-reference-manifest.js +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/auto-combo/page_client-reference-manifest.js +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  11. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  12. package/app/.next/server/app/(dashboard)/dashboard/costs/page_client-reference-manifest.js +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  14. package/app/.next/server/app/(dashboard)/dashboard/health/page_client-reference-manifest.js +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/limits/page_client-reference-manifest.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/logs/page_client-reference-manifest.js +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/mcp/page_client-reference-manifest.js +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/media/page_client-reference-manifest.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/onboarding/page_client-reference-manifest.js +1 -1
  20. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  26. package/app/.next/server/app/(dashboard)/dashboard/search-tools/page_client-reference-manifest.js +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/settings/page_client-reference-manifest.js +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  31. package/app/.next/server/app/400/page_client-reference-manifest.js +1 -1
  32. package/app/.next/server/app/401/page_client-reference-manifest.js +1 -1
  33. package/app/.next/server/app/403/page_client-reference-manifest.js +1 -1
  34. package/app/.next/server/app/408/page_client-reference-manifest.js +1 -1
  35. package/app/.next/server/app/429/page_client-reference-manifest.js +1 -1
  36. package/app/.next/server/app/500/page_client-reference-manifest.js +1 -1
  37. package/app/.next/server/app/502/page_client-reference-manifest.js +1 -1
  38. package/app/.next/server/app/503/page_client-reference-manifest.js +1 -1
  39. package/app/.next/server/app/_global-error.html +2 -2
  40. package/app/.next/server/app/_global-error.rsc +1 -1
  41. package/app/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  42. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  43. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  44. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  45. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  46. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  47. package/app/.next/server/app/api/acp/agents/route.js +1 -1
  48. package/app/.next/server/app/api/acp/agents/route.js.nft.json +1 -1
  49. package/app/.next/server/app/api/auth/login/route.js +1 -1
  50. package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  51. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  52. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  53. package/app/.next/server/app/api/cloud/auth/route.js +1 -1
  54. package/app/.next/server/app/api/cloud/auth/route.js.nft.json +1 -1
  55. package/app/.next/server/app/api/cloud/credentials/update/route.js +1 -1
  56. package/app/.next/server/app/api/cloud/credentials/update/route.js.nft.json +1 -1
  57. package/app/.next/server/app/api/cloud/model/resolve/route.js +1 -1
  58. package/app/.next/server/app/api/cloud/model/resolve/route.js.nft.json +1 -1
  59. package/app/.next/server/app/api/cloud/models/alias/route.js +1 -1
  60. package/app/.next/server/app/api/cloud/models/alias/route.js.nft.json +1 -1
  61. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  62. package/app/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
  63. package/app/.next/server/app/api/combos/route.js +1 -1
  64. package/app/.next/server/app/api/combos/route.js.nft.json +1 -1
  65. package/app/.next/server/app/api/combos/test/route.js +1 -1
  66. package/app/.next/server/app/api/combos/test/route.js.nft.json +1 -1
  67. package/app/.next/server/app/api/db-backups/export/route.js +1 -1
  68. package/app/.next/server/app/api/db-backups/export/route.js.nft.json +1 -1
  69. package/app/.next/server/app/api/db-backups/import/route.js +1 -1
  70. package/app/.next/server/app/api/db-backups/import/route.js.nft.json +1 -1
  71. package/app/.next/server/app/api/db-backups/route.js +1 -1
  72. package/app/.next/server/app/api/db-backups/route.js.nft.json +1 -1
  73. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  74. package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  75. package/app/.next/server/app/api/keys/route.js +1 -1
  76. package/app/.next/server/app/api/keys/route.js.nft.json +1 -1
  77. package/app/.next/server/app/api/logs/detail/route.js +1 -1
  78. package/app/.next/server/app/api/logs/detail/route.js.nft.json +1 -1
  79. package/app/.next/server/app/api/models/alias/route.js +1 -1
  80. package/app/.next/server/app/api/models/alias/route.js.nft.json +1 -1
  81. package/app/.next/server/app/api/models/openrouter-catalog/route.js +1 -1
  82. package/app/.next/server/app/api/models/openrouter-catalog/route.js.nft.json +1 -1
  83. package/app/.next/server/app/api/models/route.js +1 -1
  84. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  85. package/app/.next/server/app/api/monitoring/health/route.js +1 -1
  86. package/app/.next/server/app/api/monitoring/health/route.js.nft.json +1 -1
  87. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  88. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  89. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  90. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  91. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  92. package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  93. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  94. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  95. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  96. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  97. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  98. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  99. package/app/.next/server/app/api/pricing/models/route.js +1 -1
  100. package/app/.next/server/app/api/pricing/models/route.js.nft.json +1 -1
  101. package/app/.next/server/app/api/pricing/route.js +1 -1
  102. package/app/.next/server/app/api/pricing/route.js.nft.json +1 -1
  103. package/app/.next/server/app/api/provider-models/route.js +2 -2
  104. package/app/.next/server/app/api/provider-models/route.js.nft.json +1 -1
  105. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  106. package/app/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  107. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  108. package/app/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
  109. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  110. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  111. package/app/.next/server/app/api/providers/[id]/refresh/route.js +1 -1
  112. package/app/.next/server/app/api/providers/[id]/refresh/route.js.nft.json +1 -1
  113. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  114. package/app/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
  115. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  116. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  117. package/app/.next/server/app/api/providers/client/route.js +1 -1
  118. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  119. package/app/.next/server/app/api/providers/route.js +1 -1
  120. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  121. package/app/.next/server/app/api/providers/test-batch/route.js +2 -2
  122. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  123. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  124. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  125. package/app/.next/server/app/api/rate-limits/route.js +1 -1
  126. package/app/.next/server/app/api/rate-limits/route.js.nft.json +1 -1
  127. package/app/.next/server/app/api/resilience/route.js +1 -1
  128. package/app/.next/server/app/api/resilience/route.js.nft.json +1 -1
  129. package/app/.next/server/app/api/search/providers/route.js +1 -1
  130. package/app/.next/server/app/api/search/providers/route.js.nft.json +1 -1
  131. package/app/.next/server/app/api/search/stats/route.js +1 -1
  132. package/app/.next/server/app/api/search/stats/route.js.nft.json +1 -1
  133. package/app/.next/server/app/api/settings/codex-service-tier/route.js +1 -1
  134. package/app/.next/server/app/api/settings/codex-service-tier/route.js.nft.json +1 -1
  135. package/app/.next/server/app/api/settings/combo-defaults/route.js +1 -1
  136. package/app/.next/server/app/api/settings/combo-defaults/route.js.nft.json +1 -1
  137. package/app/.next/server/app/api/settings/proxies/assignments/route.js +2 -2
  138. package/app/.next/server/app/api/settings/proxies/bulk-assign/route.js +2 -2
  139. package/app/.next/server/app/api/settings/proxies/route.js +1 -1
  140. package/app/.next/server/app/api/settings/proxy/route.js +2 -2
  141. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  142. package/app/.next/server/app/api/settings/require-login/route.js.nft.json +1 -1
  143. package/app/.next/server/app/api/settings/route.js +1 -1
  144. package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
  145. package/app/.next/server/app/api/settings/system-prompt/route.js +1 -1
  146. package/app/.next/server/app/api/settings/system-prompt/route.js.nft.json +1 -1
  147. package/app/.next/server/app/api/settings/thinking-budget/route.js +1 -1
  148. package/app/.next/server/app/api/settings/thinking-budget/route.js.nft.json +1 -1
  149. package/app/.next/server/app/api/sync/cloud/route.js +1 -1
  150. package/app/.next/server/app/api/sync/cloud/route.js.nft.json +1 -1
  151. package/app/.next/server/app/api/sync/initialize/route.js +1 -1
  152. package/app/.next/server/app/api/sync/initialize/route.js.nft.json +1 -1
  153. package/app/.next/server/app/api/system/version/route.js +1 -1
  154. package/app/.next/server/app/api/system/version/route.js.nft.json +1 -1
  155. package/app/.next/server/app/api/translator/send/route.js +1 -1
  156. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  157. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  158. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  159. package/app/.next/server/app/api/usage/quota/route.js +1 -1
  160. package/app/.next/server/app/api/usage/quota/route.js.nft.json +1 -1
  161. package/app/.next/server/app/api/v1/embeddings/route.js +7 -6
  162. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  163. package/app/.next/server/app/api/v1/management/proxies/assignments/route.js +1 -1
  164. package/app/.next/server/app/api/v1/management/proxies/assignments/route.js.nft.json +1 -1
  165. package/app/.next/server/app/api/v1/management/proxies/bulk-assign/route.js +1 -1
  166. package/app/.next/server/app/api/v1/management/proxies/bulk-assign/route.js.nft.json +1 -1
  167. package/app/.next/server/app/api/v1/management/proxies/health/route.js +1 -1
  168. package/app/.next/server/app/api/v1/management/proxies/health/route.js.nft.json +1 -1
  169. package/app/.next/server/app/api/v1/management/proxies/route.js +1 -1
  170. package/app/.next/server/app/api/v1/management/proxies/route.js.nft.json +1 -1
  171. package/app/.next/server/app/api/v1/models/route.js +1 -1
  172. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  173. package/app/.next/server/app/api/v1/route.js +1 -1
  174. package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
  175. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  176. package/app/.next/server/app/docs/page_client-reference-manifest.js +1 -1
  177. package/app/.next/server/app/forbidden/page_client-reference-manifest.js +1 -1
  178. package/app/.next/server/app/forgot-password/page_client-reference-manifest.js +1 -1
  179. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  180. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  181. package/app/.next/server/app/maintenance/page_client-reference-manifest.js +1 -1
  182. package/app/.next/server/app/offline/page_client-reference-manifest.js +1 -1
  183. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  184. package/app/.next/server/app/privacy/page_client-reference-manifest.js +1 -1
  185. package/app/.next/server/app/status/page_client-reference-manifest.js +1 -1
  186. package/app/.next/server/app/terms/page_client-reference-manifest.js +1 -1
  187. package/app/.next/server/chunks/[root-of-the-server]__007da72e._.js +3 -0
  188. package/app/.next/server/chunks/[root-of-the-server]__09c944b3._.js +1 -1
  189. package/app/.next/server/chunks/[root-of-the-server]__784fb7c5._.js +1 -1
  190. package/app/.next/server/chunks/[root-of-the-server]__7d9b23e7._.js +1 -1
  191. package/app/.next/server/chunks/[root-of-the-server]__80e3bfc3._.js +1 -1
  192. package/app/.next/server/chunks/[root-of-the-server]__84e445b2._.js +2 -2
  193. package/app/.next/server/chunks/[root-of-the-server]__92cb0def._.js +1 -1
  194. package/app/.next/server/chunks/[root-of-the-server]__a630d6ef._.js +5 -5
  195. package/app/.next/server/chunks/[root-of-the-server]__c8e3c8a9._.js +50 -0
  196. package/app/.next/server/chunks/[root-of-the-server]__d4563e10._.js +1 -1
  197. package/app/.next/server/chunks/[root-of-the-server]__db2f9fe0._.js +1 -1
  198. package/app/.next/server/chunks/[root-of-the-server]__e27a89bd._.js +1 -1
  199. package/app/.next/server/chunks/_05c48915._.js +1 -1
  200. package/app/.next/server/chunks/_1244636c._.js +2 -2
  201. package/app/.next/server/chunks/_14963fed._.js +1 -1
  202. package/app/.next/server/chunks/_1717e651._.js +1 -1
  203. package/app/.next/server/chunks/_2115d8de._.js +1 -1
  204. package/app/.next/server/chunks/_3ac953eb._.js +1 -1
  205. package/app/.next/server/chunks/_4b8fd853._.js +1 -1
  206. package/app/.next/server/chunks/_5677b5e2._.js +1 -1
  207. package/app/.next/server/chunks/_5bbb2e7a._.js +1 -1
  208. package/app/.next/server/chunks/_68683848._.js +1 -1
  209. package/app/.next/server/chunks/_b39b1914._.js +3 -0
  210. package/app/.next/server/chunks/_c05b9de3._.js +1 -1
  211. package/app/.next/server/chunks/_c795fc74._.js +1 -1
  212. package/app/.next/server/chunks/_ee7b7859._.js +1 -1
  213. package/app/.next/server/chunks/_ee9b677b._.js +1 -1
  214. package/app/.next/server/chunks/open-sse_translator_index_ts_f5fd0821._.js +2 -2
  215. package/app/.next/server/chunks/src_lib_localDb_ts_83220848._.js +1 -1
  216. package/app/.next/server/chunks/src_shared_validation_schemas_ts_4e63863a._.js +1 -1
  217. package/app/.next/server/chunks/ssr/[root-of-the-server]__9affb65e._.js +1 -1
  218. package/app/.next/server/chunks/ssr/[root-of-the-server]__a6942102._.js +1 -1
  219. package/app/.next/server/chunks/ssr/src_9197fb9b._.js +1 -1
  220. package/app/.next/server/chunks/ssr/src_d3225e36._.js +1 -1
  221. package/app/.next/server/chunks/ssr/src_i18n_messages_en_json_c3d5c412._.js +1 -1
  222. package/app/.next/server/chunks/ssr/src_i18n_messages_zh-CN_json_f4112d90._.js +1 -1
  223. package/app/.next/server/pages/500.html +2 -2
  224. package/app/.next/server/server-reference-manifest.js +1 -1
  225. package/app/.next/server/server-reference-manifest.json +1 -1
  226. package/app/.next/static/chunks/1042694db0c08f1f.css +1 -0
  227. package/app/.next/static/chunks/{ec1938d17386c6db.js → 34569b4e9d93c0ad.js} +2 -2
  228. package/app/.next/static/chunks/{d9a70775eb233dc3.js → 53e0c73d409ce003.js} +1 -1
  229. package/app/.next/static/chunks/91761ba00c702cff.js +1 -0
  230. package/app/CHANGELOG.md +50 -0
  231. package/app/docs/openapi.yaml +1 -1
  232. package/app/open-sse/handlers/chatCore.ts +6 -2
  233. package/app/open-sse/services/rateLimitManager.ts +10 -5
  234. package/app/open-sse/services/roleNormalizer.ts +14 -19
  235. package/app/open-sse/translator/index.ts +27 -3
  236. package/app/package-lock.json +2 -2
  237. package/app/package.json +1 -1
  238. package/app/src/app/(dashboard)/dashboard/cli-tools/CLIToolsPageClient.tsx +12 -0
  239. package/app/src/app/(dashboard)/dashboard/cli-tools/components/AntigravityToolCard.tsx +5 -5
  240. package/app/src/app/(dashboard)/dashboard/providers/[id]/page.tsx +381 -62
  241. package/app/src/app/api/provider-models/route.ts +47 -6
  242. package/app/src/app/api/v1/embeddings/route.ts +33 -3
  243. package/app/src/i18n/messages/en.json +10 -0
  244. package/app/src/i18n/messages/zh-CN.json +10 -0
  245. package/app/src/lib/db/models.ts +130 -13
  246. package/app/src/lib/localDb.ts +5 -0
  247. package/app/src/shared/validation/schemas.ts +1 -0
  248. package/package.json +1 -1
  249. package/app/.next/server/chunks/[root-of-the-server]__3972de72._.js +0 -50
  250. package/app/.next/server/chunks/[root-of-the-server]__6b56b04f._.js +0 -3
  251. package/app/.next/static/chunks/af071ff826ecff1b.css +0 -1
  252. package/app/.next/static/chunks/d19ab4efcaddd1db.js +0 -1
  253. /package/app/.next/static/{coLESPH6_RrEzzULWq8F5 → zi0Yj1AW2_CKS-WmB5ZUc}/_buildManifest.js +0 -0
  254. /package/app/.next/static/{coLESPH6_RrEzzULWq8F5 → zi0Yj1AW2_CKS-WmB5ZUc}/_clientMiddlewareManifest.json +0 -0
  255. /package/app/.next/static/{coLESPH6_RrEzzULWq8F5 → zi0Yj1AW2_CKS-WmB5ZUc}/_ssgManifest.js +0 -0
@@ -1,2 +1,2 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/status/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":339756,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":339756,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":837457,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":837457,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":347257,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":347257,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":768017,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":768017,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":897367,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":897367,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/app/global-error.tsx <module evaluation>":{"id":563491,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/app/global-error.tsx":{"id":563491,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/shared/components/ThemeProvider.tsx <module evaluation>":{"id":450222,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/src/shared/components/ThemeProvider.tsx":{"id":450222,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js <module evaluation>":{"id":175696,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":175696,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/src/app/error.tsx <module evaluation>":{"id":758298,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/beeffe5f5394be33.js"],"async":false},"[project]/src/app/error.tsx":{"id":758298,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/beeffe5f5394be33.js"],"async":false},"[project]/src/app/loading.tsx <module evaluation>":{"id":790392,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f79cbcb7ca904f94.js"],"async":false},"[project]/src/app/loading.tsx":{"id":790392,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f79cbcb7ca904f94.js"],"async":false},"[project]/src/app/not-found.tsx <module evaluation>":{"id":329306,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f51538785d2d89a5.js"],"async":false},"[project]/src/app/not-found.tsx":{"id":329306,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f51538785d2d89a5.js"],"async":false},"[project]/src/app/status/page.tsx <module evaluation>":{"id":728673,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/c6f1020f82e6e81d.js"],"async":false},"[project]/src/app/status/page.tsx":{"id":728673,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/c6f1020f82e6e81d.js"],"async":false}},"ssrModuleMapping":{"339756":{"*":{"id":802420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"837457":{"*":{"id":324017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"347257":{"*":{"id":877682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"92825":{"*":{"id":697296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"768017":{"*":{"id":861660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"27201":{"*":{"id":660704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"897367":{"*":{"id":990574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"563491":{"*":{"id":537006,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"450222":{"*":{"id":561487,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js"],"async":true}},"175696":{"*":{"id":588788,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js"],"async":false}},"758298":{"*":{"id":123953,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/src_app_error_tsx_22278d09._.js"],"async":false}},"790392":{"*":{"id":42816,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/src_9607843e._.js"],"async":false}},"329306":{"*":{"id":336394,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/_8cfab48b._.js","server/chunks/ssr/node_modules_next_dist_c2965c68._.js"],"async":false}},"728673":{"*":{"id":190970,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/_94e6379b._.js","server/chunks/ssr/node_modules_next_dist_c2965c68._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"339756":{"*":{"id":926768,"name":"*","chunks":[],"async":false}},"837457":{"*":{"id":517910,"name":"*","chunks":[],"async":false}},"347257":{"*":{"id":292977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":348552,"name":"*","chunks":[],"async":false}},"768017":{"*":{"id":683919,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":340771,"name":"*","chunks":[],"async":false}},"897367":{"*":{"id":724150,"name":"*","chunks":[],"async":false}},"563491":{"*":{"id":530269,"name":"*","chunks":[],"async":false}},"450222":{"*":{"id":898658,"name":"*","chunks":[],"async":false}},"175696":{"*":{"id":152265,"name":"*","chunks":[],"async":false}},"758298":{"*":{"id":780257,"name":"*","chunks":[],"async":false}},"790392":{"*":{"id":562386,"name":"*","chunks":[],"async":false}},"329306":{"*":{"id":204145,"name":"*","chunks":[],"async":false}},"728673":{"*":{"id":720608,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/global-error":[],"[project]/src/app/layout":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}],"[project]/src/app/error":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}],"[project]/src/app/loading":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}],"[project]/src/app/not-found":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}],"[project]/src/app/status/page":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/global-error":["static/chunks/d245df73b72378fb.js","static/chunks/16ea27c3b926bc31.js"],"[project]/src/app/layout":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js"],"[project]/src/app/error":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/beeffe5f5394be33.js"],"[project]/src/app/loading":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f79cbcb7ca904f94.js"],"[project]/src/app/not-found":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f51538785d2d89a5.js"],"[project]/src/app/status/page":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/c6f1020f82e6e81d.js"]}}
2
+ globalThis.__RSC_MANIFEST["/status/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":339756,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":339756,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":837457,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":837457,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":347257,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":347257,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":768017,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":768017,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":897367,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":897367,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/app/global-error.tsx <module evaluation>":{"id":563491,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/app/global-error.tsx":{"id":563491,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/shared/components/ThemeProvider.tsx <module evaluation>":{"id":450222,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/src/shared/components/ThemeProvider.tsx":{"id":450222,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js <module evaluation>":{"id":175696,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":175696,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/src/app/error.tsx <module evaluation>":{"id":758298,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/beeffe5f5394be33.js"],"async":false},"[project]/src/app/error.tsx":{"id":758298,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/beeffe5f5394be33.js"],"async":false},"[project]/src/app/loading.tsx <module evaluation>":{"id":790392,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f79cbcb7ca904f94.js"],"async":false},"[project]/src/app/loading.tsx":{"id":790392,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f79cbcb7ca904f94.js"],"async":false},"[project]/src/app/not-found.tsx <module evaluation>":{"id":329306,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f51538785d2d89a5.js"],"async":false},"[project]/src/app/not-found.tsx":{"id":329306,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f51538785d2d89a5.js"],"async":false},"[project]/src/app/status/page.tsx <module evaluation>":{"id":728673,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/c6f1020f82e6e81d.js"],"async":false},"[project]/src/app/status/page.tsx":{"id":728673,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/c6f1020f82e6e81d.js"],"async":false}},"ssrModuleMapping":{"339756":{"*":{"id":802420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"837457":{"*":{"id":324017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"347257":{"*":{"id":877682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"92825":{"*":{"id":697296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"768017":{"*":{"id":861660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"27201":{"*":{"id":660704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"897367":{"*":{"id":990574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"563491":{"*":{"id":537006,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"450222":{"*":{"id":561487,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js"],"async":true}},"175696":{"*":{"id":588788,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js"],"async":false}},"758298":{"*":{"id":123953,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/src_app_error_tsx_22278d09._.js"],"async":false}},"790392":{"*":{"id":42816,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/src_9607843e._.js"],"async":false}},"329306":{"*":{"id":336394,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/_8cfab48b._.js","server/chunks/ssr/node_modules_next_dist_c2965c68._.js"],"async":false}},"728673":{"*":{"id":190970,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/_94e6379b._.js","server/chunks/ssr/node_modules_next_dist_c2965c68._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"339756":{"*":{"id":926768,"name":"*","chunks":[],"async":false}},"837457":{"*":{"id":517910,"name":"*","chunks":[],"async":false}},"347257":{"*":{"id":292977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":348552,"name":"*","chunks":[],"async":false}},"768017":{"*":{"id":683919,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":340771,"name":"*","chunks":[],"async":false}},"897367":{"*":{"id":724150,"name":"*","chunks":[],"async":false}},"563491":{"*":{"id":530269,"name":"*","chunks":[],"async":false}},"450222":{"*":{"id":898658,"name":"*","chunks":[],"async":false}},"175696":{"*":{"id":152265,"name":"*","chunks":[],"async":false}},"758298":{"*":{"id":780257,"name":"*","chunks":[],"async":false}},"790392":{"*":{"id":562386,"name":"*","chunks":[],"async":false}},"329306":{"*":{"id":204145,"name":"*","chunks":[],"async":false}},"728673":{"*":{"id":720608,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/global-error":[],"[project]/src/app/layout":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}],"[project]/src/app/error":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}],"[project]/src/app/loading":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}],"[project]/src/app/not-found":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}],"[project]/src/app/status/page":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/global-error":["static/chunks/d245df73b72378fb.js","static/chunks/16ea27c3b926bc31.js"],"[project]/src/app/layout":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js"],"[project]/src/app/error":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/beeffe5f5394be33.js"],"[project]/src/app/loading":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f79cbcb7ca904f94.js"],"[project]/src/app/not-found":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f51538785d2d89a5.js"],"[project]/src/app/status/page":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/c6f1020f82e6e81d.js"]}}
@@ -1,2 +1,2 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/terms/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":339756,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":339756,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":837457,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":837457,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":347257,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":347257,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":768017,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":768017,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":897367,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":897367,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/app/global-error.tsx <module evaluation>":{"id":563491,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/app/global-error.tsx":{"id":563491,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/shared/components/ThemeProvider.tsx <module evaluation>":{"id":450222,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/src/shared/components/ThemeProvider.tsx":{"id":450222,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js <module evaluation>":{"id":175696,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":175696,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/src/app/error.tsx <module evaluation>":{"id":758298,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/beeffe5f5394be33.js"],"async":false},"[project]/src/app/error.tsx":{"id":758298,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/beeffe5f5394be33.js"],"async":false},"[project]/src/app/loading.tsx <module evaluation>":{"id":790392,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f79cbcb7ca904f94.js"],"async":false},"[project]/src/app/loading.tsx":{"id":790392,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f79cbcb7ca904f94.js"],"async":false},"[project]/src/app/not-found.tsx <module evaluation>":{"id":329306,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f51538785d2d89a5.js"],"async":false},"[project]/src/app/not-found.tsx":{"id":329306,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f51538785d2d89a5.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js <module evaluation>":{"id":522016,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/a53ec3f73e2e9d76.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js":{"id":522016,"name":"*","chunks":["/_next/static/chunks/d9a70775eb233dc3.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/a53ec3f73e2e9d76.js"],"async":false}},"ssrModuleMapping":{"339756":{"*":{"id":802420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"837457":{"*":{"id":324017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"347257":{"*":{"id":877682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"92825":{"*":{"id":697296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"768017":{"*":{"id":861660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"27201":{"*":{"id":660704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"897367":{"*":{"id":990574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"563491":{"*":{"id":537006,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"450222":{"*":{"id":561487,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js"],"async":true}},"175696":{"*":{"id":588788,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js"],"async":false}},"758298":{"*":{"id":123953,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/src_app_error_tsx_22278d09._.js"],"async":false}},"790392":{"*":{"id":42816,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/src_9607843e._.js"],"async":false}},"329306":{"*":{"id":336394,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/_8cfab48b._.js","server/chunks/ssr/node_modules_next_dist_c2965c68._.js"],"async":false}},"522016":{"*":{"id":238246,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/node_modules_next_becc837c._.js","server/chunks/ssr/node_modules_next_dist_c2965c68._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"339756":{"*":{"id":926768,"name":"*","chunks":[],"async":false}},"837457":{"*":{"id":517910,"name":"*","chunks":[],"async":false}},"347257":{"*":{"id":292977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":348552,"name":"*","chunks":[],"async":false}},"768017":{"*":{"id":683919,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":340771,"name":"*","chunks":[],"async":false}},"897367":{"*":{"id":724150,"name":"*","chunks":[],"async":false}},"563491":{"*":{"id":530269,"name":"*","chunks":[],"async":false}},"450222":{"*":{"id":898658,"name":"*","chunks":[],"async":false}},"175696":{"*":{"id":152265,"name":"*","chunks":[],"async":false}},"758298":{"*":{"id":780257,"name":"*","chunks":[],"async":false}},"790392":{"*":{"id":562386,"name":"*","chunks":[],"async":false}},"329306":{"*":{"id":204145,"name":"*","chunks":[],"async":false}},"522016":{"*":{"id":784707,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/global-error":[],"[project]/src/app/layout":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}],"[project]/src/app/error":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}],"[project]/src/app/loading":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}],"[project]/src/app/not-found":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}],"[project]/src/app/terms/page":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/af071ff826ecff1b.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/global-error":["static/chunks/d245df73b72378fb.js","static/chunks/16ea27c3b926bc31.js"],"[project]/src/app/layout":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js"],"[project]/src/app/error":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/beeffe5f5394be33.js"],"[project]/src/app/loading":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f79cbcb7ca904f94.js"],"[project]/src/app/not-found":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f51538785d2d89a5.js"],"[project]/src/app/terms/page":["static/chunks/d9a70775eb233dc3.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/a53ec3f73e2e9d76.js"]}}
2
+ globalThis.__RSC_MANIFEST["/terms/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":339756,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":339756,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":837457,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":837457,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":347257,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":347257,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":768017,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":768017,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":897367,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":897367,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/app/global-error.tsx <module evaluation>":{"id":563491,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/app/global-error.tsx":{"id":563491,"name":"*","chunks":["/_next/static/chunks/d245df73b72378fb.js","/_next/static/chunks/16ea27c3b926bc31.js"],"async":false},"[project]/src/shared/components/ThemeProvider.tsx <module evaluation>":{"id":450222,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/src/shared/components/ThemeProvider.tsx":{"id":450222,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js <module evaluation>":{"id":175696,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":175696,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/src/app/error.tsx <module evaluation>":{"id":758298,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/beeffe5f5394be33.js"],"async":false},"[project]/src/app/error.tsx":{"id":758298,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/beeffe5f5394be33.js"],"async":false},"[project]/src/app/loading.tsx <module evaluation>":{"id":790392,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f79cbcb7ca904f94.js"],"async":false},"[project]/src/app/loading.tsx":{"id":790392,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f79cbcb7ca904f94.js"],"async":false},"[project]/src/app/not-found.tsx <module evaluation>":{"id":329306,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f51538785d2d89a5.js"],"async":false},"[project]/src/app/not-found.tsx":{"id":329306,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/f51538785d2d89a5.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js <module evaluation>":{"id":522016,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/a53ec3f73e2e9d76.js"],"async":false},"[project]/node_modules/next/dist/client/app-dir/link.js":{"id":522016,"name":"*","chunks":["/_next/static/chunks/53e0c73d409ce003.js","/_next/static/chunks/3fa6c964786c962d.js","/_next/static/chunks/3073ed4e47d4d993.js","/_next/static/chunks/a53ec3f73e2e9d76.js"],"async":false}},"ssrModuleMapping":{"339756":{"*":{"id":802420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"837457":{"*":{"id":324017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"347257":{"*":{"id":877682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"92825":{"*":{"id":697296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"768017":{"*":{"id":861660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"27201":{"*":{"id":660704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"897367":{"*":{"id":990574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"563491":{"*":{"id":537006,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9a0bc6cc._.js","server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js"],"async":false}},"450222":{"*":{"id":561487,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js"],"async":true}},"175696":{"*":{"id":588788,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js"],"async":false}},"758298":{"*":{"id":123953,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/src_app_error_tsx_22278d09._.js"],"async":false}},"790392":{"*":{"id":42816,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/src_9607843e._.js"],"async":false}},"329306":{"*":{"id":336394,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/_8cfab48b._.js","server/chunks/ssr/node_modules_next_dist_c2965c68._.js"],"async":false}},"522016":{"*":{"id":238246,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__9affb65e._.js","server/chunks/ssr/_19b3d5b1._.js","server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_ca139740.js","server/chunks/ssr/node_modules_next_becc837c._.js","server/chunks/ssr/node_modules_next_dist_c2965c68._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"339756":{"*":{"id":926768,"name":"*","chunks":[],"async":false}},"837457":{"*":{"id":517910,"name":"*","chunks":[],"async":false}},"347257":{"*":{"id":292977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":348552,"name":"*","chunks":[],"async":false}},"768017":{"*":{"id":683919,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":340771,"name":"*","chunks":[],"async":false}},"897367":{"*":{"id":724150,"name":"*","chunks":[],"async":false}},"563491":{"*":{"id":530269,"name":"*","chunks":[],"async":false}},"450222":{"*":{"id":898658,"name":"*","chunks":[],"async":false}},"175696":{"*":{"id":152265,"name":"*","chunks":[],"async":false}},"758298":{"*":{"id":780257,"name":"*","chunks":[],"async":false}},"790392":{"*":{"id":562386,"name":"*","chunks":[],"async":false}},"329306":{"*":{"id":204145,"name":"*","chunks":[],"async":false}},"522016":{"*":{"id":784707,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/global-error":[],"[project]/src/app/layout":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}],"[project]/src/app/error":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}],"[project]/src/app/loading":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}],"[project]/src/app/not-found":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}],"[project]/src/app/terms/page":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/1042694db0c08f1f.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/global-error":["static/chunks/d245df73b72378fb.js","static/chunks/16ea27c3b926bc31.js"],"[project]/src/app/layout":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js"],"[project]/src/app/error":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/beeffe5f5394be33.js"],"[project]/src/app/loading":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f79cbcb7ca904f94.js"],"[project]/src/app/not-found":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f51538785d2d89a5.js"],"[project]/src/app/terms/page":["static/chunks/53e0c73d409ce003.js","static/chunks/3fa6c964786c962d.js","static/chunks/3073ed4e47d4d993.js","static/chunks/a53ec3f73e2e9d76.js"]}}
@@ -0,0 +1,3 @@
1
+ module.exports=[918622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},556704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},193695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},442315,(e,t,r)=>{"use strict";t.exports=e.r(918622)},347540,(e,t,r)=>{"use strict";t.exports=e.r(442315).vendored["react-rsc"].React},819481,(e,t,r)=>{"use strict";var s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={},l={RequestCookies:()=>h,ResponseCookies:()=>g,parseCookie:()=>p,parseSetCookie:()=>m,stringifyCookie:()=>u};for(var d in l)s(a,d,{get:l[d],enumerable:!0});function u(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),s=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?s:`${s}; ${r.join("; ")}`}function p(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[s,i]=[r.slice(0,e),r.slice(e+1)];try{t.set(s,decodeURIComponent(null!=i?i:"true"))}catch{}}return t}function m(e){if(!e)return;let[[t,r],...s]=p(e),{domain:i,expires:n,httponly:o,maxage:a,path:l,samesite:d,secure:u,partitioned:m,priority:h}=Object.fromEntries(s.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,y,v={name:t,value:decodeURIComponent(r),domain:i,...n&&{expires:new Date(n)},...o&&{httpOnly:!0},..."string"==typeof a&&{maxAge:Number(a)},path:l,...d&&{sameSite:c.includes(g=(g=d).toLowerCase())?g:void 0},...u&&{secure:!0},...h&&{priority:f.includes(y=(y=h).toLowerCase())?y:void 0},...m&&{partitioned:!0}};let e={};for(let t in v)v[t]&&(e[t]=v[t]);return e}}t.exports=((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of n(t))o.call(e,r)||void 0===r||s(e,r,{get:()=>t[r],enumerable:!(a=i(t,r))||a.enumerable});return e})(s({},"__esModule",{value:!0}),a);var c=["strict","lax","none"],f=["low","medium","high"],h=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of p(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let s="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===s).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,s=this._parsed;return s.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(s).map(([e,t])=>u(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>u(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},g=class{constructor(e){var t,r,s;this._parsed=new Map,this._headers=e;const i=null!=(s=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?s:[];for(const e of Array.isArray(i)?i:function(e){if(!e)return[];var t,r,s,i,n,o=[],a=0;function l(){for(;a<e.length&&/\s/.test(e.charAt(a));)a+=1;return a<e.length}for(;a<e.length;){for(t=a,n=!1;l();)if(","===(r=e.charAt(a))){for(s=a,a+=1,l(),i=a;a<e.length&&"="!==(r=e.charAt(a))&&";"!==r&&","!==r;)a+=1;a<e.length&&"="===e.charAt(a)?(n=!0,a=i,o.push(e.substring(t,s)),t=a):a=s+1}else a+=1;(!n||a>=e.length)&&o.push(e.substring(t,e.length))}return o}(i)){const t=m(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let s="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===s)}has(e){return this._parsed.has(e)}set(...e){let[t,r,s]=1===e.length?[e[0].name,e[0].value,e[0]]:e,i=this._parsed;return i.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...s})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=u(r);t.append("set-cookie",e)}}(i,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(u).join("; ")}}},792509,(e,t,r)=>{t.exports=e.x("url",()=>require("url"))},785148,(e,t,r)=>{t.exports=e.x("better-sqlite3",()=>require("better-sqlite3"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},256770,e=>{"use strict";var t=e.i(814747),r=e.i(446786);let s="omniroute";function i(){try{return r.default.homedir()}catch{return process.cwd()}}function n(e){if("string"!=typeof e)return null;let r=e.trim();return r?t.default.resolve(r):null}function o(){return t.default.join(i(),`.${s}`)}function a({isCloud:e=!1}={}){let r;if(e)return"/tmp";let l=n(process.env.DATA_DIR);return l?l:(i(),(r=n(process.env.XDG_CONFIG_HOME))?t.default.join(r,s):o())}function l(e,r){return!!e&&!!r&&t.default.resolve(e)===t.default.resolve(r)}e.s(["getLegacyDotDataDir",()=>o,"isSamePath",()=>l,"resolveDataDir",()=>a])},439951,e=>{"use strict";var t=e.i(157763);function r(){try{return(0,t.getDbInstance)()}catch{return null}}function s(e={}){let t=r();if(!t)return[];let i=[],n=[];e.action&&(i.push("action = ?"),n.push(e.action)),e.actor&&(i.push("actor = ?"),n.push(e.actor));let o=i.length>0?`WHERE ${i.join(" AND ")}`:"",a=e.limit||100,l=e.offset||0;return t.prepare(`SELECT * FROM audit_log ${o} ORDER BY timestamp DESC LIMIT ? OFFSET ?`).all(...n,a,l).map(e=>({...e,details:e.details?JSON.parse(String(e.details)):null}))}parseInt(process.env.LOG_RETENTION_DAYS||"90",10);let i=new Set,n=new Map,o=!1,a=!1;for(let e of(process.env.NO_LOG_API_KEY_IDS||"").split(",").map(e=>e.trim()).filter(Boolean))i.add(e);function l(e,t){t?i.add(e):i.delete(e),n.set(e,{value:t,timestamp:Date.now()})}function d(e){if(!e)return!1;if(i.has(e))return!0;let t=function(e){let t=r();if(!t||!e||!function(e){if(o)return a;try{a=e.prepare("PRAGMA table_info(api_keys)").all().some(e=>"no_log"===e.name)}catch{a=!1}return o=!0,a}(t))return!1;let s=n.get(e);if(s&&Date.now()-s.timestamp<3e4)return s.value;try{let r=t.prepare("SELECT no_log FROM api_keys WHERE id = ?").get(e),s=!!(r&&1===Number(r.no_log));return n.set(e,{value:s,timestamp:Date.now()}),s}catch{return!1}}(e);return t&&i.add(e),t}e.s(["getAuditLog",()=>s,"isNoLog",()=>d,"setNoLog",()=>l])},677850,e=>e.a(async(t,r)=>{try{let t=await e.y("zod");e.n(t),r()}catch(e){r(e)}},!0),200392,e=>e.a(async(t,r)=>{try{var s=e.i(677850),i=t([s]);function n(e,t){let r=e.safeParse(t);if(r.success)return{success:!0,data:r.data};let s=Array.isArray(r.error?.issues)?r.error.issues:[];return{success:!1,error:{message:"Invalid request",details:s.map(e=>({field:e.path.join("."),message:e.message}))}}}function o(e){return!1===e.success}[s]=i.then?(await i)():i,s.z.object({password:s.z.string().min(1,"Password is required").max(200)}),e.s(["isValidationFailure",()=>o,"validateBody",()=>n]),r()}catch(e){r(e)}},!1),662636,e=>{"use strict";function t(e){if(!e)return"Unknown Account";let t="string"==typeof e.name&&e.name.trim()||"string"==typeof e.displayName&&e.displayName.trim()||"string"==typeof e.email&&e.email.trim();return t||("string"==typeof e.id&&e.id?`Account #${e.id.slice(0,6)}`:"Unknown Account")}e.s(["getAccountDisplayName",()=>t])},249157,e=>{"use strict";var t=e.i(706901),r=e.i(161002);e.s(["debug",()=>t.debug,"error",()=>t.error,"info",()=>t.info,"maskKey",()=>r.maskKey,"request",()=>t.request,"response",()=>t.response,"stream",()=>t.stream,"warn",()=>t.warn])},740512,e=>{"use strict";e.s(["toJsonErrorPayload",()=>function e(t,r="Upstream provider error"){let s={error:{message:r,type:"upstream_error",code:"upstream_error"}};if(t&&"object"==typeof t){let e=t.error;return"string"==typeof e?{error:{message:e,type:"upstream_error",code:"upstream_error"}}:e&&"object"==typeof e?t:{error:t}}if("string"==typeof t){let i=t.trim();if(!i)return s;try{let t=JSON.parse(i);return e(t,r)}catch{return{error:{message:i,type:"upstream_error",code:"upstream_error"}}}}return s}])},261189,e=>{"use strict";function t(e){if(!e.prefix||!e.baseUrl)throw Error("Invalid provider_node: missing prefix or baseUrl");if(e.prefix.includes("/")||e.prefix.includes(" "))throw Error(`Invalid provider_node prefix "${e.prefix}": must not contain / or spaces`);let t=e.baseUrl.replace(/\/+$/,"");return{id:e.prefix,baseUrl:`${t}/embeddings`,authType:"none",authHeader:"none",models:[]}}let r={nebius:{id:"nebius",baseUrl:"https://api.tokenfactory.nebius.com/v1/embeddings",authType:"apikey",authHeader:"bearer",models:[{id:"Qwen/Qwen3-Embedding-8B",name:"Qwen3 Embedding 8B",dimensions:4096}]},openai:{id:"openai",baseUrl:"https://api.openai.com/v1/embeddings",authType:"apikey",authHeader:"bearer",models:[{id:"text-embedding-3-small",name:"Text Embedding 3 Small",dimensions:1536},{id:"text-embedding-3-large",name:"Text Embedding 3 Large",dimensions:3072},{id:"text-embedding-ada-002",name:"Text Embedding Ada 002",dimensions:1536}]},mistral:{id:"mistral",baseUrl:"https://api.mistral.ai/v1/embeddings",authType:"apikey",authHeader:"bearer",models:[{id:"mistral-embed",name:"Mistral Embed",dimensions:1024}]},together:{id:"together",baseUrl:"https://api.together.xyz/v1/embeddings",authType:"apikey",authHeader:"bearer",models:[{id:"BAAI/bge-large-en-v1.5",name:"BGE Large EN v1.5",dimensions:1024},{id:"togethercomputer/m2-bert-80M-8k-retrieval",name:"M2 BERT 80M 8K",dimensions:768}]},fireworks:{id:"fireworks",baseUrl:"https://api.fireworks.ai/inference/v1/embeddings",authType:"apikey",authHeader:"bearer",models:[{id:"nomic-ai/nomic-embed-text-v1.5",name:"Nomic Embed Text v1.5",dimensions:768}]},nvidia:{id:"nvidia",baseUrl:"https://integrate.api.nvidia.com/v1/embeddings",authType:"apikey",authHeader:"bearer",models:[{id:"nvidia/nv-embedqa-e5-v5",name:"NV EmbedQA E5 v5",dimensions:1024}]}};function s(e){return r[e]||null}function i(e,t){if(!e)return{provider:null,model:null};let s=e.indexOf("/");if(s>0){for(let[t]of Object.entries(r))if(e.startsWith(t+"/"))return{provider:t,model:e.slice(t.length+1)};if(t){for(let r of t)if(e.startsWith(r.id+"/"))return{provider:r.id,model:e.slice(r.id.length+1)}}return{provider:e.slice(0,s),model:e.slice(s+1)}}for(let[t,s]of Object.entries(r))if(s.models.some(t=>t.id===e))return{provider:t,model:e};return{provider:null,model:e}}function n(){let e=[];for(let[t,s]of Object.entries(r))for(let r of s.models)e.push({id:`${t}/${r.id}`,name:r.name,provider:t,dimensions:r.dimensions});return e}e.s(["buildDynamicEmbeddingProvider",()=>t,"getAllEmbeddingModels",()=>n,"getEmbeddingProvider",()=>s,"parseEmbeddingModel",()=>i])},344448,e=>{"use strict";var t=e.i(261189);e.i(312125);var r=e.i(397506);async function s({body:e,credentials:s,log:i,resolvedProvider:n=null,resolvedModel:o=null}){let a,l,d;if(n)a=n.id,l=o,d=n;else{let r=(0,t.parseEmbeddingModel)(e.model);a=r.provider,l=r.model,d=a?(0,t.getEmbeddingProvider)(a):null}let u=Date.now(),p={model:e.model,input_count:Array.isArray(e.input)?e.input.length:1,dimensions:e.dimensions||void 0};if(!a)return{success:!1,status:400,error:`Invalid embedding model: ${e.model}. Use format: provider/model`};if(!d)return{success:!1,status:400,error:`Unknown embedding provider: ${a}`};let m={model:l,input:e.input};void 0!==e.dimensions&&(m.dimensions=e.dimensions),void 0!==e.encoding_format&&(m.encoding_format=e.encoding_format);let c={"Content-Type":"application/json"},f="none"===d.authType?null:s?.apiKey||s?.accessToken;f&&("bearer"===d.authHeader?c.Authorization=`Bearer ${f}`:"x-api-key"===d.authHeader&&(c["x-api-key"]=f)),i&&i.info("EMBED",`${a}/${l} | input: ${Array.isArray(e.input)?e.input.length+" items":"1 item"}`);try{let e=await fetch(d.baseUrl,{method:"POST",headers:c,body:JSON.stringify(m)});if(!e.ok){let t=await e.text();return i&&i.error("EMBED",`${a} error ${e.status}: ${t.slice(0,200)}`),(0,r.saveCallLog)({method:"POST",path:"/v1/embeddings",status:e.status,model:`${a}/${l}`,provider:a,duration:Date.now()-u,error:t.slice(0,500),requestBody:p}).catch(()=>{}),{success:!1,status:e.status,error:t}}let t=await e.json();return(0,r.saveCallLog)({method:"POST",path:"/v1/embeddings",status:200,model:`${a}/${l}`,provider:a,duration:Date.now()-u,tokens:{prompt_tokens:t.usage?.prompt_tokens||t.usage?.total_tokens||0,completion_tokens:0},requestBody:p,responseBody:{usage:t.usage||null,object:"list",data_count:t.data?.length||0}}).catch(()=>{}),{success:!0,data:{object:"list",data:t.data||t,model:`${a}/${l}`,usage:t.usage||{prompt_tokens:0,total_tokens:0}}}}catch(e){return i&&i.error("EMBED",`${a} fetch error: ${e.message}`),(0,r.saveCallLog)({method:"POST",path:"/v1/embeddings",status:502,model:`${a}/${l}`,provider:a,duration:Date.now()-u,error:e.message,requestBody:p}).catch(()=>{}),{success:!1,status:502,error:`Embedding provider error: ${e.message}`}}}e.s(["handleEmbedding",()=>s])},605589,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_localDb_ts_83220848._.js"].map(t=>e.l(t))).then(()=>t(969738)))},606102,e=>{e.v(e=>Promise.resolve().then(()=>e(548941)))},789543,e=>{e.v(e=>Promise.resolve().then(()=>e(385498)))},579042,e=>{e.v(t=>Promise.all(["server/chunks/src_shared_utils_apiKey_ts_fa113e09._.js"].map(t=>e.l(t))).then(()=>t(65448)))},49794,e=>{e.v(t=>Promise.all(["server/chunks/src_shared_constants_pricing_ts_65de0558._.js"].map(t=>e.l(t))).then(()=>t(404503)))},386305,e=>{e.v(e=>Promise.resolve().then(()=>e(878947)))}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__007da72e._.js.map
@@ -1,4 +1,4 @@
1
- module.exports=[918622,(e,t,i)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},556704,(e,t,i)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,t,i)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},324725,(e,t,i)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},270406,(e,t,i)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},193695,(e,t,i)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},442315,(e,t,i)=>{"use strict";t.exports=e.r(918622)},347540,(e,t,i)=>{"use strict";t.exports=e.r(442315).vendored["react-rsc"].React},819481,(e,t,i)=>{"use strict";var o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,n={},c={RequestCookies:()=>b,ResponseCookies:()=>g,parseCookie:()=>d,parseSetCookie:()=>u,stringifyCookie:()=>p};for(var l in c)o(n,l,{get:c[l],enumerable:!0});function p(e){var t;let i=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),o=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===i.length?o:`${o}; ${i.join("; ")}`}function d(e){let t=new Map;for(let i of e.split(/; */)){if(!i)continue;let e=i.indexOf("=");if(-1===e){t.set(i,"true");continue}let[o,r]=[i.slice(0,e),i.slice(e+1)];try{t.set(o,decodeURIComponent(null!=r?r:"true"))}catch{}}return t}function u(e){if(!e)return;let[[t,i],...o]=d(e),{domain:r,expires:s,httponly:a,maxage:n,path:c,samesite:l,secure:p,partitioned:u,priority:b}=Object.fromEntries(o.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,y,x={name:t,value:decodeURIComponent(i),domain:r,...s&&{expires:new Date(s)},...a&&{httpOnly:!0},..."string"==typeof n&&{maxAge:Number(n)},path:c,...l&&{sameSite:m.includes(g=(g=l).toLowerCase())?g:void 0},...p&&{secure:!0},...b&&{priority:h.includes(y=(y=b).toLowerCase())?y:void 0},...u&&{partitioned:!0}};let e={};for(let t in x)x[t]&&(e[t]=x[t]);return e}}t.exports=((e,t,i,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))a.call(e,i)||void 0===i||o(e,i,{get:()=>t[i],enumerable:!(n=r(t,i))||n.enumerable});return e})(o({},"__esModule",{value:!0}),n);var m=["strict","lax","none"],h=["low","medium","high"],b=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,i]of d(t))this._parsed.set(e,{name:e,value:i})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let i=Array.from(this._parsed);if(!e.length)return i.map(([e,t])=>t);let o="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return i.filter(([e])=>e===o).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,i]=1===e.length?[e[0].name,e[0].value]:e,o=this._parsed;return o.set(t,{name:t,value:i}),this._headers.set("cookie",Array.from(o).map(([e,t])=>p(t)).join("; ")),this}delete(e){let t=this._parsed,i=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>p(t)).join("; ")),i}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},g=class{constructor(e){var t,i,o;this._parsed=new Map,this._headers=e;const r=null!=(o=null!=(i=null==(t=e.getSetCookie)?void 0:t.call(e))?i:e.get("set-cookie"))?o:[];for(const e of Array.isArray(r)?r:function(e){if(!e)return[];var t,i,o,r,s,a=[],n=0;function c(){for(;n<e.length&&/\s/.test(e.charAt(n));)n+=1;return n<e.length}for(;n<e.length;){for(t=n,s=!1;c();)if(","===(i=e.charAt(n))){for(o=n,n+=1,c(),r=n;n<e.length&&"="!==(i=e.charAt(n))&&";"!==i&&","!==i;)n+=1;n<e.length&&"="===e.charAt(n)?(s=!0,n=r,a.push(e.substring(t,o)),t=n):n=o+1}else n+=1;(!s||n>=e.length)&&a.push(e.substring(t,e.length))}return a}(r)){const t=u(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let i=Array.from(this._parsed.values());if(!e.length)return i;let o="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return i.filter(e=>e.name===o)}has(e){return this._parsed.has(e)}set(...e){let[t,i,o]=1===e.length?[e[0].name,e[0].value,e[0]]:e,r=this._parsed;return r.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:i,...o})),function(e,t){for(let[,i]of(t.delete("set-cookie"),e)){let e=p(i);t.append("set-cookie",e)}}(r,this._headers),this}delete(...e){let[t,i]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...i,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(p).join("; ")}}},677850,e=>e.a(async(t,i)=>{try{let t=await e.y("zod");e.n(t),i()}catch(e){i(e)}},!0),804730,e=>{e.v({name:"omniroute",version:"2.8.5",description:"Smart AI Router with auto fallback — route to FREE & cheap models, zero downtime. Works with Cursor, Cline, Claude Desktop, Codex, and any OpenAI-compatible tool.",type:"module",bin:{omniroute:"bin/omniroute.mjs","omniroute-reset-password":"bin/reset-password.mjs"},files:["bin/","app/","open-sse/mcp-server/","src/shared/contracts/","scripts/postinstall.mjs","scripts/native-binary-compat.mjs","README.md","LICENSE"],workspaces:["open-sse"],engines:{node:">=18.0.0 <24.0.0"},keywords:["ai","router","proxy","openai","claude","anthropic","gemini","fallback","cursor","cline","codex","llm","auto-fallback"],license:"MIT",author:"diegosouzapw",repository:{type:"git",url:"https://github.com/diegosouzapw/OmniRoute"},homepage:"https://omniroute.online",scripts:{dev:"node scripts/run-next.mjs dev",build:"next build","build:cli":"node scripts/prepublish.mjs",start:"node scripts/run-next.mjs start",lint:"eslint .","electron:dev":'concurrently "npm run dev" "wait-on http://localhost:20128 && cd electron && npm run dev"',"electron:build":"npm run build && cd electron && npm run build","electron:build:win":"npm run build && cd electron && npm run build:win","electron:build:mac":"npm run build && cd electron && npm run build:mac","electron:build:linux":"npm run build && cd electron && npm run build:linux",test:"node --import tsx/esm --test tests/unit/*.test.mjs","test:unit":"node --import tsx/esm --test tests/unit/*.test.mjs","test:plan3":"node --import tsx/esm --test tests/unit/plan3-p0.test.mjs","test:fixes":"node --import tsx/esm --test tests/unit/fixes-p1.test.mjs","test:security":"node --import tsx/esm --test tests/unit/security-fase01.test.mjs","check:cycles":"node scripts/check-cycles.mjs","check:route-validation:t06":"node scripts/check-route-validation.mjs","check:any-budget:t11":"node scripts/check-t11-any-budget.mjs","check:docs-sync":"node scripts/check-docs-sync.mjs","typecheck:core":"tsc --pretty false -p tsconfig.typecheck-core.json","typecheck:noimplicit:core":"tsc --pretty false -p tsconfig.typecheck-noimplicit-core.json","test:integration":"node --import tsx/esm --test tests/integration/*.test.mjs","test:e2e":"node scripts/run-playwright-tests.mjs test tests/e2e/*.spec.ts","test:protocols:e2e":"node scripts/run-protocol-clients-tests.mjs","test:vitest":"vitest run open-sse/mcp-server/__tests__/*.test.ts open-sse/services/autoCombo/__tests__/*.test.ts","test:ecosystem":"node scripts/run-ecosystem-tests.mjs","test:coverage":"npx c8 --exclude=open-sse --check-coverage --lines 50 --functions 50 --branches 50 node --import tsx/esm --test tests/unit/*.test.mjs","test:all":"npm run test:unit && npm run test:vitest && npm run test:ecosystem && npm run test:e2e",check:"npm run lint && npm run test",prepublishOnly:"npm run build:cli",postinstall:"node scripts/postinstall.mjs",prepare:"husky","system-info":"node scripts/system-info.mjs"},dependencies:{"@modelcontextprotocol/sdk":"^1.27.1","@monaco-editor/react":"^4.7.0",bcryptjs:"^3.0.3","better-sqlite3":"^12.6.2",bottleneck:"^2.19.5",dompurify:"^3.3.2",express:"^5.2.1","fetch-socks":"^1.3.2","http-proxy-middleware":"^3.0.5","https-proxy-agent":"^8.0.0",jose:"^6.1.3",lowdb:"^7.0.1","monaco-editor":"^0.55.1",next:"^16.1.6","next-intl":"^4.8.3","node-machine-id":"^1.1.12",open:"^11.0.0",ora:"^9.1.0",pino:"^10.3.1","pino-pretty":"^13.1.3",react:"19.2.4","react-dom":"19.2.4",recharts:"^3.7.0",selfsigned:"^5.5.0",tsx:"^4.21.0",undici:"^7.19.2",uuid:"^13.0.0","wreq-js":"^2.0.1",zod:"^4.3.6",zustand:"^5.0.10","@swc/helpers":"0.5.19"},devDependencies:{"@playwright/test":"^1.58.2","@tailwindcss/postcss":"^4.1.18","@types/bcryptjs":"^3.0.0","@types/better-sqlite3":"^7.6.13","@types/node":"^25.2.3","@types/react":"^19.2.14","@types/react-dom":"^19.2.3",concurrently:"^9.2.1","cross-env":"^10.1.0",eslint:"^9.39.2","eslint-config-next":"16.1.6",husky:"^9.1.7","lint-staged":"^16.2.7",prettier:"^3.8.1",tailwindcss:"^4",typescript:"^5.9.3","typescript-eslint":"^8.56.0",vitest:"^4.0.18","wait-on":"^9.0.4"},"lint-staged":{"*.{js,jsx,ts,tsx,mjs}":["prettier --write","eslint --fix --no-error-on-unmatched-pattern"],"*.{json,md,yml,yaml,css}":["prettier --write"]},pnpm:{onlyBuiltDependencies:["@parcel/watcher","@swc/core","better-sqlite3","esbuild","omniroute","sharp"]}})},102835,e=>e.a(async(t,i)=>{try{var o=e.i(677850),r=t([o]);[o]=r.then?(await r)():r;let a=o.z.object({id:o.z.string().min(1),alias:o.z.string().min(1),name:o.z.string().min(1),icon:o.z.string().min(1),color:o.z.string().regex(/^#[0-9A-Fa-f]{6}$/,"Must be a valid hex color (#RRGGBB)"),textIcon:o.z.string().optional(),website:o.z.string().url().optional(),passthroughModels:o.z.boolean().optional(),deprecated:o.z.boolean().optional(),deprecationReason:o.z.string().optional(),hasFree:o.z.boolean().optional(),freeNote:o.z.string().optional(),authHint:o.z.string().optional(),apiHint:o.z.string().optional()}),n=o.z.record(o.z.string(),a);function s(e,t){let i=n.safeParse(e);if(!i.success){let e=i.error.issues.map(e=>` ${e.path.join(".")}: ${e.message}`).join("\n");throw console.error(`[PROVIDER VALIDATION] ${t} has invalid entries:
1
+ module.exports=[918622,(e,t,i)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},556704,(e,t,i)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,t,i)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},324725,(e,t,i)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},270406,(e,t,i)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},193695,(e,t,i)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},442315,(e,t,i)=>{"use strict";t.exports=e.r(918622)},347540,(e,t,i)=>{"use strict";t.exports=e.r(442315).vendored["react-rsc"].React},819481,(e,t,i)=>{"use strict";var o=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,n={},c={RequestCookies:()=>b,ResponseCookies:()=>g,parseCookie:()=>d,parseSetCookie:()=>u,stringifyCookie:()=>p};for(var l in c)o(n,l,{get:c[l],enumerable:!0});function p(e){var t;let i=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),o=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===i.length?o:`${o}; ${i.join("; ")}`}function d(e){let t=new Map;for(let i of e.split(/; */)){if(!i)continue;let e=i.indexOf("=");if(-1===e){t.set(i,"true");continue}let[o,r]=[i.slice(0,e),i.slice(e+1)];try{t.set(o,decodeURIComponent(null!=r?r:"true"))}catch{}}return t}function u(e){if(!e)return;let[[t,i],...o]=d(e),{domain:r,expires:s,httponly:a,maxage:n,path:c,samesite:l,secure:p,partitioned:u,priority:b}=Object.fromEntries(o.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,y,x={name:t,value:decodeURIComponent(i),domain:r,...s&&{expires:new Date(s)},...a&&{httpOnly:!0},..."string"==typeof n&&{maxAge:Number(n)},path:c,...l&&{sameSite:m.includes(g=(g=l).toLowerCase())?g:void 0},...p&&{secure:!0},...b&&{priority:h.includes(y=(y=b).toLowerCase())?y:void 0},...u&&{partitioned:!0}};let e={};for(let t in x)x[t]&&(e[t]=x[t]);return e}}t.exports=((e,t,i,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))a.call(e,i)||void 0===i||o(e,i,{get:()=>t[i],enumerable:!(n=r(t,i))||n.enumerable});return e})(o({},"__esModule",{value:!0}),n);var m=["strict","lax","none"],h=["low","medium","high"],b=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,i]of d(t))this._parsed.set(e,{name:e,value:i})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let i=Array.from(this._parsed);if(!e.length)return i.map(([e,t])=>t);let o="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return i.filter(([e])=>e===o).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,i]=1===e.length?[e[0].name,e[0].value]:e,o=this._parsed;return o.set(t,{name:t,value:i}),this._headers.set("cookie",Array.from(o).map(([e,t])=>p(t)).join("; ")),this}delete(e){let t=this._parsed,i=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>p(t)).join("; ")),i}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},g=class{constructor(e){var t,i,o;this._parsed=new Map,this._headers=e;const r=null!=(o=null!=(i=null==(t=e.getSetCookie)?void 0:t.call(e))?i:e.get("set-cookie"))?o:[];for(const e of Array.isArray(r)?r:function(e){if(!e)return[];var t,i,o,r,s,a=[],n=0;function c(){for(;n<e.length&&/\s/.test(e.charAt(n));)n+=1;return n<e.length}for(;n<e.length;){for(t=n,s=!1;c();)if(","===(i=e.charAt(n))){for(o=n,n+=1,c(),r=n;n<e.length&&"="!==(i=e.charAt(n))&&";"!==i&&","!==i;)n+=1;n<e.length&&"="===e.charAt(n)?(s=!0,n=r,a.push(e.substring(t,o)),t=n):n=o+1}else n+=1;(!s||n>=e.length)&&a.push(e.substring(t,e.length))}return a}(r)){const t=u(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let i=Array.from(this._parsed.values());if(!e.length)return i;let o="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return i.filter(e=>e.name===o)}has(e){return this._parsed.has(e)}set(...e){let[t,i,o]=1===e.length?[e[0].name,e[0].value,e[0]]:e,r=this._parsed;return r.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:i,...o})),function(e,t){for(let[,i]of(t.delete("set-cookie"),e)){let e=p(i);t.append("set-cookie",e)}}(r,this._headers),this}delete(...e){let[t,i]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...i,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(p).join("; ")}}},677850,e=>e.a(async(t,i)=>{try{let t=await e.y("zod");e.n(t),i()}catch(e){i(e)}},!0),804730,e=>{e.v({name:"omniroute",version:"2.8.7",description:"Smart AI Router with auto fallback — route to FREE & cheap models, zero downtime. Works with Cursor, Cline, Claude Desktop, Codex, and any OpenAI-compatible tool.",type:"module",bin:{omniroute:"bin/omniroute.mjs","omniroute-reset-password":"bin/reset-password.mjs"},files:["bin/","app/","open-sse/mcp-server/","src/shared/contracts/","scripts/postinstall.mjs","scripts/native-binary-compat.mjs","README.md","LICENSE"],workspaces:["open-sse"],engines:{node:">=18.0.0 <24.0.0"},keywords:["ai","router","proxy","openai","claude","anthropic","gemini","fallback","cursor","cline","codex","llm","auto-fallback"],license:"MIT",author:"diegosouzapw",repository:{type:"git",url:"https://github.com/diegosouzapw/OmniRoute"},homepage:"https://omniroute.online",scripts:{dev:"node scripts/run-next.mjs dev",build:"next build","build:cli":"node scripts/prepublish.mjs",start:"node scripts/run-next.mjs start",lint:"eslint .","electron:dev":'concurrently "npm run dev" "wait-on http://localhost:20128 && cd electron && npm run dev"',"electron:build":"npm run build && cd electron && npm run build","electron:build:win":"npm run build && cd electron && npm run build:win","electron:build:mac":"npm run build && cd electron && npm run build:mac","electron:build:linux":"npm run build && cd electron && npm run build:linux",test:"node --import tsx/esm --test tests/unit/*.test.mjs","test:unit":"node --import tsx/esm --test tests/unit/*.test.mjs","test:plan3":"node --import tsx/esm --test tests/unit/plan3-p0.test.mjs","test:fixes":"node --import tsx/esm --test tests/unit/fixes-p1.test.mjs","test:security":"node --import tsx/esm --test tests/unit/security-fase01.test.mjs","check:cycles":"node scripts/check-cycles.mjs","check:route-validation:t06":"node scripts/check-route-validation.mjs","check:any-budget:t11":"node scripts/check-t11-any-budget.mjs","check:docs-sync":"node scripts/check-docs-sync.mjs","typecheck:core":"tsc --pretty false -p tsconfig.typecheck-core.json","typecheck:noimplicit:core":"tsc --pretty false -p tsconfig.typecheck-noimplicit-core.json","test:integration":"node --import tsx/esm --test tests/integration/*.test.mjs","test:e2e":"node scripts/run-playwright-tests.mjs test tests/e2e/*.spec.ts","test:protocols:e2e":"node scripts/run-protocol-clients-tests.mjs","test:vitest":"vitest run open-sse/mcp-server/__tests__/*.test.ts open-sse/services/autoCombo/__tests__/*.test.ts","test:ecosystem":"node scripts/run-ecosystem-tests.mjs","test:coverage":"npx c8 --exclude=open-sse --check-coverage --lines 50 --functions 50 --branches 50 node --import tsx/esm --test tests/unit/*.test.mjs","test:all":"npm run test:unit && npm run test:vitest && npm run test:ecosystem && npm run test:e2e",check:"npm run lint && npm run test",prepublishOnly:"npm run build:cli",postinstall:"node scripts/postinstall.mjs",prepare:"husky","system-info":"node scripts/system-info.mjs"},dependencies:{"@modelcontextprotocol/sdk":"^1.27.1","@monaco-editor/react":"^4.7.0",bcryptjs:"^3.0.3","better-sqlite3":"^12.6.2",bottleneck:"^2.19.5",dompurify:"^3.3.2",express:"^5.2.1","fetch-socks":"^1.3.2","http-proxy-middleware":"^3.0.5","https-proxy-agent":"^8.0.0",jose:"^6.1.3",lowdb:"^7.0.1","monaco-editor":"^0.55.1",next:"^16.1.6","next-intl":"^4.8.3","node-machine-id":"^1.1.12",open:"^11.0.0",ora:"^9.1.0",pino:"^10.3.1","pino-pretty":"^13.1.3",react:"19.2.4","react-dom":"19.2.4",recharts:"^3.7.0",selfsigned:"^5.5.0",tsx:"^4.21.0",undici:"^7.19.2",uuid:"^13.0.0","wreq-js":"^2.0.1",zod:"^4.3.6",zustand:"^5.0.10","@swc/helpers":"0.5.19"},devDependencies:{"@playwright/test":"^1.58.2","@tailwindcss/postcss":"^4.1.18","@types/bcryptjs":"^3.0.0","@types/better-sqlite3":"^7.6.13","@types/node":"^25.2.3","@types/react":"^19.2.14","@types/react-dom":"^19.2.3",concurrently:"^9.2.1","cross-env":"^10.1.0",eslint:"^9.39.2","eslint-config-next":"16.1.6",husky:"^9.1.7","lint-staged":"^16.2.7",prettier:"^3.8.1",tailwindcss:"^4",typescript:"^5.9.3","typescript-eslint":"^8.56.0",vitest:"^4.0.18","wait-on":"^9.0.4"},"lint-staged":{"*.{js,jsx,ts,tsx,mjs}":["prettier --write","eslint --fix --no-error-on-unmatched-pattern"],"*.{json,md,yml,yaml,css}":["prettier --write"]},pnpm:{onlyBuiltDependencies:["@parcel/watcher","@swc/core","better-sqlite3","esbuild","omniroute","sharp"]}})},102835,e=>e.a(async(t,i)=>{try{var o=e.i(677850),r=t([o]);[o]=r.then?(await r)():r;let a=o.z.object({id:o.z.string().min(1),alias:o.z.string().min(1),name:o.z.string().min(1),icon:o.z.string().min(1),color:o.z.string().regex(/^#[0-9A-Fa-f]{6}$/,"Must be a valid hex color (#RRGGBB)"),textIcon:o.z.string().optional(),website:o.z.string().url().optional(),passthroughModels:o.z.boolean().optional(),deprecated:o.z.boolean().optional(),deprecationReason:o.z.string().optional(),hasFree:o.z.boolean().optional(),freeNote:o.z.string().optional(),authHint:o.z.string().optional(),apiHint:o.z.string().optional()}),n=o.z.record(o.z.string(),a);function s(e,t){let i=n.safeParse(e);if(!i.success){let e=i.error.issues.map(e=>` ${e.path.join(".")}: ${e.message}`).join("\n");throw console.error(`[PROVIDER VALIDATION] ${t} has invalid entries:
2
2
  ${e}`),Error(`Provider validation failed for ${t}`)}}e.s(["validateProviders",()=>s]),i()}catch(e){i(e)}},!1),963219,e=>e.a(async(t,i)=>{try{var o=e.i(102835),r=t([o]);[o]=r.then?(await r)():r;let n={iflow:{id:"iflow",alias:"if",name:"iFlow AI",icon:"water_drop",color:"#6366F1"},qwen:{id:"qwen",alias:"qw",name:"Qwen Code",icon:"psychology",color:"#10B981"},"gemini-cli":{id:"gemini-cli",alias:"gc",name:"Gemini CLI",icon:"terminal",color:"#4285F4",deprecated:!0,deprecationReason:"Google restricts third-party OAuth usage for Gemini CLI (Mar 2026). Pro models require paid plans. Use 'gemini' (API key) provider instead."},kiro:{id:"kiro",alias:"kr",name:"Kiro AI",icon:"psychology_alt",color:"#FF6B35"}},c={claude:{id:"claude",alias:"cc",name:"Claude Code",icon:"smart_toy",color:"#D97757"},antigravity:{id:"antigravity",alias:"ag",name:"Antigravity",icon:"rocket_launch",color:"#F59E0B"},codex:{id:"codex",alias:"cx",name:"OpenAI Codex",icon:"code",color:"#3B82F6"},github:{id:"github",alias:"gh",name:"GitHub Copilot",icon:"code",color:"#333333"},cursor:{id:"cursor",alias:"cu",name:"Cursor IDE",icon:"edit_note",color:"#00D4AA"},"kimi-coding":{id:"kimi-coding",alias:"kmc",name:"Kimi Coding",icon:"psychology",color:"#1E40AF",textIcon:"KC"},kilocode:{id:"kilocode",alias:"kc",name:"Kilo Code",icon:"code",color:"#FF6B35",textIcon:"KC"},cline:{id:"cline",alias:"cl",name:"Cline",icon:"smart_toy",color:"#5B9BD5",textIcon:"CL"}},l={openrouter:{id:"openrouter",alias:"openrouter",name:"OpenRouter",icon:"router",color:"#F97316",textIcon:"OR",passthroughModels:!0,website:"https://openrouter.ai"},glm:{id:"glm",alias:"glm",name:"GLM Coding",icon:"code",color:"#2563EB",textIcon:"GL",website:"https://open.bigmodel.cn"},"bailian-coding-plan":{id:"bailian-coding-plan",alias:"bcp",name:"Alibaba Coding Plan",icon:"code",color:"#FF6A00",textIcon:"BCP",website:"https://www.alibabacloud.com/help/en/model-studio/coding-plan"},kimi:{id:"kimi",alias:"kimi",name:"Kimi",icon:"psychology",color:"#1E3A8A",textIcon:"KM",website:"https://kimi.moonshot.cn"},"kimi-coding-apikey":{id:"kimi-coding-apikey",alias:"kmca",name:"Kimi Coding (API Key)",icon:"psychology",color:"#1E40AF",textIcon:"KC",website:"https://kimi.com"},minimax:{id:"minimax",alias:"minimax",name:"Minimax Coding",icon:"memory",color:"#7C3AED",textIcon:"MM",website:"https://www.minimaxi.com"},"minimax-cn":{id:"minimax-cn",alias:"minimax-cn",name:"Minimax (China)",icon:"memory",color:"#DC2626",textIcon:"MC",website:"https://www.minimaxi.com"},alicode:{id:"alicode",alias:"alicode",name:"Alibaba",icon:"cloud",color:"#FF6A00",textIcon:"ALi",website:"https://bailian.console.aliyun.com"},"alicode-intl":{id:"alicode-intl",alias:"alicode-intl",name:"Alibaba Intl",icon:"cloud",color:"#FF6A00",textIcon:"ALi",website:"https://modelstudio.console.alibabacloud.com"},openai:{id:"openai",alias:"openai",name:"OpenAI",icon:"auto_awesome",color:"#10A37F",textIcon:"OA",website:"https://platform.openai.com"},anthropic:{id:"anthropic",alias:"anthropic",name:"Anthropic",icon:"smart_toy",color:"#D97757",textIcon:"AN",website:"https://console.anthropic.com"},gemini:{id:"gemini",alias:"gemini",name:"Gemini",icon:"diamond",color:"#4285F4",textIcon:"GE",website:"https://ai.google.dev"},deepseek:{id:"deepseek",alias:"ds",name:"DeepSeek",icon:"bolt",color:"#4D6BFE",textIcon:"DS",website:"https://deepseek.com"},groq:{id:"groq",alias:"groq",name:"Groq",icon:"speed",color:"#F55036",textIcon:"GQ",website:"https://groq.com",hasFree:!0,freeNote:"Free tier: 30 RPM / 14.4K RPD — no credit card"},blackbox:{id:"blackbox",alias:"bb",name:"Blackbox AI",icon:"view_in_ar",color:"#1A1A2E",textIcon:"BB",website:"https://blackbox.ai"},xai:{id:"xai",alias:"xai",name:"xAI (Grok)",icon:"auto_awesome",color:"#1DA1F2",textIcon:"XA",website:"https://x.ai"},mistral:{id:"mistral",alias:"mistral",name:"Mistral",icon:"air",color:"#FF7000",textIcon:"MI",website:"https://mistral.ai"},perplexity:{id:"perplexity",alias:"pplx",name:"Perplexity",icon:"search",color:"#20808D",textIcon:"PP",website:"https://www.perplexity.ai"},together:{id:"together",alias:"together",name:"Together AI",icon:"group_work",color:"#0F6FFF",textIcon:"TG",website:"https://www.together.ai"},fireworks:{id:"fireworks",alias:"fireworks",name:"Fireworks AI",icon:"local_fire_department",color:"#7B2EF2",textIcon:"FW",website:"https://fireworks.ai"},cerebras:{id:"cerebras",alias:"cerebras",name:"Cerebras",icon:"memory",color:"#FF4F00",textIcon:"CB",website:"https://inference.cerebras.ai",hasFree:!0,freeNote:"Free: 1M tokens/day, 60K TPM — world's fastest inference"},cohere:{id:"cohere",alias:"cohere",name:"Cohere",icon:"hub",color:"#39594D",textIcon:"CO",website:"https://cohere.com"},nvidia:{id:"nvidia",alias:"nvidia",name:"NVIDIA NIM",icon:"developer_board",color:"#76B900",textIcon:"NV",website:"https://build.nvidia.com",hasFree:!0,freeNote:"Free dev access: ~40 RPM, 70+ models (Kimi K2.5, GLM 4.7, DeepSeek V3.2...)"},nebius:{id:"nebius",alias:"nebius",name:"Nebius AI",icon:"cloud",color:"#6C5CE7",textIcon:"NB",website:"https://nebius.com"},siliconflow:{id:"siliconflow",alias:"siliconflow",name:"SiliconFlow",icon:"cloud_queue",color:"#5B6EF5",textIcon:"SF",website:"https://cloud.siliconflow.com"},hyperbolic:{id:"hyperbolic",alias:"hyp",name:"Hyperbolic",icon:"bolt",color:"#00D4FF",textIcon:"HY",website:"https://hyperbolic.xyz"},deepgram:{id:"deepgram",alias:"dg",name:"Deepgram",icon:"mic",color:"#13EF93",textIcon:"DG",website:"https://deepgram.com"},assemblyai:{id:"assemblyai",alias:"aai",name:"AssemblyAI",icon:"record_voice_over",color:"#0062FF",textIcon:"AA",website:"https://assemblyai.com"},nanobanana:{id:"nanobanana",alias:"nb",name:"NanoBanana",icon:"image",color:"#FFD700",textIcon:"NB",website:"https://nanobananaapi.ai"},"ollama-cloud":{id:"ollama-cloud",alias:"ollamacloud",name:"Ollama Cloud",icon:"cloud",color:"#58A6FF",textIcon:"OC",website:"https://ollama.com/settings/api-keys"},elevenlabs:{id:"elevenlabs",alias:"el",name:"ElevenLabs",icon:"record_voice_over",color:"#6C47FF",textIcon:"EL",website:"https://elevenlabs.io"},cartesia:{id:"cartesia",alias:"cartesia",name:"Cartesia",icon:"spatial_audio",color:"#FF4F8B",textIcon:"CA",website:"https://cartesia.ai"},playht:{id:"playht",alias:"playht",name:"PlayHT",icon:"play_circle",color:"#00B4D8",textIcon:"PH",website:"https://play.ht"},inworld:{id:"inworld",alias:"inworld",name:"Inworld",icon:"voice_chat",color:"#7B2EF2",textIcon:"IW",website:"https://inworld.ai"},sdwebui:{id:"sdwebui",alias:"sdwebui",name:"SD WebUI",icon:"brush",color:"#FF7043",textIcon:"SD",website:"https://github.com/AUTOMATIC1111/stable-diffusion-webui"},comfyui:{id:"comfyui",alias:"comfyui",name:"ComfyUI",icon:"account_tree",color:"#4CAF50",textIcon:"CF",website:"https://github.com/comfyanonymous/ComfyUI"},huggingface:{id:"huggingface",alias:"hf",name:"HuggingFace",icon:"face",color:"#FFD21E",textIcon:"HF",website:"https://huggingface.co",hasFree:!0,freeNote:"Free Inference API for thousands of models (Whisper, VITS, SDXL…)"},synthetic:{id:"synthetic",alias:"synthetic",name:"Synthetic",icon:"verified_user",color:"#6366F1",textIcon:"SY",website:"https://synthetic.new",passthroughModels:!0},"kilo-gateway":{id:"kilo-gateway",alias:"kg",name:"Kilo Gateway",icon:"hub",color:"#617A91",textIcon:"KG",website:"https://kilo.ai",passthroughModels:!0},vertex:{id:"vertex",alias:"vertex",name:"Vertex AI",icon:"cloud",color:"#4285F4",textIcon:"VA",website:"https://cloud.google.com/vertex-ai",authHint:"Provide Service Account JSON or OAuth access_token"},zai:{id:"zai",alias:"zai",name:"Z.AI (GLM-5)",icon:"psychology",color:"#2563EB",textIcon:"ZA",website:"https://open.bigmodel.cn",apiHint:"API key from https://open.bigmodel.cn/usercenter/apikeys"},"perplexity-search":{id:"perplexity-search",alias:"pplx-search",name:"Perplexity Search",icon:"search",color:"#20808D",textIcon:"PS",website:"https://docs.perplexity.ai/guides/search-quickstart",authHint:"Same API key as Perplexity (pplx-...)"},"serper-search":{id:"serper-search",alias:"serper-search",name:"Serper Search",icon:"search",color:"#4285F4",textIcon:"SP",website:"https://serper.dev",authHint:"API key from serper.dev dashboard"},"brave-search":{id:"brave-search",alias:"brave-search",name:"Brave Search",icon:"travel_explore",color:"#FB542B",textIcon:"BR",website:"https://brave.com/search/api",authHint:"Subscription token from Brave Search API dashboard"},"exa-search":{id:"exa-search",alias:"exa-search",name:"Exa Search",icon:"neurology",color:"#1E40AF",textIcon:"EX",website:"https://exa.ai",authHint:"API key from dashboard.exa.ai"},"tavily-search":{id:"tavily-search",alias:"tavily-search",name:"Tavily Search",icon:"manage_search",color:"#5B4FDB",textIcon:"TV",website:"https://tavily.com",authHint:"API key from app.tavily.com (format: tvly-...)"}},p="openai-compatible-",d="anthropic-compatible-";function s(e){return"string"==typeof e&&e.startsWith(p)}function a(e){return"string"==typeof e&&e.startsWith(d)}let u={...n,...c,...l},m=Object.values(u).reduce((e,t)=>(e[t.alias]=t.id,e),{});Object.values(u).reduce((e,t)=>(e[t.id]=t.alias,e),{}),(0,o.validateProviders)(n,"FREE_PROVIDERS"),(0,o.validateProviders)(c,"OAUTH_PROVIDERS"),(0,o.validateProviders)(l,"APIKEY_PROVIDERS"),e.s(["AI_PROVIDERS",0,u,"ALIAS_TO_ID",0,m,"ANTHROPIC_COMPATIBLE_PREFIX",0,d,"APIKEY_PROVIDERS",0,l,"FREE_PROVIDERS",0,n,"OAUTH_PROVIDERS",0,c,"OPENAI_COMPATIBLE_PREFIX",0,p,"isAnthropicCompatibleProvider",()=>a,"isOpenAICompatibleProvider",()=>s]),i()}catch(e){i(e)}},!1),617325,e=>e.a(async(t,i)=>{try{var o=e.i(878947),r=e.i(963219),s=t([r]);[r]=s.then?(await s)():s,Object.entries(r.AI_PROVIDERS).filter(([,e])=>e.passthroughModels).map(([e])=>e);let a=Object.entries(o.PROVIDER_MODELS).flatMap(([e,t])=>t.map(t=>({provider:e,model:t.id,name:t.name})));e.s(["AI_MODELS",0,a]),i()}catch(e){i(e)}},!1),651948,e=>e.a(async(t,i)=>{try{var o=e.i(804730),r=e.i(963219),s=e.i(617325),a=t([r,s]);[r,s]=a.then?(await a)():a;let n={name:"OmniRoute",description:"AI Gateway for Multi-Provider LLMs",version:o.default.version};e.s(["APP_CONFIG",0,n]),i()}catch(e){i(e)}},!1),949423,e=>e.a(async(t,i)=>{try{var o=e.i(89171);e.i(245272);var r=e.i(548941),s=e.i(651948),a=t([s]);async function n(){try{let{getAllCircuitBreakerStatuses:t}=await e.A(970016),{getAllRateLimitStatus:i}=await e.A(134636),{getAllModelLockouts:a}=await e.A(730711),{getInflightCount:n}=await e.A(38026),c=await (0,r.getSettings)(),l=t(),p=i(),d=a(),{getAllHealthStatuses:u}=await e.A(338694),m={version:s.APP_CONFIG.version,nodeVersion:process.version,uptime:process.uptime(),memoryUsage:process.memoryUsage(),pid:process.pid,platform:process.platform},h={};for(let e of l)e.name.startsWith("test-")||e.name.startsWith("test_")||(h[e.name]={state:e.state,failures:e.failureCount||0,lastFailure:e.lastFailureTime});return o.NextResponse.json({status:"healthy",timestamp:new Date().toISOString(),system:m,providerHealth:h,localProviders:u(),rateLimitStatus:p,lockouts:d,dedup:{inflightRequests:n()},setupComplete:c?.setupComplete||!1})}catch(e){return console.error("[API] GET /api/monitoring/health error:",e),o.NextResponse.json({status:"error",error:"Health check failed"},{status:500})}}async function c(){try{let{resetAllCircuitBreakers:t,getAllCircuitBreakerStatuses:i}=await e.A(970016),r=i().length;return t(),console.log(`[API] DELETE /api/monitoring/health — Reset ${r} circuit breakers`),o.NextResponse.json({success:!0,message:`Reset ${r} circuit breaker(s) to healthy state`,resetCount:r})}catch(e){return console.error("[API] DELETE /api/monitoring/health error:",e),o.NextResponse.json({error:"Failed to reset circuit breakers"},{status:500})}}[s]=a.then?(await a)():a,e.s(["DELETE",()=>c,"GET",()=>n]),i()}catch(e){i(e)}},!1),984654,e=>e.a(async(t,i)=>{try{var o=e.i(747909),r=e.i(174017),s=e.i(996250),a=e.i(759756),n=e.i(561916),c=e.i(174677),l=e.i(869741),p=e.i(316795),d=e.i(487718),u=e.i(995169),m=e.i(47587),h=e.i(666012),b=e.i(570101),g=e.i(626937),y=e.i(10372),x=e.i(193695);e.i(52474);var f=e.i(600220),v=e.i(949423),w=t([v]);[v]=w.then?(await w)():w;let _=new o.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/monitoring/health/route",pathname:"/api/monitoring/health",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/monitoring/health/route.ts",nextConfigOutput:"standalone",userland:v}),{workAsyncStorage:k,workUnitAsyncStorage:R,serverHooks:C}=_;function A(){return(0,s.patchFetch)({workAsyncStorage:k,workUnitAsyncStorage:R})}async function I(e,t,i){_.isDev&&(0,a.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let o="/api/monitoring/health/route";o=o.replace(/\/index$/,"")||"/";let s=await _.prepare(e,t,{srcPage:o,multiZoneDraftMode:!1});if(!s)return t.statusCode=400,t.end("Bad Request"),null==i.waitUntil||i.waitUntil.call(i,Promise.resolve()),null;let{buildId:v,params:w,nextConfig:A,parsedUrl:I,isDraftMode:k,prerenderManifest:R,routerServerContext:C,isOnDemandRevalidate:E,revalidateOnlyGenerated:P,resolvedPathname:F,clientReferenceManifest:j,serverActionsManifest:O}=s,S=(0,l.normalizeAppPath)(o),D=!!(R.dynamicRoutes[S]||R.routes[F]),N=async()=>((null==C?void 0:C.render404)?await C.render404(e,t,I,!1):t.end("This page could not be found"),null);if(D&&!k){let e=!!R.routes[F],t=R.dynamicRoutes[S];if(t&&!1===t.fallback&&!e){if(A.experimental.adapterPath)return await N();throw new x.NoFallbackError}}let M=null;!D||_.isDev||k||(M=F,M="/index"===M?"/":M);let T=!0===_.isDev||!D,B=D&&!T;O&&j&&(0,c.setManifestsSingleton)({page:o,clientReferenceManifest:j,serverActionsManifest:O});let q=e.method||"GET",H=(0,n.getTracer)(),L=H.getActiveScopeSpan(),$={params:w,prerenderManifest:R,renderOpts:{experimental:{authInterrupts:!!A.experimental.authInterrupts},cacheComponents:!!A.cacheComponents,supportsDynamicResponse:T,incrementalCache:(0,a.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:A.cacheLife,waitUntil:i.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,i,o,r)=>_.onRequestError(e,t,o,r,C)},sharedContext:{buildId:v}},z=new p.NodeNextRequest(e),U=new p.NodeNextResponse(t),G=d.NextRequestAdapter.fromNodeNextRequest(z,(0,d.signalFromNodeResponse)(t));try{let s=async e=>_.handle(G,$).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let i=H.getRootSpanAttributes();if(!i)return;if(i.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${i.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=i.get("next.route");if(r){let t=`${q} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t)}else e.updateName(`${q} ${o}`)}),c=!!(0,a.getRequestMeta)(e,"minimalMode"),l=async a=>{var n,l;let p=async({previousCacheEntry:r})=>{try{if(!c&&E&&P&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await s(a);e.fetchMetrics=$.renderOpts.fetchMetrics;let n=$.renderOpts.pendingWaitUntil;n&&i.waitUntil&&(i.waitUntil(n),n=void 0);let l=$.renderOpts.collectedTags;if(!D)return await (0,h.sendResponse)(z,U,o,$.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,b.toNodeOutgoingHttpHeaders)(o.headers);l&&(t[y.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let i=void 0!==$.renderOpts.collectedRevalidate&&!($.renderOpts.collectedRevalidate>=y.INFINITE_CACHE)&&$.renderOpts.collectedRevalidate,r=void 0===$.renderOpts.collectedExpire||$.renderOpts.collectedExpire>=y.INFINITE_CACHE?void 0:$.renderOpts.collectedExpire;return{value:{kind:f.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:i,expire:r}}}}catch(t){throw(null==r?void 0:r.isStale)&&await _.onRequestError(e,t,{routerKind:"App Router",routePath:o,routeType:"route",revalidateReason:(0,m.getRevalidateReason)({isStaticGeneration:B,isOnDemandRevalidate:E})},!1,C),t}},d=await _.handleResponse({req:e,nextConfig:A,cacheKey:M,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:R,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:P,responseGenerator:p,waitUntil:i.waitUntil,isMinimalMode:c});if(!D)return null;if((null==d||null==(n=d.value)?void 0:n.kind)!==f.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(l=d.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});c||t.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),k&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,b.fromNodeOutgoingHttpHeaders)(d.value.headers);return c&&D||u.delete(y.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,g.getCacheControlHeader)(d.cacheControl)),await (0,h.sendResponse)(z,U,new Response(d.value.body,{headers:u,status:d.value.status||200})),null};L?await l(L):await H.withPropagatedContext(e.headers,()=>H.trace(u.BaseServerSpan.handleRequest,{spanName:`${q} ${o}`,kind:n.SpanKind.SERVER,attributes:{"http.method":q,"http.target":e.url}},l))}catch(t){if(t instanceof x.NoFallbackError||await _.onRequestError(e,t,{routerKind:"App Router",routePath:S,routeType:"route",revalidateReason:(0,m.getRevalidateReason)({isStaticGeneration:B,isOnDemandRevalidate:E})},!1,C),D)throw t;return await (0,h.sendResponse)(z,U,new Response(null,{status:500})),null}}e.s(["handler",()=>I,"patchFetch",()=>A,"routeModule",()=>_,"serverHooks",()=>C,"workAsyncStorage",()=>k,"workUnitAsyncStorage",()=>R]),i()}catch(e){i(e)}},!1),606102,e=>{e.v(e=>Promise.resolve().then(()=>e(548941)))},789543,e=>{e.v(e=>Promise.resolve().then(()=>e(385498)))},579042,e=>{e.v(t=>Promise.all(["server/chunks/src_shared_utils_apiKey_ts_fa113e09._.js"].map(t=>e.l(t))).then(()=>t(65448)))},49794,e=>{e.v(t=>Promise.all(["server/chunks/src_shared_constants_pricing_ts_65de0558._.js"].map(t=>e.l(t))).then(()=>t(404503)))},386305,e=>{e.v(e=>Promise.resolve().then(()=>e(878947)))},970016,e=>{e.v(t=>Promise.all(["server/chunks/src_5ca0c0a2._.js"].map(t=>e.l(t))).then(()=>t(260222)))},134636,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_localDb_ts_287eb35f._.js","server/chunks/_5677b5e2._.js","server/chunks/open-sse_cf4d5692._.js"].map(t=>e.l(t))).then(()=>t(20870)))},730711,e=>{e.v(t=>Promise.all(["server/chunks/open-sse_cf4d5692._.js"].map(t=>e.l(t))).then(()=>t(441637)))},38026,e=>{e.v(t=>Promise.all(["server/chunks/open-sse_services_requestDedup_ts_82fdaab0._.js"].map(t=>e.l(t))).then(()=>t(951700)))},338694,e=>{e.v(t=>Promise.all(["server/chunks/src_lib_localHealthCheck_ts_06c8cb5d._.js"].map(t=>e.l(t))).then(()=>t(181666)))}];
3
3
 
4
4
  //# sourceMappingURL=%5Broot-of-the-server%5D__09c944b3._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[918622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},556704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},324725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},193695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},442315,(e,t,r)=>{"use strict";t.exports=e.r(918622)},347540,(e,t,r)=>{"use strict";t.exports=e.r(442315).vendored["react-rsc"].React},819481,(e,t,r)=>{"use strict";var a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},d={RequestCookies:()=>y,ResponseCookies:()=>m,parseCookie:()=>u,parseSetCookie:()=>p,stringifyCookie:()=>c};for(var l in d)a(s,l,{get:d[l],enumerable:!0});function c(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),a=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?a:`${a}; ${r.join("; ")}`}function u(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[a,n]=[r.slice(0,e),r.slice(e+1)];try{t.set(a,decodeURIComponent(null!=n?n:"true"))}catch{}}return t}function p(e){if(!e)return;let[[t,r],...a]=u(e),{domain:n,expires:o,httponly:i,maxage:s,path:d,samesite:l,secure:c,partitioned:p,priority:y}=Object.fromEntries(a.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var m,g,v={name:t,value:decodeURIComponent(r),domain:n,...o&&{expires:new Date(o)},...i&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:d,...l&&{sameSite:h.includes(m=(m=l).toLowerCase())?m:void 0},...c&&{secure:!0},...y&&{priority:f.includes(g=(g=y).toLowerCase())?g:void 0},...p&&{partitioned:!0}};let e={};for(let t in v)v[t]&&(e[t]=v[t]);return e}}t.exports=((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of o(t))i.call(e,r)||void 0===r||a(e,r,{get:()=>t[r],enumerable:!(s=n(t,r))||s.enumerable});return e})(a({},"__esModule",{value:!0}),s);var h=["strict","lax","none"],f=["low","medium","high"],y=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of u(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let a="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===a).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,a=this._parsed;return a.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(a).map(([e,t])=>c(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>c(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},m=class{constructor(e){var t,r,a;this._parsed=new Map,this._headers=e;const n=null!=(a=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?a:[];for(const e of Array.isArray(n)?n:function(e){if(!e)return[];var t,r,a,n,o,i=[],s=0;function d(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;d();)if(","===(r=e.charAt(s))){for(a=s,s+=1,d(),n=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=n,i.push(e.substring(t,a)),t=s):s=a+1}else s+=1;(!o||s>=e.length)&&i.push(e.substring(t,e.length))}return i}(n)){const t=p(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let a="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===a)}has(e){return this._parsed.has(e)}set(...e){let[t,r,a]=1===e.length?[e[0].name,e[0].value,e[0]]:e,n=this._parsed;return n.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...a})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=c(r);t.append("set-cookie",e)}}(n,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(c).join("; ")}}},677850,e=>e.a(async(t,r)=>{try{let t=await e.y("zod");e.n(t),r()}catch(e){r(e)}},!0),200392,e=>e.a(async(t,r)=>{try{var a=e.i(677850),n=t([a]);function o(e,t){let r=e.safeParse(t);if(r.success)return{success:!0,data:r.data};let a=Array.isArray(r.error?.issues)?r.error.issues:[];return{success:!1,error:{message:"Invalid request",details:a.map(e=>({field:e.path.join("."),message:e.message}))}}}function i(e){return!1===e.success}[a]=n.then?(await n)():n,a.z.object({password:a.z.string().min(1,"Password is required").max(200)}),e.s(["isValidationFailure",()=>i,"validateBody",()=>o]),r()}catch(e){r(e)}},!1),663370,632802,e=>{"use strict";let t=new TextEncoder,r=new TextDecoder;function a(...e){let t=new Uint8Array(e.reduce((e,{length:t})=>e+t,0)),r=0;for(let a of e)t.set(a,r),r+=a.length;return t}function n(e){let t=new Uint8Array(e.length);for(let r=0;r<e.length;r++){let a=e.charCodeAt(r);if(a>127)throw TypeError("non-ASCII string encountered in encode()");t[r]=a}return t}function o(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:r.decode(e),{alphabet:"base64url"});let t=e;t instanceof Uint8Array&&(t=r.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/");try{var a=t;if(Uint8Array.fromBase64)return Uint8Array.fromBase64(a);let e=atob(a),r=new Uint8Array(e.length);for(let t=0;t<e.length;t++)r[t]=e.charCodeAt(t);return r}catch{throw TypeError("The input to be decoded is not correctly encoded.")}}function i(e){let r=e;return("string"==typeof r&&(r=t.encode(r)),Uint8Array.prototype.toBase64)?r.toBase64({alphabet:"base64url",omitPadding:!0}):(function(e){if(Uint8Array.prototype.toBase64)return e.toBase64();let t=[];for(let r=0;r<e.length;r+=32768)t.push(String.fromCharCode.apply(null,e.subarray(r,r+32768)));return btoa(t.join(""))})(r).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}e.s(["concat",()=>a,"decoder",0,r,"encode",()=>n,"encoder",0,t],632802),e.s(["decode",()=>o,"encode",()=>i],663370)},865466,e=>{"use strict";class t extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,t){super(e,t),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class r extends t{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,t,r="unspecified",a="unspecified"){super(e,{cause:{claim:r,reason:a,payload:t}}),this.claim=r,this.reason=a,this.payload=t}}class a extends t{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,t,r="unspecified",a="unspecified"){super(e,{cause:{claim:r,reason:a,payload:t}}),this.claim=r,this.reason=a,this.payload=t}}class n extends t{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class o extends t{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class i extends t{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class s extends t{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class d extends t{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t)}}class l extends t{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",t){super(e,t)}}e.s(["JOSEAlgNotAllowed",()=>n,"JOSENotSupported",()=>o,"JWSInvalid",()=>i,"JWSSignatureVerificationFailed",()=>l,"JWTClaimValidationFailed",()=>r,"JWTExpired",()=>a,"JWTInvalid",()=>s])},177278,e=>{"use strict";function t(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function r(...e){let t,a=e.filter(Boolean);if(0===a.length||1===a.length)return!0;for(let e of a){let r=Object.keys(e);if(!t||0===t.size){t=new Set(r);continue}for(let e of r){if(t.has(e))return!1;t.add(e)}}return!0}e.s(["isDisjoint",()=>r,"isJWK",0,e=>t(e)&&"string"==typeof e.kty,"isObject",()=>t,"isPrivateJWK",0,e=>"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d),"isPublicJWK",0,e=>"oct"!==e.kty&&void 0===e.d&&void 0===e.priv,"isSecretJWK",0,e=>"oct"===e.kty&&"string"==typeof e.k])},709939,e=>{"use strict";var t=e.i(663370),r=e.i(293233),a=e.i(865466),n=e.i(632802),o=e.i(913658),i=e.i(177278),s=e.i(48215),d=e.i(252665),l=e.i(18083);async function c(e,c,u){if(!(0,i.isObject)(e))throw new a.JWSInvalid("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new a.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new a.JWSInvalid("JWS Protected Header incorrect type");if(void 0===e.payload)throw new a.JWSInvalid("JWS Payload missing");if("string"!=typeof e.signature)throw new a.JWSInvalid("JWS Signature missing or incorrect type");if(void 0!==e.header&&!(0,i.isObject)(e.header))throw new a.JWSInvalid("JWS Unprotected Header incorrect type");let p={};if(e.protected)try{let r=(0,t.decode)(e.protected);p=JSON.parse(n.decoder.decode(r))}catch{throw new a.JWSInvalid("JWS Protected Header is invalid")}if(!(0,i.isDisjoint)(p,e.header))throw new a.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let h={...p,...e.header},f=(0,d.validateCrit)(a.JWSInvalid,new Map([["b64",!0]]),u?.crit,p,h),y=!0;if(f.has("b64")&&"boolean"!=typeof(y=p.b64))throw new a.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:m}=h;if("string"!=typeof m||!m)throw new a.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');let g=u&&function(e,t){if(void 0!==t&&(!Array.isArray(t)||t.some(e=>"string"!=typeof e)))throw TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)}("algorithms",u.algorithms);if(g&&!g.has(m))throw new a.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter value not allowed');if(y){if("string"!=typeof e.payload)throw new a.JWSInvalid("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new a.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let v=!1;"function"==typeof c&&(c=await c(p,e),v=!0),(0,s.checkKeyType)(m,c,"verify");let w=(0,n.concat)(void 0!==e.protected?(0,n.encode)(e.protected):new Uint8Array,(0,n.encode)("."),"string"==typeof e.payload?y?(0,n.encode)(e.payload):n.encoder.encode(e.payload):e.payload),R=(0,o.decodeBase64url)(e.signature,"signature",a.JWSInvalid),_=await (0,l.normalizeKey)(c,m);if(!await (0,r.verify)(m,_,R,w))throw new a.JWSSignatureVerificationFailed;let S={payload:y?(0,o.decodeBase64url)(e.payload,"payload",a.JWSInvalid):"string"==typeof e.payload?n.encoder.encode(e.payload):e.payload};return(void 0!==e.protected&&(S.protectedHeader=p),void 0!==e.header&&(S.unprotectedHeader=e.header),v)?{...S,key:_}:S}async function u(e,t,r){if(e instanceof Uint8Array&&(e=n.decoder.decode(e)),"string"!=typeof e)throw new a.JWSInvalid("Compact JWS must be a string or Uint8Array");let{0:o,1:i,2:s,length:d}=e.split(".");if(3!==d)throw new a.JWSInvalid("Invalid Compact JWS");let l=await c({payload:i,protected:o,signature:s},t,r),u={payload:l.payload,protectedHeader:l.protectedHeader};return"function"==typeof t?{...u,key:l.key}:u}var p=e.i(224472);async function h(e,t,r){let n=await u(e,t,r);if(n.protectedHeader.crit?.includes("b64")&&!1===n.protectedHeader.b64)throw new a.JWTInvalid("JWTs MUST NOT use unencoded payload");let o={payload:(0,p.validateClaimsSet)(n.protectedHeader,n.payload,r),protectedHeader:n.protectedHeader};return"function"==typeof t?{...o,key:n.key}:o}e.s(["jwtVerify",()=>h],709939)},235328,e=>{"use strict";var t=e.i(709939),r=e.i(493458);e.i(245272);var a=e.i(548941);async function n(a){let n=a.headers.get("authorization");if(n?.startsWith("Bearer ")){let t=n.slice(7);try{let{validateApiKey:r}=await e.A(734680);if(await r(t))return!0}catch{}}if(process.env.JWT_SECRET)try{let e=await (0,r.cookies)(),a=e.get("auth_token")?.value;if(a){let e=new TextEncoder().encode(process.env.JWT_SECRET);return await (0,t.jwtVerify)(a,e),!0}}catch{}return!1}async function o(){try{let e=await (0,a.getSettings)();if(!1===e.requireLogin||!e.password&&!process.env.INITIAL_PASSWORD)return!1;return!0}catch{return!0}}e.s(["isAuthRequired",()=>o,"isAuthenticated",()=>n])},877613,e=>e.a(async(t,r)=>{try{e.i(245272);var a=e.i(542949),n=e.i(235328),o=e.i(676088),i=e.i(200392),s=t([o,i]);async function d(e){try{if(!await (0,n.isAuthenticated)(e))return Response.json({error:{message:"Authentication required",type:"invalid_api_key"}},{status:401});let{searchParams:t}=new URL(e.url),r=t.get("provider"),o=r?await (0,a.getCustomModels)(r):await (0,a.getAllCustomModels)();return Response.json({models:o})}catch(e){return Response.json({error:{message:e.message,type:"server_error"}},{status:500})}}async function l(e){let t;try{t=await e.json()}catch{return Response.json({error:{message:"Invalid JSON body",type:"validation_error"}},{status:400})}try{if(!await (0,n.isAuthenticated)(e))return Response.json({error:{message:"Authentication required",type:"invalid_api_key"}},{status:401});let r=(0,i.validateBody)(o.providerModelMutationSchema,t);if((0,i.isValidationFailure)(r))return Response.json({error:r.error},{status:400});let{provider:s,modelId:d,modelName:l,source:c,apiFormat:u,supportedEndpoints:p}=r.data,h=await (0,a.addCustomModel)(s,d,l,c||"manual",u,p);return Response.json({model:h})}catch(e){return console.error("Error adding provider model:",e),Response.json({error:{message:"Failed to add provider model",type:"server_error"}},{status:500})}}async function c(e){let t;try{t=await e.json()}catch{return Response.json({error:{message:"Invalid JSON body",type:"validation_error"}},{status:400})}try{if(!await (0,n.isAuthenticated)(e))return Response.json({error:{message:"Authentication required",type:"invalid_api_key"}},{status:401});let r=(0,i.validateBody)(o.providerModelMutationSchema,t);if((0,i.isValidationFailure)(r))return Response.json({error:r.error},{status:400});let{provider:s,modelId:d,modelName:l,apiFormat:c,supportedEndpoints:u,normalizeToolCallId:p}=r.data,h=await (0,a.updateCustomModel)(s,d,{modelName:l,apiFormat:c,supportedEndpoints:u,normalizeToolCallId:p});if(!h)return Response.json({error:{message:"Model not found",type:"not_found"}},{status:404});return Response.json({model:h})}catch(e){return console.error("Error updating provider model:",e),Response.json({error:{message:"Failed to update provider model",type:"server_error"}},{status:500})}}async function u(e){try{if(!await (0,n.isAuthenticated)(e))return Response.json({error:{message:"Authentication required",type:"invalid_api_key"}},{status:401});let{searchParams:t}=new URL(e.url),r=t.get("provider"),o=t.get("model");if(!r||!o)return Response.json({error:{message:"provider and model query params are required",type:"validation_error"}},{status:400});let i=await (0,a.removeCustomModel)(r,o);return Response.json({removed:i})}catch(e){return console.error("Error removing provider model:",e),Response.json({error:{message:"Failed to remove provider model",type:"server_error"}},{status:500})}}[o,i]=s.then?(await s)():s,e.s(["DELETE",()=>u,"GET",()=>d,"POST",()=>l,"PUT",()=>c]),r()}catch(e){r(e)}},!1),405402,e=>e.a(async(t,r)=>{try{var a=e.i(747909),n=e.i(174017),o=e.i(996250),i=e.i(759756),s=e.i(561916),d=e.i(174677),l=e.i(869741),c=e.i(316795),u=e.i(487718),p=e.i(995169),h=e.i(47587),f=e.i(666012),y=e.i(570101),m=e.i(626937),g=e.i(10372),v=e.i(193695);e.i(52474);var w=e.i(600220),R=e.i(877613),_=t([R]);[R]=_.then?(await _)():_;let E=new a.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/provider-models/route",pathname:"/api/provider-models",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/provider-models/route.ts",nextConfigOutput:"standalone",userland:R}),{workAsyncStorage:x,workUnitAsyncStorage:b,serverHooks:I}=E;function S(){return(0,o.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:b})}async function A(e,t,r){E.isDev&&(0,i.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let a="/api/provider-models/route";a=a.replace(/\/index$/,"")||"/";let o=await E.prepare(e,t,{srcPage:a,multiZoneDraftMode:!1});if(!o)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:R,params:_,nextConfig:S,parsedUrl:A,isDraftMode:x,prerenderManifest:b,routerServerContext:I,isOnDemandRevalidate:O,revalidateOnlyGenerated:C,resolvedPathname:j,clientReferenceManifest:T,serverActionsManifest:J}=o,P=(0,l.normalizeAppPath)(a),W=!!(b.dynamicRoutes[P]||b.routes[j]),k=async()=>((null==I?void 0:I.render404)?await I.render404(e,t,A,!1):t.end("This page could not be found"),null);if(W&&!x){let e=!!b.routes[j],t=b.dynamicRoutes[P];if(t&&!1===t.fallback&&!e){if(S.experimental.adapterPath)return await k();throw new v.NoFallbackError}}let N=null;!W||E.isDev||x||(N=j,N="/index"===N?"/":N);let U=!0===E.isDev||!W,D=W&&!U;J&&T&&(0,d.setManifestsSingleton)({page:a,clientReferenceManifest:T,serverActionsManifest:J});let H=e.method||"GET",L=(0,s.getTracer)(),M=L.getActiveScopeSpan(),q={params:_,prerenderManifest:b,renderOpts:{experimental:{authInterrupts:!!S.experimental.authInterrupts},cacheComponents:!!S.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,i.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:S.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>E.onRequestError(e,t,a,n,I)},sharedContext:{buildId:R}},F=new c.NodeNextRequest(e),$=new c.NodeNextResponse(t),B=u.NextRequestAdapter.fromNodeNextRequest(F,(0,u.signalFromNodeResponse)(t));try{let o=async e=>E.handle(B,q).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=L.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let n=r.get("next.route");if(n){let t=`${H} ${n}`;e.setAttributes({"next.route":n,"http.route":n,"next.span_name":t}),e.updateName(t)}else e.updateName(`${H} ${a}`)}),d=!!(0,i.getRequestMeta)(e,"minimalMode"),l=async i=>{var s,l;let c=async({previousCacheEntry:n})=>{try{if(!d&&O&&C&&!n)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let a=await o(i);e.fetchMetrics=q.renderOpts.fetchMetrics;let s=q.renderOpts.pendingWaitUntil;s&&r.waitUntil&&(r.waitUntil(s),s=void 0);let l=q.renderOpts.collectedTags;if(!W)return await (0,f.sendResponse)(F,$,a,q.renderOpts.pendingWaitUntil),null;{let e=await a.blob(),t=(0,y.toNodeOutgoingHttpHeaders)(a.headers);l&&(t[g.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==q.renderOpts.collectedRevalidate&&!(q.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&q.renderOpts.collectedRevalidate,n=void 0===q.renderOpts.collectedExpire||q.renderOpts.collectedExpire>=g.INFINITE_CACHE?void 0:q.renderOpts.collectedExpire;return{value:{kind:w.CachedRouteKind.APP_ROUTE,status:a.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:n}}}}catch(t){throw(null==n?void 0:n.isStale)&&await E.onRequestError(e,t,{routerKind:"App Router",routePath:a,routeType:"route",revalidateReason:(0,h.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:O})},!1,I),t}},u=await E.handleResponse({req:e,nextConfig:S,cacheKey:N,routeKind:n.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:b,isRoutePPREnabled:!1,isOnDemandRevalidate:O,revalidateOnlyGenerated:C,responseGenerator:c,waitUntil:r.waitUntil,isMinimalMode:d});if(!W)return null;if((null==u||null==(s=u.value)?void 0:s.kind)!==w.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(l=u.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});d||t.setHeader("x-nextjs-cache",O?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),x&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let p=(0,y.fromNodeOutgoingHttpHeaders)(u.value.headers);return d&&W||p.delete(g.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||p.get("Cache-Control")||p.set("Cache-Control",(0,m.getCacheControlHeader)(u.cacheControl)),await (0,f.sendResponse)(F,$,new Response(u.value.body,{headers:p,status:u.value.status||200})),null};M?await l(M):await L.withPropagatedContext(e.headers,()=>L.trace(p.BaseServerSpan.handleRequest,{spanName:`${H} ${a}`,kind:s.SpanKind.SERVER,attributes:{"http.method":H,"http.target":e.url}},l))}catch(t){if(t instanceof v.NoFallbackError||await E.onRequestError(e,t,{routerKind:"App Router",routePath:P,routeType:"route",revalidateReason:(0,h.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:O})},!1,I),W)throw t;return await (0,f.sendResponse)(F,$,new Response(null,{status:500})),null}}e.s(["handler",()=>A,"patchFetch",()=>S,"routeModule",()=>E,"serverHooks",()=>I,"workAsyncStorage",()=>x,"workUnitAsyncStorage",()=>b]),r()}catch(e){r(e)}},!1),606102,e=>{e.v(e=>Promise.resolve().then(()=>e(548941)))},789543,e=>{e.v(e=>Promise.resolve().then(()=>e(385498)))},579042,e=>{e.v(t=>Promise.all(["server/chunks/src_shared_utils_apiKey_ts_fa113e09._.js"].map(t=>e.l(t))).then(()=>t(65448)))},49794,e=>{e.v(t=>Promise.all(["server/chunks/src_shared_constants_pricing_ts_65de0558._.js"].map(t=>e.l(t))).then(()=>t(404503)))},386305,e=>{e.v(e=>Promise.resolve().then(()=>e(878947)))},734680,e=>{e.v(e=>Promise.resolve().then(()=>e(125852)))}];
1
+ module.exports=[918622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},556704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},324725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},193695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},442315,(e,t,r)=>{"use strict";t.exports=e.r(918622)},347540,(e,t,r)=>{"use strict";t.exports=e.r(442315).vendored["react-rsc"].React},819481,(e,t,r)=>{"use strict";var a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={RequestCookies:()=>f,ResponseCookies:()=>m,parseCookie:()=>p,parseSetCookie:()=>u,stringifyCookie:()=>c};for(var d in l)a(s,d,{get:l[d],enumerable:!0});function c(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),a=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?a:`${a}; ${r.join("; ")}`}function p(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[a,o]=[r.slice(0,e),r.slice(e+1)];try{t.set(a,decodeURIComponent(null!=o?o:"true"))}catch{}}return t}function u(e){if(!e)return;let[[t,r],...a]=p(e),{domain:o,expires:n,httponly:i,maxage:s,path:l,samesite:d,secure:c,partitioned:u,priority:f}=Object.fromEntries(a.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var m,v,g={name:t,value:decodeURIComponent(r),domain:o,...n&&{expires:new Date(n)},...i&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:l,...d&&{sameSite:h.includes(m=(m=d).toLowerCase())?m:void 0},...c&&{secure:!0},...f&&{priority:y.includes(v=(v=f).toLowerCase())?v:void 0},...u&&{partitioned:!0}};let e={};for(let t in g)g[t]&&(e[t]=g[t]);return e}}t.exports=((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of n(t))i.call(e,r)||void 0===r||a(e,r,{get:()=>t[r],enumerable:!(s=o(t,r))||s.enumerable});return e})(a({},"__esModule",{value:!0}),s);var h=["strict","lax","none"],y=["low","medium","high"],f=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of p(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let a="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===a).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,a=this._parsed;return a.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(a).map(([e,t])=>c(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>c(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},m=class{constructor(e){var t,r,a;this._parsed=new Map,this._headers=e;const o=null!=(a=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?a:[];for(const e of Array.isArray(o)?o:function(e){if(!e)return[];var t,r,a,o,n,i=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,n=!1;l();)if(","===(r=e.charAt(s))){for(a=s,s+=1,l(),o=s;s<e.length&&"="!==(r=e.charAt(s))&&";"!==r&&","!==r;)s+=1;s<e.length&&"="===e.charAt(s)?(n=!0,s=o,i.push(e.substring(t,a)),t=s):s=a+1}else s+=1;(!n||s>=e.length)&&i.push(e.substring(t,e.length))}return i}(o)){const t=u(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let a="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===a)}has(e){return this._parsed.has(e)}set(...e){let[t,r,a]=1===e.length?[e[0].name,e[0].value,e[0]]:e,o=this._parsed;return o.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...a})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=c(r);t.append("set-cookie",e)}}(o,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(c).join("; ")}}},677850,e=>e.a(async(t,r)=>{try{let t=await e.y("zod");e.n(t),r()}catch(e){r(e)}},!0),200392,e=>e.a(async(t,r)=>{try{var a=e.i(677850),o=t([a]);function n(e,t){let r=e.safeParse(t);if(r.success)return{success:!0,data:r.data};let a=Array.isArray(r.error?.issues)?r.error.issues:[];return{success:!1,error:{message:"Invalid request",details:a.map(e=>({field:e.path.join("."),message:e.message}))}}}function i(e){return!1===e.success}[a]=o.then?(await o)():o,a.z.object({password:a.z.string().min(1,"Password is required").max(200)}),e.s(["isValidationFailure",()=>i,"validateBody",()=>n]),r()}catch(e){r(e)}},!1),663370,632802,e=>{"use strict";let t=new TextEncoder,r=new TextDecoder;function a(...e){let t=new Uint8Array(e.reduce((e,{length:t})=>e+t,0)),r=0;for(let a of e)t.set(a,r),r+=a.length;return t}function o(e){let t=new Uint8Array(e.length);for(let r=0;r<e.length;r++){let a=e.charCodeAt(r);if(a>127)throw TypeError("non-ASCII string encountered in encode()");t[r]=a}return t}function n(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:r.decode(e),{alphabet:"base64url"});let t=e;t instanceof Uint8Array&&(t=r.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/");try{var a=t;if(Uint8Array.fromBase64)return Uint8Array.fromBase64(a);let e=atob(a),r=new Uint8Array(e.length);for(let t=0;t<e.length;t++)r[t]=e.charCodeAt(t);return r}catch{throw TypeError("The input to be decoded is not correctly encoded.")}}function i(e){let r=e;return("string"==typeof r&&(r=t.encode(r)),Uint8Array.prototype.toBase64)?r.toBase64({alphabet:"base64url",omitPadding:!0}):(function(e){if(Uint8Array.prototype.toBase64)return e.toBase64();let t=[];for(let r=0;r<e.length;r+=32768)t.push(String.fromCharCode.apply(null,e.subarray(r,r+32768)));return btoa(t.join(""))})(r).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}e.s(["concat",()=>a,"decoder",0,r,"encode",()=>o,"encoder",0,t],632802),e.s(["decode",()=>n,"encode",()=>i],663370)},865466,e=>{"use strict";class t extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,t){super(e,t),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class r extends t{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,t,r="unspecified",a="unspecified"){super(e,{cause:{claim:r,reason:a,payload:t}}),this.claim=r,this.reason=a,this.payload=t}}class a extends t{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,t,r="unspecified",a="unspecified"){super(e,{cause:{claim:r,reason:a,payload:t}}),this.claim=r,this.reason=a,this.payload=t}}class o extends t{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class n extends t{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class i extends t{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class s extends t{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class l extends t{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t)}}class d extends t{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",t){super(e,t)}}e.s(["JOSEAlgNotAllowed",()=>o,"JOSENotSupported",()=>n,"JWSInvalid",()=>i,"JWSSignatureVerificationFailed",()=>d,"JWTClaimValidationFailed",()=>r,"JWTExpired",()=>a,"JWTInvalid",()=>s])},177278,e=>{"use strict";function t(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function r(...e){let t,a=e.filter(Boolean);if(0===a.length||1===a.length)return!0;for(let e of a){let r=Object.keys(e);if(!t||0===t.size){t=new Set(r);continue}for(let e of r){if(t.has(e))return!1;t.add(e)}}return!0}e.s(["isDisjoint",()=>r,"isJWK",0,e=>t(e)&&"string"==typeof e.kty,"isObject",()=>t,"isPrivateJWK",0,e=>"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d),"isPublicJWK",0,e=>"oct"!==e.kty&&void 0===e.d&&void 0===e.priv,"isSecretJWK",0,e=>"oct"===e.kty&&"string"==typeof e.k])},709939,e=>{"use strict";var t=e.i(663370),r=e.i(293233),a=e.i(865466),o=e.i(632802),n=e.i(913658),i=e.i(177278),s=e.i(48215),l=e.i(252665),d=e.i(18083);async function c(e,c,p){if(!(0,i.isObject)(e))throw new a.JWSInvalid("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new a.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new a.JWSInvalid("JWS Protected Header incorrect type");if(void 0===e.payload)throw new a.JWSInvalid("JWS Payload missing");if("string"!=typeof e.signature)throw new a.JWSInvalid("JWS Signature missing or incorrect type");if(void 0!==e.header&&!(0,i.isObject)(e.header))throw new a.JWSInvalid("JWS Unprotected Header incorrect type");let u={};if(e.protected)try{let r=(0,t.decode)(e.protected);u=JSON.parse(o.decoder.decode(r))}catch{throw new a.JWSInvalid("JWS Protected Header is invalid")}if(!(0,i.isDisjoint)(u,e.header))throw new a.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let h={...u,...e.header},y=(0,l.validateCrit)(a.JWSInvalid,new Map([["b64",!0]]),p?.crit,u,h),f=!0;if(y.has("b64")&&"boolean"!=typeof(f=u.b64))throw new a.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:m}=h;if("string"!=typeof m||!m)throw new a.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');let v=p&&function(e,t){if(void 0!==t&&(!Array.isArray(t)||t.some(e=>"string"!=typeof e)))throw TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)}("algorithms",p.algorithms);if(v&&!v.has(m))throw new a.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter value not allowed');if(f){if("string"!=typeof e.payload)throw new a.JWSInvalid("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new a.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let g=!1;"function"==typeof c&&(c=await c(u,e),g=!0),(0,s.checkKeyType)(m,c,"verify");let R=(0,o.concat)(void 0!==e.protected?(0,o.encode)(e.protected):new Uint8Array,(0,o.encode)("."),"string"==typeof e.payload?f?(0,o.encode)(e.payload):o.encoder.encode(e.payload):e.payload),w=(0,n.decodeBase64url)(e.signature,"signature",a.JWSInvalid),_=await (0,d.normalizeKey)(c,m);if(!await (0,r.verify)(m,_,w,R))throw new a.JWSSignatureVerificationFailed;let A={payload:f?(0,n.decodeBase64url)(e.payload,"payload",a.JWSInvalid):"string"==typeof e.payload?o.encoder.encode(e.payload):e.payload};return(void 0!==e.protected&&(A.protectedHeader=u),void 0!==e.header&&(A.unprotectedHeader=e.header),g)?{...A,key:_}:A}async function p(e,t,r){if(e instanceof Uint8Array&&(e=o.decoder.decode(e)),"string"!=typeof e)throw new a.JWSInvalid("Compact JWS must be a string or Uint8Array");let{0:n,1:i,2:s,length:l}=e.split(".");if(3!==l)throw new a.JWSInvalid("Invalid Compact JWS");let d=await c({payload:i,protected:n,signature:s},t,r),p={payload:d.payload,protectedHeader:d.protectedHeader};return"function"==typeof t?{...p,key:d.key}:p}var u=e.i(224472);async function h(e,t,r){let o=await p(e,t,r);if(o.protectedHeader.crit?.includes("b64")&&!1===o.protectedHeader.b64)throw new a.JWTInvalid("JWTs MUST NOT use unencoded payload");let n={payload:(0,u.validateClaimsSet)(o.protectedHeader,o.payload,r),protectedHeader:o.protectedHeader};return"function"==typeof t?{...n,key:o.key}:n}e.s(["jwtVerify",()=>h],709939)},235328,e=>{"use strict";var t=e.i(709939),r=e.i(493458);e.i(245272);var a=e.i(548941);async function o(a){let o=a.headers.get("authorization");if(o?.startsWith("Bearer ")){let t=o.slice(7);try{let{validateApiKey:r}=await e.A(734680);if(await r(t))return!0}catch{}}if(process.env.JWT_SECRET)try{let e=await (0,r.cookies)(),a=e.get("auth_token")?.value;if(a){let e=new TextEncoder().encode(process.env.JWT_SECRET);return await (0,t.jwtVerify)(a,e),!0}}catch{}return!1}async function n(){try{let e=await (0,a.getSettings)();if(!1===e.requireLogin||!e.password&&!process.env.INITIAL_PASSWORD)return!1;return!0}catch{return!0}}e.s(["isAuthRequired",()=>n,"isAuthenticated",()=>o])},877613,e=>e.a(async(t,r)=>{try{e.i(245272);var a=e.i(542949),o=e.i(235328),n=e.i(676088),i=e.i(200392),s=t([n,i]);async function l(e){try{if(!await (0,o.isAuthenticated)(e))return Response.json({error:{message:"Authentication required",type:"invalid_api_key"}},{status:401});let{searchParams:t}=new URL(e.url),r=t.get("provider"),n=r?await (0,a.getCustomModels)(r):await (0,a.getAllCustomModels)(),i=r?(0,a.getModelCompatOverrides)(r):[];return Response.json({models:n,modelCompatOverrides:i})}catch(e){return Response.json({error:{message:e.message,type:"server_error"}},{status:500})}}async function d(e){let t;try{t=await e.json()}catch{return Response.json({error:{message:"Invalid JSON body",type:"validation_error"}},{status:400})}try{if(!await (0,o.isAuthenticated)(e))return Response.json({error:{message:"Authentication required",type:"invalid_api_key"}},{status:401});let r=(0,i.validateBody)(n.providerModelMutationSchema,t);if((0,i.isValidationFailure)(r))return Response.json({error:r.error},{status:400});let{provider:s,modelId:l,modelName:d,source:c,apiFormat:p,supportedEndpoints:u}=r.data,h=await (0,a.addCustomModel)(s,l,d,c||"manual",p,u);return Response.json({model:h})}catch(e){return console.error("Error adding provider model:",e),Response.json({error:{message:"Failed to add provider model",type:"server_error"}},{status:500})}}async function c(e){let t;try{t=await e.json()}catch{return Response.json({error:{message:"Invalid JSON body",type:"validation_error"}},{status:400})}try{if(!await (0,o.isAuthenticated)(e))return Response.json({error:{message:"Authentication required",type:"invalid_api_key"}},{status:401});let r=(0,i.validateBody)(n.providerModelMutationSchema,t);if((0,i.isValidationFailure)(r))return Response.json({error:r.error},{status:400});let{provider:s,modelId:l,modelName:d,apiFormat:c,supportedEndpoints:p,normalizeToolCallId:u,preserveOpenAIDeveloperRole:h}=r.data,y=t,f={};"modelName"in y&&(f.modelName=d),"apiFormat"in y&&(f.apiFormat=c),"supportedEndpoints"in y&&(f.supportedEndpoints=p),"normalizeToolCallId"in y&&(f.normalizeToolCallId=u),"preserveOpenAIDeveloperRole"in y&&(f.preserveOpenAIDeveloperRole=h);let m=await (0,a.updateCustomModel)(s,l,f);if(!m){let e=Object.keys(y);if(e.length>0&&e.every(e=>["provider","modelId","normalizeToolCallId","preserveOpenAIDeveloperRole"].includes(e))&&("normalizeToolCallId"in y||"preserveOpenAIDeveloperRole"in y)){let e={};return"normalizeToolCallId"in y&&"boolean"==typeof u&&(e.normalizeToolCallId=u),"preserveOpenAIDeveloperRole"in y&&"boolean"==typeof h&&(e.preserveOpenAIDeveloperRole=h),(0,a.mergeModelCompatOverride)(s,l,e),Response.json({ok:!0,modelCompatOverrides:(0,a.getModelCompatOverrides)(s)})}return Response.json({error:{message:"Model not found",type:"not_found"}},{status:404})}return Response.json({model:m})}catch(e){return console.error("Error updating provider model:",e),Response.json({error:{message:"Failed to update provider model",type:"server_error"}},{status:500})}}async function p(e){try{if(!await (0,o.isAuthenticated)(e))return Response.json({error:{message:"Authentication required",type:"invalid_api_key"}},{status:401});let{searchParams:t}=new URL(e.url),r=t.get("provider"),n=t.get("model");if(!r||!n)return Response.json({error:{message:"provider and model query params are required",type:"validation_error"}},{status:400});let i=await (0,a.removeCustomModel)(r,n);return Response.json({removed:i})}catch(e){return console.error("Error removing provider model:",e),Response.json({error:{message:"Failed to remove provider model",type:"server_error"}},{status:500})}}[n,i]=s.then?(await s)():s,e.s(["DELETE",()=>p,"GET",()=>l,"POST",()=>d,"PUT",()=>c]),r()}catch(e){r(e)}},!1),405402,e=>e.a(async(t,r)=>{try{var a=e.i(747909),o=e.i(174017),n=e.i(996250),i=e.i(759756),s=e.i(561916),l=e.i(174677),d=e.i(869741),c=e.i(316795),p=e.i(487718),u=e.i(995169),h=e.i(47587),y=e.i(666012),f=e.i(570101),m=e.i(626937),v=e.i(10372),g=e.i(193695);e.i(52474);var R=e.i(600220),w=e.i(877613),_=t([w]);[w]=_.then?(await _)():_;let E=new a.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/provider-models/route",pathname:"/api/provider-models",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/provider-models/route.ts",nextConfigOutput:"standalone",userland:w}),{workAsyncStorage:x,workUnitAsyncStorage:b,serverHooks:I}=E;function A(){return(0,n.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:b})}async function S(e,t,r){E.isDev&&(0,i.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let a="/api/provider-models/route";a=a.replace(/\/index$/,"")||"/";let n=await E.prepare(e,t,{srcPage:a,multiZoneDraftMode:!1});if(!n)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:w,params:_,nextConfig:A,parsedUrl:S,isDraftMode:x,prerenderManifest:b,routerServerContext:I,isOnDemandRevalidate:O,revalidateOnlyGenerated:C,resolvedPathname:T,clientReferenceManifest:j,serverActionsManifest:J}=n,P=(0,d.normalizeAppPath)(a),W=!!(b.dynamicRoutes[P]||b.routes[T]),k=async()=>((null==I?void 0:I.render404)?await I.render404(e,t,S,!1):t.end("This page could not be found"),null);if(W&&!x){let e=!!b.routes[T],t=b.dynamicRoutes[P];if(t&&!1===t.fallback&&!e){if(A.experimental.adapterPath)return await k();throw new g.NoFallbackError}}let N=null;!W||E.isDev||x||(N=T,N="/index"===N?"/":N);let D=!0===E.isDev||!W,U=W&&!D;J&&j&&(0,l.setManifestsSingleton)({page:a,clientReferenceManifest:j,serverActionsManifest:J});let M=e.method||"GET",H=(0,s.getTracer)(),L=H.getActiveScopeSpan(),q={params:_,prerenderManifest:b,renderOpts:{experimental:{authInterrupts:!!A.experimental.authInterrupts},cacheComponents:!!A.cacheComponents,supportsDynamicResponse:D,incrementalCache:(0,i.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:A.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,o)=>E.onRequestError(e,t,a,o,I)},sharedContext:{buildId:w}},F=new c.NodeNextRequest(e),$=new c.NodeNextResponse(t),B=p.NextRequestAdapter.fromNodeNextRequest(F,(0,p.signalFromNodeResponse)(t));try{let n=async e=>E.handle(B,q).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=H.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let o=r.get("next.route");if(o){let t=`${M} ${o}`;e.setAttributes({"next.route":o,"http.route":o,"next.span_name":t}),e.updateName(t)}else e.updateName(`${M} ${a}`)}),l=!!(0,i.getRequestMeta)(e,"minimalMode"),d=async i=>{var s,d;let c=async({previousCacheEntry:o})=>{try{if(!l&&O&&C&&!o)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let a=await n(i);e.fetchMetrics=q.renderOpts.fetchMetrics;let s=q.renderOpts.pendingWaitUntil;s&&r.waitUntil&&(r.waitUntil(s),s=void 0);let d=q.renderOpts.collectedTags;if(!W)return await (0,y.sendResponse)(F,$,a,q.renderOpts.pendingWaitUntil),null;{let e=await a.blob(),t=(0,f.toNodeOutgoingHttpHeaders)(a.headers);d&&(t[v.NEXT_CACHE_TAGS_HEADER]=d),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==q.renderOpts.collectedRevalidate&&!(q.renderOpts.collectedRevalidate>=v.INFINITE_CACHE)&&q.renderOpts.collectedRevalidate,o=void 0===q.renderOpts.collectedExpire||q.renderOpts.collectedExpire>=v.INFINITE_CACHE?void 0:q.renderOpts.collectedExpire;return{value:{kind:R.CachedRouteKind.APP_ROUTE,status:a.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:o}}}}catch(t){throw(null==o?void 0:o.isStale)&&await E.onRequestError(e,t,{routerKind:"App Router",routePath:a,routeType:"route",revalidateReason:(0,h.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:O})},!1,I),t}},p=await E.handleResponse({req:e,nextConfig:A,cacheKey:N,routeKind:o.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:b,isRoutePPREnabled:!1,isOnDemandRevalidate:O,revalidateOnlyGenerated:C,responseGenerator:c,waitUntil:r.waitUntil,isMinimalMode:l});if(!W)return null;if((null==p||null==(s=p.value)?void 0:s.kind)!==R.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==p||null==(d=p.value)?void 0:d.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});l||t.setHeader("x-nextjs-cache",O?"REVALIDATED":p.isMiss?"MISS":p.isStale?"STALE":"HIT"),x&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,f.fromNodeOutgoingHttpHeaders)(p.value.headers);return l&&W||u.delete(v.NEXT_CACHE_TAGS_HEADER),!p.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,m.getCacheControlHeader)(p.cacheControl)),await (0,y.sendResponse)(F,$,new Response(p.value.body,{headers:u,status:p.value.status||200})),null};L?await d(L):await H.withPropagatedContext(e.headers,()=>H.trace(u.BaseServerSpan.handleRequest,{spanName:`${M} ${a}`,kind:s.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},d))}catch(t){if(t instanceof g.NoFallbackError||await E.onRequestError(e,t,{routerKind:"App Router",routePath:P,routeType:"route",revalidateReason:(0,h.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:O})},!1,I),W)throw t;return await (0,y.sendResponse)(F,$,new Response(null,{status:500})),null}}e.s(["handler",()=>S,"patchFetch",()=>A,"routeModule",()=>E,"serverHooks",()=>I,"workAsyncStorage",()=>x,"workUnitAsyncStorage",()=>b]),r()}catch(e){r(e)}},!1),606102,e=>{e.v(e=>Promise.resolve().then(()=>e(548941)))},789543,e=>{e.v(e=>Promise.resolve().then(()=>e(385498)))},579042,e=>{e.v(t=>Promise.all(["server/chunks/src_shared_utils_apiKey_ts_fa113e09._.js"].map(t=>e.l(t))).then(()=>t(65448)))},49794,e=>{e.v(t=>Promise.all(["server/chunks/src_shared_constants_pricing_ts_65de0558._.js"].map(t=>e.l(t))).then(()=>t(404503)))},386305,e=>{e.v(e=>Promise.resolve().then(()=>e(878947)))},734680,e=>{e.v(e=>Promise.resolve().then(()=>e(125852)))}];
2
2
 
3
3
  //# sourceMappingURL=%5Broot-of-the-server%5D__784fb7c5._.js.map