omniroute 3.1.4 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/.next/BUILD_ID +1 -1
- package/app/.next/build-manifest.json +2 -2
- package/app/.next/prerender-manifest.json +3 -3
- package/app/.next/server/app/(dashboard)/dashboard/a2a/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/agents/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/analytics/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/api-manager/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/audit-log/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/auto-combo/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/costs/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/health/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/limits/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/logs/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/mcp/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/media/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/onboarding/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/search-tools/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/settings/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/400/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/401/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/403/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/408/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/429/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/500/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/502/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/503/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/_global-error.html +2 -2
- package/app/.next/server/app/_global-error.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/docs/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/forbidden/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/forgot-password/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/maintenance/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/offline/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/privacy/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/status/page_client-reference-manifest.js +1 -1
- package/app/.next/server/app/terms/page_client-reference-manifest.js +1 -1
- package/app/.next/server/chunks/[root-of-the-server]__051203a6._.js +2 -2
- package/app/.next/server/chunks/[root-of-the-server]__0891af92._.js +1 -1
- package/app/.next/server/chunks/[root-of-the-server]__1f2b0d89._.js +1 -1
- package/app/.next/server/chunks/[root-of-the-server]__46e00e59._.js +1 -1
- package/app/.next/server/chunks/[root-of-the-server]__6e52619e._.js +1 -1
- package/app/.next/server/chunks/[root-of-the-server]__7ace0fcd._.js +1 -1
- package/app/.next/server/chunks/[root-of-the-server]__7fa4d14e._.js +1 -1
- package/app/.next/server/chunks/_05c48915._.js +1 -1
- package/app/.next/server/chunks/_06515a8a._.js +1 -1
- package/app/.next/server/chunks/_2115d8de._.js +1 -1
- package/app/.next/server/chunks/_3ac953eb._.js +1 -1
- package/app/.next/server/chunks/_4b8fd853._.js +1 -1
- package/app/.next/server/chunks/_68683848._.js +1 -1
- package/app/.next/server/chunks/_ee9b677b._.js +1 -1
- package/app/.next/server/chunks/src_4787afd3._.js +1 -1
- package/app/.next/server/chunks/ssr/[root-of-the-server]__9ef96d20._.js +1 -1
- package/app/.next/server/chunks/ssr/[root-of-the-server]__a6942102._.js +1 -1
- package/app/.next/server/chunks/ssr/src_i18n_messages_zh-CN_json_f4112d90._.js +1 -1
- package/app/.next/server/pages/500.html +2 -2
- package/app/.next/server/server-reference-manifest.js +1 -1
- package/app/.next/server/server-reference-manifest.json +1 -1
- package/app/.next/static/chunks/{d0df17b6e085c981.js → baf0a258e0ffe591.js} +1 -1
- package/app/CHANGELOG.md +12 -0
- package/app/docs/openapi.yaml +1 -1
- package/app/package-lock.json +2 -2
- package/app/package.json +1 -1
- package/app/src/i18n/messages/zh-CN.json +282 -245
- package/app/src/sse/services/auth.ts +23 -0
- package/package.json +1 -1
- /package/app/.next/static/{lZXIH53lig53hzn5tDll0 → xr28pZiWERP5X_Cmq10cV}/_buildManifest.js +0 -0
- /package/app/.next/static/{lZXIH53lig53hzn5tDll0 → xr28pZiWERP5X_Cmq10cV}/_clientMiddlewareManifest.json +0 -0
- /package/app/.next/static/{lZXIH53lig53hzn5tDll0 → xr28pZiWERP5X_Cmq10cV}/_ssgManifest.js +0 -0
|
@@ -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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/src/shared/components/ThemeProvider.tsx":{"id":450222,"name":"*","chunks":["/_next/static/chunks/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/src/app/error.tsx <module evaluation>":{"id":758298,"name":"*","chunks":["/_next/static/chunks/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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/d0df17b6e085c981.js","/_next/static/chunks/d1f1359e38f6b40a.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]__9ef96d20._.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]__9ef96d20._.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]__9ef96d20._.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]__9ef96d20._.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]__9ef96d20._.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]__9ef96d20._.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/ada024b3c018a49d.css","inlined":false}],"[project]/src/app/error":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/ada024b3c018a49d.css","inlined":false}],"[project]/src/app/loading":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/ada024b3c018a49d.css","inlined":false}],"[project]/src/app/not-found":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/ada024b3c018a49d.css","inlined":false}],"[project]/src/app/terms/page":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/ada024b3c018a49d.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/global-error":["static/chunks/d245df73b72378fb.js","static/chunks/16ea27c3b926bc31.js"],"[project]/src/app/layout":["static/chunks/d0df17b6e085c981.js","static/chunks/d1f1359e38f6b40a.js","static/chunks/3073ed4e47d4d993.js"],"[project]/src/app/error":["static/chunks/d0df17b6e085c981.js","static/chunks/d1f1359e38f6b40a.js","static/chunks/3073ed4e47d4d993.js","static/chunks/beeffe5f5394be33.js"],"[project]/src/app/loading":["static/chunks/d0df17b6e085c981.js","static/chunks/d1f1359e38f6b40a.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f79cbcb7ca904f94.js"],"[project]/src/app/not-found":["static/chunks/d0df17b6e085c981.js","static/chunks/d1f1359e38f6b40a.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f51538785d2d89a5.js"],"[project]/src/app/terms/page":["static/chunks/d0df17b6e085c981.js","static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":true},"[project]/src/shared/components/ThemeProvider.tsx":{"id":450222,"name":"*","chunks":["/_next/static/chunks/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.js","/_next/static/chunks/3073ed4e47d4d993.js"],"async":false},"[project]/src/app/error.tsx <module evaluation>":{"id":758298,"name":"*","chunks":["/_next/static/chunks/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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/baf0a258e0ffe591.js","/_next/static/chunks/d1f1359e38f6b40a.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]__9ef96d20._.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]__9ef96d20._.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]__9ef96d20._.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]__9ef96d20._.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]__9ef96d20._.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]__9ef96d20._.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/ada024b3c018a49d.css","inlined":false}],"[project]/src/app/error":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/ada024b3c018a49d.css","inlined":false}],"[project]/src/app/loading":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/ada024b3c018a49d.css","inlined":false}],"[project]/src/app/not-found":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/ada024b3c018a49d.css","inlined":false}],"[project]/src/app/terms/page":[{"path":"static/chunks/665dc3aa4aa2d85c.css","inlined":false},{"path":"static/chunks/ada024b3c018a49d.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/global-error":["static/chunks/d245df73b72378fb.js","static/chunks/16ea27c3b926bc31.js"],"[project]/src/app/layout":["static/chunks/baf0a258e0ffe591.js","static/chunks/d1f1359e38f6b40a.js","static/chunks/3073ed4e47d4d993.js"],"[project]/src/app/error":["static/chunks/baf0a258e0ffe591.js","static/chunks/d1f1359e38f6b40a.js","static/chunks/3073ed4e47d4d993.js","static/chunks/beeffe5f5394be33.js"],"[project]/src/app/loading":["static/chunks/baf0a258e0ffe591.js","static/chunks/d1f1359e38f6b40a.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f79cbcb7ca904f94.js"],"[project]/src/app/not-found":["static/chunks/baf0a258e0ffe591.js","static/chunks/d1f1359e38f6b40a.js","static/chunks/3073ed4e47d4d993.js","static/chunks/f51538785d2d89a5.js"],"[project]/src/app/terms/page":["static/chunks/baf0a258e0ffe591.js","static/chunks/d1f1359e38f6b40a.js","static/chunks/3073ed4e47d4d993.js","static/chunks/a53ec3f73e2e9d76.js"]}}
|
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
2
|
-
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ensureServerEntryExports",{enumerable:!0,get:function(){return
|
|
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 s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o={},l={RequestCookies:()=>m,ResponseCookies:()=>g,parseCookie:()=>d,parseSetCookie:()=>p,stringifyCookie:()=>c};for(var u in l)s(o,u,{get:l[u],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),s=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?s:`${s}; ${r.join("; ")}`}function d(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,a]=[r.slice(0,e),r.slice(e+1)];try{t.set(s,decodeURIComponent(null!=a?a:"true"))}catch{}}return t}function p(e){if(!e)return;let[[t,r],...s]=d(e),{domain:a,expires:n,httponly:i,maxage:o,path:l,samesite:u,secure:c,partitioned:p,priority:m}=Object.fromEntries(s.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,v,y={name:t,value:decodeURIComponent(r),domain:a,...n&&{expires:new Date(n)},...i&&{httpOnly:!0},..."string"==typeof o&&{maxAge:Number(o)},path:l,...u&&{sameSite:h.includes(g=(g=u).toLowerCase())?g:void 0},...c&&{secure:!0},...m&&{priority:f.includes(v=(v=m).toLowerCase())?v:void 0},...p&&{partitioned:!0}};let e={};for(let t in y)y[t]&&(e[t]=y[t]);return e}}t.exports=((e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of n(t))i.call(e,r)||void 0===r||s(e,r,{get:()=>t[r],enumerable:!(o=a(t,r))||o.enumerable});return e})(s({},"__esModule",{value:!0}),o);var h=["strict","lax","none"],f=["low","medium","high"],m=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of d(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])=>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("; ")}},g=class{constructor(e){var t,r,s;this._parsed=new Map,this._headers=e;const a=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(a)?a:function(e){if(!e)return[];var t,r,s,a,n,i=[],o=0;function l(){for(;o<e.length&&/\s/.test(e.charAt(o));)o+=1;return o<e.length}for(;o<e.length;){for(t=o,n=!1;l();)if(","===(r=e.charAt(o))){for(s=o,o+=1,l(),a=o;o<e.length&&"="!==(r=e.charAt(o))&&";"!==r&&","!==r;)o+=1;o<e.length&&"="===e.charAt(o)?(n=!0,o=a,i.push(e.substring(t,s)),t=o):o=s+1}else o+=1;(!n||o>=e.length)&&i.push(e.substring(t,e.length))}return i}(a)){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 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,a=this._parsed;return a.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=c(r);t.append("set-cookie",e)}}(a,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 s=e.i(677850),a=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 i(e){return!1===e.success}[s]=a.then?(await a)():a,s.z.object({password:s.z.string().min(1,"Password is required").max(200)}),e.s(["isValidationFailure",()=>i,"validateBody",()=>n]),r()}catch(e){r(e)}},!1),180725,e=>{"use strict";e.i(245272),e.s([])},997953,(e,t,r)=>{"use strict";t.exports=e.r(442315).vendored["react-rsc"].ReactServerDOMTurbopackServer},745015,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"registerServerReference",{enumerable:!0,get:function(){return s.registerServerReference}});let s=e.r(997953)},195975,(e,t,r)=>{"use strict";function s(e){for(let t=0;t<e.length;t++){let r=e[t];if("function"!=typeof r)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof r}.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ensureServerEntryExports",{enumerable:!0,get:function(){return s}})},428660,e=>e.a(async(t,r)=>{try{var s=e.i(745015),a=e.i(89171);e.i(180725);var n=e.i(186920),i=e.i(676088),o=e.i(200392),l=e.i(195975),u=t([i,o]);async function c(e){try{let{searchParams:t}=new URL(e.url),r=t.get("tool"),s=await (0,n.getMitmAlias)(r||void 0);return a.NextResponse.json({aliases:s})}catch(e){return console.log("Error fetching MITM aliases:",e.message),a.NextResponse.json({error:"Failed to fetch aliases"},{status:500})}}async function d(e){let t;try{t=await e.json()}catch{return a.NextResponse.json({error:{message:"Invalid request",details:[{field:"body",message:"Invalid JSON body"}]}},{status:400})}try{let e=(0,o.validateBody)(i.cliMitmAliasUpdateSchema,t);if((0,o.isValidationFailure)(e))return a.NextResponse.json({error:e.error},{status:400});let{tool:r,mappings:s}=e.data,l={};for(let[e,t]of Object.entries(s))t&&t.trim()&&(l[e]=t.trim());return await (0,n.setMitmAliasAll)(r,l),a.NextResponse.json({success:!0,aliases:l})}catch(e){return console.log("Error saving MITM aliases:",e.message),a.NextResponse.json({error:"Failed to save aliases"},{status:500})}}[i,o]=u.then?(await u)():u,(0,l.ensureServerEntryExports)([c,d]),(0,s.registerServerReference)(c,"40d649e166ee8be96d54e15a51b0dc953f9d0d4b40",null),(0,s.registerServerReference)(d,"40bf83865c38e388f48db83ab5c381cee816915dfa",null),e.s(["GET",()=>c,"PUT",()=>d]),r()}catch(e){r(e)}},!1),681974,e=>e.a(async(t,r)=>{try{var s=e.i(747909),a=e.i(174017),n=e.i(996250),i=e.i(759756),o=e.i(561916),l=e.i(174677),u=e.i(869741),c=e.i(316795),d=e.i(487718),p=e.i(995169),h=e.i(47587),f=e.i(666012),m=e.i(570101),g=e.i(626937),v=e.i(10372),y=e.i(193695);e.i(52474);var x=e.i(600220),R=e.i(428660),b=t([R]);[R]=b.then?(await b)():b;let A=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/cli-tools/antigravity-mitm/alias/route",pathname:"/api/cli-tools/antigravity-mitm/alias",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/cli-tools/antigravity-mitm/alias/route.ts",nextConfigOutput:"standalone",userland:R}),{workAsyncStorage:E,workUnitAsyncStorage:C,serverHooks:j}=A;function w(){return(0,n.patchFetch)({workAsyncStorage:E,workUnitAsyncStorage:C})}async function _(e,t,r){A.isDev&&(0,i.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let s="/api/cli-tools/antigravity-mitm/alias/route";s=s.replace(/\/index$/,"")||"/";let n=await A.prepare(e,t,{srcPage:s,multiZoneDraftMode:!1});if(!n)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:R,params:b,nextConfig:w,parsedUrl:_,isDraftMode:E,prerenderManifest:C,routerServerContext:j,isOnDemandRevalidate:O,revalidateOnlyGenerated:S,resolvedPathname:P,clientReferenceManifest:k,serverActionsManifest:N}=n,T=(0,u.normalizeAppPath)(s),M=!!(C.dynamicRoutes[T]||C.routes[P]),q=async()=>((null==j?void 0:j.render404)?await j.render404(e,t,_,!1):t.end("This page could not be found"),null);if(M&&!E){let e=!!C.routes[P],t=C.dynamicRoutes[T];if(t&&!1===t.fallback&&!e){if(w.experimental.adapterPath)return await q();throw new y.NoFallbackError}}let I=null;!M||A.isDev||E||(I=P,I="/index"===I?"/":I);let U=!0===A.isDev||!M,$=M&&!U;N&&k&&(0,l.setManifestsSingleton)({page:s,clientReferenceManifest:k,serverActionsManifest:N});let D=e.method||"GET",H=(0,o.getTracer)(),F=H.getActiveScopeSpan(),K={params:b,prerenderManifest:C,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,i.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,s,a)=>A.onRequestError(e,t,s,a,j)},sharedContext:{buildId:R}},L=new c.NodeNextRequest(e),B=new c.NodeNextResponse(t),z=d.NextRequestAdapter.fromNodeNextRequest(L,(0,d.signalFromNodeResponse)(t));try{let n=async e=>A.handle(z,K).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")!==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 a=r.get("next.route");if(a){let t=`${D} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${D} ${s}`)}),l=!!(0,i.getRequestMeta)(e,"minimalMode"),u=async i=>{var o,u;let c=async({previousCacheEntry:a})=>{try{if(!l&&O&&S&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await n(i);e.fetchMetrics=K.renderOpts.fetchMetrics;let o=K.renderOpts.pendingWaitUntil;o&&r.waitUntil&&(r.waitUntil(o),o=void 0);let u=K.renderOpts.collectedTags;if(!M)return await (0,f.sendResponse)(L,B,s,K.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,m.toNodeOutgoingHttpHeaders)(s.headers);u&&(t[v.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==K.renderOpts.collectedRevalidate&&!(K.renderOpts.collectedRevalidate>=v.INFINITE_CACHE)&&K.renderOpts.collectedRevalidate,a=void 0===K.renderOpts.collectedExpire||K.renderOpts.collectedExpire>=v.INFINITE_CACHE?void 0:K.renderOpts.collectedExpire;return{value:{kind:x.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==a?void 0:a.isStale)&&await A.onRequestError(e,t,{routerKind:"App Router",routePath:s,routeType:"route",revalidateReason:(0,h.getRevalidateReason)({isStaticGeneration:$,isOnDemandRevalidate:O})},!1,j),t}},d=await A.handleResponse({req:e,nextConfig:w,cacheKey:I,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:O,revalidateOnlyGenerated:S,responseGenerator:c,waitUntil:r.waitUntil,isMinimalMode:l});if(!M)return null;if((null==d||null==(o=d.value)?void 0:o.kind)!==x.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(u=d.value)?void 0:u.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});l||t.setHeader("x-nextjs-cache",O?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let p=(0,m.fromNodeOutgoingHttpHeaders)(d.value.headers);return l&&M||p.delete(v.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||p.get("Cache-Control")||p.set("Cache-Control",(0,g.getCacheControlHeader)(d.cacheControl)),await (0,f.sendResponse)(L,B,new Response(d.value.body,{headers:p,status:d.value.status||200})),null};F?await u(F):await H.withPropagatedContext(e.headers,()=>H.trace(p.BaseServerSpan.handleRequest,{spanName:`${D} ${s}`,kind:o.SpanKind.SERVER,attributes:{"http.method":D,"http.target":e.url}},u))}catch(t){if(t instanceof y.NoFallbackError||await A.onRequestError(e,t,{routerKind:"App Router",routePath:T,routeType:"route",revalidateReason:(0,h.getRevalidateReason)({isStaticGeneration:$,isOnDemandRevalidate:O})},!1,j),M)throw t;return await (0,f.sendResponse)(L,B,new Response(null,{status:500})),null}}e.s(["handler",()=>_,"patchFetch",()=>w,"routeModule",()=>A,"serverHooks",()=>j,"workAsyncStorage",()=>E,"workUnitAsyncStorage",()=>C]),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)))}];
|
|
3
3
|
|
|
4
4
|
//# sourceMappingURL=%5Broot-of-the-server%5D__051203a6._.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 n=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={},c={RequestCookies:()=>y,ResponseCookies:()=>f,parseCookie:()=>p,parseSetCookie:()=>u,stringifyCookie:()=>d};for(var l in c)n(a,l,{get:c[l],enumerable:!0});function d(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),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${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[n,s]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=s?s:"true"))}catch{}}return t}function u(e){if(!e)return;let[[t,r],...n]=p(e),{domain:s,expires:o,httponly:i,maxage:a,path:c,samesite:l,secure:d,partitioned:u,priority:y}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var f,g,v={name:t,value:decodeURIComponent(r),domain:s,...o&&{expires:new Date(o)},...i&&{httpOnly:!0},..."string"==typeof a&&{maxAge:Number(a)},path:c,...l&&{sameSite:m.includes(f=(f=l).toLowerCase())?f:void 0},...d&&{secure:!0},...y&&{priority:h.includes(g=(g=y).toLowerCase())?g:void 0},...u&&{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 o(t))i.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(a=s(t,r))||a.enumerable});return e})(n({},"__esModule",{value:!0}),a);var m=["strict","lax","none"],h=["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 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 n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).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,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>d(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])=>d(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("; ")}},f=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;const s=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(const e of Array.isArray(s)?s:function(e){if(!e)return[];var t,r,n,s,o,i=[],a=0;function c(){for(;a<e.length&&/\s/.test(e.charAt(a));)a+=1;return a<e.length}for(;a<e.length;){for(t=a,o=!1;c();)if(","===(r=e.charAt(a))){for(n=a,a+=1,c(),s=a;a<e.length&&"="!==(r=e.charAt(a))&&";"!==r&&","!==r;)a+=1;a<e.length&&"="===e.charAt(a)?(o=!0,a=s,i.push(e.substring(t,n)),t=a):a=n+1}else a+=1;(!o||a>=e.length)&&i.push(e.substring(t,e.length))}return i}(s)){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 n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,s=this._parsed;return s.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,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=d(r);t.append("set-cookie",e)}}(s,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(d).join("; ")}}},804730,e=>{e.v({name:"omniroute",version:"3.1.4",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:"node scripts/build-next-isolated.mjs","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:{"@lobehub/icons":"^5.0.1","@modelcontextprotocol/sdk":"^1.27.1","@monaco-editor/react":"^4.7.0","@swc/helpers":"0.5.19",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",keytar:"^7.9.0",lowdb:"^7.0.1","monaco-editor":"^0.55.1",next:"^16.0.10","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"},devDependencies:{"@playwright/test":"^1.58.2","@tailwindcss/postcss":"^4.1.18","@types/bcryptjs":"^3.0.0","@types/better-sqlite3":"^7.6.13","@types/keytar":"^4.4.0","@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.0.10",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"]},overrides:{dompurify:"^3.3.2"}})},224361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},233405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},663370,632802,477468,e=>{"use strict";let t=new TextEncoder,r=new TextDecoder;function n(...e){let t=new Uint8Array(e.reduce((e,{length:t})=>e+t,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}function s(e){let t=new Uint8Array(e.length);for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>127)throw TypeError("non-ASCII string encountered in encode()");t[r]=n}return t}function o(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(""))}function i(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);let t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r}function a(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{return i(t)}catch{throw TypeError("The input to be decoded is not correctly encoded.")}}function c(e){let r=e;return("string"==typeof r&&(r=t.encode(r)),Uint8Array.prototype.toBase64)?r.toBase64({alphabet:"base64url",omitPadding:!0}):o(r).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}e.s(["concat",()=>n,"decoder",0,r,"encode",()=>s,"encoder",0,t],632802),e.s(["decodeBase64",()=>i,"encodeBase64",()=>o],477468),e.s(["decode",()=>a,"encode",()=>c],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",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.claim=r,this.reason=n,this.payload=t}}class n extends t{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.claim=r,this.reason=n,this.payload=t}}class s 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 a extends t{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class c 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",()=>s,"JOSENotSupported",()=>o,"JWSInvalid",()=>i,"JWSSignatureVerificationFailed",()=>l,"JWTClaimValidationFailed",()=>r,"JWTExpired",()=>n,"JWTInvalid",()=>a])},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,n=e.filter(Boolean);if(0===n.length||1===n.length)return!0;for(let e of n){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),n=e.i(865466),s=e.i(632802),o=e.i(913658),i=e.i(177278),a=e.i(48215),c=e.i(252665),l=e.i(18083);async function d(e,d,p){if(!(0,i.isObject)(e))throw new n.JWSInvalid("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new n.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new n.JWSInvalid("JWS Protected Header incorrect type");if(void 0===e.payload)throw new n.JWSInvalid("JWS Payload missing");if("string"!=typeof e.signature)throw new n.JWSInvalid("JWS Signature missing or incorrect type");if(void 0!==e.header&&!(0,i.isObject)(e.header))throw new n.JWSInvalid("JWS Unprotected Header incorrect type");let u={};if(e.protected)try{let r=(0,t.decode)(e.protected);u=JSON.parse(s.decoder.decode(r))}catch{throw new n.JWSInvalid("JWS Protected Header is invalid")}if(!(0,i.isDisjoint)(u,e.header))throw new n.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let m={...u,...e.header},h=(0,c.validateCrit)(n.JWSInvalid,new Map([["b64",!0]]),p?.crit,u,m),y=!0;if(h.has("b64")&&"boolean"!=typeof(y=u.b64))throw new n.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:f}=m;if("string"!=typeof f||!f)throw new n.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');let g=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(g&&!g.has(f))throw new n.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter value not allowed');if(y){if("string"!=typeof e.payload)throw new n.JWSInvalid("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new n.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let v=!1;"function"==typeof d&&(d=await d(u,e),v=!0),(0,a.checkKeyType)(f,d,"verify");let w=(0,s.concat)(void 0!==e.protected?(0,s.encode)(e.protected):new Uint8Array,(0,s.encode)("."),"string"==typeof e.payload?y?(0,s.encode)(e.payload):s.encoder.encode(e.payload):e.payload),x=(0,o.decodeBase64url)(e.signature,"signature",n.JWSInvalid),b=await (0,l.normalizeKey)(d,f);if(!await (0,r.verify)(f,b,x,w))throw new n.JWSSignatureVerificationFailed;let _={payload:y?(0,o.decodeBase64url)(e.payload,"payload",n.JWSInvalid):"string"==typeof e.payload?s.encoder.encode(e.payload):e.payload};return(void 0!==e.protected&&(_.protectedHeader=u),void 0!==e.header&&(_.unprotectedHeader=e.header),v)?{..._,key:b}:_}async function p(e,t,r){if(e instanceof Uint8Array&&(e=s.decoder.decode(e)),"string"!=typeof e)throw new n.JWSInvalid("Compact JWS must be a string or Uint8Array");let{0:o,1:i,2:a,length:c}=e.split(".");if(3!==c)throw new n.JWSInvalid("Invalid Compact JWS");let l=await d({payload:i,protected:o,signature:a},t,r),p={payload:l.payload,protectedHeader:l.protectedHeader};return"function"==typeof t?{...p,key:l.key}:p}var u=e.i(224472);async function m(e,t,r){let s=await p(e,t,r);if(s.protectedHeader.crit?.includes("b64")&&!1===s.protectedHeader.b64)throw new n.JWTInvalid("JWTs MUST NOT use unencoded payload");let o={payload:(0,u.validateClaimsSet)(s.protectedHeader,s.payload,r),protectedHeader:s.protectedHeader};return"function"==typeof t?{...o,key:s.key}:o}e.s(["jwtVerify",()=>m],709939)},235328,e=>{"use strict";var t=e.i(709939),r=e.i(493458);e.i(245272);var n=e.i(548941);async function s(n){let s=n.headers.get("authorization");if(s?.startsWith("Bearer ")){let t=s.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)(),n=e.get("auth_token")?.value;if(n){let e=new TextEncoder().encode(process.env.JWT_SECRET);return await (0,t.jwtVerify)(n,e),!0}}catch{}return!1}async function o(){try{let e=await (0,n.getSettings)();if(!1===e.requireLogin||!e.password&&!process.env.INITIAL_PASSWORD)return!1;return!0}catch{return!0}}e.s(["isAuthRequired",()=>o,"isAuthenticated",()=>s])},526346,e=>{"use strict";var t=e.i(747909),r=e.i(174017),n=e.i(996250),s=e.i(759756),o=e.i(561916),i=e.i(174677),a=e.i(869741),c=e.i(316795),l=e.i(487718),d=e.i(995169),p=e.i(47587),u=e.i(666012),m=e.i(570101),h=e.i(626937),y=e.i(10372),f=e.i(193695);e.i(52474);var g=e.i(600220),v=e.i(89171),w=e.i(233405),x=e.i(224361),b=e.i(235328);let _=(0,x.promisify)(w.execFile);async function R(){try{let{stdout:e}=await _("npm",["info","omniroute","version","--json"],{timeout:1e4}),t=JSON.parse(e.trim());return"string"==typeof t?t:null}catch{return null}}function S(){try{return e.r(804730).version}catch{return"unknown"}}function A(e,t){if(!e)return!1;let r=e=>e.split(".").map(Number),[n,s,o]=r(e),[i,a,c]=r(t);return n!==i?n>i:s!==a?s>a:o>c}async function E(e){if(!(0,b.isAuthenticated)(e))return v.NextResponse.json({error:"Unauthorized"},{status:401});let t=S(),r=await R(),n=A(r,t);return v.NextResponse.json({current:t,latest:r??"unavailable",updateAvailable:n,channel:"npm"})}async function j(e){if(!(0,b.isAuthenticated)(e))return v.NextResponse.json({error:"Unauthorized"},{status:401});let t=S(),r=await R();return r?A(r,t)?((async()=>{try{await _("npm",["install","-g",`omniroute@${r}`,"--ignore-scripts"],{timeout:3e5}),await _("pm2",["restart","omniroute"]).catch(()=>null),console.log(`[AutoUpdate] Successfully updated to v${r}`)}catch(e){console.error("[AutoUpdate] Update failed:",e)}})(),v.NextResponse.json({success:!0,message:`Update to v${r} started. Restarting in ~30 seconds.`,from:t,to:r})):v.NextResponse.json({success:!1,error:`Already on latest version (${t})`,current:t,latest:r}):v.NextResponse.json({success:!1,error:"Could not reach npm registry"},{status:503})}e.s(["GET",()=>E,"POST",()=>j,"dynamic",0,"force-dynamic"],550560);var k=e.i(550560);let I=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/system/version/route",pathname:"/api/system/version",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/system/version/route.ts",nextConfigOutput:"standalone",userland:k}),{workAsyncStorage:O,workUnitAsyncStorage:C,serverHooks:T}=I;function J(){return(0,n.patchFetch)({workAsyncStorage:O,workUnitAsyncStorage:C})}async function W(e,t,n){I.isDev&&(0,s.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let v="/api/system/version/route";v=v.replace(/\/index$/,"")||"/";let w=await I.prepare(e,t,{srcPage:v,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:x,params:b,nextConfig:_,parsedUrl:R,isDraftMode:S,prerenderManifest:A,routerServerContext:E,isOnDemandRevalidate:j,revalidateOnlyGenerated:k,resolvedPathname:O,clientReferenceManifest:C,serverActionsManifest:T}=w,J=(0,a.normalizeAppPath)(v),W=!!(A.dynamicRoutes[J]||A.routes[O]),P=async()=>((null==E?void 0:E.render404)?await E.render404(e,t,R,!1):t.end("This page could not be found"),null);if(W&&!S){let e=!!A.routes[O],t=A.dynamicRoutes[J];if(t&&!1===t.fallback&&!e){if(_.experimental.adapterPath)return await P();throw new f.NoFallbackError}}let N=null;!W||I.isDev||S||(N="/index"===(N=O)?"/":N);let U=!0===I.isDev||!W,D=W&&!U;T&&C&&(0,i.setManifestsSingleton)({page:v,clientReferenceManifest:C,serverActionsManifest:T});let H=e.method||"GET",L=(0,o.getTracer)(),q=L.getActiveScopeSpan(),$={params:b,prerenderManifest:A,renderOpts:{experimental:{authInterrupts:!!_.experimental.authInterrupts},cacheComponents:!!_.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,s.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:_.cacheLife,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,n,s)=>I.onRequestError(e,t,n,s,E)},sharedContext:{buildId:x}},M=new c.NodeNextRequest(e),B=new c.NodeNextResponse(t),F=l.NextRequestAdapter.fromNodeNextRequest(M,(0,l.signalFromNodeResponse)(t));try{let i=async e=>I.handle(F,$).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")!==d.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} ${v}`)}),a=!!(0,s.getRequestMeta)(e,"minimalMode"),c=async s=>{var o,c;let l=async({previousCacheEntry:r})=>{try{if(!a&&j&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await i(s);e.fetchMetrics=$.renderOpts.fetchMetrics;let c=$.renderOpts.pendingWaitUntil;c&&n.waitUntil&&(n.waitUntil(c),c=void 0);let l=$.renderOpts.collectedTags;if(!W)return await (0,u.sendResponse)(M,B,o,$.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,m.toNodeOutgoingHttpHeaders)(o.headers);l&&(t[y.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==$.renderOpts.collectedRevalidate&&!($.renderOpts.collectedRevalidate>=y.INFINITE_CACHE)&&$.renderOpts.collectedRevalidate,n=void 0===$.renderOpts.collectedExpire||$.renderOpts.collectedExpire>=y.INFINITE_CACHE?void 0:$.renderOpts.collectedExpire;return{value:{kind:g.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:n}}}}catch(t){throw(null==r?void 0:r.isStale)&&await I.onRequestError(e,t,{routerKind:"App Router",routePath:v,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:j})},!1,E),t}},d=await I.handleResponse({req:e,nextConfig:_,cacheKey:N,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:j,revalidateOnlyGenerated:k,responseGenerator:l,waitUntil:n.waitUntil,isMinimalMode:a});if(!W)return null;if((null==d||null==(o=d.value)?void 0:o.kind)!==g.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(c=d.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});a||t.setHeader("x-nextjs-cache",j?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),S&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,m.fromNodeOutgoingHttpHeaders)(d.value.headers);return a&&W||f.delete(y.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,h.getCacheControlHeader)(d.cacheControl)),await (0,u.sendResponse)(M,B,new Response(d.value.body,{headers:f,status:d.value.status||200})),null};q?await c(q):await L.withPropagatedContext(e.headers,()=>L.trace(d.BaseServerSpan.handleRequest,{spanName:`${H} ${v}`,kind:o.SpanKind.SERVER,attributes:{"http.method":H,"http.target":e.url}},c))}catch(t){if(t instanceof f.NoFallbackError||await I.onRequestError(e,t,{routerKind:"App Router",routePath:J,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:j})},!1,E),W)throw t;return await (0,u.sendResponse)(M,B,new Response(null,{status:500})),null}}e.s(["handler",()=>W,"patchFetch",()=>J,"routeModule",()=>I,"serverHooks",()=>T,"workAsyncStorage",()=>O,"workUnitAsyncStorage",()=>C],526346)},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 n=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={},c={RequestCookies:()=>y,ResponseCookies:()=>f,parseCookie:()=>p,parseSetCookie:()=>u,stringifyCookie:()=>d};for(var l in c)n(a,l,{get:c[l],enumerable:!0});function d(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),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${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[n,s]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=s?s:"true"))}catch{}}return t}function u(e){if(!e)return;let[[t,r],...n]=p(e),{domain:s,expires:o,httponly:i,maxage:a,path:c,samesite:l,secure:d,partitioned:u,priority:y}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var f,g,v={name:t,value:decodeURIComponent(r),domain:s,...o&&{expires:new Date(o)},...i&&{httpOnly:!0},..."string"==typeof a&&{maxAge:Number(a)},path:c,...l&&{sameSite:m.includes(f=(f=l).toLowerCase())?f:void 0},...d&&{secure:!0},...y&&{priority:h.includes(g=(g=y).toLowerCase())?g:void 0},...u&&{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 o(t))i.call(e,r)||void 0===r||n(e,r,{get:()=>t[r],enumerable:!(a=s(t,r))||a.enumerable});return e})(n({},"__esModule",{value:!0}),a);var m=["strict","lax","none"],h=["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 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 n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).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,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>d(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])=>d(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("; ")}},f=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;const s=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(const e of Array.isArray(s)?s:function(e){if(!e)return[];var t,r,n,s,o,i=[],a=0;function c(){for(;a<e.length&&/\s/.test(e.charAt(a));)a+=1;return a<e.length}for(;a<e.length;){for(t=a,o=!1;c();)if(","===(r=e.charAt(a))){for(n=a,a+=1,c(),s=a;a<e.length&&"="!==(r=e.charAt(a))&&";"!==r&&","!==r;)a+=1;a<e.length&&"="===e.charAt(a)?(o=!0,a=s,i.push(e.substring(t,n)),t=a):a=n+1}else a+=1;(!o||a>=e.length)&&i.push(e.substring(t,e.length))}return i}(s)){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 n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,s=this._parsed;return s.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,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=d(r);t.append("set-cookie",e)}}(s,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(d).join("; ")}}},804730,e=>{e.v({name:"omniroute",version:"3.1.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:"node scripts/build-next-isolated.mjs","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:{"@lobehub/icons":"^5.0.1","@modelcontextprotocol/sdk":"^1.27.1","@monaco-editor/react":"^4.7.0","@swc/helpers":"0.5.19",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",keytar:"^7.9.0",lowdb:"^7.0.1","monaco-editor":"^0.55.1",next:"^16.0.10","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"},devDependencies:{"@playwright/test":"^1.58.2","@tailwindcss/postcss":"^4.1.18","@types/bcryptjs":"^3.0.0","@types/better-sqlite3":"^7.6.13","@types/keytar":"^4.4.0","@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.0.10",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"]},overrides:{dompurify:"^3.3.2"}})},224361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},233405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},663370,632802,477468,e=>{"use strict";let t=new TextEncoder,r=new TextDecoder;function n(...e){let t=new Uint8Array(e.reduce((e,{length:t})=>e+t,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}function s(e){let t=new Uint8Array(e.length);for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>127)throw TypeError("non-ASCII string encountered in encode()");t[r]=n}return t}function o(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(""))}function i(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);let t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r}function a(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{return i(t)}catch{throw TypeError("The input to be decoded is not correctly encoded.")}}function c(e){let r=e;return("string"==typeof r&&(r=t.encode(r)),Uint8Array.prototype.toBase64)?r.toBase64({alphabet:"base64url",omitPadding:!0}):o(r).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}e.s(["concat",()=>n,"decoder",0,r,"encode",()=>s,"encoder",0,t],632802),e.s(["decodeBase64",()=>i,"encodeBase64",()=>o],477468),e.s(["decode",()=>a,"encode",()=>c],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",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.claim=r,this.reason=n,this.payload=t}}class n extends t{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.claim=r,this.reason=n,this.payload=t}}class s 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 a extends t{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class c 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",()=>s,"JOSENotSupported",()=>o,"JWSInvalid",()=>i,"JWSSignatureVerificationFailed",()=>l,"JWTClaimValidationFailed",()=>r,"JWTExpired",()=>n,"JWTInvalid",()=>a])},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,n=e.filter(Boolean);if(0===n.length||1===n.length)return!0;for(let e of n){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),n=e.i(865466),s=e.i(632802),o=e.i(913658),i=e.i(177278),a=e.i(48215),c=e.i(252665),l=e.i(18083);async function d(e,d,p){if(!(0,i.isObject)(e))throw new n.JWSInvalid("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new n.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new n.JWSInvalid("JWS Protected Header incorrect type");if(void 0===e.payload)throw new n.JWSInvalid("JWS Payload missing");if("string"!=typeof e.signature)throw new n.JWSInvalid("JWS Signature missing or incorrect type");if(void 0!==e.header&&!(0,i.isObject)(e.header))throw new n.JWSInvalid("JWS Unprotected Header incorrect type");let u={};if(e.protected)try{let r=(0,t.decode)(e.protected);u=JSON.parse(s.decoder.decode(r))}catch{throw new n.JWSInvalid("JWS Protected Header is invalid")}if(!(0,i.isDisjoint)(u,e.header))throw new n.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let m={...u,...e.header},h=(0,c.validateCrit)(n.JWSInvalid,new Map([["b64",!0]]),p?.crit,u,m),y=!0;if(h.has("b64")&&"boolean"!=typeof(y=u.b64))throw new n.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:f}=m;if("string"!=typeof f||!f)throw new n.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');let g=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(g&&!g.has(f))throw new n.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter value not allowed');if(y){if("string"!=typeof e.payload)throw new n.JWSInvalid("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new n.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let v=!1;"function"==typeof d&&(d=await d(u,e),v=!0),(0,a.checkKeyType)(f,d,"verify");let w=(0,s.concat)(void 0!==e.protected?(0,s.encode)(e.protected):new Uint8Array,(0,s.encode)("."),"string"==typeof e.payload?y?(0,s.encode)(e.payload):s.encoder.encode(e.payload):e.payload),x=(0,o.decodeBase64url)(e.signature,"signature",n.JWSInvalid),b=await (0,l.normalizeKey)(d,f);if(!await (0,r.verify)(f,b,x,w))throw new n.JWSSignatureVerificationFailed;let _={payload:y?(0,o.decodeBase64url)(e.payload,"payload",n.JWSInvalid):"string"==typeof e.payload?s.encoder.encode(e.payload):e.payload};return(void 0!==e.protected&&(_.protectedHeader=u),void 0!==e.header&&(_.unprotectedHeader=e.header),v)?{..._,key:b}:_}async function p(e,t,r){if(e instanceof Uint8Array&&(e=s.decoder.decode(e)),"string"!=typeof e)throw new n.JWSInvalid("Compact JWS must be a string or Uint8Array");let{0:o,1:i,2:a,length:c}=e.split(".");if(3!==c)throw new n.JWSInvalid("Invalid Compact JWS");let l=await d({payload:i,protected:o,signature:a},t,r),p={payload:l.payload,protectedHeader:l.protectedHeader};return"function"==typeof t?{...p,key:l.key}:p}var u=e.i(224472);async function m(e,t,r){let s=await p(e,t,r);if(s.protectedHeader.crit?.includes("b64")&&!1===s.protectedHeader.b64)throw new n.JWTInvalid("JWTs MUST NOT use unencoded payload");let o={payload:(0,u.validateClaimsSet)(s.protectedHeader,s.payload,r),protectedHeader:s.protectedHeader};return"function"==typeof t?{...o,key:s.key}:o}e.s(["jwtVerify",()=>m],709939)},235328,e=>{"use strict";var t=e.i(709939),r=e.i(493458);e.i(245272);var n=e.i(548941);async function s(n){let s=n.headers.get("authorization");if(s?.startsWith("Bearer ")){let t=s.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)(),n=e.get("auth_token")?.value;if(n){let e=new TextEncoder().encode(process.env.JWT_SECRET);return await (0,t.jwtVerify)(n,e),!0}}catch{}return!1}async function o(){try{let e=await (0,n.getSettings)();if(!1===e.requireLogin||!e.password&&!process.env.INITIAL_PASSWORD)return!1;return!0}catch{return!0}}e.s(["isAuthRequired",()=>o,"isAuthenticated",()=>s])},526346,e=>{"use strict";var t=e.i(747909),r=e.i(174017),n=e.i(996250),s=e.i(759756),o=e.i(561916),i=e.i(174677),a=e.i(869741),c=e.i(316795),l=e.i(487718),d=e.i(995169),p=e.i(47587),u=e.i(666012),m=e.i(570101),h=e.i(626937),y=e.i(10372),f=e.i(193695);e.i(52474);var g=e.i(600220),v=e.i(89171),w=e.i(233405),x=e.i(224361),b=e.i(235328);let _=(0,x.promisify)(w.execFile);async function R(){try{let{stdout:e}=await _("npm",["info","omniroute","version","--json"],{timeout:1e4}),t=JSON.parse(e.trim());return"string"==typeof t?t:null}catch{return null}}function S(){try{return e.r(804730).version}catch{return"unknown"}}function A(e,t){if(!e)return!1;let r=e=>e.split(".").map(Number),[n,s,o]=r(e),[i,a,c]=r(t);return n!==i?n>i:s!==a?s>a:o>c}async function E(e){if(!(0,b.isAuthenticated)(e))return v.NextResponse.json({error:"Unauthorized"},{status:401});let t=S(),r=await R(),n=A(r,t);return v.NextResponse.json({current:t,latest:r??"unavailable",updateAvailable:n,channel:"npm"})}async function j(e){if(!(0,b.isAuthenticated)(e))return v.NextResponse.json({error:"Unauthorized"},{status:401});let t=S(),r=await R();return r?A(r,t)?((async()=>{try{await _("npm",["install","-g",`omniroute@${r}`,"--ignore-scripts"],{timeout:3e5}),await _("pm2",["restart","omniroute"]).catch(()=>null),console.log(`[AutoUpdate] Successfully updated to v${r}`)}catch(e){console.error("[AutoUpdate] Update failed:",e)}})(),v.NextResponse.json({success:!0,message:`Update to v${r} started. Restarting in ~30 seconds.`,from:t,to:r})):v.NextResponse.json({success:!1,error:`Already on latest version (${t})`,current:t,latest:r}):v.NextResponse.json({success:!1,error:"Could not reach npm registry"},{status:503})}e.s(["GET",()=>E,"POST",()=>j,"dynamic",0,"force-dynamic"],550560);var k=e.i(550560);let I=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/system/version/route",pathname:"/api/system/version",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/system/version/route.ts",nextConfigOutput:"standalone",userland:k}),{workAsyncStorage:O,workUnitAsyncStorage:C,serverHooks:T}=I;function J(){return(0,n.patchFetch)({workAsyncStorage:O,workUnitAsyncStorage:C})}async function W(e,t,n){I.isDev&&(0,s.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let v="/api/system/version/route";v=v.replace(/\/index$/,"")||"/";let w=await I.prepare(e,t,{srcPage:v,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:x,params:b,nextConfig:_,parsedUrl:R,isDraftMode:S,prerenderManifest:A,routerServerContext:E,isOnDemandRevalidate:j,revalidateOnlyGenerated:k,resolvedPathname:O,clientReferenceManifest:C,serverActionsManifest:T}=w,J=(0,a.normalizeAppPath)(v),W=!!(A.dynamicRoutes[J]||A.routes[O]),P=async()=>((null==E?void 0:E.render404)?await E.render404(e,t,R,!1):t.end("This page could not be found"),null);if(W&&!S){let e=!!A.routes[O],t=A.dynamicRoutes[J];if(t&&!1===t.fallback&&!e){if(_.experimental.adapterPath)return await P();throw new f.NoFallbackError}}let N=null;!W||I.isDev||S||(N="/index"===(N=O)?"/":N);let U=!0===I.isDev||!W,D=W&&!U;T&&C&&(0,i.setManifestsSingleton)({page:v,clientReferenceManifest:C,serverActionsManifest:T});let H=e.method||"GET",L=(0,o.getTracer)(),q=L.getActiveScopeSpan(),$={params:b,prerenderManifest:A,renderOpts:{experimental:{authInterrupts:!!_.experimental.authInterrupts},cacheComponents:!!_.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,s.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:_.cacheLife,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,n,s)=>I.onRequestError(e,t,n,s,E)},sharedContext:{buildId:x}},M=new c.NodeNextRequest(e),B=new c.NodeNextResponse(t),F=l.NextRequestAdapter.fromNodeNextRequest(M,(0,l.signalFromNodeResponse)(t));try{let i=async e=>I.handle(F,$).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")!==d.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} ${v}`)}),a=!!(0,s.getRequestMeta)(e,"minimalMode"),c=async s=>{var o,c;let l=async({previousCacheEntry:r})=>{try{if(!a&&j&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await i(s);e.fetchMetrics=$.renderOpts.fetchMetrics;let c=$.renderOpts.pendingWaitUntil;c&&n.waitUntil&&(n.waitUntil(c),c=void 0);let l=$.renderOpts.collectedTags;if(!W)return await (0,u.sendResponse)(M,B,o,$.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,m.toNodeOutgoingHttpHeaders)(o.headers);l&&(t[y.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==$.renderOpts.collectedRevalidate&&!($.renderOpts.collectedRevalidate>=y.INFINITE_CACHE)&&$.renderOpts.collectedRevalidate,n=void 0===$.renderOpts.collectedExpire||$.renderOpts.collectedExpire>=y.INFINITE_CACHE?void 0:$.renderOpts.collectedExpire;return{value:{kind:g.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:n}}}}catch(t){throw(null==r?void 0:r.isStale)&&await I.onRequestError(e,t,{routerKind:"App Router",routePath:v,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:j})},!1,E),t}},d=await I.handleResponse({req:e,nextConfig:_,cacheKey:N,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:j,revalidateOnlyGenerated:k,responseGenerator:l,waitUntil:n.waitUntil,isMinimalMode:a});if(!W)return null;if((null==d||null==(o=d.value)?void 0:o.kind)!==g.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(c=d.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});a||t.setHeader("x-nextjs-cache",j?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),S&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,m.fromNodeOutgoingHttpHeaders)(d.value.headers);return a&&W||f.delete(y.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,h.getCacheControlHeader)(d.cacheControl)),await (0,u.sendResponse)(M,B,new Response(d.value.body,{headers:f,status:d.value.status||200})),null};q?await c(q):await L.withPropagatedContext(e.headers,()=>L.trace(d.BaseServerSpan.handleRequest,{spanName:`${H} ${v}`,kind:o.SpanKind.SERVER,attributes:{"http.method":H,"http.target":e.url}},c))}catch(t){if(t instanceof f.NoFallbackError||await I.onRequestError(e,t,{routerKind:"App Router",routePath:J,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:j})},!1,E),W)throw t;return await (0,u.sendResponse)(M,B,new Response(null,{status:500})),null}}e.s(["handler",()=>W,"patchFetch",()=>J,"routeModule",()=>I,"serverHooks",()=>T,"workAsyncStorage",()=>O,"workUnitAsyncStorage",()=>C],526346)},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__0891af92._.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,a=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s={},c={RequestCookies:()=>y,ResponseCookies:()=>g,parseCookie:()=>p,parseSetCookie:()=>u,stringifyCookie:()=>d};for(var l in c)o(s,l,{get:c[l],enumerable:!0});function d(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 p(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]=p(e),{domain:r,expires:a,httponly:n,maxage:s,path:c,samesite:l,secure:d,partitioned:u,priority:y}=Object.fromEntries(o.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,f,x={name:t,value:decodeURIComponent(i),domain:r,...a&&{expires:new Date(a)},...n&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:c,...l&&{sameSite:m.includes(g=(g=l).toLowerCase())?g:void 0},...d&&{secure:!0},...y&&{priority:h.includes(f=(f=y).toLowerCase())?f: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,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))n.call(e,i)||void 0===i||o(e,i,{get:()=>t[i],enumerable:!(s=r(t,i))||s.enumerable});return e})(o({},"__esModule",{value:!0}),s);var m=["strict","lax","none"],h=["low","medium","high"],y=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,i]of p(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])=>d(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])=>d(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,a,n=[],s=0;function c(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,a=!1;c();)if(","===(i=e.charAt(s))){for(o=s,s+=1,c(),r=s;s<e.length&&"="!==(i=e.charAt(s))&&";"!==i&&","!==i;)s+=1;s<e.length&&"="===e.charAt(s)?(a=!0,s=r,n.push(e.substring(t,o)),t=s):s=o+1}else s+=1;(!a||s>=e.length)&&n.push(e.substring(t,e.length))}return n}(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=d(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(d).join("; ")}}},677850,e=>e.a(async(t,i)=>{try{let t=await e.y("zod");e.n(t),i()}catch(e){i(e)}},!0),200392,e=>e.a(async(t,i)=>{try{var o=e.i(677850),r=t([o]);function a(e,t){let i=e.safeParse(t);if(i.success)return{success:!0,data:i.data};let o=Array.isArray(i.error?.issues)?i.error.issues:[];return{success:!1,error:{message:"Invalid request",details:o.map(e=>({field:e.path.join("."),message:e.message}))}}}function n(e){return!1===e.success}[o]=r.then?(await r)():r,o.z.object({password:o.z.string().min(1,"Password is required").max(200)}),e.s(["isValidationFailure",()=>n,"validateBody",()=>a]),i()}catch(e){i(e)}},!1),804730,e=>{e.v({name:"omniroute",version:"3.1.4",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:"node scripts/build-next-isolated.mjs","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:{"@lobehub/icons":"^5.0.1","@modelcontextprotocol/sdk":"^1.27.1","@monaco-editor/react":"^4.7.0","@swc/helpers":"0.5.19",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",keytar:"^7.9.0",lowdb:"^7.0.1","monaco-editor":"^0.55.1",next:"^16.0.10","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"},devDependencies:{"@playwright/test":"^1.58.2","@tailwindcss/postcss":"^4.1.18","@types/bcryptjs":"^3.0.0","@types/better-sqlite3":"^7.6.13","@types/keytar":"^4.4.0","@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.0.10",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"]},overrides:{dompurify:"^3.3.2"}})},180725,e=>{"use strict";e.i(245272),e.s([])},233405,(e,t,i)=>{t.exports=e.x("child_process",()=>require("child_process"))},250875,e=>{"use strict";var t=e.i(233405),i=e.i(522734);async function o(r=null){let a=r||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt";try{let o=function(){try{let e=process.env.SystemRoot||process.env.windir||"C:\\Windows",o=`${e}\\System32\\REG.exe`;if((0,i.existsSync)(o)){let e=(0,t.execFileSync)(o,["QUERY","HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography","/v","MachineGuid"],{encoding:"utf8",timeout:5e3}),i=e.split("REG_SZ")[1]?.replace(/\r+|\n+|\s+/gi,"")?.toLowerCase();if(i&&i.length>8)return i}}catch{}try{let e=(0,t.execSync)("ioreg -rd1 -c IOPlatformExpertDevice",{encoding:"utf8",timeout:5e3});if(e.includes("IOPlatformUUID")){let t=e.split("IOPlatformUUID")[1]?.split("\n")[0]?.replace(/=|\s+|"/gi,"")?.toLowerCase();if(t&&t.length>8)return t}}catch{}try{for(let e of["/etc/machine-id","/var/lib/dbus/machine-id"])if((0,i.existsSync)(e)){let t=(0,i.readFileSync)(e,"utf8").trim().toLowerCase();if(t.length>8)return t}}catch{}try{let e=(0,t.execSync)("hostname",{encoding:"utf8",timeout:5e3}).trim().toLowerCase();if(e)return e}catch{}try{return e.r(446786).hostname().toLowerCase()}catch{}return"unknown-machine"}();return(await e.A(485685)).createHash("sha256").update(o+a).digest("hex").substring(0,16)}catch(t){console.log("Error getting machine ID:",t);try{return(await e.A(485685)).randomUUID()}catch{return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}}}e.s(["getConsistentMachineId",()=>o])},639173,e=>{"use strict";e.i(245272);var t=e.i(385498),i=e.i(186920),o=e.i(151205),r=e.i(125852);let a=process.env.CLOUD_URL||process.env.NEXT_PUBLIC_CLOUD_URL,n=Number(process.env.CLOUD_SYNC_TIMEOUT_MS||12e3);function s(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function c(e){if("string"==typeof e||"number"==typeof e||e instanceof Date){let t=new Date(e).getTime();return Number.isFinite(t)?t:0}return 0}async function l(e,t={},i=n){let o=new AbortController,r=setTimeout(()=>o.abort(),i);try{return await fetch(e,{...t,signal:o.signal})}finally{clearTimeout(r)}}async function d(e,n=null){let s;if(!a)return{error:"NEXT_PUBLIC_CLOUD_URL is not configured"};let c=await (0,t.getProviderConnections)(),u=await (0,i.getModelAliases)(),m=await (0,o.getCombos)(),h=await (0,r.getApiKeys)();try{s=await l(`${a}/sync/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providers:c,modelAliases:u,combos:m,apiKeys:h})})}catch(e){return{error:e?.name==="AbortError"?"Cloud sync timeout":"Cloud sync request failed"}}if(!s.ok){let e=await s.text(),t=e.length>200?e.slice(0,200)+"…":e;return console.log(`Cloud sync failed (${s.status}):`,t),{error:"Cloud sync failed"}}let y=await s.json();y.data&&y.data.providers&&await p(y.data.providers);let g={success:!0,message:"Synced successfully",changes:y.changes};return n&&(g.createdKey=n),g}async function p(e){let i=s(e);for(let e of(await (0,t.getProviderConnections)())){var o;let r=s(e),a="string"==typeof(o=r.id)&&o.trim().length>0?o:null;if(!a)continue;let n=s(i[a]);if(0!==Object.keys(n).length){if(c(n.updatedAt)>c(r.updatedAt)){let e={accessToken:n.accessToken,refreshToken:n.refreshToken,expiresAt:n.expiresAt,expiresIn:n.expiresIn,providerSpecificData:n.providerSpecificData||r.providerSpecificData,testStatus:n.status||"active",lastError:n.lastError,lastErrorAt:n.lastErrorAt,errorCode:n.errorCode,rateLimitedUntil:n.rateLimitedUntil,updatedAt:n.updatedAt};await (0,t.updateProviderConnection)(a,e)}}}}e.s(["CLOUD_URL",()=>a,"fetchWithTimeout",()=>l,"syncToCloud",()=>d])},102835,e=>e.a(async(t,i)=>{try{var o=e.i(677850),r=t([o]);[o]=r.then?(await r)():r;let n=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()}),s=o.z.record(o.z.string(),n);function a(e,t){let i=s.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,a=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s={},c={RequestCookies:()=>y,ResponseCookies:()=>g,parseCookie:()=>p,parseSetCookie:()=>u,stringifyCookie:()=>d};for(var l in c)o(s,l,{get:c[l],enumerable:!0});function d(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 p(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]=p(e),{domain:r,expires:a,httponly:n,maxage:s,path:c,samesite:l,secure:d,partitioned:u,priority:y}=Object.fromEntries(o.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,f,x={name:t,value:decodeURIComponent(i),domain:r,...a&&{expires:new Date(a)},...n&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:c,...l&&{sameSite:m.includes(g=(g=l).toLowerCase())?g:void 0},...d&&{secure:!0},...y&&{priority:h.includes(f=(f=y).toLowerCase())?f: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,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of a(t))n.call(e,i)||void 0===i||o(e,i,{get:()=>t[i],enumerable:!(s=r(t,i))||s.enumerable});return e})(o({},"__esModule",{value:!0}),s);var m=["strict","lax","none"],h=["low","medium","high"],y=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,i]of p(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])=>d(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])=>d(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,a,n=[],s=0;function c(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,a=!1;c();)if(","===(i=e.charAt(s))){for(o=s,s+=1,c(),r=s;s<e.length&&"="!==(i=e.charAt(s))&&";"!==i&&","!==i;)s+=1;s<e.length&&"="===e.charAt(s)?(a=!0,s=r,n.push(e.substring(t,o)),t=s):s=o+1}else s+=1;(!a||s>=e.length)&&n.push(e.substring(t,e.length))}return n}(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=d(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(d).join("; ")}}},677850,e=>e.a(async(t,i)=>{try{let t=await e.y("zod");e.n(t),i()}catch(e){i(e)}},!0),200392,e=>e.a(async(t,i)=>{try{var o=e.i(677850),r=t([o]);function a(e,t){let i=e.safeParse(t);if(i.success)return{success:!0,data:i.data};let o=Array.isArray(i.error?.issues)?i.error.issues:[];return{success:!1,error:{message:"Invalid request",details:o.map(e=>({field:e.path.join("."),message:e.message}))}}}function n(e){return!1===e.success}[o]=r.then?(await r)():r,o.z.object({password:o.z.string().min(1,"Password is required").max(200)}),e.s(["isValidationFailure",()=>n,"validateBody",()=>a]),i()}catch(e){i(e)}},!1),804730,e=>{e.v({name:"omniroute",version:"3.1.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:"node scripts/build-next-isolated.mjs","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:{"@lobehub/icons":"^5.0.1","@modelcontextprotocol/sdk":"^1.27.1","@monaco-editor/react":"^4.7.0","@swc/helpers":"0.5.19",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",keytar:"^7.9.0",lowdb:"^7.0.1","monaco-editor":"^0.55.1",next:"^16.0.10","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"},devDependencies:{"@playwright/test":"^1.58.2","@tailwindcss/postcss":"^4.1.18","@types/bcryptjs":"^3.0.0","@types/better-sqlite3":"^7.6.13","@types/keytar":"^4.4.0","@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.0.10",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"]},overrides:{dompurify:"^3.3.2"}})},180725,e=>{"use strict";e.i(245272),e.s([])},233405,(e,t,i)=>{t.exports=e.x("child_process",()=>require("child_process"))},250875,e=>{"use strict";var t=e.i(233405),i=e.i(522734);async function o(r=null){let a=r||process.env.MACHINE_ID_SALT||"endpoint-proxy-salt";try{let o=function(){try{let e=process.env.SystemRoot||process.env.windir||"C:\\Windows",o=`${e}\\System32\\REG.exe`;if((0,i.existsSync)(o)){let e=(0,t.execFileSync)(o,["QUERY","HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography","/v","MachineGuid"],{encoding:"utf8",timeout:5e3}),i=e.split("REG_SZ")[1]?.replace(/\r+|\n+|\s+/gi,"")?.toLowerCase();if(i&&i.length>8)return i}}catch{}try{let e=(0,t.execSync)("ioreg -rd1 -c IOPlatformExpertDevice",{encoding:"utf8",timeout:5e3});if(e.includes("IOPlatformUUID")){let t=e.split("IOPlatformUUID")[1]?.split("\n")[0]?.replace(/=|\s+|"/gi,"")?.toLowerCase();if(t&&t.length>8)return t}}catch{}try{for(let e of["/etc/machine-id","/var/lib/dbus/machine-id"])if((0,i.existsSync)(e)){let t=(0,i.readFileSync)(e,"utf8").trim().toLowerCase();if(t.length>8)return t}}catch{}try{let e=(0,t.execSync)("hostname",{encoding:"utf8",timeout:5e3}).trim().toLowerCase();if(e)return e}catch{}try{return e.r(446786).hostname().toLowerCase()}catch{}return"unknown-machine"}();return(await e.A(485685)).createHash("sha256").update(o+a).digest("hex").substring(0,16)}catch(t){console.log("Error getting machine ID:",t);try{return(await e.A(485685)).randomUUID()}catch{return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}}}e.s(["getConsistentMachineId",()=>o])},639173,e=>{"use strict";e.i(245272);var t=e.i(385498),i=e.i(186920),o=e.i(151205),r=e.i(125852);let a=process.env.CLOUD_URL||process.env.NEXT_PUBLIC_CLOUD_URL,n=Number(process.env.CLOUD_SYNC_TIMEOUT_MS||12e3);function s(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function c(e){if("string"==typeof e||"number"==typeof e||e instanceof Date){let t=new Date(e).getTime();return Number.isFinite(t)?t:0}return 0}async function l(e,t={},i=n){let o=new AbortController,r=setTimeout(()=>o.abort(),i);try{return await fetch(e,{...t,signal:o.signal})}finally{clearTimeout(r)}}async function d(e,n=null){let s;if(!a)return{error:"NEXT_PUBLIC_CLOUD_URL is not configured"};let c=await (0,t.getProviderConnections)(),u=await (0,i.getModelAliases)(),m=await (0,o.getCombos)(),h=await (0,r.getApiKeys)();try{s=await l(`${a}/sync/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providers:c,modelAliases:u,combos:m,apiKeys:h})})}catch(e){return{error:e?.name==="AbortError"?"Cloud sync timeout":"Cloud sync request failed"}}if(!s.ok){let e=await s.text(),t=e.length>200?e.slice(0,200)+"…":e;return console.log(`Cloud sync failed (${s.status}):`,t),{error:"Cloud sync failed"}}let y=await s.json();y.data&&y.data.providers&&await p(y.data.providers);let g={success:!0,message:"Synced successfully",changes:y.changes};return n&&(g.createdKey=n),g}async function p(e){let i=s(e);for(let e of(await (0,t.getProviderConnections)())){var o;let r=s(e),a="string"==typeof(o=r.id)&&o.trim().length>0?o:null;if(!a)continue;let n=s(i[a]);if(0!==Object.keys(n).length){if(c(n.updatedAt)>c(r.updatedAt)){let e={accessToken:n.accessToken,refreshToken:n.refreshToken,expiresAt:n.expiresAt,expiresIn:n.expiresIn,providerSpecificData:n.providerSpecificData||r.providerSpecificData,testStatus:n.status||"active",lastError:n.lastError,lastErrorAt:n.lastErrorAt,errorCode:n.errorCode,rateLimitedUntil:n.rateLimitedUntil,updatedAt:n.updatedAt};await (0,t.updateProviderConnection)(a,e)}}}}e.s(["CLOUD_URL",()=>a,"fetchWithTimeout",()=>l,"syncToCloud",()=>d])},102835,e=>e.a(async(t,i)=>{try{var o=e.i(677850),r=t([o]);[o]=r.then?(await r)():r;let n=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()}),s=o.z.record(o.z.string(),n);function a(e,t){let i=s.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",()=>a]),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 s={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 (Google AI Studio)",icon:"diamond",color:"#4285F4",textIcon:"GE",website:"https://ai.google.dev",hasFree:!0,freeNote:"Free forever: 1,500 req/day for Gemini 2.5 Flash — no credit card, get key at aistudio.google.com"},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",hasFree:!0,freeNote:"$25 signup credits + 3 permanently free models: Llama 3.3 70B, Vision, DeepSeek-R1 distill"},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-...)"},"opencode-zen":{id:"opencode-zen",alias:"opencode-zen",name:"OpenCode Zen",icon:"opencode",color:"#6366f1",website:"https://opencode.ai/zen"},"opencode-go":{id:"opencode-go",alias:"opencode-go",name:"OpenCode Go",icon:"opencode",color:"#6366f1",website:"https://opencode.ai/zen/go"},alibaba:{id:"alibaba",alias:"ali",name:"Alibaba Cloud (DashScope)",icon:"cloud_queue",color:"#FF6600",textIcon:"AL",website:"https://dashscope-intl.aliyuncs.com",hasFree:!1},longcat:{id:"longcat",alias:"lc",name:"LongCat AI",icon:"auto_awesome",color:"#FF6B9D",textIcon:"LC",website:"https://longcat.chat",hasFree:!0,freeNote:"50M tokens/day (Flash-Lite) + 500K/day (Chat/Thinking) — 100% free while public beta"},pollinations:{id:"pollinations",alias:"pol",name:"Pollinations AI",icon:"local_florist",color:"#4CAF50",textIcon:"PO",website:"https://pollinations.ai",hasFree:!0,freeNote:"No API key needed — access GPT-5, Claude, Gemini, DeepSeek V3, Llama 4 free (1 req/15s)"},puter:{id:"puter",alias:"pu",name:"Puter AI",icon:"cloud_circle",color:"#6366F1",textIcon:"PU",website:"https://puter.com",hasFree:!0,freeNote:"500+ models (GPT-5, Claude Opus 4, Gemini 3 Pro, Grok 4, DeepSeek V3...) — Users pay via free Puter account",passthroughModels:!0,authHint:"Get token at puter.com/dashboard → Copy Auth Token"},"cloudflare-ai":{id:"cloudflare-ai",alias:"cf",name:"Cloudflare Workers AI",icon:"cloud",color:"#F48120",textIcon:"CF",website:"https://developers.cloudflare.com/workers-ai/",hasFree:!0,freeNote:"Free 10K Neurons/day: ~150 LLM responses or 500s Whisper audio — edge inference globally",authHint:"Requires API Token AND Account ID (found at dash.cloudflare.com)"},scaleway:{id:"scaleway",alias:"scw",name:"Scaleway AI",icon:"cloud",color:"#4F0599",textIcon:"SCW",website:"https://www.scaleway.com/en/ai/generative-apis/",hasFree:!0,freeNote:"1M free tokens for new accounts — EU/GDPR compliant (Paris), Qwen3 235B & Llama 70B"},aimlapi:{id:"aimlapi",alias:"aiml",name:"AI/ML API",icon:"hub",color:"#6366F1",textIcon:"AI",website:"https://aimlapi.com",hasFree:!0,freeNote:"$0.025/day free credits — 200+ models (GPT-4o, Claude, Gemini, Llama) via single endpoint",passthroughModels:!0}},d="openai-compatible-",p="anthropic-compatible-";function a(e){return"string"==typeof e&&e.startsWith(d)}function n(e){return"string"==typeof e&&e.startsWith(p)}let u={...s,...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)(s,"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,p,"APIKEY_PROVIDERS",0,l,"FREE_PROVIDERS",0,s,"OAUTH_PROVIDERS",0,c,"OPENAI_COMPATIBLE_PREFIX",0,d,"isAnthropicCompatibleProvider",()=>n,"isOpenAICompatibleProvider",()=>a]),i()}catch(e){i(e)}},!1),617325,e=>e.a(async(t,i)=>{try{var o=e.i(878947),r=e.i(963219),a=t([r]);[r]=a.then?(await a)():a,Object.entries(r.AI_PROVIDERS).filter(([,e])=>e.passthroughModels).map(([e])=>e);let n=Object.entries(o.PROVIDER_MODELS).flatMap(([e,t])=>t.map(t=>({provider:e,model:t.id,name:t.name})));e.s(["AI_MODELS",0,n]),i()}catch(e){i(e)}},!1),651948,e=>e.a(async(t,i)=>{try{var o=e.i(804730),r=e.i(963219),a=e.i(617325),n=t([r,a]);[r,a]=n.then?(await n)():n;let s={name:"OmniRoute",description:"AI Gateway for Multi-Provider LLMs",version:o.default.version};e.s(["APP_CONFIG",0,s]),i()}catch(e){i(e)}},!1),834202,e=>e.a(async(t,i)=>{try{var o=e.i(89171);e.i(180725);var r=e.i(385498),a=e.i(548941),n=e.i(651948),s=e.i(963219),c=e.i(250875),l=e.i(639173),d=e.i(676088),p=e.i(200392),u=t([n,s,d,p]);async function m(){try{let e=(await (0,r.getProviderConnections)()).map(e=>({...e,apiKey:void 0,accessToken:void 0,refreshToken:void 0,idToken:void 0}));return o.NextResponse.json({connections:e})}catch(e){return console.log("Error fetching providers:",e),o.NextResponse.json({error:"Failed to fetch providers"},{status:500})}}async function h(e){try{let t=await e.json(),i=(0,p.validateBody)(d.createProviderSchema,t);if((0,p.isValidationFailure)(i))return o.NextResponse.json({error:i.error},{status:400});let{provider:a,apiKey:n,name:c,priority:l,globalPriority:u,defaultModel:m,testStatus:h,providerSpecificData:g}=i.data;if(!(s.APIKEY_PROVIDERS[a]||(0,s.isOpenAICompatibleProvider)(a)||(0,s.isAnthropicCompatibleProvider)(a)))return o.NextResponse.json({error:"Invalid provider"},{status:400});let f=g||null,x="true"===process.env.ALLOW_MULTI_CONNECTIONS_PER_COMPAT_NODE;if((0,s.isOpenAICompatibleProvider)(a)){let e=await (0,r.getProviderNodeById)(a);if(!e)return o.NextResponse.json({error:"OpenAI Compatible node not found"},{status:404});let t=await (0,r.getProviderConnections)({provider:a});if(!x&&t.length>0)return o.NextResponse.json({error:"Only one connection is allowed for this OpenAI Compatible node"},{status:400});f={...f||{},prefix:e.prefix,apiType:e.apiType,baseUrl:e.baseUrl,nodeName:e.name,...e.chatPath?{chatPath:e.chatPath}:{},...e.modelsPath?{modelsPath:e.modelsPath}:{}}}else if((0,s.isAnthropicCompatibleProvider)(a)){let e=await (0,r.getProviderNodeById)(a);if(!e)return o.NextResponse.json({error:"Anthropic Compatible node not found"},{status:404});let t=await (0,r.getProviderConnections)({provider:a});if(!x&&t.length>0)return o.NextResponse.json({error:"Only one connection is allowed for this Anthropic Compatible node"},{status:400});f={...f||{},prefix:e.prefix,baseUrl:e.baseUrl,nodeName:e.name,...e.chatPath?{chatPath:e.chatPath}:{},...e.modelsPath?{modelsPath:e.modelsPath}:{}}}let b={...await (0,r.createProviderConnection)({provider:a,authType:"apikey",name:c,apiKey:n,priority:l||1,globalPriority:u||null,defaultModel:m||null,providerSpecificData:f,isActive:!0,testStatus:h||"unknown"})};return delete b.apiKey,await y(),o.NextResponse.json({connection:b},{status:201})}catch(e){return console.log("Error creating provider:",e),o.NextResponse.json({error:"Failed to create provider"},{status:500})}}async function y(){try{if(!await (0,a.isCloudEnabled)())return;let e=await (0,c.getConsistentMachineId)();await (0,l.syncToCloud)(e)}catch(e){console.log("Error syncing providers to cloud:",e)}}[n,s,d,p]=u.then?(await u)():u,e.s(["GET",()=>m,"POST",()=>h]),i()}catch(e){i(e)}},!1),367003,e=>e.a(async(t,i)=>{try{var o=e.i(747909),r=e.i(174017),a=e.i(996250),n=e.i(759756),s=e.i(561916),c=e.i(174677),l=e.i(869741),d=e.i(316795),p=e.i(487718),u=e.i(995169),m=e.i(47587),h=e.i(666012),y=e.i(570101),g=e.i(626937),f=e.i(10372),x=e.i(193695);e.i(52474);var b=e.i(600220),w=e.i(834202),v=t([w]);[w]=v.then?(await v)():v;let C=new o.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/providers/route",pathname:"/api/providers",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/providers/route.ts",nextConfigOutput:"standalone",userland:w}),{workAsyncStorage:P,workUnitAsyncStorage:k,serverHooks:_}=C;function A(){return(0,a.patchFetch)({workAsyncStorage:P,workUnitAsyncStorage:k})}async function I(e,t,i){C.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let o="/api/providers/route";o=o.replace(/\/index$/,"")||"/";let a=await C.prepare(e,t,{srcPage:o,multiZoneDraftMode:!1});if(!a)return t.statusCode=400,t.end("Bad Request"),null==i.waitUntil||i.waitUntil.call(i,Promise.resolve()),null;let{buildId:w,params:v,nextConfig:A,parsedUrl:I,isDraftMode:P,prerenderManifest:k,routerServerContext:_,isOnDemandRevalidate:R,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:O,serverActionsManifest:S}=a,D=(0,l.normalizeAppPath)(o),j=!!(k.dynamicRoutes[D]||k.routes[F]),N=async()=>((null==_?void 0:_.render404)?await _.render404(e,t,I,!1):t.end("This page could not be found"),null);if(j&&!P){let e=!!k.routes[F],t=k.dynamicRoutes[D];if(t&&!1===t.fallback&&!e){if(A.experimental.adapterPath)return await N();throw new x.NoFallbackError}}let T=null;!j||C.isDev||P||(T=F,T="/index"===T?"/":T);let M=!0===C.isDev||!j,L=j&&!M;S&&O&&(0,c.setManifestsSingleton)({page:o,clientReferenceManifest:O,serverActionsManifest:S});let U=e.method||"GET",B=(0,s.getTracer)(),q=B.getActiveScopeSpan(),H={params:v,prerenderManifest:k,renderOpts:{experimental:{authInterrupts:!!A.experimental.authInterrupts},cacheComponents:!!A.cacheComponents,supportsDynamicResponse:M,incrementalCache:(0,n.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:A.cacheLife,waitUntil:i.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,i,o,r)=>C.onRequestError(e,t,o,r,_)},sharedContext:{buildId:w}},G=new d.NodeNextRequest(e),z=new d.NodeNextResponse(t),K=p.NextRequestAdapter.fromNodeNextRequest(G,(0,p.signalFromNodeResponse)(t));try{let a=async e=>C.handle(K,H).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let i=B.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=`${U} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t)}else e.updateName(`${U} ${o}`)}),c=!!(0,n.getRequestMeta)(e,"minimalMode"),l=async n=>{var s,l;let d=async({previousCacheEntry:r})=>{try{if(!c&&R&&E&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await a(n);e.fetchMetrics=H.renderOpts.fetchMetrics;let s=H.renderOpts.pendingWaitUntil;s&&i.waitUntil&&(i.waitUntil(s),s=void 0);let l=H.renderOpts.collectedTags;if(!j)return await (0,h.sendResponse)(G,z,o,H.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,y.toNodeOutgoingHttpHeaders)(o.headers);l&&(t[f.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let i=void 0!==H.renderOpts.collectedRevalidate&&!(H.renderOpts.collectedRevalidate>=f.INFINITE_CACHE)&&H.renderOpts.collectedRevalidate,r=void 0===H.renderOpts.collectedExpire||H.renderOpts.collectedExpire>=f.INFINITE_CACHE?void 0:H.renderOpts.collectedExpire;return{value:{kind:b.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 C.onRequestError(e,t,{routerKind:"App Router",routePath:o,routeType:"route",revalidateReason:(0,m.getRevalidateReason)({isStaticGeneration:L,isOnDemandRevalidate:R})},!1,_),t}},p=await C.handleResponse({req:e,nextConfig:A,cacheKey:T,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:k,isRoutePPREnabled:!1,isOnDemandRevalidate:R,revalidateOnlyGenerated:E,responseGenerator:d,waitUntil:i.waitUntil,isMinimalMode:c});if(!j)return null;if((null==p||null==(s=p.value)?void 0:s.kind)!==b.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==p||null==(l=p.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});c||t.setHeader("x-nextjs-cache",R?"REVALIDATED":p.isMiss?"MISS":p.isStale?"STALE":"HIT"),P&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,y.fromNodeOutgoingHttpHeaders)(p.value.headers);return c&&j||u.delete(f.NEXT_CACHE_TAGS_HEADER),!p.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,g.getCacheControlHeader)(p.cacheControl)),await (0,h.sendResponse)(G,z,new Response(p.value.body,{headers:u,status:p.value.status||200})),null};q?await l(q):await B.withPropagatedContext(e.headers,()=>B.trace(u.BaseServerSpan.handleRequest,{spanName:`${U} ${o}`,kind:s.SpanKind.SERVER,attributes:{"http.method":U,"http.target":e.url}},l))}catch(t){if(t instanceof x.NoFallbackError||await C.onRequestError(e,t,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,m.getRevalidateReason)({isStaticGeneration:L,isOnDemandRevalidate:R})},!1,_),j)throw t;return await (0,h.sendResponse)(G,z,new Response(null,{status:500})),null}}e.s(["handler",()=>I,"patchFetch",()=>A,"routeModule",()=>C,"serverHooks",()=>_,"workAsyncStorage",()=>P,"workUnitAsyncStorage",()=>k]),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)))},485685,e=>{e.v(e=>Promise.resolve().then(()=>e(254799)))}];
|
|
3
3
|
|
|
4
4
|
//# sourceMappingURL=%5Broot-of-the-server%5D__1f2b0d89._.js.map
|