chorus-codes 0.7.0
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/.next/BUILD_ID +1 -0
- package/.next/app-path-routes-manifest.json +18 -0
- package/.next/build/chunks/[root-of-the-server]__0d-m0h0._.js +206 -0
- package/.next/build/chunks/[root-of-the-server]__0d-m0h0._.js.map +8 -0
- package/.next/build/chunks/[root-of-the-server]__0ubbtyl._.js +500 -0
- package/.next/build/chunks/[root-of-the-server]__0ubbtyl._.js.map +11 -0
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_06e.r3r._.js +13 -0
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_06e.r3r._.js.map +5 -0
- package/.next/build/chunks/[turbopack]_runtime.js +890 -0
- package/.next/build/chunks/[turbopack]_runtime.js.map +11 -0
- package/.next/build/chunks/node_modules__pnpm_0e-dfa2._.js +6681 -0
- package/.next/build/chunks/node_modules__pnpm_0e-dfa2._.js.map +47 -0
- package/.next/build/package.json +1 -0
- package/.next/build/postcss.js +6 -0
- package/.next/build/postcss.js.map +5 -0
- package/.next/build-manifest.json +21 -0
- package/.next/cache/.previewinfo +1 -0
- package/.next/cache/.rscinfo +1 -0
- package/.next/cache/.tsbuildinfo +1 -0
- package/.next/dev/static/chunks/05w9_next_dist_shared_lib_0beh7rg._.js +6077 -0
- package/.next/dev/static/chunks/05w9_next_dist_shared_lib_0beh7rg._.js.map +69 -0
- package/.next/dev/static/chunks/05w9_next_dist_shared_lib_0pjsj.j._.js +6318 -0
- package/.next/dev/static/chunks/05w9_next_dist_shared_lib_0pjsj.j._.js.map +71 -0
- package/.next/dev/types/cache-life.d.ts +145 -0
- package/.next/dev/types/routes.d.ts +84 -0
- package/.next/dev/types/validator.ts +178 -0
- package/.next/diagnostics/build-diagnostics.json +6 -0
- package/.next/diagnostics/framework.json +1 -0
- package/.next/diagnostics/route-bundle-stats.json +176 -0
- package/.next/export-marker.json +6 -0
- package/.next/fallback-build-manifest.json +13 -0
- package/.next/images-manifest.json +68 -0
- package/.next/next-minimal-server.js.nft.json +1 -0
- package/.next/next-server.js.nft.json +1 -0
- package/.next/package.json +1 -0
- package/.next/prerender-manifest.json +239 -0
- package/.next/required-server-files.js +332 -0
- package/.next/required-server-files.json +332 -0
- package/.next/routes-manifest.json +148 -0
- package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_global-error/page/build-manifest.json +17 -0
- package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/.next/server/app/_global-error/page.js +10 -0
- package/.next/server/app/_global-error/page.js.map +5 -0
- package/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/.next/server/app/_global-error.html +1 -0
- package/.next/server/app/_global-error.meta +15 -0
- package/.next/server/app/_global-error.rsc +15 -0
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
- package/.next/server/app/_global-error.segments/_full.segment.rsc +15 -0
- package/.next/server/app/_global-error.segments/_head.segment.rsc +6 -0
- package/.next/server/app/_global-error.segments/_index.segment.rsc +5 -0
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
- package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_not-found/page/build-manifest.json +17 -0
- package/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
- package/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/.next/server/app/_not-found/page.js +13 -0
- package/.next/server/app/_not-found/page.js.map +5 -0
- package/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
- package/.next/server/app/_not-found.html +1 -0
- package/.next/server/app/_not-found.meta +16 -0
- package/.next/server/app/_not-found.rsc +16 -0
- package/.next/server/app/_not-found.segments/_full.segment.rsc +16 -0
- package/.next/server/app/_not-found.segments/_head.segment.rsc +6 -0
- package/.next/server/app/_not-found.segments/_index.segment.rsc +5 -0
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -0
- package/.next/server/app/api/daemon/[...path]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/daemon/[...path]/route/build-manifest.json +9 -0
- package/.next/server/app/api/daemon/[...path]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/daemon/[...path]/route.js +7 -0
- package/.next/server/app/api/daemon/[...path]/route.js.map +5 -0
- package/.next/server/app/api/daemon/[...path]/route.js.nft.json +1 -0
- package/.next/server/app/api/daemon/[...path]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/run-artifacts/[chatId]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/run-artifacts/[chatId]/route/build-manifest.json +9 -0
- package/.next/server/app/api/run-artifacts/[chatId]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/run-artifacts/[chatId]/route.js +6 -0
- package/.next/server/app/api/run-artifacts/[chatId]/route.js.map +5 -0
- package/.next/server/app/api/run-artifacts/[chatId]/route.js.nft.json +1 -0
- package/.next/server/app/api/run-artifacts/[chatId]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/connect/page/app-paths-manifest.json +3 -0
- package/.next/server/app/connect/page/build-manifest.json +17 -0
- package/.next/server/app/connect/page/next-font-manifest.json +11 -0
- package/.next/server/app/connect/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/connect/page/server-reference-manifest.json +4 -0
- package/.next/server/app/connect/page.js +15 -0
- package/.next/server/app/connect/page.js.map +5 -0
- package/.next/server/app/connect/page.js.nft.json +1 -0
- package/.next/server/app/connect/page_client-reference-manifest.js +3 -0
- package/.next/server/app/favicon.ico/route/app-paths-manifest.json +3 -0
- package/.next/server/app/favicon.ico/route/build-manifest.json +9 -0
- package/.next/server/app/favicon.ico/route.js +8 -0
- package/.next/server/app/favicon.ico/route.js.map +5 -0
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
- package/.next/server/app/favicon.ico.body +0 -0
- package/.next/server/app/favicon.ico.meta +1 -0
- package/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
- package/.next/server/app/icon.svg/route/build-manifest.json +9 -0
- package/.next/server/app/icon.svg/route.js +7 -0
- package/.next/server/app/icon.svg/route.js.map +5 -0
- package/.next/server/app/icon.svg/route.js.nft.json +1 -0
- package/.next/server/app/icon.svg.body +6 -0
- package/.next/server/app/icon.svg.meta +1 -0
- package/.next/server/app/new/page/app-paths-manifest.json +3 -0
- package/.next/server/app/new/page/build-manifest.json +17 -0
- package/.next/server/app/new/page/next-font-manifest.json +11 -0
- package/.next/server/app/new/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/new/page/server-reference-manifest.json +4 -0
- package/.next/server/app/new/page.js +14 -0
- package/.next/server/app/new/page.js.map +5 -0
- package/.next/server/app/new/page.js.nft.json +1 -0
- package/.next/server/app/new/page_client-reference-manifest.js +3 -0
- package/.next/server/app/new.html +1 -0
- package/.next/server/app/new.meta +15 -0
- package/.next/server/app/new.rsc +22 -0
- package/.next/server/app/new.segments/_full.segment.rsc +22 -0
- package/.next/server/app/new.segments/_head.segment.rsc +6 -0
- package/.next/server/app/new.segments/_index.segment.rsc +5 -0
- package/.next/server/app/new.segments/_tree.segment.rsc +4 -0
- package/.next/server/app/new.segments/new/__PAGE__.segment.rsc +9 -0
- package/.next/server/app/new.segments/new.segment.rsc +5 -0
- package/.next/server/app/onboarding/page/app-paths-manifest.json +3 -0
- package/.next/server/app/onboarding/page/build-manifest.json +17 -0
- package/.next/server/app/onboarding/page/next-font-manifest.json +11 -0
- package/.next/server/app/onboarding/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/onboarding/page/server-reference-manifest.json +4 -0
- package/.next/server/app/onboarding/page.js +14 -0
- package/.next/server/app/onboarding/page.js.map +5 -0
- package/.next/server/app/onboarding/page.js.nft.json +1 -0
- package/.next/server/app/onboarding/page_client-reference-manifest.js +3 -0
- package/.next/server/app/onboarding.html +1 -0
- package/.next/server/app/onboarding.meta +15 -0
- package/.next/server/app/onboarding.rsc +22 -0
- package/.next/server/app/onboarding.segments/_full.segment.rsc +22 -0
- package/.next/server/app/onboarding.segments/_head.segment.rsc +6 -0
- package/.next/server/app/onboarding.segments/_index.segment.rsc +5 -0
- package/.next/server/app/onboarding.segments/_tree.segment.rsc +4 -0
- package/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +9 -0
- package/.next/server/app/onboarding.segments/onboarding.segment.rsc +5 -0
- package/.next/server/app/page/app-paths-manifest.json +3 -0
- package/.next/server/app/page/build-manifest.json +17 -0
- package/.next/server/app/page/next-font-manifest.json +11 -0
- package/.next/server/app/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/page/server-reference-manifest.json +4 -0
- package/.next/server/app/page.js +17 -0
- package/.next/server/app/page.js.map +5 -0
- package/.next/server/app/page.js.nft.json +1 -0
- package/.next/server/app/page_client-reference-manifest.js +3 -0
- package/.next/server/app/personas/page/app-paths-manifest.json +3 -0
- package/.next/server/app/personas/page/build-manifest.json +17 -0
- package/.next/server/app/personas/page/next-font-manifest.json +11 -0
- package/.next/server/app/personas/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/personas/page/server-reference-manifest.json +4 -0
- package/.next/server/app/personas/page.js +14 -0
- package/.next/server/app/personas/page.js.map +5 -0
- package/.next/server/app/personas/page.js.nft.json +1 -0
- package/.next/server/app/personas/page_client-reference-manifest.js +3 -0
- package/.next/server/app/personas.html +1 -0
- package/.next/server/app/personas.meta +15 -0
- package/.next/server/app/personas.rsc +22 -0
- package/.next/server/app/personas.segments/_full.segment.rsc +22 -0
- package/.next/server/app/personas.segments/_head.segment.rsc +6 -0
- package/.next/server/app/personas.segments/_index.segment.rsc +5 -0
- package/.next/server/app/personas.segments/_tree.segment.rsc +4 -0
- package/.next/server/app/personas.segments/personas/__PAGE__.segment.rsc +9 -0
- package/.next/server/app/personas.segments/personas.segment.rsc +5 -0
- package/.next/server/app/runs/[runId]/page/app-paths-manifest.json +3 -0
- package/.next/server/app/runs/[runId]/page/build-manifest.json +17 -0
- package/.next/server/app/runs/[runId]/page/next-font-manifest.json +11 -0
- package/.next/server/app/runs/[runId]/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/runs/[runId]/page/server-reference-manifest.json +4 -0
- package/.next/server/app/runs/[runId]/page.js +16 -0
- package/.next/server/app/runs/[runId]/page.js.map +5 -0
- package/.next/server/app/runs/[runId]/page.js.nft.json +1 -0
- package/.next/server/app/runs/[runId]/page_client-reference-manifest.js +3 -0
- package/.next/server/app/runs/page/app-paths-manifest.json +3 -0
- package/.next/server/app/runs/page/build-manifest.json +17 -0
- package/.next/server/app/runs/page/next-font-manifest.json +11 -0
- package/.next/server/app/runs/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/runs/page/server-reference-manifest.json +4 -0
- package/.next/server/app/runs/page.js +15 -0
- package/.next/server/app/runs/page.js.map +5 -0
- package/.next/server/app/runs/page.js.nft.json +1 -0
- package/.next/server/app/runs/page_client-reference-manifest.js +3 -0
- package/.next/server/app/settings/page/app-paths-manifest.json +3 -0
- package/.next/server/app/settings/page/build-manifest.json +17 -0
- package/.next/server/app/settings/page/next-font-manifest.json +11 -0
- package/.next/server/app/settings/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/settings/page/server-reference-manifest.json +4 -0
- package/.next/server/app/settings/page.js +14 -0
- package/.next/server/app/settings/page.js.map +5 -0
- package/.next/server/app/settings/page.js.nft.json +1 -0
- package/.next/server/app/settings/page_client-reference-manifest.js +3 -0
- package/.next/server/app/settings/permissions/page/app-paths-manifest.json +3 -0
- package/.next/server/app/settings/permissions/page/build-manifest.json +17 -0
- package/.next/server/app/settings/permissions/page/next-font-manifest.json +11 -0
- package/.next/server/app/settings/permissions/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/settings/permissions/page/server-reference-manifest.json +4 -0
- package/.next/server/app/settings/permissions/page.js +14 -0
- package/.next/server/app/settings/permissions/page.js.map +5 -0
- package/.next/server/app/settings/permissions/page.js.nft.json +1 -0
- package/.next/server/app/settings/permissions/page_client-reference-manifest.js +3 -0
- package/.next/server/app/settings.html +1 -0
- package/.next/server/app/settings.meta +15 -0
- package/.next/server/app/settings.rsc +22 -0
- package/.next/server/app/settings.segments/_full.segment.rsc +22 -0
- package/.next/server/app/settings.segments/_head.segment.rsc +6 -0
- package/.next/server/app/settings.segments/_index.segment.rsc +5 -0
- package/.next/server/app/settings.segments/_tree.segment.rsc +4 -0
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +9 -0
- package/.next/server/app/settings.segments/settings.segment.rsc +5 -0
- package/.next/server/app/templates/page/app-paths-manifest.json +3 -0
- package/.next/server/app/templates/page/build-manifest.json +17 -0
- package/.next/server/app/templates/page/next-font-manifest.json +11 -0
- package/.next/server/app/templates/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/templates/page/server-reference-manifest.json +4 -0
- package/.next/server/app/templates/page.js +14 -0
- package/.next/server/app/templates/page.js.map +5 -0
- package/.next/server/app/templates/page.js.nft.json +1 -0
- package/.next/server/app/templates/page_client-reference-manifest.js +3 -0
- package/.next/server/app/templates.html +1 -0
- package/.next/server/app/templates.meta +15 -0
- package/.next/server/app/templates.rsc +22 -0
- package/.next/server/app/templates.segments/_full.segment.rsc +22 -0
- package/.next/server/app/templates.segments/_head.segment.rsc +6 -0
- package/.next/server/app/templates.segments/_index.segment.rsc +5 -0
- package/.next/server/app/templates.segments/_tree.segment.rsc +4 -0
- package/.next/server/app/templates.segments/templates/__PAGE__.segment.rsc +9 -0
- package/.next/server/app/templates.segments/templates.segment.rsc +5 -0
- package/.next/server/app-paths-manifest.json +18 -0
- package/.next/server/chunks/05w9_next_0xdex7s._.js +13 -0
- package/.next/server/chunks/05w9_next_0xdex7s._.js.map +1 -0
- package/.next/server/chunks/05w9_next_dist_esm_build_templates_app-route_0.73kst.js +3 -0
- package/.next/server/chunks/05w9_next_dist_esm_build_templates_app-route_0.73kst.js.map +1 -0
- package/.next/server/chunks/[externals]_next_dist_0arv.vj._.js +3 -0
- package/.next/server/chunks/[externals]_next_dist_0arv.vj._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__02xvj_h._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__02xvj_h._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0i7ddmr._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0i7ddmr._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0sxhm1i._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0sxhm1i._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__12xxby8._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__12xxby8._.js.map +1 -0
- package/.next/server/chunks/[turbopack]_runtime.js +903 -0
- package/.next/server/chunks/[turbopack]_runtime.js.map +11 -0
- package/.next/server/chunks/_next-internal_server_app_api_daemon_[___path]_route_actions_0a5g-ar.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_daemon_[___path]_route_actions_0a5g-ar.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_api_run-artifacts_[chatId]_route_actions_07e2ul1.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_api_run-artifacts_[chatId]_route_actions_07e2ul1.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_095lj93.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_095lj93.js.map +1 -0
- package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_0-0ehc~.js +3 -0
- package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_0-0ehc~.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_0q4woef._.js +3 -0
- package/.next/server/chunks/ssr/05w9_next_dist_0q4woef._.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_0ybpwn1._.js +6 -0
- package/.next/server/chunks/ssr/05w9_next_dist_0ybpwn1._.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_0~859ji._.js +6 -0
- package/.next/server/chunks/ssr/05w9_next_dist_0~859ji._.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_client_components_12u3mib._.js +3 -0
- package/.next/server/chunks/ssr/05w9_next_dist_client_components_12u3mib._.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_client_components_builtin_forbidden_04fbe_..js +3 -0
- package/.next/server/chunks/ssr/05w9_next_dist_client_components_builtin_forbidden_04fbe_..js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_client_components_builtin_global-error_0brpl_..js +3 -0
- package/.next/server/chunks/ssr/05w9_next_dist_client_components_builtin_global-error_0brpl_..js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_client_components_builtin_unauthorized_0~2g66g.js +3 -0
- package/.next/server/chunks/ssr/05w9_next_dist_client_components_builtin_unauthorized_0~2g66g.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0-f~6r1.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0-f~6r1.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_00czn99.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_00czn99.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_01nm1_6.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_01nm1_6.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0jcydv7.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0jcydv7.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0km.hvi.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0km.hvi.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0ln8_qt.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0ln8_qt.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0n3h-j1.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0n3h-j1.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0nc~v.o.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0nc~v.o.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0o6nct3.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0o6nct3.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0veve6-.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0veve6-.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0wh5tpo.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_0wh5tpo.js.map +1 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_10~fsfu.js +4 -0
- package/.next/server/chunks/ssr/05w9_next_dist_esm_build_templates_app-page_10~fsfu.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0-7oo8o._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0-7oo8o._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__01t9qm2._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__01t9qm2._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__076~t6~._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__076~t6~._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0_tow-j._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0_tow-j._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0bsym8v._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0bsym8v._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0bwjwxi._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0bwjwxi._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0c2e5js._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0c2e5js._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0d_59pi._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0d_59pi._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0dxp2sg._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0dxp2sg._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0e58.k_._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0e58.k_._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ek20dj._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ek20dj._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0h2o43u._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0h2o43u._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0hn95cc._.js +33 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0hn95cc._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ic.~tw._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ic.~tw._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0jltd-t._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0jltd-t._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0k_96yx._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0k_96yx._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0l5ko41._.js +19 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0l5ko41._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0p~21w8._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0p~21w8._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0tc4gl8._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0tc4gl8._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0v73tbn._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0v73tbn._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0we1ana._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0we1ana._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0xlzjhk._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0xlzjhk._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ygksjc._.js +33 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ygksjc._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0yhjl35._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0yhjl35._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0~cqs-9._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0~cqs-9._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__109.1j0._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__109.1j0._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10gepjv._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__10gepjv._.js.map +1 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js +903 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +11 -0
- package/.next/server/chunks/ssr/_01t~nag._.js +30 -0
- package/.next/server/chunks/ssr/_01t~nag._.js.map +1 -0
- package/.next/server/chunks/ssr/_097xk3e._.js +3 -0
- package/.next/server/chunks/ssr/_097xk3e._.js.map +1 -0
- package/.next/server/chunks/ssr/_0bxoss0._.js +30 -0
- package/.next/server/chunks/ssr/_0bxoss0._.js.map +1 -0
- package/.next/server/chunks/ssr/_0ck1n8_._.js +7 -0
- package/.next/server/chunks/ssr/_0ck1n8_._.js.map +1 -0
- package/.next/server/chunks/ssr/_0d-304b._.js +30 -0
- package/.next/server/chunks/ssr/_0d-304b._.js.map +1 -0
- package/.next/server/chunks/ssr/_0p-_ahq._.js +30 -0
- package/.next/server/chunks/ssr/_0p-_ahq._.js.map +1 -0
- package/.next/server/chunks/ssr/_0qlx_85._.js +7 -0
- package/.next/server/chunks/ssr/_0qlx_85._.js.map +1 -0
- package/.next/server/chunks/ssr/_0y43gyn._.js +27 -0
- package/.next/server/chunks/ssr/_0y43gyn._.js.map +1 -0
- package/.next/server/chunks/ssr/_11i54x9._.js +30 -0
- package/.next/server/chunks/ssr/_11i54x9._.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0k77kol.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0eq97pa.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0eq97pa.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_connect_page_actions_0vb8s6u.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_connect_page_actions_0vb8s6u.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_new_page_actions_08q6mx5.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_new_page_actions_08q6mx5.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_onboarding_page_actions_0qdby58.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_onboarding_page_actions_0qdby58.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_09-gtaw.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_page_actions_09-gtaw.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_personas_page_actions_08fq21v.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_personas_page_actions_08fq21v.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_runs_[runId]_page_actions_0z6r2tz.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_runs_[runId]_page_actions_0z6r2tz.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_runs_page_actions_04_e1xr.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_runs_page_actions_04_e1xr.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_settings_page_actions_0mr68ai.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_settings_page_actions_0mr68ai.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_settings_permissions_page_actions_0cr.qtc.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_settings_permissions_page_actions_0cr.qtc.js.map +1 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_templates_page_actions_0n8gow3.js +3 -0
- package/.next/server/chunks/ssr/_next-internal_server_app_templates_page_actions_0n8gow3.js.map +1 -0
- package/.next/server/chunks/ssr/node_modules__pnpm_0~j0k.e._.js +33 -0
- package/.next/server/chunks/ssr/node_modules__pnpm_0~j0k.e._.js.map +1 -0
- package/.next/server/chunks/ssr/src_app_new_page_tsx_0av4n2k._.js +3 -0
- package/.next/server/chunks/ssr/src_app_new_page_tsx_0av4n2k._.js.map +1 -0
- package/.next/server/chunks/ssr/src_app_onboarding_page_tsx_0xf7hpz._.js +3 -0
- package/.next/server/chunks/ssr/src_app_onboarding_page_tsx_0xf7hpz._.js.map +1 -0
- package/.next/server/chunks/ssr/src_app_personas_page_tsx_0jx9vyh._.js +3 -0
- package/.next/server/chunks/ssr/src_app_personas_page_tsx_0jx9vyh._.js.map +1 -0
- package/.next/server/chunks/ssr/src_app_settings_page_tsx_0h9v7dr._.js +27 -0
- package/.next/server/chunks/ssr/src_app_settings_page_tsx_0h9v7dr._.js.map +1 -0
- package/.next/server/chunks/ssr/src_app_templates_page_tsx_0tml2wg._.js +3 -0
- package/.next/server/chunks/ssr/src_app_templates_page_tsx_0tml2wg._.js.map +1 -0
- package/.next/server/chunks/ssr/src_components_0j77o23._.js +3 -0
- package/.next/server/chunks/ssr/src_components_0j77o23._.js.map +1 -0
- package/.next/server/chunks/ssr/src_components_0lc2g58._.js +3 -0
- package/.next/server/chunks/ssr/src_components_0lc2g58._.js.map +1 -0
- package/.next/server/chunks/ssr/src_components_live-run-real_index_tsx_0zzsdt9._.js +3 -0
- package/.next/server/chunks/ssr/src_components_live-run-real_index_tsx_0zzsdt9._.js.map +1 -0
- package/.next/server/functions-config-manifest.json +6 -0
- package/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/.next/server/middleware-build-manifest.js +21 -0
- package/.next/server/middleware-manifest.json +6 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +51 -0
- package/.next/server/pages/404.html +1 -0
- package/.next/server/pages/500.html +1 -0
- package/.next/server/pages-manifest.json +4 -0
- package/.next/server/prefetch-hints.json +1 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +5 -0
- package/.next/static/chunks/0-xxtuzaqzyzy.css +3 -0
- package/.next/static/chunks/0.dctgbd3j_xg.js +2 -0
- package/.next/static/chunks/0.~gqf.-9g-fh.js +1 -0
- package/.next/static/chunks/01as9r5n5k.xo.js +1 -0
- package/.next/static/chunks/034b~pjm7y20e.js +1 -0
- package/.next/static/chunks/03~yq9q893hmn.js +1 -0
- package/.next/static/chunks/05o4oa_9xfaun.js +1 -0
- package/.next/static/chunks/08dnw-0gzytmy.js +5 -0
- package/.next/static/chunks/08f2b7tuf53ep.js +1 -0
- package/.next/static/chunks/0a_u3vdu6tc~f.js +1 -0
- package/.next/static/chunks/0am72irwq2bx0.js +5 -0
- package/.next/static/chunks/0c-d1bhb8byrx.js +1 -0
- package/.next/static/chunks/0s4~w2~is76y1.js +1 -0
- package/.next/static/chunks/0ue4qcctkv016.js +4 -0
- package/.next/static/chunks/0uok5~eqi6zku.js +1 -0
- package/.next/static/chunks/0v3lyuj75aq50.js +1 -0
- package/.next/static/chunks/0whnu9t5k-ij7.js +1 -0
- package/.next/static/chunks/0x00t3du13-u4.js +25 -0
- package/.next/static/chunks/0xs3ktzdh4rw4.js +1 -0
- package/.next/static/chunks/0~8r6nhrrl~f9.js +1 -0
- package/.next/static/chunks/10jdu00ksgu69.js +1 -0
- package/.next/static/chunks/10ld26~0f71ye.js +25 -0
- package/.next/static/chunks/11k2wbc04r__f.js +25 -0
- package/.next/static/chunks/13-.xgv2t5u6m.js +31 -0
- package/.next/static/chunks/152ec.u3_e~ya.js +25 -0
- package/.next/static/chunks/172tpttbumwi1.js +25 -0
- package/.next/static/chunks/turbopack-0-al833jv3to~.js +1 -0
- package/.next/static/dJlbRLlhISA0JGtHKVqgQ/_buildManifest.js +11 -0
- package/.next/static/dJlbRLlhISA0JGtHKVqgQ/_clientMiddlewareManifest.js +1 -0
- package/.next/static/dJlbRLlhISA0JGtHKVqgQ/_ssgManifest.js +1 -0
- package/.next/static/media/4fa387ec64143e14-s.0q3udbd2bu5yp.woff2 +0 -0
- package/.next/static/media/7178b3e590c64307-s.11.cyxs5p-0z~.woff2 +0 -0
- package/.next/static/media/797e433ab948586e-s.p.0.q-h669a_dqa.woff2 +0 -0
- package/.next/static/media/8a480f0b521d4e75-s.06d3mdzz5bre_.woff2 +0 -0
- package/.next/static/media/bbc41e54d2fcbd21-s.0gw~uztddq1df.woff2 +0 -0
- package/.next/static/media/caa3a2e1cccd8315-s.p.16t1db8_9y2o~.woff2 +0 -0
- package/.next/static/media/favicon.0i~66t__91s97.ico +0 -0
- package/.next/static/media/icon.15.86wme~cdlv.svg +6 -0
- package/.next/trace +1 -0
- package/.next/trace-build +1 -0
- package/.next/turbopack +0 -0
- package/.next/types/cache-life.d.ts +145 -0
- package/.next/types/routes.d.ts +83 -0
- package/.next/types/validator.ts +169 -0
- package/LICENSE +201 -0
- package/README.md +423 -0
- package/assets/slash-commands/chorus.md +35 -0
- package/bin/chorus.mjs +30 -0
- package/dist/lib/db/schema.sql +132 -0
- package/package.json +79 -0
- package/prompts/personas/accountant.md +27 -0
- package/prompts/personas/cartographer.md +28 -0
- package/prompts/personas/concierge.md +25 -0
- package/prompts/personas/conservator.md +27 -0
- package/prompts/personas/inspector.md +31 -0
- package/prompts/personas/librarian.md +29 -0
- package/prompts/personas/profiler.md +25 -0
- package/prompts/personas/quartermaster.md +25 -0
- package/prompts/personas/sentinel.md +28 -0
- package/prompts/personas/translator.md +28 -0
- package/scripts/postinstall.mjs +20 -0
- package/templates/README.md +71 -0
- package/templates/architect-review.yaml +52 -0
- package/templates/bug-diagnose.yaml +31 -0
- package/templates/code-review.yaml +46 -0
- package/templates/red-green.yaml +169 -0
- package/templates/review-only.yaml +73 -0
- package/templates/tri-review.yaml +41 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/.pnpm/next%4016.2.4_%40babel%2Bcore%407.29.0_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/dist/esm/build/templates/app-page.js%3Fpage%3D/new/page"],"sourcesContent":["import { fillMetadataSegment } from 'next/dist/lib/metadata/get-metadata-route'\nconst __TURBOPACK__icon__$23$0__ = () => require(/*turbopackChunkingType: shared*/\"METADATA_0\");\nconst __TURBOPACK__icon__$23$1__ = () => require(/*turbopackChunkingType: shared*/\"METADATA_1\");\nconst __TURBOPACK__layout__$23$2__ = () => require(/*turbopackChunkingType: shared*/\"MODULE_2\");\n\nconst __TURBOPACK__not$2d$found__$23$3__ = () => require(/*turbopackChunkingType: shared*/\"MODULE_3\");\n\nconst __TURBOPACK__forbidden__$23$4__ = () => require(/*turbopackChunkingType: shared*/\"MODULE_4\");\n\nconst __TURBOPACK__unauthorized__$23$5__ = () => require(/*turbopackChunkingType: shared*/\"MODULE_5\");\n\nconst __TURBOPACK__global$2d$error__$23$6__ = () => require(/*turbopackChunkingType: shared*/\"MODULE_6\");\n\nconst __TURBOPACK__page__$23$7__ = () => require(/*turbopackChunkingType: shared*/\"MODULE_7\");\n\nimport { AppPageRouteModule } from \"next/dist/esm/server/route-modules/app-page/module.compiled\" with {\n 'turbopack-transition': 'next-ssr'\n};\nimport { RouteKind } from \"next/dist/esm/server/route-kind\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { getRevalidateReason } from \"next/dist/esm/server/instrumentation/utils\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { getTracer, SpanKind } from \"next/dist/esm/server/lib/trace/tracer\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { addRequestMeta, getRequestMeta, setRequestMeta } from \"next/dist/esm/server/request-meta\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { BaseServerSpan } from \"next/dist/esm/server/lib/trace/constants\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { interopDefault } from \"next/dist/esm/server/app-render/interop-default\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { stripFlightHeaders } from \"next/dist/esm/server/app-render/strip-flight-headers\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { NodeNextRequest, NodeNextResponse } from \"next/dist/esm/server/base-http/node\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { checkIsAppPPREnabled } from \"next/dist/esm/server/lib/experimental/ppr\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { getFallbackRouteParams, createOpaqueFallbackRouteParams } from \"next/dist/esm/server/request/fallback-params\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { setManifestsSingleton } from \"next/dist/esm/server/app-render/manifests-singleton\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { isHtmlBotRequest, shouldServeStreamingMetadata } from \"next/dist/esm/server/lib/streaming-metadata\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { normalizeAppPath } from \"next/dist/esm/shared/lib/router/utils/app-paths\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { getIsPossibleServerAction } from \"next/dist/esm/server/lib/server-action-request-meta\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { RSC_HEADER, NEXT_ROUTER_PREFETCH_HEADER, NEXT_INSTANT_PREFETCH_HEADER, NEXT_INSTANT_TEST_COOKIE, NEXT_IS_PRERENDER_HEADER, NEXT_DID_POSTPONE_HEADER, RSC_CONTENT_TYPE_HEADER } from \"next/dist/esm/client/components/app-router-headers\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { getBotType, isBot } from \"next/dist/esm/shared/lib/router/utils/is-bot\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { CachedRouteKind, IncrementalCacheKind } from \"next/dist/esm/server/response-cache\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { FallbackMode, parseFallbackField } from \"next/dist/esm/lib/fallback\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport RenderResult from \"next/dist/esm/server/render-result\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { CACHE_ONE_YEAR_SECONDS, HTML_CONTENT_TYPE_HEADER, NEXT_CACHE_TAGS_HEADER, NEXT_NAV_DEPLOYMENT_ID_HEADER, NEXT_RESUME_HEADER, NEXT_RESUME_STATE_LENGTH_HEADER } from \"next/dist/esm/lib/constants\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { ENCODED_TAGS } from \"next/dist/esm/server/stream-utils/encoded-tags\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { createInstantTestScriptInsertionTransformStream } from \"next/dist/esm/server/stream-utils/node-web-streams-helper\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { sendRenderResult } from \"next/dist/esm/server/send-payload\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { NoFallbackError } from \"next/dist/esm/shared/lib/no-fallback-error.external\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { parseMaxPostponedStateSize } from \"next/dist/esm/shared/lib/size-limit\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { getMaxPostponedStateSize, getPostponedStateExceededErrorMessage, readBodyWithSizeLimit } from \"next/dist/esm/server/lib/postponed-request-body\" with {\n 'turbopack-transition': 'next-server-utility'\n};\n// We inject the tree and pages here so that we can use them in the route\n// module.\nconst tree = [\"\", {\n\"children\": [\"new\", {\n\"children\": [\"__PAGE__\", {\n}, {\n metadata: { }, \"page\": [__TURBOPACK__page__$23$7__, \"[project]/src/app/new/page.tsx\"],\n}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { icon: [\n (async (props) => {\n const mod = interopDefault(await __TURBOPACK__icon__$23$0__());\n return [{\n url: fillMetadataSegment(\"//\", await props.params, \"favicon.ico\", true) + `?${mod.src.split(\"/\").splice(-1)[0]}`,\n sizes: `${mod.width}x${mod.height}`,\n type: `image/x-icon`,\n }];\n }),\n (async (props) => {\n const mod = interopDefault(await __TURBOPACK__icon__$23$1__());\n return [{\n url: fillMetadataSegment(\"//\", await props.params, \"icon.svg\", true) + `?${mod.src.split(\"/\").splice(-1)[0]}`,\n sizes: `any`,\n type: `image/svg+xml`,\n }];\n }),\n ],\n }, \"layout\": [__TURBOPACK__layout__$23$2__, \"[project]/src/app/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$3__, \"[project]/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/not-found.js\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$4__, \"[project]/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$5__, \"[project]/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n \"global-error\": [__TURBOPACK__global$2d$error__$23$6__, \"[project]/node_modules/.pnpm/next@16.2.4_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js\"],\n}, []]\nconst __next_app_require__ = __turbopack_context__.r.bind(__turbopack_context__)\nconst __next_app_load_chunk__ = __turbopack_context__.l.bind(__turbopack_context__)\nexport const __next_app__ = {\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__\n};\nimport * as entryBase from \"next/dist/esm/server/app-render/entry-base\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { RedirectStatusCode } from \"next/dist/esm/client/components/redirect-status-code\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { InvariantError } from \"next/dist/esm/shared/lib/invariant-error\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { scheduleOnNextTick } from \"next/dist/esm/lib/scheduler\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { isInterceptionRouteAppPath } from \"next/dist/esm/shared/lib/router/utils/interception-routes\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nimport { getParamProperties, getSegmentParam } from \"next/dist/esm/shared/lib/router/utils/get-segment-param\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nexport * from \"next/dist/esm/server/app-render/entry-base\" with {\n 'turbopack-transition': 'next-server-utility'\n};\n// Create and export the route module that will be consumed.\nexport const routeModule = new AppPageRouteModule({\n definition: {\n kind: RouteKind.APP_PAGE,\n page: \"/new/page\",\n pathname: \"/new\",\n // The following aren't used in production.\n bundlePath: '',\n filename: '',\n appPaths: []\n },\n userland: {\n loaderTree: tree\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || ''\n});\nfunction buildDynamicSegmentPlaceholder(param) {\n const { repeat, optional } = getParamProperties(param.paramType);\n if (optional) {\n return `[[...${param.paramName}]]`;\n }\n if (repeat) {\n return `[...${param.paramName}]`;\n }\n return `[${param.paramName}]`;\n}\n/**\n * Builds the cache key for the most complete prerenderable shell we can derive\n * from the shell that matched this request. Only params that can still be\n * filled by `generateStaticParams` are substituted; fully dynamic params stay\n * as placeholders so a request like `/c/foo` can complete `/[one]/[two]` into\n * `/c/[two]` rather than `/c/foo`.\n */ function buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params) {\n const prerenderableParamsByName = new Map(remainingPrerenderableParams.map((param)=>[\n param.paramName,\n param\n ]));\n return fallbackPathname.split('/').map((segment)=>{\n const segmentParam = getSegmentParam(segment);\n if (!segmentParam) {\n return segment;\n }\n const remainingParam = prerenderableParamsByName.get(segmentParam.paramName);\n if (!remainingParam) {\n return segment;\n }\n const value = params == null ? void 0 : params[remainingParam.paramName];\n if (!value) {\n return segment;\n }\n const encodedValue = Array.isArray(value) ? value.map((item)=>encodeURIComponent(item)).join('/') : encodeURIComponent(value);\n return segment.replace(buildDynamicSegmentPlaceholder(remainingParam), encodedValue);\n }).join('/') || '/';\n}\nexport async function handler(req, res, ctx) {\n var _this, _prerenderManifest_routes_resolvedPathname, _prerenderInfo_fallbackRootParams, _prerenderInfo_fallbackRouteParams;\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta);\n }\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());\n }\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'));\n let srcPage = \"/new/page\";\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/';\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/';\n }\n const multiZoneDraftMode = process.env.__NEXT_MULTI_ZONE_DRAFT_MODE;\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode\n });\n if (!prepareResult) {\n res.statusCode = 400;\n res.end('Bad Request');\n ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());\n return null;\n }\n const { buildId, query, params, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, parsedUrl, interceptionRoutePatterns, deploymentId, clientAssetToken } = prepareResult;\n const normalizedSrcPage = normalizeAppPath(srcPage);\n let { isOnDemandRevalidate } = prepareResult;\n // We use the resolvedPathname instead of the parsedUrl.pathname because it\n // is not rewritten as resolvedPathname is. This will ensure that the correct\n // prerender info is used instead of using the original pathname as the\n // source. If however PPR is enabled and cacheComponents is disabled, we\n // treat the pathname as dynamic. Currently, there's a bug in the PPR\n // implementation that incorrectly leaves %%drp placeholders in the output of\n // parallel routes. This is addressed with cacheComponents.\n const prerenderMatch = nextConfig.experimental.ppr && !nextConfig.cacheComponents && isInterceptionRouteAppPath(resolvedPathname) ? null : routeModule.match(resolvedPathname, prerenderManifest);\n const prerenderInfo = (prerenderMatch == null ? void 0 : prerenderMatch.route) ?? null;\n const isPrerendered = !!prerenderManifest.routes[resolvedPathname];\n const userAgent = req.headers['user-agent'] || '';\n const botType = getBotType(userAgent);\n const isHtmlBot = isHtmlBotRequest(req);\n /**\n * If true, this indicates that the request being made is for an app\n * prefetch request.\n */ const isPrefetchRSCRequest = getRequestMeta(req, 'isPrefetchRSCRequest') ?? req.headers[NEXT_ROUTER_PREFETCH_HEADER] === '1' // exclude runtime prefetches, which use '2'\n ;\n // NOTE: Don't delete headers[RSC] yet, it still needs to be used in renderToHTML later\n const isRSCRequest = getRequestMeta(req, 'isRSCRequest') ?? Boolean(req.headers[RSC_HEADER]);\n const isPossibleServerAction = getIsPossibleServerAction(req);\n /**\n * If the route being rendered is an app page, and the ppr feature has been\n * enabled, then the given route _could_ support PPR.\n */ const couldSupportPPR = checkIsAppPPREnabled(nextConfig.experimental.ppr);\n // Stash postponed state for server actions when in minimal mode.\n // We extract it here so the RDC is available for the re-render after the action completes.\n const resumeStateLengthHeader = req.headers[NEXT_RESUME_STATE_LENGTH_HEADER];\n if (!getRequestMeta(req, 'postponed') && isMinimalMode && couldSupportPPR && isPossibleServerAction && resumeStateLengthHeader && typeof resumeStateLengthHeader === 'string') {\n const stateLength = parseInt(resumeStateLengthHeader, 10);\n const { maxPostponedStateSize, maxPostponedStateSizeBytes } = getMaxPostponedStateSize(nextConfig.experimental.maxPostponedStateSize);\n if (!isNaN(stateLength) && stateLength > 0) {\n var _nextConfig_experimental_serverActions;\n if (stateLength > maxPostponedStateSizeBytes) {\n res.statusCode = 413;\n res.end(getPostponedStateExceededErrorMessage(maxPostponedStateSize));\n ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());\n return null;\n }\n // Calculate max total body size to prevent buffering excessively large\n // payloads before the action handler checks. We use stateLength (not\n // maxPostponedStateSizeBytes) so the postponed state doesn't eat into\n // the action body budget - it's already validated above.\n const defaultActionBodySizeLimit = '1 MB';\n const actionBodySizeLimit = ((_nextConfig_experimental_serverActions = nextConfig.experimental.serverActions) == null ? void 0 : _nextConfig_experimental_serverActions.bodySizeLimit) ?? defaultActionBodySizeLimit;\n const actionBodySizeLimitBytes = actionBodySizeLimit !== defaultActionBodySizeLimit ? require('next/dist/compiled/bytes').parse(actionBodySizeLimit) : 1024 * 1024 // 1 MB\n ;\n const maxTotalBodySize = stateLength + actionBodySizeLimitBytes;\n const fullBody = await readBodyWithSizeLimit(req, maxTotalBodySize);\n if (fullBody === null) {\n res.statusCode = 413;\n res.end(`Request body exceeded limit. ` + `To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit`);\n ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());\n return null;\n }\n if (fullBody.length >= stateLength) {\n // Extract postponed state from the beginning\n const postponedState = fullBody.subarray(0, stateLength).toString('utf8');\n addRequestMeta(req, 'postponed', postponedState);\n // Store the remaining action body for the action handler\n const actionBody = fullBody.subarray(stateLength);\n addRequestMeta(req, 'actionBody', actionBody);\n } else {\n throw Object.defineProperty(new Error(`invariant: expected ${stateLength} bytes of postponed state but only received ${fullBody.length} bytes`), \"__NEXT_ERROR_CODE\", {\n value: \"E979\",\n enumerable: false,\n configurable: true\n });\n }\n }\n }\n if (!getRequestMeta(req, 'postponed') && couldSupportPPR && req.headers[NEXT_RESUME_HEADER] === '1' && req.method === 'POST') {\n const { maxPostponedStateSize, maxPostponedStateSizeBytes } = getMaxPostponedStateSize(nextConfig.experimental.maxPostponedStateSize);\n // Decode the postponed state from the request body, it will come as\n // an array of buffers, so collect them and then concat them to form\n // the string.\n const body = await readBodyWithSizeLimit(req, maxPostponedStateSizeBytes);\n if (body === null) {\n res.statusCode = 413;\n res.end(getPostponedStateExceededErrorMessage(maxPostponedStateSize));\n ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());\n return null;\n }\n const postponed = body.toString('utf8');\n addRequestMeta(req, 'postponed', postponed);\n }\n // When enabled, this will allow the use of the `?__nextppronly` query to\n // enable debugging of the static shell.\n const hasDebugStaticShellQuery = process.env.__NEXT_EXPERIMENTAL_STATIC_SHELL_DEBUGGING === '1' && typeof query.__nextppronly !== 'undefined' && couldSupportPPR;\n // When enabled, this will allow the use of the `?__nextppronly` query\n // to enable debugging of the fallback shell.\n const hasDebugFallbackShellQuery = hasDebugStaticShellQuery && query.__nextppronly === 'fallback';\n // Whether the testing API is exposed (dev mode or explicit flag)\n const exposeTestingApi = routeModule.isDev === true || nextConfig.experimental.exposeTestingApiInProductionBuild === true;\n // Enable the Instant Navigation Testing API. Renders only the prefetched\n // portion of the page, excluding dynamic content. This allows tests to\n // assert on the prefetched UI state deterministically.\n // - Header: Used for client-side navigations where we can set request headers\n // - Cookie: Used for MPA navigations (page reload, full page load) where we\n // can't set request headers. Only applies to document requests (no RSC\n // header) - RSC requests should proceed normally even during a locked scope,\n // with blocking happening on the client side.\n const isInstantNavigationTest = exposeTestingApi && (req.headers[NEXT_INSTANT_PREFETCH_HEADER] === '1' || req.headers[RSC_HEADER] === undefined && typeof req.headers.cookie === 'string' && req.headers.cookie.includes(NEXT_INSTANT_TEST_COOKIE + '='));\n // This page supports PPR if it is marked as being `PARTIALLY_STATIC` in the\n // prerender manifest and this is an app page.\n const isRoutePPREnabled = // When the instant navigation testing API is active, enable the PPR\n // prerender path even without Cache Components. In dev mode without CC,\n // static pages need this path to produce buffered segment data (the\n // legacy prerender path hangs in dev mode).\n (couldSupportPPR || isInstantNavigationTest) && (((_this = prerenderManifest.routes[normalizedSrcPage] ?? prerenderManifest.dynamicRoutes[normalizedSrcPage]) == null ? void 0 : _this.renderingMode) === 'PARTIALLY_STATIC' || // Ideally we'd want to check the appConfig to see if this page has PPR\n // enabled or not, but that would require plumbing the appConfig through\n // to the server during development. We assume that the page supports it\n // but only during development or when the testing API is exposed.\n (hasDebugStaticShellQuery || isInstantNavigationTest) && (exposeTestingApi || (routerServerContext == null ? void 0 : routerServerContext.experimentalTestProxy) === true));\n const isDebugStaticShell = (hasDebugStaticShellQuery || isInstantNavigationTest) && isRoutePPREnabled;\n // We should enable debugging dynamic accesses when the static shell\n // debugging has been enabled and we're also in development mode.\n const isDebugDynamicAccesses = isDebugStaticShell && routeModule.isDev === true;\n const isDebugFallbackShell = hasDebugFallbackShellQuery && isRoutePPREnabled;\n // If we're in minimal mode, then try to get the postponed information from\n // the request metadata. If available, use it for resuming the postponed\n // render.\n const minimalPostponed = isRoutePPREnabled ? getRequestMeta(req, 'postponed') : undefined;\n // If PPR is enabled, and this is a RSC request (but not a prefetch), then\n // we can use this fact to only generate the flight data for the request\n // because we can't cache the HTML (as it's also dynamic).\n const staticPrefetchDataRoute = (_prerenderManifest_routes_resolvedPathname = prerenderManifest.routes[resolvedPathname]) == null ? void 0 : _prerenderManifest_routes_resolvedPathname.prefetchDataRoute;\n let isDynamicRSCRequest = isRoutePPREnabled && isRSCRequest && !isPrefetchRSCRequest && // If generated at build time, treat the RSC request as static\n // so we can serve the prebuilt .rsc without a dynamic render.\n // Only do this for routes that have a concrete prefetchDataRoute.\n !staticPrefetchDataRoute;\n // During a PPR revalidation, the RSC request is not dynamic if we do not have the postponed data.\n // We only attach the postponed data during a resume. If there's no postponed data, then it must be a revalidation.\n // This is to ensure that we don't bypass the cache during a revalidation.\n if (isMinimalMode) {\n isDynamicRSCRequest = isDynamicRSCRequest && !!minimalPostponed;\n }\n // Need to read this before it's stripped by stripFlightHeaders. We don't\n // need to transfer it to the request meta because it's only read\n // within this function; the static segment data should have already been\n // generated, so we will always either return a static response or a 404.\n const segmentPrefetchHeader = getRequestMeta(req, 'segmentPrefetchRSCRequest');\n // TODO: investigate existing bug with shouldServeStreamingMetadata always\n // being true for a revalidate due to modifying the base-server this.renderOpts\n // when fixing this to correct logic it causes hydration issue since we set\n // serveStreamingMetadata to true during export\n const serveStreamingMetadata = botType && isRoutePPREnabled ? false : !userAgent ? true : shouldServeStreamingMetadata(userAgent, nextConfig.htmlLimitedBots);\n const isSSG = Boolean((prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]) && // If this is a bot request and PPR is enabled, then we don't want\n // to serve a static response. This applies to both DOM bots (like Googlebot)\n // and HTML-limited bots.\n !(botType && isRoutePPREnabled));\n // When a page supports cacheComponents, we can support RDC for Navigations\n const supportsRDCForNavigations = isRoutePPREnabled && nextConfig.cacheComponents === true;\n // In development, we always want to generate dynamic HTML.\n const supportsDynamicResponse = // If we're in development, we always support dynamic HTML, unless it's\n // a data request, in which case we only produce static HTML.\n routeModule.isDev === true || // If this is not SSG or does not have static paths, then it supports\n // dynamic HTML.\n !isSSG || // If this request has provided postponed data, it supports dynamic\n // HTML.\n typeof minimalPostponed === 'string' || // If this handler supports onCacheEntryV2, then we can only support\n // dynamic responses if it's a dynamic RSC request and not in minimal mode. If it\n // doesn't support it we must fallback to the default behavior.\n (supportsRDCForNavigations && getRequestMeta(req, 'onCacheEntryV2') ? // which will generate the RDC for the route. When resuming a Dynamic\n // RSC request, we'll pass the minimal postponed data to the render\n // which will trigger the `supportsDynamicResponse` to be true.\n isDynamicRSCRequest && !isMinimalMode : isDynamicRSCRequest);\n // When bots request PPR page, perform the full dynamic rendering.\n // This applies to both DOM bots (like Googlebot) and HTML-limited bots.\n const shouldWaitOnAllReady = Boolean(botType) && isRoutePPREnabled;\n const remainingPrerenderableParams = (prerenderInfo == null ? void 0 : prerenderInfo.remainingPrerenderableParams) ?? [];\n const hasUnresolvedRootFallbackParams = (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && (((_prerenderInfo_fallbackRootParams = prerenderInfo.fallbackRootParams) == null ? void 0 : _prerenderInfo_fallbackRootParams.length) ?? 0) > 0;\n let ssgCacheKey = null;\n if (!isDraftMode && isSSG && !supportsDynamicResponse && !isPossibleServerAction && !minimalPostponed && !isDynamicRSCRequest) {\n // For normal SSG routes we cache by the fully resolved pathname. For\n // partial fallbacks we instead derive the cache key from the shell\n // that matched this request so `/prefix/[one]/[two]` can specialize into\n // `/prefix/c/[two]` without promoting all the way to `/prefix/c/foo`.\n const fallbackPathname = prerenderMatch ? typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : prerenderMatch.source : null;\n if (nextConfig.experimental.partialFallbacks === true && fallbackPathname && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) && !hasUnresolvedRootFallbackParams) {\n if (remainingPrerenderableParams.length > 0) {\n const completedShellCacheKey = buildCompletedShellCacheKey(fallbackPathname, remainingPrerenderableParams, params);\n // If applying the current request params doesn't make the shell any\n // more complete, then this shell is already at its most complete\n // form and should remain shared rather than creating a new cache entry.\n ssgCacheKey = completedShellCacheKey !== fallbackPathname ? completedShellCacheKey : null;\n }\n } else {\n ssgCacheKey = resolvedPathname;\n }\n }\n // the staticPathKey differs from ssgCacheKey since\n // ssgCacheKey is null in dev since we're always in \"dynamic\"\n // mode in dev to bypass the cache. It can also be null for partial\n // fallback shells that should remain shared and must not create a\n // param-specific ISR entry, but we still need to honor fallback handling.\n let staticPathKey = ssgCacheKey;\n if (!staticPathKey && (routeModule.isDev || isSSG && pageIsDynamic && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) && // Server action requests must not get a staticPathKey, otherwise they\n // enter the fallback rendering block below and return the cached HTML\n // shell with the action result appended, instead of responding with\n // just the RSC action result.\n !isPossibleServerAction)) {\n staticPathKey = resolvedPathname;\n }\n // If this is a request for an app path that should be statically generated\n // and we aren't in the edge runtime, strip the flight headers so it will\n // generate the static response.\n if (!routeModule.isDev && !isDraftMode && isSSG && isRSCRequest && !isDynamicRSCRequest) {\n stripFlightHeaders(req.headers);\n }\n const ComponentMod = {\n ...entryBase,\n tree,\n handler,\n routeModule,\n __next_app__\n };\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest\n });\n }\n const method = req.method || 'GET';\n const tracer = getTracer();\n const activeSpan = tracer.getActiveScopeSpan();\n const isWrappedByNextServer = Boolean(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer);\n const remainingFallbackRouteParams = nextConfig.experimental.partialFallbacks === true && remainingPrerenderableParams.length > 0 ? (prerenderInfo == null ? void 0 : (_prerenderInfo_fallbackRouteParams = prerenderInfo.fallbackRouteParams) == null ? void 0 : _prerenderInfo_fallbackRouteParams.filter((param)=>!remainingPrerenderableParams.some((prerenderableParam)=>prerenderableParam.paramName === param.paramName))) ?? [] : [];\n const render404 = async ()=>{\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext == null ? void 0 : routerServerContext.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false);\n } else {\n res.end('This page could not be found');\n }\n return null;\n };\n try {\n const varyHeader = routeModule.getVaryHeader(resolvedPathname, interceptionRoutePatterns);\n res.setHeader('Vary', varyHeader);\n let parentSpan;\n const invokeRouteModule = async (span, context)=>{\n const nextReq = new NodeNextRequest(req);\n const nextRes = new NodeNextResponse(res);\n return routeModule.render(nextReq, nextRes, context).finally(()=>{\n if (!span) return;\n span.setAttributes({\n 'http.status_code': res.statusCode,\n 'next.rsc': false\n });\n const rootSpanAttributes = tracer.getRootSpanAttributes();\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return;\n }\n if (rootSpanAttributes.get('next.span_type') !== BaseServerSpan.handleRequest) {\n console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);\n return;\n }\n const route = rootSpanAttributes.get('next.route');\n if (route) {\n const name = `${method} ${route}`;\n span.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name\n });\n span.updateName(name);\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== span) {\n parentSpan.setAttribute('http.route', route);\n parentSpan.updateName(name);\n }\n } else {\n span.updateName(`${method} ${srcPage}`);\n }\n });\n };\n const incrementalCache = getRequestMeta(req, 'incrementalCache') || await routeModule.getIncrementalCache(req, nextConfig, prerenderManifest, isMinimalMode);\n incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();\n globalThis.__incrementalCache = incrementalCache;\n const doRender = async ({ span, postponed, fallbackRouteParams, forceStaticRender })=>{\n const context = {\n query,\n params,\n page: normalizedSrcPage,\n sharedContext: {\n buildId,\n deploymentId,\n clientAssetToken\n },\n serverComponentsHmrCache: getRequestMeta(req, 'serverComponentsHmrCache'),\n fallbackRouteParams,\n renderOpts: {\n App: ()=>null,\n Document: ()=>null,\n pageConfig: {},\n ComponentMod,\n Component: interopDefault(ComponentMod),\n params,\n routeModule,\n page: srcPage,\n postponed,\n shouldWaitOnAllReady,\n serveStreamingMetadata,\n supportsDynamicResponse: typeof postponed === 'string' || supportsDynamicResponse,\n buildManifest,\n nextFontManifest,\n reactLoadableManifest,\n subresourceIntegrityManifest,\n setCacheStatus: routerServerContext == null ? void 0 : routerServerContext.setCacheStatus,\n setIsrStatus: routerServerContext == null ? void 0 : routerServerContext.setIsrStatus,\n setReactDebugChannel: routerServerContext == null ? void 0 : routerServerContext.setReactDebugChannel,\n sendErrorsToBrowser: routerServerContext == null ? void 0 : routerServerContext.sendErrorsToBrowser,\n dir: process.env.NEXT_RUNTIME === 'nodejs' ? require('path').join(/* turbopackIgnore: true */ process.cwd(), routeModule.relativeProjectDir) : `${process.cwd()}/${routeModule.relativeProjectDir}`,\n isDraftMode,\n botType,\n isOnDemandRevalidate,\n isPossibleServerAction,\n assetPrefix: nextConfig.assetPrefix,\n nextConfigOutput: nextConfig.output,\n crossOrigin: nextConfig.crossOrigin,\n trailingSlash: nextConfig.trailingSlash,\n images: nextConfig.images,\n previewProps: prerenderManifest.preview,\n enableTainting: nextConfig.experimental.taint,\n htmlLimitedBots: nextConfig.htmlLimitedBots,\n reactMaxHeadersLength: nextConfig.reactMaxHeadersLength,\n multiZoneDraftMode,\n incrementalCache,\n cacheLifeProfiles: nextConfig.cacheLife,\n basePath: nextConfig.basePath,\n serverActions: nextConfig.experimental.serverActions,\n logServerFunctions: typeof nextConfig.logging === 'object' && Boolean(nextConfig.logging.serverFunctions),\n ...isDebugStaticShell || isDebugDynamicAccesses || isDebugFallbackShell ? {\n isBuildTimePrerendering: true,\n supportsDynamicResponse: false,\n isStaticGeneration: true,\n isDebugDynamicAccesses: isDebugDynamicAccesses\n } : {},\n cacheComponents: Boolean(nextConfig.cacheComponents),\n experimental: {\n isRoutePPREnabled,\n expireTime: nextConfig.expireTime,\n staleTimes: nextConfig.experimental.staleTimes,\n dynamicOnHover: Boolean(nextConfig.experimental.dynamicOnHover),\n optimisticRouting: Boolean(nextConfig.experimental.optimisticRouting),\n inlineCss: Boolean(nextConfig.experimental.inlineCss),\n prefetchInlining: nextConfig.experimental.prefetchInlining ?? false,\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n cachedNavigations: Boolean(nextConfig.experimental.cachedNavigations),\n clientTraceMetadata: nextConfig.experimental.clientTraceMetadata || [],\n clientParamParsingOrigins: nextConfig.experimental.clientParamParsingOrigins,\n maxPostponedStateSizeBytes: parseMaxPostponedStateSize(nextConfig.experimental.maxPostponedStateSize)\n },\n waitUntil: ctx.waitUntil,\n onClose: (cb)=>{\n res.on('close', cb);\n },\n onAfterTaskError: ()=>{},\n onInstrumentationRequestError: (error, _request, errorContext, silenceLog)=>routeModule.onRequestError(req, error, errorContext, silenceLog, routerServerContext),\n err: getRequestMeta(req, 'invokeError')\n }\n };\n // When we're revalidating in the background, we should not allow dynamic\n // responses.\n if (forceStaticRender) {\n context.renderOpts.supportsDynamicResponse = false;\n }\n const result = await invokeRouteModule(span, context);\n const { metadata } = result;\n const { cacheControl, headers = {}, // Add any fetch tags that were on the page to the response headers.\n fetchTags: cacheTags, fetchMetrics } = metadata;\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags;\n }\n // Pull any fetch metrics from the render onto the request.\n ;\n req.fetchMetrics = fetchMetrics;\n // we don't throw static to dynamic errors in dev as isSSG\n // is a best guess in dev since we don't have the prerender pass\n // to know whether the path is actually static or not\n if (isSSG && (cacheControl == null ? void 0 : cacheControl.revalidate) === 0 && !routeModule.isDev && !isRoutePPREnabled) {\n const staticBailoutInfo = metadata.staticBailoutInfo;\n const err = Object.defineProperty(new Error(`Page changed from static to dynamic at runtime ${resolvedPathname}${(staticBailoutInfo == null ? void 0 : staticBailoutInfo.description) ? `, reason: ${staticBailoutInfo.description}` : ``}` + `\\nsee more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`), \"__NEXT_ERROR_CODE\", {\n value: \"E132\",\n enumerable: false,\n configurable: true\n });\n if (staticBailoutInfo == null ? void 0 : staticBailoutInfo.stack) {\n const stack = staticBailoutInfo.stack;\n err.stack = err.message + stack.substring(stack.indexOf('\\n'));\n }\n throw err;\n }\n return {\n value: {\n kind: CachedRouteKind.APP_PAGE,\n html: result,\n headers,\n rscData: metadata.flightData,\n postponed: metadata.postponed,\n status: metadata.statusCode,\n segmentData: metadata.segmentData\n },\n cacheControl\n };\n };\n const responseGenerator = async ({ hasResolved, previousCacheEntry: previousIncrementalCacheEntry, isRevalidating, span, forceStaticRender = false })=>{\n const isProduction = routeModule.isDev === false;\n const didRespond = hasResolved || res.writableEnded;\n try {\n // skip on-demand revalidate if cache is not present and\n // revalidate-if-generated is set\n if (isOnDemandRevalidate && revalidateOnlyGenerated && !previousIncrementalCacheEntry && !isMinimalMode) {\n if (routerServerContext == null ? void 0 : routerServerContext.render404) {\n await routerServerContext.render404(req, res);\n } else {\n res.statusCode = 404;\n res.end('This page could not be found');\n }\n return null;\n }\n let fallbackMode;\n if (prerenderInfo) {\n fallbackMode = parseFallbackField(prerenderInfo.fallback);\n }\n if (nextConfig.experimental.partialFallbacks === true && (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === null && !hasUnresolvedRootFallbackParams && remainingPrerenderableParams.length > 0) {\n // Generic source shells without unresolved root params don't have a\n // concrete fallback file of their own, so they're marked as blocking.\n // When we can complete the shell into a more specific\n // prerendered shell for this request, treat it like a prerender\n // fallback so we can serve that shell instead of blocking on the full\n // route. Root-param shells stay blocking, since unknown root branches\n // should not inherit a shell from another generated branch.\n fallbackMode = FallbackMode.PRERENDER;\n }\n // When serving a HTML bot request, we want to serve a blocking render and\n // not the prerendered page. This ensures that the correct content is served\n // to the bot in the head.\n if (fallbackMode === FallbackMode.PRERENDER && isBot(userAgent)) {\n if (!isRoutePPREnabled || isHtmlBot) {\n fallbackMode = FallbackMode.BLOCKING_STATIC_RENDER;\n }\n }\n if ((previousIncrementalCacheEntry == null ? void 0 : previousIncrementalCacheEntry.isStale) === -1) {\n isOnDemandRevalidate = true;\n }\n // TODO: adapt for PPR\n // only allow on-demand revalidate for fallback: true/blocking\n // or for prerendered fallback: false paths\n if (isOnDemandRevalidate && (fallbackMode !== FallbackMode.NOT_FOUND || previousIncrementalCacheEntry)) {\n fallbackMode = FallbackMode.BLOCKING_STATIC_RENDER;\n }\n if (!isMinimalMode && fallbackMode !== FallbackMode.BLOCKING_STATIC_RENDER && staticPathKey && !didRespond && !isDraftMode && pageIsDynamic && (isProduction || !isPrerendered)) {\n // if the page has dynamicParams: false and this pathname wasn't\n // prerendered trigger the no fallback handling\n if (// In development, fall through to render to handle missing\n // getStaticPaths.\n (isProduction || prerenderInfo) && // When fallback isn't present, abort this render so we 404\n fallbackMode === FallbackMode.NOT_FOUND) {\n if (nextConfig.adapterPath) {\n return await render404();\n }\n throw new NoFallbackError();\n }\n // When cacheComponents is enabled, we can use the fallback\n // response if the request is not a dynamic RSC request because the\n // RSC data when this feature flag is enabled does not contain any\n // param references. Without this feature flag enabled, the RSC data\n // contains param references, and therefore we can't use the fallback.\n if (isRoutePPREnabled && (nextConfig.cacheComponents ? !isDynamicRSCRequest : !isRSCRequest)) {\n const cacheKey = isProduction && typeof (prerenderInfo == null ? void 0 : prerenderInfo.fallback) === 'string' ? prerenderInfo.fallback : normalizedSrcPage;\n const fallbackRouteParams = // In production or when debugging the static shell (e.g. instant\n // navigation testing), use the prerender manifest's fallback\n // route params which correctly identifies which params are\n // unknown. Note: in dev, this block is only entered for\n // non-prerendered URLs (guarded by the outer condition).\n (isProduction || isDebugStaticShell) && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) ? createOpaqueFallbackRouteParams(prerenderInfo.fallbackRouteParams) : // fallback (simulating the worst-case shell).\n isDebugFallbackShell ? getFallbackRouteParams(normalizedSrcPage, routeModule) : null;\n // When rendering a debug static shell, override the fallback\n // params on the request so that the staged rendering correctly\n // defers params that are not statically known.\n if (isDebugStaticShell && fallbackRouteParams) {\n addRequestMeta(req, 'fallbackParams', fallbackRouteParams);\n }\n // We use the response cache here to handle the revalidation and\n // management of the fallback shell.\n const fallbackResponse = await routeModule.handleResponse({\n cacheKey,\n req,\n nextConfig,\n routeKind: RouteKind.APP_PAGE,\n isFallback: true,\n prerenderManifest,\n isRoutePPREnabled,\n responseGenerator: async ()=>doRender({\n span,\n // We pass `undefined` as rendering a fallback isn't resumed\n // here.\n postponed: undefined,\n // Always serve the shell that matched this request\n // immediately. If there are still prerenderable params left,\n // the background path below will complete the shell into a\n // more specific cache entry for later requests.\n fallbackRouteParams,\n forceStaticRender: true\n }),\n waitUntil: ctx.waitUntil,\n isMinimalMode\n });\n // If the fallback response was set to null, then we should return null.\n if (fallbackResponse === null) return null;\n // Otherwise, if we did get a fallback response, we should return it.\n if (fallbackResponse) {\n if (!isMinimalMode && isRoutePPREnabled && // Match the build-time contract: only fallback shells that can\n // still be completed with prerenderable params should upgrade.\n remainingPrerenderableParams.length > 0 && nextConfig.experimental.partialFallbacks === true && ssgCacheKey && incrementalCache && !isOnDemandRevalidate && !isDebugFallbackShell && // The testing API relies on deterministic shell behavior, so\n // don't upgrade fallback shells in the background when it's\n // exposed.\n !exposeTestingApi && // Instant Navigation Testing API requests intentionally keep\n // the route in shell mode; don't upgrade these in background.\n !isInstantNavigationTest && // Avoid background revalidate during prefetches; this can trigger\n // static prerender errors that surface as 500s for the prefetch\n // request itself.\n !isPrefetchRSCRequest) {\n scheduleOnNextTick(async ()=>{\n const responseCache = routeModule.getResponseCache(req);\n try {\n // Only the params that were just specialized should be\n // removed from the fallback render. Any remaining fallback\n // params stay deferred so the revalidated result is a more\n // specific shell (e.g. `/prefix/c/[two]`), not a fully\n // concrete route (`/prefix/c/foo`).\n await responseCache.revalidate(ssgCacheKey, incrementalCache, isRoutePPREnabled, false, (c)=>{\n return doRender({\n span: c.span,\n postponed: undefined,\n fallbackRouteParams: remainingFallbackRouteParams.length > 0 ? createOpaqueFallbackRouteParams(remainingFallbackRouteParams) : null,\n forceStaticRender: true\n });\n }, // We don't have a prior entry for this param-specific shell.\n null, hasResolved, ctx.waitUntil);\n } catch (err) {\n console.error('Error revalidating the page in the background', err);\n }\n });\n }\n // Remove the cache control from the response to prevent it from being\n // used in the surrounding cache.\n delete fallbackResponse.cacheControl;\n return fallbackResponse;\n }\n }\n }\n // Only requests that aren't revalidating can be resumed. If we have the\n // minimal postponed data, then we should resume the render with it.\n let postponed = !isOnDemandRevalidate && !isRevalidating && minimalPostponed ? minimalPostponed : undefined;\n if (// If this is a dynamic RSC request or a server action request, we should\n // use the postponed data from the static render (if available). This\n // ensures that we can utilize the resume data cache (RDC) from the static\n // render to ensure that the data is consistent between the static and\n // dynamic renders (for navigations) or when re-rendering after a server\n // action.\n // Only enable RDC for Navigations if the feature is enabled.\n supportsRDCForNavigations && process.env.NEXT_RUNTIME !== 'edge' && !isMinimalMode && incrementalCache && // Include both dynamic RSC requests (navigations) and server actions\n (isDynamicRSCRequest || isPossibleServerAction) && // We don't typically trigger an on-demand revalidation for dynamic RSC\n // requests, as we're typically revalidating the page in the background\n // instead. However, if the cache entry is stale, we should trigger a\n // background revalidation on dynamic RSC requests. This prevents us\n // from entering an infinite loop of revalidations.\n !forceStaticRender) {\n const incrementalCacheEntry = await incrementalCache.get(resolvedPathname, {\n kind: IncrementalCacheKind.APP_PAGE,\n isRoutePPREnabled: true,\n isFallback: false\n });\n // If the cache entry is found, we should use the postponed data from\n // the cache.\n if (incrementalCacheEntry && incrementalCacheEntry.value && incrementalCacheEntry.value.kind === CachedRouteKind.APP_PAGE) {\n // CRITICAL: we're assigning the postponed data from the cache entry\n // here as we're using the RDC to resume the render.\n postponed = incrementalCacheEntry.value.postponed;\n // If the cache entry is stale, we should trigger a background\n // revalidation so that subsequent requests will get a fresh response.\n if (incrementalCacheEntry && // We want to trigger this flow if the cache entry is stale and if\n // the requested revalidation flow is either foreground or\n // background.\n (incrementalCacheEntry.isStale === -1 || incrementalCacheEntry.isStale === true)) {\n // We want to schedule this on the next tick to ensure that the\n // render is not blocked on it.\n scheduleOnNextTick(async ()=>{\n const responseCache = routeModule.getResponseCache(req);\n try {\n await responseCache.revalidate(resolvedPathname, incrementalCache, isRoutePPREnabled, false, (c)=>responseGenerator({\n ...c,\n // CRITICAL: we need to set this to true as we're\n // revalidating in the background and typically this dynamic\n // RSC request is not treated as static.\n forceStaticRender: true\n }), // CRITICAL: we need to pass null here because passing the\n // previous cache entry here (which is stale) will switch on\n // isOnDemandRevalidate and break the prerendering.\n null, hasResolved, ctx.waitUntil);\n } catch (err) {\n console.error('Error revalidating the page in the background', err);\n }\n });\n }\n }\n }\n // When we're in minimal mode, if we're trying to debug the static shell,\n // we should just return nothing instead of resuming the dynamic render.\n if ((isDebugStaticShell || isDebugDynamicAccesses) && typeof postponed !== 'undefined') {\n return {\n cacheControl: {\n revalidate: 1,\n expire: undefined\n },\n value: {\n kind: CachedRouteKind.PAGES,\n html: RenderResult.EMPTY,\n pageData: {},\n headers: undefined,\n status: undefined\n }\n };\n }\n const fallbackRouteParams = // In production or when debugging the static shell for a\n // non-prerendered URL, use the prerender manifest's fallback route\n // params which correctly identifies which params are unknown.\n (isProduction && getRequestMeta(req, 'renderFallbackShell') || isDebugStaticShell && !isPrerendered) && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams) ? createOpaqueFallbackRouteParams(prerenderInfo.fallbackRouteParams) : isDebugFallbackShell ? getFallbackRouteParams(normalizedSrcPage, routeModule) : null;\n // For staged dynamic rendering (Cached Navigations) and debug static\n // shell rendering, pass the fallback params via request meta so the\n // RequestStore knows which params to defer. We don't pass them as\n // fallbackRouteParams because that would replace actual param values\n // with opaque placeholders during segment resolution.\n if ((isProduction || isDebugStaticShell) && nextConfig.cacheComponents && !isPrerendered && (prerenderInfo == null ? void 0 : prerenderInfo.fallbackRouteParams)) {\n const fallbackParams = createOpaqueFallbackRouteParams(prerenderInfo.fallbackRouteParams);\n if (fallbackParams) {\n addRequestMeta(req, 'fallbackParams', fallbackParams);\n }\n }\n // Perform the render.\n return doRender({\n span,\n postponed,\n fallbackRouteParams,\n forceStaticRender\n });\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousIncrementalCacheEntry == null ? void 0 : previousIncrementalCacheEntry.isStale) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'render',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: isSSG,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n throw err;\n }\n };\n const handleResponse = async (span)=>{\n var _cacheEntry_value, _cachedData_headers;\n const cacheEntry = await routeModule.handleResponse({\n cacheKey: ssgCacheKey,\n responseGenerator: (c)=>responseGenerator({\n span,\n ...c\n }),\n routeKind: RouteKind.APP_PAGE,\n isOnDemandRevalidate,\n isRoutePPREnabled,\n req,\n nextConfig,\n prerenderManifest,\n waitUntil: ctx.waitUntil,\n isMinimalMode\n });\n if (isDraftMode) {\n res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');\n }\n // In dev, we should not cache pages for any reason.\n if (routeModule.isDev) {\n res.setHeader('Cache-Control', 'no-cache, must-revalidate');\n }\n if (!cacheEntry) {\n if (ssgCacheKey) {\n // A cache entry might not be generated if a response is written\n // in `getInitialProps` or `getServerSideProps`, but those shouldn't\n // have a cache key. If we do have a cache key but we don't end up\n // with a cache entry, then either Next.js or the application has a\n // bug that needs fixing.\n throw Object.defineProperty(new Error('invariant: cache entry required but not generated'), \"__NEXT_ERROR_CODE\", {\n value: \"E62\",\n enumerable: false,\n configurable: true\n });\n }\n return null;\n }\n if (((_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) !== CachedRouteKind.APP_PAGE) {\n var _cacheEntry_value1;\n throw Object.defineProperty(new Error(`Invariant app-page handler received invalid cache entry ${(_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E707\",\n enumerable: false,\n configurable: true\n });\n }\n const didPostpone = typeof cacheEntry.value.postponed === 'string';\n // Set the build ID header for RSC navigation requests when deploymentId is configured. This\n // corresponds with maybeAppendBuildIdToRSCPayload in app-render.tsx which omits the build ID\n // from the RSC payload when deploymentId is set (relying on this header instead). Server\n // actions are excluded here because action redirect responses get the deployment ID header\n // from the pre-fetched redirect target (via createRedirectRenderResult in action-handler.ts\n // which copies headers from the internal RSC fetch).\n // For static prerenders served from CDN, routes-manifest.json adds a header.\n if (isRSCRequest && !isPossibleServerAction && deploymentId) {\n res.setHeader(NEXT_NAV_DEPLOYMENT_ID_HEADER, deploymentId);\n }\n if (isSSG && // We don't want to send a cache header for requests that contain dynamic\n // data. If this is a Dynamic RSC request or wasn't a Prefetch RSC\n // request, then we should set the cache header.\n !isDynamicRSCRequest && (!didPostpone || isPrefetchRSCRequest)) {\n if (!isMinimalMode) {\n // set x-nextjs-cache header to match the header\n // we set for the image-optimizer\n res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');\n }\n // Set a header used by the client router to signal the response is static\n // and should respect the `static` cache staleTime value.\n res.setHeader(NEXT_IS_PRERENDER_HEADER, '1');\n }\n const { value: cachedData } = cacheEntry;\n // Coerce the cache control parameter from the render.\n let cacheControl;\n // If this is a resume request in minimal mode it is streamed with dynamic\n // content and should not be cached.\n if (minimalPostponed) {\n cacheControl = {\n revalidate: 0,\n expire: undefined\n };\n } else if (isDynamicRSCRequest) {\n cacheControl = {\n revalidate: 0,\n expire: undefined\n };\n } else if (!routeModule.isDev) {\n // If this is a preview mode request, we shouldn't cache it\n if (isDraftMode) {\n cacheControl = {\n revalidate: 0,\n expire: undefined\n };\n } else if (!isSSG) {\n if (!res.getHeader('Cache-Control')) {\n cacheControl = {\n revalidate: 0,\n expire: undefined\n };\n }\n } else if (cacheEntry.cacheControl) {\n // If the cache entry has a cache control with a revalidate value that's\n // a number, use it.\n if (typeof cacheEntry.cacheControl.revalidate === 'number') {\n var _cacheEntry_cacheControl;\n if (cacheEntry.cacheControl.revalidate < 1) {\n throw Object.defineProperty(new Error(`Invalid revalidate configuration provided: ${cacheEntry.cacheControl.revalidate} < 1`), \"__NEXT_ERROR_CODE\", {\n value: \"E22\",\n enumerable: false,\n configurable: true\n });\n }\n cacheControl = {\n revalidate: cacheEntry.cacheControl.revalidate,\n expire: ((_cacheEntry_cacheControl = cacheEntry.cacheControl) == null ? void 0 : _cacheEntry_cacheControl.expire) ?? nextConfig.expireTime\n };\n } else {\n cacheControl = {\n revalidate: CACHE_ONE_YEAR_SECONDS,\n expire: undefined\n };\n }\n }\n }\n cacheEntry.cacheControl = cacheControl;\n if (typeof segmentPrefetchHeader === 'string' && (cachedData == null ? void 0 : cachedData.kind) === CachedRouteKind.APP_PAGE && cachedData.segmentData) {\n var _cachedData_headers1;\n // This is a prefetch request issued by the client Segment Cache. These\n // should never reach the application layer (lambda). We should either\n // respond from the cache (HIT) or respond with 204 No Content (MISS).\n // Set a header to indicate that PPR is enabled for this route. This\n // lets the client distinguish between a regular cache miss and a cache\n // miss due to PPR being disabled. In other contexts this header is used\n // to indicate that the response contains dynamic data, but here we're\n // only using it to indicate that the feature is enabled — the segment\n // response itself contains whether the data is dynamic.\n res.setHeader(NEXT_DID_POSTPONE_HEADER, '2');\n // Add the cache tags header to the response if it exists and we're in\n // minimal mode while rendering a static page.\n const tags = (_cachedData_headers1 = cachedData.headers) == null ? void 0 : _cachedData_headers1[NEXT_CACHE_TAGS_HEADER];\n if (isMinimalMode && isSSG && tags && typeof tags === 'string') {\n res.setHeader(NEXT_CACHE_TAGS_HEADER, tags);\n }\n const matchedSegment = cachedData.segmentData.get(segmentPrefetchHeader);\n if (matchedSegment !== undefined) {\n // Cache hit\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: RenderResult.fromStatic(matchedSegment, RSC_CONTENT_TYPE_HEADER),\n cacheControl: cacheEntry.cacheControl\n });\n }\n // Cache miss. Either a cache entry for this route has not been generated\n // (which technically should not be possible when PPR is enabled, because\n // at a minimum there should always be a fallback entry) or there's no\n // match for the requested segment. Respond with a 204 No Content. We\n // don't bother to respond with 404, because these requests are only\n // issued as part of a prefetch.\n res.statusCode = 204;\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: RenderResult.EMPTY,\n cacheControl: cacheEntry.cacheControl\n });\n }\n // If there's a callback for `onCacheEntry`, call it with the cache entry\n // and the revalidate options. If we support RDC for Navigations, we\n // prefer the `onCacheEntryV2` callback. Once RDC for Navigations is the\n // default, we can remove the fallback to `onCacheEntry` as\n // `onCacheEntryV2` is now fully supported.\n const onCacheEntry = supportsRDCForNavigations ? getRequestMeta(req, 'onCacheEntryV2') ?? getRequestMeta(req, 'onCacheEntry') : getRequestMeta(req, 'onCacheEntry');\n if (onCacheEntry) {\n const finished = await onCacheEntry(cacheEntry, {\n url: getRequestMeta(req, 'initURL') ?? req.url\n });\n if (finished) return null;\n }\n if (cachedData.headers) {\n const headers = {\n ...cachedData.headers\n };\n if (!isMinimalMode || !isSSG) {\n delete headers[NEXT_CACHE_TAGS_HEADER];\n }\n for (let [key, value] of Object.entries(headers)){\n if (typeof value === 'undefined') continue;\n if (Array.isArray(value)) {\n for (const v of value){\n res.appendHeader(key, v);\n }\n } else if (typeof value === 'number') {\n value = value.toString();\n res.appendHeader(key, value);\n } else {\n res.appendHeader(key, value);\n }\n }\n }\n // Add the cache tags header to the response if it exists and we're in\n // minimal mode while rendering a static page.\n const tags = (_cachedData_headers = cachedData.headers) == null ? void 0 : _cachedData_headers[NEXT_CACHE_TAGS_HEADER];\n if (isMinimalMode && isSSG && tags && typeof tags === 'string') {\n res.setHeader(NEXT_CACHE_TAGS_HEADER, tags);\n }\n // If the request is a data request, then we shouldn't set the status code\n // from the response because it should always be 200. This should be gated\n // behind the experimental PPR flag.\n if (cachedData.status && (!isRSCRequest || !isRoutePPREnabled)) {\n res.statusCode = cachedData.status;\n }\n // Redirect information is encoded in RSC payload, so we don't need to use redirect status codes\n if (!isMinimalMode && cachedData.status && RedirectStatusCode[cachedData.status] && isRSCRequest) {\n res.statusCode = 200;\n }\n // Mark that the request did postpone.\n if (didPostpone && !isDynamicRSCRequest) {\n res.setHeader(NEXT_DID_POSTPONE_HEADER, '1');\n }\n // we don't go through this block when preview mode is true\n // as preview mode is a dynamic request (bypasses cache) and doesn't\n // generate both HTML and payloads in the same request so continue to just\n // return the generated payload\n if (isRSCRequest && !isDraftMode) {\n // If this is a dynamic RSC request, then stream the response.\n if (typeof cachedData.rscData === 'undefined') {\n // If the response is not an RSC response, then we can't serve it.\n if (cachedData.html.contentType !== RSC_CONTENT_TYPE_HEADER) {\n if (nextConfig.cacheComponents) {\n res.statusCode = 404;\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: RenderResult.EMPTY,\n cacheControl: cacheEntry.cacheControl\n });\n } else {\n // Otherwise this case is not expected.\n throw Object.defineProperty(new InvariantError(`Expected RSC response, got ${cachedData.html.contentType}`), \"__NEXT_ERROR_CODE\", {\n value: \"E789\",\n enumerable: false,\n configurable: true\n });\n }\n }\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: cachedData.html,\n cacheControl: cacheEntry.cacheControl\n });\n }\n // As this isn't a prefetch request, we should serve the static flight\n // data.\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: RenderResult.fromStatic(cachedData.rscData, RSC_CONTENT_TYPE_HEADER),\n cacheControl: cacheEntry.cacheControl\n });\n }\n // This is a request for HTML data.\n const body = cachedData.html;\n // Instant Navigation Testing API: serve the static shell with an\n // injected script that sets self.__next_instant_test and kicks off a\n // static RSC fetch for hydration. The transform stream also appends\n // closing </body></html> tags so the browser can parse the full document.\n // In dev mode, also inject self.__next_r so the HMR WebSocket and\n // debug channel can initialize.\n if (isInstantNavigationTest && isDebugStaticShell) {\n const instantTestRequestId = routeModule.isDev === true ? crypto.randomUUID() : null;\n body.pipeThrough(createInstantTestScriptInsertionTransformStream(instantTestRequestId));\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: body,\n cacheControl: {\n revalidate: 0,\n expire: undefined\n }\n });\n }\n // If there's no postponed state, we should just serve the HTML. This\n // should also be the case for a resume request because it's completed\n // as a server render (rather than a static render).\n if (!didPostpone || isMinimalMode || isRSCRequest) {\n // If we're in test mode, we should add a sentinel chunk to the response\n // that's between the static and dynamic parts so we can compare the\n // chunks and add assertions.\n if (process.env.__NEXT_TEST_MODE && isMinimalMode && isRoutePPREnabled && body.contentType === HTML_CONTENT_TYPE_HEADER) {\n // As we're in minimal mode, the static part would have already been\n // streamed first. The only part that this streams is the dynamic part\n // so we should FIRST stream the sentinel and THEN the dynamic part.\n body.unshift(createPPRBoundarySentinel());\n }\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: body,\n cacheControl: cacheEntry.cacheControl\n });\n }\n // If we're debugging the static shell or the dynamic API accesses, we\n // should just serve the HTML without resuming the render. The returned\n // HTML will be the static shell so all the Dynamic API's will be used\n // during static generation.\n if (isDebugStaticShell || isDebugDynamicAccesses) {\n // Since we're not resuming the render, we need to at least add the\n // closing body and html tags to create valid HTML.\n body.push(new ReadableStream({\n start (controller) {\n controller.enqueue(ENCODED_TAGS.CLOSED.BODY_AND_HTML);\n controller.close();\n }\n }));\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: body,\n cacheControl: {\n revalidate: 0,\n expire: undefined\n }\n });\n }\n // If we're in test mode, we should add a sentinel chunk to the response\n // that's between the static and dynamic parts so we can compare the\n // chunks and add assertions.\n if (process.env.__NEXT_TEST_MODE) {\n body.push(createPPRBoundarySentinel());\n }\n // This request has postponed, so let's create a new transformer that the\n // dynamic data can pipe to that will attach the dynamic data to the end\n // of the response.\n const transformer = new TransformStream();\n body.push(transformer.readable);\n // Perform the render again, but this time, provide the postponed state.\n // We don't await because we want the result to start streaming now, and\n // we've already chained the transformer's readable to the render result.\n doRender({\n span,\n postponed: cachedData.postponed,\n // This is a resume render, not a fallback render, so we don't need to\n // set this.\n fallbackRouteParams: null,\n forceStaticRender: false\n }).then(async (result)=>{\n var _result_value;\n if (!result) {\n throw Object.defineProperty(new Error('Invariant: expected a result to be returned'), \"__NEXT_ERROR_CODE\", {\n value: \"E463\",\n enumerable: false,\n configurable: true\n });\n }\n if (((_result_value = result.value) == null ? void 0 : _result_value.kind) !== CachedRouteKind.APP_PAGE) {\n var _result_value1;\n throw Object.defineProperty(new Error(`Invariant: expected a page response, got ${(_result_value1 = result.value) == null ? void 0 : _result_value1.kind}`), \"__NEXT_ERROR_CODE\", {\n value: \"E305\",\n enumerable: false,\n configurable: true\n });\n }\n // Pipe the resume result to the transformer.\n await result.value.html.pipeTo(transformer.writable);\n }).catch((err)=>{\n // An error occurred during piping or preparing the render, abort\n // the transformers writer so we can terminate the stream.\n transformer.writable.abort(err).catch((e)=>{\n console.error(\"couldn't abort transformer\", e);\n });\n });\n return sendRenderResult({\n req,\n res,\n generateEtags: nextConfig.generateEtags,\n poweredByHeader: nextConfig.poweredByHeader,\n result: body,\n // We don't want to cache the response if it has postponed data because\n // the response being sent to the client it's dynamic parts are streamed\n // to the client on the same request.\n cacheControl: {\n revalidate: 0,\n expire: undefined\n }\n });\n };\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan);\n } else {\n parentSpan = tracer.getActiveScopeSpan();\n return await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(BaseServerSpan.handleRequest, {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url\n }\n }, handleResponse), undefined, !isWrappedByNextServer);\n }\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false;\n await routeModule.onRequestError(req, err, {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'render',\n revalidateReason: getRevalidateReason({\n isStaticGeneration: isSSG,\n isOnDemandRevalidate\n })\n }, silenceLog, routerServerContext);\n }\n // rethrow so that we can handle serving error page\n throw err;\n }\n}\n// TODO: omit this from production builds, only test builds should include it\n/**\n * Creates a readable stream that emits a PPR boundary sentinel.\n *\n * @returns A readable stream that emits a PPR boundary sentinel.\n */ function createPPRBoundarySentinel() {\n return new ReadableStream({\n start (controller) {\n controller.enqueue(new TextEncoder().encode('<!-- PPR_BOUNDARY_SENTINEL -->'));\n controller.close();\n }\n });\n}\n\n//# sourceMappingURL=app-page.js.map\n"],"names":["icon #0","icon #1","layout #2","not-found #3","forbidden #4","unauthorized #5","global-error #6","page #7","tree","metadata","icon","props","mod","url","params","src","split","splice","sizes","width","height","type","__next_app_require__","__turbopack_context__","r","bind","__next_app_load_chunk__","l","__next_app__","require","loadChunk","routeModule","definition","kind","APP_PAGE","page","pathname","bundlePath","filename","appPaths","userland","loaderTree","distDir","relativeProjectDir","buildDynamicSegmentPlaceholder","param","repeat","optional","paramType","paramName","buildCompletedShellCacheKey","fallbackPathname","remainingPrerenderableParams","prerenderableParamsByName","Map","map","segment","segmentParam","remainingParam","get","value","encodedValue","Array","isArray","item","encodeURIComponent","join","replace","handler","req","res","ctx","_this","_prerenderManifest_routes_resolvedPathname","_prerenderInfo_fallbackRootParams","_prerenderInfo_fallbackRouteParams","requestMeta","isDev","process","hrtime","bigint","isMinimalMode","Boolean","srcPage","multiZoneDraftMode","prepareResult","prepare","statusCode","end","waitUntil","call","Promise","resolve","buildId","query","pageIsDynamic","buildManifest","nextFontManifest","reactLoadableManifest","serverActionsManifest","clientReferenceManifest","subresourceIntegrityManifest","prerenderManifest","isDraftMode","resolvedPathname","revalidateOnlyGenerated","routerServerContext","nextConfig","parsedUrl","interceptionRoutePatterns","deploymentId","clientAssetToken","normalizedSrcPage","isOnDemandRevalidate","prerenderMatch","experimental","ppr","cacheComponents","match","prerenderInfo","route","isPrerendered","routes","userAgent","headers","botType","isHtmlBot","isPrefetchRSCRequest","isRSCRequest","isPossibleServerAction","couldSupportPPR","resumeStateLengthHeader","stateLength","parseInt","maxPostponedStateSize","maxPostponedStateSizeBytes","isNaN","_nextConfig_experimental_serverActions","defaultActionBodySizeLimit","actionBodySizeLimit","serverActions","bodySizeLimit","actionBodySizeLimitBytes","parse","maxTotalBodySize","fullBody","length","postponedState","subarray","toString","actionBody","Object","defineProperty","Error","enumerable","configurable","method","body","postponed","hasDebugStaticShellQuery","__nextppronly","hasDebugFallbackShellQuery","exposeTestingApi","exposeTestingApiInProductionBuild","isInstantNavigationTest","undefined","cookie","includes","isRoutePPREnabled","dynamicRoutes","renderingMode","experimentalTestProxy","isDebugStaticShell","isDebugDynamicAccesses","isDebugFallbackShell","minimalPostponed","staticPrefetchDataRoute","prefetchDataRoute","isDynamicRSCRequest","segmentPrefetchHeader","serveStreamingMetadata","htmlLimitedBots","isSSG","supportsRDCForNavigations","supportsDynamicResponse","shouldWaitOnAllReady","hasUnresolvedRootFallbackParams","fallback","fallbackRootParams","ssgCacheKey","source","partialFallbacks","fallbackRouteParams","completedShellCacheKey","staticPathKey","ComponentMod","imported module 22351","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","remainingFallbackRouteParams","filter","some","prerenderableParam","render404","varyHeader","getVaryHeader","setHeader","parentSpan","invokeRouteModule","span","context","nextReq","nextRes","render","finally","setAttributes","rootSpanAttributes","getRootSpanAttributes","handleRequest","console","warn","name","updateName","setAttribute","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","doRender","forceStaticRender","sharedContext","serverComponentsHmrCache","renderOpts","App","Document","pageConfig","Component","setCacheStatus","setIsrStatus","setReactDebugChannel","sendErrorsToBrowser","dir","cwd","assetPrefix","nextConfigOutput","output","crossOrigin","trailingSlash","images","previewProps","preview","enableTainting","taint","reactMaxHeadersLength","cacheLifeProfiles","cacheLife","basePath","logServerFunctions","logging","serverFunctions","isBuildTimePrerendering","isStaticGeneration","expireTime","staleTimes","dynamicOnHover","optimisticRouting","inlineCss","prefetchInlining","authInterrupts","cachedNavigations","clientTraceMetadata","clientParamParsingOrigins","onClose","cb","on","onAfterTaskError","onInstrumentationRequestError","error","_request","errorContext","silenceLog","onRequestError","err","result","cacheControl","fetchTags","cacheTags","fetchMetrics","revalidate","staticBailoutInfo","description","stack","message","substring","indexOf","html","rscData","flightData","status","segmentData","responseGenerator","hasResolved","previousCacheEntry","previousIncrementalCacheEntry","isRevalidating","isProduction","didRespond","writableEnded","fallbackMode","PRERENDER","BLOCKING_STATIC_RENDER","isStale","NOT_FOUND","adapterPath","cacheKey","fallbackResponse","handleResponse","routeKind","isFallback","responseCache","getResponseCache","c","incrementalCacheEntry","expire","PAGES","EMPTY","pageData","fallbackParams","routerKind","routePath","routeType","revalidateReason","_cacheEntry_value","_cachedData_headers","cacheEntry","_cacheEntry_value1","didPostpone","isMiss","cachedData","getHeader","_cacheEntry_cacheControl","_cachedData_headers1","tags","matchedSegment","generateEtags","poweredByHeader","fromStatic","onCacheEntry","finished","key","entries","v","appendHeader","contentType","instantTestRequestId","crypto","randomUUID","pipeThrough","push","ReadableStream","start","controller","enqueue","CLOSED","BODY_AND_HTML","close","transformer","TransformStream","readable","then","_result_value","_result_value1","pipe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ATgB,EASJjL,IAGbmL,CACV,CACJ","ignoreList":[0]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},95832,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},10585,a=>{a.v("/_next/static/media/favicon.0i~66t__91s97.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},68611,a=>{"use strict";let b={src:a.i(10585).default,width:48,height:48};a.s(["default",0,b])},7524,a=>{a.v("/_next/static/media/icon.15.86wme~cdlv.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},39375,a=>{"use strict";let b={src:a.i(7524).default,width:32,height:32};a.s(["default",0,b])},80437,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/templates/page.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/templates/page.tsx <module evaluation>","default")},25195,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/templates/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/templates/page.tsx","default")},35764,a=>{"use strict";a.i(80437);var b=a.i(25195);a.n(b)},14894,a=>{a.n(a.i(35764))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0-7oo8o._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/.pnpm/next%4016.2.4_%40babel%2Bcore%407.29.0_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/src/shared/lib/invariant-error.ts","../../../../node_modules/.pnpm/%40swc%2Bhelpers%400.5.15/node_modules/%40swc/helpers/cjs/_interop_require_wildcard.cjs","../../../../src/app/favicon.ico.mjs%20%28structured%20image%20object%29","../../../../src/app/icon.svg.mjs%20%28structured%20image%20object%29","../../../../src/app/templates/page.tsx/__nextjs-internal-proxy.mjs"],"sourcesContent":["export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","\"use strict\";\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexports._ = _interop_require_wildcard;\n","import src from \"IMAGE\";\nexport default { src, width: 48, height: 48 }\n","import src from \"IMAGE\";\nexport default { src, width: 32, height: 32 }\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/src/app/templates/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/app/templates/page.tsx\",\n \"default\",\n);\n"],"names":["InvariantError","Error","constructor","message","options","endsWith","name","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_interop_require_wildcard","obj","__esModule","default","cache","has","get","newObj","__proto__","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","exports","_","src","width","height"],"mappings":"6QAAaA,iBAAAA,qCAAAA,IAAN,OAAMA,UAAuBC,MAClCC,YAAYC,CAAe,CAAEC,CAAsB,CAAE,CACnD,KAAK,CACH,CAAC,WAAW,EAAED,EAAQE,QAAQ,CAAC,KAAOF,EAAUA,EAAU,IAAI,0BAA0B,CAAC,CACzFC,GAEF,IAAI,CAACE,IAAI,CAAG,gBACd,CACF,gCCNA,SAASC,EAAyBC,CAAW,EACzC,GAAuB,YAAnB,OAAOC,QAAwB,OAAO,KAE1C,IAAIC,EAAoB,IAAID,QACxBE,EAAmB,IAAIF,QAE3B,MAAO,CAACF,EAA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AHW,CAAA,EADf,AACe,EADf,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAIA,MAAM,wQAA0Q,EACvS,uCACA","ignoreList":[0,1,4]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},95832,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},10585,a=>{a.v("/_next/static/media/favicon.0i~66t__91s97.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},68611,a=>{"use strict";let b={src:a.i(10585).default,width:48,height:48};a.s(["default",0,b])},7524,a=>{a.v("/_next/static/media/icon.15.86wme~cdlv.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},39375,a=>{"use strict";let b={src:a.i(7524).default,width:32,height:32};a.s(["default",0,b])},14806,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/new/page.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/new/page.tsx <module evaluation>","default")},74820,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/new/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/new/page.tsx","default")},53547,a=>{"use strict";a.i(14806);var b=a.i(74820);a.n(b)},79259,a=>{a.n(a.i(53547))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__01t9qm2._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/.pnpm/next%4016.2.4_%40babel%2Bcore%407.29.0_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/src/shared/lib/invariant-error.ts","../../../../node_modules/.pnpm/%40swc%2Bhelpers%400.5.15/node_modules/%40swc/helpers/cjs/_interop_require_wildcard.cjs","../../../../src/app/favicon.ico.mjs%20%28structured%20image%20object%29","../../../../src/app/icon.svg.mjs%20%28structured%20image%20object%29","../../../../src/app/new/page.tsx/__nextjs-internal-proxy.mjs"],"sourcesContent":["export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","\"use strict\";\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexports._ = _interop_require_wildcard;\n","import src from \"IMAGE\";\nexport default { src, width: 48, height: 48 }\n","import src from \"IMAGE\";\nexport default { src, width: 32, height: 32 }\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/src/app/new/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/app/new/page.tsx\",\n \"default\",\n);\n"],"names":["InvariantError","Error","constructor","message","options","endsWith","name","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_interop_require_wildcard","obj","__esModule","default","cache","has","get","newObj","__proto__","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","exports","_","src","width","height"],"mappings":"6QAAaA,iBAAAA,qCAAAA,IAAN,OAAMA,UAAuBC,MAClCC,YAAYC,CAAe,CAAEC,CAAsB,CAAE,CACnD,KAAK,CACH,CAAC,WAAW,EAAED,EAAQE,QAAQ,CAAC,KAAOF,EAAUA,EAAU,IAAI,0BAA0B,CAAC,CACzFC,GAEF,IAAI,CAACE,IAAI,CAAG,gBACd,CACF,gCCNA,SAASC,EAAyBC,CAAW,EACzC,GAAuB,YAAnB,OAAOC,QAAwB,OAAO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e,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAIlC,MAAM,sRAAwR,EACrT,qDACA,gEAHW,CAAA,EADf,AACe,EADf,CAAA,CAAA,OACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAIA,MAAM,kQAAoQ,EACjS,iCACA","ignoreList":[0,1,4]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},95832,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},11140,a=>{"use strict";a.s(["AppSidebar",()=>c,"SidebarBody",()=>d]);var b=a.i(80070);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call AppSidebar() from the server but AppSidebar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/app-sidebar.tsx <module evaluation>","AppSidebar"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call SidebarBody() from the server but SidebarBody is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/app-sidebar.tsx <module evaluation>","SidebarBody")},4313,a=>{"use strict";a.s(["AppSidebar",()=>c,"SidebarBody",()=>d]);var b=a.i(80070);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call AppSidebar() from the server but AppSidebar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/app-sidebar.tsx","AppSidebar"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call SidebarBody() from the server but SidebarBody is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/app-sidebar.tsx","SidebarBody")},9460,a=>{"use strict";a.i(11140);var b=a.i(4313);a.n(b)},31742,a=>{"use strict";a.s(["MobileTopBar",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call MobileTopBar() from the server but MobileTopBar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/mobile-top-bar.tsx <module evaluation>","MobileTopBar")},54317,a=>{"use strict";a.s(["MobileTopBar",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call MobileTopBar() from the server but MobileTopBar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/mobile-top-bar.tsx","MobileTopBar")},62759,a=>{"use strict";a.i(31742);var b=a.i(54317);a.n(b)},10401,66392,a=>{"use strict";var b=a.i(4613),c=a.i(9460),d=a.i(62759);a.s(["AppShell",0,function({children:a}){return(0,b.jsxs)("div",{className:"flex h-screen w-screen overflow-hidden bg-background text-foreground",children:[(0,b.jsx)(c.AppSidebar,{}),(0,b.jsxs)("div",{className:"flex flex-1 flex-col overflow-hidden",children:[(0,b.jsx)(d.MobileTopBar,{}),(0,b.jsx)("main",{className:"flex-1 overflow-y-auto",children:a})]})]})}],10401);let e=process.env.CHORUS_DAEMON_URL||"http://127.0.0.1:7707",f="/api/v1";class g extends Error{code;statusCode;details;constructor(a,b,c,d){super(c),this.code=a,this.statusCode=b,this.details=d,this.name="DaemonError"}}async function h(a,b={}){let c=a.startsWith("/")?a:`/${a}`,d=c===f||c.startsWith(`${f}/`)?c:`${f}${c}`,i=`${e.replace(/\/$/,"")}${d}`;try{let a=await fetch(i,{...b,headers:{"Content-Type":"application/json",...b.headers}}),c=await a.json().catch(()=>({ok:!1,error:{code:"parse_error",message:"Failed to parse response"}}));if(!c.ok)throw new g(c.error?.code||"unknown",a.status,c.error?.message||"Unknown error",c.error?.details);return c.data}catch(a){if(a instanceof g)throw a;if(a instanceof TypeError&&a.message.includes("fetch"))throw new g("connection_failed",0,"Failed to connect to Chorus daemon. Is it running?");throw new g("unknown",0,a instanceof Error?a.message:"Unknown error")}}a.s(["DaemonError",0,g,"fetchFromDaemon",0,h],66392)},95283,a=>{"use strict";var b=a.i(66392);async function c(){return(0,b.fetchFromDaemon)("/settings/permissions")}async function d(){return(0,b.fetchFromDaemon)("/settings")}async function e(){return(await (0,b.fetchFromDaemon)("/secrets")).items}a.s(["getPermissions",0,c,"getSettings",0,d,"listSecrets",0,e])},7524,a=>{a.v("/_next/static/media/icon.15.86wme~cdlv.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},39375,a=>{"use strict";let b={src:a.i(7524).default,width:32,height:32};a.s(["default",0,b])},10585,a=>{a.v("/_next/static/media/favicon.0i~66t__91s97.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},68611,a=>{"use strict";let b={src:a.i(10585).default,width:48,height:48};a.s(["default",0,b])},20953,a=>{"use strict";a.s(["PermissionsForm",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call PermissionsForm() from the server but PermissionsForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/settings/permissions/permissions-form.tsx <module evaluation>","PermissionsForm")},49983,a=>{"use strict";a.s(["PermissionsForm",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call PermissionsForm() from the server but PermissionsForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/settings/permissions/permissions-form.tsx","PermissionsForm")},67691,a=>{"use strict";a.i(20953);var b=a.i(49983);a.n(b)},78794,a=>{"use strict";var b=a.i(4613),c=a.i(10401),d=a.i(67691),e=a.i(95283);async function f(){let a=await (0,e.getPermissions)();return(0,b.jsx)(c.AppShell,{children:(0,b.jsxs)("div",{className:"mx-auto max-w-3xl space-y-6 px-4 py-8 sm:px-6",children:[(0,b.jsxs)("header",{className:"space-y-2",children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Permissions & sandbox"}),(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:"Controls what chorus-spawned reviewers can do on your machine. Settings here apply to every reviewer launched by every chat — they don't override per-template config."})]}),(0,b.jsx)(d.PermissionsForm,{initial:a})]})})}a.s(["default",0,f,"dynamic",0,"force-dynamic"])},35887,a=>{a.n(a.i(78794))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__076~t6~._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/.pnpm/next%4016.2.4_%40babel%2Bcore%407.29.0_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/src/shared/lib/invariant-error.ts","../../../../node_modules/.pnpm/%40swc%2Bhelpers%400.5.15/node_modules/%40swc/helpers/cjs/_interop_require_wildcard.cjs","../../../../src/components/app-sidebar.tsx/__nextjs-internal-proxy.mjs","../../../../src/components/mobile-top-bar.tsx/__nextjs-internal-proxy.mjs","../../../../src/components/app-shell.tsx","../../../../src/lib/api/client.ts","../../../../src/lib/api/settings.ts","../../../../src/app/icon.svg.mjs%20%28structured%20image%20object%29","../../../../src/app/favicon.ico.mjs%20%28structured%20image%20object%29","../../../../src/app/settings/permissions/permissions-form.tsx/__nextjs-internal-proxy.mjs","../../../../src/app/settings/permissions/page.tsx"],"sourcesContent":["export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","\"use strict\";\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexports._ = _interop_require_wildcard;\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const AppSidebar = registerClientReference(\n function() { throw new Error(\"Attempted to call AppSidebar() from the server but AppSidebar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/components/app-sidebar.tsx\",\n \"AppSidebar\",\n);\nexport const SidebarBody = registerClientReference(\n function() { throw new Error(\"Attempted to call SidebarBody() from the server but SidebarBody is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/components/app-sidebar.tsx\",\n \"SidebarBody\",\n);\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const MobileTopBar = registerClientReference(\n function() { throw new Error(\"Attempted to call MobileTopBar() from the server but MobileTopBar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/components/mobile-top-bar.tsx\",\n \"MobileTopBar\",\n);\n","import { AppSidebar } from \"./app-sidebar\";\nimport { MobileTopBar } from \"./mobile-top-bar\";\n\ninterface AppShellProps {\n children: React.ReactNode;\n}\n\n/**\n * App shell. The desktop top bar was retired — Search + New Chat now live\n * inside the sidebar so the run page (and every other text-heavy page)\n * gets the full vertical space. Mobile still needs a thin top bar with\n * just the hamburger that opens the mobile nav.\n */\nexport function AppShell({ children }: AppShellProps) {\n return (\n <div className=\"flex h-screen w-screen overflow-hidden bg-background text-foreground\">\n <AppSidebar />\n <div className=\"flex flex-1 flex-col overflow-hidden\">\n <MobileTopBar />\n <main className=\"flex-1 overflow-y-auto\">{children}</main>\n </div>\n </div>\n );\n}\n","// Fetch wrapper with error handling and base URL management\nimport { ApiResponse } from \"@/lib/types\";\n\n// Server-side: hit the daemon directly on this host.\n// Browser-side: go through the Next.js proxy at /api/daemon (the browser\n// cannot reach 127.0.0.1 on the server).\n//\n// API_PREFIX freezes the wire shape at v0.7 — every path passed to\n// fetchFromDaemon is implicitly under /api/v1. v0.8 may add /api/v2\n// alongside without breaking existing consumers.\nconst SERVER_BASE =\n process.env.CHORUS_DAEMON_URL || \"http://127.0.0.1:7707\";\nconst CLIENT_BASE = \"/api/daemon\";\nconst API_PREFIX = \"/api/v1\";\n\nfunction getBaseUrl(): string {\n if (typeof window === \"undefined\") return SERVER_BASE;\n return new URL(CLIENT_BASE, window.location.origin).toString();\n}\n\nexport class DaemonError extends Error {\n constructor(\n public code: string,\n public statusCode: number,\n message: string,\n /**\n * Optional structured payload mirrored from the server envelope's\n * `error.details`. Used for zod-issue lists from /templates POST so\n * the cockpit can pin each error to the field it references.\n */\n public details?: Record<string, unknown>,\n ) {\n super(message);\n this.name = \"DaemonError\";\n }\n}\n\nexport async function fetchFromDaemon<T>(\n path: string,\n options: RequestInit = {},\n): Promise<T> {\n const base = getBaseUrl();\n // Normalise to a leading-slash form first so the prefix check can\n // anchor on `/api/v1` exactly. Without this, `api/v1/foo` (no leading\n // slash) gets double-prefixed → `/api/v1/api/v1/foo`.\n const normalised = path.startsWith(\"/\") ? path : `/${path}`;\n // Exact-segment match — naive `startsWith` would match `/api/v10/...`\n // or `/api/v1foo/...` and skip prepending.\n const isPrefixed =\n normalised === API_PREFIX || normalised.startsWith(`${API_PREFIX}/`);\n const versionedPath = isPrefixed ? normalised : `${API_PREFIX}${normalised}`;\n const url = `${base.replace(/\\/$/, \"\")}${versionedPath}`;\n\n try {\n const response = await fetch(url, {\n ...options,\n headers: {\n \"Content-Type\": \"application/json\",\n ...options.headers,\n },\n });\n\n const data: ApiResponse<T> = await response.json().catch(() => ({\n ok: false,\n error: {\n code: \"parse_error\",\n message: \"Failed to parse response\",\n },\n }));\n\n if (!data.ok) {\n throw new DaemonError(\n data.error?.code || \"unknown\",\n response.status,\n data.error?.message || \"Unknown error\",\n data.error?.details,\n );\n }\n\n return data.data as T;\n } catch (error) {\n if (error instanceof DaemonError) {\n throw error;\n }\n\n if (error instanceof TypeError && error.message.includes(\"fetch\")) {\n throw new DaemonError(\n \"connection_failed\",\n 0,\n \"Failed to connect to Chorus daemon. Is it running?\",\n );\n }\n\n throw new DaemonError(\n \"unknown\",\n 0,\n error instanceof Error ? error.message : \"Unknown error\",\n );\n }\n}\n","// Settings and secrets API endpoints\nimport type { ListEnvelope, Settings, Secret } from \"@/lib/types\";\nimport { fetchFromDaemon } from \"./client\";\n\nexport type SandboxProfile = \"strict\" | \"workspace\" | \"full\";\n\nexport interface PermissionSettings {\n sandboxProfile: SandboxProfile;\n autoApprovePrompts: boolean;\n networkAccess: boolean;\n profileDescriptions?: Record<SandboxProfile, { label: string; description: string }>;\n}\n\nexport async function getPermissions(): Promise<PermissionSettings> {\n return fetchFromDaemon<PermissionSettings>(\"/settings/permissions\");\n}\n\nexport type DetectableCliId =\n | \"claude-code\"\n | \"codex-cli\"\n | \"gemini-cli\"\n | \"opencode-cli\"\n | \"kimi-cli\";\n\nexport interface CliDetection {\n id: DetectableCliId;\n found: boolean;\n path?: string;\n source?: \"path\" | \"fallback\" | \"manual\";\n /** Populated on manual validation failures — surfaces \"no file at\n * that path\", \"binary doesn't look like the claude CLI\", etc. so\n * the UI can show a concrete reason inline. */\n reason?: string;\n}\n\nexport async function detectInstalledClis(): Promise<CliDetection[]> {\n const env = await fetchFromDaemon<ListEnvelope<CliDetection>>(\"/onboard/detect-clis\");\n return env.items;\n}\n\nexport async function validateCliPath(\n id: DetectableCliId,\n path: string,\n): Promise<CliDetection> {\n return fetchFromDaemon<CliDetection>(\"/onboard/validate-cli-path\", {\n method: \"POST\",\n body: JSON.stringify({ id, path }),\n });\n}\n\n/**\n * Persist a manual CLI path for the daemon to use across restarts.\n * Backend re-validates server-side, so a stale React state can't store a\n * path that no longer runs. Returns the saved absolute path.\n */\nexport async function saveCliPath(\n id: DetectableCliId,\n path: string,\n): Promise<{ id: string; path: string }> {\n return fetchFromDaemon<{ id: string; path: string }>(\n \"/onboard/save-cli-path\",\n {\n method: \"POST\",\n body: JSON.stringify({ id, path }),\n },\n );\n}\n\nexport async function getSavedCliPaths(): Promise<Record<string, string>> {\n return fetchFromDaemon<Record<string, string>>(\"/onboard/cli-paths\");\n}\n\nexport async function clearSavedCliPath(\n id: DetectableCliId,\n): Promise<{ id: string; cleared: boolean }> {\n return fetchFromDaemon<{ id: string; cleared: boolean }>(\n `/onboard/cli-paths/${encodeURIComponent(id)}`,\n { method: \"DELETE\" },\n );\n}\n\nexport async function updatePermissions(\n patch: Partial<Omit<PermissionSettings, \"profileDescriptions\">>,\n): Promise<PermissionSettings> {\n return fetchFromDaemon<PermissionSettings>(\"/settings/permissions\", {\n method: \"PUT\",\n body: JSON.stringify(patch),\n });\n}\n\nexport async function getSettings(): Promise<Settings> {\n return fetchFromDaemon<Settings>(\"/settings\");\n}\n\nexport async function updateSettings(patch: Partial<Settings>): Promise<Settings> {\n return fetchFromDaemon<Settings>(\"/settings\", {\n method: \"PUT\",\n body: JSON.stringify(patch),\n });\n}\n\nexport type Transport = \"headless\" | \"tmux\";\n\nexport interface TransportSettings {\n transport: Transport;\n descriptions?: Record<Transport, { label: string; description: string }>;\n /** False on Windows OR when the tmux binary isn't on PATH — cockpit\n * greys out the Tmux card and shows an install hint instead of letting\n * the user opt into a mode whose first chat would hang. */\n tmuxAvailable?: boolean;\n}\n\nexport async function getTransport(): Promise<TransportSettings> {\n return fetchFromDaemon<TransportSettings>(\"/settings/transport\");\n}\n\nexport async function updateTransport(\n patch: { transport: Transport },\n): Promise<TransportSettings> {\n return fetchFromDaemon<TransportSettings>(\"/settings/transport\", {\n method: \"PUT\",\n body: JSON.stringify(patch),\n });\n}\n\nexport type BillingMode = \"api\" | \"subscription\" | \"mixed\";\n\nexport interface BillingSettings {\n mode: BillingMode;\n descriptions?: Record<BillingMode, { label: string; description: string }>;\n}\n\nexport async function getBillingMode(): Promise<BillingSettings> {\n return fetchFromDaemon<BillingSettings>(\"/settings/billing\");\n}\n\nexport async function updateBillingMode(\n patch: { mode: BillingMode },\n): Promise<BillingSettings> {\n return fetchFromDaemon<BillingSettings>(\"/settings/billing\", {\n method: \"PUT\",\n body: JSON.stringify(patch),\n });\n}\n\nexport interface TelemetryStatus {\n enabled: boolean;\n envOverride: boolean;\n fileOverride: boolean;\n settingValue: boolean | undefined;\n endpoint: string;\n}\n\nexport async function getTelemetryStatus(): Promise<TelemetryStatus> {\n return fetchFromDaemon<TelemetryStatus>(\"/settings/telemetry\");\n}\n\nexport async function updateTelemetryEnabled(\n enabled: boolean,\n): Promise<TelemetryStatus> {\n return fetchFromDaemon<TelemetryStatus>(\"/settings/telemetry\", {\n method: \"PUT\",\n body: JSON.stringify({ enabled }),\n });\n}\n\nexport async function listSecrets(): Promise<Secret[]> {\n const env = await fetchFromDaemon<ListEnvelope<Secret>>(\"/secrets\");\n return env.items;\n}\n\nexport async function upsertSecret(\n provider: string,\n secret: Omit<Secret, \"provider\">,\n): Promise<Secret> {\n return fetchFromDaemon<Secret>(`/secrets/${provider}`, {\n method: \"PUT\",\n body: JSON.stringify(secret),\n });\n}\n\n/**\n * Idempotent rotation. Returns `{ deleted }` indicating whether a row\n * was actually removed (`false` if it didn't exist). Cockpit can show\n * an info toast on `false` (\"nothing to delete\") if it cares.\n */\nexport async function deleteSecret(\n provider: string,\n): Promise<{ provider: string; deleted: boolean }> {\n return fetchFromDaemon<{ provider: string; deleted: boolean }>(\n `/secrets/${encodeURIComponent(provider)}`,\n { method: \"DELETE\" },\n );\n}\n","import src from \"IMAGE\";\nexport default { src, width: 32, height: 32 }\n","import src from \"IMAGE\";\nexport default { src, width: 48, height: 48 }\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const PermissionsForm = registerClientReference(\n function() { throw new Error(\"Attempted to call PermissionsForm() from the server but PermissionsForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/app/settings/permissions/permissions-form.tsx\",\n \"PermissionsForm\",\n);\n","import { AppShell } from \"@/components/app-shell\";\nimport { PermissionsForm } from \"./permissions-form\";\nimport { getPermissions } from \"@/lib/api/settings\";\n\nexport const dynamic = \"force-dynamic\";\n\nexport default async function PermissionsPage() {\n const settings = await getPermissions();\n\n return (\n <AppShell>\n <div className=\"mx-auto max-w-3xl space-y-6 px-4 py-8 sm:px-6\">\n <header className=\"space-y-2\">\n <h1 className=\"text-2xl font-semibold tracking-tight\">Permissions & sandbox</h1>\n <p className=\"text-sm text-muted-foreground\">\n Controls what chorus-spawned reviewers can do on your machine. Settings here apply\n to every reviewer launched by every chat — they don't override per-template config.\n </p>\n </header>\n\n <PermissionsForm initial={settings} />\n </div>\n </AppShell>\n );\n}\n"],"names":["InvariantError","Error","constructor","message","options","endsWith","name","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_interop_require_wildcard","obj","__esModule","default","cache","has","get","newObj","__proto__","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","exports","_","AppSidebar","SidebarBody","MobileTopBar","AppShell","children","className","getPermissions","detectInstalledClis","env","items","validateCliPath","id","path","method","body","JSON","stringify","saveCliPath","getSavedCliPaths","clearSavedCliPath","encodeURIComponent","updatePermissions","patch","getSettings","updateSettings","getTransport","updateTransport","getBillingMode","updateBillingMode","getTelemetryStatus","updateTelemetryEnabled","enabled","listSecrets","upsertSecret","provider","secret","deleteSecret","src","width","height","PermissionsForm","dynamic","PermissionsPage","settings","initial"],"mappings":"6QAAaA,iBAAAA,qCAAAA,IAAN,OAAMA,UAAuBC,MAClCC,YAAYC,CAAe,CAAEC,CAAsB,CAAE,CACnD,KAAK,CACH,CAAC,WAAW,EAAED,EAAQE,QAAQ,CAAC,KAAOF,EAAUA,EAAU,IAAI,0BAA0B,CAAC,CACzFC,GAEF,IAAI,CAACE,IAAI,CAAG,gBACd,CACF,gCCNA,SAASC,EAAyBC,CAAW,EACzC,GAAuB,YAAnB,OAAOC,QAAwB,OAAO,KAE1C,IAAIC,EAAoB,IAAID,QACxBE,EAAmB,IAAIF,QAE3B,MAAO,CAACF,EAA2B,SAASC,CAAW,EACnD,OAAOA,EAAcG,EAAmBD,CAC5C,CAAC,EAAEF,EACP,CA0BAuB,EAAQC,CAAC,CAzBT,EAyBYpB,OAzBHA,AAA0BC,CAAG,CAAEL,CAAW,EAC/C,GAAI,CAACA,GAAeK,GAAOA,EAAIC,UAAU,CAAE,OAAOD,EAClD,GAAY,OAARA,GAA+B,UAAf,OAAOA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,OAC+B,uBAAA,AAAuB,EAClD,WAAa,MAAM,AAAIxE,MAAM,4OAA8O,EAC3Q,kFACA,0EAHG,IAAMwE,EAAkB,CAAA,EAAA,AAD/B,EAAA,CAAA,CAAA,OAC+B,uBAAA,AAAuB,EAClD,WAAa,MAAM,AAAIxE,MAAM,4OAA8O,EAC3Q,8DACA,sHCLJ,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAIe,eAAe0E,IAC5B,IAAMC,EAAW,MAAM,CAAA,EAAA,EAAA,cAAA,AAAc,IAErC,MACE,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,QAAQ,CAAA,UACP,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAItC,UAAU,0DACb,CAAA,EAAA,EAAA,IAAA,EAAC,SAAA,CAAOA,UAAU,sBAChB,CAAA,EAAA,EAAA,GAAA,EAAC,KAAA,CAAGA,UAAU,iDAAwC,0BACtD,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEA,UAAU,yCAAgC,8KAM/C,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,eAAe,CAAA,CAACuC,QAASD,QAIlC,gCApBuB","ignoreList":[0,1,2,3,9]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[7090,a=>{"use strict";let b=(0,a.i(91870).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);a.s(["ArrowRight",0,b],7090)},68103,a=>{"use strict";let b=(0,a.i(91870).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);a.s(["CheckCircle2",0,b],68103)},24897,a=>{"use strict";var b=a.i(92415);async function c(a){return(await (0,b.fetchFromDaemon)(`/voices${function(a){if(!a)return"";let b=[];return a.lineage&&b.push(`lineage=${encodeURIComponent(a.lineage)}`),a.source&&b.push(`source=${encodeURIComponent(a.source)}`),a.provider&&b.push(`provider=${encodeURIComponent(a.provider)}`),void 0!==a.enabled&&b.push(`enabled=${a.enabled?"true":"false"}`),0===b.length?"":`?${b.join("&")}`}(a)}`)).items}async function d(a,c){return(0,b.fetchFromDaemon)(`/voices/${encodeURIComponent(a)}`,{method:"PUT",body:JSON.stringify(c)})}async function e(a){return(0,b.fetchFromDaemon)("/voices",{method:"POST",body:JSON.stringify(a)})}a.s(["createVoice",0,e,"listVoices",0,c,"updateVoice",0,d])},5365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},92415,a=>{"use strict";let b=process.env.CHORUS_DAEMON_URL||"http://127.0.0.1:7707",c="/api/v1";class d extends Error{code;statusCode;details;constructor(a,b,c,d){super(c),this.code=a,this.statusCode=b,this.details=d,this.name="DaemonError"}}async function e(a,f={}){let g=a.startsWith("/")?a:`/${a}`,h=g===c||g.startsWith(`${c}/`)?g:`${c}${g}`,i=`${b.replace(/\/$/,"")}${h}`;try{let a=await fetch(i,{...f,headers:{"Content-Type":"application/json",...f.headers}}),b=await a.json().catch(()=>({ok:!1,error:{code:"parse_error",message:"Failed to parse response"}}));if(!b.ok)throw new d(b.error?.code||"unknown",a.status,b.error?.message||"Unknown error",b.error?.details);return b.data}catch(a){if(a instanceof d)throw a;if(a instanceof TypeError&&a.message.includes("fetch"))throw new d("connection_failed",0,"Failed to connect to Chorus daemon. Is it running?");throw new d("unknown",0,a instanceof Error?a.message:"Unknown error")}}a.s(["DaemonError",0,d,"fetchFromDaemon",0,e])},64837,a=>{"use strict";let b=(0,a.i(91870).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);a.s(["AlertTriangle",0,b],64837)},84623,a=>{"use strict";let b=(0,a.i(91870).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);a.s(["Check",0,b],84623)},88923,a=>{"use strict";let b={anthropic:"Claude",openai:"Codex",google:"Gemini",opencode:"OpenCode",moonshot:"Kimi"},c={anthropic:"bg-violet-400",openai:"bg-orange-400",google:"bg-blue-400",opencode:"bg-emerald-400",moonshot:"bg-pink-400"},d={claude:"Claude",codex:"Codex",gemini:"Gemini",opencode:"OpenCode",kimi:"Kimi",openrouter:"OpenRouter"},e={claude:"bg-violet-400",codex:"bg-orange-400",gemini:"bg-blue-400",opencode:"bg-emerald-400",kimi:"bg-pink-400",openrouter:"bg-cyan-400"},f={claude:"claude-opus-4-7",codex:"gpt-5.5",gemini:"gemini-3.1-pro-preview",opencode:"kimi-k2.6",kimi:"kimi-k2.6",openrouter:""};a.s(["LINEAGE_LABEL",0,b,"UI_LINEAGE_BRAND",0,{claude:{dot:"bg-violet-400",ring:"ring-violet-400/40",gradient:"bg-gradient-to-b from-violet-500/15 to-card"},codex:{dot:"bg-orange-400",ring:"ring-orange-400/40",gradient:"bg-gradient-to-b from-orange-500/15 to-card"},gemini:{dot:"bg-blue-400",ring:"ring-blue-400/40",gradient:"bg-gradient-to-b from-blue-500/15 to-card"},opencode:{dot:"bg-emerald-400",ring:"ring-emerald-400/40",gradient:"bg-gradient-to-b from-emerald-500/15 to-card"},kimi:{dot:"bg-pink-400",ring:"ring-pink-400/40",gradient:"bg-gradient-to-b from-pink-500/15 to-card"},openrouter:{dot:"bg-cyan-400",ring:"ring-cyan-400/40",gradient:"bg-gradient-to-b from-cyan-500/15 to-card"}},"UI_LINEAGE_DEFAULT_MODEL",0,f,"UI_LINEAGE_LABEL",0,d,"lineageDot",0,function(a){return a?c[a]??"bg-muted":"bg-muted"},"lineageLabel",0,function(a){return a?b[a]??a:""},"uiLineageDefaultModel",0,function(a){if(a)return f[a]},"uiLineageDot",0,function(a){return a?e[a]??"bg-muted":"bg-muted"},"uiLineageLabel",0,function(a){return a?d[a]??a:""}])},32349,a=>{"use strict";let b=(0,a.i(91870).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.s(["ChevronDown",0,b],32349)},14342,a=>{"use strict";let b=(0,a.i(91870).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);a.s(["Clock",0,b],14342)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0_tow-j._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/.pnpm/lucide-react%401.12.0_react%4019.2.4/node_modules/lucide-react/src/icons/arrow-right.ts","../../../../node_modules/.pnpm/lucide-react%401.12.0_react%4019.2.4/node_modules/lucide-react/src/icons/circle-check.ts","../../../../src/lib/api/voices.ts","../../../../src/lib/api/client.ts","../../../../node_modules/.pnpm/lucide-react%401.12.0_react%4019.2.4/node_modules/lucide-react/src/icons/triangle-alert.ts","../../../../node_modules/.pnpm/lucide-react%401.12.0_react%4019.2.4/node_modules/lucide-react/src/icons/check.ts","../../../../src/lib/lineage-maps.ts","../../../../node_modules/.pnpm/lucide-react%401.12.0_react%4019.2.4/node_modules/lucide-react/src/icons/chevron-down.ts","../../../../node_modules/.pnpm/lucide-react%401.12.0_react%4019.2.4/node_modules/lucide-react/src/icons/clock.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M5 12h14', key: '1ays0h' }],\n ['path', { d: 'm12 5 7 7-7 7', key: 'xquz4c' }],\n];\n\n/**\n * @component @name ArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ArrowRight = createLucideIcon('arrow-right', __iconNode);\n\nexport default ArrowRight;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'm9 12 2 2 4-4', key: 'dzmm74' }],\n];\n\n/**\n * @component @name CircleCheck\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/circle-check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheck = createLucideIcon('circle-check', __iconNode);\n\nexport default CircleCheck;\n","// Voices API client — talks to /voices on the daemon.\n//\n// See planning/voices.md for the abstraction's design rationale.\n\nimport type { ListEnvelope } from \"@/lib/types\";\nimport { fetchFromDaemon } from \"./client\";\n\nexport type VoiceLineage = \"anthropic\" | \"openai\" | \"google\" | \"opencode\" | \"moonshot\";\nexport type VoiceSource = \"cli\" | \"api\";\n\nexport interface Voice {\n id: string;\n label: string;\n source: VoiceSource;\n provider: string;\n model_id: string;\n lineage: VoiceLineage;\n vendor_family: string | null;\n input_cost_per_mtok: number | null;\n output_cost_per_mtok: number | null;\n enabled: boolean;\n created_at: number;\n updated_at: number;\n}\n\nexport interface VoiceListFilter {\n lineage?: VoiceLineage;\n source?: VoiceSource;\n provider?: string;\n /** When undefined, returns ALL voices (enabled + disabled). */\n enabled?: boolean;\n}\n\nexport interface VoiceUpdate {\n label?: string;\n enabled?: boolean;\n input_cost_per_mtok?: number | null;\n output_cost_per_mtok?: number | null;\n}\n\nexport interface VoiceCreate {\n provider: string;\n model_id: string;\n label: string;\n lineage: VoiceLineage;\n source?: VoiceSource;\n vendor_family?: string | null;\n input_cost_per_mtok?: number | null;\n output_cost_per_mtok?: number | null;\n enabled?: boolean;\n}\n\nfunction buildQuery(filter?: VoiceListFilter): string {\n if (!filter) return \"\";\n const parts: string[] = [];\n if (filter.lineage) parts.push(`lineage=${encodeURIComponent(filter.lineage)}`);\n if (filter.source) parts.push(`source=${encodeURIComponent(filter.source)}`);\n if (filter.provider) parts.push(`provider=${encodeURIComponent(filter.provider)}`);\n if (filter.enabled !== undefined) parts.push(`enabled=${filter.enabled ? \"true\" : \"false\"}`);\n return parts.length === 0 ? \"\" : `?${parts.join(\"&\")}`;\n}\n\nexport async function listVoices(filter?: VoiceListFilter): Promise<Voice[]> {\n const env = await fetchFromDaemon<ListEnvelope<Voice>>(`/voices${buildQuery(filter)}`);\n return env.items;\n}\n\nexport async function updateVoice(id: string, patch: VoiceUpdate): Promise<Voice> {\n return fetchFromDaemon<Voice>(`/voices/${encodeURIComponent(id)}`, {\n method: \"PUT\",\n body: JSON.stringify(patch),\n });\n}\n\nexport async function createVoice(input: VoiceCreate): Promise<Voice> {\n return fetchFromDaemon<Voice>(\"/voices\", {\n method: \"POST\",\n body: JSON.stringify(input),\n });\n}\n\n","// Fetch wrapper with error handling and base URL management\nimport { ApiResponse } from \"@/lib/types\";\n\n// Server-side: hit the daemon directly on this host.\n// Browser-side: go through the Next.js proxy at /api/daemon (the browser\n// cannot reach 127.0.0.1 on the server).\n//\n// API_PREFIX freezes the wire shape at v0.7 — every path passed to\n// fetchFromDaemon is implicitly under /api/v1. v0.8 may add /api/v2\n// alongside without breaking existing consumers.\nconst SERVER_BASE =\n process.env.CHORUS_DAEMON_URL || \"http://127.0.0.1:7707\";\nconst CLIENT_BASE = \"/api/daemon\";\nconst API_PREFIX = \"/api/v1\";\n\nfunction getBaseUrl(): string {\n if (typeof window === \"undefined\") return SERVER_BASE;\n return new URL(CLIENT_BASE, window.location.origin).toString();\n}\n\nexport class DaemonError extends Error {\n constructor(\n public code: string,\n public statusCode: number,\n message: string,\n /**\n * Optional structured payload mirrored from the server envelope's\n * `error.details`. Used for zod-issue lists from /templates POST so\n * the cockpit can pin each error to the field it references.\n */\n public details?: Record<string, unknown>,\n ) {\n super(message);\n this.name = \"DaemonError\";\n }\n}\n\nexport async function fetchFromDaemon<T>(\n path: string,\n options: RequestInit = {},\n): Promise<T> {\n const base = getBaseUrl();\n // Normalise to a leading-slash form first so the prefix check can\n // anchor on `/api/v1` exactly. Without this, `api/v1/foo` (no leading\n // slash) gets double-prefixed → `/api/v1/api/v1/foo`.\n const normalised = path.startsWith(\"/\") ? path : `/${path}`;\n // Exact-segment match — naive `startsWith` would match `/api/v10/...`\n // or `/api/v1foo/...` and skip prepending.\n const isPrefixed =\n normalised === API_PREFIX || normalised.startsWith(`${API_PREFIX}/`);\n const versionedPath = isPrefixed ? normalised : `${API_PREFIX}${normalised}`;\n const url = `${base.replace(/\\/$/, \"\")}${versionedPath}`;\n\n try {\n const response = await fetch(url, {\n ...options,\n headers: {\n \"Content-Type\": \"application/json\",\n ...options.headers,\n },\n });\n\n const data: ApiResponse<T> = await response.json().catch(() => ({\n ok: false,\n error: {\n code: \"parse_error\",\n message: \"Failed to parse response\",\n },\n }));\n\n if (!data.ok) {\n throw new DaemonError(\n data.error?.code || \"unknown\",\n response.status,\n data.error?.message || \"Unknown error\",\n data.error?.details,\n );\n }\n\n return data.data as T;\n } catch (error) {\n if (error instanceof DaemonError) {\n throw error;\n }\n\n if (error instanceof TypeError && error.message.includes(\"fetch\")) {\n throw new DaemonError(\n \"connection_failed\",\n 0,\n \"Failed to connect to Chorus daemon. Is it running?\",\n );\n }\n\n throw new DaemonError(\n \"unknown\",\n 0,\n error instanceof Error ? error.message : \"Unknown error\",\n );\n }\n}\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'm21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3',\n key: 'wmoenq',\n },\n ],\n ['path', { d: 'M12 9v4', key: 'juzpu7' }],\n ['path', { d: 'M12 17h.01', key: 'p32p05' }],\n];\n\n/**\n * @component @name TriangleAlert\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/triangle-alert\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst TriangleAlert = createLucideIcon('triangle-alert', __iconNode);\n\nexport default TriangleAlert;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'M20 6 9 17l-5-5', key: '1gmf2c' }]];\n\n/**\n * @component @name Check\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Check = createLucideIcon('check', __iconNode);\n\nexport default Check;\n","/**\n * Single source of truth for lineage display labels and colour swatches.\n *\n * Two parallel maps because the data flows from two directions:\n * - Templates use the daemon-side YAML schema lineage names (\"anthropic\",\n * \"openai\", \"google\", \"opencode\", \"moonshot\"). UI helpers translate\n * these to the cockpit-side ReviewerLineage names (\"claude\", \"codex\",\n * \"gemini\", \"opencode\", \"kimi\") via UI_LINEAGE_MAP / mapLineage.\n * - Personas use the daemon-side names directly via recommended_lineage.\n *\n * Keep both maps keyed by the daemon-side names; let callers translate\n * inputs once at the boundary and look up via the canonical key.\n */\n\nexport type DaemonLineage =\n | \"anthropic\"\n | \"openai\"\n | \"google\"\n | \"opencode\"\n | \"moonshot\";\n\nexport const LINEAGE_LABEL: Record<DaemonLineage, string> = {\n anthropic: \"Claude\",\n openai: \"Codex\",\n google: \"Gemini\",\n opencode: \"OpenCode\",\n moonshot: \"Kimi\",\n};\n\n/** Tailwind background colour class for the small lineage dot indicator. */\nconst LINEAGE_DOT: Record<DaemonLineage, string> = {\n anthropic: \"bg-violet-400\",\n openai: \"bg-orange-400\",\n google: \"bg-blue-400\",\n opencode: \"bg-emerald-400\",\n moonshot: \"bg-pink-400\",\n};\n\n/** Returns the human label for a lineage, falling back to the raw key. */\nexport function lineageLabel(lineage: string | undefined): string {\n if (!lineage) return \"\";\n return LINEAGE_LABEL[lineage as DaemonLineage] ?? lineage;\n}\n\n/** Returns the dot colour class, falling back to a neutral muted dot. */\nexport function lineageDot(lineage: string | undefined): string {\n if (!lineage) return \"bg-muted\";\n return LINEAGE_DOT[lineage as DaemonLineage] ?? \"bg-muted\";\n}\n\n/**\n * UI-side lineage names — used by cockpit components that operate on the\n * `ReviewerLineage` enum (claude/codex/gemini/opencode/kimi). Kept in sync\n * with the daemon-side maps above; the cockpit calls these directly without\n * a translation step.\n */\nexport type UILineage =\n | \"claude\"\n | \"codex\"\n | \"gemini\"\n | \"opencode\"\n | \"kimi\"\n | \"openrouter\";\n\nexport const UI_LINEAGE_LABEL: Record<UILineage, string> = {\n claude: \"Claude\",\n codex: \"Codex\",\n gemini: \"Gemini\",\n opencode: \"OpenCode\",\n kimi: \"Kimi\",\n // Meta-lineage for HTTP-dispatched voices. The real underlying lineage\n // (anthropic/openai/google/etc.) is preserved on the voices table for\n // diversity scoring; this label is what the cockpit cards show because\n // the runner creates `reviewer-openrouter-N` dirs regardless of the\n // underlying model.\n openrouter: \"OpenRouter\",\n};\n\nconst UI_LINEAGE_DOT: Record<UILineage, string> = {\n claude: \"bg-violet-400\",\n codex: \"bg-orange-400\",\n gemini: \"bg-blue-400\",\n opencode: \"bg-emerald-400\",\n kimi: \"bg-pink-400\",\n // Cyan picked over amber — amber reads as \"warning/in-progress\" in UI\n // convention, which clashed with lineage-as-brand semantics. Cyan is\n // brand-distinct without state ambiguity.\n openrouter: \"bg-cyan-400\",\n};\n\nexport function uiLineageLabel(lineage: string | undefined): string {\n if (!lineage) return \"\";\n return UI_LINEAGE_LABEL[lineage as UILineage] ?? lineage;\n}\n\nexport function uiLineageDot(lineage: string | undefined): string {\n if (!lineage) return \"bg-muted\";\n return UI_LINEAGE_DOT[lineage as UILineage] ?? \"bg-muted\";\n}\n\n/**\n * Default model per UI lineage when a template's `models: []` is empty.\n * Mirrors the per-lineage defaults used by phase-editor and new-template-dialog;\n * lifted here so the run page can show the actual model on cards even when\n * the YAML omits it.\n */\nexport const UI_LINEAGE_DEFAULT_MODEL: Record<UILineage, string> = {\n claude: \"claude-opus-4-7\",\n codex: \"gpt-5.5\",\n gemini: \"gemini-3.1-pro-preview\",\n opencode: \"kimi-k2.6\",\n kimi: \"kimi-k2.6\",\n // No sensible default for openrouter — user explicitly selects a model.\n // Empty string lets `models?.[0] ?? defaultModel` resolve to \"\" which\n // the run page treats as \"no model\" (skips the · model · separator).\n openrouter: \"\",\n};\n\n/**\n * Curated model lists per CLI. Used as a fallback when the CLI doesn't\n * expose a live model-listing command (claude / gemini / kimi today). For\n * codex we run `codex debug models` at seed time and prefer the live\n * catalog; the list below is the safety net if that probe fails.\n *\n * Cross-checked against `opencode models` (which aggregates upstream\n * provider names) and `codex debug models` so entries here are real\n * model ids the corresponding CLI accepts. Don't list speculative names —\n * a wrong entry here is what makes the home page look unprofessional.\n *\n * Order = recommended first; the first entry is the canonical default\n * and matches UI_LINEAGE_DEFAULT_MODEL.\n *\n * OpenCode is omitted because it's always discovered live via\n * `opencode models` (gateway-aware). Cursor/Windsurf are IDE\n * orchestrators with no model selection of their own.\n */\nexport const UI_LINEAGE_AVAILABLE_MODELS: Partial<Record<UILineage, string[]>> = {\n claude: [\n \"claude-opus-4-7\",\n \"claude-sonnet-4-6\",\n \"claude-sonnet-4-5\",\n \"claude-haiku-4-5\",\n \"claude-opus-4-5\",\n ],\n codex: [\n \"gpt-5.5\",\n \"gpt-5.4\",\n \"gpt-5.4-mini\",\n \"gpt-5.3-codex\",\n \"gpt-5.2\",\n ],\n // Gemini list verified 2026-05-04 by `gemini -p \"ok\" --model <X>`.\n // gemini-3-flash returned ModelNotFoundError; only the names below\n // are accepted by the current Gemini CLI version.\n gemini: [\n \"gemini-3.1-pro-preview\",\n \"gemini-2.5-pro\",\n \"gemini-2.5-flash\",\n ],\n // Kimi list cross-checked against the official kimi-cli docs +\n // source (2026-05-04):\n // - CHANGELOG.md: kimi-k2.6, kimi-k2-thinking\n // - klips/klip-6: kimi-k2-thinking-turbo (recommended turbo flagship)\n // - sdks/kimi-sdk/README.md, klips/klip-7: kimi-k2-turbo-preview\n // - Welcome screen dropped hardcoded kimi-k2.5, but it still works\n // Not end-to-end probed because the dedicated kimi CLI needs a\n // separate Moonshot account login; cross-referenced from official docs\n // is the next-best signal.\n // Index 0 must match UI_LINEAGE_DEFAULT_MODEL.kimi to keep the seed's\n // immutable provider row pointed at the same default. kimi-k2.6 has\n // been the chorus default since v0.7; not auto-rotating to the\n // turbo-thinking variant here so existing installs don't silently\n // change behavior. Users can still toggle the turbo entries on.\n kimi: [\n \"kimi-k2.6\",\n \"kimi-k2-thinking-turbo\",\n \"kimi-k2-turbo-preview\",\n \"kimi-k2-thinking\",\n \"kimi-k2.5\",\n ],\n};\n\nexport function uiLineageDefaultModel(lineage: string | undefined): string | undefined {\n if (!lineage) return undefined;\n return UI_LINEAGE_DEFAULT_MODEL[lineage as UILineage];\n}\n\n/**\n * Per-CLI brand identity. ONE place to adjust colors so the violet=Claude,\n * blue=Gemini, etc. mapping never drifts across the run page, template\n * editor, sidebar, and connect surfaces. Add new CLIs here, not in callers.\n */\nexport interface LineageBrand {\n /** 400-shade for solid dots/swatches. */\n dot: string;\n /** 500-shade for ring/border accents. */\n ring: string;\n /** Subtle vertical gradient applied to participant cards. */\n gradient: string;\n}\n\nexport const UI_LINEAGE_BRAND: Record<UILineage, LineageBrand> = {\n claude: {\n dot: \"bg-violet-400\",\n ring: \"ring-violet-400/40\",\n gradient: \"bg-gradient-to-b from-violet-500/15 to-card\",\n },\n codex: {\n dot: \"bg-orange-400\",\n ring: \"ring-orange-400/40\",\n gradient: \"bg-gradient-to-b from-orange-500/15 to-card\",\n },\n gemini: {\n dot: \"bg-blue-400\",\n ring: \"ring-blue-400/40\",\n gradient: \"bg-gradient-to-b from-blue-500/15 to-card\",\n },\n opencode: {\n dot: \"bg-emerald-400\",\n ring: \"ring-emerald-400/40\",\n gradient: \"bg-gradient-to-b from-emerald-500/15 to-card\",\n },\n kimi: {\n dot: \"bg-pink-400\",\n ring: \"ring-pink-400/40\",\n gradient: \"bg-gradient-to-b from-pink-500/15 to-card\",\n },\n openrouter: {\n dot: \"bg-cyan-400\",\n ring: \"ring-cyan-400/40\",\n gradient: \"bg-gradient-to-b from-cyan-500/15 to-card\",\n },\n};\n\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [['path', { d: 'm6 9 6 6 6-6', key: 'qrunsl' }]];\n\n/**\n * @component @name ChevronDown\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/chevron-down\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ChevronDown = createLucideIcon('chevron-down', __iconNode);\n\nexport default ChevronDown;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M12 6v6l4 2', key: 'mmk7yg' }],\n];\n\n/**\n * @component @name Clock\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/clock\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Clock = createLucideIcon('clock', __iconNode);\n\nexport default Clock;\n"],"names":["buildQuery","filter","parts","lineage","push","encodeURIComponent","source","provider","enabled","undefined","length","join","listVoices","env","items","updateVoice","id","patch","method","body","JSON","stringify","createVoice","input","SERVER_BASE","process","CHORUS_DAEMON_URL","CLIENT_BASE","API_PREFIX","getBaseUrl","DaemonError","Error","code","statusCode","message","details","name","fetchFromDaemon","path","options","base","normalised","startsWith","isPrefixed","versionedPath","url","replace","response","fetch","headers","data","json","catch","ok","error","status","TypeError","includes","LINEAGE_LABEL","anthropic","openai","google","opencode","moonshot","LINEAGE_DOT","lineageLabel","lineageDot","UI_LINEAGE_LABEL","claude","codex","gemini","kimi","openrouter","UI_LINEAGE_DOT","uiLineageLabel","uiLineageDot","UI_LINEAGE_DEFAULT_MODEL","UI_LINEAGE_AVAILABLE_MODELS","uiLineageDefaultModel","UI_LINEAGE_BRAND","dot","ring","gradient"],"mappings":"sCAmBA,CAAA,CAAA,CAAA,CAAA,AAAM,CAAN,CAAM,CAAA,EAAa,CAAA,CAAA,CAAA,CAAA,CAAb,AAAa,CAAb,AAAa,CAAA,AAAb,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAhBA,CAgBe,AAfjD,CAeiD,AAfhD,CAegD,AAfhD,CAAA,AAegD,CAfhD,AAegD,CAAA,AAfhD,CAegD,AAfhD,CAegD,AAfhD,CAAA,AAAQ,AAewC,CAfxC,AAAE,AAesC,CAAU,CAf7C,AAe6C,CAf7C,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAAY,CAAA,CAAA,CAAA,CAAK,AAAL,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CACzC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAAQ,CAAA,AAAE,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAiB,AAAjB,CAAiB,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CA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CAAM,CAAA,EAAA,AAAQ,CAAR,AAAQ,CAAR,AAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GAAA,EAAiB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAhBK,CAClC,AAesC,CAfrC,AAeqC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAfrC,AAeqC,CAAU,AAf/C,AAAU,CAAA,AAeqC,AAfnC,EAAA,CAAA,AAAI,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAI,AAAJ,IAAI,CAAA,AAAM,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,AAAM,GAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CACzD,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAAQ,CAAA,AAAE,EAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,AAAe,CAAA,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CAC9C","ignoreList":[0,1,4,5,7,8]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},95832,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},10585,a=>{a.v("/_next/static/media/favicon.0i~66t__91s97.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},68611,a=>{"use strict";let b={src:a.i(10585).default,width:48,height:48};a.s(["default",0,b])},7524,a=>{a.v("/_next/static/media/icon.15.86wme~cdlv.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},39375,a=>{"use strict";let b={src:a.i(7524).default,width:32,height:32};a.s(["default",0,b])},41004,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/settings/page.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/settings/page.tsx <module evaluation>","default")},14905,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(80070).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/settings/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/settings/page.tsx","default")},95411,a=>{"use strict";a.i(41004);var b=a.i(14905);a.n(b)},70922,a=>{a.n(a.i(95411))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0bsym8v._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/.pnpm/next%4016.2.4_%40babel%2Bcore%407.29.0_react-dom%4019.2.4_react%4019.2.4__react%4019.2.4/node_modules/next/src/shared/lib/invariant-error.ts","../../../../node_modules/.pnpm/%40swc%2Bhelpers%400.5.15/node_modules/%40swc/helpers/cjs/_interop_require_wildcard.cjs","../../../../src/app/favicon.ico.mjs%20%28structured%20image%20object%29","../../../../src/app/icon.svg.mjs%20%28structured%20image%20object%29","../../../../src/app/settings/page.tsx/__nextjs-internal-proxy.mjs"],"sourcesContent":["export class InvariantError extends Error {\n constructor(message: string, options?: ErrorOptions) {\n super(\n `Invariant: ${message.endsWith('.') ? message : message + '.'} This is a bug in Next.js.`,\n options\n )\n this.name = 'InvariantError'\n }\n}\n","\"use strict\";\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = { __proto__: null };\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexports._ = _interop_require_wildcard;\n","import src from \"IMAGE\";\nexport default { src, width: 48, height: 48 }\n","import src from \"IMAGE\";\nexport default { src, width: 32, height: 32 }\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/src/app/settings/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/app/settings/page.tsx\",\n \"default\",\n);\n"],"names":["InvariantError","Error","constructor","message","options","endsWith","name","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_interop_require_wildcard","obj","__esModule","default","cache","has","get","newObj","__proto__","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","exports","_","src","width","height"],"mappings":"6QAAaA,iBAAAA,qCAAAA,IAAN,OAAMA,UAAuBC,MAClCC,YAAYC,CAAe,CAAEC,CAAsB,CAAE,CACnD,KAAK,CACH,CAAC,WAAW,EAAED,EAAQE,QAAQ,CAAC,KAAOF,EAAUA,EAAU,IAAI,0BAA0B,CAAC,CACzFC,GAEF,IAAI,CAACE,IAAI,CAAG,gBACd,CACF,gCCNA,SAASC,EAAyBC,CAAW,EACzC,GAAuB,YAAnB,OAAOC,QAAwB,OAAO,KAE1C,IAAIC,EAAoB,IAAID,QACxBE,EAAmB,IAAIF,QAE3B,MAAO,CAACF,EAA2B,SAASC,CAAW,EACnD,OAAOA,EAAcG,EAAmBD,EAC5C,CAAC,CAAEF,EACP,CA0BAuB,EAAQC,CAAC,CAzBT,EAyBYpB,OAzBuBC,AAA1BD,CAA6B,CAAEJ,CAAW,EAC/C,GAAI,CAACA,GAAeK,GAAOA,EAAIC,UAAU,CAAE,OAAOD,EAClD,GAAY,OAARA,GAA+B,UAAf,OAAOA,GAAmC,YAAf,OAAOA,EAAoB,MAAO,CAAEE,QAASF,CAAI,EAEhG,IAAIG,EAAQT,EAAyBC,GAErC,GAAIQ,GAASA,EAAMC,GAAG,CAACJ,GAAM,OAAOG,EAAME,GAAG,CAACL,GAE9C,IAAIM,EAAS,CAAEC,UAAW,IAAK,EAC3BC,E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