@kurly-growth/growthman 0.1.4 → 0.1.6
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 -1
- package/.next/build-manifest.json +6 -6
- package/.next/fallback-build-manifest.json +2 -2
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/server/app/_global-error/page/build-manifest.json +4 -4
- package/.next/server/app/_global-error/page.js +8 -8
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.rsc +8 -8
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_full.segment.rsc +8 -8
- package/.next/server/app/_global-error.segments/_head.segment.rsc +4 -4
- package/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page/build-manifest.json +4 -4
- package/.next/server/app/_not-found/page.js +10 -10
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +10 -10
- package/.next/server/app/_not-found.segments/_full.segment.rsc +10 -10
- package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/endpoints/[id]/route.js +4 -4
- package/.next/server/app/api/endpoints/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/endpoints/bulk/route.js +4 -4
- package/.next/server/app/api/endpoints/bulk/route.js.nft.json +1 -1
- package/.next/server/app/api/endpoints/import/route.js +4 -4
- package/.next/server/app/api/endpoints/import/route.js.nft.json +1 -1
- package/.next/server/app/api/endpoints/route.js +4 -4
- package/.next/server/app/api/endpoints/route.js.nft.json +1 -1
- package/.next/server/app/api/endpoints/sync/route.js +4 -4
- package/.next/server/app/api/endpoints/sync/route.js.nft.json +1 -1
- package/.next/server/app/api/mock/[...slug]/route.js +4 -4
- package/.next/server/app/api/mock/[...slug]/route.js.nft.json +1 -1
- package/.next/server/app/favicon.ico/route.js +4 -4
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +12 -12
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.segments/_full.segment.rsc +12 -12
- package/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/server/app/index.segments/_index.segment.rsc +5 -5
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/page/build-manifest.json +4 -4
- package/.next/server/app/page/react-loadable-manifest.json +3 -3
- package/.next/server/app/page.js +12 -12
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/8e02f__pnpm_34c6253f._.js +3 -0
- package/.next/server/chunks/8e02f__pnpm_34c6253f._.js.map +1 -0
- package/.next/server/chunks/{8e02f_next_dist_esm_build_templates_app-route_2d5d7dcf.js → 9ca2c_next_dist_esm_build_templates_app-route_84087e8c.js} +2 -2
- package/.next/server/chunks/9ca2c_next_dist_esm_build_templates_app-route_84087e8c.js.map +1 -0
- package/.next/server/chunks/{[root-of-the-server]__c49c53b0._.js → [root-of-the-server]__41261df4._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__41261df4._.js.map +1 -0
- package/.next/server/chunks/{[root-of-the-server]__84981507._.js → [root-of-the-server]__76e3e5c5._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__76e3e5c5._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__9f34b8fa._.js +13 -13
- package/.next/server/chunks/[root-of-the-server]__9f34b8fa._.js.map +1 -1
- package/.next/server/chunks/{[root-of-the-server]__05641340._.js → [root-of-the-server]__a757185b._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__a757185b._.js.map +1 -0
- package/.next/server/chunks/{[root-of-the-server]__a0785728._.js → [root-of-the-server]__e59e1188._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__e59e1188._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__e9fe7c9a._.js +21 -0
- package/.next/server/chunks/[root-of-the-server]__e9fe7c9a._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__eff896e6._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__eff896e6._.js.map +1 -0
- package/.next/server/chunks/ssr/{Desktop_Project_Web_growth-mock-server_4d3bfee7._.js → 9ca2c_next_dist_3cd898b4._.js} +3 -3
- package/.next/server/chunks/ssr/9ca2c_next_dist_3cd898b4._.js.map +1 -0
- package/.next/server/chunks/ssr/{8e02f_next_dist_client_components_builtin_forbidden_8e6242aa.js → 9ca2c_next_dist_client_components_builtin_forbidden_f49335c3.js} +2 -2
- package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_builtin_forbidden_f49335c3.js.map +1 -0
- package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_builtin_global-error_f88aa19b.js +3 -0
- package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_builtin_global-error_f88aa19b.js.map +1 -0
- package/.next/server/chunks/ssr/{8e02f_next_dist_client_components_builtin_unauthorized_d6f465ad.js → 9ca2c_next_dist_client_components_builtin_unauthorized_e72efa43.js} +2 -2
- package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_builtin_unauthorized_e72efa43.js.map +1 -0
- package/.next/server/chunks/ssr/{8e02f_next_dist_client_components_b780ac2a._.js → 9ca2c_next_dist_client_components_fcf027b5._.js} +2 -2
- package/.next/server/chunks/ssr/9ca2c_next_dist_client_components_fcf027b5._.js.map +1 -0
- package/.next/server/chunks/ssr/9ca2c_next_dist_d1e0d146._.js +3 -0
- package/.next/server/chunks/ssr/9ca2c_next_dist_d1e0d146._.js.map +1 -0
- package/.next/server/chunks/ssr/9ca2c_next_dist_dedb0e75._.js +6 -0
- package/.next/server/chunks/ssr/9ca2c_next_dist_dedb0e75._.js.map +1 -0
- package/.next/server/chunks/ssr/{8e02f_next_dist_a79dfbb1._.js → 9ca2c_next_dist_esm_build_templates_app-page_535865d4.js} +3 -3
- package/.next/server/chunks/ssr/9ca2c_next_dist_esm_build_templates_app-page_535865d4.js.map +1 -0
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_99247fbd._.js +3 -0
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_99247fbd._.js.map +1 -0
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_c7522028._.js +7 -0
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_c7522028._.js.map +1 -0
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_d48712e4._.js +4 -0
- package/.next/server/chunks/ssr/{8e02f_next_dist_a79dfbb1._.js.map → Desktop_Project_Web_growth-mock-server_d48712e4._.js.map} +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__caa92361._.js → [root-of-the-server]__17853f53._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__a41353a2._.js → [root-of-the-server]__18a26c10._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__18a26c10._.js.map +1 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__c9e25af2._.js → [root-of-the-server]__307548a6._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__307548a6._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__4390a85d._.js +10 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__4390a85d._.js.map +1 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0715ef20._.js → [root-of-the-server]__6a5dc11f._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__6a5dc11f._.js.map +1 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__e5032d8c._.js → [root-of-the-server]__92f5730f._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__92f5730f._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__c6e8de01._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d2eb7012._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__d2eb7012._.js.map +1 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__d0f18aa0._.js → [root-of-the-server]__e3541a66._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__e3541a66._.js.map +1 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__6f5c427b._.js → [root-of-the-server]__e5e3a413._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__e5e3a413._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__fb4cb1db._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__fb4cb1db._.js.map +1 -0
- package/.next/server/chunks/ssr/b9a5c_lucide-react_dist_esm_createLucideIcon_3a4054f7.js +3 -0
- package/.next/server/chunks/ssr/b9a5c_lucide-react_dist_esm_createLucideIcon_3a4054f7.js.map +1 -0
- package/.next/server/middleware-build-manifest.js +4 -4
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +2 -2
- package/.next/static/chunks/0275b0ee12e7ce52.js +1 -0
- package/.next/static/chunks/33ea23f1243e96f0.js +1 -0
- package/.next/static/chunks/525197a7544b0e96.js +1 -0
- package/.next/static/chunks/560974ba92e6363e.js +5 -0
- package/.next/static/chunks/6903133cc42b83c8.js +5 -0
- package/.next/static/chunks/{31523f3a41fdf0b5.js → 6b128c466fac1211.js} +1 -1
- package/.next/static/chunks/8d6c35afc42e5d8e.js +1 -0
- package/.next/static/chunks/9fff2b37cf885aa6.js +1 -0
- package/.next/static/chunks/a6dad97d9634a72d.js.map +1 -1
- package/.next/static/chunks/da3f3e4f37f68cee.css +3 -0
- package/.next/static/chunks/{turbopack-7ea3b444f61e390f.js → turbopack-68dbd89b378e971c.js} +2 -2
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/README.md +8 -0
- package/bin/cli.js +20 -2
- package/package.json +16 -12
- package/prisma/schema.prisma +1 -1
- package/.next/server/chunks/8e02f_529f6098._.js +0 -3
- package/.next/server/chunks/8e02f_529f6098._.js.map +0 -1
- package/.next/server/chunks/8e02f_next_dist_esm_build_templates_app-route_2d5d7dcf.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__05641340._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__40089159._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__40089159._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__84981507._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__88f1e82c._.js +0 -21
- package/.next/server/chunks/[root-of-the-server]__88f1e82c._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__a0785728._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__c49c53b0._.js.map +0 -1
- package/.next/server/chunks/ssr/8e02f_lucide-react_dist_esm_createLucideIcon_92babc87.js +0 -3
- package/.next/server/chunks/ssr/8e02f_lucide-react_dist_esm_createLucideIcon_92babc87.js.map +0 -1
- package/.next/server/chunks/ssr/8e02f_next_dist_5f7af8e7._.js +0 -3
- package/.next/server/chunks/ssr/8e02f_next_dist_5f7af8e7._.js.map +0 -1
- package/.next/server/chunks/ssr/8e02f_next_dist_8b7d79d3._.js +0 -6
- package/.next/server/chunks/ssr/8e02f_next_dist_8b7d79d3._.js.map +0 -1
- package/.next/server/chunks/ssr/8e02f_next_dist_client_components_b780ac2a._.js.map +0 -1
- package/.next/server/chunks/ssr/8e02f_next_dist_client_components_builtin_forbidden_8e6242aa.js.map +0 -1
- package/.next/server/chunks/ssr/8e02f_next_dist_client_components_builtin_global-error_fef7daa4.js +0 -3
- package/.next/server/chunks/ssr/8e02f_next_dist_client_components_builtin_global-error_fef7daa4.js.map +0 -1
- package/.next/server/chunks/ssr/8e02f_next_dist_client_components_builtin_unauthorized_d6f465ad.js.map +0 -1
- package/.next/server/chunks/ssr/8e02f_next_dist_esm_build_templates_app-page_aefc7b05.js +0 -4
- package/.next/server/chunks/ssr/8e02f_next_dist_esm_build_templates_app-page_aefc7b05.js.map +0 -1
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_192f26a7._.js +0 -3
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_192f26a7._.js.map +0 -1
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_4d3bfee7._.js.map +0 -1
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_e3bf5efe._.js +0 -7
- package/.next/server/chunks/ssr/Desktop_Project_Web_growth-mock-server_e3bf5efe._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__04e2ab43._.js +0 -10
- package/.next/server/chunks/ssr/[root-of-the-server]__04e2ab43._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0715ef20._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0c263e23._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0c263e23._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__5d3307e0._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__5d3307e0._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__6f5c427b._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__a41353a2._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__c9e25af2._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d0f18aa0._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__e5032d8c._.js.map +0 -1
- package/.next/static/chunks/3a3338ff069e0977.js +0 -5
- package/.next/static/chunks/68c20af4dfeb36d0.js +0 -1
- package/.next/static/chunks/77942ffae83b12ce.js +0 -1
- package/.next/static/chunks/81faf4667437d774.js +0 -1
- package/.next/static/chunks/8c554104dfee37e0.js +0 -5
- package/.next/static/chunks/ab3bc4985a0e98d2.css +0 -3
- package/.next/static/chunks/d71bf6d63636cd19.js +0 -1
- package/.next/static/chunks/f32c6649a0ca2698.js +0 -1
- /package/.next/server/chunks/ssr/{[root-of-the-server]__caa92361._.js.map → [root-of-the-server]__17853f53._.js.map} +0 -0
- /package/.next/static/{17-ALhiWger7Ahids28qF → q0BHmKoH9gbyCACxGv_7K}/_buildManifest.js +0 -0
- /package/.next/static/{17-ALhiWger7Ahids28qF → q0BHmKoH9gbyCACxGv_7K}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{17-ALhiWger7Ahids28qF → q0BHmKoH9gbyCACxGv_7K}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/compiled/fresh/index.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/app-render/strip-flight-headers.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/web/spec-extension/adapters/headers.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/base-http/index.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/route-modules/checks.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/router/routes/app.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/router/utils/interception-prefix-from-param-type.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/app-render/get-short-dynamic-param-type.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/instrumentation/utils.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/api-utils/index.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/base-http/node.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/router/utils/app-paths.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/router/utils/is-bot.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/router/utils/parse-loader-tree.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/lib/streaming-metadata.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/lib/server-action-request-meta.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/lib/cache-control.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/app-render/manifests-singleton.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/send-payload.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/router/utils/resolve-param-value.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/router/utils/interception-routes.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/app-render/interop-default.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/lib/fallback.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/api-utils/get-cookie-parser.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/router/utils/get-segment-param.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/utils.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/shared/lib/router/utils/html-bots.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/lib/etag.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/request/fallback-params.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/build/static-paths/utils.js","../../../../../../../../Desktop/Project/Web/growth-mock-server/node_modules/.pnpm/next%4016.1.1_%40babel%2Bcore%407.28.5_react-dom%4019.2.3_react%4019.2.3__react%4019.2.3/node_modules/next/dist/esm/server/lib/experimental/ppr.js"],"sourcesContent":["if (process.env.NEXT_RUNTIME === 'edge') {\n module.exports = require('next/dist/server/route-modules/app-page/module.js')\n} else {\n if (process.env.__NEXT_EXPERIMENTAL_REACT) {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.prod.js')\n }\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.prod.js')\n }\n }\n }\n}\n","(()=>{\"use strict\";var e={695:e=>{\n/*!\n * fresh\n * Copyright(c) 2012 TJ Holowaychuk\n * Copyright(c) 2016-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\nvar r=/(?:^|,)\\s*?no-cache\\s*?(?:,|$)/;e.exports=fresh;function fresh(e,a){var t=e[\"if-modified-since\"];var s=e[\"if-none-match\"];if(!t&&!s){return false}var i=e[\"cache-control\"];if(i&&r.test(i)){return false}if(s&&s!==\"*\"){var f=a[\"etag\"];if(!f){return false}var n=true;var u=parseTokenList(s);for(var _=0;_<u.length;_++){var o=u[_];if(o===f||o===\"W/\"+f||\"W/\"+o===f){n=false;break}}if(n){return false}}if(t){var p=a[\"last-modified\"];var v=!p||!(parseHttpDate(p)<=parseHttpDate(t));if(v){return false}}return true}function parseHttpDate(e){var r=e&&Date.parse(e);return typeof r===\"number\"?r:NaN}function parseTokenList(e){var r=0;var a=[];var t=0;for(var s=0,i=e.length;s<i;s++){switch(e.charCodeAt(s)){case 32:if(t===r){t=r=s+1}break;case 44:a.push(e.substring(t,r));t=r=s+1;break;default:r=s+1;break}}a.push(e.substring(t,r));return a}}};var r={};function __nccwpck_require__(a){var t=r[a];if(t!==undefined){return t.exports}var s=r[a]={exports:{}};var i=true;try{e[a](s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete r[a]}return s.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var a=__nccwpck_require__(695);module.exports=a})();","import { FLIGHT_HEADERS } from '../../client/components/app-router-headers';\n/**\n * Removes the flight headers from the request.\n *\n * @param req the request to strip the headers from\n */ export function stripFlightHeaders(headers) {\n for (const header of FLIGHT_HEADERS){\n delete headers[header];\n }\n}\n\n//# sourceMappingURL=strip-flight-headers.js.map","import { ReflectAdapter } from './reflect';\n/**\n * @internal\n */ export class ReadonlyHeadersError extends Error {\n constructor(){\n super('Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers');\n }\n static callable() {\n throw new ReadonlyHeadersError();\n }\n}\nexport class HeadersAdapter extends Headers {\n constructor(headers){\n // We've already overridden the methods that would be called, so we're just\n // calling the super constructor to ensure that the instanceof check works.\n super();\n this.headers = new Proxy(headers, {\n get (target, prop, receiver) {\n // Because this is just an object, we expect that all \"get\" operations\n // are for properties. If it's a \"get\" for a symbol, we'll just return\n // the symbol.\n if (typeof prop === 'symbol') {\n return ReflectAdapter.get(target, prop, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return undefined.\n if (typeof original === 'undefined') return;\n // If the original casing exists, return the value.\n return ReflectAdapter.get(target, original, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === 'symbol') {\n return ReflectAdapter.set(target, prop, value, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, use the prop as the key.\n return ReflectAdapter.set(target, original ?? prop, value, receiver);\n },\n has (target, prop) {\n if (typeof prop === 'symbol') return ReflectAdapter.has(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return false.\n if (typeof original === 'undefined') return false;\n // If the original casing exists, return true.\n return ReflectAdapter.has(target, original);\n },\n deleteProperty (target, prop) {\n if (typeof prop === 'symbol') return ReflectAdapter.deleteProperty(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return true.\n if (typeof original === 'undefined') return true;\n // If the original casing exists, delete the property.\n return ReflectAdapter.deleteProperty(target, original);\n }\n });\n }\n /**\n * Seals a Headers instance to prevent modification by throwing an error when\n * any mutating method is called.\n */ static seal(headers) {\n return new Proxy(headers, {\n get (target, prop, receiver) {\n switch(prop){\n case 'append':\n case 'delete':\n case 'set':\n return ReadonlyHeadersError.callable;\n default:\n return ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n /**\n * Merges a header value into a string. This stores multiple values as an\n * array, so we need to merge them into a string.\n *\n * @param value a header value\n * @returns a merged header value (a string)\n */ merge(value) {\n if (Array.isArray(value)) return value.join(', ');\n return value;\n }\n /**\n * Creates a Headers instance from a plain object or a Headers instance.\n *\n * @param headers a plain object or a Headers instance\n * @returns a headers instance\n */ static from(headers) {\n if (headers instanceof Headers) return headers;\n return new HeadersAdapter(headers);\n }\n append(name, value) {\n const existing = this.headers[name];\n if (typeof existing === 'string') {\n this.headers[name] = [\n existing,\n value\n ];\n } else if (Array.isArray(existing)) {\n existing.push(value);\n } else {\n this.headers[name] = value;\n }\n }\n delete(name) {\n delete this.headers[name];\n }\n get(name) {\n const value = this.headers[name];\n if (typeof value !== 'undefined') return this.merge(value);\n return null;\n }\n has(name) {\n return typeof this.headers[name] !== 'undefined';\n }\n set(name, value) {\n this.headers[name] = value;\n }\n forEach(callbackfn, thisArg) {\n for (const [name, value] of this.entries()){\n callbackfn.call(thisArg, value, name, this);\n }\n }\n *entries() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(name);\n yield [\n name,\n value\n ];\n }\n }\n *keys() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n yield name;\n }\n }\n *values() {\n for (const key of Object.keys(this.headers)){\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(key);\n yield value;\n }\n }\n [Symbol.iterator]() {\n return this.entries();\n }\n}\n\n//# sourceMappingURL=headers.js.map","import { RedirectStatusCode } from '../../client/components/redirect-status-code';\nimport { getCookieParser } from '../api-utils/get-cookie-parser';\nexport class BaseNextRequest {\n constructor(method, url, body){\n this.method = method;\n this.url = url;\n this.body = body;\n }\n // Utils implemented using the abstract methods above\n get cookies() {\n if (this._cookies) return this._cookies;\n return this._cookies = getCookieParser(this.headers)();\n }\n}\nexport class BaseNextResponse {\n constructor(destination){\n this.destination = destination;\n }\n // Utils implemented using the abstract methods above\n redirect(destination, statusCode) {\n this.setHeader('Location', destination);\n this.statusCode = statusCode;\n // Since IE11 doesn't support the 308 header add backwards\n // compatibility using refresh header\n if (statusCode === RedirectStatusCode.PermanentRedirect) {\n this.setHeader('Refresh', `0;url=${destination}`);\n }\n return this;\n }\n}\n\n//# sourceMappingURL=index.js.map","import { RouteKind } from '../route-kind';\nexport function isAppRouteRouteModule(routeModule) {\n return routeModule.definition.kind === RouteKind.APP_ROUTE;\n}\nexport function isAppPageRouteModule(routeModule) {\n return routeModule.definition.kind === RouteKind.APP_PAGE;\n}\nexport function isPagesRouteModule(routeModule) {\n return routeModule.definition.kind === RouteKind.PAGES;\n}\nexport function isPagesAPIRouteModule(routeModule) {\n return routeModule.definition.kind === RouteKind.PAGES_API;\n}\n\n//# sourceMappingURL=checks.js.map","import { InvariantError } from '../../invariant-error';\nimport { getSegmentParam } from '../utils/get-segment-param';\nimport { INTERCEPTION_ROUTE_MARKERS } from '../utils/interception-routes';\nexport function parseAppRouteSegment(segment) {\n if (segment === '') {\n return null;\n }\n // Check if the segment starts with an interception marker\n const interceptionMarker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));\n const param = getSegmentParam(segment);\n if (param) {\n return {\n type: 'dynamic',\n name: segment,\n param,\n interceptionMarker\n };\n } else if (segment.startsWith('(') && segment.endsWith(')')) {\n return {\n type: 'route-group',\n name: segment,\n interceptionMarker\n };\n } else if (segment.startsWith('@')) {\n return {\n type: 'parallel-route',\n name: segment,\n interceptionMarker\n };\n } else {\n return {\n type: 'static',\n name: segment,\n interceptionMarker\n };\n }\n}\nexport function isNormalizedAppRoute(route) {\n return route.normalized;\n}\nexport function isInterceptionAppRoute(route) {\n return route.interceptionMarker !== undefined && route.interceptingRoute !== undefined && route.interceptedRoute !== undefined;\n}\nexport function parseAppRoute(pathname, normalized) {\n const pathnameSegments = pathname.split('/').filter(Boolean);\n // Build segments array with static and dynamic segments\n const segments = [];\n // Parse if this is an interception route.\n let interceptionMarker;\n let interceptingRoute;\n let interceptedRoute;\n for (const segment of pathnameSegments){\n // Parse the segment into an AppSegment.\n const appSegment = parseAppRouteSegment(segment);\n if (!appSegment) {\n continue;\n }\n if (normalized && (appSegment.type === 'route-group' || appSegment.type === 'parallel-route')) {\n throw Object.defineProperty(new InvariantError(`${pathname} is being parsed as a normalized route, but it has a route group or parallel route segment.`), \"__NEXT_ERROR_CODE\", {\n value: \"E923\",\n enumerable: false,\n configurable: true\n });\n }\n segments.push(appSegment);\n if (appSegment.interceptionMarker) {\n const parts = pathname.split(appSegment.interceptionMarker);\n if (parts.length !== 2) {\n throw Object.defineProperty(new Error(`Invalid interception route: ${pathname}`), \"__NEXT_ERROR_CODE\", {\n value: \"E924\",\n enumerable: false,\n configurable: true\n });\n }\n interceptingRoute = normalized ? parseAppRoute(parts[0], true) : parseAppRoute(parts[0], false);\n interceptedRoute = normalized ? parseAppRoute(parts[1], true) : parseAppRoute(parts[1], false);\n interceptionMarker = appSegment.interceptionMarker;\n }\n }\n const dynamicSegments = segments.filter((segment)=>segment.type === 'dynamic');\n return {\n normalized,\n pathname,\n segments,\n dynamicSegments,\n interceptionMarker,\n interceptingRoute,\n interceptedRoute\n };\n}\n\n//# sourceMappingURL=app.js.map","export function interceptionPrefixFromParamType(paramType) {\n switch(paramType){\n case 'catchall-intercepted-(..)(..)':\n case 'dynamic-intercepted-(..)(..)':\n return '(..)(..)';\n case 'catchall-intercepted-(.)':\n case 'dynamic-intercepted-(.)':\n return '(.)';\n case 'catchall-intercepted-(..)':\n case 'dynamic-intercepted-(..)':\n return '(..)';\n case 'catchall-intercepted-(...)':\n case 'dynamic-intercepted-(...)':\n return '(...)';\n case 'catchall':\n case 'dynamic':\n case 'optional-catchall':\n default:\n return null;\n }\n}\n\n//# sourceMappingURL=interception-prefix-from-param-type.js.map","export const dynamicParamTypes = {\n catchall: 'c',\n 'catchall-intercepted-(..)(..)': 'ci(..)(..)',\n 'catchall-intercepted-(.)': 'ci(.)',\n 'catchall-intercepted-(..)': 'ci(..)',\n 'catchall-intercepted-(...)': 'ci(...)',\n 'optional-catchall': 'oc',\n dynamic: 'd',\n 'dynamic-intercepted-(..)(..)': 'di(..)(..)',\n 'dynamic-intercepted-(.)': 'di(.)',\n 'dynamic-intercepted-(..)': 'di(..)',\n 'dynamic-intercepted-(...)': 'di(...)'\n};\n\n//# sourceMappingURL=get-short-dynamic-param-type.js.map","export function getRevalidateReason(params) {\n if (params.isOnDemandRevalidate) {\n return 'on-demand';\n }\n if (params.isStaticGeneration) {\n return 'stale';\n }\n return undefined;\n}\n\n//# sourceMappingURL=utils.js.map","import { HeadersAdapter } from '../web/spec-extension/adapters/headers';\nimport { PRERENDER_REVALIDATE_HEADER, PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER } from '../../lib/constants';\nimport { getTracer } from '../lib/trace/tracer';\nimport { NodeSpan } from '../lib/trace/constants';\nexport function wrapApiHandler(page, handler) {\n return (...args)=>{\n getTracer().setRootSpanAttribute('next.route', page);\n // Call API route method\n return getTracer().trace(NodeSpan.runHandler, {\n spanName: `executing api route (pages) ${page}`\n }, ()=>handler(...args));\n };\n}\n/**\n *\n * @param res response object\n * @param statusCode `HTTP` status code of response\n */ export function sendStatusCode(res, statusCode) {\n res.statusCode = statusCode;\n return res;\n}\n/**\n *\n * @param res response object\n * @param [statusOrUrl] `HTTP` status code of redirect\n * @param url URL of redirect\n */ export function redirect(res, statusOrUrl, url) {\n if (typeof statusOrUrl === 'string') {\n url = statusOrUrl;\n statusOrUrl = 307;\n }\n if (typeof statusOrUrl !== 'number' || typeof url !== 'string') {\n throw Object.defineProperty(new Error(`Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination').`), \"__NEXT_ERROR_CODE\", {\n value: \"E389\",\n enumerable: false,\n configurable: true\n });\n }\n res.writeHead(statusOrUrl, {\n Location: url\n });\n res.write(url);\n res.end();\n return res;\n}\nexport function checkIsOnDemandRevalidate(req, previewProps) {\n const headers = HeadersAdapter.from(req.headers);\n const previewModeId = headers.get(PRERENDER_REVALIDATE_HEADER);\n const isOnDemandRevalidate = previewModeId === previewProps.previewModeId;\n const revalidateOnlyGenerated = headers.has(PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER);\n return {\n isOnDemandRevalidate,\n revalidateOnlyGenerated\n };\n}\nexport const COOKIE_NAME_PRERENDER_BYPASS = `__prerender_bypass`;\nexport const COOKIE_NAME_PRERENDER_DATA = `__next_preview_data`;\nexport const RESPONSE_LIMIT_DEFAULT = 4 * 1024 * 1024;\nexport const SYMBOL_PREVIEW_DATA = Symbol(COOKIE_NAME_PRERENDER_DATA);\nexport const SYMBOL_CLEARED_COOKIES = Symbol(COOKIE_NAME_PRERENDER_BYPASS);\nexport function clearPreviewData(res, options = {}) {\n if (SYMBOL_CLEARED_COOKIES in res) {\n return res;\n }\n const { serialize } = require('next/dist/compiled/cookie');\n const previous = res.getHeader('Set-Cookie');\n res.setHeader(`Set-Cookie`, [\n ...typeof previous === 'string' ? [\n previous\n ] : Array.isArray(previous) ? previous : [],\n serialize(COOKIE_NAME_PRERENDER_BYPASS, '', {\n // To delete a cookie, set `expires` to a date in the past:\n // https://tools.ietf.org/html/rfc6265#section-4.1.1\n // `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.\n expires: new Date(0),\n httpOnly: true,\n sameSite: process.env.NODE_ENV !== 'development' ? 'none' : 'lax',\n secure: process.env.NODE_ENV !== 'development',\n path: '/',\n ...options.path !== undefined ? {\n path: options.path\n } : undefined\n }),\n serialize(COOKIE_NAME_PRERENDER_DATA, '', {\n // To delete a cookie, set `expires` to a date in the past:\n // https://tools.ietf.org/html/rfc6265#section-4.1.1\n // `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.\n expires: new Date(0),\n httpOnly: true,\n sameSite: process.env.NODE_ENV !== 'development' ? 'none' : 'lax',\n secure: process.env.NODE_ENV !== 'development',\n path: '/',\n ...options.path !== undefined ? {\n path: options.path\n } : undefined\n })\n ]);\n Object.defineProperty(res, SYMBOL_CLEARED_COOKIES, {\n value: true,\n enumerable: false\n });\n return res;\n}\n/**\n * Custom error class\n */ export class ApiError extends Error {\n constructor(statusCode, message){\n super(message);\n this.statusCode = statusCode;\n }\n}\n/**\n * Sends error in `response`\n * @param res response object\n * @param statusCode of response\n * @param message of response\n */ export function sendError(res, statusCode, message) {\n res.statusCode = statusCode;\n res.statusMessage = message;\n res.end(message);\n}\n/**\n * Execute getter function only if its needed\n * @param LazyProps `req` and `params` for lazyProp\n * @param prop name of property\n * @param getter function to get data\n */ export function setLazyProp({ req }, prop, getter) {\n const opts = {\n configurable: true,\n enumerable: true\n };\n const optsReset = {\n ...opts,\n writable: true\n };\n Object.defineProperty(req, prop, {\n ...opts,\n get: ()=>{\n const value = getter();\n // we set the property on the object to avoid recalculating it\n Object.defineProperty(req, prop, {\n ...optsReset,\n value\n });\n return value;\n },\n set: (value)=>{\n Object.defineProperty(req, prop, {\n ...optsReset,\n value\n });\n }\n });\n}\n\n//# sourceMappingURL=index.js.map","import { SYMBOL_CLEARED_COOKIES } from '../api-utils';\nimport { NEXT_REQUEST_META } from '../request-meta';\nimport { BaseNextRequest, BaseNextResponse } from './index';\nlet prop;\nexport class NodeNextRequest extends BaseNextRequest {\n static #_ = prop = _NEXT_REQUEST_META = NEXT_REQUEST_META;\n constructor(_req){\n var _this__req;\n super(_req.method.toUpperCase(), _req.url, _req), this._req = _req, this.headers = this._req.headers, this.fetchMetrics = (_this__req = this._req) == null ? void 0 : _this__req.fetchMetrics, this[_NEXT_REQUEST_META] = this._req[NEXT_REQUEST_META] || {}, this.streaming = false;\n }\n get originalRequest() {\n // Need to mimic these changes to the original req object for places where we use it:\n // render.tsx, api/ssg requests\n this._req[NEXT_REQUEST_META] = this[NEXT_REQUEST_META];\n this._req.url = this.url;\n this._req.cookies = this.cookies;\n return this._req;\n }\n set originalRequest(value) {\n this._req = value;\n }\n /**\n * Returns the request body as a Web Readable Stream. The body here can only\n * be read once as the body will start flowing as soon as the data handler\n * is attached.\n *\n * @internal\n */ stream() {\n if (this.streaming) {\n throw Object.defineProperty(new Error('Invariant: NodeNextRequest.stream() can only be called once'), \"__NEXT_ERROR_CODE\", {\n value: \"E467\",\n enumerable: false,\n configurable: true\n });\n }\n this.streaming = true;\n return new ReadableStream({\n start: (controller)=>{\n this._req.on('data', (chunk)=>{\n controller.enqueue(new Uint8Array(chunk));\n });\n this._req.on('end', ()=>{\n controller.close();\n });\n this._req.on('error', (err)=>{\n controller.error(err);\n });\n }\n });\n }\n}\nexport class NodeNextResponse extends BaseNextResponse {\n get originalResponse() {\n if (SYMBOL_CLEARED_COOKIES in this) {\n this._res[SYMBOL_CLEARED_COOKIES] = this[SYMBOL_CLEARED_COOKIES];\n }\n return this._res;\n }\n constructor(_res){\n super(_res), this._res = _res, this.textBody = undefined;\n }\n get sent() {\n return this._res.finished || this._res.headersSent;\n }\n get statusCode() {\n return this._res.statusCode;\n }\n set statusCode(value) {\n this._res.statusCode = value;\n }\n get statusMessage() {\n return this._res.statusMessage;\n }\n set statusMessage(value) {\n this._res.statusMessage = value;\n }\n setHeader(name, value) {\n this._res.setHeader(name, value);\n return this;\n }\n removeHeader(name) {\n this._res.removeHeader(name);\n return this;\n }\n getHeaderValues(name) {\n const values = this._res.getHeader(name);\n if (values === undefined) return undefined;\n return (Array.isArray(values) ? values : [\n values\n ]).map((value)=>value.toString());\n }\n hasHeader(name) {\n return this._res.hasHeader(name);\n }\n getHeader(name) {\n const values = this.getHeaderValues(name);\n return Array.isArray(values) ? values.join(',') : undefined;\n }\n getHeaders() {\n return this._res.getHeaders();\n }\n appendHeader(name, value) {\n const currentValues = this.getHeaderValues(name) ?? [];\n if (!currentValues.includes(value)) {\n this._res.setHeader(name, [\n ...currentValues,\n value\n ]);\n }\n return this;\n }\n body(value) {\n this.textBody = value;\n return this;\n }\n send() {\n this._res.end(this.textBody);\n }\n onClose(callback) {\n this.originalResponse.on('close', callback);\n }\n}\nvar _NEXT_REQUEST_META;\n\n//# sourceMappingURL=node.js.map","import { ensureLeadingSlash } from '../../page-path/ensure-leading-slash';\nimport { isGroupSegment } from '../../segment';\n/**\n * Normalizes an app route so it represents the actual request path. Essentially\n * performing the following transformations:\n *\n * - `/(dashboard)/user/[id]/page` to `/user/[id]`\n * - `/(dashboard)/account/page` to `/account`\n * - `/user/[id]/page` to `/user/[id]`\n * - `/account/page` to `/account`\n * - `/page` to `/`\n * - `/(dashboard)/user/[id]/route` to `/user/[id]`\n * - `/(dashboard)/account/route` to `/account`\n * - `/user/[id]/route` to `/user/[id]`\n * - `/account/route` to `/account`\n * - `/route` to `/`\n * - `/` to `/`\n *\n * @param route the app route to normalize\n * @returns the normalized pathname\n */ export function normalizeAppPath(route) {\n return ensureLeadingSlash(route.split('/').reduce((pathname, segment, index, segments)=>{\n // Empty segments are ignored.\n if (!segment) {\n return pathname;\n }\n // Groups are ignored.\n if (isGroupSegment(segment)) {\n return pathname;\n }\n // Parallel segments are ignored.\n if (segment[0] === '@') {\n return pathname;\n }\n // The last segment (if it's a leaf) should be ignored.\n if ((segment === 'page' || segment === 'route') && index === segments.length - 1) {\n return pathname;\n }\n return `${pathname}/${segment}`;\n }, ''));\n}\n/**\n * Strips the `.rsc` extension if it's in the pathname.\n * Since this function is used on full urls it checks `?` for searchParams handling.\n */ export function normalizeRscURL(url) {\n return url.replace(/\\.rsc($|\\?)/, // $1 ensures `?` is preserved\n '$1');\n}\n\n//# sourceMappingURL=app-paths.js.map","import { HTML_LIMITED_BOT_UA_RE } from './html-bots';\n// Bot crawler that will spin up a headless browser and execute JS.\n// Only the main Googlebot search crawler executes JavaScript, not other Google crawlers.\n// x-ref: https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers\n// This regex specifically matches \"Googlebot\" but NOT \"Mediapartners-Google\", \"AdsBot-Google\", etc.\nconst HEADLESS_BROWSER_BOT_UA_RE = /Googlebot(?!-)|Googlebot$/i;\nexport const HTML_LIMITED_BOT_UA_RE_STRING = HTML_LIMITED_BOT_UA_RE.source;\nexport { HTML_LIMITED_BOT_UA_RE };\nfunction isDomBotUA(userAgent) {\n return HEADLESS_BROWSER_BOT_UA_RE.test(userAgent);\n}\nfunction isHtmlLimitedBotUA(userAgent) {\n return HTML_LIMITED_BOT_UA_RE.test(userAgent);\n}\nexport function isBot(userAgent) {\n return isDomBotUA(userAgent) || isHtmlLimitedBotUA(userAgent);\n}\nexport function getBotType(userAgent) {\n if (isDomBotUA(userAgent)) {\n return 'dom';\n }\n if (isHtmlLimitedBotUA(userAgent)) {\n return 'html';\n }\n return undefined;\n}\n\n//# sourceMappingURL=is-bot.js.map","import { DEFAULT_SEGMENT_KEY } from '../../segment';\nexport function parseLoaderTree(tree) {\n const [segment, parallelRoutes, modules] = tree;\n const { layout, template } = modules;\n let { page } = modules;\n // a __DEFAULT__ segment means that this route didn't match any of the\n // segments in the route, so we should use the default page\n page = segment === DEFAULT_SEGMENT_KEY ? modules.defaultPage : page;\n const conventionPath = layout?.[1] || template?.[1] || page?.[1];\n return {\n page,\n segment,\n modules,\n /* it can be either layout / template / page */ conventionPath,\n parallelRoutes\n };\n}\n\n//# sourceMappingURL=parse-loader-tree.js.map","import { getBotType, HTML_LIMITED_BOT_UA_RE_STRING } from '../../shared/lib/router/utils/is-bot';\nexport function shouldServeStreamingMetadata(userAgent, htmlLimitedBots) {\n const blockingMetadataUARegex = new RegExp(htmlLimitedBots || HTML_LIMITED_BOT_UA_RE_STRING, 'i');\n // Only block metadata for HTML-limited bots\n if (userAgent && blockingMetadataUARegex.test(userAgent)) {\n return false;\n }\n return true;\n}\n// When the request UA is a html-limited bot, we should do a dynamic render.\n// In this case, postpone state is not sent.\nexport function isHtmlBotRequest(req) {\n const ua = req.headers['user-agent'] || '';\n const botType = getBotType(ua);\n return botType === 'html';\n}\n\n//# sourceMappingURL=streaming-metadata.js.map","import { ACTION_HEADER } from '../../client/components/app-router-headers';\nexport function getServerActionRequestMetadata(req) {\n let actionId;\n let contentType;\n if (req.headers instanceof Headers) {\n actionId = req.headers.get(ACTION_HEADER) ?? null;\n contentType = req.headers.get('content-type');\n } else {\n actionId = req.headers[ACTION_HEADER] ?? null;\n contentType = req.headers['content-type'] ?? null;\n }\n // We don't actually support URL encoded actions, and the action handler will bail out if it sees one.\n // But we still want it to flow through to the action handler, to prevent changes in behavior when a regular\n // page component tries to handle a POST.\n const isURLEncodedAction = Boolean(req.method === 'POST' && contentType === 'application/x-www-form-urlencoded');\n const isMultipartAction = Boolean(req.method === 'POST' && (contentType == null ? void 0 : contentType.startsWith('multipart/form-data')));\n const isFetchAction = Boolean(actionId !== undefined && typeof actionId === 'string' && req.method === 'POST');\n const isPossibleServerAction = Boolean(isFetchAction || isURLEncodedAction || isMultipartAction);\n return {\n actionId,\n isURLEncodedAction,\n isMultipartAction,\n isFetchAction,\n isPossibleServerAction\n };\n}\nexport function getIsPossibleServerAction(req) {\n return getServerActionRequestMetadata(req).isPossibleServerAction;\n}\n\n//# sourceMappingURL=server-action-request-meta.js.map","import { CACHE_ONE_YEAR } from '../../lib/constants';\nexport function getCacheControlHeader({ revalidate, expire }) {\n const swrHeader = typeof revalidate === 'number' && expire !== undefined && revalidate < expire ? `, stale-while-revalidate=${expire - revalidate}` : '';\n if (revalidate === 0) {\n return 'private, no-cache, no-store, max-age=0, must-revalidate';\n } else if (typeof revalidate === 'number') {\n return `s-maxage=${revalidate}${swrHeader}`;\n }\n return `s-maxage=${CACHE_ONE_YEAR}${swrHeader}`;\n}\n\n//# sourceMappingURL=cache-control.js.map","import { InvariantError } from '../../shared/lib/invariant-error';\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths';\nimport { pathHasPrefix } from '../../shared/lib/router/utils/path-has-prefix';\nimport { removePathPrefix } from '../../shared/lib/router/utils/remove-path-prefix';\nimport { workAsyncStorage } from './work-async-storage.external';\n// This is a global singleton that is, among other things, also used to\n// encode/decode bound args of server function closures. This can't be using a\n// AsyncLocalStorage as it might happen at the module level.\nconst MANIFESTS_SINGLETON = Symbol.for('next.server.manifests');\nconst globalThisWithManifests = globalThis;\nfunction createProxiedClientReferenceManifest(clientReferenceManifestsPerRoute) {\n const createMappingProxy = (prop)=>{\n return new Proxy({}, {\n get (_, id) {\n const workStore = workAsyncStorage.getStore();\n if (workStore) {\n const currentManifest = clientReferenceManifestsPerRoute.get(workStore.route);\n if (currentManifest == null ? void 0 : currentManifest[prop][id]) {\n return currentManifest[prop][id];\n }\n // In development, we also check all other manifests to see if the\n // module exists there. This is to support a scenario where React's\n // I/O tracking (dev-only) creates a connection from one page to\n // another through an emitted async I/O node that references client\n // components from the other page, e.g. in owner props.\n // TODO: Maybe we need to add a `debugBundlerConfig` option to React\n // to avoid this workaround. The current workaround has the\n // disadvantage that one might accidentally or intentionally share\n // client references across pages (e.g. by storing them in a global\n // variable), which would then only be caught in production.\n if (process.env.NODE_ENV !== 'production') {\n for (const [route, manifest] of clientReferenceManifestsPerRoute){\n if (route === workStore.route) {\n continue;\n }\n const entry = manifest[prop][id];\n if (entry !== undefined) {\n return entry;\n }\n }\n }\n } else {\n // If there's no work store defined, we can assume that a client\n // reference manifest is needed during module evaluation, e.g. to\n // create a server function using a higher-order function. This\n // might also use client components which need to be serialized by\n // Flight, and therefore client references need to be resolvable. In\n // that case we search all page manifests to find the module.\n for (const manifest of clientReferenceManifestsPerRoute.values()){\n const entry = manifest[prop][id];\n if (entry !== undefined) {\n return entry;\n }\n }\n }\n return undefined;\n }\n });\n };\n const mappingProxies = new Map();\n return new Proxy({}, {\n get (_, prop) {\n const workStore = workAsyncStorage.getStore();\n switch(prop){\n case 'moduleLoading':\n case 'entryCSSFiles':\n case 'entryJSFiles':\n {\n if (!workStore) {\n throw Object.defineProperty(new InvariantError(`Cannot access \"${prop}\" without a work store.`), \"__NEXT_ERROR_CODE\", {\n value: \"E952\",\n enumerable: false,\n configurable: true\n });\n }\n const currentManifest = clientReferenceManifestsPerRoute.get(workStore.route);\n if (!currentManifest) {\n throw Object.defineProperty(new InvariantError(`The client reference manifest for route \"${workStore.route}\" does not exist.`), \"__NEXT_ERROR_CODE\", {\n value: \"E951\",\n enumerable: false,\n configurable: true\n });\n }\n return currentManifest[prop];\n }\n case 'clientModules':\n case 'rscModuleMapping':\n case 'edgeRscModuleMapping':\n case 'ssrModuleMapping':\n case 'edgeSSRModuleMapping':\n {\n let proxy = mappingProxies.get(prop);\n if (!proxy) {\n proxy = createMappingProxy(prop);\n mappingProxies.set(prop, proxy);\n }\n return proxy;\n }\n default:\n {\n throw Object.defineProperty(new InvariantError(`This is a proxied client reference manifest. The property \"${String(prop)}\" is not handled.`), \"__NEXT_ERROR_CODE\", {\n value: \"E953\",\n enumerable: false,\n configurable: true\n });\n }\n }\n }\n });\n}\n/**\n * This function creates a Flight-acceptable server module map proxy from our\n * Server Reference Manifest similar to our client module map. This is because\n * our manifest contains a lot of internal Next.js data that are relevant to the\n * runtime, workers, etc. that React doesn't need to know.\n */ function createServerModuleMap() {\n return new Proxy({}, {\n get: (_, id)=>{\n var _getServerActionsManifest__id, _getServerActionsManifest_;\n const workers = (_getServerActionsManifest_ = getServerActionsManifest()[process.env.NEXT_RUNTIME === 'edge' ? 'edge' : 'node']) == null ? void 0 : (_getServerActionsManifest__id = _getServerActionsManifest_[id]) == null ? void 0 : _getServerActionsManifest__id.workers;\n if (!workers) {\n return undefined;\n }\n const workStore = workAsyncStorage.getStore();\n let workerEntry;\n if (workStore) {\n workerEntry = workers[normalizeWorkerPageName(workStore.page)];\n } else {\n // If there's no work store defined, we can assume that a server\n // module map is needed during module evaluation, e.g. to create a\n // server action using a higher-order function. Therefore it should be\n // safe to return any entry from the manifest that matches the action\n // ID. They all refer to the same module ID, which must also exist in\n // the current page bundle. TODO: This is currently not guaranteed in\n // Turbopack, and needs to be fixed.\n workerEntry = Object.values(workers).at(0);\n }\n if (!workerEntry) {\n return undefined;\n }\n const { moduleId, async } = workerEntry;\n return {\n id: moduleId,\n name: id,\n chunks: [],\n async\n };\n }\n });\n}\n/**\n * The flight entry loader keys actions by bundlePath. bundlePath corresponds\n * with the relative path (including 'app') to the page entrypoint.\n */ function normalizeWorkerPageName(pageName) {\n if (pathHasPrefix(pageName, 'app')) {\n return pageName;\n }\n return 'app' + pageName;\n}\n/**\n * Converts a bundlePath (relative path to the entrypoint) to a routable page\n * name.\n */ function denormalizeWorkerPageName(bundlePath) {\n return normalizeAppPath(removePathPrefix(bundlePath, 'app'));\n}\n/**\n * Checks if the requested action has a worker for the current page.\n * If not, it returns the first worker that has a handler for the action.\n */ export function selectWorkerForForwarding(actionId, pageName) {\n var _serverActionsManifest__actionId;\n const serverActionsManifest = getServerActionsManifest();\n const workers = (_serverActionsManifest__actionId = serverActionsManifest[process.env.NEXT_RUNTIME === 'edge' ? 'edge' : 'node'][actionId]) == null ? void 0 : _serverActionsManifest__actionId.workers;\n // There are no workers to handle this action, nothing to forward to.\n if (!workers) {\n return;\n }\n // If there is an entry for the current page, we don't need to forward.\n if (workers[normalizeWorkerPageName(pageName)]) {\n return;\n }\n // Otherwise, grab the first worker that has a handler for this action id.\n return denormalizeWorkerPageName(Object.keys(workers)[0]);\n}\nexport function setManifestsSingleton({ page, clientReferenceManifest, serverActionsManifest }) {\n const existingSingleton = globalThisWithManifests[MANIFESTS_SINGLETON];\n if (existingSingleton) {\n existingSingleton.clientReferenceManifestsPerRoute.set(normalizeAppPath(page), clientReferenceManifest);\n existingSingleton.serverActionsManifest = serverActionsManifest;\n } else {\n const clientReferenceManifestsPerRoute = new Map([\n [\n normalizeAppPath(page),\n clientReferenceManifest\n ]\n ]);\n const proxiedClientReferenceManifest = createProxiedClientReferenceManifest(clientReferenceManifestsPerRoute);\n globalThisWithManifests[MANIFESTS_SINGLETON] = {\n clientReferenceManifestsPerRoute,\n proxiedClientReferenceManifest,\n serverActionsManifest,\n serverModuleMap: createServerModuleMap()\n };\n }\n}\nfunction getManifestsSingleton() {\n const manifestSingleton = globalThisWithManifests[MANIFESTS_SINGLETON];\n if (!manifestSingleton) {\n throw Object.defineProperty(new InvariantError('The manifests singleton was not initialized.'), \"__NEXT_ERROR_CODE\", {\n value: \"E950\",\n enumerable: false,\n configurable: true\n });\n }\n return manifestSingleton;\n}\nexport function getClientReferenceManifest() {\n return getManifestsSingleton().proxiedClientReferenceManifest;\n}\nexport function getServerActionsManifest() {\n return getManifestsSingleton().serverActionsManifest;\n}\nexport function getServerModuleMap() {\n return getManifestsSingleton().serverModuleMap;\n}\n\n//# sourceMappingURL=manifests-singleton.js.map","import { isResSent } from '../shared/lib/utils';\nimport { generateETag } from './lib/etag';\nimport fresh from 'next/dist/compiled/fresh';\nimport { getCacheControlHeader } from './lib/cache-control';\nimport { HTML_CONTENT_TYPE_HEADER } from '../lib/constants';\nexport function sendEtagResponse(req, res, etag) {\n if (etag) {\n /**\n * The server generating a 304 response MUST generate any of the\n * following header fields that would have been sent in a 200 (OK)\n * response to the same request: Cache-Control, Content-Location, Date,\n * ETag, Expires, and Vary. https://tools.ietf.org/html/rfc7232#section-4.1\n */ res.setHeader('ETag', etag);\n }\n if (fresh(req.headers, {\n etag\n })) {\n res.statusCode = 304;\n res.end();\n return true;\n }\n return false;\n}\nexport async function sendRenderResult({ req, res, result, generateEtags, poweredByHeader, cacheControl }) {\n if (isResSent(res)) {\n return;\n }\n if (poweredByHeader && result.contentType === HTML_CONTENT_TYPE_HEADER) {\n res.setHeader('X-Powered-By', 'Next.js');\n }\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (cacheControl && !res.getHeader('Cache-Control')) {\n res.setHeader('Cache-Control', getCacheControlHeader(cacheControl));\n }\n const payload = result.isDynamic ? null : result.toUnchunkedString();\n if (generateEtags && payload !== null) {\n const etag = generateETag(payload);\n if (sendEtagResponse(req, res, etag)) {\n return;\n }\n }\n if (!res.getHeader('Content-Type') && result.contentType) {\n res.setHeader('Content-Type', result.contentType);\n }\n if (payload) {\n res.setHeader('Content-Length', Buffer.byteLength(payload));\n }\n if (req.method === 'HEAD') {\n res.end(null);\n return;\n }\n if (payload !== null) {\n res.end(payload);\n return;\n }\n // Pipe the render result to the response after we get a writer for it.\n await result.pipeToNodeResponse(res);\n}\n\n//# sourceMappingURL=send-payload.js.map","import { InvariantError } from '../../invariant-error';\nimport { interceptionPrefixFromParamType } from './interception-prefix-from-param-type';\n/**\n * Extracts the param value from a path segment, handling interception markers\n * based on the expected param type.\n *\n * @param pathSegment - The path segment to extract the value from\n * @param params - The current params object for resolving dynamic param references\n * @param paramType - The expected param type which may include interception marker info\n * @returns The extracted param value\n */ function getParamValueFromSegment(pathSegment, params, paramType) {\n // If the segment is dynamic, resolve it from the params object\n if (pathSegment.type === 'dynamic') {\n return params[pathSegment.param.paramName];\n }\n // If the paramType indicates this is an intercepted param, strip the marker\n // that matches the interception marker in the param type\n const interceptionPrefix = interceptionPrefixFromParamType(paramType);\n if (interceptionPrefix === pathSegment.interceptionMarker) {\n return pathSegment.name.replace(pathSegment.interceptionMarker, '');\n }\n // For static segments, use the name\n return pathSegment.name;\n}\n/**\n * Resolves a route parameter value from the route segments at the given depth.\n * This shared logic is used by both extractPathnameRouteParamSegmentsFromLoaderTree\n * and resolveRouteParamsFromTree.\n *\n * @param paramName - The parameter name to resolve\n * @param paramType - The parameter type (dynamic, catchall, etc.)\n * @param depth - The current depth in the route tree\n * @param route - The normalized route containing segments\n * @param params - The current params object (used to resolve embedded param references)\n * @param options - Configuration options\n * @returns The resolved parameter value, or undefined if it cannot be resolved\n */ export function resolveParamValue(paramName, paramType, depth, route, params) {\n switch(paramType){\n case 'catchall':\n case 'optional-catchall':\n case 'catchall-intercepted-(..)(..)':\n case 'catchall-intercepted-(.)':\n case 'catchall-intercepted-(..)':\n case 'catchall-intercepted-(...)':\n // For catchall routes, derive from pathname using depth to determine\n // which segments to use\n const processedSegments = [];\n // Process segments to handle any embedded dynamic params\n for(let index = depth; index < route.segments.length; index++){\n const pathSegment = route.segments[index];\n if (pathSegment.type === 'static') {\n let value = pathSegment.name;\n // For intercepted catch-all params, strip the marker from the first segment\n const interceptionPrefix = interceptionPrefixFromParamType(paramType);\n if (interceptionPrefix && index === depth && interceptionPrefix === pathSegment.interceptionMarker) {\n // Strip the interception marker from the value\n value = value.replace(pathSegment.interceptionMarker, '');\n }\n processedSegments.push(value);\n } else {\n // If the segment is a param placeholder, check if we have its value\n if (!params.hasOwnProperty(pathSegment.param.paramName)) {\n // If the segment is an optional catchall, we can break out of the\n // loop because it's optional!\n if (pathSegment.param.paramType === 'optional-catchall') {\n break;\n }\n // Unknown param placeholder in pathname - can't derive full value\n return undefined;\n }\n // If the segment matches a param, use the param value\n // We don't encode values here as that's handled during retrieval.\n const paramValue = params[pathSegment.param.paramName];\n if (Array.isArray(paramValue)) {\n processedSegments.push(...paramValue);\n } else {\n processedSegments.push(paramValue);\n }\n }\n }\n if (processedSegments.length > 0) {\n return processedSegments;\n } else if (paramType === 'optional-catchall') {\n return undefined;\n } else {\n // We shouldn't be able to match a catchall segment without any path\n // segments if it's not an optional catchall\n throw Object.defineProperty(new InvariantError(`Unexpected empty path segments match for a route \"${route.pathname}\" with param \"${paramName}\" of type \"${paramType}\"`), \"__NEXT_ERROR_CODE\", {\n value: \"E931\",\n enumerable: false,\n configurable: true\n });\n }\n case 'dynamic':\n case 'dynamic-intercepted-(..)(..)':\n case 'dynamic-intercepted-(.)':\n case 'dynamic-intercepted-(..)':\n case 'dynamic-intercepted-(...)':\n // For regular dynamic parameters, take the segment at this depth\n if (depth < route.segments.length) {\n const pathSegment = route.segments[depth];\n // Check if the segment at this depth is a placeholder for an unknown param\n if (pathSegment.type === 'dynamic' && !params.hasOwnProperty(pathSegment.param.paramName)) {\n // The segment is a placeholder like [category] and we don't have the value\n return undefined;\n }\n // If the segment matches a param, use the param value from params object\n // Otherwise it's a static segment, just use it directly\n // We don't encode values here as that's handled during retrieval\n return getParamValueFromSegment(pathSegment, params, paramType);\n }\n return undefined;\n default:\n paramType;\n }\n}\n\n//# sourceMappingURL=resolve-param-value.js.map","import { normalizeAppPath } from './app-paths';\n// order matters here, the first match will be used\nexport const INTERCEPTION_ROUTE_MARKERS = [\n '(..)(..)',\n '(.)',\n '(..)',\n '(...)'\n];\nexport function isInterceptionRouteAppPath(path) {\n // TODO-APP: add more serious validation\n return path.split('/').find((segment)=>INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m))) !== undefined;\n}\nexport function extractInterceptionRouteInformation(path) {\n let interceptingRoute;\n let marker;\n let interceptedRoute;\n for (const segment of path.split('/')){\n marker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));\n if (marker) {\n ;\n [interceptingRoute, interceptedRoute] = path.split(marker, 2);\n break;\n }\n }\n if (!interceptingRoute || !marker || !interceptedRoute) {\n throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`), \"__NEXT_ERROR_CODE\", {\n value: \"E269\",\n enumerable: false,\n configurable: true\n });\n }\n interceptingRoute = normalizeAppPath(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n ;\n switch(marker){\n case '(.)':\n // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n if (interceptingRoute === '/') {\n interceptedRoute = `/${interceptedRoute}`;\n } else {\n interceptedRoute = interceptingRoute + '/' + interceptedRoute;\n }\n break;\n case '(..)':\n // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n if (interceptingRoute === '/') {\n throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`), \"__NEXT_ERROR_CODE\", {\n value: \"E207\",\n enumerable: false,\n configurable: true\n });\n }\n interceptedRoute = interceptingRoute.split('/').slice(0, -1).concat(interceptedRoute).join('/');\n break;\n case '(...)':\n // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n interceptedRoute = '/' + interceptedRoute;\n break;\n case '(..)(..)':\n // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n const splitInterceptingRoute = interceptingRoute.split('/');\n if (splitInterceptingRoute.length <= 2) {\n throw Object.defineProperty(new Error(`Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`), \"__NEXT_ERROR_CODE\", {\n value: \"E486\",\n enumerable: false,\n configurable: true\n });\n }\n interceptedRoute = splitInterceptingRoute.slice(0, -2).concat(interceptedRoute).join('/');\n break;\n default:\n throw Object.defineProperty(new Error('Invariant: unexpected marker'), \"__NEXT_ERROR_CODE\", {\n value: \"E112\",\n enumerable: false,\n configurable: true\n });\n }\n return {\n interceptingRoute,\n interceptedRoute\n };\n}\n\n//# sourceMappingURL=interception-routes.js.map","/**\n * Interop between \"export default\" and \"module.exports\".\n */ export function interopDefault(mod) {\n return mod.default || mod;\n}\n\n//# sourceMappingURL=interop-default.js.map","/**\n * Describes the different fallback modes that a given page can have.\n */ export var FallbackMode = /*#__PURE__*/ function(FallbackMode) {\n /**\n * A BLOCKING_STATIC_RENDER fallback will block the request until the page is\n * generated. No fallback page will be rendered, and users will have to wait\n * to render the page.\n */ FallbackMode[\"BLOCKING_STATIC_RENDER\"] = \"BLOCKING_STATIC_RENDER\";\n /**\n * When set to PRERENDER, a fallback page will be sent to users in place of\n * forcing them to wait for the page to be generated. This allows the user to\n * see a rendered page earlier.\n */ FallbackMode[\"PRERENDER\"] = \"PRERENDER\";\n /**\n * When set to NOT_FOUND, pages that are not already prerendered will result\n * in a not found response.\n */ FallbackMode[\"NOT_FOUND\"] = \"NOT_FOUND\";\n return FallbackMode;\n}({});\n/**\n * Parses the fallback field from the prerender manifest.\n *\n * @param fallbackField The fallback field from the prerender manifest.\n * @returns The fallback mode.\n */ export function parseFallbackField(fallbackField) {\n if (typeof fallbackField === 'string') {\n return \"PRERENDER\";\n } else if (fallbackField === null) {\n return \"BLOCKING_STATIC_RENDER\";\n } else if (fallbackField === false) {\n return \"NOT_FOUND\";\n } else if (fallbackField === undefined) {\n return undefined;\n } else {\n throw Object.defineProperty(new Error(`Invalid fallback option: ${fallbackField}. Fallback option must be a string, null, undefined, or false.`), \"__NEXT_ERROR_CODE\", {\n value: \"E285\",\n enumerable: false,\n configurable: true\n });\n }\n}\nexport function fallbackModeToFallbackField(fallback, page) {\n switch(fallback){\n case \"BLOCKING_STATIC_RENDER\":\n return null;\n case \"NOT_FOUND\":\n return false;\n case \"PRERENDER\":\n if (!page) {\n throw Object.defineProperty(new Error(`Invariant: expected a page to be provided when fallback mode is \"${fallback}\"`), \"__NEXT_ERROR_CODE\", {\n value: \"E422\",\n enumerable: false,\n configurable: true\n });\n }\n return page;\n default:\n throw Object.defineProperty(new Error(`Invalid fallback mode: ${fallback}`), \"__NEXT_ERROR_CODE\", {\n value: \"E254\",\n enumerable: false,\n configurable: true\n });\n }\n}\n/**\n * Parses the fallback from the static paths result.\n *\n * @param result The result from the static paths function.\n * @returns The fallback mode.\n */ export function parseStaticPathsResult(result) {\n if (result === true) {\n return \"PRERENDER\";\n } else if (result === 'blocking') {\n return \"BLOCKING_STATIC_RENDER\";\n } else {\n return \"NOT_FOUND\";\n }\n}\n\n//# sourceMappingURL=fallback.js.map","import { parseAppRouteSegment } from '../../../shared/lib/router/routes/app';\nimport { parseLoaderTree } from '../../../shared/lib/router/utils/parse-loader-tree';\nimport { resolveParamValue } from '../../../shared/lib/router/utils/resolve-param-value';\n/**\n * Validates that the static segments in currentPath match the corresponding\n * segments in targetSegments. This ensures we only extract dynamic parameters\n * that are part of the target pathname structure.\n *\n * Segments are compared literally - interception markers like \"(.)photo\" are\n * part of the pathname and must match exactly.\n *\n * @example\n * // Matching paths\n * currentPath: ['blog', '(.)photo']\n * targetSegments: ['blog', '(.)photo', '[id]']\n * → Returns true (both static segments match exactly)\n *\n * @example\n * // Non-matching paths\n * currentPath: ['blog', '(.)photo']\n * targetSegments: ['blog', 'photo', '[id]']\n * → Returns false (segments don't match - marker is part of pathname)\n *\n * @param currentPath - The accumulated path segments from the loader tree\n * @param targetSegments - The target pathname split into segments\n * @returns true if all static segments match, false otherwise\n */ function validatePrefixMatch(currentPath, route) {\n for(let i = 0; i < currentPath.length; i++){\n const pathSegment = currentPath[i];\n const targetPathSegment = route.segments[i];\n // Type mismatch - one is static, one is dynamic\n if (pathSegment.type !== targetPathSegment.type) {\n return false;\n }\n // One has an interception marker, the other doesn't.\n if (pathSegment.interceptionMarker !== targetPathSegment.interceptionMarker) {\n return false;\n }\n // Both are static but names don't match\n if (pathSegment.type === 'static' && targetPathSegment.type === 'static' && pathSegment.name !== targetPathSegment.name) {\n return false;\n } else if (pathSegment.type === 'dynamic' && targetPathSegment.type === 'dynamic' && pathSegment.param.paramType !== targetPathSegment.param.paramType && pathSegment.param.paramName !== targetPathSegment.param.paramName) {\n return false;\n }\n }\n return true;\n}\n/**\n * Extracts pathname route param segments from a loader tree and resolves\n * parameter values from static segments in the route.\n *\n * @param loaderTree - The loader tree structure containing route hierarchy\n * @param route - The target route to match against\n * @returns Object containing pathname route param segments and resolved params\n */ export function extractPathnameRouteParamSegmentsFromLoaderTree(loaderTree, route) {\n const pathnameRouteParamSegments = [];\n const params = {};\n // BFS traversal with depth and path tracking\n const queue = [\n {\n tree: loaderTree,\n depth: 0,\n currentPath: []\n }\n ];\n while(queue.length > 0){\n const { tree, depth, currentPath } = queue.shift();\n const { segment, parallelRoutes } = parseLoaderTree(tree);\n // Build the path for the current node\n let updatedPath = currentPath;\n let nextDepth = depth;\n const appSegment = parseAppRouteSegment(segment);\n // Only add to path if it's a real segment that appears in the URL\n // Route groups and parallel markers don't contribute to URL pathname\n if (appSegment && appSegment.type !== 'route-group' && appSegment.type !== 'parallel-route') {\n updatedPath = [\n ...currentPath,\n appSegment\n ];\n nextDepth = depth + 1;\n }\n // Check if this segment has a param and matches the target pathname at this depth\n if ((appSegment == null ? void 0 : appSegment.type) === 'dynamic') {\n const { paramName, paramType } = appSegment.param;\n // Check if this segment is at the correct depth in the target pathname\n // A segment matches if:\n // 1. There's a dynamic segment at this depth in the pathname\n // 2. The parameter names match (e.g., [id] matches [id], not [category])\n // 3. The static segments leading up to this point match (prefix check)\n if (depth < route.segments.length) {\n const targetSegment = route.segments[depth];\n // Match if the target pathname has a dynamic segment at this depth\n if (targetSegment.type === 'dynamic') {\n // Check that parameter names match exactly\n // This prevents [category] from matching against /[id]\n if (paramName !== targetSegment.param.paramName) {\n continue; // Different param names, skip this segment\n }\n // Validate that the path leading up to this dynamic segment matches\n // the target pathname. This prevents false matches like extracting\n // [slug] from \"/news/[slug]\" when the tree has \"/blog/[slug]\"\n if (validatePrefixMatch(currentPath, route)) {\n pathnameRouteParamSegments.push({\n name: segment,\n paramName,\n paramType\n });\n }\n }\n }\n // Resolve parameter value if it's not already known.\n if (!params.hasOwnProperty(paramName)) {\n const paramValue = resolveParamValue(paramName, paramType, depth, route, params);\n if (paramValue !== undefined) {\n params[paramName] = paramValue;\n }\n }\n }\n // Continue traversing all parallel routes to find matching segments\n for (const parallelRoute of Object.values(parallelRoutes)){\n queue.push({\n tree: parallelRoute,\n depth: nextDepth,\n currentPath: updatedPath\n });\n }\n }\n return {\n pathnameRouteParamSegments,\n params\n };\n}\n\n//# sourceMappingURL=extract-pathname-route-param-segments-from-loader-tree.js.map","/**\n * Parse cookies from the `headers` of request\n * @param req request object\n */ export function getCookieParser(headers) {\n return function parseCookie() {\n const { cookie } = headers;\n if (!cookie) {\n return {};\n }\n const { parse: parseCookieFn } = require('next/dist/compiled/cookie');\n return parseCookieFn(Array.isArray(cookie) ? cookie.join('; ') : cookie);\n };\n}\n\n//# sourceMappingURL=get-cookie-parser.js.map","import { INTERCEPTION_ROUTE_MARKERS } from './interception-routes';\n/**\n * Parse dynamic route segment to type of parameter\n */ export function getSegmentParam(segment) {\n const interceptionMarker = INTERCEPTION_ROUTE_MARKERS.find((marker)=>segment.startsWith(marker));\n // if an interception marker is part of the path segment, we need to jump ahead\n // to the relevant portion for param parsing\n if (interceptionMarker) {\n segment = segment.slice(interceptionMarker.length);\n }\n if (segment.startsWith('[[...') && segment.endsWith(']]')) {\n return {\n // TODO-APP: Optional catchall does not currently work with parallel routes,\n // so for now aren't handling a potential interception marker.\n paramType: 'optional-catchall',\n paramName: segment.slice(5, -2)\n };\n }\n if (segment.startsWith('[...') && segment.endsWith(']')) {\n return {\n paramType: interceptionMarker ? `catchall-intercepted-${interceptionMarker}` : 'catchall',\n paramName: segment.slice(4, -1)\n };\n }\n if (segment.startsWith('[') && segment.endsWith(']')) {\n return {\n paramType: interceptionMarker ? `dynamic-intercepted-${interceptionMarker}` : 'dynamic',\n paramName: segment.slice(1, -1)\n };\n }\n return null;\n}\nexport function isCatchAll(type) {\n return type === 'catchall' || type === 'catchall-intercepted-(..)(..)' || type === 'catchall-intercepted-(.)' || type === 'catchall-intercepted-(..)' || type === 'catchall-intercepted-(...)' || type === 'optional-catchall';\n}\nexport function getParamProperties(paramType) {\n let repeat = false;\n let optional = false;\n switch(paramType){\n case 'catchall':\n case 'catchall-intercepted-(..)(..)':\n case 'catchall-intercepted-(.)':\n case 'catchall-intercepted-(..)':\n case 'catchall-intercepted-(...)':\n repeat = true;\n break;\n case 'optional-catchall':\n repeat = true;\n optional = true;\n break;\n case 'dynamic':\n case 'dynamic-intercepted-(..)(..)':\n case 'dynamic-intercepted-(.)':\n case 'dynamic-intercepted-(..)':\n case 'dynamic-intercepted-(...)':\n break;\n default:\n paramType;\n }\n return {\n repeat,\n optional\n };\n}\n\n//# sourceMappingURL=get-segment-param.js.map","/**\n * Web vitals provided to _app.reportWebVitals by Core Web Vitals plugin developed by Google Chrome team.\n * https://nextjs.org/blog/next-9-4#integrated-web-vitals-reporting\n */ export const WEB_VITALS = [\n 'CLS',\n 'FCP',\n 'FID',\n 'INP',\n 'LCP',\n 'TTFB'\n];\n/**\n * Utils\n */ export function execOnce(fn) {\n let used = false;\n let result;\n return (...args)=>{\n if (!used) {\n used = true;\n result = fn(...args);\n }\n return result;\n };\n}\n// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1\n// Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\nconst ABSOLUTE_URL_REGEX = /^[a-zA-Z][a-zA-Z\\d+\\-.]*?:/;\nexport const isAbsoluteUrl = (url)=>ABSOLUTE_URL_REGEX.test(url);\nexport function getLocationOrigin() {\n const { protocol, hostname, port } = window.location;\n return `${protocol}//${hostname}${port ? ':' + port : ''}`;\n}\nexport function getURL() {\n const { href } = window.location;\n const origin = getLocationOrigin();\n return href.substring(origin.length);\n}\nexport function getDisplayName(Component) {\n return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown';\n}\nexport function isResSent(res) {\n return res.finished || res.headersSent;\n}\nexport function normalizeRepeatedSlashes(url) {\n const urlParts = url.split('?');\n const urlNoQuery = urlParts[0];\n return urlNoQuery// first we replace any non-encoded backslashes with forward\n // then normalize repeated forward slashes\n .replace(/\\\\/g, '/').replace(/\\/\\/+/g, '/') + (urlParts[1] ? `?${urlParts.slice(1).join('?')}` : '');\n}\nexport async function loadGetInitialProps(App, ctx) {\n if (process.env.NODE_ENV !== 'production') {\n if (App.prototype?.getInitialProps) {\n const message = `\"${getDisplayName(App)}.getInitialProps()\" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.`;\n throw Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n }\n }\n // when called from _app `ctx` is nested in `ctx`\n const res = ctx.res || ctx.ctx && ctx.ctx.res;\n if (!App.getInitialProps) {\n if (ctx.ctx && ctx.Component) {\n // @ts-ignore pageProps default\n return {\n pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx)\n };\n }\n return {};\n }\n const props = await App.getInitialProps(ctx);\n if (res && isResSent(res)) {\n return props;\n }\n if (!props) {\n const message = `\"${getDisplayName(App)}.getInitialProps()\" should resolve to an object. But found \"${props}\" instead.`;\n throw Object.defineProperty(new Error(message), \"__NEXT_ERROR_CODE\", {\n value: \"E394\",\n enumerable: false,\n configurable: true\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n if (Object.keys(props).length === 0 && !ctx.ctx) {\n console.warn(`${getDisplayName(App)} returned an empty object from \\`getInitialProps\\`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps`);\n }\n }\n return props;\n}\nexport const SP = typeof performance !== 'undefined';\nexport const ST = SP && [\n 'mark',\n 'measure',\n 'getEntriesByName'\n].every((method)=>typeof performance[method] === 'function');\nexport class DecodeError extends Error {\n}\nexport class NormalizeError extends Error {\n}\nexport class PageNotFoundError extends Error {\n constructor(page){\n super();\n this.code = 'ENOENT';\n this.name = 'PageNotFoundError';\n this.message = `Cannot find module for page: ${page}`;\n }\n}\nexport class MissingStaticPage extends Error {\n constructor(page, message){\n super();\n this.message = `Failed to load static file for page: ${page} ${message}`;\n }\n}\nexport class MiddlewareNotFoundError extends Error {\n constructor(){\n super();\n this.code = 'ENOENT';\n this.message = `Cannot find the middleware module`;\n }\n}\nexport function stringifyError(error) {\n return JSON.stringify({\n message: error.message,\n stack: error.stack\n });\n}\n\n//# sourceMappingURL=utils.js.map","/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */ export function ensureLeadingSlash(path) {\n return path.startsWith('/') ? path : `/${path}`;\n}\n\n//# sourceMappingURL=ensure-leading-slash.js.map","// This regex contains the bots that we need to do a blocking render for and can't safely stream the response\n// due to how they parse the DOM. For example, they might explicitly check for metadata in the `head` tag, so we can't stream metadata tags after the `head` was sent.\n// Note: The pattern [\\w-]+-Google captures all Google crawlers with \"-Google\" suffix (e.g., Mediapartners-Google, AdsBot-Google, Storebot-Google)\n// as well as crawlers starting with \"Google-\" (e.g., Google-PageRenderer, Google-InspectionTool)\nexport const HTML_LIMITED_BOT_UA_RE = /[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i;\n\n//# sourceMappingURL=html-bots.js.map","/**\n * FNV-1a Hash implementation\n * @author Travis Webb (tjwebb) <me@traviswebb.com>\n *\n * Ported from https://github.com/tjwebb/fnv-plus/blob/master/index.js\n *\n * Simplified, optimized and add modified for 52 bit, which provides a larger hash space\n * and still making use of Javascript's 53-bit integer space.\n */ export const fnv1a52 = (str)=>{\n const len = str.length;\n let i = 0, t0 = 0, v0 = 0x2325, t1 = 0, v1 = 0x8422, t2 = 0, v2 = 0x9ce4, t3 = 0, v3 = 0xcbf2;\n while(i < len){\n v0 ^= str.charCodeAt(i++);\n t0 = v0 * 435;\n t1 = v1 * 435;\n t2 = v2 * 435;\n t3 = v3 * 435;\n t2 += v0 << 8;\n t3 += v1 << 8;\n t1 += t0 >>> 16;\n v0 = t0 & 65535;\n t2 += t1 >>> 16;\n v1 = t1 & 65535;\n v3 = t3 + (t2 >>> 16) & 65535;\n v2 = t2 & 65535;\n }\n return (v3 & 15) * 281474976710656 + v2 * 4294967296 + v1 * 65536 + (v0 ^ v3 >> 4);\n};\nexport const generateETag = (payload, weak = false)=>{\n const prefix = weak ? 'W/\"' : '\"';\n return prefix + fnv1a52(payload).toString(36) + payload.length.toString(36) + '\"';\n};\n\n//# sourceMappingURL=etag.js.map","import { resolveRouteParamsFromTree } from '../../build/static-paths/utils';\nimport { dynamicParamTypes } from '../app-render/get-short-dynamic-param-type';\nimport { parseAppRoute } from '../../shared/lib/router/routes/app';\nimport { extractPathnameRouteParamSegmentsFromLoaderTree } from '../../build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree';\n/**\n * Creates an opaque fallback route params object from the fallback route params.\n *\n * @param fallbackRouteParams the fallback route params\n * @returns the opaque fallback route params\n */ export function createOpaqueFallbackRouteParams(fallbackRouteParams) {\n // If there are no fallback route params, we can return early.\n if (fallbackRouteParams.length === 0) return null;\n // As we're creating unique keys for each of the dynamic route params, we only\n // need to generate a unique ID once per request because each of the keys will\n // be also be unique.\n const uniqueID = Math.random().toString(16).slice(2);\n const keys = new Map();\n // Generate a unique key for the fallback route param, if this key is found\n // in the static output, it represents a bug in cache components.\n for (const { paramName, paramType } of fallbackRouteParams){\n keys.set(paramName, [\n `%%drp:${paramName}:${uniqueID}%%`,\n dynamicParamTypes[paramType]\n ]);\n }\n return keys;\n}\n/**\n * Gets the fallback route params for a given page. This is an expensive\n * operation because it requires parsing the loader tree to extract the fallback\n * route params.\n *\n * @param page the page\n * @param routeModule the route module\n * @returns the opaque fallback route params\n */ export function getFallbackRouteParams(page, routeModule) {\n const route = parseAppRoute(page, true);\n // Extract the pathname-contributing segments from the loader tree. This\n // mirrors the logic in buildAppStaticPaths where we determine which segments\n // actually contribute to the pathname.\n const { pathnameRouteParamSegments, params } = extractPathnameRouteParamSegmentsFromLoaderTree(routeModule.userland.loaderTree, route);\n // Create fallback route params for the pathname segments.\n const fallbackRouteParams = pathnameRouteParamSegments.map(({ paramName, paramType })=>({\n paramName,\n paramType\n }));\n // Resolve route params from the loader tree. This mutates the\n // fallbackRouteParams array to add any route params that are\n // unknown at request time.\n //\n // The page parameter contains placeholders like [slug], which helps\n // resolveRouteParamsFromTree determine which params are unknown.\n resolveRouteParamsFromTree(routeModule.userland.loaderTree, params, route, fallbackRouteParams // Will be mutated to add route params\n );\n // Convert the fallback route params to an opaque format that can be safely\n // used in the postponed state without exposing implementation details.\n return createOpaqueFallbackRouteParams(fallbackRouteParams);\n}\n\n//# sourceMappingURL=fallback-params.js.map","import { isAppPageRouteModule } from '../../server/route-modules/checks';\nimport { parseAppRouteSegment } from '../../shared/lib/router/routes/app';\nimport { parseLoaderTree } from '../../shared/lib/router/utils/parse-loader-tree';\nimport { extractPathnameRouteParamSegmentsFromLoaderTree } from './app/extract-pathname-route-param-segments-from-loader-tree';\nimport { resolveParamValue } from '../../shared/lib/router/utils/resolve-param-value';\n/**\n * Encodes a parameter value using the provided encoder.\n *\n * @param value - The value to encode.\n * @param encoder - The encoder to use.\n * @returns The encoded value.\n */ export function encodeParam(value, encoder) {\n let replaceValue;\n if (Array.isArray(value)) {\n replaceValue = value.map(encoder).join('/');\n } else {\n replaceValue = encoder(value);\n }\n return replaceValue;\n}\n/**\n * Normalizes a pathname to a consistent format.\n *\n * @param pathname - The pathname to normalize.\n * @returns The normalized pathname.\n */ export function normalizePathname(pathname) {\n return pathname.replace(/\\\\/g, '/').replace(/(?!^)\\/$/, '');\n}\n/**\n * Extracts segments that contribute to the pathname by traversing the loader tree\n * based on the route module type.\n *\n * @param routeModule - The app route module (page or route handler)\n * @param segments - Array of AppSegment objects collected from the route\n * @param page - The target pathname to match against, INCLUDING interception\n * markers (e.g., \"/blog/[slug]\", \"/(.)photo/[id]\")\n * @returns Array of segments with param info that contribute to the pathname\n */ export function extractPathnameRouteParamSegments(routeModule, segments, route) {\n // For AppPageRouteModule, use the loaderTree traversal approach\n if (isAppPageRouteModule(routeModule)) {\n const { pathnameRouteParamSegments } = extractPathnameRouteParamSegmentsFromLoaderTree(routeModule.userland.loaderTree, route);\n return pathnameRouteParamSegments;\n }\n return extractPathnameRouteParamSegmentsFromSegments(segments);\n}\nexport function extractPathnameRouteParamSegmentsFromSegments(segments) {\n // TODO: should we consider what values are already present in the page?\n // For AppRouteRouteModule, filter the segments array to get the route params\n // that contribute to the pathname.\n const result = [];\n for (const segment of segments){\n // Skip segments without param info.\n if (!segment.paramName || !segment.paramType) continue;\n // Collect all the route param keys that contribute to the pathname.\n result.push({\n name: segment.name,\n paramName: segment.paramName,\n paramType: segment.paramType\n });\n }\n return result;\n}\n/**\n * Resolves all route parameters from the loader tree. This function uses\n * tree-based traversal to correctly handle the hierarchical structure of routes\n * and accurately determine parameter values based on their depth in the tree.\n *\n * This processes both regular route parameters (from the main children route) and\n * parallel route parameters (from slots like @modal, @sidebar).\n *\n * Unlike interpolateParallelRouteParams (which has a complete URL at runtime),\n * this build-time function determines which route params are unknown.\n * The pathname may contain placeholders like [slug], making it incomplete.\n *\n * @param loaderTree - The loader tree structure containing route hierarchy\n * @param params - The current route parameters object (will be mutated)\n * @param route - The current route being processed\n * @param fallbackRouteParams - Array of fallback route parameters (will be mutated)\n */ export function resolveRouteParamsFromTree(loaderTree, params, route, fallbackRouteParams) {\n // Stack-based traversal with depth tracking\n const stack = [\n {\n tree: loaderTree,\n depth: 0\n }\n ];\n while(stack.length > 0){\n const { tree, depth } = stack.pop();\n const { segment, parallelRoutes } = parseLoaderTree(tree);\n const appSegment = parseAppRouteSegment(segment);\n // If this segment is a route parameter, then we should process it if it's\n // not already known and is not already marked as a fallback route param.\n if ((appSegment == null ? void 0 : appSegment.type) === 'dynamic' && !params.hasOwnProperty(appSegment.param.paramName) && !fallbackRouteParams.some((param)=>param.paramName === appSegment.param.paramName)) {\n const { paramName, paramType } = appSegment.param;\n const paramValue = resolveParamValue(paramName, paramType, depth, route, params);\n if (paramValue !== undefined) {\n params[paramName] = paramValue;\n } else if (paramType !== 'optional-catchall') {\n // If we couldn't resolve the param, mark it as a fallback\n fallbackRouteParams.push({\n paramName,\n paramType\n });\n }\n }\n // Calculate next depth - increment if this is not a route group and not empty\n let nextDepth = depth;\n if (appSegment && appSegment.type !== 'route-group' && appSegment.type !== 'parallel-route') {\n nextDepth++;\n }\n // Add all parallel routes to the stack for processing.\n for (const parallelRoute of Object.values(parallelRoutes)){\n stack.push({\n tree: parallelRoute,\n depth: nextDepth\n });\n }\n }\n}\n\n//# sourceMappingURL=utils.js.map","/**\n * If set to `incremental`, only those leaf pages that export\n * `experimental_ppr = true` will have partial prerendering enabled. If any\n * page exports this value as `false` or does not export it at all will not\n * have partial prerendering enabled. If set to a boolean, the options for\n * `experimental_ppr` will be ignored.\n */ /**\n * Returns true if partial prerendering is enabled for the application. It does\n * not tell you if a given route has PPR enabled, as that requires analysis of\n * the route's configuration.\n *\n * @see {@link checkIsRoutePPREnabled} - for checking if a specific route has PPR enabled.\n */ export function checkIsAppPPREnabled(config) {\n // If the config is undefined, partial prerendering is disabled.\n if (typeof config === 'undefined') return false;\n // If the config is a boolean, use it directly.\n if (typeof config === 'boolean') return config;\n // If the config is a string, it must be 'incremental' to enable partial\n // prerendering.\n if (config === 'incremental') return true;\n return false;\n}\n/**\n * Returns true if partial prerendering is supported for the current page with\n * the provided app configuration. If the application doesn't have partial\n * prerendering enabled, this function will always return false. If you want to\n * check if the application has partial prerendering enabled\n *\n * @see {@link checkIsAppPPREnabled} for checking if the application has PPR enabled.\n */ export function checkIsRoutePPREnabled(config) {\n // If the config is undefined, partial prerendering is disabled.\n if (typeof config === 'undefined') return false;\n // If the config is a boolean, use it directly.\n if (typeof config === 'boolean') return config;\n return false;\n}\n\n//# sourceMappingURL=ppr.js.map"],"names":["process","env","NEXT_RUNTIME","module","exports","require","__NEXT_EXPERIMENTAL_REACT","NODE_ENV","TURBOPACK"],"mappings":"oFA0BQG,EAAOC,OAAO,CAAGC,EAAQ,CAAA,CAAA,IAAA,+CC1BjC,CAAC,KAAK,aAAa,IAAI,EAAE,CAAC,IAAI,IAO9B,IAAI,EAAE,iCAA2f,SAAS,EAAc,CAAC,EAAE,IAAI,EAAE,GAAG,KAAK,KA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U,EACJ,EAAI,UAAU,CAAC,KACrB,EAAU,IAAL,EACL,EAAU,IAAL,EACL,EAAU,IAAL,EACL,EAAU,IAAL,EACL,GAAM,GAAM,EACZ,GAAM,GAAM,EACZ,GAAM,IAAO,GACb,EAAU,MAAL,EACL,GAAM,IAAO,GACb,EAAU,MAAL,EACL,EAAK,GAAM,EAAD,EAAQ,EAAA,CAAE,CAAI,MACxB,EAAU,MAAL,EAET,MAAO,CAAM,GAAL,CAAK,CAAE,CAAI,gBAAuB,YAAL,EAAkB,AAAK,QAAQ,CAAC,EAAK,GAAM,CAAC,CACrF,GAG4B,GAAS,QAAQ,CAAC,IAAM,EAAQ,MAAM,CAAC,QAAQ,CAAC,IAAM,GAClF,EXMkC,CWJlC,EXKQ,GAhCA,CAgCI,EA1BJ,EAAI,CANE,QAMO,CAAC,OA0BiB,CA1BT,EAEtB,CAAA,CWmBwB,CXnBxB,CAwBsC,CAxBtC,OAAA,AAAK,EAAC,AAwBe,EAxBX,OAAO,CAAE,CACnB,MACJ,IAAI,CACA,EAAI,UAAU,CAAG,IACjB,AAoB0B,EApBtB,GAAG,GACA,GAoBH,MAER,CAOA,CANI,CAAC,EAAI,SAAS,CAAC,iBAAmB,EAAO,WAAW,EAAE,AACtD,EAAI,SAAS,CAAC,eAAgB,EAAO,WAAW,EAEhD,GACA,EAAI,IADK,KACI,CAAC,iBAAkB,OAAO,UAAU,CAAC,IAEnC,QAAQ,CAAvB,EAAI,MAAM,EACV,EAAI,GAAG,CAAC,MAGI,MAAM,CAAlB,EACA,EAAI,GAAG,CAAC,GAIZ,MAAM,EAAO,kBAAkB,CAAC,EACpC,EAEA,wCAAwC","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
module.exports=[49300,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},97406,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={BailoutToCSRError:function(){return g},isBailoutToCSRError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="BAILOUT_TO_CLIENT_SIDE_RENDERING";class g extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===f}},65839,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"BailoutToCSR",{enumerable:!0,get:function(){return e}});let d=a.r(97406);function e({reason:a,children:b}){throw Object.defineProperty(new d.BailoutToCSRError(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},11844,(a,b,c)=>{"use strict";function d(a){return a.split("/").map(a=>encodeURIComponent(a)).join("/")}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"encodeURIPath",{enumerable:!0,get:function(){return d}})},44278,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getDeploymentId:function(){return f},getDeploymentIdQueryOrEmptyString:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(){return!1}function g(){return""}},61651,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"PreloadChunks",{enumerable:!0,get:function(){return i}});let d=a.r(23891),e=a.r(10214),f=a.r(56704),g=a.r(11844),h=a.r(44278);function i({moduleIds:a}){let b=f.workAsyncStorage.getStore();if(void 0===b)return null;let c=[];if(b.reactLoadableManifest&&a){let d=b.reactLoadableManifest;for(let b of a){if(!d[b])continue;let a=d[b].files;c.push(...a)}}if(0===c.length)return null;let i=(0,h.getDeploymentIdQueryOrEmptyString)();return(0,d.jsx)(d.Fragment,{children:c.map(a=>{let c=`${b.assetPrefix}/_next/${(0,g.encodeURIPath)(a)}${i}`;return a.endsWith(".css")?(0,d.jsx)("link",{precedence:"dynamic",href:c,rel:"stylesheet",as:"style",nonce:b.nonce},a):((0,e.preload)(c,{as:"script",fetchPriority:"low",nonce:b.nonce}),null)})})}},16736,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return j}});let d=a.r(23891),e=a.r(5458),f=a.r(65839),g=a.r(61651);function h(a){return{default:a&&"default"in a?a.default:a}}let i={loader:()=>Promise.resolve(h(()=>null)),loading:null,ssr:!0},j=function(a){let b={...i,...a},c=(0,e.lazy)(()=>b.loader().then(h)),j=b.loading;function k(a){let h=j?(0,d.jsx)(j,{isLoading:!0,pastDelay:!0,error:null}):null,i=!b.ssr||!!b.loading,k=i?e.Suspense:e.Fragment,l=b.ssr?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.PreloadChunks,{moduleIds:b.modules}),(0,d.jsx)(c,{...a})]}):(0,d.jsx)(f.BailoutToCSR,{reason:"next/dynamic",children:(0,d.jsx)(c,{...a})});return(0,d.jsx)(k,{...i?{fallback:h}:{},children:l})}return k.displayName="LoadableComponent",k}},39308,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return e}});let d=a.r(49300)._(a.r(16736));function e(a,b){let c={};"function"==typeof a&&(c.loader=a);let e={...c,...b};return(0,d.default)({...e,modules:e.loadableGenerated?.modules})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},5516,a=>{"use strict";let b,c,d,e,f;var g,h,i,j,k,l,m,n,o,p=a.i(23891),q=a.i(5458);function r(){for(var a,b,c=0,d="",e=arguments.length;c<e;c++)(a=arguments[c])&&(b=function a(b){var c,d,e="";if("string"==typeof b||"number"==typeof b)e+=b;else if("object"==typeof b)if(Array.isArray(b)){var f=b.length;for(c=0;c<f;c++)b[c]&&(d=a(b[c]))&&(e&&(e+=" "),e+=d)}else for(d in b)b[d]&&(e&&(e+=" "),e+=d);return e}(a))&&(d&&(d+=" "),d+=b);return d}let s=(a=new Map,b=null,c)=>({nextPart:a,validators:b,classGroupId:c}),t=[],u=(a,b,c)=>{if(0==a.length-b)return c.classGroupId;let d=a[b],e=c.nextPart.get(d);if(e){let c=u(a,b+1,e);if(c)return c}let f=c.validators;if(null===f)return;let g=0===b?a.join("-"):a.slice(b).join("-"),h=f.length;for(let a=0;a<h;a++){let b=f[a];if(b.validator(g))return b.classGroupId}},v=(a,b)=>{let c=s();for(let d in a)w(a[d],c,d,b);return c},w=(a,b,c,d)=>{let e=a.length;for(let f=0;f<e;f++)x(a[f],b,c,d)},x=(a,b,c,d)=>{"string"==typeof a?y(a,b,c):"function"==typeof a?z(a,b,c,d):A(a,b,c,d)},y=(a,b,c)=>{(""===a?b:B(b,a)).classGroupId=c},z=(a,b,c,d)=>{C(a)?w(a(d),b,c,d):(null===b.validators&&(b.validators=[]),b.validators.push({classGroupId:c,validator:a}))},A=(a,b,c,d)=>{let e=Object.entries(a),f=e.length;for(let a=0;a<f;a++){let[f,g]=e[a];w(g,B(b,f),c,d)}},B=(a,b)=>{let c=a,d=b.split("-"),e=d.length;for(let a=0;a<e;a++){let b=d[a],e=c.nextPart.get(b);e||(e=s(),c.nextPart.set(b,e)),c=e}return c},C=a=>"isThemeGetter"in a&&!0===a.isThemeGetter,D=[],E=(a,b,c,d,e)=>({modifiers:a,hasImportantModifier:b,baseClassName:c,maybePostfixModifierPosition:d,isExternal:e}),F=/\s+/,G=a=>{let b;if("string"==typeof a)return a;let c="";for(let d=0;d<a.length;d++)a[d]&&(b=G(a[d]))&&(c&&(c+=" "),c+=b);return c},H=[],I=a=>{let b=b=>b[a]||H;return b.isThemeGetter=!0,b},J=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,K=/^\((?:(\w[\w-]*):)?(.+)\)$/i,L=/^\d+\/\d+$/,M=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,N=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,O=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,P=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Q=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=a=>L.test(a),S=a=>!!a&&!Number.isNaN(Number(a)),T=a=>!!a&&Number.isInteger(Number(a)),U=a=>a.endsWith("%")&&S(a.slice(0,-1)),V=a=>M.test(a),W=()=>!0,X=a=>N.test(a)&&!O.test(a),Y=()=>!1,Z=a=>P.test(a),$=a=>Q.test(a),_=a=>!ab(a)&&!ah(a),aa=a=>ao(a,as,Y),ab=a=>J.test(a),ac=a=>ao(a,at,X),ad=a=>ao(a,au,S),ae=a=>ao(a,aq,Y),af=a=>ao(a,ar,$),ag=a=>ao(a,aw,Z),ah=a=>K.test(a),ai=a=>ap(a,at),aj=a=>ap(a,av),ak=a=>ap(a,aq),al=a=>ap(a,as),am=a=>ap(a,ar),an=a=>ap(a,aw,!0),ao=(a,b,c)=>{let d=J.exec(a);return!!d&&(d[1]?b(d[1]):c(d[2]))},ap=(a,b,c=!1)=>{let d=K.exec(a);return!!d&&(d[1]?b(d[1]):c)},aq=a=>"position"===a||"percentage"===a,ar=a=>"image"===a||"url"===a,as=a=>"length"===a||"size"===a||"bg-size"===a,at=a=>"length"===a,au=a=>"number"===a,av=a=>"family-name"===a,aw=a=>"shadow"===a,ax=((a,...b)=>{let c,d,e,f,g=a=>{let b=d(a);if(b)return b;let f=((a,b)=>{let{parseClassName:c,getClassGroupId:d,getConflictingClassGroupIds:e,sortModifiers:f}=b,g=[],h=a.trim().split(F),i="";for(let a=h.length-1;a>=0;a-=1){let b=h[a],{isExternal:j,modifiers:k,hasImportantModifier:l,baseClassName:m,maybePostfixModifierPosition:n}=c(b);if(j){i=b+(i.length>0?" "+i:i);continue}let o=!!n,p=d(o?m.substring(0,n):m);if(!p){if(!o||!(p=d(m))){i=b+(i.length>0?" "+i:i);continue}o=!1}let q=0===k.length?"":1===k.length?k[0]:f(k).join(":"),r=l?q+"!":q,s=r+p;if(g.indexOf(s)>-1)continue;g.push(s);let t=e(p,o);for(let a=0;a<t.length;++a){let b=t[a];g.push(r+b)}i=b+(i.length>0?" "+i:i)}return i})(a,c);return e(a,f),f};return f=h=>{var i;let j;return d=(c={cache:(a=>{if(a<1)return{get:()=>void 0,set:()=>{}};let b=0,c=Object.create(null),d=Object.create(null),e=(e,f)=>{c[e]=f,++b>a&&(b=0,d=c,c=Object.create(null))};return{get(a){let b=c[a];return void 0!==b?b:void 0!==(b=d[a])?(e(a,b),b):void 0},set(a,b){a in c?c[a]=b:e(a,b)}}})((i=b.reduce((a,b)=>b(a),a())).cacheSize),parseClassName:(a=>{let{prefix:b,experimentalParseClassName:c}=a,d=a=>{let b,c=[],d=0,e=0,f=0,g=a.length;for(let h=0;h<g;h++){let g=a[h];if(0===d&&0===e){if(":"===g){c.push(a.slice(f,h)),f=h+1;continue}if("/"===g){b=h;continue}}"["===g?d++:"]"===g?d--:"("===g?e++:")"===g&&e--}let h=0===c.length?a:a.slice(f),i=h,j=!1;return h.endsWith("!")?(i=h.slice(0,-1),j=!0):h.startsWith("!")&&(i=h.slice(1),j=!0),E(c,j,i,b&&b>f?b-f:void 0)};if(b){let a=b+":",c=d;d=b=>b.startsWith(a)?c(b.slice(a.length)):E(D,!1,b,void 0,!0)}if(c){let a=d;d=b=>c({className:b,parseClassName:a})}return d})(i),sortModifiers:(j=new Map,i.orderSensitiveModifiers.forEach((a,b)=>{j.set(a,1e6+b)}),a=>{let b=[],c=[];for(let d=0;d<a.length;d++){let e=a[d],f="["===e[0],g=j.has(e);f||g?(c.length>0&&(c.sort(),b.push(...c),c=[]),b.push(e)):c.push(e)}return c.length>0&&(c.sort(),b.push(...c)),b}),...(a=>{let b=(a=>{let{theme:b,classGroups:c}=a;return v(c,b)})(a),{conflictingClassGroups:c,conflictingClassGroupModifiers:d}=a;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]")){var c;let b,d,e;return -1===(c=a).slice(1,-1).indexOf(":")?void 0:(d=(b=c.slice(1,-1)).indexOf(":"),(e=b.slice(0,d))?"arbitrary.."+e:void 0)}let d=a.split("-"),e=+(""===d[0]&&d.length>1);return u(d,e,b)},getConflictingClassGroupIds:(a,b)=>{if(b){let b=d[a],e=c[a];if(b){if(e){let a=Array(e.length+b.length);for(let b=0;b<e.length;b++)a[b]=e[b];for(let c=0;c<b.length;c++)a[e.length+c]=b[c];return a}return b}return e||t}return c[a]||t}}})(i)}).cache.get,e=c.cache.set,f=g,g(h)},(...a)=>f(((...a)=>{let b,c,d=0,e="";for(;d<a.length;)(b=a[d++])&&(c=G(b))&&(e&&(e+=" "),e+=c);return e})(...a))})(()=>{let a=I("color"),b=I("font"),c=I("text"),d=I("font-weight"),e=I("tracking"),f=I("leading"),g=I("breakpoint"),h=I("container"),i=I("spacing"),j=I("radius"),k=I("shadow"),l=I("inset-shadow"),m=I("text-shadow"),n=I("drop-shadow"),o=I("blur"),p=I("perspective"),q=I("aspect"),r=I("ease"),s=I("animate"),t=()=>["auto","avoid","all","avoid-page","page","left","right","column"],u=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],v=()=>[...u(),ah,ab],w=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],y=()=>[ah,ab,i],z=()=>[R,"full","auto",...y()],A=()=>[T,"none","subgrid",ah,ab],B=()=>["auto",{span:["full",T,ah,ab]},T,ah,ab],C=()=>[T,"auto",ah,ab],D=()=>["auto","min","max","fr",ah,ab],E=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],F=()=>["start","end","center","stretch","center-safe","end-safe"],G=()=>["auto",...y()],H=()=>[R,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],J=()=>[a,ah,ab],K=()=>[...u(),ak,ae,{position:[ah,ab]}],L=()=>["no-repeat",{repeat:["","x","y","space","round"]}],M=()=>["auto","cover","contain",al,aa,{size:[ah,ab]}],N=()=>[U,ai,ac],O=()=>["","none","full",j,ah,ab],P=()=>["",S,ai,ac],Q=()=>["solid","dashed","dotted","double"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Y=()=>[S,U,ak,ae],Z=()=>["","none",o,ah,ab],$=()=>["none",S,ah,ab],ao=()=>["none",S,ah,ab],ap=()=>[S,ah,ab],aq=()=>[R,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[V],breakpoint:[V],color:[W],container:[V],"drop-shadow":[V],ease:["in","out","in-out"],font:[_],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[V],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[V],shadow:[V],spacing:["px",S],text:[V],"text-shadow":[V],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",R,ab,ah,q]}],container:["container"],columns:[{columns:[S,ab,ah,h]}],"break-after":[{"break-after":t()}],"break-before":[{"break-before":t()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:z()}],"inset-x":[{"inset-x":z()}],"inset-y":[{"inset-y":z()}],start:[{start:z()}],end:[{end:z()}],top:[{top:z()}],right:[{right:z()}],bottom:[{bottom:z()}],left:[{left:z()}],visibility:["visible","invisible","collapse"],z:[{z:[T,"auto",ah,ab]}],basis:[{basis:[R,"full","auto",h,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[S,R,"auto","initial","none",ab]}],grow:[{grow:["",S,ah,ab]}],shrink:[{shrink:["",S,ah,ab]}],order:[{order:[T,"first","last","none",ah,ab]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":D()}],"auto-rows":[{"auto-rows":D()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:[...E(),"normal"]}],"justify-items":[{"justify-items":[...F(),"normal"]}],"justify-self":[{"justify-self":["auto",...F()]}],"align-content":[{content:["normal",...E()]}],"align-items":[{items:[...F(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...F(),{baseline:["","last"]}]}],"place-content":[{"place-content":E()}],"place-items":[{"place-items":[...F(),"baseline"]}],"place-self":[{"place-self":["auto",...F()]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:G()}],mx:[{mx:G()}],my:[{my:G()}],ms:[{ms:G()}],me:[{me:G()}],mt:[{mt:G()}],mr:[{mr:G()}],mb:[{mb:G()}],ml:[{ml:G()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],w:[{w:[h,"screen",...H()]}],"min-w":[{"min-w":[h,"screen","none",...H()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[g]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",c,ai,ac]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[d,ah,ad]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",U,ab]}],"font-family":[{font:[aj,ab,b]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[e,ah,ab]}],"line-clamp":[{"line-clamp":[S,"none",ah,ad]}],leading:[{leading:[f,...y()]}],"list-image":[{"list-image":["none",ah,ab]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ah,ab]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:J()}],"text-color":[{text:J()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[S,"from-font","auto",ah,ac]}],"text-decoration-color":[{decoration:J()}],"underline-offset":[{"underline-offset":[S,"auto",ah,ab]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ah,ab]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ah,ab]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:K()}],"bg-repeat":[{bg:L()}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},T,ah,ab],radial:["",ah,ab],conic:[T,ah,ab]},am,af]}],"bg-color":[{bg:J()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:J()}],"gradient-via":[{via:J()}],"gradient-to":[{to:J()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"border-w":[{border:P()}],"border-w-x":[{"border-x":P()}],"border-w-y":[{"border-y":P()}],"border-w-s":[{"border-s":P()}],"border-w-e":[{"border-e":P()}],"border-w-t":[{"border-t":P()}],"border-w-r":[{"border-r":P()}],"border-w-b":[{"border-b":P()}],"border-w-l":[{"border-l":P()}],"divide-x":[{"divide-x":P()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":P()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:J()}],"border-color-x":[{"border-x":J()}],"border-color-y":[{"border-y":J()}],"border-color-s":[{"border-s":J()}],"border-color-e":[{"border-e":J()}],"border-color-t":[{"border-t":J()}],"border-color-r":[{"border-r":J()}],"border-color-b":[{"border-b":J()}],"border-color-l":[{"border-l":J()}],"divide-color":[{divide:J()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[S,ah,ab]}],"outline-w":[{outline:["",S,ai,ac]}],"outline-color":[{outline:J()}],shadow:[{shadow:["","none",k,an,ag]}],"shadow-color":[{shadow:J()}],"inset-shadow":[{"inset-shadow":["none",l,an,ag]}],"inset-shadow-color":[{"inset-shadow":J()}],"ring-w":[{ring:P()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:J()}],"ring-offset-w":[{"ring-offset":[S,ac]}],"ring-offset-color":[{"ring-offset":J()}],"inset-ring-w":[{"inset-ring":P()}],"inset-ring-color":[{"inset-ring":J()}],"text-shadow":[{"text-shadow":["none",m,an,ag]}],"text-shadow-color":[{"text-shadow":J()}],opacity:[{opacity:[S,ah,ab]}],"mix-blend":[{"mix-blend":[...X(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":X()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[S]}],"mask-image-linear-from-pos":[{"mask-linear-from":Y()}],"mask-image-linear-to-pos":[{"mask-linear-to":Y()}],"mask-image-linear-from-color":[{"mask-linear-from":J()}],"mask-image-linear-to-color":[{"mask-linear-to":J()}],"mask-image-t-from-pos":[{"mask-t-from":Y()}],"mask-image-t-to-pos":[{"mask-t-to":Y()}],"mask-image-t-from-color":[{"mask-t-from":J()}],"mask-image-t-to-color":[{"mask-t-to":J()}],"mask-image-r-from-pos":[{"mask-r-from":Y()}],"mask-image-r-to-pos":[{"mask-r-to":Y()}],"mask-image-r-from-color":[{"mask-r-from":J()}],"mask-image-r-to-color":[{"mask-r-to":J()}],"mask-image-b-from-pos":[{"mask-b-from":Y()}],"mask-image-b-to-pos":[{"mask-b-to":Y()}],"mask-image-b-from-color":[{"mask-b-from":J()}],"mask-image-b-to-color":[{"mask-b-to":J()}],"mask-image-l-from-pos":[{"mask-l-from":Y()}],"mask-image-l-to-pos":[{"mask-l-to":Y()}],"mask-image-l-from-color":[{"mask-l-from":J()}],"mask-image-l-to-color":[{"mask-l-to":J()}],"mask-image-x-from-pos":[{"mask-x-from":Y()}],"mask-image-x-to-pos":[{"mask-x-to":Y()}],"mask-image-x-from-color":[{"mask-x-from":J()}],"mask-image-x-to-color":[{"mask-x-to":J()}],"mask-image-y-from-pos":[{"mask-y-from":Y()}],"mask-image-y-to-pos":[{"mask-y-to":Y()}],"mask-image-y-from-color":[{"mask-y-from":J()}],"mask-image-y-to-color":[{"mask-y-to":J()}],"mask-image-radial":[{"mask-radial":[ah,ab]}],"mask-image-radial-from-pos":[{"mask-radial-from":Y()}],"mask-image-radial-to-pos":[{"mask-radial-to":Y()}],"mask-image-radial-from-color":[{"mask-radial-from":J()}],"mask-image-radial-to-color":[{"mask-radial-to":J()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":u()}],"mask-image-conic-pos":[{"mask-conic":[S]}],"mask-image-conic-from-pos":[{"mask-conic-from":Y()}],"mask-image-conic-to-pos":[{"mask-conic-to":Y()}],"mask-image-conic-from-color":[{"mask-conic-from":J()}],"mask-image-conic-to-color":[{"mask-conic-to":J()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:K()}],"mask-repeat":[{mask:L()}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ah,ab]}],filter:[{filter:["","none",ah,ab]}],blur:[{blur:Z()}],brightness:[{brightness:[S,ah,ab]}],contrast:[{contrast:[S,ah,ab]}],"drop-shadow":[{"drop-shadow":["","none",n,an,ag]}],"drop-shadow-color":[{"drop-shadow":J()}],grayscale:[{grayscale:["",S,ah,ab]}],"hue-rotate":[{"hue-rotate":[S,ah,ab]}],invert:[{invert:["",S,ah,ab]}],saturate:[{saturate:[S,ah,ab]}],sepia:[{sepia:["",S,ah,ab]}],"backdrop-filter":[{"backdrop-filter":["","none",ah,ab]}],"backdrop-blur":[{"backdrop-blur":Z()}],"backdrop-brightness":[{"backdrop-brightness":[S,ah,ab]}],"backdrop-contrast":[{"backdrop-contrast":[S,ah,ab]}],"backdrop-grayscale":[{"backdrop-grayscale":["",S,ah,ab]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S,ah,ab]}],"backdrop-invert":[{"backdrop-invert":["",S,ah,ab]}],"backdrop-opacity":[{"backdrop-opacity":[S,ah,ab]}],"backdrop-saturate":[{"backdrop-saturate":[S,ah,ab]}],"backdrop-sepia":[{"backdrop-sepia":["",S,ah,ab]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ah,ab]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[S,"initial",ah,ab]}],ease:[{ease:["linear","initial",r,ah,ab]}],delay:[{delay:[S,ah,ab]}],animate:[{animate:["none",s,ah,ab]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,ah,ab]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:$()}],"rotate-x":[{"rotate-x":$()}],"rotate-y":[{"rotate-y":$()}],"rotate-z":[{"rotate-z":$()}],scale:[{scale:ao()}],"scale-x":[{"scale-x":ao()}],"scale-y":[{"scale-y":ao()}],"scale-z":[{"scale-z":ao()}],"scale-3d":["scale-3d"],skew:[{skew:ap()}],"skew-x":[{"skew-x":ap()}],"skew-y":[{"skew-y":ap()}],transform:[{transform:[ah,ab,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:aq()}],"translate-x":[{"translate-x":aq()}],"translate-y":[{"translate-y":aq()}],"translate-z":[{"translate-z":aq()}],"translate-none":["translate-none"],accent:[{accent:J()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:J()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ah,ab]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ah,ab]}],fill:[{fill:["none",...J()]}],"stroke-w":[{stroke:[S,ai,ac,ad]}],stroke:[{stroke:["none",...J()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function ay(...a){return ax(r(a))}function az({className:a,...b}){return(0,p.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,p.jsx)("table",{"data-slot":"table",className:ay("w-full caption-bottom text-sm",a),...b})})}function aA({className:a,...b}){return(0,p.jsx)("thead",{"data-slot":"table-header",className:ay("[&_tr]:border-b",a),...b})}function aB({className:a,...b}){return(0,p.jsx)("tbody",{"data-slot":"table-body",className:ay("[&_tr:last-child]:border-0",a),...b})}function aC({className:a,...b}){return(0,p.jsx)("tr",{"data-slot":"table-row",className:ay("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",a),...b})}function aD({className:a,...b}){return(0,p.jsx)("th",{"data-slot":"table-head",className:ay("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...b})}function aE({className:a,...b}){return(0,p.jsx)("td",{"data-slot":"table-cell",className:ay("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...b})}function aF(a,b){if("function"==typeof a)return a(b);null!=a&&(a.current=b)}function aG(...a){return b=>{let c=!1,d=a.map(a=>{let d=aF(a,b);return c||"function"!=typeof d||(c=!0),d});if(c)return()=>{for(let b=0;b<d.length;b++){let c=d[b];"function"==typeof c?c():aF(a[b],null)}}}}function aH(...a){return q.useCallback(aG(...a),a)}var aI=Symbol.for("react.lazy"),aJ=q[" use ".trim().toString()];function aK(a){var b;return null!=a&&"object"==typeof a&&"$$typeof"in a&&a.$$typeof===aI&&"_payload"in a&&"object"==typeof(b=a._payload)&&null!==b&&"then"in b}function aL(a){var b;let c,d=(b=a,(c=q.forwardRef((a,b)=>{let{children:c,...d}=a;if(aK(c)&&"function"==typeof aJ&&(c=aJ(c._payload)),q.isValidElement(c)){var e;let a,f,g=(e=c,(f=(a=Object.getOwnPropertyDescriptor(e.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.ref:(f=(a=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref),h=function(a,b){let c={...b};for(let d in b){let e=a[d],f=b[d];/^on[A-Z]/.test(d)?e&&f?c[d]=(...a)=>{let b=f(...a);return e(...a),b}:e&&(c[d]=e):"style"===d?c[d]={...e,...f}:"className"===d&&(c[d]=[e,f].filter(Boolean).join(" "))}return{...a,...c}}(d,c.props);return c.type!==q.Fragment&&(h.ref=b?aG(b,g):g),q.cloneElement(c,h)}return q.Children.count(c)>1?q.Children.only(null):null})).displayName=`${b}.SlotClone`,c),e=q.forwardRef((a,b)=>{let{children:c,...e}=a;aK(c)&&"function"==typeof aJ&&(c=aJ(c._payload));let f=q.Children.toArray(c),g=f.find(aO);if(g){let a=g.props.children,c=f.map(b=>b!==g?b:q.Children.count(a)>1?q.Children.only(null):q.isValidElement(a)?a.props.children:null);return(0,p.jsx)(d,{...e,ref:b,children:q.isValidElement(a)?q.cloneElement(a,void 0,c):null})}return(0,p.jsx)(d,{...e,ref:b,children:c})});return e.displayName=`${a}.Slot`,e}var aM=aL("Slot"),aN=Symbol("radix.slottable");function aO(a){return q.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===aN}let aP=a=>"boolean"==typeof a?`${a}`:0===a?"0":a,aQ=(b="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",c={variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}},a=>{var d;if((null==c?void 0:c.variants)==null)return r(b,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:e,defaultVariants:f}=c,g=Object.keys(e).map(b=>{let c=null==a?void 0:a[b],d=null==f?void 0:f[b];if(null===c)return null;let g=aP(c)||aP(d);return e[b][g]}),h=a&&Object.entries(a).reduce((a,b)=>{let[c,d]=b;return void 0===d||(a[c]=d),a},{});return r(b,g,null==c||null==(d=c.compoundVariants)?void 0:d.reduce((a,b)=>{let{class:c,className:d,...e}=b;return Object.entries(e).every(a=>{let[b,c]=a;return Array.isArray(c)?c.includes({...f,...h}[b]):({...f,...h})[b]===c})?[...a,c,d]:a},[]),null==a?void 0:a.class,null==a?void 0:a.className)});function aR({className:a,variant:b="default",size:c="default",asChild:d=!1,...e}){return(0,p.jsx)(d?aM:"button",{"data-slot":"button","data-variant":b,"data-size":c,className:ay(aQ({variant:b,size:c,className:a})),...e})}function aS(a,b=[]){let c=[],d=()=>{let b=c.map(a=>q.createContext(a));return function(c){let d=c?.[a]||b;return q.useMemo(()=>({[`__scope${a}`]:{...c,[a]:d}}),[c,d])}};return d.scopeName=a,[function(b,d){let e=q.createContext(d),f=c.length;c=[...c,d];let g=b=>{let{scope:c,children:d,...g}=b,h=c?.[a]?.[f]||e,i=q.useMemo(()=>g,Object.values(g));return(0,p.jsx)(h.Provider,{value:i,children:d})};return g.displayName=b+"Provider",[g,function(c,g){let h=g?.[a]?.[f]||e,i=q.useContext(h);if(i)return i;if(void 0!==d)return d;throw Error(`\`${c}\` must be used within \`${b}\``)}]},function(...a){let b=a[0];if(1===a.length)return b;let c=()=>{let c=a.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(a){let d=c.reduce((b,{useScope:c,scopeName:d})=>{let e=c(a)[`__scope${d}`];return{...b,...e}},{});return q.useMemo(()=>({[`__scope${b.scopeName}`]:d}),[d])}};return c.scopeName=b.scopeName,c}(d,...b)]}function aT(a,b,{checkForDefaultPrevented:c=!0}={}){return function(d){if(a?.(d),!1===c||!d.defaultPrevented)return b?.(d)}}var aU=globalThis?.document?q.useLayoutEffect:()=>{};q[" useEffectEvent ".trim().toString()],q[" useInsertionEffect ".trim().toString()];var aV=q[" useInsertionEffect ".trim().toString()]||aU;function aW({prop:a,defaultProp:b,onChange:c=()=>{},caller:d}){let[e,f,g]=function({defaultProp:a,onChange:b}){let[c,d]=q.useState(a),e=q.useRef(c),f=q.useRef(b);return aV(()=>{f.current=b},[b]),q.useEffect(()=>{e.current!==c&&(f.current?.(c),e.current=c)},[c,e]),[c,d,f]}({defaultProp:b,onChange:c}),h=void 0!==a,i=h?a:e;{let b=q.useRef(void 0!==a);q.useEffect(()=>{let a=b.current;if(a!==h){let b=h?"controlled":"uncontrolled";console.warn(`${d} is changing from ${a?"controlled":"uncontrolled"} to ${b}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}b.current=h},[h,d])}return[i,q.useCallback(b=>{if(h){let c="function"==typeof b?b(a):b;c!==a&&g.current?.(c)}else f(b)},[h,a,f,g])]}Symbol("RADIX:SYNC_STATE");var aX=a=>{var b;let c,d,{present:e,children:f}=a,g=function(a){var b,c;let[d,e]=q.useState(),f=q.useRef(null),g=q.useRef(a),h=q.useRef("none"),[i,j]=(b=a?"mounted":"unmounted",c={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},q.useReducer((a,b)=>c[a][b]??a,b));return q.useEffect(()=>{let a=aY(f.current);h.current="mounted"===i?a:"none"},[i]),aU(()=>{let b=f.current,c=g.current;if(c!==a){let d=h.current,e=aY(b);a?j("MOUNT"):"none"===e||b?.display==="none"?j("UNMOUNT"):c&&d!==e?j("ANIMATION_OUT"):j("UNMOUNT"),g.current=a}},[a,j]),aU(()=>{if(d){let a,b=d.ownerDocument.defaultView??window,c=c=>{let e=aY(f.current).includes(CSS.escape(c.animationName));if(c.target===d&&e&&(j("ANIMATION_END"),!g.current)){let c=d.style.animationFillMode;d.style.animationFillMode="forwards",a=b.setTimeout(()=>{"forwards"===d.style.animationFillMode&&(d.style.animationFillMode=c)})}},e=a=>{a.target===d&&(h.current=aY(f.current))};return d.addEventListener("animationstart",e),d.addEventListener("animationcancel",c),d.addEventListener("animationend",c),()=>{b.clearTimeout(a),d.removeEventListener("animationstart",e),d.removeEventListener("animationcancel",c),d.removeEventListener("animationend",c)}}j("ANIMATION_END")},[d,j]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:q.useCallback(a=>{f.current=a?getComputedStyle(a):null,e(a)},[])}}(e),h="function"==typeof f?f({present:g.isPresent}):q.Children.only(f),i=aH(g.ref,(b=h,(d=(c=Object.getOwnPropertyDescriptor(b.props,"ref")?.get)&&"isReactWarning"in c&&c.isReactWarning)?b.ref:(d=(c=Object.getOwnPropertyDescriptor(b,"ref")?.get)&&"isReactWarning"in c&&c.isReactWarning)?b.props.ref:b.props.ref||b.ref));return"function"==typeof f||g.isPresent?q.cloneElement(h,{ref:i}):null};function aY(a){return a?.animationName||"none"}aX.displayName="Presence";var aZ=a.i(10214);function a$(a){var b;let c,d=(b=a,(c=q.forwardRef((a,b)=>{let{children:c,...d}=a;if(q.isValidElement(c)){var e;let a,f,g=(e=c,(f=(a=Object.getOwnPropertyDescriptor(e.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.ref:(f=(a=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref),h=function(a,b){let c={...b};for(let d in b){let e=a[d],f=b[d];/^on[A-Z]/.test(d)?e&&f?c[d]=(...a)=>{let b=f(...a);return e(...a),b}:e&&(c[d]=e):"style"===d?c[d]={...e,...f}:"className"===d&&(c[d]=[e,f].filter(Boolean).join(" "))}return{...a,...c}}(d,c.props);return c.type!==q.Fragment&&(h.ref=b?aG(b,g):g),q.cloneElement(c,h)}return q.Children.count(c)>1?q.Children.only(null):null})).displayName=`${b}.SlotClone`,c),e=q.forwardRef((a,b)=>{let{children:c,...e}=a,f=q.Children.toArray(c),g=f.find(a0);if(g){let a=g.props.children,c=f.map(b=>b!==g?b:q.Children.count(a)>1?q.Children.only(null):q.isValidElement(a)?a.props.children:null);return(0,p.jsx)(d,{...e,ref:b,children:q.isValidElement(a)?q.cloneElement(a,void 0,c):null})}return(0,p.jsx)(d,{...e,ref:b,children:c})});return e.displayName=`${a}.Slot`,e}var a_=Symbol("radix.slottable");function a0(a){return q.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===a_}var a1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((a,b)=>{let c=a$(`Primitive.${b}`),d=q.forwardRef((a,d)=>{let{asChild:e,...f}=a;return(0,p.jsx)(e?c:b,{...f,ref:d})});return d.displayName=`Primitive.${b}`,{...a,[b]:d}},{}),a2="Checkbox",[a3,a4]=aS(a2),[a5,a6]=a3(a2);function a7(a){let{__scopeCheckbox:b,checked:c,children:d,defaultChecked:e,disabled:f,form:g,name:h,onCheckedChange:i,required:j,value:k="on",internal_do_not_use_render:l}=a,[m,n]=aW({prop:c,defaultProp:e??!1,onChange:i,caller:a2}),[o,r]=q.useState(null),[s,t]=q.useState(null),u=q.useRef(!1),v=!o||!!g||!!o.closest("form"),w={checked:m,disabled:f,setChecked:n,control:o,setControl:r,name:h,form:g,value:k,hasConsumerStoppedPropagationRef:u,required:j,defaultChecked:!bf(e)&&e,isFormControl:v,bubbleInput:s,setBubbleInput:t};return(0,p.jsx)(a5,{scope:b,...w,children:"function"==typeof l?l(w):d})}var a8="CheckboxTrigger",a9=q.forwardRef(({__scopeCheckbox:a,onKeyDown:b,onClick:c,...d},e)=>{let{control:f,value:g,disabled:h,checked:i,required:j,setControl:k,setChecked:l,hasConsumerStoppedPropagationRef:m,isFormControl:n,bubbleInput:o}=a6(a8,a),r=aH(e,k),s=q.useRef(i);return q.useEffect(()=>{let a=f?.form;if(a){let b=()=>l(s.current);return a.addEventListener("reset",b),()=>a.removeEventListener("reset",b)}},[f,l]),(0,p.jsx)(a1.button,{type:"button",role:"checkbox","aria-checked":bf(i)?"mixed":i,"aria-required":j,"data-state":bg(i),"data-disabled":h?"":void 0,disabled:h,value:g,...d,ref:r,onKeyDown:aT(b,a=>{"Enter"===a.key&&a.preventDefault()}),onClick:aT(c,a=>{l(a=>!!bf(a)||!a),o&&n&&(m.current=a.isPropagationStopped(),m.current||a.stopPropagation())})})});a9.displayName=a8;var ba=q.forwardRef((a,b)=>{let{__scopeCheckbox:c,name:d,checked:e,defaultChecked:f,required:g,disabled:h,value:i,onCheckedChange:j,form:k,...l}=a;return(0,p.jsx)(a7,{__scopeCheckbox:c,checked:e,defaultChecked:f,disabled:h,required:g,onCheckedChange:j,name:d,form:k,value:i,internal_do_not_use_render:({isFormControl:a})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(a9,{...l,ref:b,__scopeCheckbox:c}),a&&(0,p.jsx)(be,{__scopeCheckbox:c})]})})});ba.displayName=a2;var bb="CheckboxIndicator",bc=q.forwardRef((a,b)=>{let{__scopeCheckbox:c,forceMount:d,...e}=a,f=a6(bb,c);return(0,p.jsx)(aX,{present:d||bf(f.checked)||!0===f.checked,children:(0,p.jsx)(a1.span,{"data-state":bg(f.checked),"data-disabled":f.disabled?"":void 0,...e,ref:b,style:{pointerEvents:"none",...a.style}})})});bc.displayName=bb;var bd="CheckboxBubbleInput",be=q.forwardRef(({__scopeCheckbox:a,...b},c)=>{let d,{control:e,hasConsumerStoppedPropagationRef:f,checked:g,defaultChecked:h,required:i,disabled:j,name:k,value:l,form:m,bubbleInput:n,setBubbleInput:o}=a6(bd,a),r=aH(c,o),s=(d=q.useRef({value:g,previous:g}),q.useMemo(()=>(d.current.value!==g&&(d.current.previous=d.current.value,d.current.value=g),d.current.previous),[g])),t=function(a){let[b,c]=q.useState(void 0);return aU(()=>{if(a){c({width:a.offsetWidth,height:a.offsetHeight});let b=new ResizeObserver(b=>{let d,e;if(!Array.isArray(b)||!b.length)return;let f=b[0];if("borderBoxSize"in f){let a=f.borderBoxSize,b=Array.isArray(a)?a[0]:a;d=b.inlineSize,e=b.blockSize}else d=a.offsetWidth,e=a.offsetHeight;c({width:d,height:e})});return b.observe(a,{box:"border-box"}),()=>b.unobserve(a)}c(void 0)},[a]),b}(e);q.useEffect(()=>{if(!n)return;let a=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,b=!f.current;if(s!==g&&a){let c=new Event("click",{bubbles:b});n.indeterminate=bf(g),a.call(n,!bf(g)&&g),n.dispatchEvent(c)}},[n,s,g,f]);let u=q.useRef(!bf(g)&&g);return(0,p.jsx)(a1.input,{type:"checkbox","aria-hidden":!0,defaultChecked:h??u.current,required:i,disabled:j,name:k,value:l,form:m,...b,tabIndex:-1,ref:r,style:{...b.style,...t,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function bf(a){return"indeterminate"===a}function bg(a){return bf(a)?"indeterminate":a?"checked":"unchecked"}be.displayName=bd;var bh=a.i(71957);let bi=(0,bh.default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);function bj({className:a,...b}){return(0,p.jsx)(ba,{"data-slot":"checkbox",className:ay("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",a),...b,children:(0,p.jsx)(bc,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:(0,p.jsx)(bi,{className:"size-3.5"})})})}let bk={GET:"bg-green-100 text-green-800",POST:"bg-blue-100 text-blue-800",PUT:"bg-yellow-100 text-yellow-800",PATCH:"bg-orange-100 text-orange-800",DELETE:"bg-red-100 text-red-800"};function bl({endpoints:a,onEdit:b,onDelete:c,onTest:d,selectedIds:e,onSelectionChange:f,lastModifiedId:g}){let h=a.length>0&&a.every(a=>e.has(a.id)),i=a.some(a=>e.has(a.id))&&!h;return(0,p.jsxs)(az,{children:[(0,p.jsx)(aA,{children:(0,p.jsxs)(aC,{children:[(0,p.jsx)(aD,{className:"w-[50px]",children:(0,p.jsx)(bj,{checked:h,ref:a=>{a&&(a.indeterminate=i)},onCheckedChange:b=>{!0===b?f(new Set(a.map(a=>a.id))):f(new Set)},"aria-label":"Select all"})}),(0,p.jsx)(aD,{className:"w-[100px]",children:"Method"}),(0,p.jsx)(aD,{children:"Path"}),(0,p.jsx)(aD,{children:"Description"}),(0,p.jsx)(aD,{className:"w-[200px]",children:"Actions"})]})}),(0,p.jsx)(aB,{children:0===a.length?(0,p.jsx)(aC,{children:(0,p.jsx)(aE,{colSpan:5,className:"text-center text-gray-500",children:"No endpoints registered yet"})}):a.map(a=>(0,p.jsxs)(aC,{className:g===a.id?"bg-yellow-50":"",children:[(0,p.jsx)(aE,{children:(0,p.jsx)(bj,{checked:e.has(a.id),onCheckedChange:b=>{var c,d;let g;return c=a.id,d=!0===b,g=new Set(e),void(d?g.add(c):g.delete(c),f(g))},"aria-label":`Select ${a.path}`})}),(0,p.jsx)(aE,{children:(0,p.jsx)("span",{className:`px-2 py-1 rounded text-xs font-medium ${bk[a.method]||"bg-gray-100"}`,children:a.method})}),(0,p.jsx)(aE,{className:"font-mono text-sm",children:a.path}),(0,p.jsx)(aE,{className:"text-gray-600",children:a.description||"-"}),(0,p.jsx)(aE,{children:(0,p.jsxs)("div",{className:"flex gap-2",children:[(0,p.jsx)(aR,{variant:"secondary",size:"sm",onClick:()=>d(a),children:"Test"}),(0,p.jsx)(aR,{variant:"outline",size:"sm",onClick:()=>b(a),children:"Edit"}),(0,p.jsx)(aR,{variant:"destructive",size:"sm",onClick:()=>c(a.id),children:"Delete"})]})})]},a.id))})]})}var bm=a.i(39308),bn=q[" useId ".trim().toString()]||(()=>void 0),bo=0;function bp(a){let[b,c]=q.useState(bn());return aU(()=>{a||c(a=>a??String(bo++))},[a]),a||(b?`radix-${b}`:"")}function bq(a){let b=q.useRef(a);return q.useEffect(()=>{b.current=a}),q.useMemo(()=>(...a)=>b.current?.(...a),[])}var br="dismissableLayer.update",bs=q.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),bt=q.forwardRef((a,b)=>{let{disableOutsidePointerEvents:c=!1,onEscapeKeyDown:d,onPointerDownOutside:e,onFocusOutside:f,onInteractOutside:g,onDismiss:h,...i}=a,j=q.useContext(bs),[k,l]=q.useState(null),m=k?.ownerDocument??globalThis?.document,[,o]=q.useState({}),r=aH(b,a=>l(a)),s=Array.from(j.layers),[t]=[...j.layersWithOutsidePointerEventsDisabled].slice(-1),u=s.indexOf(t),v=k?s.indexOf(k):-1,w=j.layersWithOutsidePointerEventsDisabled.size>0,x=v>=u,y=function(a,b=globalThis?.document){let c=bq(a),d=q.useRef(!1),e=q.useRef(()=>{});return q.useEffect(()=>{let a=a=>{if(a.target&&!d.current){let d=function(){bv("dismissableLayer.pointerDownOutside",c,f,{discrete:!0})},f={originalEvent:a};"touch"===a.pointerType?(b.removeEventListener("click",e.current),e.current=d,b.addEventListener("click",e.current,{once:!0})):d()}else b.removeEventListener("click",e.current);d.current=!1},f=window.setTimeout(()=>{b.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(f),b.removeEventListener("pointerdown",a),b.removeEventListener("click",e.current)}},[b,c]),{onPointerDownCapture:()=>d.current=!0}}(a=>{let b=a.target,c=[...j.branches].some(a=>a.contains(b));x&&!c&&(e?.(a),g?.(a),a.defaultPrevented||h?.())},m),z=function(a,b=globalThis?.document){let c=bq(a),d=q.useRef(!1);return q.useEffect(()=>{let a=a=>{a.target&&!d.current&&bv("dismissableLayer.focusOutside",c,{originalEvent:a},{discrete:!1})};return b.addEventListener("focusin",a),()=>b.removeEventListener("focusin",a)},[b,c]),{onFocusCapture:()=>d.current=!0,onBlurCapture:()=>d.current=!1}}(a=>{let b=a.target;![...j.branches].some(a=>a.contains(b))&&(f?.(a),g?.(a),a.defaultPrevented||h?.())},m);return!function(a,b=globalThis?.document){let c=bq(a);q.useEffect(()=>{let a=a=>{"Escape"===a.key&&c(a)};return b.addEventListener("keydown",a,{capture:!0}),()=>b.removeEventListener("keydown",a,{capture:!0})},[c,b])}(a=>{v===j.layers.size-1&&(d?.(a),!a.defaultPrevented&&h&&(a.preventDefault(),h()))},m),q.useEffect(()=>{if(k)return c&&(0===j.layersWithOutsidePointerEventsDisabled.size&&(n=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),j.layersWithOutsidePointerEventsDisabled.add(k)),j.layers.add(k),bu(),()=>{c&&1===j.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=n)}},[k,m,c,j]),q.useEffect(()=>()=>{k&&(j.layers.delete(k),j.layersWithOutsidePointerEventsDisabled.delete(k),bu())},[k,j]),q.useEffect(()=>{let a=()=>o({});return document.addEventListener(br,a),()=>document.removeEventListener(br,a)},[]),(0,p.jsx)(a1.div,{...i,ref:r,style:{pointerEvents:w?x?"auto":"none":void 0,...a.style},onFocusCapture:aT(a.onFocusCapture,z.onFocusCapture),onBlurCapture:aT(a.onBlurCapture,z.onBlurCapture),onPointerDownCapture:aT(a.onPointerDownCapture,y.onPointerDownCapture)})});function bu(){let a=new CustomEvent(br);document.dispatchEvent(a)}function bv(a,b,c,{discrete:d}){let e=c.originalEvent.target,f=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:c});if(b&&e.addEventListener(a,b,{once:!0}),d)e&&aZ.flushSync(()=>e.dispatchEvent(f));else e.dispatchEvent(f)}bt.displayName="DismissableLayer",q.forwardRef((a,b)=>{let c=q.useContext(bs),d=q.useRef(null),e=aH(b,d);return q.useEffect(()=>{let a=d.current;if(a)return c.branches.add(a),()=>{c.branches.delete(a)}},[c.branches]),(0,p.jsx)(a1.div,{...a,ref:e})}).displayName="DismissableLayerBranch";var bw="focusScope.autoFocusOnMount",bx="focusScope.autoFocusOnUnmount",by={bubbles:!1,cancelable:!0},bz=q.forwardRef((a,b)=>{let{loop:c=!1,trapped:d=!1,onMountAutoFocus:e,onUnmountAutoFocus:f,...g}=a,[h,i]=q.useState(null),j=bq(e),k=bq(f),l=q.useRef(null),m=aH(b,a=>i(a)),n=q.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;q.useEffect(()=>{if(d){let a=function(a){if(n.paused||!h)return;let b=a.target;h.contains(b)?l.current=b:bC(l.current,{select:!0})},b=function(a){if(n.paused||!h)return;let b=a.relatedTarget;null!==b&&(h.contains(b)||bC(l.current,{select:!0}))};document.addEventListener("focusin",a),document.addEventListener("focusout",b);let c=new MutationObserver(function(a){if(document.activeElement===document.body)for(let b of a)b.removedNodes.length>0&&bC(h)});return h&&c.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",a),document.removeEventListener("focusout",b),c.disconnect()}}},[d,h,n.paused]),q.useEffect(()=>{if(h){bD.add(n);let a=document.activeElement;if(!h.contains(a)){let b=new CustomEvent(bw,by);h.addEventListener(bw,j),h.dispatchEvent(b),b.defaultPrevented||(function(a,{select:b=!1}={}){let c=document.activeElement;for(let d of a)if(bC(d,{select:b}),document.activeElement!==c)return}(bA(h).filter(a=>"A"!==a.tagName),{select:!0}),document.activeElement===a&&bC(h))}return()=>{h.removeEventListener(bw,j),setTimeout(()=>{let b=new CustomEvent(bx,by);h.addEventListener(bx,k),h.dispatchEvent(b),b.defaultPrevented||bC(a??document.body,{select:!0}),h.removeEventListener(bx,k),bD.remove(n)},0)}}},[h,j,k,n]);let o=q.useCallback(a=>{if(!c&&!d||n.paused)return;let b="Tab"===a.key&&!a.altKey&&!a.ctrlKey&&!a.metaKey,e=document.activeElement;if(b&&e){var f;let b,d=a.currentTarget,[g,h]=[bB(b=bA(f=d),f),bB(b.reverse(),f)];g&&h?a.shiftKey||e!==h?a.shiftKey&&e===g&&(a.preventDefault(),c&&bC(h,{select:!0})):(a.preventDefault(),c&&bC(g,{select:!0})):e===d&&a.preventDefault()}},[c,d,n.paused]);return(0,p.jsx)(a1.div,{tabIndex:-1,...g,ref:m,onKeyDown:o})});function bA(a){let b=[],c=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{let b="INPUT"===a.tagName&&"hidden"===a.type;return a.disabled||a.hidden||b?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;c.nextNode();)b.push(c.currentNode);return b}function bB(a,b){for(let c of a)if(!function(a,{upTo:b}){if("hidden"===getComputedStyle(a).visibility)return!0;for(;a&&(void 0===b||a!==b);){if("none"===getComputedStyle(a).display)return!0;a=a.parentElement}return!1}(c,{upTo:b}))return c}function bC(a,{select:b=!1}={}){if(a&&a.focus){var c;let d=document.activeElement;a.focus({preventScroll:!0}),a!==d&&(c=a)instanceof HTMLInputElement&&"select"in c&&b&&a.select()}}bz.displayName="FocusScope";var bD=(f=[],{add(a){let b=f[0];a!==b&&b?.pause(),(f=bE(f,a)).unshift(a)},remove(a){f=bE(f,a),f[0]?.resume()}});function bE(a,b){let c=[...a],d=c.indexOf(b);return -1!==d&&c.splice(d,1),c}var bF=q.forwardRef((a,b)=>{let{container:c,...d}=a,[e,f]=q.useState(!1);aU(()=>f(!0),[]);let g=c||e&&globalThis?.document?.body;return g?aZ.default.createPortal((0,p.jsx)(a1.div,{...d,ref:b}),g):null});bF.displayName="Portal";var bG=0;function bH(){let a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}var bI=function(){return(bI=Object.assign||function(a){for(var b,c=1,d=arguments.length;c<d;c++)for(var e in b=arguments[c])Object.prototype.hasOwnProperty.call(b,e)&&(a[e]=b[e]);return a}).apply(this,arguments)};function bJ(a,b){var c={};for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&0>b.indexOf(d)&&(c[d]=a[d]);if(null!=a&&"function"==typeof Object.getOwnPropertySymbols)for(var e=0,d=Object.getOwnPropertySymbols(a);e<d.length;e++)0>b.indexOf(d[e])&&Object.prototype.propertyIsEnumerable.call(a,d[e])&&(c[d[e]]=a[d[e]]);return c}var bK=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),bL="width-before-scroll-bar";function bM(a,b){return"function"==typeof a?a(b):a&&(a.current=b),a}var bN=q.useEffect,bO=new WeakMap,bP=(void 0===g&&(g={}),(void 0===h&&(h=function(a){return a}),i=[],j=!1,k={read:function(){if(j)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(a){var b=h(a,j);return i.push(b),function(){i=i.filter(function(a){return a!==b})}},assignSyncMedium:function(a){for(j=!0;i.length;){var b=i;i=[],b.forEach(a)}i={push:function(b){return a(b)},filter:function(){return i}}},assignMedium:function(a){j=!0;var b=[];if(i.length){var c=i;i=[],c.forEach(a),b=i}var d=function(){var c=b;b=[],c.forEach(a)},e=function(){return Promise.resolve().then(d)};e(),i={push:function(a){b.push(a),e()},filter:function(a){return b=b.filter(a),i}}}}).options=bI({async:!0,ssr:!1},g),k),bQ=function(){},bR=q.forwardRef(function(a,b){var c,d,e,f,g=q.useRef(null),h=q.useState({onScrollCapture:bQ,onWheelCapture:bQ,onTouchMoveCapture:bQ}),i=h[0],j=h[1],k=a.forwardProps,l=a.children,m=a.className,n=a.removeScrollBar,o=a.enabled,p=a.shards,r=a.sideCar,s=a.noRelative,t=a.noIsolation,u=a.inert,v=a.allowPinchZoom,w=a.as,x=a.gapMode,y=bJ(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),z=(c=[g,b],d=function(a){return c.forEach(function(b){return bM(b,a)})},(e=(0,q.useState)(function(){return{value:null,callback:d,facade:{get current(){return e.value},set current(value){var a=e.value;a!==value&&(e.value=value,e.callback(value,a))}}}})[0]).callback=d,f=e.facade,bN(function(){var a=bO.get(f);if(a){var b=new Set(a),d=new Set(c),e=f.current;b.forEach(function(a){d.has(a)||bM(a,null)}),d.forEach(function(a){b.has(a)||bM(a,e)})}bO.set(f,c)},[c]),f),A=bI(bI({},y),i);return q.createElement(q.Fragment,null,o&&q.createElement(r,{sideCar:bP,removeScrollBar:n,shards:p,noRelative:s,noIsolation:t,inert:u,setCallbacks:j,allowPinchZoom:!!v,lockRef:g,gapMode:x}),k?q.cloneElement(q.Children.only(l),bI(bI({},A),{ref:z})):q.createElement(void 0===w?"div":w,bI({},A,{className:m,ref:z}),l))});bR.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},bR.classNames={fullWidth:bL,zeroRight:bK};var bS=function(a){var b=a.sideCar,c=bJ(a,["sideCar"]);if(!b)throw Error("Sidecar: please provide `sideCar` property to import the right car");var d=b.read();if(!d)throw Error("Sidecar medium not found");return q.createElement(d,bI({},c))};bS.isSideCarExport=!0;var bT=function(){var a=0,b=null;return{add:function(c){if(0==a&&(b=function(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var b=o||("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0);return b&&a.setAttribute("nonce",b),a}())){var d,e;(d=b).styleSheet?d.styleSheet.cssText=c:d.appendChild(document.createTextNode(c)),e=b,(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}a++},remove:function(){--a||!b||(b.parentNode&&b.parentNode.removeChild(b),b=null)}}},bU=function(){var a=bT();return function(b,c){q.useEffect(function(){return a.add(b),function(){a.remove()}},[b&&c])}},bV=function(){var a=bU();return function(b){return a(b.styles,b.dynamic),null}},bW={left:0,top:0,right:0,gap:0},bX=bV(),bY="data-scroll-locked",bZ=function(a,b,c,d){var e=a.left,f=a.top,g=a.right,h=a.gap;return void 0===c&&(c="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(d,";\n padding-right: ").concat(h,"px ").concat(d,";\n }\n body[").concat(bY,"] {\n overflow: hidden ").concat(d,";\n overscroll-behavior: contain;\n ").concat([b&&"position: relative ".concat(d,";"),"margin"===c&&"\n padding-left: ".concat(e,"px;\n padding-top: ").concat(f,"px;\n padding-right: ").concat(g,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(h,"px ").concat(d,";\n "),"padding"===c&&"padding-right: ".concat(h,"px ").concat(d,";")].filter(Boolean).join(""),"\n }\n \n .").concat(bK," {\n right: ").concat(h,"px ").concat(d,";\n }\n \n .").concat(bL," {\n margin-right: ").concat(h,"px ").concat(d,";\n }\n \n .").concat(bK," .").concat(bK," {\n right: 0 ").concat(d,";\n }\n \n .").concat(bL," .").concat(bL," {\n margin-right: 0 ").concat(d,";\n }\n \n body[").concat(bY,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(h,"px;\n }\n")},b$=function(){var a=parseInt(document.body.getAttribute(bY)||"0",10);return isFinite(a)?a:0},b_=function(){q.useEffect(function(){return document.body.setAttribute(bY,(b$()+1).toString()),function(){var a=b$()-1;a<=0?document.body.removeAttribute(bY):document.body.setAttribute(bY,a.toString())}},[])},b0=function(a){var b=a.noRelative,c=a.noImportant,d=a.gapMode,e=void 0===d?"margin":d;b_();var f=q.useMemo(function(){return void 0===e,bW},[e]);return q.createElement(bX,{styles:bZ(f,!b,e,c?"":"!important")})},b1=function(a,b){if(!(a instanceof Element))return!1;var c=window.getComputedStyle(a);return"hidden"!==c[b]&&(c.overflowY!==c.overflowX||"TEXTAREA"===a.tagName||"visible"!==c[b])},b2=function(a,b){var c=b.ownerDocument,d=b;do{if("undefined"!=typeof ShadowRoot&&d instanceof ShadowRoot&&(d=d.host),b3(a,d)){var e=b4(a,d);if(e[1]>e[2])return!0}d=d.parentNode}while(d&&d!==c.body)return!1},b3=function(a,b){return"v"===a?b1(b,"overflowY"):b1(b,"overflowX")},b4=function(a,b){return"v"===a?[b.scrollTop,b.scrollHeight,b.clientHeight]:[b.scrollLeft,b.scrollWidth,b.clientWidth]},b5=function(a,b,c,d,e){var f,g=(f=window.getComputedStyle(b).direction,"h"===a&&"rtl"===f?-1:1),h=g*d,i=c.target,j=b.contains(i),k=!1,l=h>0,m=0,n=0;do{if(!i)break;var o=b4(a,i),p=o[0],q=o[1]-o[2]-g*p;(p||q)&&b3(a,i)&&(m+=q,n+=p);var r=i.parentNode;i=r&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r}while(!j&&i!==document.body||j&&(b.contains(i)||b===i))return l&&(e&&1>Math.abs(m)||!e&&h>m)?k=!0:!l&&(e&&1>Math.abs(n)||!e&&-h>n)&&(k=!0),k},b6=function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},b7=function(a){return[a.deltaX,a.deltaY]},b8=function(a){return a&&"current"in a?a.current:a},b9=0,ca=[];let cb=(l=function(a){var b=q.useRef([]),c=q.useRef([0,0]),d=q.useRef(),e=q.useState(b9++)[0],f=q.useState(bV)[0],g=q.useRef(a);q.useEffect(function(){g.current=a},[a]),q.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(e));var b=(function(a,b,c){if(c||2==arguments.length)for(var d,e=0,f=b.length;e<f;e++)!d&&e in b||(d||(d=Array.prototype.slice.call(b,0,e)),d[e]=b[e]);return a.concat(d||Array.prototype.slice.call(b))})([a.lockRef.current],(a.shards||[]).map(b8),!0).filter(Boolean);return b.forEach(function(a){return a.classList.add("allow-interactivity-".concat(e))}),function(){document.body.classList.remove("block-interactivity-".concat(e)),b.forEach(function(a){return a.classList.remove("allow-interactivity-".concat(e))})}}},[a.inert,a.lockRef.current,a.shards]);var h=q.useCallback(function(a,b){if("touches"in a&&2===a.touches.length||"wheel"===a.type&&a.ctrlKey)return!g.current.allowPinchZoom;var e,f=b6(a),h=c.current,i="deltaX"in a?a.deltaX:h[0]-f[0],j="deltaY"in a?a.deltaY:h[1]-f[1],k=a.target,l=Math.abs(i)>Math.abs(j)?"h":"v";if("touches"in a&&"h"===l&&"range"===k.type)return!1;var m=window.getSelection(),n=m&&m.anchorNode;if(n&&(n===k||n.contains(k)))return!1;var o=b2(l,k);if(!o)return!0;if(o?e=l:(e="v"===l?"h":"v",o=b2(l,k)),!o)return!1;if(!d.current&&"changedTouches"in a&&(i||j)&&(d.current=e),!e)return!0;var p=d.current||e;return b5(p,b,a,"h"===p?i:j,!0)},[]),i=q.useCallback(function(a){if(ca.length&&ca[ca.length-1]===f){var c="deltaY"in a?b7(a):b6(a),d=b.current.filter(function(b){var d;return b.name===a.type&&(b.target===a.target||a.target===b.shadowParent)&&(d=b.delta,d[0]===c[0]&&d[1]===c[1])})[0];if(d&&d.should){a.cancelable&&a.preventDefault();return}if(!d){var e=(g.current.shards||[]).map(b8).filter(Boolean).filter(function(b){return b.contains(a.target)});(e.length>0?h(a,e[0]):!g.current.noIsolation)&&a.cancelable&&a.preventDefault()}}},[]),j=q.useCallback(function(a,c,d,e){var f={name:a,delta:c,target:d,should:e,shadowParent:function(a){for(var b=null;null!==a;)a instanceof ShadowRoot&&(b=a.host,a=a.host),a=a.parentNode;return b}(d)};b.current.push(f),setTimeout(function(){b.current=b.current.filter(function(a){return a!==f})},1)},[]),k=q.useCallback(function(a){c.current=b6(a),d.current=void 0},[]),l=q.useCallback(function(b){j(b.type,b7(b),b.target,h(b,a.lockRef.current))},[]),m=q.useCallback(function(b){j(b.type,b6(b),b.target,h(b,a.lockRef.current))},[]);q.useEffect(function(){return ca.push(f),a.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:m}),document.addEventListener("wheel",i,!1),document.addEventListener("touchmove",i,!1),document.addEventListener("touchstart",k,!1),function(){ca=ca.filter(function(a){return a!==f}),document.removeEventListener("wheel",i,!1),document.removeEventListener("touchmove",i,!1),document.removeEventListener("touchstart",k,!1)}},[]);var n=a.removeScrollBar,o=a.inert;return q.createElement(q.Fragment,null,o?q.createElement(f,{styles:"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")}):null,n?q.createElement(b0,{noRelative:a.noRelative,gapMode:a.gapMode}):null)},bP.useMedium(l),bS);var cc=q.forwardRef(function(a,b){return q.createElement(bR,bI({},a,{ref:b,sideCar:cb}))});cc.classNames=bR.classNames;var cd=new WeakMap,ce=new WeakMap,cf={},cg=0,ch=function(a){return a&&(a.host||ch(a.parentNode))},ci=function(a,b,c,d){var e=(Array.isArray(a)?a:[a]).map(function(a){if(b.contains(a))return a;var c=ch(a);return c&&b.contains(c)?c:(console.error("aria-hidden",a,"in not contained inside",b,". Doing nothing"),null)}).filter(function(a){return!!a});cf[c]||(cf[c]=new WeakMap);var f=cf[c],g=[],h=new Set,i=new Set(e),j=function(a){!a||h.has(a)||(h.add(a),j(a.parentNode))};e.forEach(j);var k=function(a){!a||i.has(a)||Array.prototype.forEach.call(a.children,function(a){if(h.has(a))k(a);else try{var b=a.getAttribute(d),e=null!==b&&"false"!==b,i=(cd.get(a)||0)+1,j=(f.get(a)||0)+1;cd.set(a,i),f.set(a,j),g.push(a),1===i&&e&&ce.set(a,!0),1===j&&a.setAttribute(c,"true"),e||a.setAttribute(d,"true")}catch(b){console.error("aria-hidden: cannot operate on ",a,b)}})};return k(b),h.clear(),cg++,function(){g.forEach(function(a){var b=cd.get(a)-1,e=f.get(a)-1;cd.set(a,b),f.set(a,e),b||(ce.has(a)||a.removeAttribute(d),ce.delete(a)),e||a.removeAttribute(c)}),--cg||(cd=new WeakMap,cd=new WeakMap,ce=new WeakMap,cf={})}},cj=function(a,b,c){void 0===c&&(c="data-aria-hidden");var d=Array.from(Array.isArray(a)?a:[a]),e=b||("undefined"==typeof document?null:(Array.isArray(a)?a[0]:a).ownerDocument.body);return e?(d.push.apply(d,Array.from(e.querySelectorAll("[aria-live], script"))),ci(d,e,c,"aria-hidden")):function(){return null}},ck="Dialog",[cl,cm]=aS(ck),[cn,co]=cl(ck),cp=a=>{let{__scopeDialog:b,children:c,open:d,defaultOpen:e,onOpenChange:f,modal:g=!0}=a,h=q.useRef(null),i=q.useRef(null),[j,k]=aW({prop:d,defaultProp:e??!1,onChange:f,caller:ck});return(0,p.jsx)(cn,{scope:b,triggerRef:h,contentRef:i,contentId:bp(),titleId:bp(),descriptionId:bp(),open:j,onOpenChange:k,onOpenToggle:q.useCallback(()=>k(a=>!a),[k]),modal:g,children:c})};cp.displayName=ck;var cq="DialogTrigger";q.forwardRef((a,b)=>{let{__scopeDialog:c,...d}=a,e=co(cq,c),f=aH(b,e.triggerRef);return(0,p.jsx)(a1.button,{type:"button","aria-haspopup":"dialog","aria-expanded":e.open,"aria-controls":e.contentId,"data-state":cJ(e.open),...d,ref:f,onClick:aT(a.onClick,e.onOpenToggle)})}).displayName=cq;var cr="DialogPortal",[cs,ct]=cl(cr,{forceMount:void 0}),cu=a=>{let{__scopeDialog:b,forceMount:c,children:d,container:e}=a,f=co(cr,b);return(0,p.jsx)(cs,{scope:b,forceMount:c,children:q.Children.map(d,a=>(0,p.jsx)(aX,{present:c||f.open,children:(0,p.jsx)(bF,{asChild:!0,container:e,children:a})}))})};cu.displayName=cr;var cv="DialogOverlay",cw=q.forwardRef((a,b)=>{let c=ct(cv,a.__scopeDialog),{forceMount:d=c.forceMount,...e}=a,f=co(cv,a.__scopeDialog);return f.modal?(0,p.jsx)(aX,{present:d||f.open,children:(0,p.jsx)(cy,{...e,ref:b})}):null});cw.displayName=cv;var cx=a$("DialogOverlay.RemoveScroll"),cy=q.forwardRef((a,b)=>{let{__scopeDialog:c,...d}=a,e=co(cv,c);return(0,p.jsx)(cc,{as:cx,allowPinchZoom:!0,shards:[e.contentRef],children:(0,p.jsx)(a1.div,{"data-state":cJ(e.open),...d,ref:b,style:{pointerEvents:"auto",...d.style}})})}),cz="DialogContent",cA=q.forwardRef((a,b)=>{let c=ct(cz,a.__scopeDialog),{forceMount:d=c.forceMount,...e}=a,f=co(cz,a.__scopeDialog);return(0,p.jsx)(aX,{present:d||f.open,children:f.modal?(0,p.jsx)(cB,{...e,ref:b}):(0,p.jsx)(cC,{...e,ref:b})})});cA.displayName=cz;var cB=q.forwardRef((a,b)=>{let c=co(cz,a.__scopeDialog),d=q.useRef(null),e=aH(b,c.contentRef,d);return q.useEffect(()=>{let a=d.current;if(a)return cj(a)},[]),(0,p.jsx)(cD,{...a,ref:e,trapFocus:c.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:aT(a.onCloseAutoFocus,a=>{a.preventDefault(),c.triggerRef.current?.focus()}),onPointerDownOutside:aT(a.onPointerDownOutside,a=>{let b=a.detail.originalEvent,c=0===b.button&&!0===b.ctrlKey;(2===b.button||c)&&a.preventDefault()}),onFocusOutside:aT(a.onFocusOutside,a=>a.preventDefault())})}),cC=q.forwardRef((a,b)=>{let c=co(cz,a.__scopeDialog),d=q.useRef(!1),e=q.useRef(!1);return(0,p.jsx)(cD,{...a,ref:b,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:b=>{a.onCloseAutoFocus?.(b),b.defaultPrevented||(d.current||c.triggerRef.current?.focus(),b.preventDefault()),d.current=!1,e.current=!1},onInteractOutside:b=>{a.onInteractOutside?.(b),b.defaultPrevented||(d.current=!0,"pointerdown"===b.detail.originalEvent.type&&(e.current=!0));let f=b.target;c.triggerRef.current?.contains(f)&&b.preventDefault(),"focusin"===b.detail.originalEvent.type&&e.current&&b.preventDefault()}})}),cD=q.forwardRef((a,b)=>{let{__scopeDialog:c,trapFocus:d,onOpenAutoFocus:e,onCloseAutoFocus:f,...g}=a,h=co(cz,c),i=q.useRef(null),j=aH(b,i);return q.useEffect(()=>{let a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??bH()),document.body.insertAdjacentElement("beforeend",a[1]??bH()),bG++,()=>{1===bG&&document.querySelectorAll("[data-radix-focus-guard]").forEach(a=>a.remove()),bG--}},[]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(bz,{asChild:!0,loop:!0,trapped:d,onMountAutoFocus:e,onUnmountAutoFocus:f,children:(0,p.jsx)(bt,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":cJ(h.open),...g,ref:j,onDismiss:()=>h.onOpenChange(!1)})}),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(cN,{titleId:h.titleId}),(0,p.jsx)(cO,{contentRef:i,descriptionId:h.descriptionId})]})]})}),cE="DialogTitle",cF=q.forwardRef((a,b)=>{let{__scopeDialog:c,...d}=a,e=co(cE,c);return(0,p.jsx)(a1.h2,{id:e.titleId,...d,ref:b})});cF.displayName=cE;var cG="DialogDescription";q.forwardRef((a,b)=>{let{__scopeDialog:c,...d}=a,e=co(cG,c);return(0,p.jsx)(a1.p,{id:e.descriptionId,...d,ref:b})}).displayName=cG;var cH="DialogClose",cI=q.forwardRef((a,b)=>{let{__scopeDialog:c,...d}=a,e=co(cH,c);return(0,p.jsx)(a1.button,{type:"button",...d,ref:b,onClick:aT(a.onClick,()=>e.onOpenChange(!1))})});function cJ(a){return a?"open":"closed"}cI.displayName=cH;var cK="DialogTitleWarning",[cL,cM]=(m={contentName:cz,titleName:cE,docsSlug:"dialog"},d=q.createContext(m),(e=a=>{let{children:b,...c}=a,e=q.useMemo(()=>c,Object.values(c));return(0,p.jsx)(d.Provider,{value:e,children:b})}).displayName=cK+"Provider",[e,function(a){let b=q.useContext(d);if(b)return b;if(void 0!==m)return m;throw Error(`\`${a}\` must be used within \`${cK}\``)}]),cN=({titleId:a})=>{let b=cM(cK),c=`\`${b.contentName}\` requires a \`${b.titleName}\` for the component to be accessible for screen reader users.
|
|
2
|
+
|
|
3
|
+
If you want to hide the \`${b.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
4
|
+
|
|
5
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${b.docsSlug}`;return q.useEffect(()=>{a&&(document.getElementById(a)||console.error(c))},[c,a]),null},cO=({contentRef:a,descriptionId:b})=>{let c=cM("DialogDescriptionWarning"),d=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${c.contentName}}.`;return q.useEffect(()=>{let c=a.current?.getAttribute("aria-describedby");b&&c&&(document.getElementById(b)||console.warn(d))},[d,a,b]),null};let cP=(0,bh.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function cQ({...a}){return(0,p.jsx)(cp,{"data-slot":"dialog",...a})}function cR({...a}){return(0,p.jsx)(cu,{"data-slot":"dialog-portal",...a})}function cS({className:a,...b}){return(0,p.jsx)(cw,{"data-slot":"dialog-overlay",className:ay("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),...b})}function cT({className:a,children:b,showCloseButton:c=!0,...d}){return(0,p.jsxs)(cR,{"data-slot":"dialog-portal",children:[(0,p.jsx)(cS,{}),(0,p.jsxs)(cA,{"data-slot":"dialog-content",className:ay("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none",a),...d,children:[b,c&&(0,p.jsxs)(cI,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,p.jsx)(cP,{}),(0,p.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function cU({className:a,...b}){return(0,p.jsx)("div",{"data-slot":"dialog-header",className:ay("flex flex-col gap-2 text-center sm:text-left",a),...b})}function cV({className:a,...b}){return(0,p.jsx)("div",{"data-slot":"dialog-footer",className:ay("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...b})}function cW({className:a,...b}){return(0,p.jsx)(cF,{"data-slot":"dialog-title",className:ay("text-lg leading-none font-semibold",a),...b})}function cX({className:a,type:b,...c}){return(0,p.jsx)("input",{type:b,"data-slot":"input",className:ay("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",a),...c})}var cY=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((a,b)=>{let c=aL(`Primitive.${b}`),d=q.forwardRef((a,d)=>{let{asChild:e,...f}=a;return(0,p.jsx)(e?c:b,{...f,ref:d})});return d.displayName=`Primitive.${b}`,{...a,[b]:d}},{}),cZ=q.forwardRef((a,b)=>(0,p.jsx)(cY.label,{...a,ref:b,onMouseDown:b=>{b.target.closest("button, input, select, textarea")||(a.onMouseDown?.(b),!b.defaultPrevented&&b.detail>1&&b.preventDefault())}}));function c$({className:a,...b}){return(0,p.jsx)(cZ,{"data-slot":"label",className:ay("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",a),...b})}cZ.displayName="Label";let c_=(0,bm.default)(async()=>{},{loadableGenerated:{modules:[66699]},ssr:!1,loading:()=>(0,p.jsx)("div",{className:"h-[400px] bg-gray-100 animate-pulse rounded"})}),c0=["GET","POST","PUT","PATCH","DELETE"];function c1({endpoint:a,open:b,onOpenChange:c,onSave:d}){let[e,f]=(0,q.useState)(""),[g,h]=(0,q.useState)("GET"),[i,j]=(0,q.useState)(""),[k,l]=(0,q.useState)(200),[m,n]=(0,q.useState)("{}"),[o,r]=(0,q.useState)(null);return(0,q.useEffect)(()=>{a?(f(a.path),h(a.method),j(a.description||""),l(a.statusCode),n(JSON.stringify(a.responseBody,null,2))):(f(""),h("GET"),j(""),l(200),n("{}")),r(null)},[a,b]),(0,p.jsx)(cQ,{open:b,onOpenChange:c,children:(0,p.jsxs)(cT,{className:"sm:max-w-[70vw] h-[90vh] flex flex-col",children:[(0,p.jsx)(cU,{children:(0,p.jsx)(cW,{children:a?"Edit Endpoint":"Create New Endpoint"})}),(0,p.jsxs)("div",{className:"grid gap-4 py-4 flex-1 overflow-hidden",children:[(0,p.jsxs)("div",{className:"flex items-center gap-4",children:[(0,p.jsx)(c$,{htmlFor:"method",className:"w-28 text-right shrink-0",children:"Method"}),(0,p.jsx)("select",{id:"method",value:g,onChange:a=>h(a.target.value),className:"flex-1 h-10 rounded-md border border-input bg-background px-3 py-2",children:c0.map(a=>(0,p.jsx)("option",{value:a,children:a},a))})]}),(0,p.jsxs)("div",{className:"flex items-center gap-4",children:[(0,p.jsx)(c$,{htmlFor:"path",className:"w-28 text-right shrink-0",children:"Path"}),(0,p.jsx)(cX,{id:"path",value:e,onChange:a=>f(a.target.value),placeholder:"/v1/users/:userId",className:"flex-1"})]}),(0,p.jsxs)("div",{className:"flex items-center gap-4",children:[(0,p.jsx)(c$,{htmlFor:"description",className:"w-28 text-right shrink-0",children:"Description"}),(0,p.jsx)(cX,{id:"description",value:i,onChange:a=>j(a.target.value),placeholder:"API description",className:"flex-1"})]}),(0,p.jsxs)("div",{className:"flex items-center gap-4",children:[(0,p.jsx)(c$,{htmlFor:"statusCode",className:"w-28 text-right shrink-0",children:"Status Code"}),(0,p.jsx)(cX,{id:"statusCode",type:"number",value:k,onChange:a=>l(Number(a.target.value)),className:"flex-1"})]}),(0,p.jsxs)("div",{className:"flex items-start gap-4",children:[(0,p.jsx)(c$,{className:"w-28 text-right shrink-0 pt-2",children:"Response Body"}),(0,p.jsxs)("div",{className:"flex-1",children:[(0,p.jsx)("div",{className:"border rounded-md overflow-hidden",children:(0,p.jsx)(c_,{height:"calc(85vh - 320px)",language:"json",theme:"vs-dark",value:m,onChange:a=>n(a||"{}"),options:{minimap:{enabled:!1},fontSize:14,formatOnPaste:!0,automaticLayout:!0,scrollBeyondLastLine:!1}})}),o&&(0,p.jsx)("p",{className:"text-red-500 text-sm mt-2",children:o})]})]})]}),(0,p.jsxs)(cV,{className:"shrink-0",children:[(0,p.jsx)(aR,{variant:"outline",onClick:()=>c(!1),children:"Cancel"}),(0,p.jsx)(aR,{onClick:()=>{try{let b=JSON.parse(m);r(null),d({id:a?.id,path:e,method:g,description:i||null,statusCode:k,responseBody:b}),c(!1)}catch{r("Invalid JSON format")}},children:"Save"})]})]})})}var c2=a.i(30409);function c3({open:a,onOpenChange:b,onImportComplete:c}){let[d,e]=(0,q.useState)("url"),[f,g]=(0,q.useState)(""),[h,i]=(0,q.useState)(null),[j,k]=(0,q.useState)(!1),[l,m]=(0,q.useState)(null),n=(0,q.useRef)(null),o=async()=>{k(!0),m(null);try{let a;if("url"===d){if(!f.trim())throw Error("Please enter a URL");a=await fetch("/api/endpoints/sync",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:f.trim()})})}else{if(!h)throw Error("Please select a file");let b=await h.text(),c=JSON.parse(b);a=await fetch("/api/endpoints/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)})}let b=await a.json();if(!a.ok)throw Error(b.error||"Import failed");let e=b.succeeded??b.created,g=b.failed??0;g>0?c2.toast.warning(`Imported ${e} endpoints (${g} failed)`):c2.toast.success(`Successfully imported ${e} endpoints`),c(),r()}catch(b){let a=b instanceof Error?b.message:"Import failed";m(a),c2.toast.error(a)}finally{k(!1)}},r=()=>{g(""),i(null),m(null),b(!1)},s="url"===d?f.trim().length>0:null!==h;return(0,p.jsx)(cQ,{open:a,onOpenChange:r,children:(0,p.jsxs)(cT,{className:"sm:max-w-lg",children:[(0,p.jsx)(cU,{children:(0,p.jsx)(cW,{children:"Import OpenAPI Specification"})}),(0,p.jsxs)("div",{className:"py-4 space-y-4",children:[(0,p.jsxs)("div",{className:"flex gap-2",children:[(0,p.jsx)(aR,{type:"button",variant:"url"===d?"default":"outline",size:"sm",onClick:()=>e("url"),children:"From URL"}),(0,p.jsx)(aR,{type:"button",variant:"file"===d?"default":"outline",size:"sm",onClick:()=>e("file"),children:"From File"})]}),"url"===d&&(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsx)(c$,{htmlFor:"url",children:"OpenAPI JSON URL"}),(0,p.jsx)(cX,{id:"url",type:"url",placeholder:"https://api.example.com/api-docs-json",value:f,onChange:a=>{g(a.target.value),m(null)}}),(0,p.jsx)("p",{className:"text-xs text-gray-500",children:"Enter the URL to your OpenAPI/Swagger JSON specification"})]}),"file"===d&&(0,p.jsxs)("div",{className:"border-2 border-dashed rounded-lg p-8 text-center cursor-pointer hover:border-gray-400 transition-colors",onClick:()=>n.current?.click(),children:[(0,p.jsx)("input",{ref:n,type:"file",accept:".json",onChange:a=>{let b=a.target.files?.[0];b&&(i(b),m(null))},className:"hidden"}),h?(0,p.jsxs)("p",{className:"text-sm",children:["Selected: ",(0,p.jsx)("span",{className:"font-medium",children:h.name})]}):(0,p.jsx)("p",{className:"text-gray-500",children:"Click to select an OpenAPI JSON file"})]}),l&&(0,p.jsx)("p",{className:"text-red-500 text-sm",children:l})]}),(0,p.jsxs)(cV,{children:[(0,p.jsx)(aR,{variant:"outline",onClick:r,children:"Cancel"}),(0,p.jsx)(aR,{onClick:o,disabled:!s||j,children:j?"Importing...":"Import"})]})]})})}let c4=(0,bm.default)(async()=>{},{loadableGenerated:{modules:[66699]},ssr:!1,loading:()=>(0,p.jsx)("div",{className:"h-[300px] bg-gray-100 animate-pulse rounded"})}),c5={GET:"bg-green-100 text-green-800",POST:"bg-blue-100 text-blue-800",PUT:"bg-yellow-100 text-yellow-800",PATCH:"bg-orange-100 text-orange-800",DELETE:"bg-red-100 text-red-800"};function c6({endpoint:a,open:b,onOpenChange:c}){var d;let e,[f,g]=(0,q.useState)(!1),[h,i]=(0,q.useState)(null),[j,k]=(0,q.useState)(null),[l,m]=(0,q.useState)({}),n=a&&(e=a.path.match(/:(\w+)/g))?e.map(a=>a.slice(1)):[],o=()=>{if(!a)return"";let b=a.path;for(let[a,c]of Object.entries(l))b=b.replace(`:${a}`,c||`:${a}`);return`http://localhost:3000/api/mock${b}`},r=async()=>{if(!a)return;g(!0),k(null),i(null);let b=performance.now();try{let c=await fetch(o(),{method:a.method}),d=performance.now(),e=await c.text(),f=e;try{f=JSON.stringify(JSON.parse(e),null,2)}catch{}i({status:c.status,statusText:c.statusText,body:f,time:Math.round(d-b)})}catch(a){k(a instanceof Error?a.message:"Request failed")}finally{g(!1)}};return a?(0,p.jsx)(cQ,{open:b,onOpenChange:a=>{a||(i(null),k(null),m({})),c(a)},children:(0,p.jsxs)(cT,{className:"sm:max-w-[700px] max-h-[90vh] flex flex-col",children:[(0,p.jsx)(cU,{children:(0,p.jsxs)(cW,{className:"flex items-center gap-3",children:[(0,p.jsx)("span",{className:`px-2 py-1 rounded text-xs font-medium ${c5[a.method]||"bg-gray-100"}`,children:a.method}),(0,p.jsx)("span",{children:"Test API"})]})}),(0,p.jsxs)("div",{className:"flex flex-col gap-4 flex-1 overflow-hidden",children:[(0,p.jsxs)("div",{className:"flex items-center gap-2",children:[(0,p.jsx)(cX,{readOnly:!0,value:o(),className:"flex-1 font-mono text-sm bg-gray-50"}),(0,p.jsx)(aR,{onClick:r,disabled:f,children:f?"Sending...":"Send"})]}),n.length>0&&(0,p.jsxs)("div",{className:"space-y-2 p-3 bg-gray-50 rounded-lg",children:[(0,p.jsx)(c$,{className:"text-sm font-medium",children:"Path Parameters"}),(0,p.jsx)("div",{className:"grid gap-2",children:n.map(a=>(0,p.jsxs)("div",{className:"flex items-center gap-2",children:[(0,p.jsxs)(c$,{className:"w-24 text-sm text-gray-600",children:[":",a]}),(0,p.jsx)(cX,{placeholder:`Enter ${a}`,value:l[a]||"",onChange:b=>m(c=>({...c,[a]:b.target.value})),className:"flex-1"})]},a))})]}),j&&(0,p.jsx)("div",{className:"p-3 bg-red-50 border border-red-200 rounded-lg",children:(0,p.jsx)("p",{className:"text-red-600 text-sm",children:j})}),h&&(0,p.jsxs)("div",{className:"flex-1 flex flex-col overflow-hidden",children:[(0,p.jsxs)("div",{className:"flex items-center gap-4 mb-2",children:[(0,p.jsx)("span",{className:"text-sm font-medium",children:"Response"}),(0,p.jsxs)("span",{className:`text-sm font-medium ${(d=h.status)>=200&&d<300?"text-green-600":d>=400&&d<500?"text-yellow-600":d>=500?"text-red-600":"text-gray-600"}`,children:[h.status," ",h.statusText]}),(0,p.jsxs)("span",{className:"text-sm text-gray-500",children:[h.time,"ms"]})]}),(0,p.jsx)("div",{className:"border rounded-md overflow-hidden flex-1",children:(0,p.jsx)(c4,{height:"300px",language:"json",theme:"vs-dark",value:h.body,options:{readOnly:!0,minimap:{enabled:!1},fontSize:13,scrollBeyondLastLine:!1,automaticLayout:!0}})})]}),!h&&!j&&!f&&(0,p.jsx)("div",{className:"flex-1 flex items-center justify-center text-gray-400 border-2 border-dashed rounded-lg",children:"Click Send to test the API"})]})]})}):null}function c7(){let[a,b]=(0,q.useState)([]),[c,d]=(0,q.useState)(!0),[e,f]=(0,q.useState)(!1),[g,h]=(0,q.useState)(!1),[i,j]=(0,q.useState)(!1),[k,l]=(0,q.useState)(null),[m,n]=(0,q.useState)(null),[o,r]=(0,q.useState)(new Set),[s,t]=(0,q.useState)(""),[u,v]=(0,q.useState)(null);(0,q.useEffect)(()=>{t(window.location.origin)},[]);let w=(0,q.useCallback)(async()=>{try{let a=await fetch("/api/endpoints"),c=await a.json();b(c)}catch(a){console.error("Failed to fetch endpoints:",a)}finally{d(!1)}},[]);(0,q.useEffect)(()=>{w()},[w]);let x=async a=>{if(confirm("Are you sure you want to delete this endpoint?"))try{if(!(await fetch(`/api/endpoints/${a}`,{method:"DELETE"})).ok)throw Error("Failed to delete");r(b=>{let c=new Set(b);return c.delete(a),c}),c2.toast.success("Endpoint deleted successfully"),w()}catch(a){console.error("Failed to delete endpoint:",a),c2.toast.error("Failed to delete endpoint")}},y=async()=>{if(0!==o.size&&confirm(`Are you sure you want to delete ${o.size} endpoint(s)?`))try{if(!(await fetch("/api/endpoints/bulk",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({ids:Array.from(o)})})).ok)throw Error("Failed to delete");let a=o.size;r(new Set),c2.toast.success(`${a} endpoint(s) deleted successfully`),w()}catch(a){console.error("Failed to delete endpoints:",a),c2.toast.error("Failed to delete endpoints")}},z=async a=>{try{let b=!!a.id,c=b?await fetch(`/api/endpoints/${a.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}):await fetch("/api/endpoints",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!c.ok){let a=await c.json();throw Error(a.error||"Failed to save")}let d=await c.json();v(d.id),c2.toast.success(b?"Endpoint updated successfully":"Endpoint created successfully"),w()}catch(a){console.error("Failed to save endpoint:",a),c2.toast.error(a instanceof Error?a.message:"Failed to save endpoint")}};return(0,p.jsxs)("div",{className:"min-h-screen bg-gray-50",children:[(0,p.jsxs)("div",{className:"max-w-7xl mx-auto py-8 px-4 sm:px-6 lg:px-8",children:[(0,p.jsxs)("div",{className:"flex justify-between items-center mb-8",children:[(0,p.jsxs)("div",{children:[(0,p.jsx)("h1",{className:"text-3xl font-bold text-gray-900",children:"Growthman"}),(0,p.jsx)("p",{className:"mt-1 text-gray-500",children:"Manage your mock API endpoints"}),s&&(0,p.jsxs)("p",{className:"mt-2 text-sm font-mono bg-gray-100 px-3 py-1.5 rounded-md inline-block",children:[s,"/api/mock"]})]}),(0,p.jsxs)("div",{className:"flex gap-3",children:[(0,p.jsx)(aR,{variant:"outline",onClick:()=>h(!0),children:"Import OpenAPI"}),(0,p.jsx)(aR,{onClick:()=>{l(null),f(!0)},children:"+ New Endpoint"})]})]}),o.size>0&&(0,p.jsxs)("div",{className:"mb-4 flex items-center gap-4 p-3 bg-blue-50 border border-blue-200 rounded-lg",children:[(0,p.jsxs)("span",{className:"text-sm text-blue-800",children:[o.size," endpoint(s) selected"]}),(0,p.jsx)(aR,{variant:"destructive",size:"sm",onClick:y,children:"Delete Selected"}),(0,p.jsx)(aR,{variant:"ghost",size:"sm",onClick:()=>r(new Set),children:"Clear Selection"})]}),(0,p.jsx)("div",{className:"bg-white shadow rounded-lg",children:c?(0,p.jsx)("div",{className:"p-8 text-center text-gray-500",children:"Loading..."}):(0,p.jsx)(bl,{endpoints:a,onEdit:a=>{l(a),f(!0)},onDelete:x,onTest:a=>{n(a),j(!0)},selectedIds:o,onSelectionChange:r,lastModifiedId:u})})]}),(0,p.jsx)(c1,{endpoint:k,open:e,onOpenChange:f,onSave:z}),(0,p.jsx)(c3,{open:g,onOpenChange:h,onImportComplete:w}),(0,p.jsx)(c6,{endpoint:m,open:i,onOpenChange:j})]})}a.s(["default",()=>c7],5516)}];
|
|
6
|
+
|
|
7
|
+
//# sourceMappingURL=Desktop_Project_Web_growth-mock-server_c7522028._.js.map
|